@fluentui/web-components 3.0.0-alpha.12 → 3.0.0-alpha.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.json +22 -1
- package/CHANGELOG.md +12 -2
- package/dist/dts/button/button.d.ts +55 -0
- package/dist/dts/button/button.definition.d.ts +10 -0
- package/dist/dts/button/button.options.d.ts +46 -0
- package/dist/dts/button/button.styles.d.ts +1 -0
- package/dist/dts/button/button.template.d.ts +7 -0
- package/dist/dts/button/define.d.ts +1 -0
- package/dist/dts/button/index.d.ts +5 -0
- package/dist/dts/index.d.ts +1 -0
- package/dist/esm/button/button.definition.js +21 -0
- package/dist/esm/button/button.definition.js.map +1 -0
- package/dist/esm/button/button.js +72 -0
- package/dist/esm/button/button.js.map +1 -0
- package/dist/esm/button/button.options.js +30 -0
- package/dist/esm/button/button.options.js.map +1 -0
- package/dist/esm/button/button.styles.js +253 -0
- package/dist/esm/button/button.styles.js.map +1 -0
- package/dist/esm/button/button.template.js +7 -0
- package/dist/esm/button/button.template.js.map +1 -0
- package/dist/esm/button/define.js +4 -0
- package/dist/esm/button/define.js.map +1 -0
- package/dist/esm/button/index.js +6 -0
- package/dist/esm/button/index.js.map +1 -0
- package/dist/esm/index.js +1 -0
- package/dist/esm/index.js.map +1 -1
- package/dist/fluent-web-components.api.json +595 -0
- package/dist/web-components.d.ts +126 -0
- package/dist/web-components.js +361 -20
- package/dist/web-components.min.js +136 -132
- package/docs/api-report.md +60 -0
- package/package.json +7 -3
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
import{composedContains as e,composedParent as t}from"@microsoft/fast-element/utilities";let o;try{if(document.currentScript)o=document.currentScript.getAttribute("fast-kernel");else{const e=document.getElementsByTagName("script");o=e[e.length-1].getAttribute("fast-kernel")}}catch(e){o="isolate"}let r;switch(o){case"share":r=Object.freeze({updateQueue:1,observable:2,contextEvent:3,elementRegistry:4});break;case"share-v2":r=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);r=Object.freeze({updateQueue:"1.2"+e,observable:"2.2"+e,contextEvent:"3.2"+e,elementRegistry:"4.2"+e})}const i=e=>"function"==typeof e,n=e=>"string"==typeof e,s=()=>{};var a="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};!function(){if("undefined"==typeof globalThis)if(void 0!==a)a.globalThis=a;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 l={configurable:!1,enumerable:!1,writable:!1};void 0===globalThis.FAST&&Reflect.defineProperty(globalThis,"FAST",Object.assign({value:Object.create(null)},l));const c=globalThis.FAST;if(void 0===c.getById){const e=Object.create(null);Reflect.defineProperty(c,"getById",Object.assign({value(t,o){let r=e[t];return void 0===r&&(r=o?e[t]=o():null),r}},l))}void 0===c.error&&Object.assign(c,{warn(){},error:e=>new Error("Error "+e),addMessages(){}});const d=Object.freeze([]);function h(){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 u(){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 g(e){e.prototype.toJSON=s}const p=Object.freeze({none:0,attribute:1,booleanAttribute:2,property:3,content:4,tokenList:5,event:6}),v=e=>e,f=globalThis.trustedTypes?globalThis.trustedTypes.createPolicy("fast-html",{createHTML:v}):{createHTML:v};let m=Object.freeze({createHTML:e=>f.createHTML(e),protect:(e,t,o,r)=>r});const b=m,y=Object.freeze({get policy(){return m},setPolicy(e){if(m!==b)throw c.error(1201);m=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)}}),k=c.getById(r.updateQueue,()=>{const e=[],t=[],o=globalThis.requestAnimationFrame;let r=!0;function i(){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(i,0)}}function s(){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 a(t){e.push(t),e.length<2&&(r?o(s):s())}return Object.freeze({enqueue:a,next:()=>new Promise(a),process:s,setMode:e=>r=e})});class x{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,i=t.length;r<i;++r)t[r].handleChange(o,e)}}class B{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 i;i=t?null!==(o=this.subscribers[t])&&void 0!==o?o:this.subscribers[t]=new x(this.subject):null!==(r=this.subjectSubscribers)&&void 0!==r?r:this.subjectSubscribers=new x(this.subject),i.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 w=Object.freeze({unknown:void 0,coupled:1}),$=c.getById(r.observable,()=>{const e=k.enqueue,t=/(:|&&|\|\||if)/,o=new WeakMap;let r=void 0,s=e=>{throw c.error(1101)};function a(e){var t;let r=null!==(t=e.$fastController)&&void 0!==t?t:o.get(e);return void 0===r&&(Array.isArray(e)?r=s(e):o.set(e,r=new B(e))),r}const l=u();class d{constructor(e){this.name=e,this.field="_"+e,this.callback=e+"Changed"}getValue(e){return void 0!==r&&r.watch(e,this.name),e[this.field]}setValue(e,t){const o=this.field,r=e[o];if(r!==t){e[o]=t;const n=e[this.callback];i(n)&&n.call(e,r,t),a(e).notify(this.name)}}}class h extends x{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!==w.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=r;let i;r=this.needsRefresh?this:void 0,this.needsRefresh=this.isVolatileBinding;try{i=this.expression(e,t)}finally{r=o}return i}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,i=a(e),n=null===o?this.first:{};if(n.propertySource=e,n.propertyName=t,n.notifier=i,i.subscribe(this,t),null!==o){if(!this.needsRefresh){let t;r=void 0,t=o.propertySource[o.propertyName],r=this,e===t&&(this.needsRefresh=!0)}o.next=n}this.last=n}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 g(h),Object.freeze({setArrayObserverFactory(e){s=e},getNotifier:a,track(e,t){r&&r.watch(e,t)},trackVolatile(){r&&(r.needsRefresh=!0)},notify(e,t){a(e).notify(t)},defineProperty(e,t){n(t)&&(t=new d(t)),l(e).push(t),Reflect.defineProperty(e,t.name,{enumerable:!0,get(){return t.getValue(this)},set(e){t.setValue(this,e)}})},getAccessors:l,binding(e,t,o=this.isVolatileBinding(e)){return new h(e,t,o)},isVolatileBinding:e=>t.test(e.toString())})});function P(e,t){$.defineProperty(e,t)}const S=c.getById(r.contextEvent,()=>{let e=null;return{get:()=>e,set(t){e=t}}}),C=Object.freeze({default:{index:0,length:0,get event(){return C.getEvent()},eventDetail(){return this.event.detail},eventTarget(){return this.event.target}},getEvent:()=>S.get(),setEvent(e){S.set(e)}});class F{constructor(e,t,o=!1){this.evaluate=e,this.policy=t,this.isVolatile=o}}class N extends F{createObserver(e){return $.binding(this.evaluate,e,this.isVolatile)}}function z(e,t,o=$.isVolatileBinding(e)){return new N(e,t,o)}class A extends F{createObserver(){return this}bind(e){return this.evaluate(e.source,e.context)}}function T(e,t){return new A(e,t)}let I;g(A);class L{constructor(e){this.styles=e,this.targets=new WeakSet,this._strategy=null,this.behaviors=e.map(e=>e instanceof L?e.behaviors:null).reduce((e,t)=>null===t?e:null===e?t:e.concat(t),null)}get strategy(){return null===this._strategy&&this.withStrategy(I),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 L?e(t.styles):[t]).reduce((e,t)=>e.concat(t),[])}(this.styles)),this}static setDefaultStrategy(e){I=e}static normalize(e){return void 0===e?void 0:Array.isArray(e)?new L(e):e instanceof L?e:new L([e])}}L.supportsAdoptedStyleSheets=Array.isArray(document.adoptedStyleSheets)&&"replace"in CSSStyleSheet.prototype;const M=h(),D=Object.freeze({getForInstance:M.getForInstance,getByType:M.getByType,define:e=>(M.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)}}D.define(H);const V=""+Math.random().toString(36).substring(2,8);let E=0;const R=()=>`--v${V}${++E}`;function _(e,t){const o=[];let r="";const n=[],s=e=>{n.push(e)};for(let n=0,a=e.length-1;n<a;++n){r+=e[n];let a=t[n];i(a)?a=new H(z(a),R()).createCSS(s):a instanceof F?a=new H(a,R()).createCSS(s):void 0!==D.getForInstance(a)&&(a=a.createCSS(s)),a instanceof L||a instanceof CSSStyleSheet?(""!==r.trim()&&(o.push(r),r=""),o.push(a)):r+=a}return r+=e[e.length-1],""!==r.trim()&&o.push(r),{styles:o,behaviors:n}}const j=(e,...t)=>{const{styles:o,behaviors:r}=_(e,t),i=new L(o);return r.length?i.withBehaviors(...r):i};class G{constructor(e,t){this.behaviors=t,this.css="";const o=e.reduce((e,t)=>(n(t)?this.css+=t:e.push(t),e),[]);o.length&&(this.styles=new L(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)}}D.define(G),j.partial=(e,...t)=>{const{styles:o,behaviors:r}=_(e,t);return new G(o,r)};const q="fast-"+Math.random().toString(36).substring(2,8),X=q+"{",W="}"+q,Y=W.length;let U=0;const K=()=>`${q}-${++U}`,Q=Object.freeze({interpolation:e=>`${X}${e}${W}`,attribute:e=>`${K()}="${X}${e}${W}"`,comment:e=>`\x3c!--${X}${e}${W}--\x3e`}),Z=Object.freeze({parse(e,t){const o=e.split(X);if(1===o.length)return null;const r=[];for(let e=0,i=o.length;e<i;++e){const i=o[e],n=i.indexOf(W);let s;if(-1===n)s=i;else{const e=i.substring(0,n);r.push(t[e]),s=i.substring(n+Y)}""!==s&&r.push(s)}return r}}),J=h(),ee=Object.freeze({getForInstance:J.getForInstance,getByType:J.getByType,define:(e,t)=>((t=t||{}).type=e,J.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?p.tokenList:p.property;break;case"?":e.targetAspect=t.substring(1),e.aspectType=p.booleanAttribute;break;case"@":e.targetAspect=t.substring(1),e.aspectType=p.event;break;default:e.targetAspect=t,e.aspectType=p.attribute}else e.aspectType=p.content}});class te{constructor(e){this.options=e}createHTML(e){return Q.attribute(e(this))}createBehavior(){return this}}g(te);const oe={[p.attribute]:y.setAttribute,[p.booleanAttribute]:y.setBooleanAttribute,[p.property]:(e,t,o)=>e[t]=o,[p.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}},[p.tokenList]:function(e,t,o){var r;const i=this.id+"-t",n=null!==(r=e[i])&&void 0!==r?r:e[i]={v:0,cv:Object.create(null)},s=n.cv;let a=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&&(s[o]=a,l.add(o))}}if(n.v=a+1,0!==a){a-=1;for(const e in s)s[e]===a&&l.remove(e)}},[p.event]:()=>{}};class re{constructor(e){this.dataBinding=e,this.updateTarget=null,this.aspectType=p.content}createHTML(e){return Q.interpolation(e(this))}createBehavior(){var e;if(null===this.updateTarget){const t=oe[this.aspectType],o=null!==(e=this.dataBinding.policy)&&void 0!==e?e:this.policy;if(!t)throw c.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 p.event:o[this.data]=e,o.addEventListener(this.targetAspect,this,this.dataBinding.options);break;case p.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){C.setEvent(e);const o=this.dataBinding.evaluate(t.source,t.context);C.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 ie(e,t){const o=e.parentNode;let r,i=e;for(;i!==t;)r=i.nextSibling,o.removeChild(i),i=r;o.removeChild(t)}ee.define(re,{aspected:!0});class ne{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=w.unknown,this.context=this,this.index=0,this.length=0,this.firstChild=e.firstChild,this.lastChild=e.lastChild}get event(){return C.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,i=this.firstChild;for(;i!==t;)r=i.nextSibling,o.insertBefore(i,e),i=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(){ie(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){ie(e[0].firstChild,e[e.length-1].lastChild);for(let t=0,o=e.length;t<o;++t)e[t].unbind()}}}g(ne),$.defineProperty(ne.prototype,"index"),$.defineProperty(ne.prototype,"length");const se=(e,t)=>`${e}.${t}`,ae={},le={index:0,node:null};function ce(e){e.startsWith("fast-")||c.warn(1204,{name:e})}const de=new Proxy(document.createElement("div"),{get(e,t){ce(t);const o=Reflect.get(e,t);return i(o)?o.bind(e):o},set:(e,t,o)=>(ce(t),Reflect.set(e,t,o))});class he{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,i){var n,s;this.nodeIds.has(o)||(this.nodeIds.add(o),this.addTargetDescriptor(t,o,r)),e.id=null!==(n=e.id)&&void 0!==n?n:K(),e.targetNodeId=o,e.targetTagName=i,e.policy=null!==(s=e.policy)&&void 0!==s?s: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 i=ae[t];if(!i){const r="_"+t;ae[t]=i={get(){var t;return null!==(t=this[r])&&void 0!==t?t:this[r]=this[e].childNodes[o]}}}r[t]=i}createView(e){const t=this.fragment.cloneNode(!0),o=Object.create(this.proto);o.r=t,o.h=null!=e?e:de;for(const e of this.nodeIds)o[e];return new ne(t,this.factories,o)}}function ue(e,t,o,r,i,n=!1){const s=o.attributes,a=e.directives;for(let l=0,c=s.length;l<c;++l){const d=s[l],h=d.value,u=Z.parse(h,a);let g=null;null===u?n&&(g=new re(T(()=>h,e.policy)),ee.assignAspect(g,d.name)):g=ve.aggregate(u,e.policy),null!==g&&(o.removeAttributeNode(d),l--,c--,e.addFactory(g,t,r,i,o.tagName))}}function ge(e,t,o){let r=0,i=t.firstChild;for(;i;){const t=pe(e,o,i,r);i=t.node,r=t.index}}function pe(e,t,o,r){const i=se(t,r);switch(o.nodeType){case 1:ue(e,t,o,i,r),ge(e,o,i);break;case 3:return function(e,t,o,r,i){const s=Z.parse(t.textContent,e.directives);if(null===s)return le.node=t.nextSibling,le.index=i+1,le;let a,l=a=t;for(let t=0,c=s.length;t<c;++t){const c=s[t];0!==t&&(i++,r=se(o,i),a=l.parentNode.insertBefore(document.createTextNode(""),l.nextSibling)),n(c)?a.textContent=c:(a.textContent=" ",ee.assignAspect(c),e.addFactory(c,o,r,i,null)),l=a}return le.index=i+1,le.node=l.nextSibling,le}(e,o,t,i,r);case 8:const s=Z.parse(o.data,e.directives);null!==s&&e.addFactory(ve.aggregate(s),t,i,r,null)}return le.index=r+1,le.node=o.nextSibling,le}const ve={compile(e,t,o=y.policy){let r;if(n(e)){r=document.createElement("TEMPLATE"),r.innerHTML=o.createHTML(e);const t=r.content.firstElementChild;null!==t&&"TEMPLATE"===t.tagName&&(r=t)}else r=e;const i=document.adoptNode(r.content),s=new he(i,t,o);var a,l;return ue(s,"",r,"h",0,!0),a=i.firstChild,l=t,(a&&8==a.nodeType&&null!==Z.parse(a.data,l)||1===i.childNodes.length&&Object.keys(t).length>0)&&i.insertBefore(document.createComment(""),i.firstChild),ge(s,i,"r"),le.node=null,s.freeze()},setDefaultStrategy(e){this.compile=e},aggregate(e,t=y.policy){if(1===e.length)return e[0];let o,r,i=!1,s=void 0;const a=e.length,l=e.map(e=>n(e)?()=>e:(o=e.sourceAspect||o,r=e.dataBinding||r,i=i||e.dataBinding.isVolatile,s=s||e.dataBinding.policy,e.dataBinding.evaluate));r.evaluate=(e,t)=>{let o="";for(let r=0;r<a;++r)o+=l[r](e,t);return o},r.isVolatile=i,r.policy=null!=s?s:t;const c=new re(r);return ee.assignAspect(c,o),c}},fe=/([ \x09\x0a\x0c\x0d])([^\0-\x1F\x7F-\x9F "'>=/]+)([ \x09\x0a\x0c\x0d]*=[ \x09\x0a\x0c\x0d]*(?:[^ \x09\x0a\x0c\x0d"'`<>=]*|"[^"]*|'[^']*))$/,me=Object.create(null);class be{constructor(e,t=me){this.html=e,this.factories=t}createHTML(e){const t=this.factories;for(const o in t)e(t[o]);return this.html}}function ye(e,t,o,r=ee.getForInstance(e)){if(r.aspected){const o=fe.exec(t);null!==o&&ee.assignAspect(e,o[2])}return e.createHTML(o)}be.empty=new be(""),ee.define(be);class ke{constructor(e,t={},o){this.policy=o,this.result=null,this.html=e,this.factories=t}create(e){return null===this.result&&(this.result=ve.compile(this.html,this.factories,this.policy)),this.result.createView(e)}inline(){return new be(n(this.html)?this.html:this.html.innerHTML,this.factories)}withPolicy(e){if(this.result)throw c.error(1208);if(this.policy)throw c.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,o){let r="";const n=Object.create(null),s=e=>{var t;const o=null!==(t=e.id)&&void 0!==t?t:e.id=K();return n[o]=e,o};for(let o=0,n=e.length-1;o<n;++o){const n=e[o];let a,l=t[o];if(r+=n,i(l))l=new re(z(l));else if(l instanceof F)l=new re(l);else if(!(a=ee.getForInstance(l))){const e=l;l=new re(T(()=>e))}r+=ye(l,n,s,a)}return new ke(r+e[e.length-1],n,o)}}g(ke);const xe=(e,...t)=>{if(Array.isArray(e)&&Array.isArray(e.raw))return ke.create(e,t);throw c.error(1206)};xe.partial=e=>new be(e);class Be extends te{bind(e){e.source[this.options]=e.targets[this.targetNodeId]}}ee.define(Be);const we=e=>new Be(e);function $e(e,t){const o=i(e)?e:()=>e,r=i(t)?t:()=>t;return(e,t)=>o(e,t)?r(e,t):null}const Pe=e=>1===e.nodeType;class Se extends te{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,d),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 Se{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 Fe(e){return n(e)&&(e={property:e}),new Ce(e)}ee.define(Ce);const Ne=Object.freeze({locate:u()}),ze={toView:e=>e?"true":"false",fromView:e=>null!=e&&"false"!==e&&!1!==e&&0!==e};function Ae(e){if(null==e)return null;const t=1*e;return isNaN(t)?null:t}const Te={toView(e){const t=Ae(e);return t?t.toString():t},fromView:Ae};class Ie{constructor(e,t,o=t.toLowerCase(),r="reflect",i){this.guards=new Set,this.Owner=e,this.name=t,this.attribute=o,this.mode=r,this.converter=i,this.fieldName="_"+t,this.callbackName=t+"Changed",this.hasCallback=this.callbackName in e.prototype,"boolean"===r&&void 0===i&&(this.converter=ze)}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||k.enqueue(()=>{o.add(e);const r=e[this.fieldName];switch(t){case"reflect":const t=this.converter;y.setAttribute(e,this.attribute,void 0!==t?t.toView(r):r);break;case"boolean":y.setBooleanAttribute(e,this.attribute,r)}o.delete(e)})}static collect(e,...t){const o=[];t.push(Ne.locate(e));for(let r=0,i=t.length;r<i;++r){const i=t[r];if(void 0!==i)for(let t=0,r=i.length;t<r;++t){const r=i[t];n(r)?o.push(new Ie(e,r)):o.push(new Ie(e,r.property,r.attribute,r.mode,r.converter))}}return o}}function Le(e,t){let o;function r(e,t){arguments.length>1&&(o.property=t),Ne.locate(e.constructor).push(o)}return arguments.length>1?(o={},void r(e,t)):(o=void 0===e?{}:e,r)}const Me={mode:"open"},De={},Oe=new Set,He=c.getById(r.elementRegistry,()=>h());class Ve{constructor(e,t=e.definition){var o;this.platformDefined=!1,n(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 r=e.prototype,i=Ie.collect(e,t.attributes),s=new Array(i.length),a={},l={};for(let e=0,t=i.length;e<t;++e){const t=i[e];s[e]=t.attribute,a[t.name]=t,l[t.attribute]=t,$.defineProperty(r,t)}Reflect.defineProperty(e,"observedAttributes",{value:s,enumerable:!0}),this.attributes=i,this.propertyLookup=a,this.attributeLookup=l,this.shadowOptions=void 0===t.shadowOptions?Me:null===t.shadowOptions?void 0:Object.assign(Object.assign({},Me),t.shadowOptions),this.elementOptions=void 0===t.elementOptions?De:Object.assign(Object.assign({},De),t.elementOptions),this.styles=L.normalize(t.styles),He.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 Oe.has(e)||He.getByType(e)?new Ve(class extends e{},t):new Ve(e,t)}static registerBaseType(e){Oe.add(e)}}Ve.getByType=He.getByType,Ve.getForInstance=He.getForInstance;const Ee={bubbles:!0,composed:!0,cancelable:!0},Re=new WeakMap;function _e(e){var t,o;return null!==(o=null!==(t=e.shadowRoot)&&void 0!==t?t:Re.get(e))&&void 0!==o?o:null}let je;class Ge extends B{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&&Re.set(e,t))}const r=$.getAccessors(e);if(r.length>0){const t=this.boundObservables=Object.create(null);for(let o=0,i=r.length;o<i;++o){const i=r[o].name,n=e[i];void 0!==n&&(delete e[i],t[i]=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:C.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,i=null!==(o=r.get(e))&&void 0!==o?o:0;0===i?(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,i+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.addBehavior(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,i=o.length;r<i;++r){const i=o[r];e[i]=t[i]}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},Ee),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=w.coupled)}static forCustomElement(e){const t=e.$fastController;if(void 0!==t)return t;const o=Ve.getForInstance(e);if(void 0===o)throw c.error(1401);return e.$fastController=new je(e,o)}static setStrategy(e){je=e}}function qe(e){var t;return"adoptedStyleSheets"in e?e:null!==(t=_e(e))&&void 0!==t?t:e.getRootNode()}g(Ge),Ge.setStrategy(Ge);class Xe{constructor(e){const t=Xe.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){const t=qe(e);t.adoptedStyleSheets=[...t.adoptedStyleSheets,...this.sheets]}removeStylesFrom(e){const t=qe(e),o=this.sheets;t.adoptedStyleSheets=t.adoptedStyleSheets.filter(e=>-1===o.indexOf(e))}}Xe.styleSheetCache=new Map;let We=0;function Ye(e){return e===document?document.body:e}function Ue(e){const t=class extends e{constructor(){super(),Ge.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 Ve.registerBaseType(t),t}L.setDefaultStrategy(L.supportsAdoptedStyleSheets?Xe:class{constructor(e){this.styles=e,this.styleClass="fast-"+ ++We}addStylesTo(e){e=Ye(qe(e));const t=this.styles,o=this.styleClass;for(let r=0;r<t.length;r++){const i=document.createElement("style");i.innerHTML=t[r],i.className=o,e.append(i)}}removeStylesFrom(e){const t=(e=Ye(qe(e))).querySelectorAll("."+this.styleClass);for(let o=0,r=t.length;o<r;++o)e.removeChild(t[o])}});const Ke=Object.assign(Ue(HTMLElement),{from:function(e){return Ue(e)},define:function(e,t){return i(e)?Ve.compose(e,t).define().type:Ve.compose(this,e).define().type},compose:function(e,t){return i(e)?Ve.compose(e,t):Ve.compose(this,e)}});function Qe(e){return e?"string"==typeof e?new be(e):"inline"in e?e.inline():e:be.empty}function Ze(e,t,o,r){var i,n=arguments.length,s=n<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,o,r);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(n<3?i(s):n>3?i(t,o,s):i(t,o))||s);return n>3&&s&&Object.defineProperty(t,o,s),s}class Je{}function et(e){return xe`<slot name="end" ${we("end")}>${Qe(e.end)}</slot>`.inline()}function tt(e){return xe`<slot name="start" ${we("start")}>${Qe(e.start)}</slot>`.inline()}const ot={horizontal:"horizontal",vertical:"vertical"};var rt;function it(e,t,o){return Math.min(Math.max(o,e),t)}!function(e){e.ltr="ltr",e.rtl="rtl"}(rt||(rt={}));let nt=0;function st(e,...t){const o=Ne.locate(e);t.forEach(t=>{Object.getOwnPropertyNames(t.prototype).forEach(o=>{"constructor"!==o&&Object.defineProperty(e.prototype,o,Object.getOwnPropertyDescriptor(t.prototype,o))});Ne.locate(t).forEach(e=>o.push(e))})}class at extends Ke{constructor(){super(...arguments),this.headinglevel=2,this.expanded=!1,this.disabled=!1,this.id=function(e=""){return`${e}${nt++}`}("accordion-"),this.clickHandler=e=>{this.disabled||this.$emit("click",e)}}}Ze([Le({attribute:"heading-level",mode:"fromView",converter:Te})],at.prototype,"headinglevel",void 0),Ze([Le({mode:"boolean"})],at.prototype,"expanded",void 0),Ze([Le({mode:"boolean"})],at.prototype,"disabled",void 0),Ze([Le],at.prototype,"id",void 0),st(at,Je);const lt="single",ct="multi";class dt extends Ke{constructor(){super(...arguments),this.expandmode=ct,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 at&&(e.addEventListener("click",this.activeItemChange),$.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],e.addEventListener("keydown",this.handleItemKeyDown),e.addEventListener("focus",this.handleItemFocus)}),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 at&&(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!==lt?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 at&&e.expanded))&&void 0!==e?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)=>{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===lt}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 at&&e.expandbutton.focus()}}Ze([Le({attribute:"expand-mode"})],dt.prototype,"expandmode",void 0),Ze([P],dt.prototype,"slottedAccordionItems",void 0);const ht="ElementInternals"in window&&"setFormValue"in window.ElementInternals.prototype,ut=new WeakMap;function gt(e){const t=class extends e{constructor(...e){super(...e),this.dirtyValue=!1,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 ht}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 d}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),k.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),k.enqueue(()=>this.classList.toggle("required",this.required)),this.validate()}get elementInternals(){if(!ht)return null;let e=ut.get(this);return e||(e=this.attachInternals(),ut.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)||void 0===e||e.appendChild(this.proxySlot),this.appendChild(this.proxy)}detachProxy(){var e;this.removeChild(this.proxy),null===(e=this.shadowRoot)||void 0===e||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 Le({mode:"boolean"})(t.prototype,"disabled"),Le({mode:"fromView",attribute:"value"})(t.prototype,"initialValue"),Le({attribute:"current-value"})(t.prototype,"currentValue"),Le(t.prototype,"name"),Le({mode:"boolean"})(t.prototype,"required"),P(t.prototype,"value"),t}class pt{constructor(e){this.value=e,this.notifier=$.getNotifier(this),this.dependencies=new Set,this.binding=$.binding(e,this),this.binding.setMode(!1)}static getOrCreate(e){let t=pt.cache.get(e);return t||(t=new pt(e),pt.cache.set(e,t),t)}evaluate(e,t){return this.binding.observe(o=>{if(this.dependencies.add(o),t===o){if(e.parent)return e.parent.getTokenValue(o);throw new Error("DesignTokenNode has encountered a circular token reference. Avoid this by setting the token value for an ancestor node.")}return e.getTokenValue(o)})}handleChange(){this.notifier.notify(void 0)}}pt.cache=new WeakMap;class vt{constructor(e,t,o,r){this.token=e,this.evaluator=t,this.node=o,this.subscriber=r,this.value=t.evaluate(o,e),this.subscriber&&$.getNotifier(this.evaluator).subscribe(this.subscriber)}dispose(){this.subscriber&&$.getNotifier(this.evaluator).unsubscribe(this.subscriber)}update(){return this.value=this.evaluator.evaluate(this.node,this.token),this}}class ft{constructor(e,t,o,r){this.target=e,this.type=t,this.token=o,this.value=r}notify(){$.getNotifier(this.token).notify(this)}}class mt{constructor(){this._parent=null,this._children=new Set,this._values=new Map,this._derived=new Map,this.dependencyGraph=new Map}static isDerivedTokenValue(e){return"function"==typeof e}static isDerivedFor(e,t){return e._derived.has(t)}static collectDerivedContext(e){const t=new Map;if(null===e.parent)return t;let o=mt.getAssignedTokensForNode(e),r=e.parent;do{const e=mt.getAssignedTokensForNode(r);for(let i=0,n=e.length;i<n;i++){const n=e[i];!o.includes(n)&&mt.isDerivedFor(r,n)&&t.set(n,r._derived.get(n))}o=Array.from(new Set(o.concat(e))),r=r.parent}while(null!==r);return t}static getLocalTokenValue(e,t){return mt.isAssigned(e,t)?mt.isDerivedFor(e,t)?e._derived.get(t).value:e._values.get(t):void 0}static getOrCreateDependencyGraph(e,t){let o=e.dependencyGraph.get(t);return o||(o=new Set,e.dependencyGraph.set(t,o),o)}static notify(){const e=this._notifications;this._notifications=[];for(const t of e)t.notify()}static queueNotification(...e){this._notifications.push(...e)}static getAssignedTokensForNode(e){return Array.from(e._values.keys())}static composeAssignedTokensForNode(e){const t=new Set(mt.getAssignedTokensForNode(e));let o=e.parent;for(;null!==o;){const e=mt.getAssignedTokensForNode(o);for(const o of e)t.add(o);o=o.parent}return Array.from(t)}static isAssigned(e,t){return e._values.has(t)}get parent(){return this._parent}get children(){return Array.from(this._children)}appendChild(e){var t,o;let r=null;null!==e.parent&&(r=mt.composeAssignedTokensForNode(e.parent),e.parent._children.delete(e));const i=mt.composeAssignedTokensForNode(this),n=mt.collectDerivedContext(this);e._parent=this,this._children.add(e);for(const o of i){let i=0;if(null!==r){const e=r.indexOf(o);-1!==e&&(i=1,r.splice(e,1))}e.dispatch(new ft(this,i,o,null===(t=n.get(o))||void 0===t?void 0:t.evaluator.value))}if(null!==r&&r.length>0)for(const t of r)e.dispatch(new ft(this,2,t,null===(o=n.get(t))||void 0===o?void 0:o.evaluator.value));mt.notify()}removeChild(e){if(e.parent===this){const t=mt.composeAssignedTokensForNode(this);e._parent=null,this._children.delete(e);for(const o of t)e.dispatch(new ft(this,2,o));mt.notify()}}dispose(){this.parent&&(this.parent._children.delete(this),this._parent=null);for(const[,e]of this._derived)e.dispose()}setTokenValue(e,t){const o=mt.isAssigned(this,e)||mt.isDerivedFor(this,e)?1:0,r=mt.getLocalTokenValue(this,e);this._values.set(e,t),mt.isDerivedFor(this,e)&&this.tearDownDerivedTokenValue(e);const i=mt.isDerivedTokenValue(t),n=mt.collectDerivedContext(this);let s;if(i){s=this.setupDerivedTokenValue(e,t,!0).value}else s=t;r!==s&&mt.queueNotification(new ft(this,o,e,t)),this.dispatch(new ft(this,o,e,t)),n.forEach((e,t)=>{if(!mt.isDerivedFor(this,t)){mt.getLocalTokenValue(this,t)!==(e=this.setupDerivedTokenValue(t,e.evaluator.value)).value&&mt.queueNotification(new ft(this,1,t,e.evaluator.value)),this.dispatch(new ft(this,0,t,e.evaluator.value))}}),mt.notify()}getTokenValue(e){let t,o=this;for(;null!==o;){if(mt.isDerivedFor(o,e)){t=o._derived.get(e).value;break}if(mt.isAssigned(o,e)){t=o._values.get(e);break}o=o._parent}if(void 0!==t)return t;throw new Error(`No value set for token ${e} in node tree.`)}deleteTokenValue(e){if(mt.isAssigned(this,e)){const t=mt.getLocalTokenValue(this,e);let o;this._values.delete(e),this.tearDownDerivedTokenValue(e);try{o=this.getTokenValue(e)}catch(e){o=void 0}mt.queueNotification(new ft(this,2,e)),t!==o&&this.dispatch(new ft(this,2,e)),mt.notify()}}dispatch(e){var t,o,r;if(this!==e.target){const{token:i}=e,n=mt.isAssigned(this,i),s=n&&(null===(t=this._derived.get(i))||void 0===t?void 0:t.evaluator.dependencies.has(i));if(n&&!s)return;2===e.type&&!n&&mt.isDerivedFor(this,i)&&(this.tearDownDerivedTokenValue(i),mt.queueNotification(new ft(this,2,i))),s&&(e=new ft(this,1,i,null===(o=this._derived.get(i))||void 0===o?void 0:o.evaluator.value));const{value:a}=e;if(a&&mt.isDerivedTokenValue(a)){const t=pt.getOrCreate(a).dependencies;let o=!1;for(const e of t)if(mt.isAssigned(this,e)){o=!0;break}if(o){const t=null===(r=this._derived.get(i))||void 0===r?void 0:r.value,o=this.setupDerivedTokenValue(i,a);if(t!==o.value){const r=new ft(this,void 0===t?0:1,i,o.evaluator.value);mt.queueNotification(r),e=r}}}}this.collectLocalChangeRecords(e).forEach(e=>{mt.queueNotification(e),this.dispatch(e)}),this.notifyChildren(e)}collectLocalChangeRecords(e){const t=new Map;for(const o of mt.getOrCreateDependencyGraph(this,e.token))o.value!==o.update().value&&t.set(o.token,new ft(this,1,o.token,o.evaluator.value));return t}notifyChildren(...e){if(this.children.length)for(let t=0,o=this.children.length;t<o;t++)for(let o=0;o<e.length;o++)this.children[t].dispatch(e[o])}tearDownDerivedTokenValue(e){if(mt.isDerivedFor(this,e)){const t=this._derived.get(e);t.dispose(),this._derived.delete(e),t.evaluator.dependencies.forEach(e=>{mt.getOrCreateDependencyGraph(this,e).delete(t)})}}setupDerivedTokenValue(e,t,o=!1){const r=new vt(e,pt.getOrCreate(t),this,o?{handleChange:()=>{if(r.value!==r.update().value){const e=new ft(this,1,r.token,r.evaluator.value);mt.queueNotification(e),this.dispatch(e),mt.notify()}}}:void 0);return this._derived.set(e,r),r.evaluator.dependencies.forEach(t=>{t!==e&&mt.getOrCreateDependencyGraph(this,t).add(r)}),r}}mt._notifications=[];class bt{setProperty(e,t){k.enqueue(()=>this.target.setProperty(e,t))}removeProperty(e){k.enqueue(()=>this.target.removeProperty(e))}}class yt extends bt{constructor(){super();const e=new CSSStyleSheet;this.target=e.cssRules[e.insertRule(":root{}")].style,document.adoptedStyleSheets=[...document.adoptedStyleSheets,e]}}class kt extends bt{constructor(){super(),this.style=document.createElement("style"),document.head.appendChild(this.style);const{sheet:e}=this.style;if(e){const t=e.insertRule(":root{}",e.cssRules.length);this.target=e.cssRules[t].style}}}class xt{constructor(e){this.store=new Map,this.target=null;const t=e.$fastController;this.style=document.createElement("style"),t.addStyles(this.style),$.getNotifier(t).subscribe(this,"isConnected"),this.handleChange(t,"isConnected")}targetChanged(){if(null!==this.target)for(const[e,t]of this.store.entries())this.target.setProperty(e,t)}setProperty(e,t){this.store.set(e,t),k.enqueue(()=>{null!==this.target&&this.target.setProperty(e,t)})}removeProperty(e){this.store.delete(e),k.enqueue(()=>{null!==this.target&&this.target.removeProperty(e)})}handleChange(e,t){const{sheet:o}=this.style;if(o){const e=o.insertRule(":host{}",o.cssRules.length);this.target=o.cssRules[e].style}else this.target=null}}Ze([P],xt.prototype,"target",void 0);class Bt{setProperty(e,t){Bt.properties[e]=t;for(const o of Bt.roots.values())o.setProperty(e,t)}removeProperty(e){delete Bt.properties[e];for(const t of Bt.roots.values())t.removeProperty(e)}static registerRoot(e){const{roots:t}=Bt;if(!t.has(e)){t.add(e);for(const t in Bt.properties)e.setProperty(t,Bt.properties[t])}}static unregisterRoot(e){const{roots:t}=Bt;if(t.has(e)){t.delete(e);for(const t in Bt.properties)e.removeProperty(t)}}}Bt.roots=new Set,Bt.properties={};const wt=new WeakMap,$t=L.supportsAdoptedStyleSheets?class extends bt{constructor(e){super();const t=new CSSStyleSheet;this.target=t.cssRules[t.insertRule(":host{}")].style,e.$fastController.addStyles(new L([t]))}}:xt,Pt=Object.freeze({getOrCreate(e){if(wt.has(e))return wt.get(e);let t;return t=e instanceof Document?L.supportsAdoptedStyleSheets?new yt:new kt:new $t(e),wt.set(e,t),t}});class St{constructor(e){this.subscriberNotifier={handleChange:(e,t)=>{const o={target:t.target===zt.defaultNode?"default":t.target.target,token:this};this.subscribers.notify(o)}},this.name=e.name,$.getNotifier(this).subscribe(this.subscriberNotifier)}get $value(){return this.default}get default(){return zt.defaultNode.getTokenValue(this)}get subscribers(){return this._subscribers||(this._subscribers=new x(this)),this._subscribers}static isCSSDesignTokenConfiguration(e){return"string"==typeof e.cssCustomPropertyName}static create(e){return"string"==typeof e?new Ct({name:e,cssCustomPropertyName:e}):St.isCSSDesignTokenConfiguration(e)?new Ct(e):new St(e)}static withStrategy(e){zt.withStrategy(e)}static registerDefaultStyleTarget(e=document){(e instanceof Ke||e instanceof Document)&&(e=Pt.getOrCreate(e)),Bt.registerRoot(e)}static unregisterDefaultStyleTarget(e=document){(e instanceof Ke||e instanceof Document)&&(e=Pt.getOrCreate(e)),Bt.unregisterRoot(e)}getValueFor(e){return zt.getOrCreate(e).getTokenValue(this)}setValueFor(e,t){zt.getOrCreate(e).setTokenValue(this,this.normalizeValue(t))}deleteValueFor(e){return zt.getOrCreate(e).deleteTokenValue(this),this}withDefault(e){return zt.defaultNode.setTokenValue(this,this.normalizeValue(e)),this}subscribe(e){this.subscribers.subscribe(e)}unsubscribe(e){this.subscribers.unsubscribe(e)}alias(e){return t=>t(e)}normalizeValue(e){return e instanceof St&&(e=this.alias(e)),e}}let Ct=class extends St{constructor(e){super(e),this.cssReflector={handleChange:(e,t)=>{const o=t.target===zt.defaultNode?zt.rootStyleSheetTarget:t.target instanceof zt?Pt.getOrCreate(t.target.target):null;o&&(2===t.type?o.removeProperty(this.cssCustomProperty):o.setProperty(this.cssCustomProperty,this.resolveCSSValue(t.target.getTokenValue(this))))}},this.cssCustomProperty="--"+e.cssCustomPropertyName,this.cssVar=`var(${this.cssCustomProperty})`,$.getNotifier(this).subscribe(this.cssReflector)}createCSS(){return this.cssVar}createHTML(){return this.cssVar}resolveCSSValue(e){return e&&"function"==typeof e.createCSS?e.createCSS():e}};var Ft;Ct=Ze([function(e){D.define(e)},function(e){ee.define(e,Ft)}],Ct);const Nt={contains:e,parent(e){let o=t(e);for(;null!==o;){if(o instanceof Ke)return o;o=t(o)}return null}};class zt extends mt{constructor(e){super(),this.target=e,this.setTokenValue=this.lazyAttachToDefault(super.setTokenValue),this.getTokenValue=this.lazyAttachToDefault(super.getTokenValue),this.deleteTokenValue=this.lazyAttachToDefault(super.deleteTokenValue)}static get strategy(){return void 0===this._strategy&&zt.withStrategy(Nt),this._strategy}connectedCallback(e){let t=zt.findParent(e.source);if(null===t&&(t=zt.defaultNode),t!==this.parent){const o=[];for(const r of t.children)r instanceof zt&&zt.strategy.contains(e.source,r.target)&&o.push(r);t.appendChild(this);for(const e of o)this.appendChild(e)}}disconnectedCallback(e){zt.cache.delete(this.target),this.dispose()}static getOrCreate(e){let t=zt.cache.get(e);return t||(t=new zt(e),zt.cache.set(e,t),e.$fastController.addBehavior(zt.strategy),e.$fastController.addBehavior(t),t)}static withStrategy(e){this._strategy=e}static findParent(e){let t=zt.strategy.parent(e);for(;null!==t;){const e=zt.cache.get(t);if(e)return e;t=zt.strategy.parent(t)}return null}lazyAttachToDefault(e){return(...t)=>(null===this.parent&&zt.defaultNode.appendChild(this),e.apply(this,t))}}zt.defaultNode=new mt,zt.rootStyleSheetTarget=new Bt,zt.cache=new WeakMap;const At={separator:"separator",presentation:"presentation"},Tt=ot;class It extends Ke{constructor(){super(...arguments),this.role=At.separator,this.orientation=Tt.horizontal}}Ze([Le],It.prototype,"role",void 0),Ze([Le],It.prototype,"orientation",void 0);class Lt extends Ke{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)}}Ze([Le({converter:Te})],Lt.prototype,"value",void 0),Ze([Le({converter:Te})],Lt.prototype,"min",void 0),Ze([Le({converter:Te})],Lt.prototype,"max",void 0),Ze([P],Lt.prototype,"percentComplete",void 0);class Mt extends Lt{}class Dt extends Lt{}const Ot=ot,Ht="single-value";function Vt(e,t,o,r){let i=it(0,1,(e-t)/(o-t));return r===rt.rtl&&(i=1-i),i}class Et extends Ke{}class Rt extends(gt(Et)){constructor(){super(...arguments),this.proxy=document.createElement("input")}}class _t extends Rt{constructor(){super(...arguments),this.direction=rt.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=ot.horizontal,this.mode=Ht,this.keypressHandler=e=>{if(!this.readOnly&&!this.disabled)if("Home"===e.key)e.preventDefault(),this.direction!==rt.rtl&&this.orientation!==ot.vertical?this.value=""+this.min:this.value=""+this.max;else if("End"===e.key)e.preventDefault(),this.direction!==rt.rtl&&this.orientation!==ot.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)=>{const t=(e?"remove":"add")+"EventListener";this[t]("keydown",this.keypressHandler),this[t]("mousedown",this.handleMouseDown),this.thumb[t]("mousedown",this.handleThumbMouseDown,{passive:!0}),this.thumb[t]("touchstart",this.handleThumbMouseDown,{passive:!0}),e&&(this.handleMouseDown(null),this.handleThumbMouseDown(null))},this.initialValue="",this.handleThumbMouseDown=e=>{const t=(null!==e?"add":"remove")+"EventListener";window[t]("mouseup",this.handleWindowMouseUp),window[t]("mousemove",this.handleMouseMove,{passive:!0}),window[t]("touchmove",this.handleMouseMove,{passive:!0}),window[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===ot.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=>{const t=(null!==e?"add":"remove")+"EventListener";if((null===e||!this.disabled&&!this.readOnly)&&(window[t]("mouseup",this.handleWindowMouseUp),window.document[t]("mouseleave",this.handleWindowMouseUp),window[t]("mousemove",this.handleMouseMove),e)){this.setupTrackConstraints();const t=this.orientation===ot.horizontal?e.pageX-document.documentElement.scrollLeft-this.trackLeft:e.pageY-document.documentElement.scrollTop;this.value=""+this.calculateNewValue(t)}}}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=it(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(){var e;super.connectedCallback(),this.proxy.setAttribute("type","range"),this.direction="rtl"===(null===(e=this.closest("[dir]"))||void 0===e?void 0:e.dir)?rt.rtl:rt.ltr,this.updateStepMultiplier(),this.setupTrackConstraints(),this.setupListeners(),this.setupDefaultValue(),this.setThumbPositionForOrientation(this.direction)}disconnectedCallback(){this.setupListeners(!0)}increment(){const e=(this.direction!==rt.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!==rt.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-Vt(Number(this.value),Number(this.min),Number(this.max),e));this.orientation===ot.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=Vt(e,this.orientation===ot.horizontal?this.trackMinWidth:this.trackMinHeight,this.orientation===ot.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}}Ze([Le({attribute:"readonly",mode:"boolean"})],_t.prototype,"readOnly",void 0),Ze([P],_t.prototype,"direction",void 0),Ze([P],_t.prototype,"isDragging",void 0),Ze([P],_t.prototype,"position",void 0),Ze([P],_t.prototype,"trackWidth",void 0),Ze([P],_t.prototype,"trackMinWidth",void 0),Ze([P],_t.prototype,"trackHeight",void 0),Ze([P],_t.prototype,"trackLeft",void 0),Ze([P],_t.prototype,"trackMinHeight",void 0),Ze([P],_t.prototype,"valueTextFormatter",void 0),Ze([Le({converter:Te})],_t.prototype,"min",void 0),Ze([Le({converter:Te})],_t.prototype,"max",void 0),Ze([Le({converter:Te})],_t.prototype,"step",void 0),Ze([Le],_t.prototype,"orientation",void 0),Ze([Le],_t.prototype,"mode",void 0);class jt extends Ke{}class Gt extends(function(e){class t extends(gt(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 Le({attribute:"checked",mode:"boolean"})(o.prototype,"checkedAttribute"),Le({attribute:"current-checked",converter:ze})(o.prototype,"currentChecked"),P(o.prototype,"defaultChecked"),P(o.prototype,"checked"),o}(jt)){constructor(){super(...arguments),this.proxy=document.createElement("input")}}class qt extends Gt{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)}}Ze([Le({attribute:"readonly",mode:"boolean"})],qt.prototype,"readOnly",void 0),Ze([P],qt.prototype,"defaultSlottedNodes",void 0);function Xt(e){return`:host([hidden]){display:none}:host{display:${e}}`}class Wt extends dt{}const Yt=xe`<template><slot ${Fe({property:"slottedAccordionItems",filter:Ut?e=>1===e.nodeType&&e.matches(Ut):Pe})}></slot></template>`;var Ut;const Kt=j`
|
|
2
|
-
${
|
|
1
|
+
import{composedContains as e,composedParent as t}from"@microsoft/fast-element/utilities";let o;try{if(document.currentScript)o=document.currentScript.getAttribute("fast-kernel");else{const e=document.getElementsByTagName("script");o=e[e.length-1].getAttribute("fast-kernel")}}catch(e){o="isolate"}let r;switch(o){case"share":r=Object.freeze({updateQueue:1,observable:2,contextEvent:3,elementRegistry:4});break;case"share-v2":r=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);r=Object.freeze({updateQueue:"1.2"+e,observable:"2.2"+e,contextEvent:"3.2"+e,elementRegistry:"4.2"+e})}const i=e=>"function"==typeof e,a=e=>"string"==typeof e,n=()=>{};var s="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};!function(){if("undefined"==typeof globalThis)if(void 0!==s)s.globalThis=s;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 l={configurable:!1,enumerable:!1,writable:!1};void 0===globalThis.FAST&&Reflect.defineProperty(globalThis,"FAST",Object.assign({value:Object.create(null)},l));const c=globalThis.FAST;if(void 0===c.getById){const e=Object.create(null);Reflect.defineProperty(c,"getById",Object.assign({value(t,o){let r=e[t];return void 0===r&&(r=o?e[t]=o():null),r}},l))}void 0===c.error&&Object.assign(c,{warn(){},error:e=>new Error("Error "+e),addMessages(){}});const d=Object.freeze([]);function h(){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 u(){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 p(e){e.prototype.toJSON=n}const g=Object.freeze({none:0,attribute:1,booleanAttribute:2,property:3,content:4,tokenList:5,event:6}),b=e=>e,v=globalThis.trustedTypes?globalThis.trustedTypes.createPolicy("fast-html",{createHTML:b}):{createHTML:b};let m=Object.freeze({createHTML:e=>v.createHTML(e),protect:(e,t,o,r)=>r});const f=m,y=Object.freeze({get policy(){return m},setPolicy(e){if(m!==f)throw c.error(1201);m=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)}}),k=c.getById(r.updateQueue,()=>{const e=[],t=[],o=globalThis.requestAnimationFrame;let r=!0;function i(){if(t.length)throw t.shift()}function a(o){try{o.call()}catch(o){if(!r)throw e.length=0,o;t.push(o),setTimeout(i,0)}}function n(){let t=0;for(;t<e.length;)if(a(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(n):n())}return Object.freeze({enqueue:s,next:()=>new Promise(s),process:n,setMode:e=>r=e})});class x{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,i=t.length;r<i;++r)t[r].handleChange(o,e)}}class ${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 i;i=t?null!==(o=this.subscribers[t])&&void 0!==o?o:this.subscribers[t]=new x(this.subject):null!==(r=this.subjectSubscribers)&&void 0!==r?r:this.subjectSubscribers=new x(this.subject),i.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 B=Object.freeze({unknown:void 0,coupled:1}),w=c.getById(r.observable,()=>{const e=k.enqueue,t=/(:|&&|\|\||if)/,o=new WeakMap;let r=void 0,n=e=>{throw c.error(1101)};function s(e){var t;let r=null!==(t=e.$fastController)&&void 0!==t?t:o.get(e);return void 0===r&&(Array.isArray(e)?r=n(e):o.set(e,r=new $(e))),r}const l=u();class d{constructor(e){this.name=e,this.field="_"+e,this.callback=e+"Changed"}getValue(e){return void 0!==r&&r.watch(e,this.name),e[this.field]}setValue(e,t){const o=this.field,r=e[o];if(r!==t){e[o]=t;const a=e[this.callback];i(a)&&a.call(e,r,t),s(e).notify(this.name)}}}class h extends x{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!==B.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=r;let i;r=this.needsRefresh?this:void 0,this.needsRefresh=this.isVolatileBinding;try{i=this.expression(e,t)}finally{r=o}return i}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,i=s(e),a=null===o?this.first:{};if(a.propertySource=e,a.propertyName=t,a.notifier=i,i.subscribe(this,t),null!==o){if(!this.needsRefresh){let t;r=void 0,t=o.propertySource[o.propertyName],r=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 p(h),Object.freeze({setArrayObserverFactory(e){n=e},getNotifier:s,track(e,t){r&&r.watch(e,t)},trackVolatile(){r&&(r.needsRefresh=!0)},notify(e,t){s(e).notify(t)},defineProperty(e,t){a(t)&&(t=new d(t)),l(e).push(t),Reflect.defineProperty(e,t.name,{enumerable:!0,get(){return t.getValue(this)},set(e){t.setValue(this,e)}})},getAccessors:l,binding(e,t,o=this.isVolatileBinding(e)){return new h(e,t,o)},isVolatileBinding:e=>t.test(e.toString())})});function P(e,t){w.defineProperty(e,t)}const S=c.getById(r.contextEvent,()=>{let e=null;return{get:()=>e,set(t){e=t}}}),C=Object.freeze({default:{index:0,length:0,get event(){return C.getEvent()},eventDetail(){return this.event.detail},eventTarget(){return this.event.target}},getEvent:()=>S.get(),setEvent(e){S.set(e)}});class F{constructor(e,t,o=!1){this.evaluate=e,this.policy=t,this.isVolatile=o}}class N extends F{createObserver(e){return w.binding(this.evaluate,e,this.isVolatile)}}function z(e,t,o=w.isVolatileBinding(e)){return new N(e,t,o)}class A extends F{createObserver(){return this}bind(e){return this.evaluate(e.source,e.context)}}function T(e,t){return new A(e,t)}let I;p(A);class L{constructor(e){this.styles=e,this.targets=new WeakSet,this._strategy=null,this.behaviors=e.map(e=>e instanceof L?e.behaviors:null).reduce((e,t)=>null===t?e:null===e?t:e.concat(t),null)}get strategy(){return null===this._strategy&&this.withStrategy(I),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 L?e(t.styles):[t]).reduce((e,t)=>e.concat(t),[])}(this.styles)),this}static setDefaultStrategy(e){I=e}static normalize(e){return void 0===e?void 0:Array.isArray(e)?new L(e):e instanceof L?e:new L([e])}}L.supportsAdoptedStyleSheets=Array.isArray(document.adoptedStyleSheets)&&"replace"in CSSStyleSheet.prototype;const D=h(),M=Object.freeze({getForInstance:D.getForInstance,getByType:D.getByType,define:e=>(D.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)}}M.define(H);const V=""+Math.random().toString(36).substring(2,8);let E=0;const R=()=>`--v${V}${++E}`;function _(e,t){const o=[];let r="";const a=[],n=e=>{a.push(e)};for(let a=0,s=e.length-1;a<s;++a){r+=e[a];let s=t[a];i(s)?s=new H(z(s),R()).createCSS(n):s instanceof F?s=new H(s,R()).createCSS(n):void 0!==M.getForInstance(s)&&(s=s.createCSS(n)),s instanceof L||s instanceof CSSStyleSheet?(""!==r.trim()&&(o.push(r),r=""),o.push(s)):r+=s}return r+=e[e.length-1],""!==r.trim()&&o.push(r),{styles:o,behaviors:a}}const j=(e,...t)=>{const{styles:o,behaviors:r}=_(e,t),i=new L(o);return r.length?i.withBehaviors(...r):i};class G{constructor(e,t){this.behaviors=t,this.css="";const o=e.reduce((e,t)=>(a(t)?this.css+=t:e.push(t),e),[]);o.length&&(this.styles=new L(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)}}M.define(G),j.partial=(e,...t)=>{const{styles:o,behaviors:r}=_(e,t);return new G(o,r)};const q="fast-"+Math.random().toString(36).substring(2,8),X=q+"{",W="}"+q,Y=W.length;let U=0;const K=()=>`${q}-${++U}`,Q=Object.freeze({interpolation:e=>`${X}${e}${W}`,attribute:e=>`${K()}="${X}${e}${W}"`,comment:e=>`\x3c!--${X}${e}${W}--\x3e`}),Z=Object.freeze({parse(e,t){const o=e.split(X);if(1===o.length)return null;const r=[];for(let e=0,i=o.length;e<i;++e){const i=o[e],a=i.indexOf(W);let n;if(-1===a)n=i;else{const e=i.substring(0,a);r.push(t[e]),n=i.substring(a+Y)}""!==n&&r.push(n)}return r}}),J=h(),ee=Object.freeze({getForInstance:J.getForInstance,getByType:J.getByType,define:(e,t)=>((t=t||{}).type=e,J.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?g.tokenList:g.property;break;case"?":e.targetAspect=t.substring(1),e.aspectType=g.booleanAttribute;break;case"@":e.targetAspect=t.substring(1),e.aspectType=g.event;break;default:e.targetAspect=t,e.aspectType=g.attribute}else e.aspectType=g.content}});class te{constructor(e){this.options=e}createHTML(e){return Q.attribute(e(this))}createBehavior(){return this}}p(te);const oe={[g.attribute]:y.setAttribute,[g.booleanAttribute]:y.setBooleanAttribute,[g.property]:(e,t,o)=>e[t]=o,[g.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}},[g.tokenList]:function(e,t,o){var r;const i=this.id+"-t",a=null!==(r=e[i])&&void 0!==r?r:e[i]={v:0,cv:Object.create(null)},n=a.cv;let s=a.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&&(n[o]=s,l.add(o))}}if(a.v=s+1,0!==s){s-=1;for(const e in n)n[e]===s&&l.remove(e)}},[g.event]:()=>{}};class re{constructor(e){this.dataBinding=e,this.updateTarget=null,this.aspectType=g.content}createHTML(e){return Q.interpolation(e(this))}createBehavior(){var e;if(null===this.updateTarget){const t=oe[this.aspectType],o=null!==(e=this.dataBinding.policy)&&void 0!==e?e:this.policy;if(!t)throw c.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 g.event:o[this.data]=e,o.addEventListener(this.targetAspect,this,this.dataBinding.options);break;case g.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){C.setEvent(e);const o=this.dataBinding.evaluate(t.source,t.context);C.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 ie(e,t){const o=e.parentNode;let r,i=e;for(;i!==t;)r=i.nextSibling,o.removeChild(i),i=r;o.removeChild(t)}ee.define(re,{aspected:!0});class ae{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=B.unknown,this.context=this,this.index=0,this.length=0,this.firstChild=e.firstChild,this.lastChild=e.lastChild}get event(){return C.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,i=this.firstChild;for(;i!==t;)r=i.nextSibling,o.insertBefore(i,e),i=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(){ie(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){ie(e[0].firstChild,e[e.length-1].lastChild);for(let t=0,o=e.length;t<o;++t)e[t].unbind()}}}p(ae),w.defineProperty(ae.prototype,"index"),w.defineProperty(ae.prototype,"length");const ne=(e,t)=>`${e}.${t}`,se={},le={index:0,node:null};function ce(e){e.startsWith("fast-")||c.warn(1204,{name:e})}const de=new Proxy(document.createElement("div"),{get(e,t){ce(t);const o=Reflect.get(e,t);return i(o)?o.bind(e):o},set:(e,t,o)=>(ce(t),Reflect.set(e,t,o))});class he{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,i){var a,n;this.nodeIds.has(o)||(this.nodeIds.add(o),this.addTargetDescriptor(t,o,r)),e.id=null!==(a=e.id)&&void 0!==a?a:K(),e.targetNodeId=o,e.targetTagName=i,e.policy=null!==(n=e.policy)&&void 0!==n?n: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 i=se[t];if(!i){const r="_"+t;se[t]=i={get(){var t;return null!==(t=this[r])&&void 0!==t?t:this[r]=this[e].childNodes[o]}}}r[t]=i}createView(e){const t=this.fragment.cloneNode(!0),o=Object.create(this.proto);o.r=t,o.h=null!=e?e:de;for(const e of this.nodeIds)o[e];return new ae(t,this.factories,o)}}function ue(e,t,o,r,i,a=!1){const n=o.attributes,s=e.directives;for(let l=0,c=n.length;l<c;++l){const d=n[l],h=d.value,u=Z.parse(h,s);let p=null;null===u?a&&(p=new re(T(()=>h,e.policy)),ee.assignAspect(p,d.name)):p=be.aggregate(u,e.policy),null!==p&&(o.removeAttributeNode(d),l--,c--,e.addFactory(p,t,r,i,o.tagName))}}function pe(e,t,o){let r=0,i=t.firstChild;for(;i;){const t=ge(e,o,i,r);i=t.node,r=t.index}}function ge(e,t,o,r){const i=ne(t,r);switch(o.nodeType){case 1:ue(e,t,o,i,r),pe(e,o,i);break;case 3:return function(e,t,o,r,i){const n=Z.parse(t.textContent,e.directives);if(null===n)return le.node=t.nextSibling,le.index=i+1,le;let s,l=s=t;for(let t=0,c=n.length;t<c;++t){const c=n[t];0!==t&&(i++,r=ne(o,i),s=l.parentNode.insertBefore(document.createTextNode(""),l.nextSibling)),a(c)?s.textContent=c:(s.textContent=" ",ee.assignAspect(c),e.addFactory(c,o,r,i,null)),l=s}return le.index=i+1,le.node=l.nextSibling,le}(e,o,t,i,r);case 8:const n=Z.parse(o.data,e.directives);null!==n&&e.addFactory(be.aggregate(n),t,i,r,null)}return le.index=r+1,le.node=o.nextSibling,le}const be={compile(e,t,o=y.policy){let r;if(a(e)){r=document.createElement("TEMPLATE"),r.innerHTML=o.createHTML(e);const t=r.content.firstElementChild;null!==t&&"TEMPLATE"===t.tagName&&(r=t)}else r=e;const i=document.adoptNode(r.content),n=new he(i,t,o);var s,l;return ue(n,"",r,"h",0,!0),s=i.firstChild,l=t,(s&&8==s.nodeType&&null!==Z.parse(s.data,l)||1===i.childNodes.length&&Object.keys(t).length>0)&&i.insertBefore(document.createComment(""),i.firstChild),pe(n,i,"r"),le.node=null,n.freeze()},setDefaultStrategy(e){this.compile=e},aggregate(e,t=y.policy){if(1===e.length)return e[0];let o,r,i=!1,n=void 0;const s=e.length,l=e.map(e=>a(e)?()=>e:(o=e.sourceAspect||o,r=e.dataBinding||r,i=i||e.dataBinding.isVolatile,n=n||e.dataBinding.policy,e.dataBinding.evaluate));r.evaluate=(e,t)=>{let o="";for(let r=0;r<s;++r)o+=l[r](e,t);return o},r.isVolatile=i,r.policy=null!=n?n:t;const c=new re(r);return ee.assignAspect(c,o),c}},ve=/([ \x09\x0a\x0c\x0d])([^\0-\x1F\x7F-\x9F "'>=/]+)([ \x09\x0a\x0c\x0d]*=[ \x09\x0a\x0c\x0d]*(?:[^ \x09\x0a\x0c\x0d"'`<>=]*|"[^"]*|'[^']*))$/,me=Object.create(null);class fe{constructor(e,t=me){this.html=e,this.factories=t}createHTML(e){const t=this.factories;for(const o in t)e(t[o]);return this.html}}function ye(e,t,o,r=ee.getForInstance(e)){if(r.aspected){const o=ve.exec(t);null!==o&&ee.assignAspect(e,o[2])}return e.createHTML(o)}fe.empty=new fe(""),ee.define(fe);class ke{constructor(e,t={},o){this.policy=o,this.result=null,this.html=e,this.factories=t}create(e){return null===this.result&&(this.result=be.compile(this.html,this.factories,this.policy)),this.result.createView(e)}inline(){return new fe(a(this.html)?this.html:this.html.innerHTML,this.factories)}withPolicy(e){if(this.result)throw c.error(1208);if(this.policy)throw c.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,o){let r="";const a=Object.create(null),n=e=>{var t;const o=null!==(t=e.id)&&void 0!==t?t:e.id=K();return a[o]=e,o};for(let o=0,a=e.length-1;o<a;++o){const a=e[o];let s,l=t[o];if(r+=a,i(l))l=new re(z(l));else if(l instanceof F)l=new re(l);else if(!(s=ee.getForInstance(l))){const e=l;l=new re(T(()=>e))}r+=ye(l,a,n,s)}return new ke(r+e[e.length-1],a,o)}}p(ke);const xe=(e,...t)=>{if(Array.isArray(e)&&Array.isArray(e.raw))return ke.create(e,t);throw c.error(1206)};xe.partial=e=>new fe(e);class $e extends te{bind(e){e.source[this.options]=e.targets[this.targetNodeId]}}ee.define($e);const Be=e=>new $e(e);function we(e,t){const o=i(e)?e:()=>e,r=i(t)?t:()=>t;return(e,t)=>o(e,t)?r(e,t):null}const Pe=e=>1===e.nodeType;class Se extends te{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,d),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 Se{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 Fe(e){return a(e)&&(e={property:e}),new Ce(e)}ee.define(Ce);const Ne=Object.freeze({locate:u()}),ze={toView:e=>e?"true":"false",fromView:e=>null!=e&&"false"!==e&&!1!==e&&0!==e};function Ae(e){if(null==e)return null;const t=1*e;return isNaN(t)?null:t}const Te={toView(e){const t=Ae(e);return t?t.toString():t},fromView:Ae};class Ie{constructor(e,t,o=t.toLowerCase(),r="reflect",i){this.guards=new Set,this.Owner=e,this.name=t,this.attribute=o,this.mode=r,this.converter=i,this.fieldName="_"+t,this.callbackName=t+"Changed",this.hasCallback=this.callbackName in e.prototype,"boolean"===r&&void 0===i&&(this.converter=ze)}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 w.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||k.enqueue(()=>{o.add(e);const r=e[this.fieldName];switch(t){case"reflect":const t=this.converter;y.setAttribute(e,this.attribute,void 0!==t?t.toView(r):r);break;case"boolean":y.setBooleanAttribute(e,this.attribute,r)}o.delete(e)})}static collect(e,...t){const o=[];t.push(Ne.locate(e));for(let r=0,i=t.length;r<i;++r){const i=t[r];if(void 0!==i)for(let t=0,r=i.length;t<r;++t){const r=i[t];a(r)?o.push(new Ie(e,r)):o.push(new Ie(e,r.property,r.attribute,r.mode,r.converter))}}return o}}function Le(e,t){let o;function r(e,t){arguments.length>1&&(o.property=t),Ne.locate(e.constructor).push(o)}return arguments.length>1?(o={},void r(e,t)):(o=void 0===e?{}:e,r)}const De={mode:"open"},Me={},Oe=new Set,He=c.getById(r.elementRegistry,()=>h());class Ve{constructor(e,t=e.definition){var o;this.platformDefined=!1,a(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 r=e.prototype,i=Ie.collect(e,t.attributes),n=new Array(i.length),s={},l={};for(let e=0,t=i.length;e<t;++e){const t=i[e];n[e]=t.attribute,s[t.name]=t,l[t.attribute]=t,w.defineProperty(r,t)}Reflect.defineProperty(e,"observedAttributes",{value:n,enumerable:!0}),this.attributes=i,this.propertyLookup=s,this.attributeLookup=l,this.shadowOptions=void 0===t.shadowOptions?De:null===t.shadowOptions?void 0:Object.assign(Object.assign({},De),t.shadowOptions),this.elementOptions=void 0===t.elementOptions?Me:Object.assign(Object.assign({},Me),t.elementOptions),this.styles=L.normalize(t.styles),He.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 Oe.has(e)||He.getByType(e)?new Ve(class extends e{},t):new Ve(e,t)}static registerBaseType(e){Oe.add(e)}}Ve.getByType=He.getByType,Ve.getForInstance=He.getForInstance;const Ee={bubbles:!0,composed:!0,cancelable:!0},Re=new WeakMap;function _e(e){var t,o;return null!==(o=null!==(t=e.shadowRoot)&&void 0!==t?t:Re.get(e))&&void 0!==o?o:null}let je;class Ge extends ${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&&Re.set(e,t))}const r=w.getAccessors(e);if(r.length>0){const t=this.boundObservables=Object.create(null);for(let o=0,i=r.length;o<i;++o){const i=r[o].name,a=e[i];void 0!==a&&(delete e[i],t[i]=a)}}}get isConnected(){return w.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:C.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,i=null!==(o=r.get(e))&&void 0!==o?o:0;0===i?(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,i+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.addBehavior(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,i=o.length;r<i;++r){const i=o[r];e[i]=t[i]}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,w.notify(this,"isConnected")}disconnect(){if(1!==this.stage)return;this.stage=2,w.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},Ee),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=B.coupled)}static forCustomElement(e){const t=e.$fastController;if(void 0!==t)return t;const o=Ve.getForInstance(e);if(void 0===o)throw c.error(1401);return e.$fastController=new je(e,o)}static setStrategy(e){je=e}}function qe(e){var t;return"adoptedStyleSheets"in e?e:null!==(t=_e(e))&&void 0!==t?t:e.getRootNode()}p(Ge),Ge.setStrategy(Ge);class Xe{constructor(e){const t=Xe.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){const t=qe(e);t.adoptedStyleSheets=[...t.adoptedStyleSheets,...this.sheets]}removeStylesFrom(e){const t=qe(e),o=this.sheets;t.adoptedStyleSheets=t.adoptedStyleSheets.filter(e=>-1===o.indexOf(e))}}Xe.styleSheetCache=new Map;let We=0;function Ye(e){return e===document?document.body:e}function Ue(e){const t=class extends e{constructor(){super(),Ge.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 Ve.registerBaseType(t),t}L.setDefaultStrategy(L.supportsAdoptedStyleSheets?Xe:class{constructor(e){this.styles=e,this.styleClass="fast-"+ ++We}addStylesTo(e){e=Ye(qe(e));const t=this.styles,o=this.styleClass;for(let r=0;r<t.length;r++){const i=document.createElement("style");i.innerHTML=t[r],i.className=o,e.append(i)}}removeStylesFrom(e){const t=(e=Ye(qe(e))).querySelectorAll("."+this.styleClass);for(let o=0,r=t.length;o<r;++o)e.removeChild(t[o])}});const Ke=Object.assign(Ue(HTMLElement),{from:function(e){return Ue(e)},define:function(e,t){return i(e)?Ve.compose(e,t).define().type:Ve.compose(this,e).define().type},compose:function(e,t){return i(e)?Ve.compose(e,t):Ve.compose(this,e)}});function Qe(e){return e?"string"==typeof e?new fe(e):"inline"in e?e.inline():e:fe.empty}function Ze(e,t,o,r){var i,a=arguments.length,n=a<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,o,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(n=(a<3?i(n):a>3?i(t,o,n):i(t,o))||n);return a>3&&n&&Object.defineProperty(t,o,n),n}class Je{}Ze([Le({attribute:"aria-atomic"})],Je.prototype,"ariaAtomic",void 0),Ze([Le({attribute:"aria-busy"})],Je.prototype,"ariaBusy",void 0),Ze([Le({attribute:"aria-controls"})],Je.prototype,"ariaControls",void 0),Ze([Le({attribute:"aria-current"})],Je.prototype,"ariaCurrent",void 0),Ze([Le({attribute:"aria-describedby"})],Je.prototype,"ariaDescribedby",void 0),Ze([Le({attribute:"aria-details"})],Je.prototype,"ariaDetails",void 0),Ze([Le({attribute:"aria-disabled"})],Je.prototype,"ariaDisabled",void 0),Ze([Le({attribute:"aria-errormessage"})],Je.prototype,"ariaErrormessage",void 0),Ze([Le({attribute:"aria-flowto"})],Je.prototype,"ariaFlowto",void 0),Ze([Le({attribute:"aria-haspopup"})],Je.prototype,"ariaHaspopup",void 0),Ze([Le({attribute:"aria-hidden"})],Je.prototype,"ariaHidden",void 0),Ze([Le({attribute:"aria-invalid"})],Je.prototype,"ariaInvalid",void 0),Ze([Le({attribute:"aria-keyshortcuts"})],Je.prototype,"ariaKeyshortcuts",void 0),Ze([Le({attribute:"aria-label"})],Je.prototype,"ariaLabel",void 0),Ze([Le({attribute:"aria-labelledby"})],Je.prototype,"ariaLabelledby",void 0),Ze([Le({attribute:"aria-live"})],Je.prototype,"ariaLive",void 0),Ze([Le({attribute:"aria-owns"})],Je.prototype,"ariaOwns",void 0),Ze([Le({attribute:"aria-relevant"})],Je.prototype,"ariaRelevant",void 0),Ze([Le({attribute:"aria-roledescription"})],Je.prototype,"ariaRoledescription",void 0);class et{}function tt(e){return xe`<slot name="end" ${Be("end")}>${Qe(e.end)}</slot>`.inline()}function ot(e){return xe`<slot name="start" ${Be("start")}>${Qe(e.start)}</slot>`.inline()}const rt={horizontal:"horizontal",vertical:"vertical"};var it;function at(e,t,o){return Math.min(Math.max(o,e),t)}!function(e){e.ltr="ltr",e.rtl="rtl"}(it||(it={}));let nt=0;function st(e,...t){const o=Ne.locate(e);t.forEach(t=>{Object.getOwnPropertyNames(t.prototype).forEach(o=>{"constructor"!==o&&Object.defineProperty(e.prototype,o,Object.getOwnPropertyDescriptor(t.prototype,o))});Ne.locate(t).forEach(e=>o.push(e))})}class lt extends Ke{constructor(){super(...arguments),this.headinglevel=2,this.expanded=!1,this.disabled=!1,this.id=function(e=""){return`${e}${nt++}`}("accordion-"),this.clickHandler=e=>{this.disabled||this.$emit("click",e)}}}Ze([Le({attribute:"heading-level",mode:"fromView",converter:Te})],lt.prototype,"headinglevel",void 0),Ze([Le({mode:"boolean"})],lt.prototype,"expanded",void 0),Ze([Le({mode:"boolean"})],lt.prototype,"disabled",void 0),Ze([Le],lt.prototype,"id",void 0),st(lt,et);const ct="single",dt="multi";class ht extends Ke{constructor(){super(...arguments),this.expandmode=dt,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=>w.getNotifier(e).subscribe(this,"disabled")),this.accordionItems=e.filter(e=>!e.hasAttribute("disabled")),this.accordionIds=this.getItemIds(),this.accordionItems.forEach((e,t)=>{e instanceof lt&&(e.addEventListener("click",this.activeItemChange),w.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],e.addEventListener("keydown",this.handleItemKeyDown),e.addEventListener("focus",this.handleItemFocus)}),this.isSingleExpandMode()){const e=this.findExpandedItem();this.setSingleExpandMode(e)}},this.removeItemListeners=e=>{e.forEach((e,t)=>{w.getNotifier(e).unsubscribe(this,"disabled"),w.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 lt&&(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!==ct?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 lt&&e.expanded))&&void 0!==e?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)=>{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===ct}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 lt&&e.expandbutton.focus()}}Ze([Le({attribute:"expand-mode"})],ht.prototype,"expandmode",void 0),Ze([P],ht.prototype,"slottedAccordionItems",void 0);const ut="ElementInternals"in window&&"setFormValue"in window.ElementInternals.prototype,pt=new WeakMap;function gt(e){const t=class extends e{constructor(...e){super(...e),this.dirtyValue=!1,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 ut}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 d}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),k.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),k.enqueue(()=>this.classList.toggle("required",this.required)),this.validate()}get elementInternals(){if(!ut)return null;let e=pt.get(this);return e||(e=this.attachInternals(),pt.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)||void 0===e||e.appendChild(this.proxySlot),this.appendChild(this.proxy)}detachProxy(){var e;this.removeChild(this.proxy),null===(e=this.shadowRoot)||void 0===e||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 Le({mode:"boolean"})(t.prototype,"disabled"),Le({mode:"fromView",attribute:"value"})(t.prototype,"initialValue"),Le({attribute:"current-value"})(t.prototype,"currentValue"),Le(t.prototype,"name"),Le({mode:"boolean"})(t.prototype,"required"),P(t.prototype,"value"),t}class bt extends Ke{}class vt extends(gt(bt)){constructor(){super(...arguments),this.proxy=document.createElement("input")}}const mt="submit",ft="reset";class yt extends vt{constructor(){super(...arguments),this.handleSubmission=()=>{if(!this.form)return;const e=this.proxy.isConnected;e||this.attachProxy(),"function"==typeof this.form.requestSubmit?this.form.requestSubmit(this.proxy):this.proxy.click(),e||this.detachProxy()},this.handleFormReset=()=>{var e;null===(e=this.form)||void 0===e||e.reset()}}formactionChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.formAction=this.formaction)}formenctypeChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.formEnctype=this.formenctype)}formmethodChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.formMethod=this.formmethod)}formnovalidateChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.formNoValidate=this.formnovalidate)}formtargetChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.formTarget=this.formtarget)}typeChanged(e,t){this.proxy instanceof HTMLInputElement&&(this.proxy.type=this.type),t===mt&&this.addEventListener("click",this.handleSubmission),e===mt&&this.removeEventListener("click",this.handleSubmission),t===ft&&this.addEventListener("click",this.handleFormReset),e===ft&&this.removeEventListener("click",this.handleFormReset)}validate(){super.validate(this.control)}connectedCallback(){super.connectedCallback(),this.proxy.setAttribute("type",this.type)}}Ze([Le({mode:"boolean"})],yt.prototype,"autofocus",void 0),Ze([Le({attribute:"form"})],yt.prototype,"formId",void 0),Ze([Le],yt.prototype,"formaction",void 0),Ze([Le],yt.prototype,"formenctype",void 0),Ze([Le],yt.prototype,"formmethod",void 0),Ze([Le({mode:"boolean"})],yt.prototype,"formnovalidate",void 0),Ze([Le],yt.prototype,"formtarget",void 0),Ze([Le],yt.prototype,"type",void 0),Ze([P],yt.prototype,"defaultSlottedContent",void 0);class kt{}Ze([Le({attribute:"aria-expanded"})],kt.prototype,"ariaExpanded",void 0),Ze([Le({attribute:"aria-pressed"})],kt.prototype,"ariaPressed",void 0),st(kt,Je),st(yt,et,kt);class xt{constructor(e){this.value=e,this.notifier=w.getNotifier(this),this.dependencies=new Set,this.binding=w.binding(e,this),this.binding.setMode(!1)}static getOrCreate(e){let t=xt.cache.get(e);return t||(t=new xt(e),xt.cache.set(e,t),t)}evaluate(e,t){return this.binding.observe(o=>{if(this.dependencies.add(o),t===o){if(e.parent)return e.parent.getTokenValue(o);throw new Error("DesignTokenNode has encountered a circular token reference. Avoid this by setting the token value for an ancestor node.")}return e.getTokenValue(o)})}handleChange(){this.notifier.notify(void 0)}}xt.cache=new WeakMap;class $t{constructor(e,t,o,r){this.token=e,this.evaluator=t,this.node=o,this.subscriber=r,this.value=t.evaluate(o,e),this.subscriber&&w.getNotifier(this.evaluator).subscribe(this.subscriber)}dispose(){this.subscriber&&w.getNotifier(this.evaluator).unsubscribe(this.subscriber)}update(){return this.value=this.evaluator.evaluate(this.node,this.token),this}}class Bt{constructor(e,t,o,r){this.target=e,this.type=t,this.token=o,this.value=r}notify(){w.getNotifier(this.token).notify(this)}}class wt{constructor(){this._parent=null,this._children=new Set,this._values=new Map,this._derived=new Map,this.dependencyGraph=new Map}static isDerivedTokenValue(e){return"function"==typeof e}static isDerivedFor(e,t){return e._derived.has(t)}static collectDerivedContext(e){const t=new Map;if(null===e.parent)return t;let o=wt.getAssignedTokensForNode(e),r=e.parent;do{const e=wt.getAssignedTokensForNode(r);for(let i=0,a=e.length;i<a;i++){const a=e[i];!o.includes(a)&&wt.isDerivedFor(r,a)&&t.set(a,r._derived.get(a))}o=Array.from(new Set(o.concat(e))),r=r.parent}while(null!==r);return t}static getLocalTokenValue(e,t){return wt.isAssigned(e,t)?wt.isDerivedFor(e,t)?e._derived.get(t).value:e._values.get(t):void 0}static getOrCreateDependencyGraph(e,t){let o=e.dependencyGraph.get(t);return o||(o=new Set,e.dependencyGraph.set(t,o),o)}static notify(){const e=this._notifications;this._notifications=[];for(const t of e)t.notify()}static queueNotification(...e){this._notifications.push(...e)}static getAssignedTokensForNode(e){return Array.from(e._values.keys())}static composeAssignedTokensForNode(e){const t=new Set(wt.getAssignedTokensForNode(e));let o=e.parent;for(;null!==o;){const e=wt.getAssignedTokensForNode(o);for(const o of e)t.add(o);o=o.parent}return Array.from(t)}static isAssigned(e,t){return e._values.has(t)}get parent(){return this._parent}get children(){return Array.from(this._children)}appendChild(e){var t,o;let r=null;null!==e.parent&&(r=wt.composeAssignedTokensForNode(e.parent),e.parent._children.delete(e));const i=wt.composeAssignedTokensForNode(this),a=wt.collectDerivedContext(this);e._parent=this,this._children.add(e);for(const o of i){let i=0;if(null!==r){const e=r.indexOf(o);-1!==e&&(i=1,r.splice(e,1))}e.dispatch(new Bt(this,i,o,null===(t=a.get(o))||void 0===t?void 0:t.evaluator.value))}if(null!==r&&r.length>0)for(const t of r)e.dispatch(new Bt(this,2,t,null===(o=a.get(t))||void 0===o?void 0:o.evaluator.value));wt.notify()}removeChild(e){if(e.parent===this){const t=wt.composeAssignedTokensForNode(this);e._parent=null,this._children.delete(e);for(const o of t)e.dispatch(new Bt(this,2,o));wt.notify()}}dispose(){this.parent&&(this.parent._children.delete(this),this._parent=null);for(const[,e]of this._derived)e.dispose()}setTokenValue(e,t){const o=wt.isAssigned(this,e)||wt.isDerivedFor(this,e)?1:0,r=wt.getLocalTokenValue(this,e);this._values.set(e,t),wt.isDerivedFor(this,e)&&this.tearDownDerivedTokenValue(e);const i=wt.isDerivedTokenValue(t),a=wt.collectDerivedContext(this);let n;if(i){n=this.setupDerivedTokenValue(e,t,!0).value}else n=t;r!==n&&wt.queueNotification(new Bt(this,o,e,t)),this.dispatch(new Bt(this,o,e,t)),a.forEach((e,t)=>{if(!wt.isDerivedFor(this,t)){wt.getLocalTokenValue(this,t)!==(e=this.setupDerivedTokenValue(t,e.evaluator.value)).value&&wt.queueNotification(new Bt(this,1,t,e.evaluator.value)),this.dispatch(new Bt(this,0,t,e.evaluator.value))}}),wt.notify()}getTokenValue(e){let t,o=this;for(;null!==o;){if(wt.isDerivedFor(o,e)){t=o._derived.get(e).value;break}if(wt.isAssigned(o,e)){t=o._values.get(e);break}o=o._parent}if(void 0!==t)return t;throw new Error(`No value set for token ${e} in node tree.`)}deleteTokenValue(e){if(wt.isAssigned(this,e)){const t=wt.getLocalTokenValue(this,e);let o;this._values.delete(e),this.tearDownDerivedTokenValue(e);try{o=this.getTokenValue(e)}catch(e){o=void 0}wt.queueNotification(new Bt(this,2,e)),t!==o&&this.dispatch(new Bt(this,2,e)),wt.notify()}}dispatch(e){var t,o,r;if(this!==e.target){const{token:i}=e,a=wt.isAssigned(this,i),n=a&&(null===(t=this._derived.get(i))||void 0===t?void 0:t.evaluator.dependencies.has(i));if(a&&!n)return;2===e.type&&!a&&wt.isDerivedFor(this,i)&&(this.tearDownDerivedTokenValue(i),wt.queueNotification(new Bt(this,2,i))),n&&(e=new Bt(this,1,i,null===(o=this._derived.get(i))||void 0===o?void 0:o.evaluator.value));const{value:s}=e;if(s&&wt.isDerivedTokenValue(s)){const t=xt.getOrCreate(s).dependencies;let o=!1;for(const e of t)if(wt.isAssigned(this,e)){o=!0;break}if(o){const t=null===(r=this._derived.get(i))||void 0===r?void 0:r.value,o=this.setupDerivedTokenValue(i,s);if(t!==o.value){const r=new Bt(this,void 0===t?0:1,i,o.evaluator.value);wt.queueNotification(r),e=r}}}}this.collectLocalChangeRecords(e).forEach(e=>{wt.queueNotification(e),this.dispatch(e)}),this.notifyChildren(e)}collectLocalChangeRecords(e){const t=new Map;for(const o of wt.getOrCreateDependencyGraph(this,e.token))o.value!==o.update().value&&t.set(o.token,new Bt(this,1,o.token,o.evaluator.value));return t}notifyChildren(...e){if(this.children.length)for(let t=0,o=this.children.length;t<o;t++)for(let o=0;o<e.length;o++)this.children[t].dispatch(e[o])}tearDownDerivedTokenValue(e){if(wt.isDerivedFor(this,e)){const t=this._derived.get(e);t.dispose(),this._derived.delete(e),t.evaluator.dependencies.forEach(e=>{wt.getOrCreateDependencyGraph(this,e).delete(t)})}}setupDerivedTokenValue(e,t,o=!1){const r=new $t(e,xt.getOrCreate(t),this,o?{handleChange:()=>{if(r.value!==r.update().value){const e=new Bt(this,1,r.token,r.evaluator.value);wt.queueNotification(e),this.dispatch(e),wt.notify()}}}:void 0);return this._derived.set(e,r),r.evaluator.dependencies.forEach(t=>{t!==e&&wt.getOrCreateDependencyGraph(this,t).add(r)}),r}}wt._notifications=[];class Pt{setProperty(e,t){k.enqueue(()=>this.target.setProperty(e,t))}removeProperty(e){k.enqueue(()=>this.target.removeProperty(e))}}class St extends Pt{constructor(){super();const e=new CSSStyleSheet;this.target=e.cssRules[e.insertRule(":root{}")].style,document.adoptedStyleSheets=[...document.adoptedStyleSheets,e]}}class Ct extends Pt{constructor(){super(),this.style=document.createElement("style"),document.head.appendChild(this.style);const{sheet:e}=this.style;if(e){const t=e.insertRule(":root{}",e.cssRules.length);this.target=e.cssRules[t].style}}}class Ft{constructor(e){this.store=new Map,this.target=null;const t=e.$fastController;this.style=document.createElement("style"),t.addStyles(this.style),w.getNotifier(t).subscribe(this,"isConnected"),this.handleChange(t,"isConnected")}targetChanged(){if(null!==this.target)for(const[e,t]of this.store.entries())this.target.setProperty(e,t)}setProperty(e,t){this.store.set(e,t),k.enqueue(()=>{null!==this.target&&this.target.setProperty(e,t)})}removeProperty(e){this.store.delete(e),k.enqueue(()=>{null!==this.target&&this.target.removeProperty(e)})}handleChange(e,t){const{sheet:o}=this.style;if(o){const e=o.insertRule(":host{}",o.cssRules.length);this.target=o.cssRules[e].style}else this.target=null}}Ze([P],Ft.prototype,"target",void 0);class Nt{setProperty(e,t){Nt.properties[e]=t;for(const o of Nt.roots.values())o.setProperty(e,t)}removeProperty(e){delete Nt.properties[e];for(const t of Nt.roots.values())t.removeProperty(e)}static registerRoot(e){const{roots:t}=Nt;if(!t.has(e)){t.add(e);for(const t in Nt.properties)e.setProperty(t,Nt.properties[t])}}static unregisterRoot(e){const{roots:t}=Nt;if(t.has(e)){t.delete(e);for(const t in Nt.properties)e.removeProperty(t)}}}Nt.roots=new Set,Nt.properties={};const zt=new WeakMap,At=L.supportsAdoptedStyleSheets?class extends Pt{constructor(e){super();const t=new CSSStyleSheet;this.target=t.cssRules[t.insertRule(":host{}")].style,e.$fastController.addStyles(new L([t]))}}:Ft,Tt=Object.freeze({getOrCreate(e){if(zt.has(e))return zt.get(e);let t;return t=e instanceof Document?L.supportsAdoptedStyleSheets?new St:new Ct:new At(e),zt.set(e,t),t}});class It{constructor(e){this.subscriberNotifier={handleChange:(e,t)=>{const o={target:t.target===Ot.defaultNode?"default":t.target.target,token:this};this.subscribers.notify(o)}},this.name=e.name,w.getNotifier(this).subscribe(this.subscriberNotifier)}get $value(){return this.default}get default(){return Ot.defaultNode.getTokenValue(this)}get subscribers(){return this._subscribers||(this._subscribers=new x(this)),this._subscribers}static isCSSDesignTokenConfiguration(e){return"string"==typeof e.cssCustomPropertyName}static create(e){return"string"==typeof e?new Lt({name:e,cssCustomPropertyName:e}):It.isCSSDesignTokenConfiguration(e)?new Lt(e):new It(e)}static withStrategy(e){Ot.withStrategy(e)}static registerDefaultStyleTarget(e=document){(e instanceof Ke||e instanceof Document)&&(e=Tt.getOrCreate(e)),Nt.registerRoot(e)}static unregisterDefaultStyleTarget(e=document){(e instanceof Ke||e instanceof Document)&&(e=Tt.getOrCreate(e)),Nt.unregisterRoot(e)}getValueFor(e){return Ot.getOrCreate(e).getTokenValue(this)}setValueFor(e,t){Ot.getOrCreate(e).setTokenValue(this,this.normalizeValue(t))}deleteValueFor(e){return Ot.getOrCreate(e).deleteTokenValue(this),this}withDefault(e){return Ot.defaultNode.setTokenValue(this,this.normalizeValue(e)),this}subscribe(e){this.subscribers.subscribe(e)}unsubscribe(e){this.subscribers.unsubscribe(e)}alias(e){return t=>t(e)}normalizeValue(e){return e instanceof It&&(e=this.alias(e)),e}}let Lt=class extends It{constructor(e){super(e),this.cssReflector={handleChange:(e,t)=>{const o=t.target===Ot.defaultNode?Ot.rootStyleSheetTarget:t.target instanceof Ot?Tt.getOrCreate(t.target.target):null;o&&(2===t.type?o.removeProperty(this.cssCustomProperty):o.setProperty(this.cssCustomProperty,this.resolveCSSValue(t.target.getTokenValue(this))))}},this.cssCustomProperty="--"+e.cssCustomPropertyName,this.cssVar=`var(${this.cssCustomProperty})`,w.getNotifier(this).subscribe(this.cssReflector)}createCSS(){return this.cssVar}createHTML(){return this.cssVar}resolveCSSValue(e){return e&&"function"==typeof e.createCSS?e.createCSS():e}};var Dt;Lt=Ze([function(e){M.define(e)},function(e){ee.define(e,Dt)}],Lt);const Mt={contains:e,parent(e){let o=t(e);for(;null!==o;){if(o instanceof Ke)return o;o=t(o)}return null}};class Ot extends wt{constructor(e){super(),this.target=e,this.setTokenValue=this.lazyAttachToDefault(super.setTokenValue),this.getTokenValue=this.lazyAttachToDefault(super.getTokenValue),this.deleteTokenValue=this.lazyAttachToDefault(super.deleteTokenValue)}static get strategy(){return void 0===this._strategy&&Ot.withStrategy(Mt),this._strategy}connectedCallback(e){let t=Ot.findParent(e.source);if(null===t&&(t=Ot.defaultNode),t!==this.parent){const o=[];for(const r of t.children)r instanceof Ot&&Ot.strategy.contains(e.source,r.target)&&o.push(r);t.appendChild(this);for(const e of o)this.appendChild(e)}}disconnectedCallback(e){Ot.cache.delete(this.target),this.dispose()}static getOrCreate(e){let t=Ot.cache.get(e);return t||(t=new Ot(e),Ot.cache.set(e,t),e.$fastController.addBehavior(Ot.strategy),e.$fastController.addBehavior(t),t)}static withStrategy(e){this._strategy=e}static findParent(e){let t=Ot.strategy.parent(e);for(;null!==t;){const e=Ot.cache.get(t);if(e)return e;t=Ot.strategy.parent(t)}return null}lazyAttachToDefault(e){return(...t)=>(null===this.parent&&Ot.defaultNode.appendChild(this),e.apply(this,t))}}Ot.defaultNode=new wt,Ot.rootStyleSheetTarget=new Nt,Ot.cache=new WeakMap;const Ht={separator:"separator",presentation:"presentation"},Vt=rt;class Et extends Ke{constructor(){super(...arguments),this.role=Ht.separator,this.orientation=Vt.horizontal}}Ze([Le],Et.prototype,"role",void 0),Ze([Le],Et.prototype,"orientation",void 0);class Rt extends Ke{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)}}Ze([Le({converter:Te})],Rt.prototype,"value",void 0),Ze([Le({converter:Te})],Rt.prototype,"min",void 0),Ze([Le({converter:Te})],Rt.prototype,"max",void 0),Ze([P],Rt.prototype,"percentComplete",void 0);class _t extends Rt{}class jt extends Rt{}const Gt=rt,qt="single-value";function Xt(e,t,o,r){let i=at(0,1,(e-t)/(o-t));return r===it.rtl&&(i=1-i),i}class Wt extends Ke{}class Yt extends(gt(Wt)){constructor(){super(...arguments),this.proxy=document.createElement("input")}}class Ut extends Yt{constructor(){super(...arguments),this.direction=it.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=rt.horizontal,this.mode=qt,this.keypressHandler=e=>{if(!this.readOnly&&!this.disabled)if("Home"===e.key)e.preventDefault(),this.direction!==it.rtl&&this.orientation!==rt.vertical?this.value=""+this.min:this.value=""+this.max;else if("End"===e.key)e.preventDefault(),this.direction!==it.rtl&&this.orientation!==rt.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)=>{const t=(e?"remove":"add")+"EventListener";this[t]("keydown",this.keypressHandler),this[t]("mousedown",this.handleMouseDown),this.thumb[t]("mousedown",this.handleThumbMouseDown,{passive:!0}),this.thumb[t]("touchstart",this.handleThumbMouseDown,{passive:!0}),e&&(this.handleMouseDown(null),this.handleThumbMouseDown(null))},this.initialValue="",this.handleThumbMouseDown=e=>{const t=(null!==e?"add":"remove")+"EventListener";window[t]("mouseup",this.handleWindowMouseUp),window[t]("mousemove",this.handleMouseMove,{passive:!0}),window[t]("touchmove",this.handleMouseMove,{passive:!0}),window[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===rt.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=>{const t=(null!==e?"add":"remove")+"EventListener";if((null===e||!this.disabled&&!this.readOnly)&&(window[t]("mouseup",this.handleWindowMouseUp),window.document[t]("mouseleave",this.handleWindowMouseUp),window[t]("mousemove",this.handleMouseMove),e)){this.setupTrackConstraints();const t=this.orientation===rt.horizontal?e.pageX-document.documentElement.scrollLeft-this.trackLeft:e.pageY-document.documentElement.scrollTop;this.value=""+this.calculateNewValue(t)}}}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=at(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(){var e;super.connectedCallback(),this.proxy.setAttribute("type","range"),this.direction="rtl"===(null===(e=this.closest("[dir]"))||void 0===e?void 0:e.dir)?it.rtl:it.ltr,this.updateStepMultiplier(),this.setupTrackConstraints(),this.setupListeners(),this.setupDefaultValue(),this.setThumbPositionForOrientation(this.direction)}disconnectedCallback(){this.setupListeners(!0)}increment(){const e=(this.direction!==it.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!==it.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-Xt(Number(this.value),Number(this.min),Number(this.max),e));this.orientation===rt.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=Xt(e,this.orientation===rt.horizontal?this.trackMinWidth:this.trackMinHeight,this.orientation===rt.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}}Ze([Le({attribute:"readonly",mode:"boolean"})],Ut.prototype,"readOnly",void 0),Ze([P],Ut.prototype,"direction",void 0),Ze([P],Ut.prototype,"isDragging",void 0),Ze([P],Ut.prototype,"position",void 0),Ze([P],Ut.prototype,"trackWidth",void 0),Ze([P],Ut.prototype,"trackMinWidth",void 0),Ze([P],Ut.prototype,"trackHeight",void 0),Ze([P],Ut.prototype,"trackLeft",void 0),Ze([P],Ut.prototype,"trackMinHeight",void 0),Ze([P],Ut.prototype,"valueTextFormatter",void 0),Ze([Le({converter:Te})],Ut.prototype,"min",void 0),Ze([Le({converter:Te})],Ut.prototype,"max",void 0),Ze([Le({converter:Te})],Ut.prototype,"step",void 0),Ze([Le],Ut.prototype,"orientation",void 0),Ze([Le],Ut.prototype,"mode",void 0);class Kt extends Ke{}class Qt extends(function(e){class t extends(gt(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 Le({attribute:"checked",mode:"boolean"})(o.prototype,"checkedAttribute"),Le({attribute:"current-checked",converter:ze})(o.prototype,"currentChecked"),P(o.prototype,"defaultChecked"),P(o.prototype,"checked"),o}(Kt)){constructor(){super(...arguments),this.proxy=document.createElement("input")}}class Zt extends Qt{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)}}Ze([Le({attribute:"readonly",mode:"boolean"})],Zt.prototype,"readOnly",void 0),Ze([P],Zt.prototype,"defaultSlottedNodes",void 0);function Jt(e){return`:host([hidden]){display:none}:host{display:${e}}`}class eo extends ht{}const to=xe`<template><slot ${Fe({property:"slottedAccordionItems",filter:oo?e=>1===e.nodeType&&e.matches(oo):Pe})}></slot></template>`;var oo;const ro=j`
|
|
2
|
+
${Jt("flex")}
|
|
3
3
|
|
|
4
|
-
:host{flex-direction:column;width:100%;contain:content}`,Qt=Object.freeze({prefix:"fluent",shadowRootMode:"open",registry:customElements}),Zt=Wt.compose({name:Qt.prefix+"-accordion",template:Yt,styles:Kt});class Jt extends at{constructor(){super(...arguments),this.block=!1}}Ze([Le],Jt.prototype,"size",void 0),Ze([Le({mode:"boolean"})],Jt.prototype,"block",void 0),Ze([Le({attribute:"expand-icon-position"})],Jt.prototype,"expandIconPosition",void 0);const eo={small:"small",medium:"medium",large:"large",extraLarge:"extra-large"},to={start:"start",end:"end"},{create:oo}=St,ro=oo("borderRadiusNone"),io=oo("borderRadiusSmall"),no=oo("borderRadiusMedium"),so=oo("borderRadiusLarge"),ao=oo("borderRadiusXLarge"),lo=oo("borderRadiusCircular"),co=oo("fontSizeBase100"),ho=oo("fontSizeBase200"),uo=oo("fontSizeBase300"),go=oo("fontSizeBase400"),po=oo("fontSizeBase500"),vo=oo("fontSizeBase600"),fo=oo("fontSizeHero700"),mo=oo("fontSizeHero800"),bo=oo("fontSizeHero900"),yo=oo("fontSizeHero1000"),ko=oo("lineHeightBase100"),xo=oo("lineHeightBase200"),Bo=oo("lineHeightBase300"),wo=oo("lineHeightBase400"),$o=oo("lineHeightBase500"),Po=oo("lineHeightBase600"),So=oo("lineHeightHero700"),Co=oo("lineHeightHero800"),Fo=oo("lineHeightHero900"),No=oo("lineHeightHero1000"),zo=oo("fontFamilyBase"),Ao=oo("fontFamilyMonospace"),To=oo("fontFamilyNumeric"),Io=oo("fontWeightRegular"),Lo=oo("fontWeightMedium"),Mo=oo("fontWeightSemibold"),Do=oo("fontWeightBold"),Oo=oo("strokeWidthThin"),Ho=oo("strokeWidthThick"),Vo=oo("strokeWidthThicker"),Eo=oo("strokeWidthThickest"),Ro=oo("spacingHorizontalNone"),_o=oo("spacingHorizontalXXS"),jo=oo("spacingHorizontalXS"),Go=oo("spacingHorizontalSNudge"),qo=oo("spacingHorizontalS"),Xo=oo("spacingHorizontalMNudge"),Wo=oo("spacingHorizontalM"),Yo=oo("spacingHorizontalL"),Uo=oo("spacingHorizontalXL"),Ko=oo("spacingHorizontalXXL"),Qo=oo("spacingHorizontalXXXL"),Zo=oo("spacingVerticalNone"),Jo=oo("spacingVerticalXXS"),er=oo("spacingVerticalXS"),tr=oo("spacingVerticalSNudge"),or=oo("spacingVerticalS"),rr=oo("spacingVerticalMNudge"),ir=oo("spacingVerticalM"),nr=oo("spacingVerticalL"),sr=oo("spacingVerticalXL"),ar=oo("spacingVerticalXXL"),lr=oo("spacingVerticalXXXL"),cr=oo("durationUltraFast"),dr=oo("durationFaster"),hr=oo("durationFast"),ur=oo("durationNormal"),gr=oo("durationSlow"),pr=oo("durationSlower"),vr=oo("durationUltraSlow"),fr=oo("curveAccelerateMax"),mr=oo("curveAccelerateMid"),br=oo("curveAccelerateMin"),yr=oo("curveDecelerateMax"),kr=oo("curveDecelerateMid"),xr=oo("curveDecelerateMin"),Br=oo("curveEasyEaseMax"),wr=oo("curveEasyEase"),$r=oo("curveLinear"),Pr=oo("colorNeutralForeground1"),Sr=oo("colorNeutralForeground1Hover"),Cr=oo("colorNeutralForeground1Pressed"),Fr=oo("colorNeutralForeground1Selected"),Nr=oo("colorNeutralForeground2"),zr=oo("colorNeutralForeground2Hover"),Ar=oo("colorNeutralForeground2Pressed"),Tr=oo("colorNeutralForeground2Selected"),Ir=oo("colorNeutralForeground2BrandHover"),Lr=oo("colorNeutralForeground2BrandPressed"),Mr=oo("colorNeutralForeground2BrandSelected"),Dr=oo("colorNeutralForeground3"),Or=oo("colorNeutralForeground3Hover"),Hr=oo("colorNeutralForeground3Pressed"),Vr=oo("colorNeutralForeground3Selected"),Er=oo("colorNeutralForeground3BrandHover"),Rr=oo("colorNeutralForeground3BrandPressed"),_r=oo("colorNeutralForeground3BrandSelected"),jr=oo("colorNeutralForeground4"),Gr=oo("colorNeutralForegroundDisabled"),qr=oo("colorNeutralForegroundInvertedDisabled"),Xr=oo("colorBrandForegroundLink"),Wr=oo("colorBrandForegroundLinkHover"),Yr=oo("colorBrandForegroundLinkPressed"),Ur=oo("colorBrandForegroundLinkSelected"),Kr=oo("colorNeutralForeground2Link"),Qr=oo("colorNeutralForeground2LinkHover"),Zr=oo("colorNeutralForeground2LinkPressed"),Jr=oo("colorNeutralForeground2LinkSelected"),ei=oo("colorCompoundBrandForeground1"),ti=oo("colorCompoundBrandForeground1Hover"),oi=oo("colorCompoundBrandForeground1Pressed"),ri=oo("colorBrandForeground1"),ii=oo("colorBrandForeground2"),ni=oo("colorNeutralForeground1Static"),si=oo("colorNeutralForegroundStaticInverted"),ai=oo("colorNeutralForegroundInverted"),li=oo("colorNeutralForegroundInvertedHover"),ci=oo("colorNeutralForegroundInvertedPressed"),di=oo("colorNeutralForegroundInvertedSelected"),hi=oo("colorNeutralForegroundInverted2"),ui=oo("colorNeutralForegroundOnBrand"),gi=oo("colorNeutralForegroundInvertedLink"),pi=oo("colorNeutralForegroundInvertedLinkHover"),vi=oo("colorNeutralForegroundInvertedLinkPressed"),fi=oo("colorNeutralForegroundInvertedLinkSelected"),mi=oo("colorBrandForegroundInverted"),bi=oo("colorBrandForegroundInvertedHover"),yi=oo("colorBrandForegroundInvertedPressed"),ki=oo("colorBrandForegroundOnLight"),xi=oo("colorBrandForegroundOnLightHover"),Bi=oo("colorBrandForegroundOnLightPressed"),wi=oo("colorBrandForegroundOnLightSelected"),$i=oo("colorNeutralBackground1"),Pi=oo("colorNeutralBackground1Hover"),Si=oo("colorNeutralBackground1Pressed"),Ci=oo("colorNeutralBackground1Selected"),Fi=oo("colorNeutralBackground2"),Ni=oo("colorNeutralBackground2Hover"),zi=oo("colorNeutralBackground2Pressed"),Ai=oo("colorNeutralBackground2Selected"),Ti=oo("colorNeutralBackground3"),Ii=oo("colorNeutralBackground3Hover"),Li=oo("colorNeutralBackground3Pressed"),Mi=oo("colorNeutralBackground3Selected"),Di=oo("colorNeutralBackground4"),Oi=oo("colorNeutralBackground4Hover"),Hi=oo("colorNeutralBackground4Pressed"),Vi=oo("colorNeutralBackground4Selected"),Ei=oo("colorNeutralBackground5"),Ri=oo("colorNeutralBackground5Hover"),_i=oo("colorNeutralBackground5Pressed"),ji=oo("colorNeutralBackground5Selected"),Gi=oo("colorNeutralBackground6"),qi=oo("colorNeutralBackgroundInverted"),Xi=oo("colorNeutralBackgroundStatic"),Wi=oo("colorSubtleBackground"),Yi=oo("colorSubtleBackgroundHover"),Ui=oo("colorSubtleBackgroundPressed"),Ki=oo("colorSubtleBackgroundSelected"),Qi=oo("colorSubtleBackgroundLightAlphaHover"),Zi=oo("colorSubtleBackgroundLightAlphaPressed"),Ji=oo("colorSubtleBackgroundLightAlphaSelected"),en=oo("colorSubtleBackgroundInverted"),tn=oo("colorSubtleBackgroundInvertedHover"),on=oo("colorSubtleBackgroundInvertedPressed"),rn=oo("colorSubtleBackgroundInvertedSelected"),nn=oo("colorTransparentBackground"),sn=oo("colorTransparentBackgroundHover"),an=oo("colorTransparentBackgroundPressed"),ln=oo("colorTransparentBackgroundSelected"),cn=oo("colorNeutralBackgroundDisabled"),dn=oo("colorNeutralBackgroundInvertedDisabled"),hn=oo("colorNeutralStencil1"),un=oo("colorNeutralStencil2"),gn=oo("colorNeutralStencil1Alpha"),pn=oo("colorNeutralStencil2Alpha"),vn=oo("colorBackgroundOverlay"),fn=oo("colorScrollbarOverlay"),mn=oo("colorBrandBackground"),bn=oo("colorBrandBackgroundHover"),yn=oo("colorBrandBackgroundPressed"),kn=oo("colorBrandBackgroundSelected"),xn=oo("colorCompoundBrandBackground"),Bn=oo("colorCompoundBrandBackgroundHover"),wn=oo("colorCompoundBrandBackgroundPressed"),$n=oo("colorBrandBackgroundStatic"),Pn=oo("colorBrandBackground2"),Sn=oo("colorBrandBackgroundInverted"),Cn=oo("colorBrandBackgroundInvertedHover"),Fn=oo("colorBrandBackgroundInvertedPressed"),Nn=oo("colorBrandBackgroundInvertedSelected"),zn=oo("colorNeutralStrokeAccessible"),An=oo("colorNeutralStrokeAccessibleHover"),Tn=oo("colorNeutralStrokeAccessiblePressed"),In=oo("colorNeutralStrokeAccessibleSelected"),Ln=oo("colorNeutralStroke1"),Mn=oo("colorNeutralStroke1Hover"),Dn=oo("colorNeutralStroke1Pressed"),On=oo("colorNeutralStroke1Selected"),Hn=oo("colorNeutralStroke2"),Vn=oo("colorNeutralStroke3"),En=oo("colorNeutralStrokeOnBrand"),Rn=oo("colorNeutralStrokeOnBrand2"),_n=oo("colorNeutralStrokeOnBrand2Hover"),jn=oo("colorNeutralStrokeOnBrand2Pressed"),Gn=oo("colorNeutralStrokeOnBrand2Selected"),qn=oo("colorBrandStroke1"),Xn=oo("colorBrandStroke2"),Wn=oo("colorCompoundBrandStroke"),Yn=oo("colorCompoundBrandStrokeHover"),Un=oo("colorCompoundBrandStrokePressed"),Kn=oo("colorNeutralStrokeDisabled"),Qn=oo("colorNeutralStrokeInvertedDisabled"),Zn=oo("colorTransparentStroke"),Jn=oo("colorTransparentStrokeInteractive"),es=oo("colorTransparentStrokeDisabled"),ts=oo("colorStrokeFocus1"),os=oo("colorStrokeFocus2"),rs=oo("colorNeutralShadowAmbient"),is=oo("colorNeutralShadowKey"),ns=oo("colorNeutralShadowAmbientLighter"),ss=oo("colorNeutralShadowKeyLighter"),as=oo("colorNeutralShadowAmbientDarker"),ls=oo("colorNeutralShadowKeyDarker"),cs=oo("colorBrandShadowAmbient"),ds=oo("colorBrandShadowKey"),hs=oo("colorPaletteRedBackground1"),us=oo("colorPaletteRedBackground2"),gs=oo("colorPaletteRedBackground3"),ps=oo("colorPaletteRedForeground1"),vs=oo("colorPaletteRedForeground2"),fs=oo("colorPaletteRedForeground3"),ms=oo("colorPaletteRedBorderActive"),bs=oo("colorPaletteRedBorder1"),ys=oo("colorPaletteRedBorder2"),ks=oo("colorPaletteGreenBackground1"),xs=oo("colorPaletteGreenBackground2"),Bs=oo("colorPaletteGreenBackground3"),ws=oo("colorPaletteGreenForeground1"),$s=oo("colorPaletteGreenForeground2"),Ps=oo("colorPaletteGreenForeground3"),Ss=oo("colorPaletteGreenBorderActive"),Cs=oo("colorPaletteGreenBorder1"),Fs=oo("colorPaletteGreenBorder2"),Ns=oo("colorPaletteDarkOrangeBackground1"),zs=oo("colorPaletteDarkOrangeBackground2"),As=oo("colorPaletteDarkOrangeBackground3"),Ts=oo("colorPaletteDarkOrangeForeground1"),Is=oo("colorPaletteDarkOrangeForeground2"),Ls=oo("colorPaletteDarkOrangeForeground3"),Ms=oo("colorPaletteDarkOrangeBorderActive"),Ds=oo("colorPaletteDarkOrangeBorder1"),Os=oo("colorPaletteDarkOrangeBorder2"),Hs=oo("colorPaletteYellowBackground1"),Vs=oo("colorPaletteYellowBackground2"),Es=oo("colorPaletteYellowBackground3"),Rs=oo("colorPaletteYellowForeground1"),_s=oo("colorPaletteYellowForeground2"),js=oo("colorPaletteYellowForeground3"),Gs=oo("colorPaletteYellowBorderActive"),qs=oo("colorPaletteYellowBorder1"),Xs=oo("colorPaletteYellowBorder2"),Ws=oo("colorPaletteBerryBackground1"),Ys=oo("colorPaletteBerryBackground2"),Us=oo("colorPaletteBerryBackground3"),Ks=oo("colorPaletteBerryForeground1"),Qs=oo("colorPaletteBerryForeground2"),Zs=oo("colorPaletteBerryForeground3"),Js=oo("colorPaletteBerryBorderActive"),ea=oo("colorPaletteBerryBorder1"),ta=oo("colorPaletteBerryBorder2"),oa=oo("colorPaletteLightGreenBackground1"),ra=oo("colorPaletteLightGreenBackground2"),ia=oo("colorPaletteLightGreenBackground3"),na=oo("colorPaletteLightGreenForeground1"),sa=oo("colorPaletteLightGreenForeground2"),aa=oo("colorPaletteLightGreenForeground3"),la=oo("colorPaletteLightGreenBorderActive"),ca=oo("colorPaletteLightGreenBorder1"),da=oo("colorPaletteLightGreenBorder2"),ha=oo("colorPaletteMarigoldBackground1"),ua=oo("colorPaletteMarigoldBackground2"),ga=oo("colorPaletteMarigoldBackground3"),pa=oo("colorPaletteMarigoldForeground1"),va=oo("colorPaletteMarigoldForeground2"),fa=oo("colorPaletteMarigoldForeground3"),ma=oo("colorPaletteMarigoldBorderActive"),ba=oo("colorPaletteMarigoldBorder1"),ya=oo("colorPaletteMarigoldBorder2"),ka=oo("colorPaletteDarkRedBackground2"),xa=oo("colorPaletteDarkRedForeground2"),Ba=oo("colorPaletteDarkRedBorderActive"),wa=oo("colorPaletteCranberryBackground2"),$a=oo("colorPaletteCranberryForeground2"),Pa=oo("colorPaletteCranberryBorderActive"),Sa=oo("colorPalettePumpkinBackground2"),Ca=oo("colorPalettePumpkinForeground2"),Fa=oo("colorPalettePumpkinBorderActive"),Na=oo("colorPalettePeachBackground2"),za=oo("colorPalettePeachForeground2"),Aa=oo("colorPalettePeachBorderActive"),Ta=oo("colorPaletteGoldBackground2"),Ia=oo("colorPaletteGoldForeground2"),La=oo("colorPaletteGoldBorderActive"),Ma=oo("colorPaletteBrassBackground2"),Da=oo("colorPaletteBrassForeground2"),Oa=oo("colorPaletteBrassBorderActive"),Ha=oo("colorPaletteBrownBackground2"),Va=oo("colorPaletteBrownForeground2"),Ea=oo("colorPaletteBrownBorderActive"),Ra=oo("colorPaletteForestBackground2"),_a=oo("colorPaletteForestForeground2"),ja=oo("colorPaletteForestBorderActive"),Ga=oo("colorPaletteSeafoamBackground2"),qa=oo("colorPaletteSeafoamForeground2"),Xa=oo("colorPaletteSeafoamBorderActive"),Wa=oo("colorPaletteDarkGreenBackground2"),Ya=oo("colorPaletteDarkGreenForeground2"),Ua=oo("colorPaletteDarkGreenBorderActive"),Ka=oo("colorPaletteLightTealBackground2"),Qa=oo("colorPaletteLightTealForeground2"),Za=oo("colorPaletteLightTealBorderActive"),Ja=oo("colorPaletteTealBackground2"),el=oo("colorPaletteTealForeground2"),tl=oo("colorPaletteTealBorderActive"),ol=oo("colorPaletteSteelBackground2"),rl=oo("colorPaletteSteelForeground2"),il=oo("colorPaletteSteelBorderActive"),nl=oo("colorPaletteBlueBackground2"),sl=oo("colorPaletteBlueForeground2"),al=oo("colorPaletteBlueBorderActive"),ll=oo("colorPaletteRoyalBlueBackground2"),cl=oo("colorPaletteRoyalBlueForeground2"),dl=oo("colorPaletteRoyalBlueBorderActive"),hl=oo("colorPaletteCornflowerBackground2"),ul=oo("colorPaletteCornflowerForeground2"),gl=oo("colorPaletteCornflowerBorderActive"),pl=oo("colorPaletteNavyBackground2"),vl=oo("colorPaletteNavyForeground2"),fl=oo("colorPaletteNavyBorderActive"),ml=oo("colorPaletteLavenderBackground2"),bl=oo("colorPaletteLavenderForeground2"),yl=oo("colorPaletteLavenderBorderActive"),kl=oo("colorPalettePurpleBackground2"),xl=oo("colorPalettePurpleForeground2"),Bl=oo("colorPalettePurpleBorderActive"),wl=oo("colorPaletteGrapeBackground2"),$l=oo("colorPaletteGrapeForeground2"),Pl=oo("colorPaletteGrapeBorderActive"),Sl=oo("colorPaletteLilacBackground2"),Cl=oo("colorPaletteLilacForeground2"),Fl=oo("colorPaletteLilacBorderActive"),Nl=oo("colorPalettePinkBackground2"),zl=oo("colorPalettePinkForeground2"),Al=oo("colorPalettePinkBorderActive"),Tl=oo("colorPaletteMagentaBackground2"),Il=oo("colorPaletteMagentaForeground2"),Ll=oo("colorPaletteMagentaBorderActive"),Ml=oo("colorPalettePlumBackground2"),Dl=oo("colorPalettePlumForeground2"),Ol=oo("colorPalettePlumBorderActive"),Hl=oo("colorPaletteBeigeBackground2"),Vl=oo("colorPaletteBeigeForeground2"),El=oo("colorPaletteBeigeBorderActive"),Rl=oo("colorPaletteMinkBackground2"),_l=oo("colorPaletteMinkForeground2"),jl=oo("colorPaletteMinkBorderActive"),Gl=oo("colorPalettePlatinumBackground2"),ql=oo("colorPalettePlatinumForeground2"),Xl=oo("colorPalettePlatinumBorderActive"),Wl=oo("colorPaletteAnchorBackground2"),Yl=oo("colorPaletteAnchorForeground2"),Ul=oo("colorPaletteAnchorBorderActive"),Kl=oo("colorPaletteRedForegroundInverted"),Ql=oo("colorPaletteGreenForegroundInverted"),Zl=oo("colorPaletteYellowForegroundInverted"),Jl=oo("shadow2"),ec=oo("shadow4"),tc=oo("shadow8"),oc=oo("shadow16"),rc=oo("shadow28"),ic=oo("shadow64"),nc=oo("shadow2Brand"),sc=oo("shadow4Brand"),ac=oo("shadow8Brand"),lc=oo("shadow16Brand"),cc=oo("shadow28Brand"),dc=oo("shadow64Brand");var hc=Object.freeze({__proto__:null,borderRadiusNone:ro,borderRadiusSmall:io,borderRadiusMedium:no,borderRadiusLarge:so,borderRadiusXLarge:ao,borderRadiusCircular:lo,fontSizeBase100:co,fontSizeBase200:ho,fontSizeBase300:uo,fontSizeBase400:go,fontSizeBase500:po,fontSizeBase600:vo,fontSizeHero700:fo,fontSizeHero800:mo,fontSizeHero900:bo,fontSizeHero1000:yo,lineHeightBase100:ko,lineHeightBase200:xo,lineHeightBase300:Bo,lineHeightBase400:wo,lineHeightBase500:$o,lineHeightBase600:Po,lineHeightHero700:So,lineHeightHero800:Co,lineHeightHero900:Fo,lineHeightHero1000:No,fontFamilyBase:zo,fontFamilyMonospace:Ao,fontFamilyNumeric:To,fontWeightRegular:Io,fontWeightMedium:Lo,fontWeightSemibold:Mo,fontWeightBold:Do,strokeWidthThin:Oo,strokeWidthThick:Ho,strokeWidthThicker:Vo,strokeWidthThickest:Eo,spacingHorizontalNone:Ro,spacingHorizontalXXS:_o,spacingHorizontalXS:jo,spacingHorizontalSNudge:Go,spacingHorizontalS:qo,spacingHorizontalMNudge:Xo,spacingHorizontalM:Wo,spacingHorizontalL:Yo,spacingHorizontalXL:Uo,spacingHorizontalXXL:Ko,spacingHorizontalXXXL:Qo,spacingVerticalNone:Zo,spacingVerticalXXS:Jo,spacingVerticalXS:er,spacingVerticalSNudge:tr,spacingVerticalS:or,spacingVerticalMNudge:rr,spacingVerticalM:ir,spacingVerticalL:nr,spacingVerticalXL:sr,spacingVerticalXXL:ar,spacingVerticalXXXL:lr,durationUltraFast:cr,durationFaster:dr,durationFast:hr,durationNormal:ur,durationSlow:gr,durationSlower:pr,durationUltraSlow:vr,curveAccelerateMax:fr,curveAccelerateMid:mr,curveAccelerateMin:br,curveDecelerateMax:yr,curveDecelerateMid:kr,curveDecelerateMin:xr,curveEasyEaseMax:Br,curveEasyEase:wr,curveLinear:$r,colorNeutralForeground1:Pr,colorNeutralForeground1Hover:Sr,colorNeutralForeground1Pressed:Cr,colorNeutralForeground1Selected:Fr,colorNeutralForeground2:Nr,colorNeutralForeground2Hover:zr,colorNeutralForeground2Pressed:Ar,colorNeutralForeground2Selected:Tr,colorNeutralForeground2BrandHover:Ir,colorNeutralForeground2BrandPressed:Lr,colorNeutralForeground2BrandSelected:Mr,colorNeutralForeground3:Dr,colorNeutralForeground3Hover:Or,colorNeutralForeground3Pressed:Hr,colorNeutralForeground3Selected:Vr,colorNeutralForeground3BrandHover:Er,colorNeutralForeground3BrandPressed:Rr,colorNeutralForeground3BrandSelected:_r,colorNeutralForeground4:jr,colorNeutralForegroundDisabled:Gr,colorNeutralForegroundInvertedDisabled:qr,colorBrandForegroundLink:Xr,colorBrandForegroundLinkHover:Wr,colorBrandForegroundLinkPressed:Yr,colorBrandForegroundLinkSelected:Ur,colorNeutralForeground2Link:Kr,colorNeutralForeground2LinkHover:Qr,colorNeutralForeground2LinkPressed:Zr,colorNeutralForeground2LinkSelected:Jr,colorCompoundBrandForeground1:ei,colorCompoundBrandForeground1Hover:ti,colorCompoundBrandForeground1Pressed:oi,colorBrandForeground1:ri,colorBrandForeground2:ii,colorNeutralForeground1Static:ni,colorNeutralForegroundStaticInverted:si,colorNeutralForegroundInverted:ai,colorNeutralForegroundInvertedHover:li,colorNeutralForegroundInvertedPressed:ci,colorNeutralForegroundInvertedSelected:di,colorNeutralForegroundInverted2:hi,colorNeutralForegroundOnBrand:ui,colorNeutralForegroundInvertedLink:gi,colorNeutralForegroundInvertedLinkHover:pi,colorNeutralForegroundInvertedLinkPressed:vi,colorNeutralForegroundInvertedLinkSelected:fi,colorBrandForegroundInverted:mi,colorBrandForegroundInvertedHover:bi,colorBrandForegroundInvertedPressed:yi,colorBrandForegroundOnLight:ki,colorBrandForegroundOnLightHover:xi,colorBrandForegroundOnLightPressed:Bi,colorBrandForegroundOnLightSelected:wi,colorNeutralBackground1:$i,colorNeutralBackground1Hover:Pi,colorNeutralBackground1Pressed:Si,colorNeutralBackground1Selected:Ci,colorNeutralBackground2:Fi,colorNeutralBackground2Hover:Ni,colorNeutralBackground2Pressed:zi,colorNeutralBackground2Selected:Ai,colorNeutralBackground3:Ti,colorNeutralBackground3Hover:Ii,colorNeutralBackground3Pressed:Li,colorNeutralBackground3Selected:Mi,colorNeutralBackground4:Di,colorNeutralBackground4Hover:Oi,colorNeutralBackground4Pressed:Hi,colorNeutralBackground4Selected:Vi,colorNeutralBackground5:Ei,colorNeutralBackground5Hover:Ri,colorNeutralBackground5Pressed:_i,colorNeutralBackground5Selected:ji,colorNeutralBackground6:Gi,colorNeutralBackgroundInverted:qi,colorNeutralBackgroundStatic:Xi,colorSubtleBackground:Wi,colorSubtleBackgroundHover:Yi,colorSubtleBackgroundPressed:Ui,colorSubtleBackgroundSelected:Ki,colorSubtleBackgroundLightAlphaHover:Qi,colorSubtleBackgroundLightAlphaPressed:Zi,colorSubtleBackgroundLightAlphaSelected:Ji,colorSubtleBackgroundInverted:en,colorSubtleBackgroundInvertedHover:tn,colorSubtleBackgroundInvertedPressed:on,colorSubtleBackgroundInvertedSelected:rn,colorTransparentBackground:nn,colorTransparentBackgroundHover:sn,colorTransparentBackgroundPressed:an,colorTransparentBackgroundSelected:ln,colorNeutralBackgroundDisabled:cn,colorNeutralBackgroundInvertedDisabled:dn,colorNeutralStencil1:hn,colorNeutralStencil2:un,colorNeutralStencil1Alpha:gn,colorNeutralStencil2Alpha:pn,colorBackgroundOverlay:vn,colorScrollbarOverlay:fn,colorBrandBackground:mn,colorBrandBackgroundHover:bn,colorBrandBackgroundPressed:yn,colorBrandBackgroundSelected:kn,colorCompoundBrandBackground:xn,colorCompoundBrandBackgroundHover:Bn,colorCompoundBrandBackgroundPressed:wn,colorBrandBackgroundStatic:$n,colorBrandBackground2:Pn,colorBrandBackgroundInverted:Sn,colorBrandBackgroundInvertedHover:Cn,colorBrandBackgroundInvertedPressed:Fn,colorBrandBackgroundInvertedSelected:Nn,colorNeutralStrokeAccessible:zn,colorNeutralStrokeAccessibleHover:An,colorNeutralStrokeAccessiblePressed:Tn,colorNeutralStrokeAccessibleSelected:In,colorNeutralStroke1:Ln,colorNeutralStroke1Hover:Mn,colorNeutralStroke1Pressed:Dn,colorNeutralStroke1Selected:On,colorNeutralStroke2:Hn,colorNeutralStroke3:Vn,colorNeutralStrokeOnBrand:En,colorNeutralStrokeOnBrand2:Rn,colorNeutralStrokeOnBrand2Hover:_n,colorNeutralStrokeOnBrand2Pressed:jn,colorNeutralStrokeOnBrand2Selected:Gn,colorBrandStroke1:qn,colorBrandStroke2:Xn,colorCompoundBrandStroke:Wn,colorCompoundBrandStrokeHover:Yn,colorCompoundBrandStrokePressed:Un,colorNeutralStrokeDisabled:Kn,colorNeutralStrokeInvertedDisabled:Qn,colorTransparentStroke:Zn,colorTransparentStrokeInteractive:Jn,colorTransparentStrokeDisabled:es,colorStrokeFocus1:ts,colorStrokeFocus2:os,colorNeutralShadowAmbient:rs,colorNeutralShadowKey:is,colorNeutralShadowAmbientLighter:ns,colorNeutralShadowKeyLighter:ss,colorNeutralShadowAmbientDarker:as,colorNeutralShadowKeyDarker:ls,colorBrandShadowAmbient:cs,colorBrandShadowKey:ds,colorPaletteRedBackground1:hs,colorPaletteRedBackground2:us,colorPaletteRedBackground3:gs,colorPaletteRedForeground1:ps,colorPaletteRedForeground2:vs,colorPaletteRedForeground3:fs,colorPaletteRedBorderActive:ms,colorPaletteRedBorder1:bs,colorPaletteRedBorder2:ys,colorPaletteGreenBackground1:ks,colorPaletteGreenBackground2:xs,colorPaletteGreenBackground3:Bs,colorPaletteGreenForeground1:ws,colorPaletteGreenForeground2:$s,colorPaletteGreenForeground3:Ps,colorPaletteGreenBorderActive:Ss,colorPaletteGreenBorder1:Cs,colorPaletteGreenBorder2:Fs,colorPaletteDarkOrangeBackground1:Ns,colorPaletteDarkOrangeBackground2:zs,colorPaletteDarkOrangeBackground3:As,colorPaletteDarkOrangeForeground1:Ts,colorPaletteDarkOrangeForeground2:Is,colorPaletteDarkOrangeForeground3:Ls,colorPaletteDarkOrangeBorderActive:Ms,colorPaletteDarkOrangeBorder1:Ds,colorPaletteDarkOrangeBorder2:Os,colorPaletteYellowBackground1:Hs,colorPaletteYellowBackground2:Vs,colorPaletteYellowBackground3:Es,colorPaletteYellowForeground1:Rs,colorPaletteYellowForeground2:_s,colorPaletteYellowForeground3:js,colorPaletteYellowBorderActive:Gs,colorPaletteYellowBorder1:qs,colorPaletteYellowBorder2:Xs,colorPaletteBerryBackground1:Ws,colorPaletteBerryBackground2:Ys,colorPaletteBerryBackground3:Us,colorPaletteBerryForeground1:Ks,colorPaletteBerryForeground2:Qs,colorPaletteBerryForeground3:Zs,colorPaletteBerryBorderActive:Js,colorPaletteBerryBorder1:ea,colorPaletteBerryBorder2:ta,colorPaletteLightGreenBackground1:oa,colorPaletteLightGreenBackground2:ra,colorPaletteLightGreenBackground3:ia,colorPaletteLightGreenForeground1:na,colorPaletteLightGreenForeground2:sa,colorPaletteLightGreenForeground3:aa,colorPaletteLightGreenBorderActive:la,colorPaletteLightGreenBorder1:ca,colorPaletteLightGreenBorder2:da,colorPaletteMarigoldBackground1:ha,colorPaletteMarigoldBackground2:ua,colorPaletteMarigoldBackground3:ga,colorPaletteMarigoldForeground1:pa,colorPaletteMarigoldForeground2:va,colorPaletteMarigoldForeground3:fa,colorPaletteMarigoldBorderActive:ma,colorPaletteMarigoldBorder1:ba,colorPaletteMarigoldBorder2:ya,colorPaletteDarkRedBackground2:ka,colorPaletteDarkRedForeground2:xa,colorPaletteDarkRedBorderActive:Ba,colorPaletteCranberryBackground2:wa,colorPaletteCranberryForeground2:$a,colorPaletteCranberryBorderActive:Pa,colorPalettePumpkinBackground2:Sa,colorPalettePumpkinForeground2:Ca,colorPalettePumpkinBorderActive:Fa,colorPalettePeachBackground2:Na,colorPalettePeachForeground2:za,colorPalettePeachBorderActive:Aa,colorPaletteGoldBackground2:Ta,colorPaletteGoldForeground2:Ia,colorPaletteGoldBorderActive:La,colorPaletteBrassBackground2:Ma,colorPaletteBrassForeground2:Da,colorPaletteBrassBorderActive:Oa,colorPaletteBrownBackground2:Ha,colorPaletteBrownForeground2:Va,colorPaletteBrownBorderActive:Ea,colorPaletteForestBackground2:Ra,colorPaletteForestForeground2:_a,colorPaletteForestBorderActive:ja,colorPaletteSeafoamBackground2:Ga,colorPaletteSeafoamForeground2:qa,colorPaletteSeafoamBorderActive:Xa,colorPaletteDarkGreenBackground2:Wa,colorPaletteDarkGreenForeground2:Ya,colorPaletteDarkGreenBorderActive:Ua,colorPaletteLightTealBackground2:Ka,colorPaletteLightTealForeground2:Qa,colorPaletteLightTealBorderActive:Za,colorPaletteTealBackground2:Ja,colorPaletteTealForeground2:el,colorPaletteTealBorderActive:tl,colorPaletteSteelBackground2:ol,colorPaletteSteelForeground2:rl,colorPaletteSteelBorderActive:il,colorPaletteBlueBackground2:nl,colorPaletteBlueForeground2:sl,colorPaletteBlueBorderActive:al,colorPaletteRoyalBlueBackground2:ll,colorPaletteRoyalBlueForeground2:cl,colorPaletteRoyalBlueBorderActive:dl,colorPaletteCornflowerBackground2:hl,colorPaletteCornflowerForeground2:ul,colorPaletteCornflowerBorderActive:gl,colorPaletteNavyBackground2:pl,colorPaletteNavyForeground2:vl,colorPaletteNavyBorderActive:fl,colorPaletteLavenderBackground2:ml,colorPaletteLavenderForeground2:bl,colorPaletteLavenderBorderActive:yl,colorPalettePurpleBackground2:kl,colorPalettePurpleForeground2:xl,colorPalettePurpleBorderActive:Bl,colorPaletteGrapeBackground2:wl,colorPaletteGrapeForeground2:$l,colorPaletteGrapeBorderActive:Pl,colorPaletteLilacBackground2:Sl,colorPaletteLilacForeground2:Cl,colorPaletteLilacBorderActive:Fl,colorPalettePinkBackground2:Nl,colorPalettePinkForeground2:zl,colorPalettePinkBorderActive:Al,colorPaletteMagentaBackground2:Tl,colorPaletteMagentaForeground2:Il,colorPaletteMagentaBorderActive:Ll,colorPalettePlumBackground2:Ml,colorPalettePlumForeground2:Dl,colorPalettePlumBorderActive:Ol,colorPaletteBeigeBackground2:Hl,colorPaletteBeigeForeground2:Vl,colorPaletteBeigeBorderActive:El,colorPaletteMinkBackground2:Rl,colorPaletteMinkForeground2:_l,colorPaletteMinkBorderActive:jl,colorPalettePlatinumBackground2:Gl,colorPalettePlatinumForeground2:ql,colorPalettePlatinumBorderActive:Xl,colorPaletteAnchorBackground2:Wl,colorPaletteAnchorForeground2:Yl,colorPaletteAnchorBorderActive:Ul,colorPaletteRedForegroundInverted:Kl,colorPaletteGreenForegroundInverted:Ql,colorPaletteYellowForegroundInverted:Zl,shadow2:Jl,shadow4:ec,shadow8:tc,shadow16:oc,shadow28:rc,shadow64:ic,shadow2Brand:nc,shadow4Brand:sc,shadow8Brand:ac,shadow16Brand:lc,shadow28Brand:cc,shadow64Brand:dc});const uc=j`
|
|
5
|
-
${
|
|
4
|
+
:host{flex-direction:column;width:100%;contain:content}`,io=Object.freeze({prefix:"fluent",shadowRootMode:"open",registry:customElements}),ao=eo.compose({name:io.prefix+"-accordion",template:to,styles:ro});class no extends lt{constructor(){super(...arguments),this.block=!1}}Ze([Le],no.prototype,"size",void 0),Ze([Le({mode:"boolean"})],no.prototype,"block",void 0),Ze([Le({attribute:"expand-icon-position"})],no.prototype,"expandIconPosition",void 0);const so={small:"small",medium:"medium",large:"large",extraLarge:"extra-large"},lo={start:"start",end:"end"},{create:co}=It,ho=co("borderRadiusNone"),uo=co("borderRadiusSmall"),po=co("borderRadiusMedium"),go=co("borderRadiusLarge"),bo=co("borderRadiusXLarge"),vo=co("borderRadiusCircular"),mo=co("fontSizeBase100"),fo=co("fontSizeBase200"),yo=co("fontSizeBase300"),ko=co("fontSizeBase400"),xo=co("fontSizeBase500"),$o=co("fontSizeBase600"),Bo=co("fontSizeHero700"),wo=co("fontSizeHero800"),Po=co("fontSizeHero900"),So=co("fontSizeHero1000"),Co=co("lineHeightBase100"),Fo=co("lineHeightBase200"),No=co("lineHeightBase300"),zo=co("lineHeightBase400"),Ao=co("lineHeightBase500"),To=co("lineHeightBase600"),Io=co("lineHeightHero700"),Lo=co("lineHeightHero800"),Do=co("lineHeightHero900"),Mo=co("lineHeightHero1000"),Oo=co("fontFamilyBase"),Ho=co("fontFamilyMonospace"),Vo=co("fontFamilyNumeric"),Eo=co("fontWeightRegular"),Ro=co("fontWeightMedium"),_o=co("fontWeightSemibold"),jo=co("fontWeightBold"),Go=co("strokeWidthThin"),qo=co("strokeWidthThick"),Xo=co("strokeWidthThicker"),Wo=co("strokeWidthThickest"),Yo=co("spacingHorizontalNone"),Uo=co("spacingHorizontalXXS"),Ko=co("spacingHorizontalXS"),Qo=co("spacingHorizontalSNudge"),Zo=co("spacingHorizontalS"),Jo=co("spacingHorizontalMNudge"),er=co("spacingHorizontalM"),tr=co("spacingHorizontalL"),or=co("spacingHorizontalXL"),rr=co("spacingHorizontalXXL"),ir=co("spacingHorizontalXXXL"),ar=co("spacingVerticalNone"),nr=co("spacingVerticalXXS"),sr=co("spacingVerticalXS"),lr=co("spacingVerticalSNudge"),cr=co("spacingVerticalS"),dr=co("spacingVerticalMNudge"),hr=co("spacingVerticalM"),ur=co("spacingVerticalL"),pr=co("spacingVerticalXL"),gr=co("spacingVerticalXXL"),br=co("spacingVerticalXXXL"),vr=co("durationUltraFast"),mr=co("durationFaster"),fr=co("durationFast"),yr=co("durationNormal"),kr=co("durationSlow"),xr=co("durationSlower"),$r=co("durationUltraSlow"),Br=co("curveAccelerateMax"),wr=co("curveAccelerateMid"),Pr=co("curveAccelerateMin"),Sr=co("curveDecelerateMax"),Cr=co("curveDecelerateMid"),Fr=co("curveDecelerateMin"),Nr=co("curveEasyEaseMax"),zr=co("curveEasyEase"),Ar=co("curveLinear"),Tr=co("colorNeutralForeground1"),Ir=co("colorNeutralForeground1Hover"),Lr=co("colorNeutralForeground1Pressed"),Dr=co("colorNeutralForeground1Selected"),Mr=co("colorNeutralForeground2"),Or=co("colorNeutralForeground2Hover"),Hr=co("colorNeutralForeground2Pressed"),Vr=co("colorNeutralForeground2Selected"),Er=co("colorNeutralForeground2BrandHover"),Rr=co("colorNeutralForeground2BrandPressed"),_r=co("colorNeutralForeground2BrandSelected"),jr=co("colorNeutralForeground3"),Gr=co("colorNeutralForeground3Hover"),qr=co("colorNeutralForeground3Pressed"),Xr=co("colorNeutralForeground3Selected"),Wr=co("colorNeutralForeground3BrandHover"),Yr=co("colorNeutralForeground3BrandPressed"),Ur=co("colorNeutralForeground3BrandSelected"),Kr=co("colorNeutralForeground4"),Qr=co("colorNeutralForegroundDisabled"),Zr=co("colorNeutralForegroundInvertedDisabled"),Jr=co("colorBrandForegroundLink"),ei=co("colorBrandForegroundLinkHover"),ti=co("colorBrandForegroundLinkPressed"),oi=co("colorBrandForegroundLinkSelected"),ri=co("colorNeutralForeground2Link"),ii=co("colorNeutralForeground2LinkHover"),ai=co("colorNeutralForeground2LinkPressed"),ni=co("colorNeutralForeground2LinkSelected"),si=co("colorCompoundBrandForeground1"),li=co("colorCompoundBrandForeground1Hover"),ci=co("colorCompoundBrandForeground1Pressed"),di=co("colorBrandForeground1"),hi=co("colorBrandForeground2"),ui=co("colorNeutralForeground1Static"),pi=co("colorNeutralForegroundStaticInverted"),gi=co("colorNeutralForegroundInverted"),bi=co("colorNeutralForegroundInvertedHover"),vi=co("colorNeutralForegroundInvertedPressed"),mi=co("colorNeutralForegroundInvertedSelected"),fi=co("colorNeutralForegroundInverted2"),yi=co("colorNeutralForegroundOnBrand"),ki=co("colorNeutralForegroundInvertedLink"),xi=co("colorNeutralForegroundInvertedLinkHover"),$i=co("colorNeutralForegroundInvertedLinkPressed"),Bi=co("colorNeutralForegroundInvertedLinkSelected"),wi=co("colorBrandForegroundInverted"),Pi=co("colorBrandForegroundInvertedHover"),Si=co("colorBrandForegroundInvertedPressed"),Ci=co("colorBrandForegroundOnLight"),Fi=co("colorBrandForegroundOnLightHover"),Ni=co("colorBrandForegroundOnLightPressed"),zi=co("colorBrandForegroundOnLightSelected"),Ai=co("colorNeutralBackground1"),Ti=co("colorNeutralBackground1Hover"),Ii=co("colorNeutralBackground1Pressed"),Li=co("colorNeutralBackground1Selected"),Di=co("colorNeutralBackground2"),Mi=co("colorNeutralBackground2Hover"),Oi=co("colorNeutralBackground2Pressed"),Hi=co("colorNeutralBackground2Selected"),Vi=co("colorNeutralBackground3"),Ei=co("colorNeutralBackground3Hover"),Ri=co("colorNeutralBackground3Pressed"),_i=co("colorNeutralBackground3Selected"),ji=co("colorNeutralBackground4"),Gi=co("colorNeutralBackground4Hover"),qi=co("colorNeutralBackground4Pressed"),Xi=co("colorNeutralBackground4Selected"),Wi=co("colorNeutralBackground5"),Yi=co("colorNeutralBackground5Hover"),Ui=co("colorNeutralBackground5Pressed"),Ki=co("colorNeutralBackground5Selected"),Qi=co("colorNeutralBackground6"),Zi=co("colorNeutralBackgroundInverted"),Ji=co("colorNeutralBackgroundStatic"),ea=co("colorSubtleBackground"),ta=co("colorSubtleBackgroundHover"),oa=co("colorSubtleBackgroundPressed"),ra=co("colorSubtleBackgroundSelected"),ia=co("colorSubtleBackgroundLightAlphaHover"),aa=co("colorSubtleBackgroundLightAlphaPressed"),na=co("colorSubtleBackgroundLightAlphaSelected"),sa=co("colorSubtleBackgroundInverted"),la=co("colorSubtleBackgroundInvertedHover"),ca=co("colorSubtleBackgroundInvertedPressed"),da=co("colorSubtleBackgroundInvertedSelected"),ha=co("colorTransparentBackground"),ua=co("colorTransparentBackgroundHover"),pa=co("colorTransparentBackgroundPressed"),ga=co("colorTransparentBackgroundSelected"),ba=co("colorNeutralBackgroundDisabled"),va=co("colorNeutralBackgroundInvertedDisabled"),ma=co("colorNeutralStencil1"),fa=co("colorNeutralStencil2"),ya=co("colorNeutralStencil1Alpha"),ka=co("colorNeutralStencil2Alpha"),xa=co("colorBackgroundOverlay"),$a=co("colorScrollbarOverlay"),Ba=co("colorBrandBackground"),wa=co("colorBrandBackgroundHover"),Pa=co("colorBrandBackgroundPressed"),Sa=co("colorBrandBackgroundSelected"),Ca=co("colorCompoundBrandBackground"),Fa=co("colorCompoundBrandBackgroundHover"),Na=co("colorCompoundBrandBackgroundPressed"),za=co("colorBrandBackgroundStatic"),Aa=co("colorBrandBackground2"),Ta=co("colorBrandBackgroundInverted"),Ia=co("colorBrandBackgroundInvertedHover"),La=co("colorBrandBackgroundInvertedPressed"),Da=co("colorBrandBackgroundInvertedSelected"),Ma=co("colorNeutralStrokeAccessible"),Oa=co("colorNeutralStrokeAccessibleHover"),Ha=co("colorNeutralStrokeAccessiblePressed"),Va=co("colorNeutralStrokeAccessibleSelected"),Ea=co("colorNeutralStroke1"),Ra=co("colorNeutralStroke1Hover"),_a=co("colorNeutralStroke1Pressed"),ja=co("colorNeutralStroke1Selected"),Ga=co("colorNeutralStroke2"),qa=co("colorNeutralStroke3"),Xa=co("colorNeutralStrokeOnBrand"),Wa=co("colorNeutralStrokeOnBrand2"),Ya=co("colorNeutralStrokeOnBrand2Hover"),Ua=co("colorNeutralStrokeOnBrand2Pressed"),Ka=co("colorNeutralStrokeOnBrand2Selected"),Qa=co("colorBrandStroke1"),Za=co("colorBrandStroke2"),Ja=co("colorCompoundBrandStroke"),en=co("colorCompoundBrandStrokeHover"),tn=co("colorCompoundBrandStrokePressed"),on=co("colorNeutralStrokeDisabled"),rn=co("colorNeutralStrokeInvertedDisabled"),an=co("colorTransparentStroke"),nn=co("colorTransparentStrokeInteractive"),sn=co("colorTransparentStrokeDisabled"),ln=co("colorStrokeFocus1"),cn=co("colorStrokeFocus2"),dn=co("colorNeutralShadowAmbient"),hn=co("colorNeutralShadowKey"),un=co("colorNeutralShadowAmbientLighter"),pn=co("colorNeutralShadowKeyLighter"),gn=co("colorNeutralShadowAmbientDarker"),bn=co("colorNeutralShadowKeyDarker"),vn=co("colorBrandShadowAmbient"),mn=co("colorBrandShadowKey"),fn=co("colorPaletteRedBackground1"),yn=co("colorPaletteRedBackground2"),kn=co("colorPaletteRedBackground3"),xn=co("colorPaletteRedForeground1"),$n=co("colorPaletteRedForeground2"),Bn=co("colorPaletteRedForeground3"),wn=co("colorPaletteRedBorderActive"),Pn=co("colorPaletteRedBorder1"),Sn=co("colorPaletteRedBorder2"),Cn=co("colorPaletteGreenBackground1"),Fn=co("colorPaletteGreenBackground2"),Nn=co("colorPaletteGreenBackground3"),zn=co("colorPaletteGreenForeground1"),An=co("colorPaletteGreenForeground2"),Tn=co("colorPaletteGreenForeground3"),In=co("colorPaletteGreenBorderActive"),Ln=co("colorPaletteGreenBorder1"),Dn=co("colorPaletteGreenBorder2"),Mn=co("colorPaletteDarkOrangeBackground1"),On=co("colorPaletteDarkOrangeBackground2"),Hn=co("colorPaletteDarkOrangeBackground3"),Vn=co("colorPaletteDarkOrangeForeground1"),En=co("colorPaletteDarkOrangeForeground2"),Rn=co("colorPaletteDarkOrangeForeground3"),_n=co("colorPaletteDarkOrangeBorderActive"),jn=co("colorPaletteDarkOrangeBorder1"),Gn=co("colorPaletteDarkOrangeBorder2"),qn=co("colorPaletteYellowBackground1"),Xn=co("colorPaletteYellowBackground2"),Wn=co("colorPaletteYellowBackground3"),Yn=co("colorPaletteYellowForeground1"),Un=co("colorPaletteYellowForeground2"),Kn=co("colorPaletteYellowForeground3"),Qn=co("colorPaletteYellowBorderActive"),Zn=co("colorPaletteYellowBorder1"),Jn=co("colorPaletteYellowBorder2"),es=co("colorPaletteBerryBackground1"),ts=co("colorPaletteBerryBackground2"),os=co("colorPaletteBerryBackground3"),rs=co("colorPaletteBerryForeground1"),is=co("colorPaletteBerryForeground2"),as=co("colorPaletteBerryForeground3"),ns=co("colorPaletteBerryBorderActive"),ss=co("colorPaletteBerryBorder1"),ls=co("colorPaletteBerryBorder2"),cs=co("colorPaletteLightGreenBackground1"),ds=co("colorPaletteLightGreenBackground2"),hs=co("colorPaletteLightGreenBackground3"),us=co("colorPaletteLightGreenForeground1"),ps=co("colorPaletteLightGreenForeground2"),gs=co("colorPaletteLightGreenForeground3"),bs=co("colorPaletteLightGreenBorderActive"),vs=co("colorPaletteLightGreenBorder1"),ms=co("colorPaletteLightGreenBorder2"),fs=co("colorPaletteMarigoldBackground1"),ys=co("colorPaletteMarigoldBackground2"),ks=co("colorPaletteMarigoldBackground3"),xs=co("colorPaletteMarigoldForeground1"),$s=co("colorPaletteMarigoldForeground2"),Bs=co("colorPaletteMarigoldForeground3"),ws=co("colorPaletteMarigoldBorderActive"),Ps=co("colorPaletteMarigoldBorder1"),Ss=co("colorPaletteMarigoldBorder2"),Cs=co("colorPaletteDarkRedBackground2"),Fs=co("colorPaletteDarkRedForeground2"),Ns=co("colorPaletteDarkRedBorderActive"),zs=co("colorPaletteCranberryBackground2"),As=co("colorPaletteCranberryForeground2"),Ts=co("colorPaletteCranberryBorderActive"),Is=co("colorPalettePumpkinBackground2"),Ls=co("colorPalettePumpkinForeground2"),Ds=co("colorPalettePumpkinBorderActive"),Ms=co("colorPalettePeachBackground2"),Os=co("colorPalettePeachForeground2"),Hs=co("colorPalettePeachBorderActive"),Vs=co("colorPaletteGoldBackground2"),Es=co("colorPaletteGoldForeground2"),Rs=co("colorPaletteGoldBorderActive"),_s=co("colorPaletteBrassBackground2"),js=co("colorPaletteBrassForeground2"),Gs=co("colorPaletteBrassBorderActive"),qs=co("colorPaletteBrownBackground2"),Xs=co("colorPaletteBrownForeground2"),Ws=co("colorPaletteBrownBorderActive"),Ys=co("colorPaletteForestBackground2"),Us=co("colorPaletteForestForeground2"),Ks=co("colorPaletteForestBorderActive"),Qs=co("colorPaletteSeafoamBackground2"),Zs=co("colorPaletteSeafoamForeground2"),Js=co("colorPaletteSeafoamBorderActive"),el=co("colorPaletteDarkGreenBackground2"),tl=co("colorPaletteDarkGreenForeground2"),ol=co("colorPaletteDarkGreenBorderActive"),rl=co("colorPaletteLightTealBackground2"),il=co("colorPaletteLightTealForeground2"),al=co("colorPaletteLightTealBorderActive"),nl=co("colorPaletteTealBackground2"),sl=co("colorPaletteTealForeground2"),ll=co("colorPaletteTealBorderActive"),cl=co("colorPaletteSteelBackground2"),dl=co("colorPaletteSteelForeground2"),hl=co("colorPaletteSteelBorderActive"),ul=co("colorPaletteBlueBackground2"),pl=co("colorPaletteBlueForeground2"),gl=co("colorPaletteBlueBorderActive"),bl=co("colorPaletteRoyalBlueBackground2"),vl=co("colorPaletteRoyalBlueForeground2"),ml=co("colorPaletteRoyalBlueBorderActive"),fl=co("colorPaletteCornflowerBackground2"),yl=co("colorPaletteCornflowerForeground2"),kl=co("colorPaletteCornflowerBorderActive"),xl=co("colorPaletteNavyBackground2"),$l=co("colorPaletteNavyForeground2"),Bl=co("colorPaletteNavyBorderActive"),wl=co("colorPaletteLavenderBackground2"),Pl=co("colorPaletteLavenderForeground2"),Sl=co("colorPaletteLavenderBorderActive"),Cl=co("colorPalettePurpleBackground2"),Fl=co("colorPalettePurpleForeground2"),Nl=co("colorPalettePurpleBorderActive"),zl=co("colorPaletteGrapeBackground2"),Al=co("colorPaletteGrapeForeground2"),Tl=co("colorPaletteGrapeBorderActive"),Il=co("colorPaletteLilacBackground2"),Ll=co("colorPaletteLilacForeground2"),Dl=co("colorPaletteLilacBorderActive"),Ml=co("colorPalettePinkBackground2"),Ol=co("colorPalettePinkForeground2"),Hl=co("colorPalettePinkBorderActive"),Vl=co("colorPaletteMagentaBackground2"),El=co("colorPaletteMagentaForeground2"),Rl=co("colorPaletteMagentaBorderActive"),_l=co("colorPalettePlumBackground2"),jl=co("colorPalettePlumForeground2"),Gl=co("colorPalettePlumBorderActive"),ql=co("colorPaletteBeigeBackground2"),Xl=co("colorPaletteBeigeForeground2"),Wl=co("colorPaletteBeigeBorderActive"),Yl=co("colorPaletteMinkBackground2"),Ul=co("colorPaletteMinkForeground2"),Kl=co("colorPaletteMinkBorderActive"),Ql=co("colorPalettePlatinumBackground2"),Zl=co("colorPalettePlatinumForeground2"),Jl=co("colorPalettePlatinumBorderActive"),ec=co("colorPaletteAnchorBackground2"),tc=co("colorPaletteAnchorForeground2"),oc=co("colorPaletteAnchorBorderActive"),rc=co("colorPaletteRedForegroundInverted"),ic=co("colorPaletteGreenForegroundInverted"),ac=co("colorPaletteYellowForegroundInverted"),nc=co("shadow2"),sc=co("shadow4"),lc=co("shadow8"),cc=co("shadow16"),dc=co("shadow28"),hc=co("shadow64"),uc=co("shadow2Brand"),pc=co("shadow4Brand"),gc=co("shadow8Brand"),bc=co("shadow16Brand"),vc=co("shadow28Brand"),mc=co("shadow64Brand");var fc=Object.freeze({__proto__:null,borderRadiusNone:ho,borderRadiusSmall:uo,borderRadiusMedium:po,borderRadiusLarge:go,borderRadiusXLarge:bo,borderRadiusCircular:vo,fontSizeBase100:mo,fontSizeBase200:fo,fontSizeBase300:yo,fontSizeBase400:ko,fontSizeBase500:xo,fontSizeBase600:$o,fontSizeHero700:Bo,fontSizeHero800:wo,fontSizeHero900:Po,fontSizeHero1000:So,lineHeightBase100:Co,lineHeightBase200:Fo,lineHeightBase300:No,lineHeightBase400:zo,lineHeightBase500:Ao,lineHeightBase600:To,lineHeightHero700:Io,lineHeightHero800:Lo,lineHeightHero900:Do,lineHeightHero1000:Mo,fontFamilyBase:Oo,fontFamilyMonospace:Ho,fontFamilyNumeric:Vo,fontWeightRegular:Eo,fontWeightMedium:Ro,fontWeightSemibold:_o,fontWeightBold:jo,strokeWidthThin:Go,strokeWidthThick:qo,strokeWidthThicker:Xo,strokeWidthThickest:Wo,spacingHorizontalNone:Yo,spacingHorizontalXXS:Uo,spacingHorizontalXS:Ko,spacingHorizontalSNudge:Qo,spacingHorizontalS:Zo,spacingHorizontalMNudge:Jo,spacingHorizontalM:er,spacingHorizontalL:tr,spacingHorizontalXL:or,spacingHorizontalXXL:rr,spacingHorizontalXXXL:ir,spacingVerticalNone:ar,spacingVerticalXXS:nr,spacingVerticalXS:sr,spacingVerticalSNudge:lr,spacingVerticalS:cr,spacingVerticalMNudge:dr,spacingVerticalM:hr,spacingVerticalL:ur,spacingVerticalXL:pr,spacingVerticalXXL:gr,spacingVerticalXXXL:br,durationUltraFast:vr,durationFaster:mr,durationFast:fr,durationNormal:yr,durationSlow:kr,durationSlower:xr,durationUltraSlow:$r,curveAccelerateMax:Br,curveAccelerateMid:wr,curveAccelerateMin:Pr,curveDecelerateMax:Sr,curveDecelerateMid:Cr,curveDecelerateMin:Fr,curveEasyEaseMax:Nr,curveEasyEase:zr,curveLinear:Ar,colorNeutralForeground1:Tr,colorNeutralForeground1Hover:Ir,colorNeutralForeground1Pressed:Lr,colorNeutralForeground1Selected:Dr,colorNeutralForeground2:Mr,colorNeutralForeground2Hover:Or,colorNeutralForeground2Pressed:Hr,colorNeutralForeground2Selected:Vr,colorNeutralForeground2BrandHover:Er,colorNeutralForeground2BrandPressed:Rr,colorNeutralForeground2BrandSelected:_r,colorNeutralForeground3:jr,colorNeutralForeground3Hover:Gr,colorNeutralForeground3Pressed:qr,colorNeutralForeground3Selected:Xr,colorNeutralForeground3BrandHover:Wr,colorNeutralForeground3BrandPressed:Yr,colorNeutralForeground3BrandSelected:Ur,colorNeutralForeground4:Kr,colorNeutralForegroundDisabled:Qr,colorNeutralForegroundInvertedDisabled:Zr,colorBrandForegroundLink:Jr,colorBrandForegroundLinkHover:ei,colorBrandForegroundLinkPressed:ti,colorBrandForegroundLinkSelected:oi,colorNeutralForeground2Link:ri,colorNeutralForeground2LinkHover:ii,colorNeutralForeground2LinkPressed:ai,colorNeutralForeground2LinkSelected:ni,colorCompoundBrandForeground1:si,colorCompoundBrandForeground1Hover:li,colorCompoundBrandForeground1Pressed:ci,colorBrandForeground1:di,colorBrandForeground2:hi,colorNeutralForeground1Static:ui,colorNeutralForegroundStaticInverted:pi,colorNeutralForegroundInverted:gi,colorNeutralForegroundInvertedHover:bi,colorNeutralForegroundInvertedPressed:vi,colorNeutralForegroundInvertedSelected:mi,colorNeutralForegroundInverted2:fi,colorNeutralForegroundOnBrand:yi,colorNeutralForegroundInvertedLink:ki,colorNeutralForegroundInvertedLinkHover:xi,colorNeutralForegroundInvertedLinkPressed:$i,colorNeutralForegroundInvertedLinkSelected:Bi,colorBrandForegroundInverted:wi,colorBrandForegroundInvertedHover:Pi,colorBrandForegroundInvertedPressed:Si,colorBrandForegroundOnLight:Ci,colorBrandForegroundOnLightHover:Fi,colorBrandForegroundOnLightPressed:Ni,colorBrandForegroundOnLightSelected:zi,colorNeutralBackground1:Ai,colorNeutralBackground1Hover:Ti,colorNeutralBackground1Pressed:Ii,colorNeutralBackground1Selected:Li,colorNeutralBackground2:Di,colorNeutralBackground2Hover:Mi,colorNeutralBackground2Pressed:Oi,colorNeutralBackground2Selected:Hi,colorNeutralBackground3:Vi,colorNeutralBackground3Hover:Ei,colorNeutralBackground3Pressed:Ri,colorNeutralBackground3Selected:_i,colorNeutralBackground4:ji,colorNeutralBackground4Hover:Gi,colorNeutralBackground4Pressed:qi,colorNeutralBackground4Selected:Xi,colorNeutralBackground5:Wi,colorNeutralBackground5Hover:Yi,colorNeutralBackground5Pressed:Ui,colorNeutralBackground5Selected:Ki,colorNeutralBackground6:Qi,colorNeutralBackgroundInverted:Zi,colorNeutralBackgroundStatic:Ji,colorSubtleBackground:ea,colorSubtleBackgroundHover:ta,colorSubtleBackgroundPressed:oa,colorSubtleBackgroundSelected:ra,colorSubtleBackgroundLightAlphaHover:ia,colorSubtleBackgroundLightAlphaPressed:aa,colorSubtleBackgroundLightAlphaSelected:na,colorSubtleBackgroundInverted:sa,colorSubtleBackgroundInvertedHover:la,colorSubtleBackgroundInvertedPressed:ca,colorSubtleBackgroundInvertedSelected:da,colorTransparentBackground:ha,colorTransparentBackgroundHover:ua,colorTransparentBackgroundPressed:pa,colorTransparentBackgroundSelected:ga,colorNeutralBackgroundDisabled:ba,colorNeutralBackgroundInvertedDisabled:va,colorNeutralStencil1:ma,colorNeutralStencil2:fa,colorNeutralStencil1Alpha:ya,colorNeutralStencil2Alpha:ka,colorBackgroundOverlay:xa,colorScrollbarOverlay:$a,colorBrandBackground:Ba,colorBrandBackgroundHover:wa,colorBrandBackgroundPressed:Pa,colorBrandBackgroundSelected:Sa,colorCompoundBrandBackground:Ca,colorCompoundBrandBackgroundHover:Fa,colorCompoundBrandBackgroundPressed:Na,colorBrandBackgroundStatic:za,colorBrandBackground2:Aa,colorBrandBackgroundInverted:Ta,colorBrandBackgroundInvertedHover:Ia,colorBrandBackgroundInvertedPressed:La,colorBrandBackgroundInvertedSelected:Da,colorNeutralStrokeAccessible:Ma,colorNeutralStrokeAccessibleHover:Oa,colorNeutralStrokeAccessiblePressed:Ha,colorNeutralStrokeAccessibleSelected:Va,colorNeutralStroke1:Ea,colorNeutralStroke1Hover:Ra,colorNeutralStroke1Pressed:_a,colorNeutralStroke1Selected:ja,colorNeutralStroke2:Ga,colorNeutralStroke3:qa,colorNeutralStrokeOnBrand:Xa,colorNeutralStrokeOnBrand2:Wa,colorNeutralStrokeOnBrand2Hover:Ya,colorNeutralStrokeOnBrand2Pressed:Ua,colorNeutralStrokeOnBrand2Selected:Ka,colorBrandStroke1:Qa,colorBrandStroke2:Za,colorCompoundBrandStroke:Ja,colorCompoundBrandStrokeHover:en,colorCompoundBrandStrokePressed:tn,colorNeutralStrokeDisabled:on,colorNeutralStrokeInvertedDisabled:rn,colorTransparentStroke:an,colorTransparentStrokeInteractive:nn,colorTransparentStrokeDisabled:sn,colorStrokeFocus1:ln,colorStrokeFocus2:cn,colorNeutralShadowAmbient:dn,colorNeutralShadowKey:hn,colorNeutralShadowAmbientLighter:un,colorNeutralShadowKeyLighter:pn,colorNeutralShadowAmbientDarker:gn,colorNeutralShadowKeyDarker:bn,colorBrandShadowAmbient:vn,colorBrandShadowKey:mn,colorPaletteRedBackground1:fn,colorPaletteRedBackground2:yn,colorPaletteRedBackground3:kn,colorPaletteRedForeground1:xn,colorPaletteRedForeground2:$n,colorPaletteRedForeground3:Bn,colorPaletteRedBorderActive:wn,colorPaletteRedBorder1:Pn,colorPaletteRedBorder2:Sn,colorPaletteGreenBackground1:Cn,colorPaletteGreenBackground2:Fn,colorPaletteGreenBackground3:Nn,colorPaletteGreenForeground1:zn,colorPaletteGreenForeground2:An,colorPaletteGreenForeground3:Tn,colorPaletteGreenBorderActive:In,colorPaletteGreenBorder1:Ln,colorPaletteGreenBorder2:Dn,colorPaletteDarkOrangeBackground1:Mn,colorPaletteDarkOrangeBackground2:On,colorPaletteDarkOrangeBackground3:Hn,colorPaletteDarkOrangeForeground1:Vn,colorPaletteDarkOrangeForeground2:En,colorPaletteDarkOrangeForeground3:Rn,colorPaletteDarkOrangeBorderActive:_n,colorPaletteDarkOrangeBorder1:jn,colorPaletteDarkOrangeBorder2:Gn,colorPaletteYellowBackground1:qn,colorPaletteYellowBackground2:Xn,colorPaletteYellowBackground3:Wn,colorPaletteYellowForeground1:Yn,colorPaletteYellowForeground2:Un,colorPaletteYellowForeground3:Kn,colorPaletteYellowBorderActive:Qn,colorPaletteYellowBorder1:Zn,colorPaletteYellowBorder2:Jn,colorPaletteBerryBackground1:es,colorPaletteBerryBackground2:ts,colorPaletteBerryBackground3:os,colorPaletteBerryForeground1:rs,colorPaletteBerryForeground2:is,colorPaletteBerryForeground3:as,colorPaletteBerryBorderActive:ns,colorPaletteBerryBorder1:ss,colorPaletteBerryBorder2:ls,colorPaletteLightGreenBackground1:cs,colorPaletteLightGreenBackground2:ds,colorPaletteLightGreenBackground3:hs,colorPaletteLightGreenForeground1:us,colorPaletteLightGreenForeground2:ps,colorPaletteLightGreenForeground3:gs,colorPaletteLightGreenBorderActive:bs,colorPaletteLightGreenBorder1:vs,colorPaletteLightGreenBorder2:ms,colorPaletteMarigoldBackground1:fs,colorPaletteMarigoldBackground2:ys,colorPaletteMarigoldBackground3:ks,colorPaletteMarigoldForeground1:xs,colorPaletteMarigoldForeground2:$s,colorPaletteMarigoldForeground3:Bs,colorPaletteMarigoldBorderActive:ws,colorPaletteMarigoldBorder1:Ps,colorPaletteMarigoldBorder2:Ss,colorPaletteDarkRedBackground2:Cs,colorPaletteDarkRedForeground2:Fs,colorPaletteDarkRedBorderActive:Ns,colorPaletteCranberryBackground2:zs,colorPaletteCranberryForeground2:As,colorPaletteCranberryBorderActive:Ts,colorPalettePumpkinBackground2:Is,colorPalettePumpkinForeground2:Ls,colorPalettePumpkinBorderActive:Ds,colorPalettePeachBackground2:Ms,colorPalettePeachForeground2:Os,colorPalettePeachBorderActive:Hs,colorPaletteGoldBackground2:Vs,colorPaletteGoldForeground2:Es,colorPaletteGoldBorderActive:Rs,colorPaletteBrassBackground2:_s,colorPaletteBrassForeground2:js,colorPaletteBrassBorderActive:Gs,colorPaletteBrownBackground2:qs,colorPaletteBrownForeground2:Xs,colorPaletteBrownBorderActive:Ws,colorPaletteForestBackground2:Ys,colorPaletteForestForeground2:Us,colorPaletteForestBorderActive:Ks,colorPaletteSeafoamBackground2:Qs,colorPaletteSeafoamForeground2:Zs,colorPaletteSeafoamBorderActive:Js,colorPaletteDarkGreenBackground2:el,colorPaletteDarkGreenForeground2:tl,colorPaletteDarkGreenBorderActive:ol,colorPaletteLightTealBackground2:rl,colorPaletteLightTealForeground2:il,colorPaletteLightTealBorderActive:al,colorPaletteTealBackground2:nl,colorPaletteTealForeground2:sl,colorPaletteTealBorderActive:ll,colorPaletteSteelBackground2:cl,colorPaletteSteelForeground2:dl,colorPaletteSteelBorderActive:hl,colorPaletteBlueBackground2:ul,colorPaletteBlueForeground2:pl,colorPaletteBlueBorderActive:gl,colorPaletteRoyalBlueBackground2:bl,colorPaletteRoyalBlueForeground2:vl,colorPaletteRoyalBlueBorderActive:ml,colorPaletteCornflowerBackground2:fl,colorPaletteCornflowerForeground2:yl,colorPaletteCornflowerBorderActive:kl,colorPaletteNavyBackground2:xl,colorPaletteNavyForeground2:$l,colorPaletteNavyBorderActive:Bl,colorPaletteLavenderBackground2:wl,colorPaletteLavenderForeground2:Pl,colorPaletteLavenderBorderActive:Sl,colorPalettePurpleBackground2:Cl,colorPalettePurpleForeground2:Fl,colorPalettePurpleBorderActive:Nl,colorPaletteGrapeBackground2:zl,colorPaletteGrapeForeground2:Al,colorPaletteGrapeBorderActive:Tl,colorPaletteLilacBackground2:Il,colorPaletteLilacForeground2:Ll,colorPaletteLilacBorderActive:Dl,colorPalettePinkBackground2:Ml,colorPalettePinkForeground2:Ol,colorPalettePinkBorderActive:Hl,colorPaletteMagentaBackground2:Vl,colorPaletteMagentaForeground2:El,colorPaletteMagentaBorderActive:Rl,colorPalettePlumBackground2:_l,colorPalettePlumForeground2:jl,colorPalettePlumBorderActive:Gl,colorPaletteBeigeBackground2:ql,colorPaletteBeigeForeground2:Xl,colorPaletteBeigeBorderActive:Wl,colorPaletteMinkBackground2:Yl,colorPaletteMinkForeground2:Ul,colorPaletteMinkBorderActive:Kl,colorPalettePlatinumBackground2:Ql,colorPalettePlatinumForeground2:Zl,colorPalettePlatinumBorderActive:Jl,colorPaletteAnchorBackground2:ec,colorPaletteAnchorForeground2:tc,colorPaletteAnchorBorderActive:oc,colorPaletteRedForegroundInverted:rc,colorPaletteGreenForegroundInverted:ic,colorPaletteYellowForegroundInverted:ac,shadow2:nc,shadow4:sc,shadow8:lc,shadow16:cc,shadow28:dc,shadow64:hc,shadow2Brand:uc,shadow4Brand:pc,shadow8Brand:gc,shadow16Brand:bc,shadow28Brand:vc,shadow64Brand:mc});const yc=j`
|
|
5
|
+
${Jt("block")}
|
|
6
6
|
|
|
7
|
-
:host{max-width:fit-content;contain:content}.heading{height:44px;display:grid;position:relative;vertical-align:middle;padding-inline:${
|
|
8
|
-
${
|
|
9
|
-
${
|
|
7
|
+
:host{max-width:fit-content;contain:content}.heading{height:44px;display:grid;position:relative;vertical-align:middle;padding-inline:${er} ${Jo};border-radius:${po};font-family:${Oo};font-size:${yo};font-weight:${Eo};line-height:${No};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:${Tr};background:${ha};line-height:${No};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:${uo}}.icon{display:flex;align-items:center;justify-content:center;pointer-events:none;position:relative;height:100%;padding-right:${Zo};grid-column:1 / span 1;grid-row:1}.region{margin:0 ${er}}::slotted([slot='start']),::slotted([slot='end']){justify-content:center;align-items:center;padding-right:${Zo};grid-column:2 / span 1;grid-row:1 / span 1}button:focus-visible::after{content:'';position:absolute;inset:0px;cursor:pointer;border-radius:${uo};outline:none;border:2px solid ${ln};box-shadow:inset 0 0 0 1px ${cn}}:host([disabled]) .button{color:${Qr}}: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:${yo};line-height:${No}}:host([size='small']) .heading{font-size:${fo};line-height:${Fo}}:host([size='large']) .heading{font-size:${ko};line-height:${zo}}:host([size='extra-large']) .heading{font-size:${xo};line-height:${Ao}}: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}`,kc=function(e={}){return xe`<div class="heading" part="heading" role="heading" aria-level="${e=>e.headinglevel}"><button class="button" part="button" ${Be("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>${ot(e)} ${tt(e)}<span class="icon" part="icon" aria-hidden="true"><slot name="expanded-icon">${Qe(e.expandedIcon)}</slot><slot name="collapsed-icon">${Qe(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:xe.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="#212121"\n />\n</svg>'),expandedIcon:xe.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="#212121"\n />\n</svg>')}),xc=no.compose({name:io.prefix+"-accordion-item",template:kc,styles:yc}),$c=/[\(\[\{][^\)\]\}]*[\)\]\}]/g,Bc=/[\0-\u001F\!-/:-@\[-`\{-\u00BF\u0250-\u036F\uD800-\uFFFF]/g,wc=/^\d+[\d\s]*(:?ext|x|)\s*\d+$/i,Pc=/\s+/g,Sc=/[\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 Cc(e,t,o){return e?(e=function(e){return e=(e=(e=(e=e.replace($c,"")).replace(Bc,"")).replace(Pc," ")).trim()}(e),Sc.test(e)||!(null==o?void 0:o.allowPhoneInitials)&&wc.test(e)?"":function(e,t,o){let r="";const i=e.split(" ");return 0!==i.length&&(r+=i[0].charAt(0).toUpperCase()),o||(2===i.length?r+=i[1].charAt(0).toUpperCase():3===i.length&&(r+=i[2].charAt(0).toUpperCase())),t&&r.length>1?r.charAt(1)+r.charAt(0):r}(e,t,null==o?void 0:o.firstInitialOnly)):""}const Fc={active:"active",inactive:"inactive"},Nc={circular:"circular",square:"square"},zc={ring:"ring",shadow:"shadow",ringShadow:"ring-shadow"},Ac={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"},Tc={neutral:"neutral",brand:"brand",colorful:"colorful",...Ac},Ic={_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};class Lc extends Ke{constructor(){super(...arguments),this.color="neutral"}generateColor(){var e,t;if(this.color)return this.color===Tc.colorful?Lc.colors[Dc(null!==(t=null!==(e=this.colorId)&&void 0!==e?e:this.name)&&void 0!==t?t:"")%Lc.colors.length]:this.color}generateInitials(){var e,t;if(!this.name&&!this.initials)return;const o=null!==(e=this.size)&&void 0!==e?e:32;return null!==(t=this.initials)&&void 0!==t?t:Cc(this.name,"rtl"===window.getComputedStyle(this).direction,{firstInitialOnly:o<=16})}}Lc.colors=Object.values(Ac),Ze([Le],Lc.prototype,"name",void 0),Ze([Le],Lc.prototype,"initials",void 0),Ze([Le({converter:Te})],Lc.prototype,"size",void 0),Ze([Le],Lc.prototype,"shape",void 0),Ze([Le],Lc.prototype,"active",void 0),Ze([Le],Lc.prototype,"appearance",void 0),Ze([Le],Lc.prototype,"color",void 0),Ze([Le({attribute:"color-id"})],Lc.prototype,"colorId",void 0);const Dc=e=>{let t=0;for(let o=e.length-1;o>=0;o--){const r=e.charCodeAt(o),i=o%8;t^=(r<<i)+(r>>8-i)}return t},Mc=xe`<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 Oc=xe`<template role="img" data-color=${e=>e.generateColor()}><slot>${e=>e.name||e.initials?e.generateInitials():Mc}</slot><slot name="badge"></slot></template>`,Hc=Fr,Vc=Nr,Ec=Ar,Rc=j`
|
|
8
|
+
${Jt("inline-flex")} :host{position:relative;align-items:center;justify-content:center;flex-shrink:0;width:32px;height:32px;font-family:${Oo};font-weight:${_o};font-size:${yo};border-radius:${vo};color:${jr};background-color:${Qi};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:${vo}}::slotted([slot='badge']){position:absolute;bottom:0;right:0;box-shadow:0 0 0 ${Go} ${Ai}}: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 ${qo} ${Ai}}:host([size='16']),:host([size='20']),:host([size='24']){font-size:${mo};font-weight:${Eo}}: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:${fo}}:host([size='36']){width:36px;height:36px}:host([size='40']){width:40px;height:40px}:host([size='48']),:host([size='56']){font-size:${ko}}: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:${xo}}: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:${$o}}:host([size='120']){width:120px;height:120px}:host([size='128']){width:128px;height:128px}:host([shape='square']){border-radius:${po}}:host([shape='square'][size='20']),:host([shape='square'][size='24']){border-radius:${uo}}:host([shape='square'][size='56']),:host([shape='square'][size='64']),:host([shape='square'][size='72']){border-radius:${go}}:host([shape='square'][size='96']),:host([shape='square'][size='120']),:host([shape='square'][size='128']){border-radius:${bo}}:host([data-color='brand']){color:${pi};background-color:${za}}:host([data-color='dark-red']){color:${Fs};background-color:${Cs}}:host([data-color='cranberry']){color:${As};background-color:${zs}}:host([data-color='red']){color:${$n};background-color:${yn}}:host([data-color='pumpkin']){color:${Ls};background-color:${Is}}:host([data-color='peach']){color:${Os};background-color:${Ms}}:host([data-color='marigold']){color:${$s};background-color:${ys}}:host([data-color='gold']){color:${Es};background-color:${Vs}}:host([data-color='brass']){color:${js};background-color:${_s}}:host([data-color='brown']){color:${Xs};background-color:${qs}}:host([data-color='forest']){color:${Us};background-color:${Ys}}:host([data-color='seafoam']){color:${Zs};background-color:${Qs}}:host([data-color='dark-green']){color:${tl};background-color:${el}}:host([data-color='light-teal']){color:${il};background-color:${rl}}:host([data-color='teal']){color:${sl};background-color:${nl}}:host([data-color='steel']){color:${dl};background-color:${cl}}:host([data-color='blue']){color:${pl};background-color:${ul}}:host([data-color='royal-blue']){color:${vl};background-color:${bl}}:host([data-color='cornflower']){color:${yl};background-color:${fl}}:host([data-color='navy']){color:${$l};background-color:${xl}}:host([data-color='lavender']){color:${Pl};background-color:${wl}}:host([data-color='purple']){color:${Fl};background-color:${Cl}}:host([data-color='grape']){color:${Al};background-color:${zl}}:host([data-color='lilac']){color:${Ll};background-color:${Il}}:host([data-color='pink']){color:${Ol};background-color:${Ml}}:host([data-color='magenta']){color:${El};background-color:${Vl}}:host([data-color='plum']){color:${jl};background-color:${_l}}:host([data-color='beige']){color:${Xl};background-color:${ql}}:host([data-color='mink']){color:${Ul};background-color:${Yl}}:host([data-color='platinum']){color:${Zl};background-color:${Ql}}:host([data-color='anchor']){color:${tc};background-color:${ec}}:host([active]){transform:perspective(1px);transition-property:transform,opacity;transition-duration:${$r},${mr};transition-delay:${Vc},${Ec}}:host([active])::before{content:'';position:absolute;top:0;left:0;bottom:0;right:0;border-radius:inherit;transition-property:margin,opacity;transition-duration:${$r},${xr};transition-delay:${Vc},${Ec}}:host([active])::before{box-shadow:${lc};border-style:solid;border-color:${za}}:host([active][appearance='shadow'])::before{border-style:none;border-color:none}:host([active]:not([appearance='shadow']))::before{margin:calc(-2 * ${qo});border-width:${qo}}:host([size='56'][active]:not([appearance='shadow']))::before,:host([size='64'][active]:not([appearance='shadow']))::before{margin:calc(-2 * ${Xo});border-width:${Xo}}: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 * ${Wo});border-width:${Wo}}:host([size='20'][active][appearance])::before,:host([size='24'][active][appearance])::before,:host([size='28'][active][appearance])::before{box-shadow:${sc}}:host([size='56'][active][appearance])::before,:host([size='64'][active][appearance])::before{box-shadow:${cc}}: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:${dc}}:host([active][appearance='ring'])::before{box-shadow:none}:host([active='inactive']){opacity:0.8;transform:scale(0.875);transition-property:transform,opacity;transition-duration:${$r},${mr};transition-delay:${Hc},${Ec}}:host([active='inactive'])::before{margin:0;opacity:0;transition-property:margin,opacity;transition-duration:${$r},${xr};transition-delay:${Hc},${Ec}}@media screen and (prefers-reduced-motion:reduce){:host([active]){transition-duration:0.01ms}:host([active])::before{transition-duration:0.01ms;transition-delay:0.01ms}}`,_c=Lc.compose({name:io.prefix+"-avatar",template:Oc,styles:Rc}),jc={filled:"filled",ghost:"ghost",outline:"outline",tint:"tint"},Gc={brand:"brand",danger:"danger",important:"important",informative:"informative",severe:"severe",subtle:"subtle",success:"success",warning:"warning"},qc={circular:"circular",rounded:"rounded",square:"square"},Xc={tiny:"tiny",extraSmall:"extra-small",small:"small",medium:"medium",large:"large",extraLarge:"extra-large"};class Wc extends Ke{constructor(){super(...arguments),this.appearance=jc.filled,this.color=Gc.brand}}function Yc(e={}){return xe` ${ot(e)}<slot>${Qe(e.defaultContent)}</slot>${tt(e)} `}Ze([Le],Wc.prototype,"appearance",void 0),Ze([Le],Wc.prototype,"color",void 0),Ze([Le],Wc.prototype,"shape",void 0),Ze([Le],Wc.prototype,"size",void 0),st(Wc,et);const Uc=Yc(),Kc=Uo,Qc=j.partial`
|
|
9
|
+
${Jt("inline-flex")} :host {
|
|
10
10
|
position: relative;
|
|
11
11
|
box-sizing: border-box;
|
|
12
12
|
align-items: center;
|
|
13
13
|
justify-content: center;
|
|
14
|
-
font-family: ${
|
|
15
|
-
font-weight: ${
|
|
16
|
-
font-size: ${
|
|
17
|
-
line-height: ${
|
|
14
|
+
font-family: ${Oo};
|
|
15
|
+
font-weight: ${_o};
|
|
16
|
+
font-size: ${fo};
|
|
17
|
+
line-height: ${Fo};
|
|
18
18
|
min-width: 20px;
|
|
19
19
|
height: 20px;
|
|
20
|
-
padding-inline: calc(${
|
|
21
|
-
border-radius: ${
|
|
22
|
-
border-color: ${
|
|
23
|
-
background-color: ${
|
|
24
|
-
color: ${
|
|
20
|
+
padding-inline: calc(${Ko} + ${Kc});
|
|
21
|
+
border-radius: ${vo};
|
|
22
|
+
border-color: ${an};
|
|
23
|
+
background-color: ${Ba};
|
|
24
|
+
color: ${yi};
|
|
25
25
|
contain: content;
|
|
26
26
|
}
|
|
27
27
|
|
|
@@ -37,11 +37,11 @@ import{composedContains as e,composedParent as t}from"@microsoft/fast-element/ut
|
|
|
37
37
|
bottom: 0;
|
|
38
38
|
right: 0;
|
|
39
39
|
border-style: solid;
|
|
40
|
-
border-width: ${
|
|
40
|
+
border-width: ${Go};
|
|
41
41
|
border-color: inherit;
|
|
42
42
|
border-radius: inherit;
|
|
43
43
|
}
|
|
44
|
-
`,
|
|
44
|
+
`,Zc=j.partial`
|
|
45
45
|
:host([size='tiny']) {
|
|
46
46
|
width: 6px;
|
|
47
47
|
height: 6px;
|
|
@@ -67,9 +67,9 @@ import{composedContains as e,composedParent as t}from"@microsoft/fast-element/ut
|
|
|
67
67
|
:host([size='small']) {
|
|
68
68
|
min-width: 16px;
|
|
69
69
|
height: 16px;
|
|
70
|
-
font-size: ${
|
|
71
|
-
line-height: ${
|
|
72
|
-
padding-inline: calc(${
|
|
70
|
+
font-size: ${mo};
|
|
71
|
+
line-height: ${Co};
|
|
72
|
+
padding-inline: calc(${Uo} + ${Kc});
|
|
73
73
|
}
|
|
74
74
|
:host([size='small']) ::slotted(svg) {
|
|
75
75
|
font-size: 12px;
|
|
@@ -77,9 +77,9 @@ import{composedContains as e,composedParent as t}from"@microsoft/fast-element/ut
|
|
|
77
77
|
:host([size='large']) {
|
|
78
78
|
min-width: 24px;
|
|
79
79
|
height: 24px;
|
|
80
|
-
font-size: ${
|
|
81
|
-
line-height: ${
|
|
82
|
-
padding-inline: calc(${
|
|
80
|
+
font-size: ${fo};
|
|
81
|
+
line-height: ${Fo};
|
|
82
|
+
padding-inline: calc(${Ko} + ${Kc});
|
|
83
83
|
}
|
|
84
84
|
:host([size='large']) ::slotted(svg) {
|
|
85
85
|
font-size: 16px;
|
|
@@ -87,206 +87,210 @@ import{composedContains as e,composedParent as t}from"@microsoft/fast-element/ut
|
|
|
87
87
|
:host([size='extra-large']) {
|
|
88
88
|
min-width: 32px;
|
|
89
89
|
height: 32px;
|
|
90
|
-
font-size: ${
|
|
91
|
-
line-height: ${
|
|
92
|
-
padding-inline: calc(${
|
|
90
|
+
font-size: ${fo};
|
|
91
|
+
line-height: ${Fo};
|
|
92
|
+
padding-inline: calc(${Qo} + ${Kc});
|
|
93
93
|
}
|
|
94
94
|
:host([size='extra-large']) ::slotted(svg) {
|
|
95
95
|
font-size: 20px;
|
|
96
96
|
}
|
|
97
|
-
`,
|
|
97
|
+
`,Jc=j.partial`
|
|
98
98
|
:host([color='danger']) {
|
|
99
|
-
background-color: ${
|
|
100
|
-
color: ${
|
|
99
|
+
background-color: ${kn};
|
|
100
|
+
color: ${yi};
|
|
101
101
|
}
|
|
102
102
|
|
|
103
103
|
:host([color='important']) {
|
|
104
|
-
background-color: ${
|
|
105
|
-
color: ${
|
|
104
|
+
background-color: ${Tr};
|
|
105
|
+
color: ${Ai};
|
|
106
106
|
}
|
|
107
107
|
|
|
108
108
|
:host([color='informative']) {
|
|
109
|
-
background-color: ${
|
|
110
|
-
color: ${
|
|
109
|
+
background-color: ${Wi};
|
|
110
|
+
color: ${jr};
|
|
111
111
|
}
|
|
112
112
|
|
|
113
113
|
:host([color='severe']) {
|
|
114
|
-
background-color: ${
|
|
115
|
-
color: ${
|
|
114
|
+
background-color: ${Hn};
|
|
115
|
+
color: ${yi};
|
|
116
116
|
}
|
|
117
117
|
|
|
118
118
|
:host([color='subtle']) {
|
|
119
|
-
background-color: ${
|
|
120
|
-
color: ${
|
|
119
|
+
background-color: ${Ai};
|
|
120
|
+
color: ${Tr};
|
|
121
121
|
}
|
|
122
122
|
|
|
123
123
|
:host([color='success']) {
|
|
124
|
-
background-color: ${
|
|
125
|
-
color: ${
|
|
124
|
+
background-color: ${Nn};
|
|
125
|
+
color: ${yi};
|
|
126
126
|
}
|
|
127
127
|
|
|
128
128
|
:host([color='warning']) {
|
|
129
|
-
background-color: ${
|
|
130
|
-
color: ${
|
|
129
|
+
background-color: ${Wn};
|
|
130
|
+
color: ${Tr};
|
|
131
131
|
}
|
|
132
|
-
`,
|
|
132
|
+
`,ed=j.partial`
|
|
133
133
|
:host([appearance='ghost']) {
|
|
134
|
-
color: ${
|
|
134
|
+
color: ${Ba};
|
|
135
135
|
background-color: initial;
|
|
136
136
|
}
|
|
137
137
|
|
|
138
138
|
:host([appearance='ghost'][color='danger']) {
|
|
139
|
-
color: ${
|
|
139
|
+
color: ${Bn};
|
|
140
140
|
}
|
|
141
141
|
|
|
142
142
|
:host([appearance='ghost'][color='important']) {
|
|
143
|
-
color: ${
|
|
143
|
+
color: ${Tr};
|
|
144
144
|
}
|
|
145
145
|
|
|
146
146
|
:host([appearance='ghost'][color='informative']) {
|
|
147
|
-
color: ${
|
|
147
|
+
color: ${jr};
|
|
148
148
|
}
|
|
149
149
|
|
|
150
150
|
:host([appearance='ghost'][color='severe']) {
|
|
151
|
-
color: ${
|
|
151
|
+
color: ${Rn};
|
|
152
152
|
}
|
|
153
153
|
|
|
154
154
|
:host([appearance='ghost'][color='subtle']) {
|
|
155
|
-
color: ${
|
|
155
|
+
color: ${gi};
|
|
156
156
|
}
|
|
157
157
|
|
|
158
158
|
:host([appearance='ghost'][color='success']) {
|
|
159
|
-
color: ${
|
|
159
|
+
color: ${Tn};
|
|
160
160
|
}
|
|
161
161
|
|
|
162
162
|
:host([appearance='ghost'][color='warning']) {
|
|
163
|
-
color: ${
|
|
163
|
+
color: ${Un};
|
|
164
164
|
}
|
|
165
|
-
`,
|
|
165
|
+
`,td=j.partial`
|
|
166
166
|
:host([appearance='outline']) {
|
|
167
167
|
border-color: currentColor;
|
|
168
|
-
color: ${
|
|
168
|
+
color: ${di};
|
|
169
169
|
background-color: initial;
|
|
170
170
|
}
|
|
171
171
|
|
|
172
172
|
:host([appearance='outline'][color='danger']) {
|
|
173
|
-
color: ${
|
|
173
|
+
color: ${Bn};
|
|
174
174
|
}
|
|
175
175
|
|
|
176
176
|
:host([appearance='outline'][color='important']) {
|
|
177
|
-
color: ${
|
|
178
|
-
border-color: ${
|
|
177
|
+
color: ${jr};
|
|
178
|
+
border-color: ${Ma};
|
|
179
179
|
}
|
|
180
180
|
|
|
181
181
|
:host([appearance='outline'][color='informative']) {
|
|
182
|
-
color: ${
|
|
183
|
-
border-color: ${
|
|
182
|
+
color: ${jr};
|
|
183
|
+
border-color: ${Ga};
|
|
184
184
|
}
|
|
185
185
|
|
|
186
186
|
:host([appearance='outline'][color='severe']) {
|
|
187
|
-
color: ${
|
|
187
|
+
color: ${Rn};
|
|
188
188
|
}
|
|
189
189
|
|
|
190
190
|
:host([appearance='outline'][color='subtle']) {
|
|
191
|
-
color: ${
|
|
191
|
+
color: ${pi};
|
|
192
192
|
}
|
|
193
193
|
|
|
194
194
|
:host([appearance='outline'][color='success']) {
|
|
195
|
-
color: ${
|
|
195
|
+
color: ${An};
|
|
196
196
|
}
|
|
197
197
|
|
|
198
198
|
:host([appearance='outline'][color='warning']) {
|
|
199
|
-
color: ${
|
|
199
|
+
color: ${Un};
|
|
200
200
|
}
|
|
201
|
-
`,
|
|
201
|
+
`,od=j.partial`
|
|
202
202
|
:host([appearance='tint']) {
|
|
203
|
-
background-color: ${
|
|
204
|
-
color: ${
|
|
205
|
-
border-color: ${
|
|
203
|
+
background-color: ${Aa};
|
|
204
|
+
color: ${hi};
|
|
205
|
+
border-color: ${Za};
|
|
206
206
|
}
|
|
207
207
|
|
|
208
208
|
:host([appearance='tint'][color='danger']) {
|
|
209
|
-
background-color: ${
|
|
210
|
-
color: ${
|
|
211
|
-
border-color: ${
|
|
209
|
+
background-color: ${fn};
|
|
210
|
+
color: ${xn};
|
|
211
|
+
border-color: ${Pn};
|
|
212
212
|
}
|
|
213
213
|
|
|
214
214
|
:host([appearance='tint'][color='important']) {
|
|
215
|
-
background-color: ${
|
|
216
|
-
color: ${
|
|
217
|
-
border-color: ${
|
|
215
|
+
background-color: ${jr};
|
|
216
|
+
color: ${Ai};
|
|
217
|
+
border-color: ${an};
|
|
218
218
|
}
|
|
219
219
|
|
|
220
220
|
:host([appearance='tint'][color='informative']) {
|
|
221
|
-
background-color: ${
|
|
222
|
-
color: ${
|
|
223
|
-
border-color: ${
|
|
221
|
+
background-color: ${ji};
|
|
222
|
+
color: ${jr};
|
|
223
|
+
border-color: ${Ga};
|
|
224
224
|
}
|
|
225
225
|
|
|
226
226
|
:host([appearance='tint'][color='severe']) {
|
|
227
|
-
background-color: ${
|
|
228
|
-
color: ${
|
|
229
|
-
border-color: ${
|
|
227
|
+
background-color: ${Mn};
|
|
228
|
+
color: ${Vn};
|
|
229
|
+
border-color: ${jn};
|
|
230
230
|
}
|
|
231
231
|
|
|
232
232
|
:host([appearance='tint'][color='subtle']) {
|
|
233
|
-
background-color: ${
|
|
234
|
-
color: ${
|
|
235
|
-
border-color: ${
|
|
233
|
+
background-color: ${Ai};
|
|
234
|
+
color: ${jr};
|
|
235
|
+
border-color: ${Ga};
|
|
236
236
|
}
|
|
237
237
|
|
|
238
238
|
:host([appearance='tint'][color='success']) {
|
|
239
|
-
background-color: ${
|
|
240
|
-
color: ${
|
|
241
|
-
border-color: ${
|
|
239
|
+
background-color: ${Cn};
|
|
240
|
+
color: ${zn};
|
|
241
|
+
border-color: ${Dn};
|
|
242
242
|
}
|
|
243
243
|
|
|
244
244
|
:host([appearance='tint'][color='warning']) {
|
|
245
|
-
background-color: ${
|
|
246
|
-
color: ${
|
|
247
|
-
border-color: ${
|
|
248
|
-
}
|
|
249
|
-
`,
|
|
250
|
-
:host([shape='square']){border-radius:${
|
|
251
|
-
${
|
|
252
|
-
${
|
|
253
|
-
${
|
|
254
|
-
${
|
|
255
|
-
${
|
|
256
|
-
`,
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
${
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
${
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
:host
|
|
267
|
-
${
|
|
268
|
-
|
|
269
|
-
:host{align-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
to right,${
|
|
275
|
-
)}
|
|
276
|
-
to right,${
|
|
277
|
-
)
|
|
278
|
-
to right,${
|
|
279
|
-
);border-radius:${
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
)
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
${
|
|
291
|
-
|
|
292
|
-
:host{contain:content}::slotted(*){font-family:${zo};font-size:${uo};line-height:${Bo};font-weight:${Io};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:${co};line-height:${ko}}:host([size='200']) ::slotted(*){font-size:${ho};line-height:${xo}}:host([size='400']) ::slotted(*){font-size:${go};line-height:${wo}}:host([size='500']) ::slotted(*){font-size:${po};line-height:${$o}}:host([size='600']) ::slotted(*){font-size:${vo};line-height:${Po}}:host([size='700']) ::slotted(*){font-size:${fo};line-height:${So}}:host([size='800']) ::slotted(*){font-size:${mo};line-height:${Co}}:host([size='900']) ::slotted(*){font-size:${bo};line-height:${Fo}}:host([size='1000']) ::slotted(*){font-size:${yo};line-height:${No}}:host([font='monospace']) ::slotted(*){font-family:${Ao}}:host([font='numeric']) ::slotted(*){font-family:${To}}:host([weight='medium']) ::slotted(*){font-weight:${Lo}}:host([weight='semibold']) ::slotted(*){font-weight:${Mo}}:host([weight='bold']) ::slotted(*){font-weight:${Do}}:host([align='center']) ::slotted(*){text-align:center}:host([align='end']) ::slotted(*){text-align:end}:host([align='justify']) ::slotted(*){text-align:justify}`,Yd=Rd.compose({name:Qt.prefix+"-text",template:Xd,styles:Wd}),Ud=Object.keys(hc),Kd=e=>{for(const t of Ud)hc[t].withDefault(e[t])};export{Wt as Accordion,Jt as AccordionItem,to as AccordionItemExpandIconPosition,eo as AccordionItemSize,Cc as Avatar,xc as AvatarActive,wc as AvatarAppearance,Pc as AvatarColor,Mc as AvatarDefinition,$c as AvatarNamedColor,Bc as AvatarShape,Sc as AvatarSize,Lc as AvatarStyles,zc as AvatarTemplate,Ec as Badge,Dc as BadgeAppearance,Oc as BadgeColor,Qc as BadgeDefinition,Hc as BadgeShape,Vc as BadgeSize,Kc as BadgeStyles,_c as BadgeTemplate,Zc as CounterBadge,Jc as CounterBadgeAppearance,ed as CounterBadgeColor,nd as CounterBadgeDefinition,td as CounterBadgeShape,od as CounterBadgeSize,id as CounterBadgeStyles,rd as CounterBadgeTemplate,sd as Divider,ad as DividerAlignContent,ld as DividerAppearance,hd as DividerDefinition,Tt as DividerOrientation,At as DividerRole,dd as DividerStyles,cd as DividerTemplate,ud as Image,md as ImageDefinition,gd as ImageFit,pd as ImageShape,fd as ImageStyles,vd as ImageTemplate,bd as ProgressBar,$d as ProgressBarDefinition,kd as ProgressBarShape,Bd as ProgressBarStyles,wd as ProgressBarTemplate,yd as ProgressBarThickness,xd as ProgressBarValidationState,Pd as Slider,Nd as SliderDefinition,Ot as SliderOrientation,Sd as SliderSize,Cd as SliderStyles,Fd as SliderTemplate,zd as Spinner,Ad as SpinnerAppearance,Md as SpinnerDefinition,Td as SpinnerSize,Ld as SpinnerStyles,Id as SpinnerTemplate,Dd as Switch,Od as SwitchLabelPosition,Rd as Text,qd as TextAlign,Yd as TextDefinition,jd as TextFont,_d as TextSize,Wd as TextStyles,Xd as TextTemplate,Gd as TextWeight,Zt as accordionDefinition,pc as accordionItemDefinition,uc as accordionItemStyles,gc as accordionItemTemplate,Kt as accordionStyles,Yt as accordionTemplate,lo as borderRadiusCircular,so as borderRadiusLarge,no as borderRadiusMedium,ro as borderRadiusNone,io as borderRadiusSmall,ao as borderRadiusXLarge,vn as colorBackgroundOverlay,mn as colorBrandBackground,Pn as colorBrandBackground2,bn as colorBrandBackgroundHover,Sn as colorBrandBackgroundInverted,Cn as colorBrandBackgroundInvertedHover,Fn as colorBrandBackgroundInvertedPressed,Nn as colorBrandBackgroundInvertedSelected,yn as colorBrandBackgroundPressed,kn as colorBrandBackgroundSelected,$n as colorBrandBackgroundStatic,ri as colorBrandForeground1,ii as colorBrandForeground2,mi as colorBrandForegroundInverted,bi as colorBrandForegroundInvertedHover,yi as colorBrandForegroundInvertedPressed,Xr as colorBrandForegroundLink,Wr as colorBrandForegroundLinkHover,Yr as colorBrandForegroundLinkPressed,Ur as colorBrandForegroundLinkSelected,ki as colorBrandForegroundOnLight,xi as colorBrandForegroundOnLightHover,Bi as colorBrandForegroundOnLightPressed,wi as colorBrandForegroundOnLightSelected,cs as colorBrandShadowAmbient,ds as colorBrandShadowKey,qn as colorBrandStroke1,Xn as colorBrandStroke2,xn as colorCompoundBrandBackground,Bn as colorCompoundBrandBackgroundHover,wn as colorCompoundBrandBackgroundPressed,ei as colorCompoundBrandForeground1,ti as colorCompoundBrandForeground1Hover,oi as colorCompoundBrandForeground1Pressed,Wn as colorCompoundBrandStroke,Yn as colorCompoundBrandStrokeHover,Un as colorCompoundBrandStrokePressed,$i as colorNeutralBackground1,Pi as colorNeutralBackground1Hover,Si as colorNeutralBackground1Pressed,Ci as colorNeutralBackground1Selected,Fi as colorNeutralBackground2,Ni as colorNeutralBackground2Hover,zi as colorNeutralBackground2Pressed,Ai as colorNeutralBackground2Selected,Ti as colorNeutralBackground3,Ii as colorNeutralBackground3Hover,Li as colorNeutralBackground3Pressed,Mi as colorNeutralBackground3Selected,Di as colorNeutralBackground4,Oi as colorNeutralBackground4Hover,Hi as colorNeutralBackground4Pressed,Vi as colorNeutralBackground4Selected,Ei as colorNeutralBackground5,Ri as colorNeutralBackground5Hover,_i as colorNeutralBackground5Pressed,ji as colorNeutralBackground5Selected,Gi as colorNeutralBackground6,cn as colorNeutralBackgroundDisabled,qi as colorNeutralBackgroundInverted,dn as colorNeutralBackgroundInvertedDisabled,Xi as colorNeutralBackgroundStatic,Pr as colorNeutralForeground1,Sr as colorNeutralForeground1Hover,Cr as colorNeutralForeground1Pressed,Fr as colorNeutralForeground1Selected,ni as colorNeutralForeground1Static,Nr as colorNeutralForeground2,Ir as colorNeutralForeground2BrandHover,Lr as colorNeutralForeground2BrandPressed,Mr as colorNeutralForeground2BrandSelected,zr as colorNeutralForeground2Hover,Kr as colorNeutralForeground2Link,Qr as colorNeutralForeground2LinkHover,Zr as colorNeutralForeground2LinkPressed,Jr as colorNeutralForeground2LinkSelected,Ar as colorNeutralForeground2Pressed,Tr as colorNeutralForeground2Selected,Dr as colorNeutralForeground3,Er as colorNeutralForeground3BrandHover,Rr as colorNeutralForeground3BrandPressed,_r as colorNeutralForeground3BrandSelected,Or as colorNeutralForeground3Hover,Hr as colorNeutralForeground3Pressed,Vr as colorNeutralForeground3Selected,jr as colorNeutralForeground4,Gr as colorNeutralForegroundDisabled,ai as colorNeutralForegroundInverted,hi as colorNeutralForegroundInverted2,qr as colorNeutralForegroundInvertedDisabled,li as colorNeutralForegroundInvertedHover,gi as colorNeutralForegroundInvertedLink,pi as colorNeutralForegroundInvertedLinkHover,vi as colorNeutralForegroundInvertedLinkPressed,fi as colorNeutralForegroundInvertedLinkSelected,ci as colorNeutralForegroundInvertedPressed,di as colorNeutralForegroundInvertedSelected,ui as colorNeutralForegroundOnBrand,si as colorNeutralForegroundStaticInverted,rs as colorNeutralShadowAmbient,as as colorNeutralShadowAmbientDarker,ns as colorNeutralShadowAmbientLighter,is as colorNeutralShadowKey,ls as colorNeutralShadowKeyDarker,ss as colorNeutralShadowKeyLighter,hn as colorNeutralStencil1,gn as colorNeutralStencil1Alpha,un as colorNeutralStencil2,pn as colorNeutralStencil2Alpha,Ln as colorNeutralStroke1,Mn as colorNeutralStroke1Hover,Dn as colorNeutralStroke1Pressed,On as colorNeutralStroke1Selected,Hn as colorNeutralStroke2,Vn as colorNeutralStroke3,zn as colorNeutralStrokeAccessible,An as colorNeutralStrokeAccessibleHover,Tn as colorNeutralStrokeAccessiblePressed,In as colorNeutralStrokeAccessibleSelected,Kn as colorNeutralStrokeDisabled,Qn as colorNeutralStrokeInvertedDisabled,En as colorNeutralStrokeOnBrand,Rn as colorNeutralStrokeOnBrand2,_n as colorNeutralStrokeOnBrand2Hover,jn as colorNeutralStrokeOnBrand2Pressed,Gn as colorNeutralStrokeOnBrand2Selected,Wl as colorPaletteAnchorBackground2,Ul as colorPaletteAnchorBorderActive,Yl as colorPaletteAnchorForeground2,Hl as colorPaletteBeigeBackground2,El as colorPaletteBeigeBorderActive,Vl as colorPaletteBeigeForeground2,Ws as colorPaletteBerryBackground1,Ys as colorPaletteBerryBackground2,Us as colorPaletteBerryBackground3,ea as colorPaletteBerryBorder1,ta as colorPaletteBerryBorder2,Js as colorPaletteBerryBorderActive,Ks as colorPaletteBerryForeground1,Qs as colorPaletteBerryForeground2,Zs as colorPaletteBerryForeground3,nl as colorPaletteBlueBackground2,al as colorPaletteBlueBorderActive,sl as colorPaletteBlueForeground2,Ma as colorPaletteBrassBackground2,Oa as colorPaletteBrassBorderActive,Da as colorPaletteBrassForeground2,Ha as colorPaletteBrownBackground2,Ea as colorPaletteBrownBorderActive,Va as colorPaletteBrownForeground2,hl as colorPaletteCornflowerBackground2,gl as colorPaletteCornflowerBorderActive,ul as colorPaletteCornflowerForeground2,wa as colorPaletteCranberryBackground2,Pa as colorPaletteCranberryBorderActive,$a as colorPaletteCranberryForeground2,Wa as colorPaletteDarkGreenBackground2,Ua as colorPaletteDarkGreenBorderActive,Ya as colorPaletteDarkGreenForeground2,Ns as colorPaletteDarkOrangeBackground1,zs as colorPaletteDarkOrangeBackground2,As as colorPaletteDarkOrangeBackground3,Ds as colorPaletteDarkOrangeBorder1,Os as colorPaletteDarkOrangeBorder2,Ms as colorPaletteDarkOrangeBorderActive,Ts as colorPaletteDarkOrangeForeground1,Is as colorPaletteDarkOrangeForeground2,Ls as colorPaletteDarkOrangeForeground3,ka as colorPaletteDarkRedBackground2,Ba as colorPaletteDarkRedBorderActive,xa as colorPaletteDarkRedForeground2,Ra as colorPaletteForestBackground2,ja as colorPaletteForestBorderActive,_a as colorPaletteForestForeground2,Ta as colorPaletteGoldBackground2,La as colorPaletteGoldBorderActive,Ia as colorPaletteGoldForeground2,wl as colorPaletteGrapeBackground2,Pl as colorPaletteGrapeBorderActive,$l as colorPaletteGrapeForeground2,ks as colorPaletteGreenBackground1,xs as colorPaletteGreenBackground2,Bs as colorPaletteGreenBackground3,Cs as colorPaletteGreenBorder1,Fs as colorPaletteGreenBorder2,Ss as colorPaletteGreenBorderActive,ws as colorPaletteGreenForeground1,$s as colorPaletteGreenForeground2,Ps as colorPaletteGreenForeground3,Ql as colorPaletteGreenForegroundInverted,ml as colorPaletteLavenderBackground2,yl as colorPaletteLavenderBorderActive,bl as colorPaletteLavenderForeground2,oa as colorPaletteLightGreenBackground1,ra as colorPaletteLightGreenBackground2,ia as colorPaletteLightGreenBackground3,ca as colorPaletteLightGreenBorder1,da as colorPaletteLightGreenBorder2,la as colorPaletteLightGreenBorderActive,na as colorPaletteLightGreenForeground1,sa as colorPaletteLightGreenForeground2,aa as colorPaletteLightGreenForeground3,Ka as colorPaletteLightTealBackground2,Za as colorPaletteLightTealBorderActive,Qa as colorPaletteLightTealForeground2,Sl as colorPaletteLilacBackground2,Fl as colorPaletteLilacBorderActive,Cl as colorPaletteLilacForeground2,Tl as colorPaletteMagentaBackground2,Ll as colorPaletteMagentaBorderActive,Il as colorPaletteMagentaForeground2,ha as colorPaletteMarigoldBackground1,ua as colorPaletteMarigoldBackground2,ga as colorPaletteMarigoldBackground3,ba as colorPaletteMarigoldBorder1,ya as colorPaletteMarigoldBorder2,ma as colorPaletteMarigoldBorderActive,pa as colorPaletteMarigoldForeground1,va as colorPaletteMarigoldForeground2,fa as colorPaletteMarigoldForeground3,Rl as colorPaletteMinkBackground2,jl as colorPaletteMinkBorderActive,_l as colorPaletteMinkForeground2,pl as colorPaletteNavyBackground2,fl as colorPaletteNavyBorderActive,vl as colorPaletteNavyForeground2,Na as colorPalettePeachBackground2,Aa as colorPalettePeachBorderActive,za as colorPalettePeachForeground2,Nl as colorPalettePinkBackground2,Al as colorPalettePinkBorderActive,zl as colorPalettePinkForeground2,Gl as colorPalettePlatinumBackground2,Xl as colorPalettePlatinumBorderActive,ql as colorPalettePlatinumForeground2,Ml as colorPalettePlumBackground2,Ol as colorPalettePlumBorderActive,Dl as colorPalettePlumForeground2,Sa as colorPalettePumpkinBackground2,Fa as colorPalettePumpkinBorderActive,Ca as colorPalettePumpkinForeground2,kl as colorPalettePurpleBackground2,Bl as colorPalettePurpleBorderActive,xl as colorPalettePurpleForeground2,hs as colorPaletteRedBackground1,us as colorPaletteRedBackground2,gs as colorPaletteRedBackground3,bs as colorPaletteRedBorder1,ys as colorPaletteRedBorder2,ms as colorPaletteRedBorderActive,ps as colorPaletteRedForeground1,vs as colorPaletteRedForeground2,fs as colorPaletteRedForeground3,Kl as colorPaletteRedForegroundInverted,ll as colorPaletteRoyalBlueBackground2,dl as colorPaletteRoyalBlueBorderActive,cl as colorPaletteRoyalBlueForeground2,Ga as colorPaletteSeafoamBackground2,Xa as colorPaletteSeafoamBorderActive,qa as colorPaletteSeafoamForeground2,ol as colorPaletteSteelBackground2,il as colorPaletteSteelBorderActive,rl as colorPaletteSteelForeground2,Ja as colorPaletteTealBackground2,tl as colorPaletteTealBorderActive,el as colorPaletteTealForeground2,Hs as colorPaletteYellowBackground1,Vs as colorPaletteYellowBackground2,Es as colorPaletteYellowBackground3,qs as colorPaletteYellowBorder1,Xs as colorPaletteYellowBorder2,Gs as colorPaletteYellowBorderActive,Rs as colorPaletteYellowForeground1,_s as colorPaletteYellowForeground2,js as colorPaletteYellowForeground3,Zl as colorPaletteYellowForegroundInverted,fn as colorScrollbarOverlay,ts as colorStrokeFocus1,os as colorStrokeFocus2,Wi as colorSubtleBackground,Yi as colorSubtleBackgroundHover,en as colorSubtleBackgroundInverted,tn as colorSubtleBackgroundInvertedHover,on as colorSubtleBackgroundInvertedPressed,rn as colorSubtleBackgroundInvertedSelected,Qi as colorSubtleBackgroundLightAlphaHover,Zi as colorSubtleBackgroundLightAlphaPressed,Ji as colorSubtleBackgroundLightAlphaSelected,Ui as colorSubtleBackgroundPressed,Ki as colorSubtleBackgroundSelected,nn as colorTransparentBackground,sn as colorTransparentBackgroundHover,an as colorTransparentBackgroundPressed,ln as colorTransparentBackgroundSelected,Zn as colorTransparentStroke,es as colorTransparentStrokeDisabled,Jn as colorTransparentStrokeInteractive,fr as curveAccelerateMax,mr as curveAccelerateMid,br as curveAccelerateMin,yr as curveDecelerateMax,kr as curveDecelerateMid,xr as curveDecelerateMin,wr as curveEasyEase,Br as curveEasyEaseMax,$r as curveLinear,Ed as definition,hr as durationFast,dr as durationFaster,ur as durationNormal,gr as durationSlow,pr as durationSlower,cr as durationUltraFast,vr as durationUltraSlow,zo as fontFamilyBase,Ao as fontFamilyMonospace,To as fontFamilyNumeric,co as fontSizeBase100,ho as fontSizeBase200,uo as fontSizeBase300,go as fontSizeBase400,po as fontSizeBase500,vo as fontSizeBase600,yo as fontSizeHero1000,fo as fontSizeHero700,mo as fontSizeHero800,bo as fontSizeHero900,Do as fontWeightBold,Lo as fontWeightMedium,Io as fontWeightRegular,Mo as fontWeightSemibold,ko as lineHeightBase100,xo as lineHeightBase200,Bo as lineHeightBase300,wo as lineHeightBase400,$o as lineHeightBase500,Po as lineHeightBase600,No as lineHeightHero1000,So as lineHeightHero700,Co as lineHeightHero800,Fo as lineHeightHero900,Kd as setTheme,oc as shadow16,lc as shadow16Brand,Jl as shadow2,rc as shadow28,cc as shadow28Brand,nc as shadow2Brand,ec as shadow4,sc as shadow4Brand,ic as shadow64,dc as shadow64Brand,tc as shadow8,ac as shadow8Brand,Yo as spacingHorizontalL,Wo as spacingHorizontalM,Xo as spacingHorizontalMNudge,Ro as spacingHorizontalNone,qo as spacingHorizontalS,Go as spacingHorizontalSNudge,Uo as spacingHorizontalXL,jo as spacingHorizontalXS,Ko as spacingHorizontalXXL,_o as spacingHorizontalXXS,Qo as spacingHorizontalXXXL,nr as spacingVerticalL,ir as spacingVerticalM,rr as spacingVerticalMNudge,Zo as spacingVerticalNone,or as spacingVerticalS,tr as spacingVerticalSNudge,sr as spacingVerticalXL,er as spacingVerticalXS,ar as spacingVerticalXXL,Jo as spacingVerticalXXS,lr as spacingVerticalXXXL,Ho as strokeWidthThick,Vo as strokeWidthThicker,Eo as strokeWidthThickest,Oo as strokeWidthThin,Vd as switchStyles,Hd as switchTemplate};
|
|
245
|
+
background-color: ${qn};
|
|
246
|
+
color: ${Un};
|
|
247
|
+
border-color: ${Zn};
|
|
248
|
+
}
|
|
249
|
+
`,rd=j`
|
|
250
|
+
:host([shape='square']){border-radius:${ho}}:host([shape='rounded']){border-radius:${po}}:host([shape='rounded'][size='tiny']),:host([shape='rounded'][size='extra-small']),:host([shape='rounded'][size='small']){border-radius:${uo}}${Zc}
|
|
251
|
+
${Jc}
|
|
252
|
+
${ed}
|
|
253
|
+
${td}
|
|
254
|
+
${od}
|
|
255
|
+
${Qc}
|
|
256
|
+
`,id=Wc.compose({name:io.prefix+"-badge",template:Uc,styles:rd});class ad extends yt{constructor(){super(...arguments),this.iconOnly=!1,this.disabledFocusable=!1,this.handleDisabledFocusableClick=e=>{e&&this.disabledFocusable&&e.stopImmediatePropagation()}}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)}}Ze([Le],ad.prototype,"appearance",void 0),Ze([Le],ad.prototype,"shape",void 0),Ze([Le],ad.prototype,"size",void 0),Ze([Le({attribute:"icon-only",mode:"boolean"})],ad.prototype,"iconOnly",void 0),Ze([Le({attribute:"disabled-focusable",mode:"boolean"})],ad.prototype,"disabledFocusable",void 0);const nd={primary:"primary",outline:"outline",subtle:"subtle",secondary:"secondary",transparent:"transparent"},sd={circular:"circular",rounded:"rounded",square:"square"},ld={small:"small",medium:"medium",large:"large"},cd=function(e={}){return xe`<button class="control" part="control" ?autofocus="${e=>e.autofocus}" ?disabled="${e=>e.disabled}" form="${e=>e.formId}" formaction="${e=>e.formaction}" formenctype="${e=>e.formenctype}" formmethod="${e=>e.formmethod}" ?formnovalidate="${e=>e.formnovalidate}" formtarget="${e=>e.formtarget}" name="${e=>e.name}" type="${e=>e.type}" value="${e=>e.value}" 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-pressed="${e=>e.ariaPressed}" aria-relevant="${e=>e.ariaRelevant}" aria-roledescription="${e=>e.ariaRoledescription}" ${Be("control")}>${ot(e)}<span class="content" part="content"><slot ${Fe("defaultSlottedContent")}></slot></span>${tt(e)}</button>`}(),dd=j`
|
|
257
|
+
${Jt("inline-flex")}
|
|
258
|
+
|
|
259
|
+
:host{--icon-spacing:${Qo};contain:layout style}: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:${Ai};color:${Tr};border:${Go} solid ${Ea};padding:0 ${er};min-width:96px;border-radius:${po};font-size:${yo};font-family:${Oo};font-weight:${_o};line-height:${No};transition-duration:${mr};transition-property:background,border,color;transition-timing-function:${zr};cursor:pointer}.content{display:inherit}:host(:hover) .control{background-color:${Ti};color:${Ir};border-color:${Ra}}:host(:hover:active) .control{background-color:${Ii};border-color:${_a};color:${Lr};outline-style:none}:host .control:focus-visible{border-color:${an};outline:${qo} solid ${an};box-shadow:${sc},0 0 0 2px ${cn}}@media screen and (prefers-reduced-motion:reduce){transition-duration:0.01ms}::slotted(svg){font-size:20px;height:20px;width:20px;fill:currentColor}::slotted([slot='start']){margin-inline-end:var(--icon-spacing)}::slotted([slot='end']){margin-inline-start:var(--icon-spacing)}:host([icon-only]) .control{min-width:32px;max-width:32px}:host([size='small']){--icon-spacing:${Ko}}:host([size='small']) .control{min-height:24px;min-width:64px;padding:0 ${Zo};border-radius:${uo};font-size:${fo};line-height:${Fo};font-weight:${Eo}}:host([size='small'][icon-only]) .control{min-width:24px;max-width:24px}:host([size='large']) .control{min-height:40px;border-radius:${go};padding:0 ${tr};font-size:${ko};line-height:${zo}}: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:${vo}}:host([shape='square']) .control,:host([shape='square']) .control:focus-visible{border-radius:${ho}}:host([appearance='primary']) .control{background-color:${Ba};color:${yi};border-color:transparent}:host([appearance='primary']:hover) .control{background-color:${wa}}:host([appearance='primary']:hover) .control,:host([appearance='primary']:hover:active) .control{border-color:transparent;color:${yi}}:host([appearance='primary']:hover:active) .control{background-color:${Pa}}:host([appearance='primary']) .control:focus-visible{border-color:${yi};box-shadow:${nc},0 0 0 2px ${cn}}: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:${ha}}:host([appearance='outline']:hover) .control{background-color:${ua}}:host([appearance='outline']:hover:active) .control{background-color:${pa}}: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:${ha}}:host([appearance='subtle']) .control{background-color:${ea};color:${Mr};border-color:transparent}:host([appearance='subtle']:hover) .control{background-color:${ta};color:${Or};border-color:transparent}:host([appearance='subtle']:hover:active) .control{background-color:${oa};color:${Hr};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:${ha};border-color:transparent}:host([appearance='subtle']:hover) ::slotted(svg){fill:${Er}}:host([appearance='subtle']:hover:active) ::slotted(svg){fill:${Rr}}:host([appearance='transparent']) .control{background-color:${ha};color:${Mr}}:host([appearance='transparent']:hover) .control{background-color:${ua};color:${Er}}:host([appearance='transparent']:hover:active) .control{background-color:${pa};color:${Rr}}: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:${ha}}: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)
|
|
260
|
+
.control{background-color:${ba};border-color:${on};color:${Qr};cursor:not-allowed}`,hd=ad.compose({name:io.prefix+"-button",template:cd,styles:dd,shadowOptions:{delegatesFocus:!0}});class ud extends Ke{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)&&void 0!==e?e:0;if((0!==t||this.showZero)&&!this.dot)return t>this.overflowCount?this.overflowCount+"+":""+t}}Ze([Le],ud.prototype,"appearance",void 0),Ze([Le],ud.prototype,"color",void 0),Ze([Le],ud.prototype,"shape",void 0),Ze([Le],ud.prototype,"size",void 0),Ze([Le({converter:Te})],ud.prototype,"count",void 0),Ze([Le({attribute:"overflow-count",converter:Te})],ud.prototype,"overflowCount",void 0),Ze([Le({attribute:"show-zero",mode:"boolean"})],ud.prototype,"showZero",void 0),Ze([Le({mode:"boolean"})],ud.prototype,"dot",void 0),st(ud,et);const pd={filled:"filled",ghost:"ghost"},gd={brand:"brand",danger:"danger",important:"important",informative:"informative",severe:"severe",subtle:"subtle",success:"success",warning:"warning"},bd={circular:"circular",rounded:"rounded"},vd={tiny:"tiny",extraSmall:"extra-small",small:"small",medium:"medium",large:"large",extraLarge:"extra-large"};const md=Yc({defaultContent:xe`${e=>e.setCount()}`}),fd=j`
|
|
261
|
+
:host([shape='rounded']){border-radius:${po}}:host([shape='rounded'][size='tiny']),:host([shape='rounded'][size='extra-small']),:host([shape='rounded'][size='small']){border-radius:${uo}}${Zc}
|
|
262
|
+
${Jc}
|
|
263
|
+
${ed}
|
|
264
|
+
${Qc}
|
|
265
|
+
|
|
266
|
+
:host([dot]),:host([dot][appearance][size]){min-width:auto;width:6px;height:6px;padding:0}`,yd=ud.compose({name:io.prefix+"-counter-badge",template:md,styles:fd});class kd extends Et{}Ze([Le({attribute:"align-content"})],kd.prototype,"alignContent",void 0),Ze([Le],kd.prototype,"appearance",void 0),Ze([Le({mode:"boolean"})],kd.prototype,"inset",void 0);const xd={center:"center",start:"start",end:"end"},$d={strong:"strong",brand:"brand",subtle:"subtle",default:"default"},Bd=xe`<template role="${e=>e.role}" aria-orientation="${e=>e.orientation}"><slot></slot></template>`,wd=j`
|
|
267
|
+
${Jt("flex")}
|
|
268
|
+
|
|
269
|
+
:host{contain:content}:host::after,:host::before{align-self:center;background:${Ga};box-sizing:border-box;content:'';display:flex;flex-grow:1;height:${Go}}:host([inset]){padding:0 12px}:host ::slotted(*){color:${Mr};font-family:${Oo};font-size:${fo};font-weight:${Eo};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:${Go};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:${Ea}}:host([appearance='strong']) ::slotted(*){color:${Tr}}:host([appearance='brand'])::before,:host([appearance='brand'])::after{background:${Qa}}:host([appearance='brand']) ::slotted(*){color:${di}}:host([appearance='subtle'])::before,:host([appearance='subtle'])::after{background:${qa}}:host([appearance='subtle']) ::slotted(*){color:${jr}}`,Pd=kd.compose({name:io.prefix+"-divider",template:Bd,styles:wd});class Sd extends Ke{}Ze([Le({mode:"boolean"})],Sd.prototype,"block",void 0),Ze([Le({mode:"boolean"})],Sd.prototype,"bordered",void 0),Ze([Le({mode:"boolean"})],Sd.prototype,"shadow",void 0),Ze([Le],Sd.prototype,"fit",void 0),Ze([Le],Sd.prototype,"shape",void 0);const Cd={none:"none",center:"center",contain:"contain",cover:"cover",default:"default"},Fd={circular:"circular",rounded:"rounded",square:"square"},Nd=xe`<slot></slot>`,zd=j`
|
|
270
|
+
: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:${Go} solid ${Ga}}: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:${sc}}:host([shape='circular']) ::slotted(img){border-radius:${vo}}`,Ad=Sd.compose({name:io.prefix+"-image",template:Nd,styles:zd});class Td extends jt{constructor(){super(...arguments),this.validationState=null}}Ze([Le],Td.prototype,"thickness",void 0),Ze([Le],Td.prototype,"shape",void 0),Ze([Le({attribute:"validation-state"})],Td.prototype,"validationState",void 0);const Id={medium:"medium",large:"large"},Ld={rounded:"rounded",square:"square"},Dd={success:"success",warning:"warning",error:"error"},Md=j`
|
|
271
|
+
${Jt("flex")}
|
|
272
|
+
|
|
273
|
+
:host{align-items:center;height:2px;overflow-x:hidden;border-radius:${po};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:${kn}}:host([validation-state='error']) .indeterminate-indicator-1,:host([validation-state='error']) .indeterminate-indicator-2{background:linear-gradient(
|
|
274
|
+
to right,${yn} 0%,${kn} 50%,${yn}
|
|
275
|
+
)}:host([validation-state='warning']) .determinate{background-color:${Hn}}:host([validation-state='warning']) .indeterminate-indicator-1,:host([validation-state='warning']) .indeterminate-indicator-2{background:linear-gradient(
|
|
276
|
+
to right,${On} 0%,${Hn} 50%,${On}
|
|
277
|
+
)}:host([validation-state='success']) .determinate{background-color:${Nn}}:host([validation-state='success']) .indeterminate-indicator-1,:host([validation-state='success']) .indeterminate-indicator-2{background:linear-gradient(
|
|
278
|
+
to right,${Fn} 0%,${Nn} 50%,${Fn}
|
|
279
|
+
)}.progress{background-color:${Qi};border-radius:${po};width:100%;height:2px;display:flex;align-items:center;position:relative}.determinate{background-color:${Ca};border-radius:${po};height:2px;transition:all 0.2s ease-in-out;display:flex}.indeterminate-indicator-1{position:absolute;opacity:0;height:100%;background:linear-gradient(
|
|
280
|
+
to right,${Aa} 0%,${Ca} 50%,${Aa}
|
|
281
|
+
);border-radius:${po};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(
|
|
282
|
+
to right,${Aa} 0%,${Ca} 50%,${Aa}
|
|
283
|
+
);border-radius:${po};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}}`,Od=function(e={}){return xe`<template role="progressbar" aria-valuenow="${e=>e.value}" aria-valuemin="${e=>e.min}" aria-valuemax="${e=>e.max}">${we(e=>"number"==typeof e.value,xe`<div class="progress" part="progress" slot="determinate"><div class="determinate" part="determinate" style="width: ${e=>e.percentComplete}%"></div></div>`)} ${we(e=>"number"!=typeof e.value,xe`<div class="progress" part="progress" slot="indeterminate"><slot name="indeterminate">${Qe(e.indeterminateIndicator1)} ${Qe(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>'}),Hd=Td.compose({name:io.prefix+"-progress-bar",template:Od,styles:Md});class Vd extends Ut{handleChange(e,t){switch(t){case"min":case"max":case"step":this.handleStepStyles()}}connectedCallback(){super.connectedCallback(),w.getNotifier(this).subscribe(this,"max"),w.getNotifier(this).subscribe(this,"min"),w.getNotifier(this).subscribe(this,"step"),this.handleStepStyles()}disconnectedCallback(){super.disconnectedCallback(),w.getNotifier(this).unsubscribe(this,"max"),w.getNotifier(this).unsubscribe(this,"min"),w.getNotifier(this).unsubscribe(this,"step")}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`
|
|
284
|
+
:host{--step-rate:${e}%;color:blue}`,this.$fastController.addStyles(this.stepStyles)}else void 0!==this.stepStyles&&this.$fastController.removeStyles(this.stepStyles)}}Ze([Le],Vd.prototype,"size",void 0);const Ed={small:"small",medium:"medium"},Rd=j`
|
|
285
|
+
${Jt("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:${uo};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 ${cn};outline:1px solid ${ln}}.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:${Ba};border-radius:${vo};box-shadow:inset 0 0 0 var(--thumb-padding) ${Ai},0 0 0 1px ${Ea}}.thumb-cursor:hover{background-color:${Fa}}.thumb-cursor:active{background-color:${Na}}:host([disabled]) .thumb-cursor{background-color:${Qr};box-shadow:inset 0 0 0 var(--thumb-padding) ${Ai},0 0 0 1px ${on}}.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:${Ma};border-radius:${po};overflow:hidden}:host([step]) .track::after{content:'';position:absolute;border-radius:${po};width:100%;inset:0 2px;background-image:repeating-linear-gradient(
|
|
286
|
+
var(--slider-direction),#0000 0%,#0000 calc(var(--step-rate) - 1px),${Ai} calc(var(--step-rate) - 1px),${Ai} var(--step-rate)
|
|
287
|
+
)}:host([orientation='vertical'][step]) .track::after{inset:-2px 0}:host([disabled]) .track{background-color:${ba}}: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:${Ca};position:absolute;height:100%;left:0;border-radius:${po}}:host([disabled]) .track-start{background-color:${Qr}}:host(:hover) .track-start{background-color:${Fa}}:host([disabled]:hover) .track-start{background-color:${Qr}}.track-start:active{background-color:${Na}}:host([orientation='vertical']) .track-start{height:auto;width:100%;bottom:0}`,_d=function(e={}){return xe`<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 ${Be("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 ${Be("thumb")} part="thumb-container" class="thumb-container" style="${e=>e.position}"><slot name="thumb">${Qe(e.thumb)}</slot></div></div></template>`}({thumb:'<div class="thumb-cursor" tabindex="0"></div>'}),jd=Vd.compose({name:io.prefix+"-slider",template:_d,styles:Rd});class Gd extends _t{}Ze([Le],Gd.prototype,"size",void 0),Ze([Le],Gd.prototype,"appearance",void 0);const qd={primary:"primary",inverted:"inverted"},Xd={tiny:"tiny",extraSmall:"extra-small",small:"small",medium:"medium",large:"large",extraLarge:"extra-large",huge:"huge"},Wd=function(e={}){return xe`<template role="progressbar" aria-valuenow="${e=>e.value}" aria-valuemin="${e=>e.min}" aria-valuemax="${e=>e.max}">${we(e=>"number"==typeof e.value,xe`<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>`)} ${we(e=>"number"!=typeof e.value,xe`<slot name="indeterminate">${Qe(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 '}),Yd=j`
|
|
288
|
+
${Jt("flex")}
|
|
289
|
+
|
|
290
|
+
: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:${Za};stroke-width:1.5px}:host([appearance='inverted']) .background{stroke:rgba(255,255,255,0.2)}.determinate{stroke:${Qa};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:${Wa}}.indeterminate-indicator-1{stroke:${Qa};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:${Wa}}@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)}}`,Ud=Gd.compose({name:io.prefix+"-spinner",template:Wd,styles:Yd});class Kd extends Zt{}Ze([Le({attribute:"label-position"})],Kd.prototype,"labelPosition",void 0);const Qd={above:"above",after:"after",before:"before"},Zd=function(e={}){return xe`<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 ${Fe("defaultSlottedNodes")}></slot></label><div part="switch" class="switch"><slot name="switch">${Qe(e.switch)}</slot></div></template>`}({switch:'<span class="checked-indicator" part="checked-indicator"></span>'}),Jd=j`
|
|
291
|
+
${Jt("inline-flex")}
|
|
292
|
+
|
|
293
|
+
: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:${Tr};line-height:${No};font-size:${yo};font-weight:${Eo};font-family:${Oo};padding:${sr} ${Ko};cursor:pointer}.label__hidden{display:none}.switch{display:flex;align-items:center;padding:0 ${Uo};box-sizing:border-box;width:40px;height:20px;background-color:${ha};border:1px solid ${Ma};border-radius:${vo};outline:none;cursor:pointer;margin:${cr} ${Zo}}:host(:hover) .switch{background:none;border-color:${Oa}}:host(:active) .switch{border-color:${Ha}}:host([disabled]) .switch,:host([readonly]) .switch{border:1px solid ${on};background-color:none;pointer:default}:host([aria-checked='true']) .switch{background:${Ca}}:host([aria-checked='true']:hover) .switch{background:${Fa};border-color:${Fa}}:host([aria-checked='true']:active) .switch{background:${Na};border-color:${Na}}:host([aria-checked='true'][disabled]) .switch{background:${ba};border-color:${on}}.checked-indicator{height:14px;width:14px;border-radius:50%;background-color:${jr};transition-duration:${yr};transition-timing-function:${zr};transition-property:transform}:host([aria-checked='true']) .checked-indicator{background-color:${gi};transform:translateX(20px)}:host([aria-checked='true']:hover) .checked-indicator{background:${bi}}:host([aria-checked='true']:active) .checked-indicator{background:${vi}}:host(:hover) .checked-indicator{background-color:${Gr}}:host(:active) .checked-indicator{background-color:${qr}}:host([disabled]) .checked-indicator,:host([readonly]) .checked-indicator{background:${Qr}}:host([aria-checked='true'][disabled]) .checked-indicator{background:${Qr}}`,eh=Kd.compose({name:io.prefix+"-switch",template:Zd,styles:Jd});class th extends Ke{constructor(){super(...arguments),this.nowrap=!1,this.truncate=!1,this.italic=!1,this.underline=!1,this.strikethrough=!1,this.block=!1}}Ze([Le({mode:"boolean"})],th.prototype,"nowrap",void 0),Ze([Le({mode:"boolean"})],th.prototype,"truncate",void 0),Ze([Le({mode:"boolean"})],th.prototype,"italic",void 0),Ze([Le({mode:"boolean"})],th.prototype,"underline",void 0),Ze([Le({mode:"boolean"})],th.prototype,"strikethrough",void 0),Ze([Le({mode:"boolean"})],th.prototype,"block",void 0),Ze([Le],th.prototype,"size",void 0),Ze([Le],th.prototype,"font",void 0),Ze([Le],th.prototype,"weight",void 0),Ze([Le],th.prototype,"align",void 0);const oh={_100:"100",_200:"200",_300:"300",_400:"400",_500:"500",_600:"600",_700:"700",_800:"800",_900:"900",_1000:"1000"},rh={base:"base",numeric:"numeric",monospace:"monospace"},ih={medium:"medium",regular:"regular",semibold:"semibold",bold:"bold"},ah={start:"start",end:"end",center:"center",justify:"justify"},nh=xe`<slot></slot>`,sh=j`
|
|
294
|
+
${Jt("inline")}
|
|
295
|
+
|
|
296
|
+
:host{contain:content}::slotted(*){font-family:${Oo};font-size:${yo};line-height:${No};font-weight:${Eo};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:${mo};line-height:${Co}}:host([size='200']) ::slotted(*){font-size:${fo};line-height:${Fo}}:host([size='400']) ::slotted(*){font-size:${ko};line-height:${zo}}:host([size='500']) ::slotted(*){font-size:${xo};line-height:${Ao}}:host([size='600']) ::slotted(*){font-size:${$o};line-height:${To}}:host([size='700']) ::slotted(*){font-size:${Bo};line-height:${Io}}:host([size='800']) ::slotted(*){font-size:${wo};line-height:${Lo}}:host([size='900']) ::slotted(*){font-size:${Po};line-height:${Do}}:host([size='1000']) ::slotted(*){font-size:${So};line-height:${Mo}}:host([font='monospace']) ::slotted(*){font-family:${Ho}}:host([font='numeric']) ::slotted(*){font-family:${Vo}}:host([weight='medium']) ::slotted(*){font-weight:${Ro}}:host([weight='semibold']) ::slotted(*){font-weight:${_o}}:host([weight='bold']) ::slotted(*){font-weight:${jo}}:host([align='center']) ::slotted(*){text-align:center}:host([align='end']) ::slotted(*){text-align:end}:host([align='justify']) ::slotted(*){text-align:justify}`,lh=th.compose({name:io.prefix+"-text",template:nh,styles:sh}),ch=Object.keys(fc),dh=e=>{for(const t of ch)fc[t].withDefault(e[t])};export{eo as Accordion,no as AccordionItem,lo as AccordionItemExpandIconPosition,so as AccordionItemSize,Lc as Avatar,Fc as AvatarActive,zc as AvatarAppearance,Tc as AvatarColor,_c as AvatarDefinition,Ac as AvatarNamedColor,Nc as AvatarShape,Ic as AvatarSize,Rc as AvatarStyles,Oc as AvatarTemplate,Wc as Badge,jc as BadgeAppearance,Gc as BadgeColor,id as BadgeDefinition,qc as BadgeShape,Xc as BadgeSize,rd as BadgeStyles,Uc as BadgeTemplate,ad as Button,nd as ButtonAppearance,hd as ButtonDefinition,sd as ButtonShape,ld as ButtonSize,dd as ButtonStyles,cd as ButtonTemplate,ud as CounterBadge,pd as CounterBadgeAppearance,gd as CounterBadgeColor,yd as CounterBadgeDefinition,bd as CounterBadgeShape,vd as CounterBadgeSize,fd as CounterBadgeStyles,md as CounterBadgeTemplate,kd as Divider,xd as DividerAlignContent,$d as DividerAppearance,Pd as DividerDefinition,Vt as DividerOrientation,Ht as DividerRole,wd as DividerStyles,Bd as DividerTemplate,Sd as Image,Ad as ImageDefinition,Cd as ImageFit,Fd as ImageShape,zd as ImageStyles,Nd as ImageTemplate,Td as ProgressBar,Hd as ProgressBarDefinition,Ld as ProgressBarShape,Md as ProgressBarStyles,Od as ProgressBarTemplate,Id as ProgressBarThickness,Dd as ProgressBarValidationState,Vd as Slider,jd as SliderDefinition,Gt as SliderOrientation,Ed as SliderSize,Rd as SliderStyles,_d as SliderTemplate,Gd as Spinner,qd as SpinnerAppearance,Ud as SpinnerDefinition,Xd as SpinnerSize,Yd as SpinnerStyles,Wd as SpinnerTemplate,Kd as Switch,Qd as SwitchLabelPosition,th as Text,ah as TextAlign,lh as TextDefinition,rh as TextFont,oh as TextSize,sh as TextStyles,nh as TextTemplate,ih as TextWeight,ao as accordionDefinition,xc as accordionItemDefinition,yc as accordionItemStyles,kc as accordionItemTemplate,ro as accordionStyles,to as accordionTemplate,vo as borderRadiusCircular,go as borderRadiusLarge,po as borderRadiusMedium,ho as borderRadiusNone,uo as borderRadiusSmall,bo as borderRadiusXLarge,xa as colorBackgroundOverlay,Ba as colorBrandBackground,Aa as colorBrandBackground2,wa as colorBrandBackgroundHover,Ta as colorBrandBackgroundInverted,Ia as colorBrandBackgroundInvertedHover,La as colorBrandBackgroundInvertedPressed,Da as colorBrandBackgroundInvertedSelected,Pa as colorBrandBackgroundPressed,Sa as colorBrandBackgroundSelected,za as colorBrandBackgroundStatic,di as colorBrandForeground1,hi as colorBrandForeground2,wi as colorBrandForegroundInverted,Pi as colorBrandForegroundInvertedHover,Si as colorBrandForegroundInvertedPressed,Jr as colorBrandForegroundLink,ei as colorBrandForegroundLinkHover,ti as colorBrandForegroundLinkPressed,oi as colorBrandForegroundLinkSelected,Ci as colorBrandForegroundOnLight,Fi as colorBrandForegroundOnLightHover,Ni as colorBrandForegroundOnLightPressed,zi as colorBrandForegroundOnLightSelected,vn as colorBrandShadowAmbient,mn as colorBrandShadowKey,Qa as colorBrandStroke1,Za as colorBrandStroke2,Ca as colorCompoundBrandBackground,Fa as colorCompoundBrandBackgroundHover,Na as colorCompoundBrandBackgroundPressed,si as colorCompoundBrandForeground1,li as colorCompoundBrandForeground1Hover,ci as colorCompoundBrandForeground1Pressed,Ja as colorCompoundBrandStroke,en as colorCompoundBrandStrokeHover,tn as colorCompoundBrandStrokePressed,Ai as colorNeutralBackground1,Ti as colorNeutralBackground1Hover,Ii as colorNeutralBackground1Pressed,Li as colorNeutralBackground1Selected,Di as colorNeutralBackground2,Mi as colorNeutralBackground2Hover,Oi as colorNeutralBackground2Pressed,Hi as colorNeutralBackground2Selected,Vi as colorNeutralBackground3,Ei as colorNeutralBackground3Hover,Ri as colorNeutralBackground3Pressed,_i as colorNeutralBackground3Selected,ji as colorNeutralBackground4,Gi as colorNeutralBackground4Hover,qi as colorNeutralBackground4Pressed,Xi as colorNeutralBackground4Selected,Wi as colorNeutralBackground5,Yi as colorNeutralBackground5Hover,Ui as colorNeutralBackground5Pressed,Ki as colorNeutralBackground5Selected,Qi as colorNeutralBackground6,ba as colorNeutralBackgroundDisabled,Zi as colorNeutralBackgroundInverted,va as colorNeutralBackgroundInvertedDisabled,Ji as colorNeutralBackgroundStatic,Tr as colorNeutralForeground1,Ir as colorNeutralForeground1Hover,Lr as colorNeutralForeground1Pressed,Dr as colorNeutralForeground1Selected,ui as colorNeutralForeground1Static,Mr as colorNeutralForeground2,Er as colorNeutralForeground2BrandHover,Rr as colorNeutralForeground2BrandPressed,_r as colorNeutralForeground2BrandSelected,Or as colorNeutralForeground2Hover,ri as colorNeutralForeground2Link,ii as colorNeutralForeground2LinkHover,ai as colorNeutralForeground2LinkPressed,ni as colorNeutralForeground2LinkSelected,Hr as colorNeutralForeground2Pressed,Vr as colorNeutralForeground2Selected,jr as colorNeutralForeground3,Wr as colorNeutralForeground3BrandHover,Yr as colorNeutralForeground3BrandPressed,Ur as colorNeutralForeground3BrandSelected,Gr as colorNeutralForeground3Hover,qr as colorNeutralForeground3Pressed,Xr as colorNeutralForeground3Selected,Kr as colorNeutralForeground4,Qr as colorNeutralForegroundDisabled,gi as colorNeutralForegroundInverted,fi as colorNeutralForegroundInverted2,Zr as colorNeutralForegroundInvertedDisabled,bi as colorNeutralForegroundInvertedHover,ki as colorNeutralForegroundInvertedLink,xi as colorNeutralForegroundInvertedLinkHover,$i as colorNeutralForegroundInvertedLinkPressed,Bi as colorNeutralForegroundInvertedLinkSelected,vi as colorNeutralForegroundInvertedPressed,mi as colorNeutralForegroundInvertedSelected,yi as colorNeutralForegroundOnBrand,pi as colorNeutralForegroundStaticInverted,dn as colorNeutralShadowAmbient,gn as colorNeutralShadowAmbientDarker,un as colorNeutralShadowAmbientLighter,hn as colorNeutralShadowKey,bn as colorNeutralShadowKeyDarker,pn as colorNeutralShadowKeyLighter,ma as colorNeutralStencil1,ya as colorNeutralStencil1Alpha,fa as colorNeutralStencil2,ka as colorNeutralStencil2Alpha,Ea as colorNeutralStroke1,Ra as colorNeutralStroke1Hover,_a as colorNeutralStroke1Pressed,ja as colorNeutralStroke1Selected,Ga as colorNeutralStroke2,qa as colorNeutralStroke3,Ma as colorNeutralStrokeAccessible,Oa as colorNeutralStrokeAccessibleHover,Ha as colorNeutralStrokeAccessiblePressed,Va as colorNeutralStrokeAccessibleSelected,on as colorNeutralStrokeDisabled,rn as colorNeutralStrokeInvertedDisabled,Xa as colorNeutralStrokeOnBrand,Wa as colorNeutralStrokeOnBrand2,Ya as colorNeutralStrokeOnBrand2Hover,Ua as colorNeutralStrokeOnBrand2Pressed,Ka as colorNeutralStrokeOnBrand2Selected,ec as colorPaletteAnchorBackground2,oc as colorPaletteAnchorBorderActive,tc as colorPaletteAnchorForeground2,ql as colorPaletteBeigeBackground2,Wl as colorPaletteBeigeBorderActive,Xl as colorPaletteBeigeForeground2,es as colorPaletteBerryBackground1,ts as colorPaletteBerryBackground2,os as colorPaletteBerryBackground3,ss as colorPaletteBerryBorder1,ls as colorPaletteBerryBorder2,ns as colorPaletteBerryBorderActive,rs as colorPaletteBerryForeground1,is as colorPaletteBerryForeground2,as as colorPaletteBerryForeground3,ul as colorPaletteBlueBackground2,gl as colorPaletteBlueBorderActive,pl as colorPaletteBlueForeground2,_s as colorPaletteBrassBackground2,Gs as colorPaletteBrassBorderActive,js as colorPaletteBrassForeground2,qs as colorPaletteBrownBackground2,Ws as colorPaletteBrownBorderActive,Xs as colorPaletteBrownForeground2,fl as colorPaletteCornflowerBackground2,kl as colorPaletteCornflowerBorderActive,yl as colorPaletteCornflowerForeground2,zs as colorPaletteCranberryBackground2,Ts as colorPaletteCranberryBorderActive,As as colorPaletteCranberryForeground2,el as colorPaletteDarkGreenBackground2,ol as colorPaletteDarkGreenBorderActive,tl as colorPaletteDarkGreenForeground2,Mn as colorPaletteDarkOrangeBackground1,On as colorPaletteDarkOrangeBackground2,Hn as colorPaletteDarkOrangeBackground3,jn as colorPaletteDarkOrangeBorder1,Gn as colorPaletteDarkOrangeBorder2,_n as colorPaletteDarkOrangeBorderActive,Vn as colorPaletteDarkOrangeForeground1,En as colorPaletteDarkOrangeForeground2,Rn as colorPaletteDarkOrangeForeground3,Cs as colorPaletteDarkRedBackground2,Ns as colorPaletteDarkRedBorderActive,Fs as colorPaletteDarkRedForeground2,Ys as colorPaletteForestBackground2,Ks as colorPaletteForestBorderActive,Us as colorPaletteForestForeground2,Vs as colorPaletteGoldBackground2,Rs as colorPaletteGoldBorderActive,Es as colorPaletteGoldForeground2,zl as colorPaletteGrapeBackground2,Tl as colorPaletteGrapeBorderActive,Al as colorPaletteGrapeForeground2,Cn as colorPaletteGreenBackground1,Fn as colorPaletteGreenBackground2,Nn as colorPaletteGreenBackground3,Ln as colorPaletteGreenBorder1,Dn as colorPaletteGreenBorder2,In as colorPaletteGreenBorderActive,zn as colorPaletteGreenForeground1,An as colorPaletteGreenForeground2,Tn as colorPaletteGreenForeground3,ic as colorPaletteGreenForegroundInverted,wl as colorPaletteLavenderBackground2,Sl as colorPaletteLavenderBorderActive,Pl as colorPaletteLavenderForeground2,cs as colorPaletteLightGreenBackground1,ds as colorPaletteLightGreenBackground2,hs as colorPaletteLightGreenBackground3,vs as colorPaletteLightGreenBorder1,ms as colorPaletteLightGreenBorder2,bs as colorPaletteLightGreenBorderActive,us as colorPaletteLightGreenForeground1,ps as colorPaletteLightGreenForeground2,gs as colorPaletteLightGreenForeground3,rl as colorPaletteLightTealBackground2,al as colorPaletteLightTealBorderActive,il as colorPaletteLightTealForeground2,Il as colorPaletteLilacBackground2,Dl as colorPaletteLilacBorderActive,Ll as colorPaletteLilacForeground2,Vl as colorPaletteMagentaBackground2,Rl as colorPaletteMagentaBorderActive,El as colorPaletteMagentaForeground2,fs as colorPaletteMarigoldBackground1,ys as colorPaletteMarigoldBackground2,ks as colorPaletteMarigoldBackground3,Ps as colorPaletteMarigoldBorder1,Ss as colorPaletteMarigoldBorder2,ws as colorPaletteMarigoldBorderActive,xs as colorPaletteMarigoldForeground1,$s as colorPaletteMarigoldForeground2,Bs as colorPaletteMarigoldForeground3,Yl as colorPaletteMinkBackground2,Kl as colorPaletteMinkBorderActive,Ul as colorPaletteMinkForeground2,xl as colorPaletteNavyBackground2,Bl as colorPaletteNavyBorderActive,$l as colorPaletteNavyForeground2,Ms as colorPalettePeachBackground2,Hs as colorPalettePeachBorderActive,Os as colorPalettePeachForeground2,Ml as colorPalettePinkBackground2,Hl as colorPalettePinkBorderActive,Ol as colorPalettePinkForeground2,Ql as colorPalettePlatinumBackground2,Jl as colorPalettePlatinumBorderActive,Zl as colorPalettePlatinumForeground2,_l as colorPalettePlumBackground2,Gl as colorPalettePlumBorderActive,jl as colorPalettePlumForeground2,Is as colorPalettePumpkinBackground2,Ds as colorPalettePumpkinBorderActive,Ls as colorPalettePumpkinForeground2,Cl as colorPalettePurpleBackground2,Nl as colorPalettePurpleBorderActive,Fl as colorPalettePurpleForeground2,fn as colorPaletteRedBackground1,yn as colorPaletteRedBackground2,kn as colorPaletteRedBackground3,Pn as colorPaletteRedBorder1,Sn as colorPaletteRedBorder2,wn as colorPaletteRedBorderActive,xn as colorPaletteRedForeground1,$n as colorPaletteRedForeground2,Bn as colorPaletteRedForeground3,rc as colorPaletteRedForegroundInverted,bl as colorPaletteRoyalBlueBackground2,ml as colorPaletteRoyalBlueBorderActive,vl as colorPaletteRoyalBlueForeground2,Qs as colorPaletteSeafoamBackground2,Js as colorPaletteSeafoamBorderActive,Zs as colorPaletteSeafoamForeground2,cl as colorPaletteSteelBackground2,hl as colorPaletteSteelBorderActive,dl as colorPaletteSteelForeground2,nl as colorPaletteTealBackground2,ll as colorPaletteTealBorderActive,sl as colorPaletteTealForeground2,qn as colorPaletteYellowBackground1,Xn as colorPaletteYellowBackground2,Wn as colorPaletteYellowBackground3,Zn as colorPaletteYellowBorder1,Jn as colorPaletteYellowBorder2,Qn as colorPaletteYellowBorderActive,Yn as colorPaletteYellowForeground1,Un as colorPaletteYellowForeground2,Kn as colorPaletteYellowForeground3,ac as colorPaletteYellowForegroundInverted,$a as colorScrollbarOverlay,ln as colorStrokeFocus1,cn as colorStrokeFocus2,ea as colorSubtleBackground,ta as colorSubtleBackgroundHover,sa as colorSubtleBackgroundInverted,la as colorSubtleBackgroundInvertedHover,ca as colorSubtleBackgroundInvertedPressed,da as colorSubtleBackgroundInvertedSelected,ia as colorSubtleBackgroundLightAlphaHover,aa as colorSubtleBackgroundLightAlphaPressed,na as colorSubtleBackgroundLightAlphaSelected,oa as colorSubtleBackgroundPressed,ra as colorSubtleBackgroundSelected,ha as colorTransparentBackground,ua as colorTransparentBackgroundHover,pa as colorTransparentBackgroundPressed,ga as colorTransparentBackgroundSelected,an as colorTransparentStroke,sn as colorTransparentStrokeDisabled,nn as colorTransparentStrokeInteractive,Br as curveAccelerateMax,wr as curveAccelerateMid,Pr as curveAccelerateMin,Sr as curveDecelerateMax,Cr as curveDecelerateMid,Fr as curveDecelerateMin,zr as curveEasyEase,Nr as curveEasyEaseMax,Ar as curveLinear,eh as definition,fr as durationFast,mr as durationFaster,yr as durationNormal,kr as durationSlow,xr as durationSlower,vr as durationUltraFast,$r as durationUltraSlow,Oo as fontFamilyBase,Ho as fontFamilyMonospace,Vo as fontFamilyNumeric,mo as fontSizeBase100,fo as fontSizeBase200,yo as fontSizeBase300,ko as fontSizeBase400,xo as fontSizeBase500,$o as fontSizeBase600,So as fontSizeHero1000,Bo as fontSizeHero700,wo as fontSizeHero800,Po as fontSizeHero900,jo as fontWeightBold,Ro as fontWeightMedium,Eo as fontWeightRegular,_o as fontWeightSemibold,Co as lineHeightBase100,Fo as lineHeightBase200,No as lineHeightBase300,zo as lineHeightBase400,Ao as lineHeightBase500,To as lineHeightBase600,Mo as lineHeightHero1000,Io as lineHeightHero700,Lo as lineHeightHero800,Do as lineHeightHero900,dh as setTheme,cc as shadow16,bc as shadow16Brand,nc as shadow2,dc as shadow28,vc as shadow28Brand,uc as shadow2Brand,sc as shadow4,pc as shadow4Brand,hc as shadow64,mc as shadow64Brand,lc as shadow8,gc as shadow8Brand,tr as spacingHorizontalL,er as spacingHorizontalM,Jo as spacingHorizontalMNudge,Yo as spacingHorizontalNone,Zo as spacingHorizontalS,Qo as spacingHorizontalSNudge,or as spacingHorizontalXL,Ko as spacingHorizontalXS,rr as spacingHorizontalXXL,Uo as spacingHorizontalXXS,ir as spacingHorizontalXXXL,ur as spacingVerticalL,hr as spacingVerticalM,dr as spacingVerticalMNudge,ar as spacingVerticalNone,cr as spacingVerticalS,lr as spacingVerticalSNudge,pr as spacingVerticalXL,sr as spacingVerticalXS,gr as spacingVerticalXXL,nr as spacingVerticalXXS,br as spacingVerticalXXXL,qo as strokeWidthThick,Xo as strokeWidthThicker,Wo as strokeWidthThickest,Go as strokeWidthThin,Jd as switchStyles,Zd as switchTemplate};
|