@spfx-extensions/package 1.4.8 → 1.4.11
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/LICENSE +674 -674
- package/README.md +73 -73
- 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/ClientSideInstance.xml +9 -0
- package/dist/debug/83e13c11-682e-4eaa-9ae0-74617ca28f96/Extension_8d1029da-85e6-48cc-aaaf-37a5bbc0b9be.xml +1 -0
- package/dist/debug/83e13c11-682e-4eaa-9ae0-74617ca28f96/WebPart_d6ca1fc2-0591-4c6d-8a25-cae3262c017b.xml +1 -0
- package/dist/debug/83e13c11-682e-4eaa-9ae0-74617ca28f96/elements.xml +9 -0
- package/dist/debug/AppManifest.xml +1 -0
- package/dist/debug/ClientSideAssets/3be36e80-4431-4b52-99c5-0a339b4e696e_color.png +0 -0
- package/dist/debug/ClientSideAssets/3be36e80-4431-4b52-99c5-0a339b4e696e_outline.png +0 -0
- package/dist/debug/ClientSideAssets/spfx-extension-application-customizer_3a197cf07fd68d9c2b7b.js +1 -0
- package/dist/debug/ClientSideAssets/spfx-extension-core.js +1 -0
- package/dist/debug/ClientSideAssets/spfx-extension-coreconfigurator.js +169 -0
- package/dist/debug/ClientSideAssets/spfx-extension-loader_3c41693ff585bd1c91bc.js +3 -0
- package/dist/debug/ClientSideAssets/spfx-extension-wrapper.js +1 -0
- package/dist/{spfx-extensionloader-web-part_cc4f89190581659bbfff.js → debug/ClientSideAssets/spfx-extensionloader-web-part_ae4b5c0eb46372ca49e6.js} +1 -1
- package/dist/debug/ClientSideAssets.xml +1 -0
- package/dist/debug/ClientSideAssets.xml.config.xml +1 -0
- package/dist/debug/[Content_Types].xml +1 -0
- package/dist/debug/_rels/.rels +1 -0
- package/dist/debug/_rels/AppManifest.xml.rels +1 -0
- package/dist/debug/_rels/ClientSideAssets.xml.rels +1 -0
- package/dist/debug/_rels/feature_83e13c11-682e-4eaa-9ae0-74617ca28f96.xml.rels +1 -0
- package/dist/debug/feature_83e13c11-682e-4eaa-9ae0-74617ca28f96.xml +1 -0
- package/dist/debug/feature_83e13c11-682e-4eaa-9ae0-74617ca28f96.xml.config.xml +1 -0
- package/dist/deploy/sp-fx-extensions.sppkg +0 -0
- package/dist/spfx-extension-application-customizer_3a197cf07fd68d9c2b7b.js +1 -0
- package/dist/spfx-extension-core.js +1 -2202
- package/dist/spfx-extension-coreconfigurator.js +87 -39500
- package/dist/spfx-extension-loader_3c41693ff585bd1c91bc.js +3 -0
- package/dist/spfx-extension-wrapper.js +1 -130
- package/dist/spfx-extensionloader-web-part_ae4b5c0eb46372ca49e6.js +3 -0
- package/package.json +52 -52
- package/dist/spfx-extension-application-customizer_deec56e911443a8e38f9.js +0 -1
- package/dist/spfx-extension-loader_a2f8425b774226f5f084.js +0 -3
|
@@ -0,0 +1,169 @@
|
|
|
1
|
+
var VF=Object.create;var{getPrototypeOf:iF,defineProperty:Ko,getOwnPropertyNames:nF}=Object;var uF=Object.prototype.hasOwnProperty;var K4=(a,l,c)=>{c=a!=null?VF(iF(a)):{};let h=l||!a||!a.__esModule?Ko(c,"default",{value:a,enumerable:!0}):c;for(let Z of nF(a))if(!uF.call(h,Z))Ko(h,Z,{get:()=>a[Z],enumerable:!0});return h};var $2=(a,l)=>()=>(l||a((l={exports:{}}).exports,l),l.exports);var Wc=(a,l)=>{for(var c in l)Ko(a,c,{get:l[c],enumerable:!0,configurable:!0,set:(h)=>l[c]=()=>h})};var Jo=(a,l)=>()=>(a&&(l=a(a=0)),l);function E2(a,l){for(var c in l)a[c]=l[c];return a}function yo(a){a&&a.parentNode&&a.parentNode.removeChild(a)}function r1(a,l,c){var h,Z,o,v={};for(o in l)o=="key"?h=l[o]:o=="ref"?Z=l[o]:v[o]=l[o];if(arguments.length>2&&(v.children=arguments.length>3?p8.call(arguments,2):c),typeof a=="function"&&a.defaultProps!=null)for(o in a.defaultProps)v[o]==null&&(v[o]=a.defaultProps[o]);return R8(a,v,h,Z,null)}function R8(a,l,c,h,Z){var o={type:a,props:l,key:c,ref:h,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:Z==null?++$m:Z,__i:-1,__u:0};return Z==null&&L1.vnode!=null&&L1.vnode(o),o}function o5(){return{current:null}}function V1(a){return a.children}function Z5(a,l){this.props=a,this.context=l}function J4(a,l){if(l==null)return a.__?J4(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"?J4(a):null}function jm(a){var l,c;if((a=a.__)!=null&&a.__c!=null){for(a.__e=a.__c.base=null,l=0;l<a.__k.length;l++)if((c=a.__k[l])!=null&&c.__e!=null){a.__e=a.__c.base=c.__e;break}return jm(a)}}function Qo(a){(!a.__d&&(a.__d=!0)&&I3.push(a)&&!Oc.__r++||zm!=L1.debounceRendering)&&((zm=L1.debounceRendering)||Em)(Oc)}function Oc(){for(var a,l,c,h,Z,o,v,r=1;I3.length;)I3.length>r&&I3.sort(Qm),a=I3.shift(),r=I3.length,a.__d&&(c=void 0,Z=(h=(l=a).__v).__e,o=[],v=[],l.__P&&((c=E2({},h)).__v=h.__v+1,L1.vnode&&L1.vnode(c),jo(l.__P,c,h,l.__n,l.__P.namespaceURI,32&h.__u?[Z]:null,o,Z==null?J4(h):Z,!!(32&h.__u),v),c.__v=h.__v,c.__.__k[c.__i]=c,at(o,c,v),c.__e!=Z&&jm(c)));Oc.__r=0}function Nm(a,l,c,h,Z,o,v,r,e,M,t){var m,H,A,V,i,u,L=h&&h.__k||ym,d=l.length;for(e=dF(c,l,L,e,d),m=0;m<d;m++)(A=c.__k[m])!=null&&(H=A.__i==-1?x8:L[A.__i]||x8,A.__i=m,u=jo(a,A,H,Z,o,v,r,e,M,t),V=A.__e,A.ref&&H.ref!=A.ref&&(H.ref&&No(H.ref,null,A),t.push(A.ref,A.__c||V,A)),i==null&&V!=null&&(i=V),4&A.__u||H.__k===A.__k?e=_m(A,e,a):typeof A.type=="function"&&u!==void 0?e=u:V&&(e=V.nextSibling),A.__u&=-7);return c.__e=i,e}function dF(a,l,c,h,Z){var o,v,r,e,M,t=c.length,m=t,H=0;for(a.__k=new Array(Z),o=0;o<Z;o++)(v=l[o])!=null&&typeof v!="boolean"&&typeof v!="function"?(e=o+H,(v=a.__k[o]=typeof v=="string"||typeof v=="number"||typeof v=="bigint"||v.constructor==String?R8(null,v,null,null,null):w8(v)?R8(V1,{children:v},null,null,null):v.constructor==null&&v.__b>0?R8(v.type,v.props,v.key,v.ref?v.ref:null,v.__v):v).__=a,v.__b=a.__b+1,r=null,(M=v.__i=gF(v,c,e,m))!=-1&&(m--,(r=c[M])&&(r.__u|=2)),r==null||r.__v==null?(M==-1&&(Z>t?H--:Z<t&&H++),typeof v.type!="function"&&(v.__u|=4)):M!=e&&(M==e-1?H--:M==e+1?H++:(M>e?H--:H++,v.__u|=4))):a.__k[o]=null;if(m)for(o=0;o<t;o++)(r=c[o])!=null&&(2&r.__u)==0&&(r.__e==h&&(h=J4(r)),ct(r,r));return h}function _m(a,l,c){var h,Z;if(typeof a.type=="function"){for(h=a.__k,Z=0;h&&Z<h.length;Z++)h[Z]&&(h[Z].__=a,l=_m(h[Z],l,c));return l}a.__e!=l&&(l&&a.type&&!c.contains(l)&&(l=J4(a)),c.insertBefore(a.__e,l||null),l=a.__e);do l=l&&l.nextSibling;while(l!=null&&l.nodeType==8);return l}function Q2(a,l){return l=l||[],a==null||typeof a=="boolean"||(w8(a)?a.some(function(c){Q2(c,l)}):l.push(a)),l}function gF(a,l,c,h){var Z,o,v=a.key,r=a.type,e=l[c];if(e===null&&a.key==null||e&&v==e.key&&r==e.type&&(2&e.__u)==0)return c;if(h>(e!=null&&(2&e.__u)==0?1:0))for(Z=c-1,o=c+1;Z>=0||o<l.length;){if(Z>=0){if((e=l[Z])&&(2&e.__u)==0&&v==e.key&&r==e.type)return Z;Z--}if(o<l.length){if((e=l[o])&&(2&e.__u)==0&&v==e.key&&r==e.type)return o;o++}}return-1}function Km(a,l,c){l[0]=="-"?a.setProperty(l,c==null?"":c):a[l]=c==null?"":typeof c!="number"||LF.test(l)?c:c+"px"}function bc(a,l,c,h,Z){var o;a:if(l=="style")if(typeof c=="string")a.style.cssText=c;else{if(typeof h=="string"&&(a.style.cssText=h=""),h)for(l in h)c&&l in c||Km(a.style,l,"");if(c)for(l in c)h&&c[l]==h[l]||Km(a.style,l,c[l])}else if(l[0]=="o"&&l[1]=="n")o=l!=(l=l.replace(Ym,"$1")),l=l.toLowerCase()in a||l=="onFocusOut"||l=="onFocusIn"?l.toLowerCase().slice(2):l.slice(2),a.l||(a.l={}),a.l[l+o]=c,c?h?c.u=h.u:(c.u=Xo,a.addEventListener(l,o?Eo:$o,o)):a.removeEventListener(l,o?Eo:$o,o);else{if(Z=="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(v){}typeof c=="function"||(c==null||c===!1&&l[4]!="-"?a.removeAttribute(l):a.setAttribute(l,l=="popover"&&c==1?"":c))}}function Jm(a){return function(l){if(this.l){var c=this.l[l.type+a];if(l.t==null)l.t=Xo++;else if(l.t<c.u)return;return c(L1.event?L1.event(l):l)}}}function jo(a,l,c,h,Z,o,v,r,e,M){var t,m,H,A,V,i,u,L,d,g,R,x,S,p,O,I,Z1,o1=l.type;if(l.constructor!=null)return null;128&c.__u&&(e=!!(32&c.__u),o=[r=l.__e=c.__e]),(t=L1.__b)&&t(l);a:if(typeof o1=="function")try{if(L=l.props,d="prototype"in o1&&o1.prototype.render,g=(t=o1.contextType)&&h[t.__c],R=t?g?g.props.value:t.__:h,c.__c?u=(m=l.__c=c.__c).__=m.__E:(d?l.__c=m=new o1(L,R):(l.__c=m=new Z5(L,R),m.constructor=o1,m.render=FF),g&&g.sub(m),m.props=L,m.state||(m.state={}),m.context=R,m.__n=h,H=m.__d=!0,m.__h=[],m._sb=[]),d&&m.__s==null&&(m.__s=m.state),d&&o1.getDerivedStateFromProps!=null&&(m.__s==m.state&&(m.__s=E2({},m.__s)),E2(m.__s,o1.getDerivedStateFromProps(L,m.__s))),A=m.props,V=m.state,m.__v=l,H)d&&o1.getDerivedStateFromProps==null&&m.componentWillMount!=null&&m.componentWillMount(),d&&m.componentDidMount!=null&&m.__h.push(m.componentDidMount);else{if(d&&o1.getDerivedStateFromProps==null&&L!==A&&m.componentWillReceiveProps!=null&&m.componentWillReceiveProps(L,R),!m.__e&&m.shouldComponentUpdate!=null&&m.shouldComponentUpdate(L,m.__s,R)===!1||l.__v==c.__v){for(l.__v!=c.__v&&(m.props=L,m.state=m.__s,m.__d=!1),l.__e=c.__e,l.__k=c.__k,l.__k.some(function(X){X&&(X.__=l)}),x=0;x<m._sb.length;x++)m.__h.push(m._sb[x]);m._sb=[],m.__h.length&&v.push(m);break a}m.componentWillUpdate!=null&&m.componentWillUpdate(L,m.__s,R),d&&m.componentDidUpdate!=null&&m.__h.push(function(){m.componentDidUpdate(A,V,i)})}if(m.context=R,m.props=L,m.__P=a,m.__e=!1,S=L1.__r,p=0,d){for(m.state=m.__s,m.__d=!1,S&&S(l),t=m.render(m.props,m.state,m.context),O=0;O<m._sb.length;O++)m.__h.push(m._sb[O]);m._sb=[]}else do m.__d=!1,S&&S(l),t=m.render(m.props,m.state,m.context),m.state=m.__s;while(m.__d&&++p<25);m.state=m.__s,m.getChildContext!=null&&(h=E2(E2({},h),m.getChildContext())),d&&!H&&m.getSnapshotBeforeUpdate!=null&&(i=m.getSnapshotBeforeUpdate(A,V)),I=t,t!=null&&t.type===V1&&t.key==null&&(I=lt(t.props.children)),r=Nm(a,w8(I)?I:[I],l,c,h,Z,o,v,r,e,M),m.base=l.__e,l.__u&=-161,m.__h.length&&v.push(m),u&&(m.__E=m.__=null)}catch(X){if(l.__v=null,e||o!=null)if(X.then){for(l.__u|=e?160:128;r&&r.nodeType==8&&r.nextSibling;)r=r.nextSibling;o[o.indexOf(r)]=null,l.__e=r}else for(Z1=o.length;Z1--;)yo(o[Z1]);else l.__e=c.__e,l.__k=c.__k;L1.__e(X,l,c)}else o==null&&l.__v==c.__v?(l.__k=c.__k,l.__e=c.__e):r=l.__e=CF(c.__e,l,c,h,Z,o,v,e,M);return(t=L1.diffed)&&t(l),128&l.__u?void 0:r}function at(a,l,c){for(var h=0;h<c.length;h++)No(c[h],c[++h],c[++h]);L1.__c&&L1.__c(l,a),a.some(function(Z){try{a=Z.__h,Z.__h=[],a.some(function(o){o.call(Z)})}catch(o){L1.__e(o,Z.__v)}})}function lt(a){return typeof a!="object"||a==null||a.__b&&a.__b>0?a:w8(a)?a.map(lt):E2({},a)}function CF(a,l,c,h,Z,o,v,r,e){var M,t,m,H,A,V,i,u=c.props,L=l.props,d=l.type;if(d=="svg"?Z="http://www.w3.org/2000/svg":d=="math"?Z="http://www.w3.org/1998/Math/MathML":Z||(Z="http://www.w3.org/1999/xhtml"),o!=null){for(M=0;M<o.length;M++)if((A=o[M])&&"setAttribute"in A==!!d&&(d?A.localName==d:A.nodeType==3)){a=A,o[M]=null;break}}if(a==null){if(d==null)return document.createTextNode(L);a=document.createElementNS(Z,d,L.is&&L),r&&(L1.__m&&L1.__m(l,o),r=!1),o=null}if(d==null)u===L||r&&a.data==L||(a.data=L);else{if(o=o&&p8.call(a.childNodes),u=c.props||x8,!r&&o!=null)for(u={},M=0;M<a.attributes.length;M++)u[(A=a.attributes[M]).name]=A.value;for(M in u)if(A=u[M],M=="children");else if(M=="dangerouslySetInnerHTML")m=A;else if(!(M in L)){if(M=="value"&&"defaultValue"in L||M=="checked"&&"defaultChecked"in L)continue;bc(a,M,null,A,Z)}for(M in L)A=L[M],M=="children"?H=A:M=="dangerouslySetInnerHTML"?t=A:M=="value"?V=A:M=="checked"?i=A:r&&typeof A!="function"||u[M]===A||bc(a,M,A,u[M],Z);if(t)r||m&&(t.__html==m.__html||t.__html==a.innerHTML)||(a.innerHTML=t.__html),l.__k=[];else if(m&&(a.innerHTML=""),Nm(l.type=="template"?a.content:a,w8(H)?H:[H],l,c,h,d=="foreignObject"?"http://www.w3.org/1999/xhtml":Z,o,v,o?o[0]:c.__k&&J4(c,0),r,e),o!=null)for(M=o.length;M--;)yo(o[M]);r||(M="value",d=="progress"&&V==null?a.removeAttribute("value"):V!=null&&(V!==a[M]||d=="progress"&&!V||d=="option"&&V!=u[M])&&bc(a,M,V,u[M],Z),M="checked",i!=null&&i!=a[M]&&bc(a,M,i,u[M],Z))}return a}function No(a,l,c){try{if(typeof a=="function"){var h=typeof a.__u=="function";h&&a.__u(),h&&l==null||(a.__u=a(l))}else a.current=l}catch(Z){L1.__e(Z,c)}}function ct(a,l,c){var h,Z;if(L1.unmount&&L1.unmount(a),(h=a.ref)&&(h.current&&h.current!=a.__e||No(h,null,l)),(h=a.__c)!=null){if(h.componentWillUnmount)try{h.componentWillUnmount()}catch(o){L1.__e(o,l)}h.base=h.__P=null}if(h=a.__k)for(Z=0;Z<h.length;Z++)h[Z]&&ct(h[Z],l,c||typeof a.type!="function");c||yo(a.__e),a.__c=a.__=a.__e=void 0}function FF(a,l,c){return this.constructor(a,c)}function $4(a,l,c){var h,Z,o,v;l==document&&(l=document.documentElement),L1.__&&L1.__(a,l),Z=(h=typeof c=="function")?null:c&&c.__k||l.__k,o=[],v=[],jo(l,a=(!h&&c||l).__k=r1(V1,null,[a]),Z||x8,x8,l.namespaceURI,!h&&c?[c]:Z?null:l.firstChild?p8.call(l.childNodes):null,o,!h&&c?c:Z?Z.__e:l.firstChild,h,v),at(o,a,v)}function _o(a,l){$4(a,l,_o)}function ht(a,l,c){var h,Z,o,v,r=E2({},a.props);for(o in a.type&&a.type.defaultProps&&(v=a.type.defaultProps),l)o=="key"?h=l[o]:o=="ref"?Z=l[o]:r[o]=l[o]==null&&v!=null?v[o]:l[o];return arguments.length>2&&(r.children=arguments.length>3?p8.call(arguments,2):c),R8(a.type,r,h||a.key,Z||a.ref,null)}function e1(a){function l(c){var h,Z;return this.getChildContext||(h=/*@__PURE__*/new Set,(Z={})[l.__c]=this,this.getChildContext=function(){return Z},this.componentWillUnmount=function(){h=null},this.shouldComponentUpdate=function(o){this.props.value!=o.value&&h.forEach(function(v){v.__e=!0,Qo(v)})},this.sub=function(o){h.add(o);var v=o.componentWillUnmount;o.componentWillUnmount=function(){h&&h.delete(o),v&&v.call(o)}}),c.children}return l.__c="__cC"+Xm++,l.__=a,l.Provider=l.__l=(l.Consumer=function(c,h){return c.children(h)}).contextType=l,l}var p8,L1,$m,Yo,I3,zm,Em,Qm,Ym,Xo,$o,Eo,Xm,x8,ym,LF,w8;var q3=Jo(()=>{x8={},ym=[],LF=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,w8=Array.isArray;p8=ym.slice,L1={__e:function(a,l,c,h){for(var Z,o,v;l=l.__;)if((Z=l.__c)&&!Z.__)try{if((o=Z.constructor)&&o.getDerivedStateFromError!=null&&(Z.setState(o.getDerivedStateFromError(a)),v=Z.__d),Z.componentDidCatch!=null&&(Z.componentDidCatch(a,h||{}),v=Z.__d),v)return Z.__E=Z}catch(r){a=r}throw a}},$m=0,Yo=function(a){return a!=null&&a.constructor==null},Z5.prototype.setState=function(a,l){var c;c=this.__s!=null&&this.__s!=this.state?this.__s:this.__s=E2({},this.state),typeof a=="function"&&(a=a(E2({},c),this.props)),a&&E2(c,a),a!=null&&this.__v&&(l&&this._sb.push(l),Qo(this))},Z5.prototype.forceUpdate=function(a){this.__v&&(this.__e=!0,a&&this.__h.push(a),Qo(this))},Z5.prototype.render=V1,I3=[],Em=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,Qm=function(a,l){return a.__v.__b-l.__v.__b},Oc.__r=0,Ym=/(PointerCapture)$|Capture$/i,Xo=0,$o=Jm(!1),Eo=Jm(!0),Xm=0});function G3(a,l){r0.__h&&r0.__h(y1,a,E4||l),E4=0;var c=y1.__H||(y1.__H={__:[],__h:[]});return a>=c.__.length&&c.__.push({}),c.__[a]}function m1(a){return E4=1,$5(At,a)}function $5(a,l,c){var h=G3(d7++,2);if(h.t=a,!h.__c&&(h.__=[c?c(l):At(void 0,l),function(r){var e=h.__N?h.__N[0]:h.__[0],M=h.t(e,r);e!==M&&(h.__N=[M,h.__[1]],h.__c.setState({}))}],h.__c=y1,!y1.__f)){var Z=function(r,e,M){if(!h.__c.__H)return!0;var t=h.__c.__H.__.filter(function(H){return!!H.__c});if(t.every(function(H){return!H.__N}))return!o||o.call(this,r,e,M);var m=h.__c.props!==r;return t.forEach(function(H){if(H.__N){var A=H.__[0];H.__=H.__N,H.__N=void 0,A!==H.__[0]&&(m=!0)}}),o&&o.call(this,r,e,M)||m};y1.__f=!0;var{shouldComponentUpdate:o,componentWillUpdate:v}=y1;y1.componentWillUpdate=function(r,e,M){if(this.__e){var t=o;o=void 0,Z(r,e,M),o=t}v&&v.call(this,r,e,M)},y1.shouldComponentUpdate=Z}return h.__N||h.__}function M1(a,l){var c=G3(d7++,3);!r0.__s&&cv(c.__H,l)&&(c.__=a,c.u=l,y1.__H.__h.push(c))}function H2(a,l){var c=G3(d7++,4);!r0.__s&&cv(c.__H,l)&&(c.__=a,c.u=l,y1.__h.push(c))}function q(a){return E4=5,d1(function(){return{current:a}},[])}function i5(a,l,c){E4=6,H2(function(){if(typeof a=="function"){var h=a(l());return function(){a(null),h&&typeof h=="function"&&h()}}if(a)return a.current=l(),function(){return a.current=null}},c==null?c:c.concat(a))}function d1(a,l){var c=G3(d7++,7);return cv(c.__H,l)&&(c.__=a(),c.__H=l,c.__h=a),c.__}function j(a,l){return E4=8,d1(function(){return a},l)}function h1(a){var l=y1.context[a.__c],c=G3(d7++,9);return c.c=a,l?(c.__==null&&(c.__=!0,l.sub(y1)),l.props.value):a.__}function D8(a,l){r0.useDebugValue&&r0.useDebugValue(l?l(a):a)}function Pc(a){var l=G3(d7++,10),c=m1();return l.__=a,y1.componentDidCatch||(y1.componentDidCatch=function(h,Z){l.__&&l.__(h,Z),c[1](h)}),[c[0],function(){c[1](void 0)}]}function z3(){var a=G3(d7++,11);if(!a.__){for(var l=y1.__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 RF(){for(var a;a=Ht.shift();)if(a.__P&&a.__H)try{a.__H.__h.forEach(Uc),a.__H.__h.forEach(lv),a.__H.__h=[]}catch(l){a.__H.__h=[],r0.__e(l,a.__v)}}function xF(a){var l,c=function(){clearTimeout(h),tt&&cancelAnimationFrame(l),setTimeout(a)},h=setTimeout(c,100);tt&&(l=requestAnimationFrame(c))}function Uc(a){var l=y1,c=a.__c;typeof c=="function"&&(a.__c=void 0,c()),y1=l}function lv(a){var l=y1;a.__c=a.__(),y1=l}function cv(a,l){return!a||a.length!==l.length||l.some(function(c,h){return c!==a[h]})}function At(a,l){return typeof l=="function"?l(a):l}var d7,y1,av,Zt,E4=0,Ht,r0,ot,vt,rt,et,Mt,mt,tt;var Y2=Jo(()=>{q3();Ht=[],r0=L1,ot=r0.__b,vt=r0.__r,rt=r0.diffed,et=r0.__c,Mt=r0.unmount,mt=r0.__;r0.__b=function(a){y1=null,ot&&ot(a)},r0.__=function(a,l){a&&l.__k&&l.__k.__m&&(a.__m=l.__k.__m),mt&&mt(a,l)},r0.__r=function(a){vt&&vt(a),d7=0;var l=(y1=a.__c).__H;l&&(av===y1?(l.__h=[],y1.__h=[],l.__.forEach(function(c){c.__N&&(c.__=c.__N),c.u=c.__N=void 0})):(l.__h.forEach(Uc),l.__h.forEach(lv),l.__h=[],d7=0)),av=y1},r0.diffed=function(a){rt&&rt(a);var l=a.__c;l&&l.__H&&(l.__H.__h.length&&(Ht.push(l)!==1&&Zt===r0.requestAnimationFrame||((Zt=r0.requestAnimationFrame)||xF)(RF)),l.__H.__.forEach(function(c){c.u&&(c.__H=c.u),c.u=void 0})),av=y1=null},r0.__c=function(a,l){l.some(function(c){try{c.__h.forEach(Uc),c.__h=c.__h.filter(function(h){return!h.__||lv(h)})}catch(h){l.some(function(Z){Z.__h&&(Z.__h=[])}),l=[],r0.__e(h,c.__v)}}),et&&et(a,l)},r0.unmount=function(a){Mt&&Mt(a);var l,c=a.__c;c&&c.__H&&(c.__H.__.forEach(function(h){try{Uc(h)}catch(Z){l=Z}}),c.__H=void 0,l&&r0.__e(l,c.__v))};tt=typeof requestAnimationFrame=="function"});var F={};Wc(F,{version:()=>J3,useTransition:()=>zc,useSyncExternalStore:()=>Ic,useState:()=>m1,useRef:()=>q,useReducer:()=>$5,useMemo:()=>d1,useLayoutEffect:()=>H2,useInsertionEffect:()=>E5,useImperativeHandle:()=>i5,useId:()=>z3,useErrorBoundary:()=>Pc,useEffect:()=>M1,useDeferredValue:()=>Gc,useDebugValue:()=>D8,useContext:()=>h1,useCallback:()=>j,unstable_batchedUpdates:()=>tv,unmountComponentAtNode:()=>T8,startTransition:()=>qc,render:()=>f8,memo:()=>k8,lazy:()=>ov,isValidElement:()=>v5,isMemo:()=>Mv,isFragment:()=>ev,isElement:()=>Vv,hydrate:()=>Kc,forwardRef:()=>U,flushSync:()=>Hv,findDOMNode:()=>mv,default:()=>W8,createRef:()=>o5,createPortal:()=>S8,createFactory:()=>rv,createElement:()=>r1,createContext:()=>e1,cloneElement:()=>j7,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:()=>B8,SuspenseList:()=>K3,Suspense:()=>Q4,StrictMode:()=>Av,PureComponent:()=>s8,Fragment:()=>V1,Component:()=>Z5,Children:()=>g7});function Ft(a,l){for(var c in l)a[c]=l[c];return a}function Zv(a,l){for(var c in a)if(c!=="__source"&&!(c in l))return!0;for(var h in l)if(h!=="__source"&&a[h]!==l[h])return!0;return!1}function Ic(a,l){var c=l(),h=m1({t:{__:c,u:l}}),Z=h[0].t,o=h[1];return H2(function(){Z.__=c,Z.u=l,hv(Z)&&o({t:Z})},[a,c,l]),M1(function(){return hv(Z)&&o({t:Z}),a(function(){hv(Z)&&o({t:Z})})},[a]),c}function hv(a){var l,c,h=a.u,Z=a.__;try{var o=h();return!((l=Z)===(c=o)&&(l!==0||1/l==1/c)||l!=l&&c!=c)}catch(v){return!0}}function qc(a){a()}function Gc(a){return a}function zc(){return[!1,qc]}function s8(a,l){this.props=a,this.context=l}function k8(a,l){function c(Z){var o=this.props.ref,v=o==Z.ref;return!v&&o&&(o.call?o(null):o.current=null),l?!l(this.props,Z)||!v:Zv(this.props,Z)}function h(Z){return this.shouldComponentUpdate=c,r1(a,Z)}return h.displayName="Memo("+(a.displayName||a.name)+")",h.prototype.isReactComponent=!0,h.__f=!0,h}function U(a){function l(c){var h=Ft({},c);return delete h.ref,a(h,c.ref||null)}return l.$$typeof=pF,l.render=l,l.prototype.isReactComponent=l.__f=!0,l.displayName="ForwardRef("+(a.displayName||a.name)+")",l}function Rt(a,l,c){return a&&(a.__c&&a.__c.__H&&(a.__c.__H.__.forEach(function(h){typeof h.__c=="function"&&h.__c()}),a.__c.__H=null),(a=Ft({},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(h){return Rt(h,l,c)})),a}function xt(a,l,c){return a&&c&&(a.__v=null,a.__k=a.__k&&a.__k.map(function(h){return xt(h,l,c)}),a.__c&&a.__c.__P===l&&(a.__e&&c.appendChild(a.__e),a.__c.__e=!0,a.__c.__P=c)),a}function Q4(){this.__u=0,this.o=null,this.__b=null}function pt(a){var l=a.__.__c;return l&&l.__a&&l.__a(a)}function ov(a){var l,c,h;function Z(o){if(l||(l=a()).then(function(v){c=v.default||v},function(v){h=v}),h)throw h;if(!c)throw l;return r1(c,o)}return Z.displayName="Lazy",Z.__f=!0,Z}function K3(){this.i=null,this.l=null}function DF(a){return this.getChildContext=function(){return a.context},a.children}function sF(a){var l=this,c=a.h;l.componentWillUnmount=function(){$4(null,l.v),l.v=null,l.h=null},l.h&&l.h!==c&&l.componentWillUnmount(),l.v||(l.h=c,l.v={nodeType:1,parentNode:c,childNodes:[],contains:function(){return!0},appendChild:function(h){this.childNodes.push(h),l.h.appendChild(h)},insertBefore:function(h,Z){this.childNodes.push(h),l.h.insertBefore(h,Z)},removeChild:function(h){this.childNodes.splice(this.childNodes.indexOf(h)>>>1,1),l.h.removeChild(h)}}),$4(r1(DF,{context:l.context},a.__v),l.v)}function S8(a,l){var c=r1(sF,{__v:a,h:l});return c.containerInfo=l,c}function f8(a,l,c){return l.__k==null&&(l.textContent=""),$4(a,l),typeof c=="function"&&c(),a?a.__c:null}function Kc(a,l,c){return _o(a,l),typeof c=="function"&&c(),a?a.__c:null}function WF(){}function bF(){return this.cancelBubble}function OF(){return this.defaultPrevented}function rv(a){return r1.bind(null,a)}function v5(a){return!!a&&a.$$typeof===wt}function ev(a){return v5(a)&&a.type===V1}function Mv(a){return!!a&&!!a.displayName&&(typeof a.displayName=="string"||a.displayName instanceof String)&&a.displayName.startsWith("Memo(")}function j7(a){return v5(a)?ht.apply(null,arguments):a}function T8(a){return!!a.__k&&($4(null,a),!0)}function mv(a){return a&&(a.base||a.nodeType===1&&a)||null}var E5,Vt,pF,it=function(a,l){return a==null?null:Q2(Q2(a).map(l))},g7,wF,nt,ut=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]}},wt,kF,SF,fF,BF,TF=function(a){return(typeof Symbol!="undefined"&&typeof Symbol()=="symbol"?/fil|che|rad/:/fil|che|ra/).test(a)},Lt,vv,UF,dt,gt,Ct,B8,J3="18.3.1",tv=function(a,l){return a(l)},Hv=function(a,l){return a(l)},Av,Vv,W8;var C=Jo(()=>{q3();q3();Y2();Y2();E5=H2;(s8.prototype=new Z5).isPureReactComponent=!0,s8.prototype.shouldComponentUpdate=function(a,l){return Zv(this.props,a)||Zv(this.state,l)};Vt=L1.__b;L1.__b=function(a){a.type&&a.type.__f&&a.ref&&(a.props.ref=a.ref,a.ref=null),Vt&&Vt(a)};pF=typeof Symbol!="undefined"&&Symbol.for&&Symbol.for("react.forward_ref")||3911;g7={map:it,forEach:it,count:function(a){return a?Q2(a).length:0},only:function(a){var l=Q2(a);if(l.length!==1)throw"Children.only";return l[0]},toArray:Q2},wF=L1.__e;L1.__e=function(a,l,c,h){if(a.then){for(var Z,o=l;o=o.__;)if((Z=o.__c)&&Z.__c)return l.__e==null&&(l.__e=c.__e,l.__k=c.__k),Z.__c(a,l)}wF(a,l,c,h)};nt=L1.unmount;L1.unmount=function(a){var l=a.__c;l&&l.__R&&l.__R(),l&&32&a.__u&&(a.type=null),nt&&nt(a)},(Q4.prototype=new Z5).__c=function(a,l){var c=l.__c,h=this;h.o==null&&(h.o=[]),h.o.push(c);var Z=pt(h.__v),o=!1,v=function(){o||(o=!0,c.__R=null,Z?Z(r):r())};c.__R=v;var r=function(){if(!--h.__u){if(h.state.__a){var e=h.state.__a;h.__v.__k[0]=xt(e,e.__c.__P,e.__c.__O)}var M;for(h.setState({__a:h.__b=null});M=h.o.pop();)M.forceUpdate()}};h.__u++||32&l.__u||h.setState({__a:h.__b=h.__v.__k[0]}),a.then(v,v)},Q4.prototype.componentWillUnmount=function(){this.o=[]},Q4.prototype.render=function(a,l){if(this.__b){if(this.__v.__k){var c=document.createElement("div"),h=this.__v.__k[0].__c;this.__v.__k[0]=Rt(this.__b,c,h.__O=h.__P)}this.__b=null}var Z=l.__a&&r1(V1,null,a.fallback);return Z&&(Z.__u&=-33),[r1(V1,null,l.__a?null:a.children),Z]};(K3.prototype=new Z5).__a=function(a){var l=this,c=pt(l.__v),h=l.l.get(a);return h[0]++,function(Z){var o=function(){l.props.revealOrder?(h.push(Z),ut(l,a,h)):Z()};c?c(o):o()}},K3.prototype.render=function(a){this.i=null,this.l=/*@__PURE__*/new Map;var l=Q2(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},K3.prototype.componentDidUpdate=K3.prototype.componentDidMount=function(){var a=this;this.l.forEach(function(l,c){ut(a,c,l)})};wt=typeof Symbol!="undefined"&&Symbol.for&&Symbol.for("react.element")||60103,kF=/^(?: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]/,SF=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,fF=/[A-Z0-9]/g,BF=typeof document!="undefined";Z5.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(a){Object.defineProperty(Z5.prototype,a,{configurable:!0,get:function(){return this["UNSAFE_"+a]},set:function(l){Object.defineProperty(this,a,{configurable:!0,writable:!0,value:l})}})});Lt=L1.event;L1.event=function(a){return Lt&&(a=Lt(a)),a.persist=WF,a.isPropagationStopped=bF,a.isDefaultPrevented=OF,a.nativeEvent=a};UF={enumerable:!1,configurable:!0,get:function(){return this.class}},dt=L1.vnode;L1.vnode=function(a){typeof a.type=="string"&&function(l){var{props:c,type:h}=l,Z={},o=h.indexOf("-")===-1;for(var v in c){var r=c[v];if(!(v==="value"&&("defaultValue"in c)&&r==null||BF&&v==="children"&&h==="noscript"||v==="class"||v==="className")){var e=v.toLowerCase();v==="defaultValue"&&"value"in c&&c.value==null?v="value":v==="download"&&r===!0?r="":e==="translate"&&r==="no"?r=!1:e[0]==="o"&&e[1]==="n"?e==="ondoubleclick"?v="ondblclick":e!=="onchange"||h!=="input"&&h!=="textarea"||TF(c.type)?e==="onfocus"?v="onfocusin":e==="onblur"?v="onfocusout":SF.test(v)&&(v=e):e=v="oninput":o&&kF.test(v)?v=v.replace(fF,"-$&").toLowerCase():r===null&&(r=void 0),e==="oninput"&&Z[v=e]&&(v="oninputCapture"),Z[v]=r}}h=="select"&&Z.multiple&&Array.isArray(Z.value)&&(Z.value=Q2(c.children).forEach(function(M){M.props.selected=Z.value.indexOf(M.props.value)!=-1})),h=="select"&&Z.defaultValue!=null&&(Z.value=Q2(c.children).forEach(function(M){M.props.selected=Z.multiple?Z.defaultValue.indexOf(M.props.value)!=-1:Z.defaultValue==M.props.value})),c.class&&!c.className?(Z.class=c.class,Object.defineProperty(Z,"className",UF)):(c.className&&!c.class||c.class&&c.className)&&(Z.class=Z.className=c.className),l.props=Z}(a),a.$$typeof=wt,dt&&dt(a)};gt=L1.__r;L1.__r=function(a){gt&>(a),vv=a.__c};Ct=L1.diffed;L1.diffed=function(a){Ct&&Ct(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),vv=null};B8={ReactCurrentDispatcher:{current:{readContext:function(a){return vv.__n[a.__c].props.value},useCallback:j,useContext:h1,useDebugValue:D8,useDeferredValue:Gc,useEffect:M1,useId:z3,useImperativeHandle:i5,useInsertionEffect:E5,useLayoutEffect:H2,useMemo:d1,useReducer:$5,useRef:q,useState:m1,useSyncExternalStore:Ic,useTransition:zc}}};Av=V1,Vv=v5,W8={useState:m1,useId:z3,useReducer:$5,useEffect:M1,useLayoutEffect:H2,useInsertionEffect:E5,useTransition:zc,useDeferredValue:Gc,useSyncExternalStore:Ic,startTransition:qc,useRef:q,useImperativeHandle:i5,useMemo:d1,useCallback:j,useContext:h1,useDebugValue:D8,version:"18.3.1",Children:g7,render:f8,hydrate:Kc,unmountComponentAtNode:T8,createPortal:S8,createElement:r1,createContext:e1,createFactory:rv,cloneElement:j7,createRef:o5,Fragment:V1,isValidElement:v5,isElement:Vv,isFragment:ev,isMemo:Mv,findDOMNode:mv,Component:Z5,PureComponent:s8,memo:k8,forwardRef:U,flushSync:Hv,unstable_batchedUpdates:tv,StrictMode:Av,Suspense:Q4,SuspenseList:K3,lazy:ov,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:B8}});var pA=$2((qR)=>{(function(){var a=60103,l=60106,c=60107,h=60108,Z=60114,o=60109,v=60110,r=60112,e=60113,M=60120,t=60115,m=60116,H=60121,A=60122,V=60117,i=60119,u=60128,L=60129,d=60130,g=60131;if(typeof Symbol==="function"&&Symbol.for){var R=Symbol.for;a=R("react.element"),l=R("react.portal"),c=R("react.fragment"),h=R("react.strict_mode"),Z=R("react.profiler"),o=R("react.provider"),v=R("react.context"),r=R("react.forward_ref"),e=R("react.suspense"),M=R("react.suspense_list"),t=R("react.memo"),m=R("react.lazy"),H=R("react.block"),A=R("react.server.block"),V=R("react.fundamental"),i=R("react.scope"),u=R("react.opaque.id"),L=R("react.debug_trace_mode"),d=R("react.offscreen"),g=R("react.legacy_hidden")}var x=!1;function S(t1){if(typeof t1==="string"||typeof t1==="function")return!0;if(t1===c||t1===Z||t1===L||t1===h||t1===e||t1===M||t1===g||x)return!0;if(typeof t1==="object"&&t1!==null){if(t1.$$typeof===m||t1.$$typeof===t||t1.$$typeof===o||t1.$$typeof===v||t1.$$typeof===r||t1.$$typeof===V||t1.$$typeof===H||t1[0]===A)return!0}return!1}function p(t1){if(typeof t1==="object"&&t1!==null){var g5=t1.$$typeof;switch(g5){case a:var t2=t1.type;switch(t2){case c:case Z:case h:case e:case M:return t2;default:var b5=t2&&t2.$$typeof;switch(b5){case v:case r:case m:case t:case o:return b5;default:return g5}}case l:return g5}}return}var O=v,I=o,Z1=a,o1=r,X=c,w=m,s=t,P=l,Q=Z,N=h,H1=e,K=!1,i1=!1;function J(t1){if(!K)K=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.");return!1}function E(t1){if(!i1)i1=!0,console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.");return!1}function l1(t1){return p(t1)===v}function f1(t1){return p(t1)===o}function K1(t1){return typeof t1==="object"&&t1!==null&&t1.$$typeof===a}function h0(t1){return p(t1)===r}function K5(t1){return p(t1)===c}function M2(t1){return p(t1)===m}function m2(t1){return p(t1)===t}function J5(t1){return p(t1)===l}function T5(t1){return p(t1)===Z}function c1(t1){return p(t1)===h}function W5(t1){return p(t1)===e}qR.ContextConsumer=O,qR.ContextProvider=I,qR.Element=Z1,qR.ForwardRef=o1,qR.Fragment=X,qR.Lazy=w,qR.Memo=s,qR.Portal=P,qR.Profiler=Q,qR.StrictMode=N,qR.Suspense=H1,qR.isAsyncMode=J,qR.isConcurrentMode=E,qR.isContextConsumer=l1,qR.isContextProvider=f1,qR.isElement=K1,qR.isForwardRef=h0,qR.isFragment=K5,qR.isLazy=M2,qR.isMemo=m2,qR.isPortal=J5,qR.isProfiler=T5,qR.isStrictMode=c1,qR.isSuspense=W5,qR.isValidElementType=S,qR.typeOf=p})()});var fi=$2((xp)=>{(function(){if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__!=="undefined"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart==="function")__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var a=!1,l=!1,c=5;function h(a1,u1){var k1=a1.length;a1.push(u1),v(a1,u1,k1)}function Z(a1){return a1.length===0?null:a1[0]}function o(a1){if(a1.length===0)return null;var u1=a1[0],k1=a1.pop();if(k1!==u1)a1[0]=k1,r(a1,k1,0);return u1}function v(a1,u1,k1){var J1=k1;while(J1>0){var o0=J1-1>>>1,V5=a1[o0];if(e(V5,u1)>0)a1[o0]=u1,a1[J1]=V5,J1=o0;else return}}function r(a1,u1,k1){var J1=k1,o0=a1.length,V5=o0>>>1;while(J1<V5){var O0=(J1+1)*2-1,J2=a1[O0],h5=O0+1,Tc=a1[h5];if(e(J2,u1)<0)if(h5<o0&&e(Tc,J2)<0)a1[J1]=Tc,a1[h5]=u1,J1=h5;else a1[J1]=J2,a1[O0]=u1,J1=O0;else if(h5<o0&&e(Tc,u1)<0)a1[J1]=Tc,a1[h5]=u1,J1=h5;else return}}function e(a1,u1){var k1=a1.sortIndex-u1.sortIndex;return k1!==0?k1:a1.id-u1.id}var M=1,t=2,m=3,H=4,A=5;function V(a1,u1){}var i=typeof performance==="object"&&typeof performance.now==="function";if(i){var u=performance;xp.unstable_now=function(){return u.now()}}else{var L=Date,d=L.now();xp.unstable_now=function(){return L.now()-d}}var g=1073741823,R=-1,x=250,S=5000,p=1e4,O=g,I=[],Z1=[],o1=1,X=null,w=m,s=!1,P=!1,Q=!1,N=typeof setTimeout==="function"?setTimeout:null,H1=typeof clearTimeout==="function"?clearTimeout:null,K=typeof setImmediate!=="undefined"?setImmediate:null,i1=typeof navigator!=="undefined"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0?navigator.scheduling.isInputPending.bind(navigator.scheduling):null;function J(a1){var u1=Z(Z1);while(u1!==null){if(u1.callback===null)o(Z1);else if(u1.startTime<=a1)o(Z1),u1.sortIndex=u1.expirationTime,h(I,u1);else return;u1=Z(Z1)}}function E(a1){if(Q=!1,J(a1),!P)if(Z(I)!==null)P=!0,Z0(l1);else{var u1=Z(Z1);if(u1!==null)V0(E,u1.startTime-a1)}}function l1(a1,u1){if(P=!1,Q)Q=!1,c5();s=!0;var k1=w;try{if(l)try{return f1(a1,u1)}catch(o0){if(X!==null){var J1=xp.unstable_now();V(X,J1),X.isQueued=!1}throw o0}else return f1(a1,u1)}finally{X=null,w=k1,s=!1}}function f1(a1,u1){var k1=u1;J(k1),X=Z(I);while(X!==null&&!a){if(X.expirationTime>k1&&(!a1||O3()))break;var J1=X.callback;if(typeof J1==="function"){X.callback=null,w=X.priorityLevel;var o0=X.expirationTime<=k1,V5=J1(o0);if(k1=xp.unstable_now(),typeof V5==="function")X.callback=V5;else if(X===Z(I))o(I);J(k1)}else o(I);X=Z(I)}if(X!==null)return!0;else{var O0=Z(Z1);if(O0!==null)V0(E,O0.startTime-k1);return!1}}function K1(a1,u1){switch(a1){case M:case t:case m:case H:case A:break;default:a1=m}var k1=w;w=a1;try{return u1()}finally{w=k1}}function h0(a1){var u1;switch(w){case M:case t:case m:u1=m;break;default:u1=w;break}var k1=w;w=u1;try{return a1()}finally{w=k1}}function K5(a1){var u1=w;return function(){var k1=w;w=u1;try{return a1.apply(this,arguments)}finally{w=k1}}}function M2(a1,u1,k1){var J1=xp.unstable_now(),o0;if(typeof k1==="object"&&k1!==null){var V5=k1.delay;if(typeof V5==="number"&&V5>0)o0=J1+V5;else o0=J1}else o0=J1;var O0;switch(a1){case M:O0=R;break;case t:O0=x;break;case A:O0=O;break;case H:O0=p;break;case m:default:O0=S;break}var J2=o0+O0,h5={id:o1++,callback:u1,priorityLevel:a1,startTime:o0,expirationTime:J2,sortIndex:-1};if(o0>J1){if(h5.sortIndex=o0,h(Z1,h5),Z(I)===null&&h5===Z(Z1)){if(Q)c5();else Q=!0;V0(E,o0-J1)}}else if(h5.sortIndex=J2,h(I,h5),!P&&!s)P=!0,Z0(l1);return h5}function m2(){}function J5(){if(!P&&!s)P=!0,Z0(l1)}function T5(){return Z(I)}function c1(a1){a1.callback=null}function W5(){return w}var t1=!1,g5=null,t2=-1,b5=c,G4=-1;function O3(){var a1=xp.unstable_now()-G4;if(a1<b5)return!1;return!0}function z4(){}function zo(a1){if(a1<0||a1>125){console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported");return}if(a1>0)b5=Math.floor(1000/a1);else b5=c}var F8=function(){if(g5!==null){var a1=xp.unstable_now();G4=a1;var u1=!0,k1=!0;try{k1=g5(u1,a1)}finally{if(k1)U3();else t1=!1,g5=null}}else t1=!1},U3;if(typeof K==="function")U3=function(){K(F8)};else if(typeof MessageChannel!=="undefined"){var y=new MessageChannel,g1=y.port2;y.port1.onmessage=F8,U3=function(){g1.postMessage(null)}}else U3=function(){N(F8,0)};function Z0(a1){if(g5=a1,!t1)t1=!0,U3()}function V0(a1,u1){t2=N(function(){a1(xp.unstable_now())},u1)}function c5(){H1(t2),t2=-1}var P3=z4,y7=null;if(xp.unstable_IdlePriority=A,xp.unstable_ImmediatePriority=M,xp.unstable_LowPriority=H,xp.unstable_NormalPriority=m,xp.unstable_Profiling=y7,xp.unstable_UserBlockingPriority=t,xp.unstable_cancelCallback=c1,xp.unstable_continueExecution=J5,xp.unstable_forceFrameRate=zo,xp.unstable_getCurrentPriorityLevel=W5,xp.unstable_getFirstCallbackNode=T5,xp.unstable_next=h0,xp.unstable_pauseExecution=m2,xp.unstable_requestPaint=P3,xp.unstable_runWithPriority=K1,xp.unstable_scheduleCallback=M2,xp.unstable_shouldYield=O3,xp.unstable_wrapCallback=K5,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__!=="undefined"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop==="function")__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)})()});var be=$2((zs)=>{(function(){var a=typeof Symbol==="function"&&Symbol.for,l=a?Symbol.for("react.element"):60103,c=a?Symbol.for("react.portal"):60106,h=a?Symbol.for("react.fragment"):60107,Z=a?Symbol.for("react.strict_mode"):60108,o=a?Symbol.for("react.profiler"):60114,v=a?Symbol.for("react.provider"):60109,r=a?Symbol.for("react.context"):60110,e=a?Symbol.for("react.async_mode"):60111,M=a?Symbol.for("react.concurrent_mode"):60111,t=a?Symbol.for("react.forward_ref"):60112,m=a?Symbol.for("react.suspense"):60113,H=a?Symbol.for("react.suspense_list"):60120,A=a?Symbol.for("react.memo"):60115,V=a?Symbol.for("react.lazy"):60116,i=a?Symbol.for("react.block"):60121,u=a?Symbol.for("react.fundamental"):60117,L=a?Symbol.for("react.responder"):60118,d=a?Symbol.for("react.scope"):60119;function g(c1){return typeof c1==="string"||typeof c1==="function"||c1===h||c1===M||c1===o||c1===Z||c1===m||c1===H||typeof c1==="object"&&c1!==null&&(c1.$$typeof===V||c1.$$typeof===A||c1.$$typeof===v||c1.$$typeof===r||c1.$$typeof===t||c1.$$typeof===u||c1.$$typeof===L||c1.$$typeof===d||c1.$$typeof===i)}function R(c1){if(typeof c1==="object"&&c1!==null){var W5=c1.$$typeof;switch(W5){case l:var t1=c1.type;switch(t1){case e:case M:case h:case o:case Z:case m:return t1;default:var g5=t1&&t1.$$typeof;switch(g5){case r:case t:case V:case A:case v:return g5;default:return W5}}case c:return W5}}return}var x=e,S=M,p=r,O=v,I=l,Z1=t,o1=h,X=V,w=A,s=c,P=o,Q=Z,N=m,H1=!1;function K(c1){if(!H1)H1=!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 i1(c1)||R(c1)===e}function i1(c1){return R(c1)===M}function J(c1){return R(c1)===r}function E(c1){return R(c1)===v}function l1(c1){return typeof c1==="object"&&c1!==null&&c1.$$typeof===l}function f1(c1){return R(c1)===t}function K1(c1){return R(c1)===h}function h0(c1){return R(c1)===V}function K5(c1){return R(c1)===A}function M2(c1){return R(c1)===c}function m2(c1){return R(c1)===o}function J5(c1){return R(c1)===Z}function T5(c1){return R(c1)===m}zs.AsyncMode=x,zs.ConcurrentMode=S,zs.ContextConsumer=p,zs.ContextProvider=O,zs.Element=I,zs.ForwardRef=Z1,zs.Fragment=o1,zs.Lazy=X,zs.Memo=w,zs.Portal=s,zs.Profiler=P,zs.StrictMode=Q,zs.Suspense=N,zs.isAsyncMode=K,zs.isConcurrentMode=i1,zs.isContextConsumer=J,zs.isContextProvider=E,zs.isElement=l1,zs.isForwardRef=f1,zs.isFragment=K1,zs.isLazy=h0,zs.isMemo=K5,zs.isPortal=M2,zs.isProfiler=m2,zs.isStrictMode=J5,zs.isSuspense=T5,zs.isValidElementType=g,zs.typeOf=R})()});var dL=$2((sv1,LL)=>{var uL=Object.getOwnPropertySymbols,Ks=Object.prototype.hasOwnProperty,Js=Object.prototype.propertyIsEnumerable;function $s(a){if(a===null||a===void 0)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(a)}function Es(){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 h=Object.getOwnPropertyNames(l).map(function(o){return l[o]});if(h.join("")!=="0123456789")return!1;var Z={};if("abcdefghijklmnopqrst".split("").forEach(function(o){Z[o]=o}),Object.keys(Object.assign({},Z)).join("")!=="abcdefghijklmnopqrst")return!1;return!0}catch(o){return!1}}LL.exports=Es()?Object.assign:function(a,l){var c,h=$s(a),Z;for(var o=1;o<arguments.length;o++){c=Object(arguments[o]);for(var v in c)if(Ks.call(c,v))h[v]=c[v];if(uL){Z=uL(c);for(var r=0;r<Z.length;r++)if(Js.call(c,Z[r]))h[Z[r]]=c[Z[r]]}}return h}});var Oe=$2((kv1,gL)=>{var Qs="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";gL.exports=Qs});var Ue=$2((Sv1,CL)=>{CL.exports=Function.call.bind(Object.prototype.hasOwnProperty)});var xL=$2((fv1,RL)=>{var Pe=function(){};Ie=Oe(),Il={},qe=Ue(),Pe=function(a){var l="Warning: "+a;if(typeof console!=="undefined")console.error(l);try{throw new Error(l)}catch(c){}};var Ie,Il,qe;function FL(a,l,c,h,Z){for(var o in a)if(qe(a,o)){var v;try{if(typeof a[o]!=="function"){var r=Error((h||"React class")+": "+c+" type `"+o+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof a[o]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw r.name="Invariant Violation",r}v=a[o](l,o,h,c,null,Ie)}catch(M){v=M}if(v&&!(v instanceof Error))Pe((h||"React class")+": type specification of "+c+" `"+o+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof v+". 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(v instanceof Error&&!(v.message in Il)){Il[v.message]=!0;var e=Z?Z():"";Pe("Failed "+c+" type: "+v.message+(e!=null?e:""))}}}FL.resetWarningCache=function(){Il={}};RL.exports=FL});var sL=$2((Bv1,DL)=>{var wL=K4(be(),1),Ys=dL(),K6=Oe(),Ge=Ue(),pL=xL(),J6=function(){};J6=function(a){var l="Warning: "+a;if(typeof console!=="undefined")console.error(l);try{throw new Error(l)}catch(c){}};function fZ(){return null}DL.exports=function(a,l){var c=typeof Symbol==="function"&&Symbol.iterator,h="@@iterator";function Z(w){var s=w&&(c&&w[c]||w[h]);if(typeof s==="function")return s}var o="<<anonymous>>",v={array:t("array"),bigint:t("bigint"),bool:t("boolean"),func:t("function"),number:t("number"),object:t("object"),string:t("string"),symbol:t("symbol"),any:m(),arrayOf:H,element:A(),elementType:V(),instanceOf:i,node:g(),objectOf:L,oneOf:u,oneOfType:d,shape:x,exact:S};function r(w,s){if(w===s)return w!==0||1/w===1/s;else return w!==w&&s!==s}function e(w,s){this.message=w,this.data=s&&typeof s==="object"?s:{},this.stack=""}e.prototype=Error.prototype;function M(w){var s={},P=0;function Q(H1,K,i1,J,E,l1,f1){if(J=J||o,l1=l1||i1,f1!==K6){if(l){var K1=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");throw K1.name="Invariant Violation",K1}else if(typeof console!=="undefined"){var h0=J+":"+i1;if(!s[h0]&&P<3)J6("You are manually calling a React.PropTypes validation function for the `"+l1+"` prop on `"+J+"`. 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."),s[h0]=!0,P++}}if(K[i1]==null){if(H1){if(K[i1]===null)return new e("The "+E+" `"+l1+"` is marked as required "+("in `"+J+"`, but its value is `null`."));return new e("The "+E+" `"+l1+"` is marked as required in "+("`"+J+"`, but its value is `undefined`."))}return null}else return w(K,i1,J,E,l1)}var N=Q.bind(null,!1);return N.isRequired=Q.bind(null,!0),N}function t(w){function s(P,Q,N,H1,K,i1){var J=P[Q],E=I(J);if(E!==w){var l1=Z1(J);return new e("Invalid "+H1+" `"+K+"` of type "+("`"+l1+"` supplied to `"+N+"`, expected ")+("`"+w+"`."),{expectedType:w})}return null}return M(s)}function m(){return M(fZ)}function H(w){function s(P,Q,N,H1,K){if(typeof w!=="function")return new e("Property `"+K+"` of component `"+N+"` has invalid PropType notation inside arrayOf.");var i1=P[Q];if(!Array.isArray(i1)){var J=I(i1);return new e("Invalid "+H1+" `"+K+"` of type "+("`"+J+"` supplied to `"+N+"`, expected an array."))}for(var E=0;E<i1.length;E++){var l1=w(i1,E,N,H1,K+"["+E+"]",K6);if(l1 instanceof Error)return l1}return null}return M(s)}function A(){function w(s,P,Q,N,H1){var K=s[P];if(!a(K)){var i1=I(K);return new e("Invalid "+N+" `"+H1+"` of type "+("`"+i1+"` supplied to `"+Q+"`, expected a single ReactElement."))}return null}return M(w)}function V(){function w(s,P,Q,N,H1){var K=s[P];if(!wL.isValidElementType(K)){var i1=I(K);return new e("Invalid "+N+" `"+H1+"` of type "+("`"+i1+"` supplied to `"+Q+"`, expected a single ReactElement type."))}return null}return M(w)}function i(w){function s(P,Q,N,H1,K){if(!(P[Q]instanceof w)){var i1=w.name||o,J=X(P[Q]);return new e("Invalid "+H1+" `"+K+"` of type "+("`"+J+"` supplied to `"+N+"`, expected ")+("instance of `"+i1+"`."))}return null}return M(s)}function u(w){if(!Array.isArray(w)){if(arguments.length>1)J6("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 J6("Invalid argument supplied to oneOf, expected an array.");return fZ}function s(P,Q,N,H1,K){var i1=P[Q];for(var J=0;J<w.length;J++)if(r(i1,w[J]))return null;var E=JSON.stringify(w,function l1(f1,K1){var h0=Z1(K1);if(h0==="symbol")return String(K1);return K1});return new e("Invalid "+H1+" `"+K+"` of value `"+String(i1)+"` "+("supplied to `"+N+"`, expected one of "+E+"."))}return M(s)}function L(w){function s(P,Q,N,H1,K){if(typeof w!=="function")return new e("Property `"+K+"` of component `"+N+"` has invalid PropType notation inside objectOf.");var i1=P[Q],J=I(i1);if(J!=="object")return new e("Invalid "+H1+" `"+K+"` of type "+("`"+J+"` supplied to `"+N+"`, expected an object."));for(var E in i1)if(Ge(i1,E)){var l1=w(i1,E,N,H1,K+"."+E,K6);if(l1 instanceof Error)return l1}return null}return M(s)}function d(w){if(!Array.isArray(w))return J6("Invalid argument supplied to oneOfType, expected an instance of array."),fZ;for(var s=0;s<w.length;s++){var P=w[s];if(typeof P!=="function")return J6("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+o1(P)+" at index "+s+"."),fZ}function Q(N,H1,K,i1,J){var E=[];for(var l1=0;l1<w.length;l1++){var f1=w[l1],K1=f1(N,H1,K,i1,J,K6);if(K1==null)return null;if(K1.data&&Ge(K1.data,"expectedType"))E.push(K1.data.expectedType)}var h0=E.length>0?", expected one of type ["+E.join(", ")+"]":"";return new e("Invalid "+i1+" `"+J+"` supplied to "+("`"+K+"`"+h0+"."))}return M(Q)}function g(){function w(s,P,Q,N,H1){if(!p(s[P]))return new e("Invalid "+N+" `"+H1+"` supplied to "+("`"+Q+"`, expected a ReactNode."));return null}return M(w)}function R(w,s,P,Q,N){return new e((w||"React class")+": "+s+" type `"+P+"."+Q+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+N+"`.")}function x(w){function s(P,Q,N,H1,K){var i1=P[Q],J=I(i1);if(J!=="object")return new e("Invalid "+H1+" `"+K+"` of type `"+J+"` "+("supplied to `"+N+"`, expected `object`."));for(var E in w){var l1=w[E];if(typeof l1!=="function")return R(N,H1,K,E,Z1(l1));var f1=l1(i1,E,N,H1,K+"."+E,K6);if(f1)return f1}return null}return M(s)}function S(w){function s(P,Q,N,H1,K){var i1=P[Q],J=I(i1);if(J!=="object")return new e("Invalid "+H1+" `"+K+"` of type `"+J+"` "+("supplied to `"+N+"`, expected `object`."));var E=Ys({},P[Q],w);for(var l1 in E){var f1=w[l1];if(Ge(w,l1)&&typeof f1!=="function")return R(N,H1,K,l1,Z1(f1));if(!f1)return new e("Invalid "+H1+" `"+K+"` key `"+l1+"` supplied to `"+N+"`.\nBad object: "+JSON.stringify(P[Q],null," ")+`
|
|
2
|
+
Valid keys: `+JSON.stringify(Object.keys(w),null," "));var K1=f1(i1,l1,N,H1,K+"."+l1,K6);if(K1)return K1}return null}return M(s)}function p(w){switch(typeof w){case"number":case"string":case"undefined":return!0;case"boolean":return!w;case"object":if(Array.isArray(w))return w.every(p);if(w===null||a(w))return!0;var s=Z(w);if(s){var P=s.call(w),Q;if(s!==w.entries){while(!(Q=P.next()).done)if(!p(Q.value))return!1}else while(!(Q=P.next()).done){var N=Q.value;if(N){if(!p(N[1]))return!1}}}else return!1;return!0;default:return!1}}function O(w,s){if(w==="symbol")return!0;if(!s)return!1;if(s["@@toStringTag"]==="Symbol")return!0;if(typeof Symbol==="function"&&s instanceof Symbol)return!0;return!1}function I(w){var s=typeof w;if(Array.isArray(w))return"array";if(w instanceof RegExp)return"object";if(O(s,w))return"symbol";return s}function Z1(w){if(typeof w==="undefined"||w===null)return""+w;var s=I(w);if(s==="object"){if(w instanceof Date)return"date";else if(w instanceof RegExp)return"regexp"}return s}function o1(w){var s=Z1(w);switch(s){case"array":case"object":return"an "+s;case"boolean":case"date":case"regexp":return"a "+s;default:return s}}function X(w){if(!w.constructor||!w.constructor.name)return o;return w.constructor.name}return v.checkPropTypes=pL,v.resetWarningCache=pL.resetWarningCache,v.PropTypes=v,v}});var SL=$2((Tv1,kL)=>{var Ke=K4(be(),1);ze=!0,kL.exports=sL()(Ke.isElement,ze);var ze});var iC=$2((uf)=>{uf.__esModule=!0;uf.default=function(a,l){if(a&&l){var c=Array.isArray(l)?l:l.split(",");if(c.length===0)return!0;var h=a.name||"",Z=(a.type||"").toLowerCase(),o=Z.replace(/\/.*$/,"");return c.some(function(v){var r=v.trim().toLowerCase();if(r.charAt(0)===".")return h.toLowerCase().endsWith(r);else if(r.endsWith("/*"))return o===r.replace(/\/.*$/,"");return Z===r})}return!0}});C();function Dt(a){return{render:function(l){f8(l,a)},unmount:function(){T8(a)}}}var iv=typeof window==="undefined"?global:window;function st(a,l){if(!iv[Symbol.for("@griffel/"+a)])iv[Symbol.for("@griffel/"+a)]=l;return iv[Symbol.for("@griffel/"+a)]}var N7=/*@__PURE__*/st("DEBUG_RESET_CLASSES",{}),_7=/*@__PURE__*/st("DEFINITION_LOOKUP_TABLE",{}),$3="data-make-styles-bucket",nv="data-priority",O8="f",kt="r",b8=7,Q5="___",uv="_",Jc=Q5.length+b8+uv.length+b8,St=0,Lv=1,ft={all:1,borderColor:1,borderStyle:1,borderWidth:1,borderBlock:1,borderBlockEnd:1,borderBlockStart:1,borderInline:1,borderInlineEnd:1,borderInlineStart:1},Y4="DO_NOT_USE_DIRECTLY: @griffel/reset-value";function X2(a){var l=0,c,h=0,Z=a.length;for(;Z>=4;++h,Z-=4)c=a.charCodeAt(h)&255|(a.charCodeAt(++h)&255)<<8|(a.charCodeAt(++h)&255)<<16|(a.charCodeAt(++h)&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(Z){case 3:l^=(a.charCodeAt(h+2)&255)<<16;case 2:l^=(a.charCodeAt(h+1)&255)<<8;case 1:l^=a.charCodeAt(h)&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 Bt(a){let l=a.length;if(l===b8)return a;for(let c=l;c<b8;c++)a+="0";return a}function $c(a,l,c=[]){return Q5+Bt(X2(a+l))+uv+Bt(X2(c.join("")))}function dv(a,l){let c="",h="";for(let Z in a){let o=a[Z];if(o===0){h+=Z+" ";continue}let v=Array.isArray(o),r=l==="rtl"?(v?o[1]:o)+" ":(v?o[0]:o)+" ";c+=r,h+=r}return[c.slice(0,-1),h.slice(0,-1)]}function X4(a,l){let c={};for(let h in a){let[Z,o]=dv(a[h],l);if(o===""){c[h]="";continue}let v=$c(o,l),r=v+(Z===""?"":" "+Z);_7[v]=[a[h],l],c[h]=r}return c}var U8={};function k(){let a=null,l="",c="",h=new Array(arguments.length),Z="";for(let H=0;H<arguments.length;H++){let A=arguments[H];if(typeof A==="string"&&A!==""){let V=A.indexOf(Q5);if(V===-1)A.split(" ").forEach((i)=>{if(i.startsWith(kt)&&N7[i])if(Z)console.error(`mergeClasses(): a passed string contains multiple classes produced by makeResetStyles (${A} & ${l}, this will lead to non-deterministic behavior. Learn more:https://griffel.js.org/react/api/make-reset-styles#limitations
|
|
3
|
+
Source string: ${A}`);else Z=i}),l+=A+" ";else{let i=A.substr(V,Jc);if(V>0)l+=A.slice(0,V);c+=i,h[H]=i}if(A.indexOf(Q5,V+1)!==-1)console.error(`mergeClasses(): a passed string contains multiple identifiers of atomic classes (classes that start with "${Q5}"), it's possible that passed classes were concatenated in a wrong way. Source string: ${A}`)}}if(c==="")return l.slice(0,-1);let o=U8[c];if(o!==void 0)return l+o;let v=[];for(let H=0;H<arguments.length;H++){let A=h[H];if(A){let V=_7[A];if(V){if(v.push(V[St]),a!==null&&a!==V[Lv])console.error(`mergeClasses(): a passed string contains an identifier (${A}) that has different direction (dir="${V[1]?"rtl":"ltr"}") setting than other classes. This is not supported. Source string: ${arguments[H]}`);a=V[Lv]}else console.error(`mergeClasses(): a passed string contains an identifier (${A}) that does not match any entry in cache. Source string: ${arguments[H]}`)}}let r=Object.assign.apply(Object,[{}].concat(v)),[e,M]=dv(r,a),t=$c(M,a,h),m=t+" "+e;return U8[c]=m,_7[t]=[r,a],l+m}var Tt={},Wt=/*@__PURE__*/new Set,Y5={getChildrenSequences:(a)=>{let l=Object.keys(U8).find((c)=>U8[c].startsWith(a));if(l)return l.split(Q5).filter((c)=>c.length).map((c)=>Q5+c);return[]},addCSSRule:(a)=>{Wt.add(a)},addSequenceDetails:(a,l)=>{Object.entries(a).forEach(([c,h])=>{Tt[h.substring(0,Jc)]={slotName:c,sourceURL:l}})},getCSSRules:()=>{return Array.from(Wt)},getSequenceDetails:(a)=>{return Tt[a]}};function bt(a,l){return Array.isArray(a)?l==="rtl"?a[1]:a[0]:a||""}function Ot(a,l,c,h){let Z=a[0],o=a[1];return Object.entries(Z).map(([v,r])=>{let e=bt(r,o),M;if(c&&l){let t=c.find(({className:m})=>m===e);if(!t&&l[0][v])M=bt(l[0][v],l[1]);else if(t&&l[0][v])M=(h?h.filter(({debugClassNames:H})=>H.filter(({className:A})=>A===e).length>0).length>0:!1)?t.className:t.overriddenBy;else if(!t&&!l[0][v])M=void 0;else if(t&&!l[0][v])M=void 0}return{className:e,overriddenBy:M}})}function gv(a,l){let c=_7[a];if(c===void 0)return;let h=l?_7[l.sequenceHash]:void 0,Z=Ot(c,h,l===null||l===void 0?void 0:l.debugClassNames,l===null||l===void 0?void 0:l.children),o={sequenceHash:a,direction:c[1],children:[],debugClassNames:Z};if(Y5.getChildrenSequences(o.sequenceHash).reverse().forEach((r)=>{let e=gv(r,o);if(e)o.children.push(e)}),!o.children.length)o.rules={},o.debugClassNames.forEach(({className:r})=>{let e=Y5.getSequenceDetails(a);if(e)o.slot=e.slotName,o.sourceURL=e.sourceURL;let M=Y5.getCSSRules().find((t)=>{return t.includes(r)});o.rules[r]=M});return o}function Ut(a){if(N7[a]===void 0)return;let h={sequenceHash:a,direction:"ltr",children:[],debugClassNames:[{className:a}]};h.rules={},h.slot="makeResetStyles()";let[{className:Z}]=h.debugClassNames,o=Y5.getCSSRules().filter((v)=>{return v.includes(`.${Z}`)});return h.rules[Z]=o.join(""),h}function Pt(a,l){let c=a?gv(a):void 0,h=l?Ut(l):void 0;if(!c&&!h)return;if(!c)return h;if(!h)return c;return{sequenceHash:c.sequenceHash+h.sequenceHash,direction:c.direction,children:[c,h],debugClassNames:[...c.debugClassNames,...h.debugClassNames]}}function It(a){let l=a.defaultView;if(!l||l.__GRIFFEL_DEVTOOLS__)return;let c={getInfo:(h)=>{let Z,o;for(let v of h.classList){if(v.startsWith(Q5))Z=v;if(N7[v])o=v}return Pt(Z,o)}};Object.defineProperty(l,"__GRIFFEL_DEVTOOLS__",{configurable:!1,enumerable:!1,get(){return c}})}var C7=/*@__PURE__*/(()=>{var a;try{return Boolean(typeof window!=="undefined"&&((a=window.sessionStorage)===null||a===void 0?void 0:a.getItem("__GRIFFEL_DEVTOOLS__")))}catch(l){return!1}})();function qt(a){if(!Array.isArray(a))return[a];if(a.length>2)throw new Error("CSS Bucket contains an entry with greater than 2 items, please report this to https://github.com/microsoft/griffel/issues");return a}function Gt(a,l,c,h){let Z=[];if(h[$3]=l,h[nv]=String(c),a)for(let v in h)a.setAttribute(v,h[v]);function o(v){if(a===null||a===void 0?void 0:a.sheet)return a.sheet.insertRule(v,a.sheet.cssRules.length);return Z.push(v)}return{elementAttributes:h,insertRule:o,element:a,bucketName:l,cssRules(){if(a===null||a===void 0?void 0:a.sheet)return Array.from(a.sheet.cssRules).map((v)=>v.cssText);return Z}}}var PF=["r","d","l","v","w","f","i","h","a","s","k","t","m","c"],zt=/*@__PURE__*/PF.reduce((a,l,c)=>{return a[l]=c,a},{});function IF(a,l,c){return(a==="m"?a+l:a)+c}function Kt(a,l,c,h,Z={}){var o,v;let r=a==="m",e=(o=Z.m)!==null&&o!==void 0?o:"0",M=(v=Z.p)!==null&&v!==void 0?v:0,t=IF(a,e,M);if(!h.stylesheets[t]){let m=l&&l.createElement("style"),H=Gt(m,a,M,Object.assign({},h.styleElementAttributes,r&&{media:e}));if(h.stylesheets[t]=H,(l===null||l===void 0?void 0:l.head)&&m)l.head.insertBefore(m,GF(l,c,a,h,Z))}return h.stylesheets[t]}function qF(a,l,c){var h,Z;let o=l+((h=c.m)!==null&&h!==void 0?h:""),v=a.getAttribute($3)+((Z=a.media)!==null&&Z!==void 0?Z:"");return o===v}function GF(a,l,c,h,Z={}){var o,v;let r=zt[c],e=(o=Z.m)!==null&&o!==void 0?o:"",M=(v=Z.p)!==null&&v!==void 0?v:0,t=(i)=>r-zt[i.getAttribute($3)],m=a.head.querySelectorAll(`[${$3}]`);if(c==="m"){let i=a.head.querySelectorAll(`[${$3}="${c}"]`);if(i.length)m=i,t=(u)=>h.compareMediaQueries(e,u.media)}let H=(i)=>{if(qF(i,c,Z))return M-Number(i.getAttribute("data-priority"));return t(i)},A=m.length,V=A-1;while(V>=0){let i=m.item(V);if(H(i)>0)return i.nextSibling;V--}if(A>0)return m.item(0);return l?l.nextSibling:null}var zF=/*@__PURE__*/["-moz-placeholder","-moz-focus-inner","-moz-focusring","-ms-input-placeholder","-moz-read-write","-moz-read-only"].join("|"),KF=/*@__PURE__*/new RegExp(`:(${zF})`);function Cv(a,l){try{a.insertRule(l)}catch(c){if(!KF.test(l))console.error(`There was a problem inserting the following rule: "${l}"`,c)}}var JF=0,Jt=(a,l)=>a<l?-1:a>l?1:0;function P8(a=typeof document==="undefined"?void 0:document,l={}){let{classNameHashSalt:c,unstable_filterCSSRule:h,insertionPoint:Z,styleElementAttributes:o,compareMediaQueries:v=Jt}=l,r={classNameHashSalt:c,insertionCache:{},stylesheets:{},styleElementAttributes:Object.freeze(o),compareMediaQueries:v,id:`d${JF++}`,insertCSSRules(e){for(let M in e){let t=e[M];for(let m=0,H=t.length;m<H;m++){let[A,V]=qt(t[m]),i=Kt(M,a,Z||null,r,V);if(r.insertionCache[A])continue;if(r.insertionCache[A]=M,C7)Y5.addCSSRule(A);if(h){if(h(A))Cv(i,A)}else Cv(i,A)}}}};if(a&&!0&&C7)It(a);return r}function $t(a){return YF(a)||jF(a)||_F(a)}var $F=/^\s*at (.*?) ?\(((?:file|https?|blob|chrome-extension|native|eval|webpack|<anonymous>|\/|[a-z]:\\|\\\\).*?)?\)?\s*$/i,EF=/^\s*at ()((?:file|https?|blob|chrome-extension|native|eval|webpack|<anonymous>|\/|[a-z]:\\|\\\\).*?)\s*$/i,QF=/\((\S*)\)/;function YF(a){let l=$F.exec(a)||EF.exec(a);if(!l)return null;let c=l[2],h=c&&c.indexOf("native")===0,Z=c&&c.indexOf("eval")===0,o=QF.exec(c);if(Z&&o!=null)c=o[1];return{loc:!h?l[2]:null,name:l[1]||"<unknown>"}}var XF=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)((?:file|https?|blob|chrome|webpack|resource|\[native).*?|[^@]*bundle)\s*$/i,yF=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i;function jF(a){let l=XF.exec(a);if(!l)return null;let c=l[3],h=c&&c.indexOf(" > eval")>-1,Z=yF.exec(c);if(h&&Z!=null)c=Z[1];return{loc:l[3],name:l[1]||"<unknown>"}}var NF=/^\s*(?:([^@]*)(?:\((.*?)\))?@)?(\S.*?)\s*$/i;function _F(a){let l=NF.exec(a);if(!l)return null;return{loc:l[3],name:l[1]||"<unknown>"}}function Ec(){let a=String(new Error().stack).split(`
|
|
4
|
+
`),l=aR(a);if(l===void 0)return;let c=$t(l);return c===null||c===void 0?void 0:c.loc}function aR(a){for(let l=a.length-1;l>=0;--l)if(a[l].includes("at getSourceURLfromError"))return a[l+3];return}var y4=()=>{let a={};return function l(c,h){if(a[c.id]===void 0)c.insertCSSRules(h),a[c.id]=!0}};function xv(a){return a.reduce(function(l,c){var h=c[0],Z=c[1];return l[h]=Z,l[Z]=h,l},{})}function Et(a){return typeof a==="boolean"}function Qt(a){return typeof a==="function"}function j4(a){return typeof a==="number"}function Yt(a){return a===null||typeof a==="undefined"}function Xt(a){return a&&typeof a==="object"}function yt(a){return typeof a==="string"}function I8(a,l){return a.indexOf(l)!==-1}function jt(a){if(parseFloat(a)===0)return a;if(a[0]==="-")return a.slice(1);return"-"+a}function N4(a,l,c,h){return l+jt(c)+h}function Nt(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 pv(a){return a.replace(/ +/g," ").split(" ").map(function(l){return l.trim()}).filter(Boolean).reduce(function(l,c){var{list:h,state:Z}=l,o=(c.match(/\(/g)||[]).length,v=(c.match(/\)/g)||[]).length;if(Z.parensDepth>0)h[h.length-1]=h[h.length-1]+" "+c;else h.push(c);return Z.parensDepth+=o-v,{list:h,state:Z}},{list:[],state:{parensDepth:0}}).list}function Fv(a){var l=pv(a);if(l.length<=3||l.length>4)return a;var c=l[0],h=l[1],Z=l[2],o=l[3];return[c,o,Z,h].join(" ")}function _t(a){return!Et(a)&&!Yt(a)}function aH(a){var l=[],c=0,h=0,Z=!1;while(h<a.length)if(!Z&&a[h]===",")l.push(a.substring(c,h).trim()),h++,c=h;else if(a[h]==="(")Z=!0,h++;else if(a[h]===")")Z=!1,h++;else h++;if(c!=h)l.push(a.substring(c,h+1));return l}var W={padding:function a(l){var c=l.value;if(j4(c))return c;return Fv(c)},textShadow:function a(l){var c=l.value,h=aH(c).map(function(Z){return Z.replace(/(^|\s)(-*)([.|\d]+)/,function(o,v,r,e){if(e==="0")return o;var M=r===""?"-":"";return""+v+M+e})});return h.join(",")},borderColor:function a(l){var c=l.value;return Fv(c)},borderRadius:function a(l){var c=l.value;if(j4(c))return c;if(I8(c,"/")){var h=c.split("/"),Z=h[0],o=h[1],v=W.borderRadius({value:Z.trim()}),r=W.borderRadius({value:o.trim()});return v+" / "+r}var e=pv(c);switch(e.length){case 2:return e.reverse().join(" ");case 4:{var M=e[0],t=e[1],m=e[2],H=e[3];return[t,M,H,m].join(" ")}default:return c}},background:function a(l){var{value:c,valuesToConvert:h,isRtl:Z,bgImgDirectionRegex:o,bgPosDirectionRegex:v}=l;if(j4(c))return c;var r=c.replace(/(url\(.*?\))|(rgba?\(.*?\))|(hsl\(.*?\))|(#[a-fA-F0-9]+)|((^| )(\D)+( |$))/g,"").trim();return c=c.replace(r,W.backgroundPosition({value:r,valuesToConvert:h,isRtl:Z,bgPosDirectionRegex:v})),W.backgroundImage({value:c,valuesToConvert:h,bgImgDirectionRegex:o})},backgroundImage:function a(l){var{value:c,valuesToConvert:h,bgImgDirectionRegex:Z}=l;if(!I8(c,"url(")&&!I8(c,"linear-gradient("))return c;return c.replace(Z,function(o,v,r){return o.replace(r,h[r])})},backgroundPosition:function a(l){var{value:c,valuesToConvert:h,isRtl:Z,bgPosDirectionRegex:o}=l;return c.replace(Z?/^((-|\d|\.)+%)/:null,function(v,r){return Nt(r)}).replace(o,function(v){return h[v]})},backgroundPositionX:function a(l){var{value:c,valuesToConvert:h,isRtl:Z,bgPosDirectionRegex:o}=l;if(j4(c))return c;return W.backgroundPosition({value:c,valuesToConvert:h,isRtl:Z,bgPosDirectionRegex:o})},transition:function a(l){var{value:c,propertiesToConvert:h}=l;return c.split(/,\s*/g).map(function(Z){var o=Z.split(" ");return o[0]=h[o[0]]||o[0],o.join(" ")}).join(", ")},transitionProperty:function a(l){var{value:c,propertiesToConvert:h}=l;return c.split(/,\s*/g).map(function(Z){return h[Z]||Z}).join(", ")},transform:function a(l){var c=l.value,h="[^\\u0020-\\u007e]",Z="(?:(?:(?:\\[0-9a-f]{1,6})(?:\\r\\n|\\s)?)|\\\\[^\\r\\n\\f0-9a-f])",o="((?:-?"+("(?:[0-9]*\\.[0-9]+|[0-9]+)(?:\\s*(?:em|ex|px|cm|mm|in|pt|pc|deg|rad|grad|ms|s|hz|khz|%)|"+("-?"+("(?:[_a-z]|"+h+"|"+Z+")")+("(?:[_a-z0-9-]|"+h+"|"+Z+")")+"*")+")?")+")|(?:inherit|auto))",v=new RegExp("(translateX\\s*\\(\\s*)"+o+"(\\s*\\))","gi"),r=new RegExp("(translate\\s*\\(\\s*)"+o+"((?:\\s*,\\s*"+o+"){0,1}\\s*\\))","gi"),e=new RegExp("(translate3d\\s*\\(\\s*)"+o+"((?:\\s*,\\s*"+o+"){0,2}\\s*\\))","gi"),M=new RegExp("(rotate[ZY]?\\s*\\(\\s*)"+o+"(\\s*\\))","gi");return c.replace(v,N4).replace(r,N4).replace(e,N4).replace(M,N4)}};W.objectPosition=W.backgroundPosition;W.margin=W.padding;W.borderWidth=W.padding;W.boxShadow=W.textShadow;W.webkitBoxShadow=W.boxShadow;W.mozBoxShadow=W.boxShadow;W.WebkitBoxShadow=W.boxShadow;W.MozBoxShadow=W.boxShadow;W.borderStyle=W.borderColor;W.webkitTransform=W.transform;W.mozTransform=W.transform;W.WebkitTransform=W.transform;W.MozTransform=W.transform;W.transformOrigin=W.backgroundPosition;W.webkitTransformOrigin=W.transformOrigin;W.mozTransformOrigin=W.transformOrigin;W.WebkitTransformOrigin=W.transformOrigin;W.MozTransformOrigin=W.transformOrigin;W.webkitTransition=W.transition;W.mozTransition=W.transition;W.WebkitTransition=W.transition;W.MozTransition=W.transition;W.webkitTransitionProperty=W.transitionProperty;W.mozTransitionProperty=W.transitionProperty;W.WebkitTransitionProperty=W.transitionProperty;W.MozTransitionProperty=W.transitionProperty;W["text-shadow"]=W.textShadow;W["border-color"]=W.borderColor;W["border-radius"]=W.borderRadius;W["background-image"]=W.backgroundImage;W["background-position"]=W.backgroundPosition;W["background-position-x"]=W.backgroundPositionX;W["object-position"]=W.objectPosition;W["border-width"]=W.padding;W["box-shadow"]=W.textShadow;W["-webkit-box-shadow"]=W.textShadow;W["-moz-box-shadow"]=W.textShadow;W["border-style"]=W.borderColor;W["-webkit-transform"]=W.transform;W["-moz-transform"]=W.transform;W["transform-origin"]=W.transformOrigin;W["-webkit-transform-origin"]=W.transformOrigin;W["-moz-transform-origin"]=W.transformOrigin;W["-webkit-transition"]=W.transition;W["-moz-transition"]=W.transition;W["transition-property"]=W.transitionProperty;W["-webkit-transition-property"]=W.transitionProperty;W["-moz-transition-property"]=W.transitionProperty;var wv=xv([["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"]]),lH=["content"],Rv=xv([["ltr","rtl"],["left","right"],["w-resize","e-resize"],["sw-resize","se-resize"],["nw-resize","ne-resize"]]),lR=new RegExp("(^|\\W|_)((ltr)|(rtl)|(left)|(right))(\\W|_|$)","g"),cR=new RegExp("(left)|(right)");function Qc(a){return Object.keys(a).reduce(function(l,c){var h=a[c];if(yt(h))h=h.trim();if(I8(lH,c))return l[c]=h,l;var Z=q8(c,h),o=Z.key,v=Z.value;return l[o]=v,l},Array.isArray(a)?[]:{})}function q8(a,l){var c=/\/\*\s?@noflip\s?\*\//.test(l),h=c?a:cH(a),Z=c?l:hH(h,l);return{key:h,value:Z}}function cH(a){return wv[a]||a}function hH(a,l){if(!_t(l))return l;if(Xt(l))return Qc(l);var c=j4(l),h=Qt(l),Z=c||h?l:l.replace(/ !important.*?$/,""),o=!c&&Z.length!==l.length,v=W[a],r;if(v)r=v({value:Z,valuesToConvert:Rv,propertiesToConvert:wv,isRtl:!0,bgImgDirectionRegex:lR,bgPosDirectionRegex:cR});else r=Rv[Z]||Z;if(o)return r+" !important";return r}var hR=/[A-Z]/g,ZR=/^ms-/,Dv={};function oR(a){return"-"+a.toLowerCase()}function a3(a){if(Object.prototype.hasOwnProperty.call(Dv,a))return Dv[a];if(a.substr(0,2)==="--")return a;let l=a.replace(hR,oR);return Dv[a]=ZR.test(l)?"-"+l:l}function Yc(a){if(a.charAt(0)==="&")return a.slice(1);return a}var _4="-moz-",X5="-webkit-",Xc="comm",l3="rule",a6="decl";var ZH="@media",oH="@import";var vH="@supports";var rH="@namespace",eH="@keyframes";var yc="@layer";var sv=Math.abs,l6=String.fromCharCode,kv=Object.assign;function MH(a,l){return x0(a,0)^45?(((l<<2^x0(a,0))<<2^x0(a,1))<<2^x0(a,2))<<2^x0(a,3):0}function jc(a){return a.trim()}function Nc(a,l){return(a=l.exec(a))?a[0]:a}function E0(a,l,c){return a.replace(l,c)}function _c(a,l,c){return a.indexOf(l,c)}function x0(a,l){return a.charCodeAt(l)|0}function F7(a,l,c){return a.slice(l,c)}function r5(a){return a.length}function ah(a){return a.length}function R7(a,l){return l.push(a),a}function Sv(a,l){return a.map(l).join("")}var lh=1,c6=1,mH=0,O5=0,e0=0,h6="";function G8(a,l,c,h,Z,o,v,r){return{value:a,root:l,parent:c,type:h,props:Z,children:o,line:lh,column:c6,length:v,return:"",siblings:r}}function ch(a,l){return kv(G8("",null,null,"",null,null,0,a.siblings),a,{length:-a.length},l)}function tH(){return e0}function HH(){if(e0=O5>0?x0(h6,--O5):0,c6--,e0===10)c6=1,lh--;return e0}function U5(){if(e0=O5<mH?x0(h6,O5++):0,c6++,e0===10)c6=1,lh++;return e0}function x7(){return x0(h6,O5)}function z8(){return O5}function hh(a,l){return F7(h6,a,l)}function E3(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 Bv(a){return lh=c6=1,mH=r5(h6=a),O5=0,[]}function Tv(a){return h6="",a}function K8(a){return jc(hh(O5-1,fv(a===91?a+2:a===40?a+1:a)))}function AH(a){return Tv(vR(Bv(a)))}function VH(a){while(e0=x7())if(e0<33)U5();else break;return E3(a)>2||E3(e0)>3?"":" "}function vR(a){while(U5())switch(E3(e0)){case 0:R7(Wv(O5-1),a);break;case 2:R7(K8(e0),a);break;default:R7(l6(e0),a)}return a}function iH(a,l){while(--l&&U5())if(e0<48||e0>102||e0>57&&e0<65||e0>70&&e0<97)break;return hh(a,z8()+(l<6&&x7()==32&&U5()==32))}function fv(a){while(U5())switch(e0){case a:return O5;case 34:case 39:if(a!==34&&a!==39)fv(e0);break;case 40:if(a===41)fv(a);break;case 92:U5();break}return O5}function nH(a,l){while(U5())if(a+e0===57)break;else if(a+e0===84&&x7()===47)break;return"/*"+hh(l,O5-1)+"*"+l6(a===47?a:U5())}function Wv(a){while(!E3(x7()))U5();return hh(a,O5)}function oh(a){return Tv(Zh("",null,null,null,[""],a=Bv(a),0,[0],a))}function Zh(a,l,c,h,Z,o,v,r,e){var M=0,t=0,m=v,H=0,A=0,V=0,i=1,u=1,L=1,d=0,g="",R=Z,x=o,S=h,p=g;while(u)switch(V=d,d=U5()){case 40:if(V!=108&&x0(p,m-1)==58){if(_c(p+=E0(K8(d),"&","&\f"),"&\f",sv(M?r[M-1]:0))!=-1)L=-1;break}case 34:case 39:case 91:p+=K8(d);break;case 9:case 10:case 13:case 32:p+=VH(V);break;case 92:p+=iH(z8()-1,7);continue;case 47:switch(x7()){case 42:case 47:if(R7(rR(nH(U5(),z8()),l,c,e),e),(E3(V||1)==5||E3(x7()||1)==5)&&r5(p)&&F7(p,-1,void 0)!==" ")p+=" ";break;default:p+="/"}break;case 123*i:r[M++]=r5(p)*L;case 125*i:case 59:case 0:switch(d){case 0:case 125:u=0;case 59+t:if(L==-1)p=E0(p,/\f/g,"");if(A>0&&(r5(p)-m||i===0&&V===47))R7(A>32?LH(p+";",h,c,m-1,e):LH(E0(p," ","")+";",h,c,m-2,e),e);break;case 59:p+=";";default:if(R7(S=uH(p,l,c,M,t,Z,r,g,R=[],x=[],m,o),o),d===123)if(t===0)Zh(p,l,S,S,R,o,m,r,x);else{switch(H){case 99:if(x0(p,3)===110)break;case 108:if(x0(p,2)===97)break;default:t=0;case 100:case 109:case 115:}if(t)Zh(a,S,S,h&&R7(uH(a,S,S,0,0,Z,r,g,Z,R=[],m,x),x),Z,x,m,r,h?R:x);else Zh(p,S,S,S,[""],x,0,r,x)}}M=t=A=0,i=L=1,g=p="",m=v;break;case 58:m=1+r5(p),A=V;default:if(i<1){if(d==123)--i;else if(d==125&&i++==0&&HH()==125)continue}switch(p+=l6(d),d*i){case 38:L=t>0?1:(p+="\f",-1);break;case 44:r[M++]=(r5(p)-1)*L,L=1;break;case 64:if(x7()===45)p+=K8(U5());H=x7(),t=m=r5(g=p+=Wv(z8())),d++;break;case 45:if(V===45&&r5(p)==2)i=0}}return o}function uH(a,l,c,h,Z,o,v,r,e,M,t,m){var H=Z-1,A=Z===0?o:[""],V=ah(A);for(var i=0,u=0,L=0;i<h;++i)for(var d=0,g=F7(a,H+1,H=sv(u=v[i])),R=a;d<V;++d)if(R=jc(u>0?A[d]+" "+g:E0(g,/&\f/g,A[d])))e[L++]=R;return G8(a,l,c,Z===0?l3:r,e,M,t,m)}function rR(a,l,c,h){return G8(a,l,c,Xc,l6(tH()),F7(a,2,-2),0,h)}function LH(a,l,c,h,Z){return G8(a,l,c,a6,F7(a,0,h),F7(a,h+1,-1),h,Z)}function p7(a,l){var c="";for(var h=0;h<a.length;h++)c+=l(a[h],h,a,l)||"";return c}function vh(a,l,c,h){switch(a.type){case yc:if(a.children.length)break;case oH:case rH:case a6:return a.return=a.return||a.value;case Xc:return"";case eH:return a.return=a.value+"{"+p7(a.children,h)+"}";case l3:if(!r5(a.value=a.props.join(",")))return""}return r5(c=p7(a.children,h))?a.return=a.value+"{"+c+"}":""}function rh(a){var l=ah(a);return function(c,h,Z,o){var v="";for(var r=0;r<l;r++)v+=a[r](c,h,Z,o)||"";return v}}function eh(a){return function(l){if(!l.root){if(l=l.return)a(l)}}}var dH=(a)=>{switch(a.type){case l3:if(typeof a.props==="string")throw new 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 AH(l).reduce((c,h,Z,o)=>{if(h==="")return c;if(h===":"&&o[Z+1]==="global"){let v=o[Z+2].slice(1,-1)+" ";return c.unshift(v),o[Z+1]="",o[Z+2]="",c}return c.push(h),c},[]).join("")})}};function gH(a,l,c){switch(MH(a,l)){case 5103:return X5+"print-"+a+a;case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:return X5+a+a;case 4215:if(x0(a,9)===102)return X5+a+a;if(x0(a,l+1)===116)return X5+a+a;break;case 4789:return _4+a+a;case 5349:case 4246:case 6968:return X5+a+_4+a+a;case 6187:if(!Nc(a,/grab/))return E0(E0(E0(a,/(zoom-|grab)/,X5+"$1"),/(image-set)/,X5+"$1"),a,"")+a;case 5495:case 3959:return E0(a,/(image-set\([^]*)/,X5+"$1$`$1");case 4095:case 3583:case 4068:case 2532:return E0(a,/(.+)-inline(.+)/,X5+"$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(r5(a)-1-l>6)switch(x0(a,l+1)){case 102:if(x0(a,l+3)===108)return E0(a,/(.+:)(.+)-([^]+)/,"$1"+X5+"$2-$3$1"+_4+(x0(a,l+3)==108?"$3":"$2-$3"))+a;case 115:return~_c(a,"stretch")?gH(E0(a,"stretch","fill-available"),l)+a:a}break}return a}function Mh(a,l,c,h){if(a.length>-1){if(!a.return)switch(a.type){case a6:a.return=gH(a.value,a.length);return;case l3:if(a.length)return Sv(a.props,function(Z){switch(Nc(Z,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return p7([ch(a,{props:[E0(Z,/:(read-\w+)/,":"+_4+"$1")]})],h);case"::placeholder":return p7([ch(a,{props:[E0(Z,/:(plac\w+)/,":"+X5+"input-$1")]}),ch(a,{props:[E0(Z,/:(plac\w+)/,":"+_4+"$1")]})],h)}return""})}}return}function CH(a){switch(a.type){case"@container":case ZH:case vH:case yc:return!0}return!1}var FH=(a)=>{if(CH(a)&&Array.isArray(a.children))a.children.sort((l,c)=>l.props[0]>c.props[0]?1:-1)};function eR(){}function RH(a,l){let c=[];return p7(oh(a),rh([dH,l?FH:eR,Mh,vh,eh((h)=>c.push(h))])),c}var MR=/,( *[^ &])/g;function mR(a){return"&"+Yc(a.replace(MR,",&$1"))}function xH(a,l,c){let h=l;if(c.length>0)h=c.reduceRight((Z,o)=>{return`${mR(o)} { ${Z} }`},l);return`${a}{${h}}`}function bv(a,l){let{className:c,selectors:h,property:Z,rtlClassName:o,rtlProperty:v,rtlValue:r,value:e}=a,{container:M,layer:t,media:m,supports:H}=l,A=`.${c}`,V=Array.isArray(e)?`${e.map((u)=>`${a3(Z)}: ${u}`).join(";")};`:`${a3(Z)}: ${e};`,i=xH(A,V,h);if(v&&o){let u=`.${o}`,L=Array.isArray(r)?`${r.map((d)=>`${a3(v)}: ${d}`).join(";")};`:`${a3(v)}: ${r};`;i+=xH(u,L,h)}if(m)i=`@media ${m} { ${i} }`;if(t)i=`@layer ${t} { ${i} }`;if(H)i=`@supports ${H} { ${i} }`;if(M)i=`@container ${M} { ${i} }`;return RH(i,!0)}function pH(a){let l="";for(let c in a){let h=a[c];if(typeof h==="string"||typeof h==="number"){l+=a3(c)+":"+h+";";continue}if(Array.isArray(h))for(let Z of h)l+=a3(c)+":"+Z+";"}return l}function Ov(a){let l="";for(let c in a)l+=`${c}{${pH(a[c])}}`;return l}function Uv(a,l){let c=`@keyframes ${a} {${l}}`,h=[];return p7(oh(c),rh([vh,Mh,eh((Z)=>h.push(Z))])),h}var wH={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 Pv(a,l){if(a.length===0)return l;return`${a} and ${l}`}function DH(a){return a.substr(0,6)==="@media"}function sH(a){return a.substr(0,6)==="@layer"}var tR=/^(:|\[|>|&)/;function kH(a){return tR.test(a)}function SH(a){return a.substr(0,9)==="@supports"}function fH(a){return a.substring(0,10)==="@container"}function BH(a){return a!=null&&typeof a==="object"&&Array.isArray(a)===!1}var TH={"us-w":"w","us-v":"i",nk:"l",si:"v",cu:"f",ve:"h",ti:"a"};function Iv(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 TH[c.slice(4,8)]||TH[c.slice(3,5)]||"d"}return"d"}function mh(a,l){return a?l+a:a}function qv(a){return mh(a.container,"c")+mh(a.media,"m")+mh(a.layer,"l")+mh(a.supports,"s")}function th(a,l,c){let h=a+qv(c)+l,Z=X2(h),o=Z.charCodeAt(0);if(o>=48&&o<=57)return String.fromCharCode(o+17)+Z.slice(1);return Z}function J8({property:a,selector:l,salt:c,value:h},Z){return O8+X2(c+l+qv(Z)+a+h.trim())}function WH(a){return a===Y4}function Hh(a){return a.replace(/>\s+/g,">")}function Ah(...a){if(typeof document!=="undefined")console.error(...a)}function bH(a,l){Ah(/*@__PURE__*/(()=>{let h=JSON.stringify(l,null,2),Z=["@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}": ${h.split(`
|
|
5
|
+
`).map((o,v)=>" ".repeat(v===0?0:6)+o).join(`
|
|
6
|
+
`)}`," ".repeat(4)+"}"," ".repeat(2)+"})",""];if(a.indexOf("&")===-1)Z.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."),Z.push(`Try to update a property to include it i.e "${a}" => "&${a}".`);else Z.push(""),Z.push("If it's not obvious what triggers a problem, please report an issue at https://github.com/microsoft/griffel/issues");return Z.join(`
|
|
7
|
+
`)})())}function OH(a,l){Ah(/*@__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 UH(a){return wH[a]}function PH(a){var l;return(l=a===null||a===void 0?void 0:a[0])!==null&&l!==void 0?l:0}function Gv(a,l,c,h){a[l]=h?[c,h]:c}function IH(a,l){if(l.length>0)return[a,Object.fromEntries(l)];return a}function zv(a,l,c,h,Z,o){var v;let r=[];if(o!==0)r.push(["p",o]);if(l==="m"&&Z)r.push(["m",Z]);if((v=a[l])!==null&&v!==void 0||(a[l]=[]),c)a[l].push(IH(c,r));if(h)a[l].push(IH(h,r))}function y2(a,l="",c=[],h={container:"",layer:"",media:"",supports:""},Z={},o={},v){for(let r in a){if(ft.hasOwnProperty(r)){OH(r,a[r]);continue}let e=a[r];if(e==null)continue;if(WH(e)){let M=Hh(c.join("")),t=th(M,r,h);Gv(Z,t,0,void 0);continue}if(typeof e==="string"||typeof e==="number"){let M=Hh(c.join("")),t=UH(r);if(t){let R=t[1],x=Object.fromEntries(R.map((S)=>[S,Y4]));y2(x,l,c,h,Z,o)}let m=th(M,r,h),H=J8({value:e.toString(),salt:l,selector:M,property:r},h),A=v&&{key:r,value:v}||q8(r,e),V=A.key!==r||A.value!==e,i=V?J8({value:A.value.toString(),property:A.key,salt:l,selector:M},h):void 0,u=V?{rtlClassName:i,rtlProperty:A.key,rtlValue:A.value}:void 0,L=Iv(c,h),[d,g]=bv(Object.assign({className:H,selectors:c,property:r,value:e},u),h);Gv(Z,m,H,i),zv(o,L,d,g,h.media,PH(t))}else if(r==="animationName"){let M=Array.isArray(e)?e:[e],t=[],m=[];for(let H of M){let A=Ov(H),V=Ov(Qc(H)),i=O8+X2(A),u,L=Uv(i,A),d=[];if(A===V)u=i;else u=O8+X2(V),d=Uv(u,V);for(let g=0;g<L.length;g++)zv(o,"k",L[g],d[g],h.media,0);t.push(i),m.push(u)}y2({animationName:t.join(", ")},l,c,h,Z,o,m.join(", "))}else if(Array.isArray(e)){if(e.length===0){console.warn(`makeStyles(): An empty array was passed as input to "${r}", the property will be omitted in the styles.`);continue}let M=Hh(c.join("")),t=UH(r);if(t){let x=t[1],S=Object.fromEntries(x.map((p)=>[p,Y4]));y2(S,l,c,h,Z,o)}let m=th(M,r,h),H=J8({value:e.map((x)=>(x!==null&&x!==void 0?x:"").toString()).join(";"),salt:l,selector:M,property:r},h),A=e.map((x)=>q8(r,x));if(!!A.some((x)=>x.key!==A[0].key)){console.error("makeStyles(): mixing CSS fallback values which result in multiple CSS properties in RTL is not supported.");continue}let i=A[0].key!==r||A.some((x,S)=>x.value!==e[S]),u=i?J8({value:A.map((x)=>{var S;return((S=x===null||x===void 0?void 0:x.value)!==null&&S!==void 0?S:"").toString()}).join(";"),salt:l,property:A[0].key,selector:M},h):void 0,L=i?{rtlClassName:u,rtlProperty:A[0].key,rtlValue:A.map((x)=>x.value)}:void 0,d=Iv(c,h),[g,R]=bv(Object.assign({className:H,selectors:c,property:r,value:e},L),h);Gv(Z,m,H,u),zv(o,d,g,R,h.media,PH(t))}else if(BH(e))if(kH(r))y2(e,l,c.concat(Yc(r)),h,Z,o);else if(DH(r)){let M=Pv(h.media,r.slice(6).trim());y2(e,l,c,Object.assign({},h,{media:M}),Z,o)}else if(sH(r)){let M=(h.layer?`${h.layer}.`:"")+r.slice(6).trim();y2(e,l,c,Object.assign({},h,{layer:M}),Z,o)}else if(SH(r)){let M=Pv(h.supports,r.slice(9).trim());y2(e,l,c,Object.assign({},h,{supports:M}),Z,o)}else if(fH(r)){let M=r.slice(10).trim();y2(e,l,c,Object.assign({},h,{container:M}),Z,o)}else bH(r,e)}return[Z,o]}function qH(a,l=""){let c={},h={};for(let Z in a){let o=a[Z],[v,r]=y2(o,l);c[Z]=v,Object.keys(r).forEach((e)=>{h[e]=(h[e]||[]).concat(r[e])})}return[c,h]}function Kv(a,l=y4){let c=l(),h=null,Z=null,o=null,v=null,r;if(C7)r=Ec();let e;function M(t){let{dir:m,renderer:H}=t;if(h===null){if([h,Z]=qH(a,H.classNameHashSalt),H.classNameHashSalt){if(e!==H.classNameHashSalt)console.error(["@griffel/core:",`
|
|
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(" "));e=H.classNameHashSalt}}let A=m==="ltr";if(A){if(o===null)o=X4(h,m)}else if(v===null)v=X4(h,m);c(H,Z);let V=A?o:v;if(C7)Y5.addSequenceDetails(V,r);return V}return M}function $8(a,l,c=y4){let h=c(),Z=null,o=null,v;if(C7)v=Ec();function r(e){let{dir:M,renderer:t}=e,m=M==="ltr";if(m){if(Z===null)Z=X4(a,M)}else if(o===null)o=X4(a,M);h(t,l);let H=m?Z:o;if(C7)Y5.addSequenceDetails(H,v);return H}return r}function Jv(a,l,c,h=y4){let Z=h();function o(v){let{dir:r,renderer:e}=v,M=r==="ltr"?a:l||a;return Z(e,Array.isArray(c)?{r:c}:c),N7[M]=1,M}return o}function GH(){return typeof window!=="undefined"&&!!(window.document&&window.document.createElement)}C();var $v=E5?E5:void 0;var Z6=()=>{let a={};return function l(c,h){if($v&&GH()){$v(()=>{c.insertCSSRules(h)},[c,h]);return}if(a[c.id]===void 0)c.insertCSSRules(h),a[c.id]=!0}};C();var HR=/*@__PURE__*/e1(/*@__PURE__*/P8());function A2(){return h1(HR)}C();var zH=/*@__PURE__*/e1("ltr"),Ev=({children:a,dir:l})=>{return/*@__PURE__*/r1(zH.Provider,{value:l},a)};function o6(){return h1(zH)}C();function KH(){try{let a=B8.ReactCurrentDispatcher.current;if(a===null||a===void 0)return!1;return a.useContext({}),!0}catch(a){return!1}}function v6(a){let l=Kv(a,Z6);if(KH())throw new 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 c(){let h=o6(),Z=A2();return l({dir:h,renderer:Z})}}function B(a,l){let c=$8(a,l,Z6);return function h(){let Z=o6(),o=A2();return c({dir:Z,renderer:o})}}function Y(a,l,c){let h=Jv(a,l,c,Z6);return function Z(){let o=o6(),v=A2();return h({dir:o,renderer:v})}}function E8(a,l){if(l){let c=Object.keys(l).reduce((h,Z)=>{return`${h}--${Z}: ${l[Z]}; `},"");return`${a} { ${c} }`}return`${a} {}`}C();var f={};Wc(f,{resolveShorthand:()=>Qv,optional:()=>VR,always:()=>Vh});C();var w7=Symbol.for("fui.slotRenderFunction"),e5=Symbol.for("fui.slotElementType"),r6=Symbol.for("fui.slotClassNameProp");function Vh(a,l){let{defaultProps:c,elementType:h}=l,Z=Qv(a),o={...c,...Z,[e5]:h,[r6]:Z===null||Z===void 0?void 0:Z.className};if(Z&&typeof Z.children==="function")o[w7]=Z.children,o.children=c===null||c===void 0?void 0:c.children;return o}function VR(a,l){if(a===null||a===void 0&&!l.renderByDefault)return;return Vh(a,l)}function Qv(a){if(typeof a==="string"||typeof a==="number"||Array.isArray(a)||v5(a))return{children:a};if(a&&typeof a!=="object")console.error(`@fluentui/react-utilities [slot.${Qv.name}]:
|
|
11
|
+
A slot got an invalid value "${a}" (${typeof a}).
|
|
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}C();function ih(a){return a!==null&&typeof a==="object"&&!Array.isArray(a)&&!v5(a)}function Q3(a){return Boolean(a===null||a===void 0?void 0:a.hasOwnProperty(e5))}C();function G(a){{let l=a;for(let c of Object.keys(l.components)){let h=l[c];if(h===void 0)continue;if(!Q3(h))l[c]=Vh(h,{elementType:l.components[c]}),console.warn(`@fluentui/react-utilities [${G.name}]:
|
|
14
|
+
"state.${c}" is not a slot!
|
|
15
|
+
Be sure to create slots properly by using "slot.always" or "slot.optional".`);else{let{[e5]:Z}=h;if(Z!==l.components[c])h[e5]=l.components[c],console.warn(`@fluentui/react-utilities [${G.name}]:
|
|
16
|
+
"state.${c}" element type differs from "state.components.${c}",
|
|
17
|
+
${Z} !== ${l.components[c]}.
|
|
18
|
+
Be sure to create slots properly by using "slot.always" or "slot.optional" with the correct elementType.`)}}}}C();C();var a0=(...a)=>{let l={};for(let c of a){let h=Array.isArray(c)?c:Object.keys(c);for(let Z of h)l[Z]=1}return l},iR=a0(["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"]),nR=a0(["accessKey","children","className","contentEditable","dir","draggable","hidden","htmlFor","id","lang","ref","role","style","tabIndex","title","translate","spellCheck","name"]),uR=a0(["itemID","itemProp","itemRef","itemScope","itemType"]),d0=a0(nR,iR,uR),JH=a0(d0,["form"]),Yv=a0(d0,["height","loop","muted","preload","src","width"]),$H=a0(Yv,["poster"]),EH=a0(d0,["start"]),QH=a0(d0,["value"]),YH=a0(d0,["download","href","hrefLang","media","rel","target","type"]),XH=a0(d0,["dateTime"]),Q8=a0(d0,["autoFocus","disabled","form","formAction","formEncType","formMethod","formNoValidate","formTarget","type","value"]),yH=a0(Q8,["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"]),jH=a0(Q8,["autoCapitalize","cols","dirname","form","maxLength","placeholder","readOnly","required","rows","wrap"]),NH=a0(Q8,["form","multiple","required"]),_H=a0(d0,["selected","value"]),aA=a0(d0,["cellPadding","cellSpacing"]),lA=d0,cA=a0(d0,["colSpan","rowSpan","scope"]),hA=a0(d0,["colSpan","headers","rowSpan","scope"]),ZA=a0(d0,["span"]),oA=a0(d0,["span"]),vA=a0(d0,["disabled","form"]),rA=a0(d0,["acceptCharset","action","encType","encType","method","noValidate","target"]),eA=a0(d0,["allow","allowFullScreen","allowPaymentRequest","allowTransparency","csp","height","importance","referrerPolicy","sandbox","src","srcDoc","width"]),MA=a0(d0,["alt","crossOrigin","height","src","srcSet","useMap","width"]),mA=a0(d0,["open","onCancel","onClose"]);function tA(a,l,c){let h=Array.isArray(l),Z={},o=Object.keys(a);for(let v of o)if((!h&&l[v]||h&&l.indexOf(v)>=0||v.indexOf("data-")===0||v.indexOf("aria-")===0)&&(!c||(c===null||c===void 0?void 0:c.indexOf(v))===-1))Z[v]=a[v];return Z}var LR={label:JH,audio:Yv,video:$H,ol:EH,li:QH,a:YH,button:Q8,input:yH,textarea:jH,select:NH,option:_H,table:aA,tr:lA,th:cA,td:hA,colGroup:ZA,col:oA,fieldset:vA,form:rA,iframe:eA,img:MA,time:XH,dialog:mA};function Y8(a,l,c){let h=a&&LR[a]||d0;return h.as=1,tA(l,h,c)}var h3=({primarySlotTagName:a,props:l,excludedPropNames:c})=>{return{root:{style:l.style,className:l.className},primary:Y8(a,l,[...c||[],"style","className"])}};var _=(a,l,c)=>{var h;return Y8((h=l.as)!==null&&h!==void 0?h:a,l,c)};C();function nh(a,l){let c=q(void 0),h=j((o,v)=>{if(c.current!==void 0)l(c.current);return c.current=a(o,v),c.current},[l,a]),Z=j(()=>{if(c.current!==void 0)l(c.current),c.current=void 0},[l]);return M1(()=>Z,[Z]),[h,Z]}C();var e6=e1(void 0),X8=e6.Provider;C();var HA=e1(void 0),dR="",y8=HA.Provider;function j8(){var a;return(a=h1(HA))!==null&&a!==void 0?a:dR}C();var gR=e1(void 0);var N8=gR.Provider;C();var VA=e1(void 0),CR={targetDocument:typeof document==="object"?document:void 0,dir:"ltr"},_8=VA.Provider;function C1(){var a;return(a=h1(VA))!==null&&a!==void 0?a:CR}C();var Xv=e1(void 0),uh=Xv.Provider;function M6(){var a;return(a=h1(Xv))!==null&&a!==void 0?a:{}}C();var Y3=e1(void 0),FR=()=>{},aa=Y3.Provider,z=(a)=>{var l,c;return(c=(l=h1(Y3))===null||l===void 0?void 0:l[a])!==null&&c!==void 0?c:FR};C();var yv=e1(void 0),Lh=yv.Provider;function m6(){return h1(yv)}C();var iA=e1(void 0),RR=iA.Provider;function jv(){return h1(iA)}C();var nA=e1(void 0),Nv=nA.Provider;function la(){var a;return(a=h1(nA))!==null&&a!==void 0?a:{announce:()=>{return}}}var xR=(a)=>{return a(0),0},pR=(a)=>a;function dh(){let{targetDocument:a}=C1(),l=a===null||a===void 0?void 0:a.defaultView,c=l?l.requestAnimationFrame:xR,h=l?l.cancelAnimationFrame:pR;return nh(c,h)}C();function wR(a){return typeof a==="function"}var y5=(a)=>{if(a.state!==void 0&&a.defaultState!==void 0)console.error(`@fluentui/react-utilities [useControllableState]:
|
|
19
|
+
A component must be either controlled or uncontrolled (specify either the state or the defaultState, but not both).
|
|
20
|
+
Decide between using a controlled or uncontrolled component and remove one of this props.
|
|
21
|
+
More info: https://reactjs.org/link/controlled-components
|
|
22
|
+
${new Error().stack}`);let[l,c]=m1(()=>{if(a.defaultState===void 0)return a.initialState;return DR(a.defaultState)?a.defaultState():a.defaultState}),h=q(a.state);M1(()=>{h.current=a.state},[a.state]);let Z=j((o)=>{if(wR(o))o(h.current)},[]);return sR(a.state)?[a.state,Z]:[l,c]};function DR(a){return typeof a==="function"}var sR=(a)=>{let[l]=m1(()=>a!==void 0);return M1(()=>{if(l!==(a!==void 0)){let c=new Error;console.error(`@fluentui/react-utilities [useControllableState]:
|
|
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
|
+
Decide between using a controlled or uncontrolled input element for the lifetime of the component.
|
|
25
|
+
More info: https://reactjs.org/link/controlled-components
|
|
26
|
+
${c.stack}`)}},[l,a]),l};C();C();function Z3(){return typeof window!=="undefined"&&!!(window.document&&window.document.createElement)}C();var _v={current:0},uA=/*@__PURE__*/e1(void 0);function ar(){var a;return(a=h1(uA))!==null&&a!==void 0?a:_v}var $1=Z3()?H2:M1;var A1=(a)=>{let l=q(()=>{throw new Error("Cannot call an event handler while rendering")});return $1(()=>{l.current=a},[a]),j((...c)=>{let h=l.current;return h(...c)},[l])};C();function gh(){let a=q(!0);if(a.current)return a.current=!1,!0;return a.current}C();function t6(){return $5((a)=>a+1,0)[1]}C();var LA=e1(void 0),dA=LA.Provider;function fR(){return h1(LA)||""}function M0(a="fui-",l){let c=ar(),h=fR(),Z=z3;if(Z){let o=Z(),v=d1(()=>o.replace(/:/g,""),[o]);return l||`${h}${a}${v}`}return d1(()=>{if(l)return l;return`${h}${a}${++c.current}`},[h,a,l,c])}C();function E1(...a){let l=j((c)=>{l.current=c;for(let h of a)if(typeof h==="function")h(c);else if(h)h.current=c},[...a]);return l}C();var gA=(a,l)=>!!(a===null||a===void 0?void 0:a.contains(l)),Ch=(a)=>{let{targetDocument:l}=C1(),c=l===null||l===void 0?void 0:l.defaultView,{refs:h,callback:Z,element:o,disabled:v,disabledFocusOnIframe:r,contains:e=gA}=a,M=q(void 0);TR({element:o,disabled:r||v,callback:Z,refs:h,contains:e});let t=q(!1),m=A1((A)=>{if(t.current){t.current=!1;return}let V=A.composedPath()[0];if(h.every((u)=>!e(u.current||null,V))&&!v)Z(A)}),H=A1((A)=>{t.current=h.some((V)=>e(V.current||null,A.target))});M1(()=>{if(v)return;let A=BR(c),V=(i)=>{if(i===A){A=void 0;return}m(i)};return o===null||o===void 0||o.addEventListener("click",V,!0),o===null||o===void 0||o.addEventListener("touchstart",V,!0),o===null||o===void 0||o.addEventListener("contextmenu",V,!0),o===null||o===void 0||o.addEventListener("mousedown",H,!0),M.current=c===null||c===void 0?void 0:c.setTimeout(()=>{A=void 0},1),()=>{o===null||o===void 0||o.removeEventListener("click",V,!0),o===null||o===void 0||o.removeEventListener("touchstart",V,!0),o===null||o===void 0||o.removeEventListener("contextmenu",V,!0),o===null||o===void 0||o.removeEventListener("mousedown",H,!0),c===null||c===void 0||c.clearTimeout(M.current),A=void 0}},[m,o,v,H,c])},BR=(a)=>{if(a){var l,c;if(typeof a.window==="object"&&a.window===a)return a.event;var h;return(h=(c=a.ownerDocument)===null||c===void 0?void 0:(l=c.defaultView)===null||l===void 0?void 0:l.event)!==null&&h!==void 0?h:void 0}return},lr="fuiframefocus",TR=(a)=>{let{disabled:l,element:c,callback:h,contains:Z=gA,pollDuration:o=1000,refs:v}=a,r=q(),e=A1((M)=>{if(v.every((m)=>!Z(m.current||null,M.target))&&!l)h(M)});M1(()=>{if(l)return;return c===null||c===void 0||c.addEventListener(lr,e,!0),()=>{c===null||c===void 0||c.removeEventListener(lr,e,!0)}},[c,l,e]),M1(()=>{var M;if(l)return;return r.current=c===null||c===void 0?void 0:(M=c.defaultView)===null||M===void 0?void 0:M.setInterval(()=>{let t=c===null||c===void 0?void 0:c.activeElement;if((t===null||t===void 0?void 0:t.tagName)==="IFRAME"||(t===null||t===void 0?void 0:t.tagName)==="WEBVIEW"){let m=new CustomEvent(lr,{bubbles:!0});t.dispatchEvent(m)}},o),()=>{var t;c===null||c===void 0||(t=c.defaultView)===null||t===void 0||t.clearTimeout(r.current)}},[c,l,o])};C();var Fh=(a)=>{let{refs:l,callback:c,element:h,disabled:Z,contains:o}=a,v=A1((r)=>{let e=o||((m,H)=>!!(m===null||m===void 0?void 0:m.contains(H))),M=r.composedPath()[0];if(l.every((m)=>!e(m.current||null,M))&&!Z)c(r)});M1(()=>{if(Z)return;return h===null||h===void 0||h.addEventListener("wheel",v),h===null||h===void 0||h.addEventListener("touchmove",v),()=>{h===null||h===void 0||h.removeEventListener("wheel",v),h===null||h===void 0||h.removeEventListener("touchmove",v)}},[v,h,Z])};C();var Rh=(a)=>{let l=q(null);return M1(()=>{l.current=a},[a]),l.current};var WR=(a)=>-1,bR=(a)=>{return};function j2(){let{targetDocument:a}=C1(),l=a===null||a===void 0?void 0:a.defaultView,c=l?l.setTimeout:WR,h=l?l.clearTimeout:bR;return nh(c,h)}function j5(a,l){return(...c)=>{a===null||a===void 0||a(...c),l===null||l===void 0||l(...c)}}function q1(a,l){var c;let h=a;var Z;return Boolean((h===null||h===void 0?void 0:(c=h.ownerDocument)===null||c===void 0?void 0:c.defaultView)&&h instanceof h.ownerDocument.defaultView[(Z=l===null||l===void 0?void 0:l.constructorName)!==null&&Z!==void 0?Z:"HTMLElement"])}function H6(a){let l=[],c=0,h=(H,A)=>{let V=l[H];l[H]=l[A],l[A]=V},Z=(H)=>{let A=H,V=UR(H),i=PR(H);if(V<c&&a(l[V],l[A])<0)A=V;if(i<c&&a(l[i],l[A])<0)A=i;if(A!==H)h(A,H),Z(A)};return{all:()=>{return l.slice(0,c)},clear:()=>{c=0},contains:(H)=>{let A=l.indexOf(H);return A>=0&&A<c},dequeue:()=>{if(c===0)throw new Error("Priority queue empty");let H=l[0];return l[0]=l[--c],Z(0),H},enqueue:(H)=>{l[c++]=H;let A=c-1,V=CA(A);while(A>0&&a(l[V],l[A])>0)h(V,A),A=V,V=CA(A)},peek:()=>{if(c===0)return null;return l[0]},remove:(H)=>{let A=l.indexOf(H);if(A===-1||A>=c)return;l[A]=l[--c],Z(A)},size:()=>c}}var UR=(a)=>{return 2*a+1},PR=(a)=>{return 2*a+2},CA=(a)=>{return Math.floor((a-1)/2)};C();C();function ca(a){return Boolean(a.type.isFluentTriggerComponent)}function A6(a,l){if(typeof a==="function")return a(l);else if(a)return FA(a,l);return a||null}function FA(a,l){if(!v5(a)||a.type===V1)throw new Error("A trigger element must be a single element for this component. Please ensure that you're not using React Fragments.");if(ca(a)){let c=FA(a.props.children,l);return j7(a,void 0,c)}else return j7(a,l)}C();function X3(a){if(!v5(a))return null;return ca(a)?X3(a.props.children):a}function RA(a){return a&&!!a._virtual}function IR(a){return RA(a)?a._virtual.parent||null:null}function V6(a,l={}){if(!a)return null;if(!l.skipVirtual){let h=IR(a);if(h)return h}let c=a.parentNode;if(c&&c.nodeType===Node.DOCUMENT_FRAGMENT_NODE)return c.host;return c}function ha(a,l){if(!a||!l)return!1;if(a===l)return!0;else{let c=/*@__PURE__*/new WeakSet;while(l){let h=V6(l,{skipVirtual:c.has(l)});if(c.add(l),h===a)return!0;l=h}}return!1}function Za(a,l){if(!a)return;let c=a;if(!c._virtual)c._virtual={};c._virtual.parent=l}C();C();function xA(a,l){return{...l,[e5]:a}}C();var wA=K4(pA(),1);function DA(a){if(typeof a==="object"&&!wA.isValidElementType(a))console.error(`@fluentui/react-jsx-runtime:
|
|
27
|
+
Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: ${a}.
|
|
28
|
+
|
|
29
|
+
If this happened in a slot of Fluent UI component, you might be facing package resolution issues.
|
|
30
|
+
Please make sure you don't have multiple versions of "@fluentui/react-utilities" installed in your dependencies or sub-dependencies.
|
|
31
|
+
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 cr(a,l){return function c(h,Z,o,v,r){if(Q3(Z))return l(xA(h,Z),null,o,v,r);if(Q3(h))return l(h,Z,o,v,r);return DA(h),a(h,Z,o,v,r)}}C();function xh(a){let{as:l,[r6]:c,[e5]:h,[w7]:Z,...o}=a,v=o,r=typeof h==="string"?l!==null&&l!==void 0?l:h:h;if(typeof r!=="string"&&l)v.as=l;return{elementType:r,props:v,renderFunction:Z}}var hr={};Wc(hr,{jsxs:()=>n,jsxTemplate:()=>$R,jsxEscape:()=>SA,jsxDEV:()=>n,jsxAttr:()=>QR,jsx:()=>n,Fragment:()=>V1});q3();q3();var GR=/["&<]/;function kA(a){if(a.length===0||GR.test(a)===!1)return a;for(var l=0,c=0,h="",Z="";c<a.length;c++){switch(a.charCodeAt(c)){case 34:Z=""";break;case 38:Z="&";break;case 60:Z="<";break;default:continue}c!==l&&(h+=a.slice(l,c)),h+=Z,l=c+1}return c!==l&&(h+=a.slice(l,c)),h}var zR=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,KR=0,JR=Array.isArray;function n(a,l,c,h,Z,o){l||(l={});var v,r,e=l;if("ref"in e)for(r in e={},l)r=="ref"?v=l[r]:e[r]=l[r];var M={type:a,props:e,key:c,ref:v,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:--KR,__i:-1,__u:0,__source:Z,__self:o};if(typeof a=="function"&&(v=a.defaultProps))for(r in v)e[r]===void 0&&(e[r]=v[r]);return L1.vnode&&L1.vnode(M),M}function $R(a){var l=n(V1,{tpl:a,exprs:[].slice.call(arguments,1)});return l.key=l.__v,l}var sA={},ER=/[A-Z]/g;function QR(a,l){if(L1.attr){var c=L1.attr(a,l);if(typeof c=="string")return c}if(a==="ref"||a==="key")return"";if(a==="style"&&typeof l=="object"){var h="";for(var Z in l){var o=l[Z];if(o!=null&&o!==""){var v=Z[0]=="-"?Z:sA[Z]||(sA[Z]=Z.replace(ER,"-$&").toLowerCase()),r=";";typeof o!="number"||v.startsWith("--")||zR.test(v)||(r="px;"),h=h+v+":"+o+r}}return a+'="'+h+'"'}return l==null||l===!1||typeof l=="function"||typeof l=="object"?"":l===!0?a:a+'="'+kA(l)+'"'}function SA(a){if(a==null||typeof a=="boolean"||typeof a=="function")return null;if(typeof a=="object"){if(a.constructor===void 0)return a;if(JR(a)){for(var l=0;l<a.length;l++)a[l]=SA(a[l]);return a}}return kA(""+a)}var N2=hr;var fA=(a,l,c)=>{let{elementType:h,renderFunction:Z,props:o}=xh(a),v={...o,...l};if(Z)return N2.jsx(V1,{children:Z(h,v)},c);return N2.jsx(h,v,c)};C();var BA=(a,l,c)=>{let{elementType:h,renderFunction:Z,props:o}=xh(a),v={...o,...l};if(Z)return N2.jsx(V1,{children:Z(h,{...v,children:N2.jsxs(V1,{children:v.children},void 0)})},c);return N2.jsxs(h,v,c)};C();var D=cr(N2.jsx,fA),x1=cr(N2.jsxs,BA);C();var Zr=e1(void 0),YR={},or=Zr.Provider,vr=()=>h1(Zr)?h1(Zr):YR;var oa=(a,l)=>{return G(a),/*@__PURE__*/D(_8,{value:l.provider,children:/*@__PURE__*/D(X8,{value:l.theme,children:/*@__PURE__*/D(y8,{value:l.themeClassName,children:/*@__PURE__*/D(aa,{value:l.customStyleHooks_unstable,children:/*@__PURE__*/D(N8,{value:l.tooltip,children:/*@__PURE__*/D(Ev,{dir:l.textDirection,children:/*@__PURE__*/D(or,{value:l.iconDirection,children:/*@__PURE__*/D(uh,{value:l.overrides_unstable,children:/*@__PURE__*/x1(a.root,{children:[Z3()?null:/*@__PURE__*/D("style",{dangerouslySetInnerHTML:{__html:a.serverStyleProps.cssRule},...a.serverStyleProps.attributes}),a.root.children]})})})})})})})})})};var XR=typeof WeakRef!=="undefined",TA=class{constructor(a){if(XR&&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}},C5="keyborg:focusin",i6="keyborg:focusout";function yR(a){let l=a.HTMLElement,c=l.prototype.focus,h=!1;return l.prototype.focus=function o(){h=!0},a.document.createElement("button").focus(),l.prototype.focus=c,h}var rr=!1;function V2(a){let l=a.focus;if(l.__keyborgNativeFocus)l.__keyborgNativeFocus.call(a);else a.focus()}function jR(a){let l=a;if(!rr)rr=yR(l);let c=l.HTMLElement.prototype.focus;if(c.__keyborgNativeFocus)return;l.HTMLElement.prototype.focus=e;let h=/*@__PURE__*/new Set,Z=(t)=>{let m=t.target;if(!m)return;let H=new CustomEvent(i6,{cancelable:!0,bubbles:!0,composed:!0,detail:{originalEvent:t}});m.dispatchEvent(H)},o=(t)=>{let m=t.target;if(!m)return;let H=t.composedPath()[0],A=/*@__PURE__*/new Set;while(H)if(H.nodeType===Node.DOCUMENT_FRAGMENT_NODE)A.add(H),H=H.host;else H=H.parentNode;for(let V of h){let i=V.deref();if(!i||!A.has(i)){if(h.delete(V),i)i.removeEventListener("focusin",o,!0),i.removeEventListener("focusout",Z,!0)}}v(m,t.relatedTarget||void 0)},v=(t,m,H)=>{var A;let V=t.shadowRoot;if(V){for(let L of h)if(L.deref()===V)return;V.addEventListener("focusin",o,!0),V.addEventListener("focusout",Z,!0),h.add(new TA(V));return}let i={relatedTarget:m,originalEvent:H},u=new CustomEvent(C5,{cancelable:!0,bubbles:!0,composed:!0,detail:i});if(u.details=i,rr||r.lastFocusedProgrammatically)i.isFocusedProgrammatically=t===((A=r.lastFocusedProgrammatically)==null?void 0:A.deref()),r.lastFocusedProgrammatically=void 0;t.dispatchEvent(u)},r=l.__keyborgData={focusInHandler:o,focusOutHandler:Z,shadowTargets:h};l.document.addEventListener("focusin",l.__keyborgData.focusInHandler,!0),l.document.addEventListener("focusout",l.__keyborgData.focusOutHandler,!0);function e(){let t=l.__keyborgData;if(t)t.lastFocusedProgrammatically=new TA(this);return c.apply(this,arguments)}let M=l.document.activeElement;while(M&&M.shadowRoot)v(M),M=M.shadowRoot.activeElement;e.__keyborgNativeFocus=c}function NR(a){let l=a,c=l.HTMLElement.prototype,h=c.focus.__keyborgNativeFocus,Z=l.__keyborgData;if(Z){l.document.removeEventListener("focusin",Z.focusInHandler,!0),l.document.removeEventListener("focusout",Z.focusOutHandler,!0);for(let o of Z.shadowTargets){let v=o.deref();if(v)v.removeEventListener("focusin",Z.focusInHandler,!0),v.removeEventListener("focusout",Z.focusOutHandler,!0)}Z.shadowTargets.clear(),delete l.__keyborgData}if(h)c.focus=h}var _R=500,WA=0,ax=class{constructor(a,l){this._isNavigatingWithKeyboard_DO_NOT_USE=!1,this._onFocusIn=(h)=>{if(this._isMouseOrTouchUsedTimer)return;if(this.isNavigatingWithKeyboard)return;let Z=h.detail;if(!Z.relatedTarget)return;if(Z.isFocusedProgrammatically||Z.isFocusedProgrammatically===void 0)return;this.isNavigatingWithKeyboard=!0},this._onMouseDown=(h)=>{if(h.buttons===0||h.clientX===0&&h.clientY===0&&h.screenX===0&&h.screenY===0)return;this._onMouseOrTouch()},this._onMouseOrTouch=()=>{let h=this._win;if(h){if(this._isMouseOrTouchUsedTimer)h.clearTimeout(this._isMouseOrTouchUsedTimer);this._isMouseOrTouchUsedTimer=h.setTimeout(()=>{delete this._isMouseOrTouchUsedTimer},1000)}this.isNavigatingWithKeyboard=!1},this._onKeyDown=(h)=>{if(this.isNavigatingWithKeyboard){if(this._shouldDismissKeyboardNavigation(h))this._scheduleDismiss()}else if(this._shouldTriggerKeyboardNavigation(h))this.isNavigatingWithKeyboard=!0},this.id="c"+ ++WA,this._win=a;let c=a.document;if(l){let{triggerKeys:h,dismissKeys:Z}=l;if(h==null?void 0:h.length)this._triggerKeys=new Set(h);if(Z==null?void 0:Z.length)this._dismissKeys=new Set(Z)}c.addEventListener(C5,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),jR(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;NR(a);let l=a.document;l.removeEventListener(C5,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 h of Object.keys(c))er.update(c[h],this.isNavigatingWithKeyboard)}_shouldTriggerKeyboardNavigation(a){var l;if(a.key==="Tab")return!0;let c=(l=this._win)==null?void 0:l.document.activeElement,h=!this._triggerKeys||this._triggerKeys.has(a.keyCode),Z=c&&(c.tagName==="INPUT"||c.tagName==="TEXTAREA"||c.isContentEditable);return h&&!Z}_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},_R)}}},er=class a{constructor(l,c){this._cb=[],this._id="k"+ ++WA,this._win=l;let h=l.__keyborg;if(h)this._core=h.core,h.refs[this._id]=this;else this._core=new ax(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((h)=>h(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 n6(a,l){return er.create(a,l)}function u6(a){er.dispose(a)}/*!
|
|
32
|
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
33
|
+
* Licensed under the MIT License.
|
|
34
|
+
*//*!
|
|
35
|
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
36
|
+
* Licensed under the MIT License.
|
|
37
|
+
*/var _2="data-tabster",QA="data-tabster-dummy",YA=/*@__PURE__*/["a[href]","button:not([disabled])","input:not([disabled])","select:not([disabled])","textarea:not([disabled])","*[tabindex]","*[contenteditable]","details > summary","audio[controls]","video[controls]"].join(", "),D7={EscapeGroupper:1,Restorer:2,Deloser:3};var o3={Invisible:0,PartiallyVisible:1,Visible:2},k7={Source:0,Target:1},N5={Both:0,Vertical:1,Horizontal:2,Grid:3,GridLinear:4},g0={ArrowUp:1,ArrowDown:2,ArrowLeft:3,ArrowRight:4,PageUp:5,PageDown:6,Home:7,End:8},ra={Unlimited:0,Limited:1,LimitedTrapFocus:2},bA={Enter:1,Escape:2},lx={Auto:0,Inside:1,Outside:2};/*!
|
|
38
|
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
39
|
+
* Licensed under the MIT License.
|
|
40
|
+
*/function Q0(a,l){var c;return(c=a.storageEntry(l))===null||c===void 0?void 0:c.tabster}function XA(a,l,c){var h,Z;let o=c||a._noop?void 0:l.getAttribute(_2),v=a.storageEntry(l),r;if(o)if(o!==((h=v===null||v===void 0?void 0:v.attr)===null||h===void 0?void 0:h.string))try{let m=JSON.parse(o);if(typeof m!=="object")throw new Error(`Value is not a JSON object, got '${o}'.`);r={string:o,object:m}}catch(m){console.error(`data-tabster attribute error: ${m}`,l)}else return;else if(!v)return;if(!v)v=a.storageEntry(l,!0);if(!v.tabster)v.tabster={};let e=v.tabster||{},M=((Z=v.attr)===null||Z===void 0?void 0:Z.object)||{},t=(r===null||r===void 0?void 0:r.object)||{};for(let m of Object.keys(M))if(!t[m]){if(m==="root"){let H=e[m];if(H)a.root.onRoot(H,!0)}switch(m){case"deloser":case"root":case"groupper":case"modalizer":case"restorer":case"mover":let H=e[m];if(H)H.dispose(),delete e[m];break;case"observed":if(delete e[m],a.observedElement)a.observedElement.onObservedElementUpdate(l);break;case"focusable":case"outline":case"uncontrolled":case"sys":delete e[m];break}}for(let m of Object.keys(t)){let H=t.sys;switch(m){case"deloser":if(e.deloser)e.deloser.setProps(t.deloser);else if(a.deloser)e.deloser=a.deloser.createDeloser(l,t.deloser);else console.error("Deloser API used before initialization, please call `getDeloser()`");break;case"root":if(e.root)e.root.setProps(t.root);else e.root=a.root.createRoot(l,t.root,H);a.root.onRoot(e.root);break;case"modalizer":if(e.modalizer)e.modalizer.setProps(t.modalizer);else if(a.modalizer)e.modalizer=a.modalizer.createModalizer(l,t.modalizer,H);else console.error("Modalizer API used before initialization, please call `getModalizer()`");break;case"restorer":if(e.restorer)e.restorer.setProps(t.restorer);else if(a.restorer){if(t.restorer)e.restorer=a.restorer.createRestorer(l,t.restorer)}else console.error("Restorer API used before initialization, please call `getRestorer()`");break;case"focusable":e.focusable=t.focusable;break;case"groupper":if(e.groupper)e.groupper.setProps(t.groupper);else if(a.groupper)e.groupper=a.groupper.createGroupper(l,t.groupper,H);else console.error("Groupper API used before initialization, please call `getGroupper()`");break;case"mover":if(e.mover)e.mover.setProps(t.mover);else if(a.mover)e.mover=a.mover.createMover(l,t.mover,H);else console.error("Mover API used before initialization, please call `getMover()`");break;case"observed":if(a.observedElement)e.observed=t.observed,a.observedElement.onObservedElementUpdate(l);else console.error("ObservedElement API used before initialization, please call `getObservedElement()`");break;case"uncontrolled":e.uncontrolled=t.uncontrolled;break;case"outline":if(a.outline)e.outline=t.outline;else console.error("Outline API used before initialization, please call `getOutline()`");break;case"sys":e.sys=t.sys;break;default:console.error(`Unknown key '${m}' in data-tabster attribute value.`)}}if(r)v.attr=r;else{if(Object.keys(e).length===0)delete v.tabster,delete v.attr;a.storageEntry(l,!1)}}/*!
|
|
41
|
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
42
|
+
* Licensed under the MIT License.
|
|
43
|
+
*/var cx="tabster:focusin",hx="tabster:focusout",Zx="tabster:movefocus";var ox="tabster:modalizer:active",vx="tabster:modalizer:inactive";var rx="tabster:mover:state",OA="tabster:mover:movefocus",UA="tabster:mover:memorized-element",PA="tabster:groupper:movefocus",Vr="tabster:restorer:restore-focus",ex="tabster:root:focus",Mx="tabster:root:blur",mx=typeof CustomEvent!=="undefined"?CustomEvent:function(){};class a7 extends mx{constructor(a,l){super(a,{bubbles:!0,cancelable:!0,composed:!0,detail:l});this.details=l}}class yA extends a7{constructor(a){super(cx,a)}}class jA extends a7{constructor(a){super(hx,a)}}class s7 extends a7{constructor(a){super(Zx,a)}}class ir extends a7{constructor(a){super(rx,a)}}class NA extends a7{constructor(a){super(ox,a)}}class _A extends a7{constructor(a){super(vx,a)}}class nr extends a7{constructor(){super(Vr)}}class aV extends a7{constructor(a){super(ex,a)}}class lV extends a7{constructor(a){super(Mx,a)}}/*!
|
|
44
|
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
45
|
+
* Licensed under the MIT License.
|
|
46
|
+
*/var tx=(a)=>new MutationObserver(a),Hx=(a,l,c,h)=>a.createTreeWalker(l,c,h),Ax=(a)=>a?a.parentNode:null,Vx=(a)=>a?a.parentElement:null,ix=(a,l)=>!!(l&&(a===null||a===void 0?void 0:a.contains(l))),nx=(a)=>a.activeElement,ux=(a,l)=>a.querySelector(l),Lx=(a,l)=>Array.prototype.slice.call(a.querySelectorAll(l),0),dx=(a,l)=>a.getElementById(l),gx=(a)=>(a===null||a===void 0?void 0:a.firstChild)||null,Cx=(a)=>(a===null||a===void 0?void 0:a.lastChild)||null,Fx=(a)=>(a===null||a===void 0?void 0:a.nextSibling)||null,Rx=(a)=>(a===null||a===void 0?void 0:a.previousSibling)||null,xx=(a)=>(a===null||a===void 0?void 0:a.firstElementChild)||null,px=(a)=>(a===null||a===void 0?void 0:a.lastElementChild)||null,wx=(a)=>(a===null||a===void 0?void 0:a.nextElementSibling)||null,Dx=(a)=>(a===null||a===void 0?void 0:a.previousElementSibling)||null,sx=(a,l)=>a.appendChild(l),kx=(a,l,c)=>a.insertBefore(l,c),Sx=(a)=>{var l;return((l=a.ownerDocument)===null||l===void 0?void 0:l.getSelection())||null},fx=(a,l)=>a.ownerDocument.getElementsByName(l),b={createMutationObserver:tx,createTreeWalker:Hx,getParentNode:Ax,getParentElement:Vx,nodeContains:ix,getActiveElement:nx,querySelector:ux,querySelectorAll:Lx,getElementById:dx,getFirstChild:gx,getLastChild:Cx,getNextSibling:Fx,getPreviousSibling:Rx,getFirstElementChild:xx,getLastElementChild:px,getNextElementSibling:wx,getPreviousElementSibling:Dx,appendChild:sx,insertBefore:kx,getSelection:Sx,getElementsByName:fx};function Bx(a){for(let l of Object.keys(a))b[l]=a[l]}/*!
|
|
47
|
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
48
|
+
* Licensed under the MIT License.
|
|
49
|
+
*/var ur,IA=typeof DOMRect!=="undefined"?DOMRect:class{constructor(a,l,c,h){this.left=a||0,this.top=l||0,this.right=(a||0)+(c||0),this.bottom=(l||0)+(h||0)}},Tx=0;try{document.createTreeWalker(document,NodeFilter.SHOW_ELEMENT),ur=!1}catch(a){ur=!0}var Mr=100;function S7(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 Wx(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 bx(a){let l=a.__tabsterInstanceContext;return new((l===null||l===void 0?void 0:l.basics.WeakMap)||WeakMap)}function Ox(a){return!!a.querySelector(YA)}class gr{constructor(a){this._target=a}deref(){return this._target}static cleanup(a,l){if(!a._target)return!0;if(l||!Fr(a._target.ownerDocument,a._target))return delete a._target,!0;return!1}}class F5{constructor(a,l,c){let h=S7(a),Z;if(h.WeakRef)Z=new h.WeakRef(l);else Z=new gr(l),h.fakeWeakRefs.push(Z);this._ref=Z,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 cV(a,l){let c=S7(a);c.fakeWeakRefs=c.fakeWeakRefs.filter((h)=>!gr.cleanup(h,l))}function hV(a){let l=S7(a);if(!l.fakeWeakRefsStarted)l.fakeWeakRefsStarted=!0,l.WeakRef=zx(l);if(!l.fakeWeakRefsTimer)l.fakeWeakRefsTimer=a().setTimeout(()=>{l.fakeWeakRefsTimer=void 0,cV(a),hV(a)},120000)}function Ux(a){let l=S7(a);if(l.fakeWeakRefsStarted=!1,l.fakeWeakRefsTimer)a().clearTimeout(l.fakeWeakRefsTimer),l.fakeWeakRefsTimer=void 0,l.fakeWeakRefs=[]}function Cr(a,l,c){if(l.nodeType!==Node.ELEMENT_NODE)return;let h=ur?c:{acceptNode:c};return b.createTreeWalker(a,l,NodeFilter.SHOW_ELEMENT,h,!1)}function ZV(a,l){let c=l.__tabsterCacheId,h=S7(a),Z=c?h.containerBoundingRectCache[c]:void 0;if(Z)return Z.rect;let o=l.ownerDocument&&l.ownerDocument.documentElement;if(!o)return new IA;let v=0,r=0,e=o.clientWidth,M=o.clientHeight;if(l!==o){let m=l.getBoundingClientRect();v=Math.max(v,m.left),r=Math.max(r,m.top),e=Math.min(e,m.right),M=Math.min(M,m.bottom)}let t=new IA(v<e?v:-1,r<M?r:-1,v<e?e-v:0,r<M?M-r:0);if(!c)c="r-"+ ++h.lastContainerBoundingRectCacheId,l.__tabsterCacheId=c;if(h.containerBoundingRectCache[c]={rect:t,element:l},!h.containerBoundingRectCacheTimer)h.containerBoundingRectCacheTimer=window.setTimeout(()=>{h.containerBoundingRectCacheTimer=void 0;for(let m of Object.keys(h.containerBoundingRectCache))delete h.containerBoundingRectCache[m].element.__tabsterCacheId;h.containerBoundingRectCache={}},50);return t}function qA(a,l,c){let h=oV(l);if(!h)return!1;let Z=ZV(a,h),o=l.getBoundingClientRect(),v=o.height*(1-c),r=Math.max(0,Z.top-o.top),e=Math.max(0,o.bottom-Z.bottom),M=r+e;return M===0||M<=v}function Px(a,l,c){let h=oV(l);if(h){let Z=ZV(a,h),o=l.getBoundingClientRect();if(c)h.scrollTop+=o.top-Z.top;else h.scrollTop+=o.bottom-Z.bottom}}function oV(a){let l=a.ownerDocument;if(l){for(let c=b.getParentElement(a);c;c=b.getParentElement(c))if(c.scrollWidth>c.clientWidth||c.scrollHeight>c.clientHeight)return c;return l.documentElement}return null}function Ix(a){a.__shouldIgnoreFocus=!0}function vV(a){return!!a.__shouldIgnoreFocus}function qx(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 h=0;h<l.length;h++)l[h]=4294967295*Math.random();let c=[];for(let h=0;h<l.length;h++)c.push(l[h].toString(36));return c.push("|"),c.push((++Tx).toString(36)),c.push("|"),c.push(Date.now().toString(36)),c.join("")}function ph(a,l){let c=S7(a),h=l.__tabsterElementUID;if(!h)h=l.__tabsterElementUID=qx(a());if(!c.elementByUId[h]&&Fr(l.ownerDocument,l))c.elementByUId[h]=new F5(a,l);return h}function GA(a,l){let c=S7(a);for(let h of Object.keys(c.elementByUId)){let Z=c.elementByUId[h],o=Z&&Z.get();if(o&&l){if(!b.nodeContains(l,o))continue}delete c.elementByUId[h]}}function Fr(a,l){return b.nodeContains(a===null||a===void 0?void 0:a.body,l)}function rV(a,l){let c=a.matches||a.matchesSelector||a.msMatchesSelector||a.webkitMatchesSelector;return c&&c.call(a,l)}function Gx(a){let l=S7(a);if(l.basics.Promise)return l.basics.Promise;throw new Error("No Promise defined.")}function zx(a){return a.basics.WeakRef}var Kx=0;class g6{constructor(a,l,c){let h=a.getWindow;this._tabster=a,this._element=new F5(h,l),this._props={...c},this.id="i"+ ++Kx}getElement(){return this._element.get()}getProps(){return this._props}setProps(a){this._props={...a}}}class va{constructor(a,l,c,h,Z){var o;this._focusIn=(M)=>{if(this._fixedTarget){let m=this._fixedTarget.get();if(m)V2(m);return}let t=this.input;if(this.onFocusIn&&t){let m=M.relatedTarget;this.onFocusIn(this,this._isBackward(!0,t,m),m)}},this._focusOut=(M)=>{if(this._fixedTarget)return;this.useDefaultAction=!1;let t=this.input;if(this.onFocusOut&&t){let m=M.relatedTarget;this.onFocusOut(this,this._isBackward(!1,t,m),m)}};let v=a(),r=v.document.createElement("i");r.tabIndex=0,r.setAttribute("role","none"),r.setAttribute(QA,""),r.setAttribute("aria-hidden","true");let e=r.style;if(e.position="fixed",e.width=e.height="1px",e.opacity="0.001",e.zIndex="-1",e.setProperty("content-visibility","hidden"),Ix(r),this.input=r,this.isFirst=c.isFirst,this.isOutside=l,this._isPhantom=(o=c.isPhantom)!==null&&o!==void 0?o:!1,this._fixedTarget=Z,r.addEventListener("focusin",this._focusIn),r.addEventListener("focusout",this._focusOut),r.__tabsterDummyContainer=h,this._isPhantom)this._disposeTimer=v.setTimeout(()=>{delete this._disposeTimer,this.dispose()},0),this._clearDisposeTimeout=()=>{if(this._disposeTimer)v.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=b.getParentNode(l))===null||a===void 0||a.removeChild(l)}setTopLeft(a,l){var c;let h=(c=this.input)===null||c===void 0?void 0:c.style;if(h)h.top=`${a}px`,h.left=`${l}px`}_isBackward(a,l,c){return a&&!c?!this.isFirst:!!(c&&l.compareDocumentPosition(c)&Node.DOCUMENT_POSITION_FOLLOWING)}}var wh={Root:1,Modalizer:2,Mover:3,Groupper:4};class y3{constructor(a,l,c,h,Z,o){this._element=l,this._instance=new MV(a,l,this,c,h,Z,o)}_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,h,Z){let v=new va(a.getWindow,!0,{isPhantom:!0,isFirst:!0}).input;if(v){let r,e;if(l.tagName==="BODY")r=l,e=c&&h||!c&&!h?b.getFirstElementChild(l):null;else{if(c&&(!h||h&&!a.focusable.isFocusable(l,!1,!0,!0)))r=l,e=h?l.firstElementChild:null;else r=b.getParentElement(l),e=c&&h||!c&&!h?l:b.getNextElementSibling(l);let M,t;do if(M=c&&h||!c&&!h?b.getPreviousElementSibling(e):e,t=d6(M),t===l)e=c&&h||!c&&!h?M:b.getNextElementSibling(M);else t=null;while(t)}if(r===null||r===void 0?void 0:r.dispatchEvent(new s7({by:"root",owner:r,next:null,relatedEvent:Z})))b.insertBefore(r,v,e),V2(v)}}static addPhantomDummyWithTarget(a,l,c,h){let o=new va(a.getWindow,!0,{isPhantom:!0,isFirst:!0},void 0,new F5(a.getWindow,h)).input;if(o){let v,r;if(Ox(l)&&!c)v=l,r=b.getFirstElementChild(l);else v=b.getParentElement(l),r=c?l:b.getNextElementSibling(l);if(v)b.insertBefore(v,o,r)}}}function v3(a,l){var c;let h={1:"Root",2:"Modalizer",3:"Mover",4:"Groupper"};(c=a.input)===null||c===void 0||c.setAttribute(QA,[`isFirst=${a.isFirst}`,`isOutside=${a.isOutside}`,...l.map((Z)=>`(${h[Z.priority]}, tabbable=${Z.tabbable})`)].join(", "))}class eV{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 h of this._dummyElements){let Z=h.get();if(Z){let o=this._dummyCallbacks.get(Z);if(o){let v=b.getParentNode(Z);if(!v||this._changedParents.has(v))o()}}}this._changedParents=/*@__PURE__*/new WeakSet},Mr)},this._win=a}add(a,l){if(!this._dummyCallbacks.has(a)&&this._win)this._dummyElements.push(new F5(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+Mr<=Date.now()){let l=/*@__PURE__*/new Map,c=[];for(let h of this._updateQueue)c.push(h(l));this._updateQueue.clear();for(let h of c)h();l.clear()}else this._scheduledUpdatePositions()},Mr)}}class MV{constructor(a,l,c,h,Z,o,v){this._wrappers=[],this._isOutside=!1,this._transformElements=/*@__PURE__*/new Set,this._onFocusIn=(H,A,V)=>{this._onFocus(!0,H,A,V)},this._onFocusOut=(H,A,V)=>{this._onFocus(!1,H,A,V)},this.moveOut=(H)=>{var A;let V=this._firstDummy,i=this._lastDummy;if(V&&i){this._ensurePosition();let u=V.input,L=i.input,d=(A=this._element)===null||A===void 0?void 0:A.get();if(u&&L&&d){let g;if(H)u.tabIndex=0,g=u;else L.tabIndex=0,g=L;if(g)V2(g)}}},this.moveOutWithDefaultAction=(H,A)=>{var V;let i=this._firstDummy,u=this._lastDummy;if(i&&u){this._ensurePosition();let L=i.input,d=u.input,g=(V=this._element)===null||V===void 0?void 0:V.get();if(L&&d&&g){let R;if(H)if(!i.isOutside&&this._tabster.focusable.isFocusable(g,!0,!0,!0))R=g;else i.useDefaultAction=!0,L.tabIndex=0,R=L;else u.useDefaultAction=!0,d.tabIndex=0,R=d;if(R&&g.dispatchEvent(new s7({by:"root",owner:g,next:null,relatedEvent:A})))V2(R)}}},this.setTabbable=(H,A)=>{var V,i;for(let L of this._wrappers)if(L.manager===H){L.tabbable=A;break}let u=this._getCurrent();if(u){let L=u.tabbable?0:-1,d=(V=this._firstDummy)===null||V===void 0?void 0:V.input;if(d)d.tabIndex=L;if(d=(i=this._lastDummy)===null||i===void 0?void 0:i.input,d)d.tabIndex=L}this._firstDummy&&v3(this._firstDummy,this._wrappers),this._lastDummy&&v3(this._lastDummy,this._wrappers)},this._addDummyInputs=()=>{if(this._addTimer)return;this._addTimer=this._getWindow().setTimeout(()=>{delete this._addTimer,this._ensurePosition(),this._firstDummy&&v3(this._firstDummy,this._wrappers),this._lastDummy&&v3(this._lastDummy,this._wrappers),this._addTransformOffsets()},0)},this._addTransformOffsets=()=>{this._tabster._dummyObserver.updatePositions(this._computeTransformOffsets)},this._computeTransformOffsets=(H)=>{var A,V;let i=((A=this._firstDummy)===null||A===void 0?void 0:A.input)||((V=this._lastDummy)===null||V===void 0?void 0:V.input),u=this._transformElements,L=/*@__PURE__*/new Set,d=0,g=0,R=this._getWindow();for(let x=i;x&&x.nodeType===Node.ELEMENT_NODE;x=b.getParentElement(x)){let S=H.get(x);if(S===void 0){let p=R.getComputedStyle(x).transform;if(p&&p!=="none")S={scrollTop:x.scrollTop,scrollLeft:x.scrollLeft};H.set(x,S||null)}if(S){if(L.add(x),!u.has(x))x.addEventListener("scroll",this._addTransformOffsets);d+=S.scrollTop,g+=S.scrollLeft}}for(let x of u)if(!L.has(x))x.removeEventListener("scroll",this._addTransformOffsets);return this._transformElements=L,()=>{var x,S;(x=this._firstDummy)===null||x===void 0||x.setTopLeft(d,g),(S=this._lastDummy)===null||S===void 0||S.setTopLeft(d,g)}};let r=l.get();if(!r)throw new Error("No element");this._tabster=a,this._getWindow=a.getWindow,this._callForDefaultAction=v;let e=r.__tabsterDummy;if((e||this)._wrappers.push({manager:c,priority:h,tabbable:!0}),e)return this._firstDummy&&v3(this._firstDummy,e._wrappers),this._lastDummy&&v3(this._lastDummy,e._wrappers),e;r.__tabsterDummy=this;let M=Z===null||Z===void 0?void 0:Z.dummyInputsPosition,t=r.tagName;this._isOutside=!M?(o||t==="UL"||t==="OL"||t==="TABLE")&&!(t==="LI"||t==="TD"||t==="TH"):M===lx.Outside,this._firstDummy=new va(this._getWindow,this._isOutside,{isFirst:!0},l),this._lastDummy=new va(this._getWindow,this._isOutside,{isFirst:!1},l);let m=this._firstDummy.input;m&&a._dummyObserver.add(m,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,h,Z,o;let v=this._wrappers=this._wrappers.filter((r)=>r.manager!==a&&!l);if(this._firstDummy&&v3(this._firstDummy,v),this._lastDummy&&v3(this._lastDummy,v),v.length===0){delete((c=this._element)===null||c===void 0?void 0:c.get()).__tabsterDummy;for(let M of this._transformElements)M.removeEventListener("scroll",this._addTransformOffsets);this._transformElements.clear();let r=this._getWindow();if(this._addTimer)r.clearTimeout(this._addTimer),delete this._addTimer;let e=(h=this._firstDummy)===null||h===void 0?void 0:h.input;e&&this._tabster._dummyObserver.remove(e),(Z=this._firstDummy)===null||Z===void 0||Z.dispose(),(o=this._lastDummy)===null||o===void 0||o.dispose()}}_onFocus(a,l,c,h){var Z;let o=this._getCurrent();if(o&&(!l.useDefaultAction||this._callForDefaultAction))(Z=o.manager.getHandler(a))===null||Z===void 0||Z(l,c,h)}_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 h=(a=this._element)===null||a===void 0?void 0:a.get(),Z=(l=this._firstDummy)===null||l===void 0?void 0:l.input,o=(c=this._lastDummy)===null||c===void 0?void 0:c.input;if(!h||!Z||!o)return;if(this._isOutside){let v=b.getParentNode(h);if(v){let r=b.getNextSibling(h);if(r!==o)b.insertBefore(v,o,r);if(b.getPreviousElementSibling(h)!==Z)b.insertBefore(v,Z,h)}}else{if(b.getLastElementChild(h)!==o)b.appendChild(h,o);let v=b.getFirstElementChild(h);if(v&&v!==Z&&v.parentNode)b.insertBefore(v.parentNode,Z,v)}}}function mV(a){let l=null;for(let c=b.getLastElementChild(a);c;c=b.getLastElementChild(c))l=c;return l||void 0}function Jx(a,l){let c=a,h=null;while(c&&!h)h=l?b.getPreviousElementSibling(c):b.getNextElementSibling(c),c=b.getParentElement(c);return h||void 0}function mr(a,l,c,h){let Z=a.storageEntry(l,!0),o=!1;if(!Z.aug){if(h===void 0)return o;Z.aug={}}if(h===void 0){if(c in Z.aug){let v=Z.aug[c];if(delete Z.aug[c],v===null)l.removeAttribute(c);else l.setAttribute(c,v);o=!0}}else{let v;if(!(c in Z.aug))v=l.getAttribute(c);if(v!==void 0&&v!==h){if(Z.aug[c]=v,h===null)l.removeAttribute(c);else l.setAttribute(c,h);o=!0}}if(h===void 0&&Object.keys(Z.aug).length===0)delete Z.aug,a.storageEntry(l,!1);return o}function $x(a){var l,c;let h=a.ownerDocument,Z=(l=h.defaultView)===null||l===void 0?void 0:l.getComputedStyle(a);if(a.offsetParent===null&&h.body!==a&&(Z===null||Z===void 0?void 0:Z.position)!=="fixed")return!0;if((Z===null||Z===void 0?void 0:Z.visibility)==="hidden")return!0;if((Z===null||Z===void 0?void 0:Z.position)==="fixed"){if(Z.display==="none")return!0;if(((c=a.parentElement)===null||c===void 0?void 0:c.offsetParent)===null&&h.body!==a.parentElement)return!0}return!1}function Lr(a){return a.tagName==="INPUT"&&!!a.name&&a.type==="radio"}function Ex(a){if(!Lr(a))return;let l=a.name,c=Array.from(b.getElementsByName(a,l)),h;return c=c.filter((Z)=>{if(Lr(Z)){if(Z.checked)h=Z;return!0}return!1}),{name:l,buttons:new Set(c),checked:h}}function d6(a){var l;return((l=a===null||a===void 0?void 0:a.__tabsterDummyContainer)===null||l===void 0?void 0:l.get())||null}/*!
|
|
50
|
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
51
|
+
* Licensed under the MIT License.
|
|
52
|
+
*/function ea(a,l){let c=JSON.stringify(a);if(l===!0)return c;return{[_2]:c}}function Qx(a,l){for(let c of Object.keys(l)){let h=l[c];if(h)a[c]=h;else delete a[c]}}function Yx(a,l,c){let h;if(c){let Z=a.getAttribute(_2);if(Z)try{h=JSON.parse(Z)}catch(o){console.error(`data-tabster attribute error: ${o}`,a)}}if(!h)h={};if(Qx(h,l),Object.keys(h).length>0)a.setAttribute(_2,ea(h,!0));else a.removeAttribute(_2)}/*!
|
|
53
|
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
54
|
+
* Licensed under the MIT License.
|
|
55
|
+
*/function zA(a,l,c){{let h=a.get();if(h)if(l)h.style.removeProperty("--tabster-root");else h.style.setProperty("--tabster-root",c+",")}}class dr extends y3{constructor(a,l,c,h){super(a,l,wh.Root,h,void 0,!0);this._onDummyInputFocus=(Z)=>{var o;if(Z.useDefaultAction)this._setFocused(!1);else{this._tabster.keyboardNavigation.setNavigatingWithKeyboard(!0);let v=this._element.get();if(v){this._setFocused(!0);let r=this._tabster.focusedElement.getFirstOrLastTabbable(Z.isFirst,{container:v,ignoreAccessibility:!0});if(r){V2(r);return}}(o=Z.input)===null||o===void 0||o.blur()}},this._setHandlers(this._onDummyInputFocus),this._tabster=a,this._setFocused=c}}class tV extends g6{constructor(a,l,c,h,Z){super(a,l,h);this._isFocused=!1,this._setFocused=(e)=>{var M;if(this._setFocusedTimer)this._tabster.getWindow().clearTimeout(this._setFocusedTimer),delete this._setFocusedTimer;if(this._isFocused===e)return;let t=this._element.get();if(t)if(e)this._isFocused=!0,(M=this._dummyManager)===null||M===void 0||M.setTabbable(!1),t.dispatchEvent(new aV({element:t}));else this._setFocusedTimer=this._tabster.getWindow().setTimeout(()=>{var m;delete this._setFocusedTimer,this._isFocused=!1,(m=this._dummyManager)===null||m===void 0||m.setTabbable(!0),t.dispatchEvent(new lV({element:t}))},0)},this._onFocusIn=(e)=>{let M=this._tabster.getParent,t=this._element.get(),m=e.composedPath()[0];do{if(m===t){this._setFocused(!0);return}m=m&&M(m)}while(m)},this._onFocusOut=()=>{this._setFocused(!1)},this._onDispose=c;let o=a.getWindow;if(this.uid=ph(o,l),this._sys=Z,a.controlTab||a.rootDummyInputs)this.addDummyInputs();let r=o().document;r.addEventListener(C5,this._onFocusIn),r.addEventListener(i6,this._onFocusOut),this._add()}addDummyInputs(){if(!this._dummyManager)this._dummyManager=new dr(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(C5,this._onFocusIn),c.removeEventListener(i6,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 h=this.getElement();if(h)dr.moveWithPhantomDummy(this._tabster,h,!0,a,l)}}_add(){zA(this._element,!1,this.uid)}_remove(){zA(this._element,!0)}}class G1{constructor(a,l){this._autoRootWaiting=!1,this._roots={},this._forceDummy=!1,this.rootById={},this._autoRootCreate=()=>{var c;let h=this._win().document,Z=h.body;if(Z){this._autoRootUnwait(h);let o=this._autoRoot;if(o)return Yx(Z,{root:o},!0),XA(this._tabster,Z),(c=Q0(this._tabster,Z))===null||c===void 0?void 0:c.root}else if(!this._autoRootWaiting)this._autoRootWaiting=!0,h.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 h=new tV(this._tabster,a,this._onRootDispose,l,c);if(this._roots[h.id]=h,this._forceDummy)h.addDummyInputs();return h}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){if(c===void 0)c={};var h,Z,o,v;if(!l.ownerDocument)return;let{checkRtl:r,referenceElement:e}=c,M=a.getParent;a.drainInitQueue();let t,m,H,A,V=!1,i,u,L,d,g=e||l,R={};while(g&&(!t||r)){let S=Q0(a,g);if(r&&L===void 0){let o1=g.dir;if(o1)L=o1.toLowerCase()==="rtl"}if(!S){g=M(g);continue}let p=g.tagName;if((S.uncontrolled||p==="IFRAME"||p==="WEBVIEW")&&a.focusable.isVisible(g))d=g;if(!A&&((h=S.focusable)===null||h===void 0?void 0:h.excludeFromMover)&&!H)V=!0;let{modalizer:O,groupper:I,mover:Z1}=S;if(!m&&O)m=O;if(!H&&I&&(!m||O))if(m){if(!I.isActive()&&I.getProps().tabbability&&m.userId!==((Z=a.modalizer)===null||Z===void 0?void 0:Z.activeId))m=void 0,H=I;u=I}else H=I;if(!A&&Z1&&(!m||O)&&(!I||g!==l)&&g.contains(l))A=Z1,i=!!H&&H!==I;if(S.root)t=S.root;if((o=S.focusable)===null||o===void 0?void 0:o.ignoreKeydown)Object.assign(R,S.focusable.ignoreKeydown);g=M(g)}if(!t){let S=a.root;if(S._autoRoot){if((v=l.ownerDocument)===null||v===void 0?void 0:v.body)t=S._autoRootCreate()}}if(H&&!A)i=!0;if(!t){if(m||H||A)console.error("Tabster Root is required for Mover, Groupper and Modalizer to work.")}return t?{root:t,modalizer:m,groupper:H,mover:A,groupperBeforeMover:i,modalizerInGroupper:u,rtl:r?!!L:void 0,uncontrolled:d,excludedFromMover:V,ignoreKeydown:(S)=>!!R[S.key]}:void 0}static getRoot(a,l){var c;let h=a.getParent;for(let Z=l;Z;Z=h(Z)){let o=(c=Q0(a,Z))===null||c===void 0?void 0:c.root;if(o)return o}return}onRoot(a,l){if(l)delete this.rootById[a.uid];else this.rootById[a.uid]=a}}/*!
|
|
56
|
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
57
|
+
* Licensed under the MIT License.
|
|
58
|
+
*//*!
|
|
59
|
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
60
|
+
* Licensed under the MIT License.
|
|
61
|
+
*/class Rr{constructor(){this._callbacks=[]}dispose(){this._callbacks=[],delete this._val}subscribe(a){let l=this._callbacks;if(l.indexOf(a)<0)l.push(a)}subscribeFirst(a){let l=this._callbacks,c=l.indexOf(a);if(c>=0)l.splice(c,1);l.unshift(a)}unsubscribe(a){let l=this._callbacks.indexOf(a);if(l>=0)this._callbacks.splice(l,1)}setVal(a,l){if(this._val===a)return;this._val=a,this._callCallbacks(a,l)}getVal(){return this._val}trigger(a,l){this._callCallbacks(a,l)}_callCallbacks(a,l){this._callbacks.forEach((c)=>c(a,l))}}/*!
|
|
62
|
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
63
|
+
* Licensed under the MIT License.
|
|
64
|
+
*//*!
|
|
65
|
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
66
|
+
* Licensed under the MIT License.
|
|
67
|
+
*/class HV{constructor(a){this._tabster=a}dispose(){}getProps(a){let l=Q0(this._tabster,a);return l&&l.focusable||{}}isFocusable(a,l,c,h){if(rV(a,YA)&&(l||a.tabIndex!==-1))return(c||this.isVisible(a))&&(h||this.isAccessible(a));return!1}isVisible(a){if(!a.ownerDocument||a.nodeType!==Node.ELEMENT_NODE)return!1;if($x(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=b.getParentElement(c)){let h=Q0(this._tabster,c);if(this._isHidden(c))return!1;if(!((l=h===null||h===void 0?void 0:h.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 h,Z,o;let{container:v,currentElement:r=null,includeProgrammaticallyFocusable:e,useActiveModalizer:M,ignoreAccessibility:t,modalizerId:m,isBackward:H,onElement:A}=l;if(!c)c={};let V=[],{acceptCondition:i}=l,u=!!i;if(!v)return null;if(!i)i=(R)=>this.isFocusable(R,e,!1,t);let L={container:v,modalizerUserId:m===void 0&&M?(h=this._tabster.modalizer)===null||h===void 0?void 0:h.activeId:m||((o=(Z=G1.getTabsterContext(this._tabster,v))===null||Z===void 0?void 0:Z.modalizer)===null||o===void 0?void 0:o.userId),from:r||v,isBackward:H,isFindAll:a,acceptCondition:i,hasCustomCondition:u,includeProgrammaticallyFocusable:e,ignoreAccessibility:t,cachedGrouppers:{},cachedRadioGroups:{}},d=Cr(v.ownerDocument,v,(R)=>this._acceptElement(R,L));if(!d)return null;let g=(R)=>{var x,S;let p=(x=L.foundElement)!==null&&x!==void 0?x:L.foundBackward;if(p)V.push(p);if(a){if(p){if(L.found=!1,delete L.foundElement,delete L.foundBackward,delete L.fromCtx,L.from=p,A&&!A(p))return!1}return!!(p||R)}else{if(p&&c)c.uncontrolled=(S=G1.getTabsterContext(this._tabster,p))===null||S===void 0?void 0:S.uncontrolled;return!!(R&&!p)}};if(!r)c.outOfDOMOrder=!0;if(r&&b.nodeContains(v,r))d.currentNode=r;else if(H){let R=mV(v);if(!R)return null;if(this._acceptElement(R,L)===NodeFilter.FILTER_ACCEPT&&!g(!0)){if(L.skippedFocusable)c.outOfDOMOrder=!0;return V}d.currentNode=R}do if(H)d.previousNode();else d.nextNode();while(g());if(L.skippedFocusable)c.outOfDOMOrder=!0;return V.length?V:null}_acceptElement(a,l){var c,h,Z;if(l.found)return NodeFilter.FILTER_ACCEPT;let o=l.foundBackward;if(o&&(a===o||!b.nodeContains(o,a)))return l.found=!0,l.foundElement=o,NodeFilter.FILTER_ACCEPT;let v=l.container;if(a===v)return NodeFilter.FILTER_SKIP;if(!b.nodeContains(v,a))return NodeFilter.FILTER_REJECT;if(d6(a))return NodeFilter.FILTER_REJECT;if(b.nodeContains(l.rejectElementsFrom,a))return NodeFilter.FILTER_REJECT;let r=l.currentCtx=G1.getTabsterContext(this._tabster,a);if(!r)return NodeFilter.FILTER_SKIP;if(vV(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=r.modalizer)===null||c===void 0?void 0:c.userId)===((h=this._tabster.modalizer)===null||h===void 0?void 0:h.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 e,M=l.fromCtx;if(!M)M=l.fromCtx=G1.getTabsterContext(this._tabster,l.from);let t=M===null||M===void 0?void 0:M.mover,m=r.groupper,H=r.mover;if(e=(Z=this._tabster.modalizer)===null||Z===void 0?void 0:Z.acceptElement(a,l),e!==void 0)l.skippedFocusable=!0;if(e===void 0&&(m||H||t)){let A=m===null||m===void 0?void 0:m.getElement(),V=t===null||t===void 0?void 0:t.getElement(),i=H===null||H===void 0?void 0:H.getElement();if(i&&b.nodeContains(V,i)&&b.nodeContains(v,V)&&(!A||!H||b.nodeContains(V,A)))H=t,i=V;if(A){if(A===v||!b.nodeContains(v,A))m=void 0;else if(!b.nodeContains(A,a))return NodeFilter.FILTER_REJECT}if(i){if(!b.nodeContains(v,i))H=void 0;else if(!b.nodeContains(i,a))return NodeFilter.FILTER_REJECT}if(m&&H)if(i&&A&&!b.nodeContains(A,i))H=void 0;else m=void 0;if(m)e=m.acceptElement(a,l);if(H)e=H.acceptElement(a,l)}if(e===void 0){if(e=l.acceptCondition(a)?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP,e===NodeFilter.FILTER_SKIP&&this.isFocusable(a,!1,!0,!0))l.skippedFocusable=!0}if(e===NodeFilter.FILTER_ACCEPT&&!l.found){if(!l.isFindAll&&Lr(a)&&!a.checked){let A=a.name,V=l.cachedRadioGroups[A];if(!V){if(V=Ex(a),V)l.cachedRadioGroups[A]=V}if((V===null||V===void 0?void 0:V.checked)&&V.checked!==a)return NodeFilter.FILTER_SKIP}if(l.isBackward)l.foundBackward=a,e=NodeFilter.FILTER_SKIP;else l.found=!0,l.foundElement=a}return e}}/*!
|
|
68
|
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
69
|
+
* Licensed under the MIT License.
|
|
70
|
+
*/var i0={Tab:"Tab",Enter:"Enter",Escape:"Escape",Space:" ",PageUp:"PageUp",PageDown:"PageDown",End:"End",Home:"Home",ArrowLeft:"ArrowLeft",ArrowUp:"ArrowUp",ArrowRight:"ArrowRight",ArrowDown:"ArrowDown"};/*!
|
|
71
|
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
72
|
+
* Licensed under the MIT License.
|
|
73
|
+
*/function Xx(a,l){var c;let h=a.getParent,Z=l;do{let o=(c=Q0(a,Z))===null||c===void 0?void 0:c.uncontrolled;if(o&&a.uncontrolled.isUncontrolledCompletely(Z,!!o.completely))return Z;Z=h(Z)}while(Z);return}var KA={[D7.Restorer]:0,[D7.Deloser]:1,[D7.EscapeGroupper]:2};class n0 extends Rr{constructor(a,l){super();this._init=()=>{let c=this._win(),h=c.document;h.addEventListener(C5,this._onFocusIn,!0),h.addEventListener(i6,this._onFocusOut,!0),c.addEventListener("keydown",this._onKeyDown,!0);let Z=b.getActiveElement(h);if(Z&&Z!==h.body)this._setFocusedElement(Z);this.subscribe(this._onChanged)},this._onFocusIn=(c)=>{let h=c.composedPath()[0];if(h)this._setFocusedElement(h,c.detail.relatedTarget,c.detail.isFocusedProgrammatically)},this._onFocusOut=(c)=>{var h;this._setFocusedElement(void 0,(h=c.detail)===null||h===void 0?void 0:h.originalEvent.relatedTarget)},this._validateFocusedElement=(c)=>{},this._onKeyDown=(c)=>{if(c.key!==i0.Tab||c.ctrlKey)return;let h=this.getVal();if(!h||!h.ownerDocument||h.contentEditable==="true")return;let Z=this._tabster,o=Z.controlTab,v=G1.getTabsterContext(Z,h);if(!v||v.ignoreKeydown(c))return;let r=c.shiftKey,e=n0.findNextTabbable(Z,v,void 0,h,void 0,r,!0),M=v.root.getElement();if(!M)return;let t=e===null||e===void 0?void 0:e.element,m=Xx(Z,h);if(t){let H=e.uncontrolled;if(v.uncontrolled||b.nodeContains(H,h)){if(!e.outOfDOMOrder&&H===v.uncontrolled||m&&!b.nodeContains(m,t))return;y3.addPhantomDummyWithTarget(Z,h,r,t);return}if(H&&Z.focusable.isVisible(H)||t.tagName==="IFRAME"&&Z.focusable.isVisible(t)){if(M.dispatchEvent(new s7({by:"root",owner:M,next:t,relatedEvent:c})))y3.moveWithPhantomDummy(Z,H!==null&&H!==void 0?H:t,!1,r,c);return}if(o||(e===null||e===void 0?void 0:e.outOfDOMOrder)){if(M.dispatchEvent(new s7({by:"root",owner:M,next:t,relatedEvent:c})))c.preventDefault(),c.stopImmediatePropagation(),V2(t)}}else if(!m&&M.dispatchEvent(new s7({by:"root",owner:M,next:null,relatedEvent:c})))v.root.moveOutWithDefaultAction(r,c)},this._onChanged=(c,h)=>{var Z,o;if(c)c.dispatchEvent(new yA(h));else{let v=(Z=this._lastVal)===null||Z===void 0?void 0:Z.get();if(v){let r={...h},e=G1.getTabsterContext(this._tabster,v),M=(o=e===null||e===void 0?void 0:e.modalizer)===null||o===void 0?void 0:o.userId;if(M)r.modalizerId=M;v.dispatchEvent(new jA(r))}}},this._tabster=a,this._win=l,a.queueInit(this._init)}dispose(){super.dispose();let a=this._win(),l=a.document;l.removeEventListener(C5,this._onFocusIn,!0),l.removeEventListener(i6,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 n0._lastResetElement,delete this._nextVal,delete this._lastVal}static forgetMemorized(a,l){var c,h;let Z=n0._lastResetElement,o=Z&&Z.get();if(o&&b.nodeContains(l,o))delete n0._lastResetElement;if(o=(h=(c=a._nextVal)===null||c===void 0?void 0:c.element)===null||h===void 0?void 0:h.get(),o&&b.nodeContains(l,o))delete a._nextVal;if(Z=a._lastVal,o=Z&&Z.get(),o&&b.nodeContains(l,o))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&&!Fr(l.ownerDocument,l))this._lastVal=l=void 0;return l}focus(a,l,c,h){if(!this._tabster.focusable.isFocusable(a,l,!1,c))return!1;return a.focus({preventScroll:h}),!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:h,ignoreAccessibility:Z}=l,o;if(h){let v=G1.getTabsterContext(this._tabster,h);if(v)o=(c=n0.findNextTabbable(this._tabster,v,h,void 0,void 0,!a,Z))===null||c===void 0?void 0:c.element}if(o&&!b.nodeContains(h,o))o=void 0;return o||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"),n0._lastResetElement=new F5(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 h=this._tabster.getWindow(),Z=this._asyncFocus;if(Z){if(KA[a]>KA[Z.source])return;h.clearTimeout(Z.timeout)}this._asyncFocus={source:a,callback:l,timeout:h.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 h,Z;if(this._tabster._noop)return;let o={relatedTarget:l};if(a){let r=(h=n0._lastResetElement)===null||h===void 0?void 0:h.get();if(n0._lastResetElement=void 0,r===a||vV(a))return;o.isFocusedProgrammatically=c;let e=G1.getTabsterContext(this._tabster,a),M=(Z=e===null||e===void 0?void 0:e.modalizer)===null||Z===void 0?void 0:Z.userId;if(M)o.modalizerId=M}let v=this._nextVal={element:a?new F5(this._win,a):void 0,detail:o};if(a&&a!==this._val)this._validateFocusedElement(a);if(this._nextVal===v)this.setVal(a,o);this._nextVal=void 0}setVal(a,l){if(super.setVal(a,l),a)this._lastVal=new F5(this._win,a)}static findNextTabbable(a,l,c,h,Z,o,v){let r=c||l.root.getElement();if(!r)return null;let e=null,M=n0._isTabbingTimer,t=a.getWindow();if(M)t.clearTimeout(M);n0.isTabbing=!0,n0._isTabbingTimer=t.setTimeout(()=>{delete n0._isTabbingTimer,n0.isTabbing=!1},0);let{modalizer:m,groupper:H,mover:A}=l,V=(i)=>{if(e=i.findNextTabbable(h,Z,o,v),h&&!(e===null||e===void 0?void 0:e.element)){let u=i!==m&&b.getParentElement(i.getElement());if(u){let L=G1.getTabsterContext(a,h,{referenceElement:u});if(L){let d=i.getElement(),g=o?d:d&&mV(d)||d;if(g){if(e=n0.findNextTabbable(a,L,c,g,u,o,v),e)e.outOfDOMOrder=!0}}}}};if(H&&A)V(l.groupperBeforeMover?H:A);else if(H)V(H);else if(A)V(A);else if(m)V(m);else{let i={container:r,currentElement:h,referenceElement:Z,ignoreAccessibility:v,useActiveModalizer:!0},u={};e={element:a.focusable[o?"findPrev":"findNext"](i,u),outOfDOMOrder:u.outOfDOMOrder,uncontrolled:u.uncontrolled}}return e}}n0.isTabbing=!1;/*!
|
|
74
|
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
75
|
+
* Licensed under the MIT License.
|
|
76
|
+
*/class AV extends y3{constructor(a,l,c,h){super(c,a,wh.Groupper,h,!0);this._setHandlers((Z,o,v)=>{var r,e;let M=a.get(),t=Z.input;if(M&&t){let m=G1.getTabsterContext(c,t);if(m){let H;if(H=(r=l.findNextTabbable(v||void 0,void 0,o,!0))===null||r===void 0?void 0:r.element,!H)H=(e=n0.findNextTabbable(c,m,void 0,Z.isOutside?t:Jx(M,!o),void 0,o,!0))===null||e===void 0?void 0:e.element;if(H)V2(H)}}})}}class VV extends g6{constructor(a,l,c,h,Z){super(a,l,h);if(this._shouldTabInside=!1,this.makeTabbable(!1),this._onDispose=c,!a.controlTab)this.dummyManager=new AV(this._element,this,a,Z)}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)JA(this._element,!0);delete this._first}findNextTabbable(a,l,c,h){let Z=this.getElement();if(!Z)return null;let o=d6(a)===Z;if(!this._shouldTabInside&&a&&b.nodeContains(Z,a)&&!o)return{element:void 0,outOfDOMOrder:!0};let v=this.getFirst(!0);if(!a||!b.nodeContains(Z,a)||o)return{element:v,outOfDOMOrder:!0};let r=this._tabster,e=null,M=!1,t;if(this._shouldTabInside&&v){let m={container:Z,currentElement:a,referenceElement:l,ignoreAccessibility:h,useActiveModalizer:!0},H={};if(e=r.focusable[c?"findPrev":"findNext"](m,H),M=!!H.outOfDOMOrder,!e&&this._props.tabbability===ra.LimitedTrapFocus)e=r.focusable[c?"findLast":"findFirst"]({container:Z,ignoreAccessibility:h,useActiveModalizer:!0},H),M=!0;t=H.uncontrolled}return{element:e,uncontrolled:t,outOfDOMOrder:M}}makeTabbable(a){this._shouldTabInside=a||!this._props.tabbability,JA(this._element,!this._shouldTabInside)}isActive(a){var l;let c=this.getElement()||null,h=!0;for(let o=b.getParentElement(c);o;o=b.getParentElement(o)){let v=(l=Q0(this._tabster,o))===null||l===void 0?void 0:l.groupper;if(v){if(!v._shouldTabInside)h=!1}}let Z=h?this._props.tabbability?this._shouldTabInside:!1:void 0;if(Z&&a){let o=this._tabster.focusedElement.getFocusedElement();if(o)Z=o!==this.getFirst(!0)}return Z}getFirst(a){var l;let c=this.getElement(),h;if(c){if(a&&this._tabster.focusable.isFocusable(c))return c;if(h=(l=this._first)===null||l===void 0?void 0:l.get(),!h){if(h=this._tabster.focusable.findFirst({container:c,useActiveModalizer:!0})||void 0,h)this.setFirst(h)}}return h}setFirst(a){if(a)this._first=new F5(this._tabster.getWindow,a);else delete this._first}acceptElement(a,l){let c=l.cachedGrouppers,h=b.getParentElement(this.getElement()),Z=h&&G1.getTabsterContext(this._tabster,h),o=Z===null||Z===void 0?void 0:Z.groupper,v=(Z===null||Z===void 0?void 0:Z.groupperBeforeMover)?o:void 0,r,e=(m)=>{let H=c[m.id],A;if(H)A=H.isActive;else A=this.isActive(!0),H=c[m.id]={isActive:A};return A};if(v){if(r=v.getElement(),!e(v)&&r&&l.container!==r&&b.nodeContains(l.container,r))return l.skippedFocusable=!0,NodeFilter.FILTER_REJECT}let M=e(this),t=this.getElement();if(t){if(M!==!0){if(t===a&&o){if(!r)r=o.getElement();if(r&&!e(o)&&b.nodeContains(l.container,r)&&r!==l.container)return l.skippedFocusable=!0,NodeFilter.FILTER_REJECT}if(t!==a&&b.nodeContains(t,a))return l.skippedFocusable=!0,NodeFilter.FILTER_REJECT;let m=c[this.id],H;if("first"in m)H=m.first;else H=m.first=this.getFirst(!0);if(H&&l.acceptCondition(H))if(l.rejectElementsFrom=t,l.skippedFocusable=!0,H!==l.from)return l.found=!0,l.foundElement=H,NodeFilter.FILTER_ACCEPT;else return NodeFilter.FILTER_REJECT}}return}}class iV{constructor(a,l){this._current={},this._grouppers={},this._init=()=>{let c=this._win();this._tabster.focusedElement.subscribeFirst(this._onFocus);let h=c.document,Z=b.getActiveElement(h);if(Z)this._onFocus(Z);h.addEventListener("mousedown",this._onMouseDown,!0),c.addEventListener("keydown",this._onKeyDown,!0),c.addEventListener(PA,this._onMoveFocus)},this._onGroupperDispose=(c)=>{delete this._grouppers[c.id]},this._onFocus=(c)=>{if(c)this._updateCurrent(c)},this._onMouseDown=(c)=>{let h=c.target;while(h&&!this._tabster.focusable.isFocusable(h))h=this._tabster.getParent(h);if(h)this._updateCurrent(h)},this._onKeyDown=(c)=>{if(c.key!==i0.Enter&&c.key!==i0.Escape)return;if(c.ctrlKey||c.altKey||c.shiftKey||c.metaKey)return;let h=this._tabster.focusedElement.getFocusedElement();if(h)this.handleKeyPress(h,c)},this._onMoveFocus=(c)=>{var h;let Z=c.composedPath()[0],o=(h=c.detail)===null||h===void 0?void 0:h.action;if(Z&&o!==void 0&&!c.defaultPrevented){if(o===bA.Enter)this._enterGroupper(Z);else this._escapeGroupper(Z);c.stopImmediatePropagation()}},this._tabster=a,this._win=l,a.queueInit(this._init)}dispose(){let a=this._win();if(this._tabster.focusedElement.cancelAsyncFocus(D7.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(PA,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 h=this._tabster,Z=new VV(h,a,this._onGroupperDispose,l,c);this._grouppers[Z.id]=Z;let o=h.focusedElement.getFocusedElement();if(o&&b.nodeContains(a,o)&&!this._updateTimer)this._updateTimer=this._win().setTimeout(()=>{if(delete this._updateTimer,o===h.focusedElement.getFocusedElement())this._updateCurrent(o)},0);return Z}forgetCurrentGrouppers(){this._current={}}_updateCurrent(a){var l;if(this._updateTimer)this._win().clearTimeout(this._updateTimer),delete this._updateTimer;let c=this._tabster,h={};for(let Z=c.getParent(a);Z;Z=c.getParent(Z)){let o=(l=Q0(c,Z))===null||l===void 0?void 0:l.groupper;if(o){h[o.id]=!0,this._current[o.id]=o;let v=o.isActive()||a!==Z&&(!o.getProps().delegated||o.getFirst(!1)!==a);o.makeTabbable(v)}}for(let Z of Object.keys(this._current)){let o=this._current[Z];if(!(o.id in h))o.makeTabbable(!1),o.setFirst(void 0),delete this._current[Z]}}_enterGroupper(a,l){let c=this._tabster,h=G1.getTabsterContext(c,a),Z=(h===null||h===void 0?void 0:h.groupper)||(h===null||h===void 0?void 0:h.modalizerInGroupper),o=Z===null||Z===void 0?void 0:Z.getElement();if(Z&&o&&(a===o||Z.getProps().delegated&&a===Z.getFirst(!1))){let v=c.focusable.findNext({container:o,currentElement:a,useActiveModalizer:!0});if(v&&(!l||l&&o.dispatchEvent(new s7({by:"groupper",owner:o,next:v,relatedEvent:l})))){if(l)l.preventDefault(),l.stopImmediatePropagation();return v.focus(),v}}return null}_escapeGroupper(a,l,c){let h=this._tabster,Z=G1.getTabsterContext(h,a),o=(Z===null||Z===void 0?void 0:Z.groupper)||(Z===null||Z===void 0?void 0:Z.modalizerInGroupper),v=o===null||o===void 0?void 0:o.getElement();if(o&&v&&b.nodeContains(v,a)){let r;if(a!==v||c)r=o.getFirst(!0);else{let e=b.getParentElement(v),M=e?G1.getTabsterContext(h,e):void 0;o=M===null||M===void 0?void 0:M.groupper,r=o===null||o===void 0?void 0:o.getFirst(!0)}if(r&&(!l||l&&v.dispatchEvent(new s7({by:"groupper",owner:v,next:r,relatedEvent:l})))){if(o)o.makeTabbable(!1);return r.focus(),r}}return null}moveFocus(a,l){return l===bA.Enter?this._enterGroupper(a):this._escapeGroupper(a)}handleKeyPress(a,l,c){let h=this._tabster,Z=G1.getTabsterContext(h,a);if(Z&&((Z===null||Z===void 0?void 0:Z.groupper)||(Z===null||Z===void 0?void 0:Z.modalizerInGroupper))){if(h.focusedElement.cancelAsyncFocus(D7.EscapeGroupper),Z.ignoreKeydown(l))return;if(l.key===i0.Enter)this._enterGroupper(a,l);else if(l.key===i0.Escape){let o=h.focusedElement.getFocusedElement();h.focusedElement.requestAsyncFocus(D7.EscapeGroupper,()=>{if(o!==h.focusedElement.getFocusedElement()&&(c&&!o||!c))return;this._escapeGroupper(a,l,c)},0)}}}}function JA(a,l){{let c=a.get();if(c)if(l)c.style.removeProperty("--tabster-groupper");else c.style.setProperty("--tabster-groupper","unlimited")}}/*!
|
|
77
|
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
78
|
+
* Licensed under the MIT License.
|
|
79
|
+
*/class nV extends Rr{constructor(a){super();this._onChange=(l)=>{this.setVal(l,void 0)},this._keyborg=n6(a()),this._keyborg.subscribe(this._onChange)}dispose(){if(super.dispose(),this._keyborg)this._keyborg.unsubscribe(this._onChange),u6(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())}}/*!
|
|
80
|
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
81
|
+
* Licensed under the MIT License.
|
|
82
|
+
*/var yx=0,tr="aria-hidden";function Hr(a,l,c,h,Z,o){{let v=a.get();if(v)if(l)v.style.removeProperty("--tabster-modalizer");else v.style.setProperty("--tabster-modalizer",c+","+h+","+(Z?"active":"inactive")+",,"+(o?`focused(${o})`:"not-focused"))}}class uV extends y3{constructor(a,l,c){super(l,a,wh.Modalizer,c);this._setHandlers((h,Z)=>{var o,v;let r=a.get(),e=r&&((o=G1.getRoot(l,r))===null||o===void 0?void 0:o.getElement()),M=h.input,t;if(e&&M){let m=d6(M),H=G1.getTabsterContext(l,m||M);if(H)t=(v=n0.findNextTabbable(l,H,e,M,void 0,Z,!0))===null||v===void 0?void 0:v.element;if(t)V2(t)}})}}class LV extends g6{constructor(a,l,c,h,Z,o){super(a,l,h);if(this._wasFocused=0,this.userId=h.id,this._onDispose=c,this._activeElements=o,!a.controlTab)this.dummyManager=new uV(this._element,a,Z);Hr(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,h=c.map((Z)=>Z.get()).indexOf(l);if(a){if(h<0)c.push(new F5(this._tabster.getWindow,l))}else if(h>=0)c.splice(h,1)}Hr(this._element,!1,this.id,this.userId,this._isActive,this._wasFocused),this._dispatchEvent(a)}}focused(a){if(!a)this._wasFocused=++yx;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 b.nodeContains(this.getElement(),a)}findNextTabbable(a,l,c,h){var Z,o;if(!this.getElement())return null;let r=this._tabster,e=null,M=!1,t,m=a&&((Z=G1.getRoot(r,a))===null||Z===void 0?void 0:Z.getElement());if(m){let H={container:m,currentElement:a,referenceElement:l,ignoreAccessibility:h,useActiveModalizer:!0},A={};if(e=r.focusable[c?"findPrev":"findNext"](H,A),!e&&this._props.isTrapped&&((o=r.modalizer)===null||o===void 0?void 0:o.activeId)){if(e=r.focusable[c?"findLast":"findFirst"]({container:m,ignoreAccessibility:h,useActiveModalizer:!0},A),e===null)e=a;M=!0}else M=!!A.outOfDOMOrder;t=A.uncontrolled}return{element:e,uncontrolled:t,outOfDOMOrder:M}}_dispatchEvent(a,l){let c=this.getElement(),h=!1;if(c){let Z=l?this._activeElements.map((o)=>o.get()):[c];for(let o of Z)if(o){let v={id:this.userId,element:c},r=a?new NA(v):new _A(v);if(o.dispatchEvent(r),r.defaultPrevented)h=!0}}return h}_remove(){Hr(this._element,!0)}}class dV{constructor(a,l,c){if(this._onModalizerDispose=(Z)=>{let{id:o,userId:v}=Z,r=this._parts[v];if(delete this._modalizers[o],r){if(delete r[o],Object.keys(r).length===0){delete this._parts[v];let e=this._activationHistory,M=[],t;for(let m=e.length;m--;){let H=e[m];if(H===v)continue;if(H!==t){if(t=H,H||M.length>0)M.unshift(H)}}if(this._activationHistory=M,this.activeId===v){let m=M[0],H=m?Object.values(this._parts[m])[0]:void 0;this.setActive(H)}}}},this._onKeyDown=(Z)=>{var o;if(Z.key!==i0.Escape)return;let v=this._tabster,r=v.focusedElement.getFocusedElement();if(r){let e=G1.getTabsterContext(v,r),M=e===null||e===void 0?void 0:e.modalizer;if(e&&!e.groupper&&(M===null||M===void 0?void 0:M.isActive())&&!e.ignoreKeydown(Z)){let t=M.userId;if(t){let m=this._parts[t];if(m){let H=Object.keys(m).map((A)=>{var V;let i=m[A],u=i.getElement(),L;if(u)L=(V=Q0(v,u))===null||V===void 0?void 0:V.groupper;return i&&u&&L?{el:u,focusedSince:i.focused(!0)}:{focusedSince:0}}).filter((A)=>A.focusedSince>0).sort((A,V)=>A.focusedSince>V.focusedSince?-1:A.focusedSince<V.focusedSince?1:0);if(H.length){let A=H[0].el;if(A)(o=v.groupper)===null||o===void 0||o.handleKeyPress(A,Z,!0)}}}}}},this._onFocus=(Z,o)=>{var v;let r=this._tabster,e=Z&&G1.getTabsterContext(r,Z);if(!e||!Z)return;let M=this._augMap;for(let A=Z;A;A=r.getParent(A))if(M.has(A))M.delete(A),mr(r,A,tr);let t=e.modalizer,m=Q0(r,Z),H=m===null||m===void 0?void 0:m.modalizer;if(H){if(H.focused(),H.userId===this.activeId&&m.groupper){let A=r.getParent(Z),V=A&&((v=G1.getTabsterContext(r,A))===null||v===void 0?void 0:v.modalizer);if(V)t=V;else{this.setActive(void 0);return}}}if(t===null||t===void 0||t.focused(),(t===null||t===void 0?void 0:t.userId)===this.activeId){this.currentIsOthersAccessible=t===null||t===void 0?void 0:t.getProps().isOthersAccessible;return}if(o.isFocusedProgrammatically||this.currentIsOthersAccessible||(t===null||t===void 0?void 0:t.getProps().isAlwaysAccessible))this.setActive(t);else{let A=this._win();A.clearTimeout(this._restoreModalizerFocusTimer),this._restoreModalizerFocusTimer=A.setTimeout(()=>this._restoreModalizerFocus(Z),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 h;let Z=new LV(this._tabster,a,this._onModalizerDispose,l,c,this.activeElements),o=Z.id,v=l.id;this._modalizers[o]=Z;let r=this._parts[v];if(!r)r=this._parts[v]={};r[o]=Z;let e=(h=this._tabster.focusedElement.getFocusedElement())!==null&&h!==void 0?h:null;if(a!==e&&b.nodeContains(a,e))if(v!==this.activeId)this.setActive(Z);else Z.makeActive(!0);return Z}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 Z=this._parts[c];if(Z)for(let o of Object.keys(Z))Z[o].makeActive(!1)}if(l){let Z=this._parts[l];if(Z)for(let o of Object.keys(Z))Z[o].makeActive(!0)}this.currentIsOthersAccessible=a===null||a===void 0?void 0:a.getProps().isOthersAccessible,this.hiddenUpdate();let h=this._activationHistory;if(h[0]!==l&&(l!==void 0||h.length>0))h.unshift(l)}focus(a,l,c){let h=this._tabster,Z=G1.getTabsterContext(h,a),o=Z===null||Z===void 0?void 0:Z.modalizer;if(o){this.setActive(o);let v=o.getProps(),r=o.getElement();if(r){if(l===void 0)l=v.isNoFocusFirst;if(!l&&h.keyboardNavigation.isNavigatingWithKeyboard()&&h.focusedElement.focusFirst({container:r}))return!0;if(c===void 0)c=v.isNoFocusDefault;if(!c&&h.focusedElement.focusDefault(r))return!0;h.focusedElement.resetFocus(r)}}else console.error("Element is not in Modalizer.",a);return!1}activate(a){var l;let c=a?(l=G1.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 h=l.modalizerUserId,Z=(c=l.currentCtx)===null||c===void 0?void 0:c.modalizer;if(h)for(let v of this.activeElements){let r=v.get();if(r&&(b.nodeContains(a,r)||r===a))return NodeFilter.FILTER_SKIP}let o=h===(Z===null||Z===void 0?void 0:Z.userId)||!h&&(Z===null||Z===void 0?void 0:Z.getProps().isAlwaysAccessible)?void 0:NodeFilter.FILTER_SKIP;if(o!==void 0)l.skippedFocusable=!0;return o}_hiddenUpdate(){var a;let l=this._tabster,c=l.getWindow().document.body,h=this.activeId,Z=this._parts,o=[],v=[],r=this._alwaysAccessibleSelector,e=r?Array.from(b.querySelectorAll(c,r)):[],M=[];for(let u of Object.keys(Z)){let L=Z[u];for(let d of Object.keys(L)){let g=L[d],R=g.getElement(),S=g.getProps().isAlwaysAccessible;if(R)if(u===h){if(M.push(R),!this.currentIsOthersAccessible)o.push(R)}else if(S)e.push(R);else v.push(R)}}let t=this._augMap,m=o.length>0?[...o,...e]:void 0,H=[],A=/*@__PURE__*/new WeakMap,V=(u,L)=>{var d;let g=u.tagName;if(g==="SCRIPT"||g==="STYLE")return;let R=!1;if(t.has(u))if(L)R=!0;else t.delete(u),mr(l,u,tr);else if(L&&!((d=this._accessibleCheck)===null||d===void 0?void 0:d.call(this,u,M))&&mr(l,u,tr,"true"))t.set(u,!0),R=!0;if(R)H.push(new F5(l.getWindow,u)),A.set(u,!0)},i=(u)=>{var L;for(let d=b.getFirstElementChild(u);d;d=b.getNextElementSibling(d)){let g=!1,R=!1,x=!1;if(m){let S=l.getParent(d);for(let p of m){if(d===p){g=!0;break}if(b.nodeContains(d,p)){R=!0;break}else if(b.nodeContains(p,S))x=!0}if(R||((L=d.__tabsterElementFlags)===null||L===void 0?void 0:L.noDirectAriaHidden))i(d);else if(!g&&!x)V(d,!0)}else V(d,!1)}};if(!m)e.forEach((u)=>V(u,!1));if(v.forEach((u)=>V(u,!0)),c)i(c);(a=this._aug)===null||a===void 0||a.map((u)=>u.get()).forEach((u)=>{if(u&&!A.get(u))V(u,!1)}),this._aug=H,this._augMap=A}_restoreModalizerFocus(a){var l;let c=a===null||a===void 0?void 0:a.ownerDocument;if(!a||!c)return;let h=this._tabster.focusedElement.getFocusedElement(),Z=h&&((l=G1.getTabsterContext(this._tabster,h))===null||l===void 0?void 0:l.modalizer);if(!h||h&&(Z===null||Z===void 0?void 0:Z.userId)===this.activeId)return;let o=this._tabster,v=G1.getTabsterContext(o,a),r=v===null||v===void 0?void 0:v.modalizer,e=this.activeId;if(!r&&!e||r&&e===r.userId)return;let M=v===null||v===void 0?void 0:v.root.getElement();if(M){let t=o.focusable.findFirst({container:M,useActiveModalizer:!0});if(t){if(a.compareDocumentPosition(t)&document.DOCUMENT_POSITION_PRECEDING){if(t=o.focusable.findLast({container:M,useActiveModalizer:!0}),!t)throw new Error("Something went wrong.")}o.focusedElement.focus(t);return}}a.blur()}}/*!
|
|
83
|
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
84
|
+
* Licensed under the MIT License.
|
|
85
|
+
*/var jx=/*@__PURE__*/["input","textarea","*[contenteditable]"].join(", ");class gV extends y3{constructor(a,l,c,h){super(l,a,wh.Mover,h);this._onFocusDummyInput=(Z)=>{var o,v;let r=this._element.get(),e=Z.input;if(r&&e){let M=G1.getTabsterContext(this._tabster,r),t;if(M)t=(o=n0.findNextTabbable(this._tabster,M,void 0,e,void 0,!Z.isFirst,!0))===null||o===void 0?void 0:o.element;let m=(v=this._getMemorized())===null||v===void 0?void 0:v.get();if(m&&this._tabster.focusable.isFocusable(m))t=m;if(t)V2(t)}},this._tabster=l,this._getMemorized=c,this._setHandlers(this._onFocusDummyInput)}}var Ar=1,$A=2,EA=3;class CV extends g6{constructor(a,l,c,h,Z){var o;super(a,l,h);if(this._visible={},this._onIntersection=(r)=>{for(let e of r){let M=e.target,t=ph(this._win,M),m,H=this._fullyVisible;if(e.intersectionRatio>=0.25){if(m=e.intersectionRatio>=0.75?o3.Visible:o3.PartiallyVisible,m===o3.Visible)H=t}else m=o3.Invisible;if(this._visible[t]!==m){if(m===void 0){if(delete this._visible[t],H===t)delete this._fullyVisible}else this._visible[t]=m,this._fullyVisible=H;let A=this.getState(M);if(A)M.dispatchEvent(new ir(A))}}},this._win=a.getWindow,this.visibilityTolerance=(o=h.visibilityTolerance)!==null&&o!==void 0?o: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 v=()=>h.memorizeCurrent?this._current:void 0;if(!a.controlTab)this.dummyManager=new gV(this._element,a,v,Z)}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 F5(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 h of c){let Z=h===null||h===void 0?void 0:h.get();if(Z&&((l=this._allElements)===null||l===void 0?void 0:l.get(Z))===this){let o=this._props;if(Z&&(o.visibilityAware!==void 0||o.trackState)){let v=this.getState(Z);if(v)Z.dispatchEvent(new ir(v))}}}})}getCurrent(){var a;return((a=this._current)===null||a===void 0?void 0:a.get())||null}findNextTabbable(a,l,c,h){let Z=this.getElement(),o=Z&&d6(a)===Z;if(!Z)return null;let v=null,r=!1,e;if(this._props.tabbable||o||a&&!b.nodeContains(Z,a)){let M={currentElement:a,referenceElement:l,container:Z,ignoreAccessibility:h,useActiveModalizer:!0},t={};v=this._tabster.focusable[c?"findPrev":"findNext"](M,t),r=!!t.outOfDOMOrder,e=t.uncontrolled}return{element:v,uncontrolled:e,outOfDOMOrder:r}}acceptElement(a,l){var c,h;if(!n0.isTabbing)return((c=l.currentCtx)===null||c===void 0?void 0:c.excludedFromMover)?NodeFilter.FILTER_REJECT:void 0;let{memorizeCurrent:Z,visibilityAware:o,hasDefault:v=!0}=this._props,r=this.getElement();if(r&&(Z||o||v)&&(!b.nodeContains(r,l.from)||d6(l.from)===r)){let e;if(Z){let M=(h=this._current)===null||h===void 0?void 0:h.get();if(M&&l.acceptCondition(M))e=M}if(!e&&v)e=this._tabster.focusable.findDefault({container:r,useActiveModalizer:!0});if(!e&&o)e=this._tabster.focusable.findElement({container:r,useActiveModalizer:!0,isBackward:l.isBackward,acceptCondition:(M)=>{var t;let m=ph(this._win,M),H=this._visible[m];return r!==M&&!!((t=this._allElements)===null||t===void 0?void 0:t.get(M))&&l.acceptCondition(M)&&(H===o3.Visible||H===o3.PartiallyVisible&&(o===o3.PartiallyVisible||!this._fullyVisible))}});if(e)return l.found=!0,l.foundElement=e,l.rejectElementsFrom=r,l.skippedFocusable=!0,NodeFilter.FILTER_ACCEPT}return}_observeState(){let a=this.getElement();if(this._unobserve||!a||typeof MutationObserver==="undefined")return;let l=this._win(),c=this._allElements=/*@__PURE__*/new WeakMap,h=this._tabster.focusable,Z=this._updateQueue=[],o=b.createMutationObserver((H)=>{for(let A of H){let{target:V,removedNodes:i,addedNodes:u}=A;if(A.type==="attributes"){if(A.attributeName==="tabindex")Z.push({element:V,type:$A})}else{for(let L=0;L<i.length;L++)Z.push({element:i[L],type:EA});for(let L=0;L<u.length;L++)Z.push({element:u[L],type:Ar})}}t()}),v=(H,A)=>{var V,i;let u=c.get(H);if(u&&A)(V=this._intersectionObserver)===null||V===void 0||V.unobserve(H),c.delete(H);if(!u&&!A)c.set(H,this),(i=this._intersectionObserver)===null||i===void 0||i.observe(H)},r=(H)=>{let A=h.isFocusable(H);if(c.get(H)){if(!A)v(H,!0)}else if(A)v(H)},e=(H)=>{let{mover:A}=m(H);if(A&&A!==this)if(A.getElement()===H&&h.isFocusable(H))v(H);else return;let V=Cr(l.document,H,(i)=>{let{mover:u,groupper:L}=m(i);if(u&&u!==this)return NodeFilter.FILTER_REJECT;let d=L===null||L===void 0?void 0:L.getFirst(!0);if(L&&L.getElement()!==i&&d&&d!==i)return NodeFilter.FILTER_REJECT;if(h.isFocusable(i))v(i);return NodeFilter.FILTER_SKIP});if(V){V.currentNode=H;while(V.nextNode());}},M=(H)=>{if(c.get(H))v(H,!0);for(let V=b.getFirstElementChild(H);V;V=b.getNextElementSibling(V))M(V)},t=()=>{if(!this._updateTimer&&Z.length)this._updateTimer=l.setTimeout(()=>{delete this._updateTimer;for(let{element:H,type:A}of Z)switch(A){case $A:r(H);break;case Ar:e(H);break;case EA:M(H);break}Z=this._updateQueue=[]},0)},m=(H)=>{let A={};for(let V=H;V;V=b.getParentElement(V)){let i=Q0(this._tabster,V);if(i){if(i.groupper&&!A.groupper)A.groupper=i.groupper;if(i.mover){A.mover=i.mover;break}}}return A};Z.push({element:a,type:Ar}),t(),o.observe(a,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["tabindex"]}),this._unobserve=()=>{o.disconnect()}}getState(a){let l=ph(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 Nx(a,l,c,h,Z,o,v,r){let e=c<Z?Z-c:v<a?a-v:0,M=h<o?o-h:r<l?l-r:0;return e===0?M:M===0?e:Math.sqrt(e*e+M*M)}class FV{constructor(a,l){this._init=()=>{let c=this._win();c.addEventListener("keydown",this._onKeyDown,!0),c.addEventListener(OA,this._onMoveFocus),c.addEventListener(UA,this._onMemorizedElement),this._tabster.focusedElement.subscribe(this._onFocus)},this._onMoverDispose=(c)=>{delete this._movers[c.id]},this._onFocus=(c)=>{var h;let Z=c,o=c;for(let v=b.getParentElement(c);v;v=b.getParentElement(v)){let r=(h=Q0(this._tabster,v))===null||h===void 0?void 0:h.mover;if(r)r.setCurrent(o),Z=void 0;if(!Z&&this._tabster.focusable.isFocusable(v))Z=o=v}},this._onKeyDown=async(c)=>{var h;if(this._ignoredInputTimer)this._win().clearTimeout(this._ignoredInputTimer),delete this._ignoredInputTimer;if((h=this._ignoredInputResolve)===null||h===void 0||h.call(this,!1),c.ctrlKey||c.altKey||c.shiftKey||c.metaKey)return;let Z=c.key,o;if(Z===i0.ArrowDown)o=g0.ArrowDown;else if(Z===i0.ArrowRight)o=g0.ArrowRight;else if(Z===i0.ArrowUp)o=g0.ArrowUp;else if(Z===i0.ArrowLeft)o=g0.ArrowLeft;else if(Z===i0.PageDown)o=g0.PageDown;else if(Z===i0.PageUp)o=g0.PageUp;else if(Z===i0.Home)o=g0.Home;else if(Z===i0.End)o=g0.End;if(!o)return;let v=this._tabster.focusedElement.getFocusedElement();if(!v||await this._isIgnoredInput(v,Z))return;this._moveFocus(v,o,c)},this._onMoveFocus=(c)=>{var h;let Z=c.composedPath()[0],o=(h=c.detail)===null||h===void 0?void 0:h.key;if(Z&&o!==void 0&&!c.defaultPrevented)this._moveFocus(Z,o),c.stopImmediatePropagation()},this._onMemorizedElement=(c)=>{var h;let Z=c.composedPath()[0],o=(h=c.detail)===null||h===void 0?void 0:h.memorizedElement;if(Z){let v=G1.getTabsterContext(this._tabster,Z),r=v===null||v===void 0?void 0:v.mover;if(r){if(o&&!b.nodeContains(r.getElement(),o))o=void 0;r.setCurrent(o),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(OA,this._onMoveFocus),l.removeEventListener(UA,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 h=new CV(this._tabster,a,this._onMoverDispose,l,c);return this._movers[h.id]=h,h}moveFocus(a,l){return this._moveFocus(a,l)}_moveFocus(a,l,c){var h,Z;let o=this._tabster,v=G1.getTabsterContext(o,a,{checkRtl:!0});if(!v||!v.mover||v.excludedFromMover||c&&v.ignoreKeydown(c))return null;let r=v.mover,e=r.getElement();if(v.groupperBeforeMover){let p=v.groupper;if(p&&!p.isActive(!0)){for(let O=b.getParentElement(p.getElement());O&&O!==e;O=b.getParentElement(O))if((Z=(h=Q0(o,O))===null||h===void 0?void 0:h.groupper)===null||Z===void 0?void 0:Z.isActive(!0))return null}else return null}if(!e)return null;let M=o.focusable,t=r.getProps(),m=t.direction||N5.Both,H=m===N5.Both,A=H||m===N5.Vertical,V=H||m===N5.Horizontal,i=m===N5.GridLinear,u=i||m===N5.Grid,L=t.cyclic,d,g,R,x=0,S=0;if(u)R=a.getBoundingClientRect(),x=Math.ceil(R.left),S=Math.floor(R.right);if(v.rtl){if(l===g0.ArrowRight)l=g0.ArrowLeft;else if(l===g0.ArrowLeft)l=g0.ArrowRight}if(l===g0.ArrowDown&&A||l===g0.ArrowRight&&(V||u)){if(d=M.findNext({currentElement:a,container:e,useActiveModalizer:!0}),d&&u){let p=Math.ceil(d.getBoundingClientRect().left);if(!i&&S>p)d=void 0}else if(!d&&L)d=M.findFirst({container:e,useActiveModalizer:!0})}else if(l===g0.ArrowUp&&A||l===g0.ArrowLeft&&(V||u)){if(d=M.findPrev({currentElement:a,container:e,useActiveModalizer:!0}),d&&u){let p=Math.floor(d.getBoundingClientRect().right);if(!i&&p>x)d=void 0}else if(!d&&L)d=M.findLast({container:e,useActiveModalizer:!0})}else if(l===g0.Home)if(u)M.findElement({container:e,currentElement:a,useActiveModalizer:!0,isBackward:!0,acceptCondition:(p)=>{var O;if(!M.isFocusable(p))return!1;let I=Math.ceil((O=p.getBoundingClientRect().left)!==null&&O!==void 0?O:0);if(p!==a&&x<=I)return!0;return d=p,!1}});else d=M.findFirst({container:e,useActiveModalizer:!0});else if(l===g0.End)if(u)M.findElement({container:e,currentElement:a,useActiveModalizer:!0,acceptCondition:(p)=>{var O;if(!M.isFocusable(p))return!1;let I=Math.ceil((O=p.getBoundingClientRect().left)!==null&&O!==void 0?O:0);if(p!==a&&x>=I)return!0;return d=p,!1}});else d=M.findLast({container:e,useActiveModalizer:!0});else if(l===g0.PageUp){if(M.findElement({currentElement:a,container:e,useActiveModalizer:!0,isBackward:!0,acceptCondition:(p)=>{if(!M.isFocusable(p))return!1;if(qA(this._win,p,r.visibilityTolerance))return d=p,!1;return!0}}),u&&d){let p=Math.ceil(d.getBoundingClientRect().left);M.findElement({currentElement:d,container:e,useActiveModalizer:!0,acceptCondition:(O)=>{if(!M.isFocusable(O))return!1;let I=Math.ceil(O.getBoundingClientRect().left);if(x<I||p>=I)return!0;return d=O,!1}})}g=!1}else if(l===g0.PageDown){if(M.findElement({currentElement:a,container:e,useActiveModalizer:!0,acceptCondition:(p)=>{if(!M.isFocusable(p))return!1;if(qA(this._win,p,r.visibilityTolerance))return d=p,!1;return!0}}),u&&d){let p=Math.ceil(d.getBoundingClientRect().left);M.findElement({currentElement:d,container:e,useActiveModalizer:!0,isBackward:!0,acceptCondition:(O)=>{if(!M.isFocusable(O))return!1;let I=Math.ceil(O.getBoundingClientRect().left);if(x>I||p<=I)return!0;return d=O,!1}})}g=!0}else if(u){let p=l===g0.ArrowUp,O=x,I=Math.ceil(R.top),Z1=S,o1=Math.floor(R.bottom),X,w,s=0;M.findAll({container:e,currentElement:a,isBackward:p,onElement:(P)=>{let Q=P.getBoundingClientRect(),N=Math.ceil(Q.left),H1=Math.ceil(Q.top),K=Math.floor(Q.right),i1=Math.floor(Q.bottom);if(p&&I<i1||!p&&o1>H1)return!0;let J=Math.ceil(Math.min(Z1,K))-Math.floor(Math.max(O,N)),E=Math.ceil(Math.min(Z1-O,K-N));if(J>0&&E>=J){let l1=J/E;if(l1>s)X=P,s=l1}else if(s===0){let l1=Nx(O,I,Z1,o1,N,H1,K,i1);if(w===void 0||l1<w)w=l1,X=P}else if(s>0)return!1;return!0}}),d=X}if(d&&(!c||c&&e.dispatchEvent(new s7({by:"mover",owner:e,next:d,relatedEvent:c})))){if(g!==void 0)Px(this._win,d,g);if(c)c.preventDefault(),c.stopImmediatePropagation();return V2(d),d}return null}async _isIgnoredInput(a,l){if(a.getAttribute("aria-expanded")==="true"&&a.hasAttribute("aria-activedescendant"))return!0;if(rV(a,jx)){let c=0,h=0,Z=0,o;if(a.tagName==="INPUT"||a.tagName==="TEXTAREA"){let v=a.type;if(Z=(a.value||"").length,v==="email"||v==="number"){if(Z){let e=b.getSelection(a);if(e){let M=e.toString().length,t=l===i0.ArrowLeft||l===i0.ArrowUp;if(e.modify("extend",t?"backward":"forward","character"),M!==e.toString().length)return e.modify("extend",t?"forward":"backward","character"),!0;else Z=0}}}else{let e=a.selectionStart;if(e===null)return v==="hidden";c=e||0,h=a.selectionEnd||0}}else if(a.contentEditable==="true")o=new(Gx(this._win))((v)=>{this._ignoredInputResolve=(H)=>{delete this._ignoredInputResolve,v(H)};let r=this._win();if(this._ignoredInputTimer)r.clearTimeout(this._ignoredInputTimer);let{anchorNode:e,focusNode:M,anchorOffset:t,focusOffset:m}=b.getSelection(a)||{};this._ignoredInputTimer=r.setTimeout(()=>{var H,A,V;delete this._ignoredInputTimer;let{anchorNode:i,focusNode:u,anchorOffset:L,focusOffset:d}=b.getSelection(a)||{};if(i!==e||u!==M||L!==t||d!==m){(H=this._ignoredInputResolve)===null||H===void 0||H.call(this,!1);return}if(c=L||0,h=d||0,Z=((A=a.textContent)===null||A===void 0?void 0:A.length)||0,i&&u){if(b.nodeContains(a,i)&&b.nodeContains(a,u)){if(i!==a){let g=!1,R=(x)=>{if(x===i)g=!0;else if(x===u)return!0;let S=x.textContent;if(S&&!b.getFirstChild(x)){let O=S.length;if(g){if(u!==i)h+=O}else c+=O,h+=O}let p=!1;for(let O=b.getFirstChild(x);O&&!p;O=O.nextSibling)p=R(O);return p};R(a)}}}(V=this._ignoredInputResolve)===null||V===void 0||V.call(this,!0)},0)});if(o&&!await o)return!0;if(c!==h)return!0;if(c>0&&(l===i0.ArrowLeft||l===i0.ArrowUp||l===i0.Home))return!0;if(c<Z&&(l===i0.ArrowRight||l===i0.ArrowDown||l===i0.End))return!0}return!1}}/*!
|
|
86
|
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
87
|
+
* Licensed under the MIT License.
|
|
88
|
+
*/function _x(a,l,c,h){if(typeof MutationObserver==="undefined")return()=>{};let Z=l.getWindow,o,v=(t)=>{var m,H,A,V,i;let u=/*@__PURE__*/new Set;for(let L of t){let{target:d,removedNodes:g,addedNodes:R}=L;if(L.type==="attributes"){if(L.attributeName===_2){if(!u.has(d))c(l,d)}}else{for(let x=0;x<g.length;x++){let S=g[x];u.add(S),r(S,!0),(H=(m=l._dummyObserver).domChanged)===null||H===void 0||H.call(m,d)}for(let x=0;x<R.length;x++)r(R[x]),(V=(A=l._dummyObserver).domChanged)===null||V===void 0||V.call(A,d)}}u.clear(),(i=l.modalizer)===null||i===void 0||i.hiddenUpdate()};function r(t,m){if(!o)o=S7(Z).elementByUId;e(t,m);let H=Cr(a,t,(A)=>{return e(A,m)});if(H)while(H.nextNode());}function e(t,m){var H;if(!t.getAttribute)return NodeFilter.FILTER_SKIP;let A=t.__tabsterElementUID;if(A&&o)if(m)delete o[A];else(H=o[A])!==null&&H!==void 0||(o[A]=new F5(Z,t));if(Q0(l,t)||t.hasAttribute(_2))c(l,t,m);return NodeFilter.FILTER_SKIP}let M=b.createMutationObserver(v);if(h)r(Z().document.body);return M.observe(a,{childList:!0,subtree:!0,attributes:!0,attributeFilter:[_2]}),()=>{M.disconnect()}}/*!
|
|
89
|
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
90
|
+
* Licensed under the MIT License.
|
|
91
|
+
*//*!
|
|
92
|
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
93
|
+
* Licensed under the MIT License.
|
|
94
|
+
*//*!
|
|
95
|
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
96
|
+
* Licensed under the MIT License.
|
|
97
|
+
*/class RV{constructor(a){this._isUncontrolledCompletely=a}isUncontrolledCompletely(a,l){var c;let h=(c=this._isUncontrolledCompletely)===null||c===void 0?void 0:c.call(this,a,l);return h===void 0?l:h}}/*!
|
|
98
|
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
99
|
+
* Licensed under the MIT License.
|
|
100
|
+
*/class xV extends g6{constructor(a,l,c){var h;super(a,l,c);if(this._hasFocus=!1,this._onFocusOut=(Z)=>{var o;let v=(o=this._element)===null||o===void 0?void 0:o.get();if(v&&Z.relatedTarget===null)v.dispatchEvent(new nr);if(v&&!b.nodeContains(v,Z.relatedTarget))this._hasFocus=!1},this._onFocusIn=()=>{this._hasFocus=!0},this._props.type===k7.Source){let Z=(h=this._element)===null||h===void 0?void 0:h.get();Z===null||Z===void 0||Z.addEventListener("focusout",this._onFocusOut),Z===null||Z===void 0||Z.addEventListener("focusin",this._onFocusIn),this._hasFocus=b.nodeContains(Z,Z&&b.getActiveElement(Z.ownerDocument))}}dispose(){var a;if(this._props.type===k7.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 nr)}}}class Dh{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>Dh.DEPTH)this._stack.shift();this._stack.push(new F5(this._getWindow,a))}pop(a){if(a===void 0)a=()=>!0;var l;let c=this._getWindow().document;for(let h=this._stack.length-1;h>=0;h--){let Z=(l=this._stack.pop())===null||l===void 0?void 0:l.get();if(Z&&b.nodeContains(c.body,b.getParentElement(Z))&&a(Z))return Z}return}}Dh.DEPTH=10;class pV{constructor(a){this._onRestoreFocus=(l)=>{var c,h;this._focusedElementState.cancelAsyncFocus(D7.Restorer);let Z=l.composedPath()[0];if(Z){let o=(h=(c=Q0(this._tabster,Z))===null||c===void 0?void 0:c.restorer)===null||h===void 0?void 0:h.getProps().id;this._focusedElementState.requestAsyncFocus(D7.Restorer,()=>this._restoreFocus(Z,o),0)}},this._onFocusIn=(l)=>{var c;if(!l)return;let h=Q0(this._tabster,l);if(((c=h===null||h===void 0?void 0:h.restorer)===null||c===void 0?void 0:c.getProps().type)!==k7.Target)return;this._history.push(l)},this._restoreFocus=(l,c)=>{var h;let Z=this._getWindow().document;if(b.getActiveElement(Z)!==Z.body)return;if(!this._keyboardNavState.isNavigatingWithKeyboard()&&b.nodeContains(Z.body,l))return;let o=(v)=>{var r,e;let M=(e=(r=Q0(this._tabster,v))===null||r===void 0?void 0:r.restorer)===null||e===void 0?void 0:e.getProps();return M?M.id:null};(h=this._history.pop((v)=>c===o(v)))===null||h===void 0||h.focus()},this._tabster=a,this._getWindow=a.getWindow,this._getWindow().addEventListener(Vr,this._onRestoreFocus),this._history=new Dh(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(D7.Restorer),a.removeEventListener(Vr,this._onRestoreFocus)}createRestorer(a,l){let c=new xV(this._tabster,a,l);if(l.type===k7.Target&&b.getActiveElement(a.ownerDocument)===a)this._history.push(a);return c}}/*!
|
|
101
|
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
102
|
+
* Licensed under the MIT License.
|
|
103
|
+
*/function ap(a,l){var c,h;if(!a||!l)return!1;let Z=l;while(Z){if(Z===a)return!0;if(typeof Z.assignedElements!=="function"&&((c=Z.assignedSlot)===null||c===void 0?void 0:c.parentNode))Z=(h=Z.assignedSlot)===null||h===void 0?void 0:h.parentNode;else if(Z.nodeType===document.DOCUMENT_FRAGMENT_NODE)Z=Z.host;else Z=Z.parentNode}return!1}/*!
|
|
104
|
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
105
|
+
* Licensed under the MIT License.
|
|
106
|
+
*//*!
|
|
107
|
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
108
|
+
* Licensed under the MIT License.
|
|
109
|
+
*/class L6{static _overrideAttachShadow(a){let l=a.Element.prototype.attachShadow;if(l.__origAttachShadow)return;Element.prototype.attachShadow=function(c){let h=l.call(this,c);for(let Z of L6._shadowObservers)Z._addSubObserver(h);return h},Element.prototype.attachShadow.__origAttachShadow=l}constructor(a){this._isObserving=!1,this._callbackWrapper=(l,c)=>{for(let h of l)if(h.type==="childList"){let{removedNodes:Z,addedNodes:o}=h;for(let v=0;v<Z.length;v++)this._walkShadows(Z[v],!0);for(let v=0;v<o.length;v++)this._walkShadows(o[v])}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&&ap(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,L6._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,h=c===null||c===void 0?void 0:c.defaultView;if(!c||!h)return;L6._overrideAttachShadow(h),L6._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 Z=a.shadowRoot;if(Z){this._addSubObserver(Z);return}}c.createTreeWalker(a,NodeFilter.SHOW_ELEMENT,{acceptNode:(Z)=>{if(Z.nodeType===Node.ELEMENT_NODE)if(l){let o=this._subObservers.get(Z);if(o)o.disconnect(),this._subObservers.delete(Z)}else{let o=Z.shadowRoot;if(o)this._addSubObserver(o)}return NodeFilter.FILTER_SKIP}}).nextNode()}takeRecords(){let a=this._observer.takeRecords();for(let l of this._subObservers.values())a.push(...l.takeRecords());return a}}L6._shadowObservers=/*@__PURE__*/new Set;/*!
|
|
110
|
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
111
|
+
* Licensed under the MIT License.
|
|
112
|
+
*//*!
|
|
113
|
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
114
|
+
* Licensed under the MIT License.
|
|
115
|
+
*//*!
|
|
116
|
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
117
|
+
* Licensed under the MIT License.
|
|
118
|
+
*/class wV{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 DV{constructor(a,l){var c,h;this._forgetMemorizedElements=[],this._wrappers=/*@__PURE__*/new Set,this._initQueue=[],this._version="8.5.4",this._noop=!1,this.getWindow=()=>{if(!this._win)throw new Error("Using disposed Tabster.");return this._win},this._storage=bx(a),this._win=a;let Z=this.getWindow;if(l===null||l===void 0?void 0:l.DOMAPI)Bx({...l.DOMAPI});this.keyboardNavigation=new nV(Z),this.focusedElement=new n0(this,Z),this.focusable=new HV(this),this.root=new G1(this,l===null||l===void 0?void 0:l.autoRoot),this.uncontrolled=new RV((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 eV(Z),this.getParent=(h=l===null||l===void 0?void 0:l.getParent)!==null&&h!==void 0?h:b.getParentNode,this.internal={stopObserver:()=>{if(this._unobserve)this._unobserve(),delete this._unobserve},resumeObserver:(o)=>{if(!this._unobserve){let v=Z().document;this._unobserve=_x(v,this,XA,o)}}},hV(Z),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 wV(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,h,Z,o,v,r;this.internal.stopObserver();let e=this._win;if(e===null||e===void 0||e.clearTimeout(this._initTimer),delete this._initTimer,this._initQueue=[],this._forgetMemorizedElements=[],e&&this._forgetMemorizedTimer)e.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(),(h=this.groupper)===null||h===void 0||h.dispose(),(Z=this.mover)===null||Z===void 0||Z.dispose(),(o=this.modalizer)===null||o===void 0||o.dispose(),(v=this.observedElement)===null||v===void 0||v.dispose(),(r=this.restorer)===null||r===void 0||r.dispose(),this.keyboardNavigation.dispose(),this.focusable.dispose(),this.focusedElement.dispose(),this.root.dispose(),this._dummyObserver.dispose(),Ux(this.getWindow),GA(this.getWindow),this._storage=/*@__PURE__*/new WeakMap,this._wrappers.clear(),e)Wx(e),delete e.__tabsterInstance,delete this._win}storageEntry(a,l){let c=this._storage,h=c.get(a);if(h){if(l===!1&&Object.keys(h).length===0)c.delete(a)}else if(l===!0)h={},c.set(a,h);return h}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())GA(this.getWindow,a),n0.forgetMemorized(this.focusedElement,a)},0),cV(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 sV(a,l){let c=lp(a);if(c)return c.createTabster(!1,l);return c=new DV(a,l),a.__tabsterInstance=c,c.createTabster()}function kV(a){let l=a.core;if(!l.groupper)l.groupper=new iV(l,l.getWindow);return l.groupper}function SV(a){let l=a.core;if(!l.mover)l.mover=new FV(l,l.getWindow);return l.mover}function sh(a,l,c){let h=a.core;if(!h.modalizer)h.modalizer=new dV(h,l,c);return h.modalizer}function kh(a){let l=a.core;if(!l.restorer)l.restorer=new pV(l);return l.restorer}function fV(a,l){a.core.disposeTabster(a,l)}function lp(a){return a.__tabsterInstance}/*!
|
|
119
|
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
120
|
+
* Licensed under the MIT License.
|
|
121
|
+
*//*!
|
|
122
|
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
123
|
+
* Licensed under the MIT License.
|
|
124
|
+
*//*!
|
|
125
|
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
126
|
+
* Licensed under the MIT License.
|
|
127
|
+
*/C();var cp=(a)=>{return a};function hp(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 sV(l,{autoRoot:{},controlTab:!1,getParent:V6,checkUncontrolledTrappingFocus:(h)=>{var Z;return!!((Z=h.firstElementChild)===null||Z===void 0?void 0:Z.hasAttribute("data-is-focus-trap-zone-bumper"))},DOMAPI:c})}function R5(a=cp){let{targetDocument:l}=C1(),c=q(null);$1(()=>{let h=hp(l);if(h)return c.current=a(h),()=>{fV(h),c.current=null}},[l,a]);{let h=Rh(a);if(h!==null&&h!==a)throw new Error(["@fluentui/react-tabster: ","The factory function passed to useTabster has changed. This should not ever happen."].join(`
|
|
128
|
+
`))}return c}C();var r3=(a)=>{R5();let l=ea(a,!0);return d1(()=>({[_2]:l}),[l])};var Ma=(a={})=>{let{circular:l,axis:c,memorizeCurrent:h=!0,tabbable:Z,ignoreDefaultKeydown:o,unstable_hasDefault:v}=a;return R5(SV),r3({mover:{cyclic:!!l,direction:Zp(c!==null&&c!==void 0?c:"vertical"),memorizeCurrent:h,tabbable:Z,hasDefault:v},...o&&{focusable:{ignoreKeydown:o}}})};function Zp(a){switch(a){case"horizontal":return N5.Horizontal;case"grid":return N5.Grid;case"grid-linear":return N5.GridLinear;case"both":return N5.Both;case"vertical":default:return N5.Vertical}}var j3=(a)=>{return R5(kV),r3({groupper:{tabbability:op(a===null||a===void 0?void 0:a.tabBehavior)},focusable:{ignoreKeydown:a===null||a===void 0?void 0:a.ignoreDefaultKeydown}})},op=(a)=>{switch(a){case"unlimited":return ra.Unlimited;case"limited":return ra.Limited;case"limited-trap-focus":return ra.LimitedTrapFocus;default:return}};C();var f7=()=>{let a=R5(),{targetDocument:l}=C1(),c=j((r,e)=>{var M;return((M=a.current)===null||M===void 0?void 0:M.focusable.findAll({container:r,acceptCondition:e}))||[]},[a]),h=j((r)=>{var e;return(e=a.current)===null||e===void 0?void 0:e.focusable.findFirst({container:r})},[a]),Z=j((r)=>{var e;return(e=a.current)===null||e===void 0?void 0:e.focusable.findLast({container:r})},[a]),o=j((r,e={})=>{if(!a.current||!l)return null;let{container:M=l.body}=e;return a.current.focusable.findNext({currentElement:r,container:M})},[a,l]),v=j((r,e={})=>{if(!a.current||!l)return null;let{container:M=l.body}=e;return a.current.focusable.findPrev({currentElement:r,container:M})},[a,l]);return{findAllFocusable:c,findFirstFocusable:h,findLastFocusable:Z,findNextFocusable:o,findPrevFocusable:v}};C();var xr="data-fui-focus-visible",pr="data-fui-focus-within";function BV(a,l){if(TV(a))return()=>{return};let c={current:void 0},h=n6(l);function Z(e){if(h.isNavigatingWithKeyboard()&&q1(e))c.current=e,e.setAttribute(xr,"")}function o(){if(c.current)c.current.removeAttribute(xr),c.current=void 0}h.subscribe((e)=>{if(!e)o()});let v=(e)=>{o();let M=e.composedPath()[0];Z(M)},r=(e)=>{if(!e.relatedTarget||q1(e.relatedTarget)&&!a.contains(e.relatedTarget))o()};if(a.addEventListener(C5,v),a.addEventListener("focusout",r),a.focusVisible=!0,a.contains(l.document.activeElement))Z(l.document.activeElement);return()=>{o(),a.removeEventListener(C5,v),a.removeEventListener("focusout",r),delete a.focusVisible,u6(h)}}function TV(a){if(!a)return!1;if(a.focusVisible)return!0;return TV(a===null||a===void 0?void 0:a.parentElement)}function B7(a={}){let l=C1(),c=q(null);var h;let Z=(h=a.targetDocument)!==null&&h!==void 0?h:l.targetDocument;return M1(()=>{if((Z===null||Z===void 0?void 0:Z.defaultView)&&c.current)return BV(c.current,Z.defaultView)},[c,Z]),c}C();function OV(a,l){let c=n6(l);c.subscribe((o)=>{if(!o)WV(a)});let h=(o)=>{if(c.isNavigatingWithKeyboard()&&bV(o.target))vp(a)},Z=(o)=>{if(!o.relatedTarget||bV(o.relatedTarget)&&!a.contains(o.relatedTarget))WV(a)};return a.addEventListener(C5,h),a.addEventListener("focusout",Z),()=>{a.removeEventListener(C5,h),a.removeEventListener("focusout",Z),u6(c)}}function vp(a){a.setAttribute(pr,"")}function WV(a){a.removeAttribute(pr)}function bV(a){if(!a)return!1;return Boolean(a&&typeof a==="object"&&"classList"in a&&"contains"in a)}function i2(){let{targetDocument:a}=C1(),l=q(null);return M1(()=>{if((a===null||a===void 0?void 0:a.defaultView)&&l.current)return OV(l.current,a.defaultView)},[l,a]),l}var UV="data-tabster-never-hide",fq={[UV]:""};var rp=(a)=>{return a.hasAttribute(UV)};function ep(a){sh(a,void 0,rp),kh(a)}var n2=(a={})=>{let{trapFocus:l,alwaysFocusable:c,legacyTrapFocus:h}=a;R5(ep);let Z=M0("modal-",a.id),o=r3({restorer:{type:k7.Source},...l&&{modalizer:{id:Z,isOthersAccessible:!l,isAlwaysAccessible:c,isTrapped:h&&l}}}),v=r3({restorer:{type:k7.Target}});return{modalAttributes:o,triggerAttributes:v}};function T7(){return R5(kh),ea({restorer:{type:k7.Source}})}C();function Sh(){let a=R5(sh),[l]=j2();return j((h)=>{l(()=>{var Z;(Z=a.current)===null||Z===void 0||Z.activate(h)},0)},[a,l])}var T={"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"},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)"},x5={"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)"},IV={"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)"},qV={"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)"},wr={"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)"},p1="#ffffff",C6="#000000";var GV={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 Dr={shade50:"#200205",shade40:"#3b0509",shade30:"#6e0811",shade20:"#960b18",shade10:"#b10e1c",primary:"#c50f1f",tint10:"#cc2635",tint20:"#d33f4c",tint30:"#dc626d",tint40:"#eeacb2",tint50:"#f6d1d5",tint60:"#fdf3f4"},zV={shade50:"#210809",shade40:"#3f1011",shade30:"#751d1f",shade20:"#9f282b",shade10:"#bc2f32",primary:"#d13438",tint10:"#d7494c",tint20:"#dc5e62",tint30:"#e37d80",tint40:"#f1bbbc",tint50:"#f8dadb",tint60:"#fdf6f6"},KV={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 JV={shade50:"#200d03",shade40:"#3d1805",shade30:"#712d09",shade20:"#9a3d0c",shade10:"#b6480e",primary:"#ca5010",tint10:"#d06228",tint20:"#d77440",tint30:"#df8e64",tint40:"#efc4ad",tint50:"#f7dfd2",tint60:"#fdf7f4"},$V={shade50:"#271002",shade40:"#4a1e04",shade30:"#8a3707",shade20:"#bc4b09",shade10:"#de590b",primary:"#f7630c",tint10:"#f87528",tint20:"#f98845",tint30:"#faa06b",tint40:"#fdcfb4",tint50:"#fee5d7",tint60:"#fff9f5"},EV={shade50:"#291600",shade40:"#4d2a00",shade30:"#8f4e00",shade20:"#c26a00",shade10:"#e67e00",primary:"#ff8c00",tint10:"#ff9a1f",tint20:"#ffa83d",tint30:"#ffba66",tint40:"#ffddb3",tint50:"#ffedd6",tint60:"#fffaf5"},QV={shade50:"#251a00",shade40:"#463100",shade30:"#835b00",shade20:"#b27c00",shade10:"#d39300",primary:"#eaa300",tint10:"#edad1c",tint20:"#efb839",tint30:"#f2c661",tint40:"#f9e2ae",tint50:"#fcefd3",tint60:"#fefbf4"},YV={shade50:"#282400",shade40:"#4c4400",shade30:"#817400",shade20:"#c0ad00",shade10:"#e4cc00",primary:"#fde300",tint10:"#fde61e",tint20:"#fdea3d",tint30:"#feee66",tint40:"#fef7b2",tint50:"#fffad6",tint60:"#fffef5"},XV={shade50:"#1f1900",shade40:"#3a2f00",shade30:"#6c5700",shade20:"#937700",shade10:"#ae8c00",primary:"#c19c00",tint10:"#c8a718",tint20:"#d0b232",tint30:"#dac157",tint40:"#ecdfa5",tint50:"#f5eece",tint60:"#fdfbf2"},yV={shade50:"#181202",shade40:"#2e2103",shade30:"#553e06",shade20:"#745408",shade10:"#89640a",primary:"#986f0b",tint10:"#a47d1e",tint20:"#b18c34",tint30:"#c1a256",tint40:"#e0cea2",tint50:"#efe4cb",tint60:"#fbf8f2"},jV={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 NV={shade50:"#0c1501",shade40:"#162702",shade30:"#294903",shade20:"#376304",shade10:"#427505",primary:"#498205",tint10:"#599116",tint20:"#6ba02b",tint30:"#85b44c",tint40:"#bdd99b",tint50:"#dbebc7",tint60:"#f6faf0"},_V={shade50:"#002111",shade40:"#003d20",shade30:"#00723b",shade20:"#009b51",shade10:"#00b85f",primary:"#00cc6a",tint10:"#19d279",tint20:"#34d889",tint30:"#5ae0a0",tint40:"#a8f0cd",tint50:"#cff7e4",tint60:"#f3fdf8"},ai={shade50:"#031a02",shade40:"#063004",shade30:"#0b5a08",shade20:"#0e7a0b",shade10:"#11910d",primary:"#13a10e",tint10:"#27ac22",tint20:"#3db838",tint30:"#5ec75a",tint40:"#a7e3a5",tint50:"#cef0cd",tint60:"#f2fbf2"},sr={shade50:"#031403",shade40:"#052505",shade30:"#094509",shade20:"#0c5e0c",shade10:"#0e700e",primary:"#107c10",tint10:"#218c21",tint20:"#359b35",tint30:"#54b054",tint40:"#9fd89f",tint50:"#c9eac9",tint60:"#f1faf1"},li={shade50:"#021102",shade40:"#032003",shade30:"#063b06",shade20:"#085108",shade10:"#0a5f0a",primary:"#0b6a0b",tint10:"#1a7c1a",tint20:"#2d8e2d",tint30:"#4da64d",tint40:"#9ad29a",tint50:"#c6e7c6",tint60:"#f0f9f0"},ci={shade50:"#001d1f",shade40:"#00373a",shade30:"#00666d",shade20:"#008b94",shade10:"#00a5af",primary:"#00b7c3",tint10:"#18bfca",tint20:"#32c8d1",tint30:"#58d3db",tint40:"#a6e9ed",tint50:"#cef3f5",tint60:"#f2fcfd"},hi={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 Zi={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 oi={shade50:"#001322",shade40:"#002440",shade30:"#004377",shade20:"#005ba1",shade10:"#006cbf",primary:"#0078d4",tint10:"#1a86d9",tint20:"#3595de",tint30:"#5caae5",tint40:"#a9d3f2",tint50:"#d0e7f8",tint60:"#f3f9fd"},vi={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 ri={shade50:"#0d1126",shade40:"#182047",shade30:"#2c3c85",shade20:"#3c51b4",shade10:"#4760d5",primary:"#4f6bed",tint10:"#637cef",tint20:"#778df1",tint30:"#93a4f4",tint40:"#c8d1fa",tint50:"#e1e6fc",tint60:"#f7f9fe"},ei={shade50:"#00061d",shade40:"#000c36",shade30:"#001665",shade20:"#001e89",shade10:"#0023a2",primary:"#0027b4",tint10:"#173bbd",tint20:"#3050c6",tint30:"#546fd2",tint40:"#a3b2e8",tint50:"#ccd5f3",tint60:"#f2f4fc"},Mi={shade50:"#120f25",shade40:"#221d46",shade30:"#3f3682",shade20:"#5649b0",shade10:"#6656d1",primary:"#7160e8",tint10:"#8172eb",tint20:"#9184ee",tint30:"#a79cf1",tint40:"#d2ccf8",tint50:"#e7e4fb",tint60:"#f9f8fe"},mi={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 ti={shade50:"#160418",shade40:"#29072e",shade30:"#4c0d55",shade20:"#671174",shade10:"#7a1589",primary:"#881798",tint10:"#952aa4",tint20:"#a33fb1",tint30:"#b55fc1",tint40:"#d9a7e0",tint50:"#eaceef",tint60:"#faf2fb"},Hi={shade50:"#1f091d",shade40:"#3a1136",shade30:"#6d2064",shade20:"#932b88",shade10:"#af33a1",primary:"#c239b3",tint10:"#c94cbc",tint20:"#d161c4",tint30:"#da7ed0",tint40:"#edbbe7",tint50:"#f5daf2",tint60:"#fdf5fc"},Ai={shade50:"#1c0b1f",shade40:"#35153a",shade30:"#63276d",shade20:"#863593",shade10:"#9f3faf",primary:"#b146c2",tint10:"#ba58c9",tint20:"#c36bd1",tint30:"#cf87da",tint40:"#e6bfed",tint50:"#f2dcf5",tint60:"#fcf6fd"},Vi={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 ii={shade50:"#1f0013",shade40:"#390024",shade30:"#6b0043",shade20:"#91005a",shade10:"#ac006b",primary:"#bf0077",tint10:"#c71885",tint20:"#ce3293",tint30:"#d957a8",tint40:"#eca5d1",tint50:"#f5cee6",tint60:"#fcf2f9"},ni={shade50:"#13000c",shade40:"#240017",shade30:"#43002b",shade20:"#5a003b",shade10:"#6b0045",primary:"#77004d",tint10:"#87105d",tint20:"#98246f",tint30:"#ad4589",tint40:"#d696c0",tint50:"#e9c4dc",tint60:"#faf0f6"},ui={shade50:"#141313",shade40:"#252323",shade30:"#444241",shade20:"#5d5958",shade10:"#6e6968",primary:"#7a7574",tint10:"#8a8584",tint20:"#9a9594",tint30:"#afabaa",tint40:"#d7d4d4",tint50:"#eae8e8",tint60:"#faf9f9"},Li={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 di={shade50:"#111314",shade40:"#1f2426",shade30:"#3b4447",shade20:"#505c60",shade10:"#5f6d71",primary:"#69797e",tint10:"#79898d",tint20:"#89989d",tint30:"#a0adb2",tint40:"#cdd6d8",tint50:"#e4e9ea",tint60:"#f8f9fa"},gi={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 O1={red:zV,green:sr,darkOrange:KV,yellow:YV,berry:Hi,lightGreen:ai,marigold:QV},l7={darkRed:GV,cranberry:Dr,pumpkin:JV,peach:EV,gold:XV,brass:yV,brown:jV,forest:NV,seafoam:_V,darkGreen:li,lightTeal:ci,teal:hi,steel:Zi,blue:oi,royalBlue:vi,cornflower:ri,navy:ei,lavender:Mi,purple:mi,grape:ti,lilac:Ai,pink:Vi,magenta:ii,plum:ni,beige:ui,mink:Li,platinum:di,anchor:gi},b1={cranberry:Dr,green:sr,orange:$V};var fh=["red","green","darkOrange","yellow","berry","lightGreen","marigold"],Bh=["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 M5={success:"green",warning:"orange",danger:"cranberry"};var ma=fh.reduce((a,l)=>{let c=l.slice(0,1).toUpperCase()+l.slice(1),h={[`colorPalette${c}Background1`]:O1[l].tint60,[`colorPalette${c}Background2`]:O1[l].tint40,[`colorPalette${c}Background3`]:O1[l].primary,[`colorPalette${c}Foreground1`]:O1[l].shade10,[`colorPalette${c}Foreground2`]:O1[l].shade30,[`colorPalette${c}Foreground3`]:O1[l].primary,[`colorPalette${c}BorderActive`]:O1[l].primary,[`colorPalette${c}Border1`]:O1[l].tint40,[`colorPalette${c}Border2`]:O1[l].primary};return Object.assign(a,h)},{});ma.colorPaletteYellowForeground1=O1.yellow.shade30;ma.colorPaletteRedForegroundInverted=O1.red.tint20;ma.colorPaletteGreenForegroundInverted=O1.green.tint20;ma.colorPaletteYellowForegroundInverted=O1.yellow.tint40;var mp=Bh.reduce((a,l)=>{let c=l.slice(0,1).toUpperCase()+l.slice(1),h={[`colorPalette${c}Background2`]:l7[l].tint40,[`colorPalette${c}Foreground2`]:l7[l].shade30,[`colorPalette${c}BorderActive`]:l7[l].primary};return Object.assign(a,h)},{}),Ci={...ma,...mp},N3=Object.entries(M5).reduce((a,[l,c])=>{let h=l.slice(0,1).toUpperCase()+l.slice(1),Z={[`colorStatus${h}Background1`]:b1[c].tint60,[`colorStatus${h}Background2`]:b1[c].tint40,[`colorStatus${h}Background3`]:b1[c].primary,[`colorStatus${h}Foreground1`]:b1[c].shade10,[`colorStatus${h}Foreground2`]:b1[c].shade30,[`colorStatus${h}Foreground3`]:b1[c].primary,[`colorStatus${h}ForegroundInverted`]:b1[c].tint30,[`colorStatus${h}BorderActive`]:b1[c].primary,[`colorStatus${h}Border1`]:b1[c].tint40,[`colorStatus${h}Border2`]:b1[c].primary};return Object.assign(a,Z)},{});N3.colorStatusDangerBackground3Hover=b1[M5.danger].shade10;N3.colorStatusDangerBackground3Pressed=b1[M5.danger].shade20;N3.colorStatusWarningForeground1=b1[M5.warning].shade20;N3.colorStatusWarningForeground3=b1[M5.warning].shade20;N3.colorStatusWarningBorder2=b1[M5.warning].shade20;var Fi=(a)=>({colorNeutralForeground1:T[14],colorNeutralForeground1Hover:T[14],colorNeutralForeground1Pressed:T[14],colorNeutralForeground1Selected:T[14],colorNeutralForeground2:T[26],colorNeutralForeground2Hover:T[14],colorNeutralForeground2Pressed:T[14],colorNeutralForeground2Selected:T[14],colorNeutralForeground2BrandHover:a[80],colorNeutralForeground2BrandPressed:a[70],colorNeutralForeground2BrandSelected:a[80],colorNeutralForeground3:T[38],colorNeutralForeground3Hover:T[26],colorNeutralForeground3Pressed:T[26],colorNeutralForeground3Selected:T[26],colorNeutralForeground3BrandHover:a[80],colorNeutralForeground3BrandPressed:a[70],colorNeutralForeground3BrandSelected:a[80],colorNeutralForeground4:T[44],colorNeutralForegroundDisabled:T[74],colorNeutralForegroundInvertedDisabled:U0[40],colorBrandForegroundLink:a[70],colorBrandForegroundLinkHover:a[60],colorBrandForegroundLinkPressed:a[40],colorBrandForegroundLinkSelected:a[70],colorNeutralForeground2Link:T[26],colorNeutralForeground2LinkHover:T[14],colorNeutralForeground2LinkPressed:T[14],colorNeutralForeground2LinkSelected:T[14],colorCompoundBrandForeground1:a[80],colorCompoundBrandForeground1Hover:a[70],colorCompoundBrandForeground1Pressed:a[60],colorBrandForeground1:a[80],colorBrandForeground2:a[70],colorBrandForeground2Hover:a[60],colorBrandForeground2Pressed:a[30],colorNeutralForeground1Static:T[14],colorNeutralForegroundStaticInverted:p1,colorNeutralForegroundInverted:p1,colorNeutralForegroundInvertedHover:p1,colorNeutralForegroundInvertedPressed:p1,colorNeutralForegroundInvertedSelected:p1,colorNeutralForegroundInverted2:p1,colorNeutralForegroundOnBrand:p1,colorNeutralForegroundInvertedLink:p1,colorNeutralForegroundInvertedLinkHover:p1,colorNeutralForegroundInvertedLinkPressed:p1,colorNeutralForegroundInvertedLinkSelected:p1,colorBrandForegroundInverted:a[100],colorBrandForegroundInvertedHover:a[110],colorBrandForegroundInvertedPressed:a[100],colorBrandForegroundOnLight:a[80],colorBrandForegroundOnLightHover:a[70],colorBrandForegroundOnLightPressed:a[50],colorBrandForegroundOnLightSelected:a[60],colorNeutralBackground1:p1,colorNeutralBackground1Hover:T[96],colorNeutralBackground1Pressed:T[88],colorNeutralBackground1Selected:T[92],colorNeutralBackground2:T[98],colorNeutralBackground2Hover:T[94],colorNeutralBackground2Pressed:T[86],colorNeutralBackground2Selected:T[90],colorNeutralBackground3:T[96],colorNeutralBackground3Hover:T[92],colorNeutralBackground3Pressed:T[84],colorNeutralBackground3Selected:T[88],colorNeutralBackground4:T[94],colorNeutralBackground4Hover:T[98],colorNeutralBackground4Pressed:T[96],colorNeutralBackground4Selected:p1,colorNeutralBackground5:T[92],colorNeutralBackground5Hover:T[96],colorNeutralBackground5Pressed:T[94],colorNeutralBackground5Selected:T[98],colorNeutralBackground6:T[90],colorNeutralBackgroundInverted:T[16],colorNeutralBackgroundStatic:T[20],colorNeutralBackgroundAlpha:U0[50],colorNeutralBackgroundAlpha2:U0[80],colorSubtleBackground:"transparent",colorSubtleBackgroundHover:T[96],colorSubtleBackgroundPressed:T[88],colorSubtleBackgroundSelected:T[92],colorSubtleBackgroundLightAlphaHover:U0[70],colorSubtleBackgroundLightAlphaPressed:U0[50],colorSubtleBackgroundLightAlphaSelected:"transparent",colorSubtleBackgroundInverted:"transparent",colorSubtleBackgroundInvertedHover:x5[10],colorSubtleBackgroundInvertedPressed:x5[30],colorSubtleBackgroundInvertedSelected:x5[20],colorTransparentBackground:"transparent",colorTransparentBackgroundHover:"transparent",colorTransparentBackgroundPressed:"transparent",colorTransparentBackgroundSelected:"transparent",colorNeutralBackgroundDisabled:T[94],colorNeutralBackgroundInvertedDisabled:U0[10],colorNeutralStencil1:T[90],colorNeutralStencil2:T[98],colorNeutralStencil1Alpha:x5[10],colorNeutralStencil2Alpha:x5[5],colorBackgroundOverlay:x5[40],colorScrollbarOverlay:x5[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:p1,colorBrandBackgroundInvertedHover:a[160],colorBrandBackgroundInvertedPressed:a[140],colorBrandBackgroundInvertedSelected:a[150],colorNeutralCardBackground:T[98],colorNeutralCardBackgroundHover:p1,colorNeutralCardBackgroundPressed:T[96],colorNeutralCardBackgroundSelected:T[92],colorNeutralCardBackgroundDisabled:T[94],colorNeutralStrokeAccessible:T[38],colorNeutralStrokeAccessibleHover:T[34],colorNeutralStrokeAccessiblePressed:T[30],colorNeutralStrokeAccessibleSelected:a[80],colorNeutralStroke1:T[82],colorNeutralStroke1Hover:T[78],colorNeutralStroke1Pressed:T[70],colorNeutralStroke1Selected:T[74],colorNeutralStroke2:T[88],colorNeutralStroke3:T[94],colorNeutralStrokeSubtle:T[88],colorNeutralStrokeOnBrand:p1,colorNeutralStrokeOnBrand2:p1,colorNeutralStrokeOnBrand2Hover:p1,colorNeutralStrokeOnBrand2Pressed:p1,colorNeutralStrokeOnBrand2Selected:p1,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:T[88],colorNeutralStrokeInvertedDisabled:U0[40],colorTransparentStroke:"transparent",colorTransparentStrokeInteractive:"transparent",colorTransparentStrokeDisabled:"transparent",colorNeutralStrokeAlpha:x5[5],colorNeutralStrokeAlpha2:U0[20],colorStrokeFocus1:p1,colorStrokeFocus2:C6,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 ta={borderRadiusNone:"0",borderRadiusSmall:"2px",borderRadiusMedium:"4px",borderRadiusLarge:"6px",borderRadiusXLarge:"8px",borderRadiusCircular:"10000px"};var Th={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 Wh={durationUltraFast:"50ms",durationFaster:"100ms",durationFast:"150ms",durationNormal:"200ms",durationGentle:"250ms",durationSlow:"300ms",durationSlower:"400ms",durationUltraSlow:"500ms"};var Ha={fontSizeBase100:"10px",fontSizeBase200:"12px",fontSizeBase300:"14px",fontSizeBase400:"16px",fontSizeBase500:"20px",fontSizeBase600:"24px",fontSizeHero700:"28px",fontSizeHero800:"32px",fontSizeHero900:"40px",fontSizeHero1000:"68px"},Aa={lineHeightBase100:"14px",lineHeightBase200:"16px",lineHeightBase300:"20px",lineHeightBase400:"22px",lineHeightBase500:"28px",lineHeightBase600:"32px",lineHeightHero700:"36px",lineHeightHero800:"40px",lineHeightHero900:"52px",lineHeightHero1000:"92px"},Va={fontWeightRegular:400,fontWeightMedium:500,fontWeightSemibold:600,fontWeightBold:700},ia={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 u0={none:"0",xxs:"2px",xs:"4px",sNudge:"6px",s:"8px",mNudge:"10px",m:"12px",l:"16px",xl:"20px",xxl:"24px",xxxl:"32px"},bh={spacingHorizontalNone:u0.none,spacingHorizontalXXS:u0.xxs,spacingHorizontalXS:u0.xs,spacingHorizontalSNudge:u0.sNudge,spacingHorizontalS:u0.s,spacingHorizontalMNudge:u0.mNudge,spacingHorizontalM:u0.m,spacingHorizontalL:u0.l,spacingHorizontalXL:u0.xl,spacingHorizontalXXL:u0.xxl,spacingHorizontalXXXL:u0.xxxl},Oh={spacingVerticalNone:u0.none,spacingVerticalXXS:u0.xxs,spacingVerticalXS:u0.xs,spacingVerticalSNudge:u0.sNudge,spacingVerticalS:u0.s,spacingVerticalMNudge:u0.mNudge,spacingVerticalM:u0.m,spacingVerticalL:u0.l,spacingVerticalXL:u0.xl,spacingVerticalXXL:u0.xxl,spacingVerticalXXXL:u0.xxxl};var na={strokeWidthThin:"1px",strokeWidthThick:"2px",strokeWidthThicker:"3px",strokeWidthThickest:"4px"};var Q1={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)",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)",colorNeutralBackgroundInverted:"var(--colorNeutralBackgroundInverted)",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)",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)",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)",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)",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 F6(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 e3=(a)=>{let l=Fi(a);return{...ta,...Ha,...Aa,...ia,...Va,...na,...bh,...Oh,...Wh,...Th,...l,...Ci,...N3,...F6(l.colorNeutralShadowAmbient,l.colorNeutralShadowKey),...F6(l.colorBrandShadowAmbient,l.colorBrandShadowKey,"Brand")}};var Ri={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 c7=fh.reduce((a,l)=>{let c=l.slice(0,1).toUpperCase()+l.slice(1),h={[`colorPalette${c}Background1`]:O1[l].shade40,[`colorPalette${c}Background2`]:O1[l].shade30,[`colorPalette${c}Background3`]:O1[l].primary,[`colorPalette${c}Foreground1`]:O1[l].tint30,[`colorPalette${c}Foreground2`]:O1[l].tint40,[`colorPalette${c}Foreground3`]:O1[l].tint20,[`colorPalette${c}BorderActive`]:O1[l].tint30,[`colorPalette${c}Border1`]:O1[l].primary,[`colorPalette${c}Border2`]:O1[l].tint20};return Object.assign(a,h)},{});c7.colorPaletteRedForeground3=O1.red.tint30;c7.colorPaletteRedBorder2=O1.red.tint30;c7.colorPaletteGreenForeground3=O1.green.tint40;c7.colorPaletteGreenBorder2=O1.green.tint40;c7.colorPaletteDarkOrangeForeground3=O1.darkOrange.tint30;c7.colorPaletteDarkOrangeBorder2=O1.darkOrange.tint30;c7.colorPaletteRedForegroundInverted=O1.red.primary;c7.colorPaletteGreenForegroundInverted=O1.green.primary;c7.colorPaletteYellowForegroundInverted=O1.yellow.shade30;var kr=Bh.reduce((a,l)=>{let c=l.slice(0,1).toUpperCase()+l.slice(1),h={[`colorPalette${c}Background2`]:l7[l].shade30,[`colorPalette${c}Foreground2`]:l7[l].tint40,[`colorPalette${c}BorderActive`]:l7[l].tint30};return Object.assign(a,h)},{});kr.colorPaletteDarkRedBackground2=l7.darkRed.shade20;kr.colorPalettePlumBackground2=l7.plum.shade20;var xi={...c7,...kr},W7=Object.entries(M5).reduce((a,[l,c])=>{let h=l.slice(0,1).toUpperCase()+l.slice(1),Z={[`colorStatus${h}Background1`]:b1[c].shade40,[`colorStatus${h}Background2`]:b1[c].shade30,[`colorStatus${h}Background3`]:b1[c].primary,[`colorStatus${h}Foreground1`]:b1[c].tint30,[`colorStatus${h}Foreground2`]:b1[c].tint40,[`colorStatus${h}Foreground3`]:b1[c].tint20,[`colorStatus${h}BorderActive`]:b1[c].tint30,[`colorStatus${h}ForegroundInverted`]:b1[c].shade10,[`colorStatus${h}Border1`]:b1[c].primary,[`colorStatus${h}Border2`]:b1[c].tint20};return Object.assign(a,Z)},{});W7.colorStatusDangerBackground3Hover=b1[M5.danger].shade10;W7.colorStatusDangerBackground3Pressed=b1[M5.danger].shade20;W7.colorStatusDangerForeground3=b1[M5.danger].tint40;W7.colorStatusDangerBorder2=b1[M5.danger].tint30;W7.colorStatusSuccessForeground3=b1[M5.success].tint40;W7.colorStatusSuccessBorder2=b1[M5.success].tint40;W7.colorStatusWarningForegroundInverted=b1[M5.warning].shade20;var u2=e3(Ri);var pi=(a)=>({colorNeutralForeground1:p1,colorNeutralForeground1Hover:p1,colorNeutralForeground1Pressed:p1,colorNeutralForeground1Selected:p1,colorNeutralForeground2:T[84],colorNeutralForeground2Hover:p1,colorNeutralForeground2Pressed:p1,colorNeutralForeground2Selected:p1,colorNeutralForeground2BrandHover:a[100],colorNeutralForeground2BrandPressed:a[90],colorNeutralForeground2BrandSelected:a[100],colorNeutralForeground3:T[68],colorNeutralForeground3Hover:T[84],colorNeutralForeground3Pressed:T[84],colorNeutralForeground3Selected:T[84],colorNeutralForeground3BrandHover:a[100],colorNeutralForeground3BrandPressed:a[90],colorNeutralForeground3BrandSelected:a[100],colorNeutralForeground4:T[60],colorNeutralForegroundDisabled:T[36],colorNeutralForegroundInvertedDisabled:U0[40],colorBrandForegroundLink:a[100],colorBrandForegroundLinkHover:a[110],colorBrandForegroundLinkPressed:a[90],colorBrandForegroundLinkSelected:a[100],colorNeutralForeground2Link:T[84],colorNeutralForeground2LinkHover:p1,colorNeutralForeground2LinkPressed:p1,colorNeutralForeground2LinkSelected:p1,colorCompoundBrandForeground1:a[100],colorCompoundBrandForeground1Hover:a[110],colorCompoundBrandForeground1Pressed:a[90],colorBrandForeground1:a[100],colorBrandForeground2:a[110],colorBrandForeground2Hover:a[130],colorBrandForeground2Pressed:a[160],colorNeutralForeground1Static:T[14],colorNeutralForegroundStaticInverted:p1,colorNeutralForegroundInverted:T[14],colorNeutralForegroundInvertedHover:T[14],colorNeutralForegroundInvertedPressed:T[14],colorNeutralForegroundInvertedSelected:T[14],colorNeutralForegroundInverted2:T[14],colorNeutralForegroundOnBrand:p1,colorNeutralForegroundInvertedLink:p1,colorNeutralForegroundInvertedLinkHover:p1,colorNeutralForegroundInvertedLinkPressed:p1,colorNeutralForegroundInvertedLinkSelected:p1,colorBrandForegroundInverted:a[80],colorBrandForegroundInvertedHover:a[70],colorBrandForegroundInvertedPressed:a[60],colorBrandForegroundOnLight:a[80],colorBrandForegroundOnLightHover:a[70],colorBrandForegroundOnLightPressed:a[50],colorBrandForegroundOnLightSelected:a[60],colorNeutralBackground1:T[16],colorNeutralBackground1Hover:T[24],colorNeutralBackground1Pressed:T[12],colorNeutralBackground1Selected:T[22],colorNeutralBackground2:T[12],colorNeutralBackground2Hover:T[20],colorNeutralBackground2Pressed:T[8],colorNeutralBackground2Selected:T[18],colorNeutralBackground3:T[8],colorNeutralBackground3Hover:T[16],colorNeutralBackground3Pressed:T[4],colorNeutralBackground3Selected:T[14],colorNeutralBackground4:T[4],colorNeutralBackground4Hover:T[12],colorNeutralBackground4Pressed:C6,colorNeutralBackground4Selected:T[10],colorNeutralBackground5:C6,colorNeutralBackground5Hover:T[8],colorNeutralBackground5Pressed:T[2],colorNeutralBackground5Selected:T[6],colorNeutralBackground6:T[20],colorNeutralBackgroundInverted:p1,colorNeutralBackgroundStatic:T[24],colorNeutralBackgroundAlpha:IV[50],colorNeutralBackgroundAlpha2:qV[70],colorSubtleBackground:"transparent",colorSubtleBackgroundHover:T[22],colorSubtleBackgroundPressed:T[18],colorSubtleBackgroundSelected:T[20],colorSubtleBackgroundLightAlphaHover:wr[80],colorSubtleBackgroundLightAlphaPressed:wr[50],colorSubtleBackgroundLightAlphaSelected:"transparent",colorSubtleBackgroundInverted:"transparent",colorSubtleBackgroundInvertedHover:x5[10],colorSubtleBackgroundInvertedPressed:x5[30],colorSubtleBackgroundInvertedSelected:x5[20],colorTransparentBackground:"transparent",colorTransparentBackgroundHover:"transparent",colorTransparentBackgroundPressed:"transparent",colorTransparentBackgroundSelected:"transparent",colorNeutralBackgroundDisabled:T[8],colorNeutralBackgroundInvertedDisabled:U0[10],colorNeutralStencil1:T[34],colorNeutralStencil2:T[20],colorNeutralStencil1Alpha:U0[10],colorNeutralStencil2Alpha:U0[5],colorBackgroundOverlay:x5[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:p1,colorBrandBackgroundInvertedHover:a[160],colorBrandBackgroundInvertedPressed:a[140],colorBrandBackgroundInvertedSelected:a[150],colorNeutralCardBackground:T[20],colorNeutralCardBackgroundHover:T[24],colorNeutralCardBackgroundPressed:T[18],colorNeutralCardBackgroundSelected:T[22],colorNeutralCardBackgroundDisabled:T[8],colorNeutralStrokeAccessible:T[68],colorNeutralStrokeAccessibleHover:T[74],colorNeutralStrokeAccessiblePressed:T[70],colorNeutralStrokeAccessibleSelected:a[100],colorNeutralStroke1:T[40],colorNeutralStroke1Hover:T[46],colorNeutralStroke1Pressed:T[42],colorNeutralStroke1Selected:T[44],colorNeutralStroke2:T[32],colorNeutralStroke3:T[24],colorNeutralStrokeSubtle:T[4],colorNeutralStrokeOnBrand:T[16],colorNeutralStrokeOnBrand2:p1,colorNeutralStrokeOnBrand2Hover:p1,colorNeutralStrokeOnBrand2Pressed:p1,colorNeutralStrokeOnBrand2Selected:p1,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:T[26],colorNeutralStrokeInvertedDisabled:U0[40],colorTransparentStroke:"transparent",colorTransparentStrokeInteractive:"transparent",colorTransparentStrokeDisabled:"transparent",colorNeutralStrokeAlpha:U0[10],colorNeutralStrokeAlpha2:U0[20],colorStrokeFocus1:C6,colorStrokeFocus2:p1,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 R6=(a)=>{let l=pi(a);return{...ta,...Ha,...Aa,...ia,...Va,...na,...bh,...Oh,...Wh,...Th,...l,...xi,...W7,...F6(l.colorNeutralShadowAmbient,l.colorNeutralShadowKey),...F6(l.colorBrandShadowAmbient,l.colorBrandShadowKey,"Brand")}};C();C();var _3={root:"fui-FluentProvider"},np=/*@__PURE__*/$8({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);}"]}),ua=(a)=>{let l=A2(),c=np({dir:a.dir,renderer:l});return a.root.className=k(_3.root,a.themeClassName,c.root,a.root.className),a};var up=E5?E5:$1,Lp=(a,l)=>{if(!(a===null||a===void 0?void 0:a.head))return;let c=a.createElement("style");return Object.keys(l).forEach((h)=>{c.setAttribute(h,l[h])}),a.head.appendChild(c),c},dp=(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.")},La=(a)=>{let{targetDocument:l,theme:c,rendererAttributes:h}=a,Z=q(),o=M0(_3.root),v=h,r=d1(()=>E8(`.${o}`,c),[c,o]);return d1(()=>{if(l){let e=`.${_3.root}.${o}`,M=l.querySelectorAll(e),m=l.querySelector(`${e} > style[id="${o}"]`)!==null?1:0;if(M.length>m)console.error(["@fluentui/react-provider: There are conflicting ids in your DOM.","Please make sure that you configured your application properly.",`
|
|
129
|
+
`,`
|
|
130
|
+
`,"Configuration guide: https://aka.ms/fluentui-conflicting-ids"].join(" "))}},[]),gp(l,o),up(()=>{let e=l===null||l===void 0?void 0:l.getElementById(o);if(e)Z.current=e;else if(Z.current=Lp(l,{...v,id:o}),Z.current)dp(Z.current,r);return()=>{var M;(M=Z.current)===null||M===void 0||M.remove()}},[o,l,r,v]),{styleTagId:o,rule:r}};function gp(a,l){m1(()=>{if(!a)return;let c=a.getElementById(l);if(c)a.head.append(c)})}var Cp={},Fp={},da=(a,l)=>{let c=C1(),h=Rp(),Z=M6(),o=h1(Y3)||Cp,{applyStylesToPortals:v=!0,customStyleHooks_unstable:r,dir:e=c.dir,targetDocument:M=c.targetDocument,theme:t,overrides_unstable:m={}}=a,H=Br(h,t),A=Br(Z,m),V=Br(o,r),i=A2();var u;let{styleTagId:L,rule:d}=La({theme:H,targetDocument:M,rendererAttributes:(u=i.styleElementAttributes)!==null&&u!==void 0?u:Fp});return M1(()=>{if(H===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:v,customStyleHooks_unstable:V,dir:e,targetDocument:M,theme:H,overrides_unstable:A,themeClassName:L,components:{root:"div"},root:f.always(_("div",{...a,dir:e,ref:E1(l,B7({targetDocument:M}))}),{elementType:"div"}),serverStyleProps:{cssRule:d,attributes:{...i.styleElementAttributes,id:L}}}};function Br(a,l){if(a&&l)return{...a,...l};if(a)return a;return l}function Rp(){return h1(e6)}C();function ga(a){let{applyStylesToPortals:l,customStyleHooks_unstable:c,dir:h,root:Z,targetDocument:o,theme:v,themeClassName:r,overrides_unstable:e}=a,M=d1(()=>({dir:h,targetDocument:o}),[h,o]),[t]=m1(()=>({})),m=d1(()=>({textDirection:h}),[h]);return{customStyleHooks_unstable:c,overrides_unstable:e,provider:M,textDirection:h,iconDirection:m,tooltip:t,theme:v,themeClassName:l?Z.className:r}}var a4=/*@__PURE__*/U((a,l)=>{let c=da(a,l);ua(c);let h=ga(c);return oa(c,h)});a4.displayName="FluentProvider";C();var Uh=K4(fi(),1),pp=(a)=>{let l=(c)=>{let h=q(c.value),Z=q(0),o=q();if(!o.current)o.current={value:h,version:Z,listeners:[]};return $1(()=>{h.current=c.value,Z.current+=1,Uh.unstable_runWithPriority(Uh.unstable_NormalPriority,()=>{o.current.listeners.forEach((v)=>{v([Z.current,c.value])})})},[c.value]),r1(a,{value:o.current},c.children)};return l.displayName="ContextSelector.Provider",l},c4=(a)=>{let l=e1({value:{current:a},version:{current:-1},listeners:[]});return l.Provider=pp(l.Provider),delete l.Consumer,l};C();var x6=(a,l)=>{let c=h1(a),{value:{current:h},version:{current:Z},listeners:o}=c,v=l(h),[r,e]=m1([h,v]),M=(m)=>{e((H)=>{if(!m)return[h,v];if(m[0]<=Z){if(Object.is(H[1],v))return H;return[h,v]}try{if(Object.is(H[0],m[1]))return H;let A=l(m[1]);if(Object.is(H[1],A))return H;return[m[1],A]}catch(A){}return[H[0],H[1]]})};if(!Object.is(r[1],v))M(void 0);let t=A1(M);return $1(()=>{return o.push(t),()=>{let m=o.indexOf(t);o.splice(m,1)}},[t,o]),r[1]};C();function Tr(a){let l=h1(a);if(l.version)return l.version.current!==-1;return!1}var h4="Enter",M3=" ",Wr="Tab",br="ArrowDown";var Or="ArrowUp";var Ur="Delete";var Z4="Escape";C();function L2(a,l){let{disabled:c,disabledFocusable:h=!1,["aria-disabled"]:Z,onClick:o,onKeyDown:v,onKeyUp:r,...e}=l!==null&&l!==void 0?l:{},M=typeof Z==="string"?Z==="true":Z,t=c||h||M,m=A1((V)=>{if(t)V.preventDefault(),V.stopPropagation();else o===null||o===void 0||o(V)}),H=A1((V)=>{if(v===null||v===void 0||v(V),V.isDefaultPrevented())return;let i=V.key;if(t&&(i===h4||i===M3)){V.preventDefault(),V.stopPropagation();return}if(i===M3){V.preventDefault();return}else if(i===h4)V.preventDefault(),V.currentTarget.click()}),A=A1((V)=>{if(r===null||r===void 0||r(V),V.isDefaultPrevented())return;let i=V.key;if(t&&(i===h4||i===M3)){V.preventDefault(),V.stopPropagation();return}if(i===M3)V.preventDefault(),V.currentTarget.click()});if(a==="button"||a===void 0)return{...e,disabled:c&&!h,"aria-disabled":h?!0:M,onClick:h?void 0:m,onKeyUp:h?void 0:r,onKeyDown:h?void 0:v};else{let V=!!e.href,i=V?void 0:"button";if(!i&&t)i="link";let u={role:i,tabIndex:h||!V&&!c?0:void 0,...e,onClick:m,onKeyUp:A,onKeyDown:H,"aria-disabled":t};if(a==="a"&&t)u.href=void 0;return u}}C();var wp=B({root:{mc9l5x:"f1w7gpdv",Bg96gwp:"fez10in",ycbfsm:"fg4l7m0"},rtl:{Bz10aip:"f13rod7r"}},{d:[".f1w7gpdv{display:inline;}",".fez10in{line-height:0;}",".f13rod7r{-webkit-transform:scaleX(-1);-moz-transform:scaleX(-1);-ms-transform:scaleX(-1);transform:scaleX(-1);}"],t:["@media (forced-colors: active){.fg4l7m0{forced-color-adjust:auto;}}"]}),Bi=(a,l)=>{let{title:c,primaryFill:h="currentColor",...Z}=a,o={...Z,title:void 0,fill:h},v=wp(),r=vr();if(o.className=k(v.root,(l===null||l===void 0?void 0:l.flipInRtl)&&(r===null||r===void 0?void 0:r.textDirection)==="rtl"&&v.rtl,o.className),c)o["aria-label"]=c;if(!o["aria-label"]&&!o["aria-labelledby"])o["aria-hidden"]=!0;else o.role="img";return o};var D1=(a,l,c,h)=>{let Z=l==="1em"?"20":l,o=U((v,r)=>{let e={...Bi(v,{flipInRtl:h===null||h===void 0?void 0:h.flipInRtl}),ref:r,width:l,height:l,viewBox:`0 0 ${Z} ${Z}`,xmlns:"http://www.w3.org/2000/svg"};return r1("svg",e,...c.map((M)=>r1("path",{d:M,fill:e.fill})))});return o.displayName=a,o};var Ti=/*@__PURE__*/D1("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 Ph=/*@__PURE__*/D1("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 p6=/*@__PURE__*/D1("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 Wi=/*@__PURE__*/D1("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 Ih=/*@__PURE__*/D1("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 qh=/*@__PURE__*/D1("CircleFilled","1em",["M10 2a8 8 0 1 0 0 16 8 8 0 0 0 0-16Z"]);var Gh=/*@__PURE__*/D1("DismissCircleFilled","1em",["M10 2a8 8 0 1 1 0 16 8 8 0 0 1 0-16ZM7.8 7.11a.5.5 0 0 0-.63.06l-.06.07a.5.5 0 0 0 .06.64L9.3 10l-2.12 2.12-.06.07a.5.5 0 0 0 .06.64l.07.06c.2.13.47.11.64-.06L10 10.7l2.12 2.12.07.06c.2.13.46.11.64-.06l.06-.07a.5.5 0 0 0-.06-.64L10.7 10l2.12-2.12.06-.07a.5.5 0 0 0-.06-.64l-.07-.06a.5.5 0 0 0-.64.06L10 9.3 7.88 7.17l-.07-.06Z"]);var bi=/*@__PURE__*/D1("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 Oi=/*@__PURE__*/D1("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 zh=/*@__PURE__*/D1("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 Kh=/*@__PURE__*/D1("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 w6=/*@__PURE__*/D1("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 Ui=/*@__PURE__*/D1("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 Pi=/*@__PURE__*/D1("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 Ii=/*@__PURE__*/D1("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 qi=/*@__PURE__*/D1("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 Gi=/*@__PURE__*/D1("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 zi=/*@__PURE__*/D1("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 Ki=/*@__PURE__*/D1("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 m3=/*@__PURE__*/D1("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 Ji=/*@__PURE__*/D1("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 $i=/*@__PURE__*/D1("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 h7=/*@__PURE__*/D1("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 Ei=/*@__PURE__*/D1("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 Qi=/*@__PURE__*/D1("ErrorCircle12Filled","12",["M6 11A5 5 0 1 0 6 1a5 5 0 0 0 0 10Zm-.75-2.75a.75.75 0 1 1 1.5 0 .75.75 0 0 1-1.5 0Zm.26-4.84a.5.5 0 0 1 .98 0l.01.09v2.59a.5.5 0 0 1-1 0V3.41Z"]);var Jh=/*@__PURE__*/D1("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 Yi=/*@__PURE__*/D1("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 Xi=/*@__PURE__*/D1("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 yi=/*@__PURE__*/D1("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 ji=/*@__PURE__*/D1("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 Ni=/*@__PURE__*/D1("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 _i={durationUltraFast:50,durationFaster:100,durationFast:150,durationNormal:200,durationGentle:250,durationSlow:300,durationSlower:400,durationUltraSlow:500},an={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)"},T1={..._i,...an};C();function ln(a){if(a.playState==="running"){var l;if(a.overallProgress!==void 0){var c;let r=(c=a.overallProgress)!==null&&c!==void 0?c:0;return r>0&&r<1}var h;let o=Number((h=a.currentTime)!==null&&h!==void 0?h:0);var Z;let v=Number((Z=(l=a.effect)===null||l===void 0?void 0:l.getTiming().duration)!==null&&Z!==void 0?Z:0);return o>0&&o<v}return!1}var Dp={fill:"forwards"},sp={duration:1};function kp(){var a;let l=typeof window!=="undefined"&&typeof((a=window.Animation)===null||a===void 0?void 0:a.prototype.persist)==="function";return j((c,h,Z)=>{let o=Array.isArray(h)?h:[h],{isReducedMotion:v}=Z,r=o.map((e)=>{let{keyframes:M,reducedMotion:t=sp,...m}=e,{keyframes:H=M,...A}=t,V=v?H:M,i={...Dp,...m,...v&&A};try{let L=c.animate(V,i);if(l)L===null||L===void 0||L.persist();else{let d=V[V.length-1];var u;Object.assign((u=c.style)!==null&&u!==void 0?u:{},d)}return L}catch(L){return null}}).filter((e)=>!!e);return{set playbackRate(e){r.forEach((M)=>{M.playbackRate=e})},setMotionEndCallbacks(e,M){let t=r.map((m)=>{return new Promise((H,A)=>{m.onfinish=()=>H(),m.oncancel=()=>A()})});Promise.all(t).then(()=>{e()}).catch(()=>{M()})},isRunning(){return r.some((e)=>ln(e))},cancel:()=>{r.forEach((e)=>{e.cancel()})},pause:()=>{r.forEach((e)=>{e.pause()})},play:()=>{r.forEach((e)=>{e.play()})},finish:()=>{r.forEach((e)=>{e.finish()})},reverse:()=>{r.forEach((e)=>{e.reverse()})}}},[l])}function cn(){return kp()}C();function hn(a){let l=q();return i5(a,()=>({setPlayState:(c)=>{if(c==="running"){var h;(h=l.current)===null||h===void 0||h.play()}if(c==="paused"){var Z;(Z=l.current)===null||Z===void 0||Z.pause()}},setPlaybackRate:(c)=>{if(l.current)l.current.playbackRate=c}})),l}C();var Sp="screen and (prefers-reduced-motion: reduce)";function Zn(){let{targetDocument:a}=C1();var l;let c=(l=a===null||a===void 0?void 0:a.defaultView)!==null&&l!==void 0?l:null,h=q(!1),Z=j(()=>h.current,[]);return $1(()=>{if(c===null||typeof c.matchMedia!=="function")return;let o=c.matchMedia(Sp);if(o.matches)h.current=!0;let v=(r)=>{h.current=r.matches};return o.addEventListener("change",v),()=>{o.removeEventListener("change",v)}},[c]),Z}C();var fp=J3.startsWith("19."),on=["@fluentui/react-motion: Invalid child element.",`
|
|
131
|
+
`,"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 Bp(a){if(fp)return a.props.ref;return a.ref}function vn(a,l=!0){let c=q(null);M1(()=>{if(l&&!c.current)console.error(on)},[l]);try{let h=g7.only(a);if(v5(h))return[j7(h,{ref:E1(c,Bp(h))}),c]}catch{}throw new Error(on)}C();var rn=e1(void 0),uX=rn.Provider,en=()=>{var a;return(a=h1(rn))!==null&&a!==void 0?a:"default"};C();C();var Mn=e1(void 0);C();function mn(a=!1,l=!1){let c=q(l?a:!0),h=t6(),Z=j((o)=>{if(c.current!==o)c.current=o,h()},[h]);return M1(()=>{if(a)c.current=a}),[a||c.current,Z]}var Tp=Symbol("MOTION_DEFINITION"),Wp=Symbol.for("interruptablePresence");function m5(a){return Object.assign((l)=>{let h={...h1(Mn),...l},Z=en()==="skip",{appear:o,children:v,imperativeRef:r,onExit:e,onMotionFinish:M,onMotionStart:t,onMotionCancel:m,visible:H,unmountOnExit:A,...V}=h,i=V,[u,L]=mn(H,A),[d,g]=vn(v,u),R=hn(r),x=q({appear:o,params:i,skipMotions:Z}),S=cn(),p=gh(),O=Zn(),I=A1((X)=>{t===null||t===void 0||t(null,{direction:X})}),Z1=A1((X)=>{if(M===null||M===void 0||M(null,{direction:X}),X==="exit"&&A)L(!1),e===null||e===void 0||e()}),o1=A1((X)=>{m===null||m===void 0||m(null,{direction:X})});if($1(()=>{x.current={appear:o,params:i,skipMotions:Z}}),$1(()=>{let X=g.current;if(!X)return;let w;function s(){if(!w)return;if(Q&&w.isRunning())return;w.cancel(),R.current=void 0}let P=typeof a==="function"?a({element:X,...x.current.params}):a,Q=P[Wp];if(Q){if(w=R.current,w&&w.isRunning())return w.reverse(),s}let N=H?P.enter:P.exit,H1=H?"enter":"exit",K=!x.current.appear&&p,i1=x.current.skipMotions;if(!K)I(H1);if(w=S(X,N,{isReducedMotion:O()}),K)return w.finish(),s;if(R.current=w,w.setMotionEndCallbacks(()=>Z1(H1),()=>o1(H1)),i1)w.finish();return s},[S,g,R,O,Z1,I,o1,H]),u)return d;return null},{[Tp]:typeof a==="function"?a:()=>a})}C();function o4(a,l){let{as:c,children:h,...Z}=a!==null&&a!==void 0?a:{};if(typeof c!=="undefined")throw new Error('@fluentui/react-motion: "as" property is not supported on motion slots.');if(a===null){let v=!l.defaultProps.visible&&l.defaultProps.unmountOnExit,r=(e,M)=>v?null:/*@__PURE__*/r1(V1,null,M.children);return{[w7]:r,[e5]:l.elementType}}let o={...l.defaultProps,...Z,[e5]:l.elementType};if(typeof h==="function")o[w7]=h;return o}var tn=(a,l)=>{let c=a==="horizontal"?"maxWidth":"maxHeight",h=a==="horizontal"?"overflowX":"overflowY",o=`${a==="horizontal"?l.scrollWidth:l.scrollHeight}px`;return{sizeName:c,overflowName:h,toSize:o}},Hn=({orientation:a,duration:l,easing:c,element:h,fromSize:Z="0"})=>{let{sizeName:o,overflowName:v,toSize:r}=tn(a,h);return{keyframes:[{[o]:Z,[v]:"hidden"},{[o]:r,offset:0.9999,[v]:"hidden"},{[o]:"unset",[v]:"unset"}],duration:l,easing:c}},An=({orientation:a,duration:l,easing:c,element:h,delay:Z=0,fromSize:o="0"})=>{let{sizeName:v,overflowName:r,toSize:e}=tn(a,h);return{keyframes:[{[v]:e,[r]:"hidden"},{[v]:o,[r]:"hidden"}],duration:l,easing:c,fill:"both",delay:Z}},bp=(a)=>{if(a==="horizontal")return{paddingStart:"paddingInlineStart",paddingEnd:"paddingInlineEnd",marginStart:"marginInlineStart",marginEnd:"marginInlineEnd"};return{paddingStart:"paddingBlockStart",paddingEnd:"paddingBlockEnd",marginStart:"marginBlockStart",marginEnd:"marginBlockEnd"}},Pr=({direction:a,orientation:l,duration:c,easing:h,delay:Z=0})=>{let{paddingStart:o,paddingEnd:v,marginStart:r,marginEnd:e}=bp(l),M=a==="enter"?0:1,m={keyframes:[{[o]:"0",[v]:"0",[r]:"0",[e]:"0",offset:M}],duration:c,easing:h,delay:Z};if(a==="exit")m.fill="forwards";return m};var D6=({direction:a,duration:l,easing:c=T1.curveLinear,fromValue:h=0})=>{let Z=[{opacity:h},{opacity:1}];if(a==="exit")Z.reverse();return{keyframes:Z,duration:l,easing:c}};var $h=({enterSizeDuration:a=T1.durationNormal,enterOpacityDuration:l=a,enterEasing:c=T1.curveEasyEaseMax,enterDelay:h=0,exitSizeDuration:Z=a,exitOpacityDuration:o=l,exitEasing:v=c,exitDelay:r=0}={})=>({element:e,animateOpacity:M=!0,orientation:t="vertical"})=>{let m=[Hn({orientation:t,duration:a,easing:c,element:e}),Pr({direction:"enter",orientation:t,duration:a,easing:c})];if(M)m.push({...D6({direction:"enter",duration:l,easing:c}),delay:h,fill:"both"});let H=[];if(M)H.push(D6({direction:"exit",duration:o,easing:v}));return H.push(An({orientation:t,duration:Z,easing:v,element:e,delay:r}),Pr({direction:"exit",orientation:t,duration:Z,easing:v,delay:r})),{enter:m,exit:H}},Ca=({enterDuration:a=T1.durationNormal,enterEasing:l=T1.curveEasyEaseMax,exitDuration:c=a,exitEasing:h=l}={})=>$h({enterSizeDuration:a,enterEasing:l,exitSizeDuration:c,exitEasing:h}),Vn=m5(Ca()),nn=m5(Ca({enterDuration:T1.durationFast})),un=m5(Ca({enterDuration:T1.durationSlower})),Eh=m5($h({enterSizeDuration:T1.durationNormal,enterOpacityDuration:T1.durationSlower,enterDelay:T1.durationNormal,exitDelay:T1.durationSlower,enterEasing:T1.curveEasyEase}));var Fa=({enterDuration:a=T1.durationNormal,enterEasing:l=T1.curveEasyEase,exitDuration:c=a,exitEasing:h=l}={})=>({enter:D6({direction:"enter",duration:a,easing:l}),exit:D6({direction:"exit",duration:c,easing:h})}),Ln=m5(Fa()),dn=m5(Fa({enterDuration:T1.durationFast})),Qh=m5(Fa({enterDuration:T1.durationGentle}));C();C();var Ra=(a,l)=>{let{shape:c="circular",size:h="medium",iconPosition:Z="before",appearance:o="filled",color:v="brand"}=a;return{shape:c,size:h,iconPosition:Z,appearance:o,color:v,components:{root:"div",icon:"span"},root:f.always(_("div",{ref:l,...a}),{elementType:"div"}),icon:f.optional(a.icon,{elementType:"span"})}};var xa={root:"fui-Badge",icon:"fui-Badge__icon"},Zy=Q1.spacingHorizontalXXS,Op=/*@__PURE__*/Y("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;}']),Up=/*@__PURE__*/B({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);}"]}),Pp=/*@__PURE__*/Y("rttl5z0",null,[".rttl5z0{display:flex;line-height:1;margin:0 calc(-1 * var(--spacingHorizontalXXS));font-size:12px;}"]),Ip=/*@__PURE__*/B({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;}"]}),pa=(a)=>{let l=Op(),c=Up(),h=a.size==="small"||a.size==="extra-small"||a.size==="tiny";a.root.className=k(xa.root,l,h&&c.fontSmallToTiny,c[a.size],c[a.shape],a.shape==="rounded"&&h&&c.roundedSmallToTiny,a.appearance==="ghost"&&c.borderGhost,c[a.appearance],c[`${a.appearance}-${a.color}`],a.root.className);let Z=Pp(),o=Ip();if(a.icon){let v;if(a.root.children)if(a.size==="extra-large")v=a.iconPosition==="after"?o.afterTextXL:o.beforeTextXL;else v=a.iconPosition==="after"?o.afterText:o.beforeText;a.icon.className=k(xa.icon,Z,v,o[a.size],a.icon.className)}return a};var wa=(a)=>{return G(a),/*@__PURE__*/x1(a.root,{children:[a.iconPosition==="before"&&a.icon&&/*@__PURE__*/D(a.icon,{}),a.root.children,a.iconPosition==="after"&&a.icon&&/*@__PURE__*/D(a.icon,{})]})};var Y0=/*@__PURE__*/U((a,l)=>{let c=Ra(a,l);return pa(c),z("useBadgeStyles_unstable")(c),wa(c)});Y0.displayName="Badge";C();var qp=e1(void 0);var Yh=qp.Provider;C();C();function gn(a){let{clientX:l,clientY:c}=a,h=l+1,Z=c+1;function o(){return{left:l,top:c,right:h,bottom:Z,x:l,y:c,height:1,width:1}}return{getBoundingClientRect:o}}var Ir="data-popper-is-intersecting",qr="data-popper-escaped",Gr="data-popper-reference-hidden",Cn="data-popper-placement",Da="fui-positioningend";var Fn=["top","right","bottom","left"];var{min:b7,max:p5,round:ka}=Math;var d2=(a)=>({x:a,y:a}),Gp={left:"right",right:"left",bottom:"top",top:"bottom"},zp={start:"end",end:"start"};function yh(a,l,c){return p5(a,b7(l,c))}function Z7(a,l){return typeof a==="function"?a(l):a}function o7(a){return a.split("-")[0]}function v4(a){return a.split("-")[1]}function jh(a){return a==="x"?"y":"x"}function Nh(a){return a==="y"?"height":"width"}function O7(a){return["top","bottom"].includes(o7(a))?"y":"x"}function _h(a){return jh(O7(a))}function Rn(a,l,c){if(c===void 0)c=!1;let h=v4(a),Z=_h(a),o=Nh(Z),v=Z==="x"?h===(c?"end":"start")?"right":"left":h==="start"?"bottom":"top";if(l.reference[o]>l.floating[o])v=sa(v);return[v,sa(v)]}function xn(a){let l=sa(a);return[Xh(a),l,Xh(l)]}function Xh(a){return a.replace(/start|end/g,(l)=>zp[l])}function Kp(a,l,c){let h=["left","right"],Z=["right","left"],o=["top","bottom"],v=["bottom","top"];switch(a){case"top":case"bottom":if(c)return l?Z:h;return l?h:Z;case"left":case"right":return l?o:v;default:return[]}}function pn(a,l,c,h){let Z=v4(a),o=Kp(o7(a),c==="start",h);if(Z){if(o=o.map((v)=>v+"-"+Z),l)o=o.concat(o.map(Xh))}return o}function sa(a){return a.replace(/left|right|bottom|top/g,(l)=>Gp[l])}function Jp(a){return{top:0,right:0,bottom:0,left:0,...a}}function zr(a){return typeof a!=="number"?Jp(a):{top:a,right:a,bottom:a,left:a}}function r4(a){let{x:l,y:c,width:h,height:Z}=a;return{width:h,height:Z,top:c,left:l,right:l+h,bottom:c+Z,x:l,y:c}}function wn(a,l,c){let{reference:h,floating:Z}=a,o=O7(l),v=_h(l),r=Nh(v),e=o7(l),M=o==="y",t=h.x+h.width/2-Z.width/2,m=h.y+h.height/2-Z.height/2,H=h[r]/2-Z[r]/2,A;switch(e){case"top":A={x:t,y:h.y-Z.height};break;case"bottom":A={x:t,y:h.y+h.height};break;case"right":A={x:h.x+h.width,y:m};break;case"left":A={x:h.x-Z.width,y:m};break;default:A={x:h.x,y:h.y}}switch(v4(l)){case"start":A[v]-=H*(c&&M?-1:1);break;case"end":A[v]+=H*(c&&M?-1:1);break}return A}var kn=async(a,l,c)=>{let{placement:h="bottom",strategy:Z="absolute",middleware:o=[],platform:v}=c,r=o.filter(Boolean),e=await(v.isRTL==null?void 0:v.isRTL(l)),M=await v.getElementRects({reference:a,floating:l,strategy:Z}),{x:t,y:m}=wn(M,h,e),H=h,A={},V=0;for(let i=0;i<r.length;i++){let{name:u,fn:L}=r[i],{x:d,y:g,data:R,reset:x}=await L({x:t,y:m,initialPlacement:h,placement:H,strategy:Z,middlewareData:A,rects:M,platform:v,elements:{reference:a,floating:l}});if(t=d!=null?d:t,m=g!=null?g:m,A={...A,[u]:{...A[u],...R}},x&&V<=50){if(V++,typeof x==="object"){if(x.placement)H=x.placement;if(x.rects)M=x.rects===!0?await v.getElementRects({reference:a,floating:l,strategy:Z}):x.rects;({x:t,y:m}=wn(M,H,e))}i=-1}}return{x:t,y:m,placement:H,strategy:Z,middlewareData:A}};async function e4(a,l){var c;if(l===void 0)l={};let{x:h,y:Z,platform:o,rects:v,elements:r,strategy:e}=a,{boundary:M="clippingAncestors",rootBoundary:t="viewport",elementContext:m="floating",altBoundary:H=!1,padding:A=0}=Z7(l,a),V=zr(A),u=r[H?m==="floating"?"reference":"floating":m],L=r4(await o.getClippingRect({element:((c=await(o.isElement==null?void 0:o.isElement(u)))!=null?c:!0)?u:u.contextElement||await(o.getDocumentElement==null?void 0:o.getDocumentElement(r.floating)),boundary:M,rootBoundary:t,strategy:e})),d=m==="floating"?{x:h,y:Z,width:v.floating.width,height:v.floating.height}:v.reference,g=await(o.getOffsetParent==null?void 0:o.getOffsetParent(r.floating)),R=await(o.isElement==null?void 0:o.isElement(g))?await(o.getScale==null?void 0:o.getScale(g))||{x:1,y:1}:{x:1,y:1},x=r4(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({elements:r,rect:d,offsetParent:g,strategy:e}):d);return{top:(L.top-x.top+V.top)/R.y,bottom:(x.bottom-L.bottom+V.bottom)/R.y,left:(L.left-x.left+V.left)/R.x,right:(x.right-L.right+V.right)/R.x}}var Sn=(a)=>({name:"arrow",options:a,async fn(l){let{x:c,y:h,placement:Z,rects:o,platform:v,elements:r,middlewareData:e}=l,{element:M,padding:t=0}=Z7(a,l)||{};if(M==null)return{};let m=zr(t),H={x:c,y:h},A=_h(Z),V=Nh(A),i=await v.getDimensions(M),u=A==="y",L=u?"top":"left",d=u?"bottom":"right",g=u?"clientHeight":"clientWidth",R=o.reference[V]+o.reference[A]-H[A]-o.floating[V],x=H[A]-o.reference[A],S=await(v.getOffsetParent==null?void 0:v.getOffsetParent(M)),p=S?S[g]:0;if(!p||!await(v.isElement==null?void 0:v.isElement(S)))p=r.floating[g]||o.floating[V];let O=R/2-x/2,I=p/2-i[V]/2-1,Z1=b7(m[L],I),o1=b7(m[d],I),X=Z1,w=p-i[V]-o1,s=p/2-i[V]/2+O,P=yh(X,s,w),Q=!e.arrow&&v4(Z)!=null&&s!==P&&o.reference[V]/2-(s<X?Z1:o1)-i[V]/2<0,N=Q?s<X?s-X:s-w:0;return{[A]:H[A]+N,data:{[A]:P,centerOffset:s-P-N,...Q&&{alignmentOffset:N}},reset:Q}}});var fn=function(a){if(a===void 0)a={};return{name:"flip",options:a,async fn(l){var c,h;let{placement:Z,middlewareData:o,rects:v,initialPlacement:r,platform:e,elements:M}=l,{mainAxis:t=!0,crossAxis:m=!0,fallbackPlacements:H,fallbackStrategy:A="bestFit",fallbackAxisSideDirection:V="none",flipAlignment:i=!0,...u}=Z7(a,l);if((c=o.arrow)!=null&&c.alignmentOffset)return{};let L=o7(Z),d=O7(r),g=o7(r)===r,R=await(e.isRTL==null?void 0:e.isRTL(M.floating)),x=H||(g||!i?[sa(r)]:xn(r)),S=V!=="none";if(!H&&S)x.push(...pn(r,i,V,R));let p=[r,...x],O=await e4(l,u),I=[],Z1=((h=o.flip)==null?void 0:h.overflows)||[];if(t)I.push(O[L]);if(m){let s=Rn(Z,v,R);I.push(O[s[0]],O[s[1]])}if(Z1=[...Z1,{placement:Z,overflows:I}],!I.every((s)=>s<=0)){var o1,X;let s=(((o1=o.flip)==null?void 0:o1.index)||0)+1,P=p[s];if(P)return{data:{index:s,overflows:Z1},reset:{placement:P}};let Q=(X=Z1.filter((N)=>N.overflows[0]<=0).sort((N,H1)=>N.overflows[1]-H1.overflows[1])[0])==null?void 0:X.placement;if(!Q)switch(A){case"bestFit":{var w;let N=(w=Z1.filter((H1)=>{if(S){let K=O7(H1.placement);return K===d||K==="y"}return!0}).map((H1)=>[H1.placement,H1.overflows.filter((K)=>K>0).reduce((K,i1)=>K+i1,0)]).sort((H1,K)=>H1[1]-K[1])[0])==null?void 0:w[0];if(N)Q=N;break}case"initialPlacement":Q=r;break}if(Z!==Q)return{reset:{placement:Q}}}return{}}}};function Dn(a,l){return{top:a.top-l.height,right:a.right-l.width,bottom:a.bottom-l.height,left:a.left-l.width}}function sn(a){return Fn.some((l)=>a[l]>=0)}var Bn=function(a){if(a===void 0)a={};return{name:"hide",options:a,async fn(l){let{rects:c}=l,{strategy:h="referenceHidden",...Z}=Z7(a,l);switch(h){case"referenceHidden":{let o=await e4(l,{...Z,elementContext:"reference"}),v=Dn(o,c.reference);return{data:{referenceHiddenOffsets:v,referenceHidden:sn(v)}}}case"escaped":{let o=await e4(l,{...Z,altBoundary:!0}),v=Dn(o,c.floating);return{data:{escapedOffsets:v,escaped:sn(v)}}}default:return{}}}}};async function $p(a,l){let{placement:c,platform:h,elements:Z}=a,o=await(h.isRTL==null?void 0:h.isRTL(Z.floating)),v=o7(c),r=v4(c),e=O7(c)==="y",M=["left","top"].includes(v)?-1:1,t=o&&e?-1:1,m=Z7(l,a),{mainAxis:H,crossAxis:A,alignmentAxis:V}=typeof m==="number"?{mainAxis:m,crossAxis:0,alignmentAxis:null}:{mainAxis:m.mainAxis||0,crossAxis:m.crossAxis||0,alignmentAxis:m.alignmentAxis};if(r&&typeof V==="number")A=r==="end"?V*-1:V;return e?{x:A*t,y:H*M}:{x:H*M,y:A*t}}var Tn=function(a){if(a===void 0)a=0;return{name:"offset",options:a,async fn(l){var c,h;let{x:Z,y:o,placement:v,middlewareData:r}=l,e=await $p(l,a);if(v===((c=r.offset)==null?void 0:c.placement)&&(h=r.arrow)!=null&&h.alignmentOffset)return{};return{x:Z+e.x,y:o+e.y,data:{...e,placement:v}}}}},Wn=function(a){if(a===void 0)a={};return{name:"shift",options:a,async fn(l){let{x:c,y:h,placement:Z}=l,{mainAxis:o=!0,crossAxis:v=!1,limiter:r={fn:(u)=>{let{x:L,y:d}=u;return{x:L,y:d}}},...e}=Z7(a,l),M={x:c,y:h},t=await e4(l,e),m=O7(o7(Z)),H=jh(m),A=M[H],V=M[m];if(o){let u=H==="y"?"top":"left",L=H==="y"?"bottom":"right",d=A+t[u],g=A-t[L];A=yh(d,A,g)}if(v){let u=m==="y"?"top":"left",L=m==="y"?"bottom":"right",d=V+t[u],g=V-t[L];V=yh(d,V,g)}let i=r.fn({...l,[H]:A,[m]:V});return{...i,data:{x:i.x-c,y:i.y-h,enabled:{[H]:o,[m]:v}}}}}},bn=function(a){if(a===void 0)a={};return{options:a,fn(l){let{x:c,y:h,placement:Z,rects:o,middlewareData:v}=l,{offset:r=0,mainAxis:e=!0,crossAxis:M=!0}=Z7(a,l),t={x:c,y:h},m=O7(Z),H=jh(m),A=t[H],V=t[m],i=Z7(r,l),u=typeof i==="number"?{mainAxis:i,crossAxis:0}:{mainAxis:0,crossAxis:0,...i};if(e){let g=H==="y"?"height":"width",R=o.reference[H]-o.floating[g]+u.mainAxis,x=o.reference[H]+o.reference[g]-u.mainAxis;if(A<R)A=R;else if(A>x)A=x}if(M){var L,d;let g=H==="y"?"width":"height",R=["top","left"].includes(o7(Z)),x=o.reference[m]-o.floating[g]+(R?((L=v.offset)==null?void 0:L[m])||0:0)+(R?0:u.crossAxis),S=o.reference[m]+o.reference[g]+(R?0:((d=v.offset)==null?void 0:d[m])||0)-(R?u.crossAxis:0);if(V<x)V=x;else if(V>S)V=S}return{[H]:A,[m]:V}}}},On=function(a){if(a===void 0)a={};return{name:"size",options:a,async fn(l){var c,h;let{placement:Z,rects:o,platform:v,elements:r}=l,{apply:e=()=>{},...M}=Z7(a,l),t=await e4(l,M),m=o7(Z),H=v4(Z),A=O7(Z)==="y",{width:V,height:i}=o.floating,u,L;if(m==="top"||m==="bottom")u=m,L=H===(await(v.isRTL==null?void 0:v.isRTL(r.floating))?"start":"end")?"left":"right";else L=m,u=H==="end"?"top":"bottom";let d=i-t.top-t.bottom,g=V-t.left-t.right,R=b7(i-t[u],d),x=b7(V-t[L],g),S=!l.middlewareData.shift,p=R,O=x;if((c=l.middlewareData.shift)!=null&&c.enabled.x)O=g;if((h=l.middlewareData.shift)!=null&&h.enabled.y)p=d;if(S&&!H){let Z1=p5(t.left,0),o1=p5(t.right,0),X=p5(t.top,0),w=p5(t.bottom,0);if(A)O=V-2*(Z1!==0||o1!==0?Z1+o1:p5(t.left,t.right));else p=i-2*(X!==0||w!==0?X+w:p5(t.top,t.bottom))}await e({...l,availableWidth:O,availableHeight:p});let I=await v.getDimensions(r.floating);if(V!==I.width||i!==I.height)return{reset:{rects:!0}};return{}}}};function lZ(){return typeof window!=="undefined"}function M4(a){if(Pn(a))return(a.nodeName||"").toLowerCase();return"#document"}function w5(a){var l;return(a==null||(l=a.ownerDocument)==null?void 0:l.defaultView)||window}function v7(a){var l;return(l=(Pn(a)?a.ownerDocument:a.document)||window.document)==null?void 0:l.documentElement}function Pn(a){if(!lZ())return!1;return a instanceof Node||a instanceof w5(a).Node}function _5(a){if(!lZ())return!1;return a instanceof Element||a instanceof w5(a).Element}function g2(a){if(!lZ())return!1;return a instanceof HTMLElement||a instanceof w5(a).HTMLElement}function Un(a){if(!lZ()||typeof ShadowRoot==="undefined")return!1;return a instanceof ShadowRoot||a instanceof w5(a).ShadowRoot}function s6(a){let{overflow:l,overflowX:c,overflowY:h,display:Z}=a2(a);return/auto|scroll|overlay|hidden|clip/.test(l+h+c)&&!["inline","contents"].includes(Z)}function In(a){return["table","td","th"].includes(M4(a))}function Sa(a){return[":popover-open",":modal"].some((l)=>{try{return a.matches(l)}catch(c){return!1}})}function cZ(a){let l=hZ(),c=_5(a)?a2(a):a;return["transform","translate","scale","rotate","perspective"].some((h)=>c[h]?c[h]!=="none":!1)||(c.containerType?c.containerType!=="normal":!1)||!l&&(c.backdropFilter?c.backdropFilter!=="none":!1)||!l&&(c.filter?c.filter!=="none":!1)||["transform","translate","scale","rotate","perspective","filter"].some((h)=>(c.willChange||"").includes(h))||["paint","layout","strict","content"].some((h)=>(c.contain||"").includes(h))}function qn(a){let l=U7(a);while(g2(l)&&!m4(l)){if(cZ(l))return l;else if(Sa(l))return null;l=U7(l)}return null}function hZ(){if(typeof CSS==="undefined"||!CSS.supports)return!1;return CSS.supports("-webkit-backdrop-filter","none")}function m4(a){return["html","body","#document"].includes(M4(a))}function a2(a){return w5(a).getComputedStyle(a)}function fa(a){if(_5(a))return{scrollLeft:a.scrollLeft,scrollTop:a.scrollTop};return{scrollLeft:a.scrollX,scrollTop:a.scrollY}}function U7(a){if(M4(a)==="html")return a;let l=a.assignedSlot||a.parentNode||Un(a)&&a.host||v7(a);return Un(l)?l.host:l}function Gn(a){let l=U7(a);if(m4(l))return a.ownerDocument?a.ownerDocument.body:a.body;if(g2(l)&&s6(l))return l;return Gn(l)}function aZ(a,l,c){var h;if(l===void 0)l=[];if(c===void 0)c=!0;let Z=Gn(a),o=Z===((h=a.ownerDocument)==null?void 0:h.body),v=w5(Z);if(o){let r=ZZ(v);return l.concat(v,v.visualViewport||[],s6(Z)?Z:[],r&&c?aZ(r):[])}return l.concat(Z,aZ(Z,[],c))}function ZZ(a){return a.parent&&Object.getPrototypeOf(a.parent)?a.frameElement:null}function Jn(a){let l=a2(a),c=parseFloat(l.width)||0,h=parseFloat(l.height)||0,Z=g2(a),o=Z?a.offsetWidth:c,v=Z?a.offsetHeight:h,r=ka(c)!==o||ka(h)!==v;if(r)c=o,h=v;return{width:c,height:h,$:r}}function $n(a){return!_5(a)?a.contextElement:a}function k6(a){let l=$n(a);if(!g2(l))return d2(1);let c=l.getBoundingClientRect(),{width:h,height:Z,$:o}=Jn(l),v=(o?ka(c.width):c.width)/h,r=(o?ka(c.height):c.height)/Z;if(!v||!Number.isFinite(v))v=1;if(!r||!Number.isFinite(r))r=1;return{x:v,y:r}}var Ep=/*@__PURE__*/d2(0);function En(a){let l=w5(a);if(!hZ()||!l.visualViewport)return Ep;return{x:l.visualViewport.offsetLeft,y:l.visualViewport.offsetTop}}function Qp(a,l,c){if(l===void 0)l=!1;if(!c||l&&c!==w5(a))return!1;return l}function Ba(a,l,c,h){if(l===void 0)l=!1;if(c===void 0)c=!1;let Z=a.getBoundingClientRect(),o=$n(a),v=d2(1);if(l)if(h){if(_5(h))v=k6(h)}else v=k6(a);let r=Qp(o,c,h)?En(o):d2(0),e=(Z.left+r.x)/v.x,M=(Z.top+r.y)/v.y,t=Z.width/v.x,m=Z.height/v.y;if(o){let H=w5(o),A=h&&_5(h)?w5(h):h,V=H,i=ZZ(V);while(i&&h&&A!==V){let u=k6(i),L=i.getBoundingClientRect(),d=a2(i),g=L.left+(i.clientLeft+parseFloat(d.paddingLeft))*u.x,R=L.top+(i.clientTop+parseFloat(d.paddingTop))*u.y;e*=u.x,M*=u.y,t*=u.x,m*=u.y,e+=g,M+=R,V=w5(i),i=ZZ(V)}}return r4({width:t,height:m,x:e,y:M})}function Jr(a,l){let c=fa(a).scrollLeft;if(!l)return Ba(v7(a)).left+c;return l.left+c}function Qn(a,l,c){if(c===void 0)c=!1;let h=a.getBoundingClientRect(),Z=h.left+l.scrollLeft-(c?0:Jr(a,h)),o=h.top+l.scrollTop;return{x:Z,y:o}}function Yp(a){let{elements:l,rect:c,offsetParent:h,strategy:Z}=a,o=Z==="fixed",v=v7(h),r=l?Sa(l.floating):!1;if(h===v||r&&o)return c;let e={scrollLeft:0,scrollTop:0},M=d2(1),t=d2(0),m=g2(h);if(m||!m&&!o){if(M4(h)!=="body"||s6(v))e=fa(h);if(g2(h)){let A=Ba(h);M=k6(h),t.x=A.x+h.clientLeft,t.y=A.y+h.clientTop}}let H=v&&!m&&!o?Qn(v,e,!0):d2(0);return{width:c.width*M.x,height:c.height*M.y,x:c.x*M.x-e.scrollLeft*M.x+t.x+H.x,y:c.y*M.y-e.scrollTop*M.y+t.y+H.y}}function Xp(a){return Array.from(a.getClientRects())}function yp(a){let l=v7(a),c=fa(a),h=a.ownerDocument.body,Z=p5(l.scrollWidth,l.clientWidth,h.scrollWidth,h.clientWidth),o=p5(l.scrollHeight,l.clientHeight,h.scrollHeight,h.clientHeight),v=-c.scrollLeft+Jr(a),r=-c.scrollTop;if(a2(h).direction==="rtl")v+=p5(l.clientWidth,h.clientWidth)-Z;return{width:Z,height:o,x:v,y:r}}function jp(a,l){let c=w5(a),h=v7(a),Z=c.visualViewport,o=h.clientWidth,v=h.clientHeight,r=0,e=0;if(Z){o=Z.width,v=Z.height;let M=hZ();if(!M||M&&l==="fixed")r=Z.offsetLeft,e=Z.offsetTop}return{width:o,height:v,x:r,y:e}}function Np(a,l){let c=Ba(a,!0,l==="fixed"),h=c.top+a.clientTop,Z=c.left+a.clientLeft,o=g2(a)?k6(a):d2(1),v=a.clientWidth*o.x,r=a.clientHeight*o.y,e=Z*o.x,M=h*o.y;return{width:v,height:r,x:e,y:M}}function zn(a,l,c){let h;if(l==="viewport")h=jp(a,c);else if(l==="document")h=yp(v7(a));else if(_5(l))h=Np(l,c);else{let Z=En(a);h={x:l.x-Z.x,y:l.y-Z.y,width:l.width,height:l.height}}return r4(h)}function Yn(a,l){let c=U7(a);if(c===l||!_5(c)||m4(c))return!1;return a2(c).position==="fixed"||Yn(c,l)}function _p(a,l){let c=l.get(a);if(c)return c;let h=aZ(a,[],!1).filter((r)=>_5(r)&&M4(r)!=="body"),Z=null,o=a2(a).position==="fixed",v=o?U7(a):a;while(_5(v)&&!m4(v)){let r=a2(v),e=cZ(v);if(!e&&r.position==="fixed")Z=null;if(o?!e&&!Z:!e&&r.position==="static"&&!!Z&&["absolute","fixed"].includes(Z.position)||s6(v)&&!e&&Yn(a,v))h=h.filter((t)=>t!==v);else Z=r;v=U7(v)}return l.set(a,h),h}function aw(a){let{element:l,boundary:c,rootBoundary:h,strategy:Z}=a,v=[...c==="clippingAncestors"?Sa(l)?[]:_p(l,this._c):[].concat(c),h],r=v[0],e=v.reduce((M,t)=>{let m=zn(l,t,Z);return M.top=p5(m.top,M.top),M.right=b7(m.right,M.right),M.bottom=b7(m.bottom,M.bottom),M.left=p5(m.left,M.left),M},zn(l,r,Z));return{width:e.right-e.left,height:e.bottom-e.top,x:e.left,y:e.top}}function lw(a){let{width:l,height:c}=Jn(a);return{width:l,height:c}}function cw(a,l,c){let h=g2(l),Z=v7(l),o=c==="fixed",v=Ba(a,!0,o,l),r={scrollLeft:0,scrollTop:0},e=d2(0);if(h||!h&&!o){if(M4(l)!=="body"||s6(Z))r=fa(l);if(h){let H=Ba(l,!0,o,l);e.x=H.x+l.clientLeft,e.y=H.y+l.clientTop}else if(Z)e.x=Jr(Z)}let M=Z&&!h&&!o?Qn(Z,r):d2(0),t=v.left+r.scrollLeft-e.x-M.x,m=v.top+r.scrollTop-e.y-M.y;return{x:t,y:m,width:v.width,height:v.height}}function Kr(a){return a2(a).position==="static"}function Kn(a,l){if(!g2(a)||a2(a).position==="fixed")return null;if(l)return l(a);let c=a.offsetParent;if(v7(a)===c)c=c.ownerDocument.body;return c}function Xn(a,l){let c=w5(a);if(Sa(a))return c;if(!g2(a)){let Z=U7(a);while(Z&&!m4(Z)){if(_5(Z)&&!Kr(Z))return Z;Z=U7(Z)}return c}let h=Kn(a,l);while(h&&In(h)&&Kr(h))h=Kn(h,l);if(h&&m4(h)&&Kr(h)&&!cZ(h))return c;return h||qn(a)||c}var hw=async function(a){let l=this.getOffsetParent||Xn,c=this.getDimensions,h=await c(a.floating);return{reference:cw(a.reference,await l(a.floating),a.strategy),floating:{x:0,y:0,width:h.width,height:h.height}}};function Zw(a){return a2(a).direction==="rtl"}var ow={convertOffsetParentRelativeRectToViewportRelativeRect:Yp,getDocumentElement:v7,getClippingRect:aw,getOffsetParent:Xn,getElementRects:hw,getClientRects:Xp,getDimensions:lw,getScale:k6,isElement:_5,isRTL:Zw};var yn=e4,jn=Tn;var Nn=Wn,_n=fn,au=On,$r=Bn,lu=Sn;var Er=bn,cu=(a,l,c)=>{let h=/*@__PURE__*/new Map,Z={platform:ow,...c},o={...Z.platform,_c:h};return kn(a,l,{...Z,platform:o})};C();function Ta(a){let l=a.split("-");return{side:l[0],alignment:l[1]}}var hu=(a)=>{if(a.nodeName==="HTML")return a;return a.parentNode||a.host},vw=(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{}},t4=(a)=>{let l=a&&hu(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:h,overflowY:Z}=vw(l);if(/(auto|scroll|overlay)/.test(c+Z+h))return l;return t4(l)},Qr=(a)=>{var l;let c=t4(a);return c?c!==((l=c.ownerDocument)===null||l===void 0?void 0:l.body):!1};function H4(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=t4(a);if(c.nodeName==="BODY")c=a===null||a===void 0?void 0:a.ownerDocument.documentElement;return c}return l}C();var Zu;(function(a){a[a.FunctionComponent=0]="FunctionComponent",a[a.ClassComponent=1]="ClassComponent",a[a.IndeterminateComponent=2]="IndeterminateComponent",a[a.HostRoot=3]="HostRoot",a[a.HostPortal=4]="HostPortal",a[a.HostComponent=5]="HostComponent",a[a.HostText=6]="HostText",a[a.Fragment=7]="Fragment",a[a.Mode=8]="Mode",a[a.ContextConsumer=9]="ContextConsumer",a[a.ContextProvider=10]="ContextProvider",a[a.ForwardRef=11]="ForwardRef",a[a.Profiler=12]="Profiler",a[a.SuspenseComponent=13]="SuspenseComponent",a[a.MemoComponent=14]="MemoComponent",a[a.SimpleMemoComponent=15]="SimpleMemoComponent",a[a.LazyComponent=16]="LazyComponent",a[a.IncompleteClassComponent=17]="IncompleteClassComponent",a[a.DehydratedFragment=18]="DehydratedFragment",a[a.SuspenseListComponent=19]="SuspenseListComponent",a[a.FundamentalComponent=20]="FundamentalComponent",a[a.ScopeComponent=21]="ScopeComponent"})(Zu||(Zu={}));function ou(a){if(!a)return null;for(let l in a)if(l.indexOf("__reactInternalInstance$")===0||l.indexOf("__reactFiber$")===0)return a[l];throw new Error("getReactFiber(): Failed to find a React Fiber on a node")}function oZ(a,l){if(typeof a==="number")return Yr(a,l);if(typeof a==="object"&&a!==null)return Yr(a,l);if(typeof a==="function")return(c)=>{let h=a(c);return Yr(h,l)};return{mainAxis:l}}var Yr=(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 Wa(a,l){if(typeof a==="number")return a;let{start:c,end:h,...Z}=a,o=Z,v=l?"end":"start",r=l?"start":"end";if(a[v])o.left=a[v];if(a[r])o.right=a[r];return o}var rw=(a)=>({above:"top",below:"bottom",before:a?"right":"left",after:a?"left":"right"}),ew=()=>({start:"start",end:"end",top:"start",bottom:"end",center:void 0}),Mw=(a,l)=>{let c=a==="above"||a==="below",h=l==="top"||l==="bottom";return c&&h||!c&&!h},ba=(a,l,c)=>{let h=Mw(l,a)?"center":a,Z=l&&rw(c)[l],o=h&&ew()[h];if(Z&&o)return`${Z}-${o}`;return Z};var mw=()=>({top:"above",bottom:"below",right:"after",left:"before"}),tw=(a)=>{if(a==="above"||a==="below")return{start:"start",end:"end"};return{start:"top",end:"bottom"}},Oa=(a)=>{let{side:l,alignment:c}=Ta(a),h=mw()[l],Z=c&&tw(h)[c];return{position:h,alignment:Z}};var Hw={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 S6(a){if(a===void 0||a===null)return{};if(typeof a==="string")return Hw[a];return a}C();function Ua(a,l,c){let h=q(!0),[Z]=m1(()=>({value:a,callback:l,facade:{get current(){return Z.value},set current(o){let v=Z.value;if(v!==o){if(Z.value=o,c&&h.current)return;Z.callback(o,v)}}}}));return $1(()=>{h.current=!1},[]),Z.callback=l,Z.facade}function Xr(a){let l;return()=>{if(!l)l=new Promise((c)=>{Promise.resolve().then(()=>{l=void 0,c(a())})});return l}}function Aw(a){if(a.nodeName==="BUTTON"||a.nodeName==="INPUT"||a.nodeName==="SELECT"||a.nodeName==="TEXTAREA"){var c;return!!((c=ou(a))===null||c===void 0?void 0:c.pendingProps.autoFocus)}return!1}function yr(a){return Aw(a)?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}function jr(a){let{arrow:l,middlewareData:c}=a;if(!c.arrow||!l)return;let{x:h,y:Z}=c.arrow;Object.assign(l.style,{left:h!==null&&h!==void 0?`${h}px`:"",top:Z!==null&&Z!==void 0?`${Z}px`:""})}function Nr(a){var l,c,h;let{container:Z,placement:o,middlewareData:v,strategy:r,lowPPI:e,coordinates:M,useTransform:t=!0}=a;if(!Z)return;if(Z.setAttribute(Cn,o),Z.removeAttribute(Ir),v.intersectionObserver.intersecting)Z.setAttribute(Ir,"");if(Z.removeAttribute(qr),(l=v.hide)===null||l===void 0?void 0:l.escaped)Z.setAttribute(qr,"");if(Z.removeAttribute(Gr),(c=v.hide)===null||c===void 0?void 0:c.referenceHidden)Z.setAttribute(Gr,"");let m=((h=Z.ownerDocument.defaultView)===null||h===void 0?void 0:h.devicePixelRatio)||1,H=Math.round(M.x*m)/m,A=Math.round(M.y*m)/m;if(Object.assign(Z.style,{position:r}),t){Object.assign(Z.style,{transform:e?`translate(${H}px, ${A}px)`:`translate3d(${H}px, ${A}px, 0)`});return}Object.assign(Z.style,{left:`${H}px`,top:`${A}px`})}var _r=(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 ae(){return{name:"coverTarget",fn:(a)=>{let{placement:l,rects:c,x:h,y:Z}=a,o=Ta(l).side,v={x:h,y:Z};switch(o){case"bottom":v.y-=c.reference.height;break;case"top":v.y+=c.reference.height;break;case"left":v.x+=c.reference.width;break;case"right":v.x-=c.reference.width;break}return v}}}function le(a){let{hasScrollableElement:l,flipBoundary:c,container:h,fallbackPositions:Z=[],isRtl:o}=a,v=Z.reduce((r,e)=>{let{position:M,align:t}=S6(e),m=ba(t,M,o);if(m)r.push(m);return r},[]);return _n({...l&&{boundary:"clippingAncestors"},...c&&{altBoundary:!0,boundary:H4(h,c)},fallbackStrategy:"bestFit",...v.length&&{fallbackPlacements:v}})}function ce(){return{name:"intersectionObserver",fn:async(a)=>{let l=a.rects.floating,c=await yn(a,{altBoundary:!0}),h=c.top<l.height&&c.top>0,Z=c.bottom<l.height&&c.bottom>0;return{data:{intersecting:h||Z}}}}}var he=(a)=>({name:"resetMaxSize",fn({middlewareData:l,elements:c}){var h;if((h=l.resetMaxSize)===null||h===void 0?void 0:h.maxSizeAlreadyReset)return{};let{applyMaxWidth:Z,applyMaxHeight:o}=a;if(Z)c.floating.style.removeProperty("box-sizing"),c.floating.style.removeProperty("max-width"),c.floating.style.removeProperty("width");if(o)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 Ze(a,l){let{container:c,overflowBoundary:h,overflowBoundaryPadding:Z,isRtl:o}=l;return au({...Z&&{padding:Wa(Z,o)},...h&&{altBoundary:!0,boundary:H4(c,h)},apply({availableHeight:v,availableWidth:r,elements:e,rects:M}){let t=(A,V,i)=>{if(!A)return;if(e.floating.style.setProperty("box-sizing","border-box"),e.floating.style.setProperty(`max-${V}`,`${i}px`),M.floating[V]>i){e.floating.style.setProperty(V,`${i}px`);let u=V==="width"?"x":"y";if(!e.floating.style.getPropertyValue(`overflow-${u}`))e.floating.style.setProperty(`overflow-${u}`,"auto")}},{applyMaxWidth:m,applyMaxHeight:H}=a;t(m,"width",r),t(H,"height",v)}})}function vu(a){if(!a)return a;if(typeof a==="number"||typeof a==="object")return a;return({rects:{floating:l,reference:c},placement:h})=>{let{position:Z,alignment:o}=Oa(h);return a({positionedRect:l,targetRect:c,position:Z,alignment:o})}}function oe(a){let l=vu(a);return jn(l)}function ve(a){let{hasScrollableElement:l,shiftToCoverTarget:c,disableTether:h,overflowBoundary:Z,container:o,overflowBoundaryPadding:v,isRtl:r}=a;return Nn({...l&&{boundary:"clippingAncestors"},...c&&{crossAxis:!0,limiter:Er({crossAxis:!0,mainAxis:!1})},...h&&{crossAxis:h==="all",limiter:Er({crossAxis:h!=="all",mainAxis:!1})},...v&&{padding:Wa(v,r)},...Z&&{altBoundary:!0,boundary:H4(o,Z)}})}function re(){return{name:"matchTargetSize",fn:async(a)=>{let{rects:{reference:l,floating:c},elements:{floating:h},middlewareData:{matchTargetSize:{matchTargetSizeAttempt:Z=!1}={}}}=a;if(l.width===c.width||Z)return{};let{width:o}=l;if(h.style.setProperty("--fui-match-target-size",`${o}px`),!h.style.width)h.style.width="var(--fui-match-target-size)";return{data:{matchTargetSizeAttempt:!0},reset:{rects:!0}}}}}function f6(a){let l=[],c=a;while(c){let h=t4(c);if(a.ownerDocument.body===h){l.push(h);break}if(h.nodeName==="BODY"&&h!==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(h),c=h}return l}function ru(a,l){return new a.ResizeObserver(l)}function eu(a){let l=!1,{container:c,target:h,arrow:Z,strategy:o,middleware:v,placement:r,useTransform:e=!0,disableUpdateOnResize:M=!1}=a,t=c.ownerDocument.defaultView;if(!h||!c||!t)return{updatePosition:()=>{return},dispose:()=>{return}};let m=M?null:ru(t,(L)=>{if(L.every((g)=>{return g.contentRect.width>0&&g.contentRect.height>0}))i()}),H=!0,A=/*@__PURE__*/new Set;Object.assign(c.style,{position:"fixed",left:0,top:0,margin:0});let V=()=>{if(l)return;if(H){if(f6(c).forEach((L)=>A.add(L)),q1(h))f6(h).forEach((L)=>A.add(L));if(A.forEach((L)=>{L.addEventListener("scroll",i,{passive:!0})}),m===null||m===void 0||m.observe(c),q1(h))m===null||m===void 0||m.observe(h);H=!1}Object.assign(c.style,{position:o}),cu(h,c,{placement:r,middleware:v,strategy:o}).then(({x:L,y:d,middlewareData:g,placement:R})=>{if(l)return;jr({arrow:Z,middlewareData:g}),Nr({container:c,middlewareData:g,placement:R,coordinates:{x:L,y:d},lowPPI:((t===null||t===void 0?void 0:t.devicePixelRatio)||1)<=1,strategy:o,useTransform:e}),c.dispatchEvent(new CustomEvent(Da))}).catch((L)=>{console.error("[usePositioning]: Failed to calculate position",L)})},i=Xr(()=>V()),u=()=>{if(l=!0,t)t.removeEventListener("scroll",i),t.removeEventListener("resize",i);A.forEach((L)=>{L.removeEventListener("scroll",i)}),A.clear(),m===null||m===void 0||m.disconnect()};if(t)t.addEventListener("scroll",i,{passive:!0}),t.addEventListener("resize",i);return i(),{updatePosition:i,dispose:u}}function Mu(a,l){var c,h;let Z=a;return Boolean((Z==null||(c=Z.ownerDocument)==null?void 0:c.defaultView)&&Z instanceof Z.ownerDocument.defaultView[(h=l==null?void 0:l.constructorName)!=null?h:"HTMLElement"])}var mu=(a)=>Boolean(Mu(a)&&"__FUIDT_ELEMENT_METADATA__"in a&&a.parentElement!==null),Vw=(a)=>{let l=null,c=new MutationObserver((Z)=>{if(!l)return;for(let o of Z)if(o.type==="childList"&&Array.from(o.removedNodes).includes(l))h.withdraw()}),h={get selectedElement(){return l},select:(Z)=>{if(mu(Z))l=Z,c.observe(Z.parentElement,{childList:!0,subtree:!1});if(l&&Z){if(l.__FUIDT_ELEMENT_METADATA__.references.has(Z))return l}return h.withdraw(),l},withdraw:()=>{l=null,c.disconnect(),a.postMessage("__FUIDT_SERIALIZED_DATA_CHANGE__")}};return h},iw=(a)=>{let{defaultView:l}=a;if(!l)return;if(!l.__FUIDT_CONTROLLER__)l.__FUIDT_CONTROLLER__=Vw(l)},nw=(a)=>{var l,c;return iw(a),(l=(c=a.defaultView)==null?void 0:c.__FUIDT_CONTROLLER__)!=null?l:null},uw=(a,l)=>{return JSON.parse(JSON.stringify(a,(h,Z)=>{if(Mu(Z))return l.add(Z);if(typeof Z==="object"&&Z&&Object.getPrototypeOf(Z)!==Object.prototype&&Object.getPrototypeOf(Z)!==Array.prototype){if("toString"in Z)return Z.toString();return}return Z}))},Lw=0,dw=()=>"__FUIDT_HTML_ELEMENT_REFERENCE__:"+Lw++,gw=()=>{let a=/*@__PURE__*/new Map,l=/*@__PURE__*/new WeakMap;return{add:(h)=>{if(l.has(h))return l.get(h);let Z=dw();return a.set(Z,h),l.set(h,Z),Z},get:(h)=>{let Z=a.get(h);if(Z&&l.has(Z))return Z},has:(h)=>{return l.has(h)}}},tu=function(a,l){if(a===void 0)a=document;if(l===void 0)l=Cw;return{name:"@floating-ui/devtools",fn:(c)=>{let{["__FUIDT_ELEMENT_METADATA__"]:h}=mu(c.elements.floating)?c.elements.floating:Object.assign(c.elements.floating,{["__FUIDT_ELEMENT_METADATA__"]:{references:gw(),serializedData:[]}}),Z=uw(l(c),h.references);h.serializedData.unshift(Z);let o=nw(a);if(h.serializedData.length>1&&c.elements.floating===(o==null?void 0:o.selectedElement)){var v;(v=a.defaultView)==null||v.postMessage("__FUIDT_SERIALIZED_DATA_CHANGE__")}return{}}}},Cw=(a)=>({...a,type:"FloatingUIMiddleware"});var Hu=(a)=>(l)=>{let{elements:{floating:c,reference:h}}=l,Z=/*@__PURE__*/new Set;if(q1(h))f6(h).forEach((r)=>Z.add(r));f6(c).forEach((r)=>Z.add(r));let o=Array.isArray(a.flipBoundary)?a.flipBoundary:q1(a.flipBoundary)?[a.flipBoundary]:[],v=Array.isArray(a.overflowBoundary)?a.overflowBoundary:q1(a.overflowBoundary)?[a.overflowBoundary]:[];return{type:"FluentUIMiddleware",middlewareState:l,options:a,initialPlacement:Oa(l.initialPlacement),placement:Oa(l.placement),flipBoundaries:o,overflowBoundaries:v,scrollParents:Array.from(Z)}};function ee(a){let l=q(null),c=q(null),h=q(null),Z=q(null),o=q(null),{enabled:v=!0}=a,r=Fw(a),e=j(()=>{if(l.current)l.current.dispose();l.current=null;var V;let i=(V=h.current)!==null&&V!==void 0?V:c.current;if(v&&Z3()&&i&&Z.current)l.current=eu({container:Z.current,target:i,arrow:o.current,...r(Z.current,o.current)})},[v,r]),M=A1((V)=>{h.current=V,e()});i5(a.positioningRef,()=>({updatePosition:()=>{var V;return(V=l.current)===null||V===void 0?void 0:V.updatePosition()},setTarget:(V)=>{if(a.target){let i=new Error;console.warn("Imperative setTarget should not be used at the same time as target option"),console.warn(i.stack)}M(V)}}),[a.target,M]),$1(()=>{var V;M((V=a.target)!==null&&V!==void 0?V:null)},[a.target,M]),$1(()=>{e()},[e]),M1(()=>{if(Z.current){var V;let i=Z.current,u=(V=i.ownerDocument)===null||V===void 0?void 0:V.createTreeWalker(i,NodeFilter.SHOW_ELEMENT,{acceptNode:yr});while(u.nextNode()){let L=u.currentNode;console.warn("<Popper>:",L),console.warn(['<Popper>: ^ 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",`
|
|
132
|
+
`,'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",`
|
|
133
|
+
`,'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 t=Ua(null,(V)=>{if(c.current!==V)c.current=V,e()}),m=A1(()=>{var V;return(V=a.onPositioningEnd)===null||V===void 0?void 0:V.call(a)}),H=Ua(null,(V)=>{if(Z.current!==V){var i;(i=Z.current)===null||i===void 0||i.removeEventListener(Da,m),V===null||V===void 0||V.addEventListener(Da,m),Z.current=V,e()}}),A=Ua(null,(V)=>{if(o.current!==V)o.current=V,e()});return{targetRef:t,containerRef:H,arrowRef:A}}function Fw(a){let{align:l,arrowPadding:c,autoSize:h,coverTarget:Z,flipBoundary:o,offset:v,overflowBoundary:r,pinned:e,position:M,unstable_disableTether:t,positionFixed:m,strategy:H,overflowBoundaryPadding:A,fallbackPositions:V,useTransform:i,matchTargetSize:u,disableUpdateOnResize:L=!1,shiftToCoverTarget:d}=a,{dir:g,targetDocument:R}=C1(),x=g==="rtl",S=(H!==null&&H!==void 0?H:m)?"fixed":"absolute",p=_r(h);return j((O,I)=>{let Z1=Qr(O),o1=[p&&he(p),u&&re(),v&&oe(v),Z&&ae(),!e&&le({container:O,flipBoundary:o,hasScrollableElement:Z1,isRtl:x,fallbackPositions:V}),ve({container:O,hasScrollableElement:Z1,overflowBoundary:r,disableTether:t,overflowBoundaryPadding:A,isRtl:x,shiftToCoverTarget:d}),p&&Ze(p,{container:O,overflowBoundary:r,overflowBoundaryPadding:A,isRtl:x}),ce(),I&&lu({element:I,padding:c}),$r({strategy:"referenceHidden"}),$r({strategy:"escaped"}),R&&tu(R,Hu(a))].filter(Boolean);return{placement:ba(l,M,x),middleware:o1,strategy:S,useTransform:i,disableUpdateOnResize:L}},[l,c,p,Z,t,o,x,v,r,e,M,S,A,V,i,u,R,L])}C();var Me=(a)=>{let[l,c]=m1(a);return[l,(Z)=>{if(Z===void 0||Z===null){c(void 0);return}let o;if(!(Z instanceof MouseEvent))o=Z.nativeEvent;else o=Z;if(!(o instanceof MouseEvent))console.error("usePositioningMouseTarget should only be used with MouseEvent");let v=gn(o);c(v)}]};C();C();var vZ=c4(void 0),Rw={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},xw=vZ.Provider,p0=(a)=>x6(vZ,(l=Rw)=>a(l));var Pa=(a,l)=>{let c=p0((d)=>d.contentRef),h=p0((d)=>d.openOnHover),Z=p0((d)=>d.setOpen),o=p0((d)=>d.mountNode),v=p0((d)=>d.arrowRef),r=p0((d)=>d.size),e=p0((d)=>d.withArrow),M=p0((d)=>d.appearance),t=p0((d)=>d.trapFocus),m=p0((d)=>d.inertTrapFocus),H=p0((d)=>d.inline),{modalAttributes:A}=n2({trapFocus:t,legacyTrapFocus:!m,alwaysFocusable:!t}),V={inline:H,appearance:M,withArrow:e,size:r,arrowRef:v,mountNode:o,components:{root:"div"},root:f.always(_("div",{ref:E1(l,c),role:t?"dialog":"group","aria-modal":t?!0:void 0,...A,...a}),{elementType:"div"})},{onMouseEnter:i,onMouseLeave:u,onKeyDown:L}=V.root;return V.root.onMouseEnter=(d)=>{if(h)Z(d,!0);i===null||i===void 0||i(d)},V.root.onMouseLeave=(d)=>{if(h)Z(d,!1);u===null||u===void 0||u(d)},V.root.onKeyDown=(d)=>{var g;if(d.key==="Escape"&&((g=c.current)===null||g===void 0?void 0:g.contains(d.target)))d.preventDefault(),Z(d,!1);L===null||L===void 0||L(d)},V};C();C();function Ia(a){if(q1(a))return{element:a};if(typeof a==="object"){if(a===null)return{element:null};return a}return{}}C();var A4={};Wc(A4,{version:()=>J3,useTransition:()=>zc,useSyncExternalStore:()=>Ic,useState:()=>m1,useRef:()=>q,useReducer:()=>$5,useMemo:()=>d1,useLayoutEffect:()=>H2,useInsertionEffect:()=>E5,useImperativeHandle:()=>i5,useId:()=>z3,useErrorBoundary:()=>Pc,useEffect:()=>M1,useDeferredValue:()=>Gc,useDebugValue:()=>D8,useContext:()=>h1,useCallback:()=>j,unstable_batchedUpdates:()=>tv,unmountComponentAtNode:()=>T8,startTransition:()=>qc,render:()=>f8,memo:()=>k8,lazy:()=>ov,isValidElement:()=>v5,isMemo:()=>Mv,isFragment:()=>ev,isElement:()=>Vv,hydrate:()=>Kc,forwardRef:()=>U,flushSync:()=>Hv,findDOMNode:()=>mv,default:()=>W8,createRef:()=>o5,createPortal:()=>S8,createFactory:()=>rv,createElement:()=>r1,createContext:()=>e1,cloneElement:()=>j7,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:()=>B8,SuspenseList:()=>K3,Suspense:()=>Q4,StrictMode:()=>Av,PureComponent:()=>s8,Fragment:()=>V1,Component:()=>Z5,Children:()=>g7});C();C();var me=()=>{try{return A4["".concat("__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE")].A.getOwner()}catch{}try{return A4["".concat("__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED")].ReactCurrentOwner.current}catch{console.error("use-disposable: failed to get current fiber, please report this bug to maintainers")}},Au=/*@__PURE__*/Symbol.for("react.strict_mode"),pw=()=>{let a=q(void 0),l=d1(()=>{return Number(J3.split(".")[0])},[J3]);if(isNaN(l)||l<18)return!1;if(a.current===void 0){let c=me();while(c&&c.return)if(c=c.return,c.type===Au||c.elementType===Au)a.current=!0}return!!a.current},Vu=/*@__PURE__*/new WeakSet;function ww(a,l){let c=me();M1(()=>{if(!Vu.has(c)){Vu.add(c),a();return}return a()},l)}var iu=/*@__PURE__*/new WeakSet;function Dw(a,l){return d1(()=>{let c=me();if(!iu.has(c))return iu.add(c),null;return a()},l)}function nu(a,l){var c;let h=pw()&&!0,Z=h?Dw:d1,o=h?ww:M1,[v,r]=(c=Z(()=>a(),l))!=null?c:[null,()=>null];return o(()=>{return r},l),v}var uu=/*@__PURE__*/B({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 Lu=E5,du=(a)=>{let{targetDocument:l,dir:c}=C1(),h=jv(),Z=B7(),o=uu(),v=j8(),r=k(v,o.root,a.className),e=h!==null&&h!==void 0?h:l===null||l===void 0?void 0:l.body,M=nu(()=>{if(e===void 0||a.disabled)return[null,()=>null];let t=e.ownerDocument.createElement("div");return e.appendChild(t),[t,()=>t.remove()]},[e]);if(Lu)Lu(()=>{if(!M)return;let t=r.split(" ").filter(Boolean);return M.classList.add(...t),M.setAttribute("dir",c),M.setAttribute("data-portal-node","true"),Z.current=M,()=>{M.classList.remove(...t),M.removeAttribute("dir")}},[r,c,M,Z]);else d1(()=>{if(!M)return;M.className=r,M.setAttribute("dir",c),M.setAttribute("data-portal-node","true"),Z.current=M},[r,c,M,Z]);return M};var te=(a)=>{let{element:l,className:c}=Ia(a.mountNode),h=q(null),Z=du({disabled:!!l,className:c}),o=l!==null&&l!==void 0?l:Z,v={children:a.children,mountNode:o,virtualParentRootRef:h};return M1(()=>{if(!o)return;let r=h.current,e=o.contains(r);if(r&&!e)return Za(o,r),()=>{Za(o,void 0)}},[h,o]),v};C();C();var He=(a)=>{return/*@__PURE__*/r1("span",{hidden:!0,ref:a.virtualParentRootRef},a.mountNode&&/*@__PURE__*/S8(a.children,a.mountNode))};var P7=(a)=>{let l=te(a);return He(l)};P7.displayName="Portal";var qa=(a)=>{G(a);let l=/*@__PURE__*/x1(a.root,{children:[a.withArrow&&/*@__PURE__*/D("div",{ref:a.arrowRef,className:a.arrowClassName}),a.root.children]});if(a.inline)return l;return/*@__PURE__*/D(P7,{mountNode:a.mountNode,children:l})};var Ga={root:"fui-PopoverSurface"},B6={small:6,medium:8,large:8},sw=/*@__PURE__*/B({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",B93otf3:"f18k4bn6",vin17d:"fo1kyvf",Ezkn3b:"fetxo7e",nyiy2g:"f8x1vz1",swvrvq:"f8g0anz",Bkovbt3:"fezwn9i",hgjdhn:"fz5efge",fsy9dk:"f1ydixl4",B3ogreh:"f8dgqj5",jv49x5:"fnyfnr8",Bk7o48c:"fgw77r4",Bv12yb3:"f1noc5he",z0t1cu:"fi19xcv",Bks05zx:"f1mxk9aa",Bvtglag:"ffzg62k",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);}",".f18k4bn6{animation-composition:accumulate;}",".fo1kyvf{animation-duration:var(--durationSlower);}",".fetxo7e{animation-timing-function:var(--curveDecelerateMid);}",".f8x1vz1{--fui-positioning-slide-distance-x:0px;}",".f8g0anz{--fui-positioning-slide-distance-y:10px;}",".fezwn9i[data-popper-placement^=right]{--fui-positioning-slide-distance-x:-10px;}",".fz5efge[data-popper-placement^=right]{--fui-positioning-slide-distance-y:0px;}",".f1ydixl4[data-popper-placement^=bottom]{--fui-positioning-slide-distance-x:0px;}",".f8dgqj5[data-popper-placement^=bottom]{--fui-positioning-slide-distance-y:-10px;}",".fnyfnr8[data-popper-placement^=left]{--fui-positioning-slide-distance-x:10px;}",".fgw77r4[data-popper-placement^=left]{--fui-positioning-slide-distance-y:0px;}",".f1noc5he{animation-name:f1m0q9mo,f79suad;}",".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;}'],k:["@keyframes f1m0q9mo{from{opacity:-1;}to{opacity:0;}}","@keyframes f79suad{from{transform:translate(var(--fui-positioning-slide-distance-x), var(--fui-positioning-slide-distance-y));}}"],m:[["@media (prefers-reduced-motion){.fi19xcv[data-popper-placement]{animation-duration:1ms;}}",{m:"(prefers-reduced-motion)"}],["@media (prefers-reduced-motion){.f1mxk9aa[data-popper-placement]{animation-name:f1m0q9mo;}}",{m:"(prefers-reduced-motion)"}]],t:["@supports not (animation-composition: accumulate){.ffzg62k[data-popper-placement]{animation-name:f1m0q9mo;}}"]}),T6=(a)=>{let l=sw();return a.root.className=k(Ga.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=k(l.arrow,a.size==="small"?l.smallArrow:l.mediumLargeArrow),a};var C2=/*@__PURE__*/U((a,l)=>{let c=Pa(a,l);return T6(c),z("usePopoverSurfaceStyles_unstable")(c),qa(c)});C2.displayName="PopoverSurface";var gu=4;var za=(a)=>{let[l,c]=Me(),h={size:"medium",contextTarget:l,setContextTarget:c,...a},Z=g7.toArray(a.children);if(Z.length===0)console.warn("Popover must contain at least one child");if(Z.length>2)console.warn("Popover must contain at most two children");let o=void 0,v=void 0;if(Z.length===2)o=Z[0],v=Z[1];else if(Z.length===1)v=Z[0];let[r,e]=kw(h),[M,t]=j2(),m=A1((x,S)=>{if(t(),!(x instanceof Event)&&x.persist)x.persist();if(x.type==="mouseleave"){var p;M(()=>{e(x,S)},(p=a.mouseLeaveDelay)!==null&&p!==void 0?p:500)}else e(x,S)}),H=j((x)=>{m(x,!r)},[m,r]),A=Sw(h),{targetDocument:V}=C1();var i;Ch({contains:ha,element:V,callback:(x)=>m(x,!1),refs:[A.triggerRef,A.contentRef],disabled:!r,disabledFocusOnIframe:!((i=a.closeOnIframeFocus)!==null&&i!==void 0?i:!0)});let u=h.openOnContext||h.closeOnScroll;Fh({contains:ha,element:V,callback:(x)=>m(x,!1),refs:[A.triggerRef,A.contentRef],disabled:!r||!u});let{findFirstFocusable:L}=f7(),d=Sh();M1(()=>{if(a.unstable_disableAutoFocus)return;let x=A.contentRef.current;if(r&&x){var S;let p=!isNaN((S=x.getAttribute("tabIndex"))!==null&&S!==void 0?S:void 0),O=p?x:L(x);if(O===null||O===void 0||O.focus(),p)d(x)}},[L,d,r,A.contentRef,a.unstable_disableAutoFocus]);var g,R;return{...h,...A,inertTrapFocus:(g=a.inertTrapFocus)!==null&&g!==void 0?g:a.legacyTrapFocus===void 0?!1:!a.legacyTrapFocus,popoverTrigger:o,popoverSurface:v,open:r,setOpen:m,toggleOpen:H,setContextTarget:c,contextTarget:l,inline:(R=a.inline)!==null&&R!==void 0?R:!1}};function kw(a){let l=A1((v,r)=>{var e;return(e=a.onOpenChange)===null||e===void 0?void 0:e.call(a,v,r)}),[c,h]=y5({state:a.open,defaultState:a.defaultOpen,initialState:!1});a.open=c!==void 0?c:a.open;let Z=a.setContextTarget,o=j((v,r)=>{if(r&&v.type==="contextmenu")Z(v);if(!r)Z(void 0);h(r),l===null||l===void 0||l(v,{open:r})},[h,l,Z]);return[c,o]}function Sw(a){let l={position:"above",align:"center",arrowPadding:2*gu,target:a.openOnContext?a.contextTarget:void 0,...S6(a.positioning)};if(l.coverTarget)a.withArrow=!1;if(a.withArrow)l.offset=oZ(l.offset,B6[a.size]);let{targetRef:c,containerRef:h,arrowRef:Z}=ee(l);return{triggerRef:c,contentRef:h,arrowRef:Z}}C();var Ka=(a)=>{let{appearance:l,arrowRef:c,contentRef:h,inline:Z,mountNode:o,open:v,openOnContext:r,openOnHover:e,setOpen:M,size:t,toggleOpen:m,trapFocus:H,triggerRef:A,withArrow:V,inertTrapFocus:i}=a;return/*@__PURE__*/r1(vZ.Provider,{value:{appearance:l,arrowRef:c,contentRef:h,inline:Z,mountNode:o,open:v,openOnContext:r,openOnHover:e,setOpen:M,toggleOpen:m,triggerRef:A,size:t,trapFocus:H,inertTrapFocus:i,withArrow:V}},a.popoverTrigger,a.open&&a.popoverSurface)};var F2=(a)=>{let l=za(a);return Ka(l)};F2.displayName="Popover";C();C();var Ja=(a)=>{let{children:l,disableButtonEnhancement:c=!1}=a,h=X3(l),Z=p0((g)=>g.open),o=p0((g)=>g.setOpen),v=p0((g)=>g.toggleOpen),r=p0((g)=>g.triggerRef),e=p0((g)=>g.openOnHover),M=p0((g)=>g.openOnContext),{triggerAttributes:t}=n2(),m=(g)=>{if(M)g.preventDefault(),o(g,!0)},H=(g)=>{if(!M)v(g)},A=(g)=>{if(g.key===Z4&&Z&&!g.isDefaultPrevented())o(g,!1),g.preventDefault()},V=(g)=>{if(e)o(g,!0)},i=(g)=>{if(e)o(g,!1)},u={...t,"aria-expanded":`${Z}`,...h===null||h===void 0?void 0:h.props,onMouseEnter:A1(j5(h===null||h===void 0?void 0:h.props.onMouseEnter,V)),onMouseLeave:A1(j5(h===null||h===void 0?void 0:h.props.onMouseLeave,i)),onContextMenu:A1(j5(h===null||h===void 0?void 0:h.props.onContextMenu,m)),ref:E1(r,h===null||h===void 0?void 0:h.ref)},L={...u,onClick:A1(j5(h===null||h===void 0?void 0:h.props.onClick,H)),onKeyDown:A1(j5(h===null||h===void 0?void 0:h.props.onKeyDown,A))},d=L2((h===null||h===void 0?void 0:h.type)==="button"||(h===null||h===void 0?void 0:h.type)==="a"?h.type:"div",L);return{children:A6(a.children,L2((h===null||h===void 0?void 0:h.type)==="button"||(h===null||h===void 0?void 0:h.type)==="a"?h.type:"div",M?u:c?L:d))}};var $a=(a)=>{return a.children};var l2=(a)=>{let l=Ja(a);return $a(l)};l2.displayName="PopoverTrigger";l2.isFluentTriggerComponent=!0;C();var I7=(a)=>{G(a);let{iconOnly:l,iconPosition:c}=a;return/*@__PURE__*/x1(a.root,{children:[c!=="after"&&a.icon&&/*@__PURE__*/D(a.icon,{}),!l&&a.root.children,c==="after"&&a.icon&&/*@__PURE__*/D(a.icon,{})]})};C();C();var Cu=e1(void 0),Bw={},v11=Cu.Provider,Fu=()=>{var a;return(a=h1(Cu))!==null&&a!==void 0?a:Bw};var t3=(a,l)=>{let{size:c}=Fu(),{appearance:h="secondary",as:Z="button",disabled:o=!1,disabledFocusable:v=!1,icon:r,iconPosition:e="before",shape:M="rounded",size:t=c!==null&&c!==void 0?c:"medium"}=a,m=f.optional(r,{elementType:"span"});return{appearance:h,disabled:o,disabledFocusable:v,iconPosition:e,shape:M,size:t,iconOnly:Boolean((m===null||m===void 0?void 0:m.children)&&!a.children),components:{root:"button",icon:"span"},root:f.always(_(Z,L2(a.as,a)),{elementType:"button",defaultProps:{ref:l,type:Z==="button"?"button":void 0}}),icon:m}};var W6={root:"fui-Button",icon:"fui-Button__icon"};var V11=`calc(${Q1.strokeWidthThin} + 0.25px)`,Tw=/*@__PURE__*/Y("r1alrhcs",null,{r:[".r1alrhcs{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);}",".r1alrhcs:hover{background-color:var(--colorNeutralBackground1Hover);border-color:var(--colorNeutralStroke1Hover);color:var(--colorNeutralForeground1Hover);cursor:pointer;}",".r1alrhcs:hover:active{background-color:var(--colorNeutralBackground1Pressed);border-color:var(--colorNeutralStroke1Pressed);color:var(--colorNeutralForeground1Pressed);outline-style:none;}",".r1alrhcs[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){.r1alrhcs{transition-duration:0.01ms;}}","@media (forced-colors: active){.r1alrhcs:focus{border-color:ButtonText;}.r1alrhcs:hover{background-color:HighlightText;border-color:Highlight;color:Highlight;forced-color-adjust:none;}.r1alrhcs:hover:active{background-color:HighlightText;border-color:Highlight;color:Highlight;forced-color-adjust:none;}}","@supports (-moz-appearance:button){.r1alrhcs[data-fui-focus-visible]{box-shadow:0 0 0 calc(var(--strokeWidthThin) + 0.25px) var(--colorStrokeFocus2) inset;}}"]}),Ww=/*@__PURE__*/Y("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);}"]),bw=/*@__PURE__*/B({outline:{De3pzq:"f1c21dwh",Jwef8y:"fjxutwb",iro3zm:"fwiml72"},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",iro3zm:"fnp9lpt",b661bw:"f1h0usnq",Bk6r4ia:["fs4ktlq","fx2bmrt"],B9zn80p:"f16h9ulv",Bpld233:["fx2bmrt","fs4ktlq"],B2d53fq:"f1d6v5y2",Bsw6fvg:"f1rirnrt",Bjwas2f:"f1uu00uk",Bn1d65q:["fkvaka8","f9a0qzu"],Bxeuatn:"f1ux7til",n51gp8:["f9a0qzu","fkvaka8"],Bbusuzp:"f1lkg8j3",ycbfsm:"fkc42ay",Bqrx1nm:"fq7113v",pgvf35:"ff1wgvm",Bh7lczh:["fiob0tu","f1x4h75k"],dpv3f4:"f1j6scgf",Bpnjhaq:["f1x4h75k","fiob0tu"],ze5xyy:"f4xjyn1",g2kj27:"fbgcvur",Bf756sw:"f1ks1yx8",Bow2dr7:["f1o6qegi","fmxjhhp"],Bvhedfk:"fcnxywj",Gye4lf:["fmxjhhp","f1o6qegi"],pc6evw:"f9ddjv3"},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",iro3zm:"fsv2rcd",b661bw:"f1h0usnq",Bk6r4ia:["fs4ktlq","fx2bmrt"],B9zn80p:"f16h9ulv",Bpld233:["fx2bmrt","fs4ktlq"],B2d53fq:"f1omzyqd",em6i61:"f1dfjoow",vm6p8p:"f1j98vj9",x3br3k:"fj8yq94",ze5xyy:"f4xjyn1",Bx3q9su:"f1et0tmh",pc6evw:"f9ddjv3",xd2cci:"f1wi8ngl"},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",iro3zm:"fwiml72",b661bw:"f1h0usnq",Bk6r4ia:["fs4ktlq","fx2bmrt"],B9zn80p:"f16h9ulv",Bpld233:["fx2bmrt","fs4ktlq"],B2d53fq:"f1fg1p5m",em6i61:"f1dfjoow",vm6p8p:"f1j98vj9",Bqrx1nm:"f1tme0vf",ze5xyy:"f4xjyn1",g2kj27:"f18onu3q",pc6evw:"f9ddjv3"},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);}",".fwiml72:hover:active{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);}",".fnp9lpt:hover:active{background-color:var(--colorBrandBackgroundPressed);}",".f1h0usnq:hover:active{border-top-color:transparent;}",".fs4ktlq:hover:active{border-right-color:transparent;}",".fx2bmrt:hover:active{border-left-color:transparent;}",".f16h9ulv:hover:active{border-bottom-color:transparent;}",".f1d6v5y2:hover:active{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);}",".fsv2rcd:hover:active{background-color:var(--colorSubtleBackgroundPressed);}",".f1omzyqd:hover:active{color:var(--colorNeutralForeground2Pressed);}",".f1dfjoow:hover:active .fui-Icon-filled{display:inline;}",".f1j98vj9:hover:active .fui-Icon-regular{display:none;}",".fj8yq94:hover:active .fui-Button__icon{color:var(--colorNeutralForeground2BrandPressed);}",".f139oj5f:hover{color:var(--colorNeutralForeground2BrandHover);}",".f1fg1p5m:hover:active{color:var(--colorNeutralForeground2BrandPressed);}"],m:[["@media (forced-colors: active){.f1rirnrt{background-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1uu00uk{border-top-color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f9a0qzu{border-left-color:HighlightText;}.fkvaka8{border-right-color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1ux7til{border-bottom-color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1lkg8j3{color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fkc42ay{forced-color-adjust:none;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fq7113v:hover{background-color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.ff1wgvm:hover{border-top-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1x4h75k:hover{border-left-color:Highlight;}.fiob0tu:hover{border-right-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1j6scgf:hover{border-bottom-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f4xjyn1:hover{color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fbgcvur:hover:active{background-color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1ks1yx8:hover:active{border-top-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1o6qegi:hover:active{border-right-color:Highlight;}.fmxjhhp:hover:active{border-left-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fcnxywj:hover:active{border-bottom-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f9ddjv3:hover:active{color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1et0tmh:hover .fui-Button__icon{color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1wi8ngl:hover:active .fui-Button__icon{color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1tme0vf:hover{background-color:var(--colorTransparentBackground);}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f18onu3q:hover:active{background-color:var(--colorTransparentBackground);}}",{m:"(forced-colors: active)"}]]}),Ow=/*@__PURE__*/B({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",iro3zm:"f1t6o4dc",b661bw:"f10ztigi",Bk6r4ia:["f1ft5sdu","f1gzf82w"],B9zn80p:"f12zbtn2",Bpld233:["f1gzf82w","f1ft5sdu"],B2d53fq:"fcvwxyo",c3iz72:"f8w4c43",em6i61:"f1ol4fw6",vm6p8p:"f1q1lw4e",x3br3k:"f1dwjv2g"},highContrast:{Bsw6fvg:"f4lkoma",Bjwas2f:"fg455y9",Bn1d65q:["f1rvyvqg","f14g86mu"],Bxeuatn:"f1cwzwz",n51gp8:["f14g86mu","f1rvyvqg"],Bbusuzp:"f1dcs8yz",Bm2fdqk:"fuigjrg",G867l3:"fjwq6ea",gdbnj:["f1lr3nhc","f1mbxvi6"],mxns5l:"fn5gmvv",o3nasb:["f1mbxvi6","f1lr3nhc"],Bqrx1nm:"f1vmkb5g",pgvf35:"f53ppgq",Bh7lczh:["f1663y11","f80fkiy"],dpv3f4:"f18v5270",Bpnjhaq:["f80fkiy","f1663y11"],ze5xyy:"f1kc2mi9",Bx3q9su:"f4dhi0o",g2kj27:"f1y0svfh",Bf756sw:"fihuait",Bow2dr7:["fnxhupq","fyd6l6x"],Bvhedfk:"fx507ft",Gye4lf:["fyd6l6x","fnxhupq"],pc6evw:"fb3rf2x",xd2cci:"fequ9m0"},outline:{De3pzq:"f1c21dwh",Jwef8y:"f9ql6rf",iro3zm:"f3h1zc4"},primary:{g2u3we:"f1p3nwhy",h3c5rm:["f11589ue","f1pdflbu"],B9xav0g:"f1q5o8ev",zhjwy3:["f1pdflbu","f11589ue"],Bgoe8wy:"f1s2uweq",Bwzppfd:["fr80ssc","fecsdlb"],oetu4i:"f1ukrpxl",gg5e9n:["fecsdlb","fr80ssc"],b661bw:"f1h0usnq",Bk6r4ia:["fs4ktlq","fx2bmrt"],B9zn80p:"f16h9ulv",Bpld233:["fx2bmrt","fs4ktlq"]},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"],iro3zm:"f3h1zc4",b661bw:"f1h0usnq",Bk6r4ia:["fs4ktlq","fx2bmrt"],B9zn80p:"f16h9ulv",Bpld233:["fx2bmrt","fs4ktlq"]},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"],iro3zm:"f3h1zc4",b661bw:"f1h0usnq",Bk6r4ia:["fs4ktlq","fx2bmrt"],B9zn80p:"f16h9ulv",Bpld233:["fx2bmrt","fs4ktlq"]}},{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);}",".f1t6o4dc:hover:active{background-color:var(--colorNeutralBackgroundDisabled);}",".f10ztigi:hover:active{border-top-color:var(--colorNeutralStrokeDisabled);}",".f1ft5sdu:hover:active{border-right-color:var(--colorNeutralStrokeDisabled);}",".f1gzf82w:hover:active{border-left-color:var(--colorNeutralStrokeDisabled);}",".f12zbtn2:hover:active{border-bottom-color:var(--colorNeutralStrokeDisabled);}",".fcvwxyo:hover:active{color:var(--colorNeutralForegroundDisabled);}",".f8w4c43:hover:active{cursor:not-allowed;}",".f1ol4fw6:hover:active .fui-Icon-filled{display:none;}",".f1q1lw4e:hover:active .fui-Icon-regular{display:inline;}",".f1dwjv2g:hover:active .fui-Button__icon{color:var(--colorNeutralForegroundDisabled);}",".f9ql6rf:hover{background-color:var(--colorTransparentBackground);}",".f3h1zc4:hover:active{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;}",".f1h0usnq:hover:active{border-top-color:transparent;}",".fs4ktlq:hover:active{border-right-color:transparent;}",".fx2bmrt:hover:active{border-left-color:transparent;}",".f16h9ulv:hover:active{border-bottom-color:transparent;}"],m:[["@media (forced-colors: active){.f4lkoma{background-color:ButtonFace;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fg455y9{border-top-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f14g86mu{border-left-color:GrayText;}.f1rvyvqg{border-right-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1cwzwz{border-bottom-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1dcs8yz{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fuigjrg .fui-Button__icon{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fjwq6ea:focus{border-top-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1lr3nhc:focus{border-right-color:GrayText;}.f1mbxvi6:focus{border-left-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fn5gmvv:focus{border-bottom-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1vmkb5g:hover{background-color:ButtonFace;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f53ppgq:hover{border-top-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1663y11:hover{border-right-color:GrayText;}.f80fkiy:hover{border-left-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f18v5270:hover{border-bottom-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1kc2mi9:hover{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f4dhi0o:hover .fui-Button__icon{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1y0svfh:hover:active{background-color:ButtonFace;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fihuait:hover:active{border-top-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fnxhupq:hover:active{border-right-color:GrayText;}.fyd6l6x:hover:active{border-left-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fx507ft:hover:active{border-bottom-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fb3rf2x:hover:active{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fequ9m0:hover:active .fui-Button__icon{color:GrayText;}}",{m:"(forced-colors: active)"}]]}),Uw=/*@__PURE__*/B({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"],Boium3a:["f12k37oa","fdnykm2"],tm8e47:"fr96u23"},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){.f12k37oa[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;}.fdnykm2[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){.fr96u23[data-fui-focus-visible]:hover{box-shadow:var(--shadow2),0 0 0 calc(var(--strokeWidthThin) + 0.25px) var(--colorStrokeFocus2) inset;}}"]}),Pw=/*@__PURE__*/B({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;}"]}),Iw=/*@__PURE__*/B({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);}"]}),H3=(a)=>{let l=Tw(),c=Ww(),h=bw(),Z=Ow(),o=Uw(),v=Pw(),r=Iw(),{appearance:e,disabled:M,disabledFocusable:t,icon:m,iconOnly:H,iconPosition:A,shape:V,size:i}=a;if(a.root.className=k(W6.root,l,e&&h[e],h[i],m&&i==="small"&&h.smallWithIcon,m&&i==="large"&&h.largeWithIcon,h[V],(M||t)&&Z.base,(M||t)&&Z.highContrast,e&&(M||t)&&Z[e],e==="primary"&&o.primary,o[i],o[V],H&&v[i],a.root.className),a.icon)a.icon.className=k(W6.icon,c,!!a.root.children&&r[A],r[i],a.icon.className);return a};var F1=/*@__PURE__*/U((a,l)=>{let c=t3(a,l);return H3(c),z("useButtonStyles_unstable")(c),I7(c)});F1.displayName="Button";C();C();C();C();var Ru=e1(void 0),Ea=Ru.Provider,V4=()=>h1(Ru);C();var Qa=(a)=>{var l,c,h,Z;let{generatedControlId:o,orientation:v,required:r,size:e,validationState:M}=a,t=(l=a.label)===null||l===void 0?void 0:l.htmlFor,m=(c=a.label)===null||c===void 0?void 0:c.id,H=(h=a.validationMessage)===null||h===void 0?void 0:h.id,A=(Z=a.hint)===null||Z===void 0?void 0:Z.id;return{field:d1(()=>({generatedControlId:o,hintId:A,labelFor:t,labelId:m,orientation:v,required:r,size:e,validationMessageId:H,validationState:M}),[o,A,t,m,v,r,e,H,M])}};function q7(a,l){return rZ(V4(),a,l)}function rZ(a,l,c){if(!a)return l;l={...l};let{generatedControlId:h,hintId:Z,labelFor:o,labelId:v,required:r,validationMessageId:e,validationState:M}=a;if(h){var t,m;(m=(t=l).id)!==null&&m!==void 0||(t.id=h)}if(v&&(!(c===null||c===void 0?void 0:c.supportsLabelFor)||o!==l.id)){var H,A,V;(V=(H=l)[A="aria-labelledby"])!==null&&V!==void 0||(H[A]=v)}if(e||Z)l["aria-describedby"]=[e,Z,l===null||l===void 0?void 0:l["aria-describedby"]].filter(Boolean).join(" ");if(M==="error"){var i,u,L;(L=(i=l)[u="aria-invalid"])!==null&&L!==void 0||(i[u]=!0)}if(r)if(c===null||c===void 0?void 0:c.supportsRequired){var d,g;(g=(d=l).required)!==null&&g!==void 0||(d.required=!0)}else{var R,x,S;(S=(R=l)[x="aria-required"])!==null&&S!==void 0||(R[x]=!0)}if(c===null||c===void 0?void 0:c.supportsSize){var p,O;(O=(p=l).size)!==null&&O!==void 0||(p.size=a.size)}return l}var Ya=(a,l)=>{G(a);let{children:c}=a;if(typeof c==="function")c=c(rZ(l.field)||{});return/*@__PURE__*/D(Ea,{value:l===null||l===void 0?void 0:l.field,children:/*@__PURE__*/x1(a.root,{children:[a.label&&/*@__PURE__*/D(a.label,{}),c,a.validationMessage&&/*@__PURE__*/x1(a.validationMessage,{children:[a.validationMessageIcon&&/*@__PURE__*/D(a.validationMessageIcon,{}),a.validationMessage.children]}),a.hint&&/*@__PURE__*/D(a.hint,{})]})})};C();C();C();var Xa=(a,l)=>{let{disabled:c=!1,required:h=!1,weight:Z="regular",size:o="medium"}=a;return{disabled:c,required:f.optional(h===!0?"*":h||void 0,{defaultProps:{"aria-hidden":"true"},elementType:"span"}),weight:Z,size:o,components:{root:"label",required:"span"},root:f.always(_("label",{ref:l,...a}),{elementType:"label"})}};var ya=(a)=>{return G(a),/*@__PURE__*/x1(a.root,{children:[a.root.children,a.required&&/*@__PURE__*/D(a.required,{})]})};var ja={root:"fui-Label",required:"fui-Label__required"},qw=/*@__PURE__*/B({root:{Bahqtrf:"fk6fouc",sj55zd:"f19n0e5"},disabled:{sj55zd:"f1s2aq7o",Bbusuzp:"f1dcs8yz"},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){.f1dcs8yz{color:GrayText;}}",{m:"(forced-colors: active)"}]]}),Na=(a)=>{let l=qw();if(a.root.className=k(ja.root,l.root,a.disabled&&l.disabled,l[a.size],a.weight==="semibold"&&l.semibold,a.root.className),a.required)a.required.className=k(ja.required,l.required,a.disabled&&l.disabled,a.required.className);return a};var k0=/*@__PURE__*/U((a,l)=>{let c=Xa(a,l);return Na(c),z("useLabelStyles_unstable")(c),ya(c)});k0.displayName="Label";var Gw={error:/*@__PURE__*/r1(Qi,null),warning:/*@__PURE__*/r1(ji,null),success:/*@__PURE__*/r1(Gi,null),none:void 0},_a=(a,l)=>{let{children:c,orientation:h="vertical",required:Z=!1,validationState:o=a.validationMessage?"error":"none",size:v="medium"}=a,r=M0("field-"),e=r+"__control",M=f.always(_("div",{...a,ref:l},["children"]),{elementType:"div"}),t=f.optional(a.label,{defaultProps:{htmlFor:e,id:r+"__label",required:Z,size:v},elementType:k0}),m=f.optional(a.validationMessage,{defaultProps:{id:r+"__validationMessage",role:o==="error"||o==="warning"?"alert":void 0},elementType:"div"}),H=f.optional(a.hint,{defaultProps:{id:r+"__hint"},elementType:"div"}),A=Gw[o],V=f.optional(a.validationMessageIcon,{renderByDefault:!!A,defaultProps:{children:A},elementType:"span"});return{children:c,generatedControlId:e,orientation:h,required:Z,size:v,validationState:o,components:{root:"div",label:k0,validationMessage:"div",validationMessageIcon:"span",hint:"div"},root:M,label:t,validationMessageIcon:V,validationMessage:m,hint:H}};var A3={root:"fui-Field",label:"fui-Field__label",validationMessage:"fui-Field__validationMessage",validationMessageIcon:"fui-Field__validationMessageIcon",hint:"fui-Field__hint"};var zw=/*@__PURE__*/B({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;}"]}),Kw=/*@__PURE__*/B({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:[".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;}"]}),Jw=/*@__PURE__*/Y("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);}"]),$w=/*@__PURE__*/B({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));}"]}),Ew=/*@__PURE__*/Y("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;}"]),Qw=/*@__PURE__*/B({error:{sj55zd:"f1hcrxcs"},warning:{sj55zd:"f1k5f75o"},success:{sj55zd:"ffmvakt"}},{d:[".f1hcrxcs{color:var(--colorPaletteRedForeground1);}",".f1k5f75o{color:var(--colorPaletteDarkOrangeForeground1);}",".ffmvakt{color:var(--colorPaletteGreenForeground1);}"]}),a9=(a)=>{let{validationState:l,size:c}=a,h=a.orientation==="horizontal",Z=zw();a.root.className=k(A3.root,Z.base,h&&Z.horizontal,h&&!a.label&&Z.horizontalNoLabel,a.root.className);let o=Kw();if(a.label)a.label.className=k(A3.label,h&&o.horizontal,h&&c==="small"&&o.horizontalSmall,h&&c==="large"&&o.horizontalLarge,!h&&o.vertical,!h&&c==="large"&&o.verticalLarge,a.label.className);let v=Ew(),r=Qw();if(a.validationMessageIcon)a.validationMessageIcon.className=k(A3.validationMessageIcon,v,l!=="none"&&r[l],a.validationMessageIcon.className);let e=Jw(),M=$w();if(a.validationMessage)a.validationMessage.className=k(A3.validationMessage,e,l==="error"&&M.error,!!a.validationMessageIcon&&M.withIcon,a.validationMessage.className);if(a.hint)a.hint.className=k(A3.hint,e,a.hint.className);return a};var i4=/*@__PURE__*/U((a,l)=>{let c=_a(a,l);a9(c),z("useFieldStyles_unstable")(c);let h=Qa(c);return Ya(c,h)});i4.displayName="Field";var l9=(a,l)=>{a=q7(a,{supportsLabelFor:!0,supportsRequired:!0});let{disabled:c=!1,required:h,shape:Z="square",size:o="medium",labelPosition:v="after",onChange:r}=a,[e,M]=y5({defaultState:a.defaultChecked,state:a.checked,initialState:!1}),t=h3({props:a,primarySlotTagName:"input",excludedPropNames:["checked","defaultChecked","size","onChange"]}),m=e==="mixed",H=M0("checkbox-",t.primary.id),A;if(m)if(Z==="circular")A=/*@__PURE__*/r1(qh,null);else A=o==="large"?/*@__PURE__*/r1(yi,null):/*@__PURE__*/r1(Xi,null);else if(e)A=o==="large"?/*@__PURE__*/r1(qi,null):/*@__PURE__*/r1(Ii,null);let V={shape:Z,checked:e,disabled:c,size:o,labelPosition:v,components:{root:"span",input:"input",indicator:"div",label:k0},root:f.always(a.root,{defaultProps:{ref:i2(),...t.root},elementType:"span"}),input:f.always(a.input,{defaultProps:{type:"checkbox",id:H,ref:l,checked:e===!0,...t.primary},elementType:"input"}),label:f.optional(a.label,{defaultProps:{htmlFor:H,disabled:c,required:h,size:"medium"},elementType:k0}),indicator:f.optional(a.indicator,{renderByDefault:!0,defaultProps:{"aria-hidden":!0,children:A},elementType:"div"})};V.input.onChange=A1((u)=>{let L=u.currentTarget.indeterminate?"mixed":u.currentTarget.checked;r===null||r===void 0||r(u,{checked:L}),M(L)});let i=E1(V.input.ref);return V.input.ref=i,$1(()=>{if(i.current)i.current.indeterminate=m},[i,m]),V};var c9=(a)=>{return G(a),/*@__PURE__*/x1(a.root,{children:[/*@__PURE__*/D(a.input,{}),a.labelPosition==="before"&&a.label&&/*@__PURE__*/D(a.label,{}),a.indicator&&/*@__PURE__*/D(a.indicator,{}),a.labelPosition==="after"&&a.label&&/*@__PURE__*/D(a.label,{})]})};var n4={root:"fui-Checkbox",label:"fui-Checkbox__label",input:"fui-Checkbox__input",indicator:"fui-Checkbox__indicator"};var Yw=/*@__PURE__*/Y("r1q22k1j","r18ze4k2",{r:[".r1q22k1j{position:relative;display:inline-flex;cursor:pointer;vertical-align:middle;color:var(--colorNeutralForeground3);}",".r1q22k1j:focus{outline-style:none;}",".r1q22k1j:focus-visible{outline-style:none;}",".r1q22k1j[data-fui-focus-within]:focus-within{border-top-color:transparent;border-right-color:transparent;border-bottom-color:transparent;border-left-color:transparent;}",'.r1q22k1j[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);}',".r18ze4k2{position:relative;display:inline-flex;cursor:pointer;vertical-align:middle;color:var(--colorNeutralForeground3);}",".r18ze4k2:focus{outline-style:none;}",".r18ze4k2:focus-visible{outline-style:none;}",".r18ze4k2[data-fui-focus-within]:focus-within{border-top-color:transparent;border-left-color:transparent;border-bottom-color:transparent;border-right-color:transparent;}",'.r18ze4k2[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){.r1q22k1j[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){.r18ze4k2[data-fui-focus-within]:focus-within::after{border-top-color:Highlight;border-left-color:Highlight;border-bottom-color:Highlight;border-right-color:Highlight;}}"]}),Xw=/*@__PURE__*/B({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",Bbusuzp:"f1dcs8yz",mrqfp9:"fxb3eh3"}},{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){.f1dcs8yz{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fxb3eh3{--fui-Checkbox__indicator--color:GrayText;}}",{m:"(forced-colors: active)"}]]}),yw=/*@__PURE__*/Y("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));}"]),jw=/*@__PURE__*/B({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));}"]}),Nw=/*@__PURE__*/Y("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;}"]),_w=/*@__PURE__*/B({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}]]}),aD=/*@__PURE__*/B({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);}"]}),h9=(a)=>{let{checked:l,disabled:c,labelPosition:h,shape:Z,size:o}=a,v=Yw(),r=Xw();a.root.className=k(n4.root,v,c?r.disabled:l==="mixed"?r.mixed:l?r.checked:r.unchecked,a.root.className);let e=yw(),M=jw();a.input.className=k(n4.input,e,o==="large"&&M.large,M[h],a.input.className);let t=Nw(),m=_w();if(a.indicator)a.indicator.className=k(n4.indicator,t,o==="large"&&m.large,Z==="circular"&&m.circular,a.indicator.className);let H=aD();if(a.label)a.label.className=k(n4.label,H.base,H[o],H[h],a.label.className);return a};var u4=/*@__PURE__*/U((a,l)=>{let c=l9(a,l);return h9(c),z("useCheckboxStyles_unstable")(c),c9(c)});u4.displayName="Checkbox";C();var Z9=(a)=>{return G(a),/*@__PURE__*/D(a.root,{children:a.root.children!==void 0&&/*@__PURE__*/D(a.wrapper,{children:a.root.children})})};C();var o9=(a,l)=>{let{alignContent:c="center",appearance:h="default",inset:Z=!1,vertical:o=!1,wrapper:v}=a,r=M0("divider-");return{alignContent:c,appearance:h,inset:Z,vertical:o,components:{root:"div",wrapper:"div"},root:f.always(_("div",{role:"separator","aria-orientation":o?"vertical":"horizontal","aria-labelledby":a.children?r:void 0,...a,ref:l}),{elementType:"div"}),wrapper:f.always(v,{defaultProps:{id:r,children:a.children},elementType:"div"})}};var v9={root:"fui-Divider",wrapper:"fui-Divider__wrapper"};var lD=/*@__PURE__*/B({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);}"]}),cD=/*@__PURE__*/B({base:{a9b677:"fly5x3f",Bdkvgpv:"f163fonl",B0qfbqy:"f51yk4v",pbipgd:"f13rof3u",Bm2nyyq:"f8rth92",xrcqlc:"f6czdpx",i5u598:"f1iyka9k"},inset:{uwmqm3:["fjlbh76","f11qrl6u"],z189sj:["f11qrl6u","fjlbh76"]},start:{Ftih45:"f1wl9k8s",Bicfajf:["f1ojjlep","fk1kexq"],Bxwl2t9:"f1he2m4d",jwcpgy:["f12w1bnb","f1558wlj"]},center:{Bicfajf:["f1ojjlep","fk1kexq"],jwcpgy:["f12w1bnb","f1558wlj"]},end:{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;}",'.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;}",'.f13zj6fq::after{content:"";}',".f1ayce8x::after{max-width:8px;}"]}),hD=/*@__PURE__*/B({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;}"]}),r9=(a)=>{let l=lD(),c=cD(),h=hD(),{alignContent:Z,appearance:o,inset:v,vertical:r}=a;if(a.root.className=k(v9.root,l.base,l[Z],o&&l[o],!r&&c.base,!r&&v&&c.inset,!r&&c[Z],r&&h.base,r&&v&&h.inset,r&&h[Z],r&&a.root.children!==void 0&&h.withChildren,a.root.children===void 0&&l.childless,a.root.className),a.wrapper)a.wrapper.className=k(v9.wrapper,a.wrapper.className);return a};var P5=/*@__PURE__*/U((a,l)=>{let c=o9(a,l);return r9(c),z("useDividerStyles_unstable")(c),Z9(c)});P5.displayName="Divider";C();C();var e9=(a,l)=>{a=q7(a,{supportsLabelFor:!0,supportsRequired:!0,supportsSize:!0});let c=M6();var h;let{size:Z="medium",appearance:o=(h=c.inputDefaultAppearance)!==null&&h!==void 0?h:"outline",onChange:v}=a;if(o==="filled-darker-shadow"||o==="filled-lighter-shadow")console.error("The 'filled-darker-shadow' and 'filled-lighter-shadow' appearances are deprecated and will be removed in the future.");let[r,e]=y5({state:a.value,defaultState:a.defaultValue,initialState:""}),M=h3({props:a,primarySlotTagName:"input",excludedPropNames:["size","onChange","value","defaultValue"]}),t={size:Z,appearance:o,components:{root:"span",input:"input",contentBefore:"span",contentAfter:"span"},input:f.always(a.input,{defaultProps:{type:"text",ref:l,...M.primary},elementType:"input"}),contentAfter:f.optional(a.contentAfter,{elementType:"span"}),contentBefore:f.optional(a.contentBefore,{elementType:"span"}),root:f.always(a.root,{defaultProps:M.root,elementType:"span"})};return t.input.value=r,t.input.onChange=A1((m)=>{let H=m.target.value;v===null||v===void 0||v(m,{value:H}),e(H)}),t};var M9=(a)=>{return G(a),/*@__PURE__*/x1(a.root,{children:[a.contentBefore&&/*@__PURE__*/D(a.contentBefore,{}),/*@__PURE__*/D(a.input,{}),a.contentAfter&&/*@__PURE__*/D(a.contentAfter,{})]})};var L4={root:"fui-Input",input:"fui-Input__input",contentBefore:"fui-Input__contentBefore",contentAfter:"fui-Input__contentAfter"};var g51={root:{small:Q1.spacingHorizontalSNudge,medium:Q1.spacingHorizontalMNudge,large:Q1.spacingHorizontalM},input:{small:Q1.spacingHorizontalXXS,medium:Q1.spacingHorizontalXXS,large:Q1.spacingHorizontalSNudge},combined:{small:Q1.spacingHorizontalS,medium:Q1.spacingHorizontalM,large:`calc(${Q1.spacingHorizontalM} + ${Q1.spacingHorizontalSNudge})`}},ZD=/*@__PURE__*/Y("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;}}"]}),oD=/*@__PURE__*/B({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"],Bjwas2f:"fg455y9",Bn1d65q:["f1rvyvqg","f14g86mu"],Bxeuatn:"f1cwzwz",n51gp8:["f14g86mu","f1rvyvqg"],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){.fg455y9{border-top-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f14g86mu{border-left-color:GrayText;}.f1rvyvqg{border-right-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1cwzwz{border-bottom-color:GrayText;}}",{m:"(forced-colors: active)"}]],w:[".f99w1ws:focus-within{outline-style:none;}"]}),vD=/*@__PURE__*/Y("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;}"]),rD=/*@__PURE__*/B({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);}"]}),eD=/*@__PURE__*/Y("r1572tok",null,[".r1572tok{box-sizing:border-box;color:var(--colorNeutralForeground3);display:flex;}",".r1572tok>svg{font-size:20px;}"]),MD=/*@__PURE__*/B({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;}"]}),m9=(a)=>{let{size:l,appearance:c}=a,h=a.input.disabled,Z=`${a.input["aria-invalid"]}`==="true",o=c.startsWith("filled"),v=oD(),r=rD(),e=MD();a.root.className=k(L4.root,ZD(),v[l],a.contentBefore&&v[`${l}WithContentBefore`],a.contentAfter&&v[`${l}WithContentAfter`],v[c],!h&&c==="outline"&&v.outlineInteractive,!h&&c==="underline"&&v.underlineInteractive,!h&&o&&v.filledInteractive,o&&v.filled,!h&&Z&&v.invalid,h&&v.disabled,a.root.className),a.input.className=k(L4.input,vD(),r[l],a.contentBefore&&r[`${l}WithContentBefore`],a.contentAfter&&r[`${l}WithContentAfter`],h&&r.disabled,a.input.className);let M=[eD(),h&&e.disabled,e[l]];if(a.contentBefore)a.contentBefore.className=k(L4.contentBefore,...M,a.contentBefore.className);if(a.contentAfter)a.contentAfter.className=k(L4.contentAfter,...M,a.contentAfter.className);return a};var n5=/*@__PURE__*/U((a,l)=>{let c=e9(a,l);return m9(c),z("useInputStyles_unstable")(c),M9(c)});n5.displayName="Input";C();C();C();var t9=(a)=>{let{disabled:l,disabledFocusable:c}=a,{onClick:h,onKeyDown:Z,role:o,tabIndex:v}=a.root;if(a.root.as==="a"){if(a.root.href=l?void 0:a.root.href,l||c)a.root.role=o||"link"}if(a.root.as==="a"||a.root.as==="span")a.root.tabIndex=v!==null&&v!==void 0?v:l&&!c?void 0:0;if(a.root.onClick=(r)=>{if(l||c)r.preventDefault();else h===null||h===void 0||h(r)},a.root.onKeyDown=(r)=>{let e=r.key===h4||r.key===M3;if((l||c)&&e)r.preventDefault(),r.stopPropagation();else if(Z===null||Z===void 0||Z(r),a.root.as==="span"&&!!a.root.onClick&&!Z&&e)r.preventDefault(),r.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};C();var xu=e1(void 0),Ae={inline:!1},eZ=xu.Provider,MZ=()=>{var a;return(a=h1(xu))!==null&&a!==void 0?a:Ae};var H9=(a,l)=>{let c=m6(),{inline:h}=MZ(),{appearance:Z="default",disabled:o=!1,disabledFocusable:v=!1,inline:r=!1}=a,e=a.as||(a.href?"a":"button"),M={role:e==="span"?"button":void 0,type:e==="button"?"button":void 0,...a,as:e},t={appearance:Z,disabled:o,disabledFocusable:v,inline:r!==null&&r!==void 0?r:!!h,components:{root:e},root:f.always(_(e,{ref:l,...M}),{elementType:e}),backgroundAppearance:c};return t9(t),t};var mZ={root:"fui-Link"},mD=/*@__PURE__*/B({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:"fkfq4zb",Bde5pd6:"f1tx3yz7",Bi91k9c:"fnwyq0v",i089h6:"f1eh06m1",lj723h:"flvvhsy"},inline:{w71qe1:"f13mvf36"},disabled:{w71qe1:"f1iuv45f",sj55zd:"f1s2aq7o",Bceei9c:"fdrzuqr",Bde5pd6:"fbnuktb",Bi91k9c:"fvgxktp",i089h6:"fljg2da",lj723h:"f19wldhg"},inverted:{sj55zd:"f1qz2gb0",Bi91k9c:"f1mlt8il",lj723h:"f1hsd4st"}},{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;}",".fkfq4zb{color:var(--colorNeutralForeground2);}",".f13mvf36{text-decoration-line:underline;}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".fdrzuqr{cursor:not-allowed;}",".f1qz2gb0{color:var(--colorBrandForegroundInverted);}"],i:[".f2hkw1w:focus-visible{outline-style:none;}"],h:[".f1tx3yz7:hover{text-decoration-line:underline;}",".f1deo86v:hover{color:var(--colorBrandForegroundLinkHover);}",".fnwyq0v:hover{color:var(--colorNeutralForeground2Hover);}",".fbnuktb:hover{text-decoration-line:none;}",".fvgxktp:hover{color:var(--colorNeutralForegroundDisabled);}",".f1mlt8il:hover{color:var(--colorBrandForegroundInvertedHover);}"],a:[".f1eh06m1:active{text-decoration-line:underline;}",".f1iescvh:active{color:var(--colorBrandForegroundLinkPressed);}",".flvvhsy:active{color:var(--colorNeutralForeground2Pressed);}",".fljg2da:active{text-decoration-line:none;}",".f19wldhg:active{color:var(--colorNeutralForegroundDisabled);}",".f1hsd4st:active{color:var(--colorBrandForegroundInvertedPressed);}"]}),A9=(a)=>{let l=mD(),{appearance:c,disabled:h,inline:Z,root:o,backgroundAppearance:v}=a;return a.root.className=k(mZ.root,l.root,l.focusIndicator,o.as==="a"&&o.href&&l.href,o.as==="button"&&l.button,c==="subtle"&&l.subtle,v==="inverted"&&l.inverted,Z&&l.inline,h&&l.disabled,a.root.className),a};var V9=(a)=>{return G(a),/*@__PURE__*/D(a.root,{})};var P0=/*@__PURE__*/U((a,l)=>{let c=H9(a,l);return A9(c),z("useLinkStyles_unstable")(c),V9(c)});P0.displayName="Link";C();C();C();var pu=e1(void 0),tD={},v21=pu.Provider,wu=()=>{var a;return(a=h1(pu))!==null&&a!==void 0?a:tD};var i9=(a,l)=>{let{size:c}=wu(),{appearance:h="primary",labelPosition:Z="after",size:o=c!==null&&c!==void 0?c:"medium",delay:v=0}=a,r=M0("spinner"),{role:e="progressbar",...M}=a,t=f.always(_("div",{ref:l,role:e,...M},["size"]),{elementType:"div"}),[m,H]=m1(!1),[A,V]=j2();M1(()=>{if(v<=0)return;return A(()=>{H(!0)},v),()=>{V()}},[A,V,v]);let i=f.optional(a.label,{defaultProps:{id:r},renderByDefault:!1,elementType:k0}),u=f.optional(a.spinner,{renderByDefault:!0,elementType:"span"});if(i&&t&&!t["aria-labelledby"])t["aria-labelledby"]=i.id;return{appearance:h,delay:v,labelPosition:Z,size:o,shouldRenderSpinner:!v||m,components:{root:"div",spinner:"span",spinnerTail:"span",label:k0},root:t,spinner:u,spinnerTail:f.always(a.spinnerTail,{elementType:"span"}),label:i}};var n9=(a)=>{G(a);let{labelPosition:l,shouldRenderSpinner:c}=a;return/*@__PURE__*/x1(a.root,{children:[a.label&&c&&(l==="above"||l==="before")&&/*@__PURE__*/D(a.label,{}),a.spinner&&c&&/*@__PURE__*/D(a.spinner,{children:a.spinnerTail&&/*@__PURE__*/D(a.spinnerTail,{})}),a.label&&c&&(l==="below"||l==="after")&&/*@__PURE__*/D(a.label,{})]})};var d4={root:"fui-Spinner",spinner:"fui-Spinner__spinner",spinnerTail:"fui-Spinner__spinnerTail",label:"fui-Spinner__label"};var HD=/*@__PURE__*/Y("r82apo5",null,[".r82apo5{display:flex;align-items:center;justify-content:center;line-height:0;gap:8px;overflow:hidden;}"]),AD=/*@__PURE__*/B({vertical:{Beiy3e4:"f1vx9l62"}},{d:[".f1vx9l62{flex-direction:column;}"]}),VD=/*@__PURE__*/Y("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;}}"]}),iD=/*@__PURE__*/Y("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;}}"]}),nD=/*@__PURE__*/B({inverted:{De3pzq:"fr407j0",sj55zd:"f1f7voed"},rtlTail:{btxmck:"f179dep3",gb5jj2:"fbz9ihp",Br2kee7:"f1wkkxo7"},"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){.f1wkkxo7{background-image:conic-gradient(currentcolor 0deg, transparent 240deg);}}",{m:"screen and (prefers-reduced-motion: reduce)"}]]}),uD=/*@__PURE__*/B({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);}"]}),u9=(a)=>{let{labelPosition:l,size:c,appearance:h}=a,{dir:Z}=C1(),o=HD(),v=AD(),r=VD(),e=nD(),M=iD(),t=uD();if(a.root.className=k(d4.root,o,(l==="above"||l==="below")&&v.vertical,a.root.className),a.spinner)a.spinner.className=k(d4.spinner,r,e[c],h==="inverted"&&e.inverted,a.spinner.className);if(a.spinnerTail)a.spinnerTail.className=k(d4.spinnerTail,M,Z==="rtl"&&e.rtlTail,a.spinnerTail.className);if(a.label)a.label.className=k(d4.label,t[c],h==="inverted"&&t.inverted,a.label.className);return a};var I5=/*@__PURE__*/U((a,l)=>{let c=i9(a,l);return u9(c),z("useSpinnerStyles_unstable")(c),n9(c)});I5.displayName="Spinner";C();C();var L9=(a,l)=>{a=q7(a,{supportsLabelFor:!0,supportsRequired:!0});let{checked:c,defaultChecked:h,disabled:Z,labelPosition:o="after",onChange:v,required:r}=a,e=h3({props:a,primarySlotTagName:"input",excludedPropNames:["checked","defaultChecked","onChange"]}),M=M0("switch-",e.primary.id),t=f.always(a.root,{defaultProps:{ref:i2(),...e.root},elementType:"div"}),m=f.always(a.indicator,{defaultProps:{"aria-hidden":!0,children:/*@__PURE__*/r1(qh,null)},elementType:"div"}),H=f.always(a.input,{defaultProps:{checked:c,defaultChecked:h,id:M,ref:l,role:"switch",type:"checkbox",...e.primary},elementType:"input"});H.onChange=j5(H.onChange,(V)=>v===null||v===void 0?void 0:v(V,{checked:V.currentTarget.checked}));let A=f.optional(a.label,{defaultProps:{disabled:Z,htmlFor:M,required:r,size:"medium"},elementType:k0});return{labelPosition:o,components:{root:"div",indicator:"div",input:"input",label:k0},root:t,indicator:m,input:H,label:A}};var d9=(a)=>{G(a);let{labelPosition:l}=a;return/*@__PURE__*/x1(a.root,{children:[/*@__PURE__*/D(a.input,{}),l!=="after"&&a.label&&/*@__PURE__*/D(a.label,{}),/*@__PURE__*/D(a.indicator,{}),l==="after"&&a.label&&/*@__PURE__*/D(a.label,{})]})};var V3={root:"fui-Switch",indicator:"fui-Switch__indicator",input:"fui-Switch__input",label:"fui-Switch__label"},Du=V3.root,LD=2,dD=20;var I21=dD-LD,gD=/*@__PURE__*/Y("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;}}"]}),CD=/*@__PURE__*/B({vertical:{Beiy3e4:"f1vx9l62"}},{d:[".f1vx9l62{flex-direction:column;}"]}),FD=/*@__PURE__*/Y("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;}}"]}),RD=/*@__PURE__*/B({labelAbove:{B6of3ja:"f1hu3pq6"}},{d:[".f1hu3pq6{margin-top:0;}"]}),xD=/*@__PURE__*/Y("rsji9ng","r15xih98",{r:[".rsji9ng{box-sizing:border-box;cursor:pointer;height:100%;margin:0;opacity:0;position:absolute;width:calc(40px + 2 * var(--spacingHorizontalS));}",".rsji9ng:checked~.fui-Switch__indicator>*{transform:translateX(20px);}",".rsji9ng:disabled{cursor:default;}",".rsji9ng:disabled~.fui-Switch__indicator{color:var(--colorNeutralForegroundDisabled);}",".rsji9ng:disabled~.fui-Switch__label{cursor:default;color:var(--colorNeutralForegroundDisabled);}",".rsji9ng:enabled:not(:checked)~.fui-Switch__indicator{color:var(--colorNeutralStrokeAccessible);border-color:var(--colorNeutralStrokeAccessible);}",".rsji9ng:enabled:not(:checked)~.fui-Switch__label{color:var(--colorNeutralForeground1);}",".rsji9ng:enabled:not(:checked):hover~.fui-Switch__indicator{color:var(--colorNeutralStrokeAccessibleHover);border-color:var(--colorNeutralStrokeAccessibleHover);}",".rsji9ng:enabled:not(:checked):hover:active~.fui-Switch__indicator{color:var(--colorNeutralStrokeAccessiblePressed);border-color:var(--colorNeutralStrokeAccessiblePressed);}",".rsji9ng:enabled:checked~.fui-Switch__indicator{background-color:var(--colorCompoundBrandBackground);color:var(--colorNeutralForegroundInverted);border-color:var(--colorTransparentStroke);}",".rsji9ng:enabled:checked:hover~.fui-Switch__indicator{background-color:var(--colorCompoundBrandBackgroundHover);border-color:var(--colorTransparentStrokeInteractive);}",".rsji9ng:enabled:checked:hover:active~.fui-Switch__indicator{background-color:var(--colorCompoundBrandBackgroundPressed);border-color:var(--colorTransparentStrokeInteractive);}",".rsji9ng:disabled:not(:checked)~.fui-Switch__indicator{border-color:var(--colorNeutralStrokeDisabled);}",".rsji9ng:disabled:checked~.fui-Switch__indicator{background-color:var(--colorNeutralBackgroundDisabled);border-color:var(--colorTransparentStrokeDisabled);}",".r15xih98{box-sizing:border-box;cursor:pointer;height:100%;margin:0;opacity:0;position:absolute;width:calc(40px + 2 * var(--spacingHorizontalS));}",".r15xih98:checked~.fui-Switch__indicator>*{transform:translateX(-20px);}",".r15xih98:disabled{cursor:default;}",".r15xih98:disabled~.fui-Switch__indicator{color:var(--colorNeutralForegroundDisabled);}",".r15xih98:disabled~.fui-Switch__label{cursor:default;color:var(--colorNeutralForegroundDisabled);}",".r15xih98:enabled:not(:checked)~.fui-Switch__indicator{color:var(--colorNeutralStrokeAccessible);border-color:var(--colorNeutralStrokeAccessible);}",".r15xih98:enabled:not(:checked)~.fui-Switch__label{color:var(--colorNeutralForeground1);}",".r15xih98:enabled:not(:checked):hover~.fui-Switch__indicator{color:var(--colorNeutralStrokeAccessibleHover);border-color:var(--colorNeutralStrokeAccessibleHover);}",".r15xih98:enabled:not(:checked):hover:active~.fui-Switch__indicator{color:var(--colorNeutralStrokeAccessiblePressed);border-color:var(--colorNeutralStrokeAccessiblePressed);}",".r15xih98:enabled:checked~.fui-Switch__indicator{background-color:var(--colorCompoundBrandBackground);color:var(--colorNeutralForegroundInverted);border-color:var(--colorTransparentStroke);}",".r15xih98:enabled:checked:hover~.fui-Switch__indicator{background-color:var(--colorCompoundBrandBackgroundHover);border-color:var(--colorTransparentStrokeInteractive);}",".r15xih98:enabled:checked:hover:active~.fui-Switch__indicator{background-color:var(--colorCompoundBrandBackgroundPressed);border-color:var(--colorTransparentStrokeInteractive);}",".r15xih98:disabled:not(:checked)~.fui-Switch__indicator{border-color:var(--colorNeutralStrokeDisabled);}",".r15xih98:disabled:checked~.fui-Switch__indicator{background-color:var(--colorNeutralBackgroundDisabled);border-color:var(--colorTransparentStrokeDisabled);}"],s:["@media (forced-colors: active){.rsji9ng:disabled~.fui-Switch__indicator{color:GrayText;border-color:GrayText;}.rsji9ng:disabled~.fui-Switch__label{color:GrayText;}.rsji9ng:hover{color:CanvasText;}.rsji9ng:hover:active{color:CanvasText;}.rsji9ng:enabled:checked:hover~.fui-Switch__indicator{background-color:Highlight;color:Canvas;}.rsji9ng:enabled:checked:hover:active~.fui-Switch__indicator{background-color:Highlight;color:Canvas;}.rsji9ng:enabled:checked~.fui-Switch__indicator{background-color:Highlight;color:Canvas;}}","@media (forced-colors: active){.r15xih98:disabled~.fui-Switch__indicator{color:GrayText;border-color:GrayText;}.r15xih98:disabled~.fui-Switch__label{color:GrayText;}.r15xih98:hover{color:CanvasText;}.r15xih98:hover:active{color:CanvasText;}.r15xih98:enabled:checked:hover~.fui-Switch__indicator{background-color:Highlight;color:Canvas;}.r15xih98:enabled:checked:hover:active~.fui-Switch__indicator{background-color:Highlight;color:Canvas;}.r15xih98:enabled:checked~.fui-Switch__indicator{background-color:Highlight;color:Canvas;}}"]}),pD=/*@__PURE__*/B({before:{j35jbq:["f1e31b4d","f1vgc2s3"],Bhzewxz:"f15twtuk"},after:{oyh7mz:["f1vgc2s3","f1e31b4d"],Bhzewxz:"f15twtuk"},above:{B5kzvoi:"f1yab3r1",Bqenvij:"f1aar7gd",a9b677:"fly5x3f"}},{d:[".f1e31b4d{right:0;}",".f1vgc2s3{left:0;}",".f15twtuk{top:0;}",".f1yab3r1{bottom:0;}",".f1aar7gd{height:calc(20px + var(--spacingVerticalS));}",".fly5x3f{width:100%;}"]}),wD=/*@__PURE__*/B({base:{Bceei9c:"f1k6fduh",jrapky:"f49ad5g",B6of3ja:"f1xlvstr",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1f5q0n8"},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}],".f1ywm7hm{padding-top:var(--spacingVerticalXS);}",".f14wxoun{padding-bottom:var(--spacingVerticalXS);}",".fly5x3f{width:100%;}",".fruq291{padding-left:var(--spacingHorizontalXS);}",".f7x41pl{padding-right:var(--spacingHorizontalXS);}"]}),g9=(a)=>{let l=gD(),c=CD(),h=FD(),Z=RD(),o=xD(),v=pD(),r=wD(),{label:e,labelPosition:M}=a;if(a.root.className=k(V3.root,l,M==="above"&&c.vertical,a.root.className),a.indicator.className=k(V3.indicator,h,e&&M==="above"&&Z.labelAbove,a.indicator.className),a.input.className=k(V3.input,o,e&&v[M],a.input.className),a.label)a.label.className=k(V3.label,r.base,r[M],a.label.className);return a};var C0=/*@__PURE__*/U((a,l)=>{let c=L9(a,l);return g9(c),z("useSwitchStyles_unstable")(c),d9(c)});C0.displayName="Switch";C();C();var i3=(a,l)=>{let{wrap:c,truncate:h,block:Z,italic:o,underline:v,strikethrough:r,size:e,font:M,weight:t,align:m}=a;return{align:m!==null&&m!==void 0?m:"start",block:Z!==null&&Z!==void 0?Z:!1,font:M!==null&&M!==void 0?M:"base",italic:o!==null&&o!==void 0?o:!1,size:e!==null&&e!==void 0?e:300,strikethrough:r!==null&&r!==void 0?r:!1,truncate:h!==null&&h!==void 0?h:!1,underline:v!==null&&v!==void 0?v:!1,weight:t!==null&&t!==void 0?t:"regular",wrap:c!==null&&c!==void 0?c:!0,components:{root:"span"},root:f.always(_("span",{ref:l,...a}),{elementType:"span"})}};var n3=(a)=>{return G(a),/*@__PURE__*/D(a.root,{})};var C9={root:"fui-Text"},DD=/*@__PURE__*/B({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;}"]}),u3=(a)=>{let l=DD();return a.root.className=k(C9.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 r7=/*@__PURE__*/U((a,l)=>{let c=i3(a,l);return u3(c),z("useTextStyles_unstable")(c),n3(c)});r7.displayName="Text";C();C();function e7(a){let{useStyles:l,className:c,displayName:h}=a,Z=U((o,v)=>{let r=l(),e=i3(o,v);return u3(e),e.root.className=k(c,e.root.className,r.root,o.className),n3(e)});return Z.displayName=h,Z}var F9={root:"fui-Body1"},su=/*@__PURE__*/B({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 c2=e7({useStyles:su,className:F9.root,displayName:"Body1"});C();var R9={root:"fui-Body1Strong"},ku=/*@__PURE__*/B({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 b6=e7({useStyles:ku,className:R9.root,displayName:"Body1Strong"});C();var x9={root:"fui-Subtitle1"},Su=/*@__PURE__*/B({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 O6=e7({useStyles:Su,className:x9.root,displayName:"Subtitle1"});C();var p9={root:"fui-Subtitle2"},fu=/*@__PURE__*/B({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 t5=e7({useStyles:fu,className:p9.root,displayName:"Subtitle2"});C();var w9={root:"fui-Title2"},Bu=/*@__PURE__*/B({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 U6=e7({useStyles:Bu,className:w9.root,displayName:"Title2"});C();C();C();var Tu=/*@__PURE__*/Y("r6pzz3z",null,[".r6pzz3z{overflow-y:hidden;overflow-y:clip;scrollbar-gutter:stable;}"]),Wu=/*@__PURE__*/Y("r144vlu9",null,[".r144vlu9{overflow-y:hidden;}"]);function bu(){let a=Tu(),l=Wu(),{targetDocument:c}=C1(),h=j(()=>{var o;if(!c)return;var v;if(!(Math.floor(c.body.getBoundingClientRect().height)>((v=(o=c.defaultView)===null||o===void 0?void 0:o.innerHeight)!==null&&v!==void 0?v:0)))return;c.documentElement.classList.add(a),c.body.classList.add(l);return},[c,a,l]),Z=j(()=>{if(!c)return;c.documentElement.classList.remove(a),c.body.classList.remove(l)},[c,a,l]);return{disableBodyScroll:h,enableBodyScroll:Z}}C();function Ve(a,l){let{findFirstFocusable:c}=f7(),{targetDocument:h}=C1(),Z=q(null);return M1(()=>{if(!a)return;let o=Z.current&&c(Z.current);if(o)o.focus();else{var v;(v=Z.current)===null||v===void 0||v.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,h]),Z}C();var sD={open:!1,inertTrapFocus:!1,modalType:"modal",isNestedDialog:!1,dialogRef:{current:null},requestOpenChange(){}},D9=c4(void 0),s9=D9.Provider,I0=(a)=>x6(D9,(l=sD)=>a(l));C();var kD=!1,ie=e1(void 0),P6=ie.Provider,k9=()=>{var a;return(a=h1(ie))!==null&&a!==void 0?a:kD};var Ou=[{opacity:0,boxShadow:"0px 0px 0px 0px rgba(0, 0, 0, 0.1)",transform:"scale(0.85) translateZ(0)"},{boxShadow:Q1.shadow64,transform:"scale(1) translateZ(0)",opacity:1}],ne=m5({enter:{keyframes:Ou,easing:T1.curveDecelerateMid,duration:T1.durationGentle},exit:{keyframes:[...Ou].reverse(),easing:T1.curveAccelerateMin,duration:T1.durationGentle}});var S9=(a)=>{let{children:l,modalType:c="modal",onOpenChange:h,inertTrapFocus:Z=!1}=a,[o,v]=SD(l),[r,e]=y5({state:a.open,defaultState:a.defaultOpen,initialState:!1}),M=A1((V)=>{if(h===null||h===void 0||h(V.event,V),!V.event.isDefaultPrevented())e(V.open)}),t=Ve(r,c),{modalAttributes:m,triggerAttributes:H}=n2({trapFocus:c!=="non-modal",legacyTrapFocus:!Z}),A=Tr(D9);return{components:{surfaceMotion:ne},inertTrapFocus:Z,open:r,modalType:c,content:v,trigger:o,requestOpenChange:M,dialogTitleId:M0("dialog-title-"),isNestedDialog:A,dialogRef:t,modalAttributes:m,triggerAttributes:H,surfaceMotion:o4(a.surfaceMotion,{elementType:ne,defaultProps:{appear:!0,visible:r,unmountOnExit:!0}})}};function SD(a){let l=g7.toArray(a);if(l.length!==1&&l.length!==2)console.warn(`@fluentui/react-dialog [useDialog]:
|
|
134
|
+
Dialog must contain at least one child <DialogSurface/>,
|
|
135
|
+
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]}}C();C();var Uu=/*@__PURE__*/e1(void 0);function Pu(){return h1(Uu)}var Iu=/*@__PURE__*/U((a,l)=>{return/*@__PURE__*/r1(Uu.Provider,{value:l},a.children)});var f9=(a,l)=>{return G(a),/*@__PURE__*/D(s9,{value:l.dialog,children:/*@__PURE__*/x1(P6,{value:l.dialogSurface,children:[a.trigger,a.content&&/*@__PURE__*/D(a.surfaceMotion,{children:/*@__PURE__*/D(Iu,{children:a.content})})]})})};function tZ(a){let{modalType:l,open:c,dialogRef:h,dialogTitleId:Z,isNestedDialog:o,inertTrapFocus:v,requestOpenChange:r,modalAttributes:e,triggerAttributes:M}=a,t={open:c,modalType:l,dialogRef:h,dialogTitleId:Z,isNestedDialog:o,inertTrapFocus:v,modalAttributes:e,triggerAttributes:M,requestOpenChange:r},m=!1;return{dialog:t,dialogSurface:!1}}var D5=/*@__PURE__*/k8((a)=>{let l=S9(a),c=tZ(l);return f9(l,c)});D5.displayName="Dialog";C();C();var B9=(a)=>{let l=k9(),{children:c,disableButtonEnhancement:h=!1,action:Z=l?"close":"open"}=a,o=X3(c),v=I0((m)=>m.requestOpenChange),{triggerAttributes:r}=n2(),e=A1((m)=>{var H,A;if(o===null||o===void 0||(H=(A=o.props).onClick)===null||H===void 0||H.call(A,m),!m.isDefaultPrevented())v({event:m,type:"triggerClick",open:Z==="open"})}),M={...o===null||o===void 0?void 0:o.props,ref:o===null||o===void 0?void 0:o.ref,onClick:e,...r},t=L2((o===null||o===void 0?void 0:o.type)==="button"||(o===null||o===void 0?void 0:o.type)==="a"?o.type:"div",{...M,type:"button"});return{children:A6(c,h?M:t)}};var T9=(a)=>a.children;var q0=(a)=>{let l=B9(a);return T9(l)};q0.displayName="DialogTrigger";q0.isFluentTriggerComponent=!0;C();C();var W9=(a,l)=>{let{position:c="end",fluid:h=!1}=a;return{components:{root:"div"},root:f.always(_("div",{ref:l,...a}),{elementType:"div"}),position:c,fluid:h}};var b9=(a)=>{return G(a),/*@__PURE__*/D(a.root,{})};var HZ={root:"fui-DialogActions"},fD=/*@__PURE__*/Y("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;}}"]}),BD=/*@__PURE__*/B({gridPositionEnd:{Bdqf98w:"f1a7i8kp",Br312pm:"fd46tj4",Bw0ie65:"fsyjsko",B6n781s:"f1f41i0t",Bv5d0be:"f1jaqex3",v4ugfu:"f2ao6jk"},gridPositionStart:{Bdqf98w:"fsxvdwy",Br312pm:"fwpfdsa",Bw0ie65:"f1e2fz10",Bojbm9c:"f11ihkml",Bv5d0be:"fce5bvx",v4ugfu:"f2ao6jk"},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){.f1f41i0t{grid-column-start:1;}}",{m:"screen and (max-width: 480px)"}],["@media screen and (max-width: 480px){.f1jaqex3{grid-row-start:4;}}",{m:"screen and (max-width: 480px)"}],["@media screen and (max-width: 480px){.f2ao6jk{grid-row-end:auto;}}",{m:"screen and (max-width: 480px)"}],["@media screen and (max-width: 480px){.f11ihkml{grid-column-end:4;}}",{m:"screen and (max-width: 480px)"}],["@media screen and (max-width: 480px){.fce5bvx{grid-row-start:3;}}",{m:"screen and (max-width: 480px)"}]]}),O9=(a)=>{let l=fD(),c=BD();return a.root.className=k(HZ.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 R2=/*@__PURE__*/U((a,l)=>{let c=W9(a,l);return O9(c),z("useDialogActionsStyles_unstable")(c),b9(c)});R2.displayName="DialogActions";C();C();var U9=(a,l)=>{var c;return{components:{root:"div"},root:f.always(_((c=a.as)!==null&&c!==void 0?c:"div",{ref:l,...a}),{elementType:"div"})}};var P9=(a)=>{return G(a),/*@__PURE__*/D(a.root,{})};var AZ={root:"fui-DialogBody"},TD=/*@__PURE__*/Y("r1h3qql9",null,{r:[".r1h3qql9{overflow:unset;gap:8px;display:grid;max-height:calc(100vh - 2 * 24px);box-sizing:border-box;grid-template-rows:auto 1fr;grid-template-columns:1fr 1fr auto;}"],s:["@media screen and (max-width: 480px){.r1h3qql9{max-width:100vw;grid-template-rows:auto 1fr auto;}}","@media screen and (max-height: 359px){.r1h3qql9{max-height:unset;}}"]}),I9=(a)=>{let l=TD();return a.root.className=k(AZ.root,l,a.root.className),a};var x2=/*@__PURE__*/U((a,l)=>{let c=U9(a,l);return I9(c),z("useDialogBodyStyles_unstable")(c),P9(c)});x2.displayName="DialogBody";C();C();var I6={root:"fui-DialogTitle",action:"fui-DialogTitle__action"},WD=/*@__PURE__*/Y("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;}"]),bD=/*@__PURE__*/B({rootWithoutAction:{Bw0ie65:"fsyjsko"}},{d:[".fsyjsko{grid-column-end:4;}"]}),OD=/*@__PURE__*/Y("r13kcrze",null,[".r13kcrze{grid-row-start:1;grid-row-end:1;grid-column-start:3;justify-self:end;align-self:start;}"]),VZ=/*@__PURE__*/Y("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;}}"]}),L3=(a)=>{let l=WD(),c=OD(),h=bD();if(a.root.className=k(I6.root,l,!a.action&&h.rootWithoutAction,a.root.className),a.action)a.action.className=k(I6.action,c,a.action.className);return a};var q9=(a,l)=>{let{action:c}=a,h=I0((o)=>o.modalType),Z=VZ();return{components:{root:"h2",action:"div"},root:f.always(_("h2",{ref:l,id:I0((o)=>o.dialogTitleId),...a}),{elementType:"h2"}),action:f.optional(c,{renderByDefault:h==="non-modal",defaultProps:{children:/*@__PURE__*/r1(q0,{disableButtonEnhancement:!0,action:"close"},/*@__PURE__*/r1("button",{type:"button",className:Z,"aria-label":"close"},/*@__PURE__*/r1($i,null)))},elementType:"div"})}};var G9=(a)=>{return G(a),/*@__PURE__*/x1(V1,{children:[/*@__PURE__*/D(a.root,{children:a.root.children}),a.action&&/*@__PURE__*/D(a.action,{})]})};var p2=/*@__PURE__*/U((a,l)=>{let c=q9(a,l);return L3(c),z("useDialogTitleStyles_unstable")(c),G9(c)});p2.displayName="DialogTitle";C();C();var ue=Qh;var d3=(a,l)=>{let c=Pu(),h=I0((i)=>i.modalType),Z=I0((i)=>i.isNestedDialog),o=I0((i)=>i.modalAttributes),v=I0((i)=>i.dialogRef),r=I0((i)=>i.requestOpenChange),e=I0((i)=>i.dialogTitleId),M=I0((i)=>i.open),t=A1((i)=>{if(ih(a.backdrop)){var u,L;(u=(L=a.backdrop).onClick)===null||u===void 0||u.call(L,i)}if(h==="modal"&&!i.isDefaultPrevented())r({event:i,open:!1,type:"backdropClick"})}),m=A1((i)=>{var u;if((u=a.onKeyDown)===null||u===void 0||u.call(a,i),i.key===Z4&&!i.isDefaultPrevented())r({event:i,open:!1,type:"escapeKeyDown"}),i.preventDefault()}),H=f.optional(a.backdrop,{renderByDefault:h!=="non-modal",defaultProps:{"aria-hidden":"true"},elementType:"div"});if(H)H.onClick=t;let{disableBodyScroll:A,enableBodyScroll:V}=bu();return $1(()=>{if(Z||h==="non-modal")return;return A(),()=>{V()}},[V,Z,A,h]),{components:{backdrop:"div",root:"div",backdropMotion:ue},open:M,backdrop:H,isNestedDialog:Z,mountNode:a.mountNode,root:f.always(_("div",{tabIndex:-1,"aria-modal":h!=="non-modal",role:h==="alert"?"alertdialog":"dialog","aria-labelledby":a["aria-label"]?void 0:e,...a,...o,onKeyDown:m,ref:E1(l,c,v)}),{elementType:"div"}),backdropMotion:o4(a.backdropMotion,{elementType:ue,defaultProps:{appear:!0,visible:M}}),transitionStatus:void 0}};var g3=(a,l)=>{return G(a),/*@__PURE__*/x1(P7,{mountNode:a.mountNode,children:[a.backdrop&&a.backdropMotion&&/*@__PURE__*/D(a.backdropMotion,{children:/*@__PURE__*/D(a.backdrop,{})}),/*@__PURE__*/D(P6,{value:l.dialogSurface,children:/*@__PURE__*/D(a.root,{})})]})};var z9={root:"fui-DialogSurface",backdrop:"fui-DialogSurface__backdrop"},UD=/*@__PURE__*/Y("rsmdyd3","rup8wml",{r:[".rsmdyd3{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;box-sizing:border-box;background-color:var(--colorNeutralBackground1);color:var(--colorNeutralForeground1);box-shadow:var(--shadow64);}",".rsmdyd3:focus{outline-style:none;}",".rsmdyd3:focus-visible{outline-style:none;}",".rsmdyd3[data-fui-focus-visible]{border-top-color:transparent;border-right-color:transparent;border-bottom-color:transparent;border-left-color:transparent;}",'.rsmdyd3[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);}',".rup8wml{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;box-sizing:border-box;background-color:var(--colorNeutralBackground1);color:var(--colorNeutralForeground1);box-shadow:var(--shadow64);}",".rup8wml:focus{outline-style:none;}",".rup8wml:focus-visible{outline-style:none;}",".rup8wml[data-fui-focus-visible]{border-top-color:transparent;border-left-color:transparent;border-bottom-color:transparent;border-right-color:transparent;}",'.rup8wml[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){.rsmdyd3[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){.rsmdyd3{max-width:100vw;}}","@media screen and (max-height: 359px){.rsmdyd3{overflow-y:auto;padding-right:calc(24px - 4px);border-right-width:4px;border-top-width:4px;border-bottom-width:4px;}}","@media (forced-colors: active){.rup8wml[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){.rup8wml{max-width:100vw;}}","@media screen and (max-height: 359px){.rup8wml{overflow-y:auto;padding-left:calc(24px - 4px);border-left-width:4px;border-top-width:4px;border-bottom-width:4px;}}"]}),PD=/*@__PURE__*/Y("r1e18s3l",null,[".r1e18s3l{inset:0px;background-color:var(--colorBackgroundOverlay);position:fixed;}"]),ID=/*@__PURE__*/B({nestedDialogBackdrop:{De3pzq:"f1c21dwh"}},{d:[".f1c21dwh{background-color:var(--colorTransparentBackground);}"]}),K9=(a)=>{let{isNestedDialog:l,root:c,backdrop:h}=a,Z=UD(),o=PD(),v=ID();if(c.className=k(z9.root,Z,c.className),h)h.className=k(z9.backdrop,o,l&&v.nestedDialogBackdrop,h.className);return a};function C3(a){return{dialogSurface:!0}}var w2=/*@__PURE__*/U((a,l)=>{let c=d3(a,l),h=C3(c);return K9(c),z("useDialogSurfaceStyles_unstable")(c),g3(c,h)});w2.displayName="DialogSurface";C();C();var J9=(a,l)=>{var c;return{components:{root:"div"},root:f.always(_((c=a.as)!==null&&c!==void 0?c:"div",{ref:l,...a}),{elementType:"div"})}};var $9=(a)=>{return G(a),/*@__PURE__*/D(a.root,{})};var iZ={root:"fui-DialogContent"},qD=/*@__PURE__*/Y("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;}}"]}),E9=(a)=>{let l=qD();return a.root.className=k(iZ.root,l,a.root.className),a};var D2=/*@__PURE__*/U((a,l)=>{let c=J9(a,l);return E9(c),z("useDialogContentStyles_unstable")(c),$9(c)});D2.displayName="DialogContent";C();C();var Le=(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 de=(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 Q9=(a,l)=>{let c=V4(),h=c===null||c===void 0?void 0:c.validationState,{color:Z=h==="error"||h==="warning"||h==="success"?h:"brand",shape:o="rounded",thickness:v="medium"}=a;var r;let e=Le((r=a.max)!==null&&r!==void 0?r:1),M=de(a.value,e),t=f.always(_("div",{ref:l,role:"progressbar","aria-valuemin":M!==void 0?0:void 0,"aria-valuemax":M!==void 0?e:void 0,"aria-valuenow":M,"aria-labelledby":c===null||c===void 0?void 0:c.labelId,...a}),{elementType:"div"});if(c&&(c.validationMessageId||c.hintId))t["aria-describedby"]=[c===null||c===void 0?void 0:c.validationMessageId,c===null||c===void 0?void 0:c.hintId,t["aria-describedby"]].filter(Boolean).join(" ");let m=f.always(a.bar,{elementType:"div"});return{color:Z,max:e,shape:o,thickness:v,value:M,components:{root:"div",bar:"div"},root:t,bar:m}};var Y9=(a)=>{return G(a),/*@__PURE__*/D(a.root,{children:a.bar&&/*@__PURE__*/D(a.bar,{})})};var X9={root:"fui-ProgressBar",bar:"fui-ProgressBar__bar"},GD=0.01;var zD=/*@__PURE__*/B({root:{mc9l5x:"ftgm304",De3pzq:"f18f03hv",a9b677:"fly5x3f",B68tc82:0,Bmxbyg5:0,Bpg54ce:"f1a3p1vp",Bpep1pd:"fu42dvn"},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){.fu42dvn{background-color:CanvasText;}}",{m:"screen and (forced-colors: active)"}]]}),KD=/*@__PURE__*/B({base:{Bpep1pd:"f1neahkh",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",Gqtpxc:"f4akx1t",B3vm3ge:"f18p5put"},brand:{De3pzq:"ftywsgz"},error:{De3pzq:"fdl5y0r"},warning:{De3pzq:"f1s438gw"},success:{De3pzq:"flxk52p"}},{m:[["@media screen and (forced-colors: active){.f1neahkh{background-color:Highlight;}}",{m:"screen and (forced-colors: active)"}],["@media screen and (prefers-reduced-motion: reduce){.f4akx1t{animation-duration:0.01ms;}}",{m:"screen and (prefers-reduced-motion: reduce)"}],["@media screen and (prefers-reduced-motion: reduce){.f18p5put{animation-iteration-count:1;}}",{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(
|
|
136
|
+
to right,
|
|
137
|
+
var(--colorNeutralBackground6) 0%,
|
|
138
|
+
var(--colorTransparentBackground) 50%,
|
|
139
|
+
var(--colorNeutralBackground6) 100%
|
|
140
|
+
);}`,`.f1u5hf6c{background-image:linear-gradient(
|
|
141
|
+
to left,
|
|
142
|
+
var(--colorNeutralBackground6) 0%,
|
|
143
|
+
var(--colorTransparentBackground) 50%,
|
|
144
|
+
var(--colorNeutralBackground6) 100%
|
|
145
|
+
);}`,".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%;}}"]}),y9=(a)=>{let{color:l,max:c,shape:h,thickness:Z,value:o}=a,v=zD(),r=KD();if(a.root.className=k(X9.root,v.root,v[h],v[Z],a.root.className),a.bar)a.bar.className=k(X9.bar,r.base,r.brand,o===void 0&&r.indeterminate,o!==void 0&&o>GD&&r.nonZeroDeterminate,l&&o!==void 0&&r[l],a.bar.className);if(a.bar&&o!==void 0)a.bar.style={width:Math.min(100,Math.max(0,o/c*100))+"%",...a.bar.style};return a};var G7=/*@__PURE__*/U((a,l)=>{let c=Q9(a,l);return y9(c),z("useProgressBarStyles_unstable")(c),Y9(c)});G7.displayName="ProgressBar";C();C();var j9=(a,l)=>{let{size:c="medium",vertical:h=!1}=a,Z=Ma({circular:!0,axis:"both"}),o={size:c,vertical:h,components:{root:"div"},root:f.always(_("div",{role:"toolbar",ref:l,...h&&{"aria-orientation":"vertical"},...Z,...a}),{elementType:"div"})},[v,r]=JD({checkedValues:a.checkedValues,defaultCheckedValues:a.defaultCheckedValues,onCheckedValueChange:a.onCheckedValueChange}),e=A1((t,m,H,A)=>{if(m&&H){let i=[...(v===null||v===void 0?void 0:v[m])||[]];if(A)i.splice(i.indexOf(H),1);else i.push(H);r===null||r===void 0||r(t,{name:m,checkedItems:i})}}),M=A1((t,m,H,A)=>{if(m&&H)r===null||r===void 0||r(t,{name:m,checkedItems:[H]})});return{...o,handleToggleButton:e,handleRadio:M,checkedValues:v!==null&&v!==void 0?v:{}}},JD=(a)=>{let[l,c]=y5({state:a.checkedValues,defaultState:a.defaultCheckedValues,initialState:{}}),{onCheckedValueChange:h}=a,Z=A1((o,{name:v,checkedItems:r})=>{if(h)h(o,{name:v,checkedItems:r});c((e)=>{return e?{...e,[v]:r}:{[v]:r}})});return[l,Z]};var qu=c4(void 0);var N9=(a,l)=>{return G(a),/*@__PURE__*/D(qu.Provider,{value:l.toolbar,children:/*@__PURE__*/D(a.root,{children:a.root.children})})};var nZ={root:"fui-Toolbar"},$D=/*@__PURE__*/B({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}]]}),_9=(a)=>{let l=$D(),{vertical:c,size:h}=a;return a.root.className=k(nZ.root,l.root,c&&l.vertical,h==="small"&&!c&&l.small,h==="medium"&&!c&&l.medium,h==="large"&&!c&&l.large,a.root.className),a};function Gu(a){let{size:l,handleToggleButton:c,vertical:h,checkedValues:Z,handleRadio:o}=a;return{toolbar:{size:l,vertical:h,handleToggleButton:c,handleRadio:o,checkedValues:Z}}}var g4=/*@__PURE__*/U((a,l)=>{let c=j9(a,l),h=Gu(c);return _9(c),z("useToolbarStyles_unstable")(c),N9(c,h)});g4.displayName="Toolbar";C();var ED=/*@__PURE__*/B({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}]]}),al=(a)=>{H3(a);let l=ED();if(a.root.className=k(a.root.className,a.vertical&&l.vertical),a.icon)a.icon.className=k(a.icon.className,a.vertical&&l.verticalIcon)};C();var ll=(a,l)=>{let{vertical:c=!1,...h}=a,Z=t3({appearance:"subtle",...h,size:"medium"},l);return{vertical:c,...Z}};var s2=/*@__PURE__*/U((a,l)=>{let c=ll(a,l);return al(c),z("useToolbarButtonStyles_unstable")(c),I7(c)});s2.displayName="ToolbarButton";C();C();C();var zu=e1(void 0),QD={size:"medium",noNativeElements:!1,sortable:!1},ge=zu.Provider,q5=()=>{var a;return(a=h1(zu))!==null&&a!==void 0?a:QD};var cl=(a,l)=>{let{noNativeElements:c,size:h}=q5();var Z;let o=((Z=a.as)!==null&&Z!==void 0?Z:c)?"div":"td";return{components:{root:o},root:f.always(_(o,{ref:l,role:o==="div"?"cell":void 0,...a}),{elementType:o}),noNativeElements:c,size:h}};var hl=(a)=>{return G(a),/*@__PURE__*/D(a.root,{})};var uZ="fui-TableCell",LZ={root:uZ},YD=/*@__PURE__*/B({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;}"]}),XD=/*@__PURE__*/B({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;}"]}),yD=/*@__PURE__*/B({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}]]}),Zl=(a)=>{let l=yD(),c={table:YD(),flex:XD()};return a.root.className=k(LZ.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 M7=/*@__PURE__*/U((a,l)=>{let c=cl(a,l);return Zl(c),z("useTableCellStyles_unstable")(c),hl(c)});M7.displayName="TableCell";C();C();C();var Ku=e1(void 0),jD="",Ce=Ku.Provider,Fe=()=>h1(Ku)===jD;var ol=(a,l)=>{let{noNativeElements:c,size:h}=q5();var Z;let o=((Z=a.as)!==null&&Z!==void 0?Z:c)?"div":"tr",v=B7(),r=i2(),e=Fe();var M;return{components:{root:o},root:f.always(_(o,{ref:E1(l,v,r),role:o==="div"?"row":void 0,...a}),{elementType:o}),size:h,noNativeElements:c,appearance:(M=a.appearance)!==null&&M!==void 0?M:"none",isHeaderRow:e}};var vl=(a)=>{return G(a),/*@__PURE__*/D(a.root,{})};var dZ="fui-TableRow",gZ={root:dZ},ND=/*@__PURE__*/B({root:{mc9l5x:"f1u0rzck"}},{d:[".f1u0rzck{display:table-row;}"]}),_D=/*@__PURE__*/B({root:{mc9l5x:"f22iagw",Bt984gj:"f122n59"}},{d:[".f22iagw{display:flex;}",".f122n59{align-items:center;}"]}),as=/*@__PURE__*/B({root:{sj55zd:"f19n0e5",B7ck84d:"f1ewtqcl",Bfpq7zp:0,g9k6zt:0,Bn4voq9:0,giviqs:"f1dxfoyt",Bw81rd7:0,kdpuga:0,dm238s:0,B6xbmo0:0,B3whbx2:"f2krc9w"},rootSubtleSelection:{Bconypa:"f1jazu75",ff6mpl:"fw60kww"},rootInteractive:{B6guboy:"f1xeqee6",ecr2s2:"f1wfn5kd",lj723h:"f1g4hkjv",B43xm9u:"f15ngxrw",Jwef8y:"f1t94bn6",Bi91k9c:"feu1g3u",Bpt6rm4:"f1uorfem",ze5xyy:"f4xjyn1",pgvf35:"ff1wgvm",Bh7lczh:["fiob0tu","f1x4h75k"],dpv3f4:"f1j6scgf",Bpnjhaq:["f1x4h75k","fiob0tu"]},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",uu68id:0,Bxeuatn:0,felo30:0,Bc736ss:0,Bhz882k:0,n51gp8:0,Eshu5l:0,Bk6ri7n:0,v49c4f:0,Bn1d65q:0,c4eypz:0,v3aym:0,hft9gk:0,Bjwas2f:0,Bk5ld8o:0,gwxt9v:0,B6k8go:"f95l9gw",h6lo6r:0,Beo2b4z:0,w1pwid:0,Btyw6ap:0,Hkxhyr:"fw8kmcu",Brwvgy3:"fd94n53",yadkgm:"f1e0wld5"},neutral:{uu68id:0,Bxeuatn:0,felo30:0,Bc736ss:0,Bhz882k:0,n51gp8:0,Eshu5l:0,Bk6ri7n:0,v49c4f:0,Bn1d65q:0,c4eypz:0,v3aym:0,hft9gk:0,Bjwas2f:0,Bk5ld8o:0,gwxt9v:0,B6k8go:"f95l9gw",h6lo6r:0,Beo2b4z:0,w1pwid:0,Btyw6ap:0,Hkxhyr:"fw8kmcu",Brwvgy3:"fd94n53",yadkgm:"f1e0wld5",De3pzq:"fq5gl1p",sj55zd:"f1cgsbmv",Jwef8y:"f1uqaxdt",ecr2s2:"fa9o754",g2u3we:"frmsihh",h3c5rm:["frttxa5","f11o2r7f"],B9xav0g:"fem5et0",zhjwy3:["f11o2r7f","frttxa5"]},none:{}},{d:[".f19n0e5{color:var(--colorNeutralForeground1);}",".f1ewtqcl{box-sizing:border-box;}",[".f1dxfoyt[data-fui-focus-visible]{outline:2px solid var(--colorStrokeFocus2);}",{p:-1}],[".f2krc9w[data-fui-focus-visible]{border-radius:var(--borderRadiusMedium);}",{p:-1}],".f1jazu75[data-fui-focus-within]:focus-within .fui-TableSelectionCell{opacity:1;}",".f1xeqee6[data-fui-focus-within]:focus-within .fui-TableCellActions{opacity: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);}"],h:[".fw60kww:hover .fui-TableSelectionCell{opacity:1;}",".f1t94bn6:hover{background-color:var(--colorSubtleBackgroundHover);}",".feu1g3u:hover{color:var(--colorNeutralForeground1Hover);}",".f1uorfem:hover .fui-TableCellActions{opacity:1;}",".f1uqaxdt:hover{background-color:var(--colorSubtleBackgroundSelected);}"],a:[".f1wfn5kd:active{background-color:var(--colorSubtleBackgroundPressed);}",".f1g4hkjv:active{color:var(--colorNeutralForeground1Pressed);}",".f15ngxrw:active .fui-TableCellActions{opacity:1;}",".f7tkmfy:active{background-color:var(--colorBrandBackground2);}",".f1r2dosr:active{color:var(--colorNeutralForeground1);}",".fa9o754:active{background-color:var(--colorSubtleBackgroundSelected);}"],m:[["@media (forced-colors: active){.f4xjyn1:hover{color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.ff1wgvm:hover{border-top-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1x4h75k:hover{border-left-color:Highlight;}.fiob0tu:hover{border-right-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1j6scgf:hover{border-bottom-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f95l9gw{border:2px solid transparent;}}",{p:-2,m:"(forced-colors: active)"}],["@media (forced-colors: active){.fw8kmcu{border-radius:var(--borderRadiusMedium);}}",{p:-1,m:"(forced-colors: active)"}],["@media (forced-colors: active){.fd94n53{box-sizing:border-box;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1e0wld5:focus-visible{outline-offset:-4px;}}",{m:"(forced-colors: active)"}]]}),rl=(a)=>{let l=as(),c={table:ND(),flex:_D()};return a.root.className=k(gZ.root,l.root,l.rootSubtleSelection,!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__*/U((a,l)=>{let c=ol(a,l);return rl(c),z("useTableRowStyles_unstable")(c),vl(c)});F3.displayName="TableRow";C();C();var el=(a,l)=>{let{noNativeElements:c}=q5();var h;let Z=((h=a.as)!==null&&h!==void 0?h:c)?"div":"tbody";return{components:{root:Z},root:f.always(_(Z,{ref:l,role:Z==="div"?"rowgroup":void 0,...a}),{elementType:Z}),noNativeElements:c}};var Ml=(a)=>{return G(a),/*@__PURE__*/D(a.root,{})};var ls=/*@__PURE__*/B({root:{mc9l5x:"f1tp1avn"}},{d:[".f1tp1avn{display:table-row-group;}"]}),cs=/*@__PURE__*/B({root:{mc9l5x:"ftgm304"}},{d:[".ftgm304{display:block;}"]}),CZ="fui-TableBody";var ml=(a)=>{let l={table:ls(),flex:cs()};return a.root.className=k(CZ,a.noNativeElements?l.flex.root:l.table.root,a.root.className),a};var C4=/*@__PURE__*/U((a,l)=>{let c=el(a,l);return ml(c),z("useTableBodyStyles_unstable")(c),Ml(c)});C4.displayName="TableBody";C();C();var tl=(a,l)=>{var c;let h=((c=a.as)!==null&&c!==void 0?c:a.noNativeElements)?"div":"table";var Z,o,v;return{components:{root:h},root:f.always(_(h,{ref:l,role:h==="div"?"table":void 0,...a}),{elementType:h}),size:(Z=a.size)!==null&&Z!==void 0?Z:"medium",noNativeElements:(o=a.noNativeElements)!==null&&o!==void 0?o:!1,sortable:(v=a.sortable)!==null&&v!==void 0?v:!1}};var Hl=(a,l)=>{return G(a),/*@__PURE__*/D(ge,{value:l.table,children:/*@__PURE__*/D(a.root,{})})};var FZ="fui-Table";var hs=/*@__PURE__*/B({root:{mc9l5x:"f1w4nmp0",ha4doy:"fmrv4ls",a9b677:"fly5x3f",B73mfa3:"f14m3nip"}},{d:[".f1w4nmp0{display:table;}",".fmrv4ls{vertical-align:middle;}",".fly5x3f{width:100%;}",".f14m3nip{table-layout:fixed;}"]}),Zs=/*@__PURE__*/B({root:{mc9l5x:"ftgm304"}},{d:[".ftgm304{display:block;}"]}),os=/*@__PURE__*/B({root:{po53p8:"fgkb47j",De3pzq:"fhovq9v"}},{d:[".fgkb47j{border-collapse:collapse;}",".fhovq9v{background-color:var(--colorSubtleBackground);}"]}),Al=(a)=>{let l=os(),c={table:hs(),flex:Zs()};return a.root.className=k(FZ,l.root,a.noNativeElements?c.flex.root:c.table.root,a.root.className),a};C();function $u(a){let{size:l,noNativeElements:c,sortable:h}=a;return{table:d1(()=>({noNativeElements:c,size:l,sortable:h}),[c,l,h])}}var F4=/*@__PURE__*/U((a,l)=>{let c=tl(a,l);return Al(c),z("useTableStyles_unstable")(c),Hl(c,$u(c))});F4.displayName="Table";C();C();var Vl=(a,l)=>{let{noNativeElements:c}=q5();var h;let Z=((h=a.as)!==null&&h!==void 0?h:c)?"div":"thead";return{components:{root:Z},root:f.always(_(Z,{ref:l,role:Z==="div"?"rowgroup":void 0,...a}),{elementType:Z}),noNativeElements:c}};var il=(a)=>{return G(a),/*@__PURE__*/D(Ce,{value:"",children:/*@__PURE__*/D(a.root,{})})};var RZ="fui-TableHeader";var vs=/*@__PURE__*/B({root:{mc9l5x:"ftgm304"}},{d:[".ftgm304{display:block;}"]}),rs=/*@__PURE__*/B({root:{mc9l5x:"f1tp1avn"}},{d:[".f1tp1avn{display:table-row-group;}"]}),nl=(a)=>{let l={table:rs(),flex:vs()};return a.root.className=k(RZ,a.noNativeElements?l.flex.root:l.table.root,a.root.className),a};var R4=/*@__PURE__*/U((a,l)=>{let c=Vl(a,l);return nl(c),z("useTableHeaderStyles_unstable")(c),il(c)});R4.displayName="TableHeader";C();C();var es={ascending:/*@__PURE__*/r1(Wi,{fontSize:12}),descending:/*@__PURE__*/r1(Ti,{fontSize:12})},ul=(a,l)=>{let{noNativeElements:c,sortable:h}=q5(),{sortable:Z=h}=a;var o;let v=((o=a.as)!==null&&o!==void 0?o:c)?"div":"th",r=f.always(a.button,{elementType:"div",defaultProps:{as:"div",...!Z&&{role:"presentation",tabIndex:void 0}}});var e;return{components:{root:v,button:"div",sortIcon:"span",aside:"span"},root:f.always(_(v,{ref:E1(l,i2()),role:v==="div"?"columnheader":void 0,"aria-sort":Z?(e=a.sortDirection)!==null&&e!==void 0?e:"none":void 0,...a}),{elementType:v}),aside:f.optional(a.aside,{elementType:"span"}),sortIcon:f.optional(a.sortIcon,{renderByDefault:!!a.sortDirection,defaultProps:{children:a.sortDirection?es[a.sortDirection]:void 0},elementType:"span"}),button:L2(r.as,r),sortable:Z,noNativeElements:c}};var Ll=(a)=>{return G(a),/*@__PURE__*/x1(a.root,{children:[/*@__PURE__*/x1(a.button,{children:[a.root.children,a.sortIcon&&/*@__PURE__*/D(a.sortIcon,{})]}),a.aside&&/*@__PURE__*/D(a.aside,{})]})};var x4={root:"fui-TableHeaderCell",button:"fui-TableHeaderCell__button",sortIcon:"fui-TableHeaderCell__sortIcon",aside:"fui-TableHeaderCell__aside"},Ms=/*@__PURE__*/B({root:{mc9l5x:"f15pt5es",ha4doy:"fmrv4ls"}},{d:[".f15pt5es{display:table-cell;}",".fmrv4ls{vertical-align:middle;}"]}),ms=/*@__PURE__*/B({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;}"]}),ts=/*@__PURE__*/B({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);}"]}),dl=(a)=>{let l=ts(),c={table:Ms(),flex:ms()};if(a.root.className=k(x4.root,l.root,a.sortable&&l.rootInteractive,a.noNativeElements?c.flex.root:c.table.root,a.root.className),a.button.className=k(x4.button,l.resetButton,l.button,a.sortable&&l.sortable,a.button.className),a.sortIcon)a.sortIcon.className=k(x4.sortIcon,l.sortIcon,a.sortIcon.className);if(a.aside)a.aside.className=k(x4.aside,l.resizeHandle,a.aside.className);return a};var p4=/*@__PURE__*/U((a,l)=>{let c=ul(a,l);return dl(c),z("useTableHeaderCellStyles_unstable")(c),Ll(c)});p4.displayName="TableHeaderCell";C();C();var Hs={medium:32,small:24,"extra-small":20},gl=(a,l)=>{let{size:c}=q5();return{components:{root:"div",main:"span",description:"span",content:"div",media:"span"},root:f.always(_("div",{ref:l,...a}),{elementType:"div"}),appearance:a.appearance,truncate:a.truncate,main:f.optional(a.main,{renderByDefault:!0,elementType:"span"}),media:f.optional(a.media,{elementType:"span"}),description:f.optional(a.description,{elementType:"span"}),content:f.optional(a.content,{renderByDefault:!!a.description||!!a.children,elementType:"div"}),avatarSize:Hs[c],size:c}};var Cl=(a,l)=>{return G(a),/*@__PURE__*/x1(a.root,{children:[a.media&&/*@__PURE__*/D(Yh,{value:l.avatar,children:/*@__PURE__*/D(a.media,{})}),a.content&&/*@__PURE__*/x1(a.content,{children:[a.main&&/*@__PURE__*/D(a.main,{children:a.root.children}),a.description&&/*@__PURE__*/D(a.description,{})]})]})};var R3={root:"fui-TableCellLayout",media:"fui-TableCellLayout__media",main:"fui-TableCellLayout__main",description:"fui-TableCellLayout__description",content:"fui-TableCellLayout__content"},As=/*@__PURE__*/B({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);}"]}),Fl=(a)=>{let l=As(),{truncate:c}=a;a.root.className=k(R3.root,l.root,c&&l.rootTruncate,a.root.className);let h=a.appearance==="primary";if(a.media){let Z={small:l.mediaSmallAndMedium,medium:l.mediaSmallAndMedium,"extra-small":l.mediaExtraSmall};a.media.className=k(R3.media,l.media,Z[a.size],h&&l.mediaPrimary,a.media.className)}if(a.main)a.main.className=k(R3.main,c&&l.mainTruncate,h&&l.mainPrimary,a.main.className);if(a.description)a.description.className=k(R3.description,l.description,a.description.className);if(a.content)a.content.className=k(R3.content,l.content,c&&l.contentTruncate,a.content.className);return a};C();function Xu(a){let{avatarSize:l}=a;return{avatar:d1(()=>({size:l}),[l])}}var m7=/*@__PURE__*/U((a,l)=>{let c=gl(a,l);return Fl(c),z("useTableCellLayoutStyles_unstable")(c),Cl(c,Xu(c))});m7.displayName="TableCellLayout";C();var S0={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"},u5={bottom:"bottom",bottomEnd:"bottom-end",bottomStart:"bottom-start",top:"top",topEnd:"top-end",topStart:"top-start"};var Vs=0;function Re(a,l={},c){var h;let Z={...l,content:a,toastId:(h=l.toastId)!==null&&h!==void 0?h:(Vs++).toString()},o=new CustomEvent(S0.show,{bubbles:!1,cancelable:!1,detail:Z});c.dispatchEvent(o)}function xe(a,l=void 0,c){let h=new CustomEvent(S0.dismiss,{bubbles:!1,cancelable:!1,detail:{toastId:a,toasterId:l}});c.dispatchEvent(h)}function pe(a=void 0,l){let c=new CustomEvent(S0.dismissAll,{bubbles:!1,cancelable:!1,detail:{toasterId:a}});l.dispatchEvent(c)}function we(a,l){let c=new CustomEvent(S0.update,{bubbles:!1,cancelable:!1,detail:a});l.dispatchEvent(c)}function De(a,l=void 0,c){let h=new CustomEvent(S0.pause,{bubbles:!1,cancelable:!1,detail:{toastId:a,toasterId:l}});c.dispatchEvent(h)}function se(a,l=void 0,c){let h=new CustomEvent(S0.play,{bubbles:!1,cancelable:!1,detail:{toastId:a,toasterId:l}});c.dispatchEvent(h)}C();function yu(a,l){for(let[c,h]of Object.entries(l))if(h!=null)a[c]=h}var is={onStatusChange:void 0,priority:0,pauseOnHover:!1,pauseOnWindowBlur:!1,position:"bottom-end",timeout:3000},ns=0;function ke(a){let{limit:l=Number.POSITIVE_INFINITY}=a,c=/*@__PURE__*/new Set,h=/*@__PURE__*/new Map,Z=H6((t,m)=>{let H=h.get(t),A=h.get(m);if(!H||!A)return 0;if(H.priority===A.priority)return H.order-A.order;return H.priority-A.priority});return{buildToast:(t,m)=>{var H;let{toastId:A,content:V,toasterId:i}=t;if(h.has(A))return;let d={...is,close:()=>{var g;let R=h.get(A);if(!R)return;c.delete(A),m(),(g=R.onStatusChange)===null||g===void 0||g.call(R,null,{status:"dismissed",...R})},remove:()=>{if(!h.get(A))return;if(h.delete(A),c.size<l&&Z.peek()){let R=h.get(Z.dequeue());if(!R)return;c.add(R.toastId)}m()},toastId:A,content:V,updateId:0,toasterId:i,order:ns++,data:{},imperativeRef:o5()};if(yu(d,a),yu(d,t),h.set(A,d),(H=d.onStatusChange)===null||H===void 0||H.call(d,null,{status:"queued",...d}),c.size>=l)Z.enqueue(A);else c.add(A)},dismissAllToasts:()=>{c.clear(),Z.clear()},dismissToast:(t)=>{c.delete(t)},isToastVisible:(t)=>{return c.has(t)},updateToast:(t)=>{let{toastId:m}=t,H=h.get(m);if(!H)return;Object.assign(H,t),H.updateId++},visibleToasts:c,toasts:h}}var z7=(a,l,c)=>{let h={};var Z;let o=c?us(c)?c:(Z=c[a])!==null&&Z!==void 0?Z:{}:{},v=a==="top"||a==="bottom",{horizontal:r=v?0:20,vertical:e=16}=o,M=l==="ltr"?"left":"right",t=l==="ltr"?"right":"left";switch(a){case"top":Object.assign(h,{top:e,left:`calc(50% + ${r}px)`,transform:"translateX(-50%)"});break;case"bottom":Object.assign(h,{bottom:e,left:`calc(50% + ${r}px)`,transform:"translateX(-50%)"});break;case"top-start":Object.assign(h,{top:e,[M]:r});break;case"top-end":Object.assign(h,{top:e,[t]:r});break;case"bottom-start":Object.assign(h,{bottom:e,[M]:r});break;case"bottom-end":Object.assign(h,{bottom:e,[t]:r});break}return h};function us(a){return"horizontal"in a||"vertical"in a}function Se(a={}){let l=t6(),{toasterId:c,shortcuts:h}=a,[Z]=m1(()=>ke(a)),{targetDocument:o}=C1(),v=q(null),r=A1((i)=>{return i===c}),e=A1((i)=>{if(h===null||h===void 0?void 0:h.focus)return h.focus(i)}),M=j(()=>{Z.visibleToasts.forEach((i)=>{var u;let L=Z.toasts.get(i);L===null||L===void 0||(u=L.imperativeRef.current)===null||u===void 0||u.pause()})},[Z]),t=j(()=>{Z.visibleToasts.forEach((i)=>{var u;let L=Z.toasts.get(i);L===null||L===void 0||(u=L.imperativeRef.current)===null||u===void 0||u.play()})},[Z]),m=j(()=>{return Array.from(Z.visibleToasts).reduce((i,u)=>{let L=Z.toasts.get(u);if(!L)return i;if(!i)return L;if(i.order<(L===null||L===void 0?void 0:L.order))return L;return i},void 0)},[Z]),H=j(()=>{let i=m();if(i===null||i===void 0?void 0:i.imperativeRef.current)i.imperativeRef.current.focus();else{var u;(u=v.current)===null||u===void 0||u.focus(),v.current=null}},[m]),A=j(()=>{Z.visibleToasts.forEach((i)=>{let u=Z.toasts.get(i);u===null||u===void 0||u.close()}),H()},[Z,H]);M1(()=>{if(!o)return;let i=(w,s)=>{let P=(Q)=>{if(!r(Q.detail.toasterId))return;s(Q),l()};return o.addEventListener(w,P),()=>o.removeEventListener(w,P)},u=(w)=>{Z.buildToast(w.detail,l)},L=(w)=>{Z.dismissToast(w.detail.toastId)},d=(w)=>{Z.updateToast(w.detail)},g=(w)=>{Z.dismissAllToasts()},R=(w)=>{let s=Z.toasts.get(w.detail.toastId);if(s){var P;(P=s.imperativeRef.current)===null||P===void 0||P.pause()}},x=(w)=>{let s=Z.toasts.get(w.detail.toastId);if(s){var P;(P=s.imperativeRef.current)===null||P===void 0||P.play()}},S=i(S0.show,u),p=i(S0.update,d),O=i(S0.dismiss,L),I=i(S0.dismissAll,g),Z1=i(S0.pause,R),o1=i(S0.play,x),X=(w)=>{if(e(w)){M();let P=m();if(P){var s;v.current=q1(o.activeElement)?o.activeElement:null,(s=P.imperativeRef.current)===null||s===void 0||s.focus()}}};return o.addEventListener("keydown",X),()=>{S(),I(),p(),O(),Z1(),o1(),o.removeEventListener("keydown",X)}},[Z,l,o,r,M,m,e]);let V=(()=>{if(!Z)return/*@__PURE__*/new Map;let i=/*@__PURE__*/new Map;return Array.from(Z.toasts.values()).forEach((L)=>{let{position:d}=L;if(i.has(d)||i.set(d,[]),d.startsWith("bottom"))i.get(d).push(L);else i.get(d).unshift(L)}),i})();return{isToastVisible:Z.isToastVisible,toastsToRender:V,pauseAllToasts:M,playAllToasts:t,tryRestoreFocus:H,closeAllToasts:A}}C();var q6=()=>{return};function w4(a){let{targetDocument:l}=C1();return d1(()=>{if(!l)return{dispatchToast:q6,dismissToast:q6,dismissAllToasts:q6,updateToast:q6,pauseToast:q6,playToast:q6};return{dispatchToast:(c,h)=>{Re(c,{...h,toasterId:a,data:{root:h===null||h===void 0?void 0:h.root}},l)},dismissToast:(c)=>{xe(c,a,l)},dismissAllToasts:()=>{pe(a,l)},updateToast:(c)=>{we({...c,data:{root:c.root},toasterId:a},l)},pauseToast:(c)=>{De(c,a,l)},playToast:(c)=>{se(c,a,l)}}},[l,a])}C();var Ls={close:()=>null,intent:void 0,bodyId:"",titleId:""},ju=/*@__PURE__*/e1(void 0),Nu=ju.Provider,xZ=()=>{var a;return(a=h1(ju))!==null&&a!==void 0?a:Ls};C();C();C();C();C();var _u=/*@__PURE__*/Y("r16zaflb","r75casi",[".r16zaflb{animation-name:rsacmq1;}","@keyframes rsacmq1{from{opacity:0;}to{opacity:0;}}",".r75casi{animation-name:rsacmq1;}"]);var pZ=/*@__PURE__*/U((a,l)=>{let c=_u(),{running:h,timeout:Z,onTimeout:o}=a,v={animationDuration:`${Z}ms`,animationPlayState:h?"running":"paused"};if(Z<0)return null;return/*@__PURE__*/r1("span",{onAnimationEnd:o,"data-timer-status":v.animationPlayState,ref:l,style:v,className:c})});pZ.displayName="Timer";var ds={success:"assertive",warning:"assertive",error:"assertive",info:"polite"},aL=(a,l)=>{let{visible:c,children:h,close:Z,remove:o,updateId:v,announce:r,data:e,timeout:M,politeness:t,intent:m="info",pauseOnHover:H,pauseOnWindowBlur:A,imperativeRef:V,tryRestoreFocus:i,...u}=a,L=M0("toast-title"),d=M0("toast-body"),g=q(null),{targetDocument:R}=C1(),[x,S]=m1(!1),p=q(!1),O=q(!1),I=j3({tabBehavior:"limited-trap-focus",ignoreDefaultKeydown:{Tab:!0,Escape:!0,Enter:!0}}),Z1=A1(()=>{var J;let E=R===null||R===void 0?void 0:R.activeElement;if(E&&((J=g.current)===null||J===void 0?void 0:J.contains(E)))O.current=!0;Z()}),o1=A1((J)=>{var E;return(E=a.onStatusChange)===null||E===void 0?void 0:E.call(a,null,{status:J,...a})}),X=A1(()=>S(!1)),w=A1(()=>{var J;if(p.current)return;var E;let l1=!!((J=g.current)===null||J===void 0?void 0:J.contains((E=R===null||R===void 0?void 0:R.activeElement)!==null&&E!==void 0?E:null));if(M<0){S(!0);return}if(!l1)S(!0)});i5(V,()=>({focus:()=>{if(!g.current)return;g.current.focus()},play:()=>{p.current=!1,w()},pause:()=>{p.current=!0,X()}})),M1(()=>{return()=>o1("unmounted")},[o1]),M1(()=>{if(!R)return;if(A){var J,E;return(J=R.defaultView)===null||J===void 0||J.addEventListener("focus",w),(E=R.defaultView)===null||E===void 0||E.addEventListener("blur",X),()=>{var l1,f1;(l1=R.defaultView)===null||l1===void 0||l1.removeEventListener("focus",w),(f1=R.defaultView)===null||f1===void 0||f1.removeEventListener("blur",X)}}},[R,X,w,A]);let s=e.root,P=j((J,{direction:E})=>{if(E==="exit")o();if(E==="enter")w(),o1("visible")},[o1,w,o]),Q=A1((J)=>{var E;X(),s===null||s===void 0||(E=s.onMouseEnter)===null||E===void 0||E.call(s,J)}),N=A1((J)=>{var E;w(),s===null||s===void 0||(E=s.onMouseEnter)===null||E===void 0||E.call(s,J)}),{findFirstFocusable:H1,findLastFocusable:K}=f7(),i1=A1((J)=>{var E;if(J.key===Ur)J.preventDefault(),Z1();if(J.key===Wr&&J.currentTarget===J.target)if(J.preventDefault(),J.shiftKey){var l1;(l1=K(J.currentTarget))===null||l1===void 0||l1.focus()}else{var f1;(f1=H1(J.currentTarget))===null||f1===void 0||f1.focus()}s===null||s===void 0||(E=s.onKeyDown)===null||E===void 0||E.call(s,J)});return M1(()=>{var J;if(!c)return;let E=t!==null&&t!==void 0?t:ds[m];var l1;r((l1=(J=g.current)===null||J===void 0?void 0:J.textContent)!==null&&l1!==void 0?l1:"",{politeness:E})},[r,t,g,c,v,m]),M1(()=>{return()=>{if(O.current)O.current=!1,i()}},[i]),{components:{timer:pZ,root:"div"},timer:f.always({onTimeout:Z1,running:x,timeout:M!==null&&M!==void 0?M:-1},{elementType:pZ}),root:f.always(_("div",{ref:E1(l,g),children:h,tabIndex:0,role:"listitem","aria-labelledby":L,"aria-describedby":d,...u,...s,...I,onMouseEnter:Q,onMouseLeave:N,onKeyDown:i1}),{elementType:"div"}),timerTimeout:M,transitionTimeout:0,running:x,visible:c,remove:o,close:Z1,onTransitionEntering:()=>{},updateId:v,nodeRef:g,intent:m,titleId:L,bodyId:d,onMotionFinish:P}};var lL=(a,l)=>{let{onMotionFinish:c,visible:h,updateId:Z}=a;return G(a),/*@__PURE__*/D(Nu,{value:l.toast,children:/*@__PURE__*/D(Eh,{appear:!0,onMotionFinish:c,visible:h,unmountOnExit:!0,children:/*@__PURE__*/x1(a.root,{children:[a.root.children,/*@__PURE__*/D(a.timer,{},Z)]})})})};var wZ={root:"fui-ToastContainer",timer:"fui-ToastContainer__timer"},gs=/*@__PURE__*/Y("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);}"]),fe=(a)=>{let l=gs();return a.root.className=k(wZ.root,l,a.root.className),a};C();function cL(a){let{close:l,intent:c,titleId:h,bodyId:Z}=a;return{toast:d1(()=>({close:l,intent:c,titleId:h,bodyId:Z}),[l,c,h,Z])}}var DZ=/*@__PURE__*/U((a,l)=>{let c=aL(a,l);return fe(c),z("useToastContainerStyles_unstable")(c),lL(c,cL(c))});DZ.displayName="ToastContainer";C();var hL=()=>{return};function ZL(a,l){let{targetDocument:c}=C1(),h=q(hL);return j((Z)=>{if(!Z||!c){h.current(),h.current=hL;return}let o=c.createTreeWalker(Z,NodeFilter.SHOW_ELEMENT,{acceptNode(M){if(q1(M)&&M.classList.contains(wZ.root))return NodeFilter.FILTER_ACCEPT;return NodeFilter.FILTER_SKIP}}),v=(M)=>{let{target:t,key:m}=M;if(!q1(t))return;if(m===br){o.currentNode=t;let H=o.nextNode();if(!H)o.currentNode=Z,H=o.nextNode();if(q1(H))H.focus()}if(m===Or){o.currentNode=t;let H=o.previousNode();if(H&&H.contains(t))H=o.previousNode();if(!H)o.currentNode=Z,H=o.lastChild();if(q1(H))H.focus()}},r=(M)=>{if(q1(M.currentTarget)&&!M.currentTarget.contains(q1(M.relatedTarget)?M.relatedTarget:null))a()},e=(M)=>{if(q1(M.currentTarget)&&!M.currentTarget.contains(q1(M.relatedTarget)?M.relatedTarget:null))l()};Z.addEventListener("keydown",v),Z.addEventListener("focusin",r),Z.addEventListener("focusout",e),h.current=()=>{Z.removeEventListener("keydown",v),Z.removeEventListener("focusin",r),Z.removeEventListener("focusout",e)}},[c,a,l])}C();function oL(a){let l=q(!0),c=q(()=>{return}),h=j((o,v)=>{if(l.current)a(o,v)},[a]),Z=j((o)=>{if(!o){c.current();return}let v=(e)=>{if(q1(e.currentTarget)&&e.currentTarget.contains(q1(e.relatedTarget)?e.relatedTarget:null))return;l.current=!1},r=(e)=>{if(q1(e.currentTarget)&&e.currentTarget.contains(q1(e.relatedTarget)?e.relatedTarget:null))return;l.current=!0};o.addEventListener("focusin",v),o.addEventListener("focusout",r),c.current=()=>{o.removeEventListener("focusin",v),o.removeEventListener("focusout",r)}},[]);return{announceToast:h,toasterRef:Z}}var Rl=(a)=>{let{offset:l,announce:c,mountNode:h,inline:Z=!1,...o}=a,v=q(()=>null),{toastsToRender:r,isToastVisible:e,pauseAllToasts:M,playAllToasts:t,tryRestoreFocus:m,closeAllToasts:H}=Se(o),A=j((g,R)=>v.current(g,R),[]),{dir:V}=C1(),i=f.always(_("div",o),{elementType:"div"}),u=j3({tabBehavior:"limited-trap-focus",ignoreDefaultKeydown:{Escape:!0}}),L=A1((g)=>{var R;if(g.key===Z4)g.preventDefault(),H();(R=a.onKeyDown)===null||R===void 0||R.call(a,g)}),d=(g)=>{var R;let x=ZL(M,t),{announceToast:S,toasterRef:p}=oL(c!==null&&c!==void 0?c:A);return f.optional(r.has(g)?i:null,{defaultProps:{ref:E1(x,p),children:(R=r.get(g))===null||R===void 0?void 0:R.map((O)=>/*@__PURE__*/r1(DZ,{...O,tryRestoreFocus:m,intent:O.intent,announce:S,key:O.toastId,visible:e(O.toastId)},O.content)),onKeyDown:L,...u,"data-toaster-position":g,role:"list"},elementType:"div"})};return{dir:V,mountNode:h,components:{root:"div",bottomStart:"div",bottomEnd:"div",topStart:"div",topEnd:"div",top:"div",bottom:"div"},root:f.always(i,{elementType:"div"}),bottomStart:d(u5.bottomStart),bottomEnd:d(u5.bottomEnd),topStart:d(u5.topStart),topEnd:d(u5.topEnd),top:d(u5.top),bottom:d(u5.bottom),announceRef:v,offset:l,announce:c!==null&&c!==void 0?c:A,renderAriaLive:!c,inline:Z}};C();C();var Cs=500,vL=(a)=>{let[l,c]=m1(void 0),h=q(0),[Z]=m1(()=>H6((t,m)=>{if(t.politeness===m.politeness)return t.createdAt-m.createdAt;return t.politeness==="assertive"?-1:1})),o=A1((t,m)=>{let{politeness:H}=m;if(t===(l===null||l===void 0?void 0:l.message))return;let A={message:t,politeness:H,createdAt:h.current++};if(!l)c(A);else Z.enqueue(A)}),[v,r]=j2();M1(()=>{return v(()=>{if(Z.peek())c(Z.dequeue());else c(void 0)},Cs),()=>r()},[l,Z,v,r]),i5(a.announceRef,()=>o);let e=(l===null||l===void 0?void 0:l.politeness)==="polite"?l.message:void 0,M=(l===null||l===void 0?void 0:l.politeness)==="assertive"?l.message:void 0;return{components:{assertive:"div",polite:"div"},assertive:f.always(a.assertive,{defaultProps:{"aria-live":"assertive",children:M},elementType:"div"}),polite:f.always(a.polite,{defaultProps:{"aria-live":"polite",children:e},elementType:"div"})}};var rL=(a)=>{return G(a),/*@__PURE__*/x1(V1,{children:[/*@__PURE__*/D(a.assertive,{}),/*@__PURE__*/D(a.polite,{})]})};var eL={assertive:"fui-AriaLive__assertive",polite:"fui-AriaLive__polite"},Fs=/*@__PURE__*/Y("rrd10u0",null,[".rrd10u0{clip:rect(0px, 0px, 0px, 0px);height:1px;margin:-1px;overflow:hidden;padding:0px;width:1px;position:absolute;}"]),ML=(a)=>{let l=Fs();return a.assertive.className=k(l,eL.assertive,a.assertive.className),a.polite.className=k(l,eL.polite,a.polite.className),a};var sZ=(a)=>{let l=vL(a);return ML(l),rL(l)};sZ.displayName="AriaLive";var xl=(a)=>{let{announceRef:l,renderAriaLive:c,inline:h,mountNode:Z}=a;G(a);let o=!!a.bottomStart||!!a.bottomEnd||!!a.topStart||!!a.topEnd||!!a.top||!!a.bottom,v=c?/*@__PURE__*/D(sZ,{announceRef:l}):null,r=/*@__PURE__*/x1(V1,{children:[a.bottom?/*@__PURE__*/D(a.bottom,{}):null,a.bottomStart?/*@__PURE__*/D(a.bottomStart,{}):null,a.bottomEnd?/*@__PURE__*/D(a.bottomEnd,{}):null,a.topStart?/*@__PURE__*/D(a.topStart,{}):null,a.topEnd?/*@__PURE__*/D(a.topEnd,{}):null,a.top?/*@__PURE__*/D(a.top,{}):null]});if(h)return/*@__PURE__*/x1(V1,{children:[v,o?r:null]});return/*@__PURE__*/x1(V1,{children:[v,o?/*@__PURE__*/D(P7,{mountNode:Z,children:r}):null]})};var kZ={root:"fui-Toaster"},Rs=/*@__PURE__*/Y("r3hfdjz",null,[".r3hfdjz{position:fixed;width:292px;pointer-events:none;}"]),xs=/*@__PURE__*/B({inline:{qhf8xq:"f1euv43f"}},{d:[".f1euv43f{position:absolute;}"]}),pl=(a)=>{let l=Rs(),c=xs(),h=k(kZ.root,l,a.inline&&c.inline,a.root.className);if(a.bottomStart){var Z;a.bottomStart.className=h;var o;(o=(Z=a.bottomStart).style)!==null&&o!==void 0||(Z.style={}),Object.assign(a.bottomStart.style,z7(u5.bottomStart,a.dir,a.offset))}if(a.bottomEnd){var v;a.bottomEnd.className=h;var r;(r=(v=a.bottomEnd).style)!==null&&r!==void 0||(v.style={}),Object.assign(a.bottomEnd.style,z7(u5.bottomEnd,a.dir,a.offset))}if(a.topStart){var e;a.topStart.className=h;var M;(M=(e=a.topStart).style)!==null&&M!==void 0||(e.style={}),Object.assign(a.topStart.style,z7(u5.topStart,a.dir,a.offset))}if(a.topEnd){var t;a.topEnd.className=h;var m;(m=(t=a.topEnd).style)!==null&&m!==void 0||(t.style={}),Object.assign(a.topEnd.style,z7(u5.topEnd,a.dir,a.offset))}if(a.top){var H;a.top.className=h;var A;(A=(H=a.top).style)!==null&&A!==void 0||(H.style={}),Object.assign(a.top.style,z7(u5.top,a.dir,a.offset))}if(a.bottom){var V;a.bottom.className=h;var i;(i=(V=a.bottom).style)!==null&&i!==void 0||(V.style={}),Object.assign(a.bottom.style,z7(u5.bottom,a.dir,a.offset))}return a};var D4=(a)=>{let l=Rl(a);return pl(l),z("useToasterStyles_unstable")(l),xl(l)};D4.displayName="Toaster";C();C();var wl=(a,l)=>{let{intent:c}=xZ();return{components:{root:"div"},root:f.always(_("div",{ref:l,...a}),{elementType:"div"}),backgroundAppearance:a.appearance,intent:c}};var Dl=(a,l)=>{return G(a),/*@__PURE__*/D(Lh,{value:l.backgroundAppearance,children:/*@__PURE__*/D(a.root,{})})};var Be={root:"fui-Toast"},ps=/*@__PURE__*/Y("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);}"]),ws=/*@__PURE__*/B({inverted:{sj55zd:"f1w7i9ko",De3pzq:"f5pduvr"}},{d:[".f1w7i9ko{color:var(--colorNeutralForegroundInverted2);}",".f5pduvr{background-color:var(--colorNeutralBackgroundInverted);}"]}),sl=(a)=>{let l=ps(),c=ws();return a.root.className=k(Be.root,l,a.backgroundAppearance==="inverted"&&c.inverted,a.root.className),a};function mL(a){let{backgroundAppearance:l}=a;return{backgroundAppearance:l}}var k2=/*@__PURE__*/U((a,l)=>{let c=wl(a,l);return sl(c),z("useToastStyles_unstable")(c),Dl(c,mL(c))});k2.displayName="Toast";C();C();var kl=(a,l)=>{let{intent:c,titleId:h}=xZ(),Z=m6(),o;switch(c){case"success":o=/*@__PURE__*/r1(Ih,null);break;case"error":o=/*@__PURE__*/r1(Gh,null);break;case"warning":o=/*@__PURE__*/r1(Kh,null);break;case"info":o=/*@__PURE__*/r1(zh,null);break}return{action:f.optional(a.action,{elementType:"div"}),components:{root:"div",media:"div",action:"div"},media:f.optional(a.media,{renderByDefault:!!c,defaultProps:{children:o},elementType:"div"}),root:f.always(_("div",{ref:l,children:a.children,id:h,...a}),{elementType:"div"}),intent:c,backgroundAppearance:Z}};var Sl=(a)=>{return G(a),/*@__PURE__*/x1(V1,{children:[a.media?/*@__PURE__*/D(a.media,{}):null,/*@__PURE__*/D(a.root,{}),a.action?/*@__PURE__*/D(a.action,{}):null]})};var G6={root:"fui-ToastTitle",media:"fui-ToastTitle__media",action:"fui-ToastTitle__action"},Ds=/*@__PURE__*/Y("rdjap1e",null,[".rdjap1e{display:flex;grid-column-end:3;color:var(--colorNeutralForeground1);word-break:break-word;}"]),ss=/*@__PURE__*/Y("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);}"]),ks=/*@__PURE__*/Y("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);}"]),Ss=/*@__PURE__*/B({root:{sj55zd:"f1w7i9ko"},action:{sj55zd:"f1qz2gb0"},media:{sj55zd:"fqpbvvt"}},{d:[".f1w7i9ko{color:var(--colorNeutralForegroundInverted2);}",".f1qz2gb0{color:var(--colorBrandForegroundInverted);}",".fqpbvvt{color:var(--colorNeutralForegroundInverted);}"]}),fs=/*@__PURE__*/B({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);}"]}),Bs=/*@__PURE__*/B({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);}"]}),fl=(a)=>{let l=Ds(),c=ks(),h=ss(),Z=fs(),o=Bs(),{intent:v}=a,r=Ss();if(a.root.className=k(G6.root,l,a.backgroundAppearance==="inverted"&&r.root,a.root.className),a.media)a.media.className=k(G6.media,h,a.backgroundAppearance==="inverted"&&r.media,v&&Z[v],v&&a.backgroundAppearance==="inverted"&&o[v],a.media.className);if(a.action)a.action.className=k(G6.action,c,a.backgroundAppearance==="inverted"&&r.action,a.action.className);return a};var S2=/*@__PURE__*/U((a,l)=>{let c=kl(a,l);return fl(c),z("useToastTitleStyles_unstable")(c),Sl(c)});S2.displayName="ToastTitle";C();C();C();function tL(a){switch(a){case"info":return/*@__PURE__*/r1(zh,null);case"warning":return/*@__PURE__*/r1(Kh,null);case"error":return/*@__PURE__*/r1(Gh,null);case"success":return/*@__PURE__*/r1(Ih,null);default:return null}}C();function HL(a=!1){let{targetDocument:l}=C1(),c=$5(()=>({}),{})[1],h=q(!1),Z=q(null),o=q(-1),v=j((e)=>{var M,t;if(e.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 m=e[0];var H;let A=(H=m===null||m===void 0?void 0:(t=m.borderBoxSize)===null||t===void 0?void 0:(M=t[0])===null||M===void 0?void 0:M.inlineSize)!==null&&H!==void 0?H:m===null||m===void 0?void 0:m.target.getBoundingClientRect().width;if(A===void 0||!m)return;let{target:V}=m;if(!q1(V))return;let i;if(h.current){if(o.current<A)i=!1}else{let u=V.scrollWidth;if(A<u)i=!0}if(o.current=A,typeof i!=="undefined"&&h.current!==i)h.current=i,c()},[c]),r=j((e)=>{var M;if(!a||!e||!(l===null||l===void 0?void 0:l.defaultView))return;(M=Z.current)===null||M===void 0||M.disconnect();let m=new l.defaultView.ResizeObserver(v);Z.current=m,m.observe(e,{box:"border-box"})},[l,v,a]);return M1(()=>{return()=>{var e;(e=Z.current)===null||e===void 0||e.disconnect()}},[]),{ref:r,reflowing:h.current}}C();var AL=e1(void 0),Ts={className:"",nodeRef:o5()},ro1=AL.Provider,VL=()=>{var a;return(a=h1(AL))!==null&&a!==void 0?a:Ts};var Bl=(a,l)=>{let{layout:c="auto",intent:h="info",politeness:Z,shape:o="rounded"}=a,v=(Z!==null&&Z!==void 0?Z:h==="info")?"polite":"assertive",r=c==="auto",{ref:e,reflowing:M}=HL(r),t=r?M?"multiline":"singleline":c,{className:m,nodeRef:H}=VL(),A=q(null),V=q(null),{announce:i}=la(),u=M0();return M1(()=>{var L,d;let g=(L=V.current)===null||L===void 0?void 0:L.textContent,R=(d=A.current)===null||d===void 0?void 0:d.textContent,x=[g,R].filter(Boolean).join(",");i(x,{polite:v==="polite",alert:v==="assertive"})},[V,A,i,v]),{components:{root:"div",icon:"div",bottomReflowSpacer:"div"},root:f.always(_("div",{ref:E1(l,e,H),role:"group","aria-labelledby":u,...a}),{elementType:"div"}),icon:f.optional(a.icon,{renderByDefault:!0,elementType:"div",defaultProps:{children:tL(h)}}),bottomReflowSpacer:f.optional(a.bottomReflowSpacer,{renderByDefault:t==="multiline",elementType:"div"}),layout:t,intent:h,transitionClassName:m,actionsRef:A,bodyRef:V,titleId:u,shape:o}};C();var iL=e1(void 0),Ws={titleId:"",layout:"singleline",actionsRef:o5(),bodyRef:o5()},Te=iL.Provider,We=()=>{var a;return(a=h1(iL))!==null&&a!==void 0?a:Ws};var Tl=(a,l)=>{return G(a),/*@__PURE__*/D(Te,{value:l.messageBar,children:/*@__PURE__*/x1(a.root,{children:[a.icon&&/*@__PURE__*/D(a.icon,{}),a.root.children,a.bottomReflowSpacer&&/*@__PURE__*/D(a.bottomReflowSpacer,{})]})})};var z6={root:"fui-MessageBar",icon:"fui-MessageBar__icon",bottomReflowSpacer:"fui-MessageBar__bottomReflowSpacer"},bs=/*@__PURE__*/Y("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);}']),Os=/*@__PURE__*/Y("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;}"]),Us=/*@__PURE__*/Y("r1vx593n",null,[".r1vx593n{margin-bottom:var(--spacingVerticalS);grid-area:secondaryActions;}"]),Ps=/*@__PURE__*/B({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}]]}),Is=/*@__PURE__*/B({info:{},error:{sj55zd:"f1ca9wz"},warning:{sj55zd:"f14a4cve"},success:{sj55zd:"f36rra6"}},{d:[".f1ca9wz{color:var(--colorStatusDangerForeground1);}",".f14a4cve{color:var(--colorStatusWarningForeground3);}",".f36rra6{color:var(--colorStatusSuccessForeground1);}"]}),qs=/*@__PURE__*/B({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=bs(),c=Os(),h=Is(),Z=qs(),o=Us(),v=Ps();if(a.root.className=k(z6.root,l,a.layout==="multiline"&&v.rootMultiline,a.shape==="square"&&v.square,Z[a.intent],a.transitionClassName,a.root.className),a.icon)a.icon.className=k(z6.icon,c,h[a.intent],a.icon.className);if(a.bottomReflowSpacer)a.bottomReflowSpacer.className=k(z6.bottomReflowSpacer,o);return a};C();function bl(a){let{layout:l,actionsRef:c,bodyRef:h,titleId:Z}=a;return{messageBar:d1(()=>({layout:l,actionsRef:c,bodyRef:h,titleId:Z}),[l,c,h,Z])}}var s4=/*@__PURE__*/U((a,l)=>{let c=Bl(a,l);return Wl(c),z("useMessageBarStyles_unstable")(c),Tl(c,bl(c))});s4.displayName="MessageBar";C();C();var Ol=(a,l)=>{let{bodyRef:c}=We();return{components:{root:"div"},root:f.always(_("div",{ref:E1(l,c),...a}),{elementType:"div"})}};var Ul=(a,l)=>{return G(a),/*@__PURE__*/D(eZ,{value:l.link,children:/*@__PURE__*/D(a.root,{})})};var SZ={root:"fui-MessageBarBody"},Gs=/*@__PURE__*/Y("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);}"]),Pl=(a)=>{let l=Gs();return a.root.className=k(SZ.root,l,a.root.className),a};C();function nL(a){return{link:d1(()=>({inline:!0}),[])}}var k4=/*@__PURE__*/U((a,l)=>{let c=Ol(a,l),h=nL(c);return Pl(c),z("useMessageBarBodyStyles_unstable")(c),Ul(c,h)});k4.displayName="MessageBarBody";C();var Xs={scrollState:"none",setScrollState:()=>({})},fL=e1(void 0),S4=fL.Provider,f4=()=>{var a;return(a=h1(fL))!==null&&a!==void 0?a:Xs},B4=()=>{let[a,l]=m1("none");return{setScrollState:l,scrollState:a}};C();C();C();C();var $6={drawerSizeVar:"--fui-Drawer--size"},BL={overflow:"hidden",width:`var(${$6.drawerSizeVar})`,maxWidth:"100vw",height:"auto",maxHeight:"100vh",boxSizing:"border-box",display:"flex",flexDirection:"column",alignItems:"flex-start",justifyContent:"flex-start",backgroundColor:Q1.colorNeutralBackground1,color:Q1.colorNeutralForeground1},ys=/*@__PURE__*/B({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;}"]}),js=/*@__PURE__*/B({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%;}"]}),BZ=({position:a,size:l})=>{let c=ys(),h=js();return k(c[a],a==="bottom"&&h[l],a!=="bottom"&&c[l])};var Je={small:T1.durationGentle,medium:T1.durationSlow,large:T1.durationSlower,full:T1.durationUltraSlow};function TL(a,l,c){let h=`translate3d(var(${l}), 0, 0)`,Z=`translate3d(calc(var(${l}) * -1), 0, 0)`,o=`translate3d(0, var(${l}), 0)`;if(a==="start")return c==="ltr"?Z:h;if(a==="end")return c==="ltr"?h:Z;if(a==="bottom")return o;return"translate3d(0, 0, 0)"}var $e=m5(({position:a,size:l,dir:c})=>{let h=[{transform:TL(a,$6.drawerSizeVar,c),opacity:0},{transform:"translate3d(0, 0, 0)",opacity:1}],Z=Je[l];return{enter:{keyframes:h,duration:Z,easing:T1.curveDecelerateMid},exit:{keyframes:[...h].reverse(),duration:Z,easing:T1.curveAccelerateMin}}}),WL=m5(({position:a,size:l,dir:c})=>{let h=[{transform:TL(a,$6.drawerSizeVar,c),boxShadow:`0px ${Q1.colorTransparentBackground}`,opacity:0},{transform:"translate3d(0, 0, 0)",boxShadow:Q1.shadow64,opacity:1}],Z=Je[l];return{enter:{keyframes:h,duration:Z,easing:T1.curveDecelerateMid},exit:{keyframes:[...h].reverse(),duration:Z,easing:T1.curveAccelerateMin}}}),bL=m5(({size:a})=>{let l=[{opacity:0},{opacity:1}],c=Je[a];return{enter:{keyframes:l,easing:T1.curveLinear,duration:c},exit:{keyframes:[...l].reverse(),easing:T1.curveLinear,duration:c}}});function TZ(a){let{open:l=!1,size:c="small",position:h="start"}=a;return{size:c,position:h,open:l}}C();var Ns=/*@__PURE__*/Y("rl76ifk",null,[".rl76ifk{inset:0px;position:fixed;background-color:var(--colorBackgroundOverlay);}"]),_s=/*@__PURE__*/B({nested:{De3pzq:"f1c21dwh"}},{d:[".f1c21dwh{background-color:var(--colorTransparentBackground);}"]}),OL=(a)=>{let l=Ns(),c=_s();if(a.backdrop)a.backdrop.className=k(l,a.isNestedDialog&&c.nested,a.backdrop.className);return a};var ql=/*@__PURE__*/U((a,l)=>{let c=d3({...a,as:a.as},l),h=C3(c);return OL(c),g3(c,h)});ql.displayName="OverlayDrawerSurface";C();function Ee(a,l,c){if(a===null)return null;return{...a,children:(h,Z)=>{if(a===null||a===void 0?void 0:a.children)return a.children(l,{...Z,...c});return/*@__PURE__*/r1(l,{...Z,...c},Z.children)}}}var ak={active:!0,canRender:!0,ref:/*@__PURE__*/o5(),type:"idle"},Qe=(a,l)=>{let{open:c,size:h,position:Z}=TZ(a),{backdropMotion:o,modalType:v="modal",inertTrapFocus:r,onOpenChange:e,surfaceMotion:M,mountNode:t}=a,{dir:m,targetDocument:H}=C1(),{element:A}=Ia(t),V=Boolean(A&&(H===null||H===void 0?void 0:H.body)!==A),i=f.resolveShorthand(a.backdrop),u=v!=="non-modal"&&i!==null,L=f.always({...a,ref:l,backdrop:u?{...i}:null,backdropMotion:Ee(o,bL,{size:h})},{elementType:ql}),d=f.always({open:c,onOpenChange:e,inertTrapFocus:r,modalType:v,surfaceMotion:Ee(M,WL,{position:Z,size:h,dir:m}),children:null},{elementType:D5});return{components:{root:ql,dialog:D5},root:L,dialog:d,open:c,size:h,position:Z,hasMountNodeElement:V,mountNode:t,motion:ak}};var Ye=(a,l)=>{return G(a),/*@__PURE__*/D(S4,{value:l,children:/*@__PURE__*/D(a.dialog,{children:/*@__PURE__*/D(a.root,{})})})};C();var Xe={root:"fui-OverlayDrawer",backdrop:"fui-OverlayDrawer__backdrop"},lk=/*@__PURE__*/Y("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;}}"]}),ck=/*@__PURE__*/B({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;}"]}),ye=(a)=>{let l=BZ(a),c=lk(),h=ck(),Z=a.hasMountNodeElement&&h.absolute,o=a.root.backdrop;if(a.root.className=k(Xe.root,l,c,h[a.position],Z,a.root.className),o)o.className=k(Xe.backdrop,Z,o.className);return a};var Gl=/*@__PURE__*/U((a,l)=>{let c=Qe(a,l),h=B4();return ye(c),z("useDrawerOverlayStyles_unstable")(c),z("useOverlayDrawerStyles_unstable")(c),Ye(c,h)});Gl.displayName="OverlayDrawer";C();C();var hk={active:!0,canRender:!0,ref:o5(),type:"idle"},je=(a,l)=>{let{size:c,position:h,open:Z}=TZ(a),{separator:o=!1,surfaceMotion:v}=a,{dir:r}=C1();return{components:{root:"div",surfaceMotion:$e},root:f.always(_("div",{...a,ref:l}),{elementType:"div"}),open:Z,position:h,size:c,separator:o,surfaceMotion:o4(v,{elementType:$e,defaultProps:{position:h,size:c,dir:r,visible:Z,unmountOnExit:!0}}),motion:hk}};var Ne=(a,l)=>{return G(a),/*@__PURE__*/D(S4,{value:l,children:/*@__PURE__*/D(a.surfaceMotion,{children:/*@__PURE__*/D(a.root,{})})})};var UL={root:"fui-InlineDrawer"},Zk=/*@__PURE__*/Y("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;}"]),Pr1=`1px solid ${Q1.colorNeutralBackground3}`,ok=/*@__PURE__*/B({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"}},{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);}"]});function vk(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}}var _e=(a)=>{let l=Zk(),c=BZ(a),h=ok();return a.root.className=k(UL.root,l,c,vk(a,h),h[a.position],a.root.className),a};var zl=/*@__PURE__*/U((a,l)=>{let c=je(a,l),h=B4();return _e(c),z("useDrawerInlineStyles_unstable")(c),z("useInlineDrawerStyles_unstable")(c),Ne(c,h)});zl.displayName="InlineDrawer";var Kl=(a,l)=>{let c=a.type==="inline"?zl:Gl,h=f.always({ref:l,...a},{elementType:c});return{components:{root:c},root:h}};var Jl=(a,l)=>{return G(a),/*@__PURE__*/D(S4,{value:l,children:/*@__PURE__*/D(a.root,{})})};var PL={root:"fui-Drawer"},$l=(a)=>{return a.root.className=k(PL.root,a.root.className),a};var f2=/*@__PURE__*/U((a,l)=>{let c=Kl(a,l),h=B4();return $l(c),z("useDrawerStyles_unstable")(c),Jl(c,h)});f2.displayName="Drawer";C();C();var rk=({scrollTop:a,scrollHeight:l,clientHeight:c})=>{if(l<=c)return"none";if(a===0)return"top";if(a+c===l)return"bottom";return"middle"},El=(a,l)=>{let{setScrollState:c}=f4(),h=q(null),[Z,o]=dh(),v=j(()=>{if(!h.current)return;c(rk(h.current))},[c]),r=j(()=>{o(),Z(()=>v())},[o,Z,v]);return $1(()=>{return o(),Z(()=>v()),()=>o()},[a.children,o,v,Z]),$1(()=>{return o(),Z(()=>v()),()=>o()},[o,v,Z]),{components:{root:"div"},root:f.always(_("div",{ref:E1(l,h),...a,onScroll:j5(a.onScroll,r)}),{elementType:"div"})}};var Ql=(a)=>{return G(a),/*@__PURE__*/D(a.root,{})};var WZ={root:"fui-DrawerBody"},ek=/*@__PURE__*/Y("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);}"]),Yl=(a)=>{let l=ek();return a.root.className=k(WZ.root,l,a.root.className),a};var B2=/*@__PURE__*/U((a,l)=>{let c=El(a,l);return Yl(c),z("useDrawerBodyStyles_unstable")(c),Ql(c)});B2.displayName="DrawerBody";C();C();var Xl=(a,l)=>{let{scrollState:c}=f4();return{components:{root:"header"},root:f.always(_("header",{ref:l,role:"none",...a}),{elementType:"header"}),scrollState:c}};var yl=(a)=>{return G(a),/*@__PURE__*/D(a.root,{})};var bZ={root:"fui-DrawerHeader"},Mk=/*@__PURE__*/Y("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;}"]),mk=/*@__PURE__*/B({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;}"]}),jl=(a)=>{let l=Mk(),c=mk();return a.root.className=k(bZ.root,l,a.scrollState!=="none"&&c.separator,["middle","bottom"].includes(a.scrollState)&&c.separatorVisible,a.root.className),a};var T2=/*@__PURE__*/U((a,l)=>{let c=Xl(a,l);return jl(c),z("useDrawerHeaderStyles_unstable")(c),yl(c)});T2.displayName="DrawerHeader";C();C();var Nl=(a,l)=>{let{children:c,heading:h}=a,Z=I0((o)=>o.dialogTitleId);return{components:{root:"div",heading:"h2",action:"div"},root:f.always(_("div",{ref:l,...a}),{elementType:"div"}),heading:f.optional(h,{defaultProps:{id:Z,children:c},renderByDefault:!0,elementType:"h2"}),action:f.optional(a.action,{elementType:"div"})}};var _l=(a)=>{return G(a),/*@__PURE__*/x1(a.root,{children:[a.heading&&/*@__PURE__*/D(a.heading,{}),a.action&&/*@__PURE__*/D(a.action,{})]})};var E6={root:"fui-DrawerHeaderTitle",heading:"fui-DrawerHeaderTitle__heading",action:"fui-DrawerHeaderTitle__action"},tk=/*@__PURE__*/B({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);}"]}),ac=(a)=>{let l=tk(),{heading:c={},action:h,components:Z}=a;if(L3({components:{root:Z.heading,action:Z.action},root:c,action:h}),a.root.className=k(E6.root,l.root,a.root.className),a.heading)a.heading.className=k(E6.heading,a.heading.className);if(a.action)a.action.className=k(E6.action,l.action,a.action.className);return a};var W2=/*@__PURE__*/U((a,l)=>{let c=Nl(a,l);return ac(c),z("useDrawerHeaderTitleStyles_unstable")(c),_l(c)});W2.displayName="DrawerHeaderTitle";C();C();var lc=(a,l)=>{let{scrollState:c}=f4();return{components:{root:"footer"},root:f.always(_("footer",{ref:l,role:"none",...a}),{elementType:"footer"}),scrollState:c}};var cc=(a)=>{return G(a),/*@__PURE__*/D(a.root,{})};var OZ={root:"fui-DrawerFooter"},Hk=/*@__PURE__*/Y("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;}"]),Ak=/*@__PURE__*/B({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;}"]}),hc=(a)=>{let l=Hk(),c=Ak();return a.root.className=k(OZ.root,l,a.scrollState!=="none"&&c.separator,["middle","top"].includes(a.scrollState)&&c.separatorVisible,a.root.className),a};var K7=/*@__PURE__*/U((a,l)=>{let c=lc(a,l);return hc(c),z("useDrawerFooterStyles_unstable")(c),cc(c)});K7.displayName="DrawerFooter";function f0(a,l){if(Vk(a))a="100%";var c=ik(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 Zc(a){return Math.min(1,Math.max(0,a))}function Vk(a){return typeof a==="string"&&a.indexOf(".")!==-1&&parseFloat(a)===1}function ik(a){return typeof a==="string"&&a.indexOf("%")!==-1}function UZ(a){if(a=parseFloat(a),isNaN(a)||a<0||a>1)a=1;return a}function oc(a){if(a<=1)return"".concat(Number(a)*100,"%");return a}function x3(a){return a.length===1?"0"+a:String(a)}function IL(a,l,c){return{r:f0(a,255)*255,g:f0(l,255)*255,b:f0(c,255)*255}}function lM(a,l,c){a=f0(a,255),l=f0(l,255),c=f0(c,255);var h=Math.max(a,l,c),Z=Math.min(a,l,c),o=0,v=0,r=(h+Z)/2;if(h===Z)v=0,o=0;else{var e=h-Z;switch(v=r>0.5?e/(2-h-Z):e/(h+Z),h){case a:o=(l-c)/e+(l<c?6:0);break;case l:o=(c-a)/e+2;break;case c:o=(a-l)/e+4;break;default:break}o/=6}return{h:o,s:v,l:r}}function aM(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 qL(a,l,c){var h,Z,o;if(a=f0(a,360),l=f0(l,100),c=f0(c,100),l===0)Z=c,o=c,h=c;else{var v=c<0.5?c*(1+l):c+l-c*l,r=2*c-v;h=aM(r,v,a+0.3333333333333333),Z=aM(r,v,a),o=aM(r,v,a-0.3333333333333333)}return{r:h*255,g:Z*255,b:o*255}}function cM(a,l,c){a=f0(a,255),l=f0(l,255),c=f0(c,255);var h=Math.max(a,l,c),Z=Math.min(a,l,c),o=0,v=h,r=h-Z,e=h===0?0:r/h;if(h===Z)o=0;else{switch(h){case a:o=(l-c)/r+(l<c?6:0);break;case l:o=(c-a)/r+2;break;case c:o=(a-l)/r+4;break;default:break}o/=6}return{h:o,s:e,v}}function GL(a,l,c){a=f0(a,360)*6,l=f0(l,100),c=f0(c,100);var h=Math.floor(a),Z=a-h,o=c*(1-l),v=c*(1-Z*l),r=c*(1-(1-Z)*l),e=h%6,M=[c,v,o,o,r,c][e],t=[r,c,c,v,o,o][e],m=[o,o,r,c,c,v][e];return{r:M*255,g:t*255,b:m*255}}function hM(a,l,c,h){var Z=[x3(Math.round(a).toString(16)),x3(Math.round(l).toString(16)),x3(Math.round(c).toString(16))];if(h&&Z[0].startsWith(Z[0].charAt(1))&&Z[1].startsWith(Z[1].charAt(1))&&Z[2].startsWith(Z[2].charAt(1)))return Z[0].charAt(0)+Z[1].charAt(0)+Z[2].charAt(0);return Z.join("")}function zL(a,l,c,h,Z){var o=[x3(Math.round(a).toString(16)),x3(Math.round(l).toString(16)),x3(Math.round(c).toString(16)),x3(nk(h))];if(Z&&o[0].startsWith(o[0].charAt(1))&&o[1].startsWith(o[1].charAt(1))&&o[2].startsWith(o[2].charAt(1))&&o[3].startsWith(o[3].charAt(1)))return o[0].charAt(0)+o[1].charAt(0)+o[2].charAt(0)+o[3].charAt(0);return o.join("")}function nk(a){return Math.round(parseFloat(a)*255).toString(16)}function ZM(a){return s5(a)/255}function s5(a){return parseInt(a,16)}function KL(a){return{r:a>>16,g:(a&65280)>>8,b:a&255}}var vc={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 JL(a){var l={r:0,g:0,b:0},c=1,h=null,Z=null,o=null,v=!1,r=!1;if(typeof a==="string")a=dk(a);if(typeof a==="object"){if(J7(a.r)&&J7(a.g)&&J7(a.b))l=IL(a.r,a.g,a.b),v=!0,r=String(a.r).substr(-1)==="%"?"prgb":"rgb";else if(J7(a.h)&&J7(a.s)&&J7(a.v))h=oc(a.s),Z=oc(a.v),l=GL(a.h,h,Z),v=!0,r="hsv";else if(J7(a.h)&&J7(a.s)&&J7(a.l))h=oc(a.s),o=oc(a.l),l=qL(a.h,h,o),v=!0,r="hsl";if(Object.prototype.hasOwnProperty.call(a,"a"))c=a.a}return c=UZ(c),{ok:v,format:a.format||r,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 uk="[-\\+]?\\d+%?",Lk="[-\\+]?\\d*\\.\\d+%?",p3="(?:".concat(Lk,")|(?:").concat(uk,")"),oM="[\\s|\\(]+(".concat(p3,")[,|\\s]+(").concat(p3,")[,|\\s]+(").concat(p3,")\\s*\\)?"),vM="[\\s|\\(]+(".concat(p3,")[,|\\s]+(").concat(p3,")[,|\\s]+(").concat(p3,")[,|\\s]+(").concat(p3,")\\s*\\)?"),b2={CSS_UNIT:new RegExp(p3),rgb:new RegExp("rgb"+oM),rgba:new RegExp("rgba"+vM),hsl:new RegExp("hsl"+oM),hsla:new RegExp("hsla"+vM),hsv:new RegExp("hsv"+oM),hsva:new RegExp("hsva"+vM),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 dk(a){if(a=a.trim().toLowerCase(),a.length===0)return!1;var l=!1;if(vc[a])a=vc[a],l=!0;else if(a==="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var c=b2.rgb.exec(a);if(c)return{r:c[1],g:c[2],b:c[3]};if(c=b2.rgba.exec(a),c)return{r:c[1],g:c[2],b:c[3],a:c[4]};if(c=b2.hsl.exec(a),c)return{h:c[1],s:c[2],l:c[3]};if(c=b2.hsla.exec(a),c)return{h:c[1],s:c[2],l:c[3],a:c[4]};if(c=b2.hsv.exec(a),c)return{h:c[1],s:c[2],v:c[3]};if(c=b2.hsva.exec(a),c)return{h:c[1],s:c[2],v:c[3],a:c[4]};if(c=b2.hex8.exec(a),c)return{r:s5(c[1]),g:s5(c[2]),b:s5(c[3]),a:ZM(c[4]),format:l?"name":"hex8"};if(c=b2.hex6.exec(a),c)return{r:s5(c[1]),g:s5(c[2]),b:s5(c[3]),format:l?"name":"hex"};if(c=b2.hex4.exec(a),c)return{r:s5(c[1]+c[1]),g:s5(c[2]+c[2]),b:s5(c[3]+c[3]),a:ZM(c[4]+c[4]),format:l?"name":"hex8"};if(c=b2.hex3.exec(a),c)return{r:s5(c[1]+c[1]),g:s5(c[2]+c[2]),b:s5(c[3]+c[3]),format:l?"name":"hex"};return!1}function J7(a){return Boolean(b2.CSS_UNIT.exec(String(a)))}var rM=function(){function a(l,c){if(l===void 0)l="";if(c===void 0)c={};var h;if(l instanceof a)return l;if(typeof l==="number")l=KL(l);this.originalInput=l;var Z=JL(l);if(this.originalInput=l,this.r=Z.r,this.g=Z.g,this.b=Z.b,this.a=Z.a,this.roundA=Math.round(100*this.a)/100,this.format=(h=c.format)!==null&&h!==void 0?h:Z.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=Z.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,h,Z,o=l.r/255,v=l.g/255,r=l.b/255;if(o<=0.03928)c=o/12.92;else c=Math.pow((o+0.055)/1.055,2.4);if(v<=0.03928)h=v/12.92;else h=Math.pow((v+0.055)/1.055,2.4);if(r<=0.03928)Z=r/12.92;else Z=Math.pow((r+0.055)/1.055,2.4);return 0.2126*c+0.7152*h+0.0722*Z},a.prototype.getAlpha=function(){return this.a},a.prototype.setAlpha=function(l){return this.a=UZ(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=cM(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=cM(this.r,this.g,this.b),c=Math.round(l.h*360),h=Math.round(l.s*100),Z=Math.round(l.v*100);return this.a===1?"hsv(".concat(c,", ").concat(h,"%, ").concat(Z,"%)"):"hsva(".concat(c,", ").concat(h,"%, ").concat(Z,"%, ").concat(this.roundA,")")},a.prototype.toHsl=function(){var l=lM(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=lM(this.r,this.g,this.b),c=Math.round(l.h*360),h=Math.round(l.s*100),Z=Math.round(l.l*100);return this.a===1?"hsl(".concat(c,", ").concat(h,"%, ").concat(Z,"%)"):"hsla(".concat(c,", ").concat(h,"%, ").concat(Z,"%, ").concat(this.roundA,")")},a.prototype.toHex=function(l){if(l===void 0)l=!1;return hM(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 zL(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),h=Math.round(this.b);return this.a===1?"rgb(".concat(l,", ").concat(c,", ").concat(h,")"):"rgba(".concat(l,", ").concat(c,", ").concat(h,", ").concat(this.roundA,")")},a.prototype.toPercentageRgb=function(){var l=function(c){return"".concat(Math.round(f0(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(f0(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="#"+hM(this.r,this.g,this.b,!1);for(var c=0,h=Object.entries(vc);c<h.length;c++){var Z=h[c],o=Z[0],v=Z[1];if(l===v)return o}return!1},a.prototype.toString=function(l){var c=Boolean(l);l=l!==null&&l!==void 0?l:this.format;var h=!1,Z=this.a<1&&this.a>=0,o=!c&&Z&&(l.startsWith("hex")||l==="name");if(o){if(l==="name"&&this.a===0)return this.toName();return this.toRgbString()}if(l==="rgb")h=this.toRgbString();if(l==="prgb")h=this.toPercentageRgbString();if(l==="hex"||l==="hex6")h=this.toHexString();if(l==="hex3")h=this.toHexString(!0);if(l==="hex4")h=this.toHex8String(!0);if(l==="hex8")h=this.toHex8String();if(l==="name")h=this.toName();if(l==="hsl")h=this.toHslString();if(l==="hsv")h=this.toHsvString();return h||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=Zc(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=Zc(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=Zc(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=Zc(c.s),new a(c)},a.prototype.greyscale=function(){return this.desaturate(100)},a.prototype.spin=function(l){var c=this.toHsl(),h=(c.h+l)%360;return c.h=h<0?360+h:h,new a(c)},a.prototype.mix=function(l,c){if(c===void 0)c=50;var h=this.toRgb(),Z=new a(l).toRgb(),o=c/100,v={r:(Z.r-h.r)*o+h.r,g:(Z.g-h.g)*o+h.g,b:(Z.b-h.b)*o+h.b,a:(Z.a-h.a)*o+h.a};return new a(v)},a.prototype.analogous=function(l,c){if(l===void 0)l=6;if(c===void 0)c=30;var h=this.toHsl(),Z=360/c,o=[this];for(h.h=(h.h-(Z*l>>1)+720)%360;--l;)h.h=(h.h+Z)%360,o.push(new a(h));return o},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(),h=c.h,Z=c.s,o=c.v,v=[],r=1/l;while(l--)v.push(new a({h,s:Z,v:o})),o=(o+r)%1;return v},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(),h=new a(l).toRgb(),Z=c.a+h.a*(1-c.a);return new a({r:(c.r*c.a+h.r*h.a*(1-c.a))/Z,g:(c.g*c.a+h.g*h.a*(1-c.a))/Z,b:(c.b*c.a+h.b*h.a*(1-c.a))/Z,a:Z})},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(),h=c.h,Z=[this],o=360/l;for(var v=1;v<l;v++)Z.push(new a({h:(h+v*o)%360,s:c.s,l:c.l}));return Z},a.prototype.equals=function(l){return this.toRgbString()===new a(l).toRgbString()},a}();function w3(a,l,c,h){function Z(o){return o instanceof c?o:new c(function(v){v(o)})}return new(c||(c=Promise))(function(o,v){function r(t){try{M(h.next(t))}catch(m){v(m)}}function e(t){try{M(h.throw(t))}catch(m){v(m)}}function M(t){t.done?o(t.value):Z(t.value).then(r,e)}M((h=h.apply(a,l||[])).next())})}var F0=(a,l,c)=>{return new rM(a).mix(new rM(l),c).toHexString()},gk=(a)=>{return{10:a.themeDarker,20:F0(a.themeDarker,a.themeDark),30:a.themeDark,40:F0(a.themeDark,a.themeDarkAlt),50:a.themeDarkAlt,60:F0(a.themeDarkAlt,a.themePrimary),70:a.themePrimary,80:F0(a.themePrimary,a.themeSecondary),90:a.themeSecondary,100:F0(a.themeSecondary,a.themeTertiary),110:a.themeTertiary,120:F0(a.themeTertiary,a.themeLight),130:a.themeLight,140:F0(a.themeLight,a.themeLighter),150:a.themeLighter,160:F0(a.themeLighter,a.themeLighterAlt)}},Ck=(a)=>{return{10:a.themeDarker,20:F0(a.themeDarker,a.themePrimary,20),30:F0(a.themeDarker,a.themePrimary,30),40:F0(a.themeDarker,a.themePrimary,40),50:F0(a.themeDarker,a.themePrimary,50),60:F0(a.themeDarker,a.themePrimary,60),70:F0(a.themeDarker,a.themePrimary,70),80:a.themePrimary,90:F0(a.themePrimary,a.themeLighterAlt,10),100:F0(a.themePrimary,a.themeLighterAlt,20),110:F0(a.themePrimary,a.themeLighterAlt,30),120:F0(a.themePrimary,a.themeLighterAlt,40),130:F0(a.themePrimary,a.themeLighterAlt,50),140:F0(a.themePrimary,a.themeLighterAlt,60),150:F0(a.themePrimary,a.themeLighterAlt,70),160:a.themeLighterAlt}},PZ=(a,l="pairs")=>{switch(l){case"primaryAndEnds":return Ck(a);case"pairs":default:return gk(a)}};Y2();async function $L(){if(window.moduleLoaderPromise)return(await window.moduleLoaderPromise)?.context;console.error("Unable to retrieve Modern SP Context...")}async function EL(){if(window.moduleLoaderPromise){let a=await window.moduleLoaderPromise;if(a?.context?.pageContext)return{contextType:"SPOModernContext",context:a.context.pageContext};throw"It seems this is a modern page, however it was not possible to retrieve SP Context..."}if(window._spPageContextInfo)return{contextType:"ClassicContext",context:window._spPageContextInfo};throw"It was not possible to retrieve SP Context either through modern or through classic means..."}var eM="d6ca1fc2-0591-4c6d-8a25-cae3262c017b",QL="45e75137-13c5-4bb2-a2b3-8ab6382682ee",YL="SPFxExtensionsConfigurator",IZ="SitePages/SPFxExtensionsConfigurator.aspx",X0="manifest.txt",h2="collectionconfig.txt",mV1="Loading...",Q6="SPFxExtensionsConfiguration",Y6="SPFxExtensionsWhiteList",S1="SPFxExtensions",XL="/SPFxExtensions/",w0="SPFxExtensionsData",qZ="[SPFxExtensionCore]",rc={appDefinitionMap:[],appRelativeEntryPointUrls:[],isESM:!0},X6={enabledEverywhere:!1,excludedHubIds:[],excludedIds:[],includedHubIds:[],includedIds:[]},ec={enabledAppCollections:[],urlMap:[]},y0="00000000-0000-0000-0000-000000000000";function s1(a,l,c=a){return(h)=>{let Z=""+h,o=Z.indexOf(l,a.length);return~o?a+Fk(Z,l,c,o)+l:a+Z+l}}function Fk(a,l,c,h){let Z="",o=0;do Z+=a.substring(o,h)+c,o=h+l.length,h=a.indexOf(l,o);while(~h);return Z+a.substring(o)}var HV1=s1("\x1B[0m","\x1B[0m"),AV1=s1("\x1B[1m","\x1B[22m","\x1B[22m\x1B[1m"),VV1=s1("\x1B[2m","\x1B[22m","\x1B[22m\x1B[2m"),iV1=s1("\x1B[3m","\x1B[23m"),nV1=s1("\x1B[4m","\x1B[24m"),uV1=s1("\x1B[7m","\x1B[27m"),LV1=s1("\x1B[8m","\x1B[28m"),dV1=s1("\x1B[9m","\x1B[29m"),gV1=s1("\x1B[30m","\x1B[39m"),CV1=s1("\x1B[31m","\x1B[39m"),FV1=s1("\x1B[32m","\x1B[39m"),RV1=s1("\x1B[33m","\x1B[39m"),xV1=s1("\x1B[34m","\x1B[39m"),pV1=s1("\x1B[35m","\x1B[39m"),wV1=s1("\x1B[36m","\x1B[39m"),DV1=s1("\x1B[37m","\x1B[39m"),sV1=s1("\x1B[90m","\x1B[39m"),kV1=s1("\x1B[40m","\x1B[49m"),SV1=s1("\x1B[41m","\x1B[49m"),fV1=s1("\x1B[42m","\x1B[49m"),BV1=s1("\x1B[43m","\x1B[49m"),TV1=s1("\x1B[44m","\x1B[49m"),WV1=s1("\x1B[45m","\x1B[49m"),bV1=s1("\x1B[46m","\x1B[49m"),OV1=s1("\x1B[47m","\x1B[49m"),UV1=s1("\x1B[90m","\x1B[39m"),PV1=s1("\x1B[91m","\x1B[39m"),GZ=s1("\x1B[92m","\x1B[39m"),IV1=s1("\x1B[93m","\x1B[39m"),qV1=s1("\x1B[94m","\x1B[39m"),GV1=s1("\x1B[95m","\x1B[39m"),zV1=s1("\x1B[96m","\x1B[39m"),KV1=s1("\x1B[97m","\x1B[39m"),JV1=s1("\x1B[100m","\x1B[49m"),$V1=s1("\x1B[101m","\x1B[49m"),EV1=s1("\x1B[102m","\x1B[49m"),QV1=s1("\x1B[103m","\x1B[49m"),YV1=s1("\x1B[104m","\x1B[49m"),XV1=s1("\x1B[105m","\x1B[49m"),yV1=s1("\x1B[106m","\x1B[49m"),jV1=s1("\x1B[107m","\x1B[49m");function n1(...a){console.error(GZ(qZ),(/*@__PURE__*/new Date()).toISOString(),...a)}function O2(...a){console.warn(GZ(qZ),(/*@__PURE__*/new Date()).toISOString(),...a)}function j0(...a){console.info(GZ(qZ),(/*@__PURE__*/new Date()).toISOString(),...a)}function zZ(...a){}function li1(a,l,c){n1("Error while executing onInstanceRequested for app",a.id,"with name",a.name,c?`Additional Data: ${c}`:"",l)}function Zi1(){return O2("The app instance event was called before app instance was initialized."),()=>{}}var MM=window.crypto.randomUUID();function oi1(){return MM}function vi1(){return MM=window.crypto.randomUUID(),MM}function mM(a){return a.replace("{","").replace("}","")}function U1(a){return JSON.parse(JSON.stringify(a))}var G0=await EL();function ti1(){return G0.contextType==="SPOModernContext"?G0.context.web.id.toString():mM(G0.context.webId)}function T4(){return(G0.contextType==="SPOModernContext"?G0.context.web.absoluteUrl:G0.context.webAbsoluteUrl).replace(/\/$/,"")}function Hi1(){return G0.contextType==="SPOModernContext"?G0.context.site.id.toString():mM(G0.context.siteId)}function Ai1(){return G0.contextType==="SPOModernContext"?G0.context.site.absoluteUrl:G0.context.siteAbsoluteUrl}function Vi1(){return(G0.contextType==="SPOModernContext"?G0.context.legacyPageContext.hubSiteId?.toString():G0.context.hubSiteId)??y0}function ii1(){return G0.contextType==="SPOModernContext"?G0.context.legacyPageContext.isHubSite:G0.context.isHubSite}q3();Y2();var Rk=Symbol.for("preact-signals");function JZ(){if(!(D3>1)){var a,l=!1;while(Mc!==void 0){var c=Mc;Mc=void 0,tM++;while(c!==void 0){var h=c.o;if(c.o=void 0,c.f&=-3,!(8&c.f)&&jL(c))try{c.c()}catch(Z){if(!l)a=Z,l=!0}c=h}}if(tM=0,D3--,l)throw a}else D3--}function $Z(a){if(D3>0)return a();D3++;try{return a()}finally{JZ()}}var j1=void 0;var Mc=void 0,D3=0,tM=0,KZ=0;function yL(a){if(j1!==void 0){var l=a.n;if(l===void 0||l.t!==j1){if(l={i:0,S:a,p:j1.s,n:void 0,t:j1,e:void 0,x:void 0,r:l},j1.s!==void 0)j1.s.n=l;if(j1.s=l,a.n=l,32&j1.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=j1.s,l.n=void 0,j1.s.n=l,j1.s=l}return l}}}function B0(a){this.v=a,this.i=0,this.n=void 0,this.t=void 0}B0.prototype.brand=Rk;B0.prototype.h=function(){return!0};B0.prototype.S=function(a){if(this.t!==a&&a.e===void 0){if(a.x=this.t,this.t!==void 0)this.t.e=a;this.t=a}};B0.prototype.U=function(a){if(this.t!==void 0){var{e:l,x:c}=a;if(l!==void 0)l.x=c,a.e=void 0;if(c!==void 0)c.e=l,a.x=void 0;if(a===this.t)this.t=c}};B0.prototype.subscribe=function(a){var l=this;return t7(function(){var c=l.value,h=j1;j1=void 0;try{a(c)}finally{j1=h}})};B0.prototype.valueOf=function(){return this.value};B0.prototype.toString=function(){return this.value+""};B0.prototype.toJSON=function(){return this.value};B0.prototype.peek=function(){var a=j1;j1=void 0;try{return this.value}finally{j1=a}};Object.defineProperty(B0.prototype,"value",{get:function(){var a=yL(this);if(a!==void 0)a.i=this.i;return this.v},set:function(a){if(a!==this.v){if(tM>100)throw new Error("Cycle detected");this.v=a,this.i++,KZ++,D3++;try{for(var l=this.t;l!==void 0;l=l.x)l.t.N()}finally{JZ()}}}});function z0(a){return new B0(a)}function jL(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 NL(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 _L(a){var l=a.s,c=void 0;while(l!==void 0){var h=l.p;if(l.i===-1){if(l.S.U(l),h!==void 0)h.n=l.n;if(l.n!==void 0)l.n.p=h}else c=l;if(l.S.n=l.r,l.r!==void 0)l.r=void 0;l=h}a.s=c}function y6(a){B0.call(this,void 0),this.x=a,this.s=void 0,this.g=KZ-1,this.f=4}(y6.prototype=new B0).h=function(){if(this.f&=-3,1&this.f)return!1;if((36&this.f)==32)return!0;if(this.f&=-5,this.g===KZ)return!0;if(this.g=KZ,this.f|=1,this.i>0&&!jL(this))return this.f&=-2,!0;var a=j1;try{NL(this),j1=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 j1=a,_L(this),this.f&=-2,!0};y6.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)}B0.prototype.S.call(this,a)};y6.prototype.U=function(a){if(this.t!==void 0){if(B0.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)}}};y6.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(y6.prototype,"value",{get:function(){if(1&this.f)throw new Error("Cycle detected");var a=yL(this);if(this.h(),a!==void 0)a.i=this.i;if(16&this.f)throw this.v;return this.v}});function EZ(a){return new y6(a)}function ad(a){var l=a.u;if(a.u=void 0,typeof l=="function"){D3++;var c=j1;j1=void 0;try{l()}catch(h){throw a.f&=-2,a.f|=8,HM(a),h}finally{j1=c,JZ()}}}function HM(a){for(var l=a.s;l!==void 0;l=l.n)l.S.U(l);a.x=void 0,a.s=void 0,ad(a)}function xk(a){if(j1!==this)throw new Error("Out-of-order effect");if(_L(this),j1=a,this.f&=-2,8&this.f)HM(this);JZ()}function mc(a){this.x=a,this.u=void 0,this.s=void 0,this.o=void 0,this.f=32}mc.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.u=l}finally{a()}};mc.prototype.S=function(){if(1&this.f)throw new Error("Cycle detected");this.f|=1,this.f&=-9,ad(this),NL(this),D3++;var a=j1;return j1=this,xk.bind(this,a)};mc.prototype.N=function(){if(!(2&this.f))this.f|=2,this.o=Mc,Mc=this};mc.prototype.d=function(){if(this.f|=8,!(1&this.f))HM(this)};function t7(a){var l=new mc(a);try{l.c()}catch(c){throw l.d(),c}return l.d.bind(l)}var VM,iM,AM,ld=[],cd=[];t7(function(){VM=this.N})();function j6(a,l){L1[a]=l.bind(null,L1[a]||function(){})}function QZ(a){if(AM)AM();AM=a&&a.S()}function hd(a){var l=this,c=a.data,h=$7(c);h.value=c;var Z=d1(function(){var r=l,e=l.__v;while(e=e.__)if(e.__c){e.__c.__$f|=4;break}var M=EZ(function(){var A=h.value.value;return A===0?0:A===!0?"":A||""}),t=EZ(function(){return!Array.isArray(M.value)&&!Yo(M.value)}),m=t7(function(){if(this.N=Zd,t.value){var A=M.value;if(r.__v&&r.__v.__e&&r.__v.__e.nodeType===3)r.__v.__e.data=A}}),H=l.__$u.d;return l.__$u.d=function(){m(),H.call(this)},[t,M]},[]),o=Z[0],v=Z[1];return o.value?v.peek():v.value}hd.displayName="_st";Object.defineProperties(B0.prototype,{constructor:{configurable:!0,value:void 0},type:{configurable:!0,value:hd},props:{configurable:!0,get:function(){return{data:this}}},__b:{configurable:!0,value:1}});j6("__b",function(a,l){if(typeof l.type=="string"){var c,h=l.props;for(var Z in h)if(Z!=="children"){var o=h[Z];if(o instanceof B0){if(!c)l.__np=c={};c[Z]=o,h[Z]=o.peek()}}}a(l)});j6("__r",function(a,l){QZ();var c,h=l.__c;if(h){if(h.__$f&=-2,(c=h.__$u)===void 0)h.__$u=c=function(Z){var o;return t7(function(){o=this}),o.c=function(){h.__$f|=1,h.setState({})},o}()}iM=h,QZ(c),a(l)});j6("__e",function(a,l,c,h){QZ(),iM=void 0,a(l,c,h)});j6("diffed",function(a,l){QZ(),iM=void 0;var c;if(typeof l.type=="string"&&(c=l.__e)){var{__np:h,props:Z}=l;if(h){var o=c.U;if(o)for(var v in o){var r=o[v];if(r!==void 0&&!(v in h))r.d(),o[v]=void 0}else o={},c.U=o;for(var e in h){var M=o[e],t=h[e];if(M===void 0)M=pk(c,e,t,Z),o[e]=M;else M.o(t,Z)}}}a(l)});function pk(a,l,c,h){var Z=l in a&&a.ownerSVGElement===void 0,o=z0(c);return{o:function(v,r){o.value=v,h=r},d:t7(function(){this.N=Zd;var v=o.value.value;if(h[l]!==v)if(h[l]=v,Z)a[l]=v;else if(v)a.setAttribute(l,v);else a.removeAttribute(l)})}}j6("unmount",function(a,l){if(typeof l.type=="string"){var c=l.__e;if(c){var h=c.U;if(h){c.U=void 0;for(var Z in h){var o=h[Z];if(o)o.d()}}}}else{var v=l.__c;if(v){var r=v.__$u;if(r)v.__$u=void 0,r.d()}}a(l)});j6("__h",function(a,l,c,h){if(h<3||h===9)l.__$f|=2;a(l,c,h)});Z5.prototype.shouldComponentUpdate=function(a,l){var c=this.__$u,h=c&&c.s!==void 0;for(var Z in l)return!0;if(this.__f||typeof this.u=="boolean"&&this.u===!0){var o=2&this.__$f;if(!(h||o||4&this.__$f))return!0;if(1&this.__$f)return!0}else{if(!(h||4&this.__$f))return!0;if(3&this.__$f)return!0}for(var v in a)if(v!=="__source"&&a[v]!==this.props[v])return!0;for(var r in this.props)if(!(r in a))return!0;return!1};function $7(a){return d1(function(){return z0(a)},[])}var wk=typeof requestAnimationFrame=="undefined"?setTimeout:function(a){var l=function(){clearTimeout(c),cancelAnimationFrame(h),a()},c=setTimeout(l,100),h=requestAnimationFrame(l)},Dk=function(a){queueMicrotask(function(){queueMicrotask(a)})};function sk(){$Z(function(){var a;while(a=ld.shift())VM.call(a)})}function kk(){if(ld.push(this)===1)(L1.requestAnimationFrame||wk)(sk)}function Sk(){$Z(function(){var a;while(a=cd.shift())VM.call(a)})}function Zd(){if(cd.push(this)===1)(L1.requestAnimationFrame||Dk)(Sk)}function G5(a){var l=q(a);l.current=a,M1(function(){return t7(function(){return this.N=kk,l.current()})},[])}var fk="This folder contains extensions that are loaded by the SPFxExtensions application.";function YZ(a){return a.web.lists.ensure(S1,fk,101,!1,{Hidden:!0})}async function od(a,l,c){let h=`${l}/${S1}/${c}`,Z=await a.web.lists.getByTitle(S1).items.filter(`startswith(FileDirRef,'${h}') and FSObjType eq 0`).select("Id")();if(Z.length>0){let[v,r]=a.web.batched();Z.forEach((e)=>{v.lists.getByTitle(S1).items.getById(e.Id).delete()}),await r()}let o=a.web.lists.getByTitle(S1).rootFolder.folders.getByUrl(c);await vd(o)}async function vd(a){let l=await a.folders();for(let c of l)await vd(a.folders.getByUrl(c.Name));await a.delete()}function s3(a,l,c){let h=new Date(a.toString());switch(l.toLowerCase()){case"year":h.setFullYear(h.getFullYear()+c);break;case"quarter":h.setMonth(h.getMonth()+3*c);break;case"month":h.setMonth(h.getMonth()+c);break;case"week":h.setDate(h.getDate()+7*c);break;case"day":h.setDate(h.getDate()+c);break;case"hour":h.setTime(h.getTime()+c*3600000);break;case"minute":h.setTime(h.getTime()+c*60000);break;case"second":h.setTime(h.getTime()+c*1000);break;default:h=void 0;break}return h}function P1(...a){return a.filter((l)=>!S5(l)).map((l)=>l.replace(/^[\\|/]/,"").replace(/[\\|/]$/,"")).join("/").replace(/\\/g,"/")}function E7(){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 k5(a){return typeof a==="function"}function K0(a){return Array.isArray(a)}function T0(a){return/^https?:\/\/|^\/\//i.test(a)}function S5(a){return typeof a==="undefined"||a===null||a.length<1}function D0(a){return typeof a!=="undefined"&&a!==null}function XZ(a){return JSON.stringify(a)}function Y1(a,l){return Object.hasOwnProperty.call(a,l)}function rd(a){let l=0;if(a.length===0)return l;for(let c=0;c<a.length;c++){let h=a.charCodeAt(c);l=(l<<5)-l+h,l|=0}return l}function ed(a){return new Promise((l)=>{setTimeout(l,a)})}var nM;function Md(){if(typeof nM==="undefined")nM=new md;return nM}class uM{constructor(a){this.store=a,this.enabled=this.test()}get(a){if(!this.enabled)return null;let l=this.store.getItem(a);if(!D0(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 h=this.get(a);if(h===null)h=await l(),this.put(a,h,c);return h}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=s3(/*@__PURE__*/new Date,"minute",5);return XZ({pnp:1,expiration:l,value:a})}}class md{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 LM{constructor(a=null,l=null){this._local=a,this._session=l}get local(){if(this._local===null)this._local=new uM(typeof localStorage==="undefined"?Md():localStorage);return this._local}get session(){if(this._session===null)this._session=new uM(typeof sessionStorage==="undefined"?Md():sessionStorage);return this._session}}function yZ(){return function(a,...l){let c=[...a];for(let h=0;h<c.length;h++)Reflect.apply(c[h],this,l)}}function td(){return function(a,...l){return[...a].reduce((h,Z)=>Reflect.apply(Z,this,h),l)}}function tc(){return async function(a,...l){return[...a].reduce((h,Z)=>h.then((o)=>Reflect.apply(Z,this,o)),Promise.resolve(l))}}function Hd(){return async function(a,...l){if(!K0(a)||a.length<1)return;let c=a[0];return Reflect.apply(c,this,l)}}function jZ(){return function(a,...l){let c=[...a];for(let h=0;h<c.length;h++)Reflect.apply(c[h],this,l);return this}}var gM=Symbol.for("ObserverLifecycleFlags"),Ad=(a)=>(l)=>!((l[gM]||0)&a),Vd=(a)=>(l)=>{return l[gM]=(l[gM]||0)|a,l},W4=Vd(1),Ti1=Vd(2);class CM{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(),dM(a.observers,l,c,1),a},{toArray:()=>{return Reflect.has(a.observers,l)?[...Reflect.get(a.observers,l)]:[]},replace:(c)=>{return a.cloneObserversOnChange(),dM(a.observers,l,c,3),a},prepend:(c)=>{return a.cloneObserversOnChange(),dM(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(D0(a))this.emit.error(a)}get emit(){if(this._emitProxy===null)this._emitProxy=new Proxy(this,{get:(a,l)=>(...c)=>{let h=Reflect.has(a.observers,l)?Reflect.get(a.observers,l):[];if((!K0(h)||h.length<1)&&l==="error")throw Error(`Unhandled Exception: ${c[0]}`);try{let Z=Reflect.has(a.moments,l)?Reflect.get(a.moments,l):l==="init"||l==="dispose"?jZ():yZ();return Reflect.apply(Z,a,[h,...c])}catch(Z){if(l!=="error")this.error(Z);else throw Z}finally{if(h&&h.length>0)Reflect.set(a.observers,l,h.filter(Ad(2)))}}});return this._emitProxy}start(a){this.emit.init();let l=this.execute(a);return l.finally(()=>{try{this.emit.dispose()}catch(c){let h=Object.assign(Error("Error in dispose."),{innerException:c});this.error(h)}}).catch(()=>{return}),l}cloneObserversOnChange(){if(this._inheritingObservers)this._inheritingObservers=!1,this.observers=FM(this.observers)}}function dM(a,l,c,h){if(!k5(c))throw Error("Observers must be functions.");if(!Reflect.has(a,l))a[l]=[c];else switch(h){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 FM(a){return Reflect.ownKeys(a).reduce((l,c)=>{return l[c]=[...a[c].filter(Ad(1))],l},{})}function Hc(a,l="append",c){return(h)=>{return Reflect.apply(Bk,h,[a,l,c])}}function Bk(a,l,c){if(!D0(a)||!D0(a.observers))return this;if(!k5(c))c=()=>!0;let h=FM(a.observers),Z=Object.keys(h).filter(c);for(let o=0;o<Z.length;o++){let v=Z[o],r=this.on[v];if(l==="replace")r.clear();h[v].forEach((M)=>r(M))}return this}function id(a,l,c,h){var Z=arguments.length,o=Z<3?l:h===null?h=Object.getOwnPropertyDescriptor(l,c):h,v;if(typeof Reflect==="object"&&typeof Reflect.decorate==="function")o=Reflect.decorate(a,l,c,h);else for(var r=a.length-1;r>=0;r--)if(v=a[r])o=(Z<3?v(o):Z>3?v(l,c,o):v(l,c))||o;return Z>3&&o&&Object.defineProperty(l,c,o),o}var Tk={construct:jZ(),pre:tc(),auth:tc(),send:Hd(),parse:tc(),post:tc(),data:yZ()},Ac=class a extends CM{constructor(l,c){super(Tk);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]=td();let h;if(typeof l==="string")this._url=P1(l,c);else if(K0(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.");h=l[0],this._url=P1(l[1],c)}else h=l,this._url=P1(h._url,c);if(typeof h!=="undefined")this.observers=h.observers,this._inheritingObservers=!0}concat(l){return this._url+=l,this}toRequestUrl(){let l=this.toUrl(),c=this.query.toString();if(!S5(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=E7(),h,Z=(o,v)=>{this.log(`[${c}] ${o}`,v)};try{Z("Beginning request",0);let o={...l,headers:{...l.headers,"X-PnPjs-RequestId":c}},[v,r,e]=await this.emit.pre(this.toRequestUrl(),o,void 0);if(Z(`Url: ${v}`,1),typeof e!=="undefined"){Z("Result returned from pre, Emitting data"),this.emit.data(e),Z("Emitted data");return}Z("Emitting auth"),[h,r]=await this.emit.auth(new URL(v),r),Z("Emitted auth"),r={...r,...l,headers:{...r.headers,...l.headers}},Z("Emitting send");let M=await this.emit.send(h,r);Z("Emitted send"),Z("Emitting parse"),[h,M,e]=await this.emit.parse(h,M,e),Z("Emitted parse"),Z("Emitting post"),[h,e]=await this.emit.post(h,e),Z("Emitted post"),Z("Emitting data"),this.emit.data(e),Z("Emitted data")}catch(o){Z(`Emitting error: "${o.message||o}"`,3),this.error(o),Z("Emitted error",3)}finally{Z("Finished request",0)}},0),this.emit[this.InternalPromise](new Promise((c,h)=>{this.on[this.InternalResolve].replace(c),this.on[this.InternalReject].replace(h)}))[0]}};Ac=id([Wk()],Ac);function RM(a,l={headers:{}}){return{method:a,...l,headers:{...l.headers}}}function xM(a){return this.start(RM("GET",a))}function nd(a){return this.start(RM("POST",a))}function ud(a){return this.start(RM("PATCH",a))}function Vc(a,l,c){return Reflect.apply(l,a,[c])}function Ld(a){return(l,c)=>{let h=new a(l,c);return h.emit.construct(l,c),h}}function Wk(a){return(l)=>{return new Proxy(l,{construct(c,h,Z){let o=Object.assign(function(v){if(!k5(a))a=function(r){return Vc(this,xM,r)};return Reflect.apply(a,o,[v])},Reflect.construct(c,h,Z));return Reflect.setPrototypeOf(o,Z.prototype),o}})}}function pM(a,l=!1){return(c)=>{let h=async function(Z,o,v){return o.headers={...o.headers,...a},[Z,o,v]};if(l)c.on.pre.prepend(h);else c.on.pre(h);return c}}function NZ(){return Z2(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 wM(c)})}function N6(){return Z2((a)=>a.text())}function dd(){return Z2((a)=>a.blob())}function _Z(){return Z2((a)=>a.json())}function gd(){return Z2((a)=>k5(a.arrayBuffer)?a.arrayBuffer():a.buffer())}async function bk(a,l,c){if(!l.ok)throw await ic.init(l);return[a,l,c]}function wM(a){let l=a;if(Y1(a,"d"))if(Y1(a.d,"results"))l=a.d.results;else l=a.d;else if(Y1(a,"value"))l=a.value;return l}function Z2(a){return(l)=>{return l.on.parse.replace(bk),l.on.parse(async(c,h,Z)=>{if(h.ok&&typeof Z==="undefined")Z=await a(h);return[c,h,Z]}),l}}class ic extends Error{constructor(a,l,c=l.status,h=l.statusText){super(a);this.response=l,this.status=c,this.statusText=h,this.isHttpRequestError=!0}static async init(a){let l=await a.clone().text();return new ic(`Error making HttpClient request in queryable [${a.status}] ${a.statusText} ::> ${l}`,a)}}function ao(a){let{interval:l,replace:c,retries:h}={replace:!0,interval:200,retries:3,...a};return(Z)=>{if(c)Z.on.send.clear();return Z.on.send(function(o,v){let r,e=l,M=0,t,m=async()=>{if(M>=h)throw t||new ic(`Retry count exceeded (${h}) for this request. ${r.status}: ${r.statusText};`,r);if(M++,typeof r==="undefined"||(r===null||r===void 0?void 0:r.status)===429||(r===null||r===void 0?void 0:r.status)===503||(r===null||r===void 0?void 0:r.status)===504){if(typeof r!=="undefined"){if(r.headers.has("Retry-After"))e=parseInt(r.headers.get("Retry-After"),10)*1000;else e*=2;this.log(`Attempt #${M} to retry request which failed with ${r.status}: ${r.statusText}`,0),await ed(e)}try{let H=o.toString();return this.log(`Fetch: ${v.method} ${H}`,0),r=await fetch(H,v),r.ok?r:m()}catch(H){if(/AbortError/.test(H.name))throw H;return t=H,m()}}else return r};return m()}),Z}}function DM(){return(a)=>{return a.on.pre.prepend(async function(l,c,h){return c.headers={...c.headers,"X-PnP-CacheNever":"1"},[l,c,h]}),a}}function Fd(a){return(l)=>{return l.on.pre(async function(c,h,Z){let[o,v,r]=Rd(c,h,a);if(o){let e=v();if(e===null)this.on.post(W4(async function(M,t){return r(t),[M,t]}));else Z=e}return[c,h,Z]}),l}}var Cd=new LM;function Rd(a,l,c){var h,Z;let{store:o,keyFactory:v,expireFunc:r}={store:"local",keyFactory:(t)=>rd(t.toLowerCase()).toString(),expireFunc:()=>s3(/*@__PURE__*/new Date,"minute",5),...c},e=o==="session"?Cd.session:Cd.local,M=(l===null||l===void 0?void 0:l.headers["X-PnP-CacheKey"])?l.headers["X-PnP-CacheKey"]:v(a);return[(/get/i.test(l.method)||((h=l===null||l===void 0?void 0:l.headers["X-PnP-CacheAlways"])!==null&&h!==void 0?h:!1))&&!((Z=l===null||l===void 0?void 0:l.headers["X-PnP-CacheNever"])!==null&&Z!==void 0?Z:!1),()=>e.get(M),(t)=>e.put(M,t,r(a))]}var xd="__CancelMoment__",_6=Symbol.for("CancelScopeId"),nc=/*@__PURE__*/new Map;async function Ok(a){let l=nc.get(a);if(l.controller.abort(),K0(l===null||l===void 0?void 0:l.actions))l.actions.map((c)=>l.currentSelf.on[xd](c));try{await l.currentSelf.emit[xd]()}catch(c){l.currentSelf.log(`Error in cancel: ${c}`,3)}}function Uk(a){let l=E7();return a[_6]=l,nc.set(l,{cancel:Ok.bind({},l),actions:[],controller:null,currentSelf:a}),l}var Pk=(a)=>{return function(...l){if(!Reflect.has(this,_6))Uk(this);let c=a.apply(this,l).finally(()=>{nc.delete(this[_6]),delete this[_6]});return c.cancel=nc.get(this[_6]).cancel,c}};function H7(a,l,c){c.value=Pk(c.value)}function sM(a){return(l)=>{return l.on.pre(async function(...c){let h=nc.get(this[_6]);if(D0(h)){if(!K0(h.actions))h.actions=[];if(h.actions.indexOf(a)<0)h.actions.push(a)}return c}),l}}function pd(){return(a)=>{return a.on.data(function(l){this.emit[this.InternalResolve](l)}),a}}function wd(){return(a)=>{return a.on.error(function(l){this.emit[this.InternalReject](l)}),a}}function J0(a,l,c,h){Reflect.defineProperty(a.prototype,l,{configurable:!0,enumerable:!0,get:function(){return c(this,h||l)}})}function W1(a,l){return Object.assign({body:XZ(a)},l)}function a8(a,l){return Object.assign({},l,{headers:{...l===null||l===void 0?void 0:l.headers,...a}})}var N1=(a)=>{return Ld(a)};class k3 extends Ac{constructor(a,l){if(typeof a==="string"){let c="",h="";if(T0(a)||a.lastIndexOf("/")<0)h=a,c=P1(a,l);else if(a.lastIndexOf("/")>a.lastIndexOf("(")){let Z=a.lastIndexOf("/");h=a.slice(0,Z),l=P1(a.slice(Z),l),c=P1(h,l)}else{let Z=a.lastIndexOf("(");h=a.slice(0,Z),c=P1(a,l)}super(c);this.parentUrl=h}else{super(a,l);let c=K0(a)?a[0]:a;this.parentUrl=K0(a)?a[1]:c.toUrl()}}toRequestUrl(){let a=new URLSearchParams(this.query),l=this.toUrl().replace(/'!(@.+?)::((?:[^']|'')+)'/ig,(h,Z,o)=>{return this.log(`Rewriting aliased parameter from match ${h} to label: ${Z} value: ${o}`,0),a.set(Z,`'${o}'`),Z}),c=a.toString();if(!S5(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 b0=N1(k3);class A5 extends k3{filter(a){if(typeof a==="object")return this.query.set("$filter",a.toString()),this;if(typeof a==="function")return this.query.set("$filter",a(lo.Where()).toString()),this;return this.query.set("$filter",a.toString()),this}orderBy(a,l=!0){let h=this.query.has("$orderby")?this.query.get("$orderby").split(","):[];return h.push(`${a} ${l?"asc":"desc"}`),this.query.set("$orderby",h.join(",")),this}skip(a){return this.query.set("$skip",a.toString()),this}top(a){return this.query.set("$top",a.toString()),this}}var z5=N1(A5);class N0 extends k3{}var o2=N1(N0);function ho(){return function(){return sd(this)}}function Q7(){return function(a="*"){return Ik(this,{},a)}}var Dd=(a,l)=>{return Vc(a,xM,l)},$=(a,l)=>Vc(a,nd,l),c8=(a,l)=>{return l=l||{},l.headers={...l.headers,"X-HTTP-Method":"MERGE"},$(a,l)},sd=(a,l)=>{return l=l||{},l.headers={...l.headers||{},"X-HTTP-Method":"DELETE"},$(a,l)},Ik=(a,l,c="*")=>{return l=l||{},l.headers={...l.headers||{},"IF-Match":c},sd(a,l)};var kd=(a,l)=>Vc(a,ud,l),W0;(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"})(W0||(W0={}));var H5;(function(a){a.And="and",a.AndWithSpace=" and ",a.Or="or",a.OrWithSpace=" or "})(H5||(H5={}));class lo{static Where(){return new Bd([])}}class Lc{constructor(a){this.query=[],this.query=a}}class l8 extends Lc{constructor(a){super(a)}text(a){return new uc([...this.query,a])}choice(a){return new uc([...this.query,a])}multiChoice(a){return new uc([...this.query,a])}number(a){return new co([...this.query,a])}date(a){return new bd([...this.query,a])}boolean(a){return new Wd([...this.query,a])}lookup(a){return new Td([...this.query],a)}lookupId(a){let l=a.endsWith("Id")?a:`${a}Id`;return new co([...this.query,l])}}class Sd extends l8{or(...a){return new L0([...this.query,`(${a.map((l)=>l.toString()).join(H5.OrWithSpace)})`])}}class fd extends l8{and(...a){return new L0([...this.query,`(${a.map((l)=>l.toString()).join(H5.AndWithSpace)})`])}}class Bd extends l8{or(...a){if(a==null||a.length===0)return new l8([...this.query,H5.Or]);return new L0([...this.query,`(${a.map((l)=>l.toString()).join(H5.OrWithSpace)})`])}and(...a){if(a==null||a.length===0)return new l8([...this.query,H5.And]);return new L0([...this.query,`(${a.map((l)=>l.toString()).join(H5.AndWithSpace)})`])}}class Td extends Lc{constructor(a,l){super(a);this.LookupField=l}Id(a){return new L0([...this.query,`${this.LookupField}/Id`,W0.Equals,a.toString()])}text(a){return new uc([...this.query,`${this.LookupField}/${a}`])}number(a){return new co([...this.query,`${this.LookupField}/${a}`])}}class kM extends Lc{constructor(a){super(a);this.LastIndex=a.length-1,this.InternalName=a[this.LastIndex]}toODataValue(a){return`'${a}'`}isNull(){return new L0([...this.query,W0.Equals,"null"])}isNotNull(){return new L0([...this.query,W0.NotEquals,"null"])}}class SM extends kM{equals(a){return new L0([...this.query,W0.Equals,this.toODataValue(a)])}notEquals(a){return new L0([...this.query,W0.NotEquals,this.toODataValue(a)])}in(...a){return lo.Where().or(...a.map((l)=>this.equals(l)))}notIn(...a){return lo.Where().and(...a.map((l)=>this.notEquals(l)))}}class uc extends SM{startsWith(a){let l=`${W0.StartsWith}(${this.InternalName}, ${this.toODataValue(a)})`;return this.query[this.LastIndex]=l,new L0([...this.query])}contains(a){let l=`${W0.SubstringOf}(${this.toODataValue(a)}, ${this.InternalName})`;return this.query[this.LastIndex]=l,new L0([...this.query])}}class Wd extends kM{toODataValue(a){return`${a==null?"null":a?1:0}`}isTrue(){return new L0([...this.query,W0.Equals,this.toODataValue(!0)])}isFalse(){return new L0([...this.query,W0.Equals,this.toODataValue(!1)])}isFalseOrNull(){let a=`(${[this.InternalName,W0.Equals,this.toODataValue(null),H5.Or,this.InternalName,W0.Equals,this.toODataValue(!1)].join(" ")})`;return this.query[this.LastIndex]=a,new L0([...this.query])}}class fM extends SM{greaterThan(a){return new L0([...this.query,W0.GreaterThan,this.toODataValue(a)])}greaterThanOrEquals(a){return new L0([...this.query,W0.GreaterThanOrEqualTo,this.toODataValue(a)])}lessThan(a){return new L0([...this.query,W0.LessThan,this.toODataValue(a)])}lessThanOrEquals(a){return new L0([...this.query,W0.LessThanOrEqualTo,this.toODataValue(a)])}}class co extends fM{toODataValue(a){return`${a}`}}class bd extends fM{toODataValue(a){return`'${a.toISOString()}'`}isBetween(a,l){let c=`(${[this.InternalName,W0.GreaterThan,this.toODataValue(a),H5.And,this.InternalName,W0.LessThan,this.toODataValue(l)].join(" ")})`;return this.query[this.LastIndex]=c,new L0([...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 L0 extends Lc{and(...a){if(a==null||a.length===0)return new Sd([...this.query,H5.And]);return new L0([...this.query,H5.And,`(${a.map((l)=>l.toString()).join(H5.AndWithSpace)})`])}or(...a){if(a==null||a.length===0)return new fd([...this.query,H5.Or]);return new L0([...this.query,H5.Or,`(${a.map((l)=>l.toString()).join(H5.OrWithSpace)})`])}toString(){return this.query.join(" ")}}function _0(a){return function(l){return class extends l{constructor(...c){super(c[0],c.length>1&&c[1]!==void 0?c[1]:a)}}}}class U2{constructor(a=""){this._root=b0(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 U2(a)}var dc="00000000-0000-0000-0000-000000000000",Od;(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"})(Od||(Od={}));var Ud;(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"})(Ud||(Ud={}));var Pd;(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"})(Pd||(Pd={}));function m0(a){if(S5(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 P2(a){let l=[],c=["odata.type","odata.editLink","__metadata","odata.metadata","odata.id"];if(Y1(a,c[0])&&a[c[0]]==="SP.Web"){if(Y1(a,c[4]))l.push(a[c[4]]);else if(Y1(a,c[2]))l.push(a.__metadata.uri)}else if(Y1(a,c[3])&&Y1(a,c[1])){let h=T0(a[c[1]])?a[c[1]].split("_api")[1]:a[c[1]];l.push(m0(a[c[3]]),"_api",h)}else if(Y1(a,c[1]))l.push("_api",a[c[1]]);else if(Y1(a,c[2]))l.push(a.__metadata.uri);if(l.length<1)return"";return P1(...l)}function A7(a){return{DecodedUrl:a}}function z1(a){if(S5(a))return"";if(/!(@.*?)::(.*?)/ig.test(a))return a.replace(/!(@.*?)::(.*)$/ig,(l,c,h)=>{return`!${c}::${h.replace(/'/ig,"''")}`});else return encodeURIComponent(a.replace(/'/ig,"''"))}function Id(a){if(S5(a))return"";if(/!(@.*?)::(.*?)/ig.test(a))return a.replace(/!(@.*?)::(.*)$/ig,(l,c,h)=>{return`!${c}::${h.replace(/'/ig,"''")}`});else return a.replace(/'/ig,"''")}function qd(){return(a)=>{return a.on.pre(async function(l,c,h){let Z="PnPCoreJS:4.12.0:",{pathname:o}=new URL(l);if(Z=o.split("/").filter((v)=>!S5(v)&&["_api","v2.1","v2.0"].indexOf(v)<0).map((v,r,e)=>r===e.length-1?v.replace(/\(.*?$/i,"()"):v[0]).join("."),Z.length>32)Z=Z.substring(0,32);return this.log(`Request Tag: ${Z}`,0),c.headers={...c.headers,["X-ClientService-ClientTag"]:Z},[l,c,h]}),a}}function Zo(){return(a)=>{return a.on.pre(async(l,c,h)=>{return c.cache="no-cache",c.credentials="same-origin",[l,c,h]}),a.using(qd(),wd(),pd()),a}}function oo(){return(a)=>{return a.using(pM({Accept:"application/json","Content-Type":"application/json;charset=utf-8"})),a}}function c0(a,l,c,h){var Z=arguments.length,o=Z<3?l:h===null?h=Object.getOwnPropertyDescriptor(l,c):h,v;if(typeof Reflect==="object"&&typeof Reflect.decorate==="function")o=Reflect.decorate(a,l,c,h);else for(var r=a.length-1;r>=0;r--)if(v=a[r])o=(Z<3?v(o):Z>3?v(l,c,o):v(l,c))||o;return Z>3&&o&&Object.defineProperty(l,c,o),o}var TM=class a extends A5{async add(l,c,h="",Z="STS",o=1033,v=!0){let r=W1({parameters:{Description:h,Language:o,Title:l,Url:c,UseSamePermissionsAsParentSite:v,WebTemplate:Z}});return $(WM(this,"add"),r)}};TM=c0([_0("webs")],TM);var WM=N1(TM);function BM(a,l){let c="_api/web",h=/(_api[/|\\](site\/rootweb|site|web))/i.exec(a);if((h===null||h===void 0?void 0:h.length)>0)a=m0(a),c=h[1];if((l===null||l===void 0?void 0:l.indexOf("_api"))<0)a=P1(a,c);return a}var v0=class a extends N0{constructor(l,c){if(typeof l==="string")l=BM(l,c);else if(K0(l))l=[l[0],BM(l[1],c)];else l=[l,BM(l.toUrl(),c)];super(l,c);this.delete=ho()}get webs(){return WM(this)}get allProperties(){return o2(this,"allproperties")}get webinfos(){return z5(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 t0([this,P1(new URL(l).origin,c.ServerRelativeUrl)]);return null}async update(l){return c8(this,W1(l))}applyTheme(l,c,h,Z){let o=W1({backgroundImageUrl:h,colorPaletteUrl:l,fontSchemeUrl:c,shareGenerated:Z});return $(t0(this,"applytheme"),o)}applyWebTemplate(l){return $(t0(this,`applywebtemplate(webTemplate='${z1(l)}')`))}getChanges(l){return $(t0(this,"getchanges"),W1({query:l}))}mapToIcon(l,c=0,h=""){return t0(this,`maptoicon(filename='${z1(l)}',progid='${z1(h)}',size=${c})`)()}getStorageEntity(l){return t0(this,`getStorageEntity('${z1(l)}')`)()}setStorageEntity(l,c,h="",Z=""){return $(t0(this,"setStorageEntity"),W1({comments:Z,description:h,key:l,value:c}))}removeStorageEntity(l){return $(t0(this,`removeStorageEntity('${z1(l)}')`))}getSubwebsFilteredForCurrentUser(l=-1,c=-1){return z5(this,`getSubwebsFilteredForCurrentUser(nWebTemplateFilter=${l},nConfigurationFilter=${c})`)}availableWebTemplates(l=1033,c=!0){return z5(this,`getavailablewebtemplates(lcid=${l},doincludecrosslanguage=${c})`)}};v0=c0([_0("_api/web")],v0);var t0=N1(v0);U2.prototype.batched=function(a){let l=h8(this),[c,h]=Gd(l._root,a);return l.using(c),[l,h]};v0.prototype.batched=function(a){let l=t0(this),[c,h]=Gd(l,a);return l.using(c),[l,h]};var Z8=Symbol.for("batch_registration"),b4=Symbol.for("batch_request");function qk(){return Z2(async(a)=>{let l=await a.text();return Gk(l)})}class bM extends k3{constructor(a,l=a.toUrl().replace(/_api[\\|/].*$/i,"")){super(l,"_api/$batch");this.requestBaseUrl=l,this.using(Hc(a,"replace"),qk()),this.on.dispose(()=>{a.using(Hc(this,"replace",(c)=>/(auth|send|pre|init)/i.test(c)))})}}function Gd(a,l){let c=[],h=[],Z=[],o=new bM(a),v=E7(),r=new bM(a),{headersCopyPattern:e,maxRequests:M}={headersCopyPattern:/Accept|Content-Type|IF-Match/i,maxRequests:20,...l};return[(H)=>{return H.on.init(function(){if(k5(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((A)=>{this[Z8]=A})),this}),H.on.pre(async function(A,V,i){if(Y1(V.headers,"X-PnP-BatchNever")){if(typeof this[b4]==="function")this[b4](),delete this[b4];return this.using(Hc(r,"replace",(u)=>/(init|pre)/i.test(u))),[A,V,i]}return this.on.auth.clear(),this.on.send.replace(async function(u,L){let d=new Promise((g)=>{Z.push([this,u.toString(),L,g])});return this.log(`[batch:${v}] (${(/*@__PURE__*/new Date()).getTime()}) Adding request ${L.method} ${u.toString()} to batch.`,0),h.push(new Promise((g)=>{this[b4]=g})),this[Z8](),d}),this.on.dispose(function(){if(k5(this[Z8]))this[Z8](),delete this[Z8];if(k5(this[b4]))this[b4](),delete this[b4],this.using(Hc(r,"replace",(u)=>/(auth|pre|send|init|dispose)/i.test(u)))}),[A,V,i]}),H},async()=>{if(await Promise.all(c),Z.length<1)return Promise.all(h).then(()=>{return});let H=Z.slice();while(H.length>0){let A=H.splice(0,M),V=[],i="";for(let L=0;L<A.length;L++){let[,d,g]=A[L];if(g.method==="GET"){if(i.length>0)V.push(`--changeset_${i}--
|
|
146
|
+
|
|
147
|
+
`),i="";V.push(`--batch_${v}
|
|
148
|
+
`)}else{if(i.length<1)i=E7(),V.push(`--batch_${v}
|
|
149
|
+
`),V.push(`Content-Type: multipart/mixed; boundary="changeset_${i}"
|
|
150
|
+
|
|
151
|
+
`);V.push(`--changeset_${i}
|
|
152
|
+
`)}V.push(`Content-Type: application/http
|
|
153
|
+
`),V.push(`Content-Transfer-Encoding: binary
|
|
154
|
+
|
|
155
|
+
`);let R=new Headers(g.headers),x=T0(d)?d:P1(o.requestBaseUrl,d);if(g.method!=="GET"){let S=g.method;if(R.has("X-HTTP-Method"))S=R.get("X-HTTP-Method"),R.delete("X-HTTP-Method");V.push(`${S} ${x} HTTP/1.1
|
|
156
|
+
`)}else V.push(`${g.method} ${x} HTTP/1.1
|
|
157
|
+
`);if(!R.has("Accept"))R.append("Accept","application/json");if(!R.has("Content-Type"))R.append("Content-Type","application/json;charset=utf-8");if(R.forEach((S,p)=>{if(e.test(p))V.push(`${p}: ${S}
|
|
158
|
+
`)}),V.push(`
|
|
159
|
+
`),g.body)V.push(`${g.body}
|
|
160
|
+
|
|
161
|
+
`)}if(i.length>0)V.push(`--changeset_${i}--
|
|
162
|
+
|
|
163
|
+
`),i="";V.push(`--batch_${v}--
|
|
164
|
+
`);let u=await $(o,{body:V.join(""),headers:{"Content-Type":`multipart/mixed; boundary=batch_${v}`}});if(u.length!==A.length)throw Error("Could not properly parse responses to match requests in batch.");for(let L=0;L<u.length;L++)A[L][3](u[L])}await Promise.all(h).then(()=>{return})}]}function S3(){return(a)=>{return a.on.pre.prepend(async function(l,c,h){return c.headers={...c.headers,"X-PnP-BatchNever":"1"},[l,c,h]}),a}}function Gk(a){let l=[],c="--batchresponse_",h=new RegExp("^HTTP/[0-9.]+ +([0-9]+) +(.*)","i"),Z=a.split(`
|
|
165
|
+
`),o="batch",v,r,e={},M=[];for(let t=0;t<Z.length;++t){let m=Z[t];switch(o){case"batch":if(m.substring(0,16)==="--batchresponse_")o="batchHeaders";else if(m.trim()!=="")throw Error(`Invalid response, line ${t}`);break;case"batchHeaders":if(m.trim()==="")o="status";break;case"status":{let H=h.exec(m);if(H.length!==3)throw Error(`Invalid status, line ${t}`);v=parseInt(H[1],10),r=H[2],o="statusHeaders";break}case"statusHeaders":if(m.trim()==="")o="body";else{let H=m.split(":");if((H===null||H===void 0?void 0:H.length)===2)e[H[0].trim()]=H[1].trim()}break;case"body":M.length=0;while(m.substring(0,16)!=="--batchresponse_")M.push(m),m=Z[++t];t--,l.push(new Response(v===204?null:M.join(""),{status:v,statusText:r,headers:e})),o="batch",e={};break}}if(o!=="status")throw Error("Unexpected end of input");return l}function zd(a){let l=/*@__PURE__*/new Date;return!D0(a)||l>a.expiration?null:a}var Kd=/*@__PURE__*/new Map;function vo(a){return(l)=>{return l.on.pre(async function(c,h,Z){return this.on.auth(async(o,v)=>{if(/get/i.test(v.method)||v.headers&&(Y1(v.headers,"X-RequestDigest")||Y1(v.headers,"Authorization")||Y1(v.headers,"X-PnPjs-NoDigest")))return[o,v];let r=o.toString(),e=m0(r),M=zd(Kd.get(e));if(!D0(M)&&k5(a))M=zd(a(r,v));if(!D0(M))M=await $(b0([this,P1(e,"_api/contextinfo")]).using(_Z(),S3()),{headers:{Accept:"application/json","X-PnPjs-NoDigest":"1"}}).then((t)=>({expiration:s3(/*@__PURE__*/new Date,"second",t.FormDigestTimeoutSeconds),value:t.FormDigestValue}));if(D0(M))v.headers={"X-RequestDigest":M.value,...v.headers},Kd.set(e,M);return[o,v]}),[c,h,Z]}),l}}function ro(a){if((a===null||a===void 0?void 0:a.baseUrl)&&!T0(a.baseUrl))throw Error("SPBrowser props.baseUrl must be absolute when supplied.");return(l)=>{if(l.using(oo(),Zo(),ao(),NZ(),vo()),T0(a===null||a===void 0?void 0:a.baseUrl))l.on.pre.prepend(async(c,h,Z)=>{if(!T0(c))c=P1(a.baseUrl,c);return[c,h,Z]});return l}}class OM extends Error{constructor(a){super(`SPFx Context supplied to ${a} Behavior is null or undefined.`)}static check(a,l){if(typeof l==="undefined"||l===null)throw new OM(a)}}function Jd(a){return OM.check("SPFx",a),(l)=>{return l.using(oo(),Zo(),ao(),NZ(),vo((c)=>{var h,Z,o;if(new RegExp(`^${P1(a.pageContext.web.absoluteUrl,"/_api")}`,"i").test(c)&&((Z=(h=a===null||a===void 0?void 0:a.pageContext)===null||h===void 0?void 0:h.legacyPageContext)===null||Z===void 0?void 0:Z.formDigestValue)){let r=new Date(a.pageContext.legacyPageContext.formDigestValue.split(",")[1]);return{value:a.pageContext.legacyPageContext.formDigestValue,expiration:s3(r,"second",((o=a.pageContext.legacyPageContext)===null||o===void 0?void 0:o.formDigestTimeoutSeconds)-15||1585)}}})),l.on.pre.prepend(async(c,h,Z)=>{if(!T0(c))c=P1(a.pageContext.web.absoluteUrl,c);return[c,h,Z]}),l}}var UM=class a extends A5{getById(l){return R0(this).concat(`('${l}')`)}getByTitle(l){return R0(this,`getByTitle('${z1(l)}')`)}async add(l,c="",h=100,Z=!1,o={}){let v={AllowContentTypes:Z,BaseTemplate:h,ContentTypesEnabled:Z,Description:c,Title:l,...o};return $(this,W1(v))}async ensure(l,c="",h=100,Z=!1,o={}){let v={Title:l,Description:c,ContentTypesEnabled:Z,...o},r=this.getByTitle(v.Title);try{return await r.select("Title")(),{created:!1,data:await r.update(v),list:this.getByTitle(v.Title)}}catch(e){return{created:!0,data:await this.add(l,c,h,Z,v),list:this.getByTitle(v.Title)}}}async ensureSiteAssetsLibrary(){let l=await $(gc(this,"ensuresiteassetslibrary"));return R0([this,P2(l)])}async ensureSitePagesLibrary(){let l=await $(gc(this,"ensuresitepageslibrary"));return R0([this,P2(l)])}};UM=c0([_0("lists")],UM);var gc=N1(UM);class o8 extends N0{constructor(){super(...arguments);this.delete=Q7()}get effectiveBasePermissions(){return b0(this,"EffectiveBasePermissions")}get eventReceivers(){return z5(this,"EventReceivers")}get relatedFields(){return b0(this,"getRelatedFields")}get informationRightsManagementSettings(){return b0(this,"InformationRightsManagementSettings")}async update(a,l="*"){return await c8(this,W1(a,a8({"IF-Match":l})))}getChanges(a){return $(R0(this,"getchanges"),W1({query:a}))}getItemsByCAMLQuery(a,...l){return $(R0(this,"getitems").expand(...l),W1({query:a}))}getListItemChangesSinceToken(a){return $(R0(this,"getlistitemchangessincetoken").using(N6()),W1({query:a}))}async recycle(){return $(R0(this,"recycle"))}async renderListData(a){let l=R0(this,"renderlistdata(@viewXml)");l.query.set("@viewXml",`'${a}'`);let c=await $(l);return JSON.parse(c)}renderListDataAsStream(a,l=null,c=/*@__PURE__*/new Map){if(Y1(a,"RenderOptions")&&K0(a.RenderOptions))a.RenderOptions=a.RenderOptions.reduce((o,v)=>o+v);let h=R0(this,"RenderListDataAsStream");if(c&&c.size>0)c.forEach((o,v)=>h.query.set(v,o));let Z=D0(l)?{parameters:a,overrideParameters:l}:{parameters:a};return $(h,W1(Z))}async renderListFormData(a,l,c){let h=await $(R0(this,`renderlistformdata(itemid=${a}, formid='${l}', mode='${c}')`));return JSON.parse(h)}async reserveListItemId(){return $(R0(this,"reservelistitemid"))}async addValidateUpdateItemUsingPath(a,l,c=!1,h,Z){let o={FolderPath:A7(l)};if(D0(Z)){if(Z.leafName)o.LeafName=A7(Z.leafName);if(Z.objectType)o.UnderlyingObjectType=Z.objectType}return $(R0(this,"AddValidateUpdateItemUsingPath()"),W1({bNewDocumentUpdate:c,checkInComment:h,formValues:a,listItemCreateInfo:o}))}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 R0=N1(o8),PM;(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"})(PM||(PM={}));var IM;(function(a){a[a.Display=1]="Display",a[a.Edit=2]="Edit",a[a.New=3]="New"})(IM||(IM={}));var qM=class a extends A5{getById(l){return v2(this).concat(`(${l})`)}getItemByStringId(l){return v2([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=z5(this).using(Z2(async(h)=>{let Z=await h.json(),o=Y1(Z,"d")&&Y1(Z.d,"__next")?Z.d.__next:Z["odata.nextLink"];return{hasNext:typeof o==="string"&&o.length>0,nextLink:o,value:wM(Z)}})),c=["$top","$select","$expand","$filter","$orderby","$skiptoken"];for(let h=0;h<c.length;h++){let Z=this.query.get(c[h]);if(D0(Z))l.query.set(c[h],Z)}return{_next:l,async next(){if(this._next===null)return{done:!0,value:void 0};let h=await this._next();if(h.hasNext)return this._next=z5([this._next,h.nextLink]),{done:!1,value:h.value};else return this._next=null,{done:!1,value:h.value}}}}async add(l={}){return $(this,W1(l))}};qM=c0([_0("items")],qM);var zM=N1(qM);class v8 extends N0{constructor(){super(...arguments);this.delete=Q7()}get effectiveBasePermissions(){return b0(this,"EffectiveBasePermissions")}get effectiveBasePermissionsForUI(){return b0(this,"EffectiveBasePermissionsForUI")}get fieldValuesAsHTML(){return o2(this,"FieldValuesAsHTML")}get fieldValuesAsText(){return o2(this,"FieldValuesAsText")}get fieldValuesForEdit(){return o2(this,"FieldValuesForEdit")}get versions(){return $d(this)}get list(){return this.getParent(R0,"",this.parentUrl.substring(0,this.parentUrl.lastIndexOf("/")))}async update(a,l="*"){let c=W1(a,a8({"IF-Match":l,"X-HTTP-Method":"MERGE"}));return $(v2(this).using(zk()),c)}recycle(){return $(v2(this,"recycle"))}async deleteWithParams(a){return $(v2(this,"DeleteWithParameters"),W1({parameters:a}))}async getWopiFrameUrl(a=0){let l=v2(this,"getWOPIFrameUrl(@action)");return l.query.set("@action",a),$(l)}validateUpdateListItem(a,l=!1){return $(v2(this,"validateupdatelistitem"),W1({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 h=await this.getParentInfos(),Z=m0(this.toUrl()),o=b0([this,Z],"/_api/web/UploadImage");o.concat("(listTitle=@a1,imageName=@a2,listId=@a3,itemId=@a4)"),o.query.set("@a1",`'${h.ParentList.Title}'`),o.query.set("@a2",`'${l}'`),o.query.set("@a3",`'${h.ParentList.Id}'`),o.query.set("@a4",h.Item.Id);let v=await $(o,{body:c}),r={type:"thumbnail",fileName:v.Name,nativeFile:{},fieldName:a,serverUrl:h.ParentWeb.Url.replace(h.ParentWeb.ServerRelativeUrl,""),serverRelativeUrl:v.ServerRelativeUrl,id:v.UniqueId};return this.validateUpdateListItem([{FieldName:a,FieldValue:JSON.stringify(r)}])}}var v2=N1(v8),GM=class a extends A5{getById(l){return Qd(this).concat(`(${l})`)}};GM=c0([_0("versions")],GM);var $d=N1(GM);class Ed extends N0{constructor(){super(...arguments);this.delete=Q7()}}var Qd=N1(Ed);function zk(){return Z2(async(a)=>({etag:a.headers.get("etag")}))}k3.prototype.getContextInfo=async function(a=this.parentUrl){let l=await $(b0([this,m0(a)],"_api/contextinfo"));if(Y1(l,"GetContextWebInformation")){let c=l.GetContextWebInformation;return c.SupportedSchemaVersions=c.SupportedSchemaVersions.results,c}else return l};var KM=class a extends A5{getByUrl(l){return $0(this).concat(`('${z1(l)}')`)}async addUsingPath(l,c=!1){return $(Cc(this,`addUsingPath(DecodedUrl='${z1(l)}',overwrite=${c})`))}};KM=c0([_0("folders")],KM);var Cc=N1(KM);class r8 extends N0{constructor(){super(...arguments);this.delete=Q7()}get folders(){return Cc(this)}get listItemAllFields(){return o2(this,"listItemAllFields")}get parentFolder(){return $0(this,"parentFolder")}get properties(){return o2(this,"properties")}get storageMetrics(){return o2(this,"storagemetrics")}async update(a){return c8(this,W1(a))}recycle(){return $($0(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(v2([this,P2(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 $($0(this,"DeleteWithParameters"),W1({parameters:a}))}async addSubFolderUsingPath(a){return await $($0(this,"AddSubFolderUsingPath"),W1({leafPath:A7(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 h=$0(this);return h.on.pre(W4(async(Z,o,v)=>{let{ServerRelativeUrl:r,["odata.id"]:e}=await $0(this).using(S3()).select("ServerRelativeUrl")(),M=new URL(m0(e));return Z=P1(M.href,`/_api/SP.MoveCopyUtil.${c}()`),o=W1({destPath:A7(T0(a)?a:P1(M.origin,a)),options:l,srcPath:A7(P1(M.origin,r))},o),[Z,o,v]})),$(h).then(()=>Xd(this,a))}}c0([H7],r8.prototype,"moveByPath",null);c0([H7],r8.prototype,"copyByPath",null);var $0=N1(r8);function Fc(a,l){return $0([a,m0(a.toUrl())],`_api/web/getFolderByServerRelativePath(decodedUrl='${Id(l)}')`)}async function Yd(a,l){let{WebFullUrl:c}=await $0(a).using(S3()).getContextInfo(l),{pathname:h}=new URL(l);return Fc($0([a,P1(c,"_api/web")]),decodeURIComponent(h))}async function Xd(a,l){return(T0(l)?Yd:Fc)(a,l)}J0(o8,"items",zM);function Kk(){return Z2(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 eo extends N0{getText(){return this.getParsed(N6())}getBlob(){return this.getParsed(dd())}getBuffer(){return this.getParsed(gd())}getJSON(){return this.getParsed(_Z())}getStream(){return b0(this,"$value").using(Kk(),DM())(a8({binaryStringResponseBody:"true"}))}getParsed(a){return b0(this,"$value").using(a,DM())()}}var e8=class a extends A5{getByUrl(l){if(/%#/.test(l))throw Error("For file names containing % or # please use web.getFileByServerRelativePath");return I1(this).concat(`('${z1(l)}')`)}async addUsingPath(l,c,h={Overwrite:!1}){let Z=[`AddUsingPath(decodedurl='${z1(l)}'`];if(h){if(h.Overwrite)Z.push(",Overwrite=true");if(h.EnsureUniqueFileName)Z.push(`,EnsureUniqueFileName=${h.EnsureUniqueFileName}`);if(h.AutoCheckoutOnInvalidData)Z.push(",AutoCheckoutOnInvalidData=true");if(!S5(h.XorHash))Z.push(`,XorHash=${z1(h.XorHash)}`)}return Z.push(")"),$(Rc(this,Z.join("")),{body:c})}async addChunked(l,c,h){let Z=await this.addUsingPath(l,null,h),o=M8(this,Z.ServerRelativeUrl);return o.using(sM(()=>{return I1(o).delete()})),o.setContentChunked(c,h)}async addTemplateFile(l,c){return $(Rc(this,`addTemplateFile(urloffile='${z1(l)}',templatefiletype=${c})`))}};c0([H7],e8.prototype,"addUsingPath",null);c0([H7],e8.prototype,"addChunked",null);c0([H7],e8.prototype,"addTemplateFile",null);e8=c0([_0("files")],e8);var Rc=N1(e8);class xc extends eo{constructor(){super(...arguments);this.delete=Q7()}get listItemAllFields(){return o2(this,"listItemAllFields")}get versions(){return f3(this)}async getLockedByUser(){let a=await Dd(I1(this,"lockedByUser"));if(a["odata.null"]===!0)return null;else return a}approve(a=""){return $(I1(this,`approve(comment='${z1(a)}')`))}cancelUpload(a){return $(I1(this,`cancelUpload(uploadId=guid'${a}')`))}checkin(a="",l=Mo.Major){if(a.length>1023)throw Error("The maximum comment length is 1023 characters.");return $(I1(this,`checkin(comment='${z1(a)}',checkintype=${l})`))}checkout(){return $(I1(this,"checkout"))}copyTo(a,l=!0){return $(I1(this,`copyTo(strnewurl='${z1(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 $(I1(this,`deny(comment='${z1(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 $(I1(this,`publish(comment='${z1(a)}')`))}recycle(){return $(I1(this,"recycle"))}async deleteWithParams(a){return $(I1(this,"DeleteWithParameters"),W1({parameters:a}))}undoCheckout(){return $(I1(this,"undoCheckout"))}unpublish(a=""){if(a.length>1023)throw Error("The maximum comment length is 1023 characters.");return $(I1(this,`unpublish(comment='${z1(a)}')`))}async exists(){try{return(await I1(this).select("Exists")()).Exists}catch(a){return!1}}async setContent(a){return await $(I1(this,"$value"),{body:a,headers:{"X-HTTP-Method":"PUT"}}),I1(this)}async getItem(...a){let c=await this.listItemAllFields.select(...a)();return Object.assign(v2([this,P2(c)]),c)}async setContentChunked(a,l){let{progress:c}=Jk(l),h=E7(),Z=!0,o,v=0,r=I1(this).using(sM(()=>{return I1(r).cancelUpload(h)})),M=$k(a).getReader();while(o=await M.read())if(o.done)return c({offset:v,stage:"finishing",uploadId:h}),$(I1(r,`finishUpload(uploadId=guid'${h}',fileOffset=${v})`),{body:(o===null||o===void 0?void 0:o.value)||""});else if(Z)c({offset:v,stage:"starting",uploadId:h}),v=await $(I1(r,`startUpload(uploadId=guid'${h}')`),{body:o.value}),Z=!1;else c({offset:v,stage:"continue",uploadId:h}),v=await $(I1(r,`continueUpload(uploadId=guid'${h}',fileOffset=${v})`),{body:o.value})}moveCopyImpl(a,l,c,h){let Z=I1(this);return Z.on.pre(W4(async(o,v,r)=>{let{ServerRelativeUrl:e,["odata.id"]:M}=await I1(this).using(S3()).select("ServerRelativeUrl")(),t=new URL(m0(M));return o=P1(t.toString(),`/_api/SP.MoveCopyUtil.${h}(overwrite=@a1)?@a1=${c}`),v=W1({destPath:A7(T0(a)?a:`${t.protocol}//${t.host}${a}`),options:l,srcPath:A7(T0(e)?e:`${t.protocol}//${t.host}${e}`)},v),[o,v,r]})),$(Z).then(()=>jd(this,a))}}c0([H7],xc.prototype,"copyByPath",null);c0([H7],xc.prototype,"moveByPath",null);c0([H7],xc.prototype,"setContentChunked",null);var I1=N1(xc);function M8(a,l){return I1([a,m0(a.toUrl())],`_api/web/getFileByServerRelativePath(decodedUrl='${z1(l)}')`)}async function yd(a,l){let{WebFullUrl:c}=await I1(a).using(S3()).getContextInfo(l),{pathname:h}=new URL(l);return M8(I1([a,P1(c,"_api/web")]),decodeURIComponent(h))}async function jd(a,l){return(T0(l)?yd:M8)(a,l)}var JM=class a extends A5{getById(l){return _d(this).concat(`(${l})`)}deleteAll(){return $(f3(this,"deleteAll"))}deleteById(l){return $(f3(this,`deleteById(vid=${l})`))}recycleByID(l){return $(f3(this,`recycleByID(vid=${l})`))}deleteByLabel(l){return $(f3(this,`deleteByLabel(versionlabel='${z1(l)}')`))}recycleByLabel(l){return $(f3(this,`recycleByLabel(versionlabel='${z1(l)}')`))}restoreByLabel(l){return $(f3(this,`restoreByLabel(versionlabel='${z1(l)}')`))}};JM=c0([_0("versions")],JM);var f3=N1(JM);class Nd extends eo{constructor(){super(...arguments);this.delete=ho()}}var _d=N1(Nd),Mo;(function(a){a[a.Minor=0]="Minor",a[a.Major=1]="Major",a[a.Overwrite=2]="Overwrite"})(Mo||(Mo={}));var $M;(function(a){a[a.None=0]="None",a[a.Overwrite=1]="Overwrite",a[a.AllowBrokenThickets=8]="AllowBrokenThickets",a[a.RetainEditorAndModifiedOnMove=2048]="RetainEditorAndModifiedOnMove"})($M||($M={}));var EM;(function(a){a[a.StandardPage=0]="StandardPage",a[a.WikiPage=1]="WikiPage",a[a.FormPage=2]="FormPage",a[a.ClientSidePage=3]="ClientSidePage"})(EM||(EM={}));function Jk(a){return{progress:()=>null,...a}}function $k(a){if(Yk(a))return a.stream();else if(Qk(a))return new ReadableStream({start(l){a.on("data",(c)=>{l.enqueue(c)}),a.on("end",()=>{l.close()})}});else if(Xk(a))return new ReadableStream({start(l){l.enqueue(a),l.close()}});else if(yk(a))return a.readable;else return a}var Ek=Symbol.toStringTag;function Qk(a){return typeof a.on==="function"}function Yk(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[Ek])||/^(Blob|File)$/.test(a.constructor.name))}function Xk(a){return typeof a==="object"&&typeof a.length==="number"}function yk(a){return typeof a==="object"&&typeof a.readable==="object"}J0(r8,"files",Rc);J0(v8,"file",I1,"file");v0.prototype.getFileByServerRelativePath=function(a){return M8(this,a)};v0.prototype.getFileById=function(a){return I1(this,`getFileById('${a}')`)};v0.prototype.getFileByUrl=function(a){return I1(this,`getFileByUrl('${z1("!@p1::"+a)}')`)};J0(v8,"folder",$0);J0(o8,"rootFolder",$0);J0(v0,"folders",Cc);J0(v0,"rootFolder",$0);v0.prototype.getFolderByServerRelativePath=function(a){return Fc(this,a)};v0.prototype.getFolderById=function(a){return $0(this,`getFolderById('${a}')`)};J0(v0,"lists",gc);J0(v0,"siteUserInfoList",R0);J0(v0,"defaultDocumentLibrary",R0);J0(v0,"customListTemplates",z5,"getcustomlisttemplates");v0.prototype.getList=function(a){return R0(this,`getList('${z1(a)}')`)};v0.prototype.getCatalog=async function(a){let l=await t0(this,`getcatalog(${a})`).select("Id")();return R0([this,P2(l)])};function QM(a,l){let c="_api/site",h=/(_api[/|\\](site|web))/i.exec(a);if((h===null||h===void 0?void 0:h.length)>0)a=m0(a),c=h[1];if((l===null||l===void 0?void 0:l.indexOf("_api"))<0)a=P1(a,c);return a}var O4=class a extends N0{constructor(l,c){if(typeof l==="string")l=QM(l,c);else if(K0(l))l=[l[0],QM(l[1],c)];else l=[l,QM(l.toUrl(),c)];super(l,c)}get rootWeb(){return t0(this,"rootweb")}getChanges(l){let c=W1({query:l});return $(t0(this,"getchanges"),c)}async openWebById(l){let c=await $(a5(this,`openWebById('${l}')`));return{data:c,web:t0([this,m0(P2(c))])}}async getRootWeb(){let l=await this.rootWeb.select("Url")();return t0([this,l.Url])}async delete(){let l=await a5(this,"").select("Id")(),c=a5([this,this.parentUrl],"_api/SPSiteManager/Delete");await $(c,W1({siteId:l.Id}))}async getDocumentLibraries(l){let c=a5([this,this.parentUrl],"_api/sp.web.getdocumentlibraries(@v)");c.query.set("@v",`'${l}'`);let h=await c();return Y1(h,"GetDocumentLibraries")?h.GetDocumentLibraries:h}async getWebUrlFromPageUrl(l){let c=a5([this,this.parentUrl],"_api/sp.web.getweburlfrompageurl(@v)");c.query.set("@v",`'${l}'`);let h=await c();return Y1(h,"GetWebUrlFromPageUrl")?h.GetWebUrlFromPageUrl:h}async createCommunicationSite(l,c=1033,h=!1,Z,o,v,r,e,M){return this.createCommunicationSiteFromProps({Classification:v,Description:o,HubSiteId:e,Lcid:c,Owner:M,ShareByEmailEnabled:h,SiteDesignId:r,Title:l,Url:Z})}async createCommunicationSiteFromProps(l){let c={Classification:"",Description:"",HubSiteId:dc,Lcid:1033,ShareByEmailEnabled:!1,SiteDesignId:dc,WebTemplate:"SITEPAGEPUBLISHING#0",WebTemplateExtensionId:dc,...l};return $(a5([this,m0(this.toUrl())],"/_api/SPSiteManager/Create"),W1({request:c}))}async exists(l){return $(a5([this,m0(this.toUrl())],"/_api/SP.Site.Exists"),W1({url:l}))}async createModernTeamSite(l,c,h,Z,o,v,r,e,M){return this.createModernTeamSiteFromProps({alias:c,classification:v,description:o,displayName:l,hubSiteId:e,isPublic:h,lcid:Z,owners:r,siteDesignId:M})}async createModernTeamSiteFromProps(l){let c=Object.assign({},{classification:"",description:"",hubSiteId:dc,isPublic:!0,lcid:1033,owners:[]},l),h={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)h.optionalParams.CreationOptions.push(`implicit_formula_292aa8a00786498a87a5ca52d9f4214a_${c.siteDesignId}`);return $(a5([this,m0(this.toUrl())],"/_api/GroupSiteManager/CreateGroupEx").using(N6()),W1(h))}update(l){return kd(this,W1(l))}setSiteLogo(l){return $(b0([this,m0(this.toUrl())],"_api/siteiconmanager/setsitelogo"),W1(l))}};O4=c0([_0("_api/site")],O4);var a5=N1(O4),YM;(function(a){a[a.WebLogo=0]="WebLogo",a[a.HubLogo=1]="HubLogo",a[a.HeaderBackground=2]="HeaderBackground",a[a.GlobalNavLogo=3]="GlobalNavLogo"})(YM||(YM={}));var XM;(function(a){a[a.Square=0]="Square",a[a.Rectangular=1]="Rectangular"})(XM||(XM={}));Reflect.defineProperty(U2.prototype,"site",{configurable:!0,enumerable:!0,get:function(){return this.create(a5)}});Reflect.defineProperty(U2.prototype,"web",{configurable:!0,enumerable:!0,get:function(){return this.create(t0)}});function m8(){return new URL(window.location.href).searchParams.get("web")??""}var ag=await $L();function pc(a=""){let l=a?a:T4();if(!ag)return h8(l).using(ro());return h8(l).using(Jd(ag))}function V7(a){return a.web.toUrl().replace("/_api/web","")}function lg(){let l=m8()??T4();return pc(l)}async function mo(a,l,c){let h=[],[Z,o]=a.web.batched();for(let v of l)Z.getFileByUrl(`${S1}/${v}/${X0}`).getText().then((r)=>{let e=yM(v);try{let M=JSON.parse(r);e.manifest=M,e.activated=c.includes(v),h.push(e)}catch{h.push(e)}}).catch(()=>{h.push(yM(v))});return await o(),h}var jk=["Forms"];async function t8(a,l){try{await YZ(a);let c=a.web.lists.getByTitle(S1).rootFolder,h=await NM(a),Z=await H8(a);if(!h.some((o)=>o===l))await c.folders.addUsingPath(l),h.push(l);return i7.value=await mo(a,h,Z.data.enabledAppCollections),i7.value.find((o)=>o.name===l)}catch(c){return c?.message}}async function cg(a,l){let h=a.web.lists.getByTitle(S1).rootFolder;try{let Z=await h.folders.getByUrl(l)();await od(a,U4.data.ServerRelativeUrl,l)}catch(Z){n1(`Error while removing ${l} from ${S1} folder in ${V7(a)}`,Z)}return!1}async function NM(a){return await YZ(a),(await a.web.lists.getByTitle(S1).rootFolder.folders()).filter((h)=>!jk.includes(h.Name)).map((h)=>h.Name)}async function to(a,l){jM.value=!0,await H8(a);let c=V7(a),h=a.web.getFileByUrl(`${S1}/${h2}`);try{return await h.setContent(JSON.stringify(l)),!0}catch(Z){return n1(`Error while updating ${h2} in ${S1} folder in ${c}`,Z),!1}finally{jM.value=!1}}async function H8(a){let l=a.web.getFileByUrl(`${S1}/${h2}`),c=V7(a),h=await l.exists(),Z={data:ec,error:"",isError:!1,warnings:[]};if(!h)return await YZ(a),await a.web.lists.getByTitle(S1).rootFolder.files.addUsingPath(h2,JSON.stringify(ec)),j0(`Created ${h2} in ${S1} folder in ${c}`),Z;try{let v=await(await l.getBlob()).text(),r=JSON.parse(v);if(!Array.isArray(r.enabledAppCollections)||!Array.isArray(r.urlMap)){let e=`Invalid data inside ${h2} in ${S1} folder in ${c}, it should be an array`;return n1(e),Z.error=e,Z.isError=!0,Z.data=ec,Z}return Z.data=r,Z}catch(o){let v=`Error while parsing ${h2} in ${S1} folder in ${c}`;return n1(v,o),Z.error=v,Z.isError=!0,Z.data=ec,Z}}async function hg(a,l,c){if(c.some((v)=>v.indexOf("/")>-1))throw new Error("Nested path cannot contain /");let h=V7(a),Z=a.web.getFolderByServerRelativePath(`${S1}/${l}`),o="";for(let v of c){if(o=`${o?`${o}/`:""}${v}`,!(await Z.folders()).some((e)=>e.Name.toLowerCase()===v.toLowerCase()))j0(`Creating subfolder ${o} in ${S1}/${l} folder in ${h}`),await Z.addSubFolderUsingPath(v);Z=Z.folders.getByUrl(v)}}var _M=class a extends A5{getById(l){return og(this,`GetById?hubSiteId='${l}'`)}};_M=c0([_0("_api/hubsites")],_M);var am=N1(_M);class Zg extends N0{async getSite(){let a=await this.select("SiteUrl")();return a5([this,a.SiteUrl])}}var og=N1(Zg);O4.prototype.joinHubSite=async function(a){await $(a5(this,`joinHubSite('${a}')`))};O4.prototype.registerHubSite=async function(){await $(a5(this,"registerHubSite"))};O4.prototype.unRegisterHubSite=async function(){await $(a5(this,"unRegisterHubSite"))};v0.prototype.hubSiteData=async function(a=!1){let l=await t0(this,`hubSiteData(${a})`)();if(typeof l==="string")return JSON.parse(l);return l};v0.prototype.syncHubSiteTheme=function(){return $(t0(this,"syncHubSiteTheme"))};Reflect.defineProperty(U2.prototype,"hubSites",{configurable:!0,enumerable:!0,get:function(){return this.create(am)}});function lm(a,l){let c=a.findIndex((e)=>e.isHubRoot&&e.hubid===l);if(c<0)return;let h=a.splice(c,1)[0],Z={...h,webs:[h]},o={...h,sites:[Z],webs:[]},v=A8(a,o.siteId,l);Z.webs.push(...v);let r=Ao(a,l);return o.sites.push(...r),o.webs.push(...A8(a,o.siteId,l)),o}function Ho(a){let l=Object.groupBy(a,(M)=>M.hubid),c=Object.keys(l).filter((M)=>M&&M!==y0),h=Object.keys(l).filter((M)=>!M||M===y0),Z=c.map((M)=>l[M]??[]).flat(),o=h.map((M)=>l[M]??[]).flat(),v=[],r=[],e=[];for(let M of c){let t=lm(Z,M);if(!t)continue;v.push(t)}if(Z.length>0)o.push(...Z);return r.push(...Ao(o)),e.push(...o),{hubs:v,sites:r,webs:e}}function Ao(a,l){let c=[];function h(o){return l?o.isRootWeb&&o.hubid===l:o.isRootWeb}let Z=a.findIndex(h);while(Z>-1){let o=a.splice(Z,1)[0],v=c.find((e)=>e.id===o.id);if(!v)v={...o,webs:[o]},c.push(v);let r=A8(a,o.siteId);v.webs.push(...r.sort((e,M)=>e.url.localeCompare(M.url))),Z=a.findIndex(h)}return c}function A8(a,l,c){let h=[];function Z(v){return c?v.siteId===l&&v.hubid===c:v.siteId===l}let o=a.findIndex(Z);while(o>-1){let v=a.splice(o,1)[0];h.push(v),o=a.findIndex(Z)}return h.sort((v,r)=>v.url.localeCompare(r.url))}function vg(a){let l=Object.groupBy(a,(o)=>o.sharepointIds.siteId),c=Object.keys(l),h=[];for(let o of c){let v=l[o];if(!v)continue;let r=v.sort((e,M)=>e.webUrl.localeCompare(M.webUrl));h.push({id:r[0].sharepointIds.webId,url:r[0].webUrl,siteId:r[0].sharepointIds.siteId,hubid:r[0].sharepointIds.hubSiteId,isHubRoot:r[0].sharepointIds.hubSiteId===r[0].sharepointIds.siteId,isRootWeb:!0})}return a.map((o)=>{return{id:o.sharepointIds.webId,url:o.webUrl,siteId:o.sharepointIds.siteId,hubid:o.sharepointIds.hubSiteId,isHubRoot:o.sharepointIds.hubSiteId===o.sharepointIds.siteId,isRootWeb:h.some((v)=>v.id===o.sharepointIds.webId),title:o.title,template:o.template.name}})}function Vo(a,l,c){return{id:a.Id,url:a.Url,siteId:l,hubid:c,isHubRoot:!1,isRootWeb:!1}}function io(a,l,c){return a.map((h)=>{return Vo(h,l,c)})}async function Nk(a){let l=await Mg(a);if(l.isError)return n1("Unable to get web info",l.error),[];let c=await hm(l.data);return[...l.data,...c.filter((h)=>!h.isError).flatMap((h)=>h.data)]}async function hm(a){let l=[];for(let Z of a){let o=pc(Z.Url);l.push(Mg(o))}let c=await Promise.all(l),h=c.filter((Z)=>!Z.isError&&Z.data.length>0).flatMap((Z)=>Z.data);if(h.length>0)c.push(...await hm(h));return c.some((Z)=>Z.data.length>0||Z.isError)?c:[]}async function rg(a,l=!1){let c=pc(a.origin+a.pathname),h={data:[],error:"",warnings:[],isError:!1};try{let Z=await om(c);if(Z.isError){let m=`Unable to get site info ${Z.error}`;h.warnings.push(m),n1(m,a.href)}let o=await Zm(c);if(o.isError){let m=`Unable to get root web info ${o.error}`;h.warnings.push(m),n1(m,a.href)}let v=await vm(c);if(v.isError){let m=`Unable to get web info ${v.error}`;return h.isError=!0,h.error=m,n1(m,a.href),h}if(!l||o.isError){let m=Vo(v.data,Z.data?.Id??y0,Z.data?.HubSiteId??y0);return m.isRootWeb=o.data?.Id===v.data.Id,m.isHubRoot=Z.data?.IsHubSite&&o.data?.Id===v.data.Id,h.data.push(m),h}let r=pc(o.data.Url),e=await Nk(r),M=Vo(o.data,Z.data?.Id??y0,Z.data?.HubSiteId??y0),t=io(e,Z.data?.Id??y0,Z.data?.HubSiteId??y0);M.isRootWeb=!0,M.isHubRoot=Z.data?.IsHubSite??!1,h.data.push(M),h.data.push(...t)}catch(Z){h.isError=!0,h.error=`${Z}`,n1("Unable to get web structure",a.href,Z)}return h}async function no(a){if(!Lo())return;let l=I2,c={hubid:y0,id:y0,url:"",siteId:y0,isHubRoot:!1,isRootWeb:!1,webs:[]};if(l.isError)return n1(`Unable to get site info ${l.error}`),c;let h=n7;if(h.isError)return n1(`Unable to get root web info ${h.error}`),c;let Z=await _k(a);if(Z.isError)return n1(`Unable to get root subweb info ${h.error}`),c;let o=await hm(Z.data),v=io(Z.data,l.data.Id,l.data.HubSiteId),r=io(o.filter((t)=>!t.isError).flatMap((t)=>t.data),l.data.Id,l.data.HubSiteId),e=[...v,...r],M={hubid:l.data.HubSiteId,id:h.data.Id,url:h.data.Url,siteId:l.data.Id,isHubRoot:l.data.IsHubSite,isRootWeb:!0};return c={...M,webs:[M,...A8(e,l.data.Id)]},c}async function uo(a,l,c){if(!f5())return;if(!cm)return;let h=c??I2.data.HubSiteId,Z=[];for await(let V of eg(a.web.toUrl().replace("_api/web",""),h))Z.push(...V);let o={id:"",url:"",siteId:h,hubid:h,isHubRoot:!0,isRootWeb:!0,sites:[],webs:[]},v=vg(Z),r=v.findIndex((V)=>V.hubid===h&&V.siteId===h),e=r>-1?v.splice(r,1)[0]:void 0;if(!e)O2("API Call did not return Hub ROOT",h),e={id:n7.data.Id,url:n7.data.Url,hubid:h,siteId:h,isHubRoot:!0,isRootWeb:!0};o.id=e.id,o.url=e.url,o.hubid=e.hubid,o.siteId=e.siteId,o.sites.push({...e,webs:[e]});let M=A8(v,e.siteId),t=o.sites.find((V)=>V.id===e.id);if(t)t.webs.push(...M);else o.webs.push(...M);let m=Ao(v);o.sites.push(...m),o.webs.push(...v);for(let V of cm.webs.sort((i,u)=>i.url.localeCompare(u.url)))if(o.sites.flatMap((i)=>i.webs).findIndex((i)=>i.id===V.id)===-1){let i=o.sites.findIndex((u)=>u.siteId===V.siteId);if(i<0){o.sites.push({id:V.id,url:V.url,hubid:V.hubid,siteId:V.siteId,isHubRoot:!1,isRootWeb:!0,webs:[V]});continue}o.sites[i].webs.push(V),o.sites[i].webs=o.sites[i].webs.sort((u,L)=>u.url.localeCompare(L.url))}let H=lm([...l],h);if(H){for(let V of H.sites){let i=o.sites.find((u)=>u.id===V.id);if(i){for(let u of V.webs)if(i.webs.find((d)=>d.id===u.id))continue;else i.webs.push(u);i.webs=i.webs.sort((u,L)=>u.url.localeCompare(L.url));continue}o.sites.push(V)}for(let V of H.webs)if(o.webs.find((u)=>u.id===V.id))continue;else o.webs.push(V)}let A=[];for(let V of o.webs){let i=o.sites.find((L)=>L.id===V.siteId);if(!i)continue;if(A.push({...V}),!i.webs.find((L)=>L.id===V.id))i.webs.push({...V}),i.webs=i.webs.sort((L,d)=>L.url.localeCompare(d.url))}return o.webs=o.webs.filter((V)=>A.findIndex((i)=>i.id===V.id)>-1),o.webs=o.webs.sort((V,i)=>V.url.localeCompare(i.url)),o}async function*eg(a,l,c=!0){let h=z5(a,c?"_api/v2.1/sites":"").using(ro());if(c)h.filter(`sharepointIds/hubSiteId eq '${l}'`).top(99);h.on.parse.replace(async(o,v,r)=>{let e={"@odata.context":"",value:[],"@odata.nextLink":""};if(v.ok)try{return r=await v.json(),[o,v,r]}catch(M){return n1("Unable to parse hubdata response",o,M),[o,v,e]}return n1("Error getting hubdata",o,v.statusText),[o,v,e]});let Z=await h();if(yield Z.value,Z["@odata.nextLink"])yield*eg(Z["@odata.nextLink"],l,!1)}async function Zm(a){return wc(()=>a.site.rootWeb(),{})}async function _k(a){return wc(()=>a.site.rootWeb.webs(),[])}async function om(a){return wc(()=>a.site(),{})}async function vm(a){return wc(()=>a.web(),{})}async function Mg(a){return wc(()=>a.web.webs(),[])}async function wc(a,l){let c={data:l,error:"",warnings:[],isError:!1};try{let h=await a();c.data=h}catch(h){c.isError=!0,c.error=`${h}`}return c}var rm=m8(),go=new URL(rm?rm:T4()),l0=lg(),I2=await om(l0),n7=!I2.isError?await Zm(l0):{data:{},warnings:[],error:"Unable to get root web since site is not available",isError:!0},U4=await vm(l0),q2=!rm;function f5(){if(I2.isError||n7.isError||U4.isError)return!1;return I2.data.IsHubSite&&n7.data.Id===U4.data.Id}function em(){if(I2.isError)return!1;return I2.data.HubSiteId!==y0}function Lo(){if(n7.isError||U4.isError)return!1;return U4.data.Id===n7.data.Id}function mg(){if(I2.isError||n7.isError)return!0;return n7.data.Id!==U4.data.Id}var aS=await NM(l0),tg=await H8(l0),lS=await mo(l0,aS,tg.data.enabledAppCollections),s0=z0(tg.data),jM=z0(!1),i7=z0(lS),w1=z0(),R1=z0(),Dc=z0();var cm=await no(l0);t7(()=>{zZ("Configuration",R1.value?.config)});function yM(a){return{name:a,manifest:rc,activated:!1}}function Mm(a){let l=U1(i7.value),c=l.findIndex((h)=>h.name===a.name);if(c>-1)l.splice(c,1,a);else l.push(a);i7.value=l}function r2(a,l=!1){let c=U1(a);if(w1.value=c,l)Mm(c)}function Co(){if(q2)return"global";if(f5())return"hubRoot";if(em()&&!f5())return"hubChild";if(!em())return"nonHub";if(mg())return"subsite";return"other"}var cS=v6({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 v1(a){let l=cS(),c=[l.root],h={};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)h.flexGrow=a.grow;if(a.gap)h.gap=a.gap;return c.push(a.wrap?l.wrap:l.noWrap),hS(a,c,l),ZS(a,c,l),/*@__PURE__*/n("div",{className:c.join(" "),style:{...h,...a.style},children:a.children},void 0,!1,void 0,this)}function hS(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 ZS(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}}C();var B3="global-toast-notification";function Hg(){return/*@__PURE__*/n(D4,{toasterId:B3},void 0,!1,void 0,this)}function Ag(){let[a,l]=m1(""),c=$7(!1);async function h(e,M){c.value=M.open}let{dispatchToast:Z,updateToast:o}=w4(B3),v=(e)=>{switch(e){case"progress":Z(/*@__PURE__*/n(k2,{children:/*@__PURE__*/n(S2,{media:/*@__PURE__*/n(I5,{size:"tiny"},void 0,!1,void 0,this),children:"Creating..."},void 0,!1,void 0,this)},void 0,!1,void 0,this),{toastId:B3,timeout:-1});break}};async function r(){if(!a)return;v("progress");let e=await t8(l0,a);if(e&&e.name){o({content:/*@__PURE__*/n(k2,{children:/*@__PURE__*/n(S2,{children:"Application created."},void 0,!1,void 0,this)},void 0,!1,void 0,this),intent:"success",toastId:B3,timeout:2000}),c.value=!1;return}o({content:/*@__PURE__*/n(k2,{children:/*@__PURE__*/n(S2,{children:"Error occured. Please check console."},void 0,!1,void 0,this)},void 0,!1,void 0,this),intent:"error",toastId:B3,timeout:2000})}return/*@__PURE__*/n(D5,{open:c.value,surfaceMotion:null,modalType:"alert",onOpenChange:h,children:[/*@__PURE__*/n(q0,{disableButtonEnhancement:!0,children:/*@__PURE__*/n(s2,{appearance:"primary",icon:/*@__PURE__*/n(w6,{},void 0,!1,void 0,this),children:"Create collection"},void 0,!1,void 0,this)},void 0,!1,void 0,this),/*@__PURE__*/n(w2,{children:/*@__PURE__*/n(x2,{children:[/*@__PURE__*/n(p2,{action:/*@__PURE__*/n(q0,{disableButtonEnhancement:!0,action:"close",children:/*@__PURE__*/n(F1,{appearance:"subtle","aria-label":"close",icon:/*@__PURE__*/n(h7,{},void 0,!1,void 0,this)},void 0,!1,void 0,this)},void 0,!1,void 0,this),children:"Create new application"},void 0,!1,void 0,this),/*@__PURE__*/n(D2,{style:{padding:"16px 0"},children:/*@__PURE__*/n(n5,{value:a,style:{width:"100%"},placeholder:"Enter application name",onChange:(e,M)=>{l(M.value)}},void 0,!1,void 0,this)},void 0,!1,void 0,this),/*@__PURE__*/n(R2,{children:[/*@__PURE__*/n(q0,{disableButtonEnhancement:!0,action:"close",children:/*@__PURE__*/n(F1,{appearance:"secondary",children:"Close"},void 0,!1,void 0,this)},void 0,!1,void 0,this),/*@__PURE__*/n(F1,{appearance:"primary",onClick:()=>{r()},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 Vg({app:a,onChange:l}){return/*@__PURE__*/n(C0,{defaultChecked:a.activated,onChange:(c,h)=>{l?.(a,h.checked)}},void 0,!1,void 0,this)}C();var Y7={SPFXEXT:"SPFXEXT_",SPFXEXT_CORE:"SPFXEXT"};function oS(){return Object.keys(localStorage).some((a)=>a.indexOf(Y7.SPFXEXT)>-1&&Number(localStorage[a])>0)}function ig(a){return a.hostname.toLowerCase()==="localhost"}function ng(a){return Number(localStorage.getItem(`${Y7.SPFXEXT}${a}`))>0}var sc=oS();function ug({app:a}){let[l,c]=m1(localStorage.getItem(`${Y7.SPFXEXT}${a.name}`)??""),[h,Z]=m1(!1);return/*@__PURE__*/n(F2,{positioning:"after",open:h,children:[/*@__PURE__*/n(l2,{disableButtonEnhancement:!0,children:/*@__PURE__*/n(u4,{checked:ng(a.name),onChange:()=>{Z(!h)}},void 0,!1,void 0,this)},void 0,!1,void 0,this),/*@__PURE__*/n(C2,{tabIndex:-1,children:[/*@__PURE__*/n(n5,{defaultValue:l,onChange:(o,v)=>{c(v.value)}},void 0,!1,void 0,this),/*@__PURE__*/n(F1,{appearance:"primary",onClick:()=>{localStorage.setItem(`${Y7.SPFXEXT}${a.name}`,l),Z(!1)},children:"Save"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)}C();async function vS(a){try{Dc.value=U1(a),await cg(l0,a.name),i7.value=i7.value.filter((l)=>l.name!==a.name)}finally{Dc.value=void 0}}function Lg({item:a}){let[l,c]=m1(!1);function h(Z,o){c(o.open)}return/*@__PURE__*/n(V1,{children:[/*@__PURE__*/n(P0,{disabled:Dc?.value?.name!==void 0,onClick:()=>{c(!0)},children:/*@__PURE__*/n("div",{style:{display:"flex"},children:[/*@__PURE__*/n(Ji,{},void 0,!1,void 0,this),Dc.value?.name===a.name&&/*@__PURE__*/n(I5,{size:"extra-small"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this),/*@__PURE__*/n(D5,{open:l,surfaceMotion:null,modalType:"modal",onOpenChange:h,children:/*@__PURE__*/n(w2,{children:/*@__PURE__*/n(x2,{children:[/*@__PURE__*/n(p2,{children:["Delete ",a.name,"?"]},void 0,!0,void 0,this),/*@__PURE__*/n(D2,{children:[/*@__PURE__*/n(r7,{children:["Are you sure you want to delete app collection"," ",/*@__PURE__*/n("b",{children:a.name},void 0,!1,void 0,this),"?"]},void 0,!0,void 0,this),/*@__PURE__*/n("br",{},void 0,!1,void 0,this),/*@__PURE__*/n(r7,{children:["Deleting appcollection will result in deletion of all files in"," ",/*@__PURE__*/n(P0,{target:"_blank",onClick:()=>{window.open(`${go}/${S1}/${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__*/n(R2,{children:[/*@__PURE__*/n(F1,{appearance:"primary",onClick:()=>{vS(a),c(!1)},children:"Yes"},void 0,!1,void 0,this),/*@__PURE__*/n(q0,{disableButtonEnhancement:!0,children:/*@__PURE__*/n(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)}Y2();function V8(a,l,c="86px"){return/*@__PURE__*/n(Y0,{size:"medium",color:a,style:{width:c},children:l},void 0,!1,void 0,this)}function T3({webs:a,control:l,onDeleteClick:c,additionalIcon:h,disableControl:Z}){if(a.length===0)return null;function o(r,e){if(!R1.value)return;let M=U1(R1.value),t=M.config.excludedIds.filter((V)=>r.id!==V),m=M.config.excludedHubIds.filter((V)=>r.id!==V),H=M.config.includedIds.filter((V)=>r.id!==V),A=M.config.includedHubIds.filter((V)=>r.id!==V);if(!M.config.enabledEverywhere&&e)H.push(r.id);if(M.config.enabledEverywhere&&!e)t.push(r.id);M.config.excludedIds=t,M.config.excludedHubIds=m,M.config.includedIds=H,M.config.includedHubIds=A,R1.value=M}function v(r){if(!R1.value)return!1;if(R1.value.config.enabledEverywhere)return!R1.value.config.excludedIds.includes(r.id);return R1.value.config.includedIds.includes(r.id)}return/*@__PURE__*/n(V1,{children:a.map((r)=>/*@__PURE__*/n(v1,{horizontal:!0,horizontalAlign:"space-between",verticalAlign:"center",style:{minHeight:"36px"},children:[/*@__PURE__*/n(v1,{horizontal:!0,gap:8,verticalAlign:"center",children:[h,V8(void 0,"Web","64px"),/*@__PURE__*/n(c2,{children:`${r.url}`},void 0,!1,void 0,this)]},void 0,!0,void 0,this),l==="switch"?/*@__PURE__*/n(C0,{disabled:Z,onChange:(e,M)=>{o(r,M.checked)},checked:v(r)},void 0,!1,void 0,this):/*@__PURE__*/n(F1,{onClick:()=>c?.({item:r,itemType:"web"}),icon:/*@__PURE__*/n(m3,{},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 i8({siteCollections:a,control:l,onDeleteClick:c,additionalIcon:h,disableControl:Z}){function o(v,r){if(!R1.value)return;let e=U1(R1.value),M=e.config.excludedIds.filter((m)=>!v.webs.some((H)=>H.id===m)&&v.siteId!==m),t=e.config.includedIds.filter((m)=>!v.webs.some((H)=>H.id===m)&&v.siteId!==m);if(!e.config.enabledEverywhere&&r)t.push(v.siteId);if(e.config.enabledEverywhere&&!r)M.push(v.siteId);e.config.excludedIds=M,e.config.includedIds=t,R1.value=e}return/*@__PURE__*/n(V1,{children:a.map((v)=>/*@__PURE__*/n(v1,{children:[/*@__PURE__*/n(v1,{horizontal:!0,style:{minHeight:"36px"},verticalAlign:"center",horizontalAlign:"space-between",children:[/*@__PURE__*/n(v1,{horizontal:!0,verticalAlign:"center",gap:8,children:[V8("warning","Site"),v.url]},void 0,!0,void 0,this),l==="switch"?/*@__PURE__*/n(C0,{checked:(R1.value?.config?.enabledEverywhere||R1.value?.config?.includedIds?.includes(v.siteId))&&!R1.value?.config?.excludedIds?.includes(v.siteId),disabled:Z,onChange:(r,e)=>{o(v,e.checked)}},void 0,!1,void 0,this):/*@__PURE__*/n(F1,{onClick:()=>c?.({item:v,itemType:"site"}),icon:/*@__PURE__*/n(m3,{},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this),/*@__PURE__*/n(T3,{webs:v.webs,control:l,onDeleteClick:c,additionalIcon:h,disableControl:Z||R1.value?.config.excludedIds.includes(v.siteId)||R1.value?.config.includedIds.includes(v.siteId)},void 0,!1,void 0,this)]},void 0,!0,void 0,this))},void 0,!1,void 0,this)}function Fo({hubSites:a,onDeleteClick:l,control:c}){function h(Z,o){if(!R1.value)return;let v=U1(R1.value);function r(H){let A=!Z.webs.some((L)=>L.id===H||L.hubid===H),V=!Z.sites.some((L)=>L.id===H||L.hubid===H),i=!Z.sites.some((L)=>L.webs.some((d)=>d.id===H||d.hubid===H)),u=Z.hubid!==H&&Z.siteId!==H;return A&&V&&i&&u}let e=v.config.excludedIds.filter(r),M=v.config.excludedHubIds.filter(r),t=v.config.includedIds.filter(r),m=v.config.includedHubIds.filter(r);if(!v.config.enabledEverywhere&&o)m.push(Z.hubid);if(v.config.enabledEverywhere&&!o)M.push(Z.hubid);v.config.excludedIds=e,v.config.excludedHubIds=M,v.config.includedIds=t,v.config.includedHubIds=m,R1.value=v}return/*@__PURE__*/n(V1,{children:a.map((Z)=>/*@__PURE__*/n(v1,{children:[/*@__PURE__*/n(v1,{horizontal:!0,verticalAlign:"center",horizontalAlign:"space-between",children:[/*@__PURE__*/n(v1,{horizontal:!0,gap:8,verticalAlign:"center",style:{height:"36px"},children:[V8("success","Hub"),Z.url]},void 0,!0,void 0,this),c==="switch"?/*@__PURE__*/n(C0,{checked:(R1.value?.config?.enabledEverywhere||R1.value?.config?.includedHubIds?.includes(Z.hubid))&&!R1.value?.config?.excludedHubIds?.includes(Z.hubid),onChange:(o,v)=>{h(Z,v.checked)}},void 0,!1,void 0,this):/*@__PURE__*/n(F1,{onClick:()=>l?.({item:Z,itemType:"hub"}),icon:/*@__PURE__*/n(m3,{},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this),/*@__PURE__*/n(i8,{control:c,siteCollections:Z.sites,onDeleteClick:l,additionalIcon:/*@__PURE__*/n(p6,{},void 0,!1,void 0,this),disableControl:R1.value?.config.excludedHubIds.includes(Z.hubid)||R1.value?.config.includedHubIds.includes(Z.hubid)},void 0,!1,void 0,this),/*@__PURE__*/n(T3,{control:c,webs:Z.webs,onDeleteClick:l,additionalIcon:/*@__PURE__*/n(Ph,{},void 0,!1,void 0,this),disableControl:R1.value?.config.excludedHubIds.includes(Z.hubid)||R1.value?.config.includedHubIds.includes(Z.hubid)},void 0,!1,void 0,this)]},void 0,!0,void 0,this))},void 0,!1,void 0,this)}Y2();var rS={invalid:{message:"Invalid URL"},duplicate:{message:"URL already exists"}};function dg(a){let l;if(!(a.toLowerCase().startsWith(window.location.origin.toLowerCase())||a.startsWith("/")))l=rS.invalid;return{urlInput:a,error:l}}function gg(){let[a,l]=m1(""),[c,h]=m1(""),[Z,o]=m1(!1);async function v(){if(!c)return;let r=dg(c);if(r.error){l(r.error.message);return}let e=c.startsWith("/")?new URL(c,window.location.origin):new URL(c);o(!0);let M=await rg(e,!0);if(o(!1),M.isError){l(M.error);return}if(f5()){if(!M.data.every((m)=>m.hubid===I2.data.HubSiteId)){l("You can only add child hub sites when configuring a hub root.");return}}let t=U1(s0.value);t.urlMap=t.urlMap.filter((m)=>{return!M.data.some((H)=>H.id===m.id)}),t.urlMap.push(...M.data),s0.value=t,l(""),h("")}return/*@__PURE__*/n(v1,{style:{padding:"8px 24px",width:"100%"},gap:8,children:[/*@__PURE__*/n(s4,{intent:"info",children:/*@__PURE__*/n(k4,{children:"Add site collections and hub child sites."},void 0,!1,void 0,this)},void 0,!1,void 0,this),/*@__PURE__*/n(v1,{horizontal:!0,gap:8,children:[/*@__PURE__*/n(n5,{style:{width:"100%"},onChange:(r,e)=>{h(e.value)},onKeyDown:(r)=>{if(r.key==="Enter")v()},onFocus:()=>{l("")},value:c,placeholder:"Site/Web URL"},void 0,!1,void 0,this),/*@__PURE__*/n(F1,{disabled:!c||Z,onClick:()=>v(),icon:Z?/*@__PURE__*/n(I5,{size:"tiny"},void 0,!1,void 0,this):/*@__PURE__*/n(w6,{},void 0,!1,void 0,this),children:"Add"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),a?/*@__PURE__*/n(c2,{style:{color:u2.colorPaletteRedForeground1},children:a},void 0,!1,void 0,this):null]},void 0,!0,void 0,this)}var n8=z0(!1);function Cg(){let a=T7(),[l,c]=m1(!1),[h,Z]=m1(!1),[o,v]=m1(s0.value),[r,e]=m1([]),[M,t]=m1([]),[m,H]=m1([]);G5(()=>{if(!s0.value)return;if(!o){v(s0.value);return}let i=JSON.stringify(s0.value),u=JSON.stringify(o);v(s0.value),Z(i!==u)}),G5(()=>{if(!s0.value)return;if(q2){let i=Ho(s0.value.urlMap);e(i.hubs),t(i.sites),H(i.webs);return}if(!q2&&f5())uo(l0,s0.value.urlMap).then((i)=>{if(i)e([i])})});function A(i){if(!s0.value)return;let u=U1(s0.value);if(i.itemType==="hub")u.urlMap=u.urlMap.filter((L)=>L.hubid!==i.item.hubid);if(i.itemType==="site")u.urlMap=u.urlMap.filter((L)=>L.siteId!==i.item.siteId);if(i.itemType==="web")u.urlMap=u.urlMap.filter((L)=>L.id!==i.item.id);s0.value=u}async function V(){if(!s0.value)return;c(!0);try{await to(l0,s0.value)}finally{c(!1),Z(!1),n8.value=!1}}return/*@__PURE__*/n(f2,{...a,separator:!0,open:n8.value,onOpenChange:()=>{},position:"end",size:"large",children:[/*@__PURE__*/n(T2,{children:/*@__PURE__*/n(W2,{action:/*@__PURE__*/n(F1,{appearance:"subtle","aria-label":"Close",icon:/*@__PURE__*/n(h7,{},void 0,!1,void 0,this),onClick:()=>{n8.value=!1}},void 0,!1,void 0,this),children:"Manage sites"},void 0,!1,void 0,this)},void 0,!1,void 0,this),/*@__PURE__*/n(B2,{children:/*@__PURE__*/n(V1,{children:[/*@__PURE__*/n(gg,{},void 0,!1,void 0,this),/*@__PURE__*/n(v1,{gap:12,children:[r.length>0?/*@__PURE__*/n(V1,{children:[/*@__PURE__*/n(t5,{children:"Hub sites"},void 0,!1,void 0,this),/*@__PURE__*/n(P5,{},void 0,!1,void 0,this),/*@__PURE__*/n(v1,{children:/*@__PURE__*/n(Fo,{hubSites:r,control:"delete",onDeleteClick:A},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this):null,M.length>0?/*@__PURE__*/n(V1,{children:[/*@__PURE__*/n(t5,{children:"Site collections"},void 0,!1,void 0,this),/*@__PURE__*/n(P5,{},void 0,!1,void 0,this),/*@__PURE__*/n(v1,{children:/*@__PURE__*/n(i8,{siteCollections:M,control:"delete",additionalIcon:/*@__PURE__*/n(p6,{},void 0,!1,void 0,this),onDeleteClick:A},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this):null,m.length>0?/*@__PURE__*/n(V1,{children:[/*@__PURE__*/n(t5,{children:"Webs"},void 0,!1,void 0,this),/*@__PURE__*/n(P5,{},void 0,!1,void 0,this),/*@__PURE__*/n(v1,{children:/*@__PURE__*/n(T3,{webs:m,control:"delete",onDeleteClick:A},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__*/n(K7,{children:/*@__PURE__*/n(v1,{horizontal:!0,gap:8,horizontalAlign:"center",children:[/*@__PURE__*/n(F1,{appearance:"secondary",onClick:()=>{n8.value=!1},children:"Cancel"},void 0,!1,void 0,this),/*@__PURE__*/n(F1,{disabled:!h||l,appearance:"primary",onClick:()=>{V()},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 eS(a,l){let c=await H8(l0),h=c.data.enabledAppCollections.includes(a.name);if(l!==h){if(l)c.data.enabledAppCollections.push(a.name);else c.data.enabledAppCollections.splice(c.data.enabledAppCollections.indexOf(a.name),1);await to(l0,c.data)}a.activated=l,Mm(a)}var MS=[{columnId:"name",text:"App Collection"},{columnId:"enabled",text:"Enabled"},{columnId:"InDebug",text:"In Debug"},{columnId:"Delete",text:""}];function Fg(a){if(w1.value)return null;return/*@__PURE__*/n(v1,{gap:16,children:[/*@__PURE__*/n(g4,{children:/*@__PURE__*/n(v1,{gap:8,horizontal:!0,children:[/*@__PURE__*/n(Ag,{},void 0,!1,void 0,this),q2||f5()?/*@__PURE__*/n(s2,{appearance:"secondary",onClick:()=>{n8.value=!0},icon:/*@__PURE__*/n(Ni,{},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__*/n(F4,{children:[/*@__PURE__*/n(R4,{children:/*@__PURE__*/n(F3,{children:MS.map((l)=>/*@__PURE__*/n(p4,{children:l.text},l.columnId,!1,void 0,this))},void 0,!1,void 0,this)},void 0,!1,void 0,this),/*@__PURE__*/n(C4,{children:i7.value.map((l)=>/*@__PURE__*/n(F3,{children:[/*@__PURE__*/n(M7,{children:/*@__PURE__*/n(m7,{media:/*@__PURE__*/n(Oi,{},void 0,!1,void 0,this),children:/*@__PURE__*/n(P0,{onClick:()=>{w1.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__*/n(M7,{children:/*@__PURE__*/n(m7,{children:/*@__PURE__*/n(Vg,{app:l,onChange:eS},void 0,!1,void 0,this)},void 0,!1,void 0,this)},void 0,!1,void 0,this),/*@__PURE__*/n(M7,{children:/*@__PURE__*/n(m7,{children:/*@__PURE__*/n(ug,{app:l},void 0,!1,void 0,this)},void 0,!1,void 0,this)},void 0,!1,void 0,this),/*@__PURE__*/n(M7,{children:/*@__PURE__*/n(m7,{children:/*@__PURE__*/n(Lg,{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)}Y2();async function mS(a,l){let c=V7(a),h=a.web.getFileByUrl(`${S1}/${l}/${X0}`),Z=await h.exists(),o={data:rc,error:"",isError:!1,warnings:[]};if(!Z)return await t8(a,l),await a.web.lists.getByTitle(S1).rootFolder.folders.getByUrl(l).files.addUsingPath(X0,JSON.stringify(rc)),j0(`Created ${X0} in ${S1}/${l} folder in ${c}`),o;try{let r=await(await h.getBlob()).text(),e=JSON.parse(r);return o.data=e,o}catch(v){let r=`Error while parsing ${X0} in ${S1}/${l} folder in ${c}`;return n1(r,v),o.error=r,o.isError=!0,o}}async function Rg(a,l,c){await mS(a,l);let h=a.web.getFileByUrl(`${S1}/${l}/${X0}`);try{return await h.setContent(JSON.stringify(c)),!0}catch(Z){let o=V7(a);return n1(`Error while updating ${X0} in ${S1}/${l} folder in ${o}`,Z),!1}}var tS=v6({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 xg(a){let l=tS(),c=[l.root],h={};if(a.disableShrink)c.push(l.disableShrink);else if(a.shrink)h.flexShrink=a.shrink;if(a.grow)h.flexGrow=a.grow;if(a.basis)h.flexBasis=a.basis;if(HS(a,c,l),a.className)c.push(a.className);return/*@__PURE__*/n("div",{className:c.join(" "),style:{...h},children:a.children},void 0,!1,void 0,this)}function HS(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 pg(a,l=0){let h=(/*@__PURE__*/new TextEncoder()).encode(a),Z=await window.crypto.subtle.digest("SHA-1",h),v=Array.from(new Uint8Array(Z)).map((r)=>r.toString(16).padStart(2,"0")).join("");return l>0?v.substring(0,l):v}var Hm=(a,l)=>l.some((c)=>a instanceof c),wg,Dg;function AS(){return wg||(wg=[IDBDatabase,IDBObjectStore,IDBIndex,IDBCursor,IDBTransaction])}function VS(){return Dg||(Dg=[IDBCursor.prototype.advance,IDBCursor.prototype.continue,IDBCursor.prototype.continuePrimaryKey])}var Am=/*@__PURE__*/new WeakMap,mm=/*@__PURE__*/new WeakMap,Ro=/*@__PURE__*/new WeakMap;function iS(a){let l=new Promise((c,h)=>{let Z=()=>{a.removeEventListener("success",o),a.removeEventListener("error",v)},o=()=>{c(W3(a.result)),Z()},v=()=>{h(a.error),Z()};a.addEventListener("success",o),a.addEventListener("error",v)});return Ro.set(l,a),l}function nS(a){if(Am.has(a))return;let l=new Promise((c,h)=>{let Z=()=>{a.removeEventListener("complete",o),a.removeEventListener("error",v),a.removeEventListener("abort",v)},o=()=>{c(),Z()},v=()=>{h(a.error||new DOMException("AbortError","AbortError")),Z()};a.addEventListener("complete",o),a.addEventListener("error",v),a.addEventListener("abort",v)});Am.set(a,l)}var Vm={get(a,l,c){if(a instanceof IDBTransaction){if(l==="done")return Am.get(a);if(l==="store")return c.objectStoreNames[1]?void 0:c.objectStore(c.objectStoreNames[0])}return W3(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 fg(a){Vm=a(Vm)}function uS(a){if(VS().includes(a))return function(...l){return a.apply(im(this),l),W3(this.request)};return function(...l){return W3(a.apply(im(this),l))}}function LS(a){if(typeof a==="function")return uS(a);if(a instanceof IDBTransaction)nS(a);if(Hm(a,AS()))return new Proxy(a,Vm);return a}function W3(a){if(a instanceof IDBRequest)return iS(a);if(mm.has(a))return mm.get(a);let l=LS(a);if(l!==a)mm.set(a,l),Ro.set(l,a);return l}var im=(a)=>Ro.get(a);function Bg(a,l,{blocked:c,upgrade:h,blocking:Z,terminated:o}={}){let v=indexedDB.open(a,l),r=W3(v);if(h)v.addEventListener("upgradeneeded",(e)=>{h(W3(v.result),e.oldVersion,e.newVersion,W3(v.transaction),e)});if(c)v.addEventListener("blocked",(e)=>c(e.oldVersion,e.newVersion,e));return r.then((e)=>{if(o)e.addEventListener("close",()=>o());if(Z)e.addEventListener("versionchange",(M)=>Z(M.oldVersion,M.newVersion,M))}).catch(()=>{}),r}function Tg(a,{blocked:l}={}){let c=indexedDB.deleteDatabase(a);if(l)c.addEventListener("blocked",(h)=>l(h.oldVersion,h));return W3(c).then(()=>{return})}var dS=["get","getKey","getAll","getAllKeys","count"],gS=["put","add","delete","clear"],tm=/*@__PURE__*/new Map;function sg(a,l){if(!(a instanceof IDBDatabase&&!(l in a)&&typeof l==="string"))return;if(tm.get(l))return tm.get(l);let c=l.replace(/FromIndex$/,""),h=l!==c,Z=gS.includes(c);if(!(c in(h?IDBIndex:IDBObjectStore).prototype)||!(Z||dS.includes(c)))return;let o=async function(v,...r){let e=this.transaction(v,Z?"readwrite":"readonly"),M=e.store;if(h)M=M.index(r.shift());return(await Promise.all([M[c](...r),Z&&e.done]))[0]};return tm.set(l,o),o}fg((a)=>({...a,get:(l,c,h)=>sg(l,c)||a.get(l,c,h),has:(l,c)=>!!sg(l,c)||a.has(l,c)}));var CS=["continue","continuePrimaryKey","advance"],kg={},nm=/*@__PURE__*/new WeakMap,Wg=/*@__PURE__*/new WeakMap,FS={get(a,l){if(!CS.includes(l))return a[l];let c=kg[l];if(!c)c=kg[l]=function(...h){nm.set(this,Wg.get(this)[l](...h))};return c}};async function*RS(...a){let l=this;if(!(l instanceof IDBCursor))l=await l.openCursor(...a);if(!l)return;l=l;let c=new Proxy(l,FS);Wg.set(c,l),Ro.set(c,im(l));while(l)yield c,l=await(nm.get(c)||l.continue()),nm.delete(c)}function Sg(a,l){return l===Symbol.asyncIterator&&Hm(a,[IDBIndex,IDBObjectStore,IDBCursor])||l==="iterate"&&Hm(a,[IDBIndex,IDBObjectStore])}fg((a)=>({...a,get(l,c,h){if(Sg(l,c))return RS;return a.get(l,c,h)},has(l,c){return Sg(l,c)||a.has(l,c)}}));var _1={AppFolderManifestCache:"AppFolderManifestCache",AppCollectionManifestCache:"AppCollectionManifestCache",AllowedApps:"AllowedApps",HubSiteData:"HubSiteData",SPFxExtensionConfig:"SPFxExtensionConfig"},bg=`${Y7.SPFXEXT}COREDB`,Og=Bg(bg,1,{blocking(a,l,c){l5.close(),alert("A new version of this page is ready. Please reload the page.")},async upgrade(a,l,c,h,Z){if(l===0)a.createObjectStore(_1.AppFolderManifestCache,{keyPath:"url"}),a.createObjectStore(_1.AppCollectionManifestCache,{keyPath:"url"}),a.createObjectStore(_1.AllowedApps,{keyPath:"Id"}),a.createObjectStore(_1.HubSiteData,{keyPath:"SiteId"}),a.createObjectStore(_1.SPFxExtensionConfig,{keyPath:"Title"})}});Og.catch((a)=>{throw n1("Error opening database for Core, please contact your administrator."),Tg(bg).then(()=>{window.location.reload()}),a});var l5=await Og;function u8(a){let l=/*@__PURE__*/new Date;return l.setMinutes(l.getMinutes()+a),{expires:l.toISOString()}}async function L8(a,l){let c=await l5.getAll(a),h=/*@__PURE__*/new Date,Z=c.filter((v)=>{let r=new Date(v.expires);return h>=r}),o=Z.length;if(o>0){let v=l5.transaction(a,"readwrite"),r=v.objectStore(a);Z.forEach((e)=>r.delete(e[l])),await v.done,O2(`Evicted ${o} items from ${a} cache.`)}return o}async function um(){return await L8(_1.SPFxExtensionConfig,"Title"),l5.getAll(_1.SPFxExtensionConfig)}async function b3(a){return await L8(_1.SPFxExtensionConfig,"Title"),l5.get(_1.SPFxExtensionConfig,a)}async function G2(a,l=60){await l5.put(_1.SPFxExtensionConfig,{...a,...u8(l)})}function Ug(a,l){let c=l5.transaction(_1.SPFxExtensionConfig,"readwrite"),h=c.objectStore(_1.SPFxExtensionConfig);return a.forEach((Z)=>h.put({...Z,...u8(l)})),c.done}async function Pg(){return l5.getAll(_1.AllowedApps)}async function Lm(a){return l5.get(_1.AppFolderManifestCache,a)}async function dm(a){return l5.get(_1.AppCollectionManifestCache,a)}async function VR1(a){return l5.get(_1.HubSiteData,a)}async function iR1(a,l=60){await l5.put(_1.HubSiteData,{...a,...u8(l)})}async function xS(a,l=60){await l5.put(_1.AppCollectionManifestCache,{...a,...u8(l)})}async function pS(a,l=60){await l5.put(_1.AppFolderManifestCache,{...a,...u8(l)})}async function Ig(a,l=5){let c=u8(l),h=l5.transaction(_1.AllowedApps,"readwrite"),Z=h.objectStore(_1.AllowedApps);return a.forEach((o)=>Z.put({...c,...o})),h.done}function wS(a){return l5.delete(_1.AppCollectionManifestCache,a)}function DS(a){return l5.delete(_1.AppFolderManifestCache,a)}async function sS(){return L8(_1.AppCollectionManifestCache,"url")}async function kS(){return L8(_1.AppFolderManifestCache,"url")}async function qg(){return L8(_1.AllowedApps,"Id")}async function nR1(){return L8(_1.HubSiteData,"SiteId")}async function Gg(a){if(a){let l=await Lm(a.url);if(l){if(l.hash!==a.hash)await DS(a.url),O2(`Evicted ${X0} ${l.url} from cache. Because of hash mismatch.`)}}return kS()}async function zg(a){if(a){let l=await dm(a.url);if(l){if(l.hash!==a.hash)await wS(a.url),O2(`Evicted ${h2} ${l.url} from cache. Because of hash mismatch.`)}}return sS()}async function uR1(a){if(await Gg(),sc)return;return Lm(a)}async function LR1(a,l){await Gg(a);let c=await Lm(a.url);if(c&&c.hash===a.hash&&!sc)return;await pS(a,l)}async function dR1(a,l){await zg(a);let c=await dm(a.url);if(c&&c.hash===a.hash&&!sc)return;await xS(a,l)}async function gR1(a){if(await zg(),sc)return;return dm(a)}var gm=/*@__PURE__*/new Map;async function Kg(a,l=!1){let c="";if(gm.has(a)&&!l)c=gm.get(a)||"";if(c)return c;let h=await fetch(`${a}/_api/contextinfo`,{method:"POST",headers:{Accept:"application/json;odata=verbose","Content-Type":"application/json"}});if(h.status===200){let o=(await h.json()).d.GetContextWebInformation.FormDigestValue;return gm.set(a,o),o}else n1("Error while getting digest",h.status);return""}var Cm=(a)=>{},xo;async function po(a=""){if(xo)return xo;xo=new Promise((l)=>{Cm=l});try{let h=(await(await fetch(`${a}/_api/SP_TenantSettings_Current`,{headers:{Accept:"application/json;odata=verbose"}})).json()).d.CorporateCatalogUrl;Cm(h)}catch(l){n1("Error while getting app catalog url. Trying default /sites/appcatalog",l);let c=`${window.location.origin}/sites/appcatalog`;Cm(c)}return xo}async function Jg(a=""){let l=await b3("AppCatalogUrl");if(l?.Data)return l.Data;let c=await po(a);return await G2({Title:"AppCatalogUrl",Data:c,date:"",expires:""},240),c}async function B5(a=""){let c=`${await Jg()}${a?`/${a}`:""}`;return Kg(c)}var SS=await Jg(),H0=`${SS}/${w0}`;var Eg={Status:"Status",RootCDNLocation:"RootCDNLocation",InterceptHistory:"InterceptHistory",EnableAppWhiteList:"EnableAppWhiteList",AppCatalogUrl:"AppCatalogUrl",SPFxDataSite:"SPFxDataSite",ConfiguratorPageData:"ConfiguratorPageData",AppWhiteList:"AppWhiteList",Version:"2025-05-01T11:03:17.305Z"},$g=[{Title:"Status",Data:"Installed"},{Title:"InterceptHistory",Data:"true"},{Title:"EnableAppWhiteList",Data:"false"},{Title:"RootCDNLocation",Data:`/sites/appcatalog/${w0}`}];function Qg(a){let l=$g.find((c)=>c.Title==="RootCDNLocation");if(l)l.Data=a;return $g}var fS=Object.keys(Eg).length,wo;async function BS(){let a=`${H0}/_api/web/lists/GetByTitle('${Q6}')/fields`;try{let l=await fetch(a,{headers:{Accept:"application/json;odata=verbose"}});if(l.status===200){let h=(await l.json()).d.results,Z=h.map((v)=>v.InternalName),o=h.find((v)=>v.InternalName==="Title");if(!o){n1("Title field not found.");return}if(!o.EnforceUniqueValues){let v=await B5(w0);if((await fetch(`${H0}/_api/web/lists/GetByTitle('${Q6}')/fields('${o.Id}')`,{method:"POST",headers:{Accept:"application/json;odata=verbose","Content-Type":"application/json;odata=verbose","X-RequestDigest":v,"X-HTTP-Method":"MERGE","If-Match":"*"},body:JSON.stringify({__metadata:{type:"SP.Field"},Indexed:!0,EnforceUniqueValues:!0})})).status===204)j0("Title field updated successfully.");else n1("Unable to update Title field.")}if(!Z.includes("Data")){let v=await B5(w0);if((await fetch(a,{method:"POST",headers:{Accept:"application/json;odata=verbose","Content-Type":"application/json;odata=verbose","X-RequestDigest":v},body:JSON.stringify({__metadata:{type:"SP.Field"},Title:"Data",FieldTypeKind:2,Required:!0})})).status===201)j0("Data field added successfully.");else n1("Unable to add Data field.")}}}catch(l){n1("Error while ensuring configuration list data fields.",l)}}async function TS(){let a=!1;try{if(a=(await fetch(`${H0}/_api/web/lists/GetByTitle('${Q6}')`)).status===404,a){let c=await B5(w0);if(j0("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)j0("Configuration list created successfully.");else n1("Unable to create configuration list.")}await BS()}catch(l){n1("Error while ensuring configuration list.",l)}return a}async function Yg(){let a=`${H0}/_api/web/lists/GetByTitle('${Q6}')/items?$select=Title,Data`,c=await fetch(a,{...{headers:{Accept:"application/json;odata=verbose"}}});if(c.status!==200)return n1("Unable to fetch configuration list items."),[];return(await c.json()).d.results}async function WS(){let a=await B5(w0);for(let l of Qg(H0))if((await fetch(`${H0}/_api/web/lists/GetByTitle('${Q6}')/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)j0(`Item ${l.Title} added successfully.`);else n1(`Unable to add item ${l.Title}.`)}function Xg(a=!1){if(a)return Yg();if(wo)return wo;return wo=bS(),wo}async function bS(){let a=await um();if(a.length<fS){if(await TS())await WS();let c=await Yg();await Ug(c,240),a=await um()}return a}async function OS(a){let l=await po(),c=await B5(),h=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(!h.ok)throw new Error(`Failed to create SPFxExtensionsData web in ${l}`);return await h.json()}async function US(){let a=await po(),l=await B5(),c=await fetch(`${a}/${w0}/_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 n1(`Failed to fetch data from ${a}/${w0}/_api/web`),{data:void 0,isError:!0,error:`Failed to fetch data from ${a}/${w0}/_api/web`,warnings:[]}}return{data:await c.json(),isError:!1,error:"",warnings:[]}}async function PS(){return(await b3("SPFxDataSite"))?.Data}var Do;function yg(){if(Do)return Do;return Do=IS(),Do}async function IS(){let a=await PS();if(!a){let l=await US();if(!l.isError&&!l.data){let c=await OS(w0);l.data=c}return await G2({Title:"SPFxDataSite",Data:l.data,date:"",expires:""},240),l.data}return a}var Fm="f3ab710f-2c08-422e-a7ad-5d93eb51e7a3",so={accept:"application/json"},qS={"Content-Type":"application/json"};async function GS(){let l={"X-RequestDigest":await B5(w0)};return(await(await fetch(`${H0}/_api/sitepages/pages`,{headers:{...so,...l,...qS},body:JSON.stringify({PageLayoutType:"SingleWebPartAppPage",PromotedState:0}),method:"POST"})).json()).Id}async function Rm(){let a=await fetch(`${H0}/_api/sitepages/pages/GetByUrl('${IZ}')`,{headers:{...so},method:"GET"});if(a.status===404)return;return await a.json()}var zS=[{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"}],KS=[{addedFromPersistedData:!1,controlType:3,displayMode:2,emphasis:{},id:Fm,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:eM,instanceId:Fm,properties:{description:"Select an app to load from the dropdown below",selectedApp:QL,SPFxExtensionAppConfiguration:void 0},title:"SPFx Extension Loader"},webPartId:eM},{controlType:0,pageSettingsSlice:{isDefaultDescription:!0,isDefaultThumbnail:!0}}],JS={CanvasContent1:`${JSON.stringify(KS)}`,LayoutWebpartsContent:`${JSON.stringify(zS)}`,Title:YL};async function jg(a){let c={"X-RequestDigest":await B5(w0)};await fetch(`${H0}/_api/sitepages/pages(${a})/savepage`,{headers:{"Content-Type":"application/json",...so,...c},body:JSON.stringify(JS),method:"POST"}),await fetch(`${H0}/_api/sitepages/pages(${a})/publish`,{headers:{...so,...c},method:"POST"})}async function $S(){let a=await GS();return await jg(a),Rm()}async function ES(){let a=await b3("ConfiguratorPageData");if(a?.Data)return a.Data;let l=await Rm();if(l)await G2({Title:"ConfiguratorPageData",Data:l,date:"",expires:""},480);return l}async function Ng(){let a=await ES();if(!a)return $S();if(a.CanvasContent1.indexOf(Fm)===-1){await jg(a.Id);let l=await Rm();return await G2({Title:"ConfiguratorPageData",Data:l,date:"",expires:""},480),l}return a}async function QS(){let a=`${H0}/_api/web/lists/GetByTitle('${Y6}')/fields`;try{let l=await fetch(a,{headers:{Accept:"application/json;odata=verbose"}});if(l.status===200){if(!(await l.json()).d.results.map((o)=>o.InternalName).some((o)=>o==="EntryPointUrl"))await YS(a,"EntryPointUrl","Full URL to the Entrypoint JS file, if * is specified all entries will be allowed.",!0)}}catch(l){n1("Error while ensuring list fields.",l)}}async function YS(a,l,c,h){let Z=await B5(w0);if((await fetch(a,{method:"POST",headers:{Accept:"application/json;odata=verbose","Content-Type":"application/json;odata=verbose","X-RequestDigest":Z},body:JSON.stringify({__metadata:{type:"SP.Field"},Title:l,FieldTypeKind:3,Required:h,Description:c})})).status===201)j0(l,"field added successfully.");else n1(l,"Unable to add field.")}async function XS(){try{let a=await fetch(`${H0}/_api/web/lists/GetByTitle('${Y6}')?$select=*`,{method:"GET",headers:{Accept:"application/json;odata=verbose"}});if(a.status===404){j0("Creating app white list.");let c=await B5(w0),h=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:Y6,Description:"App whitelist for SPFxExtensions"})});if(h.status===201)return j0("App whitelist created successfully."),h.json();else{n1("Unable to create app whitelist.");return}}return await QS(),a.json()}catch(a){n1("Error while ensuring app whitelist.",a)}return}async function _g(){let a=await b3("AppWhiteList");if(a?.Data)return a.Data;let l=await XS();if(l)await G2({Title:"AppWhiteList",Data:l,date:"",expires:""},480);return l}var ko;async function yS(){if(ko)return ko;return ko=jS(),ko}async function jS(){await yg(),await _g(),await Ng(),window.__SPFxExtensions.Utils.ConfiguratorPageUrl=`${H0}/${IZ}`}async function d8(a=!1){return await yS(),Xg(a)}async function hx1(){return`${`${(await d8()).find((h)=>h.Title==="RootCDNLocation")?.Data??`${H0}`}${XL}`}${h2}`}async function Mx1(){let a=await d8(),l=["spfxextensions","ff36e5d0-f7c7-421d-9e21-0a422626209a"];if(a.find((c)=>c.Title==="Version")?.Data!=="2025-05-01T11:03:17.305Z"){a=await d8(!0),G2({Title:"Version",Data:"2025-05-01T11:03:17.305Z",date:"",expires:""},240);let c=await caches.keys(),h=!1;for(let Z of c){let o=await caches.open(Z),v=await o.keys(),r=[];for(let e of v){let M=e.url.toLowerCase();if(l.some((t)=>M.indexOf(t)>-1))zZ("Deleting cache key",e),h=!0,r.push(o.delete(e,{ignoreMethod:!0,ignoreSearch:!0}))}await Promise.allSettled(r)}if(h)window.location.reload()}}function aC(){return pg(`${Date.now()}`,13)}function lC(){let a=$7(""),l=$7(!1);async function c(Z,o){l.value=o.open}async function h(){if(!a.value||!w1.value||w1.value.manifest.appDefinitionMap.some((v)=>v.appId===a.value))return;let Z={appId:a.value,config:U1(X6)},o=U1(w1.value);o.manifest.appDefinitionMap.push(Z),w1.value=o,l.value=!1}if(!w1.value||w1.value.manifest.isESM)return null;return/*@__PURE__*/n(D5,{open:l.value,surfaceMotion:null,modalType:"alert",onOpenChange:c,children:[/*@__PURE__*/n(q0,{disableButtonEnhancement:!0,children:/*@__PURE__*/n(s2,{appearance:"outline",icon:/*@__PURE__*/n(w6,{},void 0,!1,void 0,this),children:"Add Entry"},void 0,!1,void 0,this)},void 0,!1,void 0,this),/*@__PURE__*/n(w2,{children:/*@__PURE__*/n(x2,{children:[/*@__PURE__*/n(p2,{action:/*@__PURE__*/n(q0,{disableButtonEnhancement:!0,action:"close",children:/*@__PURE__*/n(F1,{appearance:"subtle","aria-label":"close",icon:/*@__PURE__*/n(h7,{},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__*/n(D2,{style:{padding:"16px 0"},children:/*@__PURE__*/n(n5,{value:a.value,style:{width:"100%"},placeholder:"Enter application id or entrypoint path",onChange:(Z,o)=>{a.value=o.value}},void 0,!1,void 0,this)},void 0,!1,void 0,this),/*@__PURE__*/n(R2,{children:[/*@__PURE__*/n(q0,{disableButtonEnhancement:!0,action:"close",children:/*@__PURE__*/n(F1,{appearance:"secondary",children:"Close"},void 0,!1,void 0,this)},void 0,!1,void 0,this),/*@__PURE__*/n(F1,{appearance:"primary",disabled:!a.value||w1.value?.manifest.appDefinitionMap.some((Z)=>Z.appId===a.value),onClick:()=>{h()},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)}var NS=_S();async function _S(){try{let a=await qg(),l=await Pg();if(l.length>0&&!a)return l;if(l.length>0)j0("Cache mismatch, loading allowed apps data...");let c=await cC();return await Ig(c,5),c}catch(a){return n1("Unable to load allowed apps data...",a),[]}}async function cC(a=!1){if((await d8(a)).find((h)=>h.Title==="EnableAppWhiteList")?.Data!=="true")return[{Id:1,Title:"All apps allowed",EntryPointUrl:"*",date:(/*@__PURE__*/new Date()).toISOString(),expires:(/*@__PURE__*/new Date()).toISOString()}];return af()}async function af(){let a=`${H0}/_api/web/lists/getByTitle('${Y6}')/Items?$select=Id,Title,EntryPointUrl&$top=1000`;return await lf(a)}async function lf(a){let l=a,c=[];while(l){let Z=await(await fetch(l,{method:"GET",headers:{Accept:"application/json;odata=verbose"}})).json();if(Z.error)throw new Error(JSON.stringify(Z.error));c.push(...Z.d.results),l=Z.d.__next}return c}function cf(a,l){if(l.some((Z)=>Z.EntryPointUrl==="*"))return!0;let h=(a.origin+a.pathname).toLowerCase();return l.some((Z)=>{try{let o=new URL(Z.EntryPointUrl),v=o.origin+o.pathname;return h===v.toLowerCase()}catch(o){return n1("Error while parsing allowed entry URL",Z.EntryPointUrl,o),!1}})}async function hC(a,l,c=!1){if(ig(a))return!0;let h=c?await cC(c):await NS;if(!cf(a,h))return O2("File",a,`is not allowed to be executed. Please add it to whitelist @ ${H0}.`),O2(`If you are a developer you can enable this app by adding localStorage item ${Y7.SPFXEXT}${l} with a number value corresponding to development port of the localhost server.`),!1;return!0}async function ZC(a){if(!a.manifest.isESM){let c=[];for(let Z of a.manifest.appRelativeEntryPointUrls){let o=a.manifest.appDefinitionMap.find((v)=>v.appId===Z)?.config??U1(X6);c.push({appId:Z,name:Z,resolved:!0,config:o})}let h=a.manifest.appDefinitionMap.filter((Z)=>!c.some((o)=>o.appId===Z.appId)).map((Z)=>({...Z,name:`${Z.appId}`,resolved:!0}));return c.push(...U1(h)),c}let l=a.manifest.appDefinitionMap.map((c)=>{return{appId:c.appId,name:`Unknown_${c.appId}`,resolved:!1,config:c.config??U1(X6)}});for(let c of a.manifest.appRelativeEntryPointUrls){let h=c.replace(/\.\.\/?/g,"").replace(/\.\//g,""),Z=new URL(`${go}/${S1}/${a.name}/${h}`);if(!await hC(Z,a.name,!0))continue;Z.searchParams.set("t",`${Date.now()}`);try{let v=await import(`${Z}`);if(!v.default){n1(`Invalid app definition file ${Z}, default export not available.`);continue}if(!Array.isArray(v.default)){n1(`Invalid app definition file ${Z}, default export should be an array.`);continue}if(v.default.some((r)=>!r.id||!r.name)){n1(`Invalid app definition file ${Z}, default export should be an array of objects with id and name properties.`);continue}for(let r of v.default){let e=l.find((M)=>M.appId===r.id);if(e){e.name=r.name,e.resolved=!0;continue}l.push({appId:r.id,name:r.name,resolved:!0,config:U1(X6)})}}catch(v){n1(`Error loading ${Z}`,v);continue}}return l}Y2();var hf=Co();function oC({appDefinitions:a}){let l=T7(),[c,h]=m1(R1.value),[Z,o]=m1(!1),[v,r]=m1([]),[e,M]=m1([]),[t,m]=m1([]);if(G5(()=>{if(!R1.value)return;if(!c){h(R1.value);return}let H=JSON.stringify(R1.value),A=JSON.stringify(c);h(R1.value),o(H!==A)}),G5(()=>{if(!q2){if(f5())uo(l0,s0.value.urlMap).then((H)=>{r(H?[H]:[])});if(Lo()&&!f5())no(l0).then((H)=>{M(H?[H]:[])})}else{let H=Ho(s0.value.urlMap);r(H.hubs),M(H.sites),m(H.webs)}}),!R1.value||!w1.value)return null;return/*@__PURE__*/n(f2,{...l,separator:!0,open:!!R1.value,position:"end",size:"large",children:[/*@__PURE__*/n(T2,{children:/*@__PURE__*/n(W2,{action:/*@__PURE__*/n(F1,{appearance:"subtle","aria-label":"Close",icon:/*@__PURE__*/n(h7,{},void 0,!1,void 0,this),onClick:()=>{R1.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__*/n(B2,{children:/*@__PURE__*/n(V1,{children:[/*@__PURE__*/n(v1,{horizontal:!0,horizontalAlign:"space-between",verticalAlign:"center",children:[/*@__PURE__*/n(v1,{horizontal:!0,verticalAlign:"center",gap:8,children:[/*@__PURE__*/n(k0,{children:"Enable everywhere"},void 0,!1,void 0,this),/*@__PURE__*/n(F2,{withArrow:!0,children:[/*@__PURE__*/n(l2,{disableButtonEnhancement:!0,children:/*@__PURE__*/n(P0,{children:/*@__PURE__*/n(Jh,{},void 0,!1,void 0,this)},void 0,!1,void 0,this)},void 0,!1,void 0,this),/*@__PURE__*/n(C2,{tabIndex:-1,children:/*@__PURE__*/n(c2,{children:hf==="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__*/n(C0,{defaultChecked:R1.value.config.enabledEverywhere,onChange:(H,A)=>{let V=U1(R1.value);V.config.enabledEverywhere=A.checked,V.config.includedIds=[],V.config.excludedIds=[],V.config.includedHubIds=[],V.config.excludedHubIds=[],R1.value=V}},void 0,!1,void 0,this)]},void 0,!0,void 0,this),/*@__PURE__*/n(v1,{gap:12,children:[/*@__PURE__*/n(t5,{children:"Hub sites"},void 0,!1,void 0,this),/*@__PURE__*/n(P5,{},void 0,!1,void 0,this),/*@__PURE__*/n(v1,{children:v.length>0?/*@__PURE__*/n(Fo,{hubSites:v,control:"switch"},void 0,!1,void 0,this):null},void 0,!1,void 0,this),/*@__PURE__*/n(t5,{children:"Site collections"},void 0,!1,void 0,this),/*@__PURE__*/n(P5,{},void 0,!1,void 0,this),/*@__PURE__*/n(v1,{children:e.length>0?/*@__PURE__*/n(i8,{additionalIcon:/*@__PURE__*/n(p6,{},void 0,!1,void 0,this),siteCollections:e,control:"switch"},void 0,!1,void 0,this):null},void 0,!1,void 0,this),/*@__PURE__*/n(t5,{children:"Webs"},void 0,!1,void 0,this),/*@__PURE__*/n(P5,{},void 0,!1,void 0,this),/*@__PURE__*/n(v1,{children:t.length>0?/*@__PURE__*/n(T3,{additionalIcon:/*@__PURE__*/n(Ph,{},void 0,!1,void 0,this),webs:t,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__*/n(K7,{children:/*@__PURE__*/n(v1,{horizontal:!0,gap:8,horizontalAlign:"center",children:[/*@__PURE__*/n(F1,{appearance:"secondary",onClick:()=>{R1.value=void 0},children:"Cancel"},void 0,!1,void 0,this),/*@__PURE__*/n(F1,{appearance:"primary",disabled:!Z,onClick:()=>{if(!R1.value)return;let H=U1(w1.value),A=U1(R1.value);H.manifest.appDefinitionMap=H.manifest.appDefinitionMap.filter((V)=>V.appId!==A.appId),H.manifest.appDefinitionMap.push(A),w1.value=H,R1.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 vC(){let a=$7([]),l=$7(!1);async function c(Z){l.value=!1;let o=await ZC(Z);l.value=!0,a.value=o}function h(Z){if(!w1.value)return;let o=U1(w1.value);o.manifest.appDefinitionMap=o.manifest.appDefinitionMap.filter((v)=>v.appId!==Z.appId),w1.value=o}if(G5(()=>{if(!w1.value)return;c(w1.value)}),!w1.value)return null;if(!l.value)return/*@__PURE__*/n(v1,{style:{marginTop:"10px"},children:/*@__PURE__*/n(G7,{},void 0,!1,void 0,this)},void 0,!1,void 0,this);return/*@__PURE__*/n(v1,{style:{marginTop:"10px",borderBottom:"1px solid #eaeaea"},children:[a.value.map((Z)=>{return/*@__PURE__*/n(v1,{horizontal:!0,gap:8,horizontalAlign:"space-between",verticalAlign:"center",style:{borderTop:"1px solid #eaeaea",padding:"10px 6px",minHeight:"53px"},children:[/*@__PURE__*/n(v1,{horizontal:!0,verticalAlign:"center",gap:8,grow:!0,children:[/*@__PURE__*/n(Ui,{},void 0,!1,void 0,this)," ",/*@__PURE__*/n(P0,{size:"medium",onClick:()=>{R1.value={appId:Z.appId,config:Z.config}},children:Z.name},void 0,!1,void 0,this)]},void 0,!0,void 0,this),/*@__PURE__*/n(v1,{gap:8,horizontal:!0,children:[!w1.value.manifest.isESM||w1.value.manifest.isESM&&!Z.resolved?/*@__PURE__*/n(F1,{"aria-label":"Delete configuration item",icon:/*@__PURE__*/n(m3,{},void 0,!1,void 0,this),onClick:()=>{h(Z)}},void 0,!1,void 0,this):null,/*@__PURE__*/n(F1,{"aria-label":"Edit sites",icon:/*@__PURE__*/n(bi,{},void 0,!1,void 0,this),onClick:()=>{R1.value={appId:Z.appId,config:Z.config}}},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)}),/*@__PURE__*/n(oC,{appDefinitions:a.value},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}Y2();async function rC(a){let l={data:[],warnings:[],error:"",isError:!1},c=a.find((v)=>v.path.toLowerCase().endsWith(X0)),h=-1,Z="/";if(!c)l.warnings.push("No manifest.txt file found."),l.isError=!1;else h=c.path.lastIndexOf("/"),Z=c.path.substring(0,h+1);for(let v of a){if(v.size===0)continue;let r=await v.arrayBuffer(),e=new Uint8Array(r),M=v.path,t=v.path.lastIndexOf("/"),m=t>-1?v.path.substring(0,t+1):"",H="/";if(m){let A=m.split("/").filter((i)=>i.length>0),V=Z.split("/").filter((i)=>i.length>0);A.forEach((i)=>{if(V.includes(i))H+=`${i}/`})}M=M.replace(H,"").replace(/^\./,""),l.data.push({fileName:M,content:e})}let o=[];if(Z!=="/"){if(o=a.filter((v)=>!v.path.startsWith(Z)),o.length>0)l.warnings.push("Some files are outside of manifest.txt directory."),l.warnings.push(...o.map((v)=>`File: ${v.relativePath}`))}return l}async function*eC(a,l,c){await t8(a,l);let h=V7(a),Z={data:[],error:"",isError:!1,warnings:[]},o=[];for(let v of c){let r=v.fileName.lastIndexOf("/"),e=r>-1,M=e?v.fileName.substring(r+1):v.fileName,t=v.fileName.substring(0,r),m=`${S1}/${l}${t?`/${t}`:""}`,H=a.web.getFolderByServerRelativePath(m);if(e){if(!o.includes(t))try{await hg(a,l,t.split("/")),o.push(t)}catch(A){return Z.error=`Error while creating ${t} in ${m} folder in ${h}. ${A}`,Z.isError=!0,Z}}try{await H.files.addUsingPath(M,new Blob([v.content]),{Overwrite:!0});let A=`${M} uploaded successfully`;Z.data.push(A),yield{data:A,success:!0,fileName:v.fileName}}catch(A){let V=`Error while uploading ${M} in ${m} folder in ${h}`;n1(V,A),Z.warnings.push(V),yield{data:V,success:!1,fileName:v.fileName}}}if(Z.data.length===0&&Z.warnings.length>0)Z.error="All files failed to upload.",Z.isError=!0;return Z}async function Zf(a,l){let c=await a.web.using(Fd())(),h=a.web.lists.getByTitle(S1).items.select("FileLeafRef","FileDirRef").filter(`FSObjType eq 0 and substringof('${S1}/${l}',FileDirRef)`).top(100),Z=[],o=c.ServerRelativeUrl.replace(/\/$/,"");for await(let v of h)v.forEach((e)=>{let M=e.FileDirRef.replace(`${o}/${S1}/${l}`,"."),t=e.FileLeafRef;Z.push(`${M}/${t}`)});return Z}async function MC(a,l){return(await Zf(a,l)).filter((h)=>/\.js$/.test(h))}C();C();var X1=K4(SL(),1);var of=/*@__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 P4(a,l,c){let h=vf(a),{webkitRelativePath:Z}=a,o=typeof l==="string"?l:typeof Z==="string"&&Z.length>0?Z:`./${a.name}`;if(typeof h.path!=="string")mC(h,"path",o);if(c!==void 0)Object.defineProperty(h,"handle",{value:c,writable:!1,configurable:!1,enumerable:!0});return mC(h,"relativePath",o),h}function vf(a){let{name:l}=a;if(l&&l.lastIndexOf(".")!==-1&&!a.type){let h=l.split(".").pop().toLowerCase(),Z=of.get(h);if(Z)Object.defineProperty(a,"type",{value:Z,writable:!1,configurable:!1,enumerable:!0})}return a}function mC(a,l,c){Object.defineProperty(a,l,{value:c,writable:!1,configurable:!1,enumerable:!0})}var rf=[".DS_Store","Thumbs.db"];function pm(a){return w3(this,void 0,void 0,function*(){if(So(a)&&ef(a.dataTransfer))return Hf(a.dataTransfer,a.type);else if(Mf(a))return mf(a);else if(Array.isArray(a)&&a.every((l)=>("getFile"in l)&&typeof l.getFile==="function"))return tf(a);return[]})}function ef(a){return So(a)}function Mf(a){return So(a)&&So(a.target)}function So(a){return typeof a==="object"&&a!==null}function mf(a){return xm(a.target.files).map((l)=>P4(l))}function tf(a){return w3(this,void 0,void 0,function*(){return(yield Promise.all(a.map((c)=>c.getFile()))).map((c)=>P4(c))})}function Hf(a,l){return w3(this,void 0,void 0,function*(){if(a.items){let c=xm(a.items).filter((Z)=>Z.kind==="file");if(l!=="drop")return c;let h=yield Promise.all(c.map(Af));return tC(AC(h))}return tC(xm(a.files).map((c)=>P4(c)))})}function tC(a){return a.filter((l)=>rf.indexOf(l.name)===-1)}function xm(a){if(a===null)return[];let l=[];for(let c=0;c<a.length;c++){let h=a[c];l.push(h)}return l}function Af(a){if(typeof a.webkitGetAsEntry!=="function")return HC(a);let l=a.webkitGetAsEntry();if(l&&l.isDirectory)return VC(l);return HC(a,l)}function AC(a){return a.reduce((l,c)=>[...l,...Array.isArray(c)?AC(c):[c]],[])}function HC(a,l){return w3(this,void 0,void 0,function*(){var c;if(globalThis.isSecureContext&&typeof a.getAsFileSystemHandle==="function"){let o=yield a.getAsFileSystemHandle();if(o===null)throw new Error(`${a} is not a File`);if(o!==void 0){let v=yield o.getFile();return v.handle=o,P4(v)}}let h=a.getAsFile();if(!h)throw new Error(`${a} is not a File`);return P4(h,(c=l===null||l===void 0?void 0:l.fullPath)!==null&&c!==void 0?c:void 0)})}function Vf(a){return w3(this,void 0,void 0,function*(){return a.isDirectory?VC(a):nf(a)})}function VC(a){let l=a.createReader();return new Promise((c,h)=>{let Z=[];function o(){l.readEntries((v)=>w3(this,void 0,void 0,function*(){if(!v.length)try{let r=yield Promise.all(Z);c(r)}catch(r){h(r)}else{let r=Promise.all(v.map(Vf));Z.push(r),o()}}),(v)=>{h(v)})}o()})}function nf(a){return w3(this,void 0,void 0,function*(){return new Promise((l,c)=>{a.file((h)=>{let Z=P4(h,a.fullPath);l(Z)},(h)=>{c(h)})})})}var fo=K4(iC(),1);function nC(a){return Ff(a)||Cf(a)||FC(a)||gf()}function gf(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
166
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Cf(a){if(typeof Symbol!=="undefined"&&a[Symbol.iterator]!=null||a["@@iterator"]!=null)return Array.from(a)}function Ff(a){if(Array.isArray(a))return wm(a)}function uC(a,l){var c=Object.keys(a);if(Object.getOwnPropertySymbols){var h=Object.getOwnPropertySymbols(a);l&&(h=h.filter(function(Z){return Object.getOwnPropertyDescriptor(a,Z).enumerable})),c.push.apply(c,h)}return c}function LC(a){for(var l=1;l<arguments.length;l++){var c=arguments[l]!=null?arguments[l]:{};l%2?uC(Object(c),!0).forEach(function(h){CC(a,h,c[h])}):Object.getOwnPropertyDescriptors?Object.defineProperties(a,Object.getOwnPropertyDescriptors(c)):uC(Object(c)).forEach(function(h){Object.defineProperty(a,h,Object.getOwnPropertyDescriptor(c,h))})}return a}function CC(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 kc(a,l){return pf(a)||xf(a,l)||FC(a,l)||Rf()}function Rf(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
167
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function FC(a,l){if(!a)return;if(typeof a==="string")return wm(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 wm(a,l)}function wm(a,l){if(l==null||l>a.length)l=a.length;for(var c=0,h=new Array(l);c<l;c++)h[c]=a[c];return h}function xf(a,l){var c=a==null?null:typeof Symbol!=="undefined"&&a[Symbol.iterator]||a["@@iterator"];if(c==null)return;var h=[],Z=!0,o=!1,v,r;try{for(c=c.call(a);!(Z=(v=c.next()).done);Z=!0)if(h.push(v.value),l&&h.length===l)break}catch(e){o=!0,r=e}finally{try{if(!Z&&c.return!=null)c.return()}finally{if(o)throw r}}return h}function pf(a){if(Array.isArray(a))return a}var wf=typeof fo.default==="function"?fo.default:fo.default.default,Df="file-invalid-type",sf="file-too-large",kf="file-too-small",Sf="too-many-files";var ff=function a(){var l=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",c=l.split(","),h=c.length>1?"one of ".concat(c.join(", ")):c[0];return{code:Df,message:"File type must be ".concat(h)}},dC=function a(l){return{code:sf,message:"File is larger than ".concat(l," ").concat(l===1?"byte":"bytes")}},gC=function a(l){return{code:kf,message:"File is smaller than ".concat(l," ").concat(l===1?"byte":"bytes")}},RC={code:Sf,message:"Too many files"};function Dm(a,l){var c=a.type==="application/x-moz-file"||wf(a,l);return[c,c?null:ff(l)]}function sm(a,l,c){if(I4(a.size)){if(I4(l)&&I4(c)){if(a.size>c)return[!1,dC(c)];if(a.size<l)return[!1,gC(l)]}else if(I4(l)&&a.size<l)return[!1,gC(l)];else if(I4(c)&&a.size>c)return[!1,dC(c)]}return[!0,null]}function I4(a){return a!==void 0&&a!==null}function xC(a){var{files:l,accept:c,minSize:h,maxSize:Z,multiple:o,maxFiles:v,validator:r}=a;if(!o&&l.length>1||o&&v>=1&&l.length>v)return!1;return l.every(function(e){var M=Dm(e,c),t=kc(M,1),m=t[0],H=sm(e,h,Z),A=kc(H,1),V=A[0],i=r?r(e):null;return m&&V&&!i})}function Sc(a){if(typeof a.isPropagationStopped==="function")return a.isPropagationStopped();else if(typeof a.cancelBubble!=="undefined")return a.cancelBubble;return!1}function fc(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 km(a){a.preventDefault()}function Bf(a){return a.indexOf("MSIE")!==-1||a.indexOf("Trident/")!==-1}function Tf(a){return a.indexOf("Edge/")!==-1}function pC(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:window.navigator.userAgent;return Bf(a)||Tf(a)}function z2(){for(var a=arguments.length,l=new Array(a),c=0;c<a;c++)l[c]=arguments[c];return function(h){for(var Z=arguments.length,o=new Array(Z>1?Z-1:0),v=1;v<Z;v++)o[v-1]=arguments[v];return l.some(function(r){if(!Sc(h)&&r)r.apply(void 0,[h].concat(o));return Sc(h)})}}function wC(){return"showOpenFilePicker"in window}function DC(a){if(I4(a)){var l=Object.entries(a).filter(function(c){var h=kc(c,2),Z=h[0],o=h[1],v=!0;if(!fC(Z))console.warn('Skipped "'.concat(Z,'" 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.')),v=!1;if(!Array.isArray(o)||!o.every(BC))console.warn('Skipped "'.concat(Z,'" because an invalid file extension was provided.')),v=!1;return v}).reduce(function(c,h){var Z=kc(h,2),o=Z[0],v=Z[1];return LC(LC({},c),{},CC({},o,v))},{});return[{description:"Files",accept:l}]}return a}function sC(a){if(I4(a))return Object.entries(a).reduce(function(l,c){var h=kc(c,2),Z=h[0],o=h[1];return[].concat(nC(l),[Z],nC(o))},[]).filter(function(l){return fC(l)||BC(l)}).join(",");return}function kC(a){return a instanceof DOMException&&(a.name==="AbortError"||a.code===a.ABORT_ERR)}function SC(a){return a instanceof DOMException&&(a.name==="SecurityError"||a.code===a.SECURITY_ERR)}function fC(a){return a==="audio/*"||a==="video/*"||a==="image/*"||a==="text/*"||a==="application/*"||/\w+\/[-+.\w]+/g.test(a)}function BC(a){return/^.*\.[\w]+$/.test(a)}var Wf=["children"],bf=["open"],Of=["refKey","role","onKeyDown","onFocus","onBlur","onClick","onDragEnter","onDragOver","onDragLeave","onDrop"],Uf=["refKey","onChange","onClick"];function Pf(a){return Gf(a)||qf(a)||bC(a)||If()}function If(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
168
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function qf(a){if(typeof Symbol!=="undefined"&&a[Symbol.iterator]!=null||a["@@iterator"]!=null)return Array.from(a)}function Gf(a){if(Array.isArray(a))return fm(a)}function Sm(a,l){return Jf(a)||Kf(a,l)||bC(a,l)||zf()}function zf(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
169
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function bC(a,l){if(!a)return;if(typeof a==="string")return fm(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 fm(a,l)}function fm(a,l){if(l==null||l>a.length)l=a.length;for(var c=0,h=new Array(l);c<l;c++)h[c]=a[c];return h}function Kf(a,l){var c=a==null?null:typeof Symbol!=="undefined"&&a[Symbol.iterator]||a["@@iterator"];if(c==null)return;var h=[],Z=!0,o=!1,v,r;try{for(c=c.call(a);!(Z=(v=c.next()).done);Z=!0)if(h.push(v.value),l&&h.length===l)break}catch(e){o=!0,r=e}finally{try{if(!Z&&c.return!=null)c.return()}finally{if(o)throw r}}return h}function Jf(a){if(Array.isArray(a))return a}function TC(a,l){var c=Object.keys(a);if(Object.getOwnPropertySymbols){var h=Object.getOwnPropertySymbols(a);l&&(h=h.filter(function(Z){return Object.getOwnPropertyDescriptor(a,Z).enumerable})),c.push.apply(c,h)}return c}function A0(a){for(var l=1;l<arguments.length;l++){var c=arguments[l]!=null?arguments[l]:{};l%2?TC(Object(c),!0).forEach(function(h){Bm(a,h,c[h])}):Object.getOwnPropertyDescriptors?Object.defineProperties(a,Object.getOwnPropertyDescriptors(c)):TC(Object(c)).forEach(function(h){Object.defineProperty(a,h,Object.getOwnPropertyDescriptor(c,h))})}return a}function Bm(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 Bo(a,l){if(a==null)return{};var c=$f(a,l),h,Z;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(a);for(Z=0;Z<o.length;Z++){if(h=o[Z],l.indexOf(h)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(a,h))continue;c[h]=a[h]}}return c}function $f(a,l){if(a==null)return{};var c={},h=Object.keys(a),Z,o;for(o=0;o<h.length;o++){if(Z=h[o],l.indexOf(Z)>=0)continue;c[Z]=a[Z]}return c}var To=/*@__PURE__*/U(function(a,l){var c=a.children,h=Bo(a,Wf),Z=Ef(h),o=Z.open,v=Bo(Z,bf);return i5(l,function(){return{open:o}},[o]),/*@__PURE__*/W8.createElement(V1,null,c(A0(A0({},v),{},{open:o})))});To.displayName="Dropzone";var OC={disabled:!1,getFilesFromEvent:pm,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};To.defaultProps=OC;To.propTypes={children:X1.default.func,accept:X1.default.objectOf(X1.default.arrayOf(X1.default.string)),multiple:X1.default.bool,preventDropOnDocument:X1.default.bool,noClick:X1.default.bool,noKeyboard:X1.default.bool,noDrag:X1.default.bool,noDragEventsBubbling:X1.default.bool,minSize:X1.default.number,maxSize:X1.default.number,maxFiles:X1.default.number,disabled:X1.default.bool,getFilesFromEvent:X1.default.func,onFileDialogCancel:X1.default.func,onFileDialogOpen:X1.default.func,useFsAccessApi:X1.default.bool,autoFocus:X1.default.bool,onDragEnter:X1.default.func,onDragLeave:X1.default.func,onDragOver:X1.default.func,onDrop:X1.default.func,onDropAccepted:X1.default.func,onDropRejected:X1.default.func,onError:X1.default.func,validator:X1.default.func};var UC=To,Tm={isFocused:!1,isFileDialogActive:!1,isDragActive:!1,isDragAccept:!1,isDragReject:!1,acceptedFiles:[],fileRejections:[]};function Ef(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},l=A0(A0({},OC),a),c=l.accept,h=l.disabled,Z=l.getFilesFromEvent,o=l.maxSize,v=l.minSize,r=l.multiple,e=l.maxFiles,M=l.onDragEnter,t=l.onDragLeave,m=l.onDragOver,H=l.onDrop,A=l.onDropAccepted,V=l.onDropRejected,i=l.onFileDialogCancel,u=l.onFileDialogOpen,L=l.useFsAccessApi,d=l.autoFocus,g=l.preventDropOnDocument,R=l.noClick,x=l.noKeyboard,S=l.noDrag,p=l.noDragEventsBubbling,O=l.onError,I=l.validator,Z1=d1(function(){return sC(c)},[c]),o1=d1(function(){return DC(c)},[c]),X=d1(function(){return typeof u==="function"?u:WC},[u]),w=d1(function(){return typeof i==="function"?i:WC},[i]),s=q(null),P=q(null),Q=$5(Qf,Tm),N=Sm(Q,2),H1=N[0],K=N[1],i1=H1.isFocused,J=H1.isFileDialogActive,E=q(typeof window!=="undefined"&&window.isSecureContext&&L&&wC()),l1=function y(){if(!E.current&&J)setTimeout(function(){if(P.current){var g1=P.current.files;if(!g1.length)K({type:"closeDialog"}),w()}},300)};M1(function(){return window.addEventListener("focus",l1,!1),function(){window.removeEventListener("focus",l1,!1)}},[P,J,w,E]);var f1=q([]),K1=function y(g1){if(s.current&&s.current.contains(g1.target))return;g1.preventDefault(),f1.current=[]};M1(function(){if(g)document.addEventListener("dragover",km,!1),document.addEventListener("drop",K1,!1);return function(){if(g)document.removeEventListener("dragover",km),document.removeEventListener("drop",K1)}},[s,g]),M1(function(){if(!h&&d&&s.current)s.current.focus();return function(){}},[s,d,h]);var h0=j(function(y){if(O)O(y);else console.error(y)},[O]),K5=j(function(y){if(y.preventDefault(),y.persist(),z4(y),f1.current=[].concat(Pf(f1.current),[y.target]),fc(y))Promise.resolve(Z(y)).then(function(g1){if(Sc(y)&&!p)return;var Z0=g1.length,V0=Z0>0&&xC({files:g1,accept:Z1,minSize:v,maxSize:o,multiple:r,maxFiles:e,validator:I}),c5=Z0>0&&!V0;if(K({isDragAccept:V0,isDragReject:c5,isDragActive:!0,type:"setDraggedFiles"}),M)M(y)}).catch(function(g1){return h0(g1)})},[Z,M,h0,p,Z1,v,o,r,e,I]),M2=j(function(y){y.preventDefault(),y.persist(),z4(y);var g1=fc(y);if(g1&&y.dataTransfer)try{y.dataTransfer.dropEffect="copy"}catch(Z0){}if(g1&&m)m(y);return!1},[m,p]),m2=j(function(y){y.preventDefault(),y.persist(),z4(y);var g1=f1.current.filter(function(V0){return s.current&&s.current.contains(V0)}),Z0=g1.indexOf(y.target);if(Z0!==-1)g1.splice(Z0,1);if(f1.current=g1,g1.length>0)return;if(K({type:"setDraggedFiles",isDragActive:!1,isDragAccept:!1,isDragReject:!1}),fc(y)&&t)t(y)},[s,t,p]),J5=j(function(y,g1){var Z0=[],V0=[];if(y.forEach(function(c5){var P3=Dm(c5,Z1),y7=Sm(P3,2),a1=y7[0],u1=y7[1],k1=sm(c5,v,o),J1=Sm(k1,2),o0=J1[0],V5=J1[1],O0=I?I(c5):null;if(a1&&o0&&!O0)Z0.push(c5);else{var J2=[u1,V5];if(O0)J2=J2.concat(O0);V0.push({file:c5,errors:J2.filter(function(h5){return h5})})}}),!r&&Z0.length>1||r&&e>=1&&Z0.length>e)Z0.forEach(function(c5){V0.push({file:c5,errors:[RC]})}),Z0.splice(0);if(K({acceptedFiles:Z0,fileRejections:V0,isDragReject:V0.length>0,type:"setFiles"}),H)H(Z0,V0,g1);if(V0.length>0&&V)V(V0,g1);if(Z0.length>0&&A)A(Z0,g1)},[K,r,Z1,v,o,e,H,A,V,I]),T5=j(function(y){if(y.preventDefault(),y.persist(),z4(y),f1.current=[],fc(y))Promise.resolve(Z(y)).then(function(g1){if(Sc(y)&&!p)return;J5(g1,y)}).catch(function(g1){return h0(g1)});K({type:"reset"})},[Z,J5,h0,p]),c1=j(function(){if(E.current){K({type:"openDialog"}),X();var y={multiple:r,types:o1};window.showOpenFilePicker(y).then(function(g1){return Z(g1)}).then(function(g1){J5(g1,null),K({type:"closeDialog"})}).catch(function(g1){if(kC(g1))w(g1),K({type:"closeDialog"});else if(SC(g1))if(E.current=!1,P.current)P.current.value=null,P.current.click();else h0(new 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 h0(g1)});return}if(P.current)K({type:"openDialog"}),X(),P.current.value=null,P.current.click()},[K,X,w,L,J5,h0,o1,r]),W5=j(function(y){if(!s.current||!s.current.isEqualNode(y.target))return;if(y.key===" "||y.key==="Enter"||y.keyCode===32||y.keyCode===13)y.preventDefault(),c1()},[s,c1]),t1=j(function(){K({type:"focus"})},[]),g5=j(function(){K({type:"blur"})},[]),t2=j(function(){if(R)return;if(pC())setTimeout(c1,0);else c1()},[R,c1]),b5=function y(g1){return h?null:g1},G4=function y(g1){return x?null:b5(g1)},O3=function y(g1){return S?null:b5(g1)},z4=function y(g1){if(p)g1.stopPropagation()},zo=d1(function(){return function(){var y=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},g1=y.refKey,Z0=g1===void 0?"ref":g1,V0=y.role,c5=y.onKeyDown,P3=y.onFocus,y7=y.onBlur,a1=y.onClick,u1=y.onDragEnter,k1=y.onDragOver,J1=y.onDragLeave,o0=y.onDrop,V5=Bo(y,Of);return A0(A0(Bm({onKeyDown:G4(z2(c5,W5)),onFocus:G4(z2(P3,t1)),onBlur:G4(z2(y7,g5)),onClick:b5(z2(a1,t2)),onDragEnter:O3(z2(u1,K5)),onDragOver:O3(z2(k1,M2)),onDragLeave:O3(z2(J1,m2)),onDrop:O3(z2(o0,T5)),role:typeof V0==="string"&&V0!==""?V0:"presentation"},Z0,s),!h&&!x?{tabIndex:0}:{}),V5)}},[s,W5,t1,g5,t2,K5,M2,m2,T5,x,S,h]),F8=j(function(y){y.stopPropagation()},[]),U3=d1(function(){return function(){var y=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},g1=y.refKey,Z0=g1===void 0?"ref":g1,V0=y.onChange,c5=y.onClick,P3=Bo(y,Uf),y7=Bm({accept:Z1,multiple:r,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:b5(z2(V0,T5)),onClick:b5(z2(c5,F8)),tabIndex:-1},Z0,P);return A0(A0({},y7),P3)}},[P,c,r,T5,h]);return A0(A0({},H1),{},{isFocused:i1&&!h,getRootProps:zo,getInputProps:U3,rootRef:s,inputRef:P,open:b5(c1)})}function Qf(a,l){switch(l.type){case"focus":return A0(A0({},a),{},{isFocused:!0});case"blur":return A0(A0({},a),{},{isFocused:!1});case"openDialog":return A0(A0({},Tm),{},{isFileDialogActive:!0});case"closeDialog":return A0(A0({},a),{},{isFileDialogActive:!1});case"setDraggedFiles":return A0(A0({},a),{},{isDragActive:l.isDragActive,isDragAccept:l.isDragAccept,isDragReject:l.isDragReject});case"setFiles":return A0(A0({},a),{},{acceptedFiles:l.acceptedFiles,fileRejections:l.fileRejections,isDragReject:l.isDragReject});case"reset":return A0({},Tm);default:return a}}function WC(){}var PC={},Yf=function(a,l,c,h,Z){var o=new Worker(PC[l]||(PC[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 o.onmessage=function(v){var r=v.data,e=r.$e$;if(e){var M=new Error(e[0]);M.code=e[1],M.stack=e[2],Z(M,null)}else Z(null,r)},o.postMessage(c,h),o},d5=Uint8Array,q4=Uint16Array,GC=Int32Array,Om=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]),Um=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]),zC=new d5([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),KC=function(a,l){var c=new q4(31);for(var h=0;h<31;++h)c[h]=l+=1<<a[h-1];var Z=new GC(c[30]);for(var h=1;h<30;++h)for(var o=c[h];o<c[h+1];++o)Z[o]=o-c[h]<<5|h;return{b:c,r:Z}},JC=KC(Om,2),Pm=JC.b,Xf=JC.r;Pm[28]=258,Xf[258]=28;var $C=KC(Um,0),EC=$C.b,Rp1=$C.r,Uo=new q4(32768);for(B1=0;B1<32768;++B1)u7=(B1&43690)>>1|(B1&21845)<<1,u7=(u7&52428)>>2|(u7&13107)<<2,u7=(u7&61680)>>4|(u7&3855)<<4,Uo[B1]=((u7&65280)>>8|(u7&255)<<8)>>1;var u7,B1,g8=function(a,l,c){var h=a.length,Z=0,o=new q4(l);for(;Z<h;++Z)if(a[Z])++o[a[Z]-1];var v=new q4(l);for(Z=1;Z<l;++Z)v[Z]=v[Z-1]+o[Z-1]<<1;var r;if(c){r=new q4(1<<l);var e=15-l;for(Z=0;Z<h;++Z)if(a[Z]){var M=Z<<4|a[Z],t=l-a[Z],m=v[a[Z]-1]++<<t;for(var H=m|(1<<t)-1;m<=H;++m)r[Uo[m]>>e]=M}}else{r=new q4(h);for(Z=0;Z<h;++Z)if(a[Z])r[Z]=Uo[v[a[Z]-1]++]>>15-a[Z]}return r},Bc=new d5(288);for(B1=0;B1<144;++B1)Bc[B1]=8;var B1;for(B1=144;B1<256;++B1)Bc[B1]=9;var B1;for(B1=256;B1<280;++B1)Bc[B1]=7;var B1;for(B1=280;B1<288;++B1)Bc[B1]=8;var B1,QC=new d5(32);for(B1=0;B1<32;++B1)QC[B1]=5;var B1;var YC=/*@__PURE__*/g8(Bc,9,1);var XC=/*@__PURE__*/g8(QC,5,1),bo=function(a){var l=a[0];for(var c=1;c<a.length;++c)if(a[c]>l)l=a[c];return l},e2=function(a,l,c){var h=l/8|0;return(a[h]|a[h+1]<<8)>>(l&7)&c},Oo=function(a,l){var c=l/8|0;return(a[c]|a[c+1]<<8|a[c+2]<<16)>>(l&7)},yC=function(a){return(a+7)/8|0},Po=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 jC=["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"],L5=function(a,l,c){var h=new Error(l||jC[a]);if(h.code=a,Error.captureStackTrace)Error.captureStackTrace(h,L5);if(!c)throw h;return h},NC=function(a,l,c,h){var Z=a.length,o=h?h.length:0;if(!Z||l.f&&!l.l)return c||new d5(0);var v=!c,r=v||l.i!=2,e=l.i;if(v)c=new d5(Z*3);var M=function(T5){var c1=c.length;if(T5>c1){var W5=new d5(Math.max(c1*2,T5));W5.set(c),c=W5}},t=l.f||0,m=l.p||0,H=l.b||0,A=l.l,V=l.d,i=l.m,u=l.n,L=Z*8;do{if(!A){t=e2(a,m,1);var d=e2(a,m+1,3);if(m+=3,!d){var g=yC(m)+4,R=a[g-4]|a[g-3]<<8,x=g+R;if(x>Z){if(e)L5(0);break}if(r)M(H+R);c.set(a.subarray(g,x),H),l.b=H+=R,l.p=m=x*8,l.f=t;continue}else if(d==1)A=YC,V=XC,i=9,u=5;else if(d==2){var S=e2(a,m,31)+257,p=e2(a,m+10,15)+4,O=S+e2(a,m+5,31)+1;m+=14;var I=new d5(O),Z1=new d5(19);for(var o1=0;o1<p;++o1)Z1[zC[o1]]=e2(a,m+o1*3,7);m+=p*3;var X=bo(Z1),w=(1<<X)-1,s=g8(Z1,X,1);for(var o1=0;o1<O;){var P=s[e2(a,m,w)];m+=P&15;var g=P>>4;if(g<16)I[o1++]=g;else{var Q=0,N=0;if(g==16)N=3+e2(a,m,3),m+=2,Q=I[o1-1];else if(g==17)N=3+e2(a,m,7),m+=3;else if(g==18)N=11+e2(a,m,127),m+=7;while(N--)I[o1++]=Q}}var H1=I.subarray(0,S),K=I.subarray(S);i=bo(H1),u=bo(K),A=g8(H1,i,1),V=g8(K,u,1)}else L5(1);if(m>L){if(e)L5(0);break}}if(r)M(H+131072);var i1=(1<<i)-1,J=(1<<u)-1,E=m;for(;;E=m){var Q=A[Oo(a,m)&i1],l1=Q>>4;if(m+=Q&15,m>L){if(e)L5(0);break}if(!Q)L5(2);if(l1<256)c[H++]=l1;else if(l1==256){E=m,A=null;break}else{var f1=l1-254;if(l1>264){var o1=l1-257,K1=Om[o1];f1=e2(a,m,(1<<K1)-1)+Pm[o1],m+=K1}var h0=V[Oo(a,m)&J],K5=h0>>4;if(!h0)L5(3);m+=h0&15;var K=EC[K5];if(K5>3){var K1=Um[K5];K+=Oo(a,m)&(1<<K1)-1,m+=K1}if(m>L){if(e)L5(0);break}if(r)M(H+131072);var M2=H+f1;if(H<K){var m2=o-K,J5=Math.min(K,M2);if(m2+H<0)L5(3);for(;H<J5;++H)c[H]=h[m2+H]}for(;H<M2;++H)c[H]=c[H-K]}}if(l.l=A,l.p=E,l.b=H,l.f=t,A)t=1,l.m=i,l.d=V,l.n=u}while(!t);return H!=c.length&&v?Po(c,0,H):c.subarray(0,H)};var yf=/*@__PURE__*/new d5(0);var jf=function(a,l){var c={};for(var h in a)c[h]=a[h];for(var h in l)c[h]=l[h];return c},IC=function(a,l,c){var h=a(),Z=a.toString(),o=Z.slice(Z.indexOf("[")+1,Z.lastIndexOf("]")).replace(/\s+/g,"").split(",");for(var v=0;v<h.length;++v){var r=h[v],e=o[v];if(typeof r=="function"){l+=";"+e+"=";var M=r.toString();if(r.prototype)if(M.indexOf("[native code]")!=-1){var t=M.indexOf(" ",8)+1;l+=M.slice(t,M.indexOf("(",t))}else{l+=M;for(var m in r.prototype)l+=";"+e+".prototype."+m+"="+r.prototype[m].toString()}else l+=M}else c[e]=r}return l},Wo=[],Nf=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},_f=function(a,l,c,h){if(!Wo[c]){var Z="",o={},v=a.length-1;for(var r=0;r<v;++r)Z=IC(a[r],Z,o);Wo[c]={c:IC(a[v],Z,o),e:o}}var e=jf({},Wo[c].e);return Yf(Wo[c].c+";onmessage=function(e){for(var k in e.data)self[k]=e.data[k];onmessage="+l.toString()+"}",c,e,Nf(e),h)},aB=function(){return[d5,q4,GC,Om,Um,zC,Pm,EC,YC,XC,Uo,jC,g8,bo,e2,Oo,yC,Po,L5,NC,Im,_C,aF]};var _C=function(a){return postMessage(a,[a.buffer])},aF=function(a){return a&&{out:a.size&&new d5(a.size),dictionary:a.dictionary}},lB=function(a,l,c,h,Z,o){var v=_f(c,h,Z,function(r,e){v.terminate(),o(r,e)});return v.postMessage([a,l],l.consume?[a.buffer]:[]),function(){v.terminate()}};var L7=function(a,l){return a[l]|a[l+1]<<8},K2=function(a,l){return(a[l]|a[l+1]<<8|a[l+2]<<16|a[l+3]<<24)>>>0},Wm=function(a,l){return K2(a,l)+K2(a,l+4)*4294967296};function cB(a,l,c){if(!c)c=l,l={};if(typeof c!="function")L5(7);return lB(a,l,[aB],function(h){return _C(Im(h.data[0],aF(h.data[1])))},1,c)}function Im(a,l){return NC(a,{i:2},l&&l.out,l&&l.dictionary)}var bm=typeof TextDecoder!="undefined"&&/*@__PURE__*/new TextDecoder,hB=0;try{bm.decode(yf,{stream:!0}),hB=1}catch(a){}var ZB=function(a){for(var l="",c=0;;){var h=a[c++],Z=(h>127)+(h>223)+(h>239);if(c+Z>a.length)return{s:l,r:Po(a,c-1)};if(!Z)l+=String.fromCharCode(h);else if(Z==3)h=((h&15)<<18|(a[c++]&63)<<12|(a[c++]&63)<<6|a[c++]&63)-65536,l+=String.fromCharCode(55296|h>>10,56320|h&1023);else if(Z&1)l+=String.fromCharCode((h&31)<<6|a[c++]&63);else l+=String.fromCharCode((h&15)<<12|(a[c++]&63)<<6|a[c++]&63)}};function oB(a,l){if(l){var c="";for(var h=0;h<a.length;h+=16384)c+=String.fromCharCode.apply(null,a.subarray(h,h+16384));return c}else if(bm)return bm.decode(a);else{var Z=ZB(a),o=Z.s,c=Z.r;if(c.length)L5(8);return o}}var vB=function(a,l){return l+30+L7(a,l+26)+L7(a,l+28)},rB=function(a,l,c){var h=L7(a,l+28),Z=oB(a.subarray(l+46,l+46+h),!(L7(a,l+8)&2048)),o=l+46+h,v=K2(a,l+20),r=c&&v==4294967295?eB(a,o):[v,K2(a,l+24),K2(a,l+42)],e=r[0],M=r[1],t=r[2];return[L7(a,l+10),e,M,Z,o+L7(a,l+30)+L7(a,l+32),t]},eB=function(a,l){for(;L7(a,l)!=1;l+=4+L7(a,l+2));return[Wm(a,l+12),Wm(a,l+4),Wm(a,l+20)]};var qC=typeof queueMicrotask=="function"?queueMicrotask:typeof setTimeout=="function"?setTimeout:function(a){a()};function lF(a,l,c){if(!c)c=l,l={};if(typeof c!="function")L5(7);var h=[],Z=function(){for(var u=0;u<h.length;++u)h[u]()},o={},v=function(u,L){qC(function(){c(u,L)})};qC(function(){v=c});var r=a.length-22;for(;K2(a,r)!=101010256;--r)if(!r||a.length-r>65558)return v(L5(13,0,1),null),Z;var e=L7(a,r+8);if(e){var M=e,t=K2(a,r+16),m=t==4294967295||M==65535;if(m){var H=K2(a,r-12);if(m=K2(a,H)==101075792,m)M=e=K2(a,H+32),t=K2(a,H+48)}var A=l&&l.filter,V=function(u){var L=rB(a,t,m),d=L[0],g=L[1],R=L[2],x=L[3],S=L[4],p=L[5],O=vB(a,p);t=S;var I=function(o1,X){if(o1)Z(),v(o1,null);else{if(X)o[x]=X;if(!--e)v(null,o)}};if(!A||A({name:x,size:g,originalSize:R,compression:d}))if(!d)I(null,Po(a,O,O+g));else if(d==8){var Z1=a.subarray(O,O+g);if(R<524288||g>0.8*R)try{I(null,Im(Z1,{out:new d5(R)}))}catch(o1){I(o1,null)}else h.push(cB(Z1,{size:R},I))}else I(L5(14,"unknown compression type "+d,1),null);else I(null,null)};for(var i=0;i<M;++i)V(i)}else v(null,{});return Z}async function cF(a){let l=await a.arrayBuffer(),c={data:[],warnings:[],error:"",isError:!1},h=new Promise((m,H)=>{lF(new Uint8Array(l),(A,V)=>{if(A)H(A);m(V)})}),Z=void 0;try{Z=await h}catch(m){return c.error=`${m}`,c.isError=!0,c}let o=[];Object.keys(Z).forEach((m)=>{o.push(m)});let v=o.find((m)=>m.toLowerCase().endsWith(X0));if(!v)c.warnings.push("No manifest file found in the zip."),v="";let r=v.lastIndexOf("/"),e="";if(r>-1)e=v.substring(0,r+1);let M=o.filter((m)=>!m.startsWith(e)),t=o.filter((m)=>m.startsWith(e));if(M.length>0)c.warnings.push("Some files are not in the root directory and wont be included."),c.warnings.push(...M.map((m)=>`File: ${m}`));return t.forEach((m)=>{let H=Z[m],A=m.substring(e.length);if(H.length>0)c.data.push({fileName:A,content:H})}),c}var hF={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"},ZF={borderColor:u2.colorCompoundBrandForeground1},oF={borderColor:u2.colorPaletteGreenForeground1},vF={borderColor:u2.colorPaletteRedForeground1};var X7=z0([]),Io=z0(!1);function rF(){let[a,l]=m1(0);async function c(h){X7.value=[...h];let Z=eC(l0,w1.value.name,h),o=await Z.next(),v=1;while(!o.done){l(v++);let r=o.value,e=h.find((t)=>t.fileName===r.fileName),M=r.fileName.toLowerCase().endsWith(X0);if(e)e.status=r.success?"uploaded":"error";if(M&&r.success&&e){let t=U1(w1.value),m=(/*@__PURE__*/new TextDecoder()).decode(e.content),H=JSON.parse(m);t.manifest=H,r2(t,!0)}X7.value=[...h],o=await Z.next()}setTimeout(()=>{Io.value=!0,l(0)},3000)}return/*@__PURE__*/n(v1,{gap:16,children:/*@__PURE__*/n(v1,{children:/*@__PURE__*/n(UC,{useFsAccessApi:!1,onDropAccepted:(h,Z)=>{if(h.length===1&&h[0].name.endsWith(".zip")){cF(h[0]).then((o)=>{let v=o.data.map((r)=>{return{status:"uploading",...r}});c(v)});return}rC(h).then((o)=>{let v=o.data.map((r)=>{return{status:"uploading",...r}});c(v)})},multiple:!0,noClick:!0,noKeyboard:!0,children:({getRootProps:h,getInputProps:Z,isFocused:o,isDragAccept:v,isDragReject:r,open:e})=>/*@__PURE__*/n("div",{...h({style:{...hF,...o?ZF:{},...v?oF:{},...r?vF:{}}}),children:X7.value.some((M)=>M.status==="uploading")?/*@__PURE__*/n(i4,{validationMessage:`Uploaded ${a} of ${X7.value.length} files `,validationState:"none",validation:!0,style:{width:"100%"},children:/*@__PURE__*/n(G7,{max:X7.value.length-1,value:a,thickness:"large"},void 0,!1,void 0,this)},void 0,!1,void 0,this):/*@__PURE__*/n(V1,{children:[/*@__PURE__*/n("input",{...Z()},void 0,!1,void 0,this),/*@__PURE__*/n(r7,{children:[/*@__PURE__*/n(b6,{children:"Choose a file(s) "},void 0,!1,void 0,this),"or drag it here"]},void 0,!0,void 0,this),/*@__PURE__*/n(F1,{appearance:"primary",onClick:e,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 qm({jsFiles:a}){let l=w1.value,c=T7();async function h(Z,o){if(!l)return;if(Z)l.manifest.appRelativeEntryPointUrls.push(o);if(!Z)l.manifest.appRelativeEntryPointUrls=l.manifest.appRelativeEntryPointUrls.filter((v)=>v!==o);r2(l,!0)}if(!l)return null;return/*@__PURE__*/n(f2,{...c,separator:!0,open:C8.value,onOpenChange:(Z,{open:o})=>{C8.value=o?C8.value:void 0},style:{width:"440px"},children:[/*@__PURE__*/n(T2,{children:/*@__PURE__*/n(W2,{action:/*@__PURE__*/n(F1,{appearance:"subtle","aria-label":"Close",icon:/*@__PURE__*/n(h7,{},void 0,!1,void 0,this),onClick:()=>C8.value=void 0},void 0,!1,void 0,this),children:"Manage Entry Points"},void 0,!1,void 0,this)},void 0,!1,void 0,this),/*@__PURE__*/n(B2,{children:/*@__PURE__*/n(v1,{gap:16,style:{padding:"12px 0px"},children:[/*@__PURE__*/n(rF,{},void 0,!1,void 0,this),/*@__PURE__*/n(v1,{gap:4,children:[a.map((Z)=>/*@__PURE__*/n(C0,{label:Z,labelPosition:"before",defaultChecked:l.manifest.appRelativeEntryPointUrls.some((o)=>o===Z),onChange:(o,v)=>{h(v.checked,Z)},root:{style:{justifyContent:"space-between"}}},void 0,!1,void 0,this)),/*@__PURE__*/n(v1,{gap:20,style:{marginTop:"10px",padding:"0px 10px 0 8px"},children:X7.value.map((Z)=>/*@__PURE__*/n(v1,{horizontalAlign:"space-between",horizontal:!0,children:[/*@__PURE__*/n(v1,{children:Z.fileName},void 0,!1,void 0,this),Z.status==="uploaded"&&/*@__PURE__*/n(Y0,{size:"medium",appearance:"ghost",color:"success",icon:/*@__PURE__*/n(zi,{},void 0,!1,void 0,this)},void 0,!1,void 0,this),Z.status==="error"&&/*@__PURE__*/n(Y0,{size:"medium",appearance:"ghost",color:"danger",icon:/*@__PURE__*/n(Ei,{},void 0,!1,void 0,this)},void 0,!1,void 0,this),Z.status==="uploading"&&/*@__PURE__*/n(I5,{size:"tiny"},void 0,!1,void 0,this)]},Z.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)}var C8=z0(void 0);function eF(){let[a,l]=m1([]),c=w1.value;G5(()=>{if(!w1.value)return;o()}),G5(()=>{if(Io.value===!0)o(),Io.value=!1,X7.value=[]});let h=q(null),Z=j((v)=>{h.current?.setTarget(v)},[h]);async function o(){if(!w1.value)return;let v=await MC(l0,w1.value.name);l(v)}if(!c)return null;return/*@__PURE__*/n(V1,{children:[/*@__PURE__*/n(v1,{horizontal:!0,horizontalAlign:"space-between",verticalAlign:"center",style:{borderBottom:"1px solid #eaeaea",paddingBottom:"10px"},children:[/*@__PURE__*/n(t5,{children:"Entry points"},void 0,!1,void 0,this),/*@__PURE__*/n(v1,{horizontal:!0,verticalAlign:"center",children:[/*@__PURE__*/n(C0,{ref:Z,checked:c.manifest.isESM,label:"ESM",labelPosition:"before",onChange:(v,r)=>{c.manifest.isESM=r.checked,r2(c)}},void 0,!1,void 0,this),/*@__PURE__*/n(F2,{positioning:{positioningRef:h},withArrow:!0,children:[/*@__PURE__*/n(l2,{disableButtonEnhancement:!0,children:/*@__PURE__*/n(P0,{children:/*@__PURE__*/n(Jh,{},void 0,!1,void 0,this)},void 0,!1,void 0,this)},void 0,!1,void 0,this),/*@__PURE__*/n(C2,{tabIndex:-1,children:/*@__PURE__*/n(c2,{children:"Switch on if your entry points are ESM modules with default export."},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,!0,void 0,this),a.filter((v)=>c.manifest.appRelativeEntryPointUrls.some((r)=>v===r)).map((v)=>/*@__PURE__*/n(v1,{horizontal:!0,gap:4,verticalAlign:"center",children:[/*@__PURE__*/n(Yi,{},void 0,!1,void 0,this)," ",v]},void 0,!0,void 0,this)),/*@__PURE__*/n(F1,{onClick:()=>{C8.value="edit"},children:"Upload / Edit"},void 0,!1,void 0,this),/*@__PURE__*/n(qm,{jsFiles:a},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}function MF(){let a=w1.value;if(!a)return null;return/*@__PURE__*/n(v1,{horizontal:!0,gap:20,children:[/*@__PURE__*/n(v1,{gap:16,style:{paddingBottom:"20px",flexBasis:"300px",flexShrink:0,paddingRight:"20px",borderRight:"1px solid #eaeaea"},children:/*@__PURE__*/n(eF,{},void 0,!1,void 0,this)},void 0,!1,void 0,this),/*@__PURE__*/n(v1,{style:{flexGrow:1},children:[/*@__PURE__*/n(v1,{horizontal:!0,horizontalAlign:"space-between",verticalAlign:"center",style:{minHeight:"32px"},children:[/*@__PURE__*/n(v1,{horizontal:!0,gap:16,verticalAlign:"center",children:[/*@__PURE__*/n(t5,{children:"App/Entry Point Configuration"},void 0,!1,void 0,this),/*@__PURE__*/n(lC,{},void 0,!1,void 0,this)]},void 0,!0,void 0,this),/*@__PURE__*/n(v1,{gap:8,horizontal:!0,children:[/*@__PURE__*/n(C0,{checked:a.manifest.enableCaching,label:"Enable caching",onChange:(l,c)=>{a.manifest.enableCaching=c.checked,r2(a)}},void 0,!1,void 0,this),/*@__PURE__*/n(n5,{placeholder:"Cache string",disabled:!a.manifest.enableCaching,type:"text",value:a.manifest.cacheString??"",onChange:(l,c)=>{a.manifest.cacheString=c.value,r2(a)}},void 0,!1,void 0,this),/*@__PURE__*/n(F1,{size:"medium",disabled:!a.manifest.enableCaching,onClick:async()=>{a.manifest.cacheString=await aC(),r2(a)},children:"Generate"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),/*@__PURE__*/n(vC,{},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)}function mF(){let[a,l]=m1(""),[c,h]=m1(!1);G5(()=>{if(!w1.value)return;let o=JSON.stringify(w1.value);if(!a){l(o);return}l(o),h(a!==o)});async function Z(){let o=w1.value;await Rg(l0,o.name,o.manifest),r2(o,!0),w1.value=void 0}if(!w1.value)return null;return/*@__PURE__*/n(v1,{gap:20,style:{height:"100%"},children:[/*@__PURE__*/n(v1,{horizontalAlign:"space-between",horizontal:!0,verticalAlign:"center",children:[/*@__PURE__*/n(v1,{gap:10,horizontal:!0,verticalAlign:"center",children:[/*@__PURE__*/n(F1,{appearance:"secondary",icon:/*@__PURE__*/n(Pi,{},void 0,!1,void 0,this),onClick:()=>{w1.value=void 0}},void 0,!1,void 0,this),/*@__PURE__*/n(O6,{children:["Configuration of ",w1.value.name]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),/*@__PURE__*/n(v1,{horizontal:!0,gap:15,children:/*@__PURE__*/n(xg,{children:/*@__PURE__*/n(F1,{appearance:"primary",disabled:!c,onClick:Z,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__*/n(MF,{},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}var Gm=m8(),qo=Gm??T4(),Go=Co();function MB(){let a=[];if(q2)return a.push(/*@__PURE__*/n(Y0,{size:"extra-large",shape:"rounded",color:"danger",children:"Global"},"global",!1,void 0,this)),a;if(Go==="hubRoot")a.push(/*@__PURE__*/n(Y0,{size:"extra-large",shape:"rounded",color:"success",children:"Hub root site"},"hubRoot",!1,void 0,this));if(Go==="hubChild")a.push(/*@__PURE__*/n(Y0,{size:"extra-large",shape:"rounded",color:"warning",children:"Hub child site"},"child",!1,void 0,this));if(Go==="nonHub")a.push(/*@__PURE__*/n(Y0,{size:"extra-large",shape:"rounded",color:"brand",children:"Non hub site"},"nonhub",!1,void 0,this));if(Go==="subsite")a.push(/*@__PURE__*/n(Y0,{size:"extra-large",shape:"rounded",color:"informative",children:"Sub site"},"subsite",!1,void 0,this));else a.push(/*@__PURE__*/n(Y0,{size:"extra-large",shape:"rounded",color:"informative",children:"Site collection"},"siteCollectionRoot",!1,void 0,this));return a}function tF(){let[a]=Pc(),{dispatchToast:l}=w4(B3);if(a)return n1("Error in App component:",a),/*@__PURE__*/n("div",{children:["Error: ",a.message]},void 0,!0,void 0,this);let c=()=>l(/*@__PURE__*/n(k2,{children:/*@__PURE__*/n(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:qo});return/*@__PURE__*/n(v1,{style:{padding:"30px"},gap:20,children:[/*@__PURE__*/n(v1,{horizontal:!0,gap:16,verticalAlign:"center",children:[/*@__PURE__*/n(U6,{children:[Gm?"Web":"Global"," application list"]},void 0,!0,void 0,this),...MB()]},void 0,!0,void 0,this),Gm&&/*@__PURE__*/n(v1,{horizontal:!0,gap:8,verticalAlign:"center",children:[/*@__PURE__*/n(P0,{target:"_blank",href:qo,children:qo},void 0,!1,void 0,this),/*@__PURE__*/n(Ki,{onClick:()=>{navigator.clipboard.writeText(qo),c()}},void 0,!1,void 0,this)]},void 0,!0,void 0,this),/*@__PURE__*/n(Fg,{},void 0,!1,void 0,this),/*@__PURE__*/n(mF,{},void 0,!1,void 0,this),/*@__PURE__*/n(Cg,{},void 0,!1,void 0,this),/*@__PURE__*/n(Hg,{},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}var HF=PZ(window.__globalSettings__.customizations.settings.theme.palette),mB=window.__globalSettings__.customizations.settings.theme.isInverted?R6(HF):e3(HF);document.querySelector("#spCommandBar button[name='Edit']")?.setAttribute("style","display:none;");function AF(a){return/*@__PURE__*/n(a4,{theme:mB,style:{height:"100%"},children:/*@__PURE__*/n(tF,{},void 0,!1,void 0,this)},void 0,!1,void 0,this)}async function Nw1(a){let l=void 0;if(a.domElement)l=Dt(a.domElement),l.render(AF({instance:a}));return()=>{l?.unmount()}}export{Nw1 as launch};
|