@spfx-extensions/package 1.5.1 → 1.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/config/package-solution.json +2 -2
- package/dist/8d1029da-85e6-48cc-aaaf-37a5bbc0b9be.manifest.json +2 -2
- package/dist/d6ca1fc2-0591-4c6d-8a25-cae3262c017b.manifest.json +2 -2
- package/dist/debug/83e13c11-682e-4eaa-9ae0-74617ca28f96/Extension_8d1029da-85e6-48cc-aaaf-37a5bbc0b9be.xml +1 -1
- package/dist/debug/83e13c11-682e-4eaa-9ae0-74617ca28f96/WebPart_d6ca1fc2-0591-4c6d-8a25-cae3262c017b.xml +1 -1
- package/dist/debug/AppManifest.xml +1 -1
- package/dist/debug/ClientSideAssets/{spfx-extension-application-customizer_1ed614b7d2607a62ce4e.js → spfx-extension-application-customizer_5b7162422c4e8a79bbb6.js} +1 -1
- package/dist/debug/ClientSideAssets/spfx-extension-core.js +1 -1
- package/dist/debug/ClientSideAssets/spfx-extension-coreconfigurator.js +62 -62
- package/dist/{spfx-extension-loader_e83dead2a8f8f000d374.js → debug/ClientSideAssets/spfx-extension-loader_d4faf1b1a4f5916bf602.js} +1 -1
- package/dist/debug/ClientSideAssets/spfx-extensionloader-web-part_2264673e9cb942d36fee.js +3 -0
- package/dist/debug/ClientSideAssets.xml +1 -1
- package/dist/debug/ClientSideAssets.xml.config.xml +1 -1
- package/dist/debug/_rels/ClientSideAssets.xml.rels +1 -1
- package/dist/debug/feature_83e13c11-682e-4eaa-9ae0-74617ca28f96.xml +1 -1
- package/dist/debug/feature_83e13c11-682e-4eaa-9ae0-74617ca28f96.xml.config.xml +1 -1
- package/dist/deploy/sp-fx-extensions.sppkg +0 -0
- package/dist/{spfx-extension-application-customizer_1ed614b7d2607a62ce4e.js → spfx-extension-application-customizer_5b7162422c4e8a79bbb6.js} +1 -1
- package/dist/spfx-extension-core.js +1 -1
- package/dist/spfx-extension-coreconfigurator.js +62 -62
- package/dist/{debug/ClientSideAssets/spfx-extension-loader_e83dead2a8f8f000d374.js → spfx-extension-loader_d4faf1b1a4f5916bf602.js} +1 -1
- package/dist/spfx-extensionloader-web-part_2264673e9cb942d36fee.js +3 -0
- package/package.json +2 -2
- package/src/webparts/spfxExtensionloader/SpfxExtensionloaderWebPart.ts +60 -11
- package/dist/debug/ClientSideAssets/spfx-extensionloader-web-part_1ca10faea5832c6d6178.js +0 -3
- package/dist/spfx-extensionloader-web-part_1ca10faea5832c6d6178.js +0 -3
|
@@ -1,95 +1,95 @@
|
|
|
1
|
-
var ff=Object.create;var{getPrototypeOf:gf,defineProperty:zr,getOwnPropertyNames:Ff}=Object;var xf=Object.prototype.hasOwnProperty;var J4=(a,l,c)=>{c=a!=null?ff(gf(a)):{};let o=l||!a||!a.__esModule?zr(c,"default",{value:a,enumerable:!0}):c;for(let e of Ff(a))if(!xf.call(o,e))zr(o,e,{get:()=>a[e],enumerable:!0});return o};var K2=(a,l)=>()=>(l||a((l={exports:{}}).exports,l),l.exports);var Sc=(a,l)=>{for(var c in l)zr(a,c,{get:l[c],enumerable:!0,configurable:!0,set:(o)=>l[c]=()=>o})};var Kr=(a,l)=>()=>(a&&(l=a(a=0)),l);function J2(a,l){for(var c in l)a[c]=l[c];return a}function Nr(a){a&&a.parentNode&&a.parentNode.removeChild(a)}function r1(a,l,c){var o,e,r,t={};for(r in l)r=="key"?o=l[r]:r=="ref"?e=l[r]:t[r]=l[r];if(arguments.length>2&&(t.children=arguments.length>3?R8.call(arguments,2):c),typeof a=="function"&&a.defaultProps!=null)for(r in a.defaultProps)t[r]===void 0&&(t[r]=a.defaultProps[r]);return C8(a,t,o,e,null)}function C8(a,l,c,o,e){var r={type:a,props:l,key:c,ref:o,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:e==null?++cv:e,__i:-1,__u:0};return e==null&&_1.vnode!=null&&_1.vnode(r),r}function r5(){return{current:null}}function p1(a){return a.children}function e5(a,l){this.props=a,this.context=l}function $4(a,l){if(l==null)return a.__?$4(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"?$4(a):null}function Zv(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 Zv(a)}}function Qr(a){(!a.__d&&(a.__d=!0)&&W3.push(a)&&!yc.__r++||Nn!=_1.debounceRendering)&&((Nn=_1.debounceRendering)||ov)(yc)}function yc(){for(var a,l,c,o,e,r,t,h=1;W3.length;)W3.length>h&&W3.sort(ev),a=W3.shift(),h=W3.length,a.__d&&(c=void 0,e=(o=(l=a).__v).__e,r=[],t=[],l.__P&&((c=J2({},o)).__v=o.__v+1,_1.vnode&&_1.vnode(c),at(l.__P,c,o,l.__n,l.__P.namespaceURI,32&o.__u?[e]:null,r,e==null?$4(o):e,!!(32&o.__u),t),c.__v=o.__v,c.__.__k[c.__i]=c,vv(r,c,t),c.__e!=e&&Zv(c)));yc.__r=0}function iv(a,l,c,o,e,r,t,h,Z,i,v){var n,d,p,m,s,M,u=o&&o.__k||hv,A=l.length;for(Z=Lf(c,l,u,Z,A),n=0;n<A;n++)(p=c.__k[n])!=null&&(d=p.__i==-1?L8:u[p.__i]||L8,p.__i=n,M=at(a,p,d,e,r,t,h,Z,i,v),m=p.__e,p.ref&&d.ref!=p.ref&&(d.ref&<(d.ref,null,p),v.push(p.ref,p.__c||m,p)),s==null&&m!=null&&(s=m),4&p.__u||d.__k===p.__k?Z=nv(p,Z,a):typeof p.type=="function"&&M!==void 0?Z=M:m&&(Z=m.nextSibling),p.__u&=-7);return c.__e=s,Z}function Lf(a,l,c,o,e){var r,t,h,Z,i,v=c.length,n=v,d=0;for(a.__k=new Array(e),r=0;r<e;r++)(t=l[r])!=null&&typeof t!="boolean"&&typeof t!="function"?(Z=r+d,(t=a.__k[r]=typeof t=="string"||typeof t=="number"||typeof t=="bigint"||t.constructor==String?C8(null,t,null,null,null):D8(t)?C8(p1,{children:t},null,null,null):t.constructor==null&&t.__b>0?C8(t.type,t.props,t.key,t.ref?t.ref:null,t.__v):t).__=a,t.__b=a.__b+1,h=null,(i=t.__i=Rf(t,c,Z,n))!=-1&&(n--,(h=c[i])&&(h.__u|=2)),h==null||h.__v==null?(i==-1&&(e>v?d--:e<v&&d++),typeof t.type!="function"&&(t.__u|=4)):i!=Z&&(i==Z-1?d--:i==Z+1?d++:(i>Z?d--:d++,t.__u|=4))):a.__k[r]=null;if(n)for(r=0;r<v;r++)(h=c[r])!=null&&(2&h.__u)==0&&(h.__e==o&&(o=$4(h)),pv(h,h));return o}function nv(a,l,c){var o,e;if(typeof a.type=="function"){for(o=a.__k,e=0;o&&e<o.length;e++)o[e]&&(o[e].__=a,l=nv(o[e],l,c));return l}a.__e!=l&&(l&&a.type&&!c.contains(l)&&(l=$4(a)),c.insertBefore(a.__e,l||null),l=a.__e);do l=l&&l.nextSibling;while(l!=null&&l.nodeType==8);return l}function $2(a,l){return l=l||[],a==null||typeof a=="boolean"||(D8(a)?a.some(function(c){$2(c,l)}):l.push(a)),l}function Rf(a,l,c,o){var e,r,t,h=a.key,Z=a.type,i=l[c],v=i!=null&&(2&i.__u)==0;if(i===null&&a.key==null||v&&h==i.key&&Z==i.type)return c;if(o>(v?1:0)){for(e=c-1,r=c+1;e>=0||r<l.length;)if((i=l[t=e>=0?e--:r++])!=null&&(2&i.__u)==0&&h==i.key&&Z==i.type)return t}return-1}function av(a,l,c){l[0]=="-"?a.setProperty(l,c==null?"":c):a[l]=c==null?"":typeof c!="number"||Cf.test(l)?c:c+"px"}function kc(a,l,c,o,e){var r,t;a:if(l=="style")if(typeof c=="string")a.style.cssText=c;else{if(typeof o=="string"&&(a.style.cssText=o=""),o)for(l in o)c&&l in c||av(a.style,l,"");if(c)for(l in c)o&&c[l]==o[l]||av(a.style,l,c[l])}else if(l[0]=="o"&&l[1]=="n")r=l!=(l=l.replace(rv,"$1")),t=l.toLowerCase(),l=t in a||l=="onFocusOut"||l=="onFocusIn"?t.slice(2):l.slice(2),a.l||(a.l={}),a.l[l+r]=c,c?o?c.u=o.u:(c.u=jr,a.addEventListener(l,r?$r:Jr,r)):a.removeEventListener(l,r?$r:Jr,r);else{if(e=="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(h){}typeof c=="function"||(c==null||c===!1&&l[4]!="-"?a.removeAttribute(l):a.setAttribute(l,l=="popover"&&c==1?"":c))}}function lv(a){return function(l){if(this.l){var c=this.l[l.type+a];if(l.t==null)l.t=jr++;else if(l.t<c.u)return;return c(_1.event?_1.event(l):l)}}}function at(a,l,c,o,e,r,t,h,Z,i){var v,n,d,p,m,s,M,u,A,H,g,F,D,x,b,T,n1,c1=l.type;if(l.constructor!=null)return null;128&c.__u&&(Z=!!(32&c.__u),r=[h=l.__e=c.__e]),(v=_1.__b)&&v(l);a:if(typeof c1=="function")try{if(u=l.props,A="prototype"in c1&&c1.prototype.render,H=(v=c1.contextType)&&o[v.__c],g=v?H?H.props.value:v.__:o,c.__c?M=(n=l.__c=c.__c).__=n.__E:(A?l.__c=n=new c1(u,g):(l.__c=n=new e5(u,g),n.constructor=c1,n.render=wf),H&&H.sub(n),n.props=u,n.state||(n.state={}),n.context=g,n.__n=o,d=n.__d=!0,n.__h=[],n._sb=[]),A&&n.__s==null&&(n.__s=n.state),A&&c1.getDerivedStateFromProps!=null&&(n.__s==n.state&&(n.__s=J2({},n.__s)),J2(n.__s,c1.getDerivedStateFromProps(u,n.__s))),p=n.props,m=n.state,n.__v=l,d)A&&c1.getDerivedStateFromProps==null&&n.componentWillMount!=null&&n.componentWillMount(),A&&n.componentDidMount!=null&&n.__h.push(n.componentDidMount);else{if(A&&c1.getDerivedStateFromProps==null&&u!==p&&n.componentWillReceiveProps!=null&&n.componentWillReceiveProps(u,g),!n.__e&&n.shouldComponentUpdate!=null&&n.shouldComponentUpdate(u,n.__s,g)===!1||l.__v==c.__v){for(l.__v!=c.__v&&(n.props=u,n.state=n.__s,n.__d=!1),l.__e=c.__e,l.__k=c.__k,l.__k.some(function(Y){Y&&(Y.__=l)}),F=0;F<n._sb.length;F++)n.__h.push(n._sb[F]);n._sb=[],n.__h.length&&t.push(n);break a}n.componentWillUpdate!=null&&n.componentWillUpdate(u,n.__s,g),A&&n.componentDidUpdate!=null&&n.__h.push(function(){n.componentDidUpdate(p,m,s)})}if(n.context=g,n.props=u,n.__P=a,n.__e=!1,D=_1.__r,x=0,A){for(n.state=n.__s,n.__d=!1,D&&D(l),v=n.render(n.props,n.state,n.context),b=0;b<n._sb.length;b++)n.__h.push(n._sb[b]);n._sb=[]}else do n.__d=!1,D&&D(l),v=n.render(n.props,n.state,n.context),n.state=n.__s;while(n.__d&&++x<25);n.state=n.__s,n.getChildContext!=null&&(o=J2(J2({},o),n.getChildContext())),A&&!d&&n.getSnapshotBeforeUpdate!=null&&(s=n.getSnapshotBeforeUpdate(p,m)),T=v,v!=null&&v.type===p1&&v.key==null&&(T=dv(v.props.children)),h=iv(a,D8(T)?T:[T],l,c,o,e,r,t,h,Z,i),n.base=l.__e,l.__u&=-161,n.__h.length&&t.push(n),M&&(n.__E=n.__=null)}catch(Y){if(l.__v=null,Z||r!=null)if(Y.then){for(l.__u|=Z?160:128;h&&h.nodeType==8&&h.nextSibling;)h=h.nextSibling;r[r.indexOf(h)]=null,l.__e=h}else{for(n1=r.length;n1--;)Nr(r[n1]);Yr(l)}else l.__e=c.__e,l.__k=c.__k,Y.then||Yr(l);_1.__e(Y,l,c)}else r==null&&l.__v==c.__v?(l.__k=c.__k,l.__e=c.__e):h=l.__e=Df(c.__e,l,c,o,e,r,t,Z,i);return(v=_1.diffed)&&v(l),128&l.__u?void 0:h}function Yr(a){a&&a.__c&&(a.__c.__e=!0),a&&a.__k&&a.__k.forEach(Yr)}function vv(a,l,c){for(var o=0;o<c.length;o++)lt(c[o],c[++o],c[++o]);_1.__c&&_1.__c(l,a),a.some(function(e){try{a=e.__h,e.__h=[],a.some(function(r){r.call(e)})}catch(r){_1.__e(r,e.__v)}})}function dv(a){return typeof a!="object"||a==null||a.__b&&a.__b>0?a:D8(a)?a.map(dv):J2({},a)}function Df(a,l,c,o,e,r,t,h,Z){var i,v,n,d,p,m,s,M=c.props,u=l.props,A=l.type;if(A=="svg"?e="http://www.w3.org/2000/svg":A=="math"?e="http://www.w3.org/1998/Math/MathML":e||(e="http://www.w3.org/1999/xhtml"),r!=null){for(i=0;i<r.length;i++)if((p=r[i])&&"setAttribute"in p==!!A&&(A?p.localName==A:p.nodeType==3)){a=p,r[i]=null;break}}if(a==null){if(A==null)return document.createTextNode(u);a=document.createElementNS(e,A,u.is&&u),h&&(_1.__m&&_1.__m(l,r),h=!1),r=null}if(A==null)M===u||h&&a.data==u||(a.data=u);else{if(r=r&&R8.call(a.childNodes),M=c.props||L8,!h&&r!=null)for(M={},i=0;i<a.attributes.length;i++)M[(p=a.attributes[i]).name]=p.value;for(i in M)if(p=M[i],i=="children");else if(i=="dangerouslySetInnerHTML")n=p;else if(!(i in u)){if(i=="value"&&"defaultValue"in u||i=="checked"&&"defaultChecked"in u)continue;kc(a,i,null,p,e)}for(i in u)p=u[i],i=="children"?d=p:i=="dangerouslySetInnerHTML"?v=p:i=="value"?m=p:i=="checked"?s=p:h&&typeof p!="function"||M[i]===p||kc(a,i,p,M[i],e);if(v)h||n&&(v.__html==n.__html||v.__html==a.innerHTML)||(a.innerHTML=v.__html),l.__k=[];else if(n&&(a.innerHTML=""),iv(l.type=="template"?a.content:a,D8(d)?d:[d],l,c,o,A=="foreignObject"?"http://www.w3.org/1999/xhtml":e,r,t,r?r[0]:c.__k&&$4(c,0),h,Z),r!=null)for(i=r.length;i--;)Nr(r[i]);h||(i="value",A=="progress"&&m==null?a.removeAttribute("value"):m!=null&&(m!==a[i]||A=="progress"&&!m||A=="option"&&m!=M[i])&&kc(a,i,m,M[i],e),i="checked",s!=null&&s!=a[i]&&kc(a,i,s,M[i],e))}return a}function lt(a,l,c){try{if(typeof a=="function"){var o=typeof a.__u=="function";o&&a.__u(),o&&l==null||(a.__u=a(l))}else a.current=l}catch(e){_1.__e(e,c)}}function pv(a,l,c){var o,e;if(_1.unmount&&_1.unmount(a),(o=a.ref)&&(o.current&&o.current!=a.__e||lt(o,null,l)),(o=a.__c)!=null){if(o.componentWillUnmount)try{o.componentWillUnmount()}catch(r){_1.__e(r,l)}o.base=o.__P=null}if(o=a.__k)for(e=0;e<o.length;e++)o[e]&&pv(o[e],l,c||typeof a.type!="function");c||Nr(a.__e),a.__c=a.__=a.__e=void 0}function wf(a,l,c){return this.constructor(a,c)}function A7(a,l,c){var o,e,r,t;l==document&&(l=document.documentElement),_1.__&&_1.__(a,l),e=(o=typeof c=="function")?null:c&&c.__k||l.__k,r=[],t=[],at(l,a=(!o&&c||l).__k=r1(p1,null,[a]),e||L8,L8,l.namespaceURI,!o&&c?[c]:e?null:l.firstChild?R8.call(l.childNodes):null,r,!o&&c?c:e?e.__e:l.firstChild,o,t),vv(r,a,t)}function ct(a,l){A7(a,l,ct)}function mv(a,l,c){var o,e,r,t,h=J2({},a.props);for(r in a.type&&a.type.defaultProps&&(t=a.type.defaultProps),l)r=="key"?o=l[r]:r=="ref"?e=l[r]:h[r]=l[r]===void 0&&t!=null?t[r]:l[r];return arguments.length>2&&(h.children=arguments.length>3?R8.call(arguments,2):c),C8(a.type,h,o||a.key,e||a.ref,null)}function e1(a){function l(c){var o,e;return this.getChildContext||(o=/*@__PURE__*/new Set,(e={})[l.__c]=this,this.getChildContext=function(){return e},this.componentWillUnmount=function(){o=null},this.shouldComponentUpdate=function(r){this.props.value!=r.value&&o.forEach(function(t){t.__e=!0,Qr(t)})},this.sub=function(r){o.add(r);var t=r.componentWillUnmount;r.componentWillUnmount=function(){o&&o.delete(r),t&&t.call(r)}}),c.children}return l.__c="__cC"+tv++,l.__=a,l.Provider=l.__l=(l.Consumer=function(c,o){return c.children(o)}).contextType=l,l}var R8,_1,cv,Xr,W3,Nn,ov,ev,rv,jr,Jr,$r,tv,L8,hv,Cf,D8;var j7=Kr(()=>{L8={},hv=[],Cf=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,D8=Array.isArray;R8=hv.slice,_1={__e:function(a,l,c,o){for(var e,r,t;l=l.__;)if((e=l.__c)&&!e.__)try{if((r=e.constructor)&&r.getDerivedStateFromError!=null&&(e.setState(r.getDerivedStateFromError(a)),t=e.__d),e.componentDidCatch!=null&&(e.componentDidCatch(a,o||{}),t=e.__d),t)return e.__E=e}catch(h){a=h}throw a}},cv=0,Xr=function(a){return a!=null&&a.constructor==null},e5.prototype.setState=function(a,l){var c;c=this.__s!=null&&this.__s!=this.state?this.__s:this.__s=J2({},this.state),typeof a=="function"&&(a=a(J2({},c),this.props)),a&&J2(c,a),a!=null&&this.__v&&(l&&this._sb.push(l),Qr(this))},e5.prototype.forceUpdate=function(a){this.__v&&(this.__e=!0,a&&this.__h.push(a),Qr(this))},e5.prototype.render=p1,W3=[],ov=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,ev=function(a,l){return a.__v.__b-l.__v.__b},yc.__r=0,rv=/(PointerCapture)$|Capture$/i,jr=0,Jr=lv(!1),$r=lv(!0),tv=0});function q3(a,l){Z0.__h&&Z0.__h(Y1,a,r6||l),r6=0;var c=Y1.__H||(Y1.__H={__:[],__h:[]});return a>=c.__.length&&c.__.push({}),c.__[a]}function Z1(a){return r6=1,Q5(Od,a)}function Q5(a,l,c){var o=q3(x7++,2);if(o.t=a,!o.__c&&(o.__=[c?c(l):Od(void 0,l),function(h){var Z=o.__N?o.__N[0]:o.__[0],i=o.t(Z,h);Z!==i&&(o.__N=[i,o.__[1]],o.__c.setState({}))}],o.__c=Y1,!Y1.__f)){var e=function(h,Z,i){if(!o.__c.__H)return!0;var v=o.__c.__H.__.filter(function(d){return!!d.__c});if(v.every(function(d){return!d.__N}))return!r||r.call(this,h,Z,i);var n=o.__c.props!==h;return v.forEach(function(d){if(d.__N){var p=d.__[0];d.__=d.__N,d.__N=void 0,p!==d.__[0]&&(n=!0)}}),r&&r.call(this,h,Z,i)||n};Y1.__f=!0;var{shouldComponentUpdate:r,componentWillUpdate:t}=Y1;Y1.componentWillUpdate=function(h,Z,i){if(this.__e){var v=r;r=void 0,e(h,Z,i),r=v}t&&t.call(this,h,Z,i)},Y1.shouldComponentUpdate=e}return o.__N||o.__}function h1(a,l){var c=q3(x7++,3);!Z0.__s&&Gt(c.__H,l)&&(c.__=a,c.u=l,Y1.__H.__h.push(c))}function p2(a,l){var c=q3(x7++,4);!Z0.__s&&Gt(c.__H,l)&&(c.__=a,c.u=l,Y1.__h.push(c))}function E(a){return r6=5,u1(function(){return{current:a}},[])}function m5(a,l,c){r6=6,p2(function(){if(typeof a=="function"){var o=a(l());return function(){a(null),o&&typeof o=="function"&&o()}}if(a)return a.current=l(),function(){return a.current=null}},c==null?c:c.concat(a))}function u1(a,l){var c=q3(x7++,7);return Gt(c.__H,l)&&(c.__=a(),c.__H=l,c.__h=a),c.__}function $(a,l){return r6=8,u1(function(){return a},l)}function l1(a){var l=Y1.context[a.__c],c=q3(x7++,9);return c.c=a,l?(c.__==null&&(c.__=!0,l.sub(Y1)),l.props.value):a.__}function W8(a,l){Z0.useDebugValue&&Z0.useDebugValue(l?l(a):a)}function ro(a){var l=q3(x7++,10),c=Z1();return l.__=a,Y1.componentDidCatch||(Y1.componentDidCatch=function(o,e){l.__&&l.__(o,e),c[1](o)}),[c[0],function(){c[1](void 0)}]}function z3(){var a=q3(x7++,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 rg(){for(var a;a=bd.shift();)if(a.__P&&a.__H)try{a.__H.__h.forEach(eo),a.__H.__h.forEach(Ut),a.__H.__h=[]}catch(l){a.__H.__h=[],Z0.__e(l,a.__v)}}function tg(a){var l,c=function(){clearTimeout(o),Bd&&cancelAnimationFrame(l),setTimeout(a)},o=setTimeout(c,35);Bd&&(l=requestAnimationFrame(c))}function eo(a){var l=Y1,c=a.__c;typeof c=="function"&&(a.__c=void 0,c()),Y1=l}function Ut(a){var l=Y1;a.__c=a.__(),Y1=l}function Gt(a,l){return!a||a.length!==l.length||l.some(function(c,o){return c!==a[o]})}function Od(a,l){return typeof l=="function"?l(a):l}var x7,Y1,yt,Dd,r6=0,bd,Z0,wd,Sd,kd,yd,Ud,Gd,Bd;var H5=Kr(()=>{j7();bd=[],Z0=_1,wd=Z0.__b,Sd=Z0.__r,kd=Z0.diffed,yd=Z0.__c,Ud=Z0.unmount,Gd=Z0.__;Z0.__b=function(a){Y1=null,wd&&wd(a)},Z0.__=function(a,l){a&&l.__k&&l.__k.__m&&(a.__m=l.__k.__m),Gd&&Gd(a,l)},Z0.__r=function(a){Sd&&Sd(a),x7=0;var l=(Y1=a.__c).__H;l&&(yt===Y1?(l.__h=[],Y1.__h=[],l.__.forEach(function(c){c.__N&&(c.__=c.__N),c.u=c.__N=void 0})):(l.__h.forEach(eo),l.__h.forEach(Ut),l.__h=[],x7=0)),yt=Y1},Z0.diffed=function(a){kd&&kd(a);var l=a.__c;l&&l.__H&&(l.__H.__h.length&&(bd.push(l)!==1&&Dd===Z0.requestAnimationFrame||((Dd=Z0.requestAnimationFrame)||tg)(rg)),l.__H.__.forEach(function(c){c.u&&(c.__H=c.u),c.u=void 0})),yt=Y1=null},Z0.__c=function(a,l){l.some(function(c){try{c.__h.forEach(eo),c.__h=c.__h.filter(function(o){return!o.__||Ut(o)})}catch(o){l.some(function(e){e.__h&&(e.__h=[])}),l=[],Z0.__e(o,c.__v)}}),yd&&yd(a,l)},Z0.unmount=function(a){Ud&&Ud(a);var l,c=a.__c;c&&c.__H&&(c.__H.__.forEach(function(o){try{eo(o)}catch(e){l=e}}),c.__H=void 0,l&&Z0.__e(l,c.__v))};Bd=typeof requestAnimationFrame=="function"});var V={};Sc(V,{version:()=>J3,useTransition:()=>io,useSyncExternalStore:()=>to,useState:()=>Z1,useRef:()=>E,useReducer:()=>Q5,useMemo:()=>u1,useLayoutEffect:()=>p2,useInsertionEffect:()=>Y5,useImperativeHandle:()=>m5,useId:()=>z3,useErrorBoundary:()=>ro,useEffect:()=>h1,useDeferredValue:()=>Zo,useDebugValue:()=>W8,useContext:()=>l1,useCallback:()=>$,unstable_batchedUpdates:()=>Jt,unmountComponentAtNode:()=>zt,startTransition:()=>ho,render:()=>Tt,memo:()=>P8,lazy:()=>Ot,isValidElement:()=>h5,isMemo:()=>qt,isFragment:()=>Pt,isElement:()=>Yt,hydrate:()=>Et,forwardRef:()=>O,flushSync:()=>$t,findDOMNode:()=>Kt,default:()=>K8,createRef:()=>r5,createPortal:()=>q8,createFactory:()=>It,createElement:()=>r1,createContext:()=>e1,cloneElement:()=>o3,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:()=>z8,SuspenseList:()=>K3,Suspense:()=>t6,StrictMode:()=>Qt,PureComponent:()=>I8,Fragment:()=>p1,Component:()=>e5,Children:()=>C7});function Jd(a,l){for(var c in l)a[c]=l[c];return a}function bt(a,l){for(var c in a)if(c!=="__source"&&!(c in l))return!0;for(var o in l)if(o!=="__source"&&a[o]!==l[o])return!0;return!1}function to(a,l){var c=l(),o=Z1({t:{__:c,u:l}}),e=o[0].t,r=o[1];return p2(function(){e.__=c,e.u=l,Bt(e)&&r({t:e})},[a,c,l]),h1(function(){return Bt(e)&&r({t:e}),a(function(){Bt(e)&&r({t:e})})},[a]),c}function Bt(a){var l,c,o=a.u,e=a.__;try{var r=o();return!((l=e)===(c=r)&&(l!==0||1/l==1/c)||l!=l&&c!=c)}catch(t){return!0}}function ho(a){a()}function Zo(a){return a}function io(){return[!1,ho]}function I8(a,l){this.props=a,this.context=l}function P8(a,l){function c(e){var r=this.props.ref,t=r==e.ref;return!t&&r&&(r.call?r(null):r.current=null),l?!l(this.props,e)||!t:bt(this.props,e)}function o(e){return this.shouldComponentUpdate=c,r1(a,e)}return o.displayName="Memo("+(a.displayName||a.name)+")",o.prototype.isReactComponent=!0,o.__f=!0,o}function O(a){function l(c){var o=Jd({},c);return delete o.ref,a(o,c.ref||null)}return l.$$typeof=hg,l.render=l,l.prototype.isReactComponent=l.__f=!0,l.displayName="ForwardRef("+(a.displayName||a.name)+")",l}function $d(a,l,c){return a&&(a.__c&&a.__c.__H&&(a.__c.__H.__.forEach(function(o){typeof o.__c=="function"&&o.__c()}),a.__c.__H=null),(a=Jd({},a)).__c!=null&&(a.__c.__P===c&&(a.__c.__P=l),a.__c.__e=!0,a.__c=null),a.__k=a.__k&&a.__k.map(function(o){return $d(o,l,c)})),a}function Qd(a,l,c){return a&&c&&(a.__v=null,a.__k=a.__k&&a.__k.map(function(o){return Qd(o,l,c)}),a.__c&&a.__c.__P===l&&(a.__e&&c.appendChild(a.__e),a.__c.__e=!0,a.__c.__P=c)),a}function t6(){this.__u=0,this.o=null,this.__b=null}function Yd(a){var l=a.__.__c;return l&&l.__a&&l.__a(a)}function Ot(a){var l,c,o;function e(r){if(l||(l=a()).then(function(t){c=t.default||t},function(t){o=t}),o)throw o;if(!c)throw l;return r1(c,r)}return e.displayName="Lazy",e.__f=!0,e}function K3(){this.i=null,this.l=null}function ig(a){return this.getChildContext=function(){return a.context},a.children}function ng(a){var l=this,c=a.h;if(l.componentWillUnmount=function(){A7(null,l.v),l.v=null,l.h=null},l.h&&l.h!==c&&l.componentWillUnmount(),!l.v){for(var o=l.__v;o!==null&&!o.__m&&o.__!==null;)o=o.__;l.h=c,l.v={nodeType:1,parentNode:c,childNodes:[],__k:{__m:o.__m},contains:function(){return!0},insertBefore:function(e,r){this.childNodes.push(e),l.h.insertBefore(e,r)},removeChild:function(e){this.childNodes.splice(this.childNodes.indexOf(e)>>>1,1),l.h.removeChild(e)}}}A7(r1(ig,{context:l.context},a.__v),l.v)}function q8(a,l){var c=r1(ng,{__v:a,h:l});return c.containerInfo=l,c}function Tt(a,l,c){return l.__k==null&&(l.textContent=""),A7(a,l),typeof c=="function"&&c(),a?a.__c:null}function Et(a,l,c){return ct(a,l),typeof c=="function"&&c(),a?a.__c:null}function Mg(){}function _g(){return this.cancelBubble}function ug(){return this.defaultPrevented}function It(a){return r1.bind(null,a)}function h5(a){return!!a&&a.$$typeof===Xd}function Pt(a){return h5(a)&&a.type===p1}function qt(a){return!!a&&!!a.displayName&&(typeof a.displayName=="string"||a.displayName instanceof String)&&a.displayName.startsWith("Memo(")}function o3(a){return h5(a)?mv.apply(null,arguments):a}function zt(a){return!!a.__k&&(A7(null,a),!0)}function Kt(a){return a&&(a.base||a.nodeType===1&&a)||null}var Y5,Td,hg,Ed=function(a,l){return a==null?null:$2($2(a).map(l))},C7,Zg,Wd,Id=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]}},Xd,vg,dg,pg,mg,sg=function(a){return(typeof Symbol!="undefined"&&typeof Symbol()=="symbol"?/fil|che|rad/:/fil|che|ra/).test(a)},Pd,Wt,Ag,qd,zd,Kd,z8,J3="18.3.1",Jt=function(a,l){return a(l)},$t=function(a,l){return a(l)},Qt,Yt,K8;var f=Kr(()=>{j7();j7();H5();H5();Y5=p2;(I8.prototype=new e5).isPureReactComponent=!0,I8.prototype.shouldComponentUpdate=function(a,l){return bt(this.props,a)||bt(this.state,l)};Td=_1.__b;_1.__b=function(a){a.type&&a.type.__f&&a.ref&&(a.props.ref=a.ref,a.ref=null),Td&&Td(a)};hg=typeof Symbol!="undefined"&&Symbol.for&&Symbol.for("react.forward_ref")||3911;C7={map:Ed,forEach:Ed,count:function(a){return a?$2(a).length:0},only:function(a){var l=$2(a);if(l.length!==1)throw"Children.only";return l[0]},toArray:$2},Zg=_1.__e;_1.__e=function(a,l,c,o){if(a.then){for(var e,r=l;r=r.__;)if((e=r.__c)&&e.__c)return l.__e==null&&(l.__e=c.__e,l.__k=c.__k),e.__c(a,l)}Zg(a,l,c,o)};Wd=_1.unmount;_1.unmount=function(a){var l=a.__c;l&&l.__R&&l.__R(),l&&32&a.__u&&(a.type=null),Wd&&Wd(a)},(t6.prototype=new e5).__c=function(a,l){var c=l.__c,o=this;o.o==null&&(o.o=[]),o.o.push(c);var e=Yd(o.__v),r=!1,t=function(){r||(r=!0,c.__R=null,e?e(h):h())};c.__R=t;var h=function(){if(!--o.__u){if(o.state.__a){var Z=o.state.__a;o.__v.__k[0]=Qd(Z,Z.__c.__P,Z.__c.__O)}var i;for(o.setState({__a:o.__b=null});i=o.o.pop();)i.forceUpdate()}};o.__u++||32&l.__u||o.setState({__a:o.__b=o.__v.__k[0]}),a.then(t,t)},t6.prototype.componentWillUnmount=function(){this.o=[]},t6.prototype.render=function(a,l){if(this.__b){if(this.__v.__k){var c=document.createElement("div"),o=this.__v.__k[0].__c;this.__v.__k[0]=$d(this.__b,c,o.__O=o.__P)}this.__b=null}var e=l.__a&&r1(p1,null,a.fallback);return e&&(e.__u&=-33),[r1(p1,null,l.__a?null:a.children),e]};(K3.prototype=new e5).__a=function(a){var l=this,c=Yd(l.__v),o=l.l.get(a);return o[0]++,function(e){var r=function(){l.props.revealOrder?(o.push(e),Id(l,a,o)):e()};c?c(r):r()}},K3.prototype.render=function(a){this.i=null,this.l=/*@__PURE__*/new Map;var l=$2(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){Id(a,c,l)})};Xd=typeof Symbol!="undefined"&&Symbol.for&&Symbol.for("react.element")||60103,vg=/^(?: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]/,dg=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,pg=/[A-Z0-9]/g,mg=typeof document!="undefined";e5.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(a){Object.defineProperty(e5.prototype,a,{configurable:!0,get:function(){return this["UNSAFE_"+a]},set:function(l){Object.defineProperty(this,a,{configurable:!0,writable:!0,value:l})}})});Pd=_1.event;_1.event=function(a){return Pd&&(a=Pd(a)),a.persist=Mg,a.isPropagationStopped=_g,a.isDefaultPrevented=ug,a.nativeEvent=a};Ag={enumerable:!1,configurable:!0,get:function(){return this.class}},qd=_1.vnode;_1.vnode=function(a){typeof a.type=="string"&&function(l){var{props:c,type:o}=l,e={},r=o.indexOf("-")===-1;for(var t in c){var h=c[t];if(!(t==="value"&&("defaultValue"in c)&&h==null||mg&&t==="children"&&o==="noscript"||t==="class"||t==="className")){var Z=t.toLowerCase();t==="defaultValue"&&"value"in c&&c.value==null?t="value":t==="download"&&h===!0?h="":Z==="translate"&&h==="no"?h=!1:Z[0]==="o"&&Z[1]==="n"?Z==="ondoubleclick"?t="ondblclick":Z!=="onchange"||o!=="input"&&o!=="textarea"||sg(c.type)?Z==="onfocus"?t="onfocusin":Z==="onblur"?t="onfocusout":dg.test(t)&&(t=Z):Z=t="oninput":r&&vg.test(t)?t=t.replace(pg,"-$&").toLowerCase():h===null&&(h=void 0),Z==="oninput"&&e[t=Z]&&(t="oninputCapture"),e[t]=h}}o=="select"&&e.multiple&&Array.isArray(e.value)&&(e.value=$2(c.children).forEach(function(i){i.props.selected=e.value.indexOf(i.props.value)!=-1})),o=="select"&&e.defaultValue!=null&&(e.value=$2(c.children).forEach(function(i){i.props.selected=e.multiple?e.defaultValue.indexOf(i.props.value)!=-1:e.defaultValue==i.props.value})),c.class&&!c.className?(e.class=c.class,Object.defineProperty(e,"className",Ag)):(c.className&&!c.class||c.class&&c.className)&&(e.class=e.className=c.className),l.props=e}(a),a.$$typeof=Xd,qd&&qd(a)};zd=_1.__r;_1.__r=function(a){zd&&zd(a),Wt=a.__c};Kd=_1.diffed;_1.diffed=function(a){Kd&&Kd(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),Wt=null};z8={ReactCurrentDispatcher:{current:{readContext:function(a){return Wt.__n[a.__c].props.value},useCallback:$,useContext:l1,useDebugValue:W8,useDeferredValue:Zo,useEffect:h1,useId:z3,useImperativeHandle:m5,useInsertionEffect:Y5,useLayoutEffect:p2,useMemo:u1,useReducer:Q5,useRef:E,useState:Z1,useSyncExternalStore:to,useTransition:io}}};Qt=p1,Yt=h5,K8={useState:Z1,useId:z3,useReducer:Q5,useEffect:h1,useLayoutEffect:p2,useInsertionEffect:Y5,useTransition:io,useDeferredValue:Zo,useSyncExternalStore:to,startTransition:ho,useRef:E,useImperativeHandle:m5,useMemo:u1,useCallback:$,useContext:l1,useDebugValue:W8,version:"18.3.1",Children:C7,render:Tt,hydrate:Et,unmountComponentAtNode:zt,createPortal:q8,createElement:r1,createContext:e1,createFactory:It,cloneElement:o3,createRef:r5,Fragment:p1,isValidElement:h5,isElement:Yt,isFragment:Pt,isMemo:qt,findDOMNode:Kt,Component:e5,PureComponent:I8,memo:P8,forwardRef:O,flushSync:$t,unstable_batchedUpdates:Jt,StrictMode:Qt,Suspense:t6,SuspenseList:K3,lazy:Ot,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:z8}});var Gp=K2((Qg)=>{(function(){var a=60103,l=60106,c=60107,o=60108,e=60114,r=60109,t=60110,h=60112,Z=60113,i=60120,v=60115,n=60116,d=60121,p=60122,m=60117,s=60119,M=60128,u=60129,A=60130,H=60131;if(typeof Symbol==="function"&&Symbol.for){var g=Symbol.for;a=g("react.element"),l=g("react.portal"),c=g("react.fragment"),o=g("react.strict_mode"),e=g("react.profiler"),r=g("react.provider"),t=g("react.context"),h=g("react.forward_ref"),Z=g("react.suspense"),i=g("react.suspense_list"),v=g("react.memo"),n=g("react.lazy"),d=g("react.block"),p=g("react.server.block"),m=g("react.fundamental"),s=g("react.scope"),M=g("react.opaque.id"),u=g("react.debug_trace_mode"),A=g("react.offscreen"),H=g("react.legacy_hidden")}var F=!1;function D(v1){if(typeof v1==="string"||typeof v1==="function")return!0;if(v1===c||v1===e||v1===u||v1===o||v1===Z||v1===i||v1===H||F)return!0;if(typeof v1==="object"&&v1!==null){if(v1.$$typeof===n||v1.$$typeof===v||v1.$$typeof===r||v1.$$typeof===t||v1.$$typeof===h||v1.$$typeof===m||v1.$$typeof===d||v1[0]===p)return!0}return!1}function x(v1){if(typeof v1==="object"&&v1!==null){var A5=v1.$$typeof;switch(A5){case a:var d2=v1.type;switch(d2){case c:case e:case o:case Z:case i:return d2;default:var B5=d2&&d2.$$typeof;switch(B5){case t:case h:case n:case v:case r:return B5;default:return A5}}case l:return A5}}return}var b=t,T=r,n1=a,c1=h,Y=c,C=n,w=v,U=l,J=e,j=o,d1=Z,q=!1,m1=!1;function H1(v1){if(!q)q=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.");return!1}function K(v1){if(!m1)m1=!0,console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.");return!1}function I(v1){return x(v1)===t}function R1(v1){return x(v1)===r}function k1(v1){return typeof v1==="object"&&v1!==null&&v1.$$typeof===a}function o0(v1){return x(v1)===h}function q5(v1){return x(v1)===c}function n2(v1){return x(v1)===n}function v2(v1){return x(v1)===v}function z5(v1){return x(v1)===l}function U5(v1){return x(v1)===e}function o1(v1){return x(v1)===o}function G5(v1){return x(v1)===Z}Qg.ContextConsumer=b,Qg.ContextProvider=T,Qg.Element=n1,Qg.ForwardRef=c1,Qg.Fragment=Y,Qg.Lazy=C,Qg.Memo=w,Qg.Portal=U,Qg.Profiler=J,Qg.StrictMode=j,Qg.Suspense=d1,Qg.isAsyncMode=H1,Qg.isConcurrentMode=K,Qg.isContextConsumer=I,Qg.isContextProvider=R1,Qg.isElement=k1,Qg.isForwardRef=o0,Qg.isFragment=q5,Qg.isLazy=n2,Qg.isMemo=v2,Qg.isPortal=z5,Qg.isProfiler=U5,Qg.isStrictMode=o1,Qg.isSuspense=G5,Qg.isValidElementType=D,Qg.typeOf=x})()});var Ws=K2((Gx)=>{(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 o(a1,M1){var w1=a1.length;a1.push(M1),t(a1,M1,w1)}function e(a1){return a1.length===0?null:a1[0]}function r(a1){if(a1.length===0)return null;var M1=a1[0],w1=a1.pop();if(w1!==M1)a1[0]=w1,h(a1,w1,0);return M1}function t(a1,M1,w1){var K1=w1;while(K1>0){var r0=K1-1>>>1,p5=a1[r0];if(Z(p5,M1)>0)a1[r0]=M1,a1[K1]=p5,K1=r0;else return}}function h(a1,M1,w1){var K1=w1,r0=a1.length,p5=r0>>>1;while(K1<p5){var b0=(K1+1)*2-1,z2=a1[b0],o5=b0+1,wc=a1[o5];if(Z(z2,M1)<0)if(o5<r0&&Z(wc,z2)<0)a1[K1]=wc,a1[o5]=M1,K1=o5;else a1[K1]=z2,a1[b0]=M1,K1=b0;else if(o5<r0&&Z(wc,M1)<0)a1[K1]=wc,a1[o5]=M1,K1=o5;else return}}function Z(a1,M1){var w1=a1.sortIndex-M1.sortIndex;return w1!==0?w1:a1.id-M1.id}var i=1,v=2,n=3,d=4,p=5;function m(a1,M1){}var s=typeof performance==="object"&&typeof performance.now==="function";if(s){var M=performance;Gx.unstable_now=function(){return M.now()}}else{var u=Date,A=u.now();Gx.unstable_now=function(){return u.now()-A}}var H=1073741823,g=-1,F=250,D=5000,x=1e4,b=H,T=[],n1=[],c1=1,Y=null,C=n,w=!1,U=!1,J=!1,j=typeof setTimeout==="function"?setTimeout:null,d1=typeof clearTimeout==="function"?clearTimeout:null,q=typeof setImmediate!=="undefined"?setImmediate:null,m1=typeof navigator!=="undefined"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0?navigator.scheduling.isInputPending.bind(navigator.scheduling):null;function H1(a1){var M1=e(n1);while(M1!==null){if(M1.callback===null)r(n1);else if(M1.startTime<=a1)r(n1),M1.sortIndex=M1.expirationTime,o(T,M1);else return;M1=e(n1)}}function K(a1){if(J=!1,H1(a1),!U)if(e(T)!==null)U=!0,e0(I);else{var M1=e(n1);if(M1!==null)m0(K,M1.startTime-a1)}}function I(a1,M1){if(U=!1,J)J=!1,c5();w=!0;var w1=C;try{if(l)try{return R1(a1,M1)}catch(r0){if(Y!==null){var K1=Gx.unstable_now();m(Y,K1),Y.isQueued=!1}throw r0}else return R1(a1,M1)}finally{Y=null,C=w1,w=!1}}function R1(a1,M1){var w1=M1;H1(w1),Y=e(T);while(Y!==null&&!a){if(Y.expirationTime>w1&&(!a1||O3()))break;var K1=Y.callback;if(typeof K1==="function"){Y.callback=null,C=Y.priorityLevel;var r0=Y.expirationTime<=w1,p5=K1(r0);if(w1=Gx.unstable_now(),typeof p5==="function")Y.callback=p5;else if(Y===e(T))r(T);H1(w1)}else r(T);Y=e(T)}if(Y!==null)return!0;else{var b0=e(n1);if(b0!==null)m0(K,b0.startTime-w1);return!1}}function k1(a1,M1){switch(a1){case i:case v:case n:case d:case p:break;default:a1=n}var w1=C;C=a1;try{return M1()}finally{C=w1}}function o0(a1){var M1;switch(C){case i:case v:case n:M1=n;break;default:M1=C;break}var w1=C;C=M1;try{return a1()}finally{C=w1}}function q5(a1){var M1=C;return function(){var w1=C;C=M1;try{return a1.apply(this,arguments)}finally{C=w1}}}function n2(a1,M1,w1){var K1=Gx.unstable_now(),r0;if(typeof w1==="object"&&w1!==null){var p5=w1.delay;if(typeof p5==="number"&&p5>0)r0=K1+p5;else r0=K1}else r0=K1;var b0;switch(a1){case i:b0=g;break;case v:b0=F;break;case p:b0=b;break;case d:b0=x;break;case n:default:b0=D;break}var z2=r0+b0,o5={id:c1++,callback:M1,priorityLevel:a1,startTime:r0,expirationTime:z2,sortIndex:-1};if(r0>K1){if(o5.sortIndex=r0,o(n1,o5),e(T)===null&&o5===e(n1)){if(J)c5();else J=!0;m0(K,r0-K1)}}else if(o5.sortIndex=z2,o(T,o5),!U&&!w)U=!0,e0(I);return o5}function v2(){}function z5(){if(!U&&!w)U=!0,e0(I)}function U5(){return e(T)}function o1(a1){a1.callback=null}function G5(){return C}var v1=!1,A5=null,d2=-1,B5=c,z4=-1;function O3(){var a1=Gx.unstable_now()-z4;if(a1<B5)return!1;return!0}function K4(){}function qr(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 x8=function(){if(A5!==null){var a1=Gx.unstable_now();z4=a1;var M1=!0,w1=!0;try{w1=A5(M1,a1)}finally{if(w1)T3();else v1=!1,A5=null}}else v1=!1},T3;if(typeof q==="function")T3=function(){q(x8)};else if(typeof MessageChannel!=="undefined"){var X=new MessageChannel,A1=X.port2;X.port1.onmessage=x8,T3=function(){A1.postMessage(null)}}else T3=function(){j(x8,0)};function e0(a1){if(A5=a1,!v1)v1=!0,T3()}function m0(a1,M1){d2=j(function(){a1(Gx.unstable_now())},M1)}function c5(){d1(d2),d2=-1}var E3=K4,X7=null;if(Gx.unstable_IdlePriority=p,Gx.unstable_ImmediatePriority=i,Gx.unstable_LowPriority=d,Gx.unstable_NormalPriority=n,Gx.unstable_Profiling=X7,Gx.unstable_UserBlockingPriority=v,Gx.unstable_cancelCallback=o1,Gx.unstable_continueExecution=z5,Gx.unstable_forceFrameRate=qr,Gx.unstable_getCurrentPriorityLevel=G5,Gx.unstable_getFirstCallbackNode=U5,Gx.unstable_next=o0,Gx.unstable_pauseExecution=v2,Gx.unstable_requestPaint=E3,Gx.unstable_runWithPriority=k1,Gx.unstable_scheduleCallback=n2,Gx.unstable_shouldYield=O3,Gx.unstable_wrapCallback=q5,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__!=="undefined"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop==="function")__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)})()});var qZ=K2((cD)=>{(function(){var a=typeof Symbol==="function"&&Symbol.for,l=a?Symbol.for("react.element"):60103,c=a?Symbol.for("react.portal"):60106,o=a?Symbol.for("react.fragment"):60107,e=a?Symbol.for("react.strict_mode"):60108,r=a?Symbol.for("react.profiler"):60114,t=a?Symbol.for("react.provider"):60109,h=a?Symbol.for("react.context"):60110,Z=a?Symbol.for("react.async_mode"):60111,i=a?Symbol.for("react.concurrent_mode"):60111,v=a?Symbol.for("react.forward_ref"):60112,n=a?Symbol.for("react.suspense"):60113,d=a?Symbol.for("react.suspense_list"):60120,p=a?Symbol.for("react.memo"):60115,m=a?Symbol.for("react.lazy"):60116,s=a?Symbol.for("react.block"):60121,M=a?Symbol.for("react.fundamental"):60117,u=a?Symbol.for("react.responder"):60118,A=a?Symbol.for("react.scope"):60119;function H(o1){return typeof o1==="string"||typeof o1==="function"||o1===o||o1===i||o1===r||o1===e||o1===n||o1===d||typeof o1==="object"&&o1!==null&&(o1.$$typeof===m||o1.$$typeof===p||o1.$$typeof===t||o1.$$typeof===h||o1.$$typeof===v||o1.$$typeof===M||o1.$$typeof===u||o1.$$typeof===A||o1.$$typeof===s)}function g(o1){if(typeof o1==="object"&&o1!==null){var G5=o1.$$typeof;switch(G5){case l:var v1=o1.type;switch(v1){case Z:case i:case o:case r:case e:case n:return v1;default:var A5=v1&&v1.$$typeof;switch(A5){case h:case v:case m:case p:case t:return A5;default:return G5}}case c:return G5}}return}var F=Z,D=i,x=h,b=t,T=l,n1=v,c1=o,Y=m,C=p,w=c,U=r,J=e,j=n,d1=!1;function q(o1){if(!d1)d1=!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 m1(o1)||g(o1)===Z}function m1(o1){return g(o1)===i}function H1(o1){return g(o1)===h}function K(o1){return g(o1)===t}function I(o1){return typeof o1==="object"&&o1!==null&&o1.$$typeof===l}function R1(o1){return g(o1)===v}function k1(o1){return g(o1)===o}function o0(o1){return g(o1)===m}function q5(o1){return g(o1)===p}function n2(o1){return g(o1)===c}function v2(o1){return g(o1)===r}function z5(o1){return g(o1)===e}function U5(o1){return g(o1)===n}cD.AsyncMode=F,cD.ConcurrentMode=D,cD.ContextConsumer=x,cD.ContextProvider=b,cD.Element=T,cD.ForwardRef=n1,cD.Fragment=c1,cD.Lazy=Y,cD.Memo=C,cD.Portal=w,cD.Profiler=U,cD.StrictMode=J,cD.Suspense=j,cD.isAsyncMode=q,cD.isConcurrentMode=m1,cD.isContextConsumer=H1,cD.isContextProvider=K,cD.isElement=I,cD.isForwardRef=R1,cD.isFragment=k1,cD.isLazy=o0,cD.isMemo=q5,cD.isPortal=n2,cD.isProfiler=v2,cD.isStrictMode=z5,cD.isSuspense=U5,cD.isValidElementType=H,cD.typeOf=g})()});var xu=K2((dh1,Fu)=>{var gu=Object.getOwnPropertySymbols,oD=Object.prototype.hasOwnProperty,eD=Object.prototype.propertyIsEnumerable;function rD(a){if(a===null||a===void 0)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(a)}function tD(){try{if(!Object.assign)return!1;var a=new String("abc");if(a[5]="de",Object.getOwnPropertyNames(a)[0]==="5")return!1;var l={};for(var c=0;c<10;c++)l["_"+String.fromCharCode(c)]=c;var o=Object.getOwnPropertyNames(l).map(function(r){return l[r]});if(o.join("")!=="0123456789")return!1;var e={};if("abcdefghijklmnopqrst".split("").forEach(function(r){e[r]=r}),Object.keys(Object.assign({},e)).join("")!=="abcdefghijklmnopqrst")return!1;return!0}catch(r){return!1}}Fu.exports=tD()?Object.assign:function(a,l){var c,o=rD(a),e;for(var r=1;r<arguments.length;r++){c=Object(arguments[r]);for(var t in c)if(oD.call(c,t))o[t]=c[t];if(gu){e=gu(c);for(var h=0;h<e.length;h++)if(eD.call(c,e[h]))o[e[h]]=c[e[h]]}}return o}});var zZ=K2((ph1,Cu)=>{var hD="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";Cu.exports=hD});var KZ=K2((mh1,Lu)=>{Lu.exports=Function.call.bind(Object.prototype.hasOwnProperty)});var wu=K2((sh1,Du)=>{var JZ=function(){};$Z=zZ(),O9={},QZ=KZ(),JZ=function(a){var l="Warning: "+a;if(typeof console!=="undefined")console.error(l);try{throw new Error(l)}catch(c){}};var $Z,O9,QZ;function Ru(a,l,c,o,e){for(var r in a)if(QZ(a,r)){var t;try{if(typeof a[r]!=="function"){var h=Error((o||"React class")+": "+c+" type `"+r+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof a[r]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw h.name="Invariant Violation",h}t=a[r](l,r,o,c,null,$Z)}catch(i){t=i}if(t&&!(t instanceof Error))JZ((o||"React class")+": type specification of "+c+" `"+r+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof t+". 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(t instanceof Error&&!(t.message in O9)){O9[t.message]=!0;var Z=e?e():"";JZ("Failed "+c+" type: "+t.message+(Z!=null?Z:""))}}}Ru.resetWarningCache=function(){O9={}};Du.exports=Ru});var Uu=K2((Mh1,yu)=>{var ku=J4(qZ(),1),ZD=xu(),K6=zZ(),YZ=KZ(),Su=wu(),J6=function(){};J6=function(a){var l="Warning: "+a;if(typeof console!=="undefined")console.error(l);try{throw new Error(l)}catch(c){}};function Ue(){return null}yu.exports=function(a,l){var c=typeof Symbol==="function"&&Symbol.iterator,o="@@iterator";function e(C){var w=C&&(c&&C[c]||C[o]);if(typeof w==="function")return w}var r="<<anonymous>>",t={array:v("array"),bigint:v("bigint"),bool:v("boolean"),func:v("function"),number:v("number"),object:v("object"),string:v("string"),symbol:v("symbol"),any:n(),arrayOf:d,element:p(),elementType:m(),instanceOf:s,node:H(),objectOf:u,oneOf:M,oneOfType:A,shape:F,exact:D};function h(C,w){if(C===w)return C!==0||1/C===1/w;else return C!==C&&w!==w}function Z(C,w){this.message=C,this.data=w&&typeof w==="object"?w:{},this.stack=""}Z.prototype=Error.prototype;function i(C){var w={},U=0;function J(d1,q,m1,H1,K,I,R1){if(H1=H1||r,I=I||m1,R1!==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 o0=H1+":"+m1;if(!w[o0]&&U<3)J6("You are manually calling a React.PropTypes validation function for the `"+I+"` prop on `"+H1+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),w[o0]=!0,U++}}if(q[m1]==null){if(d1){if(q[m1]===null)return new Z("The "+K+" `"+I+"` is marked as required "+("in `"+H1+"`, but its value is `null`."));return new Z("The "+K+" `"+I+"` is marked as required in "+("`"+H1+"`, but its value is `undefined`."))}return null}else return C(q,m1,H1,K,I)}var j=J.bind(null,!1);return j.isRequired=J.bind(null,!0),j}function v(C){function w(U,J,j,d1,q,m1){var H1=U[J],K=T(H1);if(K!==C){var I=n1(H1);return new Z("Invalid "+d1+" `"+q+"` of type "+("`"+I+"` supplied to `"+j+"`, expected ")+("`"+C+"`."),{expectedType:C})}return null}return i(w)}function n(){return i(Ue)}function d(C){function w(U,J,j,d1,q){if(typeof C!=="function")return new Z("Property `"+q+"` of component `"+j+"` has invalid PropType notation inside arrayOf.");var m1=U[J];if(!Array.isArray(m1)){var H1=T(m1);return new Z("Invalid "+d1+" `"+q+"` of type "+("`"+H1+"` supplied to `"+j+"`, expected an array."))}for(var K=0;K<m1.length;K++){var I=C(m1,K,j,d1,q+"["+K+"]",K6);if(I instanceof Error)return I}return null}return i(w)}function p(){function C(w,U,J,j,d1){var q=w[U];if(!a(q)){var m1=T(q);return new Z("Invalid "+j+" `"+d1+"` of type "+("`"+m1+"` supplied to `"+J+"`, expected a single ReactElement."))}return null}return i(C)}function m(){function C(w,U,J,j,d1){var q=w[U];if(!ku.isValidElementType(q)){var m1=T(q);return new Z("Invalid "+j+" `"+d1+"` of type "+("`"+m1+"` supplied to `"+J+"`, expected a single ReactElement type."))}return null}return i(C)}function s(C){function w(U,J,j,d1,q){if(!(U[J]instanceof C)){var m1=C.name||r,H1=Y(U[J]);return new Z("Invalid "+d1+" `"+q+"` of type "+("`"+H1+"` supplied to `"+j+"`, expected ")+("instance of `"+m1+"`."))}return null}return i(w)}function M(C){if(!Array.isArray(C)){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 Ue}function w(U,J,j,d1,q){var m1=U[J];for(var H1=0;H1<C.length;H1++)if(h(m1,C[H1]))return null;var K=JSON.stringify(C,function I(R1,k1){var o0=n1(k1);if(o0==="symbol")return String(k1);return k1});return new Z("Invalid "+d1+" `"+q+"` of value `"+String(m1)+"` "+("supplied to `"+j+"`, expected one of "+K+"."))}return i(w)}function u(C){function w(U,J,j,d1,q){if(typeof C!=="function")return new Z("Property `"+q+"` of component `"+j+"` has invalid PropType notation inside objectOf.");var m1=U[J],H1=T(m1);if(H1!=="object")return new Z("Invalid "+d1+" `"+q+"` of type "+("`"+H1+"` supplied to `"+j+"`, expected an object."));for(var K in m1)if(YZ(m1,K)){var I=C(m1,K,j,d1,q+"."+K,K6);if(I instanceof Error)return I}return null}return i(w)}function A(C){if(!Array.isArray(C))return J6("Invalid argument supplied to oneOfType, expected an instance of array."),Ue;for(var w=0;w<C.length;w++){var U=C[w];if(typeof U!=="function")return J6("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+c1(U)+" at index "+w+"."),Ue}function J(j,d1,q,m1,H1){var K=[];for(var I=0;I<C.length;I++){var R1=C[I],k1=R1(j,d1,q,m1,H1,K6);if(k1==null)return null;if(k1.data&&YZ(k1.data,"expectedType"))K.push(k1.data.expectedType)}var o0=K.length>0?", expected one of type ["+K.join(", ")+"]":"";return new Z("Invalid "+m1+" `"+H1+"` supplied to "+("`"+q+"`"+o0+"."))}return i(J)}function H(){function C(w,U,J,j,d1){if(!x(w[U]))return new Z("Invalid "+j+" `"+d1+"` supplied to "+("`"+J+"`, expected a ReactNode."));return null}return i(C)}function g(C,w,U,J,j){return new Z((C||"React class")+": "+w+" type `"+U+"."+J+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+j+"`.")}function F(C){function w(U,J,j,d1,q){var m1=U[J],H1=T(m1);if(H1!=="object")return new Z("Invalid "+d1+" `"+q+"` of type `"+H1+"` "+("supplied to `"+j+"`, expected `object`."));for(var K in C){var I=C[K];if(typeof I!=="function")return g(j,d1,q,K,n1(I));var R1=I(m1,K,j,d1,q+"."+K,K6);if(R1)return R1}return null}return i(w)}function D(C){function w(U,J,j,d1,q){var m1=U[J],H1=T(m1);if(H1!=="object")return new Z("Invalid "+d1+" `"+q+"` of type `"+H1+"` "+("supplied to `"+j+"`, expected `object`."));var K=ZD({},U[J],C);for(var I in K){var R1=C[I];if(YZ(C,I)&&typeof R1!=="function")return g(j,d1,q,I,n1(R1));if(!R1)return new Z("Invalid "+d1+" `"+q+"` key `"+I+"` supplied to `"+j+"`.\nBad object: "+JSON.stringify(U[J],null," ")+`
|
|
2
|
-
Valid keys: `+JSON.stringify(Object.keys(
|
|
3
|
-
Source string: ${
|
|
4
|
-
`),l=Jf(a);if(l===void 0)return;let c=kv(l);return c===null||c===void 0?void 0:c.loc}function Jf(a){for(let l=a.length-1;l>=0;--l)if(a[l].includes("at getSourceURLfromError"))return a[l+3];return}var X4=()=>{let a={};return function l(c,o){if(a[c.id]===void 0)c.insertCSSRules(o),a[c.id]=!0}};function dt(a){return a.reduce(function(l,c){var o=c[0],e=c[1];return l[o]=e,l[e]=o,l},{})}function yv(a){return typeof a==="boolean"}function Uv(a){return typeof a==="function"}function j4(a){return typeof a==="number"}function Gv(a){return a===null||typeof a==="undefined"}function Bv(a){return a&&typeof a==="object"}function bv(a){return typeof a==="string"}function U8(a,l){return a.indexOf(l)!==-1}function Ov(a){if(parseFloat(a)===0)return a;if(a[0]==="-")return a.slice(1);return"-"+a}function N4(a,l,c,o){return l+Ov(c)+o}function Tv(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 pt(a){return a.replace(/ +/g," ").split(" ").map(function(l){return l.trim()}).filter(Boolean).reduce(function(l,c){var{list:o,state:e}=l,r=(c.match(/\(/g)||[]).length,t=(c.match(/\)/g)||[]).length;if(e.parensDepth>0)o[o.length-1]=o[o.length-1]+" "+c;else o.push(c);return e.parensDepth+=r-t,{list:o,state:e}},{list:[],state:{parensDepth:0}}).list}function nt(a){var l=pt(a);if(l.length<=3||l.length>4)return a;var c=l[0],o=l[1],e=l[2],r=l[3];return[c,r,e,o].join(" ")}function Ev(a){return!yv(a)&&!Gv(a)}function Wv(a){var l=[],c=0,o=0,e=!1;while(o<a.length)if(!e&&a[o]===",")l.push(a.substring(c,o).trim()),o++,c=o;else if(a[o]==="(")e=!0,o++;else if(a[o]===")")e=!1,o++;else o++;if(c!=o)l.push(a.substring(c,o+1));return l}var B={padding:function a(l){var c=l.value;if(j4(c))return c;return nt(c)},textShadow:function a(l){var c=l.value,o=Wv(c).map(function(e){return e.replace(/(^|\s)(-*)([.|\d]+)/,function(r,t,h,Z){if(Z==="0")return r;var i=h===""?"-":"";return""+t+i+Z})});return o.join(",")},borderColor:function a(l){var c=l.value;return nt(c)},borderRadius:function a(l){var c=l.value;if(j4(c))return c;if(U8(c,"/")){var o=c.split("/"),e=o[0],r=o[1],t=B.borderRadius({value:e.trim()}),h=B.borderRadius({value:r.trim()});return t+" / "+h}var Z=pt(c);switch(Z.length){case 2:return Z.reverse().join(" ");case 4:{var i=Z[0],v=Z[1],n=Z[2],d=Z[3];return[v,i,d,n].join(" ")}default:return c}},background:function a(l){var{value:c,valuesToConvert:o,isRtl:e,bgImgDirectionRegex:r,bgPosDirectionRegex:t}=l;if(j4(c))return c;var h=c.replace(/(url\(.*?\))|(rgba?\(.*?\))|(hsl\(.*?\))|(#[a-fA-F0-9]+)|((^| )(\D)+( |$))/g,"").trim();return c=c.replace(h,B.backgroundPosition({value:h,valuesToConvert:o,isRtl:e,bgPosDirectionRegex:t})),B.backgroundImage({value:c,valuesToConvert:o,bgImgDirectionRegex:r})},backgroundImage:function a(l){var{value:c,valuesToConvert:o,bgImgDirectionRegex:e}=l;if(!U8(c,"url(")&&!U8(c,"linear-gradient("))return c;return c.replace(e,function(r,t,h){return r.replace(h,o[h])})},backgroundPosition:function a(l){var{value:c,valuesToConvert:o,isRtl:e,bgPosDirectionRegex:r}=l;return c.replace(e?/^((-|\d|\.)+%)/:null,function(t,h){return Tv(h)}).replace(r,function(t){return o[t]})},backgroundPositionX:function a(l){var{value:c,valuesToConvert:o,isRtl:e,bgPosDirectionRegex:r}=l;if(j4(c))return c;return B.backgroundPosition({value:c,valuesToConvert:o,isRtl:e,bgPosDirectionRegex:r})},transition:function a(l){var{value:c,propertiesToConvert:o}=l;return c.split(/,\s*/g).map(function(e){var r=e.split(" ");return r[0]=o[r[0]]||r[0],r.join(" ")}).join(", ")},transitionProperty:function a(l){var{value:c,propertiesToConvert:o}=l;return c.split(/,\s*/g).map(function(e){return o[e]||e}).join(", ")},transform:function a(l){var c=l.value,o="[^\\u0020-\\u007e]",e="(?:(?:(?:\\[0-9a-f]{1,6})(?:\\r\\n|\\s)?)|\\\\[^\\r\\n\\f0-9a-f])",r="((?:-?"+("(?:[0-9]*\\.[0-9]+|[0-9]+)(?:\\s*(?:em|ex|px|cm|mm|in|pt|pc|deg|rad|grad|ms|s|hz|khz|%)|"+("-?"+("(?:[_a-z]|"+o+"|"+e+")")+("(?:[_a-z0-9-]|"+o+"|"+e+")")+"*")+")?")+")|(?:inherit|auto))",t=new RegExp("(translateX\\s*\\(\\s*)"+r+"(\\s*\\))","gi"),h=new RegExp("(translate\\s*\\(\\s*)"+r+"((?:\\s*,\\s*"+r+"){0,1}\\s*\\))","gi"),Z=new RegExp("(translate3d\\s*\\(\\s*)"+r+"((?:\\s*,\\s*"+r+"){0,2}\\s*\\))","gi"),i=new RegExp("(rotate[ZY]?\\s*\\(\\s*)"+r+"(\\s*\\))","gi");return c.replace(t,N4).replace(h,N4).replace(Z,N4).replace(i,N4)}};B.objectPosition=B.backgroundPosition;B.margin=B.padding;B.borderWidth=B.padding;B.boxShadow=B.textShadow;B.webkitBoxShadow=B.boxShadow;B.mozBoxShadow=B.boxShadow;B.WebkitBoxShadow=B.boxShadow;B.MozBoxShadow=B.boxShadow;B.borderStyle=B.borderColor;B.webkitTransform=B.transform;B.mozTransform=B.transform;B.WebkitTransform=B.transform;B.MozTransform=B.transform;B.transformOrigin=B.backgroundPosition;B.webkitTransformOrigin=B.transformOrigin;B.mozTransformOrigin=B.transformOrigin;B.WebkitTransformOrigin=B.transformOrigin;B.MozTransformOrigin=B.transformOrigin;B.webkitTransition=B.transition;B.mozTransition=B.transition;B.WebkitTransition=B.transition;B.MozTransition=B.transition;B.webkitTransitionProperty=B.transitionProperty;B.mozTransitionProperty=B.transitionProperty;B.WebkitTransitionProperty=B.transitionProperty;B.MozTransitionProperty=B.transitionProperty;B["text-shadow"]=B.textShadow;B["border-color"]=B.borderColor;B["border-radius"]=B.borderRadius;B["background-image"]=B.backgroundImage;B["background-position"]=B.backgroundPosition;B["background-position-x"]=B.backgroundPositionX;B["object-position"]=B.objectPosition;B["border-width"]=B.padding;B["box-shadow"]=B.textShadow;B["-webkit-box-shadow"]=B.textShadow;B["-moz-box-shadow"]=B.textShadow;B["border-style"]=B.borderColor;B["-webkit-transform"]=B.transform;B["-moz-transform"]=B.transform;B["transform-origin"]=B.transformOrigin;B["-webkit-transform-origin"]=B.transformOrigin;B["-moz-transform-origin"]=B.transformOrigin;B["-webkit-transition"]=B.transition;B["-moz-transition"]=B.transition;B["transition-property"]=B.transitionProperty;B["-webkit-transition-property"]=B.transitionProperty;B["-moz-transition-property"]=B.transitionProperty;var mt=dt([["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"]]),Iv=["content"],vt=dt([["ltr","rtl"],["left","right"],["w-resize","e-resize"],["sw-resize","se-resize"],["nw-resize","ne-resize"]]),$f=new RegExp("(^|\\W|_)((ltr)|(rtl)|(left)|(right))(\\W|_|$)","g"),Qf=new RegExp("(left)|(right)");function bc(a){return Object.keys(a).reduce(function(l,c){var o=a[c];if(bv(o))o=o.trim();if(U8(Iv,c))return l[c]=o,l;var e=G8(c,o),r=e.key,t=e.value;return l[r]=t,l},Array.isArray(a)?[]:{})}function G8(a,l){var c=/\/\*\s?@noflip\s?\*\//.test(l),o=c?a:Pv(a),e=c?l:qv(o,l);return{key:o,value:e}}function Pv(a){return mt[a]||a}function qv(a,l){if(!Ev(l))return l;if(Bv(l))return bc(l);var c=j4(l),o=Uv(l),e=c||o?l:l.replace(/ !important.*?$/,""),r=!c&&e.length!==l.length,t=B[a],h;if(t)h=t({value:e,valuesToConvert:vt,propertiesToConvert:mt,isRtl:!0,bgImgDirectionRegex:$f,bgPosDirectionRegex:Qf});else h=vt[e]||e;if(r)return h+" !important";return h}var Yf=/[A-Z]/g,Xf=/^ms-/,st={};function jf(a){return"-"+a.toLowerCase()}function l3(a){if(Object.prototype.hasOwnProperty.call(st,a))return st[a];if(a.substr(0,2)==="--")return a;let l=a.replace(Yf,jf);return st[a]=Xf.test(l)?"-"+l:l}function Oc(a){if(a.charAt(0)==="&")return a.slice(1);return a}var a6="-moz-",$5="-webkit-",Tc="comm",c3="rule",l6="decl";var zv="@media",Kv="@import";var Jv="@supports";var $v="@namespace",Qv="@keyframes";var Ec="@layer";var Mt=Math.abs,c6=String.fromCharCode,_t=Object.assign;function Yv(a,l){return F0(a,0)^45?(((l<<2^F0(a,0))<<2^F0(a,1))<<2^F0(a,2))<<2^F0(a,3):0}function Wc(a){return a.trim()}function Ic(a,l){return(a=l.exec(a))?a[0]:a}function $0(a,l,c){return a.replace(l,c)}function Pc(a,l,c){return a.indexOf(l,c)}function F0(a,l){return a.charCodeAt(l)|0}function V7(a,l,c){return a.slice(l,c)}function t5(a){return a.length}function qc(a){return a.length}function f7(a,l){return l.push(a),a}function ut(a,l){return a.map(l).join("")}var zc=1,o6=1,Xv=0,b5=0,h0=0,e6="";function B8(a,l,c,o,e,r,t,h){return{value:a,root:l,parent:c,type:o,props:e,children:r,line:zc,column:o6,length:t,return:"",siblings:h}}function Kc(a,l){return _t(B8("",null,null,"",null,null,0,a.siblings),a,{length:-a.length},l)}function jv(){return h0}function Nv(){if(h0=b5>0?F0(e6,--b5):0,o6--,h0===10)o6=1,zc--;return h0}function O5(){if(h0=b5<Xv?F0(e6,b5++):0,o6++,h0===10)o6=1,zc++;return h0}function g7(){return F0(e6,b5)}function b8(){return b5}function Jc(a,l){return V7(e6,a,l)}function P3(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 Ht(a){return zc=o6=1,Xv=t5(e6=a),b5=0,[]}function Vt(a){return e6="",a}function O8(a){return Wc(Jc(b5-1,At(a===91?a+2:a===40?a+1:a)))}function ad(a){return Vt(Nf(Ht(a)))}function ld(a){while(h0=g7())if(h0<33)O5();else break;return P3(a)>2||P3(h0)>3?"":" "}function Nf(a){while(O5())switch(P3(h0)){case 0:f7(ft(b5-1),a);break;case 2:f7(O8(h0),a);break;default:f7(c6(h0),a)}return a}function cd(a,l){while(--l&&O5())if(h0<48||h0>102||h0>57&&h0<65||h0>70&&h0<97)break;return Jc(a,b8()+(l<6&&g7()==32&&O5()==32))}function At(a){while(O5())switch(h0){case a:return b5;case 34:case 39:if(a!==34&&a!==39)At(h0);break;case 40:if(a===41)At(a);break;case 92:O5();break}return b5}function od(a,l){while(O5())if(a+h0===57)break;else if(a+h0===84&&g7()===47)break;return"/*"+Jc(l,b5-1)+"*"+c6(a===47?a:O5())}function ft(a){while(!P3(g7()))O5();return Jc(a,b5)}function Qc(a){return Vt($c("",null,null,null,[""],a=Ht(a),0,[0],a))}function $c(a,l,c,o,e,r,t,h,Z){var i=0,v=0,n=t,d=0,p=0,m=0,s=1,M=1,u=1,A=0,H="",g=e,F=r,D=o,x=H;while(M)switch(m=A,A=O5()){case 40:if(m!=108&&F0(x,n-1)==58){if(Pc(x+=$0(O8(A),"&","&\f"),"&\f",Mt(i?h[i-1]:0))!=-1)u=-1;break}case 34:case 39:case 91:x+=O8(A);break;case 9:case 10:case 13:case 32:x+=ld(m);break;case 92:x+=cd(b8()-1,7);continue;case 47:switch(g7()){case 42:case 47:if(f7(ag(od(O5(),b8()),l,c,Z),Z),(P3(m||1)==5||P3(g7()||1)==5)&&t5(x)&&V7(x,-1,void 0)!==" ")x+=" ";break;default:x+="/"}break;case 123*s:h[i++]=t5(x)*u;case 125*s:case 59:case 0:switch(A){case 0:case 125:M=0;case 59+v:if(u==-1)x=$0(x,/\f/g,"");if(p>0&&(t5(x)-n||s===0&&m===47))f7(p>32?rd(x+";",o,c,n-1,Z):rd($0(x," ","")+";",o,c,n-2,Z),Z);break;case 59:x+=";";default:if(f7(D=ed(x,l,c,i,v,e,h,H,g=[],F=[],n,r),r),A===123)if(v===0)$c(x,l,D,D,g,r,n,h,F);else{switch(d){case 99:if(F0(x,3)===110)break;case 108:if(F0(x,2)===97)break;default:v=0;case 100:case 109:case 115:}if(v)$c(a,D,D,o&&f7(ed(a,D,D,0,0,e,h,H,e,g=[],n,F),F),e,F,n,h,o?g:F);else $c(x,D,D,D,[""],F,0,h,F)}}i=v=p=0,s=u=1,H=x="",n=t;break;case 58:n=1+t5(x),p=m;default:if(s<1){if(A==123)--s;else if(A==125&&s++==0&&Nv()==125)continue}switch(x+=c6(A),A*s){case 38:u=v>0?1:(x+="\f",-1);break;case 44:h[i++]=(t5(x)-1)*u,u=1;break;case 64:if(g7()===45)x+=O8(O5());d=g7(),v=n=t5(H=x+=ft(b8())),A++;break;case 45:if(m===45&&t5(x)==2)s=0}}return r}function ed(a,l,c,o,e,r,t,h,Z,i,v,n){var d=e-1,p=e===0?r:[""],m=qc(p);for(var s=0,M=0,u=0;s<o;++s)for(var A=0,H=V7(a,d+1,d=Mt(M=t[s])),g=a;A<m;++A)if(g=Wc(M>0?p[A]+" "+H:$0(H,/&\f/g,p[A])))Z[u++]=g;return B8(a,l,c,e===0?c3:h,Z,i,v,n)}function ag(a,l,c,o){return B8(a,l,c,Tc,c6(jv()),V7(a,2,-2),0,o)}function rd(a,l,c,o,e){return B8(a,l,c,l6,V7(a,0,o),V7(a,o+1,-1),o,e)}function F7(a,l){var c="";for(var o=0;o<a.length;o++)c+=l(a[o],o,a,l)||"";return c}function Yc(a,l,c,o){switch(a.type){case Ec:if(a.children.length)break;case Kv:case $v:case l6:return a.return=a.return||a.value;case Tc:return"";case Qv:return a.return=a.value+"{"+F7(a.children,o)+"}";case c3:if(!t5(a.value=a.props.join(",")))return""}return t5(c=F7(a.children,o))?a.return=a.value+"{"+c+"}":""}function Xc(a){var l=qc(a);return function(c,o,e,r){var t="";for(var h=0;h<l;h++)t+=a[h](c,o,e,r)||"";return t}}function jc(a){return function(l){if(!l.root){if(l=l.return)a(l)}}}var td=(a)=>{switch(a.type){case c3: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 ad(l).reduce((c,o,e,r)=>{if(o==="")return c;if(o===":"&&r[e+1]==="global"){let t=r[e+2].slice(1,-1)+" ";return c.unshift(t),r[e+1]="",r[e+2]="",c}return c.push(o),c},[]).join("")})}};function hd(a,l,c){switch(Yv(a,l)){case 5103:return $5+"print-"+a+a;case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:return $5+a+a;case 4215:if(F0(a,9)===102)return $5+a+a;if(F0(a,l+1)===116)return $5+a+a;break;case 4789:return a6+a+a;case 5349:case 4246:case 6968:return $5+a+a6+a+a;case 6187:if(!Ic(a,/grab/))return $0($0($0(a,/(zoom-|grab)/,$5+"$1"),/(image-set)/,$5+"$1"),a,"")+a;case 5495:case 3959:return $0(a,/(image-set\([^]*)/,$5+"$1$`$1");case 4095:case 3583:case 4068:case 2532:return $0(a,/(.+)-inline(.+)/,$5+"$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(t5(a)-1-l>6)switch(F0(a,l+1)){case 102:if(F0(a,l+3)===108)return $0(a,/(.+:)(.+)-([^]+)/,"$1"+$5+"$2-$3$1"+a6+(F0(a,l+3)==108?"$3":"$2-$3"))+a;case 115:return~Pc(a,"stretch")?hd($0(a,"stretch","fill-available"),l)+a:a}break}return a}function Nc(a,l,c,o){if(a.length>-1){if(!a.return)switch(a.type){case l6:a.return=hd(a.value,a.length);return;case c3:if(a.length)return ut(a.props,function(e){switch(Ic(e,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return F7([Kc(a,{props:[$0(e,/:(read-\w+)/,":"+a6+"$1")]})],o);case"::placeholder":return F7([Kc(a,{props:[$0(e,/:(plac\w+)/,":"+$5+"input-$1")]}),Kc(a,{props:[$0(e,/:(plac\w+)/,":"+a6+"$1")]})],o)}return""})}}return}function Zd(a){switch(a.type){case"@container":case zv:case Jv:case Ec:return!0}return!1}var id=(a)=>{if(Zd(a)&&Array.isArray(a.children))a.children.sort((l,c)=>l.props[0]>c.props[0]?1:-1)};function lg(){}function nd(a,l){let c=[];return F7(Qc(a),Xc([td,l?id:lg,Nc,Yc,jc((o)=>c.push(o))])),c}var cg=/,( *[^ &])/g;function og(a){return"&"+Oc(a.replace(cg,",&$1"))}function vd(a,l,c){let o=l;if(c.length>0)o=c.reduceRight((e,r)=>{return`${og(r)} { ${e} }`},l);return`${a}{${o}}`}function gt(a,l){let{className:c,selectors:o,property:e,rtlClassName:r,rtlProperty:t,rtlValue:h,value:Z}=a,{container:i,layer:v,media:n,supports:d}=l,p=`.${c}`,m=Array.isArray(Z)?`${Z.map((M)=>`${l3(e)}: ${M}`).join(";")};`:`${l3(e)}: ${Z};`,s=vd(p,m,o);if(t&&r){let M=`.${r}`,u=Array.isArray(h)?`${h.map((A)=>`${l3(t)}: ${A}`).join(";")};`:`${l3(t)}: ${h};`;s+=vd(M,u,o)}if(n)s=`@media ${n} { ${s} }`;if(v)s=`@layer ${v} { ${s} }`;if(d)s=`@supports ${d} { ${s} }`;if(i)s=`@container ${i} { ${s} }`;return nd(s,!0)}function dd(a){let l="";for(let c in a){let o=a[c];if(typeof o==="string"||typeof o==="number"){l+=l3(c)+":"+o+";";continue}if(Array.isArray(o))for(let e of o)l+=l3(c)+":"+e+";"}return l}function Ft(a){let l="";for(let c in a)l+=`${c}{${dd(a[c])}}`;return l}function xt(a,l){let c=`@keyframes ${a} {${l}}`,o=[];return F7(Qc(c),Xc([Yc,Nc,jc((e)=>o.push(e))])),o}var pd={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 Ct(a,l){if(a.length===0)return l;return`${a} and ${l}`}function md(a){return a.substr(0,6)==="@media"}function sd(a){return a.substr(0,6)==="@layer"}var eg=/^(:|\[|>|&)/;function Md(a){return eg.test(a)}function _d(a){return a.substr(0,9)==="@supports"}function ud(a){return a.substring(0,10)==="@container"}function Ad(a){return a!=null&&typeof a==="object"&&Array.isArray(a)===!1}var Hd={"us-w":"w","us-v":"i",nk:"l",si:"v",cu:"f",ve:"h",ti:"a"};function Lt(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 Hd[c.slice(4,8)]||Hd[c.slice(3,5)]||"d"}return"d"}function ao(a,l){return a?l+a:a}function Rt(a){return ao(a.container,"c")+ao(a.media,"m")+ao(a.layer,"l")+ao(a.supports,"s")}function lo(a,l,c){let o=a+Rt(c)+l,e=Q2(o),r=e.charCodeAt(0);if(r>=48&&r<=57)return String.fromCharCode(r+17)+e.slice(1);return e}function T8({property:a,selector:l,salt:c,value:o},e){return S8+Q2(c+l+Rt(e)+a+o.trim())}function Vd(a){return a===Q4}function co(a){return a.replace(/>\s+/g,">")}function oo(...a){if(typeof document!=="undefined")console.error(...a)}function fd(a,l){oo(/*@__PURE__*/(()=>{let o=JSON.stringify(l,null,2),e=["@griffel/react: A rule was not resolved to CSS properly. Please check your `makeStyles` or `makeResetStyles` calls for following:"," ".repeat(2)+"makeStyles({"," ".repeat(4)+"[slot]: {"," ".repeat(6)+`"${a}": ${o.split(`
|
|
1
|
+
var Rf=Object.create;var{getPrototypeOf:Sf,defineProperty:Lt,getOwnPropertyNames:Df}=Object;var wf=Object.prototype.hasOwnProperty;var h6=(a,l,c)=>{c=a!=null?Rf(Sf(a)):{};let o=l||!a||!a.__esModule?Lt(c,"default",{value:a,enumerable:!0}):c;for(let e of Df(a))if(!wf.call(o,e))Lt(o,e,{get:()=>a[e],enumerable:!0});return o};var N2=(a,l)=>()=>(l||a((l={exports:{}}).exports,l),l.exports);var Rt=(a,l)=>{for(var c in l)Lt(a,c,{get:l[c],enumerable:!0,configurable:!0,set:(o)=>l[c]=()=>o})};var St=(a,l)=>()=>(a&&(l=a(a=0)),l);function j2(a,l){for(var c in l)a[c]=l[c];return a}function Bt(a){a&&a.parentNode&&a.parentNode.removeChild(a)}function e1(a,l,c){var o,e,r,t={};for(r in l)r=="key"?o=l[r]:r=="ref"?e=l[r]:t[r]=l[r];if(arguments.length>2&&(t.children=arguments.length>3?Ka.call(arguments,2):c),typeof a=="function"&&a.defaultProps!=null)for(r in a.defaultProps)t[r]===void 0&&(t[r]=a.defaultProps[r]);return Qa(a,t,o,e,null)}function Qa(a,l,c,o,e){var r={type:a,props:l,key:c,ref:o,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:e==null?++bn:e,__i:-1,__u:0};return e==null&&V1.vnode!=null&&V1.vnode(r),r}function _5(){return{current:null}}function m1(a){return a.children}function M5(a,l){this.props=a,this.context=l}function Z6(a,l){if(l==null)return a.__?Z6(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"?Z6(a):null}function Pn(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 Pn(a)}}function kt(a){(!a.__d&&(a.__d=!0)&&o4.push(a)&&!ho.__r++||Gn!=V1.debounceRendering)&&((Gn=V1.debounceRendering)||On)(ho)}function ho(){for(var a,l,c,o,e,r,t,h=1;o4.length;)o4.length>h&&o4.sort(En),a=o4.shift(),h=o4.length,a.__d&&(c=void 0,e=(o=(l=a).__v).__e,r=[],t=[],l.__P&&((c=j2({},o)).__v=o.__v+1,V1.vnode&&V1.vnode(c),Tt(l.__P,c,o,l.__n,l.__P.namespaceURI,32&o.__u?[e]:null,r,e==null?Z6(o):e,!!(32&o.__u),t),c.__v=o.__v,c.__.__k[c.__i]=c,Jn(r,c,t),c.__e!=e&&Pn(c)));ho.__r=0}function zn(a,l,c,o,e,r,t,h,Z,i,n){var v,d,m,s,p,M,u,A=o&&o.__k||qn,V=l.length;for(Z=yf(c,l,A,Z,V),v=0;v<V;v++)(m=c.__k[v])!=null&&(d=m.__i==-1?Ja:A[m.__i]||Ja,m.__i=v,M=Tt(a,m,d,e,r,t,h,Z,i,n),s=m.__e,m.ref&&d.ref!=m.ref&&(d.ref&&bt(d.ref,null,m),n.push(m.ref,m.__c||s,m)),p==null&&s!=null&&(p=s),(u=!!(4&m.__u))||d.__k===m.__k?Z=Qn(m,Z,a,u):typeof m.type=="function"&&M!==void 0?Z=M:s&&(Z=s.nextSibling),m.__u&=-7);return c.__e=p,Z}function yf(a,l,c,o,e){var r,t,h,Z,i,n=c.length,v=n,d=0;for(a.__k=new Array(e),r=0;r<e;r++)(t=l[r])!=null&&typeof t!="boolean"&&typeof t!="function"?(Z=r+d,(t=a.__k[r]=typeof t=="string"||typeof t=="number"||typeof t=="bigint"||t.constructor==String?Qa(null,t,null,null,null):$a(t)?Qa(m1,{children:t},null,null,null):t.constructor==null&&t.__b>0?Qa(t.type,t.props,t.key,t.ref?t.ref:null,t.__v):t).__=a,t.__b=a.__b+1,h=null,(i=t.__i=Uf(t,c,Z,v))!=-1&&(v--,(h=c[i])&&(h.__u|=2)),h==null||h.__v==null?(i==-1&&(e>n?d--:e<n&&d++),typeof t.type!="function"&&(t.__u|=4)):i!=Z&&(i==Z-1?d--:i==Z+1?d++:(i>Z?d--:d++,t.__u|=4))):a.__k[r]=null;if(v)for(r=0;r<n;r++)(h=c[r])!=null&&(2&h.__u)==0&&(h.__e==o&&(o=Z6(h)),$n(h,h));return o}function Qn(a,l,c,o){var e,r;if(typeof a.type=="function"){for(e=a.__k,r=0;e&&r<e.length;r++)e[r]&&(e[r].__=a,l=Qn(e[r],l,c,o));return l}a.__e!=l&&(o&&(l&&a.type&&!l.parentNode&&(l=Z6(a)),c.insertBefore(a.__e,l||null)),l=a.__e);do l=l&&l.nextSibling;while(l!=null&&l.nodeType==8);return l}function a7(a,l){return l=l||[],a==null||typeof a=="boolean"||($a(a)?a.some(function(c){a7(c,l)}):l.push(a)),l}function Uf(a,l,c,o){var e,r,t,h=a.key,Z=a.type,i=l[c],n=i!=null&&(2&i.__u)==0;if(i===null&&a.key==null||n&&h==i.key&&Z==i.type)return c;if(o>(n?1:0)){for(e=c-1,r=c+1;e>=0||r<l.length;)if((i=l[t=e>=0?e--:r++])!=null&&(2&i.__u)==0&&h==i.key&&Z==i.type)return t}return-1}function Bn(a,l,c){l[0]=="-"?a.setProperty(l,c==null?"":c):a[l]=c==null?"":typeof c!="number"||kf.test(l)?c:c+"px"}function to(a,l,c,o,e){var r,t;a:if(l=="style")if(typeof c=="string")a.style.cssText=c;else{if(typeof o=="string"&&(a.style.cssText=o=""),o)for(l in o)c&&l in c||Bn(a.style,l,"");if(c)for(l in c)o&&c[l]==o[l]||Bn(a.style,l,c[l])}else if(l[0]=="o"&&l[1]=="n")r=l!=(l=l.replace(Wn,"$1")),t=l.toLowerCase(),l=t in a||l=="onFocusOut"||l=="onFocusIn"?t.slice(2):l.slice(2),a.l||(a.l={}),a.l[l+r]=c,c?o?c.u=o.u:(c.u=Gt,a.addEventListener(l,r?wt:Dt,r)):a.removeEventListener(l,r?wt:Dt,r);else{if(e=="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(h){}typeof c=="function"||(c==null||c===!1&&l[4]!="-"?a.removeAttribute(l):a.setAttribute(l,l=="popover"&&c==1?"":c))}}function Tn(a){return function(l){if(this.l){var c=this.l[l.type+a];if(l.t==null)l.t=Gt++;else if(l.t<c.u)return;return c(V1.event?V1.event(l):l)}}}function Tt(a,l,c,o,e,r,t,h,Z,i){var n,v,d,m,s,p,M,u,A,V,H,g,S,C,E,T,c1,l1=l.type;if(l.constructor!=null)return null;128&c.__u&&(Z=!!(32&c.__u),r=[h=l.__e=c.__e]),(n=V1.__b)&&n(l);a:if(typeof l1=="function")try{if(u=l.props,A="prototype"in l1&&l1.prototype.render,V=(n=l1.contextType)&&o[n.__c],H=n?V?V.props.value:n.__:o,c.__c?M=(v=l.__c=c.__c).__=v.__E:(A?l.__c=v=new l1(u,H):(l.__c=v=new M5(u,H),v.constructor=l1,v.render=Bf),V&&V.sub(v),v.props=u,v.state||(v.state={}),v.context=H,v.__n=o,d=v.__d=!0,v.__h=[],v._sb=[]),A&&v.__s==null&&(v.__s=v.state),A&&l1.getDerivedStateFromProps!=null&&(v.__s==v.state&&(v.__s=j2({},v.__s)),j2(v.__s,l1.getDerivedStateFromProps(u,v.__s))),m=v.props,s=v.state,v.__v=l,d)A&&l1.getDerivedStateFromProps==null&&v.componentWillMount!=null&&v.componentWillMount(),A&&v.componentDidMount!=null&&v.__h.push(v.componentDidMount);else{if(A&&l1.getDerivedStateFromProps==null&&u!==m&&v.componentWillReceiveProps!=null&&v.componentWillReceiveProps(u,H),!v.__e&&v.shouldComponentUpdate!=null&&v.shouldComponentUpdate(u,v.__s,H)===!1||l.__v==c.__v){for(l.__v!=c.__v&&(v.props=u,v.state=v.__s,v.__d=!1),l.__e=c.__e,l.__k=c.__k,l.__k.some(function(Q){Q&&(Q.__=l)}),g=0;g<v._sb.length;g++)v.__h.push(v._sb[g]);v._sb=[],v.__h.length&&t.push(v);break a}v.componentWillUpdate!=null&&v.componentWillUpdate(u,v.__s,H),A&&v.componentDidUpdate!=null&&v.__h.push(function(){v.componentDidUpdate(m,s,p)})}if(v.context=H,v.props=u,v.__P=a,v.__e=!1,S=V1.__r,C=0,A){for(v.state=v.__s,v.__d=!1,S&&S(l),n=v.render(v.props,v.state,v.context),E=0;E<v._sb.length;E++)v.__h.push(v._sb[E]);v._sb=[]}else do v.__d=!1,S&&S(l),n=v.render(v.props,v.state,v.context),v.state=v.__s;while(v.__d&&++C<25);v.state=v.__s,v.getChildContext!=null&&(o=j2(j2({},o),v.getChildContext())),A&&!d&&v.getSnapshotBeforeUpdate!=null&&(p=v.getSnapshotBeforeUpdate(m,s)),T=n,n!=null&&n.type===m1&&n.key==null&&(T=Kn(n.props.children)),h=zn(a,$a(T)?T:[T],l,c,o,e,r,t,h,Z,i),v.base=l.__e,l.__u&=-161,v.__h.length&&t.push(v),M&&(v.__E=v.__=null)}catch(Q){if(l.__v=null,Z||r!=null)if(Q.then){for(l.__u|=Z?160:128;h&&h.nodeType==8&&h.nextSibling;)h=h.nextSibling;r[r.indexOf(h)]=null,l.__e=h}else{for(c1=r.length;c1--;)Bt(r[c1]);yt(l)}else l.__e=c.__e,l.__k=c.__k,Q.then||yt(l);V1.__e(Q,l,c)}else r==null&&l.__v==c.__v?(l.__k=c.__k,l.__e=c.__e):h=l.__e=Gf(c.__e,l,c,o,e,r,t,Z,i);return(n=V1.diffed)&&n(l),128&l.__u?void 0:h}function yt(a){a&&a.__c&&(a.__c.__e=!0),a&&a.__k&&a.__k.forEach(yt)}function Jn(a,l,c){for(var o=0;o<c.length;o++)bt(c[o],c[++o],c[++o]);V1.__c&&V1.__c(l,a),a.some(function(e){try{a=e.__h,e.__h=[],a.some(function(r){r.call(e)})}catch(r){V1.__e(r,e.__v)}})}function Kn(a){return typeof a!="object"||a==null||a.__b&&a.__b>0?a:$a(a)?a.map(Kn):j2({},a)}function Gf(a,l,c,o,e,r,t,h,Z){var i,n,v,d,m,s,p,M=c.props,u=l.props,A=l.type;if(A=="svg"?e="http://www.w3.org/2000/svg":A=="math"?e="http://www.w3.org/1998/Math/MathML":e||(e="http://www.w3.org/1999/xhtml"),r!=null){for(i=0;i<r.length;i++)if((m=r[i])&&"setAttribute"in m==!!A&&(A?m.localName==A:m.nodeType==3)){a=m,r[i]=null;break}}if(a==null){if(A==null)return document.createTextNode(u);a=document.createElementNS(e,A,u.is&&u),h&&(V1.__m&&V1.__m(l,r),h=!1),r=null}if(A==null)M===u||h&&a.data==u||(a.data=u);else{if(r=r&&Ka.call(a.childNodes),M=c.props||Ja,!h&&r!=null)for(M={},i=0;i<a.attributes.length;i++)M[(m=a.attributes[i]).name]=m.value;for(i in M)if(m=M[i],i=="children");else if(i=="dangerouslySetInnerHTML")v=m;else if(!(i in u)){if(i=="value"&&"defaultValue"in u||i=="checked"&&"defaultChecked"in u)continue;to(a,i,null,m,e)}for(i in u)m=u[i],i=="children"?d=m:i=="dangerouslySetInnerHTML"?n=m:i=="value"?s=m:i=="checked"?p=m:h&&typeof m!="function"||M[i]===m||to(a,i,m,M[i],e);if(n)h||v&&(n.__html==v.__html||n.__html==a.innerHTML)||(a.innerHTML=n.__html),l.__k=[];else if(v&&(a.innerHTML=""),zn(l.type=="template"?a.content:a,$a(d)?d:[d],l,c,o,A=="foreignObject"?"http://www.w3.org/1999/xhtml":e,r,t,r?r[0]:c.__k&&Z6(c,0),h,Z),r!=null)for(i=r.length;i--;)Bt(r[i]);h||(i="value",A=="progress"&&s==null?a.removeAttribute("value"):s!=null&&(s!==a[i]||A=="progress"&&!s||A=="option"&&s!=M[i])&&to(a,i,s,M[i],e),i="checked",p!=null&&p!=a[i]&&to(a,i,p,M[i],e))}return a}function bt(a,l,c){try{if(typeof a=="function"){var o=typeof a.__u=="function";o&&a.__u(),o&&l==null||(a.__u=a(l))}else a.current=l}catch(e){V1.__e(e,c)}}function $n(a,l,c){var o,e;if(V1.unmount&&V1.unmount(a),(o=a.ref)&&(o.current&&o.current!=a.__e||bt(o,null,l)),(o=a.__c)!=null){if(o.componentWillUnmount)try{o.componentWillUnmount()}catch(r){V1.__e(r,l)}o.base=o.__P=null}if(o=a.__k)for(e=0;e<o.length;e++)o[e]&&$n(o[e],l,c||typeof a.type!="function");c||Bt(a.__e),a.__c=a.__=a.__e=void 0}function Bf(a,l,c){return this.constructor(a,c)}function w7(a,l,c){var o,e,r,t;l==document&&(l=document.documentElement),V1.__&&V1.__(a,l),e=(o=typeof c=="function")?null:c&&c.__k||l.__k,r=[],t=[],Tt(l,a=(!o&&c||l).__k=e1(m1,null,[a]),e||Ja,Ja,l.namespaceURI,!o&&c?[c]:e?null:l.firstChild?Ka.call(l.childNodes):null,r,!o&&c?c:e?e.__e:l.firstChild,o,t),Jn(r,a,t)}function Ot(a,l){w7(a,l,Ot)}function Yn(a,l,c){var o,e,r,t,h=j2({},a.props);for(r in a.type&&a.type.defaultProps&&(t=a.type.defaultProps),l)r=="key"?o=l[r]:r=="ref"?e=l[r]:h[r]=l[r]===void 0&&t!=null?t[r]:l[r];return arguments.length>2&&(h.children=arguments.length>3?Ka.call(arguments,2):c),Qa(a.type,h,o||a.key,e||a.ref,null)}function v1(a){function l(c){var o,e;return this.getChildContext||(o=/*@__PURE__*/new Set,(e={})[l.__c]=this,this.getChildContext=function(){return e},this.componentWillUnmount=function(){o=null},this.shouldComponentUpdate=function(r){this.props.value!=r.value&&o.forEach(function(t){t.__e=!0,kt(t)})},this.sub=function(r){o.add(r);var t=r.componentWillUnmount;r.componentWillUnmount=function(){o&&o.delete(r),t&&t.call(r)}}),c.children}return l.__c="__cC"+In++,l.__=a,l.Provider=l.__l=(l.Consumer=function(c,o){return c.children(o)}).contextType=l,l}var Ka,V1,bn,Ut,o4,Gn,On,En,Wn,Gt,Dt,wt,In,Ja,qn,kf,$a;var i3=St(()=>{Ja={},qn=[],kf=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,$a=Array.isArray;Ka=qn.slice,V1={__e:function(a,l,c,o){for(var e,r,t;l=l.__;)if((e=l.__c)&&!e.__)try{if((r=e.constructor)&&r.getDerivedStateFromError!=null&&(e.setState(r.getDerivedStateFromError(a)),t=e.__d),e.componentDidCatch!=null&&(e.componentDidCatch(a,o||{}),t=e.__d),t)return e.__E=e}catch(h){a=h}throw a}},bn=0,Ut=function(a){return a!=null&&a.constructor==null},M5.prototype.setState=function(a,l){var c;c=this.__s!=null&&this.__s!=this.state?this.__s:this.__s=j2({},this.state),typeof a=="function"&&(a=a(j2({},c),this.props)),a&&j2(c,a),a!=null&&this.__v&&(l&&this._sb.push(l),kt(this))},M5.prototype.forceUpdate=function(a){this.__v&&(this.__e=!0,a&&this.__h.push(a),kt(this))},M5.prototype.render=m1,o4=[],On=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,En=function(a,l){return a.__v.__b-l.__v.__b},ho.__r=0,Wn=/(PointerCapture)$|Capture$/i,Gt=0,Dt=Tn(!1),wt=Tn(!0),In=0});function t4(a,l){v0.__h&&v0.__h(X1,a,A6||l),A6=0;var c=X1.__H||(X1.__H={__:[],__h:[]});return a>=c.__.length&&c.__.push({}),c.__[a]}function h1(a){return A6=1,M2(Hm,a)}function M2(a,l,c){var o=t4(T7++,2);if(o.t=a,!o.__c&&(o.__=[c?c(l):Hm(void 0,l),function(h){var Z=o.__N?o.__N[0]:o.__[0],i=o.t(Z,h);Z!==i&&(o.__N=[i,o.__[1]],o.__c.setState({}))}],o.__c=X1,!X1.__f)){var e=function(h,Z,i){if(!o.__c.__H)return!0;var n=o.__c.__H.__.filter(function(d){return!!d.__c});if(n.every(function(d){return!d.__N}))return!r||r.call(this,h,Z,i);var v=o.__c.props!==h;return n.forEach(function(d){if(d.__N){var m=d.__[0];d.__=d.__N,d.__N=void 0,m!==d.__[0]&&(v=!0)}}),r&&r.call(this,h,Z,i)||v};X1.__f=!0;var{shouldComponentUpdate:r,componentWillUpdate:t}=X1;X1.componentWillUpdate=function(h,Z,i){if(this.__e){var n=r;r=void 0,e(h,Z,i),r=n}t&&t.call(this,h,Z,i)},X1.shouldComponentUpdate=e}return o.__N||o.__}function j(a,l){var c=t4(T7++,3);!v0.__s&&Ah(c.__H,l)&&(c.__=a,c.u=l,X1.__H.__h.push(c))}function o7(a,l){var c=t4(T7++,4);!v0.__s&&Ah(c.__H,l)&&(c.__=a,c.u=l,X1.__h.push(c))}function G(a){return A6=5,p1(function(){return{current:a}},[])}function Z5(a,l,c){A6=6,o7(function(){if(typeof a=="function"){var o=a(l());return function(){a(null),o&&typeof o=="function"&&o()}}if(a)return a.current=l(),function(){return a.current=null}},c==null?c:c.concat(a))}function p1(a,l){var c=t4(T7++,7);return Ah(c.__H,l)&&(c.__=a(),c.__H=l,c.__h=a),c.__}function q(a,l){return A6=8,p1(function(){return a},l)}function t1(a){var l=X1.context[a.__c],c=t4(T7++,9);return c.c=a,l?(c.__==null&&(c.__=!0,l.sub(X1)),l.props.value):a.__}function Uo(a,l){v0.useDebugValue&&v0.useDebugValue(l?l(a):a)}function uh(a){var l=t4(T7++,10),c=h1();return l.__=a,X1.componentDidCatch||(X1.componentDidCatch=function(o,e){l.__&&l.__(o,e),c[1](o)}),[c[0],function(){c[1](void 0)}]}function H6(){var a=t4(T7++,11);if(!a.__){for(var l=X1.__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 nF(){for(var a;a=Am.shift();)if(a.__P&&a.__H)try{a.__H.__h.forEach(yo),a.__H.__h.forEach(_h),a.__H.__h=[]}catch(l){a.__H.__h=[],v0.__e(l,a.__v)}}function dF(a){var l,c=function(){clearTimeout(o),um&&cancelAnimationFrame(l),setTimeout(a)},o=setTimeout(c,35);um&&(l=requestAnimationFrame(c))}function yo(a){var l=X1,c=a.__c;typeof c=="function"&&(a.__c=void 0,c()),X1=l}function _h(a){var l=X1;a.__c=a.__(),X1=l}function Ah(a,l){return!a||a.length!==l.length||l.some(function(c,o){return c!==a[o]})}function Hm(a,l){return typeof l=="function"?l(a):l}var T7,X1,Mh,nm,A6=0,Am,v0,dm,mm,pm,sm,Mm,_m,um;var f5=St(()=>{i3();Am=[],v0=V1,dm=v0.__b,mm=v0.__r,pm=v0.diffed,sm=v0.__c,Mm=v0.unmount,_m=v0.__;v0.__b=function(a){X1=null,dm&&dm(a)},v0.__=function(a,l){a&&l.__k&&l.__k.__m&&(a.__m=l.__k.__m),_m&&_m(a,l)},v0.__r=function(a){mm&&mm(a),T7=0;var l=(X1=a.__c).__H;l&&(Mh===X1?(l.__h=[],X1.__h=[],l.__.forEach(function(c){c.__N&&(c.__=c.__N),c.u=c.__N=void 0})):(l.__h.forEach(yo),l.__h.forEach(_h),l.__h=[],T7=0)),Mh=X1},v0.diffed=function(a){pm&&pm(a);var l=a.__c;l&&l.__H&&(l.__H.__h.length&&(Am.push(l)!==1&&nm===v0.requestAnimationFrame||((nm=v0.requestAnimationFrame)||dF)(nF)),l.__H.__.forEach(function(c){c.u&&(c.__H=c.u),c.u=void 0})),Mh=X1=null},v0.__c=function(a,l){l.some(function(c){try{c.__h.forEach(yo),c.__h=c.__h.filter(function(o){return!o.__||_h(o)})}catch(o){l.some(function(e){e.__h&&(e.__h=[])}),l=[],v0.__e(o,c.__v)}}),sm&&sm(a,l)},v0.unmount=function(a){Mm&&Mm(a);var l,c=a.__c;c&&c.__H&&(c.__H.__.forEach(function(o){try{yo(o)}catch(e){l=e}}),c.__H=void 0,l&&v0.__e(l,c.__v))};um=typeof requestAnimationFrame=="function"});var f={};Rt(f,{version:()=>Lh,useTransition:()=>xh,useSyncExternalStore:()=>gh,useState:()=>h1,useRef:()=>G,useReducer:()=>M2,useMemo:()=>p1,useLayoutEffect:()=>o7,useInsertionEffect:()=>_2,useImperativeHandle:()=>Z5,useId:()=>H6,useErrorBoundary:()=>uh,useEffect:()=>j,useDeferredValue:()=>Fh,useDebugValue:()=>Uo,useContext:()=>t1,useCallback:()=>q,unstable_batchedUpdates:()=>Z8,unmountComponentAtNode:()=>Em,startTransition:()=>fh,render:()=>Gm,memo:()=>Bo,lazy:()=>ym,isValidElement:()=>u5,isMemo:()=>Om,isFragment:()=>bm,isElement:()=>Pm,hydrate:()=>Bm,forwardRef:()=>I,flushSync:()=>Im,findDOMNode:()=>Wm,default:()=>Rh,createRef:()=>_5,createPortal:()=>To,createFactory:()=>Tm,createElement:()=>e1,createContext:()=>v1,cloneElement:()=>h4,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:()=>bo,SuspenseList:()=>V6,Suspense:()=>h8,StrictMode:()=>qm,PureComponent:()=>Go,Fragment:()=>m1,Component:()=>M5,Children:()=>e7});function Sm(a,l){for(var c in l)a[c]=l[c];return a}function Vh(a,l){for(var c in a)if(c!=="__source"&&!(c in l))return!0;for(var o in l)if(o!=="__source"&&a[o]!==l[o])return!0;return!1}function gh(a,l){var c=l(),o=h1({t:{__:c,u:l}}),e=o[0].t,r=o[1];return o7(function(){e.__=c,e.u=l,Hh(e)&&r({t:e})},[a,c,l]),j(function(){return Hh(e)&&r({t:e}),a(function(){Hh(e)&&r({t:e})})},[a]),c}function Hh(a){var l,c,o=a.u,e=a.__;try{var r=o();return!((l=e)===(c=r)&&(l!==0||1/l==1/c)||l!=l&&c!=c)}catch(t){return!0}}function fh(a){a()}function Fh(a){return a}function xh(){return[!1,fh]}function Go(a,l){this.props=a,this.context=l}function Bo(a,l){function c(e){var r=this.props.ref,t=r==e.ref;return!t&&r&&(r.call?r(null):r.current=null),l?!l(this.props,e)||!t:Vh(this.props,e)}function o(e){return this.shouldComponentUpdate=c,e1(a,e)}return o.displayName="Memo("+(a.displayName||a.name)+")",o.prototype.isReactComponent=!0,o.__f=!0,o.type=a,o}function I(a){function l(c){var o=Sm({},c);return delete o.ref,a(o,c.ref||null)}return l.$$typeof=mF,l.render=a,l.prototype.isReactComponent=l.__f=!0,l.displayName="ForwardRef("+(a.displayName||a.name)+")",l}function Dm(a,l,c){return a&&(a.__c&&a.__c.__H&&(a.__c.__H.__.forEach(function(o){typeof o.__c=="function"&&o.__c()}),a.__c.__H=null),(a=Sm({},a)).__c!=null&&(a.__c.__P===c&&(a.__c.__P=l),a.__c.__e=!0,a.__c=null),a.__k=a.__k&&a.__k.map(function(o){return Dm(o,l,c)})),a}function wm(a,l,c){return a&&c&&(a.__v=null,a.__k=a.__k&&a.__k.map(function(o){return wm(o,l,c)}),a.__c&&a.__c.__P===l&&(a.__e&&c.appendChild(a.__e),a.__c.__e=!0,a.__c.__P=c)),a}function h8(){this.__u=0,this.o=null,this.__b=null}function km(a){var l=a.__.__c;return l&&l.__a&&l.__a(a)}function ym(a){var l,c,o;function e(r){if(l||(l=a()).then(function(t){c=t.default||t},function(t){o=t}),o)throw o;if(!c)throw l;return e1(c,r)}return e.displayName="Lazy",e.__f=!0,e}function V6(){this.i=null,this.l=null}function sF(a){return this.getChildContext=function(){return a.context},a.children}function MF(a){var l=this,c=a.h;if(l.componentWillUnmount=function(){w7(null,l.v),l.v=null,l.h=null},l.h&&l.h!==c&&l.componentWillUnmount(),!l.v){for(var o=l.__v;o!==null&&!o.__m&&o.__!==null;)o=o.__;l.h=c,l.v={nodeType:1,parentNode:c,childNodes:[],__k:{__m:o.__m},contains:function(){return!0},insertBefore:function(e,r){this.childNodes.push(e),l.h.insertBefore(e,r)},removeChild:function(e){this.childNodes.splice(this.childNodes.indexOf(e)>>>1,1),l.h.removeChild(e)}}}w7(e1(sF,{context:l.context},a.__v),l.v)}function To(a,l){var c=e1(MF,{__v:a,h:l});return c.containerInfo=l,c}function Gm(a,l,c){return l.__k==null&&(l.textContent=""),w7(a,l),typeof c=="function"&&c(),a?a.__c:null}function Bm(a,l,c){return Ot(a,l),typeof c=="function"&&c(),a?a.__c:null}function gF(){}function fF(){return this.cancelBubble}function FF(){return this.defaultPrevented}function Tm(a){return e1.bind(null,a)}function u5(a){return!!a&&a.$$typeof===Um}function bm(a){return u5(a)&&a.type===m1}function Om(a){return!!a&&!!a.displayName&&(typeof a.displayName=="string"||a.displayName instanceof String)&&a.displayName.startsWith("Memo(")}function h4(a){return u5(a)?Yn.apply(null,arguments):a}function Em(a){return!!a.__k&&(w7(null,a),!0)}function Wm(a){return a&&(a.base||a.nodeType===1&&a)||null}var _2,Vm,mF,gm=function(a,l){return a==null?null:a7(a7(a).map(l))},e7,pF,fm,Fm=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]}},Um,_F,uF,AF,HF,VF=function(a){return(typeof Symbol!="undefined"&&typeof Symbol()=="symbol"?/fil|che|rad/:/fil|che|ra/).test(a)},xm,Ch,xF,Cm,Lm,Rm,bo,Lh="18.3.1",Z8=function(a,l){return a(l)},Im=function(a,l){return a(l)},qm,Pm,Rh;var F=St(()=>{i3();i3();f5();f5();_2=o7;(Go.prototype=new M5).isPureReactComponent=!0,Go.prototype.shouldComponentUpdate=function(a,l){return Vh(this.props,a)||Vh(this.state,l)};Vm=V1.__b;V1.__b=function(a){a.type&&a.type.__f&&a.ref&&(a.props.ref=a.ref,a.ref=null),Vm&&Vm(a)};mF=typeof Symbol!="undefined"&&Symbol.for&&Symbol.for("react.forward_ref")||3911;e7={map:gm,forEach:gm,count:function(a){return a?a7(a).length:0},only:function(a){var l=a7(a);if(l.length!==1)throw"Children.only";return l[0]},toArray:a7},pF=V1.__e;V1.__e=function(a,l,c,o){if(a.then){for(var e,r=l;r=r.__;)if((e=r.__c)&&e.__c)return l.__e==null&&(l.__e=c.__e,l.__k=c.__k),e.__c(a,l)}pF(a,l,c,o)};fm=V1.unmount;V1.unmount=function(a){var l=a.__c;l&&l.__R&&l.__R(),l&&32&a.__u&&(a.type=null),fm&&fm(a)},(h8.prototype=new M5).__c=function(a,l){var c=l.__c,o=this;o.o==null&&(o.o=[]),o.o.push(c);var e=km(o.__v),r=!1,t=function(){r||(r=!0,c.__R=null,e?e(h):h())};c.__R=t;var h=function(){if(!--o.__u){if(o.state.__a){var Z=o.state.__a;o.__v.__k[0]=wm(Z,Z.__c.__P,Z.__c.__O)}var i;for(o.setState({__a:o.__b=null});i=o.o.pop();)i.forceUpdate()}};o.__u++||32&l.__u||o.setState({__a:o.__b=o.__v.__k[0]}),a.then(t,t)},h8.prototype.componentWillUnmount=function(){this.o=[]},h8.prototype.render=function(a,l){if(this.__b){if(this.__v.__k){var c=document.createElement("div"),o=this.__v.__k[0].__c;this.__v.__k[0]=Dm(this.__b,c,o.__O=o.__P)}this.__b=null}var e=l.__a&&e1(m1,null,a.fallback);return e&&(e.__u&=-33),[e1(m1,null,l.__a?null:a.children),e]};(V6.prototype=new M5).__a=function(a){var l=this,c=km(l.__v),o=l.l.get(a);return o[0]++,function(e){var r=function(){l.props.revealOrder?(o.push(e),Fm(l,a,o)):e()};c?c(r):r()}},V6.prototype.render=function(a){this.i=null,this.l=/*@__PURE__*/new Map;var l=a7(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},V6.prototype.componentDidUpdate=V6.prototype.componentDidMount=function(){var a=this;this.l.forEach(function(l,c){Fm(a,c,l)})};Um=typeof Symbol!="undefined"&&Symbol.for&&Symbol.for("react.element")||60103,_F=/^(?: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]/,uF=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,AF=/[A-Z0-9]/g,HF=typeof document!="undefined";M5.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(a){Object.defineProperty(M5.prototype,a,{configurable:!0,get:function(){return this["UNSAFE_"+a]},set:function(l){Object.defineProperty(this,a,{configurable:!0,writable:!0,value:l})}})});xm=V1.event;V1.event=function(a){return xm&&(a=xm(a)),a.persist=gF,a.isPropagationStopped=fF,a.isDefaultPrevented=FF,a.nativeEvent=a};xF={enumerable:!1,configurable:!0,get:function(){return this.class}},Cm=V1.vnode;V1.vnode=function(a){typeof a.type=="string"&&function(l){var{props:c,type:o}=l,e={},r=o.indexOf("-")===-1;for(var t in c){var h=c[t];if(!(t==="value"&&("defaultValue"in c)&&h==null||HF&&t==="children"&&o==="noscript"||t==="class"||t==="className")){var Z=t.toLowerCase();t==="defaultValue"&&"value"in c&&c.value==null?t="value":t==="download"&&h===!0?h="":Z==="translate"&&h==="no"?h=!1:Z[0]==="o"&&Z[1]==="n"?Z==="ondoubleclick"?t="ondblclick":Z!=="onchange"||o!=="input"&&o!=="textarea"||VF(c.type)?Z==="onfocus"?t="onfocusin":Z==="onblur"?t="onfocusout":uF.test(t)&&(t=Z):Z=t="oninput":r&&_F.test(t)?t=t.replace(AF,"-$&").toLowerCase():h===null&&(h=void 0),Z==="oninput"&&e[t=Z]&&(t="oninputCapture"),e[t]=h}}o=="select"&&e.multiple&&Array.isArray(e.value)&&(e.value=a7(c.children).forEach(function(i){i.props.selected=e.value.indexOf(i.props.value)!=-1})),o=="select"&&e.defaultValue!=null&&(e.value=a7(c.children).forEach(function(i){i.props.selected=e.multiple?e.defaultValue.indexOf(i.props.value)!=-1:e.defaultValue==i.props.value})),c.class&&!c.className?(e.class=c.class,Object.defineProperty(e,"className",xF)):(c.className&&!c.class||c.class&&c.className)&&(e.class=e.className=c.className),l.props=e}(a),a.$$typeof=Um,Cm&&Cm(a)};Lm=V1.__r;V1.__r=function(a){Lm&&Lm(a),Ch=a.__c};Rm=V1.diffed;V1.diffed=function(a){Rm&&Rm(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),Ch=null};bo={ReactCurrentDispatcher:{current:{readContext:function(a){return Ch.__n[a.__c].props.value},useCallback:q,useContext:t1,useDebugValue:Uo,useDeferredValue:Fh,useEffect:j,useId:H6,useImperativeHandle:Z5,useInsertionEffect:_2,useLayoutEffect:o7,useMemo:p1,useReducer:M2,useRef:G,useState:h1,useSyncExternalStore:gh,useTransition:xh}}};qm=m1,Pm=u5,Rh={useState:h1,useId:H6,useReducer:M2,useEffect:j,useLayoutEffect:o7,useInsertionEffect:_2,useTransition:xh,useDeferredValue:Fh,useSyncExternalStore:gh,startTransition:fh,useRef:G,useImperativeHandle:Z5,useMemo:p1,useCallback:q,useContext:t1,useDebugValue:Uo,version:"18.3.1",Children:e7,render:Gm,hydrate:Bm,unmountComponentAtNode:Em,createPortal:To,createElement:e1,createContext:v1,createFactory:Tm,cloneElement:h4,createRef:_5,Fragment:m1,isValidElement:u5,isElement:Pm,isFragment:bm,isMemo:Om,findDOMNode:Wm,Component:M5,PureComponent:Go,memo:Bo,forwardRef:I,flushSync:Im,unstable_batchedUpdates:Z8,StrictMode:qm,Suspense:h8,SuspenseList:V6,lazy:ym,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:bo}});var Rp=N2((cx)=>{(function(){var a=60103,l=60106,c=60107,o=60108,e=60114,r=60109,t=60110,h=60112,Z=60113,i=60120,n=60115,v=60116,d=60121,m=60122,s=60117,p=60119,M=60128,u=60129,A=60130,V=60131;if(typeof Symbol==="function"&&Symbol.for){var H=Symbol.for;a=H("react.element"),l=H("react.portal"),c=H("react.fragment"),o=H("react.strict_mode"),e=H("react.profiler"),r=H("react.provider"),t=H("react.context"),h=H("react.forward_ref"),Z=H("react.suspense"),i=H("react.suspense_list"),n=H("react.memo"),v=H("react.lazy"),d=H("react.block"),m=H("react.server.block"),s=H("react.fundamental"),p=H("react.scope"),M=H("react.opaque.id"),u=H("react.debug_trace_mode"),A=H("react.offscreen"),V=H("react.legacy_hidden")}var g=!1;function S(d1){if(typeof d1==="string"||typeof d1==="function")return!0;if(d1===c||d1===e||d1===u||d1===o||d1===Z||d1===i||d1===V||g)return!0;if(typeof d1==="object"&&d1!==null){if(d1.$$typeof===v||d1.$$typeof===n||d1.$$typeof===r||d1.$$typeof===t||d1.$$typeof===h||d1.$$typeof===s||d1.$$typeof===d||d1[0]===m)return!0}return!1}function C(d1){if(typeof d1==="object"&&d1!==null){var g5=d1.$$typeof;switch(g5){case a:var s2=d1.type;switch(s2){case c:case e:case o:case Z:case i:return s2;default:var E5=s2&&s2.$$typeof;switch(E5){case t:case h:case v:case n:case r:return E5;default:return g5}}case l:return g5}}return}var E=t,T=r,c1=a,l1=h,Q=c,x=v,R=n,U=l,K=e,X=o,i1=Z,J=!1,s1=!1;function H1(d1){if(!J)J=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.");return!1}function B(d1){if(!s1)s1=!0,console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.");return!1}function b(d1){return C(d1)===t}function x1(d1){return C(d1)===r}function y1(d1){return typeof d1==="object"&&d1!==null&&d1.$$typeof===a}function r0(d1){return C(d1)===h}function $5(d1){return C(d1)===c}function m2(d1){return C(d1)===v}function p2(d1){return C(d1)===n}function Y5(d1){return C(d1)===l}function b5(d1){return C(d1)===e}function n1(d1){return C(d1)===o}function O5(d1){return C(d1)===Z}cx.ContextConsumer=E,cx.ContextProvider=T,cx.Element=c1,cx.ForwardRef=l1,cx.Fragment=Q,cx.Lazy=x,cx.Memo=R,cx.Portal=U,cx.Profiler=K,cx.StrictMode=X,cx.Suspense=i1,cx.isAsyncMode=H1,cx.isConcurrentMode=B,cx.isContextConsumer=b,cx.isContextProvider=x1,cx.isElement=y1,cx.isForwardRef=r0,cx.isFragment=$5,cx.isLazy=m2,cx.isMemo=p2,cx.isPortal=Y5,cx.isProfiler=b5,cx.isStrictMode=n1,cx.isSuspense=O5,cx.isValidElementType=S,cx.typeOf=C})()});var BM=N2((EC)=>{(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 o(r1,u1){var w1=r1.length;r1.push(u1),t(r1,u1,w1)}function e(r1){return r1.length===0?null:r1[0]}function r(r1){if(r1.length===0)return null;var u1=r1[0],w1=r1.pop();if(w1!==u1)r1[0]=w1,h(r1,w1,0);return u1}function t(r1,u1,w1){var J1=w1;while(J1>0){var h0=J1-1>>>1,s5=r1[h0];if(Z(s5,u1)>0)r1[h0]=u1,r1[J1]=s5,J1=h0;else return}}function h(r1,u1,w1){var J1=w1,h0=r1.length,s5=h0>>>1;while(J1<s5){var O0=(J1+1)*2-1,X2=r1[O0],t5=O0+1,ro=r1[t5];if(Z(X2,u1)<0)if(t5<h0&&Z(ro,X2)<0)r1[J1]=ro,r1[t5]=u1,J1=t5;else r1[J1]=X2,r1[O0]=u1,J1=O0;else if(t5<h0&&Z(ro,u1)<0)r1[J1]=ro,r1[t5]=u1,J1=t5;else return}}function Z(r1,u1){var w1=r1.sortIndex-u1.sortIndex;return w1!==0?w1:r1.id-u1.id}var i=1,n=2,v=3,d=4,m=5;function s(r1,u1){}var p=typeof performance==="object"&&typeof performance.now==="function";if(p){var M=performance;EC.unstable_now=function(){return M.now()}}else{var u=Date,A=u.now();EC.unstable_now=function(){return u.now()-A}}var V=1073741823,H=-1,g=250,S=5000,C=1e4,E=V,T=[],c1=[],l1=1,Q=null,x=v,R=!1,U=!1,K=!1,X=typeof setTimeout==="function"?setTimeout:null,i1=typeof clearTimeout==="function"?clearTimeout:null,J=typeof setImmediate!=="undefined"?setImmediate:null,s1=typeof navigator!=="undefined"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0?navigator.scheduling.isInputPending.bind(navigator.scheduling):null;function H1(r1){var u1=e(c1);while(u1!==null){if(u1.callback===null)r(c1);else if(u1.startTime<=r1)r(c1),u1.sortIndex=u1.expirationTime,o(T,u1);else return;u1=e(c1)}}function B(r1){if(K=!1,H1(r1),!U)if(e(T)!==null)U=!0,t0(b);else{var u1=e(c1);if(u1!==null)s0(B,u1.startTime-r1)}}function b(r1,u1){if(U=!1,K)K=!1,r5();R=!0;var w1=x;try{if(l)try{return x1(r1,u1)}catch(h0){if(Q!==null){var J1=EC.unstable_now();s(Q,J1),Q.isQueued=!1}throw h0}else return x1(r1,u1)}finally{Q=null,x=w1,R=!1}}function x1(r1,u1){var w1=u1;H1(w1),Q=e(T);while(Q!==null&&!a){if(Q.expirationTime>w1&&(!r1||a4()))break;var J1=Q.callback;if(typeof J1==="function"){Q.callback=null,x=Q.priorityLevel;var h0=Q.expirationTime<=w1,s5=J1(h0);if(w1=EC.unstable_now(),typeof s5==="function")Q.callback=s5;else if(Q===e(T))r(T);H1(w1)}else r(T);Q=e(T)}if(Q!==null)return!0;else{var O0=e(c1);if(O0!==null)s0(B,O0.startTime-w1);return!1}}function y1(r1,u1){switch(r1){case i:case n:case v:case d:case m:break;default:r1=v}var w1=x;x=r1;try{return u1()}finally{x=w1}}function r0(r1){var u1;switch(x){case i:case n:case v:u1=v;break;default:u1=x;break}var w1=x;x=u1;try{return r1()}finally{x=w1}}function $5(r1){var u1=x;return function(){var w1=x;x=u1;try{return r1.apply(this,arguments)}finally{x=w1}}}function m2(r1,u1,w1){var J1=EC.unstable_now(),h0;if(typeof w1==="object"&&w1!==null){var s5=w1.delay;if(typeof s5==="number"&&s5>0)h0=J1+s5;else h0=J1}else h0=J1;var O0;switch(r1){case i:O0=H;break;case n:O0=g;break;case m:O0=E;break;case d:O0=C;break;case v:default:O0=S;break}var X2=h0+O0,t5={id:l1++,callback:u1,priorityLevel:r1,startTime:h0,expirationTime:X2,sortIndex:-1};if(h0>J1){if(t5.sortIndex=h0,o(c1,t5),e(T)===null&&t5===e(c1)){if(K)r5();else K=!0;s0(B,h0-J1)}}else if(t5.sortIndex=X2,o(T,t5),!U&&!R)U=!0,t0(b);return t5}function p2(){}function Y5(){if(!U&&!R)U=!0,t0(b)}function b5(){return e(T)}function n1(r1){r1.callback=null}function O5(){return x}var d1=!1,g5=null,s2=-1,E5=c,r6=-1;function a4(){var r1=EC.unstable_now()-r6;if(r1<E5)return!1;return!0}function t6(){}function Ct(r1){if(r1<0||r1>125){console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported");return}if(r1>0)E5=Math.floor(1000/r1);else E5=c}var za=function(){if(g5!==null){var r1=EC.unstable_now();r6=r1;var u1=!0,w1=!0;try{w1=g5(u1,r1)}finally{if(w1)l4();else d1=!1,g5=null}}else d1=!1},l4;if(typeof J==="function")l4=function(){J(za)};else if(typeof MessageChannel!=="undefined"){var o1=new MessageChannel,f1=o1.port2;o1.port1.onmessage=za,l4=function(){f1.postMessage(null)}}else l4=function(){X(za,0)};function t0(r1){if(g5=r1,!d1)d1=!0,l4()}function s0(r1,u1){s2=X(function(){r1(EC.unstable_now())},u1)}function r5(){i1(s2),s2=-1}var c4=t6,Z3=null;if(EC.unstable_IdlePriority=m,EC.unstable_ImmediatePriority=i,EC.unstable_LowPriority=d,EC.unstable_NormalPriority=v,EC.unstable_Profiling=Z3,EC.unstable_UserBlockingPriority=n,EC.unstable_cancelCallback=n1,EC.unstable_continueExecution=Y5,EC.unstable_forceFrameRate=Ct,EC.unstable_getCurrentPriorityLevel=O5,EC.unstable_getFirstCallbackNode=b5,EC.unstable_next=r0,EC.unstable_pauseExecution=p2,EC.unstable_requestPaint=c4,EC.unstable_runWithPriority=y1,EC.unstable_scheduleCallback=m2,EC.unstable_shouldYield=a4,EC.unstable_wrapCallback=$5,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__!=="undefined"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop==="function")__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)})()});var Ci=N2((VD)=>{(function(){var a=typeof Symbol==="function"&&Symbol.for,l=a?Symbol.for("react.element"):60103,c=a?Symbol.for("react.portal"):60106,o=a?Symbol.for("react.fragment"):60107,e=a?Symbol.for("react.strict_mode"):60108,r=a?Symbol.for("react.profiler"):60114,t=a?Symbol.for("react.provider"):60109,h=a?Symbol.for("react.context"):60110,Z=a?Symbol.for("react.async_mode"):60111,i=a?Symbol.for("react.concurrent_mode"):60111,n=a?Symbol.for("react.forward_ref"):60112,v=a?Symbol.for("react.suspense"):60113,d=a?Symbol.for("react.suspense_list"):60120,m=a?Symbol.for("react.memo"):60115,s=a?Symbol.for("react.lazy"):60116,p=a?Symbol.for("react.block"):60121,M=a?Symbol.for("react.fundamental"):60117,u=a?Symbol.for("react.responder"):60118,A=a?Symbol.for("react.scope"):60119;function V(n1){return typeof n1==="string"||typeof n1==="function"||n1===o||n1===i||n1===r||n1===e||n1===v||n1===d||typeof n1==="object"&&n1!==null&&(n1.$$typeof===s||n1.$$typeof===m||n1.$$typeof===t||n1.$$typeof===h||n1.$$typeof===n||n1.$$typeof===M||n1.$$typeof===u||n1.$$typeof===A||n1.$$typeof===p)}function H(n1){if(typeof n1==="object"&&n1!==null){var O5=n1.$$typeof;switch(O5){case l:var d1=n1.type;switch(d1){case Z:case i:case o:case r:case e:case v:return d1;default:var g5=d1&&d1.$$typeof;switch(g5){case h:case n:case s:case m:case t:return g5;default:return O5}}case c:return O5}}return}var g=Z,S=i,C=h,E=t,T=l,c1=n,l1=o,Q=s,x=m,R=c,U=r,K=e,X=v,i1=!1;function J(n1){if(!i1)i1=!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 s1(n1)||H(n1)===Z}function s1(n1){return H(n1)===i}function H1(n1){return H(n1)===h}function B(n1){return H(n1)===t}function b(n1){return typeof n1==="object"&&n1!==null&&n1.$$typeof===l}function x1(n1){return H(n1)===n}function y1(n1){return H(n1)===o}function r0(n1){return H(n1)===s}function $5(n1){return H(n1)===m}function m2(n1){return H(n1)===c}function p2(n1){return H(n1)===r}function Y5(n1){return H(n1)===e}function b5(n1){return H(n1)===v}VD.AsyncMode=g,VD.ConcurrentMode=S,VD.ContextConsumer=C,VD.ContextProvider=E,VD.Element=T,VD.ForwardRef=c1,VD.Fragment=l1,VD.Lazy=Q,VD.Memo=x,VD.Portal=R,VD.Profiler=U,VD.StrictMode=K,VD.Suspense=X,VD.isAsyncMode=J,VD.isConcurrentMode=s1,VD.isContextConsumer=H1,VD.isContextProvider=B,VD.isElement=b,VD.isForwardRef=x1,VD.isFragment=y1,VD.isLazy=r0,VD.isMemo=$5,VD.isPortal=m2,VD.isProfiler=p2,VD.isStrictMode=Y5,VD.isSuspense=b5,VD.isValidElementType=V,VD.typeOf=H})()});var DA=N2((un1,SA)=>{var RA=Object.getOwnPropertySymbols,gD=Object.prototype.hasOwnProperty,fD=Object.prototype.propertyIsEnumerable;function FD(a){if(a===null||a===void 0)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(a)}function xD(){try{if(!Object.assign)return!1;var a=new String("abc");if(a[5]="de",Object.getOwnPropertyNames(a)[0]==="5")return!1;var l={};for(var c=0;c<10;c++)l["_"+String.fromCharCode(c)]=c;var o=Object.getOwnPropertyNames(l).map(function(r){return l[r]});if(o.join("")!=="0123456789")return!1;var e={};if("abcdefghijklmnopqrst".split("").forEach(function(r){e[r]=r}),Object.keys(Object.assign({},e)).join("")!=="abcdefghijklmnopqrst")return!1;return!0}catch(r){return!1}}SA.exports=xD()?Object.assign:function(a,l){var c,o=FD(a),e;for(var r=1;r<arguments.length;r++){c=Object(arguments[r]);for(var t in c)if(gD.call(c,t))o[t]=c[t];if(RA){e=RA(c);for(var h=0;h<e.length;h++)if(fD.call(c,e[h]))o[e[h]]=c[e[h]]}}return o}});var Li=N2((An1,wA)=>{var CD="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";wA.exports=CD});var Ri=N2((Hn1,kA)=>{kA.exports=Function.call.bind(Object.prototype.hasOwnProperty)});var GA=N2((Vn1,UA)=>{var Si=function(){};Di=Li(),dc={},wi=Ri(),Si=function(a){var l="Warning: "+a;if(typeof console!=="undefined")console.error(l);try{throw new Error(l)}catch(c){}};var Di,dc,wi;function yA(a,l,c,o,e){for(var r in a)if(wi(a,r)){var t;try{if(typeof a[r]!=="function"){var h=Error((o||"React class")+": "+c+" type `"+r+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof a[r]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw h.name="Invariant Violation",h}t=a[r](l,r,o,c,null,Di)}catch(i){t=i}if(t&&!(t instanceof Error))Si((o||"React class")+": type specification of "+c+" `"+r+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof t+". 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(t instanceof Error&&!(t.message in dc)){dc[t.message]=!0;var Z=e?e():"";Si("Failed "+c+" type: "+t.message+(Z!=null?Z:""))}}}yA.resetWarningCache=function(){dc={}};UA.exports=yA});var OA=N2((gn1,bA)=>{var TA=h6(Ci(),1),LD=DA(),da=Li(),ki=Ri(),BA=GA(),ma=function(){};ma=function(a){var l="Warning: "+a;if(typeof console!=="undefined")console.error(l);try{throw new Error(l)}catch(c){}};function Mr(){return null}bA.exports=function(a,l){var c=typeof Symbol==="function"&&Symbol.iterator,o="@@iterator";function e(x){var R=x&&(c&&x[c]||x[o]);if(typeof R==="function")return R}var r="<<anonymous>>",t={array:n("array"),bigint:n("bigint"),bool:n("boolean"),func:n("function"),number:n("number"),object:n("object"),string:n("string"),symbol:n("symbol"),any:v(),arrayOf:d,element:m(),elementType:s(),instanceOf:p,node:V(),objectOf:u,oneOf:M,oneOfType:A,shape:g,exact:S};function h(x,R){if(x===R)return x!==0||1/x===1/R;else return x!==x&&R!==R}function Z(x,R){this.message=x,this.data=R&&typeof R==="object"?R:{},this.stack=""}Z.prototype=Error.prototype;function i(x){var R={},U=0;function K(i1,J,s1,H1,B,b,x1){if(H1=H1||r,b=b||s1,x1!==da){if(l){var y1=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 y1.name="Invariant Violation",y1}else if(typeof console!=="undefined"){var r0=H1+":"+s1;if(!R[r0]&&U<3)ma("You are manually calling a React.PropTypes validation function for the `"+b+"` prop on `"+H1+"`. 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."),R[r0]=!0,U++}}if(J[s1]==null){if(i1){if(J[s1]===null)return new Z("The "+B+" `"+b+"` is marked as required "+("in `"+H1+"`, but its value is `null`."));return new Z("The "+B+" `"+b+"` is marked as required in "+("`"+H1+"`, but its value is `undefined`."))}return null}else return x(J,s1,H1,B,b)}var X=K.bind(null,!1);return X.isRequired=K.bind(null,!0),X}function n(x){function R(U,K,X,i1,J,s1){var H1=U[K],B=T(H1);if(B!==x){var b=c1(H1);return new Z("Invalid "+i1+" `"+J+"` of type "+("`"+b+"` supplied to `"+X+"`, expected ")+("`"+x+"`."),{expectedType:x})}return null}return i(R)}function v(){return i(Mr)}function d(x){function R(U,K,X,i1,J){if(typeof x!=="function")return new Z("Property `"+J+"` of component `"+X+"` has invalid PropType notation inside arrayOf.");var s1=U[K];if(!Array.isArray(s1)){var H1=T(s1);return new Z("Invalid "+i1+" `"+J+"` of type "+("`"+H1+"` supplied to `"+X+"`, expected an array."))}for(var B=0;B<s1.length;B++){var b=x(s1,B,X,i1,J+"["+B+"]",da);if(b instanceof Error)return b}return null}return i(R)}function m(){function x(R,U,K,X,i1){var J=R[U];if(!a(J)){var s1=T(J);return new Z("Invalid "+X+" `"+i1+"` of type "+("`"+s1+"` supplied to `"+K+"`, expected a single ReactElement."))}return null}return i(x)}function s(){function x(R,U,K,X,i1){var J=R[U];if(!TA.isValidElementType(J)){var s1=T(J);return new Z("Invalid "+X+" `"+i1+"` of type "+("`"+s1+"` supplied to `"+K+"`, expected a single ReactElement type."))}return null}return i(x)}function p(x){function R(U,K,X,i1,J){if(!(U[K]instanceof x)){var s1=x.name||r,H1=Q(U[K]);return new Z("Invalid "+i1+" `"+J+"` of type "+("`"+H1+"` supplied to `"+X+"`, expected ")+("instance of `"+s1+"`."))}return null}return i(R)}function M(x){if(!Array.isArray(x)){if(arguments.length>1)ma("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 ma("Invalid argument supplied to oneOf, expected an array.");return Mr}function R(U,K,X,i1,J){var s1=U[K];for(var H1=0;H1<x.length;H1++)if(h(s1,x[H1]))return null;var B=JSON.stringify(x,function b(x1,y1){var r0=c1(y1);if(r0==="symbol")return String(y1);return y1});return new Z("Invalid "+i1+" `"+J+"` of value `"+String(s1)+"` "+("supplied to `"+X+"`, expected one of "+B+"."))}return i(R)}function u(x){function R(U,K,X,i1,J){if(typeof x!=="function")return new Z("Property `"+J+"` of component `"+X+"` has invalid PropType notation inside objectOf.");var s1=U[K],H1=T(s1);if(H1!=="object")return new Z("Invalid "+i1+" `"+J+"` of type "+("`"+H1+"` supplied to `"+X+"`, expected an object."));for(var B in s1)if(ki(s1,B)){var b=x(s1,B,X,i1,J+"."+B,da);if(b instanceof Error)return b}return null}return i(R)}function A(x){if(!Array.isArray(x))return ma("Invalid argument supplied to oneOfType, expected an instance of array."),Mr;for(var R=0;R<x.length;R++){var U=x[R];if(typeof U!=="function")return ma("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+l1(U)+" at index "+R+"."),Mr}function K(X,i1,J,s1,H1){var B=[];for(var b=0;b<x.length;b++){var x1=x[b],y1=x1(X,i1,J,s1,H1,da);if(y1==null)return null;if(y1.data&&ki(y1.data,"expectedType"))B.push(y1.data.expectedType)}var r0=B.length>0?", expected one of type ["+B.join(", ")+"]":"";return new Z("Invalid "+s1+" `"+H1+"` supplied to "+("`"+J+"`"+r0+"."))}return i(K)}function V(){function x(R,U,K,X,i1){if(!C(R[U]))return new Z("Invalid "+X+" `"+i1+"` supplied to "+("`"+K+"`, expected a ReactNode."));return null}return i(x)}function H(x,R,U,K,X){return new Z((x||"React class")+": "+R+" type `"+U+"."+K+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+X+"`.")}function g(x){function R(U,K,X,i1,J){var s1=U[K],H1=T(s1);if(H1!=="object")return new Z("Invalid "+i1+" `"+J+"` of type `"+H1+"` "+("supplied to `"+X+"`, expected `object`."));for(var B in x){var b=x[B];if(typeof b!=="function")return H(X,i1,J,B,c1(b));var x1=b(s1,B,X,i1,J+"."+B,da);if(x1)return x1}return null}return i(R)}function S(x){function R(U,K,X,i1,J){var s1=U[K],H1=T(s1);if(H1!=="object")return new Z("Invalid "+i1+" `"+J+"` of type `"+H1+"` "+("supplied to `"+X+"`, expected `object`."));var B=LD({},U[K],x);for(var b in B){var x1=x[b];if(ki(x,b)&&typeof x1!=="function")return H(X,i1,J,b,c1(x1));if(!x1)return new Z("Invalid "+i1+" `"+J+"` key `"+b+"` supplied to `"+X+"`.\nBad object: "+JSON.stringify(U[K],null," ")+`
|
|
2
|
+
Valid keys: `+JSON.stringify(Object.keys(x),null," "));var y1=x1(s1,b,X,i1,J+"."+b,da);if(y1)return y1}return null}return i(R)}function C(x){switch(typeof x){case"number":case"string":case"undefined":return!0;case"boolean":return!x;case"object":if(Array.isArray(x))return x.every(C);if(x===null||a(x))return!0;var R=e(x);if(R){var U=R.call(x),K;if(R!==x.entries){while(!(K=U.next()).done)if(!C(K.value))return!1}else while(!(K=U.next()).done){var X=K.value;if(X){if(!C(X[1]))return!1}}}else return!1;return!0;default:return!1}}function E(x,R){if(x==="symbol")return!0;if(!R)return!1;if(R["@@toStringTag"]==="Symbol")return!0;if(typeof Symbol==="function"&&R instanceof Symbol)return!0;return!1}function T(x){var R=typeof x;if(Array.isArray(x))return"array";if(x instanceof RegExp)return"object";if(E(R,x))return"symbol";return R}function c1(x){if(typeof x==="undefined"||x===null)return""+x;var R=T(x);if(R==="object"){if(x instanceof Date)return"date";else if(x instanceof RegExp)return"regexp"}return R}function l1(x){var R=c1(x);switch(R){case"array":case"object":return"an "+R;case"boolean":case"date":case"regexp":return"a "+R;default:return R}}function Q(x){if(!x.constructor||!x.constructor.name)return r;return x.constructor.name}return t.checkPropTypes=BA,t.resetWarningCache=BA.resetWarningCache,t.PropTypes=t,t}});var WA=N2((fn1,EA)=>{var Ui=h6(Ci(),1);yi=!0,EA.exports=OA()(Ui.isElement,yi);var yi});var xg=N2((Yk)=>{Yk.__esModule=!0;Yk.default=function(a,l){if(a&&l){var c=Array.isArray(l)?l:l.split(",");if(c.length===0)return!0;var o=a.name||"",e=(a.type||"").toLowerCase(),r=e.replace(/\/.*$/,"");return c.some(function(t){var h=t.trim().toLowerCase();if(h.charAt(0)===".")return o.toLowerCase().endsWith(h);else if(h.endsWith("/*"))return r===h.replace(/\/.*$/,"");return e===h})}return!0}});i3();var Et=typeof window==="undefined"?global:window;function Xn(a,l){if(!Et[Symbol.for("@griffel/"+a)])Et[Symbol.for("@griffel/"+a)]=l;return Et[Symbol.for("@griffel/"+a)]}var v3=/*@__PURE__*/Xn("DEBUG_RESET_CLASSES",{}),n3=/*@__PURE__*/Xn("DEFINITION_LOOKUP_TABLE",{}),e4="data-make-styles-bucket",Wt="data-priority",Xa="f",Nn="r",Ya=7,X5="___",It="_",Zo=X5.length+Ya+It.length+Ya,jn=0,qt=1,ad={all:1,borderColor:1,borderStyle:1,borderWidth:1,borderBlock:1,borderBlockEnd:1,borderBlockStart:1,borderInline:1,borderInlineEnd:1,borderInlineStart:1},i6="DO_NOT_USE_DIRECTLY: @griffel/reset-value";function l7(a){var l=0,c,o=0,e=a.length;for(;e>=4;++o,e-=4)c=a.charCodeAt(o)&255|(a.charCodeAt(++o)&255)<<8|(a.charCodeAt(++o)&255)<<16|(a.charCodeAt(++o)&255)<<24,c=(c&65535)*1540483477+((c>>>16)*59797<<16),c^=c>>>24,l=(c&65535)*1540483477+((c>>>16)*59797<<16)^(l&65535)*1540483477+((l>>>16)*59797<<16);switch(e){case 3:l^=(a.charCodeAt(o+2)&255)<<16;case 2:l^=(a.charCodeAt(o+1)&255)<<8;case 1:l^=a.charCodeAt(o)&255,l=(l&65535)*1540483477+((l>>>16)*59797<<16)}return l^=l>>>13,l=(l&65535)*1540483477+((l>>>16)*59797<<16),((l^l>>>15)>>>0).toString(36)}function ld(a){let l=a.length;if(l===Ya)return a;for(let c=l;c<Ya;c++)a+="0";return a}function io(a,l,c=[]){return X5+ld(l7(a+l))+It+ld(l7(c.join("")))}function Pt(a,l){let c="",o="";for(let e in a){let r=a[e];if(r===0){o+=e+" ";continue}let t=Array.isArray(r),h=l==="rtl"?(t?r[1]:r)+" ":(t?r[0]:r)+" ";c+=h,o+=h}return[c.slice(0,-1),o.slice(0,-1)]}function v6(a,l){let c={};for(let o in a){let[e,r]=Pt(a[o],l);if(r===""){c[o]="";continue}let t=io(r,l),h=t+(e===""?"":" "+e);n3[t]=[a[o],l],c[o]=h}return c}var Na={};function D(){let a=null,l="",c="",o=new Array(arguments.length),e="";for(let d=0;d<arguments.length;d++){let m=arguments[d];if(typeof m==="string"&&m!==""){let s=m.indexOf(X5);if(s===-1)m.split(" ").forEach((p)=>{if(p.startsWith(Nn)&&v3[p])if(e)console.error(`mergeClasses(): a passed string contains multiple classes produced by makeResetStyles (${m} & ${l}, this will lead to non-deterministic behavior. Learn more:https://griffel.js.org/react/api/make-reset-styles#limitations
|
|
3
|
+
Source string: ${m}`);else e=p}),l+=m+" ";else{let p=m.substr(s,Zo);if(s>0)l+=m.slice(0,s);c+=p,o[d]=p}if(m.indexOf(X5,s+1)!==-1)console.error(`mergeClasses(): a passed string contains multiple identifiers of atomic classes (classes that start with "${X5}"), it's possible that passed classes were concatenated in a wrong way. Source string: ${m}`)}}if(c==="")return l.slice(0,-1);let r=Na[c];if(r!==void 0)return l+r;let t=[];for(let d=0;d<arguments.length;d++){let m=o[d];if(m){let s=n3[m];if(s){if(t.push(s[jn]),a!==null&&a!==s[qt])console.error(`mergeClasses(): a passed string contains an identifier (${m}) that has different direction (dir="${s[1]?"rtl":"ltr"}") setting than other classes. This is not supported. Source string: ${arguments[d]}`);a=s[qt]}else console.error(`mergeClasses(): a passed string contains an identifier (${m}) that does not match any entry in cache. Source string: ${arguments[d]}`)}}let h=Object.assign.apply(Object,[{}].concat(t)),[Z,i]=Pt(h,a),n=io(i,a,o),v=n+" "+Z;return Na[c]=v,n3[n]=[h,a],l+v}var cd={},od=/*@__PURE__*/new Set,N5={getChildrenSequences:(a)=>{let l=Object.keys(Na).find((c)=>Na[c].startsWith(a));if(l)return l.split(X5).filter((c)=>c.length).map((c)=>X5+c);return[]},addCSSRule:(a)=>{od.add(a)},addSequenceDetails:(a,l)=>{Object.entries(a).forEach(([c,o])=>{cd[o.substring(0,Zo)]={slotName:c,sourceURL:l}})},getCSSRules:()=>{return Array.from(od)},getSequenceDetails:(a)=>{return cd[a]}};function ed(a,l){return Array.isArray(a)?l==="rtl"?a[1]:a[0]:a||""}function rd(a,l,c,o){let e=a[0],r=a[1];return Object.entries(e).map(([t,h])=>{let Z=ed(h,r),i;if(c&&l){let n=c.find(({className:v})=>v===Z);if(!n&&l[0][t])i=ed(l[0][t],l[1]);else if(n&&l[0][t])i=(o?o.filter(({debugClassNames:d})=>d.filter(({className:m})=>m===Z).length>0).length>0:!1)?n.className:n.overriddenBy;else if(!n&&!l[0][t])i=void 0;else if(n&&!l[0][t])i=void 0}return{className:Z,overriddenBy:i}})}function zt(a,l){let c=n3[a];if(c===void 0)return;let o=l?n3[l.sequenceHash]:void 0,e=rd(c,o,l===null||l===void 0?void 0:l.debugClassNames,l===null||l===void 0?void 0:l.children),r={sequenceHash:a,direction:c[1],children:[],debugClassNames:e};if(N5.getChildrenSequences(r.sequenceHash).reverse().forEach((h)=>{let Z=zt(h,r);if(Z)r.children.push(Z)}),!r.children.length)r.rules={},r.debugClassNames.forEach(({className:h})=>{let Z=N5.getSequenceDetails(a);if(Z)r.slot=Z.slotName,r.sourceURL=Z.sourceURL;let i=N5.getCSSRules().find((n)=>{return n.includes(h)});r.rules[h]=i});return r}function td(a){if(v3[a]===void 0)return;let o={sequenceHash:a,direction:"ltr",children:[],debugClassNames:[{className:a}]};o.rules={},o.slot="makeResetStyles()";let[{className:e}]=o.debugClassNames,r=N5.getCSSRules().filter((t)=>{return t.includes(`.${e}`)});return o.rules[e]=r.join(""),o}function hd(a,l){let c=a?zt(a):void 0,o=l?td(l):void 0;if(!c&&!o)return;if(!c)return o;if(!o)return c;return{sequenceHash:c.sequenceHash+o.sequenceHash,direction:c.direction,children:[c,o],debugClassNames:[...c.debugClassNames,...o.debugClassNames]}}function Zd(a){let l=a.defaultView;if(!l||l.__GRIFFEL_DEVTOOLS__)return;let c={getInfo:(o)=>{let e,r;for(let t of o.classList){if(t.startsWith(X5))e=t;if(v3[t])r=t}return hd(e,r)}};Object.defineProperty(l,"__GRIFFEL_DEVTOOLS__",{configurable:!1,enumerable:!1,get(){return c}})}var k7=/*@__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 id(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 vd(a,l,c,o){let e=[];if(o[e4]=l,o[Wt]=String(c),a)for(let t in o)a.setAttribute(t,o[t]);function r(t){if(a===null||a===void 0?void 0:a.sheet)return a.sheet.insertRule(t,a.sheet.cssRules.length);return e.push(t)}return{elementAttributes:o,insertRule:r,element:a,bucketName:l,cssRules(){if(a===null||a===void 0?void 0:a.sheet)return Array.from(a.sheet.cssRules).map((t)=>t.cssText);return e}}}var Tf=["r","d","l","v","w","f","i","h","a","s","k","t","m","c"],nd=/*@__PURE__*/Tf.reduce((a,l,c)=>{return a[l]=c,a},{});function bf(a,l,c){return(a==="m"?a+l:a)+c}function dd(a,l,c,o,e={}){var r,t;let h=a==="m",Z=(r=e.m)!==null&&r!==void 0?r:"0",i=(t=e.p)!==null&&t!==void 0?t:0,n=bf(a,Z,i);if(!o.stylesheets[n]){let v=l&&l.createElement("style"),d=vd(v,a,i,Object.assign({},o.styleElementAttributes,h&&{media:Z}));if(o.stylesheets[n]=d,(l===null||l===void 0?void 0:l.head)&&v)l.head.insertBefore(v,Ef(l,c,a,o,e))}return o.stylesheets[n]}function Of(a,l,c){var o,e;let r=l+((o=c.m)!==null&&o!==void 0?o:""),t=a.getAttribute(e4)+((e=a.media)!==null&&e!==void 0?e:"");return r===t}function Ef(a,l,c,o,e={}){var r,t;let h=nd[c],Z=(r=e.m)!==null&&r!==void 0?r:"",i=(t=e.p)!==null&&t!==void 0?t:0,n=(p)=>h-nd[p.getAttribute(e4)],v=a.head.querySelectorAll(`[${e4}]`);if(c==="m"){let p=a.head.querySelectorAll(`[${e4}="${c}"]`);if(p.length)v=p,n=(M)=>o.compareMediaQueries(Z,M.media)}let d=(p)=>{if(Of(p,c,e))return i-Number(p.getAttribute("data-priority"));return n(p)},m=v.length,s=m-1;while(s>=0){let p=v.item(s);if(d(p)>0)return p.nextSibling;s--}if(m>0)return v.item(0);return l?l.nextSibling:null}var Wf=/*@__PURE__*/["-moz-placeholder","-moz-focus-inner","-moz-focusring","-ms-input-placeholder","-moz-read-write","-moz-read-only"].join("|"),If=/*@__PURE__*/new RegExp(`:(${Wf})`);function Qt(a,l){try{a.insertRule(l)}catch(c){if(!If.test(l))console.error(`There was a problem inserting the following rule: "${l}"`,c)}}var qf=0,md=(a,l)=>a<l?-1:a>l?1:0;function ja(a=typeof document==="undefined"?void 0:document,l={}){let{classNameHashSalt:c,unstable_filterCSSRule:o,insertionPoint:e,styleElementAttributes:r,compareMediaQueries:t=md}=l,h={classNameHashSalt:c,insertionCache:{},stylesheets:{},styleElementAttributes:Object.freeze(r),compareMediaQueries:t,id:`d${qf++}`,insertCSSRules(Z){for(let i in Z){let n=Z[i];for(let v=0,d=n.length;v<d;v++){let[m,s]=id(n[v]),p=dd(i,a,e||null,h,s);if(h.insertionCache[m])continue;if(h.insertionCache[m]=i,k7)N5.addCSSRule(m);if(o){if(o(m))Qt(p,m)}else Qt(p,m)}}}};if(a&&!0&&k7)Zd(a);return h}function pd(a){return Jf(a)||Yf(a)||Nf(a)}var Pf=/^\s*at (.*?) ?\(((?:file|https?|blob|chrome-extension|native|eval|webpack|<anonymous>|\/|[a-z]:\\|\\\\).*?)?\)?\s*$/i,zf=/^\s*at ()((?:file|https?|blob|chrome-extension|native|eval|webpack|<anonymous>|\/|[a-z]:\\|\\\\).*?)\s*$/i,Qf=/\((\S*)\)/;function Jf(a){let l=Pf.exec(a)||zf.exec(a);if(!l)return null;let c=l[2],o=c&&c.indexOf("native")===0,e=c&&c.indexOf("eval")===0,r=Qf.exec(c);if(e&&r!=null)c=r[1];return{loc:!o?l[2]:null,name:l[1]||"<unknown>"}}var Kf=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)((?:file|https?|blob|chrome|webpack|resource|\[native).*?|[^@]*bundle)\s*$/i,$f=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i;function Yf(a){let l=Kf.exec(a);if(!l)return null;let c=l[3],o=c&&c.indexOf(" > eval")>-1,e=$f.exec(c);if(o&&e!=null)c=e[1];return{loc:l[3],name:l[1]||"<unknown>"}}var Xf=/^\s*(?:([^@]*)(?:\((.*?)\))?@)?(\S.*?)\s*$/i;function Nf(a){let l=Xf.exec(a);if(!l)return null;return{loc:l[3],name:l[1]||"<unknown>"}}function vo(){let a=String(new Error().stack).split(`
|
|
4
|
+
`),l=jf(a);if(l===void 0)return;let c=pd(l);return c===null||c===void 0?void 0:c.loc}function jf(a){for(let l=a.length-1;l>=0;--l)if(a[l].includes("at getSourceURLfromError"))return a[l+3];return}var n6=()=>{let a={};return function l(c,o){if(a[c.id]===void 0)c.insertCSSRules(o),a[c.id]=!0}};function $t(a){return a.reduce(function(l,c){var o=c[0],e=c[1];return l[o]=e,l[e]=o,l},{})}function sd(a){return typeof a==="boolean"}function Md(a){return typeof a==="function"}function d6(a){return typeof a==="number"}function _d(a){return a===null||typeof a==="undefined"}function ud(a){return a&&typeof a==="object"}function Ad(a){return typeof a==="string"}function a8(a,l){return a.indexOf(l)!==-1}function Hd(a){if(parseFloat(a)===0)return a;if(a[0]==="-")return a.slice(1);return"-"+a}function m6(a,l,c,o){return l+Hd(c)+o}function Vd(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 Yt(a){return a.replace(/ +/g," ").split(" ").map(function(l){return l.trim()}).filter(Boolean).reduce(function(l,c){var{list:o,state:e}=l,r=(c.match(/\(/g)||[]).length,t=(c.match(/\)/g)||[]).length;if(e.parensDepth>0)o[o.length-1]=o[o.length-1]+" "+c;else o.push(c);return e.parensDepth+=r-t,{list:o,state:e}},{list:[],state:{parensDepth:0}}).list}function Jt(a){var l=Yt(a);if(l.length<=3||l.length>4)return a;var c=l[0],o=l[1],e=l[2],r=l[3];return[c,r,e,o].join(" ")}function gd(a){return!sd(a)&&!_d(a)}function fd(a){var l=[],c=0,o=0,e=!1;while(o<a.length)if(!e&&a[o]===",")l.push(a.substring(c,o).trim()),o++,c=o;else if(a[o]==="(")e=!0,o++;else if(a[o]===")")e=!1,o++;else o++;if(c!=o)l.push(a.substring(c,o+1));return l}var W={padding:function a(l){var c=l.value;if(d6(c))return c;return Jt(c)},textShadow:function a(l){var c=l.value,o=fd(c).map(function(e){return e.replace(/(^|\s)(-*)([.|\d]+)/,function(r,t,h,Z){if(Z==="0")return r;var i=h===""?"-":"";return""+t+i+Z})});return o.join(",")},borderColor:function a(l){var c=l.value;return Jt(c)},borderRadius:function a(l){var c=l.value;if(d6(c))return c;if(a8(c,"/")){var o=c.split("/"),e=o[0],r=o[1],t=W.borderRadius({value:e.trim()}),h=W.borderRadius({value:r.trim()});return t+" / "+h}var Z=Yt(c);switch(Z.length){case 2:return Z.reverse().join(" ");case 4:{var i=Z[0],n=Z[1],v=Z[2],d=Z[3];return[n,i,d,v].join(" ")}default:return c}},background:function a(l){var{value:c,valuesToConvert:o,isRtl:e,bgImgDirectionRegex:r,bgPosDirectionRegex:t}=l;if(d6(c))return c;var h=c.replace(/(url\(.*?\))|(rgba?\(.*?\))|(hsl\(.*?\))|(#[a-fA-F0-9]+)|((^| )(\D)+( |$))/g,"").trim();return c=c.replace(h,W.backgroundPosition({value:h,valuesToConvert:o,isRtl:e,bgPosDirectionRegex:t})),W.backgroundImage({value:c,valuesToConvert:o,bgImgDirectionRegex:r})},backgroundImage:function a(l){var{value:c,valuesToConvert:o,bgImgDirectionRegex:e}=l;if(!a8(c,"url(")&&!a8(c,"linear-gradient("))return c;return c.replace(e,function(r,t,h){return r.replace(h,o[h])})},backgroundPosition:function a(l){var{value:c,valuesToConvert:o,isRtl:e,bgPosDirectionRegex:r}=l;return c.replace(e?/^((-|\d|\.)+%)/:null,function(t,h){return Vd(h)}).replace(r,function(t){return o[t]})},backgroundPositionX:function a(l){var{value:c,valuesToConvert:o,isRtl:e,bgPosDirectionRegex:r}=l;if(d6(c))return c;return W.backgroundPosition({value:c,valuesToConvert:o,isRtl:e,bgPosDirectionRegex:r})},transition:function a(l){var{value:c,propertiesToConvert:o}=l;return c.split(/,\s*/g).map(function(e){var r=e.split(" ");return r[0]=o[r[0]]||r[0],r.join(" ")}).join(", ")},transitionProperty:function a(l){var{value:c,propertiesToConvert:o}=l;return c.split(/,\s*/g).map(function(e){return o[e]||e}).join(", ")},transform:function a(l){var c=l.value,o="[^\\u0020-\\u007e]",e="(?:(?:(?:\\[0-9a-f]{1,6})(?:\\r\\n|\\s)?)|\\\\[^\\r\\n\\f0-9a-f])",r="((?:-?"+("(?:[0-9]*\\.[0-9]+|[0-9]+)(?:\\s*(?:em|ex|px|cm|mm|in|pt|pc|deg|rad|grad|ms|s|hz|khz|%)|"+("-?"+("(?:[_a-z]|"+o+"|"+e+")")+("(?:[_a-z0-9-]|"+o+"|"+e+")")+"*")+")?")+")|(?:inherit|auto))",t=new RegExp("(translateX\\s*\\(\\s*)"+r+"(\\s*\\))","gi"),h=new RegExp("(translate\\s*\\(\\s*)"+r+"((?:\\s*,\\s*"+r+"){0,1}\\s*\\))","gi"),Z=new RegExp("(translate3d\\s*\\(\\s*)"+r+"((?:\\s*,\\s*"+r+"){0,2}\\s*\\))","gi"),i=new RegExp("(rotate[ZY]?\\s*\\(\\s*)"+r+"(\\s*\\))","gi");return c.replace(t,m6).replace(h,m6).replace(Z,m6).replace(i,m6)}};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 Xt=$t([["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"]]),Fd=["content"],Kt=$t([["ltr","rtl"],["left","right"],["w-resize","e-resize"],["sw-resize","se-resize"],["nw-resize","ne-resize"]]),aF=new RegExp("(^|\\W|_)((ltr)|(rtl)|(left)|(right))(\\W|_|$)","g"),lF=new RegExp("(left)|(right)");function no(a){return Object.keys(a).reduce(function(l,c){var o=a[c];if(Ad(o))o=o.trim();if(a8(Fd,c))return l[c]=o,l;var e=l8(c,o),r=e.key,t=e.value;return l[r]=t,l},Array.isArray(a)?[]:{})}function l8(a,l){var c=/\/\*\s?@noflip\s?\*\//.test(l),o=c?a:xd(a),e=c?l:Cd(o,l);return{key:o,value:e}}function xd(a){return Xt[a]||a}function Cd(a,l){if(!gd(l))return l;if(ud(l))return no(l);var c=d6(l),o=Md(l),e=c||o?l:l.replace(/ !important.*?$/,""),r=!c&&e.length!==l.length,t=W[a],h;if(t)h=t({value:e,valuesToConvert:Kt,propertiesToConvert:Xt,isRtl:!0,bgImgDirectionRegex:aF,bgPosDirectionRegex:lF});else h=Kt[e]||e;if(r)return h+" !important";return h}var cF=/[A-Z]/g,oF=/^ms-/,Nt={};function eF(a){return"-"+a.toLowerCase()}function d3(a){if(Object.prototype.hasOwnProperty.call(Nt,a))return Nt[a];if(a.substr(0,2)==="--")return a;let l=a.replace(cF,eF);return Nt[a]=oF.test(l)?"-"+l:l}function mo(a){if(a.charAt(0)==="&")return a.slice(1);return a}var p6="-moz-",j5="-webkit-",po="comm",m3="rule",s6="decl";var Ld="@media",Rd="@import";var Sd="@supports";var Dd="@namespace",wd="@keyframes";var so="@layer";var jt=Math.abs,M6=String.fromCharCode,ah=Object.assign;function kd(a,l){return F0(a,0)^45?(((l<<2^F0(a,0))<<2^F0(a,1))<<2^F0(a,2))<<2^F0(a,3):0}function Mo(a){return a.trim()}function _o(a,l){return(a=l.exec(a))?a[0]:a}function $0(a,l,c){return a.replace(l,c)}function uo(a,l,c){return a.indexOf(l,c)}function F0(a,l){return a.charCodeAt(l)|0}function y7(a,l,c){return a.slice(l,c)}function h5(a){return a.length}function Ao(a){return a.length}function U7(a,l){return l.push(a),a}function lh(a,l){return a.map(l).join("")}var Ho=1,_6=1,yd=0,W5=0,i0=0,u6="";function c8(a,l,c,o,e,r,t,h){return{value:a,root:l,parent:c,type:o,props:e,children:r,line:Ho,column:_6,length:t,return:"",siblings:h}}function Vo(a,l){return ah(c8("",null,null,"",null,null,0,a.siblings),a,{length:-a.length},l)}function Ud(){return i0}function Gd(){if(i0=W5>0?F0(u6,--W5):0,_6--,i0===10)_6=1,Ho--;return i0}function I5(){if(i0=W5<yd?F0(u6,W5++):0,_6++,i0===10)_6=1,Ho++;return i0}function G7(){return F0(u6,W5)}function o8(){return W5}function go(a,l){return y7(u6,a,l)}function r4(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 oh(a){return Ho=_6=1,yd=h5(u6=a),W5=0,[]}function eh(a){return u6="",a}function e8(a){return Mo(go(W5-1,ch(a===91?a+2:a===40?a+1:a)))}function Bd(a){return eh(rF(oh(a)))}function Td(a){while(i0=G7())if(i0<33)I5();else break;return r4(a)>2||r4(i0)>3?"":" "}function rF(a){while(I5())switch(r4(i0)){case 0:U7(rh(W5-1),a);break;case 2:U7(e8(i0),a);break;default:U7(M6(i0),a)}return a}function bd(a,l){while(--l&&I5())if(i0<48||i0>102||i0>57&&i0<65||i0>70&&i0<97)break;return go(a,o8()+(l<6&&G7()==32&&I5()==32))}function ch(a){while(I5())switch(i0){case a:return W5;case 34:case 39:if(a!==34&&a!==39)ch(i0);break;case 40:if(a===41)ch(a);break;case 92:I5();break}return W5}function Od(a,l){while(I5())if(a+i0===57)break;else if(a+i0===84&&G7()===47)break;return"/*"+go(l,W5-1)+"*"+M6(a===47?a:I5())}function rh(a){while(!r4(G7()))I5();return go(a,W5)}function Fo(a){return eh(fo("",null,null,null,[""],a=oh(a),0,[0],a))}function fo(a,l,c,o,e,r,t,h,Z){var i=0,n=0,v=t,d=0,m=0,s=0,p=1,M=1,u=1,A=0,V="",H=e,g=r,S=o,C=V;while(M)switch(s=A,A=I5()){case 40:if(s!=108&&F0(C,v-1)==58){if(uo(C+=$0(e8(A),"&","&\f"),"&\f",jt(i?h[i-1]:0))!=-1)u=-1;break}case 34:case 39:case 91:C+=e8(A);break;case 9:case 10:case 13:case 32:C+=Td(s);break;case 92:C+=bd(o8()-1,7);continue;case 47:switch(G7()){case 42:case 47:if(U7(tF(Od(I5(),o8()),l,c,Z),Z),(r4(s||1)==5||r4(G7()||1)==5)&&h5(C)&&y7(C,-1,void 0)!==" ")C+=" ";break;default:C+="/"}break;case 123*p:h[i++]=h5(C)*u;case 125*p:case 59:case 0:switch(A){case 0:case 125:M=0;case 59+n:if(u==-1)C=$0(C,/\f/g,"");if(m>0&&(h5(C)-v||p===0&&s===47))U7(m>32?Wd(C+";",o,c,v-1,Z):Wd($0(C," ","")+";",o,c,v-2,Z),Z);break;case 59:C+=";";default:if(U7(S=Ed(C,l,c,i,n,e,h,V,H=[],g=[],v,r),r),A===123)if(n===0)fo(C,l,S,S,H,r,v,h,g);else{switch(d){case 99:if(F0(C,3)===110)break;case 108:if(F0(C,2)===97)break;default:n=0;case 100:case 109:case 115:}if(n)fo(a,S,S,o&&U7(Ed(a,S,S,0,0,e,h,V,e,H=[],v,g),g),e,g,v,h,o?H:g);else fo(C,S,S,S,[""],g,0,h,g)}}i=n=m=0,p=u=1,V=C="",v=t;break;case 58:v=1+h5(C),m=s;default:if(p<1){if(A==123)--p;else if(A==125&&p++==0&&Gd()==125)continue}switch(C+=M6(A),A*p){case 38:u=n>0?1:(C+="\f",-1);break;case 44:h[i++]=(h5(C)-1)*u,u=1;break;case 64:if(G7()===45)C+=e8(I5());d=G7(),n=v=h5(V=C+=rh(o8())),A++;break;case 45:if(s===45&&h5(C)==2)p=0}}return r}function Ed(a,l,c,o,e,r,t,h,Z,i,n,v){var d=e-1,m=e===0?r:[""],s=Ao(m);for(var p=0,M=0,u=0;p<o;++p)for(var A=0,V=y7(a,d+1,d=jt(M=t[p])),H=a;A<s;++A)if(H=Mo(M>0?m[A]+" "+V:$0(V,/&\f/g,m[A])))Z[u++]=H;return c8(a,l,c,e===0?m3:h,Z,i,n,v)}function tF(a,l,c,o){return c8(a,l,c,po,M6(Ud()),y7(a,2,-2),0,o)}function Wd(a,l,c,o,e){return c8(a,l,c,s6,y7(a,0,o),y7(a,o+1,-1),o,e)}function B7(a,l){var c="";for(var o=0;o<a.length;o++)c+=l(a[o],o,a,l)||"";return c}function xo(a,l,c,o){switch(a.type){case so:if(a.children.length)break;case Rd:case Dd:case s6:return a.return=a.return||a.value;case po:return"";case wd:return a.return=a.value+"{"+B7(a.children,o)+"}";case m3:if(!h5(a.value=a.props.join(",")))return""}return h5(c=B7(a.children,o))?a.return=a.value+"{"+c+"}":""}function Co(a){var l=Ao(a);return function(c,o,e,r){var t="";for(var h=0;h<l;h++)t+=a[h](c,o,e,r)||"";return t}}function Lo(a){return function(l){if(!l.root){if(l=l.return)a(l)}}}var Id=(a)=>{switch(a.type){case m3: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 Bd(l).reduce((c,o,e,r)=>{if(o==="")return c;if(o===":"&&r[e+1]==="global"){let t=r[e+2].slice(1,-1)+" ";return c.unshift(t),r[e+1]="",r[e+2]="",c}return c.push(o),c},[]).join("")})}};function qd(a,l,c){switch(kd(a,l)){case 5103:return j5+"print-"+a+a;case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:return j5+a+a;case 4215:if(F0(a,9)===102)return j5+a+a;if(F0(a,l+1)===116)return j5+a+a;break;case 4789:return p6+a+a;case 5349:case 4246:case 6968:return j5+a+p6+a+a;case 6187:if(!_o(a,/grab/))return $0($0($0(a,/(zoom-|grab)/,j5+"$1"),/(image-set)/,j5+"$1"),a,"")+a;case 5495:case 3959:return $0(a,/(image-set\([^]*)/,j5+"$1$`$1");case 4095:case 3583:case 4068:case 2532:return $0(a,/(.+)-inline(.+)/,j5+"$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(h5(a)-1-l>6)switch(F0(a,l+1)){case 102:if(F0(a,l+3)===108)return $0(a,/(.+:)(.+)-([^]+)/,"$1"+j5+"$2-$3$1"+p6+(F0(a,l+3)==108?"$3":"$2-$3"))+a;case 115:return~uo(a,"stretch")?qd($0(a,"stretch","fill-available"),l)+a:a}break}return a}function Ro(a,l,c,o){if(a.length>-1){if(!a.return)switch(a.type){case s6:a.return=qd(a.value,a.length);return;case m3:if(a.length)return lh(a.props,function(e){switch(_o(e,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return B7([Vo(a,{props:[$0(e,/:(read-\w+)/,":"+p6+"$1")]})],o);case"::placeholder":return B7([Vo(a,{props:[$0(e,/:(plac\w+)/,":"+j5+"input-$1")]}),Vo(a,{props:[$0(e,/:(plac\w+)/,":"+p6+"$1")]})],o)}return""})}}return}function Pd(a){switch(a.type){case"@container":case Ld:case Sd:case so:return!0}return!1}var zd=(a)=>{if(Pd(a)&&Array.isArray(a.children))a.children.sort((l,c)=>l.props[0]>c.props[0]?1:-1)};function hF(){}function Qd(a,l){let c=[];return B7(Fo(a),Co([Id,l?zd:hF,Ro,xo,Lo((o)=>c.push(o))])),c}var ZF=/,( *[^ &])/g;function iF(a){return"&"+mo(a.replace(ZF,",&$1"))}function Jd(a,l,c){let o=l;if(c.length>0)o=c.reduceRight((e,r)=>{return`${iF(r)} { ${e} }`},l);return`${a}{${o}}`}function th(a,l){let{className:c,selectors:o,property:e,rtlClassName:r,rtlProperty:t,rtlValue:h,value:Z}=a,{container:i,layer:n,media:v,supports:d}=l,m=`.${c}`,s=Array.isArray(Z)?`${Z.map((M)=>`${d3(e)}: ${M}`).join(";")};`:`${d3(e)}: ${Z};`,p=Jd(m,s,o);if(t&&r){let M=`.${r}`,u=Array.isArray(h)?`${h.map((A)=>`${d3(t)}: ${A}`).join(";")};`:`${d3(t)}: ${h};`;p+=Jd(M,u,o)}if(v)p=`@media ${v} { ${p} }`;if(n)p=`@layer ${n} { ${p} }`;if(d)p=`@supports ${d} { ${p} }`;if(i)p=`@container ${i} { ${p} }`;return Qd(p,!0)}function Kd(a){let l="";for(let c in a){let o=a[c];if(typeof o==="string"||typeof o==="number"){l+=d3(c)+":"+o+";";continue}if(Array.isArray(o))for(let e of o)l+=d3(c)+":"+e+";"}return l}function hh(a){let l="";for(let c in a)l+=`${c}{${Kd(a[c])}}`;return l}function Zh(a,l){let c=`@keyframes ${a} {${l}}`,o=[];return B7(Fo(c),Co([xo,Ro,Lo((e)=>o.push(e))])),o}var $d={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 ih(a,l){if(a.length===0)return l;return`${a} and ${l}`}function Yd(a){return a.substr(0,6)==="@media"}function Xd(a){return a.substr(0,6)==="@layer"}var vF=/^(:|\[|>|&)/;function Nd(a){return vF.test(a)}function jd(a){return a.substr(0,9)==="@supports"}function am(a){return a.substring(0,10)==="@container"}function lm(a){return a!=null&&typeof a==="object"&&Array.isArray(a)===!1}var cm={"us-w":"w","us-v":"i",nk:"l",si:"v",cu:"f",ve:"h",ti:"a"};function vh(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 cm[c.slice(4,8)]||cm[c.slice(3,5)]||"d"}return"d"}function So(a,l){return a?l+a:a}function nh(a){return So(a.container,"c")+So(a.media,"m")+So(a.layer,"l")+So(a.supports,"s")}function Do(a,l,c){let o=a+nh(c)+l,e=l7(o),r=e.charCodeAt(0);if(r>=48&&r<=57)return String.fromCharCode(r+17)+e.slice(1);return e}function r8({property:a,selector:l,salt:c,value:o},e){return Xa+l7(c+l+nh(e)+a+o.trim())}function om(a){return a===i6}function wo(a){return a.replace(/>\s+/g,">")}function ko(...a){if(typeof document!=="undefined")console.error(...a)}function em(a,l){ko(/*@__PURE__*/(()=>{let o=JSON.stringify(l,null,2),e=["@griffel/react: A rule was not resolved to CSS properly. Please check your `makeStyles` or `makeResetStyles` calls for following:"," ".repeat(2)+"makeStyles({"," ".repeat(4)+"[slot]: {"," ".repeat(6)+`"${a}": ${o.split(`
|
|
5
5
|
`).map((r,t)=>" ".repeat(t===0?0:6)+r).join(`
|
|
6
6
|
`)}`," ".repeat(4)+"}"," ".repeat(2)+"})",""];if(a.indexOf("&")===-1)e.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."),e.push(`Try to update a property to include it i.e "${a}" => "&${a}".`);else e.push(""),e.push("If it's not obvious what triggers a problem, please report an issue at https://github.com/microsoft/griffel/issues");return e.join(`
|
|
7
|
-
`)})())}function
|
|
8
|
-
`))())}function
|
|
7
|
+
`)})())}function rm(a,l){ko(/*@__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 tm(a){return $d[a]}function hm(a){var l;return(l=a===null||a===void 0?void 0:a[0])!==null&&l!==void 0?l:0}function dh(a,l,c,o){a[l]=o?[c,o]:c}function Zm(a,l){if(l.length>0)return[a,Object.fromEntries(l)];return a}function mh(a,l,c,o,e,r){var t;let h=[];if(r!==0)h.push(["p",r]);if(l==="m"&&e)h.push(["m",e]);if((t=a[l])!==null&&t!==void 0||(a[l]=[]),c)a[l].push(Zm(c,h));if(o)a[l].push(Zm(o,h))}function c7(a,l="",c=[],o={container:"",layer:"",media:"",supports:""},e={},r={},t){for(let h in a){if(ad.hasOwnProperty(h)){rm(h,a[h]);continue}let Z=a[h];if(Z==null)continue;if(om(Z)){let i=wo(c.join("")),n=Do(i,h,o);dh(e,n,0,void 0);continue}if(typeof Z==="string"||typeof Z==="number"){let i=wo(c.join("")),n=tm(h);if(n){let H=n[1],g=Object.fromEntries(H.map((S)=>[S,i6]));c7(g,l,c,o,e,r)}let v=Do(i,h,o),d=r8({value:Z.toString(),salt:l,selector:i,property:h},o),m=t&&{key:h,value:t}||l8(h,Z),s=m.key!==h||m.value!==Z,p=s?r8({value:m.value.toString(),property:m.key,salt:l,selector:i},o):void 0,M=s?{rtlClassName:p,rtlProperty:m.key,rtlValue:m.value}:void 0,u=vh(c,o),[A,V]=th(Object.assign({className:d,selectors:c,property:h,value:Z},M),o);dh(e,v,d,p),mh(r,u,A,V,o.media,hm(n))}else if(h==="animationName"){let i=Array.isArray(Z)?Z:[Z],n=[],v=[];for(let d of i){let m=hh(d),s=hh(no(d)),p=Xa+l7(m),M,u=Zh(p,m),A=[];if(m===s)M=p;else M=Xa+l7(s),A=Zh(M,s);for(let V=0;V<u.length;V++)mh(r,"k",u[V],A[V],o.media,0);n.push(p),v.push(M)}c7({animationName:n.join(", ")},l,c,o,e,r,v.join(", "))}else if(Array.isArray(Z)){if(Z.length===0){console.warn(`makeStyles(): An empty array was passed as input to "${h}", the property will be omitted in the styles.`);continue}let i=wo(c.join("")),n=tm(h);if(n){let g=n[1],S=Object.fromEntries(g.map((C)=>[C,i6]));c7(S,l,c,o,e,r)}let v=Do(i,h,o),d=r8({value:Z.map((g)=>(g!==null&&g!==void 0?g:"").toString()).join(";"),salt:l,selector:i,property:h},o),m=Z.map((g)=>l8(h,g));if(!!m.some((g)=>g.key!==m[0].key)){console.error("makeStyles(): mixing CSS fallback values which result in multiple CSS properties in RTL is not supported.");continue}let p=m[0].key!==h||m.some((g,S)=>g.value!==Z[S]),M=p?r8({value:m.map((g)=>{var S;return((S=g===null||g===void 0?void 0:g.value)!==null&&S!==void 0?S:"").toString()}).join(";"),salt:l,property:m[0].key,selector:i},o):void 0,u=p?{rtlClassName:M,rtlProperty:m[0].key,rtlValue:m.map((g)=>g.value)}:void 0,A=vh(c,o),[V,H]=th(Object.assign({className:d,selectors:c,property:h,value:Z},u),o);dh(e,v,d,M),mh(r,A,V,H,o.media,hm(n))}else if(lm(Z))if(Nd(h))c7(Z,l,c.concat(mo(h)),o,e,r);else if(Yd(h)){let i=ih(o.media,h.slice(6).trim());c7(Z,l,c,Object.assign({},o,{media:i}),e,r)}else if(Xd(h)){let i=(o.layer?`${o.layer}.`:"")+h.slice(6).trim();c7(Z,l,c,Object.assign({},o,{layer:i}),e,r)}else if(jd(h)){let i=ih(o.supports,h.slice(9).trim());c7(Z,l,c,Object.assign({},o,{supports:i}),e,r)}else if(am(h)){let i=h.slice(10).trim();c7(Z,l,c,Object.assign({},o,{container:i}),e,r)}else em(h,Z)}return[e,r]}function im(a,l=""){let c={},o={};for(let e in a){let r=a[e],[t,h]=c7(r,l);c[e]=t,Object.keys(h).forEach((Z)=>{o[Z]=(o[Z]||[]).concat(h[Z])})}return[c,o]}function ph(a,l=n6){let c=l(),o=null,e=null,r=null,t=null,h;if(k7)h=vo();let Z;function i(n){let{dir:v,renderer:d}=n;if(o===null){if([o,e]=im(a,d.classNameHashSalt),d.classNameHashSalt){if(Z!==d.classNameHashSalt)console.error(["@griffel/core:",`
|
|
9
9
|
|
|
10
|
-
`,'A provided renderer has different "classNameHashSalt".',"This is not supported and WILL cause issues with classnames generation.",'Ensure that all renderers created with "createDOMRenderer()" have the same "classNameHashSalt".'].join(" "));Z=d.classNameHashSalt}}let
|
|
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(" "));Z=d.classNameHashSalt}}let m=v==="ltr";if(m){if(r===null)r=v6(o,v)}else if(t===null)t=v6(o,v);c(d,e);let s=m?r:t;if(k7)N5.addSequenceDetails(s,h);return s}return i}function t8(a,l,c=n6){let o=c(),e=null,r=null,t;if(k7)t=vo();function h(Z){let{dir:i,renderer:n}=Z,v=i==="ltr";if(v){if(e===null)e=v6(a,i)}else if(r===null)r=v6(a,i);o(n,l);let d=v?e:r;if(k7)N5.addSequenceDetails(d,t);return d}return h}function sh(a,l,c,o=n6){let e=o();function r(t){let{dir:h,renderer:Z}=t,i=h==="ltr"?a:l||a;return e(Z,Array.isArray(c)?{r:c}:c),v3[i]=1,i}return r}function vm(){return typeof window!=="undefined"&&!!(window.document&&window.document.createElement)}F();var Sh=_2?_2:void 0;var g6=()=>{let a={};return function l(c,o){if(Sh&&vm()){Sh(()=>{c.insertCSSRules(o)},[c,o]);return}if(a[c.id]===void 0)c.insertCSSRules(o),a[c.id]=!0}};F();var CF=/*@__PURE__*/v1(/*@__PURE__*/ja());function u2(){return t1(CF)}F();var zm=/*@__PURE__*/v1("ltr"),Dh=({children:a,dir:l})=>{return/*@__PURE__*/e1(zm.Provider,{value:l},a)};function f6(){return t1(zm)}F();function Qm(){try{let a=bo.ReactCurrentDispatcher.current;if(a===null||a===void 0)return!1;return a.useContext({}),!0}catch(a){return!1}}function F6(a){let l=ph(a,g6);if(Qm())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 o=f6(),e=u2();return l({dir:o,renderer:e})}}function k(a,l){let c=t8(a,l,g6);return function o(){let e=f6(),r=u2();return c({dir:e,renderer:r})}}function N(a,l,c){let o=sh(a,l,c,g6);return function e(){let r=f6(),t=u2();return o({dir:r,renderer:t})}}function i8(a,l){if(l){let c=Object.keys(l).reduce((o,e)=>{return`${o}--${e}: ${l[e]}; `},"");return`${a} { ${c} }`}return`${a} {}`}F();var w={};Rt(w,{resolveShorthand:()=>wh,optional:()=>RF,always:()=>Oo});F();var b7=Symbol.for("fui.slotRenderFunction"),i5=Symbol.for("fui.slotElementType"),x6=Symbol.for("fui.slotClassNameProp");function Oo(a,l){let{defaultProps:c,elementType:o}=l,e=wh(a),r={...c,...e,[i5]:o,[x6]:e===null||e===void 0?void 0:e.className};if(e&&typeof e.children==="function")r[b7]=e.children,r.children=c===null||c===void 0?void 0:c.children;return r}function RF(a,l){if(a===null||a===void 0&&!l.renderByDefault)return;return Oo(a,l)}function wh(a){if(typeof a==="string"||typeof a==="number"||SF(a)||u5(a))return{children:a};if(a&&typeof a!=="object")console.error(`@fluentui/react-utilities [slot.${wh.name}]:
|
|
11
11
|
A slot got an invalid value "${a}" (${typeof a}).
|
|
12
12
|
A valid value for a slot is a slot shorthand or slot properties object.
|
|
13
|
-
Slot shorthands can be strings, numbers, arrays or JSX elements`);return a}var
|
|
13
|
+
Slot shorthands can be strings, numbers, arrays or JSX elements`);return a}var SF=(a)=>typeof a==="object"&&a!==null&&(Symbol.iterator in a);F();function C6(a){return a!==null&&typeof a==="object"&&!Array.isArray(a)&&!u5(a)}function Z4(a){return Boolean(a===null||a===void 0?void 0:a.hasOwnProperty(i5))}F();function P(a){{let l=a;for(let c of Object.keys(l.components)){let o=l[c];if(o===void 0)continue;if(!Z4(o))l[c]=Oo(o,{elementType:l.components[c]}),console.warn(`@fluentui/react-utilities [${P.name}]:
|
|
14
14
|
"state.${c}" is not a slot!
|
|
15
|
-
Be sure to create slots properly by using "slot.always" or "slot.optional".`);else{let{[
|
|
15
|
+
Be sure to create slots properly by using "slot.always" or "slot.optional".`);else{let{[i5]:e}=o;if(e!==l.components[c])o[i5]=l.components[c],console.warn(`@fluentui/react-utilities [${P.name}]:
|
|
16
16
|
"state.${c}" element type differs from "state.components.${c}",
|
|
17
17
|
${e} !== ${l.components[c]}.
|
|
18
|
-
Be sure to create slots properly by using "slot.always" or "slot.optional" with the correct elementType.`)}}}}
|
|
18
|
+
Be sure to create slots properly by using "slot.always" or "slot.optional" with the correct elementType.`)}}}}F();F();var l0=(...a)=>{let l={};for(let c of a){let o=Array.isArray(c)?c:Object.keys(c);for(let e of o)l[e]=1}return l},DF=l0(["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"]),wF=l0(["accessKey","children","className","contentEditable","dir","draggable","hidden","htmlFor","id","lang","ref","role","style","tabIndex","title","translate","spellCheck","name"]),kF=l0(["itemID","itemProp","itemRef","itemScope","itemType"]),H0=l0(wF,DF,kF),Jm=l0(H0,["form"]),kh=l0(H0,["height","loop","muted","preload","src","width"]),Km=l0(kh,["poster"]),$m=l0(H0,["start"]),Ym=l0(H0,["value"]),Xm=l0(H0,["download","href","hrefLang","media","rel","target","type"]),Nm=l0(H0,["dateTime"]),v8=l0(H0,["autoFocus","disabled","form","formAction","formEncType","formMethod","formNoValidate","formTarget","type","value"]),jm=l0(v8,["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"]),ap=l0(v8,["autoCapitalize","cols","dirname","form","maxLength","placeholder","readOnly","required","rows","wrap"]),lp=l0(v8,["form","multiple","required"]),cp=l0(H0,["selected","value"]),op=l0(H0,["cellPadding","cellSpacing"]),ep=H0,rp=l0(H0,["colSpan","rowSpan","scope"]),tp=l0(H0,["colSpan","headers","rowSpan","scope"]),hp=l0(H0,["span"]),Zp=l0(H0,["span"]),ip=l0(H0,["disabled","form"]),vp=l0(H0,["acceptCharset","action","encType","encType","method","noValidate","target"]),np=l0(H0,["allow","allowFullScreen","allowPaymentRequest","allowTransparency","csp","height","importance","referrerPolicy","sandbox","src","srcDoc","width"]),dp=l0(H0,["alt","crossOrigin","height","src","srcSet","useMap","width"]),mp=l0(H0,["open","onCancel","onClose"]);function pp(a,l,c){let o=Array.isArray(l),e={},r=Object.keys(a);for(let t of r)if((!o&&l[t]||o&&l.indexOf(t)>=0||t.indexOf("data-")===0||t.indexOf("aria-")===0)&&(!c||(c===null||c===void 0?void 0:c.indexOf(t))===-1))e[t]=a[t];return e}var yF={label:Jm,audio:kh,video:Km,ol:$m,li:Ym,a:Xm,button:v8,input:jm,textarea:ap,select:lp,option:cp,table:op,tr:ep,th:rp,td:tp,colGroup:hp,col:Zp,fieldset:ip,form:vp,iframe:np,img:dp,time:Nm,dialog:mp};function n8(a,l,c){let o=a&&yF[a]||H0;return o.as=1,pp(l,o,c)}var t7=({primarySlotTagName:a,props:l,excludedPropNames:c})=>{return{root:{style:l.style,className:l.className},primary:n8(a,l,[...c||[],"style","className"])}};var a1=(a,l,c)=>{var o;return n8((o=l.as)!==null&&o!==void 0?o:a,l,c)};F();function Eo(a,l){let c=G(void 0),o=q((r,t)=>{if(c.current!==void 0)l(c.current);return c.current=a(r,t),c.current},[l,a]),e=q(()=>{if(c.current!==void 0)l(c.current),c.current=void 0},[l]);return j(()=>e,[e]),[o,e]}F();var L6=v1(void 0),d8=L6.Provider;F();var sp=v1(void 0),UF="",m8=sp.Provider;function p8(){var a;return(a=t1(sp))!==null&&a!==void 0?a:UF}F();var GF=v1(void 0);var s8=GF.Provider;F();var _p=v1(void 0),BF={targetDocument:typeof document==="object"?document:void 0,dir:"ltr"},M8=_p.Provider;function M1(){var a;return(a=t1(_p))!==null&&a!==void 0?a:BF}F();var yh=v1(void 0),Wo=yh.Provider;function R6(){var a;return(a=t1(yh))!==null&&a!==void 0?a:{}}F();var i4=v1(void 0),TF=()=>{},_8=i4.Provider,z=(a)=>{var l,c;return(c=(l=t1(i4))===null||l===void 0?void 0:l[a])!==null&&c!==void 0?c:TF};F();var Uh=v1(void 0),Io=Uh.Provider;function S6(){return t1(Uh)}F();var up=v1(void 0),bF=up.Provider;function Gh(){return t1(up)}F();var Ap=v1(void 0),Bh=Ap.Provider;function u8(){var a;return(a=t1(Ap))!==null&&a!==void 0?a:{announce:()=>{return}}}var OF=(a)=>{return a(0),0},EF=(a)=>a;function qo(){let{targetDocument:a}=M1(),l=a===null||a===void 0?void 0:a.defaultView,c=l?l.requestAnimationFrame:OF,o=l?l.cancelAnimationFrame:EF;return Eo(c,o)}F();function WF(a){return typeof a==="function"}var Y0=(a)=>{if(a.state!==void 0&&a.defaultState!==void 0)console.error(`@fluentui/react-utilities [useControllableState]:
|
|
19
19
|
A component must be either controlled or uncontrolled (specify either the state or the defaultState, but not both).
|
|
20
20
|
Decide between using a controlled or uncontrolled component and remove one of this props.
|
|
21
21
|
More info: https://reactjs.org/link/controlled-components
|
|
22
|
-
${new Error().stack}`);let[l,c]=
|
|
22
|
+
${new Error().stack}`);let[l,c]=h1(()=>{if(a.defaultState===void 0)return a.initialState;return IF(a.defaultState)?a.defaultState():a.defaultState}),o=G(a.state);j(()=>{o.current=a.state},[a.state]);let e=q((r)=>{if(WF(r))r(o.current)},[]);return qF(a.state)?[a.state,e]:[l,c]};function IF(a){return typeof a==="function"}var qF=(a)=>{let[l]=h1(()=>a!==void 0);return j(()=>{if(l!==(a!==void 0)){let c=new Error;console.error(`@fluentui/react-utilities [useControllableState]:
|
|
23
23
|
A component is changing ${l?"a controlled value to be uncontrolled":"an uncontrolled value to be controlled"}. This is likely caused by the value changing from ${l?"defined to an undefined":"undefined to a defined"} value, which should not happen.
|
|
24
24
|
Decide between using a controlled or uncontrolled input element for the lifetime of the component.
|
|
25
25
|
More info: https://reactjs.org/link/controlled-components
|
|
26
|
-
${c.stack}`)}},[l,a]),l};
|
|
26
|
+
${c.stack}`)}},[l,a]),l};F();F();function p3(){return typeof window!=="undefined"&&!!(window.document&&window.document.createElement)}F();var Th={current:0},Hp=/*@__PURE__*/v1(void 0);function bh(){var a;return(a=t1(Hp))!==null&&a!==void 0?a:Th}var q1=p3()?o7:j;var $=(a)=>{let l=G(()=>{throw new Error("Cannot call an event handler while rendering")});return q1(()=>{l.current=a},[a]),q((...c)=>{let o=l.current;return o(...c)},[l])};F();function D6(){let a=G(!0);return j(()=>{if(a.current)a.current=!1},[]),a.current}F();function w6(){return M2((a)=>a+1,0)[1]}F();var Vp=v1(void 0),gp=Vp.Provider;function QF(){return t1(Vp)||""}function N1(a="fui-",l){let c=bh(),o=QF(),e=H6;if(e){let r=e(),t=p1(()=>r.replace(/:/g,""),[r]);return l||`${o}${a}${t}`}return p1(()=>{if(l)return l;return`${o}${a}${++c.current}`},[o,a,l,c])}F();function R1(...a){let l=q((c)=>{l.current=c;for(let o of a){if(typeof o==="string")console.error(`@fluentui/react-utilities [useMergedRefs]:
|
|
27
27
|
This hook does not support the usage of string refs. Please use React.useRef instead.
|
|
28
28
|
|
|
29
29
|
For more info on 'React.useRef', see https://react.dev/reference/react/useRef.
|
|
30
|
-
For more info on string refs, see https://react.dev/blog/2024/04/25/react-19-upgrade-guide#removed-string-refs.`);if(typeof o==="function")o(c);else if(o)o.current=c}},[...a]);return l}
|
|
30
|
+
For more info on string refs, see https://react.dev/blog/2024/04/25/react-19-upgrade-guide#removed-string-refs.`);if(typeof o==="function")o(c);else if(o)o.current=c}},[...a]);return l}F();var fp=(a,l)=>!!(a===null||a===void 0?void 0:a.contains(l)),k6=(a)=>{let{targetDocument:l}=M1(),c=l===null||l===void 0?void 0:l.defaultView,{refs:o,callback:e,element:r,disabled:t,disabledFocusOnIframe:h,contains:Z=fp}=a,i=G(void 0);KF({element:r,disabled:h||t,callback:e,refs:o,contains:Z});let n=G(!1),v=$((m)=>{if(n.current){n.current=!1;return}let s=m.composedPath()[0];if(o.every((M)=>!Z(M.current||null,s))&&!t)e(m)}),d=$((m)=>{n.current=o.some((s)=>Z(s.current||null,m.target))});j(()=>{if(t)return;let m=JF(c),s=(p)=>{if(p===m){m=void 0;return}v(p)};return r===null||r===void 0||r.addEventListener("click",s,!0),r===null||r===void 0||r.addEventListener("touchstart",s,!0),r===null||r===void 0||r.addEventListener("contextmenu",s,!0),r===null||r===void 0||r.addEventListener("mousedown",d,!0),i.current=c===null||c===void 0?void 0:c.setTimeout(()=>{m=void 0},1),()=>{r===null||r===void 0||r.removeEventListener("click",s,!0),r===null||r===void 0||r.removeEventListener("touchstart",s,!0),r===null||r===void 0||r.removeEventListener("contextmenu",s,!0),r===null||r===void 0||r.removeEventListener("mousedown",d,!0),c===null||c===void 0||c.clearTimeout(i.current),m=void 0}},[v,r,t,d,c])},JF=(a)=>{if(a){var l,c;if(typeof a.window==="object"&&a.window===a)return a.event;var o;return(o=(c=a.ownerDocument)===null||c===void 0?void 0:(l=c.defaultView)===null||l===void 0?void 0:l.event)!==null&&o!==void 0?o:void 0}return},Oh="fuiframefocus",KF=(a)=>{let{disabled:l,element:c,callback:o,contains:e=fp,pollDuration:r=100,refs:t}=a,h=G(),Z=$((i)=>{if(t.every((v)=>!e(v.current||null,i.target))&&!l)o(i)});j(()=>{if(l)return;return c===null||c===void 0||c.addEventListener(Oh,Z,!0),()=>{c===null||c===void 0||c.removeEventListener(Oh,Z,!0)}},[c,l,Z]),j(()=>{var i;if(l)return;return h.current=c===null||c===void 0?void 0:(i=c.defaultView)===null||i===void 0?void 0:i.setInterval(()=>{let n=c===null||c===void 0?void 0:c.activeElement;if((n===null||n===void 0?void 0:n.tagName)==="IFRAME"||(n===null||n===void 0?void 0:n.tagName)==="WEBVIEW"){let v=new CustomEvent(Oh,{bubbles:!0});n.dispatchEvent(v)}},r),()=>{var n;c===null||c===void 0||(n=c.defaultView)===null||n===void 0||n.clearTimeout(h.current)}},[c,l,r])};F();var Po=(a)=>{let{refs:l,callback:c,element:o,disabled:e,contains:r}=a,t=$((h)=>{let Z=r||((v,d)=>!!(v===null||v===void 0?void 0:v.contains(d))),i=h.composedPath()[0];if(l.every((v)=>!Z(v.current||null,i))&&!e)c(h)});j(()=>{if(e)return;return o===null||o===void 0||o.addEventListener("wheel",t),o===null||o===void 0||o.addEventListener("touchmove",t),()=>{o===null||o===void 0||o.removeEventListener("wheel",t),o===null||o===void 0||o.removeEventListener("touchmove",t)}},[t,o,e])};F();var zo=(a)=>{let l=G(null);return j(()=>{l.current=a},[a]),l.current};var $F=(a)=>-1,YF=(a)=>{return};function a2(){let{targetDocument:a}=M1(),l=a===null||a===void 0?void 0:a.defaultView,c=l?l.setTimeout:$F,o=l?l.clearTimeout:YF;return Eo(c,o)}F();var NF=parseInt(Lh,10)>=19;function s3(a){if(!a)return;if(NF)return a.props.ref;return a.ref}function K1(a,l){return(...c)=>{a===null||a===void 0||a(...c),l===null||l===void 0||l(...c)}}function T1(a,l){var c;let o=a;var e;return Boolean((o===null||o===void 0?void 0:(c=o.ownerDocument)===null||c===void 0?void 0:c.defaultView)&&o instanceof o.ownerDocument.defaultView[(e=l===null||l===void 0?void 0:l.constructorName)!==null&&e!==void 0?e:"HTMLElement"])}function y6(a){let l=[],c=0,o=(d,m)=>{let s=l[d];l[d]=l[m],l[m]=s},e=(d)=>{let m=d,s=jF(d),p=ax(d);if(s<c&&a(l[s],l[m])<0)m=s;if(p<c&&a(l[p],l[m])<0)m=p;if(m!==d)o(m,d),e(m)};return{all:()=>{return l.slice(0,c)},clear:()=>{c=0},contains:(d)=>{let m=l.indexOf(d);return m>=0&&m<c},dequeue:()=>{if(c===0)throw new Error("Priority queue empty");let d=l[0];return l[0]=l[--c],e(0),d},enqueue:(d)=>{l[c++]=d;let m=c-1,s=Fp(m);while(m>0&&a(l[s],l[m])>0)o(s,m),m=s,s=Fp(m)},peek:()=>{if(c===0)return null;return l[0]},remove:(d)=>{let m=l.indexOf(d);if(m===-1||m>=c)return;l[m]=l[--c],e(m)},size:()=>c}}var jF=(a)=>{return 2*a+1},ax=(a)=>{return 2*a+2},Fp=(a)=>{return Math.floor((a-1)/2)};F();F();function A8(a){return Boolean(a.type.isFluentTriggerComponent)}function U6(a,l){if(typeof a==="function")return a(l);else if(a)return xp(a,l);return a||null}function xp(a,l){if(!u5(a)||a.type===m1)throw new Error("A trigger element must be a single element for this component. Please ensure that you're not using React Fragments.");if(A8(a)){let c=xp(a.props.children,l);return h4(a,void 0,c)}else return h4(a,l)}F();function v4(a){if(!u5(a))return null;return A8(a)?v4(a.props.children):a}function Cp(a){return a&&!!a._virtual}function lx(a){return Cp(a)?a._virtual.parent||null:null}function G6(a,l={}){if(!a)return null;if(!l.skipVirtual){let o=lx(a);if(o)return o}let c=a.parentNode;if(c&&c.nodeType===Node.DOCUMENT_FRAGMENT_NODE)return c.host;return c}function H8(a,l){if(!a||!l)return!1;if(a===l)return!0;else{let c=/*@__PURE__*/new WeakSet;while(l){let o=G6(l,{skipVirtual:c.has(l)});if(c.add(l),o===a)return!0;l=o}}return!1}function V8(a,l){if(!a)return;Object.assign(a,{_virtual:{parent:l}})}F();F();function Lp(a,l){return{...l,[i5]:a}}F();var Sp=h6(Rp(),1);function Dp(a){if(typeof a==="object"&&!Sp.isValidElementType(a))console.error(`@fluentui/react-jsx-runtime:
|
|
31
31
|
Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: ${a}.
|
|
32
32
|
|
|
33
33
|
If this happened in a slot of Fluent UI component, you might be facing package resolution issues.
|
|
34
34
|
Please make sure you don't have multiple versions of "@fluentui/react-utilities" installed in your dependencies or sub-dependencies.
|
|
35
|
-
You can check this by searching up for matching entries in a lockfile produced by your package manager (yarn.lock, pnpm-lock.yaml or package-lock.json).`)}function Zh(a,l){return function c(o,e,r,t,h){if($3(e))return l(Up(o,e),null,r,t,h);if($3(o))return l(o,e,r,t,h);return bp(o),a(o,e,r,t,h)}}f();function Vo(a){let{as:l,[n6]:c,[Z5]:o,[L7]:e,...r}=a,t=r,h=typeof o==="string"?l!==null&&l!==void 0?l:o:o;if(typeof h!=="string"&&l)t.as=l;return{elementType:h,props:t,renderFunction:e}}var nh={};Sc(nh,{jsxs:()=>_,jsxTemplate:()=>aF,jsxEscape:()=>Tp,jsxDEV:()=>_,jsxAttr:()=>cF,jsx:()=>_,Fragment:()=>p1});j7();j7();var Yg=/["&<]/;function ih(a){if(a.length===0||Yg.test(a)===!1)return a;for(var l=0,c=0,o="",e="";c<a.length;c++){switch(a.charCodeAt(c)){case 34:e=""";break;case 38:e="&";break;case 60:e="<";break;default:continue}c!==l&&(o+=a.slice(l,c)),o+=e,l=c+1}return c!==l&&(o+=a.slice(l,c)),o}var Xg=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,jg=0,Ng=Array.isArray;function _(a,l,c,o,e,r){l||(l={});var t,h,Z=l;if("ref"in Z)for(h in Z={},l)h=="ref"?t=l[h]:Z[h]=l[h];var i={type:a,props:Z,key:c,ref:t,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:--jg,__i:-1,__u:0,__source:e,__self:r};if(typeof a=="function"&&(t=a.defaultProps))for(h in t)Z[h]===void 0&&(Z[h]=t[h]);return _1.vnode&&_1.vnode(i),i}function aF(a){var l=_(p1,{tpl:a,exprs:[].slice.call(arguments,1)});return l.key=l.__v,l}var Op={},lF=/[A-Z]/g;function cF(a,l){if(_1.attr){var c=_1.attr(a,l);if(typeof c=="string")return c}if(l=function(Z){return Z!==null&&typeof Z=="object"&&typeof Z.valueOf=="function"?Z.valueOf():Z}(l),a==="ref"||a==="key")return"";if(a==="style"&&typeof l=="object"){var o="";for(var e in l){var r=l[e];if(r!=null&&r!==""){var t=e[0]=="-"?e:Op[e]||(Op[e]=e.replace(lF,"-$&").toLowerCase()),h=";";typeof r!="number"||t.startsWith("--")||Xg.test(t)||(h="px;"),o=o+t+":"+r+h}}return a+'="'+ih(o)+'"'}return l==null||l===!1||typeof l=="function"||typeof l=="object"?"":l===!0?a:a+'="'+ih(""+l)+'"'}function Tp(a){if(a==null||typeof a=="boolean"||typeof a=="function")return null;if(typeof a=="object"){if(a.constructor===void 0)return a;if(Ng(a)){for(var l=0;l<a.length;l++)a[l]=Tp(a[l]);return a}}return ih(""+a)}var j2=nh;var Ep=(a,l,c)=>{let{elementType:o,renderFunction:e,props:r}=Vo(a),t={...r,...l};if(e)return j2.jsx(p1,{children:e(o,t)},c);return j2.jsx(o,t,c)};f();var Wp=(a,l,c)=>{let{elementType:o,renderFunction:e,props:r}=Vo(a),t={...r,...l};if(e)return j2.jsx(p1,{children:e(o,{...t,children:j2.jsxs(p1,{children:t.children},void 0)})},c);return j2.jsxs(o,t,c)};f();var L=Zh(j2.jsx,Ep),F1=Zh(j2.jsxs,Wp);f();var Ip=e1(void 0),oF={},vh=Ip.Provider,dh=()=>{let a=l1(Ip);return a!==null&&a!==void 0?a:oF};var ta=(a,l)=>{return W(a),/*@__PURE__*/L(aa,{value:l.provider,children:/*@__PURE__*/L(Y8,{value:l.theme,children:/*@__PURE__*/L(X8,{value:l.themeClassName,children:/*@__PURE__*/L(la,{value:l.customStyleHooks_unstable,children:/*@__PURE__*/L(N8,{value:l.tooltip,children:/*@__PURE__*/L(jt,{dir:l.textDirection,children:/*@__PURE__*/L(vh,{value:l.iconDirection,children:/*@__PURE__*/L(mo,{value:l.overrides_unstable,children:/*@__PURE__*/F1(a.root,{children:[t3()?null:/*@__PURE__*/L("style",{dangerouslySetInnerHTML:{__html:a.serverStyleProps.cssRule},...a.serverStyleProps.attributes}),a.root.children]})})})})})})})})})};var eF=typeof WeakRef!=="undefined",Pp=class{constructor(a){if(eF&&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}},V5="keyborg:focusin",u6="keyborg:focusout";function rF(a){let l=a.HTMLElement,c=l.prototype.focus,o=!1;return l.prototype.focus=function r(){o=!0},a.document.createElement("button").focus(),l.prototype.focus=c,o}var ph=!1;function s2(a){let l=a.focus;if(l.__keyborgNativeFocus)l.__keyborgNativeFocus.call(a);else a.focus()}function tF(a){let l=a;if(!ph)ph=rF(l);let c=l.HTMLElement.prototype.focus;if(c.__keyborgNativeFocus)return;l.HTMLElement.prototype.focus=Z;let o=/*@__PURE__*/new Set,e=(v)=>{let n=v.target;if(!n)return;let d=new CustomEvent(u6,{cancelable:!0,bubbles:!0,composed:!0,detail:{originalEvent:v}});n.dispatchEvent(d)},r=(v)=>{let n=v.target;if(!n)return;let d=v.composedPath()[0],p=/*@__PURE__*/new Set;while(d)if(d.nodeType===Node.DOCUMENT_FRAGMENT_NODE)p.add(d),d=d.host;else d=d.parentNode;for(let m of o){let s=m.deref();if(!s||!p.has(s)){if(o.delete(m),s)s.removeEventListener("focusin",r,!0),s.removeEventListener("focusout",e,!0)}}t(n,v.relatedTarget||void 0)},t=(v,n,d)=>{var p;let m=v.shadowRoot;if(m){for(let u of o)if(u.deref()===m)return;m.addEventListener("focusin",r,!0),m.addEventListener("focusout",e,!0),o.add(new Pp(m));return}let s={relatedTarget:n,originalEvent:d},M=new CustomEvent(V5,{cancelable:!0,bubbles:!0,composed:!0,detail:s});if(M.details=s,ph||h.lastFocusedProgrammatically)s.isFocusedProgrammatically=v===((p=h.lastFocusedProgrammatically)==null?void 0:p.deref()),h.lastFocusedProgrammatically=void 0;v.dispatchEvent(M)},h=l.__keyborgData={focusInHandler:r,focusOutHandler:e,shadowTargets:o};l.document.addEventListener("focusin",l.__keyborgData.focusInHandler,!0),l.document.addEventListener("focusout",l.__keyborgData.focusOutHandler,!0);function Z(){let v=l.__keyborgData;if(v)v.lastFocusedProgrammatically=new Pp(this);return c.apply(this,arguments)}let i=l.document.activeElement;while(i&&i.shadowRoot)t(i),i=i.shadowRoot.activeElement;Z.__keyborgNativeFocus=c}function hF(a){let l=a,c=l.HTMLElement.prototype,o=c.focus.__keyborgNativeFocus,e=l.__keyborgData;if(e){l.document.removeEventListener("focusin",e.focusInHandler,!0),l.document.removeEventListener("focusout",e.focusOutHandler,!0);for(let r of e.shadowTargets){let t=r.deref();if(t)t.removeEventListener("focusin",e.focusInHandler,!0),t.removeEventListener("focusout",e.focusOutHandler,!0)}e.shadowTargets.clear(),delete l.__keyborgData}if(o)c.focus=o}var ZF=500,qp=0,iF=class{constructor(a,l){this._isNavigatingWithKeyboard_DO_NOT_USE=!1,this._onFocusIn=(o)=>{if(this._isMouseOrTouchUsedTimer)return;if(this.isNavigatingWithKeyboard)return;let e=o.detail;if(!e.relatedTarget)return;if(e.isFocusedProgrammatically||e.isFocusedProgrammatically===void 0)return;this.isNavigatingWithKeyboard=!0},this._onMouseDown=(o)=>{if(o.buttons===0||o.clientX===0&&o.clientY===0&&o.screenX===0&&o.screenY===0)return;this._onMouseOrTouch()},this._onMouseOrTouch=()=>{let o=this._win;if(o){if(this._isMouseOrTouchUsedTimer)o.clearTimeout(this._isMouseOrTouchUsedTimer);this._isMouseOrTouchUsedTimer=o.setTimeout(()=>{delete this._isMouseOrTouchUsedTimer},1000)}this.isNavigatingWithKeyboard=!1},this._onKeyDown=(o)=>{if(this.isNavigatingWithKeyboard){if(this._shouldDismissKeyboardNavigation(o))this._scheduleDismiss()}else if(this._shouldTriggerKeyboardNavigation(o))this.isNavigatingWithKeyboard=!0},this.id="c"+ ++qp,this._win=a;let c=a.document;if(l){let{triggerKeys:o,dismissKeys:e}=l;if(o==null?void 0:o.length)this._triggerKeys=new Set(o);if(e==null?void 0:e.length)this._dismissKeys=new Set(e)}c.addEventListener(V5,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),tF(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;hF(a);let l=a.document;l.removeEventListener(V5,this._onFocusIn,!0),l.removeEventListener("mousedown",this._onMouseDown,!0),a.removeEventListener("keydown",this._onKeyDown,!0),l.removeEventListener("touchstart",this._onMouseOrTouch,!0),l.removeEventListener("touchend",this._onMouseOrTouch,!0),l.removeEventListener("touchcancel",this._onMouseOrTouch,!0),delete this._win}}isDisposed(){return!!this._win}update(){var a,l;let c=(l=(a=this._win)==null?void 0:a.__keyborg)==null?void 0:l.refs;if(c)for(let o of Object.keys(c))mh.update(c[o],this.isNavigatingWithKeyboard)}_shouldTriggerKeyboardNavigation(a){var l;if(a.key==="Tab")return!0;let c=(l=this._win)==null?void 0:l.document.activeElement,o=!this._triggerKeys||this._triggerKeys.has(a.keyCode),e=c&&(c.tagName==="INPUT"||c.tagName==="TEXTAREA"||c.isContentEditable);return o&&!e}_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},ZF)}}},mh=class a{constructor(l,c){this._cb=[],this._id="k"+ ++qp,this._win=l;let o=l.__keyborg;if(o)this._core=o.core,o.refs[this._id]=this;else this._core=new iF(l,c),l.__keyborg={core:this._core,refs:{[this._id]:this}}}static create(l,c){return new a(l,c)}static dispose(l){l.dispose()}static update(l,c){l._cb.forEach((o)=>o(c))}dispose(){var l;let c=(l=this._win)==null?void 0:l.__keyborg;if(c==null?void 0:c.refs[this._id]){if(delete c.refs[this._id],Object.keys(c.refs).length===0)c.core.dispose(),delete this._win.__keyborg}else console.error(`Keyborg instance ${this._id} is being disposed incorrectly.`);this._cb=[],delete this._core,delete this._win}isNavigatingWithKeyboard(){var l;return!!((l=this._core)==null?void 0:l.isNavigatingWithKeyboard)}subscribe(l){this._cb.push(l)}unsubscribe(l){let c=this._cb.indexOf(l);if(c>=0)this._cb.splice(c,1)}setVal(l){if(this._core)this._core.isNavigatingWithKeyboard=l}};function A6(a,l){return mh.create(a,l)}function H6(a){mh.dispose(a)}/*!
|
|
35
|
+
You can check this by searching up for matching entries in a lockfile produced by your package manager (yarn.lock, pnpm-lock.yaml or package-lock.json).`)}function Eh(a,l){return function c(o,e,r,t,h){if(Z4(e))return l(Lp(o,e),null,r,t,h);if(Z4(o))return l(o,e,r,t,h);return Dp(o),a(o,e,r,t,h)}}F();function Qo(a){let{as:l,[x6]:c,[i5]:o,[b7]:e,...r}=a,t=r,h=typeof o==="string"?l!==null&&l!==void 0?l:o:o;if(typeof h!=="string"&&l)t.as=l;return{elementType:h,props:t,renderFunction:e}}var Ih={};Rt(Ih,{jsxs:()=>_,jsxTemplate:()=>hx,jsxEscape:()=>kp,jsxDEV:()=>_,jsxAttr:()=>ix,jsx:()=>_,Fragment:()=>m1});i3();i3();var ox=/["&<]/;function Wh(a){if(a.length===0||ox.test(a)===!1)return a;for(var l=0,c=0,o="",e="";c<a.length;c++){switch(a.charCodeAt(c)){case 34:e=""";break;case 38:e="&";break;case 60:e="<";break;default:continue}c!==l&&(o+=a.slice(l,c)),o+=e,l=c+1}return c!==l&&(o+=a.slice(l,c)),o}var ex=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,rx=0,tx=Array.isArray;function _(a,l,c,o,e,r){l||(l={});var t,h,Z=l;if("ref"in Z)for(h in Z={},l)h=="ref"?t=l[h]:Z[h]=l[h];var i={type:a,props:Z,key:c,ref:t,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:--rx,__i:-1,__u:0,__source:e,__self:r};if(typeof a=="function"&&(t=a.defaultProps))for(h in t)Z[h]===void 0&&(Z[h]=t[h]);return V1.vnode&&V1.vnode(i),i}function hx(a){var l=_(m1,{tpl:a,exprs:[].slice.call(arguments,1)});return l.key=l.__v,l}var wp={},Zx=/[A-Z]/g;function ix(a,l){if(V1.attr){var c=V1.attr(a,l);if(typeof c=="string")return c}if(l=function(Z){return Z!==null&&typeof Z=="object"&&typeof Z.valueOf=="function"?Z.valueOf():Z}(l),a==="ref"||a==="key")return"";if(a==="style"&&typeof l=="object"){var o="";for(var e in l){var r=l[e];if(r!=null&&r!==""){var t=e[0]=="-"?e:wp[e]||(wp[e]=e.replace(Zx,"-$&").toLowerCase()),h=";";typeof r!="number"||t.startsWith("--")||ex.test(t)||(h="px;"),o=o+t+":"+r+h}}return a+'="'+Wh(o)+'"'}return l==null||l===!1||typeof l=="function"||typeof l=="object"?"":l===!0?a:a+'="'+Wh(""+l)+'"'}function kp(a){if(a==null||typeof a=="boolean"||typeof a=="function")return null;if(typeof a=="object"){if(a.constructor===void 0)return a;if(tx(a)){for(var l=0;l<a.length;l++)a[l]=kp(a[l]);return a}}return Wh(""+a)}var h7=Ih;var yp=(a,l,c)=>{let{elementType:o,renderFunction:e,props:r}=Qo(a),t={...r,...l};if(e)return h7.jsx(m1,{children:e(o,t)},c);return h7.jsx(o,t,c)};F();var Up=(a,l,c)=>{let{elementType:o,renderFunction:e,props:r}=Qo(a),t={...r,...l};if(e)return h7.jsx(m1,{children:e(o,{...t,children:h7.jsxs(m1,{children:t.children},void 0)})},c);return h7.jsxs(o,t,c)};F();var L=Eh(h7.jsx,yp),A1=Eh(h7.jsxs,Up);F();var Gp=v1(void 0),vx={},qh=Gp.Provider,Ph=()=>{let a=t1(Gp);return a!==null&&a!==void 0?a:vx};var g8=(a,l)=>{return P(a),/*@__PURE__*/L(M8,{value:l.provider,children:/*@__PURE__*/L(d8,{value:l.theme,children:/*@__PURE__*/L(m8,{value:l.themeClassName,children:/*@__PURE__*/L(_8,{value:l.customStyleHooks_unstable,children:/*@__PURE__*/L(s8,{value:l.tooltip,children:/*@__PURE__*/L(Dh,{dir:l.textDirection,children:/*@__PURE__*/L(qh,{value:l.iconDirection,children:/*@__PURE__*/L(Wo,{value:l.overrides_unstable,children:/*@__PURE__*/A1(a.root,{children:[p3()?null:/*@__PURE__*/L("style",{dangerouslySetInnerHTML:{__html:a.serverStyleProps.cssRule},...a.serverStyleProps.attributes}),a.root.children]})})})})})})})})})};var nx=typeof WeakRef!=="undefined",Bp=class{constructor(a){if(nx&&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}},F5="keyborg:focusin",B6="keyborg:focusout";function dx(a){let l=a.HTMLElement,c=l.prototype.focus,o=!1;return l.prototype.focus=function r(){o=!0},a.document.createElement("button").focus(),l.prototype.focus=c,o}var zh=!1;function A2(a){let l=a.focus;if(l.__keyborgNativeFocus)l.__keyborgNativeFocus.call(a);else a.focus()}function mx(a){let l=a;if(!zh)zh=dx(l);let c=l.HTMLElement.prototype.focus;if(c.__keyborgNativeFocus)return;l.HTMLElement.prototype.focus=Z;let o=/*@__PURE__*/new Set,e=(n)=>{let v=n.target;if(!v)return;let d=new CustomEvent(B6,{cancelable:!0,bubbles:!0,composed:!0,detail:{originalEvent:n}});v.dispatchEvent(d)},r=(n)=>{let v=n.target;if(!v)return;let d=n.composedPath()[0],m=/*@__PURE__*/new Set;while(d)if(d.nodeType===Node.DOCUMENT_FRAGMENT_NODE)m.add(d),d=d.host;else d=d.parentNode;for(let s of o){let p=s.deref();if(!p||!m.has(p)){if(o.delete(s),p)p.removeEventListener("focusin",r,!0),p.removeEventListener("focusout",e,!0)}}t(v,n.relatedTarget||void 0)},t=(n,v,d)=>{var m;let s=n.shadowRoot;if(s){for(let u of o)if(u.deref()===s)return;s.addEventListener("focusin",r,!0),s.addEventListener("focusout",e,!0),o.add(new Bp(s));return}let p={relatedTarget:v,originalEvent:d},M=new CustomEvent(F5,{cancelable:!0,bubbles:!0,composed:!0,detail:p});if(M.details=p,zh||h.lastFocusedProgrammatically)p.isFocusedProgrammatically=n===((m=h.lastFocusedProgrammatically)==null?void 0:m.deref()),h.lastFocusedProgrammatically=void 0;n.dispatchEvent(M)},h=l.__keyborgData={focusInHandler:r,focusOutHandler:e,shadowTargets:o};l.document.addEventListener("focusin",l.__keyborgData.focusInHandler,!0),l.document.addEventListener("focusout",l.__keyborgData.focusOutHandler,!0);function Z(){let n=l.__keyborgData;if(n)n.lastFocusedProgrammatically=new Bp(this);return c.apply(this,arguments)}let i=l.document.activeElement;while(i&&i.shadowRoot)t(i),i=i.shadowRoot.activeElement;Z.__keyborgNativeFocus=c}function px(a){let l=a,c=l.HTMLElement.prototype,o=c.focus.__keyborgNativeFocus,e=l.__keyborgData;if(e){l.document.removeEventListener("focusin",e.focusInHandler,!0),l.document.removeEventListener("focusout",e.focusOutHandler,!0);for(let r of e.shadowTargets){let t=r.deref();if(t)t.removeEventListener("focusin",e.focusInHandler,!0),t.removeEventListener("focusout",e.focusOutHandler,!0)}e.shadowTargets.clear(),delete l.__keyborgData}if(o)c.focus=o}var sx=500,Tp=0,Mx=class{constructor(a,l){this._isNavigatingWithKeyboard_DO_NOT_USE=!1,this._onFocusIn=(o)=>{if(this._isMouseOrTouchUsedTimer)return;if(this.isNavigatingWithKeyboard)return;let e=o.detail;if(!e.relatedTarget)return;if(e.isFocusedProgrammatically||e.isFocusedProgrammatically===void 0)return;this.isNavigatingWithKeyboard=!0},this._onMouseDown=(o)=>{if(o.buttons===0||o.clientX===0&&o.clientY===0&&o.screenX===0&&o.screenY===0)return;this._onMouseOrTouch()},this._onMouseOrTouch=()=>{let o=this._win;if(o){if(this._isMouseOrTouchUsedTimer)o.clearTimeout(this._isMouseOrTouchUsedTimer);this._isMouseOrTouchUsedTimer=o.setTimeout(()=>{delete this._isMouseOrTouchUsedTimer},1000)}this.isNavigatingWithKeyboard=!1},this._onKeyDown=(o)=>{if(this.isNavigatingWithKeyboard){if(this._shouldDismissKeyboardNavigation(o))this._scheduleDismiss()}else if(this._shouldTriggerKeyboardNavigation(o))this.isNavigatingWithKeyboard=!0},this.id="c"+ ++Tp,this._win=a;let c=a.document;if(l){let{triggerKeys:o,dismissKeys:e}=l;if(o==null?void 0:o.length)this._triggerKeys=new Set(o);if(e==null?void 0:e.length)this._dismissKeys=new Set(e)}c.addEventListener(F5,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),mx(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;px(a);let l=a.document;l.removeEventListener(F5,this._onFocusIn,!0),l.removeEventListener("mousedown",this._onMouseDown,!0),a.removeEventListener("keydown",this._onKeyDown,!0),l.removeEventListener("touchstart",this._onMouseOrTouch,!0),l.removeEventListener("touchend",this._onMouseOrTouch,!0),l.removeEventListener("touchcancel",this._onMouseOrTouch,!0),delete this._win}}isDisposed(){return!!this._win}update(){var a,l;let c=(l=(a=this._win)==null?void 0:a.__keyborg)==null?void 0:l.refs;if(c)for(let o of Object.keys(c))Qh.update(c[o],this.isNavigatingWithKeyboard)}_shouldTriggerKeyboardNavigation(a){var l;if(a.key==="Tab")return!0;let c=(l=this._win)==null?void 0:l.document.activeElement,o=!this._triggerKeys||this._triggerKeys.has(a.keyCode),e=c&&(c.tagName==="INPUT"||c.tagName==="TEXTAREA"||c.isContentEditable);return o&&!e}_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},sx)}}},Qh=class a{constructor(l,c){this._cb=[],this._id="k"+ ++Tp,this._win=l;let o=l.__keyborg;if(o)this._core=o.core,o.refs[this._id]=this;else this._core=new Mx(l,c),l.__keyborg={core:this._core,refs:{[this._id]:this}}}static create(l,c){return new a(l,c)}static dispose(l){l.dispose()}static update(l,c){l._cb.forEach((o)=>o(c))}dispose(){var l;let c=(l=this._win)==null?void 0:l.__keyborg;if(c==null?void 0:c.refs[this._id]){if(delete c.refs[this._id],Object.keys(c.refs).length===0)c.core.dispose(),delete this._win.__keyborg}else console.error(`Keyborg instance ${this._id} is being disposed incorrectly.`);this._cb=[],delete this._core,delete this._win}isNavigatingWithKeyboard(){var l;return!!((l=this._core)==null?void 0:l.isNavigatingWithKeyboard)}subscribe(l){this._cb.push(l)}unsubscribe(l){let c=this._cb.indexOf(l);if(c>=0)this._cb.splice(c,1)}setVal(l){if(this._core)this._core.isNavigatingWithKeyboard=l}};function M3(a,l){return Qh.create(a,l)}function _3(a){Qh.dispose(a)}/*!
|
|
36
36
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
37
37
|
* Licensed under the MIT License.
|
|
38
38
|
*//*!
|
|
39
39
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
40
40
|
* Licensed under the MIT License.
|
|
41
|
-
*/var
|
|
41
|
+
*/var Z7="data-tabster",Yp="data-tabster-dummy",Xp=/*@__PURE__*/["a[href]","button:not([disabled])","input:not([disabled])","select:not([disabled])","textarea:not([disabled])","*[tabindex]","*[contenteditable]","details > summary","audio[controls]","video[controls]"].join(", "),O7={EscapeGroupper:1,Restorer:2,Deloser:3};var u3={Invisible:0,PartiallyVisible:1,Visible:2},W7={Source:0,Target:1},l2={Both:0,Vertical:1,Horizontal:2,Grid:3,GridLinear:4},V0={ArrowUp:1,ArrowDown:2,ArrowLeft:3,ArrowRight:4,PageUp:5,PageDown:6,Home:7,End:8},F8={Unlimited:0,Limited:1,LimitedTrapFocus:2},bp={Enter:1,Escape:2},_x={Auto:0,Inside:1,Outside:2};/*!
|
|
42
42
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
43
43
|
* Licensed under the MIT License.
|
|
44
|
-
*/function
|
|
44
|
+
*/function X0(a,l){var c;return(c=a.storageEntry(l))===null||c===void 0?void 0:c.tabster}function Np(a,l,c){var o,e;let r=c||a._noop?void 0:l.getAttribute(Z7),t=a.storageEntry(l),h;if(r)if(r!==((o=t===null||t===void 0?void 0:t.attr)===null||o===void 0?void 0:o.string))try{let v=JSON.parse(r);if(typeof v!=="object")throw new Error(`Value is not a JSON object, got '${r}'.`);h={string:r,object:v}}catch(v){console.error(`data-tabster attribute error: ${v}`,l)}else return;else if(!t)return;if(!t)t=a.storageEntry(l,!0);if(!t.tabster)t.tabster={};let Z=t.tabster||{},i=((e=t.attr)===null||e===void 0?void 0:e.object)||{},n=(h===null||h===void 0?void 0:h.object)||{};for(let v of Object.keys(i))if(!n[v]){if(v==="root"){let d=Z[v];if(d)a.root.onRoot(d,!0)}switch(v){case"deloser":case"root":case"groupper":case"modalizer":case"restorer":case"mover":let d=Z[v];if(d)d.dispose(),delete Z[v];break;case"observed":if(delete Z[v],a.observedElement)a.observedElement.onObservedElementUpdate(l);break;case"focusable":case"outline":case"uncontrolled":case"sys":delete Z[v];break}}for(let v of Object.keys(n)){let d=n.sys;switch(v){case"deloser":if(Z.deloser)Z.deloser.setProps(n.deloser);else if(a.deloser)Z.deloser=a.deloser.createDeloser(l,n.deloser);else console.error("Deloser API used before initialization, please call `getDeloser()`");break;case"root":if(Z.root)Z.root.setProps(n.root);else Z.root=a.root.createRoot(l,n.root,d);a.root.onRoot(Z.root);break;case"modalizer":if(Z.modalizer)Z.modalizer.setProps(n.modalizer);else if(a.modalizer)Z.modalizer=a.modalizer.createModalizer(l,n.modalizer,d);else console.error("Modalizer API used before initialization, please call `getModalizer()`");break;case"restorer":if(Z.restorer)Z.restorer.setProps(n.restorer);else if(a.restorer){if(n.restorer)Z.restorer=a.restorer.createRestorer(l,n.restorer)}else console.error("Restorer API used before initialization, please call `getRestorer()`");break;case"focusable":Z.focusable=n.focusable;break;case"groupper":if(Z.groupper)Z.groupper.setProps(n.groupper);else if(a.groupper)Z.groupper=a.groupper.createGroupper(l,n.groupper,d);else console.error("Groupper API used before initialization, please call `getGroupper()`");break;case"mover":if(Z.mover)Z.mover.setProps(n.mover);else if(a.mover)Z.mover=a.mover.createMover(l,n.mover,d);else console.error("Mover API used before initialization, please call `getMover()`");break;case"observed":if(a.observedElement)Z.observed=n.observed,a.observedElement.onObservedElementUpdate(l);else console.error("ObservedElement API used before initialization, please call `getObservedElement()`");break;case"uncontrolled":Z.uncontrolled=n.uncontrolled;break;case"outline":if(a.outline)Z.outline=n.outline;else console.error("Outline API used before initialization, please call `getOutline()`");break;case"sys":Z.sys=n.sys;break;default:console.error(`Unknown key '${v}' in data-tabster attribute value.`)}}if(h)t.attr=h;else{if(Object.keys(Z).length===0)delete t.tabster,delete t.attr;a.storageEntry(l,!1)}}/*!
|
|
45
45
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
46
46
|
* Licensed under the MIT License.
|
|
47
|
-
*/var
|
|
47
|
+
*/var ux="tabster:focusin",Ax="tabster:focusout",Hx="tabster:movefocus";var Vx="tabster:modalizer:active",gx="tabster:modalizer:inactive";var fx="tabster:mover:state",Op="tabster:mover:movefocus",Ep="tabster:mover:memorized-element",Wp="tabster:groupper:movefocus",Nh="tabster:restorer:restore-focus",Fx="tabster:root:focus",xx="tabster:root:blur",Cx=typeof CustomEvent!=="undefined"?CustomEvent:function(){};class i7 extends Cx{constructor(a,l){super(a,{bubbles:!0,cancelable:!0,composed:!0,detail:l});this.details=l}}class jp extends i7{constructor(a){super(ux,a)}}class as extends i7{constructor(a){super(Ax,a)}}class E7 extends i7{constructor(a){super(Hx,a)}}class jh extends i7{constructor(a){super(fx,a)}}class ls extends i7{constructor(a){super(Vx,a)}}class cs extends i7{constructor(a){super(gx,a)}}class aZ extends i7{constructor(){super(Nh)}}class os extends i7{constructor(a){super(Fx,a)}}class es extends i7{constructor(a){super(xx,a)}}/*!
|
|
48
48
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
49
49
|
* Licensed under the MIT License.
|
|
50
|
-
*/var
|
|
50
|
+
*/var Lx=(a)=>new MutationObserver(a),Rx=(a,l,c,o)=>a.createTreeWalker(l,c,o),Sx=(a)=>a?a.parentNode:null,Dx=(a)=>a?a.parentElement:null,wx=(a,l)=>!!(l&&(a===null||a===void 0?void 0:a.contains(l))),kx=(a)=>a.activeElement,yx=(a,l)=>a.querySelector(l),Ux=(a,l)=>Array.prototype.slice.call(a.querySelectorAll(l),0),Gx=(a,l)=>a.getElementById(l),Bx=(a)=>(a===null||a===void 0?void 0:a.firstChild)||null,Tx=(a)=>(a===null||a===void 0?void 0:a.lastChild)||null,bx=(a)=>(a===null||a===void 0?void 0:a.nextSibling)||null,Ox=(a)=>(a===null||a===void 0?void 0:a.previousSibling)||null,Ex=(a)=>(a===null||a===void 0?void 0:a.firstElementChild)||null,Wx=(a)=>(a===null||a===void 0?void 0:a.lastElementChild)||null,Ix=(a)=>(a===null||a===void 0?void 0:a.nextElementSibling)||null,qx=(a)=>(a===null||a===void 0?void 0:a.previousElementSibling)||null,Px=(a,l)=>a.appendChild(l),zx=(a,l,c)=>a.insertBefore(l,c),Qx=(a)=>{var l;return((l=a.ownerDocument)===null||l===void 0?void 0:l.getSelection())||null},Jx=(a,l)=>a.ownerDocument.getElementsByName(l),O={createMutationObserver:Lx,createTreeWalker:Rx,getParentNode:Sx,getParentElement:Dx,nodeContains:wx,getActiveElement:kx,querySelector:yx,querySelectorAll:Ux,getElementById:Gx,getFirstChild:Bx,getLastChild:Tx,getNextSibling:bx,getPreviousSibling:Ox,getFirstElementChild:Ex,getLastElementChild:Wx,getNextElementSibling:Ix,getPreviousElementSibling:qx,appendChild:Px,insertBefore:zx,getSelection:Qx,getElementsByName:Jx};function Kx(a){for(let l of Object.keys(a))O[l]=a[l]}/*!
|
|
51
51
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
52
52
|
* Licensed under the MIT License.
|
|
53
|
-
*/var gh,Qp=typeof DOMRect!=="undefined"?DOMRect:class{constructor(a,l,c,o){this.left=a||0,this.top=l||0,this.right=(a||0)+(c||0),this.bottom=(l||0)+(o||0)}},IF=0;try{document.createTreeWalker(document,NodeFilter.SHOW_ELEMENT),gh=!1}catch(a){gh=!0}var sh=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 PF(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 qF(a){let l=a.__tabsterInstanceContext;return new((l===null||l===void 0?void 0:l.basics.WeakMap)||WeakMap)}function zF(a){return!!a.querySelector(em)}class Ch{constructor(a){this._target=a}deref(){return this._target}static cleanup(a,l){if(!a._target)return!0;if(l||!Rh(a._target.ownerDocument,a._target))return delete a._target,!0;return!1}}class f5{constructor(a,l,c){let o=S7(a),e;if(o.WeakRef)e=new o.WeakRef(l);else e=new Ch(l),o.fakeWeakRefs.push(e);this._ref=e,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 dm(a,l){let c=S7(a);c.fakeWeakRefs=c.fakeWeakRefs.filter((o)=>!Ch.cleanup(o,l))}function pm(a){let l=S7(a);if(!l.fakeWeakRefsStarted)l.fakeWeakRefsStarted=!0,l.WeakRef=XF(l);if(!l.fakeWeakRefsTimer)l.fakeWeakRefsTimer=a().setTimeout(()=>{l.fakeWeakRefsTimer=void 0,dm(a),pm(a)},120000)}function KF(a){let l=S7(a);if(l.fakeWeakRefsStarted=!1,l.fakeWeakRefsTimer)a().clearTimeout(l.fakeWeakRefsTimer),l.fakeWeakRefsTimer=void 0,l.fakeWeakRefs=[]}function Lh(a,l,c){if(l.nodeType!==Node.ELEMENT_NODE)return;let o=gh?c:{acceptNode:c};return G.createTreeWalker(a,l,NodeFilter.SHOW_ELEMENT,o,!1)}function mm(a,l){let c=l.__tabsterCacheId,o=S7(a),e=c?o.containerBoundingRectCache[c]:void 0;if(e)return e.rect;let r=l.ownerDocument&&l.ownerDocument.documentElement;if(!r)return new Qp;let t=0,h=0,Z=r.clientWidth,i=r.clientHeight;if(l!==r){let n=l.getBoundingClientRect();t=Math.max(t,n.left),h=Math.max(h,n.top),Z=Math.min(Z,n.right),i=Math.min(i,n.bottom)}let v=new Qp(t<Z?t:-1,h<i?h:-1,t<Z?Z-t:0,h<i?i-h:0);if(!c)c="r-"+ ++o.lastContainerBoundingRectCacheId,l.__tabsterCacheId=c;if(o.containerBoundingRectCache[c]={rect:v,element:l},!o.containerBoundingRectCacheTimer)o.containerBoundingRectCacheTimer=window.setTimeout(()=>{o.containerBoundingRectCacheTimer=void 0;for(let n of Object.keys(o.containerBoundingRectCache))delete o.containerBoundingRectCache[n].element.__tabsterCacheId;o.containerBoundingRectCache={}},50);return v}function Yp(a,l,c){let o=sm(l);if(!o)return!1;let e=mm(a,o),r=l.getBoundingClientRect(),t=r.height*(1-c),h=Math.max(0,e.top-r.top),Z=Math.max(0,r.bottom-e.bottom),i=h+Z;return i===0||i<=t}function JF(a,l,c){let o=sm(l);if(o){let e=mm(a,o),r=l.getBoundingClientRect();if(c)o.scrollTop+=r.top-e.top;else o.scrollTop+=r.bottom-e.bottom}}function sm(a){let l=a.ownerDocument;if(l){for(let c=G.getParentElement(a);c;c=G.getParentElement(c))if(c.scrollWidth>c.clientWidth||c.scrollHeight>c.clientHeight)return c;return l.documentElement}return null}function $F(a){a.__shouldIgnoreFocus=!0}function Mm(a){return!!a.__shouldIgnoreFocus}function QF(a){let l=new Uint32Array(4);if(a.crypto&&a.crypto.getRandomValues)a.crypto.getRandomValues(l);else if(a.msCrypto&&a.msCrypto.getRandomValues)a.msCrypto.getRandomValues(l);else for(let o=0;o<l.length;o++)l[o]=4294967295*Math.random();let c=[];for(let o=0;o<l.length;o++)c.push(l[o].toString(36));return c.push("|"),c.push((++IF).toString(36)),c.push("|"),c.push(Date.now().toString(36)),c.join("")}function fo(a,l){let c=S7(a),o=l.__tabsterElementUID;if(!o)o=l.__tabsterElementUID=QF(a());if(!c.elementByUId[o]&&Rh(l.ownerDocument,l))c.elementByUId[o]=new f5(a,l);return o}function Xp(a,l){let c=S7(a);for(let o of Object.keys(c.elementByUId)){let e=c.elementByUId[o],r=e&&e.get();if(r&&l){if(!G.nodeContains(l,r))continue}delete c.elementByUId[o]}}function Rh(a,l){return G.nodeContains(a===null||a===void 0?void 0:a.body,l)}function _m(a,l){let c=a.matches||a.matchesSelector||a.msMatchesSelector||a.webkitMatchesSelector;return c&&c.call(a,l)}function YF(a){let l=S7(a);if(l.basics.Promise)return l.basics.Promise;throw new Error("No Promise defined.")}function XF(a){return a.basics.WeakRef}var jF=0;class g6{constructor(a,l,c){let o=a.getWindow;this._tabster=a,this._element=new f5(o,l),this._props={...c},this.id="i"+ ++jF}getElement(){return this._element.get()}getProps(){return this._props}setProps(a){this._props={...a}}}class ha{constructor(a,l,c,o,e){var r;this._focusIn=(i)=>{if(this._fixedTarget){let n=this._fixedTarget.get();if(n)s2(n);return}let v=this.input;if(this.onFocusIn&&v){let n=i.relatedTarget;this.onFocusIn(this,this._isBackward(!0,v,n),n)}},this._focusOut=(i)=>{if(this._fixedTarget)return;this.useDefaultAction=!1;let v=this.input;if(this.onFocusOut&&v){let n=i.relatedTarget;this.onFocusOut(this,this._isBackward(!1,v,n),n)}};let t=a(),h=t.document.createElement("i");h.tabIndex=0,h.setAttribute("role","none"),h.setAttribute(om,""),h.setAttribute("aria-hidden","true");let Z=h.style;if(Z.position="fixed",Z.width=Z.height="1px",Z.opacity="0.001",Z.zIndex="-1",Z.setProperty("content-visibility","hidden"),$F(h),this.input=h,this.isFirst=c.isFirst,this.isOutside=l,this._isPhantom=(r=c.isPhantom)!==null&&r!==void 0?r:!1,this._fixedTarget=e,h.addEventListener("focusin",this._focusIn),h.addEventListener("focusout",this._focusOut),h.__tabsterDummyContainer=o,this._isPhantom)this._disposeTimer=t.setTimeout(()=>{delete this._disposeTimer,this.dispose()},0),this._clearDisposeTimeout=()=>{if(this._disposeTimer)t.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=G.getParentNode(l))===null||a===void 0||a.removeChild(l)}setTopLeft(a,l){var c;let o=(c=this.input)===null||c===void 0?void 0:c.style;if(o)o.top=`${a}px`,o.left=`${l}px`}_isBackward(a,l,c){return a&&!c?!this.isFirst:!!(c&&l.compareDocumentPosition(c)&Node.DOCUMENT_POSITION_FOLLOWING)}}var go={Root:1,Modalizer:2,Mover:3,Groupper:4};class X3{constructor(a,l,c,o,e,r){this._element=l,this._instance=new Am(a,l,this,c,o,e,r)}_setHandlers(a,l){this._onFocusIn=a,this._onFocusOut=l}moveOut(a){var l;(l=this._instance)===null||l===void 0||l.moveOut(a)}moveOutWithDefaultAction(a,l){var c;(c=this._instance)===null||c===void 0||c.moveOutWithDefaultAction(a,l)}getHandler(a){return a?this._onFocusIn:this._onFocusOut}setTabbable(a){var l;(l=this._instance)===null||l===void 0||l.setTabbable(this,a)}dispose(){if(this._instance)this._instance.dispose(this),delete this._instance;delete this._onFocusIn,delete this._onFocusOut}static moveWithPhantomDummy(a,l,c,o,e){let t=new ha(a.getWindow,!0,{isPhantom:!0,isFirst:!0}).input;if(t){let h,Z;if(l.tagName==="BODY")h=l,Z=c&&o||!c&&!o?G.getFirstElementChild(l):null;else{if(c&&(!o||o&&!a.focusable.isFocusable(l,!1,!0,!0)))h=l,Z=o?l.firstElementChild:null;else h=G.getParentElement(l),Z=c&&o||!c&&!o?l:G.getNextElementSibling(l);let i,v;do if(i=c&&o||!c&&!o?G.getPreviousElementSibling(Z):Z,v=f6(i),v===l)Z=c&&o||!c&&!o?i:G.getNextElementSibling(i);else v=null;while(v)}if(h===null||h===void 0?void 0:h.dispatchEvent(new D7({by:"root",owner:h,next:null,relatedEvent:e})))G.insertBefore(h,t,Z),s2(t)}}static addPhantomDummyWithTarget(a,l,c,o){let r=new ha(a.getWindow,!0,{isPhantom:!0,isFirst:!0},void 0,new f5(a.getWindow,o)).input;if(r){let t,h;if(zF(l)&&!c)t=l,h=G.getFirstElementChild(l);else t=G.getParentElement(l),h=c?l:G.getNextElementSibling(l);if(t)G.insertBefore(t,r,h)}}}function Z3(a,l){var c;let o={1:"Root",2:"Modalizer",3:"Mover",4:"Groupper"};(c=a.input)===null||c===void 0||c.setAttribute(om,[`isFirst=${a.isFirst}`,`isOutside=${a.isOutside}`,...l.map((e)=>`(${o[e.priority]}, tabbable=${e.tabbable})`)].join(", "))}class um{constructor(a){this._updateQueue=/*@__PURE__*/new Set,this._lastUpdateQueueTime=0,this._changedParents=/*@__PURE__*/new WeakSet,this._dummyElements=[],this._dummyCallbacks=/*@__PURE__*/new WeakMap,this._domChanged=(l)=>{var c;if(this._changedParents.has(l))return;if(this._changedParents.add(l),this._updateDummyInputsTimer)return;this._updateDummyInputsTimer=(c=this._win)===null||c===void 0?void 0:c.call(this).setTimeout(()=>{delete this._updateDummyInputsTimer;for(let o of this._dummyElements){let e=o.get();if(e){let r=this._dummyCallbacks.get(e);if(r){let t=G.getParentNode(e);if(!t||this._changedParents.has(t))r()}}}this._changedParents=/*@__PURE__*/new WeakSet},sh)},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+sh<=Date.now()){let l=/*@__PURE__*/new Map,c=[];for(let o of this._updateQueue)c.push(o(l));this._updateQueue.clear();for(let o of c)o();l.clear()}else this._scheduledUpdatePositions()},sh)}}class Am{constructor(a,l,c,o,e,r,t){this._wrappers=[],this._isOutside=!1,this._transformElements=/*@__PURE__*/new Set,this._onFocusIn=(d,p,m)=>{this._onFocus(!0,d,p,m)},this._onFocusOut=(d,p,m)=>{this._onFocus(!1,d,p,m)},this.moveOut=(d)=>{var p;let m=this._firstDummy,s=this._lastDummy;if(m&&s){this._ensurePosition();let M=m.input,u=s.input,A=(p=this._element)===null||p===void 0?void 0:p.get();if(M&&u&&A){let H;if(d)M.tabIndex=0,H=M;else u.tabIndex=0,H=u;if(H)s2(H)}}},this.moveOutWithDefaultAction=(d,p)=>{var m;let s=this._firstDummy,M=this._lastDummy;if(s&&M){this._ensurePosition();let u=s.input,A=M.input,H=(m=this._element)===null||m===void 0?void 0:m.get();if(u&&A&&H){let g;if(d)if(!s.isOutside&&this._tabster.focusable.isFocusable(H,!0,!0,!0))g=H;else s.useDefaultAction=!0,u.tabIndex=0,g=u;else M.useDefaultAction=!0,A.tabIndex=0,g=A;if(g&&H.dispatchEvent(new D7({by:"root",owner:H,next:null,relatedEvent:p})))s2(g)}}},this.setTabbable=(d,p)=>{var m,s;for(let u of this._wrappers)if(u.manager===d){u.tabbable=p;break}let M=this._getCurrent();if(M){let u=M.tabbable?0:-1,A=(m=this._firstDummy)===null||m===void 0?void 0:m.input;if(A)A.tabIndex=u;if(A=(s=this._lastDummy)===null||s===void 0?void 0:s.input,A)A.tabIndex=u}this._firstDummy&&Z3(this._firstDummy,this._wrappers),this._lastDummy&&Z3(this._lastDummy,this._wrappers)},this._addDummyInputs=()=>{if(this._addTimer)return;this._addTimer=this._getWindow().setTimeout(()=>{delete this._addTimer,this._ensurePosition(),this._firstDummy&&Z3(this._firstDummy,this._wrappers),this._lastDummy&&Z3(this._lastDummy,this._wrappers),this._addTransformOffsets()},0)},this._addTransformOffsets=()=>{this._tabster._dummyObserver.updatePositions(this._computeTransformOffsets)},this._computeTransformOffsets=(d)=>{var p,m;let s=((p=this._firstDummy)===null||p===void 0?void 0:p.input)||((m=this._lastDummy)===null||m===void 0?void 0:m.input),M=this._transformElements,u=/*@__PURE__*/new Set,A=0,H=0,g=this._getWindow();for(let F=s;F&&F.nodeType===Node.ELEMENT_NODE;F=G.getParentElement(F)){let D=d.get(F);if(D===void 0){let x=g.getComputedStyle(F).transform;if(x&&x!=="none")D={scrollTop:F.scrollTop,scrollLeft:F.scrollLeft};d.set(F,D||null)}if(D){if(u.add(F),!M.has(F))F.addEventListener("scroll",this._addTransformOffsets);A+=D.scrollTop,H+=D.scrollLeft}}for(let F of M)if(!u.has(F))F.removeEventListener("scroll",this._addTransformOffsets);return this._transformElements=u,()=>{var F,D;(F=this._firstDummy)===null||F===void 0||F.setTopLeft(A,H),(D=this._lastDummy)===null||D===void 0||D.setTopLeft(A,H)}};let h=l.get();if(!h)throw new Error("No element");this._tabster=a,this._getWindow=a.getWindow,this._callForDefaultAction=t;let Z=h.__tabsterDummy;if((Z||this)._wrappers.push({manager:c,priority:o,tabbable:!0}),Z)return this._firstDummy&&Z3(this._firstDummy,Z._wrappers),this._lastDummy&&Z3(this._lastDummy,Z._wrappers),Z;h.__tabsterDummy=this;let i=e===null||e===void 0?void 0:e.dummyInputsPosition,v=h.tagName;this._isOutside=!i?(r||v==="UL"||v==="OL"||v==="TABLE")&&!(v==="LI"||v==="TD"||v==="TH"):i===nF.Outside,this._firstDummy=new ha(this._getWindow,this._isOutside,{isFirst:!0},l),this._lastDummy=new ha(this._getWindow,this._isOutside,{isFirst:!1},l);let n=this._firstDummy.input;n&&a._dummyObserver.add(n,this._addDummyInputs),this._firstDummy.onFocusIn=this._onFocusIn,this._firstDummy.onFocusOut=this._onFocusOut,this._lastDummy.onFocusIn=this._onFocusIn,this._lastDummy.onFocusOut=this._onFocusOut,this._element=l,this._addDummyInputs()}dispose(a,l){var c,o,e,r;let t=this._wrappers=this._wrappers.filter((h)=>h.manager!==a&&!l);if(this._firstDummy&&Z3(this._firstDummy,t),this._lastDummy&&Z3(this._lastDummy,t),t.length===0){delete((c=this._element)===null||c===void 0?void 0:c.get()).__tabsterDummy;for(let i of this._transformElements)i.removeEventListener("scroll",this._addTransformOffsets);this._transformElements.clear();let h=this._getWindow();if(this._addTimer)h.clearTimeout(this._addTimer),delete this._addTimer;let Z=(o=this._firstDummy)===null||o===void 0?void 0:o.input;Z&&this._tabster._dummyObserver.remove(Z),(e=this._firstDummy)===null||e===void 0||e.dispose(),(r=this._lastDummy)===null||r===void 0||r.dispose()}}_onFocus(a,l,c,o){var e;let r=this._getCurrent();if(r&&(!l.useDefaultAction||this._callForDefaultAction))(e=r.manager.getHandler(a))===null||e===void 0||e(l,c,o)}_getCurrent(){return this._wrappers.sort((a,l)=>{if(a.tabbable!==l.tabbable)return a.tabbable?-1:1;return a.priority-l.priority}),this._wrappers[0]}_ensurePosition(){var a,l,c;let o=(a=this._element)===null||a===void 0?void 0:a.get(),e=(l=this._firstDummy)===null||l===void 0?void 0:l.input,r=(c=this._lastDummy)===null||c===void 0?void 0:c.input;if(!o||!e||!r)return;if(this._isOutside){let t=G.getParentNode(o);if(t){let h=G.getNextSibling(o);if(h!==r)G.insertBefore(t,r,h);if(G.getPreviousElementSibling(o)!==e)G.insertBefore(t,e,o)}}else{if(G.getLastElementChild(o)!==r)G.appendChild(o,r);let t=G.getFirstElementChild(o);if(t&&t!==e&&t.parentNode)G.insertBefore(t.parentNode,e,t)}}}function Hm(a){let l=null;for(let c=G.getLastElementChild(a);c;c=G.getLastElementChild(c))l=c;return l||void 0}function NF(a,l){let c=a,o=null;while(c&&!o)o=l?G.getPreviousElementSibling(c):G.getNextElementSibling(c),c=G.getParentElement(c);return o||void 0}function Mh(a,l,c,o){let e=a.storageEntry(l,!0),r=!1;if(!e.aug){if(o===void 0)return r;e.aug={}}if(o===void 0){if(c in e.aug){let t=e.aug[c];if(delete e.aug[c],t===null)l.removeAttribute(c);else l.setAttribute(c,t);r=!0}}else{let t;if(!(c in e.aug))t=l.getAttribute(c);if(t!==void 0&&t!==o){if(e.aug[c]=t,o===null)l.removeAttribute(c);else l.setAttribute(c,o);r=!0}}if(o===void 0&&Object.keys(e.aug).length===0)delete e.aug,a.storageEntry(l,!1);return r}function ax(a){var l,c;let o=a.ownerDocument,e=(l=o.defaultView)===null||l===void 0?void 0:l.getComputedStyle(a);if(a.offsetParent===null&&o.body!==a&&(e===null||e===void 0?void 0:e.position)!=="fixed")return!0;if((e===null||e===void 0?void 0:e.visibility)==="hidden")return!0;if((e===null||e===void 0?void 0:e.position)==="fixed"){if(e.display==="none")return!0;if(((c=a.parentElement)===null||c===void 0?void 0:c.offsetParent)===null&&o.body!==a.parentElement)return!0}return!1}function Fh(a){return a.tagName==="INPUT"&&!!a.name&&a.type==="radio"}function lx(a){if(!Fh(a))return;let l=a.name,c=Array.from(G.getElementsByName(a,l)),o;return c=c.filter((e)=>{if(Fh(e)){if(e.checked)o=e;return!0}return!1}),{name:l,buttons:new Set(c),checked:o}}function f6(a){var l;return((l=a===null||a===void 0?void 0:a.__tabsterDummyContainer)===null||l===void 0?void 0:l.get())||null}/*!
|
|
53
|
+
*/var lZ,Ip=typeof DOMRect!=="undefined"?DOMRect:class{constructor(a,l,c,o){this.left=a||0,this.top=l||0,this.right=(a||0)+(c||0),this.bottom=(l||0)+(o||0)}},$x=0;try{document.createTreeWalker(document,NodeFilter.SHOW_ELEMENT),lZ=!1}catch(a){lZ=!0}var Jh=100;function I7(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 Yx(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 Xx(a){let l=a.__tabsterInstanceContext;return new((l===null||l===void 0?void 0:l.basics.WeakMap)||WeakMap)}function Nx(a){return!!a.querySelector(Xp)}class eZ{constructor(a){this._target=a}deref(){return this._target}static cleanup(a,l){if(!a._target)return!0;if(l||!tZ(a._target.ownerDocument,a._target))return delete a._target,!0;return!1}}class x5{constructor(a,l,c){let o=I7(a),e;if(o.WeakRef)e=new o.WeakRef(l);else e=new eZ(l),o.fakeWeakRefs.push(e);this._ref=e,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 rs(a,l){let c=I7(a);c.fakeWeakRefs=c.fakeWeakRefs.filter((o)=>!eZ.cleanup(o,l))}function ts(a){let l=I7(a);if(!l.fakeWeakRefsStarted)l.fakeWeakRefsStarted=!0,l.WeakRef=eC(l);if(!l.fakeWeakRefsTimer)l.fakeWeakRefsTimer=a().setTimeout(()=>{l.fakeWeakRefsTimer=void 0,rs(a),ts(a)},120000)}function jx(a){let l=I7(a);if(l.fakeWeakRefsStarted=!1,l.fakeWeakRefsTimer)a().clearTimeout(l.fakeWeakRefsTimer),l.fakeWeakRefsTimer=void 0,l.fakeWeakRefs=[]}function rZ(a,l,c){if(l.nodeType!==Node.ELEMENT_NODE)return;let o=lZ?c:{acceptNode:c};return O.createTreeWalker(a,l,NodeFilter.SHOW_ELEMENT,o,!1)}function hs(a,l){let c=l.__tabsterCacheId,o=I7(a),e=c?o.containerBoundingRectCache[c]:void 0;if(e)return e.rect;let r=l.ownerDocument&&l.ownerDocument.documentElement;if(!r)return new Ip;let t=0,h=0,Z=r.clientWidth,i=r.clientHeight;if(l!==r){let v=l.getBoundingClientRect();t=Math.max(t,v.left),h=Math.max(h,v.top),Z=Math.min(Z,v.right),i=Math.min(i,v.bottom)}let n=new Ip(t<Z?t:-1,h<i?h:-1,t<Z?Z-t:0,h<i?i-h:0);if(!c)c="r-"+ ++o.lastContainerBoundingRectCacheId,l.__tabsterCacheId=c;if(o.containerBoundingRectCache[c]={rect:n,element:l},!o.containerBoundingRectCacheTimer)o.containerBoundingRectCacheTimer=window.setTimeout(()=>{o.containerBoundingRectCacheTimer=void 0;for(let v of Object.keys(o.containerBoundingRectCache))delete o.containerBoundingRectCache[v].element.__tabsterCacheId;o.containerBoundingRectCache={}},50);return n}function qp(a,l,c){let o=Zs(l);if(!o)return!1;let e=hs(a,o),r=l.getBoundingClientRect(),t=r.height*(1-c),h=Math.max(0,e.top-r.top),Z=Math.max(0,r.bottom-e.bottom),i=h+Z;return i===0||i<=t}function aC(a,l,c){let o=Zs(l);if(o){let e=hs(a,o),r=l.getBoundingClientRect();if(c)o.scrollTop+=r.top-e.top;else o.scrollTop+=r.bottom-e.bottom}}function Zs(a){let l=a.ownerDocument;if(l){for(let c=O.getParentElement(a);c;c=O.getParentElement(c))if(c.scrollWidth>c.clientWidth||c.scrollHeight>c.clientHeight)return c;return l.documentElement}return null}function lC(a){a.__shouldIgnoreFocus=!0}function is(a){return!!a.__shouldIgnoreFocus}function cC(a){let l=new Uint32Array(4);if(a.crypto&&a.crypto.getRandomValues)a.crypto.getRandomValues(l);else if(a.msCrypto&&a.msCrypto.getRandomValues)a.msCrypto.getRandomValues(l);else for(let o=0;o<l.length;o++)l[o]=4294967295*Math.random();let c=[];for(let o=0;o<l.length;o++)c.push(l[o].toString(36));return c.push("|"),c.push((++$x).toString(36)),c.push("|"),c.push(Date.now().toString(36)),c.join("")}function Jo(a,l){let c=I7(a),o=l.__tabsterElementUID;if(!o)o=l.__tabsterElementUID=cC(a());if(!c.elementByUId[o]&&tZ(l.ownerDocument,l))c.elementByUId[o]=new x5(a,l);return o}function Pp(a,l){let c=I7(a);for(let o of Object.keys(c.elementByUId)){let e=c.elementByUId[o],r=e&&e.get();if(r&&l){if(!O.nodeContains(l,r))continue}delete c.elementByUId[o]}}function tZ(a,l){return O.nodeContains(a===null||a===void 0?void 0:a.body,l)}function vs(a,l){let c=a.matches||a.matchesSelector||a.msMatchesSelector||a.webkitMatchesSelector;return c&&c.call(a,l)}function oC(a){let l=I7(a);if(l.basics.Promise)return l.basics.Promise;throw new Error("No Promise defined.")}function eC(a){return a.basics.WeakRef}var rC=0;class O6{constructor(a,l,c){let o=a.getWindow;this._tabster=a,this._element=new x5(o,l),this._props={...c},this.id="i"+ ++rC}getElement(){return this._element.get()}getProps(){return this._props}setProps(a){this._props={...a}}}class f8{constructor(a,l,c,o,e){var r;this._focusIn=(i)=>{if(this._fixedTarget){let v=this._fixedTarget.get();if(v)A2(v);return}let n=this.input;if(this.onFocusIn&&n){let v=i.relatedTarget;this.onFocusIn(this,this._isBackward(!0,n,v),v)}},this._focusOut=(i)=>{if(this._fixedTarget)return;this.useDefaultAction=!1;let n=this.input;if(this.onFocusOut&&n){let v=i.relatedTarget;this.onFocusOut(this,this._isBackward(!1,n,v),v)}};let t=a(),h=t.document.createElement("i");h.tabIndex=0,h.setAttribute("role","none"),h.setAttribute(Yp,""),h.setAttribute("aria-hidden","true");let Z=h.style;if(Z.position="fixed",Z.width=Z.height="1px",Z.opacity="0.001",Z.zIndex="-1",Z.setProperty("content-visibility","hidden"),lC(h),this.input=h,this.isFirst=c.isFirst,this.isOutside=l,this._isPhantom=(r=c.isPhantom)!==null&&r!==void 0?r:!1,this._fixedTarget=e,h.addEventListener("focusin",this._focusIn),h.addEventListener("focusout",this._focusOut),h.__tabsterDummyContainer=o,this._isPhantom)this._disposeTimer=t.setTimeout(()=>{delete this._disposeTimer,this.dispose()},0),this._clearDisposeTimeout=()=>{if(this._disposeTimer)t.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=O.getParentNode(l))===null||a===void 0||a.removeChild(l)}setTopLeft(a,l){var c;let o=(c=this.input)===null||c===void 0?void 0:c.style;if(o)o.top=`${a}px`,o.left=`${l}px`}_isBackward(a,l,c){return a&&!c?!this.isFirst:!!(c&&l.compareDocumentPosition(c)&Node.DOCUMENT_POSITION_FOLLOWING)}}var Ko={Root:1,Modalizer:2,Mover:3,Groupper:4};class n4{constructor(a,l,c,o,e,r){this._element=l,this._instance=new ds(a,l,this,c,o,e,r)}_setHandlers(a,l){this._onFocusIn=a,this._onFocusOut=l}moveOut(a){var l;(l=this._instance)===null||l===void 0||l.moveOut(a)}moveOutWithDefaultAction(a,l){var c;(c=this._instance)===null||c===void 0||c.moveOutWithDefaultAction(a,l)}getHandler(a){return a?this._onFocusIn:this._onFocusOut}setTabbable(a){var l;(l=this._instance)===null||l===void 0||l.setTabbable(this,a)}dispose(){if(this._instance)this._instance.dispose(this),delete this._instance;delete this._onFocusIn,delete this._onFocusOut}static moveWithPhantomDummy(a,l,c,o,e){let t=new f8(a.getWindow,!0,{isPhantom:!0,isFirst:!0}).input;if(t){let h,Z;if(l.tagName==="BODY")h=l,Z=c&&o||!c&&!o?O.getFirstElementChild(l):null;else{if(c&&(!o||o&&!a.focusable.isFocusable(l,!1,!0,!0)))h=l,Z=o?l.firstElementChild:null;else h=O.getParentElement(l),Z=c&&o||!c&&!o?l:O.getNextElementSibling(l);let i,n;do if(i=c&&o||!c&&!o?O.getPreviousElementSibling(Z):Z,n=b6(i),n===l)Z=c&&o||!c&&!o?i:O.getNextElementSibling(i);else n=null;while(n)}if(h===null||h===void 0?void 0:h.dispatchEvent(new E7({by:"root",owner:h,next:null,relatedEvent:e})))O.insertBefore(h,t,Z),A2(t)}}static addPhantomDummyWithTarget(a,l,c,o){let r=new f8(a.getWindow,!0,{isPhantom:!0,isFirst:!0},void 0,new x5(a.getWindow,o)).input;if(r){let t,h;if(Nx(l)&&!c)t=l,h=O.getFirstElementChild(l);else t=O.getParentElement(l),h=c?l:O.getNextElementSibling(l);if(t)O.insertBefore(t,r,h)}}}function A3(a,l){var c;let o={1:"Root",2:"Modalizer",3:"Mover",4:"Groupper"};(c=a.input)===null||c===void 0||c.setAttribute(Yp,[`isFirst=${a.isFirst}`,`isOutside=${a.isOutside}`,...l.map((e)=>`(${o[e.priority]}, tabbable=${e.tabbable})`)].join(", "))}class ns{constructor(a){this._updateQueue=/*@__PURE__*/new Set,this._lastUpdateQueueTime=0,this._changedParents=/*@__PURE__*/new WeakSet,this._dummyElements=[],this._dummyCallbacks=/*@__PURE__*/new WeakMap,this._domChanged=(l)=>{var c;if(this._changedParents.has(l))return;if(this._changedParents.add(l),this._updateDummyInputsTimer)return;this._updateDummyInputsTimer=(c=this._win)===null||c===void 0?void 0:c.call(this).setTimeout(()=>{delete this._updateDummyInputsTimer;for(let o of this._dummyElements){let e=o.get();if(e){let r=this._dummyCallbacks.get(e);if(r){let t=O.getParentNode(e);if(!t||this._changedParents.has(t))r()}}}this._changedParents=/*@__PURE__*/new WeakSet},Jh)},this._win=a}add(a,l){if(!this._dummyCallbacks.has(a)&&this._win)this._dummyElements.push(new x5(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+Jh<=Date.now()){let l=/*@__PURE__*/new Map,c=[];for(let o of this._updateQueue)c.push(o(l));this._updateQueue.clear();for(let o of c)o();l.clear()}else this._scheduledUpdatePositions()},Jh)}}class ds{constructor(a,l,c,o,e,r,t){this._wrappers=[],this._isOutside=!1,this._transformElements=/*@__PURE__*/new Set,this._onFocusIn=(d,m,s)=>{this._onFocus(!0,d,m,s)},this._onFocusOut=(d,m,s)=>{this._onFocus(!1,d,m,s)},this.moveOut=(d)=>{var m;let s=this._firstDummy,p=this._lastDummy;if(s&&p){this._ensurePosition();let M=s.input,u=p.input,A=(m=this._element)===null||m===void 0?void 0:m.get();if(M&&u&&A){let V;if(d)M.tabIndex=0,V=M;else u.tabIndex=0,V=u;if(V)A2(V)}}},this.moveOutWithDefaultAction=(d,m)=>{var s;let p=this._firstDummy,M=this._lastDummy;if(p&&M){this._ensurePosition();let u=p.input,A=M.input,V=(s=this._element)===null||s===void 0?void 0:s.get();if(u&&A&&V){let H;if(d)if(!p.isOutside&&this._tabster.focusable.isFocusable(V,!0,!0,!0))H=V;else p.useDefaultAction=!0,u.tabIndex=0,H=u;else M.useDefaultAction=!0,A.tabIndex=0,H=A;if(H&&V.dispatchEvent(new E7({by:"root",owner:V,next:null,relatedEvent:m})))A2(H)}}},this.setTabbable=(d,m)=>{var s,p;for(let u of this._wrappers)if(u.manager===d){u.tabbable=m;break}let M=this._getCurrent();if(M){let u=M.tabbable?0:-1,A=(s=this._firstDummy)===null||s===void 0?void 0:s.input;if(A)A.tabIndex=u;if(A=(p=this._lastDummy)===null||p===void 0?void 0:p.input,A)A.tabIndex=u}this._firstDummy&&A3(this._firstDummy,this._wrappers),this._lastDummy&&A3(this._lastDummy,this._wrappers)},this._addDummyInputs=()=>{if(this._addTimer)return;this._addTimer=this._getWindow().setTimeout(()=>{delete this._addTimer,this._ensurePosition(),this._firstDummy&&A3(this._firstDummy,this._wrappers),this._lastDummy&&A3(this._lastDummy,this._wrappers),this._addTransformOffsets()},0)},this._addTransformOffsets=()=>{this._tabster._dummyObserver.updatePositions(this._computeTransformOffsets)},this._computeTransformOffsets=(d)=>{var m,s;let p=((m=this._firstDummy)===null||m===void 0?void 0:m.input)||((s=this._lastDummy)===null||s===void 0?void 0:s.input),M=this._transformElements,u=/*@__PURE__*/new Set,A=0,V=0,H=this._getWindow();for(let g=p;g&&g.nodeType===Node.ELEMENT_NODE;g=O.getParentElement(g)){let S=d.get(g);if(S===void 0){let C=H.getComputedStyle(g).transform;if(C&&C!=="none")S={scrollTop:g.scrollTop,scrollLeft:g.scrollLeft};d.set(g,S||null)}if(S){if(u.add(g),!M.has(g))g.addEventListener("scroll",this._addTransformOffsets);A+=S.scrollTop,V+=S.scrollLeft}}for(let g of M)if(!u.has(g))g.removeEventListener("scroll",this._addTransformOffsets);return this._transformElements=u,()=>{var g,S;(g=this._firstDummy)===null||g===void 0||g.setTopLeft(A,V),(S=this._lastDummy)===null||S===void 0||S.setTopLeft(A,V)}};let h=l.get();if(!h)throw new Error("No element");this._tabster=a,this._getWindow=a.getWindow,this._callForDefaultAction=t;let Z=h.__tabsterDummy;if((Z||this)._wrappers.push({manager:c,priority:o,tabbable:!0}),Z)return this._firstDummy&&A3(this._firstDummy,Z._wrappers),this._lastDummy&&A3(this._lastDummy,Z._wrappers),Z;h.__tabsterDummy=this;let i=e===null||e===void 0?void 0:e.dummyInputsPosition,n=h.tagName;this._isOutside=!i?(r||n==="UL"||n==="OL"||n==="TABLE")&&!(n==="LI"||n==="TD"||n==="TH"):i===_x.Outside,this._firstDummy=new f8(this._getWindow,this._isOutside,{isFirst:!0},l),this._lastDummy=new f8(this._getWindow,this._isOutside,{isFirst:!1},l);let v=this._firstDummy.input;v&&a._dummyObserver.add(v,this._addDummyInputs),this._firstDummy.onFocusIn=this._onFocusIn,this._firstDummy.onFocusOut=this._onFocusOut,this._lastDummy.onFocusIn=this._onFocusIn,this._lastDummy.onFocusOut=this._onFocusOut,this._element=l,this._addDummyInputs()}dispose(a,l){var c,o,e,r;let t=this._wrappers=this._wrappers.filter((h)=>h.manager!==a&&!l);if(this._firstDummy&&A3(this._firstDummy,t),this._lastDummy&&A3(this._lastDummy,t),t.length===0){delete((c=this._element)===null||c===void 0?void 0:c.get()).__tabsterDummy;for(let i of this._transformElements)i.removeEventListener("scroll",this._addTransformOffsets);this._transformElements.clear();let h=this._getWindow();if(this._addTimer)h.clearTimeout(this._addTimer),delete this._addTimer;let Z=(o=this._firstDummy)===null||o===void 0?void 0:o.input;Z&&this._tabster._dummyObserver.remove(Z),(e=this._firstDummy)===null||e===void 0||e.dispose(),(r=this._lastDummy)===null||r===void 0||r.dispose()}}_onFocus(a,l,c,o){var e;let r=this._getCurrent();if(r&&(!l.useDefaultAction||this._callForDefaultAction))(e=r.manager.getHandler(a))===null||e===void 0||e(l,c,o)}_getCurrent(){return this._wrappers.sort((a,l)=>{if(a.tabbable!==l.tabbable)return a.tabbable?-1:1;return a.priority-l.priority}),this._wrappers[0]}_ensurePosition(){var a,l,c;let o=(a=this._element)===null||a===void 0?void 0:a.get(),e=(l=this._firstDummy)===null||l===void 0?void 0:l.input,r=(c=this._lastDummy)===null||c===void 0?void 0:c.input;if(!o||!e||!r)return;if(this._isOutside){let t=O.getParentNode(o);if(t){let h=O.getNextSibling(o);if(h!==r)O.insertBefore(t,r,h);if(O.getPreviousElementSibling(o)!==e)O.insertBefore(t,e,o)}}else{if(O.getLastElementChild(o)!==r)O.appendChild(o,r);let t=O.getFirstElementChild(o);if(t&&t!==e&&t.parentNode)O.insertBefore(t.parentNode,e,t)}}}function ms(a){let l=null;for(let c=O.getLastElementChild(a);c;c=O.getLastElementChild(c))l=c;return l||void 0}function tC(a,l){let c=a,o=null;while(c&&!o)o=l?O.getPreviousElementSibling(c):O.getNextElementSibling(c),c=O.getParentElement(c);return o||void 0}function Kh(a,l,c,o){let e=a.storageEntry(l,!0),r=!1;if(!e.aug){if(o===void 0)return r;e.aug={}}if(o===void 0){if(c in e.aug){let t=e.aug[c];if(delete e.aug[c],t===null)l.removeAttribute(c);else l.setAttribute(c,t);r=!0}}else{let t;if(!(c in e.aug))t=l.getAttribute(c);if(t!==void 0&&t!==o){if(e.aug[c]=t,o===null)l.removeAttribute(c);else l.setAttribute(c,o);r=!0}}if(o===void 0&&Object.keys(e.aug).length===0)delete e.aug,a.storageEntry(l,!1);return r}function hC(a){var l,c;let o=a.ownerDocument,e=(l=o.defaultView)===null||l===void 0?void 0:l.getComputedStyle(a);if(a.offsetParent===null&&o.body!==a&&(e===null||e===void 0?void 0:e.position)!=="fixed")return!0;if((e===null||e===void 0?void 0:e.visibility)==="hidden")return!0;if((e===null||e===void 0?void 0:e.position)==="fixed"){if(e.display==="none")return!0;if(((c=a.parentElement)===null||c===void 0?void 0:c.offsetParent)===null&&o.body!==a.parentElement)return!0}return!1}function cZ(a){return a.tagName==="INPUT"&&!!a.name&&a.type==="radio"}function ZC(a){if(!cZ(a))return;let l=a.name,c=Array.from(O.getElementsByName(a,l)),o;return c=c.filter((e)=>{if(cZ(e)){if(e.checked)o=e;return!0}return!1}),{name:l,buttons:new Set(c),checked:o}}function b6(a){var l;return((l=a===null||a===void 0?void 0:a.__tabsterDummyContainer)===null||l===void 0?void 0:l.get())||null}/*!
|
|
54
54
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
55
55
|
* Licensed under the MIT License.
|
|
56
|
-
*/function
|
|
56
|
+
*/function x8(a,l){let c=JSON.stringify(a);if(l===!0)return c;return{[Z7]:c}}function iC(a,l){for(let c of Object.keys(l)){let o=l[c];if(o)a[c]=o;else delete a[c]}}function vC(a,l,c){let o;if(c){let e=a.getAttribute(Z7);if(e)try{o=JSON.parse(e)}catch(r){console.error(`data-tabster attribute error: ${r}`,a)}}if(!o)o={};if(iC(o,l),Object.keys(o).length>0)a.setAttribute(Z7,x8(o,!0));else a.removeAttribute(Z7)}/*!
|
|
57
57
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
58
58
|
* Licensed under the MIT License.
|
|
59
|
-
*/function
|
|
59
|
+
*/function zp(a,l,c){{let o=a.get();if(o)if(l)o.style.removeProperty("--tabster-root");else o.style.setProperty("--tabster-root",c+",")}}class oZ extends n4{constructor(a,l,c,o){super(a,l,Ko.Root,o,void 0,!0);this._onDummyInputFocus=(e)=>{var r;if(e.useDefaultAction)this._setFocused(!1);else{this._tabster.keyboardNavigation.setNavigatingWithKeyboard(!0);let t=this._element.get();if(t){this._setFocused(!0);let h=this._tabster.focusedElement.getFirstOrLastTabbable(e.isFirst,{container:t,ignoreAccessibility:!0});if(h){A2(h);return}}(r=e.input)===null||r===void 0||r.blur()}},this._setHandlers(this._onDummyInputFocus),this._tabster=a,this._setFocused=c}}class ps extends O6{constructor(a,l,c,o,e){super(a,l,o);this._isFocused=!1,this._setFocused=(Z)=>{var i;if(this._setFocusedTimer)this._tabster.getWindow().clearTimeout(this._setFocusedTimer),delete this._setFocusedTimer;if(this._isFocused===Z)return;let n=this._element.get();if(n)if(Z)this._isFocused=!0,(i=this._dummyManager)===null||i===void 0||i.setTabbable(!1),n.dispatchEvent(new os({element:n}));else this._setFocusedTimer=this._tabster.getWindow().setTimeout(()=>{var v;delete this._setFocusedTimer,this._isFocused=!1,(v=this._dummyManager)===null||v===void 0||v.setTabbable(!0),n.dispatchEvent(new es({element:n}))},0)},this._onFocusIn=(Z)=>{let i=this._tabster.getParent,n=this._element.get(),v=Z.composedPath()[0];do{if(v===n){this._setFocused(!0);return}v=v&&i(v)}while(v)},this._onFocusOut=()=>{this._setFocused(!1)},this._onDispose=c;let r=a.getWindow;if(this.uid=Jo(r,l),this._sys=e,a.controlTab||a.rootDummyInputs)this.addDummyInputs();let h=r().document;h.addEventListener(F5,this._onFocusIn),h.addEventListener(B6,this._onFocusOut),this._add()}addDummyInputs(){if(!this._dummyManager)this._dummyManager=new oZ(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(F5,this._onFocusIn),c.removeEventListener(B6,this._onFocusOut),this._setFocusedTimer)l.clearTimeout(this._setFocusedTimer),delete this._setFocusedTimer;(a=this._dummyManager)===null||a===void 0||a.dispose(),this._remove()}moveOutWithDefaultAction(a,l){let c=this._dummyManager;if(c)c.moveOutWithDefaultAction(a,l);else{let o=this.getElement();if(o)oZ.moveWithPhantomDummy(this._tabster,o,!0,a,l)}}_add(){zp(this._element,!1,this.uid)}_remove(){zp(this._element,!0)}}class P1{constructor(a,l){this._autoRootWaiting=!1,this._roots={},this._forceDummy=!1,this.rootById={},this._autoRootCreate=()=>{var c;let o=this._win().document,e=o.body;if(e){this._autoRootUnwait(o);let r=this._autoRoot;if(r)return vC(e,{root:r},!0),Np(this._tabster,e),(c=X0(this._tabster,e))===null||c===void 0?void 0:c.root}else if(!this._autoRootWaiting)this._autoRootWaiting=!0,o.addEventListener("readystatechange",this._autoRootCreate);return},this._onRootDispose=(c)=>{delete this._roots[c.id]},this._tabster=a,this._win=a.getWindow,this._autoRoot=l,a.queueInit(()=>{if(this._autoRoot)this._autoRootCreate()})}_autoRootUnwait(a){a.removeEventListener("readystatechange",this._autoRootCreate),this._autoRootWaiting=!1}dispose(){let a=this._win();this._autoRootUnwait(a.document),delete this._autoRoot,Object.keys(this._roots).forEach((l)=>{if(this._roots[l])this._roots[l].dispose(),delete this._roots[l]}),this.rootById={}}createRoot(a,l,c){let o=new ps(this._tabster,a,this._onRootDispose,l,c);if(this._roots[o.id]=o,this._forceDummy)o.addDummyInputs();return o}addDummyInputs(){this._forceDummy=!0;let a=this._roots;for(let l of Object.keys(a))a[l].addDummyInputs()}static getRootByUId(a,l){let c=a().__tabsterInstance;return c&&c.root.rootById[l]}static getTabsterContext(a,l,c){if(c===void 0)c={};var o,e,r,t;if(!l.ownerDocument)return;let{checkRtl:h,referenceElement:Z}=c,i=a.getParent;a.drainInitQueue();let n,v,d,m,s=!1,p,M,u,A,V=Z||l,H={};while(V&&(!n||h)){let S=X0(a,V);if(h&&u===void 0){let l1=V.dir;if(l1)u=l1.toLowerCase()==="rtl"}if(!S){V=i(V);continue}let C=V.tagName;if((S.uncontrolled||C==="IFRAME"||C==="WEBVIEW")&&a.focusable.isVisible(V))A=V;if(!m&&((o=S.focusable)===null||o===void 0?void 0:o.excludeFromMover)&&!d)s=!0;let{modalizer:E,groupper:T,mover:c1}=S;if(!v&&E)v=E;if(!d&&T&&(!v||E))if(v){if(!T.isActive()&&T.getProps().tabbability&&v.userId!==((e=a.modalizer)===null||e===void 0?void 0:e.activeId))v=void 0,d=T;M=T}else d=T;if(!m&&c1&&(!v||E)&&(!T||V!==l)&&V.contains(l))m=c1,p=!!d&&d!==T;if(S.root)n=S.root;if((r=S.focusable)===null||r===void 0?void 0:r.ignoreKeydown)Object.assign(H,S.focusable.ignoreKeydown);V=i(V)}if(!n){let S=a.root;if(S._autoRoot){if((t=l.ownerDocument)===null||t===void 0?void 0:t.body)n=S._autoRootCreate()}}if(d&&!m)p=!0;if(!n){if(v||d||m)console.error("Tabster Root is required for Mover, Groupper and Modalizer to work.")}return n?{root:n,modalizer:v,groupper:d,mover:m,groupperBeforeMover:p,modalizerInGroupper:M,rtl:h?!!u:void 0,uncontrolled:A,excludedFromMover:s,ignoreKeydown:(S)=>!!H[S.key]}:void 0}static getRoot(a,l){var c;let o=a.getParent;for(let e=l;e;e=o(e)){let r=(c=X0(a,e))===null||c===void 0?void 0:c.root;if(r)return r}return}onRoot(a,l){if(l)delete this.rootById[a.uid];else this.rootById[a.uid]=a}}/*!
|
|
60
60
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
61
61
|
* Licensed under the MIT License.
|
|
62
62
|
*//*!
|
|
63
63
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
64
64
|
* Licensed under the MIT License.
|
|
65
|
-
*/class
|
|
65
|
+
*/class hZ{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))}}/*!
|
|
66
66
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
67
67
|
* Licensed under the MIT License.
|
|
68
68
|
*//*!
|
|
69
69
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
70
70
|
* Licensed under the MIT License.
|
|
71
|
-
*/class
|
|
71
|
+
*/class ss{constructor(a){this._tabster=a}dispose(){}getProps(a){let l=X0(this._tabster,a);return l&&l.focusable||{}}isFocusable(a,l,c,o){if(vs(a,Xp)&&(l||a.tabIndex!==-1))return(c||this.isVisible(a))&&(o||this.isAccessible(a));return!1}isVisible(a){if(!a.ownerDocument||a.nodeType!==Node.ELEMENT_NODE)return!1;if(hC(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=O.getParentElement(c)){let o=X0(this._tabster,c);if(this._isHidden(c))return!1;if(!((l=o===null||o===void 0?void 0:o.focusable)===null||l===void 0?void 0:l.ignoreAriaDisabled)&&this._isDisabled(c))return!1}return!0}_isDisabled(a){return a.hasAttribute("disabled")}_isHidden(a){var l;let c=a.getAttribute("aria-hidden");if(c&&c.toLowerCase()==="true"){if(!((l=this._tabster.modalizer)===null||l===void 0?void 0:l.isAugmented(a)))return!0}return!1}findFirst(a,l){return this.findElement({...a},l)}findLast(a,l){return this.findElement({isBackward:!0,...a},l)}findNext(a,l){return this.findElement({...a},l)}findPrev(a,l){return this.findElement({...a,isBackward:!0},l)}findDefault(a,l){return this.findElement({...a,acceptCondition:(c)=>this.isFocusable(c,a.includeProgrammaticallyFocusable)&&!!this.getProps(c).isDefault},l)||null}findAll(a){return this._findElements(!0,a)||[]}findElement(a,l){let c=this._findElements(!1,a,l);return c?c[0]:c}_findElements(a,l,c){var o,e,r;let{container:t,currentElement:h=null,includeProgrammaticallyFocusable:Z,useActiveModalizer:i,ignoreAccessibility:n,modalizerId:v,isBackward:d,onElement:m}=l;if(!c)c={};let s=[],{acceptCondition:p}=l,M=!!p;if(!t)return null;if(!p)p=(H)=>this.isFocusable(H,Z,!1,n);let u={container:t,modalizerUserId:v===void 0&&i?(o=this._tabster.modalizer)===null||o===void 0?void 0:o.activeId:v||((r=(e=P1.getTabsterContext(this._tabster,t))===null||e===void 0?void 0:e.modalizer)===null||r===void 0?void 0:r.userId),from:h||t,isBackward:d,isFindAll:a,acceptCondition:p,hasCustomCondition:M,includeProgrammaticallyFocusable:Z,ignoreAccessibility:n,cachedGrouppers:{},cachedRadioGroups:{}},A=rZ(t.ownerDocument,t,(H)=>this._acceptElement(H,u));if(!A)return null;let V=(H)=>{var g,S;let C=(g=u.foundElement)!==null&&g!==void 0?g:u.foundBackward;if(C)s.push(C);if(a){if(C){if(u.found=!1,delete u.foundElement,delete u.foundBackward,delete u.fromCtx,u.from=C,m&&!m(C))return!1}return!!(C||H)}else{if(C&&c)c.uncontrolled=(S=P1.getTabsterContext(this._tabster,C))===null||S===void 0?void 0:S.uncontrolled;return!!(H&&!C)}};if(!h)c.outOfDOMOrder=!0;if(h&&O.nodeContains(t,h))A.currentNode=h;else if(d){let H=ms(t);if(!H)return null;if(this._acceptElement(H,u)===NodeFilter.FILTER_ACCEPT&&!V(!0)){if(u.skippedFocusable)c.outOfDOMOrder=!0;return s}A.currentNode=H}do if(d)A.previousNode();else A.nextNode();while(V());if(u.skippedFocusable)c.outOfDOMOrder=!0;return s.length?s:null}_acceptElement(a,l){var c,o,e;if(l.found)return NodeFilter.FILTER_ACCEPT;let r=l.foundBackward;if(r&&(a===r||!O.nodeContains(r,a)))return l.found=!0,l.foundElement=r,NodeFilter.FILTER_ACCEPT;let t=l.container;if(a===t)return NodeFilter.FILTER_SKIP;if(!O.nodeContains(t,a))return NodeFilter.FILTER_REJECT;if(b6(a))return NodeFilter.FILTER_REJECT;if(O.nodeContains(l.rejectElementsFrom,a))return NodeFilter.FILTER_REJECT;let h=l.currentCtx=P1.getTabsterContext(this._tabster,a);if(!h)return NodeFilter.FILTER_SKIP;if(is(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=h.modalizer)===null||c===void 0?void 0:c.userId)===((o=this._tabster.modalizer)===null||o===void 0?void 0:o.activeId))return l.found=!0,l.rejectElementsFrom=l.foundElement=a,NodeFilter.FILTER_ACCEPT;else return NodeFilter.FILTER_REJECT;if(!l.ignoreAccessibility&&!this.isAccessible(a)){if(this.isFocusable(a,!1,!0,!0))l.skippedFocusable=!0;return NodeFilter.FILTER_REJECT}let Z,i=l.fromCtx;if(!i)i=l.fromCtx=P1.getTabsterContext(this._tabster,l.from);let n=i===null||i===void 0?void 0:i.mover,v=h.groupper,d=h.mover;if(Z=(e=this._tabster.modalizer)===null||e===void 0?void 0:e.acceptElement(a,l),Z!==void 0)l.skippedFocusable=!0;if(Z===void 0&&(v||d||n)){let m=v===null||v===void 0?void 0:v.getElement(),s=n===null||n===void 0?void 0:n.getElement(),p=d===null||d===void 0?void 0:d.getElement();if(p&&O.nodeContains(s,p)&&O.nodeContains(t,s)&&(!m||!d||O.nodeContains(s,m)))d=n,p=s;if(m){if(m===t||!O.nodeContains(t,m))v=void 0;else if(!O.nodeContains(m,a))return NodeFilter.FILTER_REJECT}if(p){if(!O.nodeContains(t,p))d=void 0;else if(!O.nodeContains(p,a))return NodeFilter.FILTER_REJECT}if(v&&d)if(p&&m&&!O.nodeContains(m,p))d=void 0;else v=void 0;if(v)Z=v.acceptElement(a,l);if(d)Z=d.acceptElement(a,l)}if(Z===void 0){if(Z=l.acceptCondition(a)?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP,Z===NodeFilter.FILTER_SKIP&&this.isFocusable(a,!1,!0,!0))l.skippedFocusable=!0}if(Z===NodeFilter.FILTER_ACCEPT&&!l.found){if(!l.isFindAll&&cZ(a)&&!a.checked){let m=a.name,s=l.cachedRadioGroups[m];if(!s){if(s=ZC(a),s)l.cachedRadioGroups[m]=s}if((s===null||s===void 0?void 0:s.checked)&&s.checked!==a)return NodeFilter.FILTER_SKIP}if(l.isBackward)l.foundBackward=a,Z=NodeFilter.FILTER_SKIP;else l.found=!0,l.foundElement=a}return Z}}/*!
|
|
72
72
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
73
73
|
* Licensed under the MIT License.
|
|
74
|
-
*/var
|
|
74
|
+
*/var M0={Tab:"Tab",Enter:"Enter",Escape:"Escape",PageUp:"PageUp",PageDown:"PageDown",End:"End",Home:"Home",ArrowLeft:"ArrowLeft",ArrowUp:"ArrowUp",ArrowRight:"ArrowRight",ArrowDown:"ArrowDown"};/*!
|
|
75
75
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
76
76
|
* Licensed under the MIT License.
|
|
77
|
-
*/function
|
|
77
|
+
*/function nC(a,l){var c;let o=a.getParent,e=l;do{let r=(c=X0(a,e))===null||c===void 0?void 0:c.uncontrolled;if(r&&a.uncontrolled.isUncontrolledCompletely(e,!!r.completely))return e;e=o(e)}while(e);return}var Qp={[O7.Restorer]:0,[O7.Deloser]:1,[O7.EscapeGroupper]:2};class _0 extends hZ{constructor(a,l){super();this._init=()=>{let c=this._win(),o=c.document;o.addEventListener(F5,this._onFocusIn,!0),o.addEventListener(B6,this._onFocusOut,!0),c.addEventListener("keydown",this._onKeyDown,!0);let e=O.getActiveElement(o);if(e&&e!==o.body)this._setFocusedElement(e);this.subscribe(this._onChanged)},this._onFocusIn=(c)=>{let o=c.composedPath()[0];if(o)this._setFocusedElement(o,c.detail.relatedTarget,c.detail.isFocusedProgrammatically)},this._onFocusOut=(c)=>{var o;this._setFocusedElement(void 0,(o=c.detail)===null||o===void 0?void 0:o.originalEvent.relatedTarget)},this._validateFocusedElement=(c)=>{},this._onKeyDown=(c)=>{if(c.key!==M0.Tab||c.ctrlKey)return;let o=this.getVal();if(!o||!o.ownerDocument||o.contentEditable==="true")return;let e=this._tabster,r=e.controlTab,t=P1.getTabsterContext(e,o);if(!t||t.ignoreKeydown(c))return;let h=c.shiftKey,Z=_0.findNextTabbable(e,t,void 0,o,void 0,h,!0),i=t.root.getElement();if(!i)return;let n=Z===null||Z===void 0?void 0:Z.element,v=nC(e,o);if(n){let d=Z.uncontrolled;if(t.uncontrolled||O.nodeContains(d,o)){if(!Z.outOfDOMOrder&&d===t.uncontrolled||v&&!O.nodeContains(v,n))return;n4.addPhantomDummyWithTarget(e,o,h,n);return}if(d&&e.focusable.isVisible(d)||n.tagName==="IFRAME"&&e.focusable.isVisible(n)){if(i.dispatchEvent(new E7({by:"root",owner:i,next:n,relatedEvent:c})))n4.moveWithPhantomDummy(e,d!==null&&d!==void 0?d:n,!1,h,c);return}if(r||(Z===null||Z===void 0?void 0:Z.outOfDOMOrder)){if(i.dispatchEvent(new E7({by:"root",owner:i,next:n,relatedEvent:c})))c.preventDefault(),c.stopImmediatePropagation(),A2(n)}}else if(!v&&i.dispatchEvent(new E7({by:"root",owner:i,next:null,relatedEvent:c})))t.root.moveOutWithDefaultAction(h,c)},this._onChanged=(c,o)=>{var e,r;if(c)c.dispatchEvent(new jp(o));else{let t=(e=this._lastVal)===null||e===void 0?void 0:e.get();if(t){let h={...o},Z=P1.getTabsterContext(this._tabster,t),i=(r=Z===null||Z===void 0?void 0:Z.modalizer)===null||r===void 0?void 0:r.userId;if(i)h.modalizerId=i;t.dispatchEvent(new as(h))}}},this._tabster=a,this._win=l,a.queueInit(this._init)}dispose(){super.dispose();let a=this._win(),l=a.document;l.removeEventListener(F5,this._onFocusIn,!0),l.removeEventListener(B6,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 _0._lastResetElement,delete this._nextVal,delete this._lastVal}static forgetMemorized(a,l){var c,o;let e=_0._lastResetElement,r=e&&e.get();if(r&&O.nodeContains(l,r))delete _0._lastResetElement;if(r=(o=(c=a._nextVal)===null||c===void 0?void 0:c.element)===null||o===void 0?void 0:o.get(),r&&O.nodeContains(l,r))delete a._nextVal;if(e=a._lastVal,r=e&&e.get(),r&&O.nodeContains(l,r))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&&!tZ(l.ownerDocument,l))this._lastVal=l=void 0;return l}focus(a,l,c,o){if(!this._tabster.focusable.isFocusable(a,l,!1,c))return!1;return a.focus({preventScroll:o}),!0}focusDefault(a){let l=this._tabster.focusable.findDefault({container:a});if(l)return this._tabster.focusedElement.focus(l),!0;return!1}getFirstOrLastTabbable(a,l){var c;let{container:o,ignoreAccessibility:e}=l,r;if(o){let t=P1.getTabsterContext(this._tabster,o);if(t)r=(c=_0.findNextTabbable(this._tabster,t,o,void 0,void 0,!a,e))===null||c===void 0?void 0:c.element}if(r&&!O.nodeContains(o,r))r=void 0;return r||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"),_0._lastResetElement=new x5(this._win,a),this.focus(a,!0,!0),this._setOrRemoveAttribute(a,"tabindex",l),this._setOrRemoveAttribute(a,"aria-hidden",c)}else this.focus(a);return!0}requestAsyncFocus(a,l,c){let o=this._tabster.getWindow(),e=this._asyncFocus;if(e){if(Qp[a]>Qp[e.source])return;o.clearTimeout(e.timeout)}this._asyncFocus={source:a,callback:l,timeout:o.setTimeout(()=>{this._asyncFocus=void 0,l()},c)}}cancelAsyncFocus(a){let l=this._asyncFocus;if((l===null||l===void 0?void 0:l.source)===a)this._tabster.getWindow().clearTimeout(l.timeout),this._asyncFocus=void 0}_setOrRemoveAttribute(a,l,c){if(c===null)a.removeAttribute(l);else a.setAttribute(l,c)}_setFocusedElement(a,l,c){var o,e;if(this._tabster._noop)return;let r={relatedTarget:l};if(a){let h=(o=_0._lastResetElement)===null||o===void 0?void 0:o.get();if(_0._lastResetElement=void 0,h===a||is(a))return;r.isFocusedProgrammatically=c;let Z=P1.getTabsterContext(this._tabster,a),i=(e=Z===null||Z===void 0?void 0:Z.modalizer)===null||e===void 0?void 0:e.userId;if(i)r.modalizerId=i}let t=this._nextVal={element:a?new x5(this._win,a):void 0,detail:r};if(a&&a!==this._val)this._validateFocusedElement(a);if(this._nextVal===t)this.setVal(a,r);this._nextVal=void 0}setVal(a,l){if(super.setVal(a,l),a)this._lastVal=new x5(this._win,a)}static findNextTabbable(a,l,c,o,e,r,t){let h=c||l.root.getElement();if(!h)return null;let Z=null,i=_0._isTabbingTimer,n=a.getWindow();if(i)n.clearTimeout(i);_0.isTabbing=!0,_0._isTabbingTimer=n.setTimeout(()=>{delete _0._isTabbingTimer,_0.isTabbing=!1},0);let{modalizer:v,groupper:d,mover:m}=l,s=(p)=>{if(Z=p.findNextTabbable(o,e,r,t),o&&!(Z===null||Z===void 0?void 0:Z.element)){let M=p!==v&&O.getParentElement(p.getElement());if(M){let u=P1.getTabsterContext(a,o,{referenceElement:M});if(u){let A=p.getElement(),V=r?A:A&&ms(A)||A;if(V){if(Z=_0.findNextTabbable(a,u,c,V,M,r,t),Z)Z.outOfDOMOrder=!0}}}}};if(d&&m)s(l.groupperBeforeMover?d:m);else if(d)s(d);else if(m)s(m);else if(v)s(v);else{let p={container:h,currentElement:o,referenceElement:e,ignoreAccessibility:t,useActiveModalizer:!0},M={};Z={element:a.focusable[r?"findPrev":"findNext"](p,M),outOfDOMOrder:M.outOfDOMOrder,uncontrolled:M.uncontrolled}}return Z}}_0.isTabbing=!1;/*!
|
|
78
78
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
79
79
|
* Licensed under the MIT License.
|
|
80
|
-
*/class
|
|
80
|
+
*/class Ms extends n4{constructor(a,l,c,o){super(c,a,Ko.Groupper,o,!0);this._setHandlers((e,r,t)=>{var h,Z;let i=a.get(),n=e.input;if(i&&n){let v=P1.getTabsterContext(c,n);if(v){let d;if(d=(h=l.findNextTabbable(t||void 0,void 0,r,!0))===null||h===void 0?void 0:h.element,!d)d=(Z=_0.findNextTabbable(c,v,void 0,e.isOutside?n:tC(i,!r),void 0,r,!0))===null||Z===void 0?void 0:Z.element;if(d)A2(d)}}})}}class _s extends O6{constructor(a,l,c,o,e){super(a,l,o);if(this._shouldTabInside=!1,this.makeTabbable(!1),this._onDispose=c,!a.controlTab)this.dummyManager=new Ms(this._element,this,a,e)}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)Jp(this._element,!0);delete this._first}findNextTabbable(a,l,c,o){let e=this.getElement();if(!e)return null;let r=b6(a)===e;if(!this._shouldTabInside&&a&&O.nodeContains(e,a)&&!r)return{element:void 0,outOfDOMOrder:!0};let t=this.getFirst(!0);if(!a||!O.nodeContains(e,a)||r)return{element:t,outOfDOMOrder:!0};let h=this._tabster,Z=null,i=!1,n;if(this._shouldTabInside&&t){let v={container:e,currentElement:a,referenceElement:l,ignoreAccessibility:o,useActiveModalizer:!0},d={};if(Z=h.focusable[c?"findPrev":"findNext"](v,d),i=!!d.outOfDOMOrder,!Z&&this._props.tabbability===F8.LimitedTrapFocus)Z=h.focusable[c?"findLast":"findFirst"]({container:e,ignoreAccessibility:o,useActiveModalizer:!0},d),i=!0;n=d.uncontrolled}return{element:Z,uncontrolled:n,outOfDOMOrder:i}}makeTabbable(a){this._shouldTabInside=a||!this._props.tabbability,Jp(this._element,!this._shouldTabInside)}isActive(a){var l;let c=this.getElement()||null,o=!0;for(let r=O.getParentElement(c);r;r=O.getParentElement(r)){let t=(l=X0(this._tabster,r))===null||l===void 0?void 0:l.groupper;if(t){if(!t._shouldTabInside)o=!1}}let e=o?this._props.tabbability?this._shouldTabInside:!1:void 0;if(e&&a){let r=this._tabster.focusedElement.getFocusedElement();if(r)e=r!==this.getFirst(!0)}return e}getFirst(a){var l;let c=this.getElement(),o;if(c){if(a&&this._tabster.focusable.isFocusable(c))return c;if(o=(l=this._first)===null||l===void 0?void 0:l.get(),!o){if(o=this._tabster.focusable.findFirst({container:c,useActiveModalizer:!0})||void 0,o)this.setFirst(o)}}return o}setFirst(a){if(a)this._first=new x5(this._tabster.getWindow,a);else delete this._first}acceptElement(a,l){let c=l.cachedGrouppers,o=O.getParentElement(this.getElement()),e=o&&P1.getTabsterContext(this._tabster,o),r=e===null||e===void 0?void 0:e.groupper,t=(e===null||e===void 0?void 0:e.groupperBeforeMover)?r:void 0,h,Z=(v)=>{let d=c[v.id],m;if(d)m=d.isActive;else m=this.isActive(!0),d=c[v.id]={isActive:m};return m};if(t){if(h=t.getElement(),!Z(t)&&h&&l.container!==h&&O.nodeContains(l.container,h))return l.skippedFocusable=!0,NodeFilter.FILTER_REJECT}let i=Z(this),n=this.getElement();if(n){if(i!==!0){if(n===a&&r){if(!h)h=r.getElement();if(h&&!Z(r)&&O.nodeContains(l.container,h)&&h!==l.container)return l.skippedFocusable=!0,NodeFilter.FILTER_REJECT}if(n!==a&&O.nodeContains(n,a))return l.skippedFocusable=!0,NodeFilter.FILTER_REJECT;let v=c[this.id],d;if("first"in v)d=v.first;else d=v.first=this.getFirst(!0);if(d&&l.acceptCondition(d))if(l.rejectElementsFrom=n,l.skippedFocusable=!0,d!==l.from)return l.found=!0,l.foundElement=d,NodeFilter.FILTER_ACCEPT;else return NodeFilter.FILTER_REJECT}}return}}class us{constructor(a,l){this._current={},this._grouppers={},this._init=()=>{let c=this._win();this._tabster.focusedElement.subscribeFirst(this._onFocus);let o=c.document,e=O.getActiveElement(o);if(e)this._onFocus(e);o.addEventListener("mousedown",this._onMouseDown,!0),c.addEventListener("keydown",this._onKeyDown,!0),c.addEventListener(Wp,this._onMoveFocus)},this._onGroupperDispose=(c)=>{delete this._grouppers[c.id]},this._onFocus=(c)=>{if(c)this._updateCurrent(c)},this._onMouseDown=(c)=>{let o=c.target;while(o&&!this._tabster.focusable.isFocusable(o))o=this._tabster.getParent(o);if(o)this._updateCurrent(o)},this._onKeyDown=(c)=>{if(c.key!==M0.Enter&&c.key!==M0.Escape)return;if(c.ctrlKey||c.altKey||c.shiftKey||c.metaKey)return;let o=this._tabster.focusedElement.getFocusedElement();if(o)this.handleKeyPress(o,c)},this._onMoveFocus=(c)=>{var o;let e=c.composedPath()[0],r=(o=c.detail)===null||o===void 0?void 0:o.action;if(e&&r!==void 0&&!c.defaultPrevented){if(r===bp.Enter)this._enterGroupper(e);else this._escapeGroupper(e);c.stopImmediatePropagation()}},this._tabster=a,this._win=l,a.queueInit(this._init)}dispose(){let a=this._win();if(this._tabster.focusedElement.cancelAsyncFocus(O7.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(Wp,this._onMoveFocus),Object.keys(this._grouppers).forEach((l)=>{if(this._grouppers[l])this._grouppers[l].dispose(),delete this._grouppers[l]})}createGroupper(a,l,c){let o=this._tabster,e=new _s(o,a,this._onGroupperDispose,l,c);this._grouppers[e.id]=e;let r=o.focusedElement.getFocusedElement();if(r&&O.nodeContains(a,r)&&!this._updateTimer)this._updateTimer=this._win().setTimeout(()=>{if(delete this._updateTimer,r===o.focusedElement.getFocusedElement())this._updateCurrent(r)},0);return e}forgetCurrentGrouppers(){this._current={}}_updateCurrent(a){var l;if(this._updateTimer)this._win().clearTimeout(this._updateTimer),delete this._updateTimer;let c=this._tabster,o={};for(let e=c.getParent(a);e;e=c.getParent(e)){let r=(l=X0(c,e))===null||l===void 0?void 0:l.groupper;if(r){o[r.id]=!0,this._current[r.id]=r;let t=r.isActive()||a!==e&&(!r.getProps().delegated||r.getFirst(!1)!==a);r.makeTabbable(t)}}for(let e of Object.keys(this._current)){let r=this._current[e];if(!(r.id in o))r.makeTabbable(!1),r.setFirst(void 0),delete this._current[e]}}_enterGroupper(a,l){let c=this._tabster,o=P1.getTabsterContext(c,a),e=(o===null||o===void 0?void 0:o.groupper)||(o===null||o===void 0?void 0:o.modalizerInGroupper),r=e===null||e===void 0?void 0:e.getElement();if(e&&r&&(a===r||e.getProps().delegated&&a===e.getFirst(!1))){let t=c.focusable.findNext({container:r,currentElement:a,useActiveModalizer:!0});if(t&&(!l||l&&r.dispatchEvent(new E7({by:"groupper",owner:r,next:t,relatedEvent:l})))){if(l)l.preventDefault(),l.stopImmediatePropagation();return t.focus(),t}}return null}_escapeGroupper(a,l,c){let o=this._tabster,e=P1.getTabsterContext(o,a),r=(e===null||e===void 0?void 0:e.groupper)||(e===null||e===void 0?void 0:e.modalizerInGroupper),t=r===null||r===void 0?void 0:r.getElement();if(r&&t&&O.nodeContains(t,a)){let h;if(a!==t||c)h=r.getFirst(!0);else{let Z=O.getParentElement(t),i=Z?P1.getTabsterContext(o,Z):void 0;r=i===null||i===void 0?void 0:i.groupper,h=r===null||r===void 0?void 0:r.getFirst(!0)}if(h&&(!l||l&&t.dispatchEvent(new E7({by:"groupper",owner:t,next:h,relatedEvent:l})))){if(r)r.makeTabbable(!1);return h.focus(),h}}return null}moveFocus(a,l){return l===bp.Enter?this._enterGroupper(a):this._escapeGroupper(a)}handleKeyPress(a,l,c){let o=this._tabster,e=P1.getTabsterContext(o,a);if(e&&((e===null||e===void 0?void 0:e.groupper)||(e===null||e===void 0?void 0:e.modalizerInGroupper))){if(o.focusedElement.cancelAsyncFocus(O7.EscapeGroupper),e.ignoreKeydown(l))return;if(l.key===M0.Enter)this._enterGroupper(a,l);else if(l.key===M0.Escape){let r=o.focusedElement.getFocusedElement();o.focusedElement.requestAsyncFocus(O7.EscapeGroupper,()=>{if(r!==o.focusedElement.getFocusedElement()&&(c&&!r||!c))return;this._escapeGroupper(a,l,c)},0)}}}}function Jp(a,l){{let c=a.get();if(c)if(l)c.style.removeProperty("--tabster-groupper");else c.style.setProperty("--tabster-groupper","unlimited")}}/*!
|
|
81
81
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
82
82
|
* Licensed under the MIT License.
|
|
83
|
-
*/class
|
|
83
|
+
*/class As extends hZ{constructor(a){super();this._onChange=(l)=>{this.setVal(l,void 0)},this._keyborg=M3(a()),this._keyborg.subscribe(this._onChange)}dispose(){if(super.dispose(),this._keyborg)this._keyborg.unsubscribe(this._onChange),_3(this._keyborg),delete this._keyborg}setNavigatingWithKeyboard(a){var l;(l=this._keyborg)===null||l===void 0||l.setVal(a)}isNavigatingWithKeyboard(){var a;return!!((a=this._keyborg)===null||a===void 0?void 0:a.isNavigatingWithKeyboard())}}/*!
|
|
84
84
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
85
85
|
* Licensed under the MIT License.
|
|
86
|
-
*/var
|
|
86
|
+
*/var dC=0,$h="aria-hidden";function Yh(a,l,c,o,e,r){{let t=a.get();if(t)if(l)t.style.removeProperty("--tabster-modalizer");else t.style.setProperty("--tabster-modalizer",c+","+o+","+(e?"active":"inactive")+",,"+(r?`focused(${r})`:"not-focused"))}}class Hs extends n4{constructor(a,l,c){super(l,a,Ko.Modalizer,c);this._setHandlers((o,e)=>{var r,t;let h=a.get(),Z=h&&((r=P1.getRoot(l,h))===null||r===void 0?void 0:r.getElement()),i=o.input,n;if(Z&&i){let v=b6(i),d=P1.getTabsterContext(l,v||i);if(d)n=(t=_0.findNextTabbable(l,d,Z,i,void 0,e,!0))===null||t===void 0?void 0:t.element;if(n)A2(n)}})}}class Vs extends O6{constructor(a,l,c,o,e,r){super(a,l,o);if(this._wasFocused=0,this.userId=o.id,this._onDispose=c,this._activeElements=r,!a.controlTab)this.dummyManager=new Hs(this._element,a,e);Yh(this._element,!1,this.id,this.userId,this._isActive,this._wasFocused)}makeActive(a){if(this._isActive!==a){this._isActive=a;let l=this.getElement();if(l){let c=this._activeElements,o=c.map((e)=>e.get()).indexOf(l);if(a){if(o<0)c.push(new x5(this._tabster.getWindow,l))}else if(o>=0)c.splice(o,1)}Yh(this._element,!1,this.id,this.userId,this._isActive,this._wasFocused),this._dispatchEvent(a)}}focused(a){if(!a)this._wasFocused=++dC;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 O.nodeContains(this.getElement(),a)}findNextTabbable(a,l,c,o){var e,r;if(!this.getElement())return null;let h=this._tabster,Z=null,i=!1,n,v=a&&((e=P1.getRoot(h,a))===null||e===void 0?void 0:e.getElement());if(v){let d={container:v,currentElement:a,referenceElement:l,ignoreAccessibility:o,useActiveModalizer:!0},m={};if(Z=h.focusable[c?"findPrev":"findNext"](d,m),!Z&&this._props.isTrapped&&((r=h.modalizer)===null||r===void 0?void 0:r.activeId)){if(Z=h.focusable[c?"findLast":"findFirst"]({container:v,ignoreAccessibility:o,useActiveModalizer:!0},m),Z===null)Z=a;i=!0}else i=!!m.outOfDOMOrder;n=m.uncontrolled}return{element:Z,uncontrolled:n,outOfDOMOrder:i}}_dispatchEvent(a,l){let c=this.getElement(),o=!1;if(c){let e=l?this._activeElements.map((r)=>r.get()):[c];for(let r of e)if(r){let t={id:this.userId,element:c},h=a?new ls(t):new cs(t);if(r.dispatchEvent(h),h.defaultPrevented)o=!0}}return o}_remove(){Yh(this._element,!0)}}class gs{constructor(a,l,c){if(this._onModalizerDispose=(e)=>{let{id:r,userId:t}=e,h=this._parts[t];if(delete this._modalizers[r],h){if(delete h[r],Object.keys(h).length===0){delete this._parts[t];let Z=this._activationHistory,i=[],n;for(let v=Z.length;v--;){let d=Z[v];if(d===t)continue;if(d!==n){if(n=d,d||i.length>0)i.unshift(d)}}if(this._activationHistory=i,this.activeId===t){let v=i[0],d=v?Object.values(this._parts[v])[0]:void 0;this.setActive(d)}}}},this._onKeyDown=(e)=>{var r;if(e.key!==M0.Escape)return;let t=this._tabster,h=t.focusedElement.getFocusedElement();if(h){let Z=P1.getTabsterContext(t,h),i=Z===null||Z===void 0?void 0:Z.modalizer;if(Z&&!Z.groupper&&(i===null||i===void 0?void 0:i.isActive())&&!Z.ignoreKeydown(e)){let n=i.userId;if(n){let v=this._parts[n];if(v){let d=Object.keys(v).map((m)=>{var s;let p=v[m],M=p.getElement(),u;if(M)u=(s=X0(t,M))===null||s===void 0?void 0:s.groupper;return p&&M&&u?{el:M,focusedSince:p.focused(!0)}:{focusedSince:0}}).filter((m)=>m.focusedSince>0).sort((m,s)=>m.focusedSince>s.focusedSince?-1:m.focusedSince<s.focusedSince?1:0);if(d.length){let m=d[0].el;if(m)(r=t.groupper)===null||r===void 0||r.handleKeyPress(m,e,!0)}}}}}},this._onFocus=(e,r)=>{var t;let h=this._tabster,Z=e&&P1.getTabsterContext(h,e);if(!Z||!e)return;let i=this._augMap;for(let m=e;m;m=O.getParentElement(m))if(i.has(m))i.delete(m),Kh(h,m,$h);let n=Z.modalizer,v=X0(h,e),d=v===null||v===void 0?void 0:v.modalizer;if(d){if(d.focused(),d.userId===this.activeId&&v.groupper){let m=h.getParent(e),s=m&&((t=P1.getTabsterContext(h,m))===null||t===void 0?void 0:t.modalizer);if(s)n=s;else{this.setActive(void 0);return}}}if(n===null||n===void 0||n.focused(),(n===null||n===void 0?void 0:n.userId)===this.activeId){this.currentIsOthersAccessible=n===null||n===void 0?void 0:n.getProps().isOthersAccessible;return}if(r.isFocusedProgrammatically||this.currentIsOthersAccessible||(n===null||n===void 0?void 0:n.getProps().isAlwaysAccessible))this.setActive(n);else{let m=this._win();m.clearTimeout(this._restoreModalizerFocusTimer),this._restoreModalizerFocusTimer=m.setTimeout(()=>this._restoreModalizerFocus(e),100)}},this._tabster=a,this._win=a.getWindow,this._modalizers={},this._parts={},this._augMap=/*@__PURE__*/new WeakMap,this._aug=[],this._alwaysAccessibleSelector=l,this._accessibleCheck=c,this._activationHistory=[],this.activeElements=[],!a.controlTab)a.root.addDummyInputs();this._win().addEventListener("keydown",this._onKeyDown,!0),a.queueInit(()=>{this._tabster.focusedElement.subscribe(this._onFocus)})}dispose(){let a=this._win();a.removeEventListener("keydown",this._onKeyDown,!0),Object.keys(this._modalizers).forEach((l)=>{if(this._modalizers[l])this._modalizers[l].dispose(),delete this._modalizers[l]}),a.clearTimeout(this._restoreModalizerFocusTimer),a.clearTimeout(this._hiddenUpdateTimer),this._parts={},delete this.activeId,this.activeElements=[],this._augMap=/*@__PURE__*/new WeakMap,this._aug=[],this._tabster.focusedElement.unsubscribe(this._onFocus)}createModalizer(a,l,c){var o;let e=new Vs(this._tabster,a,this._onModalizerDispose,l,c,this.activeElements),r=e.id,t=l.id;this._modalizers[r]=e;let h=this._parts[t];if(!h)h=this._parts[t]={};h[r]=e;let Z=(o=this._tabster.focusedElement.getFocusedElement())!==null&&o!==void 0?o:null;if(a!==Z&&O.nodeContains(a,Z))if(t!==this.activeId)this.setActive(e);else e.makeActive(!0);return e}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 e=this._parts[c];if(e)for(let r of Object.keys(e))e[r].makeActive(!1)}if(l){let e=this._parts[l];if(e)for(let r of Object.keys(e))e[r].makeActive(!0)}this.currentIsOthersAccessible=a===null||a===void 0?void 0:a.getProps().isOthersAccessible,this.hiddenUpdate();let o=this._activationHistory;if(o[0]!==l&&(l!==void 0||o.length>0))o.unshift(l)}focus(a,l,c){let o=this._tabster,e=P1.getTabsterContext(o,a),r=e===null||e===void 0?void 0:e.modalizer;if(r){this.setActive(r);let t=r.getProps(),h=r.getElement();if(h){if(l===void 0)l=t.isNoFocusFirst;if(!l&&o.keyboardNavigation.isNavigatingWithKeyboard()&&o.focusedElement.focusFirst({container:h}))return!0;if(c===void 0)c=t.isNoFocusDefault;if(!c&&o.focusedElement.focusDefault(h))return!0;o.focusedElement.resetFocus(h)}}else console.error("Element is not in Modalizer.",a);return!1}activate(a){var l;let c=a?(l=P1.getTabsterContext(this._tabster,a))===null||l===void 0?void 0:l.modalizer:void 0;if(!a||c)return this.setActive(c),!0;return!1}acceptElement(a,l){var c;let o=l.modalizerUserId,e=(c=l.currentCtx)===null||c===void 0?void 0:c.modalizer;if(o)for(let t of this.activeElements){let h=t.get();if(h&&(O.nodeContains(a,h)||h===a))return NodeFilter.FILTER_SKIP}let r=o===(e===null||e===void 0?void 0:e.userId)||!o&&(e===null||e===void 0?void 0:e.getProps().isAlwaysAccessible)?void 0:NodeFilter.FILTER_SKIP;if(r!==void 0)l.skippedFocusable=!0;return r}_hiddenUpdate(){var a;let l=this._tabster,c=l.getWindow().document.body,o=this.activeId,e=this._parts,r=[],t=[],h=this._alwaysAccessibleSelector,Z=h?Array.from(O.querySelectorAll(c,h)):[],i=[];for(let M of Object.keys(e)){let u=e[M];for(let A of Object.keys(u)){let V=u[A],H=V.getElement(),S=V.getProps().isAlwaysAccessible;if(H)if(M===o){if(i.push(H),!this.currentIsOthersAccessible)r.push(H)}else if(S)Z.push(H);else t.push(H)}}let n=this._augMap,v=r.length>0?[...r,...Z]:void 0,d=[],m=/*@__PURE__*/new WeakMap,s=(M,u)=>{var A;let V=M.tagName;if(V==="SCRIPT"||V==="STYLE")return;let H=!1;if(n.has(M))if(u)H=!0;else n.delete(M),Kh(l,M,$h);else if(u&&!((A=this._accessibleCheck)===null||A===void 0?void 0:A.call(this,M,i))&&Kh(l,M,$h,"true"))n.set(M,!0),H=!0;if(H)d.push(new x5(l.getWindow,M)),m.set(M,!0)},p=(M)=>{var u;for(let A=O.getFirstElementChild(M);A;A=O.getNextElementSibling(A)){let V=!1,H=!1,g=!1;if(v){let S=l.getParent(A);for(let C of v){if(A===C){V=!0;break}if(O.nodeContains(A,C)){H=!0;break}else if(O.nodeContains(C,S))g=!0}if(H||((u=A.__tabsterElementFlags)===null||u===void 0?void 0:u.noDirectAriaHidden))p(A);else if(!V&&!g)s(A,!0)}else s(A,!1)}};if(!v)Z.forEach((M)=>s(M,!1));if(t.forEach((M)=>s(M,!0)),c)p(c);(a=this._aug)===null||a===void 0||a.map((M)=>M.get()).forEach((M)=>{if(M&&!m.get(M))s(M,!1)}),this._aug=d,this._augMap=m}_restoreModalizerFocus(a){var l;let c=a===null||a===void 0?void 0:a.ownerDocument;if(!a||!c)return;let o=this._tabster.focusedElement.getFocusedElement(),e=o&&((l=P1.getTabsterContext(this._tabster,o))===null||l===void 0?void 0:l.modalizer);if(!o||o&&(e===null||e===void 0?void 0:e.userId)===this.activeId)return;let r=this._tabster,t=P1.getTabsterContext(r,a),h=t===null||t===void 0?void 0:t.modalizer,Z=this.activeId;if(!h&&!Z||h&&Z===h.userId)return;let i=t===null||t===void 0?void 0:t.root.getElement();if(i){let n=r.focusable.findFirst({container:i,useActiveModalizer:!0});if(n){if(a.compareDocumentPosition(n)&document.DOCUMENT_POSITION_PRECEDING){if(n=r.focusable.findLast({container:i,useActiveModalizer:!0}),!n)throw new Error("Something went wrong.")}r.focusedElement.focus(n);return}}a.blur()}}/*!
|
|
87
87
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
88
88
|
* Licensed under the MIT License.
|
|
89
|
-
*/var tx=/*@__PURE__*/["input","textarea","*[contenteditable]"].join(", ");class wm extends X3{constructor(a,l,c,o){super(l,a,go.Mover,o);this._onFocusDummyInput=(e)=>{var r,t;let h=this._element.get(),Z=e.input;if(h&&Z){let i=P1.getTabsterContext(this._tabster,h),v;if(i)v=(r=M0.findNextTabbable(this._tabster,i,void 0,Z,void 0,!e.isFirst,!0))===null||r===void 0?void 0:r.element;let n=(t=this._getMemorized())===null||t===void 0?void 0:t.get();if(n&&this._tabster.focusable.isFocusable(n))v=n;if(v)s2(v)}},this._tabster=l,this._getMemorized=c,this._setHandlers(this._onFocusDummyInput)}}var Ah=1,lm=2,cm=3;class Sm extends g6{constructor(a,l,c,o,e){var r;super(a,l,o);if(this._visible={},this._onIntersection=(h)=>{for(let Z of h){let i=Z.target,v=fo(this._win,i),n,d=this._fullyVisible;if(Z.intersectionRatio>=0.25){if(n=Z.intersectionRatio>=0.75?h3.Visible:h3.PartiallyVisible,n===h3.Visible)d=v}else n=h3.Invisible;if(this._visible[v]!==n){if(n===void 0){if(delete this._visible[v],d===v)delete this._fullyVisible}else this._visible[v]=n,this._fullyVisible=d;let p=this.getState(i);if(p)i.dispatchEvent(new Vh(p))}}},this._win=a.getWindow,this.visibilityTolerance=(r=o.visibilityTolerance)!==null&&r!==void 0?r: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 t=()=>o.memorizeCurrent?this._current:void 0;if(!a.controlTab)this.dummyManager=new wm(this._element,a,t,e)}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 o of c){let e=o===null||o===void 0?void 0:o.get();if(e&&((l=this._allElements)===null||l===void 0?void 0:l.get(e))===this){let r=this._props;if(e&&(r.visibilityAware!==void 0||r.trackState)){let t=this.getState(e);if(t)e.dispatchEvent(new Vh(t))}}}})}getCurrent(){var a;return((a=this._current)===null||a===void 0?void 0:a.get())||null}findNextTabbable(a,l,c,o){let e=this.getElement(),r=e&&f6(a)===e;if(!e)return null;let t=null,h=!1,Z;if(this._props.tabbable||r||a&&!G.nodeContains(e,a)){let i={currentElement:a,referenceElement:l,container:e,ignoreAccessibility:o,useActiveModalizer:!0},v={};t=this._tabster.focusable[c?"findPrev":"findNext"](i,v),h=!!v.outOfDOMOrder,Z=v.uncontrolled}return{element:t,uncontrolled:Z,outOfDOMOrder:h}}acceptElement(a,l){var c,o;if(!M0.isTabbing)return((c=l.currentCtx)===null||c===void 0?void 0:c.excludedFromMover)?NodeFilter.FILTER_REJECT:void 0;let{memorizeCurrent:e,visibilityAware:r,hasDefault:t=!0}=this._props,h=this.getElement();if(h&&(e||r||t)&&(!G.nodeContains(h,l.from)||f6(l.from)===h)){let Z;if(e){let i=(o=this._current)===null||o===void 0?void 0:o.get();if(i&&l.acceptCondition(i))Z=i}if(!Z&&t)Z=this._tabster.focusable.findDefault({container:h,useActiveModalizer:!0});if(!Z&&r)Z=this._tabster.focusable.findElement({container:h,useActiveModalizer:!0,isBackward:l.isBackward,acceptCondition:(i)=>{var v;let n=fo(this._win,i),d=this._visible[n];return h!==i&&!!((v=this._allElements)===null||v===void 0?void 0:v.get(i))&&l.acceptCondition(i)&&(d===h3.Visible||d===h3.PartiallyVisible&&(r===h3.PartiallyVisible||!this._fullyVisible))}});if(Z)return l.found=!0,l.foundElement=Z,l.rejectElementsFrom=h,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,o=this._tabster.focusable,e=this._updateQueue=[],r=G.createMutationObserver((d)=>{for(let p of d){let{target:m,removedNodes:s,addedNodes:M}=p;if(p.type==="attributes"){if(p.attributeName==="tabindex")e.push({element:m,type:lm})}else{for(let u=0;u<s.length;u++)e.push({element:s[u],type:cm});for(let u=0;u<M.length;u++)e.push({element:M[u],type:Ah})}}v()}),t=(d,p)=>{var m,s;let M=c.get(d);if(M&&p)(m=this._intersectionObserver)===null||m===void 0||m.unobserve(d),c.delete(d);if(!M&&!p)c.set(d,this),(s=this._intersectionObserver)===null||s===void 0||s.observe(d)},h=(d)=>{let p=o.isFocusable(d);if(c.get(d)){if(!p)t(d,!0)}else if(p)t(d)},Z=(d)=>{let{mover:p}=n(d);if(p&&p!==this)if(p.getElement()===d&&o.isFocusable(d))t(d);else return;let m=Lh(l.document,d,(s)=>{let{mover:M,groupper:u}=n(s);if(M&&M!==this)return NodeFilter.FILTER_REJECT;let A=u===null||u===void 0?void 0:u.getFirst(!0);if(u&&u.getElement()!==s&&A&&A!==s)return NodeFilter.FILTER_REJECT;if(o.isFocusable(s))t(s);return NodeFilter.FILTER_SKIP});if(m){m.currentNode=d;while(m.nextNode());}},i=(d)=>{if(c.get(d))t(d,!0);for(let m=G.getFirstElementChild(d);m;m=G.getNextElementSibling(m))i(m)},v=()=>{if(!this._updateTimer&&e.length)this._updateTimer=l.setTimeout(()=>{delete this._updateTimer;for(let{element:d,type:p}of e)switch(p){case lm:h(d);break;case Ah:Z(d);break;case cm:i(d);break}e=this._updateQueue=[]},0)},n=(d)=>{let p={};for(let m=d;m;m=G.getParentElement(m)){let s=Q0(this._tabster,m);if(s){if(s.groupper&&!p.groupper)p.groupper=s.groupper;if(s.mover){p.mover=s.mover;break}}}return p};e.push({element:a,type:Ah}),v(),r.observe(a,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["tabindex"]}),this._unobserve=()=>{r.disconnect()}}getState(a){let l=fo(this._win,a);if(l in this._visible){let c=this._visible[l]||h3.Invisible;return{isCurrent:this._current?this._current.get()===a:void 0,visibility:c}}return}}function hx(a,l,c,o,e,r,t,h){let Z=c<e?e-c:t<a?a-t:0,i=o<r?r-o:h<l?l-h:0;return Z===0?i:i===0?Z:Math.sqrt(Z*Z+i*i)}class km{constructor(a,l){this._init=()=>{let c=this._win();c.addEventListener("keydown",this._onKeyDown,!0),c.addEventListener(Kp,this._onMoveFocus),c.addEventListener(Jp,this._onMemorizedElement),this._tabster.focusedElement.subscribe(this._onFocus)},this._onMoverDispose=(c)=>{delete this._movers[c.id]},this._onFocus=(c)=>{var o;let e=c,r=c;for(let t=G.getParentElement(c);t;t=G.getParentElement(t)){let h=(o=Q0(this._tabster,t))===null||o===void 0?void 0:o.mover;if(h)h.setCurrent(r),e=void 0;if(!e&&this._tabster.focusable.isFocusable(t))e=r=t}},this._onKeyDown=async(c)=>{var o;if(this._ignoredInputTimer)this._win().clearTimeout(this._ignoredInputTimer),delete this._ignoredInputTimer;if((o=this._ignoredInputResolve)===null||o===void 0||o.call(this,!1),c.ctrlKey||c.altKey||c.shiftKey||c.metaKey)return;let e=c.key,r;if(e===s0.ArrowDown)r=H0.ArrowDown;else if(e===s0.ArrowRight)r=H0.ArrowRight;else if(e===s0.ArrowUp)r=H0.ArrowUp;else if(e===s0.ArrowLeft)r=H0.ArrowLeft;else if(e===s0.PageDown)r=H0.PageDown;else if(e===s0.PageUp)r=H0.PageUp;else if(e===s0.Home)r=H0.Home;else if(e===s0.End)r=H0.End;if(!r)return;let t=this._tabster.focusedElement.getFocusedElement();if(!t||await this._isIgnoredInput(t,e))return;this._moveFocus(t,r,c)},this._onMoveFocus=(c)=>{var o;let e=c.composedPath()[0],r=(o=c.detail)===null||o===void 0?void 0:o.key;if(e&&r!==void 0&&!c.defaultPrevented)this._moveFocus(e,r),c.stopImmediatePropagation()},this._onMemorizedElement=(c)=>{var o;let e=c.composedPath()[0],r=(o=c.detail)===null||o===void 0?void 0:o.memorizedElement;if(e){let t=P1.getTabsterContext(this._tabster,e),h=t===null||t===void 0?void 0:t.mover;if(h){if(r&&!G.nodeContains(h.getElement(),r))r=void 0;h.setCurrent(r),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(Kp,this._onMoveFocus),l.removeEventListener(Jp,this._onMemorizedElement),Object.keys(this._movers).forEach((c)=>{if(this._movers[c])this._movers[c].dispose(),delete this._movers[c]})}createMover(a,l,c){let o=new Sm(this._tabster,a,this._onMoverDispose,l,c);return this._movers[o.id]=o,o}moveFocus(a,l){return this._moveFocus(a,l)}_moveFocus(a,l,c){var o,e;let r=this._tabster,t=P1.getTabsterContext(r,a,{checkRtl:!0});if(!t||!t.mover||t.excludedFromMover||c&&t.ignoreKeydown(c))return null;let h=t.mover,Z=h.getElement();if(t.groupperBeforeMover){let x=t.groupper;if(x&&!x.isActive(!0)){for(let b=G.getParentElement(x.getElement());b&&b!==Z;b=G.getParentElement(b))if((e=(o=Q0(r,b))===null||o===void 0?void 0:o.groupper)===null||e===void 0?void 0:e.isActive(!0))return null}else return null}if(!Z)return null;let i=r.focusable,v=h.getProps(),n=v.direction||N5.Both,d=n===N5.Both,p=d||n===N5.Vertical,m=d||n===N5.Horizontal,s=n===N5.GridLinear,M=s||n===N5.Grid,u=v.cyclic,A,H,g,F=0,D=0;if(M)g=a.getBoundingClientRect(),F=Math.ceil(g.left),D=Math.floor(g.right);if(t.rtl){if(l===H0.ArrowRight)l=H0.ArrowLeft;else if(l===H0.ArrowLeft)l=H0.ArrowRight}if(l===H0.ArrowDown&&p||l===H0.ArrowRight&&(m||M)){if(A=i.findNext({currentElement:a,container:Z,useActiveModalizer:!0}),A&&M){let x=Math.ceil(A.getBoundingClientRect().left);if(!s&&D>x)A=void 0}else if(!A&&u)A=i.findFirst({container:Z,useActiveModalizer:!0})}else if(l===H0.ArrowUp&&p||l===H0.ArrowLeft&&(m||M)){if(A=i.findPrev({currentElement:a,container:Z,useActiveModalizer:!0}),A&&M){let x=Math.floor(A.getBoundingClientRect().right);if(!s&&x>F)A=void 0}else if(!A&&u)A=i.findLast({container:Z,useActiveModalizer:!0})}else if(l===H0.Home)if(M)i.findElement({container:Z,currentElement:a,useActiveModalizer:!0,isBackward:!0,acceptCondition:(x)=>{var b;if(!i.isFocusable(x))return!1;let T=Math.ceil((b=x.getBoundingClientRect().left)!==null&&b!==void 0?b:0);if(x!==a&&F<=T)return!0;return A=x,!1}});else A=i.findFirst({container:Z,useActiveModalizer:!0});else if(l===H0.End)if(M)i.findElement({container:Z,currentElement:a,useActiveModalizer:!0,acceptCondition:(x)=>{var b;if(!i.isFocusable(x))return!1;let T=Math.ceil((b=x.getBoundingClientRect().left)!==null&&b!==void 0?b:0);if(x!==a&&F>=T)return!0;return A=x,!1}});else A=i.findLast({container:Z,useActiveModalizer:!0});else if(l===H0.PageUp){if(i.findElement({currentElement:a,container:Z,useActiveModalizer:!0,isBackward:!0,acceptCondition:(x)=>{if(!i.isFocusable(x))return!1;if(Yp(this._win,x,h.visibilityTolerance))return A=x,!1;return!0}}),M&&A){let x=Math.ceil(A.getBoundingClientRect().left);i.findElement({currentElement:A,container:Z,useActiveModalizer:!0,acceptCondition:(b)=>{if(!i.isFocusable(b))return!1;let T=Math.ceil(b.getBoundingClientRect().left);if(F<T||x>=T)return!0;return A=b,!1}})}H=!1}else if(l===H0.PageDown){if(i.findElement({currentElement:a,container:Z,useActiveModalizer:!0,acceptCondition:(x)=>{if(!i.isFocusable(x))return!1;if(Yp(this._win,x,h.visibilityTolerance))return A=x,!1;return!0}}),M&&A){let x=Math.ceil(A.getBoundingClientRect().left);i.findElement({currentElement:A,container:Z,useActiveModalizer:!0,isBackward:!0,acceptCondition:(b)=>{if(!i.isFocusable(b))return!1;let T=Math.ceil(b.getBoundingClientRect().left);if(F>T||x<=T)return!0;return A=b,!1}})}H=!0}else if(M){let x=l===H0.ArrowUp,b=F,T=Math.ceil(g.top),n1=D,c1=Math.floor(g.bottom),Y,C,w=0;i.findAll({container:Z,currentElement:a,isBackward:x,onElement:(U)=>{let J=U.getBoundingClientRect(),j=Math.ceil(J.left),d1=Math.ceil(J.top),q=Math.floor(J.right),m1=Math.floor(J.bottom);if(x&&T<m1||!x&&c1>d1)return!0;let H1=Math.ceil(Math.min(n1,q))-Math.floor(Math.max(b,j)),K=Math.ceil(Math.min(n1-b,q-j));if(H1>0&&K>=H1){let I=H1/K;if(I>w)Y=U,w=I}else if(w===0){let I=hx(b,T,n1,c1,j,d1,q,m1);if(C===void 0||I<C)C=I,Y=U}else if(w>0)return!1;return!0}}),A=Y}if(A&&(!c||c&&Z.dispatchEvent(new D7({by:"mover",owner:Z,next:A,relatedEvent:c})))){if(H!==void 0)JF(this._win,A,H);if(c)c.preventDefault(),c.stopImmediatePropagation();return s2(A),A}return null}async _isIgnoredInput(a,l){if(a.getAttribute("aria-expanded")==="true"&&a.hasAttribute("aria-activedescendant"))return!0;if(_m(a,tx)){let c=0,o=0,e=0,r;if(a.tagName==="INPUT"||a.tagName==="TEXTAREA"){let t=a.type;if(e=(a.value||"").length,t==="email"||t==="number"){if(e){let Z=G.getSelection(a);if(Z){let i=Z.toString().length,v=l===s0.ArrowLeft||l===s0.ArrowUp;if(Z.modify("extend",v?"backward":"forward","character"),i!==Z.toString().length)return Z.modify("extend",v?"forward":"backward","character"),!0;else e=0}}}else{let Z=a.selectionStart;if(Z===null)return t==="hidden";c=Z||0,o=a.selectionEnd||0}}else if(a.contentEditable==="true")r=new(YF(this._win))((t)=>{this._ignoredInputResolve=(d)=>{delete this._ignoredInputResolve,t(d)};let h=this._win();if(this._ignoredInputTimer)h.clearTimeout(this._ignoredInputTimer);let{anchorNode:Z,focusNode:i,anchorOffset:v,focusOffset:n}=G.getSelection(a)||{};this._ignoredInputTimer=h.setTimeout(()=>{var d,p,m;delete this._ignoredInputTimer;let{anchorNode:s,focusNode:M,anchorOffset:u,focusOffset:A}=G.getSelection(a)||{};if(s!==Z||M!==i||u!==v||A!==n){(d=this._ignoredInputResolve)===null||d===void 0||d.call(this,!1);return}if(c=u||0,o=A||0,e=((p=a.textContent)===null||p===void 0?void 0:p.length)||0,s&&M){if(G.nodeContains(a,s)&&G.nodeContains(a,M)){if(s!==a){let H=!1,g=(F)=>{if(F===s)H=!0;else if(F===M)return!0;let D=F.textContent;if(D&&!G.getFirstChild(F)){let b=D.length;if(H){if(M!==s)o+=b}else c+=b,o+=b}let x=!1;for(let b=G.getFirstChild(F);b&&!x;b=b.nextSibling)x=g(b);return x};g(a)}}}(m=this._ignoredInputResolve)===null||m===void 0||m.call(this,!0)},0)});if(r&&!await r)return!0;if(c!==o)return!0;if(c>0&&(l===s0.ArrowLeft||l===s0.ArrowUp||l===s0.Home))return!0;if(c<e&&(l===s0.ArrowRight||l===s0.ArrowDown||l===s0.End))return!0}return!1}}/*!
|
|
89
|
+
*/var mC=/*@__PURE__*/["input","textarea","*[contenteditable]"].join(", ");class fs extends n4{constructor(a,l,c,o){super(l,a,Ko.Mover,o);this._onFocusDummyInput=(e)=>{var r,t;let h=this._element.get(),Z=e.input;if(h&&Z){let i=P1.getTabsterContext(this._tabster,h),n;if(i)n=(r=_0.findNextTabbable(this._tabster,i,void 0,Z,void 0,!e.isFirst,!0))===null||r===void 0?void 0:r.element;let v=(t=this._getMemorized())===null||t===void 0?void 0:t.get();if(v&&this._tabster.focusable.isFocusable(v))n=v;if(n)A2(n)}},this._tabster=l,this._getMemorized=c,this._setHandlers(this._onFocusDummyInput)}}var Xh=1,Kp=2,$p=3;class Fs extends O6{constructor(a,l,c,o,e){var r;super(a,l,o);if(this._visible={},this._onIntersection=(h)=>{for(let Z of h){let i=Z.target,n=Jo(this._win,i),v,d=this._fullyVisible;if(Z.intersectionRatio>=0.25){if(v=Z.intersectionRatio>=0.75?u3.Visible:u3.PartiallyVisible,v===u3.Visible)d=n}else v=u3.Invisible;if(this._visible[n]!==v){if(v===void 0){if(delete this._visible[n],d===n)delete this._fullyVisible}else this._visible[n]=v,this._fullyVisible=d;let m=this.getState(i);if(m)i.dispatchEvent(new jh(m))}}},this._win=a.getWindow,this.visibilityTolerance=(r=o.visibilityTolerance)!==null&&r!==void 0?r: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 t=()=>o.memorizeCurrent?this._current:void 0;if(!a.controlTab)this.dummyManager=new fs(this._element,a,t,e)}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 x5(this._win,a);else this._current=void 0;if((this._props.trackState||this._props.visibilityAware)&&!this._setCurrentTimer)this._setCurrentTimer=this._win().setTimeout(()=>{var l;delete this._setCurrentTimer;let c=[];if(this._current!==this._prevCurrent)c.push(this._current),c.push(this._prevCurrent),this._prevCurrent=this._current;for(let o of c){let e=o===null||o===void 0?void 0:o.get();if(e&&((l=this._allElements)===null||l===void 0?void 0:l.get(e))===this){let r=this._props;if(e&&(r.visibilityAware!==void 0||r.trackState)){let t=this.getState(e);if(t)e.dispatchEvent(new jh(t))}}}})}getCurrent(){var a;return((a=this._current)===null||a===void 0?void 0:a.get())||null}findNextTabbable(a,l,c,o){let e=this.getElement(),r=e&&b6(a)===e;if(!e)return null;let t=null,h=!1,Z;if(this._props.tabbable||r||a&&!O.nodeContains(e,a)){let i={currentElement:a,referenceElement:l,container:e,ignoreAccessibility:o,useActiveModalizer:!0},n={};t=this._tabster.focusable[c?"findPrev":"findNext"](i,n),h=!!n.outOfDOMOrder,Z=n.uncontrolled}return{element:t,uncontrolled:Z,outOfDOMOrder:h}}acceptElement(a,l){var c,o;if(!_0.isTabbing)return((c=l.currentCtx)===null||c===void 0?void 0:c.excludedFromMover)?NodeFilter.FILTER_REJECT:void 0;let{memorizeCurrent:e,visibilityAware:r,hasDefault:t=!0}=this._props,h=this.getElement();if(h&&(e||r||t)&&(!O.nodeContains(h,l.from)||b6(l.from)===h)){let Z;if(e){let i=(o=this._current)===null||o===void 0?void 0:o.get();if(i&&l.acceptCondition(i))Z=i}if(!Z&&t)Z=this._tabster.focusable.findDefault({container:h,useActiveModalizer:!0});if(!Z&&r)Z=this._tabster.focusable.findElement({container:h,useActiveModalizer:!0,isBackward:l.isBackward,acceptCondition:(i)=>{var n;let v=Jo(this._win,i),d=this._visible[v];return h!==i&&!!((n=this._allElements)===null||n===void 0?void 0:n.get(i))&&l.acceptCondition(i)&&(d===u3.Visible||d===u3.PartiallyVisible&&(r===u3.PartiallyVisible||!this._fullyVisible))}});if(Z)return l.found=!0,l.foundElement=Z,l.rejectElementsFrom=h,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,o=this._tabster.focusable,e=this._updateQueue=[],r=O.createMutationObserver((d)=>{for(let m of d){let{target:s,removedNodes:p,addedNodes:M}=m;if(m.type==="attributes"){if(m.attributeName==="tabindex")e.push({element:s,type:Kp})}else{for(let u=0;u<p.length;u++)e.push({element:p[u],type:$p});for(let u=0;u<M.length;u++)e.push({element:M[u],type:Xh})}}n()}),t=(d,m)=>{var s,p;let M=c.get(d);if(M&&m)(s=this._intersectionObserver)===null||s===void 0||s.unobserve(d),c.delete(d);if(!M&&!m)c.set(d,this),(p=this._intersectionObserver)===null||p===void 0||p.observe(d)},h=(d)=>{let m=o.isFocusable(d);if(c.get(d)){if(!m)t(d,!0)}else if(m)t(d)},Z=(d)=>{let{mover:m}=v(d);if(m&&m!==this)if(m.getElement()===d&&o.isFocusable(d))t(d);else return;let s=rZ(l.document,d,(p)=>{let{mover:M,groupper:u}=v(p);if(M&&M!==this)return NodeFilter.FILTER_REJECT;let A=u===null||u===void 0?void 0:u.getFirst(!0);if(u&&u.getElement()!==p&&A&&A!==p)return NodeFilter.FILTER_REJECT;if(o.isFocusable(p))t(p);return NodeFilter.FILTER_SKIP});if(s){s.currentNode=d;while(s.nextNode());}},i=(d)=>{if(c.get(d))t(d,!0);for(let s=O.getFirstElementChild(d);s;s=O.getNextElementSibling(s))i(s)},n=()=>{if(!this._updateTimer&&e.length)this._updateTimer=l.setTimeout(()=>{delete this._updateTimer;for(let{element:d,type:m}of e)switch(m){case Kp:h(d);break;case Xh:Z(d);break;case $p:i(d);break}e=this._updateQueue=[]},0)},v=(d)=>{let m={};for(let s=d;s;s=O.getParentElement(s)){let p=X0(this._tabster,s);if(p){if(p.groupper&&!m.groupper)m.groupper=p.groupper;if(p.mover){m.mover=p.mover;break}}}return m};e.push({element:a,type:Xh}),n(),r.observe(a,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["tabindex"]}),this._unobserve=()=>{r.disconnect()}}getState(a){let l=Jo(this._win,a);if(l in this._visible){let c=this._visible[l]||u3.Invisible;return{isCurrent:this._current?this._current.get()===a:void 0,visibility:c}}return}}function pC(a,l,c,o,e,r,t,h){let Z=c<e?e-c:t<a?a-t:0,i=o<r?r-o:h<l?l-h:0;return Z===0?i:i===0?Z:Math.sqrt(Z*Z+i*i)}class xs{constructor(a,l){this._init=()=>{let c=this._win();c.addEventListener("keydown",this._onKeyDown,!0),c.addEventListener(Op,this._onMoveFocus),c.addEventListener(Ep,this._onMemorizedElement),this._tabster.focusedElement.subscribe(this._onFocus)},this._onMoverDispose=(c)=>{delete this._movers[c.id]},this._onFocus=(c)=>{var o;let e=c,r=c;for(let t=O.getParentElement(c);t;t=O.getParentElement(t)){let h=(o=X0(this._tabster,t))===null||o===void 0?void 0:o.mover;if(h)h.setCurrent(r),e=void 0;if(!e&&this._tabster.focusable.isFocusable(t))e=r=t}},this._onKeyDown=async(c)=>{var o;if(this._ignoredInputTimer)this._win().clearTimeout(this._ignoredInputTimer),delete this._ignoredInputTimer;if((o=this._ignoredInputResolve)===null||o===void 0||o.call(this,!1),c.ctrlKey||c.altKey||c.shiftKey||c.metaKey)return;let e=c.key,r;if(e===M0.ArrowDown)r=V0.ArrowDown;else if(e===M0.ArrowRight)r=V0.ArrowRight;else if(e===M0.ArrowUp)r=V0.ArrowUp;else if(e===M0.ArrowLeft)r=V0.ArrowLeft;else if(e===M0.PageDown)r=V0.PageDown;else if(e===M0.PageUp)r=V0.PageUp;else if(e===M0.Home)r=V0.Home;else if(e===M0.End)r=V0.End;if(!r)return;let t=this._tabster.focusedElement.getFocusedElement();if(!t||await this._isIgnoredInput(t,e))return;this._moveFocus(t,r,c)},this._onMoveFocus=(c)=>{var o;let e=c.composedPath()[0],r=(o=c.detail)===null||o===void 0?void 0:o.key;if(e&&r!==void 0&&!c.defaultPrevented)this._moveFocus(e,r),c.stopImmediatePropagation()},this._onMemorizedElement=(c)=>{var o;let e=c.composedPath()[0],r=(o=c.detail)===null||o===void 0?void 0:o.memorizedElement;if(e){let t=P1.getTabsterContext(this._tabster,e),h=t===null||t===void 0?void 0:t.mover;if(h){if(r&&!O.nodeContains(h.getElement(),r))r=void 0;h.setCurrent(r),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(Op,this._onMoveFocus),l.removeEventListener(Ep,this._onMemorizedElement),Object.keys(this._movers).forEach((c)=>{if(this._movers[c])this._movers[c].dispose(),delete this._movers[c]})}createMover(a,l,c){let o=new Fs(this._tabster,a,this._onMoverDispose,l,c);return this._movers[o.id]=o,o}moveFocus(a,l){return this._moveFocus(a,l)}_moveFocus(a,l,c){var o,e;let r=this._tabster,t=P1.getTabsterContext(r,a,{checkRtl:!0});if(!t||!t.mover||t.excludedFromMover||c&&t.ignoreKeydown(c))return null;let h=t.mover,Z=h.getElement();if(t.groupperBeforeMover){let C=t.groupper;if(C&&!C.isActive(!0)){for(let E=O.getParentElement(C.getElement());E&&E!==Z;E=O.getParentElement(E))if((e=(o=X0(r,E))===null||o===void 0?void 0:o.groupper)===null||e===void 0?void 0:e.isActive(!0))return null}else return null}if(!Z)return null;let i=r.focusable,n=h.getProps(),v=n.direction||l2.Both,d=v===l2.Both,m=d||v===l2.Vertical,s=d||v===l2.Horizontal,p=v===l2.GridLinear,M=p||v===l2.Grid,u=n.cyclic,A,V,H,g=0,S=0;if(M)H=a.getBoundingClientRect(),g=Math.ceil(H.left),S=Math.floor(H.right);if(t.rtl){if(l===V0.ArrowRight)l=V0.ArrowLeft;else if(l===V0.ArrowLeft)l=V0.ArrowRight}if(l===V0.ArrowDown&&m||l===V0.ArrowRight&&(s||M)){if(A=i.findNext({currentElement:a,container:Z,useActiveModalizer:!0}),A&&M){let C=Math.ceil(A.getBoundingClientRect().left);if(!p&&S>C)A=void 0}else if(!A&&u)A=i.findFirst({container:Z,useActiveModalizer:!0})}else if(l===V0.ArrowUp&&m||l===V0.ArrowLeft&&(s||M)){if(A=i.findPrev({currentElement:a,container:Z,useActiveModalizer:!0}),A&&M){let C=Math.floor(A.getBoundingClientRect().right);if(!p&&C>g)A=void 0}else if(!A&&u)A=i.findLast({container:Z,useActiveModalizer:!0})}else if(l===V0.Home)if(M)i.findElement({container:Z,currentElement:a,useActiveModalizer:!0,isBackward:!0,acceptCondition:(C)=>{var E;if(!i.isFocusable(C))return!1;let T=Math.ceil((E=C.getBoundingClientRect().left)!==null&&E!==void 0?E:0);if(C!==a&&g<=T)return!0;return A=C,!1}});else A=i.findFirst({container:Z,useActiveModalizer:!0});else if(l===V0.End)if(M)i.findElement({container:Z,currentElement:a,useActiveModalizer:!0,acceptCondition:(C)=>{var E;if(!i.isFocusable(C))return!1;let T=Math.ceil((E=C.getBoundingClientRect().left)!==null&&E!==void 0?E:0);if(C!==a&&g>=T)return!0;return A=C,!1}});else A=i.findLast({container:Z,useActiveModalizer:!0});else if(l===V0.PageUp){if(i.findElement({currentElement:a,container:Z,useActiveModalizer:!0,isBackward:!0,acceptCondition:(C)=>{if(!i.isFocusable(C))return!1;if(qp(this._win,C,h.visibilityTolerance))return A=C,!1;return!0}}),M&&A){let C=Math.ceil(A.getBoundingClientRect().left);i.findElement({currentElement:A,container:Z,useActiveModalizer:!0,acceptCondition:(E)=>{if(!i.isFocusable(E))return!1;let T=Math.ceil(E.getBoundingClientRect().left);if(g<T||C>=T)return!0;return A=E,!1}})}V=!1}else if(l===V0.PageDown){if(i.findElement({currentElement:a,container:Z,useActiveModalizer:!0,acceptCondition:(C)=>{if(!i.isFocusable(C))return!1;if(qp(this._win,C,h.visibilityTolerance))return A=C,!1;return!0}}),M&&A){let C=Math.ceil(A.getBoundingClientRect().left);i.findElement({currentElement:A,container:Z,useActiveModalizer:!0,isBackward:!0,acceptCondition:(E)=>{if(!i.isFocusable(E))return!1;let T=Math.ceil(E.getBoundingClientRect().left);if(g>T||C<=T)return!0;return A=E,!1}})}V=!0}else if(M){let C=l===V0.ArrowUp,E=g,T=Math.ceil(H.top),c1=S,l1=Math.floor(H.bottom),Q,x,R=0;i.findAll({container:Z,currentElement:a,isBackward:C,onElement:(U)=>{let K=U.getBoundingClientRect(),X=Math.ceil(K.left),i1=Math.ceil(K.top),J=Math.floor(K.right),s1=Math.floor(K.bottom);if(C&&T<s1||!C&&l1>i1)return!0;let H1=Math.ceil(Math.min(c1,J))-Math.floor(Math.max(E,X)),B=Math.ceil(Math.min(c1-E,J-X));if(H1>0&&B>=H1){let b=H1/B;if(b>R)Q=U,R=b}else if(R===0){let b=pC(E,T,c1,l1,X,i1,J,s1);if(x===void 0||b<x)x=b,Q=U}else if(R>0)return!1;return!0}}),A=Q}if(A&&(!c||c&&Z.dispatchEvent(new E7({by:"mover",owner:Z,next:A,relatedEvent:c})))){if(V!==void 0)aC(this._win,A,V);if(c)c.preventDefault(),c.stopImmediatePropagation();return A2(A),A}return null}async _isIgnoredInput(a,l){if(a.getAttribute("aria-expanded")==="true"&&a.hasAttribute("aria-activedescendant"))return!0;if(vs(a,mC)){let c=0,o=0,e=0,r;if(a.tagName==="INPUT"||a.tagName==="TEXTAREA"){let t=a.type;if(e=(a.value||"").length,t==="email"||t==="number"){if(e){let Z=O.getSelection(a);if(Z){let i=Z.toString().length,n=l===M0.ArrowLeft||l===M0.ArrowUp;if(Z.modify("extend",n?"backward":"forward","character"),i!==Z.toString().length)return Z.modify("extend",n?"forward":"backward","character"),!0;else e=0}}}else{let Z=a.selectionStart;if(Z===null)return t==="hidden";c=Z||0,o=a.selectionEnd||0}}else if(a.contentEditable==="true")r=new(oC(this._win))((t)=>{this._ignoredInputResolve=(d)=>{delete this._ignoredInputResolve,t(d)};let h=this._win();if(this._ignoredInputTimer)h.clearTimeout(this._ignoredInputTimer);let{anchorNode:Z,focusNode:i,anchorOffset:n,focusOffset:v}=O.getSelection(a)||{};this._ignoredInputTimer=h.setTimeout(()=>{var d,m,s;delete this._ignoredInputTimer;let{anchorNode:p,focusNode:M,anchorOffset:u,focusOffset:A}=O.getSelection(a)||{};if(p!==Z||M!==i||u!==n||A!==v){(d=this._ignoredInputResolve)===null||d===void 0||d.call(this,!1);return}if(c=u||0,o=A||0,e=((m=a.textContent)===null||m===void 0?void 0:m.length)||0,p&&M){if(O.nodeContains(a,p)&&O.nodeContains(a,M)){if(p!==a){let V=!1,H=(g)=>{if(g===p)V=!0;else if(g===M)return!0;let S=g.textContent;if(S&&!O.getFirstChild(g)){let E=S.length;if(V){if(M!==p)o+=E}else c+=E,o+=E}let C=!1;for(let E=O.getFirstChild(g);E&&!C;E=E.nextSibling)C=H(E);return C};H(a)}}}(s=this._ignoredInputResolve)===null||s===void 0||s.call(this,!0)},0)});if(r&&!await r)return!0;if(c!==o)return!0;if(c>0&&(l===M0.ArrowLeft||l===M0.ArrowUp||l===M0.Home))return!0;if(c<e&&(l===M0.ArrowRight||l===M0.ArrowDown||l===M0.End))return!0}return!1}}/*!
|
|
90
90
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
91
91
|
* Licensed under the MIT License.
|
|
92
|
-
*/function
|
|
92
|
+
*/function sC(a,l,c,o){if(typeof MutationObserver==="undefined")return()=>{};let e=l.getWindow,r,t=(n)=>{var v,d,m,s,p;let M=/*@__PURE__*/new Set;for(let u of n){let{target:A,removedNodes:V,addedNodes:H}=u;if(u.type==="attributes"){if(u.attributeName===Z7){if(!M.has(A))c(l,A)}}else{for(let g=0;g<V.length;g++){let S=V[g];M.add(S),h(S,!0),(d=(v=l._dummyObserver).domChanged)===null||d===void 0||d.call(v,A)}for(let g=0;g<H.length;g++)h(H[g]),(s=(m=l._dummyObserver).domChanged)===null||s===void 0||s.call(m,A)}}M.clear(),(p=l.modalizer)===null||p===void 0||p.hiddenUpdate()};function h(n,v){if(!r)r=I7(e).elementByUId;Z(n,v);let d=rZ(a,n,(m)=>{return Z(m,v)});if(d)while(d.nextNode());}function Z(n,v){var d;if(!n.getAttribute)return NodeFilter.FILTER_SKIP;let m=n.__tabsterElementUID;if(m&&r)if(v)delete r[m];else(d=r[m])!==null&&d!==void 0||(r[m]=new x5(e,n));if(X0(l,n)||n.hasAttribute(Z7))c(l,n,v);return NodeFilter.FILTER_SKIP}let i=O.createMutationObserver(t);if(o)h(e().document.body);return i.observe(a,{childList:!0,subtree:!0,attributes:!0,attributeFilter:[Z7]}),()=>{i.disconnect()}}/*!
|
|
93
93
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
94
94
|
* Licensed under the MIT License.
|
|
95
95
|
*//*!
|
|
@@ -98,19 +98,19 @@ You can check this by searching up for matching entries in a lockfile produced b
|
|
|
98
98
|
*//*!
|
|
99
99
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
100
100
|
* Licensed under the MIT License.
|
|
101
|
-
*/class
|
|
101
|
+
*/class Cs{constructor(a){this._isUncontrolledCompletely=a}isUncontrolledCompletely(a,l){var c;let o=(c=this._isUncontrolledCompletely)===null||c===void 0?void 0:c.call(this,a,l);return o===void 0?l:o}}/*!
|
|
102
102
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
103
103
|
* Licensed under the MIT License.
|
|
104
|
-
*/class
|
|
104
|
+
*/class Ls extends O6{constructor(a,l,c){var o;super(a,l,c);if(this._hasFocus=!1,this._onFocusOut=(e)=>{var r;let t=(r=this._element)===null||r===void 0?void 0:r.get();if(t&&e.relatedTarget===null)t.dispatchEvent(new aZ);if(t&&!O.nodeContains(t,e.relatedTarget))this._hasFocus=!1},this._onFocusIn=()=>{this._hasFocus=!0},this._props.type===W7.Source){let e=(o=this._element)===null||o===void 0?void 0:o.get();e===null||e===void 0||e.addEventListener("focusout",this._onFocusOut),e===null||e===void 0||e.addEventListener("focusin",this._onFocusIn),this._hasFocus=O.nodeContains(e,e&&O.getActiveElement(e.ownerDocument))}}dispose(){var a;if(this._props.type===W7.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 aZ)}}}class $o{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>$o.DEPTH)this._stack.shift();this._stack.push(new x5(this._getWindow,a))}pop(a){if(a===void 0)a=()=>!0;var l;let c=this._getWindow().document;for(let o=this._stack.length-1;o>=0;o--){let e=(l=this._stack.pop())===null||l===void 0?void 0:l.get();if(e&&O.nodeContains(c.body,O.getParentElement(e))&&a(e))return e}return}}$o.DEPTH=10;class Rs{constructor(a){this._onRestoreFocus=(l)=>{var c,o;this._focusedElementState.cancelAsyncFocus(O7.Restorer);let e=l.composedPath()[0];if(e){let r=(o=(c=X0(this._tabster,e))===null||c===void 0?void 0:c.restorer)===null||o===void 0?void 0:o.getProps().id;this._focusedElementState.requestAsyncFocus(O7.Restorer,()=>this._restoreFocus(e,r),0)}},this._onFocusIn=(l)=>{var c;if(!l)return;let o=X0(this._tabster,l);if(((c=o===null||o===void 0?void 0:o.restorer)===null||c===void 0?void 0:c.getProps().type)!==W7.Target)return;this._history.push(l)},this._restoreFocus=(l,c)=>{var o;let e=this._getWindow().document;if(O.getActiveElement(e)!==e.body)return;if(!this._keyboardNavState.isNavigatingWithKeyboard()&&O.nodeContains(e.body,l))return;let r=(t)=>{var h,Z;let i=(Z=(h=X0(this._tabster,t))===null||h===void 0?void 0:h.restorer)===null||Z===void 0?void 0:Z.getProps();return i?i.id:null};(o=this._history.pop((t)=>c===r(t)))===null||o===void 0||o.focus()},this._tabster=a,this._getWindow=a.getWindow,this._getWindow().addEventListener(Nh,this._onRestoreFocus),this._history=new $o(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(O7.Restorer),a.removeEventListener(Nh,this._onRestoreFocus)}createRestorer(a,l){let c=new Ls(this._tabster,a,l);if(l.type===W7.Target&&O.getActiveElement(a.ownerDocument)===a)this._history.push(a);return c}}/*!
|
|
105
105
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
106
106
|
* Licensed under the MIT License.
|
|
107
|
-
*/function
|
|
107
|
+
*/function MC(a,l){var c,o;if(!a||!l)return!1;let e=l;while(e){if(e===a)return!0;if(typeof e.assignedElements!=="function"&&((c=e.assignedSlot)===null||c===void 0?void 0:c.parentNode))e=(o=e.assignedSlot)===null||o===void 0?void 0:o.parentNode;else if(e.nodeType===document.DOCUMENT_FRAGMENT_NODE)e=e.host;else e=e.parentNode}return!1}/*!
|
|
108
108
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
109
109
|
* Licensed under the MIT License.
|
|
110
110
|
*//*!
|
|
111
111
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
112
112
|
* Licensed under the MIT License.
|
|
113
|
-
*/class
|
|
113
|
+
*/class T6{static _overrideAttachShadow(a){let l=a.Element.prototype.attachShadow;if(l.__origAttachShadow)return;Element.prototype.attachShadow=function(c){let o=l.call(this,c);for(let e of T6._shadowObservers)e._addSubObserver(o);return o},Element.prototype.attachShadow.__origAttachShadow=l}constructor(a){this._isObserving=!1,this._callbackWrapper=(l,c)=>{for(let o of l)if(o.type==="childList"){let{removedNodes:e,addedNodes:r}=o;for(let t=0;t<e.length;t++)this._walkShadows(e[t],!0);for(let t=0;t<r.length;t++)this._walkShadows(r[t])}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&&MC(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,T6._shadowObservers.delete(this);for(let a of this._subObservers.values())a.disconnect();this._subObservers.clear(),this._observer.disconnect()}observe(a,l){let c=a.nodeType===Node.DOCUMENT_NODE?a:a.ownerDocument,o=c===null||c===void 0?void 0:c.defaultView;if(!c||!o)return;T6._overrideAttachShadow(o),T6._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 e=a.shadowRoot;if(e){this._addSubObserver(e);return}}c.createTreeWalker(a,NodeFilter.SHOW_ELEMENT,{acceptNode:(e)=>{if(e.nodeType===Node.ELEMENT_NODE)if(l){let r=this._subObservers.get(e);if(r)r.disconnect(),this._subObservers.delete(e)}else{let r=e.shadowRoot;if(r)this._addSubObserver(r)}return NodeFilter.FILTER_SKIP}}).nextNode()}takeRecords(){let a=this._observer.takeRecords();for(let l of this._subObservers.values())a.push(...l.takeRecords());return a}}T6._shadowObservers=/*@__PURE__*/new Set;/*!
|
|
114
114
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
115
115
|
* Licensed under the MIT License.
|
|
116
116
|
*//*!
|
|
@@ -119,7 +119,7 @@ You can check this by searching up for matching entries in a lockfile produced b
|
|
|
119
119
|
*//*!
|
|
120
120
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
121
121
|
* Licensed under the MIT License.
|
|
122
|
-
*/class
|
|
122
|
+
*/class Ss{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 Ds{constructor(a,l){var c,o;this._forgetMemorizedElements=[],this._wrappers=/*@__PURE__*/new Set,this._initQueue=[],this._version="8.5.6",this._noop=!1,this.getWindow=()=>{if(!this._win)throw new Error("Using disposed Tabster.");return this._win},this._storage=Xx(a),this._win=a;let e=this.getWindow;if(l===null||l===void 0?void 0:l.DOMAPI)Kx({...l.DOMAPI});this.keyboardNavigation=new As(e),this.focusedElement=new _0(this,e),this.focusable=new ss(this),this.root=new P1(this,l===null||l===void 0?void 0:l.autoRoot),this.uncontrolled=new Cs((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 ns(e),this.getParent=(o=l===null||l===void 0?void 0:l.getParent)!==null&&o!==void 0?o:O.getParentNode,this.internal={stopObserver:()=>{if(this._unobserve)this._unobserve(),delete this._unobserve},resumeObserver:(r)=>{if(!this._unobserve){let t=e().document;this._unobserve=sC(t,this,Np,r)}}},ts(e),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 Ss(this);if(!a)this._wrappers.add(c);return this._mergeProps(l),c}disposeTabster(a,l){if(l)this._wrappers.clear();else this._wrappers.delete(a);if(this._wrappers.size===0)this.dispose()}dispose(){var a,l,c,o,e,r,t,h;this.internal.stopObserver();let Z=this._win;if(Z===null||Z===void 0||Z.clearTimeout(this._initTimer),delete this._initTimer,this._initQueue=[],this._forgetMemorizedElements=[],Z&&this._forgetMemorizedTimer)Z.clearTimeout(this._forgetMemorizedTimer),delete this._forgetMemorizedTimer;if((a=this.outline)===null||a===void 0||a.dispose(),(l=this.crossOrigin)===null||l===void 0||l.dispose(),(c=this.deloser)===null||c===void 0||c.dispose(),(o=this.groupper)===null||o===void 0||o.dispose(),(e=this.mover)===null||e===void 0||e.dispose(),(r=this.modalizer)===null||r===void 0||r.dispose(),(t=this.observedElement)===null||t===void 0||t.dispose(),(h=this.restorer)===null||h===void 0||h.dispose(),this.keyboardNavigation.dispose(),this.focusable.dispose(),this.focusedElement.dispose(),this.root.dispose(),this._dummyObserver.dispose(),jx(this.getWindow),Pp(this.getWindow),this._storage=/*@__PURE__*/new WeakMap,this._wrappers.clear(),Z)Yx(Z),delete Z.__tabsterInstance,delete this._win}storageEntry(a,l){let c=this._storage,o=c.get(a);if(o){if(l===!1&&Object.keys(o).length===0)c.delete(a)}else if(l===!0)o={},c.set(a,o);return o}forceCleanup(){if(!this._win)return;if(this._forgetMemorizedElements.push(this._win.document.body),this._forgetMemorizedTimer)return;this._forgetMemorizedTimer=this._win.setTimeout(()=>{delete this._forgetMemorizedTimer;for(let a=this._forgetMemorizedElements.shift();a;a=this._forgetMemorizedElements.shift())Pp(this.getWindow,a),_0.forgetMemorized(this.focusedElement,a)},0),rs(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 ws(a,l){let c=_C(a);if(c)return c.createTabster(!1,l);return c=new Ds(a,l),a.__tabsterInstance=c,c.createTabster()}function ks(a){let l=a.core;if(!l.groupper)l.groupper=new us(l,l.getWindow);return l.groupper}function ys(a){let l=a.core;if(!l.mover)l.mover=new xs(l,l.getWindow);return l.mover}function Yo(a,l,c){let o=a.core;if(!o.modalizer)o.modalizer=new gs(o,l,c);return o.modalizer}function Xo(a){let l=a.core;if(!l.restorer)l.restorer=new Rs(l);return l.restorer}function Us(a,l){a.core.disposeTabster(a,l)}function _C(a){return a.__tabsterInstance}/*!
|
|
123
123
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
124
124
|
* Licensed under the MIT License.
|
|
125
125
|
*//*!
|
|
@@ -128,17 +128,17 @@ You can check this by searching up for matching entries in a lockfile produced b
|
|
|
128
128
|
*//*!
|
|
129
129
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
130
130
|
* Licensed under the MIT License.
|
|
131
|
-
*/
|
|
132
|
-
`))}return c}f();var i3=(a)=>{g5();let l=ia(a,!0);return u1(()=>({[N2]:l}),[l])};var na=(a={})=>{let{circular:l,axis:c,memorizeCurrent:o=!0,tabbable:e,ignoreDefaultKeydown:r,unstable_hasDefault:t}=a;return g5(Em),i3({mover:{cyclic:!!l,direction:px(c!==null&&c!==void 0?c:"vertical"),memorizeCurrent:o,tabbable:e,hasDefault:t},...r&&{focusable:{ignoreKeydown:r}}})};function px(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 g5(Tm),i3({groupper:{tabbability:mx(a===null||a===void 0?void 0:a.tabBehavior)},focusable:{ignoreKeydown:a===null||a===void 0?void 0:a.ignoreDefaultKeydown}})},mx=(a)=>{switch(a){case"unlimited":return Za.Unlimited;case"limited":return Za.Limited;case"limited-trap-focus":return Za.LimitedTrapFocus;default:return}};f();var k7=()=>{let a=g5(),{targetDocument:l}=V1(),c=$((h,Z)=>{var i;return((i=a.current)===null||i===void 0?void 0:i.focusable.findAll({container:h,acceptCondition:Z}))||[]},[a]),o=$((h)=>{var Z;return(Z=a.current)===null||Z===void 0?void 0:Z.focusable.findFirst({container:h})},[a]),e=$((h)=>{var Z;return(Z=a.current)===null||Z===void 0?void 0:Z.focusable.findLast({container:h})},[a]),r=$((h,Z={})=>{if(!a.current||!l)return null;let{container:i=l.body}=Z;return a.current.focusable.findNext({currentElement:h,container:i})},[a,l]),t=$((h,Z={})=>{if(!a.current||!l)return null;let{container:i=l.body}=Z;return a.current.focusable.findPrev({currentElement:h,container:i})},[a,l]);return{findAllFocusable:c,findFirstFocusable:o,findLastFocusable:e,findNextFocusable:r,findPrevFocusable:t}};f();var wh="data-fui-focus-visible",Sh="data-fui-focus-within";function Im(a,l){if(Pm(a))return()=>{return};let c={current:void 0},o=A6(l);function e(Z){if(o.isNavigatingWithKeyboard()&&I1(Z))c.current=Z,Z.setAttribute(wh,"")}function r(){if(c.current)c.current.removeAttribute(wh),c.current=void 0}o.subscribe((Z)=>{if(!Z)r();else e(l.document.activeElement)});let t=(Z)=>{r();let i=Z.composedPath()[0];e(i)},h=(Z)=>{if(!Z.relatedTarget||I1(Z.relatedTarget)&&!a.contains(Z.relatedTarget))r()};if(a.addEventListener(V5,t),a.addEventListener("focusout",h),a.focusVisible=!0,a.contains(l.document.activeElement))e(l.document.activeElement);return()=>{r(),a.removeEventListener(V5,t),a.removeEventListener("focusout",h),a.focusVisible=void 0,H6(o)}}function Pm(a){if(!a)return!1;if(a.focusVisible)return!0;return Pm(a===null||a===void 0?void 0:a.parentElement)}function y7(a={}){let l=V1(),c=E(null);var o;let e=(o=a.targetDocument)!==null&&o!==void 0?o:l.targetDocument;return h1(()=>{if((e===null||e===void 0?void 0:e.defaultView)&&c.current)return Im(c.current,e.defaultView)},[c,e]),c}f();function Km(a,l){let c=A6(l);c.subscribe((r)=>{if(!r)qm(a)});let o=(r)=>{if(c.isNavigatingWithKeyboard()&&zm(r.target))sx(a)},e=(r)=>{if(!r.relatedTarget||zm(r.relatedTarget)&&!a.contains(r.relatedTarget))qm(a)};return a.addEventListener(V5,o),a.addEventListener("focusout",e),()=>{a.removeEventListener(V5,o),a.removeEventListener("focusout",e),H6(c)}}function sx(a){a.setAttribute(Sh,"")}function qm(a){a.removeAttribute(Sh)}function zm(a){if(!a)return!1;return Boolean(a&&typeof a==="object"&&"classList"in a&&"contains"in a)}function M2(){let{targetDocument:a}=V1(),l=E(null);return h1(()=>{if((a===null||a===void 0?void 0:a.defaultView)&&l.current)return Km(l.current,a.defaultView)},[l,a]),l}var Jm="data-tabster-never-hide",PE={[Jm]:""};var Mx=(a)=>{return a.hasAttribute(Jm)};function _x(a){xo(a,void 0,Mx),Co(a)}var _2=(a={})=>{let{trapFocus:l,alwaysFocusable:c,legacyTrapFocus:o}=a;g5(_x);let e=i0("modal-",a.id),r=i3({restorer:{type:w7.Source},...l&&{modalizer:{id:e,isOthersAccessible:!l,isAlwaysAccessible:c,isTrapped:o&&l}}}),t=i3({restorer:{type:w7.Target}});return{modalAttributes:r,triggerAttributes:t}};function U7(){return g5(Co),ia({restorer:{type:w7.Source}})}f();function Lo(){let a=g5(xo),[l]=X2();return $((o)=>{l(()=>{var e;(e=a.current)===null||e===void 0||e.activate(o)},0)},[a,l])}var y={"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"},O0={"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)"},F5={"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)"},Qm={"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)"},Ym={"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)"},kh={"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)"},x1="#ffffff",F6="#000000";var Xm={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 yh={shade50:"#200205",shade40:"#3b0509",shade30:"#6e0811",shade20:"#960b18",shade10:"#b10e1c",primary:"#c50f1f",tint10:"#cc2635",tint20:"#d33f4c",tint30:"#dc626d",tint40:"#eeacb2",tint50:"#f6d1d5",tint60:"#fdf3f4"},jm={shade50:"#210809",shade40:"#3f1011",shade30:"#751d1f",shade20:"#9f282b",shade10:"#bc2f32",primary:"#d13438",tint10:"#d7494c",tint20:"#dc5e62",tint30:"#e37d80",tint40:"#f1bbbc",tint50:"#f8dadb",tint60:"#fdf6f6"},Nm={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 as={shade50:"#200d03",shade40:"#3d1805",shade30:"#712d09",shade20:"#9a3d0c",shade10:"#b6480e",primary:"#ca5010",tint10:"#d06228",tint20:"#d77440",tint30:"#df8e64",tint40:"#efc4ad",tint50:"#f7dfd2",tint60:"#fdf7f4"},ls={shade50:"#271002",shade40:"#4a1e04",shade30:"#8a3707",shade20:"#bc4b09",shade10:"#de590b",primary:"#f7630c",tint10:"#f87528",tint20:"#f98845",tint30:"#faa06b",tint40:"#fdcfb4",tint50:"#fee5d7",tint60:"#fff9f5"},cs={shade50:"#291600",shade40:"#4d2a00",shade30:"#8f4e00",shade20:"#c26a00",shade10:"#e67e00",primary:"#ff8c00",tint10:"#ff9a1f",tint20:"#ffa83d",tint30:"#ffba66",tint40:"#ffddb3",tint50:"#ffedd6",tint60:"#fffaf5"},os={shade50:"#251a00",shade40:"#463100",shade30:"#835b00",shade20:"#b27c00",shade10:"#d39300",primary:"#eaa300",tint10:"#edad1c",tint20:"#efb839",tint30:"#f2c661",tint40:"#f9e2ae",tint50:"#fcefd3",tint60:"#fefbf4"},es={shade50:"#282400",shade40:"#4c4400",shade30:"#817400",shade20:"#c0ad00",shade10:"#e4cc00",primary:"#fde300",tint10:"#fde61e",tint20:"#fdea3d",tint30:"#feee66",tint40:"#fef7b2",tint50:"#fffad6",tint60:"#fffef5"},rs={shade50:"#1f1900",shade40:"#3a2f00",shade30:"#6c5700",shade20:"#937700",shade10:"#ae8c00",primary:"#c19c00",tint10:"#c8a718",tint20:"#d0b232",tint30:"#dac157",tint40:"#ecdfa5",tint50:"#f5eece",tint60:"#fdfbf2"},ts={shade50:"#181202",shade40:"#2e2103",shade30:"#553e06",shade20:"#745408",shade10:"#89640a",primary:"#986f0b",tint10:"#a47d1e",tint20:"#b18c34",tint30:"#c1a256",tint40:"#e0cea2",tint50:"#efe4cb",tint60:"#fbf8f2"},hs={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 Zs={shade50:"#0c1501",shade40:"#162702",shade30:"#294903",shade20:"#376304",shade10:"#427505",primary:"#498205",tint10:"#599116",tint20:"#6ba02b",tint30:"#85b44c",tint40:"#bdd99b",tint50:"#dbebc7",tint60:"#f6faf0"},is={shade50:"#002111",shade40:"#003d20",shade30:"#00723b",shade20:"#009b51",shade10:"#00b85f",primary:"#00cc6a",tint10:"#19d279",tint20:"#34d889",tint30:"#5ae0a0",tint40:"#a8f0cd",tint50:"#cff7e4",tint60:"#f3fdf8"},ns={shade50:"#031a02",shade40:"#063004",shade30:"#0b5a08",shade20:"#0e7a0b",shade10:"#11910d",primary:"#13a10e",tint10:"#27ac22",tint20:"#3db838",tint30:"#5ec75a",tint40:"#a7e3a5",tint50:"#cef0cd",tint60:"#f2fbf2"},Uh={shade50:"#031403",shade40:"#052505",shade30:"#094509",shade20:"#0c5e0c",shade10:"#0e700e",primary:"#107c10",tint10:"#218c21",tint20:"#359b35",tint30:"#54b054",tint40:"#9fd89f",tint50:"#c9eac9",tint60:"#f1faf1"},vs={shade50:"#021102",shade40:"#032003",shade30:"#063b06",shade20:"#085108",shade10:"#0a5f0a",primary:"#0b6a0b",tint10:"#1a7c1a",tint20:"#2d8e2d",tint30:"#4da64d",tint40:"#9ad29a",tint50:"#c6e7c6",tint60:"#f0f9f0"},ds={shade50:"#001d1f",shade40:"#00373a",shade30:"#00666d",shade20:"#008b94",shade10:"#00a5af",primary:"#00b7c3",tint10:"#18bfca",tint20:"#32c8d1",tint30:"#58d3db",tint40:"#a6e9ed",tint50:"#cef3f5",tint60:"#f2fcfd"},ps={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 ms={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 ss={shade50:"#001322",shade40:"#002440",shade30:"#004377",shade20:"#005ba1",shade10:"#006cbf",primary:"#0078d4",tint10:"#1a86d9",tint20:"#3595de",tint30:"#5caae5",tint40:"#a9d3f2",tint50:"#d0e7f8",tint60:"#f3f9fd"},Ms={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 _s={shade50:"#0d1126",shade40:"#182047",shade30:"#2c3c85",shade20:"#3c51b4",shade10:"#4760d5",primary:"#4f6bed",tint10:"#637cef",tint20:"#778df1",tint30:"#93a4f4",tint40:"#c8d1fa",tint50:"#e1e6fc",tint60:"#f7f9fe"},us={shade50:"#00061d",shade40:"#000c36",shade30:"#001665",shade20:"#001e89",shade10:"#0023a2",primary:"#0027b4",tint10:"#173bbd",tint20:"#3050c6",tint30:"#546fd2",tint40:"#a3b2e8",tint50:"#ccd5f3",tint60:"#f2f4fc"},As={shade50:"#120f25",shade40:"#221d46",shade30:"#3f3682",shade20:"#5649b0",shade10:"#6656d1",primary:"#7160e8",tint10:"#8172eb",tint20:"#9184ee",tint30:"#a79cf1",tint40:"#d2ccf8",tint50:"#e7e4fb",tint60:"#f9f8fe"},Hs={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 Vs={shade50:"#160418",shade40:"#29072e",shade30:"#4c0d55",shade20:"#671174",shade10:"#7a1589",primary:"#881798",tint10:"#952aa4",tint20:"#a33fb1",tint30:"#b55fc1",tint40:"#d9a7e0",tint50:"#eaceef",tint60:"#faf2fb"},fs={shade50:"#1f091d",shade40:"#3a1136",shade30:"#6d2064",shade20:"#932b88",shade10:"#af33a1",primary:"#c239b3",tint10:"#c94cbc",tint20:"#d161c4",tint30:"#da7ed0",tint40:"#edbbe7",tint50:"#f5daf2",tint60:"#fdf5fc"},gs={shade50:"#1c0b1f",shade40:"#35153a",shade30:"#63276d",shade20:"#863593",shade10:"#9f3faf",primary:"#b146c2",tint10:"#ba58c9",tint20:"#c36bd1",tint30:"#cf87da",tint40:"#e6bfed",tint50:"#f2dcf5",tint60:"#fcf6fd"},Fs={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 xs={shade50:"#1f0013",shade40:"#390024",shade30:"#6b0043",shade20:"#91005a",shade10:"#ac006b",primary:"#bf0077",tint10:"#c71885",tint20:"#ce3293",tint30:"#d957a8",tint40:"#eca5d1",tint50:"#f5cee6",tint60:"#fcf2f9"},Cs={shade50:"#13000c",shade40:"#240017",shade30:"#43002b",shade20:"#5a003b",shade10:"#6b0045",primary:"#77004d",tint10:"#87105d",tint20:"#98246f",tint30:"#ad4589",tint40:"#d696c0",tint50:"#e9c4dc",tint60:"#faf0f6"},Ls={shade50:"#141313",shade40:"#252323",shade30:"#444241",shade20:"#5d5958",shade10:"#6e6968",primary:"#7a7574",tint10:"#8a8584",tint20:"#9a9594",tint30:"#afabaa",tint40:"#d7d4d4",tint50:"#eae8e8",tint60:"#faf9f9"},Rs={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 Ds={shade50:"#111314",shade40:"#1f2426",shade30:"#3b4447",shade20:"#505c60",shade10:"#5f6d71",primary:"#69797e",tint10:"#79898d",tint20:"#89989d",tint30:"#a0adb2",tint40:"#cdd6d8",tint50:"#e4e9ea",tint60:"#f8f9fa"},ws={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:jm,green:Uh,darkOrange:Nm,yellow:es,berry:fs,lightGreen:ns,marigold:os},l7={darkRed:Xm,cranberry:yh,pumpkin:as,peach:cs,gold:rs,brass:ts,brown:hs,forest:Zs,seafoam:is,darkGreen:vs,lightTeal:ds,teal:ps,steel:ms,blue:ss,royalBlue:Ms,cornflower:_s,navy:us,lavender:As,purple:Hs,grape:Vs,lilac:gs,pink:Fs,magenta:xs,plum:Cs,beige:Ls,mink:Rs,platinum:Ds,anchor:ws},G1={cranberry:yh,green:Uh,orange:ls};var Ro=["red","green","darkOrange","yellow","berry","lightGreen","marigold"],Do=["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 i5={success:"green",warning:"orange",danger:"cranberry"};var va=Ro.reduce((a,l)=>{let c=l.slice(0,1).toUpperCase()+l.slice(1),o={[`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,o)},{});va.colorPaletteYellowForeground1=O1.yellow.shade30;va.colorPaletteRedForegroundInverted=O1.red.tint20;va.colorPaletteGreenForegroundInverted=O1.green.tint20;va.colorPaletteYellowForegroundInverted=O1.yellow.tint40;var Ax=Do.reduce((a,l)=>{let c=l.slice(0,1).toUpperCase()+l.slice(1),o={[`colorPalette${c}Background2`]:l7[l].tint40,[`colorPalette${c}Foreground2`]:l7[l].shade30,[`colorPalette${c}BorderActive`]:l7[l].primary};return Object.assign(a,o)},{}),Ss={...va,...Ax},N3=Object.entries(i5).reduce((a,[l,c])=>{let o=l.slice(0,1).toUpperCase()+l.slice(1),e={[`colorStatus${o}Background1`]:G1[c].tint60,[`colorStatus${o}Background2`]:G1[c].tint40,[`colorStatus${o}Background3`]:G1[c].primary,[`colorStatus${o}Foreground1`]:G1[c].shade10,[`colorStatus${o}Foreground2`]:G1[c].shade30,[`colorStatus${o}Foreground3`]:G1[c].primary,[`colorStatus${o}ForegroundInverted`]:G1[c].tint30,[`colorStatus${o}BorderActive`]:G1[c].primary,[`colorStatus${o}Border1`]:G1[c].tint40,[`colorStatus${o}Border2`]:G1[c].primary};return Object.assign(a,e)},{});N3.colorStatusDangerBackground3Hover=G1[i5.danger].shade10;N3.colorStatusDangerBackground3Pressed=G1[i5.danger].shade20;N3.colorStatusWarningForeground1=G1[i5.warning].shade20;N3.colorStatusWarningForeground3=G1[i5.warning].shade20;N3.colorStatusWarningBorder2=G1[i5.warning].shade20;var ks=(a)=>({colorNeutralForeground1:y[14],colorNeutralForeground1Hover:y[14],colorNeutralForeground1Pressed:y[14],colorNeutralForeground1Selected:y[14],colorNeutralForeground2:y[26],colorNeutralForeground2Hover:y[14],colorNeutralForeground2Pressed:y[14],colorNeutralForeground2Selected:y[14],colorNeutralForeground2BrandHover:a[80],colorNeutralForeground2BrandPressed:a[70],colorNeutralForeground2BrandSelected:a[80],colorNeutralForeground3:y[38],colorNeutralForeground3Hover:y[26],colorNeutralForeground3Pressed:y[26],colorNeutralForeground3Selected:y[26],colorNeutralForeground3BrandHover:a[80],colorNeutralForeground3BrandPressed:a[70],colorNeutralForeground3BrandSelected:a[80],colorNeutralForeground4:y[44],colorNeutralForegroundDisabled:y[74],colorNeutralForegroundInvertedDisabled:O0[40],colorBrandForegroundLink:a[70],colorBrandForegroundLinkHover:a[60],colorBrandForegroundLinkPressed:a[40],colorBrandForegroundLinkSelected:a[70],colorNeutralForeground2Link:y[26],colorNeutralForeground2LinkHover:y[14],colorNeutralForeground2LinkPressed:y[14],colorNeutralForeground2LinkSelected:y[14],colorCompoundBrandForeground1:a[80],colorCompoundBrandForeground1Hover:a[70],colorCompoundBrandForeground1Pressed:a[60],colorBrandForeground1:a[80],colorBrandForeground2:a[70],colorBrandForeground2Hover:a[60],colorBrandForeground2Pressed:a[30],colorNeutralForeground1Static:y[14],colorNeutralForegroundStaticInverted:x1,colorNeutralForegroundInverted:x1,colorNeutralForegroundInvertedHover:x1,colorNeutralForegroundInvertedPressed:x1,colorNeutralForegroundInvertedSelected:x1,colorNeutralForegroundInverted2:x1,colorNeutralForegroundOnBrand:x1,colorNeutralForegroundInvertedLink:x1,colorNeutralForegroundInvertedLinkHover:x1,colorNeutralForegroundInvertedLinkPressed:x1,colorNeutralForegroundInvertedLinkSelected:x1,colorBrandForegroundInverted:a[100],colorBrandForegroundInvertedHover:a[110],colorBrandForegroundInvertedPressed:a[100],colorBrandForegroundOnLight:a[80],colorBrandForegroundOnLightHover:a[70],colorBrandForegroundOnLightPressed:a[50],colorBrandForegroundOnLightSelected:a[60],colorNeutralBackground1:x1,colorNeutralBackground1Hover:y[96],colorNeutralBackground1Pressed:y[88],colorNeutralBackground1Selected:y[92],colorNeutralBackground2:y[98],colorNeutralBackground2Hover:y[94],colorNeutralBackground2Pressed:y[86],colorNeutralBackground2Selected:y[90],colorNeutralBackground3:y[96],colorNeutralBackground3Hover:y[92],colorNeutralBackground3Pressed:y[84],colorNeutralBackground3Selected:y[88],colorNeutralBackground4:y[94],colorNeutralBackground4Hover:y[98],colorNeutralBackground4Pressed:y[96],colorNeutralBackground4Selected:x1,colorNeutralBackground5:y[92],colorNeutralBackground5Hover:y[96],colorNeutralBackground5Pressed:y[94],colorNeutralBackground5Selected:y[98],colorNeutralBackground6:y[90],colorNeutralBackgroundInverted:y[16],colorNeutralBackgroundStatic:y[20],colorNeutralBackgroundAlpha:O0[50],colorNeutralBackgroundAlpha2:O0[80],colorSubtleBackground:"transparent",colorSubtleBackgroundHover:y[96],colorSubtleBackgroundPressed:y[88],colorSubtleBackgroundSelected:y[92],colorSubtleBackgroundLightAlphaHover:O0[70],colorSubtleBackgroundLightAlphaPressed:O0[50],colorSubtleBackgroundLightAlphaSelected:"transparent",colorSubtleBackgroundInverted:"transparent",colorSubtleBackgroundInvertedHover:F5[10],colorSubtleBackgroundInvertedPressed:F5[30],colorSubtleBackgroundInvertedSelected:F5[20],colorTransparentBackground:"transparent",colorTransparentBackgroundHover:"transparent",colorTransparentBackgroundPressed:"transparent",colorTransparentBackgroundSelected:"transparent",colorNeutralBackgroundDisabled:y[94],colorNeutralBackgroundInvertedDisabled:O0[10],colorNeutralStencil1:y[90],colorNeutralStencil2:y[98],colorNeutralStencil1Alpha:F5[10],colorNeutralStencil2Alpha:F5[5],colorBackgroundOverlay:F5[40],colorScrollbarOverlay:F5[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:x1,colorBrandBackgroundInvertedHover:a[160],colorBrandBackgroundInvertedPressed:a[140],colorBrandBackgroundInvertedSelected:a[150],colorNeutralCardBackground:y[98],colorNeutralCardBackgroundHover:x1,colorNeutralCardBackgroundPressed:y[96],colorNeutralCardBackgroundSelected:y[92],colorNeutralCardBackgroundDisabled:y[94],colorNeutralStrokeAccessible:y[38],colorNeutralStrokeAccessibleHover:y[34],colorNeutralStrokeAccessiblePressed:y[30],colorNeutralStrokeAccessibleSelected:a[80],colorNeutralStroke1:y[82],colorNeutralStroke1Hover:y[78],colorNeutralStroke1Pressed:y[70],colorNeutralStroke1Selected:y[74],colorNeutralStroke2:y[88],colorNeutralStroke3:y[94],colorNeutralStrokeSubtle:y[88],colorNeutralStrokeOnBrand:x1,colorNeutralStrokeOnBrand2:x1,colorNeutralStrokeOnBrand2Hover:x1,colorNeutralStrokeOnBrand2Pressed:x1,colorNeutralStrokeOnBrand2Selected:x1,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:y[88],colorNeutralStrokeInvertedDisabled:O0[40],colorTransparentStroke:"transparent",colorTransparentStrokeInteractive:"transparent",colorTransparentStrokeDisabled:"transparent",colorNeutralStrokeAlpha:F5[5],colorNeutralStrokeAlpha2:O0[20],colorStrokeFocus1:x1,colorStrokeFocus2:F6,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 da={borderRadiusNone:"0",borderRadiusSmall:"2px",borderRadiusMedium:"4px",borderRadiusLarge:"6px",borderRadiusXLarge:"8px",borderRadiusCircular:"10000px"};var wo={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 So={durationUltraFast:"50ms",durationFaster:"100ms",durationFast:"150ms",durationNormal:"200ms",durationGentle:"250ms",durationSlow:"300ms",durationSlower:"400ms",durationUltraSlow:"500ms"};var pa={fontSizeBase100:"10px",fontSizeBase200:"12px",fontSizeBase300:"14px",fontSizeBase400:"16px",fontSizeBase500:"20px",fontSizeBase600:"24px",fontSizeHero700:"28px",fontSizeHero800:"32px",fontSizeHero900:"40px",fontSizeHero1000:"68px"},ma={lineHeightBase100:"14px",lineHeightBase200:"16px",lineHeightBase300:"20px",lineHeightBase400:"22px",lineHeightBase500:"28px",lineHeightBase600:"32px",lineHeightHero700:"36px",lineHeightHero800:"40px",lineHeightHero900:"52px",lineHeightHero1000:"92px"},sa={fontWeightRegular:400,fontWeightMedium:500,fontWeightSemibold:600,fontWeightBold:700},Ma={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 _0={none:"0",xxs:"2px",xs:"4px",sNudge:"6px",s:"8px",mNudge:"10px",m:"12px",l:"16px",xl:"20px",xxl:"24px",xxxl:"32px"},ko={spacingHorizontalNone:_0.none,spacingHorizontalXXS:_0.xxs,spacingHorizontalXS:_0.xs,spacingHorizontalSNudge:_0.sNudge,spacingHorizontalS:_0.s,spacingHorizontalMNudge:_0.mNudge,spacingHorizontalM:_0.m,spacingHorizontalL:_0.l,spacingHorizontalXL:_0.xl,spacingHorizontalXXL:_0.xxl,spacingHorizontalXXXL:_0.xxxl},yo={spacingVerticalNone:_0.none,spacingVerticalXXS:_0.xxs,spacingVerticalXS:_0.xs,spacingVerticalSNudge:_0.sNudge,spacingVerticalS:_0.s,spacingVerticalMNudge:_0.mNudge,spacingVerticalM:_0.m,spacingVerticalL:_0.l,spacingVerticalXL:_0.xl,spacingVerticalXXL:_0.xxl,spacingVerticalXXXL:_0.xxxl};var _a={strokeWidthThin:"1px",strokeWidthThick:"2px",strokeWidthThicker:"3px",strokeWidthThickest:"4px"};var a0={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 x6(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 n3=(a)=>{let l=ks(a);return{...da,...pa,...ma,...Ma,...sa,..._a,...ko,...yo,...So,...wo,...l,...Ss,...N3,...x6(l.colorNeutralShadowAmbient,l.colorNeutralShadowKey),...x6(l.colorBrandShadowAmbient,l.colorBrandShadowKey,"Brand")}};var ys={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=Ro.reduce((a,l)=>{let c=l.slice(0,1).toUpperCase()+l.slice(1),o={[`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,o)},{});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 Gh=Do.reduce((a,l)=>{let c=l.slice(0,1).toUpperCase()+l.slice(1),o={[`colorPalette${c}Background2`]:l7[l].shade30,[`colorPalette${c}Foreground2`]:l7[l].tint40,[`colorPalette${c}BorderActive`]:l7[l].tint30};return Object.assign(a,o)},{});Gh.colorPaletteDarkRedBackground2=l7.darkRed.shade20;Gh.colorPalettePlumBackground2=l7.plum.shade20;var Us={...c7,...Gh},G7=Object.entries(i5).reduce((a,[l,c])=>{let o=l.slice(0,1).toUpperCase()+l.slice(1),e={[`colorStatus${o}Background1`]:G1[c].shade40,[`colorStatus${o}Background2`]:G1[c].shade30,[`colorStatus${o}Background3`]:G1[c].primary,[`colorStatus${o}Foreground1`]:G1[c].tint30,[`colorStatus${o}Foreground2`]:G1[c].tint40,[`colorStatus${o}Foreground3`]:G1[c].tint20,[`colorStatus${o}BorderActive`]:G1[c].tint30,[`colorStatus${o}ForegroundInverted`]:G1[c].shade10,[`colorStatus${o}Border1`]:G1[c].primary,[`colorStatus${o}Border2`]:G1[c].tint20};return Object.assign(a,e)},{});G7.colorStatusDangerBackground3Hover=G1[i5.danger].shade10;G7.colorStatusDangerBackground3Pressed=G1[i5.danger].shade20;G7.colorStatusDangerForeground3=G1[i5.danger].tint40;G7.colorStatusDangerBorder2=G1[i5.danger].tint30;G7.colorStatusSuccessForeground3=G1[i5.success].tint40;G7.colorStatusSuccessBorder2=G1[i5.success].tint40;G7.colorStatusWarningForegroundInverted=G1[i5.warning].shade20;var u2=n3(ys);var Gs=(a)=>({colorNeutralForeground1:x1,colorNeutralForeground1Hover:x1,colorNeutralForeground1Pressed:x1,colorNeutralForeground1Selected:x1,colorNeutralForeground2:y[84],colorNeutralForeground2Hover:x1,colorNeutralForeground2Pressed:x1,colorNeutralForeground2Selected:x1,colorNeutralForeground2BrandHover:a[100],colorNeutralForeground2BrandPressed:a[90],colorNeutralForeground2BrandSelected:a[100],colorNeutralForeground3:y[68],colorNeutralForeground3Hover:y[84],colorNeutralForeground3Pressed:y[84],colorNeutralForeground3Selected:y[84],colorNeutralForeground3BrandHover:a[100],colorNeutralForeground3BrandPressed:a[90],colorNeutralForeground3BrandSelected:a[100],colorNeutralForeground4:y[60],colorNeutralForegroundDisabled:y[36],colorNeutralForegroundInvertedDisabled:O0[40],colorBrandForegroundLink:a[100],colorBrandForegroundLinkHover:a[110],colorBrandForegroundLinkPressed:a[90],colorBrandForegroundLinkSelected:a[100],colorNeutralForeground2Link:y[84],colorNeutralForeground2LinkHover:x1,colorNeutralForeground2LinkPressed:x1,colorNeutralForeground2LinkSelected:x1,colorCompoundBrandForeground1:a[100],colorCompoundBrandForeground1Hover:a[110],colorCompoundBrandForeground1Pressed:a[90],colorBrandForeground1:a[100],colorBrandForeground2:a[110],colorBrandForeground2Hover:a[130],colorBrandForeground2Pressed:a[160],colorNeutralForeground1Static:y[14],colorNeutralForegroundStaticInverted:x1,colorNeutralForegroundInverted:y[14],colorNeutralForegroundInvertedHover:y[14],colorNeutralForegroundInvertedPressed:y[14],colorNeutralForegroundInvertedSelected:y[14],colorNeutralForegroundInverted2:y[14],colorNeutralForegroundOnBrand:x1,colorNeutralForegroundInvertedLink:x1,colorNeutralForegroundInvertedLinkHover:x1,colorNeutralForegroundInvertedLinkPressed:x1,colorNeutralForegroundInvertedLinkSelected:x1,colorBrandForegroundInverted:a[80],colorBrandForegroundInvertedHover:a[70],colorBrandForegroundInvertedPressed:a[60],colorBrandForegroundOnLight:a[80],colorBrandForegroundOnLightHover:a[70],colorBrandForegroundOnLightPressed:a[50],colorBrandForegroundOnLightSelected:a[60],colorNeutralBackground1:y[16],colorNeutralBackground1Hover:y[24],colorNeutralBackground1Pressed:y[12],colorNeutralBackground1Selected:y[22],colorNeutralBackground2:y[12],colorNeutralBackground2Hover:y[20],colorNeutralBackground2Pressed:y[8],colorNeutralBackground2Selected:y[18],colorNeutralBackground3:y[8],colorNeutralBackground3Hover:y[16],colorNeutralBackground3Pressed:y[4],colorNeutralBackground3Selected:y[14],colorNeutralBackground4:y[4],colorNeutralBackground4Hover:y[12],colorNeutralBackground4Pressed:F6,colorNeutralBackground4Selected:y[10],colorNeutralBackground5:F6,colorNeutralBackground5Hover:y[8],colorNeutralBackground5Pressed:y[2],colorNeutralBackground5Selected:y[6],colorNeutralBackground6:y[20],colorNeutralBackgroundInverted:x1,colorNeutralBackgroundStatic:y[24],colorNeutralBackgroundAlpha:Qm[50],colorNeutralBackgroundAlpha2:Ym[70],colorSubtleBackground:"transparent",colorSubtleBackgroundHover:y[22],colorSubtleBackgroundPressed:y[18],colorSubtleBackgroundSelected:y[20],colorSubtleBackgroundLightAlphaHover:kh[80],colorSubtleBackgroundLightAlphaPressed:kh[50],colorSubtleBackgroundLightAlphaSelected:"transparent",colorSubtleBackgroundInverted:"transparent",colorSubtleBackgroundInvertedHover:F5[10],colorSubtleBackgroundInvertedPressed:F5[30],colorSubtleBackgroundInvertedSelected:F5[20],colorTransparentBackground:"transparent",colorTransparentBackgroundHover:"transparent",colorTransparentBackgroundPressed:"transparent",colorTransparentBackgroundSelected:"transparent",colorNeutralBackgroundDisabled:y[8],colorNeutralBackgroundInvertedDisabled:O0[10],colorNeutralStencil1:y[34],colorNeutralStencil2:y[20],colorNeutralStencil1Alpha:O0[10],colorNeutralStencil2Alpha:O0[5],colorBackgroundOverlay:F5[50],colorScrollbarOverlay:O0[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:x1,colorBrandBackgroundInvertedHover:a[160],colorBrandBackgroundInvertedPressed:a[140],colorBrandBackgroundInvertedSelected:a[150],colorNeutralCardBackground:y[20],colorNeutralCardBackgroundHover:y[24],colorNeutralCardBackgroundPressed:y[18],colorNeutralCardBackgroundSelected:y[22],colorNeutralCardBackgroundDisabled:y[8],colorNeutralStrokeAccessible:y[68],colorNeutralStrokeAccessibleHover:y[74],colorNeutralStrokeAccessiblePressed:y[70],colorNeutralStrokeAccessibleSelected:a[100],colorNeutralStroke1:y[40],colorNeutralStroke1Hover:y[46],colorNeutralStroke1Pressed:y[42],colorNeutralStroke1Selected:y[44],colorNeutralStroke2:y[32],colorNeutralStroke3:y[24],colorNeutralStrokeSubtle:y[4],colorNeutralStrokeOnBrand:y[16],colorNeutralStrokeOnBrand2:x1,colorNeutralStrokeOnBrand2Hover:x1,colorNeutralStrokeOnBrand2Pressed:x1,colorNeutralStrokeOnBrand2Selected:x1,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:y[26],colorNeutralStrokeInvertedDisabled:O0[40],colorTransparentStroke:"transparent",colorTransparentStrokeInteractive:"transparent",colorTransparentStrokeDisabled:"transparent",colorNeutralStrokeAlpha:O0[10],colorNeutralStrokeAlpha2:O0[20],colorStrokeFocus1:F6,colorStrokeFocus2:x1,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 C6=(a)=>{let l=Gs(a);return{...da,...pa,...ma,...Ma,...sa,..._a,...ko,...yo,...So,...wo,...l,...Us,...G7,...x6(l.colorNeutralShadowAmbient,l.colorNeutralShadowKey),...x6(l.colorBrandShadowAmbient,l.colorBrandShadowKey,"Brand")}};f();f();var a4={root:"fui-FluentProvider"},Lx=/*@__PURE__*/E8({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=m2(),c=Lx({dir:a.dir,renderer:l});return a.root.className=R(a4.root,a.themeClassName,c.root,a.root.className),a};var Rx=Y5?Y5:W1,Dx=(a,l)=>{if(!(a===null||a===void 0?void 0:a.head))return;let c=a.createElement("style");return Object.keys(l).forEach((o)=>{c.setAttribute(o,l[o])}),a.head.appendChild(c),c},wx=(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.")},Aa=(a)=>{let{targetDocument:l,theme:c,rendererAttributes:o}=a,e=E(),r=i0(a4.root),t=o,h=u1(()=>J8(`.${r}`,c),[c,r]);return u1(()=>{if(l){var Z;let v=`.${a4.root}.${r}`,n=l.querySelectorAll(v),d=`style[id="${r}"]`,p=l.querySelectorAll(d);if(p.length>1){console.error(["@fluentui/react-provider: We found multiple <style> elements with same IDs in your DOM.","Please make sure that you configured your application properly.",`
|
|
131
|
+
*/F();var uC=(a)=>{return a};function AC(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 ws(l,{autoRoot:{},controlTab:!1,getParent:G6,checkUncontrolledTrappingFocus:(o)=>{var e;return!!((e=o.firstElementChild)===null||e===void 0?void 0:e.hasAttribute("data-is-focus-trap-zone-bumper"))},DOMAPI:c})}function C5(a=uC){let{targetDocument:l}=M1(),c=G(null);q1(()=>{let o=AC(l);if(o)return c.current=a(o),()=>{Us(o),c.current=null}},[l,a]);{let o=zo(a);if(o!==null&&o!==a)throw new Error(["@fluentui/react-tabster: ","The factory function passed to useTabster has changed. This should not ever happen."].join(`
|
|
132
|
+
`))}return c}F();var H3=(a)=>{C5();let l=x8(a,!0);return p1(()=>({[Z7]:l}),[l])};var C8=(a={})=>{let{circular:l,axis:c,memorizeCurrent:o=!0,tabbable:e,ignoreDefaultKeydown:r,unstable_hasDefault:t}=a;return C5(ys),H3({mover:{cyclic:!!l,direction:HC(c!==null&&c!==void 0?c:"vertical"),memorizeCurrent:o,tabbable:e,hasDefault:t},...r&&{focusable:{ignoreKeydown:r}}})};function HC(a){switch(a){case"horizontal":return l2.Horizontal;case"grid":return l2.Grid;case"grid-linear":return l2.GridLinear;case"both":return l2.Both;case"vertical":default:return l2.Vertical}}var d4=(a)=>{return C5(ks),H3({groupper:{tabbability:VC(a===null||a===void 0?void 0:a.tabBehavior)},focusable:{ignoreKeydown:a===null||a===void 0?void 0:a.ignoreDefaultKeydown}})},VC=(a)=>{switch(a){case"unlimited":return F8.Unlimited;case"limited":return F8.Limited;case"limited-trap-focus":return F8.LimitedTrapFocus;default:return}};F();var q7=()=>{let a=C5(),{targetDocument:l}=M1(),c=q((h,Z)=>{var i;return((i=a.current)===null||i===void 0?void 0:i.focusable.findAll({container:h,acceptCondition:Z}))||[]},[a]),o=q((h)=>{var Z;return(Z=a.current)===null||Z===void 0?void 0:Z.focusable.findFirst({container:h})},[a]),e=q((h)=>{var Z;return(Z=a.current)===null||Z===void 0?void 0:Z.focusable.findLast({container:h})},[a]),r=q((h,Z={})=>{if(!a.current||!l)return null;let{container:i=l.body}=Z;return a.current.focusable.findNext({currentElement:h,container:i})},[a,l]),t=q((h,Z={})=>{if(!a.current||!l)return null;let{container:i=l.body}=Z;return a.current.focusable.findPrev({currentElement:h,container:i})},[a,l]);return{findAllFocusable:c,findFirstFocusable:o,findLastFocusable:e,findNextFocusable:r,findPrevFocusable:t}};F();var ZZ="data-fui-focus-visible",iZ="data-fui-focus-within";function Gs(a,l){if(Bs(a))return()=>{return};let c={current:void 0},o=M3(l);function e(Z){if(o.isNavigatingWithKeyboard()&&T1(Z))c.current=Z,Z.setAttribute(ZZ,"")}function r(){if(c.current)c.current.removeAttribute(ZZ),c.current=void 0}o.subscribe((Z)=>{if(!Z)r();else e(l.document.activeElement)});let t=(Z)=>{r();let i=Z.composedPath()[0];e(i)},h=(Z)=>{if(!Z.relatedTarget||T1(Z.relatedTarget)&&!a.contains(Z.relatedTarget))r()};if(a.addEventListener(F5,t),a.addEventListener("focusout",h),a.focusVisible=!0,a.contains(l.document.activeElement))e(l.document.activeElement);return()=>{r(),a.removeEventListener(F5,t),a.removeEventListener("focusout",h),a.focusVisible=void 0,_3(o)}}function Bs(a){if(!a)return!1;if(a.focusVisible)return!0;return Bs(a===null||a===void 0?void 0:a.parentElement)}function P7(a={}){let l=M1(),c=G(null);var o;let e=(o=a.targetDocument)!==null&&o!==void 0?o:l.targetDocument;return j(()=>{if((e===null||e===void 0?void 0:e.defaultView)&&c.current)return Gs(c.current,e.defaultView)},[c,e]),c}F();function Os(a,l){let c=M3(l);c.subscribe((r)=>{if(!r)Ts(a)});let o=(r)=>{if(c.isNavigatingWithKeyboard()&&bs(r.target))gC(a)},e=(r)=>{if(!r.relatedTarget||bs(r.relatedTarget)&&!a.contains(r.relatedTarget))Ts(a)};return a.addEventListener(F5,o),a.addEventListener("focusout",e),()=>{a.removeEventListener(F5,o),a.removeEventListener("focusout",e),_3(c)}}function gC(a){a.setAttribute(iZ,"")}function Ts(a){a.removeAttribute(iZ)}function bs(a){if(!a)return!1;return Boolean(a&&typeof a==="object"&&"classList"in a&&"contains"in a)}function H2(){let{targetDocument:a}=M1(),l=G(null);return j(()=>{if((a===null||a===void 0?void 0:a.defaultView)&&l.current)return Os(l.current,a.defaultView)},[l,a]),l}F();F();function No(){let{targetDocument:a}=M1(),l=G(null);return j(()=>{let c=a===null||a===void 0?void 0:a.defaultView;if(c){let o=M3(c);return l.current=o,()=>{_3(o),l.current=null}}},[a]),l}function E6(a){let l=No(),c=$(a);j(()=>{let o=l.current;if(o){let e=(r)=>{c(r)};return o.subscribe(e),e(o.isNavigatingWithKeyboard()),()=>{o.unsubscribe(e)}}},[l,c])}var Es="data-tabster-never-hide",AI={[Es]:""};var fC=(a)=>{return a.hasAttribute(Es)};function FC(a){Yo(a,void 0,fC),Xo(a)}var V2=(a={})=>{let{trapFocus:l,alwaysFocusable:c,legacyTrapFocus:o}=a;C5(FC);let e=N1("modal-",a.id),r=H3({restorer:{type:W7.Source},...l&&{modalizer:{id:e,isOthersAccessible:!l,isAlwaysAccessible:c,isTrapped:o&&l}}}),t=H3({restorer:{type:W7.Target}});return{modalAttributes:r,triggerAttributes:t}};function z7(){return C5(Xo),x8({restorer:{type:W7.Source}})}F();function jo(){let a=No();return q((l)=>{var c;(c=a.current)===null||c===void 0||c.setVal(l)},[a])}F();function ae(){let a=C5(Yo),[l]=a2();return q((o)=>{l(()=>{var e;(e=a.current)===null||e===void 0||e.activate(o)},0)},[a,l])}var y={"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"},E0={"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)"},L5={"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)"},Is={"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)"},qs={"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)"},vZ={"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)"},L1="#ffffff",W6="#000000";var Ps={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 nZ={shade50:"#200205",shade40:"#3b0509",shade30:"#6e0811",shade20:"#960b18",shade10:"#b10e1c",primary:"#c50f1f",tint10:"#cc2635",tint20:"#d33f4c",tint30:"#dc626d",tint40:"#eeacb2",tint50:"#f6d1d5",tint60:"#fdf3f4"},zs={shade50:"#210809",shade40:"#3f1011",shade30:"#751d1f",shade20:"#9f282b",shade10:"#bc2f32",primary:"#d13438",tint10:"#d7494c",tint20:"#dc5e62",tint30:"#e37d80",tint40:"#f1bbbc",tint50:"#f8dadb",tint60:"#fdf6f6"},Qs={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 Js={shade50:"#200d03",shade40:"#3d1805",shade30:"#712d09",shade20:"#9a3d0c",shade10:"#b6480e",primary:"#ca5010",tint10:"#d06228",tint20:"#d77440",tint30:"#df8e64",tint40:"#efc4ad",tint50:"#f7dfd2",tint60:"#fdf7f4"},Ks={shade50:"#271002",shade40:"#4a1e04",shade30:"#8a3707",shade20:"#bc4b09",shade10:"#de590b",primary:"#f7630c",tint10:"#f87528",tint20:"#f98845",tint30:"#faa06b",tint40:"#fdcfb4",tint50:"#fee5d7",tint60:"#fff9f5"},$s={shade50:"#291600",shade40:"#4d2a00",shade30:"#8f4e00",shade20:"#c26a00",shade10:"#e67e00",primary:"#ff8c00",tint10:"#ff9a1f",tint20:"#ffa83d",tint30:"#ffba66",tint40:"#ffddb3",tint50:"#ffedd6",tint60:"#fffaf5"},Ys={shade50:"#251a00",shade40:"#463100",shade30:"#835b00",shade20:"#b27c00",shade10:"#d39300",primary:"#eaa300",tint10:"#edad1c",tint20:"#efb839",tint30:"#f2c661",tint40:"#f9e2ae",tint50:"#fcefd3",tint60:"#fefbf4"},Xs={shade50:"#282400",shade40:"#4c4400",shade30:"#817400",shade20:"#c0ad00",shade10:"#e4cc00",primary:"#fde300",tint10:"#fde61e",tint20:"#fdea3d",tint30:"#feee66",tint40:"#fef7b2",tint50:"#fffad6",tint60:"#fffef5"},Ns={shade50:"#1f1900",shade40:"#3a2f00",shade30:"#6c5700",shade20:"#937700",shade10:"#ae8c00",primary:"#c19c00",tint10:"#c8a718",tint20:"#d0b232",tint30:"#dac157",tint40:"#ecdfa5",tint50:"#f5eece",tint60:"#fdfbf2"},js={shade50:"#181202",shade40:"#2e2103",shade30:"#553e06",shade20:"#745408",shade10:"#89640a",primary:"#986f0b",tint10:"#a47d1e",tint20:"#b18c34",tint30:"#c1a256",tint40:"#e0cea2",tint50:"#efe4cb",tint60:"#fbf8f2"},aM={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 lM={shade50:"#0c1501",shade40:"#162702",shade30:"#294903",shade20:"#376304",shade10:"#427505",primary:"#498205",tint10:"#599116",tint20:"#6ba02b",tint30:"#85b44c",tint40:"#bdd99b",tint50:"#dbebc7",tint60:"#f6faf0"},cM={shade50:"#002111",shade40:"#003d20",shade30:"#00723b",shade20:"#009b51",shade10:"#00b85f",primary:"#00cc6a",tint10:"#19d279",tint20:"#34d889",tint30:"#5ae0a0",tint40:"#a8f0cd",tint50:"#cff7e4",tint60:"#f3fdf8"},oM={shade50:"#031a02",shade40:"#063004",shade30:"#0b5a08",shade20:"#0e7a0b",shade10:"#11910d",primary:"#13a10e",tint10:"#27ac22",tint20:"#3db838",tint30:"#5ec75a",tint40:"#a7e3a5",tint50:"#cef0cd",tint60:"#f2fbf2"},dZ={shade50:"#031403",shade40:"#052505",shade30:"#094509",shade20:"#0c5e0c",shade10:"#0e700e",primary:"#107c10",tint10:"#218c21",tint20:"#359b35",tint30:"#54b054",tint40:"#9fd89f",tint50:"#c9eac9",tint60:"#f1faf1"},eM={shade50:"#021102",shade40:"#032003",shade30:"#063b06",shade20:"#085108",shade10:"#0a5f0a",primary:"#0b6a0b",tint10:"#1a7c1a",tint20:"#2d8e2d",tint30:"#4da64d",tint40:"#9ad29a",tint50:"#c6e7c6",tint60:"#f0f9f0"},rM={shade50:"#001d1f",shade40:"#00373a",shade30:"#00666d",shade20:"#008b94",shade10:"#00a5af",primary:"#00b7c3",tint10:"#18bfca",tint20:"#32c8d1",tint30:"#58d3db",tint40:"#a6e9ed",tint50:"#cef3f5",tint60:"#f2fcfd"},tM={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 hM={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 ZM={shade50:"#001322",shade40:"#002440",shade30:"#004377",shade20:"#005ba1",shade10:"#006cbf",primary:"#0078d4",tint10:"#1a86d9",tint20:"#3595de",tint30:"#5caae5",tint40:"#a9d3f2",tint50:"#d0e7f8",tint60:"#f3f9fd"},iM={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 vM={shade50:"#0d1126",shade40:"#182047",shade30:"#2c3c85",shade20:"#3c51b4",shade10:"#4760d5",primary:"#4f6bed",tint10:"#637cef",tint20:"#778df1",tint30:"#93a4f4",tint40:"#c8d1fa",tint50:"#e1e6fc",tint60:"#f7f9fe"},nM={shade50:"#00061d",shade40:"#000c36",shade30:"#001665",shade20:"#001e89",shade10:"#0023a2",primary:"#0027b4",tint10:"#173bbd",tint20:"#3050c6",tint30:"#546fd2",tint40:"#a3b2e8",tint50:"#ccd5f3",tint60:"#f2f4fc"},dM={shade50:"#120f25",shade40:"#221d46",shade30:"#3f3682",shade20:"#5649b0",shade10:"#6656d1",primary:"#7160e8",tint10:"#8172eb",tint20:"#9184ee",tint30:"#a79cf1",tint40:"#d2ccf8",tint50:"#e7e4fb",tint60:"#f9f8fe"},mM={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 pM={shade50:"#160418",shade40:"#29072e",shade30:"#4c0d55",shade20:"#671174",shade10:"#7a1589",primary:"#881798",tint10:"#952aa4",tint20:"#a33fb1",tint30:"#b55fc1",tint40:"#d9a7e0",tint50:"#eaceef",tint60:"#faf2fb"},sM={shade50:"#1f091d",shade40:"#3a1136",shade30:"#6d2064",shade20:"#932b88",shade10:"#af33a1",primary:"#c239b3",tint10:"#c94cbc",tint20:"#d161c4",tint30:"#da7ed0",tint40:"#edbbe7",tint50:"#f5daf2",tint60:"#fdf5fc"},MM={shade50:"#1c0b1f",shade40:"#35153a",shade30:"#63276d",shade20:"#863593",shade10:"#9f3faf",primary:"#b146c2",tint10:"#ba58c9",tint20:"#c36bd1",tint30:"#cf87da",tint40:"#e6bfed",tint50:"#f2dcf5",tint60:"#fcf6fd"},_M={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 uM={shade50:"#1f0013",shade40:"#390024",shade30:"#6b0043",shade20:"#91005a",shade10:"#ac006b",primary:"#bf0077",tint10:"#c71885",tint20:"#ce3293",tint30:"#d957a8",tint40:"#eca5d1",tint50:"#f5cee6",tint60:"#fcf2f9"},AM={shade50:"#13000c",shade40:"#240017",shade30:"#43002b",shade20:"#5a003b",shade10:"#6b0045",primary:"#77004d",tint10:"#87105d",tint20:"#98246f",tint30:"#ad4589",tint40:"#d696c0",tint50:"#e9c4dc",tint60:"#faf0f6"},HM={shade50:"#141313",shade40:"#252323",shade30:"#444241",shade20:"#5d5958",shade10:"#6e6968",primary:"#7a7574",tint10:"#8a8584",tint20:"#9a9594",tint30:"#afabaa",tint40:"#d7d4d4",tint50:"#eae8e8",tint60:"#faf9f9"},VM={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 gM={shade50:"#111314",shade40:"#1f2426",shade30:"#3b4447",shade20:"#505c60",shade10:"#5f6d71",primary:"#69797e",tint10:"#79898d",tint20:"#89989d",tint30:"#a0adb2",tint40:"#cdd6d8",tint50:"#e4e9ea",tint60:"#f8f9fa"},fM={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 W1={red:zs,green:dZ,darkOrange:Qs,yellow:Xs,berry:sM,lightGreen:oM,marigold:Ys},v7={darkRed:Ps,cranberry:nZ,pumpkin:Js,peach:$s,gold:Ns,brass:js,brown:aM,forest:lM,seafoam:cM,darkGreen:eM,lightTeal:rM,teal:tM,steel:hM,blue:ZM,royalBlue:iM,cornflower:vM,navy:nM,lavender:dM,purple:mM,grape:pM,lilac:MM,pink:_M,magenta:uM,plum:AM,beige:HM,mink:VM,platinum:gM,anchor:fM},b1={cranberry:nZ,green:dZ,orange:Ks};var le=["red","green","darkOrange","yellow","berry","lightGreen","marigold"],ce=["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 v5={success:"green",warning:"orange",danger:"cranberry"};var L8=le.reduce((a,l)=>{let c=l.slice(0,1).toUpperCase()+l.slice(1),o={[`colorPalette${c}Background1`]:W1[l].tint60,[`colorPalette${c}Background2`]:W1[l].tint40,[`colorPalette${c}Background3`]:W1[l].primary,[`colorPalette${c}Foreground1`]:W1[l].shade10,[`colorPalette${c}Foreground2`]:W1[l].shade30,[`colorPalette${c}Foreground3`]:W1[l].primary,[`colorPalette${c}BorderActive`]:W1[l].primary,[`colorPalette${c}Border1`]:W1[l].tint40,[`colorPalette${c}Border2`]:W1[l].primary};return Object.assign(a,o)},{});L8.colorPaletteYellowForeground1=W1.yellow.shade30;L8.colorPaletteRedForegroundInverted=W1.red.tint20;L8.colorPaletteGreenForegroundInverted=W1.green.tint20;L8.colorPaletteYellowForegroundInverted=W1.yellow.tint40;var CC=ce.reduce((a,l)=>{let c=l.slice(0,1).toUpperCase()+l.slice(1),o={[`colorPalette${c}Background2`]:v7[l].tint40,[`colorPalette${c}Foreground2`]:v7[l].shade30,[`colorPalette${c}BorderActive`]:v7[l].primary};return Object.assign(a,o)},{}),FM={...L8,...CC},m4=Object.entries(v5).reduce((a,[l,c])=>{let o=l.slice(0,1).toUpperCase()+l.slice(1),e={[`colorStatus${o}Background1`]:b1[c].tint60,[`colorStatus${o}Background2`]:b1[c].tint40,[`colorStatus${o}Background3`]:b1[c].primary,[`colorStatus${o}Foreground1`]:b1[c].shade10,[`colorStatus${o}Foreground2`]:b1[c].shade30,[`colorStatus${o}Foreground3`]:b1[c].primary,[`colorStatus${o}ForegroundInverted`]:b1[c].tint30,[`colorStatus${o}BorderActive`]:b1[c].primary,[`colorStatus${o}Border1`]:b1[c].tint40,[`colorStatus${o}Border2`]:b1[c].primary};return Object.assign(a,e)},{});m4.colorStatusDangerBackground3Hover=b1[v5.danger].shade10;m4.colorStatusDangerBackground3Pressed=b1[v5.danger].shade20;m4.colorStatusWarningForeground1=b1[v5.warning].shade20;m4.colorStatusWarningForeground3=b1[v5.warning].shade20;m4.colorStatusWarningBorder2=b1[v5.warning].shade20;var xM=(a)=>({colorNeutralForeground1:y[14],colorNeutralForeground1Hover:y[14],colorNeutralForeground1Pressed:y[14],colorNeutralForeground1Selected:y[14],colorNeutralForeground2:y[26],colorNeutralForeground2Hover:y[14],colorNeutralForeground2Pressed:y[14],colorNeutralForeground2Selected:y[14],colorNeutralForeground2BrandHover:a[80],colorNeutralForeground2BrandPressed:a[70],colorNeutralForeground2BrandSelected:a[80],colorNeutralForeground3:y[38],colorNeutralForeground3Hover:y[26],colorNeutralForeground3Pressed:y[26],colorNeutralForeground3Selected:y[26],colorNeutralForeground3BrandHover:a[80],colorNeutralForeground3BrandPressed:a[70],colorNeutralForeground3BrandSelected:a[80],colorNeutralForeground4:y[44],colorNeutralForegroundDisabled:y[74],colorNeutralForegroundInvertedDisabled:E0[40],colorBrandForegroundLink:a[70],colorBrandForegroundLinkHover:a[60],colorBrandForegroundLinkPressed:a[40],colorBrandForegroundLinkSelected:a[70],colorNeutralForeground2Link:y[26],colorNeutralForeground2LinkHover:y[14],colorNeutralForeground2LinkPressed:y[14],colorNeutralForeground2LinkSelected:y[14],colorCompoundBrandForeground1:a[80],colorCompoundBrandForeground1Hover:a[70],colorCompoundBrandForeground1Pressed:a[60],colorBrandForeground1:a[80],colorBrandForeground2:a[70],colorBrandForeground2Hover:a[60],colorBrandForeground2Pressed:a[30],colorNeutralForeground1Static:y[14],colorNeutralForegroundStaticInverted:L1,colorNeutralForegroundInverted:L1,colorNeutralForegroundInvertedHover:L1,colorNeutralForegroundInvertedPressed:L1,colorNeutralForegroundInvertedSelected:L1,colorNeutralForegroundInverted2:L1,colorNeutralForegroundOnBrand:L1,colorNeutralForegroundInvertedLink:L1,colorNeutralForegroundInvertedLinkHover:L1,colorNeutralForegroundInvertedLinkPressed:L1,colorNeutralForegroundInvertedLinkSelected:L1,colorBrandForegroundInverted:a[100],colorBrandForegroundInvertedHover:a[110],colorBrandForegroundInvertedPressed:a[100],colorBrandForegroundOnLight:a[80],colorBrandForegroundOnLightHover:a[70],colorBrandForegroundOnLightPressed:a[50],colorBrandForegroundOnLightSelected:a[60],colorNeutralBackground1:L1,colorNeutralBackground1Hover:y[96],colorNeutralBackground1Pressed:y[88],colorNeutralBackground1Selected:y[92],colorNeutralBackground2:y[98],colorNeutralBackground2Hover:y[94],colorNeutralBackground2Pressed:y[86],colorNeutralBackground2Selected:y[90],colorNeutralBackground3:y[96],colorNeutralBackground3Hover:y[92],colorNeutralBackground3Pressed:y[84],colorNeutralBackground3Selected:y[88],colorNeutralBackground4:y[94],colorNeutralBackground4Hover:y[98],colorNeutralBackground4Pressed:y[96],colorNeutralBackground4Selected:L1,colorNeutralBackground5:y[92],colorNeutralBackground5Hover:y[96],colorNeutralBackground5Pressed:y[94],colorNeutralBackground5Selected:y[98],colorNeutralBackground6:y[90],colorNeutralBackgroundInverted:y[16],colorNeutralBackgroundStatic:y[20],colorNeutralBackgroundAlpha:E0[50],colorNeutralBackgroundAlpha2:E0[80],colorSubtleBackground:"transparent",colorSubtleBackgroundHover:y[96],colorSubtleBackgroundPressed:y[88],colorSubtleBackgroundSelected:y[92],colorSubtleBackgroundLightAlphaHover:E0[70],colorSubtleBackgroundLightAlphaPressed:E0[50],colorSubtleBackgroundLightAlphaSelected:"transparent",colorSubtleBackgroundInverted:"transparent",colorSubtleBackgroundInvertedHover:L5[10],colorSubtleBackgroundInvertedPressed:L5[30],colorSubtleBackgroundInvertedSelected:L5[20],colorTransparentBackground:"transparent",colorTransparentBackgroundHover:"transparent",colorTransparentBackgroundPressed:"transparent",colorTransparentBackgroundSelected:"transparent",colorNeutralBackgroundDisabled:y[94],colorNeutralBackgroundInvertedDisabled:E0[10],colorNeutralStencil1:y[90],colorNeutralStencil2:y[98],colorNeutralStencil1Alpha:L5[10],colorNeutralStencil2Alpha:L5[5],colorBackgroundOverlay:L5[40],colorScrollbarOverlay:L5[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:L1,colorBrandBackgroundInvertedHover:a[160],colorBrandBackgroundInvertedPressed:a[140],colorBrandBackgroundInvertedSelected:a[150],colorNeutralCardBackground:y[98],colorNeutralCardBackgroundHover:L1,colorNeutralCardBackgroundPressed:y[96],colorNeutralCardBackgroundSelected:y[92],colorNeutralCardBackgroundDisabled:y[94],colorNeutralStrokeAccessible:y[38],colorNeutralStrokeAccessibleHover:y[34],colorNeutralStrokeAccessiblePressed:y[30],colorNeutralStrokeAccessibleSelected:a[80],colorNeutralStroke1:y[82],colorNeutralStroke1Hover:y[78],colorNeutralStroke1Pressed:y[70],colorNeutralStroke1Selected:y[74],colorNeutralStroke2:y[88],colorNeutralStroke3:y[94],colorNeutralStrokeSubtle:y[88],colorNeutralStrokeOnBrand:L1,colorNeutralStrokeOnBrand2:L1,colorNeutralStrokeOnBrand2Hover:L1,colorNeutralStrokeOnBrand2Pressed:L1,colorNeutralStrokeOnBrand2Selected:L1,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:y[88],colorNeutralStrokeInvertedDisabled:E0[40],colorTransparentStroke:"transparent",colorTransparentStrokeInteractive:"transparent",colorTransparentStrokeDisabled:"transparent",colorNeutralStrokeAlpha:L5[5],colorNeutralStrokeAlpha2:E0[20],colorStrokeFocus1:L1,colorStrokeFocus2:W6,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 R8={borderRadiusNone:"0",borderRadiusSmall:"2px",borderRadiusMedium:"4px",borderRadiusLarge:"6px",borderRadiusXLarge:"8px",borderRadiusCircular:"10000px"};var oe={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 ee={durationUltraFast:"50ms",durationFaster:"100ms",durationFast:"150ms",durationNormal:"200ms",durationGentle:"250ms",durationSlow:"300ms",durationSlower:"400ms",durationUltraSlow:"500ms"};var S8={fontSizeBase100:"10px",fontSizeBase200:"12px",fontSizeBase300:"14px",fontSizeBase400:"16px",fontSizeBase500:"20px",fontSizeBase600:"24px",fontSizeHero700:"28px",fontSizeHero800:"32px",fontSizeHero900:"40px",fontSizeHero1000:"68px"},D8={lineHeightBase100:"14px",lineHeightBase200:"16px",lineHeightBase300:"20px",lineHeightBase400:"22px",lineHeightBase500:"28px",lineHeightBase600:"32px",lineHeightHero700:"36px",lineHeightHero800:"40px",lineHeightHero900:"52px",lineHeightHero1000:"92px"},w8={fontWeightRegular:400,fontWeightMedium:500,fontWeightSemibold:600,fontWeightBold:700},k8={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"},re={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},te={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 y8={strokeWidthThin:"1px",strokeWidthThick:"2px",strokeWidthThicker:"3px",strokeWidthThickest:"4px"};var c0={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 I6(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 V3=(a)=>{let l=xM(a);return{...R8,...S8,...D8,...k8,...w8,...y8,...re,...te,...ee,...oe,...l,...FM,...m4,...I6(l.colorNeutralShadowAmbient,l.colorNeutralShadowKey),...I6(l.colorBrandShadowAmbient,l.colorBrandShadowKey,"Brand")}};var CM={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 n7=le.reduce((a,l)=>{let c=l.slice(0,1).toUpperCase()+l.slice(1),o={[`colorPalette${c}Background1`]:W1[l].shade40,[`colorPalette${c}Background2`]:W1[l].shade30,[`colorPalette${c}Background3`]:W1[l].primary,[`colorPalette${c}Foreground1`]:W1[l].tint30,[`colorPalette${c}Foreground2`]:W1[l].tint40,[`colorPalette${c}Foreground3`]:W1[l].tint20,[`colorPalette${c}BorderActive`]:W1[l].tint30,[`colorPalette${c}Border1`]:W1[l].primary,[`colorPalette${c}Border2`]:W1[l].tint20};return Object.assign(a,o)},{});n7.colorPaletteRedForeground3=W1.red.tint30;n7.colorPaletteRedBorder2=W1.red.tint30;n7.colorPaletteGreenForeground3=W1.green.tint40;n7.colorPaletteGreenBorder2=W1.green.tint40;n7.colorPaletteDarkOrangeForeground3=W1.darkOrange.tint30;n7.colorPaletteDarkOrangeBorder2=W1.darkOrange.tint30;n7.colorPaletteRedForegroundInverted=W1.red.primary;n7.colorPaletteGreenForegroundInverted=W1.green.primary;n7.colorPaletteYellowForegroundInverted=W1.yellow.shade30;var mZ=ce.reduce((a,l)=>{let c=l.slice(0,1).toUpperCase()+l.slice(1),o={[`colorPalette${c}Background2`]:v7[l].shade30,[`colorPalette${c}Foreground2`]:v7[l].tint40,[`colorPalette${c}BorderActive`]:v7[l].tint30};return Object.assign(a,o)},{});mZ.colorPaletteDarkRedBackground2=v7.darkRed.shade20;mZ.colorPalettePlumBackground2=v7.plum.shade20;var LM={...n7,...mZ},Q7=Object.entries(v5).reduce((a,[l,c])=>{let o=l.slice(0,1).toUpperCase()+l.slice(1),e={[`colorStatus${o}Background1`]:b1[c].shade40,[`colorStatus${o}Background2`]:b1[c].shade30,[`colorStatus${o}Background3`]:b1[c].primary,[`colorStatus${o}Foreground1`]:b1[c].tint30,[`colorStatus${o}Foreground2`]:b1[c].tint40,[`colorStatus${o}Foreground3`]:b1[c].tint20,[`colorStatus${o}BorderActive`]:b1[c].tint30,[`colorStatus${o}ForegroundInverted`]:b1[c].shade10,[`colorStatus${o}Border1`]:b1[c].primary,[`colorStatus${o}Border2`]:b1[c].tint20};return Object.assign(a,e)},{});Q7.colorStatusDangerBackground3Hover=b1[v5.danger].shade10;Q7.colorStatusDangerBackground3Pressed=b1[v5.danger].shade20;Q7.colorStatusDangerForeground3=b1[v5.danger].tint40;Q7.colorStatusDangerBorder2=b1[v5.danger].tint30;Q7.colorStatusSuccessForeground3=b1[v5.success].tint40;Q7.colorStatusSuccessBorder2=b1[v5.success].tint40;Q7.colorStatusWarningForegroundInverted=b1[v5.warning].shade20;var g2=V3(CM);var RM=(a)=>({colorNeutralForeground1:L1,colorNeutralForeground1Hover:L1,colorNeutralForeground1Pressed:L1,colorNeutralForeground1Selected:L1,colorNeutralForeground2:y[84],colorNeutralForeground2Hover:L1,colorNeutralForeground2Pressed:L1,colorNeutralForeground2Selected:L1,colorNeutralForeground2BrandHover:a[100],colorNeutralForeground2BrandPressed:a[90],colorNeutralForeground2BrandSelected:a[100],colorNeutralForeground3:y[68],colorNeutralForeground3Hover:y[84],colorNeutralForeground3Pressed:y[84],colorNeutralForeground3Selected:y[84],colorNeutralForeground3BrandHover:a[100],colorNeutralForeground3BrandPressed:a[90],colorNeutralForeground3BrandSelected:a[100],colorNeutralForeground4:y[60],colorNeutralForegroundDisabled:y[36],colorNeutralForegroundInvertedDisabled:E0[40],colorBrandForegroundLink:a[100],colorBrandForegroundLinkHover:a[110],colorBrandForegroundLinkPressed:a[90],colorBrandForegroundLinkSelected:a[100],colorNeutralForeground2Link:y[84],colorNeutralForeground2LinkHover:L1,colorNeutralForeground2LinkPressed:L1,colorNeutralForeground2LinkSelected:L1,colorCompoundBrandForeground1:a[100],colorCompoundBrandForeground1Hover:a[110],colorCompoundBrandForeground1Pressed:a[90],colorBrandForeground1:a[100],colorBrandForeground2:a[110],colorBrandForeground2Hover:a[130],colorBrandForeground2Pressed:a[160],colorNeutralForeground1Static:y[14],colorNeutralForegroundStaticInverted:L1,colorNeutralForegroundInverted:y[14],colorNeutralForegroundInvertedHover:y[14],colorNeutralForegroundInvertedPressed:y[14],colorNeutralForegroundInvertedSelected:y[14],colorNeutralForegroundInverted2:y[14],colorNeutralForegroundOnBrand:L1,colorNeutralForegroundInvertedLink:L1,colorNeutralForegroundInvertedLinkHover:L1,colorNeutralForegroundInvertedLinkPressed:L1,colorNeutralForegroundInvertedLinkSelected:L1,colorBrandForegroundInverted:a[80],colorBrandForegroundInvertedHover:a[70],colorBrandForegroundInvertedPressed:a[60],colorBrandForegroundOnLight:a[80],colorBrandForegroundOnLightHover:a[70],colorBrandForegroundOnLightPressed:a[50],colorBrandForegroundOnLightSelected:a[60],colorNeutralBackground1:y[16],colorNeutralBackground1Hover:y[24],colorNeutralBackground1Pressed:y[12],colorNeutralBackground1Selected:y[22],colorNeutralBackground2:y[12],colorNeutralBackground2Hover:y[20],colorNeutralBackground2Pressed:y[8],colorNeutralBackground2Selected:y[18],colorNeutralBackground3:y[8],colorNeutralBackground3Hover:y[16],colorNeutralBackground3Pressed:y[4],colorNeutralBackground3Selected:y[14],colorNeutralBackground4:y[4],colorNeutralBackground4Hover:y[12],colorNeutralBackground4Pressed:W6,colorNeutralBackground4Selected:y[10],colorNeutralBackground5:W6,colorNeutralBackground5Hover:y[8],colorNeutralBackground5Pressed:y[2],colorNeutralBackground5Selected:y[6],colorNeutralBackground6:y[20],colorNeutralBackgroundInverted:L1,colorNeutralBackgroundStatic:y[24],colorNeutralBackgroundAlpha:Is[50],colorNeutralBackgroundAlpha2:qs[70],colorSubtleBackground:"transparent",colorSubtleBackgroundHover:y[22],colorSubtleBackgroundPressed:y[18],colorSubtleBackgroundSelected:y[20],colorSubtleBackgroundLightAlphaHover:vZ[80],colorSubtleBackgroundLightAlphaPressed:vZ[50],colorSubtleBackgroundLightAlphaSelected:"transparent",colorSubtleBackgroundInverted:"transparent",colorSubtleBackgroundInvertedHover:L5[10],colorSubtleBackgroundInvertedPressed:L5[30],colorSubtleBackgroundInvertedSelected:L5[20],colorTransparentBackground:"transparent",colorTransparentBackgroundHover:"transparent",colorTransparentBackgroundPressed:"transparent",colorTransparentBackgroundSelected:"transparent",colorNeutralBackgroundDisabled:y[8],colorNeutralBackgroundInvertedDisabled:E0[10],colorNeutralStencil1:y[34],colorNeutralStencil2:y[20],colorNeutralStencil1Alpha:E0[10],colorNeutralStencil2Alpha:E0[5],colorBackgroundOverlay:L5[50],colorScrollbarOverlay:E0[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:L1,colorBrandBackgroundInvertedHover:a[160],colorBrandBackgroundInvertedPressed:a[140],colorBrandBackgroundInvertedSelected:a[150],colorNeutralCardBackground:y[20],colorNeutralCardBackgroundHover:y[24],colorNeutralCardBackgroundPressed:y[18],colorNeutralCardBackgroundSelected:y[22],colorNeutralCardBackgroundDisabled:y[8],colorNeutralStrokeAccessible:y[68],colorNeutralStrokeAccessibleHover:y[74],colorNeutralStrokeAccessiblePressed:y[70],colorNeutralStrokeAccessibleSelected:a[100],colorNeutralStroke1:y[40],colorNeutralStroke1Hover:y[46],colorNeutralStroke1Pressed:y[42],colorNeutralStroke1Selected:y[44],colorNeutralStroke2:y[32],colorNeutralStroke3:y[24],colorNeutralStrokeSubtle:y[4],colorNeutralStrokeOnBrand:y[16],colorNeutralStrokeOnBrand2:L1,colorNeutralStrokeOnBrand2Hover:L1,colorNeutralStrokeOnBrand2Pressed:L1,colorNeutralStrokeOnBrand2Selected:L1,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:y[26],colorNeutralStrokeInvertedDisabled:E0[40],colorTransparentStroke:"transparent",colorTransparentStrokeInteractive:"transparent",colorTransparentStrokeDisabled:"transparent",colorNeutralStrokeAlpha:E0[10],colorNeutralStrokeAlpha2:E0[20],colorStrokeFocus1:W6,colorStrokeFocus2:L1,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 q6=(a)=>{let l=RM(a);return{...R8,...S8,...D8,...k8,...w8,...y8,...re,...te,...ee,...oe,...l,...LM,...Q7,...I6(l.colorNeutralShadowAmbient,l.colorNeutralShadowKey),...I6(l.colorBrandShadowAmbient,l.colorBrandShadowKey,"Brand")}};F();F();var p4={root:"fui-FluentProvider"},kC=/*@__PURE__*/t8({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);}"]}),U8=(a)=>{let l=u2(),c=kC({dir:a.dir,renderer:l});return a.root.className=D(p4.root,a.themeClassName,c.root,a.root.className),a};var yC=_2?_2:q1,UC=(a,l)=>{if(!(a===null||a===void 0?void 0:a.head))return;let c=a.createElement("style");return Object.keys(l).forEach((o)=>{c.setAttribute(o,l[o])}),a.head.appendChild(c),c},GC=(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.")},G8=(a)=>{let{targetDocument:l,theme:c,rendererAttributes:o}=a,e=G(),r=N1(p4.root),t=o,h=p1(()=>i8(`.${r}`,c),[c,r]);return p1(()=>{if(l){var Z;let n=`.${p4.root}.${r}`,v=l.querySelectorAll(n),d=`style[id="${r}"]`,m=l.querySelectorAll(d);if(m.length>1){console.error(["@fluentui/react-provider: We found multiple <style> elements with same IDs in your DOM.","Please make sure that you configured your application properly.",`
|
|
133
133
|
`,`
|
|
134
|
-
`,"Configuration guide: https://aka.ms/fluentui-conflicting-ids"].join(" "));return}let m
|
|
134
|
+
`,"Configuration guide: https://aka.ms/fluentui-conflicting-ids"].join(" "));return}let s=m.item(0);var i;let M=((i=s===null||s===void 0?void 0:(Z=s.textContent)===null||Z===void 0?void 0:Z.length)!==null&&i!==void 0?i:0)>0?1:0;if(v.length>M)console.error(["@fluentui/react-provider: There are conflicting ids in your DOM.","Please make sure that you configured your application properly.",`
|
|
135
135
|
`,`
|
|
136
|
-
`,"Configuration guide: https://aka.ms/fluentui-conflicting-ids"].join(" "))}},[]),Sx(l,r),Rx(()=>{let Z=l===null||l===void 0?void 0:l.getElementById(r);if(Z)e.current=Z;else if(e.current=Dx(l,{...t,id:r}),e.current)wx(e.current,h);return()=>{var i;(i=e.current)===null||i===void 0||i.remove()}},[r,l,h,t]),{styleTagId:r,rule:h}};function Sx(a,l){Z1(()=>{if(!a)return;let c=a.getElementById(l);if(c)a.head.append(c)})}var kx={},yx={},Ha=(a,l)=>{let c=V1(),o=Ux(),e=d6(),r=l1(Q3)||kx,{applyStylesToPortals:t=!0,customStyleHooks_unstable:h,dir:Z=c.dir,targetDocument:i=c.targetDocument,theme:v,overrides_unstable:n={}}=a,d=Oh(o,v),p=Oh(e,n),m=Oh(r,h),s=m2();var M;let{styleTagId:u,rule:A}=Aa({theme:d,targetDocument:i,rendererAttributes:(M=s.styleElementAttributes)!==null&&M!==void 0?M:yx});return h1(()=>{if(d===void 0)console.warn(['@fluentui/react-provider: FluentProvider does not have your "theme" defined.',"Make sure that your top-level FluentProvider has set a `theme` prop or you're setting the theme in your child FluentProvider."].join(" "))},[]),{applyStylesToPortals:t,customStyleHooks_unstable:m,dir:Z,targetDocument:i,theme:d,overrides_unstable:p,themeClassName:u,components:{root:"div"},root:S.always(N("div",{...a,dir:Z,ref:J1(l,y7({targetDocument:i}))}),{elementType:"div"}),serverStyleProps:{cssRule:A,attributes:{...s.styleElementAttributes,id:u}}}};function Oh(a,l){if(a&&l)return{...a,...l};if(a)return a;return l}function Ux(){return l1(v6)}f();function Va(a){let{applyStylesToPortals:l,customStyleHooks_unstable:c,dir:o,root:e,targetDocument:r,theme:t,themeClassName:h,overrides_unstable:Z}=a,i=u1(()=>({dir:o,targetDocument:r}),[o,r]),[v]=Z1(()=>({})),n=u1(()=>({textDirection:o}),[o]);return{customStyleHooks_unstable:c,overrides_unstable:Z,provider:i,textDirection:o,iconDirection:n,tooltip:v,theme:t,themeClassName:l?e.className:h}}var l4=/*@__PURE__*/O((a,l)=>{let c=Ha(a,l);ua(c);let o=Va(c);return ta(c,o)});l4.displayName="FluentProvider";f();var Uo=J4(Ws(),1),Bx=(a)=>{let l=(c)=>{let o=E(c.value),e=E(0),r=E();if(!r.current)r.current={value:o,version:e,listeners:[]};return W1(()=>{o.current=c.value,e.current+=1,Uo.unstable_runWithPriority(Uo.unstable_NormalPriority,()=>{r.current.listeners.forEach((t)=>{t([e.current,c.value])})})},[c.value]),r1(a,{value:r.current},c.children)};return l.displayName="ContextSelector.Provider",l},o4=(a)=>{let l=e1({value:{current:a},version:{current:-1},listeners:[]});return l.Provider=Bx(l.Provider),delete l.Consumer,l};f();var L6=(a,l)=>{let c=l1(a),{value:{current:o},version:{current:e},listeners:r}=c,t=l(o),[h,Z]=Z1([o,t]),i=(n)=>{Z((d)=>{if(!n)return[o,t];if(n[0]<=e){if(Object.is(d[1],t))return d;return[o,t]}try{if(Object.is(d[0],n[1]))return d;let p=l(n[1]);if(Object.is(d[1],p))return d;return[n[1],p]}catch(p){}return[d[0],d[1]]})};if(!Object.is(h[1],t))i(void 0);let v=i1(i);return W1(()=>{return r.push(v),()=>{let n=r.indexOf(v);r.splice(n,1)}},[v,r]),h[1]};f();function Th(a){let l=l1(a);if(l.version)return l.version.current!==-1;return!1}var e4="Enter",v3=" ",Eh="Tab",Wh="ArrowDown";var Ih="ArrowUp";var Ph="Delete";var r4="Escape";f();function A2(a,l){let{disabled:c,disabledFocusable:o=!1,["aria-disabled"]:e,onClick:r,onKeyDown:t,onKeyUp:h,...Z}=l!==null&&l!==void 0?l:{},i=typeof e==="string"?e==="true":e,v=c||o||i,n=i1((m)=>{if(v)m.preventDefault(),m.stopPropagation();else r===null||r===void 0||r(m)}),d=i1((m)=>{if(t===null||t===void 0||t(m),m.isDefaultPrevented())return;let s=m.key;if(v&&(s===e4||s===v3)){m.preventDefault(),m.stopPropagation();return}if(s===v3){m.preventDefault();return}else if(s===e4)m.preventDefault(),m.currentTarget.click()}),p=i1((m)=>{if(h===null||h===void 0||h(m),m.isDefaultPrevented())return;let s=m.key;if(v&&(s===e4||s===v3)){m.preventDefault(),m.stopPropagation();return}if(s===v3)m.preventDefault(),m.currentTarget.click()});if(a==="button"||a===void 0)return{...Z,disabled:c&&!o,"aria-disabled":o?!0:i,onClick:o?void 0:n,onKeyUp:o?void 0:h,onKeyDown:o?void 0:t};else{let m=!!Z.href,s=m?void 0:"button";if(!s&&v)s="link";let M={role:s,tabIndex:o||!m&&!c?0:void 0,...Z,onClick:n,onKeyUp:p,onKeyDown:d,"aria-disabled":v};if(a==="a"&&v)M.href=void 0;return M}}f();var Is=k({root:{mc9l5x:"f1w7gpdv",Bg96gwp:"fez10in"},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);}"]});var Ps=(a,l)=>{let{title:c,primaryFill:o="currentColor",...e}=a,r={...e,title:void 0,fill:o},t=Is(),h=dh();if(r.className=R(t.root,(l===null||l===void 0?void 0:l.flipInRtl)&&(h===null||h===void 0?void 0:h.textDirection)==="rtl"&&t.rtl,r.className),c)r["aria-label"]=c;if(!r["aria-label"]&&!r["aria-labelledby"])r["aria-hidden"]=!0;else r.role="img";return r};var qs=k({root:{ycbfsm:"fg4l7m0"}},{t:["@media (forced-colors: active){.fg4l7m0{forced-color-adjust:auto;}}"]});var C1=(a,l,c,o)=>{let e=l==="1em"?"20":l,r=O((t,h)=>{let Z=qs(),i=Ps(t,{flipInRtl:o===null||o===void 0?void 0:o.flipInRtl}),v={...i,className:R(i.className,Z.root),ref:h,width:l,height:l,viewBox:`0 0 ${e} ${e}`,xmlns:"http://www.w3.org/2000/svg"};if(typeof c==="string")return r1("svg",{...v,dangerouslySetInnerHTML:{__html:c}});else return r1("svg",v,...c.map((n)=>r1("path",{d:n,fill:v.fill})))});return r.displayName=a,r};var zs=/*@__PURE__*/C1("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 Go=/*@__PURE__*/C1("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 R6=/*@__PURE__*/C1("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 Ks=/*@__PURE__*/C1("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 Bo=/*@__PURE__*/C1("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 bo=/*@__PURE__*/C1("CircleFilled","1em",["M10 2a8 8 0 1 0 0 16 8 8 0 0 0 0-16Z"]);var Oo=/*@__PURE__*/C1("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 Js=/*@__PURE__*/C1("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 $s=/*@__PURE__*/C1("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 To=/*@__PURE__*/C1("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 Eo=/*@__PURE__*/C1("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 D6=/*@__PURE__*/C1("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 Qs=/*@__PURE__*/C1("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 Ys=/*@__PURE__*/C1("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 Xs=/*@__PURE__*/C1("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 js=/*@__PURE__*/C1("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 Ns=/*@__PURE__*/C1("CheckmarkCircle12Filled","12",["M1 6a5 5 0 1 1 10 0A5 5 0 0 1 1 6Zm7.35-.9a.5.5 0 1 0-.7-.7L5.5 6.54 4.35 5.4a.5.5 0 1 0-.7.7l1.5 1.5c.2.2.5.2.7 0l2.5-2.5Z"]);var aM=/*@__PURE__*/C1("CheckmarkCircle24Regular","24",["M12 2a10 10 0 1 1 0 20 10 10 0 0 1 0-20Zm0 1.5a8.5 8.5 0 1 0 0 17 8.5 8.5 0 0 0 0-17Zm-1.25 9.94 4.47-4.47a.75.75 0 0 1 1.13.98l-.07.08-5 5a.75.75 0 0 1-.98.07l-.08-.07-2.5-2.5a.75.75 0 0 1 .98-1.13l.08.07 1.97 1.97 4.47-4.47-4.47 4.47Z"]);var lM=/*@__PURE__*/C1("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 d3=/*@__PURE__*/C1("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 cM=/*@__PURE__*/C1("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 oM=/*@__PURE__*/C1("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 o7=/*@__PURE__*/C1("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 eM=/*@__PURE__*/C1("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 rM=/*@__PURE__*/C1("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 Wo=/*@__PURE__*/C1("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 tM=/*@__PURE__*/C1("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 hM=/*@__PURE__*/C1("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 ZM=/*@__PURE__*/C1("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 iM=/*@__PURE__*/C1("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 nM=/*@__PURE__*/C1("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 vM={durationUltraFast:50,durationFaster:100,durationFast:150,durationNormal:200,durationGentle:250,durationSlow:300,durationSlower:400,durationUltraSlow:500},dM={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)"},B1={...vM,...dM};f();f();function pM(a){if(a.playState==="running"){var l;if(a.overallProgress!==void 0){var c;let h=(c=a.overallProgress)!==null&&c!==void 0?c:0;return h>0&&h<1}var o;let r=Number((o=a.currentTime)!==null&&o!==void 0?o:0);var e;let t=Number((e=(l=a.effect)===null||l===void 0?void 0:l.getTiming().duration)!==null&&e!==void 0?e:0);return r>0&&r<t}return!1}var bx={fill:"forwards"},Ox={duration:1};function Tx(){var a;let l=typeof window!=="undefined"&&typeof((a=window.Animation)===null||a===void 0?void 0:a.prototype.persist)==="function";return $((c,o,e)=>{let r=Array.isArray(o)?o:[o],{isReducedMotion:t}=e,h=r.map((Z)=>{let{keyframes:i,reducedMotion:v=Ox,...n}=Z,{keyframes:d=i,...p}=v,m=t?d:i,s={...bx,...n,...t&&p};try{let u=c.animate(m,s);if(l)u===null||u===void 0||u.persist();else{let A=m[m.length-1];var M;Object.assign((M=c.style)!==null&&M!==void 0?M:{},A)}return u}catch(u){return null}}).filter((Z)=>!!Z);return{set playbackRate(Z){h.forEach((i)=>{i.playbackRate=Z})},setMotionEndCallbacks(Z,i){let v=h.map((n)=>{return new Promise((d,p)=>{n.onfinish=()=>d(),n.oncancel=()=>p()})});Promise.all(v).then(()=>{Z()}).catch(()=>{i()})},isRunning(){return h.some((Z)=>pM(Z))},cancel:()=>{h.forEach((Z)=>{Z.cancel()})},pause:()=>{h.forEach((Z)=>{Z.pause()})},play:()=>{h.forEach((Z)=>{Z.play()})},finish:()=>{h.forEach((Z)=>{Z.finish()})},reverse:()=>{h.forEach((Z)=>{Z.reverse()})}}},[l])}function Io(){return Tx()}f();function Po(a){let l=E();return m5(a,()=>({setPlayState:(c)=>{if(c==="running"){var o;(o=l.current)===null||o===void 0||o.play()}if(c==="paused"){var e;(e=l.current)===null||e===void 0||e.pause()}},setPlaybackRate:(c)=>{if(l.current)l.current.playbackRate=c}})),l}f();var Ex="screen and (prefers-reduced-motion: reduce)";function qo(){let{targetDocument:a}=V1();var l;let c=(l=a===null||a===void 0?void 0:a.defaultView)!==null&&l!==void 0?l:null,o=E(!1),e=$(()=>o.current,[]);return W1(()=>{if(c===null||typeof c.matchMedia!=="function")return;let r=c.matchMedia(Ex);if(r.matches)o.current=!0;let t=(h)=>{o.current=h.matches};return r.addEventListener("change",t),()=>{r.removeEventListener("change",t)}},[c]),e}f();var Wx=J3.startsWith("19."),mM=["@fluentui/react-motion: Invalid child element.",`
|
|
137
|
-
`,"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 Ix(a){if(Wx)return a.props.ref;return a.ref}function zo(a,l=!0){let c=E(null);h1(()=>{if(l&&!c.current)console.error(mM)},[l]);try{let o=C7.only(a);if(h5(o))return[o3(o,{ref:J1(c,Ix(o))}),c]}catch{}throw new Error(mM)}f();var sM=e1(void 0),OQ=sM.Provider,Ko=()=>{var a;return(a=l1(sM))!==null&&a!==void 0?a:"default"};function qh(a){return(c)=>{let{children:o,imperativeRef:e,onMotionFinish:r,onMotionStart:t,onMotionCancel:h,...Z}=c,i=Z,[v,n]=zo(o),d=Po(e),p=Ko()==="skip",m=E({skipMotions:p,params:i}),s=Io(),M=qo(),u=i1(()=>{t===null||t===void 0||t(null)}),A=i1(()=>{r===null||r===void 0||r(null)}),H=i1(()=>{h===null||h===void 0||h(null)});return W1(()=>{m.current={skipMotions:p,params:i}}),W1(()=>{let g=n.current;if(g){let F=typeof a==="function"?a({element:g,...m.current.params}):a;u();let D=s(g,F,{isReducedMotion:M()});if(d.current=D,D.setMotionEndCallbacks(A,H),m.current.skipMotions)D.finish();return()=>{D.cancel()}}},[s,n,d,M,A,u,H]),v}}f();f();var zh=e1(void 0),JQ=zh.Provider;f();function MM(a=!1,l=!1){let c=E(l?a:!0),o=m6(),e=$((r)=>{if(c.current!==r)c.current=r,o()},[o]);return h1(()=>{if(a)c.current=a}),[a||c.current,e]}var Kh=Symbol("MOTION_DEFINITION"),Px=Symbol.for("interruptablePresence");function x5(a){return Object.assign((l)=>{let o={...l1(zh),...l},e=Ko()==="skip",{appear:r,children:t,imperativeRef:h,onExit:Z,onMotionFinish:i,onMotionStart:v,onMotionCancel:n,visible:d,unmountOnExit:p,...m}=o,s=m,[M,u]=MM(d,p),[A,H]=zo(t,M),g=Po(h),F=E({appear:r,params:s,skipMotions:e}),D=Io(),x=_o(),b=qo(),T=i1((Y)=>{v===null||v===void 0||v(null,{direction:Y})}),n1=i1((Y)=>{if(i===null||i===void 0||i(null,{direction:Y}),Y==="exit"&&p)u(!1),Z===null||Z===void 0||Z()}),c1=i1((Y)=>{n===null||n===void 0||n(null,{direction:Y})});if(W1(()=>{F.current={appear:r,params:s,skipMotions:e}}),W1(()=>{let Y=H.current;if(!Y)return;let C;function w(){if(!C)return;if(J&&C.isRunning())return;C.cancel(),g.current=void 0}let U=typeof a==="function"?a({element:Y,...F.current.params}):a,J=U[Px];if(J){if(C=g.current,C&&C.isRunning())return C.reverse(),w}let j=d?U.enter:U.exit,d1=d?"enter":"exit",q=!F.current.appear&&x,m1=F.current.skipMotions;if(!q)T(d1);if(C=D(Y,j,{isReducedMotion:b()}),q)return C.finish(),w;if(g.current=C,C.setMotionEndCallbacks(()=>n1(d1),()=>c1(d1)),m1)C.finish();return w},[D,H,g,b,n1,T,c1,d]),M)return A;return null},{[Kh]:typeof a==="function"?a:()=>a},{In:qh(typeof a==="function"?(...l)=>a(...l).enter:a.enter),Out:qh(typeof a==="function"?(...l)=>a(...l).exit:a.exit)})}function qx(a,l){return(o)=>a({...l,...o})}function t4(a,l){let c=a[Kh],o=qx(c,l);return x5(o)}f();function h4(a,l){let{as:c,children:o,...e}=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 t=!l.defaultProps.visible&&l.defaultProps.unmountOnExit,h=(Z,i)=>t?null:/*@__PURE__*/r1(p1,null,i.children);return{[L7]:h,[Z5]:l.elementType}}let r={...l.defaultProps,...e,[Z5]:l.elementType};if(typeof o==="function")r[L7]=o;return r}var _M=(a,l)=>{let c=a==="horizontal"?"maxWidth":"maxHeight",o=a==="horizontal"?"overflowX":"overflowY",r=`${a==="horizontal"?l.scrollWidth:l.scrollHeight}px`;return{sizeName:c,overflowName:o,toSize:r}},uM=({orientation:a,duration:l,easing:c,element:o,fromSize:e="0"})=>{let{sizeName:r,overflowName:t,toSize:h}=_M(a,o);return{keyframes:[{[r]:e,[t]:"hidden"},{[r]:h,offset:0.9999,[t]:"hidden"},{[r]:"unset",[t]:"unset"}],duration:l,easing:c}},AM=({orientation:a,duration:l,easing:c,element:o,delay:e=0,fromSize:r="0"})=>{let{sizeName:t,overflowName:h,toSize:Z}=_M(a,o);return{keyframes:[{[t]:Z,[h]:"hidden"},{[t]:r,[h]:"hidden"}],duration:l,easing:c,fill:"both",delay:e}},zx=(a)=>{if(a==="horizontal")return{paddingStart:"paddingInlineStart",paddingEnd:"paddingInlineEnd",marginStart:"marginInlineStart",marginEnd:"marginInlineEnd"};return{paddingStart:"paddingBlockStart",paddingEnd:"paddingBlockEnd",marginStart:"marginBlockStart",marginEnd:"marginBlockEnd"}},Jh=({direction:a,orientation:l,duration:c,easing:o,delay:e=0})=>{let{paddingStart:r,paddingEnd:t,marginStart:h,marginEnd:Z}=zx(l),i=a==="enter"?0:1,n={keyframes:[{[r]:"0",[t]:"0",[h]:"0",[Z]:"0",offset:i}],duration:c,easing:o,delay:e};if(a==="exit")n.fill="forwards";return n};var w6=({direction:a,duration:l,easing:c=B1.curveLinear,fromOpacity:o=0})=>{let e=[{opacity:o},{opacity:1}];if(a==="exit")e.reverse();return{keyframes:e,duration:l,easing:c}};function HM({element:a,orientation:l,animateOpacity:c,sizeDuration:o,opacityDuration:e=o,easing:r,delay:t,exitSizeDuration:h,exitOpacityDuration:Z=h,exitEasing:i,exitDelay:v}){let n=[uM({orientation:l,duration:o,easing:r,element:a}),Jh({direction:"enter",orientation:l,duration:o,easing:r})];if(c)n.push({...w6({direction:"enter",duration:e,easing:r}),delay:t,fill:"both"});let d=[];if(c)d.push(w6({direction:"exit",duration:Z,easing:i}));return d.push(AM({orientation:l,duration:h,easing:i,element:a,delay:v}),Jh({direction:"exit",orientation:l,duration:h,easing:i,delay:v})),{enter:n,exit:d}}var Kx=({element:a,duration:l=B1.durationNormal,easing:c=B1.curveEasyEaseMax,exitDuration:o=l,exitEasing:e=c,animateOpacity:r=!0,orientation:t="vertical"})=>{return HM({element:a,orientation:t,animateOpacity:r,sizeDuration:l,opacityDuration:l,easing:c,exitSizeDuration:o,exitOpacityDuration:o,exitEasing:e,delay:0,exitDelay:0})},Jx=({element:a,sizeDuration:l=B1.durationNormal,opacityDuration:c=B1.durationSlower,easing:o=B1.curveEasyEase,delay:e=B1.durationNormal,exitSizeDuration:r=l,exitOpacityDuration:t=c,exitEasing:h=o,exitDelay:Z=B1.durationSlower,animateOpacity:i=!0,orientation:v="vertical"})=>{return HM({element:a,orientation:v,animateOpacity:i,sizeDuration:l,opacityDuration:c,easing:o,delay:e,exitSizeDuration:r,exitOpacityDuration:t,exitEasing:h,exitDelay:Z})},Jo=x5(Kx),VM=t4(Jo,{duration:B1.durationFast}),fM=t4(Jo,{duration:B1.durationSlower}),$o=x5(Jx);var $x=({duration:a=B1.durationNormal,easing:l=B1.curveEasyEase,exitDuration:c=a,exitEasing:o=l})=>{return{enter:w6({direction:"enter",duration:a,easing:l}),exit:w6({direction:"exit",duration:c,easing:o})}},Qo=x5($x),gM=t4(Qo,{duration:B1.durationFast}),Yo=t4(Qo,{duration:B1.durationGentle});f();f();var fa=(a,l)=>{let{shape:c="circular",size:o="medium",iconPosition:e="before",appearance:r="filled",color:t="brand"}=a;return{shape:c,size:o,iconPosition:e,appearance:r,color:t,components:{root:"div",icon:"span"},root:S.always(N("div",{ref:l,...a}),{elementType:"div"}),icon:S.optional(a.icon,{elementType:"span"})}};var ga={root:"fui-Badge",icon:"fui-Badge__icon"},bY=a0.spacingHorizontalXXS,Qx=/*@__PURE__*/Q("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;}']),Yx=/*@__PURE__*/k({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);}"]}),Xx=/*@__PURE__*/Q("rttl5z0",null,[".rttl5z0{display:flex;line-height:1;margin:0 calc(-1 * var(--spacingHorizontalXXS));font-size:12px;}"]),jx=/*@__PURE__*/k({beforeText:{t21cq0:["f1t8l4o1","f11juvx6"]},afterText:{Frg6f3:["f11juvx6","f1t8l4o1"]},beforeTextXL:{t21cq0:["f1rs9grm","f1kwmkpi"]},afterTextXL:{Frg6f3:["f1kwmkpi","f1rs9grm"]},tiny:{Be2twd7:"f1tccstq"},"extra-small":{Be2twd7:"fnmn6fi"},small:{Be2twd7:"f1ugzwwg"},medium:{},large:{Be2twd7:"f4ybsrx"},"extra-large":{Be2twd7:"fe5j1ua"}},{d:[".f1t8l4o1{margin-right:calc(var(--spacingHorizontalXXS) + var(--spacingHorizontalXXS));}",".f11juvx6{margin-left:calc(var(--spacingHorizontalXXS) + var(--spacingHorizontalXXS));}",".f1rs9grm{margin-right:calc(var(--spacingHorizontalXS) + var(--spacingHorizontalXXS));}",".f1kwmkpi{margin-left:calc(var(--spacingHorizontalXS) + var(--spacingHorizontalXXS));}",".f1tccstq{font-size:6px;}",".fnmn6fi{font-size:10px;}",".f1ugzwwg{font-size:12px;}",".f4ybsrx{font-size:16px;}",".fe5j1ua{font-size:20px;}"]}),Fa=(a)=>{let l=Qx(),c=Yx(),o=a.size==="small"||a.size==="extra-small"||a.size==="tiny";a.root.className=R(ga.root,l,o&&c.fontSmallToTiny,c[a.size],c[a.shape],a.shape==="rounded"&&o&&c.roundedSmallToTiny,a.appearance==="ghost"&&c.borderGhost,c[a.appearance],c[`${a.appearance}-${a.color}`],a.root.className);let e=Xx(),r=jx();if(a.icon){let t;if(a.root.children)if(a.size==="extra-large")t=a.iconPosition==="after"?r.afterTextXL:r.beforeTextXL;else t=a.iconPosition==="after"?r.afterText:r.beforeText;a.icon.className=R(ga.icon,e,t,r[a.size],a.icon.className)}return a};var xa=(a)=>{return W(a),/*@__PURE__*/F1(a.root,{children:[a.iconPosition==="before"&&a.icon&&/*@__PURE__*/L(a.icon,{}),a.root.children,a.iconPosition==="after"&&a.icon&&/*@__PURE__*/L(a.icon,{})]})};var Y0=/*@__PURE__*/O((a,l)=>{let c=fa(a,l);return Fa(c),P("useBadgeStyles_unstable")(c),xa(c)});Y0.displayName="Badge";f();var Nx=e1(void 0);var Xo=Nx.Provider;f();f();function FM(a){let{clientX:l,clientY:c}=a,o=l+1,e=c+1;function r(){return{left:l,top:c,right:o,bottom:e,x:l,y:c,height:1,width:1}}return{getBoundingClientRect:r}}var $h="data-popper-is-intersecting",Qh="data-popper-escaped",Yh="data-popper-reference-hidden",xM="data-popper-placement",Ca="fui-positioningend";f();var aC=({options:a})=>{return a},CM=e1(void 0),cX=CM.Provider,LM=()=>{var a;return(a=l1(CM))!==null&&a!==void 0?a:aC};f();var RM=["top","right","bottom","left"];var{min:B7,max:C5,round:Ra}=Math;var H2=(a)=>({x:a,y:a}),lC={left:"right",right:"left",bottom:"top",top:"bottom"},cC={start:"end",end:"start"};function No(a,l,c){return C5(a,B7(l,c))}function e7(a,l){return typeof a==="function"?a(l):a}function r7(a){return a.split("-")[0]}function Z4(a){return a.split("-")[1]}function ae(a){return a==="x"?"y":"x"}function le(a){return a==="y"?"height":"width"}function b7(a){return["top","bottom"].includes(r7(a))?"y":"x"}function ce(a){return ae(b7(a))}function DM(a,l,c){if(c===void 0)c=!1;let o=Z4(a),e=ce(a),r=le(e),t=e==="x"?o===(c?"end":"start")?"right":"left":o==="start"?"bottom":"top";if(l.reference[r]>l.floating[r])t=La(t);return[t,La(t)]}function wM(a){let l=La(a);return[jo(a),l,jo(l)]}function jo(a){return a.replace(/start|end/g,(l)=>cC[l])}function oC(a,l,c){let o=["left","right"],e=["right","left"],r=["top","bottom"],t=["bottom","top"];switch(a){case"top":case"bottom":if(c)return l?e:o;return l?o:e;case"left":case"right":return l?r:t;default:return[]}}function SM(a,l,c,o){let e=Z4(a),r=oC(r7(a),c==="start",o);if(e){if(r=r.map((t)=>t+"-"+e),l)r=r.concat(r.map(jo))}return r}function La(a){return a.replace(/left|right|bottom|top/g,(l)=>lC[l])}function eC(a){return{top:0,right:0,bottom:0,left:0,...a}}function Xh(a){return typeof a!=="number"?eC(a):{top:a,right:a,bottom:a,left:a}}function i4(a){let{x:l,y:c,width:o,height:e}=a;return{width:o,height:e,top:c,left:l,right:l+o,bottom:c+e,x:l,y:c}}function kM(a,l,c){let{reference:o,floating:e}=a,r=b7(l),t=ce(l),h=le(t),Z=r7(l),i=r==="y",v=o.x+o.width/2-e.width/2,n=o.y+o.height/2-e.height/2,d=o[h]/2-e[h]/2,p;switch(Z){case"top":p={x:v,y:o.y-e.height};break;case"bottom":p={x:v,y:o.y+o.height};break;case"right":p={x:o.x+o.width,y:n};break;case"left":p={x:o.x-e.width,y:n};break;default:p={x:o.x,y:o.y}}switch(Z4(l)){case"start":p[t]-=d*(c&&i?-1:1);break;case"end":p[t]+=d*(c&&i?-1:1);break}return p}var GM=async(a,l,c)=>{let{placement:o="bottom",strategy:e="absolute",middleware:r=[],platform:t}=c,h=r.filter(Boolean),Z=await(t.isRTL==null?void 0:t.isRTL(l)),i=await t.getElementRects({reference:a,floating:l,strategy:e}),{x:v,y:n}=kM(i,o,Z),d=o,p={},m=0;for(let s=0;s<h.length;s++){let{name:M,fn:u}=h[s],{x:A,y:H,data:g,reset:F}=await u({x:v,y:n,initialPlacement:o,placement:d,strategy:e,middlewareData:p,rects:i,platform:t,elements:{reference:a,floating:l}});if(v=A!=null?A:v,n=H!=null?H:n,p={...p,[M]:{...p[M],...g}},F&&m<=50){if(m++,typeof F==="object"){if(F.placement)d=F.placement;if(F.rects)i=F.rects===!0?await t.getElementRects({reference:a,floating:l,strategy:e}):F.rects;({x:v,y:n}=kM(i,d,Z))}s=-1}}return{x:v,y:n,placement:d,strategy:e,middlewareData:p}};async function n4(a,l){var c;if(l===void 0)l={};let{x:o,y:e,platform:r,rects:t,elements:h,strategy:Z}=a,{boundary:i="clippingAncestors",rootBoundary:v="viewport",elementContext:n="floating",altBoundary:d=!1,padding:p=0}=e7(l,a),m=Xh(p),M=h[d?n==="floating"?"reference":"floating":n],u=i4(await r.getClippingRect({element:((c=await(r.isElement==null?void 0:r.isElement(M)))!=null?c:!0)?M:M.contextElement||await(r.getDocumentElement==null?void 0:r.getDocumentElement(h.floating)),boundary:i,rootBoundary:v,strategy:Z})),A=n==="floating"?{x:o,y:e,width:t.floating.width,height:t.floating.height}:t.reference,H=await(r.getOffsetParent==null?void 0:r.getOffsetParent(h.floating)),g=await(r.isElement==null?void 0:r.isElement(H))?await(r.getScale==null?void 0:r.getScale(H))||{x:1,y:1}:{x:1,y:1},F=i4(r.convertOffsetParentRelativeRectToViewportRelativeRect?await r.convertOffsetParentRelativeRectToViewportRelativeRect({elements:h,rect:A,offsetParent:H,strategy:Z}):A);return{top:(u.top-F.top+m.top)/g.y,bottom:(F.bottom-u.bottom+m.bottom)/g.y,left:(u.left-F.left+m.left)/g.x,right:(F.right-u.right+m.right)/g.x}}var BM=(a)=>({name:"arrow",options:a,async fn(l){let{x:c,y:o,placement:e,rects:r,platform:t,elements:h,middlewareData:Z}=l,{element:i,padding:v=0}=e7(a,l)||{};if(i==null)return{};let n=Xh(v),d={x:c,y:o},p=ce(e),m=le(p),s=await t.getDimensions(i),M=p==="y",u=M?"top":"left",A=M?"bottom":"right",H=M?"clientHeight":"clientWidth",g=r.reference[m]+r.reference[p]-d[p]-r.floating[m],F=d[p]-r.reference[p],D=await(t.getOffsetParent==null?void 0:t.getOffsetParent(i)),x=D?D[H]:0;if(!x||!await(t.isElement==null?void 0:t.isElement(D)))x=h.floating[H]||r.floating[m];let b=g/2-F/2,T=x/2-s[m]/2-1,n1=B7(n[u],T),c1=B7(n[A],T),Y=n1,C=x-s[m]-c1,w=x/2-s[m]/2+b,U=No(Y,w,C),J=!Z.arrow&&Z4(e)!=null&&w!==U&&r.reference[m]/2-(w<Y?n1:c1)-s[m]/2<0,j=J?w<Y?w-Y:w-C:0;return{[p]:d[p]+j,data:{[p]:U,centerOffset:w-U-j,...J&&{alignmentOffset:j}},reset:J}}});var bM=function(a){if(a===void 0)a={};return{name:"flip",options:a,async fn(l){var c,o;let{placement:e,middlewareData:r,rects:t,initialPlacement:h,platform:Z,elements:i}=l,{mainAxis:v=!0,crossAxis:n=!0,fallbackPlacements:d,fallbackStrategy:p="bestFit",fallbackAxisSideDirection:m="none",flipAlignment:s=!0,...M}=e7(a,l);if((c=r.arrow)!=null&&c.alignmentOffset)return{};let u=r7(e),A=b7(h),H=r7(h)===h,g=await(Z.isRTL==null?void 0:Z.isRTL(i.floating)),F=d||(H||!s?[La(h)]:wM(h)),D=m!=="none";if(!d&&D)F.push(...SM(h,s,m,g));let x=[h,...F],b=await n4(l,M),T=[],n1=((o=r.flip)==null?void 0:o.overflows)||[];if(v)T.push(b[u]);if(n){let w=DM(e,t,g);T.push(b[w[0]],b[w[1]])}if(n1=[...n1,{placement:e,overflows:T}],!T.every((w)=>w<=0)){var c1,Y;let w=(((c1=r.flip)==null?void 0:c1.index)||0)+1,U=x[w];if(U)return{data:{index:w,overflows:n1},reset:{placement:U}};let J=(Y=n1.filter((j)=>j.overflows[0]<=0).sort((j,d1)=>j.overflows[1]-d1.overflows[1])[0])==null?void 0:Y.placement;if(!J)switch(p){case"bestFit":{var C;let j=(C=n1.filter((d1)=>{if(D){let q=b7(d1.placement);return q===A||q==="y"}return!0}).map((d1)=>[d1.placement,d1.overflows.filter((q)=>q>0).reduce((q,m1)=>q+m1,0)]).sort((d1,q)=>d1[1]-q[1])[0])==null?void 0:C[0];if(j)J=j;break}case"initialPlacement":J=h;break}if(e!==J)return{reset:{placement:J}}}return{}}}};function yM(a,l){return{top:a.top-l.height,right:a.right-l.width,bottom:a.bottom-l.height,left:a.left-l.width}}function UM(a){return RM.some((l)=>a[l]>=0)}var OM=function(a){if(a===void 0)a={};return{name:"hide",options:a,async fn(l){let{rects:c}=l,{strategy:o="referenceHidden",...e}=e7(a,l);switch(o){case"referenceHidden":{let r=await n4(l,{...e,elementContext:"reference"}),t=yM(r,c.reference);return{data:{referenceHiddenOffsets:t,referenceHidden:UM(t)}}}case"escaped":{let r=await n4(l,{...e,altBoundary:!0}),t=yM(r,c.floating);return{data:{escapedOffsets:t,escaped:UM(t)}}}default:return{}}}}};async function rC(a,l){let{placement:c,platform:o,elements:e}=a,r=await(o.isRTL==null?void 0:o.isRTL(e.floating)),t=r7(c),h=Z4(c),Z=b7(c)==="y",i=["left","top"].includes(t)?-1:1,v=r&&Z?-1:1,n=e7(l,a),{mainAxis:d,crossAxis:p,alignmentAxis:m}=typeof n==="number"?{mainAxis:n,crossAxis:0,alignmentAxis:null}:{mainAxis:n.mainAxis||0,crossAxis:n.crossAxis||0,alignmentAxis:n.alignmentAxis};if(h&&typeof m==="number")p=h==="end"?m*-1:m;return Z?{x:p*v,y:d*i}:{x:d*i,y:p*v}}var TM=function(a){if(a===void 0)a=0;return{name:"offset",options:a,async fn(l){var c,o;let{x:e,y:r,placement:t,middlewareData:h}=l,Z=await rC(l,a);if(t===((c=h.offset)==null?void 0:c.placement)&&(o=h.arrow)!=null&&o.alignmentOffset)return{};return{x:e+Z.x,y:r+Z.y,data:{...Z,placement:t}}}}},EM=function(a){if(a===void 0)a={};return{name:"shift",options:a,async fn(l){let{x:c,y:o,placement:e}=l,{mainAxis:r=!0,crossAxis:t=!1,limiter:h={fn:(M)=>{let{x:u,y:A}=M;return{x:u,y:A}}},...Z}=e7(a,l),i={x:c,y:o},v=await n4(l,Z),n=b7(r7(e)),d=ae(n),p=i[d],m=i[n];if(r){let M=d==="y"?"top":"left",u=d==="y"?"bottom":"right",A=p+v[M],H=p-v[u];p=No(A,p,H)}if(t){let M=n==="y"?"top":"left",u=n==="y"?"bottom":"right",A=m+v[M],H=m-v[u];m=No(A,m,H)}let s=h.fn({...l,[d]:p,[n]:m});return{...s,data:{x:s.x-c,y:s.y-o,enabled:{[d]:r,[n]:t}}}}}},WM=function(a){if(a===void 0)a={};return{options:a,fn(l){let{x:c,y:o,placement:e,rects:r,middlewareData:t}=l,{offset:h=0,mainAxis:Z=!0,crossAxis:i=!0}=e7(a,l),v={x:c,y:o},n=b7(e),d=ae(n),p=v[d],m=v[n],s=e7(h,l),M=typeof s==="number"?{mainAxis:s,crossAxis:0}:{mainAxis:0,crossAxis:0,...s};if(Z){let H=d==="y"?"height":"width",g=r.reference[d]-r.floating[H]+M.mainAxis,F=r.reference[d]+r.reference[H]-M.mainAxis;if(p<g)p=g;else if(p>F)p=F}if(i){var u,A;let H=d==="y"?"width":"height",g=["top","left"].includes(r7(e)),F=r.reference[n]-r.floating[H]+(g?((u=t.offset)==null?void 0:u[n])||0:0)+(g?0:M.crossAxis),D=r.reference[n]+r.reference[H]+(g?0:((A=t.offset)==null?void 0:A[n])||0)-(g?M.crossAxis:0);if(m<F)m=F;else if(m>D)m=D}return{[d]:p,[n]:m}}}},IM=function(a){if(a===void 0)a={};return{name:"size",options:a,async fn(l){var c,o;let{placement:e,rects:r,platform:t,elements:h}=l,{apply:Z=()=>{},...i}=e7(a,l),v=await n4(l,i),n=r7(e),d=Z4(e),p=b7(e)==="y",{width:m,height:s}=r.floating,M,u;if(n==="top"||n==="bottom")M=n,u=d===(await(t.isRTL==null?void 0:t.isRTL(h.floating))?"start":"end")?"left":"right";else u=n,M=d==="end"?"top":"bottom";let A=s-v.top-v.bottom,H=m-v.left-v.right,g=B7(s-v[M],A),F=B7(m-v[u],H),D=!l.middlewareData.shift,x=g,b=F;if((c=l.middlewareData.shift)!=null&&c.enabled.x)b=H;if((o=l.middlewareData.shift)!=null&&o.enabled.y)x=A;if(D&&!d){let n1=C5(v.left,0),c1=C5(v.right,0),Y=C5(v.top,0),C=C5(v.bottom,0);if(p)b=m-2*(n1!==0||c1!==0?n1+c1:C5(v.left,v.right));else x=s-2*(Y!==0||C!==0?Y+C:C5(v.top,v.bottom))}await Z({...l,availableWidth:b,availableHeight:x});let T=await t.getDimensions(h.floating);if(m!==T.width||s!==T.height)return{reset:{rects:!0}};return{}}}};function ee(){return typeof window!=="undefined"}function v4(a){if(qM(a))return(a.nodeName||"").toLowerCase();return"#document"}function L5(a){var l;return(a==null||(l=a.ownerDocument)==null?void 0:l.defaultView)||window}function t7(a){var l;return(l=(qM(a)?a.ownerDocument:a.document)||window.document)==null?void 0:l.documentElement}function qM(a){if(!ee())return!1;return a instanceof Node||a instanceof L5(a).Node}function a2(a){if(!ee())return!1;return a instanceof Element||a instanceof L5(a).Element}function V2(a){if(!ee())return!1;return a instanceof HTMLElement||a instanceof L5(a).HTMLElement}function PM(a){if(!ee()||typeof ShadowRoot==="undefined")return!1;return a instanceof ShadowRoot||a instanceof L5(a).ShadowRoot}function S6(a){let{overflow:l,overflowX:c,overflowY:o,display:e}=l2(a);return/auto|scroll|overlay|hidden|clip/.test(l+o+c)&&!["inline","contents"].includes(e)}function zM(a){return["table","td","th"].includes(v4(a))}function Da(a){return[":popover-open",":modal"].some((l)=>{try{return a.matches(l)}catch(c){return!1}})}function re(a){let l=te(),c=a2(a)?l2(a):a;return["transform","translate","scale","rotate","perspective"].some((o)=>c[o]?c[o]!=="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((o)=>(c.willChange||"").includes(o))||["paint","layout","strict","content"].some((o)=>(c.contain||"").includes(o))}function KM(a){let l=O7(a);while(V2(l)&&!d4(l)){if(re(l))return l;else if(Da(l))return null;l=O7(l)}return null}function te(){if(typeof CSS==="undefined"||!CSS.supports)return!1;return CSS.supports("-webkit-backdrop-filter","none")}function d4(a){return["html","body","#document"].includes(v4(a))}function l2(a){return L5(a).getComputedStyle(a)}function wa(a){if(a2(a))return{scrollLeft:a.scrollLeft,scrollTop:a.scrollTop};return{scrollLeft:a.scrollX,scrollTop:a.scrollY}}function O7(a){if(v4(a)==="html")return a;let l=a.assignedSlot||a.parentNode||PM(a)&&a.host||t7(a);return PM(l)?l.host:l}function JM(a){let l=O7(a);if(d4(l))return a.ownerDocument?a.ownerDocument.body:a.body;if(V2(l)&&S6(l))return l;return JM(l)}function oe(a,l,c){var o;if(l===void 0)l=[];if(c===void 0)c=!0;let e=JM(a),r=e===((o=a.ownerDocument)==null?void 0:o.body),t=L5(e);if(r){let h=he(t);return l.concat(t,t.visualViewport||[],S6(e)?e:[],h&&c?oe(h):[])}return l.concat(e,oe(e,[],c))}function he(a){return a.parent&&Object.getPrototypeOf(a.parent)?a.frameElement:null}function YM(a){let l=l2(a),c=parseFloat(l.width)||0,o=parseFloat(l.height)||0,e=V2(a),r=e?a.offsetWidth:c,t=e?a.offsetHeight:o,h=Ra(c)!==r||Ra(o)!==t;if(h)c=r,o=t;return{width:c,height:o,$:h}}function XM(a){return!a2(a)?a.contextElement:a}function k6(a){let l=XM(a);if(!V2(l))return H2(1);let c=l.getBoundingClientRect(),{width:o,height:e,$:r}=YM(l),t=(r?Ra(c.width):c.width)/o,h=(r?Ra(c.height):c.height)/e;if(!t||!Number.isFinite(t))t=1;if(!h||!Number.isFinite(h))h=1;return{x:t,y:h}}var tC=/*@__PURE__*/H2(0);function jM(a){let l=L5(a);if(!te()||!l.visualViewport)return tC;return{x:l.visualViewport.offsetLeft,y:l.visualViewport.offsetTop}}function hC(a,l,c){if(l===void 0)l=!1;if(!c||l&&c!==L5(a))return!1;return l}function Sa(a,l,c,o){if(l===void 0)l=!1;if(c===void 0)c=!1;let e=a.getBoundingClientRect(),r=XM(a),t=H2(1);if(l)if(o){if(a2(o))t=k6(o)}else t=k6(a);let h=hC(r,c,o)?jM(r):H2(0),Z=(e.left+h.x)/t.x,i=(e.top+h.y)/t.y,v=e.width/t.x,n=e.height/t.y;if(r){let d=L5(r),p=o&&a2(o)?L5(o):o,m=d,s=he(m);while(s&&o&&p!==m){let M=k6(s),u=s.getBoundingClientRect(),A=l2(s),H=u.left+(s.clientLeft+parseFloat(A.paddingLeft))*M.x,g=u.top+(s.clientTop+parseFloat(A.paddingTop))*M.y;Z*=M.x,i*=M.y,v*=M.x,n*=M.y,Z+=H,i+=g,m=L5(s),s=he(m)}}return i4({width:v,height:n,x:Z,y:i})}function Nh(a,l){let c=wa(a).scrollLeft;if(!l)return Sa(t7(a)).left+c;return l.left+c}function NM(a,l,c){if(c===void 0)c=!1;let o=a.getBoundingClientRect(),e=o.left+l.scrollLeft-(c?0:Nh(a,o)),r=o.top+l.scrollTop;return{x:e,y:r}}function ZC(a){let{elements:l,rect:c,offsetParent:o,strategy:e}=a,r=e==="fixed",t=t7(o),h=l?Da(l.floating):!1;if(o===t||h&&r)return c;let Z={scrollLeft:0,scrollTop:0},i=H2(1),v=H2(0),n=V2(o);if(n||!n&&!r){if(v4(o)!=="body"||S6(t))Z=wa(o);if(V2(o)){let p=Sa(o);i=k6(o),v.x=p.x+o.clientLeft,v.y=p.y+o.clientTop}}let d=t&&!n&&!r?NM(t,Z,!0):H2(0);return{width:c.width*i.x,height:c.height*i.y,x:c.x*i.x-Z.scrollLeft*i.x+v.x+d.x,y:c.y*i.y-Z.scrollTop*i.y+v.y+d.y}}function iC(a){return Array.from(a.getClientRects())}function nC(a){let l=t7(a),c=wa(a),o=a.ownerDocument.body,e=C5(l.scrollWidth,l.clientWidth,o.scrollWidth,o.clientWidth),r=C5(l.scrollHeight,l.clientHeight,o.scrollHeight,o.clientHeight),t=-c.scrollLeft+Nh(a),h=-c.scrollTop;if(l2(o).direction==="rtl")t+=C5(l.clientWidth,o.clientWidth)-e;return{width:e,height:r,x:t,y:h}}function vC(a,l){let c=L5(a),o=t7(a),e=c.visualViewport,r=o.clientWidth,t=o.clientHeight,h=0,Z=0;if(e){r=e.width,t=e.height;let i=te();if(!i||i&&l==="fixed")h=e.offsetLeft,Z=e.offsetTop}return{width:r,height:t,x:h,y:Z}}function dC(a,l){let c=Sa(a,!0,l==="fixed"),o=c.top+a.clientTop,e=c.left+a.clientLeft,r=V2(a)?k6(a):H2(1),t=a.clientWidth*r.x,h=a.clientHeight*r.y,Z=e*r.x,i=o*r.y;return{width:t,height:h,x:Z,y:i}}function $M(a,l,c){let o;if(l==="viewport")o=vC(a,c);else if(l==="document")o=nC(t7(a));else if(a2(l))o=dC(l,c);else{let e=jM(a);o={x:l.x-e.x,y:l.y-e.y,width:l.width,height:l.height}}return i4(o)}function a_(a,l){let c=O7(a);if(c===l||!a2(c)||d4(c))return!1;return l2(c).position==="fixed"||a_(c,l)}function pC(a,l){let c=l.get(a);if(c)return c;let o=oe(a,[],!1).filter((h)=>a2(h)&&v4(h)!=="body"),e=null,r=l2(a).position==="fixed",t=r?O7(a):a;while(a2(t)&&!d4(t)){let h=l2(t),Z=re(t);if(!Z&&h.position==="fixed")e=null;if(r?!Z&&!e:!Z&&h.position==="static"&&!!e&&["absolute","fixed"].includes(e.position)||S6(t)&&!Z&&a_(a,t))o=o.filter((v)=>v!==t);else e=h;t=O7(t)}return l.set(a,o),o}function mC(a){let{element:l,boundary:c,rootBoundary:o,strategy:e}=a,t=[...c==="clippingAncestors"?Da(l)?[]:pC(l,this._c):[].concat(c),o],h=t[0],Z=t.reduce((i,v)=>{let n=$M(l,v,e);return i.top=C5(n.top,i.top),i.right=B7(n.right,i.right),i.bottom=B7(n.bottom,i.bottom),i.left=C5(n.left,i.left),i},$M(l,h,e));return{width:Z.right-Z.left,height:Z.bottom-Z.top,x:Z.left,y:Z.top}}function sC(a){let{width:l,height:c}=YM(a);return{width:l,height:c}}function MC(a,l,c){let o=V2(l),e=t7(l),r=c==="fixed",t=Sa(a,!0,r,l),h={scrollLeft:0,scrollTop:0},Z=H2(0);if(o||!o&&!r){if(v4(l)!=="body"||S6(e))h=wa(l);if(o){let d=Sa(l,!0,r,l);Z.x=d.x+l.clientLeft,Z.y=d.y+l.clientTop}else if(e)Z.x=Nh(e)}let i=e&&!o&&!r?NM(e,h):H2(0),v=t.left+h.scrollLeft-Z.x-i.x,n=t.top+h.scrollTop-Z.y-i.y;return{x:v,y:n,width:t.width,height:t.height}}function jh(a){return l2(a).position==="static"}function QM(a,l){if(!V2(a)||l2(a).position==="fixed")return null;if(l)return l(a);let c=a.offsetParent;if(t7(a)===c)c=c.ownerDocument.body;return c}function l_(a,l){let c=L5(a);if(Da(a))return c;if(!V2(a)){let e=O7(a);while(e&&!d4(e)){if(a2(e)&&!jh(e))return e;e=O7(e)}return c}let o=QM(a,l);while(o&&zM(o)&&jh(o))o=QM(o,l);if(o&&d4(o)&&jh(o)&&!re(o))return c;return o||KM(a)||c}var _C=async function(a){let l=this.getOffsetParent||l_,c=this.getDimensions,o=await c(a.floating);return{reference:MC(a.reference,await l(a.floating),a.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}};function uC(a){return l2(a).direction==="rtl"}var AC={convertOffsetParentRelativeRectToViewportRelativeRect:ZC,getDocumentElement:t7,getClippingRect:mC,getOffsetParent:l_,getElementRects:_C,getClientRects:iC,getDimensions:sC,getScale:k6,isElement:a2,isRTL:uC};var c_=n4,o_=TM;var e_=EM,r_=bM,t_=IM,aZ=OM,h_=BM;var lZ=WM,Z_=(a,l,c)=>{let o=/*@__PURE__*/new Map,e={platform:AC,...c},r={...e.platform,_c:o};return GM(a,l,{...e,platform:r})};function ka(a){let l=a.split("-");return{side:l[0],alignment:l[1]}}var i_=(a)=>{if(a.nodeName==="HTML")return a;return a.parentNode||a.host},HC=(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{}},p4=(a)=>{let l=a&&i_(a);if(!l)return document.body;switch(l.nodeName){case"HTML":case"BODY":return l.ownerDocument.body;case"#document":return l.body}let{overflow:c,overflowX:o,overflowY:e}=HC(l);if(/(auto|scroll|overlay)/.test(c+e+o))return l;return p4(l)},cZ=(a)=>{var l;let c=p4(a);return c?c!==((l=c.ownerDocument)===null||l===void 0?void 0:l.body):!1};function m4(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=p4(a);if(c.nodeName==="BODY")c=a===null||a===void 0?void 0:a.ownerDocument.documentElement;return c}return l}f();function n_(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 Ze(a,l){if(typeof a==="number")return oZ(a,l);if(typeof a==="object"&&a!==null)return oZ(a,l);if(typeof a==="function")return(c)=>{let o=a(c);return oZ(o,l)};return{mainAxis:l}}var oZ=(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 ya(a,l){if(typeof a==="number")return a;let{start:c,end:o,...e}=a,r=e,t=l?"end":"start",h=l?"start":"end";if(a[t])r.left=a[t];if(a[h])r.right=a[h];return r}var VC=(a)=>({above:"top",below:"bottom",before:a?"right":"left",after:a?"left":"right"}),fC=()=>({start:"start",end:"end",top:"start",bottom:"end",center:void 0}),gC=(a,l)=>{let c=a==="above"||a==="below",o=l==="top"||l==="bottom";return c&&o||!c&&!o},Ua=(a,l,c)=>{let o=gC(l,a)?"center":a,e=l&&VC(c)[l],r=o&&fC()[o];if(e&&r)return`${e}-${r}`;return e};var FC=()=>({top:"above",bottom:"below",right:"after",left:"before"}),xC=(a)=>{if(a==="above"||a==="below")return{start:"start",end:"end"};return{start:"top",end:"bottom"}},Ga=(a)=>{let{side:l,alignment:c}=ka(a),o=FC()[l],e=c&&xC(o)[c];return{position:o,alignment:e}};var CC={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 y6(a){if(a===void 0||a===null)return{};if(typeof a==="string")return CC[a];return a}f();function Ba(a,l,c){let o=E(!0),[e]=Z1(()=>({value:a,callback:l,facade:{get current(){return e.value},set current(r){let t=e.value;if(t!==r){if(e.value=r,c&&o.current)return;e.callback(r,t)}}}}));return W1(()=>{o.current=!1},[]),e.callback=l,e.facade}function eZ(a){let l;return()=>{if(!l)l=new Promise((c)=>{Promise.resolve().then(()=>{l=void 0,c(a())})});return l}}function LC(a){if(a.nodeName==="BUTTON"||a.nodeName==="INPUT"||a.nodeName==="SELECT"||a.nodeName==="TEXTAREA"){var c;return!!((c=n_(a))===null||c===void 0?void 0:c.pendingProps.autoFocus)}return!1}function rZ(a){return LC(a)?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}function tZ(a){let{arrow:l,middlewareData:c}=a;if(!c.arrow||!l)return;let{x:o,y:e}=c.arrow;Object.assign(l.style,{left:o!==null&&o!==void 0?`${o}px`:"",top:e!==null&&e!==void 0?`${e}px`:""})}function hZ(a){var l,c,o;let{container:e,placement:r,middlewareData:t,strategy:h,lowPPI:Z,coordinates:i,useTransform:v=!0}=a;if(!e)return;if(e.setAttribute(xM,r),e.removeAttribute($h),t.intersectionObserver.intersecting)e.setAttribute($h,"");if(e.removeAttribute(Qh),(l=t.hide)===null||l===void 0?void 0:l.escaped)e.setAttribute(Qh,"");if(e.removeAttribute(Yh),(c=t.hide)===null||c===void 0?void 0:c.referenceHidden)e.setAttribute(Yh,"");let n=((o=e.ownerDocument.defaultView)===null||o===void 0?void 0:o.devicePixelRatio)||1,d=Math.round(i.x*n)/n,p=Math.round(i.y*n)/n;if(Object.assign(e.style,{position:h}),v){Object.assign(e.style,{transform:Z?`translate(${d}px, ${p}px)`:`translate3d(${d}px, ${p}px, 0)`});return}Object.assign(e.style,{left:`${d}px`,top:`${p}px`})}var ZZ=(a)=>{switch(a){case"always":case!0:return{applyMaxWidth:!0,applyMaxHeight:!0};case"width-always":case"width":return{applyMaxWidth:!0,applyMaxHeight:!1};case"height-always":case"height":return{applyMaxWidth:!1,applyMaxHeight:!0};default:return!1}};function U6(a){let l=[],c=a;while(c){let o=p4(c);if(a.ownerDocument.body===o){l.push(o);break}if(o.nodeName==="BODY"&&o!==a.ownerDocument.body){console.error("@fluentui/react-positioning: You are comparing two different documents! This is an unexpected error, please report this as a bug to the Fluent UI team ");break}l.push(o),c=o}return l}function v_(a,l){return new a.ResizeObserver(l)}function d_(a){let l=!1,{container:c,target:o,arrow:e,strategy:r,middleware:t,placement:h,useTransform:Z=!0,disableUpdateOnResize:i=!1}=a,v=c.ownerDocument.defaultView;if(!o||!c||!v)return{updatePosition:()=>{return},dispose:()=>{return}};let n=i?null:v_(v,(u)=>{if(u.every((H)=>{return H.contentRect.width>0&&H.contentRect.height>0}))s()}),d=!0,p=/*@__PURE__*/new Set;Object.assign(c.style,{position:"fixed",left:0,top:0,margin:0});let m=()=>{if(l)return;if(d){if(U6(c).forEach((u)=>p.add(u)),I1(o))U6(o).forEach((u)=>p.add(u));if(p.forEach((u)=>{u.addEventListener("scroll",s,{passive:!0})}),n===null||n===void 0||n.observe(c),I1(o))n===null||n===void 0||n.observe(o);d=!1}Object.assign(c.style,{position:r}),Z_(o,c,{placement:h,middleware:t,strategy:r}).then(({x:u,y:A,middlewareData:H,placement:g})=>{if(l)return;tZ({arrow:e,middlewareData:H}),hZ({container:c,middlewareData:H,placement:g,coordinates:{x:u,y:A},lowPPI:((v===null||v===void 0?void 0:v.devicePixelRatio)||1)<=1,strategy:r,useTransform:Z}),c.dispatchEvent(new CustomEvent(Ca))}).catch((u)=>{console.error("[usePositioning]: Failed to calculate position",u)})},s=eZ(()=>m()),M=()=>{if(l=!0,v)v.removeEventListener("scroll",s),v.removeEventListener("resize",s);p.forEach((u)=>{u.removeEventListener("scroll",s)}),p.clear(),n===null||n===void 0||n.disconnect()};if(v)v.addEventListener("scroll",s,{passive:!0}),v.addEventListener("resize",s);return s(),{updatePosition:s,dispose:M}}function p_(a,l){var c,o;let e=a;return Boolean((e==null||(c=e.ownerDocument)==null?void 0:c.defaultView)&&e instanceof e.ownerDocument.defaultView[(o=l==null?void 0:l.constructorName)!=null?o:"HTMLElement"])}var m_=(a)=>Boolean(p_(a)&&"__FUIDT_ELEMENT_METADATA__"in a&&a.parentElement!==null),RC=(a)=>{let l=null,c=new MutationObserver((e)=>{if(!l)return;for(let r of e)if(r.type==="childList"&&Array.from(r.removedNodes).includes(l))o.withdraw()}),o={get selectedElement(){return l},select:(e)=>{if(m_(e))l=e,c.observe(e.parentElement,{childList:!0,subtree:!1});if(l&&e){if(l.__FUIDT_ELEMENT_METADATA__.references.has(e))return l}return o.withdraw(),l},withdraw:()=>{l=null,c.disconnect(),a.postMessage("__FUIDT_SERIALIZED_DATA_CHANGE__")}};return o},DC=(a)=>{let{defaultView:l}=a;if(!l)return;if(!l.__FUIDT_CONTROLLER__)l.__FUIDT_CONTROLLER__=RC(l)},wC=(a)=>{var l,c;return DC(a),(l=(c=a.defaultView)==null?void 0:c.__FUIDT_CONTROLLER__)!=null?l:null},SC=(a,l)=>{return JSON.parse(JSON.stringify(a,(o,e)=>{if(p_(e))return l.add(e);if(typeof e==="object"&&e&&Object.getPrototypeOf(e)!==Object.prototype&&Object.getPrototypeOf(e)!==Array.prototype){if("toString"in e)return e.toString();return}return e}))},kC=0,yC=()=>"__FUIDT_HTML_ELEMENT_REFERENCE__:"+kC++,UC=()=>{let a=/*@__PURE__*/new Map,l=/*@__PURE__*/new WeakMap;return{add:(o)=>{if(l.has(o))return l.get(o);let e=yC();return a.set(e,o),l.set(o,e),e},get:(o)=>{let e=a.get(o);if(e&&l.has(e))return e},has:(o)=>{return l.has(o)}}},s_=function(a,l){if(a===void 0)a=document;if(l===void 0)l=GC;return{name:"@floating-ui/devtools",fn:(c)=>{let{["__FUIDT_ELEMENT_METADATA__"]:o}=m_(c.elements.floating)?c.elements.floating:Object.assign(c.elements.floating,{["__FUIDT_ELEMENT_METADATA__"]:{references:UC(),serializedData:[]}}),e=SC(l(c),o.references);o.serializedData.unshift(e);let r=wC(a);if(o.serializedData.length>1&&c.elements.floating===(r==null?void 0:r.selectedElement)){var t;(t=a.defaultView)==null||t.postMessage("__FUIDT_SERIALIZED_DATA_CHANGE__")}return{}}}},GC=(a)=>({...a,type:"FloatingUIMiddleware"});f();function iZ(){return{name:"coverTarget",fn:(a)=>{let{placement:l,rects:c,x:o,y:e}=a,r=ka(l).side,t={x:o,y:e};switch(r){case"bottom":t.y-=c.reference.height;break;case"top":t.y+=c.reference.height;break;case"left":t.x+=c.reference.width;break;case"right":t.x-=c.reference.width;break}return t}}}function nZ(a){let{hasScrollableElement:l,flipBoundary:c,container:o,fallbackPositions:e=[],isRtl:r}=a,t=e.reduce((h,Z)=>{let{position:i,align:v}=y6(Z),n=Ua(v,i,r);if(n)h.push(n);return h},[]);return r_({...l&&{boundary:"clippingAncestors"},...c&&{altBoundary:!0,boundary:m4(o,c)},fallbackStrategy:"bestFit",...t.length&&{fallbackPlacements:t}})}function vZ(){return{name:"intersectionObserver",fn:async(a)=>{let l=a.rects.floating,c=await c_(a,{altBoundary:!0}),o=c.top<l.height&&c.top>0,e=c.bottom<l.height&&c.bottom>0;return{data:{intersecting:o||e}}}}}var dZ=(a)=>({name:"resetMaxSize",fn({middlewareData:l,elements:c}){var o;if((o=l.resetMaxSize)===null||o===void 0?void 0:o.maxSizeAlreadyReset)return{};let{applyMaxWidth:e,applyMaxHeight:r}=a;if(e)c.floating.style.removeProperty("box-sizing"),c.floating.style.removeProperty("max-width"),c.floating.style.removeProperty("width");if(r)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 pZ(a,l){let{container:c,overflowBoundary:o,overflowBoundaryPadding:e,isRtl:r}=l;return t_({...e&&{padding:ya(e,r)},...o&&{altBoundary:!0,boundary:m4(c,o)},apply({availableHeight:t,availableWidth:h,elements:Z,rects:i}){let v=(p,m,s)=>{if(!p)return;if(Z.floating.style.setProperty("box-sizing","border-box"),Z.floating.style.setProperty(`max-${m}`,`${s}px`),i.floating[m]>s){Z.floating.style.setProperty(m,`${s}px`);let M=m==="width"?"x":"y";if(!Z.floating.style.getPropertyValue(`overflow-${M}`))Z.floating.style.setProperty(`overflow-${M}`,"auto")}},{applyMaxWidth:n,applyMaxHeight:d}=a;v(n,"width",h),v(d,"height",t)}})}function M_(a){if(!a)return a;if(typeof a==="number"||typeof a==="object")return a;return({rects:{floating:l,reference:c},placement:o})=>{let{position:e,alignment:r}=Ga(o);return a({positionedRect:l,targetRect:c,position:e,alignment:r})}}function mZ(a){let l=M_(a);return o_(l)}function sZ(a){let{hasScrollableElement:l,shiftToCoverTarget:c,disableTether:o,overflowBoundary:e,container:r,overflowBoundaryPadding:t,isRtl:h}=a;return e_({...l&&{boundary:"clippingAncestors"},...c&&{crossAxis:!0,limiter:lZ({crossAxis:!0,mainAxis:!1})},...o&&{crossAxis:o==="all",limiter:lZ({crossAxis:o!=="all",mainAxis:!1})},...t&&{padding:ya(t,h)},...e&&{altBoundary:!0,boundary:m4(r,e)}})}function MZ(){return{name:"matchTargetSize",fn:async(a)=>{let{rects:{reference:l,floating:c},elements:{floating:o},middlewareData:{matchTargetSize:{matchTargetSizeAttempt:e=!1}={}}}=a;if(l.width===c.width||e)return{};let{width:r}=l;if(o.style.setProperty("--fui-match-target-size",`${r}px`),!o.style.width)o.style.width="var(--fui-match-target-size)";return{data:{matchTargetSizeAttempt:!0},reset:{rects:!0}}}}}var __=(a)=>(l)=>{let{elements:{floating:c,reference:o}}=l,e=/*@__PURE__*/new Set;if(I1(o))U6(o).forEach((h)=>e.add(h));U6(c).forEach((h)=>e.add(h));let r=Array.isArray(a.flipBoundary)?a.flipBoundary:I1(a.flipBoundary)?[a.flipBoundary]:[],t=Array.isArray(a.overflowBoundary)?a.overflowBoundary:I1(a.overflowBoundary)?[a.overflowBoundary]:[];return{type:"FluentUIMiddleware",middlewareState:l,options:a,initialPlacement:Ga(l.initialPlacement),placement:Ga(l.placement),flipBoundaries:r,overflowBoundaries:t,scrollParents:Array.from(e)}};function BC(a,l){let{align:c,arrowPadding:o,autoSize:e,coverTarget:r,disableUpdateOnResize:t,flipBoundary:h,offset:Z,overflowBoundary:i,pinned:v,position:n,unstable_disableTether:d,strategy:p,overflowBoundaryPadding:m,fallbackPositions:s,useTransform:M,matchTargetSize:u,shiftToCoverTarget:A}=l;return $((H,g)=>{return a({container:H,arrow:g,options:{autoSize:e,disableUpdateOnResize:t,matchTargetSize:u,offset:Z,strategy:p,coverTarget:r,flipBoundary:h,overflowBoundary:i,useTransform:M,overflowBoundaryPadding:m,pinned:v,arrowPadding:o,align:c,fallbackPositions:s,shiftToCoverTarget:A,position:n,unstable_disableTether:d}})},[e,t,u,Z,p,r,h,i,M,m,v,o,c,s,A,n,d,a])}function u_(a){let{dir:l,targetDocument:c}=V1(),o=l==="rtl",e=BC(LM(),a),{positionFixed:r}=a;return $((t,h)=>{let Z=cZ(t),i=e(t,h),{autoSize:v,disableUpdateOnResize:n,matchTargetSize:d,offset:p,coverTarget:m,flipBoundary:s,overflowBoundary:M,useTransform:u,overflowBoundaryPadding:A,pinned:H,position:g,arrowPadding:F,strategy:D,align:x,fallbackPositions:b,shiftToCoverTarget:T,unstable_disableTether:n1}=i,c1=ZZ(v),Y=[c1&&dZ(c1),d&&MZ(),p&&mZ(p),m&&iZ(),!H&&nZ({container:t,flipBoundary:s,hasScrollableElement:Z,isRtl:o,fallbackPositions:b}),sZ({container:t,hasScrollableElement:Z,overflowBoundary:M,disableTether:n1,overflowBoundaryPadding:A,isRtl:o,shiftToCoverTarget:T}),c1&&pZ(c1,{container:t,overflowBoundary:M,overflowBoundaryPadding:A,isRtl:o}),vZ(),h&&h_({element:h,padding:F}),aZ({strategy:"referenceHidden"}),aZ({strategy:"escaped"}),c&&s_(c,__(i))].filter(Boolean);return{placement:Ua(x,g,o),middleware:Y,strategy:(D!==null&&D!==void 0?D:r)?"fixed":"absolute",disableUpdateOnResize:n,useTransform:u}},[e,o,c,r])}function _Z(a){let l=E(null),c=E(null),o=E(null),e=E(null),r=E(null),{enabled:t=!0}=a,h=u_(a),Z=$(()=>{if(l.current)l.current.dispose();l.current=null;var m;let s=(m=o.current)!==null&&m!==void 0?m:c.current;if(t&&t3()&&s&&e.current)l.current=d_({container:e.current,target:s,arrow:r.current,...h(e.current,r.current)})},[t,h]),i=i1((m)=>{o.current=m,Z()});m5(a.positioningRef,()=>({updatePosition:()=>{var m;return(m=l.current)===null||m===void 0?void 0:m.updatePosition()},setTarget:(m)=>{if(a.target){let s=new Error;console.warn("Imperative setTarget should not be used at the same time as target option"),console.warn(s.stack)}i(m)}}),[a.target,i]),W1(()=>{var m;i((m=a.target)!==null&&m!==void 0?m:null)},[a.target,i]),W1(()=>{Z()},[Z]),h1(()=>{if(e.current){var m;let s=e.current,M=(m=s.ownerDocument)===null||m===void 0?void 0:m.createTreeWalker(s,NodeFilter.SHOW_ELEMENT,{acceptNode:rZ});while(M.nextNode()){let u=M.currentNode;console.warn("usePositioning():",u),console.warn(['usePositioning(): ^ this node contains "autoFocus" prop on a React element. This can break the initial',"positioning of an element and cause a window jump effect. This issue occurs because React polyfills",'"autoFocus" behavior to solve inconsistencies between different browsers:',"https://github.com/facebook/react/issues/11851#issuecomment-351787078",`
|
|
136
|
+
`,"Configuration guide: https://aka.ms/fluentui-conflicting-ids"].join(" "))}},[]),BC(l,r),yC(()=>{let Z=l===null||l===void 0?void 0:l.getElementById(r);if(Z)e.current=Z;else if(e.current=UC(l,{...t,id:r}),e.current)GC(e.current,h);return()=>{var i;(i=e.current)===null||i===void 0||i.remove()}},[r,l,h,t]),{styleTagId:r,rule:h}};function BC(a,l){h1(()=>{if(!a)return;let c=a.getElementById(l);if(c)a.head.append(c)})}var TC={},bC={},B8=(a,l)=>{let c=M1(),o=OC(),e=R6(),r=t1(i4)||TC,{applyStylesToPortals:t=!0,customStyleHooks_unstable:h,dir:Z=c.dir,targetDocument:i=c.targetDocument,theme:n,overrides_unstable:v={}}=a,d=MZ(o,n),m=MZ(e,v),s=MZ(r,h),p=u2();var M;let{styleTagId:u,rule:A}=G8({theme:d,targetDocument:i,rendererAttributes:(M=p.styleElementAttributes)!==null&&M!==void 0?M:bC});return j(()=>{if(d===void 0)console.warn(['@fluentui/react-provider: FluentProvider does not have your "theme" defined.',"Make sure that your top-level FluentProvider has set a `theme` prop or you're setting the theme in your child FluentProvider."].join(" "))},[]),{applyStylesToPortals:t,customStyleHooks_unstable:s,dir:Z,targetDocument:i,theme:d,overrides_unstable:m,themeClassName:u,components:{root:"div"},root:w.always(a1("div",{...a,dir:Z,ref:R1(l,P7({targetDocument:i}))}),{elementType:"div"}),serverStyleProps:{cssRule:A,attributes:{...p.styleElementAttributes,id:u}}}};function MZ(a,l){if(a&&l)return{...a,...l};if(a)return a;return l}function OC(){return t1(L6)}F();function T8(a){let{applyStylesToPortals:l,customStyleHooks_unstable:c,dir:o,root:e,targetDocument:r,theme:t,themeClassName:h,overrides_unstable:Z}=a,i=p1(()=>({dir:o,targetDocument:r}),[o,r]),[n]=h1(()=>({})),v=p1(()=>({textDirection:o}),[o]);return{customStyleHooks_unstable:c,overrides_unstable:Z,provider:i,textDirection:o,iconDirection:v,tooltip:n,theme:t,themeClassName:l?e.className:h}}var s4=/*@__PURE__*/I((a,l)=>{let c=B8(a,l);U8(c);let o=T8(c);return g8(c,o)});s4.displayName="FluentProvider";F();var he=h6(BM(),1),WC=(a)=>{let l=(c)=>{let o=G(c.value),e=G(0),r=G();if(!r.current)r.current={value:o,version:e,listeners:[]};return q1(()=>{o.current=c.value,e.current+=1,he.unstable_runWithPriority(he.unstable_NormalPriority,()=>{r.current.listeners.forEach((t)=>{t([e.current,c.value])})})},[c.value]),e1(a,{value:r.current},c.children)};return l.displayName="ContextSelector.Provider",l},f2=(a)=>{let l=v1({value:{current:a},version:{current:-1},listeners:[]});return l.Provider=WC(l.Provider),delete l.Consumer,l};F();var g3=(a,l)=>{let c=t1(a),{value:{current:o},version:{current:e},listeners:r}=c,t=l(o),[h,Z]=h1([o,t]),i=(v)=>{Z((d)=>{if(!v)return[o,t];if(v[0]<=e){if(Object.is(d[1],t))return d;return[o,t]}try{if(Object.is(d[0],v[1]))return d;let m=l(v[1]);if(Object.is(d[1],m))return d;return[v[1],m]}catch(m){}return[d[0],d[1]]})};if(!Object.is(h[1],t))i(void 0);let n=$(i);return q1(()=>{return r.push(n),()=>{let v=r.indexOf(n);r.splice(v,1)}},[n,r]),h[1]};F();function _4(a){let l=t1(a);if(l.version)return l.version.current!==-1;return!1}var d7="Enter",q5=" ",b8="Tab",P6="ArrowDown";var u4="ArrowUp",_Z="End",uZ="Home",AZ="PageDown",HZ="PageUp";var VZ="Delete";var J7="Escape";F();function F2(a,l){let{disabled:c,disabledFocusable:o=!1,["aria-disabled"]:e,onClick:r,onKeyDown:t,onKeyUp:h,...Z}=l!==null&&l!==void 0?l:{},i=typeof e==="string"?e==="true":e,n=c||o||i,v=$((s)=>{if(n)s.preventDefault(),s.stopPropagation();else r===null||r===void 0||r(s)}),d=$((s)=>{if(t===null||t===void 0||t(s),s.isDefaultPrevented())return;let p=s.key;if(n&&(p===d7||p===q5)){s.preventDefault(),s.stopPropagation();return}if(p===q5){s.preventDefault();return}else if(p===d7)s.preventDefault(),s.currentTarget.click()}),m=$((s)=>{if(h===null||h===void 0||h(s),s.isDefaultPrevented())return;let p=s.key;if(n&&(p===d7||p===q5)){s.preventDefault(),s.stopPropagation();return}if(p===q5)s.preventDefault(),s.currentTarget.click()});if(a==="button"||a===void 0)return{...Z,disabled:c&&!o,"aria-disabled":o?!0:i,onClick:o?void 0:v,onKeyUp:o?void 0:h,onKeyDown:o?void 0:t};else{let s=!!Z.href,p=s?void 0:"button";if(!p&&n)p="link";let M={role:p,tabIndex:o||!s&&!c?0:void 0,...Z,onClick:v,onKeyUp:m,onKeyDown:d,"aria-disabled":n};if(a==="a"&&n)M.href=void 0;return M}}F();var R5=()=>{return},qC={controller:{active:R5,blur:R5,find:R5,first:R5,focus:R5,focusLastActive:R5,scrollActiveIntoView:R5,last:R5,next:R5,prev:R5,showAttributes:R5,hideAttributes:R5,showFocusVisibleAttributes:R5,hideFocusVisibleAttributes:R5}},gZ=v1(void 0),z6=gZ.Provider,Q6=()=>{var a;return(a=t1(gZ))!==null&&a!==void 0?a:qC},Ze=()=>!!t1(gZ);F();F();function TM(a){let{matchOption:l}=a,{targetDocument:c}=M1(),o=G(null),e=G(null),r=q((Z)=>{if(T1(Z)&&l(Z))return NodeFilter.FILTER_ACCEPT;return NodeFilter.FILTER_SKIP},[l]),t=q((Z)=>{if(Z&&c)e.current=Z,o.current=c.createTreeWalker(Z,NodeFilter.SHOW_ELEMENT,r);else e.current=null,o.current=null},[c,r]);return{optionWalker:p1(()=>({first:()=>{if(!o.current||!e.current)return null;return o.current.currentNode=e.current,o.current.firstChild()},last:()=>{if(!o.current||!e.current)return null;return o.current.currentNode=e.current,o.current.lastChild()},next:()=>{if(!o.current)return null;return o.current.nextNode()},prev:()=>{if(!o.current)return null;return o.current.previousNode()},find:(Z,i)=>{if(!o.current||!e.current)return null;let n=i?c===null||c===void 0?void 0:c.getElementById(i):null;o.current.currentNode=n!==null&&n!==void 0?n:e.current;let v=o.current.currentNode;while(v&&!Z(v.id))v=o.current.nextNode();return v},setCurrent:(Z)=>{if(!o.current)return;o.current.currentNode=Z}}),[c]),listboxCallbackRef:t}}var fZ="data-activedescendant",f3="data-activedescendant-focusvisible";var FZ=(a)=>{if(!a)return;let l=bM(a.parentElement);if(!l)return;let{offsetHeight:c}=a,o=OM(a,l),{scrollMarginTop:e,scrollMarginBottom:r}=PC(a),{offsetHeight:t,scrollTop:h}=l,Z=o-e<h,i=o+c+r>h+t,n=2;if(Z)l.scrollTo(0,o-e-n);else if(i)l.scrollTo(0,o+c+r-t+n)},bM=(a)=>{if(!a)return null;if(a.scrollHeight>a.offsetHeight)return a;return bM(a.parentElement)},OM=(a,l)=>{if(!a||a===l)return 0;if(a.contains(l))return l.offsetTop*-1;return a.offsetTop+OM(a.offsetParent,l)},PC=(a)=>{var l;let c=(l=a.ownerDocument)===null||l===void 0?void 0:l.defaultView;if(!c)return{scrollMarginTop:0,scrollMarginBottom:0};let o=c.getComputedStyle(a);var e;let r=(e=ie(o.scrollMarginTop))!==null&&e!==void 0?e:ie(o.scrollMarginBlockStart);var t;let h=(t=ie(o.scrollMarginBottom))!==null&&t!==void 0?t:ie(o.scrollMarginBlockEnd);return{scrollMarginTop:r,scrollMarginBottom:h}},ie=(a)=>{return a?parseInt(a,10):0};var EM=(a)=>new CustomEvent("activedescendantchange",{bubbles:!0,cancelable:!1,composed:!0,detail:a});function J6(a){let{imperativeRef:l,matchOption:c}=a,o=G(!1),e=G(!0),r=G(null),t=G(null),h=G(null),Z=G(!0),i=q(()=>{var H;(H=h.current)===null||H===void 0||H.removeAttribute("aria-activedescendant")},[]),n=q((H)=>{if(H)r.current=H;if(Z.current&&r.current){var g;(g=h.current)===null||g===void 0||g.setAttribute("aria-activedescendant",r.current)}},[]);E6((H)=>{o.current=H;let g=p();if(!g)return;if(H&&e.current)g.setAttribute(f3,"");else g.removeAttribute(f3)});let v=$(c),d=G(null),{optionWalker:m,listboxCallbackRef:s}=TM({matchOption:v}),p=q(()=>{var H;return(H=d.current)===null||H===void 0?void 0:H.querySelector(`#${r.current}`)},[d]),M=q((H)=>{e.current=H;let g=p();if(!g)return;if(H&&o.current)g.setAttribute(f3,"");else g.removeAttribute(f3)},[p]),u=q(()=>{let H=p();if(H)H.removeAttribute(fZ),H.removeAttribute(f3);i(),t.current=r.current,r.current=null;var g;return(g=H===null||H===void 0?void 0:H.id)!==null&&g!==void 0?g:null},[p,i]),A=q((H)=>{if(!H)return;let g=u();if(FZ(H),n(H.id),H.setAttribute(fZ,""),o.current&&e.current)H.setAttribute(f3,"");let S=EM({id:H.id,previousId:g});H.dispatchEvent(S)},[u,n]),V=p1(()=>({first:({passive:H}={})=>{let g=m.first();if(!H)A(g);return g===null||g===void 0?void 0:g.id},last:({passive:H}={})=>{let g=m.last();if(!H)A(g);return g===null||g===void 0?void 0:g.id},next:({passive:H}={})=>{let g=p();if(!g)return;m.setCurrent(g);let S=m.next();if(!H)A(S);return S===null||S===void 0?void 0:S.id},prev:({passive:H}={})=>{let g=p();if(!g)return;m.setCurrent(g);let S=m.prev();if(!H)A(S);return S===null||S===void 0?void 0:S.id},blur:()=>{u()},active:()=>{var H;return(H=p())===null||H===void 0?void 0:H.id},focus:(H)=>{if(!d.current)return;let g=d.current.querySelector(`#${H}`);if(g)A(g)},focusLastActive:()=>{if(!d.current||!t.current)return;let H=d.current.querySelector(`#${t.current}`);if(H)return A(H),!0},find(H,{passive:g,startFrom:S}={}){let C=m.find(H,S);if(!g)A(C);return C===null||C===void 0?void 0:C.id},scrollActiveIntoView:()=>{if(!d.current)return;let H=p();if(!H)return;FZ(H)},showAttributes(){Z.current=!0,n()},hideAttributes(){Z.current=!1,i()},showFocusVisibleAttributes(){M(!0)},hideFocusVisibleAttributes(){M(!1)}}),[m,d,n,i,A,u,p,M]);return Z5(l,()=>V),{listboxRef:R1(d,s),activeParentRef:h,controller:V}}F();var WM=k({root:{mc9l5x:"f1w7gpdv",Bg96gwp:"fez10in"},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);}"]});var IM=(a,l)=>{let{title:c,primaryFill:o="currentColor",...e}=a,r={...e,title:void 0,fill:o},t=WM(),h=Ph();if(r.className=D(t.root,(l===null||l===void 0?void 0:l.flipInRtl)&&(h===null||h===void 0?void 0:h.textDirection)==="rtl"&&t.rtl,r.className),c)r["aria-label"]=c;if(!r["aria-label"]&&!r["aria-labelledby"])r["aria-hidden"]=!0;else r.role="img";return r};var qM=k({root:{ycbfsm:"fg4l7m0"}},{t:["@media (forced-colors: active){.fg4l7m0{forced-color-adjust:auto;}}"]});var g1=(a,l,c,o)=>{let e=l==="1em"?"20":l,r=I((t,h)=>{let Z=qM(),i=IM(t,{flipInRtl:o===null||o===void 0?void 0:o.flipInRtl}),n={...i,className:D(i.className,Z.root),ref:h,width:l,height:l,viewBox:`0 0 ${e} ${e}`,xmlns:"http://www.w3.org/2000/svg"};if(typeof c==="string")return e1("svg",{...n,dangerouslySetInnerHTML:{__html:c}});else return e1("svg",n,...c.map((v)=>e1("path",{d:v,fill:n.fill})))});return r.displayName=a,r};var PM=/*@__PURE__*/g1("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 ve=/*@__PURE__*/g1("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 K6=/*@__PURE__*/g1("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 zM=/*@__PURE__*/g1("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 QM=/*@__PURE__*/g1("CheckmarkFilled","1em",["M7.03 13.9 3.56 10a.75.75 0 0 0-1.12 1l4 4.5c.29.32.79.34 1.09.03l10.5-10.5a.75.75 0 0 0-1.06-1.06l-9.94 9.94Z"]);var ne=/*@__PURE__*/g1("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 JM=/*@__PURE__*/g1("ChevronDownRegular","1em",["M15.85 7.65c.2.2.2.5 0 .7l-5.46 5.49a.55.55 0 0 1-.78 0L4.15 8.35a.5.5 0 1 1 .7-.7L10 12.8l5.15-5.16c.2-.2.5-.2.7 0Z"]);var de=/*@__PURE__*/g1("CircleFilled","1em",["M10 2a8 8 0 1 0 0 16 8 8 0 0 0 0-16Z"]);var KM=/*@__PURE__*/g1("DismissRegular","1em",["m4.09 4.22.06-.07a.5.5 0 0 1 .63-.06l.07.06L10 9.29l5.15-5.14a.5.5 0 0 1 .63-.06l.07.06c.18.17.2.44.06.63l-.06.07L10.71 10l5.14 5.15c.18.17.2.44.06.63l-.06.07a.5.5 0 0 1-.63.06l-.07-.06L10 10.71l-5.15 5.14a.5.5 0 0 1-.63.06l-.07-.06a.5.5 0 0 1-.06-.63l.06-.07L9.29 10 4.15 4.85a.5.5 0 0 1-.06-.63l.06-.07-.06.07Z"]);var me=/*@__PURE__*/g1("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 $M=/*@__PURE__*/g1("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 YM=/*@__PURE__*/g1("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 pe=/*@__PURE__*/g1("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 XM=/*@__PURE__*/g1("TargetRegular","1em",["M10 11.5a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3ZM5 10a5 5 0 1 1 10 0 5 5 0 0 1-10 0Zm5-4a4 4 0 1 0 0 8 4 4 0 0 0 0-8Zm-8 4a8 8 0 1 1 16 0 8 8 0 0 1-16 0Zm8-7a7 7 0 1 0 0 14 7 7 0 0 0 0-14Z"]);var se=/*@__PURE__*/g1("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 $6=/*@__PURE__*/g1("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 NM=/*@__PURE__*/g1("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 jM=/*@__PURE__*/g1("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 Me=/*@__PURE__*/g1("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 a_=/*@__PURE__*/g1("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 l_=/*@__PURE__*/g1("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 c_=/*@__PURE__*/g1("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 o_=/*@__PURE__*/g1("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 F3=/*@__PURE__*/g1("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 e_=/*@__PURE__*/g1("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 r_=/*@__PURE__*/g1("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 m7=/*@__PURE__*/g1("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 t_=/*@__PURE__*/g1("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 h_=/*@__PURE__*/g1("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 _e=/*@__PURE__*/g1("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 Z_=/*@__PURE__*/g1("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 i_=/*@__PURE__*/g1("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 v_=/*@__PURE__*/g1("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 n_=/*@__PURE__*/g1("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 d_=/*@__PURE__*/g1("Warning20Regular","20",["M9.56 3.26a.5.5 0 0 1 .88 0l6.5 12a.5.5 0 0 1-.44.74h-13a.5.5 0 0 1-.44-.74l6.5-12Zm1.76-.47a1.5 1.5 0 0 0-2.64 0l-6.5 12A1.5 1.5 0 0 0 3.5 17h13a1.5 1.5 0 0 0 1.32-2.21l-6.5-12ZM10.5 7.5a.5.5 0 0 0-1 0v4a.5.5 0 1 0 1 0v-4Zm.25 6.25a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0Z"]);var m_=/*@__PURE__*/g1("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 p_={durationUltraFast:50,durationFaster:100,durationFast:150,durationNormal:200,durationGentle:250,durationSlow:300,durationSlower:400,durationUltraSlow:500},s_={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)"},O1={...p_,...s_};F();F();function M_(a){if(a.playState==="running"){var l;if(a.overallProgress!==void 0){var c;let h=(c=a.overallProgress)!==null&&c!==void 0?c:0;return h>0&&h<1}var o;let r=Number((o=a.currentTime)!==null&&o!==void 0?o:0);var e;let t=Number((e=(l=a.effect)===null||l===void 0?void 0:l.getTiming().duration)!==null&&e!==void 0?e:0);return r>0&&r<t}return!1}var zC={fill:"forwards"},QC={duration:1};function JC(){var a;let l=typeof window!=="undefined"&&typeof((a=window.Animation)===null||a===void 0?void 0:a.prototype.persist)==="function";return q((c,o,e)=>{let r=Array.isArray(o)?o:[o],{isReducedMotion:t}=e,h=r.map((Z)=>{let{keyframes:i,reducedMotion:n=QC,...v}=Z,{keyframes:d=i,...m}=n,s=t?d:i,p={...zC,...v,...t&&m};try{let u=c.animate(s,p);if(l)u===null||u===void 0||u.persist();else{let A=s[s.length-1];var M;Object.assign((M=c.style)!==null&&M!==void 0?M:{},A)}return u}catch(u){return null}}).filter((Z)=>!!Z);return{set playbackRate(Z){h.forEach((i)=>{i.playbackRate=Z})},setMotionEndCallbacks(Z,i){let n=h.map((v)=>{return new Promise((d,m)=>{v.onfinish=()=>d(),v.oncancel=()=>m()})});Promise.all(n).then(()=>{Z()}).catch(()=>{i()})},isRunning(){return h.some((Z)=>M_(Z))},cancel:()=>{h.forEach((Z)=>{Z.cancel()})},pause:()=>{h.forEach((Z)=>{Z.pause()})},play:()=>{h.forEach((Z)=>{Z.play()})},finish:()=>{h.forEach((Z)=>{Z.finish()})},reverse:()=>{h.forEach((Z)=>{Z.reverse()})}}},[l])}function ue(){return JC()}F();function Ae(a){let l=G();return Z5(a,()=>({setPlayState:(c)=>{if(c==="running"){var o;(o=l.current)===null||o===void 0||o.play()}if(c==="paused"){var e;(e=l.current)===null||e===void 0||e.pause()}},setPlaybackRate:(c)=>{if(l.current)l.current.playbackRate=c}})),l}F();var KC="screen and (prefers-reduced-motion: reduce)";function He(){let{targetDocument:a}=M1();var l;let c=(l=a===null||a===void 0?void 0:a.defaultView)!==null&&l!==void 0?l:null,o=G(!1),e=q(()=>o.current,[]);return q1(()=>{if(c===null||typeof c.matchMedia!=="function")return;let r=c.matchMedia(KC);if(r.matches)o.current=!0;let t=(h)=>{o.current=h.matches};return r.addEventListener("change",t),()=>{r.removeEventListener("change",t)}},[c]),e}F();var __=["@fluentui/react-motion: Invalid child element.",`
|
|
137
|
+
`,"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 Ve(a,l=!0){let c=G(null);j(()=>{if(l&&!c.current)console.error(__)},[l]);try{let o=e7.only(a);if(u5(o))return[h4(o,{ref:R1(c,s3(o))}),c]}catch{}throw new Error(__)}F();var u_=v1(void 0),SX=u_.Provider,ge=()=>{var a;return(a=t1(u_))!==null&&a!==void 0?a:"default"};function xZ(a){return(c)=>{let{children:o,imperativeRef:e,onMotionFinish:r,onMotionStart:t,onMotionCancel:h,...Z}=c,i=Z,[n,v]=Ve(o),d=Ae(e),m=ge()==="skip",s=G({skipMotions:m,params:i}),p=ue(),M=He(),u=$(()=>{t===null||t===void 0||t(null)}),A=$(()=>{r===null||r===void 0||r(null)}),V=$(()=>{h===null||h===void 0||h(null)});return q1(()=>{s.current={skipMotions:m,params:i}}),q1(()=>{let H=v.current;if(H){let g=typeof a==="function"?a({element:H,...s.current.params}):a;u();let S=p(H,g,{isReducedMotion:M()});if(d.current=S,S.setMotionEndCallbacks(A,V),s.current.skipMotions)S.finish();return()=>{S.cancel()}}},[p,v,d,M,A,u,V]),n}}F();F();var CZ=v1(void 0),bX=CZ.Provider;F();function A_(a=!1,l=!1){let c=G(l?a:!0),o=w6(),e=q((r)=>{if(c.current!==r)c.current=r,o()},[o]);return j(()=>{if(a)c.current=a}),[a||c.current,e]}var LZ=Symbol("MOTION_DEFINITION"),$C=Symbol.for("interruptablePresence");function S5(a){return Object.assign((l)=>{let o={...t1(CZ),...l},e=ge()==="skip",{appear:r,children:t,imperativeRef:h,onExit:Z,onMotionFinish:i,onMotionStart:n,onMotionCancel:v,visible:d,unmountOnExit:m,...s}=o,p=s,[M,u]=A_(d,m),[A,V]=Ve(t,M),H=Ae(h),g=G({appear:r,params:p,skipMotions:e}),S=ue(),C=D6(),E=He(),T=$((Q)=>{n===null||n===void 0||n(null,{direction:Q})}),c1=$((Q)=>{if(i===null||i===void 0||i(null,{direction:Q}),Q==="exit"&&m)u(!1),Z===null||Z===void 0||Z()}),l1=$((Q)=>{v===null||v===void 0||v(null,{direction:Q})});if(q1(()=>{g.current={appear:r,params:p,skipMotions:e}}),q1(()=>{let Q=V.current;if(!Q)return;let x;function R(){if(!x)return;if(K&&x.isRunning())return;x.cancel(),H.current=void 0}let U=typeof a==="function"?a({element:Q,...g.current.params}):a,K=U[$C];if(K){if(x=H.current,x&&x.isRunning())return x.reverse(),R}let X=d?U.enter:U.exit,i1=d?"enter":"exit",J=!g.current.appear&&C,s1=g.current.skipMotions;if(!J)T(i1);if(x=S(Q,X,{isReducedMotion:E()}),J)return x.finish(),R;if(H.current=x,x.setMotionEndCallbacks(()=>c1(i1),()=>l1(i1)),s1)x.finish();return R},[S,V,H,E,c1,T,l1,d]),M)return A;return null},{[LZ]:typeof a==="function"?a:()=>a},{In:xZ(typeof a==="function"?(...l)=>a(...l).enter:a.enter),Out:xZ(typeof a==="function"?(...l)=>a(...l).exit:a.exit)})}function YC(a,l){return(o)=>a({...l,...o})}function A4(a,l){let c=a[LZ],o=YC(c,l);return S5(o)}F();function H4(a,l){let{as:c,children:o,...e}=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 t=!l.defaultProps.visible&&l.defaultProps.unmountOnExit,h=(Z,i)=>t?null:/*@__PURE__*/e1(m1,null,i.children);return{[b7]:h,[i5]:l.elementType}}let r={...l.defaultProps,...e,[i5]:l.elementType};if(typeof o==="function")r[b7]=o;return r}var H_=(a,l)=>{let c=a==="horizontal"?"maxWidth":"maxHeight",o=a==="horizontal"?"overflowX":"overflowY",r=`${a==="horizontal"?l.scrollWidth:l.scrollHeight}px`;return{sizeName:c,overflowName:o,toSize:r}},V_=({orientation:a,duration:l,easing:c,element:o,fromSize:e="0"})=>{let{sizeName:r,overflowName:t,toSize:h}=H_(a,o);return{keyframes:[{[r]:e,[t]:"hidden"},{[r]:h,offset:0.9999,[t]:"hidden"},{[r]:"unset",[t]:"unset"}],duration:l,easing:c}},g_=({orientation:a,duration:l,easing:c,element:o,delay:e=0,fromSize:r="0"})=>{let{sizeName:t,overflowName:h,toSize:Z}=H_(a,o);return{keyframes:[{[t]:Z,[h]:"hidden"},{[t]:r,[h]:"hidden"}],duration:l,easing:c,fill:"both",delay:e}},XC=(a)=>{if(a==="horizontal")return{paddingStart:"paddingInlineStart",paddingEnd:"paddingInlineEnd",marginStart:"marginInlineStart",marginEnd:"marginInlineEnd"};return{paddingStart:"paddingBlockStart",paddingEnd:"paddingBlockEnd",marginStart:"marginBlockStart",marginEnd:"marginBlockEnd"}},RZ=({direction:a,orientation:l,duration:c,easing:o,delay:e=0})=>{let{paddingStart:r,paddingEnd:t,marginStart:h,marginEnd:Z}=XC(l),i=a==="enter"?0:1,v={keyframes:[{[r]:"0",[t]:"0",[h]:"0",[Z]:"0",offset:i}],duration:c,easing:o,delay:e};if(a==="exit")v.fill="forwards";return v};var Y6=({direction:a,duration:l,easing:c=O1.curveLinear,fromOpacity:o=0})=>{let e=[{opacity:o},{opacity:1}];if(a==="exit")e.reverse();return{keyframes:e,duration:l,easing:c}};function f_({element:a,orientation:l,animateOpacity:c,sizeDuration:o,opacityDuration:e=o,easing:r,delay:t,exitSizeDuration:h,exitOpacityDuration:Z=h,exitEasing:i,exitDelay:n}){let v=[V_({orientation:l,duration:o,easing:r,element:a}),RZ({direction:"enter",orientation:l,duration:o,easing:r})];if(c)v.push({...Y6({direction:"enter",duration:e,easing:r}),delay:t,fill:"both"});let d=[];if(c)d.push(Y6({direction:"exit",duration:Z,easing:i}));return d.push(g_({orientation:l,duration:h,easing:i,element:a,delay:n}),RZ({direction:"exit",orientation:l,duration:h,easing:i,delay:n})),{enter:v,exit:d}}var NC=({element:a,duration:l=O1.durationNormal,easing:c=O1.curveEasyEaseMax,exitDuration:o=l,exitEasing:e=c,animateOpacity:r=!0,orientation:t="vertical"})=>{return f_({element:a,orientation:t,animateOpacity:r,sizeDuration:l,opacityDuration:l,easing:c,exitSizeDuration:o,exitOpacityDuration:o,exitEasing:e,delay:0,exitDelay:0})},jC=({element:a,sizeDuration:l=O1.durationNormal,opacityDuration:c=O1.durationSlower,easing:o=O1.curveEasyEase,delay:e=O1.durationNormal,exitSizeDuration:r=l,exitOpacityDuration:t=c,exitEasing:h=o,exitDelay:Z=O1.durationSlower,animateOpacity:i=!0,orientation:n="vertical"})=>{return f_({element:a,orientation:n,animateOpacity:i,sizeDuration:l,opacityDuration:c,easing:o,delay:e,exitSizeDuration:r,exitOpacityDuration:t,exitEasing:h,exitDelay:Z})},fe=S5(NC),F_=A4(fe,{duration:O1.durationFast}),x_=A4(fe,{duration:O1.durationSlower}),Fe=S5(jC);var aL=({duration:a=O1.durationNormal,easing:l=O1.curveEasyEase,exitDuration:c=a,exitEasing:o=l})=>{return{enter:Y6({direction:"enter",duration:a,easing:l}),exit:Y6({direction:"exit",duration:c,easing:o})}},xe=S5(aL),C_=A4(xe,{duration:O1.durationFast}),Ce=A4(xe,{duration:O1.durationGentle});F();F();var O8=(a,l)=>{let{shape:c="circular",size:o="medium",iconPosition:e="before",appearance:r="filled",color:t="brand"}=a;return{shape:c,size:o,iconPosition:e,appearance:r,color:t,components:{root:"div",icon:"span"},root:w.always(a1("div",{ref:l,...a}),{elementType:"div"}),icon:w.optional(a.icon,{elementType:"span"})}};var E8={root:"fui-Badge",icon:"fui-Badge__icon"},RN=c0.spacingHorizontalXXS,lL=/*@__PURE__*/N("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;}']),cL=/*@__PURE__*/k({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);}"]}),oL=/*@__PURE__*/N("rttl5z0",null,[".rttl5z0{display:flex;line-height:1;margin:0 calc(-1 * var(--spacingHorizontalXXS));font-size:12px;}"]),eL=/*@__PURE__*/k({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;}"]}),W8=(a)=>{let l=lL(),c=cL(),o=a.size==="small"||a.size==="extra-small"||a.size==="tiny";a.root.className=D(E8.root,l,o&&c.fontSmallToTiny,c[a.size],c[a.shape],a.shape==="rounded"&&o&&c.roundedSmallToTiny,a.appearance==="ghost"&&c.borderGhost,c[a.appearance],c[`${a.appearance}-${a.color}`],a.root.className);let e=oL(),r=eL();if(a.icon){let t;if(a.root.children)if(a.size==="extra-large")t=a.iconPosition==="after"?r.afterTextXL:r.beforeTextXL;else t=a.iconPosition==="after"?r.afterText:r.beforeText;a.icon.className=D(E8.icon,e,t,r[a.size],a.icon.className)}return a};var I8=(a)=>{return P(a),/*@__PURE__*/A1(a.root,{children:[a.iconPosition==="before"&&a.icon&&/*@__PURE__*/L(a.icon,{}),a.root.children,a.iconPosition==="after"&&a.icon&&/*@__PURE__*/L(a.icon,{})]})};var N0=/*@__PURE__*/I((a,l)=>{let c=O8(a,l);return W8(c),z("useBadgeStyles_unstable")(c),I8(c)});N0.displayName="Badge";F();var rL=v1(void 0);var Le=rL.Provider;F();F();function L_(a){let{clientX:l,clientY:c}=a,o=l+1,e=c+1;function r(){return{left:l,top:c,right:o,bottom:e,x:l,y:c,height:1,width:1}}return{getBoundingClientRect:r}}var SZ="data-popper-is-intersecting",DZ="data-popper-escaped",wZ="data-popper-reference-hidden",R_="data-popper-placement",q8="fui-positioningend";F();var tL=({options:a})=>{return a},S_=v1(void 0),JN=S_.Provider,D_=()=>{var a;return(a=t1(S_))!==null&&a!==void 0?a:tL};F();var w_=["top","right","bottom","left"];var{min:K7,max:D5,round:z8}=Math;var x2=(a)=>({x:a,y:a}),hL={left:"right",right:"left",bottom:"top",top:"bottom"},ZL={start:"end",end:"start"};function Se(a,l,c){return D5(a,K7(l,c))}function p7(a,l){return typeof a==="function"?a(l):a}function s7(a){return a.split("-")[0]}function V4(a){return a.split("-")[1]}function De(a){return a==="x"?"y":"x"}function we(a){return a==="y"?"height":"width"}function $7(a){return["top","bottom"].includes(s7(a))?"y":"x"}function ke(a){return De($7(a))}function k_(a,l,c){if(c===void 0)c=!1;let o=V4(a),e=ke(a),r=we(e),t=e==="x"?o===(c?"end":"start")?"right":"left":o==="start"?"bottom":"top";if(l.reference[r]>l.floating[r])t=P8(t);return[t,P8(t)]}function y_(a){let l=P8(a);return[Re(a),l,Re(l)]}function Re(a){return a.replace(/start|end/g,(l)=>ZL[l])}function iL(a,l,c){let o=["left","right"],e=["right","left"],r=["top","bottom"],t=["bottom","top"];switch(a){case"top":case"bottom":if(c)return l?e:o;return l?o:e;case"left":case"right":return l?r:t;default:return[]}}function U_(a,l,c,o){let e=V4(a),r=iL(s7(a),c==="start",o);if(e){if(r=r.map((t)=>t+"-"+e),l)r=r.concat(r.map(Re))}return r}function P8(a){return a.replace(/left|right|bottom|top/g,(l)=>hL[l])}function vL(a){return{top:0,right:0,bottom:0,left:0,...a}}function kZ(a){return typeof a!=="number"?vL(a):{top:a,right:a,bottom:a,left:a}}function g4(a){let{x:l,y:c,width:o,height:e}=a;return{width:o,height:e,top:c,left:l,right:l+o,bottom:c+e,x:l,y:c}}function G_(a,l,c){let{reference:o,floating:e}=a,r=$7(l),t=ke(l),h=we(t),Z=s7(l),i=r==="y",n=o.x+o.width/2-e.width/2,v=o.y+o.height/2-e.height/2,d=o[h]/2-e[h]/2,m;switch(Z){case"top":m={x:n,y:o.y-e.height};break;case"bottom":m={x:n,y:o.y+o.height};break;case"right":m={x:o.x+o.width,y:v};break;case"left":m={x:o.x-e.width,y:v};break;default:m={x:o.x,y:o.y}}switch(V4(l)){case"start":m[t]-=d*(c&&i?-1:1);break;case"end":m[t]+=d*(c&&i?-1:1);break}return m}var b_=async(a,l,c)=>{let{placement:o="bottom",strategy:e="absolute",middleware:r=[],platform:t}=c,h=r.filter(Boolean),Z=await(t.isRTL==null?void 0:t.isRTL(l)),i=await t.getElementRects({reference:a,floating:l,strategy:e}),{x:n,y:v}=G_(i,o,Z),d=o,m={},s=0;for(let p=0;p<h.length;p++){let{name:M,fn:u}=h[p],{x:A,y:V,data:H,reset:g}=await u({x:n,y:v,initialPlacement:o,placement:d,strategy:e,middlewareData:m,rects:i,platform:t,elements:{reference:a,floating:l}});if(n=A!=null?A:n,v=V!=null?V:v,m={...m,[M]:{...m[M],...H}},g&&s<=50){if(s++,typeof g==="object"){if(g.placement)d=g.placement;if(g.rects)i=g.rects===!0?await t.getElementRects({reference:a,floating:l,strategy:e}):g.rects;({x:n,y:v}=G_(i,d,Z))}p=-1}}return{x:n,y:v,placement:d,strategy:e,middlewareData:m}};async function f4(a,l){var c;if(l===void 0)l={};let{x:o,y:e,platform:r,rects:t,elements:h,strategy:Z}=a,{boundary:i="clippingAncestors",rootBoundary:n="viewport",elementContext:v="floating",altBoundary:d=!1,padding:m=0}=p7(l,a),s=kZ(m),M=h[d?v==="floating"?"reference":"floating":v],u=g4(await r.getClippingRect({element:((c=await(r.isElement==null?void 0:r.isElement(M)))!=null?c:!0)?M:M.contextElement||await(r.getDocumentElement==null?void 0:r.getDocumentElement(h.floating)),boundary:i,rootBoundary:n,strategy:Z})),A=v==="floating"?{x:o,y:e,width:t.floating.width,height:t.floating.height}:t.reference,V=await(r.getOffsetParent==null?void 0:r.getOffsetParent(h.floating)),H=await(r.isElement==null?void 0:r.isElement(V))?await(r.getScale==null?void 0:r.getScale(V))||{x:1,y:1}:{x:1,y:1},g=g4(r.convertOffsetParentRelativeRectToViewportRelativeRect?await r.convertOffsetParentRelativeRectToViewportRelativeRect({elements:h,rect:A,offsetParent:V,strategy:Z}):A);return{top:(u.top-g.top+s.top)/H.y,bottom:(g.bottom-u.bottom+s.bottom)/H.y,left:(u.left-g.left+s.left)/H.x,right:(g.right-u.right+s.right)/H.x}}var O_=(a)=>({name:"arrow",options:a,async fn(l){let{x:c,y:o,placement:e,rects:r,platform:t,elements:h,middlewareData:Z}=l,{element:i,padding:n=0}=p7(a,l)||{};if(i==null)return{};let v=kZ(n),d={x:c,y:o},m=ke(e),s=we(m),p=await t.getDimensions(i),M=m==="y",u=M?"top":"left",A=M?"bottom":"right",V=M?"clientHeight":"clientWidth",H=r.reference[s]+r.reference[m]-d[m]-r.floating[s],g=d[m]-r.reference[m],S=await(t.getOffsetParent==null?void 0:t.getOffsetParent(i)),C=S?S[V]:0;if(!C||!await(t.isElement==null?void 0:t.isElement(S)))C=h.floating[V]||r.floating[s];let E=H/2-g/2,T=C/2-p[s]/2-1,c1=K7(v[u],T),l1=K7(v[A],T),Q=c1,x=C-p[s]-l1,R=C/2-p[s]/2+E,U=Se(Q,R,x),K=!Z.arrow&&V4(e)!=null&&R!==U&&r.reference[s]/2-(R<Q?c1:l1)-p[s]/2<0,X=K?R<Q?R-Q:R-x:0;return{[m]:d[m]+X,data:{[m]:U,centerOffset:R-U-X,...K&&{alignmentOffset:X}},reset:K}}});var E_=function(a){if(a===void 0)a={};return{name:"flip",options:a,async fn(l){var c,o;let{placement:e,middlewareData:r,rects:t,initialPlacement:h,platform:Z,elements:i}=l,{mainAxis:n=!0,crossAxis:v=!0,fallbackPlacements:d,fallbackStrategy:m="bestFit",fallbackAxisSideDirection:s="none",flipAlignment:p=!0,...M}=p7(a,l);if((c=r.arrow)!=null&&c.alignmentOffset)return{};let u=s7(e),A=$7(h),V=s7(h)===h,H=await(Z.isRTL==null?void 0:Z.isRTL(i.floating)),g=d||(V||!p?[P8(h)]:y_(h)),S=s!=="none";if(!d&&S)g.push(...U_(h,p,s,H));let C=[h,...g],E=await f4(l,M),T=[],c1=((o=r.flip)==null?void 0:o.overflows)||[];if(n)T.push(E[u]);if(v){let R=k_(e,t,H);T.push(E[R[0]],E[R[1]])}if(c1=[...c1,{placement:e,overflows:T}],!T.every((R)=>R<=0)){var l1,Q;let R=(((l1=r.flip)==null?void 0:l1.index)||0)+1,U=C[R];if(U)return{data:{index:R,overflows:c1},reset:{placement:U}};let K=(Q=c1.filter((X)=>X.overflows[0]<=0).sort((X,i1)=>X.overflows[1]-i1.overflows[1])[0])==null?void 0:Q.placement;if(!K)switch(m){case"bestFit":{var x;let X=(x=c1.filter((i1)=>{if(S){let J=$7(i1.placement);return J===A||J==="y"}return!0}).map((i1)=>[i1.placement,i1.overflows.filter((J)=>J>0).reduce((J,s1)=>J+s1,0)]).sort((i1,J)=>i1[1]-J[1])[0])==null?void 0:x[0];if(X)K=X;break}case"initialPlacement":K=h;break}if(e!==K)return{reset:{placement:K}}}return{}}}};function B_(a,l){return{top:a.top-l.height,right:a.right-l.width,bottom:a.bottom-l.height,left:a.left-l.width}}function T_(a){return w_.some((l)=>a[l]>=0)}var W_=function(a){if(a===void 0)a={};return{name:"hide",options:a,async fn(l){let{rects:c}=l,{strategy:o="referenceHidden",...e}=p7(a,l);switch(o){case"referenceHidden":{let r=await f4(l,{...e,elementContext:"reference"}),t=B_(r,c.reference);return{data:{referenceHiddenOffsets:t,referenceHidden:T_(t)}}}case"escaped":{let r=await f4(l,{...e,altBoundary:!0}),t=B_(r,c.floating);return{data:{escapedOffsets:t,escaped:T_(t)}}}default:return{}}}}};async function nL(a,l){let{placement:c,platform:o,elements:e}=a,r=await(o.isRTL==null?void 0:o.isRTL(e.floating)),t=s7(c),h=V4(c),Z=$7(c)==="y",i=["left","top"].includes(t)?-1:1,n=r&&Z?-1:1,v=p7(l,a),{mainAxis:d,crossAxis:m,alignmentAxis:s}=typeof v==="number"?{mainAxis:v,crossAxis:0,alignmentAxis:null}:{mainAxis:v.mainAxis||0,crossAxis:v.crossAxis||0,alignmentAxis:v.alignmentAxis};if(h&&typeof s==="number")m=h==="end"?s*-1:s;return Z?{x:m*n,y:d*i}:{x:d*i,y:m*n}}var I_=function(a){if(a===void 0)a=0;return{name:"offset",options:a,async fn(l){var c,o;let{x:e,y:r,placement:t,middlewareData:h}=l,Z=await nL(l,a);if(t===((c=h.offset)==null?void 0:c.placement)&&(o=h.arrow)!=null&&o.alignmentOffset)return{};return{x:e+Z.x,y:r+Z.y,data:{...Z,placement:t}}}}},q_=function(a){if(a===void 0)a={};return{name:"shift",options:a,async fn(l){let{x:c,y:o,placement:e}=l,{mainAxis:r=!0,crossAxis:t=!1,limiter:h={fn:(M)=>{let{x:u,y:A}=M;return{x:u,y:A}}},...Z}=p7(a,l),i={x:c,y:o},n=await f4(l,Z),v=$7(s7(e)),d=De(v),m=i[d],s=i[v];if(r){let M=d==="y"?"top":"left",u=d==="y"?"bottom":"right",A=m+n[M],V=m-n[u];m=Se(A,m,V)}if(t){let M=v==="y"?"top":"left",u=v==="y"?"bottom":"right",A=s+n[M],V=s-n[u];s=Se(A,s,V)}let p=h.fn({...l,[d]:m,[v]:s});return{...p,data:{x:p.x-c,y:p.y-o,enabled:{[d]:r,[v]:t}}}}}},P_=function(a){if(a===void 0)a={};return{options:a,fn(l){let{x:c,y:o,placement:e,rects:r,middlewareData:t}=l,{offset:h=0,mainAxis:Z=!0,crossAxis:i=!0}=p7(a,l),n={x:c,y:o},v=$7(e),d=De(v),m=n[d],s=n[v],p=p7(h,l),M=typeof p==="number"?{mainAxis:p,crossAxis:0}:{mainAxis:0,crossAxis:0,...p};if(Z){let V=d==="y"?"height":"width",H=r.reference[d]-r.floating[V]+M.mainAxis,g=r.reference[d]+r.reference[V]-M.mainAxis;if(m<H)m=H;else if(m>g)m=g}if(i){var u,A;let V=d==="y"?"width":"height",H=["top","left"].includes(s7(e)),g=r.reference[v]-r.floating[V]+(H?((u=t.offset)==null?void 0:u[v])||0:0)+(H?0:M.crossAxis),S=r.reference[v]+r.reference[V]+(H?0:((A=t.offset)==null?void 0:A[v])||0)-(H?M.crossAxis:0);if(s<g)s=g;else if(s>S)s=S}return{[d]:m,[v]:s}}}},z_=function(a){if(a===void 0)a={};return{name:"size",options:a,async fn(l){var c,o;let{placement:e,rects:r,platform:t,elements:h}=l,{apply:Z=()=>{},...i}=p7(a,l),n=await f4(l,i),v=s7(e),d=V4(e),m=$7(e)==="y",{width:s,height:p}=r.floating,M,u;if(v==="top"||v==="bottom")M=v,u=d===(await(t.isRTL==null?void 0:t.isRTL(h.floating))?"start":"end")?"left":"right";else u=v,M=d==="end"?"top":"bottom";let A=p-n.top-n.bottom,V=s-n.left-n.right,H=K7(p-n[M],A),g=K7(s-n[u],V),S=!l.middlewareData.shift,C=H,E=g;if((c=l.middlewareData.shift)!=null&&c.enabled.x)E=V;if((o=l.middlewareData.shift)!=null&&o.enabled.y)C=A;if(S&&!d){let c1=D5(n.left,0),l1=D5(n.right,0),Q=D5(n.top,0),x=D5(n.bottom,0);if(m)E=s-2*(c1!==0||l1!==0?c1+l1:D5(n.left,n.right));else C=p-2*(Q!==0||x!==0?Q+x:D5(n.top,n.bottom))}await Z({...l,availableWidth:E,availableHeight:C});let T=await t.getDimensions(h.floating);if(s!==T.width||p!==T.height)return{reset:{rects:!0}};return{}}}};function Ue(){return typeof window!=="undefined"}function F4(a){if(J_(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 M7(a){var l;return(l=(J_(a)?a.ownerDocument:a.document)||window.document)==null?void 0:l.documentElement}function J_(a){if(!Ue())return!1;return a instanceof Node||a instanceof w5(a).Node}function c2(a){if(!Ue())return!1;return a instanceof Element||a instanceof w5(a).Element}function C2(a){if(!Ue())return!1;return a instanceof HTMLElement||a instanceof w5(a).HTMLElement}function Q_(a){if(!Ue()||typeof ShadowRoot==="undefined")return!1;return a instanceof ShadowRoot||a instanceof w5(a).ShadowRoot}function X6(a){let{overflow:l,overflowX:c,overflowY:o,display:e}=o2(a);return/auto|scroll|overlay|hidden|clip/.test(l+o+c)&&!["inline","contents"].includes(e)}function K_(a){return["table","td","th"].includes(F4(a))}function Q8(a){return[":popover-open",":modal"].some((l)=>{try{return a.matches(l)}catch(c){return!1}})}function Ge(a){let l=Be(),c=c2(a)?o2(a):a;return["transform","translate","scale","rotate","perspective"].some((o)=>c[o]?c[o]!=="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((o)=>(c.willChange||"").includes(o))||["paint","layout","strict","content"].some((o)=>(c.contain||"").includes(o))}function $_(a){let l=Y7(a);while(C2(l)&&!x4(l)){if(Ge(l))return l;else if(Q8(l))return null;l=Y7(l)}return null}function Be(){if(typeof CSS==="undefined"||!CSS.supports)return!1;return CSS.supports("-webkit-backdrop-filter","none")}function x4(a){return["html","body","#document"].includes(F4(a))}function o2(a){return w5(a).getComputedStyle(a)}function J8(a){if(c2(a))return{scrollLeft:a.scrollLeft,scrollTop:a.scrollTop};return{scrollLeft:a.scrollX,scrollTop:a.scrollY}}function Y7(a){if(F4(a)==="html")return a;let l=a.assignedSlot||a.parentNode||Q_(a)&&a.host||M7(a);return Q_(l)?l.host:l}function Y_(a){let l=Y7(a);if(x4(l))return a.ownerDocument?a.ownerDocument.body:a.body;if(C2(l)&&X6(l))return l;return Y_(l)}function ye(a,l,c){var o;if(l===void 0)l=[];if(c===void 0)c=!0;let e=Y_(a),r=e===((o=a.ownerDocument)==null?void 0:o.body),t=w5(e);if(r){let h=Te(t);return l.concat(t,t.visualViewport||[],X6(e)?e:[],h&&c?ye(h):[])}return l.concat(e,ye(e,[],c))}function Te(a){return a.parent&&Object.getPrototypeOf(a.parent)?a.frameElement:null}function j_(a){let l=o2(a),c=parseFloat(l.width)||0,o=parseFloat(l.height)||0,e=C2(a),r=e?a.offsetWidth:c,t=e?a.offsetHeight:o,h=z8(c)!==r||z8(o)!==t;if(h)c=r,o=t;return{width:c,height:o,$:h}}function au(a){return!c2(a)?a.contextElement:a}function N6(a){let l=au(a);if(!C2(l))return x2(1);let c=l.getBoundingClientRect(),{width:o,height:e,$:r}=j_(l),t=(r?z8(c.width):c.width)/o,h=(r?z8(c.height):c.height)/e;if(!t||!Number.isFinite(t))t=1;if(!h||!Number.isFinite(h))h=1;return{x:t,y:h}}var dL=/*@__PURE__*/x2(0);function lu(a){let l=w5(a);if(!Be()||!l.visualViewport)return dL;return{x:l.visualViewport.offsetLeft,y:l.visualViewport.offsetTop}}function mL(a,l,c){if(l===void 0)l=!1;if(!c||l&&c!==w5(a))return!1;return l}function K8(a,l,c,o){if(l===void 0)l=!1;if(c===void 0)c=!1;let e=a.getBoundingClientRect(),r=au(a),t=x2(1);if(l)if(o){if(c2(o))t=N6(o)}else t=N6(a);let h=mL(r,c,o)?lu(r):x2(0),Z=(e.left+h.x)/t.x,i=(e.top+h.y)/t.y,n=e.width/t.x,v=e.height/t.y;if(r){let d=w5(r),m=o&&c2(o)?w5(o):o,s=d,p=Te(s);while(p&&o&&m!==s){let M=N6(p),u=p.getBoundingClientRect(),A=o2(p),V=u.left+(p.clientLeft+parseFloat(A.paddingLeft))*M.x,H=u.top+(p.clientTop+parseFloat(A.paddingTop))*M.y;Z*=M.x,i*=M.y,n*=M.x,v*=M.y,Z+=V,i+=H,s=w5(p),p=Te(s)}}return g4({width:n,height:v,x:Z,y:i})}function UZ(a,l){let c=J8(a).scrollLeft;if(!l)return K8(M7(a)).left+c;return l.left+c}function cu(a,l,c){if(c===void 0)c=!1;let o=a.getBoundingClientRect(),e=o.left+l.scrollLeft-(c?0:UZ(a,o)),r=o.top+l.scrollTop;return{x:e,y:r}}function pL(a){let{elements:l,rect:c,offsetParent:o,strategy:e}=a,r=e==="fixed",t=M7(o),h=l?Q8(l.floating):!1;if(o===t||h&&r)return c;let Z={scrollLeft:0,scrollTop:0},i=x2(1),n=x2(0),v=C2(o);if(v||!v&&!r){if(F4(o)!=="body"||X6(t))Z=J8(o);if(C2(o)){let m=K8(o);i=N6(o),n.x=m.x+o.clientLeft,n.y=m.y+o.clientTop}}let d=t&&!v&&!r?cu(t,Z,!0):x2(0);return{width:c.width*i.x,height:c.height*i.y,x:c.x*i.x-Z.scrollLeft*i.x+n.x+d.x,y:c.y*i.y-Z.scrollTop*i.y+n.y+d.y}}function sL(a){return Array.from(a.getClientRects())}function ML(a){let l=M7(a),c=J8(a),o=a.ownerDocument.body,e=D5(l.scrollWidth,l.clientWidth,o.scrollWidth,o.clientWidth),r=D5(l.scrollHeight,l.clientHeight,o.scrollHeight,o.clientHeight),t=-c.scrollLeft+UZ(a),h=-c.scrollTop;if(o2(o).direction==="rtl")t+=D5(l.clientWidth,o.clientWidth)-e;return{width:e,height:r,x:t,y:h}}function _L(a,l){let c=w5(a),o=M7(a),e=c.visualViewport,r=o.clientWidth,t=o.clientHeight,h=0,Z=0;if(e){r=e.width,t=e.height;let i=Be();if(!i||i&&l==="fixed")h=e.offsetLeft,Z=e.offsetTop}return{width:r,height:t,x:h,y:Z}}function uL(a,l){let c=K8(a,!0,l==="fixed"),o=c.top+a.clientTop,e=c.left+a.clientLeft,r=C2(a)?N6(a):x2(1),t=a.clientWidth*r.x,h=a.clientHeight*r.y,Z=e*r.x,i=o*r.y;return{width:t,height:h,x:Z,y:i}}function X_(a,l,c){let o;if(l==="viewport")o=_L(a,c);else if(l==="document")o=ML(M7(a));else if(c2(l))o=uL(l,c);else{let e=lu(a);o={x:l.x-e.x,y:l.y-e.y,width:l.width,height:l.height}}return g4(o)}function ou(a,l){let c=Y7(a);if(c===l||!c2(c)||x4(c))return!1;return o2(c).position==="fixed"||ou(c,l)}function AL(a,l){let c=l.get(a);if(c)return c;let o=ye(a,[],!1).filter((h)=>c2(h)&&F4(h)!=="body"),e=null,r=o2(a).position==="fixed",t=r?Y7(a):a;while(c2(t)&&!x4(t)){let h=o2(t),Z=Ge(t);if(!Z&&h.position==="fixed")e=null;if(r?!Z&&!e:!Z&&h.position==="static"&&!!e&&["absolute","fixed"].includes(e.position)||X6(t)&&!Z&&ou(a,t))o=o.filter((n)=>n!==t);else e=h;t=Y7(t)}return l.set(a,o),o}function HL(a){let{element:l,boundary:c,rootBoundary:o,strategy:e}=a,t=[...c==="clippingAncestors"?Q8(l)?[]:AL(l,this._c):[].concat(c),o],h=t[0],Z=t.reduce((i,n)=>{let v=X_(l,n,e);return i.top=D5(v.top,i.top),i.right=K7(v.right,i.right),i.bottom=K7(v.bottom,i.bottom),i.left=D5(v.left,i.left),i},X_(l,h,e));return{width:Z.right-Z.left,height:Z.bottom-Z.top,x:Z.left,y:Z.top}}function VL(a){let{width:l,height:c}=j_(a);return{width:l,height:c}}function gL(a,l,c){let o=C2(l),e=M7(l),r=c==="fixed",t=K8(a,!0,r,l),h={scrollLeft:0,scrollTop:0},Z=x2(0);if(o||!o&&!r){if(F4(l)!=="body"||X6(e))h=J8(l);if(o){let d=K8(l,!0,r,l);Z.x=d.x+l.clientLeft,Z.y=d.y+l.clientTop}else if(e)Z.x=UZ(e)}let i=e&&!o&&!r?cu(e,h):x2(0),n=t.left+h.scrollLeft-Z.x-i.x,v=t.top+h.scrollTop-Z.y-i.y;return{x:n,y:v,width:t.width,height:t.height}}function yZ(a){return o2(a).position==="static"}function N_(a,l){if(!C2(a)||o2(a).position==="fixed")return null;if(l)return l(a);let c=a.offsetParent;if(M7(a)===c)c=c.ownerDocument.body;return c}function eu(a,l){let c=w5(a);if(Q8(a))return c;if(!C2(a)){let e=Y7(a);while(e&&!x4(e)){if(c2(e)&&!yZ(e))return e;e=Y7(e)}return c}let o=N_(a,l);while(o&&K_(o)&&yZ(o))o=N_(o,l);if(o&&x4(o)&&yZ(o)&&!Ge(o))return c;return o||$_(a)||c}var fL=async function(a){let l=this.getOffsetParent||eu,c=this.getDimensions,o=await c(a.floating);return{reference:gL(a.reference,await l(a.floating),a.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}};function FL(a){return o2(a).direction==="rtl"}var xL={convertOffsetParentRelativeRectToViewportRelativeRect:pL,getDocumentElement:M7,getClippingRect:HL,getOffsetParent:eu,getElementRects:fL,getClientRects:sL,getDimensions:VL,getScale:N6,isElement:c2,isRTL:FL};var ru=f4,tu=I_;var hu=q_,Zu=E_,iu=z_,GZ=W_,vu=O_;var BZ=P_,nu=(a,l,c)=>{let o=/*@__PURE__*/new Map,e={platform:xL,...c},r={...e.platform,_c:o};return b_(a,l,{...e,platform:r})};function $8(a){let l=a.split("-");return{side:l[0],alignment:l[1]}}var du=(a)=>{if(a.nodeName==="HTML")return a;return a.parentNode||a.host},CL=(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{}},C4=(a)=>{let l=a&&du(a);if(!l)return document.body;switch(l.nodeName){case"HTML":case"BODY":return l.ownerDocument.body;case"#document":return l.body}let{overflow:c,overflowX:o,overflowY:e}=CL(l);if(/(auto|scroll|overlay)/.test(c+e+o))return l;return C4(l)},TZ=(a)=>{var l;let c=C4(a);return c?c!==((l=c.ownerDocument)===null||l===void 0?void 0:l.body):!1};function L4(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=C4(a);if(c.nodeName==="BODY")c=a===null||a===void 0?void 0:a.ownerDocument.documentElement;return c}return l}F();function mu(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 be(a,l){if(typeof a==="number")return bZ(a,l);if(typeof a==="object"&&a!==null)return bZ(a,l);if(typeof a==="function")return(c)=>{let o=a(c);return bZ(o,l)};return{mainAxis:l}}var bZ=(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 Y8(a,l){if(typeof a==="number")return a;let{start:c,end:o,...e}=a,r=e,t=l?"end":"start",h=l?"start":"end";if(a[t])r.left=a[t];if(a[h])r.right=a[h];return r}var LL=(a)=>({above:"top",below:"bottom",before:a?"right":"left",after:a?"left":"right"}),RL=()=>({start:"start",end:"end",top:"start",bottom:"end",center:void 0}),SL=(a,l)=>{let c=a==="above"||a==="below",o=l==="top"||l==="bottom";return c&&o||!c&&!o},X8=(a,l,c)=>{let o=SL(l,a)?"center":a,e=l&&LL(c)[l],r=o&&RL()[o];if(e&&r)return`${e}-${r}`;return e};var DL=()=>({top:"above",bottom:"below",right:"after",left:"before"}),wL=(a)=>{if(a==="above"||a==="below")return{start:"start",end:"end"};return{start:"top",end:"bottom"}},N8=(a)=>{let{side:l,alignment:c}=$8(a),o=DL()[l],e=c&&wL(o)[c];return{position:o,alignment:e}};var kL={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 x3(a){if(a===void 0||a===null)return{};if(typeof a==="string")return kL[a];return a}F();function j8(a,l,c){let o=G(!0),[e]=h1(()=>({value:a,callback:l,facade:{get current(){return e.value},set current(r){let t=e.value;if(t!==r){if(e.value=r,c&&o.current)return;e.callback(r,t)}}}}));return q1(()=>{o.current=!1},[]),e.callback=l,e.facade}function OZ(a){let l;return()=>{if(!l)l=new Promise((c)=>{Promise.resolve().then(()=>{l=void 0,c(a())})});return l}}function yL(a){if(a.nodeName==="BUTTON"||a.nodeName==="INPUT"||a.nodeName==="SELECT"||a.nodeName==="TEXTAREA"){var c;return!!((c=mu(a))===null||c===void 0?void 0:c.pendingProps.autoFocus)}return!1}function EZ(a){return yL(a)?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}function WZ(a){let{arrow:l,middlewareData:c}=a;if(!c.arrow||!l)return;let{x:o,y:e}=c.arrow;Object.assign(l.style,{left:o!==null&&o!==void 0?`${o}px`:"",top:e!==null&&e!==void 0?`${e}px`:""})}function IZ(a){var l,c,o;let{container:e,placement:r,middlewareData:t,strategy:h,lowPPI:Z,coordinates:i,useTransform:n=!0}=a;if(!e)return;if(e.setAttribute(R_,r),e.removeAttribute(SZ),t.intersectionObserver.intersecting)e.setAttribute(SZ,"");if(e.removeAttribute(DZ),(l=t.hide)===null||l===void 0?void 0:l.escaped)e.setAttribute(DZ,"");if(e.removeAttribute(wZ),(c=t.hide)===null||c===void 0?void 0:c.referenceHidden)e.setAttribute(wZ,"");let v=((o=e.ownerDocument.defaultView)===null||o===void 0?void 0:o.devicePixelRatio)||1,d=Math.round(i.x*v)/v,m=Math.round(i.y*v)/v;if(Object.assign(e.style,{position:h}),n){Object.assign(e.style,{transform:Z?`translate(${d}px, ${m}px)`:`translate3d(${d}px, ${m}px, 0)`});return}Object.assign(e.style,{left:`${d}px`,top:`${m}px`})}var qZ=(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 j6(a){let l=[],c=a;while(c){let o=C4(c);if(a.ownerDocument.body===o){l.push(o);break}if(o.nodeName==="BODY"&&o!==a.ownerDocument.body){console.error("@fluentui/react-positioning: You are comparing two different documents! This is an unexpected error, please report this as a bug to the Fluent UI team ");break}l.push(o),c=o}return l}function pu(a,l){return new a.ResizeObserver(l)}function su(a){let l=!1,{container:c,target:o,arrow:e,strategy:r,middleware:t,placement:h,useTransform:Z=!0,disableUpdateOnResize:i=!1}=a,n=c.ownerDocument.defaultView;if(!o||!c||!n)return{updatePosition:()=>{return},dispose:()=>{return}};let v=i?null:pu(n,(u)=>{if(u.every((V)=>{return V.contentRect.width>0&&V.contentRect.height>0}))p()}),d=!0,m=/*@__PURE__*/new Set;Object.assign(c.style,{position:"fixed",left:0,top:0,margin:0});let s=()=>{if(l)return;if(d){if(j6(c).forEach((u)=>m.add(u)),T1(o))j6(o).forEach((u)=>m.add(u));if(m.forEach((u)=>{u.addEventListener("scroll",p,{passive:!0})}),v===null||v===void 0||v.observe(c),T1(o))v===null||v===void 0||v.observe(o);d=!1}Object.assign(c.style,{position:r}),nu(o,c,{placement:h,middleware:t,strategy:r}).then(({x:u,y:A,middlewareData:V,placement:H})=>{if(l)return;WZ({arrow:e,middlewareData:V}),IZ({container:c,middlewareData:V,placement:H,coordinates:{x:u,y:A},lowPPI:((n===null||n===void 0?void 0:n.devicePixelRatio)||1)<=1,strategy:r,useTransform:Z}),c.dispatchEvent(new CustomEvent(q8))}).catch((u)=>{console.error("[usePositioning]: Failed to calculate position",u)})},p=OZ(()=>s()),M=()=>{if(l=!0,n)n.removeEventListener("scroll",p),n.removeEventListener("resize",p);m.forEach((u)=>{u.removeEventListener("scroll",p)}),m.clear(),v===null||v===void 0||v.disconnect()};if(n)n.addEventListener("scroll",p,{passive:!0}),n.addEventListener("resize",p);return p(),{updatePosition:p,dispose:M}}function Mu(a,l){var c,o;let e=a;return Boolean((e==null||(c=e.ownerDocument)==null?void 0:c.defaultView)&&e instanceof e.ownerDocument.defaultView[(o=void 0)!=null?o:"HTMLElement"])}var _u=(a)=>Boolean(Mu(a)&&"__FUIDT_ELEMENT_METADATA__"in a&&a.parentElement!==null),UL=(a)=>{let l=null,c=new MutationObserver((e)=>{if(!l)return;for(let r of e)if(r.type==="childList"&&Array.from(r.removedNodes).includes(l))o.withdraw()}),o={get selectedElement(){return l},select:(e)=>{if(_u(e))l=e,c.observe(e.parentElement,{childList:!0,subtree:!1});if(l&&e){if(l.__FUIDT_ELEMENT_METADATA__.references.has(e))return l}return o.withdraw(),l},withdraw:()=>{l=null,c.disconnect(),a.postMessage("__FUIDT_SERIALIZED_DATA_CHANGE__")}};return o},GL=(a)=>{let{defaultView:l}=a;if(!l)return;if(!l.__FUIDT_CONTROLLER__)l.__FUIDT_CONTROLLER__=UL(l)},BL=(a)=>{var l,c;return GL(a),(l=(c=a.defaultView)==null?void 0:c.__FUIDT_CONTROLLER__)!=null?l:null},TL=(a,l)=>{return JSON.parse(JSON.stringify(a,(o,e)=>{if(Mu(e))return l.add(e);if(typeof e==="object"&&e&&Object.getPrototypeOf(e)!==Object.prototype&&Object.getPrototypeOf(e)!==Array.prototype){if("toString"in e)return e.toString();return}return e}))},bL=0,OL=()=>"__FUIDT_HTML_ELEMENT_REFERENCE__:"+bL++,EL=()=>{let a=/*@__PURE__*/new Map,l=/*@__PURE__*/new WeakMap;return{add:(o)=>{if(l.has(o))return l.get(o);let e=OL();return a.set(e,o),l.set(o,e),e},get:(o)=>{let e=a.get(o);if(e&&l.has(e))return e},has:(o)=>{return l.has(o)}}},uu=function(a,l){if(a===void 0)a=document;if(l===void 0)l=WL;return{name:"@floating-ui/devtools",fn:(c)=>{let{["__FUIDT_ELEMENT_METADATA__"]:o}=_u(c.elements.floating)?c.elements.floating:Object.assign(c.elements.floating,{["__FUIDT_ELEMENT_METADATA__"]:{references:EL(),serializedData:[]}}),e=TL(l(c),o.references);o.serializedData.unshift(e);let r=BL(a);if(o.serializedData.length>1&&c.elements.floating===(r==null?void 0:r.selectedElement)){var t;(t=a.defaultView)==null||t.postMessage("__FUIDT_SERIALIZED_DATA_CHANGE__")}return{}}}},WL=(a)=>({...a,type:"FloatingUIMiddleware"});F();function PZ(){return{name:"coverTarget",fn:(a)=>{let{placement:l,rects:c,x:o,y:e}=a,r=$8(l).side,t={x:o,y:e};switch(r){case"bottom":t.y-=c.reference.height;break;case"top":t.y+=c.reference.height;break;case"left":t.x+=c.reference.width;break;case"right":t.x-=c.reference.width;break}return t}}}function zZ(a){let{hasScrollableElement:l,flipBoundary:c,container:o,fallbackPositions:e=[],isRtl:r}=a,t=e.reduce((h,Z)=>{let{position:i,align:n}=x3(Z),v=X8(n,i,r);if(v)h.push(v);return h},[]);return Zu({...l&&{boundary:"clippingAncestors"},...c&&{altBoundary:!0,boundary:L4(o,c)},fallbackStrategy:"bestFit",...t.length&&{fallbackPlacements:t}})}function QZ(){return{name:"intersectionObserver",fn:async(a)=>{let l=a.rects.floating,c=await ru(a,{altBoundary:!0}),o=c.top<l.height&&c.top>0,e=c.bottom<l.height&&c.bottom>0;return{data:{intersecting:o||e}}}}}var JZ=(a)=>({name:"resetMaxSize",fn({middlewareData:l,elements:c}){var o;if((o=l.resetMaxSize)===null||o===void 0?void 0:o.maxSizeAlreadyReset)return{};let{applyMaxWidth:e,applyMaxHeight:r}=a;if(e)c.floating.style.removeProperty("box-sizing"),c.floating.style.removeProperty("max-width"),c.floating.style.removeProperty("width");if(r)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 KZ(a,l){let{container:c,overflowBoundary:o,overflowBoundaryPadding:e,isRtl:r}=l;return iu({...e&&{padding:Y8(e,r)},...o&&{altBoundary:!0,boundary:L4(c,o)},apply({availableHeight:t,availableWidth:h,elements:Z,rects:i}){let n=(m,s,p)=>{if(!m)return;if(Z.floating.style.setProperty("box-sizing","border-box"),Z.floating.style.setProperty(`max-${s}`,`${p}px`),i.floating[s]>p){Z.floating.style.setProperty(s,`${p}px`);let M=s==="width"?"x":"y";if(!Z.floating.style.getPropertyValue(`overflow-${M}`))Z.floating.style.setProperty(`overflow-${M}`,"auto")}},{applyMaxWidth:v,applyMaxHeight:d}=a;n(v,"width",h),n(d,"height",t)}})}function Au(a){if(!a)return a;if(typeof a==="number"||typeof a==="object")return a;return({rects:{floating:l,reference:c},placement:o})=>{let{position:e,alignment:r}=N8(o);return a({positionedRect:l,targetRect:c,position:e,alignment:r})}}function $Z(a){let l=Au(a);return tu(l)}function YZ(a){let{hasScrollableElement:l,shiftToCoverTarget:c,disableTether:o,overflowBoundary:e,container:r,overflowBoundaryPadding:t,isRtl:h}=a;return hu({...l&&{boundary:"clippingAncestors"},...c&&{crossAxis:!0,limiter:BZ({crossAxis:!0,mainAxis:!1})},...o&&{crossAxis:o==="all",limiter:BZ({crossAxis:o!=="all",mainAxis:!1})},...t&&{padding:Y8(t,h)},...e&&{altBoundary:!0,boundary:L4(r,e)}})}function XZ(){return{name:"matchTargetSize",fn:async(a)=>{let{rects:{reference:l,floating:c},elements:{floating:o},middlewareData:{matchTargetSize:{matchTargetSizeAttempt:e=!1}={}}}=a;if(l.width===c.width||e)return{};let{width:r}=l;if(o.style.setProperty("--fui-match-target-size",`${r}px`),!o.style.width)o.style.width="var(--fui-match-target-size)";return{data:{matchTargetSizeAttempt:!0},reset:{rects:!0}}}}}var Hu=(a)=>(l)=>{let{elements:{floating:c,reference:o}}=l,e=/*@__PURE__*/new Set;if(T1(o))j6(o).forEach((h)=>e.add(h));j6(c).forEach((h)=>e.add(h));let r=Array.isArray(a.flipBoundary)?a.flipBoundary:T1(a.flipBoundary)?[a.flipBoundary]:[],t=Array.isArray(a.overflowBoundary)?a.overflowBoundary:T1(a.overflowBoundary)?[a.overflowBoundary]:[];return{type:"FluentUIMiddleware",middlewareState:l,options:a,initialPlacement:N8(l.initialPlacement),placement:N8(l.placement),flipBoundaries:r,overflowBoundaries:t,scrollParents:Array.from(e)}};function IL(a,l){let{align:c,arrowPadding:o,autoSize:e,coverTarget:r,disableUpdateOnResize:t,flipBoundary:h,offset:Z,overflowBoundary:i,pinned:n,position:v,unstable_disableTether:d,strategy:m,overflowBoundaryPadding:s,fallbackPositions:p,useTransform:M,matchTargetSize:u,shiftToCoverTarget:A}=l;return q((V,H)=>{return a({container:V,arrow:H,options:{autoSize:e,disableUpdateOnResize:t,matchTargetSize:u,offset:Z,strategy:m,coverTarget:r,flipBoundary:h,overflowBoundary:i,useTransform:M,overflowBoundaryPadding:s,pinned:n,arrowPadding:o,align:c,fallbackPositions:p,shiftToCoverTarget:A,position:v,unstable_disableTether:d}})},[e,t,u,Z,m,r,h,i,M,s,n,o,c,p,A,v,d,a])}function Vu(a){let{dir:l,targetDocument:c}=M1(),o=l==="rtl",e=IL(D_(),a),{positionFixed:r}=a;return q((t,h)=>{let Z=TZ(t),i=e(t,h),{autoSize:n,disableUpdateOnResize:v,matchTargetSize:d,offset:m,coverTarget:s,flipBoundary:p,overflowBoundary:M,useTransform:u,overflowBoundaryPadding:A,pinned:V,position:H,arrowPadding:g,strategy:S,align:C,fallbackPositions:E,shiftToCoverTarget:T,unstable_disableTether:c1}=i,l1=qZ(n),Q=[l1&&JZ(l1),d&&XZ(),m&&$Z(m),s&&PZ(),!V&&zZ({container:t,flipBoundary:p,hasScrollableElement:Z,isRtl:o,fallbackPositions:E}),YZ({container:t,hasScrollableElement:Z,overflowBoundary:M,disableTether:c1,overflowBoundaryPadding:A,isRtl:o,shiftToCoverTarget:T}),l1&&KZ(l1,{container:t,overflowBoundary:M,overflowBoundaryPadding:A,isRtl:o}),QZ(),h&&vu({element:h,padding:g}),GZ({strategy:"referenceHidden"}),GZ({strategy:"escaped"}),c&&uu(c,Hu(i))].filter(Boolean);return{placement:X8(C,H,o),middleware:Q,strategy:(S!==null&&S!==void 0?S:r)?"fixed":"absolute",disableUpdateOnResize:v,useTransform:u}},[e,o,c,r])}function al(a){let l=G(null),c=G(null),o=G(null),e=G(null),r=G(null),{enabled:t=!0}=a,h=Vu(a),Z=q(()=>{if(l.current)l.current.dispose();l.current=null;var s;let p=(s=o.current)!==null&&s!==void 0?s:c.current;if(t&&p3()&&p&&e.current)l.current=su({container:e.current,target:p,arrow:r.current,...h(e.current,r.current)})},[t,h]),i=$((s)=>{o.current=s,Z()});Z5(a.positioningRef,()=>({updatePosition:()=>{var s;return(s=l.current)===null||s===void 0?void 0:s.updatePosition()},setTarget:(s)=>{if(a.target){let p=new Error;console.warn("Imperative setTarget should not be used at the same time as target option"),console.warn(p.stack)}i(s)}}),[a.target,i]),q1(()=>{var s;i((s=a.target)!==null&&s!==void 0?s:null)},[a.target,i]),q1(()=>{Z()},[Z]),j(()=>{if(e.current){var s;let p=e.current,M=(s=p.ownerDocument)===null||s===void 0?void 0:s.createTreeWalker(p,NodeFilter.SHOW_ELEMENT,{acceptNode:EZ});while(M.nextNode()){let u=M.currentNode;console.warn("usePositioning():",u),console.warn(['usePositioning(): ^ this node contains "autoFocus" prop on a React element. This can break the initial',"positioning of an element and cause a window jump effect. This issue occurs because React polyfills",'"autoFocus" behavior to solve inconsistencies between different browsers:',"https://github.com/facebook/react/issues/11851#issuecomment-351787078",`
|
|
138
138
|
`,'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",`
|
|
139
|
-
`,'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 v=Ba(null,(m)=>{if(c.current!==m)c.current=m,Z()}),n=i1(()=>{var m;return(m=a.onPositioningEnd)===null||m===void 0?void 0:m.call(a)}),d=Ba(null,(m)=>{if(e.current!==m){var s;(s=e.current)===null||s===void 0||s.removeEventListener(Ca,n),m===null||m===void 0||m.addEventListener(Ca,n),e.current=m,Z()}}),p=Ba(null,(m)=>{if(r.current!==m)r.current=m,Z()});return{targetRef:v,containerRef:d,arrowRef:p}}f();var uZ=(a)=>{let[l,c]=Z1(a);return[l,(e)=>{if(e===void 0||e===null){c(void 0);return}let r;if(!(e instanceof MouseEvent))r=e.nativeEvent;else r=e;if(!(r instanceof MouseEvent))console.error("usePositioningMouseTarget should only be used with MouseEvent");let t=FM(r);c(t)}]};f();f();var ie=o4(void 0),bC={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},OC=ie.Provider,x0=(a)=>L6(ie,(l=bC)=>a(l));var ba=(a,l)=>{let c=x0((A)=>A.contentRef),o=x0((A)=>A.openOnHover),e=x0((A)=>A.setOpen),r=x0((A)=>A.mountNode),t=x0((A)=>A.arrowRef),h=x0((A)=>A.size),Z=x0((A)=>A.withArrow),i=x0((A)=>A.appearance),v=x0((A)=>A.trapFocus),n=x0((A)=>A.inertTrapFocus),d=x0((A)=>A.inline),{modalAttributes:p}=_2({trapFocus:v,legacyTrapFocus:!n,alwaysFocusable:!v}),m={inline:d,appearance:i,withArrow:Z,size:h,arrowRef:t,mountNode:r,components:{root:"div"},root:S.always(N("div",{ref:J1(l,c),role:v?"dialog":"group","aria-modal":v?!0:void 0,...p,...a}),{elementType:"div"})},{onMouseEnter:s,onMouseLeave:M,onKeyDown:u}=m.root;return m.root.onMouseEnter=(A)=>{if(o)e(A,!0);s===null||s===void 0||s(A)},m.root.onMouseLeave=(A)=>{if(o)e(A,!1);M===null||M===void 0||M(A)},m.root.onKeyDown=(A)=>{var H;if(A.key==="Escape"&&((H=c.current)===null||H===void 0?void 0:H.contains(A.target)))A.preventDefault(),e(A,!1);u===null||u===void 0||u(A)},m};f();f();function Oa(a){if(I1(a))return{element:a};if(typeof a==="object"){if(a===null)return{element:null};return a}return{}}f();var s4={};Sc(s4,{version:()=>J3,useTransition:()=>io,useSyncExternalStore:()=>to,useState:()=>Z1,useRef:()=>E,useReducer:()=>Q5,useMemo:()=>u1,useLayoutEffect:()=>p2,useInsertionEffect:()=>Y5,useImperativeHandle:()=>m5,useId:()=>z3,useErrorBoundary:()=>ro,useEffect:()=>h1,useDeferredValue:()=>Zo,useDebugValue:()=>W8,useContext:()=>l1,useCallback:()=>$,unstable_batchedUpdates:()=>Jt,unmountComponentAtNode:()=>zt,startTransition:()=>ho,render:()=>Tt,memo:()=>P8,lazy:()=>Ot,isValidElement:()=>h5,isMemo:()=>qt,isFragment:()=>Pt,isElement:()=>Yt,hydrate:()=>Et,forwardRef:()=>O,flushSync:()=>$t,findDOMNode:()=>Kt,default:()=>K8,createRef:()=>r5,createPortal:()=>q8,createFactory:()=>It,createElement:()=>r1,createContext:()=>e1,cloneElement:()=>o3,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:()=>z8,SuspenseList:()=>K3,Suspense:()=>t6,StrictMode:()=>Qt,PureComponent:()=>I8,Fragment:()=>p1,Component:()=>e5,Children:()=>C7});f();f();var AZ=()=>{try{return s4["".concat("__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE")].A.getOwner()}catch{}try{return s4["".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")}},A_=/*@__PURE__*/Symbol.for("react.strict_mode"),TC=()=>{let a=E(void 0),l=u1(()=>{return Number(J3.split(".")[0])},[J3]);if(isNaN(l)||l<18)return!1;if(a.current===void 0){let c=AZ();while(c&&c.return)if(c=c.return,c.type===A_||c.elementType===A_)a.current=!0}return!!a.current},H_=/*@__PURE__*/new WeakSet;function EC(a,l){let c=AZ();h1(()=>{if(!H_.has(c)){H_.add(c),a();return}return a()},l)}var V_=/*@__PURE__*/new WeakSet;function WC(a,l){return u1(()=>{let c=AZ();if(!V_.has(c))return V_.add(c),null;return a()},l)}function f_(a,l){var c;let o=TC()&&!0,e=o?WC:u1,r=o?EC:h1,[t,h]=(c=e(()=>a(),l))!=null?c:[null,()=>null];return r(()=>{return h},l),t}var g_=/*@__PURE__*/k({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 F_=Y5,x_=(a)=>{let{targetDocument:l,dir:c}=V1(),o=oh(),e=y7(),r=g_(),t=j8(),h=R(t,r.root,a.className),Z=o!==null&&o!==void 0?o:l===null||l===void 0?void 0:l.body,i=f_(()=>{if(Z===void 0||a.disabled)return[null,()=>null];let v=Z.ownerDocument.createElement("div");return Z.appendChild(v),[v,()=>v.remove()]},[Z]);if(F_)F_(()=>{if(!i)return;let v=h.split(" ").filter(Boolean);return i.classList.add(...v),i.setAttribute("dir",c),i.setAttribute("data-portal-node","true"),e.current=i,()=>{i.classList.remove(...v),i.removeAttribute("dir")}},[h,c,i,e]);else u1(()=>{if(!i)return;i.className=h,i.setAttribute("dir",c),i.setAttribute("data-portal-node","true"),e.current=i},[h,c,i,e]);return i};var HZ=(a)=>{let{element:l,className:c}=Oa(a.mountNode),o=E(null),e=x_({disabled:!!l,className:c}),r=l!==null&&l!==void 0?l:e,t={children:a.children,mountNode:r,virtualParentRootRef:o};return h1(()=>{if(!r)return;let h=o.current,Z=r.contains(h);if(h&&!Z)return ra(r,h),()=>{ra(r,void 0)}},[o,r]),t};f();f();var VZ=(a)=>{return/*@__PURE__*/r1("span",{hidden:!0,ref:a.virtualParentRootRef},a.mountNode&&/*@__PURE__*/q8(a.children,a.mountNode))};var T7=(a)=>{let l=HZ(a);return VZ(l)};T7.displayName="Portal";var Ta=(a)=>{W(a);let l=/*@__PURE__*/F1(a.root,{children:[a.withArrow&&/*@__PURE__*/L("div",{ref:a.arrowRef,className:a.arrowClassName}),a.root.children]});if(a.inline)return l;return/*@__PURE__*/L(T7,{mountNode:a.mountNode,children:l})};var Ea={root:"fui-PopoverSurface"},G6={small:6,medium:8,large:8},IC=/*@__PURE__*/k({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;}}"]}),B6=(a)=>{let l=IC();return a.root.className=R(Ea.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=R(l.arrow,a.size==="small"?l.smallArrow:l.mediumLargeArrow),a};var f2=/*@__PURE__*/O((a,l)=>{let c=ba(a,l);return B6(c),P("usePopoverSurfaceStyles_unstable")(c),Ta(c)});f2.displayName="PopoverSurface";var C_=4;var Wa=(a)=>{let[l,c]=uZ(),o={size:"medium",contextTarget:l,setContextTarget:c,...a},e=C7.toArray(a.children);if(e.length===0)console.warn("Popover must contain at least one child");if(e.length>2)console.warn("Popover must contain at most two children");let r=void 0,t=void 0;if(e.length===2)r=e[0],t=e[1];else if(e.length===1)t=e[0];let[h,Z]=PC(o),[i,v]=X2(),n=i1((F,D)=>{if(v(),!(F instanceof Event)&&F.persist)F.persist();if(F.type==="mouseleave"){var x;i(()=>{Z(F,D)},(x=a.mouseLeaveDelay)!==null&&x!==void 0?x:500)}else Z(F,D)}),d=$((F)=>{n(F,!h)},[n,h]),p=qC(o),{targetDocument:m}=V1();var s;uo({contains:ea,element:m,callback:(F)=>n(F,!1),refs:[p.triggerRef,p.contentRef],disabled:!h,disabledFocusOnIframe:!((s=a.closeOnIframeFocus)!==null&&s!==void 0?s:!0)});let M=o.openOnContext||o.closeOnScroll;Ao({contains:ea,element:m,callback:(F)=>n(F,!1),refs:[p.triggerRef,p.contentRef],disabled:!h||!M});let{findFirstFocusable:u}=k7(),A=Lo();h1(()=>{if(a.unstable_disableAutoFocus)return;let F=p.contentRef.current;if(h&&F){var D;let x=!isNaN((D=F.getAttribute("tabIndex"))!==null&&D!==void 0?D:void 0),b=x?F:u(F);if(b===null||b===void 0||b.focus(),x)A(F)}},[u,A,h,p.contentRef,a.unstable_disableAutoFocus]);var H,g;return{...o,...p,inertTrapFocus:(H=a.inertTrapFocus)!==null&&H!==void 0?H:a.legacyTrapFocus===void 0?!1:!a.legacyTrapFocus,popoverTrigger:r,popoverSurface:t,open:h,setOpen:n,toggleOpen:d,setContextTarget:c,contextTarget:l,inline:(g=a.inline)!==null&&g!==void 0?g:!1}};function PC(a){let l=i1((t,h)=>{var Z;return(Z=a.onOpenChange)===null||Z===void 0?void 0:Z.call(a,t,h)}),[c,o]=X5({state:a.open,defaultState:a.defaultOpen,initialState:!1});a.open=c!==void 0?c:a.open;let e=a.setContextTarget,r=$((t,h)=>{if(h&&t.type==="contextmenu")e(t);if(!h)e(void 0);o(h),l===null||l===void 0||l(t,{open:h})},[o,l,e]);return[c,r]}function qC(a){let l={position:"above",align:"center",arrowPadding:2*C_,target:a.openOnContext?a.contextTarget:void 0,...y6(a.positioning)};if(l.coverTarget)a.withArrow=!1;if(a.withArrow)l.offset=Ze(l.offset,G6[a.size]);let{targetRef:c,containerRef:o,arrowRef:e}=_Z(l);return{triggerRef:c,contentRef:o,arrowRef:e}}f();var Ia=(a)=>{let{appearance:l,arrowRef:c,contentRef:o,inline:e,mountNode:r,open:t,openOnContext:h,openOnHover:Z,setOpen:i,size:v,toggleOpen:n,trapFocus:d,triggerRef:p,withArrow:m,inertTrapFocus:s}=a;return/*@__PURE__*/r1(ie.Provider,{value:{appearance:l,arrowRef:c,contentRef:o,inline:e,mountNode:r,open:t,openOnContext:h,openOnHover:Z,setOpen:i,toggleOpen:n,triggerRef:p,size:v,trapFocus:d,inertTrapFocus:s,withArrow:m}},a.popoverTrigger,a.open&&a.popoverSurface)};var g2=(a)=>{let l=Wa(a);return Ia(l)};g2.displayName="Popover";f();f();var Pa=(a)=>{let{children:l,disableButtonEnhancement:c=!1}=a,o=Y3(l),e=x0((H)=>H.open),r=x0((H)=>H.setOpen),t=x0((H)=>H.toggleOpen),h=x0((H)=>H.triggerRef),Z=x0((H)=>H.openOnHover),i=x0((H)=>H.openOnContext),{triggerAttributes:v}=_2(),n=(H)=>{if(i)H.preventDefault(),r(H,!0)},d=(H)=>{if(!i)t(H)},p=(H)=>{if(H.key===r4&&e&&!H.isDefaultPrevented())r(H,!1),H.preventDefault()},m=(H)=>{if(Z)r(H,!0)},s=(H)=>{if(Z)r(H,!1)},M={...v,"aria-expanded":`${e}`,...o===null||o===void 0?void 0:o.props,onMouseEnter:i1(j5(o===null||o===void 0?void 0:o.props.onMouseEnter,m)),onMouseLeave:i1(j5(o===null||o===void 0?void 0:o.props.onMouseLeave,s)),onContextMenu:i1(j5(o===null||o===void 0?void 0:o.props.onContextMenu,n)),ref:J1(h,o===null||o===void 0?void 0:o.ref)},u={...M,onClick:i1(j5(o===null||o===void 0?void 0:o.props.onClick,d)),onKeyDown:i1(j5(o===null||o===void 0?void 0:o.props.onKeyDown,p))},A=A2((o===null||o===void 0?void 0:o.type)==="button"||(o===null||o===void 0?void 0:o.type)==="a"?o.type:"div",u);return{children:M6(a.children,A2((o===null||o===void 0?void 0:o.type)==="button"||(o===null||o===void 0?void 0:o.type)==="a"?o.type:"div",i?M:c?u:A))}};var qa=(a)=>{return a.children};var c2=(a)=>{let l=Pa(a);return qa(l)};c2.displayName="PopoverTrigger";c2.isFluentTriggerComponent=!0;f();var E7=(a)=>{W(a);let{iconOnly:l,iconPosition:c}=a;return/*@__PURE__*/F1(a.root,{children:[c!=="after"&&a.icon&&/*@__PURE__*/L(a.icon,{}),!l&&a.root.children,c==="after"&&a.icon&&/*@__PURE__*/L(a.icon,{})]})};f();f();var L_=e1(void 0),KC={},z11=L_.Provider,R_=()=>{var a;return(a=l1(L_))!==null&&a!==void 0?a:KC};var p3=(a,l)=>{let{size:c}=R_(),{appearance:o="secondary",as:e="button",disabled:r=!1,disabledFocusable:t=!1,icon:h,iconPosition:Z="before",shape:i="rounded",size:v=c!==null&&c!==void 0?c:"medium"}=a,n=S.optional(h,{elementType:"span"});return{appearance:o,disabled:r,disabledFocusable:t,iconPosition:Z,shape:i,size:v,iconOnly:Boolean((n===null||n===void 0?void 0:n.children)&&!a.children),components:{root:"button",icon:"span"},root:S.always(N(e,A2(a.as,a)),{elementType:"button",defaultProps:{ref:l,type:e==="button"?"button":void 0}}),icon:n}};var b6={root:"fui-Button",icon:"fui-Button__icon"};var N11=`calc(${a0.strokeWidthThin} + 0.25px)`,JC=/*@__PURE__*/Q("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;}}"]}),$C=/*@__PURE__*/Q("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);}"]),QC=/*@__PURE__*/k({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)"}]]}),YC=/*@__PURE__*/k({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)"}]]}),XC=/*@__PURE__*/k({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;}}"]}),jC=/*@__PURE__*/k({small:{Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"fu97m5z",Bf4jedk:"f17fgpbq",B2u0y6b:"f1jt17bm"},medium:{Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f18ktai2",Bf4jedk:"fwbmr0d",B2u0y6b:"f44c6la"},large:{Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1hbd1aw",Bf4jedk:"f12clzc2",B2u0y6b:"fjy1crr"}},{d:[[".fu97m5z{padding:1px;}",{p:-1}],".f17fgpbq{min-width:24px;}",".f1jt17bm{max-width:24px;}",[".f18ktai2{padding:5px;}",{p:-1}],".fwbmr0d{min-width:32px;}",".f44c6la{max-width:32px;}",[".f1hbd1aw{padding:7px;}",{p:-1}],".f12clzc2{min-width:40px;}",".fjy1crr{max-width:40px;}"]}),NC=/*@__PURE__*/k({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);}"]}),m3=(a)=>{let l=JC(),c=$C(),o=QC(),e=YC(),r=XC(),t=jC(),h=NC(),{appearance:Z,disabled:i,disabledFocusable:v,icon:n,iconOnly:d,iconPosition:p,shape:m,size:s}=a;if(a.root.className=R(b6.root,l,Z&&o[Z],o[s],n&&s==="small"&&o.smallWithIcon,n&&s==="large"&&o.largeWithIcon,o[m],(i||v)&&e.base,(i||v)&&e.highContrast,Z&&(i||v)&&e[Z],Z==="primary"&&r.primary,r[s],r[m],d&&t[s],a.root.className),a.icon)a.icon.className=R(b6.icon,c,!!a.root.children&&h[p],h[s],a.icon.className);return a};var f1=/*@__PURE__*/O((a,l)=>{let c=p3(a,l);return m3(c),P("useButtonStyles_unstable")(c),E7(c)});f1.displayName="Button";f();f();f();f();var D_=e1(void 0),za=D_.Provider,M4=()=>l1(D_);f();var Ka=(a)=>{var l,c,o,e;let{generatedControlId:r,orientation:t,required:h,size:Z,validationState:i}=a,v=(l=a.label)===null||l===void 0?void 0:l.htmlFor,n=(c=a.label)===null||c===void 0?void 0:c.id,d=(o=a.validationMessage)===null||o===void 0?void 0:o.id,p=(e=a.hint)===null||e===void 0?void 0:e.id;return{field:u1(()=>({generatedControlId:r,hintId:p,labelFor:v,labelId:n,orientation:t,required:h,size:Z,validationMessageId:d,validationState:i}),[r,p,v,n,t,h,Z,d,i])}};function W7(a,l){return ne(M4(),a,l)}function ne(a,l,c){if(!a)return l;l={...l};let{generatedControlId:o,hintId:e,labelFor:r,labelId:t,required:h,validationMessageId:Z,validationState:i}=a;if(o){var v,n;(n=(v=l).id)!==null&&n!==void 0||(v.id=o)}if(t&&(!(c===null||c===void 0?void 0:c.supportsLabelFor)||r!==l.id)){var d,p,m;(m=(d=l)[p="aria-labelledby"])!==null&&m!==void 0||(d[p]=t)}if(Z||e)l["aria-describedby"]=[Z,e,l===null||l===void 0?void 0:l["aria-describedby"]].filter(Boolean).join(" ");if(i==="error"){var s,M,u;(u=(s=l)[M="aria-invalid"])!==null&&u!==void 0||(s[M]=!0)}if(h)if(c===null||c===void 0?void 0:c.supportsRequired){var A,H;(H=(A=l).required)!==null&&H!==void 0||(A.required=!0)}else{var g,F,D;(D=(g=l)[F="aria-required"])!==null&&D!==void 0||(g[F]=!0)}if(c===null||c===void 0?void 0:c.supportsSize){var x,b;(b=(x=l).size)!==null&&b!==void 0||(x.size=a.size)}return l}var Ja=(a,l)=>{W(a);let{children:c}=a;if(typeof c==="function")c=c(ne(l.field)||{});return/*@__PURE__*/L(za,{value:l===null||l===void 0?void 0:l.field,children:/*@__PURE__*/F1(a.root,{children:[a.label&&/*@__PURE__*/L(a.label,{}),c,a.validationMessage&&/*@__PURE__*/F1(a.validationMessage,{children:[a.validationMessageIcon&&/*@__PURE__*/L(a.validationMessageIcon,{}),a.validationMessage.children]}),a.hint&&/*@__PURE__*/L(a.hint,{})]})})};f();f();f();var $a=(a,l)=>{let{disabled:c=!1,required:o=!1,weight:e="regular",size:r="medium"}=a;return{disabled:c,required:S.optional(o===!0?"*":o||void 0,{defaultProps:{"aria-hidden":"true"},elementType:"span"}),weight:e,size:r,components:{root:"label",required:"span"},root:S.always(N("label",{ref:l,...a}),{elementType:"label"})}};var Qa=(a)=>{return W(a),/*@__PURE__*/F1(a.root,{children:[a.root.children,a.required&&/*@__PURE__*/L(a.required,{})]})};var Ya={root:"fui-Label",required:"fui-Label__required"},aL=/*@__PURE__*/k({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)"}]]}),Xa=(a)=>{let l=aL();if(a.root.className=R(Ya.root,l.root,a.disabled&&l.disabled,l[a.size],a.weight==="semibold"&&l.semibold,a.root.className),a.required)a.required.className=R(Ya.required,l.required,a.disabled&&l.disabled,a.required.className);return a};var D0=/*@__PURE__*/O((a,l)=>{let c=$a(a,l);return Xa(c),P("useLabelStyles_unstable")(c),Qa(c)});D0.displayName="Label";var lL={error:/*@__PURE__*/r1(rM,null),warning:/*@__PURE__*/r1(iM,null),success:/*@__PURE__*/r1(Ns,null),none:void 0},ja=(a,l)=>{let{children:c,orientation:o="vertical",required:e=!1,validationState:r=a.validationMessage?"error":"none",size:t="medium"}=a,h=i0("field-"),Z=h+"__control",i=S.always(N("div",{...a,ref:l},["children"]),{elementType:"div"}),v=S.optional(a.label,{defaultProps:{htmlFor:Z,id:h+"__label",required:e,size:t},elementType:D0}),n=S.optional(a.validationMessage,{defaultProps:{id:h+"__validationMessage",role:r==="error"||r==="warning"?"alert":void 0},elementType:"div"}),d=S.optional(a.hint,{defaultProps:{id:h+"__hint"},elementType:"div"}),p=lL[r],m=S.optional(a.validationMessageIcon,{renderByDefault:!!p,defaultProps:{children:p},elementType:"span"});return{children:c,generatedControlId:Z,orientation:o,required:e,size:t,validationState:r,components:{root:"div",label:D0,validationMessage:"div",validationMessageIcon:"span",hint:"div"},root:i,label:v,validationMessageIcon:m,validationMessage:n,hint:d}};var s3={root:"fui-Field",label:"fui-Field__label",validationMessage:"fui-Field__validationMessage",validationMessageIcon:"fui-Field__validationMessageIcon",hint:"fui-Field__hint"};var cL=/*@__PURE__*/k({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;}"]}),oL=/*@__PURE__*/k({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;}"]}),eL=/*@__PURE__*/Q("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);}"]),rL=/*@__PURE__*/k({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));}"]}),tL=/*@__PURE__*/Q("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;}"]),hL=/*@__PURE__*/k({error:{sj55zd:"f1hcrxcs"},warning:{sj55zd:"f1k5f75o"},success:{sj55zd:"ffmvakt"}},{d:[".f1hcrxcs{color:var(--colorPaletteRedForeground1);}",".f1k5f75o{color:var(--colorPaletteDarkOrangeForeground1);}",".ffmvakt{color:var(--colorPaletteGreenForeground1);}"]}),Na=(a)=>{let{validationState:l,size:c}=a,o=a.orientation==="horizontal",e=cL();a.root.className=R(s3.root,e.base,o&&e.horizontal,o&&!a.label&&e.horizontalNoLabel,a.root.className);let r=oL();if(a.label)a.label.className=R(s3.label,o&&r.horizontal,o&&c==="small"&&r.horizontalSmall,o&&c==="large"&&r.horizontalLarge,!o&&r.vertical,!o&&c==="large"&&r.verticalLarge,a.label.className);let t=tL(),h=hL();if(a.validationMessageIcon)a.validationMessageIcon.className=R(s3.validationMessageIcon,t,l!=="none"&&h[l],a.validationMessageIcon.className);let Z=eL(),i=rL();if(a.validationMessage)a.validationMessage.className=R(s3.validationMessage,Z,l==="error"&&i.error,!!a.validationMessageIcon&&i.withIcon,a.validationMessage.className);if(a.hint)a.hint.className=R(s3.hint,Z,a.hint.className);return a};var _4=/*@__PURE__*/O((a,l)=>{let c=ja(a,l);Na(c),P("useFieldStyles_unstable")(c);let o=Ka(c);return Ja(c,o)});_4.displayName="Field";var al=(a,l)=>{a=W7(a,{supportsLabelFor:!0,supportsRequired:!0});let{disabled:c=!1,required:o,shape:e="square",size:r="medium",labelPosition:t="after",onChange:h}=a,[Z,i]=X5({defaultState:a.defaultChecked,state:a.checked,initialState:!1}),v=r3({props:a,primarySlotTagName:"input",excludedPropNames:["checked","defaultChecked","size","onChange"]}),n=Z==="mixed",d=i0("checkbox-",v.primary.id),p;if(n)if(e==="circular")p=/*@__PURE__*/r1(bo,null);else p=r==="large"?/*@__PURE__*/r1(ZM,null):/*@__PURE__*/r1(hM,null);else if(Z)p=r==="large"?/*@__PURE__*/r1(js,null):/*@__PURE__*/r1(Xs,null);let m={shape:e,checked:Z,disabled:c,size:r,labelPosition:t,components:{root:"span",input:"input",indicator:"div",label:D0},root:S.always(a.root,{defaultProps:{ref:M2(),...v.root},elementType:"span"}),input:S.always(a.input,{defaultProps:{type:"checkbox",id:d,ref:l,checked:Z===!0,...v.primary},elementType:"input"}),label:S.optional(a.label,{defaultProps:{htmlFor:d,disabled:c,required:o,size:"medium"},elementType:D0}),indicator:S.optional(a.indicator,{renderByDefault:!0,defaultProps:{"aria-hidden":!0,children:p},elementType:"div"})};m.input.onChange=i1((M)=>{let u=M.currentTarget.indeterminate?"mixed":M.currentTarget.checked;h===null||h===void 0||h(M,{checked:u}),i(u)});let s=J1(m.input.ref);return m.input.ref=s,W1(()=>{if(s.current)s.current.indeterminate=n},[s,n]),m};var ll=(a)=>{return W(a),/*@__PURE__*/F1(a.root,{children:[/*@__PURE__*/L(a.input,{}),a.labelPosition==="before"&&a.label&&/*@__PURE__*/L(a.label,{}),a.indicator&&/*@__PURE__*/L(a.indicator,{}),a.labelPosition==="after"&&a.label&&/*@__PURE__*/L(a.label,{})]})};var u4={root:"fui-Checkbox",label:"fui-Checkbox__label",input:"fui-Checkbox__input",indicator:"fui-Checkbox__indicator"};var ZL=/*@__PURE__*/Q("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;}}"]}),iL=/*@__PURE__*/k({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)"}]]}),nL=/*@__PURE__*/Q("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));}"]),vL=/*@__PURE__*/k({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));}"]}),dL=/*@__PURE__*/Q("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;}"]),pL=/*@__PURE__*/k({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}]]}),mL=/*@__PURE__*/k({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);}"]}),cl=(a)=>{let{checked:l,disabled:c,labelPosition:o,shape:e,size:r}=a,t=ZL(),h=iL();a.root.className=R(u4.root,t,c?h.disabled:l==="mixed"?h.mixed:l?h.checked:h.unchecked,a.root.className);let Z=nL(),i=vL();a.input.className=R(u4.input,Z,r==="large"&&i.large,i[o],a.input.className);let v=dL(),n=pL();if(a.indicator)a.indicator.className=R(u4.indicator,v,r==="large"&&n.large,e==="circular"&&n.circular,a.indicator.className);let d=mL();if(a.label)a.label.className=R(u4.label,d.base,d[r],d[o],a.label.className);return a};var A4=/*@__PURE__*/O((a,l)=>{let c=al(a,l);return cl(c),P("useCheckboxStyles_unstable")(c),ll(c)});A4.displayName="Checkbox";f();var ol=(a)=>{return W(a),/*@__PURE__*/L(a.root,{children:a.root.children!==void 0&&/*@__PURE__*/L(a.wrapper,{children:a.root.children})})};f();var el=(a,l)=>{let{alignContent:c="center",appearance:o="default",inset:e=!1,vertical:r=!1,wrapper:t}=a,h=i0("divider-");return{alignContent:c,appearance:o,inset:e,vertical:r,components:{root:"div",wrapper:"div"},root:S.always(N("div",{role:"separator","aria-orientation":r?"vertical":"horizontal","aria-labelledby":a.children?h:void 0,...a,ref:l}),{elementType:"div"}),wrapper:S.always(t,{defaultProps:{id:h,children:a.children},elementType:"div"})}};var rl={root:"fui-Divider",wrapper:"fui-Divider__wrapper"};var sL=/*@__PURE__*/k({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);}"]}),ML=/*@__PURE__*/k({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;}"]}),_L=/*@__PURE__*/k({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;}"]}),tl=(a)=>{let l=sL(),c=ML(),o=_L(),{alignContent:e,appearance:r,inset:t,vertical:h}=a;if(a.root.className=R(rl.root,l.base,l[e],r&&l[r],!h&&c.base,!h&&t&&c.inset,!h&&c[e],h&&o.base,h&&t&&o.inset,h&&o[e],h&&a.root.children!==void 0&&o.withChildren,a.root.children===void 0&&l.childless,a.root.className),a.wrapper)a.wrapper.className=R(rl.wrapper,a.wrapper.className);return a};var T5=/*@__PURE__*/O((a,l)=>{let c=el(a,l);return tl(c),P("useDividerStyles_unstable")(c),ol(c)});T5.displayName="Divider";f();f();var hl=(a,l)=>{a=W7(a,{supportsLabelFor:!0,supportsRequired:!0,supportsSize:!0});let c=d6();var o;let{size:e="medium",appearance:r=(o=c.inputDefaultAppearance)!==null&&o!==void 0?o:"outline",onChange:t}=a;if(r==="filled-darker-shadow"||r==="filled-lighter-shadow")console.error("The 'filled-darker-shadow' and 'filled-lighter-shadow' appearances are deprecated and will be removed in the future.");let[h,Z]=X5({state:a.value,defaultState:a.defaultValue,initialState:""}),i=r3({props:a,primarySlotTagName:"input",excludedPropNames:["size","onChange","value","defaultValue"]}),v={size:e,appearance:r,components:{root:"span",input:"input",contentBefore:"span",contentAfter:"span"},input:S.always(a.input,{defaultProps:{type:"text",ref:l,...i.primary},elementType:"input"}),contentAfter:S.optional(a.contentAfter,{elementType:"span"}),contentBefore:S.optional(a.contentBefore,{elementType:"span"}),root:S.always(a.root,{defaultProps:i.root,elementType:"span"})};return v.input.value=h,v.input.onChange=i1((n)=>{let d=n.target.value;t===null||t===void 0||t(n,{value:d}),Z(d)}),v};var Zl=(a)=>{return W(a),/*@__PURE__*/F1(a.root,{children:[a.contentBefore&&/*@__PURE__*/L(a.contentBefore,{}),/*@__PURE__*/L(a.input,{}),a.contentAfter&&/*@__PURE__*/L(a.contentAfter,{})]})};var H4={root:"fui-Input",input:"fui-Input__input",contentBefore:"fui-Input__contentBefore",contentAfter:"fui-Input__contentAfter"};var r21={root:{small:a0.spacingHorizontalSNudge,medium:a0.spacingHorizontalMNudge,large:a0.spacingHorizontalM},input:{small:a0.spacingHorizontalXXS,medium:a0.spacingHorizontalXXS,large:a0.spacingHorizontalSNudge},combined:{small:a0.spacingHorizontalS,medium:a0.spacingHorizontalM,large:`calc(${a0.spacingHorizontalM} + ${a0.spacingHorizontalSNudge})`}},uL=/*@__PURE__*/Q("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;}}"]}),AL=/*@__PURE__*/k({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;}"]}),HL=/*@__PURE__*/Q("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;}"]),VL=/*@__PURE__*/k({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);}"]}),fL=/*@__PURE__*/Q("r1572tok",null,[".r1572tok{box-sizing:border-box;color:var(--colorNeutralForeground3);display:flex;}",".r1572tok>svg{font-size:20px;}"]),gL=/*@__PURE__*/k({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;}"]}),il=(a)=>{let{size:l,appearance:c}=a,o=a.input.disabled,e=`${a.input["aria-invalid"]}`==="true",r=c.startsWith("filled"),t=AL(),h=VL(),Z=gL();a.root.className=R(H4.root,uL(),t[l],a.contentBefore&&t[`${l}WithContentBefore`],a.contentAfter&&t[`${l}WithContentAfter`],t[c],!o&&c==="outline"&&t.outlineInteractive,!o&&c==="underline"&&t.underlineInteractive,!o&&r&&t.filledInteractive,r&&t.filled,!o&&e&&t.invalid,o&&t.disabled,a.root.className),a.input.className=R(H4.input,HL(),h[l],a.contentBefore&&h[`${l}WithContentBefore`],a.contentAfter&&h[`${l}WithContentAfter`],o&&h.disabled,a.input.className);let i=[fL(),o&&Z.disabled,Z[l]];if(a.contentBefore)a.contentBefore.className=R(H4.contentBefore,...i,a.contentBefore.className);if(a.contentAfter)a.contentAfter.className=R(H4.contentAfter,...i,a.contentAfter.className);return a};var s5=/*@__PURE__*/O((a,l)=>{let c=hl(a,l);return il(c),P("useInputStyles_unstable")(c),Zl(c)});s5.displayName="Input";f();f();f();var nl=(a)=>{let{disabled:l,disabledFocusable:c}=a,{onClick:o,onKeyDown:e,role:r,tabIndex:t}=a.root;if(a.root.as==="a"){if(a.root.href=l?void 0:a.root.href,l||c)a.root.role=r||"link"}if(a.root.as==="a"||a.root.as==="span")a.root.tabIndex=t!==null&&t!==void 0?t:l&&!c?void 0:0;if(a.root.onClick=(h)=>{if(l||c)h.preventDefault();else o===null||o===void 0||o(h)},a.root.onKeyDown=(h)=>{let Z=h.key===e4||h.key===v3;if((l||c)&&Z)h.preventDefault(),h.stopPropagation();else if(e===null||e===void 0||e(h),a.root.as==="span"&&!!a.root.onClick&&!e&&Z)h.preventDefault(),h.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};f();var w_=e1(void 0),fZ={inline:!1},ve=w_.Provider,de=()=>{var a;return(a=l1(w_))!==null&&a!==void 0?a:fZ};var vl=(a,l)=>{let c=p6(),{inline:o}=de(),{appearance:e="default",disabled:r=!1,disabledFocusable:t=!1,inline:h=!1}=a,Z=a.as||(a.href?"a":"button"),i={role:Z==="span"?"button":void 0,type:Z==="button"?"button":void 0,...a,as:Z},v={appearance:e,disabled:r,disabledFocusable:t,inline:h!==null&&h!==void 0?h:!!o,components:{root:Z},root:S.always(N(Z,{ref:l,...i}),{elementType:Z}),backgroundAppearance:c};return nl(v),v};var pe={root:"fui-Link"},FL=/*@__PURE__*/k({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);}"]}),dl=(a)=>{let l=FL(),{appearance:c,disabled:o,inline:e,root:r,backgroundAppearance:t}=a;return a.root.className=R(pe.root,l.root,l.focusIndicator,r.as==="a"&&r.href&&l.href,r.as==="button"&&l.button,c==="subtle"&&l.subtle,t==="inverted"&&l.inverted,e&&l.inline,o&&l.disabled,a.root.className),a};var pl=(a)=>{return W(a),/*@__PURE__*/L(a.root,{})};var T0=/*@__PURE__*/O((a,l)=>{let c=vl(a,l);return dl(c),P("useLinkStyles_unstable")(c),pl(c)});T0.displayName="Link";f();f();f();var S_=e1(void 0),xL={},z21=S_.Provider,k_=()=>{var a;return(a=l1(S_))!==null&&a!==void 0?a:xL};var ml=(a,l)=>{let{size:c}=k_(),{appearance:o="primary",labelPosition:e="after",size:r=c!==null&&c!==void 0?c:"medium",delay:t=0}=a,h=i0("spinner"),{role:Z="progressbar",...i}=a,v=S.always(N("div",{ref:l,role:Z,...i},["size"]),{elementType:"div"}),[n,d]=Z1(!1),[p,m]=X2();h1(()=>{if(t<=0)return;return p(()=>{d(!0)},t),()=>{m()}},[p,m,t]);let s=S.optional(a.label,{defaultProps:{id:h},renderByDefault:!1,elementType:D0}),M=S.optional(a.spinner,{renderByDefault:!0,elementType:"span"});if(s&&v&&!v["aria-labelledby"])v["aria-labelledby"]=s.id;return{appearance:o,delay:t,labelPosition:e,size:r,shouldRenderSpinner:!t||n,components:{root:"div",spinner:"span",spinnerTail:"span",label:D0},root:v,spinner:M,spinnerTail:S.always(a.spinnerTail,{elementType:"span"}),label:s}};var sl=(a)=>{W(a);let{labelPosition:l,shouldRenderSpinner:c}=a;return/*@__PURE__*/F1(a.root,{children:[a.label&&c&&(l==="above"||l==="before")&&/*@__PURE__*/L(a.label,{}),a.spinner&&c&&/*@__PURE__*/L(a.spinner,{children:a.spinnerTail&&/*@__PURE__*/L(a.spinnerTail,{})}),a.label&&c&&(l==="below"||l==="after")&&/*@__PURE__*/L(a.label,{})]})};var V4={root:"fui-Spinner",spinner:"fui-Spinner__spinner",spinnerTail:"fui-Spinner__spinnerTail",label:"fui-Spinner__label"};var CL=/*@__PURE__*/Q("r82apo5",null,[".r82apo5{display:flex;align-items:center;justify-content:center;line-height:0;gap:8px;overflow:hidden;}"]),LL=/*@__PURE__*/k({vertical:{Beiy3e4:"f1vx9l62"}},{d:[".f1vx9l62{flex-direction:column;}"]}),RL=/*@__PURE__*/Q("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;}}"]}),DL=/*@__PURE__*/Q("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;}}"]}),wL=/*@__PURE__*/k({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)"}]]}),SL=/*@__PURE__*/k({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);}"]}),Ml=(a)=>{let{labelPosition:l,size:c,appearance:o}=a,{dir:e}=V1(),r=CL(),t=LL(),h=RL(),Z=wL(),i=DL(),v=SL();if(a.root.className=R(V4.root,r,(l==="above"||l==="below")&&t.vertical,a.root.className),a.spinner)a.spinner.className=R(V4.spinner,h,Z[c],o==="inverted"&&Z.inverted,a.spinner.className);if(a.spinnerTail)a.spinnerTail.className=R(V4.spinnerTail,i,e==="rtl"&&Z.rtlTail,a.spinnerTail.className);if(a.label)a.label.className=R(V4.label,v[c],o==="inverted"&&v.inverted,a.label.className);return a};var E5=/*@__PURE__*/O((a,l)=>{let c=ml(a,l);return Ml(c),P("useSpinnerStyles_unstable")(c),sl(c)});E5.displayName="Spinner";f();f();var _l=(a,l)=>{a=W7(a,{supportsLabelFor:!0,supportsRequired:!0});let{checked:c,defaultChecked:o,disabled:e,labelPosition:r="after",onChange:t,required:h}=a,Z=r3({props:a,primarySlotTagName:"input",excludedPropNames:["checked","defaultChecked","onChange"]}),i=i0("switch-",Z.primary.id),v=S.always(a.root,{defaultProps:{ref:M2(),...Z.root},elementType:"div"}),n=S.always(a.indicator,{defaultProps:{"aria-hidden":!0,children:/*@__PURE__*/r1(bo,null)},elementType:"div"}),d=S.always(a.input,{defaultProps:{checked:c,defaultChecked:o,id:i,ref:l,role:"switch",type:"checkbox",...Z.primary},elementType:"input"});d.onChange=j5(d.onChange,(m)=>t===null||t===void 0?void 0:t(m,{checked:m.currentTarget.checked}));let p=S.optional(a.label,{defaultProps:{disabled:e,htmlFor:i,required:h,size:"medium"},elementType:D0});return{labelPosition:r,components:{root:"div",indicator:"div",input:"input",label:D0},root:v,indicator:n,input:d,label:p}};var ul=(a)=>{W(a);let{labelPosition:l}=a;return/*@__PURE__*/F1(a.root,{children:[/*@__PURE__*/L(a.input,{}),l!=="after"&&a.label&&/*@__PURE__*/L(a.label,{}),/*@__PURE__*/L(a.indicator,{}),l==="after"&&a.label&&/*@__PURE__*/L(a.label,{})]})};var M3={root:"fui-Switch",indicator:"fui-Switch__indicator",input:"fui-Switch__input",label:"fui-Switch__label"},y_=M3.root,kL=2,yL=20;var F71=yL-kL,UL=/*@__PURE__*/Q("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;}}"]}),GL=/*@__PURE__*/k({vertical:{Beiy3e4:"f1vx9l62"}},{d:[".f1vx9l62{flex-direction:column;}"]}),BL=/*@__PURE__*/Q("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;}}"]}),bL=/*@__PURE__*/k({labelAbove:{B6of3ja:"f1hu3pq6"}},{d:[".f1hu3pq6{margin-top:0;}"]}),OL=/*@__PURE__*/Q("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;}}"]}),TL=/*@__PURE__*/k({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%;}"]}),EL=/*@__PURE__*/k({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);}"]}),Al=(a)=>{let l=UL(),c=GL(),o=BL(),e=bL(),r=OL(),t=TL(),h=EL(),{label:Z,labelPosition:i}=a;if(a.root.className=R(M3.root,l,i==="above"&&c.vertical,a.root.className),a.indicator.className=R(M3.indicator,o,Z&&i==="above"&&e.labelAbove,a.indicator.className),a.input.className=R(M3.input,r,Z&&t[i],a.input.className),a.label)a.label.className=R(M3.label,h.base,h[i],a.label.className);return a};var V0=/*@__PURE__*/O((a,l)=>{let c=_l(a,l);return Al(c),P("useSwitchStyles_unstable")(c),ul(c)});V0.displayName="Switch";f();f();var _3=(a,l)=>{let{wrap:c,truncate:o,block:e,italic:r,underline:t,strikethrough:h,size:Z,font:i,weight:v,align:n}=a;return{align:n!==null&&n!==void 0?n:"start",block:e!==null&&e!==void 0?e:!1,font:i!==null&&i!==void 0?i:"base",italic:r!==null&&r!==void 0?r:!1,size:Z!==null&&Z!==void 0?Z:300,strikethrough:h!==null&&h!==void 0?h:!1,truncate:o!==null&&o!==void 0?o:!1,underline:t!==null&&t!==void 0?t:!1,weight:v!==null&&v!==void 0?v:"regular",wrap:c!==null&&c!==void 0?c:!0,components:{root:"span"},root:S.always(N("span",{ref:l,...a}),{elementType:"span"})}};var u3=(a)=>{return W(a),/*@__PURE__*/L(a.root,{})};var Hl={root:"fui-Text"},WL=/*@__PURE__*/k({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;}"]}),A3=(a)=>{let l=WL();return a.root.className=R(Hl.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 h7=/*@__PURE__*/O((a,l)=>{let c=_3(a,l);return A3(c),P("useTextStyles_unstable")(c),u3(c)});h7.displayName="Text";f();f();function Z7(a){let{useStyles:l,className:c,displayName:o}=a,e=O((r,t)=>{let h=l(),Z=_3(r,t);return A3(Z),Z.root.className=R(c,Z.root.className,h.root,r.className),u3(Z)});return e.displayName=o,e}var Vl={root:"fui-Body1"},U_=/*@__PURE__*/k({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 o2=Z7({useStyles:U_,className:Vl.root,displayName:"Body1"});f();var fl={root:"fui-Body1Strong"},G_=/*@__PURE__*/k({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 O6=Z7({useStyles:G_,className:fl.root,displayName:"Body1Strong"});f();var gl={root:"fui-Subtitle1"},B_=/*@__PURE__*/k({root:{Bahqtrf:"fk6fouc",Be2twd7:"f1pp30po",Bhrd7zp:"fl43uef",Bg96gwp:"f106mvju"}},{d:[".fk6fouc{font-family:var(--fontFamilyBase);}",".f1pp30po{font-size:var(--fontSizeBase500);}",".fl43uef{font-weight:var(--fontWeightSemibold);}",".f106mvju{line-height:var(--lineHeightBase500);}"]});var T6=Z7({useStyles:B_,className:gl.root,displayName:"Subtitle1"});f();var Fl={root:"fui-Subtitle2"},b_=/*@__PURE__*/k({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 n5=Z7({useStyles:b_,className:Fl.root,displayName:"Subtitle2"});f();var xl={root:"fui-Title2"},O_=/*@__PURE__*/k({root:{Bahqtrf:"fk6fouc",Be2twd7:"fojgt09",Bhrd7zp:"fl43uef",Bg96gwp:"fcen8rp"}},{d:[".fk6fouc{font-family:var(--fontFamilyBase);}",".fojgt09{font-size:var(--fontSizeHero700);}",".fl43uef{font-weight:var(--fontWeightSemibold);}",".fcen8rp{line-height:var(--lineHeightHero700);}"]});var E6=Z7({useStyles:O_,className:xl.root,displayName:"Title2"});f();f();f();var T_=/*@__PURE__*/Q("r6pzz3z",null,[".r6pzz3z{overflow-y:hidden;overflow-y:clip;scrollbar-gutter:stable;}"]),E_=/*@__PURE__*/Q("r144vlu9",null,[".r144vlu9{overflow-y:hidden;}"]);function W_(){let a=T_(),l=E_(),{targetDocument:c}=V1(),o=$(()=>{var r;if(!c)return;var t;if(!(Math.floor(c.body.getBoundingClientRect().height)>((t=(r=c.defaultView)===null||r===void 0?void 0:r.innerHeight)!==null&&t!==void 0?t:0)))return;c.documentElement.classList.add(a),c.body.classList.add(l);return},[c,a,l]),e=$(()=>{if(!c)return;c.documentElement.classList.remove(a),c.body.classList.remove(l)},[c,a,l]);return{disableBodyScroll:o,enableBodyScroll:e}}f();function gZ(a,l){let{findFirstFocusable:c}=k7(),{targetDocument:o}=V1(),e=E(null);return h1(()=>{if(!a)return;let r=e.current&&c(e.current);if(r)r.focus();else{var t;(t=e.current)===null||t===void 0||t.focus(),console.warn("@fluentui/react-dialog [useFocusFirstElement]:\nA Dialog should have at least one focusable element inside DialogSurface.\nPlease add at least a close button either on `DialogTitle` action slot or inside `DialogActions`")}},[c,a,l,o]),e}f();var IL={open:!1,inertTrapFocus:!1,modalType:"modal",isNestedDialog:!1,dialogRef:{current:null},requestOpenChange(){}},Cl=o4(void 0),Ll=Cl.Provider,E0=(a)=>L6(Cl,(l=IL)=>a(l));f();var PL=!1,FZ=e1(void 0),W6=FZ.Provider,Rl=()=>{var a;return(a=l1(FZ))!==null&&a!==void 0?a:PL};var I_=[{opacity:0,transform:"scale(0.85) translateZ(0)"},{transform:"scale(1) translateZ(0)",opacity:1}],xZ=x5({enter:{keyframes:I_,easing:B1.curveDecelerateMid,duration:B1.durationGentle},exit:{keyframes:[...I_].reverse(),easing:B1.curveAccelerateMin,duration:B1.durationGentle}});var Dl=(a)=>{let{children:l,modalType:c="modal",onOpenChange:o,inertTrapFocus:e=!1}=a,[r,t]=qL(l),[h,Z]=X5({state:a.open,defaultState:a.defaultOpen,initialState:!1}),i=i1((m)=>{if(o===null||o===void 0||o(m.event,m),!m.event.isDefaultPrevented())Z(m.open)}),v=gZ(h,c),{modalAttributes:n,triggerAttributes:d}=_2({trapFocus:c!=="non-modal",legacyTrapFocus:!e}),p=Th(Cl);return{components:{surfaceMotion:xZ},inertTrapFocus:e,open:h,modalType:c,content:t,trigger:r,requestOpenChange:i,dialogTitleId:i0("dialog-title-"),isNestedDialog:p,dialogRef:v,modalAttributes:n,triggerAttributes:d,surfaceMotion:h4(a.surfaceMotion,{elementType:xZ,defaultProps:{appear:!0,visible:h,unmountOnExit:!0}})}};function qL(a){let l=C7.toArray(a);if(l.length!==1&&l.length!==2)console.warn(`@fluentui/react-dialog [useDialog]:
|
|
139
|
+
`,'We suggest to use the "trapFocus" prop on Fluent components or a catch "ref" and then use','"ref.current.focus" in React.useEffect():',"https://reactjs.org/docs/refs-and-the-dom.html#adding-a-ref-to-a-dom-element"].join(" "))}}},[]);let n=j8(null,(s)=>{if(c.current!==s)c.current=s,Z()}),v=$(()=>{var s;return(s=a.onPositioningEnd)===null||s===void 0?void 0:s.call(a)}),d=j8(null,(s)=>{if(e.current!==s){var p;(p=e.current)===null||p===void 0||p.removeEventListener(q8,v),s===null||s===void 0||s.addEventListener(q8,v),e.current=s,Z()}}),m=j8(null,(s)=>{if(r.current!==s)r.current=s,Z()});return{targetRef:n,containerRef:d,arrowRef:m}}F();var NZ=(a)=>{let[l,c]=h1(a);return[l,(e)=>{if(e===void 0||e===null){c(void 0);return}let r;if(!(e instanceof MouseEvent))r=e.nativeEvent;else r=e;if(!(r instanceof MouseEvent))console.error("usePositioningMouseTarget should only be used with MouseEvent");let t=L_(r);c(t)}]};F();F();var Oe=f2(void 0),qL={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},PL=Oe.Provider,x0=(a)=>g3(Oe,(l=qL)=>a(l));var ll=(a,l)=>{let c=x0((A)=>A.contentRef),o=x0((A)=>A.openOnHover),e=x0((A)=>A.setOpen),r=x0((A)=>A.mountNode),t=x0((A)=>A.arrowRef),h=x0((A)=>A.size),Z=x0((A)=>A.withArrow),i=x0((A)=>A.appearance),n=x0((A)=>A.trapFocus),v=x0((A)=>A.inertTrapFocus),d=x0((A)=>A.inline),{modalAttributes:m}=V2({trapFocus:n,legacyTrapFocus:!v,alwaysFocusable:!n}),s={inline:d,appearance:i,withArrow:Z,size:h,arrowRef:t,mountNode:r,components:{root:"div"},root:w.always(a1("div",{ref:R1(l,c),role:n?"dialog":"group","aria-modal":n?!0:void 0,...m,...a}),{elementType:"div"})},{onMouseEnter:p,onMouseLeave:M,onKeyDown:u}=s.root;return s.root.onMouseEnter=(A)=>{if(o)e(A,!0);p===null||p===void 0||p(A)},s.root.onMouseLeave=(A)=>{if(o)e(A,!1);M===null||M===void 0||M(A)},s.root.onKeyDown=(A)=>{var V;if(A.key==="Escape"&&((V=c.current)===null||V===void 0?void 0:V.contains(A.target)))A.preventDefault(),e(A,!1);u===null||u===void 0||u(A)},s};F();F();function cl(a){if(T1(a))return{element:a};if(typeof a==="object"){if(a===null)return{element:null};return a}return{}}F();var gu=/*@__PURE__*/k({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 fu=_2,zL=(a)=>{let{className:l,dir:c,focusVisibleRef:o,targetNode:e}=a,r=p1(()=>{if(e===void 0||a.disabled)return null;let t=e.ownerDocument.createElement("div");return e.appendChild(t),t},[e,a.disabled]);return p1(()=>{if(!r)return;r.className=l,r.setAttribute("dir",c),r.setAttribute("data-portal-node","true"),o.current=r},[l,c,r,o]),j(()=>{return()=>{r===null||r===void 0||r.remove()}},[r]),r},QL=()=>{let a=void 0;function l(o,e){if(a)return a;if(e)a=o.ownerDocument.createElement("div"),o.appendChild(a);return a}function c(){if(a)a.remove(),a=void 0}return{get:l,dispose:c}},JL=(a)=>{let{className:l,dir:c,focusVisibleRef:o,targetNode:e}=a,[r]=h1(QL),t=p1(()=>{if(e===void 0||a.disabled)return null;return new Proxy({},{get(h,Z){if(Z==="nodeType")return Node.ELEMENT_NODE;if(Z==="remove"){let v=r.get(e,!1);if(v){if(v.childNodes.length===0)r.dispose()}return()=>{}}let i=r.get(e,!0),n=i?i[Z]:void 0;if(typeof n==="function")return n.bind(i);return n},set(h,Z,i){let n=Z==="_virtual"||Z==="focusVisible",v=n?r.get(e,!1):r.get(e,!0);if(n&&!v)return!0;if(v)return Object.assign(v,{[Z]:i}),!0;return!1}})},[r,e,a.disabled]);return fu(()=>{if(!t)return;let h=l.split(" ").filter(Boolean);return t.classList.add(...h),t.setAttribute("dir",c),t.setAttribute("data-portal-node","true"),o.current=t,()=>{t.classList.remove(...h),t.removeAttribute("dir")}},[l,c,t,o]),j(()=>{return()=>{t===null||t===void 0||t.remove()}},[t]),t},KL=fu?JL:zL,Fu=(a)=>{let{targetDocument:l,dir:c}=M1(),o=Gh(),e=P7(),r=gu(),t=p8(),h={dir:c,disabled:a.disabled,focusVisibleRef:e,className:D(t,r.root,a.className),targetNode:o!==null&&o!==void 0?o:l===null||l===void 0?void 0:l.body};return KL(h)};var jZ=(a)=>{let{element:l,className:c}=cl(a.mountNode),o=G(null),e=Fu({disabled:!!l,className:c}),r=l!==null&&l!==void 0?l:e,t={children:a.children,mountNode:r,virtualParentRootRef:o};return j(()=>{if(!r)return;let h=o.current,Z=r.contains(h);if(h&&!Z)return V8(r,h),()=>{V8(r,void 0)}},[o,r]),t};F();F();var ai=(a)=>{return/*@__PURE__*/e1("span",{hidden:!0,ref:a.virtualParentRootRef},a.mountNode&&/*@__PURE__*/To(/*@__PURE__*/e1(m1,null,a.children,/*@__PURE__*/e1("span",{hidden:!0})),a.mountNode))};var L2=(a)=>{let l=jZ(a);return ai(l)};L2.displayName="Portal";var ol=(a)=>{P(a);let l=/*@__PURE__*/A1(a.root,{children:[a.withArrow&&/*@__PURE__*/L("div",{ref:a.arrowRef,className:a.arrowClassName}),a.root.children]});if(a.inline)return l;return/*@__PURE__*/L(L2,{mountNode:a.mountNode,children:l})};var el={root:"fui-PopoverSurface"},aa={small:6,medium:8,large:8},$L=/*@__PURE__*/k({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;}}"]}),la=(a)=>{let l=$L();return a.root.className=D(el.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=D(l.arrow,a.size==="small"?l.smallArrow:l.mediumLargeArrow),a};var R2=/*@__PURE__*/I((a,l)=>{let c=ll(a,l);return la(c),z("usePopoverSurfaceStyles_unstable")(c),ol(c)});R2.displayName="PopoverSurface";var xu=4;var rl=(a)=>{let[l,c]=NZ(),o={size:"medium",contextTarget:l,setContextTarget:c,...a},e=e7.toArray(a.children);if(e.length===0)console.warn("Popover must contain at least one child");if(e.length>2)console.warn("Popover must contain at most two children");let r=void 0,t=void 0;if(e.length===2)r=e[0],t=e[1];else if(e.length===1)t=e[0];let[h,Z]=YL(o),[i,n]=a2(),v=$((g,S)=>{if(n(),!(g instanceof Event)&&g.persist)g.persist();if(g.type==="mouseleave"){var C;i(()=>{Z(g,S)},(C=a.mouseLeaveDelay)!==null&&C!==void 0?C:500)}else Z(g,S)}),d=q((g)=>{v(g,!h)},[v,h]),m=XL(o),{targetDocument:s}=M1();var p;k6({contains:H8,element:s,callback:(g)=>v(g,!1),refs:[m.triggerRef,m.contentRef],disabled:!h,disabledFocusOnIframe:!((p=a.closeOnIframeFocus)!==null&&p!==void 0?p:!0)});let M=o.openOnContext||o.closeOnScroll;Po({contains:H8,element:s,callback:(g)=>v(g,!1),refs:[m.triggerRef,m.contentRef],disabled:!h||!M});let{findFirstFocusable:u}=q7(),A=ae();j(()=>{if(a.unstable_disableAutoFocus)return;let g=m.contentRef.current;if(h&&g){var S;let C=!isNaN((S=g.getAttribute("tabIndex"))!==null&&S!==void 0?S:void 0),E=C?g:u(g);if(E===null||E===void 0||E.focus(),C)A(g)}},[u,A,h,m.contentRef,a.unstable_disableAutoFocus]);var V,H;return{...o,...m,inertTrapFocus:(V=a.inertTrapFocus)!==null&&V!==void 0?V:a.legacyTrapFocus===void 0?!1:!a.legacyTrapFocus,popoverTrigger:r,popoverSurface:t,open:h,setOpen:v,toggleOpen:d,setContextTarget:c,contextTarget:l,inline:(H=a.inline)!==null&&H!==void 0?H:!1}};function YL(a){let l=$((t,h)=>{var Z;return(Z=a.onOpenChange)===null||Z===void 0?void 0:Z.call(a,t,h)}),[c,o]=Y0({state:a.open,defaultState:a.defaultOpen,initialState:!1});a.open=c!==void 0?c:a.open;let e=a.setContextTarget,r=q((t,h)=>{if(h&&t.type==="contextmenu")e(t);if(!h)e(void 0);o(h),l===null||l===void 0||l(t,{open:h})},[o,l,e]);return[c,r]}function XL(a){let l={position:"above",align:"center",arrowPadding:2*xu,target:a.openOnContext?a.contextTarget:void 0,...x3(a.positioning)};if(l.coverTarget)a.withArrow=!1;if(a.withArrow)l.offset=be(l.offset,aa[a.size]);let{targetRef:c,containerRef:o,arrowRef:e}=al(l);return{triggerRef:c,contentRef:o,arrowRef:e}}F();var tl=(a)=>{let{appearance:l,arrowRef:c,contentRef:o,inline:e,mountNode:r,open:t,openOnContext:h,openOnHover:Z,setOpen:i,size:n,toggleOpen:v,trapFocus:d,triggerRef:m,withArrow:s,inertTrapFocus:p}=a;return/*@__PURE__*/e1(Oe.Provider,{value:{appearance:l,arrowRef:c,contentRef:o,inline:e,mountNode:r,open:t,openOnContext:h,openOnHover:Z,setOpen:i,toggleOpen:v,triggerRef:m,size:n,trapFocus:d,inertTrapFocus:p,withArrow:s}},a.popoverTrigger,a.open&&a.popoverSurface)};var S2=(a)=>{let l=rl(a);return tl(l)};S2.displayName="Popover";F();F();var hl=(a)=>{let{children:l,disableButtonEnhancement:c=!1}=a,o=v4(l),e=x0((V)=>V.open),r=x0((V)=>V.setOpen),t=x0((V)=>V.toggleOpen),h=x0((V)=>V.triggerRef),Z=x0((V)=>V.openOnHover),i=x0((V)=>V.openOnContext),{triggerAttributes:n}=V2(),v=(V)=>{if(i)V.preventDefault(),r(V,!0)},d=(V)=>{if(!i)t(V)},m=(V)=>{if(V.key===J7&&e&&!V.isDefaultPrevented())r(V,!1),V.preventDefault()},s=(V)=>{if(Z)r(V,!0)},p=(V)=>{if(Z)r(V,!1)},M={...n,"aria-expanded":`${e}`,...o===null||o===void 0?void 0:o.props,onMouseEnter:$(K1(o===null||o===void 0?void 0:o.props.onMouseEnter,s)),onMouseLeave:$(K1(o===null||o===void 0?void 0:o.props.onMouseLeave,p)),onContextMenu:$(K1(o===null||o===void 0?void 0:o.props.onContextMenu,v)),ref:R1(h,s3(o))},u={...M,onClick:$(K1(o===null||o===void 0?void 0:o.props.onClick,d)),onKeyDown:$(K1(o===null||o===void 0?void 0:o.props.onKeyDown,m))},A=F2((o===null||o===void 0?void 0:o.type)==="button"||(o===null||o===void 0?void 0:o.type)==="a"?o.type:"div",u);return{children:U6(a.children,F2((o===null||o===void 0?void 0:o.type)==="button"||(o===null||o===void 0?void 0:o.type)==="a"?o.type:"div",i?M:c?u:A))}};var Zl=(a)=>{return a.children};var e2=(a)=>{let l=hl(a);return Zl(l)};e2.displayName="PopoverTrigger";e2.isFluentTriggerComponent=!0;F();var X7=(a)=>{P(a);let{iconOnly:l,iconPosition:c}=a;return/*@__PURE__*/A1(a.root,{children:[c!=="after"&&a.icon&&/*@__PURE__*/L(a.icon,{}),!l&&a.root.children,c==="after"&&a.icon&&/*@__PURE__*/L(a.icon,{})]})};F();F();var Cu=v1(void 0),jL={},k51=Cu.Provider,Lu=()=>{var a;return(a=t1(Cu))!==null&&a!==void 0?a:jL};var C3=(a,l)=>{let{size:c}=Lu(),{appearance:o="secondary",as:e="button",disabled:r=!1,disabledFocusable:t=!1,icon:h,iconPosition:Z="before",shape:i="rounded",size:n=c!==null&&c!==void 0?c:"medium"}=a,v=w.optional(h,{elementType:"span"});return{appearance:o,disabled:r,disabledFocusable:t,iconPosition:Z,shape:i,size:n,iconOnly:Boolean((v===null||v===void 0?void 0:v.children)&&!a.children),components:{root:"button",icon:"span"},root:w.always(a1(e,F2(a.as,a)),{elementType:"button",defaultProps:{ref:l,type:e==="button"?"button":void 0}}),icon:v}};var ca={root:"fui-Button",icon:"fui-Button__icon"};var E51=`calc(${c0.strokeWidthThin} + 0.25px)`,aR=/*@__PURE__*/N("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;}}"]}),lR=/*@__PURE__*/N("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);}"]),cR=/*@__PURE__*/k({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)"}]]}),oR=/*@__PURE__*/k({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)"}]]}),eR=/*@__PURE__*/k({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;}}"]}),rR=/*@__PURE__*/k({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;}"]}),tR=/*@__PURE__*/k({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);}"]}),L3=(a)=>{let l=aR(),c=lR(),o=cR(),e=oR(),r=eR(),t=rR(),h=tR(),{appearance:Z,disabled:i,disabledFocusable:n,icon:v,iconOnly:d,iconPosition:m,shape:s,size:p}=a;if(a.root.className=D(ca.root,l,Z&&o[Z],o[p],v&&p==="small"&&o.smallWithIcon,v&&p==="large"&&o.largeWithIcon,o[s],(i||n)&&e.base,(i||n)&&e.highContrast,Z&&(i||n)&&e[Z],Z==="primary"&&r.primary,r[p],r[s],d&&t[p],a.root.className),a.icon)a.icon.className=D(ca.icon,c,!!a.root.children&&h[m],h[p],a.icon.className);return a};var F1=/*@__PURE__*/I((a,l)=>{let c=C3(a,l);return L3(c),z("useButtonStyles_unstable")(c),X7(c)});F1.displayName="Button";F();F();F();F();var Ru=v1(void 0),il=Ru.Provider,R4=()=>t1(Ru);F();var vl=(a)=>{var l,c,o,e;let{generatedControlId:r,orientation:t,required:h,size:Z,validationState:i}=a,n=(l=a.label)===null||l===void 0?void 0:l.htmlFor,v=(c=a.label)===null||c===void 0?void 0:c.id,d=(o=a.validationMessage)===null||o===void 0?void 0:o.id,m=(e=a.hint)===null||e===void 0?void 0:e.id;return{field:p1(()=>({generatedControlId:r,hintId:m,labelFor:n,labelId:v,orientation:t,required:h,size:Z,validationMessageId:d,validationState:i}),[r,m,n,v,t,h,Z,d,i])}};function P5(a,l){return Ee(R4(),a,l)}function Ee(a,l,c){if(!a)return l;l={...l};let{generatedControlId:o,hintId:e,labelFor:r,labelId:t,required:h,validationMessageId:Z,validationState:i}=a;if(o){var n,v;(v=(n=l).id)!==null&&v!==void 0||(n.id=o)}if(t&&(!(c===null||c===void 0?void 0:c.supportsLabelFor)||r!==l.id)){var d,m,s;(s=(d=l)[m="aria-labelledby"])!==null&&s!==void 0||(d[m]=t)}if(Z||e)l["aria-describedby"]=[Z,e,l===null||l===void 0?void 0:l["aria-describedby"]].filter(Boolean).join(" ");if(i==="error"){var p,M,u;(u=(p=l)[M="aria-invalid"])!==null&&u!==void 0||(p[M]=!0)}if(h)if(c===null||c===void 0?void 0:c.supportsRequired){var A,V;(V=(A=l).required)!==null&&V!==void 0||(A.required=!0)}else{var H,g,S;(S=(H=l)[g="aria-required"])!==null&&S!==void 0||(H[g]=!0)}if(c===null||c===void 0?void 0:c.supportsSize){var C,E;(E=(C=l).size)!==null&&E!==void 0||(C.size=a.size)}return l}var nl=(a,l)=>{P(a);let{children:c}=a;if(typeof c==="function")c=c(Ee(l.field)||{});return/*@__PURE__*/L(il,{value:l===null||l===void 0?void 0:l.field,children:/*@__PURE__*/A1(a.root,{children:[a.label&&/*@__PURE__*/L(a.label,{}),c,a.validationMessage&&/*@__PURE__*/A1(a.validationMessage,{children:[a.validationMessageIcon&&/*@__PURE__*/L(a.validationMessageIcon,{}),a.validationMessage.children]}),a.hint&&/*@__PURE__*/L(a.hint,{})]})})};F();F();F();var dl=(a,l)=>{let{disabled:c=!1,required:o=!1,weight:e="regular",size:r="medium"}=a;return{disabled:c,required:w.optional(o===!0?"*":o||void 0,{defaultProps:{"aria-hidden":"true"},elementType:"span"}),weight:e,size:r,components:{root:"label",required:"span"},root:w.always(a1("label",{ref:l,...a}),{elementType:"label"})}};var ml=(a)=>{return P(a),/*@__PURE__*/A1(a.root,{children:[a.root.children,a.required&&/*@__PURE__*/L(a.required,{})]})};var pl={root:"fui-Label",required:"fui-Label__required"},hR=/*@__PURE__*/k({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)"}]]}),sl=(a)=>{let l=hR();if(a.root.className=D(pl.root,l.root,a.disabled&&l.disabled,l[a.size],a.weight==="semibold"&&l.semibold,a.root.className),a.required)a.required.className=D(pl.required,l.required,a.disabled&&l.disabled,a.required.className);return a};var S0=/*@__PURE__*/I((a,l)=>{let c=dl(a,l);return sl(c),z("useLabelStyles_unstable")(c),ml(c)});S0.displayName="Label";var ZR={error:/*@__PURE__*/e1(h_,null),warning:/*@__PURE__*/e1(n_,null),success:/*@__PURE__*/e1(l_,null),none:void 0},Ml=(a,l)=>{let{children:c,orientation:o="vertical",required:e=!1,validationState:r=a.validationMessage?"error":"none",size:t="medium"}=a,h=N1("field-"),Z=h+"__control",i=w.always(a1("div",{...a,ref:l},["children"]),{elementType:"div"}),n=w.optional(a.label,{defaultProps:{htmlFor:Z,id:h+"__label",required:e,size:t},elementType:S0}),v=w.optional(a.validationMessage,{defaultProps:{id:h+"__validationMessage",role:r==="error"||r==="warning"?"alert":void 0},elementType:"div"}),d=w.optional(a.hint,{defaultProps:{id:h+"__hint"},elementType:"div"}),m=ZR[r],s=w.optional(a.validationMessageIcon,{renderByDefault:!!m,defaultProps:{children:m},elementType:"span"});return{children:c,generatedControlId:Z,orientation:o,required:e,size:t,validationState:r,components:{root:"div",label:S0,validationMessage:"div",validationMessageIcon:"span",hint:"div"},root:i,label:n,validationMessageIcon:s,validationMessage:v,hint:d}};var R3={root:"fui-Field",label:"fui-Field__label",validationMessage:"fui-Field__validationMessage",validationMessageIcon:"fui-Field__validationMessageIcon",hint:"fui-Field__hint"};var iR=/*@__PURE__*/k({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;}"]}),vR=/*@__PURE__*/k({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;}"]}),nR=/*@__PURE__*/N("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);}"]),dR=/*@__PURE__*/k({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));}"]}),mR=/*@__PURE__*/N("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;}"]),pR=/*@__PURE__*/k({error:{sj55zd:"f1hcrxcs"},warning:{sj55zd:"f1k5f75o"},success:{sj55zd:"ffmvakt"}},{d:[".f1hcrxcs{color:var(--colorPaletteRedForeground1);}",".f1k5f75o{color:var(--colorPaletteDarkOrangeForeground1);}",".ffmvakt{color:var(--colorPaletteGreenForeground1);}"]}),_l=(a)=>{let{validationState:l,size:c}=a,o=a.orientation==="horizontal",e=iR();a.root.className=D(R3.root,e.base,o&&e.horizontal,o&&!a.label&&e.horizontalNoLabel,a.root.className);let r=vR();if(a.label)a.label.className=D(R3.label,o&&r.horizontal,o&&c==="small"&&r.horizontalSmall,o&&c==="large"&&r.horizontalLarge,!o&&r.vertical,!o&&c==="large"&&r.verticalLarge,a.label.className);let t=mR(),h=pR();if(a.validationMessageIcon)a.validationMessageIcon.className=D(R3.validationMessageIcon,t,l!=="none"&&h[l],a.validationMessageIcon.className);let Z=nR(),i=dR();if(a.validationMessage)a.validationMessage.className=D(R3.validationMessage,Z,l==="error"&&i.error,!!a.validationMessageIcon&&i.withIcon,a.validationMessage.className);if(a.hint)a.hint.className=D(R3.hint,Z,a.hint.className);return a};var S4=/*@__PURE__*/I((a,l)=>{let c=Ml(a,l);_l(c),z("useFieldStyles_unstable")(c);let o=vl(c);return nl(c,o)});S4.displayName="Field";var ul=(a,l)=>{a=P5(a,{supportsLabelFor:!0,supportsRequired:!0});let{disabled:c=!1,required:o,shape:e="square",size:r="medium",labelPosition:t="after",onChange:h}=a,[Z,i]=Y0({defaultState:a.defaultChecked,state:a.checked,initialState:!1}),n=t7({props:a,primarySlotTagName:"input",excludedPropNames:["checked","defaultChecked","size","onChange"]}),v=Z==="mixed",d=N1("checkbox-",n.primary.id),m;if(v)if(e==="circular")m=/*@__PURE__*/e1(de,null);else m=r==="large"?/*@__PURE__*/e1(v_,null):/*@__PURE__*/e1(i_,null);else if(Z)m=r==="large"?/*@__PURE__*/e1(a_,null):/*@__PURE__*/e1(Me,null);let s={shape:e,checked:Z,disabled:c,size:r,labelPosition:t,components:{root:"span",input:"input",indicator:"div",label:S0},root:w.always(a.root,{defaultProps:{ref:H2(),...n.root},elementType:"span"}),input:w.always(a.input,{defaultProps:{type:"checkbox",id:d,ref:l,checked:Z===!0,...n.primary},elementType:"input"}),label:w.optional(a.label,{defaultProps:{htmlFor:d,disabled:c,required:o,size:"medium"},elementType:S0}),indicator:w.optional(a.indicator,{renderByDefault:!0,defaultProps:{"aria-hidden":!0,children:m},elementType:"div"})};s.input.onChange=$((M)=>{let u=M.currentTarget.indeterminate?"mixed":M.currentTarget.checked;h===null||h===void 0||h(M,{checked:u}),i(u)});let p=R1(s.input.ref);return s.input.ref=p,q1(()=>{if(p.current)p.current.indeterminate=v},[p,v]),s};var Al=(a)=>{return P(a),/*@__PURE__*/A1(a.root,{children:[/*@__PURE__*/L(a.input,{}),a.labelPosition==="before"&&a.label&&/*@__PURE__*/L(a.label,{}),a.indicator&&/*@__PURE__*/L(a.indicator,{}),a.labelPosition==="after"&&a.label&&/*@__PURE__*/L(a.label,{})]})};var D4={root:"fui-Checkbox",label:"fui-Checkbox__label",input:"fui-Checkbox__input",indicator:"fui-Checkbox__indicator"};var sR=/*@__PURE__*/N("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;}}"]}),MR=/*@__PURE__*/k({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)"}]]}),_R=/*@__PURE__*/N("ruo9svu",null,[".ruo9svu{box-sizing:border-box;cursor:inherit;height:100%;margin:0;opacity:0;position:absolute;top:0;width:calc(16px + 2 * var(--spacingHorizontalS));}"]),uR=/*@__PURE__*/k({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));}"]}),AR=/*@__PURE__*/N("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;}"]),HR=/*@__PURE__*/k({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}]]}),VR=/*@__PURE__*/k({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);}"]}),Hl=(a)=>{let{checked:l,disabled:c,labelPosition:o,shape:e,size:r}=a,t=sR(),h=MR();a.root.className=D(D4.root,t,c?h.disabled:l==="mixed"?h.mixed:l?h.checked:h.unchecked,a.root.className);let Z=_R(),i=uR();a.input.className=D(D4.input,Z,r==="large"&&i.large,i[o],a.input.className);let n=AR(),v=HR();if(a.indicator)a.indicator.className=D(D4.indicator,n,r==="large"&&v.large,e==="circular"&&v.circular,a.indicator.className);let d=VR();if(a.label)a.label.className=D(D4.label,d.base,d[r],d[o],a.label.className);return a};var w4=/*@__PURE__*/I((a,l)=>{let c=ul(a,l);return Hl(c),z("useCheckboxStyles_unstable")(c),Al(c)});w4.displayName="Checkbox";var li=f2({activeOption:void 0,appearance:"outline",focusVisible:!1,open:!1,registerOption(){return()=>{return}},selectedOptions:[],selectOption(){},setActiveOption(){},setOpen(){},size:"medium"}),gR=li.Provider;F();var fR={activeOption:void 0,focusVisible:!1,multiselect:!1,getOptionById(){return},getOptionsMatchingValue(){return[]},registerOption(){return()=>{return}},selectedOptions:[],onOptionClick(){},onActiveDescendantChange(){},selectOption(){},setActiveOption(){}},_7=f2(void 0),j0=(a)=>g3(_7,(l=fR)=>a(l)),FR=_7.Provider;F();function ci(a){let{appearance:l,open:c,getOptionById:o,getOptionsMatchingValue:e,registerOption:r,selectedOptions:t,selectOption:h,setOpen:Z,size:i,activeDescendantController:n,onOptionClick:v,onActiveDescendantChange:d}=a,m={activeOption:void 0,appearance:l,focusVisible:!1,open:c,registerOption:r,selectedOptions:t,selectOption:h,setActiveOption:()=>null,setOpen:Z,size:i},s={activeOption:void 0,focusVisible:!1,getOptionById:o,getOptionsMatchingValue:e,registerOption:r,selectedOptions:t,selectOption:h,setActiveOption:()=>null,onOptionClick:v,onActiveDescendantChange:d},p=p1(()=>({controller:n}),[n]);return{combobox:m,activeDescendant:p,listbox:s}}F();function oi(a){let l=_4(_7),{getOptionById:c,getOptionsMatchingValue:o,multiselect:e,registerOption:r,selectedOptions:t,selectOption:h,activeDescendantController:Z}=a,i=j0((p)=>p.registerOption),n=j0((p)=>p.onOptionClick),v=j0((p)=>p.onActiveDescendantChange),m={activeOption:void 0,focusVisible:!1,getOptionById:c,getOptionsMatchingValue:o,multiselect:e,registerOption:l?i:r,selectedOptions:t,selectOption:h,setActiveOption:()=>{return},onOptionClick:n,onActiveDescendantChange:v},s=p1(()=>({controller:Z}),[Z]);return{listbox:m,activeDescendant:s}}F();F();F();function oa(a,l={}){let{open:c=!0,multiselect:o=!1}=l,e=a.key,{altKey:r,ctrlKey:t,key:h,metaKey:Z}=a;if(h.length===1&&e!==q5&&!r&&!t&&!Z)return"Type";if(!c){if(e===P6||e===u4||e===d7||e===q5)return"Open";return"None"}if(e===u4&&r||e===d7||!o&&e===q5)return"CloseSelect";if(o&&e===q5)return"Select";if(e===J7)return"Close";if(e===P6)return"Next";if(e===u4)return"Previous";if(e===uZ)return"First";if(e===_Z)return"Last";if(e===HZ)return"PageUp";if(e===AZ)return"PageDown";if(e===b8)return"Tab";return"None"}F();var We=()=>{let a=G(/*@__PURE__*/new Map),l=p1(()=>{return{getCount:()=>a.current.size,getOptionAtIndex:()=>{return},getIndexOfId:()=>-1,getOptionById:(i)=>{return a.current.get(i)},getOptionsMatchingText:(i)=>{return Array.from(a.current.values()).filter(({text:n})=>i(n))},getOptionsMatchingValue:(i)=>{let n=[];for(let v of a.current.values())if(i(v.value))n.push(v);return n}}},[]),c=q((o)=>{return a.current.set(o.id,o),()=>a.current.delete(o.id)},[]);return{...l,options:Array.from(a.current.values()),registerOption:c}};F();var Ie=(a)=>{let{defaultSelectedOptions:l,multiselect:c,onOptionSelect:o}=a,[e,r]=Y0({state:a.selectedOptions,defaultState:l,initialState:[]}),t=q((Z,i)=>{if(i.disabled)return;let n=[i.value];if(c){let v=e.findIndex((d)=>d===i.value);if(v>-1)n=[...e.slice(0,v),...e.slice(v+1)];else n=[...e,i.value]}r(n),o===null||o===void 0||o(Z,{optionValue:i.value,optionText:i.text,selectedOptions:n})},[o,c,e,r]);return{clearSelection:(Z)=>{r([]),o===null||o===void 0||o(Z,{optionValue:void 0,optionText:void 0,selectedOptions:[]})},selectOption:t,selectedOptions:e}};var N7={root:"fui-Option",checkIcon:"fui-Option__checkIcon"},xR=/*@__PURE__*/k({root:{Bt984gj:"f122n59",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5",sj55zd:"f19n0e5",i8kkvl:"f1ufnopg",Bceei9c:"f1k6fduh",mc9l5x:"f22iagw",Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bg96gwp:"f1i3iumi",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"fm5eomj",qhf8xq:"f10pi13n",Jwef8y:"f1knas48",Bi91k9c:"feu1g3u",zqbkvg:"fo79ri9",h82x05:["f1osiabc","f1e8le25"],cqj998:"f1yusjty",j3hlsh:["f1e8le25","f1osiabc"],ecr2s2:"fb40n2d",lj723h:"f1g4hkjv",Btxx2vb:"f1lnr2zp",sltcwy:["f1ogfk9z","f1g7j8ec"],dnwvvm:"fiuf46r",Blyvkvs:["f1g7j8ec","f1ogfk9z"]},active:{Bowz1zl:"f11vrvdw",oxogb1:"f17hxjb7",Ix2sn8:"f1dha69c",q7v32p:"f1lm7500",B7cbj04:0,Bewtojm:0,b50fsz:0,B1wzb3v:0,Bqwk70n:0,B37u8z8:0,avt0cx:0,f0sref:0,B9fkznv:0,Be3o27t:0,Bertapg:0,B53xpsf:0,Bsv72rj:0,B39dzdd:0,Btq9bd3:0,Bqfxd14:0,atup0s:"fo7xqb",Fffuxt:0,Bttcd12:0,Beitzug:0,Bqougee:0,B86i8pi:"f1kurthe",Bhijsxg:"fwq15dy",kktds4:"f1pb3wry",Bmau3bo:["ftjv2f4","f1flhb1f"],npektv:["f1flhb1f","ftjv2f4"]},disabled:{sj55zd:"f1s2aq7o",Jwef8y:"f9ql6rf",Bi91k9c:"fvgxktp",zqbkvg:"f185j3qj",h82x05:["f1dligi3","f1vydzie"],cqj998:"fjw1di3",j3hlsh:["f1vydzie","f1dligi3"],ecr2s2:"fgj9um3",lj723h:"f19wldhg",Btxx2vb:"f1ss0kt2",sltcwy:["f1t6oli3","fjy9ci8"],dnwvvm:"fresaxk",Blyvkvs:["fjy9ci8","f1t6oli3"],Bbusuzp:"f1dcs8yz"},selected:{},checkIcon:{Bnnss6s:"fi64zpg",Be2twd7:"fod5ikn",Frg6f3:["f18b9hdq","fn6qj8t"],t21cq0:["f1xk557c","f1h9en5y"],Bcdw1i0:"fd7fpy0",Bo70h7d:"fvc9v3g"},selectedCheck:{Bcdw1i0:"f1022m68"},multiselectCheck:{Bgfg5da:0,B9xav0g:0,oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"f1l3cf7o",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"fq9zq91",B7ck84d:"f1ewtqcl",mc9l5x:"f22iagw",Bt984gj:"f122n59",Brf1p80:"f4d9j23",Bkfmm31:"f1w9h62z",Be2twd7:"f1ugzwwg",Bqenvij:"fd461yt",a9b677:"fjw5fx7",Bcdw1i0:"f1022m68"},selectedMultiselectCheck:{De3pzq:"ftywsgz",sj55zd:"fqpbvvt",g2u3we:"f3xi7mh",h3c5rm:["ftovhe4","f1wczvin"],B9xav0g:"f68vbr6",zhjwy3:["f1wczvin","ftovhe4"]},checkDisabled:{sj55zd:"f1s2aq7o",Bbusuzp:"f1dcs8yz"},multiselectCheckDisabled:{g2u3we:"f1r1t4y1",h3c5rm:["fmj8ijw","figx54m"],B9xav0g:"f360ss8",zhjwy3:["figx54m","fmj8ijw"]}},{d:[".f122n59{align-items:center;}",[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],".f19n0e5{color:var(--colorNeutralForeground1);}",".f1ufnopg{column-gap:var(--spacingHorizontalXS);}",".f1k6fduh{cursor:pointer;}",".f22iagw{display:flex;}",".fk6fouc{font-family:var(--fontFamilyBase);}",".fkhj508{font-size:var(--fontSizeBase300);}",".f1i3iumi{line-height:var(--lineHeightBase300);}",[".fm5eomj{padding:var(--spacingVerticalSNudge) var(--spacingHorizontalS);}",{p:-1}],".f10pi13n{position:relative;}",'.f11vrvdw[data-activedescendant-focusvisible]::after{content:"";}',".f17hxjb7[data-activedescendant-focusvisible]::after{position:absolute;}",".f1dha69c[data-activedescendant-focusvisible]::after{pointer-events:none;}",".f1lm7500[data-activedescendant-focusvisible]::after{z-index:1;}",[".fo7xqb[data-activedescendant-focusvisible]::after{border:2px solid var(--colorStrokeFocus2);}",{p:-2}],[".f1kurthe[data-activedescendant-focusvisible]::after{border-radius:var(--borderRadiusMedium);}",{p:-1}],".fwq15dy[data-activedescendant-focusvisible]::after{top:-2px;}",".f1pb3wry[data-activedescendant-focusvisible]::after{bottom:-2px;}",".ftjv2f4[data-activedescendant-focusvisible]::after{left:-2px;}",".f1flhb1f[data-activedescendant-focusvisible]::after{right:-2px;}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".fi64zpg{flex-shrink:0;}",".fod5ikn{font-size:var(--fontSizeBase400);}",".f18b9hdq{margin-left:calc(var(--spacingHorizontalXXS) * -1);}",".fn6qj8t{margin-right:calc(var(--spacingHorizontalXXS) * -1);}",".f1xk557c{margin-right:var(--spacingHorizontalXXS);}",".f1h9en5y{margin-left:var(--spacingHorizontalXXS);}",".fd7fpy0{visibility:hidden;}",".fvc9v3g svg{display:block;}",".f1022m68{visibility:visible;}",[".f1l3cf7o{border:var(--strokeWidthThin) solid var(--colorNeutralStrokeAccessible);}",{p:-2}],[".fq9zq91{border-radius:var(--borderRadiusSmall);}",{p:-1}],".f1ewtqcl{box-sizing:border-box;}",".f4d9j23{justify-content:center;}",".f1w9h62z{fill:currentColor;}",".f1ugzwwg{font-size:12px;}",".fd461yt{height:16px;}",".fjw5fx7{width:16px;}",".ftywsgz{background-color:var(--colorCompoundBrandBackground);}",".fqpbvvt{color:var(--colorNeutralForegroundInverted);}",".f3xi7mh{border-top-color:var(--colorCompoundBrandBackground);}",".ftovhe4{border-right-color:var(--colorCompoundBrandBackground);}",".f1wczvin{border-left-color:var(--colorCompoundBrandBackground);}",".f68vbr6{border-bottom-color:var(--colorCompoundBrandBackground);}",".f1r1t4y1{border-top-color:var(--colorNeutralForegroundDisabled);}",".fmj8ijw{border-right-color:var(--colorNeutralForegroundDisabled);}",".figx54m{border-left-color:var(--colorNeutralForegroundDisabled);}",".f360ss8{border-bottom-color:var(--colorNeutralForegroundDisabled);}"],h:[".f1knas48:hover{background-color:var(--colorNeutralBackground1Hover);}",".feu1g3u:hover{color:var(--colorNeutralForeground1Hover);}",".fo79ri9:hover .fui-Option__checkIcon{border-top-color:var(--colorNeutralForeground1Hover);}",".f1osiabc:hover .fui-Option__checkIcon{border-right-color:var(--colorNeutralForeground1Hover);}",".f1e8le25:hover .fui-Option__checkIcon{border-left-color:var(--colorNeutralForeground1Hover);}",".f1yusjty:hover .fui-Option__checkIcon{border-bottom-color:var(--colorNeutralForeground1Hover);}",".f9ql6rf:hover{background-color:var(--colorTransparentBackground);}",".fvgxktp:hover{color:var(--colorNeutralForegroundDisabled);}",".f185j3qj:hover .fui-Option__checkIcon{border-top-color:var(--colorNeutralForegroundDisabled);}",".f1dligi3:hover .fui-Option__checkIcon{border-right-color:var(--colorNeutralForegroundDisabled);}",".f1vydzie:hover .fui-Option__checkIcon{border-left-color:var(--colorNeutralForegroundDisabled);}",".fjw1di3:hover .fui-Option__checkIcon{border-bottom-color:var(--colorNeutralForegroundDisabled);}"],a:[".fb40n2d:active{background-color:var(--colorNeutralBackground1Pressed);}",".f1g4hkjv:active{color:var(--colorNeutralForeground1Pressed);}",".f1lnr2zp:active .fui-Option__checkIcon{border-top-color:var(--colorNeutralForeground1Hover);}",".f1ogfk9z:active .fui-Option__checkIcon{border-right-color:var(--colorNeutralForeground1Hover);}",".f1g7j8ec:active .fui-Option__checkIcon{border-left-color:var(--colorNeutralForeground1Hover);}",".fiuf46r:active .fui-Option__checkIcon{border-bottom-color:var(--colorNeutralForeground1Hover);}",".fgj9um3:active{background-color:var(--colorTransparentBackground);}",".f19wldhg:active{color:var(--colorNeutralForegroundDisabled);}",".f1ss0kt2:active .fui-Option__checkIcon{border-top-color:var(--colorNeutralForegroundDisabled);}",".f1t6oli3:active .fui-Option__checkIcon{border-right-color:var(--colorNeutralForegroundDisabled);}",".fjy9ci8:active .fui-Option__checkIcon{border-left-color:var(--colorNeutralForegroundDisabled);}",".fresaxk:active .fui-Option__checkIcon{border-bottom-color:var(--colorNeutralForegroundDisabled);}"],m:[["@media (forced-colors: active){.f1dcs8yz{color:GrayText;}}",{m:"(forced-colors: active)"}]]}),Vl=(a)=>{let{disabled:l,multiselect:c,selected:o}=a,e=xR();if(a.root.className=D(N7.root,e.root,e.active,l&&e.disabled,o&&e.selected,a.root.className),a.checkIcon)a.checkIcon.className=D(N7.checkIcon,e.checkIcon,c&&e.multiselectCheck,o&&e.selectedCheck,o&&c&&e.selectedMultiselectCheck,l&&e.checkDisabled,l&&c&&e.multiselectCheckDisabled,a.checkIcon.className);return a};var Su={activeOption:void 0,focusVisible:!1,setActiveOption:()=>null},qe=(a,l)=>{let{multiselect:c,disableAutoFocus:o=!1}=a,e=We(),{listboxRef:r,activeParentRef:t,controller:h}=J6({matchOption:(R)=>R.classList.contains(N7.root)}),Z=_4(_7),i=j0((R)=>R.onActiveDescendantChange),n=j0((R)=>R.getOptionById),v=j0((R)=>R.getOptionsMatchingValue),d=Z?n:e.getOptionById,m=Z?v:e.getOptionsMatchingValue,s=p1(()=>{let R=null,U=(K)=>{i===null||i===void 0||i(K)};return(K)=>{if(!K){R===null||R===void 0||R.removeEventListener("activedescendantchange",U);return}R=K,R.addEventListener("activedescendantchange",U)}},[i]),[p,M]=h1(!1);E6(M);let u=Q6(),A=Ze(),V=A?u.controller:h,{clearSelection:H,selectedOptions:g,selectOption:S}=Ie(a),C=(R)=>{let U=oa(R,{open:!0}),K=V.active(),X=K?d(K):null;switch(U){case"First":case"Last":case"Next":case"Previous":case"PageDown":case"PageUp":case"CloseSelect":case"Select":R.preventDefault();break}switch(U){case"Next":if(X)V.next();else V.first();break;case"Previous":if(X)V.prev();else V.first();break;case"PageUp":case"First":V.first();break;case"PageDown":case"Last":V.last();break;case"Select":case"CloseSelect":X&&S(R,X);break}},E=j0((R)=>R.selectedOptions),T=j0((R)=>R.selectOption),c1=Z?{selectedOptions:E,selectOption:T,...Su}:{selectedOptions:g,selectOption:S,...Su};j(()=>{if(A)return;if(V.hideFocusVisibleAttributes(),!o)if(!c&&c1.selectedOptions.length>0){let R=m((U)=>U===c1.selectedOptions[0]).pop();if(R===null||R===void 0?void 0:R.id)V.focus(R.id)}else V.first();return()=>{V.blur()}},[]);let l1=q(()=>{if(A)return;if(V.showFocusVisibleAttributes(),p)V.scrollActiveIntoView()},[V,A,p]),Q=q(()=>{if(A)return;V.hideFocusVisibleAttributes()},[V,A]),x={components:{root:"div"},root:w.always(a1("div",{ref:R1(l,t,r,s),role:c?"menu":"listbox",tabIndex:0,...a}),{elementType:"div"}),standalone:!Z,multiselect:c,clearSelection:H,activeDescendantController:V,onActiveDescendantChange:i,...e,...c1};return x.root.onKeyDown=$(K1(x.root.onKeyDown,C)),x.root.onFocus=$(K1(x.root.onFocus,l1)),x.root.onBlur=$(K1(x.root.onBlur,Q)),x};var Pe=(a,l)=>{return P(a),/*@__PURE__*/L(z6,{value:l.activeDescendant,children:/*@__PURE__*/L(_7.Provider,{value:l.listbox,children:/*@__PURE__*/L(a.root,{})})})};var ei={root:"fui-Listbox"},CR=/*@__PURE__*/k({root:{De3pzq:"fxugw4r",B7ck84d:"f1ewtqcl",mc9l5x:"f22iagw",Beiy3e4:"f1vx9l62",Bf4jedk:"f3hsy1e",Bmxbyg5:"f5zp4f",Bw0xxkn:0,oeaueh:0,Bpd4iqm:0,Befb4lg:"f1iepc6i",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1t35pdg",Belr9w4:"fiut8dr"}},{d:[".fxugw4r{background-color:var(--colorNeutralBackground1);}",".f1ewtqcl{box-sizing:border-box;}",".f22iagw{display:flex;}",".f1vx9l62{flex-direction:column;}",".f3hsy1e{min-width:160px;}",".f5zp4f{overflow-y:auto;}",[".f1iepc6i{outline:1px solid var(--colorTransparentStroke);}",{p:-1}],[".f1t35pdg{padding:var(--spacingHorizontalXS);}",{p:-1}],".fiut8dr{row-gap:var(--spacingHorizontalXXS);}"]}),ze=(a)=>{let l=CR();return a.root.className=D(ei.root,l.root,a.root.className),a};var S3=/*@__PURE__*/I((a,l)=>{let c=qe(a,l),o=oi(c);return ze(c),z("useListboxStyles_unstable")(c),Pe(c,o)});S3.displayName="Listbox";F();F();function LR(a,l){if(a!==void 0)return a;let c="",o=!1;if(e7.forEach(l,(e)=>{if(typeof e==="string")c+=e;else o=!0}),o)console.warn("Provide a `text` prop to Option components when they contain non-string children.");return c}var gl=(a,l)=>{let{children:c,disabled:o,text:e,value:r}=a,t=G(null),h=LR(e,c),Z=r!==null&&r!==void 0?r:h,i=N1("fluent-option",a.id),n=p1(()=>({id:i,disabled:o,text:h,value:Z}),[i,o,h,Z]),{controller:v}=Q6(),d=j0((H)=>H.multiselect),m=j0((H)=>H.registerOption),s=j0((H)=>{let g=H.selectedOptions;return Z!==void 0&&g.find((S)=>S===Z)!==void 0}),p=j0((H)=>H.selectOption),M=j0((H)=>H.onOptionClick),u=/*@__PURE__*/e1(QM,null);if(d)u=s?/*@__PURE__*/e1(Me,null):"";let A=(H)=>{var g;if(o){H.preventDefault();return}v.focus(i),p(H,n),M(H),(g=a.onClick)===null||g===void 0||g.call(a,H)};j(()=>{if(i&&t.current)return m(n,t.current)},[i,n,m]);let V=d?{role:"menuitemcheckbox","aria-checked":s}:{role:"option","aria-selected":s};return{components:{root:"div",checkIcon:"span"},root:w.always(a1("div",{ref:R1(l,t),"aria-disabled":o?"true":void 0,id:i,...V,...a,onClick:A}),{elementType:"div"}),checkIcon:w.optional(a.checkIcon,{renderByDefault:!0,defaultProps:{"aria-hidden":"true",children:u},elementType:"span"}),disabled:o,multiselect:d,selected:s,focusVisible:!1,active:!1}};var fl=(a)=>{return P(a),/*@__PURE__*/A1(a.root,{children:[a.checkIcon&&/*@__PURE__*/L(a.checkIcon,{}),a.root.children]})};var k4=/*@__PURE__*/I((a,l)=>{let c=gl(a,l);return Vl(c),z("useOptionStyles_unstable")(c),fl(c)});k4.displayName="Option";F();F();var Du=(a)=>{let{appearance:l="outline",disableAutoFocus:c,children:o,clearable:e=!1,editable:r=!1,inlinePopup:t=!1,mountNode:h=void 0,multiselect:Z,onOpenChange:i,size:n="medium",activeDescendantController:v,freeform:d=!1,disabled:m=!1,onActiveOptionChange:s=null}=a,p=We(),{getOptionsMatchingValue:M}=p,{getOptionById:u}=p,A=q(()=>{let B=v.active();return B?u(B):void 0},[v,u]),V=A(),H=q((B)=>{let b=void 0;if(typeof B==="function"){let x1=A();b=B(x1)}if(b)v.focus(b.id);else v.blur()},[v,A]),[g,S]=h1(!1),[C,E]=h1(!1),T=G(!1),c1=D6(),[l1,Q]=Y0({state:a.value,initialState:void 0}),{selectedOptions:x,selectOption:R,clearSelection:U}=Ie(a),K=q((B,b)=>{Z8(()=>{Q(void 0),R(B,b)})},[Q,R]),X=p1(()=>{if(l1!==void 0)return l1;if(c1&&a.defaultValue!==void 0)return a.defaultValue;let B=M((b)=>{return x.includes(b)}).map((b)=>b.text);if(Z)return r?"":B.join(", ");return B[0]},[l1,r,M,Z,x]),[i1,J]=Y0({state:a.open,defaultState:a.defaultOpen,initialState:!1}),s1=q((B,b)=>{if(m)return;i===null||i===void 0||i(B,{open:b}),Z8(()=>{if(!b&&!d)Q(void 0);J(b)})},[i,J,Q,d,m]);j(()=>{if(i1){if(!Z&&x.length>0){let B=M((b)=>b===x[0]).pop();if(B===null||B===void 0?void 0:B.id)v.focus(B.id)}}else v.blur()},[i1,v]),j(()=>{if(i1&&!c&&!v.active())v.first()},[i1,o,c,v,u]);let H1=$((B)=>{let b=B.detail.previousId?p.getOptionById(B.detail.previousId):null,x1=p.getOptionById(B.detail.id);s===null||s===void 0||s(B,{event:B,type:"change",previousOption:b,nextOption:x1})});return{...p,freeform:d,disabled:m,selectOption:K,clearSelection:U,selectedOptions:x,activeOption:V,appearance:l,clearable:e,focusVisible:g,ignoreNextBlur:T,inlinePopup:t,mountNode:h,open:i1,hasFocus:C,setActiveOption:H,setFocusVisible:S,setHasFocus:E,setOpen:s1,setValue:Q,size:n,value:X,multiselect:Z,onOptionClick:$((B)=>{if(!Z)s1(B,!1)}),onActiveDescendantChange:H1}};F();function wu(a){let{positioning:l}=a,o={position:"below",align:"start",offset:{crossAxis:0,mainAxis:2},fallbackPositions:["above","after","after-top","before","before-top"],matchTargetSize:"width",autoSize:!0,...x3(l)},{targetRef:e,containerRef:r}=al(o);return[r,e]}F();function ku(a,l,c){let{state:{multiselect:o},triggerRef:e,defaultProps:r}=c,t=N1("fluent-listbox",C6(a)?a.id:void 0),h=w.optional(a,{renderByDefault:!0,elementType:S3,defaultProps:{id:t,multiselect:o,tabIndex:void 0,...r}}),Z=P5({id:t},{supportsLabelFor:!0});if(h&&!h["aria-label"]&&!h["aria-labelledby"]&&Z["aria-labelledby"])h["aria-labelledby"]=Z["aria-labelledby"];let i=$(K1((d)=>{d.preventDefault()},h===null||h===void 0?void 0:h.onMouseDown)),n=$(K1((d)=>{var m;d.preventDefault(),(m=e.current)===null||m===void 0||m.focus()},h===null||h===void 0?void 0:h.onClick)),v=R1(h===null||h===void 0?void 0:h.ref,l);if(h)h.ref=v,h.onMouseDown=i,h.onClick=n;return h}F();function yu(a,l,c){let{state:{open:o,setOpen:e,setHasFocus:r},defaultProps:t,elementType:h,activeDescendantController:Z}=c,i=w.always(a,{defaultProps:{type:"text","aria-expanded":o,role:"combobox",...typeof t==="object"&&t},elementType:h}),n=G(null);return i.ref=R1(n,i.ref,l),i.onBlur=K1((v)=>{e(v,!1),r(!1)},i.onBlur),i.onFocus=K1((v)=>{if(v.target===v.currentTarget)r(!0)},i.onFocus),i.onClick=K1((v)=>{e(v,!o)},i.onClick),i.onKeyDown=K1(RR({activeDescendantController:Z,...c.state}),i.onKeyDown),i}function RR(a){let{activeDescendantController:l,getOptionById:c,setOpen:o,selectOption:e,multiselect:r,open:t}=a,h=q(()=>{let p=l.active();return p?c(p):void 0},[l,c]),Z=()=>{l.first()},i=()=>{l.last()},n=(p)=>{if(p)l.next();else l.first()},v=(p)=>{if(p)l.prev();else l.first()},d=()=>{for(let p=0;p<10;p++)l.prev()},m=()=>{for(let p=0;p<10;p++)l.next()},s=jo();return $((p)=>{let M=oa(p,{open:t,multiselect:r}),u=h();switch(M){case"First":case"Last":case"Next":case"Previous":case"PageDown":case"PageUp":case"Open":case"Close":case"CloseSelect":case"Select":p.preventDefault();break}switch(s(!0),M){case"First":Z();break;case"Last":i();break;case"Next":n(u);break;case"Previous":v(u);break;case"PageDown":m();break;case"PageUp":d();break;case"Open":o(p,!0);break;case"Close":p.stopPropagation(),o(p,!1);break;case"CloseSelect":!r&&!(u===null||u===void 0?void 0:u.disabled)&&o(p,!1);case"Select":u&&e(p,u);break;case"Tab":!r&&u&&e(p,u);break}})}F();F();F();function Uu(a,l,c){let{state:{open:o,setOpen:e,getOptionById:r},defaultProps:t,activeDescendantController:h}=c,Z=G(""),[i,n]=a2(),v=(p,M={startFromNext:!1})=>{let{startFromNext:u}=M,A=h.active(),V=h.find((H)=>{let g=r(H);return!!g&&p(g.text)},{startFrom:u?h.next({passive:!0}):A});if(V)return V;return h.find((H)=>{let g=r(H);return!!g&&p(g.text)})},d=()=>{if(v((p)=>{return p.toLocaleLowerCase().indexOf(Z.current)===0},{startFromNext:Z.current.length===1}))return;if(SR(Z.current)&&v((p)=>{return p.toLocaleLowerCase().indexOf(Z.current[0])===0},{startFromNext:!0}))return;h.blur()},m=(p)=>{if(n(),oa(p)==="Type"){if(Z.current+=p.key.toLowerCase(),i(()=>{Z.current=""},500),o)d();!o&&e(p,!0)}},s=yu(a,l,{state:c.state,defaultProps:t,elementType:"button",activeDescendantController:h});return s.onKeyDown=K1(m,s.onKeyDown),s}function SR(a){for(let l=1;l<a.length;l++)if(a[l]!==a[l-1])return!1;return!0}var Fl=(a,l)=>{var c;a=P5(a,{supportsLabelFor:!0,supportsSize:!0});let{listboxRef:o,activeParentRef:e,controller:r}=J6({matchOption:(Q)=>Q.classList.contains(N7.root)}),t=Du({...a,activeDescendantController:r,freeform:!1}),{clearable:h,clearSelection:Z,disabled:i,hasFocus:n,multiselect:v,open:d,selectedOptions:m,setOpen:s}=t,{primary:p,root:M}=t7({props:a,primarySlotTagName:"button",excludedPropNames:["children"]}),[u,A]=wu(a),V=G(null),H=ku(a.listbox,R1(u,o),{state:t,triggerRef:V,defaultProps:{children:a.children}}),{targetDocument:g}=M1();k6({element:g,callback:(Q)=>s(Q,!1),refs:[V,u,A],disabled:!d});var S;let C=Uu((S=a.button)!==null&&S!==void 0?S:{},R1(V,e,l),{state:t,defaultProps:{type:"button",tabIndex:p.disabled?void 0:0,children:t.value||a.placeholder,"aria-controls":d?H===null||H===void 0?void 0:H.id:void 0,...p},activeDescendantController:r}),E=w.always(a.root,{defaultProps:{"aria-owns":!a.inlinePopup&&d?H===null||H===void 0?void 0:H.id:void 0,children:a.children,...M},elementType:"div"});E.ref=R1(E.ref,A);let T=m.length>0&&!i&&h&&!v,c1={components:{root:"div",button:"button",clearButton:"button",expandIcon:"span",listbox:S3},root:E,button:C,listbox:d||n?H:void 0,clearButton:w.optional(a.clearButton,{defaultProps:{"aria-label":"Clear selection",children:/*@__PURE__*/e1(KM,null),tabIndex:T?0:void 0,type:"button"},elementType:"button",renderByDefault:!0}),expandIcon:w.optional(a.expandIcon,{renderByDefault:!0,defaultProps:{children:/*@__PURE__*/e1(JM,null)},elementType:"span"}),placeholderVisible:!t.value&&!!a.placeholder,showClearButton:T,activeDescendantController:r,...t},l1=$(K1((c=c1.clearButton)===null||c===void 0?void 0:c.onClick,(Q)=>{var x;Z(Q),(x=V.current)===null||x===void 0||x.focus()}));if(c1.clearButton)c1.clearButton.onClick=l1;if(v)c1.clearButton=void 0;return j(()=>{if(h&&v)console.error('[@fluentui/react-combobox] "clearable" prop is not supported in multiselect mode.')},[h,v]),c1};var xl=(a,l)=>{return P(a),/*@__PURE__*/L(a.root,{children:/*@__PURE__*/L(z6,{value:l.activeDescendant,children:/*@__PURE__*/L(_7.Provider,{value:l.listbox,children:/*@__PURE__*/A1(li.Provider,{value:l.combobox,children:[/*@__PURE__*/A1(a.button,{children:[a.button.children,a.expandIcon&&/*@__PURE__*/L(a.expandIcon,{})]}),a.clearButton&&/*@__PURE__*/L(a.clearButton,{}),a.listbox&&(a.inlinePopup?/*@__PURE__*/L(a.listbox,{}):/*@__PURE__*/L(L2,{mountNode:a.mountNode,children:/*@__PURE__*/L(a.listbox,{})}))]})})})})};var D3={root:"fui-Dropdown",button:"fui-Dropdown__button",clearButton:"fui-Dropdown__clearButton",expandIcon:"fui-Dropdown__expandIcon",listbox:"fui-Dropdown__listbox"},DR=/*@__PURE__*/k({root:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5",B7ck84d:"f1ewtqcl",mc9l5x:"ftuwxu6",Bf4jedk:"f1exfvgq",qhf8xq:"f10pi13n",ha4doy:"fmrv4ls",Bbr2w1p:"f14a1fxs",Bduesf4:"f3e99gv",Bpq79vn:"fhljsf7",li1rpt:"f1gw3sf2",Bsft5z2:"f13zj6fq",E3zdtr:"f1mdlcz9",Eqx8gd:["f1a7op3","f1cjjd47"],By385i5:"f1gboi2j",B1piin3:["f1cjjd47","f1a7op3"],Dlnsje:"ffyw7fx",d9w3h3:["f1kp91vd","f1ibwz09"],B3778ie:["f1ibwz09","f1kp91vd"],B1q35kw:0,Bw17bha:0,Bcgy8vk:0,Bjuhk93:"f1mnjydx",Gjdm7m:"f13evtba",b1kco5:"f1yk9hq",Ba2ppi3:"fhwpy7i",F2fol1:"f14ee0xe",lck23g:"f1xhbsuh",df92cz:"fv8e3ye",I188md:"ftb5wc6",umuwi5:"fjw5xc1",Blcqepd:"f1xdyd5c",nplu4u:"fatpbeo",Bioka5o:"fb7uyps",H713fs:"f1cmft4k",B9ooomg:"f1x58t8o",Bercvud:"f1ibeo51",Bz04dq9:"f132nw8t",Budl3uf:"f1htdosj"},listbox:{B7ck84d:"f1ewtqcl",E5pizo:"f1hg901r",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5",Bxyxcbc:"fmmk62d"},listboxCollapsed:{mc9l5x:"fjseox"},inlineListbox:{Bj3rh1h:"f19g0ac"},button:{Bt984gj:"f122n59",De3pzq:"f1c21dwh",Bgfg5da:0,B9xav0g:0,oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"f3bhgqh",B7ck84d:"f1ewtqcl",sj55zd:"f19n0e5",i8kkvl:"f14mj54c",Bceei9c:"f1k6fduh",mc9l5x:"f13qh94s",Bahqtrf:"fk6fouc",Budl1dq:"f12nh0o2",Brf1p80:"f1869bpl",fsow6f:["f1o700av","fes3tcz"],a9b677:"fly5x3f",Brovlpu:"ftqa4ok"},placeholder:{sj55zd:"fxc4j92"},small:{Bahqtrf:"fk6fouc",Be2twd7:"fy9rknc",Bhrd7zp:"figsok6",Bg96gwp:"fwrc4pm",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:["fye6m5k","f3cq2dl"]},medium:{Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:["f14ev680","f58uxzw"]},large:{i8kkvl:"f1rjii52",Bahqtrf:"fk6fouc",Be2twd7:"fod5ikn",Bhrd7zp:"figsok6",Bg96gwp:"faaz57k",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:["f139mn7i","f1v3q0m"]},outline:{De3pzq:"fxugw4r",Bgfg5da:0,B9xav0g:"f1c1zstj",oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"fhz96rm"},outlineInteractive:{Bgoe8wy:"fvcxoqz",Bwzppfd:["f1ub3y4t","f1m52nbi"],oetu4i:"f1l4zc64",gg5e9n:["f1m52nbi","f1ub3y4t"],B6oc9vd:"fvs00aa",ak43y8:["f1assf6x","f4ruux4"],wmxk5l:"f1z0osm6",B50zh58:["f4ruux4","f1assf6x"],Bvq3b66:"f1b473iu",Brahy3i:["f381qr8","ft4skwv"],zoxjo1:"f1qzcrsd",an54nd:["ft4skwv","f381qr8"]},underline:{De3pzq:"f1c21dwh",B9xav0g:0,oivjwe:0,Bn0qgzm:0,Bgfg5da:"f9ez7ne",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"fokr779"},"filled-lighter":{De3pzq:"fxugw4r",Bgfg5da:0,B9xav0g:0,oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"fs2rfia"},"filled-darker":{De3pzq:"f16xq7d1",Bgfg5da:0,B9xav0g:0,oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"fs2rfia"},invalid:{tvckwq:"fs4k3qj",gk2u95:["fcee079","fmyw78r"],hhx65j:"f1fgmyf4",Bxowmz0:["fmyw78r","fcee079"]},invalidUnderline:{hhx65j:"f1fgmyf4"},disabled:{Bceei9c:"fdrzuqr",De3pzq:"f1c21dwh",g2u3we:"f1jj8ep1",h3c5rm:["f15xbau","fy0fskl"],B9xav0g:"f4ikngz",zhjwy3:["fy0fskl","f15xbau"],Bjwas2f:"fg455y9",Bn1d65q:["f1rvyvqg","f14g86mu"],Bxeuatn:"f1cwzwz",n51gp8:["f14g86mu","f1rvyvqg"]},disabledText:{sj55zd:"f1s2aq7o",Bceei9c:"fdrzuqr"},hidden:{mc9l5x:"fjseox"}},{d:[[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],".f1ewtqcl{box-sizing:border-box;}",".ftuwxu6{display:inline-flex;}",".f1exfvgq{min-width:250px;}",".f10pi13n{position:relative;}",".fmrv4ls{vertical-align:middle;}",".f1gw3sf2::after{box-sizing:border-box;}",'.f13zj6fq::after{content:"";}',".f1mdlcz9::after{position:absolute;}",".f1a7op3::after{left:-1px;}",".f1cjjd47::after{right:-1px;}",".f1gboi2j::after{bottom:-1px;}",".ffyw7fx::after{height:max(var(--strokeWidthThick), var(--borderRadiusMedium));}",".f1kp91vd::after{border-bottom-left-radius:var(--borderRadiusMedium);}",".f1ibwz09::after{border-bottom-right-radius:var(--borderRadiusMedium);}",[".f1mnjydx::after{border-bottom:var(--strokeWidthThick) solid var(--colorCompoundBrandStroke);}",{p:-1}],".f13evtba::after{clip-path:inset(calc(100% - 2px) 0 0 0);}",".f1yk9hq::after{transform:scaleX(0);}",".fhwpy7i::after{transition-property:transform;}",".f14ee0xe::after{transition-duration:var(--durationUltraFast);}",".f1xhbsuh::after{transition-delay:var(--curveAccelerateMid);}",".f1hg901r{box-shadow:var(--shadow16);}",[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],".fmmk62d{max-height:80vh;}",".fjseox{display:none;}",".f19g0ac{z-index:1;}",".f122n59{align-items:center;}",".f1c21dwh{background-color:var(--colorTransparentBackground);}",[".f3bhgqh{border:none;}",{p:-2}],".f19n0e5{color:var(--colorNeutralForeground1);}",".f14mj54c{column-gap:var(--spacingHorizontalXXS);}",".f1k6fduh{cursor:pointer;}",".f13qh94s{display:grid;}",".fk6fouc{font-family:var(--fontFamilyBase);}",".f12nh0o2{grid-template-columns:[content] 1fr [icon] auto [end];}",".f1869bpl{justify-content:space-between;}",".f1o700av{text-align:left;}",".fes3tcz{text-align:right;}",".fly5x3f{width:100%;}",".fxc4j92{color:var(--colorNeutralForeground4);}",".fy9rknc{font-size:var(--fontSizeBase200);}",".figsok6{font-weight:var(--fontWeightRegular);}",".fwrc4pm{line-height:var(--lineHeightBase200);}",[".fye6m5k{padding:3px var(--spacingHorizontalSNudge) 3px calc(var(--spacingHorizontalSNudge) + var(--spacingHorizontalXXS));}",{p:-1}],[".f3cq2dl{padding:3px calc(var(--spacingHorizontalSNudge) + var(--spacingHorizontalXXS)) 3px var(--spacingHorizontalSNudge);}",{p:-1}],".fkhj508{font-size:var(--fontSizeBase300);}",".f1i3iumi{line-height:var(--lineHeightBase300);}",[".f14ev680{padding:5px var(--spacingHorizontalMNudge) 5px calc(var(--spacingHorizontalMNudge) + var(--spacingHorizontalXXS));}",{p:-1}],[".f58uxzw{padding:5px calc(var(--spacingHorizontalMNudge) + var(--spacingHorizontalXXS)) 5px var(--spacingHorizontalMNudge);}",{p:-1}],".f1rjii52{column-gap:var(--spacingHorizontalSNudge);}",".fod5ikn{font-size:var(--fontSizeBase400);}",".faaz57k{line-height:var(--lineHeightBase400);}",[".f139mn7i{padding:7px var(--spacingHorizontalM) 7px calc(var(--spacingHorizontalM) + var(--spacingHorizontalSNudge));}",{p:-1}],[".f1v3q0m{padding:7px calc(var(--spacingHorizontalM) + var(--spacingHorizontalSNudge)) 7px var(--spacingHorizontalM);}",{p:-1}],".fxugw4r{background-color:var(--colorNeutralBackground1);}",[".fhz96rm{border:var(--strokeWidthThin) solid var(--colorNeutralStroke1);}",{p:-2}],".f1c1zstj{border-bottom-color:var(--colorNeutralStrokeAccessible);}",[".f9ez7ne{border-bottom:var(--strokeWidthThin) solid var(--colorNeutralStrokeAccessible);}",{p:-1}],[".fokr779{border-radius:0;}",{p:-1}],[".fs2rfia{border:var(--strokeWidthThin) solid transparent;}",{p:-2}],".f16xq7d1{background-color:var(--colorNeutralBackground3);}",[".fs2rfia{border:var(--strokeWidthThin) solid transparent;}",{p:-2}],".fs4k3qj:not(:focus-within),.fs4k3qj:hover:not(:focus-within){border-top-color:var(--colorPaletteRedBorder2);}",".fcee079:not(:focus-within),.fcee079:hover:not(:focus-within){border-right-color:var(--colorPaletteRedBorder2);}",".fmyw78r:not(:focus-within),.fmyw78r:hover:not(:focus-within){border-left-color:var(--colorPaletteRedBorder2);}",".f1fgmyf4:not(:focus-within),.f1fgmyf4:hover:not(:focus-within){border-bottom-color:var(--colorPaletteRedBorder2);}",".fdrzuqr{cursor:not-allowed;}",".f1jj8ep1{border-top-color:var(--colorNeutralStrokeDisabled);}",".f15xbau{border-right-color:var(--colorNeutralStrokeDisabled);}",".fy0fskl{border-left-color:var(--colorNeutralStrokeDisabled);}",".f4ikngz{border-bottom-color:var(--colorNeutralStrokeDisabled);}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}"],w:[".f14a1fxs:focus-within{outline-width:2px;}",".f3e99gv:focus-within{outline-style:solid;}",".fhljsf7:focus-within{outline-color:transparent;}",".fjw5xc1:focus-within::after{transform:scaleX(1);}",".f1xdyd5c:focus-within::after{transition-property:transform;}",".fatpbeo:focus-within::after{transition-duration:var(--durationNormal);}",".fb7uyps:focus-within::after{transition-delay:var(--curveDecelerateMid);}",".f1ibeo51:focus-within:active::after{border-bottom-color:var(--colorCompoundBrandStrokePressed);}",".f1b473iu:focus-within{border-top-color:var(--colorNeutralStroke1Pressed);}",".f381qr8:focus-within{border-right-color:var(--colorNeutralStroke1Pressed);}",".ft4skwv:focus-within{border-left-color:var(--colorNeutralStroke1Pressed);}",".f1qzcrsd:focus-within{border-bottom-color:var(--colorNeutralStrokeAccessiblePressed);}"],m:[["@media screen and (prefers-reduced-motion: reduce){.fv8e3ye::after{transition-duration:0.01ms;}}",{m:"screen and (prefers-reduced-motion: reduce)"}],["@media screen and (prefers-reduced-motion: reduce){.ftb5wc6::after{transition-delay:0.01ms;}}",{m:"screen and (prefers-reduced-motion: reduce)"}],["@media screen and (prefers-reduced-motion: reduce){.f1cmft4k:focus-within::after{transition-duration:0.01ms;}}",{m:"screen and (prefers-reduced-motion: reduce)"}],["@media screen and (prefers-reduced-motion: reduce){.f1x58t8o:focus-within::after{transition-delay:0.01ms;}}",{m:"screen and (prefers-reduced-motion: reduce)"}],["@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)"}]],t:["@supports selector(:has(*)){.f132nw8t:has(.fui-Dropdown__clearButton:focus)::after{border-bottom-color:initial;}}","@supports selector(:has(*)){.f1htdosj:has(.fui-Dropdown__clearButton:focus)::after{transform:scaleX(0);}}"],f:[".ftqa4ok:focus{outline-style:none;}"],h:[".fvcxoqz:hover{border-top-color:var(--colorNeutralStroke1Hover);}",".f1ub3y4t:hover{border-right-color:var(--colorNeutralStroke1Hover);}",".f1m52nbi:hover{border-left-color:var(--colorNeutralStroke1Hover);}",".f1l4zc64:hover{border-bottom-color:var(--colorNeutralStrokeAccessibleHover);}"],a:[".fvs00aa:active{border-top-color:var(--colorNeutralStroke1Pressed);}",".f1assf6x:active{border-right-color:var(--colorNeutralStroke1Pressed);}",".f4ruux4:active{border-left-color:var(--colorNeutralStroke1Pressed);}",".f1z0osm6:active{border-bottom-color:var(--colorNeutralStrokeAccessiblePressed);}"]}),wR=/*@__PURE__*/k({icon:{B7ck84d:"f1ewtqcl",sj55zd:"fxkbij4",mc9l5x:"ftgm304",Be2twd7:"f1pp30po",Br312pm:"f12w6cgp",Bw0ie65:"f8bv1bt",Bo70h7d:"fvc9v3g"},small:{Be2twd7:"f4ybsrx",Frg6f3:["f1h9en5y","f1xk557c"]},medium:{Be2twd7:"fe5j1ua",Frg6f3:["f1h9en5y","f1xk557c"]},large:{Be2twd7:"f1rt2boy",Frg6f3:["f1t5qyk5","f1ikr372"]},disabled:{sj55zd:"f1s2aq7o"}},{d:[".f1ewtqcl{box-sizing:border-box;}",".fxkbij4{color:var(--colorNeutralStrokeAccessible);}",".ftgm304{display:block;}",".f1pp30po{font-size:var(--fontSizeBase500);}",".f12w6cgp{grid-column-start:icon;}",".f8bv1bt{grid-column-end:end;}",".fvc9v3g svg{display:block;}",".f4ybsrx{font-size:16px;}",".f1h9en5y{margin-left:var(--spacingHorizontalXXS);}",".f1xk557c{margin-right:var(--spacingHorizontalXXS);}",".fe5j1ua{font-size:20px;}",".f1rt2boy{font-size:24px;}",".f1t5qyk5{margin-left:var(--spacingHorizontalSNudge);}",".f1ikr372{margin-right:var(--spacingHorizontalSNudge);}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}"]}),kR=/*@__PURE__*/N("rticfuj","r1vp6jef",{r:[".rticfuj{align-self:center;background-color:var(--colorTransparentBackground);border:none;cursor:pointer;height:fit-content;margin:0;margin-right:var(--spacingHorizontalMNudge);padding:0;position:relative;}",".rticfuj:focus{outline-style:none;}",".rticfuj:focus-visible{outline-style:none;}",".rticfuj[data-fui-focus-visible]{border-top-color:transparent;border-right-color:transparent;border-bottom-color:transparent;border-left-color:transparent;}",'.rticfuj[data-fui-focus-visible]::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);top:calc(2px * -1);right:calc(2px * -1);bottom:calc(2px * -1);left:calc(2px * -1);}',".r1vp6jef{align-self:center;background-color:var(--colorTransparentBackground);border:none;cursor:pointer;height:fit-content;margin:0;margin-left:var(--spacingHorizontalMNudge);padding:0;position:relative;}",".r1vp6jef:focus{outline-style:none;}",".r1vp6jef:focus-visible{outline-style:none;}",".r1vp6jef[data-fui-focus-visible]{border-top-color:transparent;border-left-color:transparent;border-bottom-color:transparent;border-right-color:transparent;}",'.r1vp6jef[data-fui-focus-visible]::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);top:calc(2px * -1);left:calc(2px * -1);bottom:calc(2px * -1);right:calc(2px * -1);}'],s:["@media (forced-colors: active){.rticfuj[data-fui-focus-visible]::after{border-top-color:Highlight;border-right-color:Highlight;border-bottom-color:Highlight;border-left-color:Highlight;}}","@media (forced-colors: active){.r1vp6jef[data-fui-focus-visible]::after{border-top-color:Highlight;border-left-color:Highlight;border-bottom-color:Highlight;border-right-color:Highlight;}}"]}),Cl=(a)=>{let{appearance:l,open:c,placeholderVisible:o,showClearButton:e,size:r}=a,t=`${a.button["aria-invalid"]}`==="true",h=a.button.disabled,Z=DR(),i=wR(),n=kR();if(a.root.className=D(D3.root,Z.root,Z[l],!h&&l==="outline"&&Z.outlineInteractive,t&&l!=="underline"&&Z.invalid,t&&l==="underline"&&Z.invalidUnderline,h&&Z.disabled,a.root.className),a.button.className=D(D3.button,Z.button,Z[r],o&&Z.placeholder,h&&Z.disabledText,a.button.className),a.listbox)a.listbox.className=D(D3.listbox,Z.listbox,a.inlinePopup&&Z.inlineListbox,!c&&Z.listboxCollapsed,a.listbox.className);if(a.expandIcon)a.expandIcon.className=D(D3.expandIcon,i.icon,i[r],h&&i.disabled,e&&Z.hidden,a.expandIcon.className);if(a.clearButton)a.clearButton.className=D(D3.clearButton,n,i.icon,i[r],h&&i.disabled,!e&&Z.hidden,a.clearButton.className);return a};var y4=/*@__PURE__*/I((a,l)=>{let c=Fl(a,l),o=ci(c);return Cl(c),z("useDropdownStyles_unstable")(c),xl(c,o)});y4.displayName="Dropdown";F();var Ll=(a)=>{return P(a),/*@__PURE__*/L(a.root,{children:a.root.children!==void 0&&/*@__PURE__*/L(a.wrapper,{children:a.root.children})})};F();var Rl=(a,l)=>{let{alignContent:c="center",appearance:o="default",inset:e=!1,vertical:r=!1,wrapper:t}=a,h=N1("divider-");return{alignContent:c,appearance:o,inset:e,vertical:r,components:{root:"div",wrapper:"div"},root:w.always(a1("div",{role:"separator","aria-orientation":r?"vertical":"horizontal","aria-labelledby":a.children?h:void 0,...a,ref:l}),{elementType:"div"}),wrapper:w.always(t,{defaultProps:{id:h,children:a.children},elementType:"div"})}};var Sl={root:"fui-Divider",wrapper:"fui-Divider__wrapper"};var yR=/*@__PURE__*/k({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);}"]}),UR=/*@__PURE__*/k({base:{a9b677:"fly5x3f",Bdkvgpv:"f163fonl",B0qfbqy:"f51yk4v",pbipgd:"f13rof3u",Bm2nyyq:"f8rth92",xrcqlc:"f6czdpx",i5u598:"f1iyka9k"},inset:{uwmqm3:["fjlbh76","f11qrl6u"],z189sj:["f11qrl6u","fjlbh76"]},start:{fsow6f:["f1o700av","fes3tcz"],Ftih45:"f1wl9k8s",Bicfajf:["f1ojjlep","fk1kexq"],Bxwl2t9:"f1he2m4d",jwcpgy:["f12w1bnb","f1558wlj"]},center:{fsow6f:"f17mccla",Bicfajf:["f1ojjlep","fk1kexq"],jwcpgy:["f12w1bnb","f1558wlj"]},end:{fsow6f:["fes3tcz","f1o700av"],Bicfajf:["f1ojjlep","fk1kexq"],Bsft5z2:"f13zj6fq",jwcpgy:["f12w1bnb","f1558wlj"],Iy66sp:"f1ayce8x"}},{d:[".fly5x3f{width:100%;}",".f163fonl::before{border-top-style:solid;}",".f51yk4v::before{border-top-width:var(--strokeWidthThin);}",".f13rof3u::before{min-width:8px;}",".f8rth92::after{border-top-style:solid;}",".f6czdpx::after{border-top-width:var(--strokeWidthThin);}",".f1iyka9k::after{min-width:8px;}",".fjlbh76{padding-left:12px;}",".f11qrl6u{padding-right:12px;}",".f1o700av{text-align:left;}",".fes3tcz{text-align:right;}",'.f1wl9k8s::before{content:"";}',".f1ojjlep::before{margin-right:12px;}",".fk1kexq::before{margin-left:12px;}",".f1he2m4d::before{max-width:8px;}",".f12w1bnb::after{margin-left:12px;}",".f1558wlj::after{margin-right:12px;}",".f17mccla{text-align:center;}",'.f13zj6fq::after{content:"";}',".f1ayce8x::after{max-width:8px;}"]}),GR=/*@__PURE__*/k({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;}"]}),Dl=(a)=>{let l=yR(),c=UR(),o=GR(),{alignContent:e,appearance:r,inset:t,vertical:h}=a;if(a.root.className=D(Sl.root,l.base,l[e],r&&l[r],!h&&c.base,!h&&t&&c.inset,!h&&c[e],h&&o.base,h&&t&&o.inset,h&&o[e],h&&a.root.children!==void 0&&o.withChildren,a.root.children===void 0&&l.childless,a.root.className),a.wrapper)a.wrapper.className=D(Sl.wrapper,a.wrapper.className);return a};var z5=/*@__PURE__*/I((a,l)=>{let c=Rl(a,l);return Dl(c),z("useDividerStyles_unstable")(c),Ll(c)});z5.displayName="Divider";F();F();var wl=(a,l)=>{a=P5(a,{supportsLabelFor:!0,supportsRequired:!0,supportsSize:!0});let c=R6();var o;let{size:e="medium",appearance:r=(o=c.inputDefaultAppearance)!==null&&o!==void 0?o:"outline",onChange:t}=a;if(r==="filled-darker-shadow"||r==="filled-lighter-shadow")console.error("The 'filled-darker-shadow' and 'filled-lighter-shadow' appearances are deprecated and will be removed in the future.");let[h,Z]=Y0({state:a.value,defaultState:a.defaultValue,initialState:""}),i=t7({props:a,primarySlotTagName:"input",excludedPropNames:["size","onChange","value","defaultValue"]}),n={size:e,appearance:r,components:{root:"span",input:"input",contentBefore:"span",contentAfter:"span"},input:w.always(a.input,{defaultProps:{type:"text",ref:l,...i.primary},elementType:"input"}),contentAfter:w.optional(a.contentAfter,{elementType:"span"}),contentBefore:w.optional(a.contentBefore,{elementType:"span"}),root:w.always(a.root,{defaultProps:i.root,elementType:"span"})};return n.input.value=h,n.input.onChange=$((v)=>{let d=v.target.value;t===null||t===void 0||t(v,{value:d}),Z(d)}),n};var kl=(a)=>{return P(a),/*@__PURE__*/A1(a.root,{children:[a.contentBefore&&/*@__PURE__*/L(a.contentBefore,{}),/*@__PURE__*/L(a.input,{}),a.contentAfter&&/*@__PURE__*/L(a.contentAfter,{})]})};var U4={root:"fui-Input",input:"fui-Input__input",contentBefore:"fui-Input__contentBefore",contentAfter:"fui-Input__contentAfter"};var K41={root:{small:c0.spacingHorizontalSNudge,medium:c0.spacingHorizontalMNudge,large:c0.spacingHorizontalM},input:{small:c0.spacingHorizontalXXS,medium:c0.spacingHorizontalXXS,large:c0.spacingHorizontalSNudge},combined:{small:c0.spacingHorizontalS,medium:c0.spacingHorizontalM,large:`calc(${c0.spacingHorizontalM} + ${c0.spacingHorizontalSNudge})`}},BR=/*@__PURE__*/N("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;}}"]}),TR=/*@__PURE__*/k({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;}"]}),bR=/*@__PURE__*/N("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;}"]),OR=/*@__PURE__*/k({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);}"]}),ER=/*@__PURE__*/N("r1572tok",null,[".r1572tok{box-sizing:border-box;color:var(--colorNeutralForeground3);display:flex;}",".r1572tok>svg{font-size:20px;}"]),WR=/*@__PURE__*/k({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;}"]}),yl=(a)=>{let{size:l,appearance:c}=a,o=a.input.disabled,e=`${a.input["aria-invalid"]}`==="true",r=c.startsWith("filled"),t=TR(),h=OR(),Z=WR();a.root.className=D(U4.root,BR(),t[l],a.contentBefore&&t[`${l}WithContentBefore`],a.contentAfter&&t[`${l}WithContentAfter`],t[c],!o&&c==="outline"&&t.outlineInteractive,!o&&c==="underline"&&t.underlineInteractive,!o&&r&&t.filledInteractive,r&&t.filled,!o&&e&&t.invalid,o&&t.disabled,a.root.className),a.input.className=D(U4.input,bR(),h[l],a.contentBefore&&h[`${l}WithContentBefore`],a.contentAfter&&h[`${l}WithContentAfter`],o&&h.disabled,a.input.className);let i=[ER(),o&&Z.disabled,Z[l]];if(a.contentBefore)a.contentBefore.className=D(U4.contentBefore,...i,a.contentBefore.className);if(a.contentAfter)a.contentAfter.className=D(U4.contentAfter,...i,a.contentAfter.className);return a};var n5=/*@__PURE__*/I((a,l)=>{let c=wl(a,l);return yl(c),z("useInputStyles_unstable")(c),kl(c)});n5.displayName="Input";F();F();F();var Ul=(a)=>{let{disabled:l,disabledFocusable:c}=a,{onClick:o,onKeyDown:e,role:r,tabIndex:t}=a.root;if(a.root.as==="a"){if(a.root.href=l?void 0:a.root.href,l||c)a.root.role=r||"link"}if(a.root.as==="a"||a.root.as==="span")a.root.tabIndex=t!==null&&t!==void 0?t:l&&!c?void 0:0;if(a.root.onClick=(h)=>{if(l||c)h.preventDefault();else o===null||o===void 0||o(h)},a.root.onKeyDown=(h)=>{let Z=h.key===d7||h.key===q5;if((l||c)&&Z)h.preventDefault(),h.stopPropagation();else if(e===null||e===void 0||e(h),a.root.as==="span"&&!!a.root.onClick&&!e&&Z)h.preventDefault(),h.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};F();var Gu=v1(void 0),ri={inline:!1},Qe=Gu.Provider,Je=()=>{var a;return(a=t1(Gu))!==null&&a!==void 0?a:ri};var Gl=(a,l)=>{let c=S6(),{inline:o}=Je(),{appearance:e="default",disabled:r=!1,disabledFocusable:t=!1,inline:h=!1}=a,Z=a.as||(a.href?"a":"button"),i={role:Z==="span"?"button":void 0,type:Z==="button"?"button":void 0,...a,as:Z},n={appearance:e,disabled:r,disabledFocusable:t,inline:h!==null&&h!==void 0?h:!!o,components:{root:Z},root:w.always(a1(Z,{ref:l,...i}),{elementType:Z}),backgroundAppearance:c};return Ul(n),n};var Ke={root:"fui-Link"},IR=/*@__PURE__*/k({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:"f179xftw",Bi91k9c:"f1sk1dtk",lj723h:"f182g21t"}},{d:[".fhgqx19[data-fui-focus-visible]{text-decoration-color:var(--colorStrokeFocus2);}",".f1olyrje[data-fui-focus-visible]{text-decoration-line:underline;}",".f1p93eir[data-fui-focus-visible]{text-decoration-style:double;}",".f1nev41a[data-fui-focus-visible]{outline-style:none;}",".f3rmtva{background-color:transparent;}",".f1ewtqcl{box-sizing:border-box;}",".fyind8e{color:var(--colorBrandForegroundLink);}",".f1k6fduh{cursor:pointer;}",".f1w7gpdv{display:inline;}",".fk6fouc{font-family:var(--fontFamilyBase);}",".fkhj508{font-size:var(--fontSizeBase300);}",".figsok6{font-weight:var(--fontWeightRegular);}",[".f1s184ao{margin:0;}",{p:-1}],[".f1mk8lai{padding:0;}",{p:-1}],[".fnbmjn9{overflow:inherit;}",{p:-1}],".f1o700av{text-align:left;}",".fes3tcz{text-align:right;}",".f1iuv45f{text-decoration-line:none;}",".f1cmlufx{text-decoration-thickness:var(--strokeWidthThin);}",".f9n3di6{text-overflow:inherit;}",".f1ids18y{-webkit-user-select:text;-moz-user-select:text;user-select:text;}",".f1ern45e{border-top-style:none;}",".f1n71otn{border-right-style:none;}",".f1deefiw{border-left-style:none;}",".f1h8hb77{border-bottom-style:none;}",".fjoy568{font-size:inherit;}",".fkfq4zb{color:var(--colorNeutralForeground2);}",".f13mvf36{text-decoration-line:underline;}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".fdrzuqr{cursor:not-allowed;}",".f179xftw{color:var(--colorNeutralForegroundInvertedLink);}"],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);}",".f1sk1dtk:hover{color:var(--colorNeutralForegroundInvertedLinkHover);}"],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);}",".f182g21t:active{color:var(--colorNeutralForegroundInvertedLinkPressed);}"]}),Bl=(a)=>{let l=IR(),{appearance:c,disabled:o,inline:e,root:r,backgroundAppearance:t}=a;return a.root.className=D(Ke.root,l.root,l.focusIndicator,r.as==="a"&&r.href&&l.href,r.as==="button"&&l.button,c==="subtle"&&l.subtle,t==="inverted"&&l.inverted,e&&l.inline,o&&l.disabled,a.root.className),a};var Tl=(a)=>{return P(a),/*@__PURE__*/L(a.root,{})};var W0=/*@__PURE__*/I((a,l)=>{let c=Gl(a,l);return Bl(c),z("useLinkStyles_unstable")(c),Tl(c)});W0.displayName="Link";F();F();F();var Bu=v1(void 0),qR={},U61=Bu.Provider,Tu=()=>{var a;return(a=t1(Bu))!==null&&a!==void 0?a:qR};var bl=(a,l)=>{let{size:c}=Tu(),{appearance:o="primary",labelPosition:e="after",size:r=c!==null&&c!==void 0?c:"medium",delay:t=0}=a,h=N1("spinner"),{role:Z="progressbar",...i}=a,n=w.always(a1("div",{ref:l,role:Z,...i},["size"]),{elementType:"div"}),[v,d]=h1(!1),[m,s]=a2();j(()=>{if(t<=0)return;return m(()=>{d(!0)},t),()=>{s()}},[m,s,t]);let p=w.optional(a.label,{defaultProps:{id:h},renderByDefault:!1,elementType:S0}),M=w.optional(a.spinner,{renderByDefault:!0,elementType:"span"});if(p&&n&&!n["aria-labelledby"])n["aria-labelledby"]=p.id;return{appearance:o,delay:t,labelPosition:e,size:r,shouldRenderSpinner:!t||v,components:{root:"div",spinner:"span",spinnerTail:"span",label:S0},root:n,spinner:M,spinnerTail:w.always(a.spinnerTail,{elementType:"span"}),label:p}};var Ol=(a)=>{P(a);let{labelPosition:l,shouldRenderSpinner:c}=a;return/*@__PURE__*/A1(a.root,{children:[a.label&&c&&(l==="above"||l==="before")&&/*@__PURE__*/L(a.label,{}),a.spinner&&c&&/*@__PURE__*/L(a.spinner,{children:a.spinnerTail&&/*@__PURE__*/L(a.spinnerTail,{})}),a.label&&c&&(l==="below"||l==="after")&&/*@__PURE__*/L(a.label,{})]})};var G4={root:"fui-Spinner",spinner:"fui-Spinner__spinner",spinnerTail:"fui-Spinner__spinnerTail",label:"fui-Spinner__label"};var PR=/*@__PURE__*/N("r82apo5",null,[".r82apo5{display:flex;align-items:center;justify-content:center;line-height:0;gap:8px;overflow:hidden;}"]),zR=/*@__PURE__*/k({vertical:{Beiy3e4:"f1vx9l62"}},{d:[".f1vx9l62{flex-direction:column;}"]}),QR=/*@__PURE__*/N("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;}}"]}),JR=/*@__PURE__*/N("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;}}"]}),KR=/*@__PURE__*/k({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)"}]]}),$R=/*@__PURE__*/k({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);}"]}),El=(a)=>{let{labelPosition:l,size:c,appearance:o}=a,{dir:e}=M1(),r=PR(),t=zR(),h=QR(),Z=KR(),i=JR(),n=$R();if(a.root.className=D(G4.root,r,(l==="above"||l==="below")&&t.vertical,a.root.className),a.spinner)a.spinner.className=D(G4.spinner,h,Z[c],o==="inverted"&&Z.inverted,a.spinner.className);if(a.spinnerTail)a.spinnerTail.className=D(G4.spinnerTail,i,e==="rtl"&&Z.rtlTail,a.spinnerTail.className);if(a.label)a.label.className=D(G4.label,n[c],o==="inverted"&&n.inverted,a.label.className);return a};var Q5=/*@__PURE__*/I((a,l)=>{let c=bl(a,l);return El(c),z("useSpinnerStyles_unstable")(c),Ol(c)});Q5.displayName="Spinner";F();F();var Wl=(a,l)=>{a=P5(a,{supportsLabelFor:!0,supportsRequired:!0});let{checked:c,defaultChecked:o,disabled:e,labelPosition:r="after",onChange:t,required:h}=a,Z=t7({props:a,primarySlotTagName:"input",excludedPropNames:["checked","defaultChecked","onChange"]}),i=N1("switch-",Z.primary.id),n=w.always(a.root,{defaultProps:{ref:H2(),...Z.root},elementType:"div"}),v=w.always(a.indicator,{defaultProps:{"aria-hidden":!0,children:/*@__PURE__*/e1(de,null)},elementType:"div"}),d=w.always(a.input,{defaultProps:{checked:c,defaultChecked:o,id:i,ref:l,role:"switch",type:"checkbox",...Z.primary},elementType:"input"});d.onChange=K1(d.onChange,(s)=>t===null||t===void 0?void 0:t(s,{checked:s.currentTarget.checked}));let m=w.optional(a.label,{defaultProps:{disabled:e,htmlFor:i,required:h,size:"medium"},elementType:S0});return{labelPosition:r,components:{root:"div",indicator:"div",input:"input",label:S0},root:n,indicator:v,input:d,label:m}};var Il=(a)=>{P(a);let{labelPosition:l}=a;return/*@__PURE__*/A1(a.root,{children:[/*@__PURE__*/L(a.input,{}),l!=="after"&&a.label&&/*@__PURE__*/L(a.label,{}),/*@__PURE__*/L(a.indicator,{}),l==="after"&&a.label&&/*@__PURE__*/L(a.label,{})]})};var w3={root:"fui-Switch",indicator:"fui-Switch__indicator",input:"fui-Switch__input",label:"fui-Switch__label"},bu=w3.root,YR=2,XR=20;var ma1=XR-YR,NR=/*@__PURE__*/N("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;}}"]}),jR=/*@__PURE__*/k({vertical:{Beiy3e4:"f1vx9l62"}},{d:[".f1vx9l62{flex-direction:column;}"]}),aS=/*@__PURE__*/N("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;}}"]}),lS=/*@__PURE__*/k({labelAbove:{B6of3ja:"f1hu3pq6"}},{d:[".f1hu3pq6{margin-top:0;}"]}),cS=/*@__PURE__*/N("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;}}"]}),oS=/*@__PURE__*/k({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%;}"]}),eS=/*@__PURE__*/k({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);}"]}),ql=(a)=>{let l=NR(),c=jR(),o=aS(),e=lS(),r=cS(),t=oS(),h=eS(),{label:Z,labelPosition:i}=a;if(a.root.className=D(w3.root,l,i==="above"&&c.vertical,a.root.className),a.indicator.className=D(w3.indicator,o,Z&&i==="above"&&e.labelAbove,a.indicator.className),a.input.className=D(w3.input,r,Z&&t[i],a.input.className),a.label)a.label.className=D(w3.label,h.base,h[i],a.label.className);return a};var D0=/*@__PURE__*/I((a,l)=>{let c=Wl(a,l);return ql(c),z("useSwitchStyles_unstable")(c),Il(c)});D0.displayName="Switch";F();F();var k3=(a,l)=>{let{wrap:c,truncate:o,block:e,italic:r,underline:t,strikethrough:h,size:Z,font:i,weight:n,align:v}=a;return{align:v!==null&&v!==void 0?v:"start",block:e!==null&&e!==void 0?e:!1,font:i!==null&&i!==void 0?i:"base",italic:r!==null&&r!==void 0?r:!1,size:Z!==null&&Z!==void 0?Z:300,strikethrough:h!==null&&h!==void 0?h:!1,truncate:o!==null&&o!==void 0?o:!1,underline:t!==null&&t!==void 0?t:!1,weight:n!==null&&n!==void 0?n:"regular",wrap:c!==null&&c!==void 0?c:!0,components:{root:"span"},root:w.always(a1("span",{ref:l,...a}),{elementType:"span"})}};var y3=(a)=>{return P(a),/*@__PURE__*/L(a.root,{})};var Pl={root:"fui-Text"},rS=/*@__PURE__*/k({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=rS();return a.root.className=D(Pl.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 r2=/*@__PURE__*/I((a,l)=>{let c=k3(a,l);return U3(c),z("useTextStyles_unstable")(c),y3(c)});r2.displayName="Text";F();F();function u7(a){let{useStyles:l,className:c,displayName:o}=a,e=I((r,t)=>{let h=l(),Z=k3(r,t);return U3(Z),Z.root.className=D(c,Z.root.className,h.root,r.className),y3(Z)});return e.displayName=o,e}var zl={root:"fui-Body1"},Ou=/*@__PURE__*/k({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 t2=u7({useStyles:Ou,className:zl.root,displayName:"Body1"});F();var Ql={root:"fui-Body1Strong"},Eu=/*@__PURE__*/k({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 ea=u7({useStyles:Eu,className:Ql.root,displayName:"Body1Strong"});F();var Jl={root:"fui-Subtitle1"},Wu=/*@__PURE__*/k({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 ra=u7({useStyles:Wu,className:Jl.root,displayName:"Subtitle1"});F();var Kl={root:"fui-Subtitle2"},Iu=/*@__PURE__*/k({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 d5=u7({useStyles:Iu,className:Kl.root,displayName:"Subtitle2"});F();var $l={root:"fui-Title2"},qu=/*@__PURE__*/k({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 ta=u7({useStyles:qu,className:$l.root,displayName:"Title2"});F();F();F();var Pu=/*@__PURE__*/N("r6pzz3z",null,[".r6pzz3z{overflow-y:hidden;overflow-y:clip;scrollbar-gutter:stable;}"]),zu=/*@__PURE__*/N("r144vlu9",null,[".r144vlu9{overflow-y:hidden;}"]);function Qu(){let a=Pu(),l=zu(),{targetDocument:c}=M1(),o=q(()=>{var r;if(!c)return;var t;if(!(Math.floor(c.body.getBoundingClientRect().height)>((t=(r=c.defaultView)===null||r===void 0?void 0:r.innerHeight)!==null&&t!==void 0?t:0)))return;c.documentElement.classList.add(a),c.body.classList.add(l);return},[c,a,l]),e=q(()=>{if(!c)return;c.documentElement.classList.remove(a),c.body.classList.remove(l)},[c,a,l]);return{disableBodyScroll:o,enableBodyScroll:e}}F();function ti(a,l){let{findFirstFocusable:c}=q7(),{targetDocument:o}=M1(),e=G(null);return j(()=>{if(!a)return;let r=e.current&&c(e.current);if(r)r.focus();else{var t;(t=e.current)===null||t===void 0||t.focus(),console.warn("@fluentui/react-dialog [useFocusFirstElement]:\nA Dialog should have at least one focusable element inside DialogSurface.\nPlease add at least a close button either on `DialogTitle` action slot or inside `DialogActions`")}},[c,a,l,o]),e}F();var tS={open:!1,inertTrapFocus:!1,modalType:"modal",isNestedDialog:!1,dialogRef:{current:null},requestOpenChange(){}},Yl=f2(void 0),Xl=Yl.Provider,I0=(a)=>g3(Yl,(l=tS)=>a(l));F();var hS=!1,hi=v1(void 0),ha=hi.Provider,Nl=()=>{var a;return(a=t1(hi))!==null&&a!==void 0?a:hS};var Ju=[{opacity:0,transform:"scale(0.85) translateZ(0)"},{transform:"scale(1) translateZ(0)",opacity:1}],Zi=S5({enter:{keyframes:Ju,easing:O1.curveDecelerateMid,duration:O1.durationGentle},exit:{keyframes:[...Ju].reverse(),easing:O1.curveAccelerateMin,duration:O1.durationGentle}});var jl=(a)=>{let{children:l,modalType:c="modal",onOpenChange:o,inertTrapFocus:e=!1}=a,[r,t]=ZS(l),[h,Z]=Y0({state:a.open,defaultState:a.defaultOpen,initialState:!1}),i=$((s)=>{if(o===null||o===void 0||o(s.event,s),!s.event.isDefaultPrevented())Z(s.open)}),n=ti(h,c),{modalAttributes:v,triggerAttributes:d}=V2({trapFocus:c!=="non-modal",legacyTrapFocus:!e}),m=_4(Yl);return{components:{surfaceMotion:Zi},inertTrapFocus:e,open:h,modalType:c,content:t,trigger:r,requestOpenChange:i,dialogTitleId:N1("dialog-title-"),isNestedDialog:m,dialogRef:n,modalAttributes:v,triggerAttributes:d,surfaceMotion:H4(a.surfaceMotion,{elementType:Zi,defaultProps:{appear:!0,visible:h,unmountOnExit:!0}})}};function ZS(a){let l=e7.toArray(a);if(l.length!==1&&l.length!==2)console.warn(`@fluentui/react-dialog [useDialog]:
|
|
140
140
|
Dialog must contain at least one child <DialogSurface/>,
|
|
141
|
-
and at most two children <DialogTrigger/> <DialogSurface/> (in this order).`);switch(l.length){case 2:return l;case 1:return[void 0,l[0]];default:return[void 0,void 0]}}f();f();var P_=/*@__PURE__*/e1(void 0);function q_(){return l1(P_)}var z_=/*@__PURE__*/O((a,l)=>{return/*@__PURE__*/r1(P_.Provider,{value:l},a.children)});var wl=(a,l)=>{return W(a),/*@__PURE__*/L(Ll,{value:l.dialog,children:/*@__PURE__*/F1(W6,{value:l.dialogSurface,children:[a.trigger,a.content&&/*@__PURE__*/L(a.surfaceMotion,{children:/*@__PURE__*/L(z_,{children:a.content})})]})})};function me(a){let{modalType:l,open:c,dialogRef:o,dialogTitleId:e,isNestedDialog:r,inertTrapFocus:t,requestOpenChange:h,modalAttributes:Z,triggerAttributes:i}=a,v={open:c,modalType:l,dialogRef:o,dialogTitleId:e,isNestedDialog:r,inertTrapFocus:t,modalAttributes:Z,triggerAttributes:i,requestOpenChange:h},n=!1;return{dialog:v,dialogSurface:!1}}var R5=/*@__PURE__*/P8((a)=>{let l=Dl(a),c=me(l);return wl(l,c)});R5.displayName="Dialog";f();f();var Sl=(a)=>{let l=Rl(),{children:c,disableButtonEnhancement:o=!1,action:e=l?"close":"open"}=a,r=Y3(c),t=E0((n)=>n.requestOpenChange),{triggerAttributes:h}=_2(),Z=i1((n)=>{var d,p;if(r===null||r===void 0||(d=(p=r.props).onClick)===null||d===void 0||d.call(p,n),!n.isDefaultPrevented())t({event:n,type:"triggerClick",open:e==="open"})}),i={...r===null||r===void 0?void 0:r.props,ref:r===null||r===void 0?void 0:r.ref,onClick:Z,...h},v=A2((r===null||r===void 0?void 0:r.type)==="button"||(r===null||r===void 0?void 0:r.type)==="a"?r.type:"div",{...i,type:"button"});return{children:M6(c,o?i:v)}};var kl=(a)=>a.children;var W0=(a)=>{let l=Sl(a);return kl(l)};W0.displayName="DialogTrigger";W0.isFluentTriggerComponent=!0;f();f();var yl=(a,l)=>{let{position:c="end",fluid:o=!1}=a;return{components:{root:"div"},root:S.always(N("div",{ref:l,...a}),{elementType:"div"}),position:c,fluid:o}};var Ul=(a)=>{return W(a),/*@__PURE__*/L(a.root,{})};var se={root:"fui-DialogActions"},zL=/*@__PURE__*/Q("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;}}"]}),KL=/*@__PURE__*/k({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)"}]]}),Gl=(a)=>{let l=zL(),c=KL();return a.root.className=R(se.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 F2=/*@__PURE__*/O((a,l)=>{let c=yl(a,l);return Gl(c),P("useDialogActionsStyles_unstable")(c),Ul(c)});F2.displayName="DialogActions";f();f();var Bl=(a,l)=>{var c;return{components:{root:"div"},root:S.always(N((c=a.as)!==null&&c!==void 0?c:"div",{ref:l,...a}),{elementType:"div"})}};var bl=(a)=>{return W(a),/*@__PURE__*/L(a.root,{})};var Me={root:"fui-DialogBody"},JL=/*@__PURE__*/Q("rhwx3p8",null,{r:[".rhwx3p8{overflow:unset;gap:8px;display:grid;max-height:calc(100vh - 2 * 24px);max-height:calc(100dvh - 2 * 24px);box-sizing:border-box;grid-template-rows:auto 1fr;grid-template-columns:1fr 1fr auto;}"],s:["@media screen and (max-width: 480px){.rhwx3p8{max-width:100vw;grid-template-rows:auto 1fr auto;}}","@media screen and (max-height: 359px){.rhwx3p8{max-height:unset;}}"]}),Ol=(a)=>{let l=JL();return a.root.className=R(Me.root,l,a.root.className),a};var x2=/*@__PURE__*/O((a,l)=>{let c=Bl(a,l);return Ol(c),P("useDialogBodyStyles_unstable")(c),bl(c)});x2.displayName="DialogBody";f();f();var I6={root:"fui-DialogTitle",action:"fui-DialogTitle__action"},$L=/*@__PURE__*/Q("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;}"]),QL=/*@__PURE__*/k({rootWithoutAction:{Bw0ie65:"fsyjsko"}},{d:[".fsyjsko{grid-column-end:4;}"]}),YL=/*@__PURE__*/Q("r13kcrze",null,[".r13kcrze{grid-row-start:1;grid-row-end:1;grid-column-start:3;justify-self:end;align-self:start;}"]),_e=/*@__PURE__*/Q("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;}}"]}),H3=(a)=>{let l=$L(),c=YL(),o=QL();if(a.root.className=R(I6.root,l,!a.action&&o.rootWithoutAction,a.root.className),a.action)a.action.className=R(I6.action,c,a.action.className);return a};var Tl=(a,l)=>{let{action:c}=a,o=E0((r)=>r.modalType),e=_e();return{components:{root:"h2",action:"div"},root:S.always(N("h2",{ref:l,id:E0((r)=>r.dialogTitleId),...a}),{elementType:"h2"}),action:S.optional(c,{renderByDefault:o==="non-modal",defaultProps:{children:/*@__PURE__*/r1(W0,{disableButtonEnhancement:!0,action:"close"},/*@__PURE__*/r1("button",{type:"button",className:e,"aria-label":"close"},/*@__PURE__*/r1(oM,null)))},elementType:"div"})}};var El=(a)=>{return W(a),/*@__PURE__*/F1(p1,{children:[/*@__PURE__*/L(a.root,{children:a.root.children}),a.action&&/*@__PURE__*/L(a.action,{})]})};var C2=/*@__PURE__*/O((a,l)=>{let c=Tl(a,l);return H3(c),P("useDialogTitleStyles_unstable")(c),El(c)});C2.displayName="DialogTitle";f();f();var CZ=Yo;var V3=(a,l)=>{let c=q_(),o=E0((s)=>s.modalType),e=E0((s)=>s.isNestedDialog),r=E0((s)=>s.modalAttributes),t=E0((s)=>s.dialogRef),h=E0((s)=>s.requestOpenChange),Z=E0((s)=>s.dialogTitleId),i=E0((s)=>s.open),v=i1((s)=>{if(vo(a.backdrop)){var M,u;(M=(u=a.backdrop).onClick)===null||M===void 0||M.call(u,s)}if(o==="modal"&&!s.isDefaultPrevented())h({event:s,open:!1,type:"backdropClick"})}),n=i1((s)=>{var M;if((M=a.onKeyDown)===null||M===void 0||M.call(a,s),s.key===r4&&!s.isDefaultPrevented())h({event:s,open:!1,type:"escapeKeyDown"}),s.preventDefault()}),d=S.optional(a.backdrop,{renderByDefault:o!=="non-modal",defaultProps:{"aria-hidden":"true"},elementType:"div"});if(d)d.onClick=v;let{disableBodyScroll:p,enableBodyScroll:m}=W_();return W1(()=>{if(e||o==="non-modal")return;return p(),()=>{m()}},[m,e,p,o]),{components:{backdrop:"div",root:"div",backdropMotion:CZ},open:i,backdrop:d,isNestedDialog:e,mountNode:a.mountNode,root:S.always(N("div",{tabIndex:-1,"aria-modal":o!=="non-modal",role:o==="alert"?"alertdialog":"dialog","aria-labelledby":a["aria-label"]?void 0:Z,...a,...r,onKeyDown:n,ref:J1(l,c,t)}),{elementType:"div"}),backdropMotion:h4(a.backdropMotion,{elementType:CZ,defaultProps:{appear:!0,visible:i}}),transitionStatus:void 0}};var f3=(a,l)=>{return W(a),/*@__PURE__*/F1(T7,{mountNode:a.mountNode,children:[a.backdrop&&a.backdropMotion&&/*@__PURE__*/L(a.backdropMotion,{children:/*@__PURE__*/L(a.backdrop,{})}),/*@__PURE__*/L(W6,{value:l.dialogSurface,children:/*@__PURE__*/L(a.root,{})})]})};var Wl={root:"fui-DialogSurface",backdrop:"fui-DialogSurface__backdrop"},XL=/*@__PURE__*/Q("r1u3t6p6","r5coedp",{r:[".r1u3t6p6{inset:0;padding:24px;margin:auto;border-style:none;overflow:unset;border:1px solid var(--colorTransparentStroke);border-radius:var(--borderRadiusXLarge);display:block;-webkit-user-select:unset;-moz-user-select:unset;user-select:unset;visibility:unset;position:fixed;height:fit-content;max-width:600px;max-height:100vh;max-height:100dvh;box-sizing:border-box;background-color:var(--colorNeutralBackground1);color:var(--colorNeutralForeground1);box-shadow:var(--shadow64);}",".r1u3t6p6:focus{outline-style:none;}",".r1u3t6p6:focus-visible{outline-style:none;}",".r1u3t6p6[data-fui-focus-visible]{border-top-color:transparent;border-right-color:transparent;border-bottom-color:transparent;border-left-color:transparent;}",'.r1u3t6p6[data-fui-focus-visible]::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);top:calc(2px * -1);right:calc(2px * -1);bottom:calc(2px * -1);left:calc(2px * -1);}',".r5coedp{inset:0;padding:24px;margin:auto;border-style:none;overflow:unset;border:1px solid var(--colorTransparentStroke);border-radius:var(--borderRadiusXLarge);display:block;-webkit-user-select:unset;-moz-user-select:unset;user-select:unset;visibility:unset;position:fixed;height:fit-content;max-width:600px;max-height:100vh;max-height:100dvh;box-sizing:border-box;background-color:var(--colorNeutralBackground1);color:var(--colorNeutralForeground1);box-shadow:var(--shadow64);}",".r5coedp:focus{outline-style:none;}",".r5coedp:focus-visible{outline-style:none;}",".r5coedp[data-fui-focus-visible]{border-top-color:transparent;border-left-color:transparent;border-bottom-color:transparent;border-right-color:transparent;}",'.r5coedp[data-fui-focus-visible]::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);top:calc(2px * -1);left:calc(2px * -1);bottom:calc(2px * -1);right:calc(2px * -1);}'],s:["@media (forced-colors: active){.r1u3t6p6[data-fui-focus-visible]::after{border-top-color:Highlight;border-right-color:Highlight;border-bottom-color:Highlight;border-left-color:Highlight;}}","@media screen and (max-width: 480px){.r1u3t6p6{max-width:100vw;}}","@media screen and (max-height: 359px){.r1u3t6p6{overflow-y:auto;padding-right:calc(24px - 4px);border-right-width:4px;border-top-width:4px;border-bottom-width:4px;}}","@media (forced-colors: active){.r5coedp[data-fui-focus-visible]::after{border-top-color:Highlight;border-left-color:Highlight;border-bottom-color:Highlight;border-right-color:Highlight;}}","@media screen and (max-width: 480px){.r5coedp{max-width:100vw;}}","@media screen and (max-height: 359px){.r5coedp{overflow-y:auto;padding-left:calc(24px - 4px);border-left-width:4px;border-top-width:4px;border-bottom-width:4px;}}"]}),jL=/*@__PURE__*/Q("r1e18s3l",null,[".r1e18s3l{inset:0px;background-color:var(--colorBackgroundOverlay);position:fixed;}"]),NL=/*@__PURE__*/k({nestedDialogBackdrop:{De3pzq:"f1c21dwh"}},{d:[".f1c21dwh{background-color:var(--colorTransparentBackground);}"]}),Il=(a)=>{let{isNestedDialog:l,root:c,backdrop:o}=a,e=XL(),r=jL(),t=NL();if(c.className=R(Wl.root,e,c.className),o)o.className=R(Wl.backdrop,r,l&&t.nestedDialogBackdrop,o.className);return a};function g3(a){return{dialogSurface:!0}}var L2=/*@__PURE__*/O((a,l)=>{let c=V3(a,l),o=g3(c);return Il(c),P("useDialogSurfaceStyles_unstable")(c),f3(c,o)});L2.displayName="DialogSurface";f();f();var Pl=(a,l)=>{var c;return{components:{root:"div"},root:S.always(N((c=a.as)!==null&&c!==void 0?c:"div",{ref:l,...a}),{elementType:"div"})}};var ql=(a)=>{return W(a),/*@__PURE__*/L(a.root,{})};var ue={root:"fui-DialogContent"},aR=/*@__PURE__*/Q("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;}}"]}),zl=(a)=>{let l=aR();return a.root.className=R(ue.root,l,a.root.className),a};var R2=/*@__PURE__*/O((a,l)=>{let c=Pl(a,l);return zl(c),P("useDialogContentStyles_unstable")(c),ql(c)});R2.displayName="DialogContent";f();f();var LZ=(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 RZ=(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 Kl=(a,l)=>{let c=M4(),o=c===null||c===void 0?void 0:c.validationState,{color:e=o==="error"||o==="warning"||o==="success"?o:"brand",shape:r="rounded",thickness:t="medium"}=a;var h;let Z=LZ((h=a.max)!==null&&h!==void 0?h:1),i=RZ(a.value,Z),v=S.always(N("div",{ref:l,role:"progressbar","aria-valuemin":i!==void 0?0:void 0,"aria-valuemax":i!==void 0?Z:void 0,"aria-valuenow":i,"aria-labelledby":c===null||c===void 0?void 0:c.labelId,...a}),{elementType:"div"});if(c&&(c.validationMessageId||c.hintId))v["aria-describedby"]=[c===null||c===void 0?void 0:c.validationMessageId,c===null||c===void 0?void 0:c.hintId,v["aria-describedby"]].filter(Boolean).join(" ");let n=S.always(a.bar,{elementType:"div"});return{color:e,max:Z,shape:r,thickness:t,value:i,components:{root:"div",bar:"div"},root:v,bar:n}};var Jl=(a)=>{return W(a),/*@__PURE__*/L(a.root,{children:a.bar&&/*@__PURE__*/L(a.bar,{})})};var $l={root:"fui-ProgressBar",bar:"fui-ProgressBar__bar"},lR=0.01;var cR=/*@__PURE__*/k({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)"}]]}),oR=/*@__PURE__*/k({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",B3ks32h:"f2xo07b",B3vm3ge:"f1f2ih6z",Gqtpxc:"f7h4d4t",vr3tzx:"f32r5lb"},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){.f2xo07b{max-width:100%;}}",{m:"screen and (prefers-reduced-motion: reduce)"}],["@media screen and (prefers-reduced-motion: reduce){.f1f2ih6z{animation-iteration-count:infinite;}}",{m:"screen and (prefers-reduced-motion: reduce)"}],["@media screen and (prefers-reduced-motion: reduce){.f7h4d4t{animation-duration:3s;}}",{m:"screen and (prefers-reduced-motion: reduce)"}],["@media screen and (prefers-reduced-motion: reduce){.f32r5lb{animation-name:ftc26vs;}}",{m:"screen and (prefers-reduced-motion: reduce)"}]],d:[[".f12b9xdw{border-radius:inherit;}",{p:-1}],".f1l02sjl{height:100%;}",".fjt6zfz{transition-property:width;}",".f1wofebd{transition-duration:0.3s;}",".fv71qf3{transition-timing-function:ease;}",".fa0wk36{max-width:33%;}",".f10pi13n{position:relative;}",`.fpo0yib{background-image:linear-gradient(
|
|
141
|
+
and at most two children <DialogTrigger/> <DialogSurface/> (in this order).`);switch(l.length){case 2:return l;case 1:return[void 0,l[0]];default:return[void 0,void 0]}}F();F();var Ku=/*@__PURE__*/v1(void 0);function $u(){return t1(Ku)}var Yu=/*@__PURE__*/I((a,l)=>{return/*@__PURE__*/e1(Ku.Provider,{value:l},a.children)});var a9=(a,l)=>{return P(a),/*@__PURE__*/L(Xl,{value:l.dialog,children:/*@__PURE__*/A1(ha,{value:l.dialogSurface,children:[a.trigger,a.content&&/*@__PURE__*/L(a.surfaceMotion,{children:/*@__PURE__*/L(Yu,{children:a.content})})]})})};function $e(a){let{modalType:l,open:c,dialogRef:o,dialogTitleId:e,isNestedDialog:r,inertTrapFocus:t,requestOpenChange:h,modalAttributes:Z,triggerAttributes:i}=a,n={open:c,modalType:l,dialogRef:o,dialogTitleId:e,isNestedDialog:r,inertTrapFocus:t,modalAttributes:Z,triggerAttributes:i,requestOpenChange:h},v=!1;return{dialog:n,dialogSurface:!1}}var k5=/*@__PURE__*/Bo((a)=>{let l=jl(a),c=$e(l);return a9(l,c)});k5.displayName="Dialog";F();F();var l9=(a)=>{let l=Nl(),{children:c,disableButtonEnhancement:o=!1,action:e=l?"close":"open"}=a,r=v4(c),t=I0((v)=>v.requestOpenChange),{triggerAttributes:h}=V2(),Z=$((v)=>{var d,m;if(r===null||r===void 0||(d=(m=r.props).onClick)===null||d===void 0||d.call(m,v),!v.isDefaultPrevented())t({event:v,type:"triggerClick",open:e==="open"})}),i={...r===null||r===void 0?void 0:r.props,ref:s3(r),onClick:Z,...h},n=F2((r===null||r===void 0?void 0:r.type)==="button"||(r===null||r===void 0?void 0:r.type)==="a"?r.type:"div",{...i,type:"button"});return{children:U6(c,o?i:n)}};var c9=(a)=>a.children;var q0=(a)=>{let l=l9(a);return c9(l)};q0.displayName="DialogTrigger";q0.isFluentTriggerComponent=!0;F();F();var o9=(a,l)=>{let{position:c="end",fluid:o=!1}=a;return{components:{root:"div"},root:w.always(a1("div",{ref:l,...a}),{elementType:"div"}),position:c,fluid:o}};var e9=(a)=>{return P(a),/*@__PURE__*/L(a.root,{})};var Ye={root:"fui-DialogActions"},iS=/*@__PURE__*/N("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;}}"]}),vS=/*@__PURE__*/k({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)"}]]}),r9=(a)=>{let l=iS(),c=vS();return a.root.className=D(Ye.root,l,a.position==="start"&&c.gridPositionStart,a.position==="end"&&c.gridPositionEnd,a.fluid&&a.position==="start"&&c.fluidStart,a.fluid&&a.position==="end"&&c.fluidEnd,a.root.className),a};var D2=/*@__PURE__*/I((a,l)=>{let c=o9(a,l);return r9(c),z("useDialogActionsStyles_unstable")(c),e9(c)});D2.displayName="DialogActions";F();F();var t9=(a,l)=>{var c;return{components:{root:"div"},root:w.always(a1((c=a.as)!==null&&c!==void 0?c:"div",{ref:l,...a}),{elementType:"div"})}};var h9=(a)=>{return P(a),/*@__PURE__*/L(a.root,{})};var Xe={root:"fui-DialogBody"},nS=/*@__PURE__*/N("rhwx3p8",null,{r:[".rhwx3p8{overflow:unset;gap:8px;display:grid;max-height:calc(100vh - 2 * 24px);max-height:calc(100dvh - 2 * 24px);box-sizing:border-box;grid-template-rows:auto 1fr;grid-template-columns:1fr 1fr auto;}"],s:["@media screen and (max-width: 480px){.rhwx3p8{max-width:100vw;grid-template-rows:auto 1fr auto;}}","@media screen and (max-height: 359px){.rhwx3p8{max-height:unset;}}"]}),Z9=(a)=>{let l=nS();return a.root.className=D(Xe.root,l,a.root.className),a};var w2=/*@__PURE__*/I((a,l)=>{let c=t9(a,l);return Z9(c),z("useDialogBodyStyles_unstable")(c),h9(c)});w2.displayName="DialogBody";F();F();var Za={root:"fui-DialogTitle",action:"fui-DialogTitle__action"},dS=/*@__PURE__*/N("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;}"]),mS=/*@__PURE__*/k({rootWithoutAction:{Bw0ie65:"fsyjsko"}},{d:[".fsyjsko{grid-column-end:4;}"]}),pS=/*@__PURE__*/N("r13kcrze",null,[".r13kcrze{grid-row-start:1;grid-row-end:1;grid-column-start:3;justify-self:end;align-self:start;}"]),Ne=/*@__PURE__*/N("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;}}"]}),G3=(a)=>{let l=dS(),c=pS(),o=mS();if(a.root.className=D(Za.root,l,!a.action&&o.rootWithoutAction,a.root.className),a.action)a.action.className=D(Za.action,c,a.action.className);return a};var i9=(a,l)=>{let{action:c}=a,o=I0((r)=>r.modalType),e=Ne();return{components:{root:"h2",action:"div"},root:w.always(a1("h2",{ref:l,id:I0((r)=>r.dialogTitleId),...a}),{elementType:"h2"}),action:w.optional(c,{renderByDefault:o==="non-modal",defaultProps:{children:/*@__PURE__*/e1(q0,{disableButtonEnhancement:!0,action:"close"},/*@__PURE__*/e1("button",{type:"button",className:e,"aria-label":"close"},/*@__PURE__*/e1(r_,null)))},elementType:"div"})}};var v9=(a)=>{return P(a),/*@__PURE__*/A1(m1,{children:[/*@__PURE__*/L(a.root,{children:a.root.children}),a.action&&/*@__PURE__*/L(a.action,{})]})};var k2=/*@__PURE__*/I((a,l)=>{let c=i9(a,l);return G3(c),z("useDialogTitleStyles_unstable")(c),v9(c)});k2.displayName="DialogTitle";F();F();var ii=Ce;var B3=(a,l)=>{let c=$u(),o=I0((p)=>p.modalType),e=I0((p)=>p.isNestedDialog),r=I0((p)=>p.modalAttributes),t=I0((p)=>p.dialogRef),h=I0((p)=>p.requestOpenChange),Z=I0((p)=>p.dialogTitleId),i=I0((p)=>p.open),n=$((p)=>{if(C6(a.backdrop)){var M,u;(M=(u=a.backdrop).onClick)===null||M===void 0||M.call(u,p)}if(o==="modal"&&!p.isDefaultPrevented())h({event:p,open:!1,type:"backdropClick"})}),v=$((p)=>{var M;if((M=a.onKeyDown)===null||M===void 0||M.call(a,p),p.key===J7&&!p.isDefaultPrevented())h({event:p,open:!1,type:"escapeKeyDown"}),p.preventDefault()}),d=w.optional(a.backdrop,{renderByDefault:o!=="non-modal",defaultProps:{"aria-hidden":"true"},elementType:"div"});if(d)d.onClick=n;let{disableBodyScroll:m,enableBodyScroll:s}=Qu();return q1(()=>{if(e||o==="non-modal")return;return m(),()=>{s()}},[s,e,m,o]),{components:{backdrop:"div",root:"div",backdropMotion:ii},open:i,backdrop:d,isNestedDialog:e,mountNode:a.mountNode,root:w.always(a1("div",{tabIndex:-1,"aria-modal":o!=="non-modal",role:o==="alert"?"alertdialog":"dialog","aria-labelledby":a["aria-label"]?void 0:Z,...a,...r,onKeyDown:v,ref:R1(l,c,t)}),{elementType:"div"}),backdropMotion:H4(a.backdropMotion,{elementType:ii,defaultProps:{appear:!0,visible:i}}),transitionStatus:void 0}};var T3=(a,l)=>{return P(a),/*@__PURE__*/A1(L2,{mountNode:a.mountNode,children:[a.backdrop&&a.backdropMotion&&/*@__PURE__*/L(a.backdropMotion,{children:/*@__PURE__*/L(a.backdrop,{})}),/*@__PURE__*/L(ha,{value:l.dialogSurface,children:/*@__PURE__*/L(a.root,{})})]})};var n9={root:"fui-DialogSurface",backdrop:"fui-DialogSurface__backdrop"},sS=/*@__PURE__*/N("r1u3t6p6","r5coedp",{r:[".r1u3t6p6{inset:0;padding:24px;margin:auto;border-style:none;overflow:unset;border:1px solid var(--colorTransparentStroke);border-radius:var(--borderRadiusXLarge);display:block;-webkit-user-select:unset;-moz-user-select:unset;user-select:unset;visibility:unset;position:fixed;height:fit-content;max-width:600px;max-height:100vh;max-height:100dvh;box-sizing:border-box;background-color:var(--colorNeutralBackground1);color:var(--colorNeutralForeground1);box-shadow:var(--shadow64);}",".r1u3t6p6:focus{outline-style:none;}",".r1u3t6p6:focus-visible{outline-style:none;}",".r1u3t6p6[data-fui-focus-visible]{border-top-color:transparent;border-right-color:transparent;border-bottom-color:transparent;border-left-color:transparent;}",'.r1u3t6p6[data-fui-focus-visible]::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);top:calc(2px * -1);right:calc(2px * -1);bottom:calc(2px * -1);left:calc(2px * -1);}',".r5coedp{inset:0;padding:24px;margin:auto;border-style:none;overflow:unset;border:1px solid var(--colorTransparentStroke);border-radius:var(--borderRadiusXLarge);display:block;-webkit-user-select:unset;-moz-user-select:unset;user-select:unset;visibility:unset;position:fixed;height:fit-content;max-width:600px;max-height:100vh;max-height:100dvh;box-sizing:border-box;background-color:var(--colorNeutralBackground1);color:var(--colorNeutralForeground1);box-shadow:var(--shadow64);}",".r5coedp:focus{outline-style:none;}",".r5coedp:focus-visible{outline-style:none;}",".r5coedp[data-fui-focus-visible]{border-top-color:transparent;border-left-color:transparent;border-bottom-color:transparent;border-right-color:transparent;}",'.r5coedp[data-fui-focus-visible]::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);top:calc(2px * -1);left:calc(2px * -1);bottom:calc(2px * -1);right:calc(2px * -1);}'],s:["@media (forced-colors: active){.r1u3t6p6[data-fui-focus-visible]::after{border-top-color:Highlight;border-right-color:Highlight;border-bottom-color:Highlight;border-left-color:Highlight;}}","@media screen and (max-width: 480px){.r1u3t6p6{max-width:100vw;}}","@media screen and (max-height: 359px){.r1u3t6p6{overflow-y:auto;padding-right:calc(24px - 4px);border-right-width:4px;border-top-width:4px;border-bottom-width:4px;}}","@media (forced-colors: active){.r5coedp[data-fui-focus-visible]::after{border-top-color:Highlight;border-left-color:Highlight;border-bottom-color:Highlight;border-right-color:Highlight;}}","@media screen and (max-width: 480px){.r5coedp{max-width:100vw;}}","@media screen and (max-height: 359px){.r5coedp{overflow-y:auto;padding-left:calc(24px - 4px);border-left-width:4px;border-top-width:4px;border-bottom-width:4px;}}"]}),MS=/*@__PURE__*/N("r1e18s3l",null,[".r1e18s3l{inset:0px;background-color:var(--colorBackgroundOverlay);position:fixed;}"]),_S=/*@__PURE__*/k({nestedDialogBackdrop:{De3pzq:"f1c21dwh"}},{d:[".f1c21dwh{background-color:var(--colorTransparentBackground);}"]}),d9=(a)=>{let{isNestedDialog:l,root:c,backdrop:o}=a,e=sS(),r=MS(),t=_S();if(c.className=D(n9.root,e,c.className),o)o.className=D(n9.backdrop,r,l&&t.nestedDialogBackdrop,o.className);return a};function b3(a){return{dialogSurface:!0}}var y2=/*@__PURE__*/I((a,l)=>{let c=B3(a,l),o=b3(c);return d9(c),z("useDialogSurfaceStyles_unstable")(c),T3(c,o)});y2.displayName="DialogSurface";F();F();var m9=(a,l)=>{var c;return{components:{root:"div"},root:w.always(a1((c=a.as)!==null&&c!==void 0?c:"div",{ref:l,...a}),{elementType:"div"})}};var p9=(a)=>{return P(a),/*@__PURE__*/L(a.root,{})};var je={root:"fui-DialogContent"},uS=/*@__PURE__*/N("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;}}"]}),s9=(a)=>{let l=uS();return a.root.className=D(je.root,l,a.root.className),a};var U2=/*@__PURE__*/I((a,l)=>{let c=m9(a,l);return s9(c),z("useDialogContentStyles_unstable")(c),p9(c)});U2.displayName="DialogContent";F();F();var vi=(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 ni=(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 M9=(a,l)=>{let c=R4(),o=c===null||c===void 0?void 0:c.validationState,{color:e=o==="error"||o==="warning"||o==="success"?o:"brand",shape:r="rounded",thickness:t="medium"}=a;var h;let Z=vi((h=a.max)!==null&&h!==void 0?h:1),i=ni(a.value,Z),n=w.always(a1("div",{ref:l,role:"progressbar","aria-valuemin":i!==void 0?0:void 0,"aria-valuemax":i!==void 0?Z:void 0,"aria-valuenow":i,"aria-labelledby":c===null||c===void 0?void 0:c.labelId,...a}),{elementType:"div"});if(c&&(c.validationMessageId||c.hintId))n["aria-describedby"]=[c===null||c===void 0?void 0:c.validationMessageId,c===null||c===void 0?void 0:c.hintId,n["aria-describedby"]].filter(Boolean).join(" ");let v=w.always(a.bar,{elementType:"div"});return{color:e,max:Z,shape:r,thickness:t,value:i,components:{root:"div",bar:"div"},root:n,bar:v}};var _9=(a)=>{return P(a),/*@__PURE__*/L(a.root,{children:a.bar&&/*@__PURE__*/L(a.bar,{})})};var u9={root:"fui-ProgressBar",bar:"fui-ProgressBar__bar"},AS=0.01;var HS=/*@__PURE__*/k({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)"}]]}),VS=/*@__PURE__*/k({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",B3ks32h:"f2xo07b",B3vm3ge:"f1f2ih6z",Gqtpxc:"f7h4d4t",vr3tzx:"f32r5lb"},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){.f2xo07b{max-width:100%;}}",{m:"screen and (prefers-reduced-motion: reduce)"}],["@media screen and (prefers-reduced-motion: reduce){.f1f2ih6z{animation-iteration-count:infinite;}}",{m:"screen and (prefers-reduced-motion: reduce)"}],["@media screen and (prefers-reduced-motion: reduce){.f7h4d4t{animation-duration:3s;}}",{m:"screen and (prefers-reduced-motion: reduce)"}],["@media screen and (prefers-reduced-motion: reduce){.f32r5lb{animation-name:ftc26vs;}}",{m:"screen and (prefers-reduced-motion: reduce)"}]],d:[[".f12b9xdw{border-radius:inherit;}",{p:-1}],".f1l02sjl{height:100%;}",".fjt6zfz{transition-property:width;}",".f1wofebd{transition-duration:0.3s;}",".fv71qf3{transition-timing-function:ease;}",".fa0wk36{max-width:33%;}",".f10pi13n{position:relative;}",`.fpo0yib{background-image:linear-gradient(
|
|
142
142
|
to right,
|
|
143
143
|
var(--colorNeutralBackground6) 0%,
|
|
144
144
|
var(--colorTransparentBackground) 50%,
|
|
@@ -148,28 +148,28 @@ and at most two children <DialogTrigger/> <DialogSurface/> (in this order).`);sw
|
|
|
148
148
|
var(--colorNeutralBackground6) 0%,
|
|
149
149
|
var(--colorTransparentBackground) 50%,
|
|
150
150
|
var(--colorNeutralBackground6) 100%
|
|
151
|
-
);}`,".fwd2bol{animation-name:f1keuaan;}",".f14gig94{animation-name:f10x8f8u;}",".f1a27w2r{animation-duration:3s;}",".f452v7t{animation-timing-function:linear;}",".f1cpbl36{animation-iteration-count:infinite;}",".ftywsgz{background-color:var(--colorCompoundBrandBackground);}",".fdl5y0r{background-color:var(--colorPaletteRedBackground3);}",".f1s438gw{background-color:var(--colorPaletteDarkOrangeBackground3);}",".flxk52p{background-color:var(--colorPaletteGreenBackground3);}"],k:["@keyframes f1keuaan{0%{left:-33%;}100%{left:100%;}}","@keyframes f10x8f8u{0%{right:-33%;}100%{right:100%;}}","@keyframes ftc26vs{0%{opacity:.2;}50%{opacity:1;}100%{opacity:.2;}}"]}),Ql=(a)=>{let{color:l,max:c,shape:o,thickness:e,value:r}=a,t=cR(),h=oR();if(a.root.className=R($l.root,t.root,t[o],t[e],a.root.className),a.bar)a.bar.className=R($l.bar,h.base,h.brand,r===void 0&&h.indeterminate,r!==void 0&&r>lR&&h.nonZeroDeterminate,l&&r!==void 0&&h[l],a.bar.className);if(a.bar&&r!==void 0)a.bar.style={width:Math.min(100,Math.max(0,r/c*100))+"%",...a.bar.style};return a};var I7=/*@__PURE__*/O((a,l)=>{let c=Kl(a,l);return Ql(c),P("useProgressBarStyles_unstable")(c),Jl(c)});I7.displayName="ProgressBar";f();f();var Yl=(a,l)=>{let{size:c="medium",vertical:o=!1}=a,e=na({circular:!0,axis:"both"}),r={size:c,vertical:o,components:{root:"div"},root:S.always(N("div",{role:"toolbar",ref:l,...o&&{"aria-orientation":"vertical"},...e,...a}),{elementType:"div"})},[t,h]=eR({checkedValues:a.checkedValues,defaultCheckedValues:a.defaultCheckedValues,onCheckedValueChange:a.onCheckedValueChange}),Z=i1((v,n,d,p)=>{if(n&&d){let s=[...(t===null||t===void 0?void 0:t[n])||[]];if(p)s.splice(s.indexOf(d),1);else s.push(d);h===null||h===void 0||h(v,{name:n,checkedItems:s})}}),i=i1((v,n,d,p)=>{if(n&&d)h===null||h===void 0||h(v,{name:n,checkedItems:[d]})});return{...r,handleToggleButton:Z,handleRadio:i,checkedValues:t!==null&&t!==void 0?t:{}}},eR=(a)=>{let[l,c]=X5({state:a.checkedValues,defaultState:a.defaultCheckedValues,initialState:{}}),{onCheckedValueChange:o}=a,e=i1((r,{name:t,checkedItems:h})=>{if(o)o(r,{name:t,checkedItems:h});c((Z)=>{return Z?{...Z,[t]:h}:{[t]:h}})});return[l,e]};var K_=o4(void 0);var Xl=(a,l)=>{return W(a),/*@__PURE__*/L(K_.Provider,{value:l.toolbar,children:/*@__PURE__*/L(a.root,{children:a.root.children})})};var Ae={root:"fui-Toolbar"},rR=/*@__PURE__*/k({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}]]}),jl=(a)=>{let l=rR(),{vertical:c,size:o}=a;return a.root.className=R(Ae.root,l.root,c&&l.vertical,o==="small"&&!c&&l.small,o==="medium"&&!c&&l.medium,o==="large"&&!c&&l.large,a.root.className),a};function J_(a){let{size:l,handleToggleButton:c,vertical:o,checkedValues:e,handleRadio:r}=a;return{toolbar:{size:l,vertical:o,handleToggleButton:c,handleRadio:r,checkedValues:e}}}var f4=/*@__PURE__*/O((a,l)=>{let c=Yl(a,l),o=J_(c);return jl(c),P("useToolbarStyles_unstable")(c),Xl(c,o)});f4.displayName="Toolbar";f();var tR=/*@__PURE__*/k({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}]]}),Nl=(a)=>{let l=tR();if(a.root.className=R(a.vertical&&l.vertical,a.root.className),a.icon)a.icon.className=R(a.vertical&&l.verticalIcon,a.icon.className);m3(a)};f();var a9=(a,l)=>{let{vertical:c=!1,...o}=a,e=p3({appearance:"subtle",...o,size:"medium"},l);return{vertical:c,...e}};var D2=/*@__PURE__*/O((a,l)=>{let c=a9(a,l);return Nl(c),P("useToolbarButtonStyles_unstable")(c),E7(c)});D2.displayName="ToolbarButton";f();f();f();var $_=e1(void 0),hR={size:"medium",noNativeElements:!1,sortable:!1},DZ=$_.Provider,W5=()=>{var a;return(a=l1($_))!==null&&a!==void 0?a:hR};var l9=(a,l)=>{let{noNativeElements:c,size:o}=W5();var e;let r=((e=a.as)!==null&&e!==void 0?e:c)?"div":"td";return{components:{root:r},root:S.always(N(r,{ref:l,role:r==="div"?"cell":void 0,...a}),{elementType:r}),noNativeElements:c,size:o}};var c9=(a)=>{return W(a),/*@__PURE__*/L(a.root,{})};var He="fui-TableCell",Ve={root:He},ZR=/*@__PURE__*/k({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;}"]}),iR=/*@__PURE__*/k({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;}"]}),nR=/*@__PURE__*/k({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}]]}),o9=(a)=>{let l=nR(),c={table:ZR(),flex:iR()};return a.root.className=R(Ve.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 i7=/*@__PURE__*/O((a,l)=>{let c=l9(a,l);return o9(c),P("useTableCellStyles_unstable")(c),c9(c)});i7.displayName="TableCell";f();f();f();var Q_=e1(void 0),vR="",wZ=Q_.Provider,SZ=()=>l1(Q_)===vR;var e9=(a,l)=>{let{noNativeElements:c,size:o}=W5();var e;let r=((e=a.as)!==null&&e!==void 0?e:c)?"div":"tr",t=y7(),h=M2(),Z=SZ();var i;return{components:{root:r},root:S.always(N(r,{ref:J1(l,t,h),role:r==="div"?"row":void 0,...a}),{elementType:r}),size:o,noNativeElements:c,appearance:(i=a.appearance)!==null&&i!==void 0?i:"none",isHeaderRow:Z}};var r9=(a)=>{return W(a),/*@__PURE__*/L(a.root,{})};var fe="fui-TableRow",ge={root:fe},dR=/*@__PURE__*/k({root:{mc9l5x:"f1u0rzck"}},{d:[".f1u0rzck{display:table-row;}"]}),pR=/*@__PURE__*/k({root:{mc9l5x:"f22iagw",Bt984gj:"f122n59"}},{d:[".f22iagw{display:flex;}",".f122n59{align-items:center;}"]}),mR=/*@__PURE__*/k({root:{sj55zd:"f19n0e5",B7ck84d:"f1ewtqcl",Bconypa:"f1jazu75",B6guboy:"f1xeqee6",Bfpq7zp:0,g9k6zt:0,Bn4voq9:0,giviqs:"f1dxfoyt",Bw81rd7:0,kdpuga:0,dm238s:0,B6xbmo0:0,B3whbx2:"f2krc9w"},rootInteractive:{B6guboy:"f1xeqee6",ecr2s2:"f1wfn5kd",lj723h:"f1g4hkjv",B43xm9u:"f15ngxrw",i921ia:"fjbbrdp",Jwef8y:"f1t94bn6",Bi91k9c:"feu1g3u",Bpt6rm4:"f1uorfem",ff6mpl:"fw60kww",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;}",".f1jazu75[data-fui-focus-within]:focus-within .fui-TableSelectionCell{opacity:1;}",".f1xeqee6[data-fui-focus-within]:focus-within .fui-TableCellActions{opacity:1;}",[".f1dxfoyt[data-fui-focus-visible]{outline:2px solid var(--colorStrokeFocus2);}",{p:-1}],[".f2krc9w[data-fui-focus-visible]{border-radius:var(--borderRadiusMedium);}",{p:-1}],[".f1facbz3{border-bottom:var(--strokeWidthThin) solid var(--colorNeutralStroke2);}",{p:-1}],[".f1facbz3{border-bottom:var(--strokeWidthThin) solid var(--colorNeutralStroke2);}",{p:-1}],".fy9rknc{font-size:var(--fontSizeBase200);}",".f16xkysk{background-color:var(--colorBrandBackground2);}",".f1bh3yvw{border-top-color:var(--colorTransparentStrokeInteractive);}",".fmi79ni{border-right-color:var(--colorTransparentStrokeInteractive);}",".f11fozsx{border-left-color:var(--colorTransparentStrokeInteractive);}",".fnzw4c6{border-bottom-color:var(--colorTransparentStrokeInteractive);}",".fq5gl1p{background-color:var(--colorSubtleBackgroundSelected);}",".f1cgsbmv{color:var(--colorNeutralForeground1Hover);}",".frmsihh{border-top-color:var(--colorNeutralStrokeOnBrand);}",".frttxa5{border-right-color:var(--colorNeutralStrokeOnBrand);}",".f11o2r7f{border-left-color:var(--colorNeutralStrokeOnBrand);}",".fem5et0{border-bottom-color:var(--colorNeutralStrokeOnBrand);}"],a:[".f1wfn5kd:active{background-color:var(--colorSubtleBackgroundPressed);}",".f1g4hkjv:active{color:var(--colorNeutralForeground1Pressed);}",".f15ngxrw:active .fui-TableCellActions{opacity:1;}",".fjbbrdp:active .fui-TableSelectionCell{opacity:1;}",".f7tkmfy:active{background-color:var(--colorBrandBackground2);}",".f1r2dosr:active{color:var(--colorNeutralForeground1);}",".fa9o754:active{background-color:var(--colorSubtleBackgroundSelected);}"],h:[".f1t94bn6:hover{background-color:var(--colorSubtleBackgroundHover);}",".feu1g3u:hover{color:var(--colorNeutralForeground1Hover);}",".f1uorfem:hover .fui-TableCellActions{opacity:1;}",".fw60kww:hover .fui-TableSelectionCell{opacity:1;}",".f1uqaxdt:hover{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)"}]]}),t9=(a)=>{let l=mR(),c={table:dR(),flex:pR()};return a.root.className=R(ge.root,l.root,!a.isHeaderRow&&l.rootInteractive,l[a.size],a.noNativeElements?c.flex.root:c.table.root,l[a.appearance],a.root.className),a};var F3=/*@__PURE__*/O((a,l)=>{let c=e9(a,l);return t9(c),P("useTableRowStyles_unstable")(c),r9(c)});F3.displayName="TableRow";f();f();var h9=(a,l)=>{let{noNativeElements:c}=W5();var o;let e=((o=a.as)!==null&&o!==void 0?o:c)?"div":"tbody";return{components:{root:e},root:S.always(N(e,{ref:l,role:e==="div"?"rowgroup":void 0,...a}),{elementType:e}),noNativeElements:c}};var Z9=(a)=>{return W(a),/*@__PURE__*/L(a.root,{})};var sR=/*@__PURE__*/k({root:{mc9l5x:"f1tp1avn"}},{d:[".f1tp1avn{display:table-row-group;}"]}),MR=/*@__PURE__*/k({root:{mc9l5x:"ftgm304"}},{d:[".ftgm304{display:block;}"]}),Fe="fui-TableBody";var i9=(a)=>{let l={table:sR(),flex:MR()};return a.root.className=R(Fe,a.noNativeElements?l.flex.root:l.table.root,a.root.className),a};var g4=/*@__PURE__*/O((a,l)=>{let c=h9(a,l);return i9(c),P("useTableBodyStyles_unstable")(c),Z9(c)});g4.displayName="TableBody";f();f();var n9=(a,l)=>{var c;let o=((c=a.as)!==null&&c!==void 0?c:a.noNativeElements)?"div":"table";var e,r,t;return{components:{root:o},root:S.always(N(o,{ref:l,role:o==="div"?"table":void 0,...a}),{elementType:o}),size:(e=a.size)!==null&&e!==void 0?e:"medium",noNativeElements:(r=a.noNativeElements)!==null&&r!==void 0?r:!1,sortable:(t=a.sortable)!==null&&t!==void 0?t:!1}};var v9=(a,l)=>{return W(a),/*@__PURE__*/L(DZ,{value:l.table,children:/*@__PURE__*/L(a.root,{})})};var xe="fui-Table";var _R=/*@__PURE__*/k({root:{mc9l5x:"f1w4nmp0",ha4doy:"fmrv4ls",a9b677:"fly5x3f",B73mfa3:"f14m3nip"}},{d:[".f1w4nmp0{display:table;}",".fmrv4ls{vertical-align:middle;}",".fly5x3f{width:100%;}",".f14m3nip{table-layout:fixed;}"]}),uR=/*@__PURE__*/k({root:{mc9l5x:"ftgm304"}},{d:[".ftgm304{display:block;}"]}),AR=/*@__PURE__*/k({root:{po53p8:"fgkb47j",De3pzq:"fhovq9v"}},{d:[".fgkb47j{border-collapse:collapse;}",".fhovq9v{background-color:var(--colorSubtleBackground);}"]}),d9=(a)=>{let l=AR(),c={table:_R(),flex:uR()};return a.root.className=R(xe,l.root,a.noNativeElements?c.flex.root:c.table.root,a.root.className),a};f();function X_(a){let{size:l,noNativeElements:c,sortable:o}=a;return{table:u1(()=>({noNativeElements:c,size:l,sortable:o}),[c,l,o])}}var F4=/*@__PURE__*/O((a,l)=>{let c=n9(a,l);return d9(c),P("useTableStyles_unstable")(c),v9(c,X_(c))});F4.displayName="Table";f();f();var p9=(a,l)=>{let{noNativeElements:c}=W5();var o;let e=((o=a.as)!==null&&o!==void 0?o:c)?"div":"thead";return{components:{root:e},root:S.always(N(e,{ref:l,role:e==="div"?"rowgroup":void 0,...a}),{elementType:e}),noNativeElements:c}};var m9=(a)=>{return W(a),/*@__PURE__*/L(wZ,{value:"",children:/*@__PURE__*/L(a.root,{})})};var Ce="fui-TableHeader";var HR=/*@__PURE__*/k({root:{mc9l5x:"ftgm304"}},{d:[".ftgm304{display:block;}"]}),VR=/*@__PURE__*/k({root:{mc9l5x:"f1tp1avn"}},{d:[".f1tp1avn{display:table-row-group;}"]}),s9=(a)=>{let l={table:VR(),flex:HR()};return a.root.className=R(Ce,a.noNativeElements?l.flex.root:l.table.root,a.root.className),a};var x4=/*@__PURE__*/O((a,l)=>{let c=p9(a,l);return s9(c),P("useTableHeaderStyles_unstable")(c),m9(c)});x4.displayName="TableHeader";f();f();var fR={ascending:/*@__PURE__*/r1(Ks,{fontSize:12}),descending:/*@__PURE__*/r1(zs,{fontSize:12})},M9=(a,l)=>{let{noNativeElements:c,sortable:o}=W5(),{sortable:e=o}=a;var r;let t=((r=a.as)!==null&&r!==void 0?r:c)?"div":"th",h=S.always(a.button,{elementType:"div",defaultProps:{as:"div",...!e&&{role:"presentation",tabIndex:void 0}}});var Z;return{components:{root:t,button:"div",sortIcon:"span",aside:"span"},root:S.always(N(t,{ref:J1(l,M2()),role:t==="div"?"columnheader":void 0,"aria-sort":e?(Z=a.sortDirection)!==null&&Z!==void 0?Z:"none":void 0,...a}),{elementType:t}),aside:S.optional(a.aside,{elementType:"span"}),sortIcon:S.optional(a.sortIcon,{renderByDefault:!!a.sortDirection,defaultProps:{children:a.sortDirection?fR[a.sortDirection]:void 0},elementType:"span"}),button:A2(h.as,h),sortable:e,noNativeElements:c}};var _9=(a)=>{return W(a),/*@__PURE__*/F1(a.root,{children:[/*@__PURE__*/F1(a.button,{children:[a.root.children,a.sortIcon&&/*@__PURE__*/L(a.sortIcon,{})]}),a.aside&&/*@__PURE__*/L(a.aside,{})]})};var C4={root:"fui-TableHeaderCell",button:"fui-TableHeaderCell__button",sortIcon:"fui-TableHeaderCell__sortIcon",aside:"fui-TableHeaderCell__aside"},gR=/*@__PURE__*/k({root:{mc9l5x:"f15pt5es",ha4doy:"fmrv4ls"}},{d:[".f15pt5es{display:table-cell;}",".fmrv4ls{vertical-align:middle;}"]}),FR=/*@__PURE__*/k({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;}"]}),xR=/*@__PURE__*/k({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);}"]}),u9=(a)=>{let l=xR(),c={table:gR(),flex:FR()};if(a.root.className=R(C4.root,l.root,a.sortable&&l.rootInteractive,a.noNativeElements?c.flex.root:c.table.root,a.root.className),a.button.className=R(C4.button,l.resetButton,l.button,a.sortable&&l.sortable,a.button.className),a.sortIcon)a.sortIcon.className=R(C4.sortIcon,l.sortIcon,a.sortIcon.className);if(a.aside)a.aside.className=R(C4.aside,l.resizeHandle,a.aside.className);return a};var L4=/*@__PURE__*/O((a,l)=>{let c=M9(a,l);return u9(c),P("useTableHeaderCellStyles_unstable")(c),_9(c)});L4.displayName="TableHeaderCell";f();f();var CR={medium:32,small:24,"extra-small":20},A9=(a,l)=>{let{size:c}=W5();return{components:{root:"div",main:"span",description:"span",content:"div",media:"span"},root:S.always(N("div",{ref:l,...a},["content"]),{elementType:"div"}),appearance:a.appearance,truncate:a.truncate,main:S.optional(a.main,{renderByDefault:!0,elementType:"span"}),media:S.optional(a.media,{elementType:"span"}),description:S.optional(a.description,{elementType:"span"}),content:S.optional(a.content,{renderByDefault:!!a.description||!!a.children,elementType:"div"}),avatarSize:CR[c],size:c}};var H9=(a,l)=>{return W(a),/*@__PURE__*/F1(a.root,{children:[a.media&&/*@__PURE__*/L(Xo,{value:l.avatar,children:/*@__PURE__*/L(a.media,{})}),a.content&&/*@__PURE__*/F1(a.content,{children:[a.main&&/*@__PURE__*/L(a.main,{children:a.root.children}),a.description&&/*@__PURE__*/L(a.description,{})]})]})};var x3={root:"fui-TableCellLayout",media:"fui-TableCellLayout__media",main:"fui-TableCellLayout__main",description:"fui-TableCellLayout__description",content:"fui-TableCellLayout__content"},LR=/*@__PURE__*/k({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);}"]}),V9=(a)=>{let l=LR(),{truncate:c}=a;a.root.className=R(x3.root,l.root,c&&l.rootTruncate,a.root.className);let o=a.appearance==="primary";if(a.media){let e={small:l.mediaSmallAndMedium,medium:l.mediaSmallAndMedium,"extra-small":l.mediaExtraSmall};a.media.className=R(x3.media,l.media,e[a.size],o&&l.mediaPrimary,a.media.className)}if(a.main)a.main.className=R(x3.main,c&&l.mainTruncate,o&&l.mainPrimary,a.main.className);if(a.description)a.description.className=R(x3.description,l.description,a.description.className);if(a.content)a.content.className=R(x3.content,l.content,c&&l.contentTruncate,a.content.className);return a};f();function lu(a){let{avatarSize:l}=a;return{avatar:u1(()=>({size:l}),[l])}}var n7=/*@__PURE__*/O((a,l)=>{let c=A9(a,l);return V9(c),P("useTableCellLayoutStyles_unstable")(c),H9(c,lu(c))});n7.displayName="TableCellLayout";f();var w0={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"},M5={bottom:"bottom",bottomEnd:"bottom-end",bottomStart:"bottom-start",top:"top",topEnd:"top-end",topStart:"top-start"};var RR=0;function kZ(a,l={},c){var o;let e={...l,content:a,toastId:(o=l.toastId)!==null&&o!==void 0?o:(RR++).toString()},r=new CustomEvent(w0.show,{bubbles:!1,cancelable:!1,detail:e});c.dispatchEvent(r)}function yZ(a,l=void 0,c){let o=new CustomEvent(w0.dismiss,{bubbles:!1,cancelable:!1,detail:{toastId:a,toasterId:l}});c.dispatchEvent(o)}function UZ(a=void 0,l){let c=new CustomEvent(w0.dismissAll,{bubbles:!1,cancelable:!1,detail:{toasterId:a}});l.dispatchEvent(c)}function GZ(a,l){let c=new CustomEvent(w0.update,{bubbles:!1,cancelable:!1,detail:a});l.dispatchEvent(c)}function BZ(a,l=void 0,c){let o=new CustomEvent(w0.pause,{bubbles:!1,cancelable:!1,detail:{toastId:a,toasterId:l}});c.dispatchEvent(o)}function bZ(a,l=void 0,c){let o=new CustomEvent(w0.play,{bubbles:!1,cancelable:!1,detail:{toastId:a,toasterId:l}});c.dispatchEvent(o)}f();function cu(a,l){for(let[c,o]of Object.entries(l))if(o!=null)a[c]=o}var DR={onStatusChange:void 0,priority:0,pauseOnHover:!1,pauseOnWindowBlur:!1,position:"bottom-end",timeout:3000},wR=0;function OZ(a){let{limit:l=Number.POSITIVE_INFINITY}=a,c=/*@__PURE__*/new Set,o=/*@__PURE__*/new Map,e=s6((v,n)=>{let d=o.get(v),p=o.get(n);if(!d||!p)return 0;if(d.priority===p.priority)return d.order-p.order;return d.priority-p.priority});return{buildToast:(v,n)=>{var d;let{toastId:p,content:m,toasterId:s}=v;if(o.has(p))return;let A={...DR,close:()=>{var H;let g=o.get(p);if(!g)return;c.delete(p),n(),(H=g.onStatusChange)===null||H===void 0||H.call(g,null,{status:"dismissed",...g})},remove:()=>{if(!o.get(p))return;if(o.delete(p),c.size<l&&e.peek()){let g=o.get(e.dequeue());if(!g)return;c.add(g.toastId)}n()},toastId:p,content:m,updateId:0,toasterId:s,order:wR++,data:{},imperativeRef:r5()};if(cu(A,a),cu(A,v),o.set(p,A),(d=A.onStatusChange)===null||d===void 0||d.call(A,null,{status:"queued",...A}),c.size>=l)e.enqueue(p);else c.add(p)},dismissAllToasts:()=>{c.clear(),e.clear()},dismissToast:(v)=>{c.delete(v)},isToastVisible:(v)=>{return c.has(v)},updateToast:(v)=>{let{toastId:n}=v,d=o.get(n);if(!d)return;Object.assign(d,v),d.updateId++},visibleToasts:c,toasts:o}}var P7=(a,l,c)=>{let o={};var e;let r=c?SR(c)?c:(e=c[a])!==null&&e!==void 0?e:{}:{},t=a==="top"||a==="bottom",{horizontal:h=t?0:20,vertical:Z=16}=r,i=l==="ltr"?"left":"right",v=l==="ltr"?"right":"left";switch(a){case"top":Object.assign(o,{top:Z,left:`calc(50% + ${h}px)`,transform:"translateX(-50%)"});break;case"bottom":Object.assign(o,{bottom:Z,left:`calc(50% + ${h}px)`,transform:"translateX(-50%)"});break;case"top-start":Object.assign(o,{top:Z,[i]:h});break;case"top-end":Object.assign(o,{top:Z,[v]:h});break;case"bottom-start":Object.assign(o,{bottom:Z,[i]:h});break;case"bottom-end":Object.assign(o,{bottom:Z,[v]:h});break}return o};function SR(a){return"horizontal"in a||"vertical"in a}function TZ(a={}){let l=m6(),{toasterId:c,shortcuts:o}=a,[e]=Z1(()=>OZ(a)),{targetDocument:r}=V1(),t=E(null),h=i1((s)=>{return s===c}),Z=i1((s)=>{if(o===null||o===void 0?void 0:o.focus)return o.focus(s)}),i=$(()=>{e.visibleToasts.forEach((s)=>{var M;let u=e.toasts.get(s);u===null||u===void 0||(M=u.imperativeRef.current)===null||M===void 0||M.pause()})},[e]),v=$(()=>{e.visibleToasts.forEach((s)=>{var M;let u=e.toasts.get(s);u===null||u===void 0||(M=u.imperativeRef.current)===null||M===void 0||M.play()})},[e]),n=$(()=>{return Array.from(e.visibleToasts).reduce((s,M)=>{let u=e.toasts.get(M);if(!u)return s;if(!s)return u;if(s.order<(u===null||u===void 0?void 0:u.order))return u;return s},void 0)},[e]),d=$(()=>{let s=n();if(s===null||s===void 0?void 0:s.imperativeRef.current)s.imperativeRef.current.focus();else{var M;(M=t.current)===null||M===void 0||M.focus(),t.current=null}},[n]),p=$(()=>{e.visibleToasts.forEach((s)=>{let M=e.toasts.get(s);M===null||M===void 0||M.close()}),d()},[e,d]);h1(()=>{if(!r)return;let s=(C,w)=>{let U=(J)=>{if(!h(J.detail.toasterId))return;w(J),l()};return r.addEventListener(C,U),()=>r.removeEventListener(C,U)},M=(C)=>{e.buildToast(C.detail,l)},u=(C)=>{e.dismissToast(C.detail.toastId)},A=(C)=>{e.updateToast(C.detail)},H=(C)=>{e.dismissAllToasts()},g=(C)=>{let w=e.toasts.get(C.detail.toastId);if(w){var U;(U=w.imperativeRef.current)===null||U===void 0||U.pause()}},F=(C)=>{let w=e.toasts.get(C.detail.toastId);if(w){var U;(U=w.imperativeRef.current)===null||U===void 0||U.play()}},D=s(w0.show,M),x=s(w0.update,A),b=s(w0.dismiss,u),T=s(w0.dismissAll,H),n1=s(w0.pause,g),c1=s(w0.play,F),Y=(C)=>{if(Z(C)){i();let U=n();if(U){var w;t.current=I1(r.activeElement)?r.activeElement:null,(w=U.imperativeRef.current)===null||w===void 0||w.focus()}}};return r.addEventListener("keydown",Y),()=>{D(),T(),x(),b(),n1(),c1(),r.removeEventListener("keydown",Y)}},[e,l,r,h,i,n,Z]);let m=(()=>{if(!e)return/*@__PURE__*/new Map;let s=/*@__PURE__*/new Map;return Array.from(e.toasts.values()).forEach((u)=>{let{position:A}=u;if(s.has(A)||s.set(A,[]),A.startsWith("bottom"))s.get(A).push(u);else s.get(A).unshift(u)}),s})();return{isToastVisible:e.isToastVisible,toastsToRender:m,pauseAllToasts:i,playAllToasts:v,tryRestoreFocus:d,closeAllToasts:p}}f();var P6=()=>{return};function R4(a){let{targetDocument:l}=V1();return u1(()=>{if(!l)return{dispatchToast:P6,dismissToast:P6,dismissAllToasts:P6,updateToast:P6,pauseToast:P6,playToast:P6};return{dispatchToast:(c,o)=>{kZ(c,{...o,toasterId:a,data:{root:o===null||o===void 0?void 0:o.root}},l)},dismissToast:(c)=>{yZ(c,a,l)},dismissAllToasts:()=>{UZ(a,l)},updateToast:(c)=>{GZ({...c,data:{root:c.root},toasterId:a},l)},pauseToast:(c)=>{BZ(c,a,l)},playToast:(c)=>{bZ(c,a,l)}}},[l,a])}f();var kR={close:()=>null,intent:void 0,bodyId:"",titleId:""},ou=/*@__PURE__*/e1(void 0),eu=ou.Provider,Le=()=>{var a;return(a=l1(ou))!==null&&a!==void 0?a:kR};f();f();f();f();f();var ru=/*@__PURE__*/Q("r16zaflb","r75casi",[".r16zaflb{animation-name:rsacmq1;}","@keyframes rsacmq1{from{opacity:0;}to{opacity:0;}}",".r75casi{animation-name:rsacmq1;}"]);var Re=/*@__PURE__*/O((a,l)=>{let c=ru(),{running:o,timeout:e,onTimeout:r}=a,t={animationDuration:`${e}ms`,animationPlayState:o?"running":"paused"};if(e<0)return null;return/*@__PURE__*/r1("span",{onAnimationEnd:r,"data-timer-status":t.animationPlayState,ref:l,style:t,className:c})});Re.displayName="Timer";var yR={success:"assertive",warning:"assertive",error:"assertive",info:"polite"},tu=(a,l)=>{let{visible:c,children:o,close:e,remove:r,updateId:t,announce:h,data:Z,timeout:i,politeness:v,intent:n="info",pauseOnHover:d,pauseOnWindowBlur:p,imperativeRef:m,tryRestoreFocus:s,content:M,...u}=a,A=i0("toast-title"),H=i0("toast-body"),g=E(null),{targetDocument:F}=V1(),[D,x]=Z1(!1),b=E(!1),T=E(!1),n1=j3({tabBehavior:"limited-trap-focus",ignoreDefaultKeydown:{Tab:!0,Escape:!0,Enter:!0}}),c1=i1(()=>{var K;let I=F===null||F===void 0?void 0:F.activeElement;if(I&&((K=g.current)===null||K===void 0?void 0:K.contains(I)))T.current=!0;e()}),Y=i1((K)=>{var I;return(I=a.onStatusChange)===null||I===void 0?void 0:I.call(a,null,{status:K,...a})}),C=i1(()=>x(!1)),w=i1(()=>{var K;if(b.current)return;var I;let R1=!!((K=g.current)===null||K===void 0?void 0:K.contains((I=F===null||F===void 0?void 0:F.activeElement)!==null&&I!==void 0?I:null));if(i<0){x(!0);return}if(!R1)x(!0)});m5(m,()=>({focus:()=>{if(!g.current)return;g.current.focus()},play:()=>{b.current=!1,w()},pause:()=>{b.current=!0,C()}})),h1(()=>{return()=>Y("unmounted")},[Y]),h1(()=>{if(!F)return;if(p){var K,I;return(K=F.defaultView)===null||K===void 0||K.addEventListener("focus",w),(I=F.defaultView)===null||I===void 0||I.addEventListener("blur",C),()=>{var R1,k1;(R1=F.defaultView)===null||R1===void 0||R1.removeEventListener("focus",w),(k1=F.defaultView)===null||k1===void 0||k1.removeEventListener("blur",C)}}},[F,C,w,p]);let U=Z.root,J=$((K,{direction:I})=>{if(I==="exit")r();if(I==="enter")w(),Y("visible")},[Y,w,r]),j=i1((K)=>{var I;C(),U===null||U===void 0||(I=U.onMouseEnter)===null||I===void 0||I.call(U,K)}),d1=i1((K)=>{var I;w(),U===null||U===void 0||(I=U.onMouseEnter)===null||I===void 0||I.call(U,K)}),{findFirstFocusable:q,findLastFocusable:m1}=k7(),H1=i1((K)=>{var I;if(K.key===Ph)K.preventDefault(),c1();if(K.key===Eh&&K.currentTarget===K.target)if(K.preventDefault(),K.shiftKey){var R1;(R1=m1(K.currentTarget))===null||R1===void 0||R1.focus()}else{var k1;(k1=q(K.currentTarget))===null||k1===void 0||k1.focus()}U===null||U===void 0||(I=U.onKeyDown)===null||I===void 0||I.call(U,K)});return h1(()=>{var K;if(!c)return;let I=v!==null&&v!==void 0?v:yR[n];var R1;h((R1=(K=g.current)===null||K===void 0?void 0:K.textContent)!==null&&R1!==void 0?R1:"",{politeness:I})},[h,v,g,c,t,n]),h1(()=>{return()=>{if(T.current)T.current=!1,s()}},[s]),{components:{timer:Re,root:"div"},timer:S.always({onTimeout:c1,running:D,timeout:i!==null&&i!==void 0?i:-1},{elementType:Re}),root:S.always(N("div",{ref:J1(l,g),children:o,tabIndex:0,role:"listitem","aria-labelledby":A,"aria-describedby":H,...u,...U,...n1,onMouseEnter:j,onMouseLeave:d1,onKeyDown:H1}),{elementType:"div"}),timerTimeout:i,transitionTimeout:0,running:D,visible:c,remove:r,close:c1,onTransitionEntering:()=>{},updateId:t,nodeRef:g,intent:n,titleId:A,bodyId:H,onMotionFinish:J}};var hu=(a,l)=>{let{onMotionFinish:c,visible:o,updateId:e}=a;return W(a),/*@__PURE__*/L(eu,{value:l.toast,children:/*@__PURE__*/L($o,{appear:!0,onMotionFinish:c,visible:o,unmountOnExit:!0,children:/*@__PURE__*/F1(a.root,{children:[a.root.children,/*@__PURE__*/L(a.timer,{},e)]})})})};var De={root:"fui-ToastContainer",timer:"fui-ToastContainer__timer"},UR=/*@__PURE__*/Q("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);}"]),EZ=(a)=>{let l=UR();return a.root.className=R(De.root,l,a.root.className),a};f();function Zu(a){let{close:l,intent:c,titleId:o,bodyId:e}=a;return{toast:u1(()=>({close:l,intent:c,titleId:o,bodyId:e}),[l,c,o,e])}}var we=/*@__PURE__*/O((a,l)=>{let c=tu(a,l);return EZ(c),P("useToastContainerStyles_unstable")(c),hu(c,Zu(c))});we.displayName="ToastContainer";f();var iu=()=>{return};function nu(a,l){let{targetDocument:c}=V1(),o=E(iu);return $((e)=>{if(!e||!c){o.current(),o.current=iu;return}let r=c.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode(i){if(I1(i)&&i.classList.contains(De.root))return NodeFilter.FILTER_ACCEPT;return NodeFilter.FILTER_SKIP}}),t=(i)=>{let{target:v,key:n}=i;if(!I1(v))return;if(n===Wh){r.currentNode=v;let d=r.nextNode();if(!d)r.currentNode=e,d=r.nextNode();if(I1(d))d.focus()}if(n===Ih){r.currentNode=v;let d=r.previousNode();if(d&&d.contains(v))d=r.previousNode();if(!d)r.currentNode=e,d=r.lastChild();if(I1(d))d.focus()}},h=(i)=>{if(I1(i.currentTarget)&&!i.currentTarget.contains(I1(i.relatedTarget)?i.relatedTarget:null))a()},Z=(i)=>{if(I1(i.currentTarget)&&!i.currentTarget.contains(I1(i.relatedTarget)?i.relatedTarget:null))l()};e.addEventListener("keydown",t),e.addEventListener("focusin",h),e.addEventListener("focusout",Z),o.current=()=>{e.removeEventListener("keydown",t),e.removeEventListener("focusin",h),e.removeEventListener("focusout",Z)}},[c,a,l])}f();function vu(a){let l=E(!0),c=E(()=>{return}),o=$((r,t)=>{if(l.current)a(r,t)},[a]),e=$((r)=>{if(!r){c.current();return}let t=(Z)=>{if(I1(Z.currentTarget)&&Z.currentTarget.contains(I1(Z.relatedTarget)?Z.relatedTarget:null))return;l.current=!1},h=(Z)=>{if(I1(Z.currentTarget)&&Z.currentTarget.contains(I1(Z.relatedTarget)?Z.relatedTarget:null))return;l.current=!0};r.addEventListener("focusin",t),r.addEventListener("focusout",h),c.current=()=>{r.removeEventListener("focusin",t),r.removeEventListener("focusout",h)}},[]);return{announceToast:o,toasterRef:e}}var f9=(a)=>{let{offset:l,announce:c,mountNode:o,inline:e=!1,...r}=a,t=E(()=>null),{toastsToRender:h,isToastVisible:Z,pauseAllToasts:i,playAllToasts:v,tryRestoreFocus:n,closeAllToasts:d}=TZ(r),p=$((H,g)=>t.current(H,g),[]),{dir:m}=V1(),s=S.always(N("div",r),{elementType:"div"}),M=j3({tabBehavior:"limited-trap-focus",ignoreDefaultKeydown:{Escape:!0}}),u=i1((H)=>{var g;if(H.key===r4)H.preventDefault(),d();(g=a.onKeyDown)===null||g===void 0||g.call(a,H)}),A=(H)=>{var g;let F=nu(i,v),{announceToast:D,toasterRef:x}=vu(c!==null&&c!==void 0?c:p);return S.optional(h.has(H)?s:null,{defaultProps:{ref:J1(F,x),children:(g=h.get(H))===null||g===void 0?void 0:g.map((b)=>/*@__PURE__*/r1(we,{...b,tryRestoreFocus:n,intent:b.intent,announce:D,key:b.toastId,visible:Z(b.toastId)},b.content)),onKeyDown:u,...M,"data-toaster-position":H,role:"list"},elementType:"div"})};return{dir:m,mountNode:o,components:{root:"div",bottomStart:"div",bottomEnd:"div",topStart:"div",topEnd:"div",top:"div",bottom:"div"},root:S.always(s,{elementType:"div"}),bottomStart:A(M5.bottomStart),bottomEnd:A(M5.bottomEnd),topStart:A(M5.topStart),topEnd:A(M5.topEnd),top:A(M5.top),bottom:A(M5.bottom),announceRef:t,offset:l,announce:c!==null&&c!==void 0?c:p,renderAriaLive:!c,inline:e}};f();f();var GR=500,du=(a)=>{let[l,c]=Z1(void 0),o=E(0),[e]=Z1(()=>s6((v,n)=>{if(v.politeness===n.politeness)return v.createdAt-n.createdAt;return v.politeness==="assertive"?-1:1})),r=i1((v,n)=>{let{politeness:d}=n;if(v===(l===null||l===void 0?void 0:l.message))return;let p={message:v,politeness:d,createdAt:o.current++};if(!l)c(p);else e.enqueue(p)}),[t,h]=X2();h1(()=>{return t(()=>{if(e.peek())c(e.dequeue());else c(void 0)},GR),()=>h()},[l,e,t,h]),m5(a.announceRef,()=>r);let Z=(l===null||l===void 0?void 0:l.politeness)==="polite"?l.message:void 0,i=(l===null||l===void 0?void 0:l.politeness)==="assertive"?l.message:void 0;return{components:{assertive:"div",polite:"div"},assertive:S.always(a.assertive,{defaultProps:{"aria-live":"assertive",children:i},elementType:"div"}),polite:S.always(a.polite,{defaultProps:{"aria-live":"polite",children:Z},elementType:"div"})}};var pu=(a)=>{return W(a),/*@__PURE__*/F1(p1,{children:[/*@__PURE__*/L(a.assertive,{}),/*@__PURE__*/L(a.polite,{})]})};var mu={assertive:"fui-AriaLive__assertive",polite:"fui-AriaLive__polite"},BR=/*@__PURE__*/Q("rrd10u0",null,[".rrd10u0{clip:rect(0px, 0px, 0px, 0px);height:1px;margin:-1px;overflow:hidden;padding:0px;width:1px;position:absolute;}"]),su=(a)=>{let l=BR();return a.assertive.className=R(l,mu.assertive,a.assertive.className),a.polite.className=R(l,mu.polite,a.polite.className),a};var Se=(a)=>{let l=du(a);return su(l),pu(l)};Se.displayName="AriaLive";var g9=(a)=>{let{announceRef:l,renderAriaLive:c,inline:o,mountNode:e}=a;W(a);let r=!!a.bottomStart||!!a.bottomEnd||!!a.topStart||!!a.topEnd||!!a.top||!!a.bottom,t=c?/*@__PURE__*/L(Se,{announceRef:l}):null,h=/*@__PURE__*/F1(p1,{children:[a.bottom?/*@__PURE__*/L(a.bottom,{}):null,a.bottomStart?/*@__PURE__*/L(a.bottomStart,{}):null,a.bottomEnd?/*@__PURE__*/L(a.bottomEnd,{}):null,a.topStart?/*@__PURE__*/L(a.topStart,{}):null,a.topEnd?/*@__PURE__*/L(a.topEnd,{}):null,a.top?/*@__PURE__*/L(a.top,{}):null]});if(o)return/*@__PURE__*/F1(p1,{children:[t,r?h:null]});return/*@__PURE__*/F1(p1,{children:[t,r?/*@__PURE__*/L(T7,{mountNode:e,children:h}):null]})};var ke={root:"fui-Toaster"},bR=/*@__PURE__*/Q("r3hfdjz",null,[".r3hfdjz{position:fixed;width:292px;pointer-events:none;}"]),OR=/*@__PURE__*/k({inline:{qhf8xq:"f1euv43f"}},{d:[".f1euv43f{position:absolute;}"]}),F9=(a)=>{let l=bR(),c=OR(),o=R(ke.root,l,a.inline&&c.inline,a.root.className);if(a.bottomStart){var e;a.bottomStart.className=o;var r;(r=(e=a.bottomStart).style)!==null&&r!==void 0||(e.style={}),Object.assign(a.bottomStart.style,P7(M5.bottomStart,a.dir,a.offset))}if(a.bottomEnd){var t;a.bottomEnd.className=o;var h;(h=(t=a.bottomEnd).style)!==null&&h!==void 0||(t.style={}),Object.assign(a.bottomEnd.style,P7(M5.bottomEnd,a.dir,a.offset))}if(a.topStart){var Z;a.topStart.className=o;var i;(i=(Z=a.topStart).style)!==null&&i!==void 0||(Z.style={}),Object.assign(a.topStart.style,P7(M5.topStart,a.dir,a.offset))}if(a.topEnd){var v;a.topEnd.className=o;var n;(n=(v=a.topEnd).style)!==null&&n!==void 0||(v.style={}),Object.assign(a.topEnd.style,P7(M5.topEnd,a.dir,a.offset))}if(a.top){var d;a.top.className=o;var p;(p=(d=a.top).style)!==null&&p!==void 0||(d.style={}),Object.assign(a.top.style,P7(M5.top,a.dir,a.offset))}if(a.bottom){var m;a.bottom.className=o;var s;(s=(m=a.bottom).style)!==null&&s!==void 0||(m.style={}),Object.assign(a.bottom.style,P7(M5.bottom,a.dir,a.offset))}return a};var D4=(a)=>{let l=f9(a);return F9(l),P("useToasterStyles_unstable")(l),g9(l)};D4.displayName="Toaster";f();f();var x9=(a,l)=>{let{intent:c}=Le();return{components:{root:"div"},root:S.always(N("div",{ref:l,...a}),{elementType:"div"}),backgroundAppearance:a.appearance,intent:c}};var C9=(a,l)=>{return W(a),/*@__PURE__*/L(so,{value:l.backgroundAppearance,children:/*@__PURE__*/L(a.root,{})})};var WZ={root:"fui-Toast"},TR=/*@__PURE__*/Q("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);}"]),ER=/*@__PURE__*/k({inverted:{sj55zd:"f1w7i9ko",De3pzq:"f5pduvr"}},{d:[".f1w7i9ko{color:var(--colorNeutralForegroundInverted2);}",".f5pduvr{background-color:var(--colorNeutralBackgroundInverted);}"]}),L9=(a)=>{let l=TR(),c=ER();return a.root.className=R(WZ.root,l,a.backgroundAppearance==="inverted"&&c.inverted,a.root.className),a};function Mu(a){let{backgroundAppearance:l}=a;return{backgroundAppearance:l}}var w2=/*@__PURE__*/O((a,l)=>{let c=x9(a,l);return L9(c),P("useToastStyles_unstable")(c),C9(c,Mu(c))});w2.displayName="Toast";f();f();var R9=(a,l)=>{let{intent:c,titleId:o}=Le(),e=p6(),r;switch(c){case"success":r=/*@__PURE__*/r1(Bo,null);break;case"error":r=/*@__PURE__*/r1(Oo,null);break;case"warning":r=/*@__PURE__*/r1(Eo,null);break;case"info":r=/*@__PURE__*/r1(To,null);break}return{action:S.optional(a.action,{elementType:"div"}),components:{root:"div",media:"div",action:"div"},media:S.optional(a.media,{renderByDefault:!!c,defaultProps:{children:r},elementType:"div"}),root:S.always(N("div",{ref:l,children:a.children,id:o,...a}),{elementType:"div"}),intent:c,backgroundAppearance:e}};var D9=(a)=>{return W(a),/*@__PURE__*/F1(p1,{children:[a.media?/*@__PURE__*/L(a.media,{}):null,/*@__PURE__*/L(a.root,{}),a.action?/*@__PURE__*/L(a.action,{}):null]})};var q6={root:"fui-ToastTitle",media:"fui-ToastTitle__media",action:"fui-ToastTitle__action"},WR=/*@__PURE__*/Q("rdjap1e",null,[".rdjap1e{display:flex;grid-column-end:3;color:var(--colorNeutralForeground1);word-break:break-word;}"]),IR=/*@__PURE__*/Q("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);}"]),PR=/*@__PURE__*/Q("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);}"]),qR=/*@__PURE__*/k({root:{sj55zd:"f1w7i9ko"},action:{sj55zd:"f1qz2gb0"},media:{sj55zd:"fqpbvvt"}},{d:[".f1w7i9ko{color:var(--colorNeutralForegroundInverted2);}",".f1qz2gb0{color:var(--colorBrandForegroundInverted);}",".fqpbvvt{color:var(--colorNeutralForegroundInverted);}"]}),zR=/*@__PURE__*/k({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);}"]}),KR=/*@__PURE__*/k({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);}"]}),w9=(a)=>{let l=WR(),c=PR(),o=IR(),e=zR(),r=KR(),{intent:t}=a,h=qR();if(a.root.className=R(q6.root,l,a.backgroundAppearance==="inverted"&&h.root,a.root.className),a.media)a.media.className=R(q6.media,o,a.backgroundAppearance==="inverted"&&h.media,t&&e[t],t&&a.backgroundAppearance==="inverted"&&r[t],a.media.className);if(a.action)a.action.className=R(q6.action,c,a.backgroundAppearance==="inverted"&&h.action,a.action.className);return a};var S2=/*@__PURE__*/O((a,l)=>{let c=R9(a,l);return w9(c),P("useToastTitleStyles_unstable")(c),D9(c)});S2.displayName="ToastTitle";f();f();f();function _u(a){switch(a){case"info":return/*@__PURE__*/r1(To,null);case"warning":return/*@__PURE__*/r1(Eo,null);case"error":return/*@__PURE__*/r1(Oo,null);case"success":return/*@__PURE__*/r1(Bo,null);default:return null}}f();function uu(a=!1){let{targetDocument:l}=V1(),c=Q5(()=>({}),{})[1],o=E(!1),e=E(null),r=E(-1),t=$((Z)=>{var i,v;if(Z.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 n=Z[0];var d;let p=(d=n===null||n===void 0?void 0:(v=n.borderBoxSize)===null||v===void 0?void 0:(i=v[0])===null||i===void 0?void 0:i.inlineSize)!==null&&d!==void 0?d:n===null||n===void 0?void 0:n.target.getBoundingClientRect().width;if(p===void 0||!n)return;let{target:m}=n;if(!I1(m))return;let s;if(o.current){if(r.current<p)s=!1}else{let M=m.scrollWidth;if(p<M)s=!0}if(r.current=p,typeof s!=="undefined"&&o.current!==s)o.current=s,c()},[c]),h=$((Z)=>{var i;if(!a||!Z||!(l===null||l===void 0?void 0:l.defaultView))return;(i=e.current)===null||i===void 0||i.disconnect();let n=new l.defaultView.ResizeObserver(t);e.current=n,n.observe(Z,{box:"border-box"})},[l,t,a]);return h1(()=>{return()=>{var Z;(Z=e.current)===null||Z===void 0||Z.disconnect()}},[]),{ref:h,reflowing:o.current}}f();var Au=e1(void 0),JR={className:"",nodeRef:r5()},zr1=Au.Provider,Hu=()=>{var a;return(a=l1(Au))!==null&&a!==void 0?a:JR};var S9=(a,l)=>{let{layout:c="auto",intent:o="info",politeness:e,shape:r="rounded"}=a,t=(e!==null&&e!==void 0?e:o==="info")?"polite":"assertive",h=c==="auto",{ref:Z,reflowing:i}=uu(h),v=h?i?"multiline":"singleline":c,{className:n,nodeRef:d}=Hu(),p=E(null),m=E(null),{announce:s}=ca(),M=i0();return h1(()=>{var u,A;let H=(u=m.current)===null||u===void 0?void 0:u.textContent,g=(A=p.current)===null||A===void 0?void 0:A.textContent,F=[H,g].filter(Boolean).join(",");s(F,{polite:t==="polite",alert:t==="assertive"})},[m,p,s,t]),{components:{root:"div",icon:"div",bottomReflowSpacer:"div"},root:S.always(N("div",{ref:J1(l,Z,d),role:"group","aria-labelledby":M,...a}),{elementType:"div"}),icon:S.optional(a.icon,{renderByDefault:!0,elementType:"div",defaultProps:{children:_u(o)}}),bottomReflowSpacer:S.optional(a.bottomReflowSpacer,{renderByDefault:v==="multiline",elementType:"div"}),layout:v,intent:o,transitionClassName:n,actionsRef:p,bodyRef:m,titleId:M,shape:r}};f();var Vu=e1(void 0),$R={titleId:"",layout:"singleline",actionsRef:r5(),bodyRef:r5()},IZ=Vu.Provider,PZ=()=>{var a;return(a=l1(Vu))!==null&&a!==void 0?a:$R};var k9=(a,l)=>{return W(a),/*@__PURE__*/L(IZ,{value:l.messageBar,children:/*@__PURE__*/F1(a.root,{children:[a.icon&&/*@__PURE__*/L(a.icon,{}),a.root.children,a.bottomReflowSpacer&&/*@__PURE__*/L(a.bottomReflowSpacer,{})]})})};var z6={root:"fui-MessageBar",icon:"fui-MessageBar__icon",bottomReflowSpacer:"fui-MessageBar__bottomReflowSpacer"},QR=/*@__PURE__*/Q("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);}']),YR=/*@__PURE__*/Q("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;}"]),XR=/*@__PURE__*/Q("r1vx593n",null,[".r1vx593n{margin-bottom:var(--spacingVerticalS);grid-area:secondaryActions;}"]),jR=/*@__PURE__*/k({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}]]}),NR=/*@__PURE__*/k({info:{},error:{sj55zd:"f1ca9wz"},warning:{sj55zd:"f14a4cve"},success:{sj55zd:"f36rra6"}},{d:[".f1ca9wz{color:var(--colorStatusDangerForeground1);}",".f14a4cve{color:var(--colorStatusWarningForeground3);}",".f36rra6{color:var(--colorStatusSuccessForeground1);}"]}),aD=/*@__PURE__*/k({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);}"]}),y9=(a)=>{let l=QR(),c=YR(),o=NR(),e=aD(),r=XR(),t=jR();if(a.root.className=R(z6.root,l,a.layout==="multiline"&&t.rootMultiline,a.shape==="square"&&t.square,e[a.intent],a.transitionClassName,a.root.className),a.icon)a.icon.className=R(z6.icon,c,o[a.intent],a.icon.className);if(a.bottomReflowSpacer)a.bottomReflowSpacer.className=R(z6.bottomReflowSpacer,r);return a};f();function U9(a){let{layout:l,actionsRef:c,bodyRef:o,titleId:e}=a;return{messageBar:u1(()=>({layout:l,actionsRef:c,bodyRef:o,titleId:e}),[l,c,o,e])}}var w4=/*@__PURE__*/O((a,l)=>{let c=S9(a,l);return y9(c),P("useMessageBarStyles_unstable")(c),k9(c,U9(c))});w4.displayName="MessageBar";f();f();var G9=(a,l)=>{let{bodyRef:c}=PZ();return{components:{root:"div"},root:S.always(N("div",{ref:J1(l,c),...a}),{elementType:"div"})}};var B9=(a,l)=>{return W(a),/*@__PURE__*/L(ve,{value:l.link,children:/*@__PURE__*/L(a.root,{})})};var ye={root:"fui-MessageBarBody"},lD=/*@__PURE__*/Q("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);}"]),b9=(a)=>{let l=lD();return a.root.className=R(ye.root,l,a.root.className),a};f();function fu(a){return{link:u1(()=>({inline:!0}),[])}}var S4=/*@__PURE__*/O((a,l)=>{let c=G9(a,l),o=fu(c);return b9(c),P("useMessageBarBodyStyles_unstable")(c),B9(c,o)});S4.displayName="MessageBarBody";f();var iD={scrollState:"none",setScrollState:()=>({})},bu=e1(void 0),k4=bu.Provider,y4=()=>{var a;return(a=l1(bu))!==null&&a!==void 0?a:iD},U4=()=>{let[a,l]=Z1("none");return{setScrollState:l,scrollState:a}};f();f();f();f();var $6={drawerSizeVar:"--fui-Drawer--size"},Ou={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:a0.colorNeutralBackground1,color:a0.colorNeutralForeground1},nD=/*@__PURE__*/k({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;}"]}),vD=/*@__PURE__*/k({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%;}"]}),Ge=({position:a,size:l})=>{let c=nD(),o=vD();return R(c[a],a==="bottom"&&o[l],a!=="bottom"&&c[l])};var NZ={small:B1.durationGentle,medium:B1.durationSlow,large:B1.durationSlower,full:B1.durationUltraSlow};function Tu(a,l,c){let o=`translate3d(var(${l}), 0, 0)`,e=`translate3d(calc(var(${l}) * -1), 0, 0)`,r=`translate3d(0, var(${l}), 0)`;if(a==="start")return c==="ltr"?e:o;if(a==="end")return c==="ltr"?o:e;if(a==="bottom")return r;return"translate3d(0, 0, 0)"}var ai=x5(({position:a,size:l,dir:c})=>{let o=[{transform:Tu(a,$6.drawerSizeVar,c),opacity:0},{transform:"translate3d(0, 0, 0)",opacity:1}],e=NZ[l];return{enter:{keyframes:o,duration:e,easing:B1.curveDecelerateMid},exit:{keyframes:[...o].reverse(),duration:e,easing:B1.curveAccelerateMin}}}),Eu=x5(({position:a,size:l,dir:c})=>{let o=[{transform:Tu(a,$6.drawerSizeVar,c),boxShadow:`0px ${a0.colorTransparentBackground}`,opacity:0},{transform:"translate3d(0, 0, 0)",boxShadow:a0.shadow64,opacity:1}],e=NZ[l];return{enter:{keyframes:o,duration:e,easing:B1.curveDecelerateMid},exit:{keyframes:[...o].reverse(),duration:e,easing:B1.curveAccelerateMin}}}),Wu=x5(({size:a})=>{let l=[{opacity:0},{opacity:1}],c=NZ[a];return{enter:{keyframes:l,easing:B1.curveLinear,duration:c},exit:{keyframes:[...l].reverse(),easing:B1.curveLinear,duration:c}}});function Be(a){let{open:l=!1,size:c="small",position:o="start"}=a;return{size:c,position:o,open:l}}f();var dD=/*@__PURE__*/Q("rl76ifk",null,[".rl76ifk{inset:0px;position:fixed;background-color:var(--colorBackgroundOverlay);}"]),pD=/*@__PURE__*/k({nested:{De3pzq:"f1c21dwh"}},{d:[".f1c21dwh{background-color:var(--colorTransparentBackground);}"]}),Iu=(a)=>{let l=dD(),c=pD();if(a.backdrop)a.backdrop.className=R(l,a.isNestedDialog&&c.nested,a.backdrop.className);return a};var T9=/*@__PURE__*/O((a,l)=>{let c=V3({...a,as:a.as},l),o=g3(c);return Iu(c),f3(c,o)});T9.displayName="OverlayDrawerSurface";f();function li(a,l,c){if(a===null)return null;return{...a,children:(o,e)=>{if(a===null||a===void 0?void 0:a.children)return a.children(l,{...e,...c});return/*@__PURE__*/r1(l,{...e,...c},e.children)}}}var mD={active:!0,canRender:!0,ref:/*@__PURE__*/r5(),type:"idle"},ci=(a,l)=>{let{open:c,size:o,position:e}=Be(a),{backdropMotion:r,modalType:t="modal",inertTrapFocus:h,onOpenChange:Z,surfaceMotion:i,mountNode:v}=a,{dir:n,targetDocument:d}=V1(),{element:p}=Oa(v),m=Boolean(p&&(d===null||d===void 0?void 0:d.body)!==p),s=S.resolveShorthand(a.backdrop),M=t!=="non-modal"&&s!==null,u=S.always({...a,ref:l,backdrop:M?{...s}:null,backdropMotion:li(r,Wu,{size:o})},{elementType:T9}),A=S.always({open:c,onOpenChange:Z,inertTrapFocus:h,modalType:t,surfaceMotion:li(i,Eu,{position:e,size:o,dir:n}),children:null},{elementType:R5});return{components:{root:T9,dialog:R5},root:u,dialog:A,open:c,size:o,position:e,hasMountNodeElement:m,mountNode:v,motion:mD}};var oi=(a,l)=>{return W(a),/*@__PURE__*/L(k4,{value:l,children:/*@__PURE__*/L(a.dialog,{children:/*@__PURE__*/L(a.root,{})})})};f();var ei={root:"fui-OverlayDrawer",backdrop:"fui-OverlayDrawer__backdrop"},sD=/*@__PURE__*/Q("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;}}"]}),MD=/*@__PURE__*/k({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;}"]}),ri=(a)=>{let l=Ge(a),c=sD(),o=MD(),e=a.hasMountNodeElement&&o.absolute,r=a.root.backdrop;if(a.root.className=R(ei.root,l,c,o[a.position],e,a.root.className),r)r.className=R(ei.backdrop,e,r.className);return a};var E9=/*@__PURE__*/O((a,l)=>{let c=ci(a,l),o=U4();return ri(c),P("useDrawerOverlayStyles_unstable")(c),P("useOverlayDrawerStyles_unstable")(c),oi(c,o)});E9.displayName="OverlayDrawer";f();f();var _D={active:!0,canRender:!0,ref:r5(),type:"idle"},ti=(a,l)=>{let{size:c,position:o,open:e}=Be(a),{separator:r=!1,surfaceMotion:t}=a,{dir:h}=V1();return{components:{root:"div",surfaceMotion:ai},root:S.always(N("div",{...a,ref:l}),{elementType:"div"}),open:e,position:o,size:c,separator:r,surfaceMotion:h4(t,{elementType:ai,defaultProps:{position:o,size:c,dir:h,visible:e,unmountOnExit:!0}}),motion:_D}};var hi=(a,l)=>{return W(a),/*@__PURE__*/L(k4,{value:l,children:/*@__PURE__*/L(a.surfaceMotion,{children:/*@__PURE__*/L(a.root,{})})})};var Pu={root:"fui-InlineDrawer"},uD=/*@__PURE__*/Q("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;}"]),fZ1=`1px solid ${a0.colorNeutralBackground3}`,AD=/*@__PURE__*/k({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 HD(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 Zi=(a)=>{let l=uD(),c=Ge(a),o=AD();return a.root.className=R(Pu.root,l,c,HD(a,o),o[a.position],a.root.className),a};var W9=/*@__PURE__*/O((a,l)=>{let c=ti(a,l),o=U4();return Zi(c),P("useDrawerInlineStyles_unstable")(c),P("useInlineDrawerStyles_unstable")(c),hi(c,o)});W9.displayName="InlineDrawer";var I9=(a,l)=>{let c=a.type==="inline"?W9:E9,o=S.always({ref:l,...a},{elementType:c});return{components:{root:c},root:o}};var P9=(a,l)=>{return W(a),/*@__PURE__*/L(k4,{value:l,children:/*@__PURE__*/L(a.root,{})})};var qu={root:"fui-Drawer"},q9=(a)=>{return a.root.className=R(qu.root,a.root.className),a};var k2=/*@__PURE__*/O((a,l)=>{let c=I9(a,l),o=U4();return q9(c),P("useDrawerStyles_unstable")(c),P9(c,o)});k2.displayName="Drawer";f();f();var VD=({scrollTop:a,scrollHeight:l,clientHeight:c})=>{if(l<=c)return"none";if(a===0)return"top";if(a+c===l)return"bottom";return"middle"},z9=(a,l)=>{let{setScrollState:c}=y4(),o=E(null),[e,r]=Mo(),t=$(()=>{if(!o.current)return;c(VD(o.current))},[c]),h=$(()=>{r(),e(()=>t())},[r,e,t]);return W1(()=>{return r(),e(()=>t()),()=>r()},[a.children,r,t,e]),W1(()=>{return r(),e(()=>t()),()=>r()},[r,t,e]),{components:{root:"div"},root:S.always(N("div",{ref:J1(l,o),...a,onScroll:j5(a.onScroll,h)}),{elementType:"div"})}};var K9=(a)=>{return W(a),/*@__PURE__*/L(a.root,{})};var be={root:"fui-DrawerBody"},fD=/*@__PURE__*/Q("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);}"]),J9=(a)=>{let l=fD();return a.root.className=R(be.root,l,a.root.className),a};var y2=/*@__PURE__*/O((a,l)=>{let c=z9(a,l);return J9(c),P("useDrawerBodyStyles_unstable")(c),K9(c)});y2.displayName="DrawerBody";f();f();var $9=(a,l)=>{let{scrollState:c}=y4();return{components:{root:"header"},root:S.always(N("header",{ref:l,role:"none",...a}),{elementType:"header"}),scrollState:c}};var Q9=(a)=>{return W(a),/*@__PURE__*/L(a.root,{})};var Oe={root:"fui-DrawerHeader"},gD=/*@__PURE__*/Q("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;}"]),FD=/*@__PURE__*/k({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;}"]}),Y9=(a)=>{let l=gD(),c=FD();return a.root.className=R(Oe.root,l,a.scrollState!=="none"&&c.separator,["middle","bottom"].includes(a.scrollState)&&c.separatorVisible,a.root.className),a};var U2=/*@__PURE__*/O((a,l)=>{let c=$9(a,l);return Y9(c),P("useDrawerHeaderStyles_unstable")(c),Q9(c)});U2.displayName="DrawerHeader";f();f();var X9=(a,l)=>{let{children:c,heading:o}=a,e=E0((r)=>r.dialogTitleId);return{components:{root:"div",heading:"h2",action:"div"},root:S.always(N("div",{ref:l,...a}),{elementType:"div"}),heading:S.optional(o,{defaultProps:{id:e,children:c},renderByDefault:!0,elementType:"h2"}),action:S.optional(a.action,{elementType:"div"})}};var j9=(a)=>{return W(a),/*@__PURE__*/F1(a.root,{children:[a.heading&&/*@__PURE__*/L(a.heading,{}),a.action&&/*@__PURE__*/L(a.action,{})]})};var Q6={root:"fui-DrawerHeaderTitle",heading:"fui-DrawerHeaderTitle__heading",action:"fui-DrawerHeaderTitle__action"},xD=/*@__PURE__*/k({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);}"]}),N9=(a)=>{let l=xD(),{heading:c={},action:o,components:e}=a;if(H3({components:{root:e.heading,action:e.action},root:c,action:o}),a.root.className=R(Q6.root,l.root,a.root.className),a.heading)a.heading.className=R(Q6.heading,a.heading.className);if(a.action)a.action.className=R(Q6.action,l.action,a.action.className);return a};var G2=/*@__PURE__*/O((a,l)=>{let c=X9(a,l);return N9(c),P("useDrawerHeaderTitleStyles_unstable")(c),j9(c)});G2.displayName="DrawerHeaderTitle";f();f();var ac=(a,l)=>{let{scrollState:c}=y4();return{components:{root:"footer"},root:S.always(N("footer",{ref:l,role:"none",...a}),{elementType:"footer"}),scrollState:c}};var lc=(a)=>{return W(a),/*@__PURE__*/L(a.root,{})};var Te={root:"fui-DrawerFooter"},CD=/*@__PURE__*/Q("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;}"]),LD=/*@__PURE__*/k({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;}"]}),cc=(a)=>{let l=CD(),c=LD();return a.root.className=R(Te.root,l,a.scrollState!=="none"&&c.separator,["middle","top"].includes(a.scrollState)&&c.separatorVisible,a.root.className),a};var q7=/*@__PURE__*/O((a,l)=>{let c=ac(a,l);return cc(c),P("useDrawerFooterStyles_unstable")(c),lc(c)});q7.displayName="DrawerFooter";function S0(a,l){if(RD(a))a="100%";var c=DD(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 oc(a){return Math.min(1,Math.max(0,a))}function RD(a){return typeof a==="string"&&a.indexOf(".")!==-1&&parseFloat(a)===1}function DD(a){return typeof a==="string"&&a.indexOf("%")!==-1}function Ee(a){if(a=parseFloat(a),isNaN(a)||a<0||a>1)a=1;return a}function ec(a){if(a<=1)return"".concat(Number(a)*100,"%");return a}function C3(a){return a.length===1?"0"+a:String(a)}function zu(a,l,c){return{r:S0(a,255)*255,g:S0(l,255)*255,b:S0(c,255)*255}}function ni(a,l,c){a=S0(a,255),l=S0(l,255),c=S0(c,255);var o=Math.max(a,l,c),e=Math.min(a,l,c),r=0,t=0,h=(o+e)/2;if(o===e)t=0,r=0;else{var Z=o-e;switch(t=h>0.5?Z/(2-o-e):Z/(o+e),o){case a:r=(l-c)/Z+(l<c?6:0);break;case l:r=(c-a)/Z+2;break;case c:r=(a-l)/Z+4;break;default:break}r/=6}return{h:r,s:t,l:h}}function ii(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 Ku(a,l,c){var o,e,r;if(a=S0(a,360),l=S0(l,100),c=S0(c,100),l===0)e=c,r=c,o=c;else{var t=c<0.5?c*(1+l):c+l-c*l,h=2*c-t;o=ii(h,t,a+0.3333333333333333),e=ii(h,t,a),r=ii(h,t,a-0.3333333333333333)}return{r:o*255,g:e*255,b:r*255}}function vi(a,l,c){a=S0(a,255),l=S0(l,255),c=S0(c,255);var o=Math.max(a,l,c),e=Math.min(a,l,c),r=0,t=o,h=o-e,Z=o===0?0:h/o;if(o===e)r=0;else{switch(o){case a:r=(l-c)/h+(l<c?6:0);break;case l:r=(c-a)/h+2;break;case c:r=(a-l)/h+4;break;default:break}r/=6}return{h:r,s:Z,v:t}}function Ju(a,l,c){a=S0(a,360)*6,l=S0(l,100),c=S0(c,100);var o=Math.floor(a),e=a-o,r=c*(1-l),t=c*(1-e*l),h=c*(1-(1-e)*l),Z=o%6,i=[c,t,r,r,h,c][Z],v=[h,c,c,t,r,r][Z],n=[r,r,h,c,c,t][Z];return{r:i*255,g:v*255,b:n*255}}function di(a,l,c,o){var e=[C3(Math.round(a).toString(16)),C3(Math.round(l).toString(16)),C3(Math.round(c).toString(16))];if(o&&e[0].startsWith(e[0].charAt(1))&&e[1].startsWith(e[1].charAt(1))&&e[2].startsWith(e[2].charAt(1)))return e[0].charAt(0)+e[1].charAt(0)+e[2].charAt(0);return e.join("")}function $u(a,l,c,o,e){var r=[C3(Math.round(a).toString(16)),C3(Math.round(l).toString(16)),C3(Math.round(c).toString(16)),C3(wD(o))];if(e&&r[0].startsWith(r[0].charAt(1))&&r[1].startsWith(r[1].charAt(1))&&r[2].startsWith(r[2].charAt(1))&&r[3].startsWith(r[3].charAt(1)))return r[0].charAt(0)+r[1].charAt(0)+r[2].charAt(0)+r[3].charAt(0);return r.join("")}function wD(a){return Math.round(parseFloat(a)*255).toString(16)}function pi(a){return D5(a)/255}function D5(a){return parseInt(a,16)}function Qu(a){return{r:a>>16,g:(a&65280)>>8,b:a&255}}var rc={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 Yu(a){var l={r:0,g:0,b:0},c=1,o=null,e=null,r=null,t=!1,h=!1;if(typeof a==="string")a=yD(a);if(typeof a==="object"){if(z7(a.r)&&z7(a.g)&&z7(a.b))l=zu(a.r,a.g,a.b),t=!0,h=String(a.r).substr(-1)==="%"?"prgb":"rgb";else if(z7(a.h)&&z7(a.s)&&z7(a.v))o=ec(a.s),e=ec(a.v),l=Ju(a.h,o,e),t=!0,h="hsv";else if(z7(a.h)&&z7(a.s)&&z7(a.l))o=ec(a.s),r=ec(a.l),l=Ku(a.h,o,r),t=!0,h="hsl";if(Object.prototype.hasOwnProperty.call(a,"a"))c=a.a}return c=Ee(c),{ok:t,format:a.format||h,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 SD="[-\\+]?\\d+%?",kD="[-\\+]?\\d*\\.\\d+%?",L3="(?:".concat(kD,")|(?:").concat(SD,")"),mi="[\\s|\\(]+(".concat(L3,")[,|\\s]+(").concat(L3,")[,|\\s]+(").concat(L3,")\\s*\\)?"),si="[\\s|\\(]+(".concat(L3,")[,|\\s]+(").concat(L3,")[,|\\s]+(").concat(L3,")[,|\\s]+(").concat(L3,")\\s*\\)?"),B2={CSS_UNIT:new RegExp(L3),rgb:new RegExp("rgb"+mi),rgba:new RegExp("rgba"+si),hsl:new RegExp("hsl"+mi),hsla:new RegExp("hsla"+si),hsv:new RegExp("hsv"+mi),hsva:new RegExp("hsva"+si),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 yD(a){if(a=a.trim().toLowerCase(),a.length===0)return!1;var l=!1;if(rc[a])a=rc[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:D5(c[1]),g:D5(c[2]),b:D5(c[3]),a:pi(c[4]),format:l?"name":"hex8"};if(c=B2.hex6.exec(a),c)return{r:D5(c[1]),g:D5(c[2]),b:D5(c[3]),format:l?"name":"hex"};if(c=B2.hex4.exec(a),c)return{r:D5(c[1]+c[1]),g:D5(c[2]+c[2]),b:D5(c[3]+c[3]),a:pi(c[4]+c[4]),format:l?"name":"hex8"};if(c=B2.hex3.exec(a),c)return{r:D5(c[1]+c[1]),g:D5(c[2]+c[2]),b:D5(c[3]+c[3]),format:l?"name":"hex"};return!1}function z7(a){return Boolean(B2.CSS_UNIT.exec(String(a)))}var Mi=function(){function a(l,c){if(l===void 0)l="";if(c===void 0)c={};var o;if(l instanceof a)return l;if(typeof l==="number")l=Qu(l);this.originalInput=l;var e=Yu(l);if(this.originalInput=l,this.r=e.r,this.g=e.g,this.b=e.b,this.a=e.a,this.roundA=Math.round(100*this.a)/100,this.format=(o=c.format)!==null&&o!==void 0?o:e.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=e.ok}return a.prototype.isDark=function(){return this.getBrightness()<128},a.prototype.isLight=function(){return!this.isDark()},a.prototype.getBrightness=function(){var l=this.toRgb();return(l.r*299+l.g*587+l.b*114)/1000},a.prototype.getLuminance=function(){var l=this.toRgb(),c,o,e,r=l.r/255,t=l.g/255,h=l.b/255;if(r<=0.03928)c=r/12.92;else c=Math.pow((r+0.055)/1.055,2.4);if(t<=0.03928)o=t/12.92;else o=Math.pow((t+0.055)/1.055,2.4);if(h<=0.03928)e=h/12.92;else e=Math.pow((h+0.055)/1.055,2.4);return 0.2126*c+0.7152*o+0.0722*e},a.prototype.getAlpha=function(){return this.a},a.prototype.setAlpha=function(l){return this.a=Ee(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=vi(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=vi(this.r,this.g,this.b),c=Math.round(l.h*360),o=Math.round(l.s*100),e=Math.round(l.v*100);return this.a===1?"hsv(".concat(c,", ").concat(o,"%, ").concat(e,"%)"):"hsva(".concat(c,", ").concat(o,"%, ").concat(e,"%, ").concat(this.roundA,")")},a.prototype.toHsl=function(){var l=ni(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=ni(this.r,this.g,this.b),c=Math.round(l.h*360),o=Math.round(l.s*100),e=Math.round(l.l*100);return this.a===1?"hsl(".concat(c,", ").concat(o,"%, ").concat(e,"%)"):"hsla(".concat(c,", ").concat(o,"%, ").concat(e,"%, ").concat(this.roundA,")")},a.prototype.toHex=function(l){if(l===void 0)l=!1;return di(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 $u(this.r,this.g,this.b,this.a,l)},a.prototype.toHex8String=function(l){if(l===void 0)l=!1;return"#"+this.toHex8(l)},a.prototype.toHexShortString=function(l){if(l===void 0)l=!1;return this.a===1?this.toHexString(l):this.toHex8String(l)},a.prototype.toRgb=function(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}},a.prototype.toRgbString=function(){var l=Math.round(this.r),c=Math.round(this.g),o=Math.round(this.b);return this.a===1?"rgb(".concat(l,", ").concat(c,", ").concat(o,")"):"rgba(".concat(l,", ").concat(c,", ").concat(o,", ").concat(this.roundA,")")},a.prototype.toPercentageRgb=function(){var l=function(c){return"".concat(Math.round(S0(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(S0(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="#"+di(this.r,this.g,this.b,!1);for(var c=0,o=Object.entries(rc);c<o.length;c++){var e=o[c],r=e[0],t=e[1];if(l===t)return r}return!1},a.prototype.toString=function(l){var c=Boolean(l);l=l!==null&&l!==void 0?l:this.format;var o=!1,e=this.a<1&&this.a>=0,r=!c&&e&&(l.startsWith("hex")||l==="name");if(r){if(l==="name"&&this.a===0)return this.toName();return this.toRgbString()}if(l==="rgb")o=this.toRgbString();if(l==="prgb")o=this.toPercentageRgbString();if(l==="hex"||l==="hex6")o=this.toHexString();if(l==="hex3")o=this.toHexString(!0);if(l==="hex4")o=this.toHex8String(!0);if(l==="hex8")o=this.toHex8String();if(l==="name")o=this.toName();if(l==="hsl")o=this.toHslString();if(l==="hsv")o=this.toHsvString();return o||this.toHexString()},a.prototype.toNumber=function(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)},a.prototype.clone=function(){return new a(this.toString())},a.prototype.lighten=function(l){if(l===void 0)l=10;var c=this.toHsl();return c.l+=l/100,c.l=oc(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=oc(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=oc(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=oc(c.s),new a(c)},a.prototype.greyscale=function(){return this.desaturate(100)},a.prototype.spin=function(l){var c=this.toHsl(),o=(c.h+l)%360;return c.h=o<0?360+o:o,new a(c)},a.prototype.mix=function(l,c){if(c===void 0)c=50;var o=this.toRgb(),e=new a(l).toRgb(),r=c/100,t={r:(e.r-o.r)*r+o.r,g:(e.g-o.g)*r+o.g,b:(e.b-o.b)*r+o.b,a:(e.a-o.a)*r+o.a};return new a(t)},a.prototype.analogous=function(l,c){if(l===void 0)l=6;if(c===void 0)c=30;var o=this.toHsl(),e=360/c,r=[this];for(o.h=(o.h-(e*l>>1)+720)%360;--l;)o.h=(o.h+e)%360,r.push(new a(o));return r},a.prototype.complement=function(){var l=this.toHsl();return l.h=(l.h+180)%360,new a(l)},a.prototype.monochromatic=function(l){if(l===void 0)l=6;var c=this.toHsv(),o=c.h,e=c.s,r=c.v,t=[],h=1/l;while(l--)t.push(new a({h:o,s:e,v:r})),r=(r+h)%1;return t},a.prototype.splitcomplement=function(){var l=this.toHsl(),c=l.h;return[this,new a({h:(c+72)%360,s:l.s,l:l.l}),new a({h:(c+216)%360,s:l.s,l:l.l})]},a.prototype.onBackground=function(l){var c=this.toRgb(),o=new a(l).toRgb(),e=c.a+o.a*(1-c.a);return new a({r:(c.r*c.a+o.r*o.a*(1-c.a))/e,g:(c.g*c.a+o.g*o.a*(1-c.a))/e,b:(c.b*c.a+o.b*o.a*(1-c.a))/e,a:e})},a.prototype.triad=function(){return this.polyad(3)},a.prototype.tetrad=function(){return this.polyad(4)},a.prototype.polyad=function(l){var c=this.toHsl(),o=c.h,e=[this],r=360/l;for(var t=1;t<l;t++)e.push(new a({h:(o+t*r)%360,s:c.s,l:c.l}));return e},a.prototype.equals=function(l){return this.toRgbString()===new a(l).toRgbString()},a}();function R3(a,l,c,o){function e(r){return r instanceof c?r:new c(function(t){t(r)})}return new(c||(c=Promise))(function(r,t){function h(v){try{i(o.next(v))}catch(n){t(n)}}function Z(v){try{i(o.throw(v))}catch(n){t(n)}}function i(v){v.done?r(v.value):e(v.value).then(h,Z)}i((o=o.apply(a,l||[])).next())})}var f0=(a,l,c)=>{return new Mi(a).mix(new Mi(l),c).toHexString()},UD=(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)}},GD=(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}},We=(a,l="pairs")=>{switch(l){case"primaryAndEnds":return GD(a);case"pairs":default:return UD(a)}};H5();async function Xu(){if(window.moduleLoaderPromise)return(await window.moduleLoaderPromise)?.context;console.error("Unable to retrieve Modern SP Context...")}async function ju(){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 _i="d6ca1fc2-0591-4c6d-8a25-cae3262c017b",Nu="45e75137-13c5-4bb2-a2b3-8ab6382682ee",aA="SPFxExtensionsConfigurator",Ie="SitePages/SPFxExtensionsConfigurator.aspx",I0="manifest.txt",e2="collectionconfig.txt",$m1="Loading...",Y6="SPFxExtensionsConfiguration",X6="SPFxExtensionsWhiteList",S1="SPFxExtensions",lA="/SPFxExtensions/",C0="SPFxExtensionsData",Pe="[SPFxExtensionCore]",tc={appDefinitionMap:[],appRelativeEntryPointUrls:[],isESM:!0},j6={enabledEverywhere:!1,excludedHubIds:[],excludedIds:[],includedHubIds:[],includedIds:[]},hc={enabledAppCollections:[],urlMap:[]},X0="00000000-0000-0000-0000-000000000000";function D1(a,l,c=a){return(o)=>{let e=""+o,r=e.indexOf(l,a.length);return~r?a+BD(e,l,c,r)+l:a+e+l}}function BD(a,l,c,o){let e="",r=0;do e+=a.substring(r,o)+c,r=o+l.length,o=a.indexOf(l,r);while(~o);return e+a.substring(r)}var Ym1=D1("\x1B[0m","\x1B[0m"),Xm1=D1("\x1B[1m","\x1B[22m","\x1B[22m\x1B[1m"),jm1=D1("\x1B[2m","\x1B[22m","\x1B[22m\x1B[2m"),Nm1=D1("\x1B[3m","\x1B[23m"),as1=D1("\x1B[4m","\x1B[24m"),ls1=D1("\x1B[7m","\x1B[27m"),cs1=D1("\x1B[8m","\x1B[28m"),os1=D1("\x1B[9m","\x1B[29m"),es1=D1("\x1B[30m","\x1B[39m"),rs1=D1("\x1B[31m","\x1B[39m"),ts1=D1("\x1B[32m","\x1B[39m"),hs1=D1("\x1B[33m","\x1B[39m"),Zs1=D1("\x1B[34m","\x1B[39m"),is1=D1("\x1B[35m","\x1B[39m"),ns1=D1("\x1B[36m","\x1B[39m"),vs1=D1("\x1B[37m","\x1B[39m"),ds1=D1("\x1B[90m","\x1B[39m"),ps1=D1("\x1B[40m","\x1B[49m"),ms1=D1("\x1B[41m","\x1B[49m"),ss1=D1("\x1B[42m","\x1B[49m"),Ms1=D1("\x1B[43m","\x1B[49m"),_s1=D1("\x1B[44m","\x1B[49m"),us1=D1("\x1B[45m","\x1B[49m"),As1=D1("\x1B[46m","\x1B[49m"),Hs1=D1("\x1B[47m","\x1B[49m"),Vs1=D1("\x1B[90m","\x1B[39m"),fs1=D1("\x1B[91m","\x1B[39m"),qe=D1("\x1B[92m","\x1B[39m"),gs1=D1("\x1B[93m","\x1B[39m"),Fs1=D1("\x1B[94m","\x1B[39m"),xs1=D1("\x1B[95m","\x1B[39m"),Cs1=D1("\x1B[96m","\x1B[39m"),Ls1=D1("\x1B[97m","\x1B[39m"),Rs1=D1("\x1B[100m","\x1B[49m"),Ds1=D1("\x1B[101m","\x1B[49m"),ws1=D1("\x1B[102m","\x1B[49m"),Ss1=D1("\x1B[103m","\x1B[49m"),ks1=D1("\x1B[104m","\x1B[49m"),ys1=D1("\x1B[105m","\x1B[49m"),Us1=D1("\x1B[106m","\x1B[49m"),Gs1=D1("\x1B[107m","\x1B[49m");function s1(...a){console.error(qe(Pe),(/*@__PURE__*/new Date()).toISOString(),...a)}function b2(...a){console.warn(qe(Pe),(/*@__PURE__*/new Date()).toISOString(),...a)}function k0(...a){console.info(qe(Pe),(/*@__PURE__*/new Date()).toISOString(),...a)}function cA(...a){}function Ts1(a,l,c){s1("Error while executing onInstanceRequested for app",a.id,"with name",a.name,c?`Additional Data: ${c}`:"",l)}function Is1(){return b2("The app instance event was called before app instance was initialized."),()=>{}}var ui=window.crypto.randomUUID();function Ps1(){return ui}function qs1(){return ui=window.crypto.randomUUID(),ui}function Ai(a){return a.replace("{","").replace("}","")}function T1(a){return JSON.parse(JSON.stringify(a))}var P0=await ju();function Qs1(){return P0.contextType==="SPOModernContext"?P0.context.web.id.toString():Ai(P0.context.webId)}function G4(){return(P0.contextType==="SPOModernContext"?P0.context.web.absoluteUrl:P0.context.webAbsoluteUrl).replace(/\/$/,"")}function Ys1(){return P0.contextType==="SPOModernContext"?P0.context.site.id.toString():Ai(P0.context.siteId)}function Xs1(){return P0.contextType==="SPOModernContext"?P0.context.site.absoluteUrl:P0.context.siteAbsoluteUrl}function js1(){return(P0.contextType==="SPOModernContext"?P0.context.legacyPageContext.hubSiteId?.toString():P0.context.hubSiteId)??X0}function Ns1(){return P0.contextType==="SPOModernContext"?P0.context.legacyPageContext.isHubSite:P0.context.isHubSite}j7();H5();var bD=Symbol.for("preact-signals");function Ke(){if(!(D3>1)){var a,l=!1;while(Zc!==void 0){var c=Zc;Zc=void 0,Hi++;while(c!==void 0){var o=c.o;if(c.o=void 0,c.f&=-3,!(8&c.f)&&eA(c))try{c.c()}catch(e){if(!l)a=e,l=!0}c=o}}if(Hi=0,D3--,l)throw a}else D3--}function Je(a){if(D3>0)return a();D3++;try{return a()}finally{Ke()}}var q1=void 0;function Vi(a){var l=q1;q1=void 0;try{return a()}finally{q1=l}}var Zc=void 0,D3=0,Hi=0,ze=0;function oA(a){if(q1!==void 0){var l=a.n;if(l===void 0||l.t!==q1){if(l={i:0,S:a,p:q1.s,n:void 0,t:q1,e:void 0,x:void 0,r:l},q1.s!==void 0)q1.s.n=l;if(q1.s=l,a.n=l,32&q1.f)a.S(l);return l}else if(l.i===-1){if(l.i=0,l.n!==void 0){if(l.n.p=l.p,l.p!==void 0)l.p.n=l.n;l.p=q1.s,l.n=void 0,q1.s.n=l,q1.s=l}return l}}}function y0(a,l){this.v=a,this.i=0,this.n=void 0,this.t=void 0,this.W=l==null?void 0:l.watched,this.Z=l==null?void 0:l.unwatched}y0.prototype.brand=bD;y0.prototype.h=function(){return!0};y0.prototype.S=function(a){var l=this,c=this.t;if(c!==a&&a.e===void 0)if(a.x=c,this.t=a,c!==void 0)c.e=a;else Vi(function(){var o;(o=l.W)==null||o.call(l)})};y0.prototype.U=function(a){var l=this;if(this.t!==void 0){var{e:c,x:o}=a;if(c!==void 0)c.x=o,a.e=void 0;if(o!==void 0)o.e=c,a.x=void 0;if(a===this.t){if(this.t=o,o===void 0)Vi(function(){var e;(e=l.Z)==null||e.call(l)})}}};y0.prototype.subscribe=function(a){var l=this;return v7(function(){var c=l.value,o=q1;q1=void 0;try{a(c)}finally{q1=o}})};y0.prototype.valueOf=function(){return this.value};y0.prototype.toString=function(){return this.value+""};y0.prototype.toJSON=function(){return this.value};y0.prototype.peek=function(){var a=q1;q1=void 0;try{return this.value}finally{q1=a}};Object.defineProperty(y0.prototype,"value",{get:function(){var a=oA(this);if(a!==void 0)a.i=this.i;return this.v},set:function(a){if(a!==this.v){if(Hi>100)throw new Error("Cycle detected");this.v=a,this.i++,ze++,D3++;try{for(var l=this.t;l!==void 0;l=l.x)l.t.N()}finally{Ke()}}}});function q0(a,l){return new y0(a,l)}function eA(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 rA(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 tA(a){var l=a.s,c=void 0;while(l!==void 0){var o=l.p;if(l.i===-1){if(l.S.U(l),o!==void 0)o.n=l.n;if(l.n!==void 0)l.n.p=o}else c=l;if(l.S.n=l.r,l.r!==void 0)l.r=void 0;l=o}a.s=c}function B4(a,l){y0.call(this,void 0),this.x=a,this.s=void 0,this.g=ze-1,this.f=4,this.W=l==null?void 0:l.watched,this.Z=l==null?void 0:l.unwatched}B4.prototype=new y0;B4.prototype.h=function(){if(this.f&=-3,1&this.f)return!1;if((36&this.f)==32)return!0;if(this.f&=-5,this.g===ze)return!0;if(this.g=ze,this.f|=1,this.i>0&&!eA(this))return this.f&=-2,!0;var a=q1;try{rA(this),q1=this;var l=this.x();if(16&this.f||this.v!==l||this.i===0)this.v=l,this.f&=-17,this.i++}catch(c){this.v=c,this.f|=16,this.i++}return q1=a,tA(this),this.f&=-2,!0};B4.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)}y0.prototype.S.call(this,a)};B4.prototype.U=function(a){if(this.t!==void 0){if(y0.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)}}};B4.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(B4.prototype,"value",{get:function(){if(1&this.f)throw new Error("Cycle detected");var a=oA(this);if(this.h(),a!==void 0)a.i=this.i;if(16&this.f)throw this.v;return this.v}});function $e(a,l){return new B4(a,l)}function hA(a){var l=a.u;if(a.u=void 0,typeof l=="function"){D3++;var c=q1;q1=void 0;try{l()}catch(o){throw a.f&=-2,a.f|=8,fi(a),o}finally{q1=c,Ke()}}}function fi(a){for(var l=a.s;l!==void 0;l=l.n)l.S.U(l);a.x=void 0,a.s=void 0,hA(a)}function OD(a){if(q1!==this)throw new Error("Out-of-order effect");if(tA(this),q1=a,this.f&=-2,8&this.f)fi(this);Ke()}function N6(a){this.x=a,this.u=void 0,this.s=void 0,this.o=void 0,this.f=32}N6.prototype.c=function(){var a=this.S();try{if(8&this.f)return;if(this.x===void 0)return;var l=this.x();if(typeof l=="function")this.u=l}finally{a()}};N6.prototype.S=function(){if(1&this.f)throw new Error("Cycle detected");this.f|=1,this.f&=-9,hA(this),rA(this),D3++;var a=q1;return q1=this,OD.bind(this,a)};N6.prototype.N=function(){if(!(2&this.f))this.f|=2,this.o=Zc,Zc=this};N6.prototype.d=function(){if(this.f|=8,!(1&this.f))fi(this)};N6.prototype.dispose=function(){this.d()};function v7(a){var l=new N6(a);try{l.c()}catch(o){throw l.d(),o}var c=l.d.bind(l);return c[Symbol.dispose]=c,c}var Fi,xi,gi,ZA=[],iA=[];v7(function(){Fi=this.N})();function a8(a,l){_1[a]=l.bind(null,_1[a]||function(){})}function Qe(a){if(gi)gi();gi=a&&a.S()}function nA(a){var l=this,c=a.data,o=K7(c);o.value=c;var e=u1(function(){var h=l,Z=l.__v;while(Z=Z.__)if(Z.__c){Z.__c.__$f|=4;break}var i=$e(function(){var p=o.value.value;return p===0?0:p===!0?"":p||""}),v=$e(function(){return!Array.isArray(i.value)&&!Xr(i.value)}),n=v7(function(){if(this.N=vA,v.value){var p=i.value;if(h.__v&&h.__v.__e&&h.__v.__e.nodeType===3)h.__v.__e.data=p}}),d=l.__$u.d;return l.__$u.d=function(){n(),d.call(this)},[v,i]},[]),r=e[0],t=e[1];return r.value?t.peek():t.value}nA.displayName="_st";Object.defineProperties(y0.prototype,{constructor:{configurable:!0,value:void 0},type:{configurable:!0,value:nA},props:{configurable:!0,get:function(){return{data:this}}},__b:{configurable:!0,value:1}});a8("__b",function(a,l){if(typeof l.type=="string"){var c,o=l.props;for(var e in o)if(e!=="children"){var r=o[e];if(r instanceof y0){if(!c)l.__np=c={};c[e]=r,o[e]=r.peek()}}}a(l)});a8("__r",function(a,l){if(l.type!==p1){Qe();var c,o=l.__c;if(o){if(o.__$f&=-2,(c=o.__$u)===void 0)o.__$u=c=function(e){var r;return v7(function(){r=this}),r.c=function(){o.__$f|=1,o.setState({})},r}()}xi=o,Qe(c)}a(l)});a8("__e",function(a,l,c,o){Qe(),xi=void 0,a(l,c,o)});a8("diffed",function(a,l){Qe(),xi=void 0;var c;if(typeof l.type=="string"&&(c=l.__e)){var{__np:o,props:e}=l;if(o){var r=c.U;if(r)for(var t in r){var h=r[t];if(h!==void 0&&!(t in o))h.d(),r[t]=void 0}else r={},c.U=r;for(var Z in o){var i=r[Z],v=o[Z];if(i===void 0)i=TD(c,Z,v,e),r[Z]=i;else i.o(v,e)}}}a(l)});function TD(a,l,c,o){var e=l in a&&a.ownerSVGElement===void 0,r=q0(c);return{o:function(t,h){r.value=t,o=h},d:v7(function(){this.N=vA;var t=r.value.value;if(o[l]!==t)if(o[l]=t,e)a[l]=t;else if(t)a.setAttribute(l,t);else a.removeAttribute(l)})}}a8("unmount",function(a,l){if(typeof l.type=="string"){var c=l.__e;if(c){var o=c.U;if(o){c.U=void 0;for(var e in o){var r=o[e];if(r)r.d()}}}}else{var t=l.__c;if(t){var h=t.__$u;if(h)t.__$u=void 0,h.d()}}a(l)});a8("__h",function(a,l,c,o){if(o<3||o===9)l.__$f|=2;a(l,c,o)});e5.prototype.shouldComponentUpdate=function(a,l){var c=this.__$u,o=c&&c.s!==void 0;for(var e in l)return!0;if(this.__f||typeof this.u=="boolean"&&this.u===!0){var r=2&this.__$f;if(!(o||r||4&this.__$f))return!0;if(1&this.__$f)return!0}else{if(!(o||4&this.__$f))return!0;if(3&this.__$f)return!0}for(var t in a)if(t!=="__source"&&a[t]!==this.props[t])return!0;for(var h in this.props)if(!(h in a))return!0;return!1};function K7(a,l){return u1(function(){return q0(a,l)},[])}var ED=typeof requestAnimationFrame=="undefined"?setTimeout:function(a){var l=function(){clearTimeout(c),cancelAnimationFrame(o),a()},c=setTimeout(l,35),o=requestAnimationFrame(l)},WD=function(a){queueMicrotask(function(){queueMicrotask(a)})};function ID(){Je(function(){var a;while(a=ZA.shift())Fi.call(a)})}function PD(){if(ZA.push(this)===1)(_1.requestAnimationFrame||ED)(ID)}function qD(){Je(function(){var a;while(a=iA.shift())Fi.call(a)})}function vA(){if(iA.push(this)===1)(_1.requestAnimationFrame||WD)(qD)}function I5(a){var l=E(a);l.current=a,h1(function(){return v7(function(){return this.N=PD,l.current()})},[])}function w3(a,l,c){let o=new Date(a.toString());switch(l.toLowerCase()){case"year":o.setFullYear(o.getFullYear()+c);break;case"quarter":o.setMonth(o.getMonth()+3*c);break;case"month":o.setMonth(o.getMonth()+c);break;case"week":o.setDate(o.getDate()+7*c);break;case"day":o.setDate(o.getDate()+c);break;case"hour":o.setTime(o.getTime()+c*3600000);break;case"minute":o.setTime(o.getTime()+c*60000);break;case"second":o.setTime(o.getTime()+c*1000);break;default:o=void 0;break}return o}function E1(...a){return a.filter((l)=>!S5(l)).map((l)=>l.replace(/^[\\|/]/,"").replace(/[\\|/]$/,"")).join("/").replace(/\\/g,"/")}function J7(){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 w5(a){return typeof a==="function"}function z0(a){return Array.isArray(a)}function U0(a){return/^https?:\/\/|^\/\//i.test(a)}function S5(a){return typeof a==="undefined"||a===null||a.length<1}function L0(a){return typeof a!=="undefined"&&a!==null}function Ye(a){return JSON.stringify(a)}function $1(a,l){return Object.hasOwnProperty.call(a,l)}function dA(a){let l=0;if(a.length===0)return l;for(let c=0;c<a.length;c++){let o=a.charCodeAt(c);l=(l<<5)-l+o,l|=0}return l}function pA(a){return new Promise((l)=>{setTimeout(l,a)})}var Ci;function mA(){if(typeof Ci==="undefined")Ci=new sA;return Ci}class Li{constructor(a){this.store=a,this.enabled=this.test()}get(a){if(!this.enabled)return null;let l=this.store.getItem(a);if(!L0(l))return null;let c=JSON.parse(l);if(new Date(c.expiration)<=/*@__PURE__*/new Date)return this.delete(a),null;else return c.value}put(a,l,c){if(this.enabled)this.store.setItem(a,this.createPersistable(l,c))}delete(a){if(this.enabled)this.store.removeItem(a)}async getOrPut(a,l,c){if(!this.enabled)return l();let o=this.get(a);if(o===null)o=await l(),this.put(a,o,c);return o}async deleteExpired(){if(!this.enabled)return;for(let a=0;a<this.store.length;a++){let l=this.store.key(a);if(l!==null){if(/["|']?pnp["|']? ?: ?1/i.test(this.store.getItem(l)))await this.get(l)}}}test(){try{return this.store.setItem("t","t"),this.store.removeItem("t"),!0}catch(l){return!1}}createPersistable(a,l){if(l===void 0)l=w3(/*@__PURE__*/new Date,"minute",5);return Ye({pnp:1,expiration:l,value:a})}}class sA{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 Ri{constructor(a=null,l=null){this._local=a,this._session=l}get local(){if(this._local===null)this._local=new Li(typeof localStorage==="undefined"?mA():localStorage);return this._local}get session(){if(this._session===null)this._session=new Li(typeof sessionStorage==="undefined"?mA():sessionStorage);return this._session}}function Xe(){return function(a,...l){let c=[...a];for(let o=0;o<c.length;o++)Reflect.apply(c[o],this,l)}}function MA(){return function(a,...l){return[...a].reduce((o,e)=>Reflect.apply(e,this,o),l)}}function ic(){return async function(a,...l){return[...a].reduce((o,e)=>o.then((r)=>Reflect.apply(e,this,r)),Promise.resolve(l))}}function _A(){return async function(a,...l){if(!z0(a)||a.length<1)return;let c=a[0];return Reflect.apply(c,this,l)}}function je(){return function(a,...l){let c=[...a];for(let o=0;o<c.length;o++)Reflect.apply(c[o],this,l);return this}}var wi=Symbol.for("ObserverLifecycleFlags"),uA=(a)=>(l)=>!((l[wi]||0)&a),AA=(a)=>(l)=>{return l[wi]=(l[wi]||0)|a,l},b4=AA(1),mM1=AA(2);class Si{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(),Di(a.observers,l,c,1),a},{toArray:()=>{return Reflect.has(a.observers,l)?[...Reflect.get(a.observers,l)]:[]},replace:(c)=>{return a.cloneObserversOnChange(),Di(a.observers,l,c,3),a},prepend:(c)=>{return a.cloneObserversOnChange(),Di(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(L0(a))this.emit.error(a)}get emit(){if(this._emitProxy===null)this._emitProxy=new Proxy(this,{get:(a,l)=>(...c)=>{let o=Reflect.has(a.observers,l)?Reflect.get(a.observers,l):[];if((!z0(o)||o.length<1)&&l==="error")throw Error(`Unhandled Exception: ${c[0]}`);try{let e=Reflect.has(a.moments,l)?Reflect.get(a.moments,l):l==="init"||l==="dispose"?je():Xe();return Reflect.apply(e,a,[o,...c])}catch(e){if(l!=="error")this.error(e);else throw e}finally{if(o&&o.length>0)Reflect.set(a.observers,l,o.filter(uA(2)))}}});return this._emitProxy}start(a){this.emit.init();let l=this.execute(a);return l.finally(()=>{try{this.emit.dispose()}catch(c){let o=Object.assign(Error("Error in dispose."),{innerException:c});this.error(o)}}).catch(()=>{return}),l}cloneObserversOnChange(){if(this._inheritingObservers)this._inheritingObservers=!1,this.observers=ki(this.observers)}}function Di(a,l,c,o){if(!w5(c))throw Error("Observers must be functions.");if(!Reflect.has(a,l))a[l]=[c];else switch(o){case 1:a[l].push(c);break;case 2:a[l].unshift(c);break;case 3:a[l].length=0,a[l].push(c);break}return a[l]}function ki(a){return Reflect.ownKeys(a).reduce((l,c)=>{return l[c]=[...a[c].filter(uA(1))],l},{})}function nc(a,l="append",c){return(o)=>{return Reflect.apply(zD,o,[a,l,c])}}function zD(a,l,c){if(!L0(a)||!L0(a.observers))return this;if(!w5(c))c=()=>!0;let o=ki(a.observers),e=Object.keys(o).filter(c);for(let r=0;r<e.length;r++){let t=e[r],h=this.on[t];if(l==="replace")h.clear();o[t].forEach((i)=>h(i))}return this}function HA(a,l,c,o){var e=arguments.length,r=e<3?l:o===null?o=Object.getOwnPropertyDescriptor(l,c):o,t;if(typeof Reflect==="object"&&typeof Reflect.decorate==="function")r=Reflect.decorate(a,l,c,o);else for(var h=a.length-1;h>=0;h--)if(t=a[h])r=(e<3?t(r):e>3?t(l,c,r):t(l,c))||r;return e>3&&r&&Object.defineProperty(l,c,r),r}var KD={construct:je(),pre:ic(),auth:ic(),send:_A(),parse:ic(),post:ic(),data:Xe()},vc=class a extends Si{constructor(l,c){super(KD);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]=MA();let o;if(typeof l==="string")this._url=E1(l,c);else if(z0(l)){if(l.length!==2)throw Error("When using the tuple param exactly two arguments are expected.");if(typeof l[1]!=="string")throw Error("Expected second tuple param to be a string.");o=l[0],this._url=E1(l[1],c)}else o=l,this._url=E1(o._url,c);if(typeof o!=="undefined")this.observers=o.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=J7(),o,e=(r,t)=>{this.log(`[${c}] ${r}`,t)};try{e("Beginning request",0);let r={...l,headers:{...l.headers,"X-PnPjs-RequestId":c}},[t,h,Z]=await this.emit.pre(this.toRequestUrl(),r,void 0);if(e(`Url: ${t}`,1),typeof Z!=="undefined"){e("Result returned from pre, Emitting data"),this.emit.data(Z),e("Emitted data");return}e("Emitting auth"),[o,h]=await this.emit.auth(new URL(t),h),e("Emitted auth"),h={...h,...l,headers:{...h.headers,...l.headers}},e("Emitting send");let i=await this.emit.send(o,h);e("Emitted send"),e("Emitting parse"),[o,i,Z]=await this.emit.parse(o,i,Z),e("Emitted parse"),e("Emitting post"),[o,Z]=await this.emit.post(o,Z),e("Emitted post"),e("Emitting data"),this.emit.data(Z),e("Emitted data")}catch(r){e(`Emitting error: "${r.message||r}"`,3),this.error(r),e("Emitted error",3)}finally{e("Finished request",0)}},0),this.emit[this.InternalPromise](new Promise((c,o)=>{this.on[this.InternalResolve].replace(c),this.on[this.InternalReject].replace(o)}))[0]}};vc=HA([JD()],vc);function yi(a,l={headers:{}}){return{method:a,...l,headers:{...l.headers}}}function Ui(a){return this.start(yi("GET",a))}function VA(a){return this.start(yi("POST",a))}function fA(a){return this.start(yi("PATCH",a))}function dc(a,l,c){return Reflect.apply(l,a,[c])}function gA(a){return(l,c)=>{let o=new a(l,c);return o.emit.construct(l,c),o}}function JD(a){return(l)=>{return new Proxy(l,{construct(c,o,e){let r=Object.assign(function(t){if(!w5(a))a=function(h){return dc(this,Ui,h)};return Reflect.apply(a,r,[t])},Reflect.construct(c,o,e));return Reflect.setPrototypeOf(r,e.prototype),r}})}}function Gi(a,l=!1){return(c)=>{let o=async function(e,r,t){return r.headers={...r.headers,...a},[e,r,t]};if(l)c.on.pre.prepend(o);else c.on.pre(o);return c}}function Ne(){return r2(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 Bi(c)})}function l8(){return r2((a)=>a.text())}function FA(){return r2((a)=>a.blob())}function ar(){return r2((a)=>a.json())}function xA(){return r2((a)=>w5(a.arrayBuffer)?a.arrayBuffer():a.buffer())}async function $D(a,l,c){if(!l.ok)throw await O4.init(l);return[a,l,c]}function Bi(a){let l=a;if($1(a,"d"))if($1(a.d,"results"))l=a.d.results;else l=a.d;else if($1(a,"value"))l=a.value;return l}function r2(a){return(l)=>{return l.on.parse.replace($D),l.on.parse(async(c,o,e)=>{if(o.ok&&typeof e==="undefined")e=await a(o);return[c,o,e]}),l}}class O4 extends Error{constructor(a,l,c=l.status,o=l.statusText){super(a);this.response=l,this.status=c,this.statusText=o,this.isHttpRequestError=!0}static async init(a){let l=await a.clone().text();return new O4(`Error making HttpClient request in queryable [${a.status}] ${a.statusText} ::> ${l}`,a)}}function lr(a){let{interval:l,replace:c,retries:o}={replace:!0,interval:200,retries:3,...a};return(e)=>{if(c)e.on.send.clear();return e.on.send(function(r,t){let h,Z=l,i=0,v,n=async()=>{if(i>=o)throw v||new O4(`Retry count exceeded (${o}) for this request. ${h.status}: ${h.statusText};`,h);if(i++,typeof h==="undefined"||(h===null||h===void 0?void 0:h.status)===429||(h===null||h===void 0?void 0:h.status)===503||(h===null||h===void 0?void 0:h.status)===504){if(typeof h!=="undefined"){if(h.headers.has("Retry-After"))Z=parseInt(h.headers.get("Retry-After"),10)*1000;else Z*=2;this.log(`Attempt #${i} to retry request which failed with ${h.status}: ${h.statusText}`,0),await pA(Z)}try{let d=r.toString();return this.log(`Fetch: ${t.method} ${d}`,0),h=await fetch(d,t),h.ok?h:n()}catch(d){if(/AbortError/.test(d.name))throw d;return v=d,n()}}else return h};return n()}),e}}function bi(){return(a)=>{return a.on.pre.prepend(async function(l,c,o){return c.headers={...c.headers,"X-PnP-CacheNever":"1"},[l,c,o]}),a}}function LA(a){return(l)=>{return l.on.pre(async function(c,o,e){let[r,t,h]=RA(c,o,a);if(r){let Z=t();if(Z===null)this.on.post(b4(async function(i,v){return h(v),[i,v]}));else e=Z}return[c,o,e]}),l}}var CA=new Ri;function RA(a,l,c){var o,e;let{store:r,keyFactory:t,expireFunc:h}={store:"local",keyFactory:(v)=>dA(v.toLowerCase()).toString(),expireFunc:()=>w3(/*@__PURE__*/new Date,"minute",5),...c},Z=r==="session"?CA.session:CA.local,i=(l===null||l===void 0?void 0:l.headers["X-PnP-CacheKey"])?l.headers["X-PnP-CacheKey"]:t(a);return[(/get/i.test(l.method)||((o=l===null||l===void 0?void 0:l.headers["X-PnP-CacheAlways"])!==null&&o!==void 0?o:!1))&&!((e=l===null||l===void 0?void 0:l.headers["X-PnP-CacheNever"])!==null&&e!==void 0?e:!1),()=>Z.get(i),(v)=>Z.put(i,v,h(a))]}var DA="__CancelMoment__",c8=Symbol.for("CancelScopeId"),pc=/*@__PURE__*/new Map;async function QD(a){let l=pc.get(a);if(l.controller.abort(),z0(l===null||l===void 0?void 0:l.actions))l.actions.map((c)=>l.currentSelf.on[DA](c));try{await l.currentSelf.emit[DA]()}catch(c){l.currentSelf.log(`Error in cancel: ${c}`,3)}}function YD(a){let l=J7();return a[c8]=l,pc.set(l,{cancel:QD.bind({},l),actions:[],controller:null,currentSelf:a}),l}var XD=(a)=>{return function(...l){if(!Reflect.has(this,c8))YD(this);let c=a.apply(this,l).finally(()=>{pc.delete(this[c8]),delete this[c8]});return c.cancel=pc.get(this[c8]).cancel,c}};function d7(a,l,c){c.value=XD(c.value)}function Oi(a){return(l)=>{return l.on.pre(async function(...c){let o=pc.get(this[c8]);if(L0(o)){if(!z0(o.actions))o.actions=[];if(o.actions.indexOf(a)<0)o.actions.push(a)}return c}),l}}function wA(){return(a)=>{return a.on.data(function(l){this.emit[this.InternalResolve](l)}),a}}function SA(){return(a)=>{return a.on.error(function(l){this.emit[this.InternalReject](l)}),a}}function K0(a,l,c,o){Reflect.defineProperty(a.prototype,l,{configurable:!0,enumerable:!0,get:function(){return c(this,o||l)}})}function U1(a,l){return Object.assign({body:Ye(a)},l)}function o8(a,l){return Object.assign({},l,{headers:{...l===null||l===void 0?void 0:l.headers,...a}})}var jD="This folder contains extensions that are loaded by the SPFxExtensions application.";async function cr(a){try{await a.web.lists.ensure(S1,jD,101,!1,{Hidden:!0})}catch(l){if(l instanceof O4){if(l.message.includes("-2130575342"))return}throw l}}async function kA(a,l,c){let o=`${l}/${S1}/${c}`,e=await a.web.lists.getByTitle(S1).items.filter(`startswith(FileDirRef,'${o}') and FSObjType eq 0`).select("Id")();if(e.length>0){let[t,h]=a.web.batched();e.forEach((Z)=>{t.lists.getByTitle(S1).items.getById(Z.Id).delete()}),await h()}let r=a.web.lists.getByTitle(S1).rootFolder.folders.getByUrl(c);await yA(r)}async function yA(a){let l=await a.folders();for(let c of l)await yA(a.folders.getByUrl(c.Name));await a.delete()}var X1=(a)=>{return gA(a)};class S3 extends vc{constructor(a,l){if(typeof a==="string"){let c="",o="";if(U0(a)||a.lastIndexOf("/")<0)o=a,c=E1(a,l);else if(a.lastIndexOf("/")>a.lastIndexOf("(")){let e=a.lastIndexOf("/");o=a.slice(0,e),l=E1(a.slice(e),l),c=E1(o,l)}else{let e=a.lastIndexOf("(");o=a.slice(0,e),c=E1(a,l)}super(c);this.parentUrl=o}else{super(a,l);let c=z0(a)?a[0]:a;this.parentUrl=z0(a)?a[1]:c.toUrl()}}toRequestUrl(){let a=new URLSearchParams(this.query),l=this.toUrl().replace(/'!(@.+?)::((?:[^']|'')+)'/ig,(o,e,r)=>{return this.log(`Rewriting aliased parameter from match ${o} to label: ${e} value: ${r}`,0),a.set(e,`'${r}'`),e}),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=X1(S3);class d5 extends S3{filter(a){if(typeof a==="object")return this.query.set("$filter",a.toString()),this;if(typeof a==="function")return this.query.set("$filter",a(or.Where()).toString()),this;return this.query.set("$filter",a.toString()),this}orderBy(a,l=!0){let o=this.query.has("$orderby")?this.query.get("$orderby").split(","):[];return o.push(`${a} ${l?"asc":"desc"}`),this.query.set("$orderby",o.join(",")),this}skip(a){return this.query.set("$skip",a.toString()),this}top(a){return this.query.set("$top",a.toString()),this}}var P5=X1(d5);class j0 extends S3{}var t2=X1(j0);function rr(){return function(){return GA(this)}}function $7(){return function(a="*"){return ND(this,{},a)}}var UA=(a,l)=>{return dc(a,Ui,l)},z=(a,l)=>dc(a,VA,l),r8=(a,l)=>{return l=l||{},l.headers={...l.headers,"X-HTTP-Method":"MERGE"},z(a,l)},GA=(a,l)=>{return l=l||{},l.headers={...l.headers||{},"X-HTTP-Method":"DELETE"},z(a,l)},ND=(a,l,c="*")=>{return l=l||{},l.headers={...l.headers||{},"IF-Match":c},GA(a,l)};var BA=(a,l)=>dc(a,fA,l),G0;(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"})(G0||(G0={}));var v5;(function(a){a.And="and",a.AndWithSpace=" and ",a.Or="or",a.OrWithSpace=" or "})(v5||(v5={}));class or{static Where(){return new TA([])}}class sc{constructor(a){this.query=[],this.query=a}}class e8 extends sc{constructor(a){super(a)}text(a){return new mc([...this.query,a])}choice(a){return new mc([...this.query,a])}multiChoice(a){return new mc([...this.query,a])}number(a){return new er([...this.query,a])}date(a){return new IA([...this.query,a])}boolean(a){return new WA([...this.query,a])}lookup(a){return new EA([...this.query],a)}lookupId(a){let l=a.endsWith("Id")?a:`${a}Id`;return new er([...this.query,l])}}class bA extends e8{or(...a){return new u0([...this.query,`(${a.map((l)=>l.toString()).join(v5.OrWithSpace)})`])}}class OA extends e8{and(...a){return new u0([...this.query,`(${a.map((l)=>l.toString()).join(v5.AndWithSpace)})`])}}class TA extends e8{or(...a){if(a==null||a.length===0)return new e8([...this.query,v5.Or]);return new u0([...this.query,`(${a.map((l)=>l.toString()).join(v5.OrWithSpace)})`])}and(...a){if(a==null||a.length===0)return new e8([...this.query,v5.And]);return new u0([...this.query,`(${a.map((l)=>l.toString()).join(v5.AndWithSpace)})`])}}class EA extends sc{constructor(a,l){super(a);this.LookupField=l}Id(a){return new u0([...this.query,`${this.LookupField}/Id`,G0.Equals,a.toString()])}text(a){return new mc([...this.query,`${this.LookupField}/${a}`])}number(a){return new er([...this.query,`${this.LookupField}/${a}`])}}class Ti extends sc{constructor(a){super(a);this.LastIndex=a.length-1,this.InternalName=a[this.LastIndex]}toODataValue(a){return`'${a}'`}isNull(){return new u0([...this.query,G0.Equals,"null"])}isNotNull(){return new u0([...this.query,G0.NotEquals,"null"])}}class Ei extends Ti{equals(a){return new u0([...this.query,G0.Equals,this.toODataValue(a)])}notEquals(a){return new u0([...this.query,G0.NotEquals,this.toODataValue(a)])}in(...a){return or.Where().or(...a.map((l)=>this.equals(l)))}notIn(...a){return or.Where().and(...a.map((l)=>this.notEquals(l)))}}class mc extends Ei{startsWith(a){let l=`${G0.StartsWith}(${this.InternalName}, ${this.toODataValue(a)})`;return this.query[this.LastIndex]=l,new u0([...this.query])}contains(a){let l=`${G0.SubstringOf}(${this.toODataValue(a)}, ${this.InternalName})`;return this.query[this.LastIndex]=l,new u0([...this.query])}}class WA extends Ti{toODataValue(a){return`${a==null?"null":a?1:0}`}isTrue(){return new u0([...this.query,G0.Equals,this.toODataValue(!0)])}isFalse(){return new u0([...this.query,G0.Equals,this.toODataValue(!1)])}isFalseOrNull(){let a=`(${[this.InternalName,G0.Equals,this.toODataValue(null),v5.Or,this.InternalName,G0.Equals,this.toODataValue(!1)].join(" ")})`;return this.query[this.LastIndex]=a,new u0([...this.query])}}class Wi extends Ei{greaterThan(a){return new u0([...this.query,G0.GreaterThan,this.toODataValue(a)])}greaterThanOrEquals(a){return new u0([...this.query,G0.GreaterThanOrEqualTo,this.toODataValue(a)])}lessThan(a){return new u0([...this.query,G0.LessThan,this.toODataValue(a)])}lessThanOrEquals(a){return new u0([...this.query,G0.LessThanOrEqualTo,this.toODataValue(a)])}}class er extends Wi{toODataValue(a){return`${a}`}}class IA extends Wi{toODataValue(a){return`'${a.toISOString()}'`}isBetween(a,l){let c=`(${[this.InternalName,G0.GreaterThan,this.toODataValue(a),v5.And,this.InternalName,G0.LessThan,this.toODataValue(l)].join(" ")})`;return this.query[this.LastIndex]=c,new u0([...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 u0 extends sc{and(...a){if(a==null||a.length===0)return new bA([...this.query,v5.And]);return new u0([...this.query,v5.And,`(${a.map((l)=>l.toString()).join(v5.AndWithSpace)})`])}or(...a){if(a==null||a.length===0)return new OA([...this.query,v5.Or]);return new u0([...this.query,v5.Or,`(${a.map((l)=>l.toString()).join(v5.OrWithSpace)})`])}toString(){return this.query.join(" ")}}function N0(a){return function(l){return class extends l{constructor(...c){super(c[0],c.length>1&&c[1]!==void 0?c[1]:a)}}}}class O2{constructor(a=""){this._root=B0(a)}using(...a){return this._root.using(...a),this}create(a,l){return a(this._root,l)}}function t8(a=""){if(typeof a==="object"&&!Reflect.has(a,"length"))a=a._root;return new O2(a)}var Mc="00000000-0000-0000-0000-000000000000",PA;(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"})(PA||(PA={}));var qA;(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"})(qA||(qA={}));var zA;(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"})(zA||(zA={}));function n0(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 T2(a){let l=[],c=["odata.type","odata.editLink","__metadata","odata.metadata","odata.id"];if($1(a,c[0])&&a[c[0]]==="SP.Web"){if($1(a,c[4]))l.push(a[c[4]]);else if($1(a,c[2]))l.push(a.__metadata.uri)}else if($1(a,c[3])&&$1(a,c[1])){let o=U0(a[c[1]])?a[c[1]].split("_api")[1]:a[c[1]];l.push(n0(a[c[3]]),"_api",o)}else if($1(a,c[1]))l.push("_api",a[c[1]]);else if($1(a,c[2]))l.push(a.__metadata.uri);if(l.length<1)return"";return E1(...l)}function p7(a){return{DecodedUrl:a}}function z1(a){if(S5(a))return"";if(/!(@.*?)::(.*?)/ig.test(a))return a.replace(/!(@.*?)::(.*)$/ig,(l,c,o)=>{return`!${c}::${o.replace(/'/ig,"''")}`});else return encodeURIComponent(a.replace(/'/ig,"''"))}function KA(a){if(S5(a))return"";if(/!(@.*?)::(.*?)/ig.test(a))return a.replace(/!(@.*?)::(.*)$/ig,(l,c,o)=>{return`!${c}::${o.replace(/'/ig,"''")}`});else return a.replace(/'/ig,"''")}function JA(){return(a)=>{return a.on.pre(async function(l,c,o){let e="PnPCoreJS:4.15.0:",{pathname:r}=new URL(l);if(e=r.split("/").filter((t)=>!S5(t)&&["_api","v2.1","v2.0"].indexOf(t)<0).map((t,h,Z)=>h===Z.length-1?t.replace(/\(.*?$/i,"()"):t[0]).join("."),e.length>32)e=e.substring(0,32);return this.log(`Request Tag: ${e}`,0),c.headers={...c.headers,["X-ClientService-ClientTag"]:e},[l,c,o]}),a}}function tr(){return(a)=>{return a.on.pre(async(l,c,o)=>{return c.cache="no-cache",c.credentials="same-origin",[l,c,o]}),a.using(JA(),SA(),wA()),a}}function hr(){return(a)=>{return a.using(Gi({Accept:"application/json","Content-Type":"application/json;charset=utf-8"})),a}}function c0(a,l,c,o){var e=arguments.length,r=e<3?l:o===null?o=Object.getOwnPropertyDescriptor(l,c):o,t;if(typeof Reflect==="object"&&typeof Reflect.decorate==="function")r=Reflect.decorate(a,l,c,o);else for(var h=a.length-1;h>=0;h--)if(t=a[h])r=(e<3?t(r):e>3?t(l,c,r):t(l,c))||r;return e>3&&r&&Object.defineProperty(l,c,r),r}var Pi=class a extends d5{async add(l,c,o="",e="STS",r=1033,t=!0){let h=U1({parameters:{Description:o,Language:r,Title:l,Url:c,UseSamePermissionsAsParentSite:t,WebTemplate:e}});return z(qi(this,"add"),h)}};Pi=c0([N0("webs")],Pi);var qi=X1(Pi);function Ii(a,l){let c="_api/web",o=/(_api[/|\\](site\/rootweb|site|web))/i.exec(a);if((o===null||o===void 0?void 0:o.length)>0)a=n0(a),c=o[1];if((l===null||l===void 0?void 0:l.indexOf("_api"))<0)a=E1(a,c);return a}var t0=class a extends j0{constructor(l,c){if(typeof l==="string")l=Ii(l,c);else if(z0(l))l=[l[0],Ii(l[1],c)];else l=[l,Ii(l.toUrl(),c)];super(l,c);this.delete=rr()}get webs(){return qi(this)}get allProperties(){return t2(this,"allproperties")}get webinfos(){return P5(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 v0([this,E1(new URL(l).origin,c.ServerRelativeUrl)]);return null}async update(l){return r8(this,U1(l))}applyTheme(l,c,o,e){let r=U1({backgroundImageUrl:o,colorPaletteUrl:l,fontSchemeUrl:c,shareGenerated:e});return z(v0(this,"applytheme"),r)}applyWebTemplate(l){return z(v0(this,`applywebtemplate(webTemplate='${z1(l)}')`))}getChanges(l){return z(v0(this,"getchanges"),U1({query:l}))}mapToIcon(l,c=0,o=""){return v0(this,`maptoicon(filename='${z1(l)}',progid='${z1(o)}',size=${c})`)()}getStorageEntity(l){return v0(this,`getStorageEntity('${z1(l)}')`)()}setStorageEntity(l,c,o="",e=""){return z(v0(this,"setStorageEntity"),U1({comments:e,description:o,key:l,value:c}))}removeStorageEntity(l){return z(v0(this,`removeStorageEntity('${z1(l)}')`))}getSubwebsFilteredForCurrentUser(l=-1,c=-1){return P5(this,`getSubwebsFilteredForCurrentUser(nWebTemplateFilter=${l},nConfigurationFilter=${c})`)}availableWebTemplates(l=1033,c=!0){return P5(this,`getavailablewebtemplates(lcid=${l},doincludecrosslanguage=${c})`)}};t0=c0([N0("_api/web")],t0);var v0=X1(t0);O2.prototype.batched=function(a){let l=t8(this),[c,o]=$A(l._root,a);return l.using(c),[l,o]};t0.prototype.batched=function(a){let l=v0(this),[c,o]=$A(l,a);return l.using(c),[l,o]};var h8=Symbol.for("batch_registration"),T4=Symbol.for("batch_request");function aw(){return r2(async(a)=>{let l=await a.text();return lw(l)})}class zi extends S3{constructor(a,l=a.toUrl().replace(/_api[\\|/].*$/i,"")){super(l,"_api/$batch");this.requestBaseUrl=l,this.using(nc(a,"replace"),aw()),this.on.dispose(()=>{a.using(nc(this,"replace",(c)=>/(auth|send|pre|init)/i.test(c)))})}}function $A(a,l){let c=[],o=[],e=[],r=new zi(a),t=J7(),h=new zi(a),{headersCopyPattern:Z,maxRequests:i}={headersCopyPattern:/Accept|Content-Type|IF-Match/i,maxRequests:20,...l};return[(d)=>{return d.on.init(function(){if(w5(this[h8]))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((p)=>{this[h8]=p})),this}),d.on.pre(async function(p,m,s){if($1(m.headers,"X-PnP-BatchNever")){if(typeof this[T4]==="function")this[T4](),delete this[T4];return this.using(nc(h,"replace",(M)=>/(init|pre)/i.test(M))),[p,m,s]}return this.on.auth.clear(),this.on.send.replace(async function(M,u){let A=new Promise((H)=>{e.push([this,M.toString(),u,H])});return this.log(`[batch:${t}] (${(/*@__PURE__*/new Date()).getTime()}) Adding request ${u.method} ${M.toString()} to batch.`,0),o.push(new Promise((H)=>{this[T4]=H})),this[h8](),A}),this.on.dispose(function(){if(w5(this[h8]))this[h8](),delete this[h8];if(w5(this[T4]))this[T4](),delete this[T4],this.using(nc(h,"replace",(M)=>/(auth|pre|send|init|dispose)/i.test(M)))}),[p,m,s]}),d},async()=>{if(await Promise.all(c),e.length<1)return Promise.all(o).then(()=>{return});let d=e.slice();while(d.length>0){let p=d.splice(0,i),m=[],s="";for(let u=0;u<p.length;u++){let[,A,H]=p[u];if(H.method==="GET"){if(s.length>0)m.push(`--changeset_${s}--
|
|
151
|
+
);}`,".fwd2bol{animation-name:f1keuaan;}",".f14gig94{animation-name:f10x8f8u;}",".f1a27w2r{animation-duration:3s;}",".f452v7t{animation-timing-function:linear;}",".f1cpbl36{animation-iteration-count:infinite;}",".ftywsgz{background-color:var(--colorCompoundBrandBackground);}",".fdl5y0r{background-color:var(--colorPaletteRedBackground3);}",".f1s438gw{background-color:var(--colorPaletteDarkOrangeBackground3);}",".flxk52p{background-color:var(--colorPaletteGreenBackground3);}"],k:["@keyframes f1keuaan{0%{left:-33%;}100%{left:100%;}}","@keyframes f10x8f8u{0%{right:-33%;}100%{right:100%;}}","@keyframes ftc26vs{0%{opacity:.2;}50%{opacity:1;}100%{opacity:.2;}}"]}),A9=(a)=>{let{color:l,max:c,shape:o,thickness:e,value:r}=a,t=HS(),h=VS();if(a.root.className=D(u9.root,t.root,t[o],t[e],a.root.className),a.bar)a.bar.className=D(u9.bar,h.base,h.brand,r===void 0&&h.indeterminate,r!==void 0&&r>AS&&h.nonZeroDeterminate,l&&r!==void 0&&h[l],a.bar.className);if(a.bar&&r!==void 0)a.bar.style={width:Math.min(100,Math.max(0,r/c*100))+"%",...a.bar.style};return a};var j7=/*@__PURE__*/I((a,l)=>{let c=M9(a,l);return A9(c),z("useProgressBarStyles_unstable")(c),_9(c)});j7.displayName="ProgressBar";F();F();var H9=(a,l)=>{let{size:c="medium",vertical:o=!1}=a,e=C8({circular:!0,axis:"both"}),r={size:c,vertical:o,components:{root:"div"},root:w.always(a1("div",{role:"toolbar",ref:l,...o&&{"aria-orientation":"vertical"},...e,...a}),{elementType:"div"})},[t,h]=gS({checkedValues:a.checkedValues,defaultCheckedValues:a.defaultCheckedValues,onCheckedValueChange:a.onCheckedValueChange}),Z=$((n,v,d,m)=>{if(v&&d){let p=[...(t===null||t===void 0?void 0:t[v])||[]];if(m)p.splice(p.indexOf(d),1);else p.push(d);h===null||h===void 0||h(n,{name:v,checkedItems:p})}}),i=$((n,v,d,m)=>{if(v&&d)h===null||h===void 0||h(n,{name:v,checkedItems:[d]})});return{...r,handleToggleButton:Z,handleRadio:i,checkedValues:t!==null&&t!==void 0?t:{}}},gS=(a)=>{let[l,c]=Y0({state:a.checkedValues,defaultState:a.defaultCheckedValues,initialState:{}}),{onCheckedValueChange:o}=a,e=$((r,{name:t,checkedItems:h})=>{if(o)o(r,{name:t,checkedItems:h});c((Z)=>{return Z?{...Z,[t]:h}:{[t]:h}})});return[l,e]};var Xu=f2(void 0);var V9=(a,l)=>{return P(a),/*@__PURE__*/L(Xu.Provider,{value:l.toolbar,children:/*@__PURE__*/L(a.root,{children:a.root.children})})};var ar={root:"fui-Toolbar"},fS=/*@__PURE__*/k({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}]]}),g9=(a)=>{let l=fS(),{vertical:c,size:o}=a;return a.root.className=D(ar.root,l.root,c&&l.vertical,o==="small"&&!c&&l.small,o==="medium"&&!c&&l.medium,o==="large"&&!c&&l.large,a.root.className),a};function Nu(a){let{size:l,handleToggleButton:c,vertical:o,checkedValues:e,handleRadio:r}=a;return{toolbar:{size:l,vertical:o,handleToggleButton:c,handleRadio:r,checkedValues:e}}}var B4=/*@__PURE__*/I((a,l)=>{let c=H9(a,l),o=Nu(c);return g9(c),z("useToolbarStyles_unstable")(c),V9(c,o)});B4.displayName="Toolbar";F();var FS=/*@__PURE__*/k({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}]]}),f9=(a)=>{let l=FS();if(a.root.className=D(a.vertical&&l.vertical,a.root.className),a.icon)a.icon.className=D(a.vertical&&l.verticalIcon,a.icon.className);L3(a)};F();var F9=(a,l)=>{let{vertical:c=!1,...o}=a,e=C3({appearance:"subtle",...o,size:"medium"},l);return{vertical:c,...e}};var G2=/*@__PURE__*/I((a,l)=>{let c=F9(a,l);return f9(c),z("useToolbarButtonStyles_unstable")(c),X7(c)});G2.displayName="ToolbarButton";F();F();F();var ju=v1(void 0),xS={size:"medium",noNativeElements:!1,sortable:!1},di=ju.Provider,J5=()=>{var a;return(a=t1(ju))!==null&&a!==void 0?a:xS};var x9=(a,l)=>{let{noNativeElements:c,size:o}=J5();var e;let r=((e=a.as)!==null&&e!==void 0?e:c)?"div":"td";return{components:{root:r},root:w.always(a1(r,{ref:l,role:r==="div"?"cell":void 0,...a}),{elementType:r}),noNativeElements:c,size:o}};var C9=(a)=>{return P(a),/*@__PURE__*/L(a.root,{})};var lr="fui-TableCell",cr={root:lr},CS=/*@__PURE__*/k({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;}"]}),LS=/*@__PURE__*/k({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;}"]}),RS=/*@__PURE__*/k({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}]]}),L9=(a)=>{let l=RS(),c={table:CS(),flex:LS()};return a.root.className=D(cr.root,l.root,a.noNativeElements?c.flex.root:c.table.root,a.noNativeElements?c.flex[a.size]:c.table[a.size],a.root.className),a};var A7=/*@__PURE__*/I((a,l)=>{let c=x9(a,l);return L9(c),z("useTableCellStyles_unstable")(c),C9(c)});A7.displayName="TableCell";F();F();F();var aA=v1(void 0),SS="",mi=aA.Provider,pi=()=>t1(aA)===SS;var R9=(a,l)=>{let{noNativeElements:c,size:o}=J5();var e;let r=((e=a.as)!==null&&e!==void 0?e:c)?"div":"tr",t=P7(),h=H2(),Z=pi();var i;return{components:{root:r},root:w.always(a1(r,{ref:R1(l,t,h),role:r==="div"?"row":void 0,...a}),{elementType:r}),size:o,noNativeElements:c,appearance:(i=a.appearance)!==null&&i!==void 0?i:"none",isHeaderRow:Z}};var S9=(a)=>{return P(a),/*@__PURE__*/L(a.root,{})};var or="fui-TableRow",er={root:or},DS=/*@__PURE__*/k({root:{mc9l5x:"f1u0rzck"}},{d:[".f1u0rzck{display:table-row;}"]}),wS=/*@__PURE__*/k({root:{mc9l5x:"f22iagw",Bt984gj:"f122n59"}},{d:[".f22iagw{display:flex;}",".f122n59{align-items:center;}"]}),kS=/*@__PURE__*/k({root:{sj55zd:"f19n0e5",B7ck84d:"f1ewtqcl",Bconypa:"f1jazu75",B6guboy:"f1xeqee6",Bfpq7zp:0,g9k6zt:0,Bn4voq9:0,giviqs:"f1dxfoyt",Bw81rd7:0,kdpuga:0,dm238s:0,B6xbmo0:0,B3whbx2:"f2krc9w"},rootInteractive:{B6guboy:"f1xeqee6",ecr2s2:"f1wfn5kd",lj723h:"f1g4hkjv",B43xm9u:"f15ngxrw",i921ia:"fjbbrdp",Jwef8y:"f1t94bn6",Bi91k9c:"feu1g3u",Bpt6rm4:"f1uorfem",ff6mpl:"fw60kww",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;}",".f1jazu75[data-fui-focus-within]:focus-within .fui-TableSelectionCell{opacity:1;}",".f1xeqee6[data-fui-focus-within]:focus-within .fui-TableCellActions{opacity:1;}",[".f1dxfoyt[data-fui-focus-visible]{outline:2px solid var(--colorStrokeFocus2);}",{p:-1}],[".f2krc9w[data-fui-focus-visible]{border-radius:var(--borderRadiusMedium);}",{p:-1}],[".f1facbz3{border-bottom:var(--strokeWidthThin) solid var(--colorNeutralStroke2);}",{p:-1}],[".f1facbz3{border-bottom:var(--strokeWidthThin) solid var(--colorNeutralStroke2);}",{p:-1}],".fy9rknc{font-size:var(--fontSizeBase200);}",".f16xkysk{background-color:var(--colorBrandBackground2);}",".f1bh3yvw{border-top-color:var(--colorTransparentStrokeInteractive);}",".fmi79ni{border-right-color:var(--colorTransparentStrokeInteractive);}",".f11fozsx{border-left-color:var(--colorTransparentStrokeInteractive);}",".fnzw4c6{border-bottom-color:var(--colorTransparentStrokeInteractive);}",".fq5gl1p{background-color:var(--colorSubtleBackgroundSelected);}",".f1cgsbmv{color:var(--colorNeutralForeground1Hover);}",".frmsihh{border-top-color:var(--colorNeutralStrokeOnBrand);}",".frttxa5{border-right-color:var(--colorNeutralStrokeOnBrand);}",".f11o2r7f{border-left-color:var(--colorNeutralStrokeOnBrand);}",".fem5et0{border-bottom-color:var(--colorNeutralStrokeOnBrand);}"],a:[".f1wfn5kd:active{background-color:var(--colorSubtleBackgroundPressed);}",".f1g4hkjv:active{color:var(--colorNeutralForeground1Pressed);}",".f15ngxrw:active .fui-TableCellActions{opacity:1;}",".fjbbrdp:active .fui-TableSelectionCell{opacity:1;}",".f7tkmfy:active{background-color:var(--colorBrandBackground2);}",".f1r2dosr:active{color:var(--colorNeutralForeground1);}",".fa9o754:active{background-color:var(--colorSubtleBackgroundSelected);}"],h:[".f1t94bn6:hover{background-color:var(--colorSubtleBackgroundHover);}",".feu1g3u:hover{color:var(--colorNeutralForeground1Hover);}",".f1uorfem:hover .fui-TableCellActions{opacity:1;}",".fw60kww:hover .fui-TableSelectionCell{opacity:1;}",".f1uqaxdt:hover{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)"}]]}),D9=(a)=>{let l=kS(),c={table:DS(),flex:wS()};return a.root.className=D(er.root,l.root,!a.isHeaderRow&&l.rootInteractive,l[a.size],a.noNativeElements?c.flex.root:c.table.root,l[a.appearance],a.root.className),a};var O3=/*@__PURE__*/I((a,l)=>{let c=R9(a,l);return D9(c),z("useTableRowStyles_unstable")(c),S9(c)});O3.displayName="TableRow";F();F();var w9=(a,l)=>{let{noNativeElements:c}=J5();var o;let e=((o=a.as)!==null&&o!==void 0?o:c)?"div":"tbody";return{components:{root:e},root:w.always(a1(e,{ref:l,role:e==="div"?"rowgroup":void 0,...a}),{elementType:e}),noNativeElements:c}};var k9=(a)=>{return P(a),/*@__PURE__*/L(a.root,{})};var yS=/*@__PURE__*/k({root:{mc9l5x:"f1tp1avn"}},{d:[".f1tp1avn{display:table-row-group;}"]}),US=/*@__PURE__*/k({root:{mc9l5x:"ftgm304"}},{d:[".ftgm304{display:block;}"]}),rr="fui-TableBody";var y9=(a)=>{let l={table:yS(),flex:US()};return a.root.className=D(rr,a.noNativeElements?l.flex.root:l.table.root,a.root.className),a};var T4=/*@__PURE__*/I((a,l)=>{let c=w9(a,l);return y9(c),z("useTableBodyStyles_unstable")(c),k9(c)});T4.displayName="TableBody";F();F();var U9=(a,l)=>{var c;let o=((c=a.as)!==null&&c!==void 0?c:a.noNativeElements)?"div":"table";var e,r,t;return{components:{root:o},root:w.always(a1(o,{ref:l,role:o==="div"?"table":void 0,...a}),{elementType:o}),size:(e=a.size)!==null&&e!==void 0?e:"medium",noNativeElements:(r=a.noNativeElements)!==null&&r!==void 0?r:!1,sortable:(t=a.sortable)!==null&&t!==void 0?t:!1}};var G9=(a,l)=>{return P(a),/*@__PURE__*/L(di,{value:l.table,children:/*@__PURE__*/L(a.root,{})})};var tr="fui-Table";var GS=/*@__PURE__*/k({root:{mc9l5x:"f1w4nmp0",ha4doy:"fmrv4ls",a9b677:"fly5x3f",B73mfa3:"f14m3nip"}},{d:[".f1w4nmp0{display:table;}",".fmrv4ls{vertical-align:middle;}",".fly5x3f{width:100%;}",".f14m3nip{table-layout:fixed;}"]}),BS=/*@__PURE__*/k({root:{mc9l5x:"ftgm304"}},{d:[".ftgm304{display:block;}"]}),TS=/*@__PURE__*/k({root:{po53p8:"fgkb47j",De3pzq:"fhovq9v"}},{d:[".fgkb47j{border-collapse:collapse;}",".fhovq9v{background-color:var(--colorSubtleBackground);}"]}),B9=(a)=>{let l=TS(),c={table:GS(),flex:BS()};return a.root.className=D(tr,l.root,a.noNativeElements?c.flex.root:c.table.root,a.root.className),a};F();function cA(a){let{size:l,noNativeElements:c,sortable:o}=a;return{table:p1(()=>({noNativeElements:c,size:l,sortable:o}),[c,l,o])}}var b4=/*@__PURE__*/I((a,l)=>{let c=U9(a,l);return B9(c),z("useTableStyles_unstable")(c),G9(c,cA(c))});b4.displayName="Table";F();F();var T9=(a,l)=>{let{noNativeElements:c}=J5();var o;let e=((o=a.as)!==null&&o!==void 0?o:c)?"div":"thead";return{components:{root:e},root:w.always(a1(e,{ref:l,role:e==="div"?"rowgroup":void 0,...a}),{elementType:e}),noNativeElements:c}};var b9=(a)=>{return P(a),/*@__PURE__*/L(mi,{value:"",children:/*@__PURE__*/L(a.root,{})})};var hr="fui-TableHeader";var bS=/*@__PURE__*/k({root:{mc9l5x:"ftgm304"}},{d:[".ftgm304{display:block;}"]}),OS=/*@__PURE__*/k({root:{mc9l5x:"f1tp1avn"}},{d:[".f1tp1avn{display:table-row-group;}"]}),O9=(a)=>{let l={table:OS(),flex:bS()};return a.root.className=D(hr,a.noNativeElements?l.flex.root:l.table.root,a.root.className),a};var O4=/*@__PURE__*/I((a,l)=>{let c=T9(a,l);return O9(c),z("useTableHeaderStyles_unstable")(c),b9(c)});O4.displayName="TableHeader";F();F();var ES={ascending:/*@__PURE__*/e1(zM,{fontSize:12}),descending:/*@__PURE__*/e1(PM,{fontSize:12})},E9=(a,l)=>{let{noNativeElements:c,sortable:o}=J5(),{sortable:e=o}=a;var r;let t=((r=a.as)!==null&&r!==void 0?r:c)?"div":"th",h=w.always(a.button,{elementType:"div",defaultProps:{as:"div",...!e&&{role:"presentation",tabIndex:void 0}}});var Z;return{components:{root:t,button:"div",sortIcon:"span",aside:"span"},root:w.always(a1(t,{ref:R1(l,H2()),role:t==="div"?"columnheader":void 0,"aria-sort":e?(Z=a.sortDirection)!==null&&Z!==void 0?Z:"none":void 0,...a}),{elementType:t}),aside:w.optional(a.aside,{elementType:"span"}),sortIcon:w.optional(a.sortIcon,{renderByDefault:!!a.sortDirection,defaultProps:{children:a.sortDirection?ES[a.sortDirection]:void 0},elementType:"span"}),button:F2(h.as,h),sortable:e,noNativeElements:c}};var W9=(a)=>{return P(a),/*@__PURE__*/A1(a.root,{children:[/*@__PURE__*/A1(a.button,{children:[a.root.children,a.sortIcon&&/*@__PURE__*/L(a.sortIcon,{})]}),a.aside&&/*@__PURE__*/L(a.aside,{})]})};var E4={root:"fui-TableHeaderCell",button:"fui-TableHeaderCell__button",sortIcon:"fui-TableHeaderCell__sortIcon",aside:"fui-TableHeaderCell__aside"},WS=/*@__PURE__*/k({root:{mc9l5x:"f15pt5es",ha4doy:"fmrv4ls"}},{d:[".f15pt5es{display:table-cell;}",".fmrv4ls{vertical-align:middle;}"]}),IS=/*@__PURE__*/k({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;}"]}),qS=/*@__PURE__*/k({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);}"]}),I9=(a)=>{let l=qS(),c={table:WS(),flex:IS()};if(a.root.className=D(E4.root,l.root,a.sortable&&l.rootInteractive,a.noNativeElements?c.flex.root:c.table.root,a.root.className),a.button.className=D(E4.button,l.resetButton,l.button,a.sortable&&l.sortable,a.button.className),a.sortIcon)a.sortIcon.className=D(E4.sortIcon,l.sortIcon,a.sortIcon.className);if(a.aside)a.aside.className=D(E4.aside,l.resizeHandle,a.aside.className);return a};var W4=/*@__PURE__*/I((a,l)=>{let c=E9(a,l);return I9(c),z("useTableHeaderCellStyles_unstable")(c),W9(c)});W4.displayName="TableHeaderCell";F();F();var PS={medium:32,small:24,"extra-small":20},q9=(a,l)=>{let{size:c}=J5();return{components:{root:"div",main:"span",description:"span",content:"div",media:"span"},root:w.always(a1("div",{ref:l,...a},["content"]),{elementType:"div"}),appearance:a.appearance,truncate:a.truncate,main:w.optional(a.main,{renderByDefault:!0,elementType:"span"}),media:w.optional(a.media,{elementType:"span"}),description:w.optional(a.description,{elementType:"span"}),content:w.optional(a.content,{renderByDefault:!!a.description||!!a.children,elementType:"div"}),avatarSize:PS[c],size:c}};var P9=(a,l)=>{return P(a),/*@__PURE__*/A1(a.root,{children:[a.media&&/*@__PURE__*/L(Le,{value:l.avatar,children:/*@__PURE__*/L(a.media,{})}),a.content&&/*@__PURE__*/A1(a.content,{children:[a.main&&/*@__PURE__*/L(a.main,{children:a.root.children}),a.description&&/*@__PURE__*/L(a.description,{})]})]})};var E3={root:"fui-TableCellLayout",media:"fui-TableCellLayout__media",main:"fui-TableCellLayout__main",description:"fui-TableCellLayout__description",content:"fui-TableCellLayout__content"},zS=/*@__PURE__*/k({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);}"]}),z9=(a)=>{let l=zS(),{truncate:c}=a;a.root.className=D(E3.root,l.root,c&&l.rootTruncate,a.root.className);let o=a.appearance==="primary";if(a.media){let e={small:l.mediaSmallAndMedium,medium:l.mediaSmallAndMedium,"extra-small":l.mediaExtraSmall};a.media.className=D(E3.media,l.media,e[a.size],o&&l.mediaPrimary,a.media.className)}if(a.main)a.main.className=D(E3.main,c&&l.mainTruncate,o&&l.mainPrimary,a.main.className);if(a.description)a.description.className=D(E3.description,l.description,a.description.className);if(a.content)a.content.className=D(E3.content,l.content,c&&l.contentTruncate,a.content.className);return a};F();function tA(a){let{avatarSize:l}=a;return{avatar:p1(()=>({size:l}),[l])}}var H7=/*@__PURE__*/I((a,l)=>{let c=q9(a,l);return z9(c),z("useTableCellLayoutStyles_unstable")(c),P9(c,tA(c))});H7.displayName="TableCellLayout";F();var w0={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"},A5={bottom:"bottom",bottomEnd:"bottom-end",bottomStart:"bottom-start",top:"top",topEnd:"top-end",topStart:"top-start"};var QS=0;function si(a,l={},c){var o;let e={...l,content:a,toastId:(o=l.toastId)!==null&&o!==void 0?o:(QS++).toString()},r=new CustomEvent(w0.show,{bubbles:!1,cancelable:!1,detail:e});c.dispatchEvent(r)}function Mi(a,l=void 0,c){let o=new CustomEvent(w0.dismiss,{bubbles:!1,cancelable:!1,detail:{toastId:a,toasterId:l}});c.dispatchEvent(o)}function _i(a=void 0,l){let c=new CustomEvent(w0.dismissAll,{bubbles:!1,cancelable:!1,detail:{toasterId:a}});l.dispatchEvent(c)}function ui(a,l){let c=new CustomEvent(w0.update,{bubbles:!1,cancelable:!1,detail:a});l.dispatchEvent(c)}function Ai(a,l=void 0,c){let o=new CustomEvent(w0.pause,{bubbles:!1,cancelable:!1,detail:{toastId:a,toasterId:l}});c.dispatchEvent(o)}function Hi(a,l=void 0,c){let o=new CustomEvent(w0.play,{bubbles:!1,cancelable:!1,detail:{toastId:a,toasterId:l}});c.dispatchEvent(o)}F();function hA(a,l){for(let[c,o]of Object.entries(l))if(o!=null)a[c]=o}var JS={onStatusChange:void 0,priority:0,pauseOnHover:!1,pauseOnWindowBlur:!1,position:"bottom-end",timeout:3000},KS=0;function Vi(a){let{limit:l=Number.POSITIVE_INFINITY}=a,c=/*@__PURE__*/new Set,o=/*@__PURE__*/new Map,e=y6((n,v)=>{let d=o.get(n),m=o.get(v);if(!d||!m)return 0;if(d.priority===m.priority)return d.order-m.order;return d.priority-m.priority});return{buildToast:(n,v)=>{var d;let{toastId:m,content:s,toasterId:p}=n;if(o.has(m))return;let A={...JS,close:()=>{var V;let H=o.get(m);if(!H)return;c.delete(m),v(),(V=H.onStatusChange)===null||V===void 0||V.call(H,null,{status:"dismissed",...H})},remove:()=>{if(!o.get(m))return;if(o.delete(m),c.size<l&&e.peek()){let H=o.get(e.dequeue());if(!H)return;c.add(H.toastId)}v()},toastId:m,content:s,updateId:0,toasterId:p,order:KS++,data:{},imperativeRef:_5()};if(hA(A,a),hA(A,n),o.set(m,A),(d=A.onStatusChange)===null||d===void 0||d.call(A,null,{status:"queued",...A}),c.size>=l)e.enqueue(m);else c.add(m)},dismissAllToasts:()=>{c.clear(),e.clear()},dismissToast:(n)=>{c.delete(n)},isToastVisible:(n)=>{return c.has(n)},updateToast:(n)=>{let{toastId:v}=n,d=o.get(v);if(!d)return;Object.assign(d,n),d.updateId++},visibleToasts:c,toasts:o}}var a3=(a,l,c)=>{let o={};var e;let r=c?$S(c)?c:(e=c[a])!==null&&e!==void 0?e:{}:{},t=a==="top"||a==="bottom",{horizontal:h=t?0:20,vertical:Z=16}=r,i=l==="ltr"?"left":"right",n=l==="ltr"?"right":"left";switch(a){case"top":Object.assign(o,{top:Z,left:`calc(50% + ${h}px)`,transform:"translateX(-50%)"});break;case"bottom":Object.assign(o,{bottom:Z,left:`calc(50% + ${h}px)`,transform:"translateX(-50%)"});break;case"top-start":Object.assign(o,{top:Z,[i]:h});break;case"top-end":Object.assign(o,{top:Z,[n]:h});break;case"bottom-start":Object.assign(o,{bottom:Z,[i]:h});break;case"bottom-end":Object.assign(o,{bottom:Z,[n]:h});break}return o};function $S(a){return"horizontal"in a||"vertical"in a}function gi(a={}){let l=w6(),{toasterId:c,shortcuts:o}=a,[e]=h1(()=>Vi(a)),{targetDocument:r}=M1(),t=G(null),h=$((p)=>{return p===c}),Z=$((p)=>{if(o===null||o===void 0?void 0:o.focus)return o.focus(p)}),i=q(()=>{e.visibleToasts.forEach((p)=>{var M;let u=e.toasts.get(p);u===null||u===void 0||(M=u.imperativeRef.current)===null||M===void 0||M.pause()})},[e]),n=q(()=>{e.visibleToasts.forEach((p)=>{var M;let u=e.toasts.get(p);u===null||u===void 0||(M=u.imperativeRef.current)===null||M===void 0||M.play()})},[e]),v=q(()=>{return Array.from(e.visibleToasts).reduce((p,M)=>{let u=e.toasts.get(M);if(!u)return p;if(!p)return u;if(p.order<(u===null||u===void 0?void 0:u.order))return u;return p},void 0)},[e]),d=q(()=>{let p=v();if(p===null||p===void 0?void 0:p.imperativeRef.current)p.imperativeRef.current.focus();else{var M;(M=t.current)===null||M===void 0||M.focus(),t.current=null}},[v]),m=q(()=>{e.visibleToasts.forEach((p)=>{let M=e.toasts.get(p);M===null||M===void 0||M.close()}),d()},[e,d]);j(()=>{if(!r)return;let p=(x,R)=>{let U=(K)=>{if(!h(K.detail.toasterId))return;R(K),l()};return r.addEventListener(x,U),()=>r.removeEventListener(x,U)},M=(x)=>{e.buildToast(x.detail,l)},u=(x)=>{e.dismissToast(x.detail.toastId)},A=(x)=>{e.updateToast(x.detail)},V=(x)=>{e.dismissAllToasts()},H=(x)=>{let R=e.toasts.get(x.detail.toastId);if(R){var U;(U=R.imperativeRef.current)===null||U===void 0||U.pause()}},g=(x)=>{let R=e.toasts.get(x.detail.toastId);if(R){var U;(U=R.imperativeRef.current)===null||U===void 0||U.play()}},S=p(w0.show,M),C=p(w0.update,A),E=p(w0.dismiss,u),T=p(w0.dismissAll,V),c1=p(w0.pause,H),l1=p(w0.play,g),Q=(x)=>{if(Z(x)){i();let U=v();if(U){var R;t.current=T1(r.activeElement)?r.activeElement:null,(R=U.imperativeRef.current)===null||R===void 0||R.focus()}}};return r.addEventListener("keydown",Q),()=>{S(),T(),C(),E(),c1(),l1(),r.removeEventListener("keydown",Q)}},[e,l,r,h,i,v,Z]);let s=(()=>{if(!e)return/*@__PURE__*/new Map;let p=/*@__PURE__*/new Map;return Array.from(e.toasts.values()).forEach((u)=>{let{position:A}=u;if(p.has(A)||p.set(A,[]),A.startsWith("bottom"))p.get(A).push(u);else p.get(A).unshift(u)}),p})();return{isToastVisible:e.isToastVisible,toastsToRender:s,pauseAllToasts:i,playAllToasts:n,tryRestoreFocus:d,closeAllToasts:m}}F();var ia=()=>{return};function I4(a){let{targetDocument:l}=M1();return p1(()=>{if(!l)return{dispatchToast:ia,dismissToast:ia,dismissAllToasts:ia,updateToast:ia,pauseToast:ia,playToast:ia};return{dispatchToast:(c,o)=>{si(c,{...o,toasterId:a,data:{root:o===null||o===void 0?void 0:o.root}},l)},dismissToast:(c)=>{Mi(c,a,l)},dismissAllToasts:()=>{_i(a,l)},updateToast:(c)=>{ui({...c,data:{root:c.root},toasterId:a},l)},pauseToast:(c)=>{Ai(c,a,l)},playToast:(c)=>{Hi(c,a,l)}}},[l,a])}F();var YS={close:()=>null,intent:void 0,bodyId:"",titleId:""},ZA=/*@__PURE__*/v1(void 0),iA=ZA.Provider,Zr=()=>{var a;return(a=t1(ZA))!==null&&a!==void 0?a:YS};F();F();F();F();F();var vA=/*@__PURE__*/N("r16zaflb","r75casi",[".r16zaflb{animation-name:rsacmq1;}","@keyframes rsacmq1{from{opacity:0;}to{opacity:0;}}",".r75casi{animation-name:rsacmq1;}"]);var ir=/*@__PURE__*/I((a,l)=>{let c=vA(),{running:o,timeout:e,onTimeout:r}=a,t={animationDuration:`${e}ms`,animationPlayState:o?"running":"paused"};if(e<0)return null;return/*@__PURE__*/e1("span",{onAnimationEnd:r,"data-timer-status":t.animationPlayState,ref:l,style:t,className:c})});ir.displayName="Timer";var XS={success:"assertive",warning:"assertive",error:"assertive",info:"polite"},nA=(a,l)=>{let{visible:c,children:o,close:e,remove:r,updateId:t,announce:h,data:Z,timeout:i,politeness:n,intent:v="info",pauseOnHover:d,pauseOnWindowBlur:m,imperativeRef:s,tryRestoreFocus:p,content:M,...u}=a,A=N1("toast-title"),V=N1("toast-body"),H=G(null),{targetDocument:g}=M1(),[S,C]=h1(!1),E=G(!1),T=G(!1),c1=d4({tabBehavior:"limited-trap-focus",ignoreDefaultKeydown:{Tab:!0,Escape:!0,Enter:!0}}),l1=$(()=>{var B;let b=g===null||g===void 0?void 0:g.activeElement;if(b&&((B=H.current)===null||B===void 0?void 0:B.contains(b)))T.current=!0;e()}),Q=$((B)=>{var b;return(b=a.onStatusChange)===null||b===void 0?void 0:b.call(a,null,{status:B,...a})}),x=$(()=>C(!1)),R=$(()=>{var B;if(E.current)return;var b;let x1=!!((B=H.current)===null||B===void 0?void 0:B.contains((b=g===null||g===void 0?void 0:g.activeElement)!==null&&b!==void 0?b:null));if(i<0){C(!0);return}if(!x1)C(!0)});Z5(s,()=>({focus:()=>{if(!H.current)return;H.current.focus()},play:()=>{E.current=!1,R()},pause:()=>{E.current=!0,x()}})),j(()=>{return()=>Q("unmounted")},[Q]),j(()=>{if(!g)return;if(m){var B,b;return(B=g.defaultView)===null||B===void 0||B.addEventListener("focus",R),(b=g.defaultView)===null||b===void 0||b.addEventListener("blur",x),()=>{var x1,y1;(x1=g.defaultView)===null||x1===void 0||x1.removeEventListener("focus",R),(y1=g.defaultView)===null||y1===void 0||y1.removeEventListener("blur",x)}}},[g,x,R,m]);let U=Z.root,K=q((B,{direction:b})=>{if(b==="exit")r();if(b==="enter")R(),Q("visible")},[Q,R,r]),X=$((B)=>{var b;x(),U===null||U===void 0||(b=U.onMouseEnter)===null||b===void 0||b.call(U,B)}),i1=$((B)=>{var b;R(),U===null||U===void 0||(b=U.onMouseEnter)===null||b===void 0||b.call(U,B)}),{findFirstFocusable:J,findLastFocusable:s1}=q7(),H1=$((B)=>{var b;if(B.key===VZ)B.preventDefault(),l1();if(B.key===b8&&B.currentTarget===B.target)if(B.preventDefault(),B.shiftKey){var x1;(x1=s1(B.currentTarget))===null||x1===void 0||x1.focus()}else{var y1;(y1=J(B.currentTarget))===null||y1===void 0||y1.focus()}U===null||U===void 0||(b=U.onKeyDown)===null||b===void 0||b.call(U,B)});return j(()=>{var B;if(!c)return;let b=n!==null&&n!==void 0?n:XS[v];var x1;h((x1=(B=H.current)===null||B===void 0?void 0:B.textContent)!==null&&x1!==void 0?x1:"",{politeness:b})},[h,n,H,c,t,v]),j(()=>{return()=>{if(T.current)T.current=!1,p()}},[p]),{components:{timer:ir,root:"div"},timer:w.always({onTimeout:l1,running:S,timeout:i!==null&&i!==void 0?i:-1},{elementType:ir}),root:w.always(a1("div",{ref:R1(l,H),children:o,tabIndex:0,role:"listitem","aria-labelledby":A,"aria-describedby":V,...u,...U,...c1,onMouseEnter:X,onMouseLeave:i1,onKeyDown:H1}),{elementType:"div"}),timerTimeout:i,transitionTimeout:0,running:S,visible:c,remove:r,close:l1,onTransitionEntering:()=>{},updateId:t,nodeRef:H,intent:v,titleId:A,bodyId:V,onMotionFinish:K}};var dA=(a,l)=>{let{onMotionFinish:c,visible:o,updateId:e}=a;return P(a),/*@__PURE__*/L(iA,{value:l.toast,children:/*@__PURE__*/L(Fe,{appear:!0,onMotionFinish:c,visible:o,unmountOnExit:!0,children:/*@__PURE__*/A1(a.root,{children:[a.root.children,/*@__PURE__*/L(a.timer,{},e)]})})})};var vr={root:"fui-ToastContainer",timer:"fui-ToastContainer__timer"},NS=/*@__PURE__*/N("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);}"]),fi=(a)=>{let l=NS();return a.root.className=D(vr.root,l,a.root.className),a};F();function mA(a){let{close:l,intent:c,titleId:o,bodyId:e}=a;return{toast:p1(()=>({close:l,intent:c,titleId:o,bodyId:e}),[l,c,o,e])}}var nr=/*@__PURE__*/I((a,l)=>{let c=nA(a,l);return fi(c),z("useToastContainerStyles_unstable")(c),dA(c,mA(c))});nr.displayName="ToastContainer";F();var pA=()=>{return};function sA(a,l){let{targetDocument:c}=M1(),o=G(pA);return q((e)=>{if(!e||!c){o.current(),o.current=pA;return}let r=c.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode(i){if(T1(i)&&i.classList.contains(vr.root))return NodeFilter.FILTER_ACCEPT;return NodeFilter.FILTER_SKIP}}),t=(i)=>{let{target:n,key:v}=i;if(!T1(n))return;if(v===P6){r.currentNode=n;let d=r.nextNode();if(!d)r.currentNode=e,d=r.nextNode();if(T1(d))d.focus()}if(v===u4){r.currentNode=n;let d=r.previousNode();if(d&&d.contains(n))d=r.previousNode();if(!d)r.currentNode=e,d=r.lastChild();if(T1(d))d.focus()}},h=(i)=>{if(T1(i.currentTarget)&&!i.currentTarget.contains(T1(i.relatedTarget)?i.relatedTarget:null))a()},Z=(i)=>{if(T1(i.currentTarget)&&!i.currentTarget.contains(T1(i.relatedTarget)?i.relatedTarget:null))l()};e.addEventListener("keydown",t),e.addEventListener("focusin",h),e.addEventListener("focusout",Z),o.current=()=>{e.removeEventListener("keydown",t),e.removeEventListener("focusin",h),e.removeEventListener("focusout",Z)}},[c,a,l])}F();function MA(a){let l=G(!0),c=G(()=>{return}),o=q((r,t)=>{if(l.current)a(r,t)},[a]),e=q((r)=>{if(!r){c.current();return}let t=(Z)=>{if(T1(Z.currentTarget)&&Z.currentTarget.contains(T1(Z.relatedTarget)?Z.relatedTarget:null))return;l.current=!1},h=(Z)=>{if(T1(Z.currentTarget)&&Z.currentTarget.contains(T1(Z.relatedTarget)?Z.relatedTarget:null))return;l.current=!0};r.addEventListener("focusin",t),r.addEventListener("focusout",h),c.current=()=>{r.removeEventListener("focusin",t),r.removeEventListener("focusout",h)}},[]);return{announceToast:o,toasterRef:e}}var Q9=(a)=>{let{offset:l,announce:c,mountNode:o,inline:e=!1,...r}=a,t=G(()=>null),{toastsToRender:h,isToastVisible:Z,pauseAllToasts:i,playAllToasts:n,tryRestoreFocus:v,closeAllToasts:d}=gi(r),m=q((H,g)=>t.current(H,g),[]),{dir:s}=M1(),{onKeyDown:p,...M}=w.always(a1("div",r),{elementType:"div"}),u=d4({tabBehavior:"limited-trap-focus",ignoreDefaultKeydown:{Escape:!0}}),A=$((H)=>{if(H.key===J7)H.preventDefault(),d();p===null||p===void 0||p(H)}),V=(H)=>{var g;let S=sA(i,n),{announceToast:C,toasterRef:E}=MA(c!==null&&c!==void 0?c:m);return w.optional(h.has(H)?M:null,{defaultProps:{ref:R1(S,E),children:(g=h.get(H))===null||g===void 0?void 0:g.map((T)=>/*@__PURE__*/e1(nr,{...T,tryRestoreFocus:v,intent:T.intent,announce:C,key:T.toastId,visible:Z(T.toastId)},T.content)),onKeyDown:A,...u,"data-toaster-position":H,role:"list"},elementType:"div"})};return{dir:s,mountNode:o,components:{root:"div",bottomStart:"div",bottomEnd:"div",topStart:"div",topEnd:"div",top:"div",bottom:"div"},root:w.always(M,{elementType:"div"}),bottomStart:V(A5.bottomStart),bottomEnd:V(A5.bottomEnd),topStart:V(A5.topStart),topEnd:V(A5.topEnd),top:V(A5.top),bottom:V(A5.bottom),announceRef:t,offset:l,announce:c!==null&&c!==void 0?c:m,renderAriaLive:!c,inline:e}};F();F();var jS=500,_A=(a)=>{let[l,c]=h1(void 0),o=G(0),[e]=h1(()=>y6((n,v)=>{if(n.politeness===v.politeness)return n.createdAt-v.createdAt;return n.politeness==="assertive"?-1:1})),r=$((n,v)=>{let{politeness:d}=v;if(n===(l===null||l===void 0?void 0:l.message))return;let m={message:n,politeness:d,createdAt:o.current++};if(!l)c(m);else e.enqueue(m)}),[t,h]=a2();j(()=>{return t(()=>{if(e.peek())c(e.dequeue());else c(void 0)},jS),()=>h()},[l,e,t,h]),Z5(a.announceRef,()=>r);let Z=(l===null||l===void 0?void 0:l.politeness)==="polite"?l.message:void 0,i=(l===null||l===void 0?void 0:l.politeness)==="assertive"?l.message:void 0;return{components:{assertive:"div",polite:"div"},assertive:w.always(a.assertive,{defaultProps:{"aria-live":"assertive",children:i},elementType:"div"}),polite:w.always(a.polite,{defaultProps:{"aria-live":"polite",children:Z},elementType:"div"})}};var uA=(a)=>{return P(a),/*@__PURE__*/A1(m1,{children:[/*@__PURE__*/L(a.assertive,{}),/*@__PURE__*/L(a.polite,{})]})};var AA={assertive:"fui-AriaLive__assertive",polite:"fui-AriaLive__polite"},aD=/*@__PURE__*/N("rrd10u0",null,[".rrd10u0{clip:rect(0px, 0px, 0px, 0px);height:1px;margin:-1px;overflow:hidden;padding:0px;width:1px;position:absolute;}"]),HA=(a)=>{let l=aD();return a.assertive.className=D(l,AA.assertive,a.assertive.className),a.polite.className=D(l,AA.polite,a.polite.className),a};var dr=(a)=>{let l=_A(a);return HA(l),uA(l)};dr.displayName="AriaLive";var J9=(a)=>{let{announceRef:l,renderAriaLive:c,inline:o,mountNode:e}=a;P(a);let r=!!a.bottomStart||!!a.bottomEnd||!!a.topStart||!!a.topEnd||!!a.top||!!a.bottom,t=c?/*@__PURE__*/L(dr,{announceRef:l}):null,h=/*@__PURE__*/A1(m1,{children:[a.bottom?/*@__PURE__*/L(a.bottom,{}):null,a.bottomStart?/*@__PURE__*/L(a.bottomStart,{}):null,a.bottomEnd?/*@__PURE__*/L(a.bottomEnd,{}):null,a.topStart?/*@__PURE__*/L(a.topStart,{}):null,a.topEnd?/*@__PURE__*/L(a.topEnd,{}):null,a.top?/*@__PURE__*/L(a.top,{}):null]});if(o)return/*@__PURE__*/A1(m1,{children:[t,r?h:null]});return/*@__PURE__*/A1(m1,{children:[t,r?/*@__PURE__*/L(L2,{mountNode:e,children:h}):null]})};var mr={root:"fui-Toaster"},lD=/*@__PURE__*/N("r3hfdjz",null,[".r3hfdjz{position:fixed;width:292px;pointer-events:none;}"]),cD=/*@__PURE__*/k({inline:{qhf8xq:"f1euv43f"}},{d:[".f1euv43f{position:absolute;}"]}),K9=(a)=>{let l=lD(),c=cD(),o=D(mr.root,l,a.inline&&c.inline,a.root.className);if(a.bottomStart){var e;a.bottomStart.className=o;var r;(r=(e=a.bottomStart).style)!==null&&r!==void 0||(e.style={}),Object.assign(a.bottomStart.style,a3(A5.bottomStart,a.dir,a.offset))}if(a.bottomEnd){var t;a.bottomEnd.className=o;var h;(h=(t=a.bottomEnd).style)!==null&&h!==void 0||(t.style={}),Object.assign(a.bottomEnd.style,a3(A5.bottomEnd,a.dir,a.offset))}if(a.topStart){var Z;a.topStart.className=o;var i;(i=(Z=a.topStart).style)!==null&&i!==void 0||(Z.style={}),Object.assign(a.topStart.style,a3(A5.topStart,a.dir,a.offset))}if(a.topEnd){var n;a.topEnd.className=o;var v;(v=(n=a.topEnd).style)!==null&&v!==void 0||(n.style={}),Object.assign(a.topEnd.style,a3(A5.topEnd,a.dir,a.offset))}if(a.top){var d;a.top.className=o;var m;(m=(d=a.top).style)!==null&&m!==void 0||(d.style={}),Object.assign(a.top.style,a3(A5.top,a.dir,a.offset))}if(a.bottom){var s;a.bottom.className=o;var p;(p=(s=a.bottom).style)!==null&&p!==void 0||(s.style={}),Object.assign(a.bottom.style,a3(A5.bottom,a.dir,a.offset))}return a};var q4=(a)=>{let l=Q9(a);return K9(l),z("useToasterStyles_unstable")(l),J9(l)};q4.displayName="Toaster";F();F();var $9=(a,l)=>{let{intent:c}=Zr();return{components:{root:"div"},root:w.always(a1("div",{ref:l,...a}),{elementType:"div"}),backgroundAppearance:a.appearance,intent:c}};var Y9=(a,l)=>{return P(a),/*@__PURE__*/L(Io,{value:l.backgroundAppearance,children:/*@__PURE__*/L(a.root,{})})};var Fi={root:"fui-Toast"},oD=/*@__PURE__*/N("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);}"]),eD=/*@__PURE__*/k({inverted:{sj55zd:"f1w7i9ko",De3pzq:"f5pduvr"}},{d:[".f1w7i9ko{color:var(--colorNeutralForegroundInverted2);}",".f5pduvr{background-color:var(--colorNeutralBackgroundInverted);}"]}),X9=(a)=>{let l=oD(),c=eD();return a.root.className=D(Fi.root,l,a.backgroundAppearance==="inverted"&&c.inverted,a.root.className),a};function VA(a){let{backgroundAppearance:l}=a;return{backgroundAppearance:l}}var B2=/*@__PURE__*/I((a,l)=>{let c=$9(a,l);return X9(c),z("useToastStyles_unstable")(c),Y9(c,VA(c))});B2.displayName="Toast";F();F();var N9=(a,l)=>{let{intent:c,titleId:o}=Zr(),e=S6(),r;switch(c){case"success":r=/*@__PURE__*/e1(ne,null);break;case"error":r=/*@__PURE__*/e1(me,null);break;case"warning":r=/*@__PURE__*/e1(se,null);break;case"info":r=/*@__PURE__*/e1(pe,null);break}return{action:w.optional(a.action,{elementType:"div"}),components:{root:"div",media:"div",action:"div"},media:w.optional(a.media,{renderByDefault:!!c,defaultProps:{children:r},elementType:"div"}),root:w.always(a1("div",{ref:l,children:a.children,id:o,...a}),{elementType:"div"}),intent:c,backgroundAppearance:e}};var j9=(a)=>{return P(a),/*@__PURE__*/A1(m1,{children:[a.media?/*@__PURE__*/L(a.media,{}):null,/*@__PURE__*/L(a.root,{}),a.action?/*@__PURE__*/L(a.action,{}):null]})};var va={root:"fui-ToastTitle",media:"fui-ToastTitle__media",action:"fui-ToastTitle__action"},rD=/*@__PURE__*/N("rdjap1e",null,[".rdjap1e{display:flex;grid-column-end:3;color:var(--colorNeutralForeground1);word-break:break-word;}"]),tD=/*@__PURE__*/N("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);}"]),hD=/*@__PURE__*/N("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);}"]),ZD=/*@__PURE__*/k({root:{sj55zd:"f1w7i9ko"},action:{sj55zd:"f1qz2gb0"},media:{sj55zd:"fqpbvvt"}},{d:[".f1w7i9ko{color:var(--colorNeutralForegroundInverted2);}",".f1qz2gb0{color:var(--colorBrandForegroundInverted);}",".fqpbvvt{color:var(--colorNeutralForegroundInverted);}"]}),iD=/*@__PURE__*/k({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);}"]}),vD=/*@__PURE__*/k({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);}"]}),ac=(a)=>{let l=rD(),c=hD(),o=tD(),e=iD(),r=vD(),{intent:t}=a,h=ZD();if(a.root.className=D(va.root,l,a.backgroundAppearance==="inverted"&&h.root,a.root.className),a.media)a.media.className=D(va.media,o,a.backgroundAppearance==="inverted"&&h.media,t&&e[t],t&&a.backgroundAppearance==="inverted"&&r[t],a.media.className);if(a.action)a.action.className=D(va.action,c,a.backgroundAppearance==="inverted"&&h.action,a.action.className);return a};var T2=/*@__PURE__*/I((a,l)=>{let c=N9(a,l);return ac(c),z("useToastTitleStyles_unstable")(c),j9(c)});T2.displayName="ToastTitle";F();F();F();function gA(a){switch(a){case"info":return/*@__PURE__*/e1(pe,null);case"warning":return/*@__PURE__*/e1(se,null);case"error":return/*@__PURE__*/e1(me,null);case"success":return/*@__PURE__*/e1(ne,null);default:return null}}F();function fA(a=!1){let{targetDocument:l}=M1(),c=M2(()=>({}),{})[1],o=G(!1),e=G(null),r=G(-1),t=q((Z)=>{var i,n;if(Z.length>1)console.error(["useMessageBarReflow: Resize observer should only have one entry. ","If multiple entries are observed, the first entry will be used.","This is a bug, please report it to the Fluent UI team."].join(" "));let v=Z[0];var d;let m=(d=v===null||v===void 0?void 0:(n=v.borderBoxSize)===null||n===void 0?void 0:(i=n[0])===null||i===void 0?void 0:i.inlineSize)!==null&&d!==void 0?d:v===null||v===void 0?void 0:v.target.getBoundingClientRect().width;if(m===void 0||!v)return;let{target:s}=v;if(!T1(s))return;let p;if(o.current){if(r.current<m)p=!1}else{let M=s.scrollWidth;if(m<M)p=!0}if(r.current=m,typeof p!=="undefined"&&o.current!==p)o.current=p,c()},[c]),h=q((Z)=>{var i;if(!a||!Z||!(l===null||l===void 0?void 0:l.defaultView))return;(i=e.current)===null||i===void 0||i.disconnect();let v=new l.defaultView.ResizeObserver(t);e.current=v,v.observe(Z,{box:"border-box"})},[l,t,a]);return j(()=>{return()=>{var Z;(Z=e.current)===null||Z===void 0||Z.disconnect()}},[]),{ref:h,reflowing:o.current}}F();var FA=v1(void 0),nD={className:"",nodeRef:_5()},Ui1=FA.Provider,xA=()=>{var a;return(a=t1(FA))!==null&&a!==void 0?a:nD};var lc=(a,l)=>{let{layout:c="auto",intent:o="info",politeness:e,shape:r="rounded"}=a,t=(e!==null&&e!==void 0?e:o==="info")?"polite":"assertive",h=c==="auto",{ref:Z,reflowing:i}=fA(h),n=h?i?"multiline":"singleline":c,{className:v,nodeRef:d}=xA(),m=G(null),s=G(null),{announce:p}=u8(),M=N1();return j(()=>{var u,A;let V=(u=s.current)===null||u===void 0?void 0:u.textContent,H=(A=m.current)===null||A===void 0?void 0:A.textContent,g=[V,H].filter(Boolean).join(",");p(g,{polite:t==="polite",alert:t==="assertive"})},[s,m,p,t]),{components:{root:"div",icon:"div",bottomReflowSpacer:"div"},root:w.always(a1("div",{ref:R1(l,Z,d),role:"group","aria-labelledby":M,...a}),{elementType:"div"}),icon:w.optional(a.icon,{renderByDefault:!0,elementType:"div",defaultProps:{children:gA(o)}}),bottomReflowSpacer:w.optional(a.bottomReflowSpacer,{renderByDefault:n==="multiline",elementType:"div"}),layout:n,intent:o,transitionClassName:v,actionsRef:m,bodyRef:s,titleId:M,shape:r}};F();var CA=v1(void 0),dD={titleId:"",layout:"singleline",actionsRef:_5(),bodyRef:_5()},xi=CA.Provider,cc=()=>{var a;return(a=t1(CA))!==null&&a!==void 0?a:dD};var oc=(a,l)=>{return P(a),/*@__PURE__*/L(xi,{value:l.messageBar,children:/*@__PURE__*/A1(a.root,{children:[a.icon&&/*@__PURE__*/L(a.icon,{}),a.root.children,a.bottomReflowSpacer&&/*@__PURE__*/L(a.bottomReflowSpacer,{})]})})};var na={root:"fui-MessageBar",icon:"fui-MessageBar__icon",bottomReflowSpacer:"fui-MessageBar__bottomReflowSpacer"},mD=/*@__PURE__*/N("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);}']),pD=/*@__PURE__*/N("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;}"]),sD=/*@__PURE__*/N("r1vx593n",null,[".r1vx593n{margin-bottom:var(--spacingVerticalS);grid-area:secondaryActions;}"]),MD=/*@__PURE__*/k({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}]]}),_D=/*@__PURE__*/k({info:{},error:{sj55zd:"f1ca9wz"},warning:{sj55zd:"f14a4cve"},success:{sj55zd:"f36rra6"}},{d:[".f1ca9wz{color:var(--colorStatusDangerForeground1);}",".f14a4cve{color:var(--colorStatusWarningForeground3);}",".f36rra6{color:var(--colorStatusSuccessForeground1);}"]}),uD=/*@__PURE__*/k({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);}"]}),ec=(a)=>{let l=mD(),c=pD(),o=_D(),e=uD(),r=sD(),t=MD();if(a.root.className=D(na.root,l,a.layout==="multiline"&&t.rootMultiline,a.shape==="square"&&t.square,e[a.intent],a.transitionClassName,a.root.className),a.icon)a.icon.className=D(na.icon,c,o[a.intent],a.icon.className);if(a.bottomReflowSpacer)a.bottomReflowSpacer.className=D(na.bottomReflowSpacer,r);return a};F();function rc(a){let{layout:l,actionsRef:c,bodyRef:o,titleId:e}=a;return{messageBar:p1(()=>({layout:l,actionsRef:c,bodyRef:o,titleId:e}),[l,c,o,e])}}var l3=/*@__PURE__*/I((a,l)=>{let c=lc(a,l);return ec(c),z("useMessageBarStyles_unstable")(c),oc(c,rc(c))});l3.displayName="MessageBar";F();F();var tc=(a,l)=>{let{titleId:c}=cc();return{components:{root:"span"},root:w.always(a1("span",{ref:l,id:c,...a}),{elementType:"span"})}};var hc=(a)=>{return P(a),/*@__PURE__*/L(a.root,{})};var pr={root:"fui-MessageBarTitle"},AD=/*@__PURE__*/N("r168xkm9",null,[".r168xkm9{font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase300);font-weight:var(--fontWeightSemibold);line-height:var(--lineHeightBase300);}",'.r168xkm9::after{content:" ";}']),Zc=(a)=>{let l=AD();return a.root.className=D(pr.root,l,a.root.className),a};var P4=/*@__PURE__*/I((a,l)=>{let c=tc(a,l);return Zc(c),z("useMessageBarTitleStyles_unstable")(c),hc(c)});P4.displayName="MessageBarTitle";F();F();var ic=(a,l)=>{let{bodyRef:c}=cc();return{components:{root:"div"},root:w.always(a1("div",{ref:R1(l,c),...a}),{elementType:"div"})}};var vc=(a,l)=>{return P(a),/*@__PURE__*/L(Qe,{value:l.link,children:/*@__PURE__*/L(a.root,{})})};var sr={root:"fui-MessageBarBody"},HD=/*@__PURE__*/N("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);}"]),nc=(a)=>{let l=HD();return a.root.className=D(sr.root,l,a.root.className),a};F();function LA(a){return{link:p1(()=>({inline:!0}),[])}}var c3=/*@__PURE__*/I((a,l)=>{let c=ic(a,l),o=LA(c);return nc(c),z("useMessageBarBodyStyles_unstable")(c),vc(c,o)});c3.displayName="MessageBarBody";F();var RD={scrollState:"none",setScrollState:()=>({})},IA=v1(void 0),z4=IA.Provider,Q4=()=>{var a;return(a=t1(IA))!==null&&a!==void 0?a:RD},J4=()=>{let[a,l]=h1("none");return{setScrollState:l,scrollState:a}};F();F();F();F();var pa={drawerSizeVar:"--fui-Drawer--size"},qA={overflow:"hidden",width:`var(${pa.drawerSizeVar})`,maxWidth:"100vw",height:"auto",maxHeight:"100vh",boxSizing:"border-box",display:"flex",flexDirection:"column",alignItems:"flex-start",justifyContent:"flex-start",backgroundColor:c0.colorNeutralBackground1,color:c0.colorNeutralForeground1},SD=/*@__PURE__*/k({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;}"]}),DD=/*@__PURE__*/k({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%;}"]}),_r=({position:a,size:l})=>{let c=SD(),o=DD();return D(c[a],a==="bottom"&&o[l],a!=="bottom"&&c[l])};var Gi={small:O1.durationGentle,medium:O1.durationSlow,large:O1.durationSlower,full:O1.durationUltraSlow};function PA(a,l,c){let o=`translate3d(var(${l}), 0, 0)`,e=`translate3d(calc(var(${l}) * -1), 0, 0)`,r=`translate3d(0, var(${l}), 0)`;if(a==="start")return c==="ltr"?e:o;if(a==="end")return c==="ltr"?o:e;if(a==="bottom")return r;return"translate3d(0, 0, 0)"}var Bi=S5(({position:a,size:l,dir:c})=>{let o=[{transform:PA(a,pa.drawerSizeVar,c),opacity:0},{transform:"translate3d(0, 0, 0)",opacity:1}],e=Gi[l];return{enter:{keyframes:o,duration:e,easing:O1.curveDecelerateMid},exit:{keyframes:[...o].reverse(),duration:e,easing:O1.curveAccelerateMin}}}),zA=S5(({position:a,size:l,dir:c})=>{let o=[{transform:PA(a,pa.drawerSizeVar,c),boxShadow:`0px ${c0.colorTransparentBackground}`,opacity:0},{transform:"translate3d(0, 0, 0)",boxShadow:c0.shadow64,opacity:1}],e=Gi[l];return{enter:{keyframes:o,duration:e,easing:O1.curveDecelerateMid},exit:{keyframes:[...o].reverse(),duration:e,easing:O1.curveAccelerateMin}}}),QA=S5(({size:a})=>{let l=[{opacity:0},{opacity:1}],c=Gi[a];return{enter:{keyframes:l,easing:O1.curveLinear,duration:c},exit:{keyframes:[...l].reverse(),easing:O1.curveLinear,duration:c}}});function ur(a){let{open:l=!1,size:c="small",position:o="start"}=a;return{size:c,position:o,open:l}}F();var wD=/*@__PURE__*/N("rl76ifk",null,[".rl76ifk{inset:0px;position:fixed;background-color:var(--colorBackgroundOverlay);}"]),kD=/*@__PURE__*/k({nested:{De3pzq:"f1c21dwh"}},{d:[".f1c21dwh{background-color:var(--colorTransparentBackground);}"]}),JA=(a)=>{let l=wD(),c=kD();if(a.backdrop)a.backdrop.className=D(l,a.isNestedDialog&&c.nested,a.backdrop.className);return a};var mc=/*@__PURE__*/I((a,l)=>{let c=B3({...a,as:a.as},l),o=b3(c);return JA(c),z("useOverlayDrawerSurfaceStyles_unstable")(c),T3(c,o)});mc.displayName="OverlayDrawerSurface";F();function Ti(a,l,c){if(a===null)return null;return{...a,children:(o,e)=>{if(a===null||a===void 0?void 0:a.children)return a.children(l,{...e,...c});return/*@__PURE__*/e1(l,{...e,...c},e.children)}}}var yD={active:!0,canRender:!0,ref:/*@__PURE__*/_5(),type:"idle"},bi=(a,l)=>{let{open:c,size:o,position:e}=ur(a),{backdropMotion:r,modalType:t="modal",inertTrapFocus:h,onOpenChange:Z,surfaceMotion:i,mountNode:n}=a,{dir:v,targetDocument:d}=M1(),{element:m}=cl(n),s=Boolean(m&&(d===null||d===void 0?void 0:d.body)!==m),p=w.resolveShorthand(a.backdrop),M=t!=="non-modal"&&p!==null,u=w.always({...a,ref:l,backdrop:M?{...p}:null,backdropMotion:Ti(r,QA,{size:o})},{elementType:mc}),A=w.always({open:c,onOpenChange:Z,inertTrapFocus:h,modalType:t,surfaceMotion:Ti(i,zA,{position:e,size:o,dir:v}),children:null},{elementType:k5});return{components:{root:mc,dialog:k5},root:u,dialog:A,open:c,size:o,position:e,hasMountNodeElement:s,mountNode:n,motion:yD}};var Oi=(a,l)=>{return P(a),/*@__PURE__*/L(z4,{value:l,children:/*@__PURE__*/L(a.dialog,{children:/*@__PURE__*/L(a.root,{})})})};F();var Ei={root:"fui-OverlayDrawer",backdrop:"fui-OverlayDrawer__backdrop"},UD=/*@__PURE__*/N("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;}}"]}),GD=/*@__PURE__*/k({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;}"]}),Wi=(a)=>{let l=_r(a),c=UD(),o=GD(),e=a.hasMountNodeElement&&o.absolute,r=a.root.backdrop;if(a.root.className=D(Ei.root,l,c,o[a.position],e,a.root.className),r)r.className=D(Ei.backdrop,e,r.className);return a};var pc=/*@__PURE__*/I((a,l)=>{let c=bi(a,l),o=J4();return Wi(c),z("useDrawerOverlayStyles_unstable")(c),z("useOverlayDrawerStyles_unstable")(c),Oi(c,o)});pc.displayName="OverlayDrawer";F();F();var BD={active:!0,canRender:!0,ref:_5(),type:"idle"},Ii=(a,l)=>{let{size:c,position:o,open:e}=ur(a),{separator:r=!1,surfaceMotion:t}=a,{dir:h}=M1();return{components:{root:"div",surfaceMotion:Bi},root:w.always(a1("div",{...a,ref:l}),{elementType:"div"}),open:e,position:o,size:c,separator:r,surfaceMotion:H4(t,{elementType:Bi,defaultProps:{position:o,size:c,dir:h,visible:e,unmountOnExit:!0}}),motion:BD}};var qi=(a,l)=>{return P(a),/*@__PURE__*/L(z4,{value:l,children:/*@__PURE__*/L(a.surfaceMotion,{children:/*@__PURE__*/L(a.root,{})})})};var KA={root:"fui-InlineDrawer"},TD=/*@__PURE__*/N("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;}"]),Dd1=`1px solid ${c0.colorNeutralBackground3}`,bD=/*@__PURE__*/k({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 OD(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 Pi=(a)=>{let l=TD(),c=_r(a),o=bD();return a.root.className=D(KA.root,l,c,OD(a,o),o[a.position],a.root.className),a};var sc=/*@__PURE__*/I((a,l)=>{let c=Ii(a,l),o=J4();return Pi(c),z("useDrawerInlineStyles_unstable")(c),z("useInlineDrawerStyles_unstable")(c),qi(c,o)});sc.displayName="InlineDrawer";var Mc=(a,l)=>{let c=a.type==="inline"?sc:pc,o=w.always({ref:l,...a},{elementType:c});return{components:{root:c},root:o}};var _c=(a,l)=>{return P(a),/*@__PURE__*/L(z4,{value:l,children:/*@__PURE__*/L(a.root,{})})};var $A={root:"fui-Drawer"},uc=(a)=>{return a.root.className=D($A.root,a.root.className),a};var b2=/*@__PURE__*/I((a,l)=>{let c=Mc(a,l),o=J4();return uc(c),z("useDrawerStyles_unstable")(c),_c(c,o)});b2.displayName="Drawer";F();F();var ED=({scrollTop:a,scrollHeight:l,clientHeight:c})=>{if(l<=c)return"none";if(a===0)return"top";if(a+c===l)return"bottom";return"middle"},Ac=(a,l)=>{let{setScrollState:c}=Q4(),o=G(null),[e,r]=qo(),t=q(()=>{if(!o.current)return;c(ED(o.current))},[c]),h=q(()=>{r(),e(()=>t())},[r,e,t]);return q1(()=>{return r(),e(()=>t()),()=>r()},[a.children,r,t,e]),q1(()=>{return r(),e(()=>t()),()=>r()},[r,t,e]),{components:{root:"div"},root:w.always(a1("div",{ref:R1(l,o),...a,onScroll:K1(a.onScroll,h)}),{elementType:"div"})}};var Hc=(a)=>{return P(a),/*@__PURE__*/L(a.root,{})};var Ar={root:"fui-DrawerBody"},WD=/*@__PURE__*/N("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);}"]),Vc=(a)=>{let l=WD();return a.root.className=D(Ar.root,l,a.root.className),a};var O2=/*@__PURE__*/I((a,l)=>{let c=Ac(a,l);return Vc(c),z("useDrawerBodyStyles_unstable")(c),Hc(c)});O2.displayName="DrawerBody";F();F();var gc=(a,l)=>{let{scrollState:c}=Q4();return{components:{root:"header"},root:w.always(a1("header",{ref:l,role:"none",...a}),{elementType:"header"}),scrollState:c}};var fc=(a)=>{return P(a),/*@__PURE__*/L(a.root,{})};var Hr={root:"fui-DrawerHeader"},ID=/*@__PURE__*/N("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;}"]),qD=/*@__PURE__*/k({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;}"]}),Fc=(a)=>{let l=ID(),c=qD();return a.root.className=D(Hr.root,l,a.scrollState!=="none"&&c.separator,["middle","bottom"].includes(a.scrollState)&&c.separatorVisible,a.root.className),a};var E2=/*@__PURE__*/I((a,l)=>{let c=gc(a,l);return Fc(c),z("useDrawerHeaderStyles_unstable")(c),fc(c)});E2.displayName="DrawerHeader";F();F();var xc=(a,l)=>{let{children:c,heading:o}=a,e=I0((r)=>r.dialogTitleId);return{components:{root:"div",heading:"h2",action:"div"},root:w.always(a1("div",{ref:l,...a}),{elementType:"div"}),heading:w.optional(o,{defaultProps:{id:e,children:c},renderByDefault:!0,elementType:"h2"}),action:w.optional(a.action,{elementType:"div"})}};var Cc=(a)=>{return P(a),/*@__PURE__*/A1(a.root,{children:[a.heading&&/*@__PURE__*/L(a.heading,{}),a.action&&/*@__PURE__*/L(a.action,{})]})};var sa={root:"fui-DrawerHeaderTitle",heading:"fui-DrawerHeaderTitle__heading",action:"fui-DrawerHeaderTitle__action"},PD=/*@__PURE__*/k({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);}"]}),Lc=(a)=>{let l=PD(),{heading:c={},action:o,components:e}=a;if(G3({components:{root:e.heading,action:e.action},root:c,action:o}),a.root.className=D(sa.root,l.root,a.root.className),a.heading)a.heading.className=D(sa.heading,a.heading.className);if(a.action)a.action.className=D(sa.action,l.action,a.action.className);return a};var W2=/*@__PURE__*/I((a,l)=>{let c=xc(a,l);return Lc(c),z("useDrawerHeaderTitleStyles_unstable")(c),Cc(c)});W2.displayName="DrawerHeaderTitle";F();F();var Rc=(a,l)=>{let{scrollState:c}=Q4();return{components:{root:"footer"},root:w.always(a1("footer",{ref:l,role:"none",...a}),{elementType:"footer"}),scrollState:c}};var Sc=(a)=>{return P(a),/*@__PURE__*/L(a.root,{})};var Vr={root:"fui-DrawerFooter"},zD=/*@__PURE__*/N("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;}"]),QD=/*@__PURE__*/k({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;}"]}),Dc=(a)=>{let l=zD(),c=QD();return a.root.className=D(Vr.root,l,a.scrollState!=="none"&&c.separator,["middle","top"].includes(a.scrollState)&&c.separatorVisible,a.root.className),a};var o3=/*@__PURE__*/I((a,l)=>{let c=Rc(a,l);return Dc(c),z("useDrawerFooterStyles_unstable")(c),Sc(c)});o3.displayName="DrawerFooter";function k0(a,l){if(JD(a))a="100%";var c=KD(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 wc(a){return Math.min(1,Math.max(0,a))}function JD(a){return typeof a==="string"&&a.indexOf(".")!==-1&&parseFloat(a)===1}function KD(a){return typeof a==="string"&&a.indexOf("%")!==-1}function gr(a){if(a=parseFloat(a),isNaN(a)||a<0||a>1)a=1;return a}function kc(a){if(a<=1)return"".concat(Number(a)*100,"%");return a}function W3(a){return a.length===1?"0"+a:String(a)}function YA(a,l,c){return{r:k0(a,255)*255,g:k0(l,255)*255,b:k0(c,255)*255}}function Qi(a,l,c){a=k0(a,255),l=k0(l,255),c=k0(c,255);var o=Math.max(a,l,c),e=Math.min(a,l,c),r=0,t=0,h=(o+e)/2;if(o===e)t=0,r=0;else{var Z=o-e;switch(t=h>0.5?Z/(2-o-e):Z/(o+e),o){case a:r=(l-c)/Z+(l<c?6:0);break;case l:r=(c-a)/Z+2;break;case c:r=(a-l)/Z+4;break;default:break}r/=6}return{h:r,s:t,l:h}}function zi(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 XA(a,l,c){var o,e,r;if(a=k0(a,360),l=k0(l,100),c=k0(c,100),l===0)e=c,r=c,o=c;else{var t=c<0.5?c*(1+l):c+l-c*l,h=2*c-t;o=zi(h,t,a+0.3333333333333333),e=zi(h,t,a),r=zi(h,t,a-0.3333333333333333)}return{r:o*255,g:e*255,b:r*255}}function Ji(a,l,c){a=k0(a,255),l=k0(l,255),c=k0(c,255);var o=Math.max(a,l,c),e=Math.min(a,l,c),r=0,t=o,h=o-e,Z=o===0?0:h/o;if(o===e)r=0;else{switch(o){case a:r=(l-c)/h+(l<c?6:0);break;case l:r=(c-a)/h+2;break;case c:r=(a-l)/h+4;break;default:break}r/=6}return{h:r,s:Z,v:t}}function NA(a,l,c){a=k0(a,360)*6,l=k0(l,100),c=k0(c,100);var o=Math.floor(a),e=a-o,r=c*(1-l),t=c*(1-e*l),h=c*(1-(1-e)*l),Z=o%6,i=[c,t,r,r,h,c][Z],n=[h,c,c,t,r,r][Z],v=[r,r,h,c,c,t][Z];return{r:i*255,g:n*255,b:v*255}}function Ki(a,l,c,o){var e=[W3(Math.round(a).toString(16)),W3(Math.round(l).toString(16)),W3(Math.round(c).toString(16))];if(o&&e[0].startsWith(e[0].charAt(1))&&e[1].startsWith(e[1].charAt(1))&&e[2].startsWith(e[2].charAt(1)))return e[0].charAt(0)+e[1].charAt(0)+e[2].charAt(0);return e.join("")}function jA(a,l,c,o,e){var r=[W3(Math.round(a).toString(16)),W3(Math.round(l).toString(16)),W3(Math.round(c).toString(16)),W3($D(o))];if(e&&r[0].startsWith(r[0].charAt(1))&&r[1].startsWith(r[1].charAt(1))&&r[2].startsWith(r[2].charAt(1))&&r[3].startsWith(r[3].charAt(1)))return r[0].charAt(0)+r[1].charAt(0)+r[2].charAt(0)+r[3].charAt(0);return r.join("")}function $D(a){return Math.round(parseFloat(a)*255).toString(16)}function $i(a){return y5(a)/255}function y5(a){return parseInt(a,16)}function aH(a){return{r:a>>16,g:(a&65280)>>8,b:a&255}}var yc={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 lH(a){var l={r:0,g:0,b:0},c=1,o=null,e=null,r=null,t=!1,h=!1;if(typeof a==="string")a=ND(a);if(typeof a==="object"){if(e3(a.r)&&e3(a.g)&&e3(a.b))l=YA(a.r,a.g,a.b),t=!0,h=String(a.r).substr(-1)==="%"?"prgb":"rgb";else if(e3(a.h)&&e3(a.s)&&e3(a.v))o=kc(a.s),e=kc(a.v),l=NA(a.h,o,e),t=!0,h="hsv";else if(e3(a.h)&&e3(a.s)&&e3(a.l))o=kc(a.s),r=kc(a.l),l=XA(a.h,o,r),t=!0,h="hsl";if(Object.prototype.hasOwnProperty.call(a,"a"))c=a.a}return c=gr(c),{ok:t,format:a.format||h,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 YD="[-\\+]?\\d+%?",XD="[-\\+]?\\d*\\.\\d+%?",I3="(?:".concat(XD,")|(?:").concat(YD,")"),Yi="[\\s|\\(]+(".concat(I3,")[,|\\s]+(").concat(I3,")[,|\\s]+(").concat(I3,")\\s*\\)?"),Xi="[\\s|\\(]+(".concat(I3,")[,|\\s]+(").concat(I3,")[,|\\s]+(").concat(I3,")[,|\\s]+(").concat(I3,")\\s*\\)?"),I2={CSS_UNIT:new RegExp(I3),rgb:new RegExp("rgb"+Yi),rgba:new RegExp("rgba"+Xi),hsl:new RegExp("hsl"+Yi),hsla:new RegExp("hsla"+Xi),hsv:new RegExp("hsv"+Yi),hsva:new RegExp("hsva"+Xi),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 ND(a){if(a=a.trim().toLowerCase(),a.length===0)return!1;var l=!1;if(yc[a])a=yc[a],l=!0;else if(a==="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var c=I2.rgb.exec(a);if(c)return{r:c[1],g:c[2],b:c[3]};if(c=I2.rgba.exec(a),c)return{r:c[1],g:c[2],b:c[3],a:c[4]};if(c=I2.hsl.exec(a),c)return{h:c[1],s:c[2],l:c[3]};if(c=I2.hsla.exec(a),c)return{h:c[1],s:c[2],l:c[3],a:c[4]};if(c=I2.hsv.exec(a),c)return{h:c[1],s:c[2],v:c[3]};if(c=I2.hsva.exec(a),c)return{h:c[1],s:c[2],v:c[3],a:c[4]};if(c=I2.hex8.exec(a),c)return{r:y5(c[1]),g:y5(c[2]),b:y5(c[3]),a:$i(c[4]),format:l?"name":"hex8"};if(c=I2.hex6.exec(a),c)return{r:y5(c[1]),g:y5(c[2]),b:y5(c[3]),format:l?"name":"hex"};if(c=I2.hex4.exec(a),c)return{r:y5(c[1]+c[1]),g:y5(c[2]+c[2]),b:y5(c[3]+c[3]),a:$i(c[4]+c[4]),format:l?"name":"hex8"};if(c=I2.hex3.exec(a),c)return{r:y5(c[1]+c[1]),g:y5(c[2]+c[2]),b:y5(c[3]+c[3]),format:l?"name":"hex"};return!1}function e3(a){return Boolean(I2.CSS_UNIT.exec(String(a)))}var Ni=function(){function a(l,c){if(l===void 0)l="";if(c===void 0)c={};var o;if(l instanceof a)return l;if(typeof l==="number")l=aH(l);this.originalInput=l;var e=lH(l);if(this.originalInput=l,this.r=e.r,this.g=e.g,this.b=e.b,this.a=e.a,this.roundA=Math.round(100*this.a)/100,this.format=(o=c.format)!==null&&o!==void 0?o:e.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=e.ok}return a.prototype.isDark=function(){return this.getBrightness()<128},a.prototype.isLight=function(){return!this.isDark()},a.prototype.getBrightness=function(){var l=this.toRgb();return(l.r*299+l.g*587+l.b*114)/1000},a.prototype.getLuminance=function(){var l=this.toRgb(),c,o,e,r=l.r/255,t=l.g/255,h=l.b/255;if(r<=0.03928)c=r/12.92;else c=Math.pow((r+0.055)/1.055,2.4);if(t<=0.03928)o=t/12.92;else o=Math.pow((t+0.055)/1.055,2.4);if(h<=0.03928)e=h/12.92;else e=Math.pow((h+0.055)/1.055,2.4);return 0.2126*c+0.7152*o+0.0722*e},a.prototype.getAlpha=function(){return this.a},a.prototype.setAlpha=function(l){return this.a=gr(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=Ji(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=Ji(this.r,this.g,this.b),c=Math.round(l.h*360),o=Math.round(l.s*100),e=Math.round(l.v*100);return this.a===1?"hsv(".concat(c,", ").concat(o,"%, ").concat(e,"%)"):"hsva(".concat(c,", ").concat(o,"%, ").concat(e,"%, ").concat(this.roundA,")")},a.prototype.toHsl=function(){var l=Qi(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=Qi(this.r,this.g,this.b),c=Math.round(l.h*360),o=Math.round(l.s*100),e=Math.round(l.l*100);return this.a===1?"hsl(".concat(c,", ").concat(o,"%, ").concat(e,"%)"):"hsla(".concat(c,", ").concat(o,"%, ").concat(e,"%, ").concat(this.roundA,")")},a.prototype.toHex=function(l){if(l===void 0)l=!1;return Ki(this.r,this.g,this.b,l)},a.prototype.toHexString=function(l){if(l===void 0)l=!1;return"#"+this.toHex(l)},a.prototype.toHex8=function(l){if(l===void 0)l=!1;return jA(this.r,this.g,this.b,this.a,l)},a.prototype.toHex8String=function(l){if(l===void 0)l=!1;return"#"+this.toHex8(l)},a.prototype.toHexShortString=function(l){if(l===void 0)l=!1;return this.a===1?this.toHexString(l):this.toHex8String(l)},a.prototype.toRgb=function(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}},a.prototype.toRgbString=function(){var l=Math.round(this.r),c=Math.round(this.g),o=Math.round(this.b);return this.a===1?"rgb(".concat(l,", ").concat(c,", ").concat(o,")"):"rgba(".concat(l,", ").concat(c,", ").concat(o,", ").concat(this.roundA,")")},a.prototype.toPercentageRgb=function(){var l=function(c){return"".concat(Math.round(k0(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(k0(c,255)*100)};return this.a===1?"rgb(".concat(l(this.r),"%, ").concat(l(this.g),"%, ").concat(l(this.b),"%)"):"rgba(".concat(l(this.r),"%, ").concat(l(this.g),"%, ").concat(l(this.b),"%, ").concat(this.roundA,")")},a.prototype.toName=function(){if(this.a===0)return"transparent";if(this.a<1)return!1;var l="#"+Ki(this.r,this.g,this.b,!1);for(var c=0,o=Object.entries(yc);c<o.length;c++){var e=o[c],r=e[0],t=e[1];if(l===t)return r}return!1},a.prototype.toString=function(l){var c=Boolean(l);l=l!==null&&l!==void 0?l:this.format;var o=!1,e=this.a<1&&this.a>=0,r=!c&&e&&(l.startsWith("hex")||l==="name");if(r){if(l==="name"&&this.a===0)return this.toName();return this.toRgbString()}if(l==="rgb")o=this.toRgbString();if(l==="prgb")o=this.toPercentageRgbString();if(l==="hex"||l==="hex6")o=this.toHexString();if(l==="hex3")o=this.toHexString(!0);if(l==="hex4")o=this.toHex8String(!0);if(l==="hex8")o=this.toHex8String();if(l==="name")o=this.toName();if(l==="hsl")o=this.toHslString();if(l==="hsv")o=this.toHsvString();return o||this.toHexString()},a.prototype.toNumber=function(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)},a.prototype.clone=function(){return new a(this.toString())},a.prototype.lighten=function(l){if(l===void 0)l=10;var c=this.toHsl();return c.l+=l/100,c.l=wc(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=wc(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=wc(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=wc(c.s),new a(c)},a.prototype.greyscale=function(){return this.desaturate(100)},a.prototype.spin=function(l){var c=this.toHsl(),o=(c.h+l)%360;return c.h=o<0?360+o:o,new a(c)},a.prototype.mix=function(l,c){if(c===void 0)c=50;var o=this.toRgb(),e=new a(l).toRgb(),r=c/100,t={r:(e.r-o.r)*r+o.r,g:(e.g-o.g)*r+o.g,b:(e.b-o.b)*r+o.b,a:(e.a-o.a)*r+o.a};return new a(t)},a.prototype.analogous=function(l,c){if(l===void 0)l=6;if(c===void 0)c=30;var o=this.toHsl(),e=360/c,r=[this];for(o.h=(o.h-(e*l>>1)+720)%360;--l;)o.h=(o.h+e)%360,r.push(new a(o));return r},a.prototype.complement=function(){var l=this.toHsl();return l.h=(l.h+180)%360,new a(l)},a.prototype.monochromatic=function(l){if(l===void 0)l=6;var c=this.toHsv(),o=c.h,e=c.s,r=c.v,t=[],h=1/l;while(l--)t.push(new a({h:o,s:e,v:r})),r=(r+h)%1;return t},a.prototype.splitcomplement=function(){var l=this.toHsl(),c=l.h;return[this,new a({h:(c+72)%360,s:l.s,l:l.l}),new a({h:(c+216)%360,s:l.s,l:l.l})]},a.prototype.onBackground=function(l){var c=this.toRgb(),o=new a(l).toRgb(),e=c.a+o.a*(1-c.a);return new a({r:(c.r*c.a+o.r*o.a*(1-c.a))/e,g:(c.g*c.a+o.g*o.a*(1-c.a))/e,b:(c.b*c.a+o.b*o.a*(1-c.a))/e,a:e})},a.prototype.triad=function(){return this.polyad(3)},a.prototype.tetrad=function(){return this.polyad(4)},a.prototype.polyad=function(l){var c=this.toHsl(),o=c.h,e=[this],r=360/l;for(var t=1;t<l;t++)e.push(new a({h:(o+t*r)%360,s:c.s,l:c.l}));return e},a.prototype.equals=function(l){return this.toRgbString()===new a(l).toRgbString()},a}();function q3(a,l,c,o){function e(r){return r instanceof c?r:new c(function(t){t(r)})}return new(c||(c=Promise))(function(r,t){function h(n){try{i(o.next(n))}catch(v){t(v)}}function Z(n){try{i(o.throw(n))}catch(v){t(v)}}function i(n){n.done?r(n.value):e(n.value).then(h,Z)}i((o=o.apply(a,l||[])).next())})}var g0=(a,l,c)=>{return new Ni(a).mix(new Ni(l),c).toHexString()},jD=(a)=>{return{10:a.themeDarker,20:g0(a.themeDarker,a.themeDark),30:a.themeDark,40:g0(a.themeDark,a.themeDarkAlt),50:a.themeDarkAlt,60:g0(a.themeDarkAlt,a.themePrimary),70:a.themePrimary,80:g0(a.themePrimary,a.themeSecondary),90:a.themeSecondary,100:g0(a.themeSecondary,a.themeTertiary),110:a.themeTertiary,120:g0(a.themeTertiary,a.themeLight),130:a.themeLight,140:g0(a.themeLight,a.themeLighter),150:a.themeLighter,160:g0(a.themeLighter,a.themeLighterAlt)}},aw=(a)=>{return{10:a.themeDarker,20:g0(a.themeDarker,a.themePrimary,20),30:g0(a.themeDarker,a.themePrimary,30),40:g0(a.themeDarker,a.themePrimary,40),50:g0(a.themeDarker,a.themePrimary,50),60:g0(a.themeDarker,a.themePrimary,60),70:g0(a.themeDarker,a.themePrimary,70),80:a.themePrimary,90:g0(a.themePrimary,a.themeLighterAlt,10),100:g0(a.themePrimary,a.themeLighterAlt,20),110:g0(a.themePrimary,a.themeLighterAlt,30),120:g0(a.themePrimary,a.themeLighterAlt,40),130:g0(a.themePrimary,a.themeLighterAlt,50),140:g0(a.themePrimary,a.themeLighterAlt,60),150:g0(a.themePrimary,a.themeLighterAlt,70),160:a.themeLighterAlt}},fr=(a,l="pairs")=>{switch(l){case"primaryAndEnds":return aw(a);case"pairs":default:return jD(a)}};f5();async function cH(){if(window.moduleLoaderPromise)return(await window.moduleLoaderPromise)?.context;console.error("Unable to retrieve Modern SP Context...")}async function oH(){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 ji="d6ca1fc2-0591-4c6d-8a25-cae3262c017b",eH="45e75137-13c5-4bb2-a2b3-8ab6382682ee",rH="SPFxExtensionsConfigurator",Fr="SitePages/SPFxExtensionsConfigurator.aspx",P0="manifest.txt",h2="collectionconfig.txt",iA1="Loading...",Ma="SPFxExtensionsConfiguration",_a="SPFxExtensionsWhiteList",k1="SPFxExtensions",tH="/SPFxExtensions/",C0="SPFxExtensionsData",xr="[SPFxExtensionCore]",Uc={appDefinitionMap:[],appRelativeEntryPointUrls:[],manualEntries:[]},Gc={enabledEverywhere:!1,excludedHubIds:[],excludedIds:[],includedHubIds:[],includedIds:[]},Bc={enabledAppCollections:[],urlMap:[]},a5="00000000-0000-0000-0000-000000000000";function S1(a,l,c=a){return(o)=>{let e=""+o,r=e.indexOf(l,a.length);return~r?a+lw(e,l,c,r)+l:a+e+l}}function lw(a,l,c,o){let e="",r=0;do e+=a.substring(r,o)+c,r=o+l.length,o=a.indexOf(l,r);while(~o);return e+a.substring(r)}var nA1=S1("\x1B[0m","\x1B[0m"),dA1=S1("\x1B[1m","\x1B[22m","\x1B[22m\x1B[1m"),mA1=S1("\x1B[2m","\x1B[22m","\x1B[22m\x1B[2m"),pA1=S1("\x1B[3m","\x1B[23m"),sA1=S1("\x1B[4m","\x1B[24m"),MA1=S1("\x1B[7m","\x1B[27m"),_A1=S1("\x1B[8m","\x1B[28m"),uA1=S1("\x1B[9m","\x1B[29m"),AA1=S1("\x1B[30m","\x1B[39m"),HA1=S1("\x1B[31m","\x1B[39m"),VA1=S1("\x1B[32m","\x1B[39m"),gA1=S1("\x1B[33m","\x1B[39m"),fA1=S1("\x1B[34m","\x1B[39m"),FA1=S1("\x1B[35m","\x1B[39m"),xA1=S1("\x1B[36m","\x1B[39m"),CA1=S1("\x1B[37m","\x1B[39m"),LA1=S1("\x1B[90m","\x1B[39m"),RA1=S1("\x1B[40m","\x1B[49m"),SA1=S1("\x1B[41m","\x1B[49m"),DA1=S1("\x1B[42m","\x1B[49m"),wA1=S1("\x1B[43m","\x1B[49m"),kA1=S1("\x1B[44m","\x1B[49m"),yA1=S1("\x1B[45m","\x1B[49m"),UA1=S1("\x1B[46m","\x1B[49m"),GA1=S1("\x1B[47m","\x1B[49m"),BA1=S1("\x1B[90m","\x1B[39m"),TA1=S1("\x1B[91m","\x1B[39m"),Cr=S1("\x1B[92m","\x1B[39m"),bA1=S1("\x1B[93m","\x1B[39m"),OA1=S1("\x1B[94m","\x1B[39m"),EA1=S1("\x1B[95m","\x1B[39m"),WA1=S1("\x1B[96m","\x1B[39m"),IA1=S1("\x1B[97m","\x1B[39m"),qA1=S1("\x1B[100m","\x1B[49m"),PA1=S1("\x1B[101m","\x1B[49m"),zA1=S1("\x1B[102m","\x1B[49m"),QA1=S1("\x1B[103m","\x1B[49m"),JA1=S1("\x1B[104m","\x1B[49m"),KA1=S1("\x1B[105m","\x1B[49m"),$A1=S1("\x1B[106m","\x1B[49m"),YA1=S1("\x1B[107m","\x1B[49m");function _1(...a){console.error(Cr(xr),(/*@__PURE__*/new Date()).toISOString(),...a)}function q2(...a){console.warn(Cr(xr),(/*@__PURE__*/new Date()).toISOString(),...a)}function y0(...a){console.info(Cr(xr),(/*@__PURE__*/new Date()).toISOString(),...a)}function aH1(...a){}function lH1(a,l,c){_1("Error while executing onInstanceRequested for app",a.id,"with name",a.name,c?`Additional Data: ${c}`:"",l)}function eH1(){return q2("The app instance event was called before app instance was initialized."),()=>{}}var av=window.crypto.randomUUID();function rH1(){return av}function tH1(){return av=window.crypto.randomUUID(),av}function lv(a){return a.replace("{","").replace("}","")}function G1(a){return JSON.parse(JSON.stringify(a))}var z0=await oH();function nH1(){return z0.contextType==="SPOModernContext"?z0.context.web.id.toString():lv(z0.context.webId)}function K4(){return(z0.contextType==="SPOModernContext"?z0.context.web.absoluteUrl:z0.context.webAbsoluteUrl).replace(/\/$/,"")}function dH1(){return z0.contextType==="SPOModernContext"?z0.context.site.id.toString():lv(z0.context.siteId)}function mH1(){return z0.contextType==="SPOModernContext"?z0.context.site.absoluteUrl:z0.context.siteAbsoluteUrl}function pH1(){return(z0.contextType==="SPOModernContext"?z0.context.legacyPageContext.hubSiteId?.toString():z0.context.hubSiteId)??a5}function sH1(){return z0.contextType==="SPOModernContext"?z0.context.legacyPageContext.isHubSite:z0.context.isHubSite}i3();f5();var cw=Symbol.for("preact-signals");function Rr(){if(!(P3>1)){var a,l=!1;while(Tc!==void 0){var c=Tc;Tc=void 0,cv++;while(c!==void 0){var o=c.o;if(c.o=void 0,c.f&=-3,!(8&c.f)&&ZH(c))try{c.c()}catch(e){if(!l)a=e,l=!0}c=o}}if(cv=0,P3--,l)throw a}else P3--}function Sr(a){if(P3>0)return a();P3++;try{return a()}finally{Rr()}}var z1=void 0;function ov(a){var l=z1;z1=void 0;try{return a()}finally{z1=l}}var Tc=void 0,P3=0,cv=0,Lr=0;function hH(a){if(z1!==void 0){var l=a.n;if(l===void 0||l.t!==z1){if(l={i:0,S:a,p:z1.s,n:void 0,t:z1,e:void 0,x:void 0,r:l},z1.s!==void 0)z1.s.n=l;if(z1.s=l,a.n=l,32&z1.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=z1.s,l.n=void 0,z1.s.n=l,z1.s=l}return l}}}function U0(a,l){this.v=a,this.i=0,this.n=void 0,this.t=void 0,this.W=l==null?void 0:l.watched,this.Z=l==null?void 0:l.unwatched,this.name=l==null?void 0:l.name}U0.prototype.brand=cw;U0.prototype.h=function(){return!0};U0.prototype.S=function(a){var l=this,c=this.t;if(c!==a&&a.e===void 0)if(a.x=c,this.t=a,c!==void 0)c.e=a;else ov(function(){var o;(o=l.W)==null||o.call(l)})};U0.prototype.U=function(a){var l=this;if(this.t!==void 0){var{e:c,x:o}=a;if(c!==void 0)c.x=o,a.e=void 0;if(o!==void 0)o.e=c,a.x=void 0;if(a===this.t){if(this.t=o,o===void 0)ov(function(){var e;(e=l.Z)==null||e.call(l)})}}};U0.prototype.subscribe=function(a){var l=this;return V7(function(){var c=l.value,o=z1;z1=void 0;try{a(c)}finally{z1=o}},{name:"sub"})};U0.prototype.valueOf=function(){return this.value};U0.prototype.toString=function(){return this.value+""};U0.prototype.toJSON=function(){return this.value};U0.prototype.peek=function(){var a=z1;z1=void 0;try{return this.value}finally{z1=a}};Object.defineProperty(U0.prototype,"value",{get:function(){var a=hH(this);if(a!==void 0)a.i=this.i;return this.v},set:function(a){if(a!==this.v){if(cv>100)throw new Error("Cycle detected");this.v=a,this.i++,Lr++,P3++;try{for(var l=this.t;l!==void 0;l=l.x)l.t.N()}finally{Rr()}}}});function G0(a,l){return new U0(a,l)}function ZH(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 iH(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 vH(a){var l=a.s,c=void 0;while(l!==void 0){var o=l.p;if(l.i===-1){if(l.S.U(l),o!==void 0)o.n=l.n;if(l.n!==void 0)l.n.p=o}else c=l;if(l.S.n=l.r,l.r!==void 0)l.r=void 0;l=o}a.s=c}function $4(a,l){U0.call(this,void 0),this.x=a,this.s=void 0,this.g=Lr-1,this.f=4,this.W=l==null?void 0:l.watched,this.Z=l==null?void 0:l.unwatched,this.name=l==null?void 0:l.name}$4.prototype=new U0;$4.prototype.h=function(){if(this.f&=-3,1&this.f)return!1;if((36&this.f)==32)return!0;if(this.f&=-5,this.g===Lr)return!0;if(this.g=Lr,this.f|=1,this.i>0&&!ZH(this))return this.f&=-2,!0;var a=z1;try{iH(this),z1=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 z1=a,vH(this),this.f&=-2,!0};$4.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)}U0.prototype.S.call(this,a)};$4.prototype.U=function(a){if(this.t!==void 0){if(U0.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)}}};$4.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($4.prototype,"value",{get:function(){if(1&this.f)throw new Error("Cycle detected");var a=hH(this);if(this.h(),a!==void 0)a.i=this.i;if(16&this.f)throw this.v;return this.v}});function Dr(a,l){return new $4(a,l)}function nH(a){var l=a.u;if(a.u=void 0,typeof l=="function"){P3++;var c=z1;z1=void 0;try{l()}catch(o){throw a.f&=-2,a.f|=8,ev(a),o}finally{z1=c,Rr()}}}function ev(a){for(var l=a.s;l!==void 0;l=l.n)l.S.U(l);a.x=void 0,a.s=void 0,nH(a)}function ow(a){if(z1!==this)throw new Error("Out-of-order effect");if(vH(this),z1=a,this.f&=-2,8&this.f)ev(this);Rr()}function ua(a,l){this.x=a,this.u=void 0,this.s=void 0,this.o=void 0,this.f=32,this.name=l==null?void 0:l.name}ua.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()}};ua.prototype.S=function(){if(1&this.f)throw new Error("Cycle detected");this.f|=1,this.f&=-9,nH(this),iH(this),P3++;var a=z1;return z1=this,ow.bind(this,a)};ua.prototype.N=function(){if(!(2&this.f))this.f|=2,this.o=Tc,Tc=this};ua.prototype.d=function(){if(this.f|=8,!(1&this.f))ev(this)};ua.prototype.dispose=function(){this.d()};function V7(a,l){var c=new ua(a,l);try{c.c()}catch(e){throw c.d(),e}var o=c.d.bind(c);return o[Symbol.dispose]=o,o}var tv,hv,rv,dH=[],mH=[];V7(function(){tv=this.N})();function Aa(a,l){V1[a]=l.bind(null,V1[a]||function(){})}function wr(a){if(rv)rv();rv=a&&a.S()}function pH(a){var l=this,c=a.data,o=g7(c);o.value=c;var e=p1(function(){var h=l,Z=l.__v;while(Z=Z.__)if(Z.__c){Z.__c.__$f|=4;break}var i=Dr(function(){var m=o.value.value;return m===0?0:m===!0?"":m||""}),n=Dr(function(){return!Array.isArray(i.value)&&!Ut(i.value)}),v=V7(function(){if(this.N=sH,n.value){var m=i.value;if(h.__v&&h.__v.__e&&h.__v.__e.nodeType===3)h.__v.__e.data=m}}),d=l.__$u.d;return l.__$u.d=function(){v(),d.call(this)},[n,i]},[]),r=e[0],t=e[1];return r.value?t.peek():t.value}pH.displayName="ReactiveTextNode";Object.defineProperties(U0.prototype,{constructor:{configurable:!0,value:void 0},type:{configurable:!0,value:pH},props:{configurable:!0,get:function(){return{data:this}}},__b:{configurable:!0,value:1}});Aa("__b",function(a,l){if(typeof l.type=="function"&&typeof window!="undefined"&&window.__PREACT_SIGNALS_DEVTOOLS__)window.__PREACT_SIGNALS_DEVTOOLS__.exitComponent();if(typeof l.type=="string"){var c,o=l.props;for(var e in o)if(e!=="children"){var r=o[e];if(r instanceof U0){if(!c)l.__np=c={};c[e]=r,o[e]=r.peek()}}}a(l)});Aa("__r",function(a,l){if(typeof l.type=="function"&&typeof window!="undefined"&&window.__PREACT_SIGNALS_DEVTOOLS__)window.__PREACT_SIGNALS_DEVTOOLS__.enterComponent(l.type.displayName||l.type.name||"Unknown");if(l.type!==m1){wr();var c,o=l.__c;if(o){if(o.__$f&=-2,(c=o.__$u)===void 0)o.__$u=c=function(e){var r;return V7(function(){r=this}),r.c=function(){o.__$f|=1,o.setState({})},r}()}hv=o,wr(c)}a(l)});Aa("__e",function(a,l,c,o){if(typeof window!="undefined"&&window.__PREACT_SIGNALS_DEVTOOLS__)window.__PREACT_SIGNALS_DEVTOOLS__.exitComponent();wr(),hv=void 0,a(l,c,o)});Aa("diffed",function(a,l){if(typeof l.type=="function"&&typeof window!="undefined"&&window.__PREACT_SIGNALS_DEVTOOLS__)window.__PREACT_SIGNALS_DEVTOOLS__.exitComponent();wr(),hv=void 0;var c;if(typeof l.type=="string"&&(c=l.__e)){var{__np:o,props:e}=l;if(o){var r=c.U;if(r)for(var t in r){var h=r[t];if(h!==void 0&&!(t in o))h.d(),r[t]=void 0}else r={},c.U=r;for(var Z in o){var i=r[Z],n=o[Z];if(i===void 0)i=ew(c,Z,n,e),r[Z]=i;else i.o(n,e)}}}a(l)});function ew(a,l,c,o){var e=l in a&&a.ownerSVGElement===void 0,r=G0(c);return{o:function(t,h){r.value=t,o=h},d:V7(function(){this.N=sH;var t=r.value.value;if(o[l]!==t)if(o[l]=t,e)a[l]=t;else if(t)a.setAttribute(l,t);else a.removeAttribute(l)})}}Aa("unmount",function(a,l){if(typeof l.type=="string"){var c=l.__e;if(c){var o=c.U;if(o){c.U=void 0;for(var e in o){var r=o[e];if(r)r.d()}}}}else{var t=l.__c;if(t){var h=t.__$u;if(h)t.__$u=void 0,h.d()}}a(l)});Aa("__h",function(a,l,c,o){if(o<3||o===9)l.__$f|=2;a(l,c,o)});M5.prototype.shouldComponentUpdate=function(a,l){var c=this.__$u,o=c&&c.s!==void 0;for(var e in l)return!0;if(this.__f||typeof this.u=="boolean"&&this.u===!0){var r=2&this.__$f;if(!(o||r||4&this.__$f))return!0;if(1&this.__$f)return!0}else{if(!(o||4&this.__$f))return!0;if(3&this.__$f)return!0}for(var t in a)if(t!=="__source"&&a[t]!==this.props[t])return!0;for(var h in this.props)if(!(h in a))return!0;return!1};function g7(a,l){return h1(function(){return G0(a,l)})[0]}var rw=typeof requestAnimationFrame=="undefined"?setTimeout:function(a){var l=function(){clearTimeout(c),cancelAnimationFrame(o),a()},c=setTimeout(l,35),o=requestAnimationFrame(l)},tw=function(a){queueMicrotask(function(){queueMicrotask(a)})};function hw(){Sr(function(){var a;while(a=dH.shift())tv.call(a)})}function Zw(){if(dH.push(this)===1)(V1.requestAnimationFrame||rw)(hw)}function iw(){Sr(function(){var a;while(a=mH.shift())tv.call(a)})}function sH(){if(mH.push(this)===1)(V1.requestAnimationFrame||tw)(iw)}function Z2(a,l){var c=G(a);c.current=a,j(function(){return V7(function(){return this.N=Zw,c.current()},l)},[])}function z3(a,l,c){let o=new Date(a.toString());switch(l.toLowerCase()){case"year":o.setFullYear(o.getFullYear()+c);break;case"quarter":o.setMonth(o.getMonth()+3*c);break;case"month":o.setMonth(o.getMonth()+c);break;case"week":o.setDate(o.getDate()+7*c);break;case"day":o.setDate(o.getDate()+c);break;case"hour":o.setTime(o.getTime()+c*3600000);break;case"minute":o.setTime(o.getTime()+c*60000);break;case"second":o.setTime(o.getTime()+c*1000);break;default:o=void 0;break}return o}function I1(...a){return a.filter((l)=>!G5(l)).map((l)=>l.replace(/^[\\|/]/,"").replace(/[\\|/]$/,"")).join("/").replace(/\\/g,"/")}function r3(){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 U5(a){return typeof a==="function"}function Q0(a){return Array.isArray(a)}function B0(a){return/^https?:\/\/|^\/\//i.test(a)}function G5(a){return typeof a==="undefined"||a===null||a.length<1}function L0(a){return typeof a!=="undefined"&&a!==null}function kr(a){return JSON.stringify(a)}function $1(a,l){return Object.hasOwnProperty.call(a,l)}function MH(a){let l=0;if(a.length===0)return l;for(let c=0;c<a.length;c++){let o=a.charCodeAt(c);l=(l<<5)-l+o,l|=0}return l}function _H(a){return new Promise((l)=>{setTimeout(l,a)})}var Zv;function uH(){if(typeof Zv==="undefined")Zv=new AH;return Zv}class iv{constructor(a){this.store=a,this.enabled=this.test()}get(a){if(!this.enabled)return null;let l=this.store.getItem(a);if(!L0(l))return null;let c=JSON.parse(l);if(new Date(c.expiration)<=/*@__PURE__*/new Date)return this.delete(a),null;else return c.value}put(a,l,c){if(this.enabled)this.store.setItem(a,this.createPersistable(l,c))}delete(a){if(this.enabled)this.store.removeItem(a)}async getOrPut(a,l,c){if(!this.enabled)return l();let o=this.get(a);if(o===null)o=await l(),this.put(a,o,c);return o}async deleteExpired(){if(!this.enabled)return;for(let a=0;a<this.store.length;a++){let l=this.store.key(a);if(l!==null){if(/["|']?pnp["|']? ?: ?1/i.test(this.store.getItem(l)))await this.get(l)}}}test(){try{return this.store.setItem("t","t"),this.store.removeItem("t"),!0}catch(l){return!1}}createPersistable(a,l){if(l===void 0)l=z3(/*@__PURE__*/new Date,"minute",5);return kr({pnp:1,expiration:l,value:a})}}class AH{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 vv{constructor(a=null,l=null){this._local=a,this._session=l}get local(){if(this._local===null)this._local=new iv(typeof localStorage==="undefined"?uH():localStorage);return this._local}get session(){if(this._session===null)this._session=new iv(typeof sessionStorage==="undefined"?uH():sessionStorage);return this._session}}function yr(){return function(a,...l){let c=[...a];for(let o=0;o<c.length;o++)Reflect.apply(c[o],this,l)}}function HH(){return function(a,...l){return[...a].reduce((o,e)=>Reflect.apply(e,this,o),l)}}function bc(){return async function(a,...l){return[...a].reduce((o,e)=>o.then((r)=>Reflect.apply(e,this,r)),Promise.resolve(l))}}function VH(){return async function(a,...l){if(!Q0(a)||a.length<1)return;let c=a[0];return Reflect.apply(c,this,l)}}function Ur(){return function(a,...l){let c=[...a];for(let o=0;o<c.length;o++)Reflect.apply(c[o],this,l);return this}}var dv=Symbol.for("ObserverLifecycleFlags"),gH=(a)=>(l)=>!((l[dv]||0)&a),fH=(a)=>(l)=>{return l[dv]=(l[dv]||0)|a,l},Y4=fH(1),DH1=fH(2);class mv{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(),nv(a.observers,l,c,1),a},{toArray:()=>{return Reflect.has(a.observers,l)?[...Reflect.get(a.observers,l)]:[]},replace:(c)=>{return a.cloneObserversOnChange(),nv(a.observers,l,c,3),a},prepend:(c)=>{return a.cloneObserversOnChange(),nv(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(L0(a))this.emit.error(a)}get emit(){if(this._emitProxy===null)this._emitProxy=new Proxy(this,{get:(a,l)=>(...c)=>{let o=Reflect.has(a.observers,l)?Reflect.get(a.observers,l):[];if((!Q0(o)||o.length<1)&&l==="error")throw Error(`Unhandled Exception: ${c[0]}`);try{let e=Reflect.has(a.moments,l)?Reflect.get(a.moments,l):l==="init"||l==="dispose"?Ur():yr();return Reflect.apply(e,a,[o,...c])}catch(e){if(l!=="error")this.error(e);else throw e}finally{if(o&&o.length>0)Reflect.set(a.observers,l,o.filter(gH(2)))}}});return this._emitProxy}start(a){this.emit.init();let l=this.execute(a);return l.finally(()=>{try{this.emit.dispose()}catch(c){let o=Object.assign(Error("Error in dispose."),{innerException:c});this.error(o)}}).catch(()=>{return}),l}cloneObserversOnChange(){if(this._inheritingObservers)this._inheritingObservers=!1,this.observers=pv(this.observers)}}function nv(a,l,c,o){if(!U5(c))throw Error("Observers must be functions.");if(!Reflect.has(a,l))a[l]=[c];else switch(o){case 1:a[l].push(c);break;case 2:a[l].unshift(c);break;case 3:a[l].length=0,a[l].push(c);break}return a[l]}function pv(a){return Reflect.ownKeys(a).reduce((l,c)=>{return l[c]=[...a[c].filter(gH(1))],l},{})}function Oc(a,l="append",c){return(o)=>{return Reflect.apply(vw,o,[a,l,c])}}function vw(a,l,c){if(!L0(a)||!L0(a.observers))return this;if(!U5(c))c=()=>!0;let o=pv(a.observers),e=Object.keys(o).filter(c);for(let r=0;r<e.length;r++){let t=e[r],h=this.on[t];if(l==="replace")h.clear();o[t].forEach((i)=>h(i))}return this}function FH(a,l,c,o){var e=arguments.length,r=e<3?l:o===null?o=Object.getOwnPropertyDescriptor(l,c):o,t;if(typeof Reflect==="object"&&typeof Reflect.decorate==="function")r=Reflect.decorate(a,l,c,o);else for(var h=a.length-1;h>=0;h--)if(t=a[h])r=(e<3?t(r):e>3?t(l,c,r):t(l,c))||r;return e>3&&r&&Object.defineProperty(l,c,r),r}var nw={construct:Ur(),pre:bc(),auth:bc(),send:VH(),parse:bc(),post:bc(),data:yr()},Ec=class a extends mv{constructor(l,c){super(nw);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]=HH();let o;if(typeof l==="string")this._url=I1(l,c);else if(Q0(l)){if(l.length!==2)throw Error("When using the tuple param exactly two arguments are expected.");if(typeof l[1]!=="string")throw Error("Expected second tuple param to be a string.");o=l[0],this._url=I1(l[1],c)}else o=l,this._url=I1(o._url,c);if(typeof o!=="undefined")this.observers=o.observers,this._inheritingObservers=!0}concat(l){return this._url+=l,this}toRequestUrl(){let l=this.toUrl(),c=this.query.toString();if(!G5(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=r3(),o,e=(r,t)=>{this.log(`[${c}] ${r}`,t)};try{e("Beginning request",0);let r={...l,headers:{...l.headers,"X-PnPjs-RequestId":c}},[t,h,Z]=await this.emit.pre(this.toRequestUrl(),r,void 0);if(e(`Url: ${t}`,1),typeof Z!=="undefined"){e("Result returned from pre, Emitting data"),this.emit.data(Z),e("Emitted data");return}e("Emitting auth"),[o,h]=await this.emit.auth(new URL(t),h),e("Emitted auth"),h={...h,...l,headers:{...h.headers,...l.headers}},e("Emitting send");let i=await this.emit.send(o,h);e("Emitted send"),e("Emitting parse"),[o,i,Z]=await this.emit.parse(o,i,Z),e("Emitted parse"),e("Emitting post"),[o,Z]=await this.emit.post(o,Z),e("Emitted post"),e("Emitting data"),this.emit.data(Z),e("Emitted data")}catch(r){e(`Emitting error: "${r.message||r}"`,3),this.error(r),e("Emitted error",3)}finally{e("Finished request",0)}},0),this.emit[this.InternalPromise](new Promise((c,o)=>{this.on[this.InternalResolve].replace(c),this.on[this.InternalReject].replace(o)}))[0]}};Ec=FH([dw()],Ec);function sv(a,l={headers:{}}){return{method:a,...l,headers:{...l.headers}}}function Mv(a){return this.start(sv("GET",a))}function xH(a){return this.start(sv("POST",a))}function CH(a){return this.start(sv("PATCH",a))}function Wc(a,l,c){return Reflect.apply(l,a,[c])}function LH(a){return(l,c)=>{let o=new a(l,c);return o.emit.construct(l,c),o}}function dw(a){return(l)=>{return new Proxy(l,{construct(c,o,e){let r=Object.assign(function(t){if(!U5(a))a=function(h){return Wc(this,Mv,h)};return Reflect.apply(a,r,[t])},Reflect.construct(c,o,e));return Reflect.setPrototypeOf(r,e.prototype),r}})}}function _v(a,l=!1){return(c)=>{let o=async function(e,r,t){return r.headers={...r.headers,...a},[e,r,t]};if(l)c.on.pre.prepend(o);else c.on.pre(o);return c}}function Gr(){return i2(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 uv(c)})}function Ha(){return i2((a)=>a.text())}function RH(){return i2((a)=>a.blob())}function Br(){return i2((a)=>a.json())}function SH(){return i2((a)=>U5(a.arrayBuffer)?a.arrayBuffer():a.buffer())}async function mw(a,l,c){if(!l.ok)throw await X4.init(l);return[a,l,c]}function uv(a){let l=a;if($1(a,"d"))if($1(a.d,"results"))l=a.d.results;else l=a.d;else if($1(a,"value"))l=a.value;return l}function i2(a){return(l)=>{return l.on.parse.replace(mw),l.on.parse(async(c,o,e)=>{if(o.ok&&typeof e==="undefined")e=await a(o);return[c,o,e]}),l}}class X4 extends Error{constructor(a,l,c=l.status,o=l.statusText){super(a);this.response=l,this.status=c,this.statusText=o,this.isHttpRequestError=!0}static async init(a){let l=await a.clone().text();return new X4(`Error making HttpClient request in queryable [${a.status}] ${a.statusText} ::> ${l}`,a)}}function Tr(a){let{interval:l,replace:c,retries:o}={replace:!0,interval:200,retries:3,...a};return(e)=>{if(c)e.on.send.clear();return e.on.send(function(r,t){let h,Z=l,i=0,n,v=async()=>{if(i>=o)throw n||new X4(`Retry count exceeded (${o}) for this request. ${h.status}: ${h.statusText};`,h);if(i++,typeof h==="undefined"||(h===null||h===void 0?void 0:h.status)===429||(h===null||h===void 0?void 0:h.status)===503||(h===null||h===void 0?void 0:h.status)===504){if(typeof h!=="undefined"){if(h.headers.has("Retry-After"))Z=parseInt(h.headers.get("Retry-After"),10)*1000;else Z*=2;this.log(`Attempt #${i} to retry request which failed with ${h.status}: ${h.statusText}`,0),await _H(Z)}try{let d=r.toString();return this.log(`Fetch: ${t.method} ${d}`,0),h=await fetch(d,t),h.ok?h:v()}catch(d){if(/AbortError/.test(d.name))throw d;return n=d,v()}}else return h};return v()}),e}}function Av(){return(a)=>{return a.on.pre.prepend(async function(l,c,o){return c.headers={...c.headers,"X-PnP-CacheNever":"1"},[l,c,o]}),a}}function wH(a){return(l)=>{return l.on.pre(async function(c,o,e){let[r,t,h]=kH(c,o,a);if(r){let Z=t();if(Z===null)this.on.post(Y4(async function(i,n){return h(n),[i,n]}));else e=Z}return[c,o,e]}),l}}var DH=new vv;function kH(a,l,c){var o,e;let{store:r,keyFactory:t,expireFunc:h}={store:"local",keyFactory:(n)=>MH(n.toLowerCase()).toString(),expireFunc:()=>z3(/*@__PURE__*/new Date,"minute",5),...c},Z=r==="session"?DH.session:DH.local,i=(l===null||l===void 0?void 0:l.headers["X-PnP-CacheKey"])?l.headers["X-PnP-CacheKey"]:t(a);return[(/get/i.test(l.method)||((o=l===null||l===void 0?void 0:l.headers["X-PnP-CacheAlways"])!==null&&o!==void 0?o:!1))&&!((e=l===null||l===void 0?void 0:l.headers["X-PnP-CacheNever"])!==null&&e!==void 0?e:!1),()=>Z.get(i),(n)=>Z.put(i,n,h(a))]}var yH="__CancelMoment__",Va=Symbol.for("CancelScopeId"),Ic=/*@__PURE__*/new Map;async function pw(a){let l=Ic.get(a);if(l.controller.abort(),Q0(l===null||l===void 0?void 0:l.actions))l.actions.map((c)=>l.currentSelf.on[yH](c));try{await l.currentSelf.emit[yH]()}catch(c){l.currentSelf.log(`Error in cancel: ${c}`,3)}}function sw(a){let l=r3();return a[Va]=l,Ic.set(l,{cancel:pw.bind({},l),actions:[],controller:null,currentSelf:a}),l}var Mw=(a)=>{return function(...l){if(!Reflect.has(this,Va))sw(this);let c=a.apply(this,l).finally(()=>{Ic.delete(this[Va]),delete this[Va]});return c.cancel=Ic.get(this[Va]).cancel,c}};function f7(a,l,c){c.value=Mw(c.value)}function Hv(a){return(l)=>{return l.on.pre(async function(...c){let o=Ic.get(this[Va]);if(L0(o)){if(!Q0(o.actions))o.actions=[];if(o.actions.indexOf(a)<0)o.actions.push(a)}return c}),l}}function UH(){return(a)=>{return a.on.data(function(l){this.emit[this.InternalResolve](l)}),a}}function GH(){return(a)=>{return a.on.error(function(l){this.emit[this.InternalReject](l)}),a}}function J0(a,l,c,o){Reflect.defineProperty(a.prototype,l,{configurable:!0,enumerable:!0,get:function(){return c(this,o||l)}})}function B1(a,l){return Object.assign({body:kr(a)},l)}function ga(a,l){return Object.assign({},l,{headers:{...l===null||l===void 0?void 0:l.headers,...a}})}var _w="This folder contains extensions that are loaded by the SPFxExtensions application.";async function br(a){try{await a.web.lists.ensure(k1,_w,101,!1,{Hidden:!0})}catch(l){if(l instanceof X4){if(l.message.includes("-2130575342"))return}throw l}}async function BH(a,l,c){let o=`${l}/${k1}/${c}`,e=await a.web.lists.getByTitle(k1).items.filter(`startswith(FileDirRef,'${o}') and FSObjType eq 0`).select("Id")();if(e.length>0){let[t,h]=a.web.batched();e.forEach((Z)=>{t.lists.getByTitle(k1).items.getById(Z.Id).delete()}),await h()}let r=a.web.lists.getByTitle(k1).rootFolder.folders.getByUrl(c);await TH(r)}async function TH(a){let l=await a.folders();for(let c of l)await TH(a.folders.getByUrl(c.Name));await a.delete()}var j1=(a)=>{return LH(a)};class Q3 extends Ec{constructor(a,l){if(typeof a==="string"){let c="",o="";if(B0(a)||a.lastIndexOf("/")<0)o=a,c=I1(a,l);else if(a.lastIndexOf("/")>a.lastIndexOf("(")){let e=a.lastIndexOf("/");o=a.slice(0,e),l=I1(a.slice(e),l),c=I1(o,l)}else{let e=a.lastIndexOf("(");o=a.slice(0,e),c=I1(a,l)}super(c);this.parentUrl=o}else{super(a,l);let c=Q0(a)?a[0]:a;this.parentUrl=Q0(a)?a[1]:c.toUrl()}}toRequestUrl(){let a=new URLSearchParams(this.query),l=this.toUrl().replace(/'!(@.+?)::((?:[^']|'')+)'/ig,(o,e,r)=>{return this.log(`Rewriting aliased parameter from match ${o} to label: ${e} value: ${r}`,0),a.set(e,`'${r}'`),e}),c=a.toString();if(!G5(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=j1(Q3);class p5 extends Q3{filter(a){if(typeof a==="object")return this.query.set("$filter",a.toString()),this;if(typeof a==="function")return this.query.set("$filter",a(Or.Where()).toString()),this;return this.query.set("$filter",a.toString()),this}orderBy(a,l=!0){let o=this.query.has("$orderby")?this.query.get("$orderby").split(","):[];return o.push(`${a} ${l?"asc":"desc"}`),this.query.set("$orderby",o.join(",")),this}skip(a){return this.query.set("$skip",a.toString()),this}top(a){return this.query.set("$top",a.toString()),this}}var K5=j1(p5);class l5 extends Q3{}var v2=j1(l5);function Wr(){return function(){return OH(this)}}function t3(){return function(a="*"){return uw(this,{},a)}}var bH=(a,l)=>{return Wc(a,Mv,l)},Y=(a,l)=>Wc(a,xH,l),Fa=(a,l)=>{return l=l||{},l.headers={...l.headers,"X-HTTP-Method":"MERGE"},Y(a,l)},OH=(a,l)=>{return l=l||{},l.headers={...l.headers||{},"X-HTTP-Method":"DELETE"},Y(a,l)},uw=(a,l,c="*")=>{return l=l||{},l.headers={...l.headers||{},"IF-Match":c},OH(a,l)};var EH=(a,l)=>Wc(a,CH,l),T0;(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"})(T0||(T0={}));var m5;(function(a){a.And="and",a.AndWithSpace=" and ",a.Or="or",a.OrWithSpace=" or "})(m5||(m5={}));class Or{static Where(){return new qH([])}}class Pc{constructor(a){this.query=[],this.query=a}}class fa extends Pc{constructor(a){super(a)}text(a){return new qc([...this.query,a])}choice(a){return new qc([...this.query,a])}multiChoice(a){return new qc([...this.query,a])}number(a){return new Er([...this.query,a])}date(a){return new QH([...this.query,a])}boolean(a){return new zH([...this.query,a])}lookup(a){return new PH([...this.query],a)}lookupId(a){let l=a.endsWith("Id")?a:`${a}Id`;return new Er([...this.query,l])}}class WH extends fa{or(...a){return new A0([...this.query,`(${a.map((l)=>l.toString()).join(m5.OrWithSpace)})`])}}class IH extends fa{and(...a){return new A0([...this.query,`(${a.map((l)=>l.toString()).join(m5.AndWithSpace)})`])}}class qH extends fa{or(...a){if(a==null||a.length===0)return new fa([...this.query,m5.Or]);return new A0([...this.query,`(${a.map((l)=>l.toString()).join(m5.OrWithSpace)})`])}and(...a){if(a==null||a.length===0)return new fa([...this.query,m5.And]);return new A0([...this.query,`(${a.map((l)=>l.toString()).join(m5.AndWithSpace)})`])}}class PH extends Pc{constructor(a,l){super(a);this.LookupField=l}Id(a){return new A0([...this.query,`${this.LookupField}/Id`,T0.Equals,a.toString()])}text(a){return new qc([...this.query,`${this.LookupField}/${a}`])}number(a){return new Er([...this.query,`${this.LookupField}/${a}`])}}class Vv extends Pc{constructor(a){super(a);this.LastIndex=a.length-1,this.InternalName=a[this.LastIndex]}toODataValue(a){return`'${a}'`}isNull(){return new A0([...this.query,T0.Equals,"null"])}isNotNull(){return new A0([...this.query,T0.NotEquals,"null"])}}class gv extends Vv{equals(a){return new A0([...this.query,T0.Equals,this.toODataValue(a)])}notEquals(a){return new A0([...this.query,T0.NotEquals,this.toODataValue(a)])}in(...a){return Or.Where().or(...a.map((l)=>this.equals(l)))}notIn(...a){return Or.Where().and(...a.map((l)=>this.notEquals(l)))}}class qc extends gv{startsWith(a){let l=`${T0.StartsWith}(${this.InternalName}, ${this.toODataValue(a)})`;return this.query[this.LastIndex]=l,new A0([...this.query])}contains(a){let l=`${T0.SubstringOf}(${this.toODataValue(a)}, ${this.InternalName})`;return this.query[this.LastIndex]=l,new A0([...this.query])}}class zH extends Vv{toODataValue(a){return`${a==null?"null":a?1:0}`}isTrue(){return new A0([...this.query,T0.Equals,this.toODataValue(!0)])}isFalse(){return new A0([...this.query,T0.Equals,this.toODataValue(!1)])}isFalseOrNull(){let a=`(${[this.InternalName,T0.Equals,this.toODataValue(null),m5.Or,this.InternalName,T0.Equals,this.toODataValue(!1)].join(" ")})`;return this.query[this.LastIndex]=a,new A0([...this.query])}}class fv extends gv{greaterThan(a){return new A0([...this.query,T0.GreaterThan,this.toODataValue(a)])}greaterThanOrEquals(a){return new A0([...this.query,T0.GreaterThanOrEqualTo,this.toODataValue(a)])}lessThan(a){return new A0([...this.query,T0.LessThan,this.toODataValue(a)])}lessThanOrEquals(a){return new A0([...this.query,T0.LessThanOrEqualTo,this.toODataValue(a)])}}class Er extends fv{toODataValue(a){return`${a}`}}class QH extends fv{toODataValue(a){return`'${a.toISOString()}'`}isBetween(a,l){let c=`(${[this.InternalName,T0.GreaterThan,this.toODataValue(a),m5.And,this.InternalName,T0.LessThan,this.toODataValue(l)].join(" ")})`;return this.query[this.LastIndex]=c,new A0([...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 A0 extends Pc{and(...a){if(a==null||a.length===0)return new WH([...this.query,m5.And]);return new A0([...this.query,m5.And,`(${a.map((l)=>l.toString()).join(m5.AndWithSpace)})`])}or(...a){if(a==null||a.length===0)return new IH([...this.query,m5.Or]);return new A0([...this.query,m5.Or,`(${a.map((l)=>l.toString()).join(m5.OrWithSpace)})`])}toString(){return this.query.join(" ")}}function c5(a){return function(l){return class extends l{constructor(...c){super(c[0],c.length>1&&c[1]!==void 0?c[1]:a)}}}}class P2{constructor(a=""){this._root=b0(a)}using(...a){return this._root.using(...a),this}create(a,l){return a(this._root,l)}}function xa(a=""){if(typeof a==="object"&&!Reflect.has(a,"length"))a=a._root;return new P2(a)}var zc="00000000-0000-0000-0000-000000000000",JH;(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"})(JH||(JH={}));var KH;(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"})(KH||(KH={}));var $H;(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"})($H||($H={}));function n0(a){if(G5(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 z2(a){let l=[],c=["odata.type","odata.editLink","__metadata","odata.metadata","odata.id"];if($1(a,c[0])&&a[c[0]]==="SP.Web"){if($1(a,c[4]))l.push(a[c[4]]);else if($1(a,c[2]))l.push(a.__metadata.uri)}else if($1(a,c[3])&&$1(a,c[1])){let o=B0(a[c[1]])?a[c[1]].split("_api")[1]:a[c[1]];l.push(n0(a[c[3]]),"_api",o)}else if($1(a,c[1]))l.push("_api",a[c[1]]);else if($1(a,c[2]))l.push(a.__metadata.uri);if(l.length<1)return"";return I1(...l)}function F7(a){return{DecodedUrl:a}}function Q1(a){if(G5(a))return"";if(/!(@.*?)::(.*?)/ig.test(a))return a.replace(/!(@.*?)::(.*)$/ig,(l,c,o)=>{return`!${c}::${o.replace(/'/ig,"''")}`});else return encodeURIComponent(a.replace(/'/ig,"''"))}function YH(a){if(G5(a))return"";if(/!(@.*?)::(.*?)/ig.test(a))return a.replace(/!(@.*?)::(.*)$/ig,(l,c,o)=>{return`!${c}::${o.replace(/'/ig,"''")}`});else return a.replace(/'/ig,"''")}function XH(){return(a)=>{return a.on.pre(async function(l,c,o){let e="PnPCoreJS:4.16.0:",{pathname:r}=new URL(l);if(e=r.split("/").filter((t)=>!G5(t)&&["_api","v2.1","v2.0"].indexOf(t)<0).map((t,h,Z)=>h===Z.length-1?t.replace(/\(.*?$/i,"()"):t[0]).join("."),e.length>32)e=e.substring(0,32);return this.log(`Request Tag: ${e}`,0),c.headers={...c.headers,["X-ClientService-ClientTag"]:e},[l,c,o]}),a}}function Ir(){return(a)=>{return a.on.pre(async(l,c,o)=>{return c.cache="no-cache",c.credentials="same-origin",[l,c,o]}),a.using(XH(),GH(),UH()),a}}function qr(){return(a)=>{return a.using(_v({Accept:"application/json","Content-Type":"application/json;charset=utf-8"})),a}}function e0(a,l,c,o){var e=arguments.length,r=e<3?l:o===null?o=Object.getOwnPropertyDescriptor(l,c):o,t;if(typeof Reflect==="object"&&typeof Reflect.decorate==="function")r=Reflect.decorate(a,l,c,o);else for(var h=a.length-1;h>=0;h--)if(t=a[h])r=(e<3?t(r):e>3?t(l,c,r):t(l,c))||r;return e>3&&r&&Object.defineProperty(l,c,r),r}var xv=class a extends p5{async add(l,c,o="",e="STS",r=1033,t=!0){let h=B1({parameters:{Description:o,Language:r,Title:l,Url:c,UseSamePermissionsAsParentSite:t,WebTemplate:e}});return Y(Cv(this,"add"),h)}};xv=e0([c5("webs")],xv);var Cv=j1(xv);function Fv(a,l){let c="_api/web",o=/(_api[/|\\](site\/rootweb|site|web))/i.exec(a);if((o===null||o===void 0?void 0:o.length)>0)a=n0(a),c=o[1];if((l===null||l===void 0?void 0:l.indexOf("_api"))<0)a=I1(a,c);return a}var Z0=class a extends l5{constructor(l,c){if(typeof l==="string")l=Fv(l,c);else if(Q0(l))l=[l[0],Fv(l[1],c)];else l=[l,Fv(l.toUrl(),c)];super(l,c);this.delete=Wr()}get webs(){return Cv(this)}get allProperties(){return v2(this,"allproperties")}get webinfos(){return K5(this,"webinfos")}async getParentWeb(){let{Url:l,ParentWeb:c}=await this.select("Url","ParentWeb/ServerRelativeUrl").expand("ParentWeb")();if(c===null||c===void 0?void 0:c.ServerRelativeUrl)return d0([this,I1(new URL(l).origin,c.ServerRelativeUrl)]);return null}async update(l){return Fa(this,B1(l))}applyTheme(l,c,o,e){let r=B1({backgroundImageUrl:o,colorPaletteUrl:l,fontSchemeUrl:c,shareGenerated:e});return Y(d0(this,"applytheme"),r)}applyWebTemplate(l){return Y(d0(this,`applywebtemplate(webTemplate='${Q1(l)}')`))}getChanges(l){return Y(d0(this,"getchanges"),B1({query:l}))}mapToIcon(l,c=0,o=""){return d0(this,`maptoicon(filename='${Q1(l)}',progid='${Q1(o)}',size=${c})`)()}getStorageEntity(l){return d0(this,`getStorageEntity('${Q1(l)}')`)()}setStorageEntity(l,c,o="",e=""){return Y(d0(this,"setStorageEntity"),B1({comments:e,description:o,key:l,value:c}))}removeStorageEntity(l){return Y(d0(this,`removeStorageEntity('${Q1(l)}')`))}getSubwebsFilteredForCurrentUser(l=-1,c=-1){return K5(this,`getSubwebsFilteredForCurrentUser(nWebTemplateFilter=${l},nConfigurationFilter=${c})`)}availableWebTemplates(l=1033,c=!0){return K5(this,`getavailablewebtemplates(lcid=${l},doincludecrosslanguage=${c})`)}};Z0=e0([c5("_api/web")],Z0);var d0=j1(Z0);P2.prototype.batched=function(a){let l=xa(this),[c,o]=NH(l._root,a);return l.using(c),[l,o]};Z0.prototype.batched=function(a){let l=d0(this),[c,o]=NH(l,a);return l.using(c),[l,o]};var Ca=Symbol.for("batch_registration"),N4=Symbol.for("batch_request");function Aw(){return i2(async(a)=>{let l=await a.text();return Hw(l)})}class Lv extends Q3{constructor(a,l=a.toUrl().replace(/_api[\\|/].*$/i,"")){super(l,"_api/$batch");this.requestBaseUrl=l,this.using(Oc(a,"replace"),Aw()),this.on.dispose(()=>{a.using(Oc(this,"replace",(c)=>/(auth|send|pre|init)/i.test(c)))})}}function NH(a,l){let c=[],o=[],e=[],r=new Lv(a),t=r3(),h=new Lv(a),{headersCopyPattern:Z,maxRequests:i}={headersCopyPattern:/Accept|Content-Type|IF-Match/i,maxRequests:20,...l};return[(d)=>{return d.on.init(function(){if(U5(this[Ca]))throw Error("This instance is already part of a batch. Please review the docs at https://pnp.github.io/pnpjs/concepts/batching#reuse.");return c.push(new Promise((m)=>{this[Ca]=m})),this}),d.on.pre(async function(m,s,p){if($1(s.headers,"X-PnP-BatchNever")){if(typeof this[N4]==="function")this[N4](),delete this[N4];return this.using(Oc(h,"replace",(M)=>/(init|pre)/i.test(M))),[m,s,p]}return this.on.auth.clear(),this.on.send.replace(async function(M,u){let A=new Promise((V)=>{e.push([this,M.toString(),u,V])});return this.log(`[batch:${t}] (${(/*@__PURE__*/new Date()).getTime()}) Adding request ${u.method} ${M.toString()} to batch.`,0),o.push(new Promise((V)=>{this[N4]=V})),this[Ca](),A}),this.on.dispose(function(){if(U5(this[Ca]))this[Ca](),delete this[Ca];if(U5(this[N4]))this[N4](),delete this[N4],this.using(Oc(h,"replace",(M)=>/(auth|pre|send|init|dispose)/i.test(M)))}),[m,s,p]}),d},async()=>{if(await Promise.all(c),e.length<1)return Promise.all(o).then(()=>{return});let d=e.slice();while(d.length>0){let m=d.splice(0,i),s=[],p="";for(let u=0;u<m.length;u++){let[,A,V]=m[u];if(V.method==="GET"){if(p.length>0)s.push(`--changeset_${p}--
|
|
152
152
|
|
|
153
|
-
`),
|
|
154
|
-
`)}else{if(
|
|
155
|
-
`),
|
|
153
|
+
`),p="";s.push(`--batch_${t}
|
|
154
|
+
`)}else{if(p.length<1)p=r3(),s.push(`--batch_${t}
|
|
155
|
+
`),s.push(`Content-Type: multipart/mixed; boundary="changeset_${p}"
|
|
156
156
|
|
|
157
|
-
`);
|
|
158
|
-
`)}
|
|
159
|
-
`),
|
|
157
|
+
`);s.push(`--changeset_${p}
|
|
158
|
+
`)}s.push(`Content-Type: application/http
|
|
159
|
+
`),s.push(`Content-Transfer-Encoding: binary
|
|
160
160
|
|
|
161
|
-
`);let
|
|
162
|
-
`)}else
|
|
163
|
-
`);if(!
|
|
164
|
-
`)}),
|
|
165
|
-
`),
|
|
161
|
+
`);let H=new Headers(V.headers),g=B0(A)?A:I1(r.requestBaseUrl,A);if(V.method!=="GET"){let S=V.method;if(H.has("X-HTTP-Method"))S=H.get("X-HTTP-Method"),H.delete("X-HTTP-Method");s.push(`${S} ${g} HTTP/1.1
|
|
162
|
+
`)}else s.push(`${V.method} ${g} HTTP/1.1
|
|
163
|
+
`);if(!H.has("Accept"))H.append("Accept","application/json");if(!H.has("Content-Type"))H.append("Content-Type","application/json;charset=utf-8");if(H.forEach((S,C)=>{if(Z.test(C))s.push(`${C}: ${S}
|
|
164
|
+
`)}),s.push(`
|
|
165
|
+
`),V.body)s.push(`${V.body}
|
|
166
166
|
|
|
167
|
-
`)}if(
|
|
167
|
+
`)}if(p.length>0)s.push(`--changeset_${p}--
|
|
168
168
|
|
|
169
|
-
`),
|
|
170
|
-
`);let M=await
|
|
171
|
-
`),r="batch",t,h,Z={},i=[];for(let v=0;v<e.length;++v){let n=e[v];switch(r){case"batch":if(n.substring(0,16)==="--batchresponse_")r="batchHeaders";else if(n.trim()!=="")throw Error(`Invalid response, line ${v}`);break;case"batchHeaders":if(n.trim()==="")r="status";break;case"status":{let d=o.exec(n);if(d.length!==3)throw Error(`Invalid status, line ${v}`);t=parseInt(d[1],10),h=d[2],r="statusHeaders";break}case"statusHeaders":if(n.trim()==="")r="body";else{let d=n.split(":");if((d===null||d===void 0?void 0:d.length)===2)Z[d[0].trim()]=d[1].trim()}break;case"body":i.length=0;while(n.substring(0,16)!=="--batchresponse_")i.push(n),n=e[++v];v--,l.push(new Response(t===204?null:i.join(""),{status:t,statusText:h,headers:Z})),r="batch",Z={};break}}if(r!=="status")throw Error("Unexpected end of input");return l}function QA(a){let l=/*@__PURE__*/new Date;return!L0(a)||l>a.expiration?null:a}var YA=/*@__PURE__*/new Map;function Zr(a){return(l)=>{return l.on.pre(async function(c,o,e){return this.on.auth(async(r,t)=>{if(/get/i.test(t.method)||t.headers&&($1(t.headers,"X-RequestDigest")||$1(t.headers,"Authorization")||$1(t.headers,"X-PnPjs-NoDigest")))return[r,t];let h=r.toString(),Z=n0(h),i=QA(YA.get(Z));if(!L0(i)&&w5(a))i=QA(a(h,t));if(!L0(i))i=await z(B0([this,E1(Z,"_api/contextinfo")]).using(ar(),k3()),{headers:{Accept:"application/json","X-PnPjs-NoDigest":"1"}}).then((v)=>({expiration:w3(/*@__PURE__*/new Date,"second",v.FormDigestTimeoutSeconds),value:v.FormDigestValue}));if(L0(i))t.headers={"X-RequestDigest":i.value,...t.headers},YA.set(Z,i);return[r,t]}),[c,o,e]}),l}}function ir(a){if((a===null||a===void 0?void 0:a.baseUrl)&&!U0(a.baseUrl))throw Error("SPBrowser props.baseUrl must be absolute when supplied.");return(l)=>{if(l.using(hr(),tr(),lr(),Ne(),Zr()),U0(a===null||a===void 0?void 0:a.baseUrl))l.on.pre.prepend(async(c,o,e)=>{if(!U0(c))c=E1(a.baseUrl,c);return[c,o,e]});return l}}class Ki 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 Ki(a)}}function XA(a){return Ki.check("SPFx",a),(l)=>{return l.using(hr(),tr(),lr(),Ne(),Zr((c)=>{var o,e,r;if(new RegExp(`^${E1(a.pageContext.web.absoluteUrl,"/_api")}`,"i").test(c)&&((e=(o=a===null||a===void 0?void 0:a.pageContext)===null||o===void 0?void 0:o.legacyPageContext)===null||e===void 0?void 0:e.formDigestValue)){let h=new Date(a.pageContext.legacyPageContext.formDigestValue.split(",")[1]);return{value:a.pageContext.legacyPageContext.formDigestValue,expiration:w3(h,"second",((r=a.pageContext.legacyPageContext)===null||r===void 0?void 0:r.formDigestTimeoutSeconds)-15||1585)}}})),l.on.pre.prepend(async(c,o,e)=>{if(!U0(c))c=E1(a.pageContext.web.absoluteUrl,c);return[c,o,e]}),l}}var Ji=class a extends d5{getById(l){return g0(this).concat(`('${l}')`)}getByTitle(l){return g0(this,`getByTitle('${z1(l)}')`)}async add(l,c="",o=100,e=!1,r={}){let t={AllowContentTypes:e,BaseTemplate:o,ContentTypesEnabled:e,Description:c,Title:l,...r};return z(this,U1(t))}async ensure(l,c="",o=100,e=!1,r={}){let t={Title:l,Description:c,ContentTypesEnabled:e,...r},h=this.getByTitle(t.Title);try{return await h.select("Title")(),{created:!1,data:await h.update(t),list:this.getByTitle(t.Title)}}catch(Z){return{created:!0,data:await this.add(l,c,o,e,t),list:this.getByTitle(t.Title)}}}async ensureSiteAssetsLibrary(){let l=await z(_c(this,"ensuresiteassetslibrary"));return g0([this,T2(l)])}async ensureSitePagesLibrary(){let l=await z(_c(this,"ensuresitepageslibrary"));return g0([this,T2(l)])}};Ji=c0([N0("lists")],Ji);var _c=X1(Ji);class Z8 extends j0{constructor(){super(...arguments);this.delete=$7()}get effectiveBasePermissions(){return B0(this,"EffectiveBasePermissions")}get eventReceivers(){return P5(this,"EventReceivers")}get relatedFields(){return B0(this,"getRelatedFields")}get informationRightsManagementSettings(){return B0(this,"InformationRightsManagementSettings")}async update(a,l="*"){return await r8(this,U1(a,o8({"IF-Match":l})))}getChanges(a){return z(g0(this,"getchanges"),U1({query:a}))}getItemsByCAMLQuery(a,...l){return z(g0(this,"getitems").expand(...l),U1({query:a}))}getListItemChangesSinceToken(a){return z(g0(this,"getlistitemchangessincetoken").using(l8()),U1({query:a}))}async recycle(){return z(g0(this,"recycle"))}async renderListData(a){let l=g0(this,"renderlistdata(@viewXml)");l.query.set("@viewXml",`'${a}'`);let c=await z(l);return JSON.parse(c)}renderListDataAsStream(a,l=null,c=/*@__PURE__*/new Map){if($1(a,"RenderOptions")&&z0(a.RenderOptions))a.RenderOptions=a.RenderOptions.reduce((r,t)=>r+t);let o=g0(this,"RenderListDataAsStream");if(c&&c.size>0)c.forEach((r,t)=>o.query.set(t,r));let e=L0(l)?{parameters:a,overrideParameters:l}:{parameters:a};return z(o,U1(e))}async renderListFormData(a,l,c){let o=await z(g0(this,`renderlistformdata(itemid=${a}, formid='${l}', mode='${c}')`));return JSON.parse(o)}async reserveListItemId(){return z(g0(this,"reservelistitemid"))}async addValidateUpdateItemUsingPath(a,l,c=!1,o,e){let r={FolderPath:p7(l)};if(L0(e)){if(e.leafName)r.LeafName=p7(e.leafName);if(e.objectType)r.UnderlyingObjectType=e.objectType}return z(g0(this,"AddValidateUpdateItemUsingPath()"),U1({bNewDocumentUpdate:c,checkInComment:o,formValues:a,listItemCreateInfo:r}))}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 g0=X1(Z8),$i;(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"})($i||($i={}));var Qi;(function(a){a[a.Display=1]="Display",a[a.Edit=2]="Edit",a[a.New=3]="New"})(Qi||(Qi={}));var Yi=class a extends d5{getById(l){return h2(this).concat(`(${l})`)}getItemByStringId(l){return h2([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=P5(this).using(r2(async(o)=>{let e=await o.json(),r=$1(e,"d")&&$1(e.d,"__next")?e.d.__next:e["odata.nextLink"];return{hasNext:typeof r==="string"&&r.length>0,nextLink:r,value:Bi(e)}})),c=["$top","$select","$expand","$filter","$orderby","$skiptoken"];for(let o=0;o<c.length;o++){let e=this.query.get(c[o]);if(L0(e))l.query.set(c[o],e)}return{_next:l,async next(){if(this._next===null)return{done:!0,value:void 0};let o=await this._next();if(o.hasNext)return this._next=P5([this._next,o.nextLink]),{done:!1,value:o.value};else return this._next=null,{done:!1,value:o.value}}}}async add(l={}){return z(this,U1(l))}};Yi=c0([N0("items")],Yi);var ji=X1(Yi);class i8 extends j0{constructor(){super(...arguments);this.delete=$7()}get effectiveBasePermissions(){return B0(this,"EffectiveBasePermissions")}get effectiveBasePermissionsForUI(){return B0(this,"EffectiveBasePermissionsForUI")}get fieldValuesAsHTML(){return t2(this,"FieldValuesAsHTML")}get fieldValuesAsText(){return t2(this,"FieldValuesAsText")}get fieldValuesForEdit(){return t2(this,"FieldValuesForEdit")}get versions(){return jA(this)}get list(){return this.getParent(g0,"",this.parentUrl.substring(0,this.parentUrl.lastIndexOf("/")))}async update(a,l="*"){let c=U1(a,o8({"IF-Match":l,"X-HTTP-Method":"MERGE"}));return z(h2(this).using(cw()),c)}recycle(){return z(h2(this,"recycle"))}async deleteWithParams(a){return z(h2(this,"DeleteWithParameters"),U1({parameters:a}))}async getWopiFrameUrl(a=0){let l=h2(this,"getWOPIFrameUrl(@action)");return l.query.set("@action",a),z(l)}validateUpdateListItem(a,l=!1){return z(h2(this,"validateupdatelistitem"),U1({formValues:a,bNewDocumentUpdate:l}))}async getParentInfos(){let a=await this.select("Id","ParentList/Id","ParentList/Title","ParentList/RootFolder/UniqueId","ParentList/RootFolder/ServerRelativeUrl","ParentList/RootFolder/ServerRelativePath","ParentList/ParentWeb/Id","ParentList/ParentWeb/Url","ParentList/ParentWeb/ServerRelativeUrl","ParentList/ParentWeb/ServerRelativePath").expand("ParentList","ParentList/RootFolder","ParentList/ParentWeb")();return{Item:{Id:a.Id},ParentList:{Id:a.ParentList.Id,Title:a.ParentList.Title,RootFolderServerRelativePath:a.ParentList.RootFolder.ServerRelativePath,RootFolderServerRelativeUrl:a.ParentList.RootFolder.ServerRelativeUrl,RootFolderUniqueId:a.ParentList.RootFolder.UniqueId},ParentWeb:{Id:a.ParentList.ParentWeb.Id,ServerRelativePath:a.ParentList.ParentWeb.ServerRelativePath,ServerRelativeUrl:a.ParentList.ParentWeb.ServerRelativeUrl,Url:a.ParentList.ParentWeb.Url}}}async setImageField(a,l,c){let o=await this.getParentInfos(),e=n0(this.toUrl()),r=B0([this,e],"/_api/web/UploadImage");r.concat("(listTitle=@a1,imageName=@a2,listId=@a3,itemId=@a4)"),r.query.set("@a1",`'${o.ParentList.Title}'`),r.query.set("@a2",`'${l}'`),r.query.set("@a3",`'${o.ParentList.Id}'`),r.query.set("@a4",o.Item.Id);let t=await z(r,{body:c}),h={type:"thumbnail",fileName:t.Name,nativeFile:{},fieldName:a,serverUrl:o.ParentWeb.Url.replace(o.ParentWeb.ServerRelativeUrl,""),serverRelativeUrl:t.ServerRelativeUrl,id:t.UniqueId};return this.validateUpdateListItem([{FieldName:a,FieldValue:JSON.stringify(h)}])}}var h2=X1(i8),Xi=class a extends d5{getById(l){return aH(this).concat(`(${l})`)}};Xi=c0([N0("versions")],Xi);var jA=X1(Xi);class NA extends j0{constructor(){super(...arguments);this.delete=$7()}}var aH=X1(NA);function cw(){return r2(async(a)=>({etag:a.headers.get("etag")}))}S3.prototype.getContextInfo=async function(a=this.parentUrl){let l=await z(B0([this,n0(a)],"_api/contextinfo"));if($1(l,"GetContextWebInformation")){let c=l.GetContextWebInformation;return c.SupportedSchemaVersions=c.SupportedSchemaVersions.results,c}else return l};var Ni=class a extends d5{getByUrl(l){return J0(this).concat(`('${z1(l)}')`)}async addUsingPath(l,c=!1){return z(uc(this,`addUsingPath(DecodedUrl='${z1(l)}',overwrite=${c})`))}};Ni=c0([N0("folders")],Ni);var uc=X1(Ni);class n8 extends j0{constructor(){super(...arguments);this.delete=$7()}get folders(){return uc(this)}get listItemAllFields(){return t2(this,"listItemAllFields")}get parentFolder(){return J0(this,"parentFolder")}get properties(){return t2(this,"properties")}get storageMetrics(){return t2(this,"storagemetrics")}async update(a){return r8(this,U1(a))}recycle(){return z(J0(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(h2([this,T2(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 z(J0(this,"DeleteWithParameters"),U1({parameters:a}))}async addSubFolderUsingPath(a){return await z(J0(this,"AddSubFolderUsingPath"),U1({leafPath:p7(a)})),this.folders.getByUrl(a)}async getParentInfos(){let a=await this.select("ServerRelativeUrl","ListItemAllFields/ParentList/Id","ListItemAllFields/ParentList/RootFolder/UniqueId","ListItemAllFields/ParentList/RootFolder/ServerRelativeUrl","ListItemAllFields/ParentList/RootFolder/ServerRelativePath","ListItemAllFields/ParentList/ParentWeb/Id","ListItemAllFields/ParentList/ParentWeb/Url","ListItemAllFields/ParentList/ParentWeb/ServerRelativeUrl","ListItemAllFields/ParentList/ParentWeb/ServerRelativePath").expand("ListItemAllFields/ParentList","ListItemAllFields/ParentList/RootFolder","ListItemAllFields/ParentList/ParentWeb")();return{Folder:{ServerRelativeUrl:a.ServerRelativeUrl},ParentList:{Id:a.ListItemAllFields.ParentList.Id,RootFolderServerRelativePath:a.ListItemAllFields.ParentList.RootFolder.ServerRelativePath,RootFolderServerRelativeUrl:a.ListItemAllFields.ParentList.RootFolder.ServerRelativeUrl,RootFolderUniqueId:a.ListItemAllFields.ParentList.RootFolder.UniqueId},ParentWeb:{Id:a.ListItemAllFields.ParentList.ParentWeb.Id,ServerRelativePath:a.ListItemAllFields.ParentList.ParentWeb.ServerRelativePath,ServerRelativeUrl:a.ListItemAllFields.ParentList.ParentWeb.ServerRelativeUrl,Url:a.ListItemAllFields.ParentList.ParentWeb.Url}}}moveCopyImpl(a,l,c){let o=J0(this);return o.on.pre(b4(async(e,r,t)=>{let{ServerRelativeUrl:h,["odata.id"]:Z}=await J0(this).using(k3()).select("ServerRelativeUrl")(),i=new URL(n0(Z));return e=E1(i.href,`/_api/SP.MoveCopyUtil.${c}()`),r=U1({destPath:p7(U0(a)?a:E1(i.origin,a)),options:l,srcPath:p7(E1(i.origin,h))},r),[e,r,t]})),z(o).then(()=>cH(this,a))}}c0([d7],n8.prototype,"moveByPath",null);c0([d7],n8.prototype,"copyByPath",null);var J0=X1(n8);function Ac(a,l){return J0([a,n0(a.toUrl())],`_api/web/getFolderByServerRelativePath(decodedUrl='${KA(l)}')`)}async function lH(a,l){let{WebFullUrl:c}=await J0(a).using(k3()).getContextInfo(l),{pathname:o}=new URL(l);return Ac(J0([a,E1(c,"_api/web")]),decodeURIComponent(o))}async function cH(a,l){return(U0(l)?lH:Ac)(a,l)}K0(Z8,"items",ji);function ow(){return r2(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 nr extends j0{getText(){return this.getParsed(l8())}getBlob(){return this.getParsed(FA())}getBuffer(){return this.getParsed(xA())}getJSON(){return this.getParsed(ar())}getStream(){return B0(this,"$value").using(ow(),bi())(o8({binaryStringResponseBody:"true"}))}getParsed(a){return B0(this,"$value").using(a,bi())()}}var v8=class a extends d5{getByUrl(l){if(/%#/.test(l))throw Error("For file names containing % or # please use web.getFileByServerRelativePath");return b1(this).concat(`('${z1(l)}')`)}async addUsingPath(l,c,o={Overwrite:!1}){let e=[`AddUsingPath(decodedurl='${z1(l)}'`];if(o){if(o.Overwrite)e.push(",Overwrite=true");if(o.EnsureUniqueFileName)e.push(`,EnsureUniqueFileName=${o.EnsureUniqueFileName}`);if(o.AutoCheckoutOnInvalidData)e.push(",AutoCheckoutOnInvalidData=true");if(!S5(o.XorHash))e.push(`,XorHash=${z1(o.XorHash)}`)}return e.push(")"),z(Hc(this,e.join("")),{body:c})}async addChunked(l,c,o){let e=await this.addUsingPath(l,null,o),r=d8(this,e.ServerRelativeUrl);return r.using(Oi(()=>{return b1(r).delete()})),r.setContentChunked(c,o)}async addTemplateFile(l,c){return z(Hc(this,`addTemplateFile(urloffile='${z1(l)}',templatefiletype=${c})`))}};c0([d7],v8.prototype,"addUsingPath",null);c0([d7],v8.prototype,"addChunked",null);c0([d7],v8.prototype,"addTemplateFile",null);v8=c0([N0("files")],v8);var Hc=X1(v8);class Vc extends nr{constructor(){super(...arguments);this.delete=$7()}get listItemAllFields(){return t2(this,"listItemAllFields")}get versions(){return y3(this)}async getLockedByUser(){let a=await UA(b1(this,"lockedByUser"));if(a["odata.null"]===!0)return null;else return a}approve(a=""){return z(b1(this,`approve(comment='${z1(a)}')`))}cancelUpload(a){return z(b1(this,`cancelUpload(uploadId=guid'${a}')`))}checkin(a="",l=vr.Major){if(a.length>1023)throw Error("The maximum comment length is 1023 characters.");return z(b1(this,`checkin(comment='${z1(a)}',checkintype=${l})`))}checkout(){return z(b1(this,"checkout"))}copyTo(a,l=!0){return z(b1(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 z(b1(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 z(b1(this,`publish(comment='${z1(a)}')`))}recycle(){return z(b1(this,"recycle"))}async deleteWithParams(a){return z(b1(this,"DeleteWithParameters"),U1({parameters:a}))}undoCheckout(){return z(b1(this,"undoCheckout"))}unpublish(a=""){if(a.length>1023)throw Error("The maximum comment length is 1023 characters.");return z(b1(this,`unpublish(comment='${z1(a)}')`))}async exists(){try{return(await b1(this).select("Exists")()).Exists}catch(a){return!1}}async setContent(a){return await z(b1(this,"$value"),{body:a,headers:{"X-HTTP-Method":"PUT"}}),b1(this)}async getItem(...a){let c=await this.listItemAllFields.select(...a)();return Object.assign(h2([this,T2(c)]),c)}async setContentChunked(a,l){let{progress:c,chunkSize:o=10485760}=ew(l),e=J7(),r=!0,t,h=0,Z=b1(this).using(Oi(()=>{return b1(Z).cancelUpload(e)})),v=rw(a).getReader(),n=new Uint8Array;while(t=await v.read()){if(t.value){let d=new Uint8Array(n.length+t.value.length);d.set(n),d.set(t.value,n.length),n=d}while(n.length>=o){let d=n.slice(0,o);if(n=n.slice(o),r)c({offset:h,stage:"starting",uploadId:e}),h=await z(b1(Z,`startUpload(uploadId=guid'${e}')`),{body:d}),r=!1;else c({offset:h,stage:"continue",uploadId:e}),h=await z(b1(Z,`continueUpload(uploadId=guid'${e}',fileOffset=${h})`),{body:d})}if(t.done){if(r)c({offset:h,stage:"starting",uploadId:e}),h=await z(b1(Z,`startUpload(uploadId=guid'${e}')`),{body:n}),r=!1,n=new Uint8Array;return c({offset:h,stage:"finishing",uploadId:e}),z(b1(Z,`finishUpload(uploadId=guid'${e}',fileOffset=${h})`),{body:n.length?n:""})}}}moveCopyImpl(a,l,c,o){let e=b1(this);return e.on.pre(b4(async(r,t,h)=>{let{ServerRelativeUrl:Z,["odata.id"]:i}=await b1(this).using(k3()).select("ServerRelativeUrl")(),v=new URL(n0(i));return r=E1(v.toString(),`/_api/SP.MoveCopyUtil.${o}(overwrite=@a1)?@a1=${c}`),t=U1({destPath:p7(U0(a)?a:`${v.protocol}//${v.host}${a}`),options:l,srcPath:p7(U0(Z)?Z:`${v.protocol}//${v.host}${Z}`)},t),[r,t,h]})),z(e).then(()=>eH(this,a))}}c0([d7],Vc.prototype,"copyByPath",null);c0([d7],Vc.prototype,"moveByPath",null);c0([d7],Vc.prototype,"setContentChunked",null);var b1=X1(Vc);function d8(a,l){return b1([a,n0(a.toUrl())],`_api/web/getFileByServerRelativePath(decodedUrl='${z1(l)}')`)}async function oH(a,l){let{WebFullUrl:c}=await b1(a).using(k3()).getContextInfo(l),{pathname:o}=new URL(l);return d8(b1([a,E1(c,"_api/web")]),decodeURIComponent(o))}async function eH(a,l){return(U0(l)?oH:d8)(a,l)}var an=class a extends d5{getById(l){return tH(this).concat(`(${l})`)}deleteAll(){return z(y3(this,"deleteAll"))}deleteById(l){return z(y3(this,`deleteById(vid=${l})`))}recycleByID(l){return z(y3(this,`recycleByID(vid=${l})`))}deleteByLabel(l){return z(y3(this,`deleteByLabel(versionlabel='${z1(l)}')`))}recycleByLabel(l){return z(y3(this,`recycleByLabel(versionlabel='${z1(l)}')`))}restoreByLabel(l){return z(y3(this,`restoreByLabel(versionlabel='${z1(l)}')`))}};an=c0([N0("versions")],an);var y3=X1(an);class rH extends nr{constructor(){super(...arguments);this.delete=rr()}}var tH=X1(rH),vr;(function(a){a[a.Minor=0]="Minor",a[a.Major=1]="Major",a[a.Overwrite=2]="Overwrite"})(vr||(vr={}));var ln;(function(a){a[a.None=0]="None",a[a.Overwrite=1]="Overwrite",a[a.AllowBrokenThickets=8]="AllowBrokenThickets",a[a.RetainEditorAndModifiedOnMove=2048]="RetainEditorAndModifiedOnMove"})(ln||(ln={}));var cn;(function(a){a[a.StandardPage=0]="StandardPage",a[a.WikiPage=1]="WikiPage",a[a.FormPage=2]="FormPage",a[a.ClientSidePage=3]="ClientSidePage"})(cn||(cn={}));function ew(a){return{progress:()=>null,...a}}function rw(a){if(Zw(a))return a.stream();else if(hw(a))return new ReadableStream({start(l){a.on("data",(c)=>{l.enqueue(c)}),a.on("end",()=>{l.close()})}});else if(iw(a))return new ReadableStream({start(l){l.enqueue(a),l.close()}});else if(nw(a))return a.readable;else return a}var tw=Symbol.toStringTag;function hw(a){return typeof a.on==="function"}function Zw(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[tw])||/^(Blob|File)$/.test(a.constructor.name))}function iw(a){return typeof a==="object"&&typeof a.length==="number"}function nw(a){return typeof a==="object"&&typeof a.readable==="object"}K0(n8,"files",Hc);K0(i8,"file",b1,"file");t0.prototype.getFileByServerRelativePath=function(a){return d8(this,a)};t0.prototype.getFileById=function(a){return b1(this,`getFileById('${a}')`)};t0.prototype.getFileByUrl=function(a){return b1(this,`getFileByUrl('${z1("!@p1::"+a)}')`)};K0(i8,"folder",J0);K0(Z8,"rootFolder",J0);K0(t0,"folders",uc);K0(t0,"rootFolder",J0);t0.prototype.getFolderByServerRelativePath=function(a){return Ac(this,a)};t0.prototype.getFolderById=function(a){return J0(this,`getFolderById('${a}')`)};K0(t0,"lists",_c);K0(t0,"siteUserInfoList",g0);K0(t0,"defaultDocumentLibrary",g0);K0(t0,"customListTemplates",P5,"getcustomlisttemplates");t0.prototype.getList=function(a){return g0(this,`getList('${z1(a)}')`)};t0.prototype.getCatalog=async function(a){let l=await v0(this,`getcatalog(${a})`).select("Id")();return g0([this,T2(l)])};function on(a,l){let c="_api/site",o=/(_api[/|\\](site|web))/i.exec(a);if((o===null||o===void 0?void 0:o.length)>0)a=n0(a),c=o[1];if((l===null||l===void 0?void 0:l.indexOf("_api"))<0)a=E1(a,c);return a}var E4=class a extends j0{constructor(l,c){if(typeof l==="string")l=on(l,c);else if(z0(l))l=[l[0],on(l[1],c)];else l=[l,on(l.toUrl(),c)];super(l,c)}get rootWeb(){return v0(this,"rootweb")}getChanges(l){let c=U1({query:l});return z(v0(this,"getchanges"),c)}async openWebById(l){let c=await z(a5(this,`openWebById('${l}')`));return{data:c,web:v0([this,n0(T2(c))])}}async getRootWeb(){let l=await this.rootWeb.select("Url")();return v0([this,l.Url])}async delete(){let l=await a5(this,"").select("Id")(),c=a5([this,this.parentUrl],"_api/SPSiteManager/Delete");await z(c,U1({siteId:l.Id}))}async getDocumentLibraries(l){let c=a5([this,this.parentUrl],"_api/sp.web.getdocumentlibraries(@v)");c.query.set("@v",`'${l}'`);let o=await c();return $1(o,"GetDocumentLibraries")?o.GetDocumentLibraries:o}async getWebUrlFromPageUrl(l){let c=a5([this,this.parentUrl],"_api/sp.web.getweburlfrompageurl(@v)");c.query.set("@v",`'${l}'`);let o=await c();return $1(o,"GetWebUrlFromPageUrl")?o.GetWebUrlFromPageUrl:o}async createCommunicationSite(l,c=1033,o=!1,e,r,t,h,Z,i){return this.createCommunicationSiteFromProps({Classification:t,Description:r,HubSiteId:Z,Lcid:c,Owner:i,ShareByEmailEnabled:o,SiteDesignId:h,Title:l,Url:e})}async createCommunicationSiteFromProps(l){let c={Classification:"",Description:"",HubSiteId:Mc,Lcid:1033,ShareByEmailEnabled:!1,SiteDesignId:Mc,WebTemplate:"SITEPAGEPUBLISHING#0",WebTemplateExtensionId:Mc,...l};return z(a5([this,n0(this.toUrl())],"/_api/SPSiteManager/Create"),U1({request:c}))}async exists(l){return z(a5([this,n0(this.toUrl())],"/_api/SP.Site.Exists"),U1({url:l}))}async createModernTeamSite(l,c,o,e,r,t,h,Z,i){return this.createModernTeamSiteFromProps({alias:c,classification:t,description:r,displayName:l,hubSiteId:Z,isPublic:o,lcid:e,owners:h,siteDesignId:i})}async createModernTeamSiteFromProps(l){let c=Object.assign({},{classification:"",description:"",hubSiteId:Mc,isPublic:!0,lcid:1033,owners:[]},l),o={alias:c.alias,displayName:c.displayName,isPublic:c.isPublic,optionalParams:{Classification:c.classification,CreationOptions:[`SPSiteLanguage:${c.lcid}`,`HubSiteId:${c.hubSiteId}`],Description:c.description,Owners:c.owners}};if(c.siteDesignId)o.optionalParams.CreationOptions.push(`implicit_formula_292aa8a00786498a87a5ca52d9f4214a_${c.siteDesignId}`);return z(a5([this,n0(this.toUrl())],"/_api/GroupSiteManager/CreateGroupEx").using(l8()),U1(o))}update(l){return BA(this,U1(l))}setSiteLogo(l){return z(B0([this,n0(this.toUrl())],"_api/siteiconmanager/setsitelogo"),U1(l))}};E4=c0([N0("_api/site")],E4);var a5=X1(E4),en;(function(a){a[a.WebLogo=0]="WebLogo",a[a.HubLogo=1]="HubLogo",a[a.HeaderBackground=2]="HeaderBackground",a[a.GlobalNavLogo=3]="GlobalNavLogo"})(en||(en={}));var rn;(function(a){a[a.Square=0]="Square",a[a.Rectangular=1]="Rectangular"})(rn||(rn={}));Reflect.defineProperty(O2.prototype,"site",{configurable:!0,enumerable:!0,get:function(){return this.create(a5)}});Reflect.defineProperty(O2.prototype,"web",{configurable:!0,enumerable:!0,get:function(){return this.create(v0)}});function p8(){return new URL(window.location.href).searchParams.get("web")??""}var hH=await Xu();function fc(a=""){let l=a?a:G4();if(!hH)return t8(l).using(ir());return t8(l).using(XA(hH))}function m7(a){return a.web.toUrl().replace("/_api/web","")}function ZH(){let l=p8()??G4();return fc(l)}async function dr(a,l,c){let o=[],[e,r]=a.web.batched();for(let t of l)e.getFileByUrl(`${S1}/${t}/${I0}`).getText().then((h)=>{let Z=tn(t);try{let i=JSON.parse(h);Z.manifest=i,Z.activated=c.includes(t),o.push(Z)}catch{o.push(Z)}}).catch(()=>{o.push(tn(t))});return await r(),o}var vw=["Forms"];async function m8(a,l){try{await cr(a);let c=a.web.lists.getByTitle(S1).rootFolder,o=await Zn(a),e=await s8(a);if(!o.some((r)=>r===l))await c.folders.addUsingPath(l),o.push(l);return s7.value=await dr(a,o,e.data.enabledAppCollections),s7.value.find((r)=>r.name===l)}catch(c){return c?.message}}async function iH(a,l){let o=a.web.lists.getByTitle(S1).rootFolder;try{let e=await o.folders.getByUrl(l)();await kA(a,W4.data.ServerRelativeUrl,l)}catch(e){s1(`Error while removing ${l} from ${S1} folder in ${m7(a)}`,e)}return!1}async function Zn(a){return await cr(a),(await a.web.lists.getByTitle(S1).rootFolder.folders()).filter((o)=>!vw.includes(o.Name)).map((o)=>o.Name)}async function pr(a,l){hn.value=!0,await s8(a);let c=m7(a),o=a.web.getFileByUrl(`${S1}/${e2}`);try{return await o.setContent(JSON.stringify(l)),!0}catch(e){return s1(`Error while updating ${e2} in ${S1} folder in ${c}`,e),!1}finally{hn.value=!1}}async function s8(a){let l=a.web.getFileByUrl(`${S1}/${e2}`),c=m7(a),o=await l.exists(),e={data:hc,error:"",isError:!1,warnings:[]};if(!o)return await cr(a),await a.web.lists.getByTitle(S1).rootFolder.files.addUsingPath(e2,JSON.stringify(hc)),k0(`Created ${e2} in ${S1} folder in ${c}`),e;try{let t=await(await l.getBlob()).text(),h=JSON.parse(t);if(!Array.isArray(h.enabledAppCollections)||!Array.isArray(h.urlMap)){let Z=`Invalid data inside ${e2} in ${S1} folder in ${c}, it should be an array`;return s1(Z),e.error=Z,e.isError=!0,e.data=hc,e}return e.data=h,e}catch(r){let t=`Error while parsing ${e2} in ${S1} folder in ${c}`;return s1(t,r),e.error=t,e.isError=!0,e.data=hc,e}}async function nH(a,l,c){if(c.some((t)=>t.indexOf("/")>-1))throw new Error("Nested path cannot contain /");let o=m7(a),e=a.web.getFolderByServerRelativePath(`${S1}/${l}`),r="";for(let t of c){if(r=`${r?`${r}/`:""}${t}`,!(await e.folders()).some((Z)=>Z.Name.toLowerCase()===t.toLowerCase()))k0(`Creating subfolder ${r} in ${S1}/${l} folder in ${o}`),await e.addSubFolderUsingPath(t);e=e.folders.getByUrl(t)}}var nn=class a extends d5{getById(l){return dH(this,`GetById?hubSiteId='${l}'`)}};nn=c0([N0("_api/hubsites")],nn);var vn=X1(nn);class vH extends j0{async getSite(){let a=await this.select("SiteUrl")();return a5([this,a.SiteUrl])}}var dH=X1(vH);E4.prototype.joinHubSite=async function(a){await z(a5(this,`joinHubSite('${a}')`))};E4.prototype.registerHubSite=async function(){await z(a5(this,"registerHubSite"))};E4.prototype.unRegisterHubSite=async function(){await z(a5(this,"unRegisterHubSite"))};t0.prototype.hubSiteData=async function(a=!1){let l=await v0(this,`hubSiteData(${a})`)();if(typeof l==="string")return JSON.parse(l);return l};t0.prototype.syncHubSiteTheme=function(){return z(v0(this,"syncHubSiteTheme"))};Reflect.defineProperty(O2.prototype,"hubSites",{configurable:!0,enumerable:!0,get:function(){return this.create(vn)}});function dn(a,l){let c=a.findIndex((Z)=>Z.isHubRoot&&Z.hubid===l);if(c<0)return;let o=a.splice(c,1)[0],e={...o,webs:[o]},r={...o,sites:[e],webs:[]},t=M8(a,r.siteId,l);e.webs.push(...t);let h=sr(a,l);return r.sites.push(...h),r.webs.push(...M8(a,r.siteId,l)),r}function mr(a){let l=Object.groupBy(a,(i)=>i.hubid),c=Object.keys(l).filter((i)=>i&&i!==X0),o=Object.keys(l).filter((i)=>!i||i===X0),e=c.map((i)=>l[i]??[]).flat(),r=o.map((i)=>l[i]??[]).flat(),t=[],h=[],Z=[];for(let i of c){let v=dn(e,i);if(!v)continue;t.push(v)}if(e.length>0)r.push(...e);return h.push(...sr(r)),Z.push(...r),{hubs:t,sites:h,webs:Z}}function sr(a,l){let c=[];function o(r){return l?r.isRootWeb&&r.hubid===l:r.isRootWeb}let e=a.findIndex(o);while(e>-1){let r=a.splice(e,1)[0],t=c.find((Z)=>Z.id===r.id);if(!t)t={...r,webs:[r]},c.push(t);let h=M8(a,r.siteId);t.webs.push(...h.sort((Z,i)=>Z.url.localeCompare(i.url))),e=a.findIndex(o)}return c}function M8(a,l,c){let o=[];function e(t){return c?t.siteId===l&&t.hubid===c:t.siteId===l}let r=a.findIndex(e);while(r>-1){let t=a.splice(r,1)[0];o.push(t),r=a.findIndex(e)}return o.sort((t,h)=>t.url.localeCompare(h.url))}function pH(a){let l=Object.groupBy(a,(r)=>r.sharepointIds.siteId),c=Object.keys(l),o=[];for(let r of c){let t=l[r];if(!t)continue;let h=t.sort((Z,i)=>Z.webUrl.localeCompare(i.webUrl));o.push({id:h[0].sharepointIds.webId,url:h[0].webUrl,siteId:h[0].sharepointIds.siteId,hubid:h[0].sharepointIds.hubSiteId,isHubRoot:h[0].sharepointIds.hubSiteId===h[0].sharepointIds.siteId,isRootWeb:!0})}return a.map((r)=>{return{id:r.sharepointIds.webId,url:r.webUrl,siteId:r.sharepointIds.siteId,hubid:r.sharepointIds.hubSiteId,isHubRoot:r.sharepointIds.hubSiteId===r.sharepointIds.siteId,isRootWeb:o.some((t)=>t.id===r.sharepointIds.webId),title:r.title,template:r.template.name}})}function Mr(a,l,c){return{id:a.Id,url:a.Url,siteId:l,hubid:c,isHubRoot:!1,isRootWeb:!1}}function _r(a,l,c){return a.map((o)=>{return Mr(o,l,c)})}async function dw(a){let l=await MH(a);if(l.isError)return s1("Unable to get web info",l.error),[];let c=await mn(l.data);return[...l.data,...c.filter((o)=>!o.isError).flatMap((o)=>o.data)]}async function mn(a){let l=[];for(let e of a){let r=fc(e.Url);l.push(MH(r))}let c=await Promise.all(l),o=c.filter((e)=>!e.isError&&e.data.length>0).flatMap((e)=>e.data);if(o.length>0)c.push(...await mn(o));return c.some((e)=>e.data.length>0||e.isError)?c:[]}async function mH(a,l=!1){let c=fc(a.origin+a.pathname),o={data:[],error:"",warnings:[],isError:!1};try{let e=await Mn(c);if(e.isError){let n=`Unable to get site info ${e.error}`;o.warnings.push(n),s1(n,a.href)}let r=await sn(c);if(r.isError){let n=`Unable to get root web info ${r.error}`;o.warnings.push(n),s1(n,a.href)}let t=await _n(c);if(t.isError){let n=`Unable to get web info ${t.error}`;return o.isError=!0,o.error=n,s1(n,a.href),o}if(!l||r.isError){let n=Mr(t.data,e.data?.Id??X0,e.data?.HubSiteId??X0);return n.isRootWeb=r.data?.Id===t.data.Id,n.isHubRoot=e.data?.IsHubSite&&r.data?.Id===t.data.Id,o.data.push(n),o}let h=fc(r.data.Url),Z=await dw(h),i=Mr(r.data,e.data?.Id??X0,e.data?.HubSiteId??X0),v=_r(Z,e.data?.Id??X0,e.data?.HubSiteId??X0);i.isRootWeb=!0,i.isHubRoot=e.data?.IsHubSite??!1,o.data.push(i),o.data.push(...v)}catch(e){o.isError=!0,o.error=`${e}`,s1("Unable to get web structure",a.href,e)}return o}async function ur(a){if(!Hr())return;let l=E2,c={hubid:X0,id:X0,url:"",siteId:X0,isHubRoot:!1,isRootWeb:!1,webs:[]};if(l.isError)return s1(`Unable to get site info ${l.error}`),c;let o=M7;if(o.isError)return s1(`Unable to get root web info ${o.error}`),c;let e=await pw(a);if(e.isError)return s1(`Unable to get root subweb info ${o.error}`),c;let r=await mn(e.data),t=_r(e.data,l.data.Id,l.data.HubSiteId),h=_r(r.filter((v)=>!v.isError).flatMap((v)=>v.data),l.data.Id,l.data.HubSiteId),Z=[...t,...h],i={hubid:l.data.HubSiteId,id:o.data.Id,url:o.data.Url,siteId:l.data.Id,isHubRoot:l.data.IsHubSite,isRootWeb:!0};return c={...i,webs:[i,...M8(Z,l.data.Id)]},c}async function Ar(a,l,c){if(!k5())return;if(!pn)return;let o=c??E2.data.HubSiteId,e=[];for await(let m of sH(a.web.toUrl().replace("_api/web",""),o))e.push(...m);let r={id:"",url:"",siteId:o,hubid:o,isHubRoot:!0,isRootWeb:!0,sites:[],webs:[]},t=pH(e),h=t.findIndex((m)=>m.hubid===o&&m.siteId===o),Z=h>-1?t.splice(h,1)[0]:void 0;if(!Z)b2("API Call did not return Hub ROOT",o),Z={id:M7.data.Id,url:M7.data.Url,hubid:o,siteId:o,isHubRoot:!0,isRootWeb:!0};r.id=Z.id,r.url=Z.url,r.hubid=Z.hubid,r.siteId=Z.siteId,r.sites.push({...Z,webs:[Z]});let i=M8(t,Z.siteId),v=r.sites.find((m)=>m.id===Z.id);if(v)v.webs.push(...i);else r.webs.push(...i);let n=sr(t);r.sites.push(...n),r.webs.push(...t);for(let m of pn.webs.sort((s,M)=>s.url.localeCompare(M.url)))if(r.sites.flatMap((s)=>s.webs).findIndex((s)=>s.id===m.id)===-1){let s=r.sites.findIndex((M)=>M.siteId===m.siteId);if(s<0){r.sites.push({id:m.id,url:m.url,hubid:m.hubid,siteId:m.siteId,isHubRoot:!1,isRootWeb:!0,webs:[m]});continue}r.sites[s].webs.push(m),r.sites[s].webs=r.sites[s].webs.sort((M,u)=>M.url.localeCompare(u.url))}let d=dn([...l],o);if(d){for(let m of d.sites){let s=r.sites.find((M)=>M.id===m.id);if(s){for(let M of m.webs)if(s.webs.find((A)=>A.id===M.id))continue;else s.webs.push(M);s.webs=s.webs.sort((M,u)=>M.url.localeCompare(u.url));continue}r.sites.push(m)}for(let m of d.webs)if(r.webs.find((M)=>M.id===m.id))continue;else r.webs.push(m)}let p=[];for(let m of r.webs){let s=r.sites.find((u)=>u.id===m.siteId);if(!s)continue;if(p.push({...m}),!s.webs.find((u)=>u.id===m.id))s.webs.push({...m}),s.webs=s.webs.sort((u,A)=>u.url.localeCompare(A.url))}return r.webs=r.webs.filter((m)=>p.findIndex((s)=>s.id===m.id)>-1),r.webs=r.webs.sort((m,s)=>m.url.localeCompare(s.url)),r}async function*sH(a,l,c=!0){let o=P5(a,c?"_api/v2.1/sites":"").using(ir());if(c)o.filter(`sharepointIds/hubSiteId eq '${l}'`).top(99);o.on.parse.replace(async(r,t,h)=>{let Z={"@odata.context":"",value:[],"@odata.nextLink":""};if(t.ok)try{return h=await t.json(),[r,t,h]}catch(i){return s1("Unable to parse hubdata response",r,i),[r,t,Z]}return s1("Error getting hubdata",r,t.statusText),[r,t,Z]});let e=await o();if(yield e.value,e["@odata.nextLink"])yield*sH(e["@odata.nextLink"],l,!1)}async function sn(a){return gc(()=>a.site.rootWeb(),{})}async function pw(a){return gc(()=>a.site.rootWeb.webs(),[])}async function Mn(a){return gc(()=>a.site(),{})}async function _n(a){return gc(()=>a.web(),{})}async function MH(a){return gc(()=>a.web.webs(),[])}async function gc(a,l){let c={data:l,error:"",warnings:[],isError:!1};try{let o=await a();c.data=o}catch(o){c.isError=!0,c.error=`${o}`}return c}var un=p8(),Vr=new URL(un?un:G4()),l0=ZH(),E2=await Mn(l0),M7=!E2.isError?await sn(l0):{data:{},warnings:[],error:"Unable to get root web since site is not available",isError:!0},W4=await _n(l0),W2=!un;function k5(){if(E2.isError||M7.isError||W4.isError)return!1;return E2.data.IsHubSite&&M7.data.Id===W4.data.Id}function An(){if(E2.isError)return!1;return E2.data.HubSiteId!==X0}function Hr(){if(M7.isError||W4.isError)return!1;return W4.data.Id===M7.data.Id}function _H(){if(E2.isError||M7.isError)return!0;return M7.data.Id!==W4.data.Id}var mw=await Zn(l0),uH=await s8(l0),sw=await dr(l0,mw,uH.data.enabledAppCollections),R0=q0(uH.data),hn=q0(!1),s7=q0(sw),L1=q0(),g1=q0(),Fc=q0();var pn=await ur(l0);v7(()=>{cA("Configuration",g1.value?.config)});function tn(a){return{name:a,manifest:tc,activated:!1}}function Hn(a){let l=T1(s7.value),c=l.findIndex((o)=>o.name===a.name);if(c>-1)l.splice(c,1,a);else l.push(a);s7.value=l}function Z2(a,l=!1){let c=T1(a);if(L1.value=c,l)Hn(c)}function fr(){if(W2)return"global";if(k5())return"hubRoot";if(An()&&!k5())return"hubChild";if(!An())return"nonHub";if(_H())return"subsite";return"other"}var Mw=i6({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 t1(a){let l=Mw(),c=[l.root],o={};if(a.horizontal)if(a.reversed)c.push(l.reversedHorizontal);else c.push(l.horizontal);else if(a.reversed)c.push(l.reversedVertical);else c.push(l.vertical);if(a.grow)o.flexGrow=a.grow;if(a.gap)o.gap=a.gap;return c.push(a.wrap?l.wrap:l.noWrap),_w(a,c,l),uw(a,c,l),/*@__PURE__*/_("div",{className:c.join(" "),style:{...o,...a.style},children:a.children},void 0,!1,void 0,this)}function _w(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 uw(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}}H5();var U3="global-toast-notification";function AH(){return/*@__PURE__*/_(D4,{toasterId:U3},void 0,!1,void 0,this)}function HH(){let[a,l]=Z1(""),c=K7(!1);async function o(Z,i){c.value=i.open}let{dispatchToast:e,updateToast:r}=R4(U3),t=(Z)=>{switch(Z){case"progress":e(/*@__PURE__*/_(w2,{children:/*@__PURE__*/_(S2,{media:/*@__PURE__*/_(E5,{size:"tiny"},void 0,!1,void 0,this),children:"Creating..."},void 0,!1,void 0,this)},void 0,!1,void 0,this),{toastId:U3,timeout:-1});break}};async function h(){if(!a)return;t("progress");let Z=await m8(l0,a);if(Z&&Z.name){r({content:/*@__PURE__*/_(w2,{children:/*@__PURE__*/_(S2,{children:"Application created."},void 0,!1,void 0,this)},void 0,!1,void 0,this),intent:"success",toastId:U3,timeout:2000}),c.value=!1;return}r({content:/*@__PURE__*/_(w2,{children:/*@__PURE__*/_(S2,{children:"Error occured. Please check console."},void 0,!1,void 0,this)},void 0,!1,void 0,this),intent:"error",toastId:U3,timeout:2000})}return/*@__PURE__*/_(R5,{open:c.value,surfaceMotion:null,modalType:"alert",onOpenChange:o,children:[/*@__PURE__*/_(W0,{disableButtonEnhancement:!0,children:/*@__PURE__*/_(D2,{appearance:"primary",icon:/*@__PURE__*/_(D6,{},void 0,!1,void 0,this),children:"Create collection"},void 0,!1,void 0,this)},void 0,!1,void 0,this),/*@__PURE__*/_(L2,{children:/*@__PURE__*/_(x2,{children:[/*@__PURE__*/_(C2,{action:/*@__PURE__*/_(W0,{disableButtonEnhancement:!0,action:"close",children:/*@__PURE__*/_(f1,{appearance:"subtle","aria-label":"close",icon:/*@__PURE__*/_(o7,{},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__*/_(R2,{style:{padding:"16px 0"},children:/*@__PURE__*/_(s5,{value:a,style:{width:"100%"},placeholder:"Enter application name",onChange:(Z,i)=>{l(i.value)}},void 0,!1,void 0,this)},void 0,!1,void 0,this),/*@__PURE__*/_(F2,{children:[/*@__PURE__*/_(W0,{disableButtonEnhancement:!0,action:"close",children:/*@__PURE__*/_(f1,{appearance:"secondary",children:"Close"},void 0,!1,void 0,this)},void 0,!1,void 0,this),/*@__PURE__*/_(f1,{appearance:"primary",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)}function VH({app:a,onChange:l}){return/*@__PURE__*/_(V0,{defaultChecked:a.activated,onChange:(c,o)=>{l?.(a,o.checked)}},void 0,!1,void 0,this)}H5();var Q7={SPFXEXT:"SPFXEXT_",SPFXEXT_CORE:"SPFXEXT"};function Aw(){return Object.keys(localStorage).some((a)=>a.indexOf(Q7.SPFXEXT)>-1&&Number(localStorage[a])>0)}function fH(a){return a.hostname.toLowerCase()==="localhost"}function gH(a){return Number(localStorage.getItem(`${Q7.SPFXEXT}${a}`))>0}var xc=Aw();function FH({app:a}){let[l,c]=Z1(localStorage.getItem(`${Q7.SPFXEXT}${a.name}`)??""),[o,e]=Z1(!1);return/*@__PURE__*/_(g2,{positioning:"after",open:o,children:[/*@__PURE__*/_(c2,{disableButtonEnhancement:!0,children:/*@__PURE__*/_(A4,{checked:gH(a.name),onChange:()=>{e(!o)}},void 0,!1,void 0,this)},void 0,!1,void 0,this),/*@__PURE__*/_(f2,{tabIndex:-1,children:[/*@__PURE__*/_(s5,{defaultValue:l,onChange:(r,t)=>{c(t.value)}},void 0,!1,void 0,this),/*@__PURE__*/_(f1,{appearance:"primary",onClick:()=>{localStorage.setItem(`${Q7.SPFXEXT}${a.name}`,l),e(!1)},children:"Save"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)}H5();async function Hw(a){try{Fc.value=T1(a),await iH(l0,a.name),s7.value=s7.value.filter((l)=>l.name!==a.name)}finally{Fc.value=void 0}}function xH({item:a}){let[l,c]=Z1(!1);function o(e,r){c(r.open)}return/*@__PURE__*/_(p1,{children:[/*@__PURE__*/_(T0,{disabled:Fc?.value?.name!==void 0,onClick:()=>{c(!0)},children:/*@__PURE__*/_("div",{style:{display:"flex"},children:[/*@__PURE__*/_(cM,{},void 0,!1,void 0,this),Fc.value?.name===a.name&&/*@__PURE__*/_(E5,{size:"extra-small"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this),/*@__PURE__*/_(R5,{open:l,surfaceMotion:null,modalType:"modal",onOpenChange:o,children:/*@__PURE__*/_(L2,{children:/*@__PURE__*/_(x2,{children:[/*@__PURE__*/_(C2,{children:["Delete ",a.name,"?"]},void 0,!0,void 0,this),/*@__PURE__*/_(R2,{children:[/*@__PURE__*/_(h7,{children:["Are you sure you want to delete app collection"," ",/*@__PURE__*/_("b",{children:a.name},void 0,!1,void 0,this),"?"]},void 0,!0,void 0,this),/*@__PURE__*/_("br",{},void 0,!1,void 0,this),/*@__PURE__*/_(h7,{children:["Deleting appcollection will result in deletion of all files in"," ",/*@__PURE__*/_(T0,{target:"_blank",onClick:()=>{window.open(`${Vr}/${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__*/_(F2,{children:[/*@__PURE__*/_(f1,{appearance:"primary",onClick:()=>{Hw(a),c(!1)},children:"Yes"},void 0,!1,void 0,this),/*@__PURE__*/_(W0,{disableButtonEnhancement:!0,children:/*@__PURE__*/_(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)}H5();function _8(a,l,c="86px"){return/*@__PURE__*/_(Y0,{size:"medium",color:a,style:{width:c},children:l},void 0,!1,void 0,this)}function G3({webs:a,control:l,onDeleteClick:c,additionalIcon:o,disableControl:e}){if(a.length===0)return null;function r(h,Z){if(!g1.value)return;let i=T1(g1.value),v=i.config.excludedIds.filter((m)=>h.id!==m),n=i.config.excludedHubIds.filter((m)=>h.id!==m),d=i.config.includedIds.filter((m)=>h.id!==m),p=i.config.includedHubIds.filter((m)=>h.id!==m);if(!i.config.enabledEverywhere&&Z)d.push(h.id);if(i.config.enabledEverywhere&&!Z)v.push(h.id);i.config.excludedIds=v,i.config.excludedHubIds=n,i.config.includedIds=d,i.config.includedHubIds=p,g1.value=i}function t(h){if(!g1.value)return!1;if(g1.value.config.enabledEverywhere)return!g1.value.config.excludedIds.includes(h.id);return g1.value.config.includedIds.includes(h.id)}return/*@__PURE__*/_(p1,{children:a.map((h)=>/*@__PURE__*/_(t1,{horizontal:!0,horizontalAlign:"space-between",verticalAlign:"center",style:{minHeight:"36px"},children:[/*@__PURE__*/_(t1,{horizontal:!0,gap:8,verticalAlign:"center",children:[o,_8(void 0,"Web","64px"),/*@__PURE__*/_(o2,{children:`${h.url}`},void 0,!1,void 0,this)]},void 0,!0,void 0,this),l==="switch"?/*@__PURE__*/_(V0,{disabled:e,onChange:(Z,i)=>{r(h,i.checked)},checked:t(h)},void 0,!1,void 0,this):/*@__PURE__*/_(f1,{onClick:()=>c?.({item:h,itemType:"web"}),icon:/*@__PURE__*/_(d3,{},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 u8({siteCollections:a,control:l,onDeleteClick:c,additionalIcon:o,disableControl:e}){function r(t,h){if(!g1.value)return;let Z=T1(g1.value),i=Z.config.excludedIds.filter((n)=>!t.webs.some((d)=>d.id===n)&&t.siteId!==n),v=Z.config.includedIds.filter((n)=>!t.webs.some((d)=>d.id===n)&&t.siteId!==n);if(!Z.config.enabledEverywhere&&h)v.push(t.siteId);if(Z.config.enabledEverywhere&&!h)i.push(t.siteId);Z.config.excludedIds=i,Z.config.includedIds=v,g1.value=Z}return/*@__PURE__*/_(p1,{children:a.map((t)=>/*@__PURE__*/_(t1,{children:[/*@__PURE__*/_(t1,{horizontal:!0,style:{minHeight:"36px"},verticalAlign:"center",horizontalAlign:"space-between",children:[/*@__PURE__*/_(t1,{horizontal:!0,verticalAlign:"center",gap:8,children:[_8("warning","Site"),t.url]},void 0,!0,void 0,this),l==="switch"?/*@__PURE__*/_(V0,{checked:(g1.value?.config?.enabledEverywhere||g1.value?.config?.includedIds?.includes(t.siteId))&&!g1.value?.config?.excludedIds?.includes(t.siteId),disabled:e,onChange:(h,Z)=>{r(t,Z.checked)}},void 0,!1,void 0,this):/*@__PURE__*/_(f1,{onClick:()=>c?.({item:t,itemType:"site"}),icon:/*@__PURE__*/_(d3,{},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this),/*@__PURE__*/_(G3,{webs:t.webs,control:l,onDeleteClick:c,additionalIcon:o,disableControl:e||g1.value?.config.excludedIds.includes(t.siteId)||g1.value?.config.includedIds.includes(t.siteId)},void 0,!1,void 0,this)]},void 0,!0,void 0,this))},void 0,!1,void 0,this)}function gr({hubSites:a,onDeleteClick:l,control:c}){function o(e,r){if(!g1.value)return;let t=T1(g1.value);function h(d){let p=!e.webs.some((u)=>u.id===d||u.hubid===d),m=!e.sites.some((u)=>u.id===d||u.hubid===d),s=!e.sites.some((u)=>u.webs.some((A)=>A.id===d||A.hubid===d)),M=e.hubid!==d&&e.siteId!==d;return p&&m&&s&&M}let Z=t.config.excludedIds.filter(h),i=t.config.excludedHubIds.filter(h),v=t.config.includedIds.filter(h),n=t.config.includedHubIds.filter(h);if(!t.config.enabledEverywhere&&r)n.push(e.hubid);if(t.config.enabledEverywhere&&!r)i.push(e.hubid);t.config.excludedIds=Z,t.config.excludedHubIds=i,t.config.includedIds=v,t.config.includedHubIds=n,g1.value=t}return/*@__PURE__*/_(p1,{children:a.map((e)=>/*@__PURE__*/_(t1,{children:[/*@__PURE__*/_(t1,{horizontal:!0,verticalAlign:"center",horizontalAlign:"space-between",children:[/*@__PURE__*/_(t1,{horizontal:!0,gap:8,verticalAlign:"center",style:{height:"36px"},children:[_8("success","Hub"),e.url]},void 0,!0,void 0,this),c==="switch"?/*@__PURE__*/_(V0,{checked:(g1.value?.config?.enabledEverywhere||g1.value?.config?.includedHubIds?.includes(e.hubid))&&!g1.value?.config?.excludedHubIds?.includes(e.hubid),onChange:(r,t)=>{o(e,t.checked)}},void 0,!1,void 0,this):/*@__PURE__*/_(f1,{onClick:()=>l?.({item:e,itemType:"hub"}),icon:/*@__PURE__*/_(d3,{},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this),/*@__PURE__*/_(u8,{control:c,siteCollections:e.sites,onDeleteClick:l,additionalIcon:/*@__PURE__*/_(R6,{},void 0,!1,void 0,this),disableControl:g1.value?.config.excludedHubIds.includes(e.hubid)||g1.value?.config.includedHubIds.includes(e.hubid)},void 0,!1,void 0,this),/*@__PURE__*/_(G3,{control:c,webs:e.webs,onDeleteClick:l,additionalIcon:/*@__PURE__*/_(Go,{},void 0,!1,void 0,this),disableControl:g1.value?.config.excludedHubIds.includes(e.hubid)||g1.value?.config.includedHubIds.includes(e.hubid)},void 0,!1,void 0,this)]},void 0,!0,void 0,this))},void 0,!1,void 0,this)}H5();var Vw={invalid:{message:"Invalid URL"},duplicate:{message:"URL already exists"}};function CH(a){let l;if(!(a.toLowerCase().startsWith(window.location.origin.toLowerCase())||a.startsWith("/")))l=Vw.invalid;return{urlInput:a,error:l}}function LH(){let[a,l]=Z1(""),[c,o]=Z1(""),[e,r]=Z1(!1);async function t(){if(!c)return;let h=CH(c);if(h.error){l(h.error.message);return}let Z=c.startsWith("/")?new URL(c,window.location.origin):new URL(c);r(!0);let i=await mH(Z,!0);if(r(!1),i.isError){l(i.error);return}if(k5()){if(!i.data.every((n)=>n.hubid===E2.data.HubSiteId)){l("You can only add child hub sites when configuring a hub root.");return}}let v=T1(R0.value);v.urlMap=v.urlMap.filter((n)=>{return!i.data.some((d)=>d.id===n.id)}),v.urlMap.push(...i.data),R0.value=v,l(""),o("")}return/*@__PURE__*/_(t1,{style:{padding:"8px 24px",width:"100%"},gap:8,children:[/*@__PURE__*/_(w4,{intent:"info",children:/*@__PURE__*/_(S4,{children:"Add site collections and hub child sites."},void 0,!1,void 0,this)},void 0,!1,void 0,this),/*@__PURE__*/_(t1,{horizontal:!0,gap:8,children:[/*@__PURE__*/_(s5,{style:{width:"100%"},onChange:(h,Z)=>{o(Z.value)},onKeyDown:(h)=>{if(h.key==="Enter")t()},onFocus:()=>{l("")},value:c,placeholder:"Site/Web URL"},void 0,!1,void 0,this),/*@__PURE__*/_(f1,{disabled:!c||e,onClick:()=>t(),icon:e?/*@__PURE__*/_(E5,{size:"tiny"},void 0,!1,void 0,this):/*@__PURE__*/_(D6,{},void 0,!1,void 0,this),children:"Add"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),a?/*@__PURE__*/_(o2,{style:{color:u2.colorPaletteRedForeground1},children:a},void 0,!1,void 0,this):null]},void 0,!0,void 0,this)}var A8=q0(!1);function RH(){let a=U7(),[l,c]=Z1(!1),[o,e]=Z1(!1),[r,t]=Z1(R0.value),[h,Z]=Z1([]),[i,v]=Z1([]),[n,d]=Z1([]);I5(()=>{if(!R0.value)return;if(!r){t(R0.value);return}let s=JSON.stringify(R0.value),M=JSON.stringify(r);t(R0.value),e(s!==M)}),I5(()=>{if(!R0.value)return;if(W2){let s=mr(R0.value.urlMap);Z(s.hubs),v(s.sites),d(s.webs);return}if(!W2&&k5())Ar(l0,R0.value.urlMap).then((s)=>{if(s)Z([s])})});function p(s){if(!R0.value)return;let M=T1(R0.value);if(s.itemType==="hub")M.urlMap=M.urlMap.filter((u)=>u.hubid!==s.item.hubid);if(s.itemType==="site")M.urlMap=M.urlMap.filter((u)=>u.siteId!==s.item.siteId);if(s.itemType==="web")M.urlMap=M.urlMap.filter((u)=>u.id!==s.item.id);R0.value=M}async function m(){if(!R0.value)return;c(!0);try{await pr(l0,R0.value)}finally{c(!1),e(!1),A8.value=!1}}return/*@__PURE__*/_(k2,{...a,separator:!0,open:A8.value,onOpenChange:()=>{},position:"end",size:"large",children:[/*@__PURE__*/_(U2,{children:/*@__PURE__*/_(G2,{action:/*@__PURE__*/_(f1,{appearance:"subtle","aria-label":"Close",icon:/*@__PURE__*/_(o7,{},void 0,!1,void 0,this),onClick:()=>{A8.value=!1}},void 0,!1,void 0,this),children:"Manage sites"},void 0,!1,void 0,this)},void 0,!1,void 0,this),/*@__PURE__*/_(y2,{children:/*@__PURE__*/_(p1,{children:[/*@__PURE__*/_(LH,{},void 0,!1,void 0,this),/*@__PURE__*/_(t1,{gap:12,children:[h.length>0?/*@__PURE__*/_(p1,{children:[/*@__PURE__*/_(n5,{children:"Hub sites"},void 0,!1,void 0,this),/*@__PURE__*/_(T5,{},void 0,!1,void 0,this),/*@__PURE__*/_(t1,{children:/*@__PURE__*/_(gr,{hubSites:h,control:"delete",onDeleteClick:p},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this):null,i.length>0?/*@__PURE__*/_(p1,{children:[/*@__PURE__*/_(n5,{children:"Site collections"},void 0,!1,void 0,this),/*@__PURE__*/_(T5,{},void 0,!1,void 0,this),/*@__PURE__*/_(t1,{children:/*@__PURE__*/_(u8,{siteCollections:i,control:"delete",additionalIcon:/*@__PURE__*/_(R6,{},void 0,!1,void 0,this),onDeleteClick:p},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this):null,n.length>0?/*@__PURE__*/_(p1,{children:[/*@__PURE__*/_(n5,{children:"Webs"},void 0,!1,void 0,this),/*@__PURE__*/_(T5,{},void 0,!1,void 0,this),/*@__PURE__*/_(t1,{children:/*@__PURE__*/_(G3,{webs:n,control:"delete",onDeleteClick:p},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__*/_(q7,{children:/*@__PURE__*/_(t1,{horizontal:!0,gap:8,horizontalAlign:"center",children:[/*@__PURE__*/_(f1,{appearance:"secondary",onClick:()=>{A8.value=!1},children:"Cancel"},void 0,!1,void 0,this),/*@__PURE__*/_(f1,{disabled:!o||l,appearance:"primary",onClick:()=>{m()},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 fw(a,l){let c=await s8(l0),o=c.data.enabledAppCollections.includes(a.name);if(l!==o){if(l)c.data.enabledAppCollections.push(a.name);else c.data.enabledAppCollections.splice(c.data.enabledAppCollections.indexOf(a.name),1);await pr(l0,c.data)}a.activated=l,Hn(a)}var gw=[{columnId:"name",text:"App Collection"},{columnId:"enabled",text:"Enabled"},{columnId:"InDebug",text:"In Debug"},{columnId:"Delete",text:""}];function DH(a){if(L1.value)return null;return/*@__PURE__*/_(t1,{gap:16,children:[/*@__PURE__*/_(f4,{children:/*@__PURE__*/_(t1,{gap:8,horizontal:!0,children:[/*@__PURE__*/_(HH,{},void 0,!1,void 0,this),W2||k5()?/*@__PURE__*/_(D2,{appearance:"secondary",onClick:()=>{A8.value=!0},icon:/*@__PURE__*/_(nM,{},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__*/_(F4,{children:[/*@__PURE__*/_(x4,{children:/*@__PURE__*/_(F3,{children:gw.map((l)=>/*@__PURE__*/_(L4,{children:l.text},l.columnId,!1,void 0,this))},void 0,!1,void 0,this)},void 0,!1,void 0,this),/*@__PURE__*/_(g4,{children:s7.value.map((l)=>/*@__PURE__*/_(F3,{children:[/*@__PURE__*/_(i7,{children:/*@__PURE__*/_(n7,{media:/*@__PURE__*/_($s,{},void 0,!1,void 0,this),children:/*@__PURE__*/_(T0,{onClick:()=>{L1.value=T1(l)},children:l.name},void 0,!1,void 0,this)},void 0,!1,void 0,this)},void 0,!1,void 0,this),/*@__PURE__*/_(i7,{children:/*@__PURE__*/_(n7,{children:/*@__PURE__*/_(VH,{app:l,onChange:fw},void 0,!1,void 0,this)},void 0,!1,void 0,this)},void 0,!1,void 0,this),/*@__PURE__*/_(i7,{children:/*@__PURE__*/_(n7,{children:/*@__PURE__*/_(FH,{app:l},void 0,!1,void 0,this)},void 0,!1,void 0,this)},void 0,!1,void 0,this),/*@__PURE__*/_(i7,{children:/*@__PURE__*/_(n7,{children:/*@__PURE__*/_(xH,{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)}H5();async function Fw(a,l){let c=m7(a),o=a.web.getFileByUrl(`${S1}/${l}/${I0}`),e=await o.exists(),r={data:tc,error:"",isError:!1,warnings:[]};if(!e)return await m8(a,l),await a.web.lists.getByTitle(S1).rootFolder.folders.getByUrl(l).files.addUsingPath(I0,JSON.stringify(tc)),k0(`Created ${I0} in ${S1}/${l} folder in ${c}`),r;try{let h=await(await o.getBlob()).text(),Z=JSON.parse(h);return r.data=Z,r}catch(t){let h=`Error while parsing ${I0} in ${S1}/${l} folder in ${c}`;return s1(h,t),r.error=h,r.isError=!0,r}}async function wH(a,l,c){await Fw(a,l);let o=a.web.getFileByUrl(`${S1}/${l}/${I0}`);try{return await o.setContent(JSON.stringify(xw(c))),!0}catch(e){let r=m7(a);return s1(`Error while updating ${I0} in ${S1}/${l} folder in ${r}`,e),!1}}function xw(a){if(!a.appDefinitionMap)a.appDefinitionMap=[];if(!a.appRelativeEntryPointUrls)a.appRelativeEntryPointUrls=[];if(a.isESM===void 0)a.isESM=!1;return a}var Cw=i6({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 SH(a){let l=Cw(),c=[l.root],o={};if(a.disableShrink)c.push(l.disableShrink);else if(a.shrink)o.flexShrink=a.shrink;if(a.grow)o.flexGrow=a.grow;if(a.basis)o.flexBasis=a.basis;if(Lw(a,c,l),a.className)c.push(a.className);return/*@__PURE__*/_("div",{className:c.join(" "),style:{...o},children:a.children},void 0,!1,void 0,this)}function Lw(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 kH(a,l=0){let o=(/*@__PURE__*/new TextEncoder()).encode(a),e=await window.crypto.subtle.digest("SHA-1",o),t=Array.from(new Uint8Array(e)).map((h)=>h.toString(16).padStart(2,"0")).join("");return l>0?t.substring(0,l):t}var gn=(a,l)=>l.some((c)=>a instanceof c),yH,UH;function Rw(){return yH||(yH=[IDBDatabase,IDBObjectStore,IDBIndex,IDBCursor,IDBTransaction])}function Dw(){return UH||(UH=[IDBCursor.prototype.advance,IDBCursor.prototype.continue,IDBCursor.prototype.continuePrimaryKey])}var Fn=/*@__PURE__*/new WeakMap,Vn=/*@__PURE__*/new WeakMap,Fr=/*@__PURE__*/new WeakMap;function ww(a){let l=new Promise((c,o)=>{let e=()=>{a.removeEventListener("success",r),a.removeEventListener("error",t)},r=()=>{c(B3(a.result)),e()},t=()=>{o(a.error),e()};a.addEventListener("success",r),a.addEventListener("error",t)});return Fr.set(l,a),l}function Sw(a){if(Fn.has(a))return;let l=new Promise((c,o)=>{let e=()=>{a.removeEventListener("complete",r),a.removeEventListener("error",t),a.removeEventListener("abort",t)},r=()=>{c(),e()},t=()=>{o(a.error||new DOMException("AbortError","AbortError")),e()};a.addEventListener("complete",r),a.addEventListener("error",t),a.addEventListener("abort",t)});Fn.set(a,l)}var xn={get(a,l,c){if(a instanceof IDBTransaction){if(l==="done")return Fn.get(a);if(l==="store")return c.objectStoreNames[1]?void 0:c.objectStore(c.objectStoreNames[0])}return B3(a[l])},set(a,l,c){return a[l]=c,!0},has(a,l){if(a instanceof IDBTransaction&&(l==="done"||l==="store"))return!0;return l in a}};function OH(a){xn=a(xn)}function kw(a){if(Dw().includes(a))return function(...l){return a.apply(Cn(this),l),B3(this.request)};return function(...l){return B3(a.apply(Cn(this),l))}}function yw(a){if(typeof a==="function")return kw(a);if(a instanceof IDBTransaction)Sw(a);if(gn(a,Rw()))return new Proxy(a,xn);return a}function B3(a){if(a instanceof IDBRequest)return ww(a);if(Vn.has(a))return Vn.get(a);let l=yw(a);if(l!==a)Vn.set(a,l),Fr.set(l,a);return l}var Cn=(a)=>Fr.get(a);function TH(a,l,{blocked:c,upgrade:o,blocking:e,terminated:r}={}){let t=indexedDB.open(a,l),h=B3(t);if(o)t.addEventListener("upgradeneeded",(Z)=>{o(B3(t.result),Z.oldVersion,Z.newVersion,B3(t.transaction),Z)});if(c)t.addEventListener("blocked",(Z)=>c(Z.oldVersion,Z.newVersion,Z));return h.then((Z)=>{if(r)Z.addEventListener("close",()=>r());if(e)Z.addEventListener("versionchange",(i)=>e(i.oldVersion,i.newVersion,i))}).catch(()=>{}),h}function EH(a,{blocked:l}={}){let c=indexedDB.deleteDatabase(a);if(l)c.addEventListener("blocked",(o)=>l(o.oldVersion,o));return B3(c).then(()=>{return})}var Uw=["get","getKey","getAll","getAllKeys","count"],Gw=["put","add","delete","clear"],fn=/*@__PURE__*/new Map;function GH(a,l){if(!(a instanceof IDBDatabase&&!(l in a)&&typeof l==="string"))return;if(fn.get(l))return fn.get(l);let c=l.replace(/FromIndex$/,""),o=l!==c,e=Gw.includes(c);if(!(c in(o?IDBIndex:IDBObjectStore).prototype)||!(e||Uw.includes(c)))return;let r=async function(t,...h){let Z=this.transaction(t,e?"readwrite":"readonly"),i=Z.store;if(o)i=i.index(h.shift());return(await Promise.all([i[c](...h),e&&Z.done]))[0]};return fn.set(l,r),r}OH((a)=>({...a,get:(l,c,o)=>GH(l,c)||a.get(l,c,o),has:(l,c)=>!!GH(l,c)||a.has(l,c)}));var Bw=["continue","continuePrimaryKey","advance"],BH={},Ln=/*@__PURE__*/new WeakMap,WH=/*@__PURE__*/new WeakMap,bw={get(a,l){if(!Bw.includes(l))return a[l];let c=BH[l];if(!c)c=BH[l]=function(...o){Ln.set(this,WH.get(this)[l](...o))};return c}};async function*Ow(...a){let l=this;if(!(l instanceof IDBCursor))l=await l.openCursor(...a);if(!l)return;l=l;let c=new Proxy(l,bw);WH.set(c,l),Fr.set(c,Cn(l));while(l)yield c,l=await(Ln.get(c)||l.continue()),Ln.delete(c)}function bH(a,l){return l===Symbol.asyncIterator&&gn(a,[IDBIndex,IDBObjectStore,IDBCursor])||l==="iterate"&&gn(a,[IDBIndex,IDBObjectStore])}OH((a)=>({...a,get(l,c,o){if(bH(l,c))return Ow;return a.get(l,c,o)},has(l,c){return bH(l,c)||a.has(l,c)}}));var j1={AppFolderManifestCache:"AppFolderManifestCache",AppCollectionManifestCache:"AppCollectionManifestCache",AllowedApps:"AllowedApps",HubSiteData:"HubSiteData",SPFxExtensionConfig:"SPFxExtensionConfig"},IH=`${Q7.SPFXEXT}COREDB`,PH=TH(IH,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,o,e){if(l===0)a.createObjectStore(j1.AppFolderManifestCache,{keyPath:"url"}),a.createObjectStore(j1.AppCollectionManifestCache,{keyPath:"url"}),a.createObjectStore(j1.AllowedApps,{keyPath:"Id"}),a.createObjectStore(j1.HubSiteData,{keyPath:"SiteId"}),a.createObjectStore(j1.SPFxExtensionConfig,{keyPath:"Title"})}});PH.catch((a)=>{throw s1("Error opening database for Core, please contact your administrator."),EH(IH).then(()=>{window.location.reload()}),a});var l5=await PH;function H8(a){let l=/*@__PURE__*/new Date;return l.setMinutes(l.getMinutes()+a),{expires:l.toISOString()}}async function V8(a,l){let c=await l5.getAll(a),o=/*@__PURE__*/new Date,e=c.filter((t)=>{let h=new Date(t.expires);return o>=h}),r=e.length;if(r>0){let t=l5.transaction(a,"readwrite"),h=t.objectStore(a);e.forEach((Z)=>h.delete(Z[l])),await t.done,b2(`Evicted ${r} items from ${a} cache.`)}return r}async function Rn(){return await V8(j1.SPFxExtensionConfig,"Title"),l5.getAll(j1.SPFxExtensionConfig)}async function b3(a){return await V8(j1.SPFxExtensionConfig,"Title"),l5.get(j1.SPFxExtensionConfig,a)}async function I2(a,l=60){await l5.put(j1.SPFxExtensionConfig,{...a,...H8(l)})}function qH(a,l){let c=l5.transaction(j1.SPFxExtensionConfig,"readwrite"),o=c.objectStore(j1.SPFxExtensionConfig);return a.forEach((e)=>o.put({...e,...H8(l)})),c.done}async function zH(){return l5.getAll(j1.AllowedApps)}async function Dn(a){return l5.get(j1.AppFolderManifestCache,a)}async function wn(a){return l5.get(j1.AppCollectionManifestCache,a)}async function jg1(a){return l5.get(j1.HubSiteData,a)}async function Ng1(a,l=60){await l5.put(j1.HubSiteData,{...a,...H8(l)})}async function Tw(a,l=60){await l5.put(j1.AppCollectionManifestCache,{...a,...H8(l)})}async function Ew(a,l=60){await l5.put(j1.AppFolderManifestCache,{...a,...H8(l)})}async function KH(a,l=5){let c=H8(l),o=l5.transaction(j1.AllowedApps,"readwrite"),e=o.objectStore(j1.AllowedApps);return a.forEach((r)=>e.put({...c,...r})),o.done}function Ww(a){return l5.delete(j1.AppCollectionManifestCache,a)}function Iw(a){return l5.delete(j1.AppFolderManifestCache,a)}async function Pw(){return V8(j1.AppCollectionManifestCache,"url")}async function qw(){return V8(j1.AppFolderManifestCache,"url")}async function JH(){return V8(j1.AllowedApps,"Id")}async function aF1(){return V8(j1.HubSiteData,"SiteId")}async function $H(a){if(a){let l=await Dn(a.url);if(l){if(l.hash!==a.hash){await Iw(a.url);let c=a.url.toLowerCase().replace(`/${I0}`,"");await xr([c],!1),b2(`Evicted ${I0} ${l.url} from cache. Because of hash mismatch.`)}}}return qw()}async function QH(a){if(a){let l=await wn(a.url);if(l){if(l.hash!==a.hash)await Ww(a.url),await xr([a.url],!1),b2(`Evicted ${e2} ${l.url} from cache. Because of hash mismatch.`)}}return Pw()}async function lF1(a){if(await $H(),xc)return;return Dn(a)}async function cF1(a,l){await $H(a);let c=await Dn(a.url);if(c&&c.hash===a.hash&&!xc)return;await Ew(a,l)}async function oF1(a,l){await QH(a);let c=await wn(a.url);if(c&&c.hash===a.hash&&!xc)return;await Tw(a,l)}async function eF1(a){if(await QH(),xc)return;return wn(a)}var Sn=/*@__PURE__*/new Map;async function YH(a,l=!1){let c="";if(Sn.has(a)&&!l)c=Sn.get(a)||"";if(c)return c;let o=await fetch(`${a}/_api/contextinfo`,{method:"POST",headers:{Accept:"application/json;odata=verbose","Content-Type":"application/json"}});if(o.status===200){let r=(await o.json()).d.GetContextWebInformation.FormDigestValue;return Sn.set(a,r),r}else s1("Error while getting digest",o.status);return""}var kn=(a)=>{},Cr;async function Lr(a=""){if(Cr)return Cr;Cr=new Promise((l)=>{kn=l});try{let o=(await(await fetch(`${a}/_api/SP_TenantSettings_Current`,{headers:{Accept:"application/json;odata=verbose"}})).json()).d.CorporateCatalogUrl;kn(o)}catch(l){s1("Error while getting app catalog url. Trying default /sites/appcatalog",l);let c=`${window.location.origin}/sites/appcatalog`;kn(c)}return Cr}async function XH(a=""){let l=await b3("AppCatalogUrl");if(l?.Data)return l.Data;let c=await Lr(a);return await I2({Title:"AppCatalogUrl",Data:c,date:"",expires:""},240),c}async function y5(a=""){let c=`${await XH()}${a?`/${a}`:""}`;return YH(c)}var zw=await XH(),d0=`${zw}/${C0}`;var NH={Status:"Status",RootCDNLocation:"RootCDNLocation",InterceptHistory:"InterceptHistory",EnableAppWhiteList:"EnableAppWhiteList",AppCatalogUrl:"AppCatalogUrl",SPFxDataSite:"SPFxDataSite",ConfiguratorPageData:"ConfiguratorPageData",AppWhiteList:"AppWhiteList",Version:"2025-08-06T21:59:15.673Z"},jH=[{Title:"Status",Data:"Installed"},{Title:"InterceptHistory",Data:"true"},{Title:"EnableAppWhiteList",Data:"false"},{Title:"RootCDNLocation",Data:`/sites/appcatalog/${C0}`}];function aV(a){let l=jH.find((c)=>c.Title==="RootCDNLocation");if(l)l.Data=a;return jH}var Kw=Object.keys(NH).length,Rr;async function Jw(){let a=`${d0}/_api/web/lists/GetByTitle('${Y6}')/fields`;try{let l=await fetch(a,{headers:{Accept:"application/json;odata=verbose"}});if(l.status===200){let o=(await l.json()).d.results,e=o.map((t)=>t.InternalName),r=o.find((t)=>t.InternalName==="Title");if(!r){s1("Title field not found.");return}if(!r.EnforceUniqueValues){let t=await y5(C0);if((await fetch(`${d0}/_api/web/lists/GetByTitle('${Y6}')/fields('${r.Id}')`,{method:"POST",headers:{Accept:"application/json;odata=verbose","Content-Type":"application/json;odata=verbose","X-RequestDigest":t,"X-HTTP-Method":"MERGE","If-Match":"*"},body:JSON.stringify({__metadata:{type:"SP.Field"},Indexed:!0,EnforceUniqueValues:!0})})).status===204)k0("Title field updated successfully.");else s1("Unable to update Title field.")}if(!e.includes("Data")){let t=await y5(C0);if((await fetch(a,{method:"POST",headers:{Accept:"application/json;odata=verbose","Content-Type":"application/json;odata=verbose","X-RequestDigest":t},body:JSON.stringify({__metadata:{type:"SP.Field"},Title:"Data",FieldTypeKind:2,Required:!0})})).status===201)k0("Data field added successfully.");else s1("Unable to add Data field.")}}}catch(l){s1("Error while ensuring configuration list data fields.",l)}}async function $w(){let a=!1;try{if(a=(await fetch(`${d0}/_api/web/lists/GetByTitle('${Y6}')`)).status===404,a){let c=await y5(C0);if(k0("Creating configuration list."),(await fetch(`${d0}/_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)k0("Configuration list created successfully.");else s1("Unable to create configuration list.")}await Jw()}catch(l){s1("Error while ensuring configuration list.",l)}return a}async function lV(){let a=`${d0}/_api/web/lists/GetByTitle('${Y6}')/items?$select=Title,Data`,c=await fetch(a,{...{headers:{Accept:"application/json;odata=verbose"}}});if(c.status!==200)return s1("Unable to fetch configuration list items."),[];return(await c.json()).d.results}async function Qw(){let a=await y5(C0);for(let l of aV(d0))if((await fetch(`${d0}/_api/web/lists/GetByTitle('${Y6}')/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)k0(`Item ${l.Title} added successfully.`);else s1(`Unable to add item ${l.Title}.`)}function cV(a=!1){if(a)return lV();if(Rr)return Rr;return Rr=Yw(),Rr}async function Yw(){let a=await Rn();if(a.length<Kw){if(await $w())await Qw();let c=await lV();await qH(c,240),a=await Rn()}return a}async function Xw(a){let l=await Lr(),c=await y5(),o=await fetch(`${l}/_api/web/webs/add`,{method:"POST",headers:{Accept:"application/json;odata=nometadata","Content-Type":"application/json","X-RequestDigest":c},body:JSON.stringify({parameters:{Description:"Site that stores SPFxExtensions Data and global apps",Language:1033,Title:"SPFxExtensions Data",Url:a,UseSamePermissionsAsParentSite:!0,WebTemplate:"STS"}})});if(!o.ok)throw new Error(`Failed to create SPFxExtensionsData web in ${l}`);return await o.json()}async function jw(){let a=await Lr(),l=await y5(),c=await fetch(`${a}/${C0}/_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 s1(`Failed to fetch data from ${a}/${C0}/_api/web`),{data:void 0,isError:!0,error:`Failed to fetch data from ${a}/${C0}/_api/web`,warnings:[]}}return{data:await c.json(),isError:!1,error:"",warnings:[]}}async function Nw(){return(await b3("SPFxDataSite"))?.Data}var Dr;function oV(){if(Dr)return Dr;return Dr=aS(),Dr}async function aS(){let a=await Nw();if(!a){let l=await jw();if(!l.isError&&!l.data){let c=await Xw(C0);l.data=c}return await I2({Title:"SPFxDataSite",Data:l.data,date:"",expires:""},240),l.data}return a}var yn="f3ab710f-2c08-422e-a7ad-5d93eb51e7a3",wr={accept:"application/json"},lS={"Content-Type":"application/json"};async function cS(){let l={"X-RequestDigest":await y5(C0)};return(await(await fetch(`${d0}/_api/sitepages/pages`,{headers:{...wr,...l,...lS},body:JSON.stringify({PageLayoutType:"SingleWebPartAppPage",PromotedState:0}),method:"POST"})).json()).Id}async function Un(){let a=await fetch(`${d0}/_api/sitepages/pages/GetByUrl('${Ie}')`,{headers:{...wr},method:"GET"});if(a.status===404)return;return await a.json()}var oS=[{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"}],eS=[{addedFromPersistedData:!1,controlType:3,displayMode:2,emphasis:{},id:yn,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:_i,instanceId:yn,properties:{description:"Select an app to load from the dropdown below",selectedApp:Nu,SPFxExtensionAppConfiguration:void 0},title:"SPFx Extension Loader"},webPartId:_i},{controlType:0,pageSettingsSlice:{isDefaultDescription:!0,isDefaultThumbnail:!0}}],rS={CanvasContent1:`${JSON.stringify(eS)}`,LayoutWebpartsContent:`${JSON.stringify(oS)}`,Title:aA};async function eV(a){let c={"X-RequestDigest":await y5(C0)};await fetch(`${d0}/_api/sitepages/pages(${a})/savepage`,{headers:{"Content-Type":"application/json",...wr,...c},body:JSON.stringify(rS),method:"POST"}),await fetch(`${d0}/_api/sitepages/pages(${a})/publish`,{headers:{...wr,...c},method:"POST"})}async function tS(){let a=await cS();return await eV(a),Un()}async function hS(){let a=await b3("ConfiguratorPageData");if(a?.Data)return a.Data;let l=await Un();if(l)await I2({Title:"ConfiguratorPageData",Data:l,date:"",expires:""},480);return l}async function rV(){let a=await hS();if(!a)return tS();if(a.CanvasContent1.indexOf(yn)===-1){await eV(a.Id);let l=await Un();return await I2({Title:"ConfiguratorPageData",Data:l,date:"",expires:""},480),l}return a}async function ZS(){let a=`${d0}/_api/web/lists/GetByTitle('${X6}')/fields`;try{let l=await fetch(a,{headers:{Accept:"application/json;odata=verbose"}});if(l.status===200){if(!(await l.json()).d.results.map((r)=>r.InternalName).some((r)=>r==="EntryPointUrl"))await iS(a,"EntryPointUrl","Full URL to the Entrypoint JS file, if * is specified all entries will be allowed.",!0)}}catch(l){s1("Error while ensuring list fields.",l)}}async function iS(a,l,c,o){let e=await y5(C0);if((await fetch(a,{method:"POST",headers:{Accept:"application/json;odata=verbose","Content-Type":"application/json;odata=verbose","X-RequestDigest":e},body:JSON.stringify({__metadata:{type:"SP.Field"},Title:l,FieldTypeKind:3,Required:o,Description:c})})).status===201)k0(l,"field added successfully.");else s1(l,"Unable to add field.")}async function nS(){try{let a=await fetch(`${d0}/_api/web/lists/GetByTitle('${X6}')?$select=*`,{method:"GET",headers:{Accept:"application/json;odata=verbose"}});if(a.status===404){k0("Creating app white list.");let c=await y5(C0),o=await fetch(`${d0}/_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:X6,Description:"App whitelist for SPFxExtensions"})});if(o.status===201)return k0("App whitelist created successfully."),o.json();else{s1("Unable to create app whitelist.");return}}return await ZS(),a.json()}catch(a){s1("Error while ensuring app whitelist.",a)}return}async function tV(){let a=await b3("AppWhiteList");if(a?.Data)return a.Data;let l=await nS();if(l)await I2({Title:"AppWhiteList",Data:l,date:"",expires:""},480);return l}var Sr;async function vS(){if(Sr)return Sr;return Sr=dS(),Sr}async function dS(){await oV(),await tV(),await rV(),window.__SPFxExtensions.Utils.ConfiguratorPageUrl=`${d0}/${Ie}`}async function f8(a=!1){return await vS(),cV(a)}async function WF1(){return`${`${(await f8()).find((o)=>o.Title==="RootCDNLocation")?.Data??`${d0}`}${lA}`}${e2}`}async function JF1(){let a=await f8(),l=["7d56fff0-e90e-40a7-98cf-fcdbc63a9b01"];if(a.find((c)=>c.Title==="Version")?.Data!=="2025-08-06T21:59:15.673Z")a=await f8(!0),I2({Title:"Version",Data:"2025-08-06T21:59:15.673Z",date:"",expires:""},240),await xr(l,!0)}async function xr(a,l){let c=await window.caches.keys(),o=!1;for(let e of c){let r=await window.caches.open(e),t=await r.keys(),h=[];for(let Z of t){let i=Z.url.toLowerCase();if(a.some((v)=>i.indexOf(v.toLowerCase())>-1))k0("Deleting cache key",Z,"from",e),o=!0,h.push(r.delete(Z,{ignoreMethod:!0,ignoreSearch:!0,ignoreVary:!0}))}await Promise.allSettled(h)}if(o&&l)window.location.reload()}function hV(){return kH(`${Date.now()}`,13)}function ZV(){let a=K7(""),l=K7(!1);async function c(e,r){l.value=r.open}async function o(){if(!a.value||!L1.value||L1.value.manifest.appDefinitionMap.some((t)=>t.appId===a.value))return;let e={appId:a.value,config:T1(j6)},r=T1(L1.value);r.manifest.appDefinitionMap.push(e),L1.value=r,l.value=!1}if(!L1.value||L1.value.manifest.isESM)return null;return/*@__PURE__*/_(R5,{open:l.value,surfaceMotion:null,modalType:"alert",onOpenChange:c,children:[/*@__PURE__*/_(W0,{disableButtonEnhancement:!0,children:/*@__PURE__*/_(D2,{appearance:"outline",icon:/*@__PURE__*/_(D6,{},void 0,!1,void 0,this),children:"Add Entry"},void 0,!1,void 0,this)},void 0,!1,void 0,this),/*@__PURE__*/_(L2,{children:/*@__PURE__*/_(x2,{children:[/*@__PURE__*/_(C2,{action:/*@__PURE__*/_(W0,{disableButtonEnhancement:!0,action:"close",children:/*@__PURE__*/_(f1,{appearance:"subtle","aria-label":"close",icon:/*@__PURE__*/_(o7,{},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__*/_(R2,{style:{padding:"16px 0"},children:/*@__PURE__*/_(s5,{value:a.value,style:{width:"100%"},placeholder:"Enter application id or entrypoint path",onChange:(e,r)=>{a.value=r.value}},void 0,!1,void 0,this)},void 0,!1,void 0,this),/*@__PURE__*/_(F2,{children:[/*@__PURE__*/_(W0,{disableButtonEnhancement:!0,action:"close",children:/*@__PURE__*/_(f1,{appearance:"secondary",children:"Close"},void 0,!1,void 0,this)},void 0,!1,void 0,this),/*@__PURE__*/_(f1,{appearance:"primary",disabled:!a.value||L1.value?.manifest.appDefinitionMap.some((e)=>e.appId===a.value),onClick:()=>{o()},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 pS=mS();async function mS(){try{let a=await JH(),l=await zH();if(l.length>0&&!a)return l;if(l.length>0)k0("Cache mismatch, loading allowed apps data...");let c=await iV();return await KH(c,5),c}catch(a){return s1("Unable to load allowed apps data...",a),[]}}async function iV(a=!1){if((await f8(a)).find((o)=>o.Title==="EnableAppWhiteList")?.Data!=="true")return[{Id:1,Title:"All apps allowed",EntryPointUrl:"*",date:(/*@__PURE__*/new Date()).toISOString(),expires:(/*@__PURE__*/new Date()).toISOString()}];return sS()}async function sS(){let a=`${d0}/_api/web/lists/getByTitle('${X6}')/Items?$select=Id,Title,EntryPointUrl&$top=1000`;return await MS(a)}async function MS(a){let l=a,c=[];while(l){let e=await(await fetch(l,{method:"GET",headers:{Accept:"application/json;odata=verbose"}})).json();if(e.error)throw new Error(JSON.stringify(e.error));c.push(...e.d.results),l=e.d.__next}return c}function _S(a,l){if(l.some((e)=>e.EntryPointUrl==="*"))return!0;let o=(a.origin+a.pathname).toLowerCase();return l.some((e)=>{try{let r=new URL(e.EntryPointUrl),t=r.origin+r.pathname;return o===t.toLowerCase()}catch(r){return s1("Error while parsing allowed entry URL",e.EntryPointUrl,r),!1}})}async function nV(a,l,c=!1){if(fH(a))return!0;let o=c?await iV(c):await pS;if(!_S(a,o))return b2("File",a,`is not allowed to be executed. Please add it to whitelist @ ${d0}.`),b2(`If you are a developer you can enable this app by adding localStorage item ${Q7.SPFXEXT}${l} with a number value corresponding to development port of the localhost server.`),!1;return!0}async function vV(a){if(!a.manifest.isESM){let c=[];for(let e of a.manifest.appRelativeEntryPointUrls){let r=a.manifest.appDefinitionMap.find((t)=>t.appId===e)?.config??T1(j6);c.push({appId:e,name:e,resolved:!0,config:r})}let o=a.manifest.appDefinitionMap.filter((e)=>!c.some((r)=>r.appId===e.appId)).map((e)=>({...e,name:`${e.appId}`,resolved:!0}));return c.push(...T1(o)),c}let l=(a.manifest.appDefinitionMap??[]).map((c)=>{return{appId:c.appId,name:`Unknown_${c.appId}`,resolved:!1,config:c.config??T1(j6)}});for(let c of a.manifest.appRelativeEntryPointUrls){let o=c.replace(/\.\.\/?/g,"").replace(/\.\//g,""),e=new URL(`${Vr}/${S1}/${a.name}/${o}`);if(!await nV(e,a.name,!0))continue;e.searchParams.set("t",`${Date.now()}`);try{let t=await import(`${e}`);if(!t.default){s1(`Invalid app definition file ${e}, default export not available.`);continue}if(!Array.isArray(t.default)){s1(`Invalid app definition file ${e}, default export should be an array.`);continue}if(t.default.some((h)=>!h.id||!h.name)){s1(`Invalid app definition file ${e}, default export should be an array of objects with id and name properties.`);continue}for(let h of t.default){let Z=l.find((i)=>i.appId===h.id);if(Z){Z.name=h.name,Z.resolved=!0;continue}l.push({appId:h.id,name:h.name,resolved:!0,config:T1(j6)})}}catch(t){s1(`Error loading ${e}`,t);continue}}return l}H5();var uS=fr();function dV({appDefinitions:a}){let l=U7(),[c,o]=Z1(g1.value),[e,r]=Z1(!1),[t,h]=Z1([]),[Z,i]=Z1([]),[v,n]=Z1([]);if(I5(()=>{if(!g1.value)return;if(!c){o(g1.value);return}let d=JSON.stringify(g1.value),p=JSON.stringify(c);o(g1.value),r(d!==p)}),I5(()=>{if(!W2){if(k5())Ar(l0,R0.value.urlMap).then((d)=>{h(d?[d]:[])});if(Hr()&&!k5())ur(l0).then((d)=>{i(d?[d]:[])})}else{let d=mr(R0.value.urlMap);h(d.hubs),i(d.sites),n(d.webs)}}),!g1.value||!L1.value)return null;return/*@__PURE__*/_(k2,{...l,separator:!0,open:!!g1.value,position:"end",size:"large",children:[/*@__PURE__*/_(U2,{children:/*@__PURE__*/_(G2,{action:/*@__PURE__*/_(f1,{appearance:"subtle","aria-label":"Close",icon:/*@__PURE__*/_(o7,{},void 0,!1,void 0,this),onClick:()=>{g1.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__*/_(y2,{children:/*@__PURE__*/_(p1,{children:[/*@__PURE__*/_(t1,{horizontal:!0,horizontalAlign:"space-between",verticalAlign:"center",children:[/*@__PURE__*/_(t1,{horizontal:!0,verticalAlign:"center",gap:8,children:[/*@__PURE__*/_(D0,{children:"Enable everywhere"},void 0,!1,void 0,this),/*@__PURE__*/_(g2,{withArrow:!0,children:[/*@__PURE__*/_(c2,{disableButtonEnhancement:!0,children:/*@__PURE__*/_(T0,{children:/*@__PURE__*/_(Wo,{},void 0,!1,void 0,this)},void 0,!1,void 0,this)},void 0,!1,void 0,this),/*@__PURE__*/_(f2,{tabIndex:-1,children:/*@__PURE__*/_(o2,{children:uS==="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__*/_(V0,{defaultChecked:g1.value.config.enabledEverywhere,onChange:(d,p)=>{let m=T1(g1.value);m.config.enabledEverywhere=p.checked,m.config.includedIds=[],m.config.excludedIds=[],m.config.includedHubIds=[],m.config.excludedHubIds=[],g1.value=m}},void 0,!1,void 0,this)]},void 0,!0,void 0,this),/*@__PURE__*/_(t1,{gap:12,children:[/*@__PURE__*/_(n5,{children:"Hub sites"},void 0,!1,void 0,this),/*@__PURE__*/_(T5,{},void 0,!1,void 0,this),/*@__PURE__*/_(t1,{children:t.length>0?/*@__PURE__*/_(gr,{hubSites:t,control:"switch"},void 0,!1,void 0,this):null},void 0,!1,void 0,this),/*@__PURE__*/_(n5,{children:"Site collections"},void 0,!1,void 0,this),/*@__PURE__*/_(T5,{},void 0,!1,void 0,this),/*@__PURE__*/_(t1,{children:Z.length>0?/*@__PURE__*/_(u8,{additionalIcon:/*@__PURE__*/_(R6,{},void 0,!1,void 0,this),siteCollections:Z,control:"switch"},void 0,!1,void 0,this):null},void 0,!1,void 0,this),/*@__PURE__*/_(n5,{children:"Webs"},void 0,!1,void 0,this),/*@__PURE__*/_(T5,{},void 0,!1,void 0,this),/*@__PURE__*/_(t1,{children:v.length>0?/*@__PURE__*/_(G3,{additionalIcon:/*@__PURE__*/_(Go,{},void 0,!1,void 0,this),webs:v,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__*/_(q7,{children:/*@__PURE__*/_(t1,{horizontal:!0,gap:8,horizontalAlign:"center",children:[/*@__PURE__*/_(f1,{appearance:"secondary",onClick:()=>{g1.value=void 0},children:"Cancel"},void 0,!1,void 0,this),/*@__PURE__*/_(f1,{appearance:"primary",disabled:!e,onClick:()=>{if(!g1.value)return;let d=T1(L1.value),p=T1(g1.value);d.manifest.appDefinitionMap=d.manifest.appDefinitionMap.filter((m)=>m.appId!==p.appId),d.manifest.appDefinitionMap.push(p),L1.value=d,g1.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 pV(){let a=K7([]),l=K7(!1);async function c(e){l.value=!1;let r=await vV(e);l.value=!0,a.value=r}function o(e){if(!L1.value)return;let r=T1(L1.value);r.manifest.appDefinitionMap=r.manifest.appDefinitionMap.filter((t)=>t.appId!==e.appId),L1.value=r}if(I5(()=>{if(!L1.value)return;c(L1.value)}),!L1.value)return null;if(!l.value)return/*@__PURE__*/_(t1,{style:{marginTop:"10px"},children:/*@__PURE__*/_(I7,{},void 0,!1,void 0,this)},void 0,!1,void 0,this);return/*@__PURE__*/_(t1,{style:{marginTop:"10px",borderBottom:"1px solid #eaeaea"},children:[a.value.map((e)=>{return/*@__PURE__*/_(t1,{horizontal:!0,gap:8,horizontalAlign:"space-between",verticalAlign:"center",style:{borderTop:"1px solid #eaeaea",padding:"10px 6px",minHeight:"53px"},children:[/*@__PURE__*/_(t1,{horizontal:!0,verticalAlign:"center",gap:8,grow:!0,children:[/*@__PURE__*/_(Qs,{},void 0,!1,void 0,this)," ",/*@__PURE__*/_(T0,{size:"medium",onClick:()=>{g1.value={appId:e.appId,config:e.config}},children:e.name},void 0,!1,void 0,this)]},void 0,!0,void 0,this),/*@__PURE__*/_(t1,{gap:8,horizontal:!0,children:[!L1.value.manifest.isESM||L1.value.manifest.isESM&&!e.resolved?/*@__PURE__*/_(f1,{"aria-label":"Delete configuration item",icon:/*@__PURE__*/_(d3,{},void 0,!1,void 0,this),onClick:()=>{o(e)}},void 0,!1,void 0,this):null,/*@__PURE__*/_(f1,{"aria-label":"Edit sites",icon:/*@__PURE__*/_(Js,{},void 0,!1,void 0,this),onClick:()=>{g1.value={appId:e.appId,config:e.config}}},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)}),/*@__PURE__*/_(dV,{appDefinitions:a.value},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}H5();async function mV(a){let l={data:[],warnings:[],error:"",isError:!1},c=a.find((t)=>t.path.toLowerCase().endsWith(I0)),o=-1,e="/";if(!c)l.warnings.push("No manifest.txt file found."),l.isError=!1;else o=c.path.lastIndexOf("/"),e=c.path.substring(0,o+1);for(let t of a){if(t.size===0)continue;let h=await t.arrayBuffer(),Z=new Uint8Array(h),i=t.path,v=t.path.lastIndexOf("/"),n=v>-1?t.path.substring(0,v+1):"",d="/";if(n){let p=n.split("/").filter((s)=>s.length>0),m=e.split("/").filter((s)=>s.length>0);p.forEach((s)=>{if(m.includes(s))d+=`${s}/`})}i=i.replace(d,"").replace(/^\./,""),l.data.push({fileName:i,content:Z})}let r=[];if(e!=="/"){if(r=a.filter((t)=>!t.path.startsWith(e)),r.length>0)l.warnings.push("Some files are outside of manifest.txt directory."),l.warnings.push(...r.map((t)=>`File: ${t.relativePath}`))}return l}async function*sV(a,l,c){await m8(a,l);let o=m7(a),e={data:[],error:"",isError:!1,warnings:[]},r=[];for(let t of c){let h=t.fileName.lastIndexOf("/"),Z=h>-1,i=Z?t.fileName.substring(h+1):t.fileName,v=t.fileName.substring(0,h),n=`${S1}/${l}${v?`/${v}`:""}`,d=a.web.getFolderByServerRelativePath(n);if(Z){if(!r.includes(v))try{await nH(a,l,v.split("/")),r.push(v)}catch(p){return e.error=`Error while creating ${v} in ${n} folder in ${o}. ${p}`,e.isError=!0,e}}try{await d.files.addUsingPath(i,new Blob([t.content]),{Overwrite:!0});let p=`${i} uploaded successfully`;e.data.push(p),yield{data:p,success:!0,fileName:t.fileName}}catch(p){let m=`Error while uploading ${i} in ${n} folder in ${o}`;s1(m,p),e.warnings.push(m),yield{data:m,success:!1,fileName:t.fileName}}}if(e.data.length===0&&e.warnings.length>0)e.error="All files failed to upload.",e.isError=!0;return e}async function AS(a,l){let c=await a.web.using(LA())(),o=a.web.lists.getByTitle(S1).items.select("FileLeafRef","FileDirRef").filter(`FSObjType eq 0 and substringof('${S1}/${l}',FileDirRef)`).top(100),e=[],r=c.ServerRelativeUrl.replace(/\/$/,"");for await(let t of o)t.forEach((Z)=>{let i=Z.FileDirRef.replace(`${r}/${S1}/${l}`,"."),v=Z.FileLeafRef;e.push(`${i}/${v}`)});return e}async function MV(a,l){return(await AS(a,l)).filter((o)=>/\.js$/.test(o))}H5();f();var Q1=J4(Bu(),1);var HS=/*@__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 I4(a,l,c){let o=VS(a),{webkitRelativePath:e}=a,r=typeof l==="string"?l:typeof e==="string"&&e.length>0?e:`./${a.name}`;if(typeof o.path!=="string")_V(o,"path",r);if(c!==void 0)Object.defineProperty(o,"handle",{value:c,writable:!1,configurable:!1,enumerable:!0});return _V(o,"relativePath",r),o}function VS(a){let{name:l}=a;if(l&&l.lastIndexOf(".")!==-1&&!a.type){let o=l.split(".").pop().toLowerCase(),e=HS.get(o);if(e)Object.defineProperty(a,"type",{value:e,writable:!1,configurable:!1,enumerable:!0})}return a}function _V(a,l,c){Object.defineProperty(a,l,{value:c,writable:!1,configurable:!1,enumerable:!0})}var fS=[".DS_Store","Thumbs.db"];function Bn(a){return R3(this,void 0,void 0,function*(){if(kr(a)&&gS(a.dataTransfer))return LS(a.dataTransfer,a.type);else if(FS(a))return xS(a);else if(Array.isArray(a)&&a.every((l)=>("getFile"in l)&&typeof l.getFile==="function"))return CS(a);return[]})}function gS(a){return kr(a)}function FS(a){return kr(a)&&kr(a.target)}function kr(a){return typeof a==="object"&&a!==null}function xS(a){return Gn(a.target.files).map((l)=>I4(l))}function CS(a){return R3(this,void 0,void 0,function*(){return(yield Promise.all(a.map((c)=>c.getFile()))).map((c)=>I4(c))})}function LS(a,l){return R3(this,void 0,void 0,function*(){if(a.items){let c=Gn(a.items).filter((e)=>e.kind==="file");if(l!=="drop")return c;let o=yield Promise.all(c.map(RS));return uV(HV(o))}return uV(Gn(a.files).map((c)=>I4(c)))})}function uV(a){return a.filter((l)=>fS.indexOf(l.name)===-1)}function Gn(a){if(a===null)return[];let l=[];for(let c=0;c<a.length;c++){let o=a[c];l.push(o)}return l}function RS(a){if(typeof a.webkitGetAsEntry!=="function")return AV(a);let l=a.webkitGetAsEntry();if(l&&l.isDirectory)return VV(l);return AV(a,l)}function HV(a){return a.reduce((l,c)=>[...l,...Array.isArray(c)?HV(c):[c]],[])}function AV(a,l){return R3(this,void 0,void 0,function*(){var c;if(globalThis.isSecureContext&&typeof a.getAsFileSystemHandle==="function"){let r=yield a.getAsFileSystemHandle();if(r===null)throw new Error(`${a} is not a File`);if(r!==void 0){let t=yield r.getFile();return t.handle=r,I4(t)}}let o=a.getAsFile();if(!o)throw new Error(`${a} is not a File`);return I4(o,(c=l===null||l===void 0?void 0:l.fullPath)!==null&&c!==void 0?c:void 0)})}function DS(a){return R3(this,void 0,void 0,function*(){return a.isDirectory?VV(a):wS(a)})}function VV(a){let l=a.createReader();return new Promise((c,o)=>{let e=[];function r(){l.readEntries((t)=>R3(this,void 0,void 0,function*(){if(!t.length)try{let h=yield Promise.all(e);c(h)}catch(h){o(h)}else{let h=Promise.all(t.map(DS));e.push(h),r()}}),(t)=>{o(t)})}r()})}function wS(a){return R3(this,void 0,void 0,function*(){return new Promise((l,c)=>{a.file((o)=>{let e=I4(o,a.fullPath);l(e)},(o)=>{c(o)})})})}var yr=J4(fV(),1);function gV(a){return BS(a)||GS(a)||DV(a)||US()}function US(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
172
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function
|
|
173
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function
|
|
174
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function
|
|
175
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function IV(a,l){if(!a)return;if(typeof a==="string")return In(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 In(a,l)}function In(a,l){if(l==null||l>a.length)l=a.length;for(var c=0,o=new Array(l);c<l;c++)o[c]=a[c];return o}function ok(a,l){var c=a==null?null:typeof Symbol!=="undefined"&&a[Symbol.iterator]||a["@@iterator"];if(c==null)return;var o=[],e=!0,r=!1,t,h;try{for(c=c.call(a);!(e=(t=c.next()).done);e=!0)if(o.push(t.value),l&&o.length===l)break}catch(Z){r=!0,h=Z}finally{try{if(!e&&c.return!=null)c.return()}finally{if(r)throw h}}return o}function ek(a){if(Array.isArray(a))return a}function EV(a,l){var c=Object.keys(a);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(a);l&&(o=o.filter(function(e){return Object.getOwnPropertyDescriptor(a,e).enumerable})),c.push.apply(c,o)}return c}function p0(a){for(var l=1;l<arguments.length;l++){var c=arguments[l]!=null?arguments[l]:{};l%2?EV(Object(c),!0).forEach(function(o){Pn(a,o,c[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(a,Object.getOwnPropertyDescriptors(c)):EV(Object(c)).forEach(function(o){Object.defineProperty(a,o,Object.getOwnPropertyDescriptor(c,o))})}return a}function Pn(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 Ur(a,l){if(a==null)return{};var c=rk(a,l),o,e;if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(a);for(e=0;e<r.length;e++){if(o=r[e],l.indexOf(o)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(a,o))continue;c[o]=a[o]}}return c}function rk(a,l){if(a==null)return{};var c={},o=Object.keys(a),e,r;for(r=0;r<o.length;r++){if(e=o[r],l.indexOf(e)>=0)continue;c[e]=a[e]}return c}var Gr=/*@__PURE__*/O(function(a,l){var c=a.children,o=Ur(a,$S),e=tk(o),r=e.open,t=Ur(e,QS);return m5(l,function(){return{open:r}},[r]),/*@__PURE__*/K8.createElement(p1,null,c(p0(p0({},t),{},{open:r})))});Gr.displayName="Dropzone";var PV={disabled:!1,getFilesFromEvent:Bn,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};Gr.defaultProps=PV;Gr.propTypes={children:Q1.default.func,accept:Q1.default.objectOf(Q1.default.arrayOf(Q1.default.string)),multiple:Q1.default.bool,preventDropOnDocument:Q1.default.bool,noClick:Q1.default.bool,noKeyboard:Q1.default.bool,noDrag:Q1.default.bool,noDragEventsBubbling:Q1.default.bool,minSize:Q1.default.number,maxSize:Q1.default.number,maxFiles:Q1.default.number,disabled:Q1.default.bool,getFilesFromEvent:Q1.default.func,onFileDialogCancel:Q1.default.func,onFileDialogOpen:Q1.default.func,useFsAccessApi:Q1.default.bool,autoFocus:Q1.default.bool,onDragEnter:Q1.default.func,onDragLeave:Q1.default.func,onDragOver:Q1.default.func,onDrop:Q1.default.func,onDropAccepted:Q1.default.func,onDropRejected:Q1.default.func,onError:Q1.default.func,validator:Q1.default.func};var qV=Gr,qn={isFocused:!1,isFileDialogActive:!1,isDragActive:!1,isDragAccept:!1,isDragReject:!1,acceptedFiles:[],fileRejections:[]};function tk(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},l=p0(p0({},PV),a),c=l.accept,o=l.disabled,e=l.getFilesFromEvent,r=l.maxSize,t=l.minSize,h=l.multiple,Z=l.maxFiles,i=l.onDragEnter,v=l.onDragLeave,n=l.onDragOver,d=l.onDrop,p=l.onDropAccepted,m=l.onDropRejected,s=l.onFileDialogCancel,M=l.onFileDialogOpen,u=l.useFsAccessApi,A=l.autoFocus,H=l.preventDropOnDocument,g=l.noClick,F=l.noKeyboard,D=l.noDrag,x=l.noDragEventsBubbling,b=l.onError,T=l.validator,n1=u1(function(){return GV(c)},[c]),c1=u1(function(){return UV(c)},[c]),Y=u1(function(){return typeof M==="function"?M:WV},[M]),C=u1(function(){return typeof s==="function"?s:WV},[s]),w=E(null),U=E(null),J=Q5(hk,qn),j=Wn(J,2),d1=j[0],q=j[1],m1=d1.isFocused,H1=d1.isFileDialogActive,K=E(typeof window!=="undefined"&&window.isSecureContext&&u&&yV()),I=function X(){if(!K.current&&H1)setTimeout(function(){if(U.current){var A1=U.current.files;if(!A1.length)q({type:"closeDialog"}),C()}},300)};h1(function(){return window.addEventListener("focus",I,!1),function(){window.removeEventListener("focus",I,!1)}},[U,H1,C,K]);var R1=E([]),k1=function X(A1){if(w.current&&w.current.contains(A1.target))return;A1.preventDefault(),R1.current=[]};h1(function(){if(H)document.addEventListener("dragover",En,!1),document.addEventListener("drop",k1,!1);return function(){if(H)document.removeEventListener("dragover",En),document.removeEventListener("drop",k1)}},[w,H]),h1(function(){if(!o&&A&&w.current)w.current.focus();return function(){}},[w,A,o]);var o0=$(function(X){if(b)b(X);else console.error(X)},[b]),q5=$(function(X){if(X.preventDefault(),X.persist(),K4(X),R1.current=[].concat(jS(R1.current),[X.target]),Rc(X))Promise.resolve(e(X)).then(function(A1){if(Lc(X)&&!x)return;var e0=A1.length,m0=e0>0&&SV({files:A1,accept:n1,minSize:t,maxSize:r,multiple:h,maxFiles:Z,validator:T}),c5=e0>0&&!m0;if(q({isDragAccept:m0,isDragReject:c5,isDragActive:!0,type:"setDraggedFiles"}),i)i(X)}).catch(function(A1){return o0(A1)})},[e,i,o0,x,n1,t,r,h,Z,T]),n2=$(function(X){X.preventDefault(),X.persist(),K4(X);var A1=Rc(X);if(A1&&X.dataTransfer)try{X.dataTransfer.dropEffect="copy"}catch(e0){}if(A1&&n)n(X);return!1},[n,x]),v2=$(function(X){X.preventDefault(),X.persist(),K4(X);var A1=R1.current.filter(function(m0){return w.current&&w.current.contains(m0)}),e0=A1.indexOf(X.target);if(e0!==-1)A1.splice(e0,1);if(R1.current=A1,A1.length>0)return;if(q({type:"setDraggedFiles",isDragActive:!1,isDragAccept:!1,isDragReject:!1}),Rc(X)&&v)v(X)},[w,v,x]),z5=$(function(X,A1){var e0=[],m0=[];if(X.forEach(function(c5){var E3=On(c5,n1),X7=Wn(E3,2),a1=X7[0],M1=X7[1],w1=Tn(c5,t,r),K1=Wn(w1,2),r0=K1[0],p5=K1[1],b0=T?T(c5):null;if(a1&&r0&&!b0)e0.push(c5);else{var z2=[M1,p5];if(b0)z2=z2.concat(b0);m0.push({file:c5,errors:z2.filter(function(o5){return o5})})}}),!h&&e0.length>1||h&&Z>=1&&e0.length>Z)e0.forEach(function(c5){m0.push({file:c5,errors:[wV]})}),e0.splice(0);if(q({acceptedFiles:e0,fileRejections:m0,isDragReject:m0.length>0,type:"setFiles"}),d)d(e0,m0,A1);if(m0.length>0&&m)m(m0,A1);if(e0.length>0&&p)p(e0,A1)},[q,h,n1,t,r,Z,d,p,m,T]),U5=$(function(X){if(X.preventDefault(),X.persist(),K4(X),R1.current=[],Rc(X))Promise.resolve(e(X)).then(function(A1){if(Lc(X)&&!x)return;z5(A1,X)}).catch(function(A1){return o0(A1)});q({type:"reset"})},[e,z5,o0,x]),o1=$(function(){if(K.current){q({type:"openDialog"}),Y();var X={multiple:h,types:c1};window.showOpenFilePicker(X).then(function(A1){return e(A1)}).then(function(A1){z5(A1,null),q({type:"closeDialog"})}).catch(function(A1){if(BV(A1))C(A1),q({type:"closeDialog"});else if(bV(A1))if(K.current=!1,U.current)U.current.value=null,U.current.click();else o0(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 o0(A1)});return}if(U.current)q({type:"openDialog"}),Y(),U.current.value=null,U.current.click()},[q,Y,C,u,z5,o0,c1,h]),G5=$(function(X){if(!w.current||!w.current.isEqualNode(X.target))return;if(X.key===" "||X.key==="Enter"||X.keyCode===32||X.keyCode===13)X.preventDefault(),o1()},[w,o1]),v1=$(function(){q({type:"focus"})},[]),A5=$(function(){q({type:"blur"})},[]),d2=$(function(){if(g)return;if(kV())setTimeout(o1,0);else o1()},[g,o1]),B5=function X(A1){return o?null:A1},z4=function X(A1){return F?null:B5(A1)},O3=function X(A1){return D?null:B5(A1)},K4=function X(A1){if(x)A1.stopPropagation()},qr=u1(function(){return function(){var X=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},A1=X.refKey,e0=A1===void 0?"ref":A1,m0=X.role,c5=X.onKeyDown,E3=X.onFocus,X7=X.onBlur,a1=X.onClick,M1=X.onDragEnter,w1=X.onDragOver,K1=X.onDragLeave,r0=X.onDrop,p5=Ur(X,YS);return p0(p0(Pn({onKeyDown:z4(P2(c5,G5)),onFocus:z4(P2(E3,v1)),onBlur:z4(P2(X7,A5)),onClick:B5(P2(a1,d2)),onDragEnter:O3(P2(M1,q5)),onDragOver:O3(P2(w1,n2)),onDragLeave:O3(P2(K1,v2)),onDrop:O3(P2(r0,U5)),role:typeof m0==="string"&&m0!==""?m0:"presentation"},e0,w),!o&&!F?{tabIndex:0}:{}),p5)}},[w,G5,v1,A5,d2,q5,n2,v2,U5,F,D,o]),x8=$(function(X){X.stopPropagation()},[]),T3=u1(function(){return function(){var X=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},A1=X.refKey,e0=A1===void 0?"ref":A1,m0=X.onChange,c5=X.onClick,E3=Ur(X,XS),X7=Pn({accept:n1,multiple:h,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(P2(m0,U5)),onClick:B5(P2(c5,x8)),tabIndex:-1},e0,U);return p0(p0({},X7),E3)}},[U,c,h,U5,o]);return p0(p0({},d1),{},{isFocused:m1&&!o,getRootProps:qr,getInputProps:T3,rootRef:w,inputRef:U,open:B5(o1)})}function hk(a,l){switch(l.type){case"focus":return p0(p0({},a),{},{isFocused:!0});case"blur":return p0(p0({},a),{},{isFocused:!1});case"openDialog":return p0(p0({},qn),{},{isFileDialogActive:!0});case"closeDialog":return p0(p0({},a),{},{isFileDialogActive:!1});case"setDraggedFiles":return p0(p0({},a),{},{isDragActive:l.isDragActive,isDragAccept:l.isDragAccept,isDragReject:l.isDragReject});case"setFiles":return p0(p0({},a),{},{acceptedFiles:l.acceptedFiles,fileRejections:l.fileRejections,isDragReject:l.isDragReject});case"reset":return p0({},qn);default:return a}}function WV(){}var zV={},Zk=function(a,l,c,o,e){var r=new Worker(zV[l]||(zV[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 r.onmessage=function(t){var h=t.data,Z=h.$e$;if(Z){var i=new Error(Z[0]);i.code=Z[1],i.stack=Z[2],e(i,null)}else e(null,h)},r.postMessage(c,o),r},u5=Uint8Array,q4=Uint16Array,$V=Int32Array,Jn=new u5([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]),$n=new u5([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]),QV=new u5([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),YV=function(a,l){var c=new q4(31);for(var o=0;o<31;++o)c[o]=l+=1<<a[o-1];var e=new $V(c[30]);for(var o=1;o<30;++o)for(var r=c[o];r<c[o+1];++r)e[r]=r-c[o]<<5|o;return{b:c,r:e}},XV=YV(Jn,2),Qn=XV.b,ik=XV.r;Qn[28]=258,ik[258]=28;var jV=YV($n,0),NV=jV.b,hC1=jV.r,Tr=new q4(32768);for(y1=0;y1<32768;++y1)_7=(y1&43690)>>1|(y1&21845)<<1,_7=(_7&52428)>>2|(_7&13107)<<2,_7=(_7&61680)>>4|(_7&3855)<<4,Tr[y1]=((_7&65280)>>8|(_7&255)<<8)>>1;var _7,y1,g8=function(a,l,c){var o=a.length,e=0,r=new q4(l);for(;e<o;++e)if(a[e])++r[a[e]-1];var t=new q4(l);for(e=1;e<l;++e)t[e]=t[e-1]+r[e-1]<<1;var h;if(c){h=new q4(1<<l);var Z=15-l;for(e=0;e<o;++e)if(a[e]){var i=e<<4|a[e],v=l-a[e],n=t[a[e]-1]++<<v;for(var d=n|(1<<v)-1;n<=d;++n)h[Tr[n]>>Z]=i}}else{h=new q4(o);for(e=0;e<o;++e)if(a[e])h[e]=Tr[t[a[e]-1]++]>>15-a[e]}return h},Dc=new u5(288);for(y1=0;y1<144;++y1)Dc[y1]=8;var y1;for(y1=144;y1<256;++y1)Dc[y1]=9;var y1;for(y1=256;y1<280;++y1)Dc[y1]=7;var y1;for(y1=280;y1<288;++y1)Dc[y1]=8;var y1,af=new u5(32);for(y1=0;y1<32;++y1)af[y1]=5;var y1;var lf=/*@__PURE__*/g8(Dc,9,1);var cf=/*@__PURE__*/g8(af,5,1),br=function(a){var l=a[0];for(var c=1;c<a.length;++c)if(a[c]>l)l=a[c];return l},i2=function(a,l,c){var o=l/8|0;return(a[o]|a[o+1]<<8)>>(l&7)&c},Or=function(a,l){var c=l/8|0;return(a[c]|a[c+1]<<8|a[c+2]<<16)>>(l&7)},of=function(a){return(a+7)/8|0},Er=function(a,l,c){if(l==null||l<0)l=0;if(c==null||c>a.length)c=a.length;return new u5(a.subarray(l,c))};var ef=["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"],_5=function(a,l,c){var o=new Error(l||ef[a]);if(o.code=a,Error.captureStackTrace)Error.captureStackTrace(o,_5);if(!c)throw o;return o},rf=function(a,l,c,o){var e=a.length,r=o?o.length:0;if(!e||l.f&&!l.l)return c||new u5(0);var t=!c,h=t||l.i!=2,Z=l.i;if(t)c=new u5(e*3);var i=function(U5){var o1=c.length;if(U5>o1){var G5=new u5(Math.max(o1*2,U5));G5.set(c),c=G5}},v=l.f||0,n=l.p||0,d=l.b||0,p=l.l,m=l.d,s=l.m,M=l.n,u=e*8;do{if(!p){v=i2(a,n,1);var A=i2(a,n+1,3);if(n+=3,!A){var H=of(n)+4,g=a[H-4]|a[H-3]<<8,F=H+g;if(F>e){if(Z)_5(0);break}if(h)i(d+g);c.set(a.subarray(H,F),d),l.b=d+=g,l.p=n=F*8,l.f=v;continue}else if(A==1)p=lf,m=cf,s=9,M=5;else if(A==2){var D=i2(a,n,31)+257,x=i2(a,n+10,15)+4,b=D+i2(a,n+5,31)+1;n+=14;var T=new u5(b),n1=new u5(19);for(var c1=0;c1<x;++c1)n1[QV[c1]]=i2(a,n+c1*3,7);n+=x*3;var Y=br(n1),C=(1<<Y)-1,w=g8(n1,Y,1);for(var c1=0;c1<b;){var U=w[i2(a,n,C)];n+=U&15;var H=U>>4;if(H<16)T[c1++]=H;else{var J=0,j=0;if(H==16)j=3+i2(a,n,3),n+=2,J=T[c1-1];else if(H==17)j=3+i2(a,n,7),n+=3;else if(H==18)j=11+i2(a,n,127),n+=7;while(j--)T[c1++]=J}}var d1=T.subarray(0,D),q=T.subarray(D);s=br(d1),M=br(q),p=g8(d1,s,1),m=g8(q,M,1)}else _5(1);if(n>u){if(Z)_5(0);break}}if(h)i(d+131072);var m1=(1<<s)-1,H1=(1<<M)-1,K=n;for(;;K=n){var J=p[Or(a,n)&m1],I=J>>4;if(n+=J&15,n>u){if(Z)_5(0);break}if(!J)_5(2);if(I<256)c[d++]=I;else if(I==256){K=n,p=null;break}else{var R1=I-254;if(I>264){var c1=I-257,k1=Jn[c1];R1=i2(a,n,(1<<k1)-1)+Qn[c1],n+=k1}var o0=m[Or(a,n)&H1],q5=o0>>4;if(!o0)_5(3);n+=o0&15;var q=NV[q5];if(q5>3){var k1=$n[q5];q+=Or(a,n)&(1<<k1)-1,n+=k1}if(n>u){if(Z)_5(0);break}if(h)i(d+131072);var n2=d+R1;if(d<q){var v2=r-q,z5=Math.min(q,n2);if(v2+d<0)_5(3);for(;d<z5;++d)c[d]=o[v2+d]}for(;d<n2;++d)c[d]=c[d-q]}}if(l.l=p,l.p=K,l.b=d,l.f=v,p)v=1,l.m=s,l.d=m,l.n=M}while(!v);return d!=c.length&&t?Er(c,0,d):c.subarray(0,d)};var nk=/*@__PURE__*/new u5(0);var vk=function(a,l){var c={};for(var o in a)c[o]=a[o];for(var o in l)c[o]=l[o];return c},KV=function(a,l,c){var o=a(),e=a.toString(),r=e.slice(e.indexOf("[")+1,e.lastIndexOf("]")).replace(/\s+/g,"").split(",");for(var t=0;t<o.length;++t){var h=o[t],Z=r[t];if(typeof h=="function"){l+=";"+Z+"=";var i=h.toString();if(h.prototype)if(i.indexOf("[native code]")!=-1){var v=i.indexOf(" ",8)+1;l+=i.slice(v,i.indexOf("(",v))}else{l+=i;for(var n in h.prototype)l+=";"+Z+".prototype."+n+"="+h.prototype[n].toString()}else l+=i}else c[Z]=h}return l},Br=[],dk=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},pk=function(a,l,c,o){if(!Br[c]){var e="",r={},t=a.length-1;for(var h=0;h<t;++h)e=KV(a[h],e,r);Br[c]={c:KV(a[t],e,r),e:r}}var Z=vk({},Br[c].e);return Zk(Br[c].c+";onmessage=function(e){for(var k in e.data)self[k]=e.data[k];onmessage="+l.toString()+"}",c,Z,dk(Z),o)},mk=function(){return[u5,q4,$V,Jn,$n,QV,Qn,NV,lf,cf,Tr,ef,g8,br,i2,Or,of,Er,_5,rf,Yn,tf,hf]};var tf=function(a){return postMessage(a,[a.buffer])},hf=function(a){return a&&{out:a.size&&new u5(a.size),dictionary:a.dictionary}},sk=function(a,l,c,o,e,r){var t=pk(c,o,e,function(h,Z){t.terminate(),r(h,Z)});return t.postMessage([a,l],l.consume?[a.buffer]:[]),function(){t.terminate()}};var u7=function(a,l){return a[l]|a[l+1]<<8},q2=function(a,l){return(a[l]|a[l+1]<<8|a[l+2]<<16|a[l+3]<<24)>>>0},zn=function(a,l){return q2(a,l)+q2(a,l+4)*4294967296};function Mk(a,l,c){if(!c)c=l,l={};if(typeof c!="function")_5(7);return sk(a,l,[mk],function(o){return tf(Yn(o.data[0],hf(o.data[1])))},1,c)}function Yn(a,l){return rf(a,{i:2},l&&l.out,l&&l.dictionary)}var Kn=typeof TextDecoder!="undefined"&&/*@__PURE__*/new TextDecoder,_k=0;try{Kn.decode(nk,{stream:!0}),_k=1}catch(a){}var uk=function(a){for(var l="",c=0;;){var o=a[c++],e=(o>127)+(o>223)+(o>239);if(c+e>a.length)return{s:l,r:Er(a,c-1)};if(!e)l+=String.fromCharCode(o);else if(e==3)o=((o&15)<<18|(a[c++]&63)<<12|(a[c++]&63)<<6|a[c++]&63)-65536,l+=String.fromCharCode(55296|o>>10,56320|o&1023);else if(e&1)l+=String.fromCharCode((o&31)<<6|a[c++]&63);else l+=String.fromCharCode((o&15)<<12|(a[c++]&63)<<6|a[c++]&63)}};function Ak(a,l){if(l){var c="";for(var o=0;o<a.length;o+=16384)c+=String.fromCharCode.apply(null,a.subarray(o,o+16384));return c}else if(Kn)return Kn.decode(a);else{var e=uk(a),r=e.s,c=e.r;if(c.length)_5(8);return r}}var Hk=function(a,l){return l+30+u7(a,l+26)+u7(a,l+28)},Vk=function(a,l,c){var o=u7(a,l+28),e=Ak(a.subarray(l+46,l+46+o),!(u7(a,l+8)&2048)),r=l+46+o,t=q2(a,l+20),h=c&&t==4294967295?fk(a,r):[t,q2(a,l+24),q2(a,l+42)],Z=h[0],i=h[1],v=h[2];return[u7(a,l+10),Z,i,e,r+u7(a,l+30)+u7(a,l+32),v]},fk=function(a,l){for(;u7(a,l)!=1;l+=4+u7(a,l+2));return[zn(a,l+12),zn(a,l+4),zn(a,l+20)]};var JV=typeof queueMicrotask=="function"?queueMicrotask:typeof setTimeout=="function"?setTimeout:function(a){a()};function Zf(a,l,c){if(!c)c=l,l={};if(typeof c!="function")_5(7);var o=[],e=function(){for(var M=0;M<o.length;++M)o[M]()},r={},t=function(M,u){JV(function(){c(M,u)})};JV(function(){t=c});var h=a.length-22;for(;q2(a,h)!=101010256;--h)if(!h||a.length-h>65558)return t(_5(13,0,1),null),e;var Z=u7(a,h+8);if(Z){var i=Z,v=q2(a,h+16),n=v==4294967295||i==65535;if(n){var d=q2(a,h-12);if(n=q2(a,d)==101075792,n)i=Z=q2(a,d+32),v=q2(a,d+48)}var p=l&&l.filter,m=function(M){var u=Vk(a,v,n),A=u[0],H=u[1],g=u[2],F=u[3],D=u[4],x=u[5],b=Hk(a,x);v=D;var T=function(c1,Y){if(c1)e(),t(c1,null);else{if(Y)r[F]=Y;if(!--Z)t(null,r)}};if(!p||p({name:F,size:H,originalSize:g,compression:A}))if(!A)T(null,Er(a,b,b+H));else if(A==8){var n1=a.subarray(b,b+H);if(g<524288||H>0.8*g)try{T(null,Yn(n1,{out:new u5(g)}))}catch(c1){T(c1,null)}else o.push(Mk(n1,{size:g},T))}else T(_5(14,"unknown compression type "+A,1),null);else T(null,null)};for(var s=0;s<i;++s)m(s)}else t(null,{});return e}async function nf(a){let l=await a.arrayBuffer(),c={data:[],warnings:[],error:"",isError:!1},o=new Promise((n,d)=>{Zf(new Uint8Array(l),(p,m)=>{if(p)d(p);n(m)})}),e=void 0;try{e=await o}catch(n){return c.error=`${n}`,c.isError=!0,c}let r=[];Object.keys(e).forEach((n)=>{r.push(n)});let t=r.find((n)=>n.toLowerCase().endsWith(I0));if(!t)c.warnings.push("No manifest file found in the zip."),t="";let h=t.lastIndexOf("/"),Z="";if(h>-1)Z=t.substring(0,h+1);let i=r.filter((n)=>!n.startsWith(Z)),v=r.filter((n)=>n.startsWith(Z));if(i.length>0)c.warnings.push("Some files are not in the root directory and wont be included."),c.warnings.push(...i.map((n)=>`File: ${n}`));return v.forEach((n)=>{let d=e[n],p=n.substring(Z.length);if(d.length>0)c.data.push({fileName:p,content:d})}),c}var vf={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"},df={borderColor:u2.colorCompoundBrandForeground1},pf={borderColor:u2.colorPaletteGreenForeground1},mf={borderColor:u2.colorPaletteRedForeground1};var Y7=q0([]),Wr=q0(!1);function sf(){let[a,l]=Z1(0);async function c(o){Y7.value=[...o];let e=sV(l0,L1.value.name,o),r=await e.next(),t=1;while(!r.done){l(t++);let h=r.value,Z=o.find((v)=>v.fileName===h.fileName),i=h.fileName.toLowerCase().endsWith(I0);if(Z)Z.status=h.success?"uploaded":"error";if(i&&h.success&&Z){let v=T1(L1.value),n=(/*@__PURE__*/new TextDecoder()).decode(Z.content),d=JSON.parse(n);v.manifest=d,Z2(v,!0)}Y7.value=[...o],r=await e.next()}setTimeout(()=>{Wr.value=!0,l(0)},3000)}return/*@__PURE__*/_(t1,{gap:16,children:/*@__PURE__*/_(t1,{children:/*@__PURE__*/_(qV,{useFsAccessApi:!1,onDropAccepted:(o,e)=>{if(o.length===1&&o[0].name.endsWith(".zip")){nf(o[0]).then((r)=>{let t=r.data.map((h)=>{return{status:"uploading",...h}});c(t)});return}mV(o).then((r)=>{let t=r.data.map((h)=>{return{status:"uploading",...h}});c(t)})},multiple:!0,noClick:!0,noKeyboard:!0,children:({getRootProps:o,getInputProps:e,isFocused:r,isDragAccept:t,isDragReject:h,open:Z})=>/*@__PURE__*/_("div",{...o({style:{...vf,...r?df:{},...t?pf:{},...h?mf:{}}}),children:Y7.value.some((i)=>i.status==="uploading")?/*@__PURE__*/_(_4,{validationMessage:`Uploaded ${a} of ${Y7.value.length} files `,validationState:"none",validation:!0,style:{width:"100%"},children:/*@__PURE__*/_(I7,{max:Y7.value.length-1,value:a,thickness:"large"},void 0,!1,void 0,this)},void 0,!1,void 0,this):/*@__PURE__*/_(p1,{children:[/*@__PURE__*/_("input",{...e()},void 0,!1,void 0,this),/*@__PURE__*/_(h7,{children:[/*@__PURE__*/_(O6,{children:"Choose a file(s) "},void 0,!1,void 0,this),"or drag it here"]},void 0,!0,void 0,this),/*@__PURE__*/_(f1,{appearance:"primary",onClick:Z,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 Xn({jsFiles:a}){let l=L1.value,c=U7();async function o(e,r){if(!l)return;if(e)l.manifest.appRelativeEntryPointUrls.push(r);if(!e)l.manifest.appRelativeEntryPointUrls=l.manifest.appRelativeEntryPointUrls.filter((t)=>t!==r);Z2(l,!0)}if(!l)return null;return/*@__PURE__*/_(k2,{...c,separator:!0,open:F8.value,onOpenChange:(e,{open:r})=>{F8.value=r?F8.value:void 0},style:{width:"440px"},children:[/*@__PURE__*/_(U2,{children:/*@__PURE__*/_(G2,{action:/*@__PURE__*/_(f1,{appearance:"subtle","aria-label":"Close",icon:/*@__PURE__*/_(o7,{},void 0,!1,void 0,this),onClick:()=>F8.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__*/_(y2,{children:/*@__PURE__*/_(t1,{gap:16,style:{padding:"12px 0px"},children:[/*@__PURE__*/_(sf,{},void 0,!1,void 0,this),/*@__PURE__*/_(t1,{gap:4,children:[a.map((e)=>/*@__PURE__*/_(V0,{label:e,labelPosition:"before",defaultChecked:l.manifest.appRelativeEntryPointUrls.some((r)=>r===e),onChange:(r,t)=>{o(t.checked,e)},root:{style:{justifyContent:"space-between"}}},void 0,!1,void 0,this)),/*@__PURE__*/_(t1,{gap:20,style:{marginTop:"10px",padding:"0px 10px 0 8px"},children:Y7.value.map((e)=>/*@__PURE__*/_(t1,{horizontalAlign:"space-between",horizontal:!0,children:[/*@__PURE__*/_(t1,{children:e.fileName},void 0,!1,void 0,this),e.status==="uploaded"&&/*@__PURE__*/_(Y0,{size:"medium",appearance:"ghost",color:"success",icon:/*@__PURE__*/_(aM,{},void 0,!1,void 0,this)},void 0,!1,void 0,this),e.status==="error"&&/*@__PURE__*/_(Y0,{size:"medium",appearance:"ghost",color:"danger",icon:/*@__PURE__*/_(eM,{},void 0,!1,void 0,this)},void 0,!1,void 0,this),e.status==="uploading"&&/*@__PURE__*/_(E5,{size:"tiny"},void 0,!1,void 0,this)]},e.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 F8=q0(void 0);function Mf(){let[a,l]=Z1([]),c=L1.value;I5(()=>{if(!L1.value)return;r()}),I5(()=>{if(Wr.value===!0)r(),Wr.value=!1,Y7.value=[]});let o=E(null),e=$((t)=>{o.current?.setTarget(t)},[o]);async function r(){if(!L1.value)return;let t=await MV(l0,L1.value.name);l(t)}if(!c)return null;return/*@__PURE__*/_(p1,{children:[/*@__PURE__*/_(t1,{horizontal:!0,horizontalAlign:"space-between",verticalAlign:"center",style:{borderBottom:"1px solid #eaeaea",paddingBottom:"10px"},children:[/*@__PURE__*/_(n5,{children:"Entry points"},void 0,!1,void 0,this),/*@__PURE__*/_(t1,{horizontal:!0,verticalAlign:"center",children:[/*@__PURE__*/_(V0,{ref:e,checked:c.manifest.isESM,label:"ESM",labelPosition:"before",onChange:(t,h)=>{c.manifest.isESM=h.checked,Z2(c)}},void 0,!1,void 0,this),/*@__PURE__*/_(g2,{positioning:{positioningRef:o},withArrow:!0,children:[/*@__PURE__*/_(c2,{disableButtonEnhancement:!0,children:/*@__PURE__*/_(T0,{children:/*@__PURE__*/_(Wo,{},void 0,!1,void 0,this)},void 0,!1,void 0,this)},void 0,!1,void 0,this),/*@__PURE__*/_(f2,{tabIndex:-1,children:/*@__PURE__*/_(o2,{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((t)=>c.manifest.appRelativeEntryPointUrls.some((h)=>t===h)).map((t)=>/*@__PURE__*/_(t1,{horizontal:!0,gap:4,verticalAlign:"center",children:[/*@__PURE__*/_(tM,{},void 0,!1,void 0,this)," ",t]},void 0,!0,void 0,this)),/*@__PURE__*/_(f1,{onClick:()=>{F8.value="edit"},children:"Upload / Edit"},void 0,!1,void 0,this),/*@__PURE__*/_(Xn,{jsFiles:a},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}function _f(){let a=L1.value;if(!a)return null;return/*@__PURE__*/_(t1,{horizontal:!0,gap:20,children:[/*@__PURE__*/_(t1,{gap:16,style:{paddingBottom:"20px",flexBasis:"300px",flexShrink:0,paddingRight:"20px",borderRight:"1px solid #eaeaea"},children:/*@__PURE__*/_(Mf,{},void 0,!1,void 0,this)},void 0,!1,void 0,this),/*@__PURE__*/_(t1,{style:{flexGrow:1},children:[/*@__PURE__*/_(t1,{horizontal:!0,horizontalAlign:"space-between",verticalAlign:"center",style:{minHeight:"32px"},children:[/*@__PURE__*/_(t1,{horizontal:!0,gap:16,verticalAlign:"center",children:[/*@__PURE__*/_(n5,{children:"App/Entry Point Configuration"},void 0,!1,void 0,this),/*@__PURE__*/_(ZV,{},void 0,!1,void 0,this)]},void 0,!0,void 0,this),/*@__PURE__*/_(t1,{gap:8,horizontal:!0,children:[/*@__PURE__*/_(V0,{checked:a.manifest.enableCaching,label:"Enable caching",onChange:(l,c)=>{a.manifest.enableCaching=c.checked,Z2(a)}},void 0,!1,void 0,this),/*@__PURE__*/_(s5,{placeholder:"Cache string",disabled:!a.manifest.enableCaching,type:"text",value:a.manifest.cacheString??"",onChange:(l,c)=>{a.manifest.cacheString=c.value,Z2(a)}},void 0,!1,void 0,this),/*@__PURE__*/_(f1,{size:"medium",disabled:!a.manifest.enableCaching,onClick:async()=>{a.manifest.cacheString=await hV(),Z2(a)},children:"Generate"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),/*@__PURE__*/_(pV,{},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)}function uf(){let[a,l]=Z1(""),[c,o]=Z1(!1);I5(()=>{if(!L1.value)return;let r=JSON.stringify(L1.value);if(!a){l(r);return}l(r),o(a!==r)});async function e(){let r=L1.value;await wH(l0,r.name,r.manifest),Z2(r,!0),L1.value=void 0}if(!L1.value)return null;return/*@__PURE__*/_(t1,{gap:20,style:{height:"100%"},children:[/*@__PURE__*/_(t1,{horizontalAlign:"space-between",horizontal:!0,verticalAlign:"center",children:[/*@__PURE__*/_(t1,{gap:10,horizontal:!0,verticalAlign:"center",children:[/*@__PURE__*/_(f1,{appearance:"secondary",icon:/*@__PURE__*/_(Ys,{},void 0,!1,void 0,this),onClick:()=>{L1.value=void 0}},void 0,!1,void 0,this),/*@__PURE__*/_(T6,{children:["Configuration of ",L1.value.name]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),/*@__PURE__*/_(t1,{horizontal:!0,gap:15,children:/*@__PURE__*/_(SH,{children:/*@__PURE__*/_(f1,{appearance:"primary",disabled:!c,onClick:e,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__*/_(_f,{},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}var jn=p8(),Ir=jn??G4(),Pr=fr();function gk(){let a=[];if(W2)return a.push(/*@__PURE__*/_(Y0,{size:"extra-large",shape:"rounded",color:"danger",children:"Global"},"global",!1,void 0,this)),a;if(Pr==="hubRoot")a.push(/*@__PURE__*/_(Y0,{size:"extra-large",shape:"rounded",color:"success",children:"Hub root site"},"hubRoot",!1,void 0,this));if(Pr==="hubChild")a.push(/*@__PURE__*/_(Y0,{size:"extra-large",shape:"rounded",color:"warning",children:"Hub child site"},"child",!1,void 0,this));if(Pr==="nonHub")a.push(/*@__PURE__*/_(Y0,{size:"extra-large",shape:"rounded",color:"brand",children:"Non hub site"},"nonhub",!1,void 0,this));if(Pr==="subsite")a.push(/*@__PURE__*/_(Y0,{size:"extra-large",shape:"rounded",color:"informative",children:"Sub site"},"subsite",!1,void 0,this));else a.push(/*@__PURE__*/_(Y0,{size:"extra-large",shape:"rounded",color:"informative",children:"Site collection"},"siteCollectionRoot",!1,void 0,this));return a}function Af(){let[a]=ro(),{dispatchToast:l}=R4(U3);if(a)return s1("Error in App component:",a),/*@__PURE__*/_("div",{children:["Error: ",a.message]},void 0,!0,void 0,this);let c=()=>l(/*@__PURE__*/_(w2,{children:/*@__PURE__*/_(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:Ir});return/*@__PURE__*/_(t1,{style:{padding:"30px"},gap:20,children:[/*@__PURE__*/_(t1,{horizontal:!0,gap:16,verticalAlign:"center",children:[/*@__PURE__*/_(E6,{children:[jn?"Web":"Global"," application list"]},void 0,!0,void 0,this),...gk()]},void 0,!0,void 0,this),jn&&/*@__PURE__*/_(t1,{horizontal:!0,gap:8,verticalAlign:"center",children:[/*@__PURE__*/_(T0,{target:"_blank",href:Ir,children:Ir},void 0,!1,void 0,this),/*@__PURE__*/_(lM,{onClick:()=>{navigator.clipboard.writeText(Ir),c()}},void 0,!1,void 0,this)]},void 0,!0,void 0,this),/*@__PURE__*/_(DH,{},void 0,!1,void 0,this),/*@__PURE__*/_(uf,{},void 0,!1,void 0,this),/*@__PURE__*/_(RH,{},void 0,!1,void 0,this),/*@__PURE__*/_(AH,{},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}var Hf=We(window.__globalSettings__.customizations.settings.theme.palette),Fk=window.__globalSettings__.customizations.settings.theme.isInverted?C6(Hf):n3(Hf);document.querySelector("#spCommandBar button[name='Edit']")?.setAttribute("style","display:none;");function Vf(a){return/*@__PURE__*/_(l4,{theme:Fk,style:{height:"100%"},children:/*@__PURE__*/_(Af,{},void 0,!1,void 0,this)},void 0,!1,void 0,this)}async function BL1(a){if(a.domElement)A7(Vf({instance:a}),a.domElement);return()=>{if(a.domElement)A7(null,a.domElement)}}export{BL1 as launch};
|
|
169
|
+
`),p="";s.push(`--batch_${t}--
|
|
170
|
+
`);let M=await Y(r,{body:s.join(""),headers:{"Content-Type":`multipart/mixed; boundary=batch_${t}`}});if(M.length!==m.length)throw Error("Could not properly parse responses to match requests in batch.");for(let u=0;u<M.length;u++)m[u][3](M[u])}await Promise.all(o).then(()=>{return})}]}function J3(){return(a)=>{return a.on.pre.prepend(async function(l,c,o){return c.headers={...c.headers,"X-PnP-BatchNever":"1"},[l,c,o]}),a}}function Hw(a){let l=[],c="--batchresponse_",o=new RegExp("^HTTP/[0-9.]+ +([0-9]+) +(.*)","i"),e=a.split(`
|
|
171
|
+
`),r="batch",t,h,Z={},i=[];for(let n=0;n<e.length;++n){let v=e[n];switch(r){case"batch":if(v.substring(0,16)==="--batchresponse_")r="batchHeaders";else if(v.trim()!=="")throw Error(`Invalid response, line ${n}`);break;case"batchHeaders":if(v.trim()==="")r="status";break;case"status":{let d=o.exec(v);if(d.length!==3)throw Error(`Invalid status, line ${n}`);t=parseInt(d[1],10),h=d[2],r="statusHeaders";break}case"statusHeaders":if(v.trim()==="")r="body";else{let d=v.split(":");if((d===null||d===void 0?void 0:d.length)===2)Z[d[0].trim()]=d[1].trim()}break;case"body":i.length=0;while(v.substring(0,16)!=="--batchresponse_")i.push(v),v=e[++n];n--,l.push(new Response(t===204?null:i.join(""),{status:t,statusText:h,headers:Z})),r="batch",Z={};break}}if(r!=="status")throw Error("Unexpected end of input");return l}function jH(a){let l=/*@__PURE__*/new Date;return!L0(a)||l>a.expiration?null:a}var aV=/*@__PURE__*/new Map;function Pr(a){return(l)=>{return l.on.pre(async function(c,o,e){return this.on.auth(async(r,t)=>{if(/get/i.test(t.method)||t.headers&&($1(t.headers,"X-RequestDigest")||$1(t.headers,"Authorization")||$1(t.headers,"X-PnPjs-NoDigest")))return[r,t];let h=r.toString(),Z=n0(h),i=jH(aV.get(Z));if(!L0(i)&&U5(a))i=jH(a(h,t));if(!L0(i))i=await Y(b0([this,I1(Z,"_api/contextinfo")]).using(Br(),J3()),{headers:{Accept:"application/json","X-PnPjs-NoDigest":"1"}}).then((n)=>({expiration:z3(/*@__PURE__*/new Date,"second",n.FormDigestTimeoutSeconds),value:n.FormDigestValue}));if(L0(i))t.headers={"X-RequestDigest":i.value,...t.headers},aV.set(Z,i);return[r,t]}),[c,o,e]}),l}}function zr(a){if((a===null||a===void 0?void 0:a.baseUrl)&&!B0(a.baseUrl))throw Error("SPBrowser props.baseUrl must be absolute when supplied.");return(l)=>{if(l.using(qr(),Ir(),Tr(),Gr(),Pr()),B0(a===null||a===void 0?void 0:a.baseUrl))l.on.pre.prepend(async(c,o,e)=>{if(!B0(c))c=I1(a.baseUrl,c);return[c,o,e]});return l}}class Rv 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 Rv(a)}}function lV(a){return Rv.check("SPFx",a),(l)=>{return l.using(qr(),Ir(),Tr(),Gr(),Pr((c)=>{var o,e,r;if(new RegExp(`^${I1(a.pageContext.web.absoluteUrl,"/_api")}`,"i").test(c)&&((e=(o=a===null||a===void 0?void 0:a.pageContext)===null||o===void 0?void 0:o.legacyPageContext)===null||e===void 0?void 0:e.formDigestValue)){let h=new Date(a.pageContext.legacyPageContext.formDigestValue.split(",")[1]);return{value:a.pageContext.legacyPageContext.formDigestValue,expiration:z3(h,"second",((r=a.pageContext.legacyPageContext)===null||r===void 0?void 0:r.formDigestTimeoutSeconds)-15||1585)}}})),l.on.pre.prepend(async(c,o,e)=>{if(!B0(c))c=I1(a.pageContext.web.absoluteUrl,c);return[c,o,e]}),l}}var Sv=class a extends p5{getById(l){return f0(this).concat(`('${l}')`)}getByTitle(l){return f0(this,`getByTitle('${Q1(l)}')`)}async add(l,c="",o=100,e=!1,r={}){let t={AllowContentTypes:e,BaseTemplate:o,ContentTypesEnabled:e,Description:c,Title:l,...r};return Y(this,B1(t))}async ensure(l,c="",o=100,e=!1,r={}){let t={Title:l,Description:c,ContentTypesEnabled:e,...r},h=this.getByTitle(t.Title);try{return await h.select("Title")(),{created:!1,data:await h.update(t),list:this.getByTitle(t.Title)}}catch(Z){return{created:!0,data:await this.add(l,c,o,e,t),list:this.getByTitle(t.Title)}}}async ensureSiteAssetsLibrary(){let l=await Y(Qc(this,"ensuresiteassetslibrary"));return f0([this,z2(l)])}async ensureSitePagesLibrary(){let l=await Y(Qc(this,"ensuresitepageslibrary"));return f0([this,z2(l)])}};Sv=e0([c5("lists")],Sv);var Qc=j1(Sv);class La extends l5{constructor(){super(...arguments);this.delete=t3()}get effectiveBasePermissions(){return b0(this,"EffectiveBasePermissions")}get eventReceivers(){return K5(this,"EventReceivers")}get relatedFields(){return b0(this,"getRelatedFields")}get informationRightsManagementSettings(){return b0(this,"InformationRightsManagementSettings")}async update(a,l="*"){return await Fa(this,B1(a,ga({"IF-Match":l})))}getChanges(a){return Y(f0(this,"getchanges"),B1({query:a}))}getItemsByCAMLQuery(a,...l){return Y(f0(this,"getitems").expand(...l),B1({query:a}))}getListItemChangesSinceToken(a){return Y(f0(this,"getlistitemchangessincetoken").using(Ha()),B1({query:a}))}async recycle(){return Y(f0(this,"recycle"))}async renderListData(a){let l=f0(this,"renderlistdata(@viewXml)");l.query.set("@viewXml",`'${a}'`);let c=await Y(l);return JSON.parse(c)}renderListDataAsStream(a,l=null,c=/*@__PURE__*/new Map){if($1(a,"RenderOptions")&&Q0(a.RenderOptions))a.RenderOptions=a.RenderOptions.reduce((r,t)=>r+t);let o=f0(this,"RenderListDataAsStream");if(c&&c.size>0)c.forEach((r,t)=>o.query.set(t,r));let e=L0(l)?{parameters:a,overrideParameters:l}:{parameters:a};return Y(o,B1(e))}async renderListFormData(a,l,c){let o=await Y(f0(this,`renderlistformdata(itemid=${a}, formid='${l}', mode='${c}')`));return JSON.parse(o)}async reserveListItemId(){return Y(f0(this,"reservelistitemid"))}async addValidateUpdateItemUsingPath(a,l,c=!1,o,e){let r={FolderPath:F7(l)};if(L0(e)){if(e.leafName)r.LeafName=F7(e.leafName);if(e.objectType)r.UnderlyingObjectType=e.objectType}return Y(f0(this,"AddValidateUpdateItemUsingPath()"),B1({bNewDocumentUpdate:c,checkInComment:o,formValues:a,listItemCreateInfo:r}))}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 f0=j1(La),Dv;(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"})(Dv||(Dv={}));var wv;(function(a){a[a.Display=1]="Display",a[a.Edit=2]="Edit",a[a.New=3]="New"})(wv||(wv={}));var kv=class a extends p5{getById(l){return n2(this).concat(`(${l})`)}getItemByStringId(l){return n2([this,this.parentUrl],`getItemByStringId('${l}')`)}skip(l,c=!1){if(c)this.query.set("$skiptoken",`Paged=TRUE&PagedPrev=TRUE&p_ID=${l}`);else this.query.set("$skiptoken",`Paged=TRUE&p_ID=${l}`);return this}[Symbol.asyncIterator](){let l=K5(this).using(i2(async(o)=>{let e=await o.json(),r=$1(e,"d")&&$1(e.d,"__next")?e.d.__next:e["odata.nextLink"];return{hasNext:typeof r==="string"&&r.length>0,nextLink:r,value:uv(e)}})),c=["$top","$select","$expand","$filter","$orderby","$skiptoken"];for(let o=0;o<c.length;o++){let e=this.query.get(c[o]);if(L0(e))l.query.set(c[o],e)}return{_next:l,async next(){if(this._next===null)return{done:!0,value:void 0};let o=await this._next();if(o.hasNext)return this._next=K5([this._next,o.nextLink]),{done:!1,value:o.value};else return this._next=null,{done:!1,value:o.value}}}}async add(l={}){return Y(this,B1(l))}};kv=e0([c5("items")],kv);var Uv=j1(kv);class Ra extends l5{constructor(){super(...arguments);this.delete=t3()}get effectiveBasePermissions(){return b0(this,"EffectiveBasePermissions")}get effectiveBasePermissionsForUI(){return b0(this,"EffectiveBasePermissionsForUI")}get fieldValuesAsHTML(){return v2(this,"FieldValuesAsHTML")}get fieldValuesAsText(){return v2(this,"FieldValuesAsText")}get fieldValuesForEdit(){return v2(this,"FieldValuesForEdit")}get versions(){return cV(this)}get list(){return this.getParent(f0,"",this.parentUrl.substring(0,this.parentUrl.lastIndexOf("/")))}async update(a,l="*"){let c=B1(a,ga({"IF-Match":l,"X-HTTP-Method":"MERGE"}));return Y(n2(this).using(Vw()),c)}recycle(){return Y(n2(this,"recycle"))}async deleteWithParams(a){return Y(n2(this,"DeleteWithParameters"),B1({parameters:a}))}async getWopiFrameUrl(a=0){let l=n2(this,"getWOPIFrameUrl(@action)");return l.query.set("@action",a),Y(l)}validateUpdateListItem(a,l=!1){return Y(n2(this,"validateupdatelistitem"),B1({formValues:a,bNewDocumentUpdate:l}))}async getParentInfos(){let a=await this.select("Id","ParentList/Id","ParentList/Title","ParentList/RootFolder/UniqueId","ParentList/RootFolder/ServerRelativeUrl","ParentList/RootFolder/ServerRelativePath","ParentList/ParentWeb/Id","ParentList/ParentWeb/Url","ParentList/ParentWeb/ServerRelativeUrl","ParentList/ParentWeb/ServerRelativePath").expand("ParentList","ParentList/RootFolder","ParentList/ParentWeb")();return{Item:{Id:a.Id},ParentList:{Id:a.ParentList.Id,Title:a.ParentList.Title,RootFolderServerRelativePath:a.ParentList.RootFolder.ServerRelativePath,RootFolderServerRelativeUrl:a.ParentList.RootFolder.ServerRelativeUrl,RootFolderUniqueId:a.ParentList.RootFolder.UniqueId},ParentWeb:{Id:a.ParentList.ParentWeb.Id,ServerRelativePath:a.ParentList.ParentWeb.ServerRelativePath,ServerRelativeUrl:a.ParentList.ParentWeb.ServerRelativeUrl,Url:a.ParentList.ParentWeb.Url}}}async setImageField(a,l,c){let o=await this.getParentInfos(),e=n0(this.toUrl()),r=b0([this,e],"/_api/web/UploadImage");r.concat("(listTitle=@a1,imageName=@a2,listId=@a3,itemId=@a4)"),r.query.set("@a1",`'${o.ParentList.Title}'`),r.query.set("@a2",`'${l}'`),r.query.set("@a3",`'${o.ParentList.Id}'`),r.query.set("@a4",o.Item.Id);let t=await Y(r,{body:c}),h={type:"thumbnail",fileName:t.Name,nativeFile:{},fieldName:a,serverUrl:o.ParentWeb.Url.replace(o.ParentWeb.ServerRelativeUrl,""),serverRelativeUrl:t.ServerRelativeUrl,id:t.UniqueId};return this.validateUpdateListItem([{FieldName:a,FieldValue:JSON.stringify(h)}])}}var n2=j1(Ra),yv=class a extends p5{getById(l){return eV(this).concat(`(${l})`)}};yv=e0([c5("versions")],yv);var cV=j1(yv);class oV extends l5{constructor(){super(...arguments);this.delete=t3()}}var eV=j1(oV);function Vw(){return i2(async(a)=>({etag:a.headers.get("etag")}))}Q3.prototype.getContextInfo=async function(a=this.parentUrl){let l=await Y(b0([this,n0(a)],"_api/contextinfo"));if($1(l,"GetContextWebInformation")){let c=l.GetContextWebInformation;return c.SupportedSchemaVersions=c.SupportedSchemaVersions.results,c}else return l};var Gv=class a extends p5{getByUrl(l){return K0(this).concat(`('${Q1(l)}')`)}async addUsingPath(l,c=!1){return Y(Jc(this,`addUsingPath(DecodedUrl='${Q1(l)}',overwrite=${c})`))}};Gv=e0([c5("folders")],Gv);var Jc=j1(Gv);class Sa extends l5{constructor(){super(...arguments);this.delete=t3()}get folders(){return Jc(this)}get listItemAllFields(){return v2(this,"listItemAllFields")}get parentFolder(){return K0(this,"parentFolder")}get properties(){return v2(this,"properties")}get storageMetrics(){return v2(this,"storagemetrics")}async update(a){return Fa(this,B1(a))}recycle(){return Y(K0(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(n2([this,z2(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 Y(K0(this,"DeleteWithParameters"),B1({parameters:a}))}async addSubFolderUsingPath(a){return await Y(K0(this,"AddSubFolderUsingPath"),B1({leafPath:F7(a)})),this.folders.getByUrl(a)}async getParentInfos(){let a=await this.select("ServerRelativeUrl","ListItemAllFields/ParentList/Id","ListItemAllFields/ParentList/RootFolder/UniqueId","ListItemAllFields/ParentList/RootFolder/ServerRelativeUrl","ListItemAllFields/ParentList/RootFolder/ServerRelativePath","ListItemAllFields/ParentList/ParentWeb/Id","ListItemAllFields/ParentList/ParentWeb/Url","ListItemAllFields/ParentList/ParentWeb/ServerRelativeUrl","ListItemAllFields/ParentList/ParentWeb/ServerRelativePath").expand("ListItemAllFields/ParentList","ListItemAllFields/ParentList/RootFolder","ListItemAllFields/ParentList/ParentWeb")();return{Folder:{ServerRelativeUrl:a.ServerRelativeUrl},ParentList:{Id:a.ListItemAllFields.ParentList.Id,RootFolderServerRelativePath:a.ListItemAllFields.ParentList.RootFolder.ServerRelativePath,RootFolderServerRelativeUrl:a.ListItemAllFields.ParentList.RootFolder.ServerRelativeUrl,RootFolderUniqueId:a.ListItemAllFields.ParentList.RootFolder.UniqueId},ParentWeb:{Id:a.ListItemAllFields.ParentList.ParentWeb.Id,ServerRelativePath:a.ListItemAllFields.ParentList.ParentWeb.ServerRelativePath,ServerRelativeUrl:a.ListItemAllFields.ParentList.ParentWeb.ServerRelativeUrl,Url:a.ListItemAllFields.ParentList.ParentWeb.Url}}}moveCopyImpl(a,l,c){let o=K0(this);return o.on.pre(Y4(async(e,r,t)=>{let{ServerRelativeUrl:h,["odata.id"]:Z}=await K0(this).using(J3()).select("ServerRelativeUrl")(),i=new URL(n0(Z));return e=I1(i.href,`/_api/SP.MoveCopyUtil.${c}()`),r=B1({destPath:F7(B0(a)?a:I1(i.origin,a)),options:l,srcPath:F7(I1(i.origin,h))},r),[e,r,t]})),Y(o).then(()=>tV(this,a))}}e0([f7],Sa.prototype,"moveByPath",null);e0([f7],Sa.prototype,"copyByPath",null);var K0=j1(Sa);function Kc(a,l){return K0([a,n0(a.toUrl())],`_api/web/getFolderByServerRelativePath(decodedUrl='${YH(l)}')`)}async function rV(a,l){let{WebFullUrl:c}=await K0(a).using(J3()).getContextInfo(l),{pathname:o}=new URL(l);return Kc(K0([a,I1(c,"_api/web")]),decodeURIComponent(o))}async function tV(a,l){return(B0(l)?rV:Kc)(a,l)}J0(La,"items",Uv);function gw(){return i2(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 Qr extends l5{getText(){return this.getParsed(Ha())}getBlob(){return this.getParsed(RH())}getBuffer(){return this.getParsed(SH())}getJSON(){return this.getParsed(Br())}getStream(){return b0(this,"$value").using(gw(),Av())(ga({binaryStringResponseBody:"true"}))}getParsed(a){return b0(this,"$value").using(a,Av())()}}var Da=class a extends p5{getByUrl(l){if(/%#/.test(l))throw Error("For file names containing % or # please use web.getFileByServerRelativePath");return E1(this).concat(`('${Q1(l)}')`)}async addUsingPath(l,c,o={Overwrite:!1}){let e=[`AddUsingPath(decodedurl='${Q1(l)}'`];if(o){if(o.Overwrite)e.push(",Overwrite=true");if(o.EnsureUniqueFileName)e.push(`,EnsureUniqueFileName=${o.EnsureUniqueFileName}`);if(o.AutoCheckoutOnInvalidData)e.push(",AutoCheckoutOnInvalidData=true");if(!G5(o.XorHash))e.push(`,XorHash=${Q1(o.XorHash)}`)}return e.push(")"),Y($c(this,e.join("")),{body:c})}async addChunked(l,c,o){let e=await this.addUsingPath(l,null,o),r=wa(this,e.ServerRelativeUrl);return r.using(Hv(()=>{return E1(r).delete()})),r.setContentChunked(c,o)}async addTemplateFile(l,c){return Y($c(this,`addTemplateFile(urloffile='${Q1(l)}',templatefiletype=${c})`))}};e0([f7],Da.prototype,"addUsingPath",null);e0([f7],Da.prototype,"addChunked",null);e0([f7],Da.prototype,"addTemplateFile",null);Da=e0([c5("files")],Da);var $c=j1(Da);class Yc extends Qr{constructor(){super(...arguments);this.delete=t3()}get listItemAllFields(){return v2(this,"listItemAllFields")}get versions(){return K3(this)}async getLockedByUser(){let a=await bH(E1(this,"lockedByUser"));if(a["odata.null"]===!0)return null;else return a}approve(a=""){return Y(E1(this,`approve(comment='${Q1(a)}')`))}cancelUpload(a){return Y(E1(this,`cancelUpload(uploadId=guid'${a}')`))}checkin(a="",l=Jr.Major){if(a.length>1023)throw Error("The maximum comment length is 1023 characters.");return Y(E1(this,`checkin(comment='${Q1(a)}',checkintype=${l})`))}checkout(){return Y(E1(this,"checkout"))}copyTo(a,l=!0){return Y(E1(this,`copyTo(strnewurl='${Q1(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 Y(E1(this,`deny(comment='${Q1(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 Y(E1(this,`publish(comment='${Q1(a)}')`))}recycle(){return Y(E1(this,"recycle"))}async deleteWithParams(a){return Y(E1(this,"DeleteWithParameters"),B1({parameters:a}))}undoCheckout(){return Y(E1(this,"undoCheckout"))}unpublish(a=""){if(a.length>1023)throw Error("The maximum comment length is 1023 characters.");return Y(E1(this,`unpublish(comment='${Q1(a)}')`))}async exists(){try{return(await E1(this).select("Exists")()).Exists}catch(a){return!1}}async setContent(a){return await Y(E1(this,"$value"),{body:a,headers:{"X-HTTP-Method":"PUT"}}),E1(this)}async getItem(...a){let c=await this.listItemAllFields.select(...a)();return Object.assign(n2([this,z2(c)]),c)}async setContentChunked(a,l){let{progress:c,chunkSize:o=10485760}=fw(l),e=r3(),r=!0,t,h=0,Z=E1(this).using(Hv(()=>{return E1(Z).cancelUpload(e)})),n=Fw(a).getReader(),v=new Uint8Array;while(t=await n.read()){if(t.value){let d=new Uint8Array(v.length+t.value.length);d.set(v),d.set(t.value,v.length),v=d}while(v.length>=o){let d=v.slice(0,o);if(v=v.slice(o),r)c({offset:h,stage:"starting",uploadId:e}),h=await Y(E1(Z,`startUpload(uploadId=guid'${e}')`),{body:d}),r=!1;else c({offset:h,stage:"continue",uploadId:e}),h=await Y(E1(Z,`continueUpload(uploadId=guid'${e}',fileOffset=${h})`),{body:d})}if(t.done){if(r)c({offset:h,stage:"starting",uploadId:e}),h=await Y(E1(Z,`startUpload(uploadId=guid'${e}')`),{body:v}),r=!1,v=new Uint8Array;return c({offset:h,stage:"finishing",uploadId:e}),Y(E1(Z,`finishUpload(uploadId=guid'${e}',fileOffset=${h})`),{body:v.length?v:""})}}}moveCopyImpl(a,l,c,o){let e=E1(this);return e.on.pre(Y4(async(r,t,h)=>{let{ServerRelativeUrl:Z,["odata.id"]:i}=await E1(this).using(J3()).select("ServerRelativeUrl")(),n=new URL(n0(i));return r=I1(n.toString(),`/_api/SP.MoveCopyUtil.${o}(overwrite=@a1)?@a1=${c}`),t=B1({destPath:F7(B0(a)?a:`${n.protocol}//${n.host}${a}`),options:l,srcPath:F7(B0(Z)?Z:`${n.protocol}//${n.host}${Z}`)},t),[r,t,h]})),Y(e).then(()=>ZV(this,a))}}e0([f7],Yc.prototype,"copyByPath",null);e0([f7],Yc.prototype,"moveByPath",null);e0([f7],Yc.prototype,"setContentChunked",null);var E1=j1(Yc);function wa(a,l){return E1([a,n0(a.toUrl())],`_api/web/getFileByServerRelativePath(decodedUrl='${Q1(l)}')`)}async function hV(a,l){let{WebFullUrl:c}=await E1(a).using(J3()).getContextInfo(l),{pathname:o}=new URL(l);return wa(E1([a,I1(c,"_api/web")]),decodeURIComponent(o))}async function ZV(a,l){return(B0(l)?hV:wa)(a,l)}var Bv=class a extends p5{getById(l){return vV(this).concat(`(${l})`)}deleteAll(){return Y(K3(this,"deleteAll"))}deleteById(l){return Y(K3(this,`deleteById(vid=${l})`))}recycleByID(l){return Y(K3(this,`recycleByID(vid=${l})`))}deleteByLabel(l){return Y(K3(this,`deleteByLabel(versionlabel='${Q1(l)}')`))}recycleByLabel(l){return Y(K3(this,`recycleByLabel(versionlabel='${Q1(l)}')`))}restoreByLabel(l){return Y(K3(this,`restoreByLabel(versionlabel='${Q1(l)}')`))}};Bv=e0([c5("versions")],Bv);var K3=j1(Bv);class iV extends Qr{constructor(){super(...arguments);this.delete=Wr()}}var vV=j1(iV),Jr;(function(a){a[a.Minor=0]="Minor",a[a.Major=1]="Major",a[a.Overwrite=2]="Overwrite"})(Jr||(Jr={}));var Tv;(function(a){a[a.None=0]="None",a[a.Overwrite=1]="Overwrite",a[a.AllowBrokenThickets=8]="AllowBrokenThickets",a[a.RetainEditorAndModifiedOnMove=2048]="RetainEditorAndModifiedOnMove"})(Tv||(Tv={}));var bv;(function(a){a[a.StandardPage=0]="StandardPage",a[a.WikiPage=1]="WikiPage",a[a.FormPage=2]="FormPage",a[a.ClientSidePage=3]="ClientSidePage"})(bv||(bv={}));function fw(a){return{progress:()=>null,...a}}function Fw(a){if(Lw(a))return a.stream();else if(Cw(a))return new ReadableStream({start(l){a.on("data",(c)=>{l.enqueue(c)}),a.on("end",()=>{l.close()})}});else if(Rw(a))return new ReadableStream({start(l){l.enqueue(a),l.close()}});else if(Sw(a))return a.readable;else return a}var xw=Symbol.toStringTag;function Cw(a){return typeof a.on==="function"}function Lw(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[xw])||/^(Blob|File)$/.test(a.constructor.name))}function Rw(a){return typeof a==="object"&&typeof a.length==="number"}function Sw(a){return typeof a==="object"&&typeof a.readable==="object"}J0(Sa,"files",$c);J0(Ra,"file",E1,"file");Z0.prototype.getFileByServerRelativePath=function(a){return wa(this,a)};Z0.prototype.getFileById=function(a){return E1(this,`getFileById('${a}')`)};Z0.prototype.getFileByUrl=function(a){return E1(this,`getFileByUrl('${Q1("!@p1::"+a)}')`)};J0(Ra,"folder",K0);J0(La,"rootFolder",K0);J0(Z0,"folders",Jc);J0(Z0,"rootFolder",K0);Z0.prototype.getFolderByServerRelativePath=function(a){return Kc(this,a)};Z0.prototype.getFolderById=function(a){return K0(this,`getFolderById('${a}')`)};J0(Z0,"lists",Qc);J0(Z0,"siteUserInfoList",f0);J0(Z0,"defaultDocumentLibrary",f0);J0(Z0,"customListTemplates",K5,"getcustomlisttemplates");Z0.prototype.getList=function(a){return f0(this,`getList('${Q1(a)}')`)};Z0.prototype.getCatalog=async function(a){let l=await d0(this,`getcatalog(${a})`).select("Id")();return f0([this,z2(l)])};function Ov(a,l){let c="_api/site",o=/(_api[/|\\](site|web))/i.exec(a);if((o===null||o===void 0?void 0:o.length)>0)a=n0(a),c=o[1];if((l===null||l===void 0?void 0:l.indexOf("_api"))<0)a=I1(a,c);return a}var j4=class a extends l5{constructor(l,c){if(typeof l==="string")l=Ov(l,c);else if(Q0(l))l=[l[0],Ov(l[1],c)];else l=[l,Ov(l.toUrl(),c)];super(l,c)}get rootWeb(){return d0(this,"rootweb")}getChanges(l){let c=B1({query:l});return Y(d0(this,"getchanges"),c)}async openWebById(l){let c=await Y(o5(this,`openWebById('${l}')`));return{data:c,web:d0([this,n0(z2(c))])}}async getRootWeb(){let l=await this.rootWeb.select("Url")();return d0([this,l.Url])}async delete(){let l=await o5(this,"").select("Id")(),c=o5([this,this.parentUrl],"_api/SPSiteManager/Delete");await Y(c,B1({siteId:l.Id}))}async getDocumentLibraries(l){let c=o5([this,this.parentUrl],"_api/sp.web.getdocumentlibraries(@v)");c.query.set("@v",`'${l}'`);let o=await c();return $1(o,"GetDocumentLibraries")?o.GetDocumentLibraries:o}async getWebUrlFromPageUrl(l){let c=o5([this,this.parentUrl],"_api/sp.web.getweburlfrompageurl(@v)");c.query.set("@v",`'${l}'`);let o=await c();return $1(o,"GetWebUrlFromPageUrl")?o.GetWebUrlFromPageUrl:o}async createCommunicationSite(l,c=1033,o=!1,e,r,t,h,Z,i){return this.createCommunicationSiteFromProps({Classification:t,Description:r,HubSiteId:Z,Lcid:c,Owner:i,ShareByEmailEnabled:o,SiteDesignId:h,Title:l,Url:e})}async createCommunicationSiteFromProps(l){let c={Classification:"",Description:"",HubSiteId:zc,Lcid:1033,ShareByEmailEnabled:!1,SiteDesignId:zc,WebTemplate:"SITEPAGEPUBLISHING#0",WebTemplateExtensionId:zc,...l};return Y(o5([this,n0(this.toUrl())],"/_api/SPSiteManager/Create"),B1({request:c}))}async exists(l){return Y(o5([this,n0(this.toUrl())],"/_api/SP.Site.Exists"),B1({url:l}))}async createModernTeamSite(l,c,o,e,r,t,h,Z,i){return this.createModernTeamSiteFromProps({alias:c,classification:t,description:r,displayName:l,hubSiteId:Z,isPublic:o,lcid:e,owners:h,siteDesignId:i})}async createModernTeamSiteFromProps(l){let c=Object.assign({},{classification:"",description:"",hubSiteId:zc,isPublic:!0,lcid:1033,owners:[]},l),o={alias:c.alias,displayName:c.displayName,isPublic:c.isPublic,optionalParams:{Classification:c.classification,CreationOptions:[`SPSiteLanguage:${c.lcid}`,`HubSiteId:${c.hubSiteId}`],Description:c.description,Owners:c.owners}};if(c.siteDesignId)o.optionalParams.CreationOptions.push(`implicit_formula_292aa8a00786498a87a5ca52d9f4214a_${c.siteDesignId}`);return Y(o5([this,n0(this.toUrl())],"/_api/GroupSiteManager/CreateGroupEx").using(Ha()),B1(o))}update(l){return EH(this,B1(l))}setSiteLogo(l){return Y(b0([this,n0(this.toUrl())],"_api/siteiconmanager/setsitelogo"),B1(l))}};j4=e0([c5("_api/site")],j4);var o5=j1(j4),Ev;(function(a){a[a.WebLogo=0]="WebLogo",a[a.HubLogo=1]="HubLogo",a[a.HeaderBackground=2]="HeaderBackground",a[a.GlobalNavLogo=3]="GlobalNavLogo"})(Ev||(Ev={}));var Wv;(function(a){a[a.Square=0]="Square",a[a.Rectangular=1]="Rectangular"})(Wv||(Wv={}));Reflect.defineProperty(P2.prototype,"site",{configurable:!0,enumerable:!0,get:function(){return this.create(o5)}});Reflect.defineProperty(P2.prototype,"web",{configurable:!0,enumerable:!0,get:function(){return this.create(d0)}});function ka(){return new URL(window.location.href).searchParams.get("web")??""}var nV=await cH();function Xc(a=""){let l=a?a:K4();if(!nV)return xa(l).using(zr());return xa(l).using(lV(nV))}function x7(a){return a.web.toUrl().replace("/_api/web","")}function dV(){let l=ka()??K4();return Xc(l)}function Kr(a){if(!a.appDefinitionMap)a.appDefinitionMap=[];if(!a.appRelativeEntryPointUrls)a.appRelativeEntryPointUrls=[];if(!a.manualEntries)a.manualEntries=[];return a}async function $r(a,l,c){let o=[],[e,r]=a.web.batched();for(let t of l)e.getFileByUrl(`${k1}/${t}/${P0}`).getText().then((h)=>{let Z=Iv(t);try{let i=JSON.parse(h);Kr(i),Z.manifest=i,Z.activated=c.includes(t),o.push(Z)}catch{o.push(Z)}}).catch(()=>{o.push(Iv(t))});return await r(),o}var Dw=["Forms"];async function ya(a,l){try{await br(a);let c=a.web.lists.getByTitle(k1).rootFolder,o=await Pv(a),e=await Ua(a);if(!o.some((r)=>r===l))await c.folders.addUsingPath(l),o.push(l);return C7.value=await $r(a,o,e.data.enabledAppCollections),C7.value.find((r)=>r.name===l)}catch(c){return c?.message}}async function mV(a,l){let o=a.web.lists.getByTitle(k1).rootFolder;try{let e=await o.folders.getByUrl(l)();await BH(a,a6.data.ServerRelativeUrl,l)}catch(e){_1(`Error while removing ${l} from ${k1} folder in ${x7(a)}`,e)}return!1}async function Pv(a){return await br(a),(await a.web.lists.getByTitle(k1).rootFolder.folders()).filter((o)=>!Dw.includes(o.Name)).map((o)=>o.Name)}async function Yr(a,l){qv.value=!0,await Ua(a);let c=x7(a),o=a.web.getFileByUrl(`${k1}/${h2}`);try{return await o.setContent(JSON.stringify(l)),!0}catch(e){return _1(`Error while updating ${h2} in ${k1} folder in ${c}`,e),!1}finally{qv.value=!1}}async function Ua(a){let l=a.web.getFileByUrl(`${k1}/${h2}`),c=x7(a),o=await l.exists(),e={data:Bc,error:"",isError:!1,warnings:[]};if(!o)return await br(a),await a.web.lists.getByTitle(k1).rootFolder.files.addUsingPath(h2,JSON.stringify(Bc)),y0(`Created ${h2} in ${k1} folder in ${c}`),e;try{let t=await(await l.getBlob()).text(),h=JSON.parse(t);if(!Array.isArray(h.enabledAppCollections)||!Array.isArray(h.urlMap)){let Z=`Invalid data inside ${h2} in ${k1} folder in ${c}, it should be an array`;return _1(Z),e.error=Z,e.isError=!0,e.data=Bc,e}return e.data=h,e}catch(r){let t=`Error while parsing ${h2} in ${k1} folder in ${c}`;return _1(t,r),e.error=t,e.isError=!0,e.data=Bc,e}}async function pV(a,l,c){if(c.some((t)=>t.indexOf("/")>-1))throw new Error("Nested path cannot contain /");let o=x7(a),e=a.web.getFolderByServerRelativePath(`${k1}/${l}`),r="";for(let t of c){if(r=`${r?`${r}/`:""}${t}`,!(await e.folders()).some((Z)=>Z.Name.toLowerCase()===t.toLowerCase()))y0(`Creating subfolder ${r} in ${k1}/${l} folder in ${o}`),await e.addSubFolderUsingPath(t);e=e.folders.getByUrl(t)}}var zv=class a extends p5{getById(l){return MV(this,`GetById?hubSiteId='${l}'`)}};zv=e0([c5("_api/hubsites")],zv);var Qv=j1(zv);class sV extends l5{async getSite(){let a=await this.select("SiteUrl")();return o5([this,a.SiteUrl])}}var MV=j1(sV);j4.prototype.joinHubSite=async function(a){await Y(o5(this,`joinHubSite('${a}')`))};j4.prototype.registerHubSite=async function(){await Y(o5(this,"registerHubSite"))};j4.prototype.unRegisterHubSite=async function(){await Y(o5(this,"unRegisterHubSite"))};Z0.prototype.hubSiteData=async function(a=!1){let l=await d0(this,`hubSiteData(${a})`)();if(typeof l==="string")return JSON.parse(l);return l};Z0.prototype.syncHubSiteTheme=function(){return Y(d0(this,"syncHubSiteTheme"))};Reflect.defineProperty(P2.prototype,"hubSites",{configurable:!0,enumerable:!0,get:function(){return this.create(Qv)}});function Jv(a,l){let c=a.findIndex((Z)=>Z.isHubRoot&&Z.hubid===l);if(c<0)return;let o=a.splice(c,1)[0],e={...o,webs:[o]},r={...o,sites:[e],webs:[]},t=Ga(a,r.siteId,l);e.webs.push(...t);let h=Nr(a,l);return r.sites.push(...h),r.webs.push(...Ga(a,r.siteId,l)),r}function Xr(a){let l=Object.groupBy(a,(i)=>i.hubid),c=Object.keys(l).filter((i)=>i&&i!==a5),o=Object.keys(l).filter((i)=>!i||i===a5),e=c.map((i)=>l[i]??[]).flat(),r=o.map((i)=>l[i]??[]).flat(),t=[],h=[],Z=[];for(let i of c){let n=Jv(e,i);if(!n)continue;t.push(n)}if(e.length>0)r.push(...e);return h.push(...Nr(r)),Z.push(...r),{hubs:t,sites:h,webs:Z}}function Nr(a,l){let c=[];function o(r){return l?r.isRootWeb&&r.hubid===l:r.isRootWeb}let e=a.findIndex(o);while(e>-1){let r=a.splice(e,1)[0],t=c.find((Z)=>Z.id===r.id);if(!t)t={...r,webs:[r]},c.push(t);let h=Ga(a,r.siteId);t.webs.push(...h.sort((Z,i)=>Z.url.localeCompare(i.url))),e=a.findIndex(o)}return c}function Ga(a,l,c){let o=[];function e(t){return c?t.siteId===l&&t.hubid===c:t.siteId===l}let r=a.findIndex(e);while(r>-1){let t=a.splice(r,1)[0];o.push(t),r=a.findIndex(e)}return o.sort((t,h)=>t.url.localeCompare(h.url))}function _V(a){let l=Object.groupBy(a,(r)=>r.sharepointIds.siteId),c=Object.keys(l),o=[];for(let r of c){let t=l[r];if(!t)continue;let h=t.sort((Z,i)=>Z.webUrl.localeCompare(i.webUrl));o.push({id:h[0].sharepointIds.webId,url:h[0].webUrl,siteId:h[0].sharepointIds.siteId,hubid:h[0].sharepointIds.hubSiteId,isHubRoot:h[0].sharepointIds.hubSiteId===h[0].sharepointIds.siteId,isRootWeb:!0})}return a.map((r)=>{return{id:r.sharepointIds.webId,url:r.webUrl,siteId:r.sharepointIds.siteId,hubid:r.sharepointIds.hubSiteId,isHubRoot:r.sharepointIds.hubSiteId===r.sharepointIds.siteId,isRootWeb:o.some((t)=>t.id===r.sharepointIds.webId),title:r.title,template:r.template.name}})}function jr(a,l,c){return{id:a.Id,url:a.Url,siteId:l,hubid:c,isHubRoot:!1,isRootWeb:!1}}function at(a,l,c){return a.map((o)=>{return jr(o,l,c)})}async function ww(a){let l=await HV(a);if(l.isError)return _1("Unable to get web info",l.error),[];let c=await $v(l.data);return[...l.data,...c.filter((o)=>!o.isError).flatMap((o)=>o.data)]}async function $v(a){let l=[];for(let e of a){let r=Xc(e.Url);l.push(HV(r))}let c=await Promise.all(l),o=c.filter((e)=>!e.isError&&e.data.length>0).flatMap((e)=>e.data);if(o.length>0)c.push(...await $v(o));return c.some((e)=>e.data.length>0||e.isError)?c:[]}async function uV(a,l=!1){let c=Xc(a.origin+a.pathname),o={data:[],error:"",warnings:[],isError:!1};try{let e=await Xv(c);if(e.isError){let v=`Unable to get site info ${e.error}`;o.warnings.push(v),_1(v,a.href)}let r=await Yv(c);if(r.isError){let v=`Unable to get root web info ${r.error}`;o.warnings.push(v),_1(v,a.href)}let t=await Nv(c);if(t.isError){let v=`Unable to get web info ${t.error}`;return o.isError=!0,o.error=v,_1(v,a.href),o}if(!l||r.isError){let v=jr(t.data,e.data?.Id??a5,e.data?.HubSiteId??a5);return v.isRootWeb=r.data?.Id===t.data.Id,v.isHubRoot=e.data?.IsHubSite&&r.data?.Id===t.data.Id,o.data.push(v),o}let h=Xc(r.data.Url),Z=await ww(h),i=jr(r.data,e.data?.Id??a5,e.data?.HubSiteId??a5),n=at(Z,e.data?.Id??a5,e.data?.HubSiteId??a5);i.isRootWeb=!0,i.isHubRoot=e.data?.IsHubSite??!1,o.data.push(i),o.data.push(...n)}catch(e){o.isError=!0,o.error=`${e}`,_1("Unable to get web structure",a.href,e)}return o}async function lt(a){if(!ot())return;let l=Q2,c={hubid:a5,id:a5,url:"",siteId:a5,isHubRoot:!1,isRootWeb:!1,webs:[]};if(l.isError)return _1(`Unable to get site info ${l.error}`),c;let o=L7;if(o.isError)return _1(`Unable to get root web info ${o.error}`),c;let e=await kw(a);if(e.isError)return _1(`Unable to get root subweb info ${o.error}`),c;let r=await $v(e.data),t=at(e.data,l.data.Id,l.data.HubSiteId),h=at(r.filter((n)=>!n.isError).flatMap((n)=>n.data),l.data.Id,l.data.HubSiteId),Z=[...t,...h],i={hubid:l.data.HubSiteId,id:o.data.Id,url:o.data.Url,siteId:l.data.Id,isHubRoot:l.data.IsHubSite,isRootWeb:!0};return c={...i,webs:[i,...Ga(Z,l.data.Id)]},c}async function ct(a,l,c){if(!B5())return;if(!Kv)return;let o=c??Q2.data.HubSiteId,e=[];for await(let s of AV(a.web.toUrl().replace("_api/web",""),o))e.push(...s);let r={id:"",url:"",siteId:o,hubid:o,isHubRoot:!0,isRootWeb:!0,sites:[],webs:[]},t=_V(e),h=t.findIndex((s)=>s.hubid===o&&s.siteId===o),Z=h>-1?t.splice(h,1)[0]:void 0;if(!Z)q2("API Call did not return Hub ROOT",o),Z={id:L7.data.Id,url:L7.data.Url,hubid:o,siteId:o,isHubRoot:!0,isRootWeb:!0};r.id=Z.id,r.url=Z.url,r.hubid=Z.hubid,r.siteId=Z.siteId,r.sites.push({...Z,webs:[Z]});let i=Ga(t,Z.siteId),n=r.sites.find((s)=>s.id===Z.id);if(n)n.webs.push(...i);else r.webs.push(...i);let v=Nr(t);r.sites.push(...v),r.webs.push(...t);for(let s of Kv.webs.sort((p,M)=>p.url.localeCompare(M.url)))if(r.sites.flatMap((p)=>p.webs).findIndex((p)=>p.id===s.id)===-1){let p=r.sites.findIndex((M)=>M.siteId===s.siteId);if(p<0){r.sites.push({id:s.id,url:s.url,hubid:s.hubid,siteId:s.siteId,isHubRoot:!1,isRootWeb:!0,webs:[s]});continue}r.sites[p].webs.push(s),r.sites[p].webs=r.sites[p].webs.sort((M,u)=>M.url.localeCompare(u.url))}let d=Jv([...l],o);if(d){for(let s of d.sites){let p=r.sites.find((M)=>M.id===s.id);if(p){for(let M of s.webs)if(p.webs.find((A)=>A.id===M.id))continue;else p.webs.push(M);p.webs=p.webs.sort((M,u)=>M.url.localeCompare(u.url));continue}r.sites.push(s)}for(let s of d.webs)if(r.webs.find((M)=>M.id===s.id))continue;else r.webs.push(s)}let m=[];for(let s of r.webs){let p=r.sites.find((u)=>u.id===s.siteId);if(!p)continue;if(m.push({...s}),!p.webs.find((u)=>u.id===s.id))p.webs.push({...s}),p.webs=p.webs.sort((u,A)=>u.url.localeCompare(A.url))}return r.webs=r.webs.filter((s)=>m.findIndex((p)=>p.id===s.id)>-1),r.webs=r.webs.sort((s,p)=>s.url.localeCompare(p.url)),r}async function*AV(a,l,c=!0){let o=K5(a,c?"_api/v2.1/sites":"").using(zr());if(c)o.filter(`sharepointIds/hubSiteId eq '${l}'`).top(99);o.on.parse.replace(async(r,t,h)=>{let Z={"@odata.context":"",value:[],"@odata.nextLink":""};if(t.ok)try{return h=await t.json(),[r,t,h]}catch(i){return _1("Unable to parse hubdata response",r,i),[r,t,Z]}return _1("Error getting hubdata",r,t.statusText),[r,t,Z]});let e=await o();if(yield e.value,e["@odata.nextLink"])yield*AV(e["@odata.nextLink"],l,!1)}async function Yv(a){return Nc(()=>a.site.rootWeb(),{})}async function kw(a){return Nc(()=>a.site.rootWeb.webs(),[])}async function Xv(a){return Nc(()=>a.site(),{})}async function Nv(a){return Nc(()=>a.web(),{})}async function HV(a){return Nc(()=>a.web.webs(),[])}async function Nc(a,l){let c={data:l,error:"",warnings:[],isError:!1};try{let o=await a();c.data=o}catch(o){c.isError=!0,c.error=`${o}`}return c}var jv=ka(),et=new URL(jv?jv:K4()),o0=dV(),[Q2,a6,yw,VV]=await Promise.all([Xv(o0),Nv(o0),Pv(o0),Ua(o0)]);var J2=!jv,L7=!Q2.isError?await Yv(o0):{data:{},warnings:[],error:"Unable to get root web since site is not available",isError:!0};function B5(){if(Q2.isError||L7.isError||a6.isError)return!1;return Q2.data.IsHubSite&&L7.data.Id===a6.data.Id}function an(){if(Q2.isError)return!1;return Q2.data.HubSiteId!==a5}function ot(){if(L7.isError||a6.isError)return!1;return a6.data.Id===L7.data.Id}function gV(){if(Q2.isError||L7.isError)return!0;return L7.data.Id!==a6.data.Id}var[Kv,Uw]=await Promise.all([lt(o0),$r(o0,yw,VV.data.enabledAppCollections)]);var R0=G0(VV.data),qv=G0(!1),C7=G0(Uw),D1=G0(),C1=G0(),Ba=G0(),jc=G0(),l6=G0([]),Ta=G0(!1);function Iv(a){return{name:a,manifest:Uc,activated:!1}}function ln(a){let l=G1(C7.value),c=l.findIndex((o)=>o.name===a.name);if(c>-1)l.splice(c,1,a);else l.push(a);C7.value=l}function R7(a,l=!1){let c=G1(a);if(D1.value=c,l)ln(c)}function rt(){if(J2)return"global";if(B5())return"hubRoot";if(an()&&!B5())return"hubChild";if(!an())return"nonHub";if(gV())return"subsite";return"other"}var Gw=F6({root:{display:"flex",height:"auto",width:"auto",boxSizing:"border-box"},horizontal:{flexDirection:"row"},vertical:{flexDirection:"column"},wrap:{flexWrap:"wrap"},noWrap:{flexWrap:"nowrap"},horizontalAlign_start:{justifyContent:"flex-start"},horizontalAlign_end:{justifyContent:"flex-end"},horizontalAlign_center:{justifyContent:"center"},horizontalAlign_spaceBetween:{justifyContent:"space-between"},horizontalAlign_spaceAround:{justifyContent:"space-around"},horizontalAlign_spaceEvenly:{justifyContent:"space-evenly"},horizontalAlign_stretch:{justifyContent:"stretch"},verticalAlign_start:{alignItems:"flex-start"},verticalAlign_end:{alignItems:"flex-end"},verticalAlign_center:{alignItems:"center"},verticalAlign_spaceBetween:{alignItems:"space-between"},verticalAlign_spaceAround:{alignItems:"space-around"},verticalAlign_spaceEvenly:{alignItems:"space-evenly"},verticalAlign_stretch:{alignItems:"stretch"},reversedHorizontal:{flexDirection:"row-reverse"},reversedVertical:{flexDirection:"column-reverse"}});function Z1(a){let l=Gw(),c=[l.root],o={};if(a.horizontal)if(a.reversed)c.push(l.reversedHorizontal);else c.push(l.horizontal);else if(a.reversed)c.push(l.reversedVertical);else c.push(l.vertical);if(a.grow)o.flexGrow=a.grow;if(a.gap)o.gap=a.gap;return c.push(a.wrap?l.wrap:l.noWrap),Bw(a,c,l),Tw(a,c,l),/*@__PURE__*/_("div",{className:c.join(" "),style:{...o,...a.style},children:a.children},void 0,!1,void 0,this)}function Bw(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 Tw(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}}f5();var $3="global-toast-notification";function fV(){return/*@__PURE__*/_(q4,{toasterId:$3},void 0,!1,void 0,this)}function FV(){let[a,l]=h1(""),c=g7(!1);async function o(Z,i){c.value=i.open}let{dispatchToast:e,updateToast:r}=I4($3),t=(Z)=>{switch(Z){case"progress":e(/*@__PURE__*/_(B2,{children:/*@__PURE__*/_(T2,{media:/*@__PURE__*/_(Q5,{size:"tiny"},void 0,!1,void 0,this),children:"Creating..."},void 0,!1,void 0,this)},void 0,!1,void 0,this),{toastId:$3,timeout:-1});break}};async function h(){if(!a)return;t("progress");let Z=await ya(o0,a);if(Z&&Z.name){r({content:/*@__PURE__*/_(B2,{children:/*@__PURE__*/_(T2,{children:"Application created."},void 0,!1,void 0,this)},void 0,!1,void 0,this),intent:"success",toastId:$3,timeout:2000}),c.value=!1;return}r({content:/*@__PURE__*/_(B2,{children:/*@__PURE__*/_(T2,{children:"Error occured. Please check console."},void 0,!1,void 0,this)},void 0,!1,void 0,this),intent:"error",toastId:$3,timeout:2000})}return/*@__PURE__*/_(k5,{open:c.value,surfaceMotion:null,modalType:"alert",onOpenChange:o,children:[/*@__PURE__*/_(q0,{disableButtonEnhancement:!0,children:/*@__PURE__*/_(G2,{appearance:"primary",icon:/*@__PURE__*/_($6,{},void 0,!1,void 0,this),children:"Create collection"},void 0,!1,void 0,this)},void 0,!1,void 0,this),/*@__PURE__*/_(y2,{children:/*@__PURE__*/_(w2,{children:[/*@__PURE__*/_(k2,{action:/*@__PURE__*/_(q0,{disableButtonEnhancement:!0,action:"close",children:/*@__PURE__*/_(F1,{appearance:"subtle","aria-label":"close",icon:/*@__PURE__*/_(m7,{},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__*/_(U2,{style:{padding:"16px 0"},children:/*@__PURE__*/_(n5,{value:a,style:{width:"100%"},placeholder:"Enter application name",onChange:(Z,i)=>{l(i.value)}},void 0,!1,void 0,this)},void 0,!1,void 0,this),/*@__PURE__*/_(D2,{children:[/*@__PURE__*/_(q0,{disableButtonEnhancement:!0,action:"close",children:/*@__PURE__*/_(F1,{appearance:"secondary",children:"Close"},void 0,!1,void 0,this)},void 0,!1,void 0,this),/*@__PURE__*/_(F1,{appearance:"primary",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)}function xV({app:a,onChange:l}){return/*@__PURE__*/_(D0,{defaultChecked:a.activated,onChange:(c,o)=>{l?.(a,o.checked)}},void 0,!1,void 0,this)}f5();var h3={SPFXEXT:"SPFXEXT_",SPFXEXT_CORE:"SPFXEXT"};function cn(){try{let a=typeof globalThis!=="undefined"?globalThis:void 0;if(a&&a.localStorage)return a.localStorage}catch{}try{if(typeof window!=="undefined"&&window.localStorage)return window.localStorage}catch{}return}function bw(){let a=cn();if(!a)return[];try{let l=[];for(let c=0;c<a.length;c++){let o=a.key(c);if(o)l.push(o)}return l}catch{return[]}}function Ow(a){let l=cn();if(!l)return null;try{return l.getItem(a)}catch{return null}}function Ew(){return bw().some((a)=>a.indexOf(h3.SPFXEXT)>-1&&Number(Ow(a))>0)}function CV(a){return a.hostname.toLowerCase()==="localhost"}function LV(a){try{let l=`${h3.SPFXEXT}${a}`,c=cn(),o=c?c.getItem?c.getItem(l):c[l]:null;return Number(o)>0}catch{return!1}}var ao=Ew();function RV({app:a}){let[l,c]=h1(window.localStorage.getItem(`${h3.SPFXEXT}${a.name}`)??""),[o,e]=h1(!1);return/*@__PURE__*/_(S2,{positioning:"after",open:o,children:[/*@__PURE__*/_(e2,{disableButtonEnhancement:!0,children:/*@__PURE__*/_(w4,{checked:LV(a.name),onChange:()=>{e(!o)}},void 0,!1,void 0,this)},void 0,!1,void 0,this),/*@__PURE__*/_(R2,{tabIndex:-1,children:[/*@__PURE__*/_(n5,{defaultValue:l,onChange:(r,t)=>{c(t.value)}},void 0,!1,void 0,this),/*@__PURE__*/_(F1,{appearance:"primary",onClick:()=>{window.localStorage.setItem(`${h3.SPFXEXT}${a.name}`,l),e(!1)},children:"Save"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)}f5();async function Ww(a){try{jc.value=G1(a),await mV(o0,a.name),C7.value=C7.value.filter((l)=>l.name!==a.name)}finally{jc.value=void 0}}function SV({item:a}){let[l,c]=h1(!1);function o(e,r){c(r.open)}return/*@__PURE__*/_(m1,{children:[/*@__PURE__*/_(W0,{disabled:jc?.value?.name!==void 0,onClick:()=>{c(!0)},children:/*@__PURE__*/_("div",{style:{display:"flex"},children:[/*@__PURE__*/_(e_,{},void 0,!1,void 0,this),jc.value?.name===a.name&&/*@__PURE__*/_(Q5,{size:"extra-small"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this),/*@__PURE__*/_(k5,{open:l,surfaceMotion:null,modalType:"modal",onOpenChange:o,children:/*@__PURE__*/_(y2,{children:/*@__PURE__*/_(w2,{children:[/*@__PURE__*/_(k2,{children:["Delete ",a.name,"?"]},void 0,!0,void 0,this),/*@__PURE__*/_(U2,{children:[/*@__PURE__*/_(r2,{children:["Are you sure you want to delete app collection ",/*@__PURE__*/_("b",{children:a.name},void 0,!1,void 0,this),"?"]},void 0,!0,void 0,this),/*@__PURE__*/_("br",{},void 0,!1,void 0,this),/*@__PURE__*/_(r2,{children:["Deleting appcollection will result in deletion of all files in"," ",/*@__PURE__*/_(W0,{target:"_blank",onClick:()=>{window.open(`${et}/${k1}/${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__*/_(D2,{children:[/*@__PURE__*/_(F1,{appearance:"primary",onClick:()=>{Ww(a),c(!1)},children:"Yes"},void 0,!1,void 0,this),/*@__PURE__*/_(q0,{disableButtonEnhancement:!0,children:/*@__PURE__*/_(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)}f5();function ba(a,l,c="86px"){return/*@__PURE__*/_(N0,{size:"medium",color:a,style:{width:c},children:l},void 0,!1,void 0,this)}function Y3({webs:a,control:l,onDeleteClick:c,additionalIcon:o,disableControl:e}){if(a.length===0)return null;function r(h,Z){if(!C1.value)return;let i=G1(C1.value),n=i.config.excludedIds.filter((s)=>h.id!==s),v=i.config.excludedHubIds.filter((s)=>h.id!==s),d=i.config.includedIds.filter((s)=>h.id!==s),m=i.config.includedHubIds.filter((s)=>h.id!==s);if(!i.config.enabledEverywhere&&Z)d.push(h.id);if(i.config.enabledEverywhere&&!Z)n.push(h.id);i.config.excludedIds=n,i.config.excludedHubIds=v,i.config.includedIds=d,i.config.includedHubIds=m,C1.value=i}function t(h){if(!C1.value)return!1;if(C1.value.config.enabledEverywhere)return!C1.value.config.excludedIds.includes(h.id);return C1.value.config.includedIds.includes(h.id)}return/*@__PURE__*/_(m1,{children:a.map((h)=>/*@__PURE__*/_(Z1,{horizontal:!0,horizontalAlign:"space-between",verticalAlign:"center",style:{minHeight:"36px"},children:[/*@__PURE__*/_(Z1,{horizontal:!0,gap:8,verticalAlign:"center",children:[o,ba(void 0,"Web","64px"),/*@__PURE__*/_(t2,{children:`${h.url}`},void 0,!1,void 0,this)]},void 0,!0,void 0,this),l==="switch"?/*@__PURE__*/_(D0,{disabled:e,onChange:(Z,i)=>{r(h,i.checked)},checked:t(h)},void 0,!1,void 0,this):/*@__PURE__*/_(F1,{onClick:()=>c?.({item:h,itemType:"web"}),icon:/*@__PURE__*/_(F3,{},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 Oa({siteCollections:a,control:l,onDeleteClick:c,additionalIcon:o,disableControl:e}){function r(t,h){if(!C1.value)return;let Z=G1(C1.value),i=Z.config.excludedIds.filter((v)=>!t.webs.some((d)=>d.id===v)&&t.siteId!==v),n=Z.config.includedIds.filter((v)=>!t.webs.some((d)=>d.id===v)&&t.siteId!==v);if(!Z.config.enabledEverywhere&&h)n.push(t.siteId);if(Z.config.enabledEverywhere&&!h)i.push(t.siteId);Z.config.excludedIds=i,Z.config.includedIds=n,C1.value=Z}return/*@__PURE__*/_(m1,{children:a.map((t)=>/*@__PURE__*/_(Z1,{children:[/*@__PURE__*/_(Z1,{horizontal:!0,style:{minHeight:"36px"},verticalAlign:"center",horizontalAlign:"space-between",children:[/*@__PURE__*/_(Z1,{horizontal:!0,verticalAlign:"center",gap:8,children:[ba("warning","Site"),t.url]},void 0,!0,void 0,this),l==="switch"?/*@__PURE__*/_(D0,{checked:(C1.value?.config?.enabledEverywhere||C1.value?.config?.includedIds?.includes(t.siteId))&&!C1.value?.config?.excludedIds?.includes(t.siteId),disabled:e,onChange:(h,Z)=>{r(t,Z.checked)}},void 0,!1,void 0,this):/*@__PURE__*/_(F1,{onClick:()=>c?.({item:t,itemType:"site"}),icon:/*@__PURE__*/_(F3,{},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this),/*@__PURE__*/_(Y3,{webs:t.webs,control:l,onDeleteClick:c,additionalIcon:o,disableControl:e||C1.value?.config.excludedIds.includes(t.siteId)||C1.value?.config.includedIds.includes(t.siteId)},void 0,!1,void 0,this)]},void 0,!0,void 0,this))},void 0,!1,void 0,this)}function tt({hubSites:a,onDeleteClick:l,control:c}){function o(e,r){if(!C1.value)return;let t=G1(C1.value);function h(d){let m=!e.webs.some((u)=>u.id===d||u.hubid===d),s=!e.sites.some((u)=>u.id===d||u.hubid===d),p=!e.sites.some((u)=>u.webs.some((A)=>A.id===d||A.hubid===d)),M=e.hubid!==d&&e.siteId!==d;return m&&s&&p&&M}let Z=t.config.excludedIds.filter(h),i=t.config.excludedHubIds.filter(h),n=t.config.includedIds.filter(h),v=t.config.includedHubIds.filter(h);if(!t.config.enabledEverywhere&&r)v.push(e.hubid);if(t.config.enabledEverywhere&&!r)i.push(e.hubid);t.config.excludedIds=Z,t.config.excludedHubIds=i,t.config.includedIds=n,t.config.includedHubIds=v,C1.value=t}return/*@__PURE__*/_(m1,{children:a.map((e)=>/*@__PURE__*/_(Z1,{children:[/*@__PURE__*/_(Z1,{horizontal:!0,verticalAlign:"center",horizontalAlign:"space-between",children:[/*@__PURE__*/_(Z1,{horizontal:!0,gap:8,verticalAlign:"center",style:{height:"36px"},children:[ba("success","Hub"),e.url]},void 0,!0,void 0,this),c==="switch"?/*@__PURE__*/_(D0,{checked:(C1.value?.config?.enabledEverywhere||C1.value?.config?.includedHubIds?.includes(e.hubid))&&!C1.value?.config?.excludedHubIds?.includes(e.hubid),onChange:(r,t)=>{o(e,t.checked)}},void 0,!1,void 0,this):/*@__PURE__*/_(F1,{onClick:()=>l?.({item:e,itemType:"hub"}),icon:/*@__PURE__*/_(F3,{},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this),/*@__PURE__*/_(Oa,{control:c,siteCollections:e.sites,onDeleteClick:l,additionalIcon:/*@__PURE__*/_(K6,{},void 0,!1,void 0,this),disableControl:C1.value?.config.excludedHubIds.includes(e.hubid)||C1.value?.config.includedHubIds.includes(e.hubid)},void 0,!1,void 0,this),/*@__PURE__*/_(Y3,{control:c,webs:e.webs,onDeleteClick:l,additionalIcon:/*@__PURE__*/_(ve,{},void 0,!1,void 0,this),disableControl:C1.value?.config.excludedHubIds.includes(e.hubid)||C1.value?.config.includedHubIds.includes(e.hubid)},void 0,!1,void 0,this)]},void 0,!0,void 0,this))},void 0,!1,void 0,this)}f5();var Iw={invalid:{message:"Invalid URL"},duplicate:{message:"URL already exists"}};function DV(a){let l;if(!(a.toLowerCase().startsWith(window.location.origin.toLowerCase())||a.startsWith("/")))l=Iw.invalid;return{urlInput:a,error:l}}function wV(){let[a,l]=h1(""),[c,o]=h1(""),[e,r]=h1(!1);async function t(){if(!c)return;let h=DV(c);if(h.error){l(h.error.message);return}let Z=c.startsWith("/")?new URL(c,window.location.origin):new URL(c);r(!0);let i=await uV(Z,!0);if(r(!1),i.isError){l(i.error);return}if(B5()){if(!i.data.every((v)=>v.hubid===Q2.data.HubSiteId)){l("You can only add child hub sites when configuring a hub root.");return}}let n=G1(R0.value);n.urlMap=n.urlMap.filter((v)=>{return!i.data.some((d)=>d.id===v.id)}),n.urlMap.push(...i.data),R0.value=n,l(""),o("")}return/*@__PURE__*/_(Z1,{style:{padding:"8px 24px",width:"100%"},gap:8,children:[/*@__PURE__*/_(l3,{intent:"info",children:/*@__PURE__*/_(c3,{children:"Add site collections and hub child sites."},void 0,!1,void 0,this)},void 0,!1,void 0,this),/*@__PURE__*/_(Z1,{horizontal:!0,gap:8,children:[/*@__PURE__*/_(n5,{style:{width:"100%"},onChange:(h,Z)=>{o(Z.value)},onKeyDown:(h)=>{if(h.key==="Enter")t()},onFocus:()=>{l("")},value:c,placeholder:"Site/Web URL"},void 0,!1,void 0,this),/*@__PURE__*/_(F1,{disabled:!c||e,onClick:()=>t(),icon:e?/*@__PURE__*/_(Q5,{size:"tiny"},void 0,!1,void 0,this):/*@__PURE__*/_($6,{},void 0,!1,void 0,this),children:"Add"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),a?/*@__PURE__*/_(t2,{style:{color:g2.colorPaletteRedForeground1},children:a},void 0,!1,void 0,this):null]},void 0,!0,void 0,this)}var Ea=G0(!1);function kV(){let a=z7(),[l,c]=h1(!1),[o,e]=h1(!1),[r,t]=h1(R0.value),[h,Z]=h1([]),[i,n]=h1([]),[v,d]=h1([]);Z2(()=>{if(!R0.value)return;if(!r){t(R0.value);return}let p=JSON.stringify(R0.value),M=JSON.stringify(r);t(R0.value),e(p!==M)}),Z2(()=>{if(!R0.value)return;if(J2){let p=Xr(R0.value.urlMap);Z(p.hubs),n(p.sites),d(p.webs);return}if(!J2&&B5())ct(o0,R0.value.urlMap).then((p)=>{if(p)Z([p])})});function m(p){if(!R0.value)return;let M=G1(R0.value);if(p.itemType==="hub")M.urlMap=M.urlMap.filter((u)=>u.hubid!==p.item.hubid);if(p.itemType==="site")M.urlMap=M.urlMap.filter((u)=>u.siteId!==p.item.siteId);if(p.itemType==="web")M.urlMap=M.urlMap.filter((u)=>u.id!==p.item.id);R0.value=M}async function s(){if(!R0.value)return;c(!0);try{await Yr(o0,R0.value)}finally{c(!1),e(!1),Ea.value=!1}}return/*@__PURE__*/_(b2,{...a,separator:!0,open:Ea.value,onOpenChange:()=>{},position:"end",size:"large",children:[/*@__PURE__*/_(E2,{children:/*@__PURE__*/_(W2,{action:/*@__PURE__*/_(F1,{appearance:"subtle","aria-label":"Close",icon:/*@__PURE__*/_(m7,{},void 0,!1,void 0,this),onClick:()=>{Ea.value=!1}},void 0,!1,void 0,this),children:"Manage sites"},void 0,!1,void 0,this)},void 0,!1,void 0,this),/*@__PURE__*/_(O2,{children:/*@__PURE__*/_(m1,{children:[/*@__PURE__*/_(wV,{},void 0,!1,void 0,this),/*@__PURE__*/_(Z1,{gap:12,children:[h.length>0?/*@__PURE__*/_(m1,{children:[/*@__PURE__*/_(d5,{children:"Hub sites"},void 0,!1,void 0,this),/*@__PURE__*/_(z5,{},void 0,!1,void 0,this),/*@__PURE__*/_(Z1,{children:/*@__PURE__*/_(tt,{hubSites:h,control:"delete",onDeleteClick:m},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this):null,i.length>0?/*@__PURE__*/_(m1,{children:[/*@__PURE__*/_(d5,{children:"Site collections"},void 0,!1,void 0,this),/*@__PURE__*/_(z5,{},void 0,!1,void 0,this),/*@__PURE__*/_(Z1,{children:/*@__PURE__*/_(Oa,{siteCollections:i,control:"delete",additionalIcon:/*@__PURE__*/_(K6,{},void 0,!1,void 0,this),onDeleteClick:m},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this):null,v.length>0?/*@__PURE__*/_(m1,{children:[/*@__PURE__*/_(d5,{children:"Webs"},void 0,!1,void 0,this),/*@__PURE__*/_(z5,{},void 0,!1,void 0,this),/*@__PURE__*/_(Z1,{children:/*@__PURE__*/_(Y3,{webs:v,control:"delete",onDeleteClick:m},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this):null]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this),/*@__PURE__*/_(o3,{children:/*@__PURE__*/_(Z1,{horizontal:!0,gap:8,horizontalAlign:"center",children:[/*@__PURE__*/_(F1,{appearance:"secondary",onClick:()=>{Ea.value=!1},children:"Cancel"},void 0,!1,void 0,this),/*@__PURE__*/_(F1,{disabled:!o||l,appearance:"primary",onClick:()=>{s()},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 qw(a,l){let c=await Ua(o0),o=c.data.enabledAppCollections.includes(a.name);if(l!==o){if(l)c.data.enabledAppCollections.push(a.name);else c.data.enabledAppCollections.splice(c.data.enabledAppCollections.indexOf(a.name),1);await Yr(o0,c.data)}a.activated=l,ln(a)}var Pw=[{columnId:"name",text:"App Collection"},{columnId:"enabled",text:"Enabled"},{columnId:"InDebug",text:"In Debug"},{columnId:"Delete",text:""}];function yV(a){if(D1.value)return null;return/*@__PURE__*/_(Z1,{gap:16,children:[/*@__PURE__*/_(B4,{children:/*@__PURE__*/_(Z1,{gap:8,horizontal:!0,children:[/*@__PURE__*/_(FV,{},void 0,!1,void 0,this),J2||B5()?/*@__PURE__*/_(G2,{appearance:"secondary",onClick:()=>{Ea.value=!0},icon:/*@__PURE__*/_(m_,{},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__*/_(b4,{children:[/*@__PURE__*/_(O4,{children:/*@__PURE__*/_(O3,{children:Pw.map((l)=>/*@__PURE__*/_(W4,{children:l.text},l.columnId,!1,void 0,this))},void 0,!1,void 0,this)},void 0,!1,void 0,this),/*@__PURE__*/_(T4,{children:C7.value.map((l)=>/*@__PURE__*/_(O3,{children:[/*@__PURE__*/_(A7,{children:/*@__PURE__*/_(H7,{media:/*@__PURE__*/_(YM,{},void 0,!1,void 0,this),children:/*@__PURE__*/_(W0,{onClick:()=>{D1.value=G1(l)},children:l.name},void 0,!1,void 0,this)},void 0,!1,void 0,this)},void 0,!1,void 0,this),/*@__PURE__*/_(A7,{children:/*@__PURE__*/_(H7,{children:/*@__PURE__*/_(xV,{app:l,onChange:qw},void 0,!1,void 0,this)},void 0,!1,void 0,this)},void 0,!1,void 0,this),/*@__PURE__*/_(A7,{children:/*@__PURE__*/_(H7,{children:/*@__PURE__*/_(RV,{app:l},void 0,!1,void 0,this)},void 0,!1,void 0,this)},void 0,!1,void 0,this),/*@__PURE__*/_(A7,{children:/*@__PURE__*/_(H7,{children:/*@__PURE__*/_(SV,{item:l},void 0,!1,void 0,this)},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},l.name,!0,void 0,this))},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)}f5();async function zw(a,l){let c=x7(a),o=a.web.getFileByUrl(`${k1}/${l}/${P0}`),e=await o.exists(),r={data:Uc,error:"",isError:!1,warnings:[]};if(!e)return await ya(a,l),await a.web.lists.getByTitle(k1).rootFolder.folders.getByUrl(l).files.addUsingPath(P0,JSON.stringify(Uc)),y0(`Created ${P0} in ${k1}/${l} folder in ${c}`),r;try{let h=await(await o.getBlob()).text(),Z=JSON.parse(h);return r.data=Z,r}catch(t){let h=`Error while parsing ${P0} in ${k1}/${l} folder in ${c}`;return _1(h,t),r.error=h,r.isError=!0,r}}async function UV(a,l,c){await zw(a,l);let o=a.web.getFileByUrl(`${k1}/${l}/${P0}`);try{return await o.setContent(JSON.stringify(Kr(c))),!0}catch(e){let r=x7(a);return _1(`Error while updating ${P0} in ${k1}/${l} folder in ${r}`,e),!1}}var Qw=F6({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 GV(a){let l=Qw(),c=[l.root],o={};if(a.disableShrink)c.push(l.disableShrink);else if(a.shrink)o.flexShrink=a.shrink;if(a.grow)o.flexGrow=a.grow;if(a.basis)o.flexBasis=a.basis;if(Jw(a,c,l),a.className)c.push(a.className);return/*@__PURE__*/_("div",{className:c.join(" "),style:{...o},children:a.children},void 0,!1,void 0,this)}function Jw(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 BV(a,l=0){let o=(/*@__PURE__*/new TextEncoder()).encode(a),e=await window.crypto.subtle.digest("SHA-1",o),t=Array.from(new Uint8Array(e)).map((h)=>h.toString(16).padStart(2,"0")).join("");return l>0?t.substring(0,l):t}var rn=(a,l)=>l.some((c)=>a instanceof c),TV,bV;function Kw(){return TV||(TV=[IDBDatabase,IDBObjectStore,IDBIndex,IDBCursor,IDBTransaction])}function $w(){return bV||(bV=[IDBCursor.prototype.advance,IDBCursor.prototype.continue,IDBCursor.prototype.continuePrimaryKey])}var tn=/*@__PURE__*/new WeakMap,on=/*@__PURE__*/new WeakMap,ht=/*@__PURE__*/new WeakMap;function Yw(a){let l=new Promise((c,o)=>{let e=()=>{a.removeEventListener("success",r),a.removeEventListener("error",t)},r=()=>{c(X3(a.result)),e()},t=()=>{o(a.error),e()};a.addEventListener("success",r),a.addEventListener("error",t)});return ht.set(l,a),l}function Xw(a){if(tn.has(a))return;let l=new Promise((c,o)=>{let e=()=>{a.removeEventListener("complete",r),a.removeEventListener("error",t),a.removeEventListener("abort",t)},r=()=>{c(),e()},t=()=>{o(a.error||new DOMException("AbortError","AbortError")),e()};a.addEventListener("complete",r),a.addEventListener("error",t),a.addEventListener("abort",t)});tn.set(a,l)}var hn={get(a,l,c){if(a instanceof IDBTransaction){if(l==="done")return tn.get(a);if(l==="store")return c.objectStoreNames[1]?void 0:c.objectStore(c.objectStoreNames[0])}return X3(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 IV(a){hn=a(hn)}function Nw(a){if($w().includes(a))return function(...l){return a.apply(Zn(this),l),X3(this.request)};return function(...l){return X3(a.apply(Zn(this),l))}}function jw(a){if(typeof a==="function")return Nw(a);if(a instanceof IDBTransaction)Xw(a);if(rn(a,Kw()))return new Proxy(a,hn);return a}function X3(a){if(a instanceof IDBRequest)return Yw(a);if(on.has(a))return on.get(a);let l=jw(a);if(l!==a)on.set(a,l),ht.set(l,a);return l}var Zn=(a)=>ht.get(a);function qV(a,l,{blocked:c,upgrade:o,blocking:e,terminated:r}={}){let t=indexedDB.open(a,l),h=X3(t);if(o)t.addEventListener("upgradeneeded",(Z)=>{o(X3(t.result),Z.oldVersion,Z.newVersion,X3(t.transaction),Z)});if(c)t.addEventListener("blocked",(Z)=>c(Z.oldVersion,Z.newVersion,Z));return h.then((Z)=>{if(r)Z.addEventListener("close",()=>r());if(e)Z.addEventListener("versionchange",(i)=>e(i.oldVersion,i.newVersion,i))}).catch(()=>{}),h}function PV(a,{blocked:l}={}){let c=indexedDB.deleteDatabase(a);if(l)c.addEventListener("blocked",(o)=>l(o.oldVersion,o));return X3(c).then(()=>{return})}var ak=["get","getKey","getAll","getAllKeys","count"],lk=["put","add","delete","clear"],en=/*@__PURE__*/new Map;function OV(a,l){if(!(a instanceof IDBDatabase&&!(l in a)&&typeof l==="string"))return;if(en.get(l))return en.get(l);let c=l.replace(/FromIndex$/,""),o=l!==c,e=lk.includes(c);if(!(c in(o?IDBIndex:IDBObjectStore).prototype)||!(e||ak.includes(c)))return;let r=async function(t,...h){let Z=this.transaction(t,e?"readwrite":"readonly"),i=Z.store;if(o)i=i.index(h.shift());return(await Promise.all([i[c](...h),e&&Z.done]))[0]};return en.set(l,r),r}IV((a)=>({...a,get:(l,c,o)=>OV(l,c)||a.get(l,c,o),has:(l,c)=>!!OV(l,c)||a.has(l,c)}));var ck=["continue","continuePrimaryKey","advance"],EV={},vn=/*@__PURE__*/new WeakMap,zV=/*@__PURE__*/new WeakMap,ok={get(a,l){if(!ck.includes(l))return a[l];let c=EV[l];if(!c)c=EV[l]=function(...o){vn.set(this,zV.get(this)[l](...o))};return c}};async function*ek(...a){let l=this;if(!(l instanceof IDBCursor))l=await l.openCursor(...a);if(!l)return;l=l;let c=new Proxy(l,ok);zV.set(c,l),ht.set(c,Zn(l));while(l)yield c,l=await(vn.get(c)||l.continue()),vn.delete(c)}function WV(a,l){return l===Symbol.asyncIterator&&rn(a,[IDBIndex,IDBObjectStore,IDBCursor])||l==="iterate"&&rn(a,[IDBIndex,IDBObjectStore])}IV((a)=>({...a,get(l,c,o){if(WV(l,c))return ek;return a.get(l,c,o)},has(l,c){return WV(l,c)||a.has(l,c)}}));var a0={AppFolderManifestCache:"AppFolderManifestCache",AppCollectionManifestCache:"AppCollectionManifestCache",AllowedApps:"AllowedApps",HubSiteData:"HubSiteData",SPFxExtensionConfig:"SPFxExtensionConfig"},QV=`${h3.SPFXEXT}COREDB`,JV=qV(QV,1,{blocking(a,l,c){e5.close(),alert("A new version of this page is ready. Please reload the page.")},async upgrade(a,l,c,o,e){if(l===0)a.createObjectStore(a0.AppFolderManifestCache,{keyPath:"url"}),a.createObjectStore(a0.AppCollectionManifestCache,{keyPath:"url"}),a.createObjectStore(a0.AllowedApps,{keyPath:"Id"}),a.createObjectStore(a0.HubSiteData,{keyPath:"SiteId"}),a.createObjectStore(a0.SPFxExtensionConfig,{keyPath:"Title"})}});JV.catch((a)=>{throw _1("Error opening database for Core, please contact your administrator."),PV(QV).then(()=>{window.location.reload()}),a});var e5=await JV;function Wa(a){let l=/*@__PURE__*/new Date;return l.setMinutes(l.getMinutes()+a),{expires:l.toISOString()}}async function Ia(a,l){let c=await e5.getAll(a),o=/*@__PURE__*/new Date,e=c.filter((t)=>{let h=new Date(t.expires);return o>=h}),r=e.length;if(r>0){let t=e5.transaction(a,"readwrite"),h=t.objectStore(a);e.forEach((Z)=>h.delete(Z[l])),await t.done,q2(`Evicted ${r} items from ${a} cache.`)}return r}async function nn(){return await Ia(a0.SPFxExtensionConfig,"Title"),e5.getAll(a0.SPFxExtensionConfig)}async function N3(a){return await Ia(a0.SPFxExtensionConfig,"Title"),e5.get(a0.SPFxExtensionConfig,a)}async function K2(a,l=60){await e5.put(a0.SPFxExtensionConfig,{...a,...Wa(l)})}function KV(a,l){let c=e5.transaction(a0.SPFxExtensionConfig,"readwrite"),o=c.objectStore(a0.SPFxExtensionConfig);return a.forEach((e)=>o.put({...e,...Wa(l)})),c.done}async function $V(){return e5.getAll(a0.AllowedApps)}async function dn(a){return e5.get(a0.AppFolderManifestCache,a)}async function mn(a){return e5.get(a0.AppCollectionManifestCache,a)}async function AR1(a){return e5.get(a0.HubSiteData,a)}async function HR1(a,l=60){await e5.put(a0.HubSiteData,{...a,...Wa(l)})}async function rk(a,l=60){await e5.put(a0.AppCollectionManifestCache,{...a,...Wa(l)})}async function tk(a,l=60){await e5.put(a0.AppFolderManifestCache,{...a,...Wa(l)})}async function YV(a,l=5){let c=Wa(l),o=e5.transaction(a0.AllowedApps,"readwrite"),e=o.objectStore(a0.AllowedApps);return a.forEach((r)=>e.put({...c,...r})),o.done}function hk(a){return e5.delete(a0.AppCollectionManifestCache,a)}function Zk(a){return e5.delete(a0.AppFolderManifestCache,a)}async function ik(){return Ia(a0.AppCollectionManifestCache,"url")}async function vk(){return Ia(a0.AppFolderManifestCache,"url")}async function XV(){return Ia(a0.AllowedApps,"Id")}async function VR1(){return Ia(a0.HubSiteData,"SiteId")}async function NV(a){if(a){let l=await dn(a.url);if(l){if(l.hash!==a.hash){await Zk(a.url);let c=a.url.toLowerCase().replace(`/${P0}`,"");await Zt([c],!1),q2(`Evicted ${P0} ${l.url} from cache. Because of hash mismatch.`)}}}return vk()}async function jV(a){if(a){let l=await mn(a.url);if(l){if(l.hash!==a.hash)await hk(a.url),await Zt([a.url],!1),q2(`Evicted ${h2} ${l.url} from cache. Because of hash mismatch.`)}}return ik()}async function gR1(a){if(await NV(),ao)return;return dn(a)}async function fR1(a,l){await NV(a);let c=await dn(a.url);if(c&&c.hash===a.hash&&!ao)return;await tk(a,l)}async function FR1(a,l){await jV(a);let c=await mn(a.url);if(c&&c.hash===a.hash&&!ao)return;await rk(a,l)}async function xR1(a){if(await jV(),ao)return;return mn(a)}var pn=/*@__PURE__*/new Map;async function ag(a,l=!1){let c="";if(pn.has(a)&&!l)c=pn.get(a)||"";if(c)return c;let o=await fetch(`${a}/_api/contextinfo`,{method:"POST",headers:{Accept:"application/json;odata=verbose","Content-Type":"application/json"}});if(o.status===200){let r=(await o.json()).d.GetContextWebInformation.FormDigestValue;return pn.set(a,r),r}else _1("Error while getting digest",o.status);return""}var sn=(a)=>{},it;async function vt(a=""){if(it)return it;it=new Promise((l)=>{sn=l});try{let o=(await(await fetch(`${a}/_api/SP_TenantSettings_Current`,{headers:{Accept:"application/json;odata=verbose"}})).json()).d.CorporateCatalogUrl;sn(o)}catch(l){_1("Error while getting app catalog url. Trying default /sites/appcatalog",l);let c=`${window.location.origin}/sites/appcatalog`;sn(c)}return it}async function lg(a=""){let l=await N3("AppCatalogUrl");if(l?.Data)return l.Data;let c=await vt(a);return await K2({Title:"AppCatalogUrl",Data:c,date:"",expires:""},240),c}async function T5(a=""){let c=`${await lg()}${a?`/${a}`:""}`;return ag(c)}var nk=await lg(),m0=`${nk}/${C0}`;var og={Status:"Status",RootCDNLocation:"RootCDNLocation",InterceptHistory:"InterceptHistory",EnableAppWhiteList:"EnableAppWhiteList",AppCatalogUrl:"AppCatalogUrl",SPFxDataSite:"SPFxDataSite",ConfiguratorPageData:"ConfiguratorPageData",AppWhiteList:"AppWhiteList",Version:"2025-08-24T10:40:36.039Z"},cg=[{Title:"Status",Data:"Installed"},{Title:"InterceptHistory",Data:"true"},{Title:"EnableAppWhiteList",Data:"false"},{Title:"RootCDNLocation",Data:`/sites/appcatalog/${C0}`}];function eg(a){let l=cg.find((c)=>c.Title==="RootCDNLocation");if(l)l.Data=a;return cg}var dk=Object.keys(og).length,nt;async function mk(){let a=`${m0}/_api/web/lists/GetByTitle('${Ma}')/fields`;try{let l=await fetch(a,{headers:{Accept:"application/json;odata=verbose"}});if(l.status===200){let o=(await l.json()).d.results,e=o.map((t)=>t.InternalName),r=o.find((t)=>t.InternalName==="Title");if(!r){_1("Title field not found.");return}if(!r.EnforceUniqueValues){let t=await T5(C0);if((await fetch(`${m0}/_api/web/lists/GetByTitle('${Ma}')/fields('${r.Id}')`,{method:"POST",headers:{Accept:"application/json;odata=verbose","Content-Type":"application/json;odata=verbose","X-RequestDigest":t,"X-HTTP-Method":"MERGE","If-Match":"*"},body:JSON.stringify({__metadata:{type:"SP.Field"},Indexed:!0,EnforceUniqueValues:!0})})).status===204)y0("Title field updated successfully.");else _1("Unable to update Title field.")}if(!e.includes("Data")){let t=await T5(C0);if((await fetch(a,{method:"POST",headers:{Accept:"application/json;odata=verbose","Content-Type":"application/json;odata=verbose","X-RequestDigest":t},body:JSON.stringify({__metadata:{type:"SP.Field"},Title:"Data",FieldTypeKind:2,Required:!0})})).status===201)y0("Data field added successfully.");else _1("Unable to add Data field.")}}}catch(l){_1("Error while ensuring configuration list data fields.",l)}}async function pk(){let a=!1;try{if(a=(await fetch(`${m0}/_api/web/lists/GetByTitle('${Ma}')`)).status===404,a){let c=await T5(C0);if(y0("Creating configuration list."),(await fetch(`${m0}/_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)y0("Configuration list created successfully.");else _1("Unable to create configuration list.")}await mk()}catch(l){_1("Error while ensuring configuration list.",l)}return a}async function rg(){let a=`${m0}/_api/web/lists/GetByTitle('${Ma}')/items?$select=Title,Data`,c=await fetch(a,{...{headers:{Accept:"application/json;odata=verbose"}}});if(c.status!==200)return _1("Unable to fetch configuration list items."),[];return(await c.json()).d.results}async function sk(){let a=await T5(C0);for(let l of eg(m0))if((await fetch(`${m0}/_api/web/lists/GetByTitle('${Ma}')/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)y0(`Item ${l.Title} added successfully.`);else _1(`Unable to add item ${l.Title}.`)}function tg(a=!1){if(a)return rg();if(nt)return nt;return nt=Mk(),nt}async function Mk(){let a=await nn();if(a.length<dk){if(await pk())await sk();let c=await rg();await KV(c,240),a=await nn()}return a}async function _k(a){let l=await vt(),c=await T5(),o=await fetch(`${l}/_api/web/webs/add`,{method:"POST",headers:{Accept:"application/json;odata=nometadata","Content-Type":"application/json","X-RequestDigest":c},body:JSON.stringify({parameters:{Description:"Site that stores SPFxExtensions Data and global apps",Language:1033,Title:"SPFxExtensions Data",Url:a,UseSamePermissionsAsParentSite:!0,WebTemplate:"STS"}})});if(!o.ok)throw new Error(`Failed to create SPFxExtensionsData web in ${l}`);return await o.json()}async function uk(){let a=await vt(),l=await T5(),c=await fetch(`${a}/${C0}/_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 _1(`Failed to fetch data from ${a}/${C0}/_api/web`),{data:void 0,isError:!0,error:`Failed to fetch data from ${a}/${C0}/_api/web`,warnings:[]}}return{data:await c.json(),isError:!1,error:"",warnings:[]}}async function Ak(){return(await N3("SPFxDataSite"))?.Data}var dt;function hg(){if(dt)return dt;return dt=Hk(),dt}async function Hk(){let a=await Ak();if(!a){let l=await uk();if(!l.isError&&!l.data){let c=await _k(C0);l.data=c}return await K2({Title:"SPFxDataSite",Data:l.data,date:"",expires:""},240),l.data}return a}var Mn="f3ab710f-2c08-422e-a7ad-5d93eb51e7a3",mt={accept:"application/json"},Vk={"Content-Type":"application/json"};async function gk(){let l={"X-RequestDigest":await T5(C0)};return(await(await fetch(`${m0}/_api/sitepages/pages`,{headers:{...mt,...l,...Vk},body:JSON.stringify({PageLayoutType:"SingleWebPartAppPage",PromotedState:0}),method:"POST"})).json()).Id}async function _n(){let a=await fetch(`${m0}/_api/sitepages/pages/GetByUrl('${Fr}')`,{headers:{...mt},method:"GET"});if(a.status===404)return;return await a.json()}var fk=[{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"}],Fk=[{addedFromPersistedData:!1,controlType:3,displayMode:2,emphasis:{},id:Mn,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:ji,instanceId:Mn,properties:{description:"Select an app to load from the dropdown below",selectedApp:eH,SPFxExtensionAppConfiguration:void 0},title:"SPFx Extension Loader"},webPartId:ji},{controlType:0,pageSettingsSlice:{isDefaultDescription:!0,isDefaultThumbnail:!0}}],xk={CanvasContent1:`${JSON.stringify(Fk)}`,LayoutWebpartsContent:`${JSON.stringify(fk)}`,Title:rH};async function Zg(a){let c={"X-RequestDigest":await T5(C0)};await fetch(`${m0}/_api/sitepages/pages(${a})/savepage`,{headers:{"Content-Type":"application/json",...mt,...c},body:JSON.stringify(xk),method:"POST"}),await fetch(`${m0}/_api/sitepages/pages(${a})/publish`,{headers:{...mt,...c},method:"POST"})}async function Ck(){let a=await gk();return await Zg(a),_n()}async function Lk(){let a=await N3("ConfiguratorPageData");if(a?.Data)return a.Data;let l=await _n();if(l)await K2({Title:"ConfiguratorPageData",Data:l,date:"",expires:""},480);return l}async function ig(){let a=await Lk();if(!a)return Ck();if(a.CanvasContent1.indexOf(Mn)===-1){await Zg(a.Id);let l=await _n();return await K2({Title:"ConfiguratorPageData",Data:l,date:"",expires:""},480),l}return a}async function Rk(){let a=`${m0}/_api/web/lists/GetByTitle('${_a}')/fields`;try{let l=await fetch(a,{headers:{Accept:"application/json;odata=verbose"}});if(l.status===200){if(!(await l.json()).d.results.map((r)=>r.InternalName).some((r)=>r==="EntryPointUrl"))await Sk(a,"EntryPointUrl","Full URL to the Entrypoint JS file, if * is specified all entries will be allowed.",!0)}}catch(l){_1("Error while ensuring list fields.",l)}}async function Sk(a,l,c,o){let e=await T5(C0);if((await fetch(a,{method:"POST",headers:{Accept:"application/json;odata=verbose","Content-Type":"application/json;odata=verbose","X-RequestDigest":e},body:JSON.stringify({__metadata:{type:"SP.Field"},Title:l,FieldTypeKind:3,Required:o,Description:c})})).status===201)y0(l,"field added successfully.");else _1(l,"Unable to add field.")}async function Dk(){try{let a=await fetch(`${m0}/_api/web/lists/GetByTitle('${_a}')?$select=*`,{method:"GET",headers:{Accept:"application/json;odata=verbose"}});if(a.status===404){y0("Creating app white list.");let c=await T5(C0),o=await fetch(`${m0}/_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:_a,Description:"App whitelist for SPFxExtensions"})});if(o.status===201)return y0("App whitelist created successfully."),o.json();else{_1("Unable to create app whitelist.");return}}return await Rk(),a.json()}catch(a){_1("Error while ensuring app whitelist.",a)}return}async function vg(){let a=await N3("AppWhiteList");if(a?.Data)return a.Data;let l=await Dk();if(l)await K2({Title:"AppWhiteList",Data:l,date:"",expires:""},480);return l}var pt;async function wk(){if(pt)return pt;return pt=kk(),pt}async function kk(){await hg(),await vg(),await ig(),window.__SPFxExtensions.Utils.ConfiguratorPageUrl=`${m0}/${Fr}`}async function qa(a=!1){return await wk(),tg(a)}async function ZS1(){return`${`${(await qa()).find((o)=>o.Title==="RootCDNLocation")?.Data??`${m0}`}${tH}`}${h2}`}async function pS1(){let a=await qa(),l=["7d56fff0-e90e-40a7-98cf-fcdbc63a9b01"];if(a.find((c)=>c.Title==="Version")?.Data!=="2025-08-24T10:40:36.039Z")a=await qa(!0),K2({Title:"Version",Data:"2025-08-24T10:40:36.039Z",date:"",expires:""},240),await Zt(l,!0)}async function Zt(a,l){let c=await window.caches.keys(),o=!1;for(let e of c){let r=await window.caches.open(e),t=await r.keys(),h=[];for(let Z of t){let i=Z.url.toLowerCase();if(a.some((n)=>i.indexOf(n.toLowerCase())>-1))y0("Deleting cache key",Z,"from",e),o=!0,h.push(r.delete(Z,{ignoreMethod:!0,ignoreSearch:!0,ignoreVary:!0}))}await Promise.allSettled(h)}if(o&&l)window.location.reload()}function ng(){return BV(`${Date.now()}`,13)}var dg={appId:"",name:"",entryPoint:""};function mg(){let a=g7(G1(dg)),l=g7(!1),c=g7(!1);if(Z2(()=>{if(Ba.value)a.value=G1(Ba.value),l.value=!0,c.value=!0}),!D1.value)return null;let o=D1.value;async function e(h,Z){if(c.value=Z.open,!Z.open)Ba.value=void 0}async function r(){if(!a.value.appId||!a.value.name||!a.value.entryPoint)return;let h=G1(o);h.manifest.manualEntries=h.manifest.manualEntries.filter((Z)=>Z.appId!==a.value.appId),h.manifest.appDefinitionMap=h.manifest.appDefinitionMap.filter((Z)=>Z.appId!==a.value.appId),h.manifest.appDefinitionMap.push({appId:a.value.appId,config:G1(Gc)}),h.manifest.manualEntries.push(G1(a.value)),D1.value=h,c.value=!1}let t=l6.value.filter((h)=>{return!o.manifest.appRelativeEntryPointUrls.includes(h)});return/*@__PURE__*/_(k5,{open:c.value,surfaceMotion:null,modalType:"alert",onOpenChange:e,children:[/*@__PURE__*/_(q0,{disableButtonEnhancement:!0,children:/*@__PURE__*/_(G2,{appearance:"outline",icon:/*@__PURE__*/_($6,{},void 0,!1,void 0,this),children:"Add Entry"},void 0,!1,void 0,this)},void 0,!1,void 0,this),/*@__PURE__*/_(y2,{children:/*@__PURE__*/_(w2,{children:[/*@__PURE__*/_(k2,{action:/*@__PURE__*/_(q0,{disableButtonEnhancement:!0,action:"close",children:/*@__PURE__*/_(F1,{appearance:"subtle","aria-label":"close",icon:/*@__PURE__*/_(m7,{},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__*/_(U2,{style:{padding:"16px 0"},children:/*@__PURE__*/_(Z1,{gap:16,children:[/*@__PURE__*/_(Z1,{gap:8,horizontal:!0,children:[/*@__PURE__*/_(n5,{disabled:l.value,value:a.value.appId,style:{width:"100%"},placeholder:"Enter application id (guid) or click Generate",onChange:(h,Z)=>{a.value={...a.value,appId:Z.value}}},void 0,!1,void 0,this),/*@__PURE__*/_(F1,{disabled:l.value,onClick:()=>{a.value={...a.value,appId:window.crypto.randomUUID()}},children:"Generate"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),/*@__PURE__*/_(n5,{defaultValue:a.value.name,style:{width:"100%"},placeholder:"Enter application name to be shown below",onChange:(h,Z)=>{a.value={...a.value,name:Z.value}}},void 0,!1,void 0,this),/*@__PURE__*/_(y4,{placeholder:"Select entry point",defaultValue:a.value.entryPoint,onOptionSelect:(h,Z)=>{a.value={...a.value,entryPoint:Z.optionValue??""}},children:t.map((h)=>/*@__PURE__*/_(k4,{value:h,children:h},h,!1,void 0,this))},void 0,!1,void 0,this),/*@__PURE__*/_(l3,{children:/*@__PURE__*/_(c3,{children:[/*@__PURE__*/_(P4,{children:"Remember:"},void 0,!1,void 0,this),"While adding your app manually, you have to ensure that the code inside entry point calls window.__SPFxExtensions.RegisterApp and/or window.__SPFxExtensions.InstantiateApp methods. This ensures proper lifecycle management of your SPFx application. If you want just a side-effect, you do not need to call those methods."]},void 0,!0,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this),/*@__PURE__*/_(D2,{children:[/*@__PURE__*/_(q0,{disableButtonEnhancement:!0,action:"close",children:/*@__PURE__*/_(F1,{appearance:"secondary",children:"Close"},void 0,!1,void 0,this)},void 0,!1,void 0,this),/*@__PURE__*/_(F1,{appearance:"primary",disabled:!a.value.appId||!a.value.name||!a.value.entryPoint,onClick:()=>{r()},children:l.value?"Save":"Add"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}var yk=Uk();async function Uk(){try{let a=await XV(),l=await $V();if(l.length>0&&!a)return l;if(l.length>0)y0("Cache mismatch, loading allowed apps data...");let c=await pg();return await YV(c,5),c}catch(a){return _1("Unable to load allowed apps data...",a),[]}}async function pg(a=!1){if((await qa(a)).find((o)=>o.Title==="EnableAppWhiteList")?.Data!=="true")return[{Id:1,Title:"All apps allowed",EntryPointUrl:"*",date:(/*@__PURE__*/new Date()).toISOString(),expires:(/*@__PURE__*/new Date()).toISOString()}];return Gk()}async function Gk(){let a=`${m0}/_api/web/lists/getByTitle('${_a}')/Items?$select=Id,Title,EntryPointUrl&$top=1000`;return await Bk(a)}async function Bk(a){let l=a,c=[];while(l){let e=await(await fetch(l,{method:"GET",headers:{Accept:"application/json;odata=verbose"}})).json();if(e.error)throw new Error(JSON.stringify(e.error));c.push(...e.d.results),l=e.d.__next}return c}function Tk(a,l){if(l.some((e)=>e.EntryPointUrl==="*"))return!0;let o=(a.origin+a.pathname).toLowerCase();return l.some((e)=>{try{let r=new URL(e.EntryPointUrl),t=r.origin+r.pathname;return o===t.toLowerCase()}catch(r){return _1("Error while parsing allowed entry URL",e.EntryPointUrl,r),!1}})}async function sg(a,l,c=!1){if(CV(a))return!0;let o=c?await pg(c):await yk;if(!Tk(a,o))return q2("File",a,`is not allowed to be executed. Please add it to whitelist @ ${m0}.`),q2(`If you are a developer you can enable this app by adding window.localStorage item ${h3.SPFXEXT}${l} with a number value corresponding to development port of the localhost server.`),!1;return!0}function Mg(a,l,c,o){let e=o.find((r)=>r.appId===a);if(e){e.name=l,e.resolved=!0,e.isManual=c;return}o.push({appId:a,name:l,resolved:!0,isManual:c,config:G1(Gc)})}async function _g(a){let l=a.manifest.appDefinitionMap.map((c)=>{return{appId:c.appId,name:`Unknown_${c.appId}`,isManual:!1,resolved:!1,config:c.config??G1(Gc)}});for(let c of a.manifest.appRelativeEntryPointUrls){let o=c.replace(/\.\.\/?/g,"").replace(/\.\//g,""),e=new URL(`${et}/${k1}/${a.name}/${o}`);if(!await sg(e,a.name,!0))continue;e.searchParams.set("t",`${Date.now()}`);try{let t=await import(`${e}`);if(!t.default){_1(`Invalid app definition file ${e}, default export not available.`);continue}if(!Array.isArray(t.default)){_1(`Invalid app definition file ${e}, default export should be an array.`);continue}if(t.default.some((h)=>!h.id||!h.name)){_1(`Invalid app definition file ${e}, default export should be an array of objects with id and name properties.`);continue}for(let h of t.default)Mg(h.id,h.name,!1,l)}catch(t){_1(`Error loading ${e}`,t);continue}}for(let c of a.manifest.manualEntries)Mg(c.appId,c.name,!0,l);return l}f5();var bk=rt();function ug(a){let l=z7(),[c,o]=h1(C1.value),[e,r]=h1(!1),[t,h]=h1([]),[Z,i]=h1([]),[n,v]=h1([]);if(Z2(()=>{if(!C1.value)return;if(!c){o(C1.value);return}let d=JSON.stringify(C1.value),m=JSON.stringify(c);o(C1.value),r(d!==m)}),Z2(()=>{if(!J2){if(B5())ct(o0,R0.value.urlMap).then((d)=>{h(d?[d]:[])});if(ot()&&!B5())lt(o0).then((d)=>{i(d?[d]:[])})}else{let d=Xr(R0.value.urlMap);h(d.hubs),i(d.sites),v(d.webs)}}),!C1.value||!D1.value)return null;return/*@__PURE__*/_(b2,{...l,separator:!0,open:!!C1.value,position:"end",size:"large",children:[/*@__PURE__*/_(E2,{children:/*@__PURE__*/_(W2,{action:/*@__PURE__*/_(F1,{appearance:"subtle","aria-label":"Close",icon:/*@__PURE__*/_(m7,{},void 0,!1,void 0,this),onClick:()=>{C1.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__*/_(O2,{children:/*@__PURE__*/_(m1,{children:[/*@__PURE__*/_(Z1,{horizontal:!0,horizontalAlign:"space-between",verticalAlign:"center",children:[/*@__PURE__*/_(Z1,{horizontal:!0,verticalAlign:"center",gap:8,children:[/*@__PURE__*/_(S0,{children:"Enable everywhere"},void 0,!1,void 0,this),/*@__PURE__*/_(S2,{withArrow:!0,children:[/*@__PURE__*/_(e2,{disableButtonEnhancement:!0,children:/*@__PURE__*/_(W0,{children:/*@__PURE__*/_(_e,{},void 0,!1,void 0,this)},void 0,!1,void 0,this)},void 0,!1,void 0,this),/*@__PURE__*/_(R2,{tabIndex:-1,children:/*@__PURE__*/_(t2,{children:bk==="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__*/_(D0,{defaultChecked:C1.value.config.enabledEverywhere,onChange:(d,m)=>{let s=G1(C1.value);s.config.enabledEverywhere=m.checked,s.config.includedIds=[],s.config.excludedIds=[],s.config.includedHubIds=[],s.config.excludedHubIds=[],C1.value=s}},void 0,!1,void 0,this)]},void 0,!0,void 0,this),/*@__PURE__*/_(Z1,{gap:12,children:[/*@__PURE__*/_(d5,{children:"Hub sites"},void 0,!1,void 0,this),/*@__PURE__*/_(z5,{},void 0,!1,void 0,this),/*@__PURE__*/_(Z1,{children:t.length>0?/*@__PURE__*/_(tt,{hubSites:t,control:"switch"},void 0,!1,void 0,this):null},void 0,!1,void 0,this),/*@__PURE__*/_(d5,{children:"Site collections"},void 0,!1,void 0,this),/*@__PURE__*/_(z5,{},void 0,!1,void 0,this),/*@__PURE__*/_(Z1,{children:Z.length>0?/*@__PURE__*/_(Oa,{additionalIcon:/*@__PURE__*/_(K6,{},void 0,!1,void 0,this),siteCollections:Z,control:"switch"},void 0,!1,void 0,this):null},void 0,!1,void 0,this),/*@__PURE__*/_(d5,{children:"Webs"},void 0,!1,void 0,this),/*@__PURE__*/_(z5,{},void 0,!1,void 0,this),/*@__PURE__*/_(Z1,{children:n.length>0?/*@__PURE__*/_(Y3,{additionalIcon:/*@__PURE__*/_(ve,{},void 0,!1,void 0,this),webs:n,control:"switch"},void 0,!1,void 0,this):null},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this),/*@__PURE__*/_(o3,{children:/*@__PURE__*/_(Z1,{horizontal:!0,gap:8,horizontalAlign:"center",children:[/*@__PURE__*/_(F1,{appearance:"secondary",onClick:()=>{C1.value=void 0},children:"Cancel"},void 0,!1,void 0,this),/*@__PURE__*/_(F1,{appearance:"primary",disabled:!e,onClick:()=>{if(!C1.value)return;let d=G1(D1.value),m=G1(C1.value);d.manifest.appDefinitionMap=d.manifest.appDefinitionMap.filter((s)=>s.appId!==m.appId),d.manifest.appDefinitionMap.push(m),D1.value=d,C1.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 Ag(){let a=g7([]),l=g7(!1);async function c(e){l.value=!1;let r=await _g(e);l.value=!0,a.value=r}function o(e){if(!D1.value)return;let r=G1(D1.value);r.manifest.appDefinitionMap=r.manifest.appDefinitionMap.filter((t)=>t.appId!==e.appId),r.manifest.manualEntries=r.manifest.manualEntries.filter((t)=>t.appId!==e.appId),D1.value=r}if(Z2(()=>{if(!D1.value)return;c(D1.value)}),!D1.value)return null;if(!l.value)return/*@__PURE__*/_(Z1,{style:{marginTop:"10px"},children:/*@__PURE__*/_(j7,{},void 0,!1,void 0,this)},void 0,!1,void 0,this);return/*@__PURE__*/_(Z1,{style:{marginTop:"10px",borderBottom:"1px solid #eaeaea"},children:[a.value.map((e)=>{return/*@__PURE__*/_(Z1,{horizontal:!0,gap:8,horizontalAlign:"space-between",verticalAlign:"center",style:{borderTop:"1px solid #eaeaea",padding:"10px 6px",minHeight:"53px"},children:[/*@__PURE__*/_(Z1,{horizontal:!0,verticalAlign:"center",gap:8,grow:!0,children:[e.isManual?/*@__PURE__*/_(d_,{},void 0,!1,void 0,this):/*@__PURE__*/_(NM,{},void 0,!1,void 0,this)," ",/*@__PURE__*/_(W0,{size:"medium",onClick:()=>{C1.value={appId:e.appId,config:e.config}},children:e.name},void 0,!1,void 0,this)]},void 0,!0,void 0,this),/*@__PURE__*/_(Z1,{gap:8,horizontal:!0,children:[/*@__PURE__*/_(F1,{"aria-label":"Delete configuration item",icon:/*@__PURE__*/_(F3,{},void 0,!1,void 0,this),disabled:!e.isManual&&e.resolved,onClick:()=>{o(e)}},void 0,!1,void 0,this),/*@__PURE__*/_(F1,{"aria-label":"Edit item",icon:/*@__PURE__*/_($M,{},void 0,!1,void 0,this),disabled:!e.isManual,onClick:()=>{let r=D1.value?.manifest.manualEntries.find((t)=>t.appId===e.appId);if(!r)return;Ba.value=G1(r)}},void 0,!1,void 0,this),/*@__PURE__*/_(F1,{"aria-label":"Edit sites",icon:/*@__PURE__*/_(XM,{},void 0,!1,void 0,this),onClick:()=>{C1.value={appId:e.appId,config:e.config}}},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)}),/*@__PURE__*/_(ug,{appDefinitions:a.value},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}f5();f5();F();var Y1=h6(WA(),1);var Ok=/*@__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 c6(a,l,c){let o=Ek(a),{webkitRelativePath:e}=a,r=typeof l==="string"?l:typeof e==="string"&&e.length>0?e:`./${a.name}`;if(typeof o.path!=="string")Hg(o,"path",r);if(c!==void 0)Object.defineProperty(o,"handle",{value:c,writable:!1,configurable:!1,enumerable:!0});return Hg(o,"relativePath",r),o}function Ek(a){let{name:l}=a;if(l&&l.lastIndexOf(".")!==-1&&!a.type){let o=l.split(".").pop().toLowerCase(),e=Ok.get(o);if(e)Object.defineProperty(a,"type",{value:e,writable:!1,configurable:!1,enumerable:!0})}return a}function Hg(a,l,c){Object.defineProperty(a,l,{value:c,writable:!1,configurable:!1,enumerable:!0})}var Wk=[".DS_Store","Thumbs.db"];function An(a){return q3(this,void 0,void 0,function*(){if(st(a)&&Ik(a.dataTransfer))return Qk(a.dataTransfer,a.type);else if(qk(a))return Pk(a);else if(Array.isArray(a)&&a.every((l)=>("getFile"in l)&&typeof l.getFile==="function"))return zk(a);return[]})}function Ik(a){return st(a)}function qk(a){return st(a)&&st(a.target)}function st(a){return typeof a==="object"&&a!==null}function Pk(a){return un(a.target.files).map((l)=>c6(l))}function zk(a){return q3(this,void 0,void 0,function*(){return(yield Promise.all(a.map((c)=>c.getFile()))).map((c)=>c6(c))})}function Qk(a,l){return q3(this,void 0,void 0,function*(){if(a.items){let c=un(a.items).filter((e)=>e.kind==="file");if(l!=="drop")return c;let o=yield Promise.all(c.map(Jk));return Vg(fg(o))}return Vg(un(a.files).map((c)=>c6(c)))})}function Vg(a){return a.filter((l)=>Wk.indexOf(l.name)===-1)}function un(a){if(a===null)return[];let l=[];for(let c=0;c<a.length;c++){let o=a[c];l.push(o)}return l}function Jk(a){if(typeof a.webkitGetAsEntry!=="function")return gg(a);let l=a.webkitGetAsEntry();if(l&&l.isDirectory)return Fg(l);return gg(a,l)}function fg(a){return a.reduce((l,c)=>[...l,...Array.isArray(c)?fg(c):[c]],[])}function gg(a,l){return q3(this,void 0,void 0,function*(){var c;if(globalThis.isSecureContext&&typeof a.getAsFileSystemHandle==="function"){let r=yield a.getAsFileSystemHandle();if(r===null)throw new Error(`${a} is not a File`);if(r!==void 0){let t=yield r.getFile();return t.handle=r,c6(t)}}let o=a.getAsFile();if(!o)throw new Error(`${a} is not a File`);return c6(o,(c=l===null||l===void 0?void 0:l.fullPath)!==null&&c!==void 0?c:void 0)})}function Kk(a){return q3(this,void 0,void 0,function*(){return a.isDirectory?Fg(a):$k(a)})}function Fg(a){let l=a.createReader();return new Promise((c,o)=>{let e=[];function r(){l.readEntries((t)=>q3(this,void 0,void 0,function*(){if(!t.length)try{let h=yield Promise.all(e);c(h)}catch(h){o(h)}else{let h=Promise.all(t.map(Kk));e.push(h),r()}}),(t)=>{o(t)})}r()})}function $k(a){return q3(this,void 0,void 0,function*(){return new Promise((l,c)=>{a.file((o)=>{let e=c6(o,a.fullPath);l(e)},(o)=>{c(o)})})})}var Mt=h6(xg(),1);function Cg(a){return ly(a)||ay(a)||kg(a)||jk()}function jk(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
172
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function ay(a){if(typeof Symbol!=="undefined"&&a[Symbol.iterator]!=null||a["@@iterator"]!=null)return Array.from(a)}function ly(a){if(Array.isArray(a))return Hn(a)}function Lg(a,l){var c=Object.keys(a);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(a);l&&(o=o.filter(function(e){return Object.getOwnPropertyDescriptor(a,e).enumerable})),c.push.apply(c,o)}return c}function Rg(a){for(var l=1;l<arguments.length;l++){var c=arguments[l]!=null?arguments[l]:{};l%2?Lg(Object(c),!0).forEach(function(o){wg(a,o,c[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(a,Object.getOwnPropertyDescriptors(c)):Lg(Object(c)).forEach(function(o){Object.defineProperty(a,o,Object.getOwnPropertyDescriptor(c,o))})}return a}function wg(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 lo(a,l){return ey(a)||oy(a,l)||kg(a,l)||cy()}function cy(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
173
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function kg(a,l){if(!a)return;if(typeof a==="string")return Hn(a,l);var c=Object.prototype.toString.call(a).slice(8,-1);if(c==="Object"&&a.constructor)c=a.constructor.name;if(c==="Map"||c==="Set")return Array.from(a);if(c==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(c))return Hn(a,l)}function Hn(a,l){if(l==null||l>a.length)l=a.length;for(var c=0,o=new Array(l);c<l;c++)o[c]=a[c];return o}function oy(a,l){var c=a==null?null:typeof Symbol!=="undefined"&&a[Symbol.iterator]||a["@@iterator"];if(c==null)return;var o=[],e=!0,r=!1,t,h;try{for(c=c.call(a);!(e=(t=c.next()).done);e=!0)if(o.push(t.value),l&&o.length===l)break}catch(Z){r=!0,h=Z}finally{try{if(!e&&c.return!=null)c.return()}finally{if(r)throw h}}return o}function ey(a){if(Array.isArray(a))return a}var ry=typeof Mt.default==="function"?Mt.default:Mt.default.default,ty="file-invalid-type",hy="file-too-large",Zy="file-too-small",iy="too-many-files";var vy=function a(){var l=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",c=l.split(","),o=c.length>1?"one of ".concat(c.join(", ")):c[0];return{code:ty,message:"File type must be ".concat(o)}},Sg=function a(l){return{code:hy,message:"File is larger than ".concat(l," ").concat(l===1?"byte":"bytes")}},Dg=function a(l){return{code:Zy,message:"File is smaller than ".concat(l," ").concat(l===1?"byte":"bytes")}},yg={code:iy,message:"Too many files"};function Vn(a,l){var c=a.type==="application/x-moz-file"||ry(a,l);return[c,c?null:vy(l)]}function gn(a,l,c){if(o6(a.size)){if(o6(l)&&o6(c)){if(a.size>c)return[!1,Sg(c)];if(a.size<l)return[!1,Dg(l)]}else if(o6(l)&&a.size<l)return[!1,Dg(l)];else if(o6(c)&&a.size>c)return[!1,Sg(c)]}return[!0,null]}function o6(a){return a!==void 0&&a!==null}function Ug(a){var{files:l,accept:c,minSize:o,maxSize:e,multiple:r,maxFiles:t,validator:h}=a;if(!r&&l.length>1||r&&t>=1&&l.length>t)return!1;return l.every(function(Z){var i=Vn(Z,c),n=lo(i,1),v=n[0],d=gn(Z,o,e),m=lo(d,1),s=m[0],p=h?h(Z):null;return v&&s&&!p})}function co(a){if(typeof a.isPropagationStopped==="function")return a.isPropagationStopped();else if(typeof a.cancelBubble!=="undefined")return a.cancelBubble;return!1}function oo(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 fn(a){a.preventDefault()}function ny(a){return a.indexOf("MSIE")!==-1||a.indexOf("Trident/")!==-1}function dy(a){return a.indexOf("Edge/")!==-1}function Gg(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:window.navigator.userAgent;return ny(a)||dy(a)}function $2(){for(var a=arguments.length,l=new Array(a),c=0;c<a;c++)l[c]=arguments[c];return function(o){for(var e=arguments.length,r=new Array(e>1?e-1:0),t=1;t<e;t++)r[t-1]=arguments[t];return l.some(function(h){if(!co(o)&&h)h.apply(void 0,[o].concat(r));return co(o)})}}function Bg(){return"showOpenFilePicker"in window}function Tg(a){if(o6(a)){var l=Object.entries(a).filter(function(c){var o=lo(c,2),e=o[0],r=o[1],t=!0;if(!Wg(e))console.warn('Skipped "'.concat(e,'" 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.')),t=!1;if(!Array.isArray(r)||!r.every(Ig))console.warn('Skipped "'.concat(e,'" because an invalid file extension was provided.')),t=!1;return t}).reduce(function(c,o){var e=lo(o,2),r=e[0],t=e[1];return Rg(Rg({},c),{},wg({},r,t))},{});return[{description:"Files",accept:l}]}return a}function bg(a){if(o6(a))return Object.entries(a).reduce(function(l,c){var o=lo(c,2),e=o[0],r=o[1];return[].concat(Cg(l),[e],Cg(r))},[]).filter(function(l){return Wg(l)||Ig(l)}).join(",");return}function Og(a){return a instanceof DOMException&&(a.name==="AbortError"||a.code===a.ABORT_ERR)}function Eg(a){return a instanceof DOMException&&(a.name==="SecurityError"||a.code===a.SECURITY_ERR)}function Wg(a){return a==="audio/*"||a==="video/*"||a==="image/*"||a==="text/*"||a==="application/*"||/\w+\/[-+.\w]+/g.test(a)}function Ig(a){return/^.*\.[\w]+$/.test(a)}var my=["children"],py=["open"],sy=["refKey","role","onKeyDown","onFocus","onBlur","onClick","onDragEnter","onDragOver","onDragLeave","onDrop"],My=["refKey","onChange","onClick"];function _y(a){return Hy(a)||Ay(a)||zg(a)||uy()}function uy(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
174
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Ay(a){if(typeof Symbol!=="undefined"&&a[Symbol.iterator]!=null||a["@@iterator"]!=null)return Array.from(a)}function Hy(a){if(Array.isArray(a))return xn(a)}function Fn(a,l){return fy(a)||gy(a,l)||zg(a,l)||Vy()}function Vy(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
175
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function zg(a,l){if(!a)return;if(typeof a==="string")return xn(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 xn(a,l)}function xn(a,l){if(l==null||l>a.length)l=a.length;for(var c=0,o=new Array(l);c<l;c++)o[c]=a[c];return o}function gy(a,l){var c=a==null?null:typeof Symbol!=="undefined"&&a[Symbol.iterator]||a["@@iterator"];if(c==null)return;var o=[],e=!0,r=!1,t,h;try{for(c=c.call(a);!(e=(t=c.next()).done);e=!0)if(o.push(t.value),l&&o.length===l)break}catch(Z){r=!0,h=Z}finally{try{if(!e&&c.return!=null)c.return()}finally{if(r)throw h}}return o}function fy(a){if(Array.isArray(a))return a}function qg(a,l){var c=Object.keys(a);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(a);l&&(o=o.filter(function(e){return Object.getOwnPropertyDescriptor(a,e).enumerable})),c.push.apply(c,o)}return c}function p0(a){for(var l=1;l<arguments.length;l++){var c=arguments[l]!=null?arguments[l]:{};l%2?qg(Object(c),!0).forEach(function(o){Cn(a,o,c[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(a,Object.getOwnPropertyDescriptors(c)):qg(Object(c)).forEach(function(o){Object.defineProperty(a,o,Object.getOwnPropertyDescriptor(c,o))})}return a}function Cn(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 _t(a,l){if(a==null)return{};var c=Fy(a,l),o,e;if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(a);for(e=0;e<r.length;e++){if(o=r[e],l.indexOf(o)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(a,o))continue;c[o]=a[o]}}return c}function Fy(a,l){if(a==null)return{};var c={},o=Object.keys(a),e,r;for(r=0;r<o.length;r++){if(e=o[r],l.indexOf(e)>=0)continue;c[e]=a[e]}return c}var ut=/*@__PURE__*/I(function(a,l){var c=a.children,o=_t(a,my),e=xy(o),r=e.open,t=_t(e,py);return Z5(l,function(){return{open:r}},[r]),/*@__PURE__*/Rh.createElement(m1,null,c(p0(p0({},t),{},{open:r})))});ut.displayName="Dropzone";var Qg={disabled:!1,getFilesFromEvent:An,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};ut.defaultProps=Qg;ut.propTypes={children:Y1.default.func,accept:Y1.default.objectOf(Y1.default.arrayOf(Y1.default.string)),multiple:Y1.default.bool,preventDropOnDocument:Y1.default.bool,noClick:Y1.default.bool,noKeyboard:Y1.default.bool,noDrag:Y1.default.bool,noDragEventsBubbling:Y1.default.bool,minSize:Y1.default.number,maxSize:Y1.default.number,maxFiles:Y1.default.number,disabled:Y1.default.bool,getFilesFromEvent:Y1.default.func,onFileDialogCancel:Y1.default.func,onFileDialogOpen:Y1.default.func,useFsAccessApi:Y1.default.bool,autoFocus:Y1.default.bool,onDragEnter:Y1.default.func,onDragLeave:Y1.default.func,onDragOver:Y1.default.func,onDrop:Y1.default.func,onDropAccepted:Y1.default.func,onDropRejected:Y1.default.func,onError:Y1.default.func,validator:Y1.default.func};var Jg=ut,Ln={isFocused:!1,isFileDialogActive:!1,isDragActive:!1,isDragAccept:!1,isDragReject:!1,acceptedFiles:[],fileRejections:[]};function xy(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},l=p0(p0({},Qg),a),c=l.accept,o=l.disabled,e=l.getFilesFromEvent,r=l.maxSize,t=l.minSize,h=l.multiple,Z=l.maxFiles,i=l.onDragEnter,n=l.onDragLeave,v=l.onDragOver,d=l.onDrop,m=l.onDropAccepted,s=l.onDropRejected,p=l.onFileDialogCancel,M=l.onFileDialogOpen,u=l.useFsAccessApi,A=l.autoFocus,V=l.preventDropOnDocument,H=l.noClick,g=l.noKeyboard,S=l.noDrag,C=l.noDragEventsBubbling,E=l.onError,T=l.validator,c1=p1(function(){return bg(c)},[c]),l1=p1(function(){return Tg(c)},[c]),Q=p1(function(){return typeof M==="function"?M:Pg},[M]),x=p1(function(){return typeof p==="function"?p:Pg},[p]),R=G(null),U=G(null),K=M2(Cy,Ln),X=Fn(K,2),i1=X[0],J=X[1],s1=i1.isFocused,H1=i1.isFileDialogActive,B=G(typeof window!=="undefined"&&window.isSecureContext&&u&&Bg()),b=function o1(){if(!B.current&&H1)setTimeout(function(){if(U.current){var f1=U.current.files;if(!f1.length)J({type:"closeDialog"}),x()}},300)};j(function(){return window.addEventListener("focus",b,!1),function(){window.removeEventListener("focus",b,!1)}},[U,H1,x,B]);var x1=G([]),y1=function o1(f1){if(R.current&&R.current.contains(f1.target))return;f1.preventDefault(),x1.current=[]};j(function(){if(V)document.addEventListener("dragover",fn,!1),document.addEventListener("drop",y1,!1);return function(){if(V)document.removeEventListener("dragover",fn),document.removeEventListener("drop",y1)}},[R,V]),j(function(){if(!o&&A&&R.current)R.current.focus();return function(){}},[R,A,o]);var r0=q(function(o1){if(E)E(o1);else console.error(o1)},[E]),$5=q(function(o1){if(o1.preventDefault(),o1.persist(),t6(o1),x1.current=[].concat(_y(x1.current),[o1.target]),oo(o1))Promise.resolve(e(o1)).then(function(f1){if(co(o1)&&!C)return;var t0=f1.length,s0=t0>0&&Ug({files:f1,accept:c1,minSize:t,maxSize:r,multiple:h,maxFiles:Z,validator:T}),r5=t0>0&&!s0;if(J({isDragAccept:s0,isDragReject:r5,isDragActive:!0,type:"setDraggedFiles"}),i)i(o1)}).catch(function(f1){return r0(f1)})},[e,i,r0,C,c1,t,r,h,Z,T]),m2=q(function(o1){o1.preventDefault(),o1.persist(),t6(o1);var f1=oo(o1);if(f1&&o1.dataTransfer)try{o1.dataTransfer.dropEffect="copy"}catch(t0){}if(f1&&v)v(o1);return!1},[v,C]),p2=q(function(o1){o1.preventDefault(),o1.persist(),t6(o1);var f1=x1.current.filter(function(s0){return R.current&&R.current.contains(s0)}),t0=f1.indexOf(o1.target);if(t0!==-1)f1.splice(t0,1);if(x1.current=f1,f1.length>0)return;if(J({type:"setDraggedFiles",isDragActive:!1,isDragAccept:!1,isDragReject:!1}),oo(o1)&&n)n(o1)},[R,n,C]),Y5=q(function(o1,f1){var t0=[],s0=[];if(o1.forEach(function(r5){var c4=Vn(r5,c1),Z3=Fn(c4,2),r1=Z3[0],u1=Z3[1],w1=gn(r5,t,r),J1=Fn(w1,2),h0=J1[0],s5=J1[1],O0=T?T(r5):null;if(r1&&h0&&!O0)t0.push(r5);else{var X2=[u1,s5];if(O0)X2=X2.concat(O0);s0.push({file:r5,errors:X2.filter(function(t5){return t5})})}}),!h&&t0.length>1||h&&Z>=1&&t0.length>Z)t0.forEach(function(r5){s0.push({file:r5,errors:[yg]})}),t0.splice(0);if(J({acceptedFiles:t0,fileRejections:s0,isDragReject:s0.length>0,type:"setFiles"}),d)d(t0,s0,f1);if(s0.length>0&&s)s(s0,f1);if(t0.length>0&&m)m(t0,f1)},[J,h,c1,t,r,Z,d,m,s,T]),b5=q(function(o1){if(o1.preventDefault(),o1.persist(),t6(o1),x1.current=[],oo(o1))Promise.resolve(e(o1)).then(function(f1){if(co(o1)&&!C)return;Y5(f1,o1)}).catch(function(f1){return r0(f1)});J({type:"reset"})},[e,Y5,r0,C]),n1=q(function(){if(B.current){J({type:"openDialog"}),Q();var o1={multiple:h,types:l1};window.showOpenFilePicker(o1).then(function(f1){return e(f1)}).then(function(f1){Y5(f1,null),J({type:"closeDialog"})}).catch(function(f1){if(Og(f1))x(f1),J({type:"closeDialog"});else if(Eg(f1))if(B.current=!1,U.current)U.current.value=null,U.current.click();else r0(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 r0(f1)});return}if(U.current)J({type:"openDialog"}),Q(),U.current.value=null,U.current.click()},[J,Q,x,u,Y5,r0,l1,h]),O5=q(function(o1){if(!R.current||!R.current.isEqualNode(o1.target))return;if(o1.key===" "||o1.key==="Enter"||o1.keyCode===32||o1.keyCode===13)o1.preventDefault(),n1()},[R,n1]),d1=q(function(){J({type:"focus"})},[]),g5=q(function(){J({type:"blur"})},[]),s2=q(function(){if(H)return;if(Gg())setTimeout(n1,0);else n1()},[H,n1]),E5=function o1(f1){return o?null:f1},r6=function o1(f1){return g?null:E5(f1)},a4=function o1(f1){return S?null:E5(f1)},t6=function o1(f1){if(C)f1.stopPropagation()},Ct=p1(function(){return function(){var o1=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},f1=o1.refKey,t0=f1===void 0?"ref":f1,s0=o1.role,r5=o1.onKeyDown,c4=o1.onFocus,Z3=o1.onBlur,r1=o1.onClick,u1=o1.onDragEnter,w1=o1.onDragOver,J1=o1.onDragLeave,h0=o1.onDrop,s5=_t(o1,sy);return p0(p0(Cn({onKeyDown:r6($2(r5,O5)),onFocus:r6($2(c4,d1)),onBlur:r6($2(Z3,g5)),onClick:E5($2(r1,s2)),onDragEnter:a4($2(u1,$5)),onDragOver:a4($2(w1,m2)),onDragLeave:a4($2(J1,p2)),onDrop:a4($2(h0,b5)),role:typeof s0==="string"&&s0!==""?s0:"presentation"},t0,R),!o&&!g?{tabIndex:0}:{}),s5)}},[R,O5,d1,g5,s2,$5,m2,p2,b5,g,S,o]),za=q(function(o1){o1.stopPropagation()},[]),l4=p1(function(){return function(){var o1=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},f1=o1.refKey,t0=f1===void 0?"ref":f1,s0=o1.onChange,r5=o1.onClick,c4=_t(o1,My),Z3=Cn({accept:c1,multiple:h,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:E5($2(s0,b5)),onClick:E5($2(r5,za)),tabIndex:-1},t0,U);return p0(p0({},Z3),c4)}},[U,c,h,b5,o]);return p0(p0({},i1),{},{isFocused:s1&&!o,getRootProps:Ct,getInputProps:l4,rootRef:R,inputRef:U,open:E5(n1)})}function Cy(a,l){switch(l.type){case"focus":return p0(p0({},a),{},{isFocused:!0});case"blur":return p0(p0({},a),{},{isFocused:!1});case"openDialog":return p0(p0({},Ln),{},{isFileDialogActive:!0});case"closeDialog":return p0(p0({},a),{},{isFileDialogActive:!1});case"setDraggedFiles":return p0(p0({},a),{},{isDragActive:l.isDragActive,isDragAccept:l.isDragAccept,isDragReject:l.isDragReject});case"setFiles":return p0(p0({},a),{},{acceptedFiles:l.acceptedFiles,fileRejections:l.fileRejections,isDragReject:l.isDragReject});case"reset":return p0({},Ln);default:return a}}function Pg(){}async function Kg(a){let l={data:[],warnings:[],error:"",isError:!1},c=a.find((t)=>t.path.toLowerCase().endsWith(P0)),o=-1,e="/";if(!c)l.warnings.push("No manifest.txt file found."),l.isError=!1;else o=c.path.lastIndexOf("/"),e=c.path.substring(0,o+1);for(let t of a){if(t.size===0)continue;let h=await t.arrayBuffer(),Z=new Uint8Array(h),i=t.path,n=t.path.lastIndexOf("/"),v=n>-1?t.path.substring(0,n+1):"",d="/";if(v){let m=v.split("/").filter((p)=>p.length>0),s=e.split("/").filter((p)=>p.length>0);m.forEach((p)=>{if(s.includes(p))d+=`${p}/`})}i=i.replace(d,"").replace(/^\./,""),l.data.push({fileName:i,content:Z})}let r=[];if(e!=="/"){if(r=a.filter((t)=>!t.path.startsWith(e)),r.length>0)l.warnings.push("Some files are outside of manifest.txt directory."),l.warnings.push(...r.map((t)=>`File: ${t.relativePath}`))}return l}async function*$g(a,l,c){await ya(a,l);let o=x7(a),e={data:[],error:"",isError:!1,warnings:[]},r=[];for(let t of c){let h=t.fileName.lastIndexOf("/"),Z=h>-1,i=Z?t.fileName.substring(h+1):t.fileName,n=t.fileName.substring(0,h),v=`${k1}/${l}${n?`/${n}`:""}`,d=a.web.getFolderByServerRelativePath(v);if(Z){if(!r.includes(n))try{await pV(a,l,n.split("/")),r.push(n)}catch(m){return e.error=`Error while creating ${n} in ${v} folder in ${o}. ${m}`,e.isError=!0,e}}try{await d.files.addUsingPath(i,new Blob([t.content]),{Overwrite:!0});let m=`${i} uploaded successfully`;e.data.push(m),yield{data:m,success:!0,fileName:t.fileName}}catch(m){let s=`Error while uploading ${i} in ${v} folder in ${o}`;_1(s,m),e.warnings.push(s),yield{data:s,success:!1,fileName:t.fileName}}}if(e.data.length===0&&e.warnings.length>0)e.error="All files failed to upload.",e.isError=!0;return e}async function Ly(a,l){let c=await a.web.using(wH())(),o=a.web.lists.getByTitle(k1).items.select("FileLeafRef","FileDirRef").filter(`FSObjType eq 0 and substringof('${k1}/${l}',FileDirRef)`).top(100),e=[],r=c.ServerRelativeUrl.replace(/\/$/,"");for await(let t of o)t.forEach((Z)=>{let i=Z.FileDirRef.replace(`${r}/${k1}/${l}`,"."),n=Z.FileLeafRef;e.push(`${i}/${n}`)});return e}async function Ry(a,l){return(await Ly(a,l)).filter((o)=>/\.js$/.test(o))}V7(()=>{if(D1.value?.name)Ry(o0,D1.value.name).then((a)=>{l6.value=a})});var Yg={},Sy=function(a,l,c,o,e){var r=new Worker(Yg[l]||(Yg[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 r.onmessage=function(t){var h=t.data,Z=h.$e$;if(Z){var i=new Error(Z[0]);i.code=Z[1],i.stack=Z[2],e(i,null)}else e(null,h)},r.postMessage(c,o),r},V5=Uint8Array,e6=Uint16Array,jg=Int32Array,Dn=new V5([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]),wn=new V5([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,0,0]),af=new V5([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),lf=function(a,l){var c=new e6(31);for(var o=0;o<31;++o)c[o]=l+=1<<a[o-1];var e=new jg(c[30]);for(var o=1;o<30;++o)for(var r=c[o];r<c[o+1];++r)e[r]=r-c[o]<<5|o;return{b:c,r:e}},cf=lf(Dn,2),kn=cf.b,Dy=cf.r;kn[28]=258,Dy[258]=28;var of=lf(wn,0),ef=of.b,wD1=of.r,gt=new e6(32768);for(U1=0;U1<32768;++U1)S7=(U1&43690)>>1|(U1&21845)<<1,S7=(S7&52428)>>2|(S7&13107)<<2,S7=(S7&61680)>>4|(S7&3855)<<4,gt[U1]=((S7&65280)>>8|(S7&255)<<8)>>1;var S7,U1,Pa=function(a,l,c){var o=a.length,e=0,r=new e6(l);for(;e<o;++e)if(a[e])++r[a[e]-1];var t=new e6(l);for(e=1;e<l;++e)t[e]=t[e-1]+r[e-1]<<1;var h;if(c){h=new e6(1<<l);var Z=15-l;for(e=0;e<o;++e)if(a[e]){var i=e<<4|a[e],n=l-a[e],v=t[a[e]-1]++<<n;for(var d=v|(1<<n)-1;v<=d;++v)h[gt[v]>>Z]=i}}else{h=new e6(o);for(e=0;e<o;++e)if(a[e])h[e]=gt[t[a[e]-1]++]>>15-a[e]}return h},eo=new V5(288);for(U1=0;U1<144;++U1)eo[U1]=8;var U1;for(U1=144;U1<256;++U1)eo[U1]=9;var U1;for(U1=256;U1<280;++U1)eo[U1]=7;var U1;for(U1=280;U1<288;++U1)eo[U1]=8;var U1,rf=new V5(32);for(U1=0;U1<32;++U1)rf[U1]=5;var U1;var tf=/*@__PURE__*/Pa(eo,9,1);var hf=/*@__PURE__*/Pa(rf,5,1),Ht=function(a){var l=a[0];for(var c=1;c<a.length;++c)if(a[c]>l)l=a[c];return l},d2=function(a,l,c){var o=l/8|0;return(a[o]|a[o+1]<<8)>>(l&7)&c},Vt=function(a,l){var c=l/8|0;return(a[c]|a[c+1]<<8|a[c+2]<<16)>>(l&7)},Zf=function(a){return(a+7)/8|0},ft=function(a,l,c){if(l==null||l<0)l=0;if(c==null||c>a.length)c=a.length;return new V5(a.subarray(l,c))};var vf=["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"],H5=function(a,l,c){var o=new Error(l||vf[a]);if(o.code=a,Error.captureStackTrace)Error.captureStackTrace(o,H5);if(!c)throw o;return o},nf=function(a,l,c,o){var e=a.length,r=o?o.length:0;if(!e||l.f&&!l.l)return c||new V5(0);var t=!c,h=t||l.i!=2,Z=l.i;if(t)c=new V5(e*3);var i=function(b5){var n1=c.length;if(b5>n1){var O5=new V5(Math.max(n1*2,b5));O5.set(c),c=O5}},n=l.f||0,v=l.p||0,d=l.b||0,m=l.l,s=l.d,p=l.m,M=l.n,u=e*8;do{if(!m){n=d2(a,v,1);var A=d2(a,v+1,3);if(v+=3,!A){var V=Zf(v)+4,H=a[V-4]|a[V-3]<<8,g=V+H;if(g>e){if(Z)H5(0);break}if(h)i(d+H);c.set(a.subarray(V,g),d),l.b=d+=H,l.p=v=g*8,l.f=n;continue}else if(A==1)m=tf,s=hf,p=9,M=5;else if(A==2){var S=d2(a,v,31)+257,C=d2(a,v+10,15)+4,E=S+d2(a,v+5,31)+1;v+=14;var T=new V5(E),c1=new V5(19);for(var l1=0;l1<C;++l1)c1[af[l1]]=d2(a,v+l1*3,7);v+=C*3;var Q=Ht(c1),x=(1<<Q)-1,R=Pa(c1,Q,1);for(var l1=0;l1<E;){var U=R[d2(a,v,x)];v+=U&15;var V=U>>4;if(V<16)T[l1++]=V;else{var K=0,X=0;if(V==16)X=3+d2(a,v,3),v+=2,K=T[l1-1];else if(V==17)X=3+d2(a,v,7),v+=3;else if(V==18)X=11+d2(a,v,127),v+=7;while(X--)T[l1++]=K}}var i1=T.subarray(0,S),J=T.subarray(S);p=Ht(i1),M=Ht(J),m=Pa(i1,p,1),s=Pa(J,M,1)}else H5(1);if(v>u){if(Z)H5(0);break}}if(h)i(d+131072);var s1=(1<<p)-1,H1=(1<<M)-1,B=v;for(;;B=v){var K=m[Vt(a,v)&s1],b=K>>4;if(v+=K&15,v>u){if(Z)H5(0);break}if(!K)H5(2);if(b<256)c[d++]=b;else if(b==256){B=v,m=null;break}else{var x1=b-254;if(b>264){var l1=b-257,y1=Dn[l1];x1=d2(a,v,(1<<y1)-1)+kn[l1],v+=y1}var r0=s[Vt(a,v)&H1],$5=r0>>4;if(!r0)H5(3);v+=r0&15;var J=ef[$5];if($5>3){var y1=wn[$5];J+=Vt(a,v)&(1<<y1)-1,v+=y1}if(v>u){if(Z)H5(0);break}if(h)i(d+131072);var m2=d+x1;if(d<J){var p2=r-J,Y5=Math.min(J,m2);if(p2+d<0)H5(3);for(;d<Y5;++d)c[d]=o[p2+d]}for(;d<m2;++d)c[d]=c[d-J]}}if(l.l=m,l.p=B,l.b=d,l.f=n,m)n=1,l.m=p,l.d=s,l.n=M}while(!n);return d!=c.length&&t?ft(c,0,d):c.subarray(0,d)};var wy=/*@__PURE__*/new V5(0);var ky=function(a,l){var c={};for(var o in a)c[o]=a[o];for(var o in l)c[o]=l[o];return c},Xg=function(a,l,c){var o=a(),e=a.toString(),r=e.slice(e.indexOf("[")+1,e.lastIndexOf("]")).replace(/\s+/g,"").split(",");for(var t=0;t<o.length;++t){var h=o[t],Z=r[t];if(typeof h=="function"){l+=";"+Z+"=";var i=h.toString();if(h.prototype)if(i.indexOf("[native code]")!=-1){var n=i.indexOf(" ",8)+1;l+=i.slice(n,i.indexOf("(",n))}else{l+=i;for(var v in h.prototype)l+=";"+Z+".prototype."+v+"="+h.prototype[v].toString()}else l+=i}else c[Z]=h}return l},At=[],yy=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},Uy=function(a,l,c,o){if(!At[c]){var e="",r={},t=a.length-1;for(var h=0;h<t;++h)e=Xg(a[h],e,r);At[c]={c:Xg(a[t],e,r),e:r}}var Z=ky({},At[c].e);return Sy(At[c].c+";onmessage=function(e){for(var k in e.data)self[k]=e.data[k];onmessage="+l.toString()+"}",c,Z,yy(Z),o)},Gy=function(){return[V5,e6,jg,Dn,wn,af,kn,ef,tf,hf,gt,vf,Pa,Ht,d2,Vt,Zf,ft,H5,nf,yn,df,mf]};var df=function(a){return postMessage(a,[a.buffer])},mf=function(a){return a&&{out:a.size&&new V5(a.size),dictionary:a.dictionary}},By=function(a,l,c,o,e,r){var t=Uy(c,o,e,function(h,Z){t.terminate(),r(h,Z)});return t.postMessage([a,l],l.consume?[a.buffer]:[]),function(){t.terminate()}};var D7=function(a,l){return a[l]|a[l+1]<<8},Y2=function(a,l){return(a[l]|a[l+1]<<8|a[l+2]<<16|a[l+3]<<24)>>>0},Rn=function(a,l){return Y2(a,l)+Y2(a,l+4)*4294967296};function Ty(a,l,c){if(!c)c=l,l={};if(typeof c!="function")H5(7);return By(a,l,[Gy],function(o){return df(yn(o.data[0],mf(o.data[1])))},1,c)}function yn(a,l){return nf(a,{i:2},l&&l.out,l&&l.dictionary)}var Sn=typeof TextDecoder!="undefined"&&/*@__PURE__*/new TextDecoder,by=0;try{Sn.decode(wy,{stream:!0}),by=1}catch(a){}var Oy=function(a){for(var l="",c=0;;){var o=a[c++],e=(o>127)+(o>223)+(o>239);if(c+e>a.length)return{s:l,r:ft(a,c-1)};if(!e)l+=String.fromCharCode(o);else if(e==3)o=((o&15)<<18|(a[c++]&63)<<12|(a[c++]&63)<<6|a[c++]&63)-65536,l+=String.fromCharCode(55296|o>>10,56320|o&1023);else if(e&1)l+=String.fromCharCode((o&31)<<6|a[c++]&63);else l+=String.fromCharCode((o&15)<<12|(a[c++]&63)<<6|a[c++]&63)}};function Ey(a,l){if(l){var c="";for(var o=0;o<a.length;o+=16384)c+=String.fromCharCode.apply(null,a.subarray(o,o+16384));return c}else if(Sn)return Sn.decode(a);else{var e=Oy(a),r=e.s,c=e.r;if(c.length)H5(8);return r}}var Wy=function(a,l){return l+30+D7(a,l+26)+D7(a,l+28)},Iy=function(a,l,c){var o=D7(a,l+28),e=Ey(a.subarray(l+46,l+46+o),!(D7(a,l+8)&2048)),r=l+46+o,t=Y2(a,l+20),h=c&&t==4294967295?qy(a,r):[t,Y2(a,l+24),Y2(a,l+42)],Z=h[0],i=h[1],n=h[2];return[D7(a,l+10),Z,i,e,r+D7(a,l+30)+D7(a,l+32),n]},qy=function(a,l){for(;D7(a,l)!=1;l+=4+D7(a,l+2));return[Rn(a,l+12),Rn(a,l+4),Rn(a,l+20)]};var Ng=typeof queueMicrotask=="function"?queueMicrotask:typeof setTimeout=="function"?setTimeout:function(a){a()};function pf(a,l,c){if(!c)c=l,l={};if(typeof c!="function")H5(7);var o=[],e=function(){for(var M=0;M<o.length;++M)o[M]()},r={},t=function(M,u){Ng(function(){c(M,u)})};Ng(function(){t=c});var h=a.length-22;for(;Y2(a,h)!=101010256;--h)if(!h||a.length-h>65558)return t(H5(13,0,1),null),e;var Z=D7(a,h+8);if(Z){var i=Z,n=Y2(a,h+16),v=n==4294967295||i==65535;if(v){var d=Y2(a,h-12);if(v=Y2(a,d)==101075792,v)i=Z=Y2(a,d+32),n=Y2(a,d+48)}var m=l&&l.filter,s=function(M){var u=Iy(a,n,v),A=u[0],V=u[1],H=u[2],g=u[3],S=u[4],C=u[5],E=Wy(a,C);n=S;var T=function(l1,Q){if(l1)e(),t(l1,null);else{if(Q)r[g]=Q;if(!--Z)t(null,r)}};if(!m||m({name:g,size:V,originalSize:H,compression:A}))if(!A)T(null,ft(a,E,E+V));else if(A==8){var c1=a.subarray(E,E+V);if(H<524288||V>0.8*H)try{T(null,yn(c1,{out:new V5(H)}))}catch(l1){T(l1,null)}else o.push(Ty(c1,{size:H},T))}else T(H5(14,"unknown compression type "+A,1),null);else T(null,null)};for(var p=0;p<i;++p)s(p)}else t(null,{});return e}async function sf(a){let l=await a.arrayBuffer(),c={data:[],warnings:[],error:"",isError:!1},o=new Promise((v,d)=>{pf(new Uint8Array(l),(m,s)=>{if(m)d(m);v(s)})}),e=void 0;try{e=await o}catch(v){return c.error=`${v}`,c.isError=!0,c}let r=[];Object.keys(e).forEach((v)=>{r.push(v)});let t=r.find((v)=>v.toLowerCase().endsWith(P0));if(!t)c.warnings.push("No manifest file found in the zip."),t="";let h=t.lastIndexOf("/"),Z="";if(h>-1)Z=t.substring(0,h+1);let i=r.filter((v)=>!v.startsWith(Z)),n=r.filter((v)=>v.startsWith(Z));if(i.length>0)c.warnings.push("Some files are not in the root directory and wont be included."),c.warnings.push(...i.map((v)=>`File: ${v}`));return n.forEach((v)=>{let d=e[v],m=v.substring(Z.length);if(d.length>0)c.data.push({fileName:m,content:d})}),c}var Mf={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"},_f={borderColor:g2.colorCompoundBrandForeground1},uf={borderColor:g2.colorPaletteGreenForeground1},Af={borderColor:g2.colorPaletteRedForeground1};var j3=G0([]),Py=G0(!1);function Hf(){let[a,l]=h1(0);async function c(o){j3.value=[...o];let e=$g(o0,D1.value.name,o),r=await e.next(),t=1;while(!r.done){l(t++);let h=r.value,Z=o.find((n)=>n.fileName===h.fileName),i=h.fileName.toLowerCase().endsWith(P0);if(Z)Z.status=h.success?"uploaded":"error";if(i&&h.success&&Z){let n=G1(D1.value),v=(/*@__PURE__*/new TextDecoder()).decode(Z.content),d=JSON.parse(v);n.manifest=d,R7(n,!0)}j3.value=[...o],r=await e.next()}setTimeout(()=>{Py.value=!0,j3.value=[],l(0)},3000)}return/*@__PURE__*/_(Z1,{gap:16,children:/*@__PURE__*/_(Z1,{children:/*@__PURE__*/_(Jg,{useFsAccessApi:!1,onDropAccepted:(o,e)=>{if(o.length===1&&o[0].name.endsWith(".zip")){sf(o[0]).then((r)=>{let t=r.data.map((h)=>{return{status:"uploading",...h}});c(t)});return}Kg(o).then((r)=>{let t=r.data.map((h)=>{return{status:"uploading",...h}});c(t)})},multiple:!0,noClick:!0,noKeyboard:!0,children:({getRootProps:o,getInputProps:e,isFocused:r,isDragAccept:t,isDragReject:h,open:Z})=>/*@__PURE__*/_("div",{...o({style:{...Mf,...r?_f:{},...t?uf:{},...h?Af:{}}}),children:j3.value.some((i)=>i.status==="uploading")?/*@__PURE__*/_(S4,{validationMessage:`Uploaded ${a} of ${j3.value.length} files `,validationState:"none",validation:!0,style:{width:"100%"},children:/*@__PURE__*/_(j7,{max:j3.value.length-1,value:a,thickness:"large"},void 0,!1,void 0,this)},void 0,!1,void 0,this):/*@__PURE__*/_(m1,{children:[/*@__PURE__*/_("input",{...e()},void 0,!1,void 0,this),/*@__PURE__*/_(r2,{children:[/*@__PURE__*/_(ea,{children:"Choose a file(s) "},void 0,!1,void 0,this),"or drag it here"]},void 0,!0,void 0,this),/*@__PURE__*/_(F1,{appearance:"primary",onClick:Z,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 Vf({jsFiles:a}){let l=D1.value,c=z7();async function o(e,r){if(!l)return;if(e)l.manifest.appRelativeEntryPointUrls.push(r);if(!e)l.manifest.appRelativeEntryPointUrls=l.manifest.appRelativeEntryPointUrls.filter((t)=>t!==r);R7(l,!0)}if(!l)return null;return/*@__PURE__*/_(b2,{...c,separator:!0,open:Ta.value,onOpenChange:(e,{open:r})=>{Ta.value=r},style:{width:"440px"},children:[/*@__PURE__*/_(E2,{children:/*@__PURE__*/_(W2,{action:/*@__PURE__*/_(F1,{appearance:"subtle","aria-label":"Close",icon:/*@__PURE__*/_(m7,{},void 0,!1,void 0,this),onClick:()=>Ta.value=!1},void 0,!1,void 0,this),children:"Manage Entry Points"},void 0,!1,void 0,this)},void 0,!1,void 0,this),/*@__PURE__*/_(O2,{children:/*@__PURE__*/_(Z1,{gap:16,style:{padding:"12px 0px"},children:[/*@__PURE__*/_(Hf,{},void 0,!1,void 0,this),/*@__PURE__*/_(Z1,{gap:4,children:[a.map((e)=>/*@__PURE__*/_(D0,{label:e,labelPosition:"before",defaultChecked:l.manifest.appRelativeEntryPointUrls.some((r)=>r===e),onChange:(r,t)=>{o(t.checked,e)},root:{style:{justifyContent:"space-between"}}},void 0,!1,void 0,this)),/*@__PURE__*/_(Z1,{gap:20,style:{marginTop:"10px",padding:"0px 10px 0 8px"},children:j3.value.map((e)=>/*@__PURE__*/_(Z1,{horizontalAlign:"space-between",horizontal:!0,children:[/*@__PURE__*/_(Z1,{children:e.fileName},void 0,!1,void 0,this),e.status==="uploaded"&&/*@__PURE__*/_(N0,{size:"medium",appearance:"ghost",color:"success",icon:/*@__PURE__*/_(c_,{},void 0,!1,void 0,this)},void 0,!1,void 0,this),e.status==="error"&&/*@__PURE__*/_(N0,{size:"medium",appearance:"ghost",color:"danger",icon:/*@__PURE__*/_(t_,{},void 0,!1,void 0,this)},void 0,!1,void 0,this),e.status==="uploading"&&/*@__PURE__*/_(Q5,{size:"tiny"},void 0,!1,void 0,this)]},e.fileName,!0,void 0,this))},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}function gf(){let a=D1.value,l=G(null),c=q((o)=>{l.current?.setTarget(o)},[l]);if(!a)return null;return/*@__PURE__*/_(m1,{children:[/*@__PURE__*/_(Z1,{horizontal:!0,horizontalAlign:"space-between",verticalAlign:"center",style:{borderBottom:"1px solid #eaeaea",paddingBottom:"10px"},children:[/*@__PURE__*/_(d5,{children:"Entry points"},void 0,!1,void 0,this),/*@__PURE__*/_(Z1,{horizontal:!0,verticalAlign:"center",children:/*@__PURE__*/_(S2,{positioning:{positioningRef:l},withArrow:!0,children:[/*@__PURE__*/_(e2,{disableButtonEnhancement:!0,children:/*@__PURE__*/_(W0,{children:/*@__PURE__*/_(_e,{},void 0,!1,void 0,this)},void 0,!1,void 0,this)},void 0,!1,void 0,this),/*@__PURE__*/_(R2,{tabIndex:-1,children:/*@__PURE__*/_(t2,{children:/*@__PURE__*/_(r2,{children:["Select files that export an array of ",/*@__PURE__*/_("i",{children:"SPFxExtensionAppRegistration"},void 0,!1,void 0,this)," as default export."]},void 0,!0,void 0,this)},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this),l6.value.filter((o)=>a.manifest.appRelativeEntryPointUrls.some((e)=>o===e)).map((o)=>/*@__PURE__*/_(Z1,{horizontal:!0,gap:4,verticalAlign:"center",children:[/*@__PURE__*/_(Z_,{},void 0,!1,void 0,this)," ",o]},void 0,!0,void 0,this)),/*@__PURE__*/_(F1,{onClick:()=>{Ta.value=!0},children:"Upload / Edit"},void 0,!1,void 0,this),/*@__PURE__*/_(Vf,{jsFiles:l6.value},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}function ff(){let a=D1.value;if(!a)return null;return/*@__PURE__*/_(Z1,{horizontal:!0,gap:20,children:[/*@__PURE__*/_(Z1,{gap:16,style:{paddingBottom:"20px",flexBasis:"300px",flexShrink:0,paddingRight:"20px",borderRight:"1px solid #eaeaea"},children:/*@__PURE__*/_(gf,{},void 0,!1,void 0,this)},void 0,!1,void 0,this),/*@__PURE__*/_(Z1,{style:{flexGrow:1},children:[/*@__PURE__*/_(Z1,{horizontal:!0,horizontalAlign:"space-between",verticalAlign:"center",style:{minHeight:"32px"},children:[/*@__PURE__*/_(Z1,{horizontal:!0,gap:16,verticalAlign:"center",children:[/*@__PURE__*/_(d5,{children:"App/Entry Point Configuration"},void 0,!1,void 0,this),/*@__PURE__*/_(mg,{},void 0,!1,void 0,this)]},void 0,!0,void 0,this),/*@__PURE__*/_(Z1,{gap:8,horizontal:!0,children:[/*@__PURE__*/_(D0,{checked:a.manifest.enableCaching,label:"Enable caching",onChange:(l,c)=>{a.manifest.enableCaching=c.checked,R7(a)}},void 0,!1,void 0,this),/*@__PURE__*/_(n5,{placeholder:"Cache string",disabled:!a.manifest.enableCaching,type:"text",value:a.manifest.cacheString??"",onChange:(l,c)=>{a.manifest.cacheString=c.value,R7(a)}},void 0,!1,void 0,this),/*@__PURE__*/_(F1,{size:"medium",disabled:!a.manifest.enableCaching,onClick:async()=>{a.manifest.cacheString=await ng(),R7(a)},children:"Generate"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),/*@__PURE__*/_(Ag,{},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)}function Ff(){let[a,l]=h1(""),[c,o]=h1(!1);Z2(()=>{if(!D1.value)return;let r=JSON.stringify(D1.value);if(!a){l(r);return}l(r),o(a!==r)});async function e(){let r=D1.value;await UV(o0,r.name,r.manifest),R7(r,!0),D1.value=void 0}if(!D1.value)return null;return/*@__PURE__*/_(Z1,{gap:20,style:{height:"100%"},children:[/*@__PURE__*/_(Z1,{horizontalAlign:"space-between",horizontal:!0,verticalAlign:"center",children:[/*@__PURE__*/_(Z1,{gap:10,horizontal:!0,verticalAlign:"center",children:[/*@__PURE__*/_(F1,{appearance:"secondary",icon:/*@__PURE__*/_(jM,{},void 0,!1,void 0,this),onClick:()=>{D1.value=void 0}},void 0,!1,void 0,this),/*@__PURE__*/_(ra,{children:["Configuration of ",D1.value.name]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),/*@__PURE__*/_(Z1,{horizontal:!0,gap:15,children:/*@__PURE__*/_(GV,{children:/*@__PURE__*/_(F1,{appearance:"primary",disabled:!c,onClick:e,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__*/_(ff,{},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}var Un=ka(),Ft=Un??K4(),xt=rt();function zy(){let a=[];if(J2)return a.push(/*@__PURE__*/_(N0,{size:"extra-large",shape:"rounded",color:"danger",children:"Global"},"global",!1,void 0,this)),a;if(xt==="hubRoot")a.push(/*@__PURE__*/_(N0,{size:"extra-large",shape:"rounded",color:"success",children:"Hub root site"},"hubRoot",!1,void 0,this));if(xt==="hubChild")a.push(/*@__PURE__*/_(N0,{size:"extra-large",shape:"rounded",color:"warning",children:"Hub child site"},"child",!1,void 0,this));if(xt==="nonHub")a.push(/*@__PURE__*/_(N0,{size:"extra-large",shape:"rounded",color:"brand",children:"Non hub site"},"nonhub",!1,void 0,this));if(xt==="subsite")a.push(/*@__PURE__*/_(N0,{size:"extra-large",shape:"rounded",color:"informative",children:"Sub site"},"subsite",!1,void 0,this));else a.push(/*@__PURE__*/_(N0,{size:"extra-large",shape:"rounded",color:"informative",children:"Site collection"},"siteCollectionRoot",!1,void 0,this));return a}function xf(){let[a]=uh(),{dispatchToast:l}=I4($3);if(a)return _1("Error in App component:",a),/*@__PURE__*/_("div",{children:["Error: ",a.message]},void 0,!0,void 0,this);let c=()=>l(/*@__PURE__*/_(B2,{children:/*@__PURE__*/_(T2,{children:"Link copied to clipboard."},void 0,!1,void 0,this)},void 0,!1,void 0,this),{position:"top",intent:"info",timeout:1000,toastId:Ft});return/*@__PURE__*/_(Z1,{style:{padding:"30px"},gap:20,children:[/*@__PURE__*/_(Z1,{horizontal:!0,gap:16,verticalAlign:"center",children:[/*@__PURE__*/_(ta,{children:[Un?"Web":"Global"," application list"]},void 0,!0,void 0,this),...zy()]},void 0,!0,void 0,this),Un&&/*@__PURE__*/_(Z1,{horizontal:!0,gap:8,verticalAlign:"center",children:[/*@__PURE__*/_(W0,{target:"_blank",href:Ft,children:Ft},void 0,!1,void 0,this),/*@__PURE__*/_(o_,{onClick:()=>{navigator.clipboard.writeText(Ft),c()}},void 0,!1,void 0,this)]},void 0,!0,void 0,this),/*@__PURE__*/_(yV,{},void 0,!1,void 0,this),/*@__PURE__*/_(Ff,{},void 0,!1,void 0,this),/*@__PURE__*/_(kV,{},void 0,!1,void 0,this),/*@__PURE__*/_(fV,{},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}var Cf=fr(window.__globalSettings__.customizations.settings.theme.palette),Qy=window.__globalSettings__.customizations.settings.theme.isInverted?q6(Cf):V3(Cf);document.querySelector("#spCommandBar button[name='Edit']")?.setAttribute("style","display:none;");function Lf(a){return/*@__PURE__*/_(s4,{theme:Qy,style:{height:"100%"},children:/*@__PURE__*/_(xf,{},void 0,!1,void 0,this)},void 0,!1,void 0,this)}async function ek1(a){if(a.domElement)w7(Lf({instance:a}),a.domElement);return()=>{if(a.domElement)w7(null,a.domElement)}}export{ek1 as launch};
|