@fluentui/web-components 3.0.0-rc.24 → 3.0.0-rc.26

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (116) hide show
  1. package/CHANGELOG.md +20 -2
  2. package/custom-elements.json +705 -323
  3. package/dist/esm/accordion/accordion.d.ts +1 -1
  4. package/dist/esm/accordion/accordion.js +1 -1
  5. package/dist/esm/accordion-item/accordion-item.d.ts +2 -2
  6. package/dist/esm/accordion-item/accordion-item.js +2 -0
  7. package/dist/esm/accordion-item/accordion-item.js.map +1 -1
  8. package/dist/esm/anchor-button/anchor-button.d.ts +2 -2
  9. package/dist/esm/anchor-button/anchor-button.js +2 -0
  10. package/dist/esm/anchor-button/anchor-button.js.map +1 -1
  11. package/dist/esm/avatar/avatar.d.ts +2 -0
  12. package/dist/esm/avatar/avatar.js +3 -1
  13. package/dist/esm/avatar/avatar.js.map +1 -1
  14. package/dist/esm/badge/badge.d.ts +6 -1
  15. package/dist/esm/badge/badge.js +6 -1
  16. package/dist/esm/badge/badge.js.map +1 -1
  17. package/dist/esm/button/button.base.d.ts +0 -9
  18. package/dist/esm/button/button.base.js +0 -3
  19. package/dist/esm/button/button.base.js.map +1 -1
  20. package/dist/esm/checkbox/checkbox.base.d.ts +3 -9
  21. package/dist/esm/checkbox/checkbox.base.js +3 -3
  22. package/dist/esm/checkbox/checkbox.base.js.map +1 -1
  23. package/dist/esm/checkbox/checkbox.d.ts +2 -2
  24. package/dist/esm/checkbox/checkbox.js +2 -2
  25. package/dist/esm/compound-button/compound-button.d.ts +3 -0
  26. package/dist/esm/compound-button/compound-button.js +3 -0
  27. package/dist/esm/compound-button/compound-button.js.map +1 -1
  28. package/dist/esm/counter-badge/counter-badge.d.ts +3 -0
  29. package/dist/esm/counter-badge/counter-badge.js +3 -0
  30. package/dist/esm/counter-badge/counter-badge.js.map +1 -1
  31. package/dist/esm/dialog/dialog.d.ts +4 -0
  32. package/dist/esm/dialog/dialog.js +4 -0
  33. package/dist/esm/dialog/dialog.js.map +1 -1
  34. package/dist/esm/dialog/dialog.template.d.ts +5 -0
  35. package/dist/esm/dialog/dialog.template.html +1 -0
  36. package/dist/esm/dialog/dialog.template.js +6 -0
  37. package/dist/esm/dialog/dialog.template.js.map +1 -1
  38. package/dist/esm/dialog-body/dialog-body.d.ts +9 -0
  39. package/dist/esm/dialog-body/dialog-body.js +9 -0
  40. package/dist/esm/dialog-body/dialog-body.js.map +1 -1
  41. package/dist/esm/drawer/drawer.d.ts +3 -4
  42. package/dist/esm/drawer/drawer.js +3 -4
  43. package/dist/esm/drawer/drawer.js.map +1 -1
  44. package/dist/esm/drawer/drawer.styles.css +15 -16
  45. package/dist/esm/drawer/drawer.styles.js +16 -17
  46. package/dist/esm/drawer/drawer.styles.js.map +1 -1
  47. package/dist/esm/dropdown/dropdown.base.d.ts +2 -0
  48. package/dist/esm/dropdown/dropdown.base.js +2 -0
  49. package/dist/esm/dropdown/dropdown.base.js.map +1 -1
  50. package/dist/esm/field/field.d.ts +7 -0
  51. package/dist/esm/field/field.js +7 -0
  52. package/dist/esm/field/field.js.map +1 -1
  53. package/dist/esm/image/image.d.ts +2 -0
  54. package/dist/esm/image/image.js +2 -0
  55. package/dist/esm/image/image.js.map +1 -1
  56. package/dist/esm/label/label.d.ts +3 -0
  57. package/dist/esm/label/label.js +3 -0
  58. package/dist/esm/label/label.js.map +1 -1
  59. package/dist/esm/menu-item/menu-item.d.ts +1 -1
  60. package/dist/esm/menu-item/menu-item.js +1 -1
  61. package/dist/esm/message-bar/message-bar.d.ts +2 -0
  62. package/dist/esm/message-bar/message-bar.js +2 -0
  63. package/dist/esm/message-bar/message-bar.js.map +1 -1
  64. package/dist/esm/option/option.d.ts +3 -0
  65. package/dist/esm/option/option.js +3 -0
  66. package/dist/esm/option/option.js.map +1 -1
  67. package/dist/esm/progress-bar/progress-bar.base.d.ts +3 -3
  68. package/dist/esm/progress-bar/progress-bar.d.ts +1 -0
  69. package/dist/esm/progress-bar/progress-bar.js +1 -0
  70. package/dist/esm/progress-bar/progress-bar.js.map +1 -1
  71. package/dist/esm/radio/radio.d.ts +3 -2
  72. package/dist/esm/radio/radio.js +3 -2
  73. package/dist/esm/radio/radio.js.map +1 -1
  74. package/dist/esm/radio-group/radio-group.base.d.ts +2 -0
  75. package/dist/esm/radio-group/radio-group.base.js +2 -0
  76. package/dist/esm/radio-group/radio-group.base.js.map +1 -1
  77. package/dist/esm/radio-group/radio-group.d.ts +1 -0
  78. package/dist/esm/radio-group/radio-group.js +1 -0
  79. package/dist/esm/radio-group/radio-group.js.map +1 -1
  80. package/dist/esm/slider/slider.d.ts +1 -1
  81. package/dist/esm/slider/slider.js +1 -1
  82. package/dist/esm/switch/switch.d.ts +1 -0
  83. package/dist/esm/switch/switch.js +1 -0
  84. package/dist/esm/switch/switch.js.map +1 -1
  85. package/dist/esm/tablist/tablist.d.ts +1 -0
  86. package/dist/esm/tablist/tablist.js +1 -0
  87. package/dist/esm/tablist/tablist.js.map +1 -1
  88. package/dist/esm/text/text.d.ts +2 -0
  89. package/dist/esm/text/text.js +2 -0
  90. package/dist/esm/text/text.js.map +1 -1
  91. package/dist/esm/text-input/text-input.base.d.ts +4 -9
  92. package/dist/esm/text-input/text-input.base.js +4 -3
  93. package/dist/esm/text-input/text-input.base.js.map +1 -1
  94. package/dist/esm/text-input/text-input.d.ts +2 -0
  95. package/dist/esm/text-input/text-input.js +2 -0
  96. package/dist/esm/text-input/text-input.js.map +1 -1
  97. package/dist/esm/text-input/text-input.template.html +0 -1
  98. package/dist/esm/text-input/text-input.template.js +0 -1
  99. package/dist/esm/text-input/text-input.template.js.map +1 -1
  100. package/dist/esm/textarea/textarea.base.d.ts +2 -2
  101. package/dist/esm/textarea/textarea.base.js +2 -2
  102. package/dist/esm/tooltip/tooltip.d.ts +2 -0
  103. package/dist/esm/tooltip/tooltip.js +2 -0
  104. package/dist/esm/tooltip/tooltip.js.map +1 -1
  105. package/dist/esm/tree-item/tree-item.base.d.ts +9 -0
  106. package/dist/esm/tree-item/tree-item.base.js +9 -0
  107. package/dist/esm/tree-item/tree-item.base.js.map +1 -1
  108. package/dist/esm/tree-item/tree-item.d.ts +15 -0
  109. package/dist/esm/tree-item/tree-item.js +15 -0
  110. package/dist/esm/tree-item/tree-item.js.map +1 -1
  111. package/dist/web-components-all.js +3 -12
  112. package/dist/web-components-all.min.js +8 -8
  113. package/dist/web-components.d.ts +114 -46
  114. package/dist/web-components.js +3 -12
  115. package/dist/web-components.min.js +6 -6
  116. package/package.json +3 -2
@@ -1,8 +1,8 @@
1
- const u=Object.freeze({prefix:"fluent",shadowRootMode:"open",registry:globalThis.customElements});function as(o){return e=>e?.nodeType!==Node.ELEMENT_NODE?!1:e.tagName.toLowerCase().endsWith(o)}function ls(...o){return o.every(e=>e instanceof HTMLElement)}const Nu={small:"small",medium:"medium",large:"large",extraLarge:"extra-large"},Tu={start:"start",end:"end"};function Cn(o,e="-accordion-item"){return as(e)(o)}const Au=`${u.prefix}-accordion-item`;let vr;const cs="fast-kernel";try{if(document.currentScript)vr=document.currentScript.getAttribute(cs);else{const o=document.getElementsByTagName("script");vr=o[o.length-1].getAttribute(cs)}}catch{vr="isolate"}let Ct;switch(vr){case"share":Ct=Object.freeze({updateQueue:1,observable:2,contextEvent:3,elementRegistry:4});break;case"share-v2":Ct=Object.freeze({updateQueue:1.2,observable:2.2,contextEvent:3.2,elementRegistry:4.2});break;default:const o=`-${Math.random().toString(36).substring(2,8)}`;Ct=Object.freeze({updateQueue:`1.2${o}`,observable:`2.2${o}`,contextEvent:`3.2${o}`,elementRegistry:`4.2${o}`});break}var Ge;(function(o){o[o.needsArrayObservation=1101]="needsArrayObservation",o[o.onlySetDOMPolicyOnce=1201]="onlySetDOMPolicyOnce",o[o.bindingInnerHTMLRequiresTrustedTypes=1202]="bindingInnerHTMLRequiresTrustedTypes",o[o.twoWayBindingRequiresObservables=1203]="twoWayBindingRequiresObservables",o[o.hostBindingWithoutHost=1204]="hostBindingWithoutHost",o[o.unsupportedBindingBehavior=1205]="unsupportedBindingBehavior",o[o.directCallToHTMLTagNotAllowed=1206]="directCallToHTMLTagNotAllowed",o[o.onlySetTemplatePolicyOnce=1207]="onlySetTemplatePolicyOnce",o[o.cannotSetTemplatePolicyAfterCompilation=1208]="cannotSetTemplatePolicyAfterCompilation",o[o.blockedByDOMPolicy=1209]="blockedByDOMPolicy",o[o.missingElementDefinition=1401]="missingElementDefinition",o[o.noRegistrationForContext=1501]="noRegistrationForContext",o[o.noFactoryForResolver=1502]="noFactoryForResolver",o[o.invalidResolverStrategy=1503]="invalidResolverStrategy",o[o.cannotAutoregisterDependency=1504]="cannotAutoregisterDependency",o[o.cannotResolveKey=1505]="cannotResolveKey",o[o.cannotConstructNativeFunction=1506]="cannotConstructNativeFunction",o[o.cannotJITRegisterNonConstructor=1507]="cannotJITRegisterNonConstructor",o[o.cannotJITRegisterIntrinsic=1508]="cannotJITRegisterIntrinsic",o[o.cannotJITRegisterInterface=1509]="cannotJITRegisterInterface",o[o.invalidResolver=1510]="invalidResolver",o[o.invalidKey=1511]="invalidKey",o[o.noDefaultResolver=1512]="noDefaultResolver",o[o.cyclicDependency=1513]="cyclicDependency",o[o.connectUpdateRequiresController=1514]="connectUpdateRequiresController"})(Ge||(Ge={}));const Pt=o=>typeof o=="function",rt=o=>typeof o=="string",zu=()=>{};var Pn=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};(function(){if(!(typeof globalThis<"u"))if(typeof Pn<"u")Pn.globalThis=Pn;else if(typeof self<"u")self.globalThis=self;else if(typeof window<"u")window.globalThis=window;else{const e=new Function("return this")();e.globalThis=e}})(),function(){"requestIdleCallback"in globalThis||(globalThis.requestIdleCallback=function(t,r){const n=Date.now();return setTimeout(()=>{t({didTimeout:r?.timeout?Date.now()-n>=r.timeout:!1,timeRemaining:()=>0})},1)},globalThis.cancelIdleCallback=function(t){clearTimeout(t)})}();const ds={configurable:!1,enumerable:!1,writable:!1};globalThis.FAST===void 0&&Reflect.defineProperty(globalThis,"FAST",Object.assign({value:Object.create(null)},ds));const U=globalThis.FAST;if(U.getById===void 0){const o=Object.create(null);Reflect.defineProperty(U,"getById",Object.assign({value(e,t){let r=o[e];return r===void 0&&(r=t?o[e]=t():null),r}},ds))}U.error===void 0&&Object.assign(U,{warn(){},error(o){return new Error(`Error ${o}`)},addMessages(){}});const _u=Object.freeze([]);function In(){const o=new Map;return Object.freeze({register(e){return o.has(e.type)?!1:(o.set(e.type,e),!0)},getByType(e){return o.get(e)},getForInstance(e){if(e!=null)return o.get(e.constructor)}})}function hs(){const o=new WeakMap;return function(e){let t=o.get(e);if(t===void 0){let r=Reflect.getPrototypeOf(e);for(;t===void 0&&r!==null;)t=o.get(r),r=Reflect.getPrototypeOf(r);t=t===void 0?[]:t.slice(0),o.set(e,t)}return t}}function It(o){o.prototype.toJSON=zu}const Z=Object.freeze({none:0,attribute:1,booleanAttribute:2,property:3,content:4,tokenList:5,event:6}),us=o=>o,Ou=globalThis.trustedTypes?globalThis.trustedTypes.createPolicy("fast-html",{createHTML:us}):{createHTML:us};let $r=Object.freeze({createHTML(o){return Ou.createHTML(o)},protect(o,e,t,r){return r}});const Fu=$r,Nt=Object.freeze({get policy(){return $r},setPolicy(o){if($r!==Fu)throw U.error(Ge.onlySetDOMPolicyOnce);$r=o},setAttribute(o,e,t){t==null?o.removeAttribute(e):o.setAttribute(e,t)},setBooleanAttribute(o,e,t){t?o.setAttribute(e,""):o.removeAttribute(e)}});class Nn{constructor(e,t){this.sub1=void 0,this.sub2=void 0,this.spillover=void 0,this.subject=e,this.sub1=t}has(e){return this.spillover===void 0?this.sub1===e||this.sub2===e:this.spillover.indexOf(e)!==-1}subscribe(e){const t=this.spillover;if(t===void 0){if(this.has(e))return;if(this.sub1===void 0){this.sub1=e;return}if(this.sub2===void 0){this.sub2=e;return}this.spillover=[this.sub1,this.sub2,e],this.sub1=void 0,this.sub2=void 0}else t.indexOf(e)===-1&&t.push(e)}unsubscribe(e){const t=this.spillover;if(t===void 0)this.sub1===e?this.sub1=void 0:this.sub2===e&&(this.sub2=void 0);else{const r=t.indexOf(e);r!==-1&&t.splice(r,1)}}notify(e){const t=this.spillover,r=this.subject;if(t===void 0){const n=this.sub1,i=this.sub2;n!==void 0&&n.handleChange(r,e),i!==void 0&&i.handleChange(r,e)}else for(let n=0,i=t.length;n<i;++n)t[n].handleChange(r,e)}}class ps{constructor(e){this.subscribers={},this.subjectSubscribers=null,this.subject=e}notify(e){var t,r;(t=this.subscribers[e])===null||t===void 0||t.notify(e),(r=this.subjectSubscribers)===null||r===void 0||r.notify(e)}subscribe(e,t){var r,n;let i;t?i=(r=this.subscribers[t])!==null&&r!==void 0?r:this.subscribers[t]=new Nn(this.subject):i=(n=this.subjectSubscribers)!==null&&n!==void 0?n:this.subjectSubscribers=new Nn(this.subject),i.subscribe(e)}unsubscribe(e,t){var r,n;t?(r=this.subscribers[t])===null||r===void 0||r.unsubscribe(e):(n=this.subjectSubscribers)===null||n===void 0||n.unsubscribe(e)}}const E=U.getById(Ct.updateQueue,()=>{const o=[],e=[],t=globalThis.requestAnimationFrame;let r=!0;function n(){if(e.length)throw e.shift()}function i(h){try{h.call()}catch(d){if(r)e.push(d),setTimeout(n,0);else throw o.length=0,d}}function s(){let d=0;for(;d<o.length;)if(i(o[d]),d++,d>1024){for(let l=0,p=o.length-d;l<p;l++)o[l]=o[l+d];o.length-=d,d=0}o.length=0}function c(h){o.push(h),o.length<2&&(r?t(s):s())}return Object.freeze({enqueue:c,next:()=>new Promise(c),process:s,setMode:h=>r=h})}),yr=Object.freeze({unknown:void 0,coupled:1}),m=U.getById(Ct.observable,()=>{const o=E.enqueue,e=/(:|&&|\|\||if|\?\.)/,t=new WeakMap;let r,n=d=>{throw U.error(Ge.needsArrayObservation)};function i(d){var l;let p=(l=d.$fastController)!==null&&l!==void 0?l:t.get(d);return p===void 0&&(Array.isArray(d)?p=n(d):t.set(d,p=new ps(d))),p}const s=hs();class c{constructor(l){this.name=l,this.field=`_${l}`,this.callback=`${l}Changed`}getValue(l){return r!==void 0&&r.watch(l,this.name),l[this.field]}setValue(l,p){const k=this.field,S=l[k];if(S!==p){l[k]=p;const Le=l[this.callback];Pt(Le)&&Le.call(l,S,p),i(l).notify(this.name)}}}class h extends Nn{constructor(l,p,k=!1){super(l,p),this.expression=l,this.isVolatileBinding=k,this.needsRefresh=!0,this.needsQueue=!0,this.isAsync=!0,this.first=this,this.last=null,this.propertySource=void 0,this.propertyName=void 0,this.notifier=void 0,this.next=void 0}setMode(l){this.isAsync=this.needsQueue=l}bind(l){this.controller=l;const p=this.observe(l.source,l.context);return!l.isBound&&this.requiresUnbind(l)&&l.onUnbind(this),p}requiresUnbind(l){return l.sourceLifetime!==yr.coupled||this.first!==this.last||this.first.propertySource!==l.source}unbind(l){this.dispose()}observe(l,p){this.needsRefresh&&this.last!==null&&this.dispose();const k=r;r=this.needsRefresh?this:void 0,this.needsRefresh=this.isVolatileBinding;let S;try{S=this.expression(l,p)}finally{r=k}return S}disconnect(){this.dispose()}dispose(){if(this.last!==null){let l=this.first;for(;l!==void 0;)l.notifier.unsubscribe(this,l.propertyName),l=l.next;this.last=null,this.needsRefresh=this.needsQueue=this.isAsync}}watch(l,p){const k=this.last,S=i(l),Le=k===null?this.first:{};if(Le.propertySource=l,Le.propertyName=p,Le.notifier=S,S.subscribe(this,p),k!==null){if(!this.needsRefresh){let Bt;r=void 0,Bt=k.propertySource[k.propertyName],r=this,l===Bt&&(this.needsRefresh=!0)}k.next=Le}this.last=Le}handleChange(){this.needsQueue?(this.needsQueue=!1,o(this)):this.isAsync||this.call()}call(){this.last!==null&&(this.needsQueue=this.isAsync,this.notify(this))}*records(){let l=this.first;for(;l!==void 0;)yield l,l=l.next}}return It(h),Object.freeze({setArrayObserverFactory(d){n=d},getNotifier:i,track(d,l){r&&r.watch(d,l)},trackVolatile(){r&&(r.needsRefresh=!0)},notify(d,l){i(d).notify(l)},defineProperty(d,l){rt(l)&&(l=new c(l)),s(d).push(l),Reflect.defineProperty(d,l.name,{enumerable:!0,get(){return l.getValue(this)},set(p){l.setValue(this,p)}})},getAccessors:s,binding(d,l,p=this.isVolatileBinding(d)){return new h(d,l,p)},isVolatileBinding(d){return e.test(d.toString())}})});function f(o,e){m.defineProperty(o,e)}function Se(o,e,t){return Object.assign({},t,{get(){return m.trackVolatile(),t.get.apply(this)}})}const gs=U.getById(Ct.contextEvent,()=>{let o=null;return{get(){return o},set(e){o=e}}}),Jt=Object.freeze({default:{index:0,length:0,get event(){return Jt.getEvent()},eventDetail(){return this.event.detail},eventTarget(){return this.event.target}},getEvent(){return gs.get()},setEvent(o){gs.set(o)}});class kr{constructor(e,t,r=!1){this.evaluate=e,this.policy=t,this.isVolatile=r}}class Eu extends kr{createObserver(e){return m.binding(this.evaluate,e,this.isVolatile)}}function Tn(o,e,t=m.isVolatileBinding(o)){return new Eu(o,e,t)}class fs extends kr{createObserver(){return this}bind(e){return this.evaluate(e.source,e.context)}}It(fs);function bs(o,e){return new fs(o,e)}const An=In(),zn=Object.freeze({getForInstance:An.getForInstance,getByType:An.getByType,define(o){return An.register({type:o}),o}});function _n(o,e,t){e.source.style.setProperty(o.targetAspect,t.bind(e))}class On{constructor(e,t){this.dataBinding=e,this.targetAspect=t}createCSS(e){return e(this),`var(${this.targetAspect})`}addedCallback(e){var t;const r=e.source;if(!r.$cssBindings){r.$cssBindings=new Map;const i=r.setAttribute;r.setAttribute=(s,c)=>{i.call(r,s,c),s==="style"&&r.$cssBindings.forEach((h,d)=>_n(d,h.controller,h.observer))}}const n=(t=e[this.targetAspect])!==null&&t!==void 0?t:e[this.targetAspect]=this.dataBinding.createObserver(this,this);n.controller=e,e.source.$cssBindings.set(this,{controller:e,observer:n})}connectedCallback(e){_n(this,e,e[this.targetAspect])}removedCallback(e){e.source.$cssBindings&&e.source.$cssBindings.delete(this)}handleChange(e,t){_n(this,t.controller,t)}}zn.define(On);let ms;function vs(o){return o.map(e=>e instanceof we?vs(e.styles):[e]).reduce((e,t)=>e.concat(t),[])}class we{get strategy(){return this._strategy===null&&this.withStrategy(ms),this._strategy}constructor(e){this.styles=e,this.targets=new WeakSet,this._strategy=null,this.behaviors=e.map(t=>t instanceof we?t.behaviors:null).reduce((t,r)=>r===null?t:t===null?r:t.concat(r),null)}addStylesTo(e){this.strategy.addStylesTo(e),this.targets.add(e)}removeStylesFrom(e){this.strategy.removeStylesFrom(e),this.targets.delete(e)}isAttachedTo(e){return this.targets.has(e)}withBehaviors(...e){return this.behaviors=this.behaviors===null?e:this.behaviors.concat(e),this}withStrategy(e){return this._strategy=new e(vs(this.styles)),this}static setDefaultStrategy(e){ms=e}static normalize(e){return e===void 0?void 0:Array.isArray(e)?new we(e):e instanceof we?e:new we([e])}}we.supportsAdoptedStyleSheets=Array.isArray(document.adoptedStyleSheets)&&"replace"in CSSStyleSheet.prototype;const Du=`${Math.random().toString(36).substring(2,8)}`;let Lu=0;const $s=()=>`--v${Du}${++Lu}`;function ys(o,e){const t=[];let r="";const n=[],i=s=>{n.push(s)};for(let s=0,c=o.length-1;s<c;++s){r+=o[s];let h=e[s];Pt(h)?h=new On(Tn(h),$s()).createCSS(i):h instanceof kr?h=new On(h,$s()).createCSS(i):zn.getForInstance(h)!==void 0&&(h=h.createCSS(i)),h instanceof we||h instanceof CSSStyleSheet?(r.trim()!==""&&(t.push(r),r=""),t.push(h)):r+=h}return r+=o[o.length-1],r.trim()!==""&&t.push(r),{styles:t,behaviors:n}}const g=(o,...e)=>{const{styles:t,behaviors:r}=ys(o,e),n=new we(t);return r.length?n.withBehaviors(...r):n};class ks{constructor(e,t){this.behaviors=t,this.css="";const r=e.reduce((n,i)=>(rt(i)?this.css+=i:n.push(i),n),[]);r.length&&(this.styles=new we(r))}createCSS(e){return this.behaviors.forEach(e),this.styles&&e(this),this.css}addedCallback(e){e.addStyles(this.styles)}removedCallback(e){e.removeStyles(this.styles)}}zn.define(ks),g.partial=(o,...e)=>{const{styles:t,behaviors:r}=ys(o,e);return new ks(t,r)};const Fn=`fast-${Math.random().toString(36).substring(2,8)}`,xr=`${Fn}{`,wo=`}${Fn}`,Mu=wo.length;let Hu=0;const So=()=>`${Fn}-${++Hu}`,xs=Object.freeze({interpolation:o=>`${xr}${o}${wo}`,attribute:o=>`${So()}="${xr}${o}${wo}"`,comment:o=>`<!--${xr}${o}${wo}-->`}),wr=Object.freeze({parse(o,e){const t=o.split(xr);if(t.length===1)return null;const r=[];for(let n=0,i=t.length;n<i;++n){const s=t[n],c=s.indexOf(wo);let h;if(c===-1)h=s;else{const d=s.substring(0,c);r.push(e[d]),h=s.substring(c+Mu)}h!==""&&r.push(h)}return r}}),En=In(),Xe=Object.freeze({getForInstance:En.getForInstance,getByType:En.getByType,define(o,e){return e=e||{},e.type=o,En.register(e),o},assignAspect(o,e){if(!e){o.aspectType=Z.content;return}switch(o.sourceAspect=e,e[0]){case":":o.targetAspect=e.substring(1),o.aspectType=o.targetAspect==="classList"?Z.tokenList:Z.property;break;case"?":o.targetAspect=e.substring(1),o.aspectType=Z.booleanAttribute;break;case"@":o.targetAspect=e.substring(1),o.aspectType=Z.event;break;default:o.targetAspect=e,o.aspectType=Z.attribute;break}}});class Dn{constructor(e){this.options=e}createHTML(e){return xs.attribute(e(this))}createBehavior(){return this}}It(Dn);const Vu=o=>o.nodeType===1,Bo=o=>o?e=>e.nodeType===1&&e.matches(o):Vu;class Ru extends Dn{get id(){return this._id}set id(e){this._id=e,this._controllerProperty=`${e}-c`}bind(e){const t=e.targets[this.targetNodeId];t[this._controllerProperty]=e,this.updateTarget(e.source,this.computeNodes(t)),this.observe(t),e.onUnbind(this)}unbind(e){const t=e.targets[this.targetNodeId];this.updateTarget(e.source,_u),this.disconnect(t),t[this._controllerProperty]=null}getSource(e){return e[this._controllerProperty].source}updateTarget(e,t){e[this.options.property]=t}computeNodes(e){let t=this.getNodes(e);return"filter"in this.options&&(t=t.filter(this.options.filter)),t}}const ws=/fe-b\$\$start\$\$(\d+)\$\$(.+)\$\$fe-b/,Ss=/fe-b\$\$end\$\$(\d+)\$\$(.+)\$\$fe-b/,Bs=/fe-repeat\$\$start\$\$(\d+)\$\$fe-repeat/,Cs=/fe-repeat\$\$end\$\$(\d+)\$\$fe-repeat/,Ps=/^(?:.{0,1000})fe-eb\$\$start\$\$(.+?)\$\$fe-eb/,Is=/fe-eb\$\$end\$\$(.{0,1000})\$\$fe-eb(?:.{0,1000})$/;function Ns(o){return o&&o.nodeType===Node.COMMENT_NODE}const Te=Object.freeze({attributeMarkerName:"data-fe-b",compactAttributeMarkerName:"data-fe-c",attributeBindingSeparator:" ",contentBindingStartMarker(o,e){return`fe-b$$start$$${o}$$${e}$$fe-b`},contentBindingEndMarker(o,e){return`fe-b$$end$$${o}$$${e}$$fe-b`},repeatStartMarker(o){return`fe-repeat$$start$$${o}$$fe-repeat`},repeatEndMarker(o){return`fe-repeat$$end$$${o}$$fe-repeat`},isContentBindingStartMarker(o){return ws.test(o)},isContentBindingEndMarker(o){return Ss.test(o)},isRepeatViewStartMarker(o){return Bs.test(o)},isRepeatViewEndMarker(o){return Cs.test(o)},isElementBoundaryStartMarker(o){return Ns(o)&&Ps.test(o.data.trim())},isElementBoundaryEndMarker(o){return Ns(o)&&Is.test(o.data)},parseAttributeBinding(o){const e=o.getAttribute(this.attributeMarkerName);return e===null?e:e.split(this.attributeBindingSeparator).map(t=>parseInt(t))},parseEnumeratedAttributeBinding(o){const e=[],t=this.attributeMarkerName.length+1,r=`${this.attributeMarkerName}-`;for(const n of o.getAttributeNames())if(n.startsWith(r)){const i=Number(n.slice(t));if(!Number.isNaN(i))e.push(i);else throw U.error(1601,{name:n,expectedFormat:`${r}<number>`})}return e.length===0?null:e},parseCompactAttributeBinding(o){const e=`${this.compactAttributeMarkerName}-`,t=o.getAttributeNames().find(h=>h.startsWith(e));if(!t)return null;const n=t.slice(e.length).split("-"),i=parseInt(n[0],10),s=parseInt(n[1],10);if(n.length!==2||Number.isNaN(i)||Number.isNaN(s)||i<0||s<1)throw U.error(1604,{name:t,expectedFormat:`${this.compactAttributeMarkerName}-{index}-{count}`});const c=[];for(let h=0;h<s;h++)c.push(i+h);return c},parseContentBindingStartMarker(o){return zs(ws,o)},parseContentBindingEndMarker(o){return zs(Ss,o)},parseRepeatStartMarker(o){return Ts(Bs,o)},parseRepeatEndMarker(o){return Ts(Cs,o)},parseElementBoundaryStartMarker(o){return As(Ps,o.trim())},parseElementBoundaryEndMarker(o){return As(Is,o)}});function Ts(o,e){const t=o.exec(e);return t===null?t:parseInt(t[1])}function As(o,e){const t=o.exec(e);return t===null?t:t[1]}function zs(o,e){const t=o.exec(e);return t===null?t:[parseInt(t[1]),t[2]]}const Sr=Symbol.for("fe-hydration");function Br(o){return o[Sr]===Sr}const Cr="defer-hydration";class _s extends Error{constructor(e,t,r){super(e),this.factories=t,this.node=r}}function Ln(o){return o.nodeType===Node.COMMENT_NODE}function Os(o){return o.nodeType===Node.TEXT_NODE}function Fs(o,e){const t=document.createRange();return t.setStart(o,0),t.setEnd(e,Ln(e)||Os(e)?e.data.length:e.childNodes.length),t}function ju(o){return o instanceof DocumentFragment&&"mode"in o}function qu(o,e,t){const r=Fs(o,e),n=r.commonAncestorContainer,i=Uu(t),s=document.createTreeWalker(n,NodeFilter.SHOW_ELEMENT+NodeFilter.SHOW_COMMENT+NodeFilter.SHOW_TEXT,{acceptNode(l){return r.comparePoint(l,0)===0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_REJECT}}),c={},h={};let d=s.currentNode=o;for(;d!==null;){switch(d.nodeType){case Node.ELEMENT_NODE:{Wu(d,t,c,i);break}case Node.COMMENT_NODE:{Gu(d,s,t,c,h,i);break}}d=s.nextNode()}return r.detach(),{targets:c,boundaries:h}}function Wu(o,e,t,r){var n,i;const s=(i=(n=Te.parseAttributeBinding(o))!==null&&n!==void 0?n:Te.parseEnumeratedAttributeBinding(o))!==null&&i!==void 0?i:Te.parseCompactAttributeBinding(o);if(s!==null){for(const c of s){const h=e[c+r];if(!h)throw new _s(`HydrationView was unable to successfully target factory on ${o.nodeName} inside ${o.getRootNode().host.nodeName}. This likely indicates a template mismatch between SSR rendering and hydration.`,e,o);Pr(h,o,t)}o.removeAttribute(Te.attributeMarkerName)}}function Gu(o,e,t,r,n,i){if(Te.isElementBoundaryStartMarker(o)){Xu(o,e);return}if(Te.isContentBindingStartMarker(o.data)){const s=Te.parseContentBindingStartMarker(o.data);if(s===null)return;const[c,h]=s,d=t[c+i],l=[];let p=e.nextSibling();o.data="";const k=p;for(;p!==null;){if(Ln(p)){const S=Te.parseContentBindingEndMarker(p.data);if(S&&S[1]===h)break}l.push(p),p=e.nextSibling()}if(p===null){const S=o.getRootNode();throw new Error(`Error hydrating Comment node inside "${ju(S)?S.host.nodeName:S.nodeName}".`)}if(p.data="",l.length===1&&Os(l[0]))Pr(d,l[0],r);else{p!==k&&p.previousSibling!==null&&(n[d.targetNodeId]={first:k,last:p.previousSibling});const S=p.parentNode.insertBefore(document.createTextNode(""),p);Pr(d,S,r)}}}function Xu(o,e){const t=Te.parseElementBoundaryStartMarker(o.data);let r=e.nextSibling();for(;r!==null;){if(Ln(r)){const n=Te.parseElementBoundaryEndMarker(r.data);if(n&&n===t)break}r=e.nextSibling()}}function Uu(o){let e=0;for(let t=0,r=o.length;t<r&&o[t].targetNodeId==="h";++t)e++;return e}function Pr(o,e,t){if(o.targetNodeId===void 0)throw new Error("Factory could not be target to the node");t[o.targetNodeId]=e}var Es;function Mn(o,e){const t=o.parentNode;let r=o,n;for(;r!==e;){if(n=r.nextSibling,!n)throw new Error(`Unmatched first/last child inside "${e.getRootNode().host.nodeName}".`);t.removeChild(r),r=n}t.removeChild(e)}class Ds{constructor(){this.index=0,this.length=0}get event(){return Jt.getEvent()}get isEven(){return this.index%2===0}get isOdd(){return this.index%2!==0}get isFirst(){return this.index===0}get isInMiddle(){return!this.isFirst&&!this.isLast}get isLast(){return this.index===this.length-1}eventDetail(){return this.event.detail}eventTarget(){return this.event.target}}class Ir extends Ds{constructor(e,t,r){super(),this.fragment=e,this.factories=t,this.targets=r,this.behaviors=null,this.unbindables=[],this.source=null,this.isBound=!1,this.sourceLifetime=yr.unknown,this.context=this,this.firstChild=e.firstChild,this.lastChild=e.lastChild}appendTo(e){e.appendChild(this.fragment)}insertBefore(e){if(this.fragment.hasChildNodes())e.parentNode.insertBefore(this.fragment,e);else{const t=this.lastChild;if(e.previousSibling===t)return;const r=e.parentNode;let n=this.firstChild,i;for(;n!==t;)i=n.nextSibling,r.insertBefore(n,e),n=i;r.insertBefore(t,e)}}remove(){const e=this.fragment,t=this.lastChild;let r=this.firstChild,n;for(;r!==t;)n=r.nextSibling,e.appendChild(r),r=n;e.appendChild(t)}dispose(){Mn(this.firstChild,this.lastChild),this.unbind()}onUnbind(e){this.unbindables.push(e)}bind(e,t=this){if(this.source===e)return;let r=this.behaviors;if(r===null){this.source=e,this.context=t,this.behaviors=r=new Array(this.factories.length);const n=this.factories;for(let i=0,s=n.length;i<s;++i){const c=n[i].createBehavior();c.bind(this),r[i]=c}}else{this.source!==null&&this.evaluateUnbindables(),this.isBound=!1,this.source=e,this.context=t;for(let n=0,i=r.length;n<i;++n)r[n].bind(this)}this.isBound=!0}unbind(){!this.isBound||this.source===null||(this.evaluateUnbindables(),this.source=null,this.context=this,this.isBound=!1)}evaluateUnbindables(){const e=this.unbindables;for(let t=0,r=e.length;t<r;++t)e[t].unbind(this);e.length=0}static disposeContiguousBatch(e){if(e.length!==0){Mn(e[0].firstChild,e[e.length-1].lastChild);for(let t=0,r=e.length;t<r;++t)e[t].unbind()}}}It(Ir),m.defineProperty(Ir.prototype,"index"),m.defineProperty(Ir.prototype,"length");const Qt={unhydrated:"unhydrated",hydrating:"hydrating",hydrated:"hydrated"};class Ku extends Error{constructor(e,t,r,n){super(e),this.factory=t,this.fragment=r,this.templateString=n}}class Yu extends Ds{get hydrationStage(){return this._hydrationStage}get targets(){return this._targets}get bindingViewBoundaries(){return this._bindingViewBoundaries}constructor(e,t,r,n){super(),this.firstChild=e,this.lastChild=t,this.sourceTemplate=r,this.hostBindingTarget=n,this[Es]=Sr,this.context=this,this.source=null,this.isBound=!1,this.sourceLifetime=yr.unknown,this.unbindables=[],this.fragment=null,this.behaviors=null,this._hydrationStage=Qt.unhydrated,this._bindingViewBoundaries={},this._targets={},this.factories=r.compile().factories}insertBefore(e){if(this.fragment!==null)if(this.fragment.hasChildNodes())e.parentNode.insertBefore(this.fragment,e);else{const t=this.lastChild;if(e.previousSibling===t)return;const r=e.parentNode;let n=this.firstChild,i;for(;n!==t;)i=n.nextSibling,r.insertBefore(n,e),n=i;r.insertBefore(t,e)}}appendTo(e){this.fragment!==null&&e.appendChild(this.fragment)}remove(){const e=this.fragment||(this.fragment=document.createDocumentFragment()),t=this.lastChild;let r=this.firstChild,n;for(;r!==t;){if(n=r.nextSibling,!n)throw new Error(`Unmatched first/last child inside "${t.getRootNode().host.nodeName}".`);e.appendChild(r),r=n}e.appendChild(t)}bind(e,t=this){var r;if(this.hydrationStage!==Qt.hydrated&&(this._hydrationStage=Qt.hydrating),this.source===e)return;let n=this.behaviors;if(n===null){this.source=e,this.context=t;try{const{targets:s,boundaries:c}=qu(this.firstChild,this.lastChild,this.factories);this._targets=s,this._bindingViewBoundaries=c}catch(s){if(s instanceof _s){let c=this.sourceTemplate.html;typeof c!="string"&&(c=c.innerHTML),s.templateString=c}throw s}this.behaviors=n=new Array(this.factories.length);const i=this.factories;for(let s=0,c=i.length;s<c;++s){const h=i[s];if(h.targetNodeId==="h"&&this.hostBindingTarget&&Pr(h,this.hostBindingTarget,this._targets),h.targetNodeId in this.targets){const d=h.createBehavior();d.bind(this),n[s]=d}else{let d=this.sourceTemplate.html;typeof d!="string"&&(d=d.innerHTML);const l=((r=this.firstChild)===null||r===void 0?void 0:r.getRootNode()).host,p=l?.nodeName||"unknown",k=h,S=[`HydrationView was unable to successfully target bindings inside "<${p.toLowerCase()}>".`,`
1
+ const u=Object.freeze({prefix:"fluent",shadowRootMode:"open",registry:globalThis.customElements});function as(o){return e=>e?.nodeType!==Node.ELEMENT_NODE?!1:e.tagName.toLowerCase().endsWith(o)}function ls(...o){return o.every(e=>e instanceof HTMLElement)}const Nu={small:"small",medium:"medium",large:"large",extraLarge:"extra-large"},Tu={start:"start",end:"end"};function Cn(o,e="-accordion-item"){return as(e)(o)}const Au=`${u.prefix}-accordion-item`;let $r;const cs="fast-kernel";try{if(document.currentScript)$r=document.currentScript.getAttribute(cs);else{const o=document.getElementsByTagName("script");$r=o[o.length-1].getAttribute(cs)}}catch{$r="isolate"}let Bt;switch($r){case"share":Bt=Object.freeze({updateQueue:1,observable:2,contextEvent:3,elementRegistry:4});break;case"share-v2":Bt=Object.freeze({updateQueue:1.2,observable:2.2,contextEvent:3.2,elementRegistry:4.2});break;default:const o=`-${Math.random().toString(36).substring(2,8)}`;Bt=Object.freeze({updateQueue:`1.2${o}`,observable:`2.2${o}`,contextEvent:`3.2${o}`,elementRegistry:`4.2${o}`});break}var Ge;(function(o){o[o.needsArrayObservation=1101]="needsArrayObservation",o[o.onlySetDOMPolicyOnce=1201]="onlySetDOMPolicyOnce",o[o.bindingInnerHTMLRequiresTrustedTypes=1202]="bindingInnerHTMLRequiresTrustedTypes",o[o.twoWayBindingRequiresObservables=1203]="twoWayBindingRequiresObservables",o[o.hostBindingWithoutHost=1204]="hostBindingWithoutHost",o[o.unsupportedBindingBehavior=1205]="unsupportedBindingBehavior",o[o.directCallToHTMLTagNotAllowed=1206]="directCallToHTMLTagNotAllowed",o[o.onlySetTemplatePolicyOnce=1207]="onlySetTemplatePolicyOnce",o[o.cannotSetTemplatePolicyAfterCompilation=1208]="cannotSetTemplatePolicyAfterCompilation",o[o.blockedByDOMPolicy=1209]="blockedByDOMPolicy",o[o.missingElementDefinition=1401]="missingElementDefinition",o[o.noRegistrationForContext=1501]="noRegistrationForContext",o[o.noFactoryForResolver=1502]="noFactoryForResolver",o[o.invalidResolverStrategy=1503]="invalidResolverStrategy",o[o.cannotAutoregisterDependency=1504]="cannotAutoregisterDependency",o[o.cannotResolveKey=1505]="cannotResolveKey",o[o.cannotConstructNativeFunction=1506]="cannotConstructNativeFunction",o[o.cannotJITRegisterNonConstructor=1507]="cannotJITRegisterNonConstructor",o[o.cannotJITRegisterIntrinsic=1508]="cannotJITRegisterIntrinsic",o[o.cannotJITRegisterInterface=1509]="cannotJITRegisterInterface",o[o.invalidResolver=1510]="invalidResolver",o[o.invalidKey=1511]="invalidKey",o[o.noDefaultResolver=1512]="noDefaultResolver",o[o.cyclicDependency=1513]="cyclicDependency",o[o.connectUpdateRequiresController=1514]="connectUpdateRequiresController"})(Ge||(Ge={}));const Ct=o=>typeof o=="function",rt=o=>typeof o=="string",zu=()=>{};var Pn=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};(function(){if(!(typeof globalThis<"u"))if(typeof Pn<"u")Pn.globalThis=Pn;else if(typeof self<"u")self.globalThis=self;else if(typeof window<"u")window.globalThis=window;else{const e=new Function("return this")();e.globalThis=e}})(),function(){"requestIdleCallback"in globalThis||(globalThis.requestIdleCallback=function(t,r){const n=Date.now();return setTimeout(()=>{t({didTimeout:r?.timeout?Date.now()-n>=r.timeout:!1,timeRemaining:()=>0})},1)},globalThis.cancelIdleCallback=function(t){clearTimeout(t)})}();const ds={configurable:!1,enumerable:!1,writable:!1};globalThis.FAST===void 0&&Reflect.defineProperty(globalThis,"FAST",Object.assign({value:Object.create(null)},ds));const U=globalThis.FAST;if(U.getById===void 0){const o=Object.create(null);Reflect.defineProperty(U,"getById",Object.assign({value(e,t){let r=o[e];return r===void 0&&(r=t?o[e]=t():null),r}},ds))}U.error===void 0&&Object.assign(U,{warn(){},error(o){return new Error(`Error ${o}`)},addMessages(){}});const _u=Object.freeze([]);function In(){const o=new Map;return Object.freeze({register(e){return o.has(e.type)?!1:(o.set(e.type,e),!0)},getByType(e){return o.get(e)},getForInstance(e){if(e!=null)return o.get(e.constructor)}})}function hs(){const o=new WeakMap;return function(e){let t=o.get(e);if(t===void 0){let r=Reflect.getPrototypeOf(e);for(;t===void 0&&r!==null;)t=o.get(r),r=Reflect.getPrototypeOf(r);t=t===void 0?[]:t.slice(0),o.set(e,t)}return t}}function Pt(o){o.prototype.toJSON=zu}const Z=Object.freeze({none:0,attribute:1,booleanAttribute:2,property:3,content:4,tokenList:5,event:6}),us=o=>o,Ou=globalThis.trustedTypes?globalThis.trustedTypes.createPolicy("fast-html",{createHTML:us}):{createHTML:us};let yr=Object.freeze({createHTML(o){return Ou.createHTML(o)},protect(o,e,t,r){return r}});const Fu=yr,It=Object.freeze({get policy(){return yr},setPolicy(o){if(yr!==Fu)throw U.error(Ge.onlySetDOMPolicyOnce);yr=o},setAttribute(o,e,t){t==null?o.removeAttribute(e):o.setAttribute(e,t)},setBooleanAttribute(o,e,t){t?o.setAttribute(e,""):o.removeAttribute(e)}});class Nn{constructor(e,t){this.sub1=void 0,this.sub2=void 0,this.spillover=void 0,this.subject=e,this.sub1=t}has(e){return this.spillover===void 0?this.sub1===e||this.sub2===e:this.spillover.indexOf(e)!==-1}subscribe(e){const t=this.spillover;if(t===void 0){if(this.has(e))return;if(this.sub1===void 0){this.sub1=e;return}if(this.sub2===void 0){this.sub2=e;return}this.spillover=[this.sub1,this.sub2,e],this.sub1=void 0,this.sub2=void 0}else t.indexOf(e)===-1&&t.push(e)}unsubscribe(e){const t=this.spillover;if(t===void 0)this.sub1===e?this.sub1=void 0:this.sub2===e&&(this.sub2=void 0);else{const r=t.indexOf(e);r!==-1&&t.splice(r,1)}}notify(e){const t=this.spillover,r=this.subject;if(t===void 0){const n=this.sub1,i=this.sub2;n!==void 0&&n.handleChange(r,e),i!==void 0&&i.handleChange(r,e)}else for(let n=0,i=t.length;n<i;++n)t[n].handleChange(r,e)}}class ps{constructor(e){this.subscribers={},this.subjectSubscribers=null,this.subject=e}notify(e){var t,r;(t=this.subscribers[e])===null||t===void 0||t.notify(e),(r=this.subjectSubscribers)===null||r===void 0||r.notify(e)}subscribe(e,t){var r,n;let i;t?i=(r=this.subscribers[t])!==null&&r!==void 0?r:this.subscribers[t]=new Nn(this.subject):i=(n=this.subjectSubscribers)!==null&&n!==void 0?n:this.subjectSubscribers=new Nn(this.subject),i.subscribe(e)}unsubscribe(e,t){var r,n;t?(r=this.subscribers[t])===null||r===void 0||r.unsubscribe(e):(n=this.subjectSubscribers)===null||n===void 0||n.unsubscribe(e)}}const E=U.getById(Bt.updateQueue,()=>{const o=[],e=[],t=globalThis.requestAnimationFrame;let r=!0;function n(){if(e.length)throw e.shift()}function i(h){try{h.call()}catch(d){if(r)e.push(d),setTimeout(n,0);else throw o.length=0,d}}function s(){let d=0;for(;d<o.length;)if(i(o[d]),d++,d>1024){for(let l=0,p=o.length-d;l<p;l++)o[l]=o[l+d];o.length-=d,d=0}o.length=0}function c(h){o.push(h),o.length<2&&(r?t(s):s())}return Object.freeze({enqueue:c,next:()=>new Promise(c),process:s,setMode:h=>r=h})}),kr=Object.freeze({unknown:void 0,coupled:1}),m=U.getById(Bt.observable,()=>{const o=E.enqueue,e=/(:|&&|\|\||if|\?\.)/,t=new WeakMap;let r,n=d=>{throw U.error(Ge.needsArrayObservation)};function i(d){var l;let p=(l=d.$fastController)!==null&&l!==void 0?l:t.get(d);return p===void 0&&(Array.isArray(d)?p=n(d):t.set(d,p=new ps(d))),p}const s=hs();class c{constructor(l){this.name=l,this.field=`_${l}`,this.callback=`${l}Changed`}getValue(l){return r!==void 0&&r.watch(l,this.name),l[this.field]}setValue(l,p){const k=this.field,S=l[k];if(S!==p){l[k]=p;const Le=l[this.callback];Ct(Le)&&Le.call(l,S,p),i(l).notify(this.name)}}}class h extends Nn{constructor(l,p,k=!1){super(l,p),this.expression=l,this.isVolatileBinding=k,this.needsRefresh=!0,this.needsQueue=!0,this.isAsync=!0,this.first=this,this.last=null,this.propertySource=void 0,this.propertyName=void 0,this.notifier=void 0,this.next=void 0}setMode(l){this.isAsync=this.needsQueue=l}bind(l){this.controller=l;const p=this.observe(l.source,l.context);return!l.isBound&&this.requiresUnbind(l)&&l.onUnbind(this),p}requiresUnbind(l){return l.sourceLifetime!==kr.coupled||this.first!==this.last||this.first.propertySource!==l.source}unbind(l){this.dispose()}observe(l,p){this.needsRefresh&&this.last!==null&&this.dispose();const k=r;r=this.needsRefresh?this:void 0,this.needsRefresh=this.isVolatileBinding;let S;try{S=this.expression(l,p)}finally{r=k}return S}disconnect(){this.dispose()}dispose(){if(this.last!==null){let l=this.first;for(;l!==void 0;)l.notifier.unsubscribe(this,l.propertyName),l=l.next;this.last=null,this.needsRefresh=this.needsQueue=this.isAsync}}watch(l,p){const k=this.last,S=i(l),Le=k===null?this.first:{};if(Le.propertySource=l,Le.propertyName=p,Le.notifier=S,S.subscribe(this,p),k!==null){if(!this.needsRefresh){let St;r=void 0,St=k.propertySource[k.propertyName],r=this,l===St&&(this.needsRefresh=!0)}k.next=Le}this.last=Le}handleChange(){this.needsQueue?(this.needsQueue=!1,o(this)):this.isAsync||this.call()}call(){this.last!==null&&(this.needsQueue=this.isAsync,this.notify(this))}*records(){let l=this.first;for(;l!==void 0;)yield l,l=l.next}}return Pt(h),Object.freeze({setArrayObserverFactory(d){n=d},getNotifier:i,track(d,l){r&&r.watch(d,l)},trackVolatile(){r&&(r.needsRefresh=!0)},notify(d,l){i(d).notify(l)},defineProperty(d,l){rt(l)&&(l=new c(l)),s(d).push(l),Reflect.defineProperty(d,l.name,{enumerable:!0,get(){return l.getValue(this)},set(p){l.setValue(this,p)}})},getAccessors:s,binding(d,l,p=this.isVolatileBinding(d)){return new h(d,l,p)},isVolatileBinding(d){return e.test(d.toString())}})});function f(o,e){m.defineProperty(o,e)}function Se(o,e,t){return Object.assign({},t,{get(){return m.trackVolatile(),t.get.apply(this)}})}const gs=U.getById(Bt.contextEvent,()=>{let o=null;return{get(){return o},set(e){o=e}}}),Jt=Object.freeze({default:{index:0,length:0,get event(){return Jt.getEvent()},eventDetail(){return this.event.detail},eventTarget(){return this.event.target}},getEvent(){return gs.get()},setEvent(o){gs.set(o)}});class xr{constructor(e,t,r=!1){this.evaluate=e,this.policy=t,this.isVolatile=r}}class Eu extends xr{createObserver(e){return m.binding(this.evaluate,e,this.isVolatile)}}function Tn(o,e,t=m.isVolatileBinding(o)){return new Eu(o,e,t)}class fs extends xr{createObserver(){return this}bind(e){return this.evaluate(e.source,e.context)}}Pt(fs);function bs(o,e){return new fs(o,e)}const An=In(),zn=Object.freeze({getForInstance:An.getForInstance,getByType:An.getByType,define(o){return An.register({type:o}),o}});function _n(o,e,t){e.source.style.setProperty(o.targetAspect,t.bind(e))}class On{constructor(e,t){this.dataBinding=e,this.targetAspect=t}createCSS(e){return e(this),`var(${this.targetAspect})`}addedCallback(e){var t;const r=e.source;if(!r.$cssBindings){r.$cssBindings=new Map;const i=r.setAttribute;r.setAttribute=(s,c)=>{i.call(r,s,c),s==="style"&&r.$cssBindings.forEach((h,d)=>_n(d,h.controller,h.observer))}}const n=(t=e[this.targetAspect])!==null&&t!==void 0?t:e[this.targetAspect]=this.dataBinding.createObserver(this,this);n.controller=e,e.source.$cssBindings.set(this,{controller:e,observer:n})}connectedCallback(e){_n(this,e,e[this.targetAspect])}removedCallback(e){e.source.$cssBindings&&e.source.$cssBindings.delete(this)}handleChange(e,t){_n(this,t.controller,t)}}zn.define(On);let ms;function vs(o){return o.map(e=>e instanceof we?vs(e.styles):[e]).reduce((e,t)=>e.concat(t),[])}class we{get strategy(){return this._strategy===null&&this.withStrategy(ms),this._strategy}constructor(e){this.styles=e,this.targets=new WeakSet,this._strategy=null,this.behaviors=e.map(t=>t instanceof we?t.behaviors:null).reduce((t,r)=>r===null?t:t===null?r:t.concat(r),null)}addStylesTo(e){this.strategy.addStylesTo(e),this.targets.add(e)}removeStylesFrom(e){this.strategy.removeStylesFrom(e),this.targets.delete(e)}isAttachedTo(e){return this.targets.has(e)}withBehaviors(...e){return this.behaviors=this.behaviors===null?e:this.behaviors.concat(e),this}withStrategy(e){return this._strategy=new e(vs(this.styles)),this}static setDefaultStrategy(e){ms=e}static normalize(e){return e===void 0?void 0:Array.isArray(e)?new we(e):e instanceof we?e:new we([e])}}we.supportsAdoptedStyleSheets=Array.isArray(document.adoptedStyleSheets)&&"replace"in CSSStyleSheet.prototype;const Du=`${Math.random().toString(36).substring(2,8)}`;let Lu=0;const $s=()=>`--v${Du}${++Lu}`;function ys(o,e){const t=[];let r="";const n=[],i=s=>{n.push(s)};for(let s=0,c=o.length-1;s<c;++s){r+=o[s];let h=e[s];Ct(h)?h=new On(Tn(h),$s()).createCSS(i):h instanceof xr?h=new On(h,$s()).createCSS(i):zn.getForInstance(h)!==void 0&&(h=h.createCSS(i)),h instanceof we||h instanceof CSSStyleSheet?(r.trim()!==""&&(t.push(r),r=""),t.push(h)):r+=h}return r+=o[o.length-1],r.trim()!==""&&t.push(r),{styles:t,behaviors:n}}const g=(o,...e)=>{const{styles:t,behaviors:r}=ys(o,e),n=new we(t);return r.length?n.withBehaviors(...r):n};class ks{constructor(e,t){this.behaviors=t,this.css="";const r=e.reduce((n,i)=>(rt(i)?this.css+=i:n.push(i),n),[]);r.length&&(this.styles=new we(r))}createCSS(e){return this.behaviors.forEach(e),this.styles&&e(this),this.css}addedCallback(e){e.addStyles(this.styles)}removedCallback(e){e.removeStyles(this.styles)}}zn.define(ks),g.partial=(o,...e)=>{const{styles:t,behaviors:r}=ys(o,e);return new ks(t,r)};const Fn=`fast-${Math.random().toString(36).substring(2,8)}`,wr=`${Fn}{`,wo=`}${Fn}`,Mu=wo.length;let Hu=0;const So=()=>`${Fn}-${++Hu}`,xs=Object.freeze({interpolation:o=>`${wr}${o}${wo}`,attribute:o=>`${So()}="${wr}${o}${wo}"`,comment:o=>`<!--${wr}${o}${wo}-->`}),Sr=Object.freeze({parse(o,e){const t=o.split(wr);if(t.length===1)return null;const r=[];for(let n=0,i=t.length;n<i;++n){const s=t[n],c=s.indexOf(wo);let h;if(c===-1)h=s;else{const d=s.substring(0,c);r.push(e[d]),h=s.substring(c+Mu)}h!==""&&r.push(h)}return r}}),En=In(),Xe=Object.freeze({getForInstance:En.getForInstance,getByType:En.getByType,define(o,e){return e=e||{},e.type=o,En.register(e),o},assignAspect(o,e){if(!e){o.aspectType=Z.content;return}switch(o.sourceAspect=e,e[0]){case":":o.targetAspect=e.substring(1),o.aspectType=o.targetAspect==="classList"?Z.tokenList:Z.property;break;case"?":o.targetAspect=e.substring(1),o.aspectType=Z.booleanAttribute;break;case"@":o.targetAspect=e.substring(1),o.aspectType=Z.event;break;default:o.targetAspect=e,o.aspectType=Z.attribute;break}}});class Dn{constructor(e){this.options=e}createHTML(e){return xs.attribute(e(this))}createBehavior(){return this}}Pt(Dn);const Vu=o=>o.nodeType===1,Bo=o=>o?e=>e.nodeType===1&&e.matches(o):Vu;class Ru extends Dn{get id(){return this._id}set id(e){this._id=e,this._controllerProperty=`${e}-c`}bind(e){const t=e.targets[this.targetNodeId];t[this._controllerProperty]=e,this.updateTarget(e.source,this.computeNodes(t)),this.observe(t),e.onUnbind(this)}unbind(e){const t=e.targets[this.targetNodeId];this.updateTarget(e.source,_u),this.disconnect(t),t[this._controllerProperty]=null}getSource(e){return e[this._controllerProperty].source}updateTarget(e,t){e[this.options.property]=t}computeNodes(e){let t=this.getNodes(e);return"filter"in this.options&&(t=t.filter(this.options.filter)),t}}const ws=/fe-b\$\$start\$\$(\d+)\$\$(.+)\$\$fe-b/,Ss=/fe-b\$\$end\$\$(\d+)\$\$(.+)\$\$fe-b/,Bs=/fe-repeat\$\$start\$\$(\d+)\$\$fe-repeat/,Cs=/fe-repeat\$\$end\$\$(\d+)\$\$fe-repeat/,Ps=/^(?:.{0,1000})fe-eb\$\$start\$\$(.+?)\$\$fe-eb/,Is=/fe-eb\$\$end\$\$(.{0,1000})\$\$fe-eb(?:.{0,1000})$/;function Ns(o){return o&&o.nodeType===Node.COMMENT_NODE}const Ie=Object.freeze({attributeMarkerName:"data-fe-b",compactAttributeMarkerName:"data-fe-c",attributeBindingSeparator:" ",contentBindingStartMarker(o,e){return`fe-b$$start$$${o}$$${e}$$fe-b`},contentBindingEndMarker(o,e){return`fe-b$$end$$${o}$$${e}$$fe-b`},repeatStartMarker(o){return`fe-repeat$$start$$${o}$$fe-repeat`},repeatEndMarker(o){return`fe-repeat$$end$$${o}$$fe-repeat`},isContentBindingStartMarker(o){return ws.test(o)},isContentBindingEndMarker(o){return Ss.test(o)},isRepeatViewStartMarker(o){return Bs.test(o)},isRepeatViewEndMarker(o){return Cs.test(o)},isElementBoundaryStartMarker(o){return Ns(o)&&Ps.test(o.data.trim())},isElementBoundaryEndMarker(o){return Ns(o)&&Is.test(o.data)},parseAttributeBinding(o){const e=o.getAttribute(this.attributeMarkerName);return e===null?e:e.split(this.attributeBindingSeparator).map(t=>parseInt(t))},parseEnumeratedAttributeBinding(o){const e=[],t=this.attributeMarkerName.length+1,r=`${this.attributeMarkerName}-`;for(const n of o.getAttributeNames())if(n.startsWith(r)){const i=Number(n.slice(t));if(!Number.isNaN(i))e.push(i);else throw U.error(1601,{name:n,expectedFormat:`${r}<number>`})}return e.length===0?null:e},parseCompactAttributeBinding(o){const e=`${this.compactAttributeMarkerName}-`,t=o.getAttributeNames().find(h=>h.startsWith(e));if(!t)return null;const n=t.slice(e.length).split("-"),i=parseInt(n[0],10),s=parseInt(n[1],10);if(n.length!==2||Number.isNaN(i)||Number.isNaN(s)||i<0||s<1)throw U.error(1604,{name:t,expectedFormat:`${this.compactAttributeMarkerName}-{index}-{count}`});const c=[];for(let h=0;h<s;h++)c.push(i+h);return c},parseContentBindingStartMarker(o){return zs(ws,o)},parseContentBindingEndMarker(o){return zs(Ss,o)},parseRepeatStartMarker(o){return Ts(Bs,o)},parseRepeatEndMarker(o){return Ts(Cs,o)},parseElementBoundaryStartMarker(o){return As(Ps,o.trim())},parseElementBoundaryEndMarker(o){return As(Is,o)}});function Ts(o,e){const t=o.exec(e);return t===null?t:parseInt(t[1])}function As(o,e){const t=o.exec(e);return t===null?t:t[1]}function zs(o,e){const t=o.exec(e);return t===null?t:[parseInt(t[1]),t[2]]}const Br=Symbol.for("fe-hydration");function Cr(o){return o[Br]===Br}const Pr="defer-hydration";class _s extends Error{constructor(e,t,r){super(e),this.factories=t,this.node=r}}function Ln(o){return o.nodeType===Node.COMMENT_NODE}function Os(o){return o.nodeType===Node.TEXT_NODE}function Fs(o,e){const t=document.createRange();return t.setStart(o,0),t.setEnd(e,Ln(e)||Os(e)?e.data.length:e.childNodes.length),t}function ju(o){return o instanceof DocumentFragment&&"mode"in o}function qu(o,e,t){const r=Fs(o,e),n=r.commonAncestorContainer,i=Uu(t),s=document.createTreeWalker(n,NodeFilter.SHOW_ELEMENT+NodeFilter.SHOW_COMMENT+NodeFilter.SHOW_TEXT,{acceptNode(l){return r.comparePoint(l,0)===0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_REJECT}}),c={},h={};let d=s.currentNode=o;for(;d!==null;){switch(d.nodeType){case Node.ELEMENT_NODE:{Wu(d,t,c,i);break}case Node.COMMENT_NODE:{Gu(d,s,t,c,h,i);break}}d=s.nextNode()}return r.detach(),{targets:c,boundaries:h}}function Wu(o,e,t,r){var n,i;const s=(i=(n=Ie.parseAttributeBinding(o))!==null&&n!==void 0?n:Ie.parseEnumeratedAttributeBinding(o))!==null&&i!==void 0?i:Ie.parseCompactAttributeBinding(o);if(s!==null){for(const c of s){const h=e[c+r];if(!h)throw new _s(`HydrationView was unable to successfully target factory on ${o.nodeName} inside ${o.getRootNode().host.nodeName}. This likely indicates a template mismatch between SSR rendering and hydration.`,e,o);Ir(h,o,t)}o.removeAttribute(Ie.attributeMarkerName)}}function Gu(o,e,t,r,n,i){if(Ie.isElementBoundaryStartMarker(o)){Xu(o,e);return}if(Ie.isContentBindingStartMarker(o.data)){const s=Ie.parseContentBindingStartMarker(o.data);if(s===null)return;const[c,h]=s,d=t[c+i],l=[];let p=e.nextSibling();o.data="";const k=p;for(;p!==null;){if(Ln(p)){const S=Ie.parseContentBindingEndMarker(p.data);if(S&&S[1]===h)break}l.push(p),p=e.nextSibling()}if(p===null){const S=o.getRootNode();throw new Error(`Error hydrating Comment node inside "${ju(S)?S.host.nodeName:S.nodeName}".`)}if(p.data="",l.length===1&&Os(l[0]))Ir(d,l[0],r);else{p!==k&&p.previousSibling!==null&&(n[d.targetNodeId]={first:k,last:p.previousSibling});const S=p.parentNode.insertBefore(document.createTextNode(""),p);Ir(d,S,r)}}}function Xu(o,e){const t=Ie.parseElementBoundaryStartMarker(o.data);let r=e.nextSibling();for(;r!==null;){if(Ln(r)){const n=Ie.parseElementBoundaryEndMarker(r.data);if(n&&n===t)break}r=e.nextSibling()}}function Uu(o){let e=0;for(let t=0,r=o.length;t<r&&o[t].targetNodeId==="h";++t)e++;return e}function Ir(o,e,t){if(o.targetNodeId===void 0)throw new Error("Factory could not be target to the node");t[o.targetNodeId]=e}var Es;function Mn(o,e){const t=o.parentNode;let r=o,n;for(;r!==e;){if(n=r.nextSibling,!n)throw new Error(`Unmatched first/last child inside "${e.getRootNode().host.nodeName}".`);t.removeChild(r),r=n}t.removeChild(e)}class Ds{constructor(){this.index=0,this.length=0}get event(){return Jt.getEvent()}get isEven(){return this.index%2===0}get isOdd(){return this.index%2!==0}get isFirst(){return this.index===0}get isInMiddle(){return!this.isFirst&&!this.isLast}get isLast(){return this.index===this.length-1}eventDetail(){return this.event.detail}eventTarget(){return this.event.target}}class Nr extends Ds{constructor(e,t,r){super(),this.fragment=e,this.factories=t,this.targets=r,this.behaviors=null,this.unbindables=[],this.source=null,this.isBound=!1,this.sourceLifetime=kr.unknown,this.context=this,this.firstChild=e.firstChild,this.lastChild=e.lastChild}appendTo(e){e.appendChild(this.fragment)}insertBefore(e){if(this.fragment.hasChildNodes())e.parentNode.insertBefore(this.fragment,e);else{const t=this.lastChild;if(e.previousSibling===t)return;const r=e.parentNode;let n=this.firstChild,i;for(;n!==t;)i=n.nextSibling,r.insertBefore(n,e),n=i;r.insertBefore(t,e)}}remove(){const e=this.fragment,t=this.lastChild;let r=this.firstChild,n;for(;r!==t;)n=r.nextSibling,e.appendChild(r),r=n;e.appendChild(t)}dispose(){Mn(this.firstChild,this.lastChild),this.unbind()}onUnbind(e){this.unbindables.push(e)}bind(e,t=this){if(this.source===e)return;let r=this.behaviors;if(r===null){this.source=e,this.context=t,this.behaviors=r=new Array(this.factories.length);const n=this.factories;for(let i=0,s=n.length;i<s;++i){const c=n[i].createBehavior();c.bind(this),r[i]=c}}else{this.source!==null&&this.evaluateUnbindables(),this.isBound=!1,this.source=e,this.context=t;for(let n=0,i=r.length;n<i;++n)r[n].bind(this)}this.isBound=!0}unbind(){!this.isBound||this.source===null||(this.evaluateUnbindables(),this.source=null,this.context=this,this.isBound=!1)}evaluateUnbindables(){const e=this.unbindables;for(let t=0,r=e.length;t<r;++t)e[t].unbind(this);e.length=0}static disposeContiguousBatch(e){if(e.length!==0){Mn(e[0].firstChild,e[e.length-1].lastChild);for(let t=0,r=e.length;t<r;++t)e[t].unbind()}}}Pt(Nr),m.defineProperty(Nr.prototype,"index"),m.defineProperty(Nr.prototype,"length");const Qt={unhydrated:"unhydrated",hydrating:"hydrating",hydrated:"hydrated"};class Ku extends Error{constructor(e,t,r,n){super(e),this.factory=t,this.fragment=r,this.templateString=n}}class Yu extends Ds{get hydrationStage(){return this._hydrationStage}get targets(){return this._targets}get bindingViewBoundaries(){return this._bindingViewBoundaries}constructor(e,t,r,n){super(),this.firstChild=e,this.lastChild=t,this.sourceTemplate=r,this.hostBindingTarget=n,this[Es]=Br,this.context=this,this.source=null,this.isBound=!1,this.sourceLifetime=kr.unknown,this.unbindables=[],this.fragment=null,this.behaviors=null,this._hydrationStage=Qt.unhydrated,this._bindingViewBoundaries={},this._targets={},this.factories=r.compile().factories}insertBefore(e){if(this.fragment!==null)if(this.fragment.hasChildNodes())e.parentNode.insertBefore(this.fragment,e);else{const t=this.lastChild;if(e.previousSibling===t)return;const r=e.parentNode;let n=this.firstChild,i;for(;n!==t;)i=n.nextSibling,r.insertBefore(n,e),n=i;r.insertBefore(t,e)}}appendTo(e){this.fragment!==null&&e.appendChild(this.fragment)}remove(){const e=this.fragment||(this.fragment=document.createDocumentFragment()),t=this.lastChild;let r=this.firstChild,n;for(;r!==t;){if(n=r.nextSibling,!n)throw new Error(`Unmatched first/last child inside "${t.getRootNode().host.nodeName}".`);e.appendChild(r),r=n}e.appendChild(t)}bind(e,t=this){var r;if(this.hydrationStage!==Qt.hydrated&&(this._hydrationStage=Qt.hydrating),this.source===e)return;let n=this.behaviors;if(n===null){this.source=e,this.context=t;try{const{targets:s,boundaries:c}=qu(this.firstChild,this.lastChild,this.factories);this._targets=s,this._bindingViewBoundaries=c}catch(s){if(s instanceof _s){let c=this.sourceTemplate.html;typeof c!="string"&&(c=c.innerHTML),s.templateString=c}throw s}this.behaviors=n=new Array(this.factories.length);const i=this.factories;for(let s=0,c=i.length;s<c;++s){const h=i[s];if(h.targetNodeId==="h"&&this.hostBindingTarget&&Ir(h,this.hostBindingTarget,this._targets),h.targetNodeId in this.targets){const d=h.createBehavior();d.bind(this),n[s]=d}else{let d=this.sourceTemplate.html;typeof d!="string"&&(d=d.innerHTML);const l=((r=this.firstChild)===null||r===void 0?void 0:r.getRootNode()).host,p=l?.nodeName||"unknown",k=h,S=[`HydrationView was unable to successfully target bindings inside "<${p.toLowerCase()}>".`,`
2
2
  Mismatch Details:`,` - Expected target node ID: "${h.targetNodeId}"`,` - Available target IDs: [${Object.keys(this.targets).join(", ")||"none"}]`];throw h.targetTagName&&S.push(` - Expected tag name: "${h.targetTagName}"`),k.sourceAspect&&S.push(` - Source aspect: "${k.sourceAspect}"`),k.aspectType!==void 0&&S.push(` - Aspect type: ${k.aspectType}`),S.push(`
3
3
  This usually means:`," 1. The server-rendered HTML doesn't match the client template"," 2. The hydration markers are missing or corrupted"," 3. The DOM structure was modified before hydration",`
4
4
  Template: ${d.slice(0,200)}${d.length>200?"...":""}`),new Ku(S.join(`
5
- `),h,Fs(this.firstChild,this.lastChild).cloneContents(),d)}}}else{this.source!==null&&this.evaluateUnbindables(),this.isBound=!1,this.source=e,this.context=t;for(let i=0,s=n.length;i<s;++i)n[i].bind(this)}this.isBound=!0,this._hydrationStage=Qt.hydrated}unbind(){!this.isBound||this.source===null||(this.evaluateUnbindables(),this.source=null,this.context=this,this.isBound=!1)}dispose(){Mn(this.firstChild,this.lastChild),this.unbind()}onUnbind(e){this.unbindables.push(e)}evaluateUnbindables(){const e=this.unbindables;for(let t=0,r=e.length;t<r;++t)e[t].unbind(this);e.length=0}}Es=Sr,It(Yu);function Ju(o){return o.create!==void 0}function Qu(o,e,t,r){if(t==null&&(t=""),Ju(t)){o.textContent="";let n=o.$fastView;if(n===void 0)if(Br(r)&&Br(t)&&r.bindingViewBoundaries[this.targetNodeId]!==void 0&&r.hydrationStage!==Qt.hydrated){const i=r.bindingViewBoundaries[this.targetNodeId];n=t.hydrate(i.first,i.last)}else n=t.create();else o.$fastTemplate!==t&&(n.isComposed&&(n.remove(),n.unbind()),n=t.create());n.isComposed?n.needsBindOnly&&(n.needsBindOnly=!1,n.bind(r.source,r.context)):(n.isComposed=!0,n.bind(r.source,r.context),n.insertBefore(o),o.$fastView=n,o.$fastTemplate=t)}else{const n=o.$fastView;n!==void 0&&n.isComposed&&(n.isComposed=!1,n.remove(),n.needsBindOnly?n.needsBindOnly=!1:n.unbind()),o.textContent=t}}function Zu(o,e,t){var r;const n=`${this.id}-t`,i=(r=o[n])!==null&&r!==void 0?r:o[n]={v:0,cv:Object.create(null)},s=i.cv;let c=i.v;const h=o[e];if(t!=null&&t.length){const d=t.split(/\s+/);for(let l=0,p=d.length;l<p;++l){const k=d[l];k!==""&&(s[k]=c,h.add(k))}}if(i.v=c+1,c!==0){c-=1;for(const d in s)s[d]===c&&h.remove(d)}}const ep={[Z.attribute]:Nt.setAttribute,[Z.booleanAttribute]:Nt.setBooleanAttribute,[Z.property]:(o,e,t)=>o[e]=t,[Z.content]:Qu,[Z.tokenList]:Zu,[Z.event]:()=>{}};class Zt{constructor(e){this.dataBinding=e,this.updateTarget=null,this.aspectType=Z.content}createHTML(e){return xs.interpolation(e(this))}createBehavior(){var e;if(this.updateTarget===null){const t=ep[this.aspectType],r=(e=this.dataBinding.policy)!==null&&e!==void 0?e:this.policy;if(!t)throw U.error(Ge.unsupportedBindingBehavior);this.data=`${this.id}-d`,this.updateTarget=r.protect(this.targetTagName,this.aspectType,this.targetAspect,t)}return this}bind(e){var t;const r=e.targets[this.targetNodeId],n=Br(e)&&e.hydrationStage&&e.hydrationStage!==Qt.hydrated;switch(this.aspectType){case Z.event:r[this.data]=e,r.addEventListener(this.targetAspect,this,this.dataBinding.options);break;case Z.content:e.onUnbind(this);default:{const i=(t=r[this.data])!==null&&t!==void 0?t:r[this.data]=this.dataBinding.createObserver(this,this);if(i.target=r,i.controller=e,n&&(this.aspectType===Z.attribute||this.aspectType===Z.booleanAttribute)){i.bind(e);break}this.updateTarget(r,this.targetAspect,i.bind(e),e);break}}}unbind(e){const r=e.targets[this.targetNodeId].$fastView;r!==void 0&&r.isComposed&&(r.unbind(),r.needsBindOnly=!0)}handleEvent(e){const t=e.currentTarget[this.data];if(t.isBound){Jt.setEvent(e);const r=this.dataBinding.evaluate(t.source,t.context);Jt.setEvent(null),r!==!0&&e.preventDefault()}}handleChange(e,t){const r=t.controller;if(!r.isBound)return;const n=t.target;this.updateTarget(n,this.targetAspect,t.bind(r),r)}}Xe.define(Zt,{aspected:!0});const Ls=(o,e)=>`${o}.${e}`,Ms={},Ue={index:0,node:null};function Hs(o){o.startsWith("fast-")||U.warn(Ge.hostBindingWithoutHost,{name:o})}const tp=new Proxy(document.createElement("div"),{get(o,e){Hs(e);const t=Reflect.get(o,e);return Pt(t)?t.bind(o):t},set(o,e,t){return Hs(e),Reflect.set(o,e,t)}});class op{constructor(e,t,r){this.fragment=e,this.directives=t,this.policy=r,this.proto=null,this.nodeIds=new Set,this.descriptors={},this.factories=[]}addFactory(e,t,r,n,i){var s,c;this.nodeIds.has(r)||(this.nodeIds.add(r),this.addTargetDescriptor(t,r,n)),e.id=(s=e.id)!==null&&s!==void 0?s:So(),e.targetNodeId=r,e.targetTagName=i,e.policy=(c=e.policy)!==null&&c!==void 0?c:this.policy,this.factories.push(e)}freeze(){return this.proto=Object.create(null,this.descriptors),this}addTargetDescriptor(e,t,r){const n=this.descriptors;if(t==="r"||t==="h"||n[t])return;if(!n[e]){const s=e.lastIndexOf("."),c=e.substring(0,s),h=parseInt(e.substring(s+1),10);this.addTargetDescriptor(c,e,h)}let i=Ms[t];if(!i){const s=`_${t}`;Ms[t]=i={get(){var c;return(c=this[s])!==null&&c!==void 0?c:this[s]=this[e].childNodes[r]}}}n[t]=i}createView(e){const t=this.fragment.cloneNode(!0),r=Object.create(this.proto);r.r=t,r.h=e??tp;for(const n of this.nodeIds)Reflect.get(r,n);return new Ir(t,this.factories,r)}}function Vs(o,e,t,r,n,i=!1){const s=t.attributes,c=o.directives;for(let h=0,d=s.length;h<d;++h){const l=s[h],p=l.value,k=wr.parse(p,c);let S=null;k===null?i&&(S=new Zt(bs(()=>p,o.policy)),Xe.assignAspect(S,l.name)):S=Hn.aggregate(k,o.policy),S!==null&&(t.removeAttributeNode(l),h--,d--,o.addFactory(S,e,r,n,t.tagName))}}function rp(o,e,t,r,n){const i=wr.parse(e.textContent,o.directives);if(i===null)return Ue.node=e.nextSibling,Ue.index=n+1,Ue;let s,c=s=e;for(let h=0,d=i.length;h<d;++h){const l=i[h];h!==0&&(n++,r=Ls(t,n),s=c.parentNode.insertBefore(document.createTextNode(""),c.nextSibling)),rt(l)?s.textContent=l:(s.textContent=" ",Xe.assignAspect(l),o.addFactory(l,t,r,n,null)),c=s}return Ue.index=n+1,Ue.node=c.nextSibling,Ue}function Rs(o,e,t){let r=0,n=e.firstChild;for(;n;){const i=np(o,t,n,r);n=i.node,r=i.index}}function np(o,e,t,r){const n=Ls(e,r);switch(t.nodeType){case 1:Vs(o,e,t,n,r),Rs(o,t,n);break;case 3:return rp(o,t,e,n,r);case 8:{const i=wr.parse(t.data,o.directives);i!==null&&o.addFactory(Hn.aggregate(i),e,n,r,null);break}}return Ue.index=r+1,Ue.node=t.nextSibling,Ue}function ip(o,e){return o&&o.nodeType===8&&wr.parse(o.data,e)!==null}const js="TEMPLATE",Hn={compile(o,e,t=Nt.policy){let r;if(rt(o)){r=document.createElement(js),r.innerHTML=t.createHTML(o);const s=r.content.firstElementChild;s!==null&&s.tagName===js&&(r=s)}else r=o;!r.content.firstChild&&!r.content.lastChild&&r.content.appendChild(document.createComment(""));const n=document.adoptNode(r.content),i=new op(n,e,t);return Vs(i,"",r,"h",0,!0),(ip(n.firstChild,e)||n.childNodes.length===1&&Object.keys(e).length>0)&&n.insertBefore(document.createComment(""),n.firstChild),Rs(i,n,"r"),Ue.node=null,i.freeze()},setDefaultStrategy(o){this.compile=o},aggregate(o,e=Nt.policy){if(o.length===1)return o[0];let t,r=!1,n;const i=o.length,s=o.map(d=>rt(d)?()=>d:(t=d.sourceAspect||t,r=r||d.dataBinding.isVolatile,n=n||d.dataBinding.policy,d.dataBinding.evaluate)),c=(d,l)=>{let p="";for(let k=0;k<i;++k)p+=s[k](d,l);return p},h=new Zt(Tn(c,n??e,r));return Xe.assignAspect(h,t),h}};class qs extends Dn{bind(e){e.source[this.options]=e.targets[this.targetNodeId]}}Xe.define(qs);const A=o=>new qs(o),Ws="boolean",Gs="reflect",Nr=Object.freeze({locate:hs()}),sp={toView(o){return o?"true":"false"},fromView(o){return!(o==null||o==="false"||o===!1||o===0)}};function Xs(o){if(o==null)return null;const e=o*1;return isNaN(e)?null:e}const ae={toView(o){const e=Xs(o);return e&&e.toString()},fromView:Xs};class wn{constructor(e,t,r=t.toLowerCase(),n=Gs,i){this.guards=new Set,this.Owner=e,this.name=t,this.attribute=r,this.mode=n,this.converter=i,this.fieldName=`_${t}`,this.callbackName=`${t}Changed`,this.hasCallback=this.callbackName in e.prototype,n===Ws&&i===void 0&&(this.converter=sp)}setValue(e,t){const r=e[this.fieldName],n=this.converter;n!==void 0&&(t=n.fromView(t)),r!==t&&(e[this.fieldName]=t,this.tryReflectToAttribute(e),this.hasCallback&&e[this.callbackName](r,t),e.$fastController.notify(this.name))}getValue(e){return m.track(e,this.name),e[this.fieldName]}onAttributeChangedCallback(e,t){this.guards.has(e)||(this.guards.add(e),this.setValue(e,t),this.guards.delete(e))}tryReflectToAttribute(e){const t=this.mode,r=this.guards;r.has(e)||t==="fromView"||E.enqueue(()=>{r.add(e);const n=e[this.fieldName];switch(t){case Gs:const i=this.converter;Nt.setAttribute(e,this.attribute,i!==void 0?i.toView(n):n);break;case Ws:Nt.setBooleanAttribute(e,this.attribute,n);break}r.delete(e)})}static collect(e,...t){const r=[];t.push(Nr.locate(e));for(let n=0,i=t.length;n<i;++n){const s=t[n];if(s!==void 0)for(let c=0,h=s.length;c<h;++c){const d=s[c];rt(d)?r.push(new wn(e,d)):r.push(new wn(e,d.property,d.attribute,d.mode,d.converter))}}return r}}function a(o,e){let t;function r(n,i){arguments.length>1&&(t.property=i),Nr.locate(n.constructor).push(t)}if(arguments.length>1){t={},r(o,e);return}return t=o===void 0?{}:o,r}var ap=window&&window.__awaiter||function(o,e,t,r){function n(i){return i instanceof t?i:new t(function(s){s(i)})}return new(t||(t=Promise))(function(i,s){function c(l){try{d(r.next(l))}catch(p){s(p)}}function h(l){try{d(r.throw(l))}catch(p){s(p)}}function d(l){l.done?i(l.value):n(l.value).then(c,h)}d((r=r.apply(o,e||[])).next())})},Me;const Us={mode:"open"},Ks={},Vn=new Set,Co=U.getById(Ct.elementRegistry,()=>In()),lp={deferAndHydrate:"defer-and-hydrate"};class ge{get isDefined(){return this.platformDefined}constructor(e,t=e.definition){var r;this.platformDefined=!1,rt(t)&&(t={name:t}),this.type=e,this.name=t.name,this.template=t.template,this.templateOptions=t.templateOptions,this.registry=(r=t.registry)!==null&&r!==void 0?r:customElements;const n=e.prototype,i=wn.collect(e,t.attributes),s=new Array(i.length),c={},h={};for(let d=0,l=i.length;d<l;++d){const p=i[d];s[d]=p.attribute,c[p.name]=p,h[p.attribute]=p,m.defineProperty(n,p)}Reflect.defineProperty(e,"observedAttributes",{value:s,enumerable:!0}),this.attributes=i,this.propertyLookup=c,this.attributeLookup=h,this.shadowOptions=t.shadowOptions===void 0?Us:t.shadowOptions===null?void 0:Object.assign(Object.assign({},Us),t.shadowOptions),this.elementOptions=t.elementOptions===void 0?Ks:Object.assign(Object.assign({},Ks),t.elementOptions),this.styles=we.normalize(t.styles),Co.register(this),m.defineProperty(Me.isRegistered,this.name),Me.isRegistered[this.name]=this.type}define(e=this.registry){var t,r;const n=this.type;return e.get(this.name)||(this.platformDefined=!0,e.define(this.name,n,this.elementOptions),(r=(t=this.lifecycleCallbacks)===null||t===void 0?void 0:t.elementDidDefine)===null||r===void 0||r.call(t,this.name)),this}static compose(e,t){return Vn.has(e)||Co.getByType(e)?new Me(class extends e{},t):new Me(e,t)}static registerBaseType(e){Vn.add(e)}static composeAsync(e,t){return new Promise(r=>{(Vn.has(e)||Co.getByType(e))&&r(new Me(class extends e{},t));const n=new Me(e,t);m.getNotifier(n).subscribe({handleChange:()=>{var i,s;(s=(i=n.lifecycleCallbacks)===null||i===void 0?void 0:i.templateDidUpdate)===null||s===void 0||s.call(i,n.name),r(n)}},"template")})}}Me=ge,ge.isRegistered={},ge.getByType=Co.getByType,ge.getForInstance=Co.getForInstance,ge.registerAsync=o=>ap(void 0,void 0,void 0,function*(){return new Promise(e=>{Me.isRegistered[o]&&e(Me.isRegistered[o]),m.getNotifier(Me.isRegistered).subscribe({handleChange:()=>e(Me.isRegistered[o])},o)})}),m.defineProperty(ge.prototype,"template");const cp=/([ \x09\x0a\x0c\x0d])([^\0-\x1F\x7F-\x9F "'>=/]+)([ \x09\x0a\x0c\x0d]*=[ \x09\x0a\x0c\x0d]*(?:[^ \x09\x0a\x0c\x0d"'`<>=]*|"[^"]*|'[^']*))$/,dp=Object.create(null);class Tt{constructor(e,t=dp){this.html=e,this.factories=t}createHTML(e){const t=this.factories;for(const r in t)e(t[r]);return this.html}}Tt.empty=new Tt(""),Xe.define(Tt);function hp(o,e,t,r=Xe.getForInstance(o)){if(r.aspected){const n=cp.exec(e);n!==null&&Xe.assignAspect(o,n[2])}return o.createHTML(t)}class Sn{constructor(e,t={},r){this.policy=r,this.result=null,this.html=e,this.factories=t}compile(){return this.result===null&&(this.result=Hn.compile(this.html,this.factories,this.policy)),this.result}create(e){return this.compile().createView(e)}inline(){return new Tt(rt(this.html)?this.html:this.html.innerHTML,this.factories)}withPolicy(e){if(this.result)throw U.error(Ge.cannotSetTemplatePolicyAfterCompilation);if(this.policy)throw U.error(Ge.onlySetTemplatePolicyOnce);return this.policy=e,this}render(e,t,r){const n=this.create(r);return n.bind(e),n.appendTo(t),n}static create(e,t,r){let n="";const i=Object.create(null),s=c=>{var h;const d=(h=c.id)!==null&&h!==void 0?h:c.id=So();return i[d]=c,d};for(let c=0,h=e.length-1;c<h;++c){const d=e[c];let l=t[c],p;if(n+=d,Pt(l))l=new Zt(Tn(l));else if(l instanceof kr)l=new Zt(l);else if(!(p=Xe.getForInstance(l))){const k=l;l=new Zt(bs(()=>k))}n+=hp(l,d,s,p)}return new Sn(n+e[e.length-1],i,r)}}It(Sn);const b=(o,...e)=>{if(Array.isArray(o)&&Array.isArray(o.raw))return Sn.create(o,e);throw U.error(Ge.directCallToHTMLTagNotAllowed)};b.partial=o=>new Tt(o);const Ys="slotchange";class Js extends Ru{observe(e){e.addEventListener(Ys,this)}disconnect(e){e.removeEventListener(Ys,this)}getNodes(e){return e.assignedNodes(this.options)}handleEvent(e){const t=e.currentTarget;this.updateTarget(this.getSource(t),this.computeNodes(t))}}Xe.define(Js);function K(o){return rt(o)&&(o={property:o}),new Js(o)}class up extends MutationObserver{constructor(e){function t(r){this.callback.call(null,r.filter(n=>this.observedNodes.has(n.target)))}super(t),this.callback=e,this.observedNodes=new Set}observe(e,t){this.observedNodes.add(e),super.observe(e,t)}unobserve(e){this.observedNodes.delete(e),this.observedNodes.size<1&&this.disconnect()}}Object.freeze({create(o){const e=[],t={};let r=null,n=!1;return{source:o,context:Jt.default,targets:t,get isBound(){return n},addBehaviorFactory(i,s){var c,h,d,l;const p=i;p.id=(c=p.id)!==null&&c!==void 0?c:So(),p.targetNodeId=(h=p.targetNodeId)!==null&&h!==void 0?h:So(),p.targetTagName=(d=s.tagName)!==null&&d!==void 0?d:null,p.policy=(l=p.policy)!==null&&l!==void 0?l:Nt.policy,this.addTarget(p.targetNodeId,s),this.addBehavior(p.createBehavior())},addTarget(i,s){t[i]=s},addBehavior(i){e.push(i),n&&i.bind(this)},onUnbind(i){r===null&&(r=[]),r.push(i)},connectedCallback(i){n||(n=!0,e.forEach(s=>s.bind(this)))},disconnectedCallback(i){n&&(n=!1,r!==null&&r.forEach(s=>s.unbind(this)))}}}});const pp={bubbles:!0,composed:!0,cancelable:!0},Tr="isConnected",Qs=new WeakMap;function Po(o){var e,t;return(t=(e=o.shadowRoot)!==null&&e!==void 0?e:Qs.get(o))!==null&&t!==void 0?t:null}let Zs;var ee;(function(o){o[o.connecting=0]="connecting",o[o.connected=1]="connected",o[o.disconnecting=2]="disconnecting",o[o.disconnected=3]="disconnected"})(ee||(ee={}));class We extends ps{get isConnected(){return m.track(this,Tr),this.stage===ee.connected}get context(){var e,t;return(t=(e=this.view)===null||e===void 0?void 0:e.context)!==null&&t!==void 0?t:Jt.default}get isBound(){var e,t;return(t=(e=this.view)===null||e===void 0?void 0:e.isBound)!==null&&t!==void 0?t:!1}get sourceLifetime(){var e;return(e=this.view)===null||e===void 0?void 0:e.sourceLifetime}get template(){var e;if(this._template===null){const t=this.definition;this.source.resolveTemplate?this._template=this.source.resolveTemplate():t.template&&(this._template=(e=t.template)!==null&&e!==void 0?e:null)}return this._template}set template(e){this._template!==e&&(this._template=e,this.needsInitialization||this.renderTemplate(e))}get shadowOptions(){return this._shadowRootOptions}set shadowOptions(e){if(this._shadowRootOptions===void 0&&e!==void 0){this._shadowRootOptions=e;let t=this.source.shadowRoot;t?this.hasExistingShadowRoot=!0:(t=this.source.attachShadow(e),e.mode==="closed"&&Qs.set(this.source,t))}}get mainStyles(){var e;if(this._mainStyles===null){const t=this.definition;this.source.resolveStyles?this._mainStyles=this.source.resolveStyles():t.styles&&(this._mainStyles=(e=t.styles)!==null&&e!==void 0?e:null)}return this._mainStyles}set mainStyles(e){this._mainStyles!==e&&(this._mainStyles!==null&&this.removeStyles(this._mainStyles),this._mainStyles=e,this.needsInitialization||this.addStyles(e))}constructor(e,t){super(e),this.boundObservables=null,this.needsInitialization=!0,this.hasExistingShadowRoot=!1,this._template=null,this.stage=ee.disconnected,this.guardBehaviorConnection=!1,this.behaviors=null,this.behaviorsConnected=!1,this._mainStyles=null,this.$fastController=this,this.view=null,this.source=e,this.definition=t,this.shadowOptions=t.shadowOptions;const r=m.getAccessors(e);if(r.length>0){const n=this.boundObservables=Object.create(null);for(let i=0,s=r.length;i<s;++i){const c=r[i].name,h=e[c];h!==void 0&&(delete e[c],n[c]=h)}}}onUnbind(e){var t;(t=this.view)===null||t===void 0||t.onUnbind(e)}addBehavior(e){var t,r;const n=(t=this.behaviors)!==null&&t!==void 0?t:this.behaviors=new Map,i=(r=n.get(e))!==null&&r!==void 0?r:0;i===0?(n.set(e,1),e.addedCallback&&e.addedCallback(this),e.connectedCallback&&!this.guardBehaviorConnection&&(this.stage===ee.connected||this.stage===ee.connecting)&&e.connectedCallback(this)):n.set(e,i+1)}removeBehavior(e,t=!1){const r=this.behaviors;if(r===null)return;const n=r.get(e);n!==void 0&&(n===1||t?(r.delete(e),e.disconnectedCallback&&this.stage!==ee.disconnected&&e.disconnectedCallback(this),e.removedCallback&&e.removedCallback(this)):r.set(e,n-1))}addStyles(e){var t;if(!e)return;const r=this.source;if(e instanceof HTMLElement)((t=Po(r))!==null&&t!==void 0?t:this.source).append(e);else if(!e.isAttachedTo(r)){const n=e.behaviors;if(e.addStylesTo(r),n!==null)for(let i=0,s=n.length;i<s;++i)this.addBehavior(n[i])}}removeStyles(e){var t;if(!e)return;const r=this.source;if(e instanceof HTMLElement)((t=Po(r))!==null&&t!==void 0?t:r).removeChild(e);else if(e.isAttachedTo(r)){const n=e.behaviors;if(e.removeStylesFrom(r),n!==null)for(let i=0,s=n.length;i<s;++i)this.removeBehavior(n[i])}}connect(){this.stage===ee.disconnected&&(this.stage=ee.connecting,this.bindObservables(),this.connectBehaviors(),this.needsInitialization?(this.renderTemplate(this.template),this.addStyles(this.mainStyles),this.needsInitialization=!1):this.view!==null&&this.view.bind(this.source),this.stage=ee.connected,m.notify(this,Tr))}bindObservables(){if(this.boundObservables!==null){const e=this.source,t=this.boundObservables,r=Object.keys(t);for(let n=0,i=r.length;n<i;++n){const s=r[n];e[s]=t[s]}this.boundObservables=null}}connectBehaviors(){if(this.behaviorsConnected===!1){const e=this.behaviors;if(e!==null){this.guardBehaviorConnection=!0;for(const t of e.keys())t.connectedCallback&&t.connectedCallback(this);this.guardBehaviorConnection=!1}this.behaviorsConnected=!0}}disconnectBehaviors(){if(this.behaviorsConnected===!0){const e=this.behaviors;if(e!==null)for(const t of e.keys())t.disconnectedCallback&&t.disconnectedCallback(this);this.behaviorsConnected=!1}}disconnect(){this.stage===ee.connected&&(this.stage=ee.disconnecting,m.notify(this,Tr),this.view!==null&&this.view.unbind(),this.disconnectBehaviors(),this.stage=ee.disconnected)}onAttributeChangedCallback(e,t,r){const n=this.definition.attributeLookup[e];n!==void 0&&n.onAttributeChangedCallback(this.source,r)}emit(e,t,r){return this.stage===ee.connected?this.source.dispatchEvent(new CustomEvent(e,Object.assign(Object.assign({detail:t},pp),r))):!1}renderTemplate(e){var t;const r=this.source,n=(t=Po(r))!==null&&t!==void 0?t:r;if(this.view!==null)this.view.dispose(),this.view=null;else if(!this.needsInitialization||this.hasExistingShadowRoot){this.hasExistingShadowRoot=!1;for(let i=n.firstChild;i!==null;i=n.firstChild)n.removeChild(i)}e&&(this.view=e.render(r,n,r),this.view.sourceLifetime=yr.coupled)}static forCustomElement(e,t=!1){const r=e.$fastController;if(r!==void 0&&!t)return r;const n=ge.getForInstance(e);if(n===void 0)throw U.error(Ge.missingElementDefinition);return m.getNotifier(n).subscribe({handleChange:()=>{We.forCustomElement(e,!0),e.$fastController.connect()}},"template"),m.getNotifier(n).subscribe({handleChange:()=>{We.forCustomElement(e,!0),e.$fastController.connect()}},"shadowOptions"),e.$fastController=new Zs(e,n)}static setStrategy(e){Zs=e}}It(We),We.setStrategy(We);function Ar(o){var e;return"adoptedStyleSheets"in o?o:(e=Po(o))!==null&&e!==void 0?e:o.getRootNode()}class Bn{constructor(e){const t=Bn.styleSheetCache;this.sheets=e.map(r=>{if(r instanceof CSSStyleSheet)return r;let n=t.get(r);return n===void 0&&(n=new CSSStyleSheet,n.replaceSync(r),t.set(r,n)),n})}addStylesTo(e){ta(Ar(e),this.sheets)}removeStylesFrom(e){oa(Ar(e),this.sheets)}}Bn.styleSheetCache=new Map;let gp=0;const fp=()=>`fast-${++gp}`;function ea(o){return o===document?document.body:o}class bp{constructor(e){this.styles=e,this.styleClass=fp()}addStylesTo(e){e=ea(Ar(e));const t=this.styles,r=this.styleClass;for(let n=0;n<t.length;n++){const i=document.createElement("style");i.innerHTML=t[n],i.className=r,e.append(i)}}removeStylesFrom(e){e=ea(Ar(e));const t=e.querySelectorAll(`.${this.styleClass}`);for(let r=0,n=t.length;r<n;++r)e.removeChild(t[r])}}let ta=(o,e)=>{o.adoptedStyleSheets=[...o.adoptedStyleSheets,...e]},oa=(o,e)=>{o.adoptedStyleSheets=o.adoptedStyleSheets.filter(t=>e.indexOf(t)===-1)};if(we.supportsAdoptedStyleSheets){try{document.adoptedStyleSheets.push(),document.adoptedStyleSheets.splice(),ta=(o,e)=>{o.adoptedStyleSheets.push(...e)},oa=(o,e)=>{for(const t of e){const r=o.adoptedStyleSheets.indexOf(t);r!==-1&&o.adoptedStyleSheets.splice(r,1)}}}catch{}we.setDefaultStrategy(Bn)}else we.setDefaultStrategy(bp);const Rn="needs-hydration";class C extends We{get shadowOptions(){return super.shadowOptions}set shadowOptions(e){super.shadowOptions=e,(this.hasExistingShadowRoot||e!==void 0&&!this.template)&&this.definition.templateOptions===lp.deferAndHydrate&&(this.source.toggleAttribute(Cr,!0),this.source.toggleAttribute(Rn,!0))}addHydratingInstance(){if(!C.hydratingInstances)return;const e=this.definition.name;let t=C.hydratingInstances.get(e);t||(t=new Set,C.hydratingInstances.set(e,t)),t.add(this.source)}static config(e){return C.lifecycleCallbacks=e,this}static hydrationObserverHandler(e){for(const t of e)t.target.hasAttribute(Cr)||(C.hydrationObserver.unobserve(t.target),t.target.$fastController.connect())}static checkHydrationComplete(e){var t,r,n;if(e.didTimeout){C.idleCallbackId=requestIdleCallback(C.checkHydrationComplete,{timeout:50});return}if(((t=C.hydratingInstances)===null||t===void 0?void 0:t.size)===0){try{(n=(r=C.lifecycleCallbacks).hydrationComplete)===null||n===void 0||n.call(r)}catch{}We.setStrategy(We)}}connect(){var e,t,r,n,i,s,c;if(this.needsHydration=(e=this.needsHydration)!==null&&e!==void 0?e:this.source.hasAttribute(Rn),this.needsHydration&&this.addHydratingInstance(),this.source.hasAttribute(Cr)){this.addHydratingInstance(),C.hydrationObserver.observe(this.source,{attributeFilter:[Cr]});return}if(!this.needsHydration){super.connect(),this.removeHydratingInstance();return}if(this.stage===ee.disconnected){if(!C.hydrationStarted){C.hydrationStarted=!0;try{(r=(t=C.lifecycleCallbacks).hydrationStarted)===null||r===void 0||r.call(t)}catch{}}try{(i=(n=C.lifecycleCallbacks).elementWillHydrate)===null||i===void 0||i.call(n,this.source)}catch{}if(this.stage=ee.connecting,this.bindObservables(),this.connectBehaviors(),this.template)if(Br(this.template)){const h=this.source,d=(s=Po(h))!==null&&s!==void 0?s:h;let l=d.firstChild,p=d.lastChild;h.shadowRoot===null&&(Te.isElementBoundaryStartMarker(l)&&(l.data="",l=l.nextSibling),Te.isElementBoundaryEndMarker(p)&&(p.data="",p=p.previousSibling)),this.view=this.template.hydrate(l,p,h),(c=this.view)===null||c===void 0||c.bind(this.source)}else this.renderTemplate(this.template);this.addStyles(this.mainStyles),this.stage=ee.connected,this.source.removeAttribute(Rn),this.needsInitialization=this.needsHydration=!1,this.removeHydratingInstance(),m.notify(this,Tr)}}removeHydratingInstance(){var e,t;if(!C.hydratingInstances)return;try{(t=(e=C.lifecycleCallbacks).elementDidHydrate)===null||t===void 0||t.call(e,this.source)}catch{}const r=this.definition.name,n=C.hydratingInstances.get(r);n&&(n.delete(this.source),n.size||C.hydratingInstances.delete(r),C.idleCallbackId&&cancelIdleCallback(C.idleCallbackId),C.idleCallbackId=requestIdleCallback(C.checkHydrationComplete,{timeout:50}))}disconnect(){super.disconnect(),C.hydrationObserver.unobserve(this.source)}static install(){We.setStrategy(C)}}C.hydrationObserver=new up(C.hydrationObserverHandler),C.lifecycleCallbacks={},C.hydrationStarted=!1,C.idleCallbackId=null,C.hydratingInstances=new Map;function ra(o){const e=class extends o{constructor(){super(),We.forCustomElement(this)}$emit(t,r,n){return this.$fastController.emit(t,r,n)}connectedCallback(){this.$fastController.connect()}disconnectedCallback(){this.$fastController.disconnect()}attributeChangedCallback(t,r,n){this.$fastController.onAttributeChangedCallback(t,r,n)}};return ge.registerBaseType(e),e}function mp(o,e){return Pt(o)?ge.compose(o,e):ge.compose(this,o)}function vp(o,e){return Pt(o)?new Promise(t=>{ge.composeAsync(o,e).then(r=>{t(r)})}).then(t=>t.define().type):new Promise(t=>{ge.composeAsync(this,o).then(r=>{t(r)})}).then(t=>t.define().type)}function $p(o,e){return Pt(o)?ge.compose(o,e).define().type:ge.compose(this,o).define().type}function yp(o){return ra(o)}const x=Object.assign(ra(HTMLElement),{from:yp,define:$p,compose:mp,defineAsync:vp});function fe(o){return o?typeof o=="string"?new Tt(o):"inline"in o?o.inline():o:Tt.empty}class nt{}function it(o){return b`<slot name=end ${A("end")}>${fe(o.end)}</slot>`.inline()}function He(o){return b`<slot name=start ${A("start")}>${fe(o.start)}</slot>`.inline()}function ct(o,...e){const t=Nr.locate(o);e.forEach(r=>{Object.getOwnPropertyNames(r.prototype).forEach(i=>{i!=="constructor"&&Object.defineProperty(o.prototype,i,Object.getOwnPropertyDescriptor(r.prototype,i))}),Nr.locate(r).forEach(i=>t.push(i))})}var kp=Object.defineProperty,xp=Object.getOwnPropertyDescriptor,zr=(o,e,t,r)=>{for(var n=r>1?void 0:r?xp(e,t):e,i=o.length-1,s;i>=0;i--)(s=o[i])&&(n=(r?s(e,t,n):s(n))||n);return r&&n&&kp(e,t,n),n};class eo extends x{constructor(){super(...arguments),this.elementInternals=this.attachInternals(),this.headinglevel=2,this.expanded=!1,this.disabled=!1}}zr([a({attribute:"heading-level",mode:"fromView",converter:ae})],eo.prototype,"headinglevel",2),zr([a({mode:"boolean"})],eo.prototype,"expanded",2),zr([a({mode:"boolean"})],eo.prototype,"disabled",2),zr([f],eo.prototype,"expandbutton",2);var wp=Object.defineProperty,Sp=Object.getOwnPropertyDescriptor,jn=(o,e,t,r)=>{for(var n=r>1?void 0:r?Sp(e,t):e,i=o.length-1,s;i>=0;i--)(s=o[i])&&(n=(r?s(e,t,n):s(n))||n);return r&&n&&wp(e,t,n),n};class to extends eo{constructor(){super(...arguments),this.block=!1}}jn([a],to.prototype,"size",2),jn([a({attribute:"marker-position"})],to.prototype,"markerPosition",2),jn([a({mode:"boolean"})],to.prototype,"block",2),ct(to,nt);const Bp=":host([hidden]){display:none}";function w(o){return`${Bp}:host{display:${o}}`}const T="var(--colorNeutralForeground1)",qn="var(--colorNeutralForeground1Hover)",na="var(--colorNeutralForeground1Pressed)",Cp="var(--colorNeutralForeground1Selected)",Ae="var(--colorNeutralForeground2)",At="var(--colorNeutralForeground2Hover)",zt="var(--colorNeutralForeground2Pressed)",Io="var(--colorNeutralForeground2Selected)",No="var(--colorNeutralForeground2BrandHover)",To="var(--colorNeutralForeground2BrandPressed)",ia="var(--colorNeutralForeground2BrandSelected)",Y="var(--colorNeutralForeground3)",sa="var(--colorNeutralForeground3Hover)",aa="var(--colorNeutralForeground3Pressed)",la="var(--colorNeutralForeground3Selected)",Pp="var(--colorNeutralForeground3BrandHover)",Ip="var(--colorNeutralForeground3BrandPressed)",Np="var(--colorNeutralForeground3BrandSelected)",_r="var(--colorNeutralForeground4)",Tp="var(--colorNeutralForeground5)",Ap="var(--colorNeutralForeground5Hover)",zp="var(--colorNeutralForeground5Pressed)",_p="var(--colorNeutralForeground5Selected)",z="var(--colorNeutralForegroundDisabled)",ca="var(--colorBrandForegroundLink)",da="var(--colorBrandForegroundLinkHover)",ha="var(--colorBrandForegroundLinkPressed)",Op="var(--colorBrandForegroundLinkSelected)",ua="var(--colorNeutralForeground2Link)",pa="var(--colorNeutralForeground2LinkHover)",ga="var(--colorNeutralForeground2LinkPressed)",Fp="var(--colorNeutralForeground2LinkSelected)",Ep="var(--colorCompoundBrandForeground1)",fa="var(--colorCompoundBrandForeground1Hover)",ba="var(--colorCompoundBrandForeground1Pressed)",Ke="var(--colorNeutralForegroundOnBrand)",dt="var(--colorNeutralForegroundInverted)",ma="var(--colorNeutralForegroundInvertedHover)",va="var(--colorNeutralForegroundInvertedPressed)",Dp="var(--colorNeutralForegroundInvertedSelected)",Lp="var(--colorNeutralForegroundInverted2)",Wn="var(--colorNeutralForegroundStaticInverted)",Mp="var(--colorNeutralForegroundInvertedLink)",Hp="var(--colorNeutralForegroundInvertedLinkHover)",Vp="var(--colorNeutralForegroundInvertedLinkPressed)",Rp="var(--colorNeutralForegroundInvertedLinkSelected)",jp="var(--colorNeutralForegroundInvertedDisabled)",Ao="var(--colorBrandForeground1)",$a="var(--colorBrandForeground2)",qp="var(--colorBrandForeground2Hover)",Wp="var(--colorBrandForeground2Pressed)",ya="var(--colorNeutralForeground1Static)",Gp="var(--colorBrandForegroundInverted)",Xp="var(--colorBrandForegroundInvertedHover)",Up="var(--colorBrandForegroundInvertedPressed)",Kp="var(--colorBrandForegroundOnLight)",Yp="var(--colorBrandForegroundOnLightHover)",Jp="var(--colorBrandForegroundOnLightPressed)",Qp="var(--colorBrandForegroundOnLightSelected)",P="var(--colorNeutralBackground1)",zo="var(--colorNeutralBackground1Hover)",Or="var(--colorNeutralBackground1Pressed)",Gn="var(--colorNeutralBackground1Selected)",Zp="var(--colorNeutralBackground2)",eg="var(--colorNeutralBackground2Hover)",tg="var(--colorNeutralBackground2Pressed)",og="var(--colorNeutralBackground2Selected)",oo="var(--colorNeutralBackground3)",rg="var(--colorNeutralBackground3Hover)",ng="var(--colorNeutralBackground3Pressed)",ig="var(--colorNeutralBackground3Selected)",ka="var(--colorNeutralBackground4)",sg="var(--colorNeutralBackground4Hover)",ag="var(--colorNeutralBackground4Pressed)",lg="var(--colorNeutralBackground4Selected)",xa="var(--colorNeutralBackground5)",cg="var(--colorNeutralBackground5Hover)",dg="var(--colorNeutralBackground5Pressed)",hg="var(--colorNeutralBackground5Selected)",ro="var(--colorNeutralBackground6)",ug="var(--colorNeutralBackground7)",pg="var(--colorNeutralBackground7Hover)",gg="var(--colorNeutralBackground7Pressed)",fg="var(--colorNeutralBackground7Selected)",bg="var(--colorNeutralBackground8)",Xn="var(--colorNeutralBackgroundInverted)",mg="var(--colorNeutralBackgroundInvertedHover)",vg="var(--colorNeutralBackgroundInvertedPressed)",$g="var(--colorNeutralBackgroundInvertedSelected)",yg="var(--colorNeutralBackgroundStatic)",kg="var(--colorNeutralBackgroundAlpha)",xg="var(--colorNeutralBackgroundAlpha2)",Un="var(--colorSubtleBackground)",_o="var(--colorSubtleBackgroundHover)",no="var(--colorSubtleBackgroundPressed)",Kn="var(--colorSubtleBackgroundSelected)",wa="var(--colorSubtleBackgroundLightAlphaHover)",Sa="var(--colorSubtleBackgroundLightAlphaPressed)",Ba="var(--colorSubtleBackgroundLightAlphaSelected)",wg="var(--colorSubtleBackgroundInverted)",Sg="var(--colorSubtleBackgroundInvertedHover)",Bg="var(--colorSubtleBackgroundInvertedPressed)",Cg="var(--colorSubtleBackgroundInvertedSelected)",ce="var(--colorTransparentBackground)",Oo="var(--colorTransparentBackgroundHover)",Fo="var(--colorTransparentBackgroundPressed)",Yn="var(--colorTransparentBackgroundSelected)",st="var(--colorNeutralBackgroundDisabled)",Pg="var(--colorNeutralBackgroundDisabled2)",Ig="var(--colorNeutralBackgroundInvertedDisabled)",Ng="var(--colorNeutralStencil1)",Tg="var(--colorNeutralStencil2)",Ag="var(--colorNeutralStencil1Alpha)",zg="var(--colorNeutralStencil2Alpha)",Fr="var(--colorBackgroundOverlay)",_g="var(--colorScrollbarOverlay)",Jn="var(--colorBrandBackground)",Qn="var(--colorBrandBackgroundHover)",Zn="var(--colorBrandBackgroundPressed)",Ca="var(--colorBrandBackgroundSelected)",ht="var(--colorCompoundBrandBackground)",_t="var(--colorCompoundBrandBackgroundHover)",Ot="var(--colorCompoundBrandBackgroundPressed)",ei="var(--colorBrandBackgroundStatic)",ti="var(--colorBrandBackground2)",Og="var(--colorBrandBackground2Hover)",Fg="var(--colorBrandBackground2Pressed)",Eg="var(--colorBrandBackground3Static)",Dg="var(--colorBrandBackground4Static)",Lg="var(--colorBrandBackgroundInverted)",Mg="var(--colorBrandBackgroundInvertedHover)",Hg="var(--colorBrandBackgroundInvertedPressed)",Vg="var(--colorBrandBackgroundInvertedSelected)",Rg="var(--colorNeutralCardBackground)",jg="var(--colorNeutralCardBackgroundHover)",qg="var(--colorNeutralCardBackgroundPressed)",Wg="var(--colorNeutralCardBackgroundSelected)",Gg="var(--colorNeutralCardBackgroundDisabled)",Ve="var(--colorNeutralStrokeAccessible)",ut="var(--colorNeutralStrokeAccessibleHover)",pt="var(--colorNeutralStrokeAccessiblePressed)",Xg="var(--colorNeutralStrokeAccessibleSelected)",Re="var(--colorNeutralStroke1)",gt="var(--colorNeutralStroke1Hover)",io="var(--colorNeutralStroke1Pressed)",Ug="var(--colorNeutralStroke1Selected)",so="var(--colorNeutralStroke2)",Pa="var(--colorNeutralStroke3)",Kg="var(--colorNeutralStroke4)",Yg="var(--colorNeutralStroke4Hover)",Jg="var(--colorNeutralStroke4Pressed)",Qg="var(--colorNeutralStroke4Selected)",Zg="var(--colorNeutralStrokeSubtle)",ef="var(--colorNeutralStrokeOnBrand)",Ia="var(--colorNeutralStrokeOnBrand2)",tf="var(--colorNeutralStrokeOnBrand2Hover)",of="var(--colorNeutralStrokeOnBrand2Pressed)",rf="var(--colorNeutralStrokeOnBrand2Selected)",oi="var(--colorBrandStroke1)",ri="var(--colorBrandStroke2)",nf="var(--colorBrandStroke2Hover)",sf="var(--colorBrandStroke2Pressed)",af="var(--colorBrandStroke2Contrast)",at="var(--colorCompoundBrandStroke)",Na="var(--colorCompoundBrandStrokeHover)",ni="var(--colorCompoundBrandStrokePressed)",be="var(--colorNeutralStrokeDisabled)",lf="var(--colorNeutralStrokeDisabled2)",cf="var(--colorNeutralStrokeInvertedDisabled)",X="var(--colorTransparentStroke)",Er="var(--colorTransparentStrokeInteractive)",df="var(--colorTransparentStrokeDisabled)",hf="var(--colorNeutralStrokeAlpha)",uf="var(--colorNeutralStrokeAlpha2)",Eo="var(--colorStrokeFocus1)",de="var(--colorStrokeFocus2)",Ta="var(--colorNeutralShadowAmbient)",Aa="var(--colorNeutralShadowKey)",pf="var(--colorNeutralShadowAmbientLighter)",gf="var(--colorNeutralShadowKeyLighter)",ff="var(--colorNeutralShadowAmbientDarker)",bf="var(--colorNeutralShadowKeyDarker)",mf="var(--colorBrandShadowAmbient)",vf="var(--colorBrandShadowKey)",ii="var(--colorPaletteRedBackground1)",za="var(--colorPaletteRedBackground2)",si="var(--colorPaletteRedBackground3)",$f="var(--colorPaletteRedBorderActive)",ai="var(--colorPaletteRedBorder1)",Dr="var(--colorPaletteRedBorder2)",Lr="var(--colorPaletteRedForeground1)",_a="var(--colorPaletteRedForeground2)",li="var(--colorPaletteRedForeground3)",yf="var(--colorPaletteRedForegroundInverted)",ci="var(--colorPaletteGreenBackground1)",kf="var(--colorPaletteGreenBackground2)",di="var(--colorPaletteGreenBackground3)",xf="var(--colorPaletteGreenBorderActive)",Oa="var(--colorPaletteGreenBorder1)",Fa="var(--colorPaletteGreenBorder2)",Ea="var(--colorPaletteGreenForeground1)",Da="var(--colorPaletteGreenForeground2)",La="var(--colorPaletteGreenForeground3)",wf="var(--colorPaletteGreenForegroundInverted)",hi="var(--colorPaletteDarkOrangeBackground1)",Sf="var(--colorPaletteDarkOrangeBackground2)",ui="var(--colorPaletteDarkOrangeBackground3)",Bf="var(--colorPaletteDarkOrangeBorderActive)",pi="var(--colorPaletteDarkOrangeBorder1)",Cf="var(--colorPaletteDarkOrangeBorder2)",Ma="var(--colorPaletteDarkOrangeForeground1)",Pf="var(--colorPaletteDarkOrangeForeground2)",gi="var(--colorPaletteDarkOrangeForeground3)",Ha="var(--colorPaletteYellowBackground1)",If="var(--colorPaletteYellowBackground2)",Va="var(--colorPaletteYellowBackground3)",Nf="var(--colorPaletteYellowBorderActive)",Ra="var(--colorPaletteYellowBorder1)",Tf="var(--colorPaletteYellowBorder2)",Af="var(--colorPaletteYellowForeground1)",Mr="var(--colorPaletteYellowForeground2)",zf="var(--colorPaletteYellowForeground3)",_f="var(--colorPaletteYellowForegroundInverted)",Of="var(--colorPaletteBerryBackground1)",Ff="var(--colorPaletteBerryBackground2)",Ef="var(--colorPaletteBerryBackground3)",Df="var(--colorPaletteBerryBorderActive)",Lf="var(--colorPaletteBerryBorder1)",Mf="var(--colorPaletteBerryBorder2)",Hf="var(--colorPaletteBerryForeground1)",Vf="var(--colorPaletteBerryForeground2)",Rf="var(--colorPaletteBerryForeground3)",jf="var(--colorPaletteMarigoldBackground1)",fi="var(--colorPaletteMarigoldBackground2)",qf="var(--colorPaletteMarigoldBackground3)",ja="var(--colorPaletteMarigoldBorderActive)",Wf="var(--colorPaletteMarigoldBorder1)",Gf="var(--colorPaletteMarigoldBorder2)",Xf="var(--colorPaletteMarigoldForeground1)",qa="var(--colorPaletteMarigoldForeground2)",Uf="var(--colorPaletteMarigoldForeground3)",Kf="var(--colorPaletteLightGreenBackground1)",Yf="var(--colorPaletteLightGreenBackground2)",Jf="var(--colorPaletteLightGreenBackground3)",Qf="var(--colorPaletteLightGreenBorderActive)",Zf="var(--colorPaletteLightGreenBorder1)",eb="var(--colorPaletteLightGreenBorder2)",tb="var(--colorPaletteLightGreenForeground1)",ob="var(--colorPaletteLightGreenForeground2)",rb="var(--colorPaletteLightGreenForeground3)",Wa="var(--colorPaletteAnchorBackground2)",nb="var(--colorPaletteAnchorBorderActive)",Ga="var(--colorPaletteAnchorForeground2)",Xa="var(--colorPaletteBeigeBackground2)",ib="var(--colorPaletteBeigeBorderActive)",Ua="var(--colorPaletteBeigeForeground2)",Ka="var(--colorPaletteBlueBackground2)",sb="var(--colorPaletteBlueBorderActive)",Ya="var(--colorPaletteBlueForeground2)",Ja="var(--colorPaletteBrassBackground2)",ab="var(--colorPaletteBrassBorderActive)",Qa="var(--colorPaletteBrassForeground2)",Za="var(--colorPaletteBrownBackground2)",lb="var(--colorPaletteBrownBorderActive)",el="var(--colorPaletteBrownForeground2)",tl="var(--colorPaletteCornflowerBackground2)",cb="var(--colorPaletteCornflowerBorderActive)",ol="var(--colorPaletteCornflowerForeground2)",rl="var(--colorPaletteCranberryBackground2)",db="var(--colorPaletteCranberryBorderActive)",nl="var(--colorPaletteCranberryForeground2)",il="var(--colorPaletteDarkGreenBackground2)",hb="var(--colorPaletteDarkGreenBorderActive)",sl="var(--colorPaletteDarkGreenForeground2)",al="var(--colorPaletteDarkRedBackground2)",ub="var(--colorPaletteDarkRedBorderActive)",ll="var(--colorPaletteDarkRedForeground2)",cl="var(--colorPaletteForestBackground2)",pb="var(--colorPaletteForestBorderActive)",dl="var(--colorPaletteForestForeground2)",hl="var(--colorPaletteGoldBackground2)",gb="var(--colorPaletteGoldBorderActive)",ul="var(--colorPaletteGoldForeground2)",pl="var(--colorPaletteGrapeBackground2)",fb="var(--colorPaletteGrapeBorderActive)",gl="var(--colorPaletteGrapeForeground2)",fl="var(--colorPaletteLavenderBackground2)",bb="var(--colorPaletteLavenderBorderActive)",bl="var(--colorPaletteLavenderForeground2)",ml="var(--colorPaletteLightTealBackground2)",mb="var(--colorPaletteLightTealBorderActive)",vl="var(--colorPaletteLightTealForeground2)",$l="var(--colorPaletteLilacBackground2)",vb="var(--colorPaletteLilacBorderActive)",yl="var(--colorPaletteLilacForeground2)",kl="var(--colorPaletteMagentaBackground2)",$b="var(--colorPaletteMagentaBorderActive)",xl="var(--colorPaletteMagentaForeground2)",wl="var(--colorPaletteMinkBackground2)",yb="var(--colorPaletteMinkBorderActive)",Sl="var(--colorPaletteMinkForeground2)",Bl="var(--colorPaletteNavyBackground2)",kb="var(--colorPaletteNavyBorderActive)",Cl="var(--colorPaletteNavyForeground2)",Pl="var(--colorPalettePeachBackground2)",xb="var(--colorPalettePeachBorderActive)",Il="var(--colorPalettePeachForeground2)",Nl="var(--colorPalettePinkBackground2)",wb="var(--colorPalettePinkBorderActive)",Tl="var(--colorPalettePinkForeground2)",Al="var(--colorPalettePlatinumBackground2)",Sb="var(--colorPalettePlatinumBorderActive)",zl="var(--colorPalettePlatinumForeground2)",_l="var(--colorPalettePlumBackground2)",Bb="var(--colorPalettePlumBorderActive)",Ol="var(--colorPalettePlumForeground2)",Fl="var(--colorPalettePumpkinBackground2)",Cb="var(--colorPalettePumpkinBorderActive)",El="var(--colorPalettePumpkinForeground2)",Dl="var(--colorPalettePurpleBackground2)",Pb="var(--colorPalettePurpleBorderActive)",Ll="var(--colorPalettePurpleForeground2)",Ml="var(--colorPaletteRoyalBlueBackground2)",Ib="var(--colorPaletteRoyalBlueBorderActive)",Hl="var(--colorPaletteRoyalBlueForeground2)",Vl="var(--colorPaletteSeafoamBackground2)",Nb="var(--colorPaletteSeafoamBorderActive)",Rl="var(--colorPaletteSeafoamForeground2)",jl="var(--colorPaletteSteelBackground2)",Tb="var(--colorPaletteSteelBorderActive)",ql="var(--colorPaletteSteelForeground2)",Wl="var(--colorPaletteTealBackground2)",Ab="var(--colorPaletteTealBorderActive)",Gl="var(--colorPaletteTealForeground2)",zb="var(--colorStatusSuccessBackground1)",_b="var(--colorStatusSuccessBackground2)",Ob="var(--colorStatusSuccessBackground3)",Fb="var(--colorStatusSuccessForeground1)",Eb="var(--colorStatusSuccessForeground2)",Db="var(--colorStatusSuccessForeground3)",Lb="var(--colorStatusSuccessForegroundInverted)",Mb="var(--colorStatusSuccessBorderActive)",Hb="var(--colorStatusSuccessBorder1)",Vb="var(--colorStatusSuccessBorder2)",Rb="var(--colorStatusWarningBackground1)",jb="var(--colorStatusWarningBackground2)",qb="var(--colorStatusWarningBackground3)",Wb="var(--colorStatusWarningForeground1)",Gb="var(--colorStatusWarningForeground2)",Xb="var(--colorStatusWarningForeground3)",Ub="var(--colorStatusWarningForegroundInverted)",Kb="var(--colorStatusWarningBorderActive)",Yb="var(--colorStatusWarningBorder1)",Jb="var(--colorStatusWarningBorder2)",Qb="var(--colorStatusDangerBackground1)",Zb="var(--colorStatusDangerBackground2)",em="var(--colorStatusDangerBackground3)",tm="var(--colorStatusDangerBackground3Hover)",om="var(--colorStatusDangerBackground3Pressed)",rm="var(--colorStatusDangerForeground1)",nm="var(--colorStatusDangerForeground2)",im="var(--colorStatusDangerForeground3)",sm="var(--colorStatusDangerForegroundInverted)",am="var(--colorStatusDangerBorderActive)",lm="var(--colorStatusDangerBorder1)",cm="var(--colorStatusDangerBorder2)",Do="var(--borderRadiusNone)",ze="var(--borderRadiusSmall)",B="var(--borderRadiusMedium)",bi="var(--borderRadiusLarge)",mi="var(--borderRadiusXLarge)",dm="var(--borderRadius2XLarge)",hm="var(--borderRadius3XLarge)",um="var(--borderRadius4XLarge)",pm="var(--borderRadius5XLarge)",gm="var(--borderRadius6XLarge)",he="var(--borderRadiusCircular)",v="var(--fontFamilyBase)",Xl="var(--fontFamilyMonospace)",Ul="var(--fontFamilyNumeric)",ao="var(--fontSizeBase100)",D="var(--fontSizeBase200)",O="var(--fontSizeBase300)",ue="var(--fontSizeBase400)",Ft="var(--fontSizeBase500)",Lo="var(--fontSizeBase600)",vi="var(--fontSizeHero700)",$i="var(--fontSizeHero800)",yi="var(--fontSizeHero900)",ki="var(--fontSizeHero1000)",F="var(--fontWeightRegular)",Kl="var(--fontWeightMedium)",H="var(--fontWeightSemibold)",Mo="var(--fontWeightBold)",Ho="var(--lineHeightBase100)",j="var(--lineHeightBase200)",L="var(--lineHeightBase300)",me="var(--lineHeightBase400)",Vo="var(--lineHeightBase500)",xi="var(--lineHeightBase600)",wi="var(--lineHeightHero700)",Si="var(--lineHeightHero800)",Bi="var(--lineHeightHero900)",Ci="var(--lineHeightHero1000)",Hr="var(--shadow2)",Ro="var(--shadow4)",Yl="var(--shadow8)",Vr="var(--shadow16)",Jl="var(--shadow28)",Pi="var(--shadow64)",fm="var(--shadow2Brand)",bm="var(--shadow4Brand)",mm="var(--shadow8Brand)",vm="var(--shadow16Brand)",$m="var(--shadow28Brand)",ym="var(--shadow64Brand)",I="var(--strokeWidthThin)",pe="var(--strokeWidthThick)",Be="var(--strokeWidthThicker)",Rr="var(--strokeWidthThickest)",km="var(--spacingHorizontalNone)",V="var(--spacingHorizontalXXS)",te="var(--spacingHorizontalXS)",ve="var(--spacingHorizontalSNudge)",_e="var(--spacingHorizontalS)",Ye="var(--spacingHorizontalMNudge)",oe="var(--spacingHorizontalM)",Ql="var(--spacingHorizontalL)",Zl="var(--spacingHorizontalXL)",jr="var(--spacingHorizontalXXL)",xm="var(--spacingHorizontalXXXL)",qr="var(--spacingVerticalNone)",jo="var(--spacingVerticalXXS)",Et="var(--spacingVerticalXS)",lo="var(--spacingVerticalSNudge)",re="var(--spacingVerticalS)",qo="var(--spacingVerticalMNudge)",ec="var(--spacingVerticalM)",Wr="var(--spacingVerticalL)",wm="var(--spacingVerticalXL)",ft="var(--spacingVerticalXXL)",tc="var(--spacingVerticalXXXL)",Gr="var(--durationUltraFast)",Wo="var(--durationFaster)",Sm="var(--durationFast)",Go="var(--durationNormal)",Xr="var(--durationGentle)",oc="var(--durationSlow)",Ii="var(--durationSlower)",Xo="var(--durationUltraSlow)",rc="var(--curveAccelerateMax)",bt="var(--curveAccelerateMid)",nc="var(--curveAccelerateMin)",Ni="var(--curveDecelerateMax)",mt="var(--curveDecelerateMid)",ic="var(--curveDecelerateMin)",Ti="var(--curveEasyEaseMax)",Uo="var(--curveEasyEase)",Ur="var(--curveLinear)",Bm="var(--zIndexBackground)",Cm="var(--zIndexContent)",Pm="var(--zIndexOverlay)",Im="var(--zIndexPopup)",Nm="var(--zIndexMessages)",Tm="var(--zIndexFloating)",Am="var(--zIndexPriority)",zm="var(--zIndexDebug)",sc=g`${w("block")} :host{max-width:fit-content;contain:content}.heading{height:44px;display:grid;position:relative;padding-inline:${oe} ${Ye};border-radius:${B};font-family:${v};font-size:${O};font-weight:${F};line-height:${L};grid-template-columns:auto auto 1fr auto}.button{appearance:none;background:${ce};border:none;box-sizing:border-box;color:${T};cursor:pointer;font:inherit;grid-column:auto/span 2;grid-row:1;height:44px;outline:none;padding:0;text-align:start}.button::before{content:'';position:absolute;inset:0px;cursor:pointer;border-radius:${ze}}:where(.default-marker-collapsed,.default-marker-expanded),::slotted(:is([slot='marker-collapsed'],[slot='marker-expanded'])){display:flex;align-items:center;justify-content:center;pointer-events:none;position:relative;height:100%;padding-inline-end:${_e};grid-column:1/span 1;grid-row:1}.content{margin:0 ${oe}}::slotted([slot='start']){display:flex;justify-content:center;align-items:center;padding-right:${_e};grid-column:2/span 1;grid-row:1}button:focus-visible::after{content:'';position:absolute;inset:0px;cursor:pointer;border-radius:${ze};outline:none;border:2px solid ${Eo};box-shadow:inset 0 0 0 1px ${de}}:host([disabled]) .button{color:${z}}:host([disabled]) svg{filter:invert(89%) sepia(0%) saturate(569%) hue-rotate(155deg) brightness(88%) contrast(87%)}:host([expanded]) .content{display:block}:host([expanded]) .default-marker-collapsed,:host([expanded]) ::slotted([slot='marker-collapsed']),:host(:not([expanded])) :is(.default-marker-expanded,.content),:host(:not([expanded])) ::slotted([slot='marker-expanded']){display:none}:host([expanded]) ::slotted([slot='marker-expanded']),:host(:not([expanded])) ::slotted([slot='marker-collapsed']){display:flex}.heading{font-size:${O};line-height:${L}}:host([size='small']) .heading{font-size:${D};line-height:${j}}:host([size='large']) .heading{font-size:${ue};line-height:${me}}:host([size='extra-large']) .heading{font-size:${Ft};line-height:${Vo}}:host([marker-position='end']) ::slotted([slot='start']){grid-column:1/span 1}:host([marker-position='end']) :is(.default-marker-collapsed,.default-marker-expanded){grid-column:4/span 1;padding-inline-start:${_e};padding-inline-end:0}:host([marker-position='end']) .button{grid-column:2/span 3}:host([block]){max-width:100%}:host([marker-position='end']) .heading{grid-template-columns:auto auto 28px;padding-inline:${oe}}:host([marker-position='end']:has([slot='start'])) .heading{padding-inline:${Ye} ${oe}}:host([block][marker-position='end']) .heading{grid-template-columns:auto 1fr}:host([marker-position='end']) :is(.default-marker-collapsed,.default-marker-expanded){grid-column:5/span 1}`,_m=b.partial('<svg width=20 height=20 viewBox="0 0 20 20" fill=none xmlns=http://www.w3.org/2000/svg class=default-marker-collapsed aria-hidden=true><path d="M7.73271 4.20694C8.03263 3.92125 8.50737 3.93279 8.79306 4.23271L13.7944 9.48318C14.0703 9.77285 14.0703 10.2281 13.7944 10.5178L8.79306 15.7682C8.50737 16.0681 8.03263 16.0797 7.73271 15.794C7.43279 15.5083 7.42125 15.0336 7.70694 14.7336L12.2155 10.0005L7.70694 5.26729C7.42125 4.96737 7.43279 4.49264 7.73271 4.20694Z" fill=currentColor /></svg>'),Om=b.partial('<svg width=20 height=20 viewBox="0 0 20 20" fill=none xmlns=http://www.w3.org/2000/svg class=default-marker-expanded aria-hidden=true><path d="M15.794 7.73271C16.0797 8.03263 16.0681 8.50737 15.7682 8.79306L10.5178 13.7944C10.2281 14.0703 9.77285 14.0703 9.48318 13.7944L4.23271 8.79306C3.93279 8.50737 3.92125 8.03263 4.20694 7.73271C4.49264 7.43279 4.96737 7.42125 5.26729 7.70694L10.0005 12.2155L14.7336 7.70694C15.0336 7.42125 15.5083 7.43279 15.794 7.73271Z" fill=currentColor /></svg>');function Fm(o={}){return b`<div class=heading part=heading role=heading aria-level=${e=>e.headinglevel}><button class=button part=button id=control aria-controls=panel aria-expanded=${e=>e.expanded} ?disabled=${e=>e.disabled} ${A("expandbutton")}><slot name=heading></slot></button> ${He(o)}<slot name=marker-expanded>${fe(o.expandedIcon)}</slot><slot name=marker-collapsed>${fe(o.collapsedIcon)}</slot></div><div class=content part=content id=panel role=region aria-labelledby=control><slot></slot></div>`}const ac=Fm({collapsedIcon:_m,expandedIcon:Om}),lc=to.compose({name:Au,template:ac,styles:sc});lc.define(u.registry);const Kr={single:"single",multi:"multi"},Em=`${u.prefix}-accordion`;function cc(o,e){if("requestIdleCallback"in globalThis)return globalThis.requestIdleCallback(o,e);const t=Date.now();return setTimeout(()=>{o({didTimeout:e?.timeout?Date.now()-t>=e.timeout:!1,timeRemaining:()=>0})},e?.timeout??1)}function Ko(o,e,t){const r=t?.shallow??!1,n=t?.timeout??50,i=t?.idleCallback??!1,s=`${r?":scope > ":""}:not(:defined)`,c=h=>{if(o.querySelector(s)===null||h&&h.timeRemaining()<=0){i?cc(e,{timeout:n}):e();return}cc(c,{timeout:n})};c()}var Dm=Object.defineProperty,Lm=Object.getOwnPropertyDescriptor,dc=(o,e,t,r)=>{for(var n=r>1?void 0:r?Lm(e,t):e,i=o.length-1,s;i>=0;i--)(s=o[i])&&(n=(r?s(e,t,n):s(n))||n);return r&&n&&Dm(e,t,n),n};class Yr extends x{constructor(){super(...arguments),this._isAdjusting=!1,this.activeItemIndex=0,this.setItems=()=>{Ko(this,()=>{if(!this.slottedAccordionItems?.length)return;const e=Array.from(this.children);if(this.removeItemListeners(e),e.forEach(t=>m.getNotifier(t).subscribe(this,"disabled")),this.accordionItems=e.filter(t=>!t.hasAttribute("disabled")),this.accordionItems.forEach((t,r)=>{t.addEventListener("click",this.expandedChangedHandler),m.getNotifier(t).subscribe(this,"expanded")}),this.isSingleExpandMode()){const t=this.findExpandedItem();this.setSingleExpandMode(t)}})},this.removeItemListeners=e=>{e.forEach((t,r)=>{m.getNotifier(t).unsubscribe(this,"disabled"),m.getNotifier(t).unsubscribe(this,"expanded"),t.removeEventListener("click",this.expandedChangedHandler)})},this.expandedChangedHandler=e=>{const t=e.target;Cn(t)&&(this.isSingleExpandMode()?this.setSingleExpandMode(t):(t.expanded=!t.expanded,this.activeItemIndex=this.accordionItems.indexOf(t)),this.$emit("change"))}}expandmodeChanged(e,t){if(!this.$fastController.isConnected)return;const r=this.findExpandedItem();if(r){if(t===Kr.single){this.setSingleExpandMode(r);return}r?.expandbutton?.removeAttribute("aria-disabled")}}slottedAccordionItemsChanged(e,t){this.setItems()}handleChange(e,t){t==="disabled"?this.setItems():t==="expanded"&&e.expanded&&this.isSingleExpandMode()&&!this._isAdjusting&&(this._isAdjusting=!0,this.setSingleExpandMode(e),this._isAdjusting=!1)}findExpandedItem(){return!this.accordionItems||this.accordionItems?.length===0?null:this.accordionItems.find(e=>Cn(e)&&e.expanded)??this.accordionItems[0]}isSingleExpandMode(){return this.expandmode===Kr.single}setSingleExpandMode(e){if(this.accordionItems.length===0)return;const t=Array.from(this.accordionItems);this.activeItemIndex=t.indexOf(e),t.forEach((r,n)=>{Cn(r)&&(this.activeItemIndex===n?(r.expanded=!0,r.expandbutton?.setAttribute("aria-disabled","true")):(r.expanded=!1,r.hasAttribute("disabled")||r.expandbutton?.removeAttribute("aria-disabled")))})}connectedCallback(){super.connectedCallback(),this.expandmode=this.expandmode||Kr.multi,this.setItems()}}dc([a({attribute:"expand-mode"})],Yr.prototype,"expandmode",2),dc([f],Yr.prototype,"slottedAccordionItems",2);const hc=g`${w("flex")} :host{flex-direction:column;width:100%;contain:content}`;function Mm(){return b`<template><slot ${K({property:"slottedAccordionItems",filter:Bo()})}></slot></template>`}const uc=Mm(),pc=Yr.compose({name:Em,template:uc,styles:hc});pc.define(u.registry);const Yo={primary:"primary",outline:"outline",subtle:"subtle",transparent:"transparent"},Jo={circular:"circular",rounded:"rounded",square:"square"},Qo={small:"small",medium:"medium",large:"large"},Zo={submit:"submit",reset:"reset",button:"button"},Hm={blank:"_blank",self:"_self",parent:"_parent",top:"_top"},Vm=`${u.prefix}-button`,gc=Yo,fc=Jo,bc=Qo,mc={_self:"_self",_blank:"_blank",_parent:"_parent",_top:"_top"},Rm={download:"download",href:"href",hreflang:"hreflang",ping:"ping",referrerpolicy:"referrerpolicy",rel:"rel",target:"target",type:"type"},jm=`${u.prefix}-anchor-button`,Jr=CSS.supports("anchor-name: --a"),qm="anchor"in HTMLElement.prototype,vc=CSS.supports("selector(:state(g))"),$c=new Map;function N(o){return $c.get(o)??$c.set(o,vc?`:state(${o})`:`[state--${o}]`).get(o)}function $(o,e,t){if(!(!e||!o)){if(!vc){o.shadowRoot.host.toggleAttribute(`state--${e}`,t);return}if(t??!o.states.has(e)){o.states.add(e);return}o.states.delete(e)}}const Ai=new WeakMap;function yc(o,e){if(!o||!e)return!1;if(Ai.has(o))return Ai.get(o).has(e);const t=new Set(Object.values(o));return Ai.set(o,t),t.has(e)}function Dt(o,e="",t="",r,n=""){$(o,`${n}${e}`,!1),(!r||yc(r,t))&&$(o,`${n}${t}`,!0)}var Wm=Object.defineProperty,Gm=Object.getOwnPropertyDescriptor,vt=(o,e,t,r)=>{for(var n=r>1?void 0:r?Gm(e,t):e,i=o.length-1,s;i>=0;i--)(s=o[i])&&(n=(r?s(e,t,n):s(n))||n);return r&&n&&Wm(e,t,n),n};class je extends x{constructor(){super(),this.isMac=navigator.userAgent.includes("Mac"),this.elementInternals=this.attachInternals(),this.internalProxyAnchor=this.createProxyElement(),this.elementInternals.role="link"}connectedCallback(){super.connectedCallback(),this.tabIndex=Number(this.getAttribute("tabindex")??0)<0?-1:0,m.getNotifier(this).subscribe(this),Object.keys(this.$fastController.definition.attributeLookup).forEach(e=>{this.handleChange(this,e)}),this.append(this.internalProxyAnchor)}disconnectedCallback(){super.disconnectedCallback(),m.getNotifier(this).unsubscribe(this)}handleChange(e,t){if(t in Rm){const r=this.$fastController.definition.attributeLookup[t]?.attribute;r&&this.handleProxyAttributeChange(r,this[t])}}clickHandler(e){if(e.composedPath()[0]===this.internalProxyAnchor)return e.stopImmediatePropagation(),!0;if(this.href){const t=e.ctrlKey||e.metaKey;this.handleNavigation(t)}return!0}keydownHandler(e){if(this.href&&e.key==="Enter"){const t=this.isMac&&e.metaKey||e.ctrlKey;this.handleNavigation(t);return}return!0}handleNavigation(e){e?window.open(this.href,"_blank"):this.internalProxyAnchor.click()}handleProxyAttributeChange(e,t){t?this.internalProxyAnchor.setAttribute(e,t):this.internalProxyAnchor.removeAttribute(e)}createProxyElement(){const e=this.internalProxyAnchor??document.createElement("a");return e.inert=!0,e}}vt([a],je.prototype,"download",2),vt([a],je.prototype,"href",2),vt([a],je.prototype,"hreflang",2),vt([a],je.prototype,"ping",2),vt([a],je.prototype,"referrerpolicy",2),vt([a],je.prototype,"rel",2),vt([a],je.prototype,"target",2),vt([a],je.prototype,"type",2);var Xm=Object.defineProperty,Um=Object.getOwnPropertyDescriptor,Qr=(o,e,t,r)=>{for(var n=r>1?void 0:r?Um(e,t):e,i=o.length-1,s;i>=0;i--)(s=o[i])&&(n=(r?s(e,t,n):s(n))||n);return r&&n&&Xm(e,t,n),n};class Lt extends je{constructor(){super(...arguments),this.iconOnly=!1}appearanceChanged(e,t){Dt(this.elementInternals,e,t,gc)}shapeChanged(e,t){Dt(this.elementInternals,e,t,fc)}sizeChanged(e,t){Dt(this.elementInternals,e,t,bc)}iconOnlyChanged(e,t){$(this.elementInternals,"icon",!!t)}}Qr([a],Lt.prototype,"appearance",2),Qr([a],Lt.prototype,"shape",2),Qr([a],Lt.prototype,"size",2),Qr([a({attribute:"icon-only",mode:"boolean"})],Lt.prototype,"iconOnly",2),ct(Lt,nt);const kc=g`${w("inline-flex")} :host{--icon-spacing:${ve};position:relative;contain:layout style;vertical-align:middle;align-items:center;box-sizing:border-box;justify-content:center;text-align:center;text-decoration-line:none;margin:0;min-height:32px;outline-style:none;background-color:${P};color:${T};border:${I} solid ${Re};padding:0 ${oe};min-width:96px;border-radius:${B};font-size:${O};font-family:${v};font-weight:${H};line-height:${L};transition-duration:${Wo};transition-property:background,border,color;transition-timing-function:${Uo};cursor:pointer;user-select:none}.content{display:inherit}:host(:hover){background-color:${zo};color:${qn};border-color:${gt}}:host(:hover:active){background-color:${Or};border-color:${io};color:${na};outline-style:none}:host(:focus-visible){border-color:${X};outline:${pe} solid ${X};box-shadow:${Ro},0 0 0 2px ${de}}@media screen and (prefers-reduced-motion:reduce){:host{transition-duration:0.01ms}}::slotted(svg){font-size:20px;height:20px;width:20px;fill:currentColor}::slotted([slot='start']){margin-inline-end:var(--icon-spacing)}::slotted([slot='end']),[slot='end']{flex-shrink:0;margin-inline-start:var(--icon-spacing)}:host([icon-only]){min-width:32px;max-width:32px}:host([size='small']){--icon-spacing:${te};min-height:24px;min-width:64px;padding:0 ${_e};border-radius:${ze};font-size:${D};line-height:${j};font-weight:${F}}:host([size='small'][icon-only]){min-width:24px;max-width:24px}:host([size='large']){min-height:40px;border-radius:${bi};padding:0 ${Ql};font-size:${ue};line-height:${me}}:host([size='large'][icon-only]){min-width:40px;max-width:40px}:host([size='large']) ::slotted(svg){font-size:24px;height:24px;width:24px}:host(:is([shape='circular'],[shape='circular']:focus-visible)){border-radius:${he}}:host(:is([shape='square'],[shape='square']:focus-visible)){border-radius:${Do}}:host([appearance='primary']){background-color:${Jn};color:${Ke};border-color:transparent}:host([appearance='primary']:hover){background-color:${Qn}}:host([appearance='primary']:is(:hover,:hover:active):not(:focus-visible)){border-color:transparent}:host([appearance='primary']:is(:hover,:hover:active)){color:${Ke}}:host([appearance='primary']:hover:active){background-color:${Zn}}:host([appearance='primary']:focus-visible){border-color:${Ke};box-shadow:${Hr},0 0 0 2px ${de}}:host([appearance='outline']){background-color:${ce}}:host([appearance='outline']:hover){background-color:${Oo}}:host([appearance='outline']:hover:active){background-color:${Fo}}:host([appearance='subtle']){background-color:${Un};color:${Ae};border-color:transparent}:host([appearance='subtle']:hover){background-color:${_o};color:${At};border-color:transparent}:host([appearance='subtle']:hover:active){background-color:${no};color:${zt};border-color:transparent}:host([appearance='subtle']:hover) ::slotted(svg){fill:${No}}:host([appearance='subtle']:hover:active) ::slotted(svg){fill:${To}}:host([appearance='transparent']){background-color:${ce};color:${Ae}}:host([appearance='transparent']:hover){background-color:${Oo};color:${No}}:host([appearance='transparent']:hover:active){background-color:${Fo};color:${To}}:host(:is([appearance='transparent'],[appearance='transparent']:is(:hover,:active))){border-color:transparent}`,co=g`${kc} :host(:is(:disabled,[disabled-focusable],[appearance]:disabled,[appearance][disabled-focusable])),:host(:is(:disabled,[disabled-focusable],[appearance]:disabled,[appearance][disabled-focusable]):hover),:host(:is(:disabled,[disabled-focusable],[appearance]:disabled,[appearance][disabled-focusable]):hover:active){background-color:${st};border-color:${be};color:${z};cursor:not-allowed}:host([appearance='primary']:is(:disabled,[disabled-focusable])),:host([appearance='primary']:is(:disabled,[disabled-focusable]):is(:hover,:hover:active)){border-color:transparent}:host([appearance='outline']:is(:disabled,[disabled-focusable])),:host([appearance='outline']:is(:disabled,[disabled-focusable]):is(:hover,:hover:active)){background-color:${ce}}:host([appearance='subtle']:is(:disabled,[disabled-focusable])),:host([appearance='subtle']:is(:disabled,[disabled-focusable]):is(:hover,:hover:active)){background-color:${ce};border-color:transparent}:host([appearance='transparent']:is(:disabled,[disabled-focusable])),:host([appearance='transparent']:is(:disabled,[disabled-focusable]):is(:hover,:hover:active)){border-color:transparent;background-color:${ce}}@media (forced-colors:active){:host{background-color:ButtonFace;color:ButtonText}:host(:is(:hover,:focus-visible)){border-color:Highlight !important}:host([appearance='primary']:not(:is(:hover,:focus-visible))){background-color:Highlight;color:HighlightText;forced-color-adjust:none}:host(:is(:disabled,[disabled-focusable],[appearance]:disabled,[appearance][disabled-focusable])){background-color:ButtonFace;color:GrayText;border-color:ButtonText}}`,Km=g`${kc} ::slotted(a){position:absolute;inset:0}@media (forced-colors:active){:host{border-color:LinkText;color:LinkText}}`;function Ym(o={}){return b`<template tabindex=0 @click=${(e,t)=>e.clickHandler(t.event)} @keydown=${(e,t)=>e.keydownHandler(t.event)}>${He(o)} <span class=content part=content><slot></slot></span>${it(o)}</template>`}const xc=Ym(),wc=Lt.compose({name:jm,template:xc,styles:Km});wc.define(u.registry);const Jm={active:"active",inactive:"inactive"},Qm={circular:"circular",square:"square"},Zm={ring:"ring",shadow:"shadow",ringShadow:"ring-shadow"},zi={darkRed:"dark-red",cranberry:"cranberry",red:"red",pumpkin:"pumpkin",peach:"peach",marigold:"marigold",gold:"gold",brass:"brass",brown:"brown",forest:"forest",seafoam:"seafoam",darkGreen:"dark-green",lightTeal:"light-teal",teal:"teal",steel:"steel",blue:"blue",royalBlue:"royal-blue",cornflower:"cornflower",navy:"navy",lavender:"lavender",purple:"purple",grape:"grape",lilac:"lilac",pink:"pink",magenta:"magenta",plum:"plum",beige:"beige",mink:"mink",platinum:"platinum",anchor:"anchor"},_i={neutral:"neutral",brand:"brand",colorful:"colorful",...zi},ev={_16:16,_20:20,_24:24,_28:28,_32:32,_36:36,_40:40,_48:48,_56:56,_64:64,_72:72,_96:96,_120:120,_128:128},tv=`${u.prefix}-avatar`,ov=/[\(\[\{][^\)\]\}]*[\)\]\}]/g,rv=/[\0-\u001F\!-/:-@\[-`\{-\u00BF\u0250-\u036F\uD800-\uFFFF]/g,nv=/^\d+[\d\s]*(:?ext|x|)\s*\d+$/i,iv=/\s+/g,sv=/[\u0600-\u06FF\u0750-\u077F\u08A0-\u08FF\u1100-\u11FF\u3130-\u318F\uA960-\uA97F\uAC00-\uD7AF\uD7B0-\uD7FF\u3040-\u309F\u30A0-\u30FF\u3400-\u4DBF\u4E00-\u9FFF\uF900-\uFAFF]|[\uD840-\uD869][\uDC00-\uDED6]/;function av(o,e,t){let r="";const n=o.split(" ");return n.length!==0&&(r+=n[0].charAt(0).toUpperCase()),t||(n.length===2?r+=n[1].charAt(0).toUpperCase():n.length===3&&(r+=n[2].charAt(0).toUpperCase())),e&&r.length>1?r.charAt(1)+r.charAt(0):r}function lv(o){return o=o.replace(ov,""),o=o.replace(rv,""),o=o.replace(iv," "),o=o.trim(),o}function Sc(o,e,t){return!o||(o=lv(o),sv.test(o)||!t?.allowPhoneInitials&&nv.test(o))?"":av(o,e,t?.firstInitialOnly)}var cv=Object.defineProperty,dv=Object.getOwnPropertyDescriptor,er=(o,e,t,r)=>{for(var n=r>1?void 0:r?dv(e,t):e,i=o.length-1,s;i>=0;i--)(s=o[i])&&(n=(r?s(e,t,n):s(n))||n);return r&&n&&cv(e,t,n),n};class Mt extends x{constructor(){super(),this.slottedDefaults=[],this.elementInternals=this.attachInternals(),this.elementInternals.role="img"}defaultSlotChanged(){if(!CSS.supports("selector(:has-slotted)")){const e=this.defaultSlot.assignedElements();this.defaultSlot.classList.toggle("has-slotted",e.length>0)}E.enqueue(()=>{this.cleanupSlottedContent()})}monogramChanged(){this.updateMonogram()}slottedDefaultsChanged(){this.defaultSlot&&this.cleanupSlottedContent()}nameChanged(){this.updateMonogram()}initialsChanged(){this.updateMonogram()}generateInitials(){return this.initials||Sc(this.name,window.getComputedStyle(this).direction==="rtl")}updateMonogram(){this.monogram&&(this.monogram.textContent=this.generateInitials()??"")}cleanupSlottedContent(){this.normalize(),CSS.supports("selector(:has-slotted)")||this.defaultSlot.classList.toggle("has-slotted",!!this.slottedDefaults.length),this.innerText.trim()||this.slottedDefaults.forEach(e=>{e.nodeType===Node.TEXT_NODE&&e.remove()})}}er([f],Mt.prototype,"defaultSlot",2),er([f],Mt.prototype,"monogram",2),er([f],Mt.prototype,"slottedDefaults",2),er([a],Mt.prototype,"name",2),er([a],Mt.prototype,"initials",2);var hv=Object.defineProperty,uv=Object.getOwnPropertyDescriptor,ho=(o,e,t,r)=>{for(var n=r>1?void 0:r?uv(e,t):e,i=o.length-1,s;i>=0;i--)(s=o[i])&&(n=(r?s(e,t,n):s(n))||n);return r&&n&&hv(e,t,n),n};const $t=class is extends Mt{handleChange(e,t){switch(t){case"color":case"colorId":this.generateColor();break}}generateInitials(){if(!this.name&&!this.initials)return;const e=this.size??32;return this.initials||Sc(this.name,window.getComputedStyle(this).direction==="rtl",{firstInitialOnly:e<=16})}generateColor(){const e=this.color===_i.colorful;this.currentColor,this.currentColor=e&&this.colorId?this.colorId:e?is.colors[pv(this.name??"")%is.colors.length]:this.color??_i.neutral,this.setAttribute("data-color",this.currentColor)}connectedCallback(){super.connectedCallback(),m.getNotifier(this).subscribe(this),this.generateColor()}disconnectedCallback(){super.disconnectedCallback(),m.getNotifier(this).unsubscribe(this)}};$t.colors=Object.values(zi),ho([a],$t.prototype,"active",2),ho([a],$t.prototype,"shape",2),ho([a],$t.prototype,"appearance",2),ho([a({converter:ae})],$t.prototype,"size",2),ho([a],$t.prototype,"color",2),ho([a({attribute:"color-id"})],$t.prototype,"colorId",2);let Bc=$t;const pv=o=>{let e=0;for(let t=o.length-1;t>=0;t--){const r=o.charCodeAt(t),n=t%8;e^=(r<<n)+(r>>8-n)}return e},yt={fastOutSlowInMax:Ni,fastOutSlowInMid:mt,fastOutSlowInMin:ic,slowOutFastInMax:rc,slowOutFastInMid:bt,slowOutFastInMin:nc,fastEase:Ti,normalEase:Uo,nullEasing:Ur},Cc=g`${w("inline-grid")} :host{position:relative;place-items:center;place-content:center;grid-template:1fr/1fr;flex-shrink:0;width:32px;height:32px;font-family:${v};font-weight:${H};font-size:${O};border-radius:${he};color:${Y};background-color:${ro};contain:layout style}.monogram,.default-icon{grid-area:1/1/-1/-1}.monogram:empty{display:none}.default-slot:is(.has-slotted,:has-slotted)~.default-icon,.default-slot:is(.has-slotted,:has-slotted)~.monogram,:host(:is([name]):not([name=''])) .default-icon,:host(:is([initials]):not([initials=''])) .default-icon{display:none}.default-icon,::slotted(svg){width:20px;height:20px;font-size:20px}::slotted(img){box-sizing:border-box;width:100%;height:100%;border-radius:${he}}::slotted([slot='badge']){position:absolute;bottom:0;right:0;box-shadow:0 0 0 ${I} ${P}}:host([size='64']) ::slotted([slot='badge']),:host([size='72']) ::slotted([slot='badge']),:host([size='96']) ::slotted([slot='badge']),:host([size='120']) ::slotted([slot='badge']),:host([size='128']) ::slotted([slot='badge']){box-shadow:0 0 0 ${pe} ${P}}:host([size='16']),:host([size='20']),:host([size='24']){font-size:${ao};font-weight:${F}}:host([size='16']){width:16px;height:16px}:host([size='20']){width:20px;height:20px}:host([size='24']){width:24px;height:24px}:host([size='16']) .default-icon,:host([size='16']) ::slotted(svg){width:12px;height:12px;font-size:12px}:host([size='20']) .default-icon,:host([size='24']) .default-icon,:host([size='20']) ::slotted(svg),:host([size='24']) ::slotted(svg){width:16px;height:16px;font-size:16px}:host([size='28']){width:28px;height:28px;font-size:${D}}:host([size='36']){width:36px;height:36px}:host([size='40']){width:40px;height:40px}:host([size='48']),:host([size='56']){font-size:${ue}}:host([size='48']){width:48px;height:48px}:host([size='48']) .default-icon,:host([size='48']) ::slotted(svg){width:24px;height:24px;font-size:24px}:host([size='56']){width:56px;height:56px}:host([size='56']) .default-icon,:host([size='56']) ::slotted(svg){width:28px;height:28px;font-size:28px}:host([size='64']),:host([size='72']),:host([size='96']){font-size:${Ft}}:host([size='64']) .default-icon,:host([size='72']) .default-icon,:host([size='64']) ::slotted(svg),:host([size='72']) ::slotted(svg){width:32px;height:32px;font-size:32px}:host([size='64']){width:64px;height:64px}:host([size='72']){width:72px;height:72px}:host([size='96']){width:96px;height:96px}:host([size='96']) .default-icon,:host([size='120']) .default-icon,:host([size='128']) .default-icon,:host([size='96']) ::slotted(svg),:host([size='120']) ::slotted(svg),:host([size='128']) ::slotted(svg){width:48px;height:48px;font-size:48px}:host([size='120']),:host([size='128']){font-size:${Lo}}:host([size='120']){width:120px;height:120px}:host([size='128']){width:128px;height:128px}:host([shape='square']){border-radius:${B}}:host([shape='square'][size='20']),:host([shape='square'][size='24']){border-radius:${ze}}:host([shape='square'][size='56']),:host([shape='square'][size='64']),:host([shape='square'][size='72']){border-radius:${bi}}:host([shape='square'][size='96']),:host([shape='square'][size='120']),:host([shape='square'][size='128']){border-radius:${mi}}:host([data-color='brand']){color:${Wn};background-color:${ei}}:host([data-color='dark-red']){color:${ll};background-color:${al}}:host([data-color='cranberry']){color:${nl};background-color:${rl}}:host([data-color='red']){color:${_a};background-color:${za}}:host([data-color='pumpkin']){color:${El};background-color:${Fl}}:host([data-color='peach']){color:${Il};background-color:${Pl}}:host([data-color='marigold']){color:${qa};background-color:${fi}}:host([data-color='gold']){color:${ul};background-color:${hl}}:host([data-color='brass']){color:${Qa};background-color:${Ja}}:host([data-color='brown']){color:${el};background-color:${Za}}:host([data-color='forest']){color:${dl};background-color:${cl}}:host([data-color='seafoam']){color:${Rl};background-color:${Vl}}:host([data-color='dark-green']){color:${sl};background-color:${il}}:host([data-color='light-teal']){color:${vl};background-color:${ml}}:host([data-color='teal']){color:${Gl};background-color:${Wl}}:host([data-color='steel']){color:${ql};background-color:${jl}}:host([data-color='blue']){color:${Ya};background-color:${Ka}}:host([data-color='royal-blue']){color:${Hl};background-color:${Ml}}:host([data-color='cornflower']){color:${ol};background-color:${tl}}:host([data-color='navy']){color:${Cl};background-color:${Bl}}:host([data-color='lavender']){color:${bl};background-color:${fl}}:host([data-color='purple']){color:${Ll};background-color:${Dl}}:host([data-color='grape']){color:${gl};background-color:${pl}}:host([data-color='lilac']){color:${yl};background-color:${$l}}:host([data-color='pink']){color:${Tl};background-color:${Nl}}:host([data-color='magenta']){color:${xl};background-color:${kl}}:host([data-color='plum']){color:${Ol};background-color:${_l}}:host([data-color='beige']){color:${Ua};background-color:${Xa}}:host([data-color='mink']){color:${Sl};background-color:${wl}}:host([data-color='platinum']){color:${zl};background-color:${Al}}:host([data-color='anchor']){color:${Ga};background-color:${Wa}}:host([active]){transform:perspective(1px);transition-property:transform,opacity;transition-duration:${Xo},${Wo};transition-delay:${yt.fastEase},${yt.nullEasing}}:host([active])::before{content:'';position:absolute;top:0;left:0;bottom:0;right:0;border-radius:inherit;transition-property:margin,opacity;transition-duration:${Xo},${Ii};transition-delay:${yt.fastEase},${yt.nullEasing}}:host([active])::before{box-shadow:${Yl};border-style:solid;border-color:${ei}}:host([active][appearance='shadow'])::before{border-style:none;border-color:none}:host([active]:not([appearance='shadow']))::before{margin:calc(-2 * ${pe});border-width:${pe}}:host([size='56'][active]:not([appearance='shadow']))::before,:host([size='64'][active]:not([appearance='shadow']))::before{margin:calc(-2 * ${Be});border-width:${Be}}:host([size='72'][active]:not([appearance='shadow']))::before,:host([size='96'][active]:not([appearance='shadow']))::before,:host([size='120'][active]:not([appearance='shadow']))::before,:host([size='128'][active]:not([appearance='shadow']))::before{margin:calc(-2 * ${Rr});border-width:${Rr}}:host([size='20'][active][appearance])::before,:host([size='24'][active][appearance])::before,:host([size='28'][active][appearance])::before{box-shadow:${Ro}}:host([size='56'][active][appearance])::before,:host([size='64'][active][appearance])::before{box-shadow:${Vr}}:host([size='72'][active][appearance])::before,:host([size='96'][active][appearance])::before,:host([size='120'][active][appearance])::before,:host([size='128'][active][appearance])::before{box-shadow:${Jl}}:host([active][appearance='ring'])::before{box-shadow:none}:host([active='inactive']){opacity:0.8;transform:scale(0.875);transition-property:transform,opacity;transition-duration:${Xo},${Wo};transition-delay:${yt.fastOutSlowInMin},${yt.nullEasing}}:host([active='inactive'])::before{margin:0;opacity:0;transition-property:margin,opacity;transition-duration:${Xo},${Ii};transition-delay:${yt.fastOutSlowInMin},${yt.nullEasing}}@media screen and (prefers-reduced-motion:reduce){:host([active]){transition-duration:0.01ms}:host([active])::before{transition-duration:0.01ms;transition-delay:0.01ms}}`,gv=b`<svg width=1em height=1em viewBox="0 0 20 20" class=default-icon fill=currentcolor aria-hidden=true><path d="M10 2a4 4 0 100 8 4 4 0 000-8zM7 6a3 3 0 116 0 3 3 0 01-6 0zm-2 5a2 2 0 00-2 2c0 1.7.83 2.97 2.13 3.8A9.14 9.14 0 0010 18c1.85 0 3.58-.39 4.87-1.2A4.35 4.35 0 0017 13a2 2 0 00-2-2H5zm-1 2a1 1 0 011-1h10a1 1 0 011 1c0 1.3-.62 2.28-1.67 2.95A8.16 8.16 0 0110 17a8.16 8.16 0 01-4.33-1.05A3.36 3.36 0 014 13z"></path></svg>`;function fv(){return b`<slot class=default-slot ${K("slottedDefaults")} ${A("defaultSlot")}></slot><span class=monogram ${A("monogram")}>${o=>o.initials}</span> ${gv}<slot name=badge></slot>`}const Pc=fv(),Ic=Bc.compose({name:tv,template:Pc,styles:Cc});Ic.define(u.registry);const Nc={filled:"filled",ghost:"ghost",outline:"outline",tint:"tint"},Tc={brand:"brand",danger:"danger",important:"important",informative:"informative",severe:"severe",subtle:"subtle",success:"success",warning:"warning"},bv={circular:"circular",rounded:"rounded",square:"square"},mv={tiny:"tiny",extraSmall:"extra-small",small:"small",medium:"medium",large:"large",extraLarge:"extra-large"},vv=`${u.prefix}-badge`;var $v=Object.defineProperty,yv=Object.getOwnPropertyDescriptor,Zr=(o,e,t,r)=>{for(var n=r>1?void 0:r?yv(e,t):e,i=o.length-1,s;i>=0;i--)(s=o[i])&&(n=(r?s(e,t,n):s(n))||n);return r&&n&&$v(e,t,n),n};class Ht extends x{constructor(){super(...arguments),this.appearance=Nc.filled,this.color=Tc.brand}}Zr([a],Ht.prototype,"appearance",2),Zr([a],Ht.prototype,"color",2),Zr([a],Ht.prototype,"shape",2),Zr([a],Ht.prototype,"size",2),ct(Ht,nt);const Ac=g.partial`${w("inline-flex")} :host{position:relative;box-sizing:border-box;align-items:center;justify-content:center;font-family:${v};font-weight:${H};font-size:${D};line-height:${j};min-width:20px;height:20px;padding-inline:calc(${te} + ${V});border-radius:${he};border-color:${X};background-color:${Jn};color:${Ke};contain:content}::slotted(svg){font-size:12px}:host(:not([appearance='ghost']))::after{position:absolute;content:'';top:0;left:0;bottom:0;right:0;border-style:solid;border-width:${I};border-color:inherit;border-radius:inherit}`,zc=g.partial`:host([size='tiny']){width:6px;height:6px;font-size:4px;line-height:4px;padding-inline:0;min-width:unset}:host([size='tiny']) ::slotted(svg){font-size:6px}:host([size='extra-small']){width:10px;height:10px;font-size:6px;line-height:6px;padding-inline:0;min-width:unset}:host([size='extra-small']) ::slotted(svg){font-size:10px}:host([size='small']){min-width:16px;height:16px;font-size:${ao};line-height:${Ho};padding-inline:calc(${V} + ${V})}:host([size='small']) ::slotted(svg){font-size:12px}:host([size='large']){min-width:24px;height:24px;font-size:${D};line-height:${j};padding-inline:calc(${te} + ${V})}:host([size='large']) ::slotted(svg){font-size:16px}:host([size='extra-large']){min-width:32px;height:32px;font-size:${D};line-height:${j};padding-inline:calc(${ve} + ${V})}:host([size='extra-large']) ::slotted(svg){font-size:20px}`,_c=g.partial`:host([color='danger']){background-color:${si};color:${Ke}}:host([color='important']){background-color:${T};color:${P}}:host([color='informative']){background-color:${xa};color:${Y}}:host([color='severe']){background-color:${ui};color:${Ke}}:host([color='subtle']){background-color:${P};color:${T}}:host([color='success']){background-color:${di};color:${Ke}}:host([color='warning']){background-color:${Va};color:${ya}}`,Oc=g.partial`:host([appearance='ghost']){color:${Ao};background-color:initial}:host([appearance='ghost'][color='danger']){color:${li}}:host([appearance='ghost'][color='important']){color:${T}}:host([appearance='ghost'][color='informative']){color:${Y}}:host([appearance='ghost'][color='severe']){color:${gi}}:host([appearance='ghost'][color='subtle']){color:${dt}}:host([appearance='ghost'][color='success']){color:${La}}:host([appearance='ghost'][color='warning']){color:${Mr}}`,kv=g.partial`:host([appearance='outline']){border-color:currentColor;color:${Ao};background-color:initial}:host([appearance='outline'][color='danger']){color:${li}}:host([appearance='outline'][color='important']){color:${Y};border-color:${Ve}}:host([appearance='outline'][color='informative']){color:${Y};border-color:${so}}:host([appearance='outline'][color='severe']){color:${gi}}:host([appearance='outline'][color='subtle']){color:${Wn}}:host([appearance='outline'][color='success']){color:${Da}}:host([appearance='outline'][color='warning']){color:${Mr}}`,xv=g.partial`:host([appearance='tint']){background-color:${ti};color:${$a};border-color:${ri}}:host([appearance='tint'][color='danger']){background-color:${ii};color:${Lr};border-color:${ai}}:host([appearance='tint'][color='important']){background-color:${Y};color:${P};border-color:${X}}:host([appearance='tint'][color='informative']){background-color:${ka};color:${Y};border-color:${so}}:host([appearance='tint'][color='severe']){background-color:${hi};color:${Ma};border-color:${pi}}:host([appearance='tint'][color='subtle']){background-color:${P};color:${Y};border-color:${so}}:host([appearance='tint'][color='success']){background-color:${ci};color:${Ea};border-color:${Fa}}:host([appearance='tint'][color='warning']){background-color:${Ha};color:${Mr};border-color:${Ra}}`,Fc=g`:host([shape='square']){border-radius:${Do}}:host([shape='rounded']){border-radius:${B}}:host([shape='rounded']:is([size='tiny'],[size='extra-small'],[size='small'])){border-radius:${ze}}${xv} ${kv} ${Oc} ${_c} ${zc} ${Ac} @media (forced-colors:active){:host,:host([appearance='outline']),:host([appearance='tint']){border-color:CanvasText}}`;function wv(o={}){return b`${He(o)}<slot>${fe(o.defaultContent)}</slot>${it(o)}`}const Ec=wv(),Dc=Ht.compose({name:vv,template:Ec,styles:Fc});Dc.define(u.registry);var Sv=Object.defineProperty,Bv=Object.getOwnPropertyDescriptor,Ce=(o,e,t,r)=>{for(var n=r>1?void 0:r?Bv(e,t):e,i=o.length-1,s;i>=0;i--)(s=o[i])&&(n=(r?s(e,t,n):s(n))||n);return r&&n&&Sv(e,t,n),n};class le extends x{constructor(){super(),this.disabledFocusable=!1,this.elementInternals=this.attachInternals(),this.elementInternals.role="button"}disabledChanged(){this.setTabIndex()}disabledFocusableChanged(e,t){this.elementInternals&&(this.elementInternals.ariaDisabled=`${!!t}`)}get form(){return this.elementInternals.form}get labels(){return Object.freeze(Array.from(this.elementInternals.labels))}typeChanged(e,t){t!==Zo.submit&&(this.formSubmissionFallbackControl?.remove(),this.shadowRoot?.querySelector('slot[name="internal"]')?.remove())}clickHandler(e){if(e&&this.disabledFocusable){e.stopImmediatePropagation();return}return this.press(),!0}connectedCallback(){super.connectedCallback(),this.elementInternals.ariaDisabled=`${!!this.disabledFocusable}`,this.setTabIndex()}createAndInsertFormSubmissionFallbackControl(){const e=this.formSubmissionFallbackControlSlot??document.createElement("slot");e.setAttribute("name","internal"),this.shadowRoot?.appendChild(e),this.formSubmissionFallbackControlSlot=e;const t=this.formSubmissionFallbackControl??document.createElement("button");t.style.display="none",t.setAttribute("type","submit"),t.setAttribute("slot","internal"),this.formNoValidate&&t.toggleAttribute("formnovalidate",!0),this.elementInternals.form?.id&&t.setAttribute("form",this.elementInternals.form.id),this.name&&t.setAttribute("name",this.name),this.value&&t.setAttribute("value",this.value),this.formAction&&t.setAttribute("formaction",this.formAction??""),this.formEnctype&&t.setAttribute("formenctype",this.formEnctype??""),this.formMethod&&t.setAttribute("formmethod",this.formMethod??""),this.formTarget&&t.setAttribute("formtarget",this.formTarget??""),this.append(t),this.formSubmissionFallbackControl=t}formDisabledCallback(e){this.disabled=e}keypressHandler(e){if(e&&this.disabledFocusable){e.stopImmediatePropagation();return}if(e.key==="Enter"||e.key===" "){this.click();return}return!0}press(){switch(this.type){case Zo.reset:{this.resetForm();break}case Zo.submit:{this.submitForm();break}}}resetForm(){this.elementInternals.form?.reset()}setTabIndex(){if(this.disabled){this.removeAttribute("tabindex");return}this.tabIndex=Number(this.getAttribute("tabindex")??0)<0?-1:0}submitForm(){if(!(!this.elementInternals.form||this.disabled||this.type!==Zo.submit)){if(!this.name&&!this.formAction&&!this.formEnctype&&!this.formAttribute&&!this.formMethod&&!this.formNoValidate&&!this.formTarget){this.elementInternals.form.requestSubmit();return}try{this.elementInternals.setFormValue(this.value??""),this.elementInternals.form.requestSubmit(this)}catch{this.createAndInsertFormSubmissionFallbackControl(),this.elementInternals.setFormValue(null),this.elementInternals.form.requestSubmit(this.formSubmissionFallbackControl)}}}}le.formAssociated=!0,Ce([a({mode:"boolean"})],le.prototype,"autofocus",2),Ce([f],le.prototype,"defaultSlottedContent",2),Ce([a({mode:"boolean"})],le.prototype,"disabled",2),Ce([a({attribute:"disabled-focusable",mode:"boolean"})],le.prototype,"disabledFocusable",2),Ce([a({attribute:"formaction"})],le.prototype,"formAction",2),Ce([a({attribute:"form"})],le.prototype,"formAttribute",2),Ce([a({attribute:"formenctype"})],le.prototype,"formEnctype",2),Ce([a({attribute:"formmethod"})],le.prototype,"formMethod",2),Ce([a({attribute:"formnovalidate",mode:"boolean"})],le.prototype,"formNoValidate",2),Ce([a({attribute:"formtarget"})],le.prototype,"formTarget",2),Ce([a],le.prototype,"name",2),Ce([a],le.prototype,"type",2),Ce([a],le.prototype,"value",2);var Cv=Object.defineProperty,Pv=Object.getOwnPropertyDescriptor,en=(o,e,t,r)=>{for(var n=r>1?void 0:r?Pv(e,t):e,i=o.length-1,s;i>=0;i--)(s=o[i])&&(n=(r?s(e,t,n):s(n))||n);return r&&n&&Cv(e,t,n),n};class Je extends le{constructor(){super(...arguments),this.iconOnly=!1}}en([a],Je.prototype,"appearance",2),en([a],Je.prototype,"shape",2),en([a],Je.prototype,"size",2),en([a({attribute:"icon-only",mode:"boolean"})],Je.prototype,"iconOnly",2),ct(Je,nt);function Oi(o={}){return b`<template @click=${(e,t)=>e.clickHandler(t.event)} @keypress=${(e,t)=>e.keypressHandler(t.event)}>${He(o)} <span class=content part=content><slot ${K("defaultSlottedContent")}></slot></span>${it(o)}</template>`}const Lc=Oi(),Mc=Je.compose({name:Vm,template:Lc,styles:co});Mc.define(u.registry);const Iv={circular:"circular",square:"square"},Nv={medium:"medium",large:"large"},Tv=`${u.prefix}-checkbox`;var Av=Object.defineProperty,zv=Object.getOwnPropertyDescriptor,kt=(o,e,t,r)=>{for(var n=r>1?void 0:r?zv(e,t):e,i=o.length-1,s;i>=0;i--)(s=o[i])&&(n=(r?s(e,t,n):s(n))||n);return r&&n&&Av(e,t,n),n};class Pe extends x{constructor(){super(...arguments),this.initialValue="on",this._keydownPressed=!1,this.dirtyChecked=!1,this.elementInternals=this.attachInternals(),this._validationFallbackMessage="",this._value=this.initialValue}get checked(){return m.track(this,"checked"),!!this._checked}set checked(e){this._checked=e,this.setFormValue(e?this.value:null),this.setValidity(),this.setAriaChecked(),$(this.elementInternals,"checked",e),m.notify(this,"checked")}disabledChanged(e,t){this.disabled?this.removeAttribute("tabindex"):this.tabIndex=Number(this.getAttribute("tabindex")??0)<0?-1:0,this.elementInternals.ariaDisabled=this.disabled?"true":"false",$(this.elementInternals,"disabled",this.disabled)}disabledAttributeChanged(e,t){this.disabled=!!t}initialCheckedChanged(e,t){this.dirtyChecked||(this.checked=!!t)}initialValueChanged(e,t){this._value=t}requiredChanged(e,t){this.elementInternals&&(this.setValidity(),this.elementInternals.ariaRequired=this.required?"true":"false")}get form(){return this.elementInternals.form}get labels(){return Object.freeze(Array.from(this.elementInternals.labels))}get validationMessage(){if(this.elementInternals?.validationMessage)return this.elementInternals.validationMessage;if(!this._validationFallbackMessage){const e=document.createElement("input");e.type="checkbox",e.required=!0,e.checked=!1,this._validationFallbackMessage=e.validationMessage}return this._validationFallbackMessage}get validity(){return this.elementInternals.validity}get value(){return m.track(this,"value"),this._value}set value(e){this._value=e,this.elementInternals&&(this.setFormValue(e),this.setValidity()),m.notify(this,"value")}get willValidate(){return this.elementInternals.willValidate}checkValidity(){return this.elementInternals.checkValidity()}clickHandler(e){if(this.disabled)return;this.dirtyChecked=!0;const t=this.checked;return this.toggleChecked(),t!==this.checked&&(this.$emit("change"),this.$emit("input")),!0}connectedCallback(){super.connectedCallback(),this.disabled=!!this.disabledAttribute,this.setAriaChecked(),this.setValidity()}inputHandler(e){return this.setFormValue(this.value),this.setValidity(),!0}keydownHandler(e){if(e.key!==" ")return!0;this._keydownPressed=!0}keyupHandler(e){if(!this._keydownPressed||e.key!==" ")return!0;this._keydownPressed=!1,this.click()}formResetCallback(){this.checked=this.initialChecked??!1,this.dirtyChecked=!1,this.setValidity()}reportValidity(){return this.elementInternals.reportValidity()}setAriaChecked(e=this.checked){this.elementInternals&&(this.elementInternals.ariaChecked=e?"true":"false")}setFormValue(e,t){this.elementInternals?.setFormValue(e,e??t)}setCustomValidity(e){this.elementInternals.setValidity({customError:!0},e),this.setValidity()}setValidity(e,t,r){if(this.elementInternals){if(this.disabled||!this.required){this.elementInternals.setValidity({});return}this.elementInternals.setValidity({valueMissing:!!this.required&&!this.checked,...e},t??this.validationMessage,r)}}toggleChecked(e=!this.checked){this.checked=e}}Pe.formAssociated=!0,kt([a({mode:"boolean"})],Pe.prototype,"autofocus",2),kt([f],Pe.prototype,"disabled",2),kt([a({attribute:"disabled",mode:"boolean"})],Pe.prototype,"disabledAttribute",2),kt([a({attribute:"form"})],Pe.prototype,"formAttribute",2),kt([a({attribute:"checked",mode:"boolean"})],Pe.prototype,"initialChecked",2),kt([a({attribute:"value",mode:"fromView"})],Pe.prototype,"initialValue",2),kt([a],Pe.prototype,"name",2),kt([a({mode:"boolean"})],Pe.prototype,"required",2);var _v=Object.defineProperty,Ov=Object.getOwnPropertyDescriptor,Fi=(o,e,t,r)=>{for(var n=r>1?void 0:r?Ov(e,t):e,i=o.length-1,s;i>=0;i--)(s=o[i])&&(n=(r?s(e,t,n):s(n))||n);return r&&n&&_v(e,t,n),n};class tr extends Pe{indeterminateChanged(e,t){this.setAriaChecked(),$(this.elementInternals,"indeterminate",t)}constructor(){super(),this.elementInternals.role="checkbox"}setAriaChecked(e=this.checked){if(this.indeterminate){this.elementInternals.ariaChecked="mixed";return}super.setAriaChecked(e)}toggleChecked(e=!this.checked){this.indeterminate=!1,super.toggleChecked(e)}}Fi([f],tr.prototype,"indeterminate",2),Fi([a],tr.prototype,"shape",2),Fi([a],tr.prototype,"size",2);const Fv=N("active"),Ev=N("bad-input"),y=N("checked"),Dv=N("custom-error"),Lv=N("description"),$e=N("disabled");N("error");const Mv=N("flip-block"),Hv=N("focus-visible");N("has-message");const Vt=N("indeterminate"),uo=N("multiple"),Vv=N("open"),Rv=N("pattern-mismatch"),jv=N("placeholder-shown"),R=N("pressed"),qv=N("range-overflow"),Wv=N("range-underflow"),Gv=N("required"),Ei=N("selected"),Xv=N("step-mismatch"),tn=N("submenu"),Uv=N("too-long"),Kv=N("too-short"),Yv=N("type-mismatch"),Jv=N("user-invalid"),Qv=N("valid"),Zv=N("value-missing"),Hc=g`${w("inline-flex")} :host{--size:16px;background-color:${P};border-radius:${ze};border:${I} solid ${Ve};box-sizing:border-box;cursor:pointer;position:relative;width:var(--size)}:host,.indeterminate-indicator,.checked-indicator{aspect-ratio:1}:host(:hover){border-color:${ut}}:host(:active){border-color:${pt}}:host(${y}:hover){background-color:${_t};border-color:${Na}}:host(${y}:active){background-color:${Ot};border-color:${ni}}:host(:focus-visible){outline:none}:host(:not([slot='input']))::after{content:'';position:absolute;inset:-8px;box-sizing:border-box;outline:none;border:${pe} solid ${X};border-radius:${B}}:host(:not([slot='input']):focus-visible)::after{border-color:${de}}.indeterminate-indicator,.checked-indicator{color:${dt};inset:0;margin:auto;position:absolute}::slotted([slot='checked-indicator']),.checked-indicator{fill:currentColor;display:inline-flex;flex:1 0 auto;width:12px}:host(:not(${y})) *:is(::slotted([slot='checked-indicator']),.checked-indicator){display:none}:host(${y}),:host(${Vt}){border-color:${at}}:host(${y}),:host(${Vt}) .indeterminate-indicator{background-color:${ht}}:host(${Vt}) .indeterminate-indicator{border-radius:${ze};position:absolute;width:calc(var(--size)/2);inset:0}:host([size='large']){--size:20px}:host([size='large']) ::slotted([slot='checked-indicator']),:host([size='large']) .checked-indicator{width:16px}:host([shape='circular']),:host([shape='circular']) .indeterminate-indicator{border-radius:${he}}:host([disabled]),:host([disabled]${y}){background-color:${st};border-color:${be}}:host([disabled]){cursor:unset}:host([disabled]${Vt}) .indeterminate-indicator{background-color:${be}}:host([disabled]${y}) .checked-indicator{color:${be}}@media (forced-colors:active){:host{border-color:FieldText}:host(:not([slot='input']:focus-visible))::after{border-color:Canvas}:host(:not([disabled]):hover),:host(${y}:not([disabled]):hover),:host(:not([slot='input']):focus-visible)::after{border-color:Highlight}.indeterminate-indicator,.checked-indicator{color:HighlightText}:host(${y}),:host(${Vt}) .indeterminate-indicator{background-color:FieldText}:host(${y}:not([disabled]):hover),:host(${Vt}:not([disabled]):hover) .indeterminate-indicator{background-color:Highlight}:host([disabled]){border-color:GrayText}:host([disabled]${Vt}) .indeterminate-indicator{background-color:GrayText}:host([disabled]),:host([disabled]${y}) .checked-indicator{color:GrayText}}`,e$=b.partial('<svg fill=currentColor aria-hidden=true class=checked-indicator width=1em height=1em viewBox="0 0 12 12" xmlns=http://www.w3.org/2000/svg><path d="M9.76 3.2c.3.29.32.76.04 1.06l-4.25 4.5a.75.75 0 0 1-1.08.02L2.22 6.53a.75.75 0 0 1 1.06-1.06l1.7 1.7L8.7 3.24a.75.75 0 0 1 1.06-.04Z" fill=currentColor></path></svg>'),t$=b.partial("<span class=indeterminate-indicator></span>");function o$(o={}){return b`<template @click=${(e,t)=>e.clickHandler(t.event)} @input=${(e,t)=>e.inputHandler(t.event)} @keydown=${(e,t)=>e.keydownHandler(t.event)} @keyup=${(e,t)=>e.keyupHandler(t.event)}><slot name=checked-indicator>${fe(o.checkedIndicator)}</slot><slot name=indeterminate-indicator>${fe(o.indeterminateIndicator)}</slot></template>`}const Vc=o$({checkedIndicator:e$,indeterminateIndicator:t$}),Rc=tr.compose({name:Tv,template:Vc,styles:Hc});Rc.define(u.registry);const r$=Yo,n$=Jo,i$=Qo,s$=`${u.prefix}-compound-button`;class jc extends Je{}const qc=g`${co} :host,:host(:is([size])){gap:12px;height:auto;padding-top:14px;padding-inline:12px;padding-bottom:16px;font-size:${O};line-height:${L}}.content{display:flex;flex-direction:column;text-align:start}::slotted([slot='description']){color:${Ae};line-height:100%;font-size:${D};font-weight:${F}}::slotted(svg),:host([size='large']) ::slotted(svg){font-size:40px;height:40px;width:40px}:host(:hover) ::slotted([slot='description']){color:${At}}:host(:active) ::slotted([slot='description']){color:${zt}}:host(:is([appearance='primary'],[appearance='primary']:is(:hover,:active))) ::slotted([slot='description']){color:${Ke}}:host(:is([appearance='transparent'],[appearance='subtle'],[appearance='subtle']:is(:hover,:active))) ::slotted([slot='description']){color:${Ae}}:host([appearance='transparent']:hover) ::slotted([slot='description']){color:${No}}:host([appearance='transparent']:active) ::slotted([slot='description']){color:${To}}:host(:is(:disabled,:disabled[appearance],[disabled-focusable],[disabled-focusable][appearance])) ::slotted([slot='description']){color:${z}}:host([size='small']){padding:8px;padding-bottom:10px}:host([icon-only]){min-width:52px;max-width:52px;padding:${ve}}:host([icon-only][size='small']){min-width:48px;max-width:48px;padding:${te}}:host([icon-only][size='large']){min-width:56px;max-width:56px;padding:${_e}}:host([size='large']){padding-top:18px;padding-inline:16px;padding-bottom:20px;font-size:${ue};line-height:${me}}:host([size='large']) ::slotted([slot='description']){font-size:${O}}@media (forced-colors:active){:host([appearance='primary']:not(:hover,:focus-visible,:disabled,[disabled-focusable])) ::slotted([slot='description']){color:HighlightText}}`;function a$(o={}){return b`<template @click=${(e,t)=>e.clickHandler(t.event)} @keypress=${(e,t)=>e.keypressHandler(t.event)}>${He(o)} <span class=content part=content><slot ${K("defaultSlottedContent")}></slot><slot name=description></slot></span>${it(o)}</template>`}const Wc=a$(),Gc=jc.compose({name:s$,template:Wc,styles:qc});Gc.define(u.registry);const l$={filled:"filled",ghost:"ghost"},c$={brand:"brand",danger:"danger",important:"important",informative:"informative",severe:"severe",subtle:"subtle",success:"success",warning:"warning"},d$={circular:"circular",rounded:"rounded"},h$={tiny:"tiny",extraSmall:"extra-small",small:"small",medium:"medium",large:"large",extraLarge:"extra-large"},Xc=`${u.prefix}-counter-badge`;var u$=Object.defineProperty,p$=Object.getOwnPropertyDescriptor,or=(o,e,t,r)=>{for(var n=r>1?void 0:r?p$(e,t):e,i=o.length-1,s;i>=0;i--)(s=o[i])&&(n=(r?s(e,t,n):s(n))||n);return r&&n&&u$(e,t,n),n};class Rt extends x{constructor(){super(...arguments),this.elementInternals=this.attachInternals(),this.count=0,this.overflowCount=99,this.showZero=!1,this.dot=!1}get displayValue(){const e=this.count??0;return!this.showZero&&e===0||this.dot?"":this.overflowCount>0&&e>this.overflowCount?`${this.overflowCount}+`:`${e}`}}or([a({converter:ae})],Rt.prototype,"count",2),or([a({attribute:"overflow-count",converter:ae})],Rt.prototype,"overflowCount",2),or([a({attribute:"show-zero",mode:"boolean"})],Rt.prototype,"showZero",2),or([a({mode:"boolean"})],Rt.prototype,"dot",2),or([Se],Rt.prototype,"displayValue",1);var g$=Object.defineProperty,f$=Object.getOwnPropertyDescriptor,on=(o,e,t,r)=>{for(var n=r>1?void 0:r?f$(e,t):e,i=o.length-1,s;i>=0;i--)(s=o[i])&&(n=(r?s(e,t,n):s(n))||n);return r&&n&&g$(e,t,n),n};class jt extends Rt{}on([a],jt.prototype,"appearance",2),on([a],jt.prototype,"color",2),on([a],jt.prototype,"shape",2),on([a],jt.prototype,"size",2),ct(jt,nt);const Uc=g`:host([shape='rounded']){border-radius:${B}}:host([shape='rounded']:is([size='tiny'],[size='extra-small'],[size='small'])){border-radius:${ze}}${zc} ${_c} ${Oc} ${Ac} :host(:is([dot],[dot][appearance][size])){min-width:auto;width:6px;height:6px;padding:0}`;function b$(o={}){return b`${He(o)} <span>${e=>e.displayValue}</span> ${it(o)}`}const Kc=b$(),Yc=jt.compose({name:Xc,template:Kc,styles:Uc});Yc.define(u.registry);const xt={modal:"modal",nonModal:"non-modal",alert:"alert"};function Di(o,e="-dialog"){return o?.nodeType!==Node.ELEMENT_NODE?!1:o.tagName.toLowerCase().endsWith(e)}const m$=`${u.prefix}-dialog`;var v$=Object.defineProperty,$$=Object.getOwnPropertyDescriptor,Qe=(o,e,t,r)=>{for(var n=r>1?void 0:r?$$(e,t):e,i=o.length-1,s;i>=0;i--)(s=o[i])&&(n=(r?s(e,t,n):s(n))||n);return r&&n&&v$(e,t,n),n};class Oe extends x{constructor(){super(...arguments),this.emitToggle=()=>{this.$emit("toggle",{oldState:this.dialog.open?"closed":"open",newState:this.dialog.open?"open":"closed"})}}get dialogDescribedby(){if(this.dialog)return this.ariaDescribedby}get dialogLabel(){if(this.dialog)return this.ariaLabel}get dialogLabelledby(){if(this.dialog)return this.ariaLabelledby}get dialogModal(){if(this.dialog&&this.type!==xt.nonModal)return!0}get dialogRole(){if(this.dialog&&this.type===xt.alert)return"alertdialog"}connectedCallback(){super.connectedCallback(),E.enqueue(()=>{this.type=this.type??xt.modal})}emitBeforeToggle(){this.$emit("beforetoggle",{oldState:this.dialog.open?"open":"closed",newState:this.dialog.open?"closed":"open"})}show(){E.enqueue(()=>{this.emitBeforeToggle(),this.type===xt.alert||this.type===xt.modal?this.dialog.showModal():this.type===xt.nonModal&&this.dialog.show(),this.emitToggle()})}hide(){this.emitBeforeToggle(),this.dialog.close(),this.emitToggle()}clickHandler(e){return this.dialog.open&&this.type!==xt.alert&&e.target===this.dialog&&this.hide(),!0}}Qe([f],Oe.prototype,"dialog",2),Qe([a({attribute:"aria-describedby"})],Oe.prototype,"ariaDescribedby",2),Qe([a({attribute:"aria-labelledby"})],Oe.prototype,"ariaLabelledby",2),Qe([a({attribute:"aria-label"})],Oe.prototype,"ariaLabel",2),Qe([a],Oe.prototype,"type",2),Qe([Se],Oe.prototype,"dialogDescribedby",1),Qe([Se],Oe.prototype,"dialogLabel",1),Qe([Se],Oe.prototype,"dialogLabelledby",1),Qe([Se],Oe.prototype,"dialogModal",1),Qe([Se],Oe.prototype,"dialogRole",1);const Jc=b`<dialog class=dialog part=dialog aria-modal=${o=>o.dialogModal} aria-describedby=${o=>o.dialogDescribedby} aria-labelledby=${o=>o.dialogLabelledby} aria-label=${o=>o.dialogLabel} role=${o=>o.dialogRole} @click=${(o,e)=>o.clickHandler(e.event)} @cancel=${o=>o.hide()} ${A("dialog")}><slot></slot></dialog>`,Qc=g`@layer base{:host{--dialog-backdrop:${Fr};--dialog-starting-scale:0.85}::backdrop{background:var(--dialog-backdrop,rgba(0,0,0,0.4))}dialog{background:${P};border-radius:${mi};border:none;box-shadow:${Pi};color:${T};max-height:100vh;padding:0;width:100%;max-width:600px}:host([type='non-modal']) dialog{inset:0;z-index:2;overflow:auto}@supports (max-height:1dvh){dialog{max-height:100dvh}}}@layer animations{@media (prefers-reduced-motion:no-preference){dialog,::backdrop{transition:display allow-discrete,opacity,overlay allow-discrete,scale;transition-duration:${Xr};transition-timing-function:${mt};opacity:0}::backdrop{transition-timing-function:${Ur}}[open],[open]::backdrop{opacity:1}dialog:not([open]){scale:var(--dialog-starting-scale);transition-timing-function:${bt}}}@starting-style{[open],[open]::backdrop{opacity:0}dialog{scale:var(--dialog-starting-scale)}}}@media (forced-colors:active){@layer base{dialog{border:${I} solid ${X}}}}`,Zc=Oe.compose({name:m$,template:Jc,styles:Qc});Zc.define(u.registry);const y$=`${u.prefix}-dialog-body`;class ed extends x{clickHandler(e){if(!e.defaultPrevented){const t=this.parentElement;Di(t)&&t.hide()}return!0}}const td=b`<template><div class=title part=title><slot name=title></slot><slot name=title-action></slot><slot name=close @click=${(o,e)=>o.clickHandler(e.event)}></slot></div><div class=content part=content><slot></slot></div><div class=actions part=actions><slot name=action></slot></div></template>`,od=g`${w("grid")} :host{background:${P};box-sizing:border-box;gap:${re};padding:${ft} ${jr};container:dialog-body/inline-size}.title{box-sizing:border-box;align-items:flex-start;background:${P};color:${T};column-gap:8px;display:flex;font-family:${v};font-size:${Ft};font-weight:${H};inset-block-start:0;justify-content:space-between;line-height:${Vo};margin-block-end:calc(${re} * -1);margin-block-start:calc(${ft} * -1);padding-block-end:${re};padding-block-start:${ft}}.content{box-sizing:border-box;color:${T};font-family:${v};font-size:${O};font-weight:${F};line-height:${L};min-height:32px}.actions{box-sizing:border-box;background:${P};display:flex;flex-direction:column;gap:${re};inset-block-end:0;margin-block-end:calc(${ft} * -1);padding-block-end:${ft};padding-block-start:${Wr}}::slotted([slot='title-action']){margin-inline-start:auto}::slotted([slot='title']){font:inherit;padding:0;margin:0}:not(:has(:is([slot='title'],[slot='title-action']))) .title{justify-content:end}@container (min-width:480px){.actions{align-items:center;flex-direction:row;justify-content:flex-end;margin-block-start:calc(${re} * -1);padding-block-start:${re}}}@media (min-height:480px){.title{position:sticky;z-index:1}.actions{position:sticky;z-index:2}`,rd=ed.compose({name:y$,template:td,styles:od});rd.define(u.registry);const ye={horizontal:"horizontal",vertical:"vertical"},po={separator:"separator",presentation:"presentation"},Li=ye,k$={center:"center",start:"start",end:"end"},x$={strong:"strong",brand:"brand",subtle:"subtle"},w$=`${u.prefix}-divider`;var S$=Object.defineProperty,B$=Object.getOwnPropertyDescriptor,nd=(o,e,t,r)=>{for(var n=r>1?void 0:r?B$(e,t):e,i=o.length-1,s;i>=0;i--)(s=o[i])&&(n=(r?s(e,t,n):s(n))||n);return r&&n&&S$(e,t,n),n};class rn extends x{constructor(){super(...arguments),this.elementInternals=this.attachInternals()}connectedCallback(){super.connectedCallback(),this.elementInternals.role=this.role??po.separator,this.role!==po.presentation&&(this.elementInternals.ariaOrientation=this.orientation??Li.horizontal)}roleChanged(e,t){this.$fastController.isConnected&&(this.elementInternals.role=`${t??po.separator}`),t===po.presentation&&(this.elementInternals.ariaOrientation=null)}orientationChanged(e,t){this.elementInternals.ariaOrientation=this.role!==po.presentation?t??null:null,Dt(this.elementInternals,e,t,Li)}}nd([a],rn.prototype,"role",2),nd([a],rn.prototype,"orientation",2);var C$=Object.defineProperty,P$=Object.getOwnPropertyDescriptor,Mi=(o,e,t,r)=>{for(var n=r>1?void 0:r?P$(e,t):e,i=o.length-1,s;i>=0;i--)(s=o[i])&&(n=(r?s(e,t,n):s(n))||n);return r&&n&&C$(e,t,n),n};class rr extends rn{}Mi([a({attribute:"align-content"})],rr.prototype,"alignContent",2),Mi([a],rr.prototype,"appearance",2),Mi([a({mode:"boolean"})],rr.prototype,"inset",2);function I$(){return b`<slot></slot>`}const id=I$(),sd=g`${w("flex")} :host{contain:content}:host::after,:host::before{align-self:center;background:${so};box-sizing:border-box;content:'';display:flex;flex-grow:1;height:${I}}:host([inset]){padding:0 12px}:host ::slotted(*){color:${Ae};font-family:${v};font-size:${D};font-weight:${F};margin:0;padding:0 12px}:host([align-content='start'])::before,:host([align-content='end'])::after{flex-basis:12px;flex-grow:0;flex-shrink:0}:host([orientation='vertical']){align-items:center;flex-direction:column;height:100%;min-height:84px}:host([orientation='vertical']):empty{min-height:20px}:host([orientation='vertical'][inset])::before{margin-top:12px}:host([orientation='vertical'][inset])::after{margin-bottom:12px}:host([orientation='vertical']):empty::before,:host([orientation='vertical']):empty::after{height:10px;min-height:10px;flex-grow:0}:host([orientation='vertical'])::before,:host([orientation='vertical'])::after{width:${I};min-height:20px;height:100%}:host([orientation='vertical']) ::slotted(*){display:flex;flex-direction:column;padding:12px 0;line-height:20px}:host([orientation='vertical'][align-content='start'])::before{min-height:8px}:host([orientation='vertical'][align-content='end'])::after{min-height:8px}:host([appearance='strong'])::before,:host([appearance='strong'])::after{background:${Re}}:host([appearance='strong']) ::slotted(*){color:${T}}:host([appearance='brand'])::before,:host([appearance='brand'])::after{background:${oi}}:host([appearance='brand']) ::slotted(*){color:${Ao}}:host([appearance='subtle'])::before,:host([appearance='subtle'])::after{background:${Pa}}:host([appearance='subtle']) ::slotted(*){color:${Y}}@media (forced-colors:active){:host([appearance='strong'])::before,:host([appearance='strong'])::after,:host([appearance='brand'])::before,:host([appearance='brand'])::after,:host([appearance='subtle'])::before,:host([appearance='subtle'])::after,:host::after,:host::before{background:WindowText;color:WindowText}}`,ad=rr.compose({name:w$,template:id,styles:sd});ad.define(u.registry);const ld={start:"start",end:"end"},cd={small:"small",medium:"medium",large:"large",full:"full"},go={nonModal:"non-modal",modal:"modal",inline:"inline"},N$=`${u.prefix}-drawer`;var T$=Object.defineProperty,A$=Object.getOwnPropertyDescriptor,Fe=(o,e,t,r)=>{for(var n=r>1?void 0:r?A$(e,t):e,i=o.length-1,s;i>=0;i--)(s=o[i])&&(n=(r?s(e,t,n):s(n))||n);return r&&n&&T$(e,t,n),n};class ke extends x{constructor(){super(...arguments),this.position=ld.start,this.size=cd.medium,this.emitToggle=()=>{this.$emit("toggle",{oldState:this.dialog.open?"closed":"open",newState:this.dialog.open?"open":"closed"})},this.emitBeforeToggle=()=>{this.$emit("beforetoggle",{oldState:this.dialog.open?"open":"closed",newState:this.dialog.open?"closed":"open"})}}get dialogDescribedby(){if(this.dialog)return this.ariaDescribedby}get dialogLabel(){if(this.dialog)return this.ariaLabel}get dialogLabelledby(){if(this.dialog)return this.ariaLabelledby}get dialogModal(){if(this.dialog&&this.type===go.modal)return!0}get dialogRole(){return this.dialog&&this.type===go.modal?"dialog":this.role}connectedCallback(){super.connectedCallback(),E.enqueue(()=>{this.type=this.type??go.modal})}show(){E.enqueue(()=>{this.emitBeforeToggle(),this.type===go.inline||this.type===go.nonModal?this.dialog.show():this.dialog.showModal(),this.emitToggle()})}hide(){this.emitBeforeToggle(),this.dialog.close(),this.emitToggle()}clickHandler(e){return this.dialog.open&&e.target===this.dialog&&this.hide(),!0}cancelHandler(){this.hide()}}Fe([a],ke.prototype,"type",2),Fe([a({attribute:"aria-labelledby"})],ke.prototype,"ariaLabelledby",2),Fe([a({attribute:"aria-describedby"})],ke.prototype,"ariaDescribedby",2),Fe([a],ke.prototype,"position",2),Fe([f],ke.prototype,"role",2),Fe([a({attribute:"size"})],ke.prototype,"size",2),Fe([f],ke.prototype,"dialog",2),Fe([Se],ke.prototype,"dialogDescribedby",1),Fe([Se],ke.prototype,"dialogLabel",1),Fe([Se],ke.prototype,"dialogLabelledby",1),Fe([Se],ke.prototype,"dialogModal",1),Fe([Se],ke.prototype,"dialogRole",1);const dd=g`${w("block")} :host{--dialog-backdrop:${Fr}}:host([type='non-modal']) dialog[open]::backdrop{display:none}:host([type='non-modal']) dialog{position:fixed;top:0;bottom:0}:host([type='inline']){height:100%;width:fit-content}:host([type='inline']) dialog[open]{box-shadow:none;position:relative}:host([size='small']) dialog{width:320px;max-width:320px}:host([size='large']) dialog{width:940px;max-width:940px}:host([size='full']) dialog{width:100%;max-width:100%}:host([position='end']) dialog{margin-inline-start:auto;margin-inline-end:0}dialog{box-sizing:border-box;z-index:var(--drawer-elevation,1000);font-size:${O};line-height:${L};font-family:${v};font-weight:${F};color:${T};max-width:var(--drawer-width,592px);max-height:100vh;height:100%;margin-inline-start:0;margin-inline-end:auto;border-inline-end-color:${X};border-inline-start-color:var(--drawer-separator,${X});outline:none;top:0;bottom:0;width:var(--drawer-width,592px);border-radius:0;padding:0;max-width:var(--drawer-width,592px);box-shadow:${Pi};border:${I} solid ${X};background:${P}}dialog::backdrop{background:var(--dialog-backdrop)}@layer animations{@media (prefers-reduced-motion:no-preference){dialog{transition:display allow-discrete,opacity,overlay allow-discrete,transform;transition-duration:${Xr};transition-timing-function:${mt}}:host dialog:not([open]){transform:translateX(-100%);transition-timing-function:${bt}}:host([position='end']) dialog:not([open]){transform:translateX(100%);transition-timing-function:${bt}}dialog[open]{transform:translateX(0)}dialog::backdrop{transition:display allow-discrete,opacity,overlay allow-discrete,scale;transition-duration:${Xr};transition-timing-function:${mt};background:var(--dialog-backdrop,${Fr});opacity:0}dialog[open]::backdrop{opacity:1}dialog::backdrop{transition-timing-function:${Ur}}}@starting-style{dialog[open]{transform:translateX(-100%)}:host([position='end']) dialog[open]{transform:translateX(100%)}dialog[open]::backdrop{opacity:0}}}`;function z$(){return b`<dialog class=dialog part=dialog aria-describedby=${o=>o.dialogDescribedby} aria-labelledby=${o=>o.dialogLabelledby} aria-label=${o=>o.dialogLabel} aria-modal=${o=>o.dialogModal} role=${o=>o.dialogRole} size=${o=>o.size} position=${o=>o.position} @click=${(o,e)=>o.clickHandler(e.event)} @cancel=${o=>o.cancelHandler()} ${A("dialog")}><slot></slot></dialog>`}const hd=z$(),ud=ke.compose({name:N$,template:hd,styles:dd});ud.define(u.registry);const _$=`${u.prefix}-drawer-body`;class pd extends x{clickHandler(e){if(!e.defaultPrevented){const t=this.parentElement;Di(t,"-drawer")&&t.hide()}return!0}}const Hi=g.partial`font-family:${v};font-size:${O};line-height:${L};font-weight:${F};`,O$=g.partial`font-family:${v};font-size:${O};line-height:${L};font-weight:${H};`,F$=g.partial`font-family:${v};font-size:${O};line-height:${L};font-weight:${Mo};`,gd=g.partial`font-family:${v};font-size:${ue};line-height:${me};font-weight:${F};`,Vi=g.partial`font-family:${v};font-size:${D};line-height:${j};font-weight:${F};`,E$=g.partial`font-family:${v};font-size:${D};line-height:${j};font-weight:${H};`,D$=g.partial`font-family:${v};font-size:${D};line-height:${j};font-weight:${Mo};`,L$=g.partial`font-family:${v};font-size:${ao};line-height:${Ho};font-weight:${F};`,M$=g.partial`font-family:${v};font-size:${ao};line-height:${Ho};font-weight:${H};`,fd=g.partial`font-family:${v};font-size:${Ft};line-height:${Vo};font-weight:${H};`,H$=g.partial`font-family:${v};font-size:${ue};line-height:${me};font-weight:${H};`,V$=g.partial`font-family:${v};font-size:${ue};line-height:${me};font-weight:${Mo};`,R$=g.partial`font-family:${v};font-size:${$i};line-height:${Si};font-weight:${H};`,j$=g.partial`font-family:${v};font-size:${vi};line-height:${wi};font-weight:${H};`,q$=g.partial`font-family:${v};font-size:${Lo};line-height:${xi};font-weight:${H};`,W$=g.partial`font-family:${v};font-size:${yi};line-height:${Bi};font-weight:${H};`,G$=g.partial`font-family:${v};font-size:${ki};line-height:${Ci};font-weight:${H};`,bd=g`${w("grid")} :host{box-sizing:border-box;grid-template-rows:min-content auto min-content;position:relative;height:100%;padding:${Zl};max-height:100svh}.header{display:flex;justify-content:space-between;align-items:center;${fd}}.footer{display:flex;justify-content:flex-start;gap:${oe}}::slotted([slot='title']){font:inherit;padding:0;margin:0}`;function X$(){return b`<div class=header part=header><slot name=title></slot><slot name=close @click=${(o,e)=>o.clickHandler(e.event)}></slot></div><div class=content part=content><slot></slot></div><div class=footer part=footer><slot name=footer></slot></div>`}const md=X$(),vd=pd.compose({name:_$,template:md,styles:bd});vd.define(u.registry);function U$(o,e="-dropdown"){return o?.nodeType!==Node.ELEMENT_NODE?!1:o.tagName.toLowerCase().endsWith(e)}const $d={filledDarker:"filled-darker",filledLighter:"filled-lighter",outline:"outline",transparent:"transparent"},K$={small:"small",medium:"medium",large:"large"},nn={combobox:"combobox",dropdown:"dropdown",select:"select"},Y$=`${u.prefix}-dropdown`;function Ri(o,e="-listbox"){return o?.nodeType!==Node.ELEMENT_NODE?!1:o.tagName.toLowerCase().endsWith(e)}const J$=`${u.prefix}-listbox`;function qt(o,e="-option"){return o?.nodeType!==Node.ELEMENT_NODE?!1:o.tagName.toLowerCase().endsWith(e)}const Q$=`${u.prefix}-option`,lt={ltr:"ltr",rtl:"rtl"},ji=o=>o.closest("[dir]")?.dir==="rtl"?lt.rtl:lt.ltr;function yd(o){return o.closest("[lang]")?.lang??"en"}let Z$=0;function Ze(o="id-"){const e=`${o}${Z$++}`;return document.getElementById(e)?Ze(o):e}const ey=b`<svg class=chevron-down-20-regular aria-hidden=true slot=indicator viewBox="0 0 20 20" ${A("indicator")}><path d="M15.85 7.65a.5.5 0 0 1 0 .7l-5.46 5.49a.55.55 0 0 1-.78 0L4.15 8.35a.5.5 0 1 1 .7-.7L10 12.8l5.15-5.16a.5.5 0 0 1 .7 0" fill=currentColor /></svg>`,kd=b`<input @input=${(o,e)=>o.inputHandler(e.event)} @change=${(o,e)=>o.changeHandler(e.event)} aria-activedescendant=${o=>o.activeDescendant} aria-controls=${o=>o.listbox?.id??null} aria-labelledby=${o=>o.ariaLabelledBy} aria-expanded=${o=>o.open} aria-haspopup=listbox placeholder=${o=>o.placeholder} role=combobox ?disabled=${o=>o.disabled} type=${o=>o.type} value=${o=>o.valueAttribute} slot=control ${A("control")}>`,xd=b`<button aria-activedescendant=${o=>o.activeDescendant} aria-controls=${o=>o.listbox?.id??null} aria-expanded=${o=>o.open} aria-haspopup=listbox role=combobox ?disabled=${o=>o.disabled} type=button slot=control ${A("control")}>${o=>o.displayValue}</button>`;function ty(o={}){return b`<template @click=${(e,t)=>e.clickHandler(t.event)} @focusout=${(e,t)=>e.focusoutHandler(t.event)} @keydown=${(e,t)=>e.keydownHandler(t.event)} @mousedown=${(e,t)=>e.mousedownHandler(t.event)}><div class=control><slot name=control ${A("controlSlot")}></slot><slot name=indicator ${A("indicatorSlot")}>${fe(o.indicator)}</slot></div><slot @slotchange=${(e,t)=>e.slotchangeHandler(t.event)}></slot></template>`}const wd=ty({indicator:ey});var oy=Object.defineProperty,ry=Object.getOwnPropertyDescriptor,J=(o,e,t,r)=>{for(var n=r>1?void 0:r?ry(e,t):e,i=o.length-1,s;i>=0;i--)(s=o[i])&&(n=(r?s(e,t,n):s(n))||n);return r&&n&&oy(e,t,n),n};const q=class xo extends x{constructor(){super(),this.activeIndex=0,this.id=Ze("dropdown-"),this.required=!1,this.type=nn.dropdown,this.valueAttribute="",this.repositionListbox=()=>{this.frameId&&cancelAnimationFrame(this.frameId),this.frameId=requestAnimationFrame(()=>{const e=this.getBoundingClientRect(),t=window.innerWidth-e.right,r=e.left;this.listbox.style.minWidth=`${e.width}px`,this.listbox.style.top=`${e.top}px`,r+e.width>window.innerWidth||ji(this)==="rtl"&&t-e.width>0?(this.listbox.style.right=`${t}px`,this.listbox.style.left="unset"):(this.listbox.style.left=`${r}px`,this.listbox.style.right="unset")})},this.elementInternals=this.attachInternals(),this._insertingControl=!1,this.searchTimeoutMs=500,this.searchString="",this.elementInternals.role="presentation"}get activeDescendant(){if(this.open)return this.enabledOptions[this.activeIndex]?.id}activeIndexChanged(e,t){if(typeof t=="number"){const r=this.matches(":has(:focus-visible)")?t:-1;this.enabledOptions.forEach((n,i)=>{n.active=i===r}),this.open&&this.enabledOptions[r]?.scrollIntoView({block:"nearest"})}}controlChanged(e,t){t&&(t.id=t.id||Ze("input-"))}disabledChanged(e,t){this.listbox&&E.enqueue(()=>{this.options.forEach(r=>{r.disabled=r.disabledAttribute||this.disabled})})}get displayValue(){if(!this.$fastController.isConnected||!this.control||this.isCombobox&&this.multiple)return $(this.elementInternals,"placeholder-shown",!1),"";this.listFormatter=this.listFormatter??new Intl.ListFormat(yd(this),{type:"conjunction",style:"narrow"});const e=this.listFormatter.format(this.selectedOptions.map(t=>t.text));return $(this.elementInternals,"placeholder-shown",!e),this.isCombobox?e:e||this.placeholder}listboxChanged(e,t){if(e&&m.getNotifier(this).unsubscribe(e),t){t.dropdown=this,t.popover="manual",t.tabIndex=-1;const r=m.getNotifier(this);if(r.subscribe(t),r.notify("multiple"),E.enqueue(()=>{this.options.forEach(n=>{n.disabled=n.disabledAttribute||this.disabled,n.name=this.name}),this.enabledOptions.filter(n=>n.defaultSelected).forEach((n,i)=>{n.selected=this.multiple||i===0}),this.setValidity()}),Jr){const n=Ze("--dropdown-anchor-");this.style.setProperty("anchor-name",n),this.listbox.style.setProperty("position-anchor",n)}}}multipleChanged(e,t){this.elementInternals.ariaMultiSelectable=t?"true":"false",$(this.elementInternals,"multiple",t),this.value=null}nameChanged(e,t){this.listbox&&E.enqueue(()=>{this.options.forEach(r=>{r.name=t})})}openChanged(e,t){$(this.elementInternals,"open",t),this.elementInternals.ariaExpanded=t?"true":"false",this.activeIndex=this.selectedIndex??-1,Jr||this.anchorPositionFallback(t)}typeChanged(e,t){this.$fastController.isConnected&&this.insertControl()}get enabledOptions(){return this.listbox?.enabledOptions??Array.from(this.querySelectorAll("*")).filter(e=>qt(e)&&!e.disabled)}get freeformOption(){return this.enabledOptions.find(e=>e.freeform)}get isCombobox(){return this.type===nn.combobox}get labels(){return Object.freeze(Array.from(this.elementInternals.labels))}get options(){return this.listbox?.options??Array.from(this.querySelectorAll("*")).filter(e=>qt(e))}get selectedIndex(){return this.enabledOptions.findIndex(e=>e.selected)??-1}get selectedOptions(){return this.listbox?.selectedOptions??[]}get validationMessage(){if(this.elementInternals.validationMessage)return this.elementInternals.validationMessage;if(!this._validationFallbackMessage){const e=document.createElement("input");e.type="radio",e.name="validation-message-fallback",e.required=!0,e.checked=!1,this._validationFallbackMessage=e.validationMessage}return!this.disabled&&this.required&&this.listbox.selectedOptions.length===0?this._validationFallbackMessage:""}get validity(){return this.elementInternals.validity}get value(){return m.notify(this,"value"),this.enabledOptions.find(e=>e.selected)?.value??null}set value(e){this.multiple||(this.selectOption(this.enabledOptions.findIndex(t=>t.value===e)),m.track(this,"value"))}get willValidate(){return this.elementInternals.willValidate}changeHandler(e){if(this===e.target)return!0;const t=this.isCombobox?this.enabledOptions.findIndex(r=>r.text===this.control.value):this.enabledOptions.indexOf(e.target);return this.selectOption(t,!0),!0}checkValidity(){return this.elementInternals.checkValidity()}clickHandler(e){if(this.disabled)return;const t=e.target;if(this.focus(),(t===this.control||e.composedPath().includes(this.indicator))&&!this.isCombobox)return this.listbox.togglePopover(),!0;if(!this.open)return this.listbox.showPopover(),!0;if(qt(t)){if(t.disabled)return;this.selectOption(this.enabledOptions.indexOf(t),!0),this.multiple||(this.isCombobox&&(this.control.value=t.text,this.updateFreeformOption()),this.listbox.hidePopover())}return!0}filterOptions(e,t=this.enabledOptions){return this.listCollator||(this.listCollator=new Intl.Collator(yd(this),{usage:"search",sensitivity:"base"})),t.filter(r=>this.listCollator.compare(r.text.substring(0,Math.min(r.text.length,e.length)),e)===0)}focus(e){this.disabled||this.control.focus(e)}focusoutHandler(e){const t=e.relatedTarget;return this.open&&!this.contains(t)&&this.listbox.togglePopover(),!0}formResetCallback(){this.enabledOptions.forEach((e,t)=>{if(this.multiple){e.selected=!!e.defaultSelected;return}if(!e.defaultSelected){e.selected=!1;return}this.selectOption(t)}),this.setValidity()}getEnabledIndexInBounds(e,t=this.enabledOptions.length||0){return t===0?-1:(e+t)%t}inputHandler(e){this.open||this.listbox.showPopover(),this.updateFreeformOption();const t=this.control.value,r=this.enabledOptions.indexOf(this.filterOptions(t)[0]??null);return this.activeIndex=r,!0}insertControl(){if(!this._insertingControl){if(this._insertingControl=!0,this.controlSlot?.assignedNodes().forEach(e=>this.removeChild(e)),this.type===nn.combobox){kd.render(this,this);return}xd.render(this,this),this._insertingControl=!1}}handleSearchCharacter(e){const t=this.searchString===e.repeat(this.searchString.length);this.searchString+=e;let r=this.searchString.length>1?this.filterOptions(this.searchString):[],n=!1;if(!r.length&&t&&(r=this.filterOptions(e),n=!0),r.length){const i=this.enabledOptions[this.activeIndex],s=r.indexOf(i),c=n?r[this.getEnabledIndexInBounds(s+1,r.length)]:s>=0?i:r[0];this.activeIndex=this.enabledOptions.indexOf(c)}clearTimeout(this.searchTimeout),this.searchTimeout=setTimeout(()=>{this.searchString="",this.searchTimeout=void 0},this.searchTimeoutMs)}keydownHandler(e){let t=0;switch(e.key){case"ArrowUp":{e.preventDefault(),t=-1;break}case"ArrowDown":{e.preventDefault(),t=1;break}case" ":case"Enter":case"Tab":{if(e.key===" "){if(this.isCombobox)break;e.preventDefault()}if(this.open){if(this.selectOption(this.activeIndex,!0),this.multiple)break;return this.listbox.hidePopover(),e.key==="Tab"}this.listbox.showPopover();break}case"Escape":{this.activeIndex=this.multiple?0:this.selectedIndex,this.listbox.hidePopover();break}}if(!t)return!this.isCombobox&&e.key.length===1&&e.key!==" "&&!e.ctrlKey&&!e.metaKey&&!e.altKey&&(this.open||this.listbox.showPopover(),this.handleSearchCharacter(e.key)),!0;if(!this.open){this.listbox.showPopover();return}let r=this.activeIndex;r+=t;let n=this.getEnabledIndexInBounds(r);return n===0&&this.freeformOption?.hidden&&(n=this.getEnabledIndexInBounds(r+t)),this.activeIndex=n,!0}mousedownHandler(e){if(!(this.disabled||e.target===this.control&&!this.isCombobox))return!qt(e.target)}reportValidity(){return this.elementInternals.reportValidity()}selectOption(e=this.selectedIndex,t=!1){this.listbox.selectOption(e),this.control&&(this.control.value=this.displayValue),this.setValidity(),this.updateFreeformOption(),t&&this.$emit("change")}setValidity(e,t,r){if(!this.elementInternals)return;if(this.disabled||!this.required){this.elementInternals.setValidity({});return}const n=this.required&&this.listbox.selectedOptions.length===0;this.elementInternals.setValidity({valueMissing:n,...e},t??this.validationMessage,r??this.control)}slotchangeHandler(e){const t=e.target;Ko(this,()=>{const r=t.assignedElements().find(n=>Ri(n));r&&(this.listbox=r)})}updateFreeformOption(e=this.control.value){if(this.freeformOption){if(e===""||this.filterOptions(e,this.enabledOptions.filter(t=>!t.freeform)).length){this.freeformOption.value="",this.freeformOption.selected=!1,this.freeformOption.hidden=!0;return}this.freeformOption.value=e,this.freeformOption.hidden=!1}}connectedCallback(){super.connectedCallback(),E.enqueue(()=>{this.insertControl()})}disconnectedCallback(){xo.AnchorPositionFallbackObserver?.disconnect(),this.debounceController?.abort(),this.searchTimeout&&(clearTimeout(this.searchTimeout),this.searchTimeout=void 0,this.searchString=""),super.disconnectedCallback()}anchorPositionFallback(e){if(xo.AnchorPositionFallbackObserver||(xo.AnchorPositionFallbackObserver=new IntersectionObserver(t=>{t.forEach(({boundingClientRect:r,isIntersecting:n,target:i})=>{if(Ri(i)){if(r.bottom>window.innerHeight){$(i.elementInternals,"flip-block",!0);return}r.top<0&&$(i.elementInternals,"flip-block",!1)}})},{threshold:1})),e){this.debounceController=new AbortController,xo.AnchorPositionFallbackObserver.observe(this.listbox),window.addEventListener("scroll",this.repositionListbox,{passive:!0,capture:!0,signal:this.debounceController.signal}),window.addEventListener("resize",this.repositionListbox,{passive:!0,signal:this.debounceController.signal}),this.repositionListbox();return}xo.AnchorPositionFallbackObserver.unobserve(this.listbox),this.debounceController?.abort(),this.frameId&&(cancelAnimationFrame(this.frameId),this.frameId=void 0)}};q.formAssociated=!0,J([Se],q.prototype,"activeDescendant",1),J([f],q.prototype,"activeIndex",2),J([a({attribute:"aria-labelledby",mode:"fromView"})],q.prototype,"ariaLabelledBy",2),J([f],q.prototype,"control",2),J([a({mode:"boolean"})],q.prototype,"disabled",2),J([Se],q.prototype,"displayValue",1),J([a({attribute:"id"})],q.prototype,"id",2),J([f],q.prototype,"indicator",2),J([f],q.prototype,"indicatorSlot",2),J([a({attribute:"value",mode:"fromView"})],q.prototype,"initialValue",2),J([f],q.prototype,"listbox",2),J([a({mode:"boolean"})],q.prototype,"multiple",2),J([a],q.prototype,"name",2),J([f],q.prototype,"open",2),J([a],q.prototype,"placeholder",2),J([a({mode:"boolean"})],q.prototype,"required",2),J([a],q.prototype,"type",2),J([a({attribute:"value"})],q.prototype,"valueAttribute",2);let Sd=q;var ny=Object.defineProperty,iy=Object.getOwnPropertyDescriptor,Bd=(o,e,t,r)=>{for(var n=r>1?void 0:r?iy(e,t):e,i=o.length-1,s;i>=0;i--)(s=o[i])&&(n=(r?s(e,t,n):s(n))||n);return r&&n&&ny(e,t,n),n};class sn extends Sd{constructor(){super(...arguments),this.appearance=$d.outline}}Bd([a],sn.prototype,"appearance",2),Bd([a],sn.prototype,"size",2);const Cd=g`${w("inline-flex")} :host{box-sizing:border-box;color:${T};cursor:pointer}:host(${jv}){color:${_r}}.control{appearance:none;background-color:${P};border-radius:${B};border:${I} solid ${X};box-shadow:inset 0 0 0 ${I} var(--control-border-color);box-sizing:border-box;color:inherit;column-gap:${V};display:inline-flex;justify-content:space-between;min-width:160px;overflow:hidden;padding:${lo} ${Ye};white-space:normal;position:relative;text-align:start;width:100%;z-index:1;${Hi}}:host([size='small']) .control{column-gap:${V};padding:${Et} ${ve};${Vi}}:host([size='large']) .control{column-gap:${_e};padding:${re} ${oe};${gd}}::slotted(:is(input,button)){all:unset;flex:1 1 auto}::slotted(button){cursor:pointer}::slotted(input){cursor:text}:where(slot[name='indicator']>*,::slotted([slot='indicator'])){all:unset;align-items:center;appearance:none;aspect-ratio:1;color:${Y};display:inline-flex;justify-content:center;width:20px}:host([size='small']) :where(slot[name='indicator']>*,::slotted([slot='indicator'])){width:16px}:host([size='large']) :where(slot[name='indicator']>*,::slotted([slot='indicator'])){width:24px}.control::after,.control::before{content:''/'';inset:auto 0 0;pointer-events:none;position:absolute}.control::before{height:${I}}.control::after{background-color:${at};height:${pe};scale:0 1;transition:scale ${Gr} ${mt}}:host(:where(:focus-within)) .control{border-radius:${B};box-shadow:inset 0 0 0 1px ${Eo};outline:${pe} solid ${de}}:host(:where(${Vv},:focus-within)) .control::after{scale:1 1;transition-duration:${Go};transition-timing-function:${bt}}:host(:where([appearance='outline'],[appearance='transparent'])) .control::before{background-color:${Ve}}:host([appearance='transparent']) .control{--control-border-color:${Er};background-color:${ce};border-radius:${Do}}:host([appearance='outline']) .control{--control-border-color:${Re}}:host([appearance='outline']) .control:hover{--control-border-color:${gt}}:host(:where([appearance='outline'],[appearance='transparent'])) .control:hover::before{background-color:${ut}}:host([appearance='outline']) .control:hover::after{background-color:${_t}}:host([appearance='outline']) .control:active{--control-border-color:${io}}:host(:where([appearance='outline'],[appearance='transparent'])) .control:active::before{background-color:${pt}}:host(:where([appearance='outline'],[appearance='transparent'])) .control:active::after{background-color:${Ot}}:host([appearance='filled-darker']) .control{background-color:${oo}}:host(:where([appearance='filled-lighter'],[appearance='filled-darker'])) .control{--control-border-color:${X}}:host(:disabled),:host(:disabled) ::slotted(:where(button,input)){cursor:not-allowed}:host(:disabled) .control::before,:host(:disabled) .control::after{content:none}:host(:disabled) .control:is(*,:active,:hover),:host(:disabled) :where(slot[name='indicator']>*,::slotted([slot='indicator'])){--control-border-color:${be};background-color:${st};color:${z}}::slotted(:not([slot]):not([popover])),::slotted([popover]:not(:popover-open)){display:none}@supports not (anchor-name:--anchor){:host{--listbox-max-height:50vh;--margin-offset:calc(${L} + (${lo} * 2) + ${I})}:host([size='small']){--margin-offset:calc(${j} + (${Et} * 2) + ${I})}:host([size='large']){--margin-offset:calc(${me} + (${re} * 2) + ${I})}}@media (forced-colors:active){:host(:disabled) .control{border-color:GrayText}:host(:disabled) :where(slot[name='indicator']>*,::slotted([slot='indicator'])){color:GrayText}`,Pd=sn.compose({name:Y$,template:wd,styles:Cd});Pd.define(u.registry);const Id={above:"above",after:"after",before:"before"},Ie={badInput:"bad-input",customError:"custom-error",patternMismatch:"pattern-mismatch",rangeOverflow:"range-overflow",rangeUnderflow:"range-underflow",stepMismatch:"step-mismatch",tooLong:"too-long",tooShort:"too-short",typeMismatch:"type-mismatch",valueMissing:"value-missing",valid:"valid"},sy=`${u.prefix}-field`;var ay=Object.defineProperty,ly=Object.getOwnPropertyDescriptor,an=(o,e,t,r)=>{for(var n=r>1?void 0:r?ly(e,t):e,i=o.length-1,s;i>=0;i--)(s=o[i])&&(n=(r?s(e,t,n):s(n))||n);return r&&n&&ay(e,t,n),n};class fo extends x{constructor(){super(),this.labelSlot=[],this.elementInternals=this.attachInternals(),this.elementInternals.role="presentation"}labelSlotChanged(e,t){t&&this.input&&(this.setLabelProperties(),this.setStates())}messageSlotChanged(e,t){$(this.elementInternals,"has-message",!!t.length)}slottedInputsChanged(e,t){const r=t?.filter(n=>n.nodeType===Node.ELEMENT_NODE)??[];r?.length&&(this.input=r?.[0])}inputChanged(e,t){t&&(this.setStates(),this.setLabelProperties(),this.slottedInputObserver.observe(this.input,{attributes:!0,attributeFilter:["disabled","required","readonly"],subtree:!0}))}changeHandler(e){return this.setStates(),this.setValidationStates(),!0}clickHandler(e){return this===e.target&&this.input.click(),!0}connectedCallback(){super.connectedCallback(),this.addEventListener("invalid",this.invalidHandler,{capture:!0}),this.slottedInputObserver=new MutationObserver(()=>{this.setStates()})}disconnectedCallback(){this.slottedInputObserver.disconnect(),this.removeEventListener("invalid",this.invalidHandler,{capture:!0}),super.disconnectedCallback()}focusinHandler(e){return this.matches(":focus-within:has(> :focus-visible)")&&$(this.elementInternals,"focus-visible",!0),!0}focusoutHandler(e){return $(this.elementInternals,"focus-visible",!1),!0}invalidHandler(e){this.messageSlot.length&&e.preventDefault(),this.setValidationStates()}setLabelProperties(){this.$fastController.isConnected&&(this.input.id=this.input.id||Ze("input"),this.labelSlot?.forEach(e=>{e instanceof HTMLLabelElement&&(e.htmlFor=e.htmlFor||this.input.id,e.id=e.id||`${this.input.id}--label`,this.input.setAttribute("aria-labelledby",e.id))}))}setStates(){this.elementInternals&&this.input&&($(this.elementInternals,"disabled",!!this.input.disabled),$(this.elementInternals,"readonly",!!this.input.readOnly),$(this.elementInternals,"required",!!this.input.required),$(this.elementInternals,"checked",!!this.input.checked))}setValidationStates(){if(this.input?.validity)for(const[e,t]of Object.entries(Ie))$(this.elementInternals,t,this.input.validity[e])}}an([f],fo.prototype,"labelSlot",2),an([f],fo.prototype,"messageSlot",2),an([f],fo.prototype,"slottedInputs",2),an([f],fo.prototype,"input",2);var cy=Object.defineProperty,dy=Object.getOwnPropertyDescriptor,hy=(o,e,t,r)=>{for(var n=r>1?void 0:r?dy(e,t):e,i=o.length-1,s;i>=0;i--)(s=o[i])&&(n=(r?s(e,t,n):s(n))||n);return r&&n&&cy(e,t,n),n};class qi extends fo{constructor(){super(...arguments),this.labelPosition=Id.above}}hy([a({attribute:"label-position"})],qi.prototype,"labelPosition",2);const Nd=g`${w("inline-grid")} :host{color:${T};align-items:center;gap:0 ${oe};justify-items:start}:has([slot='message']){color:${T};row-gap:${re}}:not(::slotted([slot='label'])){gap:0}:host([label-position='before']){grid-template-areas:'label input' 'label message'}:host([label-position='after']){gap:0;grid-template-areas:'input label' 'message message';grid-template-columns:auto 1fr}:host([label-position='after']) ::slotted([slot='input']){margin-inline-end:${oe}}:host([label-position='above']){grid-template-areas:'label' 'input' 'message';row-gap:${jo}}:host([label-position='below']){grid-template-areas:'input' 'label' 'message';justify-items:center}:host([label-position='below']) ::slotted([slot='label']){margin-block-start:${ec}}:host(${Gv}) ::slotted([slot='label'])::after{content:'*'/'';color:${Lr};margin-inline-start:${te}}::slotted([slot='input']){grid-area:input}::slotted([slot='message']){color:${Y};font-family:${v};font-size:${D};font-weight:${F};grid-area:message;line-height:${j};margin-block-start:${jo}}:host(${Hv}:focus-within){border-radius:${B};outline:${pe} solid ${de}}::slotted(label),::slotted([slot='label']){cursor:inherit;display:inline-flex;font-family:${v};font-size:${O};font-weight:${F};grid-area:label;line-height:${L};justify-self:stretch;user-select:none}:host([size='small']) ::slotted(label){font-size:${D};line-height:${j}}:host([size='large']) ::slotted(label){font-size:${ue};line-height:${me}}:host([size='large']) ::slotted(label),:host([weight='semibold']) ::slotted(label){font-weight:${H}}:host(${$e}){cursor:default}::slotted([flag]){display:none}:host(${Ev}) ::slotted([flag='${Ie.badInput}']),:host(${Dv}) ::slotted([flag='${Ie.customError}']),:host(${Rv}) ::slotted([flag='${Ie.patternMismatch}']),:host(${qv}) ::slotted([flag='${Ie.rangeOverflow}']),:host(${Wv}) ::slotted([flag='${Ie.rangeUnderflow}']),:host(${Xv}) ::slotted([flag='${Ie.stepMismatch}']),:host(${Uv}) ::slotted([flag='${Ie.tooLong}']),:host(${Kv}) ::slotted([flag='${Ie.tooShort}']),:host(${Yv}) ::slotted([flag='${Ie.typeMismatch}']),:host(${Zv}) ::slotted([flag='${Ie.valueMissing}']),:host(${Qv}) ::slotted([flag='${Ie.valid}']){display:block}`,Td=b`<template @click=${(o,e)=>o.clickHandler(e.event)} @change=${(o,e)=>o.changeHandler(e.event)} @focusin=${(o,e)=>o.focusinHandler(e.event)} @focusout=${(o,e)=>o.focusoutHandler(e.event)}><slot name=label part=label ${K("labelSlot")}></slot><slot name=input part=input ${K("slottedInputs")}></slot><slot name=message part=message ${K({property:"messageSlot",filter:Bo("[flag]")})}></slot></template>`,Ad=qi.compose({name:sy,template:Td,styles:Nd,shadowOptions:{delegatesFocus:!0}});Ad.define(u.registry);const uy={none:"none",center:"center",contain:"contain",cover:"cover"},py={circular:"circular",rounded:"rounded",square:"square"},gy=`${u.prefix}-image`;var fy=Object.defineProperty,by=Object.getOwnPropertyDescriptor,nr=(o,e,t,r)=>{for(var n=r>1?void 0:r?by(e,t):e,i=o.length-1,s;i>=0;i--)(s=o[i])&&(n=(r?s(e,t,n):s(n))||n);return r&&n&&fy(e,t,n),n};class Wt extends x{}nr([a({mode:"boolean"})],Wt.prototype,"block",2),nr([a({mode:"boolean"})],Wt.prototype,"bordered",2),nr([a({mode:"boolean"})],Wt.prototype,"shadow",2),nr([a],Wt.prototype,"fit",2),nr([a],Wt.prototype,"shape",2);const zd=b`<slot></slot>`,_d=g`:host{contain:content}:host ::slotted(img){box-sizing:border-box;min-height:8px;min-width:8px;display:inline-block}:host([block]) ::slotted(img){width:100%;height:auto}:host([bordered]) ::slotted(img){border:${I} solid ${so}}:host([fit='none']) ::slotted(img){object-fit:none;object-position:top left;height:100%;width:100%}:host([fit='center']) ::slotted(img){object-fit:none;object-position:center;height:100%;width:100%}:host([fit='contain']) ::slotted(img){object-fit:contain;object-position:center;height:100%;width:100%}:host([fit='cover']) ::slotted(img){object-fit:cover;object-position:center;height:100%;width:100%}:host([shadow]) ::slotted(img){box-shadow:${Ro}}:host([shape='circular']) ::slotted(img){border-radius:${he}}:host([shape='rounded']) ::slotted(img){border-radius:${B}}`,Od=Wt.compose({name:gy,template:zd,styles:_d});Od.define(u.registry);const my={small:"small",medium:"medium",large:"large"},vy={regular:"regular",semibold:"semibold"},$y=`${u.prefix}-label`;var yy=Object.defineProperty,ky=Object.getOwnPropertyDescriptor,ln=(o,e,t,r)=>{for(var n=r>1?void 0:r?ky(e,t):e,i=o.length-1,s;i>=0;i--)(s=o[i])&&(n=(r?s(e,t,n):s(n))||n);return r&&n&&yy(e,t,n),n};class bo extends x{constructor(){super(...arguments),this.disabled=!1,this.required=!1}}ln([a],bo.prototype,"size",2),ln([a],bo.prototype,"weight",2),ln([a({mode:"boolean"})],bo.prototype,"disabled",2),ln([a({mode:"boolean"})],bo.prototype,"required",2);const Fd=g`${w("inline-flex")} :host{color:${T};cursor:pointer;font-family:${v};font-size:${O};font-weight:${F};line-height:${L};user-select:none}.asterisk{color:${Lr};margin-inline-start:${te}}:host([size='small']){font-size:${D};line-height:${j}}:host([size='large']){font-size:${ue};line-height:${me}}:host(:is([size='large'],[weight='semibold'])){font-weight:${H}}:host([disabled]),:host([disabled]) .asterisk{color:${z}}`;function xy(){return b`<slot></slot><span part=asterisk class=asterisk aria-hidden=true ?hidden=${o=>!o.required}>*</span>`}const Ed=xy(),Dd=bo.compose({name:$y,template:Ed,styles:Fd});Dd.define(u.registry);const wy={subtle:"subtle"},Sy=mc,By=`${u.prefix}-link`;var Cy=Object.defineProperty,Py=Object.getOwnPropertyDescriptor,Ld=(o,e,t,r)=>{for(var n=r>1?void 0:r?Py(e,t):e,i=o.length-1,s;i>=0;i--)(s=o[i])&&(n=(r?s(e,t,n):s(n))||n);return r&&n&&Cy(e,t,n),n};class cn extends je{constructor(){super(...arguments),this.inline=!1}}Ld([a],cn.prototype,"appearance",2),Ld([a({mode:"boolean"})],cn.prototype,"inline",2);const Md=g`${w("inline")} :host{position:relative;box-sizing:border-box;background-color:transparent;color:${ca};cursor:pointer;font-family:${v};font-size:${O};font-weight:${F};overflow:inherit;text-align:start;text-decoration:none;text-decoration-thickness:${I};text-overflow:inherit;user-select:text}:host(:is(:hover,:focus-visible)){outline:none;text-decoration-line:underline}@media (hover:hover){:host(:hover){color:${da}}:host(:active){color:${ha}}:host([appearance='subtle']:hover){color:${pa}}:host([appearance='subtle']:active){color:${ga}}}:host([appearance='subtle']){color:${ua}}:host-context(:is(h1,h2,h3,h4,h5,h6,p,fluent-text)),:host([inline]){font:inherit;text-decoration:underline}:host(:not([href])){color:inherit;text-decoration:none}::slotted(a){position:absolute;inset:0}@media (forced-colors:active){:host{color:LinkText}}`;function Iy(){return b`<template tabindex=0 @click=${(o,e)=>o.clickHandler(e.event)} @keydown=${(o,e)=>o.keydownHandler(e.event)}><slot></slot></template>`}const Hd=Iy(),Vd=cn.compose({name:By,template:Hd,styles:Md});Vd.define(u.registry);var Ny=Object.defineProperty,Ty=Object.getOwnPropertyDescriptor,ir=(o,e,t,r)=>{for(var n=r>1?void 0:r?Ty(e,t):e,i=o.length-1,s;i>=0;i--)(s=o[i])&&(n=(r?s(e,t,n):s(n))||n);return r&&n&&Ny(e,t,n),n};class Gt extends x{constructor(){super(),this.elementInternals=this.attachInternals(),this.elementInternals.role="listbox"}defaultSlotChanged(){this.slotchangeHandler()}multipleChanged(e,t){this.elementInternals.ariaMultiSelectable=t?"true":"false",$(this.elementInternals,"multiple",t),E.enqueue(()=>{this.options.forEach(r=>{r.multiple=!!t})})}optionsChanged(e,t){t?.forEach((r,n)=>{r.elementInternals.ariaPosInSet=`${n+1}`,r.elementInternals.ariaSetSize=`${t.length}`})}beforetoggleHandler(e){if(!this.dropdown)return!0;if(this.dropdown.disabled){this.dropdown.open=!1;return}return this.dropdown.open=e.newState==="open",!0}get enabledOptions(){return this.options?.filter(e=>!e.disabled)??[]}get selectedOptions(){return this.options?.filter(e=>e.selected)??[]}clickHandler(e){if(this.dropdown)return!0;const t=e.target;return qt(t)&&this.selectOption(this.enabledOptions.indexOf(t)),!0}connectedCallback(){super.connectedCallback(),Ko(this,()=>{this.id=this.id||Ze("listbox-")},{shallow:!0})}handleChange(e,t){if(t==="multiple"){this.multiple=e.multiple;return}}selectOption(e=this.selectedIndex){let t=this.selectedIndex;if(!this.multiple)this.enabledOptions.forEach((r,n)=>{const i=n===e;r.selected=i,i&&(t=n)});else{const r=this.enabledOptions[e];r&&(r.selected=!r.selected),t=e}this.selectedIndex=t}slotchangeHandler(e){Ko(this,()=>{if(this.defaultSlot){const t=this.defaultSlot.assignedElements().filter(r=>qt(r));this.options=t}})}}ir([f],Gt.prototype,"defaultSlot",2),ir([f],Gt.prototype,"multiple",2),ir([f],Gt.prototype,"options",2),ir([f],Gt.prototype,"selectedIndex",2),ir([f],Gt.prototype,"dropdown",2);const Rd=g`${w("inline-flex")} :host{background-color:${P};border-radius:${B};border:${I} solid ${X};box-shadow:${Vr};box-sizing:border-box;flex-direction:column;margin:0;min-inline-size:160px;padding:${te};row-gap:${V};width:auto}:host([popover]){inset:unset;overflow:auto}@supports (anchor-name:--anchor){:host([popover]){position:fixed;max-block-size:var(--listbox-max-height,calc(50vh - anchor-size(self-block)));min-inline-size:anchor-size(inline);inset-block-start:anchor(end);inset-inline-start:anchor(start);position-try-fallbacks:flip-block,flip-inline,flip-inline flip-block}}@supports not (anchor-name:--anchor){:host([popover]){margin-block-start:var(--margin-offset,0);max-block-size:var(--listbox-max-height,50vh);position:absolute}:host([popover]${Mv}){margin-block-start:revert;translate:0 -100%}}`;function jd(){return b`<template @beforetoggle=${(o,e)=>o.beforetoggleHandler(e.event)} @click=${(o,e)=>o.clickHandler(e.event)}><slot ${A("defaultSlot")} @slotchange=${(o,e)=>o.slotchangeHandler(e.event)}></slot></template>`}const qd=jd(),Wd=Gt.compose({name:J$,template:qd,styles:Rd});Wd.define(u.registry);const Ay=co,zy=Yo,_y=Jo,Oy=Qo,Fy=`${u.prefix}-menu-button`;class Gd extends Je{}const Xd=Oi({end:b.partial('<svg slot=end fill=currentColor aria-hidden=true width=1em height=1em viewBox="0 0 20 20" xmlns=http://www.w3.org/2000/svg><path d="M15.85 7.65c.2.2.2.5 0 .7l-5.46 5.49a.55.55 0 0 1-.78 0L4.15 8.35a.5.5 0 1 1 .7-.7L10 12.8l5.15-5.16c.2-.2.5-.2.7 0Z" fill=currentColor></path></svg>')}),Ud=Gd.compose({name:Fy,template:Xd,styles:Ay});Ud.define(u.registry);const Q={menuitem:"menuitem",menuitemcheckbox:"menuitemcheckbox",menuitemradio:"menuitemradio"},Ey={[Q.menuitem]:"menuitem",[Q.menuitemcheckbox]:"menuitemcheckbox",[Q.menuitemradio]:"menuitemradio"};function Dy(o,e="-menu-item"){return o?.nodeType!==Node.ELEMENT_NODE?!1:o.tagName.toLowerCase().endsWith(e)}const Ly=`${u.prefix}-menu-item`;var My=Object.defineProperty,Hy=Object.getOwnPropertyDescriptor,mo=(o,e,t,r)=>{for(var n=r>1?void 0:r?Hy(e,t):e,i=o.length-1,s;i>=0;i--)(s=o[i])&&(n=(r?s(e,t,n):s(n))||n);return r&&n&&My(e,t,n),n};class et extends x{constructor(){super(...arguments),this.elementInternals=this.attachInternals(),this.role=Q.menuitem,this.checked=!1,this.handleMenuItemKeyDown=e=>{if(e.defaultPrevented)return!1;switch(e.key){case"Enter":case" ":return this.invoke(),!1;case"ArrowRight":return this.disabled||(this.submenu?.togglePopover(!0),this.submenu?.focus()),!1;case"ArrowLeft":return this.parentElement?.hasAttribute("popover")&&(this.parentElement.togglePopover(!1),this.parentElement.parentElement?.focus()),!1}return!0},this.handleMenuItemClick=e=>(e.defaultPrevented||this.disabled||this.invoke(),!1),this.handleMouseOver=e=>(this.disabled||this.submenu?.togglePopover(!0),!1),this.handleMouseOut=e=>(this.contains(document.activeElement)||this.submenu?.togglePopover(!1),!1),this.handleToggle=e=>{e instanceof ToggleEvent&&(e.newState==="open"&&(this.elementInternals.ariaExpanded="true",this.setSubmenuPosition()),e.newState==="closed"&&(this.elementInternals.ariaExpanded="false"),this.submenu?.setAttribute("focusgroup",e.newState==="open"?"menu":"none"))},this.handleSubmenuFocusOut=e=>{e.relatedTarget&&this.submenu?.contains(e.relatedTarget)||this.submenu?.togglePopover(!1)},this.invoke=()=>{if(!this.disabled)switch(this.role){case Q.menuitemcheckbox:this.checked=!this.checked;break;case Q.menuitem:if(this.submenu){this.submenu.togglePopover(!0),this.submenu.focus();break}this.$emit("change");break;case Q.menuitemradio:this.checked||(this.checked=!0);break}},this.setSubmenuPosition=()=>{if(!CSS.supports("anchor-name","--anchor")&&this.submenu){const e=this.getBoundingClientRect(),t=this.submenu.getBoundingClientRect(),r=getComputedStyle(this).direction==="ltr"?"right":"left";if(e.width+t.width>window.innerWidth*.75){this.submenu.style.translate="0 -100%";return}if(e[r]+t.width>window.innerWidth){this.submenu.style.translate="-100% 0";return}this.submenu.style.translate=`${e.width-8}px 0`}}}disabledChanged(e,t){this.elementInternals.ariaDisabled=t?`${t}`:null,$(this.elementInternals,"disabled",t)}roleChanged(e,t){this.elementInternals.role=t??Q.menuitem}checkedChanged(e,t){const r=this.role!==Q.menuitem;this.elementInternals.ariaChecked=r?`${!!t}`:null,$(this.elementInternals,"checked",r?t:!1),this.$fastController.isConnected&&this.$emit("change",t,{bubbles:!0})}slottedSubmenuChanged(e,t){this.submenu?.removeEventListener("toggle",this.handleToggle),this.submenu?.removeEventListener("focusout",this.handleSubmenuFocusOut),t.length?(this.submenu=t[0],this.submenu.toggleAttribute("popover",!0),this.submenu.setAttribute("focusgroup","none"),this.submenu.addEventListener("toggle",this.handleToggle),this.submenu.addEventListener("focusout",this.handleSubmenuFocusOut),this.elementInternals.ariaHasPopup="menu",$(this.elementInternals,"submenu",!0)):(this.elementInternals.ariaHasPopup=null,$(this.elementInternals,"submenu",!1))}connectedCallback(){super.connectedCallback(),this.elementInternals.role=this.role??Q.menuitem,this.elementInternals.ariaChecked=this.role!==Q.menuitem?`${!!this.checked}`:null}}mo([a({mode:"boolean"})],et.prototype,"disabled",2),mo([a],et.prototype,"role",2),mo([a({mode:"boolean"})],et.prototype,"checked",2),mo([a({mode:"boolean"})],et.prototype,"hidden",2),mo([f],et.prototype,"slottedSubmenu",2),mo([f],et.prototype,"submenu",2),ct(et,nt);const Kd=g`${w("grid")} :host{--indent:0;align-items:center;background:${P};border-radius:${B};color:${Ae};contain:layout;cursor:pointer;flex-shrink:0;font:${F} ${O}/${L} ${v};grid-gap:4px;grid-template-columns:20px 20px auto 20px;height:32px;overflow:visible;padding:0 10px}:host(:hover){background:${zo};color:${At}}:host(:active){background-color:${Gn};color:${zt}}:host(:active) ::slotted([slot='start']){color:${ba}}:host(${$e}){background-color:${st};color:${z}}:host(${$e}) ::slotted([slot='start']),:host(${$e}) ::slotted([slot='end']){color:${z}}:host(:focus-visible){border-radius:${B};outline:2px solid ${de}}.content{white-space:nowrap;flex-grow:1;grid-column:auto/span 2;padding:0 2px}:host(:not(${y})) .indicator,:host(:not(${y})) ::slotted([slot='indicator']),:host(:not(${tn})) .submenu-glyph,:host(:not(${tn})) ::slotted([slot='submenu-glyph']){display:none}::slotted([slot='end']){color:${Y};font:${F} ${D}/${j} ${v};white-space:nowrap}:host([data-indent='1']){--indent:1}:host([data-indent='2']){--indent:2;grid-template-columns:20px 20px auto auto}:host(${tn}){grid-template-columns:20px auto auto 20px}:host([data-indent='2']${tn}){grid-template-columns:20px 20px auto auto 20px}.indicator,::slotted([slot='indicator']){grid-column:1/span 1;width:20px}::slotted([slot='start']){display:inline-flex;grid-column:calc(var(--indent))/span 1}.content{grid-column:calc(var(--indent) + 1)/span 1}::slotted([slot='end']){grid-column:calc(var(--indent) + 2)/span 1;justify-self:end}.submenu-glyph,::slotted([slot='submenu-glyph']){grid-column:-2/span 1;justify-self:end}@layer popover{:host{anchor-name:--menu-trigger;position:relative}::slotted([popover]){margin:0;max-height:var(--menu-max-height,auto);position:fixed;position-anchor:--menu-trigger;inset:unset;inset-block-start:anchor(start);inset-inline-start:anchor(end);position-try-fallbacks:flip-inline,block-start,block-end;z-index:1}::slotted([popover]:not(:popover-open)){display:none}@supports not (anchor-name:--menu-trigger){::slotted([popover]){align-self:start}}}@media (forced-colors:active){:host(${$e}),:host(${$e}) ::slotted([slot='start']),:host(${$e}) ::slotted([slot='end']){color:GrayText}}`,Vy=b.partial('<svg class=indicator fill=currentColor aria-hidden=true width=16 height=16 viewBox="0 0 16 16" xmlns=http://www.w3.org/2000/svg><path d="M14.05 3.49c.28.3.27.77-.04 1.06l-7.93 7.47A.85.85 0 014.9 12L2.22 9.28a.75.75 0 111.06-1.06l2.24 2.27 7.47-7.04a.75.75 0 011.06.04z" fill=currentColor></path></svg>'),Ry=b.partial('<svg class=submenu-glyph fill=currentColor aria-hidden=true width=16 height=16 viewBox="0 0 16 16" xmlns=http://www.w3.org/2000/svg><path d="M5.74 3.2a.75.75 0 00-.04 1.06L9.23 8 5.7 11.74a.75.75 0 101.1 1.02l4-4.25a.75.75 0 000-1.02l-4-4.25a.75.75 0 00-1.06-.04z" fill=currentColor></path></svg>');function jy(o={}){return b`<template tabindex=0 @keydown=${(e,t)=>e.handleMenuItemKeyDown(t.event)} @click=${(e,t)=>e.handleMenuItemClick(t.event)} @mouseover=${(e,t)=>e.handleMouseOver(t.event)} @mouseout=${(e,t)=>e.handleMouseOut(t.event)} @toggle=${(e,t)=>e.handleToggle(t.event)}><slot name=indicator>${fe(o.indicator)}</slot>${He(o)}<div part=content class=content><slot></slot></div>${it(o)}<slot name=submenu-glyph>${fe(o.submenuGlyph)}</slot><slot name=submenu ${K({property:"slottedSubmenu"})}></slot></template>`}const Yd=jy({indicator:Vy,submenuGlyph:Ry}),Jd=et.compose({name:Ly,template:Yd,styles:Kd});Jd.define(u.registry);const qy=`${u.prefix}-menu-list`;var sr={INFERRED_ROLE:"data-fg-ir",ITEM:"data-fg-item",AUTHOR_TABINDEX:"data-fg-ati",SEGMENT:"data-fg-seg",SEGMENT_START:"data-fg-segs"},Wi={TOOLBAR:"toolbar",TABLIST:"tablist",RADIOGROUP:"radiogroup",LISTBOX:"listbox",MENU:"menu",MENUBAR:"menubar",NONE:"none"};function Gi(o,e){return o.contains(e)}function Wy(){return"focusgroup"in(globalThis?.HTMLElement?.prototype??{})||"focusGroup"in(globalThis?.HTMLElement?.prototype??{})}function Gy(o,e,t){const r="forward",n="backward",i="block",s="inline";if(Xy(o.composedPath()[0]))return o.key==="Tab"?o.shiftKey?n:r:null;if(o.shiftKey||o.ctrlKey||o.metaKey)return null;const{writingMode:c,direction:h}=window.getComputedStyle(e),d=!c.startsWith("horizontal-"),l=h==="rtl",p=d?i:s,k=d?s:i,S=d?c.endsWith("-rl")!==l:l,Le=d&&l,Bt={ArrowUp:{axis:k,dir:Le?r:n},ArrowDown:{axis:k,dir:Le?n:r},ArrowLeft:{axis:p,dir:S?r:n},ArrowRight:{axis:p,dir:S?n:r},Home:{dir:"start"},End:{dir:"end"}}[o.key];return!Bt||t&&Bt.axis&&Bt.axis!==t?null:Bt.dir}function Xy(o){return o?.nodeType===Node.ELEMENT_NODE&&(["INPUT","TEXTAREA","SELECT"].includes(o.nodeName)&&!["checkbox","radio"].includes(o.getAttribute("type"))||o.isContentEditable||["AUDIO","VIDEO"].includes(o.nodeName)&&o.hasAttribute("controls")||["IFRAME","OBJECT"].includes(o.nodeName))}globalThis.__FOCUSGROUP_POLYFILL__??={o:new Set,b:!1};var Uy=globalThis.__FOCUSGROUP_POLYFILL__,Ky=Uy.o;function Xi(){for(const o of Ky)o.takeRecords()}var dn=class{#t;#e;#s=Wi.NONE;#u=void 0;#c=!1;#a=!0;#r;#o=null;#n=!1;#l=null;#p=new AbortController;#d;#h;constructor(o,e,t={}){if(Wy()||!o)return;this.#t=o,this.#e=e,this.#d=t.decorateOwner,this.#h=t.decorateItem,this.#g(t.definition),this.#d?.(this.#t,this.#s),this.#f();const r={signal:this.#p.signal};this.#t.addEventListener("keydown",this.#$.bind(this),r),this.#t.addEventListener("focusin",this.#y.bind(this),r),this.#t.addEventListener("focusout",this.#k.bind(this),r)}disconnect(){this.#i(),this.#p.abort(),this.#e?.disconnect?.(),this.#t=null}update(o={}){if(this.#t){if(o.definition!==void 0&&(this.#g(o.definition),this.#d?.(this.#t,this.#s)),o.authorTabindexChanges)for(const e of o.authorTabindexChanges)e.setAttribute(sr.AUTHOR_TABINDEX,e.getAttribute("tabindex")??"none");this.#b(),this.#f()}}#g(o){this.#s=o?.behavior??Wi.NONE,this.#c=o?.wrap??!1,this.#u=o?.axis,this.#a=o?.memory??!0,this.#a||(this.#o=null)}#f(){if(this.#s===Wi.NONE){this.#b();return}this.#e.decorate?.();for(const{element:e,segmentBoundary:t}of this.#e.items())this.#h?.(e,this.#s),e.setAttribute(sr.AUTHOR_TABINDEX,e.getAttribute("tabindex")??"none"),e.tabIndex=t?0:-1;(!this.#o?.isConnected||!(this.#e.isItem?.(this.#o)??this.#e.contains(this.#o)))&&(this.#o=null);const o=this.#o??this.#e.start??this.#e.first?.()??null;o&&(o.tabIndex=0,this.#r=o,this.#i(),this.#m(o)),this.#e.flush?.()}#b(){this.#i();let o=!1;for(const{element:e}of this.#e.items()){o=!0,this.#h?.(e,null);const t=e.getAttribute(sr.AUTHOR_TABINDEX);t&&(t==="none"?e.removeAttribute("tabindex"):e.setAttribute("tabindex",t),e.removeAttribute(sr.AUTHOR_TABINDEX))}this.#e.undecorate?.(),o&&this.#e.flush?.()}#$(o){const e=o.composedPath()[0];if(o.defaultPrevented||e===this.#t||!this.#e.contains(e))return;let t;switch(Gy(o,e,this.#u)){case"start":t=this.#e.first();break;case"end":t=this.#e.last();break;case"forward":t=this.#e.next(e),!t&&this.#c&&(t=this.#e.first());break;case"backward":t=this.#e.previous(e),!t&&this.#c&&(t=this.#e.last());break}t&&t!==e&&(this.#v(e,t,!0),this.#o=t,o.preventDefault())}#y(o){const e=o.composedPath()[0];if(e===this.#t&&this.#n&&(!o.relatedTarget||!Gi(this.#t,o.relatedTarget))){const r=this.#o||this.#r;this.#i(),r&&r.focus(),o.stopPropagation();return}if(!this.#e.contains(e))return;this.#n&&this.#i();const t=this.#o;if(this.#o=e,t!==e&&e.tabIndex<0){const r=t??this.#r;r&&this.#v(r,e)}}#k(o){if(!o.relatedTarget||!Gi(this.#t,o.relatedTarget)){const r=this.#a?this.#o||this.#r:this.#r;r&&this.#m(r)}if(o.relatedTarget&&Gi(this.#t,o.relatedTarget)||this.#a||!this.#r)return;const e=this.#o;this.#o=null;const t=this.#e.start??this.#e.first?.()??null;if(e!==this.#r||t!==this.#r){for(const{element:r,segmentBoundary:n}of this.#e.items())r.tabIndex=n?0:-1;t&&(t.tabIndex=0,this.#r=t),this.#e.flush?.()}}#m(o){const e=(o.assignedSlot??o).getRootNode(),t=e instanceof ShadowRoot&&e.host.hasAttribute(sr.AUTHOR_TABINDEX);this.#n||!t||(this.#l=this.#t.getAttribute("tabindex"),this.#t.tabIndex=0,this.#n=!0,Xi())}#i(){this.#n&&(this.#l!==null?this.#t.setAttribute("tabindex",this.#l):this.#t.removeAttribute("tabindex"),this.#n=!1,this.#l=null,this.#e.flush?.(),Xi())}#v(o,e,t=!1){e.tabIndex=0,t&&e.focus(),o.tabIndex=this.#e.sameSegment?.(o,e)??!0?-1:0,this.#i(),Xi()}};class hn{constructor(e,t){this.getItems=e,this.getStart=t}get start(){return this.getStart?.()??null}first(){return this.getItems()[0]??null}last(){const e=this.getItems();return e[e.length-1]??null}next(e){const t=this.getItems(),r=t.indexOf(e);return r===-1?null:t[r+1]??null}previous(e){const t=this.getItems(),r=t.indexOf(e);return r<=0?null:t[r-1]??null}*items(){for(const e of this.getItems())yield{element:e}}contains(e){return this.getItems().includes(e)}}var Yy=Object.defineProperty,Jy=Object.getOwnPropertyDescriptor,Qy=(o,e,t,r)=>{for(var n=r>1?void 0:r?Jy(e,t):e,i=o.length-1,s;i>=0;i--)(s=o[i])&&(n=(r?s(e,t,n):s(n))||n);return r&&n&&Yy(e,t,n),n};const Ui=class ss extends x{constructor(){super(),this.elementInternals=this.attachInternals(),this.isNestedMenu=()=>this.parentElement!==null&&ls(this.parentElement)&&this.parentElement.getAttribute("role")==="menuitem",this.changedMenuItemHandler=e=>{if(this.menuChildren===void 0)return;const t=e.target,r=this.menuChildren.indexOf(t);if(r!==-1&&t.role==="menuitemradio"&&t.checked===!0){for(let i=r-1;i>=0;--i){const s=this.menuChildren[i],c=s.role;if(c===Q.menuitemradio&&(s.checked=!1),c==="separator")break}const n=this.menuChildren.length-1;for(let i=r+1;i<=n;++i){const s=this.menuChildren[i],c=s.role;if(c===Q.menuitemradio&&(s.checked=!1),c==="separator")break}}},this.elementInternals.role="menu"}itemsChanged(e,t){this.$fastController.isConnected&&this.menuChildren!==void 0&&this.setItems()}connectedCallback(){super.connectedCallback(),!this.slot&&this.isNestedMenu()&&(this.slot="submenu"),E.enqueue(()=>{this.setItems()}),this.addEventListener("change",this.changedMenuItemHandler)}disconnectedCallback(){super.disconnectedCallback(),Array.from(this.children).forEach(e=>{m.getNotifier(e).unsubscribe(this,"hidden")}),this.menuChildren=void 0,this.removeEventListener("change",this.changedMenuItemHandler)}focus(){this.menuItems?.find(e=>!e.disabled)?.focus()}static elementIndent(e){const t=e.role,r=e.querySelector("[slot=start]");return t&&t!==Q.menuitem?r?2:1:r?1:0}setItems(){const e=Array.from(this.children);e.forEach(r=>{m.getNotifier(r).subscribe(this,"hidden")}),this.menuChildren=e.filter(r=>!r.hasAttribute("hidden")),this.menuItems=this.menuChildren?.filter(this.isMenuItemElement);const t=this.menuItems?.reduce((r,n)=>{const i=ss.elementIndent(n);return Math.max(r,i)},0);this.menuItems?.forEach(r=>{r.dataset.indent=`${t}`})}handleChange(e,t){t==="hidden"&&this.setItems()}isMenuItemElement(e){return Dy(e)||ls(e)&&!!e.role&&e.role in ss.focusableElementRoles}};Ui.focusableElementRoles=Q,Qy([f],Ui.prototype,"items",2);let Qd=Ui;class Zd extends Qd{disconnectedCallback(){this.fg?.disconnect(),super.disconnectedCallback()}setItems(){super.setItems(),this.fgItems??(this.fgItems=new hn(()=>this.menuItems?.filter(e=>!e.hidden)??[])),this.fg?this.fg.update():this.fg=new dn(this,this.fgItems,{definition:{behavior:"menu",axis:"block",wrap:!0}})}}const eh=g`${w("flex")} :host{flex-direction:column;height:fit-content;max-width:300px;min-width:160px;width:auto;background-color:${P};border:1px solid ${X};border-radius:${B};box-shadow:${Vr};padding:4px;row-gap:2px}`;function Zy(){return b`<template focusgroup=menu><slot ${K("items")}></slot></template>`}const th=Zy(),oh=Zd.compose({name:qy,template:th,styles:eh});oh.define(u.registry);const e0=`${u.prefix}-menu`;var t0=Object.defineProperty,o0=Object.getOwnPropertyDescriptor,wt=(o,e,t,r)=>{for(var n=r>1?void 0:r?o0(e,t):e,i=o.length-1,s;i>=0;i--)(s=o[i])&&(n=(r?s(e,t,n):s(n))||n);return r&&n&&t0(e,t,n),n};class tt extends x{constructor(){super(...arguments),this._open=!1,this.toggleMenu=()=>{this._menuList?.togglePopover(!this._open)},this.closeMenu=e=>{e?.target instanceof et&&(e.target.getAttribute("role")===Q.menuitemcheckbox||e.target.getAttribute("role")===Q.menuitemradio)||(this._menuList?.togglePopover(!1),this.closeOnScroll&&document.removeEventListener("scroll",this.closeMenu))},this.openMenu=e=>{this._menuList?.togglePopover(!0),e&&this.openOnContext&&e.preventDefault(),this.closeOnScroll&&document.addEventListener("scroll",this.closeMenu)},this.toggleHandler=e=>{if(e.type==="toggle"&&e.newState){const t=e.newState==="open";this._trigger?.setAttribute("aria-expanded",`${t}`),this._menuList?.setAttribute("focusgroup",t?"menu":"none"),this._open=t,this._open&&this.focusMenuList()}},this.triggerKeydownHandler=e=>{if(e.defaultPrevented)return;switch(e.key){case" ":case"Enter":e.preventDefault(),this.toggleMenu();break;default:return!0}},this.documentClickHandler=e=>{e.composedPath().some(t=>t===this._trigger||t===this._menuList)||this.closeMenu()}}slottedMenuListChanged(e,t){this._menuListAbortController?.abort(),t?.length&&(this._menuList=t[0],this._menuList.popover=this.openOnContext?"manual":"",this.addMenuListListeners())}slottedTriggersChanged(e,t){if(this._triggerAbortController?.abort(),t?.length){const r=t[0];this._trigger=r,this._trigger?.isConnected&&(this._trigger.setAttribute("aria-haspopup","true"),this._trigger.setAttribute("aria-expanded",`${this._open}`),this.addTriggerListeners())}}connectedCallback(){super.connectedCallback(),this.setComponent()}disconnectedCallback(){super.disconnectedCallback(),this._triggerAbortController?.abort(),this._menuListAbortController?.abort()}setComponent(){}focusMenuList(){E.enqueue(()=>{this._menuList.focus()})}focusTrigger(){E.enqueue(()=>{this._trigger.focus()})}openOnHoverChanged(e,t){this._trigger&&(this._triggerAbortController?.abort(),this.addTriggerListeners())}persistOnItemClickChanged(e,t){this._menuList&&(this._menuListAbortController?.abort(),this.addMenuListListeners())}openOnContextChanged(e,t){t?this._menuList?.setAttribute("popover","manual"):this._menuList?.setAttribute("popover",""),this._trigger&&(this._triggerAbortController?.abort(),this.addTriggerListeners())}closeOnScrollChanged(e,t){t?document.addEventListener("scroll",this.closeMenu):document.removeEventListener("scroll",this.closeMenu)}addTriggerListeners(){this._triggerAbortController=new AbortController;const{signal:e}=this._triggerAbortController;this._trigger?.addEventListener("keydown",this.triggerKeydownHandler,{signal:e}),this.openOnHover?this._trigger?.addEventListener("mouseover",this.openMenu,{signal:e}):this.openOnContext?(this._trigger?.addEventListener("contextmenu",this.openMenu,{signal:e}),document.addEventListener("click",this.documentClickHandler,{signal:e})):this._trigger?.addEventListener("click",this.toggleMenu,{signal:e})}addMenuListListeners(){this._menuListAbortController=new AbortController;const{signal:e}=this._menuListAbortController;this._menuList?.addEventListener("toggle",this.toggleHandler,{signal:e}),this.persistOnItemClick||this._menuList?.addEventListener("change",this.closeMenu,{signal:e})}menuKeydownHandler(e){if(e.defaultPrevented)return;switch(e.key){case"Escape":e.preventDefault(),this._open&&(this.closeMenu(),this.focusTrigger());break;case"Tab":if(this._open&&this.closeMenu(),e.shiftKey&&e.composedPath()[0]!==this._trigger&&e.composedPath()[0].assignedSlot!==this.primaryAction)this.focusTrigger();else if(e.shiftKey)return!0;default:return!0}}}wt([a({attribute:"open-on-hover",mode:"boolean"})],tt.prototype,"openOnHover",2),wt([a({attribute:"open-on-context",mode:"boolean"})],tt.prototype,"openOnContext",2),wt([a({attribute:"close-on-scroll",mode:"boolean"})],tt.prototype,"closeOnScroll",2),wt([a({attribute:"persist-on-item-click",mode:"boolean"})],tt.prototype,"persistOnItemClick",2),wt([a({mode:"boolean"})],tt.prototype,"split",2),wt([f],tt.prototype,"slottedMenuList",2),wt([f],tt.prototype,"slottedTriggers",2),wt([f],tt.prototype,"primaryAction",2);const rh=g`${w("inline-block")} ::slotted([slot='trigger']){anchor-name:--menu-trigger}::slotted([popover]){margin:0;max-height:var(--menu-max-height,auto);position-anchor:--menu-trigger;inset:unset;inset-block-start:anchor(end);inset-inline-start:anchor(start);position-try-fallbacks:flip-block;position:fixed;z-index:1}:host([split]) ::slotted([popover]){inset-inline-start:auto;inset-inline-end:anchor(end)}::slotted([popover]:not(:popover-open)){display:none}:host([split]){display:inline-flex}:host([split]) ::slotted([slot='primary-action']){border-inline-end:${I} solid ${Re};border-start-end-radius:0;border-end-end-radius:0}:host([split]) ::slotted([slot='primary-action']:focus-visible){z-index:1}:host([split]) ::slotted([slot='primary-action'][appearance='primary']){border-inline-end:${I} solid white}:host([split]) ::slotted([slot='trigger']){border-inline-start:0;border-start-start-radius:0;border-end-start-radius:0}`;function r0(){return b`<template @keydown=${(o,e)=>o.menuKeydownHandler(e.event)}><slot name=primary-action ${A("primaryAction")}></slot><slot name=trigger ${K({property:"slottedTriggers",filter:Bo()})}></slot><slot ${K({property:"slottedMenuList",filter:Bo()})}></slot></template>`}const nh=r0(),ih=tt.compose({name:e0,template:nh,styles:rh});ih.define(u.registry);const n0={multiline:"multiline",singleline:"singleline"},i0={rounded:"rounded",square:"square"},s0={success:"success",warning:"warning",error:"error",info:"info"},a0=`${u.prefix}-message-bar`;var l0=Object.defineProperty,c0=Object.getOwnPropertyDescriptor,Ki=(o,e,t,r)=>{for(var n=r>1?void 0:r?c0(e,t):e,i=o.length-1,s;i>=0;i--)(s=o[i])&&(n=(r?s(e,t,n):s(n))||n);return r&&n&&l0(e,t,n),n};class ar extends x{constructor(){super(),this.elementInternals=this.attachInternals(),this.dismissMessageBar=()=>{this.$emit("dismiss",{})},this.elementInternals.role="status"}}Ki([a],ar.prototype,"shape",2),Ki([a],ar.prototype,"layout",2),Ki([a],ar.prototype,"intent",2);const sh=g`:host{display:grid;box-sizing:border-box;font-family:${v};font-size:${D};line-height:${j};width:100%;background:${oo};border:1px solid ${Re};padding-inline:${oe};border-radius:${B};min-height:36px;align-items:center;grid-template:'icon body actions dismiss'/auto 1fr auto auto;contain:layout style paint}:host([shape='square']){border-radius:0}:host([intent='success']){background-color:${ci};border-color:${Oa}}:host([intent='warning']){background-color:${hi};border-color:${pi}}:host([intent='error']){background-color:${ii};border-color:${ai}}:host([layout='multiline']){grid-template-areas:'icon body dismiss' 'actions actions actions';grid-template-columns:auto 1fr auto;grid-template-rows:auto auto 1fr;padding-block:${qo};padding-inline:${oe}}.content{grid-area:body;max-width:520px;padding-block:${qo};padding-inline:0}:host([layout='multiline']) .content{padding:0}::slotted([slot='icon']){display:flex;grid-area:icon;flex-direction:column;align-items:center;color:${Y};margin-inline-end:${_e}}:host([layout='multiline']) ::slotted([slot='icon']){align-items:start;height:100%}::slotted([slot='dismiss']){grid-area:dismiss}.actions{grid-area:actions;display:flex;justify-self:end;margin-inline-end:${_e};gap:${_e}}:host([layout='multiline']) .actions{margin-block-start:${qo};margin-inline-end:0}:host([layout='multiline']) ::slotted([slot='dismiss']){align-items:start;height:100%;padding-block-start:${re}}::slotted(*){font-size:inherit}`;function d0(){return b`<slot name=icon></slot><div class=content><slot></slot></div><div class=actions><slot name=actions></slot></div><slot name=dismiss></slot>`}const ah=d0(),lh=ar.compose({name:a0,template:ah,styles:sh,shadowOptions:{mode:u.shadowRootMode}});lh.define(u.registry);var h0=Object.defineProperty,u0=Object.getOwnPropertyDescriptor,xe=(o,e,t,r)=>{for(var n=r>1?void 0:r?u0(e,t):e,i=o.length-1,s;i>=0;i--)(s=o[i])&&(n=(r?s(e,t,n):s(n))||n);return r&&n&&h0(e,t,n),n};class ne extends x{constructor(){super(),this.active=!1,this.id=Ze("option-"),this.initialValue="",this.multiple=!1,this.elementInternals=this.attachInternals(),this._value=this.initialValue,this.elementInternals.role="option"}activeChanged(e,t){$(this.elementInternals,"active",t)}currentSelectedChanged(e,t){this.selected=!!t}defaultSelectedChanged(e,t){this.selected=!!t}descriptionSlotChanged(e,t){$(this.elementInternals,"description",!!t?.length)}disabledChanged(e,t){this.elementInternals.ariaDisabled=this.disabled?"true":"false",$(this.elementInternals,"disabled",this.disabled),this.setFormValue(!this.disabled&&this.selected?this.value:null)}disabledAttributeChanged(e,t){this.disabled=!!t}initialValueChanged(e,t){this._value=t}multipleChanged(e,t){$(this.elementInternals,"multiple",t),this.selected=!1}get form(){return this.elementInternals.form}get labels(){return Object.freeze(Array.from(this.elementInternals.labels))}get selected(){return m.track(this,"selected"),!!this.currentSelected}set selected(e){this.currentSelected=e,E.enqueue(()=>{this.elementInternals&&(this.setFormValue(e?this.value:null),this.elementInternals.ariaSelected=e?"true":"false",$(this.elementInternals,"selected",e))}),m.notify(this,"selected")}get text(){return this.freeform?this.value.replace(/\s+/g," ").trim():(this.textAttribute??this.textContent)?.replace(/\s+/g," ").trim()??""}get value(){return m.track(this,"value"),this._value??this.text}set value(e){this._value=e,this.$fastController.isConnected&&(this.setFormValue(this.selected?e:null),this.freeformOutputs?.forEach(t=>{t.value=e}),m.notify(this,"value"))}connectedCallback(){super.connectedCallback(),this.freeform&&(this.value="",this.hidden=!0,this.selected=!1)}setFormValue(e,t){if(this.disabled){this.elementInternals.setFormValue(null);return}this.elementInternals.setFormValue(e,e??t)}toggleSelected(e=!this.selected){this.selected=e}}ne.formAssociated=!0,xe([f],ne.prototype,"active",2),xe([a({attribute:"current-selected",mode:"boolean"})],ne.prototype,"currentSelected",2),xe([a({attribute:"selected",mode:"boolean"})],ne.prototype,"defaultSelected",2),xe([f],ne.prototype,"descriptionSlot",2),xe([f],ne.prototype,"disabled",2),xe([a({attribute:"disabled",mode:"boolean"})],ne.prototype,"disabledAttribute",2),xe([a({attribute:"form"})],ne.prototype,"formAttribute",2),xe([a({mode:"boolean"})],ne.prototype,"freeform",2),xe([a({attribute:"id"})],ne.prototype,"id",2),xe([a({attribute:"value",mode:"fromView"})],ne.prototype,"initialValue",2),xe([f],ne.prototype,"multiple",2),xe([a],ne.prototype,"name",2),xe([f],ne.prototype,"start",2),xe([a({attribute:"text",mode:"fromView"})],ne.prototype,"textAttribute",2);const ch=g`${w("inline-grid")} :host{-webkit-tap-highlight-color:transparent;${Hi} align-items:center;background-color:${P};border-radius:${B};box-sizing:border-box;color:${Ae};column-gap:${te};cursor:pointer;grid-template-areas:'indicator start content';grid-template-columns:auto auto 1fr;min-height:32px;padding:${ve};text-align:start}.content{grid-area:content;line-height:1}::slotted([slot='start']){grid-area:start}:host(:hover){background-color:${zo};color:${At}}:host(:active){background-color:${Or};color:${zt}}:host(:disabled){background-color:${P};color:${z};cursor:default}.checkmark-16-filled{fill:currentColor;width:16px}slot[name='checked-indicator']>*,::slotted([slot='checked-indicator']){aspect-ratio:1;flex:0 0 auto;grid-area:indicator;visibility:hidden}:host(${Ei}) :is(slot[name='checked-indicator']>*,::slotted([slot='checked-indicator'])){visibility:visible}:host(${uo}) .checkmark-16-filled,:host(:not(${uo})) .checkmark-12-regular{display:none}:host(${uo}) .checkmark-12-regular{background-color:${P};border-radius:${ze};border:${I} solid ${Ve};box-sizing:border-box;cursor:pointer;fill:transparent;position:relative;visibility:visible;width:16px}:host(${uo}${Ei}) .checkmark-12-regular{background-color:${ht};border-color:${at};fill:${dt}}:host(:disabled${uo}) .checkmark-12-regular{border-color:${be}}:host(:disabled${uo}${Ei}) .checkmark-12-regular{background-color:${st}}:host(${Fv}){border:${pe} solid ${de}}@supports (selector(:host(:has(*)))){:host(:has([slot='start']:not([size='16']))){column-gap:${ve}}}:host(${Lv}){column-gap:${ve};grid-template-areas:'indicator start content' 'indicator start description'}::slotted([slot='description']){color:${Y};grid-area:description;${Vi}}@media (forced-colors:active){:host(:disabled){color:GrayText}}`,p0=b.partial('<svg aria-hidden=true class=checkmark-16-filled viewBox="0 0 16 16"><path d="M14.046 3.486a.75.75 0 0 1-.032 1.06l-7.93 7.474a.85.85 0 0 1-1.188-.022l-2.68-2.72a.75.75 0 1 1 1.068-1.053l2.234 2.267l7.468-7.038a.75.75 0 0 1 1.06.032"/></svg> <svg aria-hidden=true class=checkmark-12-regular viewBox="0 0 12 12"><path d="M9.854 3.146a.5.5 0 0 1 0 .708l-4.5 4.5a.5.5 0 0 1-.708 0l-2-2a.5.5 0 1 1 .708-.708L5 7.293l4.146-4.147a.5.5 0 0 1 .708 0"/></svg>');function g0(o={}){return b`<slot name=checked-indicator>${fe(o.checkedIndicator)}</slot>${He(o)}<div class=content part=content><slot ${K({property:"freeformOutputs",filter:Bo("output")})}></slot></div><div class=description part=description><slot name=description ${K("descriptionSlot")}></slot></div>`}const dh=g0({checkedIndicator:p0}),hh=ne.compose({name:Q$,template:dh,styles:ch});hh.define(u.registry);const f0={medium:"medium",large:"large"},b0={rounded:"rounded",square:"square"},uh={success:"success",warning:"warning",error:"error"},m0=`${u.prefix}-progress-bar`;var v0=Object.defineProperty,$0=Object.getOwnPropertyDescriptor,lr=(o,e,t,r)=>{for(var n=r>1?void 0:r?$0(e,t):e,i=o.length-1,s;i>=0;i--)(s=o[i])&&(n=(r?s(e,t,n):s(n))||n);return r&&n&&v0(e,t,n),n};class Xt extends x{constructor(){super(),this.elementInternals=this.attachInternals(),this.validationState=null,this.elementInternals.role="progressbar"}indicatorChanged(){this.setIndicatorWidth()}validationStateChanged(e,t){Dt(this.elementInternals,e,t,uh)}valueChanged(e,t){this.elementInternals&&(this.elementInternals.ariaValueNow=typeof t=="number"?`${t}`:null),this.setIndicatorWidth()}minChanged(e,t){this.elementInternals&&(this.elementInternals.ariaValueMin=typeof t=="number"?`${t}`:null),this.setIndicatorWidth()}maxChanged(e,t){this.elementInternals&&(this.elementInternals.ariaValueMax=typeof t=="number"?`${t}`:null),this.setIndicatorWidth()}setIndicatorWidth(){CSS.supports("width: attr(value type(<number>))")||E.enqueue(()=>{if(typeof this.value!="number"){this.indicator?.style.removeProperty("width");return}const e=this.min??0,t=this.max??100,r=this.value??0,n=t-e,i=n===0?0:Math.fround((r-e)/n*100);this.indicator?.style.setProperty("width",`${i}%`)})}}lr([f],Xt.prototype,"indicator",2),lr([a({attribute:"validation-state"})],Xt.prototype,"validationState",2),lr([a({converter:ae})],Xt.prototype,"value",2),lr([a({converter:ae})],Xt.prototype,"min",2),lr([a({converter:ae})],Xt.prototype,"max",2);var y0=Object.defineProperty,k0=Object.getOwnPropertyDescriptor,ph=(o,e,t,r)=>{for(var n=r>1?void 0:r?k0(e,t):e,i=o.length-1,s;i>=0;i--)(s=o[i])&&(n=(r?s(e,t,n):s(n))||n);return r&&n&&y0(e,t,n),n};class un extends Xt{}ph([a],un.prototype,"thickness",2),ph([a],un.prototype,"shape",2);const gh=g`${w("block")} :host{width:100%;height:2px;overflow-x:hidden;background-color:${ro};border-radius:${B};contain:content;@supports (width:attr(value type(<number>))){--max:attr(max type(<number>),100);--min:attr(min type(<number>),0);--value:attr(value type(<number>),0);--indicator-width:clamp(0%,calc((var(--value) - var(--min))/(var(--max) - var(--min)) * 100%),100%)}}:host([thickness='large']){height:4px}:host([shape='square']){border-radius:${Do}}.indicator{background-color:${ht};border-radius:inherit;height:100%}:host([value]) .indicator{transition:all 0.2s ease-in-out;@supports (width:attr(value type(<number>))){width:var(--indicator-width)}}:host(:not([value])) .indicator{position:relative;width:33%;background-image:linear-gradient( to right,${ro} 0%,${ce} 50%,${ro} 100% );animation-name:indeterminate;animation-duration:3s;animation-timing-function:linear;animation-iteration-count:infinite}:host([validation-state='error']) .indicator{background-color:${si}}:host([validation-state='warning']) .indicator{background-color:${ui}}:host([validation-state='success']) .indicator{background-color:${di}}@layer animations{@media (prefers-reduced-motion:no-preference){:host([value]){transition:none}:host(:not([value])) .indicator{animation-duration:0.01ms;animation-iteration-count:1}}}@keyframes indeterminate{0%{inset-inline-start:-33%}100%{inset-inline-start:100%}}@media (forced-colors:active){:host{background-color:CanvasText}.indicator,:host(:is([validation-state='success'],[validation-state='warning'],[validation-state='error'])) .indicator{background-color:Highlight}}`;function x0(){return b`<div class=indicator part=indicator ${A("indicator")}></div>`}const fh=x0(),bh=un.compose({name:m0,template:fh,styles:gh});bh.define(u.registry);const Yi=ye,w0=`${u.prefix}-radio-group`;function S0(o,e="-radio"){return as(e)(o)}const B0=`${u.prefix}-radio`;var C0=Object.defineProperty,P0=Object.getOwnPropertyDescriptor,St=(o,e,t,r)=>{for(var n=r>1?void 0:r?P0(e,t):e,i=o.length-1,s;i>=0;i--)(s=o[i])&&(n=(r?s(e,t,n):s(n))||n);return r&&n&&C0(e,t,n),n};class qe extends x{constructor(){super(),this.isNavigating=!1,this.dirtyState=!1,this.elementInternals=this.attachInternals(),this.elementInternals.role="radiogroup",this.elementInternals.ariaOrientation=this.orientation??Yi.horizontal}checkedIndexChanged(e,t){this.enabledRadios&&this.checkRadio(t)}disabledChanged(e,t){this.radios&&(this.checkedIndex=-1,this.radios?.forEach(r=>{r.disabled=!!r.disabledAttribute||!!this.disabled}))}initialValueChanged(e,t){this.value=t??""}nameChanged(e,t){this.isConnected&&t&&this.radios?.forEach(r=>{r.name=this.name})}orientationChanged(e,t){this.elementInternals.ariaOrientation=this.orientation??Yi.horizontal}radiosChanged(e,t){const r=t?.length;if(!r)return;!this.name&&t.every(s=>s.name===t[0].name)&&(this.name=t[0].name);const n=this.enabledRadios.findLastIndex(s=>s.initialChecked);t.forEach((s,c)=>{s.ariaPosInSet=`${c+1}`,s.ariaSetSize=`${r}`,this.initialValue&&!this.dirtyState?s.checked=s.value===this.initialValue:s.checked=c===n,s.name=this.name??s.name,s.disabled=!!this.disabled||!!s.disabledAttribute,s.toggleAttribute("focusgroupstart",s.checked&&!s.disabled)}),!this.dirtyState&&this.initialValue&&(this.value=this.initialValue),(!this.value||this.value&&typeof this.checkedIndex!="number"&&n>=0)&&(this.checkedIndex=n);const i=t.map(s=>s.id).join(" ").trim();i&&this.setAttribute("aria-owns",i)}requiredChanged(e,t){this.elementInternals.ariaRequired=t?"true":null,this.setValidity()}slottedRadiosChanged(e,t){this.radios=[...this.querySelectorAll("*")].filter(r=>S0(r))}get enabledRadios(){return this.disabled?[]:this.radios?.filter(e=>!e.disabled)??[]}get validationMessage(){if(this.elementInternals.validationMessage)return this.elementInternals.validationMessage;if(this.enabledRadios?.[0]?.validationMessage)return this.enabledRadios[0].validationMessage;if(!this._validationFallbackMessage){const e=document.createElement("input");e.type="radio",e.required=!0,e.checked=!1,this._validationFallbackMessage=e.validationMessage}return this._validationFallbackMessage}get validity(){return this.elementInternals.validity}get value(){return m.notify(this,"value"),this.enabledRadios.find(e=>e.checked)?.value??null}set value(e){const t=this.enabledRadios.findIndex(r=>r.value===e);this.checkedIndex=t,this.$fastController.isConnected&&(this.setFormValue(e),this.setValidity()),m.track(this,"value")}changeHandler(e){if(this===e.target)return!0;this.dirtyState=!0;const t=this.enabledRadios.indexOf(e.target);return this.checkRadio(t),this.radios?.filter(r=>r.disabled)?.forEach(r=>{r.checked=!1}),!0}checkRadio(e=this.checkedIndex,t=!1){let r=this.checkedIndex;this.enabledRadios.forEach((n,i)=>{const s=i===e;n.checked=s,s&&(r=i,t&&n.$emit("change"))}),this.checkedIndex=r,this.setFormValue(this.value),this.setValidity()}checkValidity(){return this.elementInternals.checkValidity()}clickHandler(e){return this===e.target&&this.enabledRadios[Math.max(0,this.checkedIndex)]?.focus(),!0}focus(){this.enabledRadios[Math.max(0,this.checkedIndex)]?.focus()}formResetCallback(){this.dirtyState=!1,this.checkedIndex=-1,this.setFormValue(this.value),this.setValidity()}focusinHandler(e){if(!this.disabled&&(this.isNavigating||this.value)){this.radios?.forEach(r=>{r.disabled&&r.checked&&(r.checked=!1)});const t=this.enabledRadios.indexOf(e.target);t>-1&&this.checkRadio(t,!0),this.isNavigating=!1}return!0}keydownHandler(e){switch(e.key){case"ArrowUp":case"ArrowDown":case"ArrowLeft":case"ArrowRight":case"Home":case"End":this.isNavigating=!0;break;case" ":this.checkRadio();break}return!0}disabledRadioHandler(e){e.detail===!0&&e.target.checked&&(this.checkedIndex=-1)}reportValidity(){return this.elementInternals.reportValidity()}setFormValue(e,t){this.elementInternals.setFormValue(e,e??t)}setValidity(e,t,r){if(this.$fastController.isConnected){if(!(this.required&&!this.value&&!this.disabled)){this.enabledRadios?.forEach(c=>{c.elementInternals.setValidity({})});return}const i={valueMissing:!0,...e},s=t??this.validationMessage;this.enabledRadios?.forEach((c,h)=>{h===0?c.elementInternals.setValidity(i,s,c):c.elementInternals.setValidity({})})}}}qe.formAssociated=!0,St([f],qe.prototype,"checkedIndex",2),St([a({attribute:"disabled",mode:"boolean"})],qe.prototype,"disabled",2),St([a({attribute:"value",mode:"fromView"})],qe.prototype,"initialValue",2),St([a],qe.prototype,"name",2),St([a],qe.prototype,"orientation",2),St([f],qe.prototype,"radios",2),St([a({mode:"boolean"})],qe.prototype,"required",2),St([f],qe.prototype,"slottedRadios",2);class mh extends qe{disconnectedCallback(){this.fg?.disconnect(),super.disconnectedCallback()}radiosChanged(e,t){super.radiosChanged(e,t),this.fgItems??(this.fgItems=new hn(()=>this.enabledRadios?.filter(r=>!r.hidden)??[],()=>this.enabledRadios?.find(r=>r.checked)??null)),this.fg?this.fg.update():this.fg=new dn(this,this.fgItems,{definition:{behavior:"radiogroup",axis:void 0,wrap:!0}})}}const vh=g`${w("flex")} :host{-webkit-tap-highlight-color:transparent;cursor:pointer;gap:${Wr}}:host([orientation='vertical']){flex-direction:column;justify-content:flex-start}:host([orientation='horizontal']){flex-direction:row}::slotted(*){color:${Y}}::slotted(:hover){color:${Ae}}::slotted(:active){color:${T}}::slotted(${$e}){color:${z}}::slotted(${y}){color:${T}}:host([slot='input']){margin:${re} ${_e}}`;function I0(){return b`<template focusgroup="radiogroup wrap" @disabled=${(o,e)=>o.disabledRadioHandler(e.event)} @change=${(o,e)=>o.changeHandler(e.event)} @click=${(o,e)=>o.clickHandler(e.event)} @focusin=${(o,e)=>o.focusinHandler(e.event)} @keydown=${(o,e)=>o.keydownHandler(e.event)}><slot ${K("slottedRadios")}></slot></template>`}const $h=I0(),yh=mh.compose({name:w0,template:$h,styles:vh});yh.define(u.registry);class kh extends Pe{constructor(){super(),this.elementInternals.role="radio"}disabledChanged(e,t){super.disabledChanged(e,t),this.$emit("disabled",t,{bubbles:!0})}requiredChanged(){}setFormValue(){}setValidity(){this.elementInternals.setValidity({})}toggleChecked(e=!0){super.toggleChecked(e)}}const xh=g`${w("inline-flex")} :host{--size:16px;aspect-ratio:1;background-color:${P};border:${I} solid ${Ve};border-radius:${he};box-sizing:border-box;position:relative;width:var(--size)}:host([size='large']){--size:20px}.checked-indicator{aspect-ratio:1;border-radius:${he};color:${dt};inset:0;margin:auto;position:absolute;width:calc(var(--size) * 0.625)}:host(:not([slot='input']))::after{content:''/'';position:absolute;display:block;inset:-8px;box-sizing:border-box;outline:none;border:${pe} solid ${X};border-radius:${B}}:host(:not([slot='input']):focus-visible)::after{border-color:${de}}:host(:hover){border-color:${ut}}:host(${y}){border-color:${at}}:host(${y}) .checked-indicator{background-color:${ht}}:host(${y}:hover) .checked-indicator{background-color:${_t}}:host(:active){border-color:${pt}}:host(${y}:active) .checked-indicator{background-color:${Ot}}:host(:focus-visible){outline:none}:host(${$e}){background-color:${st};border-color:${be}}:host(${y}${$e}) .checked-indicator{background-color:${be}}@media (forced-colors:active){:host{border-color:FieldText}:host(:not([slot='input']:focus-visible))::after{border-color:Canvas}:host(:not(${$e}):hover),:host(:not([slot='input']):focus-visible)::after{border-color:Highlight}.checked-indicator{color:HighlightText}:host(${y}) .checked-indicator{background-color:FieldText}:host(${y}:not(${$e}):hover) .checked-indicator{background-color:Highlight}:host(${$e}){border-color:GrayText;color:GrayText}:host(${$e}${y}) .checked-indicator{background-color:GrayText}}`,N0=b.partial("<span part=checked-indicator class=checked-indicator role=presentation></span>");function T0(o={}){return b`<template @click=${(e,t)=>e.clickHandler(t.event)} @keydown=${(e,t)=>e.keydownHandler(t.event)} @keyup=${(e,t)=>e.keyupHandler(t.event)}><slot name=checked-indicator>${fe(o.checkedIndicator)}</slot></template>`}const wh=T0({checkedIndicator:N0}),Sh=kh.compose({name:B0,template:wh,styles:xh});Sh.define(u.registry);const A0={neutral:"neutral",brand:"brand",marigold:"marigold"},z0={small:"small",medium:"medium",large:"large"},_0=`${u.prefix}-rating-display`;var O0=Object.defineProperty,F0=Object.getOwnPropertyDescriptor,cr=(o,e,t,r)=>{for(var n=r>1?void 0:r?F0(e,t):e,i=o.length-1,s;i>=0;i--)(s=o[i])&&(n=(r?s(e,t,n):s(n))||n);return r&&n&&O0(e,t,n),n};const E0=CSS.supports("width: attr(value type(<number>))"),vo={max:"--_attr-max",value:"--_attr-value",maskImageFilled:"--_mask-image-filled",maskImageOutlined:"--_mask-image-outlined"};function pn(o){return o?["data:image/svg+xml",encodeURIComponent(o.replace(/\n/g,"").replace(/\s+/g," "))].join(","):""}class Ut extends x{constructor(){super(),this.elementInternals=this.attachInternals(),this.defaultCustomIconViewBox="0 0 20 20",this.elementInternals.role="img",this.numberFormatter=new Intl.NumberFormat}iconSlotChanged(){this.handleSlotChange()}maxChanged(){this.setCustomPropertyValue("max")}valueChanged(){this.setCustomPropertyValue("value")}connectedCallback(){super.connectedCallback(),this.setCustomPropertyValue("value"),this.setCustomPropertyValue("max")}get formattedCount(){return this.count?this.numberFormatter.format(this.count):""}handleSlotChange(){const e=this.iconSlot.assignedElements()?.find(t=>t.nodeName.toLowerCase()==="svg");this.renderSlottedIcon(e??null)}renderSlottedIcon(e){if(!e){this.display.style.removeProperty(vo.maskImageFilled),this.display.style.removeProperty(vo.maskImageOutlined);return}const t=e.innerHTML,r=e.getAttribute("viewBox")??this.iconViewBox??this.defaultCustomIconViewBox,n=`
5
+ `),h,Fs(this.firstChild,this.lastChild).cloneContents(),d)}}}else{this.source!==null&&this.evaluateUnbindables(),this.isBound=!1,this.source=e,this.context=t;for(let i=0,s=n.length;i<s;++i)n[i].bind(this)}this.isBound=!0,this._hydrationStage=Qt.hydrated}unbind(){!this.isBound||this.source===null||(this.evaluateUnbindables(),this.source=null,this.context=this,this.isBound=!1)}dispose(){Mn(this.firstChild,this.lastChild),this.unbind()}onUnbind(e){this.unbindables.push(e)}evaluateUnbindables(){const e=this.unbindables;for(let t=0,r=e.length;t<r;++t)e[t].unbind(this);e.length=0}}Es=Br,Pt(Yu);function Ju(o){return o.create!==void 0}function Qu(o,e,t,r){if(t==null&&(t=""),Ju(t)){o.textContent="";let n=o.$fastView;if(n===void 0)if(Cr(r)&&Cr(t)&&r.bindingViewBoundaries[this.targetNodeId]!==void 0&&r.hydrationStage!==Qt.hydrated){const i=r.bindingViewBoundaries[this.targetNodeId];n=t.hydrate(i.first,i.last)}else n=t.create();else o.$fastTemplate!==t&&(n.isComposed&&(n.remove(),n.unbind()),n=t.create());n.isComposed?n.needsBindOnly&&(n.needsBindOnly=!1,n.bind(r.source,r.context)):(n.isComposed=!0,n.bind(r.source,r.context),n.insertBefore(o),o.$fastView=n,o.$fastTemplate=t)}else{const n=o.$fastView;n!==void 0&&n.isComposed&&(n.isComposed=!1,n.remove(),n.needsBindOnly?n.needsBindOnly=!1:n.unbind()),o.textContent=t}}function Zu(o,e,t){var r;const n=`${this.id}-t`,i=(r=o[n])!==null&&r!==void 0?r:o[n]={v:0,cv:Object.create(null)},s=i.cv;let c=i.v;const h=o[e];if(t!=null&&t.length){const d=t.split(/\s+/);for(let l=0,p=d.length;l<p;++l){const k=d[l];k!==""&&(s[k]=c,h.add(k))}}if(i.v=c+1,c!==0){c-=1;for(const d in s)s[d]===c&&h.remove(d)}}const ep={[Z.attribute]:It.setAttribute,[Z.booleanAttribute]:It.setBooleanAttribute,[Z.property]:(o,e,t)=>o[e]=t,[Z.content]:Qu,[Z.tokenList]:Zu,[Z.event]:()=>{}};class Zt{constructor(e){this.dataBinding=e,this.updateTarget=null,this.aspectType=Z.content}createHTML(e){return xs.interpolation(e(this))}createBehavior(){var e;if(this.updateTarget===null){const t=ep[this.aspectType],r=(e=this.dataBinding.policy)!==null&&e!==void 0?e:this.policy;if(!t)throw U.error(Ge.unsupportedBindingBehavior);this.data=`${this.id}-d`,this.updateTarget=r.protect(this.targetTagName,this.aspectType,this.targetAspect,t)}return this}bind(e){var t;const r=e.targets[this.targetNodeId],n=Cr(e)&&e.hydrationStage&&e.hydrationStage!==Qt.hydrated;switch(this.aspectType){case Z.event:r[this.data]=e,r.addEventListener(this.targetAspect,this,this.dataBinding.options);break;case Z.content:e.onUnbind(this);default:{const i=(t=r[this.data])!==null&&t!==void 0?t:r[this.data]=this.dataBinding.createObserver(this,this);if(i.target=r,i.controller=e,n&&(this.aspectType===Z.attribute||this.aspectType===Z.booleanAttribute)){i.bind(e);break}this.updateTarget(r,this.targetAspect,i.bind(e),e);break}}}unbind(e){const r=e.targets[this.targetNodeId].$fastView;r!==void 0&&r.isComposed&&(r.unbind(),r.needsBindOnly=!0)}handleEvent(e){const t=e.currentTarget[this.data];if(t.isBound){Jt.setEvent(e);const r=this.dataBinding.evaluate(t.source,t.context);Jt.setEvent(null),r!==!0&&e.preventDefault()}}handleChange(e,t){const r=t.controller;if(!r.isBound)return;const n=t.target;this.updateTarget(n,this.targetAspect,t.bind(r),r)}}Xe.define(Zt,{aspected:!0});const Ls=(o,e)=>`${o}.${e}`,Ms={},Ue={index:0,node:null};function Hs(o){o.startsWith("fast-")||U.warn(Ge.hostBindingWithoutHost,{name:o})}const tp=new Proxy(document.createElement("div"),{get(o,e){Hs(e);const t=Reflect.get(o,e);return Ct(t)?t.bind(o):t},set(o,e,t){return Hs(e),Reflect.set(o,e,t)}});class op{constructor(e,t,r){this.fragment=e,this.directives=t,this.policy=r,this.proto=null,this.nodeIds=new Set,this.descriptors={},this.factories=[]}addFactory(e,t,r,n,i){var s,c;this.nodeIds.has(r)||(this.nodeIds.add(r),this.addTargetDescriptor(t,r,n)),e.id=(s=e.id)!==null&&s!==void 0?s:So(),e.targetNodeId=r,e.targetTagName=i,e.policy=(c=e.policy)!==null&&c!==void 0?c:this.policy,this.factories.push(e)}freeze(){return this.proto=Object.create(null,this.descriptors),this}addTargetDescriptor(e,t,r){const n=this.descriptors;if(t==="r"||t==="h"||n[t])return;if(!n[e]){const s=e.lastIndexOf("."),c=e.substring(0,s),h=parseInt(e.substring(s+1),10);this.addTargetDescriptor(c,e,h)}let i=Ms[t];if(!i){const s=`_${t}`;Ms[t]=i={get(){var c;return(c=this[s])!==null&&c!==void 0?c:this[s]=this[e].childNodes[r]}}}n[t]=i}createView(e){const t=this.fragment.cloneNode(!0),r=Object.create(this.proto);r.r=t,r.h=e??tp;for(const n of this.nodeIds)Reflect.get(r,n);return new Nr(t,this.factories,r)}}function Vs(o,e,t,r,n,i=!1){const s=t.attributes,c=o.directives;for(let h=0,d=s.length;h<d;++h){const l=s[h],p=l.value,k=Sr.parse(p,c);let S=null;k===null?i&&(S=new Zt(bs(()=>p,o.policy)),Xe.assignAspect(S,l.name)):S=Hn.aggregate(k,o.policy),S!==null&&(t.removeAttributeNode(l),h--,d--,o.addFactory(S,e,r,n,t.tagName))}}function rp(o,e,t,r,n){const i=Sr.parse(e.textContent,o.directives);if(i===null)return Ue.node=e.nextSibling,Ue.index=n+1,Ue;let s,c=s=e;for(let h=0,d=i.length;h<d;++h){const l=i[h];h!==0&&(n++,r=Ls(t,n),s=c.parentNode.insertBefore(document.createTextNode(""),c.nextSibling)),rt(l)?s.textContent=l:(s.textContent=" ",Xe.assignAspect(l),o.addFactory(l,t,r,n,null)),c=s}return Ue.index=n+1,Ue.node=c.nextSibling,Ue}function Rs(o,e,t){let r=0,n=e.firstChild;for(;n;){const i=np(o,t,n,r);n=i.node,r=i.index}}function np(o,e,t,r){const n=Ls(e,r);switch(t.nodeType){case 1:Vs(o,e,t,n,r),Rs(o,t,n);break;case 3:return rp(o,t,e,n,r);case 8:{const i=Sr.parse(t.data,o.directives);i!==null&&o.addFactory(Hn.aggregate(i),e,n,r,null);break}}return Ue.index=r+1,Ue.node=t.nextSibling,Ue}function ip(o,e){return o&&o.nodeType===8&&Sr.parse(o.data,e)!==null}const js="TEMPLATE",Hn={compile(o,e,t=It.policy){let r;if(rt(o)){r=document.createElement(js),r.innerHTML=t.createHTML(o);const s=r.content.firstElementChild;s!==null&&s.tagName===js&&(r=s)}else r=o;!r.content.firstChild&&!r.content.lastChild&&r.content.appendChild(document.createComment(""));const n=document.adoptNode(r.content),i=new op(n,e,t);return Vs(i,"",r,"h",0,!0),(ip(n.firstChild,e)||n.childNodes.length===1&&Object.keys(e).length>0)&&n.insertBefore(document.createComment(""),n.firstChild),Rs(i,n,"r"),Ue.node=null,i.freeze()},setDefaultStrategy(o){this.compile=o},aggregate(o,e=It.policy){if(o.length===1)return o[0];let t,r=!1,n;const i=o.length,s=o.map(d=>rt(d)?()=>d:(t=d.sourceAspect||t,r=r||d.dataBinding.isVolatile,n=n||d.dataBinding.policy,d.dataBinding.evaluate)),c=(d,l)=>{let p="";for(let k=0;k<i;++k)p+=s[k](d,l);return p},h=new Zt(Tn(c,n??e,r));return Xe.assignAspect(h,t),h}};class qs extends Dn{bind(e){e.source[this.options]=e.targets[this.targetNodeId]}}Xe.define(qs);const A=o=>new qs(o),Ws="boolean",Gs="reflect",Tr=Object.freeze({locate:hs()}),sp={toView(o){return o?"true":"false"},fromView(o){return!(o==null||o==="false"||o===!1||o===0)}};function Xs(o){if(o==null)return null;const e=o*1;return isNaN(e)?null:e}const ae={toView(o){const e=Xs(o);return e&&e.toString()},fromView:Xs};class wn{constructor(e,t,r=t.toLowerCase(),n=Gs,i){this.guards=new Set,this.Owner=e,this.name=t,this.attribute=r,this.mode=n,this.converter=i,this.fieldName=`_${t}`,this.callbackName=`${t}Changed`,this.hasCallback=this.callbackName in e.prototype,n===Ws&&i===void 0&&(this.converter=sp)}setValue(e,t){const r=e[this.fieldName],n=this.converter;n!==void 0&&(t=n.fromView(t)),r!==t&&(e[this.fieldName]=t,this.tryReflectToAttribute(e),this.hasCallback&&e[this.callbackName](r,t),e.$fastController.notify(this.name))}getValue(e){return m.track(e,this.name),e[this.fieldName]}onAttributeChangedCallback(e,t){this.guards.has(e)||(this.guards.add(e),this.setValue(e,t),this.guards.delete(e))}tryReflectToAttribute(e){const t=this.mode,r=this.guards;r.has(e)||t==="fromView"||E.enqueue(()=>{r.add(e);const n=e[this.fieldName];switch(t){case Gs:const i=this.converter;It.setAttribute(e,this.attribute,i!==void 0?i.toView(n):n);break;case Ws:It.setBooleanAttribute(e,this.attribute,n);break}r.delete(e)})}static collect(e,...t){const r=[];t.push(Tr.locate(e));for(let n=0,i=t.length;n<i;++n){const s=t[n];if(s!==void 0)for(let c=0,h=s.length;c<h;++c){const d=s[c];rt(d)?r.push(new wn(e,d)):r.push(new wn(e,d.property,d.attribute,d.mode,d.converter))}}return r}}function a(o,e){let t;function r(n,i){arguments.length>1&&(t.property=i),Tr.locate(n.constructor).push(t)}if(arguments.length>1){t={},r(o,e);return}return t=o===void 0?{}:o,r}var ap=window&&window.__awaiter||function(o,e,t,r){function n(i){return i instanceof t?i:new t(function(s){s(i)})}return new(t||(t=Promise))(function(i,s){function c(l){try{d(r.next(l))}catch(p){s(p)}}function h(l){try{d(r.throw(l))}catch(p){s(p)}}function d(l){l.done?i(l.value):n(l.value).then(c,h)}d((r=r.apply(o,e||[])).next())})},Me;const Us={mode:"open"},Ks={},Vn=new Set,Co=U.getById(Bt.elementRegistry,()=>In()),lp={deferAndHydrate:"defer-and-hydrate"};class ge{get isDefined(){return this.platformDefined}constructor(e,t=e.definition){var r;this.platformDefined=!1,rt(t)&&(t={name:t}),this.type=e,this.name=t.name,this.template=t.template,this.templateOptions=t.templateOptions,this.registry=(r=t.registry)!==null&&r!==void 0?r:customElements;const n=e.prototype,i=wn.collect(e,t.attributes),s=new Array(i.length),c={},h={};for(let d=0,l=i.length;d<l;++d){const p=i[d];s[d]=p.attribute,c[p.name]=p,h[p.attribute]=p,m.defineProperty(n,p)}Reflect.defineProperty(e,"observedAttributes",{value:s,enumerable:!0}),this.attributes=i,this.propertyLookup=c,this.attributeLookup=h,this.shadowOptions=t.shadowOptions===void 0?Us:t.shadowOptions===null?void 0:Object.assign(Object.assign({},Us),t.shadowOptions),this.elementOptions=t.elementOptions===void 0?Ks:Object.assign(Object.assign({},Ks),t.elementOptions),this.styles=we.normalize(t.styles),Co.register(this),m.defineProperty(Me.isRegistered,this.name),Me.isRegistered[this.name]=this.type}define(e=this.registry){var t,r;const n=this.type;return e.get(this.name)||(this.platformDefined=!0,e.define(this.name,n,this.elementOptions),(r=(t=this.lifecycleCallbacks)===null||t===void 0?void 0:t.elementDidDefine)===null||r===void 0||r.call(t,this.name)),this}static compose(e,t){return Vn.has(e)||Co.getByType(e)?new Me(class extends e{},t):new Me(e,t)}static registerBaseType(e){Vn.add(e)}static composeAsync(e,t){return new Promise(r=>{(Vn.has(e)||Co.getByType(e))&&r(new Me(class extends e{},t));const n=new Me(e,t);m.getNotifier(n).subscribe({handleChange:()=>{var i,s;(s=(i=n.lifecycleCallbacks)===null||i===void 0?void 0:i.templateDidUpdate)===null||s===void 0||s.call(i,n.name),r(n)}},"template")})}}Me=ge,ge.isRegistered={},ge.getByType=Co.getByType,ge.getForInstance=Co.getForInstance,ge.registerAsync=o=>ap(void 0,void 0,void 0,function*(){return new Promise(e=>{Me.isRegistered[o]&&e(Me.isRegistered[o]),m.getNotifier(Me.isRegistered).subscribe({handleChange:()=>e(Me.isRegistered[o])},o)})}),m.defineProperty(ge.prototype,"template");const cp=/([ \x09\x0a\x0c\x0d])([^\0-\x1F\x7F-\x9F "'>=/]+)([ \x09\x0a\x0c\x0d]*=[ \x09\x0a\x0c\x0d]*(?:[^ \x09\x0a\x0c\x0d"'`<>=]*|"[^"]*|'[^']*))$/,dp=Object.create(null);class Nt{constructor(e,t=dp){this.html=e,this.factories=t}createHTML(e){const t=this.factories;for(const r in t)e(t[r]);return this.html}}Nt.empty=new Nt(""),Xe.define(Nt);function hp(o,e,t,r=Xe.getForInstance(o)){if(r.aspected){const n=cp.exec(e);n!==null&&Xe.assignAspect(o,n[2])}return o.createHTML(t)}class Sn{constructor(e,t={},r){this.policy=r,this.result=null,this.html=e,this.factories=t}compile(){return this.result===null&&(this.result=Hn.compile(this.html,this.factories,this.policy)),this.result}create(e){return this.compile().createView(e)}inline(){return new Nt(rt(this.html)?this.html:this.html.innerHTML,this.factories)}withPolicy(e){if(this.result)throw U.error(Ge.cannotSetTemplatePolicyAfterCompilation);if(this.policy)throw U.error(Ge.onlySetTemplatePolicyOnce);return this.policy=e,this}render(e,t,r){const n=this.create(r);return n.bind(e),n.appendTo(t),n}static create(e,t,r){let n="";const i=Object.create(null),s=c=>{var h;const d=(h=c.id)!==null&&h!==void 0?h:c.id=So();return i[d]=c,d};for(let c=0,h=e.length-1;c<h;++c){const d=e[c];let l=t[c],p;if(n+=d,Ct(l))l=new Zt(Tn(l));else if(l instanceof xr)l=new Zt(l);else if(!(p=Xe.getForInstance(l))){const k=l;l=new Zt(bs(()=>k))}n+=hp(l,d,s,p)}return new Sn(n+e[e.length-1],i,r)}}Pt(Sn);const b=(o,...e)=>{if(Array.isArray(o)&&Array.isArray(o.raw))return Sn.create(o,e);throw U.error(Ge.directCallToHTMLTagNotAllowed)};b.partial=o=>new Nt(o);const Ys="slotchange";class Js extends Ru{observe(e){e.addEventListener(Ys,this)}disconnect(e){e.removeEventListener(Ys,this)}getNodes(e){return e.assignedNodes(this.options)}handleEvent(e){const t=e.currentTarget;this.updateTarget(this.getSource(t),this.computeNodes(t))}}Xe.define(Js);function K(o){return rt(o)&&(o={property:o}),new Js(o)}class up extends MutationObserver{constructor(e){function t(r){this.callback.call(null,r.filter(n=>this.observedNodes.has(n.target)))}super(t),this.callback=e,this.observedNodes=new Set}observe(e,t){this.observedNodes.add(e),super.observe(e,t)}unobserve(e){this.observedNodes.delete(e),this.observedNodes.size<1&&this.disconnect()}}Object.freeze({create(o){const e=[],t={};let r=null,n=!1;return{source:o,context:Jt.default,targets:t,get isBound(){return n},addBehaviorFactory(i,s){var c,h,d,l;const p=i;p.id=(c=p.id)!==null&&c!==void 0?c:So(),p.targetNodeId=(h=p.targetNodeId)!==null&&h!==void 0?h:So(),p.targetTagName=(d=s.tagName)!==null&&d!==void 0?d:null,p.policy=(l=p.policy)!==null&&l!==void 0?l:It.policy,this.addTarget(p.targetNodeId,s),this.addBehavior(p.createBehavior())},addTarget(i,s){t[i]=s},addBehavior(i){e.push(i),n&&i.bind(this)},onUnbind(i){r===null&&(r=[]),r.push(i)},connectedCallback(i){n||(n=!0,e.forEach(s=>s.bind(this)))},disconnectedCallback(i){n&&(n=!1,r!==null&&r.forEach(s=>s.unbind(this)))}}}});const pp={bubbles:!0,composed:!0,cancelable:!0},Ar="isConnected",Qs=new WeakMap;function Po(o){var e,t;return(t=(e=o.shadowRoot)!==null&&e!==void 0?e:Qs.get(o))!==null&&t!==void 0?t:null}let Zs;var ee;(function(o){o[o.connecting=0]="connecting",o[o.connected=1]="connected",o[o.disconnecting=2]="disconnecting",o[o.disconnected=3]="disconnected"})(ee||(ee={}));class We extends ps{get isConnected(){return m.track(this,Ar),this.stage===ee.connected}get context(){var e,t;return(t=(e=this.view)===null||e===void 0?void 0:e.context)!==null&&t!==void 0?t:Jt.default}get isBound(){var e,t;return(t=(e=this.view)===null||e===void 0?void 0:e.isBound)!==null&&t!==void 0?t:!1}get sourceLifetime(){var e;return(e=this.view)===null||e===void 0?void 0:e.sourceLifetime}get template(){var e;if(this._template===null){const t=this.definition;this.source.resolveTemplate?this._template=this.source.resolveTemplate():t.template&&(this._template=(e=t.template)!==null&&e!==void 0?e:null)}return this._template}set template(e){this._template!==e&&(this._template=e,this.needsInitialization||this.renderTemplate(e))}get shadowOptions(){return this._shadowRootOptions}set shadowOptions(e){if(this._shadowRootOptions===void 0&&e!==void 0){this._shadowRootOptions=e;let t=this.source.shadowRoot;t?this.hasExistingShadowRoot=!0:(t=this.source.attachShadow(e),e.mode==="closed"&&Qs.set(this.source,t))}}get mainStyles(){var e;if(this._mainStyles===null){const t=this.definition;this.source.resolveStyles?this._mainStyles=this.source.resolveStyles():t.styles&&(this._mainStyles=(e=t.styles)!==null&&e!==void 0?e:null)}return this._mainStyles}set mainStyles(e){this._mainStyles!==e&&(this._mainStyles!==null&&this.removeStyles(this._mainStyles),this._mainStyles=e,this.needsInitialization||this.addStyles(e))}constructor(e,t){super(e),this.boundObservables=null,this.needsInitialization=!0,this.hasExistingShadowRoot=!1,this._template=null,this.stage=ee.disconnected,this.guardBehaviorConnection=!1,this.behaviors=null,this.behaviorsConnected=!1,this._mainStyles=null,this.$fastController=this,this.view=null,this.source=e,this.definition=t,this.shadowOptions=t.shadowOptions;const r=m.getAccessors(e);if(r.length>0){const n=this.boundObservables=Object.create(null);for(let i=0,s=r.length;i<s;++i){const c=r[i].name,h=e[c];h!==void 0&&(delete e[c],n[c]=h)}}}onUnbind(e){var t;(t=this.view)===null||t===void 0||t.onUnbind(e)}addBehavior(e){var t,r;const n=(t=this.behaviors)!==null&&t!==void 0?t:this.behaviors=new Map,i=(r=n.get(e))!==null&&r!==void 0?r:0;i===0?(n.set(e,1),e.addedCallback&&e.addedCallback(this),e.connectedCallback&&!this.guardBehaviorConnection&&(this.stage===ee.connected||this.stage===ee.connecting)&&e.connectedCallback(this)):n.set(e,i+1)}removeBehavior(e,t=!1){const r=this.behaviors;if(r===null)return;const n=r.get(e);n!==void 0&&(n===1||t?(r.delete(e),e.disconnectedCallback&&this.stage!==ee.disconnected&&e.disconnectedCallback(this),e.removedCallback&&e.removedCallback(this)):r.set(e,n-1))}addStyles(e){var t;if(!e)return;const r=this.source;if(e instanceof HTMLElement)((t=Po(r))!==null&&t!==void 0?t:this.source).append(e);else if(!e.isAttachedTo(r)){const n=e.behaviors;if(e.addStylesTo(r),n!==null)for(let i=0,s=n.length;i<s;++i)this.addBehavior(n[i])}}removeStyles(e){var t;if(!e)return;const r=this.source;if(e instanceof HTMLElement)((t=Po(r))!==null&&t!==void 0?t:r).removeChild(e);else if(e.isAttachedTo(r)){const n=e.behaviors;if(e.removeStylesFrom(r),n!==null)for(let i=0,s=n.length;i<s;++i)this.removeBehavior(n[i])}}connect(){this.stage===ee.disconnected&&(this.stage=ee.connecting,this.bindObservables(),this.connectBehaviors(),this.needsInitialization?(this.renderTemplate(this.template),this.addStyles(this.mainStyles),this.needsInitialization=!1):this.view!==null&&this.view.bind(this.source),this.stage=ee.connected,m.notify(this,Ar))}bindObservables(){if(this.boundObservables!==null){const e=this.source,t=this.boundObservables,r=Object.keys(t);for(let n=0,i=r.length;n<i;++n){const s=r[n];e[s]=t[s]}this.boundObservables=null}}connectBehaviors(){if(this.behaviorsConnected===!1){const e=this.behaviors;if(e!==null){this.guardBehaviorConnection=!0;for(const t of e.keys())t.connectedCallback&&t.connectedCallback(this);this.guardBehaviorConnection=!1}this.behaviorsConnected=!0}}disconnectBehaviors(){if(this.behaviorsConnected===!0){const e=this.behaviors;if(e!==null)for(const t of e.keys())t.disconnectedCallback&&t.disconnectedCallback(this);this.behaviorsConnected=!1}}disconnect(){this.stage===ee.connected&&(this.stage=ee.disconnecting,m.notify(this,Ar),this.view!==null&&this.view.unbind(),this.disconnectBehaviors(),this.stage=ee.disconnected)}onAttributeChangedCallback(e,t,r){const n=this.definition.attributeLookup[e];n!==void 0&&n.onAttributeChangedCallback(this.source,r)}emit(e,t,r){return this.stage===ee.connected?this.source.dispatchEvent(new CustomEvent(e,Object.assign(Object.assign({detail:t},pp),r))):!1}renderTemplate(e){var t;const r=this.source,n=(t=Po(r))!==null&&t!==void 0?t:r;if(this.view!==null)this.view.dispose(),this.view=null;else if(!this.needsInitialization||this.hasExistingShadowRoot){this.hasExistingShadowRoot=!1;for(let i=n.firstChild;i!==null;i=n.firstChild)n.removeChild(i)}e&&(this.view=e.render(r,n,r),this.view.sourceLifetime=kr.coupled)}static forCustomElement(e,t=!1){const r=e.$fastController;if(r!==void 0&&!t)return r;const n=ge.getForInstance(e);if(n===void 0)throw U.error(Ge.missingElementDefinition);return m.getNotifier(n).subscribe({handleChange:()=>{We.forCustomElement(e,!0),e.$fastController.connect()}},"template"),m.getNotifier(n).subscribe({handleChange:()=>{We.forCustomElement(e,!0),e.$fastController.connect()}},"shadowOptions"),e.$fastController=new Zs(e,n)}static setStrategy(e){Zs=e}}Pt(We),We.setStrategy(We);function zr(o){var e;return"adoptedStyleSheets"in o?o:(e=Po(o))!==null&&e!==void 0?e:o.getRootNode()}class Bn{constructor(e){const t=Bn.styleSheetCache;this.sheets=e.map(r=>{if(r instanceof CSSStyleSheet)return r;let n=t.get(r);return n===void 0&&(n=new CSSStyleSheet,n.replaceSync(r),t.set(r,n)),n})}addStylesTo(e){ta(zr(e),this.sheets)}removeStylesFrom(e){oa(zr(e),this.sheets)}}Bn.styleSheetCache=new Map;let gp=0;const fp=()=>`fast-${++gp}`;function ea(o){return o===document?document.body:o}class bp{constructor(e){this.styles=e,this.styleClass=fp()}addStylesTo(e){e=ea(zr(e));const t=this.styles,r=this.styleClass;for(let n=0;n<t.length;n++){const i=document.createElement("style");i.innerHTML=t[n],i.className=r,e.append(i)}}removeStylesFrom(e){e=ea(zr(e));const t=e.querySelectorAll(`.${this.styleClass}`);for(let r=0,n=t.length;r<n;++r)e.removeChild(t[r])}}let ta=(o,e)=>{o.adoptedStyleSheets=[...o.adoptedStyleSheets,...e]},oa=(o,e)=>{o.adoptedStyleSheets=o.adoptedStyleSheets.filter(t=>e.indexOf(t)===-1)};if(we.supportsAdoptedStyleSheets){try{document.adoptedStyleSheets.push(),document.adoptedStyleSheets.splice(),ta=(o,e)=>{o.adoptedStyleSheets.push(...e)},oa=(o,e)=>{for(const t of e){const r=o.adoptedStyleSheets.indexOf(t);r!==-1&&o.adoptedStyleSheets.splice(r,1)}}}catch{}we.setDefaultStrategy(Bn)}else we.setDefaultStrategy(bp);const Rn="needs-hydration";class C extends We{get shadowOptions(){return super.shadowOptions}set shadowOptions(e){super.shadowOptions=e,(this.hasExistingShadowRoot||e!==void 0&&!this.template)&&this.definition.templateOptions===lp.deferAndHydrate&&(this.source.toggleAttribute(Pr,!0),this.source.toggleAttribute(Rn,!0))}addHydratingInstance(){if(!C.hydratingInstances)return;const e=this.definition.name;let t=C.hydratingInstances.get(e);t||(t=new Set,C.hydratingInstances.set(e,t)),t.add(this.source)}static config(e){return C.lifecycleCallbacks=e,this}static hydrationObserverHandler(e){for(const t of e)t.target.hasAttribute(Pr)||(C.hydrationObserver.unobserve(t.target),t.target.$fastController.connect())}static checkHydrationComplete(e){var t,r,n;if(e.didTimeout){C.idleCallbackId=requestIdleCallback(C.checkHydrationComplete,{timeout:50});return}if(((t=C.hydratingInstances)===null||t===void 0?void 0:t.size)===0){try{(n=(r=C.lifecycleCallbacks).hydrationComplete)===null||n===void 0||n.call(r)}catch{}We.setStrategy(We)}}connect(){var e,t,r,n,i,s,c;if(this.needsHydration=(e=this.needsHydration)!==null&&e!==void 0?e:this.source.hasAttribute(Rn),this.needsHydration&&this.addHydratingInstance(),this.source.hasAttribute(Pr)){this.addHydratingInstance(),C.hydrationObserver.observe(this.source,{attributeFilter:[Pr]});return}if(!this.needsHydration){super.connect(),this.removeHydratingInstance();return}if(this.stage===ee.disconnected){if(!C.hydrationStarted){C.hydrationStarted=!0;try{(r=(t=C.lifecycleCallbacks).hydrationStarted)===null||r===void 0||r.call(t)}catch{}}try{(i=(n=C.lifecycleCallbacks).elementWillHydrate)===null||i===void 0||i.call(n,this.source)}catch{}if(this.stage=ee.connecting,this.bindObservables(),this.connectBehaviors(),this.template)if(Cr(this.template)){const h=this.source,d=(s=Po(h))!==null&&s!==void 0?s:h;let l=d.firstChild,p=d.lastChild;h.shadowRoot===null&&(Ie.isElementBoundaryStartMarker(l)&&(l.data="",l=l.nextSibling),Ie.isElementBoundaryEndMarker(p)&&(p.data="",p=p.previousSibling)),this.view=this.template.hydrate(l,p,h),(c=this.view)===null||c===void 0||c.bind(this.source)}else this.renderTemplate(this.template);this.addStyles(this.mainStyles),this.stage=ee.connected,this.source.removeAttribute(Rn),this.needsInitialization=this.needsHydration=!1,this.removeHydratingInstance(),m.notify(this,Ar)}}removeHydratingInstance(){var e,t;if(!C.hydratingInstances)return;try{(t=(e=C.lifecycleCallbacks).elementDidHydrate)===null||t===void 0||t.call(e,this.source)}catch{}const r=this.definition.name,n=C.hydratingInstances.get(r);n&&(n.delete(this.source),n.size||C.hydratingInstances.delete(r),C.idleCallbackId&&cancelIdleCallback(C.idleCallbackId),C.idleCallbackId=requestIdleCallback(C.checkHydrationComplete,{timeout:50}))}disconnect(){super.disconnect(),C.hydrationObserver.unobserve(this.source)}static install(){We.setStrategy(C)}}C.hydrationObserver=new up(C.hydrationObserverHandler),C.lifecycleCallbacks={},C.hydrationStarted=!1,C.idleCallbackId=null,C.hydratingInstances=new Map;function ra(o){const e=class extends o{constructor(){super(),We.forCustomElement(this)}$emit(t,r,n){return this.$fastController.emit(t,r,n)}connectedCallback(){this.$fastController.connect()}disconnectedCallback(){this.$fastController.disconnect()}attributeChangedCallback(t,r,n){this.$fastController.onAttributeChangedCallback(t,r,n)}};return ge.registerBaseType(e),e}function mp(o,e){return Ct(o)?ge.compose(o,e):ge.compose(this,o)}function vp(o,e){return Ct(o)?new Promise(t=>{ge.composeAsync(o,e).then(r=>{t(r)})}).then(t=>t.define().type):new Promise(t=>{ge.composeAsync(this,o).then(r=>{t(r)})}).then(t=>t.define().type)}function $p(o,e){return Ct(o)?ge.compose(o,e).define().type:ge.compose(this,o).define().type}function yp(o){return ra(o)}const x=Object.assign(ra(HTMLElement),{from:yp,define:$p,compose:mp,defineAsync:vp});function fe(o){return o?typeof o=="string"?new Nt(o):"inline"in o?o.inline():o:Nt.empty}class nt{}function it(o){return b`<slot name=end ${A("end")}>${fe(o.end)}</slot>`.inline()}function He(o){return b`<slot name=start ${A("start")}>${fe(o.start)}</slot>`.inline()}function ct(o,...e){const t=Tr.locate(o);e.forEach(r=>{Object.getOwnPropertyNames(r.prototype).forEach(i=>{i!=="constructor"&&Object.defineProperty(o.prototype,i,Object.getOwnPropertyDescriptor(r.prototype,i))}),Tr.locate(r).forEach(i=>t.push(i))})}var kp=Object.defineProperty,xp=Object.getOwnPropertyDescriptor,_r=(o,e,t,r)=>{for(var n=r>1?void 0:r?xp(e,t):e,i=o.length-1,s;i>=0;i--)(s=o[i])&&(n=(r?s(e,t,n):s(n))||n);return r&&n&&kp(e,t,n),n};class eo extends x{constructor(){super(...arguments),this.elementInternals=this.attachInternals(),this.headinglevel=2,this.expanded=!1,this.disabled=!1}}_r([a({attribute:"heading-level",mode:"fromView",converter:ae})],eo.prototype,"headinglevel",2),_r([a({mode:"boolean"})],eo.prototype,"expanded",2),_r([a({mode:"boolean"})],eo.prototype,"disabled",2),_r([f],eo.prototype,"expandbutton",2);var wp=Object.defineProperty,Sp=Object.getOwnPropertyDescriptor,jn=(o,e,t,r)=>{for(var n=r>1?void 0:r?Sp(e,t):e,i=o.length-1,s;i>=0;i--)(s=o[i])&&(n=(r?s(e,t,n):s(n))||n);return r&&n&&wp(e,t,n),n};class to extends eo{constructor(){super(...arguments),this.block=!1}}jn([a],to.prototype,"size",2),jn([a({attribute:"marker-position"})],to.prototype,"markerPosition",2),jn([a({mode:"boolean"})],to.prototype,"block",2),ct(to,nt);const Bp=":host([hidden]){display:none}";function w(o){return`${Bp}:host{display:${o}}`}const T="var(--colorNeutralForeground1)",qn="var(--colorNeutralForeground1Hover)",na="var(--colorNeutralForeground1Pressed)",Cp="var(--colorNeutralForeground1Selected)",Ne="var(--colorNeutralForeground2)",Tt="var(--colorNeutralForeground2Hover)",At="var(--colorNeutralForeground2Pressed)",Io="var(--colorNeutralForeground2Selected)",No="var(--colorNeutralForeground2BrandHover)",To="var(--colorNeutralForeground2BrandPressed)",ia="var(--colorNeutralForeground2BrandSelected)",Y="var(--colorNeutralForeground3)",sa="var(--colorNeutralForeground3Hover)",aa="var(--colorNeutralForeground3Pressed)",la="var(--colorNeutralForeground3Selected)",Pp="var(--colorNeutralForeground3BrandHover)",Ip="var(--colorNeutralForeground3BrandPressed)",Np="var(--colorNeutralForeground3BrandSelected)",Or="var(--colorNeutralForeground4)",Tp="var(--colorNeutralForeground5)",Ap="var(--colorNeutralForeground5Hover)",zp="var(--colorNeutralForeground5Pressed)",_p="var(--colorNeutralForeground5Selected)",z="var(--colorNeutralForegroundDisabled)",ca="var(--colorBrandForegroundLink)",da="var(--colorBrandForegroundLinkHover)",ha="var(--colorBrandForegroundLinkPressed)",Op="var(--colorBrandForegroundLinkSelected)",ua="var(--colorNeutralForeground2Link)",pa="var(--colorNeutralForeground2LinkHover)",ga="var(--colorNeutralForeground2LinkPressed)",Fp="var(--colorNeutralForeground2LinkSelected)",Ep="var(--colorCompoundBrandForeground1)",fa="var(--colorCompoundBrandForeground1Hover)",ba="var(--colorCompoundBrandForeground1Pressed)",Ke="var(--colorNeutralForegroundOnBrand)",dt="var(--colorNeutralForegroundInverted)",ma="var(--colorNeutralForegroundInvertedHover)",va="var(--colorNeutralForegroundInvertedPressed)",Dp="var(--colorNeutralForegroundInvertedSelected)",Lp="var(--colorNeutralForegroundInverted2)",Wn="var(--colorNeutralForegroundStaticInverted)",Mp="var(--colorNeutralForegroundInvertedLink)",Hp="var(--colorNeutralForegroundInvertedLinkHover)",Vp="var(--colorNeutralForegroundInvertedLinkPressed)",Rp="var(--colorNeutralForegroundInvertedLinkSelected)",jp="var(--colorNeutralForegroundInvertedDisabled)",Ao="var(--colorBrandForeground1)",$a="var(--colorBrandForeground2)",qp="var(--colorBrandForeground2Hover)",Wp="var(--colorBrandForeground2Pressed)",ya="var(--colorNeutralForeground1Static)",Gp="var(--colorBrandForegroundInverted)",Xp="var(--colorBrandForegroundInvertedHover)",Up="var(--colorBrandForegroundInvertedPressed)",Kp="var(--colorBrandForegroundOnLight)",Yp="var(--colorBrandForegroundOnLightHover)",Jp="var(--colorBrandForegroundOnLightPressed)",Qp="var(--colorBrandForegroundOnLightSelected)",P="var(--colorNeutralBackground1)",zo="var(--colorNeutralBackground1Hover)",Fr="var(--colorNeutralBackground1Pressed)",Gn="var(--colorNeutralBackground1Selected)",Zp="var(--colorNeutralBackground2)",eg="var(--colorNeutralBackground2Hover)",tg="var(--colorNeutralBackground2Pressed)",og="var(--colorNeutralBackground2Selected)",oo="var(--colorNeutralBackground3)",rg="var(--colorNeutralBackground3Hover)",ng="var(--colorNeutralBackground3Pressed)",ig="var(--colorNeutralBackground3Selected)",ka="var(--colorNeutralBackground4)",sg="var(--colorNeutralBackground4Hover)",ag="var(--colorNeutralBackground4Pressed)",lg="var(--colorNeutralBackground4Selected)",xa="var(--colorNeutralBackground5)",cg="var(--colorNeutralBackground5Hover)",dg="var(--colorNeutralBackground5Pressed)",hg="var(--colorNeutralBackground5Selected)",ro="var(--colorNeutralBackground6)",ug="var(--colorNeutralBackground7)",pg="var(--colorNeutralBackground7Hover)",gg="var(--colorNeutralBackground7Pressed)",fg="var(--colorNeutralBackground7Selected)",bg="var(--colorNeutralBackground8)",Xn="var(--colorNeutralBackgroundInverted)",mg="var(--colorNeutralBackgroundInvertedHover)",vg="var(--colorNeutralBackgroundInvertedPressed)",$g="var(--colorNeutralBackgroundInvertedSelected)",yg="var(--colorNeutralBackgroundStatic)",kg="var(--colorNeutralBackgroundAlpha)",xg="var(--colorNeutralBackgroundAlpha2)",Un="var(--colorSubtleBackground)",_o="var(--colorSubtleBackgroundHover)",no="var(--colorSubtleBackgroundPressed)",Kn="var(--colorSubtleBackgroundSelected)",wa="var(--colorSubtleBackgroundLightAlphaHover)",Sa="var(--colorSubtleBackgroundLightAlphaPressed)",Ba="var(--colorSubtleBackgroundLightAlphaSelected)",wg="var(--colorSubtleBackgroundInverted)",Sg="var(--colorSubtleBackgroundInvertedHover)",Bg="var(--colorSubtleBackgroundInvertedPressed)",Cg="var(--colorSubtleBackgroundInvertedSelected)",le="var(--colorTransparentBackground)",Oo="var(--colorTransparentBackgroundHover)",Fo="var(--colorTransparentBackgroundPressed)",Yn="var(--colorTransparentBackgroundSelected)",st="var(--colorNeutralBackgroundDisabled)",Pg="var(--colorNeutralBackgroundDisabled2)",Ig="var(--colorNeutralBackgroundInvertedDisabled)",Ng="var(--colorNeutralStencil1)",Tg="var(--colorNeutralStencil2)",Ag="var(--colorNeutralStencil1Alpha)",zg="var(--colorNeutralStencil2Alpha)",Er="var(--colorBackgroundOverlay)",_g="var(--colorScrollbarOverlay)",Jn="var(--colorBrandBackground)",Qn="var(--colorBrandBackgroundHover)",Zn="var(--colorBrandBackgroundPressed)",Ca="var(--colorBrandBackgroundSelected)",ht="var(--colorCompoundBrandBackground)",zt="var(--colorCompoundBrandBackgroundHover)",_t="var(--colorCompoundBrandBackgroundPressed)",ei="var(--colorBrandBackgroundStatic)",ti="var(--colorBrandBackground2)",Og="var(--colorBrandBackground2Hover)",Fg="var(--colorBrandBackground2Pressed)",Eg="var(--colorBrandBackground3Static)",Dg="var(--colorBrandBackground4Static)",Lg="var(--colorBrandBackgroundInverted)",Mg="var(--colorBrandBackgroundInvertedHover)",Hg="var(--colorBrandBackgroundInvertedPressed)",Vg="var(--colorBrandBackgroundInvertedSelected)",Rg="var(--colorNeutralCardBackground)",jg="var(--colorNeutralCardBackgroundHover)",qg="var(--colorNeutralCardBackgroundPressed)",Wg="var(--colorNeutralCardBackgroundSelected)",Gg="var(--colorNeutralCardBackgroundDisabled)",Ve="var(--colorNeutralStrokeAccessible)",ut="var(--colorNeutralStrokeAccessibleHover)",pt="var(--colorNeutralStrokeAccessiblePressed)",Xg="var(--colorNeutralStrokeAccessibleSelected)",Re="var(--colorNeutralStroke1)",gt="var(--colorNeutralStroke1Hover)",io="var(--colorNeutralStroke1Pressed)",Ug="var(--colorNeutralStroke1Selected)",so="var(--colorNeutralStroke2)",Pa="var(--colorNeutralStroke3)",Kg="var(--colorNeutralStroke4)",Yg="var(--colorNeutralStroke4Hover)",Jg="var(--colorNeutralStroke4Pressed)",Qg="var(--colorNeutralStroke4Selected)",Zg="var(--colorNeutralStrokeSubtle)",ef="var(--colorNeutralStrokeOnBrand)",Ia="var(--colorNeutralStrokeOnBrand2)",tf="var(--colorNeutralStrokeOnBrand2Hover)",of="var(--colorNeutralStrokeOnBrand2Pressed)",rf="var(--colorNeutralStrokeOnBrand2Selected)",oi="var(--colorBrandStroke1)",ri="var(--colorBrandStroke2)",nf="var(--colorBrandStroke2Hover)",sf="var(--colorBrandStroke2Pressed)",af="var(--colorBrandStroke2Contrast)",at="var(--colorCompoundBrandStroke)",Na="var(--colorCompoundBrandStrokeHover)",ni="var(--colorCompoundBrandStrokePressed)",be="var(--colorNeutralStrokeDisabled)",lf="var(--colorNeutralStrokeDisabled2)",cf="var(--colorNeutralStrokeInvertedDisabled)",X="var(--colorTransparentStroke)",Dr="var(--colorTransparentStrokeInteractive)",df="var(--colorTransparentStrokeDisabled)",hf="var(--colorNeutralStrokeAlpha)",uf="var(--colorNeutralStrokeAlpha2)",Eo="var(--colorStrokeFocus1)",ce="var(--colorStrokeFocus2)",Ta="var(--colorNeutralShadowAmbient)",Aa="var(--colorNeutralShadowKey)",pf="var(--colorNeutralShadowAmbientLighter)",gf="var(--colorNeutralShadowKeyLighter)",ff="var(--colorNeutralShadowAmbientDarker)",bf="var(--colorNeutralShadowKeyDarker)",mf="var(--colorBrandShadowAmbient)",vf="var(--colorBrandShadowKey)",ii="var(--colorPaletteRedBackground1)",za="var(--colorPaletteRedBackground2)",si="var(--colorPaletteRedBackground3)",$f="var(--colorPaletteRedBorderActive)",ai="var(--colorPaletteRedBorder1)",Lr="var(--colorPaletteRedBorder2)",Mr="var(--colorPaletteRedForeground1)",_a="var(--colorPaletteRedForeground2)",li="var(--colorPaletteRedForeground3)",yf="var(--colorPaletteRedForegroundInverted)",ci="var(--colorPaletteGreenBackground1)",kf="var(--colorPaletteGreenBackground2)",di="var(--colorPaletteGreenBackground3)",xf="var(--colorPaletteGreenBorderActive)",Oa="var(--colorPaletteGreenBorder1)",Fa="var(--colorPaletteGreenBorder2)",Ea="var(--colorPaletteGreenForeground1)",Da="var(--colorPaletteGreenForeground2)",La="var(--colorPaletteGreenForeground3)",wf="var(--colorPaletteGreenForegroundInverted)",hi="var(--colorPaletteDarkOrangeBackground1)",Sf="var(--colorPaletteDarkOrangeBackground2)",ui="var(--colorPaletteDarkOrangeBackground3)",Bf="var(--colorPaletteDarkOrangeBorderActive)",pi="var(--colorPaletteDarkOrangeBorder1)",Cf="var(--colorPaletteDarkOrangeBorder2)",Ma="var(--colorPaletteDarkOrangeForeground1)",Pf="var(--colorPaletteDarkOrangeForeground2)",gi="var(--colorPaletteDarkOrangeForeground3)",Ha="var(--colorPaletteYellowBackground1)",If="var(--colorPaletteYellowBackground2)",Va="var(--colorPaletteYellowBackground3)",Nf="var(--colorPaletteYellowBorderActive)",Ra="var(--colorPaletteYellowBorder1)",Tf="var(--colorPaletteYellowBorder2)",Af="var(--colorPaletteYellowForeground1)",Hr="var(--colorPaletteYellowForeground2)",zf="var(--colorPaletteYellowForeground3)",_f="var(--colorPaletteYellowForegroundInverted)",Of="var(--colorPaletteBerryBackground1)",Ff="var(--colorPaletteBerryBackground2)",Ef="var(--colorPaletteBerryBackground3)",Df="var(--colorPaletteBerryBorderActive)",Lf="var(--colorPaletteBerryBorder1)",Mf="var(--colorPaletteBerryBorder2)",Hf="var(--colorPaletteBerryForeground1)",Vf="var(--colorPaletteBerryForeground2)",Rf="var(--colorPaletteBerryForeground3)",jf="var(--colorPaletteMarigoldBackground1)",fi="var(--colorPaletteMarigoldBackground2)",qf="var(--colorPaletteMarigoldBackground3)",ja="var(--colorPaletteMarigoldBorderActive)",Wf="var(--colorPaletteMarigoldBorder1)",Gf="var(--colorPaletteMarigoldBorder2)",Xf="var(--colorPaletteMarigoldForeground1)",qa="var(--colorPaletteMarigoldForeground2)",Uf="var(--colorPaletteMarigoldForeground3)",Kf="var(--colorPaletteLightGreenBackground1)",Yf="var(--colorPaletteLightGreenBackground2)",Jf="var(--colorPaletteLightGreenBackground3)",Qf="var(--colorPaletteLightGreenBorderActive)",Zf="var(--colorPaletteLightGreenBorder1)",eb="var(--colorPaletteLightGreenBorder2)",tb="var(--colorPaletteLightGreenForeground1)",ob="var(--colorPaletteLightGreenForeground2)",rb="var(--colorPaletteLightGreenForeground3)",Wa="var(--colorPaletteAnchorBackground2)",nb="var(--colorPaletteAnchorBorderActive)",Ga="var(--colorPaletteAnchorForeground2)",Xa="var(--colorPaletteBeigeBackground2)",ib="var(--colorPaletteBeigeBorderActive)",Ua="var(--colorPaletteBeigeForeground2)",Ka="var(--colorPaletteBlueBackground2)",sb="var(--colorPaletteBlueBorderActive)",Ya="var(--colorPaletteBlueForeground2)",Ja="var(--colorPaletteBrassBackground2)",ab="var(--colorPaletteBrassBorderActive)",Qa="var(--colorPaletteBrassForeground2)",Za="var(--colorPaletteBrownBackground2)",lb="var(--colorPaletteBrownBorderActive)",el="var(--colorPaletteBrownForeground2)",tl="var(--colorPaletteCornflowerBackground2)",cb="var(--colorPaletteCornflowerBorderActive)",ol="var(--colorPaletteCornflowerForeground2)",rl="var(--colorPaletteCranberryBackground2)",db="var(--colorPaletteCranberryBorderActive)",nl="var(--colorPaletteCranberryForeground2)",il="var(--colorPaletteDarkGreenBackground2)",hb="var(--colorPaletteDarkGreenBorderActive)",sl="var(--colorPaletteDarkGreenForeground2)",al="var(--colorPaletteDarkRedBackground2)",ub="var(--colorPaletteDarkRedBorderActive)",ll="var(--colorPaletteDarkRedForeground2)",cl="var(--colorPaletteForestBackground2)",pb="var(--colorPaletteForestBorderActive)",dl="var(--colorPaletteForestForeground2)",hl="var(--colorPaletteGoldBackground2)",gb="var(--colorPaletteGoldBorderActive)",ul="var(--colorPaletteGoldForeground2)",pl="var(--colorPaletteGrapeBackground2)",fb="var(--colorPaletteGrapeBorderActive)",gl="var(--colorPaletteGrapeForeground2)",fl="var(--colorPaletteLavenderBackground2)",bb="var(--colorPaletteLavenderBorderActive)",bl="var(--colorPaletteLavenderForeground2)",ml="var(--colorPaletteLightTealBackground2)",mb="var(--colorPaletteLightTealBorderActive)",vl="var(--colorPaletteLightTealForeground2)",$l="var(--colorPaletteLilacBackground2)",vb="var(--colorPaletteLilacBorderActive)",yl="var(--colorPaletteLilacForeground2)",kl="var(--colorPaletteMagentaBackground2)",$b="var(--colorPaletteMagentaBorderActive)",xl="var(--colorPaletteMagentaForeground2)",wl="var(--colorPaletteMinkBackground2)",yb="var(--colorPaletteMinkBorderActive)",Sl="var(--colorPaletteMinkForeground2)",Bl="var(--colorPaletteNavyBackground2)",kb="var(--colorPaletteNavyBorderActive)",Cl="var(--colorPaletteNavyForeground2)",Pl="var(--colorPalettePeachBackground2)",xb="var(--colorPalettePeachBorderActive)",Il="var(--colorPalettePeachForeground2)",Nl="var(--colorPalettePinkBackground2)",wb="var(--colorPalettePinkBorderActive)",Tl="var(--colorPalettePinkForeground2)",Al="var(--colorPalettePlatinumBackground2)",Sb="var(--colorPalettePlatinumBorderActive)",zl="var(--colorPalettePlatinumForeground2)",_l="var(--colorPalettePlumBackground2)",Bb="var(--colorPalettePlumBorderActive)",Ol="var(--colorPalettePlumForeground2)",Fl="var(--colorPalettePumpkinBackground2)",Cb="var(--colorPalettePumpkinBorderActive)",El="var(--colorPalettePumpkinForeground2)",Dl="var(--colorPalettePurpleBackground2)",Pb="var(--colorPalettePurpleBorderActive)",Ll="var(--colorPalettePurpleForeground2)",Ml="var(--colorPaletteRoyalBlueBackground2)",Ib="var(--colorPaletteRoyalBlueBorderActive)",Hl="var(--colorPaletteRoyalBlueForeground2)",Vl="var(--colorPaletteSeafoamBackground2)",Nb="var(--colorPaletteSeafoamBorderActive)",Rl="var(--colorPaletteSeafoamForeground2)",jl="var(--colorPaletteSteelBackground2)",Tb="var(--colorPaletteSteelBorderActive)",ql="var(--colorPaletteSteelForeground2)",Wl="var(--colorPaletteTealBackground2)",Ab="var(--colorPaletteTealBorderActive)",Gl="var(--colorPaletteTealForeground2)",zb="var(--colorStatusSuccessBackground1)",_b="var(--colorStatusSuccessBackground2)",Ob="var(--colorStatusSuccessBackground3)",Fb="var(--colorStatusSuccessForeground1)",Eb="var(--colorStatusSuccessForeground2)",Db="var(--colorStatusSuccessForeground3)",Lb="var(--colorStatusSuccessForegroundInverted)",Mb="var(--colorStatusSuccessBorderActive)",Hb="var(--colorStatusSuccessBorder1)",Vb="var(--colorStatusSuccessBorder2)",Rb="var(--colorStatusWarningBackground1)",jb="var(--colorStatusWarningBackground2)",qb="var(--colorStatusWarningBackground3)",Wb="var(--colorStatusWarningForeground1)",Gb="var(--colorStatusWarningForeground2)",Xb="var(--colorStatusWarningForeground3)",Ub="var(--colorStatusWarningForegroundInverted)",Kb="var(--colorStatusWarningBorderActive)",Yb="var(--colorStatusWarningBorder1)",Jb="var(--colorStatusWarningBorder2)",Qb="var(--colorStatusDangerBackground1)",Zb="var(--colorStatusDangerBackground2)",em="var(--colorStatusDangerBackground3)",tm="var(--colorStatusDangerBackground3Hover)",om="var(--colorStatusDangerBackground3Pressed)",rm="var(--colorStatusDangerForeground1)",nm="var(--colorStatusDangerForeground2)",im="var(--colorStatusDangerForeground3)",sm="var(--colorStatusDangerForegroundInverted)",am="var(--colorStatusDangerBorderActive)",lm="var(--colorStatusDangerBorder1)",cm="var(--colorStatusDangerBorder2)",Do="var(--borderRadiusNone)",Te="var(--borderRadiusSmall)",B="var(--borderRadiusMedium)",bi="var(--borderRadiusLarge)",mi="var(--borderRadiusXLarge)",dm="var(--borderRadius2XLarge)",hm="var(--borderRadius3XLarge)",um="var(--borderRadius4XLarge)",pm="var(--borderRadius5XLarge)",gm="var(--borderRadius6XLarge)",de="var(--borderRadiusCircular)",v="var(--fontFamilyBase)",Xl="var(--fontFamilyMonospace)",Ul="var(--fontFamilyNumeric)",ao="var(--fontSizeBase100)",D="var(--fontSizeBase200)",_="var(--fontSizeBase300)",he="var(--fontSizeBase400)",Ot="var(--fontSizeBase500)",Lo="var(--fontSizeBase600)",vi="var(--fontSizeHero700)",$i="var(--fontSizeHero800)",yi="var(--fontSizeHero900)",ki="var(--fontSizeHero1000)",O="var(--fontWeightRegular)",Kl="var(--fontWeightMedium)",M="var(--fontWeightSemibold)",Mo="var(--fontWeightBold)",Ho="var(--lineHeightBase100)",j="var(--lineHeightBase200)",L="var(--lineHeightBase300)",me="var(--lineHeightBase400)",Vo="var(--lineHeightBase500)",xi="var(--lineHeightBase600)",wi="var(--lineHeightHero700)",Si="var(--lineHeightHero800)",Bi="var(--lineHeightHero900)",Ci="var(--lineHeightHero1000)",Vr="var(--shadow2)",Ro="var(--shadow4)",Yl="var(--shadow8)",Rr="var(--shadow16)",Jl="var(--shadow28)",Pi="var(--shadow64)",fm="var(--shadow2Brand)",bm="var(--shadow4Brand)",mm="var(--shadow8Brand)",vm="var(--shadow16Brand)",$m="var(--shadow28Brand)",ym="var(--shadow64Brand)",I="var(--strokeWidthThin)",ue="var(--strokeWidthThick)",Be="var(--strokeWidthThicker)",jr="var(--strokeWidthThickest)",km="var(--spacingHorizontalNone)",H="var(--spacingHorizontalXXS)",te="var(--spacingHorizontalXS)",ve="var(--spacingHorizontalSNudge)",Ae="var(--spacingHorizontalS)",Ye="var(--spacingHorizontalMNudge)",oe="var(--spacingHorizontalM)",Ql="var(--spacingHorizontalL)",Zl="var(--spacingHorizontalXL)",jo="var(--spacingHorizontalXXL)",xm="var(--spacingHorizontalXXXL)",qr="var(--spacingVerticalNone)",qo="var(--spacingVerticalXXS)",Ft="var(--spacingVerticalXS)",lo="var(--spacingVerticalSNudge)",re="var(--spacingVerticalS)",Wo="var(--spacingVerticalMNudge)",ec="var(--spacingVerticalM)",Wr="var(--spacingVerticalL)",wm="var(--spacingVerticalXL)",ft="var(--spacingVerticalXXL)",tc="var(--spacingVerticalXXXL)",Gr="var(--durationUltraFast)",Go="var(--durationFaster)",Sm="var(--durationFast)",Xo="var(--durationNormal)",Xr="var(--durationGentle)",oc="var(--durationSlow)",Ii="var(--durationSlower)",Uo="var(--durationUltraSlow)",rc="var(--curveAccelerateMax)",bt="var(--curveAccelerateMid)",nc="var(--curveAccelerateMin)",Ni="var(--curveDecelerateMax)",mt="var(--curveDecelerateMid)",ic="var(--curveDecelerateMin)",Ti="var(--curveEasyEaseMax)",Ko="var(--curveEasyEase)",Ur="var(--curveLinear)",Bm="var(--zIndexBackground)",Cm="var(--zIndexContent)",Pm="var(--zIndexOverlay)",Im="var(--zIndexPopup)",Nm="var(--zIndexMessages)",Tm="var(--zIndexFloating)",Am="var(--zIndexPriority)",zm="var(--zIndexDebug)",sc=g`${w("block")} :host{max-width:fit-content;contain:content}.heading{height:44px;display:grid;position:relative;padding-inline:${oe} ${Ye};border-radius:${B};font-family:${v};font-size:${_};font-weight:${O};line-height:${L};grid-template-columns:auto auto 1fr auto}.button{appearance:none;background:${le};border:none;box-sizing:border-box;color:${T};cursor:pointer;font:inherit;grid-column:auto/span 2;grid-row:1;height:44px;outline:none;padding:0;text-align:start}.button::before{content:'';position:absolute;inset:0px;cursor:pointer;border-radius:${Te}}:where(.default-marker-collapsed,.default-marker-expanded),::slotted(:is([slot='marker-collapsed'],[slot='marker-expanded'])){display:flex;align-items:center;justify-content:center;pointer-events:none;position:relative;height:100%;padding-inline-end:${Ae};grid-column:1/span 1;grid-row:1}.content{margin:0 ${oe}}::slotted([slot='start']){display:flex;justify-content:center;align-items:center;padding-right:${Ae};grid-column:2/span 1;grid-row:1}button:focus-visible::after{content:'';position:absolute;inset:0px;cursor:pointer;border-radius:${Te};outline:none;border:2px solid ${Eo};box-shadow:inset 0 0 0 1px ${ce}}:host([disabled]) .button{color:${z}}:host([disabled]) svg{filter:invert(89%) sepia(0%) saturate(569%) hue-rotate(155deg) brightness(88%) contrast(87%)}:host([expanded]) .content{display:block}:host([expanded]) .default-marker-collapsed,:host([expanded]) ::slotted([slot='marker-collapsed']),:host(:not([expanded])) :is(.default-marker-expanded,.content),:host(:not([expanded])) ::slotted([slot='marker-expanded']){display:none}:host([expanded]) ::slotted([slot='marker-expanded']),:host(:not([expanded])) ::slotted([slot='marker-collapsed']){display:flex}.heading{font-size:${_};line-height:${L}}:host([size='small']) .heading{font-size:${D};line-height:${j}}:host([size='large']) .heading{font-size:${he};line-height:${me}}:host([size='extra-large']) .heading{font-size:${Ot};line-height:${Vo}}:host([marker-position='end']) ::slotted([slot='start']){grid-column:1/span 1}:host([marker-position='end']) :is(.default-marker-collapsed,.default-marker-expanded){grid-column:4/span 1;padding-inline-start:${Ae};padding-inline-end:0}:host([marker-position='end']) .button{grid-column:2/span 3}:host([block]){max-width:100%}:host([marker-position='end']) .heading{grid-template-columns:auto auto 28px;padding-inline:${oe}}:host([marker-position='end']:has([slot='start'])) .heading{padding-inline:${Ye} ${oe}}:host([block][marker-position='end']) .heading{grid-template-columns:auto 1fr}:host([marker-position='end']) :is(.default-marker-collapsed,.default-marker-expanded){grid-column:5/span 1}`,_m=b.partial('<svg width=20 height=20 viewBox="0 0 20 20" fill=none xmlns=http://www.w3.org/2000/svg class=default-marker-collapsed aria-hidden=true><path d="M7.73271 4.20694C8.03263 3.92125 8.50737 3.93279 8.79306 4.23271L13.7944 9.48318C14.0703 9.77285 14.0703 10.2281 13.7944 10.5178L8.79306 15.7682C8.50737 16.0681 8.03263 16.0797 7.73271 15.794C7.43279 15.5083 7.42125 15.0336 7.70694 14.7336L12.2155 10.0005L7.70694 5.26729C7.42125 4.96737 7.43279 4.49264 7.73271 4.20694Z" fill=currentColor /></svg>'),Om=b.partial('<svg width=20 height=20 viewBox="0 0 20 20" fill=none xmlns=http://www.w3.org/2000/svg class=default-marker-expanded aria-hidden=true><path d="M15.794 7.73271C16.0797 8.03263 16.0681 8.50737 15.7682 8.79306L10.5178 13.7944C10.2281 14.0703 9.77285 14.0703 9.48318 13.7944L4.23271 8.79306C3.93279 8.50737 3.92125 8.03263 4.20694 7.73271C4.49264 7.43279 4.96737 7.42125 5.26729 7.70694L10.0005 12.2155L14.7336 7.70694C15.0336 7.42125 15.5083 7.43279 15.794 7.73271Z" fill=currentColor /></svg>');function Fm(o={}){return b`<div class=heading part=heading role=heading aria-level=${e=>e.headinglevel}><button class=button part=button id=control aria-controls=panel aria-expanded=${e=>e.expanded} ?disabled=${e=>e.disabled} ${A("expandbutton")}><slot name=heading></slot></button> ${He(o)}<slot name=marker-expanded>${fe(o.expandedIcon)}</slot><slot name=marker-collapsed>${fe(o.collapsedIcon)}</slot></div><div class=content part=content id=panel role=region aria-labelledby=control><slot></slot></div>`}const ac=Fm({collapsedIcon:_m,expandedIcon:Om}),lc=to.compose({name:Au,template:ac,styles:sc});lc.define(u.registry);const Kr={single:"single",multi:"multi"},Em=`${u.prefix}-accordion`;function cc(o,e){if("requestIdleCallback"in globalThis)return globalThis.requestIdleCallback(o,e);const t=Date.now();return setTimeout(()=>{o({didTimeout:e?.timeout?Date.now()-t>=e.timeout:!1,timeRemaining:()=>0})},e?.timeout??1)}function Yo(o,e,t){const r=t?.shallow??!1,n=t?.timeout??50,i=t?.idleCallback??!1,s=`${r?":scope > ":""}:not(:defined)`,c=h=>{if(o.querySelector(s)===null||h&&h.timeRemaining()<=0){i?cc(e,{timeout:n}):e();return}cc(c,{timeout:n})};c()}var Dm=Object.defineProperty,Lm=Object.getOwnPropertyDescriptor,dc=(o,e,t,r)=>{for(var n=r>1?void 0:r?Lm(e,t):e,i=o.length-1,s;i>=0;i--)(s=o[i])&&(n=(r?s(e,t,n):s(n))||n);return r&&n&&Dm(e,t,n),n};class Yr extends x{constructor(){super(...arguments),this._isAdjusting=!1,this.activeItemIndex=0,this.setItems=()=>{Yo(this,()=>{if(!this.slottedAccordionItems?.length)return;const e=Array.from(this.children);if(this.removeItemListeners(e),e.forEach(t=>m.getNotifier(t).subscribe(this,"disabled")),this.accordionItems=e.filter(t=>!t.hasAttribute("disabled")),this.accordionItems.forEach((t,r)=>{t.addEventListener("click",this.expandedChangedHandler),m.getNotifier(t).subscribe(this,"expanded")}),this.isSingleExpandMode()){const t=this.findExpandedItem();this.setSingleExpandMode(t)}})},this.removeItemListeners=e=>{e.forEach((t,r)=>{m.getNotifier(t).unsubscribe(this,"disabled"),m.getNotifier(t).unsubscribe(this,"expanded"),t.removeEventListener("click",this.expandedChangedHandler)})},this.expandedChangedHandler=e=>{const t=e.target;Cn(t)&&(this.isSingleExpandMode()?this.setSingleExpandMode(t):(t.expanded=!t.expanded,this.activeItemIndex=this.accordionItems.indexOf(t)),this.$emit("change"))}}expandmodeChanged(e,t){if(!this.$fastController.isConnected)return;const r=this.findExpandedItem();if(r){if(t===Kr.single){this.setSingleExpandMode(r);return}r?.expandbutton?.removeAttribute("aria-disabled")}}slottedAccordionItemsChanged(e,t){this.setItems()}handleChange(e,t){t==="disabled"?this.setItems():t==="expanded"&&e.expanded&&this.isSingleExpandMode()&&!this._isAdjusting&&(this._isAdjusting=!0,this.setSingleExpandMode(e),this._isAdjusting=!1)}findExpandedItem(){return!this.accordionItems||this.accordionItems?.length===0?null:this.accordionItems.find(e=>Cn(e)&&e.expanded)??this.accordionItems[0]}isSingleExpandMode(){return this.expandmode===Kr.single}setSingleExpandMode(e){if(this.accordionItems.length===0)return;const t=Array.from(this.accordionItems);this.activeItemIndex=t.indexOf(e),t.forEach((r,n)=>{Cn(r)&&(this.activeItemIndex===n?(r.expanded=!0,r.expandbutton?.setAttribute("aria-disabled","true")):(r.expanded=!1,r.hasAttribute("disabled")||r.expandbutton?.removeAttribute("aria-disabled")))})}connectedCallback(){super.connectedCallback(),this.expandmode=this.expandmode||Kr.multi,this.setItems()}}dc([a({attribute:"expand-mode"})],Yr.prototype,"expandmode",2),dc([f],Yr.prototype,"slottedAccordionItems",2);const hc=g`${w("flex")} :host{flex-direction:column;width:100%;contain:content}`;function Mm(){return b`<template><slot ${K({property:"slottedAccordionItems",filter:Bo()})}></slot></template>`}const uc=Mm(),pc=Yr.compose({name:Em,template:uc,styles:hc});pc.define(u.registry);const Jo={primary:"primary",outline:"outline",subtle:"subtle",transparent:"transparent"},Qo={circular:"circular",rounded:"rounded",square:"square"},Zo={small:"small",medium:"medium",large:"large"},er={submit:"submit",reset:"reset",button:"button"},Hm={blank:"_blank",self:"_self",parent:"_parent",top:"_top"},Vm=`${u.prefix}-button`,gc=Jo,fc=Qo,bc=Zo,mc={_self:"_self",_blank:"_blank",_parent:"_parent",_top:"_top"},Rm={download:"download",href:"href",hreflang:"hreflang",ping:"ping",referrerpolicy:"referrerpolicy",rel:"rel",target:"target",type:"type"},jm=`${u.prefix}-anchor-button`,Jr=CSS.supports("anchor-name: --a"),qm="anchor"in HTMLElement.prototype,vc=CSS.supports("selector(:state(g))"),$c=new Map;function N(o){return $c.get(o)??$c.set(o,vc?`:state(${o})`:`[state--${o}]`).get(o)}function $(o,e,t){if(!(!e||!o)){if(!vc){o.shadowRoot.host.toggleAttribute(`state--${e}`,t);return}if(t??!o.states.has(e)){o.states.add(e);return}o.states.delete(e)}}const Ai=new WeakMap;function yc(o,e){if(!o||!e)return!1;if(Ai.has(o))return Ai.get(o).has(e);const t=new Set(Object.values(o));return Ai.set(o,t),t.has(e)}function Et(o,e="",t="",r,n=""){$(o,`${n}${e}`,!1),(!r||yc(r,t))&&$(o,`${n}${t}`,!0)}var Wm=Object.defineProperty,Gm=Object.getOwnPropertyDescriptor,vt=(o,e,t,r)=>{for(var n=r>1?void 0:r?Gm(e,t):e,i=o.length-1,s;i>=0;i--)(s=o[i])&&(n=(r?s(e,t,n):s(n))||n);return r&&n&&Wm(e,t,n),n};class je extends x{constructor(){super(),this.isMac=navigator.userAgent.includes("Mac"),this.elementInternals=this.attachInternals(),this.internalProxyAnchor=this.createProxyElement(),this.elementInternals.role="link"}connectedCallback(){super.connectedCallback(),this.tabIndex=Number(this.getAttribute("tabindex")??0)<0?-1:0,m.getNotifier(this).subscribe(this),Object.keys(this.$fastController.definition.attributeLookup).forEach(e=>{this.handleChange(this,e)}),this.append(this.internalProxyAnchor)}disconnectedCallback(){super.disconnectedCallback(),m.getNotifier(this).unsubscribe(this)}handleChange(e,t){if(t in Rm){const r=this.$fastController.definition.attributeLookup[t]?.attribute;r&&this.handleProxyAttributeChange(r,this[t])}}clickHandler(e){if(e.composedPath()[0]===this.internalProxyAnchor)return e.stopImmediatePropagation(),!0;if(this.href){const t=e.ctrlKey||e.metaKey;this.handleNavigation(t)}return!0}keydownHandler(e){if(this.href&&e.key==="Enter"){const t=this.isMac&&e.metaKey||e.ctrlKey;this.handleNavigation(t);return}return!0}handleNavigation(e){e?window.open(this.href,"_blank"):this.internalProxyAnchor.click()}handleProxyAttributeChange(e,t){t?this.internalProxyAnchor.setAttribute(e,t):this.internalProxyAnchor.removeAttribute(e)}createProxyElement(){const e=this.internalProxyAnchor??document.createElement("a");return e.inert=!0,e}}vt([a],je.prototype,"download",2),vt([a],je.prototype,"href",2),vt([a],je.prototype,"hreflang",2),vt([a],je.prototype,"ping",2),vt([a],je.prototype,"referrerpolicy",2),vt([a],je.prototype,"rel",2),vt([a],je.prototype,"target",2),vt([a],je.prototype,"type",2);var Xm=Object.defineProperty,Um=Object.getOwnPropertyDescriptor,Qr=(o,e,t,r)=>{for(var n=r>1?void 0:r?Um(e,t):e,i=o.length-1,s;i>=0;i--)(s=o[i])&&(n=(r?s(e,t,n):s(n))||n);return r&&n&&Xm(e,t,n),n};class Dt extends je{constructor(){super(...arguments),this.iconOnly=!1}appearanceChanged(e,t){Et(this.elementInternals,e,t,gc)}shapeChanged(e,t){Et(this.elementInternals,e,t,fc)}sizeChanged(e,t){Et(this.elementInternals,e,t,bc)}iconOnlyChanged(e,t){$(this.elementInternals,"icon",!!t)}}Qr([a],Dt.prototype,"appearance",2),Qr([a],Dt.prototype,"shape",2),Qr([a],Dt.prototype,"size",2),Qr([a({attribute:"icon-only",mode:"boolean"})],Dt.prototype,"iconOnly",2),ct(Dt,nt);const kc=g`${w("inline-flex")} :host{--icon-spacing:${ve};position:relative;contain:layout style;vertical-align:middle;align-items:center;box-sizing:border-box;justify-content:center;text-align:center;text-decoration-line:none;margin:0;min-height:32px;outline-style:none;background-color:${P};color:${T};border:${I} solid ${Re};padding:0 ${oe};min-width:96px;border-radius:${B};font-size:${_};font-family:${v};font-weight:${M};line-height:${L};transition-duration:${Go};transition-property:background,border,color;transition-timing-function:${Ko};cursor:pointer;user-select:none}.content{display:inherit}:host(:hover){background-color:${zo};color:${qn};border-color:${gt}}:host(:hover:active){background-color:${Fr};border-color:${io};color:${na};outline-style:none}:host(:focus-visible){border-color:${X};outline:${ue} solid ${X};box-shadow:${Ro},0 0 0 2px ${ce}}@media screen and (prefers-reduced-motion:reduce){:host{transition-duration:0.01ms}}::slotted(svg){font-size:20px;height:20px;width:20px;fill:currentColor}::slotted([slot='start']){margin-inline-end:var(--icon-spacing)}::slotted([slot='end']),[slot='end']{flex-shrink:0;margin-inline-start:var(--icon-spacing)}:host([icon-only]){min-width:32px;max-width:32px}:host([size='small']){--icon-spacing:${te};min-height:24px;min-width:64px;padding:0 ${Ae};border-radius:${Te};font-size:${D};line-height:${j};font-weight:${O}}:host([size='small'][icon-only]){min-width:24px;max-width:24px}:host([size='large']){min-height:40px;border-radius:${bi};padding:0 ${Ql};font-size:${he};line-height:${me}}:host([size='large'][icon-only]){min-width:40px;max-width:40px}:host([size='large']) ::slotted(svg){font-size:24px;height:24px;width:24px}:host(:is([shape='circular'],[shape='circular']:focus-visible)){border-radius:${de}}:host(:is([shape='square'],[shape='square']:focus-visible)){border-radius:${Do}}:host([appearance='primary']){background-color:${Jn};color:${Ke};border-color:transparent}:host([appearance='primary']:hover){background-color:${Qn}}:host([appearance='primary']:is(:hover,:hover:active):not(:focus-visible)){border-color:transparent}:host([appearance='primary']:is(:hover,:hover:active)){color:${Ke}}:host([appearance='primary']:hover:active){background-color:${Zn}}:host([appearance='primary']:focus-visible){border-color:${Ke};box-shadow:${Vr},0 0 0 2px ${ce}}:host([appearance='outline']){background-color:${le}}:host([appearance='outline']:hover){background-color:${Oo}}:host([appearance='outline']:hover:active){background-color:${Fo}}:host([appearance='subtle']){background-color:${Un};color:${Ne};border-color:transparent}:host([appearance='subtle']:hover){background-color:${_o};color:${Tt};border-color:transparent}:host([appearance='subtle']:hover:active){background-color:${no};color:${At};border-color:transparent}:host([appearance='subtle']:hover) ::slotted(svg){fill:${No}}:host([appearance='subtle']:hover:active) ::slotted(svg){fill:${To}}:host([appearance='transparent']){background-color:${le};color:${Ne}}:host([appearance='transparent']:hover){background-color:${Oo};color:${No}}:host([appearance='transparent']:hover:active){background-color:${Fo};color:${To}}:host(:is([appearance='transparent'],[appearance='transparent']:is(:hover,:active))){border-color:transparent}`,co=g`${kc} :host(:is(:disabled,[disabled-focusable],[appearance]:disabled,[appearance][disabled-focusable])),:host(:is(:disabled,[disabled-focusable],[appearance]:disabled,[appearance][disabled-focusable]):hover),:host(:is(:disabled,[disabled-focusable],[appearance]:disabled,[appearance][disabled-focusable]):hover:active){background-color:${st};border-color:${be};color:${z};cursor:not-allowed}:host([appearance='primary']:is(:disabled,[disabled-focusable])),:host([appearance='primary']:is(:disabled,[disabled-focusable]):is(:hover,:hover:active)){border-color:transparent}:host([appearance='outline']:is(:disabled,[disabled-focusable])),:host([appearance='outline']:is(:disabled,[disabled-focusable]):is(:hover,:hover:active)){background-color:${le}}:host([appearance='subtle']:is(:disabled,[disabled-focusable])),:host([appearance='subtle']:is(:disabled,[disabled-focusable]):is(:hover,:hover:active)){background-color:${le};border-color:transparent}:host([appearance='transparent']:is(:disabled,[disabled-focusable])),:host([appearance='transparent']:is(:disabled,[disabled-focusable]):is(:hover,:hover:active)){border-color:transparent;background-color:${le}}@media (forced-colors:active){:host{background-color:ButtonFace;color:ButtonText}:host(:is(:hover,:focus-visible)){border-color:Highlight !important}:host([appearance='primary']:not(:is(:hover,:focus-visible))){background-color:Highlight;color:HighlightText;forced-color-adjust:none}:host(:is(:disabled,[disabled-focusable],[appearance]:disabled,[appearance][disabled-focusable])){background-color:ButtonFace;color:GrayText;border-color:ButtonText}}`,Km=g`${kc} ::slotted(a){position:absolute;inset:0}@media (forced-colors:active){:host{border-color:LinkText;color:LinkText}}`;function Ym(o={}){return b`<template tabindex=0 @click=${(e,t)=>e.clickHandler(t.event)} @keydown=${(e,t)=>e.keydownHandler(t.event)}>${He(o)} <span class=content part=content><slot></slot></span>${it(o)}</template>`}const xc=Ym(),wc=Dt.compose({name:jm,template:xc,styles:Km});wc.define(u.registry);const Jm={active:"active",inactive:"inactive"},Qm={circular:"circular",square:"square"},Zm={ring:"ring",shadow:"shadow",ringShadow:"ring-shadow"},zi={darkRed:"dark-red",cranberry:"cranberry",red:"red",pumpkin:"pumpkin",peach:"peach",marigold:"marigold",gold:"gold",brass:"brass",brown:"brown",forest:"forest",seafoam:"seafoam",darkGreen:"dark-green",lightTeal:"light-teal",teal:"teal",steel:"steel",blue:"blue",royalBlue:"royal-blue",cornflower:"cornflower",navy:"navy",lavender:"lavender",purple:"purple",grape:"grape",lilac:"lilac",pink:"pink",magenta:"magenta",plum:"plum",beige:"beige",mink:"mink",platinum:"platinum",anchor:"anchor"},_i={neutral:"neutral",brand:"brand",colorful:"colorful",...zi},ev={_16:16,_20:20,_24:24,_28:28,_32:32,_36:36,_40:40,_48:48,_56:56,_64:64,_72:72,_96:96,_120:120,_128:128},tv=`${u.prefix}-avatar`,ov=/[\(\[\{][^\)\]\}]*[\)\]\}]/g,rv=/[\0-\u001F\!-/:-@\[-`\{-\u00BF\u0250-\u036F\uD800-\uFFFF]/g,nv=/^\d+[\d\s]*(:?ext|x|)\s*\d+$/i,iv=/\s+/g,sv=/[\u0600-\u06FF\u0750-\u077F\u08A0-\u08FF\u1100-\u11FF\u3130-\u318F\uA960-\uA97F\uAC00-\uD7AF\uD7B0-\uD7FF\u3040-\u309F\u30A0-\u30FF\u3400-\u4DBF\u4E00-\u9FFF\uF900-\uFAFF]|[\uD840-\uD869][\uDC00-\uDED6]/;function av(o,e,t){let r="";const n=o.split(" ");return n.length!==0&&(r+=n[0].charAt(0).toUpperCase()),t||(n.length===2?r+=n[1].charAt(0).toUpperCase():n.length===3&&(r+=n[2].charAt(0).toUpperCase())),e&&r.length>1?r.charAt(1)+r.charAt(0):r}function lv(o){return o=o.replace(ov,""),o=o.replace(rv,""),o=o.replace(iv," "),o=o.trim(),o}function Sc(o,e,t){return!o||(o=lv(o),sv.test(o)||!t?.allowPhoneInitials&&nv.test(o))?"":av(o,e,t?.firstInitialOnly)}var cv=Object.defineProperty,dv=Object.getOwnPropertyDescriptor,tr=(o,e,t,r)=>{for(var n=r>1?void 0:r?dv(e,t):e,i=o.length-1,s;i>=0;i--)(s=o[i])&&(n=(r?s(e,t,n):s(n))||n);return r&&n&&cv(e,t,n),n};class Lt extends x{constructor(){super(),this.slottedDefaults=[],this.elementInternals=this.attachInternals(),this.elementInternals.role="img"}defaultSlotChanged(){if(!CSS.supports("selector(:has-slotted)")){const e=this.defaultSlot.assignedElements();this.defaultSlot.classList.toggle("has-slotted",e.length>0)}E.enqueue(()=>{this.cleanupSlottedContent()})}monogramChanged(){this.updateMonogram()}slottedDefaultsChanged(){this.defaultSlot&&this.cleanupSlottedContent()}nameChanged(){this.updateMonogram()}initialsChanged(){this.updateMonogram()}generateInitials(){return this.initials||Sc(this.name,window.getComputedStyle(this).direction==="rtl")}updateMonogram(){this.monogram&&(this.monogram.textContent=this.generateInitials()??"")}cleanupSlottedContent(){this.normalize(),CSS.supports("selector(:has-slotted)")||this.defaultSlot.classList.toggle("has-slotted",!!this.slottedDefaults.length),this.innerText.trim()||this.slottedDefaults.forEach(e=>{e.nodeType===Node.TEXT_NODE&&e.remove()})}}tr([f],Lt.prototype,"defaultSlot",2),tr([f],Lt.prototype,"monogram",2),tr([f],Lt.prototype,"slottedDefaults",2),tr([a],Lt.prototype,"name",2),tr([a],Lt.prototype,"initials",2);var hv=Object.defineProperty,uv=Object.getOwnPropertyDescriptor,ho=(o,e,t,r)=>{for(var n=r>1?void 0:r?uv(e,t):e,i=o.length-1,s;i>=0;i--)(s=o[i])&&(n=(r?s(e,t,n):s(n))||n);return r&&n&&hv(e,t,n),n};const $t=class is extends Lt{handleChange(e,t){switch(t){case"color":case"colorId":this.generateColor();break}}generateInitials(){if(!this.name&&!this.initials)return;const e=this.size??32;return this.initials||Sc(this.name,window.getComputedStyle(this).direction==="rtl",{firstInitialOnly:e<=16})}generateColor(){const e=this.color===_i.colorful;this.currentColor,this.currentColor=e&&this.colorId?this.colorId:e?is.colors[pv(this.name??"")%is.colors.length]:this.color??_i.neutral,this.setAttribute("data-color",this.currentColor)}connectedCallback(){super.connectedCallback(),m.getNotifier(this).subscribe(this),this.generateColor()}disconnectedCallback(){super.disconnectedCallback(),m.getNotifier(this).unsubscribe(this)}};$t.colors=Object.values(zi),ho([a],$t.prototype,"active",2),ho([a],$t.prototype,"shape",2),ho([a],$t.prototype,"appearance",2),ho([a({converter:ae})],$t.prototype,"size",2),ho([a],$t.prototype,"color",2),ho([a({attribute:"color-id"})],$t.prototype,"colorId",2);let Bc=$t;const pv=o=>{let e=0;for(let t=o.length-1;t>=0;t--){const r=o.charCodeAt(t),n=t%8;e^=(r<<n)+(r>>8-n)}return e},yt={fastOutSlowInMax:Ni,fastOutSlowInMid:mt,fastOutSlowInMin:ic,slowOutFastInMax:rc,slowOutFastInMid:bt,slowOutFastInMin:nc,fastEase:Ti,normalEase:Ko,nullEasing:Ur},Cc=g`${w("inline-grid")} :host{position:relative;place-items:center;place-content:center;grid-template:1fr/1fr;flex-shrink:0;width:32px;height:32px;font-family:${v};font-weight:${M};font-size:${_};border-radius:${de};color:${Y};background-color:${ro};contain:layout style}.monogram,.default-icon{grid-area:1/1/-1/-1}.monogram:empty{display:none}.default-slot:is(.has-slotted,:has-slotted)~.default-icon,.default-slot:is(.has-slotted,:has-slotted)~.monogram,:host(:is([name]):not([name=''])) .default-icon,:host(:is([initials]):not([initials=''])) .default-icon{display:none}.default-icon,::slotted(svg){width:20px;height:20px;font-size:20px}::slotted(img){box-sizing:border-box;width:100%;height:100%;border-radius:${de}}::slotted([slot='badge']){position:absolute;bottom:0;right:0;box-shadow:0 0 0 ${I} ${P}}:host([size='64']) ::slotted([slot='badge']),:host([size='72']) ::slotted([slot='badge']),:host([size='96']) ::slotted([slot='badge']),:host([size='120']) ::slotted([slot='badge']),:host([size='128']) ::slotted([slot='badge']){box-shadow:0 0 0 ${ue} ${P}}:host([size='16']),:host([size='20']),:host([size='24']){font-size:${ao};font-weight:${O}}:host([size='16']){width:16px;height:16px}:host([size='20']){width:20px;height:20px}:host([size='24']){width:24px;height:24px}:host([size='16']) .default-icon,:host([size='16']) ::slotted(svg){width:12px;height:12px;font-size:12px}:host([size='20']) .default-icon,:host([size='24']) .default-icon,:host([size='20']) ::slotted(svg),:host([size='24']) ::slotted(svg){width:16px;height:16px;font-size:16px}:host([size='28']){width:28px;height:28px;font-size:${D}}:host([size='36']){width:36px;height:36px}:host([size='40']){width:40px;height:40px}:host([size='48']),:host([size='56']){font-size:${he}}:host([size='48']){width:48px;height:48px}:host([size='48']) .default-icon,:host([size='48']) ::slotted(svg){width:24px;height:24px;font-size:24px}:host([size='56']){width:56px;height:56px}:host([size='56']) .default-icon,:host([size='56']) ::slotted(svg){width:28px;height:28px;font-size:28px}:host([size='64']),:host([size='72']),:host([size='96']){font-size:${Ot}}:host([size='64']) .default-icon,:host([size='72']) .default-icon,:host([size='64']) ::slotted(svg),:host([size='72']) ::slotted(svg){width:32px;height:32px;font-size:32px}:host([size='64']){width:64px;height:64px}:host([size='72']){width:72px;height:72px}:host([size='96']){width:96px;height:96px}:host([size='96']) .default-icon,:host([size='120']) .default-icon,:host([size='128']) .default-icon,:host([size='96']) ::slotted(svg),:host([size='120']) ::slotted(svg),:host([size='128']) ::slotted(svg){width:48px;height:48px;font-size:48px}:host([size='120']),:host([size='128']){font-size:${Lo}}:host([size='120']){width:120px;height:120px}:host([size='128']){width:128px;height:128px}:host([shape='square']){border-radius:${B}}:host([shape='square'][size='20']),:host([shape='square'][size='24']){border-radius:${Te}}:host([shape='square'][size='56']),:host([shape='square'][size='64']),:host([shape='square'][size='72']){border-radius:${bi}}:host([shape='square'][size='96']),:host([shape='square'][size='120']),:host([shape='square'][size='128']){border-radius:${mi}}:host([data-color='brand']){color:${Wn};background-color:${ei}}:host([data-color='dark-red']){color:${ll};background-color:${al}}:host([data-color='cranberry']){color:${nl};background-color:${rl}}:host([data-color='red']){color:${_a};background-color:${za}}:host([data-color='pumpkin']){color:${El};background-color:${Fl}}:host([data-color='peach']){color:${Il};background-color:${Pl}}:host([data-color='marigold']){color:${qa};background-color:${fi}}:host([data-color='gold']){color:${ul};background-color:${hl}}:host([data-color='brass']){color:${Qa};background-color:${Ja}}:host([data-color='brown']){color:${el};background-color:${Za}}:host([data-color='forest']){color:${dl};background-color:${cl}}:host([data-color='seafoam']){color:${Rl};background-color:${Vl}}:host([data-color='dark-green']){color:${sl};background-color:${il}}:host([data-color='light-teal']){color:${vl};background-color:${ml}}:host([data-color='teal']){color:${Gl};background-color:${Wl}}:host([data-color='steel']){color:${ql};background-color:${jl}}:host([data-color='blue']){color:${Ya};background-color:${Ka}}:host([data-color='royal-blue']){color:${Hl};background-color:${Ml}}:host([data-color='cornflower']){color:${ol};background-color:${tl}}:host([data-color='navy']){color:${Cl};background-color:${Bl}}:host([data-color='lavender']){color:${bl};background-color:${fl}}:host([data-color='purple']){color:${Ll};background-color:${Dl}}:host([data-color='grape']){color:${gl};background-color:${pl}}:host([data-color='lilac']){color:${yl};background-color:${$l}}:host([data-color='pink']){color:${Tl};background-color:${Nl}}:host([data-color='magenta']){color:${xl};background-color:${kl}}:host([data-color='plum']){color:${Ol};background-color:${_l}}:host([data-color='beige']){color:${Ua};background-color:${Xa}}:host([data-color='mink']){color:${Sl};background-color:${wl}}:host([data-color='platinum']){color:${zl};background-color:${Al}}:host([data-color='anchor']){color:${Ga};background-color:${Wa}}:host([active]){transform:perspective(1px);transition-property:transform,opacity;transition-duration:${Uo},${Go};transition-delay:${yt.fastEase},${yt.nullEasing}}:host([active])::before{content:'';position:absolute;top:0;left:0;bottom:0;right:0;border-radius:inherit;transition-property:margin,opacity;transition-duration:${Uo},${Ii};transition-delay:${yt.fastEase},${yt.nullEasing}}:host([active])::before{box-shadow:${Yl};border-style:solid;border-color:${ei}}:host([active][appearance='shadow'])::before{border-style:none;border-color:none}:host([active]:not([appearance='shadow']))::before{margin:calc(-2 * ${ue});border-width:${ue}}:host([size='56'][active]:not([appearance='shadow']))::before,:host([size='64'][active]:not([appearance='shadow']))::before{margin:calc(-2 * ${Be});border-width:${Be}}:host([size='72'][active]:not([appearance='shadow']))::before,:host([size='96'][active]:not([appearance='shadow']))::before,:host([size='120'][active]:not([appearance='shadow']))::before,:host([size='128'][active]:not([appearance='shadow']))::before{margin:calc(-2 * ${jr});border-width:${jr}}:host([size='20'][active][appearance])::before,:host([size='24'][active][appearance])::before,:host([size='28'][active][appearance])::before{box-shadow:${Ro}}:host([size='56'][active][appearance])::before,:host([size='64'][active][appearance])::before{box-shadow:${Rr}}:host([size='72'][active][appearance])::before,:host([size='96'][active][appearance])::before,:host([size='120'][active][appearance])::before,:host([size='128'][active][appearance])::before{box-shadow:${Jl}}:host([active][appearance='ring'])::before{box-shadow:none}:host([active='inactive']){opacity:0.8;transform:scale(0.875);transition-property:transform,opacity;transition-duration:${Uo},${Go};transition-delay:${yt.fastOutSlowInMin},${yt.nullEasing}}:host([active='inactive'])::before{margin:0;opacity:0;transition-property:margin,opacity;transition-duration:${Uo},${Ii};transition-delay:${yt.fastOutSlowInMin},${yt.nullEasing}}@media screen and (prefers-reduced-motion:reduce){:host([active]){transition-duration:0.01ms}:host([active])::before{transition-duration:0.01ms;transition-delay:0.01ms}}`,gv=b`<svg width=1em height=1em viewBox="0 0 20 20" class=default-icon fill=currentcolor aria-hidden=true><path d="M10 2a4 4 0 100 8 4 4 0 000-8zM7 6a3 3 0 116 0 3 3 0 01-6 0zm-2 5a2 2 0 00-2 2c0 1.7.83 2.97 2.13 3.8A9.14 9.14 0 0010 18c1.85 0 3.58-.39 4.87-1.2A4.35 4.35 0 0017 13a2 2 0 00-2-2H5zm-1 2a1 1 0 011-1h10a1 1 0 011 1c0 1.3-.62 2.28-1.67 2.95A8.16 8.16 0 0110 17a8.16 8.16 0 01-4.33-1.05A3.36 3.36 0 014 13z"></path></svg>`;function fv(){return b`<slot class=default-slot ${K("slottedDefaults")} ${A("defaultSlot")}></slot><span class=monogram ${A("monogram")}>${o=>o.initials}</span> ${gv}<slot name=badge></slot>`}const Pc=fv(),Ic=Bc.compose({name:tv,template:Pc,styles:Cc});Ic.define(u.registry);const Nc={filled:"filled",ghost:"ghost",outline:"outline",tint:"tint"},Tc={brand:"brand",danger:"danger",important:"important",informative:"informative",severe:"severe",subtle:"subtle",success:"success",warning:"warning"},bv={circular:"circular",rounded:"rounded",square:"square"},mv={tiny:"tiny",extraSmall:"extra-small",small:"small",medium:"medium",large:"large",extraLarge:"extra-large"},vv=`${u.prefix}-badge`;var $v=Object.defineProperty,yv=Object.getOwnPropertyDescriptor,Zr=(o,e,t,r)=>{for(var n=r>1?void 0:r?yv(e,t):e,i=o.length-1,s;i>=0;i--)(s=o[i])&&(n=(r?s(e,t,n):s(n))||n);return r&&n&&$v(e,t,n),n};class Mt extends x{constructor(){super(...arguments),this.appearance=Nc.filled,this.color=Tc.brand}}Zr([a],Mt.prototype,"appearance",2),Zr([a],Mt.prototype,"color",2),Zr([a],Mt.prototype,"shape",2),Zr([a],Mt.prototype,"size",2),ct(Mt,nt);const Ac=g.partial`${w("inline-flex")} :host{position:relative;box-sizing:border-box;align-items:center;justify-content:center;font-family:${v};font-weight:${M};font-size:${D};line-height:${j};min-width:20px;height:20px;padding-inline:calc(${te} + ${H});border-radius:${de};border-color:${X};background-color:${Jn};color:${Ke};contain:content}::slotted(svg){font-size:12px}:host(:not([appearance='ghost']))::after{position:absolute;content:'';top:0;left:0;bottom:0;right:0;border-style:solid;border-width:${I};border-color:inherit;border-radius:inherit}`,zc=g.partial`:host([size='tiny']){width:6px;height:6px;font-size:4px;line-height:4px;padding-inline:0;min-width:unset}:host([size='tiny']) ::slotted(svg){font-size:6px}:host([size='extra-small']){width:10px;height:10px;font-size:6px;line-height:6px;padding-inline:0;min-width:unset}:host([size='extra-small']) ::slotted(svg){font-size:10px}:host([size='small']){min-width:16px;height:16px;font-size:${ao};line-height:${Ho};padding-inline:calc(${H} + ${H})}:host([size='small']) ::slotted(svg){font-size:12px}:host([size='large']){min-width:24px;height:24px;font-size:${D};line-height:${j};padding-inline:calc(${te} + ${H})}:host([size='large']) ::slotted(svg){font-size:16px}:host([size='extra-large']){min-width:32px;height:32px;font-size:${D};line-height:${j};padding-inline:calc(${ve} + ${H})}:host([size='extra-large']) ::slotted(svg){font-size:20px}`,_c=g.partial`:host([color='danger']){background-color:${si};color:${Ke}}:host([color='important']){background-color:${T};color:${P}}:host([color='informative']){background-color:${xa};color:${Y}}:host([color='severe']){background-color:${ui};color:${Ke}}:host([color='subtle']){background-color:${P};color:${T}}:host([color='success']){background-color:${di};color:${Ke}}:host([color='warning']){background-color:${Va};color:${ya}}`,Oc=g.partial`:host([appearance='ghost']){color:${Ao};background-color:initial}:host([appearance='ghost'][color='danger']){color:${li}}:host([appearance='ghost'][color='important']){color:${T}}:host([appearance='ghost'][color='informative']){color:${Y}}:host([appearance='ghost'][color='severe']){color:${gi}}:host([appearance='ghost'][color='subtle']){color:${dt}}:host([appearance='ghost'][color='success']){color:${La}}:host([appearance='ghost'][color='warning']){color:${Hr}}`,kv=g.partial`:host([appearance='outline']){border-color:currentColor;color:${Ao};background-color:initial}:host([appearance='outline'][color='danger']){color:${li}}:host([appearance='outline'][color='important']){color:${Y};border-color:${Ve}}:host([appearance='outline'][color='informative']){color:${Y};border-color:${so}}:host([appearance='outline'][color='severe']){color:${gi}}:host([appearance='outline'][color='subtle']){color:${Wn}}:host([appearance='outline'][color='success']){color:${Da}}:host([appearance='outline'][color='warning']){color:${Hr}}`,xv=g.partial`:host([appearance='tint']){background-color:${ti};color:${$a};border-color:${ri}}:host([appearance='tint'][color='danger']){background-color:${ii};color:${Mr};border-color:${ai}}:host([appearance='tint'][color='important']){background-color:${Y};color:${P};border-color:${X}}:host([appearance='tint'][color='informative']){background-color:${ka};color:${Y};border-color:${so}}:host([appearance='tint'][color='severe']){background-color:${hi};color:${Ma};border-color:${pi}}:host([appearance='tint'][color='subtle']){background-color:${P};color:${Y};border-color:${so}}:host([appearance='tint'][color='success']){background-color:${ci};color:${Ea};border-color:${Fa}}:host([appearance='tint'][color='warning']){background-color:${Ha};color:${Hr};border-color:${Ra}}`,Fc=g`:host([shape='square']){border-radius:${Do}}:host([shape='rounded']){border-radius:${B}}:host([shape='rounded']:is([size='tiny'],[size='extra-small'],[size='small'])){border-radius:${Te}}${xv} ${kv} ${Oc} ${_c} ${zc} ${Ac} @media (forced-colors:active){:host,:host([appearance='outline']),:host([appearance='tint']){border-color:CanvasText}}`;function wv(o={}){return b`${He(o)}<slot>${fe(o.defaultContent)}</slot>${it(o)}`}const Ec=wv(),Dc=Mt.compose({name:vv,template:Ec,styles:Fc});Dc.define(u.registry);var Sv=Object.defineProperty,Bv=Object.getOwnPropertyDescriptor,ze=(o,e,t,r)=>{for(var n=r>1?void 0:r?Bv(e,t):e,i=o.length-1,s;i>=0;i--)(s=o[i])&&(n=(r?s(e,t,n):s(n))||n);return r&&n&&Sv(e,t,n),n};class pe extends x{constructor(){super(),this.disabledFocusable=!1,this.elementInternals=this.attachInternals(),this.elementInternals.role="button"}disabledChanged(){this.setTabIndex()}disabledFocusableChanged(e,t){this.elementInternals&&(this.elementInternals.ariaDisabled=`${!!t}`)}get form(){return this.elementInternals.form}get labels(){return Object.freeze(Array.from(this.elementInternals.labels))}typeChanged(e,t){t!==er.submit&&(this.formSubmissionFallbackControl?.remove(),this.shadowRoot?.querySelector('slot[name="internal"]')?.remove())}clickHandler(e){if(e&&this.disabledFocusable){e.stopImmediatePropagation();return}return this.press(),!0}connectedCallback(){super.connectedCallback(),this.elementInternals.ariaDisabled=`${!!this.disabledFocusable}`,this.setTabIndex()}createAndInsertFormSubmissionFallbackControl(){const e=this.formSubmissionFallbackControlSlot??document.createElement("slot");e.setAttribute("name","internal"),this.shadowRoot?.appendChild(e),this.formSubmissionFallbackControlSlot=e;const t=this.formSubmissionFallbackControl??document.createElement("button");t.style.display="none",t.setAttribute("type","submit"),t.setAttribute("slot","internal"),this.formNoValidate&&t.toggleAttribute("formnovalidate",!0),this.elementInternals.form?.id&&t.setAttribute("form",this.elementInternals.form.id),this.name&&t.setAttribute("name",this.name),this.value&&t.setAttribute("value",this.value),this.formAction&&t.setAttribute("formaction",this.formAction??""),this.formEnctype&&t.setAttribute("formenctype",this.formEnctype??""),this.formMethod&&t.setAttribute("formmethod",this.formMethod??""),this.formTarget&&t.setAttribute("formtarget",this.formTarget??""),this.append(t),this.formSubmissionFallbackControl=t}formDisabledCallback(e){this.disabled=e}keypressHandler(e){if(e&&this.disabledFocusable){e.stopImmediatePropagation();return}if(e.key==="Enter"||e.key===" "){this.click();return}return!0}press(){switch(this.type){case er.reset:{this.resetForm();break}case er.submit:{this.submitForm();break}}}resetForm(){this.elementInternals.form?.reset()}setTabIndex(){if(this.disabled){this.removeAttribute("tabindex");return}this.tabIndex=Number(this.getAttribute("tabindex")??0)<0?-1:0}submitForm(){if(!(!this.elementInternals.form||this.disabled||this.type!==er.submit)){if(!this.name&&!this.formAction&&!this.formEnctype&&!this.formAttribute&&!this.formMethod&&!this.formNoValidate&&!this.formTarget){this.elementInternals.form.requestSubmit();return}try{this.elementInternals.setFormValue(this.value??""),this.elementInternals.form.requestSubmit(this)}catch{this.createAndInsertFormSubmissionFallbackControl(),this.elementInternals.setFormValue(null),this.elementInternals.form.requestSubmit(this.formSubmissionFallbackControl)}}}}pe.formAssociated=!0,ze([f],pe.prototype,"defaultSlottedContent",2),ze([a({mode:"boolean"})],pe.prototype,"disabled",2),ze([a({attribute:"disabled-focusable",mode:"boolean"})],pe.prototype,"disabledFocusable",2),ze([a({attribute:"formaction"})],pe.prototype,"formAction",2),ze([a({attribute:"form"})],pe.prototype,"formAttribute",2),ze([a({attribute:"formenctype"})],pe.prototype,"formEnctype",2),ze([a({attribute:"formmethod"})],pe.prototype,"formMethod",2),ze([a({attribute:"formnovalidate",mode:"boolean"})],pe.prototype,"formNoValidate",2),ze([a({attribute:"formtarget"})],pe.prototype,"formTarget",2),ze([a],pe.prototype,"name",2),ze([a],pe.prototype,"type",2),ze([a],pe.prototype,"value",2);var Cv=Object.defineProperty,Pv=Object.getOwnPropertyDescriptor,en=(o,e,t,r)=>{for(var n=r>1?void 0:r?Pv(e,t):e,i=o.length-1,s;i>=0;i--)(s=o[i])&&(n=(r?s(e,t,n):s(n))||n);return r&&n&&Cv(e,t,n),n};class Je extends pe{constructor(){super(...arguments),this.iconOnly=!1}}en([a],Je.prototype,"appearance",2),en([a],Je.prototype,"shape",2),en([a],Je.prototype,"size",2),en([a({attribute:"icon-only",mode:"boolean"})],Je.prototype,"iconOnly",2),ct(Je,nt);function Oi(o={}){return b`<template @click=${(e,t)=>e.clickHandler(t.event)} @keypress=${(e,t)=>e.keypressHandler(t.event)}>${He(o)} <span class=content part=content><slot ${K("defaultSlottedContent")}></slot></span>${it(o)}</template>`}const Lc=Oi(),Mc=Je.compose({name:Vm,template:Lc,styles:co});Mc.define(u.registry);const Iv={circular:"circular",square:"square"},Nv={medium:"medium",large:"large"},Tv=`${u.prefix}-checkbox`;var Av=Object.defineProperty,zv=Object.getOwnPropertyDescriptor,Ht=(o,e,t,r)=>{for(var n=r>1?void 0:r?zv(e,t):e,i=o.length-1,s;i>=0;i--)(s=o[i])&&(n=(r?s(e,t,n):s(n))||n);return r&&n&&Av(e,t,n),n};class _e extends x{constructor(){super(...arguments),this.initialValue="on",this._keydownPressed=!1,this.dirtyChecked=!1,this.elementInternals=this.attachInternals(),this._validationFallbackMessage="",this._value=this.initialValue}get checked(){return m.track(this,"checked"),!!this._checked}set checked(e){this._checked=e,this.setFormValue(e?this.value:null),this.setValidity(),this.setAriaChecked(),$(this.elementInternals,"checked",e),m.notify(this,"checked")}disabledChanged(e,t){this.disabled?this.removeAttribute("tabindex"):this.tabIndex=Number(this.getAttribute("tabindex")??0)<0?-1:0,this.elementInternals.ariaDisabled=this.disabled?"true":"false",$(this.elementInternals,"disabled",this.disabled)}disabledAttributeChanged(e,t){this.disabled=!!t}initialCheckedChanged(e,t){this.dirtyChecked||(this.checked=!!t)}initialValueChanged(e,t){this._value=t}requiredChanged(e,t){this.elementInternals&&(this.setValidity(),this.elementInternals.ariaRequired=this.required?"true":"false")}get form(){return this.elementInternals.form}get labels(){return Object.freeze(Array.from(this.elementInternals.labels))}get validationMessage(){if(this.elementInternals?.validationMessage)return this.elementInternals.validationMessage;if(!this._validationFallbackMessage){const e=document.createElement("input");e.type="checkbox",e.required=!0,e.checked=!1,this._validationFallbackMessage=e.validationMessage}return this._validationFallbackMessage}get validity(){return this.elementInternals.validity}get value(){return m.track(this,"value"),this._value}set value(e){this._value=e,this.elementInternals&&(this.setFormValue(e),this.setValidity()),m.notify(this,"value")}get willValidate(){return this.elementInternals.willValidate}checkValidity(){return this.elementInternals.checkValidity()}clickHandler(e){if(this.disabled)return;this.dirtyChecked=!0;const t=this.checked;return this.toggleChecked(),t!==this.checked&&(this.$emit("change"),this.$emit("input")),!0}connectedCallback(){super.connectedCallback(),this.disabled=!!this.disabledAttribute,this.setAriaChecked(),this.setValidity()}inputHandler(e){return this.setFormValue(this.value),this.setValidity(),!0}keydownHandler(e){if(e.key!==" ")return!0;this._keydownPressed=!0}keyupHandler(e){if(!this._keydownPressed||e.key!==" ")return!0;this._keydownPressed=!1,this.click()}formResetCallback(){this.checked=this.initialChecked??!1,this.dirtyChecked=!1,this.setValidity()}reportValidity(){return this.elementInternals.reportValidity()}setAriaChecked(e=this.checked){this.elementInternals&&(this.elementInternals.ariaChecked=e?"true":"false")}setFormValue(e,t){this.elementInternals?.setFormValue(e,e??t)}setCustomValidity(e){this.elementInternals.setValidity({customError:!0},e),this.setValidity()}setValidity(e,t,r){if(this.elementInternals){if(this.disabled||!this.required){this.elementInternals.setValidity({});return}this.elementInternals.setValidity({valueMissing:!!this.required&&!this.checked,...e},t??this.validationMessage,r)}}toggleChecked(e=!this.checked){this.checked=e}}_e.formAssociated=!0,Ht([f],_e.prototype,"disabled",2),Ht([a({attribute:"disabled",mode:"boolean"})],_e.prototype,"disabledAttribute",2),Ht([a({attribute:"form"})],_e.prototype,"formAttribute",2),Ht([a({attribute:"checked",mode:"boolean"})],_e.prototype,"initialChecked",2),Ht([a({attribute:"value",mode:"fromView"})],_e.prototype,"initialValue",2),Ht([a],_e.prototype,"name",2),Ht([a({mode:"boolean"})],_e.prototype,"required",2);var _v=Object.defineProperty,Ov=Object.getOwnPropertyDescriptor,Fi=(o,e,t,r)=>{for(var n=r>1?void 0:r?Ov(e,t):e,i=o.length-1,s;i>=0;i--)(s=o[i])&&(n=(r?s(e,t,n):s(n))||n);return r&&n&&_v(e,t,n),n};class or extends _e{indeterminateChanged(e,t){this.setAriaChecked(),$(this.elementInternals,"indeterminate",t)}constructor(){super(),this.elementInternals.role="checkbox"}setAriaChecked(e=this.checked){if(this.indeterminate){this.elementInternals.ariaChecked="mixed";return}super.setAriaChecked(e)}toggleChecked(e=!this.checked){this.indeterminate=!1,super.toggleChecked(e)}}Fi([f],or.prototype,"indeterminate",2),Fi([a],or.prototype,"shape",2),Fi([a],or.prototype,"size",2);const Fv=N("active"),Ev=N("bad-input"),y=N("checked"),Dv=N("custom-error"),Lv=N("description"),$e=N("disabled");N("error");const Mv=N("flip-block"),Hv=N("focus-visible");N("has-message");const Vt=N("indeterminate"),uo=N("multiple"),Vv=N("open"),Rv=N("pattern-mismatch"),jv=N("placeholder-shown"),V=N("pressed"),qv=N("range-overflow"),Wv=N("range-underflow"),Gv=N("required"),Ei=N("selected"),Xv=N("step-mismatch"),tn=N("submenu"),Uv=N("too-long"),Kv=N("too-short"),Yv=N("type-mismatch"),Jv=N("user-invalid"),Qv=N("valid"),Zv=N("value-missing"),Hc=g`${w("inline-flex")} :host{--size:16px;background-color:${P};border-radius:${Te};border:${I} solid ${Ve};box-sizing:border-box;cursor:pointer;position:relative;width:var(--size)}:host,.indeterminate-indicator,.checked-indicator{aspect-ratio:1}:host(:hover){border-color:${ut}}:host(:active){border-color:${pt}}:host(${y}:hover){background-color:${zt};border-color:${Na}}:host(${y}:active){background-color:${_t};border-color:${ni}}:host(:focus-visible){outline:none}:host(:not([slot='input']))::after{content:'';position:absolute;inset:-8px;box-sizing:border-box;outline:none;border:${ue} solid ${X};border-radius:${B}}:host(:not([slot='input']):focus-visible)::after{border-color:${ce}}.indeterminate-indicator,.checked-indicator{color:${dt};inset:0;margin:auto;position:absolute}::slotted([slot='checked-indicator']),.checked-indicator{fill:currentColor;display:inline-flex;flex:1 0 auto;width:12px}:host(:not(${y})) *:is(::slotted([slot='checked-indicator']),.checked-indicator){display:none}:host(${y}),:host(${Vt}){border-color:${at}}:host(${y}),:host(${Vt}) .indeterminate-indicator{background-color:${ht}}:host(${Vt}) .indeterminate-indicator{border-radius:${Te};position:absolute;width:calc(var(--size)/2);inset:0}:host([size='large']){--size:20px}:host([size='large']) ::slotted([slot='checked-indicator']),:host([size='large']) .checked-indicator{width:16px}:host([shape='circular']),:host([shape='circular']) .indeterminate-indicator{border-radius:${de}}:host([disabled]),:host([disabled]${y}){background-color:${st};border-color:${be}}:host([disabled]){cursor:unset}:host([disabled]${Vt}) .indeterminate-indicator{background-color:${be}}:host([disabled]${y}) .checked-indicator{color:${be}}@media (forced-colors:active){:host{border-color:FieldText}:host(:not([slot='input']:focus-visible))::after{border-color:Canvas}:host(:not([disabled]):hover),:host(${y}:not([disabled]):hover),:host(:not([slot='input']):focus-visible)::after{border-color:Highlight}.indeterminate-indicator,.checked-indicator{color:HighlightText}:host(${y}),:host(${Vt}) .indeterminate-indicator{background-color:FieldText}:host(${y}:not([disabled]):hover),:host(${Vt}:not([disabled]):hover) .indeterminate-indicator{background-color:Highlight}:host([disabled]){border-color:GrayText}:host([disabled]${Vt}) .indeterminate-indicator{background-color:GrayText}:host([disabled]),:host([disabled]${y}) .checked-indicator{color:GrayText}}`,e$=b.partial('<svg fill=currentColor aria-hidden=true class=checked-indicator width=1em height=1em viewBox="0 0 12 12" xmlns=http://www.w3.org/2000/svg><path d="M9.76 3.2c.3.29.32.76.04 1.06l-4.25 4.5a.75.75 0 0 1-1.08.02L2.22 6.53a.75.75 0 0 1 1.06-1.06l1.7 1.7L8.7 3.24a.75.75 0 0 1 1.06-.04Z" fill=currentColor></path></svg>'),t$=b.partial("<span class=indeterminate-indicator></span>");function o$(o={}){return b`<template @click=${(e,t)=>e.clickHandler(t.event)} @input=${(e,t)=>e.inputHandler(t.event)} @keydown=${(e,t)=>e.keydownHandler(t.event)} @keyup=${(e,t)=>e.keyupHandler(t.event)}><slot name=checked-indicator>${fe(o.checkedIndicator)}</slot><slot name=indeterminate-indicator>${fe(o.indeterminateIndicator)}</slot></template>`}const Vc=o$({checkedIndicator:e$,indeterminateIndicator:t$}),Rc=or.compose({name:Tv,template:Vc,styles:Hc});Rc.define(u.registry);const r$=Jo,n$=Qo,i$=Zo,s$=`${u.prefix}-compound-button`;class jc extends Je{}const qc=g`${co} :host,:host(:is([size])){gap:12px;height:auto;padding-top:14px;padding-inline:12px;padding-bottom:16px;font-size:${_};line-height:${L}}.content{display:flex;flex-direction:column;text-align:start}::slotted([slot='description']){color:${Ne};line-height:100%;font-size:${D};font-weight:${O}}::slotted(svg),:host([size='large']) ::slotted(svg){font-size:40px;height:40px;width:40px}:host(:hover) ::slotted([slot='description']){color:${Tt}}:host(:active) ::slotted([slot='description']){color:${At}}:host(:is([appearance='primary'],[appearance='primary']:is(:hover,:active))) ::slotted([slot='description']){color:${Ke}}:host(:is([appearance='transparent'],[appearance='subtle'],[appearance='subtle']:is(:hover,:active))) ::slotted([slot='description']){color:${Ne}}:host([appearance='transparent']:hover) ::slotted([slot='description']){color:${No}}:host([appearance='transparent']:active) ::slotted([slot='description']){color:${To}}:host(:is(:disabled,:disabled[appearance],[disabled-focusable],[disabled-focusable][appearance])) ::slotted([slot='description']){color:${z}}:host([size='small']){padding:8px;padding-bottom:10px}:host([icon-only]){min-width:52px;max-width:52px;padding:${ve}}:host([icon-only][size='small']){min-width:48px;max-width:48px;padding:${te}}:host([icon-only][size='large']){min-width:56px;max-width:56px;padding:${Ae}}:host([size='large']){padding-top:18px;padding-inline:16px;padding-bottom:20px;font-size:${he};line-height:${me}}:host([size='large']) ::slotted([slot='description']){font-size:${_}}@media (forced-colors:active){:host([appearance='primary']:not(:hover,:focus-visible,:disabled,[disabled-focusable])) ::slotted([slot='description']){color:HighlightText}}`;function a$(o={}){return b`<template @click=${(e,t)=>e.clickHandler(t.event)} @keypress=${(e,t)=>e.keypressHandler(t.event)}>${He(o)} <span class=content part=content><slot ${K("defaultSlottedContent")}></slot><slot name=description></slot></span>${it(o)}</template>`}const Wc=a$(),Gc=jc.compose({name:s$,template:Wc,styles:qc});Gc.define(u.registry);const l$={filled:"filled",ghost:"ghost"},c$={brand:"brand",danger:"danger",important:"important",informative:"informative",severe:"severe",subtle:"subtle",success:"success",warning:"warning"},d$={circular:"circular",rounded:"rounded"},h$={tiny:"tiny",extraSmall:"extra-small",small:"small",medium:"medium",large:"large",extraLarge:"extra-large"},Xc=`${u.prefix}-counter-badge`;var u$=Object.defineProperty,p$=Object.getOwnPropertyDescriptor,rr=(o,e,t,r)=>{for(var n=r>1?void 0:r?p$(e,t):e,i=o.length-1,s;i>=0;i--)(s=o[i])&&(n=(r?s(e,t,n):s(n))||n);return r&&n&&u$(e,t,n),n};class Rt extends x{constructor(){super(...arguments),this.elementInternals=this.attachInternals(),this.count=0,this.overflowCount=99,this.showZero=!1,this.dot=!1}get displayValue(){const e=this.count??0;return!this.showZero&&e===0||this.dot?"":this.overflowCount>0&&e>this.overflowCount?`${this.overflowCount}+`:`${e}`}}rr([a({converter:ae})],Rt.prototype,"count",2),rr([a({attribute:"overflow-count",converter:ae})],Rt.prototype,"overflowCount",2),rr([a({attribute:"show-zero",mode:"boolean"})],Rt.prototype,"showZero",2),rr([a({mode:"boolean"})],Rt.prototype,"dot",2),rr([Se],Rt.prototype,"displayValue",1);var g$=Object.defineProperty,f$=Object.getOwnPropertyDescriptor,on=(o,e,t,r)=>{for(var n=r>1?void 0:r?f$(e,t):e,i=o.length-1,s;i>=0;i--)(s=o[i])&&(n=(r?s(e,t,n):s(n))||n);return r&&n&&g$(e,t,n),n};class jt extends Rt{}on([a],jt.prototype,"appearance",2),on([a],jt.prototype,"color",2),on([a],jt.prototype,"shape",2),on([a],jt.prototype,"size",2),ct(jt,nt);const Uc=g`:host([shape='rounded']){border-radius:${B}}:host([shape='rounded']:is([size='tiny'],[size='extra-small'],[size='small'])){border-radius:${Te}}${zc} ${_c} ${Oc} ${Ac} :host(:is([dot],[dot][appearance][size])){min-width:auto;width:6px;height:6px;padding:0}`;function b$(o={}){return b`${He(o)} <span>${e=>e.displayValue}</span> ${it(o)}`}const Kc=b$(),Yc=jt.compose({name:Xc,template:Kc,styles:Uc});Yc.define(u.registry);const kt={modal:"modal",nonModal:"non-modal",alert:"alert"};function Di(o,e="-dialog"){return o?.nodeType!==Node.ELEMENT_NODE?!1:o.tagName.toLowerCase().endsWith(e)}const m$=`${u.prefix}-dialog`;var v$=Object.defineProperty,$$=Object.getOwnPropertyDescriptor,Qe=(o,e,t,r)=>{for(var n=r>1?void 0:r?$$(e,t):e,i=o.length-1,s;i>=0;i--)(s=o[i])&&(n=(r?s(e,t,n):s(n))||n);return r&&n&&v$(e,t,n),n};class Oe extends x{constructor(){super(...arguments),this.emitToggle=()=>{this.$emit("toggle",{oldState:this.dialog.open?"closed":"open",newState:this.dialog.open?"open":"closed"})}}get dialogDescribedby(){if(this.dialog)return this.ariaDescribedby}get dialogLabel(){if(this.dialog)return this.ariaLabel}get dialogLabelledby(){if(this.dialog)return this.ariaLabelledby}get dialogModal(){if(this.dialog&&this.type!==kt.nonModal)return!0}get dialogRole(){if(this.dialog&&this.type===kt.alert)return"alertdialog"}connectedCallback(){super.connectedCallback(),E.enqueue(()=>{this.type=this.type??kt.modal})}emitBeforeToggle(){this.$emit("beforetoggle",{oldState:this.dialog.open?"open":"closed",newState:this.dialog.open?"closed":"open"})}show(){E.enqueue(()=>{this.emitBeforeToggle(),this.type===kt.alert||this.type===kt.modal?this.dialog.showModal():this.type===kt.nonModal&&this.dialog.show(),this.emitToggle()})}hide(){this.emitBeforeToggle(),this.dialog.close(),this.emitToggle()}clickHandler(e){return this.dialog.open&&this.type!==kt.alert&&e.target===this.dialog&&this.hide(),!0}}Qe([f],Oe.prototype,"dialog",2),Qe([a({attribute:"aria-describedby"})],Oe.prototype,"ariaDescribedby",2),Qe([a({attribute:"aria-labelledby"})],Oe.prototype,"ariaLabelledby",2),Qe([a({attribute:"aria-label"})],Oe.prototype,"ariaLabel",2),Qe([a],Oe.prototype,"type",2),Qe([Se],Oe.prototype,"dialogDescribedby",1),Qe([Se],Oe.prototype,"dialogLabel",1),Qe([Se],Oe.prototype,"dialogLabelledby",1),Qe([Se],Oe.prototype,"dialogModal",1),Qe([Se],Oe.prototype,"dialogRole",1);const Jc=b`<dialog class=dialog part=dialog aria-modal=${o=>o.dialogModal} aria-describedby=${o=>o.dialogDescribedby} aria-labelledby=${o=>o.dialogLabelledby} aria-label=${o=>o.dialogLabel} role=${o=>o.dialogRole} @click=${(o,e)=>o.clickHandler(e.event)} @cancel=${o=>o.hide()} ${A("dialog")}><div tabindex=-1></div><slot></slot></dialog>`,Qc=g`@layer base{:host{--dialog-backdrop:${Er};--dialog-starting-scale:0.85}::backdrop{background:var(--dialog-backdrop,rgba(0,0,0,0.4))}dialog{background:${P};border-radius:${mi};border:none;box-shadow:${Pi};color:${T};max-height:100vh;padding:0;width:100%;max-width:600px}:host([type='non-modal']) dialog{inset:0;z-index:2;overflow:auto}@supports (max-height:1dvh){dialog{max-height:100dvh}}}@layer animations{@media (prefers-reduced-motion:no-preference){dialog,::backdrop{transition:display allow-discrete,opacity,overlay allow-discrete,scale;transition-duration:${Xr};transition-timing-function:${mt};opacity:0}::backdrop{transition-timing-function:${Ur}}[open],[open]::backdrop{opacity:1}dialog:not([open]){scale:var(--dialog-starting-scale);transition-timing-function:${bt}}}@starting-style{[open],[open]::backdrop{opacity:0}dialog{scale:var(--dialog-starting-scale)}}}@media (forced-colors:active){@layer base{dialog{border:${I} solid ${X}}}}`,Zc=Oe.compose({name:m$,template:Jc,styles:Qc});Zc.define(u.registry);const y$=`${u.prefix}-dialog-body`;class ed extends x{clickHandler(e){if(!e.defaultPrevented){const t=this.parentElement;Di(t)&&t.hide()}return!0}}const td=b`<template><div class=title part=title><slot name=title></slot><slot name=title-action></slot><slot name=close @click=${(o,e)=>o.clickHandler(e.event)}></slot></div><div class=content part=content><slot></slot></div><div class=actions part=actions><slot name=action></slot></div></template>`,od=g`${w("grid")} :host{background:${P};box-sizing:border-box;gap:${re};padding:${ft} ${jo};container:dialog-body/inline-size}.title{box-sizing:border-box;align-items:flex-start;background:${P};color:${T};column-gap:8px;display:flex;font-family:${v};font-size:${Ot};font-weight:${M};inset-block-start:0;justify-content:space-between;line-height:${Vo};margin-block-end:calc(${re} * -1);margin-block-start:calc(${ft} * -1);padding-block-end:${re};padding-block-start:${ft}}.content{box-sizing:border-box;color:${T};font-family:${v};font-size:${_};font-weight:${O};line-height:${L};min-height:32px}.actions{box-sizing:border-box;background:${P};display:flex;flex-direction:column;gap:${re};inset-block-end:0;margin-block-end:calc(${ft} * -1);padding-block-end:${ft};padding-block-start:${Wr}}::slotted([slot='title-action']){margin-inline-start:auto}::slotted([slot='title']){font:inherit;padding:0;margin:0}:not(:has(:is([slot='title'],[slot='title-action']))) .title{justify-content:end}@container (min-width:480px){.actions{align-items:center;flex-direction:row;justify-content:flex-end;margin-block-start:calc(${re} * -1);padding-block-start:${re}}}@media (min-height:480px){.title{position:sticky;z-index:1}.actions{position:sticky;z-index:2}`,rd=ed.compose({name:y$,template:td,styles:od});rd.define(u.registry);const ye={horizontal:"horizontal",vertical:"vertical"},po={separator:"separator",presentation:"presentation"},Li=ye,k$={center:"center",start:"start",end:"end"},x$={strong:"strong",brand:"brand",subtle:"subtle"},w$=`${u.prefix}-divider`;var S$=Object.defineProperty,B$=Object.getOwnPropertyDescriptor,nd=(o,e,t,r)=>{for(var n=r>1?void 0:r?B$(e,t):e,i=o.length-1,s;i>=0;i--)(s=o[i])&&(n=(r?s(e,t,n):s(n))||n);return r&&n&&S$(e,t,n),n};class rn extends x{constructor(){super(...arguments),this.elementInternals=this.attachInternals()}connectedCallback(){super.connectedCallback(),this.elementInternals.role=this.role??po.separator,this.role!==po.presentation&&(this.elementInternals.ariaOrientation=this.orientation??Li.horizontal)}roleChanged(e,t){this.$fastController.isConnected&&(this.elementInternals.role=`${t??po.separator}`),t===po.presentation&&(this.elementInternals.ariaOrientation=null)}orientationChanged(e,t){this.elementInternals.ariaOrientation=this.role!==po.presentation?t??null:null,Et(this.elementInternals,e,t,Li)}}nd([a],rn.prototype,"role",2),nd([a],rn.prototype,"orientation",2);var C$=Object.defineProperty,P$=Object.getOwnPropertyDescriptor,Mi=(o,e,t,r)=>{for(var n=r>1?void 0:r?P$(e,t):e,i=o.length-1,s;i>=0;i--)(s=o[i])&&(n=(r?s(e,t,n):s(n))||n);return r&&n&&C$(e,t,n),n};class nr extends rn{}Mi([a({attribute:"align-content"})],nr.prototype,"alignContent",2),Mi([a],nr.prototype,"appearance",2),Mi([a({mode:"boolean"})],nr.prototype,"inset",2);function I$(){return b`<slot></slot>`}const id=I$(),sd=g`${w("flex")} :host{contain:content}:host::after,:host::before{align-self:center;background:${so};box-sizing:border-box;content:'';display:flex;flex-grow:1;height:${I}}:host([inset]){padding:0 12px}:host ::slotted(*){color:${Ne};font-family:${v};font-size:${D};font-weight:${O};margin:0;padding:0 12px}:host([align-content='start'])::before,:host([align-content='end'])::after{flex-basis:12px;flex-grow:0;flex-shrink:0}:host([orientation='vertical']){align-items:center;flex-direction:column;height:100%;min-height:84px}:host([orientation='vertical']):empty{min-height:20px}:host([orientation='vertical'][inset])::before{margin-top:12px}:host([orientation='vertical'][inset])::after{margin-bottom:12px}:host([orientation='vertical']):empty::before,:host([orientation='vertical']):empty::after{height:10px;min-height:10px;flex-grow:0}:host([orientation='vertical'])::before,:host([orientation='vertical'])::after{width:${I};min-height:20px;height:100%}:host([orientation='vertical']) ::slotted(*){display:flex;flex-direction:column;padding:12px 0;line-height:20px}:host([orientation='vertical'][align-content='start'])::before{min-height:8px}:host([orientation='vertical'][align-content='end'])::after{min-height:8px}:host([appearance='strong'])::before,:host([appearance='strong'])::after{background:${Re}}:host([appearance='strong']) ::slotted(*){color:${T}}:host([appearance='brand'])::before,:host([appearance='brand'])::after{background:${oi}}:host([appearance='brand']) ::slotted(*){color:${Ao}}:host([appearance='subtle'])::before,:host([appearance='subtle'])::after{background:${Pa}}:host([appearance='subtle']) ::slotted(*){color:${Y}}@media (forced-colors:active){:host([appearance='strong'])::before,:host([appearance='strong'])::after,:host([appearance='brand'])::before,:host([appearance='brand'])::after,:host([appearance='subtle'])::before,:host([appearance='subtle'])::after,:host::after,:host::before{background:WindowText;color:WindowText}}`,ad=nr.compose({name:w$,template:id,styles:sd});ad.define(u.registry);const ld={start:"start",end:"end"},cd={small:"small",medium:"medium",large:"large",full:"full"},go={nonModal:"non-modal",modal:"modal",inline:"inline"},N$=`${u.prefix}-drawer`;var T$=Object.defineProperty,A$=Object.getOwnPropertyDescriptor,Fe=(o,e,t,r)=>{for(var n=r>1?void 0:r?A$(e,t):e,i=o.length-1,s;i>=0;i--)(s=o[i])&&(n=(r?s(e,t,n):s(n))||n);return r&&n&&T$(e,t,n),n};class ke extends x{constructor(){super(...arguments),this.position=ld.start,this.size=cd.medium,this.emitToggle=()=>{this.$emit("toggle",{oldState:this.dialog.open?"closed":"open",newState:this.dialog.open?"open":"closed"})},this.emitBeforeToggle=()=>{this.$emit("beforetoggle",{oldState:this.dialog.open?"open":"closed",newState:this.dialog.open?"closed":"open"})}}get dialogDescribedby(){if(this.dialog)return this.ariaDescribedby}get dialogLabel(){if(this.dialog)return this.ariaLabel}get dialogLabelledby(){if(this.dialog)return this.ariaLabelledby}get dialogModal(){if(this.dialog&&this.type===go.modal)return!0}get dialogRole(){return this.dialog&&this.type===go.modal?"dialog":this.role}connectedCallback(){super.connectedCallback(),E.enqueue(()=>{this.type=this.type??go.modal})}show(){E.enqueue(()=>{this.emitBeforeToggle(),this.type===go.inline||this.type===go.nonModal?this.dialog.show():this.dialog.showModal(),this.emitToggle()})}hide(){this.emitBeforeToggle(),this.dialog.close(),this.emitToggle()}clickHandler(e){return this.dialog.open&&e.target===this.dialog&&this.hide(),!0}cancelHandler(){this.hide()}}Fe([a],ke.prototype,"type",2),Fe([a({attribute:"aria-labelledby"})],ke.prototype,"ariaLabelledby",2),Fe([a({attribute:"aria-describedby"})],ke.prototype,"ariaDescribedby",2),Fe([a],ke.prototype,"position",2),Fe([f],ke.prototype,"role",2),Fe([a({attribute:"size"})],ke.prototype,"size",2),Fe([f],ke.prototype,"dialog",2),Fe([Se],ke.prototype,"dialogDescribedby",1),Fe([Se],ke.prototype,"dialogLabel",1),Fe([Se],ke.prototype,"dialogLabelledby",1),Fe([Se],ke.prototype,"dialogModal",1),Fe([Se],ke.prototype,"dialogRole",1);const dd=g`${w("block")} :host{--dialog-backdrop:${Er}}:host([type='non-modal']) dialog[open]::backdrop{display:none}:host([type='non-modal']) dialog{position:fixed;top:0;bottom:0}:host([type='inline']){height:100%;width:fit-content}:host([type='inline']) dialog[open]{box-shadow:none;position:relative}:host([size='small']) dialog{width:320px;max-width:320px}:host([size='large']) dialog{width:940px;max-width:940px}:host([size='full']) dialog{width:100%;max-width:100%}:host([position='end']) dialog{margin-inline-start:auto;margin-inline-end:0}dialog{background:${P};border-radius:0;border:${I} solid ${X};border-inline-end-color:${X};border-inline-start-color:var(--drawer-separator,${X});box-shadow:${Pi};box-sizing:border-box;color:${T};font-family:${v};font-size:${_};font-weight:${O};height:100%;line-height:${L};margin-inline-end:auto;margin-inline-start:0;max-height:100vh;max-width:calc(100vw - ${jo});outline:none;padding:0;bottom:0;top:0;width:var(--drawer-width,592px);z-index:var(--drawer-elevation,1000)}dialog::backdrop{background:var(--dialog-backdrop)}@layer animations{@media (prefers-reduced-motion:no-preference){dialog{transition:display allow-discrete,opacity,overlay allow-discrete,transform;transition-duration:${Xr};transition-timing-function:${mt}}:host dialog:not([open]){transform:translateX(-100%);transition-timing-function:${bt}}:host([position='end']) dialog:not([open]){transform:translateX(100%);transition-timing-function:${bt}}dialog[open]{transform:translateX(0)}dialog::backdrop{transition:display allow-discrete,opacity,overlay allow-discrete,scale;transition-duration:${Xr};transition-timing-function:${mt};background:var(--dialog-backdrop,${Er});opacity:0}dialog[open]::backdrop{opacity:1}dialog::backdrop{transition-timing-function:${Ur}}}@starting-style{dialog[open]{transform:translateX(-100%)}:host([position='end']) dialog[open]{transform:translateX(100%)}dialog[open]::backdrop{opacity:0}}}`;function z$(){return b`<dialog class=dialog part=dialog aria-describedby=${o=>o.dialogDescribedby} aria-labelledby=${o=>o.dialogLabelledby} aria-label=${o=>o.dialogLabel} aria-modal=${o=>o.dialogModal} role=${o=>o.dialogRole} size=${o=>o.size} position=${o=>o.position} @click=${(o,e)=>o.clickHandler(e.event)} @cancel=${o=>o.cancelHandler()} ${A("dialog")}><slot></slot></dialog>`}const hd=z$(),ud=ke.compose({name:N$,template:hd,styles:dd});ud.define(u.registry);const _$=`${u.prefix}-drawer-body`;class pd extends x{clickHandler(e){if(!e.defaultPrevented){const t=this.parentElement;Di(t,"-drawer")&&t.hide()}return!0}}const Hi=g.partial`font-family:${v};font-size:${_};line-height:${L};font-weight:${O};`,O$=g.partial`font-family:${v};font-size:${_};line-height:${L};font-weight:${M};`,F$=g.partial`font-family:${v};font-size:${_};line-height:${L};font-weight:${Mo};`,gd=g.partial`font-family:${v};font-size:${he};line-height:${me};font-weight:${O};`,Vi=g.partial`font-family:${v};font-size:${D};line-height:${j};font-weight:${O};`,E$=g.partial`font-family:${v};font-size:${D};line-height:${j};font-weight:${M};`,D$=g.partial`font-family:${v};font-size:${D};line-height:${j};font-weight:${Mo};`,L$=g.partial`font-family:${v};font-size:${ao};line-height:${Ho};font-weight:${O};`,M$=g.partial`font-family:${v};font-size:${ao};line-height:${Ho};font-weight:${M};`,fd=g.partial`font-family:${v};font-size:${Ot};line-height:${Vo};font-weight:${M};`,H$=g.partial`font-family:${v};font-size:${he};line-height:${me};font-weight:${M};`,V$=g.partial`font-family:${v};font-size:${he};line-height:${me};font-weight:${Mo};`,R$=g.partial`font-family:${v};font-size:${$i};line-height:${Si};font-weight:${M};`,j$=g.partial`font-family:${v};font-size:${vi};line-height:${wi};font-weight:${M};`,q$=g.partial`font-family:${v};font-size:${Lo};line-height:${xi};font-weight:${M};`,W$=g.partial`font-family:${v};font-size:${yi};line-height:${Bi};font-weight:${M};`,G$=g.partial`font-family:${v};font-size:${ki};line-height:${Ci};font-weight:${M};`,bd=g`${w("grid")} :host{box-sizing:border-box;grid-template-rows:min-content auto min-content;position:relative;height:100%;padding:${Zl};max-height:100svh}.header{display:flex;justify-content:space-between;align-items:center;${fd}}.footer{display:flex;justify-content:flex-start;gap:${oe}}::slotted([slot='title']){font:inherit;padding:0;margin:0}`;function X$(){return b`<div class=header part=header><slot name=title></slot><slot name=close @click=${(o,e)=>o.clickHandler(e.event)}></slot></div><div class=content part=content><slot></slot></div><div class=footer part=footer><slot name=footer></slot></div>`}const md=X$(),vd=pd.compose({name:_$,template:md,styles:bd});vd.define(u.registry);function U$(o,e="-dropdown"){return o?.nodeType!==Node.ELEMENT_NODE?!1:o.tagName.toLowerCase().endsWith(e)}const $d={filledDarker:"filled-darker",filledLighter:"filled-lighter",outline:"outline",transparent:"transparent"},K$={small:"small",medium:"medium",large:"large"},nn={combobox:"combobox",dropdown:"dropdown",select:"select"},Y$=`${u.prefix}-dropdown`;function Ri(o,e="-listbox"){return o?.nodeType!==Node.ELEMENT_NODE?!1:o.tagName.toLowerCase().endsWith(e)}const J$=`${u.prefix}-listbox`;function qt(o,e="-option"){return o?.nodeType!==Node.ELEMENT_NODE?!1:o.tagName.toLowerCase().endsWith(e)}const Q$=`${u.prefix}-option`,lt={ltr:"ltr",rtl:"rtl"},ji=o=>o.closest("[dir]")?.dir==="rtl"?lt.rtl:lt.ltr;function yd(o){return o.closest("[lang]")?.lang??"en"}let Z$=0;function Ze(o="id-"){const e=`${o}${Z$++}`;return document.getElementById(e)?Ze(o):e}const ey=b`<svg class=chevron-down-20-regular aria-hidden=true slot=indicator viewBox="0 0 20 20" ${A("indicator")}><path d="M15.85 7.65a.5.5 0 0 1 0 .7l-5.46 5.49a.55.55 0 0 1-.78 0L4.15 8.35a.5.5 0 1 1 .7-.7L10 12.8l5.15-5.16a.5.5 0 0 1 .7 0" fill=currentColor /></svg>`,kd=b`<input @input=${(o,e)=>o.inputHandler(e.event)} @change=${(o,e)=>o.changeHandler(e.event)} aria-activedescendant=${o=>o.activeDescendant} aria-controls=${o=>o.listbox?.id??null} aria-labelledby=${o=>o.ariaLabelledBy} aria-expanded=${o=>o.open} aria-haspopup=listbox placeholder=${o=>o.placeholder} role=combobox ?disabled=${o=>o.disabled} type=${o=>o.type} value=${o=>o.valueAttribute} slot=control ${A("control")}>`,xd=b`<button aria-activedescendant=${o=>o.activeDescendant} aria-controls=${o=>o.listbox?.id??null} aria-expanded=${o=>o.open} aria-haspopup=listbox role=combobox ?disabled=${o=>o.disabled} type=button slot=control ${A("control")}>${o=>o.displayValue}</button>`;function ty(o={}){return b`<template @click=${(e,t)=>e.clickHandler(t.event)} @focusout=${(e,t)=>e.focusoutHandler(t.event)} @keydown=${(e,t)=>e.keydownHandler(t.event)} @mousedown=${(e,t)=>e.mousedownHandler(t.event)}><div class=control><slot name=control ${A("controlSlot")}></slot><slot name=indicator ${A("indicatorSlot")}>${fe(o.indicator)}</slot></div><slot @slotchange=${(e,t)=>e.slotchangeHandler(t.event)}></slot></template>`}const wd=ty({indicator:ey});var oy=Object.defineProperty,ry=Object.getOwnPropertyDescriptor,J=(o,e,t,r)=>{for(var n=r>1?void 0:r?ry(e,t):e,i=o.length-1,s;i>=0;i--)(s=o[i])&&(n=(r?s(e,t,n):s(n))||n);return r&&n&&oy(e,t,n),n};const q=class xo extends x{constructor(){super(),this.activeIndex=0,this.id=Ze("dropdown-"),this.required=!1,this.type=nn.dropdown,this.valueAttribute="",this.repositionListbox=()=>{this.frameId&&cancelAnimationFrame(this.frameId),this.frameId=requestAnimationFrame(()=>{const e=this.getBoundingClientRect(),t=window.innerWidth-e.right,r=e.left;this.listbox.style.minWidth=`${e.width}px`,this.listbox.style.top=`${e.top}px`,r+e.width>window.innerWidth||ji(this)==="rtl"&&t-e.width>0?(this.listbox.style.right=`${t}px`,this.listbox.style.left="unset"):(this.listbox.style.left=`${r}px`,this.listbox.style.right="unset")})},this.elementInternals=this.attachInternals(),this._insertingControl=!1,this.searchTimeoutMs=500,this.searchString="",this.elementInternals.role="presentation"}get activeDescendant(){if(this.open)return this.enabledOptions[this.activeIndex]?.id}activeIndexChanged(e,t){if(typeof t=="number"){const r=this.matches(":has(:focus-visible)")?t:-1;this.enabledOptions.forEach((n,i)=>{n.active=i===r}),this.open&&this.enabledOptions[r]?.scrollIntoView({block:"nearest"})}}controlChanged(e,t){t&&(t.id=t.id||Ze("input-"))}disabledChanged(e,t){this.listbox&&E.enqueue(()=>{this.options.forEach(r=>{r.disabled=r.disabledAttribute||this.disabled})})}get displayValue(){if(!this.$fastController.isConnected||!this.control||this.isCombobox&&this.multiple)return $(this.elementInternals,"placeholder-shown",!1),"";this.listFormatter=this.listFormatter??new Intl.ListFormat(yd(this),{type:"conjunction",style:"narrow"});const e=this.listFormatter.format(this.selectedOptions.map(t=>t.text));return $(this.elementInternals,"placeholder-shown",!e),this.isCombobox?e:e||this.placeholder}listboxChanged(e,t){if(e&&m.getNotifier(this).unsubscribe(e),t){t.dropdown=this,t.popover="manual",t.tabIndex=-1;const r=m.getNotifier(this);if(r.subscribe(t),r.notify("multiple"),E.enqueue(()=>{this.options.forEach(n=>{n.disabled=n.disabledAttribute||this.disabled,n.name=this.name}),this.enabledOptions.filter(n=>n.defaultSelected).forEach((n,i)=>{n.selected=this.multiple||i===0}),this.setValidity()}),Jr){const n=Ze("--dropdown-anchor-");this.style.setProperty("anchor-name",n),this.listbox.style.setProperty("position-anchor",n)}}}multipleChanged(e,t){this.elementInternals.ariaMultiSelectable=t?"true":"false",$(this.elementInternals,"multiple",t),this.value=null}nameChanged(e,t){this.listbox&&E.enqueue(()=>{this.options.forEach(r=>{r.name=t})})}openChanged(e,t){$(this.elementInternals,"open",t),this.elementInternals.ariaExpanded=t?"true":"false",this.activeIndex=this.selectedIndex??-1,Jr||this.anchorPositionFallback(t)}typeChanged(e,t){this.$fastController.isConnected&&this.insertControl()}get enabledOptions(){return this.listbox?.enabledOptions??Array.from(this.querySelectorAll("*")).filter(e=>qt(e)&&!e.disabled)}get freeformOption(){return this.enabledOptions.find(e=>e.freeform)}get isCombobox(){return this.type===nn.combobox}get labels(){return Object.freeze(Array.from(this.elementInternals.labels))}get options(){return this.listbox?.options??Array.from(this.querySelectorAll("*")).filter(e=>qt(e))}get selectedIndex(){return this.enabledOptions.findIndex(e=>e.selected)??-1}get selectedOptions(){return this.listbox?.selectedOptions??[]}get validationMessage(){if(this.elementInternals.validationMessage)return this.elementInternals.validationMessage;if(!this._validationFallbackMessage){const e=document.createElement("input");e.type="radio",e.name="validation-message-fallback",e.required=!0,e.checked=!1,this._validationFallbackMessage=e.validationMessage}return!this.disabled&&this.required&&this.listbox.selectedOptions.length===0?this._validationFallbackMessage:""}get validity(){return this.elementInternals.validity}get value(){return m.notify(this,"value"),this.enabledOptions.find(e=>e.selected)?.value??null}set value(e){this.multiple||(this.selectOption(this.enabledOptions.findIndex(t=>t.value===e)),m.track(this,"value"))}get willValidate(){return this.elementInternals.willValidate}changeHandler(e){if(this===e.target)return!0;const t=this.isCombobox?this.enabledOptions.findIndex(r=>r.text===this.control.value):this.enabledOptions.indexOf(e.target);return this.selectOption(t,!0),!0}checkValidity(){return this.elementInternals.checkValidity()}clickHandler(e){if(this.disabled)return;const t=e.target;if(this.focus(),(t===this.control||e.composedPath().includes(this.indicator))&&!this.isCombobox)return this.listbox.togglePopover(),!0;if(!this.open)return this.listbox.showPopover(),!0;if(qt(t)){if(t.disabled)return;this.selectOption(this.enabledOptions.indexOf(t),!0),this.multiple||(this.isCombobox&&(this.control.value=t.text,this.updateFreeformOption()),this.listbox.hidePopover())}return!0}filterOptions(e,t=this.enabledOptions){return this.listCollator||(this.listCollator=new Intl.Collator(yd(this),{usage:"search",sensitivity:"base"})),t.filter(r=>this.listCollator.compare(r.text.substring(0,Math.min(r.text.length,e.length)),e)===0)}focus(e){this.disabled||this.control.focus(e)}focusoutHandler(e){const t=e.relatedTarget;return this.open&&!this.contains(t)&&this.listbox.togglePopover(),!0}formResetCallback(){this.enabledOptions.forEach((e,t)=>{if(this.multiple){e.selected=!!e.defaultSelected;return}if(!e.defaultSelected){e.selected=!1;return}this.selectOption(t)}),this.setValidity()}getEnabledIndexInBounds(e,t=this.enabledOptions.length||0){return t===0?-1:(e+t)%t}inputHandler(e){this.open||this.listbox.showPopover(),this.updateFreeformOption();const t=this.control.value,r=this.enabledOptions.indexOf(this.filterOptions(t)[0]??null);return this.activeIndex=r,!0}insertControl(){if(!this._insertingControl){if(this._insertingControl=!0,this.controlSlot?.assignedNodes().forEach(e=>this.removeChild(e)),this.type===nn.combobox){kd.render(this,this);return}xd.render(this,this),this._insertingControl=!1}}handleSearchCharacter(e){const t=this.searchString===e.repeat(this.searchString.length);this.searchString+=e;let r=this.searchString.length>1?this.filterOptions(this.searchString):[],n=!1;if(!r.length&&t&&(r=this.filterOptions(e),n=!0),r.length){const i=this.enabledOptions[this.activeIndex],s=r.indexOf(i),c=n?r[this.getEnabledIndexInBounds(s+1,r.length)]:s>=0?i:r[0];this.activeIndex=this.enabledOptions.indexOf(c)}clearTimeout(this.searchTimeout),this.searchTimeout=setTimeout(()=>{this.searchString="",this.searchTimeout=void 0},this.searchTimeoutMs)}keydownHandler(e){let t=0;switch(e.key){case"ArrowUp":{e.preventDefault(),t=-1;break}case"ArrowDown":{e.preventDefault(),t=1;break}case" ":case"Enter":case"Tab":{if(e.key===" "){if(this.isCombobox)break;e.preventDefault()}if(this.open){if(this.selectOption(this.activeIndex,!0),this.multiple)break;return this.listbox.hidePopover(),e.key==="Tab"}this.listbox.showPopover();break}case"Escape":{this.activeIndex=this.multiple?0:this.selectedIndex,this.listbox.hidePopover();break}}if(!t)return!this.isCombobox&&e.key.length===1&&e.key!==" "&&!e.ctrlKey&&!e.metaKey&&!e.altKey&&(this.open||this.listbox.showPopover(),this.handleSearchCharacter(e.key)),!0;if(!this.open){this.listbox.showPopover();return}let r=this.activeIndex;r+=t;let n=this.getEnabledIndexInBounds(r);return n===0&&this.freeformOption?.hidden&&(n=this.getEnabledIndexInBounds(r+t)),this.activeIndex=n,!0}mousedownHandler(e){if(!(this.disabled||e.target===this.control&&!this.isCombobox))return!qt(e.target)}reportValidity(){return this.elementInternals.reportValidity()}selectOption(e=this.selectedIndex,t=!1){this.listbox.selectOption(e),this.control&&(this.control.value=this.displayValue),this.setValidity(),this.updateFreeformOption(),t&&this.$emit("change")}setValidity(e,t,r){if(!this.elementInternals)return;if(this.disabled||!this.required){this.elementInternals.setValidity({});return}const n=this.required&&this.listbox.selectedOptions.length===0;this.elementInternals.setValidity({valueMissing:n,...e},t??this.validationMessage,r??this.control)}slotchangeHandler(e){const t=e.target;Yo(this,()=>{const r=t.assignedElements().find(n=>Ri(n));r&&(this.listbox=r)})}updateFreeformOption(e=this.control.value){if(this.freeformOption){if(e===""||this.filterOptions(e,this.enabledOptions.filter(t=>!t.freeform)).length){this.freeformOption.value="",this.freeformOption.selected=!1,this.freeformOption.hidden=!0;return}this.freeformOption.value=e,this.freeformOption.hidden=!1}}connectedCallback(){super.connectedCallback(),E.enqueue(()=>{this.insertControl()})}disconnectedCallback(){xo.AnchorPositionFallbackObserver?.disconnect(),this.debounceController?.abort(),this.searchTimeout&&(clearTimeout(this.searchTimeout),this.searchTimeout=void 0,this.searchString=""),super.disconnectedCallback()}anchorPositionFallback(e){if(xo.AnchorPositionFallbackObserver||(xo.AnchorPositionFallbackObserver=new IntersectionObserver(t=>{t.forEach(({boundingClientRect:r,isIntersecting:n,target:i})=>{if(Ri(i)){if(r.bottom>window.innerHeight){$(i.elementInternals,"flip-block",!0);return}r.top<0&&$(i.elementInternals,"flip-block",!1)}})},{threshold:1})),e){this.debounceController=new AbortController,xo.AnchorPositionFallbackObserver.observe(this.listbox),window.addEventListener("scroll",this.repositionListbox,{passive:!0,capture:!0,signal:this.debounceController.signal}),window.addEventListener("resize",this.repositionListbox,{passive:!0,signal:this.debounceController.signal}),this.repositionListbox();return}xo.AnchorPositionFallbackObserver.unobserve(this.listbox),this.debounceController?.abort(),this.frameId&&(cancelAnimationFrame(this.frameId),this.frameId=void 0)}};q.formAssociated=!0,J([Se],q.prototype,"activeDescendant",1),J([f],q.prototype,"activeIndex",2),J([a({attribute:"aria-labelledby",mode:"fromView"})],q.prototype,"ariaLabelledBy",2),J([f],q.prototype,"control",2),J([a({mode:"boolean"})],q.prototype,"disabled",2),J([Se],q.prototype,"displayValue",1),J([a({attribute:"id"})],q.prototype,"id",2),J([f],q.prototype,"indicator",2),J([f],q.prototype,"indicatorSlot",2),J([a({attribute:"value",mode:"fromView"})],q.prototype,"initialValue",2),J([f],q.prototype,"listbox",2),J([a({mode:"boolean"})],q.prototype,"multiple",2),J([a],q.prototype,"name",2),J([f],q.prototype,"open",2),J([a],q.prototype,"placeholder",2),J([a({mode:"boolean"})],q.prototype,"required",2),J([a],q.prototype,"type",2),J([a({attribute:"value"})],q.prototype,"valueAttribute",2);let Sd=q;var ny=Object.defineProperty,iy=Object.getOwnPropertyDescriptor,Bd=(o,e,t,r)=>{for(var n=r>1?void 0:r?iy(e,t):e,i=o.length-1,s;i>=0;i--)(s=o[i])&&(n=(r?s(e,t,n):s(n))||n);return r&&n&&ny(e,t,n),n};class sn extends Sd{constructor(){super(...arguments),this.appearance=$d.outline}}Bd([a],sn.prototype,"appearance",2),Bd([a],sn.prototype,"size",2);const Cd=g`${w("inline-flex")} :host{box-sizing:border-box;color:${T};cursor:pointer}:host(${jv}){color:${Or}}.control{appearance:none;background-color:${P};border-radius:${B};border:${I} solid ${X};box-shadow:inset 0 0 0 ${I} var(--control-border-color);box-sizing:border-box;color:inherit;column-gap:${H};display:inline-flex;justify-content:space-between;min-width:160px;overflow:hidden;padding:${lo} ${Ye};white-space:normal;position:relative;text-align:start;width:100%;z-index:1;${Hi}}:host([size='small']) .control{column-gap:${H};padding:${Ft} ${ve};${Vi}}:host([size='large']) .control{column-gap:${Ae};padding:${re} ${oe};${gd}}::slotted(:is(input,button)){all:unset;flex:1 1 auto}::slotted(button){cursor:pointer}::slotted(input){cursor:text}:where(slot[name='indicator']>*,::slotted([slot='indicator'])){all:unset;align-items:center;appearance:none;aspect-ratio:1;color:${Y};display:inline-flex;justify-content:center;width:20px}:host([size='small']) :where(slot[name='indicator']>*,::slotted([slot='indicator'])){width:16px}:host([size='large']) :where(slot[name='indicator']>*,::slotted([slot='indicator'])){width:24px}.control::after,.control::before{content:''/'';inset:auto 0 0;pointer-events:none;position:absolute}.control::before{height:${I}}.control::after{background-color:${at};height:${ue};scale:0 1;transition:scale ${Gr} ${mt}}:host(:where(:focus-within)) .control{border-radius:${B};box-shadow:inset 0 0 0 1px ${Eo};outline:${ue} solid ${ce}}:host(:where(${Vv},:focus-within)) .control::after{scale:1 1;transition-duration:${Xo};transition-timing-function:${bt}}:host(:where([appearance='outline'],[appearance='transparent'])) .control::before{background-color:${Ve}}:host([appearance='transparent']) .control{--control-border-color:${Dr};background-color:${le};border-radius:${Do}}:host([appearance='outline']) .control{--control-border-color:${Re}}:host([appearance='outline']) .control:hover{--control-border-color:${gt}}:host(:where([appearance='outline'],[appearance='transparent'])) .control:hover::before{background-color:${ut}}:host([appearance='outline']) .control:hover::after{background-color:${zt}}:host([appearance='outline']) .control:active{--control-border-color:${io}}:host(:where([appearance='outline'],[appearance='transparent'])) .control:active::before{background-color:${pt}}:host(:where([appearance='outline'],[appearance='transparent'])) .control:active::after{background-color:${_t}}:host([appearance='filled-darker']) .control{background-color:${oo}}:host(:where([appearance='filled-lighter'],[appearance='filled-darker'])) .control{--control-border-color:${X}}:host(:disabled),:host(:disabled) ::slotted(:where(button,input)){cursor:not-allowed}:host(:disabled) .control::before,:host(:disabled) .control::after{content:none}:host(:disabled) .control:is(*,:active,:hover),:host(:disabled) :where(slot[name='indicator']>*,::slotted([slot='indicator'])){--control-border-color:${be};background-color:${st};color:${z}}::slotted(:not([slot]):not([popover])),::slotted([popover]:not(:popover-open)){display:none}@supports not (anchor-name:--anchor){:host{--listbox-max-height:50vh;--margin-offset:calc(${L} + (${lo} * 2) + ${I})}:host([size='small']){--margin-offset:calc(${j} + (${Ft} * 2) + ${I})}:host([size='large']){--margin-offset:calc(${me} + (${re} * 2) + ${I})}}@media (forced-colors:active){:host(:disabled) .control{border-color:GrayText}:host(:disabled) :where(slot[name='indicator']>*,::slotted([slot='indicator'])){color:GrayText}`,Pd=sn.compose({name:Y$,template:wd,styles:Cd});Pd.define(u.registry);const Id={above:"above",after:"after",before:"before"},Ce={badInput:"bad-input",customError:"custom-error",patternMismatch:"pattern-mismatch",rangeOverflow:"range-overflow",rangeUnderflow:"range-underflow",stepMismatch:"step-mismatch",tooLong:"too-long",tooShort:"too-short",typeMismatch:"type-mismatch",valueMissing:"value-missing",valid:"valid"},sy=`${u.prefix}-field`;var ay=Object.defineProperty,ly=Object.getOwnPropertyDescriptor,an=(o,e,t,r)=>{for(var n=r>1?void 0:r?ly(e,t):e,i=o.length-1,s;i>=0;i--)(s=o[i])&&(n=(r?s(e,t,n):s(n))||n);return r&&n&&ay(e,t,n),n};class fo extends x{constructor(){super(),this.labelSlot=[],this.elementInternals=this.attachInternals(),this.elementInternals.role="presentation"}labelSlotChanged(e,t){t&&this.input&&(this.setLabelProperties(),this.setStates())}messageSlotChanged(e,t){$(this.elementInternals,"has-message",!!t.length)}slottedInputsChanged(e,t){const r=t?.filter(n=>n.nodeType===Node.ELEMENT_NODE)??[];r?.length&&(this.input=r?.[0])}inputChanged(e,t){t&&(this.setStates(),this.setLabelProperties(),this.slottedInputObserver.observe(this.input,{attributes:!0,attributeFilter:["disabled","required","readonly"],subtree:!0}))}changeHandler(e){return this.setStates(),this.setValidationStates(),!0}clickHandler(e){return this===e.target&&this.input.click(),!0}connectedCallback(){super.connectedCallback(),this.addEventListener("invalid",this.invalidHandler,{capture:!0}),this.slottedInputObserver=new MutationObserver(()=>{this.setStates()})}disconnectedCallback(){this.slottedInputObserver.disconnect(),this.removeEventListener("invalid",this.invalidHandler,{capture:!0}),super.disconnectedCallback()}focusinHandler(e){return this.matches(":focus-within:has(> :focus-visible)")&&$(this.elementInternals,"focus-visible",!0),!0}focusoutHandler(e){return $(this.elementInternals,"focus-visible",!1),!0}invalidHandler(e){this.messageSlot.length&&e.preventDefault(),this.setValidationStates()}setLabelProperties(){this.$fastController.isConnected&&(this.input.id=this.input.id||Ze("input"),this.labelSlot?.forEach(e=>{e instanceof HTMLLabelElement&&(e.htmlFor=e.htmlFor||this.input.id,e.id=e.id||`${this.input.id}--label`,this.input.setAttribute("aria-labelledby",e.id))}))}setStates(){this.elementInternals&&this.input&&($(this.elementInternals,"disabled",!!this.input.disabled),$(this.elementInternals,"readonly",!!this.input.readOnly),$(this.elementInternals,"required",!!this.input.required),$(this.elementInternals,"checked",!!this.input.checked))}setValidationStates(){if(this.input?.validity)for(const[e,t]of Object.entries(Ce))$(this.elementInternals,t,this.input.validity[e])}}an([f],fo.prototype,"labelSlot",2),an([f],fo.prototype,"messageSlot",2),an([f],fo.prototype,"slottedInputs",2),an([f],fo.prototype,"input",2);var cy=Object.defineProperty,dy=Object.getOwnPropertyDescriptor,hy=(o,e,t,r)=>{for(var n=r>1?void 0:r?dy(e,t):e,i=o.length-1,s;i>=0;i--)(s=o[i])&&(n=(r?s(e,t,n):s(n))||n);return r&&n&&cy(e,t,n),n};class qi extends fo{constructor(){super(...arguments),this.labelPosition=Id.above}}hy([a({attribute:"label-position"})],qi.prototype,"labelPosition",2);const Nd=g`${w("inline-grid")} :host{color:${T};align-items:center;gap:0 ${oe};justify-items:start}:has([slot='message']){color:${T};row-gap:${re}}:not(::slotted([slot='label'])){gap:0}:host([label-position='before']){grid-template-areas:'label input' 'label message'}:host([label-position='after']){gap:0;grid-template-areas:'input label' 'message message';grid-template-columns:auto 1fr}:host([label-position='after']) ::slotted([slot='input']){margin-inline-end:${oe}}:host([label-position='above']){grid-template-areas:'label' 'input' 'message';row-gap:${qo}}:host([label-position='below']){grid-template-areas:'input' 'label' 'message';justify-items:center}:host([label-position='below']) ::slotted([slot='label']){margin-block-start:${ec}}:host(${Gv}) ::slotted([slot='label'])::after{content:'*'/'';color:${Mr};margin-inline-start:${te}}::slotted([slot='input']){grid-area:input}::slotted([slot='message']){color:${Y};font-family:${v};font-size:${D};font-weight:${O};grid-area:message;line-height:${j};margin-block-start:${qo}}:host(${Hv}:focus-within){border-radius:${B};outline:${ue} solid ${ce}}::slotted(label),::slotted([slot='label']){cursor:inherit;display:inline-flex;font-family:${v};font-size:${_};font-weight:${O};grid-area:label;line-height:${L};justify-self:stretch;user-select:none}:host([size='small']) ::slotted(label){font-size:${D};line-height:${j}}:host([size='large']) ::slotted(label){font-size:${he};line-height:${me}}:host([size='large']) ::slotted(label),:host([weight='semibold']) ::slotted(label){font-weight:${M}}:host(${$e}){cursor:default}::slotted([flag]){display:none}:host(${Ev}) ::slotted([flag='${Ce.badInput}']),:host(${Dv}) ::slotted([flag='${Ce.customError}']),:host(${Rv}) ::slotted([flag='${Ce.patternMismatch}']),:host(${qv}) ::slotted([flag='${Ce.rangeOverflow}']),:host(${Wv}) ::slotted([flag='${Ce.rangeUnderflow}']),:host(${Xv}) ::slotted([flag='${Ce.stepMismatch}']),:host(${Uv}) ::slotted([flag='${Ce.tooLong}']),:host(${Kv}) ::slotted([flag='${Ce.tooShort}']),:host(${Yv}) ::slotted([flag='${Ce.typeMismatch}']),:host(${Zv}) ::slotted([flag='${Ce.valueMissing}']),:host(${Qv}) ::slotted([flag='${Ce.valid}']){display:block}`,Td=b`<template @click=${(o,e)=>o.clickHandler(e.event)} @change=${(o,e)=>o.changeHandler(e.event)} @focusin=${(o,e)=>o.focusinHandler(e.event)} @focusout=${(o,e)=>o.focusoutHandler(e.event)}><slot name=label part=label ${K("labelSlot")}></slot><slot name=input part=input ${K("slottedInputs")}></slot><slot name=message part=message ${K({property:"messageSlot",filter:Bo("[flag]")})}></slot></template>`,Ad=qi.compose({name:sy,template:Td,styles:Nd,shadowOptions:{delegatesFocus:!0}});Ad.define(u.registry);const uy={none:"none",center:"center",contain:"contain",cover:"cover"},py={circular:"circular",rounded:"rounded",square:"square"},gy=`${u.prefix}-image`;var fy=Object.defineProperty,by=Object.getOwnPropertyDescriptor,ir=(o,e,t,r)=>{for(var n=r>1?void 0:r?by(e,t):e,i=o.length-1,s;i>=0;i--)(s=o[i])&&(n=(r?s(e,t,n):s(n))||n);return r&&n&&fy(e,t,n),n};class Wt extends x{}ir([a({mode:"boolean"})],Wt.prototype,"block",2),ir([a({mode:"boolean"})],Wt.prototype,"bordered",2),ir([a({mode:"boolean"})],Wt.prototype,"shadow",2),ir([a],Wt.prototype,"fit",2),ir([a],Wt.prototype,"shape",2);const zd=b`<slot></slot>`,_d=g`:host{contain:content}:host ::slotted(img){box-sizing:border-box;min-height:8px;min-width:8px;display:inline-block}:host([block]) ::slotted(img){width:100%;height:auto}:host([bordered]) ::slotted(img){border:${I} solid ${so}}:host([fit='none']) ::slotted(img){object-fit:none;object-position:top left;height:100%;width:100%}:host([fit='center']) ::slotted(img){object-fit:none;object-position:center;height:100%;width:100%}:host([fit='contain']) ::slotted(img){object-fit:contain;object-position:center;height:100%;width:100%}:host([fit='cover']) ::slotted(img){object-fit:cover;object-position:center;height:100%;width:100%}:host([shadow]) ::slotted(img){box-shadow:${Ro}}:host([shape='circular']) ::slotted(img){border-radius:${de}}:host([shape='rounded']) ::slotted(img){border-radius:${B}}`,Od=Wt.compose({name:gy,template:zd,styles:_d});Od.define(u.registry);const my={small:"small",medium:"medium",large:"large"},vy={regular:"regular",semibold:"semibold"},$y=`${u.prefix}-label`;var yy=Object.defineProperty,ky=Object.getOwnPropertyDescriptor,ln=(o,e,t,r)=>{for(var n=r>1?void 0:r?ky(e,t):e,i=o.length-1,s;i>=0;i--)(s=o[i])&&(n=(r?s(e,t,n):s(n))||n);return r&&n&&yy(e,t,n),n};class bo extends x{constructor(){super(...arguments),this.disabled=!1,this.required=!1}}ln([a],bo.prototype,"size",2),ln([a],bo.prototype,"weight",2),ln([a({mode:"boolean"})],bo.prototype,"disabled",2),ln([a({mode:"boolean"})],bo.prototype,"required",2);const Fd=g`${w("inline-flex")} :host{color:${T};cursor:pointer;font-family:${v};font-size:${_};font-weight:${O};line-height:${L};user-select:none}.asterisk{color:${Mr};margin-inline-start:${te}}:host([size='small']){font-size:${D};line-height:${j}}:host([size='large']){font-size:${he};line-height:${me}}:host(:is([size='large'],[weight='semibold'])){font-weight:${M}}:host([disabled]),:host([disabled]) .asterisk{color:${z}}`;function xy(){return b`<slot></slot><span part=asterisk class=asterisk aria-hidden=true ?hidden=${o=>!o.required}>*</span>`}const Ed=xy(),Dd=bo.compose({name:$y,template:Ed,styles:Fd});Dd.define(u.registry);const wy={subtle:"subtle"},Sy=mc,By=`${u.prefix}-link`;var Cy=Object.defineProperty,Py=Object.getOwnPropertyDescriptor,Ld=(o,e,t,r)=>{for(var n=r>1?void 0:r?Py(e,t):e,i=o.length-1,s;i>=0;i--)(s=o[i])&&(n=(r?s(e,t,n):s(n))||n);return r&&n&&Cy(e,t,n),n};class cn extends je{constructor(){super(...arguments),this.inline=!1}}Ld([a],cn.prototype,"appearance",2),Ld([a({mode:"boolean"})],cn.prototype,"inline",2);const Md=g`${w("inline")} :host{position:relative;box-sizing:border-box;background-color:transparent;color:${ca};cursor:pointer;font-family:${v};font-size:${_};font-weight:${O};overflow:inherit;text-align:start;text-decoration:none;text-decoration-thickness:${I};text-overflow:inherit;user-select:text}:host(:is(:hover,:focus-visible)){outline:none;text-decoration-line:underline}@media (hover:hover){:host(:hover){color:${da}}:host(:active){color:${ha}}:host([appearance='subtle']:hover){color:${pa}}:host([appearance='subtle']:active){color:${ga}}}:host([appearance='subtle']){color:${ua}}:host-context(:is(h1,h2,h3,h4,h5,h6,p,fluent-text)),:host([inline]){font:inherit;text-decoration:underline}:host(:not([href])){color:inherit;text-decoration:none}::slotted(a){position:absolute;inset:0}@media (forced-colors:active){:host{color:LinkText}}`;function Iy(){return b`<template tabindex=0 @click=${(o,e)=>o.clickHandler(e.event)} @keydown=${(o,e)=>o.keydownHandler(e.event)}><slot></slot></template>`}const Hd=Iy(),Vd=cn.compose({name:By,template:Hd,styles:Md});Vd.define(u.registry);var Ny=Object.defineProperty,Ty=Object.getOwnPropertyDescriptor,sr=(o,e,t,r)=>{for(var n=r>1?void 0:r?Ty(e,t):e,i=o.length-1,s;i>=0;i--)(s=o[i])&&(n=(r?s(e,t,n):s(n))||n);return r&&n&&Ny(e,t,n),n};class Gt extends x{constructor(){super(),this.elementInternals=this.attachInternals(),this.elementInternals.role="listbox"}defaultSlotChanged(){this.slotchangeHandler()}multipleChanged(e,t){this.elementInternals.ariaMultiSelectable=t?"true":"false",$(this.elementInternals,"multiple",t),E.enqueue(()=>{this.options.forEach(r=>{r.multiple=!!t})})}optionsChanged(e,t){t?.forEach((r,n)=>{r.elementInternals.ariaPosInSet=`${n+1}`,r.elementInternals.ariaSetSize=`${t.length}`})}beforetoggleHandler(e){if(!this.dropdown)return!0;if(this.dropdown.disabled){this.dropdown.open=!1;return}return this.dropdown.open=e.newState==="open",!0}get enabledOptions(){return this.options?.filter(e=>!e.disabled)??[]}get selectedOptions(){return this.options?.filter(e=>e.selected)??[]}clickHandler(e){if(this.dropdown)return!0;const t=e.target;return qt(t)&&this.selectOption(this.enabledOptions.indexOf(t)),!0}connectedCallback(){super.connectedCallback(),Yo(this,()=>{this.id=this.id||Ze("listbox-")},{shallow:!0})}handleChange(e,t){if(t==="multiple"){this.multiple=e.multiple;return}}selectOption(e=this.selectedIndex){let t=this.selectedIndex;if(!this.multiple)this.enabledOptions.forEach((r,n)=>{const i=n===e;r.selected=i,i&&(t=n)});else{const r=this.enabledOptions[e];r&&(r.selected=!r.selected),t=e}this.selectedIndex=t}slotchangeHandler(e){Yo(this,()=>{if(this.defaultSlot){const t=this.defaultSlot.assignedElements().filter(r=>qt(r));this.options=t}})}}sr([f],Gt.prototype,"defaultSlot",2),sr([f],Gt.prototype,"multiple",2),sr([f],Gt.prototype,"options",2),sr([f],Gt.prototype,"selectedIndex",2),sr([f],Gt.prototype,"dropdown",2);const Rd=g`${w("inline-flex")} :host{background-color:${P};border-radius:${B};border:${I} solid ${X};box-shadow:${Rr};box-sizing:border-box;flex-direction:column;margin:0;min-inline-size:160px;padding:${te};row-gap:${H};width:auto}:host([popover]){inset:unset;overflow:auto}@supports (anchor-name:--anchor){:host([popover]){position:fixed;max-block-size:var(--listbox-max-height,calc(50vh - anchor-size(self-block)));min-inline-size:anchor-size(inline);inset-block-start:anchor(end);inset-inline-start:anchor(start);position-try-fallbacks:flip-block,flip-inline,flip-inline flip-block}}@supports not (anchor-name:--anchor){:host([popover]){margin-block-start:var(--margin-offset,0);max-block-size:var(--listbox-max-height,50vh);position:absolute}:host([popover]${Mv}){margin-block-start:revert;translate:0 -100%}}`;function jd(){return b`<template @beforetoggle=${(o,e)=>o.beforetoggleHandler(e.event)} @click=${(o,e)=>o.clickHandler(e.event)}><slot ${A("defaultSlot")} @slotchange=${(o,e)=>o.slotchangeHandler(e.event)}></slot></template>`}const qd=jd(),Wd=Gt.compose({name:J$,template:qd,styles:Rd});Wd.define(u.registry);const Ay=co,zy=Jo,_y=Qo,Oy=Zo,Fy=`${u.prefix}-menu-button`;class Gd extends Je{}const Xd=Oi({end:b.partial('<svg slot=end fill=currentColor aria-hidden=true width=1em height=1em viewBox="0 0 20 20" xmlns=http://www.w3.org/2000/svg><path d="M15.85 7.65c.2.2.2.5 0 .7l-5.46 5.49a.55.55 0 0 1-.78 0L4.15 8.35a.5.5 0 1 1 .7-.7L10 12.8l5.15-5.16c.2-.2.5-.2.7 0Z" fill=currentColor></path></svg>')}),Ud=Gd.compose({name:Fy,template:Xd,styles:Ay});Ud.define(u.registry);const Q={menuitem:"menuitem",menuitemcheckbox:"menuitemcheckbox",menuitemradio:"menuitemradio"},Ey={[Q.menuitem]:"menuitem",[Q.menuitemcheckbox]:"menuitemcheckbox",[Q.menuitemradio]:"menuitemradio"};function Dy(o,e="-menu-item"){return o?.nodeType!==Node.ELEMENT_NODE?!1:o.tagName.toLowerCase().endsWith(e)}const Ly=`${u.prefix}-menu-item`;var My=Object.defineProperty,Hy=Object.getOwnPropertyDescriptor,mo=(o,e,t,r)=>{for(var n=r>1?void 0:r?Hy(e,t):e,i=o.length-1,s;i>=0;i--)(s=o[i])&&(n=(r?s(e,t,n):s(n))||n);return r&&n&&My(e,t,n),n};class et extends x{constructor(){super(...arguments),this.elementInternals=this.attachInternals(),this.role=Q.menuitem,this.checked=!1,this.handleMenuItemKeyDown=e=>{if(e.defaultPrevented)return!1;switch(e.key){case"Enter":case" ":return this.invoke(),!1;case"ArrowRight":return this.disabled||(this.submenu?.togglePopover(!0),this.submenu?.focus()),!1;case"ArrowLeft":return this.parentElement?.hasAttribute("popover")&&(this.parentElement.togglePopover(!1),this.parentElement.parentElement?.focus()),!1}return!0},this.handleMenuItemClick=e=>(e.defaultPrevented||this.disabled||this.invoke(),!1),this.handleMouseOver=e=>(this.disabled||this.submenu?.togglePopover(!0),!1),this.handleMouseOut=e=>(this.contains(document.activeElement)||this.submenu?.togglePopover(!1),!1),this.handleToggle=e=>{e instanceof ToggleEvent&&(e.newState==="open"&&(this.elementInternals.ariaExpanded="true",this.setSubmenuPosition()),e.newState==="closed"&&(this.elementInternals.ariaExpanded="false"),this.submenu?.setAttribute("focusgroup",e.newState==="open"?"menu":"none"))},this.handleSubmenuFocusOut=e=>{e.relatedTarget&&this.submenu?.contains(e.relatedTarget)||this.submenu?.togglePopover(!1)},this.invoke=()=>{if(!this.disabled)switch(this.role){case Q.menuitemcheckbox:this.checked=!this.checked;break;case Q.menuitem:if(this.submenu){this.submenu.togglePopover(!0),this.submenu.focus();break}this.$emit("change");break;case Q.menuitemradio:this.checked||(this.checked=!0);break}},this.setSubmenuPosition=()=>{if(!CSS.supports("anchor-name","--anchor")&&this.submenu){const e=this.getBoundingClientRect(),t=this.submenu.getBoundingClientRect(),r=getComputedStyle(this).direction==="ltr"?"right":"left";if(e.width+t.width>window.innerWidth*.75){this.submenu.style.translate="0 -100%";return}if(e[r]+t.width>window.innerWidth){this.submenu.style.translate="-100% 0";return}this.submenu.style.translate=`${e.width-8}px 0`}}}disabledChanged(e,t){this.elementInternals.ariaDisabled=t?`${t}`:null,$(this.elementInternals,"disabled",t)}roleChanged(e,t){this.elementInternals.role=t??Q.menuitem}checkedChanged(e,t){const r=this.role!==Q.menuitem;this.elementInternals.ariaChecked=r?`${!!t}`:null,$(this.elementInternals,"checked",r?t:!1),this.$fastController.isConnected&&this.$emit("change",t,{bubbles:!0})}slottedSubmenuChanged(e,t){this.submenu?.removeEventListener("toggle",this.handleToggle),this.submenu?.removeEventListener("focusout",this.handleSubmenuFocusOut),t.length?(this.submenu=t[0],this.submenu.toggleAttribute("popover",!0),this.submenu.setAttribute("focusgroup","none"),this.submenu.addEventListener("toggle",this.handleToggle),this.submenu.addEventListener("focusout",this.handleSubmenuFocusOut),this.elementInternals.ariaHasPopup="menu",$(this.elementInternals,"submenu",!0)):(this.elementInternals.ariaHasPopup=null,$(this.elementInternals,"submenu",!1))}connectedCallback(){super.connectedCallback(),this.elementInternals.role=this.role??Q.menuitem,this.elementInternals.ariaChecked=this.role!==Q.menuitem?`${!!this.checked}`:null}}mo([a({mode:"boolean"})],et.prototype,"disabled",2),mo([a],et.prototype,"role",2),mo([a({mode:"boolean"})],et.prototype,"checked",2),mo([a({mode:"boolean"})],et.prototype,"hidden",2),mo([f],et.prototype,"slottedSubmenu",2),mo([f],et.prototype,"submenu",2),ct(et,nt);const Kd=g`${w("grid")} :host{--indent:0;align-items:center;background:${P};border-radius:${B};color:${Ne};contain:layout;cursor:pointer;flex-shrink:0;font:${O} ${_}/${L} ${v};grid-gap:4px;grid-template-columns:20px 20px auto 20px;height:32px;overflow:visible;padding:0 10px}:host(:hover){background:${zo};color:${Tt}}:host(:active){background-color:${Gn};color:${At}}:host(:active) ::slotted([slot='start']){color:${ba}}:host(${$e}){background-color:${st};color:${z}}:host(${$e}) ::slotted([slot='start']),:host(${$e}) ::slotted([slot='end']){color:${z}}:host(:focus-visible){border-radius:${B};outline:2px solid ${ce}}.content{white-space:nowrap;flex-grow:1;grid-column:auto/span 2;padding:0 2px}:host(:not(${y})) .indicator,:host(:not(${y})) ::slotted([slot='indicator']),:host(:not(${tn})) .submenu-glyph,:host(:not(${tn})) ::slotted([slot='submenu-glyph']){display:none}::slotted([slot='end']){color:${Y};font:${O} ${D}/${j} ${v};white-space:nowrap}:host([data-indent='1']){--indent:1}:host([data-indent='2']){--indent:2;grid-template-columns:20px 20px auto auto}:host(${tn}){grid-template-columns:20px auto auto 20px}:host([data-indent='2']${tn}){grid-template-columns:20px 20px auto auto 20px}.indicator,::slotted([slot='indicator']){grid-column:1/span 1;width:20px}::slotted([slot='start']){display:inline-flex;grid-column:calc(var(--indent))/span 1}.content{grid-column:calc(var(--indent) + 1)/span 1}::slotted([slot='end']){grid-column:calc(var(--indent) + 2)/span 1;justify-self:end}.submenu-glyph,::slotted([slot='submenu-glyph']){grid-column:-2/span 1;justify-self:end}@layer popover{:host{anchor-name:--menu-trigger;position:relative}::slotted([popover]){margin:0;max-height:var(--menu-max-height,auto);position:fixed;position-anchor:--menu-trigger;inset:unset;inset-block-start:anchor(start);inset-inline-start:anchor(end);position-try-fallbacks:flip-inline,block-start,block-end;z-index:1}::slotted([popover]:not(:popover-open)){display:none}@supports not (anchor-name:--menu-trigger){::slotted([popover]){align-self:start}}}@media (forced-colors:active){:host(${$e}),:host(${$e}) ::slotted([slot='start']),:host(${$e}) ::slotted([slot='end']){color:GrayText}}`,Vy=b.partial('<svg class=indicator fill=currentColor aria-hidden=true width=16 height=16 viewBox="0 0 16 16" xmlns=http://www.w3.org/2000/svg><path d="M14.05 3.49c.28.3.27.77-.04 1.06l-7.93 7.47A.85.85 0 014.9 12L2.22 9.28a.75.75 0 111.06-1.06l2.24 2.27 7.47-7.04a.75.75 0 011.06.04z" fill=currentColor></path></svg>'),Ry=b.partial('<svg class=submenu-glyph fill=currentColor aria-hidden=true width=16 height=16 viewBox="0 0 16 16" xmlns=http://www.w3.org/2000/svg><path d="M5.74 3.2a.75.75 0 00-.04 1.06L9.23 8 5.7 11.74a.75.75 0 101.1 1.02l4-4.25a.75.75 0 000-1.02l-4-4.25a.75.75 0 00-1.06-.04z" fill=currentColor></path></svg>');function jy(o={}){return b`<template tabindex=0 @keydown=${(e,t)=>e.handleMenuItemKeyDown(t.event)} @click=${(e,t)=>e.handleMenuItemClick(t.event)} @mouseover=${(e,t)=>e.handleMouseOver(t.event)} @mouseout=${(e,t)=>e.handleMouseOut(t.event)} @toggle=${(e,t)=>e.handleToggle(t.event)}><slot name=indicator>${fe(o.indicator)}</slot>${He(o)}<div part=content class=content><slot></slot></div>${it(o)}<slot name=submenu-glyph>${fe(o.submenuGlyph)}</slot><slot name=submenu ${K({property:"slottedSubmenu"})}></slot></template>`}const Yd=jy({indicator:Vy,submenuGlyph:Ry}),Jd=et.compose({name:Ly,template:Yd,styles:Kd});Jd.define(u.registry);const qy=`${u.prefix}-menu-list`;var ar={INFERRED_ROLE:"data-fg-ir",ITEM:"data-fg-item",AUTHOR_TABINDEX:"data-fg-ati",SEGMENT:"data-fg-seg",SEGMENT_START:"data-fg-segs"},Wi={TOOLBAR:"toolbar",TABLIST:"tablist",RADIOGROUP:"radiogroup",LISTBOX:"listbox",MENU:"menu",MENUBAR:"menubar",NONE:"none"};function Gi(o,e){return o.contains(e)}function Wy(){return"focusgroup"in(globalThis?.HTMLElement?.prototype??{})||"focusGroup"in(globalThis?.HTMLElement?.prototype??{})}function Gy(o,e,t){const r="forward",n="backward",i="block",s="inline";if(Xy(o.composedPath()[0]))return o.key==="Tab"?o.shiftKey?n:r:null;if(o.shiftKey||o.ctrlKey||o.metaKey)return null;const{writingMode:c,direction:h}=window.getComputedStyle(e),d=!c.startsWith("horizontal-"),l=h==="rtl",p=d?i:s,k=d?s:i,S=d?c.endsWith("-rl")!==l:l,Le=d&&l,St={ArrowUp:{axis:k,dir:Le?r:n},ArrowDown:{axis:k,dir:Le?n:r},ArrowLeft:{axis:p,dir:S?r:n},ArrowRight:{axis:p,dir:S?n:r},Home:{dir:"start"},End:{dir:"end"}}[o.key];return!St||t&&St.axis&&St.axis!==t?null:St.dir}function Xy(o){return o?.nodeType===Node.ELEMENT_NODE&&(["INPUT","TEXTAREA","SELECT"].includes(o.nodeName)&&!["checkbox","radio"].includes(o.getAttribute("type"))||o.isContentEditable||["AUDIO","VIDEO"].includes(o.nodeName)&&o.hasAttribute("controls")||["IFRAME","OBJECT"].includes(o.nodeName))}globalThis.__FOCUSGROUP_POLYFILL__??={o:new Set,b:!1};var Uy=globalThis.__FOCUSGROUP_POLYFILL__,Ky=Uy.o;function Xi(){for(const o of Ky)o.takeRecords()}var dn=class{#t;#e;#s=Wi.NONE;#u=void 0;#c=!1;#a=!0;#r;#o=null;#n=!1;#l=null;#p=new AbortController;#d;#h;constructor(o,e,t={}){if(Wy()||!o)return;this.#t=o,this.#e=e,this.#d=t.decorateOwner,this.#h=t.decorateItem,this.#g(t.definition),this.#d?.(this.#t,this.#s),this.#f();const r={signal:this.#p.signal};this.#t.addEventListener("keydown",this.#$.bind(this),r),this.#t.addEventListener("focusin",this.#y.bind(this),r),this.#t.addEventListener("focusout",this.#k.bind(this),r)}disconnect(){this.#i(),this.#p.abort(),this.#e?.disconnect?.(),this.#t=null}update(o={}){if(this.#t){if(o.definition!==void 0&&(this.#g(o.definition),this.#d?.(this.#t,this.#s)),o.authorTabindexChanges)for(const e of o.authorTabindexChanges)e.setAttribute(ar.AUTHOR_TABINDEX,e.getAttribute("tabindex")??"none");this.#b(),this.#f()}}#g(o){this.#s=o?.behavior??Wi.NONE,this.#c=o?.wrap??!1,this.#u=o?.axis,this.#a=o?.memory??!0,this.#a||(this.#o=null)}#f(){if(this.#s===Wi.NONE){this.#b();return}this.#e.decorate?.();for(const{element:e,segmentBoundary:t}of this.#e.items())this.#h?.(e,this.#s),e.setAttribute(ar.AUTHOR_TABINDEX,e.getAttribute("tabindex")??"none"),e.tabIndex=t?0:-1;(!this.#o?.isConnected||!(this.#e.isItem?.(this.#o)??this.#e.contains(this.#o)))&&(this.#o=null);const o=this.#o??this.#e.start??this.#e.first?.()??null;o&&(o.tabIndex=0,this.#r=o,this.#i(),this.#m(o)),this.#e.flush?.()}#b(){this.#i();let o=!1;for(const{element:e}of this.#e.items()){o=!0,this.#h?.(e,null);const t=e.getAttribute(ar.AUTHOR_TABINDEX);t&&(t==="none"?e.removeAttribute("tabindex"):e.setAttribute("tabindex",t),e.removeAttribute(ar.AUTHOR_TABINDEX))}this.#e.undecorate?.(),o&&this.#e.flush?.()}#$(o){const e=o.composedPath()[0];if(o.defaultPrevented||e===this.#t||!this.#e.contains(e))return;let t;switch(Gy(o,e,this.#u)){case"start":t=this.#e.first();break;case"end":t=this.#e.last();break;case"forward":t=this.#e.next(e),!t&&this.#c&&(t=this.#e.first());break;case"backward":t=this.#e.previous(e),!t&&this.#c&&(t=this.#e.last());break}t&&t!==e&&(this.#v(e,t,!0),this.#o=t,o.preventDefault())}#y(o){const e=o.composedPath()[0];if(e===this.#t&&this.#n&&(!o.relatedTarget||!Gi(this.#t,o.relatedTarget))){const r=this.#o||this.#r;this.#i(),r&&r.focus(),o.stopPropagation();return}if(!this.#e.contains(e))return;this.#n&&this.#i();const t=this.#o;if(this.#o=e,t!==e&&e.tabIndex<0){const r=t??this.#r;r&&this.#v(r,e)}}#k(o){if(!o.relatedTarget||!Gi(this.#t,o.relatedTarget)){const r=this.#a?this.#o||this.#r:this.#r;r&&this.#m(r)}if(o.relatedTarget&&Gi(this.#t,o.relatedTarget)||this.#a||!this.#r)return;const e=this.#o;this.#o=null;const t=this.#e.start??this.#e.first?.()??null;if(e!==this.#r||t!==this.#r){for(const{element:r,segmentBoundary:n}of this.#e.items())r.tabIndex=n?0:-1;t&&(t.tabIndex=0,this.#r=t),this.#e.flush?.()}}#m(o){const e=(o.assignedSlot??o).getRootNode(),t=e instanceof ShadowRoot&&e.host.hasAttribute(ar.AUTHOR_TABINDEX);this.#n||!t||(this.#l=this.#t.getAttribute("tabindex"),this.#t.tabIndex=0,this.#n=!0,Xi())}#i(){this.#n&&(this.#l!==null?this.#t.setAttribute("tabindex",this.#l):this.#t.removeAttribute("tabindex"),this.#n=!1,this.#l=null,this.#e.flush?.(),Xi())}#v(o,e,t=!1){e.tabIndex=0,t&&e.focus(),o.tabIndex=this.#e.sameSegment?.(o,e)??!0?-1:0,this.#i(),Xi()}};class hn{constructor(e,t){this.getItems=e,this.getStart=t}get start(){return this.getStart?.()??null}first(){return this.getItems()[0]??null}last(){const e=this.getItems();return e[e.length-1]??null}next(e){const t=this.getItems(),r=t.indexOf(e);return r===-1?null:t[r+1]??null}previous(e){const t=this.getItems(),r=t.indexOf(e);return r<=0?null:t[r-1]??null}*items(){for(const e of this.getItems())yield{element:e}}contains(e){return this.getItems().includes(e)}}var Yy=Object.defineProperty,Jy=Object.getOwnPropertyDescriptor,Qy=(o,e,t,r)=>{for(var n=r>1?void 0:r?Jy(e,t):e,i=o.length-1,s;i>=0;i--)(s=o[i])&&(n=(r?s(e,t,n):s(n))||n);return r&&n&&Yy(e,t,n),n};const Ui=class ss extends x{constructor(){super(),this.elementInternals=this.attachInternals(),this.isNestedMenu=()=>this.parentElement!==null&&ls(this.parentElement)&&this.parentElement.getAttribute("role")==="menuitem",this.changedMenuItemHandler=e=>{if(this.menuChildren===void 0)return;const t=e.target,r=this.menuChildren.indexOf(t);if(r!==-1&&t.role==="menuitemradio"&&t.checked===!0){for(let i=r-1;i>=0;--i){const s=this.menuChildren[i],c=s.role;if(c===Q.menuitemradio&&(s.checked=!1),c==="separator")break}const n=this.menuChildren.length-1;for(let i=r+1;i<=n;++i){const s=this.menuChildren[i],c=s.role;if(c===Q.menuitemradio&&(s.checked=!1),c==="separator")break}}},this.elementInternals.role="menu"}itemsChanged(e,t){this.$fastController.isConnected&&this.menuChildren!==void 0&&this.setItems()}connectedCallback(){super.connectedCallback(),!this.slot&&this.isNestedMenu()&&(this.slot="submenu"),E.enqueue(()=>{this.setItems()}),this.addEventListener("change",this.changedMenuItemHandler)}disconnectedCallback(){super.disconnectedCallback(),Array.from(this.children).forEach(e=>{m.getNotifier(e).unsubscribe(this,"hidden")}),this.menuChildren=void 0,this.removeEventListener("change",this.changedMenuItemHandler)}focus(){this.menuItems?.find(e=>!e.disabled)?.focus()}static elementIndent(e){const t=e.role,r=e.querySelector("[slot=start]");return t&&t!==Q.menuitem?r?2:1:r?1:0}setItems(){const e=Array.from(this.children);e.forEach(r=>{m.getNotifier(r).subscribe(this,"hidden")}),this.menuChildren=e.filter(r=>!r.hasAttribute("hidden")),this.menuItems=this.menuChildren?.filter(this.isMenuItemElement);const t=this.menuItems?.reduce((r,n)=>{const i=ss.elementIndent(n);return Math.max(r,i)},0);this.menuItems?.forEach(r=>{r.dataset.indent=`${t}`})}handleChange(e,t){t==="hidden"&&this.setItems()}isMenuItemElement(e){return Dy(e)||ls(e)&&!!e.role&&e.role in ss.focusableElementRoles}};Ui.focusableElementRoles=Q,Qy([f],Ui.prototype,"items",2);let Qd=Ui;class Zd extends Qd{disconnectedCallback(){this.fg?.disconnect(),super.disconnectedCallback()}setItems(){super.setItems(),this.fgItems??(this.fgItems=new hn(()=>this.menuItems?.filter(e=>!e.hidden)??[])),this.fg?this.fg.update():this.fg=new dn(this,this.fgItems,{definition:{behavior:"menu",axis:"block",wrap:!0}})}}const eh=g`${w("flex")} :host{flex-direction:column;height:fit-content;max-width:300px;min-width:160px;width:auto;background-color:${P};border:1px solid ${X};border-radius:${B};box-shadow:${Rr};padding:4px;row-gap:2px}`;function Zy(){return b`<template focusgroup=menu><slot ${K("items")}></slot></template>`}const th=Zy(),oh=Zd.compose({name:qy,template:th,styles:eh});oh.define(u.registry);const e0=`${u.prefix}-menu`;var t0=Object.defineProperty,o0=Object.getOwnPropertyDescriptor,xt=(o,e,t,r)=>{for(var n=r>1?void 0:r?o0(e,t):e,i=o.length-1,s;i>=0;i--)(s=o[i])&&(n=(r?s(e,t,n):s(n))||n);return r&&n&&t0(e,t,n),n};class tt extends x{constructor(){super(...arguments),this._open=!1,this.toggleMenu=()=>{this._menuList?.togglePopover(!this._open)},this.closeMenu=e=>{e?.target instanceof et&&(e.target.getAttribute("role")===Q.menuitemcheckbox||e.target.getAttribute("role")===Q.menuitemradio)||(this._menuList?.togglePopover(!1),this.closeOnScroll&&document.removeEventListener("scroll",this.closeMenu))},this.openMenu=e=>{this._menuList?.togglePopover(!0),e&&this.openOnContext&&e.preventDefault(),this.closeOnScroll&&document.addEventListener("scroll",this.closeMenu)},this.toggleHandler=e=>{if(e.type==="toggle"&&e.newState){const t=e.newState==="open";this._trigger?.setAttribute("aria-expanded",`${t}`),this._menuList?.setAttribute("focusgroup",t?"menu":"none"),this._open=t,this._open&&this.focusMenuList()}},this.triggerKeydownHandler=e=>{if(e.defaultPrevented)return;switch(e.key){case" ":case"Enter":e.preventDefault(),this.toggleMenu();break;default:return!0}},this.documentClickHandler=e=>{e.composedPath().some(t=>t===this._trigger||t===this._menuList)||this.closeMenu()}}slottedMenuListChanged(e,t){this._menuListAbortController?.abort(),t?.length&&(this._menuList=t[0],this._menuList.popover=this.openOnContext?"manual":"",this.addMenuListListeners())}slottedTriggersChanged(e,t){if(this._triggerAbortController?.abort(),t?.length){const r=t[0];this._trigger=r,this._trigger?.isConnected&&(this._trigger.setAttribute("aria-haspopup","true"),this._trigger.setAttribute("aria-expanded",`${this._open}`),this.addTriggerListeners())}}connectedCallback(){super.connectedCallback(),this.setComponent()}disconnectedCallback(){super.disconnectedCallback(),this._triggerAbortController?.abort(),this._menuListAbortController?.abort()}setComponent(){}focusMenuList(){E.enqueue(()=>{this._menuList.focus()})}focusTrigger(){E.enqueue(()=>{this._trigger.focus()})}openOnHoverChanged(e,t){this._trigger&&(this._triggerAbortController?.abort(),this.addTriggerListeners())}persistOnItemClickChanged(e,t){this._menuList&&(this._menuListAbortController?.abort(),this.addMenuListListeners())}openOnContextChanged(e,t){t?this._menuList?.setAttribute("popover","manual"):this._menuList?.setAttribute("popover",""),this._trigger&&(this._triggerAbortController?.abort(),this.addTriggerListeners())}closeOnScrollChanged(e,t){t?document.addEventListener("scroll",this.closeMenu):document.removeEventListener("scroll",this.closeMenu)}addTriggerListeners(){this._triggerAbortController=new AbortController;const{signal:e}=this._triggerAbortController;this._trigger?.addEventListener("keydown",this.triggerKeydownHandler,{signal:e}),this.openOnHover?this._trigger?.addEventListener("mouseover",this.openMenu,{signal:e}):this.openOnContext?(this._trigger?.addEventListener("contextmenu",this.openMenu,{signal:e}),document.addEventListener("click",this.documentClickHandler,{signal:e})):this._trigger?.addEventListener("click",this.toggleMenu,{signal:e})}addMenuListListeners(){this._menuListAbortController=new AbortController;const{signal:e}=this._menuListAbortController;this._menuList?.addEventListener("toggle",this.toggleHandler,{signal:e}),this.persistOnItemClick||this._menuList?.addEventListener("change",this.closeMenu,{signal:e})}menuKeydownHandler(e){if(e.defaultPrevented)return;switch(e.key){case"Escape":e.preventDefault(),this._open&&(this.closeMenu(),this.focusTrigger());break;case"Tab":if(this._open&&this.closeMenu(),e.shiftKey&&e.composedPath()[0]!==this._trigger&&e.composedPath()[0].assignedSlot!==this.primaryAction)this.focusTrigger();else if(e.shiftKey)return!0;default:return!0}}}xt([a({attribute:"open-on-hover",mode:"boolean"})],tt.prototype,"openOnHover",2),xt([a({attribute:"open-on-context",mode:"boolean"})],tt.prototype,"openOnContext",2),xt([a({attribute:"close-on-scroll",mode:"boolean"})],tt.prototype,"closeOnScroll",2),xt([a({attribute:"persist-on-item-click",mode:"boolean"})],tt.prototype,"persistOnItemClick",2),xt([a({mode:"boolean"})],tt.prototype,"split",2),xt([f],tt.prototype,"slottedMenuList",2),xt([f],tt.prototype,"slottedTriggers",2),xt([f],tt.prototype,"primaryAction",2);const rh=g`${w("inline-block")} ::slotted([slot='trigger']){anchor-name:--menu-trigger}::slotted([popover]){margin:0;max-height:var(--menu-max-height,auto);position-anchor:--menu-trigger;inset:unset;inset-block-start:anchor(end);inset-inline-start:anchor(start);position-try-fallbacks:flip-block;position:fixed;z-index:1}:host([split]) ::slotted([popover]){inset-inline-start:auto;inset-inline-end:anchor(end)}::slotted([popover]:not(:popover-open)){display:none}:host([split]){display:inline-flex}:host([split]) ::slotted([slot='primary-action']){border-inline-end:${I} solid ${Re};border-start-end-radius:0;border-end-end-radius:0}:host([split]) ::slotted([slot='primary-action']:focus-visible){z-index:1}:host([split]) ::slotted([slot='primary-action'][appearance='primary']){border-inline-end:${I} solid white}:host([split]) ::slotted([slot='trigger']){border-inline-start:0;border-start-start-radius:0;border-end-start-radius:0}`;function r0(){return b`<template @keydown=${(o,e)=>o.menuKeydownHandler(e.event)}><slot name=primary-action ${A("primaryAction")}></slot><slot name=trigger ${K({property:"slottedTriggers",filter:Bo()})}></slot><slot ${K({property:"slottedMenuList",filter:Bo()})}></slot></template>`}const nh=r0(),ih=tt.compose({name:e0,template:nh,styles:rh});ih.define(u.registry);const n0={multiline:"multiline",singleline:"singleline"},i0={rounded:"rounded",square:"square"},s0={success:"success",warning:"warning",error:"error",info:"info"},a0=`${u.prefix}-message-bar`;var l0=Object.defineProperty,c0=Object.getOwnPropertyDescriptor,Ki=(o,e,t,r)=>{for(var n=r>1?void 0:r?c0(e,t):e,i=o.length-1,s;i>=0;i--)(s=o[i])&&(n=(r?s(e,t,n):s(n))||n);return r&&n&&l0(e,t,n),n};class lr extends x{constructor(){super(),this.elementInternals=this.attachInternals(),this.dismissMessageBar=()=>{this.$emit("dismiss",{})},this.elementInternals.role="status"}}Ki([a],lr.prototype,"shape",2),Ki([a],lr.prototype,"layout",2),Ki([a],lr.prototype,"intent",2);const sh=g`:host{display:grid;box-sizing:border-box;font-family:${v};font-size:${D};line-height:${j};width:100%;background:${oo};border:1px solid ${Re};padding-inline:${oe};border-radius:${B};min-height:36px;align-items:center;grid-template:'icon body actions dismiss'/auto 1fr auto auto;contain:layout style paint}:host([shape='square']){border-radius:0}:host([intent='success']){background-color:${ci};border-color:${Oa}}:host([intent='warning']){background-color:${hi};border-color:${pi}}:host([intent='error']){background-color:${ii};border-color:${ai}}:host([layout='multiline']){grid-template-areas:'icon body dismiss' 'actions actions actions';grid-template-columns:auto 1fr auto;grid-template-rows:auto auto 1fr;padding-block:${Wo};padding-inline:${oe}}.content{grid-area:body;max-width:520px;padding-block:${Wo};padding-inline:0}:host([layout='multiline']) .content{padding:0}::slotted([slot='icon']){display:flex;grid-area:icon;flex-direction:column;align-items:center;color:${Y};margin-inline-end:${Ae}}:host([layout='multiline']) ::slotted([slot='icon']){align-items:start;height:100%}::slotted([slot='dismiss']){grid-area:dismiss}.actions{grid-area:actions;display:flex;justify-self:end;margin-inline-end:${Ae};gap:${Ae}}:host([layout='multiline']) .actions{margin-block-start:${Wo};margin-inline-end:0}:host([layout='multiline']) ::slotted([slot='dismiss']){align-items:start;height:100%;padding-block-start:${re}}::slotted(*){font-size:inherit}`;function d0(){return b`<slot name=icon></slot><div class=content><slot></slot></div><div class=actions><slot name=actions></slot></div><slot name=dismiss></slot>`}const ah=d0(),lh=lr.compose({name:a0,template:ah,styles:sh,shadowOptions:{mode:u.shadowRootMode}});lh.define(u.registry);var h0=Object.defineProperty,u0=Object.getOwnPropertyDescriptor,xe=(o,e,t,r)=>{for(var n=r>1?void 0:r?u0(e,t):e,i=o.length-1,s;i>=0;i--)(s=o[i])&&(n=(r?s(e,t,n):s(n))||n);return r&&n&&h0(e,t,n),n};class ne extends x{constructor(){super(),this.active=!1,this.id=Ze("option-"),this.initialValue="",this.multiple=!1,this.elementInternals=this.attachInternals(),this._value=this.initialValue,this.elementInternals.role="option"}activeChanged(e,t){$(this.elementInternals,"active",t)}currentSelectedChanged(e,t){this.selected=!!t}defaultSelectedChanged(e,t){this.selected=!!t}descriptionSlotChanged(e,t){$(this.elementInternals,"description",!!t?.length)}disabledChanged(e,t){this.elementInternals.ariaDisabled=this.disabled?"true":"false",$(this.elementInternals,"disabled",this.disabled),this.setFormValue(!this.disabled&&this.selected?this.value:null)}disabledAttributeChanged(e,t){this.disabled=!!t}initialValueChanged(e,t){this._value=t}multipleChanged(e,t){$(this.elementInternals,"multiple",t),this.selected=!1}get form(){return this.elementInternals.form}get labels(){return Object.freeze(Array.from(this.elementInternals.labels))}get selected(){return m.track(this,"selected"),!!this.currentSelected}set selected(e){this.currentSelected=e,E.enqueue(()=>{this.elementInternals&&(this.setFormValue(e?this.value:null),this.elementInternals.ariaSelected=e?"true":"false",$(this.elementInternals,"selected",e))}),m.notify(this,"selected")}get text(){return this.freeform?this.value.replace(/\s+/g," ").trim():(this.textAttribute??this.textContent)?.replace(/\s+/g," ").trim()??""}get value(){return m.track(this,"value"),this._value??this.text}set value(e){this._value=e,this.$fastController.isConnected&&(this.setFormValue(this.selected?e:null),this.freeformOutputs?.forEach(t=>{t.value=e}),m.notify(this,"value"))}connectedCallback(){super.connectedCallback(),this.freeform&&(this.value="",this.hidden=!0,this.selected=!1)}setFormValue(e,t){if(this.disabled){this.elementInternals.setFormValue(null);return}this.elementInternals.setFormValue(e,e??t)}toggleSelected(e=!this.selected){this.selected=e}}ne.formAssociated=!0,xe([f],ne.prototype,"active",2),xe([a({attribute:"current-selected",mode:"boolean"})],ne.prototype,"currentSelected",2),xe([a({attribute:"selected",mode:"boolean"})],ne.prototype,"defaultSelected",2),xe([f],ne.prototype,"descriptionSlot",2),xe([f],ne.prototype,"disabled",2),xe([a({attribute:"disabled",mode:"boolean"})],ne.prototype,"disabledAttribute",2),xe([a({attribute:"form"})],ne.prototype,"formAttribute",2),xe([a({mode:"boolean"})],ne.prototype,"freeform",2),xe([a({attribute:"id"})],ne.prototype,"id",2),xe([a({attribute:"value",mode:"fromView"})],ne.prototype,"initialValue",2),xe([f],ne.prototype,"multiple",2),xe([a],ne.prototype,"name",2),xe([f],ne.prototype,"start",2),xe([a({attribute:"text",mode:"fromView"})],ne.prototype,"textAttribute",2);const ch=g`${w("inline-grid")} :host{-webkit-tap-highlight-color:transparent;${Hi} align-items:center;background-color:${P};border-radius:${B};box-sizing:border-box;color:${Ne};column-gap:${te};cursor:pointer;grid-template-areas:'indicator start content';grid-template-columns:auto auto 1fr;min-height:32px;padding:${ve};text-align:start}.content{grid-area:content;line-height:1}::slotted([slot='start']){grid-area:start}:host(:hover){background-color:${zo};color:${Tt}}:host(:active){background-color:${Fr};color:${At}}:host(:disabled){background-color:${P};color:${z};cursor:default}.checkmark-16-filled{fill:currentColor;width:16px}slot[name='checked-indicator']>*,::slotted([slot='checked-indicator']){aspect-ratio:1;flex:0 0 auto;grid-area:indicator;visibility:hidden}:host(${Ei}) :is(slot[name='checked-indicator']>*,::slotted([slot='checked-indicator'])){visibility:visible}:host(${uo}) .checkmark-16-filled,:host(:not(${uo})) .checkmark-12-regular{display:none}:host(${uo}) .checkmark-12-regular{background-color:${P};border-radius:${Te};border:${I} solid ${Ve};box-sizing:border-box;cursor:pointer;fill:transparent;position:relative;visibility:visible;width:16px}:host(${uo}${Ei}) .checkmark-12-regular{background-color:${ht};border-color:${at};fill:${dt}}:host(:disabled${uo}) .checkmark-12-regular{border-color:${be}}:host(:disabled${uo}${Ei}) .checkmark-12-regular{background-color:${st}}:host(${Fv}){border:${ue} solid ${ce}}@supports (selector(:host(:has(*)))){:host(:has([slot='start']:not([size='16']))){column-gap:${ve}}}:host(${Lv}){column-gap:${ve};grid-template-areas:'indicator start content' 'indicator start description'}::slotted([slot='description']){color:${Y};grid-area:description;${Vi}}@media (forced-colors:active){:host(:disabled){color:GrayText}}`,p0=b.partial('<svg aria-hidden=true class=checkmark-16-filled viewBox="0 0 16 16"><path d="M14.046 3.486a.75.75 0 0 1-.032 1.06l-7.93 7.474a.85.85 0 0 1-1.188-.022l-2.68-2.72a.75.75 0 1 1 1.068-1.053l2.234 2.267l7.468-7.038a.75.75 0 0 1 1.06.032"/></svg> <svg aria-hidden=true class=checkmark-12-regular viewBox="0 0 12 12"><path d="M9.854 3.146a.5.5 0 0 1 0 .708l-4.5 4.5a.5.5 0 0 1-.708 0l-2-2a.5.5 0 1 1 .708-.708L5 7.293l4.146-4.147a.5.5 0 0 1 .708 0"/></svg>');function g0(o={}){return b`<slot name=checked-indicator>${fe(o.checkedIndicator)}</slot>${He(o)}<div class=content part=content><slot ${K({property:"freeformOutputs",filter:Bo("output")})}></slot></div><div class=description part=description><slot name=description ${K("descriptionSlot")}></slot></div>`}const dh=g0({checkedIndicator:p0}),hh=ne.compose({name:Q$,template:dh,styles:ch});hh.define(u.registry);const f0={medium:"medium",large:"large"},b0={rounded:"rounded",square:"square"},uh={success:"success",warning:"warning",error:"error"},m0=`${u.prefix}-progress-bar`;var v0=Object.defineProperty,$0=Object.getOwnPropertyDescriptor,cr=(o,e,t,r)=>{for(var n=r>1?void 0:r?$0(e,t):e,i=o.length-1,s;i>=0;i--)(s=o[i])&&(n=(r?s(e,t,n):s(n))||n);return r&&n&&v0(e,t,n),n};class Xt extends x{constructor(){super(),this.elementInternals=this.attachInternals(),this.validationState=null,this.elementInternals.role="progressbar"}indicatorChanged(){this.setIndicatorWidth()}validationStateChanged(e,t){Et(this.elementInternals,e,t,uh)}valueChanged(e,t){this.elementInternals&&(this.elementInternals.ariaValueNow=typeof t=="number"?`${t}`:null),this.setIndicatorWidth()}minChanged(e,t){this.elementInternals&&(this.elementInternals.ariaValueMin=typeof t=="number"?`${t}`:null),this.setIndicatorWidth()}maxChanged(e,t){this.elementInternals&&(this.elementInternals.ariaValueMax=typeof t=="number"?`${t}`:null),this.setIndicatorWidth()}setIndicatorWidth(){CSS.supports("width: attr(value type(<number>))")||E.enqueue(()=>{if(typeof this.value!="number"){this.indicator?.style.removeProperty("width");return}const e=this.min??0,t=this.max??100,r=this.value??0,n=t-e,i=n===0?0:Math.fround((r-e)/n*100);this.indicator?.style.setProperty("width",`${i}%`)})}}cr([f],Xt.prototype,"indicator",2),cr([a({attribute:"validation-state"})],Xt.prototype,"validationState",2),cr([a({converter:ae})],Xt.prototype,"value",2),cr([a({converter:ae})],Xt.prototype,"min",2),cr([a({converter:ae})],Xt.prototype,"max",2);var y0=Object.defineProperty,k0=Object.getOwnPropertyDescriptor,ph=(o,e,t,r)=>{for(var n=r>1?void 0:r?k0(e,t):e,i=o.length-1,s;i>=0;i--)(s=o[i])&&(n=(r?s(e,t,n):s(n))||n);return r&&n&&y0(e,t,n),n};class un extends Xt{}ph([a],un.prototype,"thickness",2),ph([a],un.prototype,"shape",2);const gh=g`${w("block")} :host{width:100%;height:2px;overflow-x:hidden;background-color:${ro};border-radius:${B};contain:content;@supports (width:attr(value type(<number>))){--max:attr(max type(<number>),100);--min:attr(min type(<number>),0);--value:attr(value type(<number>),0);--indicator-width:clamp(0%,calc((var(--value) - var(--min))/(var(--max) - var(--min)) * 100%),100%)}}:host([thickness='large']){height:4px}:host([shape='square']){border-radius:${Do}}.indicator{background-color:${ht};border-radius:inherit;height:100%}:host([value]) .indicator{transition:all 0.2s ease-in-out;@supports (width:attr(value type(<number>))){width:var(--indicator-width)}}:host(:not([value])) .indicator{position:relative;width:33%;background-image:linear-gradient( to right,${ro} 0%,${le} 50%,${ro} 100% );animation-name:indeterminate;animation-duration:3s;animation-timing-function:linear;animation-iteration-count:infinite}:host([validation-state='error']) .indicator{background-color:${si}}:host([validation-state='warning']) .indicator{background-color:${ui}}:host([validation-state='success']) .indicator{background-color:${di}}@layer animations{@media (prefers-reduced-motion:no-preference){:host([value]){transition:none}:host(:not([value])) .indicator{animation-duration:0.01ms;animation-iteration-count:1}}}@keyframes indeterminate{0%{inset-inline-start:-33%}100%{inset-inline-start:100%}}@media (forced-colors:active){:host{background-color:CanvasText}.indicator,:host(:is([validation-state='success'],[validation-state='warning'],[validation-state='error'])) .indicator{background-color:Highlight}}`;function x0(){return b`<div class=indicator part=indicator ${A("indicator")}></div>`}const fh=x0(),bh=un.compose({name:m0,template:fh,styles:gh});bh.define(u.registry);const Yi=ye,w0=`${u.prefix}-radio-group`;function S0(o,e="-radio"){return as(e)(o)}const B0=`${u.prefix}-radio`;var C0=Object.defineProperty,P0=Object.getOwnPropertyDescriptor,wt=(o,e,t,r)=>{for(var n=r>1?void 0:r?P0(e,t):e,i=o.length-1,s;i>=0;i--)(s=o[i])&&(n=(r?s(e,t,n):s(n))||n);return r&&n&&C0(e,t,n),n};class qe extends x{constructor(){super(),this.isNavigating=!1,this.dirtyState=!1,this.elementInternals=this.attachInternals(),this.elementInternals.role="radiogroup",this.elementInternals.ariaOrientation=this.orientation??Yi.horizontal}checkedIndexChanged(e,t){this.enabledRadios&&this.checkRadio(t)}disabledChanged(e,t){this.radios&&(this.checkedIndex=-1,this.radios?.forEach(r=>{r.disabled=!!r.disabledAttribute||!!this.disabled}))}initialValueChanged(e,t){this.value=t??""}nameChanged(e,t){this.isConnected&&t&&this.radios?.forEach(r=>{r.name=this.name})}orientationChanged(e,t){this.elementInternals.ariaOrientation=this.orientation??Yi.horizontal}radiosChanged(e,t){const r=t?.length;if(!r)return;!this.name&&t.every(s=>s.name===t[0].name)&&(this.name=t[0].name);const n=this.enabledRadios.findLastIndex(s=>s.initialChecked);t.forEach((s,c)=>{s.ariaPosInSet=`${c+1}`,s.ariaSetSize=`${r}`,this.initialValue&&!this.dirtyState?s.checked=s.value===this.initialValue:s.checked=c===n,s.name=this.name??s.name,s.disabled=!!this.disabled||!!s.disabledAttribute,s.toggleAttribute("focusgroupstart",s.checked&&!s.disabled)}),!this.dirtyState&&this.initialValue&&(this.value=this.initialValue),(!this.value||this.value&&typeof this.checkedIndex!="number"&&n>=0)&&(this.checkedIndex=n);const i=t.map(s=>s.id).join(" ").trim();i&&this.setAttribute("aria-owns",i)}requiredChanged(e,t){this.elementInternals.ariaRequired=t?"true":null,this.setValidity()}slottedRadiosChanged(e,t){this.radios=[...this.querySelectorAll("*")].filter(r=>S0(r))}get enabledRadios(){return this.disabled?[]:this.radios?.filter(e=>!e.disabled)??[]}get validationMessage(){if(this.elementInternals.validationMessage)return this.elementInternals.validationMessage;if(this.enabledRadios?.[0]?.validationMessage)return this.enabledRadios[0].validationMessage;if(!this._validationFallbackMessage){const e=document.createElement("input");e.type="radio",e.required=!0,e.checked=!1,this._validationFallbackMessage=e.validationMessage}return this._validationFallbackMessage}get validity(){return this.elementInternals.validity}get value(){return m.notify(this,"value"),this.enabledRadios.find(e=>e.checked)?.value??null}set value(e){const t=this.enabledRadios.findIndex(r=>r.value===e);this.checkedIndex=t,this.$fastController.isConnected&&(this.setFormValue(e),this.setValidity()),m.track(this,"value")}changeHandler(e){if(this===e.target)return!0;this.dirtyState=!0;const t=this.enabledRadios.indexOf(e.target);return this.checkRadio(t),this.radios?.filter(r=>r.disabled)?.forEach(r=>{r.checked=!1}),!0}checkRadio(e=this.checkedIndex,t=!1){let r=this.checkedIndex;this.enabledRadios.forEach((n,i)=>{const s=i===e;n.checked=s,s&&(r=i,t&&n.$emit("change"))}),this.checkedIndex=r,this.setFormValue(this.value),this.setValidity()}checkValidity(){return this.elementInternals.checkValidity()}clickHandler(e){return this===e.target&&this.enabledRadios[Math.max(0,this.checkedIndex)]?.focus(),!0}focus(){this.enabledRadios[Math.max(0,this.checkedIndex)]?.focus()}formResetCallback(){this.dirtyState=!1,this.checkedIndex=-1,this.setFormValue(this.value),this.setValidity()}focusinHandler(e){if(!this.disabled&&(this.isNavigating||this.value)){this.radios?.forEach(r=>{r.disabled&&r.checked&&(r.checked=!1)});const t=this.enabledRadios.indexOf(e.target);t>-1&&this.checkRadio(t,!0),this.isNavigating=!1}return!0}keydownHandler(e){switch(e.key){case"ArrowUp":case"ArrowDown":case"ArrowLeft":case"ArrowRight":case"Home":case"End":this.isNavigating=!0;break;case" ":this.checkRadio();break}return!0}disabledRadioHandler(e){e.detail===!0&&e.target.checked&&(this.checkedIndex=-1)}reportValidity(){return this.elementInternals.reportValidity()}setFormValue(e,t){this.elementInternals.setFormValue(e,e??t)}setValidity(e,t,r){if(this.$fastController.isConnected){if(!(this.required&&!this.value&&!this.disabled)){this.enabledRadios?.forEach(c=>{c.elementInternals.setValidity({})});return}const i={valueMissing:!0,...e},s=t??this.validationMessage;this.enabledRadios?.forEach((c,h)=>{h===0?c.elementInternals.setValidity(i,s,c):c.elementInternals.setValidity({})})}}}qe.formAssociated=!0,wt([f],qe.prototype,"checkedIndex",2),wt([a({attribute:"disabled",mode:"boolean"})],qe.prototype,"disabled",2),wt([a({attribute:"value",mode:"fromView"})],qe.prototype,"initialValue",2),wt([a],qe.prototype,"name",2),wt([a],qe.prototype,"orientation",2),wt([f],qe.prototype,"radios",2),wt([a({mode:"boolean"})],qe.prototype,"required",2),wt([f],qe.prototype,"slottedRadios",2);class mh extends qe{disconnectedCallback(){this.fg?.disconnect(),super.disconnectedCallback()}radiosChanged(e,t){super.radiosChanged(e,t),this.fgItems??(this.fgItems=new hn(()=>this.enabledRadios?.filter(r=>!r.hidden)??[],()=>this.enabledRadios?.find(r=>r.checked)??null)),this.fg?this.fg.update():this.fg=new dn(this,this.fgItems,{definition:{behavior:"radiogroup",axis:void 0,wrap:!0}})}}const vh=g`${w("flex")} :host{-webkit-tap-highlight-color:transparent;cursor:pointer;gap:${Wr}}:host([orientation='vertical']){flex-direction:column;justify-content:flex-start}:host([orientation='horizontal']){flex-direction:row}::slotted(*){color:${Y}}::slotted(:hover){color:${Ne}}::slotted(:active){color:${T}}::slotted(${$e}){color:${z}}::slotted(${y}){color:${T}}:host([slot='input']){margin:${re} ${Ae}}`;function I0(){return b`<template focusgroup="radiogroup wrap" @disabled=${(o,e)=>o.disabledRadioHandler(e.event)} @change=${(o,e)=>o.changeHandler(e.event)} @click=${(o,e)=>o.clickHandler(e.event)} @focusin=${(o,e)=>o.focusinHandler(e.event)} @keydown=${(o,e)=>o.keydownHandler(e.event)}><slot ${K("slottedRadios")}></slot></template>`}const $h=I0(),yh=mh.compose({name:w0,template:$h,styles:vh});yh.define(u.registry);class kh extends _e{constructor(){super(),this.elementInternals.role="radio"}disabledChanged(e,t){super.disabledChanged(e,t),this.$emit("disabled",t,{bubbles:!0})}requiredChanged(){}setFormValue(){}setValidity(){this.elementInternals.setValidity({})}toggleChecked(e=!0){super.toggleChecked(e)}}const xh=g`${w("inline-flex")} :host{--size:16px;aspect-ratio:1;background-color:${P};border:${I} solid ${Ve};border-radius:${de};box-sizing:border-box;position:relative;width:var(--size)}:host([size='large']){--size:20px}.checked-indicator{aspect-ratio:1;border-radius:${de};color:${dt};inset:0;margin:auto;position:absolute;width:calc(var(--size) * 0.625)}:host(:not([slot='input']))::after{content:''/'';position:absolute;display:block;inset:-8px;box-sizing:border-box;outline:none;border:${ue} solid ${X};border-radius:${B}}:host(:not([slot='input']):focus-visible)::after{border-color:${ce}}:host(:hover){border-color:${ut}}:host(${y}){border-color:${at}}:host(${y}) .checked-indicator{background-color:${ht}}:host(${y}:hover) .checked-indicator{background-color:${zt}}:host(:active){border-color:${pt}}:host(${y}:active) .checked-indicator{background-color:${_t}}:host(:focus-visible){outline:none}:host(${$e}){background-color:${st};border-color:${be}}:host(${y}${$e}) .checked-indicator{background-color:${be}}@media (forced-colors:active){:host{border-color:FieldText}:host(:not([slot='input']:focus-visible))::after{border-color:Canvas}:host(:not(${$e}):hover),:host(:not([slot='input']):focus-visible)::after{border-color:Highlight}.checked-indicator{color:HighlightText}:host(${y}) .checked-indicator{background-color:FieldText}:host(${y}:not(${$e}):hover) .checked-indicator{background-color:Highlight}:host(${$e}){border-color:GrayText;color:GrayText}:host(${$e}${y}) .checked-indicator{background-color:GrayText}}`,N0=b.partial("<span part=checked-indicator class=checked-indicator role=presentation></span>");function T0(o={}){return b`<template @click=${(e,t)=>e.clickHandler(t.event)} @keydown=${(e,t)=>e.keydownHandler(t.event)} @keyup=${(e,t)=>e.keyupHandler(t.event)}><slot name=checked-indicator>${fe(o.checkedIndicator)}</slot></template>`}const wh=T0({checkedIndicator:N0}),Sh=kh.compose({name:B0,template:wh,styles:xh});Sh.define(u.registry);const A0={neutral:"neutral",brand:"brand",marigold:"marigold"},z0={small:"small",medium:"medium",large:"large"},_0=`${u.prefix}-rating-display`;var O0=Object.defineProperty,F0=Object.getOwnPropertyDescriptor,dr=(o,e,t,r)=>{for(var n=r>1?void 0:r?F0(e,t):e,i=o.length-1,s;i>=0;i--)(s=o[i])&&(n=(r?s(e,t,n):s(n))||n);return r&&n&&O0(e,t,n),n};const E0=CSS.supports("width: attr(value type(<number>))"),vo={max:"--_attr-max",value:"--_attr-value",maskImageFilled:"--_mask-image-filled",maskImageOutlined:"--_mask-image-outlined"};function pn(o){return o?["data:image/svg+xml",encodeURIComponent(o.replace(/\n/g,"").replace(/\s+/g," "))].join(","):""}class Ut extends x{constructor(){super(),this.elementInternals=this.attachInternals(),this.defaultCustomIconViewBox="0 0 20 20",this.elementInternals.role="img",this.numberFormatter=new Intl.NumberFormat}iconSlotChanged(){this.handleSlotChange()}maxChanged(){this.setCustomPropertyValue("max")}valueChanged(){this.setCustomPropertyValue("value")}connectedCallback(){super.connectedCallback(),this.setCustomPropertyValue("value"),this.setCustomPropertyValue("max")}get formattedCount(){return this.count?this.numberFormatter.format(this.count):""}handleSlotChange(){const e=this.iconSlot.assignedElements()?.find(t=>t.nodeName.toLowerCase()==="svg");this.renderSlottedIcon(e??null)}renderSlottedIcon(e){if(!e){this.display.style.removeProperty(vo.maskImageFilled),this.display.style.removeProperty(vo.maskImageOutlined);return}const t=e.innerHTML,r=e.getAttribute("viewBox")??this.iconViewBox??this.defaultCustomIconViewBox,n=`
6
6
  <svg
7
7
  viewBox="${r}"
8
8
  xmlns="http://www.w3.org/2000/svg"
@@ -13,13 +13,13 @@ Template: ${d.slice(0,200)}${d.length>200?"...":""}`),new Ku(S.join(`
13
13
  fill="none"
14
14
  stroke="black"
15
15
  stroke-width="2"
16
- >${t}</svg>`;this.display.style.setProperty(vo.maskImageFilled,`url(${pn(n)})`),this.display.style.setProperty(vo.maskImageOutlined,`url(${pn(i)})`)}setCustomPropertyValue(e){requestAnimationFrame(()=>{if(!this.display||E0)return;const t=this[e];typeof t!="number"||Number.isNaN(t)?this.display.style.removeProperty(vo[e]):this.display.style.setProperty(vo[e],`${t}`)})}}cr([f],Ut.prototype,"iconSlot",2),cr([a({converter:ae})],Ut.prototype,"count",2),cr([a({attribute:"icon-view-box"})],Ut.prototype,"iconViewBox",2),cr([a({converter:ae})],Ut.prototype,"max",2),cr([a({converter:ae})],Ut.prototype,"value",2);var D0=Object.defineProperty,L0=Object.getOwnPropertyDescriptor,Ji=(o,e,t,r)=>{for(var n=r>1?void 0:r?L0(e,t):e,i=o.length-1,s;i>=0;i--)(s=o[i])&&(n=(r?s(e,t,n):s(n))||n);return r&&n&&D0(e,t,n),n};class dr extends Ut{constructor(){super(...arguments),this.compact=!1}}Ji([a],dr.prototype,"color",2),Ji([a],dr.prototype,"size",2),Ji([a({mode:"boolean"})],dr.prototype,"compact",2);const Bh='<path d="M5.28347 1.54605C5.57692 0.951448 6.42479 0.951449 6.71825 1.54605L7.82997 3.79866L10.3159 4.15988C10.9721 4.25523 11.2341 5.0616 10.7592 5.52443L8.96043 7.27785L9.38507 9.7537C9.49716 10.4072 8.81122 10.9056 8.22431 10.597L6.00086 9.4281L3.7774 10.597C3.19049 10.9056 2.50455 10.4072 2.61664 9.7537L3.04128 7.27784L1.24246 5.52443C0.767651 5.0616 1.02966 4.25523 1.68584 4.15988L4.17174 3.79865L5.28347 1.54605Z" />',M0=`
16
+ >${t}</svg>`;this.display.style.setProperty(vo.maskImageFilled,`url(${pn(n)})`),this.display.style.setProperty(vo.maskImageOutlined,`url(${pn(i)})`)}setCustomPropertyValue(e){requestAnimationFrame(()=>{if(!this.display||E0)return;const t=this[e];typeof t!="number"||Number.isNaN(t)?this.display.style.removeProperty(vo[e]):this.display.style.setProperty(vo[e],`${t}`)})}}dr([f],Ut.prototype,"iconSlot",2),dr([a({converter:ae})],Ut.prototype,"count",2),dr([a({attribute:"icon-view-box"})],Ut.prototype,"iconViewBox",2),dr([a({converter:ae})],Ut.prototype,"max",2),dr([a({converter:ae})],Ut.prototype,"value",2);var D0=Object.defineProperty,L0=Object.getOwnPropertyDescriptor,Ji=(o,e,t,r)=>{for(var n=r>1?void 0:r?L0(e,t):e,i=o.length-1,s;i>=0;i--)(s=o[i])&&(n=(r?s(e,t,n):s(n))||n);return r&&n&&D0(e,t,n),n};class hr extends Ut{constructor(){super(...arguments),this.compact=!1}}Ji([a],hr.prototype,"color",2),Ji([a],hr.prototype,"size",2),Ji([a({mode:"boolean"})],hr.prototype,"compact",2);const Bh='<path d="M5.28347 1.54605C5.57692 0.951448 6.42479 0.951449 6.71825 1.54605L7.82997 3.79866L10.3159 4.15988C10.9721 4.25523 11.2341 5.0616 10.7592 5.52443L8.96043 7.27785L9.38507 9.7537C9.49716 10.4072 8.81122 10.9056 8.22431 10.597L6.00086 9.4281L3.7774 10.597C3.19049 10.9056 2.50455 10.4072 2.61664 9.7537L3.04128 7.27784L1.24246 5.52443C0.767651 5.0616 1.02966 4.25523 1.68584 4.15988L4.17174 3.79865L5.28347 1.54605Z" />',M0=`
17
17
  <svg viewBox="0 0 12 12" xmlns="http://www.w3.org/2000/svg">${Bh}</svg>
18
18
  `,H0=`
19
19
  <svg viewBox="0 0 12 12" xmlns="http://www.w3.org/2000/svg"
20
20
  fill="none" stroke="black" stroke-width="2"
21
21
  >${Bh}</svg>
22
- `;function V0(){return b`<div ${A("display")} class=display aria-hidden=true></div><slot name=icon ${A("iconSlot")} @slotchange=${o=>o.handleSlotChange()}></slot><slot name=value><span class=value-label aria-hidden=true>${o=>o.value}</span></slot><slot name=count><span class=count-label aria-hidden=true>${o=>o.formattedCount}</span></slot>`}const Ch=V0(),Ph=g`${w("inline-flex")} :host{--_icon-size:16px;--_icon-gradient-degree:90deg;--_icon-color-value:${ja};--_icon-color-empty:${fi};--_default-value:0;--_default-max:5;--_mask-image-filled:url(${pn(M0)});--_mask-image-outlined:url(${pn(H0)});--_mask-position-x:left;align-items:center;color:${T};font-family:${v};font-size:${D};line-height:${j};contain:layout style;user-select:none}:host(:dir(rtl)){--_icon-gradient-degree:-90deg;--_mask-position-x:right}:host([size='small']){--_icon-size:12px}:host([size='large']){--_icon-size:20px;font-size:${O};line-height:${L}}::slotted([slot='icon']){display:none}:host([color='neutral']){--_icon-color-value:${T};--_icon-color-empty:${ro}}:host([color='brand']){--_icon-color-value:${Ao};--_icon-color-empty:${ti}}@supports (width:attr(value type(<number>))){:host{--_attr-value:attr(value type(<number>));--_attr-max:attr(max type(<number>))}}:host([compact]) .display{--_max:1}.display{--_value:max(0,round(var(--_attr-value,var(--_default-value)) * 2)/2);--_max:max(1,var(--_attr-max,var(--_default-max)));--_mask-inline-size:calc(var(--_icon-size) + ${V});--_icon-gradient-stop-visual-adjustment:0px;--_icon-gradient-stop:calc( var(--_mask-inline-size) * var(--_value) - var(--_icon-gradient-stop-visual-adjustment) );background-image:linear-gradient( var(--_icon-gradient-degree),var(--_icon-color-value) var(--_icon-gradient-stop),var(--_icon-color-empty) calc(var(--_icon-gradient-stop) + 0.5px) );block-size:var(--_icon-size);display:grid;inline-size:calc(var(--_max) * var(--_mask-inline-size) - ${V}/2);mask-image:var(--_mask-image-filled);mask-repeat:repeat no-repeat;mask-size:var(--_mask-inline-size) var(--_icon-size);mask-position:var(--_mask-position-x) center}.value-label,::slotted([slot='value']){display:block;margin-inline-start:${te};font-weight:${H}}:host([size='small']) .value-label,:host([size='small']) ::slotted([slot='value']){margin-inline-start:${V}}:host([size='large']) .value-label,:host([size='large']) ::slotted([slot='value']){margin-inline-start:${ve}}:host(:not([count])) .count-label{display:none}.count-label::before,::slotted([slot='count'])::before{content:'·';margin-inline:${te}}:host([size='small']) .count-label::before,:host([size='small']) ::slotted([slot='count'])::before{margin-inline:${V}}:host([size='large']) .count-label::before,:host([size='large']) ::slotted([slot='count'])::before{margin-inline:${ve}}@media (forced-colors:active){.display{--_icon-color-value:CanvasText;--_icon-color-empty:Canvas;--_icon-gradient-stop-visual-adjustment:0.5px;forced-color-adjust:none}.display::before{background-color:var(--_icon-color-value);content:'';grid-area:1/1/-1/-1;mask:inherit;mask-image:var(--_mask-image-outlined)}}`,Ih=dr.compose({name:_0,template:Ch,styles:Ph});Ih.define(u.registry);const R0={small:"small",medium:"medium"},Nh=ye,Th={singleValue:"single-value"},j0=`${u.prefix}-slider`;function Ah(o,e,t){return Math.min(Math.max(t,o),e)}const Qi={fromView(o){const e=parseFloat(o);return Number.isNaN(e)?"":e.toString()},toView(o){const e=parseFloat(o);return Number.isNaN(e)?void 0:e.toString()}};function zh(o,e,t,r){let n=Ah(0,1,(o-e)/(t-e));return r===lt.rtl&&(n=1-n),n}var q0=Object.defineProperty,W0=Object.getOwnPropertyDescriptor,ie=(o,e,t,r)=>{for(var n=r>1?void 0:r?W0(e,t):e,i=o.length-1,s;i>=0;i--)(s=o[i])&&(n=(r?s(e,t,n):s(n))||n);return r&&n&&q0(e,t,n),n};class W extends x{constructor(){super(),this.elementInternals=this.attachInternals(),this.direction=lt.ltr,this.isDragging=!1,this.trackWidth=0,this.trackMinWidth=0,this.trackHeight=0,this.trackLeft=0,this.trackMinHeight=0,this.valueTextFormatter=()=>"",this.disabled=!1,this.min="",this.max="",this.step="",this.mode=Th.singleValue,this.setupTrackConstraints=()=>{const e=this.track.getBoundingClientRect();this.trackWidth=this.track.clientWidth,this.trackMinWidth=this.track.clientLeft,this.trackHeight=e.top,this.trackMinHeight=e.bottom,this.trackLeft=this.getBoundingClientRect().left,this.trackWidth===0&&(this.trackWidth=1)},this.handleThumbPointerDown=e=>{if(this.isDisabled)return!0;const t=e!==null?window.addEventListener:window.removeEventListener;return t("pointerup",this.handleWindowPointerUp),t("pointermove",this.handlePointerMove,{passive:!0}),t("touchmove",this.handlePointerMove,{passive:!0}),t("touchend",this.handleWindowPointerUp),this.isDragging=e!==null,!0},this.handlePointerMove=e=>{if(this.isDisabled||e.defaultPrevented)return;const t=window.TouchEvent&&e instanceof TouchEvent?e.touches[0]:e,r=this.thumb.getBoundingClientRect().width,n=this.orientation===ye.vertical?t.pageY-document.documentElement.scrollTop:t.pageX-document.documentElement.scrollLeft-this.trackLeft-r/2;this.value=`${this.calculateNewValue(n)}`},this.handleWindowPointerUp=()=>{this.stopDragging()},this.stopDragging=()=>{this.isDragging=!1,this.handlePointerDown(null),this.handleThumbPointerDown(null)},this.handlePointerDown=e=>{if(e===null||!this.isDisabled){const t=e!==null?window.addEventListener:window.removeEventListener,r=e!==null?document.addEventListener:document.removeEventListener;t("pointerup",this.handleWindowPointerUp),r("mouseleave",this.handleWindowPointerUp),t("pointermove",this.handlePointerMove);const n=this.thumb.getBoundingClientRect().width;if(e){this.setupTrackConstraints();const i=this.orientation===ye.vertical?e.pageY-document.documentElement.scrollTop:e.pageX-document.documentElement.scrollLeft-this.trackLeft-n/2;this.value=`${this.calculateNewValue(i)}`}}return!0},this.elementInternals.role="slider",this.elementInternals.ariaOrientation=this.orientation??Nh.horizontal}get labels(){return Object.freeze(Array.from(this.elementInternals.labels))}handleChange(e,t){switch(t){case"min":case"max":this.setSliderPosition();case"step":this.handleStepStyles();break}}handleStepStyles(){if(this.step){const e=100/Math.floor((this.maxAsNumber-this.minAsNumber)/this.stepAsNumber);this.stepStyles!==void 0&&this.$fastController.removeStyles(this.stepStyles),this.stepStyles=g`:host{--step-rate:${e}%}`,this.$fastController.addStyles(this.stepStyles)}else this.stepStyles!==void 0&&this.$fastController.removeStyles(this.stepStyles)}initialValueChanged(e,t){this.$fastController.isConnected?this.value=t:this._value=t}get validity(){return this.elementInternals.validity}get validationMessage(){return this.elementInternals.validationMessage}get willValidate(){return this.elementInternals.willValidate}checkValidity(){return this.elementInternals.checkValidity()}reportValidity(){return this.elementInternals.reportValidity()}setCustomValidity(e){this.setValidity({customError:!!e},e)}setValidity(e,t,r){if(this.$fastController.isConnected){if(this.isDisabled){this.elementInternals.setValidity({});return}this.elementInternals.setValidity({customError:!!t,...e},t??this.validationMessage,r)}}get value(){return m.track(this,"value"),this._value?.toString()??""}set value(e){if(!this.$fastController.isConnected){this._value=e.toString();return}const t=parseFloat(e),r=Ah(this.minAsNumber,this.maxAsNumber,this.convertToConstrainedValue(t)).toString();if(r!==e){this.value=r;return}this._value=e.toString(),this.elementInternals.ariaValueNow=this._value,this.elementInternals.ariaValueText=this.valueTextFormatter(this._value),this.setSliderPosition(),this.$emit("change"),this.setFormValue(e),m.notify(this,"value")}formResetCallback(){this.value=this.initialValue??this.midpoint}formDisabledCallback(e){this.setDisabledSideEffect(e)}setFormValue(e,t){this.elementInternals.setFormValue(e,e??t)}directionChanged(){this.setSliderPosition()}get valueAsNumber(){return parseFloat(this.value)}set valueAsNumber(e){this.value=e.toString()}valueTextFormatterChanged(){typeof this.valueTextFormatter=="function"?this.elementInternals.ariaValueText=this.valueTextFormatter(this._value):this.elementInternals.ariaValueText=""}disabledChanged(){this.setDisabledSideEffect(this.disabled)}get isDisabled(){return this.disabled||this.elementInternals?.ariaDisabled==="true"||this.isConnected&&this.matches(":disabled")}minChanged(){this.elementInternals.ariaValueMin=`${this.minAsNumber}`,this.$fastController.isConnected&&this.minAsNumber>this.valueAsNumber&&(this.value=this.min)}get minAsNumber(){if(this.min!==void 0){const e=parseFloat(this.min);if(!Number.isNaN(e))return e}return 0}maxChanged(){this.elementInternals.ariaValueMax=`${this.maxAsNumber}`,this.$fastController.isConnected&&this.maxAsNumber<this.valueAsNumber&&(this.value=this.max)}get maxAsNumber(){if(this.max!==void 0){const e=parseFloat(this.max);if(!Number.isNaN(e))return e}return 100}stepChanged(){this.updateStepMultiplier(),this.$fastController.isConnected&&(this.value=this._value)}get stepAsNumber(){if(this.step!==void 0){const e=parseFloat(this.step);if(!Number.isNaN(e)&&e>0)return e}return 1}orientationChanged(e,t){this.elementInternals.ariaOrientation=t??ye.horizontal,this.$fastController.isConnected&&this.setSliderPosition()}connectedCallback(){super.connectedCallback(),requestAnimationFrame(()=>{if(!this.$fastController.isConnected)return;this.direction=ji(this),this.setDisabledSideEffect(this.disabled),this.updateStepMultiplier(),this.setupTrackConstraints(),this.setupDefaultValue(),this.setSliderPosition(),this.handleStepStyles();const e=m.getNotifier(this);e.subscribe(this,"max"),e.subscribe(this,"min"),e.subscribe(this,"step")})}disconnectedCallback(){super.disconnectedCallback();const e=m.getNotifier(this);e.unsubscribe(this,"max"),e.unsubscribe(this,"min"),e.unsubscribe(this,"step")}increment(){const e=this.direction!==lt.rtl?Number(this.value)+this.stepAsNumber:Number(this.value)-this.stepAsNumber,t=this.convertToConstrainedValue(e),r=t<this.maxAsNumber?`${t}`:`${this.maxAsNumber}`;this.value=r}decrement(){const e=this.direction!==lt.rtl?Number(this.value)-Number(this.stepAsNumber):Number(this.value)+Number(this.stepAsNumber),t=this.convertToConstrainedValue(e),r=t>this.minAsNumber?`${t}`:`${this.minAsNumber}`;this.value=r}handleKeydown(e){if(this.isDisabled)return!0;switch(e.key){case"Home":e.preventDefault(),this.value=this.direction!==lt.rtl&&this.orientation!==ye.vertical?`${this.minAsNumber}`:`${this.maxAsNumber}`;break;case"End":e.preventDefault(),this.value=this.direction!==lt.rtl&&this.orientation!==ye.vertical?`${this.maxAsNumber}`:`${this.minAsNumber}`;break;case"ArrowRight":case"ArrowUp":e.shiftKey||(e.preventDefault(),this.increment());break;case"ArrowLeft":case"ArrowDown":e.shiftKey||(e.preventDefault(),this.decrement());break}return!0}setSliderPosition(){const t=zh(parseFloat(this.value),this.minAsNumber,this.maxAsNumber,this.orientation===ye.vertical?void 0:this.direction)*100;this.position=`--slider-thumb: ${t}%; --slider-progress: ${t}%`}updateStepMultiplier(){const e=this.stepAsNumber+"",t=this.stepAsNumber%1?e.length-e.indexOf(".")-1:0;this.stepMultiplier=Math.pow(10,t)}get midpoint(){return`${this.convertToConstrainedValue((this.maxAsNumber+this.minAsNumber)/2)}`}setupDefaultValue(){this._value||(this.value=this.initialValue??this.midpoint),!Number.isNaN(this.valueAsNumber)&&(this.valueAsNumber<this.minAsNumber||this.valueAsNumber>this.maxAsNumber)&&(this.value=this.midpoint),this.elementInternals.ariaValueNow=this.value}calculateNewValue(e){this.setupTrackConstraints();const t=zh(e,this.orientation===ye.vertical?this.trackMinHeight:this.trackMinWidth,this.orientation===ye.vertical?this.trackHeight:this.trackWidth,this.orientation===ye.vertical?void 0:this.direction),r=(this.maxAsNumber-this.minAsNumber)*t+this.minAsNumber;return this.convertToConstrainedValue(r)}convertToConstrainedValue(e){isNaN(e)&&(e=this.minAsNumber);let t=e-this.minAsNumber;const r=Math.round(t/this.stepAsNumber),n=t-r*(this.stepMultiplier*this.stepAsNumber)/this.stepMultiplier;return t=n>=Number(this.stepAsNumber)/2?t-n+Number(this.stepAsNumber):t-n,t+this.minAsNumber}setDisabledSideEffect(e=this.isDisabled){E.enqueue(()=>{this.elementInternals.ariaDisabled=e.toString(),this.tabIndex=e?-1:0})}}W.formAssociated=!0,ie([a],W.prototype,"size",2),ie([a({attribute:"value",mode:"fromView"})],W.prototype,"initialValue",2),ie([f],W.prototype,"direction",2),ie([f],W.prototype,"isDragging",2),ie([f],W.prototype,"position",2),ie([f],W.prototype,"trackWidth",2),ie([f],W.prototype,"trackMinWidth",2),ie([f],W.prototype,"trackHeight",2),ie([f],W.prototype,"trackLeft",2),ie([f],W.prototype,"trackMinHeight",2),ie([f],W.prototype,"valueTextFormatter",2),ie([a({mode:"boolean"})],W.prototype,"disabled",2),ie([a({converter:Qi})],W.prototype,"min",2),ie([a({converter:Qi})],W.prototype,"max",2),ie([a({converter:Qi})],W.prototype,"step",2),ie([a],W.prototype,"orientation",2),ie([a],W.prototype,"mode",2);const _h=g`${w("inline-grid")} :host{--thumb-size:20px;--track-margin-inline:calc(var(--thumb-size)/2);--track-size:4px;--track-overhang:calc(var(--track-size)/-2);--rail-color:${ht};--track-color:${Ve};--slider-direction:90deg;--border-radius:${B};--step-marker-inset:var(--track-overhang) -1px;position:relative;align-items:center;justify-content:center;box-sizing:border-box;outline:none;user-select:none;touch-action:none;min-width:120px;min-height:32px;grid-template-rows:1fr var(--thumb-size) 1fr;grid-template-columns:var(--track-margin-inline) 1fr var(--track-margin-inline)}:host(:hover){--rail-color:${_t}}:host(:active){--rail-color:${Ot}}:host(:disabled){--rail-color:${z};--track-color:${st}}:host(:not(:disabled)){cursor:pointer}:host(:dir(rtl)){--slider-direction:-90deg}:host([size='small']){--thumb-size:16px;--track-overhang:-1px;--track-size:2px;--border-radius:${ze}}:host([orientation='vertical']){--slider-direction:0deg;--step-marker-inset:-1px var(--track-overhang);min-height:120px;grid-template-rows:var(--track-margin-inline) 1fr var(--track-margin-inline);grid-template-columns:1fr var(--thumb-size) 1fr;width:unset;min-width:32px;justify-items:center}:host(:not([slot='input']):focus-visible){box-shadow:0 0 0 2pt ${de};outline:1px solid ${Eo}}:host:after,.track{height:var(--track-size);width:100%}:host:after{background-image:linear-gradient( var(--slider-direction),var(--rail-color) 0%,var(--rail-color) 50%,var(--track-color) 50.1%,var(--track-color) 100% );border-radius:var(--border-radius);content:'';grid-row:1/-1;grid-column:1/-1}.track{position:relative;background-color:var(--track-color);grid-row:2/2;grid-column:2/2;forced-color-adjust:none;overflow:hidden}:host([orientation='vertical'])::after,:host([orientation='vertical']) .track{height:100%;width:var(--track-size)}.track::before{content:'';position:absolute;height:100%;border-radius:inherit;inset-inline-start:0;width:var(--slider-progress)}:host(:dir(rtl)) .track::before{width:calc(100% - var(--slider-progress))}:host([orientation='vertical']) .track::before{width:100%;bottom:0;height:var(--slider-progress)}:host([step]) .track::after{content:'';position:absolute;border-radius:inherit;inset:var(--step-marker-inset);background-image:repeating-linear-gradient( var(--slider-direction),#0000 0%,#0000 calc(var(--step-rate) - 1px),${P} calc(var(--step-rate) - 1px),${P} var(--step-rate) )}.thumb-container{position:absolute;grid-row:2/2;grid-column:2/2;transform:translateX(-50%);left:var(--slider-thumb)}:host([orientation='vertical']) .thumb-container{transform:translateY(50%);left:unset;bottom:var(--slider-thumb)}:host(:not(:active)) :is(.thumb-container,.track::before){transition:all 0.2s ease}.thumb{width:var(--thumb-size);height:var(--thumb-size);border-radius:${he};box-shadow:0 0 0 calc(var(--thumb-size) * 0.2) ${P} inset;border:calc(var(--thumb-size) * 0.05) solid ${Re};box-sizing:border-box}.thumb,.track::before{background-color:var(--rail-color)}@media (forced-colors:active){.track:hover,.track:active,.track{background:WindowText}.thumb:hover,.thumb:active,.thumb{background:ButtonText}:host(:hover) .track::before,:host(:active) .track::before,.track::before{background:Highlight}}`;function G0(o={}){return b`<template @pointerdown=${(e,t)=>e.handlePointerDown(t.event)} @keydown=${(e,t)=>e.handleKeydown(t.event)}><div ${A("track")} part=track-container class=track style=${e=>e.position}></div><div ${A("thumb")} part=thumb-container class=thumb-container style=${e=>e.position} @pointerdown=${(e,t)=>e.handleThumbPointerDown(t.event)}><slot name=thumb>${fe(o.thumb)}</slot></div></template>`}const Oh=G0({thumb:'<div class="thumb"></div>'}),Fh=W.compose({name:j0,template:Oh,styles:_h});Fh.define(u.registry);const X0={primary:"primary",inverted:"inverted"},U0={tiny:"tiny",extraSmall:"extra-small",small:"small",medium:"medium",large:"large",extraLarge:"extra-large",huge:"huge"},K0=`${u.prefix}-spinner`;class Eh extends x{constructor(){super(),this.elementInternals=this.attachInternals(),this.elementInternals.role="progressbar"}}var Y0=Object.defineProperty,J0=Object.getOwnPropertyDescriptor,Dh=(o,e,t,r)=>{for(var n=r>1?void 0:r?J0(e,t):e,i=o.length-1,s;i>=0;i--)(s=o[i])&&(n=(r?s(e,t,n):s(n))||n);return r&&n&&Y0(e,t,n),n};class gn extends Eh{}Dh([a],gn.prototype,"size",2),Dh([a],gn.prototype,"appearance",2);const Lh=g`${w("inline-flex")} :host{--duration:1.5s;--indicatorSize:${Be};--size:32px;height:var(--size);width:var(--size);contain:strict;content-visibility:auto}:host([size='tiny']){--indicatorSize:${pe};--size:20px}:host([size='extra-small']){--indicatorSize:${pe};--size:24px}:host([size='small']){--indicatorSize:${pe};--size:28px}:host([size='large']){--indicatorSize:${Be};--size:36px}:host([size='extra-large']){--indicatorSize:${Be};--size:40px}:host([size='huge']){--indicatorSize:${Rr};--size:44px}.progress,.background,.spinner,.start,.end,.indicator{position:absolute;inset:0}.progress,.spinner,.indicator{animation:none var(--duration) infinite ${Uo}}.progress{animation-timing-function:linear;animation-name:spin-linear}.background{border:var(--indicatorSize) solid ${ri};border-radius:50%}:host([appearance='inverted']) .background{border-color:rgba(255,255,255,0.2)}.spinner{animation-name:spin-swing}.start{overflow:hidden;right:50%}.end{overflow:hidden;left:50%}.indicator{color:${oi};box-sizing:border-box;border-radius:50%;border:var(--indicatorSize) solid transparent;border-block-start-color:currentcolor;border-right-color:currentcolor}:host([appearance='inverted']) .indicator{color:${Ia}}.start .indicator{rotate:135deg;inset:0 -100% 0 0;animation-name:spin-start}.end .indicator{rotate:135deg;inset:0 0 0 -100%;animation-name:spin-end}@keyframes spin-linear{100%{transform:rotate(360deg)}}@keyframes spin-swing{0%{transform:rotate(-135deg)}50%{transform:rotate(0deg)}100%{transform:rotate(225deg)}}@keyframes spin-start{0%,100%{transform:rotate(0deg)}50%{transform:rotate(-80deg)}}@keyframes spin-end{0%,100%{transform:rotate(0deg)}50%{transform:rotate(70deg)}}@media (forced-colors:active){.background{display:none}.indicator{border-color:Canvas;border-block-start-color:Highlight;border-right-color:Highlight}}`,Mh=b`<slot name=indicator><div class=background></div><div class=progress><div class=spinner><div class=start><div class=indicator></div></div><div class=end><div class=indicator></div></div></div></div></slot>`,Hh=gn.compose({name:K0,template:Mh,styles:Lh});Hh.define(u.registry);const Q0={above:"above",after:"after",before:"before"},Z0=`${u.prefix}-switch`;class Vh extends Pe{constructor(){super(),this.elementInternals.role="switch"}}function ek(o={}){return b`<template @click=${(e,t)=>e.clickHandler(t.event)} @input=${(e,t)=>e.inputHandler(t.event)} @keydown=${(e,t)=>e.keydownHandler(t.event)} @keyup=${(e,t)=>e.keyupHandler(t.event)}><slot name=switch>${fe(o.switch)}</slot></template>`}const Rh=ek({switch:'<span class="checked-indicator" part="checked-indicator"></span>'}),jh=g`${w("inline-flex")} :host{box-sizing:border-box;align-items:center;flex-direction:row;outline:none;user-select:none;contain:content;padding:0 ${V};width:40px;height:20px;background-color:${ce};border:1px solid ${Ve};border-radius:${he}}:host(:enabled){cursor:pointer}:host(:hover){background:none;border-color:${ut}}:host(:active){border-color:${pt}}:host(:disabled),:host([readonly]){border:1px solid ${be};background-color:none;pointer:default}:host(${y}){background:${ht};border-color:${ht}}:host(${y}:hover){background:${_t};border-color:${_t}}:host(${y}:active){background:${Ot};border-color:${Ot}}:host(${y}:disabled){background:${st};border-color:${be}}.checked-indicator{height:14px;width:14px;border-radius:50%;margin-inline-start:0;background-color:${Y};transition-duration:${Go};transition-timing-function:${Uo};transition-property:margin-inline-start}:host(${y}) .checked-indicator{background-color:${dt};margin-inline-start:calc(100% - 14px)}:host(${y}:hover) .checked-indicator{background:${ma}}:host(${y}:active) .checked-indicator{background:${va}}:host(:hover) .checked-indicator{background-color:${sa}}:host(:active) .checked-indicator{background-color:${aa}}:host(:disabled) .checked-indicator,:host([readonly]) .checked-indicator{background:${z}}:host(${y}:disabled) .checked-indicator{background:${z}}:host(:focus-visible){outline:none}:host(:not([slot='input']):focus-visible){border-color:${X};outline:${pe} solid ${X};outline-offset:1px;box-shadow:${Ro},0 0 0 2px ${de}}@media (forced-colors:active){:host{border-color:InactiveBorder}:host(${y}),:host(${y}:active),:host(${y}:hover){background:Highlight;border-color:Highlight}.checked-indicator,:host(:hover) .checked-indicator,:host(:active) .checked-indicator{background-color:ActiveCaption}:host(${y}) .checked-indicator,:host(${y}:hover) .checked-indicator,:host(${y}:active) .checked-indicator{background-color:ButtonFace}:host(:disabled) .checked-indicator,:host(${y}:disabled) .checked-indicator{background-color:GrayText}}`,qh=Vh.compose({name:Z0,template:Rh,styles:jh});qh.define(u.registry);function fn(o,e="-tab"){return o?.nodeType!==Node.ELEMENT_NODE?!1:o.tagName.toLowerCase().endsWith(e)}const tk=`${u.prefix}-tab`;var ok=Object.defineProperty,rk=Object.getOwnPropertyDescriptor,nk=(o,e,t,r)=>{for(var n=r>1?void 0:r?rk(e,t):e,i=o.length-1,s;i>=0;i--)(s=o[i])&&(n=(r?s(e,t,n):s(n))||n);return r&&n&&ok(e,t,n),n};class bn extends x{constructor(){super(),this.elementInternals=this.attachInternals(),this.elementInternals.role="tab"}disabledChanged(e,t){this.setDisabledSideEffect(t)}connectedCallback(){super.connectedCallback(),this.slot||(this.slot="tab"),this.setDisabledSideEffect(this.disabled),this.styles&&this.$fastController.removeStyles(this.styles),this.styles=g`:host{--textContent:'${this.textContent}'}`,this.$fastController.addStyles(this.styles)}setDisabledSideEffect(e){e?this.setAttribute("aria-disabled","true"):this.removeAttribute("aria-disabled"),this.tabIndex=e&&this.getAttribute("aria-selected")!=="true"?-1:0}}nk([a({mode:"boolean"})],bn.prototype,"disabled",2),ct(bn,nt);function ik(o={}){return b`<template slot=tab role=tab>${He(o)} <span class=tab-content><slot></slot></span>${it(o)}</template>`}const Wh=ik({}),Gh=g`${w("inline-flex")} :host{position:relative;flex-direction:row;align-items:center;cursor:pointer;box-sizing:border-box;justify-content:center;line-height:${L};font-family:${v};font-size:${O};color:${Ae};fill:currentcolor;grid-row:1;padding:${oe} ${Ye};border-radius:${B};gap:4px}:host .tab-content{display:inline-flex;flex-direction:column;padding:0 2px}:host([aria-selected='true']){color:${T};font-weight:${H}}:host .tab-content::after{content:var(--textContent);visibility:hidden;height:0;line-height:${L};font-weight:${H}}:host([aria-selected='true'])::after{background-color:${at};border-radius:${he};content:'';inset:0;position:absolute;z-index:2}:host([aria-selected='false']:hover)::after{background-color:${gt};border-radius:${he};content:'';inset:0;position:absolute;z-index:1}@supports (anchor-name:--a) and (text-size-adjust:auto){:host([aria-selected='true'])::after{background-color:transparent}:host([aria-selected='true']:hover)::after{background-color:${gt}}}:host([aria-selected='true'][disabled])::after{background-color:${z}}::slotted([slot='start']),::slotted([slot='end']){display:flex}:host([disabled]){cursor:not-allowed;fill:${z};color:${z};pointer-events:none}:host([disabled]:hover)::after{background-color:unset}:host(:focus){outline:none}:host(:focus-visible){border-radius:${ze};box-shadow:0 0 0 3px ${de};outline:1px solid ${Eo}}:host([data-hasIndent]){display:grid;grid-template-columns:20px 1fr auto}:host([data-hasIndent]) .tab-content{grid-column:2}@media (forced-colors:active){:host([aria-selected='true'])::after{background-color:Highlight}}`,Xh=bn.compose({name:tk,template:Wh,styles:Gh});Xh.define(u.registry);const Uh={subtle:"subtle",transparent:"transparent"},sk={small:"small",medium:"medium",large:"large"},$o=ye,ak=`${u.prefix}-tablist`;var lk=Object.defineProperty,ck=Object.getOwnPropertyDescriptor,hr=(o,e,t,r)=>{for(var n=r>1?void 0:r?ck(e,t):e,i=o.length-1,s;i>=0;i--)(s=o[i])&&(n=(r?s(e,t,n):s(n))||n);return r&&n&&lk(e,t,n),n};class Kt extends x{constructor(){super(),this.elementInternals=this.attachInternals(),this.disabled=!1,this.orientation=$o.horizontal,this.tabs=[],this.tabPanelMap=new WeakMap,this.change=()=>{this.$emit("change",this.activetab)},this.elementInternals.role="tablist",this.elementInternals.ariaOrientation=this.orientation??$o.horizontal}disabledChanged(e,t){this.elementInternals&&$(this.elementInternals,"disabled",t),this.setTabs({forceDisabled:!0})}orientationChanged(e,t){this.elementInternals&&(this.elementInternals.ariaOrientation=t??$o.horizontal,Dt(this.elementInternals,e,t,$o)),this.setTabs()}activeidChanged(e,t){this.tabs?.length>0&&this.changeTab(e,t)}slottedTabsChanged(e,t){this.tabs=t?.filter(r=>fn(r))??[]}tabsChanged(e,t){this.tabs?.length>0&&this.setTabs({connectToPanel:!0})}setTabs({connectToPanel:e=!1,forceDisabled:t=!1}={}){if(!this.tabs)return;const r=this.tabs.some(s=>!!s.querySelector("[slot='start']")),n=this.getRootNode();let i="";for(const s of this.tabs){if(s.slot!=="tab")continue;s.id||(s.id=Ze("tab-")),t?s.disabled=this.disabled:s.disabled=s.disabled||this.disabled,!i&&!s.disabled&&(i=s.id);const c=this.activeid===s.id;if(s.toggleAttribute("focusgroupstart",c),s.setAttribute("aria-selected",c.toString()),s.toggleAttribute("data-hasIndent",r&&this.orientation===$o.vertical),e){const h=s.getAttribute("aria-controls")??"",d=n.getElementById(h);h&&d&&(d.role??(d.role="tabpanel"),d.hidden=this.activeid!==s.id,this.tabPanelMap.set(s,d))}}this.disabled||(this.activeid?this.changeTab(void 0,this.activeid):i&&(this.activeid=i))}handleFocusIn(e){const t=e.target;!fn(t)||t.disabled||(this.activeid=t.id)}changeTab(e,t){const r=this.getRootNode(),n=e?r.getElementById(e):null,i=r.getElementById(t);if(!fn(i)||!this.contains(i))return;if(n){n.setAttribute("aria-selected","false");const c=this.tabPanelMap.get(n);c&&(c.hidden=!0)}i.setAttribute("aria-selected","true");const s=this.tabPanelMap.get(i);s&&(s.hidden=!1),this.activetab=i,this.change()}connectedCallback(){super.connectedCallback(),Ko(this,()=>{this.setTabs()},{shallow:!0})}}hr([a({mode:"boolean"})],Kt.prototype,"disabled",2),hr([a],Kt.prototype,"orientation",2),hr([a],Kt.prototype,"activeid",2),hr([f],Kt.prototype,"slottedTabs",2),hr([f],Kt.prototype,"tabs",2);var dk=Object.defineProperty,hk=Object.getOwnPropertyDescriptor,Kh=(o,e,t,r)=>{for(var n=r>1?void 0:r?hk(e,t):e,i=o.length-1,s;i>=0;i--)(s=o[i])&&(n=(r?s(e,t,n):s(n))||n);return r&&n&&dk(e,t,n),n};class mn extends Kt{constructor(){super(...arguments),this.appearance=Uh.transparent}disconnectedCallback(){this.fg?.disconnect(),super.disconnectedCallback()}tabsChanged(e,t){super.tabsChanged(e,t),this.fgItems??(this.fgItems=new hn(()=>this.tabs?.filter(r=>(r.getAttribute("aria-selected")==="true"||!r.disabled)&&!r.hidden)??[],()=>this.activetab??null)),this.fg?this.fg.update():this.fg=new dn(this,this.fgItems,{definition:{behavior:"tablist",axis:void 0,memory:!1,wrap:!0}})}}Kh([a],mn.prototype,"appearance",2),Kh([a],mn.prototype,"size",2);const Yh=b`<template role=tablist focusgroup="tablist inline block" @focusin=${(o,e)=>o.handleFocusIn(e.event)}><slot name=tab ${K("slottedTabs")}></slot></template>`,Jh=g`${w("flex")} :host{--tabPaddingInline:${Ye};--tabPaddingBlock:${oe};--tabIndicatorInsetInline:var(--tabPaddingInline);--tabIndicatorInsetBlock:0;box-sizing:border-box;color:${Ae};flex-direction:row;position:relative}:host([size='small']){--tabPaddingBlock:${lo};--tabPaddingInline:${ve}}:host([size='large']){--tabPaddingBlock:${Wr};--tabPaddingInline:${Ye}}:host([orientation='vertical']){--tabPaddingBlock:${re};--tabIndicatorInsetBlock:${re};flex-direction:column}:host([orientation='vertical'][size='small']){--tabPaddingBlock:${jo};--tabIndicatorInsetBlock:${lo}}:host([orientation='vertical'][size='large']){--tabPaddingBlock:${re};--tabIndicatorInsetBlock:${qo}}::slotted([slot='tab']){padding-inline:var(--tabPaddingInline);padding-block:var(--tabPaddingBlock)}:host([orientation='vertical']) ::slotted([role='tab']){justify-content:flex-start}:host ::slotted([slot='tab'])::after{height:${Be};margin-block-start:auto}:host([orientation='vertical']) ::slotted([slot='tab'])::after{width:${Be};height:unset;margin-block-start:unset}:host ::slotted([slot='tab'])::before{height:${Be};border-radius:${he};content:'';inset-inline:var(--tabIndicatorInsetInline);inset-block:var(--tabIndicatorInsetBlock);position:absolute;margin-top:auto}:host ::slotted([slot='tab'])::before{inset-inline:var(--tabIndicatorInsetInline);inset-block:var(--tabIndicatorInsetBlock)}:host ::slotted([slot='tab'][aria-selected='true'])::before{background-color:${z}}:host ::slotted([slot='tab'][aria-selected='false']:hover)::after{height:${Be};margin-block-start:auto;transform-origin:left}:host([orientation='vertical']) ::slotted([slot='tab'])::before,:host([orientation='vertical']) ::slotted([slot='tab'][aria-selected='false']:hover)::after{height:unset;width:${Be};margin-inline-end:auto;transform-origin:top}:host([size='small']) ::slotted([slot='tab']){font-size:${O};line-height:${L}}:host([size='large']) ::slotted([slot='tab']){font-size:${ue};line-height:${me}}:host ::slotted([slot='tab'])::after,:host ::slotted([slot='tab'])::before,:host ::slotted([slot='tab']:hover)::after{inset-inline:var(--tabIndicatorInsetInline)}:host([orientation='vertical']) ::slotted([slot='tab'])::after,:host([orientation='vertical']) ::slotted([slot='tab'])::before,:host([orientation='vertical']) ::slotted([slot='tab']:hover)::after{inset-inline:0;inset-block:var(--tabIndicatorInsetBlock)}:host([disabled]){cursor:not-allowed;color:${z}}:host([disabled]) ::slotted([slot='tab']){pointer-events:none;cursor:not-allowed;color:${z}}:host([disabled]) ::slotted([slot='tab']:after){background-color:${z}}:host([disabled]) ::slotted([slot='tab'][aria-selected='true'])::after{background-color:${z}}:host([disabled]) ::slotted([slot='tab']:hover):before{content:unset}:host([appearance='subtle']) ::slotted([slot='tab']:hover){background-color:${_o};color:${qn};fill:${fa}}:host([appearance='subtle']) ::slotted([slot='tab']:active){background-color:${no};fill:${no};color:${T}}@supports (anchor-name:--a) and (text-size-adjust:auto){::slotted([slot='tab'][aria-selected='true']){anchor-name:--tab}:host::after{background-color:${at};content:'';inline-size:100%;inset:auto auto anchor(end) anchor(center);position:fixed;position-anchor:--tab;transform:translateX(-50%);transition-property:inset-inline,width;transition-duration:${oc};transition-timing-function:${Ni};z-index:3;border-radius:${he};width:calc(anchor-size() - var(--tabIndicatorInsetInline) * 2);height:${Be}}:host([orientation='vertical'])::after{inset:anchor(center) anchor(end) auto 0;transform:translateY(-50%);transition-property:inset-block,height;width:${Be};height:calc(anchor-size() - var(--tabIndicatorInsetBlock) * 2)}:host(:dir(rtl)[orientation='vertical'])::after{inset:anchor(center) anchor(start) auto 0}:host([disabled])::after{background-color:${z}}}`,Qh=mn.compose({name:ak,template:Yh,styles:Jh});Qh.define(u.registry);const uk={small:"small",medium:"medium",large:"large"},vn={outline:"outline",filledLighter:"filled-lighter",filledDarker:"filled-darker"},pk=[vn.filledLighter,vn.filledDarker],gk={on:"on",off:"off"},ur={none:"none",both:"both",horizontal:"horizontal",vertical:"vertical"},fk=`${u.prefix}-textarea`,bk=o=>o.nodeType!==Node.TEXT_NODE||!!o.nodeValue?.trim().length;var mk=Object.defineProperty,vk=Object.getOwnPropertyDescriptor,se=(o,e,t,r)=>{for(var n=r>1?void 0:r?vk(e,t):e,i=o.length-1,s;i>=0;i--)(s=o[i])&&(n=(r?s(e,t,n):s(n))||n);return r&&n&&mk(e,t,n),n};class G extends x{constructor(){super(),this.elementInternals=this.attachInternals(),this.filteredLabelSlottedNodes=[],this.labelSlottedNodes=[],this.userInteracted=!1,this.preConnectControlEl=document.createElement("textarea"),this.autoResize=!1,this.disabled=!1,this.displayShadow=!1,this.readOnly=!1,this.required=!1,this.resize=ur.none,this.spellcheck=!1}controlElChanged(){this.controlElAttrObserver=new MutationObserver(()=>{this.setValidity()}),this.controlElAttrObserver.observe(this.controlEl,{attributes:!0,attributeFilter:["disabled","required","readonly","maxlength","minlength"]}),this.controlEl.addEventListener("input",()=>this.userInteracted=!0,{once:!0})}defaultSlottedNodesChanged(){E.enqueue(()=>{const e=this.getContent();this.defaultValue=e,this.value=e})}labelSlottedNodesChanged(){this.filteredLabelSlottedNodes=this.labelSlottedNodes.filter(bk),this.labelEl&&(this.labelEl.hidden=!this.filteredLabelSlottedNodes.length),this.filteredLabelSlottedNodes.forEach(e=>{e.disabled=this.disabled,e.required=this.required})}autoResizeChanged(){this.maybeCreateAutoSizerEl(),$(this.elementInternals,"auto-resize",this.autoResize)}disabledChanged(){this.setDisabledSideEffect(this.disabled)}get form(){return this.elementInternals.form}get labels(){return this.elementInternals.labels}readOnlyChanged(){this.elementInternals&&(this.elementInternals.ariaReadOnly=`${!!this.readOnly}`,this.setValidity())}requiredChanged(){this.elementInternals.ariaRequired=`${!!this.required}`,this.filteredLabelSlottedNodes?.length&&this.filteredLabelSlottedNodes.forEach(e=>e.required=this.required)}resizeChanged(e,t){Dt(this.elementInternals,e,t,ur,"resize-"),$(this.elementInternals,"resize",yc(ur,t)&&t!==ur.none)}get textLength(){return this.controlEl.textLength}get type(){return"textarea"}get validity(){return this.elementInternals.validity}get validationMessage(){return this.elementInternals.validationMessage||this.controlEl.validationMessage}get willValidate(){return this.elementInternals.willValidate}get defaultValue(){return this.controlEl?.defaultValue??this.preConnectControlEl.defaultValue}set defaultValue(e){const t=this.controlEl??this.preConnectControlEl;t.defaultValue=e,this.controlEl&&!this.userInteracted&&(this.controlEl.value=e)}get value(){return this.controlEl?.value??this.preConnectControlEl.value}set value(e){const t=this.controlEl??this.preConnectControlEl;t.value=e,this.setFormValue(e),this.setValidity()}connectedCallback(){super.connectedCallback(),requestAnimationFrame(()=>{if(!this.$fastController.isConnected)return;const e=this.preConnectControlEl,t=this.getContent();this.defaultValue=t||e?.defaultValue||"",this.value=e?.value||this.defaultValue,this.setFormValue(this.value),this.setValidity(),this.preConnectControlEl=null,this.maybeCreateAutoSizerEl()})}disconnectedCallback(){super.disconnectedCallback(),this.autoSizerObserver?.disconnect(),this.controlElAttrObserver?.disconnect()}formResetCallback(){this.value=this.defaultValue}formDisabledCallback(e){this.setDisabledSideEffect(e),this.setValidity()}setFormValue(e,t){this.elementInternals.setFormValue(e,e??t)}checkValidity(){return this.elementInternals.checkValidity()}reportValidity(){return this.elementInternals.reportValidity()}setCustomValidity(e){this.elementInternals?.setValidity({customError:!!e},e?e.toString():void 0),this.reportValidity()}setValidity(e,t,r){this.elementInternals&&(this.disabled||this.readOnly?this.elementInternals.setValidity({}):this.elementInternals.setValidity(e??this.controlEl?.validity,t??this.controlEl?.validationMessage,r??this.controlEl),this.userInteracted&&this.toggleUserValidityState())}select(){this.controlEl.select()}getContent(){return this.defaultSlottedNodes?.map(e=>{switch(e.nodeType){case Node.ELEMENT_NODE:return e.outerHTML;case Node.TEXT_NODE:return e.textContent.trim();default:return""}}).join("")||""}setDisabledSideEffect(e){this.elementInternals.ariaDisabled=`${e}`,this.controlEl&&(this.controlEl.disabled=e),this.filteredLabelSlottedNodes?.length&&this.filteredLabelSlottedNodes.forEach(t=>t.disabled=this.disabled)}toggleUserValidityState(){$(this.elementInternals,"user-invalid",!this.validity.valid),$(this.elementInternals,"user-valid",this.validity.valid)}maybeCreateAutoSizerEl(){if(!CSS.supports("field-sizing: content")){if(!this.autoResize){this.autoSizerEl?.remove(),this.autoSizerObserver?.disconnect();return}this.autoSizerEl||(this.autoSizerEl=document.createElement("div"),this.autoSizerEl.classList.add("auto-sizer"),this.autoSizerEl.ariaHidden="true"),this.rootEl?.prepend(this.autoSizerEl),this.autoSizerObserver||(this.autoSizerObserver=new ResizeObserver((e,t)=>{const r=window.getComputedStyle(this).writingMode.startsWith("horizontal")?"height":"width";this.style.getPropertyValue(r)!==""&&(this.autoSizerEl?.remove(),t.disconnect())})),this.autoSizerObserver.observe(this)}}handleControlInput(){this.autoResize&&this.autoSizerEl&&(this.autoSizerEl.textContent=this.value+" "),this.setFormValue(this.value),this.setValidity()}handleControlChange(){this.toggleUserValidityState(),this.$emit("change")}handleControlSelect(){this.$emit("select")}}G.formAssociated=!0,se([f],G.prototype,"controlEl",2),se([f],G.prototype,"defaultSlottedNodes",2),se([f],G.prototype,"labelSlottedNodes",2),se([a],G.prototype,"autocomplete",2),se([a({attribute:"auto-resize",mode:"boolean"})],G.prototype,"autoResize",2),se([a({attribute:"dirname"})],G.prototype,"dirName",2),se([a({mode:"boolean"})],G.prototype,"disabled",2),se([a({attribute:"display-shadow",mode:"boolean"})],G.prototype,"displayShadow",2),se([a({attribute:"form"})],G.prototype,"initialForm",2),se([a({attribute:"maxlength",converter:ae})],G.prototype,"maxLength",2),se([a({attribute:"minlength",converter:ae})],G.prototype,"minLength",2),se([a],G.prototype,"name",2),se([a],G.prototype,"placeholder",2),se([a({attribute:"readonly",mode:"boolean"})],G.prototype,"readOnly",2),se([a({mode:"boolean"})],G.prototype,"required",2),se([a({mode:"fromView"})],G.prototype,"resize",2),se([a({mode:"boolean"})],G.prototype,"spellcheck",2);var $k=Object.defineProperty,yk=Object.getOwnPropertyDescriptor,Zi=(o,e,t,r)=>{for(var n=r>1?void 0:r?yk(e,t):e,i=o.length-1,s;i>=0;i--)(s=o[i])&&(n=(r?s(e,t,n):s(n))||n);return r&&n&&$k(e,t,n),n};class pr extends G{constructor(){super(...arguments),this.appearance=vn.outline,this.block=!1}labelSlottedNodesChanged(){super.labelSlottedNodesChanged(),this.labelSlottedNodes.forEach(e=>{e.size=this.size})}handleChange(e,t){switch(t){case"size":this.labelSlottedNodes.forEach(r=>{r.size=this.size});break}}connectedCallback(){super.connectedCallback(),m.getNotifier(this).subscribe(this,"size")}disconnectedCallback(){super.disconnectedCallback(),m.getNotifier(this).unsubscribe(this,"size")}}Zi([a({mode:"fromView"})],pr.prototype,"appearance",2),Zi([a({mode:"boolean"})],pr.prototype,"block",2),Zi([a],pr.prototype,"size",2);const Zh=g`${w("inline-block")} :host{--font-size:${O};--line-height:${L};--padding-inline:${Ye};--padding-block:${lo};--min-block-size:52px;--block-size:var(--min-block-size);--inline-size:18rem;--border-width:${I};--control-padding-inline:${V};--color:${T};--background-color:${P};--border-color:${Re};--border-block-end-color:${Ve};--placeholder-color:${_r};--focus-indicator-color:${at};--box-shadow:none;--contain-size:size;--resize:none;color:var(--color);font-family:${v};font-size:var(--font-size);font-weight:${F};line-height:var(--line-height);position:relative}:host(:hover){--border-color:${gt};--border-block-end-color:${ut}}:host(:active){--border-color:${io};--border-block-end-color:${pt}}:host(:focus-within){outline:none}:host([block]:not([hidden])){display:block}:host([size='small']){--font-size:${D};--line-height:${j};--min-block-size:40px;--padding-block:${Et};--padding-inline:${ve};--control-padding-inline:${V}}:host([size='large']){--font-size:${ue};--line-height:${me};--min-block-size:64px;--padding-block:${re};--padding-inline:${oe};--control-padding-inline:${ve}}:host([resize='both']:not(:disabled)){--resize:both}:host([resize='horizontal']:not(:disabled)){--resize:horizontal}:host([resize='vertical']:not(:disabled)){--resize:vertical}:host([auto-resize]){--block-size:auto;--contain-size:inline-size}:host([appearance='filled-darker']){--background-color:${oo};--border-color:var(--background-color);--border-block-end-color:var(--border-color)}:host([appearance='filled-lighter']){--border-color:var(--background-color);--border-block-end-color:var(--border-color)}:host([appearance='filled-darker'][display-shadow]),:host([appearance='filled-lighter'][display-shadow]){--box-shadow:${Hr}}:host(${Jv}){--border-color:${Dr};--border-block-end-color:${Dr}}:host(:disabled){--color:${z};--background-color:${ce};--border-color:${be};--border-block-end-color:var(--border-color);--box-shadow:none;--placeholder-color:${z};cursor:no-drop;user-select:none}.root{background-color:var(--background-color);border:var(--border-width) solid var(--border-color);border-block-end-color:var(--border-block-end-color);border-radius:${B};box-sizing:border-box;box-shadow:var(--box-shadow);contain:paint layout style var(--contain-size);display:grid;grid-template:1fr/1fr;inline-size:var(--inline-size);min-block-size:var(--min-block-size);block-size:var(--block-size);overflow:hidden;padding:var(--padding-block) var(--padding-inline);position:relative;resize:var(--resize)}:host([block]) .root{inline-size:auto}.root::after{border-bottom:2px solid var(--focus-indicator-color);border-radius:0 0 ${B} ${B};box-sizing:border-box;clip-path:inset(calc(100% - 2px) 1px 0px);content:'';height:max(2px,${B});inset:auto -1px 0;position:absolute;transform:scaleX(0);transition-delay:${bt};transition-duration:${Gr};transition-property:transform}:host(:focus-within) .root::after{transform:scaleX(1);transition-property:transform;transition-duration:${Go};transition-delay:${mt}}:host([readonly]) .root::after,:host(:disabled) .root::after{content:none}label{color:var(--color);display:flex;inline-size:fit-content;padding-block-end:${Et};padding-inline-end:${te}}:host(:empty) label,label[hidden]{display:none}.auto-sizer,.control{box-sizing:border-box;font:inherit;grid-column:1/-1;grid-row:1/-1;letter-space:inherit;padding:0 var(--control-padding-inline)}.auto-sizer{display:none;padding-block-end:2px;pointer-events:none;visibility:hidden;white-space:pre-wrap}:host([auto-resize]) .auto-sizer{display:block}.control{appearance:none;background-color:transparent;border:0;color:inherit;field-sizing:content;max-block-size:100%;outline:0;resize:none;text-align:inherit}.control:disabled{cursor:inherit}.control::placeholder{color:var(--placeholder-color)}::selection{color:${dt};background-color:${Xn}}@media (forced-colors:active){:host{--border-color:FieldText;--border-block-end-color:FieldText;--focus-indicator-color:Highlight;--placeholder-color:FieldText}:host(:hover),:host(:active),:host(:focus-within){--border-color:Highlight;--border-block-end-color:Highlight}:host(:disabled){--color:GrayText;--border-color:GrayText;--border-block-end-color:GrayText;--placeholder-color:GrayText}}`;function kk(){return b`<template><label ${A("labelEl")} for=control part=label><slot name=label ${K("labelSlottedNodes")}></slot></label><div class=root part=root ${A("rootEl")}><textarea ${A("controlEl")} id=control class=control part=control ?required=${o=>o.required} ?disabled=${o=>o.disabled} ?readonly=${o=>o.readOnly} ?spellcheck=${o=>o.spellcheck} autocomplete=${o=>o.autocomplete} maxlength=${o=>o.maxLength} minlength=${o=>o.minLength} placeholder=${o=>o.placeholder} @change=${o=>o.handleControlChange()} @select=${o=>o.handleControlSelect()} @input=${o=>o.handleControlInput()}></textarea></div><div hidden><slot ${K("defaultSlottedNodes")}></slot></div></template>`}const eu=kk(),tu=pr.compose({name:fk,template:eu,styles:Zh,shadowOptions:{delegatesFocus:!0}});tu.define(u.registry);const xk={small:"small",medium:"medium",large:"large"},wk={outline:"outline",underline:"underline",filledLighter:"filled-lighter",filledDarker:"filled-darker"},ou={email:"email",password:"password",tel:"tel",text:"text",url:"url"},Sk=["date","datetime-local","email","month","number","password","search","tel","text","time","url","week"],Bk=`${u.prefix}-text-input`;var Ck=Object.defineProperty,Pk=Object.getOwnPropertyDescriptor,M=(o,e,t,r)=>{for(var n=r>1?void 0:r?Pk(e,t):e,i=o.length-1,s;i>=0;i--)(s=o[i])&&(n=(r?s(e,t,n):s(n))||n);return r&&n&&Ck(e,t,n),n};class _ extends x{constructor(){super(...arguments),this.type=ou.text,this.dirtyValue=!1,this.elementInternals=this.attachInternals()}currentValueChanged(e,t){this.value=t}defaultSlottedNodesChanged(e,t){E.enqueue(()=>{this.controlLabel&&(this.controlLabel.hidden=!t?.some(r=>r.nodeType===Node.ELEMENT_NODE||r.nodeType===Node.TEXT_NODE&&!!r.textContent?.trim()))})}initialValueChanged(){this.dirtyValue||(this.value=this.initialValue)}readOnlyChanged(){this.$fastController.isConnected&&(this.elementInternals.ariaReadOnly=`${!!this.readOnly}`)}requiredChanged(e,t){this.$fastController.isConnected&&(this.elementInternals.ariaRequired=`${!!t}`)}controlChanged(e,t){E.enqueue(()=>{this.$fastController.isConnected&&this.setValidity()})}get validity(){return this.elementInternals.validity}get validationMessage(){return this.elementInternals.validationMessage||this.control.validationMessage}get value(){return m.track(this,"value"),this.currentValue}set value(e){this.currentValue=e,this.elementInternals&&this.control&&(this.control.value=e??"",this.setFormValue(e),this.setValidity(),m.notify(this,"value"))}get willValidate(){return this.elementInternals.willValidate}get form(){return this.elementInternals.form}changeHandler(e){return this.setValidity(),this.$emit("change",e,{bubbles:!0,composed:!0}),!0}checkValidity(){return this.elementInternals.checkValidity()}clickHandler(e){return e.target===this&&this.control?.click(),!0}connectedCallback(){super.connectedCallback(),this.tabIndex=Number(this.getAttribute("tabindex")??0)<0?-1:0,this.setFormValue(this.value),this.setValidity()}focusinHandler(e){return e.target===this&&this.control?.focus(),!0}formResetCallback(){this.value=this.initialValue,this.dirtyValue=!1}implicitSubmit(){if(!this.elementInternals.form)return;if(this.elementInternals.form.elements.length===1){this.elementInternals.form.requestSubmit();return}const e=[...this.elementInternals.form.elements],t=e.find(n=>n.getAttribute("type")==="submit");if(t){t.click();return}e.filter(n=>Sk.includes(n.getAttribute("type")??"")).length>1||this.elementInternals.form.requestSubmit()}inputHandler(e){return this.dirtyValue=!0,this.value=this.control.value,!0}keydownHandler(e){return e.key==="Enter"&&this.implicitSubmit(),!0}select(){this.control.select(),this.$emit("select")}setCustomValidity(e){this.elementInternals.setValidity({customError:!0},e),this.reportValidity()}reportValidity(){return this.elementInternals.reportValidity()}setFormValue(e,t){this.elementInternals?.setFormValue(e,e??t)}setValidity(e,t,r){if(this.elementInternals&&this.control){if(this.disabled){this.elementInternals.setValidity({});return}this.elementInternals.setValidity(e??this.control.validity,t??this.validationMessage,r??this.control)}}}_.formAssociated=!0,M([a],_.prototype,"autocomplete",2),M([a({mode:"boolean"})],_.prototype,"autofocus",2),M([a({attribute:"current-value"})],_.prototype,"currentValue",2),M([f],_.prototype,"defaultSlottedNodes",2),M([a],_.prototype,"dirname",2),M([a({mode:"boolean"})],_.prototype,"disabled",2),M([a({attribute:"form"})],_.prototype,"formAttribute",2),M([a({attribute:"value",mode:"fromView"})],_.prototype,"initialValue",2),M([a],_.prototype,"list",2),M([a({converter:ae})],_.prototype,"maxlength",2),M([a({converter:ae})],_.prototype,"minlength",2),M([a({mode:"boolean"})],_.prototype,"multiple",2),M([a],_.prototype,"name",2),M([a],_.prototype,"pattern",2),M([a],_.prototype,"placeholder",2),M([a({attribute:"readonly",mode:"boolean"})],_.prototype,"readOnly",2),M([a({mode:"boolean"})],_.prototype,"required",2),M([a({converter:ae})],_.prototype,"size",2),M([a({converter:{fromView:o=>typeof o=="string"?["true",""].includes(o.trim().toLowerCase()):null,toView:o=>o.toString()}})],_.prototype,"spellcheck",2),M([a],_.prototype,"type",2),M([f],_.prototype,"control",2),M([f],_.prototype,"controlLabel",2);var Ik=Object.defineProperty,Nk=Object.getOwnPropertyDescriptor,ru=(o,e,t,r)=>{for(var n=r>1?void 0:r?Nk(e,t):e,i=o.length-1,s;i>=0;i--)(s=o[i])&&(n=(r?s(e,t,n):s(n))||n);return r&&n&&Ik(e,t,n),n};class gr extends _{}ru([a],gr.prototype,"appearance",2),ru([a({attribute:"control-size"})],gr.prototype,"controlSize",2),ct(gr,nt);const nu=g`${w("block")} :host{font-family:${v};font-size:${O};font-weight:${F};line-height:${L};max-width:400px}.label{display:flex;color:${T};padding-bottom:${Et};flex-shrink:0;padding-inline-end:${te}}.label[hidden],:host(:empty) .label{display:none}.root{align-items:center;background-color:${P};border:${I} solid ${Re};border-bottom-color:${Ve};border-radius:${B};box-sizing:border-box;height:32px;display:inline-flex;flex-direction:row;gap:${V};padding:0 ${Ye};position:relative;width:100%}:has(.control:user-invalid){border-color:${Dr}}.root::after{box-sizing:border-box;content:'';position:absolute;left:-1px;bottom:0px;right:-1px;height:max(2px,${B});border-radius:0 0 ${B} ${B};border-bottom:2px solid ${at};clip-path:inset(calc(100% - 2px) 1px 0px);transform:scaleX(0);transition-property:transform;transition-duration:${Gr};transition-delay:${bt}}.control{width:100%;height:100%;box-sizing:border-box;color:${T};border-radius:${B};background:${ce};font-family:${v};font-weight:${F};font-size:${O};border:none;vertical-align:center}.control:focus-visible{outline:0;border:0}.control::placeholder{color:${_r}}:host ::slotted([slot='start']),:host ::slotted([slot='end']){display:flex;align-items:center;justify-content:center;color:${Y};font-size:${Ft}}:host ::slotted([slot='start']){padding-right:${V}}:host ::slotted([slot='end']){padding-left:${V};gap:${te}}:host(:hover) .root{border-color:${gt};border-bottom-color:${ut}}:host(:active) .root{border-color:${io}}:host(:focus-within) .root{outline:transparent solid 2px;border-bottom:0}:host(:focus-within) .root::after{transform:scaleX(1);transition-property:transform;transition-duration:${Go};transition-delay:${mt}}:host(:focus-within:active) .root:after{border-bottom-color:${ni}}:host([appearance='outline']:focus-within) .root{border:${I} solid ${Re}}:host(:focus-within) .control{color:${T}}:host([disabled]) .root{background:${ce};border:${I} solid ${be}}:host([disabled]) .control::placeholder,:host([disabled]) ::slotted([slot='start']),:host([disabled]) ::slotted([slot='end']){color:${z}}::selection{color:${dt};background-color:${Xn}}:host([control-size='small']) .control{font-size:${D};font-weight:${F};line-height:${j}}:host([control-size='small']) .root{height:24px;gap:${V};padding:0 ${ve}}:host([control-size='small']) ::slotted([slot='start']),:host([control-size='small']) ::slotted([slot='end']){font-size:${ue}}:host([control-size='large']) .control{font-size:${ue};font-weight:${F};line-height:${me}}:host([control-size='large']) .root{height:40px;gap:${_e};padding:0 ${oe}}:host([control-size='large']) ::slotted([slot='start']),:host([control-size='large']) ::slotted([slot='end']){font-size:${Lo}}:host([appearance='underline']) .root{background:${ce};border:0;border-radius:0;border-bottom:${I} solid ${Ve}}:host([appearance='underline']:hover) .root{border-bottom-color:${ut}}:host([appearance='underline']:active) .root{border-bottom-color:${pt}}:host([appearance='underline']:focus-within) .root{border:0;border-bottom-color:${pt}}:host([appearance='underline'][disabled]) .root{border-bottom-color:${be}}:host([appearance='filled-lighter']) .root,:host([appearance='filled-darker']) .root{border:${I} solid ${X};box-shadow:${Hr}}:host([appearance='filled-lighter']) .root{background:${P}}:host([appearance='filled-darker']) .root{background:${oo}}:host([appearance='filled-lighter']:hover) .root,:host([appearance='filled-darker']:hover) .root{border-color:${Er}}:host([appearance='filled-lighter']:active) .root,:host([appearance='filled-darker']:active) .root{border-color:${Er};background:${oo}}`;function Tk(o={}){return b`<template @focusin=${(e,t)=>e.focusinHandler(t.event)} @keydown=${(e,t)=>e.keydownHandler(t.event)}><label part=label for=control class=label ${A("controlLabel")}><slot ${K("defaultSlottedNodes")}></slot></label><div class=root part=root>${He(o)} <input class=control part=control id=control @change=${(e,t)=>e.changeHandler(t.event)} @input=${(e,t)=>e.inputHandler(t.event)} ?autofocus=${e=>e.autofocus} autocomplete=${e=>e.autocomplete} ?disabled=${e=>e.disabled} list=${e=>e.list} maxlength=${e=>e.maxlength} minlength=${e=>e.minlength} ?multiple=${e=>e.multiple} name=${e=>e.name} pattern=${e=>e.pattern} placeholder=${e=>e.placeholder} ?readonly=${e=>e.readOnly} ?required=${e=>e.required} size=${e=>e.size} spellcheck=${e=>e.spellcheck} type=${e=>e.type} value=${e=>e.value} ${A("control")}> ${it(o)}</div></template>`}const iu=Tk(),su=gr.compose({name:Bk,template:iu,styles:nu,shadowOptions:{delegatesFocus:!0}});su.define(u.registry);const Ak={_100:"100",_200:"200",_300:"300",_400:"400",_500:"500",_600:"600",_700:"700",_800:"800",_900:"900",_1000:"1000"},zk={base:"base",numeric:"numeric",monospace:"monospace"},_k={medium:"medium",regular:"regular",semibold:"semibold",bold:"bold"},Ok={start:"start",end:"end",center:"center",justify:"justify"},Fk=`${u.prefix}-text`;var Ek=Object.defineProperty,Dk=Object.getOwnPropertyDescriptor,ot=(o,e,t,r)=>{for(var n=r>1?void 0:r?Dk(e,t):e,i=o.length-1,s;i>=0;i--)(s=o[i])&&(n=(r?s(e,t,n):s(n))||n);return r&&n&&Ek(e,t,n),n};class Ee extends x{constructor(){super(...arguments),this.elementInternals=this.attachInternals(),this.nowrap=!1,this.truncate=!1,this.italic=!1,this.underline=!1,this.strikethrough=!1,this.block=!1}}ot([a({mode:"boolean"})],Ee.prototype,"nowrap",2),ot([a({mode:"boolean"})],Ee.prototype,"truncate",2),ot([a({mode:"boolean"})],Ee.prototype,"italic",2),ot([a({mode:"boolean"})],Ee.prototype,"underline",2),ot([a({mode:"boolean"})],Ee.prototype,"strikethrough",2),ot([a({mode:"boolean"})],Ee.prototype,"block",2),ot([a],Ee.prototype,"size",2),ot([a],Ee.prototype,"font",2),ot([a],Ee.prototype,"weight",2),ot([a],Ee.prototype,"align",2);const au=g`${w("inline")} :host{font-family:${v};font-size:${O};line-height:${L};font-weight:${F};text-align:start}:host([nowrap]),:host([nowrap]) ::slotted(*){white-space:nowrap;overflow:hidden}:host([truncate]),:host([truncate]) ::slotted(*){text-overflow:ellipsis}:host([block]){display:block}:host([italic]){font-style:italic}:host([underline]){text-decoration-line:underline}:host([strikethrough]){text-decoration-line:line-through}:host([underline][strikethrough]){text-decoration-line:line-through underline}:host([size='100']){font-size:${ao};line-height:${Ho}}:host([size='200']){font-size:${D};line-height:${j}}:host([size='400']){font-size:${ue};line-height:${me}}:host([size='500']){font-size:${Ft};line-height:${Vo}}:host([size='600']){font-size:${Lo};line-height:${xi}}:host([size='700']){font-size:${vi};line-height:${wi}}:host([size='800']){font-size:${$i};line-height:${Si}}:host([size='900']){font-size:${yi};line-height:${Bi}}:host([size='1000']){font-size:${ki};line-height:${Ci}}:host([font='monospace']){font-family:${Xl}}:host([font='numeric']){font-family:${Ul}}:host([weight='medium']){font-weight:${Kl}}:host([weight='semibold']){font-weight:${H}}:host([weight='bold']){font-weight:${Mo}}:host([align='center']){text-align:center}:host([align='end']){text-align:end}:host([align='justify']){text-align:justify}::slotted(*){font:inherit;line-height:inherit;text-decoration-line:inherit;text-align:inherit;text-decoration-line:inherit;margin:0}`,lu=b`<slot></slot>`,cu=Ee.compose({name:Fk,template:lu,styles:au});cu.define(u.registry);const Lk=Yo,Mk=Jo,Hk=Qo,Vk=`${u.prefix}-toggle-button`;var Rk=Object.defineProperty,jk=Object.getOwnPropertyDescriptor,du=(o,e,t,r)=>{for(var n=r>1?void 0:r?jk(e,t):e,i=o.length-1,s;i>=0;i--)(s=o[i])&&(n=(r?s(e,t,n):s(n))||n);return r&&n&&Rk(e,t,n),n};class $n extends Je{pressedChanged(){this.setPressedState()}mixedChanged(){this.setPressedState()}press(){this.pressed=!this.pressed}connectedCallback(){super.connectedCallback(),this.setPressedState()}setPressedState(){this.elementInternals&&(this.elementInternals.ariaPressed=`${this.mixed?"mixed":!!this.pressed}`,$(this.elementInternals,"pressed",!!this.pressed||!!this.mixed))}}du([a({mode:"boolean"})],$n.prototype,"pressed",2),du([a({mode:"boolean"})],$n.prototype,"mixed",2);const hu=g`${co} :host(${R}){border-color:${Re};background-color:${Gn};color:${T};border-width:${I}}:host(${R}:hover){border-color:${gt};background-color:${zo}}:host(${R}:active){border-color:${io};background-color:${Or}}:host(${R}[appearance='primary']:not(:focus-visible)){border-color:transparent}:host(${R}[appearance='primary']){background-color:${Ca};color:${Ke}}:host(${R}[appearance='primary']:hover){background-color:${Qn}}:host(${R}[appearance='primary']:active){background-color:${Zn}}:host(${R}[appearance='subtle']){border-color:transparent;background-color:${Kn};color:${Io}}:host(${R}[appearance='subtle']:hover){background-color:${_o};color:${At}}:host(${R}[appearance='subtle']:active){background-color:${no};color:${zt}}:host(${R}[appearance='outline']),:host(${R}[appearance='transparent']){background-color:${Yn}}:host(${R}[appearance='outline']:hover),:host(${R}[appearance='transparent']:hover){background-color:${Oo}}:host(${R}[appearance='outline']:active),:host(${R}[appearance='transparent']:active){background-color:${Fo}}:host(${R}[appearance='transparent']){border-color:transparent;color:${ia}}:host(${R}[appearance='transparent']:hover){color:${No}}:host(${R}[appearance='transparent']:active){color:${To}}@media (forced-colors:active){:host(${R}),:host( ${R}:is([appearance='primary'],[appearance='subtle'],[appearance='outline'],[appearance='transparent']) ){background:SelectedItem;color:SelectedItemText}}`,uu=Oi(),pu=$n.compose({name:Vk,template:uu,styles:hu});pu.define(u.registry);const Ne={"above-start":"block-start span-inline-end",above:"block-start","above-end":"block-start span-inline-start","below-start":"block-end span-inline-end",below:"block-end","below-end":"block-end span-inline-start","before-top":"inline-start span-block-end",before:"inline-start","before-bottom":"inline-start span-block-start","after-top":"inline-end span-block-end",after:"inline-end","after-bottom":"inline-end span-block-start"},qk=`${u.prefix}-tooltip`;var Wk=Object.defineProperty,Gk=Object.getOwnPropertyDescriptor,yn=(o,e,t,r)=>{for(var n=r>1?void 0:r?Gk(e,t):e,i=o.length-1,s;i>=0;i--)(s=o[i])&&(n=(r?s(e,t,n):s(n))||n);return r&&n&&Wk(e,t,n),n};class yo extends x{constructor(){super(),this.elementInternals=this.attachInternals(),this.id=Ze("tooltip-"),this.defaultDelay=250,this.anchor="",this.anchorPositioningStyleElement=null,this.mouseenterAnchorHandler=()=>this.showTooltip(this.delay),this.mouseleaveAnchorHandler=()=>this.hideTooltip(this.delay),this.focusAnchorHandler=()=>this.showTooltip(0),this.blurAnchorHandler=()=>this.hideTooltip(0),this.anchorPositioningReady=!1,this.elementInternals.role="tooltip"}positioningChanged(){this.setFallbackStyles()}get anchorElement(){const e=this.getRootNode();return(e instanceof ShadowRoot?e:document).getElementById(this.anchor??"")}connectedCallback(){if(super.connectedCallback(),this.popover??(this.popover="auto"),!this.anchorElement)return;const e=this.anchorElement.style.anchorName||`--${this.anchor}`,t=this.anchorElement.getAttribute("aria-describedby");if(this.anchorElement.setAttribute("aria-describedby",t?`${t} ${this.id}`:this.id),this.anchorElement.addEventListener("focus",this.focusAnchorHandler),this.anchorElement.addEventListener("blur",this.blurAnchorHandler),this.anchorElement.addEventListener("mouseenter",this.mouseenterAnchorHandler),this.anchorElement.addEventListener("mouseleave",this.mouseleaveAnchorHandler),Jr){qm||(this.anchorElement.style.anchorName=e,this.style.positionAnchor=e);return}E.enqueue(()=>this.setFallbackStyles())}disconnectedCallback(){if(this.anchorElement?.removeEventListener("focus",this.focusAnchorHandler),this.anchorElement?.removeEventListener("blur",this.blurAnchorHandler),this.anchorElement?.removeEventListener("mouseenter",this.mouseenterAnchorHandler),this.anchorElement?.removeEventListener("mouseleave",this.mouseleaveAnchorHandler),this.anchorElement){const t=(this.anchorElement.getAttribute("aria-describedby")??"").trim().split(/\s+/).filter(r=>r!==this.id);t.length?this.anchorElement.setAttribute("aria-describedby",t.join(" ")):this.anchorElement.removeAttribute("aria-describedby")}super.disconnectedCallback()}showTooltip(e=this.defaultDelay){if(!this.anchorPositioningReady){this.setFallbackStyles().then(()=>{this.showTooltip(e)});return}setTimeout(()=>{this.setAttribute("aria-hidden","false"),this.showPopover()},e)}hideTooltip(e=this.defaultDelay){setTimeout(()=>{if(this.matches(":hover")||this.anchorElement?.matches(":hover")){this.hideTooltip(e);return}this.setAttribute("aria-hidden","true"),this.hidePopover()},e)}async setFallbackStyles(){if(Jr){this.anchorPositioningReady=!0;return}if(!this.anchorElement)return;const e=this.anchorElement.style.anchorName||`--${this.anchor}`;this.anchorPositioningStyleElement||(this.anchorPositioningStyleElement=document.createElement("style"),document.head.append(this.anchorPositioningStyleElement));let[t,r]=this.positioning?.split("-")??[];r||((t==="above"||t==="below")&&(r="centerX"),(t==="before"||t==="after")&&(r="centerY"));const n={above:"bottom: anchor(top);",below:"top: anchor(bottom);",before:"right: anchor(left);",after:"left: anchor(right);"},i=n[t]??n.above,s={start:"left: anchor(left);",end:"right: anchor(right);",top:"top: anchor(top);",bottom:"bottom: anchor(bottom);",centerX:"left: anchor(center); translate: -50% 0;",centerY:"top: anchor(center); translate: 0 -50%;"},c=s[r]??s.centerX;this.anchorPositioningStyleElement.textContent=`
22
+ `;function V0(){return b`<div ${A("display")} class=display aria-hidden=true></div><slot name=icon ${A("iconSlot")} @slotchange=${o=>o.handleSlotChange()}></slot><slot name=value><span class=value-label aria-hidden=true>${o=>o.value}</span></slot><slot name=count><span class=count-label aria-hidden=true>${o=>o.formattedCount}</span></slot>`}const Ch=V0(),Ph=g`${w("inline-flex")} :host{--_icon-size:16px;--_icon-gradient-degree:90deg;--_icon-color-value:${ja};--_icon-color-empty:${fi};--_default-value:0;--_default-max:5;--_mask-image-filled:url(${pn(M0)});--_mask-image-outlined:url(${pn(H0)});--_mask-position-x:left;align-items:center;color:${T};font-family:${v};font-size:${D};line-height:${j};contain:layout style;user-select:none}:host(:dir(rtl)){--_icon-gradient-degree:-90deg;--_mask-position-x:right}:host([size='small']){--_icon-size:12px}:host([size='large']){--_icon-size:20px;font-size:${_};line-height:${L}}::slotted([slot='icon']){display:none}:host([color='neutral']){--_icon-color-value:${T};--_icon-color-empty:${ro}}:host([color='brand']){--_icon-color-value:${Ao};--_icon-color-empty:${ti}}@supports (width:attr(value type(<number>))){:host{--_attr-value:attr(value type(<number>));--_attr-max:attr(max type(<number>))}}:host([compact]) .display{--_max:1}.display{--_value:max(0,round(var(--_attr-value,var(--_default-value)) * 2)/2);--_max:max(1,var(--_attr-max,var(--_default-max)));--_mask-inline-size:calc(var(--_icon-size) + ${H});--_icon-gradient-stop-visual-adjustment:0px;--_icon-gradient-stop:calc( var(--_mask-inline-size) * var(--_value) - var(--_icon-gradient-stop-visual-adjustment) );background-image:linear-gradient( var(--_icon-gradient-degree),var(--_icon-color-value) var(--_icon-gradient-stop),var(--_icon-color-empty) calc(var(--_icon-gradient-stop) + 0.5px) );block-size:var(--_icon-size);display:grid;inline-size:calc(var(--_max) * var(--_mask-inline-size) - ${H}/2);mask-image:var(--_mask-image-filled);mask-repeat:repeat no-repeat;mask-size:var(--_mask-inline-size) var(--_icon-size);mask-position:var(--_mask-position-x) center}.value-label,::slotted([slot='value']){display:block;margin-inline-start:${te};font-weight:${M}}:host([size='small']) .value-label,:host([size='small']) ::slotted([slot='value']){margin-inline-start:${H}}:host([size='large']) .value-label,:host([size='large']) ::slotted([slot='value']){margin-inline-start:${ve}}:host(:not([count])) .count-label{display:none}.count-label::before,::slotted([slot='count'])::before{content:'·';margin-inline:${te}}:host([size='small']) .count-label::before,:host([size='small']) ::slotted([slot='count'])::before{margin-inline:${H}}:host([size='large']) .count-label::before,:host([size='large']) ::slotted([slot='count'])::before{margin-inline:${ve}}@media (forced-colors:active){.display{--_icon-color-value:CanvasText;--_icon-color-empty:Canvas;--_icon-gradient-stop-visual-adjustment:0.5px;forced-color-adjust:none}.display::before{background-color:var(--_icon-color-value);content:'';grid-area:1/1/-1/-1;mask:inherit;mask-image:var(--_mask-image-outlined)}}`,Ih=hr.compose({name:_0,template:Ch,styles:Ph});Ih.define(u.registry);const R0={small:"small",medium:"medium"},Nh=ye,Th={singleValue:"single-value"},j0=`${u.prefix}-slider`;function Ah(o,e,t){return Math.min(Math.max(t,o),e)}const Qi={fromView(o){const e=parseFloat(o);return Number.isNaN(e)?"":e.toString()},toView(o){const e=parseFloat(o);return Number.isNaN(e)?void 0:e.toString()}};function zh(o,e,t,r){let n=Ah(0,1,(o-e)/(t-e));return r===lt.rtl&&(n=1-n),n}var q0=Object.defineProperty,W0=Object.getOwnPropertyDescriptor,ie=(o,e,t,r)=>{for(var n=r>1?void 0:r?W0(e,t):e,i=o.length-1,s;i>=0;i--)(s=o[i])&&(n=(r?s(e,t,n):s(n))||n);return r&&n&&q0(e,t,n),n};class W extends x{constructor(){super(),this.elementInternals=this.attachInternals(),this.direction=lt.ltr,this.isDragging=!1,this.trackWidth=0,this.trackMinWidth=0,this.trackHeight=0,this.trackLeft=0,this.trackMinHeight=0,this.valueTextFormatter=()=>"",this.disabled=!1,this.min="",this.max="",this.step="",this.mode=Th.singleValue,this.setupTrackConstraints=()=>{const e=this.track.getBoundingClientRect();this.trackWidth=this.track.clientWidth,this.trackMinWidth=this.track.clientLeft,this.trackHeight=e.top,this.trackMinHeight=e.bottom,this.trackLeft=this.getBoundingClientRect().left,this.trackWidth===0&&(this.trackWidth=1)},this.handleThumbPointerDown=e=>{if(this.isDisabled)return!0;const t=e!==null?window.addEventListener:window.removeEventListener;return t("pointerup",this.handleWindowPointerUp),t("pointermove",this.handlePointerMove,{passive:!0}),t("touchmove",this.handlePointerMove,{passive:!0}),t("touchend",this.handleWindowPointerUp),this.isDragging=e!==null,!0},this.handlePointerMove=e=>{if(this.isDisabled||e.defaultPrevented)return;const t=window.TouchEvent&&e instanceof TouchEvent?e.touches[0]:e,r=this.thumb.getBoundingClientRect().width,n=this.orientation===ye.vertical?t.pageY-document.documentElement.scrollTop:t.pageX-document.documentElement.scrollLeft-this.trackLeft-r/2;this.value=`${this.calculateNewValue(n)}`},this.handleWindowPointerUp=()=>{this.stopDragging()},this.stopDragging=()=>{this.isDragging=!1,this.handlePointerDown(null),this.handleThumbPointerDown(null)},this.handlePointerDown=e=>{if(e===null||!this.isDisabled){const t=e!==null?window.addEventListener:window.removeEventListener,r=e!==null?document.addEventListener:document.removeEventListener;t("pointerup",this.handleWindowPointerUp),r("mouseleave",this.handleWindowPointerUp),t("pointermove",this.handlePointerMove);const n=this.thumb.getBoundingClientRect().width;if(e){this.setupTrackConstraints();const i=this.orientation===ye.vertical?e.pageY-document.documentElement.scrollTop:e.pageX-document.documentElement.scrollLeft-this.trackLeft-n/2;this.value=`${this.calculateNewValue(i)}`}}return!0},this.elementInternals.role="slider",this.elementInternals.ariaOrientation=this.orientation??Nh.horizontal}get labels(){return Object.freeze(Array.from(this.elementInternals.labels))}handleChange(e,t){switch(t){case"min":case"max":this.setSliderPosition();case"step":this.handleStepStyles();break}}handleStepStyles(){if(this.step){const e=100/Math.floor((this.maxAsNumber-this.minAsNumber)/this.stepAsNumber);this.stepStyles!==void 0&&this.$fastController.removeStyles(this.stepStyles),this.stepStyles=g`:host{--step-rate:${e}%}`,this.$fastController.addStyles(this.stepStyles)}else this.stepStyles!==void 0&&this.$fastController.removeStyles(this.stepStyles)}initialValueChanged(e,t){this.$fastController.isConnected?this.value=t:this._value=t}get validity(){return this.elementInternals.validity}get validationMessage(){return this.elementInternals.validationMessage}get willValidate(){return this.elementInternals.willValidate}checkValidity(){return this.elementInternals.checkValidity()}reportValidity(){return this.elementInternals.reportValidity()}setCustomValidity(e){this.setValidity({customError:!!e},e)}setValidity(e,t,r){if(this.$fastController.isConnected){if(this.isDisabled){this.elementInternals.setValidity({});return}this.elementInternals.setValidity({customError:!!t,...e},t??this.validationMessage,r)}}get value(){return m.track(this,"value"),this._value?.toString()??""}set value(e){if(!this.$fastController.isConnected){this._value=e.toString();return}const t=parseFloat(e),r=Ah(this.minAsNumber,this.maxAsNumber,this.convertToConstrainedValue(t)).toString();if(r!==e){this.value=r;return}this._value=e.toString(),this.elementInternals.ariaValueNow=this._value,this.elementInternals.ariaValueText=this.valueTextFormatter(this._value),this.setSliderPosition(),this.$emit("change"),this.setFormValue(e),m.notify(this,"value")}formResetCallback(){this.value=this.initialValue??this.midpoint}formDisabledCallback(e){this.setDisabledSideEffect(e)}setFormValue(e,t){this.elementInternals.setFormValue(e,e??t)}directionChanged(){this.setSliderPosition()}get valueAsNumber(){return parseFloat(this.value)}set valueAsNumber(e){this.value=e.toString()}valueTextFormatterChanged(){typeof this.valueTextFormatter=="function"?this.elementInternals.ariaValueText=this.valueTextFormatter(this._value):this.elementInternals.ariaValueText=""}disabledChanged(){this.setDisabledSideEffect(this.disabled)}get isDisabled(){return this.disabled||this.elementInternals?.ariaDisabled==="true"||this.isConnected&&this.matches(":disabled")}minChanged(){this.elementInternals.ariaValueMin=`${this.minAsNumber}`,this.$fastController.isConnected&&this.minAsNumber>this.valueAsNumber&&(this.value=this.min)}get minAsNumber(){if(this.min!==void 0){const e=parseFloat(this.min);if(!Number.isNaN(e))return e}return 0}maxChanged(){this.elementInternals.ariaValueMax=`${this.maxAsNumber}`,this.$fastController.isConnected&&this.maxAsNumber<this.valueAsNumber&&(this.value=this.max)}get maxAsNumber(){if(this.max!==void 0){const e=parseFloat(this.max);if(!Number.isNaN(e))return e}return 100}stepChanged(){this.updateStepMultiplier(),this.$fastController.isConnected&&(this.value=this._value)}get stepAsNumber(){if(this.step!==void 0){const e=parseFloat(this.step);if(!Number.isNaN(e)&&e>0)return e}return 1}orientationChanged(e,t){this.elementInternals.ariaOrientation=t??ye.horizontal,this.$fastController.isConnected&&this.setSliderPosition()}connectedCallback(){super.connectedCallback(),requestAnimationFrame(()=>{if(!this.$fastController.isConnected)return;this.direction=ji(this),this.setDisabledSideEffect(this.disabled),this.updateStepMultiplier(),this.setupTrackConstraints(),this.setupDefaultValue(),this.setSliderPosition(),this.handleStepStyles();const e=m.getNotifier(this);e.subscribe(this,"max"),e.subscribe(this,"min"),e.subscribe(this,"step")})}disconnectedCallback(){super.disconnectedCallback();const e=m.getNotifier(this);e.unsubscribe(this,"max"),e.unsubscribe(this,"min"),e.unsubscribe(this,"step")}increment(){const e=this.direction!==lt.rtl?Number(this.value)+this.stepAsNumber:Number(this.value)-this.stepAsNumber,t=this.convertToConstrainedValue(e),r=t<this.maxAsNumber?`${t}`:`${this.maxAsNumber}`;this.value=r}decrement(){const e=this.direction!==lt.rtl?Number(this.value)-Number(this.stepAsNumber):Number(this.value)+Number(this.stepAsNumber),t=this.convertToConstrainedValue(e),r=t>this.minAsNumber?`${t}`:`${this.minAsNumber}`;this.value=r}handleKeydown(e){if(this.isDisabled)return!0;switch(e.key){case"Home":e.preventDefault(),this.value=this.direction!==lt.rtl&&this.orientation!==ye.vertical?`${this.minAsNumber}`:`${this.maxAsNumber}`;break;case"End":e.preventDefault(),this.value=this.direction!==lt.rtl&&this.orientation!==ye.vertical?`${this.maxAsNumber}`:`${this.minAsNumber}`;break;case"ArrowRight":case"ArrowUp":e.shiftKey||(e.preventDefault(),this.increment());break;case"ArrowLeft":case"ArrowDown":e.shiftKey||(e.preventDefault(),this.decrement());break}return!0}setSliderPosition(){const t=zh(parseFloat(this.value),this.minAsNumber,this.maxAsNumber,this.orientation===ye.vertical?void 0:this.direction)*100;this.position=`--slider-thumb: ${t}%; --slider-progress: ${t}%`}updateStepMultiplier(){const e=this.stepAsNumber+"",t=this.stepAsNumber%1?e.length-e.indexOf(".")-1:0;this.stepMultiplier=Math.pow(10,t)}get midpoint(){return`${this.convertToConstrainedValue((this.maxAsNumber+this.minAsNumber)/2)}`}setupDefaultValue(){this._value||(this.value=this.initialValue??this.midpoint),!Number.isNaN(this.valueAsNumber)&&(this.valueAsNumber<this.minAsNumber||this.valueAsNumber>this.maxAsNumber)&&(this.value=this.midpoint),this.elementInternals.ariaValueNow=this.value}calculateNewValue(e){this.setupTrackConstraints();const t=zh(e,this.orientation===ye.vertical?this.trackMinHeight:this.trackMinWidth,this.orientation===ye.vertical?this.trackHeight:this.trackWidth,this.orientation===ye.vertical?void 0:this.direction),r=(this.maxAsNumber-this.minAsNumber)*t+this.minAsNumber;return this.convertToConstrainedValue(r)}convertToConstrainedValue(e){isNaN(e)&&(e=this.minAsNumber);let t=e-this.minAsNumber;const r=Math.round(t/this.stepAsNumber),n=t-r*(this.stepMultiplier*this.stepAsNumber)/this.stepMultiplier;return t=n>=Number(this.stepAsNumber)/2?t-n+Number(this.stepAsNumber):t-n,t+this.minAsNumber}setDisabledSideEffect(e=this.isDisabled){E.enqueue(()=>{this.elementInternals.ariaDisabled=e.toString(),this.tabIndex=e?-1:0})}}W.formAssociated=!0,ie([a],W.prototype,"size",2),ie([a({attribute:"value",mode:"fromView"})],W.prototype,"initialValue",2),ie([f],W.prototype,"direction",2),ie([f],W.prototype,"isDragging",2),ie([f],W.prototype,"position",2),ie([f],W.prototype,"trackWidth",2),ie([f],W.prototype,"trackMinWidth",2),ie([f],W.prototype,"trackHeight",2),ie([f],W.prototype,"trackLeft",2),ie([f],W.prototype,"trackMinHeight",2),ie([f],W.prototype,"valueTextFormatter",2),ie([a({mode:"boolean"})],W.prototype,"disabled",2),ie([a({converter:Qi})],W.prototype,"min",2),ie([a({converter:Qi})],W.prototype,"max",2),ie([a({converter:Qi})],W.prototype,"step",2),ie([a],W.prototype,"orientation",2),ie([a],W.prototype,"mode",2);const _h=g`${w("inline-grid")} :host{--thumb-size:20px;--track-margin-inline:calc(var(--thumb-size)/2);--track-size:4px;--track-overhang:calc(var(--track-size)/-2);--rail-color:${ht};--track-color:${Ve};--slider-direction:90deg;--border-radius:${B};--step-marker-inset:var(--track-overhang) -1px;position:relative;align-items:center;justify-content:center;box-sizing:border-box;outline:none;user-select:none;touch-action:none;min-width:120px;min-height:32px;grid-template-rows:1fr var(--thumb-size) 1fr;grid-template-columns:var(--track-margin-inline) 1fr var(--track-margin-inline)}:host(:hover){--rail-color:${zt}}:host(:active){--rail-color:${_t}}:host(:disabled){--rail-color:${z};--track-color:${st}}:host(:not(:disabled)){cursor:pointer}:host(:dir(rtl)){--slider-direction:-90deg}:host([size='small']){--thumb-size:16px;--track-overhang:-1px;--track-size:2px;--border-radius:${Te}}:host([orientation='vertical']){--slider-direction:0deg;--step-marker-inset:-1px var(--track-overhang);min-height:120px;grid-template-rows:var(--track-margin-inline) 1fr var(--track-margin-inline);grid-template-columns:1fr var(--thumb-size) 1fr;width:unset;min-width:32px;justify-items:center}:host(:not([slot='input']):focus-visible){box-shadow:0 0 0 2pt ${ce};outline:1px solid ${Eo}}:host:after,.track{height:var(--track-size);width:100%}:host:after{background-image:linear-gradient( var(--slider-direction),var(--rail-color) 0%,var(--rail-color) 50%,var(--track-color) 50.1%,var(--track-color) 100% );border-radius:var(--border-radius);content:'';grid-row:1/-1;grid-column:1/-1}.track{position:relative;background-color:var(--track-color);grid-row:2/2;grid-column:2/2;forced-color-adjust:none;overflow:hidden}:host([orientation='vertical'])::after,:host([orientation='vertical']) .track{height:100%;width:var(--track-size)}.track::before{content:'';position:absolute;height:100%;border-radius:inherit;inset-inline-start:0;width:var(--slider-progress)}:host(:dir(rtl)) .track::before{width:calc(100% - var(--slider-progress))}:host([orientation='vertical']) .track::before{width:100%;bottom:0;height:var(--slider-progress)}:host([step]) .track::after{content:'';position:absolute;border-radius:inherit;inset:var(--step-marker-inset);background-image:repeating-linear-gradient( var(--slider-direction),#0000 0%,#0000 calc(var(--step-rate) - 1px),${P} calc(var(--step-rate) - 1px),${P} var(--step-rate) )}.thumb-container{position:absolute;grid-row:2/2;grid-column:2/2;transform:translateX(-50%);left:var(--slider-thumb)}:host([orientation='vertical']) .thumb-container{transform:translateY(50%);left:unset;bottom:var(--slider-thumb)}:host(:not(:active)) :is(.thumb-container,.track::before){transition:all 0.2s ease}.thumb{width:var(--thumb-size);height:var(--thumb-size);border-radius:${de};box-shadow:0 0 0 calc(var(--thumb-size) * 0.2) ${P} inset;border:calc(var(--thumb-size) * 0.05) solid ${Re};box-sizing:border-box}.thumb,.track::before{background-color:var(--rail-color)}@media (forced-colors:active){.track:hover,.track:active,.track{background:WindowText}.thumb:hover,.thumb:active,.thumb{background:ButtonText}:host(:hover) .track::before,:host(:active) .track::before,.track::before{background:Highlight}}`;function G0(o={}){return b`<template @pointerdown=${(e,t)=>e.handlePointerDown(t.event)} @keydown=${(e,t)=>e.handleKeydown(t.event)}><div ${A("track")} part=track-container class=track style=${e=>e.position}></div><div ${A("thumb")} part=thumb-container class=thumb-container style=${e=>e.position} @pointerdown=${(e,t)=>e.handleThumbPointerDown(t.event)}><slot name=thumb>${fe(o.thumb)}</slot></div></template>`}const Oh=G0({thumb:'<div class="thumb"></div>'}),Fh=W.compose({name:j0,template:Oh,styles:_h});Fh.define(u.registry);const X0={primary:"primary",inverted:"inverted"},U0={tiny:"tiny",extraSmall:"extra-small",small:"small",medium:"medium",large:"large",extraLarge:"extra-large",huge:"huge"},K0=`${u.prefix}-spinner`;class Eh extends x{constructor(){super(),this.elementInternals=this.attachInternals(),this.elementInternals.role="progressbar"}}var Y0=Object.defineProperty,J0=Object.getOwnPropertyDescriptor,Dh=(o,e,t,r)=>{for(var n=r>1?void 0:r?J0(e,t):e,i=o.length-1,s;i>=0;i--)(s=o[i])&&(n=(r?s(e,t,n):s(n))||n);return r&&n&&Y0(e,t,n),n};class gn extends Eh{}Dh([a],gn.prototype,"size",2),Dh([a],gn.prototype,"appearance",2);const Lh=g`${w("inline-flex")} :host{--duration:1.5s;--indicatorSize:${Be};--size:32px;height:var(--size);width:var(--size);contain:strict;content-visibility:auto}:host([size='tiny']){--indicatorSize:${ue};--size:20px}:host([size='extra-small']){--indicatorSize:${ue};--size:24px}:host([size='small']){--indicatorSize:${ue};--size:28px}:host([size='large']){--indicatorSize:${Be};--size:36px}:host([size='extra-large']){--indicatorSize:${Be};--size:40px}:host([size='huge']){--indicatorSize:${jr};--size:44px}.progress,.background,.spinner,.start,.end,.indicator{position:absolute;inset:0}.progress,.spinner,.indicator{animation:none var(--duration) infinite ${Ko}}.progress{animation-timing-function:linear;animation-name:spin-linear}.background{border:var(--indicatorSize) solid ${ri};border-radius:50%}:host([appearance='inverted']) .background{border-color:rgba(255,255,255,0.2)}.spinner{animation-name:spin-swing}.start{overflow:hidden;right:50%}.end{overflow:hidden;left:50%}.indicator{color:${oi};box-sizing:border-box;border-radius:50%;border:var(--indicatorSize) solid transparent;border-block-start-color:currentcolor;border-right-color:currentcolor}:host([appearance='inverted']) .indicator{color:${Ia}}.start .indicator{rotate:135deg;inset:0 -100% 0 0;animation-name:spin-start}.end .indicator{rotate:135deg;inset:0 0 0 -100%;animation-name:spin-end}@keyframes spin-linear{100%{transform:rotate(360deg)}}@keyframes spin-swing{0%{transform:rotate(-135deg)}50%{transform:rotate(0deg)}100%{transform:rotate(225deg)}}@keyframes spin-start{0%,100%{transform:rotate(0deg)}50%{transform:rotate(-80deg)}}@keyframes spin-end{0%,100%{transform:rotate(0deg)}50%{transform:rotate(70deg)}}@media (forced-colors:active){.background{display:none}.indicator{border-color:Canvas;border-block-start-color:Highlight;border-right-color:Highlight}}`,Mh=b`<slot name=indicator><div class=background></div><div class=progress><div class=spinner><div class=start><div class=indicator></div></div><div class=end><div class=indicator></div></div></div></div></slot>`,Hh=gn.compose({name:K0,template:Mh,styles:Lh});Hh.define(u.registry);const Q0={above:"above",after:"after",before:"before"},Z0=`${u.prefix}-switch`;class Vh extends _e{constructor(){super(),this.elementInternals.role="switch"}}function ek(o={}){return b`<template @click=${(e,t)=>e.clickHandler(t.event)} @input=${(e,t)=>e.inputHandler(t.event)} @keydown=${(e,t)=>e.keydownHandler(t.event)} @keyup=${(e,t)=>e.keyupHandler(t.event)}><slot name=switch>${fe(o.switch)}</slot></template>`}const Rh=ek({switch:'<span class="checked-indicator" part="checked-indicator"></span>'}),jh=g`${w("inline-flex")} :host{box-sizing:border-box;align-items:center;flex-direction:row;outline:none;user-select:none;contain:content;padding:0 ${H};width:40px;height:20px;background-color:${le};border:1px solid ${Ve};border-radius:${de}}:host(:enabled){cursor:pointer}:host(:hover){background:none;border-color:${ut}}:host(:active){border-color:${pt}}:host(:disabled),:host([readonly]){border:1px solid ${be};background-color:none;pointer:default}:host(${y}){background:${ht};border-color:${ht}}:host(${y}:hover){background:${zt};border-color:${zt}}:host(${y}:active){background:${_t};border-color:${_t}}:host(${y}:disabled){background:${st};border-color:${be}}.checked-indicator{height:14px;width:14px;border-radius:50%;margin-inline-start:0;background-color:${Y};transition-duration:${Xo};transition-timing-function:${Ko};transition-property:margin-inline-start}:host(${y}) .checked-indicator{background-color:${dt};margin-inline-start:calc(100% - 14px)}:host(${y}:hover) .checked-indicator{background:${ma}}:host(${y}:active) .checked-indicator{background:${va}}:host(:hover) .checked-indicator{background-color:${sa}}:host(:active) .checked-indicator{background-color:${aa}}:host(:disabled) .checked-indicator,:host([readonly]) .checked-indicator{background:${z}}:host(${y}:disabled) .checked-indicator{background:${z}}:host(:focus-visible){outline:none}:host(:not([slot='input']):focus-visible){border-color:${X};outline:${ue} solid ${X};outline-offset:1px;box-shadow:${Ro},0 0 0 2px ${ce}}@media (forced-colors:active){:host{border-color:InactiveBorder}:host(${y}),:host(${y}:active),:host(${y}:hover){background:Highlight;border-color:Highlight}.checked-indicator,:host(:hover) .checked-indicator,:host(:active) .checked-indicator{background-color:ActiveCaption}:host(${y}) .checked-indicator,:host(${y}:hover) .checked-indicator,:host(${y}:active) .checked-indicator{background-color:ButtonFace}:host(:disabled) .checked-indicator,:host(${y}:disabled) .checked-indicator{background-color:GrayText}}`,qh=Vh.compose({name:Z0,template:Rh,styles:jh});qh.define(u.registry);function fn(o,e="-tab"){return o?.nodeType!==Node.ELEMENT_NODE?!1:o.tagName.toLowerCase().endsWith(e)}const tk=`${u.prefix}-tab`;var ok=Object.defineProperty,rk=Object.getOwnPropertyDescriptor,nk=(o,e,t,r)=>{for(var n=r>1?void 0:r?rk(e,t):e,i=o.length-1,s;i>=0;i--)(s=o[i])&&(n=(r?s(e,t,n):s(n))||n);return r&&n&&ok(e,t,n),n};class bn extends x{constructor(){super(),this.elementInternals=this.attachInternals(),this.elementInternals.role="tab"}disabledChanged(e,t){this.setDisabledSideEffect(t)}connectedCallback(){super.connectedCallback(),this.slot||(this.slot="tab"),this.setDisabledSideEffect(this.disabled),this.styles&&this.$fastController.removeStyles(this.styles),this.styles=g`:host{--textContent:'${this.textContent}'}`,this.$fastController.addStyles(this.styles)}setDisabledSideEffect(e){e?this.setAttribute("aria-disabled","true"):this.removeAttribute("aria-disabled"),this.tabIndex=e&&this.getAttribute("aria-selected")!=="true"?-1:0}}nk([a({mode:"boolean"})],bn.prototype,"disabled",2),ct(bn,nt);function ik(o={}){return b`<template slot=tab role=tab>${He(o)} <span class=tab-content><slot></slot></span>${it(o)}</template>`}const Wh=ik({}),Gh=g`${w("inline-flex")} :host{position:relative;flex-direction:row;align-items:center;cursor:pointer;box-sizing:border-box;justify-content:center;line-height:${L};font-family:${v};font-size:${_};color:${Ne};fill:currentcolor;grid-row:1;padding:${oe} ${Ye};border-radius:${B};gap:4px}:host .tab-content{display:inline-flex;flex-direction:column;padding:0 2px}:host([aria-selected='true']){color:${T};font-weight:${M}}:host .tab-content::after{content:var(--textContent);visibility:hidden;height:0;line-height:${L};font-weight:${M}}:host([aria-selected='true'])::after{background-color:${at};border-radius:${de};content:'';inset:0;position:absolute;z-index:2}:host([aria-selected='false']:hover)::after{background-color:${gt};border-radius:${de};content:'';inset:0;position:absolute;z-index:1}@supports (anchor-name:--a) and (text-size-adjust:auto){:host([aria-selected='true'])::after{background-color:transparent}:host([aria-selected='true']:hover)::after{background-color:${gt}}}:host([aria-selected='true'][disabled])::after{background-color:${z}}::slotted([slot='start']),::slotted([slot='end']){display:flex}:host([disabled]){cursor:not-allowed;fill:${z};color:${z};pointer-events:none}:host([disabled]:hover)::after{background-color:unset}:host(:focus){outline:none}:host(:focus-visible){border-radius:${Te};box-shadow:0 0 0 3px ${ce};outline:1px solid ${Eo}}:host([data-hasIndent]){display:grid;grid-template-columns:20px 1fr auto}:host([data-hasIndent]) .tab-content{grid-column:2}@media (forced-colors:active){:host([aria-selected='true'])::after{background-color:Highlight}}`,Xh=bn.compose({name:tk,template:Wh,styles:Gh});Xh.define(u.registry);const Uh={subtle:"subtle",transparent:"transparent"},sk={small:"small",medium:"medium",large:"large"},$o=ye,ak=`${u.prefix}-tablist`;var lk=Object.defineProperty,ck=Object.getOwnPropertyDescriptor,ur=(o,e,t,r)=>{for(var n=r>1?void 0:r?ck(e,t):e,i=o.length-1,s;i>=0;i--)(s=o[i])&&(n=(r?s(e,t,n):s(n))||n);return r&&n&&lk(e,t,n),n};class Kt extends x{constructor(){super(),this.elementInternals=this.attachInternals(),this.disabled=!1,this.orientation=$o.horizontal,this.tabs=[],this.tabPanelMap=new WeakMap,this.change=()=>{this.$emit("change",this.activetab)},this.elementInternals.role="tablist",this.elementInternals.ariaOrientation=this.orientation??$o.horizontal}disabledChanged(e,t){this.elementInternals&&$(this.elementInternals,"disabled",t),this.setTabs({forceDisabled:!0})}orientationChanged(e,t){this.elementInternals&&(this.elementInternals.ariaOrientation=t??$o.horizontal,Et(this.elementInternals,e,t,$o)),this.setTabs()}activeidChanged(e,t){this.tabs?.length>0&&this.changeTab(e,t)}slottedTabsChanged(e,t){this.tabs=t?.filter(r=>fn(r))??[]}tabsChanged(e,t){this.tabs?.length>0&&this.setTabs({connectToPanel:!0})}setTabs({connectToPanel:e=!1,forceDisabled:t=!1}={}){if(!this.tabs)return;const r=this.tabs.some(s=>!!s.querySelector("[slot='start']")),n=this.getRootNode();let i="";for(const s of this.tabs){if(s.slot!=="tab")continue;s.id||(s.id=Ze("tab-")),t?s.disabled=this.disabled:s.disabled=s.disabled||this.disabled,!i&&!s.disabled&&(i=s.id);const c=this.activeid===s.id;if(s.toggleAttribute("focusgroupstart",c),s.setAttribute("aria-selected",c.toString()),s.toggleAttribute("data-hasIndent",r&&this.orientation===$o.vertical),e){const h=s.getAttribute("aria-controls")??"",d=n.getElementById(h);h&&d&&(d.role??(d.role="tabpanel"),d.hidden=this.activeid!==s.id,this.tabPanelMap.set(s,d))}}this.disabled||(this.activeid?this.changeTab(void 0,this.activeid):i&&(this.activeid=i))}handleFocusIn(e){const t=e.target;!fn(t)||t.disabled||(this.activeid=t.id)}changeTab(e,t){const r=this.getRootNode(),n=e?r.getElementById(e):null,i=r.getElementById(t);if(!fn(i)||!this.contains(i))return;if(n){n.setAttribute("aria-selected","false");const c=this.tabPanelMap.get(n);c&&(c.hidden=!0)}i.setAttribute("aria-selected","true");const s=this.tabPanelMap.get(i);s&&(s.hidden=!1),this.activetab=i,this.change()}connectedCallback(){super.connectedCallback(),Yo(this,()=>{this.setTabs()},{shallow:!0})}}ur([a({mode:"boolean"})],Kt.prototype,"disabled",2),ur([a],Kt.prototype,"orientation",2),ur([a],Kt.prototype,"activeid",2),ur([f],Kt.prototype,"slottedTabs",2),ur([f],Kt.prototype,"tabs",2);var dk=Object.defineProperty,hk=Object.getOwnPropertyDescriptor,Kh=(o,e,t,r)=>{for(var n=r>1?void 0:r?hk(e,t):e,i=o.length-1,s;i>=0;i--)(s=o[i])&&(n=(r?s(e,t,n):s(n))||n);return r&&n&&dk(e,t,n),n};class mn extends Kt{constructor(){super(...arguments),this.appearance=Uh.transparent}disconnectedCallback(){this.fg?.disconnect(),super.disconnectedCallback()}tabsChanged(e,t){super.tabsChanged(e,t),this.fgItems??(this.fgItems=new hn(()=>this.tabs?.filter(r=>(r.getAttribute("aria-selected")==="true"||!r.disabled)&&!r.hidden)??[],()=>this.activetab??null)),this.fg?this.fg.update():this.fg=new dn(this,this.fgItems,{definition:{behavior:"tablist",axis:void 0,memory:!1,wrap:!0}})}}Kh([a],mn.prototype,"appearance",2),Kh([a],mn.prototype,"size",2);const Yh=b`<template role=tablist focusgroup="tablist inline block" @focusin=${(o,e)=>o.handleFocusIn(e.event)}><slot name=tab ${K("slottedTabs")}></slot></template>`,Jh=g`${w("flex")} :host{--tabPaddingInline:${Ye};--tabPaddingBlock:${oe};--tabIndicatorInsetInline:var(--tabPaddingInline);--tabIndicatorInsetBlock:0;box-sizing:border-box;color:${Ne};flex-direction:row;position:relative}:host([size='small']){--tabPaddingBlock:${lo};--tabPaddingInline:${ve}}:host([size='large']){--tabPaddingBlock:${Wr};--tabPaddingInline:${Ye}}:host([orientation='vertical']){--tabPaddingBlock:${re};--tabIndicatorInsetBlock:${re};flex-direction:column}:host([orientation='vertical'][size='small']){--tabPaddingBlock:${qo};--tabIndicatorInsetBlock:${lo}}:host([orientation='vertical'][size='large']){--tabPaddingBlock:${re};--tabIndicatorInsetBlock:${Wo}}::slotted([slot='tab']){padding-inline:var(--tabPaddingInline);padding-block:var(--tabPaddingBlock)}:host([orientation='vertical']) ::slotted([role='tab']){justify-content:flex-start}:host ::slotted([slot='tab'])::after{height:${Be};margin-block-start:auto}:host([orientation='vertical']) ::slotted([slot='tab'])::after{width:${Be};height:unset;margin-block-start:unset}:host ::slotted([slot='tab'])::before{height:${Be};border-radius:${de};content:'';inset-inline:var(--tabIndicatorInsetInline);inset-block:var(--tabIndicatorInsetBlock);position:absolute;margin-top:auto}:host ::slotted([slot='tab'])::before{inset-inline:var(--tabIndicatorInsetInline);inset-block:var(--tabIndicatorInsetBlock)}:host ::slotted([slot='tab'][aria-selected='true'])::before{background-color:${z}}:host ::slotted([slot='tab'][aria-selected='false']:hover)::after{height:${Be};margin-block-start:auto;transform-origin:left}:host([orientation='vertical']) ::slotted([slot='tab'])::before,:host([orientation='vertical']) ::slotted([slot='tab'][aria-selected='false']:hover)::after{height:unset;width:${Be};margin-inline-end:auto;transform-origin:top}:host([size='small']) ::slotted([slot='tab']){font-size:${_};line-height:${L}}:host([size='large']) ::slotted([slot='tab']){font-size:${he};line-height:${me}}:host ::slotted([slot='tab'])::after,:host ::slotted([slot='tab'])::before,:host ::slotted([slot='tab']:hover)::after{inset-inline:var(--tabIndicatorInsetInline)}:host([orientation='vertical']) ::slotted([slot='tab'])::after,:host([orientation='vertical']) ::slotted([slot='tab'])::before,:host([orientation='vertical']) ::slotted([slot='tab']:hover)::after{inset-inline:0;inset-block:var(--tabIndicatorInsetBlock)}:host([disabled]){cursor:not-allowed;color:${z}}:host([disabled]) ::slotted([slot='tab']){pointer-events:none;cursor:not-allowed;color:${z}}:host([disabled]) ::slotted([slot='tab']:after){background-color:${z}}:host([disabled]) ::slotted([slot='tab'][aria-selected='true'])::after{background-color:${z}}:host([disabled]) ::slotted([slot='tab']:hover):before{content:unset}:host([appearance='subtle']) ::slotted([slot='tab']:hover){background-color:${_o};color:${qn};fill:${fa}}:host([appearance='subtle']) ::slotted([slot='tab']:active){background-color:${no};fill:${no};color:${T}}@supports (anchor-name:--a) and (text-size-adjust:auto){::slotted([slot='tab'][aria-selected='true']){anchor-name:--tab}:host::after{background-color:${at};content:'';inline-size:100%;inset:auto auto anchor(end) anchor(center);position:fixed;position-anchor:--tab;transform:translateX(-50%);transition-property:inset-inline,width;transition-duration:${oc};transition-timing-function:${Ni};z-index:3;border-radius:${de};width:calc(anchor-size() - var(--tabIndicatorInsetInline) * 2);height:${Be}}:host([orientation='vertical'])::after{inset:anchor(center) anchor(end) auto 0;transform:translateY(-50%);transition-property:inset-block,height;width:${Be};height:calc(anchor-size() - var(--tabIndicatorInsetBlock) * 2)}:host(:dir(rtl)[orientation='vertical'])::after{inset:anchor(center) anchor(start) auto 0}:host([disabled])::after{background-color:${z}}}`,Qh=mn.compose({name:ak,template:Yh,styles:Jh});Qh.define(u.registry);const uk={small:"small",medium:"medium",large:"large"},vn={outline:"outline",filledLighter:"filled-lighter",filledDarker:"filled-darker"},pk=[vn.filledLighter,vn.filledDarker],gk={on:"on",off:"off"},pr={none:"none",both:"both",horizontal:"horizontal",vertical:"vertical"},fk=`${u.prefix}-textarea`,bk=o=>o.nodeType!==Node.TEXT_NODE||!!o.nodeValue?.trim().length;var mk=Object.defineProperty,vk=Object.getOwnPropertyDescriptor,se=(o,e,t,r)=>{for(var n=r>1?void 0:r?vk(e,t):e,i=o.length-1,s;i>=0;i--)(s=o[i])&&(n=(r?s(e,t,n):s(n))||n);return r&&n&&mk(e,t,n),n};class G extends x{constructor(){super(),this.elementInternals=this.attachInternals(),this.filteredLabelSlottedNodes=[],this.labelSlottedNodes=[],this.userInteracted=!1,this.preConnectControlEl=document.createElement("textarea"),this.autoResize=!1,this.disabled=!1,this.displayShadow=!1,this.readOnly=!1,this.required=!1,this.resize=pr.none,this.spellcheck=!1}controlElChanged(){this.controlElAttrObserver=new MutationObserver(()=>{this.setValidity()}),this.controlElAttrObserver.observe(this.controlEl,{attributes:!0,attributeFilter:["disabled","required","readonly","maxlength","minlength"]}),this.controlEl.addEventListener("input",()=>this.userInteracted=!0,{once:!0})}defaultSlottedNodesChanged(){E.enqueue(()=>{const e=this.getContent();this.defaultValue=e,this.value=e})}labelSlottedNodesChanged(){this.filteredLabelSlottedNodes=this.labelSlottedNodes.filter(bk),this.labelEl&&(this.labelEl.hidden=!this.filteredLabelSlottedNodes.length),this.filteredLabelSlottedNodes.forEach(e=>{e.disabled=this.disabled,e.required=this.required})}autoResizeChanged(){this.maybeCreateAutoSizerEl(),$(this.elementInternals,"auto-resize",this.autoResize)}disabledChanged(){this.setDisabledSideEffect(this.disabled)}get form(){return this.elementInternals.form}get labels(){return this.elementInternals.labels}readOnlyChanged(){this.elementInternals&&(this.elementInternals.ariaReadOnly=`${!!this.readOnly}`,this.setValidity())}requiredChanged(){this.elementInternals.ariaRequired=`${!!this.required}`,this.filteredLabelSlottedNodes?.length&&this.filteredLabelSlottedNodes.forEach(e=>e.required=this.required)}resizeChanged(e,t){Et(this.elementInternals,e,t,pr,"resize-"),$(this.elementInternals,"resize",yc(pr,t)&&t!==pr.none)}get textLength(){return this.controlEl.textLength}get type(){return"textarea"}get validity(){return this.elementInternals.validity}get validationMessage(){return this.elementInternals.validationMessage||this.controlEl.validationMessage}get willValidate(){return this.elementInternals.willValidate}get defaultValue(){return this.controlEl?.defaultValue??this.preConnectControlEl.defaultValue}set defaultValue(e){const t=this.controlEl??this.preConnectControlEl;t.defaultValue=e,this.controlEl&&!this.userInteracted&&(this.controlEl.value=e)}get value(){return this.controlEl?.value??this.preConnectControlEl.value}set value(e){const t=this.controlEl??this.preConnectControlEl;t.value=e,this.setFormValue(e),this.setValidity()}connectedCallback(){super.connectedCallback(),requestAnimationFrame(()=>{if(!this.$fastController.isConnected)return;const e=this.preConnectControlEl,t=this.getContent();this.defaultValue=t||e?.defaultValue||"",this.value=e?.value||this.defaultValue,this.setFormValue(this.value),this.setValidity(),this.preConnectControlEl=null,this.maybeCreateAutoSizerEl()})}disconnectedCallback(){super.disconnectedCallback(),this.autoSizerObserver?.disconnect(),this.controlElAttrObserver?.disconnect()}formResetCallback(){this.value=this.defaultValue}formDisabledCallback(e){this.setDisabledSideEffect(e),this.setValidity()}setFormValue(e,t){this.elementInternals.setFormValue(e,e??t)}checkValidity(){return this.elementInternals.checkValidity()}reportValidity(){return this.elementInternals.reportValidity()}setCustomValidity(e){this.elementInternals?.setValidity({customError:!!e},e?e.toString():void 0),this.reportValidity()}setValidity(e,t,r){this.elementInternals&&(this.disabled||this.readOnly?this.elementInternals.setValidity({}):this.elementInternals.setValidity(e??this.controlEl?.validity,t??this.controlEl?.validationMessage,r??this.controlEl),this.userInteracted&&this.toggleUserValidityState())}select(){this.controlEl.select()}getContent(){return this.defaultSlottedNodes?.map(e=>{switch(e.nodeType){case Node.ELEMENT_NODE:return e.outerHTML;case Node.TEXT_NODE:return e.textContent.trim();default:return""}}).join("")||""}setDisabledSideEffect(e){this.elementInternals.ariaDisabled=`${e}`,this.controlEl&&(this.controlEl.disabled=e),this.filteredLabelSlottedNodes?.length&&this.filteredLabelSlottedNodes.forEach(t=>t.disabled=this.disabled)}toggleUserValidityState(){$(this.elementInternals,"user-invalid",!this.validity.valid),$(this.elementInternals,"user-valid",this.validity.valid)}maybeCreateAutoSizerEl(){if(!CSS.supports("field-sizing: content")){if(!this.autoResize){this.autoSizerEl?.remove(),this.autoSizerObserver?.disconnect();return}this.autoSizerEl||(this.autoSizerEl=document.createElement("div"),this.autoSizerEl.classList.add("auto-sizer"),this.autoSizerEl.ariaHidden="true"),this.rootEl?.prepend(this.autoSizerEl),this.autoSizerObserver||(this.autoSizerObserver=new ResizeObserver((e,t)=>{const r=window.getComputedStyle(this).writingMode.startsWith("horizontal")?"height":"width";this.style.getPropertyValue(r)!==""&&(this.autoSizerEl?.remove(),t.disconnect())})),this.autoSizerObserver.observe(this)}}handleControlInput(){this.autoResize&&this.autoSizerEl&&(this.autoSizerEl.textContent=this.value+" "),this.setFormValue(this.value),this.setValidity()}handleControlChange(){this.toggleUserValidityState(),this.$emit("change")}handleControlSelect(){this.$emit("select")}}G.formAssociated=!0,se([f],G.prototype,"controlEl",2),se([f],G.prototype,"defaultSlottedNodes",2),se([f],G.prototype,"labelSlottedNodes",2),se([a],G.prototype,"autocomplete",2),se([a({attribute:"auto-resize",mode:"boolean"})],G.prototype,"autoResize",2),se([a({attribute:"dirname"})],G.prototype,"dirName",2),se([a({mode:"boolean"})],G.prototype,"disabled",2),se([a({attribute:"display-shadow",mode:"boolean"})],G.prototype,"displayShadow",2),se([a({attribute:"form"})],G.prototype,"initialForm",2),se([a({attribute:"maxlength",converter:ae})],G.prototype,"maxLength",2),se([a({attribute:"minlength",converter:ae})],G.prototype,"minLength",2),se([a],G.prototype,"name",2),se([a],G.prototype,"placeholder",2),se([a({attribute:"readonly",mode:"boolean"})],G.prototype,"readOnly",2),se([a({mode:"boolean"})],G.prototype,"required",2),se([a({mode:"fromView"})],G.prototype,"resize",2),se([a({mode:"boolean"})],G.prototype,"spellcheck",2);var $k=Object.defineProperty,yk=Object.getOwnPropertyDescriptor,Zi=(o,e,t,r)=>{for(var n=r>1?void 0:r?yk(e,t):e,i=o.length-1,s;i>=0;i--)(s=o[i])&&(n=(r?s(e,t,n):s(n))||n);return r&&n&&$k(e,t,n),n};class gr extends G{constructor(){super(...arguments),this.appearance=vn.outline,this.block=!1}labelSlottedNodesChanged(){super.labelSlottedNodesChanged(),this.labelSlottedNodes.forEach(e=>{e.size=this.size})}handleChange(e,t){switch(t){case"size":this.labelSlottedNodes.forEach(r=>{r.size=this.size});break}}connectedCallback(){super.connectedCallback(),m.getNotifier(this).subscribe(this,"size")}disconnectedCallback(){super.disconnectedCallback(),m.getNotifier(this).unsubscribe(this,"size")}}Zi([a({mode:"fromView"})],gr.prototype,"appearance",2),Zi([a({mode:"boolean"})],gr.prototype,"block",2),Zi([a],gr.prototype,"size",2);const Zh=g`${w("inline-block")} :host{--font-size:${_};--line-height:${L};--padding-inline:${Ye};--padding-block:${lo};--min-block-size:52px;--block-size:var(--min-block-size);--inline-size:18rem;--border-width:${I};--control-padding-inline:${H};--color:${T};--background-color:${P};--border-color:${Re};--border-block-end-color:${Ve};--placeholder-color:${Or};--focus-indicator-color:${at};--box-shadow:none;--contain-size:size;--resize:none;color:var(--color);font-family:${v};font-size:var(--font-size);font-weight:${O};line-height:var(--line-height);position:relative}:host(:hover){--border-color:${gt};--border-block-end-color:${ut}}:host(:active){--border-color:${io};--border-block-end-color:${pt}}:host(:focus-within){outline:none}:host([block]:not([hidden])){display:block}:host([size='small']){--font-size:${D};--line-height:${j};--min-block-size:40px;--padding-block:${Ft};--padding-inline:${ve};--control-padding-inline:${H}}:host([size='large']){--font-size:${he};--line-height:${me};--min-block-size:64px;--padding-block:${re};--padding-inline:${oe};--control-padding-inline:${ve}}:host([resize='both']:not(:disabled)){--resize:both}:host([resize='horizontal']:not(:disabled)){--resize:horizontal}:host([resize='vertical']:not(:disabled)){--resize:vertical}:host([auto-resize]){--block-size:auto;--contain-size:inline-size}:host([appearance='filled-darker']){--background-color:${oo};--border-color:var(--background-color);--border-block-end-color:var(--border-color)}:host([appearance='filled-lighter']){--border-color:var(--background-color);--border-block-end-color:var(--border-color)}:host([appearance='filled-darker'][display-shadow]),:host([appearance='filled-lighter'][display-shadow]){--box-shadow:${Vr}}:host(${Jv}){--border-color:${Lr};--border-block-end-color:${Lr}}:host(:disabled){--color:${z};--background-color:${le};--border-color:${be};--border-block-end-color:var(--border-color);--box-shadow:none;--placeholder-color:${z};cursor:no-drop;user-select:none}.root{background-color:var(--background-color);border:var(--border-width) solid var(--border-color);border-block-end-color:var(--border-block-end-color);border-radius:${B};box-sizing:border-box;box-shadow:var(--box-shadow);contain:paint layout style var(--contain-size);display:grid;grid-template:1fr/1fr;inline-size:var(--inline-size);min-block-size:var(--min-block-size);block-size:var(--block-size);overflow:hidden;padding:var(--padding-block) var(--padding-inline);position:relative;resize:var(--resize)}:host([block]) .root{inline-size:auto}.root::after{border-bottom:2px solid var(--focus-indicator-color);border-radius:0 0 ${B} ${B};box-sizing:border-box;clip-path:inset(calc(100% - 2px) 1px 0px);content:'';height:max(2px,${B});inset:auto -1px 0;position:absolute;transform:scaleX(0);transition-delay:${bt};transition-duration:${Gr};transition-property:transform}:host(:focus-within) .root::after{transform:scaleX(1);transition-property:transform;transition-duration:${Xo};transition-delay:${mt}}:host([readonly]) .root::after,:host(:disabled) .root::after{content:none}label{color:var(--color);display:flex;inline-size:fit-content;padding-block-end:${Ft};padding-inline-end:${te}}:host(:empty) label,label[hidden]{display:none}.auto-sizer,.control{box-sizing:border-box;font:inherit;grid-column:1/-1;grid-row:1/-1;letter-space:inherit;padding:0 var(--control-padding-inline)}.auto-sizer{display:none;padding-block-end:2px;pointer-events:none;visibility:hidden;white-space:pre-wrap}:host([auto-resize]) .auto-sizer{display:block}.control{appearance:none;background-color:transparent;border:0;color:inherit;field-sizing:content;max-block-size:100%;outline:0;resize:none;text-align:inherit}.control:disabled{cursor:inherit}.control::placeholder{color:var(--placeholder-color)}::selection{color:${dt};background-color:${Xn}}@media (forced-colors:active){:host{--border-color:FieldText;--border-block-end-color:FieldText;--focus-indicator-color:Highlight;--placeholder-color:FieldText}:host(:hover),:host(:active),:host(:focus-within){--border-color:Highlight;--border-block-end-color:Highlight}:host(:disabled){--color:GrayText;--border-color:GrayText;--border-block-end-color:GrayText;--placeholder-color:GrayText}}`;function kk(){return b`<template><label ${A("labelEl")} for=control part=label><slot name=label ${K("labelSlottedNodes")}></slot></label><div class=root part=root ${A("rootEl")}><textarea ${A("controlEl")} id=control class=control part=control ?required=${o=>o.required} ?disabled=${o=>o.disabled} ?readonly=${o=>o.readOnly} ?spellcheck=${o=>o.spellcheck} autocomplete=${o=>o.autocomplete} maxlength=${o=>o.maxLength} minlength=${o=>o.minLength} placeholder=${o=>o.placeholder} @change=${o=>o.handleControlChange()} @select=${o=>o.handleControlSelect()} @input=${o=>o.handleControlInput()}></textarea></div><div hidden><slot ${K("defaultSlottedNodes")}></slot></div></template>`}const eu=kk(),tu=gr.compose({name:fk,template:eu,styles:Zh,shadowOptions:{delegatesFocus:!0}});tu.define(u.registry);const xk={small:"small",medium:"medium",large:"large"},wk={outline:"outline",underline:"underline",filledLighter:"filled-lighter",filledDarker:"filled-darker"},ou={email:"email",password:"password",tel:"tel",text:"text",url:"url"},Sk=["date","datetime-local","email","month","number","password","search","tel","text","time","url","week"],Bk=`${u.prefix}-text-input`;var Ck=Object.defineProperty,Pk=Object.getOwnPropertyDescriptor,R=(o,e,t,r)=>{for(var n=r>1?void 0:r?Pk(e,t):e,i=o.length-1,s;i>=0;i--)(s=o[i])&&(n=(r?s(e,t,n):s(n))||n);return r&&n&&Ck(e,t,n),n};class F extends x{constructor(){super(...arguments),this.type=ou.text,this.dirtyValue=!1,this.elementInternals=this.attachInternals()}currentValueChanged(e,t){this.value=t}defaultSlottedNodesChanged(e,t){E.enqueue(()=>{this.controlLabel&&(this.controlLabel.hidden=!t?.some(r=>r.nodeType===Node.ELEMENT_NODE||r.nodeType===Node.TEXT_NODE&&!!r.textContent?.trim()))})}initialValueChanged(){this.dirtyValue||(this.value=this.initialValue)}readOnlyChanged(){this.$fastController.isConnected&&(this.elementInternals.ariaReadOnly=`${!!this.readOnly}`)}requiredChanged(e,t){this.$fastController.isConnected&&(this.elementInternals.ariaRequired=`${!!t}`)}controlChanged(e,t){E.enqueue(()=>{this.$fastController.isConnected&&this.setValidity()})}get validity(){return this.elementInternals.validity}get validationMessage(){return this.elementInternals.validationMessage||this.control.validationMessage}get value(){return m.track(this,"value"),this.currentValue}set value(e){this.currentValue=e,this.elementInternals&&this.control&&(this.control.value=e??"",this.setFormValue(e),this.setValidity(),m.notify(this,"value"))}get willValidate(){return this.elementInternals.willValidate}get form(){return this.elementInternals.form}changeHandler(e){return this.setValidity(),this.$emit("change",e,{bubbles:!0,composed:!0}),!0}checkValidity(){return this.elementInternals.checkValidity()}clickHandler(e){return e.target===this&&this.control?.click(),!0}connectedCallback(){super.connectedCallback(),this.tabIndex=Number(this.getAttribute("tabindex")??0)<0?-1:0,this.setFormValue(this.value),this.setValidity()}focusinHandler(e){return e.target===this&&this.control?.focus(),!0}formResetCallback(){this.value=this.initialValue,this.dirtyValue=!1}implicitSubmit(){if(!this.elementInternals.form)return;if(this.elementInternals.form.elements.length===1){this.elementInternals.form.requestSubmit();return}const e=[...this.elementInternals.form.elements],t=e.find(n=>n.getAttribute("type")==="submit");if(t){t.click();return}e.filter(n=>Sk.includes(n.getAttribute("type")??"")).length>1||this.elementInternals.form.requestSubmit()}inputHandler(e){return this.dirtyValue=!0,this.value=this.control.value,!0}keydownHandler(e){return e.key==="Enter"&&this.implicitSubmit(),!0}select(){this.control.select(),this.$emit("select")}setCustomValidity(e){this.elementInternals.setValidity({customError:!0},e),this.reportValidity()}reportValidity(){return this.elementInternals.reportValidity()}setFormValue(e,t){this.elementInternals?.setFormValue(e,e??t)}setValidity(e,t,r){if(this.elementInternals&&this.control){if(this.disabled){this.elementInternals.setValidity({});return}this.elementInternals.setValidity(e??this.control.validity,t??this.validationMessage,r??this.control)}}}F.formAssociated=!0,R([a],F.prototype,"autocomplete",2),R([a({attribute:"current-value"})],F.prototype,"currentValue",2),R([f],F.prototype,"defaultSlottedNodes",2),R([a],F.prototype,"dirname",2),R([a({mode:"boolean"})],F.prototype,"disabled",2),R([a({attribute:"form"})],F.prototype,"formAttribute",2),R([a({attribute:"value",mode:"fromView"})],F.prototype,"initialValue",2),R([a],F.prototype,"list",2),R([a({converter:ae})],F.prototype,"maxlength",2),R([a({converter:ae})],F.prototype,"minlength",2),R([a({mode:"boolean"})],F.prototype,"multiple",2),R([a],F.prototype,"name",2),R([a],F.prototype,"pattern",2),R([a],F.prototype,"placeholder",2),R([a({attribute:"readonly",mode:"boolean"})],F.prototype,"readOnly",2),R([a({mode:"boolean"})],F.prototype,"required",2),R([a({converter:ae})],F.prototype,"size",2),R([a({converter:{fromView:o=>typeof o=="string"?["true",""].includes(o.trim().toLowerCase()):null,toView:o=>o.toString()}})],F.prototype,"spellcheck",2),R([a],F.prototype,"type",2),R([f],F.prototype,"control",2),R([f],F.prototype,"controlLabel",2);var Ik=Object.defineProperty,Nk=Object.getOwnPropertyDescriptor,ru=(o,e,t,r)=>{for(var n=r>1?void 0:r?Nk(e,t):e,i=o.length-1,s;i>=0;i--)(s=o[i])&&(n=(r?s(e,t,n):s(n))||n);return r&&n&&Ik(e,t,n),n};class fr extends F{}ru([a],fr.prototype,"appearance",2),ru([a({attribute:"control-size"})],fr.prototype,"controlSize",2),ct(fr,nt);const nu=g`${w("block")} :host{font-family:${v};font-size:${_};font-weight:${O};line-height:${L};max-width:400px}.label{display:flex;color:${T};padding-bottom:${Ft};flex-shrink:0;padding-inline-end:${te}}.label[hidden],:host(:empty) .label{display:none}.root{align-items:center;background-color:${P};border:${I} solid ${Re};border-bottom-color:${Ve};border-radius:${B};box-sizing:border-box;height:32px;display:inline-flex;flex-direction:row;gap:${H};padding:0 ${Ye};position:relative;width:100%}:has(.control:user-invalid){border-color:${Lr}}.root::after{box-sizing:border-box;content:'';position:absolute;left:-1px;bottom:0px;right:-1px;height:max(2px,${B});border-radius:0 0 ${B} ${B};border-bottom:2px solid ${at};clip-path:inset(calc(100% - 2px) 1px 0px);transform:scaleX(0);transition-property:transform;transition-duration:${Gr};transition-delay:${bt}}.control{width:100%;height:100%;box-sizing:border-box;color:${T};border-radius:${B};background:${le};font-family:${v};font-weight:${O};font-size:${_};border:none;vertical-align:center}.control:focus-visible{outline:0;border:0}.control::placeholder{color:${Or}}:host ::slotted([slot='start']),:host ::slotted([slot='end']){display:flex;align-items:center;justify-content:center;color:${Y};font-size:${Ot}}:host ::slotted([slot='start']){padding-right:${H}}:host ::slotted([slot='end']){padding-left:${H};gap:${te}}:host(:hover) .root{border-color:${gt};border-bottom-color:${ut}}:host(:active) .root{border-color:${io}}:host(:focus-within) .root{outline:transparent solid 2px;border-bottom:0}:host(:focus-within) .root::after{transform:scaleX(1);transition-property:transform;transition-duration:${Xo};transition-delay:${mt}}:host(:focus-within:active) .root:after{border-bottom-color:${ni}}:host([appearance='outline']:focus-within) .root{border:${I} solid ${Re}}:host(:focus-within) .control{color:${T}}:host([disabled]) .root{background:${le};border:${I} solid ${be}}:host([disabled]) .control::placeholder,:host([disabled]) ::slotted([slot='start']),:host([disabled]) ::slotted([slot='end']){color:${z}}::selection{color:${dt};background-color:${Xn}}:host([control-size='small']) .control{font-size:${D};font-weight:${O};line-height:${j}}:host([control-size='small']) .root{height:24px;gap:${H};padding:0 ${ve}}:host([control-size='small']) ::slotted([slot='start']),:host([control-size='small']) ::slotted([slot='end']){font-size:${he}}:host([control-size='large']) .control{font-size:${he};font-weight:${O};line-height:${me}}:host([control-size='large']) .root{height:40px;gap:${Ae};padding:0 ${oe}}:host([control-size='large']) ::slotted([slot='start']),:host([control-size='large']) ::slotted([slot='end']){font-size:${Lo}}:host([appearance='underline']) .root{background:${le};border:0;border-radius:0;border-bottom:${I} solid ${Ve}}:host([appearance='underline']:hover) .root{border-bottom-color:${ut}}:host([appearance='underline']:active) .root{border-bottom-color:${pt}}:host([appearance='underline']:focus-within) .root{border:0;border-bottom-color:${pt}}:host([appearance='underline'][disabled]) .root{border-bottom-color:${be}}:host([appearance='filled-lighter']) .root,:host([appearance='filled-darker']) .root{border:${I} solid ${X};box-shadow:${Vr}}:host([appearance='filled-lighter']) .root{background:${P}}:host([appearance='filled-darker']) .root{background:${oo}}:host([appearance='filled-lighter']:hover) .root,:host([appearance='filled-darker']:hover) .root{border-color:${Dr}}:host([appearance='filled-lighter']:active) .root,:host([appearance='filled-darker']:active) .root{border-color:${Dr};background:${oo}}`;function Tk(o={}){return b`<template @focusin=${(e,t)=>e.focusinHandler(t.event)} @keydown=${(e,t)=>e.keydownHandler(t.event)}><label part=label for=control class=label ${A("controlLabel")}><slot ${K("defaultSlottedNodes")}></slot></label><div class=root part=root>${He(o)} <input class=control part=control id=control @change=${(e,t)=>e.changeHandler(t.event)} @input=${(e,t)=>e.inputHandler(t.event)} autocomplete=${e=>e.autocomplete} ?disabled=${e=>e.disabled} list=${e=>e.list} maxlength=${e=>e.maxlength} minlength=${e=>e.minlength} ?multiple=${e=>e.multiple} name=${e=>e.name} pattern=${e=>e.pattern} placeholder=${e=>e.placeholder} ?readonly=${e=>e.readOnly} ?required=${e=>e.required} size=${e=>e.size} spellcheck=${e=>e.spellcheck} type=${e=>e.type} value=${e=>e.value} ${A("control")}> ${it(o)}</div></template>`}const iu=Tk(),su=fr.compose({name:Bk,template:iu,styles:nu,shadowOptions:{delegatesFocus:!0}});su.define(u.registry);const Ak={_100:"100",_200:"200",_300:"300",_400:"400",_500:"500",_600:"600",_700:"700",_800:"800",_900:"900",_1000:"1000"},zk={base:"base",numeric:"numeric",monospace:"monospace"},_k={medium:"medium",regular:"regular",semibold:"semibold",bold:"bold"},Ok={start:"start",end:"end",center:"center",justify:"justify"},Fk=`${u.prefix}-text`;var Ek=Object.defineProperty,Dk=Object.getOwnPropertyDescriptor,ot=(o,e,t,r)=>{for(var n=r>1?void 0:r?Dk(e,t):e,i=o.length-1,s;i>=0;i--)(s=o[i])&&(n=(r?s(e,t,n):s(n))||n);return r&&n&&Ek(e,t,n),n};class Ee extends x{constructor(){super(...arguments),this.elementInternals=this.attachInternals(),this.nowrap=!1,this.truncate=!1,this.italic=!1,this.underline=!1,this.strikethrough=!1,this.block=!1}}ot([a({mode:"boolean"})],Ee.prototype,"nowrap",2),ot([a({mode:"boolean"})],Ee.prototype,"truncate",2),ot([a({mode:"boolean"})],Ee.prototype,"italic",2),ot([a({mode:"boolean"})],Ee.prototype,"underline",2),ot([a({mode:"boolean"})],Ee.prototype,"strikethrough",2),ot([a({mode:"boolean"})],Ee.prototype,"block",2),ot([a],Ee.prototype,"size",2),ot([a],Ee.prototype,"font",2),ot([a],Ee.prototype,"weight",2),ot([a],Ee.prototype,"align",2);const au=g`${w("inline")} :host{font-family:${v};font-size:${_};line-height:${L};font-weight:${O};text-align:start}:host([nowrap]),:host([nowrap]) ::slotted(*){white-space:nowrap;overflow:hidden}:host([truncate]),:host([truncate]) ::slotted(*){text-overflow:ellipsis}:host([block]){display:block}:host([italic]){font-style:italic}:host([underline]){text-decoration-line:underline}:host([strikethrough]){text-decoration-line:line-through}:host([underline][strikethrough]){text-decoration-line:line-through underline}:host([size='100']){font-size:${ao};line-height:${Ho}}:host([size='200']){font-size:${D};line-height:${j}}:host([size='400']){font-size:${he};line-height:${me}}:host([size='500']){font-size:${Ot};line-height:${Vo}}:host([size='600']){font-size:${Lo};line-height:${xi}}:host([size='700']){font-size:${vi};line-height:${wi}}:host([size='800']){font-size:${$i};line-height:${Si}}:host([size='900']){font-size:${yi};line-height:${Bi}}:host([size='1000']){font-size:${ki};line-height:${Ci}}:host([font='monospace']){font-family:${Xl}}:host([font='numeric']){font-family:${Ul}}:host([weight='medium']){font-weight:${Kl}}:host([weight='semibold']){font-weight:${M}}:host([weight='bold']){font-weight:${Mo}}:host([align='center']){text-align:center}:host([align='end']){text-align:end}:host([align='justify']){text-align:justify}::slotted(*){font:inherit;line-height:inherit;text-decoration-line:inherit;text-align:inherit;text-decoration-line:inherit;margin:0}`,lu=b`<slot></slot>`,cu=Ee.compose({name:Fk,template:lu,styles:au});cu.define(u.registry);const Lk=Jo,Mk=Qo,Hk=Zo,Vk=`${u.prefix}-toggle-button`;var Rk=Object.defineProperty,jk=Object.getOwnPropertyDescriptor,du=(o,e,t,r)=>{for(var n=r>1?void 0:r?jk(e,t):e,i=o.length-1,s;i>=0;i--)(s=o[i])&&(n=(r?s(e,t,n):s(n))||n);return r&&n&&Rk(e,t,n),n};class $n extends Je{pressedChanged(){this.setPressedState()}mixedChanged(){this.setPressedState()}press(){this.pressed=!this.pressed}connectedCallback(){super.connectedCallback(),this.setPressedState()}setPressedState(){this.elementInternals&&(this.elementInternals.ariaPressed=`${this.mixed?"mixed":!!this.pressed}`,$(this.elementInternals,"pressed",!!this.pressed||!!this.mixed))}}du([a({mode:"boolean"})],$n.prototype,"pressed",2),du([a({mode:"boolean"})],$n.prototype,"mixed",2);const hu=g`${co} :host(${V}){border-color:${Re};background-color:${Gn};color:${T};border-width:${I}}:host(${V}:hover){border-color:${gt};background-color:${zo}}:host(${V}:active){border-color:${io};background-color:${Fr}}:host(${V}[appearance='primary']:not(:focus-visible)){border-color:transparent}:host(${V}[appearance='primary']){background-color:${Ca};color:${Ke}}:host(${V}[appearance='primary']:hover){background-color:${Qn}}:host(${V}[appearance='primary']:active){background-color:${Zn}}:host(${V}[appearance='subtle']){border-color:transparent;background-color:${Kn};color:${Io}}:host(${V}[appearance='subtle']:hover){background-color:${_o};color:${Tt}}:host(${V}[appearance='subtle']:active){background-color:${no};color:${At}}:host(${V}[appearance='outline']),:host(${V}[appearance='transparent']){background-color:${Yn}}:host(${V}[appearance='outline']:hover),:host(${V}[appearance='transparent']:hover){background-color:${Oo}}:host(${V}[appearance='outline']:active),:host(${V}[appearance='transparent']:active){background-color:${Fo}}:host(${V}[appearance='transparent']){border-color:transparent;color:${ia}}:host(${V}[appearance='transparent']:hover){color:${No}}:host(${V}[appearance='transparent']:active){color:${To}}@media (forced-colors:active){:host(${V}),:host( ${V}:is([appearance='primary'],[appearance='subtle'],[appearance='outline'],[appearance='transparent']) ){background:SelectedItem;color:SelectedItemText}}`,uu=Oi(),pu=$n.compose({name:Vk,template:uu,styles:hu});pu.define(u.registry);const Pe={"above-start":"block-start span-inline-end",above:"block-start","above-end":"block-start span-inline-start","below-start":"block-end span-inline-end",below:"block-end","below-end":"block-end span-inline-start","before-top":"inline-start span-block-end",before:"inline-start","before-bottom":"inline-start span-block-start","after-top":"inline-end span-block-end",after:"inline-end","after-bottom":"inline-end span-block-start"},qk=`${u.prefix}-tooltip`;var Wk=Object.defineProperty,Gk=Object.getOwnPropertyDescriptor,yn=(o,e,t,r)=>{for(var n=r>1?void 0:r?Gk(e,t):e,i=o.length-1,s;i>=0;i--)(s=o[i])&&(n=(r?s(e,t,n):s(n))||n);return r&&n&&Wk(e,t,n),n};class yo extends x{constructor(){super(),this.elementInternals=this.attachInternals(),this.id=Ze("tooltip-"),this.defaultDelay=250,this.anchor="",this.anchorPositioningStyleElement=null,this.mouseenterAnchorHandler=()=>this.showTooltip(this.delay),this.mouseleaveAnchorHandler=()=>this.hideTooltip(this.delay),this.focusAnchorHandler=()=>this.showTooltip(0),this.blurAnchorHandler=()=>this.hideTooltip(0),this.anchorPositioningReady=!1,this.elementInternals.role="tooltip"}positioningChanged(){this.setFallbackStyles()}get anchorElement(){const e=this.getRootNode();return(e instanceof ShadowRoot?e:document).getElementById(this.anchor??"")}connectedCallback(){if(super.connectedCallback(),this.popover??(this.popover="auto"),!this.anchorElement)return;const e=this.anchorElement.style.anchorName||`--${this.anchor}`,t=this.anchorElement.getAttribute("aria-describedby");if(this.anchorElement.setAttribute("aria-describedby",t?`${t} ${this.id}`:this.id),this.anchorElement.addEventListener("focus",this.focusAnchorHandler),this.anchorElement.addEventListener("blur",this.blurAnchorHandler),this.anchorElement.addEventListener("mouseenter",this.mouseenterAnchorHandler),this.anchorElement.addEventListener("mouseleave",this.mouseleaveAnchorHandler),Jr){qm||(this.anchorElement.style.anchorName=e,this.style.positionAnchor=e);return}E.enqueue(()=>this.setFallbackStyles())}disconnectedCallback(){if(this.anchorElement?.removeEventListener("focus",this.focusAnchorHandler),this.anchorElement?.removeEventListener("blur",this.blurAnchorHandler),this.anchorElement?.removeEventListener("mouseenter",this.mouseenterAnchorHandler),this.anchorElement?.removeEventListener("mouseleave",this.mouseleaveAnchorHandler),this.anchorElement){const t=(this.anchorElement.getAttribute("aria-describedby")??"").trim().split(/\s+/).filter(r=>r!==this.id);t.length?this.anchorElement.setAttribute("aria-describedby",t.join(" ")):this.anchorElement.removeAttribute("aria-describedby")}super.disconnectedCallback()}showTooltip(e=this.defaultDelay){if(!this.anchorPositioningReady){this.setFallbackStyles().then(()=>{this.showTooltip(e)});return}setTimeout(()=>{this.setAttribute("aria-hidden","false"),this.showPopover()},e)}hideTooltip(e=this.defaultDelay){setTimeout(()=>{if(this.matches(":hover")||this.anchorElement?.matches(":hover")){this.hideTooltip(e);return}this.setAttribute("aria-hidden","true"),this.hidePopover()},e)}async setFallbackStyles(){if(Jr){this.anchorPositioningReady=!0;return}if(!this.anchorElement)return;const e=this.anchorElement.style.anchorName||`--${this.anchor}`;this.anchorPositioningStyleElement||(this.anchorPositioningStyleElement=document.createElement("style"),document.head.append(this.anchorPositioningStyleElement));let[t,r]=this.positioning?.split("-")??[];r||((t==="above"||t==="below")&&(r="centerX"),(t==="before"||t==="after")&&(r="centerY"));const n={above:"bottom: anchor(top);",below:"top: anchor(bottom);",before:"right: anchor(left);",after:"left: anchor(right);"},i=n[t]??n.above,s={start:"left: anchor(left);",end:"right: anchor(right);",top:"top: anchor(top);",bottom:"bottom: anchor(bottom);",centerX:"left: anchor(center); translate: -50% 0;",centerY:"top: anchor(center); translate: 0 -50%;"},c=s[r]??s.centerX;this.anchorPositioningStyleElement.textContent=`
23
23
  #${this.anchor} {
24
24
  anchor-name: ${e};
25
25
  }
@@ -30,18 +30,18 @@ Template: ${d.slice(0,200)}${d.length>200?"...":""}`),new Ku(S.join(`
30
30
  ${i}
31
31
  ${c}
32
32
  }
33
- `,window.CSS_ANCHOR_POLYFILL&&(await window.CSS_ANCHOR_POLYFILL({elements:[this.anchorPositioningStyleElement]}),this.anchorPositioningReady=!0)}}yn([a],yo.prototype,"id",2),yn([a({converter:ae})],yo.prototype,"delay",2),yn([a],yo.prototype,"positioning",2),yn([a],yo.prototype,"anchor",2);const gu=g`${w("inline-flex")} :host(:not(:popover-open)){display:none}:host{--position-area:block-start;--position-try-options:flip-block;--block-offset:${Et};--inline-offset:${te};background:${P};border-radius:${B};border:1px solid ${X};box-sizing:border-box;color:${T};display:inline-flex;filter:drop-shadow(0 0 2px ${Ta}) drop-shadow(0 4px 8px ${Aa});font-family:${v};font-size:${D};inset:unset;line-height:${j};margin:unset;max-width:240px;overflow:visible;padding:4px ${Ye} 6px;position:absolute;position-area:var(--position-area);position-try-fallbacks:var(--position-try-options);width:auto;z-index:1}@supports (inset-area:block-start){:host{inset-area:var(--position-area);position-try-fallbacks:var(--position-try-options)}}:host(:is([positioning^='above'],[positioning^='below'],:not([positioning]))){margin-block:var(--block-offset)}:host(:is([positioning^='before'],[positioning^='after'])){margin-inline:var(--inline-offset);--position-try-options:flip-inline}:host([positioning='above-start']){--position-area:${Ne["above-start"]}}:host([positioning='above']){--position-area:${Ne.above}}:host([positioning='above-end']){--position-area:${Ne["above-end"]}}:host([positioning='below-start']){--position-area:${Ne["below-start"]}}:host([positioning='below']){--position-area:${Ne.below}}:host([positioning='below-end']){--position-area:${Ne["below-end"]}}:host([positioning='before-top']){--position-area:${Ne["before-top"]}}:host([positioning='before']){--position-area:${Ne.before}}:host([positioning='before-bottom']){--position-area:${Ne["before-bottom"]}}:host([positioning='after-top']){--position-area:${Ne["after-top"]}}:host([positioning='after']){--position-area:${Ne.after}}:host([positioning='after-bottom']){--position-area:${Ne["after-bottom"]}}`,fu=b`<template popover aria-hidden=true><slot></slot></template>`,bu=yo.compose({name:qk,template:fu,styles:gu});bu.define(u.registry);const Xk=`${u.prefix}-tree`,mu={subtle:"subtle",subtleAlpha:"subtle-alpha",transparent:"transparent"},vu={small:"small",medium:"medium"};function De(o,e="-tree-item"){return o?.nodeType!==Node.ELEMENT_NODE?!1:o.tagName.toLowerCase().endsWith(e)}const Uk=`${u.prefix}-tree-item`;var Kk=Object.defineProperty,Yk=Object.getOwnPropertyDescriptor,es=(o,e,t,r)=>{for(var n=r>1?void 0:r?Yk(e,t):e,i=o.length-1,s;i>=0;i--)(s=o[i])&&(n=(r?s(e,t,n):s(n))||n);return r&&n&&Kk(e,t,n),n};class fr extends x{constructor(){super(),this.currentSelected=null,this.elementInternals=this.attachInternals(),this.elementInternals.role="tree"}defaultSlotChanged(){this.handleDefaultSlotChange()}childTreeItemsChanged(){this.updateCurrentSelected()}updateCurrentSelected(){const e=this.querySelector("[selected]");this.currentSelected=e}keydownHandler(e){if(e.defaultPrevented)return;const t=e.target;if(!De(t)||this.childTreeItems.length<1)return!0;switch(e.key){case"ArrowLeft":{t?.childTreeItems?.length&&t.expanded?t.expanded=!1:De(t.parentElement)&&t.parentElement.focus();return}case"ArrowRight":{if(t?.childTreeItems?.length)if(!t.expanded)t.expanded=!0;else return!0;return}case"Enter":{this.clickHandler(e);return}case" ":{t.selected=!0;return}}return!0}clickHandler(e){if(e.defaultPrevented)return;if(!De(e.target))return!0;const t=e.target;t.toggleExpansion(),t.selected=!0}changeHandler(e){if(e.defaultPrevented)return;if(!De(e.target))return!0;const t=e.target;t.selected?(this.currentSelected&&this.currentSelected!==t&&De(this.currentSelected)&&(this.currentSelected.selected=!1),this.currentSelected=t):!t.selected&&this.currentSelected===t&&(this.currentSelected=null)}handleDefaultSlotChange(){this.childTreeItems=this.defaultSlot.assignedElements().filter(e=>De(e))}get descendantTreeItems(){const e=[],t=r=>{if(r)for(const n of r)e.push(n),t(n.childTreeItems)};return t(this.childTreeItems),e}}es([f],fr.prototype,"currentSelected",2),es([f],fr.prototype,"defaultSlot",2),es([f],fr.prototype,"childTreeItems",2);var Jk=Object.defineProperty,Qk=Object.getOwnPropertyDescriptor,$u=(o,e,t,r)=>{for(var n=r>1?void 0:r?Qk(e,t):e,i=o.length-1,s;i>=0;i--)(s=o[i])&&(n=(r?s(e,t,n):s(n))||n);return r&&n&&Jk(e,t,n),n};class kn extends fr{constructor(){super(...arguments),this.size=vu.small,this.appearance=mu.subtle}sizeChanged(){this.updateSizeAndAppearance()}appearanceChanged(){this.updateSizeAndAppearance()}childTreeItemsChanged(){super.childTreeItemsChanged(),this.updateSizeAndAppearance(),this.fgItems??(this.fgItems=new hn(()=>this.descendantTreeItems.filter(e=>!e.isHidden),()=>this.currentSelected??null)),this.fg?this.fg.update():this.fg=new dn(this,this.fgItems,{definition:{behavior:"menu",axis:void 0,memory:!1}})}disconnectedCallback(){this.fg?.disconnect(),super.disconnectedCallback()}updateSizeAndAppearance(){this.childTreeItems?.length&&this.childTreeItems.forEach(e=>{e.size=this.size,e.appearance=this.appearance})}itemToggleHandler(){this.fg?.update()}}$u([a],kn.prototype,"size",2),$u([a],kn.prototype,"appearance",2);const yu=g`${w("block")} :host{outline:none}`,ku=b`<template tabindex=0 focusgroup="menu inline block nowrap nomemory" @click=${(o,e)=>o.clickHandler(e.event)} @keydown=${(o,e)=>o.keydownHandler(e.event)} @change=${(o,e)=>o.changeHandler(e.event)} @toggle=${(o,e)=>o.itemToggleHandler()}><slot ${A("defaultSlot")} @slotchange=${o=>o.handleDefaultSlotChange()}></slot></template>`,xu=kn.compose({name:Xk,template:ku,styles:yu});xu.define(u.registry);var Zk=Object.defineProperty,ex=Object.getOwnPropertyDescriptor,ko=(o,e,t,r)=>{for(var n=r>1?void 0:r?ex(e,t):e,i=o.length-1,s;i>=0;i--)(s=o[i])&&(n=(r?s(e,t,n):s(n))||n);return r&&n&&Zk(e,t,n),n};class Yt extends x{constructor(){super(),this.elementInternals=this.attachInternals(),this.expanded=!1,this.empty=!1,this.childTreeItems=[],this.elementInternals.role="treeitem"}itemSlotChanged(){this.handleItemSlotChange()}connectedCallback(){super.connectedCallback(),this.tabIndex=Number(this.getAttribute("tabindex")||"0"),De(this.parentElement)&&(this.slot||(this.slot="item"))}expandedChanged(e,t){this.$emit("toggle",{oldState:e?"open":"closed",newState:t?"open":"closed"}),$(this.elementInternals,"expanded",t),this.childTreeItems?.length&&(this.elementInternals.ariaExpanded=t?"true":"false",requestAnimationFrame(()=>{const r=document.createTreeWalker(this,NodeFilter.SHOW_ELEMENT,n=>De(n)?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP);for(;r.nextNode();){const n=r.currentNode;t?n.removeAttribute("focusgroup"):(n.selected&&(n.selected=!1),n.setAttribute("focusgroup","none"))}}))}selectedChanged(e,t){this.$emit("change"),this.elementInternals&&($(this.elementInternals,"selected",t),this.elementInternals.ariaSelected=t?"true":"false")}dataIndentChanged(e,t){this.styles!==void 0&&this.$fastController.removeStyles(this.styles),this.styles=g`:host{--indent:${t}}`,this.$fastController.addStyles(this.styles)}childTreeItemsChanged(){this.empty=this.childTreeItems?.length===0,this.updateChildTreeItems()}updateChildTreeItems(){this.childTreeItems?.length&&(this.expanded||(this.expanded=Array.from(this.querySelectorAll("[selected]")).some(e=>De(e))),this.childTreeItems.forEach(e=>{this.setIndent(e)}))}setIndent(e){const t=this.dataIndent??0;e.dataIndent=t+1}toggleExpansion(){this.childTreeItems?.length&&(this.expanded=!this.expanded)}get isNestedItem(){return De(this.parentElement)}get isHidden(){let e=this.parentElement;for(;De(e);){if(!e.expanded)return!0;e=e.parentElement}return!1}handleItemSlotChange(){this.childTreeItems=this.itemSlot.assignedElements().filter(e=>De(e))}}ko([f],Yt.prototype,"itemSlot",2),ko([a({mode:"boolean"})],Yt.prototype,"expanded",2),ko([a({mode:"boolean"})],Yt.prototype,"selected",2),ko([a({mode:"boolean"})],Yt.prototype,"empty",2),ko([a({attribute:"data-indent"})],Yt.prototype,"dataIndent",2),ko([f],Yt.prototype,"childTreeItems",2);var tx=Object.defineProperty,ox=Object.getOwnPropertyDescriptor,wu=(o,e,t,r)=>{for(var n=r>1?void 0:r?ox(e,t):e,i=o.length-1,s;i>=0;i--)(s=o[i])&&(n=(r?s(e,t,n):s(n))||n);return r&&n&&tx(e,t,n),n};class xn extends Yt{constructor(){super(...arguments),this.size=vu.small,this.appearance=mu.subtle}sizeChanged(){this.updateSizeAndAppearance()}appearanceChanged(){this.updateSizeAndAppearance()}childTreeItemsChanged(){super.childTreeItemsChanged(),this.updateSizeAndAppearance()}updateSizeAndAppearance(){this.childTreeItems?.length&&this.childTreeItems.forEach(e=>{e.size=this.size,e.appearance=this.appearance})}}wu([a],xn.prototype,"size",2),wu([a],xn.prototype,"appearance",2);const Su=g`${w("block")} :host{outline:none;font-size:${O};line-height:${L}}:host(:focus-visible) .positioning-region{box-shadow:${qr} ${qr} ${qr} ${jo} ${de} inset}.positioning-region{display:flex;align-items:center;justify-content:space-between;cursor:pointer;height:${tc};padding-inline-start:calc(var(--indent) * ${jr});padding-inline-end:${re};border-radius:${B};background-color:${Un};color:${Ae};gap:${te}}@media (prefers-contrast:more){:host(:focus-visible) .positioning-region{outline:1px solid ${de}}}.content{display:flex;align-items:center;gap:${te}}.chevron{display:flex;align-items:center;flex-shrink:0;justify-content:center;width:${jr};height:${ft};transition:transform ${Wo} ${Ti};transform:rotate(0deg)}.chevron:dir(rtl){transform:rotate(180deg)}.chevron svg{inline-size:12px;block-size:12px}.aside{display:flex;align-items:center}.positioning-region:hover{background-color:${_o};color:${At}}.positioning-region:active{background-color:${no};color:${zt}}::slotted([slot='start']),::slotted([slot='end']),::slotted(:not([slot])){display:flex;align-items:center;min-width:0}::slotted([slot='start']){flex-shrink:0}::slotted(:not([slot])){padding-inline:${V}}.items{display:none}:host([expanded]) .items{display:block}:host([empty]) .chevron,:host([empty]) .items{visibility:hidden}:host([selected]) .positioning-region{background-color:${Kn};color:${Io}}:host([selected]) .content,:host([selected]) .chevron{color:${la}}:host([size='small']) .positioning-region{height:${ft};padding-inline-start:calc(var(--indent) * ${oe})}:host([appearance='subtle-alpha']) .positioning-region:hover{background-color:${wa}}:host([appearance='subtle-alpha']) .positioning-region:active{background-color:${Sa}}:host([appearance='subtle-alpha'][selected]) .positioning-region{background-color:${Ba};color:${Io}}:host([appearance='transparent']) .positioning-region{background-color:${ce}}:host([appearance='transparent']) .positioning-region:hover{background-color:${Oo}}:host([appearance='transparent']) .positioning-region:active{background-color:${Fo}}:host([appearance='transparent'][selected]) .positioning-region{background-color:${Yn};color:${Io}}:host([expanded]) .chevron{transform:rotate(90deg)}`,rx=b`<svg viewBox="0 0 12 12" fill=currentColor><path d="M4.65 2.15a.5.5 0 000 .7L7.79 6 4.65 9.15a.5.5 0 10.7.7l3.5-3.5a.5.5 0 000-.7l-3.5-3.5a.5.5 0 00-.7 0z"></path></svg>`,Bu=b`<template tabindex=0 ?focusgroupstart=${o=>o.selected}><div class=positioning-region part=positioning-region><div class=content part=content><span class=chevron part=chevron aria-hidden=true><slot name=chevron>${rx}</slot></span><slot name=start></slot><slot></slot><slot name=end></slot></div><div class=aside part=aside><slot name=aside></slot></div></div><div role=group class=items part=items><slot name=item ${A("itemSlot")} @slotchange=${o=>o.handleItemSlotChange()}></slot></div></template>`,Cu=xn.compose({name:Uk,template:Bu,styles:Su});Cu.define(u.registry);const nx="adoptedStyleSheets"in document,ix="CSSScopeRule"in window,ts=new Map,os=new Map,br=new Map,rs=new Map,mr=new CSSStyleSheet;function Pu(o,e=document){if(!(!e||!sx(e))){if(!nx||e instanceof HTMLElement&&!e.shadowRoot&&!ix){const t=e===document?document.documentElement:e;hx(o,t);return}[document,document.documentElement,document.body].includes(e)?ax(o):lx(o,e)}}function ns(o){if(!ts.has(o)){const e=[];for(const[t,r]of Object.entries(o))e.push(`--${t}:${r.toString()};`);ts.set(o,e.join(""))}return ts.get(o)}function sx(o){return[document,document.documentElement].includes(o)||o instanceof HTMLElement&&!!o.closest("body")}function ax(o){if(o===null){document.adoptedStyleSheets.includes(mr)&&mr.replaceSync("");return}mr.replaceSync(`
33
+ `,window.CSS_ANCHOR_POLYFILL&&(await window.CSS_ANCHOR_POLYFILL({elements:[this.anchorPositioningStyleElement]}),this.anchorPositioningReady=!0)}}yn([a],yo.prototype,"id",2),yn([a({converter:ae})],yo.prototype,"delay",2),yn([a],yo.prototype,"positioning",2),yn([a],yo.prototype,"anchor",2);const gu=g`${w("inline-flex")} :host(:not(:popover-open)){display:none}:host{--position-area:block-start;--position-try-options:flip-block;--block-offset:${Ft};--inline-offset:${te};background:${P};border-radius:${B};border:1px solid ${X};box-sizing:border-box;color:${T};display:inline-flex;filter:drop-shadow(0 0 2px ${Ta}) drop-shadow(0 4px 8px ${Aa});font-family:${v};font-size:${D};inset:unset;line-height:${j};margin:unset;max-width:240px;overflow:visible;padding:4px ${Ye} 6px;position:absolute;position-area:var(--position-area);position-try-fallbacks:var(--position-try-options);width:auto;z-index:1}@supports (inset-area:block-start){:host{inset-area:var(--position-area);position-try-fallbacks:var(--position-try-options)}}:host(:is([positioning^='above'],[positioning^='below'],:not([positioning]))){margin-block:var(--block-offset)}:host(:is([positioning^='before'],[positioning^='after'])){margin-inline:var(--inline-offset);--position-try-options:flip-inline}:host([positioning='above-start']){--position-area:${Pe["above-start"]}}:host([positioning='above']){--position-area:${Pe.above}}:host([positioning='above-end']){--position-area:${Pe["above-end"]}}:host([positioning='below-start']){--position-area:${Pe["below-start"]}}:host([positioning='below']){--position-area:${Pe.below}}:host([positioning='below-end']){--position-area:${Pe["below-end"]}}:host([positioning='before-top']){--position-area:${Pe["before-top"]}}:host([positioning='before']){--position-area:${Pe.before}}:host([positioning='before-bottom']){--position-area:${Pe["before-bottom"]}}:host([positioning='after-top']){--position-area:${Pe["after-top"]}}:host([positioning='after']){--position-area:${Pe.after}}:host([positioning='after-bottom']){--position-area:${Pe["after-bottom"]}}`,fu=b`<template popover aria-hidden=true><slot></slot></template>`,bu=yo.compose({name:qk,template:fu,styles:gu});bu.define(u.registry);const Xk=`${u.prefix}-tree`,mu={subtle:"subtle",subtleAlpha:"subtle-alpha",transparent:"transparent"},vu={small:"small",medium:"medium"};function De(o,e="-tree-item"){return o?.nodeType!==Node.ELEMENT_NODE?!1:o.tagName.toLowerCase().endsWith(e)}const Uk=`${u.prefix}-tree-item`;var Kk=Object.defineProperty,Yk=Object.getOwnPropertyDescriptor,es=(o,e,t,r)=>{for(var n=r>1?void 0:r?Yk(e,t):e,i=o.length-1,s;i>=0;i--)(s=o[i])&&(n=(r?s(e,t,n):s(n))||n);return r&&n&&Kk(e,t,n),n};class br extends x{constructor(){super(),this.currentSelected=null,this.elementInternals=this.attachInternals(),this.elementInternals.role="tree"}defaultSlotChanged(){this.handleDefaultSlotChange()}childTreeItemsChanged(){this.updateCurrentSelected()}updateCurrentSelected(){const e=this.querySelector("[selected]");this.currentSelected=e}keydownHandler(e){if(e.defaultPrevented)return;const t=e.target;if(!De(t)||this.childTreeItems.length<1)return!0;switch(e.key){case"ArrowLeft":{t?.childTreeItems?.length&&t.expanded?t.expanded=!1:De(t.parentElement)&&t.parentElement.focus();return}case"ArrowRight":{if(t?.childTreeItems?.length)if(!t.expanded)t.expanded=!0;else return!0;return}case"Enter":{this.clickHandler(e);return}case" ":{t.selected=!0;return}}return!0}clickHandler(e){if(e.defaultPrevented)return;if(!De(e.target))return!0;const t=e.target;t.toggleExpansion(),t.selected=!0}changeHandler(e){if(e.defaultPrevented)return;if(!De(e.target))return!0;const t=e.target;t.selected?(this.currentSelected&&this.currentSelected!==t&&De(this.currentSelected)&&(this.currentSelected.selected=!1),this.currentSelected=t):!t.selected&&this.currentSelected===t&&(this.currentSelected=null)}handleDefaultSlotChange(){this.childTreeItems=this.defaultSlot.assignedElements().filter(e=>De(e))}get descendantTreeItems(){const e=[],t=r=>{if(r)for(const n of r)e.push(n),t(n.childTreeItems)};return t(this.childTreeItems),e}}es([f],br.prototype,"currentSelected",2),es([f],br.prototype,"defaultSlot",2),es([f],br.prototype,"childTreeItems",2);var Jk=Object.defineProperty,Qk=Object.getOwnPropertyDescriptor,$u=(o,e,t,r)=>{for(var n=r>1?void 0:r?Qk(e,t):e,i=o.length-1,s;i>=0;i--)(s=o[i])&&(n=(r?s(e,t,n):s(n))||n);return r&&n&&Jk(e,t,n),n};class kn extends br{constructor(){super(...arguments),this.size=vu.small,this.appearance=mu.subtle}sizeChanged(){this.updateSizeAndAppearance()}appearanceChanged(){this.updateSizeAndAppearance()}childTreeItemsChanged(){super.childTreeItemsChanged(),this.updateSizeAndAppearance(),this.fgItems??(this.fgItems=new hn(()=>this.descendantTreeItems.filter(e=>!e.isHidden),()=>this.currentSelected??null)),this.fg?this.fg.update():this.fg=new dn(this,this.fgItems,{definition:{behavior:"menu",axis:void 0,memory:!1}})}disconnectedCallback(){this.fg?.disconnect(),super.disconnectedCallback()}updateSizeAndAppearance(){this.childTreeItems?.length&&this.childTreeItems.forEach(e=>{e.size=this.size,e.appearance=this.appearance})}itemToggleHandler(){this.fg?.update()}}$u([a],kn.prototype,"size",2),$u([a],kn.prototype,"appearance",2);const yu=g`${w("block")} :host{outline:none}`,ku=b`<template tabindex=0 focusgroup="menu inline block nowrap nomemory" @click=${(o,e)=>o.clickHandler(e.event)} @keydown=${(o,e)=>o.keydownHandler(e.event)} @change=${(o,e)=>o.changeHandler(e.event)} @toggle=${(o,e)=>o.itemToggleHandler()}><slot ${A("defaultSlot")} @slotchange=${o=>o.handleDefaultSlotChange()}></slot></template>`,xu=kn.compose({name:Xk,template:ku,styles:yu});xu.define(u.registry);var Zk=Object.defineProperty,ex=Object.getOwnPropertyDescriptor,ko=(o,e,t,r)=>{for(var n=r>1?void 0:r?ex(e,t):e,i=o.length-1,s;i>=0;i--)(s=o[i])&&(n=(r?s(e,t,n):s(n))||n);return r&&n&&Zk(e,t,n),n};class Yt extends x{constructor(){super(),this.elementInternals=this.attachInternals(),this.expanded=!1,this.empty=!1,this.childTreeItems=[],this.elementInternals.role="treeitem"}itemSlotChanged(){this.handleItemSlotChange()}connectedCallback(){super.connectedCallback(),this.tabIndex=Number(this.getAttribute("tabindex")||"0"),De(this.parentElement)&&(this.slot||(this.slot="item"))}expandedChanged(e,t){this.$emit("toggle",{oldState:e?"open":"closed",newState:t?"open":"closed"}),$(this.elementInternals,"expanded",t),this.childTreeItems?.length&&(this.elementInternals.ariaExpanded=t?"true":"false",requestAnimationFrame(()=>{const r=document.createTreeWalker(this,NodeFilter.SHOW_ELEMENT,n=>De(n)?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP);for(;r.nextNode();){const n=r.currentNode;t?n.removeAttribute("focusgroup"):(n.selected&&(n.selected=!1),n.setAttribute("focusgroup","none"))}}))}selectedChanged(e,t){this.$emit("change"),this.elementInternals&&($(this.elementInternals,"selected",t),this.elementInternals.ariaSelected=t?"true":"false")}dataIndentChanged(e,t){this.styles!==void 0&&this.$fastController.removeStyles(this.styles),this.styles=g`:host{--indent:${t}}`,this.$fastController.addStyles(this.styles)}childTreeItemsChanged(){this.empty=this.childTreeItems?.length===0,this.updateChildTreeItems()}updateChildTreeItems(){this.childTreeItems?.length&&(this.expanded||(this.expanded=Array.from(this.querySelectorAll("[selected]")).some(e=>De(e))),this.childTreeItems.forEach(e=>{this.setIndent(e)}))}setIndent(e){const t=this.dataIndent??0;e.dataIndent=t+1}toggleExpansion(){this.childTreeItems?.length&&(this.expanded=!this.expanded)}get isNestedItem(){return De(this.parentElement)}get isHidden(){let e=this.parentElement;for(;De(e);){if(!e.expanded)return!0;e=e.parentElement}return!1}handleItemSlotChange(){this.childTreeItems=this.itemSlot.assignedElements().filter(e=>De(e))}}ko([f],Yt.prototype,"itemSlot",2),ko([a({mode:"boolean"})],Yt.prototype,"expanded",2),ko([a({mode:"boolean"})],Yt.prototype,"selected",2),ko([a({mode:"boolean"})],Yt.prototype,"empty",2),ko([a({attribute:"data-indent"})],Yt.prototype,"dataIndent",2),ko([f],Yt.prototype,"childTreeItems",2);var tx=Object.defineProperty,ox=Object.getOwnPropertyDescriptor,wu=(o,e,t,r)=>{for(var n=r>1?void 0:r?ox(e,t):e,i=o.length-1,s;i>=0;i--)(s=o[i])&&(n=(r?s(e,t,n):s(n))||n);return r&&n&&tx(e,t,n),n};class xn extends Yt{constructor(){super(...arguments),this.size=vu.small,this.appearance=mu.subtle}sizeChanged(){this.updateSizeAndAppearance()}appearanceChanged(){this.updateSizeAndAppearance()}childTreeItemsChanged(){super.childTreeItemsChanged(),this.updateSizeAndAppearance()}updateSizeAndAppearance(){this.childTreeItems?.length&&this.childTreeItems.forEach(e=>{e.size=this.size,e.appearance=this.appearance})}}wu([a],xn.prototype,"size",2),wu([a],xn.prototype,"appearance",2);const Su=g`${w("block")} :host{outline:none;font-size:${_};line-height:${L}}:host(:focus-visible) .positioning-region{box-shadow:${qr} ${qr} ${qr} ${qo} ${ce} inset}.positioning-region{display:flex;align-items:center;justify-content:space-between;cursor:pointer;height:${tc};padding-inline-start:calc(var(--indent) * ${jo});padding-inline-end:${re};border-radius:${B};background-color:${Un};color:${Ne};gap:${te}}@media (prefers-contrast:more){:host(:focus-visible) .positioning-region{outline:1px solid ${ce}}}.content{display:flex;align-items:center;gap:${te}}.chevron{display:flex;align-items:center;flex-shrink:0;justify-content:center;width:${jo};height:${ft};transition:transform ${Go} ${Ti};transform:rotate(0deg)}.chevron:dir(rtl){transform:rotate(180deg)}.chevron svg{inline-size:12px;block-size:12px}.aside{display:flex;align-items:center}.positioning-region:hover{background-color:${_o};color:${Tt}}.positioning-region:active{background-color:${no};color:${At}}::slotted([slot='start']),::slotted([slot='end']),::slotted(:not([slot])){display:flex;align-items:center;min-width:0}::slotted([slot='start']){flex-shrink:0}::slotted(:not([slot])){padding-inline:${H}}.items{display:none}:host([expanded]) .items{display:block}:host([empty]) .chevron,:host([empty]) .items{visibility:hidden}:host([selected]) .positioning-region{background-color:${Kn};color:${Io}}:host([selected]) .content,:host([selected]) .chevron{color:${la}}:host([size='small']) .positioning-region{height:${ft};padding-inline-start:calc(var(--indent) * ${oe})}:host([appearance='subtle-alpha']) .positioning-region:hover{background-color:${wa}}:host([appearance='subtle-alpha']) .positioning-region:active{background-color:${Sa}}:host([appearance='subtle-alpha'][selected]) .positioning-region{background-color:${Ba};color:${Io}}:host([appearance='transparent']) .positioning-region{background-color:${le}}:host([appearance='transparent']) .positioning-region:hover{background-color:${Oo}}:host([appearance='transparent']) .positioning-region:active{background-color:${Fo}}:host([appearance='transparent'][selected]) .positioning-region{background-color:${Yn};color:${Io}}:host([expanded]) .chevron{transform:rotate(90deg)}`,rx=b`<svg viewBox="0 0 12 12" fill=currentColor><path d="M4.65 2.15a.5.5 0 000 .7L7.79 6 4.65 9.15a.5.5 0 10.7.7l3.5-3.5a.5.5 0 000-.7l-3.5-3.5a.5.5 0 00-.7 0z"></path></svg>`,Bu=b`<template tabindex=0 ?focusgroupstart=${o=>o.selected}><div class=positioning-region part=positioning-region><div class=content part=content><span class=chevron part=chevron aria-hidden=true><slot name=chevron>${rx}</slot></span><slot name=start></slot><slot></slot><slot name=end></slot></div><div class=aside part=aside><slot name=aside></slot></div></div><div role=group class=items part=items><slot name=item ${A("itemSlot")} @slotchange=${o=>o.handleItemSlotChange()}></slot></div></template>`,Cu=xn.compose({name:Uk,template:Bu,styles:Su});Cu.define(u.registry);const nx="adoptedStyleSheets"in document,ix="CSSScopeRule"in window,ts=new Map,os=new Map,mr=new Map,rs=new Map,vr=new CSSStyleSheet;function Pu(o,e=document){if(!(!e||!sx(e))){if(!nx||e instanceof HTMLElement&&!e.shadowRoot&&!ix){const t=e===document?document.documentElement:e;hx(o,t);return}[document,document.documentElement,document.body].includes(e)?ax(o):lx(o,e)}}function ns(o){if(!ts.has(o)){const e=[];for(const[t,r]of Object.entries(o))e.push(`--${t}:${r.toString()};`);ts.set(o,e.join(""))}return ts.get(o)}function sx(o){return[document,document.documentElement].includes(o)||o instanceof HTMLElement&&!!o.closest("body")}function ax(o){if(o===null){document.adoptedStyleSheets.includes(vr)&&vr.replaceSync("");return}vr.replaceSync(`
34
34
  html {
35
35
  ${ns(o)}
36
36
  }
37
- `),document.adoptedStyleSheets.includes(mr)||document.adoptedStyleSheets.push(mr)}function lx(o,e){if(o===null){e.shadowRoot&&br.has(e)?br.get(e).replaceSync(""):(delete e.dataset.fluentTheme,Iu(e));return}e.shadowRoot?cx(e).replaceSync(`
37
+ `),document.adoptedStyleSheets.includes(vr)||document.adoptedStyleSheets.push(vr)}function lx(o,e){if(o===null){e.shadowRoot&&mr.has(e)?mr.get(e).replaceSync(""):(delete e.dataset.fluentTheme,Iu(e));return}e.shadowRoot?cx(e).replaceSync(`
38
38
  :host {
39
39
  ${ns(o)}
40
40
  }
41
- `):(e.dataset.fluentTheme=dx(o),Iu(e))}function cx(o){if(!br.has(o)){const e=new CSSStyleSheet;br.set(o,e),o.shadowRoot?.adoptedStyleSheets.push(e)}return br.get(o)}function dx(o){if(!os.has(o)){const e=Ze("fluent-theme-"),t=new CSSStyleSheet;os.set(o,e),t.replaceSync(`
41
+ `):(e.dataset.fluentTheme=dx(o),Iu(e))}function cx(o){if(!mr.has(o)){const e=new CSSStyleSheet;mr.set(o,e),o.shadowRoot?.adoptedStyleSheets.push(e)}return mr.get(o)}function dx(o){if(!os.has(o)){const e=Ze("fluent-theme-"),t=new CSSStyleSheet;os.set(o,e),t.replaceSync(`
42
42
  @scope ([data-fluent-theme="${e}"]) {
43
43
  :scope {
44
44
  ${ns(o)}
45
45
  }
46
46
  }
47
- `),document.adoptedStyleSheets.push(t)}return os.get(o)}function hx(o,e){let t;if(o===null){if(!rs.has(e))return;t=rs.get(e)}else rs.set(e,o),t=o;for(const[r,n]of Object.entries(t))o===null?e.style.removeProperty(`--${r}`):e.style.setProperty(`--${r}`,n.toString())}const{userAgent:ux}=navigator,px=/\bAppleWebKit\/[\d+\.]+\b/.test(ux);function Iu(o){if(!px)return;const e="visibility",t="hidden",r=o.style.getPropertyValue(e);o.style.setProperty(e,t),E.process(),o.style.setProperty(e,r)}globalThis.Fluent={...globalThis.Fluent,setTheme:Pu};export{Yr as Accordion,Kr as AccordionExpandMode,to as AccordionItem,Tu as AccordionItemMarkerPosition,Nu as AccordionItemSize,Lt as AnchorButton,gc as AnchorButtonAppearance,wc as AnchorButtonDefinition,fc as AnchorButtonShape,bc as AnchorButtonSize,xc as AnchorButtonTemplate,mc as AnchorTarget,Bc as Avatar,Jm as AvatarActive,Zm as AvatarAppearance,_i as AvatarColor,Ic as AvatarDefinition,zi as AvatarNamedColor,Qm as AvatarShape,ev as AvatarSize,Cc as AvatarStyles,Pc as AvatarTemplate,Ht as Badge,Nc as BadgeAppearance,Tc as BadgeColor,Dc as BadgeDefinition,bv as BadgeShape,mv as BadgeSize,Fc as BadgeStyles,Ec as BadgeTemplate,eo as BaseAccordionItem,je as BaseAnchor,Mt as BaseAvatar,le as BaseButton,Pe as BaseCheckbox,Rt as BaseCounterBadge,rn as BaseDivider,Sd as BaseDropdown,fo as BaseField,Qd as BaseMenuList,Xt as BaseProgressBar,qe as BaseRadioGroup,Ut as BaseRatingDisplay,Eh as BaseSpinner,Kt as BaseTablist,G as BaseTextArea,_ as BaseTextInput,fr as BaseTree,Je as Button,Yo as ButtonAppearance,Mc as ButtonDefinition,Hm as ButtonFormTarget,Jo as ButtonShape,Qo as ButtonSize,co as ButtonStyles,Lc as ButtonTemplate,Zo as ButtonType,tr as Checkbox,Rc as CheckboxDefinition,Iv as CheckboxShape,Nv as CheckboxSize,Hc as CheckboxStyles,Vc as CheckboxTemplate,jc as CompoundButton,r$ as CompoundButtonAppearance,Gc as CompoundButtonDefinition,n$ as CompoundButtonShape,i$ as CompoundButtonSize,qc as CompoundButtonStyles,Wc as CompoundButtonTemplate,jt as CounterBadge,l$ as CounterBadgeAppearance,c$ as CounterBadgeColor,Yc as CounterBadgeDefinition,d$ as CounterBadgeShape,h$ as CounterBadgeSize,Uc as CounterBadgeStyles,Xc as CounterBadgeTagName,Kc as CounterBadgeTemplate,Oe as Dialog,ed as DialogBody,rd as DialogBodyDefinition,od as DialogBodyStyles,td as DialogBodyTemplate,Zc as DialogDefinition,Qc as DialogStyles,Jc as DialogTemplate,xt as DialogType,lt as Direction,rr as Divider,k$ as DividerAlignContent,x$ as DividerAppearance,ad as DividerDefinition,Li as DividerOrientation,po as DividerRole,sd as DividerStyles,id as DividerTemplate,ke as Drawer,pd as DrawerBody,vd as DrawerBodyDefinition,bd as DrawerBodyStyles,md as DrawerBodyTemplate,ud as DrawerDefinition,ld as DrawerPosition,cd as DrawerSize,dd as DrawerStyles,hd as DrawerTemplate,go as DrawerType,sn as Dropdown,$d as DropdownAppearance,Pd as DropdownDefinition,ne as DropdownOption,hh as DropdownOptionDefinition,ch as DropdownOptionStyles,dh as DropdownOptionTemplate,K$ as DropdownSize,Cd as DropdownStyles,wd as DropdownTemplate,nn as DropdownType,qi as Field,Ad as FieldDefinition,Id as FieldLabelPosition,Nd as FieldStyles,Td as FieldTemplate,u as FluentDesignSystem,Wt as Image,Od as ImageDefinition,uy as ImageFit,py as ImageShape,_d as ImageStyles,zd as ImageTemplate,bo as Label,Dd as LabelDefinition,my as LabelSize,Fd as LabelStyles,Ed as LabelTemplate,vy as LabelWeight,cn as Link,wy as LinkAppearance,Vd as LinkDefinition,Md as LinkStyles,Sy as LinkTarget,Hd as LinkTemplate,Gt as Listbox,Wd as ListboxDefinition,Rd as ListboxStyles,qd as ListboxTemplate,tt as Menu,Gd as MenuButton,zy as MenuButtonAppearance,Ud as MenuButtonDefinition,_y as MenuButtonShape,Oy as MenuButtonSize,co as MenuButtonStyles,Xd as MenuButtonTemplate,ih as MenuDefinition,et as MenuItem,Jd as MenuItemDefinition,Q as MenuItemRole,Kd as MenuItemStyles,Yd as MenuItemTemplate,Zd as MenuList,oh as MenuListDefinition,eh as MenuListStyles,th as MenuListTemplate,rh as MenuStyles,nh as MenuTemplate,ar as MessageBar,lh as MessageBarDefinition,s0 as MessageBarIntent,n0 as MessageBarLayout,i0 as MessageBarShape,sh as MessageBarStyles,ah as MessageBarTemplate,ye as Orientation,un as ProgressBar,bh as ProgressBarDefinition,b0 as ProgressBarShape,gh as ProgressBarStyles,fh as ProgressBarTemplate,f0 as ProgressBarThickness,uh as ProgressBarValidationState,kh as Radio,Sh as RadioDefinition,mh as RadioGroup,yh as RadioGroupDefinition,Yi as RadioGroupOrientation,vh as RadioGroupStyles,$h as RadioGroupTemplate,xh as RadioStyles,wh as RadioTemplate,dr as RatingDisplay,A0 as RatingDisplayColor,Ih as RatingDisplayDefinition,z0 as RatingDisplaySize,Ph as RatingDisplayStyles,Ch as RatingDisplayTemplate,W as Slider,Fh as SliderDefinition,Th as SliderMode,Nh as SliderOrientation,R0 as SliderSize,_h as SliderStyles,Oh as SliderTemplate,gn as Spinner,X0 as SpinnerAppearance,Hh as SpinnerDefinition,U0 as SpinnerSize,Lh as SpinnerStyles,Mh as SpinnerTemplate,nt as StartEnd,Vh as Switch,qh as SwitchDefinition,Q0 as SwitchLabelPosition,jh as SwitchStyles,Rh as SwitchTemplate,bn as Tab,Xh as TabDefinition,Gh as TabStyles,Wh as TabTemplate,mn as Tablist,Uh as TablistAppearance,Qh as TablistDefinition,$o as TablistOrientation,sk as TablistSize,Jh as TablistStyles,Yh as TablistTemplate,Ee as Text,Ok as TextAlign,pr as TextArea,vn as TextAreaAppearance,pk as TextAreaAppearancesForDisplayShadow,gk as TextAreaAutocomplete,tu as TextAreaDefinition,ur as TextAreaResize,uk as TextAreaSize,Zh as TextAreaStyles,eu as TextAreaTemplate,cu as TextDefinition,zk as TextFont,gr as TextInput,wk as TextInputAppearance,xk as TextInputControlSize,su as TextInputDefinition,nu as TextInputStyles,iu as TextInputTemplate,ou as TextInputType,Ak as TextSize,au as TextStyles,lu as TextTemplate,_k as TextWeight,$n as ToggleButton,Lk as ToggleButtonAppearance,pu as ToggleButtonDefinition,Mk as ToggleButtonShape,Hk as ToggleButtonSize,hu as ToggleButtonStyles,uu as ToggleButtonTemplate,yo as Tooltip,bu as TooltipDefinition,Ne as TooltipPositioningOption,gu as TooltipStyles,fu as TooltipTemplate,kn as Tree,xu as TreeDefinition,xn as TreeItem,Cu as TreeItemDefinition,Su as TreeItemStyles,Bu as TreeItemTemplate,yu as TreeStyles,ku as TreeTemplate,Ie as ValidationFlags,pc as accordionDefinition,lc as accordionItemDefinition,sc as accordionItemStyles,ac as accordionItemTemplate,hc as accordionStyles,uc as accordionTemplate,dm as borderRadius2XLarge,hm as borderRadius3XLarge,um as borderRadius4XLarge,pm as borderRadius5XLarge,gm as borderRadius6XLarge,he as borderRadiusCircular,bi as borderRadiusLarge,B as borderRadiusMedium,Do as borderRadiusNone,ze as borderRadiusSmall,mi as borderRadiusXLarge,Fr as colorBackgroundOverlay,Jn as colorBrandBackground,ti as colorBrandBackground2,Og as colorBrandBackground2Hover,Fg as colorBrandBackground2Pressed,Eg as colorBrandBackground3Static,Dg as colorBrandBackground4Static,Qn as colorBrandBackgroundHover,Lg as colorBrandBackgroundInverted,Mg as colorBrandBackgroundInvertedHover,Hg as colorBrandBackgroundInvertedPressed,Vg as colorBrandBackgroundInvertedSelected,Zn as colorBrandBackgroundPressed,Ca as colorBrandBackgroundSelected,ei as colorBrandBackgroundStatic,Ao as colorBrandForeground1,$a as colorBrandForeground2,qp as colorBrandForeground2Hover,Wp as colorBrandForeground2Pressed,Gp as colorBrandForegroundInverted,Xp as colorBrandForegroundInvertedHover,Up as colorBrandForegroundInvertedPressed,ca as colorBrandForegroundLink,da as colorBrandForegroundLinkHover,ha as colorBrandForegroundLinkPressed,Op as colorBrandForegroundLinkSelected,Kp as colorBrandForegroundOnLight,Yp as colorBrandForegroundOnLightHover,Jp as colorBrandForegroundOnLightPressed,Qp as colorBrandForegroundOnLightSelected,mf as colorBrandShadowAmbient,vf as colorBrandShadowKey,oi as colorBrandStroke1,ri as colorBrandStroke2,af as colorBrandStroke2Contrast,nf as colorBrandStroke2Hover,sf as colorBrandStroke2Pressed,ht as colorCompoundBrandBackground,_t as colorCompoundBrandBackgroundHover,Ot as colorCompoundBrandBackgroundPressed,Ep as colorCompoundBrandForeground1,fa as colorCompoundBrandForeground1Hover,ba as colorCompoundBrandForeground1Pressed,at as colorCompoundBrandStroke,Na as colorCompoundBrandStrokeHover,ni as colorCompoundBrandStrokePressed,P as colorNeutralBackground1,zo as colorNeutralBackground1Hover,Or as colorNeutralBackground1Pressed,Gn as colorNeutralBackground1Selected,Zp as colorNeutralBackground2,eg as colorNeutralBackground2Hover,tg as colorNeutralBackground2Pressed,og as colorNeutralBackground2Selected,oo as colorNeutralBackground3,rg as colorNeutralBackground3Hover,ng as colorNeutralBackground3Pressed,ig as colorNeutralBackground3Selected,ka as colorNeutralBackground4,sg as colorNeutralBackground4Hover,ag as colorNeutralBackground4Pressed,lg as colorNeutralBackground4Selected,xa as colorNeutralBackground5,cg as colorNeutralBackground5Hover,dg as colorNeutralBackground5Pressed,hg as colorNeutralBackground5Selected,ro as colorNeutralBackground6,ug as colorNeutralBackground7,pg as colorNeutralBackground7Hover,gg as colorNeutralBackground7Pressed,fg as colorNeutralBackground7Selected,bg as colorNeutralBackground8,kg as colorNeutralBackgroundAlpha,xg as colorNeutralBackgroundAlpha2,st as colorNeutralBackgroundDisabled,Pg as colorNeutralBackgroundDisabled2,Xn as colorNeutralBackgroundInverted,Ig as colorNeutralBackgroundInvertedDisabled,mg as colorNeutralBackgroundInvertedHover,vg as colorNeutralBackgroundInvertedPressed,$g as colorNeutralBackgroundInvertedSelected,yg as colorNeutralBackgroundStatic,Rg as colorNeutralCardBackground,Gg as colorNeutralCardBackgroundDisabled,jg as colorNeutralCardBackgroundHover,qg as colorNeutralCardBackgroundPressed,Wg as colorNeutralCardBackgroundSelected,T as colorNeutralForeground1,qn as colorNeutralForeground1Hover,na as colorNeutralForeground1Pressed,Cp as colorNeutralForeground1Selected,ya as colorNeutralForeground1Static,Ae as colorNeutralForeground2,No as colorNeutralForeground2BrandHover,To as colorNeutralForeground2BrandPressed,ia as colorNeutralForeground2BrandSelected,At as colorNeutralForeground2Hover,ua as colorNeutralForeground2Link,pa as colorNeutralForeground2LinkHover,ga as colorNeutralForeground2LinkPressed,Fp as colorNeutralForeground2LinkSelected,zt as colorNeutralForeground2Pressed,Io as colorNeutralForeground2Selected,Y as colorNeutralForeground3,Pp as colorNeutralForeground3BrandHover,Ip as colorNeutralForeground3BrandPressed,Np as colorNeutralForeground3BrandSelected,sa as colorNeutralForeground3Hover,aa as colorNeutralForeground3Pressed,la as colorNeutralForeground3Selected,_r as colorNeutralForeground4,Tp as colorNeutralForeground5,Ap as colorNeutralForeground5Hover,zp as colorNeutralForeground5Pressed,_p as colorNeutralForeground5Selected,z as colorNeutralForegroundDisabled,dt as colorNeutralForegroundInverted,Lp as colorNeutralForegroundInverted2,jp as colorNeutralForegroundInvertedDisabled,ma as colorNeutralForegroundInvertedHover,Mp as colorNeutralForegroundInvertedLink,Hp as colorNeutralForegroundInvertedLinkHover,Vp as colorNeutralForegroundInvertedLinkPressed,Rp as colorNeutralForegroundInvertedLinkSelected,va as colorNeutralForegroundInvertedPressed,Dp as colorNeutralForegroundInvertedSelected,Ke as colorNeutralForegroundOnBrand,Wn as colorNeutralForegroundStaticInverted,Ta as colorNeutralShadowAmbient,ff as colorNeutralShadowAmbientDarker,pf as colorNeutralShadowAmbientLighter,Aa as colorNeutralShadowKey,bf as colorNeutralShadowKeyDarker,gf as colorNeutralShadowKeyLighter,Ng as colorNeutralStencil1,Ag as colorNeutralStencil1Alpha,Tg as colorNeutralStencil2,zg as colorNeutralStencil2Alpha,Re as colorNeutralStroke1,gt as colorNeutralStroke1Hover,io as colorNeutralStroke1Pressed,Ug as colorNeutralStroke1Selected,so as colorNeutralStroke2,Pa as colorNeutralStroke3,Kg as colorNeutralStroke4,Yg as colorNeutralStroke4Hover,Jg as colorNeutralStroke4Pressed,Qg as colorNeutralStroke4Selected,Ve as colorNeutralStrokeAccessible,ut as colorNeutralStrokeAccessibleHover,pt as colorNeutralStrokeAccessiblePressed,Xg as colorNeutralStrokeAccessibleSelected,hf as colorNeutralStrokeAlpha,uf as colorNeutralStrokeAlpha2,be as colorNeutralStrokeDisabled,lf as colorNeutralStrokeDisabled2,cf as colorNeutralStrokeInvertedDisabled,ef as colorNeutralStrokeOnBrand,Ia as colorNeutralStrokeOnBrand2,tf as colorNeutralStrokeOnBrand2Hover,of as colorNeutralStrokeOnBrand2Pressed,rf as colorNeutralStrokeOnBrand2Selected,Zg as colorNeutralStrokeSubtle,Wa as colorPaletteAnchorBackground2,nb as colorPaletteAnchorBorderActive,Ga as colorPaletteAnchorForeground2,Xa as colorPaletteBeigeBackground2,ib as colorPaletteBeigeBorderActive,Ua as colorPaletteBeigeForeground2,Of as colorPaletteBerryBackground1,Ff as colorPaletteBerryBackground2,Ef as colorPaletteBerryBackground3,Lf as colorPaletteBerryBorder1,Mf as colorPaletteBerryBorder2,Df as colorPaletteBerryBorderActive,Hf as colorPaletteBerryForeground1,Vf as colorPaletteBerryForeground2,Rf as colorPaletteBerryForeground3,Ka as colorPaletteBlueBackground2,sb as colorPaletteBlueBorderActive,Ya as colorPaletteBlueForeground2,Ja as colorPaletteBrassBackground2,ab as colorPaletteBrassBorderActive,Qa as colorPaletteBrassForeground2,Za as colorPaletteBrownBackground2,lb as colorPaletteBrownBorderActive,el as colorPaletteBrownForeground2,tl as colorPaletteCornflowerBackground2,cb as colorPaletteCornflowerBorderActive,ol as colorPaletteCornflowerForeground2,rl as colorPaletteCranberryBackground2,db as colorPaletteCranberryBorderActive,nl as colorPaletteCranberryForeground2,il as colorPaletteDarkGreenBackground2,hb as colorPaletteDarkGreenBorderActive,sl as colorPaletteDarkGreenForeground2,hi as colorPaletteDarkOrangeBackground1,Sf as colorPaletteDarkOrangeBackground2,ui as colorPaletteDarkOrangeBackground3,pi as colorPaletteDarkOrangeBorder1,Cf as colorPaletteDarkOrangeBorder2,Bf as colorPaletteDarkOrangeBorderActive,Ma as colorPaletteDarkOrangeForeground1,Pf as colorPaletteDarkOrangeForeground2,gi as colorPaletteDarkOrangeForeground3,al as colorPaletteDarkRedBackground2,ub as colorPaletteDarkRedBorderActive,ll as colorPaletteDarkRedForeground2,cl as colorPaletteForestBackground2,pb as colorPaletteForestBorderActive,dl as colorPaletteForestForeground2,hl as colorPaletteGoldBackground2,gb as colorPaletteGoldBorderActive,ul as colorPaletteGoldForeground2,pl as colorPaletteGrapeBackground2,fb as colorPaletteGrapeBorderActive,gl as colorPaletteGrapeForeground2,ci as colorPaletteGreenBackground1,kf as colorPaletteGreenBackground2,di as colorPaletteGreenBackground3,Oa as colorPaletteGreenBorder1,Fa as colorPaletteGreenBorder2,xf as colorPaletteGreenBorderActive,Ea as colorPaletteGreenForeground1,Da as colorPaletteGreenForeground2,La as colorPaletteGreenForeground3,wf as colorPaletteGreenForegroundInverted,fl as colorPaletteLavenderBackground2,bb as colorPaletteLavenderBorderActive,bl as colorPaletteLavenderForeground2,Kf as colorPaletteLightGreenBackground1,Yf as colorPaletteLightGreenBackground2,Jf as colorPaletteLightGreenBackground3,Zf as colorPaletteLightGreenBorder1,eb as colorPaletteLightGreenBorder2,Qf as colorPaletteLightGreenBorderActive,tb as colorPaletteLightGreenForeground1,ob as colorPaletteLightGreenForeground2,rb as colorPaletteLightGreenForeground3,ml as colorPaletteLightTealBackground2,mb as colorPaletteLightTealBorderActive,vl as colorPaletteLightTealForeground2,$l as colorPaletteLilacBackground2,vb as colorPaletteLilacBorderActive,yl as colorPaletteLilacForeground2,kl as colorPaletteMagentaBackground2,$b as colorPaletteMagentaBorderActive,xl as colorPaletteMagentaForeground2,jf as colorPaletteMarigoldBackground1,fi as colorPaletteMarigoldBackground2,qf as colorPaletteMarigoldBackground3,Wf as colorPaletteMarigoldBorder1,Gf as colorPaletteMarigoldBorder2,ja as colorPaletteMarigoldBorderActive,Xf as colorPaletteMarigoldForeground1,qa as colorPaletteMarigoldForeground2,Uf as colorPaletteMarigoldForeground3,wl as colorPaletteMinkBackground2,yb as colorPaletteMinkBorderActive,Sl as colorPaletteMinkForeground2,Bl as colorPaletteNavyBackground2,kb as colorPaletteNavyBorderActive,Cl as colorPaletteNavyForeground2,Pl as colorPalettePeachBackground2,xb as colorPalettePeachBorderActive,Il as colorPalettePeachForeground2,Nl as colorPalettePinkBackground2,wb as colorPalettePinkBorderActive,Tl as colorPalettePinkForeground2,Al as colorPalettePlatinumBackground2,Sb as colorPalettePlatinumBorderActive,zl as colorPalettePlatinumForeground2,_l as colorPalettePlumBackground2,Bb as colorPalettePlumBorderActive,Ol as colorPalettePlumForeground2,Fl as colorPalettePumpkinBackground2,Cb as colorPalettePumpkinBorderActive,El as colorPalettePumpkinForeground2,Dl as colorPalettePurpleBackground2,Pb as colorPalettePurpleBorderActive,Ll as colorPalettePurpleForeground2,ii as colorPaletteRedBackground1,za as colorPaletteRedBackground2,si as colorPaletteRedBackground3,ai as colorPaletteRedBorder1,Dr as colorPaletteRedBorder2,$f as colorPaletteRedBorderActive,Lr as colorPaletteRedForeground1,_a as colorPaletteRedForeground2,li as colorPaletteRedForeground3,yf as colorPaletteRedForegroundInverted,Ml as colorPaletteRoyalBlueBackground2,Ib as colorPaletteRoyalBlueBorderActive,Hl as colorPaletteRoyalBlueForeground2,Vl as colorPaletteSeafoamBackground2,Nb as colorPaletteSeafoamBorderActive,Rl as colorPaletteSeafoamForeground2,jl as colorPaletteSteelBackground2,Tb as colorPaletteSteelBorderActive,ql as colorPaletteSteelForeground2,Wl as colorPaletteTealBackground2,Ab as colorPaletteTealBorderActive,Gl as colorPaletteTealForeground2,Ha as colorPaletteYellowBackground1,If as colorPaletteYellowBackground2,Va as colorPaletteYellowBackground3,Ra as colorPaletteYellowBorder1,Tf as colorPaletteYellowBorder2,Nf as colorPaletteYellowBorderActive,Af as colorPaletteYellowForeground1,Mr as colorPaletteYellowForeground2,zf as colorPaletteYellowForeground3,_f as colorPaletteYellowForegroundInverted,_g as colorScrollbarOverlay,Qb as colorStatusDangerBackground1,Zb as colorStatusDangerBackground2,em as colorStatusDangerBackground3,tm as colorStatusDangerBackground3Hover,om as colorStatusDangerBackground3Pressed,lm as colorStatusDangerBorder1,cm as colorStatusDangerBorder2,am as colorStatusDangerBorderActive,rm as colorStatusDangerForeground1,nm as colorStatusDangerForeground2,im as colorStatusDangerForeground3,sm as colorStatusDangerForegroundInverted,zb as colorStatusSuccessBackground1,_b as colorStatusSuccessBackground2,Ob as colorStatusSuccessBackground3,Hb as colorStatusSuccessBorder1,Vb as colorStatusSuccessBorder2,Mb as colorStatusSuccessBorderActive,Fb as colorStatusSuccessForeground1,Eb as colorStatusSuccessForeground2,Db as colorStatusSuccessForeground3,Lb as colorStatusSuccessForegroundInverted,Rb as colorStatusWarningBackground1,jb as colorStatusWarningBackground2,qb as colorStatusWarningBackground3,Yb as colorStatusWarningBorder1,Jb as colorStatusWarningBorder2,Kb as colorStatusWarningBorderActive,Wb as colorStatusWarningForeground1,Gb as colorStatusWarningForeground2,Xb as colorStatusWarningForeground3,Ub as colorStatusWarningForegroundInverted,Eo as colorStrokeFocus1,de as colorStrokeFocus2,Un as colorSubtleBackground,_o as colorSubtleBackgroundHover,wg as colorSubtleBackgroundInverted,Sg as colorSubtleBackgroundInvertedHover,Bg as colorSubtleBackgroundInvertedPressed,Cg as colorSubtleBackgroundInvertedSelected,wa as colorSubtleBackgroundLightAlphaHover,Sa as colorSubtleBackgroundLightAlphaPressed,Ba as colorSubtleBackgroundLightAlphaSelected,no as colorSubtleBackgroundPressed,Kn as colorSubtleBackgroundSelected,ce as colorTransparentBackground,Oo as colorTransparentBackgroundHover,Fo as colorTransparentBackgroundPressed,Yn as colorTransparentBackgroundSelected,X as colorTransparentStroke,df as colorTransparentStrokeDisabled,Er as colorTransparentStrokeInteractive,rc as curveAccelerateMax,bt as curveAccelerateMid,nc as curveAccelerateMin,Ni as curveDecelerateMax,mt as curveDecelerateMid,ic as curveDecelerateMin,Uo as curveEasyEase,Ti as curveEasyEaseMax,Ur as curveLinear,w as display,xd as dropdownButtonTemplate,kd as dropdownInputTemplate,Sm as durationFast,Wo as durationFaster,Xr as durationGentle,Go as durationNormal,oc as durationSlow,Ii as durationSlower,Gr as durationUltraFast,Xo as durationUltraSlow,it as endSlotTemplate,v as fontFamilyBase,Xl as fontFamilyMonospace,Ul as fontFamilyNumeric,ao as fontSizeBase100,D as fontSizeBase200,O as fontSizeBase300,ue as fontSizeBase400,Ft as fontSizeBase500,Lo as fontSizeBase600,ki as fontSizeHero1000,vi as fontSizeHero700,$i as fontSizeHero800,yi as fontSizeHero900,Mo as fontWeightBold,Kl as fontWeightMedium,F as fontWeightRegular,H as fontWeightSemibold,ji as getDirection,Di as isDialog,U$ as isDropdown,qt as isDropdownOption,Ri as isListbox,fn as isTab,Ho as lineHeightBase100,j as lineHeightBase200,L as lineHeightBase300,me as lineHeightBase400,Vo as lineHeightBase500,xi as lineHeightBase600,Ci as lineHeightHero1000,wi as lineHeightHero700,Si as lineHeightHero800,Bi as lineHeightHero900,jd as listboxTemplate,Ey as roleForMenuItem,Pu as setTheme,Vr as shadow16,vm as shadow16Brand,Hr as shadow2,Jl as shadow28,$m as shadow28Brand,fm as shadow2Brand,Ro as shadow4,bm as shadow4Brand,Pi as shadow64,ym as shadow64Brand,Yl as shadow8,mm as shadow8Brand,Ql as spacingHorizontalL,oe as spacingHorizontalM,Ye as spacingHorizontalMNudge,km as spacingHorizontalNone,_e as spacingHorizontalS,ve as spacingHorizontalSNudge,Zl as spacingHorizontalXL,te as spacingHorizontalXS,jr as spacingHorizontalXXL,V as spacingHorizontalXXS,xm as spacingHorizontalXXXL,Wr as spacingVerticalL,ec as spacingVerticalM,qo as spacingVerticalMNudge,qr as spacingVerticalNone,re as spacingVerticalS,lo as spacingVerticalSNudge,wm as spacingVerticalXL,Et as spacingVerticalXS,ft as spacingVerticalXXL,jo as spacingVerticalXXS,tc as spacingVerticalXXXL,He as startSlotTemplate,pe as strokeWidthThick,Be as strokeWidthThicker,Rr as strokeWidthThickest,I as strokeWidthThin,O$ as typographyBody1StrongStyles,F$ as typographyBody1StrongerStyles,Hi as typographyBody1Styles,gd as typographyBody2Styles,E$ as typographyCaption1StrongStyles,D$ as typographyCaption1StrongerStyles,Vi as typographyCaption1Styles,M$ as typographyCaption2StrongStyles,L$ as typographyCaption2Styles,G$ as typographyDisplayStyles,W$ as typographyLargeTitleStyles,fd as typographySubtitle1Styles,V$ as typographySubtitle2StrongerStyles,H$ as typographySubtitle2Styles,R$ as typographyTitle1Styles,j$ as typographyTitle2Styles,q$ as typographyTitle3Styles,Bm as zIndexBackground,Cm as zIndexContent,zm as zIndexDebug,Tm as zIndexFloating,Nm as zIndexMessages,Pm as zIndexOverlay,Im as zIndexPopup,Am as zIndexPriority};
47
+ `),document.adoptedStyleSheets.push(t)}return os.get(o)}function hx(o,e){let t;if(o===null){if(!rs.has(e))return;t=rs.get(e)}else rs.set(e,o),t=o;for(const[r,n]of Object.entries(t))o===null?e.style.removeProperty(`--${r}`):e.style.setProperty(`--${r}`,n.toString())}const{userAgent:ux}=navigator,px=/\bAppleWebKit\/[\d+\.]+\b/.test(ux);function Iu(o){if(!px)return;const e="visibility",t="hidden",r=o.style.getPropertyValue(e);o.style.setProperty(e,t),E.process(),o.style.setProperty(e,r)}globalThis.Fluent={...globalThis.Fluent,setTheme:Pu};export{Yr as Accordion,Kr as AccordionExpandMode,to as AccordionItem,Tu as AccordionItemMarkerPosition,Nu as AccordionItemSize,Dt as AnchorButton,gc as AnchorButtonAppearance,wc as AnchorButtonDefinition,fc as AnchorButtonShape,bc as AnchorButtonSize,xc as AnchorButtonTemplate,mc as AnchorTarget,Bc as Avatar,Jm as AvatarActive,Zm as AvatarAppearance,_i as AvatarColor,Ic as AvatarDefinition,zi as AvatarNamedColor,Qm as AvatarShape,ev as AvatarSize,Cc as AvatarStyles,Pc as AvatarTemplate,Mt as Badge,Nc as BadgeAppearance,Tc as BadgeColor,Dc as BadgeDefinition,bv as BadgeShape,mv as BadgeSize,Fc as BadgeStyles,Ec as BadgeTemplate,eo as BaseAccordionItem,je as BaseAnchor,Lt as BaseAvatar,pe as BaseButton,_e as BaseCheckbox,Rt as BaseCounterBadge,rn as BaseDivider,Sd as BaseDropdown,fo as BaseField,Qd as BaseMenuList,Xt as BaseProgressBar,qe as BaseRadioGroup,Ut as BaseRatingDisplay,Eh as BaseSpinner,Kt as BaseTablist,G as BaseTextArea,F as BaseTextInput,br as BaseTree,Je as Button,Jo as ButtonAppearance,Mc as ButtonDefinition,Hm as ButtonFormTarget,Qo as ButtonShape,Zo as ButtonSize,co as ButtonStyles,Lc as ButtonTemplate,er as ButtonType,or as Checkbox,Rc as CheckboxDefinition,Iv as CheckboxShape,Nv as CheckboxSize,Hc as CheckboxStyles,Vc as CheckboxTemplate,jc as CompoundButton,r$ as CompoundButtonAppearance,Gc as CompoundButtonDefinition,n$ as CompoundButtonShape,i$ as CompoundButtonSize,qc as CompoundButtonStyles,Wc as CompoundButtonTemplate,jt as CounterBadge,l$ as CounterBadgeAppearance,c$ as CounterBadgeColor,Yc as CounterBadgeDefinition,d$ as CounterBadgeShape,h$ as CounterBadgeSize,Uc as CounterBadgeStyles,Xc as CounterBadgeTagName,Kc as CounterBadgeTemplate,Oe as Dialog,ed as DialogBody,rd as DialogBodyDefinition,od as DialogBodyStyles,td as DialogBodyTemplate,Zc as DialogDefinition,Qc as DialogStyles,Jc as DialogTemplate,kt as DialogType,lt as Direction,nr as Divider,k$ as DividerAlignContent,x$ as DividerAppearance,ad as DividerDefinition,Li as DividerOrientation,po as DividerRole,sd as DividerStyles,id as DividerTemplate,ke as Drawer,pd as DrawerBody,vd as DrawerBodyDefinition,bd as DrawerBodyStyles,md as DrawerBodyTemplate,ud as DrawerDefinition,ld as DrawerPosition,cd as DrawerSize,dd as DrawerStyles,hd as DrawerTemplate,go as DrawerType,sn as Dropdown,$d as DropdownAppearance,Pd as DropdownDefinition,ne as DropdownOption,hh as DropdownOptionDefinition,ch as DropdownOptionStyles,dh as DropdownOptionTemplate,K$ as DropdownSize,Cd as DropdownStyles,wd as DropdownTemplate,nn as DropdownType,qi as Field,Ad as FieldDefinition,Id as FieldLabelPosition,Nd as FieldStyles,Td as FieldTemplate,u as FluentDesignSystem,Wt as Image,Od as ImageDefinition,uy as ImageFit,py as ImageShape,_d as ImageStyles,zd as ImageTemplate,bo as Label,Dd as LabelDefinition,my as LabelSize,Fd as LabelStyles,Ed as LabelTemplate,vy as LabelWeight,cn as Link,wy as LinkAppearance,Vd as LinkDefinition,Md as LinkStyles,Sy as LinkTarget,Hd as LinkTemplate,Gt as Listbox,Wd as ListboxDefinition,Rd as ListboxStyles,qd as ListboxTemplate,tt as Menu,Gd as MenuButton,zy as MenuButtonAppearance,Ud as MenuButtonDefinition,_y as MenuButtonShape,Oy as MenuButtonSize,co as MenuButtonStyles,Xd as MenuButtonTemplate,ih as MenuDefinition,et as MenuItem,Jd as MenuItemDefinition,Q as MenuItemRole,Kd as MenuItemStyles,Yd as MenuItemTemplate,Zd as MenuList,oh as MenuListDefinition,eh as MenuListStyles,th as MenuListTemplate,rh as MenuStyles,nh as MenuTemplate,lr as MessageBar,lh as MessageBarDefinition,s0 as MessageBarIntent,n0 as MessageBarLayout,i0 as MessageBarShape,sh as MessageBarStyles,ah as MessageBarTemplate,ye as Orientation,un as ProgressBar,bh as ProgressBarDefinition,b0 as ProgressBarShape,gh as ProgressBarStyles,fh as ProgressBarTemplate,f0 as ProgressBarThickness,uh as ProgressBarValidationState,kh as Radio,Sh as RadioDefinition,mh as RadioGroup,yh as RadioGroupDefinition,Yi as RadioGroupOrientation,vh as RadioGroupStyles,$h as RadioGroupTemplate,xh as RadioStyles,wh as RadioTemplate,hr as RatingDisplay,A0 as RatingDisplayColor,Ih as RatingDisplayDefinition,z0 as RatingDisplaySize,Ph as RatingDisplayStyles,Ch as RatingDisplayTemplate,W as Slider,Fh as SliderDefinition,Th as SliderMode,Nh as SliderOrientation,R0 as SliderSize,_h as SliderStyles,Oh as SliderTemplate,gn as Spinner,X0 as SpinnerAppearance,Hh as SpinnerDefinition,U0 as SpinnerSize,Lh as SpinnerStyles,Mh as SpinnerTemplate,nt as StartEnd,Vh as Switch,qh as SwitchDefinition,Q0 as SwitchLabelPosition,jh as SwitchStyles,Rh as SwitchTemplate,bn as Tab,Xh as TabDefinition,Gh as TabStyles,Wh as TabTemplate,mn as Tablist,Uh as TablistAppearance,Qh as TablistDefinition,$o as TablistOrientation,sk as TablistSize,Jh as TablistStyles,Yh as TablistTemplate,Ee as Text,Ok as TextAlign,gr as TextArea,vn as TextAreaAppearance,pk as TextAreaAppearancesForDisplayShadow,gk as TextAreaAutocomplete,tu as TextAreaDefinition,pr as TextAreaResize,uk as TextAreaSize,Zh as TextAreaStyles,eu as TextAreaTemplate,cu as TextDefinition,zk as TextFont,fr as TextInput,wk as TextInputAppearance,xk as TextInputControlSize,su as TextInputDefinition,nu as TextInputStyles,iu as TextInputTemplate,ou as TextInputType,Ak as TextSize,au as TextStyles,lu as TextTemplate,_k as TextWeight,$n as ToggleButton,Lk as ToggleButtonAppearance,pu as ToggleButtonDefinition,Mk as ToggleButtonShape,Hk as ToggleButtonSize,hu as ToggleButtonStyles,uu as ToggleButtonTemplate,yo as Tooltip,bu as TooltipDefinition,Pe as TooltipPositioningOption,gu as TooltipStyles,fu as TooltipTemplate,kn as Tree,xu as TreeDefinition,xn as TreeItem,Cu as TreeItemDefinition,Su as TreeItemStyles,Bu as TreeItemTemplate,yu as TreeStyles,ku as TreeTemplate,Ce as ValidationFlags,pc as accordionDefinition,lc as accordionItemDefinition,sc as accordionItemStyles,ac as accordionItemTemplate,hc as accordionStyles,uc as accordionTemplate,dm as borderRadius2XLarge,hm as borderRadius3XLarge,um as borderRadius4XLarge,pm as borderRadius5XLarge,gm as borderRadius6XLarge,de as borderRadiusCircular,bi as borderRadiusLarge,B as borderRadiusMedium,Do as borderRadiusNone,Te as borderRadiusSmall,mi as borderRadiusXLarge,Er as colorBackgroundOverlay,Jn as colorBrandBackground,ti as colorBrandBackground2,Og as colorBrandBackground2Hover,Fg as colorBrandBackground2Pressed,Eg as colorBrandBackground3Static,Dg as colorBrandBackground4Static,Qn as colorBrandBackgroundHover,Lg as colorBrandBackgroundInverted,Mg as colorBrandBackgroundInvertedHover,Hg as colorBrandBackgroundInvertedPressed,Vg as colorBrandBackgroundInvertedSelected,Zn as colorBrandBackgroundPressed,Ca as colorBrandBackgroundSelected,ei as colorBrandBackgroundStatic,Ao as colorBrandForeground1,$a as colorBrandForeground2,qp as colorBrandForeground2Hover,Wp as colorBrandForeground2Pressed,Gp as colorBrandForegroundInverted,Xp as colorBrandForegroundInvertedHover,Up as colorBrandForegroundInvertedPressed,ca as colorBrandForegroundLink,da as colorBrandForegroundLinkHover,ha as colorBrandForegroundLinkPressed,Op as colorBrandForegroundLinkSelected,Kp as colorBrandForegroundOnLight,Yp as colorBrandForegroundOnLightHover,Jp as colorBrandForegroundOnLightPressed,Qp as colorBrandForegroundOnLightSelected,mf as colorBrandShadowAmbient,vf as colorBrandShadowKey,oi as colorBrandStroke1,ri as colorBrandStroke2,af as colorBrandStroke2Contrast,nf as colorBrandStroke2Hover,sf as colorBrandStroke2Pressed,ht as colorCompoundBrandBackground,zt as colorCompoundBrandBackgroundHover,_t as colorCompoundBrandBackgroundPressed,Ep as colorCompoundBrandForeground1,fa as colorCompoundBrandForeground1Hover,ba as colorCompoundBrandForeground1Pressed,at as colorCompoundBrandStroke,Na as colorCompoundBrandStrokeHover,ni as colorCompoundBrandStrokePressed,P as colorNeutralBackground1,zo as colorNeutralBackground1Hover,Fr as colorNeutralBackground1Pressed,Gn as colorNeutralBackground1Selected,Zp as colorNeutralBackground2,eg as colorNeutralBackground2Hover,tg as colorNeutralBackground2Pressed,og as colorNeutralBackground2Selected,oo as colorNeutralBackground3,rg as colorNeutralBackground3Hover,ng as colorNeutralBackground3Pressed,ig as colorNeutralBackground3Selected,ka as colorNeutralBackground4,sg as colorNeutralBackground4Hover,ag as colorNeutralBackground4Pressed,lg as colorNeutralBackground4Selected,xa as colorNeutralBackground5,cg as colorNeutralBackground5Hover,dg as colorNeutralBackground5Pressed,hg as colorNeutralBackground5Selected,ro as colorNeutralBackground6,ug as colorNeutralBackground7,pg as colorNeutralBackground7Hover,gg as colorNeutralBackground7Pressed,fg as colorNeutralBackground7Selected,bg as colorNeutralBackground8,kg as colorNeutralBackgroundAlpha,xg as colorNeutralBackgroundAlpha2,st as colorNeutralBackgroundDisabled,Pg as colorNeutralBackgroundDisabled2,Xn as colorNeutralBackgroundInverted,Ig as colorNeutralBackgroundInvertedDisabled,mg as colorNeutralBackgroundInvertedHover,vg as colorNeutralBackgroundInvertedPressed,$g as colorNeutralBackgroundInvertedSelected,yg as colorNeutralBackgroundStatic,Rg as colorNeutralCardBackground,Gg as colorNeutralCardBackgroundDisabled,jg as colorNeutralCardBackgroundHover,qg as colorNeutralCardBackgroundPressed,Wg as colorNeutralCardBackgroundSelected,T as colorNeutralForeground1,qn as colorNeutralForeground1Hover,na as colorNeutralForeground1Pressed,Cp as colorNeutralForeground1Selected,ya as colorNeutralForeground1Static,Ne as colorNeutralForeground2,No as colorNeutralForeground2BrandHover,To as colorNeutralForeground2BrandPressed,ia as colorNeutralForeground2BrandSelected,Tt as colorNeutralForeground2Hover,ua as colorNeutralForeground2Link,pa as colorNeutralForeground2LinkHover,ga as colorNeutralForeground2LinkPressed,Fp as colorNeutralForeground2LinkSelected,At as colorNeutralForeground2Pressed,Io as colorNeutralForeground2Selected,Y as colorNeutralForeground3,Pp as colorNeutralForeground3BrandHover,Ip as colorNeutralForeground3BrandPressed,Np as colorNeutralForeground3BrandSelected,sa as colorNeutralForeground3Hover,aa as colorNeutralForeground3Pressed,la as colorNeutralForeground3Selected,Or as colorNeutralForeground4,Tp as colorNeutralForeground5,Ap as colorNeutralForeground5Hover,zp as colorNeutralForeground5Pressed,_p as colorNeutralForeground5Selected,z as colorNeutralForegroundDisabled,dt as colorNeutralForegroundInverted,Lp as colorNeutralForegroundInverted2,jp as colorNeutralForegroundInvertedDisabled,ma as colorNeutralForegroundInvertedHover,Mp as colorNeutralForegroundInvertedLink,Hp as colorNeutralForegroundInvertedLinkHover,Vp as colorNeutralForegroundInvertedLinkPressed,Rp as colorNeutralForegroundInvertedLinkSelected,va as colorNeutralForegroundInvertedPressed,Dp as colorNeutralForegroundInvertedSelected,Ke as colorNeutralForegroundOnBrand,Wn as colorNeutralForegroundStaticInverted,Ta as colorNeutralShadowAmbient,ff as colorNeutralShadowAmbientDarker,pf as colorNeutralShadowAmbientLighter,Aa as colorNeutralShadowKey,bf as colorNeutralShadowKeyDarker,gf as colorNeutralShadowKeyLighter,Ng as colorNeutralStencil1,Ag as colorNeutralStencil1Alpha,Tg as colorNeutralStencil2,zg as colorNeutralStencil2Alpha,Re as colorNeutralStroke1,gt as colorNeutralStroke1Hover,io as colorNeutralStroke1Pressed,Ug as colorNeutralStroke1Selected,so as colorNeutralStroke2,Pa as colorNeutralStroke3,Kg as colorNeutralStroke4,Yg as colorNeutralStroke4Hover,Jg as colorNeutralStroke4Pressed,Qg as colorNeutralStroke4Selected,Ve as colorNeutralStrokeAccessible,ut as colorNeutralStrokeAccessibleHover,pt as colorNeutralStrokeAccessiblePressed,Xg as colorNeutralStrokeAccessibleSelected,hf as colorNeutralStrokeAlpha,uf as colorNeutralStrokeAlpha2,be as colorNeutralStrokeDisabled,lf as colorNeutralStrokeDisabled2,cf as colorNeutralStrokeInvertedDisabled,ef as colorNeutralStrokeOnBrand,Ia as colorNeutralStrokeOnBrand2,tf as colorNeutralStrokeOnBrand2Hover,of as colorNeutralStrokeOnBrand2Pressed,rf as colorNeutralStrokeOnBrand2Selected,Zg as colorNeutralStrokeSubtle,Wa as colorPaletteAnchorBackground2,nb as colorPaletteAnchorBorderActive,Ga as colorPaletteAnchorForeground2,Xa as colorPaletteBeigeBackground2,ib as colorPaletteBeigeBorderActive,Ua as colorPaletteBeigeForeground2,Of as colorPaletteBerryBackground1,Ff as colorPaletteBerryBackground2,Ef as colorPaletteBerryBackground3,Lf as colorPaletteBerryBorder1,Mf as colorPaletteBerryBorder2,Df as colorPaletteBerryBorderActive,Hf as colorPaletteBerryForeground1,Vf as colorPaletteBerryForeground2,Rf as colorPaletteBerryForeground3,Ka as colorPaletteBlueBackground2,sb as colorPaletteBlueBorderActive,Ya as colorPaletteBlueForeground2,Ja as colorPaletteBrassBackground2,ab as colorPaletteBrassBorderActive,Qa as colorPaletteBrassForeground2,Za as colorPaletteBrownBackground2,lb as colorPaletteBrownBorderActive,el as colorPaletteBrownForeground2,tl as colorPaletteCornflowerBackground2,cb as colorPaletteCornflowerBorderActive,ol as colorPaletteCornflowerForeground2,rl as colorPaletteCranberryBackground2,db as colorPaletteCranberryBorderActive,nl as colorPaletteCranberryForeground2,il as colorPaletteDarkGreenBackground2,hb as colorPaletteDarkGreenBorderActive,sl as colorPaletteDarkGreenForeground2,hi as colorPaletteDarkOrangeBackground1,Sf as colorPaletteDarkOrangeBackground2,ui as colorPaletteDarkOrangeBackground3,pi as colorPaletteDarkOrangeBorder1,Cf as colorPaletteDarkOrangeBorder2,Bf as colorPaletteDarkOrangeBorderActive,Ma as colorPaletteDarkOrangeForeground1,Pf as colorPaletteDarkOrangeForeground2,gi as colorPaletteDarkOrangeForeground3,al as colorPaletteDarkRedBackground2,ub as colorPaletteDarkRedBorderActive,ll as colorPaletteDarkRedForeground2,cl as colorPaletteForestBackground2,pb as colorPaletteForestBorderActive,dl as colorPaletteForestForeground2,hl as colorPaletteGoldBackground2,gb as colorPaletteGoldBorderActive,ul as colorPaletteGoldForeground2,pl as colorPaletteGrapeBackground2,fb as colorPaletteGrapeBorderActive,gl as colorPaletteGrapeForeground2,ci as colorPaletteGreenBackground1,kf as colorPaletteGreenBackground2,di as colorPaletteGreenBackground3,Oa as colorPaletteGreenBorder1,Fa as colorPaletteGreenBorder2,xf as colorPaletteGreenBorderActive,Ea as colorPaletteGreenForeground1,Da as colorPaletteGreenForeground2,La as colorPaletteGreenForeground3,wf as colorPaletteGreenForegroundInverted,fl as colorPaletteLavenderBackground2,bb as colorPaletteLavenderBorderActive,bl as colorPaletteLavenderForeground2,Kf as colorPaletteLightGreenBackground1,Yf as colorPaletteLightGreenBackground2,Jf as colorPaletteLightGreenBackground3,Zf as colorPaletteLightGreenBorder1,eb as colorPaletteLightGreenBorder2,Qf as colorPaletteLightGreenBorderActive,tb as colorPaletteLightGreenForeground1,ob as colorPaletteLightGreenForeground2,rb as colorPaletteLightGreenForeground3,ml as colorPaletteLightTealBackground2,mb as colorPaletteLightTealBorderActive,vl as colorPaletteLightTealForeground2,$l as colorPaletteLilacBackground2,vb as colorPaletteLilacBorderActive,yl as colorPaletteLilacForeground2,kl as colorPaletteMagentaBackground2,$b as colorPaletteMagentaBorderActive,xl as colorPaletteMagentaForeground2,jf as colorPaletteMarigoldBackground1,fi as colorPaletteMarigoldBackground2,qf as colorPaletteMarigoldBackground3,Wf as colorPaletteMarigoldBorder1,Gf as colorPaletteMarigoldBorder2,ja as colorPaletteMarigoldBorderActive,Xf as colorPaletteMarigoldForeground1,qa as colorPaletteMarigoldForeground2,Uf as colorPaletteMarigoldForeground3,wl as colorPaletteMinkBackground2,yb as colorPaletteMinkBorderActive,Sl as colorPaletteMinkForeground2,Bl as colorPaletteNavyBackground2,kb as colorPaletteNavyBorderActive,Cl as colorPaletteNavyForeground2,Pl as colorPalettePeachBackground2,xb as colorPalettePeachBorderActive,Il as colorPalettePeachForeground2,Nl as colorPalettePinkBackground2,wb as colorPalettePinkBorderActive,Tl as colorPalettePinkForeground2,Al as colorPalettePlatinumBackground2,Sb as colorPalettePlatinumBorderActive,zl as colorPalettePlatinumForeground2,_l as colorPalettePlumBackground2,Bb as colorPalettePlumBorderActive,Ol as colorPalettePlumForeground2,Fl as colorPalettePumpkinBackground2,Cb as colorPalettePumpkinBorderActive,El as colorPalettePumpkinForeground2,Dl as colorPalettePurpleBackground2,Pb as colorPalettePurpleBorderActive,Ll as colorPalettePurpleForeground2,ii as colorPaletteRedBackground1,za as colorPaletteRedBackground2,si as colorPaletteRedBackground3,ai as colorPaletteRedBorder1,Lr as colorPaletteRedBorder2,$f as colorPaletteRedBorderActive,Mr as colorPaletteRedForeground1,_a as colorPaletteRedForeground2,li as colorPaletteRedForeground3,yf as colorPaletteRedForegroundInverted,Ml as colorPaletteRoyalBlueBackground2,Ib as colorPaletteRoyalBlueBorderActive,Hl as colorPaletteRoyalBlueForeground2,Vl as colorPaletteSeafoamBackground2,Nb as colorPaletteSeafoamBorderActive,Rl as colorPaletteSeafoamForeground2,jl as colorPaletteSteelBackground2,Tb as colorPaletteSteelBorderActive,ql as colorPaletteSteelForeground2,Wl as colorPaletteTealBackground2,Ab as colorPaletteTealBorderActive,Gl as colorPaletteTealForeground2,Ha as colorPaletteYellowBackground1,If as colorPaletteYellowBackground2,Va as colorPaletteYellowBackground3,Ra as colorPaletteYellowBorder1,Tf as colorPaletteYellowBorder2,Nf as colorPaletteYellowBorderActive,Af as colorPaletteYellowForeground1,Hr as colorPaletteYellowForeground2,zf as colorPaletteYellowForeground3,_f as colorPaletteYellowForegroundInverted,_g as colorScrollbarOverlay,Qb as colorStatusDangerBackground1,Zb as colorStatusDangerBackground2,em as colorStatusDangerBackground3,tm as colorStatusDangerBackground3Hover,om as colorStatusDangerBackground3Pressed,lm as colorStatusDangerBorder1,cm as colorStatusDangerBorder2,am as colorStatusDangerBorderActive,rm as colorStatusDangerForeground1,nm as colorStatusDangerForeground2,im as colorStatusDangerForeground3,sm as colorStatusDangerForegroundInverted,zb as colorStatusSuccessBackground1,_b as colorStatusSuccessBackground2,Ob as colorStatusSuccessBackground3,Hb as colorStatusSuccessBorder1,Vb as colorStatusSuccessBorder2,Mb as colorStatusSuccessBorderActive,Fb as colorStatusSuccessForeground1,Eb as colorStatusSuccessForeground2,Db as colorStatusSuccessForeground3,Lb as colorStatusSuccessForegroundInverted,Rb as colorStatusWarningBackground1,jb as colorStatusWarningBackground2,qb as colorStatusWarningBackground3,Yb as colorStatusWarningBorder1,Jb as colorStatusWarningBorder2,Kb as colorStatusWarningBorderActive,Wb as colorStatusWarningForeground1,Gb as colorStatusWarningForeground2,Xb as colorStatusWarningForeground3,Ub as colorStatusWarningForegroundInverted,Eo as colorStrokeFocus1,ce as colorStrokeFocus2,Un as colorSubtleBackground,_o as colorSubtleBackgroundHover,wg as colorSubtleBackgroundInverted,Sg as colorSubtleBackgroundInvertedHover,Bg as colorSubtleBackgroundInvertedPressed,Cg as colorSubtleBackgroundInvertedSelected,wa as colorSubtleBackgroundLightAlphaHover,Sa as colorSubtleBackgroundLightAlphaPressed,Ba as colorSubtleBackgroundLightAlphaSelected,no as colorSubtleBackgroundPressed,Kn as colorSubtleBackgroundSelected,le as colorTransparentBackground,Oo as colorTransparentBackgroundHover,Fo as colorTransparentBackgroundPressed,Yn as colorTransparentBackgroundSelected,X as colorTransparentStroke,df as colorTransparentStrokeDisabled,Dr as colorTransparentStrokeInteractive,rc as curveAccelerateMax,bt as curveAccelerateMid,nc as curveAccelerateMin,Ni as curveDecelerateMax,mt as curveDecelerateMid,ic as curveDecelerateMin,Ko as curveEasyEase,Ti as curveEasyEaseMax,Ur as curveLinear,w as display,xd as dropdownButtonTemplate,kd as dropdownInputTemplate,Sm as durationFast,Go as durationFaster,Xr as durationGentle,Xo as durationNormal,oc as durationSlow,Ii as durationSlower,Gr as durationUltraFast,Uo as durationUltraSlow,it as endSlotTemplate,v as fontFamilyBase,Xl as fontFamilyMonospace,Ul as fontFamilyNumeric,ao as fontSizeBase100,D as fontSizeBase200,_ as fontSizeBase300,he as fontSizeBase400,Ot as fontSizeBase500,Lo as fontSizeBase600,ki as fontSizeHero1000,vi as fontSizeHero700,$i as fontSizeHero800,yi as fontSizeHero900,Mo as fontWeightBold,Kl as fontWeightMedium,O as fontWeightRegular,M as fontWeightSemibold,ji as getDirection,Di as isDialog,U$ as isDropdown,qt as isDropdownOption,Ri as isListbox,fn as isTab,Ho as lineHeightBase100,j as lineHeightBase200,L as lineHeightBase300,me as lineHeightBase400,Vo as lineHeightBase500,xi as lineHeightBase600,Ci as lineHeightHero1000,wi as lineHeightHero700,Si as lineHeightHero800,Bi as lineHeightHero900,jd as listboxTemplate,Ey as roleForMenuItem,Pu as setTheme,Rr as shadow16,vm as shadow16Brand,Vr as shadow2,Jl as shadow28,$m as shadow28Brand,fm as shadow2Brand,Ro as shadow4,bm as shadow4Brand,Pi as shadow64,ym as shadow64Brand,Yl as shadow8,mm as shadow8Brand,Ql as spacingHorizontalL,oe as spacingHorizontalM,Ye as spacingHorizontalMNudge,km as spacingHorizontalNone,Ae as spacingHorizontalS,ve as spacingHorizontalSNudge,Zl as spacingHorizontalXL,te as spacingHorizontalXS,jo as spacingHorizontalXXL,H as spacingHorizontalXXS,xm as spacingHorizontalXXXL,Wr as spacingVerticalL,ec as spacingVerticalM,Wo as spacingVerticalMNudge,qr as spacingVerticalNone,re as spacingVerticalS,lo as spacingVerticalSNudge,wm as spacingVerticalXL,Ft as spacingVerticalXS,ft as spacingVerticalXXL,qo as spacingVerticalXXS,tc as spacingVerticalXXXL,He as startSlotTemplate,ue as strokeWidthThick,Be as strokeWidthThicker,jr as strokeWidthThickest,I as strokeWidthThin,O$ as typographyBody1StrongStyles,F$ as typographyBody1StrongerStyles,Hi as typographyBody1Styles,gd as typographyBody2Styles,E$ as typographyCaption1StrongStyles,D$ as typographyCaption1StrongerStyles,Vi as typographyCaption1Styles,M$ as typographyCaption2StrongStyles,L$ as typographyCaption2Styles,G$ as typographyDisplayStyles,W$ as typographyLargeTitleStyles,fd as typographySubtitle1Styles,V$ as typographySubtitle2StrongerStyles,H$ as typographySubtitle2Styles,R$ as typographyTitle1Styles,j$ as typographyTitle2Styles,q$ as typographyTitle3Styles,Bm as zIndexBackground,Cm as zIndexContent,zm as zIndexDebug,Tm as zIndexFloating,Nm as zIndexMessages,Pm as zIndexOverlay,Im as zIndexPopup,Am as zIndexPriority};