@fluentui/web-components 3.0.0-beta.14 → 3.0.0-beta.16

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 (165) hide show
  1. package/CHANGELOG.md +184 -103
  2. package/dist/dts/accordion/index.d.ts +2 -1
  3. package/dist/dts/accordion-item/index.d.ts +2 -2
  4. package/dist/dts/anchor-button/index.d.ts +2 -2
  5. package/dist/dts/avatar/index.d.ts +2 -2
  6. package/dist/dts/badge/index.d.ts +2 -2
  7. package/dist/dts/button/index.d.ts +2 -2
  8. package/dist/dts/checkbox/index.d.ts +2 -2
  9. package/dist/dts/compound-button/index.d.ts +2 -2
  10. package/dist/dts/counter-badge/index.d.ts +2 -2
  11. package/dist/dts/dialog/index.d.ts +2 -1
  12. package/dist/dts/divider/index.d.ts +2 -2
  13. package/dist/dts/image/index.d.ts +2 -2
  14. package/dist/dts/index-rollup.d.ts +35 -1
  15. package/dist/dts/index.d.ts +35 -34
  16. package/dist/dts/label/index.d.ts +2 -1
  17. package/dist/dts/menu/index.d.ts +1 -1
  18. package/dist/dts/menu-button/index.d.ts +2 -2
  19. package/dist/dts/menu-button/menu-button.options.d.ts +1 -1
  20. package/dist/dts/menu-item/index.d.ts +2 -1
  21. package/dist/dts/menu-item/menu-item.options.d.ts +1 -1
  22. package/dist/dts/menu-list/index.d.ts +1 -1
  23. package/dist/dts/progress-bar/index.d.ts +2 -2
  24. package/dist/dts/radio/index.d.ts +1 -1
  25. package/dist/dts/radio-group/index.d.ts +2 -1
  26. package/dist/dts/slider/index.d.ts +2 -2
  27. package/dist/dts/spinner/index.d.ts +2 -2
  28. package/dist/dts/spinner/spinner.d.ts +10 -2
  29. package/dist/dts/spinner/spinner.template.d.ts +2 -3
  30. package/dist/dts/switch/index.d.ts +2 -2
  31. package/dist/dts/tab/index.d.ts +1 -1
  32. package/dist/dts/tab-panel/index.d.ts +1 -1
  33. package/dist/dts/tabs/index.d.ts +2 -2
  34. package/dist/dts/text/index.d.ts +2 -2
  35. package/dist/dts/text-input/index.d.ts +2 -2
  36. package/dist/dts/text-input/text-input.d.ts +4 -4
  37. package/dist/dts/text-input/text-input.options.d.ts +7 -7
  38. package/dist/dts/text-input/text-input.template.d.ts +2 -2
  39. package/dist/dts/theme/design-tokens.d.ts +53 -1
  40. package/dist/dts/toggle-button/index.d.ts +2 -2
  41. package/dist/esm/accordion/index.js +2 -1
  42. package/dist/esm/accordion/index.js.map +1 -1
  43. package/dist/esm/accordion-item/index.js +2 -2
  44. package/dist/esm/accordion-item/index.js.map +1 -1
  45. package/dist/esm/anchor-button/anchor-button.js.map +1 -1
  46. package/dist/esm/anchor-button/index.js +2 -2
  47. package/dist/esm/anchor-button/index.js.map +1 -1
  48. package/dist/esm/avatar/avatar.js.map +1 -1
  49. package/dist/esm/avatar/index.js +2 -2
  50. package/dist/esm/avatar/index.js.map +1 -1
  51. package/dist/esm/badge/index.js +2 -2
  52. package/dist/esm/badge/index.js.map +1 -1
  53. package/dist/esm/button/index.js +2 -2
  54. package/dist/esm/button/index.js.map +1 -1
  55. package/dist/esm/checkbox/index.js +2 -2
  56. package/dist/esm/checkbox/index.js.map +1 -1
  57. package/dist/esm/compound-button/index.js +2 -2
  58. package/dist/esm/compound-button/index.js.map +1 -1
  59. package/dist/esm/counter-badge/index.js +2 -2
  60. package/dist/esm/counter-badge/index.js.map +1 -1
  61. package/dist/esm/dialog/index.js +2 -1
  62. package/dist/esm/dialog/index.js.map +1 -1
  63. package/dist/esm/divider/index.js +2 -2
  64. package/dist/esm/divider/index.js.map +1 -1
  65. package/dist/esm/image/index.js +2 -2
  66. package/dist/esm/image/index.js.map +1 -1
  67. package/dist/esm/index-rollup.js +35 -1
  68. package/dist/esm/index-rollup.js.map +1 -1
  69. package/dist/esm/index.js +35 -34
  70. package/dist/esm/index.js.map +1 -1
  71. package/dist/esm/label/index.js +2 -1
  72. package/dist/esm/label/index.js.map +1 -1
  73. package/dist/esm/menu/index.js +1 -1
  74. package/dist/esm/menu/index.js.map +1 -1
  75. package/dist/esm/menu-button/index.js +2 -2
  76. package/dist/esm/menu-button/index.js.map +1 -1
  77. package/dist/esm/menu-item/index.js +2 -1
  78. package/dist/esm/menu-item/index.js.map +1 -1
  79. package/dist/esm/menu-list/index.js +1 -1
  80. package/dist/esm/menu-list/index.js.map +1 -1
  81. package/dist/esm/menu-list/menu-list.js.map +1 -1
  82. package/dist/esm/progress-bar/index.js +2 -2
  83. package/dist/esm/progress-bar/index.js.map +1 -1
  84. package/dist/esm/radio/index.js +1 -1
  85. package/dist/esm/radio/index.js.map +1 -1
  86. package/dist/esm/radio-group/index.js +2 -1
  87. package/dist/esm/radio-group/index.js.map +1 -1
  88. package/dist/esm/slider/index.js +2 -2
  89. package/dist/esm/slider/index.js.map +1 -1
  90. package/dist/esm/spinner/index.js +2 -2
  91. package/dist/esm/spinner/index.js.map +1 -1
  92. package/dist/esm/spinner/spinner.js +2 -2
  93. package/dist/esm/spinner/spinner.js.map +1 -1
  94. package/dist/esm/spinner/spinner.template.js.map +1 -1
  95. package/dist/esm/switch/index.js +2 -2
  96. package/dist/esm/switch/index.js.map +1 -1
  97. package/dist/esm/tab/index.js +1 -1
  98. package/dist/esm/tab/index.js.map +1 -1
  99. package/dist/esm/tab-panel/index.js +1 -1
  100. package/dist/esm/tab-panel/index.js.map +1 -1
  101. package/dist/esm/tabs/index.js +2 -2
  102. package/dist/esm/tabs/index.js.map +1 -1
  103. package/dist/esm/text/index.js +2 -2
  104. package/dist/esm/text/index.js.map +1 -1
  105. package/dist/esm/text-input/index.js +2 -2
  106. package/dist/esm/text-input/index.js.map +1 -1
  107. package/dist/esm/text-input/text-input.js +3 -3
  108. package/dist/esm/text-input/text-input.options.js +6 -6
  109. package/dist/esm/theme/design-tokens.js +53 -1
  110. package/dist/esm/theme/design-tokens.js.map +1 -1
  111. package/dist/esm/toggle-button/index.js +2 -2
  112. package/dist/esm/toggle-button/index.js.map +1 -1
  113. package/dist/esm/utils/get-initials.js.map +1 -1
  114. package/dist/fluent-web-components.api.json +2156 -821
  115. package/dist/web-components.d.ts +172 -97
  116. package/dist/web-components.js +1235 -250
  117. package/dist/web-components.min.js +353 -283
  118. package/docs/api-report.md +242 -95
  119. package/package.json +5 -10
  120. package/project.json +6 -0
  121. package/dist/dts/progress-ring/progress-ring.d.ts +0 -15
  122. package/dist/dts/progress-ring/progress-ring.options.d.ts +0 -9
  123. package/dist/esm/progress-ring/progress-ring.js +0 -16
  124. package/dist/esm/progress-ring/progress-ring.js.map +0 -1
  125. package/dist/esm/progress-ring/progress-ring.options.js +0 -2
  126. package/dist/esm/progress-ring/progress-ring.options.js.map +0 -1
  127. package/dist/storybook/108.78b731e00015540915a8.manager.bundle.js +0 -1
  128. package/dist/storybook/108.b31ec3a1.iframe.bundle.js +0 -1
  129. package/dist/storybook/289.703b1698.iframe.bundle.js +0 -2
  130. package/dist/storybook/289.703b1698.iframe.bundle.js.LICENSE.txt +0 -51
  131. package/dist/storybook/316.bc4aabd3.iframe.bundle.js +0 -2
  132. package/dist/storybook/316.bc4aabd3.iframe.bundle.js.LICENSE.txt +0 -17
  133. package/dist/storybook/401.7edec720.iframe.bundle.js +0 -2
  134. package/dist/storybook/401.7edec720.iframe.bundle.js.LICENSE.txt +0 -12
  135. package/dist/storybook/401.c9bdfaf0dda8b194127f.manager.bundle.js +0 -2
  136. package/dist/storybook/401.c9bdfaf0dda8b194127f.manager.bundle.js.LICENSE.txt +0 -12
  137. package/dist/storybook/491.77b24750.iframe.bundle.js +0 -1
  138. package/dist/storybook/591.f5bf0d78d2f203de19f5.manager.bundle.js +0 -2
  139. package/dist/storybook/591.f5bf0d78d2f203de19f5.manager.bundle.js.LICENSE.txt +0 -94
  140. package/dist/storybook/709.22096ad4.iframe.bundle.js +0 -2
  141. package/dist/storybook/709.22096ad4.iframe.bundle.js.LICENSE.txt +0 -8
  142. package/dist/storybook/709.b131e33993a6b94d7ad8.manager.bundle.js +0 -2
  143. package/dist/storybook/709.b131e33993a6b94d7ad8.manager.bundle.js.LICENSE.txt +0 -8
  144. package/dist/storybook/721.46fa9f53.iframe.bundle.js +0 -2
  145. package/dist/storybook/721.46fa9f53.iframe.bundle.js.LICENSE.txt +0 -31
  146. package/dist/storybook/721.c225c101a0a55a8f98eb.manager.bundle.js +0 -2
  147. package/dist/storybook/721.c225c101a0a55a8f98eb.manager.bundle.js.LICENSE.txt +0 -31
  148. package/dist/storybook/858.da40ed98.iframe.bundle.js +0 -1
  149. package/dist/storybook/858.e08e25a6901d2e21e9d8.manager.bundle.js +0 -1
  150. package/dist/storybook/950.674e7934b4a26a022608.manager.bundle.js +0 -1
  151. package/dist/storybook/954.630c5748.iframe.bundle.js +0 -1
  152. package/dist/storybook/954.7f985e2fdf9f15a7748b.manager.bundle.js +0 -1
  153. package/dist/storybook/SegoeUI-VF.ttf +0 -0
  154. package/dist/storybook/favicon.ico +0 -0
  155. package/dist/storybook/favicon.png +0 -0
  156. package/dist/storybook/iframe.html +0 -364
  157. package/dist/storybook/index.html +0 -165
  158. package/dist/storybook/main.5d7b916dc1e37293b1d8.manager.bundle.js +0 -1
  159. package/dist/storybook/main.79d2477b.iframe.bundle.js +0 -2
  160. package/dist/storybook/main.79d2477b.iframe.bundle.js.LICENSE.txt +0 -1
  161. package/dist/storybook/project.json +0 -1
  162. package/dist/storybook/runtime~main.5d918fe7.iframe.bundle.js +0 -1
  163. package/dist/storybook/runtime~main.dbf00b470fe610082919.manager.bundle.js +0 -1
  164. package/dist/storybook/shell.css +0 -83
  165. package/dist/storybook/theme-switch.ts +0 -13
@@ -1,32 +1,56 @@
1
- let e;try{if(document.currentScript)e=document.currentScript.getAttribute("fast-kernel");else{const t=document.getElementsByTagName("script");e=t[t.length-1].getAttribute("fast-kernel")}}catch(ch){e="isolate"}let t;switch(e){case"share":t=Object.freeze({updateQueue:1,observable:2,contextEvent:3,elementRegistry:4});break;case"share-v2":t=Object.freeze({updateQueue:1.2,observable:2.2,contextEvent:3.2,elementRegistry:4.2});break;default:const e="-"+Math.random().toString(36).substring(2,8);t=Object.freeze({updateQueue:"1.2"+e,observable:"2.2"+e,contextEvent:"3.2"+e,elementRegistry:"4.2"+e})}const o=e=>"function"==typeof e,r=e=>"string"==typeof e,a=()=>{};var n="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};!function(){if("undefined"==typeof globalThis)if(void 0!==n)n.globalThis=n;else if("undefined"!=typeof self)self.globalThis=self;else if("undefined"!=typeof window)window.globalThis=window;else{const e=new Function("return this")();e.globalThis=e}}();const i={configurable:!1,enumerable:!1,writable:!1};void 0===globalThis.FAST&&Reflect.defineProperty(globalThis,"FAST",Object.assign({value:Object.create(null)},i));const s=globalThis.FAST;if(void 0===s.getById){const e=Object.create(null);Reflect.defineProperty(s,"getById",Object.assign({value(t,o){let r=e[t];return void 0===r&&(r=o?e[t]=o():null),r}},i))}void 0===s.error&&Object.assign(s,{warn(){},error:e=>new Error("Error "+e),addMessages(){}});const l=Object.freeze([]);function c(){const e=new Map;return Object.freeze({register:t=>!e.has(t.type)&&(e.set(t.type,t),!0),getByType:t=>e.get(t),getForInstance(t){if(null!=t)return e.get(t.constructor)}})}function d(){const e=new WeakMap;return function(t){let o=e.get(t);if(void 0===o){let r=Reflect.getPrototypeOf(t);for(;void 0===o&&null!==r;)o=e.get(r),r=Reflect.getPrototypeOf(r);o=void 0===o?[]:o.slice(0),e.set(t,o)}return o}}function u(e){e.prototype.toJSON=a}const h=Object.freeze({none:0,attribute:1,booleanAttribute:2,property:3,content:4,tokenList:5,event:6}),p=e=>e,g=globalThis.trustedTypes?globalThis.trustedTypes.createPolicy("fast-html",{createHTML:p}):{createHTML:p};let v=Object.freeze({createHTML:e=>g.createHTML(e),protect:(e,t,o,r)=>r});const b=v,m=Object.freeze({get policy(){return v},setPolicy(e){if(v!==b)throw s.error(1201);v=e},setAttribute(e,t,o){null==o?e.removeAttribute(t):e.setAttribute(t,o)},setBooleanAttribute(e,t,o){o?e.setAttribute(t,""):e.removeAttribute(t)}}),f=s.getById(t.updateQueue,()=>{const e=[],t=[],o=globalThis.requestAnimationFrame;let r=!0;function a(){if(t.length)throw t.shift()}function n(o){try{o.call()}catch(o){if(!r)throw e.length=0,o;t.push(o),setTimeout(a,0)}}function i(){let t=0;for(;t<e.length;)if(n(e[t]),t++,t>1024){for(let o=0,r=e.length-t;o<r;o++)e[o]=e[o+t];e.length-=t,t=0}e.length=0}function s(t){e.push(t),e.length<2&&(r?o(i):i())}return Object.freeze({enqueue:s,next:()=>new Promise(s),process:i,setMode:e=>r=e})});class y{constructor(e,t){this.sub1=void 0,this.sub2=void 0,this.spillover=void 0,this.subject=e,this.sub1=t}has(e){return void 0===this.spillover?this.sub1===e||this.sub2===e:-1!==this.spillover.indexOf(e)}subscribe(e){const t=this.spillover;if(void 0===t){if(this.has(e))return;if(void 0===this.sub1)return void(this.sub1=e);if(void 0===this.sub2)return void(this.sub2=e);this.spillover=[this.sub1,this.sub2,e],this.sub1=void 0,this.sub2=void 0}else{-1===t.indexOf(e)&&t.push(e)}}unsubscribe(e){const t=this.spillover;if(void 0===t)this.sub1===e?this.sub1=void 0:this.sub2===e&&(this.sub2=void 0);else{const o=t.indexOf(e);-1!==o&&t.splice(o,1)}}notify(e){const t=this.spillover,o=this.subject;if(void 0===t){const t=this.sub1,r=this.sub2;void 0!==t&&t.handleChange(o,e),void 0!==r&&r.handleChange(o,e)}else for(let r=0,a=t.length;r<a;++r)t[r].handleChange(o,e)}}class k{constructor(e){this.subscribers={},this.subjectSubscribers=null,this.subject=e}notify(e){var t,o;null===(t=this.subscribers[e])||void 0===t||t.notify(e),null===(o=this.subjectSubscribers)||void 0===o||o.notify(e)}subscribe(e,t){var o,r;let a;a=t?null!==(o=this.subscribers[t])&&void 0!==o?o:this.subscribers[t]=new y(this.subject):null!==(r=this.subjectSubscribers)&&void 0!==r?r:this.subjectSubscribers=new y(this.subject),a.subscribe(e)}unsubscribe(e,t){var o,r;t?null===(o=this.subscribers[t])||void 0===o||o.unsubscribe(e):null===(r=this.subjectSubscribers)||void 0===r||r.unsubscribe(e)}}const x=Object.freeze({unknown:void 0,coupled:1}),$=s.getById(t.observable,()=>{const e=f.enqueue,t=/(:|&&|\|\||if|\?\.)/,a=new WeakMap;let n=void 0,i=e=>{throw s.error(1101)};function l(e){var t;let o=null!==(t=e.$fastController)&&void 0!==t?t:a.get(e);return void 0===o&&(Array.isArray(e)?o=i(e):a.set(e,o=new k(e))),o}const c=d();class h{constructor(e){this.name=e,this.field="_"+e,this.callback=e+"Changed"}getValue(e){return void 0!==n&&n.watch(e,this.name),e[this.field]}setValue(e,t){const r=this.field,a=e[r];if(a!==t){e[r]=t;const n=e[this.callback];o(n)&&n.call(e,a,t),l(e).notify(this.name)}}}class p extends y{constructor(e,t,o=!1){super(e,t),this.expression=e,this.isVolatileBinding=o,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(e){this.isAsync=this.needsQueue=e}bind(e){this.controller=e;const t=this.observe(e.source,e.context);return!e.isBound&&this.requiresUnbind(e)&&e.onUnbind(this),t}requiresUnbind(e){return e.sourceLifetime!==x.coupled||this.first!==this.last||this.first.propertySource!==e.source}unbind(e){this.dispose()}observe(e,t){this.needsRefresh&&null!==this.last&&this.dispose();const o=n;let r;n=this.needsRefresh?this:void 0,this.needsRefresh=this.isVolatileBinding;try{r=this.expression(e,t)}finally{n=o}return r}disconnect(){this.dispose()}dispose(){if(null!==this.last){let e=this.first;for(;void 0!==e;)e.notifier.unsubscribe(this,e.propertyName),e=e.next;this.last=null,this.needsRefresh=this.needsQueue=this.isAsync}}watch(e,t){const o=this.last,r=l(e),a=null===o?this.first:{};if(a.propertySource=e,a.propertyName=t,a.notifier=r,r.subscribe(this,t),null!==o){if(!this.needsRefresh){let t;n=void 0,t=o.propertySource[o.propertyName],n=this,e===t&&(this.needsRefresh=!0)}o.next=a}this.last=a}handleChange(){this.needsQueue?(this.needsQueue=!1,e(this)):this.isAsync||this.call()}call(){null!==this.last&&(this.needsQueue=this.isAsync,this.notify(this))}*records(){let e=this.first;for(;void 0!==e;)yield e,e=e.next}}return u(p),Object.freeze({setArrayObserverFactory(e){i=e},getNotifier:l,track(e,t){n&&n.watch(e,t)},trackVolatile(){n&&(n.needsRefresh=!0)},notify(e,t){l(e).notify(t)},defineProperty(e,t){r(t)&&(t=new h(t)),c(e).push(t),Reflect.defineProperty(e,t.name,{enumerable:!0,get(){return t.getValue(this)},set(e){t.setValue(this,e)}})},getAccessors:c,binding(e,t,o=this.isVolatileBinding(e)){return new p(e,t,o)},isVolatileBinding:e=>t.test(e.toString())})});function B(e,t){$.defineProperty(e,t)}const w=s.getById(t.contextEvent,()=>{let e=null;return{get:()=>e,set(t){e=t}}}),P=Object.freeze({default:{index:0,length:0,get event(){return P.getEvent()},eventDetail(){return this.event.detail},eventTarget(){return this.event.target}},getEvent:()=>w.get(),setEvent(e){w.set(e)}});class S{constructor(e,t,o=!1){this.evaluate=e,this.policy=t,this.isVolatile=o}}class F extends S{createObserver(e){return $.binding(this.evaluate,e,this.isVolatile)}}function C(e,t,o=$.isVolatileBinding(e)){return new F(e,t,o)}class N extends S{createObserver(){return this}bind(e){return this.evaluate(e.source,e.context)}}function I(e,t){return new N(e,t)}let A;u(N);class T{constructor(e){this.styles=e,this.targets=new WeakSet,this._strategy=null,this.behaviors=e.map(e=>e instanceof T?e.behaviors:null).reduce((e,t)=>null===t?e:null===e?t:e.concat(t),null)}get strategy(){return null===this._strategy&&this.withStrategy(A),this._strategy}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=null===this.behaviors?e:this.behaviors.concat(e),this}withStrategy(e){return this._strategy=new e(function e(t){return t.map(t=>t instanceof T?e(t.styles):[t]).reduce((e,t)=>e.concat(t),[])}(this.styles)),this}static setDefaultStrategy(e){A=e}static normalize(e){return void 0===e?void 0:Array.isArray(e)?new T(e):e instanceof T?e:new T([e])}}T.supportsAdoptedStyleSheets=Array.isArray(document.adoptedStyleSheets)&&"replace"in CSSStyleSheet.prototype;const z=c(),L=Object.freeze({getForInstance:z.getForInstance,getByType:z.getByType,define:e=>(z.register({type:e}),e)});function O(e,t,o){t.source.style.setProperty(e.targetAspect,o.bind(t))}class H{constructor(e,t){this.dataBinding=e,this.targetAspect=t}createCSS(e){return e(this),`var(${this.targetAspect})`}addedCallback(e){var t;const o=e.source;if(!o.$cssBindings){o.$cssBindings=new Map;const e=o.setAttribute;o.setAttribute=(t,r)=>{e.call(o,t,r),"style"===t&&o.$cssBindings.forEach((e,t)=>O(t,e.controller,e.observer))}}const r=null!==(t=e[this.targetAspect])&&void 0!==t?t:e[this.targetAspect]=this.dataBinding.createObserver(this,this);r.controller=e,e.source.$cssBindings.set(this,{controller:e,observer:r})}connectedCallback(e){O(this,e,e[this.targetAspect])}removedCallback(e){e.source.$cssBindings&&e.source.$cssBindings.delete(this)}handleChange(e,t){O(this,t.controller,t)}}L.define(H);const D=""+Math.random().toString(36).substring(2,8);let E=0;const M=()=>`--v${D}${++E}`;function R(e,t){const r=[];let a="";const n=[],i=e=>{n.push(e)};for(let n=0,s=e.length-1;n<s;++n){a+=e[n];let s=t[n];o(s)?s=new H(C(s),M()).createCSS(i):s instanceof S?s=new H(s,M()).createCSS(i):void 0!==L.getForInstance(s)&&(s=s.createCSS(i)),s instanceof T||s instanceof CSSStyleSheet?(""!==a.trim()&&(r.push(a),a=""),r.push(s)):a+=s}return a+=e[e.length-1],""!==a.trim()&&r.push(a),{styles:r,behaviors:n}}const j=(e,...t)=>{const{styles:o,behaviors:r}=R(e,t),a=new T(o);return r.length?a.withBehaviors(...r):a};class V{constructor(e,t){this.behaviors=t,this.css="";const o=e.reduce((e,t)=>(r(t)?this.css+=t:e.push(t),e),[]);o.length&&(this.styles=new T(o))}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)}}L.define(V),j.partial=(e,...t)=>{const{styles:o,behaviors:r}=R(e,t);return new V(o,r)};const _="fast-"+Math.random().toString(36).substring(2,8),G=_+"{",X="}"+_,q=X.length;let W=0;const Y=()=>`${_}-${++W}`,K=Object.freeze({interpolation:e=>`${G}${e}${X}`,attribute:e=>`${Y()}="${G}${e}${X}"`,comment:e=>`\x3c!--${G}${e}${X}--\x3e`}),U=Object.freeze({parse(e,t){const o=e.split(G);if(1===o.length)return null;const r=[];for(let e=0,a=o.length;e<a;++e){const a=o[e],n=a.indexOf(X);let i;if(-1===n)i=a;else{const e=a.substring(0,n);r.push(t[e]),i=a.substring(n+q)}""!==i&&r.push(i)}return r}}),Q=c(),Z=Object.freeze({getForInstance:Q.getForInstance,getByType:Q.getByType,define:(e,t)=>((t=t||{}).type=e,Q.register(t),e),assignAspect(e,t){if(t)switch(e.sourceAspect=t,t[0]){case":":e.targetAspect=t.substring(1),e.aspectType="classList"===e.targetAspect?h.tokenList:h.property;break;case"?":e.targetAspect=t.substring(1),e.aspectType=h.booleanAttribute;break;case"@":e.targetAspect=t.substring(1),e.aspectType=h.event;break;default:e.targetAspect=t,e.aspectType=h.attribute}else e.aspectType=h.content}});class J{constructor(e){this.options=e}createHTML(e){return K.attribute(e(this))}createBehavior(){return this}}u(J);const ee={[h.attribute]:m.setAttribute,[h.booleanAttribute]:m.setBooleanAttribute,[h.property]:(e,t,o)=>e[t]=o,[h.content]:function(e,t,o,r){if(null==o&&(o=""),o.create){e.textContent="";let t=e.$fastView;void 0===t?t=o.create():e.$fastTemplate!==o&&(t.isComposed&&(t.remove(),t.unbind()),t=o.create()),t.isComposed?t.needsBindOnly&&(t.needsBindOnly=!1,t.bind(r.source,r.context)):(t.isComposed=!0,t.bind(r.source,r.context),t.insertBefore(e),e.$fastView=t,e.$fastTemplate=o)}else{const t=e.$fastView;void 0!==t&&t.isComposed&&(t.isComposed=!1,t.remove(),t.needsBindOnly?t.needsBindOnly=!1:t.unbind()),e.textContent=o}},[h.tokenList]:function(e,t,o){var r;const a=this.id+"-t",n=null!==(r=e[a])&&void 0!==r?r:e[a]={v:0,cv:Object.create(null)},i=n.cv;let s=n.v;const l=e[t];if(null!=o&&o.length){const e=o.split(/\s+/);for(let t=0,o=e.length;t<o;++t){const o=e[t];""!==o&&(i[o]=s,l.add(o))}}if(n.v=s+1,0!==s){s-=1;for(const e in i)i[e]===s&&l.remove(e)}},[h.event]:()=>{}};class te{constructor(e){this.dataBinding=e,this.updateTarget=null,this.aspectType=h.content}createHTML(e){return K.interpolation(e(this))}createBehavior(){var e;if(null===this.updateTarget){const t=ee[this.aspectType],o=null!==(e=this.dataBinding.policy)&&void 0!==e?e:this.policy;if(!t)throw s.error(1205);this.data=this.id+"-d",this.updateTarget=o.protect(this.targetTagName,this.aspectType,this.targetAspect,t)}return this}bind(e){var t;const o=e.targets[this.targetNodeId];switch(this.aspectType){case h.event:o[this.data]=e,o.addEventListener(this.targetAspect,this,this.dataBinding.options);break;case h.content:e.onUnbind(this);default:const r=null!==(t=o[this.data])&&void 0!==t?t:o[this.data]=this.dataBinding.createObserver(this,this);r.target=o,r.controller=e,this.updateTarget(o,this.targetAspect,r.bind(e),e)}}unbind(e){const t=e.targets[this.targetNodeId].$fastView;void 0!==t&&t.isComposed&&(t.unbind(),t.needsBindOnly=!0)}handleEvent(e){const t=e.currentTarget[this.data];if(t.isBound){P.setEvent(e);const o=this.dataBinding.evaluate(t.source,t.context);P.setEvent(null),!0!==o&&e.preventDefault()}}handleChange(e,t){const o=t.target,r=t.controller;this.updateTarget(o,this.targetAspect,t.bind(r),r)}}function oe(e,t){const o=e.parentNode;let r,a=e;for(;a!==t;)r=a.nextSibling,o.removeChild(a),a=r;o.removeChild(t)}Z.define(te,{aspected:!0});class re{constructor(e,t,o){this.fragment=e,this.factories=t,this.targets=o,this.behaviors=null,this.unbindables=[],this.source=null,this.isBound=!1,this.sourceLifetime=x.unknown,this.context=this,this.index=0,this.length=0,this.firstChild=e.firstChild,this.lastChild=e.lastChild}get event(){return P.getEvent()}get isEven(){return this.index%2==0}get isOdd(){return this.index%2!=0}get isFirst(){return 0===this.index}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}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 o=e.parentNode;let r,a=this.firstChild;for(;a!==t;)r=a.nextSibling,o.insertBefore(a,e),a=r;o.insertBefore(t,e)}}remove(){const e=this.fragment,t=this.lastChild;let o,r=this.firstChild;for(;r!==t;)o=r.nextSibling,e.appendChild(r),r=o;e.appendChild(t)}dispose(){oe(this.firstChild,this.lastChild),this.unbind()}onUnbind(e){this.unbindables.push(e)}bind(e,t=this){if(this.source===e)return;let o=this.behaviors;if(null===o){this.source=e,this.context=t,this.behaviors=o=new Array(this.factories.length);const r=this.factories;for(let e=0,t=r.length;e<t;++e){const t=r[e].createBehavior();t.bind(this),o[e]=t}}else{null!==this.source&&this.evaluateUnbindables(),this.isBound=!1,this.source=e,this.context=t;for(let e=0,t=o.length;e<t;++e)o[e].bind(this)}this.isBound=!0}unbind(){this.isBound&&null!==this.source&&(this.evaluateUnbindables(),this.source=null,this.context=this,this.isBound=!1)}evaluateUnbindables(){const e=this.unbindables;for(let t=0,o=e.length;t<o;++t)e[t].unbind(this);e.length=0}static disposeContiguousBatch(e){if(0!==e.length){oe(e[0].firstChild,e[e.length-1].lastChild);for(let t=0,o=e.length;t<o;++t)e[t].unbind()}}}u(re),$.defineProperty(re.prototype,"index"),$.defineProperty(re.prototype,"length");const ae=(e,t)=>`${e}.${t}`,ne={},ie={index:0,node:null};function se(e){e.startsWith("fast-")||s.warn(1204,{name:e})}const le=new Proxy(document.createElement("div"),{get(e,t){se(t);const r=Reflect.get(e,t);return o(r)?r.bind(e):r},set:(e,t,o)=>(se(t),Reflect.set(e,t,o))});class ce{constructor(e,t,o){this.fragment=e,this.directives=t,this.policy=o,this.proto=null,this.nodeIds=new Set,this.descriptors={},this.factories=[]}addFactory(e,t,o,r,a){var n,i;this.nodeIds.has(o)||(this.nodeIds.add(o),this.addTargetDescriptor(t,o,r)),e.id=null!==(n=e.id)&&void 0!==n?n:Y(),e.targetNodeId=o,e.targetTagName=a,e.policy=null!==(i=e.policy)&&void 0!==i?i:this.policy,this.factories.push(e)}freeze(){return this.proto=Object.create(null,this.descriptors),this}addTargetDescriptor(e,t,o){const r=this.descriptors;if("r"===t||"h"===t||r[t])return;if(!r[e]){const t=e.lastIndexOf("."),o=e.substring(0,t),r=parseInt(e.substring(t+1));this.addTargetDescriptor(o,e,r)}let a=ne[t];if(!a){const r="_"+t;ne[t]=a={get(){var t;return null!==(t=this[r])&&void 0!==t?t:this[r]=this[e].childNodes[o]}}}r[t]=a}createView(e){const t=this.fragment.cloneNode(!0),o=Object.create(this.proto);o.r=t,o.h=null!=e?e:le;for(const e of this.nodeIds)o[e];return new re(t,this.factories,o)}}function de(e,t,o,r,a,n=!1){const i=o.attributes,s=e.directives;for(let l=0,c=i.length;l<c;++l){const d=i[l],u=d.value,h=U.parse(u,s);let p=null;null===h?n&&(p=new te(I(()=>u,e.policy)),Z.assignAspect(p,d.name)):p=pe.aggregate(h,e.policy),null!==p&&(o.removeAttributeNode(d),l--,c--,e.addFactory(p,t,r,a,o.tagName))}}function ue(e,t,o){let r=0,a=t.firstChild;for(;a;){const t=he(e,o,a,r);a=t.node,r=t.index}}function he(e,t,o,a){const n=ae(t,a);switch(o.nodeType){case 1:de(e,t,o,n,a),ue(e,o,n);break;case 3:return function(e,t,o,a,n){const i=U.parse(t.textContent,e.directives);if(null===i)return ie.node=t.nextSibling,ie.index=n+1,ie;let s,l=s=t;for(let t=0,c=i.length;t<c;++t){const c=i[t];0!==t&&(n++,a=ae(o,n),s=l.parentNode.insertBefore(document.createTextNode(""),l.nextSibling)),r(c)?s.textContent=c:(s.textContent=" ",Z.assignAspect(c),e.addFactory(c,o,a,n,null)),l=s}return ie.index=n+1,ie.node=l.nextSibling,ie}(e,o,t,n,a);case 8:const i=U.parse(o.data,e.directives);null!==i&&e.addFactory(pe.aggregate(i),t,n,a,null)}return ie.index=a+1,ie.node=o.nextSibling,ie}const pe={compile(e,t,o=m.policy){let a;if(r(e)){a=document.createElement("TEMPLATE"),a.innerHTML=o.createHTML(e);const t=a.content.firstElementChild;null!==t&&"TEMPLATE"===t.tagName&&(a=t)}else a=e;a.content.firstChild||a.content.lastChild||a.content.appendChild(document.createComment(""));const n=document.adoptNode(a.content),i=new ce(n,t,o);var s,l;return de(i,"",a,"h",0,!0),s=n.firstChild,l=t,(s&&8==s.nodeType&&null!==U.parse(s.data,l)||1===n.childNodes.length&&Object.keys(t).length>0)&&n.insertBefore(document.createComment(""),n.firstChild),ue(i,n,"r"),ie.node=null,i.freeze()},setDefaultStrategy(e){this.compile=e},aggregate(e,t=m.policy){if(1===e.length)return e[0];let o,a,n=!1,i=void 0;const s=e.length,l=e.map(e=>r(e)?()=>e:(o=e.sourceAspect||o,a=e.dataBinding||a,n=n||e.dataBinding.isVolatile,i=i||e.dataBinding.policy,e.dataBinding.evaluate));a.evaluate=(e,t)=>{let o="";for(let r=0;r<s;++r)o+=l[r](e,t);return o},a.isVolatile=n,a.policy=null!=i?i:t;const c=new te(a);return Z.assignAspect(c,o),c}},ge=/([ \x09\x0a\x0c\x0d])([^\0-\x1F\x7F-\x9F "'>=/]+)([ \x09\x0a\x0c\x0d]*=[ \x09\x0a\x0c\x0d]*(?:[^ \x09\x0a\x0c\x0d"'`<>=]*|"[^"]*|'[^']*))$/,ve=Object.create(null);class be{constructor(e,t=ve){this.html=e,this.factories=t}createHTML(e){const t=this.factories;for(const o in t)e(t[o]);return this.html}}function me(e,t,o,r=Z.getForInstance(e)){if(r.aspected){const o=ge.exec(t);null!==o&&Z.assignAspect(e,o[2])}return e.createHTML(o)}be.empty=new be(""),Z.define(be);class fe{constructor(e,t={},o){this.policy=o,this.result=null,this.html=e,this.factories=t}create(e){return null===this.result&&(this.result=pe.compile(this.html,this.factories,this.policy)),this.result.createView(e)}inline(){return new be(r(this.html)?this.html:this.html.innerHTML,this.factories)}withPolicy(e){if(this.result)throw s.error(1208);if(this.policy)throw s.error(1207);return this.policy=e,this}render(e,t,o){const r=this.create(o);return r.bind(e),r.appendTo(t),r}static create(e,t,r){let a="";const n=Object.create(null),i=e=>{var t;const o=null!==(t=e.id)&&void 0!==t?t:e.id=Y();return n[o]=e,o};for(let r=0,n=e.length-1;r<n;++r){const n=e[r];let s,l=t[r];if(a+=n,o(l))l=new te(C(l));else if(l instanceof S)l=new te(l);else if(!(s=Z.getForInstance(l))){const e=l;l=new te(I(()=>e))}a+=me(l,n,i,s)}return new fe(a+e[e.length-1],n,r)}}u(fe);const ye=(e,...t)=>{if(Array.isArray(e)&&Array.isArray(e.raw))return fe.create(e,t);throw s.error(1206)};ye.partial=e=>new be(e);class ke extends J{bind(e){e.source[this.options]=e.targets[this.targetNodeId]}}Z.define(ke);const xe=e=>new ke(e),$e=()=>null;function Be(e){return void 0===e?$e:o(e)?e:()=>e}function we(e,t,r){const a=o(e)?e:()=>e,n=Be(t),i=Be(r);return(e,t)=>a(e,t)?n(e,t):i(e,t)}const Pe=e=>1===e.nodeType,Se=e=>e?t=>1===t.nodeType&&t.matches(e):Pe;class Fe extends J{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,l),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}}class Ce extends Fe{observe(e){e.addEventListener("slotchange",this)}disconnect(e){e.removeEventListener("slotchange",this)}getNodes(e){return e.assignedNodes(this.options)}handleEvent(e){const t=e.currentTarget;this.updateTarget(this.getSource(t),this.computeNodes(t))}}function Ne(e){return r(e)&&(e={property:e}),new Ce(e)}Z.define(Ce);const Ie=Object.freeze({locate:d()}),Ae={toView:e=>e?"true":"false",fromView:e=>null!=e&&"false"!==e&&!1!==e&&0!==e};function Te(e){if(null==e)return null;const t=1*e;return isNaN(t)?null:t}const ze={toView(e){const t=Te(e);return t?t.toString():t},fromView:Te};class Le{constructor(e,t,o=t.toLowerCase(),r="reflect",a){this.guards=new Set,this.Owner=e,this.name=t,this.attribute=o,this.mode=r,this.converter=a,this.fieldName="_"+t,this.callbackName=t+"Changed",this.hasCallback=this.callbackName in e.prototype,"boolean"===r&&void 0===a&&(this.converter=Ae)}setValue(e,t){const o=e[this.fieldName],r=this.converter;void 0!==r&&(t=r.fromView(t)),o!==t&&(e[this.fieldName]=t,this.tryReflectToAttribute(e),this.hasCallback&&e[this.callbackName](o,t),e.$fastController.notify(this.name))}getValue(e){return $.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,o=this.guards;o.has(e)||"fromView"===t||f.enqueue(()=>{o.add(e);const r=e[this.fieldName];switch(t){case"reflect":const t=this.converter;m.setAttribute(e,this.attribute,void 0!==t?t.toView(r):r);break;case"boolean":m.setBooleanAttribute(e,this.attribute,r)}o.delete(e)})}static collect(e,...t){const o=[];t.push(Ie.locate(e));for(let a=0,n=t.length;a<n;++a){const n=t[a];if(void 0!==n)for(let t=0,a=n.length;t<a;++t){const a=n[t];r(a)?o.push(new Le(e,a)):o.push(new Le(e,a.property,a.attribute,a.mode,a.converter))}}return o}}function Oe(e,t){let o;function r(e,t){arguments.length>1&&(o.property=t),Ie.locate(e.constructor).push(o)}return arguments.length>1?(o={},void r(e,t)):(o=void 0===e?{}:e,r)}const He={mode:"open"},De={},Ee=new Set,Me=s.getById(t.elementRegistry,()=>c());class Re{constructor(e,t=e.definition){var o;this.platformDefined=!1,r(t)&&(t={name:t}),this.type=e,this.name=t.name,this.template=t.template,this.registry=null!==(o=t.registry)&&void 0!==o?o:customElements;const a=e.prototype,n=Le.collect(e,t.attributes),i=new Array(n.length),s={},l={};for(let e=0,t=n.length;e<t;++e){const t=n[e];i[e]=t.attribute,s[t.name]=t,l[t.attribute]=t,$.defineProperty(a,t)}Reflect.defineProperty(e,"observedAttributes",{value:i,enumerable:!0}),this.attributes=n,this.propertyLookup=s,this.attributeLookup=l,this.shadowOptions=void 0===t.shadowOptions?He:null===t.shadowOptions?void 0:Object.assign(Object.assign({},He),t.shadowOptions),this.elementOptions=void 0===t.elementOptions?De:Object.assign(Object.assign({},De),t.elementOptions),this.styles=T.normalize(t.styles),Me.register(this)}get isDefined(){return this.platformDefined}define(e=this.registry){const t=this.type;return e.get(this.name)||(this.platformDefined=!0,e.define(this.name,t,this.elementOptions)),this}static compose(e,t){return Ee.has(e)||Me.getByType(e)?new Re(class extends e{},t):new Re(e,t)}static registerBaseType(e){Ee.add(e)}}Re.getByType=Me.getByType,Re.getForInstance=Me.getForInstance;const je={bubbles:!0,composed:!0,cancelable:!0},Ve=new WeakMap;function _e(e){var t,o;return null!==(o=null!==(t=e.shadowRoot)&&void 0!==t?t:Ve.get(e))&&void 0!==o?o:null}let Ge;class Xe extends k{constructor(e,t){super(e),this.boundObservables=null,this.needsInitialization=!0,this.hasExistingShadowRoot=!1,this._template=null,this.stage=3,this.guardBehaviorConnection=!1,this.behaviors=null,this._mainStyles=null,this.$fastController=this,this.view=null,this.source=e,this.definition=t;const o=t.shadowOptions;if(void 0!==o){let t=e.shadowRoot;t?this.hasExistingShadowRoot=!0:(t=e.attachShadow(o),"closed"===o.mode&&Ve.set(e,t))}const r=$.getAccessors(e);if(r.length>0){const t=this.boundObservables=Object.create(null);for(let o=0,a=r.length;o<a;++o){const a=r[o].name,n=e[a];void 0!==n&&(delete e[a],t[a]=n)}}}get isConnected(){return $.track(this,"isConnected"),1===this.stage}get context(){var e,t;return null!==(t=null===(e=this.view)||void 0===e?void 0:e.context)&&void 0!==t?t:P.default}get isBound(){var e,t;return null!==(t=null===(e=this.view)||void 0===e?void 0:e.isBound)&&void 0!==t&&t}get sourceLifetime(){var e;return null===(e=this.view)||void 0===e?void 0:e.sourceLifetime}get template(){var e;if(null===this._template){const t=this.definition;this.source.resolveTemplate?this._template=this.source.resolveTemplate():t.template&&(this._template=null!==(e=t.template)&&void 0!==e?e:null)}return this._template}set template(e){this._template!==e&&(this._template=e,this.needsInitialization||this.renderTemplate(e))}get mainStyles(){var e;if(null===this._mainStyles){const t=this.definition;this.source.resolveStyles?this._mainStyles=this.source.resolveStyles():t.styles&&(this._mainStyles=null!==(e=t.styles)&&void 0!==e?e:null)}return this._mainStyles}set mainStyles(e){this._mainStyles!==e&&(null!==this._mainStyles&&this.removeStyles(this._mainStyles),this._mainStyles=e,this.needsInitialization||this.addStyles(e))}onUnbind(e){var t;null===(t=this.view)||void 0===t||t.onUnbind(e)}addBehavior(e){var t,o;const r=null!==(t=this.behaviors)&&void 0!==t?t:this.behaviors=new Map,a=null!==(o=r.get(e))&&void 0!==o?o:0;0===a?(r.set(e,1),e.addedCallback&&e.addedCallback(this),!e.connectedCallback||this.guardBehaviorConnection||1!==this.stage&&0!==this.stage||e.connectedCallback(this)):r.set(e,a+1)}removeBehavior(e,t=!1){const o=this.behaviors;if(null===o)return;const r=o.get(e);void 0!==r&&(1===r||t?(o.delete(e),e.disconnectedCallback&&3!==this.stage&&e.disconnectedCallback(this),e.removedCallback&&e.removedCallback(this)):o.set(e,r-1))}addStyles(e){var t;if(!e)return;const o=this.source;if(e instanceof HTMLElement){(null!==(t=_e(o))&&void 0!==t?t:this.source).append(e)}else if(!e.isAttachedTo(o)){const t=e.behaviors;if(e.addStylesTo(o),null!==t)for(let e=0,o=t.length;e<o;++e)this.addBehavior(t[e])}}removeStyles(e){var t;if(!e)return;const o=this.source;if(e instanceof HTMLElement){(null!==(t=_e(o))&&void 0!==t?t:o).removeChild(e)}else if(e.isAttachedTo(o)){const t=e.behaviors;if(e.removeStylesFrom(o),null!==t)for(let e=0,o=t.length;e<o;++e)this.removeBehavior(t[e])}}connect(){if(3!==this.stage)return;if(this.stage=0,null!==this.boundObservables){const e=this.source,t=this.boundObservables,o=Object.keys(t);for(let r=0,a=o.length;r<a;++r){const a=o[r];e[a]=t[a]}this.boundObservables=null}const e=this.behaviors;if(null!==e){this.guardBehaviorConnection=!0;for(const t of e.keys())t.connectedCallback&&t.connectedCallback(this);this.guardBehaviorConnection=!1}this.needsInitialization?(this.renderTemplate(this.template),this.addStyles(this.mainStyles),this.needsInitialization=!1):null!==this.view&&this.view.bind(this.source),this.stage=1,$.notify(this,"isConnected")}disconnect(){if(1!==this.stage)return;this.stage=2,$.notify(this,"isConnected"),null!==this.view&&this.view.unbind();const e=this.behaviors;if(null!==e)for(const t of e.keys())t.disconnectedCallback&&t.disconnectedCallback(this);this.stage=3}onAttributeChangedCallback(e,t,o){const r=this.definition.attributeLookup[e];void 0!==r&&r.onAttributeChangedCallback(this.source,o)}emit(e,t,o){return 1===this.stage&&this.source.dispatchEvent(new CustomEvent(e,Object.assign(Object.assign({detail:t},je),o)))}renderTemplate(e){var t;const o=this.source,r=null!==(t=_e(o))&&void 0!==t?t:o;if(null!==this.view)this.view.dispose(),this.view=null;else if(!this.needsInitialization||this.hasExistingShadowRoot){this.hasExistingShadowRoot=!1;for(let e=r.firstChild;null!==e;e=r.firstChild)r.removeChild(e)}e&&(this.view=e.render(o,r,o),this.view.sourceLifetime=x.coupled)}static forCustomElement(e){const t=e.$fastController;if(void 0!==t)return t;const o=Re.getForInstance(e);if(void 0===o)throw s.error(1401);return e.$fastController=new Ge(e,o)}static setStrategy(e){Ge=e}}function qe(e){var t;return"adoptedStyleSheets"in e?e:null!==(t=_e(e))&&void 0!==t?t:e.getRootNode()}u(Xe),Xe.setStrategy(Xe);class We{constructor(e){const t=We.styleSheetCache;this.sheets=e.map(e=>{if(e instanceof CSSStyleSheet)return e;let o=t.get(e);return void 0===o&&(o=new CSSStyleSheet,o.replaceSync(e),t.set(e,o)),o})}addStylesTo(e){Qe(qe(e),this.sheets)}removeStylesFrom(e){Ze(qe(e),this.sheets)}}We.styleSheetCache=new Map;let Ye=0;function Ke(e){return e===document?document.body:e}class Ue{constructor(e){this.styles=e,this.styleClass="fast-"+ ++Ye}addStylesTo(e){e=Ke(qe(e));const t=this.styles,o=this.styleClass;for(let r=0;r<t.length;r++){const a=document.createElement("style");a.innerHTML=t[r],a.className=o,e.append(a)}}removeStylesFrom(e){const t=(e=Ke(qe(e))).querySelectorAll("."+this.styleClass);for(let o=0,r=t.length;o<r;++o)e.removeChild(t[o])}}let Qe=(e,t)=>{e.adoptedStyleSheets=[...e.adoptedStyleSheets,...t]},Ze=(e,t)=>{e.adoptedStyleSheets=e.adoptedStyleSheets.filter(e=>-1===t.indexOf(e))};if(T.supportsAdoptedStyleSheets){try{document.adoptedStyleSheets.push(),document.adoptedStyleSheets.splice(),Qe=(e,t)=>{e.adoptedStyleSheets.push(...t)},Ze=(e,t)=>{for(const o of t){const t=e.adoptedStyleSheets.indexOf(o);-1!==t&&e.adoptedStyleSheets.splice(t,1)}}}catch(ch){}T.setDefaultStrategy(We)}else T.setDefaultStrategy(Ue);function Je(e){const t=class extends e{constructor(){super(),Xe.forCustomElement(this)}$emit(e,t,o){return this.$fastController.emit(e,t,o)}connectedCallback(){this.$fastController.connect()}disconnectedCallback(){this.$fastController.disconnect()}attributeChangedCallback(e,t,o){this.$fastController.onAttributeChangedCallback(e,t,o)}};return Re.registerBaseType(t),t}const et=Object.assign(Je(HTMLElement),{from:function(e){return Je(e)},define:function(e,t){return o(e)?Re.compose(e,t).define().type:Re.compose(this,e).define().type},compose:function(e,t){return o(e)?Re.compose(e,t):Re.compose(this,e)}}),tt={horizontal:"horizontal",vertical:"vertical"};function ot(...e){return e.every(e=>e instanceof HTMLElement)}const rt={ArrowDown:"ArrowDown",ArrowLeft:"ArrowLeft",ArrowRight:"ArrowRight",ArrowUp:"ArrowUp"};var at;function nt(e,t,o){return Math.min(Math.max(o,e),t)}!function(e){e.ltr="ltr",e.rtl="rtl"}(at||(at={}));let it=0;function st(e=""){return`${e}${it++}`}var lt=Object.defineProperty,ct=Object.getOwnPropertyDescriptor,dt=(e,t,o,r)=>{for(var a,n=r>1?void 0:r?ct(t,o):t,i=e.length-1;i>=0;i--)(a=e[i])&&(n=(r?a(t,o,n):a(n))||n);return r&&n&&lt(t,o,n),n};class ut{}dt([Oe({attribute:"aria-atomic"})],ut.prototype,"ariaAtomic",2),dt([Oe({attribute:"aria-busy"})],ut.prototype,"ariaBusy",2),dt([Oe({attribute:"aria-controls"})],ut.prototype,"ariaControls",2),dt([Oe({attribute:"aria-current"})],ut.prototype,"ariaCurrent",2),dt([Oe({attribute:"aria-describedby"})],ut.prototype,"ariaDescribedby",2),dt([Oe({attribute:"aria-details"})],ut.prototype,"ariaDetails",2),dt([Oe({attribute:"aria-disabled"})],ut.prototype,"ariaDisabled",2),dt([Oe({attribute:"aria-errormessage"})],ut.prototype,"ariaErrormessage",2),dt([Oe({attribute:"aria-flowto"})],ut.prototype,"ariaFlowto",2),dt([Oe({attribute:"aria-haspopup"})],ut.prototype,"ariaHaspopup",2),dt([Oe({attribute:"aria-hidden"})],ut.prototype,"ariaHidden",2),dt([Oe({attribute:"aria-invalid"})],ut.prototype,"ariaInvalid",2),dt([Oe({attribute:"aria-keyshortcuts"})],ut.prototype,"ariaKeyshortcuts",2),dt([Oe({attribute:"aria-label"})],ut.prototype,"ariaLabel",2),dt([Oe({attribute:"aria-labelledby"})],ut.prototype,"ariaLabelledby",2),dt([Oe({attribute:"aria-live"})],ut.prototype,"ariaLive",2),dt([Oe({attribute:"aria-owns"})],ut.prototype,"ariaOwns",2),dt([Oe({attribute:"aria-relevant"})],ut.prototype,"ariaRelevant",2),dt([Oe({attribute:"aria-roledescription"})],ut.prototype,"ariaRoledescription",2);const ht=e=>{var t;return"rtl"===(null==(t=e.closest("[dir]"))?void 0:t.dir)?at.rtl:at.ltr};function pt(e){return e?"string"==typeof e?new be(e):"inline"in e?e.inline():e:be.empty}const gt=e=>{var t;return e.nodeType!==Node.TEXT_NODE||!!(null==(t=e.nodeValue)?void 0:t.trim().length)},vt=":host([hidden]){display:none}";function bt(e){return`${vt}:host{display:${e}}`}class mt{constructor(e){this.listenerCache=new WeakMap,this.query=e}connectedCallback(e){const{query:t}=this;let o=this.listenerCache.get(e);o||(o=this.constructListener(e),this.listenerCache.set(e,o)),o.bind(t)(),t.addEventListener("change",o)}disconnectedCallback(e){const t=this.listenerCache.get(e);t&&this.query.removeEventListener("change",t)}}class ft extends mt{constructor(e,t){super(e),this.styles=t}static with(e){return t=>new ft(e,t)}constructListener(e){let t=!1;const o=this.styles;return function(){const{matches:r}=this;r&&!t?(e.addStyles(o),t=r):!r&&t&&(e.removeStyles(o),t=r)}}removedCallback(e){e.removeStyles(this.styles)}}const yt=ft.with(window.matchMedia("(forced-colors)")),kt=ft.with(window.matchMedia("(prefers-color-scheme: dark)")),xt=ft.with(window.matchMedia("(prefers-color-scheme: light)"));class $t{}function Bt(e){return ye`<slot name="end" ${xe("end")}>${pt(e.end)}</slot>`.inline()}function wt(e){return ye`<slot name="start" ${xe("start")}>${pt(e.start)}</slot>`.inline()}function Pt(e,...t){const o=Ie.locate(e);t.forEach(t=>{Object.getOwnPropertyNames(t.prototype).forEach(o=>{"constructor"!==o&&Object.defineProperty(e.prototype,o,Object.getOwnPropertyDescriptor(t.prototype,o))});Ie.locate(t).forEach(e=>o.push(e))})}var St=Object.defineProperty,Ft=Object.getOwnPropertyDescriptor,Ct=(e,t,o,r)=>{for(var a,n=r>1?void 0:r?Ft(t,o):t,i=e.length-1;i>=0;i--)(a=e[i])&&(n=(r?a(t,o,n):a(n))||n);return r&&n&&St(t,o,n),n};class Nt extends et{constructor(){super(...arguments),this.headinglevel=2,this.expanded=!1,this.disabled=!1,this.id=st("accordion-"),this.block=!1,this.clickHandler=e=>{this.disabled||this.$emit("click",e)}}}Ct([Oe({attribute:"heading-level",mode:"fromView",converter:ze})],Nt.prototype,"headinglevel",2),Ct([Oe({mode:"boolean"})],Nt.prototype,"expanded",2),Ct([Oe({mode:"boolean"})],Nt.prototype,"disabled",2),Ct([Oe],Nt.prototype,"id",2),Ct([Oe],Nt.prototype,"size",2),Ct([Oe({mode:"boolean"})],Nt.prototype,"block",2),Ct([Oe({attribute:"expand-icon-position"})],Nt.prototype,"expandIconPosition",2),Pt(Nt,$t);const It="single",At="multi";var Tt=Object.defineProperty,zt=Object.getOwnPropertyDescriptor,Lt=(e,t,o,r)=>{for(var a,n=r>1?void 0:r?zt(t,o):t,i=e.length-1;i>=0;i--)(a=e[i])&&(n=(r?a(t,o,n):a(n))||n);return r&&n&&Tt(t,o,n),n};class Ot extends et{constructor(){super(...arguments),this.expandmode=At,this.activeItemIndex=0,this.change=()=>{this.$emit("change",this.activeid)},this.setItems=()=>{if(0===this.slottedAccordionItems.length)return;const e=Array.from(this.children);if(this.removeItemListeners(e),e.forEach(e=>$.getNotifier(e).subscribe(this,"disabled")),this.accordionItems=e.filter(e=>!e.hasAttribute("disabled")),this.accordionIds=this.getItemIds(),this.accordionItems.forEach((e,t)=>{e instanceof Nt&&(e.addEventListener("click",this.activeItemChange),e.addEventListener("keydown",this.handleItemKeyDown),e.addEventListener("focus",this.handleItemFocus),$.getNotifier(e).subscribe(this,"expanded"));const o=this.accordionIds[t];e.setAttribute("id","string"!=typeof o?"accordion-"+(t+1):o),this.activeid=this.accordionIds[this.activeItemIndex]}),this.isSingleExpandMode()){const e=this.findExpandedItem();this.setSingleExpandMode(e)}},this.removeItemListeners=e=>{e.forEach((e,t)=>{$.getNotifier(e).unsubscribe(this,"disabled"),$.getNotifier(e).unsubscribe(this,"expanded"),e.removeEventListener("click",this.activeItemChange),e.removeEventListener("keydown",this.handleItemKeyDown),e.removeEventListener("focus",this.handleItemFocus)})},this.activeItemChange=e=>{e.defaultPrevented||e.target!==e.currentTarget||(e.preventDefault(),this.handleExpandedChange(e.target))},this.handleExpandedChange=e=>{e instanceof Nt&&(this.activeid=e.getAttribute("id"),this.isSingleExpandMode()?this.setSingleExpandMode(e):(e.expanded=!e.expanded,this.activeItemIndex=this.accordionItems.indexOf(e)),this.change())},this.handleItemKeyDown=e=>{if(e.target===e.currentTarget)switch(this.accordionIds=this.getItemIds(),e.key){case"ArrowUp":e.preventDefault(),this.adjust(-1);break;case"ArrowDown":e.preventDefault(),this.adjust(1);break;case"Home":this.activeItemIndex=0,this.focusItem();break;case"End":this.activeItemIndex=this.accordionItems.length-1,this.focusItem()}},this.handleItemFocus=e=>{if(e.target===e.currentTarget){const t=e.target,o=this.activeItemIndex=Array.from(this.accordionItems).indexOf(t);this.activeItemIndex!==o&&-1!==o&&(this.activeItemIndex=o,this.activeid=this.accordionIds[this.activeItemIndex])}}}expandmodeChanged(e,t){if(!this.$fastController.isConnected)return;const o=this.findExpandedItem();o&&(t!==It?null==o||o.expandbutton.removeAttribute("aria-disabled"):this.setSingleExpandMode(o))}slottedAccordionItemsChanged(e,t){this.$fastController.isConnected&&this.setItems()}handleChange(e,t){"disabled"===t?this.setItems():"expanded"===t&&e.expanded&&this.isSingleExpandMode()&&this.setSingleExpandMode(e)}findExpandedItem(){var e;return 0===this.accordionItems.length?null:null!=(e=this.accordionItems.find(e=>e instanceof Nt&&e.expanded))?e:this.accordionItems[0]}setSingleExpandMode(e){if(0===this.accordionItems.length)return;const t=Array.from(this.accordionItems);this.activeItemIndex=t.indexOf(e),t.forEach((e,t)=>{e instanceof Nt&&(this.activeItemIndex===t?(e.expanded=!0,e.expandbutton.setAttribute("aria-disabled","true")):(e.expanded=!1,e.hasAttribute("disabled")||e.expandbutton.removeAttribute("aria-disabled")))})}getItemIds(){return this.slottedAccordionItems.map(e=>e.id)}isSingleExpandMode(){return this.expandmode===It}adjust(e){var t,o,r;this.activeItemIndex=(t=0,o=this.accordionItems.length-1,(r=this.activeItemIndex+e)<t?o:r>o?t:r),this.focusItem()}focusItem(){const e=this.accordionItems[this.activeItemIndex];e instanceof Nt&&e.expandbutton.focus()}}Lt([Oe({attribute:"expand-mode"})],Ot.prototype,"expandmode",2),Lt([B],Ot.prototype,"slottedAccordionItems",2);const Ht=ye`<template><slot ${Ne({property:"slottedAccordionItems",filter:Se()})}></slot></template>`,Dt=j`
2
- ${bt("flex")}
3
-
4
- :host{flex-direction:column;width:100%;contain:content}`,Et=Object.freeze({prefix:"fluent",shadowRootMode:"open",registry:customElements}),Mt=Ot.compose({name:Et.prefix+"-accordion",template:Ht,styles:Dt}),Rt={small:"small",medium:"medium",large:"large",extraLarge:"extra-large"},jt={start:"start",end:"end"},Vt="var(--colorNeutralForeground1)",_t="var(--colorNeutralForeground1Hover)",Gt="var(--colorNeutralForeground1Pressed)",Xt="var(--colorNeutralForeground1Selected)",qt="var(--colorNeutralForeground2)",Wt="var(--colorNeutralForeground2Hover)",Yt="var(--colorNeutralForeground2Pressed)",Kt="var(--colorNeutralForeground2Selected)",Ut="var(--colorNeutralForeground2BrandHover)",Qt="var(--colorNeutralForeground2BrandPressed)",Zt="var(--colorNeutralForeground2BrandSelected)",Jt="var(--colorNeutralForeground3)",eo="var(--colorNeutralForeground3Hover)",to="var(--colorNeutralForeground3Pressed)",oo="var(--colorNeutralForeground3Selected)",ro="var(--colorNeutralForeground3BrandHover)",ao="var(--colorNeutralForeground3BrandPressed)",no="var(--colorNeutralForeground3BrandSelected)",io="var(--colorNeutralForeground4)",so="var(--colorNeutralForegroundDisabled)",lo="var(--colorBrandForegroundLink)",co="var(--colorBrandForegroundLinkHover)",uo="var(--colorBrandForegroundLinkPressed)",ho="var(--colorBrandForegroundLinkSelected)",po="var(--colorNeutralForeground2Link)",go="var(--colorNeutralForeground2LinkHover)",vo="var(--colorNeutralForeground2LinkPressed)",bo="var(--colorNeutralForeground2LinkSelected)",mo="var(--colorCompoundBrandForeground1)",fo="var(--colorCompoundBrandForeground1Hover)",yo="var(--colorCompoundBrandForeground1Pressed)",ko="var(--colorNeutralForegroundOnBrand)",xo="var(--colorNeutralForegroundInverted)",$o="var(--colorNeutralForegroundInvertedHover)",Bo="var(--colorNeutralForegroundInvertedPressed)",wo="var(--colorNeutralForegroundInvertedSelected)",Po="var(--colorNeutralForegroundInverted2)",So="var(--colorNeutralForegroundStaticInverted)",Fo="var(--colorNeutralForegroundInvertedLink)",Co="var(--colorNeutralForegroundInvertedLinkHover)",No="var(--colorNeutralForegroundInvertedLinkPressed)",Io="var(--colorNeutralForegroundInvertedLinkSelected)",Ao="var(--colorNeutralForegroundInvertedDisabled)",To="var(--colorBrandForeground1)",zo="var(--colorBrandForeground2)",Lo="var(--colorNeutralForeground1Static)",Oo="var(--colorBrandForegroundInverted)",Ho="var(--colorBrandForegroundInvertedHover)",Do="var(--colorBrandForegroundInvertedPressed)",Eo="var(--colorBrandForegroundOnLight)",Mo="var(--colorBrandForegroundOnLightHover)",Ro="var(--colorBrandForegroundOnLightPressed)",jo="var(--colorBrandForegroundOnLightSelected)",Vo="var(--colorNeutralBackground1)",_o="var(--colorNeutralBackground1Hover)",Go="var(--colorNeutralBackground1Pressed)",Xo="var(--colorNeutralBackground1Selected)",qo="var(--colorNeutralBackground2)",Wo="var(--colorNeutralBackground2Hover)",Yo="var(--colorNeutralBackground2Pressed)",Ko="var(--colorNeutralBackground2Selected)",Uo="var(--colorNeutralBackground3)",Qo="var(--colorNeutralBackground3Hover)",Zo="var(--colorNeutralBackground3Pressed)",Jo="var(--colorNeutralBackground3Selected)",er="var(--colorNeutralBackground4)",tr="var(--colorNeutralBackground4Hover)",or="var(--colorNeutralBackground4Pressed)",rr="var(--colorNeutralBackground4Selected)",ar="var(--colorNeutralBackground5)",nr="var(--colorNeutralBackground5Hover)",ir="var(--colorNeutralBackground5Pressed)",sr="var(--colorNeutralBackground5Selected)",lr="var(--colorNeutralBackground6)",cr="var(--colorNeutralBackgroundStatic)",dr="var(--colorNeutralBackgroundInverted)",ur="var(--colorSubtleBackground)",hr="var(--colorSubtleBackgroundHover)",pr="var(--colorSubtleBackgroundPressed)",gr="var(--colorSubtleBackgroundSelected)",vr="var(--colorSubtleBackgroundLightAlphaHover)",br="var(--colorSubtleBackgroundLightAlphaPressed)",mr="var(--colorSubtleBackgroundLightAlphaSelected)",fr="var(--colorSubtleBackgroundInverted)",yr="var(--colorSubtleBackgroundInvertedHover)",kr="var(--colorSubtleBackgroundInvertedPressed)",xr="var(--colorSubtleBackgroundInvertedSelected)",$r="var(--colorTransparentBackground)",Br="var(--colorTransparentBackgroundHover)",wr="var(--colorTransparentBackgroundPressed)",Pr="var(--colorTransparentBackgroundSelected)",Sr="var(--colorNeutralBackgroundDisabled)",Fr="var(--colorNeutralBackgroundInvertedDisabled)",Cr="var(--colorNeutralStencil1)",Nr="var(--colorNeutralStencil2)",Ir="var(--colorNeutralStencil1Alpha)",Ar="var(--colorNeutralStencil2Alpha)",Tr="var(--colorBackgroundOverlay)",zr="var(--colorScrollbarOverlay)",Lr="var(--colorBrandBackground)",Or="var(--colorBrandBackgroundHover)",Hr="var(--colorBrandBackgroundPressed)",Dr="var(--colorBrandBackgroundSelected)",Er="var(--colorCompoundBrandBackground)",Mr="var(--colorCompoundBrandBackgroundHover)",Rr="var(--colorCompoundBrandBackgroundPressed)",jr="var(--colorBrandBackgroundStatic)",Vr="var(--colorBrandBackground2)",_r="var(--colorBrandBackgroundInverted)",Gr="var(--colorBrandBackgroundInvertedHover)",Xr="var(--colorBrandBackgroundInvertedPressed)",qr="var(--colorBrandBackgroundInvertedSelected)",Wr="var(--colorNeutralStrokeAccessible)",Yr="var(--colorNeutralStrokeAccessibleHover)",Kr="var(--colorNeutralStrokeAccessiblePressed)",Ur="var(--colorNeutralStrokeAccessibleSelected)",Qr="var(--colorNeutralStroke1)",Zr="var(--colorNeutralStroke1Hover)",Jr="var(--colorNeutralStroke1Pressed)",ea="var(--colorNeutralStroke1Selected)",ta="var(--colorNeutralStroke2)",oa="var(--colorNeutralStroke3)",ra="var(--colorNeutralStrokeOnBrand)",aa="var(--colorNeutralStrokeOnBrand2)",na="var(--colorNeutralStrokeOnBrand2Hover)",ia="var(--colorNeutralStrokeOnBrand2Pressed)",sa="var(--colorNeutralStrokeOnBrand2Selected)",la="var(--colorBrandStroke1)",ca="var(--colorBrandStroke2)",da="var(--colorCompoundBrandStroke)",ua="var(--colorCompoundBrandStrokeHover)",ha="var(--colorCompoundBrandStrokePressed)",pa="var(--colorNeutralStrokeDisabled)",ga="var(--colorNeutralStrokeInvertedDisabled)",va="var(--colorTransparentStroke)",ba="var(--colorTransparentStrokeInteractive)",ma="var(--colorTransparentStrokeDisabled)",fa="var(--colorStrokeFocus1)",ya="var(--colorStrokeFocus2)",ka="var(--colorNeutralShadowAmbient)",xa="var(--colorNeutralShadowKey)",$a="var(--colorNeutralShadowAmbientLighter)",Ba="var(--colorNeutralShadowKeyLighter)",wa="var(--colorNeutralShadowAmbientDarker)",Pa="var(--colorNeutralShadowKeyDarker)",Sa="var(--colorBrandShadowAmbient)",Fa="var(--colorBrandShadowKey)",Ca="var(--colorPaletteRedBackground1)",Na="var(--colorPaletteRedBackground2)",Ia="var(--colorPaletteRedBackground3)",Aa="var(--colorPaletteRedBorderActive)",Ta="var(--colorPaletteRedBorder1)",za="var(--colorPaletteRedBorder2)",La="var(--colorPaletteRedForeground1)",Oa="var(--colorPaletteRedForeground2)",Ha="var(--colorPaletteRedForeground3)",Da="var(--colorPaletteRedForegroundInverted)",Ea="var(--colorPaletteGreenBackground1)",Ma="var(--colorPaletteGreenBackground2)",Ra="var(--colorPaletteGreenBackground3)",ja="var(--colorPaletteGreenBorderActive)",Va="var(--colorPaletteGreenBorder1)",_a="var(--colorPaletteGreenBorder2)",Ga="var(--colorPaletteGreenForeground1)",Xa="var(--colorPaletteGreenForeground2)",qa="var(--colorPaletteGreenForeground3)",Wa="var(--colorPaletteGreenForegroundInverted)",Ya="var(--colorPaletteDarkOrangeBackground1)",Ka="var(--colorPaletteDarkOrangeBackground2)",Ua="var(--colorPaletteDarkOrangeBackground3)",Qa="var(--colorPaletteDarkOrangeBorderActive)",Za="var(--colorPaletteDarkOrangeBorder1)",Ja="var(--colorPaletteDarkOrangeBorder2)",en="var(--colorPaletteDarkOrangeForeground1)",tn="var(--colorPaletteDarkOrangeForeground2)",on="var(--colorPaletteDarkOrangeForeground3)",rn="var(--colorPaletteYellowBackground1)",an="var(--colorPaletteYellowBackground2)",nn="var(--colorPaletteYellowBackground3)",sn="var(--colorPaletteYellowBorderActive)",ln="var(--colorPaletteYellowBorder1)",cn="var(--colorPaletteYellowBorder2)",dn="var(--colorPaletteYellowForeground1)",un="var(--colorPaletteYellowForeground2)",hn="var(--colorPaletteYellowForeground3)",pn="var(--colorPaletteYellowForegroundInverted)",gn="var(--colorPaletteBerryBackground1)",vn="var(--colorPaletteBerryBackground2)",bn="var(--colorPaletteBerryBackground3)",mn="var(--colorPaletteBerryBorderActive)",fn="var(--colorPaletteBerryBorder1)",yn="var(--colorPaletteBerryBorder2)",kn="var(--colorPaletteBerryForeground1)",xn="var(--colorPaletteBerryForeground2)",$n="var(--colorPaletteBerryForeground3)",Bn="var(--colorPaletteMarigoldBackground1)",wn="var(--colorPaletteMarigoldBackground2)",Pn="var(--colorPaletteMarigoldBackground3)",Sn="var(--colorPaletteMarigoldBorderActive)",Fn="var(--colorPaletteMarigoldBorder1)",Cn="var(--colorPaletteMarigoldBorder2)",Nn="var(--colorPaletteMarigoldForeground1)",In="var(--colorPaletteMarigoldForeground2)",An="var(--colorPaletteMarigoldForeground3)",Tn="var(--colorPaletteLightGreenBackground1)",zn="var(--colorPaletteLightGreenBackground2)",Ln="var(--colorPaletteLightGreenBackground3)",On="var(--colorPaletteLightGreenBorderActive)",Hn="var(--colorPaletteLightGreenBorder1)",Dn="var(--colorPaletteLightGreenBorder2)",En="var(--colorPaletteLightGreenForeground1)",Mn="var(--colorPaletteLightGreenForeground2)",Rn="var(--colorPaletteLightGreenForeground3)",jn="var(--colorPaletteAnchorBackground2)",Vn="var(--colorPaletteAnchorBorderActive)",_n="var(--colorPaletteAnchorForeground2)",Gn="var(--colorPaletteBeigeBackground2)",Xn="var(--colorPaletteBeigeBorderActive)",qn="var(--colorPaletteBeigeForeground2)",Wn="var(--colorPaletteBlueBackground2)",Yn="var(--colorPaletteBlueBorderActive)",Kn="var(--colorPaletteBlueForeground2)",Un="var(--colorPaletteBrassBackground2)",Qn="var(--colorPaletteBrassBorderActive)",Zn="var(--colorPaletteBrassForeground2)",Jn="var(--colorPaletteBrownBackground2)",ei="var(--colorPaletteBrownBorderActive)",ti="var(--colorPaletteBrownForeground2)",oi="var(--colorPaletteCornflowerBackground2)",ri="var(--colorPaletteCornflowerBorderActive)",ai="var(--colorPaletteCornflowerForeground2)",ni="var(--colorPaletteCranberryBackground2)",ii="var(--colorPaletteCranberryBorderActive)",si="var(--colorPaletteCranberryForeground2)",li="var(--colorPaletteDarkGreenBackground2)",ci="var(--colorPaletteDarkGreenBorderActive)",di="var(--colorPaletteDarkGreenForeground2)",ui="var(--colorPaletteDarkRedBackground2)",hi="var(--colorPaletteDarkRedBorderActive)",pi="var(--colorPaletteDarkRedForeground2)",gi="var(--colorPaletteForestBackground2)",vi="var(--colorPaletteForestBorderActive)",bi="var(--colorPaletteForestForeground2)",mi="var(--colorPaletteGoldBackground2)",fi="var(--colorPaletteGoldBorderActive)",yi="var(--colorPaletteGoldForeground2)",ki="var(--colorPaletteGrapeBackground2)",xi="var(--colorPaletteGrapeBorderActive)",$i="var(--colorPaletteGrapeForeground2)",Bi="var(--colorPaletteLavenderBackground2)",wi="var(--colorPaletteLavenderBorderActive)",Pi="var(--colorPaletteLavenderForeground2)",Si="var(--colorPaletteLightTealBackground2)",Fi="var(--colorPaletteLightTealBorderActive)",Ci="var(--colorPaletteLightTealForeground2)",Ni="var(--colorPaletteLilacBackground2)",Ii="var(--colorPaletteLilacBorderActive)",Ai="var(--colorPaletteLilacForeground2)",Ti="var(--colorPaletteMagentaBackground2)",zi="var(--colorPaletteMagentaBorderActive)",Li="var(--colorPaletteMagentaForeground2)",Oi="var(--colorPaletteMinkBackground2)",Hi="var(--colorPaletteMinkBorderActive)",Di="var(--colorPaletteMinkForeground2)",Ei="var(--colorPaletteNavyBackground2)",Mi="var(--colorPaletteNavyBorderActive)",Ri="var(--colorPaletteNavyForeground2)",ji="var(--colorPalettePeachBackground2)",Vi="var(--colorPalettePeachBorderActive)",_i="var(--colorPalettePeachForeground2)",Gi="var(--colorPalettePinkBackground2)",Xi="var(--colorPalettePinkBorderActive)",qi="var(--colorPalettePinkForeground2)",Wi="var(--colorPalettePlatinumBackground2)",Yi="var(--colorPalettePlatinumBorderActive)",Ki="var(--colorPalettePlatinumForeground2)",Ui="var(--colorPalettePlumBackground2)",Qi="var(--colorPalettePlumBorderActive)",Zi="var(--colorPalettePlumForeground2)",Ji="var(--colorPalettePumpkinBackground2)",es="var(--colorPalettePumpkinBorderActive)",ts="var(--colorPalettePumpkinForeground2)",os="var(--colorPalettePurpleBackground2)",rs="var(--colorPalettePurpleBorderActive)",as="var(--colorPalettePurpleForeground2)",ns="var(--colorPaletteRoyalBlueBackground2)",is="var(--colorPaletteRoyalBlueBorderActive)",ss="var(--colorPaletteRoyalBlueForeground2)",ls="var(--colorPaletteSeafoamBackground2)",cs="var(--colorPaletteSeafoamBorderActive)",ds="var(--colorPaletteSeafoamForeground2)",us="var(--colorPaletteSteelBackground2)",hs="var(--colorPaletteSteelBorderActive)",ps="var(--colorPaletteSteelForeground2)",gs="var(--colorPaletteTealBackground2)",vs="var(--colorPaletteTealBorderActive)",bs="var(--colorPaletteTealForeground2)",ms="var(--borderRadiusNone)",fs="var(--borderRadiusSmall)",ys="var(--borderRadiusMedium)",ks="var(--borderRadiusLarge)",xs="var(--borderRadiusXLarge)",$s="var(--borderRadiusCircular)",Bs="var(--fontFamilyBase)",ws="var(--fontFamilyMonospace)",Ps="var(--fontFamilyNumeric)",Ss="var(--fontSizeBase100)",Fs="var(--fontSizeBase200)",Cs="var(--fontSizeBase300)",Ns="var(--fontSizeBase400)",Is="var(--fontSizeBase500)",As="var(--fontSizeBase600)",Ts="var(--fontSizeHero700)",zs="var(--fontSizeHero800)",Ls="var(--fontSizeHero900)",Os="var(--fontSizeHero1000)",Hs="var(--fontWeightRegular)",Ds="var(--fontWeightMedium)",Es="var(--fontWeightSemibold)",Ms="var(--fontWeightBold)",Rs="var(--lineHeightBase100)",js="var(--lineHeightBase200)",Vs="var(--lineHeightBase300)",_s="var(--lineHeightBase400)",Gs="var(--lineHeightBase500)",Xs="var(--lineHeightBase600)",qs="var(--lineHeightHero700)",Ws="var(--lineHeightHero800)",Ys="var(--lineHeightHero900)",Ks="var(--lineHeightHero1000)",Us="var(--shadow2)",Qs="var(--shadow4)",Zs="var(--shadow8)",Js="var(--shadow16)",el="var(--shadow28)",tl="var(--shadow64)",ol="var(--shadow2Brand)",rl="var(--shadow4Brand)",al="var(--shadow8Brand)",nl="var(--shadow16Brand)",il="var(--shadow28Brand)",sl="var(--shadow64Brand)",ll="var(--strokeWidthThin)",cl="var(--strokeWidthThick)",dl="var(--strokeWidthThicker)",ul="var(--strokeWidthThickest)",hl="var(--spacingHorizontalNone)",pl="var(--spacingHorizontalXXS)",gl="var(--spacingHorizontalXS)",vl="var(--spacingHorizontalSNudge)",bl="var(--spacingHorizontalS)",ml="var(--spacingHorizontalMNudge)",fl="var(--spacingHorizontalM)",yl="var(--spacingHorizontalL)",kl="var(--spacingHorizontalXL)",xl="var(--spacingHorizontalXXL)",$l="var(--spacingHorizontalXXXL)",Bl="var(--spacingVerticalNone)",wl="var(--spacingVerticalXXS)",Pl="var(--spacingVerticalXS)",Sl="var(--spacingVerticalSNudge)",Fl="var(--spacingVerticalS)",Cl="var(--spacingVerticalMNudge)",Nl="var(--spacingVerticalM)",Il="var(--spacingVerticalL)",Al="var(--spacingVerticalXL)",Tl="var(--spacingVerticalXXL)",zl="var(--spacingVerticalXXXL)",Ll="var(--durationUltraFast)",Ol="var(--durationFaster)",Hl="var(--durationFast)",Dl="var(--durationNormal)",El="var(--durationSlow)",Ml="var(--durationSlower)",Rl="var(--durationUltraSlow)",jl="var(--curveAccelerateMax)",Vl="var(--curveAccelerateMid)",_l="var(--curveAccelerateMin)",Gl="var(--curveDecelerateMax)",Xl="var(--curveDecelerateMid)",ql="var(--curveDecelerateMin)",Wl="var(--curveEasyEaseMax)",Yl="var(--curveEasyEase)",Kl="var(--curveLinear)";var Ul=Object.freeze({__proto__:null,colorNeutralForeground1:Vt,colorNeutralForeground1Hover:"var(--colorNeutralForeground1Hover)",colorNeutralForeground1Pressed:"var(--colorNeutralForeground1Pressed)",colorNeutralForeground1Selected:"var(--colorNeutralForeground1Selected)",colorNeutralForeground2:qt,colorNeutralForeground2Hover:"var(--colorNeutralForeground2Hover)",colorNeutralForeground2Pressed:"var(--colorNeutralForeground2Pressed)",colorNeutralForeground2Selected:"var(--colorNeutralForeground2Selected)",colorNeutralForeground2BrandHover:"var(--colorNeutralForeground2BrandHover)",colorNeutralForeground2BrandPressed:"var(--colorNeutralForeground2BrandPressed)",colorNeutralForeground2BrandSelected:"var(--colorNeutralForeground2BrandSelected)",colorNeutralForeground3:Jt,colorNeutralForeground3Hover:"var(--colorNeutralForeground3Hover)",colorNeutralForeground3Pressed:"var(--colorNeutralForeground3Pressed)",colorNeutralForeground3Selected:"var(--colorNeutralForeground3Selected)",colorNeutralForeground3BrandHover:"var(--colorNeutralForeground3BrandHover)",colorNeutralForeground3BrandPressed:"var(--colorNeutralForeground3BrandPressed)",colorNeutralForeground3BrandSelected:"var(--colorNeutralForeground3BrandSelected)",colorNeutralForeground4:"var(--colorNeutralForeground4)",colorNeutralForegroundDisabled:so,colorBrandForegroundLink:"var(--colorBrandForegroundLink)",colorBrandForegroundLinkHover:"var(--colorBrandForegroundLinkHover)",colorBrandForegroundLinkPressed:"var(--colorBrandForegroundLinkPressed)",colorBrandForegroundLinkSelected:"var(--colorBrandForegroundLinkSelected)",colorNeutralForeground2Link:"var(--colorNeutralForeground2Link)",colorNeutralForeground2LinkHover:"var(--colorNeutralForeground2LinkHover)",colorNeutralForeground2LinkPressed:"var(--colorNeutralForeground2LinkPressed)",colorNeutralForeground2LinkSelected:"var(--colorNeutralForeground2LinkSelected)",colorCompoundBrandForeground1:"var(--colorCompoundBrandForeground1)",colorCompoundBrandForeground1Hover:"var(--colorCompoundBrandForeground1Hover)",colorCompoundBrandForeground1Pressed:"var(--colorCompoundBrandForeground1Pressed)",colorNeutralForegroundOnBrand:ko,colorNeutralForegroundInverted:"var(--colorNeutralForegroundInverted)",colorNeutralForegroundInvertedHover:"var(--colorNeutralForegroundInvertedHover)",colorNeutralForegroundInvertedPressed:"var(--colorNeutralForegroundInvertedPressed)",colorNeutralForegroundInvertedSelected:"var(--colorNeutralForegroundInvertedSelected)",colorNeutralForegroundInverted2:"var(--colorNeutralForegroundInverted2)",colorNeutralForegroundStaticInverted:"var(--colorNeutralForegroundStaticInverted)",colorNeutralForegroundInvertedLink:"var(--colorNeutralForegroundInvertedLink)",colorNeutralForegroundInvertedLinkHover:"var(--colorNeutralForegroundInvertedLinkHover)",colorNeutralForegroundInvertedLinkPressed:"var(--colorNeutralForegroundInvertedLinkPressed)",colorNeutralForegroundInvertedLinkSelected:"var(--colorNeutralForegroundInvertedLinkSelected)",colorNeutralForegroundInvertedDisabled:"var(--colorNeutralForegroundInvertedDisabled)",colorBrandForeground1:"var(--colorBrandForeground1)",colorBrandForeground2:"var(--colorBrandForeground2)",colorNeutralForeground1Static:"var(--colorNeutralForeground1Static)",colorBrandForegroundInverted:"var(--colorBrandForegroundInverted)",colorBrandForegroundInvertedHover:"var(--colorBrandForegroundInvertedHover)",colorBrandForegroundInvertedPressed:"var(--colorBrandForegroundInvertedPressed)",colorBrandForegroundOnLight:"var(--colorBrandForegroundOnLight)",colorBrandForegroundOnLightHover:"var(--colorBrandForegroundOnLightHover)",colorBrandForegroundOnLightPressed:"var(--colorBrandForegroundOnLightPressed)",colorBrandForegroundOnLightSelected:"var(--colorBrandForegroundOnLightSelected)",colorNeutralBackground1:Vo,colorNeutralBackground1Hover:"var(--colorNeutralBackground1Hover)",colorNeutralBackground1Pressed:"var(--colorNeutralBackground1Pressed)",colorNeutralBackground1Selected:"var(--colorNeutralBackground1Selected)",colorNeutralBackground2:"var(--colorNeutralBackground2)",colorNeutralBackground2Hover:"var(--colorNeutralBackground2Hover)",colorNeutralBackground2Pressed:"var(--colorNeutralBackground2Pressed)",colorNeutralBackground2Selected:"var(--colorNeutralBackground2Selected)",colorNeutralBackground3:"var(--colorNeutralBackground3)",colorNeutralBackground3Hover:"var(--colorNeutralBackground3Hover)",colorNeutralBackground3Pressed:"var(--colorNeutralBackground3Pressed)",colorNeutralBackground3Selected:"var(--colorNeutralBackground3Selected)",colorNeutralBackground4:"var(--colorNeutralBackground4)",colorNeutralBackground4Hover:"var(--colorNeutralBackground4Hover)",colorNeutralBackground4Pressed:"var(--colorNeutralBackground4Pressed)",colorNeutralBackground4Selected:"var(--colorNeutralBackground4Selected)",colorNeutralBackground5:"var(--colorNeutralBackground5)",colorNeutralBackground5Hover:"var(--colorNeutralBackground5Hover)",colorNeutralBackground5Pressed:"var(--colorNeutralBackground5Pressed)",colorNeutralBackground5Selected:"var(--colorNeutralBackground5Selected)",colorNeutralBackground6:"var(--colorNeutralBackground6)",colorNeutralBackgroundStatic:"var(--colorNeutralBackgroundStatic)",colorNeutralBackgroundInverted:"var(--colorNeutralBackgroundInverted)",colorSubtleBackground:"var(--colorSubtleBackground)",colorSubtleBackgroundHover:"var(--colorSubtleBackgroundHover)",colorSubtleBackgroundPressed:"var(--colorSubtleBackgroundPressed)",colorSubtleBackgroundSelected:"var(--colorSubtleBackgroundSelected)",colorSubtleBackgroundLightAlphaHover:"var(--colorSubtleBackgroundLightAlphaHover)",colorSubtleBackgroundLightAlphaPressed:"var(--colorSubtleBackgroundLightAlphaPressed)",colorSubtleBackgroundLightAlphaSelected:"var(--colorSubtleBackgroundLightAlphaSelected)",colorSubtleBackgroundInverted:"var(--colorSubtleBackgroundInverted)",colorSubtleBackgroundInvertedHover:"var(--colorSubtleBackgroundInvertedHover)",colorSubtleBackgroundInvertedPressed:"var(--colorSubtleBackgroundInvertedPressed)",colorSubtleBackgroundInvertedSelected:"var(--colorSubtleBackgroundInvertedSelected)",colorTransparentBackground:$r,colorTransparentBackgroundHover:"var(--colorTransparentBackgroundHover)",colorTransparentBackgroundPressed:"var(--colorTransparentBackgroundPressed)",colorTransparentBackgroundSelected:"var(--colorTransparentBackgroundSelected)",colorNeutralBackgroundDisabled:"var(--colorNeutralBackgroundDisabled)",colorNeutralBackgroundInvertedDisabled:"var(--colorNeutralBackgroundInvertedDisabled)",colorNeutralStencil1:"var(--colorNeutralStencil1)",colorNeutralStencil2:"var(--colorNeutralStencil2)",colorNeutralStencil1Alpha:"var(--colorNeutralStencil1Alpha)",colorNeutralStencil2Alpha:"var(--colorNeutralStencil2Alpha)",colorBackgroundOverlay:"var(--colorBackgroundOverlay)",colorScrollbarOverlay:"var(--colorScrollbarOverlay)",colorBrandBackground:Lr,colorBrandBackgroundHover:"var(--colorBrandBackgroundHover)",colorBrandBackgroundPressed:"var(--colorBrandBackgroundPressed)",colorBrandBackgroundSelected:"var(--colorBrandBackgroundSelected)",colorCompoundBrandBackground:Er,colorCompoundBrandBackgroundHover:"var(--colorCompoundBrandBackgroundHover)",colorCompoundBrandBackgroundPressed:"var(--colorCompoundBrandBackgroundPressed)",colorBrandBackgroundStatic:"var(--colorBrandBackgroundStatic)",colorBrandBackground2:Vr,colorBrandBackgroundInverted:"var(--colorBrandBackgroundInverted)",colorBrandBackgroundInvertedHover:"var(--colorBrandBackgroundInvertedHover)",colorBrandBackgroundInvertedPressed:"var(--colorBrandBackgroundInvertedPressed)",colorBrandBackgroundInvertedSelected:"var(--colorBrandBackgroundInvertedSelected)",colorNeutralStrokeAccessible:Wr,colorNeutralStrokeAccessibleHover:"var(--colorNeutralStrokeAccessibleHover)",colorNeutralStrokeAccessiblePressed:"var(--colorNeutralStrokeAccessiblePressed)",colorNeutralStrokeAccessibleSelected:"var(--colorNeutralStrokeAccessibleSelected)",colorNeutralStroke1:Qr,colorNeutralStroke1Hover:Zr,colorNeutralStroke1Pressed:"var(--colorNeutralStroke1Pressed)",colorNeutralStroke1Selected:"var(--colorNeutralStroke1Selected)",colorNeutralStroke2:ta,colorNeutralStroke3:"var(--colorNeutralStroke3)",colorNeutralStrokeOnBrand:"var(--colorNeutralStrokeOnBrand)",colorNeutralStrokeOnBrand2:"var(--colorNeutralStrokeOnBrand2)",colorNeutralStrokeOnBrand2Hover:"var(--colorNeutralStrokeOnBrand2Hover)",colorNeutralStrokeOnBrand2Pressed:"var(--colorNeutralStrokeOnBrand2Pressed)",colorNeutralStrokeOnBrand2Selected:"var(--colorNeutralStrokeOnBrand2Selected)",colorBrandStroke1:"var(--colorBrandStroke1)",colorBrandStroke2:"var(--colorBrandStroke2)",colorCompoundBrandStroke:"var(--colorCompoundBrandStroke)",colorCompoundBrandStrokeHover:"var(--colorCompoundBrandStrokeHover)",colorCompoundBrandStrokePressed:"var(--colorCompoundBrandStrokePressed)",colorNeutralStrokeDisabled:pa,colorNeutralStrokeInvertedDisabled:"var(--colorNeutralStrokeInvertedDisabled)",colorTransparentStroke:va,colorTransparentStrokeInteractive:"var(--colorTransparentStrokeInteractive)",colorTransparentStrokeDisabled:"var(--colorTransparentStrokeDisabled)",colorStrokeFocus1:fa,colorStrokeFocus2:ya,colorNeutralShadowAmbient:"var(--colorNeutralShadowAmbient)",colorNeutralShadowKey:"var(--colorNeutralShadowKey)",colorNeutralShadowAmbientLighter:"var(--colorNeutralShadowAmbientLighter)",colorNeutralShadowKeyLighter:"var(--colorNeutralShadowKeyLighter)",colorNeutralShadowAmbientDarker:"var(--colorNeutralShadowAmbientDarker)",colorNeutralShadowKeyDarker:"var(--colorNeutralShadowKeyDarker)",colorBrandShadowAmbient:"var(--colorBrandShadowAmbient)",colorBrandShadowKey:"var(--colorBrandShadowKey)",colorPaletteRedBackground1:"var(--colorPaletteRedBackground1)",colorPaletteRedBackground2:"var(--colorPaletteRedBackground2)",colorPaletteRedBackground3:"var(--colorPaletteRedBackground3)",colorPaletteRedBorderActive:"var(--colorPaletteRedBorderActive)",colorPaletteRedBorder1:"var(--colorPaletteRedBorder1)",colorPaletteRedBorder2:"var(--colorPaletteRedBorder2)",colorPaletteRedForeground1:"var(--colorPaletteRedForeground1)",colorPaletteRedForeground2:"var(--colorPaletteRedForeground2)",colorPaletteRedForeground3:"var(--colorPaletteRedForeground3)",colorPaletteRedForegroundInverted:"var(--colorPaletteRedForegroundInverted)",colorPaletteGreenBackground1:"var(--colorPaletteGreenBackground1)",colorPaletteGreenBackground2:"var(--colorPaletteGreenBackground2)",colorPaletteGreenBackground3:"var(--colorPaletteGreenBackground3)",colorPaletteGreenBorderActive:"var(--colorPaletteGreenBorderActive)",colorPaletteGreenBorder1:"var(--colorPaletteGreenBorder1)",colorPaletteGreenBorder2:"var(--colorPaletteGreenBorder2)",colorPaletteGreenForeground1:"var(--colorPaletteGreenForeground1)",colorPaletteGreenForeground2:"var(--colorPaletteGreenForeground2)",colorPaletteGreenForeground3:"var(--colorPaletteGreenForeground3)",colorPaletteGreenForegroundInverted:"var(--colorPaletteGreenForegroundInverted)",colorPaletteDarkOrangeBackground1:"var(--colorPaletteDarkOrangeBackground1)",colorPaletteDarkOrangeBackground2:"var(--colorPaletteDarkOrangeBackground2)",colorPaletteDarkOrangeBackground3:"var(--colorPaletteDarkOrangeBackground3)",colorPaletteDarkOrangeBorderActive:"var(--colorPaletteDarkOrangeBorderActive)",colorPaletteDarkOrangeBorder1:"var(--colorPaletteDarkOrangeBorder1)",colorPaletteDarkOrangeBorder2:"var(--colorPaletteDarkOrangeBorder2)",colorPaletteDarkOrangeForeground1:"var(--colorPaletteDarkOrangeForeground1)",colorPaletteDarkOrangeForeground2:"var(--colorPaletteDarkOrangeForeground2)",colorPaletteDarkOrangeForeground3:"var(--colorPaletteDarkOrangeForeground3)",colorPaletteYellowBackground1:"var(--colorPaletteYellowBackground1)",colorPaletteYellowBackground2:"var(--colorPaletteYellowBackground2)",colorPaletteYellowBackground3:"var(--colorPaletteYellowBackground3)",colorPaletteYellowBorderActive:"var(--colorPaletteYellowBorderActive)",colorPaletteYellowBorder1:"var(--colorPaletteYellowBorder1)",colorPaletteYellowBorder2:"var(--colorPaletteYellowBorder2)",colorPaletteYellowForeground1:"var(--colorPaletteYellowForeground1)",colorPaletteYellowForeground2:"var(--colorPaletteYellowForeground2)",colorPaletteYellowForeground3:"var(--colorPaletteYellowForeground3)",colorPaletteYellowForegroundInverted:"var(--colorPaletteYellowForegroundInverted)",colorPaletteBerryBackground1:"var(--colorPaletteBerryBackground1)",colorPaletteBerryBackground2:"var(--colorPaletteBerryBackground2)",colorPaletteBerryBackground3:"var(--colorPaletteBerryBackground3)",colorPaletteBerryBorderActive:"var(--colorPaletteBerryBorderActive)",colorPaletteBerryBorder1:"var(--colorPaletteBerryBorder1)",colorPaletteBerryBorder2:"var(--colorPaletteBerryBorder2)",colorPaletteBerryForeground1:"var(--colorPaletteBerryForeground1)",colorPaletteBerryForeground2:"var(--colorPaletteBerryForeground2)",colorPaletteBerryForeground3:"var(--colorPaletteBerryForeground3)",colorPaletteMarigoldBackground1:"var(--colorPaletteMarigoldBackground1)",colorPaletteMarigoldBackground2:"var(--colorPaletteMarigoldBackground2)",colorPaletteMarigoldBackground3:"var(--colorPaletteMarigoldBackground3)",colorPaletteMarigoldBorderActive:"var(--colorPaletteMarigoldBorderActive)",colorPaletteMarigoldBorder1:"var(--colorPaletteMarigoldBorder1)",colorPaletteMarigoldBorder2:"var(--colorPaletteMarigoldBorder2)",colorPaletteMarigoldForeground1:"var(--colorPaletteMarigoldForeground1)",colorPaletteMarigoldForeground2:"var(--colorPaletteMarigoldForeground2)",colorPaletteMarigoldForeground3:"var(--colorPaletteMarigoldForeground3)",colorPaletteLightGreenBackground1:"var(--colorPaletteLightGreenBackground1)",colorPaletteLightGreenBackground2:"var(--colorPaletteLightGreenBackground2)",colorPaletteLightGreenBackground3:"var(--colorPaletteLightGreenBackground3)",colorPaletteLightGreenBorderActive:"var(--colorPaletteLightGreenBorderActive)",colorPaletteLightGreenBorder1:"var(--colorPaletteLightGreenBorder1)",colorPaletteLightGreenBorder2:"var(--colorPaletteLightGreenBorder2)",colorPaletteLightGreenForeground1:"var(--colorPaletteLightGreenForeground1)",colorPaletteLightGreenForeground2:"var(--colorPaletteLightGreenForeground2)",colorPaletteLightGreenForeground3:"var(--colorPaletteLightGreenForeground3)",colorPaletteAnchorBackground2:"var(--colorPaletteAnchorBackground2)",colorPaletteAnchorBorderActive:"var(--colorPaletteAnchorBorderActive)",colorPaletteAnchorForeground2:"var(--colorPaletteAnchorForeground2)",colorPaletteBeigeBackground2:"var(--colorPaletteBeigeBackground2)",colorPaletteBeigeBorderActive:"var(--colorPaletteBeigeBorderActive)",colorPaletteBeigeForeground2:"var(--colorPaletteBeigeForeground2)",colorPaletteBlueBackground2:"var(--colorPaletteBlueBackground2)",colorPaletteBlueBorderActive:"var(--colorPaletteBlueBorderActive)",colorPaletteBlueForeground2:"var(--colorPaletteBlueForeground2)",colorPaletteBrassBackground2:"var(--colorPaletteBrassBackground2)",colorPaletteBrassBorderActive:"var(--colorPaletteBrassBorderActive)",colorPaletteBrassForeground2:"var(--colorPaletteBrassForeground2)",colorPaletteBrownBackground2:"var(--colorPaletteBrownBackground2)",colorPaletteBrownBorderActive:"var(--colorPaletteBrownBorderActive)",colorPaletteBrownForeground2:"var(--colorPaletteBrownForeground2)",colorPaletteCornflowerBackground2:"var(--colorPaletteCornflowerBackground2)",colorPaletteCornflowerBorderActive:"var(--colorPaletteCornflowerBorderActive)",colorPaletteCornflowerForeground2:"var(--colorPaletteCornflowerForeground2)",colorPaletteCranberryBackground2:"var(--colorPaletteCranberryBackground2)",colorPaletteCranberryBorderActive:"var(--colorPaletteCranberryBorderActive)",colorPaletteCranberryForeground2:"var(--colorPaletteCranberryForeground2)",colorPaletteDarkGreenBackground2:"var(--colorPaletteDarkGreenBackground2)",colorPaletteDarkGreenBorderActive:"var(--colorPaletteDarkGreenBorderActive)",colorPaletteDarkGreenForeground2:"var(--colorPaletteDarkGreenForeground2)",colorPaletteDarkRedBackground2:"var(--colorPaletteDarkRedBackground2)",colorPaletteDarkRedBorderActive:"var(--colorPaletteDarkRedBorderActive)",colorPaletteDarkRedForeground2:"var(--colorPaletteDarkRedForeground2)",colorPaletteForestBackground2:"var(--colorPaletteForestBackground2)",colorPaletteForestBorderActive:"var(--colorPaletteForestBorderActive)",colorPaletteForestForeground2:"var(--colorPaletteForestForeground2)",colorPaletteGoldBackground2:"var(--colorPaletteGoldBackground2)",colorPaletteGoldBorderActive:"var(--colorPaletteGoldBorderActive)",colorPaletteGoldForeground2:"var(--colorPaletteGoldForeground2)",colorPaletteGrapeBackground2:"var(--colorPaletteGrapeBackground2)",colorPaletteGrapeBorderActive:"var(--colorPaletteGrapeBorderActive)",colorPaletteGrapeForeground2:"var(--colorPaletteGrapeForeground2)",colorPaletteLavenderBackground2:"var(--colorPaletteLavenderBackground2)",colorPaletteLavenderBorderActive:"var(--colorPaletteLavenderBorderActive)",colorPaletteLavenderForeground2:"var(--colorPaletteLavenderForeground2)",colorPaletteLightTealBackground2:"var(--colorPaletteLightTealBackground2)",colorPaletteLightTealBorderActive:"var(--colorPaletteLightTealBorderActive)",colorPaletteLightTealForeground2:"var(--colorPaletteLightTealForeground2)",colorPaletteLilacBackground2:"var(--colorPaletteLilacBackground2)",colorPaletteLilacBorderActive:"var(--colorPaletteLilacBorderActive)",colorPaletteLilacForeground2:"var(--colorPaletteLilacForeground2)",colorPaletteMagentaBackground2:"var(--colorPaletteMagentaBackground2)",colorPaletteMagentaBorderActive:"var(--colorPaletteMagentaBorderActive)",colorPaletteMagentaForeground2:"var(--colorPaletteMagentaForeground2)",colorPaletteMinkBackground2:"var(--colorPaletteMinkBackground2)",colorPaletteMinkBorderActive:"var(--colorPaletteMinkBorderActive)",colorPaletteMinkForeground2:"var(--colorPaletteMinkForeground2)",colorPaletteNavyBackground2:"var(--colorPaletteNavyBackground2)",colorPaletteNavyBorderActive:"var(--colorPaletteNavyBorderActive)",colorPaletteNavyForeground2:"var(--colorPaletteNavyForeground2)",colorPalettePeachBackground2:"var(--colorPalettePeachBackground2)",colorPalettePeachBorderActive:"var(--colorPalettePeachBorderActive)",colorPalettePeachForeground2:"var(--colorPalettePeachForeground2)",colorPalettePinkBackground2:"var(--colorPalettePinkBackground2)",colorPalettePinkBorderActive:"var(--colorPalettePinkBorderActive)",colorPalettePinkForeground2:"var(--colorPalettePinkForeground2)",colorPalettePlatinumBackground2:"var(--colorPalettePlatinumBackground2)",colorPalettePlatinumBorderActive:"var(--colorPalettePlatinumBorderActive)",colorPalettePlatinumForeground2:"var(--colorPalettePlatinumForeground2)",colorPalettePlumBackground2:"var(--colorPalettePlumBackground2)",colorPalettePlumBorderActive:"var(--colorPalettePlumBorderActive)",colorPalettePlumForeground2:"var(--colorPalettePlumForeground2)",colorPalettePumpkinBackground2:"var(--colorPalettePumpkinBackground2)",colorPalettePumpkinBorderActive:"var(--colorPalettePumpkinBorderActive)",colorPalettePumpkinForeground2:"var(--colorPalettePumpkinForeground2)",colorPalettePurpleBackground2:"var(--colorPalettePurpleBackground2)",colorPalettePurpleBorderActive:"var(--colorPalettePurpleBorderActive)",colorPalettePurpleForeground2:"var(--colorPalettePurpleForeground2)",colorPaletteRoyalBlueBackground2:"var(--colorPaletteRoyalBlueBackground2)",colorPaletteRoyalBlueBorderActive:"var(--colorPaletteRoyalBlueBorderActive)",colorPaletteRoyalBlueForeground2:"var(--colorPaletteRoyalBlueForeground2)",colorPaletteSeafoamBackground2:"var(--colorPaletteSeafoamBackground2)",colorPaletteSeafoamBorderActive:"var(--colorPaletteSeafoamBorderActive)",colorPaletteSeafoamForeground2:"var(--colorPaletteSeafoamForeground2)",colorPaletteSteelBackground2:"var(--colorPaletteSteelBackground2)",colorPaletteSteelBorderActive:"var(--colorPaletteSteelBorderActive)",colorPaletteSteelForeground2:"var(--colorPaletteSteelForeground2)",colorPaletteTealBackground2:"var(--colorPaletteTealBackground2)",colorPaletteTealBorderActive:"var(--colorPaletteTealBorderActive)",colorPaletteTealForeground2:"var(--colorPaletteTealForeground2)",borderRadiusNone:ms,borderRadiusSmall:fs,borderRadiusMedium:ys,borderRadiusLarge:"var(--borderRadiusLarge)",borderRadiusXLarge:"var(--borderRadiusXLarge)",borderRadiusCircular:$s,fontFamilyBase:Bs,fontFamilyMonospace:"var(--fontFamilyMonospace)",fontFamilyNumeric:"var(--fontFamilyNumeric)",fontSizeBase100:Ss,fontSizeBase200:Fs,fontSizeBase300:Cs,fontSizeBase400:Ns,fontSizeBase500:Is,fontSizeBase600:As,fontSizeHero700:"var(--fontSizeHero700)",fontSizeHero800:"var(--fontSizeHero800)",fontSizeHero900:"var(--fontSizeHero900)",fontSizeHero1000:"var(--fontSizeHero1000)",fontWeightRegular:Hs,fontWeightMedium:"var(--fontWeightMedium)",fontWeightSemibold:Es,fontWeightBold:Ms,lineHeightBase100:Rs,lineHeightBase200:js,lineHeightBase300:Vs,lineHeightBase400:_s,lineHeightBase500:Gs,lineHeightBase600:"var(--lineHeightBase600)",lineHeightHero700:"var(--lineHeightHero700)",lineHeightHero800:"var(--lineHeightHero800)",lineHeightHero900:"var(--lineHeightHero900)",lineHeightHero1000:"var(--lineHeightHero1000)",shadow2:Us,shadow4:Qs,shadow8:Zs,shadow16:Js,shadow28:"var(--shadow28)",shadow64:"var(--shadow64)",shadow2Brand:"var(--shadow2Brand)",shadow4Brand:"var(--shadow4Brand)",shadow8Brand:"var(--shadow8Brand)",shadow16Brand:"var(--shadow16Brand)",shadow28Brand:"var(--shadow28Brand)",shadow64Brand:"var(--shadow64Brand)",strokeWidthThin:ll,strokeWidthThick:cl,strokeWidthThicker:dl,strokeWidthThickest:"var(--strokeWidthThickest)",spacingHorizontalNone:"var(--spacingHorizontalNone)",spacingHorizontalXXS:pl,spacingHorizontalXS:gl,spacingHorizontalSNudge:vl,spacingHorizontalS:bl,spacingHorizontalMNudge:ml,spacingHorizontalM:fl,spacingHorizontalL:"var(--spacingHorizontalL)",spacingHorizontalXL:"var(--spacingHorizontalXL)",spacingHorizontalXXL:"var(--spacingHorizontalXXL)",spacingHorizontalXXXL:"var(--spacingHorizontalXXXL)",spacingVerticalNone:"var(--spacingVerticalNone)",spacingVerticalXXS:"var(--spacingVerticalXXS)",spacingVerticalXS:"var(--spacingVerticalXS)",spacingVerticalSNudge:Sl,spacingVerticalS:Fl,spacingVerticalMNudge:"var(--spacingVerticalMNudge)",spacingVerticalM:"var(--spacingVerticalM)",spacingVerticalL:"var(--spacingVerticalL)",spacingVerticalXL:"var(--spacingVerticalXL)",spacingVerticalXXL:"var(--spacingVerticalXXL)",spacingVerticalXXXL:"var(--spacingVerticalXXXL)",durationUltraFast:"var(--durationUltraFast)",durationFaster:Ol,durationFast:"var(--durationFast)",durationNormal:"var(--durationNormal)",durationSlow:"var(--durationSlow)",durationSlower:"var(--durationSlower)",durationUltraSlow:Rl,curveAccelerateMax:"var(--curveAccelerateMax)",curveAccelerateMid:"var(--curveAccelerateMid)",curveAccelerateMin:"var(--curveAccelerateMin)",curveDecelerateMax:"var(--curveDecelerateMax)",curveDecelerateMid:"var(--curveDecelerateMid)",curveDecelerateMin:"var(--curveDecelerateMin)",curveEasyEaseMax:"var(--curveEasyEaseMax)",curveEasyEase:Yl,curveLinear:"var(--curveLinear)"});const Ql=j`
5
- ${bt("block")}
6
-
7
- :host{max-width:fit-content;contain:content}.heading{height:44px;display:grid;position:relative;vertical-align:middle;padding-inline:${fl} ${ml};border-radius:${ys};font-family:${Bs};font-size:${Cs};font-weight:${Hs};line-height:${Vs};grid-template-columns:auto auto 1fr auto}.heading-content{height:100%;display:flex;align-items:center}.button{box-sizing:border-box;appearance:none;border:none;outline:none;text-align:start;cursor:pointer;font-family:inherit;height:44px;color:${Vt};background:${$r};line-height:${Vs};height:auto;padding:0;font-size:inherit;grid-column:auto / span 2;grid-row:1}.button::before{content:'';position:absolute;inset:0px;cursor:pointer;border-radius:${fs}}.icon{display:flex;align-items:center;justify-content:center;pointer-events:none;position:relative;height:100%;padding-right:${bl};grid-column:1 / span 1;grid-row:1}.region{margin:0 ${fl}}::slotted([slot='start']),::slotted([slot='end']){justify-content:center;align-items:center;padding-right:${bl};grid-column:2 / span 1;grid-row:1 / span 1}button:focus-visible::after{content:'';position:absolute;inset:0px;cursor:pointer;border-radius:${fs};outline:none;border:2px solid ${fa};box-shadow:inset 0 0 0 1px ${ya}}:host([disabled]) .button{color:${so}}:host([disabled]) svg{filter:invert(89%) sepia(0%) saturate(569%) hue-rotate(155deg) brightness(88%) contrast(87%)}:host([expanded]) .region{display:block}:host([expanded]) .default-collapsed-icon,:host([expanded]) ::slotted([slot='collapsed-icon']),:host(:not([expanded])) .default-expanded-icon,:host(:not([expanded])) ::slotted([slot='expanded-icon']),:host([expanded]) ::slotted([slot='end']),::slotted([slot='start']),.region{display:none}:host([expanded]) ::slotted([slot='start']),:host([expanded]) ::slotted([slot='expanded-icon']),:host(:not([expanded])) ::slotted([slot='collapsed-icon']),::slotted([slot='end']){display:flex}.heading{font-size:${Cs};line-height:${Vs}}:host([size='small']) .heading{font-size:${Fs};line-height:${js}}:host([size='large']) .heading{font-size:${Ns};line-height:${_s}}:host([size='extra-large']) .heading{font-size:${Is};line-height:${Gs}}:host([expand-icon-position='end']) :slotted(span[slot='start']),:host([expand-icon-position='end']) ::slotted(span[slot='end']){grid-column:1 / span 1;grid-row:1}:host([expand-icon-position='end']) ::slotted(span[slot='start']),:host([expand-icon-position='end']) ::slotted(span[slot='end']){grid-column:1 / span 1;grid-row:1}:host([expand-icon-position='end']) .icon{grid-column:4 / span 1;grid-row:1;display:flex;padding-left:10px;padding-right:0}:host([expand-icon-position='end']) .button{grid-column:2 / span 3;grid-row:1}:host([block]){max-width:100%}:host([expand-icon-position='end']) .heading{grid-template-columns:auto auto 28px}:host([expand-icon-position='end']) .icon{grid-column:5 / span 1}:host([block][expand-icon-position='end']) .heading{grid-template-columns:auto 1fr}:host([block][expand-icon-position='end']) .icon{grid-column:5 / span 1}`;const Zl=function(e={}){return ye`<div class="heading" part="heading" role="heading" aria-level="${e=>e.headinglevel}"><button class="button" part="button" ${xe("expandbutton")} ?disabled="${e=>e.disabled?"true":void 0}" aria-expanded="${e=>e.expanded}" aria-controls="${e=>e.id}-panel" id="${e=>e.id}" @click="${(e,t)=>e.clickHandler(t.event)}"><span class="heading-content" part="heading-content"><slot name="heading"></slot></span></button>${wt(e)} ${Bt(e)}<span class="icon" part="icon" aria-hidden="true"><slot name="expanded-icon">${pt(e.expandedIcon)}</slot><slot name="collapsed-icon">${pt(e.collapsedIcon)}</slot><span></div><div class="region" part="region" id="${e=>e.id}-panel" role="region" aria-labelledby="${e=>e.id}"><slot></slot></div>`}({collapsedIcon:ye.partial('<svg\n width="20"\n height="20"\n viewBox="0 0 20 20"\n fill="none"\n xmlns="http://www.w3.org/2000/svg"\n class="default-collapsed-icon"\n>\n <path\n 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"\n fill="currentColor"\n />\n</svg>'),expandedIcon:ye.partial('<svg\n width="20"\n height="20"\n viewBox="0 0 20 20"\n fill="none"\n xmlns="http://www.w3.org/2000/svg"\n class="default-expanded-icon"\n>\n <path\n 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"\n fill="currentColor"\n />\n</svg>')}),Jl=Nt.compose({name:Et.prefix+"-accordion-item",template:Zl,styles:Ql});var ec=Object.defineProperty,tc=Object.getOwnPropertyDescriptor,oc=(e,t,o,r)=>{for(var a,n=r>1?void 0:r?tc(t,o):t,i=e.length-1;i>=0;i--)(a=e[i])&&(n=(r?a(t,o,n):a(n))||n);return r&&n&&ec(t,o,n),n};class rc extends et{constructor(){super(...arguments),this.iconOnly=!1,this.disabled=!1,this.disabledFocusable=!1,this.handleDisabledFocusableClick=e=>{(e&&this.disabled||this.disabledFocusable)&&e.stopImmediatePropagation()}}disabledChanged(e,t){this.disabled?(this.setAttribute("aria-disabled","true"),this.setAttribute("tabindex","-1")):(this.removeAttribute("aria-disabled"),this.removeAttribute("tabindex"))}disabledFocusableChanged(e,t){this.$fastController.isConnected&&(this.disabledFocusable?this.setAttribute("aria-disabled","true"):this.removeAttribute("aria-disabled"))}connectedCallback(){super.connectedCallback(),this.addEventListener("click",this.handleDisabledFocusableClick)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("click",this.handleDisabledFocusableClick)}}oc([Oe],rc.prototype,"download",2),oc([Oe],rc.prototype,"href",2),oc([Oe],rc.prototype,"hreflang",2),oc([Oe],rc.prototype,"ping",2),oc([Oe],rc.prototype,"referrerpolicy",2),oc([Oe],rc.prototype,"rel",2),oc([Oe],rc.prototype,"target",2),oc([Oe],rc.prototype,"type",2),oc([B],rc.prototype,"defaultSlottedContent",2),oc([Oe],rc.prototype,"appearance",2),oc([Oe],rc.prototype,"shape",2),oc([Oe],rc.prototype,"size",2),oc([Oe({attribute:"icon-only",mode:"boolean"})],rc.prototype,"iconOnly",2),oc([Oe({mode:"boolean"})],rc.prototype,"disabled",2),oc([Oe({attribute:"disabled-focusable",mode:"boolean"})],rc.prototype,"disabledFocusable",2);class ac{}oc([Oe({attribute:"aria-expanded"})],ac.prototype,"ariaExpanded",2),Pt(ac,ut),Pt(rc,$t,ac);const nc={primary:"primary",outline:"outline",subtle:"subtle",secondary:"secondary",transparent:"transparent"},ic={circular:"circular",rounded:"rounded",square:"square"},sc={small:"small",medium:"medium",large:"large"},lc={submit:"submit",reset:"reset",button:"button"},cc={blank:"_blank",self:"_self",parent:"_parent",top:"_top"},dc=nc,uc=ic,hc=sc,pc={_self:"_self",_blank:"_blank",_parent:"_parent",_top:"_top"};const gc=function(e={}){return ye`<a class="control" part="control" download="${e=>e.download}" href="${e=>e.href}" hreflang="${e=>e.hreflang}" ping="${e=>e.ping}" referrerpolicy="${e=>e.referrerpolicy}" rel="${e=>e.rel}" target="${e=>e.target}" type="${e=>e.type}" aria-atomic="${e=>e.ariaAtomic}" aria-busy="${e=>e.ariaBusy}" aria-controls="${e=>e.ariaControls}" aria-current="${e=>e.ariaCurrent}" aria-describedby="${e=>e.ariaDescribedby}" aria-details="${e=>e.ariaDetails}" aria-disabled="${e=>e.ariaDisabled}" aria-errormessage="${e=>e.ariaErrormessage}" aria-expanded="${e=>e.ariaExpanded}" aria-flowto="${e=>e.ariaFlowto}" aria-haspopup="${e=>e.ariaHaspopup}" aria-hidden="${e=>e.ariaHidden}" aria-invalid="${e=>e.ariaInvalid}" aria-keyshortcuts="${e=>e.ariaKeyshortcuts}" aria-label="${e=>e.ariaLabel}" aria-labelledby="${e=>e.ariaLabelledby}" aria-live="${e=>e.ariaLive}" aria-owns="${e=>e.ariaOwns}" aria-relevant="${e=>e.ariaRelevant}" aria-roledescription="${e=>e.ariaRoledescription}" ${xe("control")}>${wt(e)}<span class="content" part="content"><slot ${Ne("defaultSlottedContent")}></slot></span>${Bt(e)}</a>`}(),vc=j`
8
- ${bt("inline-flex")}
9
-
10
- :host{--icon-spacing:${vl};contain:layout style;vertical-align:middle}:host .control{display:inline-flex;align-items:center;box-sizing:border-box;justify-content:center;text-decoration-line:none;margin:0;min-height:32px;outline-style:none;background-color:${Vo};color:${Vt};border:${ll} solid ${Qr};padding:0 ${fl};min-width:96px;border-radius:${ys};font-size:${Cs};font-family:${Bs};font-weight:${Es};line-height:${Vs};transition-duration:${Ol};transition-property:background,border,color;transition-timing-function:${Yl};cursor:pointer}.content{display:inherit;text-align:center}:host(:hover) .control{background-color:${"var(--colorNeutralBackground1Hover)"};color:${"var(--colorNeutralForeground1Hover)"};border-color:${Zr}}:host(:hover:active) .control{background-color:${"var(--colorNeutralBackground1Pressed)"};border-color:${"var(--colorNeutralStroke1Pressed)"};color:${"var(--colorNeutralForeground1Pressed)"};outline-style:none}:host .control:focus-visible{border-color:${va};outline:${cl}) solid ${va};box-shadow:${Qs},0 0 0 2px ${ya}}@media screen and (prefers-reduced-motion:reduce){transition-duration:0.01ms}::slotted(svg){font-size:20px;height:20px;width:20px;fill:currentColor}[slot='start'],::slotted([slot='start']){margin-inline-end:var(--icon-spacing)}[slot='end'],::slotted([slot='end']){margin-inline-start:var(--icon-spacing)}:host([icon-only]) .control{min-width:32px;max-width:32px}:host([size='small']){--icon-spacing:${gl}}:host([size='small']) .control{min-height:24px;min-width:64px;padding:0 ${bl};border-radius:${fs};font-size:${Fs};line-height:${js};font-weight:${Hs}}:host([size='small'][icon-only]) .control{min-width:24px;max-width:24px}:host([size='large']) .control{min-height:40px;border-radius:${"var(--borderRadiusLarge)"};padding:0 ${"var(--spacingHorizontalL)"};font-size:${Ns};line-height:${_s}}:host([size='large'][icon-only]) .control{min-width:40px;max-width:40px}:host([size='large']) ::slotted(svg){font-size:24px;height:24px;width:24px}:host([shape='circular']) .control,:host([shape='circular']) .control:focus-visible{border-radius:${$s}}:host([shape='square']) .control,:host([shape='square']) .control:focus-visible{border-radius:${ms}}:host([appearance='primary']) .control{background-color:${Lr};color:${ko};border-color:transparent}:host([appearance='primary']:hover) .control{background-color:${"var(--colorBrandBackgroundHover)"}}:host([appearance='primary']:hover) .control,:host([appearance='primary']:hover:active) .control{border-color:transparent;color:${ko}}:host([appearance='primary']:hover:active) .control{background-color:${"var(--colorBrandBackgroundPressed)"}}:host([appearance='primary']) .control:focus-visible{border-color:${ko};box-shadow:${Us},0 0 0 2px ${ya}}:host(is:([disabled][appearance='primary'],[disabled-focusabale][appearance="primary"])) .control,:host(is:([disabled][appearance='primary'],[disabled-focusabale][appearance="primary"]):hover) .control,:host(is:([disabled][appearance='primary'],[disabled-focusabale][appearance="primary"]):hover:active) .control{border-color:transparent}:host([appearance='outline']) .control{background-color:${$r}}:host([appearance='outline']:hover) .control{background-color:${"var(--colorTransparentBackgroundHover)"}}:host([appearance='outline']:hover:active) .control{background-color:${"var(--colorTransparentBackgroundPressed)"}}:host(is:([disabled][appearance='outline'],[disabled-focusabale][appearance="outline"])) .control,:host(is:([disabled][appearance='outline'],[disabled-focusabale][appearance="outline"]):hover) .control,:host(is:([disabled][appearance='outline'],[disabled-focusabale][appearance="outline"]):hover:active) .control{background-color:${$r}}:host([appearance='subtle']) .control{background-color:${"var(--colorSubtleBackground)"};color:${qt};border-color:transparent}:host([appearance='subtle']:hover) .control{background-color:${"var(--colorSubtleBackgroundHover)"};color:${"var(--colorNeutralForeground2Hover)"};border-color:transparent}:host([appearance='subtle']:hover:active) .control{background-color:${"var(--colorSubtleBackgroundPressed)"};color:${"var(--colorNeutralForeground2Pressed)"};border-color:transparent}:host(is:([disabled][appearance='subtle'],[disabled-focusabale][appearance="subtle"])) .control,:host(is:([disabled][appearance='subtle'],[disabled-focusabale][appearance="subtle"]):hover) .control,:host(is:([disabled][appearance='subtle'],[disabled-focusabale][appearance="subtle"]):hover:active) .control{background-color:${$r};border-color:transparent}:host([appearance='subtle']:hover) ::slotted(svg){fill:${"var(--colorNeutralForeground2BrandHover)"}}:host([appearance='subtle']:hover:active) ::slotted(svg){fill:${"var(--colorNeutralForeground2BrandPressed)"}}:host([appearance='transparent']) .control{background-color:${$r};color:${qt}}:host([appearance='transparent']:hover) .control{background-color:${"var(--colorTransparentBackgroundHover)"};color:${"var(--colorNeutralForeground2BrandHover)"}}:host([appearance='transparent']:hover:active) .control{background-color:${"var(--colorTransparentBackgroundPressed)"};color:${"var(--colorNeutralForeground2BrandPressed)"}}:host([appearance='transparent']) .control,:host([appearance='transparent']:hover) .control,:host([appearance='transparent']:hover:active) .control{border-color:transparent}:host(is:([disabled][appearance='transparent'],[disabled-focusabale][appearance="transparent"])) .control,:host(is:([disabled][appearance='transparent'],[disabled-focusabale][appearance="transparent"]):hover) .control,:host(is:([disabled][appearance='transparent'],[disabled-focusabale][appearance="transparent"]):hover:active) .control{border-color:transparent;background-color:${$r}}:host(:is([disabled],[disabled-focusable],[appearance][disabled],[appearance][disabled-focusable])) .control,:host(:is([disabled],[disabled-focusable],[appearance][disabled],[appearance][disabled-focusable]):hover) .control,:host(:is([disabled],[disabled-focusable],[appearance][disabled],[appearance][disabled-focusable]):hover:active)
11
- .control{background-color:${"var(--colorNeutralBackgroundDisabled)"};border-color:${pa};color:${so};cursor:not-allowed}`.withBehaviors(yt(j`
12
- :host([appearance='transparent']:hover) .control{border-color:Highlight}`)),bc=rc.compose({name:Et.prefix+"-anchor-button",template:gc,styles:vc,shadowOptions:{delegatesFocus:!0}}),mc=/[\(\[\{][^\)\]\}]*[\)\]\}]/g,fc=/[\0-\u001F\!-/:-@\[-`\{-\u00BF\u0250-\u036F\uD800-\uFFFF]/g,yc=/^\d+[\d\s]*(:?ext|x|)\s*\d+$/i,kc=/\s+/g,xc=/[\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 $c(e,t,o){return e?(e=function(e){return e=(e=(e=(e=e.replace(mc,"")).replace(fc,"")).replace(kc," ")).trim()}(e),xc.test(e)||!(null==o?void 0:o.allowPhoneInitials)&&yc.test(e)?"":function(e,t,o){let r="";const a=e.split(" ");return 0!==a.length&&(r+=a[0].charAt(0).toUpperCase()),o||(2===a.length?r+=a[1].charAt(0).toUpperCase():3===a.length&&(r+=a[2].charAt(0).toUpperCase())),t&&r.length>1?r.charAt(1)+r.charAt(0):r}(e,t,null==o?void 0:o.firstInitialOnly)):""}const Bc={active:"active",inactive:"inactive"},wc={circular:"circular",square:"square"},Pc={ring:"ring",shadow:"shadow",ringShadow:"ring-shadow"},Sc={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"},Fc={neutral:"neutral",brand:"brand",colorful:"colorful",...Sc},Cc={_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};var Nc=Object.defineProperty,Ic=Object.getOwnPropertyDescriptor,Ac=(e,t,o,r)=>{for(var a,n=r>1?void 0:r?Ic(t,o):t,i=e.length-1;i>=0;i--)(a=e[i])&&(n=(r?a(t,o,n):a(n))||n);return r&&n&&Nc(t,o,n),n};const Tc=class extends et{constructor(){super(...arguments),this.color="neutral"}generateColor(){var e,t;if(this.color)return this.color===Fc.colorful?Tc.colors[Lc(null!=(t=null!=(e=this.colorId)?e:this.name)?t:"")%Tc.colors.length]:this.color}generateInitials(){var e,t;if(!this.name&&!this.initials)return;const o=null!=(e=this.size)?e:32;return null!=(t=this.initials)?t:$c(this.name,"rtl"===window.getComputedStyle(this).direction,{firstInitialOnly:o<=16})}};let zc=Tc;zc.colors=Object.values(Sc),Ac([Oe],zc.prototype,"name",2),Ac([Oe],zc.prototype,"initials",2),Ac([Oe({converter:ze})],zc.prototype,"size",2),Ac([Oe],zc.prototype,"shape",2),Ac([Oe],zc.prototype,"active",2),Ac([Oe],zc.prototype,"appearance",2),Ac([Oe],zc.prototype,"color",2),Ac([Oe({attribute:"color-id"})],zc.prototype,"colorId",2);const Lc=e=>{let t=0;for(let o=e.length-1;o>=0;o--){const r=e.charCodeAt(o),a=o%8;t^=(r<<a)+(r>>8-a)}return t},Oc=ye`<svg width="1em" height="1em" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg" 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>`;const Hc=ye`<template role="img" data-color=${e=>e.generateColor()}><slot>${e=>e.name||e.initials?e.generateInitials():Oc}</slot><slot name="badge"></slot></template>`,Dc="var(--curveDecelerateMin)",Ec="var(--curveEasyEaseMax)",Mc="var(--curveLinear)",Rc=j`
13
- ${bt("inline-flex")} :host{position:relative;align-items:center;justify-content:center;flex-shrink:0;width:32px;height:32px;font-family:${Bs};font-weight:${Es};font-size:${Cs};border-radius:${$s};color:${Jt};background-color:${"var(--colorNeutralBackground6)"};contain:layout style}.default-icon,::slotted(svg){width:20px;height:20px;font-size:20px}::slotted(img){box-sizing:border-box;width:100%;height:100%;border-radius:${$s}}::slotted([slot='badge']){position:absolute;bottom:0;right:0;box-shadow:0 0 0 ${ll}) ${Vo}}: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 ${cl}) ${Vo}}:host([size='16']),:host([size='20']),:host([size='24']){font-size:${Ss};font-weight:${Hs}}: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:${Fs}}:host([size='36']){width:36px;height:36px}:host([size='40']){width:40px;height:40px}:host([size='48']),:host([size='56']){font-size:${Ns}}: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:${Is}}: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:${As}}:host([size='120']){width:120px;height:120px}:host([size='128']){width:128px;height:128px}:host([shape='square']){border-radius:${ys}}:host([shape='square'][size='20']),:host([shape='square'][size='24']){border-radius:${fs}}:host([shape='square'][size='56']),:host([shape='square'][size='64']),:host([shape='square'][size='72']){border-radius:${"var(--borderRadiusLarge)"}}:host([shape='square'][size='96']),:host([shape='square'][size='120']),:host([shape='square'][size='128']){border-radius:${"var(--borderRadiusXLarge)"}}:host([data-color='brand']){color:${"var(--colorNeutralForegroundStaticInverted)"};background-color:${"var(--colorBrandBackgroundStatic)"}}:host([data-color='dark-red']){color:${"var(--colorPaletteDarkRedForeground2)"};background-color:${"var(--colorPaletteDarkRedBackground2)"}}:host([data-color='cranberry']){color:${"var(--colorPaletteCranberryForeground2)"};background-color:${"var(--colorPaletteCranberryBackground2)"}}:host([data-color='red']){color:${"var(--colorPaletteRedForeground2)"};background-color:${"var(--colorPaletteRedBackground2)"}}:host([data-color='pumpkin']){color:${"var(--colorPalettePumpkinForeground2)"};background-color:${"var(--colorPalettePumpkinBackground2)"}}:host([data-color='peach']){color:${"var(--colorPalettePeachForeground2)"};background-color:${"var(--colorPalettePeachBackground2)"}}:host([data-color='marigold']){color:${"var(--colorPaletteMarigoldForeground2)"};background-color:${"var(--colorPaletteMarigoldBackground2)"}}:host([data-color='gold']){color:${"var(--colorPaletteGoldForeground2)"};background-color:${"var(--colorPaletteGoldBackground2)"}}:host([data-color='brass']){color:${"var(--colorPaletteBrassForeground2)"};background-color:${"var(--colorPaletteBrassBackground2)"}}:host([data-color='brown']){color:${"var(--colorPaletteBrownForeground2)"};background-color:${"var(--colorPaletteBrownBackground2)"}}:host([data-color='forest']){color:${"var(--colorPaletteForestForeground2)"};background-color:${"var(--colorPaletteForestBackground2)"}}:host([data-color='seafoam']){color:${"var(--colorPaletteSeafoamForeground2)"};background-color:${"var(--colorPaletteSeafoamBackground2)"}}:host([data-color='dark-green']){color:${"var(--colorPaletteDarkGreenForeground2)"};background-color:${"var(--colorPaletteDarkGreenBackground2)"}}:host([data-color='light-teal']){color:${"var(--colorPaletteLightTealForeground2)"};background-color:${"var(--colorPaletteLightTealBackground2)"}}:host([data-color='teal']){color:${"var(--colorPaletteTealForeground2)"};background-color:${"var(--colorPaletteTealBackground2)"}}:host([data-color='steel']){color:${"var(--colorPaletteSteelForeground2)"};background-color:${"var(--colorPaletteSteelBackground2)"}}:host([data-color='blue']){color:${"var(--colorPaletteBlueForeground2)"};background-color:${"var(--colorPaletteBlueBackground2)"}}:host([data-color='royal-blue']){color:${"var(--colorPaletteRoyalBlueForeground2)"};background-color:${"var(--colorPaletteRoyalBlueBackground2)"}}:host([data-color='cornflower']){color:${"var(--colorPaletteCornflowerForeground2)"};background-color:${"var(--colorPaletteCornflowerBackground2)"}}:host([data-color='navy']){color:${"var(--colorPaletteNavyForeground2)"};background-color:${"var(--colorPaletteNavyBackground2)"}}:host([data-color='lavender']){color:${"var(--colorPaletteLavenderForeground2)"};background-color:${"var(--colorPaletteLavenderBackground2)"}}:host([data-color='purple']){color:${"var(--colorPalettePurpleForeground2)"};background-color:${"var(--colorPalettePurpleBackground2)"}}:host([data-color='grape']){color:${"var(--colorPaletteGrapeForeground2)"};background-color:${"var(--colorPaletteGrapeBackground2)"}}:host([data-color='lilac']){color:${"var(--colorPaletteLilacForeground2)"};background-color:${"var(--colorPaletteLilacBackground2)"}}:host([data-color='pink']){color:${"var(--colorPalettePinkForeground2)"};background-color:${"var(--colorPalettePinkBackground2)"}}:host([data-color='magenta']){color:${"var(--colorPaletteMagentaForeground2)"};background-color:${"var(--colorPaletteMagentaBackground2)"}}:host([data-color='plum']){color:${"var(--colorPalettePlumForeground2)"};background-color:${"var(--colorPalettePlumBackground2)"}}:host([data-color='beige']){color:${"var(--colorPaletteBeigeForeground2)"};background-color:${"var(--colorPaletteBeigeBackground2)"}}:host([data-color='mink']){color:${"var(--colorPaletteMinkForeground2)"};background-color:${"var(--colorPaletteMinkBackground2)"}}:host([data-color='platinum']){color:${"var(--colorPalettePlatinumForeground2)"};background-color:${"var(--colorPalettePlatinumBackground2)"}}:host([data-color='anchor']){color:${"var(--colorPaletteAnchorForeground2)"};background-color:${"var(--colorPaletteAnchorBackground2)"}}:host([active]){transform:perspective(1px);transition-property:transform,opacity;transition-duration:${Rl},${Ol};transition-delay:${Ec},${Mc}}:host([active])::before{content:'';position:absolute;top:0;left:0;bottom:0;right:0;border-radius:inherit;transition-property:margin,opacity;transition-duration:${Rl}),${"var(--durationSlower)"};transition-delay:${Ec}),${Mc})}:host([active])::before{box-shadow:${Zs};border-style:solid;border-color:${"var(--colorBrandBackgroundStatic)"}}:host([active][appearance='shadow'])::before{border-style:none;border-color:none}:host([active]:not([appearance='shadow']))::before{margin:calc(-2 * ${cl});border-width:${cl}}:host([size='56'][active]:not([appearance='shadow']))::before,:host([size='64'][active]:not([appearance='shadow']))::before{margin:calc(-2 * ${dl});border-width:${dl}}: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 * ${"var(--strokeWidthThickest)"});border-width:${"var(--strokeWidthThickest)"}}:host([size='20'][active][appearance])::before,:host([size='24'][active][appearance])::before,:host([size='28'][active][appearance])::before{box-shadow:${Qs}}:host([size='56'][active][appearance])::before,:host([size='64'][active][appearance])::before{box-shadow:${Js}}: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:${"var(--shadow28)"}}:host([active][appearance='ring'])::before{box-shadow:none}:host([active='inactive']){opacity:0.8;transform:scale(0.875);transition-property:transform,opacity;transition-duration:${Rl},${Ol};transition-delay:${Dc},${Mc}}:host([active='inactive'])::before{margin:0;opacity:0;transition-property:margin,opacity;transition-duration:${Rl},${"var(--durationSlower)"};transition-delay:${Dc},${Mc}}@media screen and (prefers-reduced-motion:reduce){:host([active]){transition-duration:0.01ms}:host([active])::before{transition-duration:0.01ms;transition-delay:0.01ms}}`,jc=zc.compose({name:Et.prefix+"-avatar",template:Hc,styles:Rc}),Vc={filled:"filled",ghost:"ghost",outline:"outline",tint:"tint"},_c={brand:"brand",danger:"danger",important:"important",informative:"informative",severe:"severe",subtle:"subtle",success:"success",warning:"warning"},Gc={circular:"circular",rounded:"rounded",square:"square"},Xc={tiny:"tiny",extraSmall:"extra-small",small:"small",medium:"medium",large:"large",extraLarge:"extra-large"};var qc=Object.defineProperty,Wc=Object.getOwnPropertyDescriptor,Yc=(e,t,o,r)=>{for(var a,n=r>1?void 0:r?Wc(t,o):t,i=e.length-1;i>=0;i--)(a=e[i])&&(n=(r?a(t,o,n):a(n))||n);return r&&n&&qc(t,o,n),n};class Kc extends et{constructor(){super(...arguments),this.appearance=Vc.filled,this.color=_c.brand}}function Uc(e={}){return ye` ${wt(e)}<slot>${pt(e.defaultContent)}</slot>${Bt(e)} `}Yc([Oe],Kc.prototype,"appearance",2),Yc([Oe],Kc.prototype,"color",2),Yc([Oe],Kc.prototype,"shape",2),Yc([Oe],Kc.prototype,"size",2),Pt(Kc,$t);const Qc=Uc(),Zc=pl,Jc=j.partial`
14
- ${bt("inline-flex")} :host {
1
+ let pr;const gs="fast-kernel";try{if(document.currentScript)pr=document.currentScript.getAttribute(gs);else{const o=document.getElementsByTagName("script");pr=o[o.length-1].getAttribute(gs)}}catch{pr="isolate"}let xt;switch(pr){case"share":xt=Object.freeze({updateQueue:1,observable:2,contextEvent:3,elementRegistry:4});break;case"share-v2":xt=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)}`;xt=Object.freeze({updateQueue:`1.2${o}`,observable:`2.2${o}`,contextEvent:`3.2${o}`,elementRegistry:`4.2${o}`});break}const st=o=>typeof o=="function",Ue=o=>typeof o=="string",og=()=>{};var Ia=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};(function(){if(!(typeof globalThis<"u"))if(typeof Ia<"u")Ia.globalThis=Ia;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}})();const fs={configurable:!1,enumerable:!1,writable:!1};globalThis.FAST===void 0&&Reflect.defineProperty(globalThis,"FAST",Object.assign({value:Object.create(null)},fs));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}},fs))}U.error===void 0&&Object.assign(U,{warn(){},error(o){return new Error(`Error ${o}`)},addMessages(){}});const bs=Object.freeze([]);function za(){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 vs(){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 Qt(o){o.prototype.toJSON=og}const re=Object.freeze({none:0,attribute:1,booleanAttribute:2,property:3,content:4,tokenList:5,event:6}),ms=o=>o,rg=globalThis.trustedTypes?globalThis.trustedTypes.createPolicy("fast-html",{createHTML:ms}):{createHTML:ms};let gr=Object.freeze({createHTML(o){return rg.createHTML(o)},protect(o,e,t,r){return r}});const ag=gr,Zt=Object.freeze({get policy(){return gr},setPolicy(o){if(gr!==ag)throw U.error(1201);gr=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)}}),ue=U.getById(xt.updateQueue,()=>{const o=[],e=[],t=globalThis.requestAnimationFrame;let r=!0;function a(){if(e.length)throw e.shift()}function n(u){try{u.call()}catch(d){if(r)e.push(d),setTimeout(a,0);else throw o.length=0,d}}function i(){let d=0;for(;d<o.length;)if(n(o[d]),d++,d>1024){for(let l=0,h=o.length-d;l<h;l++)o[l]=o[l+d];o.length-=d,d=0}o.length=0}function c(u){o.push(u),o.length<2&&(r?t(i):i())}return Object.freeze({enqueue:c,next:()=>new Promise(c),process:i,setMode:u=>r=u})});class Na{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 a=this.sub1,n=this.sub2;a!==void 0&&a.handleChange(r,e),n!==void 0&&n.handleChange(r,e)}else for(let a=0,n=t.length;a<n;++a)t[a].handleChange(r,e)}}class ys{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,a;let n;t?n=(r=this.subscribers[t])!==null&&r!==void 0?r:this.subscribers[t]=new Na(this.subject):n=(a=this.subjectSubscribers)!==null&&a!==void 0?a:this.subjectSubscribers=new Na(this.subject),n.subscribe(e)}unsubscribe(e,t){var r,a;t?(r=this.subscribers[t])===null||r===void 0||r.unsubscribe(e):(a=this.subjectSubscribers)===null||a===void 0||a.unsubscribe(e)}}const La=Object.freeze({unknown:void 0,coupled:1}),N=U.getById(xt.observable,()=>{const o=ue.enqueue,e=/(:|&&|\|\||if|\?\.)/,t=new WeakMap;let r,a=d=>{throw U.error(1101)};function n(d){var l;let h=(l=d.$fastController)!==null&&l!==void 0?l:t.get(d);return h===void 0&&(Array.isArray(d)?h=a(d):t.set(d,h=new ys(d))),h}const i=vs();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,h){const p=this.field,g=l[p];if(g!==h){l[p]=h;const b=l[this.callback];st(b)&&b.call(l,g,h),n(l).notify(this.name)}}}class u extends Na{constructor(l,h,p=!1){super(l,h),this.expression=l,this.isVolatileBinding=p,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 h=this.observe(l.source,l.context);return!l.isBound&&this.requiresUnbind(l)&&l.onUnbind(this),h}requiresUnbind(l){return l.sourceLifetime!==La.coupled||this.first!==this.last||this.first.propertySource!==l.source}unbind(l){this.dispose()}observe(l,h){this.needsRefresh&&this.last!==null&&this.dispose();const p=r;r=this.needsRefresh?this:void 0,this.needsRefresh=this.isVolatileBinding;let g;try{g=this.expression(l,h)}finally{r=p}return g}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,h){const p=this.last,g=n(l),b=p===null?this.first:{};if(b.propertySource=l,b.propertyName=h,b.notifier=g,g.subscribe(this,h),p!==null){if(!this.needsRefresh){let $;r=void 0,$=p.propertySource[p.propertyName],r=this,l===$&&(this.needsRefresh=!0)}p.next=b}this.last=b}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 Qt(u),Object.freeze({setArrayObserverFactory(d){a=d},getNotifier:n,track(d,l){r&&r.watch(d,l)},trackVolatile(){r&&(r.needsRefresh=!0)},notify(d,l){n(d).notify(l)},defineProperty(d,l){Ue(l)&&(l=new c(l)),i(d).push(l),Reflect.defineProperty(d,l.name,{enumerable:!0,get(){return l.getValue(this)},set(h){l.setValue(this,h)}})},getAccessors:i,binding(d,l,h=this.isVolatileBinding(d)){return new u(d,l,h)},isVolatileBinding(d){return e.test(d.toString())}})});function m(o,e){N.defineProperty(o,e)}const $s=U.getById(xt.contextEvent,()=>{let o=null;return{get(){return o},set(e){o=e}}}),To=Object.freeze({default:{index:0,length:0,get event(){return To.getEvent()},eventDetail(){return this.event.detail},eventTarget(){return this.event.target}},getEvent(){return $s.get()},setEvent(o){$s.set(o)}});class fr{constructor(e,t,r=!1){this.evaluate=e,this.policy=t,this.isVolatile=r}}class ng extends fr{createObserver(e){return N.binding(this.evaluate,e,this.isVolatile)}}function ks(o,e,t=N.isVolatileBinding(o)){return new ng(o,e,t)}class xs extends fr{createObserver(){return this}bind(e){return this.evaluate(e.source,e.context)}}Qt(xs);function Bs(o,e){return new xs(o,e)}let ws;function Ss(o){return o.map(e=>e instanceof be?Ss(e.styles):[e]).reduce((e,t)=>e.concat(t),[])}class be{constructor(e){this.styles=e,this.targets=new WeakSet,this._strategy=null,this.behaviors=e.map(t=>t instanceof be?t.behaviors:null).reduce((t,r)=>r===null?t:t===null?r:t.concat(r),null)}get strategy(){return this._strategy===null&&this.withStrategy(ws),this._strategy}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(Ss(this.styles)),this}static setDefaultStrategy(e){ws=e}static normalize(e){return e===void 0?void 0:Array.isArray(e)?new be(e):e instanceof be?e:new be([e])}}be.supportsAdoptedStyleSheets=Array.isArray(document.adoptedStyleSheets)&&"replace"in CSSStyleSheet.prototype;const Da=za(),Oa=Object.freeze({getForInstance:Da.getForInstance,getByType:Da.getByType,define(o){return Da.register({type:o}),o}});function Ea(o,e,t){e.source.style.setProperty(o.targetAspect,t.bind(e))}class Ma{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 n=r.setAttribute;r.setAttribute=(i,c)=>{n.call(r,i,c),i==="style"&&r.$cssBindings.forEach((u,d)=>Ea(d,u.controller,u.observer))}}const a=(t=e[this.targetAspect])!==null&&t!==void 0?t:e[this.targetAspect]=this.dataBinding.createObserver(this,this);a.controller=e,e.source.$cssBindings.set(this,{controller:e,observer:a})}connectedCallback(e){Ea(this,e,e[this.targetAspect])}removedCallback(e){e.source.$cssBindings&&e.source.$cssBindings.delete(this)}handleChange(e,t){Ea(this,t.controller,t)}}Oa.define(Ma);const ig=`${Math.random().toString(36).substring(2,8)}`;let sg=0;const Ps=()=>`--v${ig}${++sg}`;function Cs(o,e){const t=[];let r="";const a=[],n=i=>{a.push(i)};for(let i=0,c=o.length-1;i<c;++i){r+=o[i];let u=e[i];st(u)?u=new Ma(ks(u),Ps()).createCSS(n):u instanceof fr?u=new Ma(u,Ps()).createCSS(n):Oa.getForInstance(u)!==void 0&&(u=u.createCSS(n)),u instanceof be||u instanceof CSSStyleSheet?(r.trim()!==""&&(t.push(r),r=""),t.push(u)):r+=u}return r+=o[o.length-1],r.trim()!==""&&t.push(r),{styles:t,behaviors:a}}const f=(o,...e)=>{const{styles:t,behaviors:r}=Cs(o,e),a=new be(t);return r.length?a.withBehaviors(...r):a};class Fs{constructor(e,t){this.behaviors=t,this.css="";const r=e.reduce((a,n)=>(Ue(n)?this.css+=n:a.push(n),a),[]);r.length&&(this.styles=new be(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)}}Oa.define(Fs),f.partial=(o,...e)=>{const{styles:t,behaviors:r}=Cs(o,e);return new Fs(t,r)};const Ha=`fast-${Math.random().toString(36).substring(2,8)}`,br=`${Ha}{`,Ao=`}${Ha}`,lg=Ao.length;let cg=0;const _a=()=>`${Ha}-${++cg}`,Ts=Object.freeze({interpolation:o=>`${br}${o}${Ao}`,attribute:o=>`${_a()}="${br}${o}${Ao}"`,comment:o=>`<!--${br}${o}${Ao}-->`}),vr=Object.freeze({parse(o,e){const t=o.split(br);if(t.length===1)return null;const r=[];for(let a=0,n=t.length;a<n;++a){const i=t[a],c=i.indexOf(Ao);let u;if(c===-1)u=i;else{const d=i.substring(0,c);r.push(e[d]),u=i.substring(c+lg)}u!==""&&r.push(u)}return r}}),Ra=za(),De=Object.freeze({getForInstance:Ra.getForInstance,getByType:Ra.getByType,define(o,e){return e=e||{},e.type=o,Ra.register(e),o},assignAspect(o,e){if(!e){o.aspectType=re.content;return}switch(o.sourceAspect=e,e[0]){case":":o.targetAspect=e.substring(1),o.aspectType=o.targetAspect==="classList"?re.tokenList:re.property;break;case"?":o.targetAspect=e.substring(1),o.aspectType=re.booleanAttribute;break;case"@":o.targetAspect=e.substring(1),o.aspectType=re.event;break;default:o.targetAspect=e,o.aspectType=re.attribute;break}}});class Va{constructor(e){this.options=e}createHTML(e){return Ts.attribute(e(this))}createBehavior(){return this}}Qt(Va);function dg(o,e,t,r){if(t==null&&(t=""),t.create){o.textContent="";let a=o.$fastView;a===void 0?a=t.create():o.$fastTemplate!==t&&(a.isComposed&&(a.remove(),a.unbind()),a=t.create()),a.isComposed?a.needsBindOnly&&(a.needsBindOnly=!1,a.bind(r.source,r.context)):(a.isComposed=!0,a.bind(r.source,r.context),a.insertBefore(o),o.$fastView=a,o.$fastTemplate=t)}else{const a=o.$fastView;a!==void 0&&a.isComposed&&(a.isComposed=!1,a.remove(),a.needsBindOnly?a.needsBindOnly=!1:a.unbind()),o.textContent=t}}function ug(o,e,t){var r;const a=`${this.id}-t`,n=(r=o[a])!==null&&r!==void 0?r:o[a]={v:0,cv:Object.create(null)},i=n.cv;let c=n.v;const u=o[e];if(t!=null&&t.length){const d=t.split(/\s+/);for(let l=0,h=d.length;l<h;++l){const p=d[l];p!==""&&(i[p]=c,u.add(p))}}if(n.v=c+1,c!==0){c-=1;for(const d in i)i[d]===c&&u.remove(d)}}const hg={[re.attribute]:Zt.setAttribute,[re.booleanAttribute]:Zt.setBooleanAttribute,[re.property]:(o,e,t)=>o[e]=t,[re.content]:dg,[re.tokenList]:ug,[re.event]:()=>{}};class Jt{constructor(e){this.dataBinding=e,this.updateTarget=null,this.aspectType=re.content}createHTML(e){return Ts.interpolation(e(this))}createBehavior(){var e;if(this.updateTarget===null){const t=hg[this.aspectType],r=(e=this.dataBinding.policy)!==null&&e!==void 0?e:this.policy;if(!t)throw U.error(1205);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];switch(this.aspectType){case re.event:r[this.data]=e,r.addEventListener(this.targetAspect,this,this.dataBinding.options);break;case re.content:e.onUnbind(this);default:const a=(t=r[this.data])!==null&&t!==void 0?t:r[this.data]=this.dataBinding.createObserver(this,this);a.target=r,a.controller=e,this.updateTarget(r,this.targetAspect,a.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){To.setEvent(e);const r=this.dataBinding.evaluate(t.source,t.context);To.setEvent(null),r!==!0&&e.preventDefault()}}handleChange(e,t){const r=t.target,a=t.controller;this.updateTarget(r,this.targetAspect,t.bind(a),a)}}De.define(Jt,{aspected:!0});function As(o,e){const t=o.parentNode;let r=o,a;for(;r!==e;)a=r.nextSibling,t.removeChild(r),r=a;t.removeChild(e)}class mr{constructor(e,t,r){this.fragment=e,this.factories=t,this.targets=r,this.behaviors=null,this.unbindables=[],this.source=null,this.isBound=!1,this.sourceLifetime=La.unknown,this.context=this,this.index=0,this.length=0,this.firstChild=e.firstChild,this.lastChild=e.lastChild}get event(){return To.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}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 a=this.firstChild,n;for(;a!==t;)n=a.nextSibling,r.insertBefore(a,e),a=n;r.insertBefore(t,e)}}remove(){const e=this.fragment,t=this.lastChild;let r=this.firstChild,a;for(;r!==t;)a=r.nextSibling,e.appendChild(r),r=a;e.appendChild(t)}dispose(){As(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 a=this.factories;for(let n=0,i=a.length;n<i;++n){const c=a[n].createBehavior();c.bind(this),r[n]=c}}else{this.source!==null&&this.evaluateUnbindables(),this.isBound=!1,this.source=e,this.context=t;for(let a=0,n=r.length;a<n;++a)r[a].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){As(e[0].firstChild,e[e.length-1].lastChild);for(let t=0,r=e.length;t<r;++t)e[t].unbind()}}}Qt(mr),N.defineProperty(mr.prototype,"index"),N.defineProperty(mr.prototype,"length");const Is=(o,e)=>`${o}.${e}`,zs={},Oe={index:0,node:null};function Ns(o){o.startsWith("fast-")||U.warn(1204,{name:o})}const pg=new Proxy(document.createElement("div"),{get(o,e){Ns(e);const t=Reflect.get(o,e);return st(t)?t.bind(o):t},set(o,e,t){return Ns(e),Reflect.set(o,e,t)}});class gg{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,a,n){var i,c;this.nodeIds.has(r)||(this.nodeIds.add(r),this.addTargetDescriptor(t,r,a)),e.id=(i=e.id)!==null&&i!==void 0?i:_a(),e.targetNodeId=r,e.targetTagName=n,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 a=this.descriptors;if(t==="r"||t==="h"||a[t])return;if(!a[e]){const i=e.lastIndexOf("."),c=e.substring(0,i),u=parseInt(e.substring(i+1));this.addTargetDescriptor(c,e,u)}let n=zs[t];if(!n){const i=`_${t}`;zs[t]=n={get(){var c;return(c=this[i])!==null&&c!==void 0?c:this[i]=this[e].childNodes[r]}}}a[t]=n}createView(e){const t=this.fragment.cloneNode(!0),r=Object.create(this.proto);r.r=t,r.h=e??pg;for(const a of this.nodeIds)r[a];return new mr(t,this.factories,r)}}function Ls(o,e,t,r,a,n=!1){const i=t.attributes,c=o.directives;for(let u=0,d=i.length;u<d;++u){const l=i[u],h=l.value,p=vr.parse(h,c);let g=null;p===null?n&&(g=new Jt(Bs(()=>h,o.policy)),De.assignAspect(g,l.name)):g=ja.aggregate(p,o.policy),g!==null&&(t.removeAttributeNode(l),u--,d--,o.addFactory(g,e,r,a,t.tagName))}}function fg(o,e,t,r,a){const n=vr.parse(e.textContent,o.directives);if(n===null)return Oe.node=e.nextSibling,Oe.index=a+1,Oe;let i,c=i=e;for(let u=0,d=n.length;u<d;++u){const l=n[u];u!==0&&(a++,r=Is(t,a),i=c.parentNode.insertBefore(document.createTextNode(""),c.nextSibling)),Ue(l)?i.textContent=l:(i.textContent=" ",De.assignAspect(l),o.addFactory(l,t,r,a,null)),c=i}return Oe.index=a+1,Oe.node=c.nextSibling,Oe}function Ds(o,e,t){let r=0,a=e.firstChild;for(;a;){const n=bg(o,t,a,r);a=n.node,r=n.index}}function bg(o,e,t,r){const a=Is(e,r);switch(t.nodeType){case 1:Ls(o,e,t,a,r),Ds(o,t,a);break;case 3:return fg(o,t,e,a,r);case 8:const n=vr.parse(t.data,o.directives);n!==null&&o.addFactory(ja.aggregate(n),e,a,r,null);break}return Oe.index=r+1,Oe.node=t.nextSibling,Oe}function vg(o,e){return o&&o.nodeType==8&&vr.parse(o.data,e)!==null}const Os="TEMPLATE",ja={compile(o,e,t=Zt.policy){let r;if(Ue(o)){r=document.createElement(Os),r.innerHTML=t.createHTML(o);const i=r.content.firstElementChild;i!==null&&i.tagName===Os&&(r=i)}else r=o;!r.content.firstChild&&!r.content.lastChild&&r.content.appendChild(document.createComment(""));const a=document.adoptNode(r.content),n=new gg(a,e,t);return Ls(n,"",r,"h",0,!0),(vg(a.firstChild,e)||a.childNodes.length===1&&Object.keys(e).length>0)&&a.insertBefore(document.createComment(""),a.firstChild),Ds(n,a,"r"),Oe.node=null,n.freeze()},setDefaultStrategy(o){this.compile=o},aggregate(o,e=Zt.policy){if(o.length===1)return o[0];let t,r,a=!1,n;const i=o.length,c=o.map(l=>Ue(l)?()=>l:(t=l.sourceAspect||t,r=l.dataBinding||r,a=a||l.dataBinding.isVolatile,n=n||l.dataBinding.policy,l.dataBinding.evaluate)),u=(l,h)=>{let p="";for(let g=0;g<i;++g)p+=c[g](l,h);return p};r.evaluate=u,r.isVolatile=a,r.policy=n??e;const d=new Jt(r);return De.assignAspect(d,t),d}},mg=/([ \x09\x0a\x0c\x0d])([^\0-\x1F\x7F-\x9F "'>=/]+)([ \x09\x0a\x0c\x0d]*=[ \x09\x0a\x0c\x0d]*(?:[^ \x09\x0a\x0c\x0d"'`<>=]*|"[^"]*|'[^']*))$/,yg=Object.create(null);class Bt{constructor(e,t=yg){this.html=e,this.factories=t}createHTML(e){const t=this.factories;for(const r in t)e(t[r]);return this.html}}Bt.empty=new Bt(""),De.define(Bt);function $g(o,e,t,r=De.getForInstance(o)){if(r.aspected){const a=mg.exec(e);a!==null&&De.assignAspect(o,a[2])}return o.createHTML(t)}class Ca{constructor(e,t={},r){this.policy=r,this.result=null,this.html=e,this.factories=t}create(e){return this.result===null&&(this.result=ja.compile(this.html,this.factories,this.policy)),this.result.createView(e)}inline(){return new Bt(Ue(this.html)?this.html:this.html.innerHTML,this.factories)}withPolicy(e){if(this.result)throw U.error(1208);if(this.policy)throw U.error(1207);return this.policy=e,this}render(e,t,r){const a=this.create(r);return a.bind(e),a.appendTo(t),a}static create(e,t,r){let a="";const n=Object.create(null),i=c=>{var u;const d=(u=c.id)!==null&&u!==void 0?u:c.id=_a();return n[d]=c,d};for(let c=0,u=e.length-1;c<u;++c){const d=e[c];let l=t[c],h;if(a+=d,st(l))l=new Jt(ks(l));else if(l instanceof fr)l=new Jt(l);else if(!(h=De.getForInstance(l))){const p=l;l=new Jt(Bs(()=>p))}a+=$g(l,d,i,h)}return new Ca(a+e[e.length-1],n,r)}}Qt(Ca);const v=(o,...e)=>{if(Array.isArray(o)&&Array.isArray(o.raw))return Ca.create(o,e);throw U.error(1206)};v.partial=o=>new Bt(o);class Es extends Va{bind(e){e.source[this.options]=e.targets[this.targetNodeId]}}De.define(Es);const Fe=o=>new Es(o),kg=()=>null;function Ms(o){return o===void 0?kg:st(o)?o:()=>o}function eo(o,e,t){const r=st(o)?o:()=>o,a=Ms(e),n=Ms(t);return(i,c)=>r(i,c)?a(i,c):n(i,c)}const xg=o=>o.nodeType===1,to=o=>o?e=>e.nodeType===1&&e.matches(o):xg;class Bg extends Va{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,bs),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 Hs="slotchange";class _s extends Bg{observe(e){e.addEventListener(Hs,this)}disconnect(e){e.removeEventListener(Hs,this)}getNodes(e){return e.assignedNodes(this.options)}handleEvent(e){const t=e.currentTarget;this.updateTarget(this.getSource(t),this.computeNodes(t))}}De.define(_s);function Y(o){return Ue(o)&&(o={property:o}),new _s(o)}const Rs="boolean",Vs="reflect",yr=Object.freeze({locate:vs()}),js={toView(o){return o?"true":"false"},fromView(o){return!(o==null||o==="false"||o===!1||o===0)}};function Gs(o){if(o==null)return null;const e=o*1;return isNaN(e)?null:e}const ve={toView(o){const e=Gs(o);return e&&e.toString()},fromView:Gs};class Fa{constructor(e,t,r=t.toLowerCase(),a=Vs,n){this.guards=new Set,this.Owner=e,this.name=t,this.attribute=r,this.mode=a,this.converter=n,this.fieldName=`_${t}`,this.callbackName=`${t}Changed`,this.hasCallback=this.callbackName in e.prototype,a===Rs&&n===void 0&&(this.converter=js)}setValue(e,t){const r=e[this.fieldName],a=this.converter;a!==void 0&&(t=a.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 N.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"||ue.enqueue(()=>{r.add(e);const a=e[this.fieldName];switch(t){case Vs:const n=this.converter;Zt.setAttribute(e,this.attribute,n!==void 0?n.toView(a):a);break;case Rs:Zt.setBooleanAttribute(e,this.attribute,a);break}r.delete(e)})}static collect(e,...t){const r=[];t.push(yr.locate(e));for(let a=0,n=t.length;a<n;++a){const i=t[a];if(i!==void 0)for(let c=0,u=i.length;c<u;++c){const d=i[c];Ue(d)?r.push(new Fa(e,d)):r.push(new Fa(e,d.property,d.attribute,d.mode,d.converter))}}return r}}function s(o,e){let t;function r(a,n){arguments.length>1&&(t.property=n),yr.locate(a.constructor).push(t)}if(arguments.length>1){t={},r(o,e);return}return t=o===void 0?{}:o,r}const Ws={mode:"open"},qs={},Xs=new Set,$r=U.getById(xt.elementRegistry,()=>za());class Le{constructor(e,t=e.definition){var r;this.platformDefined=!1,Ue(t)&&(t={name:t}),this.type=e,this.name=t.name,this.template=t.template,this.registry=(r=t.registry)!==null&&r!==void 0?r:customElements;const a=e.prototype,n=Fa.collect(e,t.attributes),i=new Array(n.length),c={},u={};for(let d=0,l=n.length;d<l;++d){const h=n[d];i[d]=h.attribute,c[h.name]=h,u[h.attribute]=h,N.defineProperty(a,h)}Reflect.defineProperty(e,"observedAttributes",{value:i,enumerable:!0}),this.attributes=n,this.propertyLookup=c,this.attributeLookup=u,this.shadowOptions=t.shadowOptions===void 0?Ws:t.shadowOptions===null?void 0:Object.assign(Object.assign({},Ws),t.shadowOptions),this.elementOptions=t.elementOptions===void 0?qs:Object.assign(Object.assign({},qs),t.elementOptions),this.styles=be.normalize(t.styles),$r.register(this)}get isDefined(){return this.platformDefined}define(e=this.registry){const t=this.type;return e.get(this.name)||(this.platformDefined=!0,e.define(this.name,t,this.elementOptions)),this}static compose(e,t){return Xs.has(e)||$r.getByType(e)?new Le(class extends e{},t):new Le(e,t)}static registerBaseType(e){Xs.add(e)}}Le.getByType=$r.getByType,Le.getForInstance=$r.getForInstance;const wg={bubbles:!0,composed:!0,cancelable:!0},Ga="isConnected",Ks=new WeakMap;function kr(o){var e,t;return(t=(e=o.shadowRoot)!==null&&e!==void 0?e:Ks.get(o))!==null&&t!==void 0?t:null}let Us;class xr extends ys{constructor(e,t){super(e),this.boundObservables=null,this.needsInitialization=!0,this.hasExistingShadowRoot=!1,this._template=null,this.stage=3,this.guardBehaviorConnection=!1,this.behaviors=null,this._mainStyles=null,this.$fastController=this,this.view=null,this.source=e,this.definition=t;const r=t.shadowOptions;if(r!==void 0){let n=e.shadowRoot;n?this.hasExistingShadowRoot=!0:(n=e.attachShadow(r),r.mode==="closed"&&Ks.set(e,n))}const a=N.getAccessors(e);if(a.length>0){const n=this.boundObservables=Object.create(null);for(let i=0,c=a.length;i<c;++i){const u=a[i].name,d=e[u];d!==void 0&&(delete e[u],n[u]=d)}}}get isConnected(){return N.track(this,Ga),this.stage===1}get context(){var e,t;return(t=(e=this.view)===null||e===void 0?void 0:e.context)!==null&&t!==void 0?t:To.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 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))}onUnbind(e){var t;(t=this.view)===null||t===void 0||t.onUnbind(e)}addBehavior(e){var t,r;const a=(t=this.behaviors)!==null&&t!==void 0?t:this.behaviors=new Map,n=(r=a.get(e))!==null&&r!==void 0?r:0;n===0?(a.set(e,1),e.addedCallback&&e.addedCallback(this),e.connectedCallback&&!this.guardBehaviorConnection&&(this.stage===1||this.stage===0)&&e.connectedCallback(this)):a.set(e,n+1)}removeBehavior(e,t=!1){const r=this.behaviors;if(r===null)return;const a=r.get(e);a!==void 0&&(a===1||t?(r.delete(e),e.disconnectedCallback&&this.stage!==3&&e.disconnectedCallback(this),e.removedCallback&&e.removedCallback(this)):r.set(e,a-1))}addStyles(e){var t;if(!e)return;const r=this.source;if(e instanceof HTMLElement)((t=kr(r))!==null&&t!==void 0?t:this.source).append(e);else if(!e.isAttachedTo(r)){const a=e.behaviors;if(e.addStylesTo(r),a!==null)for(let n=0,i=a.length;n<i;++n)this.addBehavior(a[n])}}removeStyles(e){var t;if(!e)return;const r=this.source;if(e instanceof HTMLElement)((t=kr(r))!==null&&t!==void 0?t:r).removeChild(e);else if(e.isAttachedTo(r)){const a=e.behaviors;if(e.removeStylesFrom(r),a!==null)for(let n=0,i=a.length;n<i;++n)this.removeBehavior(a[n])}}connect(){if(this.stage!==3)return;if(this.stage=0,this.boundObservables!==null){const t=this.source,r=this.boundObservables,a=Object.keys(r);for(let n=0,i=a.length;n<i;++n){const c=a[n];t[c]=r[c]}this.boundObservables=null}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.needsInitialization?(this.renderTemplate(this.template),this.addStyles(this.mainStyles),this.needsInitialization=!1):this.view!==null&&this.view.bind(this.source),this.stage=1,N.notify(this,Ga)}disconnect(){if(this.stage!==1)return;this.stage=2,N.notify(this,Ga),this.view!==null&&this.view.unbind();const e=this.behaviors;if(e!==null)for(const t of e.keys())t.disconnectedCallback&&t.disconnectedCallback(this);this.stage=3}onAttributeChangedCallback(e,t,r){const a=this.definition.attributeLookup[e];a!==void 0&&a.onAttributeChangedCallback(this.source,r)}emit(e,t,r){return this.stage===1?this.source.dispatchEvent(new CustomEvent(e,Object.assign(Object.assign({detail:t},wg),r))):!1}renderTemplate(e){var t;const r=this.source,a=(t=kr(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 n=a.firstChild;n!==null;n=a.firstChild)a.removeChild(n)}e&&(this.view=e.render(r,a,r),this.view.sourceLifetime=La.coupled)}static forCustomElement(e){const t=e.$fastController;if(t!==void 0)return t;const r=Le.getForInstance(e);if(r===void 0)throw U.error(1401);return e.$fastController=new Us(e,r)}static setStrategy(e){Us=e}}Qt(xr),xr.setStrategy(xr);function Br(o){var e;return"adoptedStyleSheets"in o?o:(e=kr(o))!==null&&e!==void 0?e:o.getRootNode()}class Ta{constructor(e){const t=Ta.styleSheetCache;this.sheets=e.map(r=>{if(r instanceof CSSStyleSheet)return r;let a=t.get(r);return a===void 0&&(a=new CSSStyleSheet,a.replaceSync(r),t.set(r,a)),a})}addStylesTo(e){Qs(Br(e),this.sheets)}removeStylesFrom(e){Zs(Br(e),this.sheets)}}Ta.styleSheetCache=new Map;let Sg=0;const Pg=()=>`fast-${++Sg}`;function Ys(o){return o===document?document.body:o}class Cg{constructor(e){this.styles=e,this.styleClass=Pg()}addStylesTo(e){e=Ys(Br(e));const t=this.styles,r=this.styleClass;for(let a=0;a<t.length;a++){const n=document.createElement("style");n.innerHTML=t[a],n.className=r,e.append(n)}}removeStylesFrom(e){e=Ys(Br(e));const t=e.querySelectorAll(`.${this.styleClass}`);for(let r=0,a=t.length;r<a;++r)e.removeChild(t[r])}}let Qs=(o,e)=>{o.adoptedStyleSheets=[...o.adoptedStyleSheets,...e]},Zs=(o,e)=>{o.adoptedStyleSheets=o.adoptedStyleSheets.filter(t=>e.indexOf(t)===-1)};if(be.supportsAdoptedStyleSheets){try{document.adoptedStyleSheets.push(),document.adoptedStyleSheets.splice(),Qs=(o,e)=>{o.adoptedStyleSheets.push(...e)},Zs=(o,e)=>{for(const t of e){const r=o.adoptedStyleSheets.indexOf(t);r!==-1&&o.adoptedStyleSheets.splice(r,1)}}}catch{}be.setDefaultStrategy(Ta)}else be.setDefaultStrategy(Cg);function Js(o){const e=class extends o{constructor(){super(),xr.forCustomElement(this)}$emit(t,r,a){return this.$fastController.emit(t,r,a)}connectedCallback(){this.$fastController.connect()}disconnectedCallback(){this.$fastController.disconnect()}attributeChangedCallback(t,r,a){this.$fastController.onAttributeChangedCallback(t,r,a)}};return Le.registerBaseType(e),e}function Fg(o,e){return st(o)?Le.compose(o,e):Le.compose(this,o)}function Tg(o,e){return st(o)?Le.compose(o,e).define().type:Le.compose(this,o).define().type}function Ag(o){return Js(o)}const S=Object.assign(Js(HTMLElement),{from:Ag,define:Tg,compose:Fg}),he={horizontal:"horizontal",vertical:"vertical"};function el(...o){return o.every(e=>e instanceof HTMLElement)}const oo="ArrowDown",ro="ArrowLeft",ao="ArrowRight",no="ArrowUp",wr="End",io="Enter",Wa="Escape",Sr="Home",so=" ",tl="Tab",Ig={ArrowDown:oo,ArrowLeft:ro,ArrowRight:ao,ArrowUp:no};var we;(function(o){o.ltr="ltr",o.rtl="rtl"})(we||(we={}));function zg(o,e,t){return t<o?e:t>e?o:t}function qa(o,e,t){return Math.min(Math.max(t,o),e)}let Ng=0;function Xa(o=""){return`${o}${Ng++}`}var Lg=Object.defineProperty,Dg=Object.getOwnPropertyDescriptor,M=(o,e,t,r)=>{for(var a=r>1?void 0:r?Dg(e,t):e,n=o.length-1,i;n>=0;n--)(i=o[n])&&(a=(r?i(e,t,a):i(a))||a);return r&&a&&Lg(e,t,a),a};class D{}M([s({attribute:"aria-atomic"})],D.prototype,"ariaAtomic",2),M([s({attribute:"aria-busy"})],D.prototype,"ariaBusy",2),M([s({attribute:"aria-controls"})],D.prototype,"ariaControls",2),M([s({attribute:"aria-current"})],D.prototype,"ariaCurrent",2),M([s({attribute:"aria-describedby"})],D.prototype,"ariaDescribedby",2),M([s({attribute:"aria-details"})],D.prototype,"ariaDetails",2),M([s({attribute:"aria-disabled"})],D.prototype,"ariaDisabled",2),M([s({attribute:"aria-errormessage"})],D.prototype,"ariaErrormessage",2),M([s({attribute:"aria-flowto"})],D.prototype,"ariaFlowto",2),M([s({attribute:"aria-haspopup"})],D.prototype,"ariaHaspopup",2),M([s({attribute:"aria-hidden"})],D.prototype,"ariaHidden",2),M([s({attribute:"aria-invalid"})],D.prototype,"ariaInvalid",2),M([s({attribute:"aria-keyshortcuts"})],D.prototype,"ariaKeyshortcuts",2),M([s({attribute:"aria-label"})],D.prototype,"ariaLabel",2),M([s({attribute:"aria-labelledby"})],D.prototype,"ariaLabelledby",2),M([s({attribute:"aria-live"})],D.prototype,"ariaLive",2),M([s({attribute:"aria-owns"})],D.prototype,"ariaOwns",2),M([s({attribute:"aria-relevant"})],D.prototype,"ariaRelevant",2),M([s({attribute:"aria-roledescription"})],D.prototype,"ariaRoledescription",2);const Ka=o=>o.closest("[dir]")?.dir==="rtl"?we.rtl:we.ltr;function Q(o){return o?typeof o=="string"?new Bt(o):"inline"in o?o.inline():o:Bt.empty}const ol=o=>o.nodeType!==Node.TEXT_NODE||!!o.nodeValue?.trim().length,Og=":host([hidden]){display:none}";function F(o){return`${Og}:host{display:${o}}`}class Eg{constructor(e){this.listenerCache=new WeakMap,this.query=e}connectedCallback(e){const{query:t}=this;let r=this.listenerCache.get(e);r||(r=this.constructListener(e),this.listenerCache.set(e,r)),r.bind(t)(),t.addEventListener("change",r)}disconnectedCallback(e){const t=this.listenerCache.get(e);t&&this.query.removeEventListener("change",t)}}class hr extends Eg{constructor(e,t){super(e),this.styles=t}static with(e){return t=>new hr(e,t)}constructListener(e){let t=!1;const r=this.styles;return function(){const{matches:n}=this;n&&!t?(e.addStyles(r),t=n):!n&&t&&(e.removeStyles(r),t=n)}}removedCallback(e){e.removeStyles(this.styles)}}const Ee=hr.with(window.matchMedia("(forced-colors)")),Mg=hr.with(window.matchMedia("(prefers-color-scheme: dark)")),Hg=hr.with(window.matchMedia("(prefers-color-scheme: light)"));class Ye{}function Qe(o){return v`<slot name="end" ${Fe("end")}>${Q(o.end)}</slot>`.inline()}function Ze(o){return v`<slot name="start" ${Fe("start")}>${Q(o.start)}</slot>`.inline()}function Te(o,...e){const t=yr.locate(o);e.forEach(r=>{Object.getOwnPropertyNames(r.prototype).forEach(n=>{n!=="constructor"&&Object.defineProperty(o.prototype,n,Object.getOwnPropertyDescriptor(r.prototype,n))}),yr.locate(r).forEach(n=>t.push(n))})}var _g=Object.defineProperty,Rg=Object.getOwnPropertyDescriptor,wt=(o,e,t,r)=>{for(var a=r>1?void 0:r?Rg(e,t):e,n=o.length-1,i;n>=0;n--)(i=o[n])&&(a=(r?i(e,t,a):i(a))||a);return r&&a&&_g(e,t,a),a};class ae extends S{constructor(){super(...arguments),this.headinglevel=2,this.expanded=!1,this.disabled=!1,this.id=Xa("accordion-"),this.block=!1,this.clickHandler=e=>{this.disabled||this.$emit("click",e)}}}wt([s({attribute:"heading-level",mode:"fromView",converter:ve})],ae.prototype,"headinglevel",2),wt([s({mode:"boolean"})],ae.prototype,"expanded",2),wt([s({mode:"boolean"})],ae.prototype,"disabled",2),wt([s],ae.prototype,"id",2),wt([s],ae.prototype,"size",2),wt([s({mode:"boolean"})],ae.prototype,"block",2),wt([s({attribute:"expand-icon-position"})],ae.prototype,"expandIconPosition",2),Te(ae,Ye);const Pr={single:"single",multi:"multi"};var Vg=Object.defineProperty,jg=Object.getOwnPropertyDescriptor,rl=(o,e,t,r)=>{for(var a=r>1?void 0:r?jg(e,t):e,n=o.length-1,i;n>=0;n--)(i=o[n])&&(a=(r?i(e,t,a):i(a))||a);return r&&a&&Vg(e,t,a),a};class Cr extends S{constructor(){super(...arguments),this.expandmode=Pr.multi,this.activeItemIndex=0,this.change=()=>{this.$emit("change",this.activeid)},this.setItems=()=>{if(this.slottedAccordionItems.length===0)return;const e=Array.from(this.children);if(this.removeItemListeners(e),e.forEach(t=>N.getNotifier(t).subscribe(this,"disabled")),this.accordionItems=e.filter(t=>!t.hasAttribute("disabled")),this.accordionIds=this.getItemIds(),this.accordionItems.forEach((t,r)=>{t instanceof ae&&(t.addEventListener("click",this.activeItemChange),t.addEventListener("keydown",this.handleItemKeyDown),t.addEventListener("focus",this.handleItemFocus),N.getNotifier(t).subscribe(this,"expanded"));const a=this.accordionIds[r];t.setAttribute("id",typeof a!="string"?`accordion-${r+1}`:a),this.activeid=this.accordionIds[this.activeItemIndex]}),this.isSingleExpandMode()){const t=this.findExpandedItem();this.setSingleExpandMode(t)}},this.removeItemListeners=e=>{e.forEach((t,r)=>{N.getNotifier(t).unsubscribe(this,"disabled"),N.getNotifier(t).unsubscribe(this,"expanded"),t.removeEventListener("click",this.activeItemChange),t.removeEventListener("keydown",this.handleItemKeyDown),t.removeEventListener("focus",this.handleItemFocus)})},this.activeItemChange=e=>{e.defaultPrevented||e.target!==e.currentTarget||(e.preventDefault(),this.handleExpandedChange(e.target))},this.handleExpandedChange=e=>{e instanceof ae&&(this.activeid=e.getAttribute("id"),this.isSingleExpandMode()?this.setSingleExpandMode(e):(e.expanded=!e.expanded,this.activeItemIndex=this.accordionItems.indexOf(e)),this.change())},this.handleItemKeyDown=e=>{if(e.target===e.currentTarget)switch(this.accordionIds=this.getItemIds(),e.key){case no:e.preventDefault(),this.adjust(-1);break;case oo:e.preventDefault(),this.adjust(1);break;case Sr:this.activeItemIndex=0,this.focusItem();break;case wr:this.activeItemIndex=this.accordionItems.length-1,this.focusItem();break}},this.handleItemFocus=e=>{if(e.target===e.currentTarget){const t=e.target,r=this.activeItemIndex=Array.from(this.accordionItems).indexOf(t);this.activeItemIndex!==r&&r!==-1&&(this.activeItemIndex=r,this.activeid=this.accordionIds[this.activeItemIndex])}}}expandmodeChanged(e,t){if(!this.$fastController.isConnected)return;const r=this.findExpandedItem();r&&(t!==Pr.single?r?.expandbutton.removeAttribute("aria-disabled"):this.setSingleExpandMode(r))}slottedAccordionItemsChanged(e,t){this.$fastController.isConnected&&this.setItems()}handleChange(e,t){t==="disabled"?this.setItems():t==="expanded"&&e.expanded&&this.isSingleExpandMode()&&this.setSingleExpandMode(e)}findExpandedItem(){return this.accordionItems.length===0?null:this.accordionItems.find(e=>e instanceof ae&&e.expanded)??this.accordionItems[0]}setSingleExpandMode(e){if(this.accordionItems.length===0)return;const t=Array.from(this.accordionItems);this.activeItemIndex=t.indexOf(e),t.forEach((r,a)=>{r instanceof ae&&(this.activeItemIndex===a?(r.expanded=!0,r.expandbutton.setAttribute("aria-disabled","true")):(r.expanded=!1,r.hasAttribute("disabled")||r.expandbutton.removeAttribute("aria-disabled")))})}getItemIds(){return this.slottedAccordionItems.map(e=>e.id)}isSingleExpandMode(){return this.expandmode===Pr.single}adjust(e){this.activeItemIndex=zg(0,this.accordionItems.length-1,this.activeItemIndex+e),this.focusItem()}focusItem(){const e=this.accordionItems[this.activeItemIndex];e instanceof ae&&e.expandbutton.focus()}}rl([s({attribute:"expand-mode"})],Cr.prototype,"expandmode",2),rl([m],Cr.prototype,"slottedAccordionItems",2);function Gg(){return v`<template><slot ${Y({property:"slottedAccordionItems",filter:to()})}></slot></template>`}const al=Gg(),nl=f`
2
+ ${F("flex")}
3
+
4
+ :host{flex-direction:column;width:100%;contain:content}`,x=Object.freeze({prefix:"fluent",shadowRootMode:"open",registry:customElements}),Wg=Cr.compose({name:`${x.prefix}-accordion`,template:al,styles:nl}),qg={small:"small",medium:"medium",large:"large",extraLarge:"extra-large"},Xg={start:"start",end:"end"},O="var(--colorNeutralForeground1)",Io="var(--colorNeutralForeground1Hover)",Fr="var(--colorNeutralForeground1Pressed)",il="var(--colorNeutralForeground1Selected)",ne="var(--colorNeutralForeground2)",St="var(--colorNeutralForeground2Hover)",Pt="var(--colorNeutralForeground2Pressed)",Ua="var(--colorNeutralForeground2Selected)",lt="var(--colorNeutralForeground2BrandHover)",ct="var(--colorNeutralForeground2BrandPressed)",Ya="var(--colorNeutralForeground2BrandSelected)",W="var(--colorNeutralForeground3)",Qa="var(--colorNeutralForeground3Hover)",Za="var(--colorNeutralForeground3Pressed)",sl="var(--colorNeutralForeground3Selected)",ll="var(--colorNeutralForeground3BrandHover)",cl="var(--colorNeutralForeground3BrandPressed)",dl="var(--colorNeutralForeground3BrandSelected)",Ja="var(--colorNeutralForeground4)",k="var(--colorNeutralForegroundDisabled)",ul="var(--colorBrandForegroundLink)",hl="var(--colorBrandForegroundLinkHover)",pl="var(--colorBrandForegroundLinkPressed)",gl="var(--colorBrandForegroundLinkSelected)",fl="var(--colorNeutralForeground2Link)",bl="var(--colorNeutralForeground2LinkHover)",vl="var(--colorNeutralForeground2LinkPressed)",ml="var(--colorNeutralForeground2LinkSelected)",zo="var(--colorCompoundBrandForeground1)",No="var(--colorCompoundBrandForeground1Hover)",Lo="var(--colorCompoundBrandForeground1Pressed)",pe="var(--colorNeutralForegroundOnBrand)",lo="var(--colorNeutralForegroundInverted)",en="var(--colorNeutralForegroundInvertedHover)",tn="var(--colorNeutralForegroundInvertedPressed)",yl="var(--colorNeutralForegroundInvertedSelected)",$l="var(--colorNeutralForegroundInverted2)",Tr="var(--colorNeutralForegroundStaticInverted)",kl="var(--colorNeutralForegroundInvertedLink)",xl="var(--colorNeutralForegroundInvertedLinkHover)",Bl="var(--colorNeutralForegroundInvertedLinkPressed)",wl="var(--colorNeutralForegroundInvertedLinkSelected)",Sl="var(--colorNeutralForegroundInvertedDisabled)",Do="var(--colorBrandForeground1)",on="var(--colorBrandForeground2)",Pl="var(--colorBrandForeground2Hover)",Cl="var(--colorBrandForeground2Pressed)",rn="var(--colorNeutralForeground1Static)",Fl="var(--colorBrandForegroundInverted)",Tl="var(--colorBrandForegroundInvertedHover)",Al="var(--colorBrandForegroundInvertedPressed)",Il="var(--colorBrandForegroundOnLight)",zl="var(--colorBrandForegroundOnLightHover)",Nl="var(--colorBrandForegroundOnLightPressed)",Ll="var(--colorBrandForegroundOnLightSelected)",_="var(--colorNeutralBackground1)",co="var(--colorNeutralBackground1Hover)",Oo="var(--colorNeutralBackground1Pressed)",Ar="var(--colorNeutralBackground1Selected)",Dl="var(--colorNeutralBackground2)",Ol="var(--colorNeutralBackground2Hover)",El="var(--colorNeutralBackground2Pressed)",Ml="var(--colorNeutralBackground2Selected)",Ir="var(--colorNeutralBackground3)",Hl="var(--colorNeutralBackground3Hover)",_l="var(--colorNeutralBackground3Pressed)",Rl="var(--colorNeutralBackground3Selected)",an="var(--colorNeutralBackground4)",Vl="var(--colorNeutralBackground4Hover)",jl="var(--colorNeutralBackground4Pressed)",Gl="var(--colorNeutralBackground4Selected)",nn="var(--colorNeutralBackground5)",Wl="var(--colorNeutralBackground5Hover)",ql="var(--colorNeutralBackground5Pressed)",Xl="var(--colorNeutralBackground5Selected)",zr="var(--colorNeutralBackground6)",sn="var(--colorNeutralBackgroundInverted)",Kl="var(--colorNeutralBackgroundStatic)",Ul="var(--colorNeutralBackgroundAlpha)",Yl="var(--colorNeutralBackgroundAlpha2)",Nr="var(--colorSubtleBackground)",uo="var(--colorSubtleBackgroundHover)",Ct="var(--colorSubtleBackgroundPressed)",ln="var(--colorSubtleBackgroundSelected)",Ql="var(--colorSubtleBackgroundLightAlphaHover)",Zl="var(--colorSubtleBackgroundLightAlphaPressed)",Jl="var(--colorSubtleBackgroundLightAlphaSelected)",ec="var(--colorSubtleBackgroundInverted)",tc="var(--colorSubtleBackgroundInvertedHover)",oc="var(--colorSubtleBackgroundInvertedPressed)",rc="var(--colorSubtleBackgroundInvertedSelected)",q="var(--colorTransparentBackground)",dt="var(--colorTransparentBackgroundHover)",Ft="var(--colorTransparentBackgroundPressed)",cn="var(--colorTransparentBackgroundSelected)",Tt="var(--colorNeutralBackgroundDisabled)",ac="var(--colorNeutralBackgroundInvertedDisabled)",nc="var(--colorNeutralStencil1)",ic="var(--colorNeutralStencil2)",sc="var(--colorNeutralStencil1Alpha)",lc="var(--colorNeutralStencil2Alpha)",dn="var(--colorBackgroundOverlay)",cc="var(--colorScrollbarOverlay)",ho="var(--colorBrandBackground)",Eo="var(--colorBrandBackgroundHover)",Mo="var(--colorBrandBackgroundPressed)",un="var(--colorBrandBackgroundSelected)",ut="var(--colorCompoundBrandBackground)",At="var(--colorCompoundBrandBackgroundHover)",It="var(--colorCompoundBrandBackgroundPressed)",Lr="var(--colorBrandBackgroundStatic)",zt="var(--colorBrandBackground2)",dc="var(--colorBrandBackground2Hover)",uc="var(--colorBrandBackground2Pressed)",hc="var(--colorBrandBackground3Static)",pc="var(--colorBrandBackground4Static)",gc="var(--colorBrandBackgroundInverted)",fc="var(--colorBrandBackgroundInvertedHover)",bc="var(--colorBrandBackgroundInvertedPressed)",vc="var(--colorBrandBackgroundInvertedSelected)",mc="var(--colorNeutralCardBackground)",yc="var(--colorNeutralCardBackgroundHover)",$c="var(--colorNeutralCardBackgroundPressed)",kc="var(--colorNeutralCardBackgroundSelected)",xc="var(--colorNeutralCardBackgroundDisabled)",Ae="var(--colorNeutralStrokeAccessible)",Nt="var(--colorNeutralStrokeAccessibleHover)",Lt="var(--colorNeutralStrokeAccessiblePressed)",Bc="var(--colorNeutralStrokeAccessibleSelected)",Je="var(--colorNeutralStroke1)",Dt="var(--colorNeutralStroke1Hover)",po="var(--colorNeutralStroke1Pressed)",wc="var(--colorNeutralStroke1Selected)",Ot="var(--colorNeutralStroke2)",hn="var(--colorNeutralStroke3)",Sc="var(--colorNeutralStrokeSubtle)",Pc="var(--colorNeutralStrokeOnBrand)",Dr="var(--colorNeutralStrokeOnBrand2)",Cc="var(--colorNeutralStrokeOnBrand2Hover)",Fc="var(--colorNeutralStrokeOnBrand2Pressed)",Tc="var(--colorNeutralStrokeOnBrand2Selected)",Ho="var(--colorBrandStroke1)",Or="var(--colorBrandStroke2)",Ac="var(--colorBrandStroke2Hover)",Ic="var(--colorBrandStroke2Pressed)",zc="var(--colorBrandStroke2Contrast)",_o="var(--colorCompoundBrandStroke)",go="var(--colorCompoundBrandStrokeHover)",Ro="var(--colorCompoundBrandStrokePressed)",Me="var(--colorNeutralStrokeDisabled)",Nc="var(--colorNeutralStrokeInvertedDisabled)",me="var(--colorTransparentStroke)",Er="var(--colorTransparentStrokeInteractive)",Lc="var(--colorTransparentStrokeDisabled)",Dc="var(--colorNeutralStrokeAlpha)",Oc="var(--colorNeutralStrokeAlpha2)",Et="var(--colorStrokeFocus1)",Se="var(--colorStrokeFocus2)",Ec="var(--colorNeutralShadowAmbient)",Mc="var(--colorNeutralShadowKey)",Hc="var(--colorNeutralShadowAmbientLighter)",_c="var(--colorNeutralShadowKeyLighter)",Rc="var(--colorNeutralShadowAmbientDarker)",Vc="var(--colorNeutralShadowKeyDarker)",jc="var(--colorBrandShadowAmbient)",Gc="var(--colorBrandShadowKey)",pn="var(--colorPaletteRedBackground1)",Vo="var(--colorPaletteRedBackground2)",jo="var(--colorPaletteRedBackground3)",Wc="var(--colorPaletteRedBorderActive)",gn="var(--colorPaletteRedBorder1)",qc="var(--colorPaletteRedBorder2)",Mr="var(--colorPaletteRedForeground1)",fn="var(--colorPaletteRedForeground2)",Hr="var(--colorPaletteRedForeground3)",Xc="var(--colorPaletteRedForegroundInverted)",bn="var(--colorPaletteGreenBackground1)",_r="var(--colorPaletteGreenBackground2)",Go="var(--colorPaletteGreenBackground3)",Kc="var(--colorPaletteGreenBorderActive)",Uc="var(--colorPaletteGreenBorder1)",vn="var(--colorPaletteGreenBorder2)",mn="var(--colorPaletteGreenForeground1)",yn="var(--colorPaletteGreenForeground2)",$n="var(--colorPaletteGreenForeground3)",Yc="var(--colorPaletteGreenForegroundInverted)",kn="var(--colorPaletteDarkOrangeBackground1)",Rr="var(--colorPaletteDarkOrangeBackground2)",Wo="var(--colorPaletteDarkOrangeBackground3)",Qc="var(--colorPaletteDarkOrangeBorderActive)",xn="var(--colorPaletteDarkOrangeBorder1)",Zc="var(--colorPaletteDarkOrangeBorder2)",Bn="var(--colorPaletteDarkOrangeForeground1)",Jc="var(--colorPaletteDarkOrangeForeground2)",Vr="var(--colorPaletteDarkOrangeForeground3)",wn="var(--colorPaletteYellowBackground1)",ed="var(--colorPaletteYellowBackground2)",Sn="var(--colorPaletteYellowBackground3)",td="var(--colorPaletteYellowBorderActive)",Pn="var(--colorPaletteYellowBorder1)",od="var(--colorPaletteYellowBorder2)",rd="var(--colorPaletteYellowForeground1)",qo="var(--colorPaletteYellowForeground2)",ad="var(--colorPaletteYellowForeground3)",nd="var(--colorPaletteYellowForegroundInverted)",id="var(--colorPaletteBerryBackground1)",sd="var(--colorPaletteBerryBackground2)",ld="var(--colorPaletteBerryBackground3)",cd="var(--colorPaletteBerryBorderActive)",dd="var(--colorPaletteBerryBorder1)",ud="var(--colorPaletteBerryBorder2)",hd="var(--colorPaletteBerryForeground1)",pd="var(--colorPaletteBerryForeground2)",gd="var(--colorPaletteBerryForeground3)",fd="var(--colorPaletteMarigoldBackground1)",Cn="var(--colorPaletteMarigoldBackground2)",bd="var(--colorPaletteMarigoldBackground3)",vd="var(--colorPaletteMarigoldBorderActive)",md="var(--colorPaletteMarigoldBorder1)",yd="var(--colorPaletteMarigoldBorder2)",$d="var(--colorPaletteMarigoldForeground1)",Fn="var(--colorPaletteMarigoldForeground2)",kd="var(--colorPaletteMarigoldForeground3)",xd="var(--colorPaletteLightGreenBackground1)",Bd="var(--colorPaletteLightGreenBackground2)",wd="var(--colorPaletteLightGreenBackground3)",Sd="var(--colorPaletteLightGreenBorderActive)",Pd="var(--colorPaletteLightGreenBorder1)",Cd="var(--colorPaletteLightGreenBorder2)",Fd="var(--colorPaletteLightGreenForeground1)",Td="var(--colorPaletteLightGreenForeground2)",Ad="var(--colorPaletteLightGreenForeground3)",Tn="var(--colorPaletteAnchorBackground2)",Id="var(--colorPaletteAnchorBorderActive)",An="var(--colorPaletteAnchorForeground2)",In="var(--colorPaletteBeigeBackground2)",zd="var(--colorPaletteBeigeBorderActive)",zn="var(--colorPaletteBeigeForeground2)",Nn="var(--colorPaletteBlueBackground2)",Nd="var(--colorPaletteBlueBorderActive)",Ln="var(--colorPaletteBlueForeground2)",Dn="var(--colorPaletteBrassBackground2)",Ld="var(--colorPaletteBrassBorderActive)",On="var(--colorPaletteBrassForeground2)",En="var(--colorPaletteBrownBackground2)",Dd="var(--colorPaletteBrownBorderActive)",Mn="var(--colorPaletteBrownForeground2)",Hn="var(--colorPaletteCornflowerBackground2)",Od="var(--colorPaletteCornflowerBorderActive)",_n="var(--colorPaletteCornflowerForeground2)",Rn="var(--colorPaletteCranberryBackground2)",Ed="var(--colorPaletteCranberryBorderActive)",Vn="var(--colorPaletteCranberryForeground2)",jn="var(--colorPaletteDarkGreenBackground2)",Md="var(--colorPaletteDarkGreenBorderActive)",Gn="var(--colorPaletteDarkGreenForeground2)",Wn="var(--colorPaletteDarkRedBackground2)",Hd="var(--colorPaletteDarkRedBorderActive)",qn="var(--colorPaletteDarkRedForeground2)",Xn="var(--colorPaletteForestBackground2)",_d="var(--colorPaletteForestBorderActive)",Kn="var(--colorPaletteForestForeground2)",Un="var(--colorPaletteGoldBackground2)",Rd="var(--colorPaletteGoldBorderActive)",Yn="var(--colorPaletteGoldForeground2)",Qn="var(--colorPaletteGrapeBackground2)",Vd="var(--colorPaletteGrapeBorderActive)",Zn="var(--colorPaletteGrapeForeground2)",Jn="var(--colorPaletteLavenderBackground2)",jd="var(--colorPaletteLavenderBorderActive)",ei="var(--colorPaletteLavenderForeground2)",ti="var(--colorPaletteLightTealBackground2)",Gd="var(--colorPaletteLightTealBorderActive)",oi="var(--colorPaletteLightTealForeground2)",ri="var(--colorPaletteLilacBackground2)",Wd="var(--colorPaletteLilacBorderActive)",ai="var(--colorPaletteLilacForeground2)",ni="var(--colorPaletteMagentaBackground2)",qd="var(--colorPaletteMagentaBorderActive)",ii="var(--colorPaletteMagentaForeground2)",si="var(--colorPaletteMinkBackground2)",Xd="var(--colorPaletteMinkBorderActive)",li="var(--colorPaletteMinkForeground2)",ci="var(--colorPaletteNavyBackground2)",Kd="var(--colorPaletteNavyBorderActive)",di="var(--colorPaletteNavyForeground2)",ui="var(--colorPalettePeachBackground2)",Ud="var(--colorPalettePeachBorderActive)",hi="var(--colorPalettePeachForeground2)",pi="var(--colorPalettePinkBackground2)",Yd="var(--colorPalettePinkBorderActive)",gi="var(--colorPalettePinkForeground2)",fi="var(--colorPalettePlatinumBackground2)",Qd="var(--colorPalettePlatinumBorderActive)",bi="var(--colorPalettePlatinumForeground2)",vi="var(--colorPalettePlumBackground2)",Zd="var(--colorPalettePlumBorderActive)",mi="var(--colorPalettePlumForeground2)",yi="var(--colorPalettePumpkinBackground2)",Jd="var(--colorPalettePumpkinBorderActive)",$i="var(--colorPalettePumpkinForeground2)",ki="var(--colorPalettePurpleBackground2)",eu="var(--colorPalettePurpleBorderActive)",xi="var(--colorPalettePurpleForeground2)",Bi="var(--colorPaletteRoyalBlueBackground2)",tu="var(--colorPaletteRoyalBlueBorderActive)",wi="var(--colorPaletteRoyalBlueForeground2)",Si="var(--colorPaletteSeafoamBackground2)",ou="var(--colorPaletteSeafoamBorderActive)",Pi="var(--colorPaletteSeafoamForeground2)",Ci="var(--colorPaletteSteelBackground2)",ru="var(--colorPaletteSteelBorderActive)",Fi="var(--colorPaletteSteelForeground2)",Ti="var(--colorPaletteTealBackground2)",au="var(--colorPaletteTealBorderActive)",Ai="var(--colorPaletteTealForeground2)",nu="var(--colorStatusSuccessBackground1)",iu="var(--colorStatusSuccessBackground2)",su="var(--colorStatusSuccessBackground3)",lu="var(--colorStatusSuccessForeground1)",cu="var(--colorStatusSuccessForeground2)",du="var(--colorStatusSuccessForeground3)",uu="var(--colorStatusSuccessForegroundInverted)",hu="var(--colorStatusSuccessBorderActive)",pu="var(--colorStatusSuccessBorder1)",gu="var(--colorStatusSuccessBorder2)",fu="var(--colorStatusWarningBackground1)",bu="var(--colorStatusWarningBackground2)",vu="var(--colorStatusWarningBackground3)",mu="var(--colorStatusWarningForeground1)",yu="var(--colorStatusWarningForeground2)",$u="var(--colorStatusWarningForeground3)",ku="var(--colorStatusWarningForegroundInverted)",xu="var(--colorStatusWarningBorderActive)",Bu="var(--colorStatusWarningBorder1)",wu="var(--colorStatusWarningBorder2)",Su="var(--colorStatusDangerBackground1)",Pu="var(--colorStatusDangerBackground2)",Cu="var(--colorStatusDangerBackground3)",Fu="var(--colorStatusDangerBackground3Hover)",Tu="var(--colorStatusDangerBackground3Pressed)",Au="var(--colorStatusDangerForeground1)",Iu="var(--colorStatusDangerForeground2)",zu="var(--colorStatusDangerForeground3)",Nu="var(--colorStatusDangerForegroundInverted)",Lu="var(--colorStatusDangerBorderActive)",Du="var(--colorStatusDangerBorder1)",Ou="var(--colorStatusDangerBorder2)",Xo="var(--borderRadiusNone)",ge="var(--borderRadiusSmall)",B="var(--borderRadiusMedium)",Ko="var(--borderRadiusLarge)",jr="var(--borderRadiusXLarge)",Z="var(--borderRadiusCircular)",y="var(--fontFamilyBase)",Ii="var(--fontFamilyMonospace)",zi="var(--fontFamilyNumeric)",Mt="var(--fontSizeBase100)",R="var(--fontSizeBase200)",P="var(--fontSizeBase300)",ie="var(--fontSizeBase400)",et="var(--fontSizeBase500)",fo="var(--fontSizeBase600)",Gr="var(--fontSizeHero700)",Wr="var(--fontSizeHero800)",qr="var(--fontSizeHero900)",Xr="var(--fontSizeHero1000)",T="var(--fontWeightRegular)",Ni="var(--fontWeightMedium)",L="var(--fontWeightSemibold)",bo="var(--fontWeightBold)",vo="var(--lineHeightBase100)",se="var(--lineHeightBase200)",A="var(--lineHeightBase300)",ye="var(--lineHeightBase400)",mo="var(--lineHeightBase500)",Kr="var(--lineHeightBase600)",Ur="var(--lineHeightHero700)",Yr="var(--lineHeightHero800)",Qr="var(--lineHeightHero900)",Zr="var(--lineHeightHero1000)",Uo="var(--shadow2)",Ht="var(--shadow4)",Li="var(--shadow8)",Jr="var(--shadow16)",Di="var(--shadow28)",Oi="var(--shadow64)",Eu="var(--shadow2Brand)",Mu="var(--shadow4Brand)",Hu="var(--shadow8Brand)",_u="var(--shadow16Brand)",Ru="var(--shadow28Brand)",Vu="var(--shadow64Brand)",X="var(--strokeWidthThin)",ht="var(--strokeWidthThick)",He="var(--strokeWidthThicker)",ea="var(--strokeWidthThickest)",ju="var(--spacingHorizontalNone)",tt="var(--spacingHorizontalXXS)",fe="var(--spacingHorizontalXS)",_e="var(--spacingHorizontalSNudge)",V="var(--spacingHorizontalS)",Ie="var(--spacingHorizontalMNudge)",ot="var(--spacingHorizontalM)",ta="var(--spacingHorizontalL)",Gu="var(--spacingHorizontalXL)",Ei="var(--spacingHorizontalXXL)",Wu="var(--spacingHorizontalXXXL)",qu="var(--spacingVerticalNone)",oa="var(--spacingVerticalXXS)",ra="var(--spacingVerticalXS)",_t="var(--spacingVerticalSNudge)",H="var(--spacingVerticalS)",aa="var(--spacingVerticalMNudge)",Xu="var(--spacingVerticalM)",Mi="var(--spacingVerticalL)",Ku="var(--spacingVerticalXL)",na="var(--spacingVerticalXXL)",Uu="var(--spacingVerticalXXXL)",Hi="var(--durationUltraFast)",yo="var(--durationFaster)",Yu="var(--durationFast)",ia="var(--durationNormal)",Qu="var(--durationGentle)",_i="var(--durationSlow)",sa="var(--durationSlower)",$o="var(--durationUltraSlow)",Ri="var(--curveAccelerateMax)",la="var(--curveAccelerateMid)",Vi="var(--curveAccelerateMin)",ca="var(--curveDecelerateMax)",da="var(--curveDecelerateMid)",ji="var(--curveDecelerateMin)",Gi="var(--curveEasyEaseMax)",ko="var(--curveEasyEase)",Wi="var(--curveLinear)";var Kg=Object.freeze({__proto__:null,colorNeutralForeground1:O,colorNeutralForeground1Hover:Io,colorNeutralForeground1Pressed:Fr,colorNeutralForeground1Selected:il,colorNeutralForeground2:ne,colorNeutralForeground2Hover:St,colorNeutralForeground2Pressed:Pt,colorNeutralForeground2Selected:Ua,colorNeutralForeground2BrandHover:lt,colorNeutralForeground2BrandPressed:ct,colorNeutralForeground2BrandSelected:Ya,colorNeutralForeground3:W,colorNeutralForeground3Hover:Qa,colorNeutralForeground3Pressed:Za,colorNeutralForeground3Selected:sl,colorNeutralForeground3BrandHover:ll,colorNeutralForeground3BrandPressed:cl,colorNeutralForeground3BrandSelected:dl,colorNeutralForeground4:Ja,colorNeutralForegroundDisabled:k,colorBrandForegroundLink:ul,colorBrandForegroundLinkHover:hl,colorBrandForegroundLinkPressed:pl,colorBrandForegroundLinkSelected:gl,colorNeutralForeground2Link:fl,colorNeutralForeground2LinkHover:bl,colorNeutralForeground2LinkPressed:vl,colorNeutralForeground2LinkSelected:ml,colorCompoundBrandForeground1:zo,colorCompoundBrandForeground1Hover:No,colorCompoundBrandForeground1Pressed:Lo,colorNeutralForegroundOnBrand:pe,colorNeutralForegroundInverted:lo,colorNeutralForegroundInvertedHover:en,colorNeutralForegroundInvertedPressed:tn,colorNeutralForegroundInvertedSelected:yl,colorNeutralForegroundInverted2:$l,colorNeutralForegroundStaticInverted:Tr,colorNeutralForegroundInvertedLink:kl,colorNeutralForegroundInvertedLinkHover:xl,colorNeutralForegroundInvertedLinkPressed:Bl,colorNeutralForegroundInvertedLinkSelected:wl,colorNeutralForegroundInvertedDisabled:Sl,colorBrandForeground1:Do,colorBrandForeground2:on,colorBrandForeground2Hover:Pl,colorBrandForeground2Pressed:Cl,colorNeutralForeground1Static:rn,colorBrandForegroundInverted:Fl,colorBrandForegroundInvertedHover:Tl,colorBrandForegroundInvertedPressed:Al,colorBrandForegroundOnLight:Il,colorBrandForegroundOnLightHover:zl,colorBrandForegroundOnLightPressed:Nl,colorBrandForegroundOnLightSelected:Ll,colorNeutralBackground1:_,colorNeutralBackground1Hover:co,colorNeutralBackground1Pressed:Oo,colorNeutralBackground1Selected:Ar,colorNeutralBackground2:Dl,colorNeutralBackground2Hover:Ol,colorNeutralBackground2Pressed:El,colorNeutralBackground2Selected:Ml,colorNeutralBackground3:Ir,colorNeutralBackground3Hover:Hl,colorNeutralBackground3Pressed:_l,colorNeutralBackground3Selected:Rl,colorNeutralBackground4:an,colorNeutralBackground4Hover:Vl,colorNeutralBackground4Pressed:jl,colorNeutralBackground4Selected:Gl,colorNeutralBackground5:nn,colorNeutralBackground5Hover:Wl,colorNeutralBackground5Pressed:ql,colorNeutralBackground5Selected:Xl,colorNeutralBackground6:zr,colorNeutralBackgroundInverted:sn,colorNeutralBackgroundStatic:Kl,colorNeutralBackgroundAlpha:Ul,colorNeutralBackgroundAlpha2:Yl,colorSubtleBackground:Nr,colorSubtleBackgroundHover:uo,colorSubtleBackgroundPressed:Ct,colorSubtleBackgroundSelected:ln,colorSubtleBackgroundLightAlphaHover:Ql,colorSubtleBackgroundLightAlphaPressed:Zl,colorSubtleBackgroundLightAlphaSelected:Jl,colorSubtleBackgroundInverted:ec,colorSubtleBackgroundInvertedHover:tc,colorSubtleBackgroundInvertedPressed:oc,colorSubtleBackgroundInvertedSelected:rc,colorTransparentBackground:q,colorTransparentBackgroundHover:dt,colorTransparentBackgroundPressed:Ft,colorTransparentBackgroundSelected:cn,colorNeutralBackgroundDisabled:Tt,colorNeutralBackgroundInvertedDisabled:ac,colorNeutralStencil1:nc,colorNeutralStencil2:ic,colorNeutralStencil1Alpha:sc,colorNeutralStencil2Alpha:lc,colorBackgroundOverlay:dn,colorScrollbarOverlay:cc,colorBrandBackground:ho,colorBrandBackgroundHover:Eo,colorBrandBackgroundPressed:Mo,colorBrandBackgroundSelected:un,colorCompoundBrandBackground:ut,colorCompoundBrandBackgroundHover:At,colorCompoundBrandBackgroundPressed:It,colorBrandBackgroundStatic:Lr,colorBrandBackground2:zt,colorBrandBackground2Hover:dc,colorBrandBackground2Pressed:uc,colorBrandBackground3Static:hc,colorBrandBackground4Static:pc,colorBrandBackgroundInverted:gc,colorBrandBackgroundInvertedHover:fc,colorBrandBackgroundInvertedPressed:bc,colorBrandBackgroundInvertedSelected:vc,colorNeutralCardBackground:mc,colorNeutralCardBackgroundHover:yc,colorNeutralCardBackgroundPressed:$c,colorNeutralCardBackgroundSelected:kc,colorNeutralCardBackgroundDisabled:xc,colorNeutralStrokeAccessible:Ae,colorNeutralStrokeAccessibleHover:Nt,colorNeutralStrokeAccessiblePressed:Lt,colorNeutralStrokeAccessibleSelected:Bc,colorNeutralStroke1:Je,colorNeutralStroke1Hover:Dt,colorNeutralStroke1Pressed:po,colorNeutralStroke1Selected:wc,colorNeutralStroke2:Ot,colorNeutralStroke3:hn,colorNeutralStrokeSubtle:Sc,colorNeutralStrokeOnBrand:Pc,colorNeutralStrokeOnBrand2:Dr,colorNeutralStrokeOnBrand2Hover:Cc,colorNeutralStrokeOnBrand2Pressed:Fc,colorNeutralStrokeOnBrand2Selected:Tc,colorBrandStroke1:Ho,colorBrandStroke2:Or,colorBrandStroke2Hover:Ac,colorBrandStroke2Pressed:Ic,colorBrandStroke2Contrast:zc,colorCompoundBrandStroke:_o,colorCompoundBrandStrokeHover:go,colorCompoundBrandStrokePressed:Ro,colorNeutralStrokeDisabled:Me,colorNeutralStrokeInvertedDisabled:Nc,colorTransparentStroke:me,colorTransparentStrokeInteractive:Er,colorTransparentStrokeDisabled:Lc,colorNeutralStrokeAlpha:Dc,colorNeutralStrokeAlpha2:Oc,colorStrokeFocus1:Et,colorStrokeFocus2:Se,colorNeutralShadowAmbient:Ec,colorNeutralShadowKey:Mc,colorNeutralShadowAmbientLighter:Hc,colorNeutralShadowKeyLighter:_c,colorNeutralShadowAmbientDarker:Rc,colorNeutralShadowKeyDarker:Vc,colorBrandShadowAmbient:jc,colorBrandShadowKey:Gc,colorPaletteRedBackground1:pn,colorPaletteRedBackground2:Vo,colorPaletteRedBackground3:jo,colorPaletteRedBorderActive:Wc,colorPaletteRedBorder1:gn,colorPaletteRedBorder2:qc,colorPaletteRedForeground1:Mr,colorPaletteRedForeground2:fn,colorPaletteRedForeground3:Hr,colorPaletteRedForegroundInverted:Xc,colorPaletteGreenBackground1:bn,colorPaletteGreenBackground2:_r,colorPaletteGreenBackground3:Go,colorPaletteGreenBorderActive:Kc,colorPaletteGreenBorder1:Uc,colorPaletteGreenBorder2:vn,colorPaletteGreenForeground1:mn,colorPaletteGreenForeground2:yn,colorPaletteGreenForeground3:$n,colorPaletteGreenForegroundInverted:Yc,colorPaletteDarkOrangeBackground1:kn,colorPaletteDarkOrangeBackground2:Rr,colorPaletteDarkOrangeBackground3:Wo,colorPaletteDarkOrangeBorderActive:Qc,colorPaletteDarkOrangeBorder1:xn,colorPaletteDarkOrangeBorder2:Zc,colorPaletteDarkOrangeForeground1:Bn,colorPaletteDarkOrangeForeground2:Jc,colorPaletteDarkOrangeForeground3:Vr,colorPaletteYellowBackground1:wn,colorPaletteYellowBackground2:ed,colorPaletteYellowBackground3:Sn,colorPaletteYellowBorderActive:td,colorPaletteYellowBorder1:Pn,colorPaletteYellowBorder2:od,colorPaletteYellowForeground1:rd,colorPaletteYellowForeground2:qo,colorPaletteYellowForeground3:ad,colorPaletteYellowForegroundInverted:nd,colorPaletteBerryBackground1:id,colorPaletteBerryBackground2:sd,colorPaletteBerryBackground3:ld,colorPaletteBerryBorderActive:cd,colorPaletteBerryBorder1:dd,colorPaletteBerryBorder2:ud,colorPaletteBerryForeground1:hd,colorPaletteBerryForeground2:pd,colorPaletteBerryForeground3:gd,colorPaletteMarigoldBackground1:fd,colorPaletteMarigoldBackground2:Cn,colorPaletteMarigoldBackground3:bd,colorPaletteMarigoldBorderActive:vd,colorPaletteMarigoldBorder1:md,colorPaletteMarigoldBorder2:yd,colorPaletteMarigoldForeground1:$d,colorPaletteMarigoldForeground2:Fn,colorPaletteMarigoldForeground3:kd,colorPaletteLightGreenBackground1:xd,colorPaletteLightGreenBackground2:Bd,colorPaletteLightGreenBackground3:wd,colorPaletteLightGreenBorderActive:Sd,colorPaletteLightGreenBorder1:Pd,colorPaletteLightGreenBorder2:Cd,colorPaletteLightGreenForeground1:Fd,colorPaletteLightGreenForeground2:Td,colorPaletteLightGreenForeground3:Ad,colorPaletteAnchorBackground2:Tn,colorPaletteAnchorBorderActive:Id,colorPaletteAnchorForeground2:An,colorPaletteBeigeBackground2:In,colorPaletteBeigeBorderActive:zd,colorPaletteBeigeForeground2:zn,colorPaletteBlueBackground2:Nn,colorPaletteBlueBorderActive:Nd,colorPaletteBlueForeground2:Ln,colorPaletteBrassBackground2:Dn,colorPaletteBrassBorderActive:Ld,colorPaletteBrassForeground2:On,colorPaletteBrownBackground2:En,colorPaletteBrownBorderActive:Dd,colorPaletteBrownForeground2:Mn,colorPaletteCornflowerBackground2:Hn,colorPaletteCornflowerBorderActive:Od,colorPaletteCornflowerForeground2:_n,colorPaletteCranberryBackground2:Rn,colorPaletteCranberryBorderActive:Ed,colorPaletteCranberryForeground2:Vn,colorPaletteDarkGreenBackground2:jn,colorPaletteDarkGreenBorderActive:Md,colorPaletteDarkGreenForeground2:Gn,colorPaletteDarkRedBackground2:Wn,colorPaletteDarkRedBorderActive:Hd,colorPaletteDarkRedForeground2:qn,colorPaletteForestBackground2:Xn,colorPaletteForestBorderActive:_d,colorPaletteForestForeground2:Kn,colorPaletteGoldBackground2:Un,colorPaletteGoldBorderActive:Rd,colorPaletteGoldForeground2:Yn,colorPaletteGrapeBackground2:Qn,colorPaletteGrapeBorderActive:Vd,colorPaletteGrapeForeground2:Zn,colorPaletteLavenderBackground2:Jn,colorPaletteLavenderBorderActive:jd,colorPaletteLavenderForeground2:ei,colorPaletteLightTealBackground2:ti,colorPaletteLightTealBorderActive:Gd,colorPaletteLightTealForeground2:oi,colorPaletteLilacBackground2:ri,colorPaletteLilacBorderActive:Wd,colorPaletteLilacForeground2:ai,colorPaletteMagentaBackground2:ni,colorPaletteMagentaBorderActive:qd,colorPaletteMagentaForeground2:ii,colorPaletteMinkBackground2:si,colorPaletteMinkBorderActive:Xd,colorPaletteMinkForeground2:li,colorPaletteNavyBackground2:ci,colorPaletteNavyBorderActive:Kd,colorPaletteNavyForeground2:di,colorPalettePeachBackground2:ui,colorPalettePeachBorderActive:Ud,colorPalettePeachForeground2:hi,colorPalettePinkBackground2:pi,colorPalettePinkBorderActive:Yd,colorPalettePinkForeground2:gi,colorPalettePlatinumBackground2:fi,colorPalettePlatinumBorderActive:Qd,colorPalettePlatinumForeground2:bi,colorPalettePlumBackground2:vi,colorPalettePlumBorderActive:Zd,colorPalettePlumForeground2:mi,colorPalettePumpkinBackground2:yi,colorPalettePumpkinBorderActive:Jd,colorPalettePumpkinForeground2:$i,colorPalettePurpleBackground2:ki,colorPalettePurpleBorderActive:eu,colorPalettePurpleForeground2:xi,colorPaletteRoyalBlueBackground2:Bi,colorPaletteRoyalBlueBorderActive:tu,colorPaletteRoyalBlueForeground2:wi,colorPaletteSeafoamBackground2:Si,colorPaletteSeafoamBorderActive:ou,colorPaletteSeafoamForeground2:Pi,colorPaletteSteelBackground2:Ci,colorPaletteSteelBorderActive:ru,colorPaletteSteelForeground2:Fi,colorPaletteTealBackground2:Ti,colorPaletteTealBorderActive:au,colorPaletteTealForeground2:Ai,colorStatusSuccessBackground1:nu,colorStatusSuccessBackground2:iu,colorStatusSuccessBackground3:su,colorStatusSuccessForeground1:lu,colorStatusSuccessForeground2:cu,colorStatusSuccessForeground3:du,colorStatusSuccessForegroundInverted:uu,colorStatusSuccessBorderActive:hu,colorStatusSuccessBorder1:pu,colorStatusSuccessBorder2:gu,colorStatusWarningBackground1:fu,colorStatusWarningBackground2:bu,colorStatusWarningBackground3:vu,colorStatusWarningForeground1:mu,colorStatusWarningForeground2:yu,colorStatusWarningForeground3:$u,colorStatusWarningForegroundInverted:ku,colorStatusWarningBorderActive:xu,colorStatusWarningBorder1:Bu,colorStatusWarningBorder2:wu,colorStatusDangerBackground1:Su,colorStatusDangerBackground2:Pu,colorStatusDangerBackground3:Cu,colorStatusDangerBackground3Hover:Fu,colorStatusDangerBackground3Pressed:Tu,colorStatusDangerForeground1:Au,colorStatusDangerForeground2:Iu,colorStatusDangerForeground3:zu,colorStatusDangerForegroundInverted:Nu,colorStatusDangerBorderActive:Lu,colorStatusDangerBorder1:Du,colorStatusDangerBorder2:Ou,borderRadiusNone:Xo,borderRadiusSmall:ge,borderRadiusMedium:B,borderRadiusLarge:Ko,borderRadiusXLarge:jr,borderRadiusCircular:Z,fontFamilyBase:y,fontFamilyMonospace:Ii,fontFamilyNumeric:zi,fontSizeBase100:Mt,fontSizeBase200:R,fontSizeBase300:P,fontSizeBase400:ie,fontSizeBase500:et,fontSizeBase600:fo,fontSizeHero700:Gr,fontSizeHero800:Wr,fontSizeHero900:qr,fontSizeHero1000:Xr,fontWeightRegular:T,fontWeightMedium:Ni,fontWeightSemibold:L,fontWeightBold:bo,lineHeightBase100:vo,lineHeightBase200:se,lineHeightBase300:A,lineHeightBase400:ye,lineHeightBase500:mo,lineHeightBase600:Kr,lineHeightHero700:Ur,lineHeightHero800:Yr,lineHeightHero900:Qr,lineHeightHero1000:Zr,shadow2:Uo,shadow4:Ht,shadow8:Li,shadow16:Jr,shadow28:Di,shadow64:Oi,shadow2Brand:Eu,shadow4Brand:Mu,shadow8Brand:Hu,shadow16Brand:_u,shadow28Brand:Ru,shadow64Brand:Vu,strokeWidthThin:X,strokeWidthThick:ht,strokeWidthThicker:He,strokeWidthThickest:ea,spacingHorizontalNone:ju,spacingHorizontalXXS:tt,spacingHorizontalXS:fe,spacingHorizontalSNudge:_e,spacingHorizontalS:V,spacingHorizontalMNudge:Ie,spacingHorizontalM:ot,spacingHorizontalL:ta,spacingHorizontalXL:Gu,spacingHorizontalXXL:Ei,spacingHorizontalXXXL:Wu,spacingVerticalNone:qu,spacingVerticalXXS:oa,spacingVerticalXS:ra,spacingVerticalSNudge:_t,spacingVerticalS:H,spacingVerticalMNudge:aa,spacingVerticalM:Xu,spacingVerticalL:Mi,spacingVerticalXL:Ku,spacingVerticalXXL:na,spacingVerticalXXXL:Uu,durationUltraFast:Hi,durationFaster:yo,durationFast:Yu,durationNormal:ia,durationGentle:Qu,durationSlow:_i,durationSlower:sa,durationUltraSlow:$o,curveAccelerateMax:Ri,curveAccelerateMid:la,curveAccelerateMin:Vi,curveDecelerateMax:ca,curveDecelerateMid:da,curveDecelerateMin:ji,curveEasyEaseMax:Gi,curveEasyEase:ko,curveLinear:Wi});const Zu=f`
5
+ ${F("block")}
6
+
7
+ :host{max-width:fit-content;contain:content}.heading{height:44px;display:grid;position:relative;vertical-align:middle;padding-inline:${ot} ${Ie};border-radius:${B};font-family:${y};font-size:${P};font-weight:${T};line-height:${A};grid-template-columns:auto auto 1fr auto}.heading-content{height:100%;display:flex;align-items:center}.button{box-sizing:border-box;appearance:none;border:none;outline:none;text-align:start;cursor:pointer;font-family:inherit;height:44px;color:${O};background:${q};line-height:${A};height:auto;padding:0;font-size:inherit;grid-column:auto / span 2;grid-row:1}.button::before{content:'';position:absolute;inset:0px;cursor:pointer;border-radius:${ge}}.icon{display:flex;align-items:center;justify-content:center;pointer-events:none;position:relative;height:100%;padding-right:${V};grid-column:1 / span 1;grid-row:1}.region{margin:0 ${ot}}::slotted([slot='start']),::slotted([slot='end']){justify-content:center;align-items:center;padding-right:${V};grid-column:2 / span 1;grid-row:1 / span 1}button:focus-visible::after{content:'';position:absolute;inset:0px;cursor:pointer;border-radius:${ge};outline:none;border:2px solid ${Et};box-shadow:inset 0 0 0 1px ${Se}}:host([disabled]) .button{color:${k}}:host([disabled]) svg{filter:invert(89%) sepia(0%) saturate(569%) hue-rotate(155deg) brightness(88%) contrast(87%)}:host([expanded]) .region{display:block}:host([expanded]) .default-collapsed-icon,:host([expanded]) ::slotted([slot='collapsed-icon']),:host(:not([expanded])) .default-expanded-icon,:host(:not([expanded])) ::slotted([slot='expanded-icon']),:host([expanded]) ::slotted([slot='end']),::slotted([slot='start']),.region{display:none}:host([expanded]) ::slotted([slot='start']),:host([expanded]) ::slotted([slot='expanded-icon']),:host(:not([expanded])) ::slotted([slot='collapsed-icon']),::slotted([slot='end']){display:flex}.heading{font-size:${P};line-height:${A}}:host([size='small']) .heading{font-size:${R};line-height:${se}}:host([size='large']) .heading{font-size:${ie};line-height:${ye}}:host([size='extra-large']) .heading{font-size:${et};line-height:${mo}}:host([expand-icon-position='end']) :slotted(span[slot='start']),:host([expand-icon-position='end']) ::slotted(span[slot='end']){grid-column:1 / span 1;grid-row:1}:host([expand-icon-position='end']) ::slotted(span[slot='start']),:host([expand-icon-position='end']) ::slotted(span[slot='end']){grid-column:1 / span 1;grid-row:1}:host([expand-icon-position='end']) .icon{grid-column:4 / span 1;grid-row:1;display:flex;padding-left:10px;padding-right:0}:host([expand-icon-position='end']) .button{grid-column:2 / span 3;grid-row:1}:host([block]){max-width:100%}:host([expand-icon-position='end']) .heading{grid-template-columns:auto auto 28px}:host([expand-icon-position='end']) .icon{grid-column:5 / span 1}:host([block][expand-icon-position='end']) .heading{grid-template-columns:auto 1fr}:host([block][expand-icon-position='end']) .icon{grid-column:5 / span 1}`,Ug=v.partial(`<svg
8
+ width="20"
9
+ height="20"
10
+ viewBox="0 0 20 20"
11
+ fill="none"
12
+ xmlns="http://www.w3.org/2000/svg"
13
+ class="default-collapsed-icon"
14
+ >
15
+ <path
16
+ 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"
17
+ fill="currentColor"
18
+ />
19
+ </svg>`),Yg=v.partial(`<svg
20
+ width="20"
21
+ height="20"
22
+ viewBox="0 0 20 20"
23
+ fill="none"
24
+ xmlns="http://www.w3.org/2000/svg"
25
+ class="default-expanded-icon"
26
+ >
27
+ <path
28
+ 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"
29
+ fill="currentColor"
30
+ />
31
+ </svg>`);function Qg(o={}){return v`<div class="heading" part="heading" role="heading" aria-level="${e=>e.headinglevel}"><button class="button" part="button" ${Fe("expandbutton")} ?disabled="${e=>e.disabled?"true":void 0}" aria-expanded="${e=>e.expanded}" aria-controls="${e=>e.id}-panel" id="${e=>e.id}" @click="${(e,t)=>e.clickHandler(t.event)}"><span class="heading-content" part="heading-content"><slot name="heading"></slot></span></button>${Ze(o)} ${Qe(o)}<span class="icon" part="icon" aria-hidden="true"><slot name="expanded-icon">${Q(o.expandedIcon)}</slot><slot name="collapsed-icon">${Q(o.collapsedIcon)}</slot><span></div><div class="region" part="region" id="${e=>e.id}-panel" role="region" aria-labelledby="${e=>e.id}"><slot></slot></div>`}const Ju=Qg({collapsedIcon:Ug,expandedIcon:Yg}),Zg=ae.compose({name:`${x.prefix}-accordion-item`,template:Ju,styles:Zu});var Jg=Object.defineProperty,ef=Object.getOwnPropertyDescriptor,J=(o,e,t,r)=>{for(var a=r>1?void 0:r?ef(e,t):e,n=o.length-1,i;n>=0;n--)(i=o[n])&&(a=(r?i(e,t,a):i(a))||a);return r&&a&&Jg(e,t,a),a};class j extends S{constructor(){super(...arguments),this.iconOnly=!1,this.disabled=!1,this.disabledFocusable=!1,this.handleDisabledFocusableClick=e=>{if(e&&this.disabled||this.disabledFocusable){e.stopImmediatePropagation();return}}}disabledChanged(e,t){this.disabled?(this.setAttribute("aria-disabled","true"),this.setAttribute("tabindex","-1")):(this.removeAttribute("aria-disabled"),this.removeAttribute("tabindex"))}disabledFocusableChanged(e,t){this.$fastController.isConnected&&(this.disabledFocusable?this.setAttribute("aria-disabled","true"):this.removeAttribute("aria-disabled"))}connectedCallback(){super.connectedCallback(),this.addEventListener("click",this.handleDisabledFocusableClick)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("click",this.handleDisabledFocusableClick)}}J([s],j.prototype,"download",2),J([s],j.prototype,"href",2),J([s],j.prototype,"hreflang",2),J([s],j.prototype,"ping",2),J([s],j.prototype,"referrerpolicy",2),J([s],j.prototype,"rel",2),J([s],j.prototype,"target",2),J([s],j.prototype,"type",2),J([m],j.prototype,"defaultSlottedContent",2),J([s],j.prototype,"appearance",2),J([s],j.prototype,"shape",2),J([s],j.prototype,"size",2),J([s({attribute:"icon-only",mode:"boolean"})],j.prototype,"iconOnly",2),J([s({mode:"boolean"})],j.prototype,"disabled",2),J([s({attribute:"disabled-focusable",mode:"boolean"})],j.prototype,"disabledFocusable",2);class qi{}J([s({attribute:"aria-expanded"})],qi.prototype,"ariaExpanded",2),Te(qi,D),Te(j,Ye,qi);const Yo={primary:"primary",outline:"outline",subtle:"subtle",secondary:"secondary",transparent:"transparent"},Qo={circular:"circular",rounded:"rounded",square:"square"},Zo={small:"small",medium:"medium",large:"large"},Jo={submit:"submit",reset:"reset",button:"button"},tf=Yo,of=Qo,rf=Zo,af={_self:"_self",_blank:"_blank",_parent:"_parent",_top:"_top"};function nf(o={}){return v`<a class="control" part="control" download="${e=>e.download}" href="${e=>e.href}" hreflang="${e=>e.hreflang}" ping="${e=>e.ping}" referrerpolicy="${e=>e.referrerpolicy}" rel="${e=>e.rel}" target="${e=>e.target}" type="${e=>e.type}" aria-atomic="${e=>e.ariaAtomic}" aria-busy="${e=>e.ariaBusy}" aria-controls="${e=>e.ariaControls}" aria-current="${e=>e.ariaCurrent}" aria-describedby="${e=>e.ariaDescribedby}" aria-details="${e=>e.ariaDetails}" aria-disabled="${e=>e.ariaDisabled}" aria-errormessage="${e=>e.ariaErrormessage}" aria-expanded="${e=>e.ariaExpanded}" aria-flowto="${e=>e.ariaFlowto}" aria-haspopup="${e=>e.ariaHaspopup}" aria-hidden="${e=>e.ariaHidden}" aria-invalid="${e=>e.ariaInvalid}" aria-keyshortcuts="${e=>e.ariaKeyshortcuts}" aria-label="${e=>e.ariaLabel}" aria-labelledby="${e=>e.ariaLabelledby}" aria-live="${e=>e.ariaLive}" aria-owns="${e=>e.ariaOwns}" aria-relevant="${e=>e.ariaRelevant}" aria-roledescription="${e=>e.ariaRoledescription}" ${Fe("control")}>${Ze(o)}<span class="content" part="content"><slot ${Y("defaultSlottedContent")}></slot></span>${Qe(o)}</a>`}const eh=nf(),sf=f`
32
+ ${F("inline-flex")}
33
+
34
+ :host{--icon-spacing:${_e};contain:layout style;vertical-align:middle}:host .control{display:inline-flex;align-items:center;box-sizing:border-box;justify-content:center;text-decoration-line:none;margin:0;min-height:32px;outline-style:none;background-color:${_};color:${O};border:${X} solid ${Je};padding:0 ${ot};min-width:96px;border-radius:${B};font-size:${P};font-family:${y};font-weight:${L};line-height:${A};transition-duration:${yo};transition-property:background,border,color;transition-timing-function:${ko};cursor:pointer}.content{display:inherit;text-align:center}:host(:hover) .control{background-color:${co};color:${Io};border-color:${Dt}}:host(:hover:active) .control{background-color:${Oo};border-color:${po};color:${Fr};outline-style:none}:host .control:focus-visible{border-color:${me};outline:${ht}) solid ${me};box-shadow:${Ht},0 0 0 2px ${Se}}@media screen and (prefers-reduced-motion:reduce){transition-duration:0.01ms}::slotted(svg){font-size:20px;height:20px;width:20px;fill:currentColor}[slot='start'],::slotted([slot='start']){margin-inline-end:var(--icon-spacing)}[slot='end'],::slotted([slot='end']){margin-inline-start:var(--icon-spacing)}:host([icon-only]) .control{min-width:32px;max-width:32px}:host([size='small']){--icon-spacing:${fe}}:host([size='small']) .control{min-height:24px;min-width:64px;padding:0 ${V};border-radius:${ge};font-size:${R};line-height:${se};font-weight:${T}}:host([size='small'][icon-only]) .control{min-width:24px;max-width:24px}:host([size='large']) .control{min-height:40px;border-radius:${Ko};padding:0 ${ta};font-size:${ie};line-height:${ye}}:host([size='large'][icon-only]) .control{min-width:40px;max-width:40px}:host([size='large']) ::slotted(svg){font-size:24px;height:24px;width:24px}:host([shape='circular']) .control,:host([shape='circular']) .control:focus-visible{border-radius:${Z}}:host([shape='square']) .control,:host([shape='square']) .control:focus-visible{border-radius:${Xo}}:host([appearance='primary']) .control{background-color:${ho};color:${pe};border-color:transparent}:host([appearance='primary']:hover) .control{background-color:${Eo}}:host([appearance='primary']:hover) .control,:host([appearance='primary']:hover:active) .control{border-color:transparent;color:${pe}}:host([appearance='primary']:hover:active) .control{background-color:${Mo}}:host([appearance='primary']) .control:focus-visible{border-color:${pe};box-shadow:${Uo},0 0 0 2px ${Se}}:host(is:([disabled][appearance='primary'],[disabled-focusabale][appearance="primary"])) .control,:host(is:([disabled][appearance='primary'],[disabled-focusabale][appearance="primary"]):hover) .control,:host(is:([disabled][appearance='primary'],[disabled-focusabale][appearance="primary"]):hover:active) .control{border-color:transparent}:host([appearance='outline']) .control{background-color:${q}}:host([appearance='outline']:hover) .control{background-color:${dt}}:host([appearance='outline']:hover:active) .control{background-color:${Ft}}:host(is:([disabled][appearance='outline'],[disabled-focusabale][appearance="outline"])) .control,:host(is:([disabled][appearance='outline'],[disabled-focusabale][appearance="outline"]):hover) .control,:host(is:([disabled][appearance='outline'],[disabled-focusabale][appearance="outline"]):hover:active) .control{background-color:${q}}:host([appearance='subtle']) .control{background-color:${Nr};color:${ne};border-color:transparent}:host([appearance='subtle']:hover) .control{background-color:${uo};color:${St};border-color:transparent}:host([appearance='subtle']:hover:active) .control{background-color:${Ct};color:${Pt};border-color:transparent}:host(is:([disabled][appearance='subtle'],[disabled-focusabale][appearance="subtle"])) .control,:host(is:([disabled][appearance='subtle'],[disabled-focusabale][appearance="subtle"]):hover) .control,:host(is:([disabled][appearance='subtle'],[disabled-focusabale][appearance="subtle"]):hover:active) .control{background-color:${q};border-color:transparent}:host([appearance='subtle']:hover) ::slotted(svg){fill:${lt}}:host([appearance='subtle']:hover:active) ::slotted(svg){fill:${ct}}:host([appearance='transparent']) .control{background-color:${q};color:${ne}}:host([appearance='transparent']:hover) .control{background-color:${dt};color:${lt}}:host([appearance='transparent']:hover:active) .control{background-color:${Ft};color:${ct}}:host([appearance='transparent']) .control,:host([appearance='transparent']:hover) .control,:host([appearance='transparent']:hover:active) .control{border-color:transparent}:host(is:([disabled][appearance='transparent'],[disabled-focusabale][appearance="transparent"])) .control,:host(is:([disabled][appearance='transparent'],[disabled-focusabale][appearance="transparent"]):hover) .control,:host(is:([disabled][appearance='transparent'],[disabled-focusabale][appearance="transparent"]):hover:active) .control{border-color:transparent;background-color:${q}}:host(:is([disabled],[disabled-focusable],[appearance][disabled],[appearance][disabled-focusable])) .control,:host(:is([disabled],[disabled-focusable],[appearance][disabled],[appearance][disabled-focusable]):hover) .control,:host(:is([disabled],[disabled-focusable],[appearance][disabled],[appearance][disabled-focusable]):hover:active)
35
+ .control{background-color:${Tt};border-color:${Me};color:${k};cursor:not-allowed}`.withBehaviors(Ee(f`
36
+ :host([appearance='transparent']:hover) .control{border-color:Highlight}`)),lf=j.compose({name:`${x.prefix}-anchor-button`,template:eh,styles:sf,shadowOptions:{delegatesFocus:!0}}),cf=/[\(\[\{][^\)\]\}]*[\)\]\}]/g,df=/[\0-\u001F\!-/:-@\[-`\{-\u00BF\u0250-\u036F\uD800-\uFFFF]/g,uf=/^\d+[\d\s]*(:?ext|x|)\s*\d+$/i,hf=/\s+/g,pf=/[\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 gf(o,e,t){let r="";const a=o.split(" ");return a.length!==0&&(r+=a[0].charAt(0).toUpperCase()),t||(a.length===2?r+=a[1].charAt(0).toUpperCase():a.length===3&&(r+=a[2].charAt(0).toUpperCase())),e&&r.length>1?r.charAt(1)+r.charAt(0):r}function ff(o){return o=o.replace(cf,""),o=o.replace(df,""),o=o.replace(hf," "),o=o.trim(),o}function bf(o,e,t){return!o||(o=ff(o),pf.test(o)||!t?.allowPhoneInitials&&uf.test(o))?"":gf(o,e,t?.firstInitialOnly)}const vf={active:"active",inactive:"inactive"},mf={circular:"circular",square:"square"},yf={ring:"ring",shadow:"shadow",ringShadow:"ring-shadow"},Xi={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"},th={neutral:"neutral",brand:"brand",colorful:"colorful",...Xi},$f={_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};var kf=Object.defineProperty,xf=Object.getOwnPropertyDescriptor,pt=(o,e,t,r)=>{for(var a=r>1?void 0:r?xf(e,t):e,n=o.length-1,i;n>=0;n--)(i=o[n])&&(a=(r?i(e,t,a):i(a))||a);return r&&a&&kf(e,t,a),a};const Re=class ls extends S{constructor(){super(...arguments),this.color="neutral"}generateColor(){if(this.color)return this.color===th.colorful?ls.colors[Bf(this.colorId??this.name??"")%ls.colors.length]:this.color}generateInitials(){if(!this.name&&!this.initials)return;const e=this.size??32;return this.initials??bf(this.name,window.getComputedStyle(this).direction==="rtl",{firstInitialOnly:e<=16})}};Re.colors=Object.values(Xi),pt([s],Re.prototype,"name",2),pt([s],Re.prototype,"initials",2),pt([s({converter:ve})],Re.prototype,"size",2),pt([s],Re.prototype,"shape",2),pt([s],Re.prototype,"active",2),pt([s],Re.prototype,"appearance",2),pt([s],Re.prototype,"color",2),pt([s({attribute:"color-id"})],Re.prototype,"colorId",2);let oh=Re;const Bf=o=>{let e=0;for(let t=o.length-1;t>=0;t--){const r=o.charCodeAt(t),a=t%8;e^=(r<<a)+(r>>8-a)}return e},wf=v`<svg width="1em" height="1em" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg" 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 Sf(){return v`<template role="img" data-color=${o=>o.generateColor()}><slot>${o=>o.name||o.initials?o.generateInitials():wf}</slot><slot name="badge"></slot></template>`}const rh=Sf(),gt={fastOutSlowInMax:ca,fastOutSlowInMid:da,fastOutSlowInMin:ji,slowOutFastInMax:Ri,slowOutFastInMid:la,slowOutFastInMin:Vi,fastEase:Gi,normalEase:ko,nullEasing:Wi},ah=f`
37
+ ${F("inline-flex")} :host{position:relative;align-items:center;justify-content:center;flex-shrink:0;width:32px;height:32px;font-family:${y};font-weight:${L};font-size:${P};border-radius:${Z};color:${W};background-color:${zr};contain:layout style}.default-icon,::slotted(svg){width:20px;height:20px;font-size:20px}::slotted(img){box-sizing:border-box;width:100%;height:100%;border-radius:${Z}}::slotted([slot='badge']){position:absolute;bottom:0;right:0;box-shadow:0 0 0 ${X}) ${_}}: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 ${ht}) ${_}}:host([size='16']),:host([size='20']),:host([size='24']){font-size:${Mt};font-weight:${T}}: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:${R}}:host([size='36']){width:36px;height:36px}:host([size='40']){width:40px;height:40px}:host([size='48']),:host([size='56']){font-size:${ie}}: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:${et}}: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:${fo}}: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:${ge}}:host([shape='square'][size='56']),:host([shape='square'][size='64']),:host([shape='square'][size='72']){border-radius:${Ko}}:host([shape='square'][size='96']),:host([shape='square'][size='120']),:host([shape='square'][size='128']){border-radius:${jr}}:host([data-color='brand']){color:${Tr};background-color:${Lr}}:host([data-color='dark-red']){color:${qn};background-color:${Wn}}:host([data-color='cranberry']){color:${Vn};background-color:${Rn}}:host([data-color='red']){color:${fn};background-color:${Vo}}:host([data-color='pumpkin']){color:${$i};background-color:${yi}}:host([data-color='peach']){color:${hi};background-color:${ui}}:host([data-color='marigold']){color:${Fn};background-color:${Cn}}:host([data-color='gold']){color:${Yn};background-color:${Un}}:host([data-color='brass']){color:${On};background-color:${Dn}}:host([data-color='brown']){color:${Mn};background-color:${En}}:host([data-color='forest']){color:${Kn};background-color:${Xn}}:host([data-color='seafoam']){color:${Pi};background-color:${Si}}:host([data-color='dark-green']){color:${Gn};background-color:${jn}}:host([data-color='light-teal']){color:${oi};background-color:${ti}}:host([data-color='teal']){color:${Ai};background-color:${Ti}}:host([data-color='steel']){color:${Fi};background-color:${Ci}}:host([data-color='blue']){color:${Ln};background-color:${Nn}}:host([data-color='royal-blue']){color:${wi};background-color:${Bi}}:host([data-color='cornflower']){color:${_n};background-color:${Hn}}:host([data-color='navy']){color:${di};background-color:${ci}}:host([data-color='lavender']){color:${ei};background-color:${Jn}}:host([data-color='purple']){color:${xi};background-color:${ki}}:host([data-color='grape']){color:${Zn};background-color:${Qn}}:host([data-color='lilac']){color:${ai};background-color:${ri}}:host([data-color='pink']){color:${gi};background-color:${pi}}:host([data-color='magenta']){color:${ii};background-color:${ni}}:host([data-color='plum']){color:${mi};background-color:${vi}}:host([data-color='beige']){color:${zn};background-color:${In}}:host([data-color='mink']){color:${li};background-color:${si}}:host([data-color='platinum']){color:${bi};background-color:${fi}}:host([data-color='anchor']){color:${An};background-color:${Tn}}:host([active]){transform:perspective(1px);transition-property:transform,opacity;transition-duration:${$o},${yo};transition-delay:${gt.fastEase},${gt.nullEasing}}:host([active])::before{content:'';position:absolute;top:0;left:0;bottom:0;right:0;border-radius:inherit;transition-property:margin,opacity;transition-duration:${$o}),${sa};transition-delay:${gt.fastEase}),${gt.nullEasing})}:host([active])::before{box-shadow:${Li};border-style:solid;border-color:${Lr}}:host([active][appearance='shadow'])::before{border-style:none;border-color:none}:host([active]:not([appearance='shadow']))::before{margin:calc(-2 * ${ht});border-width:${ht}}:host([size='56'][active]:not([appearance='shadow']))::before,:host([size='64'][active]:not([appearance='shadow']))::before{margin:calc(-2 * ${He});border-width:${He}}: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 * ${ea});border-width:${ea}}:host([size='20'][active][appearance])::before,:host([size='24'][active][appearance])::before,:host([size='28'][active][appearance])::before{box-shadow:${Ht}}:host([size='56'][active][appearance])::before,:host([size='64'][active][appearance])::before{box-shadow:${Jr}}: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:${Di}}:host([active][appearance='ring'])::before{box-shadow:none}:host([active='inactive']){opacity:0.8;transform:scale(0.875);transition-property:transform,opacity;transition-duration:${$o},${yo};transition-delay:${gt.fastOutSlowInMin},${gt.nullEasing}}:host([active='inactive'])::before{margin:0;opacity:0;transition-property:margin,opacity;transition-duration:${$o},${sa};transition-delay:${gt.fastOutSlowInMin},${gt.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}}`,Pf=oh.compose({name:`${x.prefix}-avatar`,template:rh,styles:ah}),nh={filled:"filled",ghost:"ghost",outline:"outline",tint:"tint"},ih={brand:"brand",danger:"danger",important:"important",informative:"informative",severe:"severe",subtle:"subtle",success:"success",warning:"warning"},Cf={circular:"circular",rounded:"rounded",square:"square"},Ff={tiny:"tiny",extraSmall:"extra-small",small:"small",medium:"medium",large:"large",extraLarge:"extra-large"};var Tf=Object.defineProperty,Af=Object.getOwnPropertyDescriptor,ua=(o,e,t,r)=>{for(var a=r>1?void 0:r?Af(e,t):e,n=o.length-1,i;n>=0;n--)(i=o[n])&&(a=(r?i(e,t,a):i(a))||a);return r&&a&&Tf(e,t,a),a};class Rt extends S{constructor(){super(...arguments),this.appearance=nh.filled,this.color=ih.brand}}ua([s],Rt.prototype,"appearance",2),ua([s],Rt.prototype,"color",2),ua([s],Rt.prototype,"shape",2),ua([s],Rt.prototype,"size",2),Te(Rt,Ye);function sh(o={}){return v` ${Ze(o)}<slot>${Q(o.defaultContent)}</slot>${Qe(o)} `}const lh=sh(),ha=tt,ch=f.partial`
38
+ ${F("inline-flex")} :host {
15
39
  position: relative;
16
40
  box-sizing: border-box;
17
41
  align-items: center;
18
42
  justify-content: center;
19
- font-family: ${Bs};
20
- font-weight: ${Es};
21
- font-size: ${Fs};
22
- line-height: ${js};
43
+ font-family: ${y};
44
+ font-weight: ${L};
45
+ font-size: ${R};
46
+ line-height: ${se};
23
47
  min-width: 20px;
24
48
  height: 20px;
25
- padding-inline: calc(${gl} + ${Zc});
26
- border-radius: ${$s};
27
- border-color: ${va};
28
- background-color: ${Lr};
29
- color: ${ko};
49
+ padding-inline: calc(${fe} + ${ha});
50
+ border-radius: ${Z};
51
+ border-color: ${me};
52
+ background-color: ${ho};
53
+ color: ${pe};
30
54
  contain: content;
31
55
  }
32
56
 
@@ -42,11 +66,11 @@ let e;try{if(document.currentScript)e=document.currentScript.getAttribute("fast-
42
66
  bottom: 0;
43
67
  right: 0;
44
68
  border-style: solid;
45
- border-width: ${ll};
69
+ border-width: ${X};
46
70
  border-color: inherit;
47
71
  border-radius: inherit;
48
72
  }
49
- `,ed=j.partial`
73
+ `,dh=f.partial`
50
74
  :host([size='tiny']) {
51
75
  width: 6px;
52
76
  height: 6px;
@@ -72,9 +96,9 @@ let e;try{if(document.currentScript)e=document.currentScript.getAttribute("fast-
72
96
  :host([size='small']) {
73
97
  min-width: 16px;
74
98
  height: 16px;
75
- font-size: ${Ss};
76
- line-height: ${Rs};
77
- padding-inline: calc(${pl} + ${Zc});
99
+ font-size: ${Mt};
100
+ line-height: ${vo};
101
+ padding-inline: calc(${tt} + ${ha});
78
102
  }
79
103
  :host([size='small']) ::slotted(svg) {
80
104
  font-size: 12px;
@@ -82,9 +106,9 @@ let e;try{if(document.currentScript)e=document.currentScript.getAttribute("fast-
82
106
  :host([size='large']) {
83
107
  min-width: 24px;
84
108
  height: 24px;
85
- font-size: ${Fs};
86
- line-height: ${js};
87
- padding-inline: calc(${gl} + ${Zc});
109
+ font-size: ${R};
110
+ line-height: ${se};
111
+ padding-inline: calc(${fe} + ${ha});
88
112
  }
89
113
  :host([size='large']) ::slotted(svg) {
90
114
  font-size: 16px;
@@ -92,352 +116,398 @@ let e;try{if(document.currentScript)e=document.currentScript.getAttribute("fast-
92
116
  :host([size='extra-large']) {
93
117
  min-width: 32px;
94
118
  height: 32px;
95
- font-size: ${Fs};
96
- line-height: ${js};
97
- padding-inline: calc(${vl} + ${Zc});
119
+ font-size: ${R};
120
+ line-height: ${se};
121
+ padding-inline: calc(${_e} + ${ha});
98
122
  }
99
123
  :host([size='extra-large']) ::slotted(svg) {
100
124
  font-size: 20px;
101
125
  }
102
- `,td=j.partial`
126
+ `,uh=f.partial`
103
127
  :host([color='danger']) {
104
- background-color: ${"var(--colorPaletteRedBackground3)"};
105
- color: ${ko};
128
+ background-color: ${jo};
129
+ color: ${pe};
106
130
  }
107
131
 
108
132
  :host([color='important']) {
109
- background-color: ${Vt};
110
- color: ${Vo};
133
+ background-color: ${O};
134
+ color: ${_};
111
135
  }
112
136
 
113
137
  :host([color='informative']) {
114
- background-color: ${"var(--colorNeutralBackground5)"};
115
- color: ${Jt};
138
+ background-color: ${nn};
139
+ color: ${W};
116
140
  }
117
141
 
118
142
  :host([color='severe']) {
119
- background-color: ${"var(--colorPaletteDarkOrangeBackground3)"};
120
- color: ${ko};
143
+ background-color: ${Wo};
144
+ color: ${pe};
121
145
  }
122
146
 
123
147
  :host([color='subtle']) {
124
- background-color: ${Vo};
125
- color: ${Vt};
148
+ background-color: ${_};
149
+ color: ${O};
126
150
  }
127
151
 
128
152
  :host([color='success']) {
129
- background-color: ${"var(--colorPaletteGreenBackground3)"};
130
- color: ${ko};
153
+ background-color: ${Go};
154
+ color: ${pe};
131
155
  }
132
156
 
133
157
  :host([color='warning']) {
134
- background-color: ${"var(--colorPaletteYellowBackground3)"};
135
- color: ${"var(--colorNeutralForeground1Static)"};
158
+ background-color: ${Sn};
159
+ color: ${rn};
136
160
  }
137
- `,od=j.partial`
161
+ `,hh=f.partial`
138
162
  :host([appearance='ghost']) {
139
- color: ${"var(--colorBrandForeground1)"};
163
+ color: ${Do};
140
164
  background-color: initial;
141
165
  }
142
166
 
143
167
  :host([appearance='ghost'][color='danger']) {
144
- color: ${"var(--colorPaletteRedForeground3)"};
168
+ color: ${Hr};
145
169
  }
146
170
 
147
171
  :host([appearance='ghost'][color='important']) {
148
- color: ${Vt};
172
+ color: ${O};
149
173
  }
150
174
 
151
175
  :host([appearance='ghost'][color='informative']) {
152
- color: ${Jt};
176
+ color: ${W};
153
177
  }
154
178
 
155
179
  :host([appearance='ghost'][color='severe']) {
156
- color: ${"var(--colorPaletteDarkOrangeForeground3)"};
180
+ color: ${Vr};
157
181
  }
158
182
 
159
183
  :host([appearance='ghost'][color='subtle']) {
160
- color: ${"var(--colorNeutralForegroundInverted)"};
184
+ color: ${lo};
161
185
  }
162
186
 
163
187
  :host([appearance='ghost'][color='success']) {
164
- color: ${"var(--colorPaletteGreenForeground3)"};
188
+ color: ${$n};
165
189
  }
166
190
 
167
191
  :host([appearance='ghost'][color='warning']) {
168
- color: ${"var(--colorPaletteYellowForeground2)"};
192
+ color: ${qo};
169
193
  }
170
- `,rd=j.partial`
194
+ `,If=f.partial`
171
195
  :host([appearance='outline']) {
172
196
  border-color: currentColor;
173
- color: ${"var(--colorBrandForeground1)"};
197
+ color: ${Do};
174
198
  background-color: initial;
175
199
  }
176
200
 
177
201
  :host([appearance='outline'][color='danger']) {
178
- color: ${"var(--colorPaletteRedForeground3)"};
202
+ color: ${Hr};
179
203
  }
180
204
 
181
205
  :host([appearance='outline'][color='important']) {
182
- color: ${Jt};
183
- border-color: ${Wr};
206
+ color: ${W};
207
+ border-color: ${Ae};
184
208
  }
185
209
 
186
210
  :host([appearance='outline'][color='informative']) {
187
- color: ${Jt};
188
- border-color: ${ta};
211
+ color: ${W};
212
+ border-color: ${Ot};
189
213
  }
190
214
 
191
215
  :host([appearance='outline'][color='severe']) {
192
- color: ${"var(--colorPaletteDarkOrangeForeground3)"};
216
+ color: ${Vr};
193
217
  }
194
218
 
195
219
  :host([appearance='outline'][color='subtle']) {
196
- color: ${"var(--colorNeutralForegroundStaticInverted)"};
220
+ color: ${Tr};
197
221
  }
198
222
 
199
223
  :host([appearance='outline'][color='success']) {
200
- color: ${"var(--colorPaletteGreenForeground2)"};
224
+ color: ${yn};
201
225
  }
202
226
 
203
227
  :host([appearance='outline'][color='warning']) {
204
- color: ${"var(--colorPaletteYellowForeground2)"};
228
+ color: ${qo};
205
229
  }
206
- `,ad=j.partial`
230
+ `,zf=f.partial`
207
231
  :host([appearance='tint']) {
208
- background-color: ${Vr};
209
- color: ${"var(--colorBrandForeground2)"};
210
- border-color: ${"var(--colorBrandStroke2)"};
232
+ background-color: ${zt};
233
+ color: ${on};
234
+ border-color: ${Or};
211
235
  }
212
236
 
213
237
  :host([appearance='tint'][color='danger']) {
214
- background-color: ${"var(--colorPaletteRedBackground1)"};
215
- color: ${"var(--colorPaletteRedForeground1)"};
216
- border-color: ${"var(--colorPaletteRedBorder1)"};
238
+ background-color: ${pn};
239
+ color: ${Mr};
240
+ border-color: ${gn};
217
241
  }
218
242
 
219
243
  :host([appearance='tint'][color='important']) {
220
- background-color: ${Jt};
221
- color: ${Vo};
222
- border-color: ${va};
244
+ background-color: ${W};
245
+ color: ${_};
246
+ border-color: ${me};
223
247
  }
224
248
 
225
249
  :host([appearance='tint'][color='informative']) {
226
- background-color: ${"var(--colorNeutralBackground4)"};
227
- color: ${Jt};
228
- border-color: ${ta};
250
+ background-color: ${an};
251
+ color: ${W};
252
+ border-color: ${Ot};
229
253
  }
230
254
 
231
255
  :host([appearance='tint'][color='severe']) {
232
- background-color: ${"var(--colorPaletteDarkOrangeBackground1)"};
233
- color: ${"var(--colorPaletteDarkOrangeForeground1)"};
234
- border-color: ${"var(--colorPaletteDarkOrangeBorder1)"};
256
+ background-color: ${kn};
257
+ color: ${Bn};
258
+ border-color: ${xn};
235
259
  }
236
260
 
237
261
  :host([appearance='tint'][color='subtle']) {
238
- background-color: ${Vo};
239
- color: ${Jt};
240
- border-color: ${ta};
262
+ background-color: ${_};
263
+ color: ${W};
264
+ border-color: ${Ot};
241
265
  }
242
266
 
243
267
  :host([appearance='tint'][color='success']) {
244
- background-color: ${"var(--colorPaletteGreenBackground1)"};
245
- color: ${"var(--colorPaletteGreenForeground1)"};
246
- border-color: ${"var(--colorPaletteGreenBorder2)"};
268
+ background-color: ${bn};
269
+ color: ${mn};
270
+ border-color: ${vn};
247
271
  }
248
272
 
249
273
  :host([appearance='tint'][color='warning']) {
250
- background-color: ${"var(--colorPaletteYellowBackground1)"};
251
- color: ${"var(--colorPaletteYellowForeground2)"};
252
- border-color: ${"var(--colorPaletteYellowBorder1)"};
253
- }
254
- `,nd=j.partial`
255
- font-family: ${Bs};
256
- font-size: ${Cs};
257
- line-height: ${Vs};
258
- font-weight: ${Hs};
259
- `,id=j.partial`
260
- font-family: ${Bs};
261
- font-size: ${Cs};
262
- line-height: ${Vs};
263
- font-weight: ${Es};
264
- `,sd=j.partial`
265
- font-family: ${Bs};
266
- font-size: ${Cs};
267
- line-height: ${Vs};
268
- font-weight: ${Ms};
269
- `,ld=j.partial`
270
- font-family: ${Bs};
271
- font-size: ${Ns};
272
- line-height: ${_s};
273
- font-weight: ${Hs};
274
- `,cd=j.partial`
275
- font-family: ${Bs};
276
- font-size: ${Fs};
277
- line-height: ${js};
278
- font-weight: ${Hs};
279
- `,dd=j.partial`
280
- font-family: ${Bs};
281
- font-size: ${Fs};
282
- line-height: ${js};
283
- font-weight: ${Es};
284
- `,ud=j.partial`
285
- font-family: ${Bs};
286
- font-size: ${Fs};
287
- line-height: ${js};
288
- font-weight: ${Ms};
289
- `,hd=j.partial`
290
- font-family: ${Bs};
291
- font-size: ${Ss};
292
- line-height: ${Rs};
293
- font-weight: ${Hs};
294
- `,pd=j.partial`
295
- font-family: ${Bs};
296
- font-size: ${Ss};
297
- line-height: ${Rs};
298
- font-weight: ${Es};
299
- `,gd=j.partial`
300
- font-family: ${Bs};
301
- font-size: ${Is};
302
- line-height: ${Gs};
303
- font-weight: ${Es};
304
- `,vd=j.partial`
305
- font-family: ${Bs};
306
- font-size: ${Ns};
307
- line-height: ${_s};
308
- font-weight: ${Es};
309
- `,bd=j.partial`
310
- font-family: ${Bs};
311
- font-size: ${Ns};
312
- line-height: ${_s};
313
- font-weight: ${Ms};
314
- `,md=j.partial`
315
- font-family: ${Bs};
316
- font-size: ${"var(--fontSizeHero800)"};
317
- line-height: ${"var(--lineHeightHero800)"};
318
- font-weight: ${Es};
319
- `,fd=j.partial`
320
- font-family: ${Bs};
321
- font-size: ${"var(--fontSizeHero700)"};
322
- line-height: ${"var(--lineHeightHero700)"};
323
- font-weight: ${Es};
324
- `,yd=j.partial`
325
- font-family: ${Bs};
326
- font-size: ${As};
327
- line-height: ${"var(--lineHeightBase600)"};
328
- font-weight: ${Es};
329
- `,kd=j.partial`
330
- font-family: ${Bs};
331
- font-size: ${"var(--fontSizeHero900)"};
332
- line-height: ${"var(--lineHeightHero900)"};
333
- font-weight: ${Es};
334
- `,xd=j.partial`
335
- font-family: ${Bs};
336
- font-size: ${"var(--fontSizeHero1000)"};
337
- line-height: ${"var(--lineHeightHero1000)"};
338
- font-weight: ${Es};
339
- `,$d=j`
340
- :host([shape='square']){border-radius:${ms}}:host([shape='rounded']){border-radius:${ys}}:host([shape='rounded'][size='tiny']),:host([shape='rounded'][size='extra-small']),:host([shape='rounded'][size='small']){border-radius:${fs}}${ed}
341
- ${td}
342
- ${od}
343
- ${rd}
344
- ${ad}
345
- ${Jc}
346
- `,Bd=Kc.compose({name:Et.prefix+"-badge",template:Qc,styles:$d});var wd=Object.defineProperty,Pd=Object.getOwnPropertyDescriptor,Sd=(e,t,o,r)=>{for(var a,n=r>1?void 0:r?Pd(t,o):t,i=e.length-1;i>=0;i--)(a=e[i])&&(n=(r?a(t,o,n):a(n))||n);return r&&n&&wd(t,o,n),n};class Fd extends et{constructor(){super(),this.disabledFocusable=!1,this.elementInternals=this.attachInternals(),this.iconOnly=!1,this.elementInternals.role="button"}disabledFocusableChanged(e,t){this.$fastController.isConnected&&(this.elementInternals.ariaDisabled=""+!!t)}get form(){return this.elementInternals.form}get labels(){return Object.freeze(Array.from(this.elementInternals.labels))}typeChanged(e,t){var o,r,a;t!==lc.submit&&(null==(o=this.formSubmissionFallbackControl)||o.remove(),null==(a=null==(r=this.shadowRoot)?void 0:r.querySelector('slot[name="internal"]'))||a.remove())}clickHandler(e){if(!e||!this.disabledFocusable)return this.press(),!0;e.stopImmediatePropagation()}connectedCallback(){super.connectedCallback(),this.elementInternals.ariaDisabled=""+!!this.disabledFocusable}createAndInsertFormSubmissionFallbackControl(){var e,t,o,r,a,n,i,s;const l=null!=(e=this.formSubmissionFallbackControlSlot)?e:document.createElement("slot");l.setAttribute("name","internal"),null==(t=this.shadowRoot)||t.appendChild(l),this.formSubmissionFallbackControlSlot=l;const c=null!=(o=this.formSubmissionFallbackControl)?o:document.createElement("button");c.style.display="none",c.setAttribute("type","submit"),c.setAttribute("slot","internal"),this.formNoValidate&&c.toggleAttribute("formnovalidate",!0),(null==(r=this.elementInternals.form)?void 0:r.id)&&c.setAttribute("form",this.elementInternals.form.id),this.name&&c.setAttribute("name",this.name),this.value&&c.setAttribute("value",this.value),this.formAction&&c.setAttribute("formaction",null!=(a=this.formAction)?a:""),this.formEnctype&&c.setAttribute("formenctype",null!=(n=this.formEnctype)?n:""),this.formMethod&&c.setAttribute("formmethod",null!=(i=this.formMethod)?i:""),this.formTarget&&c.setAttribute("formtarget",null!=(s=this.formTarget)?s:""),this.append(c),this.formSubmissionFallbackControl=c}formDisabledCallback(e){this.disabled=e}keypressHandler(e){if(e&&this.disabledFocusable)e.stopImmediatePropagation();else{if("Enter"!==e.key&&" "!==e.key)return!0;this.press()}}press(){switch(this.type){case lc.reset:this.resetForm();break;case lc.submit:this.submitForm()}}resetForm(){var e;null==(e=this.elementInternals.form)||e.reset()}submitForm(){var e;if(this.elementInternals.form&&!this.disabled&&this.type===lc.submit)if(this.name||this.formAction||this.formEnctype||this.form||this.formMethod||this.formNoValidate||this.formTarget)try{this.elementInternals.setFormValue(null!=(e=this.value)?e:""),this.elementInternals.form.requestSubmit(this)}catch(e){this.createAndInsertFormSubmissionFallbackControl(),this.elementInternals.setFormValue(null),this.elementInternals.form.requestSubmit(this.formSubmissionFallbackControl)}else this.elementInternals.form.requestSubmit()}}function Cd(e={}){return ye`<template tabindex="${e=>e.disabled?-1:0}" @click="${(e,t)=>e.clickHandler(t.event)}" @keypress="${(e,t)=>e.keypressHandler(t.event)}">${wt(e)}<span class="content" part="content"><slot ${Ne("defaultSlottedContent")}></slot></span>${Bt(e)}</template>`}Fd.formAssociated=!0,Sd([Oe],Fd.prototype,"appearance",2),Sd([Oe({mode:"boolean"})],Fd.prototype,"autofocus",2),Sd([B],Fd.prototype,"defaultSlottedContent",2),Sd([Oe({mode:"boolean"})],Fd.prototype,"disabled",2),Sd([Oe({attribute:"disabled-focusable",mode:"boolean"})],Fd.prototype,"disabledFocusable",2),Sd([Oe({attribute:"formaction"})],Fd.prototype,"formAction",2),Sd([Oe({attribute:"form"})],Fd.prototype,"formAttribute",2),Sd([Oe({attribute:"formenctype"})],Fd.prototype,"formEnctype",2),Sd([Oe({attribute:"formmethod"})],Fd.prototype,"formMethod",2),Sd([Oe({attribute:"formnovalidate",mode:"boolean"})],Fd.prototype,"formNoValidate",2),Sd([Oe({attribute:"formtarget"})],Fd.prototype,"formTarget",2),Sd([Oe({attribute:"icon-only",mode:"boolean"})],Fd.prototype,"iconOnly",2),Sd([Oe],Fd.prototype,"name",2),Sd([Oe],Fd.prototype,"shape",2),Sd([Oe],Fd.prototype,"size",2),Sd([Oe],Fd.prototype,"type",2),Sd([Oe],Fd.prototype,"value",2),Pt(Fd,$t);const Nd=Cd(),Id=j`
347
- ${bt("inline-flex")}
348
-
349
- :host{--icon-spacing:${vl};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:${Vo};color:${Vt};border:${ll} solid ${Qr};padding:0 ${fl};min-width:96px;border-radius:${ys};font-size:${Cs};font-family:${Bs};font-weight:${Es};line-height:${Vs};transition-duration:${Ol};transition-property:background,border,color;transition-timing-function:${Yl};cursor:pointer;user-select:none}.content{display:inherit}:host(:hover){background-color:${"var(--colorNeutralBackground1Hover)"};color:${"var(--colorNeutralForeground1Hover)"};border-color:${Zr}}:host(:hover:active){background-color:${"var(--colorNeutralBackground1Pressed)"};border-color:${"var(--colorNeutralStroke1Pressed)"};color:${"var(--colorNeutralForeground1Pressed)"};outline-style:none}:host(:focus-visible){border-color:${va};outline:${cl}) solid ${va};box-shadow:${Qs},0 0 0 2px ${ya}}@media screen and (prefers-reduced-motion:reduce){transition-duration:0.01ms}::slotted(svg){font-size:20px;height:20px;width:20px;fill:currentColor}[slot='start'],::slotted([slot='start']){margin-inline-end:var(--icon-spacing)}[slot='end'],::slotted([slot='end']){margin-inline-start:var(--icon-spacing)}:host([icon-only]){min-width:32px;max-width:32px}:host([size='small']){--icon-spacing:${gl};min-height:24px;min-width:64px;padding:0 ${bl};border-radius:${fs};font-size:${Fs};line-height:${js};font-weight:${Hs}}:host([size='small'][icon-only]){min-width:24px;max-width:24px}:host([size='large']){min-height:40px;border-radius:${"var(--borderRadiusLarge)"};padding:0 ${"var(--spacingHorizontalL)"};font-size:${Ns};line-height:${_s}}:host([size='large'][icon-only]){min-width:40px;max-width:40px}:host([size='large']) ::slotted(svg){font-size:24px;height:24px;width:24px}:host([shape='circular']),:host([shape='circular']:focus-visible){border-radius:${$s}}:host([shape='square']),:host([shape='square']:focus-visible){border-radius:${ms}}:host([appearance='primary']){background-color:${Lr};color:${ko};border-color:transparent}:host([appearance='primary']:hover){background-color:${"var(--colorBrandBackgroundHover)"}}:host([appearance='primary']:hover),:host([appearance='primary']:hover:active){border-color:transparent;color:${ko}}:host([appearance='primary']:hover:active){background-color:${"var(--colorBrandBackgroundPressed)"}}:host([appearance='primary']:focus-visible){border-color:${ko};box-shadow:${Us},0 0 0 2px ${ya}}:host(is:([disabled][appearance='primary'],[disabled-focusabale][appearance="primary"])),:host(is:([disabled][appearance='primary'],[disabled-focusabale][appearance="primary"]):hover),:host(is:([disabled][appearance='primary'],[disabled-focusabale][appearance="primary"]):hover:active){border-color:transparent}:host([appearance='outline']){background-color:${$r}}:host([appearance='outline']:hover){background-color:${"var(--colorTransparentBackgroundHover)"}}:host([appearance='outline']:hover:active){background-color:${"var(--colorTransparentBackgroundPressed)"}}:host(is:([disabled][appearance='outline'],[disabled-focusabale][appearance="outline"])),:host(is:([disabled][appearance='outline'],[disabled-focusabale][appearance="outline"]):hover),:host(is:([disabled][appearance='outline'],[disabled-focusabale][appearance="outline"]):hover:active){background-color:${$r}}:host([appearance='subtle']){background-color:${"var(--colorSubtleBackground)"};color:${qt};border-color:transparent}:host([appearance='subtle']:hover){background-color:${"var(--colorSubtleBackgroundHover)"};color:${"var(--colorNeutralForeground2Hover)"};border-color:transparent}:host([appearance='subtle']:hover:active){background-color:${"var(--colorSubtleBackgroundPressed)"};color:${"var(--colorNeutralForeground2Pressed)"};border-color:transparent}:host(is:([disabled][appearance='subtle'],[disabled-focusabale][appearance="subtle"])),:host(is:([disabled][appearance='subtle'],[disabled-focusabale][appearance="subtle"]):hover),:host(is:([disabled][appearance='subtle'],[disabled-focusabale][appearance="subtle"]):hover:active){background-color:${$r};border-color:transparent}:host([appearance='subtle']:hover) ::slotted(svg){fill:${"var(--colorNeutralForeground2BrandHover)"}}:host([appearance='subtle']:hover:active) ::slotted(svg){fill:${"var(--colorNeutralForeground2BrandPressed)"}}:host([appearance='transparent']){background-color:${$r};color:${qt}}:host([appearance='transparent']:hover){background-color:${"var(--colorTransparentBackgroundHover)"};color:${"var(--colorNeutralForeground2BrandHover)"}}:host([appearance='transparent']:hover:active){background-color:${"var(--colorTransparentBackgroundPressed)"};color:${"var(--colorNeutralForeground2BrandPressed)"}}:host([appearance='transparent']),:host([appearance='transparent']:hover),:host([appearance='transparent']:hover:active){border-color:transparent}:host(is:([disabled][appearance='transparent'],[disabled-focusabale][appearance="transparent"])),:host(is:([disabled][appearance='transparent'],[disabled-focusabale][appearance="transparent"]):hover),:host(is:([disabled][appearance='transparent'],[disabled-focusabale][appearance="transparent"]):hover:active){border-color:transparent;background-color:${$r}}: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:${"var(--colorNeutralBackgroundDisabled)"};border-color:${pa};color:${so};cursor:not-allowed}`.withBehaviors(yt(j`
350
- :host([appearance='transparent']:hover){border-color:Highlight}`)),Ad=Fd.compose({name:Et.prefix+"-button",template:Nd,styles:Id}),Td="ElementInternals"in window&&"setFormValue"in window.ElementInternals.prototype,zd=new WeakMap;function Ld(e){const t=class extends e{constructor(...e){super(...e),this.dirtyValue=!1,this.initialValue="",this.disabled=!1,this.proxyEventsToBlock=["change","click"],this.proxyInitialized=!1,this.required=!1,this.initialValue=this.initialValue||"",this.elementInternals||(this.formResetCallback=this.formResetCallback.bind(this))}static get formAssociated(){return Td}get validity(){return this.elementInternals?this.elementInternals.validity:this.proxy.validity}get form(){return this.elementInternals?this.elementInternals.form:this.proxy.form}get validationMessage(){return this.elementInternals?this.elementInternals.validationMessage:this.proxy.validationMessage}get willValidate(){return this.elementInternals?this.elementInternals.willValidate:this.proxy.willValidate}get labels(){if(this.elementInternals)return Object.freeze(Array.from(this.elementInternals.labels));if(this.proxy instanceof HTMLElement&&this.proxy.ownerDocument&&this.id){const e=this.proxy.labels,t=Array.from(this.proxy.getRootNode().querySelectorAll(`[for='${this.id}']`)),o=e?t.concat(Array.from(e)):t;return Object.freeze(o)}return l}valueChanged(e,t){this.dirtyValue=!0,this.proxy instanceof HTMLElement&&(this.proxy.value=this.value),this.currentValue=this.value,this.setFormValue(this.value),this.validate()}currentValueChanged(){this.value=this.currentValue}initialValueChanged(e,t){this.dirtyValue||(this.value=this.initialValue,this.dirtyValue=!1)}disabledChanged(e,t){this.proxy instanceof HTMLElement&&(this.proxy.disabled=this.disabled),f.enqueue(()=>this.classList.toggle("disabled",this.disabled))}nameChanged(e,t){this.proxy instanceof HTMLElement&&(this.proxy.name=this.name)}requiredChanged(e,t){this.proxy instanceof HTMLElement&&(this.proxy.required=this.required),f.enqueue(()=>this.classList.toggle("required",this.required)),this.validate()}get elementInternals(){if(!Td)return null;let e=zd.get(this);return e||(e=this.attachInternals(),zd.set(this,e)),e}connectedCallback(){super.connectedCallback(),this.addEventListener("keypress",this._keypressHandler),this.value||(this.value=this.initialValue,this.dirtyValue=!1),this.elementInternals||(this.attachProxy(),this.form&&this.form.addEventListener("reset",this.formResetCallback))}disconnectedCallback(){this.proxyEventsToBlock.forEach(e=>this.proxy.removeEventListener(e,this.stopPropagation)),!this.elementInternals&&this.form&&this.form.removeEventListener("reset",this.formResetCallback)}checkValidity(){return this.elementInternals?this.elementInternals.checkValidity():this.proxy.checkValidity()}reportValidity(){return this.elementInternals?this.elementInternals.reportValidity():this.proxy.reportValidity()}setValidity(e,t,o){this.elementInternals?this.elementInternals.setValidity(e,t,o):"string"==typeof t&&this.proxy.setCustomValidity(t)}formDisabledCallback(e){this.disabled=e}formResetCallback(){this.value=this.initialValue,this.dirtyValue=!1}attachProxy(){var e;this.proxyInitialized||(this.proxyInitialized=!0,this.proxy.style.display="none",this.proxyEventsToBlock.forEach(e=>this.proxy.addEventListener(e,this.stopPropagation)),this.proxy.disabled=this.disabled,this.proxy.required=this.required,"string"==typeof this.name&&(this.proxy.name=this.name),"string"==typeof this.value&&(this.proxy.value=this.value),this.proxy.setAttribute("slot","form-associated-proxy"),this.proxySlot=document.createElement("slot"),this.proxySlot.setAttribute("name","form-associated-proxy")),null==(e=this.shadowRoot)||e.appendChild(this.proxySlot),this.appendChild(this.proxy)}detachProxy(){var e;this.removeChild(this.proxy),null==(e=this.shadowRoot)||e.removeChild(this.proxySlot)}validate(e){this.proxy instanceof HTMLElement&&this.setValidity(this.proxy.validity,this.proxy.validationMessage,e)}setFormValue(e,t){this.elementInternals&&this.elementInternals.setFormValue(e,t||e)}_keypressHandler(e){switch(e.key){case"Enter":if(this.form instanceof HTMLFormElement){const e=this.form.querySelector("[type=submit]");null==e||e.click()}}}stopPropagation(e){e.stopPropagation()}};return Oe({mode:"boolean"})(t.prototype,"disabled"),Oe({mode:"fromView",attribute:"value"})(t.prototype,"initialValue"),Oe({attribute:"current-value"})(t.prototype,"currentValue"),Oe(t.prototype,"name"),Oe({mode:"boolean"})(t.prototype,"required"),B(t.prototype,"value"),t}function Od(e){class t extends(Ld(e)){}class o extends t{constructor(...e){super(e),this.dirtyChecked=!1,this.checkedAttribute=!1,this.checked=!1,this.dirtyChecked=!1}checkedAttributeChanged(){this.defaultChecked=this.checkedAttribute}defaultCheckedChanged(){this.dirtyChecked||(this.checked=this.defaultChecked,this.dirtyChecked=!1)}checkedChanged(e,t){this.dirtyChecked||(this.dirtyChecked=!0),this.currentChecked=this.checked,this.updateForm(),this.proxy instanceof HTMLInputElement&&(this.proxy.checked=this.checked),void 0!==e&&this.$emit("change"),this.validate()}currentCheckedChanged(e,t){this.checked=this.currentChecked}updateForm(){const e=this.checked?this.value:null;this.setFormValue(e,e)}connectedCallback(){super.connectedCallback(),this.updateForm()}formResetCallback(){super.formResetCallback(),this.checked=!!this.checkedAttribute,this.dirtyChecked=!1}}return Oe({attribute:"checked",mode:"boolean"})(o.prototype,"checkedAttribute"),Oe({attribute:"current-checked",converter:Ae})(o.prototype,"currentChecked"),B(o.prototype,"defaultChecked"),B(o.prototype,"checked"),o}class Hd extends et{}class Dd extends(Od(Hd)){constructor(){super(...arguments),this.proxy=document.createElement("input")}}var Ed=Object.defineProperty,Md=Object.getOwnPropertyDescriptor,Rd=(e,t,o,r)=>{for(var a,n=r>1?void 0:r?Md(t,o):t,i=e.length-1;i>=0;i--)(a=e[i])&&(n=(r?a(t,o,n):a(n))||n);return r&&n&&Ed(t,o,n),n};class jd extends Dd{constructor(){super(),this.initialValue="on",this.indeterminate=!1,this.keypressHandler=e=>{if(!this.disabled)switch(e.key){case" ":this.toggleChecked()}},this.clickHandler=e=>{this.disabled||this.toggleChecked()},this.proxy.setAttribute("type","checkbox")}toggleChecked(){this.indeterminate&&(this.indeterminate=!1),this.checked=!this.checked}}Rd([Oe],jd.prototype,"shape",2),Rd([Oe],jd.prototype,"size",2),Rd([Oe({attribute:"label-position"})],jd.prototype,"labelPosition",2),Rd([B],jd.prototype,"defaultSlottedNodes",2),Rd([B],jd.prototype,"indeterminate",2);const Vd={circular:"circular",square:"square"},_d={medium:"medium",large:"large"},Gd={before:"before",after:"after"};const Xd=function(e={}){return ye`<template role="checkbox" aria-checked="${e=>e.indeterminate?"mixed":e.checked}" aria-required="${e=>e.required}" aria-disabled="${e=>e.disabled}" tabindex="${e=>e.disabled?null:0}" @keypress="${(e,t)=>e.keypressHandler(t.event)}" @click="${(e,t)=>e.clickHandler(t.event)}"><div part="control" class="control"><slot name="checked-indicator">${pt(e.checkedIndicator)}</slot><slot name="indeterminate-indicator">${pt(e.indeterminateIndicator)}</slot></div><label part="label" class="${e=>e.defaultSlottedNodes&&e.defaultSlottedNodes.length?"label":"label label__hidden"}"><slot ${Ne("defaultSlottedNodes")}></slot></label></template>`}({checkedIndicator:ye.partial('\n <div class="checked-indicator">\n <svg fill="currentColor"\n aria-hidden="true"\n width="1em"\n height="1em"\n viewBox="0 0 12 12"\n xmlns="http://www.w3.org/2000/svg">\n <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">\n </path>\n </svg>\n </div>\n'),indeterminateIndicator:ye.partial('\n <div class="indeterminate-indicator"></div>\n')}),qd=j`
351
- ${bt("inline-flex")}
352
- :host{align-items:center;outline:none;user-select:none;vertical-align:middle;cursor:pointer;font-family:${Bs};font-size:${Cs};line-height:${Vs};color:${Jt};position:relative}:host(:focus-visible)::after{content:'';position:absolute;inset:0px;cursor:pointer;border-radius:${ys};outline:none;border:2px solid ${fa};box-shadow:inset 0 0 0 1px ${ya}}.control{position:relative;box-sizing:border-box;display:flex;flex-shrink:0;align-items:center;justify-content:center;overflow:hidden;margin:${Fl} ${bl};fill:currentcolor;height:16px;width:16px;border:${ll} solid ${Wr};border-radius:${fs};outline:none}.label{align-self:center;cursor:inherit;padding-inline:${bl};padding-bottom:${Fl};padding-top:${Fl}}.label__hidden{display:none;visibility:hidden}.checked-indicator{display:flex;align-items:center;justify-content:center;color:${"var(--colorNeutralForegroundInverted)"};font-size:12px;margin:auto;opacity:0}.indeterminate-indicator{position:absolute;width:8px;height:8px;border-radius:${fs};background-color:${"var(--colorCompoundBrandForeground1)"};opacity:0}:host(:hover){color:${qt}}:host(:hover) .control{border-color:${"var(--colorNeutralStrokeAccessibleHover)"}}:host(:hover) .indeterminate-indicator{background-color:${"var(--colorCompoundBrandForeground1Hover)"}}:host(:active) .control{border-color:${"var(--colorNeutralStrokeAccessiblePressed)"}}:host(:active) .indeterminate-indicator{background-color:${"var(--colorCompoundBrandForeground1Pressed)"}}:host([aria-checked='true']),:host([aria-checked='mixed']),:host(:active){color:${Vt}}:host([aria-checked='true']) .control{background-color:${Er}}:host([aria-checked='true']:hover) .control{border-color:${"var(--colorCompoundBrandStrokeHover)"};background-color:${"var(--colorCompoundBrandBackgroundHover)"}}:host([aria-checked='true']:active) .control{background-color:${"var(--colorCompoundBrandBackgroundPressed)"}}:host([aria-checked='mixed']:hover) .control{border-color:${"var(--colorCompoundBrandStrokeHover)"}}:host([aria-checked='true']) .checked-indicator,:host([aria-checked='mixed']) .indeterminate-indicator{opacity:1}:host([aria-checked='true']) .control,:host([aria-checked='mixed']) .control{border-color:${"var(--colorCompoundBrandStroke)"}}:host([aria-checked='mixed']:active) .control,:host([aria-checked='true']:active) .control{border-color:${"var(--colorCompoundBrandStrokePressed)"}}:host([label-position='before']){flex-direction:row-reverse}:host([label-position='before']) .label{padding-inline:${bl} ${gl};padding-top:${Fl};padding-bottom:${Fl}}:host([size='large']) .control{width:20px;height:20px}:host([size='large']) .checked-indicator{font-size:16px;height:20px}:host([aria-checked='mixed'][size='large']) .indeterminate-indicator{height:10px;width:10px}:host([shape='circular']) .control,:host([shape='circular']) .indeterminate-indicator{border-radius:${$s}}:host([disabled]) .control,:host([aria-checked='mixed'][disabled]) .control,:host([aria-checked='true'][disabled]) .control{background-color:${"var(--colorTransparentBackgroundHover)"};border-color:${pa}}:host([aria-checked='true'][disabled]) .checked-indicator,:host([disabled]) ::slotted([slot='start']),:host([disabled]) .label,:host([aria-checked='mixed'][disabled]) .label,:host([aria-checked='true'][disabled]) .label{color:${so}}:host([disabled]) .indeterminate-indicator{background-color:${so}}`,Wd=jd.compose({name:Et.prefix+"-checkbox",template:Xd,styles:qd});class Yd extends Fd{}const Kd=nc,Ud=ic,Qd=sc;const Zd=function(e={}){return ye`<template ?disabled="${e=>e.disabled}" tabindex="${e=>e.disabled?-1:0}">${wt(e)}<span class="content" part="content"><slot ${Ne("defaultSlottedContent")}></slot><slot name="description"></slot></span>${Bt(e)}</template>`}(),Jd=j`
353
- ${Id}
354
-
355
- :host,:host(:is([size])){gap:12px;height:auto;padding-top:14px;padding-inline:12px;padding-bottom:16px;font-size:${Cs};line-height:${Vs}}.content{display:flex;flex-direction:column;text-align:start}::slotted([slot='description']){color:${qt};line-height:100%;font-size:${Fs};font-weight:${Hs}}::slotted(svg),:host([size='large']) ::slotted(svg){font-size:40px;height:40px;width:40px}:host(:hover) ::slotted([slot='description']){color:${"var(--colorNeutralForeground2Hover)"}}:host(:active) ::slotted([slot='description']){color:${"var(--colorNeutralForeground2Pressed)"}}:host(:is([appearance='primary'],[appearance='primary']:hover,[appearance='primary']:active))
356
- ::slotted([slot='description']){color:${ko}}:host(:is([appearance='subtle'],[appearance='subtle']:hover,[appearance='subtle']:active))
357
- ::slotted([slot='description']),:host([appearance='transparent']) ::slotted([slot='description']){color:${qt}}:host([appearance='transparent']:hover) ::slotted([slot='description']){color:${"var(--colorNeutralForeground2BrandHover)"}}:host([appearance='transparent']:active) ::slotted([slot='description']){color:${"var(--colorNeutralForeground2BrandPressed)"}}:host(:is([disabled],[disabled][appearance],[disabled-focusable],[disabled-focusable][appearance]))
358
- ::slotted([slot='description']){color:${so}}:host([size='small']){padding:8px;padding-bottom:10px}:host([icon-only]){min-width:52px;max-width:52px;padding:${vl}}:host([icon-only][size='small']){min-width:48px;max-width:48px;padding:${gl}}:host([icon-only][size='large']){min-width:56px;max-width:56px;padding:${bl}}:host([size='large']){padding-top:18px;padding-inline:16px;padding-bottom:20px;font-size:${Ns};line-height:${_s}}:host([size='large']) ::slotted([slot='description']){font-size:${Cs}}`,eu=Yd.compose({name:Et.prefix+"-compound-button",template:Zd,styles:Jd});var tu=Object.defineProperty,ou=Object.getOwnPropertyDescriptor,ru=(e,t,o,r)=>{for(var a,n=r>1?void 0:r?ou(t,o):t,i=e.length-1;i>=0;i--)(a=e[i])&&(n=(r?a(t,o,n):a(n))||n);return r&&n&&tu(t,o,n),n};class au extends et{constructor(){super(...arguments),this.count=0,this.overflowCount=99,this.showZero=!1,this.dot=!1}countChanged(){this.setCount()}overflowCountChanged(){this.setCount()}setCount(){var e;const t=null!=(e=this.count)?e:0;if((0!==t||this.showZero)&&!this.dot)return t>this.overflowCount?this.overflowCount+"+":""+t}}ru([Oe],au.prototype,"appearance",2),ru([Oe],au.prototype,"color",2),ru([Oe],au.prototype,"shape",2),ru([Oe],au.prototype,"size",2),ru([Oe({converter:ze})],au.prototype,"count",2),ru([Oe({attribute:"overflow-count",converter:ze})],au.prototype,"overflowCount",2),ru([Oe({attribute:"show-zero",mode:"boolean"})],au.prototype,"showZero",2),ru([Oe({mode:"boolean"})],au.prototype,"dot",2),Pt(au,$t);const nu={filled:"filled",ghost:"ghost"},iu={brand:"brand",danger:"danger",important:"important",informative:"informative",severe:"severe",subtle:"subtle",success:"success",warning:"warning"},su={circular:"circular",rounded:"rounded"},lu={tiny:"tiny",extraSmall:"extra-small",small:"small",medium:"medium",large:"large",extraLarge:"extra-large"};const cu=Uc({defaultContent:ye`${e=>e.setCount()}`}),du=j`
359
- :host([shape='rounded']){border-radius:${ys}}:host([shape='rounded'][size='tiny']),:host([shape='rounded'][size='extra-small']),:host([shape='rounded'][size='small']){border-radius:${fs}}${ed}
360
- ${td}
361
- ${od}
362
- ${Jc}
363
-
364
- :host([dot]),:host([dot][appearance][size]){min-width:auto;width:6px;height:6px;padding:0}`,uu=au.compose({name:Et.prefix+"-counter-badge",template:cu,styles:du});
365
- /*!
274
+ background-color: ${wn};
275
+ color: ${qo};
276
+ border-color: ${Pn};
277
+ }
278
+ `;f.partial`
279
+ font-family: ${y};
280
+ font-size: ${P};
281
+ line-height: ${A};
282
+ font-weight: ${T};
283
+ `,f.partial`
284
+ font-family: ${y};
285
+ font-size: ${P};
286
+ line-height: ${A};
287
+ font-weight: ${L};
288
+ `,f.partial`
289
+ font-family: ${y};
290
+ font-size: ${P};
291
+ line-height: ${A};
292
+ font-weight: ${bo};
293
+ `,f.partial`
294
+ font-family: ${y};
295
+ font-size: ${ie};
296
+ line-height: ${ye};
297
+ font-weight: ${T};
298
+ `,f.partial`
299
+ font-family: ${y};
300
+ font-size: ${R};
301
+ line-height: ${se};
302
+ font-weight: ${T};
303
+ `,f.partial`
304
+ font-family: ${y};
305
+ font-size: ${R};
306
+ line-height: ${se};
307
+ font-weight: ${L};
308
+ `,f.partial`
309
+ font-family: ${y};
310
+ font-size: ${R};
311
+ line-height: ${se};
312
+ font-weight: ${bo};
313
+ `,f.partial`
314
+ font-family: ${y};
315
+ font-size: ${Mt};
316
+ line-height: ${vo};
317
+ font-weight: ${T};
318
+ `,f.partial`
319
+ font-family: ${y};
320
+ font-size: ${Mt};
321
+ line-height: ${vo};
322
+ font-weight: ${L};
323
+ `,f.partial`
324
+ font-family: ${y};
325
+ font-size: ${et};
326
+ line-height: ${mo};
327
+ font-weight: ${L};
328
+ `,f.partial`
329
+ font-family: ${y};
330
+ font-size: ${ie};
331
+ line-height: ${ye};
332
+ font-weight: ${L};
333
+ `,f.partial`
334
+ font-family: ${y};
335
+ font-size: ${ie};
336
+ line-height: ${ye};
337
+ font-weight: ${bo};
338
+ `,f.partial`
339
+ font-family: ${y};
340
+ font-size: ${Wr};
341
+ line-height: ${Yr};
342
+ font-weight: ${L};
343
+ `,f.partial`
344
+ font-family: ${y};
345
+ font-size: ${Gr};
346
+ line-height: ${Ur};
347
+ font-weight: ${L};
348
+ `,f.partial`
349
+ font-family: ${y};
350
+ font-size: ${fo};
351
+ line-height: ${Kr};
352
+ font-weight: ${L};
353
+ `,f.partial`
354
+ font-family: ${y};
355
+ font-size: ${qr};
356
+ line-height: ${Qr};
357
+ font-weight: ${L};
358
+ `,f.partial`
359
+ font-family: ${y};
360
+ font-size: ${Xr};
361
+ line-height: ${Zr};
362
+ font-weight: ${L};
363
+ `;const ph=f`
364
+ :host([shape='square']){border-radius:${Xo}}:host([shape='rounded']){border-radius:${B}}:host([shape='rounded'][size='tiny']),:host([shape='rounded'][size='extra-small']),:host([shape='rounded'][size='small']){border-radius:${ge}}${dh}
365
+ ${uh}
366
+ ${hh}
367
+ ${If}
368
+ ${zf}
369
+ ${ch}
370
+ `,Nf=Rt.compose({name:`${x.prefix}-badge`,template:lh,styles:ph});var Lf=Object.defineProperty,Df=Object.getOwnPropertyDescriptor,K=(o,e,t,r)=>{for(var a=r>1?void 0:r?Df(e,t):e,n=o.length-1,i;n>=0;n--)(i=o[n])&&(a=(r?i(e,t,a):i(a))||a);return r&&a&&Lf(e,t,a),a};class I extends S{constructor(){super(),this.disabledFocusable=!1,this.elementInternals=this.attachInternals(),this.iconOnly=!1,this.elementInternals.role="button"}disabledFocusableChanged(e,t){this.$fastController.isConnected&&(this.elementInternals.ariaDisabled=`${!!t}`)}get form(){return this.elementInternals.form}get labels(){return Object.freeze(Array.from(this.elementInternals.labels))}typeChanged(e,t){t!==Jo.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}`}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===io||e.key===so){this.press();return}return!0}press(){switch(this.type){case Jo.reset:{this.resetForm();break}case Jo.submit:{this.submitForm();break}}}resetForm(){this.elementInternals.form?.reset()}submitForm(){if(!(!this.elementInternals.form||this.disabled||this.type!==Jo.submit)){if(!this.name&&!this.formAction&&!this.formEnctype&&!this.form&&!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)}}}}I.formAssociated=!0,K([s],I.prototype,"appearance",2),K([s({mode:"boolean"})],I.prototype,"autofocus",2),K([m],I.prototype,"defaultSlottedContent",2),K([s({mode:"boolean"})],I.prototype,"disabled",2),K([s({attribute:"disabled-focusable",mode:"boolean"})],I.prototype,"disabledFocusable",2),K([s({attribute:"formaction"})],I.prototype,"formAction",2),K([s({attribute:"form"})],I.prototype,"formAttribute",2),K([s({attribute:"formenctype"})],I.prototype,"formEnctype",2),K([s({attribute:"formmethod"})],I.prototype,"formMethod",2),K([s({attribute:"formnovalidate",mode:"boolean"})],I.prototype,"formNoValidate",2),K([s({attribute:"formtarget"})],I.prototype,"formTarget",2),K([s({attribute:"icon-only",mode:"boolean"})],I.prototype,"iconOnly",2),K([s],I.prototype,"name",2),K([s],I.prototype,"shape",2),K([s],I.prototype,"size",2),K([s],I.prototype,"type",2),K([s],I.prototype,"value",2),Te(I,Ye);function Ki(o={}){return v`<template tabindex="${e=>e.disabled?-1:0}" @click="${(e,t)=>e.clickHandler(t.event)}" @keypress="${(e,t)=>e.keypressHandler(t.event)}">${Ze(o)}<span class="content" part="content"><slot ${Y("defaultSlottedContent")}></slot></span>${Qe(o)}</template>`}const gh=Ki(),xo=f`
371
+ ${F("inline-flex")}
372
+
373
+ :host{--icon-spacing:${_e};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:${_};color:${O};border:${X} solid ${Je};padding:0 ${ot};min-width:96px;border-radius:${B};font-size:${P};font-family:${y};font-weight:${L};line-height:${A};transition-duration:${yo};transition-property:background,border,color;transition-timing-function:${ko};cursor:pointer;user-select:none}.content{display:inherit}:host(:hover){background-color:${co};color:${Io};border-color:${Dt}}:host(:hover:active){background-color:${Oo};border-color:${po};color:${Fr};outline-style:none}:host(:focus-visible){border-color:${me};outline:${ht}) solid ${me};box-shadow:${Ht},0 0 0 2px ${Se}}@media screen and (prefers-reduced-motion:reduce){transition-duration:0.01ms}::slotted(svg){font-size:20px;height:20px;width:20px;fill:currentColor}[slot='start'],::slotted([slot='start']){margin-inline-end:var(--icon-spacing)}[slot='end'],::slotted([slot='end']){margin-inline-start:var(--icon-spacing)}:host([icon-only]){min-width:32px;max-width:32px}:host([size='small']){--icon-spacing:${fe};min-height:24px;min-width:64px;padding:0 ${V};border-radius:${ge};font-size:${R};line-height:${se};font-weight:${T}}:host([size='small'][icon-only]){min-width:24px;max-width:24px}:host([size='large']){min-height:40px;border-radius:${Ko};padding:0 ${ta};font-size:${ie};line-height:${ye}}:host([size='large'][icon-only]){min-width:40px;max-width:40px}:host([size='large']) ::slotted(svg){font-size:24px;height:24px;width:24px}:host([shape='circular']),:host([shape='circular']:focus-visible){border-radius:${Z}}:host([shape='square']),:host([shape='square']:focus-visible){border-radius:${Xo}}:host([appearance='primary']){background-color:${ho};color:${pe};border-color:transparent}:host([appearance='primary']:hover){background-color:${Eo}}:host([appearance='primary']:hover),:host([appearance='primary']:hover:active){border-color:transparent;color:${pe}}:host([appearance='primary']:hover:active){background-color:${Mo}}:host([appearance='primary']:focus-visible){border-color:${pe};box-shadow:${Uo},0 0 0 2px ${Se}}:host(is:([disabled][appearance='primary'],[disabled-focusabale][appearance="primary"])),:host(is:([disabled][appearance='primary'],[disabled-focusabale][appearance="primary"]):hover),:host(is:([disabled][appearance='primary'],[disabled-focusabale][appearance="primary"]):hover:active){border-color:transparent}:host([appearance='outline']){background-color:${q}}:host([appearance='outline']:hover){background-color:${dt}}:host([appearance='outline']:hover:active){background-color:${Ft}}:host(is:([disabled][appearance='outline'],[disabled-focusabale][appearance="outline"])),:host(is:([disabled][appearance='outline'],[disabled-focusabale][appearance="outline"]):hover),:host(is:([disabled][appearance='outline'],[disabled-focusabale][appearance="outline"]):hover:active){background-color:${q}}:host([appearance='subtle']){background-color:${Nr};color:${ne};border-color:transparent}:host([appearance='subtle']:hover){background-color:${uo};color:${St};border-color:transparent}:host([appearance='subtle']:hover:active){background-color:${Ct};color:${Pt};border-color:transparent}:host(is:([disabled][appearance='subtle'],[disabled-focusabale][appearance="subtle"])),:host(is:([disabled][appearance='subtle'],[disabled-focusabale][appearance="subtle"]):hover),:host(is:([disabled][appearance='subtle'],[disabled-focusabale][appearance="subtle"]):hover:active){background-color:${q};border-color:transparent}:host([appearance='subtle']:hover) ::slotted(svg){fill:${lt}}:host([appearance='subtle']:hover:active) ::slotted(svg){fill:${ct}}:host([appearance='transparent']){background-color:${q};color:${ne}}:host([appearance='transparent']:hover){background-color:${dt};color:${lt}}:host([appearance='transparent']:hover:active){background-color:${Ft};color:${ct}}:host([appearance='transparent']),:host([appearance='transparent']:hover),:host([appearance='transparent']:hover:active){border-color:transparent}:host(is:([disabled][appearance='transparent'],[disabled-focusabale][appearance="transparent"])),:host(is:([disabled][appearance='transparent'],[disabled-focusabale][appearance="transparent"]):hover),:host(is:([disabled][appearance='transparent'],[disabled-focusabale][appearance="transparent"]):hover:active){border-color:transparent;background-color:${q}}: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:${Tt};border-color:${Me};color:${k};cursor:not-allowed}`.withBehaviors(Ee(f`
374
+ :host([appearance='transparent']:hover){border-color:Highlight}`)),Of=I.compose({name:`${x.prefix}-button`,template:gh,styles:xo}),fh="form-associated-proxy",bh="ElementInternals",vh=bh in window&&"setFormValue"in window[bh].prototype,mh=new WeakMap;function Ui(o){const e=class extends o{constructor(...t){super(...t),this.dirtyValue=!1,this.initialValue="",this.disabled=!1,this.proxyEventsToBlock=["change","click"],this.proxyInitialized=!1,this.required=!1,this.initialValue=this.initialValue||"",this.elementInternals||(this.formResetCallback=this.formResetCallback.bind(this))}static get formAssociated(){return vh}get validity(){return this.elementInternals?this.elementInternals.validity:this.proxy.validity}get form(){return this.elementInternals?this.elementInternals.form:this.proxy.form}get validationMessage(){return this.elementInternals?this.elementInternals.validationMessage:this.proxy.validationMessage}get willValidate(){return this.elementInternals?this.elementInternals.willValidate:this.proxy.willValidate}get labels(){if(this.elementInternals)return Object.freeze(Array.from(this.elementInternals.labels));if(this.proxy instanceof HTMLElement&&this.proxy.ownerDocument&&this.id){const t=this.proxy.labels,r=Array.from(this.proxy.getRootNode().querySelectorAll(`[for='${this.id}']`)),a=t?r.concat(Array.from(t)):r;return Object.freeze(a)}else return bs}valueChanged(t,r){this.dirtyValue=!0,this.proxy instanceof HTMLElement&&(this.proxy.value=this.value),this.currentValue=this.value,this.setFormValue(this.value),this.validate()}currentValueChanged(){this.value=this.currentValue}initialValueChanged(t,r){this.dirtyValue||(this.value=this.initialValue,this.dirtyValue=!1)}disabledChanged(t,r){this.proxy instanceof HTMLElement&&(this.proxy.disabled=this.disabled),ue.enqueue(()=>this.classList.toggle("disabled",this.disabled))}nameChanged(t,r){this.proxy instanceof HTMLElement&&(this.proxy.name=this.name)}requiredChanged(t,r){this.proxy instanceof HTMLElement&&(this.proxy.required=this.required),ue.enqueue(()=>this.classList.toggle("required",this.required)),this.validate()}get elementInternals(){if(!vh)return null;let t=mh.get(this);return t||(t=this.attachInternals(),mh.set(this,t)),t}connectedCallback(){super.connectedCallback(),this.addEventListener("keypress",this._keypressHandler),this.value||(this.value=this.initialValue,this.dirtyValue=!1),this.elementInternals||(this.attachProxy(),this.form&&this.form.addEventListener("reset",this.formResetCallback))}disconnectedCallback(){this.proxyEventsToBlock.forEach(t=>this.proxy.removeEventListener(t,this.stopPropagation)),!this.elementInternals&&this.form&&this.form.removeEventListener("reset",this.formResetCallback)}checkValidity(){return this.elementInternals?this.elementInternals.checkValidity():this.proxy.checkValidity()}reportValidity(){return this.elementInternals?this.elementInternals.reportValidity():this.proxy.reportValidity()}setValidity(t,r,a){this.elementInternals?this.elementInternals.setValidity(t,r,a):typeof r=="string"&&this.proxy.setCustomValidity(r)}formDisabledCallback(t){this.disabled=t}formResetCallback(){this.value=this.initialValue,this.dirtyValue=!1}attachProxy(){this.proxyInitialized||(this.proxyInitialized=!0,this.proxy.style.display="none",this.proxyEventsToBlock.forEach(t=>this.proxy.addEventListener(t,this.stopPropagation)),this.proxy.disabled=this.disabled,this.proxy.required=this.required,typeof this.name=="string"&&(this.proxy.name=this.name),typeof this.value=="string"&&(this.proxy.value=this.value),this.proxy.setAttribute("slot",fh),this.proxySlot=document.createElement("slot"),this.proxySlot.setAttribute("name",fh)),this.shadowRoot?.appendChild(this.proxySlot),this.appendChild(this.proxy)}detachProxy(){this.removeChild(this.proxy),this.shadowRoot?.removeChild(this.proxySlot)}validate(t){this.proxy instanceof HTMLElement&&this.setValidity(this.proxy.validity,this.proxy.validationMessage,t)}setFormValue(t,r){this.elementInternals&&this.elementInternals.setFormValue(t,r||t)}_keypressHandler(t){switch(t.key){case io:this.form instanceof HTMLFormElement&&this.form.querySelector("[type=submit]")?.click();break}}stopPropagation(t){t.stopPropagation()}};return s({mode:"boolean"})(e.prototype,"disabled"),s({mode:"fromView",attribute:"value"})(e.prototype,"initialValue"),s({attribute:"current-value"})(e.prototype,"currentValue"),s(e.prototype,"name"),s({mode:"boolean"})(e.prototype,"required"),m(e.prototype,"value"),e}function Yi(o){class e extends Ui(o){}class t extends e{constructor(...a){super(a),this.dirtyChecked=!1,this.checkedAttribute=!1,this.checked=!1,this.dirtyChecked=!1}checkedAttributeChanged(){this.defaultChecked=this.checkedAttribute}defaultCheckedChanged(){this.dirtyChecked||(this.checked=this.defaultChecked,this.dirtyChecked=!1)}checkedChanged(a,n){this.dirtyChecked||(this.dirtyChecked=!0),this.currentChecked=this.checked,this.updateForm(),this.proxy instanceof HTMLInputElement&&(this.proxy.checked=this.checked),a!==void 0&&this.$emit("change"),this.validate()}currentCheckedChanged(a,n){this.checked=this.currentChecked}updateForm(){const a=this.checked?this.value:null;this.setFormValue(a,a)}connectedCallback(){super.connectedCallback(),this.updateForm()}formResetCallback(){super.formResetCallback(),this.checked=!!this.checkedAttribute,this.dirtyChecked=!1}}return s({attribute:"checked",mode:"boolean"})(t.prototype,"checkedAttribute"),s({attribute:"current-checked",converter:js})(t.prototype,"currentChecked"),m(t.prototype,"defaultChecked"),m(t.prototype,"checked"),t}class Ef extends S{}class Mf extends Yi(Ef){constructor(){super(...arguments),this.proxy=document.createElement("input")}}var Hf=Object.defineProperty,_f=Object.getOwnPropertyDescriptor,er=(o,e,t,r)=>{for(var a=r>1?void 0:r?_f(e,t):e,n=o.length-1,i;n>=0;n--)(i=o[n])&&(a=(r?i(e,t,a):i(a))||a);return r&&a&&Hf(e,t,a),a};class Vt extends Mf{constructor(){super(),this.initialValue="on",this.indeterminate=!1,this.keypressHandler=e=>{if(!this.disabled)switch(e.key){case so:this.toggleChecked();break}},this.clickHandler=e=>{this.disabled||this.toggleChecked()},this.proxy.setAttribute("type","checkbox")}toggleChecked(){this.indeterminate&&(this.indeterminate=!1),this.checked=!this.checked}}er([s],Vt.prototype,"shape",2),er([s],Vt.prototype,"size",2),er([s({attribute:"label-position"})],Vt.prototype,"labelPosition",2),er([m],Vt.prototype,"defaultSlottedNodes",2),er([m],Vt.prototype,"indeterminate",2);const Rf={circular:"circular",square:"square"},Vf={medium:"medium",large:"large"},jf={before:"before",after:"after"},Gf=v.partial(`
375
+ <div class="checked-indicator">
376
+ <svg fill="currentColor"
377
+ aria-hidden="true"
378
+ width="1em"
379
+ height="1em"
380
+ viewBox="0 0 12 12"
381
+ xmlns="http://www.w3.org/2000/svg">
382
+ <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">
383
+ </path>
384
+ </svg>
385
+ </div>
386
+ `),Wf=v.partial(`
387
+ <div class="indeterminate-indicator"></div>
388
+ `);function qf(o={}){return v`<template role="checkbox" aria-checked="${e=>e.indeterminate?"mixed":e.checked}" aria-required="${e=>e.required}" aria-disabled="${e=>e.disabled}" tabindex="${e=>e.disabled?null:0}" @keypress="${(e,t)=>e.keypressHandler(t.event)}" @click="${(e,t)=>e.clickHandler(t.event)}"><div part="control" class="control"><slot name="checked-indicator">${Q(o.checkedIndicator)}</slot><slot name="indeterminate-indicator">${Q(o.indeterminateIndicator)}</slot></div><label part="label" class="${e=>e.defaultSlottedNodes&&e.defaultSlottedNodes.length?"label":"label label__hidden"}"><slot ${Y("defaultSlottedNodes")}></slot></label></template>`}const yh=qf({checkedIndicator:Gf,indeterminateIndicator:Wf}),$h=f`
389
+ ${F("inline-flex")}
390
+ :host{align-items:center;outline:none;user-select:none;vertical-align:middle;cursor:pointer;font-family:${y};font-size:${P};line-height:${A};color:${W};position:relative}:host(:focus-visible)::after{content:'';position:absolute;inset:0px;cursor:pointer;border-radius:${B};outline:none;border:2px solid ${Et};box-shadow:inset 0 0 0 1px ${Se}}.control{position:relative;box-sizing:border-box;display:flex;flex-shrink:0;align-items:center;justify-content:center;overflow:hidden;margin:${H} ${V};fill:currentcolor;height:16px;width:16px;border:${X} solid ${Ae};border-radius:${ge};outline:none}.label{align-self:center;cursor:inherit;padding-inline:${V};padding-bottom:${H};padding-top:${H}}.label__hidden{display:none;visibility:hidden}.checked-indicator{display:flex;align-items:center;justify-content:center;color:${lo};font-size:12px;margin:auto;opacity:0}.indeterminate-indicator{position:absolute;width:8px;height:8px;border-radius:${ge};background-color:${zo};opacity:0}:host(:hover){color:${ne}}:host(:hover) .control{border-color:${Nt}}:host(:hover) .indeterminate-indicator{background-color:${No}}:host(:active) .control{border-color:${Lt}}:host(:active) .indeterminate-indicator{background-color:${Lo}}:host([aria-checked='true']),:host([aria-checked='mixed']),:host(:active){color:${O}}:host([aria-checked='true']) .control{background-color:${ut}}:host([aria-checked='true']:hover) .control{border-color:${go};background-color:${At}}:host([aria-checked='true']:active) .control{background-color:${It}}:host([aria-checked='mixed']:hover) .control{border-color:${go}}:host([aria-checked='true']) .checked-indicator,:host([aria-checked='mixed']) .indeterminate-indicator{opacity:1}:host([aria-checked='true']) .control,:host([aria-checked='mixed']) .control{border-color:${_o}}:host([aria-checked='mixed']:active) .control,:host([aria-checked='true']:active) .control{border-color:${Ro}}:host([label-position='before']){flex-direction:row-reverse}:host([label-position='before']) .label{padding-inline:${V} ${fe};padding-top:${H};padding-bottom:${H}}:host([size='large']) .control{width:20px;height:20px}:host([size='large']) .checked-indicator{font-size:16px;height:20px}:host([aria-checked='mixed'][size='large']) .indeterminate-indicator{height:10px;width:10px}:host([shape='circular']) .control,:host([shape='circular']) .indeterminate-indicator{border-radius:${Z}}:host([disabled]) .control,:host([aria-checked='mixed'][disabled]) .control,:host([aria-checked='true'][disabled]) .control{background-color:${dt};border-color:${Me}}:host([aria-checked='true'][disabled]) .checked-indicator,:host([disabled]) ::slotted([slot='start']),:host([disabled]) .label,:host([aria-checked='mixed'][disabled]) .label,:host([aria-checked='true'][disabled]) .label{color:${k}}:host([disabled]) .indeterminate-indicator{background-color:${k}}`,Xf=Vt.compose({name:`${x.prefix}-checkbox`,template:yh,styles:$h});class kh extends I{}const Kf=Yo,Uf=Qo,Yf=Zo;function Qf(o={}){return v`<template ?disabled="${e=>e.disabled}" tabindex="${e=>e.disabled?-1:0}">${Ze(o)}<span class="content" part="content"><slot ${Y("defaultSlottedContent")}></slot><slot name="description"></slot></span>${Qe(o)}</template>`}const xh=Qf(),Bh=f`
391
+ ${xo}
392
+
393
+ :host,:host(:is([size])){gap:12px;height:auto;padding-top:14px;padding-inline:12px;padding-bottom:16px;font-size:${P};line-height:${A}}.content{display:flex;flex-direction:column;text-align:start}::slotted([slot='description']){color:${ne};line-height:100%;font-size:${R};font-weight:${T}}::slotted(svg),:host([size='large']) ::slotted(svg){font-size:40px;height:40px;width:40px}:host(:hover) ::slotted([slot='description']){color:${St}}:host(:active) ::slotted([slot='description']){color:${Pt}}:host(:is([appearance='primary'],[appearance='primary']:hover,[appearance='primary']:active))
394
+ ::slotted([slot='description']){color:${pe}}:host(:is([appearance='subtle'],[appearance='subtle']:hover,[appearance='subtle']:active))
395
+ ::slotted([slot='description']),:host([appearance='transparent']) ::slotted([slot='description']){color:${ne}}:host([appearance='transparent']:hover) ::slotted([slot='description']){color:${lt}}:host([appearance='transparent']:active) ::slotted([slot='description']){color:${ct}}:host(:is([disabled],[disabled][appearance],[disabled-focusable],[disabled-focusable][appearance]))
396
+ ::slotted([slot='description']){color:${k}}:host([size='small']){padding:8px;padding-bottom:10px}:host([icon-only]){min-width:52px;max-width:52px;padding:${_e}}:host([icon-only][size='small']){min-width:48px;max-width:48px;padding:${fe}}:host([icon-only][size='large']){min-width:56px;max-width:56px;padding:${V}}:host([size='large']){padding-top:18px;padding-inline:16px;padding-bottom:20px;font-size:${ie};line-height:${ye}}:host([size='large']) ::slotted([slot='description']){font-size:${P}}`,Zf=kh.compose({name:`${x.prefix}-compound-button`,template:xh,styles:Bh});var Jf=Object.defineProperty,eb=Object.getOwnPropertyDescriptor,ft=(o,e,t,r)=>{for(var a=r>1?void 0:r?eb(e,t):e,n=o.length-1,i;n>=0;n--)(i=o[n])&&(a=(r?i(e,t,a):i(a))||a);return r&&a&&Jf(e,t,a),a};class ze extends S{constructor(){super(...arguments),this.count=0,this.overflowCount=99,this.showZero=!1,this.dot=!1}countChanged(){this.setCount()}overflowCountChanged(){this.setCount()}setCount(){const e=this.count??0;if((e!==0||this.showZero)&&!this.dot)return e>this.overflowCount?`${this.overflowCount}+`:`${e}`}}ft([s],ze.prototype,"appearance",2),ft([s],ze.prototype,"color",2),ft([s],ze.prototype,"shape",2),ft([s],ze.prototype,"size",2),ft([s({converter:ve})],ze.prototype,"count",2),ft([s({attribute:"overflow-count",converter:ve})],ze.prototype,"overflowCount",2),ft([s({attribute:"show-zero",mode:"boolean"})],ze.prototype,"showZero",2),ft([s({mode:"boolean"})],ze.prototype,"dot",2),Te(ze,Ye);const tb={filled:"filled",ghost:"ghost"},ob={brand:"brand",danger:"danger",important:"important",informative:"informative",severe:"severe",subtle:"subtle",success:"success",warning:"warning"},rb={circular:"circular",rounded:"rounded"},ab={tiny:"tiny",extraSmall:"extra-small",small:"small",medium:"medium",large:"large",extraLarge:"extra-large"};function nb(o={}){return sh({defaultContent:v`${e=>e.setCount()}`})}const wh=nb(),Sh=f`
397
+ :host([shape='rounded']){border-radius:${B}}:host([shape='rounded'][size='tiny']),:host([shape='rounded'][size='extra-small']),:host([shape='rounded'][size='small']){border-radius:${ge}}${dh}
398
+ ${uh}
399
+ ${hh}
400
+ ${ch}
401
+
402
+ :host([dot]),:host([dot][appearance][size]){min-width:auto;width:6px;height:6px;padding:0}`,ib=ze.compose({name:`${x.prefix}-counter-badge`,template:wh,styles:Sh});/*!
366
403
  * tabbable 6.2.0
367
404
  * @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
368
- */
369
- var hu=["input:not([inert])","select:not([inert])","textarea:not([inert])","a[href]:not([inert])","button:not([inert])","[tabindex]:not(slot):not([inert])","audio[controls]:not([inert])","video[controls]:not([inert])",'[contenteditable]:not([contenteditable="false"]):not([inert])',"details>summary:first-of-type:not([inert])","details:not([inert])"].join(","),pu="undefined"==typeof Element,gu=pu?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,vu=!pu&&Element.prototype.getRootNode?function(e){var t;return null==e||null===(t=e.getRootNode)||void 0===t?void 0:t.call(e)}:function(e){return null==e?void 0:e.ownerDocument},bu=function(e){if(!e)throw new Error("No node provided");return e.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName)||function(e){var t,o=null==e||null===(t=e.getAttribute)||void 0===t?void 0:t.call(e,"contenteditable");return""===o||"true"===o}(e))&&!function(e){return!isNaN(parseInt(e.getAttribute("tabindex"),10))}(e)?0:e.tabIndex},mu=function(e){return"INPUT"===e.tagName},fu=function(e){return function(e){return mu(e)&&"radio"===e.type}(e)&&!function(e){if(!e.name)return!0;var t,o=e.form||vu(e),r=function(e){return o.querySelectorAll('input[type="radio"][name="'+e+'"]')};if("undefined"!=typeof window&&void 0!==window.CSS&&"function"==typeof window.CSS.escape)t=r(window.CSS.escape(e.name));else try{t=r(e.name)}catch(e){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",e.message),!1}var a=function(e,t){for(var o=0;o<e.length;o++)if(e[o].checked&&e[o].form===t)return e[o]}(t,e.form);return!a||a===e}(e)},yu=function(e){var t=e.getBoundingClientRect(),o=t.width,r=t.height;return 0===o&&0===r},ku=function(e,t){var o=t.displayCheck,r=t.getShadowRoot;if("hidden"===getComputedStyle(e).visibility)return!0;var a=gu.call(e,"details>summary:first-of-type")?e.parentElement:e;if(gu.call(a,"details:not([open]) *"))return!0;if(o&&"full"!==o&&"legacy-full"!==o){if("non-zero-area"===o)return yu(e)}else{if("function"==typeof r){for(var n=e;e;){var i=e.parentElement,s=vu(e);if(i&&!i.shadowRoot&&!0===r(i))return yu(e);e=e.assignedSlot?e.assignedSlot:i||s===e.ownerDocument?i:s.host}e=n}if(function(e){var t,o,r,a,n=e&&vu(e),i=null===(t=n)||void 0===t?void 0:t.host,s=!1;if(n&&n!==e)for(s=!!(null!==(o=i)&&void 0!==o&&null!==(r=o.ownerDocument)&&void 0!==r&&r.contains(i)||null!=e&&null!==(a=e.ownerDocument)&&void 0!==a&&a.contains(e));!s&&i;){var l,c,d;s=!(null===(c=i=null===(l=n=vu(i))||void 0===l?void 0:l.host)||void 0===c||null===(d=c.ownerDocument)||void 0===d||!d.contains(i))}return s}(e))return!e.getClientRects().length;if("legacy-full"!==o)return!0}return!1},xu=function(e,t){return!(t.disabled||function e(t,o){var r;void 0===o&&(o=!0);var a=null==t||null===(r=t.getAttribute)||void 0===r?void 0:r.call(t,"inert");return""===a||"true"===a||o&&t&&e(t.parentNode)}(t)||function(e){return mu(e)&&"hidden"===e.type}(t)||ku(t,e)||function(e){return"DETAILS"===e.tagName&&Array.prototype.slice.apply(e.children).some((function(e){return"SUMMARY"===e.tagName}))}(t)||function(e){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName))for(var t=e.parentElement;t;){if("FIELDSET"===t.tagName&&t.disabled){for(var o=0;o<t.children.length;o++){var r=t.children.item(o);if("LEGEND"===r.tagName)return!!gu.call(t,"fieldset[disabled] *")||!r.contains(e)}return!0}t=t.parentElement}return!1}(t))},$u=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return!1!==gu.call(e,hu)&&function(e,t){return!(fu(t)||bu(t)<0||!xu(e,t))}(t,e)};const Bu="modal",wu="non-modal",Pu="alert";var Su=Object.defineProperty,Fu=Object.getOwnPropertyDescriptor,Cu=(e,t,o,r)=>{for(var a,n=r>1?void 0:r?Fu(t,o):t,i=e.length-1;i>=0;i--)(a=e[i])&&(n=(r?a(t,o,n):a(n))||n);return r&&n&&Su(t,o,n),n};const Nu=class extends et{constructor(){super(...arguments),this.isTrappingFocus=!1,this.titleAction=[],this.modalType=Bu,this.open=!1,this.noTitleAction=!1,this.trapFocus=!1,this.onOpenChangeEvent=(e=!1)=>{this.$emit("onOpenChange",{open:this.dialog.open,dismissed:e})},this.handleKeydown=e=>{if(!e.defaultPrevented)switch(e.key){case"Escape":this.modalType!==Pu&&(this.hide(!0),this.$emit("dismiss"));break;default:return!0}},this.handleDocumentKeydown=e=>{if(!e.defaultPrevented&&this.dialog.open)switch(e.key){case"Tab":this.handleTabKeyDown(e)}},this.handleTabKeyDown=e=>{if(!this.trapFocus||!this.dialog.open)return;const t=this.getTabQueueBounds();if(1===t.length)return t[0].focus(),void e.preventDefault();e.shiftKey&&e.target===t[0]?(t[t.length-1].focus(),e.preventDefault()):e.shiftKey||e.target!==t[t.length-1]||(t[0].focus(),e.preventDefault())},this.getTabQueueBounds=()=>Nu.reduceTabbableItems([],this),this.focusFirstElement=()=>{const e=this.getTabQueueBounds();e.length>0?e[0].focus():this.dialog instanceof HTMLElement&&this.dialog.focus()},this.shouldForceFocus=e=>this.isTrappingFocus&&!this.contains(e),this.shouldTrapFocus=()=>this.trapFocus&&this.dialog.open,this.handleDocumentFocus=e=>{!e.defaultPrevented&&this.shouldForceFocus(e.target)&&(this.focusFirstElement(),e.preventDefault())},this.updateTrapFocus=e=>{const t=void 0===e?this.shouldTrapFocus():e;t&&!this.isTrappingFocus?(this.isTrappingFocus=!0,document.addEventListener("focusin",this.handleDocumentFocus),f.enqueue(()=>{this.shouldForceFocus(document.activeElement)&&this.focusFirstElement()})):!t&&this.isTrappingFocus&&(this.isTrappingFocus=!1,document.removeEventListener("focusin",this.handleDocumentFocus))}}connectedCallback(){super.connectedCallback(),document.addEventListener("keydown",this.handleDocumentKeydown),f.enqueue(()=>{this.updateTrapFocus(),this.setComponent()})}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("keydown",this.handleDocumentKeydown),this.updateTrapFocus(!1)}openChanged(e,t){t!==e&&(t&&!e?this.show():!t&&e&&this.hide())}modalTypeChanged(e,t){t!==e&&(this.trapFocus=t==Pu||t==Bu)}setComponent(){this.modalType==Bu||this.modalType==Pu?this.trapFocus=!0:this.trapFocus=!1}show(){f.enqueue(()=>{this.modalType===Pu||this.modalType===Bu?(this.dialog.showModal(),this.open=!0,this.updateTrapFocus(!0)):this.modalType===wu&&(this.dialog.show(),this.open=!0),this.onOpenChangeEvent()})}hide(e=!1){this.dialog.close(),this.open=!1,this.onOpenChangeEvent(e)}dismiss(){this.modalType!==Pu&&this.hide(!0)}handleClick(e){return e.preventDefault(),this.dialog.open&&this.modalType!==Pu&&e.target===this.dialog&&this.dismiss(),!0}static reduceTabbableItems(e,t){return"-1"===t.getAttribute("tabindex")?e:$u(t)||Nu.isFocusableFastElement(t)&&Nu.hasTabbableShadow(t)?(e.push(t),e):Array.from(t.children).reduce((e,t)=>Nu.reduceTabbableItems(e,t),e)}static isFocusableFastElement(e){var t,o;return!!(null==(o=null==(t=e.$fastController)?void 0:t.definition.shadowOptions)?void 0:o.delegatesFocus)}static hasTabbableShadow(e){var t,o;return Array.from(null!=(o=null==(t=e.shadowRoot)?void 0:t.querySelectorAll("*"))?o:[]).some(e=>$u(e))}};let Iu=Nu;Cu([B],Iu.prototype,"dialog",2),Cu([B],Iu.prototype,"titleAction",2),Cu([B],Iu.prototype,"defaultTitleAction",2),Cu([Oe({attribute:"aria-describedby"})],Iu.prototype,"ariaDescribedby",2),Cu([Oe({attribute:"aria-labelledby"})],Iu.prototype,"ariaLabelledby",2),Cu([Oe({attribute:"modal-type"})],Iu.prototype,"modalType",2),Cu([Oe({mode:"boolean"})],Iu.prototype,"open",2),Cu([Oe({mode:"boolean",attribute:"no-title-action"})],Iu.prototype,"noTitleAction",2);const Au=ye.partial('\n <svg\n fill="currentColor"\n aria-hidden="true"\n width="20"\n height="20"\n viewBox="0 0 20 20"\n xmlns="http://www.w3.org/2000/svg"\n >\n <path\n d="m4.09 4.22.06-.07a.5.5 0 0 1 .63-.06l.07.06L10 9.29l5.15-5.14a.5.5 0 0 1 .63-.06l.07.06c.18.17.2.44.06.63l-.06.07L10.71 10l5.14 5.15c.18.17.2.44.06.63l-.06.07a.5.5 0 0 1-.63.06l-.07-.06L10 10.71l-5.15 5.14a.5.5 0 0 1-.63.06l-.07-.06a.5.5 0 0 1-.06-.63l.06-.07L9.29 10 4.15 4.85a.5.5 0 0 1-.06-.63l.06-.07-.06.07Z"\n fill="currentColor"\n ></path>\n </svg>'),Tu=ye`<template ?open="${e=>e.open}"><dialog role="${e=>e.modalType===Pu?"alertdialog":"dialog"}" modal-type="${e=>e.modalType}" class="dialog" part="dialog" aria-modal="${e=>e.modalType===Bu||e.modalType===Pu?"true":void 0}" aria-describedby="${e=>e.ariaDescribedby}" aria-labelledby="${e=>e.ariaLabelledby}" aria-label="${e=>e.ariaLabel}" @keydown="${(e,t)=>e.handleKeydown(t.event)}" @click="${(e,t)=>e.handleClick(t.event)}" ${xe("dialog")}><div class="root" part="root"><div class="title" part="title"><slot name="title"></slot><slot ${Ne({property:"titleAction",filter:Se()})} name="title-action"></slot>${we(e=>e.modalType===wu&&0===e.titleAction.length&&!e.noTitleAction,ye`<fluent-button tabindex="0" part="title-action" class="title-action" appearance="transparent" icon-only @click=${e=>e.dismiss()} ${xe("defaultTitleAction")}>${Au}</fluent-button>`)}</div><div class="content" part="content"><slot></slot></div><div class="actions" part="actions"><slot name="action"></slot></div></div></dialog></template>`,zu=j`
370
- ${bt("flex")}
371
-
372
- :host{--dialog-backdrop:${"var(--colorBackgroundOverlay)"}}dialog{background:${Vo};border:${ll} solid ${va};z-index:2;margin:auto auto;max-width:100%;width:100vw;border-radius:${"var(--borderRadiusXLarge)"};box-shadow:${"var(--shadow64)"};max-height:100vh;height:fit-content;overflow:unset;position:fixed;inset:0;padding:0}dialog::backdrop{background:var(--dialog-backdrop,rgba(0,0,0,0.4))}.root{box-sizing:border-box;display:flex;flex-direction:column;overflow:unset;max-height:calc(100vh - 48px);padding:${"var(--spacingVerticalXXL)"} ${"var(--spacingHorizontalXXL)"}}.title{font-size:${Is};line-height:${Gs};font-weight:${Es};font-family:${Bs};color:${Vt};margin-bottom:${Fl};display:flex;justify-content:space-between;align-items:flex-start;column-gap:8px}.content{vertical-align:top;min-height:32px;color:${Vt};font-size:${Cs};line-height:${Vs};font-weight:${Hs};font-family:${Bs};overflow-y:auto;box-sizing:border-box}.actions{display:flex;grid-column-start:1;flex-direction:column;max-width:100vw;row-gap:${Fl};padding-top:${"var(--spacingVerticalXXL)"};justify-self:stretch;width:100%}::slotted([slot='action']){width:100%}@media screen and (min-width:480px){::slotted([slot='action']){width:fit-content}dialog{max-width:600px;width:100%}.actions{display:flex;flex-direction:row;justify-content:flex-end;align-items:center;column-gap:${bl};padding-top:${Fl};box-sizing:border-box}}`,Lu=Iu.compose({name:Et.prefix+"-dialog",template:Tu,styles:zu}),Ou={separator:"separator",presentation:"presentation"},Hu=tt,Du={center:"center",start:"start",end:"end"},Eu={strong:"strong",brand:"brand",subtle:"subtle",default:"default"};var Mu=Object.defineProperty,Ru=Object.getOwnPropertyDescriptor,ju=(e,t,o,r)=>{for(var a,n=r>1?void 0:r?Ru(t,o):t,i=e.length-1;i>=0;i--)(a=e[i])&&(n=(r?a(t,o,n):a(n))||n);return r&&n&&Mu(t,o,n),n};class Vu extends et{constructor(){super(...arguments),this.role=Ou.separator,this.orientation=Hu.horizontal}}ju([Oe],Vu.prototype,"role",2),ju([Oe],Vu.prototype,"orientation",2),ju([Oe({attribute:"align-content"})],Vu.prototype,"alignContent",2),ju([Oe],Vu.prototype,"appearance",2),ju([Oe({mode:"boolean"})],Vu.prototype,"inset",2);const _u=ye`<template role="${e=>e.role}" aria-orientation="${e=>e.role!==Ou.presentation?e.orientation:void 0}"><slot></slot></template>`,Gu=j`
373
- ${bt("flex")}
374
-
375
- :host{contain:content}:host::after,:host::before{align-self:center;background:${ta};box-sizing:border-box;content:'';display:flex;flex-grow:1;height:${ll}}:host([inset]){padding:0 12px}:host ::slotted(*){color:${qt};font-family:${Bs};font-size:${Fs};font-weight:${Hs};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']){height:100%;min-height:84px}:host([orientation='vertical']):empty{min-height:20px}:host([orientation='vertical']){flex-direction:column;align-items:center}: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:${ll};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:${Qr}}:host([appearance='strong']) ::slotted(*){color:${Vt}}:host([appearance='brand'])::before,:host([appearance='brand'])::after{background:${"var(--colorBrandStroke1)"}}:host([appearance='brand']) ::slotted(*){color:${"var(--colorBrandForeground1)"}}:host([appearance='subtle'])::before,:host([appearance='subtle'])::after{background:${"var(--colorNeutralStroke3)"}}:host([appearance='subtle']) ::slotted(*){color:${Jt}}`.withBehaviors(yt(j`
376
- :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}`)),Xu=Vu.compose({name:Et.prefix+"-divider",template:_u,styles:Gu});var qu=Object.defineProperty,Wu=Object.getOwnPropertyDescriptor,Yu=(e,t,o,r)=>{for(var a,n=r>1?void 0:r?Wu(t,o):t,i=e.length-1;i>=0;i--)(a=e[i])&&(n=(r?a(t,o,n):a(n))||n);return r&&n&&qu(t,o,n),n};class Ku extends et{}Yu([Oe({mode:"boolean"})],Ku.prototype,"block",2),Yu([Oe({mode:"boolean"})],Ku.prototype,"bordered",2),Yu([Oe({mode:"boolean"})],Ku.prototype,"shadow",2),Yu([Oe],Ku.prototype,"fit",2),Yu([Oe],Ku.prototype,"shape",2);const Uu={none:"none",center:"center",contain:"contain",cover:"cover",default:"default"},Qu={circular:"circular",rounded:"rounded",square:"square"},Zu=ye`<slot></slot>`,Ju=j`
377
- :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:${ll} solid ${ta}}: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:${Qs}}:host([shape='circular']) ::slotted(img){border-radius:${$s}}:host([shape='rounded']) ::slotted(img){border-radius:${ys}}`,eh=Ku.compose({name:Et.prefix+"-image",template:Zu,styles:Ju});var th=Object.defineProperty,oh=Object.getOwnPropertyDescriptor,rh=(e,t,o,r)=>{for(var a,n=r>1?void 0:r?oh(t,o):t,i=e.length-1;i>=0;i--)(a=e[i])&&(n=(r?a(t,o,n):a(n))||n);return r&&n&&th(t,o,n),n};class ah extends et{constructor(){super(...arguments),this.disabled=!1,this.required=!1}}rh([Oe],ah.prototype,"size",2),rh([Oe],ah.prototype,"weight",2),rh([Oe({mode:"boolean"})],ah.prototype,"disabled",2),rh([Oe({mode:"boolean"})],ah.prototype,"required",2);const nh=j`
378
- ${bt("flex")}
379
-
380
- :host{font-family:${Bs};font-size:${Cs};line-height:${Vs};font-weight:${Hs};color:${Vt}}.asterisk{color:${"var(--colorPaletteRedForeground1)"};margin-left:${gl}}:host([size='small']){font-size:${Fs};line-height:${js}}:host([size='large']){font-size:${Ns};line-height:${_s};font-weight:${Es}}:host([weight='semibold']){font-weight:${Es}}:host([disabled]),:host([disabled]) .asterisk{color:${so}}`;const ih=ye`<slot></slot><span part="asterisk" class="asterisk" ?hidden="${e=>!e.required}">*</span>`,sh=ah.compose({name:Et.prefix+"-label",template:ih,styles:nh});function lh(e){return e.split("-")[1]}function ch(e){return"y"===e?"height":"width"}function dh(e){return e.split("-")[0]}function uh(e){return["top","bottom"].includes(dh(e))?"x":"y"}function hh(e,t,o){let{reference:r,floating:a}=e;const n=r.x+r.width/2-a.width/2,i=r.y+r.height/2-a.height/2,s=uh(t),l=ch(s),c=r[l]/2-a[l]/2,d="x"===s;let u;switch(dh(t)){case"top":u={x:n,y:r.y-a.height};break;case"bottom":u={x:n,y:r.y+r.height};break;case"right":u={x:r.x+r.width,y:i};break;case"left":u={x:r.x-a.width,y:i};break;default:u={x:r.x,y:r.y}}switch(lh(t)){case"start":u[s]-=c*(o&&d?-1:1);break;case"end":u[s]+=c*(o&&d?-1:1)}return u}function ph(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}async function gh(e,t){var o;void 0===t&&(t={});const{x:r,y:a,platform:n,rects:i,elements:s,strategy:l}=e,{boundary:c="clippingAncestors",rootBoundary:d="viewport",elementContext:u="floating",altBoundary:h=!1,padding:p=0}=t,g=function(e){return"number"!=typeof e?function(e){return{top:0,right:0,bottom:0,left:0,...e}}(e):{top:e,right:e,bottom:e,left:e}}(p),v=s[h?"floating"===u?"reference":"floating":u],b=ph(await n.getClippingRect({element:null==(o=await(null==n.isElement?void 0:n.isElement(v)))||o?v:v.contextElement||await(null==n.getDocumentElement?void 0:n.getDocumentElement(s.floating)),boundary:c,rootBoundary:d,strategy:l})),m="floating"===u?{...i.floating,x:r,y:a}:i.reference,f=await(null==n.getOffsetParent?void 0:n.getOffsetParent(s.floating)),y=await(null==n.isElement?void 0:n.isElement(f))&&await(null==n.getScale?void 0:n.getScale(f))||{x:1,y:1},k=ph(n.convertOffsetParentRelativeRectToViewportRelativeRect?await n.convertOffsetParentRelativeRectToViewportRelativeRect({rect:m,offsetParent:f,strategy:l}):m);return{top:(b.top-k.top+g.top)/y.y,bottom:(k.bottom-b.bottom+g.bottom)/y.y,left:(b.left-k.left+g.left)/y.x,right:(k.right-b.right+g.right)/y.x}}const vh=Math.min,bh=Math.max;function mh(e,t,o){return bh(e,vh(t,o))}const fh=["top","right","bottom","left"];fh.reduce((e,t)=>e.concat(t,t+"-start",t+"-end"),[]);const yh={left:"right",right:"left",bottom:"top",top:"bottom"};function kh(e){return e.replace(/left|right|bottom|top/g,e=>yh[e])}function xh(e,t,o){void 0===o&&(o=!1);const r=lh(e),a=uh(e),n=ch(a);let i="x"===a?r===(o?"end":"start")?"right":"left":"start"===r?"bottom":"top";return t.reference[n]>t.floating[n]&&(i=kh(i)),{main:i,cross:kh(i)}}const $h={start:"end",end:"start"};function Bh(e){return e.replace(/start|end/g,e=>$h[e])}const wh=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var o;const{placement:r,middlewareData:a,rects:n,initialPlacement:i,platform:s,elements:l}=t,{mainAxis:c=!0,crossAxis:d=!0,fallbackPlacements:u,fallbackStrategy:h="bestFit",fallbackAxisSideDirection:p="none",flipAlignment:g=!0,...v}=e,b=dh(r),m=dh(i)===i,f=await(null==s.isRTL?void 0:s.isRTL(l.floating)),y=u||(m||!g?[kh(i)]:function(e){const t=kh(e);return[Bh(e),t,Bh(t)]}(i));u||"none"===p||y.push(...function(e,t,o,r){const a=lh(e);let n=function(e,t,o){const r=["left","right"],a=["right","left"],n=["top","bottom"],i=["bottom","top"];switch(e){case"top":case"bottom":return o?t?a:r:t?r:a;case"left":case"right":return t?n:i;default:return[]}}(dh(e),"start"===o,r);return a&&(n=n.map(e=>e+"-"+a),t&&(n=n.concat(n.map(Bh)))),n}(i,g,p,f));const k=[i,...y],x=await gh(t,v),$=[];let B=(null==(o=a.flip)?void 0:o.overflows)||[];if(c&&$.push(x[b]),d){const{main:e,cross:t}=xh(r,n,f);$.push(x[e],x[t])}if(B=[...B,{placement:r,overflows:$}],!$.every(e=>e<=0)){var w,P;const e=((null==(w=a.flip)?void 0:w.index)||0)+1,t=k[e];if(t)return{data:{index:e,overflows:B},reset:{placement:t}};let o=null==(P=B.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0])?void 0:P.placement;if(!o)switch(h){case"bestFit":{var S;const e=null==(S=B.map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0])?void 0:S[0];e&&(o=e);break}case"initialPlacement":o=i}if(r!==o)return{reset:{placement:o}}}return{}}}};function Ph(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function Sh(e){return fh.some(t=>e[t]>=0)}const Fh=function(e){return void 0===e&&(e={}),{name:"hide",options:e,async fn(t){const{strategy:o="referenceHidden",...r}=e,{rects:a}=t;switch(o){case"referenceHidden":{const e=Ph(await gh(t,{...r,elementContext:"reference"}),a.reference);return{data:{referenceHiddenOffsets:e,referenceHidden:Sh(e)}}}case"escaped":{const e=Ph(await gh(t,{...r,altBoundary:!0}),a.floating);return{data:{escapedOffsets:e,escaped:Sh(e)}}}default:return{}}}}};const Ch=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){const{x:o,y:r,placement:a}=t,{mainAxis:n=!0,crossAxis:i=!1,limiter:s={fn:e=>{let{x:t,y:o}=e;return{x:t,y:o}}},...l}=e,c={x:o,y:r},d=await gh(t,l),u=uh(dh(a)),h=function(e){return"x"===e?"y":"x"}(u);let p=c[u],g=c[h];if(n){const e="y"===u?"bottom":"right";p=mh(p+d["y"===u?"top":"left"],p,p-d[e])}if(i){const e="y"===h?"bottom":"right";g=mh(g+d["y"===h?"top":"left"],g,g-d[e])}const v=s.fn({...t,[u]:p,[h]:g});return{...v,data:{x:v.x-o,y:v.y-r}}}}},Nh=function(e){return void 0===e&&(e={}),{name:"size",options:e,async fn(t){const{placement:o,rects:r,platform:a,elements:n}=t,{apply:i=(()=>{}),...s}=e,l=await gh(t,s),c=dh(o),d=lh(o),u="x"===uh(o),{width:h,height:p}=r.floating;let g,v;"top"===c||"bottom"===c?(g=c,v=d===(await(null==a.isRTL?void 0:a.isRTL(n.floating))?"start":"end")?"left":"right"):(v=c,g="end"===d?"top":"bottom");const b=p-l[g],m=h-l[v];let f=b,y=m;if(u?y=vh(h-l.right-l.left,m):f=vh(p-l.bottom-l.top,b),!t.middlewareData.shift&&!d){const e=bh(l.left,0),t=bh(l.right,0),o=bh(l.top,0),r=bh(l.bottom,0);u?y=h-2*(0!==e||0!==t?e+t:bh(l.left,l.right)):f=p-2*(0!==o||0!==r?o+r:bh(l.top,l.bottom))}await i({...t,availableWidth:y,availableHeight:f});const k=await a.getDimensions(n.floating);return h!==k.width||p!==k.height?{reset:{rects:!0}}:{}}}};function Ih(e){var t;return(null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function Ah(e){return Ih(e).getComputedStyle(e)}const Th=Math.min,zh=Math.max,Lh=Math.round;function Oh(e){const t=Ah(e);let o=parseFloat(t.width),r=parseFloat(t.height);const a=e.offsetWidth,n=e.offsetHeight,i=Lh(o)!==a||Lh(r)!==n;return i&&(o=a,r=n),{width:o,height:r,fallback:i}}function Hh(e){return jh(e)?(e.nodeName||"").toLowerCase():""}let Dh;function Eh(){if(Dh)return Dh;const e=navigator.userAgentData;return e&&Array.isArray(e.brands)?(Dh=e.brands.map(e=>e.brand+"/"+e.version).join(" "),Dh):navigator.userAgent}function Mh(e){return e instanceof Ih(e).HTMLElement}function Rh(e){return e instanceof Ih(e).Element}function jh(e){return e instanceof Ih(e).Node}function Vh(e){return"undefined"!=typeof ShadowRoot&&(e instanceof Ih(e).ShadowRoot||e instanceof ShadowRoot)}function _h(e){const{overflow:t,overflowX:o,overflowY:r,display:a}=Ah(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+o)&&!["inline","contents"].includes(a)}function Gh(e){return["table","td","th"].includes(Hh(e))}function Xh(e){const t=/firefox/i.test(Eh()),o=Ah(e),r=o.backdropFilter||o.WebkitBackdropFilter;return"none"!==o.transform||"none"!==o.perspective||!!r&&"none"!==r||t&&"filter"===o.willChange||t&&!!o.filter&&"none"!==o.filter||["transform","perspective"].some(e=>o.willChange.includes(e))||["paint","layout","strict","content"].some(e=>{const t=o.contain;return null!=t&&t.includes(e)})}function qh(){return/^((?!chrome|android).)*safari/i.test(Eh())}function Wh(e){return["html","body","#document"].includes(Hh(e))}function Yh(e){return Rh(e)?e:e.contextElement}const Kh={x:1,y:1};function Uh(e){const t=Yh(e);if(!Mh(t))return Kh;const o=t.getBoundingClientRect(),{width:r,height:a,fallback:n}=Oh(t);let i=(n?Lh(o.width):o.width)/r,s=(n?Lh(o.height):o.height)/a;return i&&Number.isFinite(i)||(i=1),s&&Number.isFinite(s)||(s=1),{x:i,y:s}}function Qh(e,t,o,r){var a,n;void 0===t&&(t=!1),void 0===o&&(o=!1);const i=e.getBoundingClientRect(),s=Yh(e);let l=Kh;t&&(r?Rh(r)&&(l=Uh(r)):l=Uh(e));const c=s?Ih(s):window,d=qh()&&o;let u=(i.left+(d&&(null==(a=c.visualViewport)?void 0:a.offsetLeft)||0))/l.x,h=(i.top+(d&&(null==(n=c.visualViewport)?void 0:n.offsetTop)||0))/l.y,p=i.width/l.x,g=i.height/l.y;if(s){const e=Ih(s),t=r&&Rh(r)?Ih(r):r;let o=e.frameElement;for(;o&&r&&t!==e;){const e=Uh(o),t=o.getBoundingClientRect(),r=getComputedStyle(o);t.x+=(o.clientLeft+parseFloat(r.paddingLeft))*e.x,t.y+=(o.clientTop+parseFloat(r.paddingTop))*e.y,u*=e.x,h*=e.y,p*=e.x,g*=e.y,u+=t.x,h+=t.y,o=Ih(o).frameElement}}return{width:p,height:g,top:h,right:u+p,bottom:h+g,left:u,x:u,y:h}}function Zh(e){return((jh(e)?e.ownerDocument:e.document)||window.document).documentElement}function Jh(e){return Rh(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function ep(e){return Qh(Zh(e)).left+Jh(e).scrollLeft}function tp(e){if("html"===Hh(e))return e;const t=e.assignedSlot||e.parentNode||Vh(e)&&e.host||Zh(e);return Vh(t)?t.host:t}function op(e,t){var o;void 0===t&&(t=[]);const r=function e(t){const o=tp(t);return Wh(o)?o.ownerDocument.body:Mh(o)&&_h(o)?o:e(o)}(e),a=r===(null==(o=e.ownerDocument)?void 0:o.body),n=Ih(r);return a?t.concat(n,n.visualViewport||[],_h(r)?r:[]):t.concat(r,op(r))}function rp(e,t,o){let r;if("viewport"===t)r=function(e,t){const o=Ih(e),r=Zh(e),a=o.visualViewport;let n=r.clientWidth,i=r.clientHeight,s=0,l=0;if(a){n=a.width,i=a.height;const e=qh();(!e||e&&"fixed"===t)&&(s=a.offsetLeft,l=a.offsetTop)}return{width:n,height:i,x:s,y:l}}(e,o);else if("document"===t)r=function(e){const t=Zh(e),o=Jh(e),r=e.ownerDocument.body,a=zh(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),n=zh(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let i=-o.scrollLeft+ep(e);const s=-o.scrollTop;return"rtl"===Ah(r).direction&&(i+=zh(t.clientWidth,r.clientWidth)-a),{width:a,height:n,x:i,y:s}}(Zh(e));else if(Rh(t))r=function(e,t){const o=Qh(e,!0,"fixed"===t),r=o.top+e.clientTop,a=o.left+e.clientLeft,n=Mh(e)?Uh(e):{x:1,y:1};return{width:e.clientWidth*n.x,height:e.clientHeight*n.y,x:a*n.x,y:r*n.y}}(t,o);else{const o={...t};if(qh()){var a,n;const t=Ih(e);o.x-=(null==(a=t.visualViewport)?void 0:a.offsetLeft)||0,o.y-=(null==(n=t.visualViewport)?void 0:n.offsetTop)||0}r=o}return ph(r)}function ap(e,t){return Mh(e)&&"fixed"!==Ah(e).position?t?t(e):e.offsetParent:null}function np(e,t){const o=Ih(e);let r=ap(e,t);for(;r&&Gh(r)&&"static"===Ah(r).position;)r=ap(r,t);return r&&("html"===Hh(r)||"body"===Hh(r)&&"static"===Ah(r).position&&!Xh(r))?o:r||function(e){let t=tp(e);for(;Mh(t)&&!Wh(t);){if(Xh(t))return t;t=tp(t)}return null}(e)||o}function ip(e,t,o){const r=Mh(t),a=Zh(t),n=Qh(e,!0,"fixed"===o,t);let i={scrollLeft:0,scrollTop:0};const s={x:0,y:0};if(r||!r&&"fixed"!==o)if(("body"!==Hh(t)||_h(a))&&(i=Jh(t)),Mh(t)){const e=Qh(t,!0);s.x=e.x+t.clientLeft,s.y=e.y+t.clientTop}else a&&(s.x=ep(a));return{x:n.left+i.scrollLeft-s.x,y:n.top+i.scrollTop-s.y,width:n.width,height:n.height}}const sp={getClippingRect:function(e){let{element:t,boundary:o,rootBoundary:r,strategy:a}=e;const n=[..."clippingAncestors"===o?function(e,t){const o=t.get(e);if(o)return o;let r=op(e).filter(e=>Rh(e)&&"body"!==Hh(e)),a=null;const n="fixed"===Ah(e).position;let i=n?tp(e):e;for(;Rh(i)&&!Wh(i);){const e=Ah(i),t=Xh(i);(n?t||a:t||"static"!==e.position||!a||!["absolute","fixed"].includes(a.position))?a=e:r=r.filter(e=>e!==i),i=tp(i)}return t.set(e,r),r}(t,this._c):[].concat(o),r],i=n[0],s=n.reduce((e,o)=>{const r=rp(t,o,a);return e.top=zh(r.top,e.top),e.right=Th(r.right,e.right),e.bottom=Th(r.bottom,e.bottom),e.left=zh(r.left,e.left),e},rp(t,i,a));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{rect:t,offsetParent:o,strategy:r}=e;const a=Mh(o),n=Zh(o);if(o===n)return t;let i={scrollLeft:0,scrollTop:0},s={x:1,y:1};const l={x:0,y:0};if((a||!a&&"fixed"!==r)&&(("body"!==Hh(o)||_h(n))&&(i=Jh(o)),Mh(o))){const e=Qh(o);s=Uh(o),l.x=e.x+o.clientLeft,l.y=e.y+o.clientTop}return{width:t.width*s.x,height:t.height*s.y,x:t.x*s.x-i.scrollLeft*s.x+l.x,y:t.y*s.y-i.scrollTop*s.y+l.y}},isElement:Rh,getDimensions:function(e){return Mh(e)?Oh(e):e.getBoundingClientRect()},getOffsetParent:np,getDocumentElement:Zh,getScale:Uh,async getElementRects(e){let{reference:t,floating:o,strategy:r}=e;const a=this.getOffsetParent||np,n=this.getDimensions;return{reference:ip(t,await a(o),r),floating:{x:0,y:0,...await n(o)}}},getClientRects:e=>Array.from(e.getClientRects()),isRTL:e=>"rtl"===Ah(e).direction};function lp(e,t,o,r){void 0===r&&(r={});const{ancestorScroll:a=!0,ancestorResize:n=!0,elementResize:i=!0,animationFrame:s=!1}=r,l=a&&!s,c=l||n?[...Rh(e)?op(e):e.contextElement?op(e.contextElement):[],...op(t)]:[];c.forEach(e=>{l&&e.addEventListener("scroll",o,{passive:!0}),n&&e.addEventListener("resize",o)});let d,u=null;if(i){let r=!0;u=new ResizeObserver(()=>{r||o(),r=!1}),Rh(e)&&!s&&u.observe(e),Rh(e)||!e.contextElement||s||u.observe(e.contextElement),u.observe(t)}let h=s?Qh(e):null;return s&&function t(){const r=Qh(e);!h||r.x===h.x&&r.y===h.y&&r.width===h.width&&r.height===h.height||o(),h=r,d=requestAnimationFrame(t)}(),o(),()=>{var e;c.forEach(e=>{l&&e.removeEventListener("scroll",o),n&&e.removeEventListener("resize",o)}),null==(e=u)||e.disconnect(),u=null,s&&cancelAnimationFrame(d)}}const cp=(e,t,o)=>{const r=new Map,a={platform:sp,...o},n={...a.platform,_c:r};return(async(e,t,o)=>{const{placement:r="bottom",strategy:a="absolute",middleware:n=[],platform:i}=o,s=n.filter(Boolean),l=await(null==i.isRTL?void 0:i.isRTL(t));let c=await i.getElementRects({reference:e,floating:t,strategy:a}),{x:d,y:u}=hh(c,r,l),h=r,p={},g=0;for(let o=0;o<s.length;o++){const{name:n,fn:v}=s[o],{x:b,y:m,data:f,reset:y}=await v({x:d,y:u,initialPlacement:r,placement:h,strategy:a,middlewareData:p,rects:c,platform:i,elements:{reference:e,floating:t}});d=null!=b?b:d,u=null!=m?m:u,p={...p,[n]:{...p[n],...f}},y&&g<=50&&(g++,"object"==typeof y&&(y.placement&&(h=y.placement),y.rects&&(c=!0===y.rects?await i.getElementRects({reference:e,floating:t,strategy:a}):y.rects),({x:d,y:u}=hh(c,h,l))),o=-1)}return{x:d,y:u,placement:h,strategy:a,middlewareData:p}})(e,t,{...a,platform:n})};var dp=Object.defineProperty,up=Object.getOwnPropertyDescriptor,hp=(e,t,o,r)=>{for(var a,n=r>1?void 0:r?up(t,o):t,i=e.length-1;i>=0;i--)(a=e[i])&&(n=(r?a(t,o,n):a(n))||n);return r&&n&&dp(t,o,n),n};class pp extends et{constructor(){super(...arguments),this.openOnHover=!1,this.openOnContext=!1,this.closeOnScroll=!1,this.persistOnItemClick=!1,this.open=!1,this.slottedMenuList=[],this.slottedTriggers=[],this.toggleMenu=()=>{this.open?this.closeMenu():this.openMenu()},this.closeMenu=()=>{this.open=!1,this.closeOnScroll&&document.removeEventListener("scroll",this.closeMenu)},this.openMenu=e=>{this.open=!0,e&&this.openOnContext&&e.preventDefault(),this.closeOnScroll&&document.addEventListener("scroll",this.closeMenu)},this.setPositioningTask=()=>{this.setPositioning()},this.handleTriggerKeydown=e=>{if(e.defaultPrevented)return;switch(e.key){case" ":case"Enter":e.preventDefault(),this.toggleMenu(),this.open&&this.focusMenuList();break;default:return!0}},this.handleDocumentClick=e=>{!e||e.composedPath().includes(this._menuList)||e.composedPath().includes(this._trigger)||this.closeMenu()}}connectedCallback(){super.connectedCallback(),f.enqueue(()=>this.setComponent())}disconnectedCallback(){var e;super.disconnectedCallback(),null==(e=this.cleanup)||e.call(this),this.removeListeners()}setComponent(){this.$fastController.isConnected&&this.slottedMenuList.length&&this.slottedTriggers.length&&(this._trigger=this.slottedTriggers[0],this._menuList=this.slottedMenuList[0],this._trigger.setAttribute("aria-haspopup","true"),this._trigger.setAttribute("aria-expanded",""+this.open),this.addListeners())}focusMenuList(){this.open&&this._menuList&&f.enqueue(()=>{this._menuList.focus()})}focusTrigger(){!this.open&&this._trigger&&f.enqueue(()=>{this._trigger.focus()})}openChanged(e,t){var o;this.$fastController.isConnected&&this._trigger instanceof HTMLElement&&(this._trigger.setAttribute("aria-expanded",""+this.open),this._menuList&&this.open&&f.enqueue(this.setPositioningTask)),null==(o=this.cleanup)||o.call(this),this.$emit("onOpenChange",{open:t})}openOnHoverChanged(e,t){var o,r;t?null==(o=this._trigger)||o.addEventListener("mouseover",this.openMenu):null==(r=this._trigger)||r.removeEventListener("mouseover",this.openMenu)}persistOnItemClickChanged(e,t){var o,r;t?null==(r=this._menuList)||r.removeEventListener("click",this.closeMenu):null==(o=this._menuList)||o.addEventListener("click",this.closeMenu)}openOnContextChanged(e,t){var o,r;t?null==(o=this._trigger)||o.addEventListener("contextmenu",this.openMenu):null==(r=this._trigger)||r.removeEventListener("contextmenu",this.openMenu)}closeOnScrollChanged(e,t){t?document.addEventListener("scroll",this.closeMenu):document.removeEventListener("scroll",this.closeMenu)}setPositioning(){this.$fastController.isConnected&&this._menuList&&this.open&&this._trigger&&(this.cleanup=lp(this,this.positioningContainer,async()=>{var e,t;const{middlewareData:o,x:r,y:a}=await cp(this._trigger,this.positioningContainer,{placement:"bottom",strategy:"fixed",middleware:[wh(),Nh({apply:({availableHeight:e,rects:t})=>{var o;(null==(o=this.positioningContainer)?void 0:o.style)&&Object.assign(this.positioningContainer.style,{maxHeight:e+"px",width:t.reference.width+"px"})}}),Fh()]});(null==(e=o.hide)?void 0:e.referenceHidden)?this.open=!1:(null==(t=this.positioningContainer)?void 0:t.style)&&Object.assign(this.positioningContainer.style,{position:"fixed",top:"0",left:"0",transform:`translate(${r}px, ${a}px)`})}))}addListeners(){var e,t,o,r,a;document.addEventListener("click",this.handleDocumentClick),null==(e=this._trigger)||e.addEventListener("keydown",this.handleTriggerKeydown),this.persistOnItemClick||null==(t=this._menuList)||t.addEventListener("click",this.closeMenu),this.openOnHover?null==(o=this._trigger)||o.addEventListener("mouseover",this.openMenu):this.openOnContext?null==(r=this._trigger)||r.addEventListener("contextmenu",this.openMenu):null==(a=this._trigger)||a.addEventListener("click",this.toggleMenu)}removeListeners(){var e,t,o,r,a;document.removeEventListener("click",this.handleDocumentClick),null==(e=this._trigger)||e.removeEventListener("keydown",this.handleTriggerKeydown),this.persistOnItemClick||null==(t=this._menuList)||t.removeEventListener("click",this.closeMenu),this.openOnHover&&(null==(o=this._trigger)||o.removeEventListener("mouseover",this.openMenu)),this.openOnContext?null==(r=this._trigger)||r.removeEventListener("contextmenu",this.openMenu):null==(a=this._trigger)||a.removeEventListener("click",this.toggleMenu)}handleMenuKeydown(e){if(e.defaultPrevented)return;switch(e.key){case"Escape":e.preventDefault(),this.open&&(this.closeMenu(),this.focusTrigger());break;case"Tab":this.open&&this.closeMenu(),e.shiftKey&&this.focusTrigger();default:return!0}}}hp([B,Oe({attribute:"open-on-hover",mode:"boolean"})],pp.prototype,"openOnHover",2),hp([B,Oe({attribute:"open-on-context",mode:"boolean"})],pp.prototype,"openOnContext",2),hp([B,Oe({attribute:"close-on-scroll",mode:"boolean"})],pp.prototype,"closeOnScroll",2),hp([B,Oe({attribute:"persist-on-item-click",mode:"boolean"})],pp.prototype,"persistOnItemClick",2),hp([B,Oe({mode:"boolean"})],pp.prototype,"open",2),hp([B],pp.prototype,"slottedMenuList",2),hp([B],pp.prototype,"slottedTriggers",2);const gp=ye`<template ?open-on-hover="${e=>e.openOnHover}" ?open-on-context="${e=>e.openOnContext}" ?close-on-scroll="${e=>e.closeOnScroll}" ?persist-on-item-click="${e=>e.persistOnItemClick}" @keydown="${(e,t)=>e.handleMenuKeydown(t.event)}"><slot name="trigger" ${Ne({property:"slottedTriggers",filter:Se()})}></slot><span ${xe("positioningContainer")} part="positioning-container" class="positioning-container" ?hidden="${e=>!e.open}"><slot ${Ne({property:"slottedMenuList",filter:Se()})}></slot></span></template>`,vp=j`
381
- :host{position:relative;z-index:var(--z-index-menu,1)}.positioning-container{position:fixed;top:0;left:0;transform:translate(0,0)}`,bp=pp.compose({name:Et.prefix+"-menu",template:gp,styles:vp});class mp extends Fd{}const fp=nc,yp=ic,kp=sc,xp=Cd({end:ye.partial('\n <svg slot="end" fill="currentColor" aria-hidden="true" width="1em" height="1em" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg">\n <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>\n </svg>\n ')}),$p=mp.compose({name:Et.prefix+"-menu-button",template:xp,styles:Id}),Bp={menuitem:"menuitem",menuitemcheckbox:"menuitemcheckbox",menuitemradio:"menuitemradio"},wp={[Bp.menuitem]:"menuitem",[Bp.menuitemcheckbox]:"menuitemcheckbox",[Bp.menuitemradio]:"menuitemradio"};var Pp=Object.defineProperty,Sp=Object.getOwnPropertyDescriptor,Fp=(e,t,o,r)=>{for(var a,n=r>1?void 0:r?Sp(t,o):t,i=e.length-1;i>=0;i--)(a=e[i])&&(n=(r?a(t,o,n):a(n))||n);return r&&n&&Pp(t,o,n),n};class Cp extends et{constructor(){super(...arguments),this.role=Bp.menuitem,this.checked=!1,this.focusSubmenuOnLoad=!1,this.handleMenuItemKeyDown=e=>{if(e.defaultPrevented)return!1;switch(e.key){case"Enter":case" ":return this.invoke(),!1;case"ArrowRight":return this.expanded&&this.submenu?this.submenu.focus():this.expandAndFocus(),!1;case"Escape":if(this.expanded)return this.closeSubMenu(),!1;break;case"ArrowLeft":if(this.expanded)return this.closeSubMenu(),!1}return!0},this.handleMenuItemClick=e=>(e.defaultPrevented||this.disabled||this.invoke(),!1),this.submenuLoaded=()=>{this.focusSubmenuOnLoad&&(this.focusSubmenuOnLoad=!1,this.submenu&&(this.submenu.focus(),this.setAttribute("tabindex","-1")))},this.handleMouseOver=e=>(this.disabled||!this.hasSubmenu||this.expanded||(this.expanded=!0),!1),this.handleMouseOut=e=>(!this.expanded||this.contains(document.activeElement)||(this.expanded=!1),!1),this.closeSubMenu=()=>{this.expanded=!1,this.focus()},this.expandAndFocus=()=>{this.hasSubmenu&&(this.focusSubmenuOnLoad=!0,this.expanded=!0)},this.invoke=()=>{if(!this.disabled)switch(this.role){case Bp.menuitemcheckbox:this.checked=!this.checked;break;case Bp.menuitem:if(this.hasSubmenu){this.expandAndFocus();break}this.$emit("change");break;case Bp.menuitemradio:this.checked||(this.checked=!0)}}}expandedChanged(e,t){this.$fastController.isConnected&&(t&&this.submenu&&this.updateSubmenu(),this.$emit("expanded-change",this,{bubbles:!1}))}checkedChanged(e,t){this.$fastController.isConnected&&this.$emit("change")}get hasSubmenu(){return!!this.submenu}slottedSubmenuChanged(e,t){t.length&&(this.submenu=t[0],this.updateSubmenu())}disconnectedCallback(){var e;null==(e=this.cleanup)||e.call(this),super.disconnectedCallback()}updateSubmenu(){var e;null==(e=this.cleanup)||e.call(this),this.submenu&&this.expanded&&f.enqueue(()=>{this.cleanup=lp(this,this.submenuContainer,async()=>{const e=["left-start","right-start"],{x:t,y:o}=await cp(this,this.submenuContainer,{middleware:[Ch(),Nh({apply:({availableWidth:t,rects:o})=>{t<o.floating.width&&e.push("bottom-end","top-end")}}),wh({fallbackPlacements:e})],placement:"right-start",strategy:"fixed"});Object.assign(this.submenuContainer.style,{left:t+"px",position:"fixed",top:o+"px"}),this.submenuLoaded()})})}}Fp([Oe({mode:"boolean"})],Cp.prototype,"disabled",2),Fp([Oe({mode:"boolean"})],Cp.prototype,"expanded",2),Fp([Oe],Cp.prototype,"role",2),Fp([Oe({mode:"boolean"})],Cp.prototype,"checked",2),Fp([Oe({mode:"boolean"})],Cp.prototype,"hidden",2),Fp([B],Cp.prototype,"slottedSubmenu",2),Fp([B],Cp.prototype,"submenu",2),Pt(Cp,$t);const Np=ye.partial('<svg fill="currentColor" class="___12fm75w f1w7gpdv fez10in fg4l7m0" 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>');const Ip=function(e={}){return ye`<template aria-haspopup="${e=>e.hasSubmenu?"menu":void 0}" aria-checked="${e=>e.role!==Bp.menuitem?e.checked:void 0}" aria-disabled="${e=>e.disabled}" aria-expanded="${e=>e.expanded}" @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)}">${we(e=>e.role===Bp.menuitemcheckbox,ye`<div part="input-container" class="input-container"><span part="checkbox" class="checkbox"><slot name="checkbox-indicator">${pt(e.checkboxIndicator)}</slot></span></div>`)} ${we(e=>e.role===Bp.menuitemradio,ye`<div part="input-container" class="input-container"><span part="radio" class="radio"><slot name="radio-indicator">${pt(e.radioIndicator)}</slot></span></div>`)}</div>${wt(e)}<span class="content" part="content"><slot></slot></span>${Bt(e)} ${we(e=>e.hasSubmenu,ye`<div part="expand-collapse-glyph-container" class="expand-collapse-glyph-container"><span part="expand-collapse" class="expand-collapse"><slot name="expand-collapse-indicator">${pt(e.expandCollapseGlyph)}</slot></span></div>`)}<span ?hidden="${e=>!e.expanded}" class="submenu-container" part="submenu-container" ${xe("submenuContainer")}><slot name="submenu" ${Ne({property:"slottedSubmenu",filter:Se("[role='menu']")})}></slot></span></template>`}({checkboxIndicator:Np,expandCollapseGlyph:ye.partial('<svg fill="currentColor" class="___12fm75w f1w7gpdv fez10in fg4l7m0" 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>'),radioIndicator:Np}),Ap=j`
382
- ${bt("grid")}
383
-
384
- :host{grid-template-columns:20px 20px auto 20px;align-items:center;grid-gap:4px;height:32px;background:${Vo};font:${Hs} ${Cs} / ${Vs} ${Bs};border-radius:${ys};color:${qt};padding:0 10px;cursor:pointer;overflow:visible;contain:layout}:host(:hover){background:${"var(--colorNeutralBackground1Hover)"}}.content{white-space:nowrap;flex-grow:1;grid-column:auto / span 2;padding:0 2px}.checkbox,.radio{display:none}.input-container,.expand-collapse-glyph-container,::slotted([slot='start']),::slotted([slot='end']),:host([checked]) .checkbox,:host([checked]) .radio{display:inline-flex;justify-content:center;align-items:center;color:${qt}}.expand-collapse-glyph-container,::slotted([slot='start']),::slotted([slot='end']){height:32px;font-size:${Is};width:fit-content}.input-container{width:20px}::slotted([slot='end']){color:${Jt};font:${Hs} ${Fs} / ${js} ${Bs};white-space:nowrap;grid-column:4 / span 1;justify-self:flex-end}.expand-collapse-glyph-container{grid-column:4 / span 1;justify-self:flex-end}:host(:hover) .input-container,:host(:hover) .expand-collapse-glyph-container,:host(:hover) .content{color:${"var(--colorNeutralForeground2Hover)"}}:host([icon]:hover) ::slotted([slot='start']){color:${"var(--colorCompoundBrandForeground1Hover)"}}:host(:active){background-color:${"var(--colorNeutralBackground1Selected)"}}:host(:active) .input-container,:host(:active) .expand-collapse-glyph-container,:host(:active) .content{color:${"var(--colorNeutralForeground2Pressed)"}}:host(:active) ::slotted([slot='start']){color:${"var(--colorCompoundBrandForeground1Pressed)"}}:host([disabled]){background-color:${"var(--colorNeutralBackgroundDisabled)"}}:host([disabled]) .content,:host([disabled]) .expand-collapse-glyph-container,:host([disabled]) ::slotted([slot='end']),:host([disabled]) ::slotted([slot='start']){color:${so}}:host([data-indent]){display:grid}:host([data-indent='1']) .content{grid-column:2 / span 1}:host([data-indent='1'][role='menuitemcheckbox']){display:grid}:host([data-indent='2'][aria-haspopup='menu']) ::slotted([slot='end']){grid-column:4 / span 1}:host([data-indent='2'][aria-haspopup='menu']) .expand-collapse-glyph-container{grid-column:5 / span 1}:host([data-indent='1']) .content{grid-column:2 / span 1}:host([data-indent='1'][role='menuitemcheckbox']) .content,:host([data-indent='1'][role='menuitemradio']) .content{grid-column:auto / span 1}:host([icon]) ::slotted([slot='end']),:host([data-indent='1']) ::slotted([slot='end']){grid-column:4 / span 1;justify-self:flex-end}:host([data-indent='2']){display:grid;grid-template-columns:20px 20px auto auto}:host([data-indent='2']) .content{grid-column:3 / span 1}:host([data-indent='2']) .input-container{grid-column:1 / span 1}:host([data-indent='2']) ::slotted([slot='start']){grid-column:2 / span 1}:host([aria-haspopup='menu']){grid-template-columns:20px auto auto 20px}:host([data-indent='2'][aria-haspopup='menu']){grid-template-columns:20px 20px auto auto 20px}:host([aria-haspopup='menu']) ::slotted([slot='end']){grid-column:3 / span 1;justify-self:flex-end}:host([data-indent='2'][aria-haspopup='menu']) ::slotted([slot='end']){grid-column:4 / span 1;justify-self:flex-end}`,Tp=Cp.compose({name:Et.prefix+"-menu-item",template:Ip,styles:Ap});var zp=Object.defineProperty,Lp=Object.getOwnPropertyDescriptor;const Op=class extends et{constructor(){super(...arguments),this.expandedItem=null,this.focusIndex=-1,this.isNestedMenu=()=>null!==this.parentElement&&ot(this.parentElement)&&"menuitem"===this.parentElement.getAttribute("role"),this.handleFocusOut=e=>{if(!this.contains(e.relatedTarget)&&void 0!==this.menuItems){this.collapseExpandedItem();const e=this.menuItems.findIndex(this.isFocusableElement);this.menuItems[this.focusIndex].setAttribute("tabindex","-1"),this.menuItems[e].setAttribute("tabindex","0"),this.focusIndex=e}},this.handleItemFocus=e=>{const t=e.target;void 0!==this.menuItems&&t!==this.menuItems[this.focusIndex]&&(this.menuItems[this.focusIndex].setAttribute("tabindex","-1"),this.focusIndex=this.menuItems.indexOf(t),t.setAttribute("tabindex","0"))},this.handleExpandedChanged=e=>{if(e.defaultPrevented||null===e.target||void 0===this.menuItems||this.menuItems.indexOf(e.target)<0)return;e.preventDefault();const t=e.target;null===this.expandedItem||t!==this.expandedItem||!1!==t.expanded?t.expanded&&(null!==this.expandedItem&&this.expandedItem!==t&&(this.expandedItem.expanded=!1),this.menuItems[this.focusIndex].setAttribute("tabindex","-1"),this.expandedItem=t,this.focusIndex=this.menuItems.indexOf(t),t.setAttribute("tabindex","0")):this.expandedItem=null},this.changeHandler=e=>{if(void 0===this.menuItems)return;const t=e.target,o=this.menuItems.indexOf(t);if(-1!==o&&"menuitemradio"===t.role&&!0===t.checked){for(let e=o-1;e>=0;--e){const t=this.menuItems[e],o=t.getAttribute("role");if(o===Bp.menuitemradio&&(t.checked=!1),"separator"===o)break}const e=this.menuItems.length-1;for(let t=o+1;t<=e;++t){const e=this.menuItems[t],o=e.getAttribute("role");if(o===Bp.menuitemradio&&(e.checked=!1),"separator"===o)break}}},this.isMenuItemElement=e=>e instanceof Cp||ot(e)&&e.getAttribute("role")in Op.focusableElementRoles,this.isFocusableElement=e=>this.isMenuItemElement(e)}itemsChanged(e,t){this.$fastController.isConnected&&void 0!==this.menuItems&&this.setItems()}connectedCallback(){super.connectedCallback(),f.enqueue(()=>{this.setItems()}),this.addEventListener("change",this.changeHandler)}disconnectedCallback(){super.disconnectedCallback(),this.removeItemListeners(),this.menuItems=void 0,this.removeEventListener("change",this.changeHandler)}focus(){this.setFocus(0,1)}collapseExpandedItem(){null!==this.expandedItem&&(this.expandedItem.expanded=!1,this.expandedItem=null)}handleMenuKeyDown(e){if(!e.defaultPrevented&&void 0!==this.menuItems)switch(e.key){case"ArrowDown":return void this.setFocus(this.focusIndex+1,1);case"ArrowUp":return void this.setFocus(this.focusIndex-1,-1);case"End":return void this.setFocus(this.menuItems.length-1,-1);case"Home":return void this.setFocus(0,1);default:return!0}}removeItemListeners(e=this.items){e.forEach(e=>{e.removeEventListener("focus",this.handleItemFocus),e.removeEventListener("expanded-changed",this.handleExpandedChanged),$.getNotifier(e).unsubscribe(this,"hidden")})}static elementIndent(e){const t=e.getAttribute("role"),o=e.querySelector("[slot=start]");return t&&t!==Bp.menuitem?o?2:1:o?1:0}setItems(){var e;const t=Array.from(this.children);this.removeItemListeners(t),t.forEach(e=>$.getNotifier(e).subscribe(this,"hidden"));const o=t.filter(e=>!e.hasAttribute("hidden"));this.menuItems=o;const r=this.menuItems.filter(this.isMenuItemElement);r.length&&(this.focusIndex=0),r.forEach((e,t)=>{e.setAttribute("tabindex",0===t?"0":"-1"),e.addEventListener("expanded-change",this.handleExpandedChanged),e.addEventListener("focus",this.handleItemFocus)});const a=null==(e=this.menuItems)?void 0:e.filter(this.isMenuItemElement);null==a||a.forEach((e,t)=>{const o=null==a?void 0:a.reduce((e,t)=>{const o=Op.elementIndent(t);return Math.max(e,o)},0);e instanceof Cp&&e.setAttribute("data-indent",""+o)})}handleChange(e,t){"hidden"===t&&this.setItems()}setFocus(e,t){if(void 0!==this.menuItems)for(;e>=0&&e<this.menuItems.length;){const o=this.menuItems[e];if(this.isFocusableElement(o)){this.focusIndex>-1&&this.menuItems.length>=this.focusIndex-1&&this.menuItems[this.focusIndex].setAttribute("tabindex","-1"),this.focusIndex=e,o.setAttribute("tabindex","0"),o.focus();break}e+=t}}};let Hp=Op;Hp.focusableElementRoles=Bp,((e,t,o,r)=>{for(var a,n=r>1?void 0:r?Lp(t,o):t,i=e.length-1;i>=0;i--)(a=e[i])&&(n=(r?a(t,o,n):a(n))||n);r&&n&&zp(t,o,n)})([B],Hp.prototype,"items",2);const Dp=ye`<template slot="${e=>e.slot?e.slot:e.isNestedMenu()?"submenu":void 0}" role="menu" @keydown="${(e,t)=>e.handleMenuKeyDown(t.event)}" @focusout="${(e,t)=>e.handleFocusOut(t.event)}"><slot ${Ne("items")}></slot></template>`,Ep=j`
385
- ${bt("flex")}
386
-
387
- :host{flex-direction:column;height:fit-content;max-width:300px;min-width:160px;width:auto;background-color:${Vo};border:1px solid ${va};border-radius:${ys};box-shadow:${Js};padding:4px;row-gap:2px}`,Mp=Hp.compose({name:Et.prefix+"-menu-list",template:Dp,styles:Ep});var Rp=Object.defineProperty,jp=Object.getOwnPropertyDescriptor,Vp=(e,t,o,r)=>{for(var a,n=r>1?void 0:r?jp(t,o):t,i=e.length-1;i>=0;i--)(a=e[i])&&(n=(r?a(t,o,n):a(n))||n);return r&&n&&Rp(t,o,n),n};class _p extends et{constructor(){super(...arguments),this.percentComplete=0}valueChanged(){this.updatePercentComplete()}minChanged(){this.$fastController.isConnected&&this.updatePercentComplete()}maxChanged(){this.$fastController.isConnected&&this.updatePercentComplete()}connectedCallback(){super.connectedCallback(),this.updatePercentComplete()}updatePercentComplete(){const e="number"==typeof this.min?this.min:0,t="number"==typeof this.max?this.max:100,o="number"==typeof this.value?this.value:0,r=t-e;this.percentComplete=0===r?0:Math.fround((o-e)/r*100)}}Vp([Oe({converter:ze})],_p.prototype,"value",2),Vp([Oe({converter:ze})],_p.prototype,"min",2),Vp([Oe({converter:ze})],_p.prototype,"max",2),Vp([B],_p.prototype,"percentComplete",2);var Gp=Object.defineProperty,Xp=Object.getOwnPropertyDescriptor,qp=(e,t,o,r)=>{for(var a,n=r>1?void 0:r?Xp(t,o):t,i=e.length-1;i>=0;i--)(a=e[i])&&(n=(r?a(t,o,n):a(n))||n);return r&&n&&Gp(t,o,n),n};class Wp extends _p{constructor(){super(...arguments),this.validationState=null}}qp([Oe],Wp.prototype,"thickness",2),qp([Oe],Wp.prototype,"shape",2),qp([Oe({attribute:"validation-state"})],Wp.prototype,"validationState",2);const Yp={medium:"medium",large:"large"},Kp={rounded:"rounded",square:"square"},Up={success:"success",warning:"warning",error:"error"},Qp=j`
388
- ${bt("flex")}
389
-
390
- :host{align-items:center;height:2px;overflow-x:hidden;border-radius:${ys};contain:content}:host([thickness='large']),:host([thickness='large']) .progress,:host([thickness='large']) .determinate{height:4px}:host([shape='square']),:host([shape='square']) .progress,:host([shape='square']) .determinate{border-radius:0}:host([validation-state='error']) .determinate{background-color:${"var(--colorPaletteRedBackground3)"}}:host([validation-state='error']) .indeterminate-indicator-1,:host([validation-state='error']) .indeterminate-indicator-2{background:linear-gradient(
391
- to right,${"var(--colorPaletteRedBackground2)"} 0%,${"var(--colorPaletteRedBackground3)"} 50%,${"var(--colorPaletteRedBackground2)"}
392
- )}:host([validation-state='warning']) .determinate{background-color:${"var(--colorPaletteDarkOrangeBackground3)"}}:host([validation-state='warning']) .indeterminate-indicator-1,:host([validation-state='warning']) .indeterminate-indicator-2{background:linear-gradient(
393
- to right,${"var(--colorPaletteDarkOrangeBackground2)"} 0%,${"var(--colorPaletteDarkOrangeBackground3)"} 50%,${"var(--colorPaletteDarkOrangeBackground2)"}
394
- )}:host([validation-state='success']) .determinate{background-color:${"var(--colorPaletteGreenBackground3)"}}:host([validation-state='success']) .indeterminate-indicator-1,:host([validation-state='success']) .indeterminate-indicator-2{background:linear-gradient(
395
- to right,${"var(--colorPaletteGreenBackground2)"} 0%,${"var(--colorPaletteGreenBackground3)"} 50%,${"var(--colorPaletteGreenBackground2)"}
396
- )}.progress{background-color:${"var(--colorNeutralBackground6)"};border-radius:${ys};width:100%;height:2px;display:flex;align-items:center;position:relative}.determinate{background-color:${Er};border-radius:${ys};height:2px;transition:all 0.2s ease-in-out;display:flex}.indeterminate-indicator-1{position:absolute;opacity:0;height:100%;background:linear-gradient(
397
- to right,${Vr} 0%,${Er} 50%,${Vr}
398
- );border-radius:${ys};animation-timing-function:cubic-bezier(0.4,0,0.6,1);width:40%;animation:indeterminate-1 3s infinite}.indeterminate-indicator-2{position:absolute;opacity:0;height:100%;background:linear-gradient(
399
- to right,${Vr} 0%,${Er} 50%,${Vr}
400
- );border-radius:${ys};animation-timing-function:cubic-bezier(0.4,0,0.6,1);width:60%;animation:indeterminate-2 3s infinite}@keyframes indeterminate-1{0%{opacity:1;transform:translateX(-100%)}70%{opacity:1;transform:translateX(300%)}70.01%{opacity:0}100%{opacity:0;transform:translateX(300%)}}@keyframes indeterminate-2{0%{opacity:0;transform:translateX(-150%)}29.99%{opacity:0}30%{opacity:1;transform:translateX(-150%)}100%{transform:translateX(166.66%);opacity:1}}`.withBehaviors(yt(j`
401
- .progress{background-color:HighlightText}.determinate,:host([validation-state='success']) .determinate,:host([validation-state='warning']) .determinate,:host([validation-state='error']) .determinate,:host([validation-state='success']) ..indeterminate-indicator-1,:host([validation-state='success']) ..indeterminate-indicator-2,:host([validation-state='warning']) .indeterminate-indicator-1,:host([validation-state='warning']) .indeterminate-indicator-2,:host([validation-state='error']) .indeterminate-indicator-1,:host([validation-state='error']) .indeterminate-indicator-2{background-color:Highlight}`));const Zp=function(e={}){return ye`<template role="progressbar" aria-valuenow="${e=>e.value}" aria-valuemin="${e=>e.min}" aria-valuemax="${e=>e.max}">${we(e=>"number"==typeof e.value,ye`<div class="progress" part="progress" slot="determinate"><div class="determinate" part="determinate" style="width: ${e=>e.percentComplete}%"></div></div>`,ye`<div class="progress" part="progress" slot="indeterminate"><slot name="indeterminate">${pt(e.indeterminateIndicator1)} ${pt(e.indeterminateIndicator2)}</slot></div>`)}</template>`}({indeterminateIndicator1:'<span class="indeterminate-indicator-1" part="indeterminate-indicator-1></span>',indeterminateIndicator2:'<span class="indeterminate-indicator-2" part="indeterminate-indicator-2"></span>'}),Jp=Wp.compose({name:Et.prefix+"-progress-bar",template:Zp,styles:Qp});class eg extends et{}class tg extends(Od(eg)){constructor(){super(...arguments),this.proxy=document.createElement("input")}}var og=Object.defineProperty,rg=Object.getOwnPropertyDescriptor,ag=(e,t,o,r)=>{for(var a,n=r>1?void 0:r?rg(t,o):t,i=e.length-1;i>=0;i--)(a=e[i])&&(n=(r?a(t,o,n):a(n))||n);return r&&n&&og(t,o,n),n};class ng extends tg{constructor(){super(),this.initialValue="on",this.proxy.setAttribute("type","radio")}get radioGroup(){return this.closest("[role=radiogroup]")}defaultCheckedChanged(){var e;this.$fastController.isConnected&&!this.dirtyChecked&&(this.isInsideRadioGroup()||(this.checked=null!=(e=this.defaultChecked)&&e,this.dirtyChecked=!1))}connectedCallback(){var e,t;super.connectedCallback(),this.validate(),"radiogroup"!==(null==(e=this.parentElement)?void 0:e.getAttribute("role"))&&null===this.getAttribute("tabindex")&&(this.disabled||this.setAttribute("tabindex","0")),this.checkedAttribute&&(this.dirtyChecked||this.isInsideRadioGroup()||(this.checked=null!=(t=this.defaultChecked)&&t,this.dirtyChecked=!1))}isInsideRadioGroup(){return null!==this.radioGroup}keypressHandler(e){var t;switch(e.key){case" ":return void(this.checked||(null==(t=this.radioGroup)?void 0:t.readOnly)||(this.checked=!0))}return!0}}ag([B],ng.prototype,"name",2),ag([B],ng.prototype,"defaultSlottedNodes",2);const ig=j`
402
- ${bt("inline-grid")}
403
-
404
- :host{grid-auto-flow:column;grid-template-columns:max-content;gap:${gl};align-items:center;height:32px;cursor:pointer;outline:none;position:relative;user-select:none;color:blue;color:var(--state-color,${Jt});padding-inline-end:${bl};--control-border-color:${Wr};--checked-indicator-background-color:${"var(--colorCompoundBrandForeground1)"};--state-color:${Jt}}:host([disabled]){--control-border-color:${so};--checked-indicator-background-color:${so};--state-color:${so}}.label{cursor:pointer;font-family:${Bs};font-size:${Cs};font-weight:${Hs};line-height:${Vs}}.label__hidden{display:none}.control{box-sizing:border-box;align-items:center;border:1px solid var(--control-border-color,${Wr});border-radius:${$s};display:flex;height:16px;justify-content:center;margin:${Fl} ${bl};position:relative;width:16px;justify-self:center}.checked-indicator{border-radius:${$s};height:10px;opacity:0;width:10px}:host([aria-checked='false']:hover) .control{color:${qt}}:host(:focus-visible){border-radius:${fs};box-shadow:0 0 0 3px ${ya};outline:1px solid ${fa}}:host(:hover) .control{border-color:${"var(--colorNeutralStrokeAccessibleHover)"}}:host(:active) .control{border-color:${"var(--colorNeutralStrokeAccessiblePressed)"}}:host([aria-checked='true']) .checked-indicator{opacity:1}:host([aria-checked='true']) .control{border-color:var(--control-border-color,${Wr})}:host([aria-checked='true']) .checked-indicator{background-color:var(--checked-indicator-background-color,${"var(--colorCompoundBrandForeground1)"})}:host([aria-checked='true']:hover) .control{border-color:${"var(--colorCompoundBrandStrokeHover)"}}:host([aria-checked='true']:hover) .checked-indicator{background-color:${"var(--colorCompoundBrandStrokeHover)"}}:host([aria-checked='true']:active) .control{border-color:${"var(--colorCompoundBrandStrokePressed)"}}:host([aria-checked='true']:active) .checked-indicator{background:${"var(--colorCompoundBrandForeground1Pressed)"}}:host([disabled]){color:${so};pointer-events:none}:host([disabled]) .control{pointer-events:none;border-color:${so}}:host([disabled]) .checked-indicator{background:${so}}`.withBehaviors(yt(j`
405
- :host .control{border-color:InactiveBorder}:host([aria-checked='true']) .checked-indicator,:host([aria-checked='true']:active) .checked-indicator,:host([aria-checked='true']:hover) .checked-indicator{background-color:Highlight;border-color:ActiveBorder}`));const sg=function(e={}){return ye`<template role="radio" aria-checked="${e=>e.checked}" aria-required="${e=>e.required}" aria-disabled="${e=>e.disabled}" @keypress="${(e,t)=>e.keypressHandler(t.event)}"><div part="control" class="control"><slot name="checked-indicator">${pt(e.checkedIndicator)}</slot></div><label part="label" class="${e=>{var t;return["label",!(null==(t=e.defaultSlottedNodes)?void 0:t.length)&&"label__hidden"].filter(Boolean).join(" ")}}"><slot ${Ne({property:"defaultSlottedNodes",filter:gt})}></slot></label></template>`}({checkedIndicator:ye`<div part="checked-indicator" class="checked-indicator"></div>`}),lg=ng.compose({name:Et.prefix+"-radio",template:sg,styles:ig}),cg=tt;var dg=Object.defineProperty,ug=Object.getOwnPropertyDescriptor,hg=(e,t,o,r)=>{for(var a,n=r>1?void 0:r?ug(t,o):t,i=e.length-1;i>=0;i--)(a=e[i])&&(n=(r?a(t,o,n):a(n))||n);return r&&n&&dg(t,o,n),n};class pg extends et{constructor(){super(...arguments),this.stacked=!1,this.orientation=cg.horizontal,this.radioChangeHandler=e=>{const t=e.target;t.checked&&(this.slottedRadioButtons.forEach(e=>{e instanceof ng&&e!==t&&(e.checked=!1,this.isInsideFoundationToolbar||e.setAttribute("tabindex","-1"))}),this.selectedRadio=t,this.value=t.value,t.setAttribute("tabindex","0"),this.focusedRadio=t),e.stopPropagation()},this.moveToRadioByIndex=(e,t)=>{const o=e[t];this.isInsideToolbar||(o.setAttribute("tabindex","0"),o.checked=!0,this.selectedRadio=o),this.focusedRadio=o,o.focus()},this.moveRightOffGroup=()=>{var e;null==(e=this.nextElementSibling)||e.focus()},this.moveLeftOffGroup=()=>{var e;null==(e=this.previousElementSibling)||e.focus()},this.focusOutHandler=e=>{const t=this.slottedRadioButtons,o=e.target,r=null!==o?t.indexOf(o):0,a=this.focusedRadio?t.indexOf(this.focusedRadio):-1;return(0===a&&r===a||a===t.length-1&&a===r)&&(this.selectedRadio?(this.focusedRadio=this.selectedRadio,this.isInsideFoundationToolbar||(this.selectedRadio.setAttribute("tabindex","0"),t.forEach(e=>{e!==this.selectedRadio&&e.setAttribute("tabindex","-1")}))):(this.focusedRadio=t[0],this.focusedRadio.setAttribute("tabindex","0"),t.forEach(e=>{o instanceof ng&&e!==this.focusedRadio&&e.setAttribute("tabindex","-1")}))),!0},this.handleDisabledClick=e=>{if(!this.disabled)return!0;e.preventDefault()},this.clickHandler=e=>{if(this.disabled)return;e.preventDefault();const t=e.target;t&&t instanceof ng&&(t.checked=!0,t.setAttribute("tabindex","0"),this.selectedRadio=t,this.focusedRadio=t)},this.shouldMoveOffGroupToTheRight=(e,t,o)=>e===t.length&&this.isInsideToolbar&&"ArrowRight"===o,this.shouldMoveOffGroupToTheLeft=(e,t)=>(this.focusedRadio?e.indexOf(this.focusedRadio)-1:0)<0&&this.isInsideToolbar&&"ArrowLeft"===t,this.checkFocusedRadio=()=>{null===this.focusedRadio||this.focusedRadio.checked||(this.focusedRadio.checked=!0,this.focusedRadio.setAttribute("tabindex","0"),this.focusedRadio.focus(),this.selectedRadio=this.focusedRadio)},this.moveRight=e=>{const t=this.slottedRadioButtons;let o=0;if(o=this.focusedRadio?t.indexOf(this.focusedRadio)+1:1,this.shouldMoveOffGroupToTheRight(o,t,e.key))this.moveRightOffGroup();else for(o===t.length&&(o=0);o<t.length&&t.length>1;){if(!t[o].disabled){this.moveToRadioByIndex(t,o);break}if(this.focusedRadio&&o===t.indexOf(this.focusedRadio))break;if(o+1>=t.length){if(this.isInsideToolbar)break;o=0}else o+=1}},this.moveLeft=e=>{const t=this.slottedRadioButtons;let o=0;if(o=this.focusedRadio?t.indexOf(this.focusedRadio)-1:0,o=o<0?t.length-1:o,this.shouldMoveOffGroupToTheLeft(t,e.key))this.moveLeftOffGroup();else for(;o>=0&&t.length>1;){if(!t[o].disabled){this.moveToRadioByIndex(t,o);break}if(this.focusedRadio&&o===t.indexOf(this.focusedRadio))break;o-1<0?o=t.length-1:o-=1}},this.keydownHandler=e=>{const t=e.key;if(t in rt&&(this.isInsideFoundationToolbar||this.disabled))return!0;switch(t){case"Enter":this.checkFocusedRadio();break;case"ArrowRight":case"ArrowDown":this.direction===at.ltr?this.moveRight(e):this.moveLeft(e);break;case"ArrowLeft":case"ArrowUp":this.direction===at.ltr?this.moveLeft(e):this.moveRight(e);break;default:return!0}}}nameChanged(){this.slottedRadioButtons&&this.slottedRadioButtons.forEach(e=>{e.setAttribute("name",this.name)})}valueChanged(){this.slottedRadioButtons&&this.slottedRadioButtons.forEach(e=>{e instanceof ng&&e.value===this.value&&(e.checked=!0,this.selectedRadio=e)}),this.$emit("change")}slottedRadioButtonsChanged(e,t){this.slottedRadioButtons&&this.slottedRadioButtons.length>0&&this.setupRadioButtons()}get parentToolbar(){return this.closest('[role="toolbar"]')}get isInsideToolbar(){var e;return null!=(e=this.parentToolbar)&&e}get isInsideFoundationToolbar(){var e;return!!(null==(e=this.parentToolbar)?void 0:e.hasOwnProperty("$fastController"))}connectedCallback(){super.connectedCallback(),this.direction=ht(this),this.setupRadioButtons()}disconnectedCallback(){this.slottedRadioButtons.forEach(e=>{e instanceof ng&&e.removeEventListener("change",this.radioChangeHandler)})}setupRadioButtons(){const e=this.slottedRadioButtons.filter(e=>e.hasAttribute("checked")),t=e?e.length:0;if(t>1){e[t-1].checked=!0}let o=!1;if(this.slottedRadioButtons.forEach(e=>{e instanceof ng&&(void 0!==this.name&&e.setAttribute("name",this.name),this.value&&this.value===e.value?(this.selectedRadio=e,this.focusedRadio=e,e.checked=!0,e.setAttribute("tabindex","0"),o=!0):(this.isInsideFoundationToolbar||e.setAttribute("tabindex","-1"),e.checked=!1),e.addEventListener("change",this.radioChangeHandler))}),void 0===this.value&&this.slottedRadioButtons.length>0){const e=this.slottedRadioButtons.filter(e=>e.hasAttribute("checked")),t=null!==e?e.length:0;if(t>0&&!o){const o=e[t-1];o.checked=!0,this.focusedRadio=o,o.setAttribute("tabindex","0")}else this.slottedRadioButtons[0].setAttribute("tabindex","0"),this.focusedRadio=this.slottedRadioButtons[0]}}}hg([Oe({mode:"boolean"})],pg.prototype,"stacked",2),hg([Oe({attribute:"readonly",mode:"boolean"})],pg.prototype,"readOnly",2),hg([Oe({attribute:"disabled",mode:"boolean"})],pg.prototype,"disabled",2),hg([Oe],pg.prototype,"name",2),hg([Oe],pg.prototype,"value",2),hg([Oe],pg.prototype,"orientation",2),hg([B],pg.prototype,"childItems",2),hg([B],pg.prototype,"slottedRadioButtons",2);const gg=j`
406
- ${bt("flex")}
407
-
408
- :host{align-items:flex-start;flex-direction:column;row-gap:${Fl}}:host([disabled]) ::slotted([role='radio']){--control-border-color:${so};--checked-indicator-background-color:${so};--state-color:${so}}::slotted([slot='label']){color:${Vt};padding:${Fl} ${bl} ${Fl} ${gl};font:${Hs} ${Cs} / ${Vs} ${Bs};cursor:default}.positioning-region{display:flex;flex-wrap:wrap}:host([orientation='vertical']) .positioning-region{flex-direction:column;justify-content:flex-start}:host([orientation='horizontal']) .positioning-region{flex-direction:row}:host([orientation='horizontal']) ::slotted([role='radio']){padding-inline-end:${bl}}:host([orientation='horizontal'][stacked]) ::slotted([role='radio']){display:flex;flex-direction:column;padding-inline:${bl};height:auto;align-items:center;justify-content:center}:host([disabled]) ::slotted([role='radio']){pointer-events:none}`;const vg=ye`<template role="radiogroup" tabindex="${e=>e.disabled?-1:void 0}" aria-disabled="${e=>e.disabled}" aria-readonly="${e=>e.readOnly}" aria-orientation="${e=>e.orientation}" @click="${(e,t)=>e.clickHandler(t.event)}" @mousedown="${(e,t)=>e.handleDisabledClick(t.event)}" @keydown="${(e,t)=>e.keydownHandler(t.event)}" @focusout="${(e,t)=>e.focusOutHandler(t.event)}"><slot name="label"></slot><div class="positioning-region ${e=>e.orientation===cg.horizontal?"horizontal":"vertical"}" part="positioning-region"><slot ${Ne({property:"slottedRadioButtons",filter:Se("[role=radio]")})}></slot></div></template>`,bg=pg.compose({name:Et.prefix+"-radio-group",template:vg,styles:gg}),mg={small:"small",medium:"medium"},fg=tt,yg={singleValue:"single-value"};class kg extends et{}class xg extends(Ld(kg)){constructor(){super(...arguments),this.proxy=document.createElement("input")}}function $g(e,t,o,r){let a=nt(0,1,(e-t)/(o-t));return r===at.rtl&&(a=1-a),a}var Bg=Object.defineProperty,wg=Object.getOwnPropertyDescriptor,Pg=(e,t,o,r)=>{for(var a,n=r>1?void 0:r?wg(t,o):t,i=e.length-1;i>=0;i--)(a=e[i])&&(n=(r?a(t,o,n):a(n))||n);return r&&n&&Bg(t,o,n),n};class Sg extends xg{constructor(){super(...arguments),this.direction=at.ltr,this.isDragging=!1,this.trackWidth=0,this.trackMinWidth=0,this.trackHeight=0,this.trackLeft=0,this.trackMinHeight=0,this.valueTextFormatter=()=>null,this.min=0,this.max=10,this.orientation=tt.horizontal,this.mode=yg.singleValue,this.keypressHandler=e=>{if(!this.readOnly&&!this.disabled)if("Home"===e.key)e.preventDefault(),this.direction!==at.rtl&&this.orientation!==tt.vertical?this.value=""+this.min:this.value=""+this.max;else if("End"===e.key)e.preventDefault(),this.direction!==at.rtl&&this.orientation!==tt.vertical?this.value=""+this.max:this.value=""+this.min;else if(!e.shiftKey)switch(e.key){case"ArrowRight":case"ArrowUp":e.preventDefault(),this.increment();break;case"ArrowLeft":case"ArrowDown":e.preventDefault(),this.decrement()}},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,0===this.trackWidth&&(this.trackWidth=1)},this.setupListeners=(e=!1)=>{this.addEventListener("keydown",this.keypressHandler),this.addEventListener("mousedown",this.handleMouseDown),e&&(this.removeEventListener("keydown",this.keypressHandler),this.removeEventListener("mousedown",this.handleMouseDown))},this.initialValue="",this.handleThumbMouseDown=e=>{const t=null!==e?window.addEventListener:window.removeEventListener;t("mouseup",this.handleWindowMouseUp),t("mousemove",this.handleMouseMove,{passive:!0}),t("touchmove",this.handleMouseMove,{passive:!0}),t("touchend",this.handleWindowMouseUp),this.isDragging=null!==e},this.handleMouseMove=e=>{if(this.readOnly||this.disabled||e.defaultPrevented)return;const t=window.TouchEvent&&e instanceof TouchEvent?e.touches[0]:e,o=this.orientation===tt.horizontal?t.pageX-document.documentElement.scrollLeft-this.trackLeft:t.pageY-document.documentElement.scrollTop;this.value=""+this.calculateNewValue(o)},this.handleWindowMouseUp=e=>{this.stopDragging()},this.stopDragging=()=>{this.isDragging=!1,this.handleMouseDown(null),this.handleThumbMouseDown(null)},this.handleMouseDown=e=>{if(null===e||!this.disabled&&!this.readOnly){const t=null!==e?window.addEventListener:window.removeEventListener,o=null!==e?document.addEventListener:document.removeEventListener;if(t("mouseup",this.handleWindowMouseUp),o("mouseleave",this.handleWindowMouseUp),t("mousemove",this.handleMouseMove),e){this.setupTrackConstraints();const t=this.orientation===tt.horizontal?e.pageX-document.documentElement.scrollLeft-this.trackLeft:e.pageY-document.documentElement.scrollTop;this.value=""+this.calculateNewValue(t)}}}}handleChange(e,t){switch(t){case"min":case"max":case"step":this.handleStepStyles()}}handleStepStyles(){if(this.step){const e=100/Math.floor((this.max-this.min)/this.step);void 0!==this.stepStyles&&this.$fastController.removeStyles(this.stepStyles),this.stepStyles=j`
409
- :host{--step-rate:${e}%;color:blue}`,this.$fastController.addStyles(this.stepStyles)}else void 0!==this.stepStyles&&this.$fastController.removeStyles(this.stepStyles)}readOnlyChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.readOnly=this.readOnly)}get valueAsNumber(){return parseFloat(super.value)}set valueAsNumber(e){this.value=e.toString()}valueChanged(e,t){if(this.$fastController.isConnected){const o=parseFloat(t),r=nt(this.min,this.max,this.convertToConstrainedValue(o)).toString();if(r!==t)return void(this.value=r);super.valueChanged(e,t),this.setThumbPositionForOrientation(this.direction),this.$emit("change")}}minChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.min=""+this.min),this.validate()}maxChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.max=""+this.max),this.validate()}stepChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.step=""+this.step),this.updateStepMultiplier(),this.validate()}orientationChanged(){this.$fastController.isConnected&&this.setThumbPositionForOrientation(this.direction)}connectedCallback(){super.connectedCallback(),this.proxy.setAttribute("type","range"),this.direction=ht(this),this.updateStepMultiplier(),this.setupTrackConstraints(),this.setupListeners(),this.setupDefaultValue(),this.setThumbPositionForOrientation(this.direction),$.getNotifier(this).subscribe(this,"max"),$.getNotifier(this).subscribe(this,"min"),$.getNotifier(this).subscribe(this,"step"),this.handleStepStyles()}disconnectedCallback(){super.disconnectedCallback(),this.setupListeners(!0),$.getNotifier(this).unsubscribe(this,"max"),$.getNotifier(this).unsubscribe(this,"min"),$.getNotifier(this).unsubscribe(this,"step")}increment(){const e=(this.direction!==at.rtl&&this.orientation,Number(this.value)+Number(this.stepValue)),t=this.convertToConstrainedValue(e),o=t<Number(this.max)?""+t:""+this.max;this.value=o}decrement(){const e=(this.direction!==at.rtl&&this.orientation,Number(this.value)-Number(this.stepValue)),t=this.convertToConstrainedValue(e),o=t>Number(this.min)?""+t:""+this.min;this.value=o}get stepValue(){return void 0===this.step?1:this.step}setThumbPositionForOrientation(e){const t=100*(1-$g(Number(this.value),Number(this.min),Number(this.max),e));this.orientation===tt.horizontal?this.position=this.isDragging?`right: ${t}%; transition: none;`:`right: ${t}%; transition: all 0.2s ease;`:this.position=this.isDragging?`top: ${t}%; transition: none;`:`top: ${t}%; transition: all 0.2s ease;`}updateStepMultiplier(){const e=this.stepValue+"",t=this.stepValue%1?e.length-e.indexOf(".")-1:0;this.stepMultiplier=Math.pow(10,t)}get midpoint(){return""+this.convertToConstrainedValue((this.max+this.min)/2)}setupDefaultValue(){if("string"==typeof this.value)if(0===this.value.length)this.initialValue=this.midpoint;else{const e=parseFloat(this.value);!Number.isNaN(e)&&(e<this.min||e>this.max)&&(this.value=this.midpoint)}}calculateNewValue(e){this.setupTrackConstraints();const t=$g(e,this.orientation===tt.horizontal?this.trackMinWidth:this.trackMinHeight,this.orientation===tt.horizontal?this.trackWidth:this.trackHeight,this.direction),o=(this.max-this.min)*t+this.min;return this.convertToConstrainedValue(o)}convertToConstrainedValue(e){isNaN(e)&&(e=this.min);let t=e-this.min;const o=t-Math.round(t/this.stepValue)*(this.stepMultiplier*this.stepValue)/this.stepMultiplier;return t=o>=Number(this.stepValue)/2?t-o+Number(this.stepValue):t-o,t+this.min}}Pg([Oe],Sg.prototype,"size",2),Pg([Oe({attribute:"readonly",mode:"boolean"})],Sg.prototype,"readOnly",2),Pg([B],Sg.prototype,"direction",2),Pg([B],Sg.prototype,"isDragging",2),Pg([B],Sg.prototype,"position",2),Pg([B],Sg.prototype,"trackWidth",2),Pg([B],Sg.prototype,"trackMinWidth",2),Pg([B],Sg.prototype,"trackHeight",2),Pg([B],Sg.prototype,"trackLeft",2),Pg([B],Sg.prototype,"trackMinHeight",2),Pg([B],Sg.prototype,"valueTextFormatter",2),Pg([Oe({converter:ze})],Sg.prototype,"min",2),Pg([Oe({converter:ze})],Sg.prototype,"max",2),Pg([Oe({converter:ze})],Sg.prototype,"step",2),Pg([Oe],Sg.prototype,"orientation",2),Pg([Oe],Sg.prototype,"mode",2);const Fg=j`
410
- ${bt("inline-grid")} :host{--thumb-size:18px;--thumb-padding:3px;--thumb-translate:calc(var(--thumb-size) * -0.5 + var(--track-width) / 2);--track-overhang:-2px;--track-width:4px;--fast-slider-height:calc(var(--thumb-size) * 10);--slider-direction:90deg;align-items:center;box-sizing:border-box;outline:none;cursor:pointer;user-select:none;border-radius:${fs};touch-action:pan-y;min-width:calc(var(--thumb-size) * 1px);width:100%}:host([size='small']){--thumb-size:14px;--track-width:2px;--thumb-padding:3px}:host([orientation='vertical']){--slider-direction:0deg;height:160px;min-height:var(--thumb-size);touch-action:pan-x;padding:8px 0;width:auto;min-width:auto}:host([disabled]:hover){cursor:initial}:host(:focus-visible){box-shadow:0 0 0 2pt ${ya};outline:1px solid ${fa}}.thumb-cursor:focus{outline:0}.thumb-container{position:absolute;height:var(--thumb-size);width:var(--thumb-size);transition:all 0.2s ease}.thumb-container{transform:translateX(calc(var(--thumb-size) * 0.5)) translateY(calc(var(--thumb-translate) * -1.5))}:host([size='small']) .thumb-container{transform:translateX(calc(var(--thumb-size) * 0.5)) translateY(calc(var(--thumb-translate) * -1.35))}:host([orientation='vertical']) .thumb-container{transform:translateX(calc(var(--thumb-translate) * -1.5)) translateY(calc(var(--thumb-size) * -0.5))}:host([orientation='vertical'][size='small']) .thumb-container{transform:translateX(calc(var(--thumb-translate) * -1.35)) translateY(calc(var(--thumb-size) * -0.5))}.thumb-cursor{height:var(--thumb-size);width:var(--thumb-size);background-color:${Lr};border-radius:${$s};box-shadow:inset 0 0 0 var(--thumb-padding) ${Vo},0 0 0 1px ${Qr}}.thumb-cursor:hover{background-color:${"var(--colorCompoundBrandBackgroundHover)"}}.thumb-cursor:active{background-color:${"var(--colorCompoundBrandBackgroundPressed)"}}:host([disabled]) .thumb-cursor{background-color:${so};box-shadow:inset 0 0 0 var(--thumb-padding) ${Vo},0 0 0 1px ${pa}}.positioning-region{position:relative;display:grid}:host([orientation='horizontal']) .positioning-region{margin:0 8px;grid-template-rows:var(--thumb-size) var(--thumb-size)}:host([orientation='vertical']) .positioning-region{margin:8px 0;height:100%;grid-template-columns:var(--thumb-size) var(--thumb-size)}.track{align-self:start;position:absolute;background-color:${Wr};border-radius:${ys};overflow:hidden}:host([step]) .track::after{content:'';position:absolute;border-radius:${ys};width:100%;inset:0 2px;background-image:repeating-linear-gradient(
411
- var(--slider-direction),#0000 0%,#0000 calc(var(--step-rate) - 1px),${Vo} calc(var(--step-rate) - 1px),${Vo} var(--step-rate)
412
- )}:host([orientation='vertical'][step]) .track::after{inset:-2px 0}:host([disabled]) .track{background-color:${"var(--colorNeutralBackgroundDisabled)"}}:host([orientation='horizontal']) .track{right:var(--track-overhang);left:var(--track-overhang);align-self:start;height:var(--track-width);grid-row:2 / auto}:host([orientation='vertical']) .track{top:var(--track-overhang);bottom:var(--track-overhang);width:var(--track-width);height:100%;grid-column:2 / auto}.track-start{background-color:${Er};position:absolute;height:100%;left:0;border-radius:${ys}}:host([disabled]) .track-start{background-color:${so}}:host(:hover) .track-start{background-color:${"var(--colorCompoundBrandBackgroundHover)"}}:host([disabled]:hover) .track-start{background-color:${so}}.track-start:active{background-color:${"var(--colorCompoundBrandBackgroundPressed)"}}:host([orientation='vertical']) .track-start{height:auto;width:100%;bottom:0}`.withBehaviors(yt(j`
413
- .track:hover,.track:active,.track{background:WindowText}.thumb-cursor:hover,.thumb-cursor:active,.thumb-cursor{background:ButtonText}:host(:hover) .track-start,.track-start:active,.track-start{background:Highlight}`));const Cg=function(e={}){return ye`<template role="slider" tabindex="${e=>e.disabled?null:0}" aria-valuetext="${e=>e.valueTextFormatter(e.value)}" aria-valuenow="${e=>e.value}" aria-valuemin="${e=>e.min}" aria-valuemax="${e=>e.max}" aria-disabled="${e=>!!e.disabled||void 0}" aria-readonly="${e=>!!e.readOnly||void 0}" aria-orientation="${e=>e.orientation}" class="${e=>e.orientation}"><div part="positioning-region" class="positioning-region"><div ${xe("track")} part="track-container" class="track"><slot name="track"></slot><div part="track-start" class="track-start" style="${e=>e.position}"><slot name="track-start"></slot></div></div><slot></slot><div ${xe("thumb")} part="thumb-container" class="thumb-container" style="${e=>e.position}" @mousedown="${(e,t)=>e.handleThumbMouseDown(t.event)}" @touchstart="${(e,t)=>e.handleThumbMouseDown(t.event)}"><slot name="thumb">${pt(e.thumb)}</slot></div></div></template>`}({thumb:'<div class="thumb-cursor" tabindex="0"></div>'}),Ng=Sg.compose({name:Et.prefix+"-slider",template:Cg,styles:Fg});class Ig extends _p{}var Ag=Object.defineProperty,Tg=Object.getOwnPropertyDescriptor,zg=(e,t,o,r)=>{for(var a,n=r>1?void 0:r?Tg(t,o):t,i=e.length-1;i>=0;i--)(a=e[i])&&(n=(r?a(t,o,n):a(n))||n);return r&&n&&Ag(t,o,n),n};class Lg extends Ig{}zg([Oe],Lg.prototype,"size",2),zg([Oe],Lg.prototype,"appearance",2);const Og={primary:"primary",inverted:"inverted"},Hg={tiny:"tiny",extraSmall:"extra-small",small:"small",medium:"medium",large:"large",extraLarge:"extra-large",huge:"huge"};const Dg=function(e={}){return ye`<template role="progressbar" aria-valuenow="${e=>e.value}" aria-valuemin="${e=>e.min}" aria-valuemax="${e=>e.max}">${we(e=>"number"==typeof e.value,ye`<svg class="progress" part="progress" viewBox="0 0 16 16" slot="determinate"><circle class="background" part="background" cx="8px" cy="8px" r="7px"></circle><circle class="determinate" part="determinate" style="stroke-dasharray: ${e=>44*e.percentComplete/100}px ${44}px" cx="8px" cy="8px" r="7px"></circle></svg>`,ye`<slot name="indeterminate">${pt(e.indeterminateIndicator)}</slot>`)}</template>`}({indeterminateIndicator:'\n <svg class="progress" part="progress" viewBox="0 0 16 16">\n <circle\n class="background"\n part="background"\n cx="8px"\n cy="8px"\n r="7px"\n ></circle>\n <circle\n class="indeterminate-indicator-1"\n part="indeterminate-indicator-1"\n cx="8px"\n cy="8px"\n r="7px"\n ></circle>\n </svg>\n '}),Eg=j`
414
- ${bt("flex")}
415
-
416
- :host{display:flex;align-items:center;height:32px;width:32px;contain:content}:host([size='tiny']){height:20px;width:20px}:host([size='extra-small']){height:24px;width:24px}:host([size='small']){height:28px;width:28px}:host([size='large']){height:36px;width:36px}:host([size='extra-large']){height:40px;width:40px}:host([size='huge']){height:44px;width:44px}.progress{height:100%;width:100%}.background{fill:none;stroke:${"var(--colorBrandStroke2)"};stroke-width:1.5px}:host([appearance='inverted']) .background{stroke:rgba(255,255,255,0.2)}.determinate{stroke:${"var(--colorBrandStroke1)"};fill:none;stroke-width:1.5px;stroke-linecap:round;transform-origin:50% 50%;transform:rotate(-90deg);transition:all 0.2s ease-in-out}:host([appearance='inverted']) .determinite{stroke:${"var(--colorNeutralStrokeOnBrand2)"}}.indeterminate-indicator-1{stroke:${"var(--colorBrandStroke1)"};fill:none;stroke-width:1.5px;stroke-linecap:round;transform-origin:50% 50%;transform:rotate(-90deg);transition:all 0.2s ease-in-out;animation:spin-infinite 3s cubic-bezier(0.53,0.21,0.29,0.67) infinite}:host([appearance='inverted']) .indeterminate-indicator-1{stroke:${"var(--colorNeutralStrokeOnBrand2)"}}@keyframes spin-infinite{0%{stroke-dasharray:0.01px 43.97px;transform:rotate(0deg)}50%{stroke-dasharray:21.99px 21.99px;transform:rotate(450deg)}100%{stroke-dasharray:0.01px 43.97px;transform:rotate(1080deg)}}`,Mg=Lg.compose({name:Et.prefix+"-spinner",template:Dg,styles:Eg});class Rg extends et{}class jg extends(Od(Rg)){constructor(){super(...arguments),this.proxy=document.createElement("input")}}var Vg=Object.defineProperty,_g=Object.getOwnPropertyDescriptor,Gg=(e,t,o,r)=>{for(var a,n=r>1?void 0:r?_g(t,o):t,i=e.length-1;i>=0;i--)(a=e[i])&&(n=(r?a(t,o,n):a(n))||n);return r&&n&&Vg(t,o,n),n};class Xg extends jg{constructor(){super(),this.initialValue="on",this.keypressHandler=e=>{if(!this.readOnly)switch(e.key){case"Enter":case" ":this.checked=!this.checked}},this.clickHandler=e=>{this.disabled||this.readOnly||(this.checked=!this.checked)},this.proxy.setAttribute("type","checkbox")}readOnlyChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.readOnly=this.readOnly)}}Gg([Oe({attribute:"label-position"})],Xg.prototype,"labelPosition",2),Gg([Oe({attribute:"readonly",mode:"boolean"})],Xg.prototype,"readOnly",2),Gg([B],Xg.prototype,"defaultSlottedNodes",2);const qg={above:"above",after:"after",before:"before"};const Wg=function(e={}){return ye`<template role="switch" aria-checked="${e=>e.checked}" aria-disabled="${e=>e.disabled}" aria-readonly="${e=>e.readOnly}" tabindex="${e=>e.disabled?null:0}" @keypress="${(e,t)=>e.keypressHandler(t.event)}" @click="${(e,t)=>e.clickHandler(t.event)}"><label part="label" class="${e=>e.defaultSlottedNodes&&e.defaultSlottedNodes.length?"label":"label label__hidden"}"><slot ${Ne("defaultSlottedNodes")}></slot></label><div part="switch" class="switch"><slot name="switch">${pt(e.switch)}</slot></div></template>`}({switch:'<span class="checked-indicator" part="checked-indicator"></span>'}),Yg=j`
417
- ${bt("inline-flex")}
418
-
419
- :host{align-items:center;flex-direction:row-reverse;outline:none;user-select:none;contain:content}:host([label-position='before']){flex-direction:row}:host([label-position='above']){flex-direction:column;align-items:flex-start}:host([disabled]) .label,:host([readonly]) .label,:host([readonly]) .switch,:host([disabled]) .switch{cursor:not-allowed}.label{position:relative;color:${Vt};line-height:${Vs};font-size:${Cs};font-weight:${Hs};font-family:${Bs};padding:${"var(--spacingVerticalXS)"} ${gl};cursor:pointer}.label__hidden{display:none}.switch{display:flex;align-items:center;padding:0 ${pl};box-sizing:border-box;width:40px;height:20px;background-color:${$r};border:1px solid ${Wr};border-radius:${$s};outline:none;cursor:pointer;margin:${Fl} ${bl}}:host(:hover) .switch{background:none;border-color:${"var(--colorNeutralStrokeAccessibleHover)"}}:host(:active) .switch{border-color:${"var(--colorNeutralStrokeAccessiblePressed)"}}:host([disabled]) .switch,:host([readonly]) .switch{border:1px solid ${pa};background-color:none;pointer:default}:host([aria-checked='true']) .switch{background:${Er}}:host([aria-checked='true']:hover) .switch{background:${"var(--colorCompoundBrandBackgroundHover)"};border-color:${"var(--colorCompoundBrandBackgroundHover)"}}:host([aria-checked='true']:active) .switch{background:${"var(--colorCompoundBrandBackgroundPressed)"};border-color:${"var(--colorCompoundBrandBackgroundPressed)"}}:host([aria-checked='true'][disabled]) .switch{background:${"var(--colorNeutralBackgroundDisabled)"};border-color:${pa}}.checked-indicator{height:14px;width:14px;border-radius:50%;margin-inline-start:0;background-color:${Jt};transition-duration:${"var(--durationNormal)"};transition-timing-function:${Yl};transition-property:margin-inline-start}:host([aria-checked='true']) .checked-indicator{background-color:${"var(--colorNeutralForegroundInverted)"};margin-inline-start:calc(100% - 14px)}:host([aria-checked='true']:hover) .checked-indicator{background:${"var(--colorNeutralForegroundInvertedHover)"}}:host([aria-checked='true']:active) .checked-indicator{background:${"var(--colorNeutralForegroundInvertedPressed)"}}:host(:hover) .checked-indicator{background-color:${"var(--colorNeutralForeground3Hover)"}}:host(:active) .checked-indicator{background-color:${"var(--colorNeutralForeground3Pressed)"}}:host([disabled]) .checked-indicator,:host([readonly]) .checked-indicator{background:${so}}:host([aria-checked='true'][disabled]) .checked-indicator{background:${so}}:host(:focus-visible){border-color:${va};outline:${cl} solid ${va};box-shadow:${Qs},0 0 0 2px ${ya}}`.withBehaviors(yt(j`
420
- .switch{border-color:InactiveBorder}:host([aria-checked='true']) .switch,:host([aria-checked='true']:active) .switch,:host([aria-checked='true']:hover) .switch{background:Highlight;border-color:Highlight}.checked-indicator,:host(:hover) .checked-indicator,:host(:active) .checked-indicator{background-color:ActiveCaption}:host([aria-checked='true']) .checked-indicator,:host([aria-checked='true']:hover) .checked-indicator,:host([aria-checked='true']:active) .checked-indicator{background-color:ButtonFace}`)),Kg=Xg.compose({name:Et.prefix+"-switch",template:Wg,styles:Yg}),Ug={subtle:"subtle",transparent:"transparent"},Qg={small:"small",medium:"medium",large:"large"},Zg=tt;var Jg=Object.defineProperty,ev=Object.getOwnPropertyDescriptor,tv=(e,t,o,r)=>{for(var a,n=r>1?void 0:r?ev(t,o):t,i=e.length-1;i>=0;i--)(a=e[i])&&(n=(r?a(t,o,n):a(n))||n);return r&&n&&Jg(t,o,n),n};class ov extends et{constructor(){super(...arguments),this.orientation=Zg.horizontal,this.prevActiveTabIndex=0,this.activeTabIndex=0,this.change=()=>{this.$emit("change",this.activetab)},this.isDisabledElement=e=>"true"===e.getAttribute("aria-disabled"),this.isHiddenElement=e=>e.hasAttribute("hidden"),this.isFocusableElement=e=>!this.isDisabledElement(e)&&!this.isHiddenElement(e),this.handleTabClick=e=>{const t=e.currentTarget;1===t.nodeType&&this.isFocusableElement(t)&&(this.prevActiveTabIndex=this.activeTabIndex,this.activeTabIndex=this.tabs.indexOf(t),this.setComponent())},this.handleTabKeyDown=e=>{if(this.isHorizontal())switch(e.key){case"ArrowLeft":e.preventDefault(),this.adjustBackward(e);break;case"ArrowRight":e.preventDefault(),this.adjustForward(e)}else switch(e.key){case"ArrowUp":e.preventDefault(),this.adjustBackward(e);break;case"ArrowDown":e.preventDefault(),this.adjustForward(e)}switch(e.key){case"Home":e.preventDefault(),this.adjust(-this.activeTabIndex);break;case"End":e.preventDefault(),this.adjust(this.tabs.length-this.activeTabIndex-1)}}}orientationChanged(){this.$fastController.isConnected&&this.setTabs()}activeidChanged(e,t){this.$fastController.isConnected&&this.tabs.length<=this.tabpanels.length&&(this.prevActiveTabIndex=this.tabs.findIndex(t=>t.id===e),this.setTabs())}tabsChanged(){this.$fastController.isConnected&&this.tabs.length<=this.tabpanels.length&&(this.tabIds=this.getTabIds(),this.tabpanelIds=this.getTabPanelIds(),this.setTabs())}tabpanelsChanged(){this.$fastController.isConnected&&this.tabpanels.length<=this.tabs.length&&(this.tabIds=this.getTabIds(),this.tabpanelIds=this.getTabPanelIds(),this.setTabs())}getActiveIndex(){return void 0!==this.activeid?-1===this.tabIds.indexOf(this.activeid)?0:this.tabIds.indexOf(this.activeid):0}setTabs(){const e=this.isHorizontal()?"gridColumn":"gridRow";this.activeTabIndex=this.getActiveIndex(),this.tabs.forEach((t,o)=>{if("tab"===t.slot){const e=this.activeTabIndex===o&&this.isFocusableElement(t),r=this.tabIds[o],a=this.tabpanelIds[o];t.setAttribute("id",r),t.setAttribute("aria-selected",e?"true":"false"),t.setAttribute("aria-controls",a),t.addEventListener("click",this.handleTabClick),t.addEventListener("keydown",this.handleTabKeyDown),t.setAttribute("tabindex",e?"0":"-1"),e&&(this.activetab=t,this.activeid=r)}t.style.gridColumn="",t.style.gridRow="",t.style[e]=""+(o+1),this.isHorizontal()?t.classList.remove("vertical"):t.classList.add("vertical")}),this.setTabPanels()}setTabPanels(){this.tabpanels.forEach((e,t)=>{const o=this.tabIds[t],r=this.tabpanelIds[t];e.setAttribute("id",r),e.setAttribute("aria-labelledby",o),this.activeTabIndex!==t?e.setAttribute("hidden",""):e.removeAttribute("hidden")})}getTabIds(){return this.tabs.map(e=>{var t;return null!=(t=e.getAttribute("id"))?t:"tab-"+st()})}getTabPanelIds(){return this.tabpanels.map(e=>{var t;return null!=(t=e.getAttribute("id"))?t:"panel-"+st()})}setComponent(){this.activeTabIndex!==this.prevActiveTabIndex&&(this.activeid=this.tabIds[this.activeTabIndex],this.focusTab(),this.change())}isHorizontal(){return this.orientation===Zg.horizontal}adjust(e){const t=this.tabs.filter(e=>this.isFocusableElement(e)),o=t.indexOf(this.activetab),r=nt(0,t.length-1,o+e),a=this.tabs.indexOf(t[r]);a>-1&&this.moveToTabByIndex(this.tabs,a)}adjustForward(e){const t=this.tabs;let o=0;for(o=this.activetab?t.indexOf(this.activetab)+1:1,o===t.length&&(o=0);o<t.length&&t.length>1;){if(this.isFocusableElement(t[o])){this.moveToTabByIndex(t,o);break}if(this.activetab&&o===t.indexOf(this.activetab))break;o+1>=t.length?o=0:o+=1}}adjustBackward(e){const t=this.tabs;let o=0;for(o=this.activetab?t.indexOf(this.activetab)-1:0,o=o<0?t.length-1:o;o>=0&&t.length>1;){if(this.isFocusableElement(t[o])){this.moveToTabByIndex(t,o);break}o-1<0?o=t.length-1:o-=1}}moveToTabByIndex(e,t){const o=e[t];this.activetab=o,this.prevActiveTabIndex=this.activeTabIndex,this.activeTabIndex=t,o.focus(),this.setComponent()}focusTab(){this.tabs[this.activeTabIndex].focus()}connectedCallback(){super.connectedCallback(),this.tabIds=this.getTabIds(),this.tabpanelIds=this.getTabPanelIds(),this.activeTabIndex=this.getActiveIndex()}}tv([Oe],ov.prototype,"orientation",2),tv([Oe],ov.prototype,"activeid",2),tv([B],ov.prototype,"tabs",2),tv([B],ov.prototype,"tabpanels",2);class rv extends ov{constructor(){super(...arguments),this.activeTabData={x:0,y:0,height:0,width:0},this.previousActiveTabData={x:0,y:0,height:0,width:0},this.activeTabOffset=0,this.activeTabScale=1,this.appearance=Ug.transparent}calculateAnimationProperties(e){this.activeTabOffset=this.getTabPosition(e),this.activeTabScale=this.getTabScale(e)}getTabPosition(e){return this.orientation===Zg.horizontal?this.previousActiveTabData.x-(e.getBoundingClientRect().x-this.getBoundingClientRect().x):this.previousActiveTabData.y-(e.getBoundingClientRect().y-this.getBoundingClientRect().y)}getTabScale(e){return this.orientation===Zg.horizontal?this.previousActiveTabData.width/e.getBoundingClientRect().width:this.previousActiveTabData.height/e.getBoundingClientRect().height}applyUpdatedCSSValues(e){this.calculateAnimationProperties(e),this.setTabScaleCSSVar(),this.setTabOffsetCSSVar()}animationLoop(e){e.setAttribute("data-animate","false"),this.applyUpdatedCSSValues(e),this.previousActiveTabData=this.activeTabData,this.applyUpdatedCSSValues(e),e.setAttribute("data-animate","true")}setTabData(){var e,t,o,r;if(this.tabs&&this.tabs.length>0){const a=this.tabs,n=this.activetab||a[0],i=null==n?void 0:n.getBoundingClientRect(),s=this.getBoundingClientRect();this.activeTabData={x:i.x-s.x,y:i.y-s.y,height:i.height,width:i.width},(null==(e=this.previousActiveTabData)?void 0:e.x)!==(null==(t=this.activeTabData)?void 0:t.x)&&(null==(o=this.previousActiveTabData)?void 0:o.y)!==(null==(r=this.activeTabData)?void 0:r.y)&&(this.previousActiveTabData=this.activeTabData)}}setTabOffsetCSSVar(){this.styles=j`
421
- :host{--tabIndicatorOffset:${this.activeTabOffset.toString()}px}`,this.$fastController.addStyles(this.styles)}setTabScaleCSSVar(){this.styles=j`
422
- :host{--tabIndicatorScale:${this.activeTabScale.toString()}}`,this.$fastController.addStyles(this.styles)}activeidChanged(e,t){super.activeidChanged(e,t),this.setTabData(),this.activetab&&this.animationLoop(this.activetab)}tabsChanged(){super.tabsChanged(),this.setTabData()}}tv([Oe],rv.prototype,"appearance",2),tv([Oe({mode:"boolean"})],rv.prototype,"disabled",2),tv([Oe],rv.prototype,"size",2),Pt(rv,$t);const av=function(e={}){return ye` ${wt(e)}<div class="tablist" part="tablist" role="tablist"><slot name="tab" ${Ne("tabs")}></slot></div>${Bt(e)}<div class="tabpanel" part="tabpanel"><slot name="tabpanel" ${Ne("tabpanels")}></slot></div>`}({}),nv=j`
423
- ${bt("grid")}
424
-
425
- :host{box-sizing:border-box;font-family:${Bs};font-size:${Cs};line-height:${Vs};color:${qt};grid-template-columns:auto 1fr auto;grid-template-rows:auto 1fr}:host([disabled]){cursor:not-allowed;color:${so}}:host([disabled]) ::slotted(fluent-tab){pointer-events:none;cursor:not-allowed;color:${so}}:host([disabled]) ::slotted(fluent-tab:after){background-color:${so}}:host([disabled]) ::slotted(fluent-tab[aria-selected='true'])::after{background-color:${so}}:host([disabled]) ::slotted(fluent-tab:hover):before{content:unset}:host ::slotted(fluent-tab){border-radius:${ys}}:host ::slotted(fluent-tab[aria-selected='true'])::before{background-color:${so}}.tablist{display:grid;grid-template-rows:auto auto;grid-template-columns:auto;position:relative;width:max-content;align-self:end;box-sizing:border-box}::slotted([slot='start']),::slotted([slot='end']){display:flex;align-self:center}::slotted([slot='start']){margin-inline-end:11px}::slotted([slot='end']){margin-inline-start:11px}.tabpanel{grid-row:2;grid-column-start:1;grid-column-end:4;position:relative}:host([orientation='vertical']){grid-template-rows:auto 1fr auto;grid-template-columns:auto 1fr}:host([orientation='vertical']) .tablist{grid-row-start:2;grid-row-end:2;display:grid;grid-template-rows:auto;grid-template-columns:auto 1fr;position:relative;width:max-content;justify-self:end;align-self:flex-start;width:100%}:host([orientation='vertical']) .tabpanel{grid-column:2;grid-row-start:1;grid-row-end:4}:host([orientation='vertical']) ::slotted([slot='end']){grid-row:3}:host([appearance='subtle']) ::slotted(fluent-tab:hover){background-color:${"var(--colorSubtleBackgroundHover)"};color:${"var(--colorNeutralForeground1Hover)"};fill:${"var(--colorCompoundBrandForeground1Hover)"}}:host([appearance='subtle']) ::slotted(fluent-tab:active){background-color:${"var(--colorSubtleBackgroundPressed)"};fill:${"var(--colorSubtleBackgroundPressed)"};color:${Vt}}:host([size='small']) ::slotted(fluent-tab){font-size:${Cs};line-height:${Vs};padding:${Sl} ${vl}}:host([size='large']) ::slotted(fluent-tab){font-size:${Ns};line-height:${_s};padding:${"var(--spacingVerticalL)"} ${ml}}:host ::slotted(fluent-tab[data-animate='true'])::after{transition-property:transform;transition-duration:${"var(--durationSlow)"};transition-timing-function:${"var(--curveDecelerateMax)"}}:host ::slotted(fluent-tab)::after{height:${dl};margin-top:auto;transform-origin:left;transform:translateX(var(--tabIndicatorOffset)) scaleX(var(--tabIndicatorScale))}:host([orientation='vertical']) ::slotted(fluent-tab)::after{width:${dl};height:unset;margin-top:unset;transform-origin:top;transform:translateY(var(--tabIndicatorOffset)) scaleY(var(--tabIndicatorScale))}:host ::slotted(fluent-tab)::before{height:${dl};border-radius:${$s};content:'';inset:0;position:absolute;margin-top:auto}:host([orientation='vertical']) ::slotted(fluent-tab)::before{height:unset;width:${dl};margin-inline-end:auto;transform-origin:top}:host ::slotted(fluent-tab[aria-selected='false']:hover)::after{height:${dl};margin-top:auto;transform-origin:left}:host([orientation='vertical']) ::slotted(fluent-tab[aria-selected='false']:hover)::after{height:unset;margin-inline-end:auto;transform-origin:top;width:${dl}}:host([orientation='vertical']) ::slotted(fluent-tab){align-items:flex-start;grid-column:2;padding-top:${Sl};padding-bottom:${Sl}}:host([orientation='vertical'][size='small']) ::slotted(fluent-tab){padding-top:${"var(--spacingVerticalXXS)"};padding-bottom:${"var(--spacingVerticalXXS)"}}:host([orientation='vertical'][size='large']) ::slotted(fluent-tab){padding-top:${Fl};padding-bottom:${Fl}}:host([size='small']) ::slotted(fluent-tab)::after,:host([size='small']) ::slotted(fluent-tab)::before,:host([size='small']) ::slotted(fluent-tab:hover)::after{right:${vl};left:${vl}}:host ::slotted(fluent-tab)::after,:host ::slotted(fluent-tab)::before,:host ::slotted(fluent-tab:hover)::after{right:${ml};left:${ml}}:host([size='large']) ::slotted(fluent-tab)::after,:host([size='large']) ::slotted(fluent-tab)::before,:host([size='large']) ::slotted(fluent-tab:hover)::after{right:${ml};left:${ml}}:host([orientation='vertical'][size='small']) ::slotted(fluent-tab)::after,:host([orientation='vertical'][size='small']) ::slotted(fluent-tab)::before,:host([orientation='vertical'][size='small']) ::slotted(fluent-tab:hover)::after{right:0;left:0;top:${Sl};bottom:${Sl}}:host([orientation='vertical']) ::slotted(fluent-tab)::after,:host([orientation='vertical']) ::slotted(fluent-tab)::before,:host([orientation='vertical']) ::slotted(fluent-tab:hover)::after{right:0;left:0;top:${Fl};bottom:${Fl}}:host([orientation='vertical'][size='large']) ::slotted(fluent-tab)::after,:host([orientation='vertical'][size='large']) ::slotted(fluent-tab)::before,:host([orientation='vertical'][size='large']) ::slotted(fluent-tab:hover)::after{right:0;left:0;top:${"var(--spacingVerticalMNudge)"};bottom:${"var(--spacingVerticalMNudge)"}}`,iv=rv.compose({name:Et.prefix+"-tabs",template:av,styles:nv});var sv=Object.defineProperty,lv=Object.getOwnPropertyDescriptor;class cv extends et{connectedCallback(){super.connectedCallback(),void 0!==this.styles&&this.$fastController.removeStyles(this.styles),this.styles=j`
426
- :host{--textContent:'${this.textContent}'}`,this.$fastController.addStyles(this.styles)}}((e,t,o,r)=>{for(var a,n=r>1?void 0:r?lv(t,o):t,i=e.length-1;i>=0;i--)(a=e[i])&&(n=(r?a(t,o,n):a(n))||n);r&&n&&sv(t,o,n)})([Oe({mode:"boolean"})],cv.prototype,"disabled",2),Pt(cv,$t);const dv=function(e={}){return ye`<template slot="tab" role="tab" aria-disabled="${e=>e.disabled}">${wt(e)}<span class="tab-content"><slot></slot></span>${Bt(e)}</template>`}({}),uv=j`
427
- ${bt("inline-flex")}
428
-
429
- :host{position:relative;flex-direction:column;cursor:pointer;box-sizing:border-box;justify-content:center;line-height:${Vs};font-family:${Bs};font-size:${Cs};color:${qt};fill:currentcolor;grid-row:1;padding:${fl} ${ml};border-radius:${ys}}:host .tab-content{display:inline-flex;flex-direction:column;padding:0 2px}:host([aria-selected='true']){color:${Vt};font-weight:${Es}}:host .tab-content::after{content:var(--textContent);visibility:hidden;height:0;line-height:${Vs};font-weight:${Es}}:host([aria-selected='true'])::after{background-color:${"var(--colorCompoundBrandStroke)"};border-radius:${$s};content:'';inset:0;position:absolute;z-index:2}:host([aria-selected='false']:hover)::after{background-color:${Zr};border-radius:${$s};content:'';inset:0;position:absolute;z-index:1}:host([aria-selected='true'][disabled])::after{background-color:${so}}::slotted([slot='start']),::slotted([slot='end']){display:flex}::slotted([slot='start']){margin-inline-end:11px}::slotted([slot='end']){margin-inline-start:11px}:host([disabled]){cursor:not-allowed;fill:${so};color:${so}}:host([disabled]:hover)::after{background-color:unset}:host(:focus){outline:none}:host(:focus-visible){border-radius:${fs};box-shadow:0 0 0 3px ${ya};outline:1px solid ${fa}}`.withBehaviors(yt(j`
430
- :host([aria-selected='true'])::after{background-color:Highlight}`)),hv=cv.compose({name:Et.prefix+"-tab",template:dv,styles:uv});class pv extends et{}const gv=ye`<template slot="tabpanel" role="tabpanel"><slot></slot></template>`,vv=j`
431
- ${bt("block")}
432
-
433
- :host{box-sizing:border-box;padding:${fl} ${ml}}`,bv=pv.compose({name:Et.prefix+"-tab-panel",template:gv,styles:vv});var mv=Object.defineProperty,fv=Object.getOwnPropertyDescriptor,yv=(e,t,o,r)=>{for(var a,n=r>1?void 0:r?fv(t,o):t,i=e.length-1;i>=0;i--)(a=e[i])&&(n=(r?a(t,o,n):a(n))||n);return r&&n&&mv(t,o,n),n};class kv extends et{constructor(){super(...arguments),this.nowrap=!1,this.truncate=!1,this.italic=!1,this.underline=!1,this.strikethrough=!1,this.block=!1}}yv([Oe({mode:"boolean"})],kv.prototype,"nowrap",2),yv([Oe({mode:"boolean"})],kv.prototype,"truncate",2),yv([Oe({mode:"boolean"})],kv.prototype,"italic",2),yv([Oe({mode:"boolean"})],kv.prototype,"underline",2),yv([Oe({mode:"boolean"})],kv.prototype,"strikethrough",2),yv([Oe({mode:"boolean"})],kv.prototype,"block",2),yv([Oe],kv.prototype,"size",2),yv([Oe],kv.prototype,"font",2),yv([Oe],kv.prototype,"weight",2),yv([Oe],kv.prototype,"align",2);const xv={_100:"100",_200:"200",_300:"300",_400:"400",_500:"500",_600:"600",_700:"700",_800:"800",_900:"900",_1000:"1000"},$v={base:"base",numeric:"numeric",monospace:"monospace"},Bv={medium:"medium",regular:"regular",semibold:"semibold",bold:"bold"},wv={start:"start",end:"end",center:"center",justify:"justify"},Pv=ye`<slot></slot>`,Sv=j`
434
- ${bt("inline")}
435
-
436
- :host{contain:content}::slotted(*){font-family:${Bs};font-size:${Cs};line-height:${Vs};font-weight:${Hs};text-align:start;white-space:normal;overflow:visible;text-overflow:clip;margin:0;display:inline}:host([nowrap]) ::slotted(*){white-space:nowrap;overflow:hidden}:host([truncate]) ::slotted(*){text-overflow:ellipsis}:host([block]),:host([block]) ::slotted(*){display:block}:host([italic]) ::slotted(*){font-style:italic}:host([underline]) ::slotted(*){text-decoration-line:underline}:host([strikethrough]) ::slotted(*){text-decoration-line:line-through}:host([underline][strikethrough]) ::slotted(*){text-decoration-line:line-through underline}:host([size='100']) ::slotted(*){font-size:${Ss};line-height:${Rs}}:host([size='200']) ::slotted(*){font-size:${Fs};line-height:${js}}:host([size='400']) ::slotted(*){font-size:${Ns};line-height:${_s}}:host([size='500']) ::slotted(*){font-size:${Is};line-height:${Gs}}:host([size='600']) ::slotted(*){font-size:${As};line-height:${"var(--lineHeightBase600)"}}:host([size='700']) ::slotted(*){font-size:${"var(--fontSizeHero700)"};line-height:${"var(--lineHeightHero700)"}}:host([size='800']) ::slotted(*){font-size:${"var(--fontSizeHero800)"};line-height:${"var(--lineHeightHero800)"}}:host([size='900']) ::slotted(*){font-size:${"var(--fontSizeHero900)"};line-height:${"var(--lineHeightHero900)"}}:host([size='1000']) ::slotted(*){font-size:${"var(--fontSizeHero1000)"};line-height:${"var(--lineHeightHero1000)"}}:host([font='monospace']) ::slotted(*){font-family:${"var(--fontFamilyMonospace)"}}:host([font='numeric']) ::slotted(*){font-family:${"var(--fontFamilyNumeric)"}}:host([weight='medium']) ::slotted(*){font-weight:${"var(--fontWeightMedium)"}}:host([weight='semibold']) ::slotted(*){font-weight:${Es}}:host([weight='bold']) ::slotted(*){font-weight:${Ms}}:host([align='center']) ::slotted(*){text-align:center}:host([align='end']) ::slotted(*){text-align:end}:host([align='justify']) ::slotted(*){text-align:justify}`,Fv=kv.compose({name:Et.prefix+"-text",template:Pv,styles:Sv}),Cv={small:"small",medium:"medium",large:"large"},Nv={outline:"outline",underline:"underline",filledLighter:"filled-lighter",filledDarker:"filled-darker"},Iv={email:"email",password:"password",tel:"tel",text:"text",url:"url"};class Av extends et{}class Tv extends(Ld(Av)){constructor(){super(...arguments),this.proxy=document.createElement("input")}}var zv=Object.defineProperty,Lv=Object.getOwnPropertyDescriptor,Ov=(e,t,o,r)=>{for(var a,n=r>1?void 0:r?Lv(t,o):t,i=e.length-1;i>=0;i--)(a=e[i])&&(n=(r?a(t,o,n):a(n))||n);return r&&n&&zv(t,o,n),n};class Hv extends Tv{constructor(){super(...arguments),this.type=Iv.text}readOnlyChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.readOnly=this.readOnly,this.validate())}autofocusChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.autofocus=this.autofocus,this.validate())}placeholderChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.placeholder=this.placeholder)}typeChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.type=this.type,this.validate())}listChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.setAttribute("list",this.list),this.validate())}maxlengthChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.maxLength=this.maxlength,this.validate())}minlengthChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.minLength=this.minlength,this.validate())}patternChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.pattern=this.pattern,this.validate())}sizeChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.size=this.size)}spellcheckChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.spellcheck=this.spellcheck)}connectedCallback(){super.connectedCallback(),this.proxy.setAttribute("type",this.type),this.validate(),this.autofocus&&f.enqueue(()=>{this.focus()})}select(){this.control.select(),this.$emit("select")}handleTextInput(){this.value=this.control.value}handleChange(){this.$emit("change")}validate(){super.validate(this.control)}}Ov([Oe({attribute:"control-size"})],Hv.prototype,"controlSize",2),Ov([Oe],Hv.prototype,"appearance",2),Ov([Oe({attribute:"readonly",mode:"boolean"})],Hv.prototype,"readOnly",2),Ov([Oe({mode:"boolean"})],Hv.prototype,"autofocus",2),Ov([Oe],Hv.prototype,"placeholder",2),Ov([Oe],Hv.prototype,"type",2),Ov([Oe],Hv.prototype,"list",2),Ov([Oe({converter:ze})],Hv.prototype,"maxlength",2),Ov([Oe({converter:ze})],Hv.prototype,"minlength",2),Ov([Oe],Hv.prototype,"pattern",2),Ov([Oe({converter:ze})],Hv.prototype,"size",2),Ov([Oe({mode:"boolean"})],Hv.prototype,"spellcheck",2),Ov([B],Hv.prototype,"defaultSlottedNodes",2);class Dv{}Pt(Dv,ut),Pt(Hv,$t,Dv);const Ev=function(e={}){return ye`<label part="label" for="control" class="${e=>e.defaultSlottedNodes&&e.defaultSlottedNodes.length?"label":"label label__hidden"}"><slot ${Ne({property:"defaultSlottedNodes",filter:gt})}></slot></label><div class="root" part="root">${wt(e)}<input class="control" part="control" id="control" @input="${e=>e.handleTextInput()}" @change="${e=>e.handleChange()}" ?autofocus="${e=>e.autofocus}" ?disabled="${e=>e.disabled}" list="${e=>e.list}" maxlength="${e=>e.maxlength}" name="${e=>e.name}" minlength="${e=>e.minlength}" pattern="${e=>e.pattern}" placeholder="${e=>e.placeholder}" ?readonly="${e=>e.readOnly}" ?required="${e=>e.required}" size="${e=>e.size}" ?spellcheck="${e=>e.spellcheck}" :value="${e=>e.value}" type="${e=>e.type}" aria-atomic="${e=>e.ariaAtomic}" aria-busy="${e=>e.ariaBusy}" aria-controls="${e=>e.ariaControls}" aria-current="${e=>e.ariaCurrent}" aria-describedby="${e=>e.ariaDescribedby}" aria-details="${e=>e.ariaDetails}" aria-disabled="${e=>e.ariaDisabled}" aria-errormessage="${e=>e.ariaErrormessage}" aria-flowto="${e=>e.ariaFlowto}" aria-haspopup="${e=>e.ariaHaspopup}" aria-hidden="${e=>e.ariaHidden}" aria-invalid="${e=>e.ariaInvalid}" aria-keyshortcuts="${e=>e.ariaKeyshortcuts}" aria-label="${e=>e.ariaLabel}" aria-labelledby="${e=>e.ariaLabelledby}" aria-live="${e=>e.ariaLive}" aria-owns="${e=>e.ariaOwns}" aria-relevant="${e=>e.ariaRelevant}" aria-roledescription="${e=>e.ariaRoledescription}" ${xe("control")} />${Bt(e)}</div>`}(),Mv=j`
437
- ${bt("block")}
438
-
439
- :host{font-family:${Bs};font-size:${Cs};font-weight:${Hs};line-height:${Vs};max-width:400px}.label{display:flex;color:${Vt};padding-bottom:${"var(--spacingVerticalXS)"};flex-shrink:0;padding-inline-end:${gl}}.label__hidden{display:none}.root{position:relative;box-sizing:border-box;height:32px;display:inline-flex;align-items:center;flex-direction:row;width:100%;padding:0 ${ml};border:${ll} solid ${Qr};border-bottom-color:${Wr};border-radius:${ys};gap:${pl}}.root::after{box-sizing:border-box;content:'';position:absolute;left:-1px;bottom:0px;right:-1px;height:max(2px,${ys});border-radius:0 0 ${ys} ${ys};border-bottom:2px solid ${"var(--colorCompoundBrandStroke)"};clip-path:inset(calc(100% - 2px) 1px 0px);transform:scaleX(0);transition-property:transform;transition-duration:${"var(--durationUltraFast)"};transition-delay:${"var(--curveAccelerateMid)"}}.control{width:100%;height:100%;box-sizing:border-box;color:${Vt};border-radius:${ys};background:${$r};font-family:${Bs};font-weight:${Hs};font-size:${Cs};border:none;background:transparent;vertical-align:center}.control:focus-visible{outline:0;border:0}.control::placeholder{color:${"var(--colorNeutralForeground4)"}}:host ::slotted([slot='start']),:host ::slotted([slot='end']){display:flex;align-items:center;justify-content:center;color:${Jt};font-size:${Is}}:host ::slotted([slot='start']){padding-right:${pl}}:host ::slotted([slot='end']){padding-left:${pl};gap:${gl}}:host(:hover) .root{border-color:${Zr};border-bottom-color:${"var(--colorNeutralStrokeAccessibleHover)"}}:host(:active) .root{border-color:${"var(--colorNeutralStroke1Pressed)"}}:host(:focus-within) .root{outline:transparent solid 2px;border-bottom:0}:host(:focus-within) .root::after{transform:scaleX(1);transition-property:transform;transition-duration:${"var(--durationNormal)"};transition-delay:${"var(--curveDecelerateMid)"}}:host(:focus-within:active) .root:after{border-bottom-color:${"var(--colorCompoundBrandStrokePressed)"}}:host([appearance='outline']:focus-within) .root{border:${ll} solid ${Qr}}:host(:focus-within) .control{color:${Vt}}:host([disabled]) .root{background:${$r};border:${ll} solid ${pa}}:host([disabled]) .control::placeholder,:host([disabled]) ::slotted([slot='start']),:host([disabled]) ::slotted([slot='end']){color:${so}}::selection{color:${"var(--colorNeutralForegroundInverted)"};background-color:${"var(--colorNeutralBackgroundInverted)"}}:host([control-size='small']) .control{font-size:${Fs};font-weight:${Hs};line-height:${js}}:host([control-size='small']) .root{height:24px;gap:${pl};padding:0 ${vl}}:host([control-size='small']) ::slotted([slot='start']),:host([control-size='small']) ::slotted([slot='end']){font-size:${Ns}}:host([control-size='large']) .control{font-size:${Ns};font-weight:${Hs};line-height:${_s}}:host([control-size='large']) .root{height:40px;gap:${bl};padding:0 ${fl}}:host([control-size='large']) ::slotted([slot='start']),:host([control-size='large']) ::slotted([slot='end']){font-size:${As}}:host([appearance='underline']) .root{background:${$r};border:0;border-radius:0;border-bottom:${ll} solid ${Wr}}:host([appearance='underline']:hover) .root{border-bottom-color:${"var(--colorNeutralStrokeAccessibleHover)"}}:host([appearance='underline']:active) .root{border-bottom-color:${"var(--colorNeutralStrokeAccessiblePressed)"}}:host([appearance='underline']:focus-within) .root{border:0;border-bottom-color:${"var(--colorNeutralStrokeAccessiblePressed)"}}:host([appearance='underline'][disabled]) .root{border-bottom-color:${pa}}:host([appearance='filled-lighter']) .root,:host([appearance='filled-darker']) .root{border:${ll} solid ${va};box-shadow:${Us}}:host([appearance='filled-lighter']) .root{background:${Vo}}:host([appearance='filled-darker']) .root{background:${"var(--colorNeutralBackground3)"}}:host([appearance='filled-lighter']:hover) .root,:host([appearance='filled-darker']:hover) .root{border-color:${"var(--colorTransparentStrokeInteractive)"}}:host([appearance='filled-lighter']:active) .root,:host([appearance='filled-darker']:active) .root{border-color:${"var(--colorTransparentStrokeInteractive)"};background:${"var(--colorNeutralBackground3)"}}`,Rv=Hv.compose({name:Et.prefix+"-text-input",template:Ev,styles:Mv});var jv=Object.defineProperty,Vv=Object.getOwnPropertyDescriptor,_v=(e,t,o,r)=>{for(var a,n=r>1?void 0:r?Vv(t,o):t,i=e.length-1;i>=0;i--)(a=e[i])&&(n=(r?a(t,o,n):a(n))||n);return r&&n&&jv(t,o,n),n};class Gv extends Fd{pressedChanged(){this.setPressedState()}mixedChanged(){this.setPressedState()}press(){this.pressed=!this.pressed}connectedCallback(){super.connectedCallback(),this.setPressedState()}setPressedState(){if(this.$fastController.isConnected){const e=""+(this.mixed?"mixed":!!this.pressed);this.elementInternals.ariaPressed=e,this.setAttribute("aria-pressed",e)}}}_v([Oe({mode:"boolean"})],Gv.prototype,"pressed",2),_v([Oe({mode:"boolean"})],Gv.prototype,"mixed",2);const Xv=nc,qv=ic,Wv=sc,Yv=Cd(),Kv=j`
440
- ${Id}
441
-
442
- :host([aria-pressed='true']){border-color:${Qr};background-color:${"var(--colorNeutralBackground1Selected)"};color:${Vt};border-width:${ll}}:host([aria-pressed='true']:hover){border-color:${Zr};background-color:${"var(--colorNeutralBackground1Hover)"}}:host([aria-pressed='true']:active){border-color:${"var(--colorNeutralStroke1Pressed)"};background-color:${"var(--colorNeutralBackground1Pressed)"}}:host([aria-pressed='true'][appearance='primary']){border-color:transparent;background-color:${"var(--colorBrandBackgroundSelected)"};color:${ko}}:host([aria-pressed='true'][appearance='primary']:hover){background-color:${"var(--colorBrandBackgroundHover)"}}:host([aria-pressed='true'][appearance='primary']:active){background-color:${"var(--colorBrandBackgroundPressed)"}}:host([aria-pressed='true'][appearance='subtle']){border-color:transparent;background-color:${"var(--colorSubtleBackgroundSelected)"};color:${"var(--colorNeutralForeground2Selected)"}}:host([aria-pressed='true'][appearance='subtle']:hover){background-color:${"var(--colorSubtleBackgroundHover)"};color:${"var(--colorNeutralForeground2Hover)"}}:host([aria-pressed='true'][appearance='subtle']:active){background-color:${"var(--colorSubtleBackgroundPressed)"};color:${"var(--colorNeutralForeground2Pressed)"}}:host([aria-pressed='true'][appearance='outline']),:host([aria-pressed='true'][appearance='transparent']){background-color:${"var(--colorTransparentBackgroundSelected)"}}:host([aria-pressed='true'][appearance='outline']:hover),:host([aria-pressed='true'][appearance='transparent']:hover){background-color:${"var(--colorTransparentBackgroundHover)"}}:host([aria-pressed='true'][appearance='outline']:active),:host([aria-pressed='true'][appearance='transparent']:active){background-color:${"var(--colorTransparentBackgroundPressed)"}}:host([aria-pressed='true'][appearance='transparent']){border-color:transparent;color:${"var(--colorNeutralForeground2BrandSelected)"}}:host([aria-pressed='true'][appearance='transparent']:hover){color:${"var(--colorNeutralForeground2BrandHover)"}}:host([aria-pressed='true'][appearance='transparent']:active){color:${"var(--colorNeutralForeground2BrandPressed)"}}`.withBehaviors(yt(j`
443
- :host([aria-pressed='true']),:host([aria-pressed='true'][appearance='primary']),:host([aria-pressed='true'][appearance='subtle']),:host([aria-pressed='true'][appearance='outline']),:host([aria-pressed='true'][appearance='transparent']){background:SelectedItem;color:SelectedItemText}`)),Uv=Gv.compose({name:Et.prefix+"-toggle-button",template:Yv,styles:Kv}),Qv=Object.keys(Ul),Zv=e=>{for(const t of Qv)document.body.style.setProperty("--"+t,e[t])},Jv=(e,t)=>{for(const o of Qv)e.style.setProperty("--"+o,t[o])};export{Ot as Accordion,Nt as AccordionItem,jt as AccordionItemExpandIconPosition,Rt as AccordionItemSize,rc as AnchorButton,dc as AnchorButtonAppearance,bc as AnchorButtonDefinition,uc as AnchorButtonShape,hc as AnchorButtonSize,gc as AnchorButtonTemplate,pc as AnchorTarget,zc as Avatar,Bc as AvatarActive,Pc as AvatarAppearance,Fc as AvatarColor,jc as AvatarDefinition,Sc as AvatarNamedColor,wc as AvatarShape,Cc as AvatarSize,Rc as AvatarStyles,Hc as AvatarTemplate,Kc as Badge,Vc as BadgeAppearance,_c as BadgeColor,Bd as BadgeDefinition,Gc as BadgeShape,Xc as BadgeSize,$d as BadgeStyles,Qc as BadgeTemplate,ov as BaseTabs,Fd as Button,nc as ButtonAppearance,Ad as ButtonDefinition,cc as ButtonFormTarget,ic as ButtonShape,sc as ButtonSize,Id as ButtonStyles,Nd as ButtonTemplate,lc as ButtonType,jd as Checkbox,Wd as CheckboxDefinition,Gd as CheckboxLabelPosition,Vd as CheckboxShape,_d as CheckboxSize,qd as CheckboxStyles,Xd as CheckboxTemplate,Yd as CompoundButton,Kd as CompoundButtonAppearance,eu as CompoundButtonDefinition,Ud as CompoundButtonShape,Qd as CompoundButtonSize,Jd as CompoundButtonStyles,Zd as CompoundButtonTemplate,au as CounterBadge,nu as CounterBadgeAppearance,iu as CounterBadgeColor,uu as CounterBadgeDefinition,su as CounterBadgeShape,lu as CounterBadgeSize,du as CounterBadgeStyles,cu as CounterBadgeTemplate,ac as DelegatesARIALink,Dv as DelegatesARIATextbox,Iu as Dialog,Lu as DialogDefinition,zu as DialogStyles,Tu as DialogTemplate,Vu as Divider,Du as DividerAlignContent,Eu as DividerAppearance,Xu as DividerDefinition,Hu as DividerOrientation,Ou as DividerRole,Gu as DividerStyles,_u as DividerTemplate,Et as FluentDesignSystem,Ku as Image,eh as ImageDefinition,Uu as ImageFit,Qu as ImageShape,Ju as ImageStyles,Zu as ImageTemplate,ah as Label,sh as LabelDefinition,nh as LabelStyles,ih as LabelTemplate,mt as MatchMediaBehavior,ft as MatchMediaStyleSheetBehavior,pp as Menu,mp as MenuButton,fp as MenuButtonAppearance,$p as MenuButtonDefinition,yp as MenuButtonShape,kp as MenuButtonSize,Id as MenuButtonStyles,xp as MenuButtonTemplate,bp as MenuDefinition,Cp as MenuItem,Tp as MenuItemDefinition,Bp as MenuItemRole,Ap as MenuItemStyles,Ip as MenuItemTemplate,Hp as MenuList,Mp as MenuListDefinition,Ep as MenuListStyles,Dp as MenuListTemplate,vp as MenuStyles,gp as MenuTemplate,Wp as ProgressBar,Jp as ProgressBarDefinition,Kp as ProgressBarShape,Qp as ProgressBarStyles,Zp as ProgressBarTemplate,Yp as ProgressBarThickness,Up as ProgressBarValidationState,ng as Radio,lg as RadioDefinition,pg as RadioGroup,bg as RadioGroupDefinition,gg as RadioGroupStyles,vg as RadioGroupTemplate,ig as RadioStyles,sg as RadioTemplate,Sg as Slider,Ng as SliderDefinition,yg as SliderMode,fg as SliderOrientation,mg as SliderSize,Fg as SliderStyles,Cg as SliderTemplate,Lg as Spinner,Og as SpinnerAppearance,Mg as SpinnerDefinition,Hg as SpinnerSize,Eg as SpinnerStyles,Dg as SpinnerTemplate,Xg as Switch,Kg as SwitchDefinition,qg as SwitchLabelPosition,Yg as SwitchStyles,Wg as SwitchTemplate,cv as Tab,hv as TabDefinition,pv as TabPanel,bv as TabPanelDefinition,vv as TabPanelStyles,gv as TabPanelTemplate,uv as TabStyles,dv as TabTemplate,rv as Tabs,Ug as TabsAppearance,iv as TabsDefinition,Zg as TabsOrientation,Qg as TabsSize,nv as TabsStyles,av as TabsTemplate,kv as Text,wv as TextAlign,Fv as TextDefinition,Iv as TextFieldType,$v as TextFont,Hv as TextInput,Nv as TextInputAppearance,Cv as TextInputControlSize,Rv as TextInputDefinition,Mv as TextInputStyles,Ev as TextInputTemplate,xv as TextSize,Sv as TextStyles,Pv as TextTemplate,Bv as TextWeight,Gv as ToggleButton,Xv as ToggleButtonAppearance,Uv as ToggleButtonDefinition,qv as ToggleButtonShape,Wv as ToggleButtonSize,Kv as ToggleButtonStyles,Yv as ToggleButtonTemplate,Mt as accordionDefinition,Jl as accordionItemDefinition,Ql as accordionItemStyles,Zl as accordionItemTemplate,Dt as accordionStyles,Ht as accordionTemplate,$s as borderRadiusCircular,ks as borderRadiusLarge,ys as borderRadiusMedium,ms as borderRadiusNone,fs as borderRadiusSmall,xs as borderRadiusXLarge,Tr as colorBackgroundOverlay,Lr as colorBrandBackground,Vr as colorBrandBackground2,Or as colorBrandBackgroundHover,_r as colorBrandBackgroundInverted,Gr as colorBrandBackgroundInvertedHover,Xr as colorBrandBackgroundInvertedPressed,qr as colorBrandBackgroundInvertedSelected,Hr as colorBrandBackgroundPressed,Dr as colorBrandBackgroundSelected,jr as colorBrandBackgroundStatic,To as colorBrandForeground1,zo as colorBrandForeground2,Oo as colorBrandForegroundInverted,Ho as colorBrandForegroundInvertedHover,Do as colorBrandForegroundInvertedPressed,lo as colorBrandForegroundLink,co as colorBrandForegroundLinkHover,uo as colorBrandForegroundLinkPressed,ho as colorBrandForegroundLinkSelected,Eo as colorBrandForegroundOnLight,Mo as colorBrandForegroundOnLightHover,Ro as colorBrandForegroundOnLightPressed,jo as colorBrandForegroundOnLightSelected,Sa as colorBrandShadowAmbient,Fa as colorBrandShadowKey,la as colorBrandStroke1,ca as colorBrandStroke2,Er as colorCompoundBrandBackground,Mr as colorCompoundBrandBackgroundHover,Rr as colorCompoundBrandBackgroundPressed,mo as colorCompoundBrandForeground1,fo as colorCompoundBrandForeground1Hover,yo as colorCompoundBrandForeground1Pressed,da as colorCompoundBrandStroke,ua as colorCompoundBrandStrokeHover,ha as colorCompoundBrandStrokePressed,Vo as colorNeutralBackground1,_o as colorNeutralBackground1Hover,Go as colorNeutralBackground1Pressed,Xo as colorNeutralBackground1Selected,qo as colorNeutralBackground2,Wo as colorNeutralBackground2Hover,Yo as colorNeutralBackground2Pressed,Ko as colorNeutralBackground2Selected,Uo as colorNeutralBackground3,Qo as colorNeutralBackground3Hover,Zo as colorNeutralBackground3Pressed,Jo as colorNeutralBackground3Selected,er as colorNeutralBackground4,tr as colorNeutralBackground4Hover,or as colorNeutralBackground4Pressed,rr as colorNeutralBackground4Selected,ar as colorNeutralBackground5,nr as colorNeutralBackground5Hover,ir as colorNeutralBackground5Pressed,sr as colorNeutralBackground5Selected,lr as colorNeutralBackground6,Sr as colorNeutralBackgroundDisabled,dr as colorNeutralBackgroundInverted,Fr as colorNeutralBackgroundInvertedDisabled,cr as colorNeutralBackgroundStatic,Vt as colorNeutralForeground1,_t as colorNeutralForeground1Hover,Gt as colorNeutralForeground1Pressed,Xt as colorNeutralForeground1Selected,Lo as colorNeutralForeground1Static,qt as colorNeutralForeground2,Ut as colorNeutralForeground2BrandHover,Qt as colorNeutralForeground2BrandPressed,Zt as colorNeutralForeground2BrandSelected,Wt as colorNeutralForeground2Hover,po as colorNeutralForeground2Link,go as colorNeutralForeground2LinkHover,vo as colorNeutralForeground2LinkPressed,bo as colorNeutralForeground2LinkSelected,Yt as colorNeutralForeground2Pressed,Kt as colorNeutralForeground2Selected,Jt as colorNeutralForeground3,ro as colorNeutralForeground3BrandHover,ao as colorNeutralForeground3BrandPressed,no as colorNeutralForeground3BrandSelected,eo as colorNeutralForeground3Hover,to as colorNeutralForeground3Pressed,oo as colorNeutralForeground3Selected,io as colorNeutralForeground4,so as colorNeutralForegroundDisabled,xo as colorNeutralForegroundInverted,Po as colorNeutralForegroundInverted2,Ao as colorNeutralForegroundInvertedDisabled,$o as colorNeutralForegroundInvertedHover,Fo as colorNeutralForegroundInvertedLink,Co as colorNeutralForegroundInvertedLinkHover,No as colorNeutralForegroundInvertedLinkPressed,Io as colorNeutralForegroundInvertedLinkSelected,Bo as colorNeutralForegroundInvertedPressed,wo as colorNeutralForegroundInvertedSelected,ko as colorNeutralForegroundOnBrand,So as colorNeutralForegroundStaticInverted,ka as colorNeutralShadowAmbient,wa as colorNeutralShadowAmbientDarker,$a as colorNeutralShadowAmbientLighter,xa as colorNeutralShadowKey,Pa as colorNeutralShadowKeyDarker,Ba as colorNeutralShadowKeyLighter,Cr as colorNeutralStencil1,Ir as colorNeutralStencil1Alpha,Nr as colorNeutralStencil2,Ar as colorNeutralStencil2Alpha,Qr as colorNeutralStroke1,Zr as colorNeutralStroke1Hover,Jr as colorNeutralStroke1Pressed,ea as colorNeutralStroke1Selected,ta as colorNeutralStroke2,oa as colorNeutralStroke3,Wr as colorNeutralStrokeAccessible,Yr as colorNeutralStrokeAccessibleHover,Kr as colorNeutralStrokeAccessiblePressed,Ur as colorNeutralStrokeAccessibleSelected,pa as colorNeutralStrokeDisabled,ga as colorNeutralStrokeInvertedDisabled,ra as colorNeutralStrokeOnBrand,aa as colorNeutralStrokeOnBrand2,na as colorNeutralStrokeOnBrand2Hover,ia as colorNeutralStrokeOnBrand2Pressed,sa as colorNeutralStrokeOnBrand2Selected,jn as colorPaletteAnchorBackground2,Vn as colorPaletteAnchorBorderActive,_n as colorPaletteAnchorForeground2,Gn as colorPaletteBeigeBackground2,Xn as colorPaletteBeigeBorderActive,qn as colorPaletteBeigeForeground2,gn as colorPaletteBerryBackground1,vn as colorPaletteBerryBackground2,bn as colorPaletteBerryBackground3,fn as colorPaletteBerryBorder1,yn as colorPaletteBerryBorder2,mn as colorPaletteBerryBorderActive,kn as colorPaletteBerryForeground1,xn as colorPaletteBerryForeground2,$n as colorPaletteBerryForeground3,Wn as colorPaletteBlueBackground2,Yn as colorPaletteBlueBorderActive,Kn as colorPaletteBlueForeground2,Un as colorPaletteBrassBackground2,Qn as colorPaletteBrassBorderActive,Zn as colorPaletteBrassForeground2,Jn as colorPaletteBrownBackground2,ei as colorPaletteBrownBorderActive,ti as colorPaletteBrownForeground2,oi as colorPaletteCornflowerBackground2,ri as colorPaletteCornflowerBorderActive,ai as colorPaletteCornflowerForeground2,ni as colorPaletteCranberryBackground2,ii as colorPaletteCranberryBorderActive,si as colorPaletteCranberryForeground2,li as colorPaletteDarkGreenBackground2,ci as colorPaletteDarkGreenBorderActive,di as colorPaletteDarkGreenForeground2,Ya as colorPaletteDarkOrangeBackground1,Ka as colorPaletteDarkOrangeBackground2,Ua as colorPaletteDarkOrangeBackground3,Za as colorPaletteDarkOrangeBorder1,Ja as colorPaletteDarkOrangeBorder2,Qa as colorPaletteDarkOrangeBorderActive,en as colorPaletteDarkOrangeForeground1,tn as colorPaletteDarkOrangeForeground2,on as colorPaletteDarkOrangeForeground3,ui as colorPaletteDarkRedBackground2,hi as colorPaletteDarkRedBorderActive,pi as colorPaletteDarkRedForeground2,gi as colorPaletteForestBackground2,vi as colorPaletteForestBorderActive,bi as colorPaletteForestForeground2,mi as colorPaletteGoldBackground2,fi as colorPaletteGoldBorderActive,yi as colorPaletteGoldForeground2,ki as colorPaletteGrapeBackground2,xi as colorPaletteGrapeBorderActive,$i as colorPaletteGrapeForeground2,Ea as colorPaletteGreenBackground1,Ma as colorPaletteGreenBackground2,Ra as colorPaletteGreenBackground3,Va as colorPaletteGreenBorder1,_a as colorPaletteGreenBorder2,ja as colorPaletteGreenBorderActive,Ga as colorPaletteGreenForeground1,Xa as colorPaletteGreenForeground2,qa as colorPaletteGreenForeground3,Wa as colorPaletteGreenForegroundInverted,Bi as colorPaletteLavenderBackground2,wi as colorPaletteLavenderBorderActive,Pi as colorPaletteLavenderForeground2,Tn as colorPaletteLightGreenBackground1,zn as colorPaletteLightGreenBackground2,Ln as colorPaletteLightGreenBackground3,Hn as colorPaletteLightGreenBorder1,Dn as colorPaletteLightGreenBorder2,On as colorPaletteLightGreenBorderActive,En as colorPaletteLightGreenForeground1,Mn as colorPaletteLightGreenForeground2,Rn as colorPaletteLightGreenForeground3,Si as colorPaletteLightTealBackground2,Fi as colorPaletteLightTealBorderActive,Ci as colorPaletteLightTealForeground2,Ni as colorPaletteLilacBackground2,Ii as colorPaletteLilacBorderActive,Ai as colorPaletteLilacForeground2,Ti as colorPaletteMagentaBackground2,zi as colorPaletteMagentaBorderActive,Li as colorPaletteMagentaForeground2,Bn as colorPaletteMarigoldBackground1,wn as colorPaletteMarigoldBackground2,Pn as colorPaletteMarigoldBackground3,Fn as colorPaletteMarigoldBorder1,Cn as colorPaletteMarigoldBorder2,Sn as colorPaletteMarigoldBorderActive,Nn as colorPaletteMarigoldForeground1,In as colorPaletteMarigoldForeground2,An as colorPaletteMarigoldForeground3,Oi as colorPaletteMinkBackground2,Hi as colorPaletteMinkBorderActive,Di as colorPaletteMinkForeground2,Ei as colorPaletteNavyBackground2,Mi as colorPaletteNavyBorderActive,Ri as colorPaletteNavyForeground2,ji as colorPalettePeachBackground2,Vi as colorPalettePeachBorderActive,_i as colorPalettePeachForeground2,Gi as colorPalettePinkBackground2,Xi as colorPalettePinkBorderActive,qi as colorPalettePinkForeground2,Wi as colorPalettePlatinumBackground2,Yi as colorPalettePlatinumBorderActive,Ki as colorPalettePlatinumForeground2,Ui as colorPalettePlumBackground2,Qi as colorPalettePlumBorderActive,Zi as colorPalettePlumForeground2,Ji as colorPalettePumpkinBackground2,es as colorPalettePumpkinBorderActive,ts as colorPalettePumpkinForeground2,os as colorPalettePurpleBackground2,rs as colorPalettePurpleBorderActive,as as colorPalettePurpleForeground2,Ca as colorPaletteRedBackground1,Na as colorPaletteRedBackground2,Ia as colorPaletteRedBackground3,Ta as colorPaletteRedBorder1,za as colorPaletteRedBorder2,Aa as colorPaletteRedBorderActive,La as colorPaletteRedForeground1,Oa as colorPaletteRedForeground2,Ha as colorPaletteRedForeground3,Da as colorPaletteRedForegroundInverted,ns as colorPaletteRoyalBlueBackground2,is as colorPaletteRoyalBlueBorderActive,ss as colorPaletteRoyalBlueForeground2,ls as colorPaletteSeafoamBackground2,cs as colorPaletteSeafoamBorderActive,ds as colorPaletteSeafoamForeground2,us as colorPaletteSteelBackground2,hs as colorPaletteSteelBorderActive,ps as colorPaletteSteelForeground2,gs as colorPaletteTealBackground2,vs as colorPaletteTealBorderActive,bs as colorPaletteTealForeground2,rn as colorPaletteYellowBackground1,an as colorPaletteYellowBackground2,nn as colorPaletteYellowBackground3,ln as colorPaletteYellowBorder1,cn as colorPaletteYellowBorder2,sn as colorPaletteYellowBorderActive,dn as colorPaletteYellowForeground1,un as colorPaletteYellowForeground2,hn as colorPaletteYellowForeground3,pn as colorPaletteYellowForegroundInverted,zr as colorScrollbarOverlay,fa as colorStrokeFocus1,ya as colorStrokeFocus2,ur as colorSubtleBackground,hr as colorSubtleBackgroundHover,fr as colorSubtleBackgroundInverted,yr as colorSubtleBackgroundInvertedHover,kr as colorSubtleBackgroundInvertedPressed,xr as colorSubtleBackgroundInvertedSelected,vr as colorSubtleBackgroundLightAlphaHover,br as colorSubtleBackgroundLightAlphaPressed,mr as colorSubtleBackgroundLightAlphaSelected,pr as colorSubtleBackgroundPressed,gr as colorSubtleBackgroundSelected,$r as colorTransparentBackground,Br as colorTransparentBackgroundHover,wr as colorTransparentBackgroundPressed,Pr as colorTransparentBackgroundSelected,va as colorTransparentStroke,ma as colorTransparentStrokeDisabled,ba as colorTransparentStrokeInteractive,jl as curveAccelerateMax,Vl as curveAccelerateMid,_l as curveAccelerateMin,Gl as curveDecelerateMax,Xl as curveDecelerateMid,ql as curveDecelerateMin,Yl as curveEasyEase,Wl as curveEasyEaseMax,Kl as curveLinear,kt as darkModeStylesheetBehavior,bt as display,Hl as durationFast,Ol as durationFaster,Dl as durationNormal,El as durationSlow,Ml as durationSlower,Ll as durationUltraFast,Rl as durationUltraSlow,Bs as fontFamilyBase,ws as fontFamilyMonospace,Ps as fontFamilyNumeric,Ss as fontSizeBase100,Fs as fontSizeBase200,Cs as fontSizeBase300,Ns as fontSizeBase400,Is as fontSizeBase500,As as fontSizeBase600,Os as fontSizeHero1000,Ts as fontSizeHero700,zs as fontSizeHero800,Ls as fontSizeHero900,Ms as fontWeightBold,Ds as fontWeightMedium,Hs as fontWeightRegular,Es as fontWeightSemibold,yt as forcedColorsStylesheetBehavior,ht as getDirection,vt as hidden,xt as lightModeStylesheetBehavior,Rs as lineHeightBase100,js as lineHeightBase200,Vs as lineHeightBase300,_s as lineHeightBase400,Gs as lineHeightBase500,Xs as lineHeightBase600,Ks as lineHeightHero1000,qs as lineHeightHero700,Ws as lineHeightHero800,Ys as lineHeightHero900,wp as roleForMenuItem,Zv as setTheme,Jv as setThemeFor,Js as shadow16,nl as shadow16Brand,Us as shadow2,el as shadow28,il as shadow28Brand,ol as shadow2Brand,Qs as shadow4,rl as shadow4Brand,tl as shadow64,sl as shadow64Brand,Zs as shadow8,al as shadow8Brand,yl as spacingHorizontalL,fl as spacingHorizontalM,ml as spacingHorizontalMNudge,hl as spacingHorizontalNone,bl as spacingHorizontalS,vl as spacingHorizontalSNudge,kl as spacingHorizontalXL,gl as spacingHorizontalXS,xl as spacingHorizontalXXL,pl as spacingHorizontalXXS,$l as spacingHorizontalXXXL,Il as spacingVerticalL,Nl as spacingVerticalM,Cl as spacingVerticalMNudge,Bl as spacingVerticalNone,Fl as spacingVerticalS,Sl as spacingVerticalSNudge,Al as spacingVerticalXL,Pl as spacingVerticalXS,Tl as spacingVerticalXXL,wl as spacingVerticalXXS,zl as spacingVerticalXXXL,cl as strokeWidthThick,dl as strokeWidthThicker,ul as strokeWidthThickest,ll as strokeWidthThin,id as typographyBody1StrongStyles,sd as typographyBody1StrongerStyles,nd as typographyBody1Styles,ld as typographyBody2Styles,dd as typographyCaption1StrongStyles,ud as typographyCaption1StrongerStyles,cd as typographyCaption1Styles,pd as typographyCaption2StrongStyles,hd as typographyCaption2Styles,xd as typographyDisplayStyles,kd as typographyLargeTitleStyles,gd as typographySubtitle1Styles,bd as typographySubtitle2StrongerStyles,vd as typographySubtitle2Styles,md as typographyTitle1Styles,fd as typographyTitle2Styles,yd as typographyTitle3Styles};
405
+ */var sb=["input:not([inert])","select:not([inert])","textarea:not([inert])","a[href]:not([inert])","button:not([inert])","[tabindex]:not(slot):not([inert])","audio[controls]:not([inert])","video[controls]:not([inert])",'[contenteditable]:not([contenteditable="false"]):not([inert])',"details>summary:first-of-type:not([inert])","details:not([inert])"],lb=sb.join(","),Ph=typeof Element>"u",pa=Ph?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,ga=!Ph&&Element.prototype.getRootNode?function(o){var e;return o==null||(e=o.getRootNode)===null||e===void 0?void 0:e.call(o)}:function(o){return o?.ownerDocument},cb=function o(e,t){var r;t===void 0&&(t=!0);var a=e==null||(r=e.getAttribute)===null||r===void 0?void 0:r.call(e,"inert"),n=a===""||a==="true",i=n||t&&e&&o(e.parentNode);return i},db=function(e){var t,r=e==null||(t=e.getAttribute)===null||t===void 0?void 0:t.call(e,"contenteditable");return r===""||r==="true"},ub=function(e){return!isNaN(parseInt(e.getAttribute("tabindex"),10))},hb=function(e){if(!e)throw new Error("No node provided");return e.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName)||db(e))&&!ub(e)?0:e.tabIndex},Ch=function(e){return e.tagName==="INPUT"},pb=function(e){return Ch(e)&&e.type==="hidden"},gb=function(e){var t=e.tagName==="DETAILS"&&Array.prototype.slice.apply(e.children).some(function(r){return r.tagName==="SUMMARY"});return t},fb=function(e,t){for(var r=0;r<e.length;r++)if(e[r].checked&&e[r].form===t)return e[r]},bb=function(e){if(!e.name)return!0;var t=e.form||ga(e),r=function(c){return t.querySelectorAll('input[type="radio"][name="'+c+'"]')},a;if(typeof window<"u"&&typeof window.CSS<"u"&&typeof window.CSS.escape=="function")a=r(window.CSS.escape(e.name));else try{a=r(e.name)}catch(i){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",i.message),!1}var n=fb(a,e.form);return!n||n===e},vb=function(e){return Ch(e)&&e.type==="radio"},mb=function(e){return vb(e)&&!bb(e)},yb=function(e){var t,r=e&&ga(e),a=(t=r)===null||t===void 0?void 0:t.host,n=!1;if(r&&r!==e){var i,c,u;for(n=!!((i=a)!==null&&i!==void 0&&(c=i.ownerDocument)!==null&&c!==void 0&&c.contains(a)||e!=null&&(u=e.ownerDocument)!==null&&u!==void 0&&u.contains(e));!n&&a;){var d,l,h;r=ga(a),a=(d=r)===null||d===void 0?void 0:d.host,n=!!((l=a)!==null&&l!==void 0&&(h=l.ownerDocument)!==null&&h!==void 0&&h.contains(a))}}return n},Fh=function(e){var t=e.getBoundingClientRect(),r=t.width,a=t.height;return r===0&&a===0},$b=function(e,t){var r=t.displayCheck,a=t.getShadowRoot;if(getComputedStyle(e).visibility==="hidden")return!0;var n=pa.call(e,"details>summary:first-of-type"),i=n?e.parentElement:e;if(pa.call(i,"details:not([open]) *"))return!0;if(!r||r==="full"||r==="legacy-full"){if(typeof a=="function"){for(var c=e;e;){var u=e.parentElement,d=ga(e);if(u&&!u.shadowRoot&&a(u)===!0)return Fh(e);e.assignedSlot?e=e.assignedSlot:!u&&d!==e.ownerDocument?e=d.host:e=u}e=c}if(yb(e))return!e.getClientRects().length;if(r!=="legacy-full")return!0}else if(r==="non-zero-area")return Fh(e);return!1},kb=function(e){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName))for(var t=e.parentElement;t;){if(t.tagName==="FIELDSET"&&t.disabled){for(var r=0;r<t.children.length;r++){var a=t.children.item(r);if(a.tagName==="LEGEND")return pa.call(t,"fieldset[disabled] *")?!0:!a.contains(e)}return!0}t=t.parentElement}return!1},xb=function(e,t){return!(t.disabled||cb(t)||pb(t)||$b(t,e)||gb(t)||kb(t))},Bb=function(e,t){return!(mb(t)||hb(t)<0||!xb(e,t))},Th=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return pa.call(e,lb)===!1?!1:Bb(t,e)};const ee={modal:"modal",nonModal:"non-modal",alert:"alert"};var wb=Object.defineProperty,Sb=Object.getOwnPropertyDescriptor,bt=(o,e,t,r)=>{for(var a=r>1?void 0:r?Sb(e,t):e,n=o.length-1,i;n>=0;n--)(i=o[n])&&(a=(r?i(e,t,a):i(a))||a);return r&&a&&wb(e,t,a),a};const rt=class ur extends S{constructor(){super(...arguments),this.isTrappingFocus=!1,this.titleAction=[],this.modalType=ee.modal,this.open=!1,this.noTitleAction=!1,this.trapFocus=!1,this.onOpenChangeEvent=(e=!1)=>{this.$emit("onOpenChange",{open:this.dialog.open,dismissed:e})},this.handleKeydown=e=>{if(!e.defaultPrevented)switch(e.key){case Wa:this.modalType!==ee.alert&&(this.hide(!0),this.$emit("dismiss"));break;default:return!0}},this.handleDocumentKeydown=e=>{if(!e.defaultPrevented&&this.dialog.open)switch(e.key){case tl:this.handleTabKeyDown(e);break}},this.handleTabKeyDown=e=>{if(!this.trapFocus||!this.dialog.open)return;const t=this.getTabQueueBounds();if(t.length===1){t[0].focus(),e.preventDefault();return}e.shiftKey&&e.target===t[0]?(t[t.length-1].focus(),e.preventDefault()):!e.shiftKey&&e.target===t[t.length-1]&&(t[0].focus(),e.preventDefault())},this.getTabQueueBounds=()=>{const e=[];return ur.reduceTabbableItems(e,this)},this.focusFirstElement=()=>{const e=this.getTabQueueBounds();e.length>0?e[0].focus():this.dialog instanceof HTMLElement&&this.dialog.focus()},this.shouldForceFocus=e=>this.isTrappingFocus&&!this.contains(e),this.shouldTrapFocus=()=>this.trapFocus&&this.dialog.open,this.handleDocumentFocus=e=>{!e.defaultPrevented&&this.shouldForceFocus(e.target)&&(this.focusFirstElement(),e.preventDefault())},this.updateTrapFocus=e=>{const t=e===void 0?this.shouldTrapFocus():e;t&&!this.isTrappingFocus?(this.isTrappingFocus=!0,document.addEventListener("focusin",this.handleDocumentFocus),ue.enqueue(()=>{this.shouldForceFocus(document.activeElement)&&this.focusFirstElement()})):!t&&this.isTrappingFocus&&(this.isTrappingFocus=!1,document.removeEventListener("focusin",this.handleDocumentFocus))}}connectedCallback(){super.connectedCallback(),document.addEventListener("keydown",this.handleDocumentKeydown),ue.enqueue(()=>{this.updateTrapFocus(),this.setComponent()})}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("keydown",this.handleDocumentKeydown),this.updateTrapFocus(!1)}openChanged(e,t){t!==e&&(t&&!e?this.show():!t&&e&&this.hide())}modalTypeChanged(e,t){t!==e&&(t==ee.alert||t==ee.modal?this.trapFocus=!0:this.trapFocus=!1)}setComponent(){this.modalType==ee.modal||this.modalType==ee.alert?this.trapFocus=!0:this.trapFocus=!1}show(){ue.enqueue(()=>{this.modalType===ee.alert||this.modalType===ee.modal?(this.dialog.showModal(),this.open=!0,this.updateTrapFocus(!0)):this.modalType===ee.nonModal&&(this.dialog.show(),this.open=!0),this.onOpenChangeEvent()})}hide(e=!1){this.dialog.close(),this.open=!1,this.onOpenChangeEvent(e)}dismiss(){this.modalType!==ee.alert&&this.hide(!0)}handleClick(e){return e.preventDefault(),this.dialog.open&&this.modalType!==ee.alert&&e.target===this.dialog&&this.dismiss(),!0}static reduceTabbableItems(e,t){return t.getAttribute("tabindex")==="-1"?e:Th(t)||ur.isFocusableFastElement(t)&&ur.hasTabbableShadow(t)?(e.push(t),e):Array.from(t.children).reduce((r,a)=>ur.reduceTabbableItems(r,a),e)}static isFocusableFastElement(e){return!!e.$fastController?.definition.shadowOptions?.delegatesFocus}static hasTabbableShadow(e){return Array.from(e.shadowRoot?.querySelectorAll("*")??[]).some(t=>Th(t))}};bt([m],rt.prototype,"dialog",2),bt([m],rt.prototype,"titleAction",2),bt([m],rt.prototype,"defaultTitleAction",2),bt([s({attribute:"aria-describedby"})],rt.prototype,"ariaDescribedby",2),bt([s({attribute:"aria-labelledby"})],rt.prototype,"ariaLabelledby",2),bt([s({attribute:"modal-type"})],rt.prototype,"modalType",2),bt([s({mode:"boolean"})],rt.prototype,"open",2),bt([s({mode:"boolean",attribute:"no-title-action"})],rt.prototype,"noTitleAction",2);let Ah=rt;const Pb=v.partial(`
406
+ <svg
407
+ fill="currentColor"
408
+ aria-hidden="true"
409
+ width="20"
410
+ height="20"
411
+ viewBox="0 0 20 20"
412
+ xmlns="http://www.w3.org/2000/svg"
413
+ >
414
+ <path
415
+ d="m4.09 4.22.06-.07a.5.5 0 0 1 .63-.06l.07.06L10 9.29l5.15-5.14a.5.5 0 0 1 .63-.06l.07.06c.18.17.2.44.06.63l-.06.07L10.71 10l5.14 5.15c.18.17.2.44.06.63l-.06.07a.5.5 0 0 1-.63.06l-.07-.06L10 10.71l-5.15 5.14a.5.5 0 0 1-.63.06l-.07-.06a.5.5 0 0 1-.06-.63l.06-.07L9.29 10 4.15 4.85a.5.5 0 0 1-.06-.63l.06-.07-.06.07Z"
416
+ fill="currentColor"
417
+ ></path>
418
+ </svg>`),Ih=v`<template ?open="${o=>o.open}"><dialog role="${o=>o.modalType===ee.alert?"alertdialog":"dialog"}" modal-type="${o=>o.modalType}" class="dialog" part="dialog" aria-modal="${o=>o.modalType===ee.modal||o.modalType===ee.alert?"true":void 0}" aria-describedby="${o=>o.ariaDescribedby}" aria-labelledby="${o=>o.ariaLabelledby}" aria-label="${o=>o.ariaLabel}" @keydown="${(o,e)=>o.handleKeydown(e.event)}" @click="${(o,e)=>o.handleClick(e.event)}" ${Fe("dialog")}><div class="root" part="root"><div class="title" part="title"><slot name="title"></slot><slot ${Y({property:"titleAction",filter:to()})} name="title-action"></slot>${eo(o=>o.modalType===ee.nonModal&&o.titleAction.length===0&&!o.noTitleAction,v`<fluent-button tabindex="0" part="title-action" class="title-action" appearance="transparent" icon-only @click=${o=>o.dismiss()} ${Fe("defaultTitleAction")}>${Pb}</fluent-button>`)}</div><div class="content" part="content"><slot></slot></div><div class="actions" part="actions"><slot name="action"></slot></div></div></dialog></template>`,zh=f`
419
+ ${F("flex")}
420
+
421
+ :host{--dialog-backdrop:${dn}}dialog{background:${_};border:${X} solid ${me};z-index:2;margin:auto auto;max-width:100%;width:100vw;border-radius:${jr};box-shadow:${Oi};max-height:100vh;height:fit-content;overflow:unset;position:fixed;inset:0;padding:0}dialog::backdrop{background:var(--dialog-backdrop,rgba(0,0,0,0.4))}.root{box-sizing:border-box;display:flex;flex-direction:column;overflow:unset;max-height:calc(100vh - 48px);padding:${na} ${Ei}}.title{font-size:${et};line-height:${mo};font-weight:${L};font-family:${y};color:${O};margin-bottom:${H};display:flex;justify-content:space-between;align-items:flex-start;column-gap:8px}.content{vertical-align:top;min-height:32px;color:${O};font-size:${P};line-height:${A};font-weight:${T};font-family:${y};overflow-y:auto;box-sizing:border-box}.actions{display:flex;grid-column-start:1;flex-direction:column;max-width:100vw;row-gap:${H};padding-top:${na};justify-self:stretch;width:100%}::slotted([slot='action']){width:100%}@media screen and (min-width:480px){::slotted([slot='action']){width:fit-content}dialog{max-width:600px;width:100%}.actions{display:flex;flex-direction:row;justify-content:flex-end;align-items:center;column-gap:${V};padding-top:${H};box-sizing:border-box}}`,Cb=Ah.compose({name:`${x.prefix}-dialog`,template:Ih,styles:zh}),Qi={separator:"separator",presentation:"presentation"},Nh=he,Fb={center:"center",start:"start",end:"end"},Tb={strong:"strong",brand:"brand",subtle:"subtle",default:"default"};var Ab=Object.defineProperty,Ib=Object.getOwnPropertyDescriptor,tr=(o,e,t,r)=>{for(var a=r>1?void 0:r?Ib(e,t):e,n=o.length-1,i;n>=0;n--)(i=o[n])&&(a=(r?i(e,t,a):i(a))||a);return r&&a&&Ab(e,t,a),a};class jt extends S{constructor(){super(...arguments),this.role=Qi.separator,this.orientation=Nh.horizontal}}tr([s],jt.prototype,"role",2),tr([s],jt.prototype,"orientation",2),tr([s({attribute:"align-content"})],jt.prototype,"alignContent",2),tr([s],jt.prototype,"appearance",2),tr([s({mode:"boolean"})],jt.prototype,"inset",2);function zb(){return v`<template role="${o=>o.role}" aria-orientation="${o=>o.role!==Qi.presentation?o.orientation:void 0}"><slot></slot></template>`}const Lh=zb(),Dh=f`
422
+ ${F("flex")}
423
+
424
+ :host{contain:content}:host::after,:host::before{align-self:center;background:${Ot};box-sizing:border-box;content:'';display:flex;flex-grow:1;height:${X}}:host([inset]){padding:0 12px}:host ::slotted(*){color:${ne};font-family:${y};font-size:${R};font-weight:${T};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']){height:100%;min-height:84px}:host([orientation='vertical']):empty{min-height:20px}:host([orientation='vertical']){flex-direction:column;align-items:center}: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:${X};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:${Je}}:host([appearance='strong']) ::slotted(*){color:${O}}:host([appearance='brand'])::before,:host([appearance='brand'])::after{background:${Ho}}:host([appearance='brand']) ::slotted(*){color:${Do}}:host([appearance='subtle'])::before,:host([appearance='subtle'])::after{background:${hn}}:host([appearance='subtle']) ::slotted(*){color:${W}}`.withBehaviors(Ee(f`
425
+ :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}`)),Nb=jt.compose({name:`${x.prefix}-divider`,template:Lh,styles:Dh});var Lb=Object.defineProperty,Db=Object.getOwnPropertyDescriptor,or=(o,e,t,r)=>{for(var a=r>1?void 0:r?Db(e,t):e,n=o.length-1,i;n>=0;n--)(i=o[n])&&(a=(r?i(e,t,a):i(a))||a);return r&&a&&Lb(e,t,a),a};class Gt extends S{}or([s({mode:"boolean"})],Gt.prototype,"block",2),or([s({mode:"boolean"})],Gt.prototype,"bordered",2),or([s({mode:"boolean"})],Gt.prototype,"shadow",2),or([s],Gt.prototype,"fit",2),or([s],Gt.prototype,"shape",2);const Ob={none:"none",center:"center",contain:"contain",cover:"cover",default:"default"},Eb={circular:"circular",rounded:"rounded",square:"square"},Oh=v`<slot></slot>`,Eh=f`
426
+ :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:${X} solid ${Ot}}: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:${Ht}}:host([shape='circular']) ::slotted(img){border-radius:${Z}}:host([shape='rounded']) ::slotted(img){border-radius:${B}}`,Mb=Gt.compose({name:`${x.prefix}-image`,template:Oh,styles:Eh});var Hb=Object.defineProperty,_b=Object.getOwnPropertyDescriptor,fa=(o,e,t,r)=>{for(var a=r>1?void 0:r?_b(e,t):e,n=o.length-1,i;n>=0;n--)(i=o[n])&&(a=(r?i(e,t,a):i(a))||a);return r&&a&&Hb(e,t,a),a};class Bo extends S{constructor(){super(...arguments),this.disabled=!1,this.required=!1}}fa([s],Bo.prototype,"size",2),fa([s],Bo.prototype,"weight",2),fa([s({mode:"boolean"})],Bo.prototype,"disabled",2),fa([s({mode:"boolean"})],Bo.prototype,"required",2);const Rb={small:"small",medium:"medium",large:"large"},Vb={regular:"regular",semibold:"semibold"},Mh=f`
427
+ ${F("flex")}
428
+
429
+ :host{font-family:${y};font-size:${P};line-height:${A};font-weight:${T};color:${O}}.asterisk{color:${Mr};margin-left:${fe}}:host([size='small']){font-size:${R};line-height:${se}}:host([size='large']){font-size:${ie};line-height:${ye};font-weight:${L}}:host([weight='semibold']){font-weight:${L}}:host([disabled]),:host([disabled]) .asterisk{color:${k}}`;function jb(){return v`<slot></slot><span part="asterisk" class="asterisk" ?hidden="${o=>!o.required}">*</span>`}const Hh=jb(),Gb=Bo.compose({name:`${x.prefix}-label`,template:Hh,styles:Mh});function ba(o){return o.split("-")[1]}function _h(o){return o==="y"?"height":"width"}function Wt(o){return o.split("-")[0]}function va(o){return["top","bottom"].includes(Wt(o))?"x":"y"}function Rh(o,e,t){let{reference:r,floating:a}=o;const n=r.x+r.width/2-a.width/2,i=r.y+r.height/2-a.height/2,c=va(e),u=_h(c),d=r[u]/2-a[u]/2,l=c==="x";let h;switch(Wt(e)){case"top":h={x:n,y:r.y-a.height};break;case"bottom":h={x:n,y:r.y+r.height};break;case"right":h={x:r.x+r.width,y:i};break;case"left":h={x:r.x-a.width,y:i};break;default:h={x:r.x,y:r.y}}switch(ba(e)){case"start":h[c]-=d*(t&&l?-1:1);break;case"end":h[c]+=d*(t&&l?-1:1)}return h}const Wb=async(o,e,t)=>{const{placement:r="bottom",strategy:a="absolute",middleware:n=[],platform:i}=t,c=n.filter(Boolean),u=await(i.isRTL==null?void 0:i.isRTL(e));let d=await i.getElementRects({reference:o,floating:e,strategy:a}),{x:l,y:h}=Rh(d,r,u),p=r,g={},b=0;for(let $=0;$<c.length;$++){const{name:w,fn:z}=c[$],{x:C,y:E,data:ce,reset:de}=await z({x:l,y:h,initialPlacement:r,placement:p,strategy:a,middlewareData:g,rects:d,platform:i,elements:{reference:o,floating:e}});l=C??l,h=E??h,g={...g,[w]:{...g[w],...ce}},de&&b<=50&&(b++,typeof de=="object"&&(de.placement&&(p=de.placement),de.rects&&(d=de.rects===!0?await i.getElementRects({reference:o,floating:e,strategy:a}):de.rects),{x:l,y:h}=Rh(d,p,u)),$=-1)}return{x:l,y:h,placement:p,strategy:a,middlewareData:g}};function qb(o){return typeof o!="number"?function(e){return{top:0,right:0,bottom:0,left:0,...e}}(o):{top:o,right:o,bottom:o,left:o}}function Zi(o){return{...o,top:o.y,left:o.x,right:o.x+o.width,bottom:o.y+o.height}}async function rr(o,e){var t;e===void 0&&(e={});const{x:r,y:a,platform:n,rects:i,elements:c,strategy:u}=o,{boundary:d="clippingAncestors",rootBoundary:l="viewport",elementContext:h="floating",altBoundary:p=!1,padding:g=0}=e,b=qb(g),$=c[p?h==="floating"?"reference":"floating":h],w=Zi(await n.getClippingRect({element:(t=await(n.isElement==null?void 0:n.isElement($)))==null||t?$:$.contextElement||await(n.getDocumentElement==null?void 0:n.getDocumentElement(c.floating)),boundary:d,rootBoundary:l,strategy:u})),z=h==="floating"?{...i.floating,x:r,y:a}:i.reference,C=await(n.getOffsetParent==null?void 0:n.getOffsetParent(c.floating)),E=await(n.isElement==null?void 0:n.isElement(C))&&await(n.getScale==null?void 0:n.getScale(C))||{x:1,y:1},ce=Zi(n.convertOffsetParentRelativeRectToViewportRelativeRect?await n.convertOffsetParentRelativeRectToViewportRelativeRect({rect:z,offsetParent:C,strategy:u}):z);return{top:(w.top-ce.top+b.top)/E.y,bottom:(ce.bottom-w.bottom+b.bottom)/E.y,left:(w.left-ce.left+b.left)/E.x,right:(ce.right-w.right+b.right)/E.x}}const Ji=Math.min,qt=Math.max;function Vh(o,e,t){return qt(o,Ji(e,t))}const jh=["top","right","bottom","left"];jh.reduce((o,e)=>o.concat(e,e+"-start",e+"-end"),[]);const Xb={left:"right",right:"left",bottom:"top",top:"bottom"};function ma(o){return o.replace(/left|right|bottom|top/g,e=>Xb[e])}function Kb(o,e,t){t===void 0&&(t=!1);const r=ba(o),a=va(o),n=_h(a);let i=a==="x"?r===(t?"end":"start")?"right":"left":r==="start"?"bottom":"top";return e.reference[n]>e.floating[n]&&(i=ma(i)),{main:i,cross:ma(i)}}const Ub={start:"end",end:"start"};function es(o){return o.replace(/start|end/g,e=>Ub[e])}const Gh=function(o){return o===void 0&&(o={}),{name:"flip",options:o,async fn(e){var t;const{placement:r,middlewareData:a,rects:n,initialPlacement:i,platform:c,elements:u}=e,{mainAxis:d=!0,crossAxis:l=!0,fallbackPlacements:h,fallbackStrategy:p="bestFit",fallbackAxisSideDirection:g="none",flipAlignment:b=!0,...$}=o,w=Wt(r),z=Wt(i)===i,C=await(c.isRTL==null?void 0:c.isRTL(u.floating)),E=h||(z||!b?[ma(i)]:function(xe){const Xe=ma(xe);return[es(xe),Xe,es(Xe)]}(i));h||g==="none"||E.push(...function(xe,Xe,kt,it){const Ke=ba(xe);let Be=function(Fo,Aa,Jp){const hs=["left","right"],ps=["right","left"],eg=["top","bottom"],tg=["bottom","top"];switch(Fo){case"top":case"bottom":return Jp?Aa?ps:hs:Aa?hs:ps;case"left":case"right":return Aa?eg:tg;default:return[]}}(Wt(xe),kt==="start",it);return Ke&&(Be=Be.map(Fo=>Fo+"-"+Ke),Xe&&(Be=Be.concat(Be.map(es)))),Be}(i,b,g,C));const ce=[i,...E],de=await rr(e,$),$t=[];let nt=((t=a.flip)==null?void 0:t.overflows)||[];if(d&&$t.push(de[w]),l){const{main:xe,cross:Xe}=Kb(r,n,C);$t.push(de[xe],de[Xe])}if(nt=[...nt,{placement:r,overflows:$t}],!$t.every(xe=>xe<=0)){var Co,ds;const xe=(((Co=a.flip)==null?void 0:Co.index)||0)+1,Xe=ce[xe];if(Xe)return{data:{index:xe,overflows:nt},reset:{placement:Xe}};let kt=(ds=nt.filter(it=>it.overflows[0]<=0).sort((it,Ke)=>it.overflows[1]-Ke.overflows[1])[0])==null?void 0:ds.placement;if(!kt)switch(p){case"bestFit":{var us;const it=(us=nt.map(Ke=>[Ke.placement,Ke.overflows.filter(Be=>Be>0).reduce((Be,Fo)=>Be+Fo,0)]).sort((Ke,Be)=>Ke[1]-Be[1])[0])==null?void 0:us[0];it&&(kt=it);break}case"initialPlacement":kt=i}if(r!==kt)return{reset:{placement:kt}}}return{}}}};function Wh(o,e){return{top:o.top-e.height,right:o.right-e.width,bottom:o.bottom-e.height,left:o.left-e.width}}function qh(o){return jh.some(e=>o[e]>=0)}const Yb=function(o){return o===void 0&&(o={}),{name:"hide",options:o,async fn(e){const{strategy:t="referenceHidden",...r}=o,{rects:a}=e;switch(t){case"referenceHidden":{const n=Wh(await rr(e,{...r,elementContext:"reference"}),a.reference);return{data:{referenceHiddenOffsets:n,referenceHidden:qh(n)}}}case"escaped":{const n=Wh(await rr(e,{...r,altBoundary:!0}),a.floating);return{data:{escapedOffsets:n,escaped:qh(n)}}}default:return{}}}}};function Qb(o){return o==="x"?"y":"x"}const Zb=function(o){return o===void 0&&(o={}),{name:"shift",options:o,async fn(e){const{x:t,y:r,placement:a}=e,{mainAxis:n=!0,crossAxis:i=!1,limiter:c={fn:w=>{let{x:z,y:C}=w;return{x:z,y:C}}},...u}=o,d={x:t,y:r},l=await rr(e,u),h=va(Wt(a)),p=Qb(h);let g=d[h],b=d[p];if(n){const w=h==="y"?"bottom":"right";g=Vh(g+l[h==="y"?"top":"left"],g,g-l[w])}if(i){const w=p==="y"?"bottom":"right";b=Vh(b+l[p==="y"?"top":"left"],b,b-l[w])}const $=c.fn({...e,[h]:g,[p]:b});return{...$,data:{x:$.x-t,y:$.y-r}}}}},Xh=function(o){return o===void 0&&(o={}),{name:"size",options:o,async fn(e){const{placement:t,rects:r,platform:a,elements:n}=e,{apply:i=()=>{},...c}=o,u=await rr(e,c),d=Wt(t),l=ba(t),h=va(t)==="x",{width:p,height:g}=r.floating;let b,$;d==="top"||d==="bottom"?(b=d,$=l===(await(a.isRTL==null?void 0:a.isRTL(n.floating))?"start":"end")?"left":"right"):($=d,b=l==="end"?"top":"bottom");const w=g-u[b],z=p-u[$];let C=w,E=z;if(h?E=Ji(p-u.right-u.left,z):C=Ji(g-u.bottom-u.top,w),!e.middlewareData.shift&&!l){const de=qt(u.left,0),$t=qt(u.right,0),nt=qt(u.top,0),Co=qt(u.bottom,0);h?E=p-2*(de!==0||$t!==0?de+$t:qt(u.left,u.right)):C=g-2*(nt!==0||Co!==0?nt+Co:qt(u.top,u.bottom))}await i({...e,availableWidth:E,availableHeight:C});const ce=await a.getDimensions(n.floating);return p!==ce.width||g!==ce.height?{reset:{rects:!0}}:{}}}};function $e(o){var e;return((e=o.ownerDocument)==null?void 0:e.defaultView)||window}function Ve(o){return $e(o).getComputedStyle(o)}const Kh=Math.min,ar=Math.max,ya=Math.round;function Uh(o){const e=Ve(o);let t=parseFloat(e.width),r=parseFloat(e.height);const a=o.offsetWidth,n=o.offsetHeight,i=ya(t)!==a||ya(r)!==n;return i&&(t=a,r=n),{width:t,height:r,fallback:i}}function vt(o){return Qh(o)?(o.nodeName||"").toLowerCase():""}let $a;function Yh(){if($a)return $a;const o=navigator.userAgentData;return o&&Array.isArray(o.brands)?($a=o.brands.map(e=>e.brand+"/"+e.version).join(" "),$a):navigator.userAgent}function je(o){return o instanceof $e(o).HTMLElement}function Ne(o){return o instanceof $e(o).Element}function Qh(o){return o instanceof $e(o).Node}function Zh(o){return typeof ShadowRoot>"u"?!1:o instanceof $e(o).ShadowRoot||o instanceof ShadowRoot}function ka(o){const{overflow:e,overflowX:t,overflowY:r,display:a}=Ve(o);return/auto|scroll|overlay|hidden|clip/.test(e+r+t)&&!["inline","contents"].includes(a)}function Jb(o){return["table","td","th"].includes(vt(o))}function ts(o){const e=/firefox/i.test(Yh()),t=Ve(o),r=t.backdropFilter||t.WebkitBackdropFilter;return t.transform!=="none"||t.perspective!=="none"||!!r&&r!=="none"||e&&t.willChange==="filter"||e&&!!t.filter&&t.filter!=="none"||["transform","perspective"].some(a=>t.willChange.includes(a))||["paint","layout","strict","content"].some(a=>{const n=t.contain;return n!=null&&n.includes(a)})}function os(){return/^((?!chrome|android).)*safari/i.test(Yh())}function rs(o){return["html","body","#document"].includes(vt(o))}function Jh(o){return Ne(o)?o:o.contextElement}const ep={x:1,y:1};function wo(o){const e=Jh(o);if(!je(e))return ep;const t=e.getBoundingClientRect(),{width:r,height:a,fallback:n}=Uh(e);let i=(n?ya(t.width):t.width)/r,c=(n?ya(t.height):t.height)/a;return i&&Number.isFinite(i)||(i=1),c&&Number.isFinite(c)||(c=1),{x:i,y:c}}function Xt(o,e,t,r){var a,n;e===void 0&&(e=!1),t===void 0&&(t=!1);const i=o.getBoundingClientRect(),c=Jh(o);let u=ep;e&&(r?Ne(r)&&(u=wo(r)):u=wo(o));const d=c?$e(c):window,l=os()&&t;let h=(i.left+(l&&((a=d.visualViewport)==null?void 0:a.offsetLeft)||0))/u.x,p=(i.top+(l&&((n=d.visualViewport)==null?void 0:n.offsetTop)||0))/u.y,g=i.width/u.x,b=i.height/u.y;if(c){const $=$e(c),w=r&&Ne(r)?$e(r):r;let z=$.frameElement;for(;z&&r&&w!==$;){const C=wo(z),E=z.getBoundingClientRect(),ce=getComputedStyle(z);E.x+=(z.clientLeft+parseFloat(ce.paddingLeft))*C.x,E.y+=(z.clientTop+parseFloat(ce.paddingTop))*C.y,h*=C.x,p*=C.y,g*=C.x,b*=C.y,h+=E.x,p+=E.y,z=$e(z).frameElement}}return{width:g,height:b,top:p,right:h+g,bottom:p+b,left:h,x:h,y:p}}function mt(o){return((Qh(o)?o.ownerDocument:o.document)||window.document).documentElement}function xa(o){return Ne(o)?{scrollLeft:o.scrollLeft,scrollTop:o.scrollTop}:{scrollLeft:o.pageXOffset,scrollTop:o.pageYOffset}}function tp(o){return Xt(mt(o)).left+xa(o).scrollLeft}function nr(o){if(vt(o)==="html")return o;const e=o.assignedSlot||o.parentNode||Zh(o)&&o.host||mt(o);return Zh(e)?e.host:e}function op(o){const e=nr(o);return rs(e)?e.ownerDocument.body:je(e)&&ka(e)?e:op(e)}function ir(o,e){var t;e===void 0&&(e=[]);const r=op(o),a=r===((t=o.ownerDocument)==null?void 0:t.body),n=$e(r);return a?e.concat(n,n.visualViewport||[],ka(r)?r:[]):e.concat(r,ir(r))}function rp(o,e,t){let r;if(e==="viewport")r=function(i,c){const u=$e(i),d=mt(i),l=u.visualViewport;let h=d.clientWidth,p=d.clientHeight,g=0,b=0;if(l){h=l.width,p=l.height;const $=os();(!$||$&&c==="fixed")&&(g=l.offsetLeft,b=l.offsetTop)}return{width:h,height:p,x:g,y:b}}(o,t);else if(e==="document")r=function(i){const c=mt(i),u=xa(i),d=i.ownerDocument.body,l=ar(c.scrollWidth,c.clientWidth,d.scrollWidth,d.clientWidth),h=ar(c.scrollHeight,c.clientHeight,d.scrollHeight,d.clientHeight);let p=-u.scrollLeft+tp(i);const g=-u.scrollTop;return Ve(d).direction==="rtl"&&(p+=ar(c.clientWidth,d.clientWidth)-l),{width:l,height:h,x:p,y:g}}(mt(o));else if(Ne(e))r=function(i,c){const u=Xt(i,!0,c==="fixed"),d=u.top+i.clientTop,l=u.left+i.clientLeft,h=je(i)?wo(i):{x:1,y:1};return{width:i.clientWidth*h.x,height:i.clientHeight*h.y,x:l*h.x,y:d*h.y}}(e,t);else{const i={...e};if(os()){var a,n;const c=$e(o);i.x-=((a=c.visualViewport)==null?void 0:a.offsetLeft)||0,i.y-=((n=c.visualViewport)==null?void 0:n.offsetTop)||0}r=i}return Zi(r)}function ap(o,e){return je(o)&&Ve(o).position!=="fixed"?e?e(o):o.offsetParent:null}function np(o,e){const t=$e(o);let r=ap(o,e);for(;r&&Jb(r)&&Ve(r).position==="static";)r=ap(r,e);return r&&(vt(r)==="html"||vt(r)==="body"&&Ve(r).position==="static"&&!ts(r))?t:r||function(a){let n=nr(a);for(;je(n)&&!rs(n);){if(ts(n))return n;n=nr(n)}return null}(o)||t}function ev(o,e,t){const r=je(e),a=mt(e),n=Xt(o,!0,t==="fixed",e);let i={scrollLeft:0,scrollTop:0};const c={x:0,y:0};if(r||!r&&t!=="fixed")if((vt(e)!=="body"||ka(a))&&(i=xa(e)),je(e)){const u=Xt(e,!0);c.x=u.x+e.clientLeft,c.y=u.y+e.clientTop}else a&&(c.x=tp(a));return{x:n.left+i.scrollLeft-c.x,y:n.top+i.scrollTop-c.y,width:n.width,height:n.height}}const tv={getClippingRect:function(o){let{element:e,boundary:t,rootBoundary:r,strategy:a}=o;const n=t==="clippingAncestors"?function(d,l){const h=l.get(d);if(h)return h;let p=ir(d).filter(w=>Ne(w)&&vt(w)!=="body"),g=null;const b=Ve(d).position==="fixed";let $=b?nr(d):d;for(;Ne($)&&!rs($);){const w=Ve($),z=ts($);(b?z||g:z||w.position!=="static"||!g||!["absolute","fixed"].includes(g.position))?g=w:p=p.filter(C=>C!==$),$=nr($)}return l.set(d,p),p}(e,this._c):[].concat(t),i=[...n,r],c=i[0],u=i.reduce((d,l)=>{const h=rp(e,l,a);return d.top=ar(h.top,d.top),d.right=Kh(h.right,d.right),d.bottom=Kh(h.bottom,d.bottom),d.left=ar(h.left,d.left),d},rp(e,c,a));return{width:u.right-u.left,height:u.bottom-u.top,x:u.left,y:u.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(o){let{rect:e,offsetParent:t,strategy:r}=o;const a=je(t),n=mt(t);if(t===n)return e;let i={scrollLeft:0,scrollTop:0},c={x:1,y:1};const u={x:0,y:0};if((a||!a&&r!=="fixed")&&((vt(t)!=="body"||ka(n))&&(i=xa(t)),je(t))){const d=Xt(t);c=wo(t),u.x=d.x+t.clientLeft,u.y=d.y+t.clientTop}return{width:e.width*c.x,height:e.height*c.y,x:e.x*c.x-i.scrollLeft*c.x+u.x,y:e.y*c.y-i.scrollTop*c.y+u.y}},isElement:Ne,getDimensions:function(o){return je(o)?Uh(o):o.getBoundingClientRect()},getOffsetParent:np,getDocumentElement:mt,getScale:wo,async getElementRects(o){let{reference:e,floating:t,strategy:r}=o;const a=this.getOffsetParent||np,n=this.getDimensions;return{reference:ev(e,await a(t),r),floating:{x:0,y:0,...await n(t)}}},getClientRects:o=>Array.from(o.getClientRects()),isRTL:o=>Ve(o).direction==="rtl"};function ip(o,e,t,r){r===void 0&&(r={});const{ancestorScroll:a=!0,ancestorResize:n=!0,elementResize:i=!0,animationFrame:c=!1}=r,u=a&&!c,d=u||n?[...Ne(o)?ir(o):o.contextElement?ir(o.contextElement):[],...ir(e)]:[];d.forEach(g=>{u&&g.addEventListener("scroll",t,{passive:!0}),n&&g.addEventListener("resize",t)});let l,h=null;if(i){let g=!0;h=new ResizeObserver(()=>{g||t(),g=!1}),Ne(o)&&!c&&h.observe(o),Ne(o)||!o.contextElement||c||h.observe(o.contextElement),h.observe(e)}let p=c?Xt(o):null;return c&&function g(){const b=Xt(o);!p||b.x===p.x&&b.y===p.y&&b.width===p.width&&b.height===p.height||t(),p=b,l=requestAnimationFrame(g)}(),t(),()=>{var g;d.forEach(b=>{u&&b.removeEventListener("scroll",t),n&&b.removeEventListener("resize",t)}),(g=h)==null||g.disconnect(),h=null,c&&cancelAnimationFrame(l)}}const sp=(o,e,t)=>{const r=new Map,a={platform:tv,...t},n={...a.platform,_c:r};return Wb(o,e,{...a,platform:n})};var ov=Object.defineProperty,rv=Object.getOwnPropertyDescriptor,Kt=(o,e,t,r)=>{for(var a=r>1?void 0:r?rv(e,t):e,n=o.length-1,i;n>=0;n--)(i=o[n])&&(a=(r?i(e,t,a):i(a))||a);return r&&a&&ov(e,t,a),a};class at extends S{constructor(){super(...arguments),this.openOnHover=!1,this.openOnContext=!1,this.closeOnScroll=!1,this.persistOnItemClick=!1,this.open=!1,this.slottedMenuList=[],this.slottedTriggers=[],this.toggleMenu=()=>{this.open?this.closeMenu():this.openMenu()},this.closeMenu=()=>{this.open=!1,this.closeOnScroll&&document.removeEventListener("scroll",this.closeMenu)},this.openMenu=e=>{this.open=!0,e&&this.openOnContext&&e.preventDefault(),this.closeOnScroll&&document.addEventListener("scroll",this.closeMenu)},this.setPositioningTask=()=>{this.setPositioning()},this.handleTriggerKeydown=e=>{if(e.defaultPrevented)return;switch(e.key){case so:case io:e.preventDefault(),this.toggleMenu(),this.open&&this.focusMenuList();break;default:return!0}},this.handleDocumentClick=e=>{e&&!e.composedPath().includes(this._menuList)&&!e.composedPath().includes(this._trigger)&&this.closeMenu()}}connectedCallback(){super.connectedCallback(),ue.enqueue(()=>this.setComponent())}disconnectedCallback(){super.disconnectedCallback(),this.cleanup?.(),this.removeListeners()}setComponent(){this.$fastController.isConnected&&this.slottedMenuList.length&&this.slottedTriggers.length&&(this._trigger=this.slottedTriggers[0],this._menuList=this.slottedMenuList[0],this._trigger.setAttribute("aria-haspopup","true"),this._trigger.setAttribute("aria-expanded",`${this.open}`),this.addListeners())}focusMenuList(){this.open&&this._menuList&&ue.enqueue(()=>{this._menuList.focus()})}focusTrigger(){!this.open&&this._trigger&&ue.enqueue(()=>{this._trigger.focus()})}openChanged(e,t){this.$fastController.isConnected&&this._trigger instanceof HTMLElement&&(this._trigger.setAttribute("aria-expanded",`${this.open}`),this._menuList&&this.open&&ue.enqueue(this.setPositioningTask)),this.cleanup?.(),this.$emit("onOpenChange",{open:t})}openOnHoverChanged(e,t){t?this._trigger?.addEventListener("mouseover",this.openMenu):this._trigger?.removeEventListener("mouseover",this.openMenu)}persistOnItemClickChanged(e,t){t?this._menuList?.removeEventListener("click",this.closeMenu):this._menuList?.addEventListener("click",this.closeMenu)}openOnContextChanged(e,t){t?this._trigger?.addEventListener("contextmenu",this.openMenu):this._trigger?.removeEventListener("contextmenu",this.openMenu)}closeOnScrollChanged(e,t){t?document.addEventListener("scroll",this.closeMenu):document.removeEventListener("scroll",this.closeMenu)}setPositioning(){this.$fastController.isConnected&&this._menuList&&this.open&&this._trigger&&(this.cleanup=ip(this,this.positioningContainer,async()=>{const{middlewareData:e,x:t,y:r}=await sp(this._trigger,this.positioningContainer,{placement:"bottom",strategy:"fixed",middleware:[Gh(),Xh({apply:({availableHeight:a,rects:n})=>{this.positioningContainer?.style&&Object.assign(this.positioningContainer.style,{maxHeight:`${a}px`,width:`${n.reference.width}px`})}}),Yb()]});if(e.hide?.referenceHidden){this.open=!1;return}this.positioningContainer?.style&&Object.assign(this.positioningContainer.style,{position:"fixed",top:"0",left:"0",transform:`translate(${t}px, ${r}px)`})}))}addListeners(){document.addEventListener("click",this.handleDocumentClick),this._trigger?.addEventListener("keydown",this.handleTriggerKeydown),this.persistOnItemClick||this._menuList?.addEventListener("click",this.closeMenu),this.openOnHover?this._trigger?.addEventListener("mouseover",this.openMenu):this.openOnContext?this._trigger?.addEventListener("contextmenu",this.openMenu):this._trigger?.addEventListener("click",this.toggleMenu)}removeListeners(){document.removeEventListener("click",this.handleDocumentClick),this._trigger?.removeEventListener("keydown",this.handleTriggerKeydown),this.persistOnItemClick||this._menuList?.removeEventListener("click",this.closeMenu),this.openOnHover&&this._trigger?.removeEventListener("mouseover",this.openMenu),this.openOnContext?this._trigger?.removeEventListener("contextmenu",this.openMenu):this._trigger?.removeEventListener("click",this.toggleMenu)}handleMenuKeydown(e){if(e.defaultPrevented)return;switch(e.key){case Wa:e.preventDefault(),this.open&&(this.closeMenu(),this.focusTrigger());break;case tl:this.open&&this.closeMenu(),e.shiftKey&&this.focusTrigger();default:return!0}}}Kt([m,s({attribute:"open-on-hover",mode:"boolean"})],at.prototype,"openOnHover",2),Kt([m,s({attribute:"open-on-context",mode:"boolean"})],at.prototype,"openOnContext",2),Kt([m,s({attribute:"close-on-scroll",mode:"boolean"})],at.prototype,"closeOnScroll",2),Kt([m,s({attribute:"persist-on-item-click",mode:"boolean"})],at.prototype,"persistOnItemClick",2),Kt([m,s({mode:"boolean"})],at.prototype,"open",2),Kt([m],at.prototype,"slottedMenuList",2),Kt([m],at.prototype,"slottedTriggers",2);function av(){return v`<template ?open-on-hover="${o=>o.openOnHover}" ?open-on-context="${o=>o.openOnContext}" ?close-on-scroll="${o=>o.closeOnScroll}" ?persist-on-item-click="${o=>o.persistOnItemClick}" @keydown="${(o,e)=>o.handleMenuKeydown(e.event)}"><slot name="trigger" ${Y({property:"slottedTriggers",filter:to()})}></slot><span ${Fe("positioningContainer")} part="positioning-container" class="positioning-container" ?hidden="${o=>!o.open}"><slot ${Y({property:"slottedMenuList",filter:to()})}></slot></span></template>`}const lp=av(),cp=f`
430
+ :host{position:relative;z-index:var(--z-index-menu,1)}.positioning-container{position:fixed;top:0;left:0;transform:translate(0,0)}`,nv=at.compose({name:`${x.prefix}-menu`,template:lp,styles:cp});class dp extends I{}const iv=Yo,sv=Qo,lv=Zo,up=Ki({end:v.partial(`
431
+ <svg slot="end" fill="currentColor" aria-hidden="true" width="1em" height="1em" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg">
432
+ <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>
433
+ </svg>
434
+ `)}),cv=dp.compose({name:`${x.prefix}-menu-button`,template:up,styles:xo}),le={menuitem:"menuitem",menuitemcheckbox:"menuitemcheckbox",menuitemradio:"menuitemradio"},dv={[le.menuitem]:"menuitem",[le.menuitemcheckbox]:"menuitemcheckbox",[le.menuitemradio]:"menuitemradio"};var uv=Object.defineProperty,hv=Object.getOwnPropertyDescriptor,Ut=(o,e,t,r)=>{for(var a=r>1?void 0:r?hv(e,t):e,n=o.length-1,i;n>=0;n--)(i=o[n])&&(a=(r?i(e,t,a):i(a))||a);return r&&a&&uv(e,t,a),a};class Pe extends S{constructor(){super(...arguments),this.role=le.menuitem,this.checked=!1,this.focusSubmenuOnLoad=!1,this.handleMenuItemKeyDown=e=>{if(e.defaultPrevented)return!1;switch(e.key){case io:case so:return this.invoke(),!1;case ao:return this.expanded&&this.submenu?this.submenu.focus():this.expandAndFocus(),!1;case Wa:if(this.expanded)return this.closeSubMenu(),!1;break;case ro:if(this.expanded)return this.closeSubMenu(),!1}return!0},this.handleMenuItemClick=e=>(e.defaultPrevented||this.disabled||this.invoke(),!1),this.submenuLoaded=()=>{this.focusSubmenuOnLoad&&(this.focusSubmenuOnLoad=!1,this.submenu&&(this.submenu.focus(),this.setAttribute("tabindex","-1")))},this.handleMouseOver=e=>(this.disabled||!this.hasSubmenu||this.expanded||(this.expanded=!0),!1),this.handleMouseOut=e=>(!this.expanded||this.contains(document.activeElement)||(this.expanded=!1),!1),this.closeSubMenu=()=>{this.expanded=!1,this.focus()},this.expandAndFocus=()=>{this.hasSubmenu&&(this.focusSubmenuOnLoad=!0,this.expanded=!0)},this.invoke=()=>{if(!this.disabled)switch(this.role){case le.menuitemcheckbox:this.checked=!this.checked;break;case le.menuitem:if(this.hasSubmenu){this.expandAndFocus();break}this.$emit("change");break;case le.menuitemradio:this.checked||(this.checked=!0);break}}}expandedChanged(e,t){this.$fastController.isConnected&&(t&&this.submenu&&this.updateSubmenu(),this.$emit("expanded-change",this,{bubbles:!1}))}checkedChanged(e,t){this.$fastController.isConnected&&this.$emit("change")}get hasSubmenu(){return!!this.submenu}slottedSubmenuChanged(e,t){t.length&&(this.submenu=t[0],this.updateSubmenu())}disconnectedCallback(){this.cleanup?.(),super.disconnectedCallback()}updateSubmenu(){this.cleanup?.(),!(!this.submenu||!this.expanded)&&ue.enqueue(()=>{this.cleanup=ip(this,this.submenuContainer,async()=>{const e=["left-start","right-start"],{x:t,y:r}=await sp(this,this.submenuContainer,{middleware:[Zb(),Xh({apply:({availableWidth:a,rects:n})=>{a<n.floating.width&&e.push("bottom-end","top-end")}}),Gh({fallbackPlacements:e})],placement:"right-start",strategy:"fixed"});Object.assign(this.submenuContainer.style,{left:`${t}px`,position:"fixed",top:`${r}px`}),this.submenuLoaded()})})}}Ut([s({mode:"boolean"})],Pe.prototype,"disabled",2),Ut([s({mode:"boolean"})],Pe.prototype,"expanded",2),Ut([s],Pe.prototype,"role",2),Ut([s({mode:"boolean"})],Pe.prototype,"checked",2),Ut([s({mode:"boolean"})],Pe.prototype,"hidden",2),Ut([m],Pe.prototype,"slottedSubmenu",2),Ut([m],Pe.prototype,"submenu",2),Te(Pe,Ye);const hp=v.partial('<svg fill="currentColor" class="___12fm75w f1w7gpdv fez10in fg4l7m0" 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>'),pv=v.partial('<svg fill="currentColor" class="___12fm75w f1w7gpdv fez10in fg4l7m0" 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 gv(o={}){return v`<template aria-haspopup="${e=>e.hasSubmenu?"menu":void 0}" aria-checked="${e=>e.role!==le.menuitem?e.checked:void 0}" aria-disabled="${e=>e.disabled}" aria-expanded="${e=>e.expanded}" @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)}">${eo(e=>e.role===le.menuitemcheckbox,v`<div part="input-container" class="input-container"><span part="checkbox" class="checkbox"><slot name="checkbox-indicator">${Q(o.checkboxIndicator)}</slot></span></div>`)} ${eo(e=>e.role===le.menuitemradio,v`<div part="input-container" class="input-container"><span part="radio" class="radio"><slot name="radio-indicator">${Q(o.radioIndicator)}</slot></span></div>`)}</div>${Ze(o)}<span class="content" part="content"><slot></slot></span>${Qe(o)} ${eo(e=>e.hasSubmenu,v`<div part="expand-collapse-glyph-container" class="expand-collapse-glyph-container"><span part="expand-collapse" class="expand-collapse"><slot name="expand-collapse-indicator">${Q(o.expandCollapseGlyph)}</slot></span></div>`)}<span ?hidden="${e=>!e.expanded}" class="submenu-container" part="submenu-container" ${Fe("submenuContainer")}><slot name="submenu" ${Y({property:"slottedSubmenu",filter:to("[role='menu']")})}></slot></span></template>`}const pp=gv({checkboxIndicator:hp,expandCollapseGlyph:pv,radioIndicator:hp}),gp=f`
435
+ ${F("grid")}
436
+
437
+ :host{grid-template-columns:20px 20px auto 20px;align-items:center;grid-gap:4px;height:32px;background:${_};font:${T} ${P} / ${A} ${y};border-radius:${B};color:${ne};padding:0 10px;cursor:pointer;overflow:visible;contain:layout}:host(:hover){background:${co}}.content{white-space:nowrap;flex-grow:1;grid-column:auto / span 2;padding:0 2px}.checkbox,.radio{display:none}.input-container,.expand-collapse-glyph-container,::slotted([slot='start']),::slotted([slot='end']),:host([checked]) .checkbox,:host([checked]) .radio{display:inline-flex;justify-content:center;align-items:center;color:${ne}}.expand-collapse-glyph-container,::slotted([slot='start']),::slotted([slot='end']){height:32px;font-size:${et};width:fit-content}.input-container{width:20px}::slotted([slot='end']){color:${W};font:${T} ${R} / ${se} ${y};white-space:nowrap;grid-column:4 / span 1;justify-self:flex-end}.expand-collapse-glyph-container{grid-column:4 / span 1;justify-self:flex-end}:host(:hover) .input-container,:host(:hover) .expand-collapse-glyph-container,:host(:hover) .content{color:${St}}:host([icon]:hover) ::slotted([slot='start']){color:${No}}:host(:active){background-color:${Ar}}:host(:active) .input-container,:host(:active) .expand-collapse-glyph-container,:host(:active) .content{color:${Pt}}:host(:active) ::slotted([slot='start']){color:${Lo}}:host([disabled]){background-color:${Tt}}:host([disabled]) .content,:host([disabled]) .expand-collapse-glyph-container,:host([disabled]) ::slotted([slot='end']),:host([disabled]) ::slotted([slot='start']){color:${k}}:host([data-indent]){display:grid}:host([data-indent='1']) .content{grid-column:2 / span 1}:host([data-indent='1'][role='menuitemcheckbox']){display:grid}:host([data-indent='2'][aria-haspopup='menu']) ::slotted([slot='end']){grid-column:4 / span 1}:host([data-indent='2'][aria-haspopup='menu']) .expand-collapse-glyph-container{grid-column:5 / span 1}:host([data-indent='1']) .content{grid-column:2 / span 1}:host([data-indent='1'][role='menuitemcheckbox']) .content,:host([data-indent='1'][role='menuitemradio']) .content{grid-column:auto / span 1}:host([icon]) ::slotted([slot='end']),:host([data-indent='1']) ::slotted([slot='end']){grid-column:4 / span 1;justify-self:flex-end}:host([data-indent='2']){display:grid;grid-template-columns:20px 20px auto auto}:host([data-indent='2']) .content{grid-column:3 / span 1}:host([data-indent='2']) .input-container{grid-column:1 / span 1}:host([data-indent='2']) ::slotted([slot='start']){grid-column:2 / span 1}:host([aria-haspopup='menu']){grid-template-columns:20px auto auto 20px}:host([data-indent='2'][aria-haspopup='menu']){grid-template-columns:20px 20px auto auto 20px}:host([aria-haspopup='menu']) ::slotted([slot='end']){grid-column:3 / span 1;justify-self:flex-end}:host([data-indent='2'][aria-haspopup='menu']) ::slotted([slot='end']){grid-column:4 / span 1;justify-self:flex-end}`,fv=Pe.compose({name:`${x.prefix}-menu-item`,template:pp,styles:gp});var bv=Object.defineProperty,vv=Object.getOwnPropertyDescriptor,mv=(o,e,t,r)=>{for(var a=r>1?void 0:r?vv(e,t):e,n=o.length-1,i;n>=0;n--)(i=o[n])&&(a=(r?i(e,t,a):i(a))||a);return r&&a&&bv(e,t,a),a};const as=class cs extends S{constructor(){super(...arguments),this.expandedItem=null,this.focusIndex=-1,this.isNestedMenu=()=>this.parentElement!==null&&el(this.parentElement)&&this.parentElement.getAttribute("role")==="menuitem",this.handleFocusOut=e=>{if(!this.contains(e.relatedTarget)&&this.menuItems!==void 0){this.collapseExpandedItem();const t=this.menuItems.findIndex(this.isFocusableElement);this.menuItems[this.focusIndex].setAttribute("tabindex","-1"),this.menuItems[t].setAttribute("tabindex","0"),this.focusIndex=t}},this.handleItemFocus=e=>{const t=e.target;this.menuItems!==void 0&&t!==this.menuItems[this.focusIndex]&&(this.menuItems[this.focusIndex].setAttribute("tabindex","-1"),this.focusIndex=this.menuItems.indexOf(t),t.setAttribute("tabindex","0"))},this.handleExpandedChanged=e=>{if(e.defaultPrevented||e.target===null||this.menuItems===void 0||this.menuItems.indexOf(e.target)<0)return;e.preventDefault();const t=e.target;if(this.expandedItem!==null&&t===this.expandedItem&&t.expanded===!1){this.expandedItem=null;return}t.expanded&&(this.expandedItem!==null&&this.expandedItem!==t&&(this.expandedItem.expanded=!1),this.menuItems[this.focusIndex].setAttribute("tabindex","-1"),this.expandedItem=t,this.focusIndex=this.menuItems.indexOf(t),t.setAttribute("tabindex","0"))},this.changeHandler=e=>{if(this.menuItems===void 0)return;const t=e.target,r=this.menuItems.indexOf(t);if(r!==-1&&t.role==="menuitemradio"&&t.checked===!0){for(let n=r-1;n>=0;--n){const i=this.menuItems[n],c=i.getAttribute("role");if(c===le.menuitemradio&&(i.checked=!1),c==="separator")break}const a=this.menuItems.length-1;for(let n=r+1;n<=a;++n){const i=this.menuItems[n],c=i.getAttribute("role");if(c===le.menuitemradio&&(i.checked=!1),c==="separator")break}}},this.isMenuItemElement=e=>e instanceof Pe||el(e)&&e.getAttribute("role")in cs.focusableElementRoles,this.isFocusableElement=e=>this.isMenuItemElement(e)}itemsChanged(e,t){this.$fastController.isConnected&&this.menuItems!==void 0&&this.setItems()}connectedCallback(){super.connectedCallback(),ue.enqueue(()=>{this.setItems()}),this.addEventListener("change",this.changeHandler)}disconnectedCallback(){super.disconnectedCallback(),this.removeItemListeners(),this.menuItems=void 0,this.removeEventListener("change",this.changeHandler)}focus(){this.setFocus(0,1)}collapseExpandedItem(){this.expandedItem!==null&&(this.expandedItem.expanded=!1,this.expandedItem=null)}handleMenuKeyDown(e){if(!(e.defaultPrevented||this.menuItems===void 0))switch(e.key){case oo:this.setFocus(this.focusIndex+1,1);return;case no:this.setFocus(this.focusIndex-1,-1);return;case wr:this.setFocus(this.menuItems.length-1,-1);return;case Sr:this.setFocus(0,1);return;default:return!0}}removeItemListeners(e=this.items){e.forEach(t=>{t.removeEventListener("focus",this.handleItemFocus),t.removeEventListener("expanded-changed",this.handleExpandedChanged),N.getNotifier(t).unsubscribe(this,"hidden")})}static elementIndent(e){const t=e.getAttribute("role"),r=e.querySelector("[slot=start]");return t&&t!==le.menuitem?r?2:1:r?1:0}setItems(){const e=Array.from(this.children);this.removeItemListeners(e),e.forEach(n=>N.getNotifier(n).subscribe(this,"hidden"));const t=e.filter(n=>!n.hasAttribute("hidden"));this.menuItems=t;const r=this.menuItems.filter(this.isMenuItemElement);r.length&&(this.focusIndex=0),r.forEach((n,i)=>{n.setAttribute("tabindex",i===0?"0":"-1"),n.addEventListener("expanded-change",this.handleExpandedChanged),n.addEventListener("focus",this.handleItemFocus)});const a=this.menuItems?.filter(this.isMenuItemElement);a?.forEach((n,i)=>{const c=a?.reduce((u,d)=>{const l=cs.elementIndent(d);return Math.max(u,l)},0);n instanceof Pe&&n.setAttribute("data-indent",`${c}`)})}handleChange(e,t){t==="hidden"&&this.setItems()}setFocus(e,t){if(this.menuItems!==void 0)for(;e>=0&&e<this.menuItems.length;){const r=this.menuItems[e];if(this.isFocusableElement(r)){this.focusIndex>-1&&this.menuItems.length>=this.focusIndex-1&&this.menuItems[this.focusIndex].setAttribute("tabindex","-1"),this.focusIndex=e,r.setAttribute("tabindex","0"),r.focus();break}e+=t}}};as.focusableElementRoles=le,mv([m],as.prototype,"items",2);let fp=as;function yv(){return v`<template slot="${o=>o.slot?o.slot:o.isNestedMenu()?"submenu":void 0}" role="menu" @keydown="${(o,e)=>o.handleMenuKeyDown(e.event)}" @focusout="${(o,e)=>o.handleFocusOut(e.event)}"><slot ${Y("items")}></slot></template>`}const bp=yv(),vp=f`
438
+ ${F("flex")}
439
+
440
+ :host{flex-direction:column;height:fit-content;max-width:300px;min-width:160px;width:auto;background-color:${_};border:1px solid ${me};border-radius:${B};box-shadow:${Jr};padding:4px;row-gap:2px}`,$v=fp.compose({name:`${x.prefix}-menu-list`,template:bp,styles:vp});var kv=Object.defineProperty,xv=Object.getOwnPropertyDescriptor,Ba=(o,e,t,r)=>{for(var a=r>1?void 0:r?xv(e,t):e,n=o.length-1,i;n>=0;n--)(i=o[n])&&(a=(r?i(e,t,a):i(a))||a);return r&&a&&kv(e,t,a),a};class So extends S{constructor(){super(...arguments),this.percentComplete=0}valueChanged(){this.updatePercentComplete()}minChanged(){this.$fastController.isConnected&&this.updatePercentComplete()}maxChanged(){this.$fastController.isConnected&&this.updatePercentComplete()}connectedCallback(){super.connectedCallback(),this.updatePercentComplete()}updatePercentComplete(){const e=typeof this.min=="number"?this.min:0,t=typeof this.max=="number"?this.max:100,r=typeof this.value=="number"?this.value:0,a=t-e;this.percentComplete=a===0?0:Math.fround((r-e)/a*100)}}Ba([s({converter:ve})],So.prototype,"value",2),Ba([s({converter:ve})],So.prototype,"min",2),Ba([s({converter:ve})],So.prototype,"max",2),Ba([m],So.prototype,"percentComplete",2);var Bv=Object.defineProperty,wv=Object.getOwnPropertyDescriptor,ns=(o,e,t,r)=>{for(var a=r>1?void 0:r?wv(e,t):e,n=o.length-1,i;n>=0;n--)(i=o[n])&&(a=(r?i(e,t,a):i(a))||a);return r&&a&&Bv(e,t,a),a};class sr extends So{constructor(){super(...arguments),this.validationState=null}}ns([s],sr.prototype,"thickness",2),ns([s],sr.prototype,"shape",2),ns([s({attribute:"validation-state"})],sr.prototype,"validationState",2);const Sv={medium:"medium",large:"large"},Pv={rounded:"rounded",square:"square"},Cv={success:"success",warning:"warning",error:"error"},mp=f`
441
+ ${F("flex")}
442
+
443
+ :host{align-items:center;height:2px;overflow-x:hidden;border-radius:${B};contain:content}:host([thickness='large']),:host([thickness='large']) .progress,:host([thickness='large']) .determinate{height:4px}:host([shape='square']),:host([shape='square']) .progress,:host([shape='square']) .determinate{border-radius:0}:host([validation-state='error']) .determinate{background-color:${jo}}:host([validation-state='error']) .indeterminate-indicator-1,:host([validation-state='error']) .indeterminate-indicator-2{background:linear-gradient(
444
+ to right,${Vo} 0%,${jo} 50%,${Vo}
445
+ )}:host([validation-state='warning']) .determinate{background-color:${Wo}}:host([validation-state='warning']) .indeterminate-indicator-1,:host([validation-state='warning']) .indeterminate-indicator-2{background:linear-gradient(
446
+ to right,${Rr} 0%,${Wo} 50%,${Rr}
447
+ )}:host([validation-state='success']) .determinate{background-color:${Go}}:host([validation-state='success']) .indeterminate-indicator-1,:host([validation-state='success']) .indeterminate-indicator-2{background:linear-gradient(
448
+ to right,${_r} 0%,${Go} 50%,${_r}
449
+ )}.progress{background-color:${zr};border-radius:${B};width:100%;height:2px;display:flex;align-items:center;position:relative}.determinate{background-color:${ut};border-radius:${B};height:2px;transition:all 0.2s ease-in-out;display:flex}.indeterminate-indicator-1{position:absolute;opacity:0;height:100%;background:linear-gradient(
450
+ to right,${zt} 0%,${ut} 50%,${zt}
451
+ );border-radius:${B};animation-timing-function:cubic-bezier(0.4,0,0.6,1);width:40%;animation:indeterminate-1 3s infinite}.indeterminate-indicator-2{position:absolute;opacity:0;height:100%;background:linear-gradient(
452
+ to right,${zt} 0%,${ut} 50%,${zt}
453
+ );border-radius:${B};animation-timing-function:cubic-bezier(0.4,0,0.6,1);width:60%;animation:indeterminate-2 3s infinite}@keyframes indeterminate-1{0%{opacity:1;transform:translateX(-100%)}70%{opacity:1;transform:translateX(300%)}70.01%{opacity:0}100%{opacity:0;transform:translateX(300%)}}@keyframes indeterminate-2{0%{opacity:0;transform:translateX(-150%)}29.99%{opacity:0}30%{opacity:1;transform:translateX(-150%)}100%{transform:translateX(166.66%);opacity:1}}`.withBehaviors(Ee(f`
454
+ .progress{background-color:HighlightText}.determinate,:host([validation-state='success']) .determinate,:host([validation-state='warning']) .determinate,:host([validation-state='error']) .determinate,:host([validation-state='success']) ..indeterminate-indicator-1,:host([validation-state='success']) ..indeterminate-indicator-2,:host([validation-state='warning']) .indeterminate-indicator-1,:host([validation-state='warning']) .indeterminate-indicator-2,:host([validation-state='error']) .indeterminate-indicator-1,:host([validation-state='error']) .indeterminate-indicator-2{background-color:Highlight}`));function Fv(o={}){return v`<template role="progressbar" aria-valuenow="${e=>e.value}" aria-valuemin="${e=>e.min}" aria-valuemax="${e=>e.max}">${eo(e=>typeof e.value=="number",v`<div class="progress" part="progress" slot="determinate"><div class="determinate" part="determinate" style="width: ${e=>e.percentComplete}%"></div></div>`,v`<div class="progress" part="progress" slot="indeterminate"><slot name="indeterminate">${Q(o.indeterminateIndicator1)} ${Q(o.indeterminateIndicator2)}</slot></div>`)}</template>`}const yp=Fv({indeterminateIndicator1:'<span class="indeterminate-indicator-1" part="indeterminate-indicator-1></span>',indeterminateIndicator2:'<span class="indeterminate-indicator-2" part="indeterminate-indicator-2"></span>'}),Tv=sr.compose({name:`${x.prefix}-progress-bar`,template:yp,styles:mp});class Av extends S{}class Iv extends Yi(Av){constructor(){super(...arguments),this.proxy=document.createElement("input")}}var zv=Object.defineProperty,Nv=Object.getOwnPropertyDescriptor,$p=(o,e,t,r)=>{for(var a=r>1?void 0:r?Nv(e,t):e,n=o.length-1,i;n>=0;n--)(i=o[n])&&(a=(r?i(e,t,a):i(a))||a);return r&&a&&zv(e,t,a),a};class Ge extends Iv{constructor(){super(),this.initialValue="on",this.proxy.setAttribute("type","radio")}get radioGroup(){return this.closest("[role=radiogroup]")}defaultCheckedChanged(){this.$fastController.isConnected&&!this.dirtyChecked&&(this.isInsideRadioGroup()||(this.checked=this.defaultChecked??!1,this.dirtyChecked=!1))}connectedCallback(){super.connectedCallback(),this.validate(),this.parentElement?.getAttribute("role")!=="radiogroup"&&this.getAttribute("tabindex")===null&&(this.disabled||this.setAttribute("tabindex","0")),this.checkedAttribute&&(this.dirtyChecked||this.isInsideRadioGroup()||(this.checked=this.defaultChecked??!1,this.dirtyChecked=!1))}isInsideRadioGroup(){return this.radioGroup!==null}keypressHandler(e){switch(e.key){case so:!this.checked&&!this.radioGroup?.readOnly&&(this.checked=!0);return}return!0}}$p([m],Ge.prototype,"name",2),$p([m],Ge.prototype,"defaultSlottedNodes",2);const kp=f`
455
+ ${F("inline-grid")}
456
+
457
+ :host{grid-auto-flow:column;grid-template-columns:max-content;gap:${fe};align-items:center;height:32px;cursor:pointer;outline:none;position:relative;user-select:none;color:blue;color:var(--state-color,${W});padding-inline-end:${V};--control-border-color:${Ae};--checked-indicator-background-color:${zo};--state-color:${W}}:host([disabled]){--control-border-color:${k};--checked-indicator-background-color:${k};--state-color:${k}}.label{cursor:pointer;font-family:${y};font-size:${P};font-weight:${T};line-height:${A}}.label__hidden{display:none}.control{box-sizing:border-box;align-items:center;border:1px solid var(--control-border-color,${Ae});border-radius:${Z};display:flex;height:16px;justify-content:center;margin:${H} ${V};position:relative;width:16px;justify-self:center}.checked-indicator{border-radius:${Z};height:10px;opacity:0;width:10px}:host([aria-checked='false']:hover) .control{color:${ne}}:host(:focus-visible){border-radius:${ge};box-shadow:0 0 0 3px ${Se};outline:1px solid ${Et}}:host(:hover) .control{border-color:${Nt}}:host(:active) .control{border-color:${Lt}}:host([aria-checked='true']) .checked-indicator{opacity:1}:host([aria-checked='true']) .control{border-color:var(--control-border-color,${Ae})}:host([aria-checked='true']) .checked-indicator{background-color:var(--checked-indicator-background-color,${zo})}:host([aria-checked='true']:hover) .control{border-color:${go}}:host([aria-checked='true']:hover) .checked-indicator{background-color:${go}}:host([aria-checked='true']:active) .control{border-color:${Ro}}:host([aria-checked='true']:active) .checked-indicator{background:${Lo}}:host([disabled]){color:${k};pointer-events:none}:host([disabled]) .control{pointer-events:none;border-color:${k}}:host([disabled]) .checked-indicator{background:${k}}`.withBehaviors(Ee(f`
458
+ :host .control{border-color:InactiveBorder}:host([aria-checked='true']) .checked-indicator,:host([aria-checked='true']:active) .checked-indicator,:host([aria-checked='true']:hover) .checked-indicator{background-color:Highlight;border-color:ActiveBorder}`));function Lv(o={}){return v`<template role="radio" aria-checked="${e=>e.checked}" aria-required="${e=>e.required}" aria-disabled="${e=>e.disabled}" @keypress="${(e,t)=>e.keypressHandler(t.event)}"><div part="control" class="control"><slot name="checked-indicator">${Q(o.checkedIndicator)}</slot></div><label part="label" class="${e=>["label",!e.defaultSlottedNodes?.length&&"label__hidden"].filter(Boolean).join(" ")}"><slot ${Y({property:"defaultSlottedNodes",filter:ol})}></slot></label></template>`}const xp=Lv({checkedIndicator:v`<div part="checked-indicator" class="checked-indicator"></div>`}),Dv=Ge.compose({name:`${x.prefix}-radio`,template:xp,styles:kp}),is=he;var Ov=Object.defineProperty,Ev=Object.getOwnPropertyDescriptor,yt=(o,e,t,r)=>{for(var a=r>1?void 0:r?Ev(e,t):e,n=o.length-1,i;n>=0;n--)(i=o[n])&&(a=(r?i(e,t,a):i(a))||a);return r&&a&&Ov(e,t,a),a};class We extends S{constructor(){super(...arguments),this.stacked=!1,this.orientation=is.horizontal,this.radioChangeHandler=e=>{const t=e.target;t.checked&&(this.slottedRadioButtons.forEach(r=>{r instanceof Ge&&r!==t&&(r.checked=!1,this.isInsideFoundationToolbar||r.setAttribute("tabindex","-1"))}),this.selectedRadio=t,this.value=t.value,t.setAttribute("tabindex","0"),this.focusedRadio=t),e.stopPropagation()},this.moveToRadioByIndex=(e,t)=>{const r=e[t];this.isInsideToolbar||(r.setAttribute("tabindex","0"),r.checked=!0,this.selectedRadio=r),this.focusedRadio=r,r.focus()},this.moveRightOffGroup=()=>{this.nextElementSibling?.focus()},this.moveLeftOffGroup=()=>{this.previousElementSibling?.focus()},this.focusOutHandler=e=>{const t=this.slottedRadioButtons,r=e.target,a=r!==null?t.indexOf(r):0,n=this.focusedRadio?t.indexOf(this.focusedRadio):-1;return(n===0&&a===n||n===t.length-1&&n===a)&&(this.selectedRadio?(this.focusedRadio=this.selectedRadio,this.isInsideFoundationToolbar||(this.selectedRadio.setAttribute("tabindex","0"),t.forEach(i=>{i!==this.selectedRadio&&i.setAttribute("tabindex","-1")}))):(this.focusedRadio=t[0],this.focusedRadio.setAttribute("tabindex","0"),t.forEach(i=>{r instanceof Ge&&i!==this.focusedRadio&&i.setAttribute("tabindex","-1")}))),!0},this.handleDisabledClick=e=>{if(this.disabled){e.preventDefault();return}return!0},this.clickHandler=e=>{if(this.disabled)return;e.preventDefault();const t=e.target;t&&t instanceof Ge&&(t.checked=!0,t.setAttribute("tabindex","0"),this.selectedRadio=t,this.focusedRadio=t)},this.shouldMoveOffGroupToTheRight=(e,t,r)=>e===t.length&&this.isInsideToolbar&&r===ao,this.shouldMoveOffGroupToTheLeft=(e,t)=>(this.focusedRadio?e.indexOf(this.focusedRadio)-1:0)<0&&this.isInsideToolbar&&t===ro,this.checkFocusedRadio=()=>{this.focusedRadio!==null&&!this.focusedRadio.checked&&(this.focusedRadio.checked=!0,this.focusedRadio.setAttribute("tabindex","0"),this.focusedRadio.focus(),this.selectedRadio=this.focusedRadio)},this.moveRight=e=>{const t=this.slottedRadioButtons;let r=0;if(r=this.focusedRadio?t.indexOf(this.focusedRadio)+1:1,this.shouldMoveOffGroupToTheRight(r,t,e.key)){this.moveRightOffGroup();return}else r===t.length&&(r=0);for(;r<t.length&&t.length>1;)if(t[r].disabled){if(this.focusedRadio&&r===t.indexOf(this.focusedRadio))break;if(r+1>=t.length){if(this.isInsideToolbar)break;r=0}else r+=1}else{this.moveToRadioByIndex(t,r);break}},this.moveLeft=e=>{const t=this.slottedRadioButtons;let r=0;if(r=this.focusedRadio?t.indexOf(this.focusedRadio)-1:0,r=r<0?t.length-1:r,this.shouldMoveOffGroupToTheLeft(t,e.key)){this.moveLeftOffGroup();return}for(;r>=0&&t.length>1;)if(t[r].disabled){if(this.focusedRadio&&r===t.indexOf(this.focusedRadio))break;r-1<0?r=t.length-1:r-=1}else{this.moveToRadioByIndex(t,r);break}},this.keydownHandler=e=>{const t=e.key;if(t in Ig&&(this.isInsideFoundationToolbar||this.disabled))return!0;switch(t){case io:{this.checkFocusedRadio();break}case ao:case oo:{this.direction===we.ltr?this.moveRight(e):this.moveLeft(e);break}case ro:case no:{this.direction===we.ltr?this.moveLeft(e):this.moveRight(e);break}default:return!0}}}nameChanged(){this.slottedRadioButtons&&this.slottedRadioButtons.forEach(e=>{e.setAttribute("name",this.name)})}valueChanged(){this.slottedRadioButtons&&this.slottedRadioButtons.forEach(e=>{e instanceof Ge&&e.value===this.value&&(e.checked=!0,this.selectedRadio=e)}),this.$emit("change")}slottedRadioButtonsChanged(e,t){this.slottedRadioButtons&&this.slottedRadioButtons.length>0&&this.setupRadioButtons()}get parentToolbar(){return this.closest('[role="toolbar"]')}get isInsideToolbar(){return this.parentToolbar??!1}get isInsideFoundationToolbar(){return!!this.parentToolbar?.hasOwnProperty("$fastController")}connectedCallback(){super.connectedCallback(),this.direction=Ka(this),this.setupRadioButtons()}disconnectedCallback(){this.slottedRadioButtons.forEach(e=>{e instanceof Ge&&e.removeEventListener("change",this.radioChangeHandler)})}setupRadioButtons(){const e=this.slottedRadioButtons.filter(a=>a.hasAttribute("checked")),t=e?e.length:0;if(t>1){const a=e[t-1];a.checked=!0}let r=!1;if(this.slottedRadioButtons.forEach(a=>{a instanceof Ge&&(this.name!==void 0&&a.setAttribute("name",this.name),this.value&&this.value===a.value?(this.selectedRadio=a,this.focusedRadio=a,a.checked=!0,a.setAttribute("tabindex","0"),r=!0):(this.isInsideFoundationToolbar||a.setAttribute("tabindex","-1"),a.checked=!1),a.addEventListener("change",this.radioChangeHandler))}),this.value===void 0&&this.slottedRadioButtons.length>0){const a=this.slottedRadioButtons.filter(i=>i.hasAttribute("checked")),n=a!==null?a.length:0;if(n>0&&!r){const i=a[n-1];i.checked=!0,this.focusedRadio=i,i.setAttribute("tabindex","0")}else this.slottedRadioButtons[0].setAttribute("tabindex","0"),this.focusedRadio=this.slottedRadioButtons[0]}}}yt([s({mode:"boolean"})],We.prototype,"stacked",2),yt([s({attribute:"readonly",mode:"boolean"})],We.prototype,"readOnly",2),yt([s({attribute:"disabled",mode:"boolean"})],We.prototype,"disabled",2),yt([s],We.prototype,"name",2),yt([s],We.prototype,"value",2),yt([s],We.prototype,"orientation",2),yt([m],We.prototype,"childItems",2),yt([m],We.prototype,"slottedRadioButtons",2);const Bp=f`
459
+ ${F("flex")}
460
+
461
+ :host{align-items:flex-start;flex-direction:column;row-gap:${H}}:host([disabled]) ::slotted([role='radio']){--control-border-color:${k};--checked-indicator-background-color:${k};--state-color:${k}}::slotted([slot='label']){color:${O};padding:${H} ${V} ${H} ${fe};font:${T} ${P} / ${A} ${y};cursor:default}.positioning-region{display:flex;flex-wrap:wrap}:host([orientation='vertical']) .positioning-region{flex-direction:column;justify-content:flex-start}:host([orientation='horizontal']) .positioning-region{flex-direction:row}:host([orientation='horizontal']) ::slotted([role='radio']){padding-inline-end:${V}}:host([orientation='horizontal'][stacked]) ::slotted([role='radio']){display:flex;flex-direction:column;padding-inline:${V};height:auto;align-items:center;justify-content:center}:host([disabled]) ::slotted([role='radio']){pointer-events:none}`;function Mv(){return v`<template role="radiogroup" tabindex="${o=>o.disabled?-1:void 0}" aria-disabled="${o=>o.disabled}" aria-readonly="${o=>o.readOnly}" aria-orientation="${o=>o.orientation}" @click="${(o,e)=>o.clickHandler(e.event)}" @mousedown="${(o,e)=>o.handleDisabledClick(e.event)}" @keydown="${(o,e)=>o.keydownHandler(e.event)}" @focusout="${(o,e)=>o.focusOutHandler(e.event)}"><slot name="label"></slot><div class="positioning-region ${o=>o.orientation===is.horizontal?"horizontal":"vertical"}" part="positioning-region"><slot ${Y({property:"slottedRadioButtons",filter:to("[role=radio]")})}></slot></div></template>`}const wp=Mv(),Hv=We.compose({name:`${x.prefix}-radio-group`,template:wp,styles:Bp}),_v={small:"small",medium:"medium"},Rv=he,Sp={singleValue:"single-value"};class Vv extends S{}class jv extends Ui(Vv){constructor(){super(...arguments),this.proxy=document.createElement("input")}}function Pp(o,e,t,r){let a=qa(0,1,(o-e)/(t-e));return r===we.rtl&&(a=1-a),a}var Gv=Object.defineProperty,Wv=Object.getOwnPropertyDescriptor,te=(o,e,t,r)=>{for(var a=r>1?void 0:r?Wv(e,t):e,n=o.length-1,i;n>=0;n--)(i=o[n])&&(a=(r?i(e,t,a):i(a))||a);return r&&a&&Gv(e,t,a),a};class G extends jv{constructor(){super(...arguments),this.direction=we.ltr,this.isDragging=!1,this.trackWidth=0,this.trackMinWidth=0,this.trackHeight=0,this.trackLeft=0,this.trackMinHeight=0,this.valueTextFormatter=()=>null,this.min=0,this.max=10,this.orientation=he.horizontal,this.mode=Sp.singleValue,this.keypressHandler=e=>{if(!(this.readOnly||this.disabled)){if(e.key===Sr)e.preventDefault(),this.direction!==we.rtl&&this.orientation!==he.vertical?this.value=`${this.min}`:this.value=`${this.max}`;else if(e.key===wr)e.preventDefault(),this.direction!==we.rtl&&this.orientation!==he.vertical?this.value=`${this.max}`:this.value=`${this.min}`;else if(!e.shiftKey)switch(e.key){case ao:case no:e.preventDefault(),this.increment();break;case ro:case oo:e.preventDefault(),this.decrement();break}}},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.setupListeners=(e=!1)=>{this.addEventListener("keydown",this.keypressHandler),this.addEventListener("mousedown",this.handleMouseDown),e&&(this.removeEventListener("keydown",this.keypressHandler),this.removeEventListener("mousedown",this.handleMouseDown))},this.initialValue="",this.handleThumbMouseDown=e=>{const t=e!==null?window.addEventListener:window.removeEventListener;t("mouseup",this.handleWindowMouseUp),t("mousemove",this.handleMouseMove,{passive:!0}),t("touchmove",this.handleMouseMove,{passive:!0}),t("touchend",this.handleWindowMouseUp),this.isDragging=e!==null},this.handleMouseMove=e=>{if(this.readOnly||this.disabled||e.defaultPrevented)return;const t=window.TouchEvent&&e instanceof TouchEvent?e.touches[0]:e,r=this.orientation===he.horizontal?t.pageX-document.documentElement.scrollLeft-this.trackLeft:t.pageY-document.documentElement.scrollTop;this.value=`${this.calculateNewValue(r)}`},this.handleWindowMouseUp=e=>{this.stopDragging()},this.stopDragging=()=>{this.isDragging=!1,this.handleMouseDown(null),this.handleThumbMouseDown(null)},this.handleMouseDown=e=>{if(e===null||!this.disabled&&!this.readOnly){const t=e!==null?window.addEventListener:window.removeEventListener,r=e!==null?document.addEventListener:document.removeEventListener;if(t("mouseup",this.handleWindowMouseUp),r("mouseleave",this.handleWindowMouseUp),t("mousemove",this.handleMouseMove),e){this.setupTrackConstraints();const a=this.orientation===he.horizontal?e.pageX-document.documentElement.scrollLeft-this.trackLeft:e.pageY-document.documentElement.scrollTop;this.value=`${this.calculateNewValue(a)}`}}}}handleChange(e,t){switch(t){case"min":case"max":case"step":this.handleStepStyles();break}}handleStepStyles(){if(this.step){const e=100/Math.floor((this.max-this.min)/this.step);this.stepStyles!==void 0&&this.$fastController.removeStyles(this.stepStyles),this.stepStyles=f`
462
+ :host{--step-rate:${e}%;color:blue}`,this.$fastController.addStyles(this.stepStyles)}else this.stepStyles!==void 0&&this.$fastController.removeStyles(this.stepStyles)}readOnlyChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.readOnly=this.readOnly)}get valueAsNumber(){return parseFloat(super.value)}set valueAsNumber(e){this.value=e.toString()}valueChanged(e,t){if(this.$fastController.isConnected){const r=parseFloat(t),a=qa(this.min,this.max,this.convertToConstrainedValue(r)).toString();if(a!==t){this.value=a;return}super.valueChanged(e,t),this.setThumbPositionForOrientation(this.direction),this.$emit("change")}}minChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.min=`${this.min}`),this.validate()}maxChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.max=`${this.max}`),this.validate()}stepChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.step=`${this.step}`),this.updateStepMultiplier(),this.validate()}orientationChanged(){this.$fastController.isConnected&&this.setThumbPositionForOrientation(this.direction)}connectedCallback(){super.connectedCallback(),this.proxy.setAttribute("type","range"),this.direction=Ka(this),this.updateStepMultiplier(),this.setupTrackConstraints(),this.setupListeners(),this.setupDefaultValue(),this.setThumbPositionForOrientation(this.direction),N.getNotifier(this).subscribe(this,"max"),N.getNotifier(this).subscribe(this,"min"),N.getNotifier(this).subscribe(this,"step"),this.handleStepStyles()}disconnectedCallback(){super.disconnectedCallback(),this.setupListeners(!0),N.getNotifier(this).unsubscribe(this,"max"),N.getNotifier(this).unsubscribe(this,"min"),N.getNotifier(this).unsubscribe(this,"step")}increment(){const e=this.direction!==we.rtl&&this.orientation!==he.vertical?Number(this.value)+Number(this.stepValue):Number(this.value)+Number(this.stepValue),t=this.convertToConstrainedValue(e),r=t<Number(this.max)?`${t}`:`${this.max}`;this.value=r}decrement(){const e=this.direction!==we.rtl&&this.orientation!==he.vertical?Number(this.value)-Number(this.stepValue):Number(this.value)-Number(this.stepValue),t=this.convertToConstrainedValue(e),r=t>Number(this.min)?`${t}`:`${this.min}`;this.value=r}get stepValue(){return this.step===void 0?1:this.step}setThumbPositionForOrientation(e){const r=(1-Pp(Number(this.value),Number(this.min),Number(this.max),e))*100;this.orientation===he.horizontal?this.position=this.isDragging?`right: ${r}%; transition: none;`:`right: ${r}%; transition: all 0.2s ease;`:this.position=this.isDragging?`top: ${r}%; transition: none;`:`top: ${r}%; transition: all 0.2s ease;`}updateStepMultiplier(){const e=this.stepValue+"",t=this.stepValue%1?e.length-e.indexOf(".")-1:0;this.stepMultiplier=Math.pow(10,t)}get midpoint(){return`${this.convertToConstrainedValue((this.max+this.min)/2)}`}setupDefaultValue(){if(typeof this.value=="string")if(this.value.length===0)this.initialValue=this.midpoint;else{const e=parseFloat(this.value);!Number.isNaN(e)&&(e<this.min||e>this.max)&&(this.value=this.midpoint)}}calculateNewValue(e){this.setupTrackConstraints();const t=Pp(e,this.orientation===he.horizontal?this.trackMinWidth:this.trackMinHeight,this.orientation===he.horizontal?this.trackWidth:this.trackHeight,this.direction),r=(this.max-this.min)*t+this.min;return this.convertToConstrainedValue(r)}convertToConstrainedValue(e){isNaN(e)&&(e=this.min);let t=e-this.min;const r=Math.round(t/this.stepValue),a=t-r*(this.stepMultiplier*this.stepValue)/this.stepMultiplier;return t=a>=Number(this.stepValue)/2?t-a+Number(this.stepValue):t-a,t+this.min}}te([s],G.prototype,"size",2),te([s({attribute:"readonly",mode:"boolean"})],G.prototype,"readOnly",2),te([m],G.prototype,"direction",2),te([m],G.prototype,"isDragging",2),te([m],G.prototype,"position",2),te([m],G.prototype,"trackWidth",2),te([m],G.prototype,"trackMinWidth",2),te([m],G.prototype,"trackHeight",2),te([m],G.prototype,"trackLeft",2),te([m],G.prototype,"trackMinHeight",2),te([m],G.prototype,"valueTextFormatter",2),te([s({converter:ve})],G.prototype,"min",2),te([s({converter:ve})],G.prototype,"max",2),te([s({converter:ve})],G.prototype,"step",2),te([s],G.prototype,"orientation",2),te([s],G.prototype,"mode",2);const Cp=f`
463
+ ${F("inline-grid")} :host{--thumb-size:18px;--thumb-padding:3px;--thumb-translate:calc(var(--thumb-size) * -0.5 + var(--track-width) / 2);--track-overhang:-2px;--track-width:4px;--fast-slider-height:calc(var(--thumb-size) * 10);--slider-direction:90deg;align-items:center;box-sizing:border-box;outline:none;cursor:pointer;user-select:none;border-radius:${ge};touch-action:pan-y;min-width:calc(var(--thumb-size) * 1px);width:100%}:host([size='small']){--thumb-size:14px;--track-width:2px;--thumb-padding:3px}:host([orientation='vertical']){--slider-direction:0deg;height:160px;min-height:var(--thumb-size);touch-action:pan-x;padding:8px 0;width:auto;min-width:auto}:host([disabled]:hover){cursor:initial}:host(:focus-visible){box-shadow:0 0 0 2pt ${Se};outline:1px solid ${Et}}.thumb-cursor:focus{outline:0}.thumb-container{position:absolute;height:var(--thumb-size);width:var(--thumb-size);transition:all 0.2s ease}.thumb-container{transform:translateX(calc(var(--thumb-size) * 0.5)) translateY(calc(var(--thumb-translate) * -1.5))}:host([size='small']) .thumb-container{transform:translateX(calc(var(--thumb-size) * 0.5)) translateY(calc(var(--thumb-translate) * -1.35))}:host([orientation='vertical']) .thumb-container{transform:translateX(calc(var(--thumb-translate) * -1.5)) translateY(calc(var(--thumb-size) * -0.5))}:host([orientation='vertical'][size='small']) .thumb-container{transform:translateX(calc(var(--thumb-translate) * -1.35)) translateY(calc(var(--thumb-size) * -0.5))}.thumb-cursor{height:var(--thumb-size);width:var(--thumb-size);background-color:${ho};border-radius:${Z};box-shadow:inset 0 0 0 var(--thumb-padding) ${_},0 0 0 1px ${Je}}.thumb-cursor:hover{background-color:${At}}.thumb-cursor:active{background-color:${It}}:host([disabled]) .thumb-cursor{background-color:${k};box-shadow:inset 0 0 0 var(--thumb-padding) ${_},0 0 0 1px ${Me}}.positioning-region{position:relative;display:grid}:host([orientation='horizontal']) .positioning-region{margin:0 8px;grid-template-rows:var(--thumb-size) var(--thumb-size)}:host([orientation='vertical']) .positioning-region{margin:8px 0;height:100%;grid-template-columns:var(--thumb-size) var(--thumb-size)}.track{align-self:start;position:absolute;background-color:${Ae};border-radius:${B};overflow:hidden}:host([step]) .track::after{content:'';position:absolute;border-radius:${B};width:100%;inset:0 2px;background-image:repeating-linear-gradient(
464
+ var(--slider-direction),#0000 0%,#0000 calc(var(--step-rate) - 1px),${_} calc(var(--step-rate) - 1px),${_} var(--step-rate)
465
+ )}:host([orientation='vertical'][step]) .track::after{inset:-2px 0}:host([disabled]) .track{background-color:${Tt}}:host([orientation='horizontal']) .track{right:var(--track-overhang);left:var(--track-overhang);align-self:start;height:var(--track-width);grid-row:2 / auto}:host([orientation='vertical']) .track{top:var(--track-overhang);bottom:var(--track-overhang);width:var(--track-width);height:100%;grid-column:2 / auto}.track-start{background-color:${ut};position:absolute;height:100%;left:0;border-radius:${B}}:host([disabled]) .track-start{background-color:${k}}:host(:hover) .track-start{background-color:${At}}:host([disabled]:hover) .track-start{background-color:${k}}.track-start:active{background-color:${It}}:host([orientation='vertical']) .track-start{height:auto;width:100%;bottom:0}`.withBehaviors(Ee(f`
466
+ .track:hover,.track:active,.track{background:WindowText}.thumb-cursor:hover,.thumb-cursor:active,.thumb-cursor{background:ButtonText}:host(:hover) .track-start,.track-start:active,.track-start{background:Highlight}`));function qv(o={}){return v`<template role="slider" tabindex="${e=>e.disabled?null:0}" aria-valuetext="${e=>e.valueTextFormatter(e.value)}" aria-valuenow="${e=>e.value}" aria-valuemin="${e=>e.min}" aria-valuemax="${e=>e.max}" aria-disabled="${e=>e.disabled?!0:void 0}" aria-readonly="${e=>e.readOnly?!0:void 0}" aria-orientation="${e=>e.orientation}" class="${e=>e.orientation}"><div part="positioning-region" class="positioning-region"><div ${Fe("track")} part="track-container" class="track"><slot name="track"></slot><div part="track-start" class="track-start" style="${e=>e.position}"><slot name="track-start"></slot></div></div><slot></slot><div ${Fe("thumb")} part="thumb-container" class="thumb-container" style="${e=>e.position}" @mousedown="${(e,t)=>e.handleThumbMouseDown(t.event)}" @touchstart="${(e,t)=>e.handleThumbMouseDown(t.event)}"><slot name="thumb">${Q(o.thumb)}</slot></div></div></template>`}const Fp=qv({thumb:'<div class="thumb-cursor" tabindex="0"></div>'}),Xv=G.compose({name:`${x.prefix}-slider`,template:Fp,styles:Cp});var Kv=Object.defineProperty,Uv=Object.getOwnPropertyDescriptor,Tp=(o,e,t,r)=>{for(var a=r>1?void 0:r?Uv(e,t):e,n=o.length-1,i;n>=0;n--)(i=o[n])&&(a=(r?i(e,t,a):i(a))||a);return r&&a&&Kv(e,t,a),a};class wa extends So{}Tp([s],wa.prototype,"size",2),Tp([s],wa.prototype,"appearance",2);const Yv={primary:"primary",inverted:"inverted"},Qv={tiny:"tiny",extraSmall:"extra-small",small:"small",medium:"medium",large:"large",extraLarge:"extra-large",huge:"huge"},Ap=44;function Zv(o={}){return v`<template role="progressbar" aria-valuenow="${e=>e.value}" aria-valuemin="${e=>e.min}" aria-valuemax="${e=>e.max}">${eo(e=>typeof e.value=="number",v`<svg class="progress" part="progress" viewBox="0 0 16 16" slot="determinate"><circle class="background" part="background" cx="8px" cy="8px" r="7px"></circle><circle class="determinate" part="determinate" style="stroke-dasharray: ${e=>Ap*e.percentComplete/100}px ${Ap}px" cx="8px" cy="8px" r="7px"></circle></svg>`,v`<slot name="indeterminate">${Q(o.indeterminateIndicator)}</slot>`)}</template>`}const Ip=Zv({indeterminateIndicator:`
467
+ <svg class="progress" part="progress" viewBox="0 0 16 16">
468
+ <circle
469
+ class="background"
470
+ part="background"
471
+ cx="8px"
472
+ cy="8px"
473
+ r="7px"
474
+ ></circle>
475
+ <circle
476
+ class="indeterminate-indicator-1"
477
+ part="indeterminate-indicator-1"
478
+ cx="8px"
479
+ cy="8px"
480
+ r="7px"
481
+ ></circle>
482
+ </svg>
483
+ `}),zp=f`
484
+ ${F("flex")}
485
+
486
+ :host{display:flex;align-items:center;height:32px;width:32px;contain:content}:host([size='tiny']){height:20px;width:20px}:host([size='extra-small']){height:24px;width:24px}:host([size='small']){height:28px;width:28px}:host([size='large']){height:36px;width:36px}:host([size='extra-large']){height:40px;width:40px}:host([size='huge']){height:44px;width:44px}.progress{height:100%;width:100%}.background{fill:none;stroke:${Or};stroke-width:1.5px}:host([appearance='inverted']) .background{stroke:rgba(255,255,255,0.2)}.determinate{stroke:${Ho};fill:none;stroke-width:1.5px;stroke-linecap:round;transform-origin:50% 50%;transform:rotate(-90deg);transition:all 0.2s ease-in-out}:host([appearance='inverted']) .determinite{stroke:${Dr}}.indeterminate-indicator-1{stroke:${Ho};fill:none;stroke-width:1.5px;stroke-linecap:round;transform-origin:50% 50%;transform:rotate(-90deg);transition:all 0.2s ease-in-out;animation:spin-infinite 3s cubic-bezier(0.53,0.21,0.29,0.67) infinite}:host([appearance='inverted']) .indeterminate-indicator-1{stroke:${Dr}}@keyframes spin-infinite{0%{stroke-dasharray:0.01px 43.97px;transform:rotate(0deg)}50%{stroke-dasharray:21.99px 21.99px;transform:rotate(450deg)}100%{stroke-dasharray:0.01px 43.97px;transform:rotate(1080deg)}}`,Jv=wa.compose({name:`${x.prefix}-spinner`,template:Ip,styles:zp});class em extends S{}class tm extends Yi(em){constructor(){super(...arguments),this.proxy=document.createElement("input")}}var om=Object.defineProperty,rm=Object.getOwnPropertyDescriptor,ss=(o,e,t,r)=>{for(var a=r>1?void 0:r?rm(e,t):e,n=o.length-1,i;n>=0;n--)(i=o[n])&&(a=(r?i(e,t,a):i(a))||a);return r&&a&&om(e,t,a),a};class lr extends tm{constructor(){super(),this.initialValue="on",this.keypressHandler=e=>{if(!this.readOnly)switch(e.key){case io:case so:this.checked=!this.checked;break}},this.clickHandler=e=>{!this.disabled&&!this.readOnly&&(this.checked=!this.checked)},this.proxy.setAttribute("type","checkbox")}readOnlyChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.readOnly=this.readOnly)}}ss([s({attribute:"label-position"})],lr.prototype,"labelPosition",2),ss([s({attribute:"readonly",mode:"boolean"})],lr.prototype,"readOnly",2),ss([m],lr.prototype,"defaultSlottedNodes",2);const am={above:"above",after:"after",before:"before"};function nm(o={}){return v`<template role="switch" aria-checked="${e=>e.checked}" aria-disabled="${e=>e.disabled}" aria-readonly="${e=>e.readOnly}" tabindex="${e=>e.disabled?null:0}" @keypress="${(e,t)=>e.keypressHandler(t.event)}" @click="${(e,t)=>e.clickHandler(t.event)}"><label part="label" class="${e=>e.defaultSlottedNodes&&e.defaultSlottedNodes.length?"label":"label label__hidden"}"><slot ${Y("defaultSlottedNodes")}></slot></label><div part="switch" class="switch"><slot name="switch">${Q(o.switch)}</slot></div></template>`}const Np=nm({switch:'<span class="checked-indicator" part="checked-indicator"></span>'}),Lp=f`
487
+ ${F("inline-flex")}
488
+
489
+ :host{align-items:center;flex-direction:row-reverse;outline:none;user-select:none;contain:content}:host([label-position='before']){flex-direction:row}:host([label-position='above']){flex-direction:column;align-items:flex-start}:host([disabled]) .label,:host([readonly]) .label,:host([readonly]) .switch,:host([disabled]) .switch{cursor:not-allowed}.label{position:relative;color:${O};line-height:${A};font-size:${P};font-weight:${T};font-family:${y};padding:${ra} ${fe};cursor:pointer}.label__hidden{display:none}.switch{display:flex;align-items:center;padding:0 ${tt};box-sizing:border-box;width:40px;height:20px;background-color:${q};border:1px solid ${Ae};border-radius:${Z};outline:none;cursor:pointer;margin:${H} ${V}}:host(:hover) .switch{background:none;border-color:${Nt}}:host(:active) .switch{border-color:${Lt}}:host([disabled]) .switch,:host([readonly]) .switch{border:1px solid ${Me};background-color:none;pointer:default}:host([aria-checked='true']) .switch{background:${ut}}:host([aria-checked='true']:hover) .switch{background:${At};border-color:${At}}:host([aria-checked='true']:active) .switch{background:${It};border-color:${It}}:host([aria-checked='true'][disabled]) .switch{background:${Tt};border-color:${Me}}.checked-indicator{height:14px;width:14px;border-radius:50%;margin-inline-start:0;background-color:${W};transition-duration:${ia};transition-timing-function:${ko};transition-property:margin-inline-start}:host([aria-checked='true']) .checked-indicator{background-color:${lo};margin-inline-start:calc(100% - 14px)}:host([aria-checked='true']:hover) .checked-indicator{background:${en}}:host([aria-checked='true']:active) .checked-indicator{background:${tn}}:host(:hover) .checked-indicator{background-color:${Qa}}:host(:active) .checked-indicator{background-color:${Za}}:host([disabled]) .checked-indicator,:host([readonly]) .checked-indicator{background:${k}}:host([aria-checked='true'][disabled]) .checked-indicator{background:${k}}:host(:focus-visible){border-color:${me};outline:${ht} solid ${me};box-shadow:${Ht},0 0 0 2px ${Se}}`.withBehaviors(Ee(f`
490
+ .switch{border-color:InactiveBorder}:host([aria-checked='true']) .switch,:host([aria-checked='true']:active) .switch,:host([aria-checked='true']:hover) .switch{background:Highlight;border-color:Highlight}.checked-indicator,:host(:hover) .checked-indicator,:host(:active) .checked-indicator{background-color:ActiveCaption}:host([aria-checked='true']) .checked-indicator,:host([aria-checked='true']:hover) .checked-indicator,:host([aria-checked='true']:active) .checked-indicator{background-color:ButtonFace}`)),im=lr.compose({name:`${x.prefix}-switch`,template:Np,styles:Lp});var sm=Object.defineProperty,lm=Object.getOwnPropertyDescriptor,cm=(o,e,t,r)=>{for(var a=r>1?void 0:r?lm(e,t):e,n=o.length-1,i;n>=0;n--)(i=o[n])&&(a=(r?i(e,t,a):i(a))||a);return r&&a&&sm(e,t,a),a};class Sa extends S{connectedCallback(){super.connectedCallback(),this.styles!==void 0&&this.$fastController.removeStyles(this.styles),this.styles=f`
491
+ :host{--textContent:'${this.textContent}'}`,this.$fastController.addStyles(this.styles)}}cm([s({mode:"boolean"})],Sa.prototype,"disabled",2),Te(Sa,Ye);function dm(o={}){return v`<template slot="tab" role="tab" aria-disabled="${e=>e.disabled}">${Ze(o)}<span class="tab-content"><slot></slot></span>${Qe(o)}</template>`}const Dp=dm({}),Op=f`
492
+ ${F("inline-flex")}
493
+
494
+ :host{position:relative;flex-direction:column;cursor:pointer;box-sizing:border-box;justify-content:center;line-height:${A};font-family:${y};font-size:${P};color:${ne};fill:currentcolor;grid-row:1;padding:${ot} ${Ie};border-radius:${B}}:host .tab-content{display:inline-flex;flex-direction:column;padding:0 2px}:host([aria-selected='true']){color:${O};font-weight:${L}}:host .tab-content::after{content:var(--textContent);visibility:hidden;height:0;line-height:${A};font-weight:${L}}:host([aria-selected='true'])::after{background-color:${_o};border-radius:${Z};content:'';inset:0;position:absolute;z-index:2}:host([aria-selected='false']:hover)::after{background-color:${Dt};border-radius:${Z};content:'';inset:0;position:absolute;z-index:1}:host([aria-selected='true'][disabled])::after{background-color:${k}}::slotted([slot='start']),::slotted([slot='end']){display:flex}::slotted([slot='start']){margin-inline-end:11px}::slotted([slot='end']){margin-inline-start:11px}:host([disabled]){cursor:not-allowed;fill:${k};color:${k}}:host([disabled]:hover)::after{background-color:unset}:host(:focus){outline:none}:host(:focus-visible){border-radius:${ge};box-shadow:0 0 0 3px ${Se};outline:1px solid ${Et}}`.withBehaviors(Ee(f`
495
+ :host([aria-selected='true'])::after{background-color:Highlight}`)),um=Sa.compose({name:`${x.prefix}-tab`,template:Dp,styles:Op});class Ep extends S{}function hm(){return v`<template slot="tabpanel" role="tabpanel"><slot></slot></template>`}const Mp=hm(),Hp=f`
496
+ ${F("block")}
497
+
498
+ :host{box-sizing:border-box;padding:${ot} ${Ie}}`,pm=Ep.compose({name:`${x.prefix}-tab-panel`,template:Mp,styles:Hp}),_p={subtle:"subtle",transparent:"transparent"},gm={small:"small",medium:"medium",large:"large"},cr=he;var fm=Object.defineProperty,bm=Object.getOwnPropertyDescriptor,Yt=(o,e,t,r)=>{for(var a=r>1?void 0:r?bm(e,t):e,n=o.length-1,i;n>=0;n--)(i=o[n])&&(a=(r?i(e,t,a):i(a))||a);return r&&a&&fm(e,t,a),a};class dr extends S{constructor(){super(...arguments),this.orientation=cr.horizontal,this.prevActiveTabIndex=0,this.activeTabIndex=0,this.change=()=>{this.$emit("change",this.activetab)},this.isDisabledElement=e=>e.getAttribute("aria-disabled")==="true",this.isHiddenElement=e=>e.hasAttribute("hidden"),this.isFocusableElement=e=>!this.isDisabledElement(e)&&!this.isHiddenElement(e),this.handleTabClick=e=>{const t=e.currentTarget;t.nodeType===1&&this.isFocusableElement(t)&&(this.prevActiveTabIndex=this.activeTabIndex,this.activeTabIndex=this.tabs.indexOf(t),this.setComponent())},this.handleTabKeyDown=e=>{if(this.isHorizontal())switch(e.key){case ro:e.preventDefault(),this.adjustBackward(e);break;case ao:e.preventDefault(),this.adjustForward(e);break}else switch(e.key){case no:e.preventDefault(),this.adjustBackward(e);break;case oo:e.preventDefault(),this.adjustForward(e);break}switch(e.key){case Sr:e.preventDefault(),this.adjust(-this.activeTabIndex);break;case wr:e.preventDefault(),this.adjust(this.tabs.length-this.activeTabIndex-1);break}}}orientationChanged(){this.$fastController.isConnected&&this.setTabs()}activeidChanged(e,t){this.$fastController.isConnected&&this.tabs.length<=this.tabpanels.length&&(this.prevActiveTabIndex=this.tabs.findIndex(r=>r.id===e),this.setTabs())}tabsChanged(){this.$fastController.isConnected&&this.tabs.length<=this.tabpanels.length&&(this.tabIds=this.getTabIds(),this.tabpanelIds=this.getTabPanelIds(),this.setTabs())}tabpanelsChanged(){this.$fastController.isConnected&&this.tabpanels.length<=this.tabs.length&&(this.tabIds=this.getTabIds(),this.tabpanelIds=this.getTabPanelIds(),this.setTabs())}getActiveIndex(){return this.activeid!==void 0?this.tabIds.indexOf(this.activeid)===-1?0:this.tabIds.indexOf(this.activeid):0}setTabs(){const e="gridColumn",t="gridRow",r=this.isHorizontal()?e:t;this.activeTabIndex=this.getActiveIndex(),this.tabs.forEach((a,n)=>{if(a.slot==="tab"){const i=this.activeTabIndex===n&&this.isFocusableElement(a),c=this.tabIds[n],u=this.tabpanelIds[n];a.setAttribute("id",c),a.setAttribute("aria-selected",i?"true":"false"),a.setAttribute("aria-controls",u),a.addEventListener("click",this.handleTabClick),a.addEventListener("keydown",this.handleTabKeyDown),a.setAttribute("tabindex",i?"0":"-1"),i&&(this.activetab=a,this.activeid=c)}a.style[e]="",a.style[t]="",a.style[r]=`${n+1}`,this.isHorizontal()?a.classList.remove("vertical"):a.classList.add("vertical")}),this.setTabPanels()}setTabPanels(){this.tabpanels.forEach((e,t)=>{const r=this.tabIds[t],a=this.tabpanelIds[t];e.setAttribute("id",a),e.setAttribute("aria-labelledby",r),this.activeTabIndex!==t?e.setAttribute("hidden",""):e.removeAttribute("hidden")})}getTabIds(){return this.tabs.map(e=>e.getAttribute("id")??`tab-${Xa()}`)}getTabPanelIds(){return this.tabpanels.map(e=>e.getAttribute("id")??`panel-${Xa()}`)}setComponent(){this.activeTabIndex!==this.prevActiveTabIndex&&(this.activeid=this.tabIds[this.activeTabIndex],this.focusTab(),this.change())}isHorizontal(){return this.orientation===cr.horizontal}adjust(e){const t=this.tabs.filter(i=>this.isFocusableElement(i)),r=t.indexOf(this.activetab),a=qa(0,t.length-1,r+e),n=this.tabs.indexOf(t[a]);n>-1&&this.moveToTabByIndex(this.tabs,n)}adjustForward(e){const t=this.tabs;let r=0;for(r=this.activetab?t.indexOf(this.activetab)+1:1,r===t.length&&(r=0);r<t.length&&t.length>1;)if(this.isFocusableElement(t[r])){this.moveToTabByIndex(t,r);break}else{if(this.activetab&&r===t.indexOf(this.activetab))break;r+1>=t.length?r=0:r+=1}}adjustBackward(e){const t=this.tabs;let r=0;for(r=this.activetab?t.indexOf(this.activetab)-1:0,r=r<0?t.length-1:r;r>=0&&t.length>1;)if(this.isFocusableElement(t[r])){this.moveToTabByIndex(t,r);break}else r-1<0?r=t.length-1:r-=1}moveToTabByIndex(e,t){const r=e[t];this.activetab=r,this.prevActiveTabIndex=this.activeTabIndex,this.activeTabIndex=t,r.focus(),this.setComponent()}focusTab(){this.tabs[this.activeTabIndex].focus()}connectedCallback(){super.connectedCallback(),this.tabIds=this.getTabIds(),this.tabpanelIds=this.getTabPanelIds(),this.activeTabIndex=this.getActiveIndex()}}Yt([s],dr.prototype,"orientation",2),Yt([s],dr.prototype,"activeid",2),Yt([m],dr.prototype,"tabs",2),Yt([m],dr.prototype,"tabpanels",2);class Po extends dr{constructor(){super(...arguments),this.activeTabData={x:0,y:0,height:0,width:0},this.previousActiveTabData={x:0,y:0,height:0,width:0},this.activeTabOffset=0,this.activeTabScale=1,this.appearance=_p.transparent}calculateAnimationProperties(e){this.activeTabOffset=this.getTabPosition(e),this.activeTabScale=this.getTabScale(e)}getTabPosition(e){return this.orientation===cr.horizontal?this.previousActiveTabData.x-(e.getBoundingClientRect().x-this.getBoundingClientRect().x):this.previousActiveTabData.y-(e.getBoundingClientRect().y-this.getBoundingClientRect().y)}getTabScale(e){return this.orientation===cr.horizontal?this.previousActiveTabData.width/e.getBoundingClientRect().width:this.previousActiveTabData.height/e.getBoundingClientRect().height}applyUpdatedCSSValues(e){this.calculateAnimationProperties(e),this.setTabScaleCSSVar(),this.setTabOffsetCSSVar()}animationLoop(e){e.setAttribute("data-animate","false"),this.applyUpdatedCSSValues(e),this.previousActiveTabData=this.activeTabData,this.applyUpdatedCSSValues(e),e.setAttribute("data-animate","true")}setTabData(){if(this.tabs&&this.tabs.length>0){const e=this.tabs,r=(this.activetab||e[0])?.getBoundingClientRect(),a=this.getBoundingClientRect();this.activeTabData={x:r.x-a.x,y:r.y-a.y,height:r.height,width:r.width},this.previousActiveTabData?.x!==this.activeTabData?.x&&this.previousActiveTabData?.y!==this.activeTabData?.y&&(this.previousActiveTabData=this.activeTabData)}}setTabOffsetCSSVar(){this.styles=f`
499
+ :host{--tabIndicatorOffset:${this.activeTabOffset.toString()}px}`,this.$fastController.addStyles(this.styles)}setTabScaleCSSVar(){this.styles=f`
500
+ :host{--tabIndicatorScale:${this.activeTabScale.toString()}}`,this.$fastController.addStyles(this.styles)}activeidChanged(e,t){super.activeidChanged(e,t),this.setTabData(),this.activetab&&this.animationLoop(this.activetab)}tabsChanged(){super.tabsChanged(),this.setTabData()}}Yt([s],Po.prototype,"appearance",2),Yt([s({mode:"boolean"})],Po.prototype,"disabled",2),Yt([s],Po.prototype,"size",2),Te(Po,Ye);function vm(o={}){return v` ${Ze(o)}<div class="tablist" part="tablist" role="tablist"><slot name="tab" ${Y("tabs")}></slot></div>${Qe(o)}<div class="tabpanel" part="tabpanel"><slot name="tabpanel" ${Y("tabpanels")}></slot></div>`}const Rp=vm({}),Vp=f`
501
+ ${F("grid")}
502
+
503
+ :host{box-sizing:border-box;font-family:${y};font-size:${P};line-height:${A};color:${ne};grid-template-columns:auto 1fr auto;grid-template-rows:auto 1fr}:host([disabled]){cursor:not-allowed;color:${k}}:host([disabled]) ::slotted(fluent-tab){pointer-events:none;cursor:not-allowed;color:${k}}:host([disabled]) ::slotted(fluent-tab:after){background-color:${k}}:host([disabled]) ::slotted(fluent-tab[aria-selected='true'])::after{background-color:${k}}:host([disabled]) ::slotted(fluent-tab:hover):before{content:unset}:host ::slotted(fluent-tab){border-radius:${B}}:host ::slotted(fluent-tab[aria-selected='true'])::before{background-color:${k}}.tablist{display:grid;grid-template-rows:auto auto;grid-template-columns:auto;position:relative;width:max-content;align-self:end;box-sizing:border-box}::slotted([slot='start']),::slotted([slot='end']){display:flex;align-self:center}::slotted([slot='start']){margin-inline-end:11px}::slotted([slot='end']){margin-inline-start:11px}.tabpanel{grid-row:2;grid-column-start:1;grid-column-end:4;position:relative}:host([orientation='vertical']){grid-template-rows:auto 1fr auto;grid-template-columns:auto 1fr}:host([orientation='vertical']) .tablist{grid-row-start:2;grid-row-end:2;display:grid;grid-template-rows:auto;grid-template-columns:auto 1fr;position:relative;width:max-content;justify-self:end;align-self:flex-start;width:100%}:host([orientation='vertical']) .tabpanel{grid-column:2;grid-row-start:1;grid-row-end:4}:host([orientation='vertical']) ::slotted([slot='end']){grid-row:3}:host([appearance='subtle']) ::slotted(fluent-tab:hover){background-color:${uo};color:${Io};fill:${No}}:host([appearance='subtle']) ::slotted(fluent-tab:active){background-color:${Ct};fill:${Ct};color:${O}}:host([size='small']) ::slotted(fluent-tab){font-size:${P};line-height:${A};padding:${_t} ${_e}}:host([size='large']) ::slotted(fluent-tab){font-size:${ie};line-height:${ye};padding:${Mi} ${Ie}}:host ::slotted(fluent-tab[data-animate='true'])::after{transition-property:transform;transition-duration:${_i};transition-timing-function:${ca}}:host ::slotted(fluent-tab)::after{height:${He};margin-top:auto;transform-origin:left;transform:translateX(var(--tabIndicatorOffset)) scaleX(var(--tabIndicatorScale))}:host([orientation='vertical']) ::slotted(fluent-tab)::after{width:${He};height:unset;margin-top:unset;transform-origin:top;transform:translateY(var(--tabIndicatorOffset)) scaleY(var(--tabIndicatorScale))}:host ::slotted(fluent-tab)::before{height:${He};border-radius:${Z};content:'';inset:0;position:absolute;margin-top:auto}:host([orientation='vertical']) ::slotted(fluent-tab)::before{height:unset;width:${He};margin-inline-end:auto;transform-origin:top}:host ::slotted(fluent-tab[aria-selected='false']:hover)::after{height:${He};margin-top:auto;transform-origin:left}:host([orientation='vertical']) ::slotted(fluent-tab[aria-selected='false']:hover)::after{height:unset;margin-inline-end:auto;transform-origin:top;width:${He}}:host([orientation='vertical']) ::slotted(fluent-tab){align-items:flex-start;grid-column:2;padding-top:${_t};padding-bottom:${_t}}:host([orientation='vertical'][size='small']) ::slotted(fluent-tab){padding-top:${oa};padding-bottom:${oa}}:host([orientation='vertical'][size='large']) ::slotted(fluent-tab){padding-top:${H};padding-bottom:${H}}:host([size='small']) ::slotted(fluent-tab)::after,:host([size='small']) ::slotted(fluent-tab)::before,:host([size='small']) ::slotted(fluent-tab:hover)::after{right:${_e};left:${_e}}:host ::slotted(fluent-tab)::after,:host ::slotted(fluent-tab)::before,:host ::slotted(fluent-tab:hover)::after{right:${Ie};left:${Ie}}:host([size='large']) ::slotted(fluent-tab)::after,:host([size='large']) ::slotted(fluent-tab)::before,:host([size='large']) ::slotted(fluent-tab:hover)::after{right:${Ie};left:${Ie}}:host([orientation='vertical'][size='small']) ::slotted(fluent-tab)::after,:host([orientation='vertical'][size='small']) ::slotted(fluent-tab)::before,:host([orientation='vertical'][size='small']) ::slotted(fluent-tab:hover)::after{right:0;left:0;top:${_t};bottom:${_t}}:host([orientation='vertical']) ::slotted(fluent-tab)::after,:host([orientation='vertical']) ::slotted(fluent-tab)::before,:host([orientation='vertical']) ::slotted(fluent-tab:hover)::after{right:0;left:0;top:${H};bottom:${H}}:host([orientation='vertical'][size='large']) ::slotted(fluent-tab)::after,:host([orientation='vertical'][size='large']) ::slotted(fluent-tab)::before,:host([orientation='vertical'][size='large']) ::slotted(fluent-tab:hover)::after{right:0;left:0;top:${aa};bottom:${aa}}`,mm=Po.compose({name:`${x.prefix}-tabs`,template:Rp,styles:Vp});var ym=Object.defineProperty,$m=Object.getOwnPropertyDescriptor,qe=(o,e,t,r)=>{for(var a=r>1?void 0:r?$m(e,t):e,n=o.length-1,i;n>=0;n--)(i=o[n])&&(a=(r?i(e,t,a):i(a))||a);return r&&a&&ym(e,t,a),a};class Ce extends S{constructor(){super(...arguments),this.nowrap=!1,this.truncate=!1,this.italic=!1,this.underline=!1,this.strikethrough=!1,this.block=!1}}qe([s({mode:"boolean"})],Ce.prototype,"nowrap",2),qe([s({mode:"boolean"})],Ce.prototype,"truncate",2),qe([s({mode:"boolean"})],Ce.prototype,"italic",2),qe([s({mode:"boolean"})],Ce.prototype,"underline",2),qe([s({mode:"boolean"})],Ce.prototype,"strikethrough",2),qe([s({mode:"boolean"})],Ce.prototype,"block",2),qe([s],Ce.prototype,"size",2),qe([s],Ce.prototype,"font",2),qe([s],Ce.prototype,"weight",2),qe([s],Ce.prototype,"align",2);const km={_100:"100",_200:"200",_300:"300",_400:"400",_500:"500",_600:"600",_700:"700",_800:"800",_900:"900",_1000:"1000"},xm={base:"base",numeric:"numeric",monospace:"monospace"},Bm={medium:"medium",regular:"regular",semibold:"semibold",bold:"bold"},wm={start:"start",end:"end",center:"center",justify:"justify"},jp=v`<slot></slot>`,Gp=f`
504
+ ${F("inline")}
505
+
506
+ :host{contain:content}::slotted(*){font-family:${y};font-size:${P};line-height:${A};font-weight:${T};text-align:start;white-space:normal;overflow:visible;text-overflow:clip;margin:0;display:inline}:host([nowrap]) ::slotted(*){white-space:nowrap;overflow:hidden}:host([truncate]) ::slotted(*){text-overflow:ellipsis}:host([block]),:host([block]) ::slotted(*){display:block}:host([italic]) ::slotted(*){font-style:italic}:host([underline]) ::slotted(*){text-decoration-line:underline}:host([strikethrough]) ::slotted(*){text-decoration-line:line-through}:host([underline][strikethrough]) ::slotted(*){text-decoration-line:line-through underline}:host([size='100']) ::slotted(*){font-size:${Mt};line-height:${vo}}:host([size='200']) ::slotted(*){font-size:${R};line-height:${se}}:host([size='400']) ::slotted(*){font-size:${ie};line-height:${ye}}:host([size='500']) ::slotted(*){font-size:${et};line-height:${mo}}:host([size='600']) ::slotted(*){font-size:${fo};line-height:${Kr}}:host([size='700']) ::slotted(*){font-size:${Gr};line-height:${Ur}}:host([size='800']) ::slotted(*){font-size:${Wr};line-height:${Yr}}:host([size='900']) ::slotted(*){font-size:${qr};line-height:${Qr}}:host([size='1000']) ::slotted(*){font-size:${Xr};line-height:${Zr}}:host([font='monospace']) ::slotted(*){font-family:${Ii}}:host([font='numeric']) ::slotted(*){font-family:${zi}}:host([weight='medium']) ::slotted(*){font-weight:${Ni}}:host([weight='semibold']) ::slotted(*){font-weight:${L}}:host([weight='bold']) ::slotted(*){font-weight:${bo}}:host([align='center']) ::slotted(*){text-align:center}:host([align='end']) ::slotted(*){text-align:end}:host([align='justify']) ::slotted(*){text-align:justify}`,Sm=Ce.compose({name:`${x.prefix}-text`,template:jp,styles:Gp}),Pm={small:"small",medium:"medium",large:"large"},Cm={outline:"outline",underline:"underline",filledLighter:"filled-lighter",filledDarker:"filled-darker"},Wp={email:"email",password:"password",tel:"tel",text:"text",url:"url"};class Fm extends S{}class Tm extends Ui(Fm){constructor(){super(...arguments),this.proxy=document.createElement("input")}}var Am=Object.defineProperty,Im=Object.getOwnPropertyDescriptor,ke=(o,e,t,r)=>{for(var a=r>1?void 0:r?Im(e,t):e,n=o.length-1,i;n>=0;n--)(i=o[n])&&(a=(r?i(e,t,a):i(a))||a);return r&&a&&Am(e,t,a),a};class oe extends Tm{constructor(){super(...arguments),this.type=Wp.text}readOnlyChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.readOnly=this.readOnly,this.validate())}autofocusChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.autofocus=this.autofocus,this.validate())}placeholderChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.placeholder=this.placeholder)}typeChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.type=this.type,this.validate())}listChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.setAttribute("list",this.list),this.validate())}maxlengthChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.maxLength=this.maxlength,this.validate())}minlengthChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.minLength=this.minlength,this.validate())}patternChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.pattern=this.pattern,this.validate())}sizeChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.size=this.size)}spellcheckChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.spellcheck=this.spellcheck)}connectedCallback(){super.connectedCallback(),this.proxy.setAttribute("type",this.type),this.validate(),this.autofocus&&ue.enqueue(()=>{this.focus()})}select(){this.control.select(),this.$emit("select")}handleTextInput(){this.value=this.control.value}handleChange(){this.$emit("change")}validate(){super.validate(this.control)}}ke([s({attribute:"control-size"})],oe.prototype,"controlSize",2),ke([s],oe.prototype,"appearance",2),ke([s({attribute:"readonly",mode:"boolean"})],oe.prototype,"readOnly",2),ke([s({mode:"boolean"})],oe.prototype,"autofocus",2),ke([s],oe.prototype,"placeholder",2),ke([s],oe.prototype,"type",2),ke([s],oe.prototype,"list",2),ke([s({converter:ve})],oe.prototype,"maxlength",2),ke([s({converter:ve})],oe.prototype,"minlength",2),ke([s],oe.prototype,"pattern",2),ke([s({converter:ve})],oe.prototype,"size",2),ke([s({mode:"boolean"})],oe.prototype,"spellcheck",2),ke([m],oe.prototype,"defaultSlottedNodes",2);class qp{}Te(qp,D),Te(oe,Ye,qp);function zm(o={}){return v`<label part="label" for="control" class="${e=>e.defaultSlottedNodes&&e.defaultSlottedNodes.length?"label":"label label__hidden"}"><slot ${Y({property:"defaultSlottedNodes",filter:ol})}></slot></label><div class="root" part="root">${Ze(o)}<input class="control" part="control" id="control" @input="${e=>e.handleTextInput()}" @change="${e=>e.handleChange()}" ?autofocus="${e=>e.autofocus}" ?disabled="${e=>e.disabled}" list="${e=>e.list}" maxlength="${e=>e.maxlength}" name="${e=>e.name}" minlength="${e=>e.minlength}" pattern="${e=>e.pattern}" placeholder="${e=>e.placeholder}" ?readonly="${e=>e.readOnly}" ?required="${e=>e.required}" size="${e=>e.size}" ?spellcheck="${e=>e.spellcheck}" :value="${e=>e.value}" type="${e=>e.type}" aria-atomic="${e=>e.ariaAtomic}" aria-busy="${e=>e.ariaBusy}" aria-controls="${e=>e.ariaControls}" aria-current="${e=>e.ariaCurrent}" aria-describedby="${e=>e.ariaDescribedby}" aria-details="${e=>e.ariaDetails}" aria-disabled="${e=>e.ariaDisabled}" aria-errormessage="${e=>e.ariaErrormessage}" aria-flowto="${e=>e.ariaFlowto}" aria-haspopup="${e=>e.ariaHaspopup}" aria-hidden="${e=>e.ariaHidden}" aria-invalid="${e=>e.ariaInvalid}" aria-keyshortcuts="${e=>e.ariaKeyshortcuts}" aria-label="${e=>e.ariaLabel}" aria-labelledby="${e=>e.ariaLabelledby}" aria-live="${e=>e.ariaLive}" aria-owns="${e=>e.ariaOwns}" aria-relevant="${e=>e.ariaRelevant}" aria-roledescription="${e=>e.ariaRoledescription}" ${Fe("control")} />${Qe(o)}</div>`}const Xp=zm(),Kp=f`
507
+ ${F("block")}
508
+
509
+ :host{font-family:${y};font-size:${P};font-weight:${T};line-height:${A};max-width:400px}.label{display:flex;color:${O};padding-bottom:${ra};flex-shrink:0;padding-inline-end:${fe}}.label__hidden{display:none}.root{position:relative;box-sizing:border-box;height:32px;display:inline-flex;align-items:center;flex-direction:row;width:100%;padding:0 ${Ie};border:${X} solid ${Je};border-bottom-color:${Ae};border-radius:${B};gap:${tt}}.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 ${_o};clip-path:inset(calc(100% - 2px) 1px 0px);transform:scaleX(0);transition-property:transform;transition-duration:${Hi};transition-delay:${la}}.control{width:100%;height:100%;box-sizing:border-box;color:${O};border-radius:${B};background:${q};font-family:${y};font-weight:${T};font-size:${P};border:none;background:transparent;vertical-align:center}.control:focus-visible{outline:0;border:0}.control::placeholder{color:${Ja}}:host ::slotted([slot='start']),:host ::slotted([slot='end']){display:flex;align-items:center;justify-content:center;color:${W};font-size:${et}}:host ::slotted([slot='start']){padding-right:${tt}}:host ::slotted([slot='end']){padding-left:${tt};gap:${fe}}:host(:hover) .root{border-color:${Dt};border-bottom-color:${Nt}}:host(:active) .root{border-color:${po}}:host(:focus-within) .root{outline:transparent solid 2px;border-bottom:0}:host(:focus-within) .root::after{transform:scaleX(1);transition-property:transform;transition-duration:${ia};transition-delay:${da}}:host(:focus-within:active) .root:after{border-bottom-color:${Ro}}:host([appearance='outline']:focus-within) .root{border:${X} solid ${Je}}:host(:focus-within) .control{color:${O}}:host([disabled]) .root{background:${q};border:${X} solid ${Me}}:host([disabled]) .control::placeholder,:host([disabled]) ::slotted([slot='start']),:host([disabled]) ::slotted([slot='end']){color:${k}}::selection{color:${lo};background-color:${sn}}:host([control-size='small']) .control{font-size:${R};font-weight:${T};line-height:${se}}:host([control-size='small']) .root{height:24px;gap:${tt};padding:0 ${_e}}:host([control-size='small']) ::slotted([slot='start']),:host([control-size='small']) ::slotted([slot='end']){font-size:${ie}}:host([control-size='large']) .control{font-size:${ie};font-weight:${T};line-height:${ye}}:host([control-size='large']) .root{height:40px;gap:${V};padding:0 ${ot}}:host([control-size='large']) ::slotted([slot='start']),:host([control-size='large']) ::slotted([slot='end']){font-size:${fo}}:host([appearance='underline']) .root{background:${q};border:0;border-radius:0;border-bottom:${X} solid ${Ae}}:host([appearance='underline']:hover) .root{border-bottom-color:${Nt}}:host([appearance='underline']:active) .root{border-bottom-color:${Lt}}:host([appearance='underline']:focus-within) .root{border:0;border-bottom-color:${Lt}}:host([appearance='underline'][disabled]) .root{border-bottom-color:${Me}}:host([appearance='filled-lighter']) .root,:host([appearance='filled-darker']) .root{border:${X} solid ${me};box-shadow:${Uo}}:host([appearance='filled-lighter']) .root{background:${_}}:host([appearance='filled-darker']) .root{background:${Ir}}: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:${Ir}}`,Nm=oe.compose({name:`${x.prefix}-text-input`,template:Xp,styles:Kp});var Lm=Object.defineProperty,Dm=Object.getOwnPropertyDescriptor,Up=(o,e,t,r)=>{for(var a=r>1?void 0:r?Dm(e,t):e,n=o.length-1,i;n>=0;n--)(i=o[n])&&(a=(r?i(e,t,a):i(a))||a);return r&&a&&Lm(e,t,a),a};class Pa extends I{pressedChanged(){this.setPressedState()}mixedChanged(){this.setPressedState()}press(){this.pressed=!this.pressed}connectedCallback(){super.connectedCallback(),this.setPressedState()}setPressedState(){if(this.$fastController.isConnected){const e=`${this.mixed?"mixed":!!this.pressed}`;this.elementInternals.ariaPressed=e,this.setAttribute("aria-pressed",e)}}}Up([s({mode:"boolean"})],Pa.prototype,"pressed",2),Up([s({mode:"boolean"})],Pa.prototype,"mixed",2);const Om=Yo,Em=Qo,Mm=Zo,Yp=Ki(),Qp=f`
510
+ ${xo}
511
+
512
+ :host([aria-pressed='true']){border-color:${Je};background-color:${Ar};color:${O};border-width:${X}}:host([aria-pressed='true']:hover){border-color:${Dt};background-color:${co}}:host([aria-pressed='true']:active){border-color:${po};background-color:${Oo}}:host([aria-pressed='true'][appearance='primary']){border-color:transparent;background-color:${un};color:${pe}}:host([aria-pressed='true'][appearance='primary']:hover){background-color:${Eo}}:host([aria-pressed='true'][appearance='primary']:active){background-color:${Mo}}:host([aria-pressed='true'][appearance='subtle']){border-color:transparent;background-color:${ln};color:${Ua}}:host([aria-pressed='true'][appearance='subtle']:hover){background-color:${uo};color:${St}}:host([aria-pressed='true'][appearance='subtle']:active){background-color:${Ct};color:${Pt}}:host([aria-pressed='true'][appearance='outline']),:host([aria-pressed='true'][appearance='transparent']){background-color:${cn}}:host([aria-pressed='true'][appearance='outline']:hover),:host([aria-pressed='true'][appearance='transparent']:hover){background-color:${dt}}:host([aria-pressed='true'][appearance='outline']:active),:host([aria-pressed='true'][appearance='transparent']:active){background-color:${Ft}}:host([aria-pressed='true'][appearance='transparent']){border-color:transparent;color:${Ya}}:host([aria-pressed='true'][appearance='transparent']:hover){color:${lt}}:host([aria-pressed='true'][appearance='transparent']:active){color:${ct}}`.withBehaviors(Ee(f`
513
+ :host([aria-pressed='true']),:host([aria-pressed='true'][appearance='primary']),:host([aria-pressed='true'][appearance='subtle']),:host([aria-pressed='true'][appearance='outline']),:host([aria-pressed='true'][appearance='transparent']){background:SelectedItem;color:SelectedItemText}`)),Hm=Pa.compose({name:`${x.prefix}-toggle-button`,template:Yp,styles:Qp}),Zp=Object.keys(Kg),_m=o=>{for(const e of Zp)document.body.style.setProperty(`--${e}`,o[e])},Rm=(o,e)=>{for(const t of Zp)o.style.setProperty(`--${t}`,e[t])};export{Cr as Accordion,Pr as AccordionExpandMode,ae as AccordionItem,Xg as AccordionItemExpandIconPosition,qg as AccordionItemSize,j as AnchorButton,tf as AnchorButtonAppearance,lf as AnchorButtonDefinition,of as AnchorButtonShape,rf as AnchorButtonSize,eh as AnchorButtonTemplate,af as AnchorTarget,oh as Avatar,vf as AvatarActive,yf as AvatarAppearance,th as AvatarColor,Pf as AvatarDefinition,Xi as AvatarNamedColor,mf as AvatarShape,$f as AvatarSize,ah as AvatarStyles,rh as AvatarTemplate,Rt as Badge,nh as BadgeAppearance,ih as BadgeColor,Nf as BadgeDefinition,Cf as BadgeShape,Ff as BadgeSize,ph as BadgeStyles,lh as BadgeTemplate,I as Button,Yo as ButtonAppearance,Of as ButtonDefinition,Qo as ButtonShape,Zo as ButtonSize,xo as ButtonStyles,gh as ButtonTemplate,Jo as ButtonType,Vt as Checkbox,Xf as CheckboxDefinition,jf as CheckboxLabelPosition,Rf as CheckboxShape,Vf as CheckboxSize,$h as CheckboxStyles,yh as CheckboxTemplate,kh as CompoundButton,Kf as CompoundButtonAppearance,Zf as CompoundButtonDefinition,Uf as CompoundButtonShape,Yf as CompoundButtonSize,Bh as CompoundButtonStyles,xh as CompoundButtonTemplate,ze as CounterBadge,tb as CounterBadgeAppearance,ob as CounterBadgeColor,ib as CounterBadgeDefinition,rb as CounterBadgeShape,ab as CounterBadgeSize,Sh as CounterBadgeStyles,wh as CounterBadgeTemplate,Ah as Dialog,Cb as DialogDefinition,ee as DialogModalType,zh as DialogStyles,Ih as DialogTemplate,jt as Divider,Fb as DividerAlignContent,Tb as DividerAppearance,Nb as DividerDefinition,Nh as DividerOrientation,Qi as DividerRole,Dh as DividerStyles,Lh as DividerTemplate,x as FluentDesignSystem,Gt as Image,Mb as ImageDefinition,Ob as ImageFit,Eb as ImageShape,Eh as ImageStyles,Oh as ImageTemplate,Bo as Label,Gb as LabelDefinition,Rb as LabelSize,Mh as LabelStyles,Hh as LabelTemplate,Vb as LabelWeight,at as Menu,dp as MenuButton,iv as MenuButtonAppearance,cv as MenuButtonDefinition,sv as MenuButtonShape,lv as MenuButtonSize,xo as MenuButtonStyles,up as MenuButtonTemplate,nv as MenuDefinition,Pe as MenuItem,fv as MenuItemDefinition,le as MenuItemRole,gp as MenuItemStyles,pp as MenuItemTemplate,fp as MenuList,$v as MenuListDefinition,vp as MenuListStyles,bp as MenuListTemplate,cp as MenuStyles,lp as MenuTemplate,sr as ProgressBar,Tv as ProgressBarDefinition,Pv as ProgressBarShape,mp as ProgressBarStyles,yp as ProgressBarTemplate,Sv as ProgressBarThickness,Cv as ProgressBarValidationState,Ge as Radio,Dv as RadioDefinition,We as RadioGroup,Hv as RadioGroupDefinition,is as RadioGroupOrientation,Bp as RadioGroupStyles,wp as RadioGroupTemplate,kp as RadioStyles,xp as RadioTemplate,G as Slider,Xv as SliderDefinition,Sp as SliderMode,Rv as SliderOrientation,_v as SliderSize,Cp as SliderStyles,Fp as SliderTemplate,wa as Spinner,Yv as SpinnerAppearance,Jv as SpinnerDefinition,Qv as SpinnerSize,zp as SpinnerStyles,Ip as SpinnerTemplate,lr as Switch,im as SwitchDefinition,am as SwitchLabelPosition,Lp as SwitchStyles,Np as SwitchTemplate,Sa as Tab,um as TabDefinition,Ep as TabPanel,pm as TabPanelDefinition,Hp as TabPanelStyles,Mp as TabPanelTemplate,Op as TabStyles,Dp as TabTemplate,Po as Tabs,_p as TabsAppearance,mm as TabsDefinition,cr as TabsOrientation,gm as TabsSize,Vp as TabsStyles,Rp as TabsTemplate,Ce as Text,wm as TextAlign,Sm as TextDefinition,xm as TextFont,oe as TextInput,Cm as TextInputAppearance,Pm as TextInputControlSize,Nm as TextInputDefinition,Kp as TextInputStyles,Xp as TextInputTemplate,Wp as TextInputType,km as TextSize,Gp as TextStyles,jp as TextTemplate,Bm as TextWeight,Pa as ToggleButton,Om as ToggleButtonAppearance,Hm as ToggleButtonDefinition,Em as ToggleButtonShape,Mm as ToggleButtonSize,Qp as ToggleButtonStyles,Yp as ToggleButtonTemplate,Wg as accordionDefinition,Zg as accordionItemDefinition,Zu as accordionItemStyles,Ju as accordionItemTemplate,nl as accordionStyles,al as accordionTemplate,Z as borderRadiusCircular,Ko as borderRadiusLarge,B as borderRadiusMedium,Xo as borderRadiusNone,ge as borderRadiusSmall,jr as borderRadiusXLarge,dn as colorBackgroundOverlay,ho as colorBrandBackground,zt as colorBrandBackground2,dc as colorBrandBackground2Hover,uc as colorBrandBackground2Pressed,hc as colorBrandBackground3Static,pc as colorBrandBackground4Static,Eo as colorBrandBackgroundHover,gc as colorBrandBackgroundInverted,fc as colorBrandBackgroundInvertedHover,bc as colorBrandBackgroundInvertedPressed,vc as colorBrandBackgroundInvertedSelected,Mo as colorBrandBackgroundPressed,un as colorBrandBackgroundSelected,Lr as colorBrandBackgroundStatic,Do as colorBrandForeground1,on as colorBrandForeground2,Pl as colorBrandForeground2Hover,Cl as colorBrandForeground2Pressed,Fl as colorBrandForegroundInverted,Tl as colorBrandForegroundInvertedHover,Al as colorBrandForegroundInvertedPressed,ul as colorBrandForegroundLink,hl as colorBrandForegroundLinkHover,pl as colorBrandForegroundLinkPressed,gl as colorBrandForegroundLinkSelected,Il as colorBrandForegroundOnLight,zl as colorBrandForegroundOnLightHover,Nl as colorBrandForegroundOnLightPressed,Ll as colorBrandForegroundOnLightSelected,jc as colorBrandShadowAmbient,Gc as colorBrandShadowKey,Ho as colorBrandStroke1,Or as colorBrandStroke2,zc as colorBrandStroke2Contrast,Ac as colorBrandStroke2Hover,Ic as colorBrandStroke2Pressed,ut as colorCompoundBrandBackground,At as colorCompoundBrandBackgroundHover,It as colorCompoundBrandBackgroundPressed,zo as colorCompoundBrandForeground1,No as colorCompoundBrandForeground1Hover,Lo as colorCompoundBrandForeground1Pressed,_o as colorCompoundBrandStroke,go as colorCompoundBrandStrokeHover,Ro as colorCompoundBrandStrokePressed,_ as colorNeutralBackground1,co as colorNeutralBackground1Hover,Oo as colorNeutralBackground1Pressed,Ar as colorNeutralBackground1Selected,Dl as colorNeutralBackground2,Ol as colorNeutralBackground2Hover,El as colorNeutralBackground2Pressed,Ml as colorNeutralBackground2Selected,Ir as colorNeutralBackground3,Hl as colorNeutralBackground3Hover,_l as colorNeutralBackground3Pressed,Rl as colorNeutralBackground3Selected,an as colorNeutralBackground4,Vl as colorNeutralBackground4Hover,jl as colorNeutralBackground4Pressed,Gl as colorNeutralBackground4Selected,nn as colorNeutralBackground5,Wl as colorNeutralBackground5Hover,ql as colorNeutralBackground5Pressed,Xl as colorNeutralBackground5Selected,zr as colorNeutralBackground6,Ul as colorNeutralBackgroundAlpha,Yl as colorNeutralBackgroundAlpha2,Tt as colorNeutralBackgroundDisabled,sn as colorNeutralBackgroundInverted,ac as colorNeutralBackgroundInvertedDisabled,Kl as colorNeutralBackgroundStatic,mc as colorNeutralCardBackground,xc as colorNeutralCardBackgroundDisabled,yc as colorNeutralCardBackgroundHover,$c as colorNeutralCardBackgroundPressed,kc as colorNeutralCardBackgroundSelected,O as colorNeutralForeground1,Io as colorNeutralForeground1Hover,Fr as colorNeutralForeground1Pressed,il as colorNeutralForeground1Selected,rn as colorNeutralForeground1Static,ne as colorNeutralForeground2,lt as colorNeutralForeground2BrandHover,ct as colorNeutralForeground2BrandPressed,Ya as colorNeutralForeground2BrandSelected,St as colorNeutralForeground2Hover,fl as colorNeutralForeground2Link,bl as colorNeutralForeground2LinkHover,vl as colorNeutralForeground2LinkPressed,ml as colorNeutralForeground2LinkSelected,Pt as colorNeutralForeground2Pressed,Ua as colorNeutralForeground2Selected,W as colorNeutralForeground3,ll as colorNeutralForeground3BrandHover,cl as colorNeutralForeground3BrandPressed,dl as colorNeutralForeground3BrandSelected,Qa as colorNeutralForeground3Hover,Za as colorNeutralForeground3Pressed,sl as colorNeutralForeground3Selected,Ja as colorNeutralForeground4,k as colorNeutralForegroundDisabled,lo as colorNeutralForegroundInverted,$l as colorNeutralForegroundInverted2,Sl as colorNeutralForegroundInvertedDisabled,en as colorNeutralForegroundInvertedHover,kl as colorNeutralForegroundInvertedLink,xl as colorNeutralForegroundInvertedLinkHover,Bl as colorNeutralForegroundInvertedLinkPressed,wl as colorNeutralForegroundInvertedLinkSelected,tn as colorNeutralForegroundInvertedPressed,yl as colorNeutralForegroundInvertedSelected,pe as colorNeutralForegroundOnBrand,Tr as colorNeutralForegroundStaticInverted,Ec as colorNeutralShadowAmbient,Rc as colorNeutralShadowAmbientDarker,Hc as colorNeutralShadowAmbientLighter,Mc as colorNeutralShadowKey,Vc as colorNeutralShadowKeyDarker,_c as colorNeutralShadowKeyLighter,nc as colorNeutralStencil1,sc as colorNeutralStencil1Alpha,ic as colorNeutralStencil2,lc as colorNeutralStencil2Alpha,Je as colorNeutralStroke1,Dt as colorNeutralStroke1Hover,po as colorNeutralStroke1Pressed,wc as colorNeutralStroke1Selected,Ot as colorNeutralStroke2,hn as colorNeutralStroke3,Ae as colorNeutralStrokeAccessible,Nt as colorNeutralStrokeAccessibleHover,Lt as colorNeutralStrokeAccessiblePressed,Bc as colorNeutralStrokeAccessibleSelected,Dc as colorNeutralStrokeAlpha,Oc as colorNeutralStrokeAlpha2,Me as colorNeutralStrokeDisabled,Nc as colorNeutralStrokeInvertedDisabled,Pc as colorNeutralStrokeOnBrand,Dr as colorNeutralStrokeOnBrand2,Cc as colorNeutralStrokeOnBrand2Hover,Fc as colorNeutralStrokeOnBrand2Pressed,Tc as colorNeutralStrokeOnBrand2Selected,Sc as colorNeutralStrokeSubtle,Tn as colorPaletteAnchorBackground2,Id as colorPaletteAnchorBorderActive,An as colorPaletteAnchorForeground2,In as colorPaletteBeigeBackground2,zd as colorPaletteBeigeBorderActive,zn as colorPaletteBeigeForeground2,id as colorPaletteBerryBackground1,sd as colorPaletteBerryBackground2,ld as colorPaletteBerryBackground3,dd as colorPaletteBerryBorder1,ud as colorPaletteBerryBorder2,cd as colorPaletteBerryBorderActive,hd as colorPaletteBerryForeground1,pd as colorPaletteBerryForeground2,gd as colorPaletteBerryForeground3,Nn as colorPaletteBlueBackground2,Nd as colorPaletteBlueBorderActive,Ln as colorPaletteBlueForeground2,Dn as colorPaletteBrassBackground2,Ld as colorPaletteBrassBorderActive,On as colorPaletteBrassForeground2,En as colorPaletteBrownBackground2,Dd as colorPaletteBrownBorderActive,Mn as colorPaletteBrownForeground2,Hn as colorPaletteCornflowerBackground2,Od as colorPaletteCornflowerBorderActive,_n as colorPaletteCornflowerForeground2,Rn as colorPaletteCranberryBackground2,Ed as colorPaletteCranberryBorderActive,Vn as colorPaletteCranberryForeground2,jn as colorPaletteDarkGreenBackground2,Md as colorPaletteDarkGreenBorderActive,Gn as colorPaletteDarkGreenForeground2,kn as colorPaletteDarkOrangeBackground1,Rr as colorPaletteDarkOrangeBackground2,Wo as colorPaletteDarkOrangeBackground3,xn as colorPaletteDarkOrangeBorder1,Zc as colorPaletteDarkOrangeBorder2,Qc as colorPaletteDarkOrangeBorderActive,Bn as colorPaletteDarkOrangeForeground1,Jc as colorPaletteDarkOrangeForeground2,Vr as colorPaletteDarkOrangeForeground3,Wn as colorPaletteDarkRedBackground2,Hd as colorPaletteDarkRedBorderActive,qn as colorPaletteDarkRedForeground2,Xn as colorPaletteForestBackground2,_d as colorPaletteForestBorderActive,Kn as colorPaletteForestForeground2,Un as colorPaletteGoldBackground2,Rd as colorPaletteGoldBorderActive,Yn as colorPaletteGoldForeground2,Qn as colorPaletteGrapeBackground2,Vd as colorPaletteGrapeBorderActive,Zn as colorPaletteGrapeForeground2,bn as colorPaletteGreenBackground1,_r as colorPaletteGreenBackground2,Go as colorPaletteGreenBackground3,Uc as colorPaletteGreenBorder1,vn as colorPaletteGreenBorder2,Kc as colorPaletteGreenBorderActive,mn as colorPaletteGreenForeground1,yn as colorPaletteGreenForeground2,$n as colorPaletteGreenForeground3,Yc as colorPaletteGreenForegroundInverted,Jn as colorPaletteLavenderBackground2,jd as colorPaletteLavenderBorderActive,ei as colorPaletteLavenderForeground2,xd as colorPaletteLightGreenBackground1,Bd as colorPaletteLightGreenBackground2,wd as colorPaletteLightGreenBackground3,Pd as colorPaletteLightGreenBorder1,Cd as colorPaletteLightGreenBorder2,Sd as colorPaletteLightGreenBorderActive,Fd as colorPaletteLightGreenForeground1,Td as colorPaletteLightGreenForeground2,Ad as colorPaletteLightGreenForeground3,ti as colorPaletteLightTealBackground2,Gd as colorPaletteLightTealBorderActive,oi as colorPaletteLightTealForeground2,ri as colorPaletteLilacBackground2,Wd as colorPaletteLilacBorderActive,ai as colorPaletteLilacForeground2,ni as colorPaletteMagentaBackground2,qd as colorPaletteMagentaBorderActive,ii as colorPaletteMagentaForeground2,fd as colorPaletteMarigoldBackground1,Cn as colorPaletteMarigoldBackground2,bd as colorPaletteMarigoldBackground3,md as colorPaletteMarigoldBorder1,yd as colorPaletteMarigoldBorder2,vd as colorPaletteMarigoldBorderActive,$d as colorPaletteMarigoldForeground1,Fn as colorPaletteMarigoldForeground2,kd as colorPaletteMarigoldForeground3,si as colorPaletteMinkBackground2,Xd as colorPaletteMinkBorderActive,li as colorPaletteMinkForeground2,ci as colorPaletteNavyBackground2,Kd as colorPaletteNavyBorderActive,di as colorPaletteNavyForeground2,ui as colorPalettePeachBackground2,Ud as colorPalettePeachBorderActive,hi as colorPalettePeachForeground2,pi as colorPalettePinkBackground2,Yd as colorPalettePinkBorderActive,gi as colorPalettePinkForeground2,fi as colorPalettePlatinumBackground2,Qd as colorPalettePlatinumBorderActive,bi as colorPalettePlatinumForeground2,vi as colorPalettePlumBackground2,Zd as colorPalettePlumBorderActive,mi as colorPalettePlumForeground2,yi as colorPalettePumpkinBackground2,Jd as colorPalettePumpkinBorderActive,$i as colorPalettePumpkinForeground2,ki as colorPalettePurpleBackground2,eu as colorPalettePurpleBorderActive,xi as colorPalettePurpleForeground2,pn as colorPaletteRedBackground1,Vo as colorPaletteRedBackground2,jo as colorPaletteRedBackground3,gn as colorPaletteRedBorder1,qc as colorPaletteRedBorder2,Wc as colorPaletteRedBorderActive,Mr as colorPaletteRedForeground1,fn as colorPaletteRedForeground2,Hr as colorPaletteRedForeground3,Xc as colorPaletteRedForegroundInverted,Bi as colorPaletteRoyalBlueBackground2,tu as colorPaletteRoyalBlueBorderActive,wi as colorPaletteRoyalBlueForeground2,Si as colorPaletteSeafoamBackground2,ou as colorPaletteSeafoamBorderActive,Pi as colorPaletteSeafoamForeground2,Ci as colorPaletteSteelBackground2,ru as colorPaletteSteelBorderActive,Fi as colorPaletteSteelForeground2,Ti as colorPaletteTealBackground2,au as colorPaletteTealBorderActive,Ai as colorPaletteTealForeground2,wn as colorPaletteYellowBackground1,ed as colorPaletteYellowBackground2,Sn as colorPaletteYellowBackground3,Pn as colorPaletteYellowBorder1,od as colorPaletteYellowBorder2,td as colorPaletteYellowBorderActive,rd as colorPaletteYellowForeground1,qo as colorPaletteYellowForeground2,ad as colorPaletteYellowForeground3,nd as colorPaletteYellowForegroundInverted,cc as colorScrollbarOverlay,Su as colorStatusDangerBackground1,Pu as colorStatusDangerBackground2,Cu as colorStatusDangerBackground3,Fu as colorStatusDangerBackground3Hover,Tu as colorStatusDangerBackground3Pressed,Du as colorStatusDangerBorder1,Ou as colorStatusDangerBorder2,Lu as colorStatusDangerBorderActive,Au as colorStatusDangerForeground1,Iu as colorStatusDangerForeground2,zu as colorStatusDangerForeground3,Nu as colorStatusDangerForegroundInverted,nu as colorStatusSuccessBackground1,iu as colorStatusSuccessBackground2,su as colorStatusSuccessBackground3,pu as colorStatusSuccessBorder1,gu as colorStatusSuccessBorder2,hu as colorStatusSuccessBorderActive,lu as colorStatusSuccessForeground1,cu as colorStatusSuccessForeground2,du as colorStatusSuccessForeground3,uu as colorStatusSuccessForegroundInverted,fu as colorStatusWarningBackground1,bu as colorStatusWarningBackground2,vu as colorStatusWarningBackground3,Bu as colorStatusWarningBorder1,wu as colorStatusWarningBorder2,xu as colorStatusWarningBorderActive,mu as colorStatusWarningForeground1,yu as colorStatusWarningForeground2,$u as colorStatusWarningForeground3,ku as colorStatusWarningForegroundInverted,Et as colorStrokeFocus1,Se as colorStrokeFocus2,Nr as colorSubtleBackground,uo as colorSubtleBackgroundHover,ec as colorSubtleBackgroundInverted,tc as colorSubtleBackgroundInvertedHover,oc as colorSubtleBackgroundInvertedPressed,rc as colorSubtleBackgroundInvertedSelected,Ql as colorSubtleBackgroundLightAlphaHover,Zl as colorSubtleBackgroundLightAlphaPressed,Jl as colorSubtleBackgroundLightAlphaSelected,Ct as colorSubtleBackgroundPressed,ln as colorSubtleBackgroundSelected,q as colorTransparentBackground,dt as colorTransparentBackgroundHover,Ft as colorTransparentBackgroundPressed,cn as colorTransparentBackgroundSelected,me as colorTransparentStroke,Lc as colorTransparentStrokeDisabled,Er as colorTransparentStrokeInteractive,Ri as curveAccelerateMax,la as curveAccelerateMid,Vi as curveAccelerateMin,ca as curveDecelerateMax,da as curveDecelerateMid,ji as curveDecelerateMin,ko as curveEasyEase,Gi as curveEasyEaseMax,Wi as curveLinear,Mg as darkModeStylesheetBehavior,F as display,Yu as durationFast,yo as durationFaster,Qu as durationGentle,ia as durationNormal,_i as durationSlow,sa as durationSlower,Hi as durationUltraFast,$o as durationUltraSlow,y as fontFamilyBase,Ii as fontFamilyMonospace,zi as fontFamilyNumeric,Mt as fontSizeBase100,R as fontSizeBase200,P as fontSizeBase300,ie as fontSizeBase400,et as fontSizeBase500,fo as fontSizeBase600,Xr as fontSizeHero1000,Gr as fontSizeHero700,Wr as fontSizeHero800,qr as fontSizeHero900,bo as fontWeightBold,Ni as fontWeightMedium,T as fontWeightRegular,L as fontWeightSemibold,Ee as forcedColorsStylesheetBehavior,Ka as getDirection,Hg as lightModeStylesheetBehavior,vo as lineHeightBase100,se as lineHeightBase200,A as lineHeightBase300,ye as lineHeightBase400,mo as lineHeightBase500,Kr as lineHeightBase600,Zr as lineHeightHero1000,Ur as lineHeightHero700,Yr as lineHeightHero800,Qr as lineHeightHero900,dv as roleForMenuItem,_m as setTheme,Rm as setThemeFor,Jr as shadow16,_u as shadow16Brand,Uo as shadow2,Di as shadow28,Ru as shadow28Brand,Eu as shadow2Brand,Ht as shadow4,Mu as shadow4Brand,Oi as shadow64,Vu as shadow64Brand,Li as shadow8,Hu as shadow8Brand,ta as spacingHorizontalL,ot as spacingHorizontalM,Ie as spacingHorizontalMNudge,ju as spacingHorizontalNone,V as spacingHorizontalS,_e as spacingHorizontalSNudge,Gu as spacingHorizontalXL,fe as spacingHorizontalXS,Ei as spacingHorizontalXXL,tt as spacingHorizontalXXS,Wu as spacingHorizontalXXXL,Mi as spacingVerticalL,Xu as spacingVerticalM,aa as spacingVerticalMNudge,qu as spacingVerticalNone,H as spacingVerticalS,_t as spacingVerticalSNudge,Ku as spacingVerticalXL,ra as spacingVerticalXS,na as spacingVerticalXXL,oa as spacingVerticalXXS,Uu as spacingVerticalXXXL,ht as strokeWidthThick,He as strokeWidthThicker,ea as strokeWidthThickest,X as strokeWidthThin};