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