A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://unpkg.com/@fluentui/web-components below:

!t&&!e.disabled&&i !t&&!e.disabled&&i>o?e:t,s)}return this.options.indexOf(s)}handleChange(t,e){switch(e){case"selected":_i.slottedOptionFilter(t)&&(this.selectedIndex=this.options.indexOf(t)),this.setSelectedOptions()}}handleTypeAhead(t){this.typeaheadTimeout&&window.clearTimeout(this.typeaheadTimeout),this.typeaheadTimeout=window.setTimeout(()=>this.typeaheadExpired=!0,_i.TYPE_AHEAD_TIMEOUT_MS),t.length>1||(this.typeaheadBuffer=`${this.typeaheadExpired?"":this.typeaheadBuffer}${t}`)}keydownHandler(t){if(this.disabled)return!0;this.shouldSkipFocus=!1;const e=t.key;switch(e){case"Home":t.shiftKey||(t.preventDefault(),this.selectFirstOption());break;case"ArrowDown":t.shiftKey||(t.preventDefault(),this.selectNextOption());break;case"ArrowUp":t.shiftKey||(t.preventDefault(),this.selectPreviousOption());break;case"End":t.preventDefault(),this.selectLastOption();break;case"Tab":return this.focusAndScrollOptionIntoView(),!0;case"Enter":case"Escape":return!0;case" ":if(this.typeaheadExpired)return!0;default:return 1===e.length&&this.handleTypeAhead(""+e),!0}}mousedownHandler(t){return this.shouldSkipFocus=!this.contains(document.activeElement),!0}multipleChanged(t,e){this.ariaMultiSelectable=e?"true":null}selectedIndexChanged(t,e){var i;if(this.hasSelectableOptions){if((null===(i=this.options[this.selectedIndex])||void 0===i?void 0:i.disabled)&&"number"==typeof t){const i=this.getSelectableIndex(t,e),o=i>-1?i:t;return this.selectedIndex=o,void(e===o&&this.selectedIndexChanged(e,o))}this.setSelectedOptions()}else this.selectedIndex=-1}selectedOptionsChanged(t,e){var i;const o=e.filter(_i.slottedOptionFilter);null===(i=this.options)||void 0===i||i.forEach(t=>{const e=g.getNotifier(t);e.unsubscribe(this,"selected"),t.selected=o.includes(t),e.subscribe(this,"selected")})}selectFirstOption(){var t,e;this.disabled||(this.selectedIndex=null!==(e=null===(t=this.options)||void 0===t?void 0:t.findIndex(t=>!t.disabled))&&void 0!==e?e:-1)}selectLastOption(){this.disabled||(this.selectedIndex=function(t,e){let i=t.length;for(;i--;)if(e(t[i],i,t))return i;return-1}(this.options,t=>!t.disabled))}selectNextOption(){!this.disabled&&this.selectedIndex 0&&(this.selectedIndex=this.selectedIndex-1)}setDefaultSelectedOption(){var t,e;this.selectedIndex=null!==(e=null===(t=this.options)||void 0===t?void 0:t.findIndex(t=>t.defaultSelected))&&void 0!==e?e:-1}setSelectedOptions(){var t,e,i;(null===(t=this.options)||void 0===t?void 0:t.length)&&(this.selectedOptions=[this.options[this.selectedIndex]],this.ariaActiveDescendant=null!==(i=null===(e=this.firstSelectedOption)||void 0===e?void 0:e.id)&&void 0!==i?i:"",this.focusAndScrollOptionIntoView())}slottedOptionsChanged(t,e){this.options=e.reduce((t,e)=>(ji(e)&&t.push(e),t),[]);const i=""+this.options.length;this.options.forEach((t,e)=>{t.id||(t.id=Qe("option-")),t.ariaPosInSet=""+(e+1),t.ariaSetSize=i}),this.$fastController.isConnected&&(this.setSelectedOptions(),this.setDefaultSelectedOption())}typeaheadBufferChanged(t,e){if(this.$fastController.isConnected){const t=this.getTypeaheadMatches();if(t.length){const e=this.options.indexOf(t[0]);e>-1&&(this.selectedIndex=e)}this.typeaheadExpired=!1}}}_i.slottedOptionFilter=t=>ji(t)&&!t.hidden,_i.TYPE_AHEAD_TIMEOUT_MS=1e3,Jt([rt({mode:"boolean"})],_i.prototype,"disabled",void 0),Jt([f],_i.prototype,"selectedIndex",void 0),Jt([f],_i.prototype,"selectedOptions",void 0),Jt([f],_i.prototype,"slottedOptions",void 0),Jt([f],_i.prototype,"typeaheadBuffer",void 0);class Gi{}Jt([f],Gi.prototype,"ariaActiveDescendant",void 0),Jt([f],Gi.prototype,"ariaDisabled",void 0),Jt([f],Gi.prototype,"ariaExpanded",void 0),Jt([f],Gi.prototype,"ariaMultiSelectable",void 0),Me(Gi,oi),Me(_i,Gi);const Wi="above",Ki="below";class Xi extends _i{}class Yi extends(pi(Xi)){constructor(){super(...arguments),this.proxy=document.createElement("input")}}const Qi="inline",Zi="list",Ji="both",to="none";class eo extends Yi{constructor(){super(...arguments),this._value="",this.filteredOptions=[],this.filter="",this.forcedPosition=!1,this.listboxId=Qe("listbox-"),this.maxHeight=0,this.open=!1}formResetCallback(){super.formResetCallback(),this.setDefaultSelectedOption(),this.updateValue()}validate(){super.validate(this.control)}get isAutocompleteInline(){return this.autocomplete===Qi||this.isAutocompleteBoth}get isAutocompleteList(){return this.autocomplete===Zi||this.isAutocompleteBoth}get isAutocompleteBoth(){return this.autocomplete===Ji}openChanged(){if(this.open)return this.ariaControls=this.listboxId,this.ariaExpanded="true",this.setPositioning(),this.focusAndScrollOptionIntoView(),void d.queueUpdate(()=>this.focus());this.ariaControls="",this.ariaExpanded="false"}get options(){return g.track(this,"options"),this.filteredOptions.length?this.filteredOptions:this._options}set options(t){this._options=t,g.notify(this,"options")}placeholderChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.placeholder=this.placeholder)}positionChanged(t,e){this.positionAttribute=e,this.setPositioning()}get value(){return g.track(this,"value"),this._value}set value(t){var e,i,o;const s=""+this._value;if(this.$fastController.isConnected&&this.options){const s=this.options.findIndex(e=>e.text.toLowerCase()===t.toLowerCase()),n=null===(e=this.options[this.selectedIndex])||void 0===e?void 0:e.text,r=null===(i=this.options[s])||void 0===i?void 0:i.text;this.selectedIndex=n!==r?s:this.selectedIndex,t=(null===(o=this.firstSelectedOption)||void 0===o?void 0:o.text)||t}s!==t&&(this._value=t,super.valueChanged(s,t),g.notify(this,"value"))}clickHandler(t){if(!this.disabled){if(this.open){const e=t.target.closest("option,[role=option]");if(!e||e.disabled)return;this.selectedOptions=[e],this.control.value=e.text,this.clearSelectionRange(),this.updateValue(!0)}return this.open=!this.open,this.open&&this.control.focus(),!0}}connectedCallback(){super.connectedCallback(),this.forcedPosition=!!this.positionAttribute,this.value&&(this.initialValue=this.value)}disabledChanged(t,e){super.disabledChanged&&super.disabledChanged(t,e),this.ariaDisabled=this.disabled?"true":"false"}filterOptions(){this.autocomplete&&this.autocomplete!==to||(this.filter="");const t=this.filter.toLowerCase();this.filteredOptions=this._options.filter(t=>t.text.toLowerCase().startsWith(this.filter.toLowerCase())),this.isAutocompleteList&&(this.filteredOptions.length||t||(this.filteredOptions=this._options),this._options.forEach(t=>{t.hidden=!this.filteredOptions.includes(t)}))}focusAndScrollOptionIntoView(){this.contains(document.activeElement)&&(this.control.focus(),this.firstSelectedOption&&requestAnimationFrame(()=>{var t;null===(t=this.firstSelectedOption)||void 0===t||t.scrollIntoView({block:"nearest"})}))}focusoutHandler(t){if(this.syncValue(),!this.open)return!0;const e=t.relatedTarget;this.isSameNode(e)?this.focus():this.options&&this.options.includes(e)||(this.open=!1)}inputHandler(t){if(this.filter=this.control.value,this.filterOptions(),this.isAutocompleteInline||(this.selectedIndex=this.options.map(t=>t.text).indexOf(this.control.value)),t.inputType.includes("deleteContent")||!this.filter.length)return!0;this.isAutocompleteList&&!this.open&&(this.open=!0),this.isAutocompleteInline&&(this.filteredOptions.length?(this.selectedOptions=[this.filteredOptions[0]],this.selectedIndex=this.options.indexOf(this.firstSelectedOption),this.setInlineSelection()):this.selectedIndex=-1)}keydownHandler(t){const e=t.key;if(t.ctrlKey||t.shiftKey)return!0;switch(e){case"Enter":this.syncValue(),this.isAutocompleteInline&&(this.filter=this.value),this.open=!1,this.clearSelectionRange();break;case"Escape":if(this.isAutocompleteInline||(this.selectedIndex=-1),this.open){this.open=!1;break}this.value="",this.control.value="",this.filter="",this.filterOptions();break;case"Tab":if(this.setInputToSelection(),!this.open)return!0;t.preventDefault(),this.open=!1;break;case"ArrowUp":case"ArrowDown":if(this.filterOptions(),!this.open){this.open=!0;break}this.filteredOptions.length>0&&super.keydownHandler(t),this.isAutocompleteInline&&this.setInlineSelection();break;default:return!0}}keyupHandler(t){switch(t.key){case"ArrowLeft":case"ArrowRight":case"Backspace":case"Delete":case"Home":case"End":this.filter=this.control.value,this.selectedIndex=-1,this.filterOptions()}}selectedIndexChanged(t,e){if(this.$fastController.isConnected){if((e=Ke(-1,this.options.length-1,e))!==this.selectedIndex)return void(this.selectedIndex=e);super.selectedIndexChanged(t,e)}}selectPreviousOption(){!this.disabled&&this.selectedIndex>=0&&(this.selectedIndex=this.selectedIndex-1)}setDefaultSelectedOption(){if(this.$fastController.isConnected&&this.options){const t=this.options.findIndex(t=>null!==t.getAttribute("selected")||t.selected);this.selectedIndex=t,!this.dirtyValue&&this.firstSelectedOption&&(this.value=this.firstSelectedOption.text),this.setSelectedOptions()}}setInputToSelection(){this.firstSelectedOption&&(this.control.value=this.firstSelectedOption.text,this.control.focus())}setInlineSelection(){this.firstSelectedOption&&(this.setInputToSelection(),this.control.setSelectionRange(this.filter.length,this.control.value.length,"backward"))}syncValue(){var t;const e=this.selectedIndex>-1?null===(t=this.firstSelectedOption)||void 0===t?void 0:t.text:this.control.value;this.updateValue(this.value!==e)}setPositioning(){const t=this.getBoundingClientRect(),e=window.innerHeight-t.bottom;this.position=this.forcedPosition?this.positionAttribute:t.top>e?Wi:Ki,this.positionAttribute=this.forcedPosition?this.positionAttribute:this.position,this.maxHeight=this.position===Wi?~~t.top:~~e}selectedOptionsChanged(t,e){this.$fastController.isConnected&&this._options.forEach(t=>{t.selected=e.includes(t)})}slottedOptionsChanged(t,e){super.slottedOptionsChanged(t,e),this.updateValue()}updateValue(t){var e;this.$fastController.isConnected&&(this.value=(null===(e=this.firstSelectedOption)||void 0===e?void 0:e.text)||this.control.value,this.control.value=this.value),t&&this.$emit("change")}clearSelectionRange(){const t=this.control.value.length;this.control.setSelectionRange(t,t)}}Jt([rt({attribute:"autocomplete",mode:"fromView"})],eo.prototype,"autocomplete",void 0),Jt([f],eo.prototype,"maxHeight",void 0),Jt([rt({attribute:"open",mode:"boolean"})],eo.prototype,"open",void 0),Jt([rt],eo.prototype,"placeholder",void 0),Jt([rt({attribute:"position"})],eo.prototype,"positionAttribute",void 0),Jt([f],eo.prototype,"position",void 0);class io{}Jt([f],io.prototype,"ariaAutoComplete",void 0),Jt([f],io.prototype,"ariaControls",void 0),Me(io,Gi),Me(eo,Kt,io);function oo(t){const e=t.parentElement;if(e)return e;{const e=t.getRootNode();if(e.host instanceof HTMLElement)return e.host}return null}const so=document.createElement("div");class no{setProperty(t,e){d.queueUpdate(()=>this.target.setProperty(t,e))}removeProperty(t){d.queueUpdate(()=>this.target.removeProperty(t))}}class ro extends no{constructor(){super();const t=new CSSStyleSheet;this.target=t.cssRules[t.insertRule(":root{}")].style,document.adoptedStyleSheets=[...document.adoptedStyleSheets,t]}}class ao extends no{constructor(){super(),this.style=document.createElement("style"),document.head.appendChild(this.style);const{sheet:t}=this.style;if(t){const e=t.insertRule(":root{}",t.cssRules.length);this.target=t.cssRules[e].style}}}class lo{constructor(t){this.store=new Map,this.target=null;const e=t.$fastController;this.style=document.createElement("style"),e.addStyles(this.style),g.getNotifier(e).subscribe(this,"isConnected"),this.handleChange(e,"isConnected")}targetChanged(){if(null!==this.target)for(const[t,e]of this.store.entries())this.target.setProperty(t,e)}setProperty(t,e){this.store.set(t,e),d.queueUpdate(()=>{null!==this.target&&this.target.setProperty(t,e)})}removeProperty(t){this.store.delete(t),d.queueUpdate(()=>{null!==this.target&&this.target.removeProperty(t)})}handleChange(t,e){const{sheet:i}=this.style;if(i){const t=i.insertRule(":host{}",i.cssRules.length);this.target=i.cssRules[t].style}else this.target=null}}Jt([f],lo.prototype,"target",void 0);class co{constructor(t){this.target=t.style}setProperty(t,e){d.queueUpdate(()=>this.target.setProperty(t,e))}removeProperty(t){d.queueUpdate(()=>this.target.removeProperty(t))}}class ho{setProperty(t,e){ho.properties[t]=e;for(const i of ho.roots.values())go.getOrCreate(ho.normalizeRoot(i)).setProperty(t,e)}removeProperty(t){delete ho.properties[t];for(const e of ho.roots.values())go.getOrCreate(ho.normalizeRoot(e)).removeProperty(t)}static registerRoot(t){const{roots:e}=ho;if(!e.has(t)){e.add(t);const i=go.getOrCreate(this.normalizeRoot(t));for(const t in ho.properties)i.setProperty(t,ho.properties[t])}}static unregisterRoot(t){const{roots:e}=ho;if(e.has(t)){e.delete(t);const i=go.getOrCreate(ho.normalizeRoot(t));for(const t in ho.properties)i.removeProperty(t)}}static normalizeRoot(t){return t===so?document:t}}ho.roots=new Set,ho.properties={};const uo=new WeakMap,po=d.supportsAdoptedStyleSheets?class extends no{constructor(t){super();const e=new CSSStyleSheet;e[X]=!0,this.target=e.cssRules[e.insertRule(":host{}")].style,t.$fastController.addStyles(G.create([e]))}}:lo,go=Object.freeze({getOrCreate(t){if(uo.has(t))return uo.get(t);let e;return t===so?e=new ho:t instanceof Document?e=d.supportsAdoptedStyleSheets?new ro:new ao:e=t instanceof mt?new po(t):new co(t),uo.set(t,e),e}});class fo extends vt{constructor(t){super(),this.subscribers=new WeakMap,this._appliedTo=new Set,this.name=t.name,null!==t.cssCustomPropertyName&&(this.cssCustomProperty="--"+t.cssCustomPropertyName,this.cssVar=`var(${this.cssCustomProperty})`),this.id=fo.uniqueId(),fo.tokensById.set(this.id,this)}get appliedTo(){return[...this._appliedTo]}static from(t){return new fo({name:"string"==typeof t?t:t.name,cssCustomPropertyName:"string"==typeof t?t:void 0===t.cssCustomPropertyName?t.name:t.cssCustomPropertyName})}static isCSSDesignToken(t){return"string"==typeof t.cssCustomProperty}static isDerivedDesignTokenValue(t){return"function"==typeof t}static getTokenById(t){return fo.tokensById.get(t)}getOrCreateSubscriberSet(t=this){return this.subscribers.get(t)||this.subscribers.set(t,new Set)&&this.subscribers.get(t)}createCSS(){return this.cssVar||""}getValueFor(t){const e=xo.getOrCreate(t).get(this);if(void 0!==e)return e;throw new Error(`Value could not be retrieved for token named "${this.name}". Ensure the value is set for ${t} or an ancestor of ${t}.`)}setValueFor(t,e){return this._appliedTo.add(t),e instanceof fo&&(e=this.alias(e)),xo.getOrCreate(t).set(this,e),this}deleteValueFor(t){return this._appliedTo.delete(t),xo.existsFor(t)&&xo.getOrCreate(t).delete(this),this}withDefault(t){return this.setValueFor(so,t),this}subscribe(t,e){const i=this.getOrCreateSubscriberSet(e);e&&!xo.existsFor(e)&&xo.getOrCreate(e),i.has(t)||i.add(t)}unsubscribe(t,e){const i=this.subscribers.get(e||this);i&&i.has(t)&&i.delete(t)}notify(t){const e=Object.freeze({token:this,target:t});this.subscribers.has(this)&&this.subscribers.get(this).forEach(t=>t.handleChange(e)),this.subscribers.has(t)&&this.subscribers.get(t).forEach(t=>t.handleChange(e))}alias(t){return e=>t.getValueFor(e)}}fo.uniqueId=(()=>{let t=0;return()=>(t++,t.toString(16))})(),fo.tokensById=new Map;class mo{constructor(t,e,i){this.source=t,this.token=e,this.node=i,this.dependencies=new Set,this.observer=g.binding(t,this,!1),this.observer.handleChange=this.observer.call,this.handleChange()}disconnect(){this.observer.disconnect()}handleChange(){this.node.store.set(this.token,this.observer.observe(this.node.target,b))}}class vo{constructor(){this.values=new Map}set(t,e){this.values.get(t)!==e&&(this.values.set(t,e),g.getNotifier(this).notify(t.id))}get(t){return g.track(this,t.id),this.values.get(t)}delete(t){this.values.delete(t)}all(){return this.values.entries()}}const bo=new WeakMap,yo=new WeakMap;class xo{constructor(t){this.target=t,this.store=new vo,this.children=[],this.assignedValues=new Map,this.reflecting=new Set,this.bindingObservers=new Map,this.tokenValueChangeHandler={handleChange:(t,e)=>{const i=fo.getTokenById(e);i&&(i.notify(this.target),this.updateCSSTokenReflection(t,i))}},bo.set(t,this),g.getNotifier(this.store).subscribe(this.tokenValueChangeHandler),t instanceof mt?t.$fastController.addBehaviors([this]):t.isConnected&&this.bind()}static getOrCreate(t){return bo.get(t)||new xo(t)}static existsFor(t){return bo.has(t)}static findParent(t){if(so!==t.target){let e=oo(t.target);for(;null!==e;){if(bo.has(e))return bo.get(e);e=oo(e)}return xo.getOrCreate(so)}return null}static findClosestAssignedNode(t,e){let i=e;do{if(i.has(t))return i;i=i.parent?i.parent:i.target!==so?xo.getOrCreate(so):null}while(null!==i);return null}get parent(){return yo.get(this)||null}updateCSSTokenReflection(t,e){if(fo.isCSSDesignToken(e)){const i=this.parent,o=this.isReflecting(e);if(i){const s=i.get(e),n=t.get(e);s===n||o?s===n&&o&&this.stopReflectToCSS(e):this.reflectToCSS(e)}else o||this.reflectToCSS(e)}}has(t){return this.assignedValues.has(t)}get(t){const e=this.store.get(t);if(void 0!==e)return e;const i=this.getRaw(t);return void 0!==i?(this.hydrate(t,i),this.get(t)):void 0}getRaw(t){var e;return this.assignedValues.has(t)?this.assignedValues.get(t):null===(e=xo.findClosestAssignedNode(t,this))||void 0===e?void 0:e.getRaw(t)}set(t,e){fo.isDerivedDesignTokenValue(this.assignedValues.get(t))&&this.tearDownBindingObserver(t),this.assignedValues.set(t,e),fo.isDerivedDesignTokenValue(e)?this.setupBindingObserver(t,e):this.store.set(t,e)}delete(t){this.assignedValues.delete(t),this.tearDownBindingObserver(t);const e=this.getRaw(t);e?this.hydrate(t,e):this.store.delete(t)}bind(){const t=xo.findParent(this);t&&t.appendChild(this);for(const t of this.assignedValues.keys())t.notify(this.target)}unbind(){if(this.parent){yo.get(this).removeChild(this)}}appendChild(t){t.parent&&yo.get(t).removeChild(t);const e=this.children.filter(e=>t.contains(e));yo.set(t,this),this.children.push(t),e.forEach(e=>t.appendChild(e)),g.getNotifier(this.store).subscribe(t);for(const[e,i]of this.store.all())t.hydrate(e,this.bindingObservers.has(e)?this.getRaw(e):i)}removeChild(t){const e=this.children.indexOf(t);return-1!==e&&this.children.splice(e,1),g.getNotifier(this.store).unsubscribe(t),t.parent===this&&yo.delete(t)}contains(t){return function(t,e){let i=e;for(;null!==i;){if(i===t)return!0;i=oo(i)}return!1}(this.target,t.target)}reflectToCSS(t){this.isReflecting(t)||(this.reflecting.add(t),xo.cssCustomPropertyReflector.startReflection(t,this.target))}stopReflectToCSS(t){this.isReflecting(t)&&(this.reflecting.delete(t),xo.cssCustomPropertyReflector.stopReflection(t,this.target))}isReflecting(t){return this.reflecting.has(t)}handleChange(t,e){const i=fo.getTokenById(e);i&&(this.hydrate(i,this.getRaw(i)),this.updateCSSTokenReflection(this.store,i))}hydrate(t,e){if(!this.has(t)){const i=this.bindingObservers.get(t);fo.isDerivedDesignTokenValue(e)?i?i.source!==e&&(this.tearDownBindingObserver(t),this.setupBindingObserver(t,e)):this.setupBindingObserver(t,e):(i&&this.tearDownBindingObserver(t),this.store.set(t,e))}}setupBindingObserver(t,e){const i=new mo(e,t,this);return this.bindingObservers.set(t,i),i}tearDownBindingObserver(t){return!!this.bindingObservers.has(t)&&(this.bindingObservers.get(t).disconnect(),this.bindingObservers.delete(t),!0)}}xo.cssCustomPropertyReflector=new class{startReflection(t,e){t.subscribe(this,e),this.handleChange({token:t,target:e})}stopReflection(t,e){t.unsubscribe(this,e),this.remove(t,e)}handleChange(t){const{token:e,target:i}=t;this.add(e,i)}add(t,e){go.getOrCreate(e).setProperty(t.cssCustomProperty,this.resolveCSSValue(xo.getOrCreate(e).get(t)))}remove(t,e){go.getOrCreate(e).removeProperty(t.cssCustomProperty)}resolveCSSValue(t){return t&&"function"==typeof t.createCSS?t.createCSS():t}},Jt([f],xo.prototype,"children",void 0);const $o=Object.freeze({create:function(t){return fo.from(t)},notifyConnection:t=>!(!t.isConnected||!xo.existsFor(t))&&(xo.getOrCreate(t).bind(),!0),notifyDisconnection:t=>!(t.isConnected||!xo.existsFor(t))&&(xo.getOrCreate(t).unbind(),!0),registerRoot(t=so){ho.registerRoot(t)},unregisterRoot(t=so){ho.unregisterRoot(t)}}),wo=Object.freeze({definitionCallbackOnly:null,ignoreDuplicate:Symbol()}),ko=new Map,Co=new Map;let Io=null;const Fo=le.createInterface(t=>t.cachedCallback(t=>(null===Io&&(Io=new To(null,t)),Io))),Do=Object.freeze({tagFor:t=>Co.get(t),responsibleFor(t){const e=t.$$designSystem$$;if(e)return e;return le.findResponsibleContainer(t).get(Fo)},getOrCreate(t){if(!t)return null===Io&&(Io=le.getOrCreateDOMContainer().get(Fo)),Io;const e=t.$$designSystem$$;if(e)return e;const i=le.getOrCreateDOMContainer(t);if(i.has(Fo,!1))return i.get(Fo);{const e=new To(t,i);return i.register(Ce.instance(Fo,e)),e}}});class To{constructor(t,e){this.owner=t,this.container=e,this.designTokensInitialized=!1,this.prefix="fast",this.shadowRootMode=void 0,this.disambiguate=()=>wo.definitionCallbackOnly,null!==t&&(t.$$designSystem$$=this)}withPrefix(t){return this.prefix=t,this}withShadowRootMode(t){return this.shadowRootMode=t,this}withElementDisambiguation(t){return this.disambiguate=t,this}withDesignTokenRoot(t){return this.designTokenRoot=t,this}register(...t){const e=this.container,i=[],o=this.disambiguate,s=this.shadowRootMode,n={elementPrefix:this.prefix,tryDefineElement(t,n,r){const a=function(t,e,i){return"string"==typeof t?{name:t,type:e,callback:i}:t}(t,n,r),{name:l,callback:c,baseClass:h}=a;let{type:d}=a,u=l,p=ko.get(u),g=!0;for(;p;){const t=o(u,d,p);switch(t){case wo.ignoreDuplicate:return;case wo.definitionCallbackOnly:g=!1,p=void 0;break;default:u=t,p=ko.get(u)}}g&&((Co.has(d)||d===Pe)&&(d=class extends d{}),ko.set(u,d),Co.set(d,u),h&&Co.set(h,u)),i.push(new So(e,u,d,s,c,g))}};this.designTokensInitialized||(this.designTokensInitialized=!0,null!==this.designTokenRoot&&$o.registerRoot(this.designTokenRoot)),e.registerWithContext(n,...t);for(const t of i)t.callback(t),t.willDefine&&null!==t.definition&&t.definition.define();return this}}class So{constructor(t,e,i,o,s,n){this.container=t,this.name=e,this.type=i,this.shadowRootMode=o,this.callback=s,this.willDefine=n,this.definition=null}definePresentation(t){Ae.define(this.name,t,this.container)}defineElement(t){this.definition=new ht(this.type,Object.assign(Object.assign({},t),{name:this.name}))}tagFor(t){return Do.tagFor(t)}} /*! * tabbable 5.2.0 * @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE */ var Oo=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])',"details>summary:first-of-type","details"],Eo=Oo.join(","),Ro="undefined"==typeof Element?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,Vo=function(t){return"INPUT"===t.tagName},Ao=function(t){return function(t){return Vo(t)&&"radio"===t.type}(t)&&!function(t){if(!t.name)return!0;var e,i=t.form||t.ownerDocument,o=function(t){return i.querySelectorAll('input[type="radio"][name="'+t+'"]')};if("undefined"!=typeof window&&void 0!==window.CSS&&"function"==typeof window.CSS.escape)e=o(window.CSS.escape(t.name));else try{e=o(t.name)}catch(t){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",t.message),!1}var s=function(t,e){for(var i=0;i summary:first-of-type")?t.parentElement:t;if(Ro.call(i,"details:not([open]) *"))return!0;if(e&&"full"!==e){if("non-zero-area"===e){var o=t.getBoundingClientRect(),s=o.width,n=o.height;return 0===s&&0===n}}else for(;t;){if("none"===getComputedStyle(t).display)return!0;t=t.parentElement}return!1}(e,t.displayCheck)||function(t){return"DETAILS"===t.tagName&&Array.prototype.slice.apply(t.children).some((function(t){return"SUMMARY"===t.tagName}))}(e))},Po=function(t,e){return!(!Lo(t,e)||Ao(e)||function(t){var e=parseInt(t.getAttribute("tabindex"),10);return isNaN(e)?function(t){return"true"===t.contentEditable}(t)?0:"AUDIO"!==t.nodeName&&"VIDEO"!==t.nodeName&&"DETAILS"!==t.nodeName||null!==t.getAttribute("tabindex")?t.tabIndex:0:e}(e)<0)},zo=function(t,e){if(e=e||{},!t)throw new Error("No node provided");return!1!==Ro.call(t,Eo)&&Po(e,t)},Ho=Oo.concat("iframe").join(","),Mo=function(t,e){if(e=e||{},!t)throw new Error("No node provided");return!1!==Ro.call(t,Ho)&&Lo(e,t)};class Bo extends Pe{constructor(){super(...arguments),this.modal=!0,this.hidden=!1,this.trapFocus=!0,this.trapFocusChanged=()=>{this.$fastController.isConnected&&this.updateTrapFocus()},this.isTrappingFocus=!1,this.handleDocumentKeydown=t=>{if(!t.defaultPrevented&&!this.hidden)switch(t.key){case"Escape":this.dismiss(),t.preventDefault();break;case"Tab":this.handleTabKeyDown(t)}},this.handleDocumentFocus=t=>{!t.defaultPrevented&&this.shouldForceFocus(t.target)&&(this.focusFirstElement(),t.preventDefault())},this.handleTabKeyDown=t=>{if(!this.trapFocus||this.hidden)return;const e=this.getTabQueueBounds();return 0!==e.length?1===e.length?(e[0].focus(),void t.preventDefault()):void(t.shiftKey&&t.target===e[0]?(e[e.length-1].focus(),t.preventDefault()):t.shiftKey||t.target!==e[e.length-1]||(e[0].focus(),t.preventDefault())):void 0},this.getTabQueueBounds=()=>Bo.reduceTabbableItems([],this),this.focusFirstElement=()=>{const t=this.getTabQueueBounds();t.length>0?t[0].focus():this.dialog instanceof HTMLElement&&this.dialog.focus()},this.shouldForceFocus=t=>this.isTrappingFocus&&!this.contains(t),this.shouldTrapFocus=()=>this.trapFocus&&!this.hidden,this.updateTrapFocus=t=>{const e=void 0===t?this.shouldTrapFocus():t;e&&!this.isTrappingFocus?(this.isTrappingFocus=!0,document.addEventListener("focusin",this.handleDocumentFocus),d.queueUpdate(()=>{this.shouldForceFocus(document.activeElement)&&this.focusFirstElement()})):!e&&this.isTrappingFocus&&(this.isTrappingFocus=!1,document.removeEventListener("focusin",this.handleDocumentFocus))}}dismiss(){this.$emit("dismiss"),this.$emit("cancel")}show(){this.hidden=!1}hide(){this.hidden=!0,this.$emit("close")}connectedCallback(){super.connectedCallback(),document.addEventListener("keydown",this.handleDocumentKeydown),this.notifier=g.getNotifier(this),this.notifier.subscribe(this,"hidden"),this.updateTrapFocus()}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("keydown",this.handleDocumentKeydown),this.updateTrapFocus(!1),this.notifier.unsubscribe(this,"hidden")}handleChange(t,e){switch(e){case"hidden":this.updateTrapFocus()}}static reduceTabbableItems(t,e){return"-1"===e.getAttribute("tabindex")?t:zo(e)||Bo.isFocusableFastElement(e)&&Bo.hasTabbableShadow(e)?(t.push(e),t):e.childElementCount?t.concat(Array.from(e.children).reduce(Bo.reduceTabbableItems,[])):t}static isFocusableFastElement(t){var e,i;return!!(null===(i=null===(e=t.$fastController)||void 0===e?void 0:e.definition.shadowOptions)||void 0===i?void 0:i.delegatesFocus)}static hasTabbableShadow(t){var e,i;return Array.from(null!==(i=null===(e=t.shadowRoot)||void 0===e?void 0:e.querySelectorAll("*"))&&void 0!==i?i:[]).some(t=>zo(t))}}Jt([rt({mode:"boolean"})],Bo.prototype,"modal",void 0),Jt([rt({mode:"boolean"})],Bo.prototype,"hidden",void 0),Jt([rt({attribute:"trap-focus",mode:"boolean"})],Bo.prototype,"trapFocus",void 0),Jt([rt({attribute:"aria-describedby"})],Bo.prototype,"ariaDescribedby",void 0),Jt([rt({attribute:"aria-labelledby"})],Bo.prototype,"ariaLabelledby",void 0),Jt([rt({attribute:"aria-label"})],Bo.prototype,"ariaLabel",void 0);const No="separator";class jo extends Pe{constructor(){super(...arguments),this.role=No,this.orientation=Ne}}Jt([rt],jo.prototype,"role",void 0),Jt([rt],jo.prototype,"orientation",void 0);const Uo="next",qo="previous";class _o extends Pe{constructor(){super(...arguments),this.hiddenFromAT=!0,this.direction=Uo}keyupHandler(t){if(!this.hiddenFromAT){const e=t.key;"Enter"!==e&&"Space"!==e||this.$emit("click",t),"Escape"===e&&this.blur()}}}Jt([rt({mode:"boolean"})],_o.prototype,"disabled",void 0),Jt([rt({attribute:"aria-hidden",converter:ot})],_o.prototype,"hiddenFromAT",void 0),Jt([rt],_o.prototype,"direction",void 0);class Go extends _i{constructor(){super(...arguments),this.activeIndex=-1,this.rangeStartIndex=-1}get activeOption(){return this.options[this.activeIndex]}get checkedOptions(){var t;return null===(t=this.options)||void 0===t?void 0:t.filter(t=>t.checked)}get firstSelectedOptionIndex(){return this.options.indexOf(this.firstSelectedOption)}activeIndexChanged(t,e){var i,o;this.ariaActiveDescendant=null!==(o=null===(i=this.options[e])||void 0===i?void 0:i.id)&&void 0!==o?o:"",this.focusAndScrollOptionIntoView()}checkActiveIndex(){if(!this.multiple)return;const t=this.activeOption;t&&(t.checked=!0)}checkFirstOption(t=!1){t?(-1===this.rangeStartIndex&&(this.rangeStartIndex=this.activeIndex+1),this.options.forEach((t,e)=>{t.checked=Xe(e,this.rangeStartIndex)})):this.uncheckAllOptions(),this.activeIndex=0,this.checkActiveIndex()}checkLastOption(t=!1){t?(-1===this.rangeStartIndex&&(this.rangeStartIndex=this.activeIndex),this.options.forEach((t,e)=>{t.checked=Xe(e,this.rangeStartIndex,this.options.length)})):this.uncheckAllOptions(),this.activeIndex=this.options.length-1,this.checkActiveIndex()}connectedCallback(){super.connectedCallback(),this.addEventListener("focusout",this.focusoutHandler)}disconnectedCallback(){this.removeEventListener("focusout",this.focusoutHandler),super.disconnectedCallback()}checkNextOption(t=!1){t?(-1===this.rangeStartIndex&&(this.rangeStartIndex=this.activeIndex),this.options.forEach((t,e)=>{t.checked=Xe(e,this.rangeStartIndex,this.activeIndex+1)})):this.uncheckAllOptions(),this.activeIndex+=this.activeIndex {t.checked=Xe(e,this.activeIndex,this.rangeStartIndex)})):this.uncheckAllOptions(),this.activeIndex-=this.activeIndex>0?1:0,this.checkActiveIndex()}clickHandler(t){var e;if(!this.multiple)return super.clickHandler(t);const i=null===(e=t.target)||void 0===e?void 0:e.closest("[role=option]");return i&&!i.disabled?(this.uncheckAllOptions(),this.activeIndex=this.options.indexOf(i),this.checkActiveIndex(),this.toggleSelectedForAllCheckedOptions(),!0):void 0}focusAndScrollOptionIntoView(){super.focusAndScrollOptionIntoView(this.activeOption)}focusinHandler(t){if(!this.multiple)return super.focusinHandler(t);this.shouldSkipFocus||t.target!==t.currentTarget||(this.uncheckAllOptions(),-1===this.activeIndex&&(this.activeIndex=-1!==this.firstSelectedOptionIndex?this.firstSelectedOptionIndex:0),this.checkActiveIndex(),this.setSelectedOptions(),this.focusAndScrollOptionIntoView()),this.shouldSkipFocus=!1}focusoutHandler(t){this.multiple&&this.uncheckAllOptions()}keydownHandler(t){if(!this.multiple)return super.keydownHandler(t);if(this.disabled)return!0;const{key:e,shiftKey:i}=t;switch(this.shouldSkipFocus=!1,e){case"Home":return void this.checkFirstOption(i);case"ArrowDown":return void this.checkNextOption(i);case"ArrowUp":return void this.checkPreviousOption(i);case"End":return void this.checkLastOption(i);case"Tab":return this.focusAndScrollOptionIntoView(),!0;case"Escape":return this.uncheckAllOptions(),this.checkActiveIndex(),!0;case" ":if(t.preventDefault(),this.typeAheadExpired)return void this.toggleSelectedForAllCheckedOptions();default:return 1===e.length&&this.handleTypeAhead(""+e),!0}}mousedownHandler(t){if(t.offsetX>=0&&t.offsetX<=this.scrollWidth)return super.mousedownHandler(t)}multipleChanged(t,e){var i;this.ariaMultiSelectable=e?"true":null,null===(i=this.options)||void 0===i||i.forEach(t=>{t.checked=!e&&void 0}),this.setSelectedOptions()}setSelectedOptions(){this.multiple?this.$fastController.isConnected&&this.options&&(this.selectedOptions=this.options.filter(t=>t.selected),this.focusAndScrollOptionIntoView()):super.setSelectedOptions()}sizeChanged(t,e){var i;const o=Math.max(0,parseInt(null!==(i=null==e?void 0:e.toFixed())&&void 0!==i?i:"",10));o!==e&&d.queueUpdate(()=>{this.size=o})}toggleSelectedForAllCheckedOptions(){const t=this.checkedOptions.filter(t=>!t.disabled),e=!t.every(t=>t.selected);t.forEach(t=>t.selected=e),this.selectedIndex=this.options.indexOf(t[t.length-1]),this.setSelectedOptions()}typeaheadBufferChanged(t,e){if(this.multiple){if(this.$fastController.isConnected){const t=this.getTypeaheadMatches(),e=this.options.indexOf(t[0]);e>-1&&(this.activeIndex=e,this.uncheckAllOptions(),this.checkActiveIndex()),this.typeAheadExpired=!1}}else super.typeaheadBufferChanged(t,e)}uncheckAllOptions(t=!1){this.options.forEach(t=>t.checked=!this.multiple&&void 0),t||(this.rangeStartIndex=-1)}}Jt([f],Go.prototype,"activeIndex",void 0),Jt([rt({mode:"boolean"})],Go.prototype,"multiple",void 0),Jt([rt({converter:st})],Go.prototype,"size",void 0);const Wo="menuitem",Ko="menuitemcheckbox",Xo="menuitemradio",Yo={[Wo]:"menuitem",[Ko]:"menuitemcheckbox",[Xo]:"menuitemradio"};class Qo extends Pe{constructor(){super(...arguments),this.role=Wo,this.hasSubmenu=!1,this.currentDirection=We.ltr,this.focusSubmenuOnLoad=!1,this.handleMenuItemKeyDown=t=>{if(t.defaultPrevented)return!1;switch(t.key){case"Enter":case" ":return this.invoke(),!1;case"ArrowRight":return this.expandAndFocus(),!1;case"ArrowLeft":if(this.expanded)return this.expanded=!1,this.focus(),!1}return!0},this.handleMenuItemClick=t=>(t.defaultPrevented||this.disabled||this.invoke(),!1),this.submenuLoaded=()=>{this.focusSubmenuOnLoad&&(this.focusSubmenuOnLoad=!1,this.hasSubmenu&&(this.submenu.focus(),this.setAttribute("tabindex","-1")))},this.handleMouseOver=t=>(this.disabled||!this.hasSubmenu||this.expanded||(this.expanded=!0),!1),this.handleMouseOut=t=>(!this.expanded||this.contains(document.activeElement)||(this.expanded=!1),!1),this.expandAndFocus=()=>{this.hasSubmenu&&(this.focusSubmenuOnLoad=!0,this.expanded=!0)},this.invoke=()=>{if(!this.disabled)switch(this.role){case Ko:this.checked=!this.checked;break;case Wo:this.updateSubmenu(),this.hasSubmenu?this.expandAndFocus():this.$emit("change");break;case Xo:this.checked||(this.checked=!0)}},this.updateSubmenu=()=>{this.submenu=this.domChildren().find(t=>"menu"===t.getAttribute("role")),this.hasSubmenu=void 0!==this.submenu}}expandedChanged(t){if(this.$fastController.isConnected){if(void 0===this.submenu)return;!1===this.expanded?this.submenu.collapseExpandedItem():this.currentDirection=ri(this),this.$emit("expanded-change",this,{bubbles:!1})}}checkedChanged(t,e){this.$fastController.isConnected&&this.$emit("change")}connectedCallback(){super.connectedCallback(),d.queueUpdate(()=>{this.updateSubmenu()}),this.startColumnCount||(this.startColumnCount=1),this.observer=new MutationObserver(this.updateSubmenu)}disconnectedCallback(){super.disconnectedCallback(),this.submenu=void 0,void 0!==this.observer&&(this.observer.disconnect(),this.observer=void 0)}domChildren(){return Array.from(this.children).filter(t=>!t.hasAttribute("hidden"))}}Jt([rt({mode:"boolean"})],Qo.prototype,"disabled",void 0),Jt([rt({mode:"boolean"})],Qo.prototype,"expanded",void 0),Jt([f],Qo.prototype,"startColumnCount",void 0),Jt([rt],Qo.prototype,"role",void 0),Jt([rt({mode:"boolean"})],Qo.prototype,"checked",void 0),Jt([f],Qo.prototype,"submenuRegion",void 0),Jt([f],Qo.prototype,"hasSubmenu",void 0),Jt([f],Qo.prototype,"currentDirection",void 0),Jt([f],Qo.prototype,"submenu",void 0),Me(Qo,Kt);class Zo extends Pe{constructor(){super(...arguments),this.expandedItem=null,this.focusIndex=-1,this.isNestedMenu=()=>null!==this.parentElement&&Ue(this.parentElement)&&"menuitem"===this.parentElement.getAttribute("role"),this.handleFocusOut=t=>{if(!this.contains(t.relatedTarget)&&void 0!==this.menuItems){this.collapseExpandedItem();const t=this.menuItems.findIndex(this.isFocusableElement);this.menuItems[this.focusIndex].setAttribute("tabindex","-1"),this.menuItems[t].setAttribute("tabindex","0"),this.focusIndex=t}},this.handleItemFocus=t=>{const e=t.target;void 0!==this.menuItems&&e!==this.menuItems[this.focusIndex]&&(this.menuItems[this.focusIndex].setAttribute("tabindex","-1"),this.focusIndex=this.menuItems.indexOf(e),e.setAttribute("tabindex","0"))},this.handleExpandedChanged=t=>{if(t.defaultPrevented||null===t.target||void 0===this.menuItems||this.menuItems.indexOf(t.target)<0)return;t.preventDefault();const e=t.target;null===this.expandedItem||e!==this.expandedItem||!1!==e.expanded?e.expanded&&(null!==this.expandedItem&&this.expandedItem!==e&&(this.expandedItem.expanded=!1),this.menuItems[this.focusIndex].setAttribute("tabindex","-1"),this.expandedItem=e,this.focusIndex=this.menuItems.indexOf(e),e.setAttribute("tabindex","0")):this.expandedItem=null},this.removeItemListeners=()=>{void 0!==this.menuItems&&this.menuItems.forEach(t=>{t.removeEventListener("expanded-change",this.handleExpandedChanged),t.removeEventListener("focus",this.handleItemFocus)})},this.setItems=()=>{const t=this.domChildren();this.removeItemListeners(),this.menuItems=t;const e=this.menuItems.filter(this.isMenuItemElement);e.length&&(this.focusIndex=0);const i=e.reduce((t,e)=>{const i=function(t){const e=t.getAttribute("role"),i=t.querySelector("[slot=start]");return e!==Wo&&null===i||e===Wo&&null!==i?1:e!==Wo&&null!==i?2:0}(e);return t>i?t:i},0);e.forEach((t,e)=>{t.setAttribute("tabindex",0===e?"0":"-1"),t.addEventListener("expanded-change",this.handleExpandedChanged),t.addEventListener("focus",this.handleItemFocus),(t instanceof Qo||"startColumnCount"in t)&&(t.startColumnCount=i)})},this.changeHandler=t=>{if(void 0===this.menuItems)return;const e=t.target,i=this.menuItems.indexOf(e);if(-1!==i&&"menuitemradio"===e.role&&!0===e.checked){for(let t=i-1;t>=0;--t){const e=this.menuItems[t],i=e.getAttribute("role");if(i===Xo&&(e.checked=!1),"separator"===i)break}const t=this.menuItems.length-1;for(let e=i+1;e<=t;++e){const t=this.menuItems[e],i=t.getAttribute("role");if(i===Xo&&(t.checked=!1),"separator"===i)break}}},this.isMenuItemElement=t=>Ue(t)&&Zo.focusableElementRoles.hasOwnProperty(t.getAttribute("role")),this.isFocusableElement=t=>this.isMenuItemElement(t)}itemsChanged(t,e){this.$fastController.isConnected&&void 0!==this.menuItems&&this.setItems()}connectedCallback(){super.connectedCallback(),d.queueUpdate(()=>{this.setItems()}),this.addEventListener("change",this.changeHandler)}disconnectedCallback(){super.disconnectedCallback(),this.removeItemListeners(),this.menuItems=void 0,this.removeEventListener("change",this.changeHandler)}focus(){this.setFocus(0,1)}collapseExpandedItem(){null!==this.expandedItem&&(this.expandedItem.expanded=!1,this.expandedItem=null)}handleMenuKeyDown(t){if(!t.defaultPrevented&&void 0!==this.menuItems)switch(t.key){case"ArrowDown":return void this.setFocus(this.focusIndex+1,1);case"ArrowUp":return void this.setFocus(this.focusIndex-1,-1);case"End":return void this.setFocus(this.menuItems.length-1,-1);case"Home":return void this.setFocus(0,1);default:return!0}}domChildren(){return Array.from(this.children).filter(t=>!t.hasAttribute("hidden"))}setFocus(t,e){if(void 0!==this.menuItems)for(;t>=0&&t -1&&this.menuItems.length>=this.focusIndex-1&&this.menuItems[this.focusIndex].setAttribute("tabindex","-1"),this.focusIndex=t,i.setAttribute("tabindex","0"),i.focus();break}t+=e}}}Zo.focusableElementRoles=Yo,Jt([f],Zo.prototype,"items",void 0);class Jo extends Pe{}class ts extends(pi(Jo)){constructor(){super(...arguments),this.proxy=document.createElement("input")}}const es="text";class is extends ts{constructor(){super(...arguments),this.type=es}readOnlyChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.readOnly=this.readOnly,this.validate())}autofocusChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.autofocus=this.autofocus,this.validate())}placeholderChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.placeholder=this.placeholder)}typeChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.type=this.type,this.validate())}listChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.setAttribute("list",this.list),this.validate())}maxlengthChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.maxLength=this.maxlength,this.validate())}minlengthChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.minLength=this.minlength,this.validate())}patternChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.pattern=this.pattern,this.validate())}sizeChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.size=this.size)}spellcheckChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.spellcheck=this.spellcheck)}connectedCallback(){super.connectedCallback(),this.proxy.setAttribute("type",this.type),this.validate(),this.autofocus&&d.queueUpdate(()=>{this.focus()})}select(){this.control.select(),this.$emit("select")}handleTextInput(){this.value=this.control.value}handleChange(){this.$emit("change")}validate(){super.validate(this.control)}}Jt([rt({attribute:"readonly",mode:"boolean"})],is.prototype,"readOnly",void 0),Jt([rt({mode:"boolean"})],is.prototype,"autofocus",void 0),Jt([rt],is.prototype,"placeholder",void 0),Jt([rt],is.prototype,"type",void 0),Jt([rt],is.prototype,"list",void 0),Jt([rt({converter:st})],is.prototype,"maxlength",void 0),Jt([rt({converter:st})],is.prototype,"minlength",void 0),Jt([rt],is.prototype,"pattern",void 0),Jt([rt({converter:st})],is.prototype,"size",void 0),Jt([rt({mode:"boolean"})],is.prototype,"spellcheck",void 0),Jt([f],is.prototype,"defaultSlottedNodes",void 0);class os{}Me(os,oi),Me(is,Kt,os);class ss extends Pe{}class ns extends(pi(ss)){constructor(){super(...arguments),this.proxy=document.createElement("input")}}class rs extends ns{constructor(){super(...arguments),this.hideStep=!1,this.step=1,this.isUserInput=!1}maxChanged(t,e){var i;this.max=Math.max(e,null!==(i=this.min)&&void 0!==i?i:e);const o=Math.min(this.min,this.max);void 0!==this.min&&this.min!==o&&(this.min=o),this.value=this.getValidValue(this.value)}minChanged(t,e){var i;this.min=Math.min(e,null!==(i=this.max)&&void 0!==i?i:e);const o=Math.max(this.min,this.max);void 0!==this.max&&this.max!==o&&(this.max=o),this.value=this.getValidValue(this.value)}get valueAsNumber(){return parseFloat(super.value)}set valueAsNumber(t){this.value=t.toString()}valueChanged(t,e){this.value=this.getValidValue(e),e===this.value&&(this.control&&!this.isUserInput&&(this.control.value=this.value),super.valueChanged(t,this.value),void 0===t||this.isUserInput||(this.$emit("input"),this.$emit("change")),this.isUserInput=!1)}validate(){super.validate(this.control)}getValidValue(t){var e,i;let o=parseFloat(parseFloat(t).toPrecision(12));return isNaN(o)?o="":(o=Math.min(o,null!==(e=this.max)&&void 0!==e?e:o),o=Math.max(o,null!==(i=this.min)&&void 0!==i?i:o).toString()),o}stepUp(){const t=parseFloat(this.value),e=isNaN(t)?this.min>0?this.min:this.max<0?this.max:this.min?0:this.step:t+this.step;this.value=e.toString()}stepDown(){const t=parseFloat(this.value),e=isNaN(t)?this.min>0?this.min:this.max<0?this.max:this.min?0:0-this.step:t-this.step;this.value=e.toString()}connectedCallback(){super.connectedCallback(),this.proxy.setAttribute("type","number"),this.validate(),this.control.value=this.value,this.autofocus&&d.queueUpdate(()=>{this.focus()})}select(){this.control.select(),this.$emit("select")}handleTextInput(){this.control.value=this.control.value.replace(/[^0-9\-+e.]/g,""),this.isUserInput=!0,this.value=this.control.value}handleChange(){this.$emit("change")}handleKeyDown(t){switch(t.key){case"ArrowUp":return this.stepUp(),!1;case"ArrowDown":return this.stepDown(),!1}return!0}handleBlur(){this.control.value=this.value}}Jt([rt({attribute:"readonly",mode:"boolean"})],rs.prototype,"readOnly",void 0),Jt([rt({mode:"boolean"})],rs.prototype,"autofocus",void 0),Jt([rt({attribute:"hide-step",mode:"boolean"})],rs.prototype,"hideStep",void 0),Jt([rt],rs.prototype,"placeholder",void 0),Jt([rt],rs.prototype,"list",void 0),Jt([rt({converter:st})],rs.prototype,"maxlength",void 0),Jt([rt({converter:st})],rs.prototype,"minlength",void 0),Jt([rt({converter:st})],rs.prototype,"size",void 0),Jt([rt({converter:st})],rs.prototype,"step",void 0),Jt([rt({converter:st})],rs.prototype,"max",void 0),Jt([rt({converter:st})],rs.prototype,"min",void 0),Jt([f],rs.prototype,"defaultSlottedNodes",void 0),Me(rs,Kt,os);class as extends Pe{constructor(){super(...arguments),this.percentComplete=0}valueChanged(){this.$fastController.isConnected&&this.updatePercentComplete()}minChanged(){this.$fastController.isConnected&&this.updatePercentComplete()}maxChanged(){this.$fastController.isConnected&&this.updatePercentComplete()}connectedCallback(){super.connectedCallback(),this.updatePercentComplete()}updatePercentComplete(){const t="number"==typeof this.min?this.min:0,e="number"==typeof this.max?this.max:100,i="number"==typeof this.value?this.value:0,o=e-t;this.percentComplete=0===o?0:Math.fround((i-t)/o*100)}}Jt([rt({converter:st})],as.prototype,"value",void 0),Jt([rt({converter:st})],as.prototype,"min",void 0),Jt([rt({converter:st})],as.prototype,"max",void 0),Jt([rt({mode:"boolean"})],as.prototype,"paused",void 0),Jt([f],as.prototype,"percentComplete",void 0);class ls extends Pe{constructor(){super(...arguments),this.orientation=Ne,this.radioChangeHandler=t=>{const e=t.target;e.checked&&(this.slottedRadioButtons.forEach(t=>{t!==e&&(t.checked=!1,this.isInsideFoundationToolbar||t.setAttribute("tabindex","-1"))}),this.selectedRadio=e,this.value=e.value,e.setAttribute("tabindex","0"),this.focusedRadio=e),t.stopPropagation()},this.moveToRadioByIndex=(t,e)=>{const i=t[e];this.isInsideToolbar||(i.setAttribute("tabindex","0"),i.readOnly?this.slottedRadioButtons.forEach(t=>{t!==i&&t.setAttribute("tabindex","-1")}):(i.checked=!0,this.selectedRadio=i)),this.focusedRadio=i,i.focus()},this.moveRightOffGroup=()=>{var t;null===(t=this.nextElementSibling)||void 0===t||t.focus()},this.moveLeftOffGroup=()=>{var t;null===(t=this.previousElementSibling)||void 0===t||t.focus()},this.focusOutHandler=t=>{const e=this.slottedRadioButtons,i=t.target,o=null!==i?e.indexOf(i):0,s=this.focusedRadio?e.indexOf(this.focusedRadio):-1;return(0===s&&o===s||s===e.length-1&&s===o)&&(this.selectedRadio?(this.focusedRadio=this.selectedRadio,this.isInsideFoundationToolbar||(this.selectedRadio.setAttribute("tabindex","0"),e.forEach(t=>{t!==this.selectedRadio&&t.setAttribute("tabindex","-1")}))):(this.focusedRadio=e[0],this.focusedRadio.setAttribute("tabindex","0"),e.forEach(t=>{t!==this.focusedRadio&&t.setAttribute("tabindex","-1")}))),!0},this.clickHandler=t=>{const e=t.target;if(e){const t=this.slottedRadioButtons;e.checked||0===t.indexOf(e)?(e.setAttribute("tabindex","0"),this.selectedRadio=e):(e.setAttribute("tabindex","-1"),this.selectedRadio=null),this.focusedRadio=e}t.preventDefault()},this.shouldMoveOffGroupToTheRight=(t,e,i)=>t===e.length&&this.isInsideToolbar&&"ArrowRight"===i,this.shouldMoveOffGroupToTheLeft=(t,e)=>(this.focusedRadio?t.indexOf(this.focusedRadio)-1:0)<0&&this.isInsideToolbar&&"ArrowLeft"===e,this.checkFocusedRadio=()=>{null===this.focusedRadio||this.focusedRadio.readOnly||this.focusedRadio.checked||(this.focusedRadio.checked=!0,this.focusedRadio.setAttribute("tabindex","0"),this.focusedRadio.focus(),this.selectedRadio=this.focusedRadio)},this.moveRight=t=>{const e=this.slottedRadioButtons;let i=0;if(i=this.focusedRadio?e.indexOf(this.focusedRadio)+1:1,this.shouldMoveOffGroupToTheRight(i,e,t.key))this.moveRightOffGroup();else for(i===e.length&&(i=0);i 1;){if(!e[i].disabled){this.moveToRadioByIndex(e,i);break}if(this.focusedRadio&&i===e.indexOf(this.focusedRadio))break;if(i+1>=e.length){if(this.isInsideToolbar)break;i=0}else i+=1}},this.moveLeft=t=>{const e=this.slottedRadioButtons;let i=0;if(i=this.focusedRadio?e.indexOf(this.focusedRadio)-1:0,i=i<0?e.length-1:i,this.shouldMoveOffGroupToTheLeft(e,t.key))this.moveLeftOffGroup();else for(;i>=0&&e.length>1;){if(!e[i].disabled){this.moveToRadioByIndex(e,i);break}if(this.focusedRadio&&i===e.indexOf(this.focusedRadio))break;i-1<0?i=e.length-1:i-=1}},this.keydownHandler=t=>{const e=t.key;if(e in Ge&&this.isInsideFoundationToolbar)return!0;switch(e){case"Enter":this.checkFocusedRadio();break;case"ArrowRight":case"ArrowDown":this.direction===We.ltr?this.moveRight(t):this.moveLeft(t);break;case"ArrowLeft":case"ArrowUp":this.direction===We.ltr?this.moveLeft(t):this.moveRight(t);break;default:return!0}}}readOnlyChanged(){void 0!==this.slottedRadioButtons&&this.slottedRadioButtons.forEach(t=>{this.readOnly?t.readOnly=!0:t.readOnly=!1})}disabledChanged(){void 0!==this.slottedRadioButtons&&this.slottedRadioButtons.forEach(t=>{this.disabled?t.disabled=!0:t.disabled=!1})}nameChanged(){this.slottedRadioButtons&&this.slottedRadioButtons.forEach(t=>{t.setAttribute("name",this.name)})}valueChanged(){this.slottedRadioButtons&&this.slottedRadioButtons.forEach(t=>{t.value===this.value&&(t.checked=!0,this.selectedRadio=t)}),this.$emit("change")}slottedRadioButtonsChanged(t,e){this.slottedRadioButtons&&this.slottedRadioButtons.length>0&&this.setupRadioButtons()}get parentToolbar(){return this.closest('[role="toolbar"]')}get isInsideToolbar(){var t;return null!==(t=this.parentToolbar)&&void 0!==t&&t}get isInsideFoundationToolbar(){var t;return!!(null===(t=this.parentToolbar)||void 0===t?void 0:t.$fastController)}connectedCallback(){super.connectedCallback(),this.direction=ri(this),this.setupRadioButtons()}disconnectedCallback(){this.slottedRadioButtons.forEach(t=>{t.removeEventListener("change",this.radioChangeHandler)})}setupRadioButtons(){const t=this.slottedRadioButtons.filter(t=>t.hasAttribute("checked")),e=t?t.length:0;if(e>1){t[e-1].checked=!0}let i=!1;if(this.slottedRadioButtons.forEach(t=>{void 0!==this.name&&t.setAttribute("name",this.name),this.disabled&&(t.disabled=!0),this.readOnly&&(t.readOnly=!0),this.value&&this.value===t.value?(this.selectedRadio=t,this.focusedRadio=t,t.checked=!0,t.setAttribute("tabindex","0"),i=!0):(this.isInsideFoundationToolbar||t.setAttribute("tabindex","-1"),t.checked=!1),t.addEventListener("change",this.radioChangeHandler)}),void 0===this.value&&this.slottedRadioButtons.length>0){const t=this.slottedRadioButtons.filter(t=>t.hasAttribute("checked")),e=null!==t?t.length:0;if(e>0&&!i){const i=t[e-1];i.checked=!0,this.focusedRadio=i,i.setAttribute("tabindex","0")}else this.slottedRadioButtons[0].setAttribute("tabindex","0"),this.focusedRadio=this.slottedRadioButtons[0]}}}Jt([rt({attribute:"readonly",mode:"boolean"})],ls.prototype,"readOnly",void 0),Jt([rt({attribute:"disabled",mode:"boolean"})],ls.prototype,"disabled",void 0),Jt([rt],ls.prototype,"name",void 0),Jt([rt],ls.prototype,"value",void 0),Jt([rt],ls.prototype,"orientation",void 0),Jt([f],ls.prototype,"childItems",void 0),Jt([f],ls.prototype,"slottedRadioButtons",void 0);class cs extends Pe{}class hs extends(gi(cs)){constructor(){super(...arguments),this.proxy=document.createElement("input")}}class ds extends hs{constructor(){super(),this.initialValue="on",this.keypressHandler=t=>{switch(t.key){case" ":return void(this.checked||this.readOnly||(this.checked=!0))}return!0},this.proxy.setAttribute("type","radio")}readOnlyChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.readOnly=this.readOnly)}defaultCheckedChanged(){var t;this.$fastController.isConnected&&!this.dirtyChecked&&(this.isInsideRadioGroup()||(this.checked=null!==(t=this.defaultChecked)&&void 0!==t&&t,this.dirtyChecked=!1))}connectedCallback(){var t,e;super.connectedCallback(),this.validate(),"radiogroup"!==(null===(t=this.parentElement)||void 0===t?void 0:t.getAttribute("role"))&&null===this.getAttribute("tabindex")&&(this.disabled||this.setAttribute("tabindex","0")),this.checkedAttribute&&(this.dirtyChecked||this.isInsideRadioGroup()||(this.checked=null!==(e=this.defaultChecked)&&void 0!==e&&e,this.dirtyChecked=!1))}isInsideRadioGroup(){return null!==this.closest("[role=radiogroup]")}clickHandler(t){this.disabled||this.readOnly||this.checked||(this.checked=!0)}}Jt([rt({attribute:"readonly",mode:"boolean"})],ds.prototype,"readOnly",void 0),Jt([f],ds.prototype,"name",void 0),Jt([f],ds.prototype,"defaultSlottedNodes",void 0);class us extends Pe{constructor(){super(...arguments),this.framesPerSecond=60,this.updatingItems=!1,this.speed=600,this.easing="ease-in-out",this.flippersHiddenFromAT=!1,this.scrolling=!1,this.resizeDetector=null}get frameTime(){return 1e3/this.framesPerSecond}scrollingChanged(t,e){if(this.scrollContainer){const t=1==this.scrolling?"scrollstart":"scrollend";this.$emit(t,this.scrollContainer.scrollLeft)}}get isRtl(){return this.scrollItems.length>1&&this.scrollItems[0].offsetLeft>this.scrollItems[1].offsetLeft}connectedCallback(){super.connectedCallback(),this.initializeResizeDetector()}disconnectedCallback(){this.disconnectResizeDetector(),super.disconnectedCallback()}scrollItemsChanged(t,e){e&&!this.updatingItems&&d.queueUpdate(()=>this.setStops())}disconnectResizeDetector(){this.resizeDetector&&(this.resizeDetector.disconnect(),this.resizeDetector=null)}initializeResizeDetector(){this.disconnectResizeDetector(),this.resizeDetector=new window.ResizeObserver(this.resized.bind(this)),this.resizeDetector.observe(this)}updateScrollStops(){this.updatingItems=!0;const t=this.scrollItems.reduce((t,e)=>e instanceof HTMLSlotElement?t.concat(e.assignedElements()):(t.push(e),t),[]);this.scrollItems=t,this.updatingItems=!1}setStops(){this.updateScrollStops();const{scrollContainer:t}=this,{scrollLeft:e}=t,{width:i,left:o}=t.getBoundingClientRect();this.width=i;let s=0,n=this.scrollItems.map((t,i)=>{const{left:n,width:r}=t.getBoundingClientRect(),a=Math.round(n+e-o),l=Math.round(a+r);return this.isRtl?-l:(s=l,0===i?0:a)}).concat(s);n=this.fixScrollMisalign(n),n.sort((t,e)=>Math.abs(t)-Math.abs(e)),this.scrollStops=n,this.setFlippers()}validateStops(t=!0){const e=()=>!!this.scrollStops.find(t=>t>0);return!e()&&t&&this.setStops(),e()}fixScrollMisalign(t){if(this.isRtl&&t.some(t=>t>0)){t.sort((t,e)=>e-t);const e=t[0];t=t.map(t=>t-e)}return t}setFlippers(){var t,e;const i=this.scrollContainer.scrollLeft;if(null===(t=this.previousFlipperContainer)||void 0===t||t.classList.toggle("disabled",0===i),this.scrollStops){const t=Math.abs(this.scrollStops[this.scrollStops.length-1]);null===(e=this.nextFlipperContainer)||void 0===e||e.classList.toggle("disabled",this.validateStops(!1)&&Math.abs(i)+this.width>=t)}}scrollInView(t,e=0,i){var o;if("number"!=typeof t&&t&&(t=this.scrollItems.findIndex(e=>e===t||e.contains(t))),void 0!==t){i=null!=i?i:e;const{scrollContainer:s,scrollStops:n,scrollItems:r}=this,{scrollLeft:a}=this.scrollContainer,{width:l}=s.getBoundingClientRect(),c=n[t],{width:h}=r[t].getBoundingClientRect(),d=c+h,u=a+e>c;if(u||a+l-i u?e-t:t-e).find(t=>u?t+e d))&&void 0!==o?o:0;this.scrollToPosition(t)}}}keyupHandler(t){switch(t.key){case"ArrowLeft":this.scrollToPrevious();break;case"ArrowRight":this.scrollToNext()}}scrollToPrevious(){this.validateStops();const t=this.scrollContainer.scrollLeft,e=this.scrollStops.findIndex((e,i)=>e>=t&&(this.isRtl||i===this.scrollStops.length-1||this.scrollStops[i+1]>t)),i=Math.abs(this.scrollStops[e+1]);let o=this.scrollStops.findIndex(t=>Math.abs(t)+this.width>i);(o>=e||-1===o)&&(o=e>0?e-1:0),this.scrollToPosition(this.scrollStops[o],t)}scrollToNext(){this.validateStops();const t=this.scrollContainer.scrollLeft,e=this.scrollStops.findIndex(e=>Math.abs(e)>=Math.abs(t)),i=this.scrollStops.findIndex(e=>Math.abs(t)+this.width<=Math.abs(e));let o=e;i>e+2?o=i-2:e {e&&e.target!==e.currentTarget||(this.content.style.setProperty("transition-duration","0s"),this.content.style.removeProperty("transform"),this.scrollContainer.style.setProperty("scroll-behavior","auto"),this.scrollContainer.scrollLeft=t,this.setFlippers(),this.content.removeEventListener("transitionend",n),this.scrolling=!1)};if(0===s)return void n();this.content.addEventListener("transitionend",n);const r=this.scrollContainer.scrollWidth-this.scrollContainer.clientWidth;let a=this.scrollContainer.scrollLeft-Math.min(t,r);this.isRtl&&(a=this.scrollContainer.scrollLeft+Math.min(Math.abs(t),r)),this.content.style.setProperty("transition-property","transform"),this.content.style.setProperty("transition-timing-function",this.easing),this.content.style.setProperty("transform",`translateX(${a}px)`)}resized(){this.resizeTimeout&&(this.resizeTimeout=clearTimeout(this.resizeTimeout)),this.resizeTimeout=setTimeout(()=>{this.width=this.scrollContainer.offsetWidth,this.setFlippers()},this.frameTime)}scrolled(){this.scrollTimeout&&(this.scrollTimeout=clearTimeout(this.scrollTimeout)),this.scrollTimeout=setTimeout(()=>{this.setFlippers()},this.frameTime)}}Jt([rt({converter:st})],us.prototype,"speed",void 0),Jt([rt],us.prototype,"duration",void 0),Jt([rt],us.prototype,"easing",void 0),Jt([rt({attribute:"flippers-hidden-from-at",converter:ot})],us.prototype,"flippersHiddenFromAT",void 0),Jt([f],us.prototype,"scrolling",void 0),Jt([f],us.prototype,"scrollItems",void 0),Jt([rt({attribute:"view"})],us.prototype,"view",void 0);function ps(t,e,i){return t.nodeType!==Node.TEXT_NODE||"string"==typeof t.nodeValue&&!!t.nodeValue.trim().length}class gs extends Pe{}class fs extends(pi(gs)){constructor(){super(...arguments),this.proxy=document.createElement("input")}}class ms extends fs{readOnlyChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.readOnly=this.readOnly,this.validate())}autofocusChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.autofocus=this.autofocus,this.validate())}placeholderChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.placeholder=this.placeholder)}listChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.setAttribute("list",this.list),this.validate())}maxlengthChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.maxLength=this.maxlength,this.validate())}minlengthChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.minLength=this.minlength,this.validate())}patternChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.pattern=this.pattern,this.validate())}sizeChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.size=this.size)}spellcheckChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.spellcheck=this.spellcheck)}connectedCallback(){super.connectedCallback(),this.validate(),this.autofocus&&d.queueUpdate(()=>{this.focus()})}validate(){super.validate(this.control)}handleTextInput(){this.value=this.control.value}handleClearInput(){this.value="",this.control.focus(),this.handleChange()}handleChange(){this.$emit("change")}}Jt([rt({attribute:"readonly",mode:"boolean"})],ms.prototype,"readOnly",void 0),Jt([rt({mode:"boolean"})],ms.prototype,"autofocus",void 0),Jt([rt],ms.prototype,"placeholder",void 0),Jt([rt],ms.prototype,"list",void 0),Jt([rt({converter:st})],ms.prototype,"maxlength",void 0),Jt([rt({converter:st})],ms.prototype,"minlength",void 0),Jt([rt],ms.prototype,"pattern",void 0),Jt([rt({converter:st})],ms.prototype,"size",void 0),Jt([rt({mode:"boolean"})],ms.prototype,"spellcheck",void 0),Jt([f],ms.prototype,"defaultSlottedNodes",void 0);class vs{}Me(vs,oi),Me(ms,Kt,vs);class bs extends Go{}class ys extends(pi(bs)){constructor(){super(...arguments),this.proxy=document.createElement("select")}}class xs extends ys{constructor(){super(...arguments),this.open=!1,this.forcedPosition=!1,this.listboxId=Qe("listbox-"),this.maxHeight=0}openChanged(t,e){if(this.collapsible){if(this.open)return this.ariaControls=this.listboxId,this.ariaExpanded="true",this.setPositioning(),this.focusAndScrollOptionIntoView(),this.indexWhenOpened=this.selectedIndex,void d.queueUpdate(()=>this.focus());this.ariaControls="",this.ariaExpanded="false"}}get collapsible(){return!(this.multiple||"number"==typeof this.size)}get value(){return g.track(this,"value"),this._value}set value(t){var e,i,o,s,n,r,a;const l=""+this._value;if(null===(e=this._options)||void 0===e?void 0:e.length){const e=this._options.findIndex(e=>e.value===t),l=null!==(o=null===(i=this._options[this.selectedIndex])||void 0===i?void 0:i.value)&&void 0!==o?o:null,c=null!==(n=null===(s=this._options[e])||void 0===s?void 0:s.value)&&void 0!==n?n:null;-1!==e&&l===c||(t="",this.selectedIndex=e),t=null!==(a=null===(r=this.firstSelectedOption)||void 0===r?void 0:r.value)&&void 0!==a?a:t}l!==t&&(this._value=t,super.valueChanged(l,t),g.notify(this,"value"),this.updateDisplayValue())}updateValue(t){var e,i;this.$fastController.isConnected&&(this.value=null!==(i=null===(e=this.firstSelectedOption)||void 0===e?void 0:e.value)&&void 0!==i?i:""),t&&(this.$emit("input"),this.$emit("change",this,{bubbles:!0,composed:void 0}))}selectedIndexChanged(t,e){super.selectedIndexChanged(t,e),this.updateValue()}positionChanged(t,e){this.positionAttribute=e,this.setPositioning()}setPositioning(){const t=this.getBoundingClientRect(),e=window.innerHeight-t.bottom;this.position=this.forcedPosition?this.positionAttribute:t.top>e?Wi:Ki,this.positionAttribute=this.forcedPosition?this.positionAttribute:this.position,this.maxHeight=this.position===Wi?~~t.top:~~e}get displayValue(){var t,e;return g.track(this,"displayValue"),null!==(e=null===(t=this.firstSelectedOption)||void 0===t?void 0:t.text)&&void 0!==e?e:""}disabledChanged(t,e){super.disabledChanged&&super.disabledChanged(t,e),this.ariaDisabled=this.disabled?"true":"false"}formResetCallback(){this.setProxyOptions(),super.setDefaultSelectedOption(),-1===this.selectedIndex&&(this.selectedIndex=0)}clickHandler(t){if(!this.disabled){if(this.open){const e=t.target.closest("option,[role=option]");if(e&&e.disabled)return}return super.clickHandler(t),this.open=this.collapsible&&!this.open,this.open||this.indexWhenOpened===this.selectedIndex||this.updateValue(!0),!0}}focusoutHandler(t){var e;if(super.focusoutHandler(t),!this.open)return!0;const i=t.relatedTarget;this.isSameNode(i)?this.focus():(null===(e=this.options)||void 0===e?void 0:e.includes(i))||(this.open=!1,this.indexWhenOpened!==this.selectedIndex&&this.updateValue(!0))}handleChange(t,e){super.handleChange(t,e),"value"===e&&this.updateValue()}slottedOptionsChanged(t,e){this.options.forEach(t=>{g.getNotifier(t).unsubscribe(this,"value")}),super.slottedOptionsChanged(t,e),this.options.forEach(t=>{g.getNotifier(t).subscribe(this,"value")}),this.setProxyOptions(),this.updateValue()}mousedownHandler(t){var e;return t.offsetX>=0&&t.offsetX<=(null===(e=this.listbox)||void 0===e?void 0:e.scrollWidth)?super.mousedownHandler(t):this.collapsible}multipleChanged(t,e){super.multipleChanged(t,e),this.proxy&&(this.proxy.multiple=e)}selectedOptionsChanged(t,e){var i;super.selectedOptionsChanged(t,e),null===(i=this.options)||void 0===i||i.forEach((t,e)=>{var i;const o=null===(i=this.proxy)||void 0===i?void 0:i.options.item(e);o&&(o.selected=t.selected)})}setDefaultSelectedOption(){var t;const e=null!==(t=this.options)&&void 0!==t?t:Array.from(this.children).filter(_i.slottedOptionFilter),i=null==e?void 0:e.findIndex(t=>t.hasAttribute("selected")||t.selected||t.value===this.value);this.selectedIndex=-1===i?0:i}setProxyOptions(){this.proxy instanceof HTMLSelectElement&&this.options&&(this.proxy.options.length=0,this.options.forEach(t=>{const e=t.proxy||(t instanceof HTMLOptionElement?t.cloneNode():null);e&&this.proxy.options.add(e)}))}keydownHandler(t){super.keydownHandler(t);const e=t.key||t.key.charCodeAt(0);switch(e){case" ":t.preventDefault(),this.collapsible&&this.typeAheadExpired&&(this.open=!this.open);break;case"Home":case"End":t.preventDefault();break;case"Enter":t.preventDefault(),this.open=!this.open;break;case"Escape":this.collapsible&&this.open&&(t.preventDefault(),this.open=!1);break;case"Tab":return this.collapsible&&this.open&&(t.preventDefault(),this.open=!1),!0}return this.open||this.indexWhenOpened===this.selectedIndex||(this.updateValue(!0),this.indexWhenOpened=this.selectedIndex),!("ArrowDown"===e||"ArrowUp"===e)}connectedCallback(){super.connectedCallback(),this.forcedPosition=!!this.positionAttribute,this.addEventListener("contentchange",this.updateDisplayValue)}disconnectedCallback(){this.removeEventListener("contentchange",this.updateDisplayValue),super.disconnectedCallback()}sizeChanged(t,e){super.sizeChanged(t,e),this.proxy&&(this.proxy.size=e)}updateDisplayValue(){this.collapsible&&g.notify(this,"displayValue")}}Jt([rt({attribute:"open",mode:"boolean"})],xs.prototype,"open",void 0),Jt([function(t,e,i){return Object.assign({},i,{get:function(){return g.trackVolatile(),i.get.apply(this)}})}],xs.prototype,"collapsible",null),Jt([f],xs.prototype,"control",void 0),Jt([rt({attribute:"position"})],xs.prototype,"positionAttribute",void 0),Jt([f],xs.prototype,"position",void 0),Jt([f],xs.prototype,"maxHeight",void 0);class $s{}Jt([f],$s.prototype,"ariaControls",void 0),Me($s,Gi),Me(xs,Kt,$s);class ws extends Pe{constructor(){super(...arguments),this.shape="rect"}}Jt([rt],ws.prototype,"fill",void 0),Jt([rt],ws.prototype,"shape",void 0),Jt([rt],ws.prototype,"pattern",void 0),Jt([rt({mode:"boolean"})],ws.prototype,"shimmer",void 0);function ks(t,e,i,o){let s=Ke(0,1,(t-e)/(i-e));return o===We.rtl&&(s=1-s),s}const Cs={min:0,max:0,direction:We.ltr,orientation:Ne,disabled:!1};class Is extends Pe{constructor(){super(...arguments),this.hideMark=!1,this.sliderDirection=We.ltr,this.getSliderConfiguration=()=>{if(this.isSliderConfig(this.parentNode)){const t=this.parentNode,{min:e,max:i,direction:o,orientation:s,disabled:n}=t;void 0!==n&&(this.disabled=n),this.sliderDirection=o||We.ltr,this.sliderOrientation=s||Ne,this.sliderMaxPosition=i,this.sliderMinPosition=e}else this.sliderDirection=Cs.direction||We.ltr,this.sliderOrientation=Cs.orientation,this.sliderMaxPosition=Cs.max,this.sliderMinPosition=Cs.min},this.positionAsStyle=()=>{const t=this.sliderDirection?this.sliderDirection:We.ltr,e=ks(Number(this.position),Number(this.sliderMinPosition),Number(this.sliderMaxPosition));let i=Math.round(100*(1-e)),o=Math.round(100*e);return Number.isNaN(o)&&Number.isNaN(i)&&(i=50,o=50),this.sliderOrientation===Ne?t===We.rtl?`right: ${o}%; left: ${i}%;`:`left: ${o}%; right: ${i}%;`:`top: ${o}%; bottom: ${i}%;`}}positionChanged(){this.positionStyle=this.positionAsStyle()}sliderOrientationChanged(){}connectedCallback(){super.connectedCallback(),this.getSliderConfiguration(),this.positionStyle=this.positionAsStyle(),this.notifier=g.getNotifier(this.parentNode),this.notifier.subscribe(this,"orientation"),this.notifier.subscribe(this,"direction"),this.notifier.subscribe(this,"max"),this.notifier.subscribe(this,"min")}disconnectedCallback(){super.disconnectedCallback(),this.notifier.unsubscribe(this,"orientation"),this.notifier.unsubscribe(this,"direction"),this.notifier.unsubscribe(this,"max"),this.notifier.unsubscribe(this,"min")}handleChange(t,e){switch(e){case"direction":this.sliderDirection=t.direction;break;case"orientation":this.sliderOrientation=t.orientation;break;case"max":this.sliderMaxPosition=t.max;break;case"min":this.sliderMinPosition=t.min}this.positionStyle=this.positionAsStyle()}isSliderConfig(t){return void 0!==t.max&&void 0!==t.min}}Jt([f],Is.prototype,"positionStyle",void 0),Jt([rt],Is.prototype,"position",void 0),Jt([rt({attribute:"hide-mark",mode:"boolean"})],Is.prototype,"hideMark",void 0),Jt([rt({attribute:"disabled",mode:"boolean"})],Is.prototype,"disabled",void 0),Jt([f],Is.prototype,"sliderOrientation",void 0),Jt([f],Is.prototype,"sliderMinPosition",void 0),Jt([f],Is.prototype,"sliderMaxPosition",void 0),Jt([f],Is.prototype,"sliderDirection",void 0);class Fs extends Pe{}class Ds extends(pi(Fs)){constructor(){super(...arguments),this.proxy=document.createElement("input")}}const Ts="single-value";class Ss extends Ds{constructor(){super(...arguments),this.direction=We.ltr,this.isDragging=!1,this.trackWidth=0,this.trackMinWidth=0,this.trackHeight=0,this.trackLeft=0,this.trackMinHeight=0,this.valueTextFormatter=()=>null,this.min=0,this.max=10,this.step=1,this.orientation=Ne,this.mode=Ts,this.keypressHandler=t=>{if(!this.readOnly)if("Home"===t.key)t.preventDefault(),this.value=""+this.min;else if("End"===t.key)t.preventDefault(),this.value=""+this.max;else if(!t.shiftKey)switch(t.key){case"ArrowRight":case"ArrowUp":t.preventDefault(),this.increment();break;case"ArrowLeft":case"ArrowDown":t.preventDefault(),this.decrement()}},this.setupTrackConstraints=()=>{const t=this.track.getBoundingClientRect();this.trackWidth=this.track.clientWidth,this.trackMinWidth=this.track.clientLeft,this.trackHeight=t.bottom,this.trackMinHeight=t.top,this.trackLeft=this.getBoundingClientRect().left,0===this.trackWidth&&(this.trackWidth=1)},this.setupListeners=(t=!1)=>{const e=(t?"remove":"add")+"EventListener";this[e]("keydown",this.keypressHandler),this[e]("mousedown",this.handleMouseDown),this.thumb[e]("mousedown",this.handleThumbMouseDown,{passive:!0}),this.thumb[e]("touchstart",this.handleThumbMouseDown,{passive:!0}),t&&(this.handleMouseDown(null),this.handleThumbMouseDown(null))},this.initialValue="",this.handleThumbMouseDown=t=>{if(t){if(this.readOnly||this.disabled||t.defaultPrevented)return;t.target.focus()}const e=(null!==t?"add":"remove")+"EventListener";window[e]("mouseup",this.handleWindowMouseUp),window[e]("mousemove",this.handleMouseMove,{passive:!0}),window[e]("touchmove",this.handleMouseMove,{passive:!0}),window[e]("touchend",this.handleWindowMouseUp),this.isDragging=null!==t},this.handleMouseMove=t=>{if(this.readOnly||this.disabled||t.defaultPrevented)return;const e=window.TouchEvent&&t instanceof TouchEvent?t.touches[0]:t,i=this.orientation===Ne?e.pageX-document.documentElement.scrollLeft-this.trackLeft:e.pageY-document.documentElement.scrollTop;this.value=""+this.calculateNewValue(i)},this.calculateNewValue=t=>{const e=ks(t,this.orientation===Ne?this.trackMinWidth:this.trackMinHeight,this.orientation===Ne?this.trackWidth:this.trackHeight,this.direction),i=(this.max-this.min)*e+this.min;return this.convertToConstrainedValue(i)},this.handleWindowMouseUp=t=>{this.stopDragging()},this.stopDragging=()=>{this.isDragging=!1,this.handleMouseDown(null),this.handleThumbMouseDown(null)},this.handleMouseDown=t=>{const e=(null!==t?"add":"remove")+"EventListener";if((null===t||!this.disabled&&!this.readOnly)&&(window[e]("mouseup",this.handleWindowMouseUp),window.document[e]("mouseleave",this.handleWindowMouseUp),window[e]("mousemove",this.handleMouseMove),t)){t.preventDefault(),this.setupTrackConstraints(),t.target.focus();const e=this.orientation===Ne?t.pageX-document.documentElement.scrollLeft-this.trackLeft:t.pageY-document.documentElement.scrollTop;this.value=""+this.calculateNewValue(e)}},this.convertToConstrainedValue=t=>{isNaN(t)&&(t=this.min);let e=t-this.min;const i=e-Math.round(e/this.step)*(this.stepMultiplier*this.step)/this.stepMultiplier;return e=i>=Number(this.step)/2?e-i+Number(this.step):e-i,e+this.min}}readOnlyChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.readOnly=this.readOnly)}get valueAsNumber(){return parseFloat(super.value)}set valueAsNumber(t){this.value=t.toString()}valueChanged(t,e){super.valueChanged(t,e),this.$fastController.isConnected&&this.setThumbPositionForOrientation(this.direction),this.$emit("change")}minChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.min=""+this.min),this.validate()}maxChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.max=""+this.max),this.validate()}stepChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.step=""+this.step),this.updateStepMultiplier(),this.validate()}orientationChanged(){this.$fastController.isConnected&&this.setThumbPositionForOrientation(this.direction)}connectedCallback(){super.connectedCallback(),this.proxy.setAttribute("type","range"),this.direction=ri(this),this.updateStepMultiplier(),this.setupTrackConstraints(),this.setupListeners(),this.setupDefaultValue(),this.setThumbPositionForOrientation(this.direction)}disconnectedCallback(){this.setupListeners(!0)}increment(){const t=this.direction!==We.rtl&&this.orientation!==je?Number(this.value)+Number(this.step):Number(this.value)-Number(this.step),e=this.convertToConstrainedValue(t),i=e Number(this.min)?""+e:""+this.min;this.value=i}setThumbPositionForOrientation(t){const e=100*(1-ks(Number(this.value),Number(this.min),Number(this.max),t));this.orientation===Ne?this.position=this.isDragging?`right: ${e}%; transition: none;`:`right: ${e}%; transition: all 0.2s ease;`:this.position=this.isDragging?`bottom: ${e}%; transition: none;`:`bottom: ${e}%; transition: all 0.2s ease;`}updateStepMultiplier(){const t=this.step+"",e=this.step%1?t.length-t.indexOf(".")-1:0;this.stepMultiplier=Math.pow(10,e)}get midpoint(){return""+this.convertToConstrainedValue((this.max+this.min)/2)}setupDefaultValue(){if("string"==typeof this.value)if(0===this.value.length)this.initialValue=this.midpoint;else{const t=parseFloat(this.value);!Number.isNaN(t)&&(t this.max)&&(this.value=this.midpoint)}}}Jt([rt({attribute:"readonly",mode:"boolean"})],Ss.prototype,"readOnly",void 0),Jt([f],Ss.prototype,"direction",void 0),Jt([f],Ss.prototype,"isDragging",void 0),Jt([f],Ss.prototype,"position",void 0),Jt([f],Ss.prototype,"trackWidth",void 0),Jt([f],Ss.prototype,"trackMinWidth",void 0),Jt([f],Ss.prototype,"trackHeight",void 0),Jt([f],Ss.prototype,"trackLeft",void 0),Jt([f],Ss.prototype,"trackMinHeight",void 0),Jt([f],Ss.prototype,"valueTextFormatter",void 0),Jt([rt({converter:st})],Ss.prototype,"min",void 0),Jt([rt({converter:st})],Ss.prototype,"max",void 0),Jt([rt({converter:st})],Ss.prototype,"step",void 0),Jt([rt],Ss.prototype,"orientation",void 0),Jt([rt],Ss.prototype,"mode",void 0);class Os extends Pe{}class Es extends(gi(Os)){constructor(){super(...arguments),this.proxy=document.createElement("input")}}class Rs extends Es{constructor(){super(),this.initialValue="on",this.keypressHandler=t=>{if(!this.readOnly)switch(t.key){case"Enter":case" ":this.checked=!this.checked}},this.clickHandler=t=>{this.disabled||this.readOnly||(this.checked=!this.checked)},this.proxy.setAttribute("type","checkbox")}readOnlyChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.readOnly=this.readOnly),this.readOnly?this.classList.add("readonly"):this.classList.remove("readonly")}checkedChanged(t,e){super.checkedChanged(t,e),this.checked?this.classList.add("checked"):this.classList.remove("checked")}}Jt([rt({attribute:"readonly",mode:"boolean"})],Rs.prototype,"readOnly",void 0),Jt([f],Rs.prototype,"defaultSlottedNodes",void 0);class Vs extends Pe{}class As extends Pe{}Jt([rt({mode:"boolean"})],As.prototype,"disabled",void 0);const Ls="horizontal";class Ps extends Pe{constructor(){super(...arguments),this.orientation=Ls,this.activeindicator=!0,this.showActiveIndicator=!0,this.prevActiveTabIndex=0,this.activeTabIndex=0,this.ticking=!1,this.change=()=>{this.$emit("change",this.activetab)},this.isDisabledElement=t=>"true"===t.getAttribute("aria-disabled"),this.isHiddenElement=t=>t.hasAttribute("hidden"),this.isFocusableElement=t=>!this.isDisabledElement(t)&&!this.isHiddenElement(t),this.setTabs=()=>{const t=this.isHorizontal()?"gridColumn":"gridRow";this.activeTabIndex=this.getActiveIndex(),this.showActiveIndicator=!1,this.tabs.forEach((e,i)=>{if("tab"===e.slot){const t=this.activeTabIndex===i&&this.isFocusableElement(e);this.activeindicator&&this.isFocusableElement(e)&&(this.showActiveIndicator=!0);const o=this.tabIds[i],s=this.tabpanelIds[i];e.setAttribute("id",o),e.setAttribute("aria-selected",t?"true":"false"),e.setAttribute("aria-controls",s),e.addEventListener("click",this.handleTabClick),e.addEventListener("keydown",this.handleTabKeyDown),e.setAttribute("tabindex",t?"0":"-1"),t&&(this.activetab=e,this.activeid=o)}e.style.gridColumn="",e.style.gridRow="",e.style[t]=""+(i+1),this.isHorizontal()?e.classList.remove("vertical"):e.classList.add("vertical")})},this.setTabPanels=()=>{this.tabpanels.forEach((t,e)=>{const i=this.tabIds[e],o=this.tabpanelIds[e];t.setAttribute("id",o),t.setAttribute("aria-labelledby",i),this.activeTabIndex!==e?t.setAttribute("hidden",""):t.removeAttribute("hidden")})},this.handleTabClick=t=>{const e=t.currentTarget;1===e.nodeType&&this.isFocusableElement(e)&&(this.prevActiveTabIndex=this.activeTabIndex,this.activeTabIndex=this.tabs.indexOf(e),this.setComponent())},this.handleTabKeyDown=t=>{if(this.isHorizontal())switch(t.key){case"ArrowLeft":t.preventDefault(),this.adjustBackward(t);break;case"ArrowRight":t.preventDefault(),this.adjustForward(t)}else switch(t.key){case"ArrowUp":t.preventDefault(),this.adjustBackward(t);break;case"ArrowDown":t.preventDefault(),this.adjustForward(t)}switch(t.key){case"Home":t.preventDefault(),this.adjust(-this.activeTabIndex);break;case"End":t.preventDefault(),this.adjust(this.tabs.length-this.activeTabIndex-1)}},this.adjustForward=t=>{const e=this.tabs;let i=0;for(i=this.activetab?e.indexOf(this.activetab)+1:1,i===e.length&&(i=0);i 1;){if(this.isFocusableElement(e[i])){this.moveToTabByIndex(e,i);break}if(this.activetab&&i===e.indexOf(this.activetab))break;i+1>=e.length?i=0:i+=1}},this.adjustBackward=t=>{const e=this.tabs;let i=0;for(i=this.activetab?e.indexOf(this.activetab)-1:0,i=i<0?e.length-1:i;i>=0&&e.length>1;){if(this.isFocusableElement(e[i])){this.moveToTabByIndex(e,i);break}i-1<0?i=e.length-1:i-=1}},this.moveToTabByIndex=(t,e)=>{const i=t[e];this.activetab=i,this.prevActiveTabIndex=this.activeTabIndex,this.activeTabIndex=e,i.focus(),this.setComponent()}}orientationChanged(){this.$fastController.isConnected&&(this.setTabs(),this.setTabPanels(),this.handleActiveIndicatorPosition())}activeidChanged(t,e){this.$fastController.isConnected&&this.tabs.length<=this.tabpanels.length&&(this.prevActiveTabIndex=this.tabs.findIndex(e=>e.id===t),this.setTabs(),this.setTabPanels(),this.handleActiveIndicatorPosition())}tabsChanged(){this.$fastController.isConnected&&this.tabs.length<=this.tabpanels.length&&(this.tabIds=this.getTabIds(),this.tabpanelIds=this.getTabPanelIds(),this.setTabs(),this.setTabPanels(),this.handleActiveIndicatorPosition())}tabpanelsChanged(){this.$fastController.isConnected&&this.tabpanels.length<=this.tabs.length&&(this.tabIds=this.getTabIds(),this.tabpanelIds=this.getTabPanelIds(),this.setTabs(),this.setTabPanels(),this.handleActiveIndicatorPosition())}getActiveIndex(){return void 0!==this.activeid?-1===this.tabIds.indexOf(this.activeid)?0:this.tabIds.indexOf(this.activeid):0}getTabIds(){return this.tabs.map(t=>{var e;return null!==(e=t.getAttribute("id"))&&void 0!==e?e:"tab-"+Qe()})}getTabPanelIds(){return this.tabpanels.map(t=>{var e;return null!==(e=t.getAttribute("id"))&&void 0!==e?e:"panel-"+Qe()})}setComponent(){this.activeTabIndex!==this.prevActiveTabIndex&&(this.activeid=this.tabIds[this.activeTabIndex],this.focusTab(),this.change())}isHorizontal(){return this.orientation===Ls}handleActiveIndicatorPosition(){this.showActiveIndicator&&this.activeindicator&&this.activeTabIndex!==this.prevActiveTabIndex&&(this.ticking?this.ticking=!1:(this.ticking=!0,this.animateActiveIndicator()))}animateActiveIndicator(){this.ticking=!0;const t=this.isHorizontal()?"gridColumn":"gridRow",e=this.isHorizontal()?"translateX":"translateY",i=this.isHorizontal()?"offsetLeft":"offsetTop",o=this.activeIndicatorRef[i];this.activeIndicatorRef.style[t]=""+(this.activeTabIndex+1);const s=this.activeIndicatorRef[i];this.activeIndicatorRef.style[t]=""+(this.prevActiveTabIndex+1);const n=s-o;this.activeIndicatorRef.style.transform=`${e}(${n}px)`,this.activeIndicatorRef.classList.add("activeIndicatorTransition"),this.activeIndicatorRef.addEventListener("transitionend",()=>{this.ticking=!1,this.activeIndicatorRef.style[t]=""+(this.activeTabIndex+1),this.activeIndicatorRef.style.transform=e+"(0px)",this.activeIndicatorRef.classList.remove("activeIndicatorTransition")})}adjust(t){const e=this.tabs.filter(t=>this.isFocusableElement(t)),i=e.indexOf(this.activetab),o=Ke(0,e.length-1,i+t),s=this.tabs.indexOf(e[o]);s>-1&&this.moveToTabByIndex(this.tabs,s)}focusTab(){this.tabs[this.activeTabIndex].focus()}connectedCallback(){super.connectedCallback(),this.tabIds=this.getTabIds(),this.tabpanelIds=this.getTabPanelIds(),this.activeTabIndex=this.getActiveIndex()}}Jt([rt],Ps.prototype,"orientation",void 0),Jt([rt],Ps.prototype,"activeid",void 0),Jt([f],Ps.prototype,"tabs",void 0),Jt([f],Ps.prototype,"tabpanels",void 0),Jt([rt({mode:"boolean"})],Ps.prototype,"activeindicator",void 0),Jt([f],Ps.prototype,"activeIndicatorRef",void 0),Jt([f],Ps.prototype,"showActiveIndicator",void 0),Me(Ps,Kt);class zs extends Pe{}class Hs extends(pi(zs)){constructor(){super(...arguments),this.proxy=document.createElement("textarea")}}const Ms="none";class Bs extends Hs{constructor(){super(...arguments),this.resize=Ms,this.cols=20,this.handleTextInput=()=>{this.value=this.control.value}}readOnlyChanged(){this.proxy instanceof HTMLTextAreaElement&&(this.proxy.readOnly=this.readOnly)}autofocusChanged(){this.proxy instanceof HTMLTextAreaElement&&(this.proxy.autofocus=this.autofocus)}listChanged(){this.proxy instanceof HTMLTextAreaElement&&this.proxy.setAttribute("list",this.list)}maxlengthChanged(){this.proxy instanceof HTMLTextAreaElement&&(this.proxy.maxLength=this.maxlength)}minlengthChanged(){this.proxy instanceof HTMLTextAreaElement&&(this.proxy.minLength=this.minlength)}spellcheckChanged(){this.proxy instanceof HTMLTextAreaElement&&(this.proxy.spellcheck=this.spellcheck)}select(){this.control.select(),this.$emit("select")}handleChange(){this.$emit("change")}validate(){super.validate(this.control)}}Jt([rt({mode:"boolean"})],Bs.prototype,"readOnly",void 0),Jt([rt],Bs.prototype,"resize",void 0),Jt([rt({mode:"boolean"})],Bs.prototype,"autofocus",void 0),Jt([rt({attribute:"form"})],Bs.prototype,"formId",void 0),Jt([rt],Bs.prototype,"list",void 0),Jt([rt({converter:st})],Bs.prototype,"maxlength",void 0),Jt([rt({converter:st})],Bs.prototype,"minlength",void 0),Jt([rt],Bs.prototype,"name",void 0),Jt([rt],Bs.prototype,"placeholder",void 0),Jt([rt({converter:st,mode:"fromView"})],Bs.prototype,"cols",void 0),Jt([rt({converter:st,mode:"fromView"})],Bs.prototype,"rows",void 0),Jt([rt({mode:"boolean"})],Bs.prototype,"spellcheck",void 0),Jt([f],Bs.prototype,"defaultSlottedNodes",void 0),Me(Bs,os);const Ns=Object.freeze({[Ge.ArrowUp]:{[je]:-1},[Ge.ArrowDown]:{[je]:1},[Ge.ArrowLeft]:{[Ne]:{[We.ltr]:-1,[We.rtl]:1}},[Ge.ArrowRight]:{[Ne]:{[We.ltr]:1,[We.rtl]:-1}}});class js extends Pe{constructor(){super(...arguments),this._activeIndex=0,this.direction=We.ltr,this.orientation=Ne}get activeIndex(){return g.track(this,"activeIndex"),this._activeIndex}set activeIndex(t){this.$fastController.isConnected&&(this._activeIndex=Ke(0,this.focusableElements.length-1,t),g.notify(this,"activeIndex"))}slottedItemsChanged(){this.$fastController.isConnected&&this.reduceFocusableElements()}mouseDownHandler(t){var e;const i=null===(e=this.focusableElements)||void 0===e?void 0:e.findIndex(e=>e.contains(t.target));return i>-1&&this.activeIndex!==i&&this.setFocusedElement(i),!0}childItemsChanged(t,e){this.$fastController.isConnected&&this.reduceFocusableElements()}connectedCallback(){super.connectedCallback(),this.direction=ri(this)}focusinHandler(t){const e=t.relatedTarget;e&&!this.contains(e)&&this.setFocusedElement()}getDirectionalIncrementer(t){var e,i,o,s,n;return null!==(n=null!==(o=null===(i=null===(e=Ns[t])||void 0===e?void 0:e[this.orientation])||void 0===i?void 0:i[this.direction])&&void 0!==o?o:null===(s=Ns[t])||void 0===s?void 0:s[this.orientation])&&void 0!==n?n:0}keydownHandler(t){const e=t.key;if(!(e in Ge)||t.defaultPrevented||t.shiftKey)return!0;const i=this.getDirectionalIncrementer(e);if(!i)return!t.target.closest("[role=radiogroup]");const o=this.activeIndex+i;return this.focusableElements[o]&&t.preventDefault(),this.setFocusedElement(o),!0}get allSlottedItems(){return[...this.start.assignedElements(),...this.slottedItems,...this.end.assignedElements()]}reduceFocusableElements(){var t;const e=null===(t=this.focusableElements)||void 0===t?void 0:t[this.activeIndex];this.focusableElements=this.allSlottedItems.reduce(js.reduceFocusableItems,[]);const i=this.focusableElements.indexOf(e);this.activeIndex=Math.max(0,i),this.setFocusableElements()}setFocusedElement(t=this.activeIndex){this.activeIndex=t,this.setFocusableElements(),this.focusableElements[this.activeIndex]&&this.contains(function(t){const e=t.getRootNode();return e instanceof ShadowRoot?e.activeElement:document.activeElement}(this))&&this.focusableElements[this.activeIndex].focus()}static reduceFocusableItems(t,e){var i,o,s,n;const r="radio"===e.getAttribute("role"),a=null===(o=null===(i=e.$fastController)||void 0===i?void 0:i.definition.shadowOptions)||void 0===o?void 0:o.delegatesFocus,l=Array.from(null!==(n=null===(s=e.shadowRoot)||void 0===s?void 0:s.querySelectorAll("*"))&&void 0!==n?n:[]).some(t=>Mo(t));return e.hasAttribute("disabled")||e.hasAttribute("hidden")||!(Mo(e)||r||a||l)?e.childElementCount?t.concat(Array.from(e.children).reduce(js.reduceFocusableItems,[])):t:(t.push(e),t)}setFocusableElements(){this.$fastController.isConnected&&this.focusableElements.length>0&&this.focusableElements.forEach((t,e)=>{t.tabIndex=this.activeIndex===e?0:-1})}}Jt([f],js.prototype,"direction",void 0),Jt([rt],js.prototype,"orientation",void 0),Jt([f],js.prototype,"slottedItems",void 0),Jt([f],js.prototype,"slottedLabel",void 0),Jt([f],js.prototype,"childItems",void 0);class Us{}Jt([rt({attribute:"aria-labelledby"})],Us.prototype,"ariaLabelledby",void 0),Jt([rt({attribute:"aria-label"})],Us.prototype,"ariaLabel",void 0),Me(Us,oi),Me(js,Kt,Us);const qs="top",_s="right",Gs="bottom",Ws="left",Ks="start",Xs="end",Ys="top-left",Qs="top-right",Zs="bottom-left",Js="bottom-right",tn="top-start",en="top-end",on="bottom-start",sn="bottom-end";class nn extends Pe{constructor(){super(...arguments),this.anchor="",this.delay=300,this.autoUpdateMode="anchor",this.anchorElement=null,this.viewportElement=null,this.verticalPositioningMode="dynamic",this.horizontalPositioningMode="dynamic",this.horizontalInset="false",this.verticalInset="false",this.horizontalScaling="content",this.verticalScaling="content",this.verticalDefaultPosition=void 0,this.horizontalDefaultPosition=void 0,this.tooltipVisible=!1,this.currentDirection=We.ltr,this.showDelayTimer=null,this.hideDelayTimer=null,this.isAnchorHoveredFocused=!1,this.isRegionHovered=!1,this.handlePositionChange=t=>{this.classList.toggle("top","start"===this.region.verticalPosition),this.classList.toggle("bottom","end"===this.region.verticalPosition),this.classList.toggle("inset-top","insetStart"===this.region.verticalPosition),this.classList.toggle("inset-bottom","insetEnd"===this.region.verticalPosition),this.classList.toggle("center-vertical","center"===this.region.verticalPosition),this.classList.toggle("left","start"===this.region.horizontalPosition),this.classList.toggle("right","end"===this.region.horizontalPosition),this.classList.toggle("inset-left","insetStart"===this.region.horizontalPosition),this.classList.toggle("inset-right","insetEnd"===this.region.horizontalPosition),this.classList.toggle("center-horizontal","center"===this.region.horizontalPosition)},this.handleRegionMouseOver=t=>{this.isRegionHovered=!0},this.handleRegionMouseOut=t=>{this.isRegionHovered=!1,this.startHideDelayTimer()},this.handleAnchorMouseOver=t=>{this.tooltipVisible?this.isAnchorHoveredFocused=!0:this.startShowDelayTimer()},this.handleAnchorMouseOut=t=>{this.isAnchorHoveredFocused=!1,this.clearShowDelayTimer(),this.startHideDelayTimer()},this.handleAnchorFocusIn=t=>{this.startShowDelayTimer()},this.handleAnchorFocusOut=t=>{this.isAnchorHoveredFocused=!1,this.clearShowDelayTimer(),this.startHideDelayTimer()},this.startHideDelayTimer=()=>{this.clearHideDelayTimer(),this.tooltipVisible&&(this.hideDelayTimer=window.setTimeout(()=>{this.updateTooltipVisibility()},60))},this.clearHideDelayTimer=()=>{null!==this.hideDelayTimer&&(clearTimeout(this.hideDelayTimer),this.hideDelayTimer=null)},this.startShowDelayTimer=()=>{this.isAnchorHoveredFocused||(this.delay>1?null===this.showDelayTimer&&(this.showDelayTimer=window.setTimeout(()=>{this.startHover()},this.delay)):this.startHover())},this.startHover=()=>{this.isAnchorHoveredFocused=!0,this.updateTooltipVisibility()},this.clearShowDelayTimer=()=>{null!==this.showDelayTimer&&(clearTimeout(this.showDelayTimer),this.showDelayTimer=null)},this.getAnchor=()=>{const t=this.getRootNode();return t instanceof ShadowRoot?t.getElementById(this.anchor):document.getElementById(this.anchor)},this.handleDocumentKeydown=t=>{if(!t.defaultPrevented&&this.tooltipVisible)switch(t.key){case"Escape":this.isAnchorHoveredFocused=!1,this.updateTooltipVisibility(),this.$emit("dismiss")}},this.updateTooltipVisibility=()=>{if(!1===this.visible)this.hideTooltip();else{if(!0===this.visible)return void this.showTooltip();if(this.isAnchorHoveredFocused||this.isRegionHovered)return void this.showTooltip();this.hideTooltip()}},this.showTooltip=()=>{this.tooltipVisible||(this.currentDirection=ri(this),this.tooltipVisible=!0,document.addEventListener("keydown",this.handleDocumentKeydown),d.queueUpdate(this.setRegionProps))},this.hideTooltip=()=>{this.tooltipVisible&&(this.clearHideDelayTimer(),null!==this.region&&void 0!==this.region&&(this.region.removeEventListener("positionchange",this.handlePositionChange),this.region.viewportElement=null,this.region.anchorElement=null,this.region.removeEventListener("mouseover",this.handleRegionMouseOver),this.region.removeEventListener("mouseout",this.handleRegionMouseOut)),document.removeEventListener("keydown",this.handleDocumentKeydown),this.tooltipVisible=!1)},this.setRegionProps=()=>{this.tooltipVisible&&(this.region.viewportElement=this.viewportElement,this.region.anchorElement=this.anchorElement,this.region.addEventListener("positionchange",this.handlePositionChange),this.region.addEventListener("mouseover",this.handleRegionMouseOver,{passive:!0}),this.region.addEventListener("mouseout",this.handleRegionMouseOut,{passive:!0}))}}visibleChanged(){this.$fastController.isConnected&&(this.updateTooltipVisibility(),this.updateLayout())}anchorChanged(){this.$fastController.isConnected&&(this.anchorElement=this.getAnchor())}positionChanged(){this.$fastController.isConnected&&this.updateLayout()}anchorElementChanged(t){if(this.$fastController.isConnected){if(null!=t&&(t.removeEventListener("mouseover",this.handleAnchorMouseOver),t.removeEventListener("mouseout",this.handleAnchorMouseOut),t.removeEventListener("focusin",this.handleAnchorFocusIn),t.removeEventListener("focusout",this.handleAnchorFocusOut)),null!==this.anchorElement&&void 0!==this.anchorElement){this.anchorElement.addEventListener("mouseover",this.handleAnchorMouseOver,{passive:!0}),this.anchorElement.addEventListener("mouseout",this.handleAnchorMouseOut,{passive:!0}),this.anchorElement.addEventListener("focusin",this.handleAnchorFocusIn,{passive:!0}),this.anchorElement.addEventListener("focusout",this.handleAnchorFocusOut,{passive:!0});const t=this.anchorElement.id;null!==this.anchorElement.parentElement&&this.anchorElement.parentElement.querySelectorAll(":hover").forEach(e=>{e.id===t&&this.startShowDelayTimer()})}null!==this.region&&void 0!==this.region&&this.tooltipVisible&&(this.region.anchorElement=this.anchorElement),this.updateLayout()}}viewportElementChanged(){null!==this.region&&void 0!==this.region&&(this.region.viewportElement=this.viewportElement),this.updateLayout()}connectedCallback(){super.connectedCallback(),this.anchorElement=this.getAnchor(),this.updateTooltipVisibility()}disconnectedCallback(){this.hideTooltip(),this.clearShowDelayTimer(),this.clearHideDelayTimer(),super.disconnectedCallback()}updateLayout(){switch(this.verticalPositioningMode="locktodefault",this.horizontalPositioningMode="locktodefault",this.position){case qs:case Gs:this.verticalDefaultPosition=this.position,this.horizontalDefaultPosition="center";break;case _s:case Ws:case Ks:case Xs:this.verticalDefaultPosition="center",this.horizontalDefaultPosition=this.position;break;case Ys:this.verticalDefaultPosition="top",this.horizontalDefaultPosition="left";break;case Qs:this.verticalDefaultPosition="top",this.horizontalDefaultPosition="right";break;case Zs:this.verticalDefaultPosition="bottom",this.horizontalDefaultPosition="left";break;case Js:this.verticalDefaultPosition="bottom",this.horizontalDefaultPosition="right";break;case tn:this.verticalDefaultPosition="top",this.horizontalDefaultPosition="start";break;case en:this.verticalDefaultPosition="top",this.horizontalDefaultPosition="end";break;case on:this.verticalDefaultPosition="bottom",this.horizontalDefaultPosition="start";break;case sn:this.verticalDefaultPosition="bottom",this.horizontalDefaultPosition="end";break;default:this.verticalPositioningMode="dynamic",this.horizontalPositioningMode="dynamic",this.verticalDefaultPosition=void 0,this.horizontalDefaultPosition="center"}}}Jt([rt({mode:"boolean"})],nn.prototype,"visible",void 0),Jt([rt],nn.prototype,"anchor",void 0),Jt([rt],nn.prototype,"delay",void 0),Jt([rt],nn.prototype,"position",void 0),Jt([rt({attribute:"auto-update-mode"})],nn.prototype,"autoUpdateMode",void 0),Jt([rt({attribute:"horizontal-viewport-lock"})],nn.prototype,"horizontalViewportLock",void 0),Jt([rt({attribute:"vertical-viewport-lock"})],nn.prototype,"verticalViewportLock",void 0),Jt([f],nn.prototype,"anchorElement",void 0),Jt([f],nn.prototype,"viewportElement",void 0),Jt([f],nn.prototype,"verticalPositioningMode",void 0),Jt([f],nn.prototype,"horizontalPositioningMode",void 0),Jt([f],nn.prototype,"horizontalInset",void 0),Jt([f],nn.prototype,"verticalInset",void 0),Jt([f],nn.prototype,"horizontalScaling",void 0),Jt([f],nn.prototype,"verticalScaling",void 0),Jt([f],nn.prototype,"verticalDefaultPosition",void 0),Jt([f],nn.prototype,"horizontalDefaultPosition",void 0),Jt([f],nn.prototype,"tooltipVisible",void 0),Jt([f],nn.prototype,"currentDirection",void 0);function rn(t){return Ue(t)&&"treeitem"===t.getAttribute("role")}class an extends Pe{constructor(){super(...arguments),this.expanded=!1,this.focusable=!1,this.isNestedItem=()=>rn(this.parentElement),this.handleExpandCollapseButtonClick=t=>{this.disabled||t.defaultPrevented||(this.expanded=!this.expanded)},this.handleFocus=t=>{this.setAttribute("tabindex","0")},this.handleBlur=t=>{this.setAttribute("tabindex","-1")}}expandedChanged(){this.$fastController.isConnected&&this.$emit("expanded-change",this)}selectedChanged(){this.$fastController.isConnected&&this.$emit("selected-change",this)}itemsChanged(t,e){this.$fastController.isConnected&&this.items.forEach(t=>{rn(t)&&(t.nested=!0)})}static focusItem(t){t.focusable=!0,t.focus()}childItemLength(){const t=this.childItems.filter(t=>rn(t));return t?t.length:0}}Jt([rt({mode:"boolean"})],an.prototype,"expanded",void 0),Jt([rt({mode:"boolean"})],an.prototype,"selected",void 0),Jt([rt({mode:"boolean"})],an.prototype,"disabled",void 0),Jt([f],an.prototype,"focusable",void 0),Jt([f],an.prototype,"childItems",void 0),Jt([f],an.prototype,"items",void 0),Jt([f],an.prototype,"nested",void 0),Jt([f],an.prototype,"renderCollapsedChildren",void 0),Me(an,Kt);class ln extends Pe{constructor(){super(...arguments),this.currentFocused=null,this.handleFocus=t=>{if(!(this.slottedTreeItems.length<1))return t.target===this?(null===this.currentFocused&&(this.currentFocused=this.getValidFocusableItem()),void(null!==this.currentFocused&&an.focusItem(this.currentFocused))):void(this.contains(t.target)&&(this.setAttribute("tabindex","-1"),this.currentFocused=t.target))},this.handleBlur=t=>{t.target instanceof HTMLElement&&(null===t.relatedTarget||!this.contains(t.relatedTarget))&&this.setAttribute("tabindex","0")},this.handleKeyDown=t=>{if(t.defaultPrevented)return;if(this.slottedTreeItems.length<1)return!0;const e=this.getVisibleNodes();switch(t.key){case"Home":return void(e.length&&an.focusItem(e[0]));case"End":return void(e.length&&an.focusItem(e[e.length-1]));case"ArrowLeft":if(t.target&&this.isFocusableElement(t.target)){const e=t.target;e instanceof an&&e.childItemLength()>0&&e.expanded?e.expanded=!1:e instanceof an&&e.parentElement instanceof an&&an.focusItem(e.parentElement)}return!1;case"ArrowRight":if(t.target&&this.isFocusableElement(t.target)){const e=t.target;e instanceof an&&e.childItemLength()>0&&!e.expanded?e.expanded=!0:e instanceof an&&e.childItemLength()>0&&this.focusNextNode(1,t.target)}return;case"ArrowDown":return void(t.target&&this.isFocusableElement(t.target)&&this.focusNextNode(1,t.target));case"ArrowUp":return void(t.target&&this.isFocusableElement(t.target)&&this.focusNextNode(-1,t.target));case"Enter":return void this.handleClick(t)}return!0},this.handleSelectedChange=t=>{if(t.defaultPrevented)return;if(!(t.target instanceof Element&&rn(t.target)))return!0;const e=t.target;e.selected?(this.currentSelected&&this.currentSelected!==e&&(this.currentSelected.selected=!1),this.currentSelected=e):e.selected||this.currentSelected!==e||(this.currentSelected=null)},this.setItems=()=>{const t=this.treeView.querySelector("[aria-selected='true']");this.currentSelected=t,null!==this.currentFocused&&this.contains(this.currentFocused)||(this.currentFocused=this.getValidFocusableItem()),this.nested=this.checkForNestedItems();this.getVisibleNodes().forEach(t=>{rn(t)&&(t.nested=this.nested)})},this.isFocusableElement=t=>rn(t),this.isSelectedElement=t=>t.selected}slottedTreeItemsChanged(){this.$fastController.isConnected&&this.setItems()}connectedCallback(){super.connectedCallback(),this.setAttribute("tabindex","0"),d.queueUpdate(()=>{this.setItems()})}handleClick(t){if(t.defaultPrevented)return;if(!(t.target instanceof Element&&rn(t.target)))return!0;const e=t.target;e.disabled||(e.selected=!e.selected)}focusNextNode(t,e){const i=this.getVisibleNodes();if(!i)return;const o=i[i.indexOf(e)+t];Ue(o)&&an.focusItem(o)}getValidFocusableItem(){const t=this.getVisibleNodes();let e=t.findIndex(this.isSelectedElement);return-1===e&&(e=t.findIndex(this.isFocusableElement)),-1!==e?t[e]:null}checkForNestedItems(){return this.slottedTreeItems.some(t=>rn(t)&&t.querySelector("[role='treeitem']"))}getVisibleNodes(){return function(t,e){if(!t||!e||!Ue(t))return;return Array.from(t.querySelectorAll(e)).filter(t=>null!==t.offsetParent)}(this,"[role='treeitem']")||[]}}Jt([rt({attribute:"render-collapsed-nodes"})],ln.prototype,"renderCollapsedNodes",void 0),Jt([f],ln.prototype,"currentSelected",void 0),Jt([f],ln.prototype,"slottedTreeItems",void 0);class cn extends class{constructor(t){this.listenerCache=new WeakMap,this.query=t}bind(t){const{query:e}=this,i=this.constructListener(t);i.bind(e)(),e.addListener(i),this.listenerCache.set(t,i)}unbind(t){const e=this.listenerCache.get(t);e&&(this.query.removeListener(e),this.listenerCache.delete(t))}}{constructor(t,e){super(t),this.styles=e}static with(t){return e=>new cn(t,e)}constructListener(t){let e=!1;const i=this.styles;return function(){const{matches:o}=this;o&&!e?(t.$fastController.addStyles(i),e=o):!o&&e&&(t.$fastController.removeStyles(i),e=o)}}unbind(t){super.unbind(t),t.$fastController.removeStyles(this.styles)}}const hn=cn.with(window.matchMedia("(forced-colors)"));cn.with(window.matchMedia("(prefers-color-scheme: dark)")),cn.with(window.matchMedia("(prefers-color-scheme: light)"));class dn{constructor(t,e,i){this.propertyName=t,this.value=e,this.styles=i}bind(t){g.getNotifier(t).subscribe(this,this.propertyName),this.handleChange(t,this.propertyName)}unbind(t){g.getNotifier(t).unsubscribe(this,this.propertyName),t.$fastController.removeStyles(this.styles)}handleChange(t,e){t[e]===this.value?t.$fastController.addStyles(this.styles):t.$fastController.removeStyles(this.styles)}}function un(t){return`:host([hidden]){display:none}:host{display:${t}}`}const pn=function(){if("boolean"==typeof qe)return qe;if("undefined"==typeof window||!window.document||!window.document.createElement)return qe=!1,qe;const t=document.createElement("style"),e=function(){const t=document.querySelector('meta[property="csp-nonce"]');return t?t.getAttribute("content"):null}();null!==e&&t.setAttribute("nonce",e),document.head.appendChild(t);try{t.sheet.insertRule("foo:focus-visible {color:inherit}",0),qe=!0}catch(t){qe=!1}finally{document.head.removeChild(t)}return qe}()?"focus-visible":"focus";function gn(t,e,i){return isNaN(t)||t<=e?e:t>=i?i:t}function fn(t,e,i){return isNaN(t)||t<=e?0:t>=i?1:t/(i-e)}function mn(t,e,i){return isNaN(t)?e:e+t*(i-e)}function vn(t,e,i){return isNaN(t)||t<=0?e:t>=1?i:e+t*(i-e)}function bn(t,e){const i=Math.pow(10,e);return Math.round(t*i)/i}class yn{constructor(t,e,i){this.h=t,this.s=e,this.l=i}static fromObject(t){return!t||isNaN(t.h)||isNaN(t.s)||isNaN(t.l)?null:new yn(t.h,t.s,t.l)}equalValue(t){return this.h===t.h&&this.s===t.s&&this.l===t.l}roundToPrecision(t){return new yn(bn(this.h,t),bn(this.s,t),bn(this.l,t))}toObject(){return{h:this.h,s:this.s,l:this.l}}}class xn{constructor(t,e,i){this.l=t,this.a=e,this.b=i}static fromObject(t){return!t||isNaN(t.l)||isNaN(t.a)||isNaN(t.b)?null:new xn(t.l,t.a,t.b)}equalValue(t){return this.l===t.l&&this.a===t.a&&this.b===t.b}roundToPrecision(t){return new xn(bn(this.l,t),bn(this.a,t),bn(this.b,t))}toObject(){return{l:this.l,a:this.a,b:this.b}}}xn.epsilon=216/24389,xn.kappa=24389/27;class $n{constructor(t,e,i,o){this.r=t,this.g=e,this.b=i,this.a="number"!=typeof o||isNaN(o)?1:o}static fromObject(t){return!t||isNaN(t.r)||isNaN(t.g)||isNaN(t.b)?null:new $n(t.r,t.g,t.b,t.a)}equalValue(t){return this.r===t.r&&this.g===t.g&&this.b===t.b&&this.a===t.a}toStringHexRGB(){return"#"+[this.r,this.g,this.b].map(this.formatHexValue).join("")}toStringHexRGBA(){return this.toStringHexRGB()+this.formatHexValue(this.a)}toStringHexARGB(){return"#"+[this.a,this.r,this.g,this.b].map(this.formatHexValue).join("")}toStringWebRGB(){return`rgb(${Math.round(mn(this.r,0,255))},${Math.round(mn(this.g,0,255))},${Math.round(mn(this.b,0,255))})`}toStringWebRGBA(){return`rgba(${Math.round(mn(this.r,0,255))},${Math.round(mn(this.g,0,255))},${Math.round(mn(this.b,0,255))},${gn(this.a,0,1)})`}roundToPrecision(t){return new $n(bn(this.r,t),bn(this.g,t),bn(this.b,t),bn(this.a,t))}clamp(){return new $n(gn(this.r,0,1),gn(this.g,0,1),gn(this.b,0,1),gn(this.a,0,1))}toObject(){return{r:this.r,g:this.g,b:this.b,a:this.a}}formatHexValue(t){return function(t){const e=Math.round(gn(t,0,255)).toString(16);return 1===e.length?"0"+e:e}(mn(t,0,255))}}class wn{constructor(t,e,i){this.x=t,this.y=e,this.z=i}static fromObject(t){return!t||isNaN(t.x)||isNaN(t.y)||isNaN(t.z)?null:new wn(t.x,t.y,t.z)}equalValue(t){return this.x===t.x&&this.y===t.y&&this.z===t.z}roundToPrecision(t){return new wn(bn(this.x,t),bn(this.y,t),bn(this.z,t))}toObject(){return{x:this.x,y:this.y,z:this.z}}}function kn(t){function e(t){return t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4)}return function(t){return.2126*t.r+.7152*t.g+.0722*t.b}(new $n(e(t.r),e(t.g),e(t.b),1))}function Cn(t,e,i){return i-e==0?0:(t-e)/(i-e)}function In(t,e,i){return(Cn(t.r,e.r,i.r)+Cn(t.g,e.g,i.g)+Cn(t.b,e.b,i.b))/3}function Fn(t){const e=Math.max(t.r,t.g,t.b),i=Math.min(t.r,t.g,t.b),o=e-i;let s=0;0!==o&&(s=e===t.r?(t.g-t.b)/o%6*60:e===t.g?60*((t.b-t.r)/o+2):60*((t.r-t.g)/o+4)),s<0&&(s+=360);const n=(e+i)/2;let r=0;return 0!==o&&(r=o/(1-Math.abs(2*n-1))),new yn(s,r,n)}function Dn(t){return function(t){function e(t){return t>xn.epsilon?Math.pow(t,1/3):(xn.kappa*t+16)/116}const i=e(t.x/wn.whitePoint.x),o=e(t.y/wn.whitePoint.y),s=e(t.z/wn.whitePoint.z);return new xn(116*o-16,500*(i-o),200*(o-s))}(function(t){function e(t){return t<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)}const i=e(t.r),o=e(t.g),s=e(t.b);return new wn(.4124564*i+.3575761*o+.1804375*s,.2126729*i+.7151522*o+.072175*s,.0193339*i+.119192*o+.9503041*s)}(t))}function Tn(t,e=1){return function(t,e=1){function i(t){return t<=.0031308?12.92*t:1.055*Math.pow(t,1/2.4)-.055}const o=i(3.2404542*t.x-1.5371385*t.y-.4985314*t.z),s=i(-.969266*t.x+1.8760108*t.y+.041556*t.z),n=i(.0556434*t.x-.2040259*t.y+1.0572252*t.z);return new $n(o,s,n,e)}(function(t){const e=(t.l+16)/116,i=e+t.a/500,o=e-t.b/200,s=Math.pow(i,3),n=Math.pow(e,3),r=Math.pow(o,3);let a=0;a=s>xn.epsilon?s:(116*i-16)/xn.kappa;let l=0;l=t.l>xn.epsilon*xn.kappa?n:t.l/xn.kappa;let c=0;return c=r>xn.epsilon?r:(116*o-16)/xn.kappa,a=wn.whitePoint.x*a,l=wn.whitePoint.y*l,c=wn.whitePoint.z*c,new wn(a,l,c)}(t),e)}var Sn,On;function En(t,e,i){return isNaN(t)||t<=0?e:t>=1?i:new $n(vn(t,e.r,i.r),vn(t,e.g,i.g),vn(t,e.b,i.b),vn(t,e.a,i.a))}wn.whitePoint=new wn(.95047,1,1.08883),function(t){t[t.Burn=0]="Burn",t[t.Color=1]="Color",t[t.Darken=2]="Darken",t[t.Dodge=3]="Dodge",t[t.Lighten=4]="Lighten",t[t.Multiply=5]="Multiply",t[t.Overlay=6]="Overlay",t[t.Screen=7]="Screen"}(Sn||(Sn={})),function(t){t[t.RGB=0]="RGB",t[t.HSL=1]="HSL",t[t.HSV=2]="HSV",t[t.XYZ=3]="XYZ",t[t.LAB=4]="LAB",t[t.LCH=5]="LCH"}(On||(On={}));const Rn=/^#((?:[0-9a-f]{6}|[0-9a-f]{3}))$/i;function Vn(t){const e=Rn.exec(t);if(null===e)return null;let i=e[1];if(3===i.length){const t=i.charAt(0),e=i.charAt(1),o=i.charAt(2);i=t.concat(t,e,e,o,o)}const o=parseInt(i,16);return isNaN(o)?null:new $n(fn((16711680&o)>>>16,0,255),fn((65280&o)>>>8,0,255),fn(255&o,0,255),1)}function An(t,e){const i=t.relativeLuminance>e.relativeLuminance?t:e,o=t.relativeLuminance>e.relativeLuminance?e:t;return(i.relativeLuminance+.05)/(o.relativeLuminance+.05)}const Ln=Object.freeze({create:(t,e,i)=>new Pn(t,e,i),from:t=>new Pn(t.r,t.g,t.b)});class Pn extends $n{constructor(t,e,i){super(t,e,i,1),this.toColorString=this.toStringHexRGB,this.contrast=An.bind(null,this),this.createCSS=this.toColorString,this.relativeLuminance=kn(this)}static fromObject(t){return new Pn(t.r,t.g,t.b)}}const zn=(-.1+Math.sqrt(.21))/2;function Hn(t){return t.relativeLuminance<=zn}function Mn(t){return Hn(t)?-1:1}const Bn={stepContrast:1.03,stepContrastRamp:.03,preserveSource:!1};const Nn=Object.freeze({create:function(t,e,i){return"number"==typeof t?Nn.from(Ln.create(t,e,i)):Nn.from(t)},from:function(t,e){return function(t){const e={r:0,g:0,b:0,toColorString:()=>"",contrast:()=>0,relativeLuminance:0};for(const i in e)if(typeof e[i]!=typeof t[i])return!1;return!0}(t)?jn.from(t,e):jn.from(Ln.create(t.r,t.g,t.b),e)}});class jn{constructor(t,e){this.closestIndexCache=new Map,this.source=t,this.swatches=e,this.reversedSwatches=Object.freeze([...this.swatches].reverse()),this.lastIndex=this.swatches.length-1}colorContrast(t,e,i,o){void 0===i&&(i=this.closestIndexOf(t));let s=this.swatches;const n=this.lastIndex;let r=i;void 0===o&&(o=Mn(t));return-1===o&&(s=this.reversedSwatches,r=n-r),function t(e,i,o=0,s=e.length-1){if(s===o)return e[o];const n=Math.floor((s-o)/2)+o;return i(e[n])?t(e,i,o,n):t(e,i,n+1,s)}(s,i=>An(t,i)>=e,r,n)}get(t){return this.swatches[t]||this.swatches[gn(t,0,this.lastIndex)]}closestIndexOf(t){if(this.closestIndexCache.has(t.relativeLuminance))return this.closestIndexCache.get(t.relativeLuminance);let e=this.swatches.indexOf(t);if(-1!==e)return this.closestIndexCache.set(t.relativeLuminance,e),e;const i=this.swatches.reduce((e,i)=>Math.abs(i.relativeLuminance-t.relativeLuminance) .5?(e-.5)/.5:2*e}static createHighResolutionPalette(t){const e=[],i=Dn($n.fromObject(t).roundToPrecision(4)),o=Tn(new xn(0,i.a,i.b)).clamp().roundToPrecision(4),s=Tn(new xn(50,i.a,i.b)).clamp().roundToPrecision(4),n=Tn(new xn(100,i.a,i.b)).clamp().roundToPrecision(4),r=new $n(0,0,0),a=new $n(1,1,1),l=n.equalValue(a)?0:14,c=o.equalValue(r)?0:14;for(let t=100+l;t>=0-c;t-=.5){let i;if(t<0){i=En(t/c+1,r,o)}else if(t<=50)i=En(jn.ramp(t),o,s);else if(t<=100)i=En(jn.ramp(t),s,n);else{i=En((t-100)/l,n,a)}i=jn.saturationBump(s,i).roundToPrecision(4),e.push(Ln.from(i))}return new jn(t,e)}static adjustEnd(t,e,i,o){const s=-1===o?e.swatches:e.reversedSwatches,n=t=>{const i=e.closestIndexOf(t);return 1===o?e.lastIndex-i:i};1===o&&i.reverse();const r=t(i[i.length-2]);if(bn(An(i[i.length-1],i[i.length-2]),2) bn(e.stepContrast+e.stepContrast*(1-t.relativeLuminance)*e.stepContrastRamp,2),s=[];let n=e.preserveSource?t:i.swatches[0];s.push(n);do{const t=o(n);n=i.colorContrast(n,t,void 0,1),s.push(n)}while(n.relativeLuminance>0);if(e.preserveSource){n=t;do{const t=o(n);n=i.colorContrast(n,t,void 0,-1),s.unshift(n)}while(n.relativeLuminance<1)}return this.adjustEnd(o,i,s,-1),e.preserveSource&&this.adjustEnd(o,i,s,1),s}static from(t,e){const i=void 0===e?Bn:Object.assign(Object.assign({},Bn),e);return new jn(t,Object.freeze(jn.createColorPaletteByContrast(t,i)))}}const Un=Ln.create(1,1,1),qn=Ln.create(0,0,0),_n=Ln.create(.5,.5,.5),Gn=Vn("#0078D4"),Wn=Ln.create(Gn.r,Gn.g,Gn.b);function Kn(t,e,i,o,s){const n=t=>t.contrast(Un)>=s?Un:qn,r=n(t),a=n(e);return{rest:r,hover:a,active:r.relativeLuminance===a.relativeLuminance?r:n(i),focus:n(o)}}class Xn{constructor(t,e,i,o){this.toColorString=()=>this.cssGradient,this.contrast=An.bind(null,this),this.createCSS=this.toColorString,this.color=new $n(t,e,i),this.cssGradient=o,this.relativeLuminance=kn(this.color),this.r=t,this.g=e,this.b=i}static fromObject(t,e){return new Xn(t.r,t.g,t.b,e)}}const Yn=new $n(0,0,0),Qn=new $n(1,1,1);function Zn(t,e,i,o,s,n,r,a,l=10,c=!1){const h=t.closestIndexOf(e);function d(i){if(c){const o=t.closestIndexOf(e),s=t.get(o),n=i.relativeLuminance =1)return e;if(e.a<=0)return new $n(t.r,t.g,t.b,1);const i=e.a*e.r+(1-e.a)*t.r,o=e.a*e.g+(1-e.a)*t.g,s=e.a*e.b+(1-e.a)*t.b;return new $n(i,o,s,1)}(Vn(e.toColorString()),r);return Ln.from(a)}return i}void 0===a&&(a=Mn(e));const u=h+a*i,p=u+a*(o-i),g=u+a*(s-i),f=u+a*(n-i),m=-1===a?0:100-l,v=-1===a?l:100;function b(e,i){const o=t.get(e);if(i){const i=t.get(e+a*r),s=-1===a?i:o,n=-1===a?o:i,l=`linear-gradient(${d(s).toColorString()} ${m}%, ${d(n).toColorString()} ${v}%)`;return Xn.fromObject(s,l)}return d(o)}return{rest:b(u,!0),hover:b(p,!0),active:b(g,!1),focus:b(f,!0)}}function Jn(t,e,i,o,s,n,r,a){null==a&&(a=Mn(e));const l=t.closestIndexOf(t.colorContrast(e,i));return{rest:t.get(l+a*o),hover:t.get(l+a*s),active:t.get(l+a*n),focus:t.get(l+a*r)}}function tr(t,e,i,o,s,n,r){const a=t.closestIndexOf(e);return null==r&&(r=Mn(e)),{rest:t.get(a+r*i),hover:t.get(a+r*o),active:t.get(a+r*s),focus:t.get(a+r*n)}}function er(t,e,i,o,s,n,r,a,l,c,h,d){return Hn(e)?tr(t,e,a,l,c,h,d):tr(t,e,i,o,s,n,r)}var ir;function or(t,e){return t.closestIndexOf((i=e,Ln.create(i,i,i)));var i}function sr(t,e,i){return t.get(or(t,e)+-1*i)}!function(t){t[t.LightMode=.98]="LightMode",t[t.DarkMode=.15]="DarkMode"}(ir||(ir={}));const{create:nr}=$o;function rr(t){return $o.create({name:t,cssCustomPropertyName:null})}const ar=nr("direction").withDefault(We.ltr),lr=nr("disabled-opacity").withDefault(.3),cr=nr("base-height-multiplier").withDefault(8),hr=nr("base-horizontal-spacing-multiplier").withDefault(3),dr=nr("density").withDefault(0),ur=nr("design-unit").withDefault(4),pr=nr("control-corner-radius").withDefault(4),gr=nr("layer-corner-radius").withDefault(8),fr=nr("stroke-width").withDefault(1),mr=nr("focus-stroke-width").withDefault(2),vr=nr("body-font").withDefault('"Segoe UI Variable", "Segoe UI", sans-serif'),br=nr("font-weight").withDefault(400);function yr(t){return e=>{const i=t.getValueFor(e),o=br.getValueFor(e);if(i.endsWith("px")){const t=Number.parseFloat(i.replace("px",""));if(t<=12)return`"wght" ${o}, "opsz" 8`;if(t>24)return`"wght" ${o}, "opsz" 36`}return`"wght" ${o}, "opsz" 10.5`}}const xr=nr("type-ramp-base-font-size").withDefault("14px"),$r=nr("type-ramp-base-line-height").withDefault("20px"),wr=nr("type-ramp-base-font-variations").withDefault(yr(xr)),kr=nr("type-ramp-minus-1-font-size").withDefault("12px"),Cr=nr("type-ramp-minus-1-line-height").withDefault("16px"),Ir=nr("type-ramp-minus-1-font-variations").withDefault(yr(kr)),Fr=nr("type-ramp-minus-2-font-size").withDefault("10px"),Dr=nr("type-ramp-minus-2-line-height").withDefault("14px"),Tr=nr("type-ramp-minus-2-font-variations").withDefault(yr(Fr)),Sr=nr("type-ramp-plus-1-font-size").withDefault("16px"),Or=nr("type-ramp-plus-1-line-height").withDefault("22px"),Er=nr("type-ramp-plus-1-font-variations").withDefault(yr(Sr)),Rr=nr("type-ramp-plus-2-font-size").withDefault("20px"),Vr=nr("type-ramp-plus-2-line-height").withDefault("26px"),Ar=nr("type-ramp-plus-2-font-variations").withDefault(yr(Rr)),Lr=nr("type-ramp-plus-3-font-size").withDefault("24px"),Pr=nr("type-ramp-plus-3-line-height").withDefault("32px"),zr=nr("type-ramp-plus-3-font-variations").withDefault(yr(Lr)),Hr=nr("type-ramp-plus-4-font-size").withDefault("28px"),Mr=nr("type-ramp-plus-4-line-height").withDefault("36px"),Br=nr("type-ramp-plus-4-font-variations").withDefault(yr(Hr)),Nr=nr("type-ramp-plus-5-font-size").withDefault("32px"),jr=nr("type-ramp-plus-5-line-height").withDefault("40px"),Ur=nr("type-ramp-plus-5-font-variations").withDefault(yr(Nr)),qr=nr("type-ramp-plus-6-font-size").withDefault("40px"),_r=nr("type-ramp-plus-6-line-height").withDefault("52px"),Gr=nr("type-ramp-plus-6-font-variations").withDefault(yr(qr)),Wr=nr("base-layer-luminance").withDefault(ir.LightMode),Kr=rr("accent-fill-rest-delta").withDefault(0),Xr=rr("accent-fill-hover-delta").withDefault(-2),Yr=rr("accent-fill-active-delta").withDefault(-5),Qr=rr("accent-fill-focus-delta").withDefault(0),Zr=rr("accent-foreground-rest-delta").withDefault(0),Jr=rr("accent-foreground-hover-delta").withDefault(3),ta=rr("accent-foreground-active-delta").withDefault(-8),ea=rr("accent-foreground-focus-delta").withDefault(0),ia=rr("neutral-fill-rest-delta").withDefault(-1),oa=rr("neutral-fill-hover-delta").withDefault(1),sa=rr("neutral-fill-active-delta").withDefault(0),na=rr("neutral-fill-focus-delta").withDefault(0),ra=rr("neutral-fill-input-rest-delta").withDefault(-1),aa=rr("neutral-fill-input-hover-delta").withDefault(1),la=rr("neutral-fill-input-active-delta").withDefault(0),ca=rr("neutral-fill-input-focus-delta").withDefault(-2),ha=rr("neutral-fill-input-alt-rest-delta").withDefault(2),da=rr("neutral-fill-input-alt-hover-delta").withDefault(4),ua=rr("neutral-fill-input-alt-active-delta").withDefault(6),pa=rr("neutral-fill-input-alt-focus-delta").withDefault(2),ga=rr("neutral-fill-layer-rest-delta").withDefault(-2),fa=rr("neutral-fill-layer-hover-delta").withDefault(-3),ma=rr("neutral-fill-layer-active-delta").withDefault(-3),va=rr("neutral-fill-layer-alt-rest-delta").withDefault(-1),ba=rr("neutral-fill-secondary-rest-delta").withDefault(3),ya=rr("neutral-fill-secondary-hover-delta").withDefault(2),xa=rr("neutral-fill-secondary-active-delta").withDefault(1),$a=rr("neutral-fill-secondary-focus-delta").withDefault(3),wa=rr("neutral-fill-stealth-rest-delta").withDefault(0),ka=rr("neutral-fill-stealth-hover-delta").withDefault(3),Ca=rr("neutral-fill-stealth-active-delta").withDefault(2),Ia=rr("neutral-fill-stealth-focus-delta").withDefault(0),Fa=rr("neutral-fill-strong-rest-delta").withDefault(0),Da=rr("neutral-fill-strong-hover-delta").withDefault(8),Ta=rr("neutral-fill-strong-active-delta").withDefault(-5),Sa=rr("neutral-fill-strong-focus-delta").withDefault(0),Oa=rr("neutral-stroke-rest-delta").withDefault(8),Ea=rr("neutral-stroke-hover-delta").withDefault(12),Ra=rr("neutral-stroke-active-delta").withDefault(6),Va=rr("neutral-stroke-focus-delta").withDefault(8),Aa=rr("neutral-stroke-control-rest-delta").withDefault(3),La=rr("neutral-stroke-control-hover-delta").withDefault(5),Pa=rr("neutral-stroke-control-active-delta").withDefault(5),za=rr("neutral-stroke-control-focus-delta").withDefault(5),Ha=rr("neutral-stroke-divider-rest-delta").withDefault(4),Ma=rr("neutral-stroke-layer-rest-delta").withDefault(3),Ba=rr("neutral-stroke-layer-hover-delta").withDefault(3),Na=rr("neutral-stroke-layer-active-delta").withDefault(3),ja=rr("neutral-stroke-strong-hover-delta").withDefault(0),Ua=rr("neutral-stroke-strong-active-delta").withDefault(0),qa=rr("neutral-stroke-strong-focus-delta").withDefault(0),_a=nr("neutral-base-color").withDefault(_n),Ga=rr("neutral-palette").withDefault(t=>Nn.from(_a.getValueFor(t))),Wa=nr("accent-base-color").withDefault(Wn),Ka=rr("accent-palette").withDefault(t=>Nn.from(Wa.getValueFor(t))),Xa=rr("neutral-layer-card-container-recipe").withDefault({evaluate:t=>sr(Ga.getValueFor(t),Wr.getValueFor(t),ga.getValueFor(t))}),Ya=nr("neutral-layer-card-container").withDefault(t=>Xa.getValueFor(t).evaluate(t)),Qa=rr("neutral-layer-floating-recipe").withDefault({evaluate:t=>function(t,e,i){return t.get(or(t,e)+i)}(Ga.getValueFor(t),Wr.getValueFor(t),ga.getValueFor(t))}),Za=nr("neutral-layer-floating").withDefault(t=>Qa.getValueFor(t).evaluate(t)),Ja=rr("neutral-layer-1-recipe").withDefault({evaluate:t=>function(t,e){return t.get(or(t,e))}(Ga.getValueFor(t),Wr.getValueFor(t))}),tl=nr("neutral-layer-1").withDefault(t=>Ja.getValueFor(t).evaluate(t)),el=rr("neutral-layer-2-recipe").withDefault({evaluate:t=>sr(Ga.getValueFor(t),Wr.getValueFor(t),ga.getValueFor(t))}),il=nr("neutral-layer-2").withDefault(t=>el.getValueFor(t).evaluate(t)),ol=rr("neutral-layer-3-recipe").withDefault({evaluate:t=>function(t,e,i){return t.get(or(t,e)+-1*i*2)}(Ga.getValueFor(t),Wr.getValueFor(t),ga.getValueFor(t))}),sl=nr("neutral-layer-3").withDefault(t=>ol.getValueFor(t).evaluate(t)),nl=rr("neutral-layer-4-recipe").withDefault({evaluate:t=>function(t,e,i){return t.get(or(t,e)+-1*i*3)}(Ga.getValueFor(t),Wr.getValueFor(t),ga.getValueFor(t))}),rl=nr("neutral-layer-4").withDefault(t=>nl.getValueFor(t).evaluate(t)),al=nr("fill-color").withDefault(t=>tl.getValueFor(t));var ll;!function(t){t[t.normal=4.5]="normal",t[t.large=3]="large"}(ll||(ll={}));const cl=rr("accent-fill-recipe").withDefault({evaluate:(t,e)=>function(t,e,i,o,s,n,r,a,l,c,h,d,u,p){return Hn(e)?Jn(t,e,l,c,h,d,u,p):Jn(t,e,i,o,s,n,r,a)}(Ka.getValueFor(t),e||al.getValueFor(t),5,Kr.getValueFor(t),Xr.getValueFor(t),Yr.getValueFor(t),Qr.getValueFor(t),void 0,8,Kr.getValueFor(t),Xr.getValueFor(t),Yr.getValueFor(t),Qr.getValueFor(t),void 0)}),hl=nr("accent-fill-rest").withDefault(t=>cl.getValueFor(t).evaluate(t).rest),dl=nr("accent-fill-hover").withDefault(t=>cl.getValueFor(t).evaluate(t).hover),ul=nr("accent-fill-active").withDefault(t=>cl.getValueFor(t).evaluate(t).active),pl=nr("accent-fill-focus").withDefault(t=>cl.getValueFor(t).evaluate(t).focus),gl=rr("foreground-on-accent-recipe").withDefault({evaluate:t=>Kn(hl.getValueFor(t),dl.getValueFor(t),ul.getValueFor(t),pl.getValueFor(t),ll.normal)}),fl=nr("foreground-on-accent-rest").withDefault(t=>gl.getValueFor(t).evaluate(t).rest),ml=nr("foreground-on-accent-hover").withDefault(t=>gl.getValueFor(t).evaluate(t).hover),vl=nr("foreground-on-accent-active").withDefault(t=>gl.getValueFor(t).evaluate(t).active),bl=nr("foreground-on-accent-focus").withDefault(t=>gl.getValueFor(t).evaluate(t).focus),yl=rr("accent-foreground-recipe").withDefault({evaluate:(t,e)=>Jn(Ka.getValueFor(t),e||al.getValueFor(t),9.5,Zr.getValueFor(t),Jr.getValueFor(t),ta.getValueFor(t),ea.getValueFor(t))}),xl=nr("accent-foreground-rest").withDefault(t=>yl.getValueFor(t).evaluate(t).rest),$l=nr("accent-foreground-hover").withDefault(t=>yl.getValueFor(t).evaluate(t).hover),wl=nr("accent-foreground-active").withDefault(t=>yl.getValueFor(t).evaluate(t).active),kl=nr("accent-foreground-focus").withDefault(t=>yl.getValueFor(t).evaluate(t).focus),Cl=rr("accent-stroke-control-recipe").withDefault({evaluate:(t,e)=>Zn(Ga.getValueFor(t),e||al.getValueFor(t),-3,-3,-3,-3,10,1,void 0,!0)}),Il=nr("accent-stroke-control-rest").withDefault(t=>Cl.getValueFor(t).evaluate(t,hl.getValueFor(t)).rest),Fl=nr("accent-stroke-control-hover").withDefault(t=>Cl.getValueFor(t).evaluate(t,dl.getValueFor(t)).hover),Dl=nr("accent-stroke-control-active").withDefault(t=>Cl.getValueFor(t).evaluate(t,ul.getValueFor(t)).active),Tl=nr("accent-stroke-control-focus").withDefault(t=>Cl.getValueFor(t).evaluate(t,pl.getValueFor(t)).focus),Sl=rr("neutral-fill-recipe").withDefault({evaluate:(t,e)=>er(Ga.getValueFor(t),e||al.getValueFor(t),ia.getValueFor(t),oa.getValueFor(t),sa.getValueFor(t),na.getValueFor(t),void 0,2,3,1,2,void 0)}),Ol=nr("neutral-fill-rest").withDefault(t=>Sl.getValueFor(t).evaluate(t).rest),El=nr("neutral-fill-hover").withDefault(t=>Sl.getValueFor(t).evaluate(t).hover),Rl=nr("neutral-fill-active").withDefault(t=>Sl.getValueFor(t).evaluate(t).active),Vl=nr("neutral-fill-focus").withDefault(t=>Sl.getValueFor(t).evaluate(t).focus),Al=rr("neutral-fill-input-recipe").withDefault({evaluate:(t,e)=>er(Ga.getValueFor(t),e||al.getValueFor(t),ra.getValueFor(t),aa.getValueFor(t),la.getValueFor(t),ca.getValueFor(t),void 0,2,3,1,0,void 0)}),Ll=nr("neutral-fill-input-rest").withDefault(t=>Al.getValueFor(t).evaluate(t).rest),Pl=nr("neutral-fill-input-hover").withDefault(t=>Al.getValueFor(t).evaluate(t).hover),zl=nr("neutral-fill-input-active").withDefault(t=>Al.getValueFor(t).evaluate(t).active),Hl=nr("neutral-fill-input-focus").withDefault(t=>Al.getValueFor(t).evaluate(t).focus),Ml=rr("neutral-fill-input-alt-recipe").withDefault({evaluate:(t,e)=>er(Ga.getValueFor(t),e||al.getValueFor(t),ha.getValueFor(t),da.getValueFor(t),ua.getValueFor(t),pa.getValueFor(t),1,ha.getValueFor(t),ha.getValueFor(t)-da.getValueFor(t),ha.getValueFor(t)-ua.getValueFor(t),pa.getValueFor(t),1)}),Bl=nr("neutral-fill-input-alt-rest").withDefault(t=>Ml.getValueFor(t).evaluate(t).rest),Nl=nr("neutral-fill-input-alt-hover").withDefault(t=>Ml.getValueFor(t).evaluate(t).hover),jl=nr("neutral-fill-input-alt-active").withDefault(t=>Ml.getValueFor(t).evaluate(t).active),Ul=nr("neutral-fill-input-alt-focus").withDefault(t=>Ml.getValueFor(t).evaluate(t).focus),ql=rr("neutral-fill-layer-recipe").withDefault({evaluate:(t,e)=>tr(Ga.getValueFor(t),e||al.getValueFor(t),ga.getValueFor(t),fa.getValueFor(t),ma.getValueFor(t),ga.getValueFor(t),1)}),_l=nr("neutral-fill-layer-rest").withDefault(t=>ql.getValueFor(t).evaluate(t).rest),Gl=nr("neutral-fill-layer-hover").withDefault(t=>ql.getValueFor(t).evaluate(t).hover),Wl=nr("neutral-fill-layer-active").withDefault(t=>ql.getValueFor(t).evaluate(t).active),Kl=rr("neutral-fill-layer-alt-recipe").withDefault({evaluate:(t,e)=>tr(Ga.getValueFor(t),e||al.getValueFor(t),va.getValueFor(t),va.getValueFor(t),va.getValueFor(t),va.getValueFor(t))}),Xl=nr("neutral-fill-layer-alt-rest").withDefault(t=>Kl.getValueFor(t).evaluate(t).rest),Yl=rr("neutral-fill-secondary-recipe").withDefault({evaluate:(t,e)=>tr(Ga.getValueFor(t),e||al.getValueFor(t),ba.getValueFor(t),ya.getValueFor(t),xa.getValueFor(t),$a.getValueFor(t))}),Ql=nr("neutral-fill-secondary-rest").withDefault(t=>Yl.getValueFor(t).evaluate(t).rest),Zl=nr("neutral-fill-secondary-hover").withDefault(t=>Yl.getValueFor(t).evaluate(t).hover),Jl=nr("neutral-fill-secondary-active").withDefault(t=>Yl.getValueFor(t).evaluate(t).active),tc=nr("neutral-fill-secondary-focus").withDefault(t=>Yl.getValueFor(t).evaluate(t).focus),ec=rr("neutral-fill-stealth-recipe").withDefault({evaluate:(t,e)=>tr(Ga.getValueFor(t),e||al.getValueFor(t),wa.getValueFor(t),ka.getValueFor(t),Ca.getValueFor(t),Ia.getValueFor(t))}),ic=nr("neutral-fill-stealth-rest").withDefault(t=>ec.getValueFor(t).evaluate(t).rest),oc=nr("neutral-fill-stealth-hover").withDefault(t=>ec.getValueFor(t).evaluate(t).hover),sc=nr("neutral-fill-stealth-active").withDefault(t=>ec.getValueFor(t).evaluate(t).active),nc=nr("neutral-fill-stealth-focus").withDefault(t=>ec.getValueFor(t).evaluate(t).focus),rc=rr("neutral-fill-strong-recipe").withDefault({evaluate:(t,e)=>Jn(Ga.getValueFor(t),e||al.getValueFor(t),4.5,Fa.getValueFor(t),Da.getValueFor(t),Ta.getValueFor(t),Sa.getValueFor(t))}),ac=nr("neutral-fill-strong-rest").withDefault(t=>rc.getValueFor(t).evaluate(t).rest),lc=nr("neutral-fill-strong-hover").withDefault(t=>rc.getValueFor(t).evaluate(t).hover),cc=nr("neutral-fill-strong-active").withDefault(t=>rc.getValueFor(t).evaluate(t).active),hc=nr("neutral-fill-strong-focus").withDefault(t=>rc.getValueFor(t).evaluate(t).focus),dc=rr("neutral-foreground-recipe").withDefault({evaluate:(t,e)=>Jn(Ga.getValueFor(t),e||al.getValueFor(t),16,0,-19,-30,0)}),uc=nr("neutral-foreground-rest").withDefault(t=>dc.getValueFor(t).evaluate(t).rest),pc=nr("neutral-foreground-hover").withDefault(t=>dc.getValueFor(t).evaluate(t).hover),gc=nr("neutral-foreground-active").withDefault(t=>dc.getValueFor(t).evaluate(t).active),fc=nr("neutral-foreground-focus").withDefault(t=>dc.getValueFor(t).evaluate(t).focus),mc=rr("neutral-foreground-hint-recipe").withDefault({evaluate:(t,e)=>function(t,e,i){return t.colorContrast(e,i)}(Ga.getValueFor(t),e||al.getValueFor(t),4.5)}),vc=nr("neutral-foreground-hint").withDefault(t=>mc.getValueFor(t).evaluate(t)),bc=rr("neutral-stroke-recipe").withDefault({evaluate:(t,e)=>tr(Ga.getValueFor(t),e||al.getValueFor(t),Oa.getValueFor(t),Ea.getValueFor(t),Ra.getValueFor(t),Va.getValueFor(t))}),yc=nr("neutral-stroke-rest").withDefault(t=>bc.getValueFor(t).evaluate(t).rest),xc=nr("neutral-stroke-hover").withDefault(t=>bc.getValueFor(t).evaluate(t).hover),$c=nr("neutral-stroke-active").withDefault(t=>bc.getValueFor(t).evaluate(t).active),wc=nr("neutral-stroke-focus").withDefault(t=>bc.getValueFor(t).evaluate(t).focus),kc=rr("neutral-stroke-control-recipe").withDefault({evaluate:(t,e)=>Zn(Ga.getValueFor(t),e||al.getValueFor(t),Aa.getValueFor(t),La.getValueFor(t),Pa.getValueFor(t),za.getValueFor(t),5)}),Cc=nr("neutral-stroke-control-rest").withDefault(t=>kc.getValueFor(t).evaluate(t).rest),Ic=nr("neutral-stroke-control-hover").withDefault(t=>kc.getValueFor(t).evaluate(t).hover),Fc=nr("neutral-stroke-control-active").withDefault(t=>kc.getValueFor(t).evaluate(t).active),Dc=nr("neutral-stroke-control-focus").withDefault(t=>kc.getValueFor(t).evaluate(t).focus),Tc=rr("neutral-stroke-divider-recipe").withDefault({evaluate:(t,e)=>function(t,e,i){return t.get(t.closestIndexOf(e)+Mn(e)*i)}(Ga.getValueFor(t),e||al.getValueFor(t),Ha.getValueFor(t))}),Sc=nr("neutral-stroke-divider-rest").withDefault(t=>Tc.getValueFor(t).evaluate(t)),Oc=rr("neutral-stroke-input-recipe").withDefault({evaluate:(t,e)=>function(t,e,i,o,s,n,r,a){const l=t.closestIndexOf(e),c=Mn(e),h=l+c*i,d=h+c*(o-i),u=h+c*(s-i),p=h+c*(n-i),g=`calc(100% - ${a})`;function f(e,i){const o=t.get(e);if(i){const i=t.get(e+c*r),s=`linear-gradient(${o.toColorString()} ${g}, ${i.toColorString()} ${g}, ${i.toColorString()})`;return Xn.fromObject(o,s)}return o}return{rest:f(h,!0),hover:f(d,!0),active:f(u,!1),focus:f(p,!0)}}(Ga.getValueFor(t),e||al.getValueFor(t),Aa.getValueFor(t),La.getValueFor(t),Pa.getValueFor(t),za.getValueFor(t),20,fr.getValueFor(t)+"px")}),Ec=nr("neutral-stroke-input-rest").withDefault(t=>Oc.getValueFor(t).evaluate(t).rest),Rc=nr("neutral-stroke-input-hover").withDefault(t=>Oc.getValueFor(t).evaluate(t).hover),Vc=nr("neutral-stroke-input-active").withDefault(t=>Oc.getValueFor(t).evaluate(t).active),Ac=nr("neutral-stroke-input-focus").withDefault(t=>Oc.getValueFor(t).evaluate(t).focus),Lc=rr("neutral-stroke-layer-recipe").withDefault({evaluate:(t,e)=>tr(Ga.getValueFor(t),e||al.getValueFor(t),Ma.getValueFor(t),Ba.getValueFor(t),Na.getValueFor(t),Ma.getValueFor(t))}),Pc=nr("neutral-stroke-layer-rest").withDefault(t=>Lc.getValueFor(t).evaluate(t).rest),zc=nr("neutral-stroke-layer-hover").withDefault(t=>Lc.getValueFor(t).evaluate(t).hover),Hc=nr("neutral-stroke-layer-active").withDefault(t=>Lc.getValueFor(t).evaluate(t).active),Mc=rr("neutral-stroke-strong-recipe").withDefault({evaluate:(t,e)=>Jn(Ga.getValueFor(t),e||al.getValueFor(t),5.5,0,ja.getValueFor(t),Ua.getValueFor(t),qa.getValueFor(t))}),Bc=nr("neutral-stroke-strong-rest").withDefault(t=>Mc.getValueFor(t).evaluate(t).rest),Nc=nr("neutral-stroke-strong-hover").withDefault(t=>Mc.getValueFor(t).evaluate(t).hover),jc=nr("neutral-stroke-strong-active").withDefault(t=>Mc.getValueFor(t).evaluate(t).active),Uc=nr("neutral-stroke-strong-focus").withDefault(t=>Mc.getValueFor(t).evaluate(t).focus),qc=rr("focus-stroke-outer-recipe").withDefault({evaluate:t=>(Ga.getValueFor(t),Hn(al.getValueFor(t))?Un:qn)}),_c=nr("focus-stroke-outer").withDefault(t=>qc.getValueFor(t).evaluate(t)),Gc=rr("focus-stroke-inner-recipe").withDefault({evaluate:t=>{return Ka.getValueFor(t),e=al.getValueFor(t),_c.getValueFor(t),Hn(e)?qn:Un;var e}}),Wc=nr("focus-stroke-inner").withDefault(t=>Gc.getValueFor(t).evaluate(t)),Kc=rr("foreground-on-accent-large-recipe").withDefault({evaluate:t=>Kn(hl.getValueFor(t),dl.getValueFor(t),ul.getValueFor(t),pl.getValueFor(t),ll.large)}),Xc=nr("foreground-on-accent-rest-large").withDefault(t=>Kc.getValueFor(t).evaluate(t).rest),Yc=nr("foreground-on-accent-hover-large").withDefault(t=>Kc.getValueFor(t).evaluate(t,dl.getValueFor(t)).hover),Qc=nr("foreground-on-accent-active-large").withDefault(t=>Kc.getValueFor(t).evaluate(t,ul.getValueFor(t)).active),Zc=nr("foreground-on-accent-focus-large").withDefault(t=>Kc.getValueFor(t).evaluate(t,pl.getValueFor(t)).focus),Jc=nr("neutral-fill-inverse-rest-delta").withDefault(0),th=nr("neutral-fill-inverse-hover-delta").withDefault(-3),eh=nr("neutral-fill-inverse-active-delta").withDefault(7),ih=nr("neutral-fill-inverse-focus-delta").withDefault(0);const oh=rr("neutral-fill-inverse-recipe").withDefault({evaluate:(t,e)=>function(t,e,i,o,s,n){const r=Mn(e),a=t.closestIndexOf(t.colorContrast(e,14)),l=a+r*Math.abs(i-o);let c,h;return(1===r?i r*o)?(c=a,h=l):(c=l,h=a),{rest:t.get(c),hover:t.get(h),active:t.get(c+r*s),focus:t.get(c+r*n)}}(Ga.getValueFor(t),e||al.getValueFor(t),Jc.getValueFor(t),th.getValueFor(t),eh.getValueFor(t),ih.getValueFor(t))}),sh=nr("neutral-fill-inverse-rest").withDefault(t=>oh.getValueFor(t).evaluate(t).rest),nh=nr("neutral-fill-inverse-hover").withDefault(t=>oh.getValueFor(t).evaluate(t).hover),rh=nr("neutral-fill-inverse-active").withDefault(t=>oh.getValueFor(t).evaluate(t).active),ah=nr("neutral-fill-inverse-focus").withDefault(t=>oh.getValueFor(t).evaluate(t).focus),lh=pr,ch=gr,hh=fr,dh=mr,uh=Jc,ph=th,gh=eh,fh=ih,mh=ga,vh=Fa,bh=Da,yh=Ta,xh=Sa,$h=Ha,wh=tl,kh=il,Ch=sl,Ih=rl,Fh=fl,Dh=Xc,Th=Sc,Sh=_l,Oh=sh,Eh=nh,Rh=rh,Vh=ah,Ah=ac,Lh=lc,Ph=cc,zh=hc,Hh=_c,Mh=Wc,Bh=yc,Nh=xc,jh=$c,Uh=wc,qh=$t` font-family: ${vr}; font-size: ${xr}; line-height: ${$r}; font-weight: initial; font-variation-settings: ${wr}; `,_h=$t` font-family: ${vr}; font-size: ${kr}; line-height: ${Cr}; font-weight: initial; font-variation-settings: ${Ir}; `,Gh=$t` font-family: ${vr}; font-size: ${Fr}; line-height: ${Dr}; font-weight: initial; font-variation-settings: ${Tr}; `,Wh=$t` font-family: ${vr}; font-size: ${Sr}; line-height: ${Or}; font-weight: initial; font-variation-settings: ${Er}; `,Kh=$t` font-family: ${vr}; font-size: ${Rr}; line-height: ${Vr}; font-weight: initial; font-variation-settings: ${Ar}; `,Xh=$t` font-family: ${vr}; font-size: ${Lr}; line-height: ${Pr}; font-weight: initial; font-variation-settings: ${zr}; `,Yh=$t` font-family: ${vr}; font-size: ${Hr}; line-height: ${Mr}; font-weight: initial; font-variation-settings: ${Br}; `,Qh=$t` font-family: ${vr}; font-size: ${Nr}; line-height: ${jr}; font-weight: initial; font-variation-settings: ${Ur}; `,Zh=$t` font-family: ${vr}; font-size: ${qr}; line-height: ${_r}; font-weight: initial; font-variation-settings: ${Gr}; `,Jh=(t,e)=>yt` ${un("flex")} :host{box-sizing:border-box;flex-direction:column;${qh} color:${uc};gap:calc(${ur} * 1px)}`,td=$t` outline: calc(${mr} * 1px) solid ${_c}; outline-offset: calc(${mr} * -1px); `,ed=$t` outline: calc(${mr} * 1px) solid ${_c}; outline-offset: calc(${fr} * 1px); `,id=$t`(${cr} + ${dr}) * ${ur}`,od=$o.create("neutral-fill-stealth-rest-on-neutral-fill-layer-rest").withDefault(t=>{const e=ql.getValueFor(t);return ec.getValueFor(t).evaluate(t,e.evaluate(t).rest).rest}),sd=$o.create("neutral-fill-stealth-hover-on-neutral-fill-layer-rest").withDefault(t=>{const e=ql.getValueFor(t);return ec.getValueFor(t).evaluate(t,e.evaluate(t).rest).hover}),nd=$o.create("neutral-fill-stealth-active-on-neutral-fill-layer-rest").withDefault(t=>{const e=ql.getValueFor(t);return ec.getValueFor(t).evaluate(t,e.evaluate(t).rest).active}),rd=(t,e)=>yt` ${un("flex")} :host{box-sizing:border-box;${qh};flex-direction:column;background:${_l};color:${uc};border:calc(${fr} * 1px) solid ${Pc};border-radius:calc(${gr} * 1px)}.region{display:none;padding:calc(${ur} * 2 * 1px);background:${Xl}}.heading{display:grid;position:relative;grid-template-columns:auto 1fr auto auto;align-items:center}.button{appearance:none;border:none;background:none;grid-column:2;grid-row:1;outline:none;margin:calc(${ur} * 3 * 1px) 0;padding:0 calc(${ur} * 2 * 1px);text-align:left;color:inherit;cursor:pointer;font:inherit}.button::before{content:'';position:absolute;top:calc(${fr} * -1px);left:calc(${fr} * -1px);right:calc(${fr} * -1px);bottom:calc(${fr} * -1px);cursor:pointer}.button:${pn}::before{${td} border-radius:calc(${gr} * 1px)}:host(.expanded) .button:${pn}::before{border-bottom-left-radius:0;border-bottom-right-radius:0}:host(.expanded) .region{display:block;border-top:calc(${fr} * 1px) solid ${Pc};border-bottom-left-radius:calc((${gr} - ${fr}) * 1px);border-bottom-right-radius:calc((${gr} - ${fr}) * 1px)}.icon{display:flex;align-items:center;justify-content:center;grid-column:4;pointer-events:none;background:${od};border-radius:calc(${pr} * 1px);fill:currentcolor;width:calc(${id} * 1px);height:calc(${id} * 1px);margin:calc(${ur} * 2 * 1px)}.heading:hover .icon{background:${sd}}.heading:active .icon{background:${nd}}slot[name='collapsed-icon']{display:flex}:host(.expanded) slot[name='collapsed-icon']{display:none}slot[name='expanded-icon']{display:none}:host(.expanded) slot[name='expanded-icon']{display:flex}.start{display:flex;align-items:center;padding-inline-start:calc(${ur} * 2 * 1px);justify-content:center;grid-column:1}.end{display:flex;align-items:center;justify-content:center;grid-column:3}.icon,.start,.end{position:relative}`.withBehaviors(hn(yt` .button:${pn}::before{outline-color:${Ze.Highlight}}.icon{fill:${Ze.ButtonText}}`)),ad=Be.compose({baseName:"accordion-item",template:(t,e)=>_`

${Yt(0,e)} ${Xt(0,e)} ${e.expandedIcon||""} ${e.collapsedIcon||""}

`,styles:rd,collapsedIcon:'\n \n \n \n ',expandedIcon:'\n \n \n \n '}),ld=rd,cd=ei.compose({baseName:"accordion",template:(t,e)=>_` `,styles:Jh}),hd=Jh;function dd(t,e,i,o){var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(s=t[a])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r}class ud{constructor(t,e){this.cache=new WeakMap,this.ltr=t,this.rtl=e}bind(t){this.attach(t)}unbind(t){const e=this.cache.get(t);e&&ar.unsubscribe(e)}attach(t){const e=this.cache.get(t)||new pd(this.ltr,this.rtl,t),i=ar.getValueFor(t);ar.subscribe(e),e.attach(i),this.cache.set(t,e)}}class pd{constructor(t,e,i){this.ltr=t,this.rtl=e,this.source=i,this.attached=null}handleChange({target:t,token:e}){this.attach(e.getValueFor(this.source))}attach(t){this.attached!==this[t]&&(null!==this.attached&&this.source.$fastController.removeStyles(this.attached),this.attached=this[t],null!==this.attached&&this.source.$fastController.addStyles(this.attached))}}const gd="0 0 2px rgba(0, 0, 0, 0.14)",fd="0 calc(var(--elevation) * 0.5px) calc((var(--elevation) * 1px)) rgba(0, 0, 0, 0.2)",md=`box-shadow: 0 0 2px rgba(0, 0, 0, 0.14), ${fd};`,vd=$o.create({name:"elevation-shadow",cssCustomPropertyName:null}).withDefault({evaluate:(t,e,i)=>{let o=.12,s=.14;e>16&&(o=.2,s=.24);return`${`0 0 2px rgba(0, 0, 0, ${o})`}, ${`0 calc(${e} * 0.5px) calc((${e} * 1px)) rgba(0, 0, 0, ${s})`}`}}),bd=$o.create("elevation-shadow-card-rest-size").withDefault(4),yd=$o.create("elevation-shadow-card-hover-size").withDefault(8),xd=$o.create("elevation-shadow-card-active-size").withDefault(0),$d=$o.create("elevation-shadow-card-focus-size").withDefault(8),wd=$o.create("elevation-shadow-card-rest").withDefault(t=>vd.getValueFor(t).evaluate(t,bd.getValueFor(t))),kd=$o.create("elevation-shadow-card-hover").withDefault(t=>vd.getValueFor(t).evaluate(t,yd.getValueFor(t))),Cd=$o.create("elevation-shadow-card-active").withDefault(t=>vd.getValueFor(t).evaluate(t,xd.getValueFor(t))),Id=$o.create("elevation-shadow-card-focus").withDefault(t=>vd.getValueFor(t).evaluate(t,$d.getValueFor(t))),Fd=$o.create("elevation-shadow-tooltip-size").withDefault(16),Dd=$o.create("elevation-shadow-tooltip").withDefault(t=>vd.getValueFor(t).evaluate(t,Fd.getValueFor(t))),Td=$o.create("elevation-shadow-flyout-size").withDefault(32),Sd=$o.create("elevation-shadow-flyout").withDefault(t=>vd.getValueFor(t).evaluate(t,Td.getValueFor(t))),Od=$o.create("elevation-shadow-dialog-size").withDefault(128),Ed=$o.create("elevation-shadow-dialog").withDefault(t=>vd.getValueFor(t).evaluate(t,Od.getValueFor(t))),Rd=(t,e,i,o="[disabled]")=>yt` ${un("inline-flex")} :host{position:relative;box-sizing:border-box;${qh} height:calc(${id} * 1px);min-width:calc(${id} * 1px);color:${uc};border-radius:calc(${pr} * 1px);fill:currentcolor}.control{border:calc(${fr} * 1px) solid transparent;flex-grow:1;box-sizing:border-box;display:inline-flex;justify-content:center;align-items:center;padding:0 calc((10 + (${ur} * 2 * ${dr})) * 1px);white-space:nowrap;outline:none;text-decoration:none;color:inherit;border-radius:inherit;fill:inherit;font-family:inherit}.control,.end,.start{font:inherit}.control.icon-only{padding:0;line-height:0}.control:${pn}{${td}}.control::-moz-focus-inner{border:0}.content{pointer-events:none}.start,.end{display:flex;pointer-events:none}.start{margin-inline-end:11px}.end{margin-inline-start:11px}`,Vd=(t,e,i,o="[disabled]")=>yt` .control{background:padding-box linear-gradient(${Ol},${Ol}),border-box ${Cc}}:host(${i}:hover) .control{background:padding-box linear-gradient(${El},${El}),border-box ${Ic}}:host(${i}:active) .control{background:padding-box linear-gradient(${Rl},${Rl}),border-box ${Fc}}:host(${o}) .control{background:padding-box linear-gradient(${Ol},${Ol}),border-box ${yc}}`.withBehaviors(hn(yt` .control{background:${Ze.ButtonFace};border-color:${Ze.ButtonText};color:${Ze.ButtonText}}:host(${i}:hover) .control,:host(${i}:active) .control{forced-color-adjust:none;background:${Ze.HighlightText};border-color:${Ze.Highlight};color:${Ze.Highlight}}:host(${o}) .control{background:transparent;border-color:${Ze.GrayText};color:${Ze.GrayText}}.control:${pn}{outline-color:${Ze.CanvasText}}:host([href]) .control{background:transparent;border-color:${Ze.LinkText};color:${Ze.LinkText}}:host([href]:hover) .control,:host([href]:active) .control{background:transparent;border-color:${Ze.CanvasText};color:${Ze.CanvasText}}`)),Ad=(t,e,i,o="[disabled]")=>yt` .control{background:padding-box linear-gradient(${hl},${hl}),border-box ${Il};color:${fl}}:host(${i}:hover) .control{background:padding-box linear-gradient(${dl},${dl}),border-box ${Fl};color:${ml}}:host(${i}:active) .control{background:padding-box linear-gradient(${ul},${ul}),border-box ${Dl};color:${vl}}:host(${o}) .control{background:${hl}}.control:${pn}{box-shadow:0 0 0 calc(${mr} * 1px) ${Wc} inset !important}`.withBehaviors(hn(yt` .control{forced-color-adjust:none;background:${Ze.Highlight};color:${Ze.HighlightText}}:host(${i}:hover) .control,:host(${i}:active) .control{background:${Ze.HighlightText};border-color:${Ze.Highlight};color:${Ze.Highlight}}:host(${o}) .control{background:transparent;border-color:${Ze.GrayText};color:${Ze.GrayText}}.control:${pn}{outline-color:${Ze.CanvasText};box-shadow:0 0 0 calc(${mr} * 1px) ${Ze.HighlightText} inset !important}:host([href]) .control{background:${Ze.LinkText};color:${Ze.HighlightText}}:host([href]:hover) .control,:host([href]:active) .control{background:${Ze.ButtonFace};border-color:${Ze.LinkText};color:${Ze.LinkText}}`)),Ld=(t,e,i,o="[disabled]")=>yt` :host{height:auto;font-family:inherit;font-size:inherit;line-height:inherit;min-width:0}.control{display:inline;padding:0;border:none;box-shadow:none;line-height:1}:host(${i}) .control{color:${xl};text-decoration:underline 1px}:host(${i}:hover) .control{color:${$l};text-decoration:none}:host(${i}:active) .control{color:${wl};text-decoration:none}.control:${pn}{${ed}}`.withBehaviors(hn(yt` :host(${i}) .control{color:${Ze.LinkText}}:host(${i}:hover) .control,:host(${i}:active) .control{color:${Ze.CanvasText}}.control:${pn}{outline-color:${Ze.CanvasText}}`)),Pd=(t,e,i,o="[disabled]")=>yt` :host{color:${xl}}.control{background:${ic}}:host(${i}:hover) .control{background:${oc};color:${$l}}:host(${i}:active) .control{background:${sc};color:${wl}}:host(${o}) .control{background:${ic}}`.withBehaviors(hn(yt` :host{color:${Ze.ButtonText}}.control{forced-color-adjust:none;background:transparent}:host(${i}:hover) .control,:host(${i}:active) .control{background:transparent;border-color:${Ze.ButtonText};color:${Ze.ButtonText}}:host(${o}) .control{background:transparent;color:${Ze.GrayText}}.control:${pn}{outline-color:${Ze.CanvasText}}:host([href]) .control{color:${Ze.LinkText}}:host([href]:hover) .control,:host([href]:active) .control{border-color:${Ze.LinkText};color:${Ze.LinkText}}`)),zd=(t,e,i,o="[disabled]")=>yt` .control{background:transparent !important;border-color:${yc}}:host(${i}:hover) .control{border-color:${xc}}:host(${i}:active) .control{border-color:${$c}}:host(${o}) .control{background:transparent !important;border-color:${yc}}`.withBehaviors(hn(yt` .control{border-color:${Ze.ButtonText};color:${Ze.ButtonText}}:host(${i}:hover) .control,:host(${i}:active) .control{background:${Ze.HighlightText};border-color:${Ze.Highlight};color:${Ze.Highlight}}:host(${o}) .control{border-color:${Ze.GrayText};color:${Ze.GrayText}}.control:${pn}{outline-color:${Ze.CanvasText}}:host([href]) .control{border-color:${Ze.LinkText};color:${Ze.LinkText}}:host([href]:hover) .control,:host([href]:active) .control{border-color:${Ze.CanvasText};color:${Ze.CanvasText}}`)),Hd=(t,e,i,o="[disabled]")=>yt` .control{background:${ic}}:host(${i}:hover) .control{background:${oc}}:host(${i}:active) .control{background:${sc}}:host(${o}) .control{background:${ic}}`.withBehaviors(hn(yt` .control{forced-color-adjust:none;background:transparent;color:${Ze.ButtonText}}:host(${i}:hover) .control,:host(${i}:active) .control{background:transparent;border-color:${Ze.ButtonText};color:${Ze.ButtonText}}:host(${o}) .control{background:transparent;color:${Ze.GrayText}}.control:${pn}{outline-color:${Ze.CanvasText}}:host([href]) .control{color:${Ze.LinkText}}:host([href]:hover) .control,:host([href]:active) .control{background:transparent;border-color:${Ze.LinkText};color:${Ze.LinkText}}`)),Md=$o.create("input-placeholder-rest").withDefault(t=>{const e=Al.getValueFor(t);return mc.getValueFor(t).evaluate(t,e.evaluate(t).rest)}),Bd=$o.create("input-placeholder-hover").withDefault(t=>{const e=Al.getValueFor(t);return mc.getValueFor(t).evaluate(t,e.evaluate(t).hover)}),Nd=$o.create("input-filled-placeholder-rest").withDefault(t=>{const e=Yl.getValueFor(t);return mc.getValueFor(t).evaluate(t,e.evaluate(t).rest)}),jd=$o.create("input-filled-placeholder-hover").withDefault(t=>{const e=Yl.getValueFor(t);return mc.getValueFor(t).evaluate(t,e.evaluate(t).hover)}),Ud=(t,e,i)=>yt` :host{${qh} color:${uc};fill:currentcolor;user-select:none;position:relative}${i}{box-sizing:border-box;position:relative;color:inherit;border:calc(${fr} * 1px) solid transparent;border-radius:calc(${pr} * 1px);height:calc(${id} * 1px);font-family:inherit;font-size:inherit;line-height:inherit}.control{width:100%;outline:none}.label{display:block;color:${uc};cursor:pointer;${qh} margin-bottom:4px}.label__hidden{display:none;visibility:hidden}:host([disabled]) ${i},:host([readonly]) ${i},:host([disabled]) .label,:host([readonly]) .label,:host([disabled]) .control,:host([readonly]) .control{cursor:${"not-allowed"}}:host([disabled]){opacity:${lr}}`,qd=(t,e,i)=>yt` @media (forced-colors:none){:host(:not([disabled]):active)::after{left:50%;width:40%;transform:translateX(-50%);border-bottom-left-radius:0;border-bottom-right-radius:0}:host(:not([disabled]):focus-within)::after{left:0;width:100%;transform:none}:host(:not([disabled]):active)::after,:host(:not([disabled]):focus-within:not(:active))::after{content:'';position:absolute;height:calc(${mr} * 1px);bottom:0;border-bottom:calc(${mr} * 1px) solid ${hl};border-bottom-left-radius:calc(${pr} * 1px);border-bottom-right-radius:calc(${pr} * 1px);z-index:2;transition:all 300ms cubic-bezier(0.1,0.9,0.2,1)}}`,_d=(t,e,i,o=":not([disabled]):not(:focus-within)")=>yt` ${i}{background:padding-box linear-gradient(${Ll},${Ll}),border-box ${Ec}}:host(${o}:hover) ${i}{background:padding-box linear-gradient(${Pl},${Pl}),border-box ${Rc}}:host(:not([disabled]):focus-within) ${i}{background:padding-box linear-gradient(${Hl},${Hl}),border-box ${Ec}}:host([disabled]) ${i}{background:padding-box linear-gradient(${Ll},${Ll}),border-box ${yc}}.control::placeholder{color:${Md}}:host(${o}:hover) .control::placeholder{color:${Bd}}`,Gd=(t,e,i,o=":not([disabled]):not(:focus-within)")=>yt` ${i}{background:${Ql}}:host(${o}:hover) ${i}{background:${Zl}}:host(:not([disabled]):focus-within) ${i}{background:${tc}}:host([disabled]) ${i}{background:${Ql}}.control::placeholder{color:${Nd}}:host(${o}:hover) .control::placeholder{color:${jd}}`,Wd=(t,e,i,o=":not([disabled]):not(:focus-within)")=>yt` :host{color:${Ze.ButtonText}}${i}{background:${Ze.ButtonFace};border-color:${Ze.ButtonText}}:host(${o}:hover) ${i},:host(:not([disabled]):focus-within) ${i}{border-color:${Ze.Highlight}}:host([disabled]) ${i}{opacity:1;background:${Ze.ButtonFace};border-color:${Ze.GrayText}}.control::placeholder,:host(${o}:hover) .control::placeholder{color:${Ze.CanvasText}}:host(:not([disabled]):focus) ${i}{${td} outline-color:${Ze.Highlight}}:host([disabled]){opacity:1;color:${Ze.GrayText}}:host([disabled]) ::placeholder,:host([disabled]) ::-webkit-input-placeholder{color:${Ze.GrayText}}`;function Kd(t,e){return new dn("appearance",t,e)}const Xd=(t,e)=>Rd().withBehaviors(Kd("neutral",Vd(0,0,"[href]")),Kd("accent",Ad(0,0,"[href]")),Kd("hypertext",Ld(0,0,"[href]")),Kd("lightweight",Pd(0,0,"[href]")),Kd("outline",zd(0,0,"[href]")),Kd("stealth",Hd(0,0,"[href]")));class Yd extends si{appearanceChanged(t,e){t!==e&&(this.classList.add(e),this.classList.remove(t))}connectedCallback(){super.connectedCallback(),this.appearance||(this.appearance="neutral")}defaultSlottedContentChanged(){var t,e;const i=this.defaultSlottedContent.filter(t=>t.nodeType===Node.ELEMENT_NODE);1===i.length&&i[0]instanceof SVGElement?null===(t=this.control)||void 0===t||t.classList.add("icon-only"):null===(e=this.control)||void 0===e||e.classList.remove("icon-only")}}dd([rt],Yd.prototype,"appearance",void 0);const Qd=Xd,Zd=Yd.compose({baseName:"anchor",baseClass:si,template:ii,styles:Xd,shadowOptions:{delegatesFocus:!0}}),Jd=(t,e)=>yt` :host{contain:layout;display:block}`,tu=ai.compose({baseName:"anchored-region",template:(t,e)=>_` ${Lt(t=>t.initialLayoutComplete,_``)} `,styles:Jd}),eu=Jd,iu=(t,e)=>yt` ${un("inline-block")} :host{box-sizing:border-box;${_h}}.control{border-radius:calc(${pr} * 1px);padding:calc(((${ur} * 0.5) - ${fr}) * 1px) calc((${ur} - ${fr}) * 1px);border:calc(${fr} * 1px) solid transparent}:host(.lightweight) .control{background:transparent;color:${uc};font-weight:600}:host(.accent) .control{background:${hl};color:${fl}}:host(.neutral) .control{background:${Ql};color:${uc}}:host([circular]) .control{border-radius:100px;min-width:calc(${Cr} - calc(${ur} * 1px));display:flex;align-items:center;justify-content:center}`;class ou extends li{constructor(){super(...arguments),this.appearance="lightweight"}appearanceChanged(t,e){t!==e&&d.queueUpdate(()=>{this.classList.add(e),this.classList.remove(t)})}}dd([rt({mode:"fromView"})],ou.prototype,"appearance",void 0);const su=ou.compose({baseName:"badge",baseClass:li,template:(t,e)=>_` `,styles:iu}),nu=iu,ru=(t,e)=>yt` ${un("inline-block")} :host{box-sizing:border-box;${qh}}.list{display:flex}`,au=hi.compose({baseName:"breadcrumb",template:(t,e)=>_` `,styles:ru}),lu=ru,cu=(t,e)=>yt` ${un("inline-flex")} :host{background:transparent;color:${uc};fill:currentcolor;box-sizing:border-box;${qh};min-width:calc(${id} * 1px);border-radius:calc(${pr} * 1px)}.listitem{display:flex;align-items:center;border-radius:inherit}.control{position:relative;align-items:center;box-sizing:border-box;color:inherit;fill:inherit;cursor:pointer;display:flex;outline:none;text-decoration:none;white-space:nowrap;border-radius:inherit}.control:hover{color:${pc}}.control:active{color:${gc}}.control:${pn}{${ed}}:host(:not([href])),:host([aria-current]) .control{color:${uc};fill:currentcolor;cursor:default}.start{display:flex;margin-inline-end:6px}.end{display:flex;margin-inline-start:6px}.separator{display:flex}`.withBehaviors(hn(yt` :host(:not([href])),.start,.end,.separator{background:${Ze.ButtonFace};color:${Ze.ButtonText};fill:currentcolor}.separator{fill:${Ze.ButtonText}}:host([href]){forced-color-adjust:none;background:${Ze.ButtonFace};color:${Ze.LinkText}}:host([href]) .control:hover{background:${Ze.LinkText};color:${Ze.HighlightText};fill:currentcolor}.control:${pn}{outline-color:${Ze.LinkText}}`)),hu=ci.compose({baseName:"breadcrumb-item",template:(t,e)=>_`

${Lt(t=>t.href&&t.href.length>0,_` ${ii(0,e)} `)} ${Lt(t=>!t.href,_` ${Yt(0,e)}${Xt(0,e)} `)} ${Lt(t=>t.separator,_` ${e.separator||""} `)}

`,styles:cu,shadowOptions:{delegatesFocus:!0},separator:'\n \n \n \n '}),du=cu,uu=(t,e)=>yt` :host(${":not([disabled])"}) .control{cursor:pointer}:host(${"[disabled]"}) .control{cursor:${"not-allowed"}}@media (forced-colors:none){:host(${"[disabled]"}) .control{opacity:${lr}}}${Rd(0,0,0,"[disabled]")} `.withBehaviors(Kd("neutral",Vd(0,0,":not([disabled])","[disabled]")),Kd("accent",Ad(0,0,":not([disabled])","[disabled]")),Kd("lightweight",Pd(0,0,":not([disabled])","[disabled]")),Kd("outline",zd(0,0,":not([disabled])","[disabled]")),Kd("stealth",Hd(0,0,":not([disabled])","[disabled]")));class pu extends vi{appearanceChanged(t,e){t!==e&&(this.classList.add(e),this.classList.remove(t))}connectedCallback(){super.connectedCallback(),this.appearance||(this.appearance="neutral")}defaultSlottedContentChanged(){const t=this.defaultSlottedContent.filter(t=>t.nodeType===Node.ELEMENT_NODE);1===t.length&&t[0]instanceof SVGElement?this.control.classList.add("icon-only"):this.control.classList.remove("icon-only")}}dd([rt],pu.prototype,"appearance",void 0);const gu=pu.compose({baseName:"button",baseClass:vi,template:(t,e)=>_` `,styles:uu,shadowOptions:{delegatesFocus:!0}}),fu=uu,mu=yt` .day.disabled::before{transform:translate(-50%,0) rotate(45deg)}`,vu=yt` .day.disabled::before{transform:translate(50%,0) rotate(-45deg)}`;class bu extends xi{constructor(){super(...arguments),this.readonly=!0}}dd([rt({converter:ot})],bu.prototype,"readonly",void 0);const yu=bu.compose({baseName:"calendar",template:(t,e)=>{var i;const o=new Date,s=`${o.getMonth()+1}-${o.getDate()}-${o.getFullYear()}`;return _` ${Zt} ${e.title instanceof Function?e.title(t,e):null!==(i=e.title)&&void 0!==i?i:""}${Lt(t=>t.readonly,(t=>_`

${Nt(t=>t.getWeekdayText(),_`

${t=>t.text}

`)}

${Nt(t=>t.getDays(),_`

${Nt(t=>t,_`

${(t,e)=>e.parentContext.parent.dateFormatter.getDay(t.day)}

`)}

`)}

`)(s),zi(t,s))} ${Qt} `},styles:(t,e)=>yt` ${un("inline-block")} :host{--calendar-cell-size:calc((${cr} + 2 + ${dr}) * ${ur} * 1px);--calendar-gap:2px;${qh} color:${uc}}.title{padding:calc(${ur} * 2px);font-weight:600}.days{text-align:center}.week-days,.week{display:grid;grid-template-columns:repeat(7,1fr);grid-gap:var(--calendar-gap);border:0;padding:0}.day,.week-day{border:0;width:var(--calendar-cell-size);height:var(--calendar-cell-size);line-height:var(--calendar-cell-size);padding:0;box-sizing:initial}.week-day{font-weight:600}.day{border:calc(${fr} * 1px) solid transparent;border-radius:calc(${pr} * 1px)}.interact .day{cursor:pointer}.date{height:100%}.inactive .date,.inactive.disabled::before{color:${vc}}.disabled::before{content:'';display:inline-block;width:calc(var(--calendar-cell-size) * .8);height:calc(${fr} * 1px);background:currentColor;position:absolute;margin-top:calc(var(--calendar-cell-size) / 2);transform-origin:center;z-index:1}.selected{color:${hl};border:1px solid ${hl};background:${al}}.selected + .selected{border-start-start-radius:0;border-end-start-radius:0;border-inline-start-width:0;padding-inline-start:calc(var(--calendar-gap) + (${fr} + ${pr}) * 1px);margin-inline-start:calc((${pr} * -1px) - var(--calendar-gap))}.today.disabled::before{color:${fl}}.today .date{color:${fl};background:${hl};border-radius:50%;position:relative}`.withBehaviors(hn(yt` .day.selected{color:${Ze.Highlight}}.today .date{background:${Ze.Highlight};color:${Ze.HighlightText}}`),new ud(mu,vu)),title:Li}),xu=(t,e)=>yt` ${un("block")} :host{display:block;contain:content;height:var(--card-height,100%);width:var(--card-width,100%);box-sizing:border-box;background:${al};color:${uc};border:calc(${fr} * 1px) solid ${Pc};border-radius:calc(${gr} * 1px);box-shadow:${wd}}:host{content-visibility:auto}`.withBehaviors(hn(yt` :host{background:${Ze.Canvas};color:${Ze.CanvasText}}`));class $u extends Hi{cardFillColorChanged(t,e){if(e){const t=Vn(e);null!==t&&(this.neutralPaletteSource=e,al.setValueFor(this,Ln.create(t.r,t.g,t.b)))}}neutralPaletteSourceChanged(t,e){if(e){const t=Vn(e),i=Ln.create(t.r,t.g,t.b);Ga.setValueFor(this,Nn.create(i))}}handleChange(t,e){this.cardFillColor||al.setValueFor(this,e=>ql.getValueFor(e).evaluate(e,al.getValueFor(t)).rest)}connectedCallback(){super.connectedCallback();const t=oo(this);if(t){const e=g.getNotifier(t);e.subscribe(this,"fillColor"),e.subscribe(this,"neutralPalette"),this.handleChange(t,"fillColor")}}}dd([rt({attribute:"card-fill-color",mode:"fromView"})],$u.prototype,"cardFillColor",void 0),dd([rt({attribute:"neutral-palette-source",mode:"fromView"})],$u.prototype,"neutralPaletteSource",void 0);const wu=$u.compose({baseName:"card",baseClass:Hi,template:(t,e)=>_` `,styles:xu}),ku=xu,Cu=(t,e)=>yt` ${un("inline-flex")} :host{align-items:center;outline:none;${""} user-select:none}.control{position:relative;width:calc((${id} / 2 + ${ur}) * 1px);height:calc((${id} / 2 + ${ur}) * 1px);box-sizing:border-box;border-radius:calc(${pr} * 1px);border:calc(${fr} * 1px) solid ${Bc};background:${Bl};cursor:pointer}.label__hidden{display:none;visibility:hidden}.label{${qh} color:${uc};${""} padding-inline-start:calc(${ur} * 2px + 2px);margin-inline-end:calc(${ur} * 2px + 2px);cursor:pointer}slot[name='checked-indicator'],slot[name='indeterminate-indicator']{display:flex;align-items:center;justify-content:center;width:100%;height:100%;fill:${uc};opacity:0;pointer-events:none}slot[name='indeterminate-indicator']{position:absolute;top:0}:host(.checked) slot[name='checked-indicator'],:host(.checked) slot[name='indeterminate-indicator']{fill:${fl}}:host(:not(.disabled):hover) .control{background:${Nl};border-color:${Nc}}:host(:not(.disabled):active) .control{background:${jl};border-color:${jc}}:host(:${pn}) .control{background:${Ul};${ed}}:host(.checked) .control{background:${hl};border-color:transparent}:host(.checked:not(.disabled):hover) .control{background:${dl};border-color:transparent}:host(.checked:not(.disabled):active) .control{background:${ul};border-color:transparent}:host(.disabled) .label,:host(.readonly) .label,:host(.readonly) .control,:host(.disabled) .control{cursor:${"not-allowed"}}:host(.checked:not(.indeterminate)) slot[name='checked-indicator'],:host(.indeterminate) slot[name='indeterminate-indicator']{opacity:1}:host(.disabled){opacity:${lr}}`.withBehaviors(hn(yt` .control{border-color:${Ze.FieldText};background:${Ze.Field}}:host(:not(.disabled):hover) .control,:host(:not(.disabled):active) .control{border-color:${Ze.Highlight};background:${Ze.Field}}slot[name='checked-indicator'],slot[name='indeterminate-indicator']{fill:${Ze.FieldText}}:host(:${pn}) .control{forced-color-adjust:none;outline-color:${Ze.FieldText};background:${Ze.Field};border-color:${Ze.Highlight}}:host(.checked) .control{background:${Ze.Highlight};border-color:${Ze.Highlight}}:host(.checked:not(.disabled):hover) .control,:host(.checked:not(.disabled):active) .control{background:${Ze.HighlightText};border-color:${Ze.Highlight}}:host(.checked) slot[name='checked-indicator'],:host(.checked) slot[name='indeterminate-indicator']{fill:${Ze.HighlightText}}:host(.checked:hover ) .control slot[name='checked-indicator'],:host(.checked:hover ) .control slot[name='indeterminate-indicator']{fill:${Ze.Highlight}}:host(.disabled){opacity:1}:host(.disabled) .control{border-color:${Ze.GrayText};background:${Ze.Field}}:host(.disabled) slot[name='checked-indicator'],:host(.checked.disabled:hover) .control slot[name='checked-indicator'],:host(.disabled) slot[name='indeterminate-indicator'],:host(.checked.disabled:hover) .control slot[name='indeterminate-indicator']{fill:${Ze.GrayText}}`)),Iu=Ni.compose({baseName:"checkbox",template:(t,e)=>_` t.checked?"checked":""} ${t=>t.indeterminate?"indeterminate":""}">

${e.checkedIndicator||""} ${e.indeterminateIndicator||""}

`,styles:Cu,checkedIndicator:'\n \n \n \n ',indeterminateIndicator:'\n \n \n \n '}),Fu=Cu,Du=(t,e)=>yt` ${un("inline-flex")} :host{border-radius:calc(${pr} * 1px);box-sizing:border-box;color:${uc};fill:currentcolor;font-family:${vr};position:relative;user-select:none;min-width:250px;vertical-align:top}.listbox{box-shadow:${Sd};background:${al};border-radius:calc(${gr} * 1px);box-sizing:border-box;display:inline-flex;flex-direction:column;left:0;max-height:calc(var(--max-height) - (${id} * 1px));padding:calc((${ur} - ${fr} ) * 1px);overflow-y:auto;position:absolute;width:100%;z-index:1;margin:1px 0;border:calc(${fr} * 1px) solid transparent}.listbox[hidden]{display:none}.control{border:calc(${fr} * 1px) solid transparent;border-radius:calc(${pr} * 1px);height:calc(${id} * 1px);align-items:center;box-sizing:border-box;cursor:pointer;display:flex;${qh} min-height:100%;padding:0 calc(${ur} * 2.25px);width:100%}:host(:${pn}){${td}}:host([disabled]) .control{cursor:${"not-allowed"};opacity:${lr};user-select:none}:host([open][position='above']) .listbox{bottom:calc((${id} + ${ur} * 2) * 1px)}:host([open][position='below']) .listbox{top:calc((${id} + ${ur} * 2) * 1px)}.selected-value{font-family:inherit;flex:1 1 auto;text-align:start}.indicator{flex:0 0 auto;margin-inline-start:1em}slot[name='listbox']{display:none;width:100%}:host([open]) slot[name='listbox']{display:flex;position:absolute}.start{margin-inline-end:11px}.end{margin-inline-start:11px}.start,.end,.indicator,::slotted(svg){display:flex}::slotted([role='option']){flex:0 0 auto}`,Tu=(t,e)=>Du().withBehaviors(Kd("outline",Vd(0,0,":not([disabled]):not([open])","[disabled]")),Kd("filled",Gd(0,0,".control",":not([disabled]):not([open])").withBehaviors(hn(Wd(0,0,".control",":not([disabled]):not([open])")))),Kd("stealth",Hd(0,0,":not([disabled]):not([open])","[disabled]")),hn(yt` :host([open]) .listbox{background:${Ze.ButtonFace};border-color:${Ze.CanvasText}}`)),Su=(t,e)=>yt` ${Du()} ${qd()} :host(:empty) .listbox{display:none}:host([disabled]) *,:host([disabled]){cursor:${"not-allowed"};user-select:none}:host(:active) .selected-value{user-select:none}.selected-value{-webkit-appearance:none;background:transparent;border:none;color:inherit;${qh} height:calc(100% - ${fr} * 1px));margin:auto 0;width:100%;outline:none}`.withBehaviors(Kd("outline",_d(0,0,".control",":not([disabled]):not([open])")),Kd("filled",Gd(0,0,".control",":not([disabled]):not([open])")),hn(Wd(0,0,".control",":not([disabled]):not([open])")));class Ou extends eo{appearanceChanged(t,e){t!==e&&(this.classList.add(e),this.classList.remove(t))}connectedCallback(){super.connectedCallback(),this.appearance||(this.appearance="outline"),this.listbox&&al.setValueFor(this.listbox,Za)}}dd([rt({mode:"fromView"})],Ou.prototype,"appearance",void 0);const Eu=Ou.compose({baseName:"combobox",baseClass:eo,shadowOptions:{delegatesFocus:!0},template:(t,e)=>_` t.disabled?"disabled":""} ${t=>t.position}" ?open="${t=>t.open}" tabindex="${t=>t.disabled?null:"0"}" @click="${(t,e)=>t.clickHandler(e.event)}" @focusout="${(t,e)=>t.focusoutHandler(e.event)}" @keydown="${(t,e)=>t.keydownHandler(e.event)}">

${Yt(0,e)}

${e.indicator||""}

${Xt(0,e)}

`,styles:Su,indicator:'\n \n \n \n '}),Ru=Su,Vu=(t,e)=>yt` :host{display:flex;position:relative;flex-direction:column}`,Au=(t,e)=>yt` :host{display:grid;padding:1px 0;box-sizing:border-box;width:100%;border-bottom:calc(${fr} * 1px) solid ${Sc}}:host(.header){}:host(.sticky-header){background:${al};position:sticky;top:0}`.withBehaviors(hn(yt` :host{}`)),Lu=(t,e)=>yt` :host{padding:calc((${ur} + ${mr} - ${fr}) * 1px) calc(((${ur} * 3) + ${mr} - ${fr}) * 1px);color:${uc};box-sizing:border-box;${qh} border:transparent calc(${fr} * 1px) solid;overflow:hidden;white-space:nowrap;border-radius:calc(${pr} * 1px)}:host(.column-header){font-weight:600}:host(:${pn}){${td}}`.withBehaviors(hn(yt` :host{forced-color-adjust:none;background:${Ze.Field};color:${Ze.FieldText}}:host(:${pn}){outline-color:${Ze.FieldText}}`)),Pu=Ai.compose({baseName:"data-grid-cell",template:(t,e)=>_` `,styles:Lu}),zu=Lu,Hu=Oi.compose({baseName:"data-grid-row",template:(t,e)=>_` t.isRowHeader?"rowheader":void 0}" grid-column="${(t,e)=>e.index+1}" :rowData="${(t,e)=>e.parent.rowData}" :columnDefinition="${t=>t}">`}(t)}" :defaultHeaderCellItemTemplate="${function(t){const e=t.tagFor(Ai);return _`<${e} cell-type="columnheader" grid-column="${(t,e)=>e.index+1}" :columnDefinition="${t=>t}">`}(t)}" ${Wt({property:"cellElements",filter:jt('[role="cell"],[role="gridcell"],[role="columnheader"],[role="rowheader"]')})}> `,styles:Au}),Mu=Au,Bu=Ei.compose({baseName:"data-grid",template:(t,e)=>{const i=function(t){const e=t.tagFor(Oi);return _`<${e} :rowData="${t=>t}" :cellItemTemplate="${(t,e)=>e.parent.cellItemTemplate}" :headerCellItemTemplate="${(t,e)=>e.parent.headerCellItemTemplate}">`}(t),o=t.tagFor(Oi);return _` `},styles:Vu}),Nu=Vu,ju={toView:t=>null==t?null:null==t?void 0:t.toColorString(),fromView(t){if(null==t)return null;const e=Vn(t);return e?Ln.create(e.r,e.g,e.b):null}},Uu=yt` :host{background-color:${al};color:${uc}}`.withBehaviors(hn(yt` :host{background-color:${Ze.Canvas};box-shadow:0 0 0 1px ${Ze.CanvasText};color:${Ze.CanvasText}}`));function qu(t){return(e,i)=>{e[i+"Changed"]=function(e,i){null!=i?t.setValueFor(this,i):t.deleteValueFor(this)}}}class _u extends Pe{constructor(){super(),this.noPaint=!1;const t={handleChange:this.noPaintChanged.bind(this)};g.getNotifier(this).subscribe(t,"fillColor"),g.getNotifier(this).subscribe(t,"baseLayerLuminance")}connectedCallback(){super.connectedCallback(),this.noPaintChanged()}noPaintChanged(){this.noPaint||void 0===this.fillColor&&!this.baseLayerLuminance?this.$fastController.removeStyles(Uu):this.$fastController.addStyles(Uu)}}dd([rt({attribute:"no-paint",mode:"boolean"})],_u.prototype,"noPaint",void 0),dd([rt({attribute:"fill-color",converter:ju,mode:"fromView"}),qu(al)],_u.prototype,"fillColor",void 0),dd([rt({attribute:"accent-base-color",converter:ju,mode:"fromView"}),qu(Wa)],_u.prototype,"accentBaseColor",void 0),dd([rt({attribute:"neutral-base-color",converter:ju,mode:"fromView"}),qu(_a)],_u.prototype,"neutralBaseColor",void 0),dd([rt({converter:st}),qu(dr)],_u.prototype,"density",void 0),dd([rt({attribute:"design-unit",converter:st}),qu(ur)],_u.prototype,"designUnit",void 0),dd([rt({attribute:"direction"}),qu(ar)],_u.prototype,"direction",void 0),dd([rt({attribute:"base-height-multiplier",converter:st}),qu(cr)],_u.prototype,"baseHeightMultiplier",void 0),dd([rt({attribute:"base-horizontal-spacing-multiplier",converter:st}),qu(hr)],_u.prototype,"baseHorizontalSpacingMultiplier",void 0),dd([rt({attribute:"control-corner-radius",converter:st}),qu(pr)],_u.prototype,"controlCornerRadius",void 0),dd([rt({attribute:"layer-corner-radius",converter:st}),qu(gr)],_u.prototype,"layerCornerRadius",void 0),dd([rt({attribute:"stroke-width",converter:st}),qu(fr)],_u.prototype,"strokeWidth",void 0),dd([rt({attribute:"focus-stroke-width",converter:st}),qu(mr)],_u.prototype,"focusStrokeWidth",void 0),dd([rt({attribute:"disabled-opacity",converter:st}),qu(lr)],_u.prototype,"disabledOpacity",void 0),dd([rt({attribute:"type-ramp-minus-2-font-size"}),qu(Fr)],_u.prototype,"typeRampMinus2FontSize",void 0),dd([rt({attribute:"type-ramp-minus-2-line-height"}),qu(Dr)],_u.prototype,"typeRampMinus2LineHeight",void 0),dd([rt({attribute:"type-ramp-minus-1-font-size"}),qu(kr)],_u.prototype,"typeRampMinus1FontSize",void 0),dd([rt({attribute:"type-ramp-minus-1-line-height"}),qu(Cr)],_u.prototype,"typeRampMinus1LineHeight",void 0),dd([rt({attribute:"type-ramp-base-font-size"}),qu(xr)],_u.prototype,"typeRampBaseFontSize",void 0),dd([rt({attribute:"type-ramp-base-line-height"}),qu($r)],_u.prototype,"typeRampBaseLineHeight",void 0),dd([rt({attribute:"type-ramp-plus-1-font-size"}),qu(Sr)],_u.prototype,"typeRampPlus1FontSize",void 0),dd([rt({attribute:"type-ramp-plus-1-line-height"}),qu(Or)],_u.prototype,"typeRampPlus1LineHeight",void 0),dd([rt({attribute:"type-ramp-plus-2-font-size"}),qu(Rr)],_u.prototype,"typeRampPlus2FontSize",void 0),dd([rt({attribute:"type-ramp-plus-2-line-height"}),qu(Vr)],_u.prototype,"typeRampPlus2LineHeight",void 0),dd([rt({attribute:"type-ramp-plus-3-font-size"}),qu(Lr)],_u.prototype,"typeRampPlus3FontSize",void 0),dd([rt({attribute:"type-ramp-plus-3-line-height"}),qu(Pr)],_u.prototype,"typeRampPlus3LineHeight",void 0),dd([rt({attribute:"type-ramp-plus-4-font-size"}),qu(Hr)],_u.prototype,"typeRampPlus4FontSize",void 0),dd([rt({attribute:"type-ramp-plus-4-line-height"}),qu(Mr)],_u.prototype,"typeRampPlus4LineHeight",void 0),dd([rt({attribute:"type-ramp-plus-5-font-size"}),qu(Nr)],_u.prototype,"typeRampPlus5FontSize",void 0),dd([rt({attribute:"type-ramp-plus-5-line-height"}),qu(jr)],_u.prototype,"typeRampPlus5LineHeight",void 0),dd([rt({attribute:"type-ramp-plus-6-font-size"}),qu(qr)],_u.prototype,"typeRampPlus6FontSize",void 0),dd([rt({attribute:"type-ramp-plus-6-line-height"}),qu(_r)],_u.prototype,"typeRampPlus6LineHeight",void 0),dd([rt({attribute:"accent-fill-rest-delta",converter:st}),qu(Kr)],_u.prototype,"accentFillRestDelta",void 0),dd([rt({attribute:"accent-fill-hover-delta",converter:st}),qu(Xr)],_u.prototype,"accentFillHoverDelta",void 0),dd([rt({attribute:"accent-fill-active-delta",converter:st}),qu(Yr)],_u.prototype,"accentFillActiveDelta",void 0),dd([rt({attribute:"accent-fill-focus-delta",converter:st}),qu(Qr)],_u.prototype,"accentFillFocusDelta",void 0),dd([rt({attribute:"accent-foreground-rest-delta",converter:st}),qu(Zr)],_u.prototype,"accentForegroundRestDelta",void 0),dd([rt({attribute:"accent-foreground-hover-delta",converter:st}),qu(Jr)],_u.prototype,"accentForegroundHoverDelta",void 0),dd([rt({attribute:"accent-foreground-active-delta",converter:st}),qu(ta)],_u.prototype,"accentForegroundActiveDelta",void 0),dd([rt({attribute:"accent-foreground-focus-delta",converter:st}),qu(ea)],_u.prototype,"accentForegroundFocusDelta",void 0),dd([rt({attribute:"neutral-fill-rest-delta",converter:st}),qu(ia)],_u.prototype,"neutralFillRestDelta",void 0),dd([rt({attribute:"neutral-fill-hover-delta",converter:st}),qu(oa)],_u.prototype,"neutralFillHoverDelta",void 0),dd([rt({attribute:"neutral-fill-active-delta",converter:st}),qu(sa)],_u.prototype,"neutralFillActiveDelta",void 0),dd([rt({attribute:"neutral-fill-focus-delta",converter:st}),qu(na)],_u.prototype,"neutralFillFocusDelta",void 0),dd([rt({attribute:"neutral-fill-input-rest-delta",converter:st}),qu(ra)],_u.prototype,"neutralFillInputRestDelta",void 0),dd([rt({attribute:"neutral-fill-input-hover-delta",converter:st}),qu(aa)],_u.prototype,"neutralFillInputHoverDelta",void 0),dd([rt({attribute:"neutral-fill-input-active-delta",converter:st}),qu(la)],_u.prototype,"neutralFillInputActiveDelta",void 0),dd([rt({attribute:"neutral-fill-input-focus-delta",converter:st}),qu(ca)],_u.prototype,"neutralFillInputFocusDelta",void 0),dd([rt({attribute:"neutral-fill-layer-rest-delta",converter:st}),qu(ga)],_u.prototype,"neutralFillLayerRestDelta",void 0),dd([rt({attribute:"neutral-fill-stealth-rest-delta",converter:st}),qu(wa)],_u.prototype,"neutralFillStealthRestDelta",void 0),dd([rt({attribute:"neutral-fill-stealth-hover-delta",converter:st}),qu(ka)],_u.prototype,"neutralFillStealthHoverDelta",void 0),dd([rt({attribute:"neutral-fill-stealth-active-delta",converter:st}),qu(Ca)],_u.prototype,"neutralFillStealthActiveDelta",void 0),dd([rt({attribute:"neutral-fill-stealth-focus-delta",converter:st}),qu(Ia)],_u.prototype,"neutralFillStealthFocusDelta",void 0),dd([rt({attribute:"neutral-fill-strong-hover-delta",converter:st}),qu(Da)],_u.prototype,"neutralFillStrongHoverDelta",void 0),dd([rt({attribute:"neutral-fill-strong-active-delta",converter:st}),qu(Ta)],_u.prototype,"neutralFillStrongActiveDelta",void 0),dd([rt({attribute:"neutral-fill-strong-focus-delta",converter:st}),qu(Sa)],_u.prototype,"neutralFillStrongFocusDelta",void 0),dd([rt({attribute:"base-layer-luminance",converter:st}),qu(Wr)],_u.prototype,"baseLayerLuminance",void 0),dd([rt({attribute:"neutral-stroke-divider-rest-delta",converter:st}),qu(Ha)],_u.prototype,"neutralStrokeDividerRestDelta",void 0),dd([rt({attribute:"neutral-stroke-rest-delta",converter:st}),qu(Oa)],_u.prototype,"neutralStrokeRestDelta",void 0),dd([rt({attribute:"neutral-stroke-hover-delta",converter:st}),qu(Ea)],_u.prototype,"neutralStrokeHoverDelta",void 0),dd([rt({attribute:"neutral-stroke-active-delta",converter:st}),qu(Ra)],_u.prototype,"neutralStrokeActiveDelta",void 0),dd([rt({attribute:"neutral-stroke-focus-delta",converter:st}),qu(Va)],_u.prototype,"neutralStrokeFocusDelta",void 0);const Gu=_u.compose({baseName:"design-system-provider",template:_` `,styles:yt` ${un("block")} `}),Wu=(t,e)=>yt` :host([hidden]){display:none}:host{--dialog-height:480px;--dialog-width:640px;display:block}.overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:rgba(0,0,0,0.3);touch-action:none}.positioning-region{display:flex;justify-content:center;position:fixed;top:0;bottom:0;left:0;right:0;overflow:auto}.control{box-shadow:${Ed};margin-top:auto;margin-bottom:auto;border-radius:calc(${gr} * 1px);width:var(--dialog-width);height:var(--dialog-height);background:${al};z-index:1;border:calc(${fr} * 1px) solid transparent}`,Ku=Bo.compose({baseName:"dialog",template:(t,e)=>_` `,styles:Wu}),Xu=Wu,Yu=(t,e)=>yt` ${un("block")} :host{box-sizing:content-box;height:0;border:none;border-top:calc(${fr} * 1px) solid ${Sc}}:host([orientation="vertical"]){border:none;height:100%;margin:0 calc(${ur} * 1px);border-left:calc(${fr} * 1px) solid ${Sc}}`,Qu=jo.compose({baseName:"divider",template:(t,e)=>_` `,styles:Yu}),Zu=Yu,Ju=(t,e)=>yt` ${un("inline-flex")} :host{height:calc((${id} + ${ur}) * 1px);justify-content:center;align-items:center;fill:currentcolor;color:${ac};background:padding-box linear-gradient(${Ol},${Ol}),border-box ${Cc};box-sizing:border-box;border:calc(${fr} * 1px) solid transparent;border-radius:calc(${pr} * 1px);padding:0}:host(.disabled){opacity:${lr};cursor:${"not-allowed"};pointer-events:none}.next,.previous{display:flex}:host(:not(.disabled):hover){cursor:pointer}:host(:not(.disabled):hover){color:${lc}}:host(:not(.disabled):active){color:${cc}}:host(:${pn}){${td}}:host::-moz-focus-inner{border:0}`.withBehaviors(hn(yt` :host{background:${Ze.ButtonFace};border-color:${Ze.ButtonText}}:host .next,:host .previous{color:${Ze.ButtonText};fill:currentcolor}:host(:not(.disabled):hover){background:${Ze.Highlight}}:host(:not(.disabled):hover) .next,:host(:not(.disabled):hover) .previous{color:${Ze.HighlightText};fill:currentcolor}:host(.disabled){opacity:1}:host(.disabled),:host(.disabled) .next,:host(.disabled) .previous{border-color:${Ze.GrayText};color:${Ze.GrayText};fill:currentcolor}:host(:${pn}){forced-color-adjust:none;outline-color:${Ze.Highlight}}`)),tp=_o.compose({baseName:"flipper",template:(t,e)=>_` ${Lt(t=>t.direction===Uo,_` ${e.next||""} `)} ${Lt(t=>t.direction===qo,_` ${e.previous||""} `)} `,styles:Ju,next:'\n \n \n \n ',previous:'\n \n \n \n '}),ep=Ju,ip=yt` .scroll-prev{right:auto;left:0}.scroll.scroll-next::before,.scroll-next .scroll-action{left:auto;right:0}.scroll.scroll-next::before{background:linear-gradient(to right,transparent,var(--scroll-fade-next))}.scroll-next .scroll-action{transform:translate(50%,-50%)}`,op=yt` .scroll.scroll-next{right:auto;left:0}.scroll.scroll-next::before{background:linear-gradient(to right,var(--scroll-fade-next),transparent);left:auto;right:0}.scroll.scroll-prev::before{background:linear-gradient(to right,transparent,var(--scroll-fade-previous))}.scroll-prev .scroll-action{left:auto;right:0;transform:translate(50%,-50%)}`,sp=yt` .scroll-area{position:relative}div.scroll-view{overflow-x:hidden}.scroll{bottom:0;pointer-events:none;position:absolute;right:0;top:0;user-select:none;width:100px}.scroll.disabled{display:none}.scroll::before,.scroll-action{left:0;position:absolute}.scroll::before{background:linear-gradient(to right,var(--scroll-fade-previous),transparent);content:'';display:block;height:100%;width:100%}.scroll-action{pointer-events:auto;right:auto;top:50%;transform:translate(-50%,-50%)}::slotted(fluent-flipper){opacity:0;transition:opacity 0.2s ease-in-out}.scroll-area:hover ::slotted(fluent-flipper){opacity:1}`.withBehaviors(new ud(ip,op)),np=(t,e)=>yt` ${un("block")} :host{--scroll-align:center;--scroll-item-spacing:4px;contain:layout;position:relative}.scroll-view{overflow-x:auto;scrollbar-width:none}::-webkit-scrollbar{display:none}.content-container{align-items:var(--scroll-align);display:inline-flex;flex-wrap:nowrap;position:relative}.content-container ::slotted(*){margin-right:var(--scroll-item-spacing)}.content-container ::slotted(*:last-child){margin-right:0}`;class rp extends us{connectedCallback(){super.connectedCallback(),"mobile"!==this.view&&this.$fastController.addStyles(sp)}}const ap=rp.compose({baseName:"horizontal-scroll",baseClass:us,template:(t,e)=>{var i,o;return _` ${Yt(0,e)}

${Lt(t=>"mobile"!==t.view,_`

${e.previousFlipper instanceof Function?e.previousFlipper(t,e):null!==(i=e.previousFlipper)&&void 0!==i?i:""}

${e.nextFlipper instanceof Function?e.nextFlipper(t,e):null!==(o=e.nextFlipper)&&void 0!==o?o:""}

`)}

${Xt(0,e)} `},styles:np,nextFlipper:_` `,previousFlipper:_` `}),lp=np,cp=(t,e)=>yt` ${un("inline-flex")} :host{border:calc(${fr} * 1px) solid ${yc};border-radius:calc(${pr} * 1px);box-sizing:border-box;flex-direction:column;padding:calc(${ur} * 1px) 0}::slotted(${t.tagFor(Ui)}){margin:0 calc(${ur} * 1px)}:host(:focus-within:not([disabled])){${td}}`;class hp extends _i{}const dp=hp.compose({baseName:"listbox",template:(t,e)=>_` `,styles:cp}),up=cp,pp=(t,e)=>yt` ${un("inline-flex")} :host{position:relative;${qh} background:${ic};border-radius:calc(${pr} * 1px);border:calc(${fr} * 1px) solid transparent;box-sizing:border-box;color:${uc};cursor:pointer;fill:currentcolor;height:calc(${id} * 1px);overflow:hidden;align-items:center;padding:0 calc(((${ur} * 3) - ${fr} - 1) * 1px);user-select:none;white-space:nowrap}:host::before{content:'';display:block;position:absolute;left:calc((${mr} - ${fr}) * 1px);top:calc((${id} / 4) - ${mr} * 1px);width:3px;height:calc((${id} / 2) * 1px);background:transparent;border-radius:calc(${pr} * 1px)}:host(:not([disabled]):hover){background:${oc}}:host(:not([disabled]):active){background:${sc}}:host(:not([disabled]):active)::before{background:${hl};height:calc(((${id} / 2) - 6) * 1px)}:host([aria-selected='true'])::before{background:${hl}}:host(:${pn}){${td} background:${nc}}:host([aria-selected='true']){background:${Ql}}:host(:not([disabled])[aria-selected='true']:hover){background:${Zl}}:host(:not([disabled])[aria-selected='true']:active){background:${Jl}}:host(:not([disabled]):not([aria-selected='true']):hover){background:${oc}}:host(:not([disabled]):not([aria-selected='true']):active){background:${sc}}:host([disabled]){cursor:${"not-allowed"};opacity:${lr}}.content{grid-column-start:2;justify-self:start;overflow:hidden;text-overflow:ellipsis}.start,.end,::slotted(svg){display:flex}::slotted([slot='end']){margin-inline-start:1ch}::slotted([slot='start']){margin-inline-end:1ch}`.withBehaviors(new ud(null,yt` :host::before{right:calc((${mr} - ${fr}) * 1px)}`),hn(yt` :host{background:${Ze.ButtonFace};border-color:${Ze.ButtonFace};color:${Ze.ButtonText}}:host(:not([disabled]):not([aria-selected="true"]):hover),:host(:not([disabled])[aria-selected="true"]:hover),:host([aria-selected="true"]){forced-color-adjust:none;background:${Ze.Highlight};color:${Ze.HighlightText}}:host(:not([disabled]):active)::before,:host([aria-selected='true'])::before{background:${Ze.HighlightText}}:host([disabled]),:host([disabled]:not([aria-selected='true']):hover){background:${Ze.Canvas};color:${Ze.GrayText};fill:currentcolor;opacity:1}:host(:${pn}){outline-color:${Ze.CanvasText}}`)),gp=Ui.compose({baseName:"option",template:(t,e)=>_` ${Yt(0,e)}${Xt(0,e)} `,styles:pp}),fp=pp,mp=(t,e)=>yt` ${un("block")} :host{background:${Za};border:calc(${fr} * 1px) solid transparent;border-radius:calc(${gr} * 1px);box-shadow:${Sd};padding:calc((${ur} - ${fr}) * 1px) 0;max-width:368px;min-width:64px}:host([slot='submenu']){width:max-content;margin:0 calc(${ur} * 2px)}::slotted(${t.tagFor(Qo)}){margin:0 calc(${ur} * 1px)}::slotted(${t.tagFor(jo)}){margin:calc(${ur} * 1px) 0}::slotted(hr){box-sizing:content-box;height:0;margin:calc(${ur} * 1px) 0;border:none;border-top:calc(${fr} * 1px) solid ${Sc}}`.withBehaviors(hn(yt` :host([slot='submenu']){background:${Ze.Canvas};border-color:${Ze.CanvasText}}`));class vp extends Zo{connectedCallback(){super.connectedCallback(),al.setValueFor(this,Za)}}const bp=vp.compose({baseName:"menu",baseClass:Zo,template:(t,e)=>_` `,styles:mp}),yp=mp,xp=(t,e)=>yt` ${un("grid")} :host{contain:layout;overflow:visible;${qh} box-sizing:border-box;height:calc(${id} * 1px);grid-template-columns:minmax(32px,auto) 1fr minmax(32px,auto);grid-template-rows:auto;justify-items:center;align-items:center;padding:0;white-space:nowrap;color:${uc};fill:currentcolor;cursor:pointer;border-radius:calc(${pr} * 1px);border:calc(${fr} * 1px) solid transparent;position:relative}:host(.indent-0){grid-template-columns:auto 1fr minmax(32px,auto)}:host(.indent-0) .content{grid-column:1;grid-row:1;margin-inline-start:10px}:host(.indent-0) .expand-collapse-glyph-container{grid-column:5;grid-row:1}:host(.indent-2){grid-template-columns:minmax(32px,auto) minmax(32px,auto) 1fr minmax(32px,auto) minmax(32px,auto)}:host(.indent-2) .content{grid-column:3;grid-row:1;margin-inline-start:10px}:host(.indent-2) .expand-collapse-glyph-container{grid-column:5;grid-row:1}:host(.indent-2) .start{grid-column:2}:host(.indent-2) .end{grid-column:4}:host(:${pn}){${td}}:host(:not([disabled]):hover){background:${oc}}:host(:not([disabled]):active),:host(.expanded){background:${sc};color:${uc};z-index:2}:host([disabled]){cursor:${"not-allowed"};opacity:${lr}}.content{grid-column-start:2;justify-self:start;overflow:hidden;text-overflow:ellipsis}.start,.end{display:flex;justify-content:center}:host(.indent-0[aria-haspopup='menu']){display:grid;grid-template-columns:minmax(32px,auto) auto 1fr minmax(32px,auto) minmax(32px,auto);align-items:center;min-height:32px}:host(.indent-1[aria-haspopup='menu']),:host(.indent-1[role='menuitemcheckbox']),:host(.indent-1[role='menuitemradio']){display:grid;grid-template-columns:minmax(32px,auto) auto 1fr minmax(32px,auto) minmax(32px,auto);align-items:center;min-height:32px}:host(.indent-2:not([aria-haspopup='menu'])) .end{grid-column:5}:host .input-container,:host .expand-collapse-glyph-container{display:none}:host([aria-haspopup='menu']) .expand-collapse-glyph-container,:host([role='menuitemcheckbox']) .input-container,:host([role='menuitemradio']) .input-container{display:grid}:host([aria-haspopup='menu']) .content,:host([role='menuitemcheckbox']) .content,:host([role='menuitemradio']) .content{grid-column-start:3}:host([aria-haspopup='menu'].indent-0) .content{grid-column-start:1}:host([aria-haspopup='menu']) .end,:host([role='menuitemcheckbox']) .end,:host([role='menuitemradio']) .end{grid-column-start:4}:host .expand-collapse,:host .checkbox,:host .radio{display:flex;align-items:center;justify-content:center;position:relative;box-sizing:border-box}:host .checkbox-indicator,:host .radio-indicator,slot[name='checkbox-indicator'],slot[name='radio-indicator']{display:none}::slotted([slot='end']:not(svg)){margin-inline-end:10px;color:${vc}}:host([aria-checked='true']) .checkbox-indicator,:host([aria-checked='true']) slot[name='checkbox-indicator'],:host([aria-checked='true']) .radio-indicator,:host([aria-checked='true']) slot[name='radio-indicator']{display:flex}`.withBehaviors(hn(yt` :host,::slotted([slot='end']:not(svg)){forced-color-adjust:none;color:${Ze.ButtonText};fill:currentcolor}:host(:not([disabled]):hover){background:${Ze.Highlight};color:${Ze.HighlightText};fill:currentcolor}:host(:hover) .start,:host(:hover) .end,:host(:hover)::slotted(svg),:host(:active) .start,:host(:active) .end,:host(:active)::slotted(svg),:host(:hover) ::slotted([slot='end']:not(svg)),:host(:${pn}) ::slotted([slot='end']:not(svg)){color:${Ze.HighlightText};fill:currentcolor}:host(.expanded){background:${Ze.Highlight};color:${Ze.HighlightText}}:host(:${pn}){background:${Ze.Highlight};outline-color:${Ze.ButtonText};color:${Ze.HighlightText};fill:currentcolor}:host([disabled]),:host([disabled]:hover),:host([disabled]:hover) .start,:host([disabled]:hover) .end,:host([disabled]:hover)::slotted(svg),:host([disabled]:${pn}){background:${Ze.ButtonFace};color:${Ze.GrayText};fill:currentcolor;opacity:1}:host([disabled]:${pn}){outline-color:${Ze.GrayText}}:host .expanded-toggle,:host .checkbox,:host .radio{border-color:${Ze.ButtonText};background:${Ze.HighlightText}}:host([checked]) .checkbox,:host([checked]) .radio{background:${Ze.HighlightText};border-color:${Ze.HighlightText}}:host(:hover) .expanded-toggle,:host(:hover) .checkbox,:host(:hover) .radio,:host(:${pn}) .expanded-toggle,:host(:${pn}) .checkbox,:host(:${pn}) .radio,:host([checked]:hover) .checkbox,:host([checked]:hover) .radio,:host([checked]:${pn}) .checkbox,:host([checked]:${pn}) .radio{border-color:${Ze.HighlightText}}:host([aria-checked='true']){background:${Ze.Highlight};color:${Ze.HighlightText}}:host([aria-checked='true']) .checkbox-indicator,:host([aria-checked='true']) ::slotted([slot='checkbox-indicator']),:host([aria-checked='true']) ::slotted([slot='radio-indicator']){fill:${Ze.Highlight}}:host([aria-checked='true']) .radio-indicator{background:${Ze.Highlight}}`),new ud(yt` .expand-collapse-glyph-container{transform:rotate(0deg)}`,yt` .expand-collapse-glyph-container{transform:rotate(180deg)}`)),$p=Qo.compose({baseName:"menu-item",template:(t,e)=>_` t.expanded?"expanded":""} ${t=>"indent-"+t.startColumnCount}">${Lt(t=>t.role===Ko,_`

${e.checkboxIndicator||""}

`)} ${Lt(t=>t.role===Xo,_`

${e.radioIndicator||""}

`)}${Yt(0,e)}${Xt(0,e)} ${Lt(t=>t.hasSubmenu,_`

${e.expandCollapseGlyph||""}

`)} ${Lt(t=>t.expanded,_`<${t.tagFor(ai)} :anchorElement="${t=>t}" vertical-positioning-mode="dynamic" vertical-default-position="bottom" vertical-inset="true" horizontal-positioning-mode="dynamic" horizontal-default-position="end" class="submenu-region" dir="${t=>t.currentDirection}" @loaded="${t=>t.submenuLoaded()}" ${Et("submenuRegion")} part="submenu-region">`)} `,styles:xp,checkboxIndicator:'\n \n \n \n ',expandCollapseGlyph:'\n \n \n \n ',radioIndicator:'\n \n \n \n '}),wp=xp,kp=(t,e)=>yt` ${un("inline-block")} ${Ud(0,0,".root")} ${qd()} .root{display:flex;flex-direction:row}.control{-webkit-appearance:none;color:inherit;background:transparent;border:0;height:calc(100% - 4px);margin-top:auto;margin-bottom:auto;padding:0 calc(${ur} * 2px + 1px);font-family:inherit;font-size:inherit;line-height:inherit}.start,.end{margin:auto;fill:currentcolor}.start{display:flex;margin-inline-start:11px}.end{display:flex;margin-inline-end:11px}.controls{opacity:0;position:relative;top:-1px;z-index:3}:host(:hover:not([disabled])) .controls,:host(:focus-within:not([disabled])) .controls{opacity:1}.step-up,.step-down{display:flex;padding:0 8px;cursor:pointer}.step-up{padding-top:3px}`.withBehaviors(Kd("outline",_d(0,0,".root")),Kd("filled",Gd(0,0,".root")),hn(Wd(0,0,".root")));class Cp extends rs{connectedCallback(){super.connectedCallback(),this.appearance||(this.appearance="outline")}}dd([rt],Cp.prototype,"appearance",void 0);const Ip=kp,Fp=Cp.compose({baseName:"number-field",baseClass:rs,styles:kp,template:(t,e)=>_`

${Yt(0,e)}

${Lt(t=>!t.hideStep&&!t.readOnly&&!t.disabled,_`

${e.stepUpGlyph||""}

${e.stepDownGlyph||""}

`)} ${Xt(0,e)}

`,shadowOptions:{delegatesFocus:!0},stepDownGlyph:'\n \n \n \n ',stepUpGlyph:'\n \n \n \n'}),Dp=(t,e)=>yt` ${un("flex")} :host{align-items:center;height:calc((${fr} * 3) * 1px)}.progress{background-color:${Bc};border-radius:calc(${ur} * 1px);width:100%;height:calc(${fr} * 1px);display:flex;align-items:center;position:relative}.determinate{background-color:${hl};border-radius:calc(${ur} * 1px);height:calc((${fr} * 3) * 1px);transition:all 0.2s ease-in-out;display:flex}.indeterminate{height:calc((${fr} * 3) * 1px);border-radius:calc(${ur} * 1px);display:flex;width:100%;position:relative;overflow:hidden}.indeterminate-indicator-1{position:absolute;opacity:0;height:100%;background-color:${hl};border-radius:calc(${ur} * 1px);animation-timing-function:cubic-bezier(0.4,0,0.6,1);width:40%;animation:indeterminate-1 2s infinite}.indeterminate-indicator-2{position:absolute;opacity:0;height:100%;background-color:${hl};border-radius:calc(${ur} * 1px);animation-timing-function:cubic-bezier(0.4,0,0.6,1);width:60%;animation:indeterminate-2 2s infinite}:host(.paused) .indeterminate-indicator-1,:host(.paused) .indeterminate-indicator-2{animation:none;background-color:${vc};width:100%;opacity:1}:host(.paused) .determinate{background-color:${vc}}@keyframes indeterminate-1{0%{opacity:1;transform:translateX(-100%)}70%{opacity:1;transform:translateX(300%)}70.01%{opacity:0}100%{opacity:0;transform:translateX(300%)}}@keyframes indeterminate-2{0%{opacity:0;transform:translateX(-150%)}29.99%{opacity:0}30%{opacity:1;transform:translateX(-150%)}100%{transform:translateX(166.66%);opacity:1}}`.withBehaviors(hn(yt` .indeterminate-indicator-1,.indeterminate-indicator-2,.determinate,.progress{background-color:${Ze.ButtonText}}:host(.paused) .indeterminate-indicator-1,:host(.paused) .indeterminate-indicator-2,:host(.paused) .determinate{background-color:${Ze.GrayText}}`));class Tp extends as{}const Sp=Tp.compose({baseName:"progress",template:(t,e)=>_` ${Lt(t=>"number"==typeof t.value,_` `,_`

${e.indeterminateIndicator1||""} ${e.indeterminateIndicator2||""}

`)} `,styles:Dp,indeterminateIndicator1:'\n \n ',indeterminateIndicator2:'\n \n '}),Op=Dp,Ep=(t,e)=>yt` ${un("flex")} :host{align-items:center;height:calc(${id} * 1px);width:calc(${id} * 1px)}.progress{height:100%;width:100%}.background{fill:none;stroke-width:2px}.determinate{stroke:${hl};fill:none;stroke-width:2px;stroke-linecap:round;transform-origin:50% 50%;transform:rotate(-90deg);transition:all 0.2s ease-in-out}.indeterminate-indicator-1{stroke:${hl};fill:none;stroke-width:2px;stroke-linecap:round;transform-origin:50% 50%;transform:rotate(-90deg);transition:all 0.2s ease-in-out;animation:spin-infinite 2s linear infinite}:host(.paused) .indeterminate-indicator-1{animation:none;stroke:${vc}}:host(.paused) .determinate{stroke:${vc}}@keyframes spin-infinite{0%{stroke-dasharray:0.01px 43.97px;transform:rotate(0deg)}50%{stroke-dasharray:21.99px 21.99px;transform:rotate(450deg)}100%{stroke-dasharray:0.01px 43.97px;transform:rotate(1080deg)}}`.withBehaviors(hn(yt` .background{stroke:${Ze.Field}}.determinate,.indeterminate-indicator-1{stroke:${Ze.ButtonText}}:host(.paused) .determinate,:host(.paused) .indeterminate-indicator-1{stroke:${Ze.GrayText}}`));class Rp extends as{}const Vp=Rp.compose({baseName:"progress-ring",template:(t,e)=>_` ${Lt(t=>"number"==typeof t.value,_` `,_` ${e.indeterminateIndicator||""} `)} `,styles:Ep,indeterminateIndicator:'\n \n \n \n \n '}),Ap=Ep,Lp=(t,e)=>yt` ${un("inline-flex")} :host{--input-size:calc((${id} / 2) + ${ur});align-items:center;outline:none;${""} user-select:none;position:relative;flex-direction:row;transition:all 0.2s ease-in-out}.control{position:relative;width:calc(var(--input-size) * 1px);height:calc(var(--input-size) * 1px);box-sizing:border-box;border-radius:50%;border:calc(${fr} * 1px) solid ${Bc};background:${Bl};cursor:pointer}.label__hidden{display:none;visibility:hidden}.label{${qh} color:${uc};${""} padding-inline-start:calc(${ur} * 2px + 2px);margin-inline-end:calc(${ur} * 2px + 2px);cursor:pointer}.control,slot[name='checked-indicator']{flex-shrink:0}slot[name='checked-indicator']{display:flex;align-items:center;justify-content:center;width:100%;height:100%;fill:${fl};opacity:0;pointer-events:none}:host(:not(.disabled):hover) .control{background:${Nl};border-color:${Nc}}:host(:not(.disabled):active) .control{background:${jl};border-color:${jc}}:host(:not(.disabled):active) slot[name='checked-indicator']{opacity:1}:host(:${pn}) .control{${ed} background:${Ul}}:host(.checked) .control{background:${hl};border-color:transparent}:host(.checked:not(.disabled):hover) .control{background:${dl};border-color:transparent}:host(.checked:not(.disabled):active) .control{background:${ul};border-color:transparent}:host(.disabled) .label,:host(.readonly) .label,:host(.readonly) .control,:host(.disabled) .control{cursor:${"not-allowed"}}:host(.checked) slot[name='checked-indicator']{opacity:1}:host(.disabled){opacity:${lr}}`.withBehaviors(hn(yt` .control{background:${Ze.Field};border-color:${Ze.FieldText}}:host(:not(.disabled):hover) .control,:host(:not(.disabled):active) .control{border-color:${Ze.Highlight}}:host(:${pn}) .control{forced-color-adjust:none;background:${Ze.Field};outline-color:${Ze.FieldText}}:host(.checked:not(.disabled):hover) .control,:host(.checked:not(.disabled):active) .control{border-color:${Ze.Highlight};background:${Ze.Highlight}}:host(.checked) slot[name='checked-indicator']{fill:${Ze.Highlight}}:host(.checked:hover) .control slot[name='checked-indicator']{fill:${Ze.HighlightText}}:host(.disabled){opacity:1}:host(.disabled) .label{color:${Ze.GrayText}}:host(.disabled) .control,:host(.checked.disabled) .control{background:${Ze.Field};border-color:${Ze.GrayText}}:host(.disabled) slot[name='checked-indicator'],:host(.checked.disabled) slot[name='checked-indicator']{fill:${Ze.GrayText}}`)),Pp=ds.compose({baseName:"radio",template:(t,e)=>_` t.readOnly?"readonly":""}" aria-checked="${t=>t.checked}" aria-required="${t=>t.required}" aria-disabled="${t=>t.disabled}" aria-readonly="${t=>t.readOnly}" @keypress="${(t,e)=>t.keypressHandler(e.event)}" @click="${(t,e)=>t.clickHandler(e.event)}">

${e.checkedIndicator||""}

`,styles:Lp,checkedIndicator:'\n \n \n \n '}),zp=Lp,Hp=(t,e)=>yt` ${un("flex")} :host{align-items:flex-start;flex-direction:column}.positioning-region{display:flex;flex-wrap:wrap}:host([orientation='vertical']) .positioning-region{flex-direction:column}:host([orientation='horizontal']) .positioning-region{flex-direction:row}`,Mp=ls.compose({baseName:"radio-group",template:(t,e)=>_` `,styles:Hp}),Bp=Hp,Np=(t,e)=>_` `,jp=$o.create("clear-button-hover").withDefault(t=>{const e=ec.getValueFor(t),i=Al.getValueFor(t);return e.evaluate(t,i.evaluate(t).focus).hover}),Up=$o.create("clear-button-active").withDefault(t=>{const e=ec.getValueFor(t),i=Al.getValueFor(t);return e.evaluate(t,i.evaluate(t).focus).active}),qp=(t,e)=>yt` ${un("inline-block")} ${Ud(0,0,".root")} ${qd()} .root{display:flex;flex-direction:row}.control{-webkit-appearance:none;color:inherit;background:transparent;border:0;height:calc(100% - 4px);margin-top:auto;margin-bottom:auto;padding:0 calc(${ur} * 2px + 1px);font-family:inherit;font-size:inherit;line-height:inherit}.clear-button{display:inline-flex;align-items:center;margin:1px;height:calc(100% - 2px);opacity:0;background:transparent;color:${uc};fill:currentcolor;border:none;border-radius:calc(${pr} * 1px);min-width:calc(${id} * 1px);${qh} outline:none;padding:0 calc((10 + (${ur} * 2 * ${dr})) * 1px)}.clear-button:hover{background:${jp}}.clear-button:active{background:${Up}}:host(:hover:not([disabled],[readOnly])) .clear-button,:host(:active:not([disabled],[readOnly])) .clear-button,:host(:focus-within:not([disabled],[readOnly])) .clear-button{opacity:1}:host(:hover:not([disabled],[readOnly])) .clear-button__hidden,:host(:active:not([disabled],[readOnly])) .clear-button__hidden,:host(:focus-within:not([disabled],[readOnly])) .clear-button__hidden{opacity:0}.control::-webkit-search-cancel-button{-webkit-appearance:none}.input-wrapper{display:flex;position:relative;width:100%}.start,.end{display:flex;margin:1px;align-items:center}.start{display:flex;margin-inline-start:11px}::slotted([slot="end"]){height:100%}.clear-button__hidden{opacity:0}.end{margin-inline-end:11px}::slotted(${t.tagFor(vi)}){margin-inline-end:1px}`.withBehaviors(Kd("outline",_d(0,0,".root")),Kd("filled",Gd(0,0,".root")),hn(Wd(0,0,".root")));class _p extends ms{constructor(){super(...arguments),this.appearance="outline"}}dd([rt],_p.prototype,"appearance",void 0);const Gp=_p.compose({baseName:"search",baseClass:ms,template:Np,styles:qp,start:' ',shadowOptions:{delegatesFocus:!0}}),Wp=qp;class Kp extends xs{appearanceChanged(t,e){t!==e&&(this.classList.add(e),this.classList.remove(t))}connectedCallback(){super.connectedCallback(),this.appearance||(this.appearance="outline"),this.listbox&&al.setValueFor(this.listbox,Za)}}dd([rt({mode:"fromView"})],Kp.prototype,"appearance",void 0);const Xp=Kp.compose({baseName:"select",baseClass:xs,template:(t,e)=>_` ${Lt(t=>t.collapsible,_`

${Yt(0,e)}

${t=>t.displayValue}

${e.indicator||""}

${Xt(0,e)}

`)} `,styles:Tu,indicator:'\n \n \n \n '}),Yp=Tu,Qp=(t,e)=>yt` ${un("block")} :host{--skeleton-fill-default:${Ql};overflow:hidden;width:100%;position:relative;background-color:var(--skeleton-fill,var(--skeleton-fill-default));--skeleton-animation-gradient-default:linear-gradient( 270deg,var(--skeleton-fill,var(--skeleton-fill-default)) 0%,${Zl} 51%,var(--skeleton-fill,var(--skeleton-fill-default)) 100% );--skeleton-animation-timing-default:ease-in-out}:host(.rect){border-radius:calc(${pr} * 1px)}:host(.circle){border-radius:100%;overflow:hidden}object{position:absolute;width:100%;height:auto;z-index:2}object img{width:100%;height:auto}${un("block")} span.shimmer{position:absolute;width:100%;height:100%;background-image:var(--skeleton-animation-gradient,var(--skeleton-animation-gradient-default));background-size:0px 0px / 90% 100%;background-repeat:no-repeat;background-color:var(--skeleton-animation-fill,${Ql});animation:shimmer 2s infinite;animation-timing-function:var(--skeleton-animation-timing,var(--skeleton-timing-default));animation-direction:normal;z-index:1}::slotted(svg){z-index:2}::slotted(.pattern){width:100%;height:100%}@keyframes shimmer{0%{transform:translateX(-100%)}100%{transform:translateX(100%)}}`.withBehaviors(hn(yt` :host{background-color:${Ze.CanvasText}}`)),Zp=ws.compose({baseName:"skeleton",template:(t,e)=>_` ${Lt(t=>!0===t.shimmer,_``)} `,styles:Qp}),Jp=Qp,tg=(t,e)=>yt` ${un("inline-grid")} :host{--thumb-size:calc((${id} / 2) + ${ur} + (${fr} * 2));--thumb-translate:calc(var(--thumb-size) * -0.5 + var(--track-width) / 2);--track-overhang:calc((${ur} / 2) * -1);--track-width:${ur};align-items:center;width:100%;user-select:none;box-sizing:border-box;border-radius:calc(${pr} * 1px);outline:none;cursor:pointer}:host(.horizontal) .positioning-region{position:relative;margin:0 8px;display:grid;grid-template-rows:calc(var(--thumb-size) * 1px) 1fr}:host(.vertical) .positioning-region{position:relative;margin:0 8px;display:grid;height:100%;grid-template-columns:calc(var(--thumb-size) * 1px) 1fr}:host(:${pn}) .thumb-cursor{box-shadow:0 0 0 2px ${al},0 0 0 4px ${_c}}.thumb-container{position:absolute;height:calc(var(--thumb-size) * 1px);width:calc(var(--thumb-size) * 1px);transition:all 0.2s ease}.thumb-cursor{display:flex;position:relative;border:none;width:calc(var(--thumb-size) * 1px);height:calc(var(--thumb-size) * 1px);background:padding-box linear-gradient(${Ol},${Ol}),border-box ${Cc};border:calc(${fr} * 1px) solid transparent;border-radius:50%;box-sizing:border-box}.thumb-cursor::after{content:'';display:block;border-radius:50%;width:100%;margin:4px;background:${hl}}:host(:not(.disabled)) .thumb-cursor:hover::after{background:${dl};margin:3px}:host(:not(.disabled)) .thumb-cursor:active::after{background:${ul};margin:5px}:host(:not(.disabled)) .thumb-cursor:hover{background:padding-box linear-gradient(${Ol},${Ol}),border-box ${Ic}}:host(:not(.disabled)) .thumb-cursor:active{background:padding-box linear-gradient(${Ol},${Ol}),border-box ${Fc}}.track-start{background:${hl};position:absolute;height:100%;left:0;border-radius:calc(${pr} * 1px)}:host(.horizontal) .thumb-container{transform:translateX(calc(var(--thumb-size) * 0.5px)) translateY(calc(var(--thumb-translate) * 1px))}:host(.vertical) .thumb-container{transform:translateX(calc(var(--thumb-translate) * 1px)) translateY(calc(var(--thumb-size) * 0.5px))}:host(.horizontal){min-width:calc(var(--thumb-size) * 1px)}:host(.horizontal) .track{right:calc(var(--track-overhang) * 1px);left:calc(var(--track-overhang) * 1px);align-self:start;height:calc(var(--track-width) * 1px)}:host(.vertical) .track{top:calc(var(--track-overhang) * 1px);bottom:calc(var(--track-overhang) * 1px);width:calc(var(--track-width) * 1px);height:100%}.track{background:${ac};border:1px solid ${Bc};border-radius:2px;box-sizing:border-box;position:absolute}:host(.vertical){height:100%;min-height:calc(${ur} * 60px);min-width:calc(${ur} * 20px)}:host(.vertical) .track-start{height:auto;width:100%;top:0}:host(.disabled),:host(.readonly){cursor:${"not-allowed"}}:host(.disabled){opacity:${lr}}`.withBehaviors(hn(yt` .thumb-cursor{forced-color-adjust:none;border-color:${Ze.FieldText};background:${Ze.FieldText}}:host(:not(.disabled)) .thumb-cursor:hover,:host(:not(.disabled)) .thumb-cursor:active{background:${Ze.Highlight}}.track{forced-color-adjust:none;background:${Ze.FieldText}}.thumb-cursor::after,:host(:not(.disabled)) .thumb-cursor:hover::after,:host(:not(.disabled)) .thumb-cursor:active::after{background:${Ze.Field}}:host(:${pn}) .thumb-cursor{background:${Ze.Highlight};border-color:${Ze.Highlight};box-shadow:0 0 0 1px ${Ze.Field},0 0 0 3px ${Ze.FieldText}}:host(.disabled){opacity:1}:host(.disabled) .track,:host(.disabled) .thumb-cursor{forced-color-adjust:none;background:${Ze.GrayText}}`)),eg=Ss.compose({baseName:"slider",template:(t,e)=>_` t.orientation||Ne}" tabindex="${t=>t.disabled?null:0}" aria-valuetext="${t=>t.valueTextFormatter(t.value)}" aria-valuenow="${t=>t.value}" aria-valuemin="${t=>t.min}" aria-valuemax="${t=>t.max}" aria-disabled="${t=>!!t.disabled||void 0}" aria-readonly="${t=>!!t.readOnly||void 0}" aria-orientation="${t=>t.orientation}" class="${t=>t.orientation}"> `,styles:tg,thumb:'\n \n '}),ig=tg,og=(t,e)=>yt` ${un("block")} :host{${_h}}.root{position:absolute;display:grid}:host(.horizontal){align-self:start;grid-row:2;margin-top:-4px}:host(.vertical){justify-self:start;grid-column:2;margin-left:2px}.container{display:grid;justify-self:center}:host(.horizontal) .container{grid-template-rows:auto auto;grid-template-columns:0}:host(.vertical) .container{grid-template-columns:auto auto;grid-template-rows:0;min-width:calc(var(--thumb-size) * 1px);height:calc(var(--thumb-size) * 1px)}.label{justify-self:center;align-self:center;white-space:nowrap;max-width:30px;margin:2px 0}.mark{width:calc(${fr} * 1px);height:calc(${ur} * 1px);background:${Bc};justify-self:center}:host(.vertical) .mark{transform:rotate(90deg);align-self:center}:host(.vertical) .label{margin-left:calc((${ur} / 2) * 2px);align-self:center}:host(.disabled){opacity:${lr}}`.withBehaviors(hn(yt` .mark{forced-color-adjust:none;background:${Ze.FieldText}}:host(.disabled){forced-color-adjust:none;opacity:1}:host(.disabled) .label{color:${Ze.GrayText}}:host(.disabled) .mark{background:${Ze.GrayText}}`)),sg=Is.compose({baseName:"slider-label",template:(t,e)=>_`

${Lt(t=>!t.hideMark,_`

`)}

`,styles:og}),ng=og,rg=(t,e)=>yt` :host([hidden]){display:none}${un("inline-flex")} :host{align-items:center;outline:none;font-family:${vr};${""} user-select:none}:host(.disabled){opacity:${lr}}:host(.disabled) .label,:host(.readonly) .label,:host(.disabled) .switch,:host(.readonly) .switch,:host(.disabled) .status-message,:host(.readonly) .status-message{cursor:${"not-allowed"}}.switch{position:relative;box-sizing:border-box;width:calc(((${id} / 2) + ${ur}) * 2px);height:calc(((${id} / 2) + ${ur}) * 1px);background:${Bl};border-radius:calc(${id} * 1px);border:calc(${fr} * 1px) solid ${Bc};cursor:pointer}:host(:not(.disabled):hover) .switch{background:${Nl};border-color:${Nc}}:host(:not(.disabled):active) .switch{background:${jl};border-color:${jc}}:host(:${pn}) .switch{${ed} background:${Ul}}:host(.checked) .switch{background:${hl};border-color:transparent}:host(.checked:not(.disabled):hover) .switch{background:${dl};border-color:transparent}:host(.checked:not(.disabled):active) .switch{background:${ul};border-color:transparent}slot[name='switch']{position:absolute;display:flex;border:1px solid transparent;fill:${uc};transition:all 0.2s ease-in-out}.status-message{color:${uc};cursor:pointer;${qh}}.label__hidden{display:none;visibility:hidden}.label{color:${uc};${qh} margin-inline-end:calc(${ur} * 2px + 2px);cursor:pointer}::slotted([slot="checked-message"]),::slotted([slot="unchecked-message"]){margin-inline-start:calc(${ur} * 2px + 2px)}:host(.checked) .switch{background:${hl}}:host(.checked) .switch slot[name='switch']{fill:${fl};filter:drop-shadow(0px 1px 1px rgba(0,0,0,0.15))}:host(.checked:not(.disabled)) .switch:hover{background:${dl}}:host(.checked:not(.disabled)) .switch:hover slot[name='switch']{fill:${ml}}:host(.checked:not(.disabled)) .switch:active{background:${ul}}:host(.checked:not(.disabled)) .switch:active slot[name='switch']{fill:${vl}}.unchecked-message{display:block}.checked-message{display:none}:host(.checked) .unchecked-message{display:none}:host(.checked) .checked-message{display:block}`.withBehaviors(new ud(yt` slot[name='switch']{left:0}:host(.checked) slot[name='switch']{left:100%;transform:translateX(-100%)}`,yt` slot[name='switch']{right:0}:host(.checked) slot[name='switch']{right:100%;transform:translateX(100%)}`),hn(yt` :host(:not(.disabled)) .switch slot[name='switch']{forced-color-adjust:none;fill:${Ze.FieldText}}.switch{background:${Ze.Field};border-color:${Ze.FieldText}}:host(.checked) .switch{background:${Ze.Highlight};border-color:${Ze.Highlight}}:host(:not(.disabled):hover) .switch,:host(:not(.disabled):active) .switch,:host(.checked:not(.disabled):hover) .switch{background:${Ze.HighlightText};border-color:${Ze.Highlight}}:host(.checked:not(.disabled)) .switch slot[name="switch"]{fill:${Ze.HighlightText}}:host(.checked:not(.disabled):hover) .switch slot[name='switch']{fill:${Ze.Highlight}}:host(:${pn}) .switch{forced-color-adjust:none;background:${Ze.Field};border-color:${Ze.Highlight};outline-color:${Ze.FieldText}}:host(.disabled){opacity:1}:host(.disabled) slot[name='switch']{forced-color-adjust:none;fill:${Ze.GrayText}}:host(.disabled) .switch{background:${Ze.Field};border-color:${Ze.GrayText}}.status-message,.label{color:${Ze.FieldText}}`)),ag=Rs.compose({baseName:"switch",template:(t,e)=>_`

${e.switch||""}

`,styles:rg,switch:'\n \n \n \n '}),lg=rg,cg=(t,e)=>yt` ${un("grid")} :host{box-sizing:border-box;${qh} color:${uc};grid-template-columns:auto 1fr auto;grid-template-rows:auto 1fr}.tablist{display:grid;grid-template-rows:calc(${id} * 1px);auto;grid-template-columns:auto;position:relative;width:max-content;align-self:end}.start,.end{align-self:center}.activeIndicator{grid-row:2;grid-column:1;width:20px;height:3px;border-radius:calc(${pr} * 1px);justify-self:center;background:${hl}}.activeIndicatorTransition{transition:transform 0.2s ease-in-out}.tabpanel{grid-row:2;grid-column-start:1;grid-column-end:4;position:relative}:host(.vertical){grid-template-rows:auto 1fr auto;grid-template-columns:auto 1fr}:host(.vertical) .tablist{grid-row-start:2;grid-row-end:2;display:grid;grid-template-rows:auto;grid-template-columns:auto 1fr;position:relative;width:max-content;justify-self:end;align-self:flex-start;width:100%}:host(.vertical) .tabpanel{grid-column:2;grid-row-start:1;grid-row-end:4}:host(.vertical) .end{grid-row:3}:host(.vertical) .activeIndicator{grid-column:1;grid-row:1;width:3px;height:20px;margin-inline-start:calc(${mr} * 1px);border-radius:calc(${pr} * 1px);align-self:center;background:${hl}}:host(.vertical) .activeIndicatorTransition{transition:transform 0.2s linear}`.withBehaviors(hn(yt` .activeIndicator,:host(.vertical) .activeIndicator{background:${Ze.Highlight}}`)),hg=(t,e)=>yt` ${un("inline-flex")} :host{box-sizing:border-box;${qh} height:calc((${id} + (${ur} * 2)) * 1px);padding:0 calc((6 + (${ur} * 2 * ${dr})) * 1px);color:${uc};border-radius:calc(${pr} * 1px);border:calc(${fr} * 1px) solid transparent;align-items:center;justify-content:center;grid-row:1 / 3;cursor:pointer}:host([aria-selected='true']){z-index:2}:host(:hover),:host(:active){color:${uc}}:host(:${pn}){${td}}:host(.vertical){justify-content:start;grid-column:1 / 3}:host(.vertical[aria-selected='true']){z-index:2}:host(.vertical:hover),:host(.vertical:active){color:${uc}}:host(.vertical:hover[aria-selected='true']){}`.withBehaviors(hn(yt` :host{forced-color-adjust:none;border-color:transparent;color:${Ze.ButtonText};fill:currentcolor}:host(:hover),:host(.vertical:hover),:host([aria-selected='true']:hover){background:transparent;color:${Ze.Highlight};fill:currentcolor}:host([aria-selected='true']){background:transparent;color:${Ze.Highlight};fill:currentcolor}:host(:${pn}){background:transparent;outline-color:${Ze.ButtonText}}`)),dg=As.compose({baseName:"tab",template:(t,e)=>_` `,styles:hg}),ug=hg,pg=(t,e)=>yt` ${un("block")} :host{box-sizing:border-box;${qh} padding:0 calc((6 + (${ur} * 2 * ${dr})) * 1px)}`,gg=Vs.compose({baseName:"tab-panel",template:(t,e)=>_` `,styles:pg}),fg=pg,mg=Ps.compose({baseName:"tabs",template:(t,e)=>_` ${Yt(0,e)}

${Lt(t=>t.showActiveIndicator,_`

`)}

${Xt(0,e)} `,styles:cg}),vg=cg,bg=(t,e)=>yt` ${un("inline-flex")} ${Ud(0,0,".control")} ${qd()} :host{flex-direction:column;vertical-align:bottom}.control{height:calc((${id} * 2) * 1px);padding:calc(${ur} * 1.5px) calc(${ur} * 2px + 1px)}:host .control{resize:none}:host(.resize-both) .control{resize:both}:host(.resize-horizontal) .control{resize:horizontal}:host(.resize-vertical) .control{resize:vertical}:host([cols]){width:initial}:host([rows]) .control{height:initial}`.withBehaviors(Kd("outline",_d(0,0,".control")),Kd("filled",Gd(0,0,".control")),hn(Wd(0,0,".control")));class yg extends Bs{appearanceChanged(t,e){t!==e&&(this.classList.add(e),this.classList.remove(t))}connectedCallback(){super.connectedCallback(),this.appearance||(this.appearance="outline")}}dd([rt],yg.prototype,"appearance",void 0);const xg=yg.compose({baseName:"text-area",baseClass:Bs,template:(t,e)=>_` t.resize!==Ms?"resize-"+t.resize:""}"> `,styles:bg,shadowOptions:{delegatesFocus:!0}}),$g=bg,wg=(t,e)=>yt` ${un("inline-block")} ${Ud(0,0,".root")} ${qd()} .root{display:flex;flex-direction:row}.control{-webkit-appearance:none;color:inherit;background:transparent;border:0;height:calc(100% - 4px);margin-top:auto;margin-bottom:auto;padding:0 calc(${ur} * 2px + 1px);font-family:inherit;font-size:inherit;line-height:inherit}.start,.end{display:flex;margin:auto}.start{display:flex;margin-inline-start:11px}.end{display:flex;margin-inline-end:11px}`.withBehaviors(Kd("outline",_d(0,0,".root")),Kd("filled",Gd(0,0,".root")),hn(Wd(0,0,".root")));class kg extends is{appearanceChanged(t,e){t!==e&&(this.classList.add(e),this.classList.remove(t))}connectedCallback(){super.connectedCallback(),this.appearance||(this.appearance="outline")}}dd([rt],kg.prototype,"appearance",void 0);const Cg=kg.compose({baseName:"text-field",baseClass:is,template:(t,e)=>_`

${Yt(0,e)}${Xt(0,e)}

`,styles:wg,shadowOptions:{delegatesFocus:!0}}),Ig=wg;class Fg extends js{}const Dg=Fg.compose({baseName:"toolbar",baseClass:js,template:(t,e)=>_`

${Yt(0,e)}${Xt(0,e)}

`,styles:(t,e)=>yt` ${un("inline-flex")} :host{--toolbar-item-gap:calc(${ur} * 1px);background:${al};fill:currentcolor;padding:var(--toolbar-item-gap);box-sizing:border-box;align-items:center}:host(${pn}){${td}}.positioning-region{align-items:center;display:inline-flex;flex-flow:row wrap;justify-content:flex-start;flex-grow:1}:host([orientation='vertical']) .positioning-region{flex-direction:column;align-items:start}::slotted(:not([slot])){flex:0 0 auto;margin:0 var(--toolbar-item-gap)}:host([orientation='vertical']) ::slotted(:not([slot])){margin:var(--toolbar-item-gap) 0}:host([orientation='vertical']){display:inline-flex;flex-direction:column}.start,.end{display:flex;align-items:center}.end{margin-inline-start:auto}.start__hidden,.end__hidden{display:none}::slotted(svg){${""} width:16px;height:16px}`.withBehaviors(hn(yt` :host(:${pn}){outline-color:${Ze.Highlight};color:${Ze.ButtonText};forced-color-adjust:none}`))});class Tg extends nn{connectedCallback(){super.connectedCallback(),al.setValueFor(this,Za)}}const Sg=Tg.compose({baseName:"tooltip",baseClass:nn,template:(t,e)=>_` ${Lt(t=>t.tooltipVisible,_`<${t.tagFor(ai)} fixed-placement="true" auto-update-mode="${t=>t.autoUpdateMode}" vertical-positioning-mode="${t=>t.verticalPositioningMode}" vertical-default-position="${t=>t.verticalDefaultPosition}" vertical-inset="${t=>t.verticalInset}" vertical-scaling="${t=>t.verticalScaling}" horizontal-positioning-mode="${t=>t.horizontalPositioningMode}" horizontal-default-position="${t=>t.horizontalDefaultPosition}" horizontal-scaling="${t=>t.horizontalScaling}" horizontal-inset="${t=>t.horizontalInset}" vertical-viewport-lock="${t=>t.horizontalViewportLock}" horizontal-viewport-lock="${t=>t.verticalViewportLock}" dir="${t=>t.currentDirection}" ${Et("region")}> `)} `,styles:(t,e)=>yt` :host{position:relative;contain:layout;overflow:visible;height:0;width:0;z-index:10000}.tooltip{box-sizing:border-box;border-radius:calc(${pr} * 1px);border:calc(${fr} * 1px) solid ${Pc};background:${al};color:${uc};padding:4px 12px;height:fit-content;width:fit-content;${qh} white-space:nowrap;box-shadow:${Dd}}${t.tagFor(ai)}{display:flex;justify-content:center;align-items:center;overflow:visible;flex-direction:row}${t.tagFor(ai)}.right,${t.tagFor(ai)}.left{flex-direction:column}${t.tagFor(ai)}.top .tooltip::after,${t.tagFor(ai)}.bottom .tooltip::after,${t.tagFor(ai)}.left .tooltip::after,${t.tagFor(ai)}.right .tooltip::after{content:'';width:12px;height:12px;background:${al};border-top:calc(${fr} * 1px) solid ${Pc};border-left:calc(${fr} * 1px) solid ${Pc};position:absolute}${t.tagFor(ai)}.top .tooltip::after{transform:translateX(-50%) rotate(225deg);bottom:5px;left:50%}${t.tagFor(ai)}.top .tooltip{margin-bottom:12px}${t.tagFor(ai)}.bottom .tooltip::after{transform:translateX(-50%) rotate(45deg);top:5px;left:50%}${t.tagFor(ai)}.bottom .tooltip{margin-top:12px}${t.tagFor(ai)}.left .tooltip::after{transform:translateY(-50%) rotate(135deg);top:50%;right:5px}${t.tagFor(ai)}.left .tooltip{margin-right:12px}${t.tagFor(ai)}.right .tooltip::after{transform:translateY(-50%) rotate(-45deg);top:50%;left:5px}${t.tagFor(ai)}.right .tooltip{margin-left:12px}`.withBehaviors(hn(yt` :host([disabled]){opacity:1}${t.tagFor(ai)}.top .tooltip::after,${t.tagFor(ai)}.bottom .tooltip::after,${t.tagFor(ai)}.left .tooltip::after,${t.tagFor(ai)}.right .tooltip::after{content:'';width:unset;height:unset}`))}),Og=(t,e)=>yt` :host([hidden]){display:none}${un("flex")} :host{flex-direction:column;align-items:stretch;min-width:fit-content;font-size:0}`,Eg=ln.compose({baseName:"tree-view",template:(t,e)=>_` `,styles:Og}),Rg=Og,Vg=yt` .expand-collapse-button svg{transform:rotate(0deg)}:host(.nested) .expand-collapse-button{left:var(--expand-collapse-button-nested-width,calc(${id} * -1px))}:host([selected])::after{left:calc(${mr} * 1px)}:host([expanded]) > .positioning-region .expand-collapse-button svg{transform:rotate(90deg)}`,Ag=yt` .expand-collapse-button svg{transform:rotate(180deg)}:host(.nested) .expand-collapse-button{right:var(--expand-collapse-button-nested-width,calc(${id} * -1px))}:host([selected])::after{right:calc(${mr} * 1px)}:host([expanded]) > .positioning-region .expand-collapse-button svg{transform:rotate(90deg)}`,Lg=$t`((${cr} / 2) * ${ur}) + ((${ur} * ${dr}) / 2)`,Pg=$o.create("tree-item-expand-collapse-hover").withDefault(t=>{const e=ec.getValueFor(t);return e.evaluate(t,e.evaluate(t).hover).hover}),zg=$o.create("tree-item-expand-collapse-selected-hover").withDefault(t=>{const e=Yl.getValueFor(t);return ec.getValueFor(t).evaluate(t,e.evaluate(t).rest).hover}),Hg=(t,e)=>yt` ${un("block")} :host{contain:content;position:relative;outline:none;color:${uc};fill:currentcolor;cursor:pointer;font-family:${vr};--expand-collapse-button-size:calc(${id} * 1px);--tree-item-nested-width:0}.positioning-region{display:flex;position:relative;box-sizing:border-box;background:${ic};border:calc(${fr} * 1px) solid transparent;border-radius:calc(${pr} * 1px);height:calc((${id} + 1) * 1px)}:host(:${pn}) .positioning-region{${td}}.positioning-region::before{content:'';display:block;width:var(--tree-item-nested-width);flex-shrink:0}:host(:not([disabled])) .positioning-region:hover{background:${oc}}:host(:not([disabled])) .positioning-region:active{background:${sc}}.content-region{display:inline-flex;align-items:center;white-space:nowrap;width:100%;height:calc(${id} * 1px);margin-inline-start:calc(${ur} * 2px + 8px);${qh}}.items{display:none;${""} font-size:calc(1em + (${ur} + 16) * 1px)}.expand-collapse-button{background:none;border:none;border-radius:calc(${pr} * 1px);${""} width:calc((${Lg} + (${ur} * 2)) * 1px);height:calc((${Lg} + (${ur} * 2)) * 1px);padding:0;display:flex;justify-content:center;align-items:center;cursor:pointer;margin:0 6px}.expand-collapse-button svg{transition:transform 0.1s linear;pointer-events:none}.start,.end{display:flex}.start{${""} margin-inline-end:calc(${ur} * 2px + 2px)}.end{${""} margin-inline-start:calc(${ur} * 2px + 2px)}:host(.expanded) > .items{display:block}:host([disabled]){opacity:${lr};cursor:${"not-allowed"}}:host(.nested) .content-region{position:relative;margin-inline-start:var(--expand-collapse-button-size)}:host(.nested) .expand-collapse-button{position:absolute}:host(.nested) .expand-collapse-button:hover{background:${Pg}}:host(:not([disabled])[selected]) .positioning-region{background:${Ql}}:host(:not([disabled])[selected]) .expand-collapse-button:hover{background:${zg}}:host([selected])::after{content:'';display:block;position:absolute;top:calc((${id} / 4) * 1px);width:3px;height:calc((${id} / 2) * 1px);${""} background:${hl};border-radius:calc(${pr} * 1px)}::slotted(fluent-tree-item){--tree-item-nested-width:1em;--expand-collapse-button-nested-width:calc(${id} * -1px)}`.withBehaviors(new ud(Vg,Ag),hn(yt` :host{color:${Ze.ButtonText}}.positioning-region{border-color:${Ze.ButtonFace};background:${Ze.ButtonFace}}:host(:not([disabled])) .positioning-region:hover,:host(:not([disabled])) .positioning-region:active,:host(:not([disabled])[selected]) .positioning-region{background:${Ze.Highlight}}:host .positioning-region:hover .content-region,:host([selected]) .positioning-region .content-region{forced-color-adjust:none;color:${Ze.HighlightText}}:host([disabled][selected]) .positioning-region .content-region{color:${Ze.GrayText}}:host([selected])::after{background:${Ze.HighlightText}}:host(:${pn}) .positioning-region{forced-color-adjust:none;outline-color:${Ze.ButtonFace}}:host([disabled]),:host([disabled]) .content-region,:host([disabled]) .positioning-region:hover .content-region{opacity:1;color:${Ze.GrayText}}:host(.nested) .expand-collapse-button:hover,:host(:not([disabled])[selected]) .expand-collapse-button:hover{background:${Ze.ButtonFace};fill:${Ze.ButtonText}}`)),Mg=an.compose({baseName:"tree-item",template:(t,e)=>_` t.selected?"selected":""} ${t=>t.nested?"nested":""} ${t=>t.disabled?"disabled":""}" aria-expanded="${t=>t.childItems&&t.childItemLength()>0?t.expanded:void 0}" aria-selected="${t=>t.selected}" aria-disabled="${t=>t.disabled}" @focusin="${(t,e)=>t.handleFocus(e.event)}" @focusout="${(t,e)=>t.handleBlur(e.event)}" ${Wt({property:"childItems",filter:jt()})}>

${Lt(t=>t.childItems&&t.childItemLength()>0,_`

${e.expandCollapseGlyph||""}

`)} ${Yt(0,e)}

${Xt(0,e)}

${Lt(t=>t.childItems&&t.childItemLength()>0&&(t.expanded||t.renderCollapsedChildren),_` `)} `,styles:Hg,expandCollapseGlyph:'\n \n \n \n '}),Bg=Hg,Ng={fluentAccordion:cd,fluentAccordionItem:ad,fluentAnchor:Zd,fluentAnchoredRegion:tu,fluentBadge:su,fluentBreadcrumb:au,fluentBreadcrumbItem:hu,fluentButton:gu,fluentCalendar:yu,fluentCard:wu,fluentCheckbox:Iu,fluentCombobox:Eu,fluentDataGrid:Bu,fluentDataGridCell:Pu,fluentDataGridRow:Hu,fluentDesignSystemProvider:Gu,fluentDialog:Ku,fluentDivider:Qu,fluentFlipper:tp,fluentHorizontalScroll:ap,fluentListbox:dp,fluentOption:gp,fluentMenu:bp,fluentMenuItem:$p,fluentNumberField:Fp,fluentProgress:Sp,fluentProgressRing:Vp,fluentRadio:Pp,fluentRadioGroup:Mp,fluentSearch:Gp,fluentSelect:Xp,fluentSkeleton:Zp,fluentSlider:eg,fluentSliderLabel:sg,fluentSwitch:ag,fluentTabs:mg,fluentTab:dg,fluentTabPanel:gg,fluentTextArea:xg,fluentTextField:Cg,fluentToolbar:Dg,fluentTooltip:Sg,fluentTreeView:Eg,fluentTreeItem:Mg,register(t,...e){if(t)for(const i in this)"register"!==i&&this[i]().register(t,...e)}};function jg(t){return Do.getOrCreate(t).withPrefix("fluent")}const Ug=jg().register(Ng);export{Ad as AccentButtonStyles,ei as Accordion,Be as AccordionItem,Yd as Anchor,ai as AnchoredRegion,ou as Badge,hi as Breadcrumb,ci as BreadcrumbItem,pu as Button,$u as Card,Ou as Combobox,Ei as DataGrid,Ai as DataGridCell,Oi as DataGridRow,_u as DesignSystemProvider,$o as DesignToken,Bo as Dialog,ud as DirectionalStyleSheetBehavior,jo as Divider,_o as Flipper,Ug as FluentDesignSystem,rp as HorizontalScroll,Ld as HypertextStyles,Pd as LightweightButtonStyles,hp as Listbox,vp as Menu,Qo as MenuItem,Vd as NeutralButtonStyles,Cp as NumberField,fp as OptionStyles,zd as OutlineButtonStyles,Nn as PaletteRGB,Tp as Progress,Rp as ProgressRing,ds as Radio,ls as RadioGroup,zp as RadioStyles,_p as Search,Kp as Select,ws as Skeleton,Ss as Slider,Is as SliderLabel,ir as StandardLuminance,Hd as StealthButtonStyles,Ln as SwatchRGB,Rs as Switch,As as Tab,Vs as TabPanel,Ps as Tabs,yg as TextArea,kg as TextField,Fg as Toolbar,Tg as Tooltip,an as TreeItem,ln as TreeView,Wa as accentBaseColor,ul as accentFillActive,Yr as accentFillActiveDelta,pl as accentFillFocus,Qr as accentFillFocusDelta,dl as accentFillHover,Xr as accentFillHoverDelta,cl as accentFillRecipe,hl as accentFillRest,Kr as accentFillRestDelta,wl as accentForegroundActive,ta as accentForegroundActiveDelta,Fh as accentForegroundCut,Dh as accentForegroundCutLarge,kl as accentForegroundFocus,ea as accentForegroundFocusDelta,$l as accentForegroundHover,Jr as accentForegroundHoverDelta,yl as accentForegroundRecipe,xl as accentForegroundRest,Zr as accentForegroundRestDelta,Ka as accentPalette,Dl as accentStrokeControlActive,Tl as accentStrokeControlFocus,Fl as accentStrokeControlHover,Cl as accentStrokeControlRecipe,Il as accentStrokeControlRest,ld as accordionItemStyles,hd as accordionStyles,Ng as allComponents,gd as ambientShadow,Qd as anchorStyles,eu as anchoredRegionStyles,nu as badgeStyles,Rd as baseButtonStyles,cr as baseHeightMultiplier,hr as baseHorizontalSpacingMultiplier,Ud as baseInputStyles,Wr as baseLayerLuminance,vr as bodyFont,du as breadcrumbItemStyles,lu as breadcrumbStyles,fu as buttonStyles,ku as cardStyles,Fu as checkboxStyles,Ru as comboboxStyles,pr as controlCornerRadius,lh as cornerRadius,zu as dataGridCellStyles,Mu as dataGridRowStyles,Nu as dataGridStyles,dr as density,ur as designUnit,Xu as dialogStyles,ar as direction,fd as directionalShadow,lr as disabledOpacity,Zu as dividerStyles,ch as elevatedCornerRadius,md as elevation,Cd as elevationShadowCardActive,xd as elevationShadowCardActiveSize,Id as elevationShadowCardFocus,$d as elevationShadowCardFocusSize,kd as elevationShadowCardHover,yd as elevationShadowCardHoverSize,wd as elevationShadowCardRest,bd as elevationShadowCardRestSize,Ed as elevationShadowDialog,Od as elevationShadowDialogSize,Sd as elevationShadowFlyout,Td as elevationShadowFlyoutSize,vd as elevationShadowRecipe,Dd as elevationShadowTooltip,Fd as elevationShadowTooltipSize,al as fillColor,ep as flipperStyles,cd as fluentAccordion,ad as fluentAccordionItem,Zd as fluentAnchor,tu as fluentAnchoredRegion,su as fluentBadge,au as fluentBreadcrumb,hu as fluentBreadcrumbItem,gu as fluentButton,yu as fluentCalendar,wu as fluentCard,Iu as fluentCheckbox,Eu as fluentCombobox,Bu as fluentDataGrid,Pu as fluentDataGridCell,Hu as fluentDataGridRow,Gu as fluentDesignSystemProvider,Ku as fluentDialog,Qu as fluentDivider,tp as fluentFlipper,ap as fluentHorizontalScroll,dp as fluentListbox,bp as fluentMenu,$p as fluentMenuItem,Fp as fluentNumberField,gp as fluentOption,Sp as fluentProgress,Vp as fluentProgressRing,Pp as fluentRadio,Mp as fluentRadioGroup,Gp as fluentSearch,Xp as fluentSelect,Zp as fluentSkeleton,eg as fluentSlider,sg as fluentSliderLabel,ag as fluentSwitch,dg as fluentTab,gg as fluentTabPanel,mg as fluentTabs,xg as fluentTextArea,Cg as fluentTextField,Dg as fluentToolbar,Sg as fluentTooltip,Mg as fluentTreeItem,Eg as fluentTreeView,dh as focusOutlineWidth,Wc as focusStrokeInner,Gc as focusStrokeInnerRecipe,_c as focusStrokeOuter,qc as focusStrokeOuterRecipe,mr as focusStrokeWidth,td as focusTreatmentBase,ed as focusTreatmentTight,br as fontWeight,vl as foregroundOnAccentActive,Qc as foregroundOnAccentActiveLarge,bl as foregroundOnAccentFocus,Zc as foregroundOnAccentFocusLarge,ml as foregroundOnAccentHover,Yc as foregroundOnAccentHoverLarge,Kc as foregroundOnAccentLargeRecipe,gl as foregroundOnAccentRecipe,fl as foregroundOnAccentRest,Xc as foregroundOnAccentRestLarge,id as heightNumber,lp as horizontalScrollStyles,Gd as inputFilledStyles,Wd as inputForcedColorStyles,_d as inputOutlineStyles,qd as inputStateStyles,Hn as isDark,gr as layerCornerRadius,up as listboxStyles,wp as menuItemStyles,yp as menuStyles,_a as neutralBaseColor,Rh as neutralContrastFillActive,gh as neutralContrastFillActiveDelta,Vh as neutralContrastFillFocus,fh as neutralContrastFillFocusDelta,Eh as neutralContrastFillHover,ph as neutralContrastFillHoverDelta,Oh as neutralContrastFillRest,uh as neutralContrastFillRestDelta,Th as neutralDivider,$h as neutralDividerRestDelta,Rl as neutralFillActive,sa as neutralFillActiveDelta,Sh as neutralFillCard,mh as neutralFillCardDelta,Vl as neutralFillFocus,na as neutralFillFocusDelta,El as neutralFillHover,oa as neutralFillHoverDelta,zl as neutralFillInputActive,la as neutralFillInputActiveDelta,jl as neutralFillInputAltActive,ua as neutralFillInputAltActiveDelta,Ul as neutralFillInputAltFocus,pa as neutralFillInputAltFocusDelta,Nl as neutralFillInputAltHover,da as neutralFillInputAltHoverDelta,Ml as neutralFillInputAltRecipe,Bl as neutralFillInputAltRest,ha as neutralFillInputAltRestDelta,Hl as neutralFillInputFocus,ca as neutralFillInputFocusDelta,Pl as neutralFillInputHover,aa as neutralFillInputHoverDelta,Al as neutralFillInputRecipe,Ll as neutralFillInputRest,ra as neutralFillInputRestDelta,rh as neutralFillInverseActive,eh as neutralFillInverseActiveDelta,ah as neutralFillInverseFocus,ih as neutralFillInverseFocusDelta,nh as neutralFillInverseHover,th as neutralFillInverseHoverDelta,oh as neutralFillInverseRecipe,sh as neutralFillInverseRest,Jc as neutralFillInverseRestDelta,Wl as neutralFillLayerActive,ma as neutralFillLayerActiveDelta,Kl as neutralFillLayerAltRecipe,Xl as neutralFillLayerAltRest,va as neutralFillLayerAltRestDelta,Gl as neutralFillLayerHover,fa as neutralFillLayerHoverDelta,ql as neutralFillLayerRecipe,_l as neutralFillLayerRest,ga as neutralFillLayerRestDelta,Sl as neutralFillRecipe,Ol as neutralFillRest,ia as neutralFillRestDelta,Jl as neutralFillSecondaryActive,xa as neutralFillSecondaryActiveDelta,tc as neutralFillSecondaryFocus,$a as neutralFillSecondaryFocusDelta,Zl as neutralFillSecondaryHover,ya as neutralFillSecondaryHoverDelta,Yl as neutralFillSecondaryRecipe,Ql as neutralFillSecondaryRest,ba as neutralFillSecondaryRestDelta,sc as neutralFillStealthActive,Ca as neutralFillStealthActiveDelta,nc as neutralFillStealthFocus,Ia as neutralFillStealthFocusDelta,oc as neutralFillStealthHover,ka as neutralFillStealthHoverDelta,ec as neutralFillStealthRecipe,ic as neutralFillStealthRest,wa as neutralFillStealthRestDelta,cc as neutralFillStrongActive,Ta as neutralFillStrongActiveDelta,hc as neutralFillStrongFocus,Sa as neutralFillStrongFocusDelta,lc as neutralFillStrongHover,Da as neutralFillStrongHoverDelta,rc as neutralFillStrongRecipe,ac as neutralFillStrongRest,Fa as neutralFillStrongRestDelta,Ph as neutralFillToggleActive,yh as neutralFillToggleActiveDelta,zh as neutralFillToggleFocus,xh as neutralFillToggleFocusDelta,Lh as neutralFillToggleHover,bh as neutralFillToggleHoverDelta,Ah as neutralFillToggleRest,vh as neutralFillToggleRestDelta,Hh as neutralFocus,Mh as neutralFocusInnerAccent,gc as neutralForegroundActive,fc as neutralForegroundFocus,vc as neutralForegroundHint,mc as neutralForegroundHintRecipe,pc as neutralForegroundHover,dc as neutralForegroundRecipe,uc as neutralForegroundRest,tl as neutralLayer1,Ja as neutralLayer1Recipe,il as neutralLayer2,el as neutralLayer2Recipe,sl as neutralLayer3,ol as neutralLayer3Recipe,rl as neutralLayer4,nl as neutralLayer4Recipe,Ya as neutralLayerCardContainer,Xa as neutralLayerCardContainerRecipe,Za as neutralLayerFloating,Qa as neutralLayerFloatingRecipe,wh as neutralLayerL1,kh as neutralLayerL2,Ch as neutralLayerL3,Ih as neutralLayerL4,jh as neutralOutlineActive,Uh as neutralOutlineFocus,Nh as neutralOutlineHover,Bh as neutralOutlineRest,Ga as neutralPalette,$c as neutralStrokeActive,Ra as neutralStrokeActiveDelta,Fc as neutralStrokeControlActive,Pa as neutralStrokeControlActiveDelta,Dc as neutralStrokeControlFocus,za as neutralStrokeControlFocusDelta,Ic as neutralStrokeControlHover,La as neutralStrokeControlHoverDelta,kc as neutralStrokeControlRecipe,Cc as neutralStrokeControlRest,Aa as neutralStrokeControlRestDelta,Tc as neutralStrokeDividerRecipe,Sc as neutralStrokeDividerRest,Ha as neutralStrokeDividerRestDelta,wc as neutralStrokeFocus,Va as neutralStrokeFocusDelta,xc as neutralStrokeHover,Ea as neutralStrokeHoverDelta,Vc as neutralStrokeInputActive,Ac as neutralStrokeInputFocus,Rc as neutralStrokeInputHover,Oc as neutralStrokeInputRecipe,Ec as neutralStrokeInputRest,Hc as neutralStrokeLayerActive,Na as neutralStrokeLayerActiveDelta,zc as neutralStrokeLayerHover,Ba as neutralStrokeLayerHoverDelta,Lc as neutralStrokeLayerRecipe,Pc as neutralStrokeLayerRest,Ma as neutralStrokeLayerRestDelta,bc as neutralStrokeRecipe,yc as neutralStrokeRest,Oa as neutralStrokeRestDelta,jc as neutralStrokeStrongActive,Ua as neutralStrokeStrongActiveDelta,Uc as neutralStrokeStrongFocus,qa as neutralStrokeStrongFocusDelta,Nc as neutralStrokeStrongHover,ja as neutralStrokeStrongHoverDelta,Mc as neutralStrokeStrongRecipe,Bc as neutralStrokeStrongRest,Ip as numberFieldStyles,hh as outlineWidth,Ap as progressRingStyles,Op as progressStyles,jg as provideFluentDesignSystem,Bp as radioGroupStyles,Wp as searchStyles,Np as searchTemplate,Yp as selectStyles,Jp as skeletonStyles,ng as sliderLabelStyles,ig as sliderStyles,fr as strokeWidth,lg as switchStyles,fg as tabPanelStyles,ug as tabStyles,vg as tabsStyles,$g as textAreaStyles,Ig as textFieldStyles,Bg as treeItemStyles,Rg as treeViewStyles,qh as typeRampBase,xr as typeRampBaseFontSize,wr as typeRampBaseFontVariations,$r as typeRampBaseLineHeight,_h as typeRampMinus1,kr as typeRampMinus1FontSize,Ir as typeRampMinus1FontVariations,Cr as typeRampMinus1LineHeight,Gh as typeRampMinus2,Fr as typeRampMinus2FontSize,Tr as typeRampMinus2FontVariations,Dr as typeRampMinus2LineHeight,Wh as typeRampPlus1,Sr as typeRampPlus1FontSize,Er as typeRampPlus1FontVariations,Or as typeRampPlus1LineHeight,Kh as typeRampPlus2,Rr as typeRampPlus2FontSize,Ar as typeRampPlus2FontVariations,Vr as typeRampPlus2LineHeight,Xh as typeRampPlus3,Lr as typeRampPlus3FontSize,zr as typeRampPlus3FontVariations,Pr as typeRampPlus3LineHeight,Yh as typeRampPlus4,Hr as typeRampPlus4FontSize,Br as typeRampPlus4FontVariations,Mr as typeRampPlus4LineHeight,Qh as typeRampPlus5,Nr as typeRampPlus5FontSize,Ur as typeRampPlus5FontVariations,jr as typeRampPlus5LineHeight,Zh as typeRampPlus6,qr as typeRampPlus6FontSize,Gr as typeRampPlus6FontVariations,_r as typeRampPlus6LineHeight};

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4