@govtechsg/sgds-web-component 3.26.1 → 3.27.0-rc.0
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/base/dropdown-list-element.js +9 -2
- package/base/dropdown-list-element.js.map +1 -1
- package/base/nav-element.d.ts +64 -0
- package/base/nav-element.js +263 -0
- package/base/nav-element.js.map +1 -0
- package/base/nav-profile-element.d.ts +47 -0
- package/base/nav-profile-element.js +191 -0
- package/base/nav-profile-element.js.map +1 -0
- package/base/nav-profile.js +6 -0
- package/base/nav-profile.js.map +1 -0
- package/components/Appnav/appnav-context.d.ts +6 -0
- package/components/Appnav/appnav-context.js +7 -0
- package/components/Appnav/appnav-context.js.map +1 -0
- package/components/Appnav/appnav.js +6 -0
- package/components/Appnav/appnav.js.map +1 -0
- package/components/Appnav/index.d.ts +9 -0
- package/components/Appnav/index.js +8 -0
- package/components/Appnav/index.js.map +1 -0
- package/components/Appnav/index.umd.min.js +2542 -0
- package/components/Appnav/index.umd.min.js.map +1 -0
- package/components/Appnav/sgds-appnav-profile.d.ts +17 -0
- package/components/Appnav/sgds-appnav-profile.js +31 -0
- package/components/Appnav/sgds-appnav-profile.js.map +1 -0
- package/components/Appnav/sgds-appnav.d.ts +44 -0
- package/components/Appnav/sgds-appnav.js +183 -0
- package/components/Appnav/sgds-appnav.js.map +1 -0
- package/components/Breadcrumb/index.umd.min.js +25 -25
- package/components/Breadcrumb/index.umd.min.js.map +1 -1
- package/components/Checkbox/index.umd.min.js +233 -233
- package/components/Checkbox/index.umd.min.js.map +1 -1
- package/components/Checkbox/sgds-checkbox.d.ts +1 -0
- package/components/Checkbox/sgds-checkbox.js +6 -1
- package/components/Checkbox/sgds-checkbox.js.map +1 -1
- package/components/ComboBox/index.umd.min.js +254 -254
- package/components/ComboBox/index.umd.min.js.map +1 -1
- package/components/DataTable/data-table.js +6 -0
- package/components/DataTable/data-table.js.map +1 -0
- package/components/DataTable/index.d.ts +12 -0
- package/components/DataTable/index.js +11 -0
- package/components/DataTable/index.js.map +1 -0
- package/components/DataTable/index.umd.min.js +2634 -0
- package/components/DataTable/index.umd.min.js.map +1 -0
- package/components/DataTable/sgds-data-table-cell.d.ts +15 -0
- package/components/DataTable/sgds-data-table-cell.js +32 -0
- package/components/DataTable/sgds-data-table-cell.js.map +1 -0
- package/components/DataTable/sgds-data-table-head.d.ts +28 -0
- package/components/DataTable/sgds-data-table-head.js +69 -0
- package/components/DataTable/sgds-data-table-head.js.map +1 -0
- package/components/DataTable/sgds-data-table-row.d.ts +76 -0
- package/components/DataTable/sgds-data-table-row.js +333 -0
- package/components/DataTable/sgds-data-table-row.js.map +1 -0
- package/components/DataTable/sgds-data-table.d.ts +82 -0
- package/components/DataTable/sgds-data-table.js +405 -0
- package/components/DataTable/sgds-data-table.js.map +1 -0
- package/components/Datepicker/index.umd.min.js +86 -86
- package/components/Datepicker/index.umd.min.js.map +1 -1
- package/components/Dropdown/dropdown-item.js +1 -1
- package/components/Dropdown/index.umd.min.js +5 -5
- package/components/Dropdown/index.umd.min.js.map +1 -1
- package/components/Dropdown/sgds-dropdown-item.d.ts +2 -0
- package/components/Dropdown/sgds-dropdown-item.js +8 -2
- package/components/Dropdown/sgds-dropdown-item.js.map +1 -1
- package/components/Input/index.umd.min.js +2 -2
- package/components/Input/index.umd.min.js.map +1 -1
- package/components/Input/input.js +1 -1
- package/components/Mainnav/index.d.ts +2 -0
- package/components/Mainnav/index.js +2 -0
- package/components/Mainnav/index.js.map +1 -1
- package/components/Mainnav/index.umd.min.js +339 -286
- package/components/Mainnav/index.umd.min.js.map +1 -1
- package/components/Mainnav/mainnav-dropdown.js +1 -1
- package/components/Mainnav/mainnav-item.js +1 -1
- package/components/Mainnav/mainnav.js +1 -1
- package/components/Mainnav/sgds-mainnav-profile.d.ts +15 -0
- package/components/Mainnav/sgds-mainnav-profile.js +29 -0
- package/components/Mainnav/sgds-mainnav-profile.js.map +1 -0
- package/components/Mainnav/sgds-mainnav.d.ts +8 -51
- package/components/Mainnav/sgds-mainnav.js +40 -238
- package/components/Mainnav/sgds-mainnav.js.map +1 -1
- package/components/OverflowMenu/index.umd.min.js +25 -25
- package/components/OverflowMenu/index.umd.min.js.map +1 -1
- package/components/QuantityToggle/index.umd.min.js +1 -1
- package/components/QuantityToggle/index.umd.min.js.map +1 -1
- package/components/Select/index.umd.min.js +1 -1
- package/components/Select/index.umd.min.js.map +1 -1
- package/components/Tab/index.umd.min.js +1 -1
- package/components/Tab/index.umd.min.js.map +1 -1
- package/components/Tab/tab-panel.js +1 -1
- package/components/Textarea/index.umd.min.js +1 -1
- package/components/Textarea/index.umd.min.js.map +1 -1
- package/components/Textarea/textarea.js +1 -1
- package/components/index.d.ts +7 -0
- package/components/index.js +7 -0
- package/components/index.js.map +1 -1
- package/components/index.umd.min.js +812 -628
- package/components/index.umd.min.js.map +1 -1
- package/css/fouc.css +9 -2
- package/custom-elements.json +11501 -7967
- package/index.d.ts +2 -0
- package/index.js +2 -0
- package/index.js.map +1 -1
- package/index.umd.min.js +699 -510
- package/index.umd.min.js.map +1 -1
- package/package.json +1 -1
- package/react/appnav/index.cjs.js +45 -0
- package/react/appnav/index.cjs.js.map +1 -0
- package/react/appnav/index.d.ts +4 -0
- package/react/appnav/index.js +21 -0
- package/react/appnav/index.js.map +1 -0
- package/react/appnav-profile/index.cjs.js +40 -0
- package/react/appnav-profile/index.cjs.js.map +1 -0
- package/react/appnav-profile/index.d.ts +4 -0
- package/react/appnav-profile/index.js +16 -0
- package/react/appnav-profile/index.js.map +1 -0
- package/react/base/dropdown-list-element.cjs.js +9 -2
- package/react/base/dropdown-list-element.cjs.js.map +1 -1
- package/react/base/dropdown-list-element.js +9 -2
- package/react/base/dropdown-list-element.js.map +1 -1
- package/react/base/nav-element.cjs.js +268 -0
- package/react/base/nav-element.cjs.js.map +1 -0
- package/react/base/nav-element.js +264 -0
- package/react/base/nav-element.js.map +1 -0
- package/react/base/nav-profile-element.cjs.js +196 -0
- package/react/base/nav-profile-element.cjs.js.map +1 -0
- package/react/base/nav-profile-element.js +192 -0
- package/react/base/nav-profile-element.js.map +1 -0
- package/react/base/nav-profile.cjs.js +11 -0
- package/react/base/nav-profile.cjs.js.map +1 -0
- package/react/base/nav-profile.js +7 -0
- package/react/base/nav-profile.js.map +1 -0
- package/react/components/Appnav/appnav-context.cjs.js +13 -0
- package/react/components/Appnav/appnav-context.cjs.js.map +1 -0
- package/react/components/Appnav/appnav-context.js +8 -0
- package/react/components/Appnav/appnav-context.js.map +1 -0
- package/react/components/Appnav/appnav.cjs.js +11 -0
- package/react/components/Appnav/appnav.cjs.js.map +1 -0
- package/react/components/Appnav/appnav.js +7 -0
- package/react/components/Appnav/appnav.js.map +1 -0
- package/react/components/Appnav/sgds-appnav-profile.cjs.js +37 -0
- package/react/components/Appnav/sgds-appnav-profile.cjs.js.map +1 -0
- package/react/components/Appnav/sgds-appnav-profile.js +32 -0
- package/react/components/Appnav/sgds-appnav-profile.js.map +1 -0
- package/react/components/Appnav/sgds-appnav.cjs.js +189 -0
- package/react/components/Appnav/sgds-appnav.cjs.js.map +1 -0
- package/react/components/Appnav/sgds-appnav.js +184 -0
- package/react/components/Appnav/sgds-appnav.js.map +1 -0
- package/react/components/Checkbox/sgds-checkbox.cjs.js +6 -1
- package/react/components/Checkbox/sgds-checkbox.cjs.js.map +1 -1
- package/react/components/Checkbox/sgds-checkbox.js +6 -1
- package/react/components/Checkbox/sgds-checkbox.js.map +1 -1
- package/react/components/DataTable/data-table.cjs.js +11 -0
- package/react/components/DataTable/data-table.cjs.js.map +1 -0
- package/react/components/DataTable/data-table.js +7 -0
- package/react/components/DataTable/data-table.js.map +1 -0
- package/react/components/DataTable/sgds-data-table-cell.cjs.js +38 -0
- package/react/components/DataTable/sgds-data-table-cell.cjs.js.map +1 -0
- package/react/components/DataTable/sgds-data-table-cell.js +33 -0
- package/react/components/DataTable/sgds-data-table-cell.js.map +1 -0
- package/react/components/DataTable/sgds-data-table-head.cjs.js +75 -0
- package/react/components/DataTable/sgds-data-table-head.cjs.js.map +1 -0
- package/react/components/DataTable/sgds-data-table-head.js +70 -0
- package/react/components/DataTable/sgds-data-table-head.js.map +1 -0
- package/react/components/DataTable/sgds-data-table-row.cjs.js +339 -0
- package/react/components/DataTable/sgds-data-table-row.cjs.js.map +1 -0
- package/react/components/DataTable/sgds-data-table-row.js +334 -0
- package/react/components/DataTable/sgds-data-table-row.js.map +1 -0
- package/react/components/DataTable/sgds-data-table.cjs.js +411 -0
- package/react/components/DataTable/sgds-data-table.cjs.js.map +1 -0
- package/react/components/DataTable/sgds-data-table.js +406 -0
- package/react/components/DataTable/sgds-data-table.js.map +1 -0
- package/react/components/Dropdown/dropdown-item.cjs.js +1 -1
- package/react/components/Dropdown/dropdown-item.js +1 -1
- package/react/components/Dropdown/sgds-dropdown-item.cjs.js +8 -2
- package/react/components/Dropdown/sgds-dropdown-item.cjs.js.map +1 -1
- package/react/components/Dropdown/sgds-dropdown-item.js +8 -2
- package/react/components/Dropdown/sgds-dropdown-item.js.map +1 -1
- package/react/components/Input/input.cjs.js +1 -1
- package/react/components/Input/input.js +1 -1
- package/react/components/Mainnav/mainnav-dropdown.cjs.js +1 -1
- package/react/components/Mainnav/mainnav-dropdown.js +1 -1
- package/react/components/Mainnav/mainnav-item.cjs.js +1 -1
- package/react/components/Mainnav/mainnav-item.js +1 -1
- package/react/components/Mainnav/mainnav.cjs.js +1 -1
- package/react/components/Mainnav/mainnav.js +1 -1
- package/react/components/Mainnav/sgds-mainnav-profile.cjs.js +35 -0
- package/react/components/Mainnav/sgds-mainnav-profile.cjs.js.map +1 -0
- package/react/components/Mainnav/sgds-mainnav-profile.js +30 -0
- package/react/components/Mainnav/sgds-mainnav-profile.js.map +1 -0
- package/react/components/Mainnav/sgds-mainnav.cjs.js +39 -237
- package/react/components/Mainnav/sgds-mainnav.cjs.js.map +1 -1
- package/react/components/Mainnav/sgds-mainnav.js +40 -238
- package/react/components/Mainnav/sgds-mainnav.js.map +1 -1
- package/react/components/Tab/tab-panel.cjs.js +1 -1
- package/react/components/Tab/tab-panel.js +1 -1
- package/react/components/Textarea/textarea.cjs.js +1 -1
- package/react/components/Textarea/textarea.js +1 -1
- package/react/data-table/index.cjs.js +44 -0
- package/react/data-table/index.cjs.js.map +1 -0
- package/react/data-table/index.d.ts +4 -0
- package/react/data-table/index.js +20 -0
- package/react/data-table/index.js.map +1 -0
- package/react/data-table-cell/index.cjs.js +40 -0
- package/react/data-table-cell/index.cjs.js.map +1 -0
- package/react/data-table-cell/index.d.ts +4 -0
- package/react/data-table-cell/index.js +16 -0
- package/react/data-table-cell/index.js.map +1 -0
- package/react/data-table-head/index.cjs.js +40 -0
- package/react/data-table-head/index.cjs.js.map +1 -0
- package/react/data-table-head/index.d.ts +4 -0
- package/react/data-table-head/index.js +16 -0
- package/react/data-table-head/index.js.map +1 -0
- package/react/data-table-row/index.cjs.js +45 -0
- package/react/data-table-row/index.cjs.js.map +1 -0
- package/react/data-table-row/index.d.ts +4 -0
- package/react/data-table-row/index.js +21 -0
- package/react/data-table-row/index.js.map +1 -0
- package/react/index.cjs.js +152 -138
- package/react/index.cjs.js.map +1 -1
- package/react/index.d.ts +9 -2
- package/react/index.js +9 -2
- package/react/index.js.map +1 -1
- package/react/mainnav-profile/index.cjs.js +40 -0
- package/react/mainnav-profile/index.cjs.js.map +1 -0
- package/react/mainnav-profile/index.d.ts +4 -0
- package/react/mainnav-profile/index.js +16 -0
- package/react/mainnav-profile/index.js.map +1 -0
- package/react/styles/form-text-control.cjs.js +1 -1
- package/react/styles/form-text-control.js +1 -1
- package/styles/form-text-control.js +1 -1
- package/themes/blue.css +11 -11
- package/themes/cyan.css +10 -10
- package/themes/gt/blue.css +11 -11
- package/themes/gt/cyan.css +10 -10
- package/themes/gt/magenta.css +11 -11
- package/themes/gt/pink.css +11 -11
- package/themes/gt/purple.css +11 -11
- package/themes/gt/red.css +11 -11
- package/themes/magenta.css +11 -11
- package/themes/pink.css +11 -11
- package/themes/purple.css +11 -11
- package/themes/red.css +11 -11
- package/themes/root.css +5 -0
- package/types/react.d.ts +244 -92
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Copyright 2019 Google LLC
|
|
5
5
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
6
6
|
*/
|
|
7
|
-
const t=globalThis,l=t.ShadowRoot&&(void 0===t.ShadyCSS||t.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,o=Symbol(),n=new WeakMap;class r{constructor(e,t,l){if(this._$cssResult$=!0,l!==o)throw new Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e,this._strings=t}get styleSheet(){let e=this._styleSheet;const t=this._strings;if(l&&void 0===e){const l=void 0!==t&&1===t.length;l&&(e=n.get(t)),void 0===e&&((this._styleSheet=e=new CSSStyleSheet).replaceSync(this.cssText),l&&n.set(t,e))}return e}toString(){return this.cssText}}const i=(e,...t)=>{const l=1===e.length?e[0]:t.reduce((t,l,o)=>t+(e=>{if(!0===e._$cssResult$)return e.cssText;if("number"==typeof e)return e;throw new Error(`Value passed to 'css' function must be a 'css' function result: ${e}. Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.`)})(l)+e[o+1],e[0]);return new r(l,e,o)},a=e=>{let t="";for(const l of e.cssRules)t+=l.cssText;return new r("string"==typeof(l=t)?l:String(l),void 0,o);var l},c=l?e=>e:e=>e instanceof CSSStyleSheet?a(e):e,{is:s,defineProperty:d,getOwnPropertyDescriptor:h,getOwnPropertyNames:u,getOwnPropertySymbols:v,getPrototypeOf:f}=Object,p=globalThis;let g;const w=p.trustedTypes,m=w?w.emptyScript:"",_=p.reactiveElementPolyfillSupportDevMode;p.litIssuedWarnings??=new Set,g=(e,t)=>{t+=` See https://lit.dev/msg/${e} for more information.`,p.litIssuedWarnings.has(t)||p.litIssuedWarnings.has(e)||(console.warn(t),p.litIssuedWarnings.add(t))},queueMicrotask(()=>{g("dev-mode","Lit is in dev mode. Not recommended for production!"),p.ShadyDOM?.inUse&&void 0===_&&g("polyfill-support-missing","Shadow DOM is being polyfilled via `ShadyDOM` but the `polyfill-support` module has not been loaded.")});const Z=(e,t)=>e,x={toAttribute(e,t){switch(t){case Boolean:e=e?m:null;break;case Object:case Array:e=null==e?e:JSON.stringify(e)}return e},fromAttribute(e,t){let l=e;switch(t){case Boolean:l=null!==e;break;case Number:l=null===e?null:Number(e);break;case Object:case Array:try{l=JSON.parse(e)}catch(e){l=null}}return l}},b=(e,t)=>!s(e,t),C={attribute:!0,type:String,converter:x,reflect:!1,useDefault:!1,hasChanged:b};Symbol.metadata??=Symbol("metadata"),p.litPropertyMetadata??=new WeakMap;class M extends HTMLElement{static addInitializer(e){this.__prepare(),(this._initializers??=[]).push(e)}static get observedAttributes(){return this.finalize(),this.__attributeToPropertyMap&&[...this.__attributeToPropertyMap.keys()]}static createProperty(e,t=C){if(t.state&&(t.attribute=!1),this.__prepare(),this.prototype.hasOwnProperty(e)&&((t=Object.create(t)).wrapped=!0),this.elementProperties.set(e,t),!t.noAccessor){const l=Symbol.for(`${String(e)} (@property() cache)`),o=this.getPropertyDescriptor(e,l,t);void 0!==o&&d(this.prototype,e,o)}}static getPropertyDescriptor(e,t,l){const{get:o,set:n}=h(this.prototype,e)??{get(){return this[t]},set(e){this[t]=e}};if(null==o){if("value"in(h(this.prototype,e)??{}))throw new Error(`Field ${JSON.stringify(String(e))} on ${this.name} was declared as a reactive property but it's actually declared as a value on the prototype. Usually this is due to using @property or @state on a method.`);g("reactive-property-without-getter",`Field ${JSON.stringify(String(e))} on ${this.name} was declared as a reactive property but it does not have a getter. This will be an error in a future version of Lit.`)}return{get:o,set(t){const r=o?.call(this);n?.call(this,t),this.requestUpdate(e,r,l)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)??C}static __prepare(){if(this.hasOwnProperty(Z("elementProperties")))return;const e=f(this);e.finalize(),void 0!==e._initializers&&(this._initializers=[...e._initializers]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty(Z("finalized")))return;if(this.finalized=!0,this.__prepare(),this.hasOwnProperty(Z("properties"))){const e=this.properties,t=[...u(e),...v(e)];for(const l of t)this.createProperty(l,e[l])}const e=this[Symbol.metadata];if(null!==e){const t=litPropertyMetadata.get(e);if(void 0!==t)for(const[e,l]of t)this.elementProperties.set(e,l)}this.__attributeToPropertyMap=new Map;for(const[e,t]of this.elementProperties){const l=this.__attributeNameForProperty(e,t);void 0!==l&&this.__attributeToPropertyMap.set(l,e)}this.elementStyles=this.finalizeStyles(this.styles),this.hasOwnProperty("createProperty")&&g("no-override-create-property","Overriding ReactiveElement.createProperty() is deprecated. The override will not be called with standard decorators"),this.hasOwnProperty("getPropertyDescriptor")&&g("no-override-get-property-descriptor","Overriding ReactiveElement.getPropertyDescriptor() is deprecated. The override will not be called with standard decorators")}static finalizeStyles(e){const t=[];if(Array.isArray(e)){const l=new Set(e.flat(1/0).reverse());for(const e of l)t.unshift(c(e))}else void 0!==e&&t.push(c(e));return t}static __attributeNameForProperty(e,t){const l=t.attribute;return!1===l?void 0:"string"==typeof l?l:"string"==typeof e?e.toLowerCase():void 0}constructor(){super(),this.__instanceProperties=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this.__reflectingProperty=null,this.__initialize()}__initialize(){this.__updatePromise=new Promise(e=>this.enableUpdating=e),this._$changedProperties=new Map,this.__saveInstanceProperties(),this.requestUpdate(),this.constructor._initializers?.forEach(e=>e(this))}addController(e){(this.__controllers??=new Set).add(e),void 0!==this.renderRoot&&this.isConnected&&e.hostConnected?.()}removeController(e){this.__controllers?.delete(e)}__saveInstanceProperties(){const e=new Map,t=this.constructor.elementProperties;for(const l of t.keys())this.hasOwnProperty(l)&&(e.set(l,this[l]),delete this[l]);e.size>0&&(this.__instanceProperties=e)}createRenderRoot(){const e=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return((e,o)=>{if(l)e.adoptedStyleSheets=o.map(e=>e instanceof CSSStyleSheet?e:e.styleSheet);else for(const l of o){const o=document.createElement("style"),n=t.litNonce;void 0!==n&&o.setAttribute("nonce",n),o.textContent=l.cssText,e.appendChild(o)}})(e,this.constructor.elementStyles),e}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this.__controllers?.forEach(e=>e.hostConnected?.())}enableUpdating(e){}disconnectedCallback(){this.__controllers?.forEach(e=>e.hostDisconnected?.())}attributeChangedCallback(e,t,l){this._$attributeToProperty(e,l)}__propertyToAttribute(e,t){const l=this.constructor.elementProperties.get(e),o=this.constructor.__attributeNameForProperty(e,l);if(void 0!==o&&!0===l.reflect){const n=(void 0!==l.converter?.toAttribute?l.converter:x).toAttribute(t,l.type);this.constructor.enabledWarnings.includes("migration")&&void 0===n&&g("undefined-attribute-value",`The attribute value for the ${e} property is undefined on element ${this.localName}. The attribute will be removed, but in the previous version of \`ReactiveElement\`, the attribute would not have changed.`),this.__reflectingProperty=e,null==n?this.removeAttribute(o):this.setAttribute(o,n),this.__reflectingProperty=null}}_$attributeToProperty(e,t){const l=this.constructor,o=l.__attributeToPropertyMap.get(e);if(void 0!==o&&this.__reflectingProperty!==o){const e=l.getPropertyOptions(o),n="function"==typeof e.converter?{fromAttribute:e.converter}:void 0!==e.converter?.fromAttribute?e.converter:x;this.__reflectingProperty=o;const r=n.fromAttribute(t,e.type);this[o]=r??this.__defaultValues?.get(o)??r,this.__reflectingProperty=null}}requestUpdate(e,t,l,o=!1,n){if(void 0!==e){e instanceof Event&&g("","The requestUpdate() method was called with an Event as the property name. This is probably a mistake caused by binding this.requestUpdate as an event listener. Instead bind a function that will call it with no arguments: () => this.requestUpdate()");const r=this.constructor;!1===o&&(n=this[e]),l??=r.getPropertyOptions(e);if(!((l.hasChanged??b)(n,t)||l.useDefault&&l.reflect&&n===this.__defaultValues?.get(e)&&!this.hasAttribute(r.__attributeNameForProperty(e,l))))return;this._$changeProperty(e,t,l)}!1===this.isUpdatePending&&(this.__updatePromise=this.__enqueueUpdate())}_$changeProperty(e,t,{useDefault:l,reflect:o,wrapped:n},r){l&&!(this.__defaultValues??=new Map).has(e)&&(this.__defaultValues.set(e,r??t??this[e]),!0!==n||void 0!==r)||(this._$changedProperties.has(e)||(this.hasUpdated||l||(t=void 0),this._$changedProperties.set(e,t)),!0===o&&this.__reflectingProperty!==e&&(this.__reflectingProperties??=new Set).add(e))}async __enqueueUpdate(){this.isUpdatePending=!0;try{await this.__updatePromise}catch(e){Promise.reject(e)}const e=this.scheduleUpdate();return null!=e&&await e,!this.isUpdatePending}scheduleUpdate(){const e=this.performUpdate();return this.constructor.enabledWarnings.includes("async-perform-update")&&"function"==typeof e?.then&&g("async-perform-update",`Element ${this.localName} returned a Promise from performUpdate(). This behavior is deprecated and will be removed in a future version of ReactiveElement.`),e}performUpdate(){if(!this.isUpdatePending)return;var e;if(e={kind:"update"},p.emitLitDebugLogEvents&&p.dispatchEvent(new CustomEvent("lit-debug",{detail:e})),!this.hasUpdated){this.renderRoot??=this.createRenderRoot();{const e=[...this.constructor.elementProperties.keys()].filter(e=>this.hasOwnProperty(e)&&e in f(this));if(e.length)throw new Error(`The following properties on element ${this.localName} will not trigger updates as expected because they are set using class fields: ${e.join(", ")}. Native class fields and some compiled output will overwrite accessors used for detecting changes. See https://lit.dev/msg/class-field-shadowing for more information.`)}if(this.__instanceProperties){for(const[e,t]of this.__instanceProperties)this[e]=t;this.__instanceProperties=void 0}const e=this.constructor.elementProperties;if(e.size>0)for(const[t,l]of e){const{wrapped:e}=l,o=this[t];!0!==e||this._$changedProperties.has(t)||void 0===o||this._$changeProperty(t,void 0,l,o)}}let t=!1;const l=this._$changedProperties;try{t=this.shouldUpdate(l),t?(this.willUpdate(l),this.__controllers?.forEach(e=>e.hostUpdate?.()),this.update(l)):this.__markUpdated()}catch(e){throw t=!1,this.__markUpdated(),e}t&&this._$didUpdate(l)}willUpdate(e){}_$didUpdate(e){this.__controllers?.forEach(e=>e.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(e)),this.updated(e),this.isUpdatePending&&this.constructor.enabledWarnings.includes("change-in-update")&&g("change-in-update",`Element ${this.localName} scheduled an update (generally because a property was set) after an update completed, causing a new update to be scheduled. This is inefficient and should be avoided unless the next update can only be scheduled as a side effect of the previous update.`)}__markUpdated(){this._$changedProperties=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this.__updatePromise}shouldUpdate(e){return!0}update(e){this.__reflectingProperties&&=this.__reflectingProperties.forEach(e=>this.__propertyToAttribute(e,this[e])),this.__markUpdated()}updated(e){}firstUpdated(e){}}M.elementStyles=[],M.shadowRootOptions={mode:"open"},M[Z("elementProperties")]=new Map,M[Z("finalized")]=new Map,_?.({ReactiveElement:M});{M.enabledWarnings=["change-in-update","async-perform-update"];const e=function(e){e.hasOwnProperty(Z("enabledWarnings"))||(e.enabledWarnings=e.enabledWarnings.slice())};M.enableWarning=function(t){e(this),this.enabledWarnings.includes(t)||this.enabledWarnings.push(t)},M.disableWarning=function(t){e(this);const l=this.enabledWarnings.indexOf(t);l>=0&&this.enabledWarnings.splice(l,1)}}(p.reactiveElementVersions??=[]).push("2.1.2"),p.reactiveElementVersions.length>1&&queueMicrotask(()=>{g("multiple-versions","Multiple versions of Lit loaded. Loading multiple versions is not recommended.")});
|
|
7
|
+
const t=globalThis,l=t.ShadowRoot&&(void 0===t.ShadyCSS||t.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,o=Symbol(),n=new WeakMap;class r{constructor(e,t,l){if(this._$cssResult$=!0,l!==o)throw new Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e,this._strings=t}get styleSheet(){let e=this._styleSheet;const t=this._strings;if(l&&void 0===e){const l=void 0!==t&&1===t.length;l&&(e=n.get(t)),void 0===e&&((this._styleSheet=e=new CSSStyleSheet).replaceSync(this.cssText),l&&n.set(t,e))}return e}toString(){return this.cssText}}const i=(e,...t)=>{const l=1===e.length?e[0]:t.reduce((t,l,o)=>t+(e=>{if(!0===e._$cssResult$)return e.cssText;if("number"==typeof e)return e;throw new Error(`Value passed to 'css' function must be a 'css' function result: ${e}. Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.`)})(l)+e[o+1],e[0]);return new r(l,e,o)},a=e=>{let t="";for(const l of e.cssRules)t+=l.cssText;return new r("string"==typeof(l=t)?l:String(l),void 0,o);var l},c=l?e=>e:e=>e instanceof CSSStyleSheet?a(e):e,{is:s,defineProperty:d,getOwnPropertyDescriptor:h,getOwnPropertyNames:u,getOwnPropertySymbols:v,getPrototypeOf:f}=Object,p=globalThis;let g;const w=p.trustedTypes,m=w?w.emptyScript:"",_=p.reactiveElementPolyfillSupportDevMode;p.litIssuedWarnings??=new Set,g=(e,t)=>{t+=` See https://lit.dev/msg/${e} for more information.`,p.litIssuedWarnings.has(t)||p.litIssuedWarnings.has(e)||(console.warn(t),p.litIssuedWarnings.add(t))},queueMicrotask(()=>{g("dev-mode","Lit is in dev mode. Not recommended for production!"),p.ShadyDOM?.inUse&&void 0===_&&g("polyfill-support-missing","Shadow DOM is being polyfilled via `ShadyDOM` but the `polyfill-support` module has not been loaded.")});const Z=(e,t)=>e,b={toAttribute(e,t){switch(t){case Boolean:e=e?m:null;break;case Object:case Array:e=null==e?e:JSON.stringify(e)}return e},fromAttribute(e,t){let l=e;switch(t){case Boolean:l=null!==e;break;case Number:l=null===e?null:Number(e);break;case Object:case Array:try{l=JSON.parse(e)}catch(e){l=null}}return l}},x=(e,t)=>!s(e,t),C={attribute:!0,type:String,converter:b,reflect:!1,useDefault:!1,hasChanged:x};Symbol.metadata??=Symbol("metadata"),p.litPropertyMetadata??=new WeakMap;class M extends HTMLElement{static addInitializer(e){this.__prepare(),(this._initializers??=[]).push(e)}static get observedAttributes(){return this.finalize(),this.__attributeToPropertyMap&&[...this.__attributeToPropertyMap.keys()]}static createProperty(e,t=C){if(t.state&&(t.attribute=!1),this.__prepare(),this.prototype.hasOwnProperty(e)&&((t=Object.create(t)).wrapped=!0),this.elementProperties.set(e,t),!t.noAccessor){const l=Symbol.for(`${String(e)} (@property() cache)`),o=this.getPropertyDescriptor(e,l,t);void 0!==o&&d(this.prototype,e,o)}}static getPropertyDescriptor(e,t,l){const{get:o,set:n}=h(this.prototype,e)??{get(){return this[t]},set(e){this[t]=e}};if(null==o){if("value"in(h(this.prototype,e)??{}))throw new Error(`Field ${JSON.stringify(String(e))} on ${this.name} was declared as a reactive property but it's actually declared as a value on the prototype. Usually this is due to using @property or @state on a method.`);g("reactive-property-without-getter",`Field ${JSON.stringify(String(e))} on ${this.name} was declared as a reactive property but it does not have a getter. This will be an error in a future version of Lit.`)}return{get:o,set(t){const r=o?.call(this);n?.call(this,t),this.requestUpdate(e,r,l)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)??C}static __prepare(){if(this.hasOwnProperty(Z("elementProperties")))return;const e=f(this);e.finalize(),void 0!==e._initializers&&(this._initializers=[...e._initializers]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty(Z("finalized")))return;if(this.finalized=!0,this.__prepare(),this.hasOwnProperty(Z("properties"))){const e=this.properties,t=[...u(e),...v(e)];for(const l of t)this.createProperty(l,e[l])}const e=this[Symbol.metadata];if(null!==e){const t=litPropertyMetadata.get(e);if(void 0!==t)for(const[e,l]of t)this.elementProperties.set(e,l)}this.__attributeToPropertyMap=new Map;for(const[e,t]of this.elementProperties){const l=this.__attributeNameForProperty(e,t);void 0!==l&&this.__attributeToPropertyMap.set(l,e)}this.elementStyles=this.finalizeStyles(this.styles),this.hasOwnProperty("createProperty")&&g("no-override-create-property","Overriding ReactiveElement.createProperty() is deprecated. The override will not be called with standard decorators"),this.hasOwnProperty("getPropertyDescriptor")&&g("no-override-get-property-descriptor","Overriding ReactiveElement.getPropertyDescriptor() is deprecated. The override will not be called with standard decorators")}static finalizeStyles(e){const t=[];if(Array.isArray(e)){const l=new Set(e.flat(1/0).reverse());for(const e of l)t.unshift(c(e))}else void 0!==e&&t.push(c(e));return t}static __attributeNameForProperty(e,t){const l=t.attribute;return!1===l?void 0:"string"==typeof l?l:"string"==typeof e?e.toLowerCase():void 0}constructor(){super(),this.__instanceProperties=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this.__reflectingProperty=null,this.__initialize()}__initialize(){this.__updatePromise=new Promise(e=>this.enableUpdating=e),this._$changedProperties=new Map,this.__saveInstanceProperties(),this.requestUpdate(),this.constructor._initializers?.forEach(e=>e(this))}addController(e){(this.__controllers??=new Set).add(e),void 0!==this.renderRoot&&this.isConnected&&e.hostConnected?.()}removeController(e){this.__controllers?.delete(e)}__saveInstanceProperties(){const e=new Map,t=this.constructor.elementProperties;for(const l of t.keys())this.hasOwnProperty(l)&&(e.set(l,this[l]),delete this[l]);e.size>0&&(this.__instanceProperties=e)}createRenderRoot(){const e=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return((e,o)=>{if(l)e.adoptedStyleSheets=o.map(e=>e instanceof CSSStyleSheet?e:e.styleSheet);else for(const l of o){const o=document.createElement("style"),n=t.litNonce;void 0!==n&&o.setAttribute("nonce",n),o.textContent=l.cssText,e.appendChild(o)}})(e,this.constructor.elementStyles),e}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this.__controllers?.forEach(e=>e.hostConnected?.())}enableUpdating(e){}disconnectedCallback(){this.__controllers?.forEach(e=>e.hostDisconnected?.())}attributeChangedCallback(e,t,l){this._$attributeToProperty(e,l)}__propertyToAttribute(e,t){const l=this.constructor.elementProperties.get(e),o=this.constructor.__attributeNameForProperty(e,l);if(void 0!==o&&!0===l.reflect){const n=(void 0!==l.converter?.toAttribute?l.converter:b).toAttribute(t,l.type);this.constructor.enabledWarnings.includes("migration")&&void 0===n&&g("undefined-attribute-value",`The attribute value for the ${e} property is undefined on element ${this.localName}. The attribute will be removed, but in the previous version of \`ReactiveElement\`, the attribute would not have changed.`),this.__reflectingProperty=e,null==n?this.removeAttribute(o):this.setAttribute(o,n),this.__reflectingProperty=null}}_$attributeToProperty(e,t){const l=this.constructor,o=l.__attributeToPropertyMap.get(e);if(void 0!==o&&this.__reflectingProperty!==o){const e=l.getPropertyOptions(o),n="function"==typeof e.converter?{fromAttribute:e.converter}:void 0!==e.converter?.fromAttribute?e.converter:b;this.__reflectingProperty=o;const r=n.fromAttribute(t,e.type);this[o]=r??this.__defaultValues?.get(o)??r,this.__reflectingProperty=null}}requestUpdate(e,t,l,o=!1,n){if(void 0!==e){e instanceof Event&&g("","The requestUpdate() method was called with an Event as the property name. This is probably a mistake caused by binding this.requestUpdate as an event listener. Instead bind a function that will call it with no arguments: () => this.requestUpdate()");const r=this.constructor;!1===o&&(n=this[e]),l??=r.getPropertyOptions(e);if(!((l.hasChanged??x)(n,t)||l.useDefault&&l.reflect&&n===this.__defaultValues?.get(e)&&!this.hasAttribute(r.__attributeNameForProperty(e,l))))return;this._$changeProperty(e,t,l)}!1===this.isUpdatePending&&(this.__updatePromise=this.__enqueueUpdate())}_$changeProperty(e,t,{useDefault:l,reflect:o,wrapped:n},r){l&&!(this.__defaultValues??=new Map).has(e)&&(this.__defaultValues.set(e,r??t??this[e]),!0!==n||void 0!==r)||(this._$changedProperties.has(e)||(this.hasUpdated||l||(t=void 0),this._$changedProperties.set(e,t)),!0===o&&this.__reflectingProperty!==e&&(this.__reflectingProperties??=new Set).add(e))}async __enqueueUpdate(){this.isUpdatePending=!0;try{await this.__updatePromise}catch(e){Promise.reject(e)}const e=this.scheduleUpdate();return null!=e&&await e,!this.isUpdatePending}scheduleUpdate(){const e=this.performUpdate();return this.constructor.enabledWarnings.includes("async-perform-update")&&"function"==typeof e?.then&&g("async-perform-update",`Element ${this.localName} returned a Promise from performUpdate(). This behavior is deprecated and will be removed in a future version of ReactiveElement.`),e}performUpdate(){if(!this.isUpdatePending)return;var e;if(e={kind:"update"},p.emitLitDebugLogEvents&&p.dispatchEvent(new CustomEvent("lit-debug",{detail:e})),!this.hasUpdated){this.renderRoot??=this.createRenderRoot();{const e=[...this.constructor.elementProperties.keys()].filter(e=>this.hasOwnProperty(e)&&e in f(this));if(e.length)throw new Error(`The following properties on element ${this.localName} will not trigger updates as expected because they are set using class fields: ${e.join(", ")}. Native class fields and some compiled output will overwrite accessors used for detecting changes. See https://lit.dev/msg/class-field-shadowing for more information.`)}if(this.__instanceProperties){for(const[e,t]of this.__instanceProperties)this[e]=t;this.__instanceProperties=void 0}const e=this.constructor.elementProperties;if(e.size>0)for(const[t,l]of e){const{wrapped:e}=l,o=this[t];!0!==e||this._$changedProperties.has(t)||void 0===o||this._$changeProperty(t,void 0,l,o)}}let t=!1;const l=this._$changedProperties;try{t=this.shouldUpdate(l),t?(this.willUpdate(l),this.__controllers?.forEach(e=>e.hostUpdate?.()),this.update(l)):this.__markUpdated()}catch(e){throw t=!1,this.__markUpdated(),e}t&&this._$didUpdate(l)}willUpdate(e){}_$didUpdate(e){this.__controllers?.forEach(e=>e.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(e)),this.updated(e),this.isUpdatePending&&this.constructor.enabledWarnings.includes("change-in-update")&&g("change-in-update",`Element ${this.localName} scheduled an update (generally because a property was set) after an update completed, causing a new update to be scheduled. This is inefficient and should be avoided unless the next update can only be scheduled as a side effect of the previous update.`)}__markUpdated(){this._$changedProperties=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this.__updatePromise}shouldUpdate(e){return!0}update(e){this.__reflectingProperties&&=this.__reflectingProperties.forEach(e=>this.__propertyToAttribute(e,this[e])),this.__markUpdated()}updated(e){}firstUpdated(e){}}M.elementStyles=[],M.shadowRootOptions={mode:"open"},M[Z("elementProperties")]=new Map,M[Z("finalized")]=new Map,_?.({ReactiveElement:M});{M.enabledWarnings=["change-in-update","async-perform-update"];const e=function(e){e.hasOwnProperty(Z("enabledWarnings"))||(e.enabledWarnings=e.enabledWarnings.slice())};M.enableWarning=function(t){e(this),this.enabledWarnings.includes(t)||this.enabledWarnings.push(t)},M.disableWarning=function(t){e(this);const l=this.enabledWarnings.indexOf(t);l>=0&&this.enabledWarnings.splice(l,1)}}(p.reactiveElementVersions??=[]).push("2.1.2"),p.reactiveElementVersions.length>1&&queueMicrotask(()=>{g("multiple-versions","Multiple versions of Lit loaded. Loading multiple versions is not recommended.")});
|
|
8
8
|
/**
|
|
9
9
|
* @license
|
|
10
10
|
* Copyright 2017 Google LLC
|
|
@@ -16,12 +16,12 @@ const y=globalThis,V=e=>{y.emitLitDebugLogEvents&&y.dispatchEvent(new CustomEven
|
|
|
16
16
|
* Copyright 2017 Google LLC
|
|
17
17
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
18
18
|
*/
|
|
19
|
-
const me=globalThis;let _e;me.litIssuedWarnings??=new Set,_e=(e,t)=>{t+=` See https://lit.dev/msg/${e} for more information.`,me.litIssuedWarnings.has(t)||me.litIssuedWarnings.has(e)||(console.warn(t),me.litIssuedWarnings.add(t))};class Ze extends M{constructor(){super(...arguments),this.renderOptions={host:this},this.__childPart=void 0}createRenderRoot(){const e=super.createRenderRoot();return this.renderOptions.renderBefore??=e.firstChild,e}update(e){const t=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(e),this.__childPart=we(t,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this.__childPart?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this.__childPart?.setConnected(!1)}render(){return te}}var
|
|
19
|
+
const me=globalThis;let _e;me.litIssuedWarnings??=new Set,_e=(e,t)=>{t+=` See https://lit.dev/msg/${e} for more information.`,me.litIssuedWarnings.has(t)||me.litIssuedWarnings.has(e)||(console.warn(t),me.litIssuedWarnings.add(t))};class Ze extends M{constructor(){super(...arguments),this.renderOptions={host:this},this.__childPart=void 0}createRenderRoot(){const e=super.createRenderRoot();return this.renderOptions.renderBefore??=e.firstChild,e}update(e){const t=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(e),this.__childPart=we(t,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this.__childPart?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this.__childPart?.setConnected(!1)}render(){return te}}var be;Ze._$litElement$=!0,Ze[(be="finalized",be)]=!0,me.litElementHydrateSupport?.({LitElement:Ze});const xe=me.litElementPolyfillSupportDevMode;xe?.({LitElement:Ze}),(me.litElementVersions??=[]).push("4.2.2"),me.litElementVersions.length>1&&queueMicrotask(()=>{_e("multiple-versions","Multiple versions of Lit loaded. Loading multiple versions is not recommended.")});var Ce=i`:host{-webkit-text-size-adjust:100%;-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-font-smoothing:antialiased;color:var(--sgds-body-color-default,#1a1a1a);display:block;font-family:var(--sgds-font-family-brand,"Inter",system-ui,sans-serif);font-size:var(--sgds-font-size-body-md,1rem);font-weight:var(--sgds-font-weight-regular,400);line-height:var(--sgds-line-height-xs,24px);margin:0;*,:after,:before{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}:disabled{cursor:not-allowed}@media (prefers-reduced-motion:no-preference){:root{scroll-behavior:smooth}}@media (prefers-reduced-motion:reduce){*,:after,:before{animation-duration:.1ms!important;animation-iteration-count:1!important;scroll-behavior:auto!important;transition-duration:.01ms!important}}::slotted(a[target=_blank]):after,a[target=_blank]:after{background-color:currentColor;content:"/";display:inline-block;height:1em;-webkit-mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M9.774 4.4H9.8a.6.6 0 1 1 0 1.2c-.85 0-1.451 0-1.922.039-.463.038-.745.11-.968.223A2.4 2.4 0 0 0 5.861 6.91c-.113.223-.184.505-.222.968-.039.47-.04 1.072-.04 1.922v4.4c0 .85.001 1.451.04 1.922.038.463.11.745.222.968a2.4 2.4 0 0 0 1.05 1.048c.222.114.504.185.967.223.47.038 1.072.039 1.922.039h4.4c.85 0 1.451 0 1.921-.039.464-.038.746-.11.969-.223a2.4 2.4 0 0 0 1.048-1.048c.113-.223.185-.505.223-.968.038-.47.039-1.072.039-1.922a.6.6 0 1 1 1.2 0v.026c0 .818 0 1.468-.043 1.993-.044.538-.136.996-.35 1.415a3.6 3.6 0 0 1-1.573 1.574c-.42.213-.878.305-1.415.35-.525.042-1.175.042-1.993.042H9.774c-.818 0-1.469 0-1.993-.043-.538-.044-.996-.136-1.415-.35a3.6 3.6 0 0 1-1.574-1.573c-.213-.42-.305-.877-.35-1.415-.042-.525-.042-1.175-.042-1.993V9.774c0-.818 0-1.468.043-1.993.044-.538.136-.996.35-1.415a3.6 3.6 0 0 1 1.573-1.574c.42-.213.877-.305 1.415-.35C8.305 4.4 8.956 4.4 9.774 4.4ZM12.4 5a.6.6 0 0 1 .6-.6h6a.6.6 0 0 1 .6.6v6a.6.6 0 1 1-1.2 0V6.449l-5.976 5.975a.6.6 0 0 1-.848-.848L17.55 5.6H13a.6.6 0 0 1-.6-.6Z' fill='%230E0E0E'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M9.774 4.4H9.8a.6.6 0 1 1 0 1.2c-.85 0-1.451 0-1.922.039-.463.038-.745.11-.968.223A2.4 2.4 0 0 0 5.861 6.91c-.113.223-.184.505-.222.968-.039.47-.04 1.072-.04 1.922v4.4c0 .85.001 1.451.04 1.922.038.463.11.745.222.968a2.4 2.4 0 0 0 1.05 1.048c.222.114.504.185.967.223.47.038 1.072.039 1.922.039h4.4c.85 0 1.451 0 1.921-.039.464-.038.746-.11.969-.223a2.4 2.4 0 0 0 1.048-1.048c.113-.223.185-.505.223-.968.038-.47.039-1.072.039-1.922a.6.6 0 1 1 1.2 0v.026c0 .818 0 1.468-.043 1.993-.044.538-.136.996-.35 1.415a3.6 3.6 0 0 1-1.573 1.574c-.42.213-.878.305-1.415.35-.525.042-1.175.042-1.993.042H9.774c-.818 0-1.469 0-1.993-.043-.538-.044-.996-.136-1.415-.35a3.6 3.6 0 0 1-1.574-1.573c-.213-.42-.305-.877-.35-1.415-.042-.525-.042-1.175-.042-1.993V9.774c0-.818 0-1.468.043-1.993.044-.538.136-.996.35-1.415a3.6 3.6 0 0 1 1.573-1.574c.42-.213.877-.305 1.415-.35C8.305 4.4 8.956 4.4 9.774 4.4ZM12.4 5a.6.6 0 0 1 .6-.6h6a.6.6 0 0 1 .6.6v6a.6.6 0 1 1-1.2 0V6.449l-5.976 5.975a.6.6 0 0 1-.848-.848L17.55 5.6H13a.6.6 0 0 1-.6-.6Z' fill='%230E0E0E'/%3E%3C/svg%3E");-webkit-mask-position:center;mask-position:center;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;vertical-align:top;width:1em}::slotted(svg){vertical-align:middle}}`
|
|
20
20
|
/**
|
|
21
21
|
* @license
|
|
22
22
|
* Copyright 2017 Google LLC
|
|
23
23
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
24
|
-
*/;let Me;globalThis.litIssuedWarnings??=new Set,Me=(e,t)=>{t+=` See https://lit.dev/msg/${e} for more information.`,globalThis.litIssuedWarnings.has(t)||globalThis.litIssuedWarnings.has(e)||(console.warn(t),globalThis.litIssuedWarnings.add(t))};const ye={attribute:!0,type:String,converter:
|
|
24
|
+
*/;let Me;globalThis.litIssuedWarnings??=new Set,Me=(e,t)=>{t+=` See https://lit.dev/msg/${e} for more information.`,globalThis.litIssuedWarnings.has(t)||globalThis.litIssuedWarnings.has(e)||(console.warn(t),globalThis.litIssuedWarnings.add(t))};const ye={attribute:!0,type:String,converter:b,reflect:!1,hasChanged:x},Ve=(e=ye,t,l)=>{const{kind:o,metadata:n}=l;null==n&&Me("missing-class-metadata",`The class ${t} is missing decorator metadata. This could mean that you're using a compiler that supports decorators but doesn't support decorator metadata, such as TypeScript 5.1. Please update your compiler.`);let r=globalThis.litPropertyMetadata.get(n);if(void 0===r&&globalThis.litPropertyMetadata.set(n,r=new Map),"setter"===o&&((e=Object.create(e)).wrapped=!0),r.set(l.name,e),"accessor"===o){const{name:o}=l;return{set(l){const n=t.get.call(this);t.set.call(this,l),this.requestUpdate(o,n,e,!0,l)},init(t){return void 0!==t&&this._$changeProperty(o,void 0,e,t),t}}}if("setter"===o){const{name:o}=l;return function(l){const n=this[o];t.call(this,l),this.requestUpdate(o,n,e,!0,l)}}throw new Error(`Unsupported decorator location: ${o}`)};function He(e){return(t,l)=>"object"==typeof l?Ve(e,t,l):((e,t,l)=>{const o=t.hasOwnProperty(l);return t.constructor.createProperty(l,e),o?Object.getOwnPropertyDescriptor(t,l):void 0})(e,t,l)}
|
|
25
25
|
/**
|
|
26
26
|
* @license
|
|
27
27
|
* Copyright 2017 Google LLC
|
|
@@ -62,7 +62,7 @@ function Be(e){return(t,l)=>{const{slot:o,selector:n}=e??{},r="slot"+(o?`[name=$
|
|
|
62
62
|
* @license
|
|
63
63
|
* Copyright 2020 Google LLC
|
|
64
64
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
65
|
-
*/const We=()=>new Fe;class Fe{}const qe=new WeakMap;const Ye=Se(class extends Ue{render(e){return le}update(e,[t]){const l=t!==this._ref;return l&&void 0!==this._ref&&this._updateRefValue(void 0),(l||this._lastElementForRef!==this._element)&&(this._ref=t,this._context=e.options?.host,this._updateRefValue(this._element=e.element)),le}_updateRefValue(e){if(this.isConnected||(e=void 0),"function"==typeof this._ref){const t=this._context??globalThis;let l=qe.get(t);void 0===l&&(l=new WeakMap,qe.set(t,l)),void 0!==l.get(this._ref)&&this._ref.call(this._context,void 0),l.set(this._ref,e),void 0!==e&&this._ref.call(this._context,e)}else this._ref.value=e}get _lastElementForRef(){return"function"==typeof this._ref?qe.get(this._context??globalThis)?.get(this._ref):this._ref?.value}disconnected(){this._lastElementForRef===this._element&&this._updateRefValue(void 0)}reconnected(){this._updateRefValue(this._element)}}),Ke=Math.min,Je=Math.max,Xe=Math.round,Ge=Math.floor,Qe=e=>({x:e,y:e}),et={left:"right",right:"left",bottom:"top",top:"bottom"},tt={start:"end",end:"start"};function lt(e,t,l){return Je(e,Ke(t,l))}function ot(e,t){return"function"==typeof e?e(t):e}function nt(e){return e.split("-")[0]}function rt(e){return e.split("-")[1]}function it(e){return"x"===e?"y":"x"}function at(e){return"y"===e?"height":"width"}const ct=new Set(["top","bottom"]);function st(e){return ct.has(nt(e))?"y":"x"}function dt(e){return it(st(e))}function ht(e,t,l){void 0===l&&(l=!1);const o=rt(e),n=dt(e),r=at(n);let i="x"===n?o===(l?"end":"start")?"right":"left":"start"===o?"bottom":"top";return t.reference[r]>t.floating[r]&&(i=mt(i)),[i,mt(i)]}function ut(e){return e.replace(/start|end/g,e=>tt[e])}const vt=["left","right"],ft=["right","left"],pt=["top","bottom"],gt=["bottom","top"];function wt(e,t,l,o){const n=rt(e);let r=function(e,t,l){switch(e){case"top":case"bottom":return l?t?ft:vt:t?vt:ft;case"left":case"right":return t?pt:gt;default:return[]}}(nt(e),"start"===l,o);return n&&(r=r.map(e=>e+"-"+n),t&&(r=r.concat(r.map(ut)))),r}function mt(e){return e.replace(/left|right|bottom|top/g,e=>et[e])}function _t(e){return"number"!=typeof e?function(e){return{top:0,right:0,bottom:0,left:0,...e}}(e):{top:e,right:e,bottom:e,left:e}}function Zt(e){const{x:t,y:l,width:o,height:n}=e;return{width:o,height:n,top:l,left:t,right:t+o,bottom:l+n,x:t,y:l}}function xt(e,t,l){let{reference:o,floating:n}=e;const r=st(t),i=dt(t),a=at(i),c=nt(t),s="y"===r,d=o.x+o.width/2-n.width/2,h=o.y+o.height/2-n.height/2,u=o[a]/2-n[a]/2;let v;switch(c){case"top":v={x:d,y:o.y-n.height};break;case"bottom":v={x:d,y:o.y+o.height};break;case"right":v={x:o.x+o.width,y:h};break;case"left":v={x:o.x-n.width,y:h};break;default:v={x:o.x,y:o.y}}switch(rt(t)){case"start":v[i]-=u*(l&&s?-1:1);break;case"end":v[i]+=u*(l&&s?-1:1)}return v}async function bt(e,t){var l;void 0===t&&(t={});const{x:o,y:n,platform:r,rects:i,elements:a,strategy:c}=e,{boundary:s="clippingAncestors",rootBoundary:d="viewport",elementContext:h="floating",altBoundary:u=!1,padding:v=0}=ot(t,e),f=_t(v),p=a[u?"floating"===h?"reference":"floating":h],g=Zt(await r.getClippingRect({element:null==(l=await(null==r.isElement?void 0:r.isElement(p)))||l?p:p.contextElement||await(null==r.getDocumentElement?void 0:r.getDocumentElement(a.floating)),boundary:s,rootBoundary:d,strategy:c})),w="floating"===h?{x:o,y:n,width:i.floating.width,height:i.floating.height}:i.reference,m=await(null==r.getOffsetParent?void 0:r.getOffsetParent(a.floating)),_=await(null==r.isElement?void 0:r.isElement(m))&&await(null==r.getScale?void 0:r.getScale(m))||{x:1,y:1},Z=Zt(r.convertOffsetParentRelativeRectToViewportRelativeRect?await r.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:w,offsetParent:m,strategy:c}):w);return{top:(g.top-Z.top+f.top)/_.y,bottom:(Z.bottom-g.bottom+f.bottom)/_.y,left:(g.left-Z.left+f.left)/_.x,right:(Z.right-g.right+f.right)/_.x}}const Ct=new Set(["left","top"]);function Mt(){return"undefined"!=typeof window}function yt(e){return Pt(e)?(e.nodeName||"").toLowerCase():"#document"}function Vt(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function Ht(e){var t;return null==(t=(Pt(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function Pt(e){return!!Mt()&&(e instanceof Node||e instanceof Vt(e).Node)}function Ot(e){return!!Mt()&&(e instanceof Element||e instanceof Vt(e).Element)}function zt(e){return!!Mt()&&(e instanceof HTMLElement||e instanceof Vt(e).HTMLElement)}function Bt(e){return!(!Mt()||"undefined"==typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof Vt(e).ShadowRoot)}const jt=new Set(["inline","contents"]);function At(e){const{overflow:t,overflowX:l,overflowY:o,display:n}=Wt(e);return/auto|scroll|overlay|hidden|clip/.test(t+o+l)&&!jt.has(n)}const $t=new Set(["table","td","th"]);function Lt(e){return $t.has(yt(e))}const St=[":popover-open",":modal"];function kt(e){return St.some(t=>{try{return e.matches(t)}catch(e){return!1}})}const Et=["transform","translate","scale","rotate","perspective"],Tt=["transform","translate","scale","rotate","perspective","filter"],Rt=["paint","layout","strict","content"];function It(e){const t=Dt(),l=Ot(e)?Wt(e):e;return Et.some(e=>!!l[e]&&"none"!==l[e])||!!l.containerType&&"normal"!==l.containerType||!t&&!!l.backdropFilter&&"none"!==l.backdropFilter||!t&&!!l.filter&&"none"!==l.filter||Tt.some(e=>(l.willChange||"").includes(e))||Rt.some(e=>(l.contain||"").includes(e))}function Dt(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}const Nt=new Set(["html","body","#document"]);function Ut(e){return Nt.has(yt(e))}function Wt(e){return Vt(e).getComputedStyle(e)}function Ft(e){return Ot(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function qt(e){if("html"===yt(e))return e;const t=e.assignedSlot||e.parentNode||Bt(e)&&e.host||Ht(e);return Bt(t)?t.host:t}function Yt(e){const t=qt(e);return Ut(t)?e.ownerDocument?e.ownerDocument.body:e.body:zt(t)&&At(t)?t:Yt(t)}function Kt(e,t,l){var o;void 0===t&&(t=[]),void 0===l&&(l=!0);const n=Yt(e),r=n===(null==(o=e.ownerDocument)?void 0:o.body),i=Vt(n);if(r){const e=Jt(i);return t.concat(i,i.visualViewport||[],At(n)?n:[],e&&l?Kt(e):[])}return t.concat(n,Kt(n,[],l))}function Jt(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function Xt(e){const t=Wt(e);let l=parseFloat(t.width)||0,o=parseFloat(t.height)||0;const n=zt(e),r=n?e.offsetWidth:l,i=n?e.offsetHeight:o,a=Xe(l)!==r||Xe(o)!==i;return a&&(l=r,o=i),{width:l,height:o,$:a}}function Gt(e){return Ot(e)?e:e.contextElement}function Qt(e){const t=Gt(e);if(!zt(t))return Qe(1);const l=t.getBoundingClientRect(),{width:o,height:n,$:r}=Xt(t);let i=(r?Xe(l.width):l.width)/o,a=(r?Xe(l.height):l.height)/n;return i&&Number.isFinite(i)||(i=1),a&&Number.isFinite(a)||(a=1),{x:i,y:a}}const el=Qe(0);function tl(e){const t=Vt(e);return Dt()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:el}function ll(e,t,l,o){void 0===t&&(t=!1),void 0===l&&(l=!1);const n=e.getBoundingClientRect(),r=Gt(e);let i=Qe(1);t&&(o?Ot(o)&&(i=Qt(o)):i=Qt(e));const a=function(e,t,l){return void 0===t&&(t=!1),!(!l||t&&l!==Vt(e))&&t}(r,l,o)?tl(r):Qe(0);let c=(n.left+a.x)/i.x,s=(n.top+a.y)/i.y,d=n.width/i.x,h=n.height/i.y;if(r){const e=Vt(r),t=o&&Ot(o)?Vt(o):o;let l=e,n=Jt(l);for(;n&&o&&t!==l;){const e=Qt(n),t=n.getBoundingClientRect(),o=Wt(n),r=t.left+(n.clientLeft+parseFloat(o.paddingLeft))*e.x,i=t.top+(n.clientTop+parseFloat(o.paddingTop))*e.y;c*=e.x,s*=e.y,d*=e.x,h*=e.y,c+=r,s+=i,l=Vt(n),n=Jt(l)}}return Zt({width:d,height:h,x:c,y:s})}function ol(e,t){const l=Ft(e).scrollLeft;return t?t.left+l:ll(Ht(e)).left+l}function nl(e,t){const l=e.getBoundingClientRect();return{x:l.left+t.scrollLeft-ol(e,l),y:l.top+t.scrollTop}}const rl=new Set(["absolute","fixed"]);function il(e,t,l){let o;if("viewport"===t)o=function(e,t){const l=Vt(e),o=Ht(e),n=l.visualViewport;let r=o.clientWidth,i=o.clientHeight,a=0,c=0;if(n){r=n.width,i=n.height;const e=Dt();(!e||e&&"fixed"===t)&&(a=n.offsetLeft,c=n.offsetTop)}const s=ol(o);if(s<=0){const e=o.ownerDocument,t=e.body,l=getComputedStyle(t),n="CSS1Compat"===e.compatMode&&parseFloat(l.marginLeft)+parseFloat(l.marginRight)||0,i=Math.abs(o.clientWidth-t.clientWidth-n);i<=25&&(r-=i)}else s<=25&&(r+=s);return{width:r,height:i,x:a,y:c}}(e,l);else if("document"===t)o=function(e){const t=Ht(e),l=Ft(e),o=e.ownerDocument.body,n=Je(t.scrollWidth,t.clientWidth,o.scrollWidth,o.clientWidth),r=Je(t.scrollHeight,t.clientHeight,o.scrollHeight,o.clientHeight);let i=-l.scrollLeft+ol(e);const a=-l.scrollTop;return"rtl"===Wt(o).direction&&(i+=Je(t.clientWidth,o.clientWidth)-n),{width:n,height:r,x:i,y:a}}(Ht(e));else if(Ot(t))o=function(e,t){const l=ll(e,!0,"fixed"===t),o=l.top+e.clientTop,n=l.left+e.clientLeft,r=zt(e)?Qt(e):Qe(1);return{width:e.clientWidth*r.x,height:e.clientHeight*r.y,x:n*r.x,y:o*r.y}}(t,l);else{const l=tl(e);o={x:t.x-l.x,y:t.y-l.y,width:t.width,height:t.height}}return Zt(o)}function al(e,t){const l=qt(e);return!(l===t||!Ot(l)||Ut(l))&&("fixed"===Wt(l).position||al(l,t))}function cl(e,t,l){const o=zt(t),n=Ht(t),r="fixed"===l,i=ll(e,!0,r,t);let a={scrollLeft:0,scrollTop:0};const c=Qe(0);function s(){c.x=ol(n)}if(o||!o&&!r)if(("body"!==yt(t)||At(n))&&(a=Ft(t)),o){const e=ll(t,!0,r,t);c.x=e.x+t.clientLeft,c.y=e.y+t.clientTop}else n&&s();r&&!o&&n&&s();const d=!n||o||r?Qe(0):nl(n,a);return{x:i.left+a.scrollLeft-c.x-d.x,y:i.top+a.scrollTop-c.y-d.y,width:i.width,height:i.height}}function sl(e){return"static"===Wt(e).position}function dl(e,t){if(!zt(e)||"fixed"===Wt(e).position)return null;if(t)return t(e);let l=e.offsetParent;return Ht(e)===l&&(l=l.ownerDocument.body),l}function hl(e,t){const l=Vt(e);if(kt(e))return l;if(!zt(e)){let t=qt(e);for(;t&&!Ut(t);){if(Ot(t)&&!sl(t))return t;t=qt(t)}return l}let o=dl(e,t);for(;o&&Lt(o)&&sl(o);)o=dl(o,t);return o&&Ut(o)&&sl(o)&&!It(o)?l:o||function(e){let t=qt(e);for(;zt(t)&&!Ut(t);){if(It(t))return t;if(kt(t))return null;t=qt(t)}return null}(e)||l}const ul={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:l,offsetParent:o,strategy:n}=e;const r="fixed"===n,i=Ht(o),a=!!t&&kt(t.floating);if(o===i||a&&r)return l;let c={scrollLeft:0,scrollTop:0},s=Qe(1);const d=Qe(0),h=zt(o);if((h||!h&&!r)&&(("body"!==yt(o)||At(i))&&(c=Ft(o)),zt(o))){const e=ll(o);s=Qt(o),d.x=e.x+o.clientLeft,d.y=e.y+o.clientTop}const u=!i||h||r?Qe(0):nl(i,c);return{width:l.width*s.x,height:l.height*s.y,x:l.x*s.x-c.scrollLeft*s.x+d.x+u.x,y:l.y*s.y-c.scrollTop*s.y+d.y+u.y}},getDocumentElement:Ht,getClippingRect:function(e){let{element:t,boundary:l,rootBoundary:o,strategy:n}=e;const r=[..."clippingAncestors"===l?kt(t)?[]:function(e,t){const l=t.get(e);if(l)return l;let o=Kt(e,[],!1).filter(e=>Ot(e)&&"body"!==yt(e)),n=null;const r="fixed"===Wt(e).position;let i=r?qt(e):e;for(;Ot(i)&&!Ut(i);){const t=Wt(i),l=It(i);l||"fixed"!==t.position||(n=null),(r?!l&&!n:!l&&"static"===t.position&&n&&rl.has(n.position)||At(i)&&!l&&al(e,i))?o=o.filter(e=>e!==i):n=t,i=qt(i)}return t.set(e,o),o}(t,this._c):[].concat(l),o],i=r[0],a=r.reduce((e,l)=>{const o=il(t,l,n);return e.top=Je(o.top,e.top),e.right=Ke(o.right,e.right),e.bottom=Ke(o.bottom,e.bottom),e.left=Je(o.left,e.left),e},il(t,i,n));return{width:a.right-a.left,height:a.bottom-a.top,x:a.left,y:a.top}},getOffsetParent:hl,getElementRects:async function(e){const t=this.getOffsetParent||hl,l=this.getDimensions,o=await l(e.floating);return{reference:cl(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}},getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){const{width:t,height:l}=Xt(e);return{width:t,height:l}},getScale:Qt,isElement:Ot,isRTL:function(e){return"rtl"===Wt(e).direction}};function vl(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function fl(e,t,l,o){void 0===o&&(o={});const{ancestorScroll:n=!0,ancestorResize:r=!0,elementResize:i="function"==typeof ResizeObserver,layoutShift:a="function"==typeof IntersectionObserver,animationFrame:c=!1}=o,s=Gt(e),d=n||r?[...s?Kt(s):[],...Kt(t)]:[];d.forEach(e=>{n&&e.addEventListener("scroll",l,{passive:!0}),r&&e.addEventListener("resize",l)});const h=s&&a?function(e,t){let l,o=null;const n=Ht(e);function r(){var e;clearTimeout(l),null==(e=o)||e.disconnect(),o=null}return function i(a,c){void 0===a&&(a=!1),void 0===c&&(c=1),r();const s=e.getBoundingClientRect(),{left:d,top:h,width:u,height:v}=s;if(a||t(),!u||!v)return;const f={rootMargin:-Ge(h)+"px "+-Ge(n.clientWidth-(d+u))+"px "+-Ge(n.clientHeight-(h+v))+"px "+-Ge(d)+"px",threshold:Je(0,Ke(1,c))||1};let p=!0;function g(t){const o=t[0].intersectionRatio;if(o!==c){if(!p)return i();o?i(!1,o):l=setTimeout(()=>{i(!1,1e-7)},1e3)}1!==o||vl(s,e.getBoundingClientRect())||i(),p=!1}try{o=new IntersectionObserver(g,{...f,root:n.ownerDocument})}catch(e){o=new IntersectionObserver(g,f)}o.observe(e)}(!0),r}(s,l):null;let u,v=-1,f=null;i&&(f=new ResizeObserver(e=>{let[o]=e;o&&o.target===s&&f&&(f.unobserve(t),cancelAnimationFrame(v),v=requestAnimationFrame(()=>{var e;null==(e=f)||e.observe(t)})),l()}),s&&!c&&f.observe(s),f.observe(t));let p=c?ll(e):null;return c&&function t(){const o=ll(e);p&&!vl(p,o)&&l();p=o,u=requestAnimationFrame(t)}(),l(),()=>{var e;d.forEach(e=>{n&&e.removeEventListener("scroll",l),r&&e.removeEventListener("resize",l)}),null==h||h(),null==(e=f)||e.disconnect(),f=null,c&&cancelAnimationFrame(u)}}const pl=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var l,o;const{x:n,y:r,placement:i,middlewareData:a}=t,c=await async function(e,t){const{placement:l,platform:o,elements:n}=e,r=await(null==o.isRTL?void 0:o.isRTL(n.floating)),i=nt(l),a=rt(l),c="y"===st(l),s=Ct.has(i)?-1:1,d=r&&c?-1:1,h=ot(t,e);let{mainAxis:u,crossAxis:v,alignmentAxis:f}="number"==typeof h?{mainAxis:h,crossAxis:0,alignmentAxis:null}:{mainAxis:h.mainAxis||0,crossAxis:h.crossAxis||0,alignmentAxis:h.alignmentAxis};return a&&"number"==typeof f&&(v="end"===a?-1*f:f),c?{x:v*d,y:u*s}:{x:u*s,y:v*d}}(t,e);return i===(null==(l=a.offset)?void 0:l.placement)&&null!=(o=a.arrow)&&o.alignmentOffset?{}:{x:n+c.x,y:r+c.y,data:{...c,placement:i}}}}},gl=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){const{x:l,y:o,placement:n}=t,{mainAxis:r=!0,crossAxis:i=!1,limiter:a={fn:e=>{let{x:t,y:l}=e;return{x:t,y:l}}},...c}=ot(e,t),s={x:l,y:o},d=await bt(t,c),h=st(nt(n)),u=it(h);let v=s[u],f=s[h];if(r){const e="y"===u?"bottom":"right";v=lt(v+d["y"===u?"top":"left"],v,v-d[e])}if(i){const e="y"===h?"bottom":"right";f=lt(f+d["y"===h?"top":"left"],f,f-d[e])}const p=a.fn({...t,[u]:v,[h]:f});return{...p,data:{x:p.x-l,y:p.y-o,enabled:{[u]:r,[h]:i}}}}}},wl=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var l,o;const{placement:n,middlewareData:r,rects:i,initialPlacement:a,platform:c,elements:s}=t,{mainAxis:d=!0,crossAxis:h=!0,fallbackPlacements:u,fallbackStrategy:v="bestFit",fallbackAxisSideDirection:f="none",flipAlignment:p=!0,...g}=ot(e,t);if(null!=(l=r.arrow)&&l.alignmentOffset)return{};const w=nt(n),m=st(a),_=nt(a)===a,Z=await(null==c.isRTL?void 0:c.isRTL(s.floating)),x=u||(_||!p?[mt(a)]:function(e){const t=mt(e);return[ut(e),t,ut(t)]}(a)),b="none"!==f;!u&&b&&x.push(...wt(a,p,f,Z));const C=[a,...x],M=await bt(t,g),y=[];let V=(null==(o=r.flip)?void 0:o.overflows)||[];if(d&&y.push(M[w]),h){const e=ht(n,i,Z);y.push(M[e[0]],M[e[1]])}if(V=[...V,{placement:n,overflows:y}],!y.every(e=>e<=0)){var H,P;const e=((null==(H=r.flip)?void 0:H.index)||0)+1,t=C[e];if(t){if(!("alignment"===h&&m!==st(t))||V.every(e=>st(e.placement)!==m||e.overflows[0]>0))return{data:{index:e,overflows:V},reset:{placement:t}}}let l=null==(P=V.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0])?void 0:P.placement;if(!l)switch(v){case"bestFit":{var O;const e=null==(O=V.filter(e=>{if(b){const t=st(e.placement);return t===m||"y"===t}return!0}).map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0])?void 0:O[0];e&&(l=e);break}case"initialPlacement":l=a}if(n!==l)return{reset:{placement:l}}}return{}}}},ml=(e,t,l)=>{const o=new Map,n={platform:ul,...l},r={...n.platform,_c:o};return(async(e,t,l)=>{const{placement:o="bottom",strategy:n="absolute",middleware:r=[],platform:i}=l,a=r.filter(Boolean),c=await(null==i.isRTL?void 0:i.isRTL(t));let s=await i.getElementRects({reference:e,floating:t,strategy:n}),{x:d,y:h}=xt(s,o,c),u=o,v={},f=0;for(let l=0;l<a.length;l++){const{name:r,fn:p}=a[l],{x:g,y:w,data:m,reset:_}=await p({x:d,y:h,initialPlacement:o,placement:u,strategy:n,middlewareData:v,rects:s,platform:i,elements:{reference:e,floating:t}});d=null!=g?g:d,h=null!=w?w:h,v={...v,[r]:{...v[r],...m}},_&&f<=50&&(f++,"object"==typeof _&&(_.placement&&(u=_.placement),_.rects&&(s=!0===_.rects?await i.getElementRects({reference:e,floating:t,strategy:n}):_.rects),({x:d,y:h}=xt(s,u,c))),l=-1)}return{x:d,y:h,placement:u,strategy:n,middlewareData:v}})(e,t,{...n,platform:r})};function _l(e,t,l){return new Promise(o=>{if((null==l?void 0:l.duration)===1/0)throw new Error("Promise-based animations must be finite.");const n=e.animate(t,Object.assign(Object.assign({},l),{duration:Zl()?0:null==l?void 0:l.duration}));n.addEventListener("cancel",o,{once:!0}),n.addEventListener("finish",o,{once:!0})})}function Zl(){return window.matchMedia("(prefers-reduced-motion: reduce)").matches}const xl=new Map,bl=new WeakMap;function Cl(e,t){const l=bl.get(e);if(null==l?void 0:l[t])return l[t];const o=xl.get(t);return o||{keyframes:[],options:{duration:0}}}function Ml(e,t){xl.set(e,function(e){return null!=e?e:{keyframes:[],options:{duration:0}}}(t))}class yl extends je{constructor(){super(...arguments),this.myDropdown=We(),this.dropdownMenuId=function(e="",t=""){return`id-${Math.random().toString().substring(2,6)}-sgds-${e}-${t}`}("dropdown-menu","div"),this.noFlip=!1,this.menuAlignRight=!1,this.drop="down",this.floatingOpts={},this.menuIsOpen=!1,this.close="default",this.disabled=!1,this.readonly=!1,this.menuRef=We(),this._handleClickOutOfElement=e=>{this.menuIsOpen&&(e.composedPath().includes(this)||this.hideMenu(!0))}}connectedCallback(){super.connectedCallback(),"inside"!==this.close&&document.addEventListener("click",this._handleClickOutOfElement),this.addEventListener("keydown",this._handleKeyboardMenuEvent)}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("click",this._handleClickOutOfElement),this.removeEventListener("keydown",this._handleKeyboardMenuEvent),this._cleanupAutoUpdate&&(this._cleanupAutoUpdate(),this._cleanupAutoUpdate=void 0)}firstUpdated(e){super.firstUpdated(e),this.menuIsOpen&&requestAnimationFrame(async()=>{await this.updateFloatingPosition(),this._startAutoUpdate()})}async showMenu(){if(!this.disabled&&!this.menuIsOpen){if(this.menuIsOpen=!0,this.emit("sgds-show"),await this.updateFloatingPosition(),this._startAutoUpdate(),this.menuRef.value){const e=(this.menuRef.value.getAttribute("data-placement")||"").startsWith("top")?"4px":"-4px",{options:t}=Cl(this,"dropdown.show");await _l(this.menuRef.value,[{opacity:0,transform:`translateY(${e})`},{opacity:1,transform:"translateY(0)"}],t)}this.emit("sgds-after-show")}}_startAutoUpdate(){this.myDropdown.value&&this.menuRef.value&&(this._cleanupAutoUpdate=fl(this.myDropdown.value,this.menuRef.value,()=>this.updateFloatingPosition()))}async hideMenu(e){if(this.menuIsOpen){if(this.emit("sgds-hide",{detail:{isOutside:e}}),this.menuRef.value){const e=(this.menuRef.value.getAttribute("data-placement")||"").startsWith("top")?"4px":"-4px",{options:t}=Cl(this,"dropdown.hide");await _l(this.menuRef.value,[{opacity:1,transform:"translateY(0)"},{opacity:0,transform:`translateY(${e})`}],t)}this.menuIsOpen=!1,this.emit("sgds-after-hide"),this._cleanupAutoUpdate&&(this._cleanupAutoUpdate(),this._cleanupAutoUpdate=void 0)}}toggleMenu(){this.menuIsOpen?this.hideMenu():this.showMenu()}_handleKeyboardMenuEvent(e){if(!this.readonly)switch(e.key){case"ArrowDown":case"ArrowUp":e.preventDefault(),this.menuIsOpen||this.showMenu();break;case"Escape":this.hideMenu()}}mergeMiddleware(e,t){const l=e=>{var t;return(null==e?void 0:e.name)||(null===(t=null==e?void 0:e.constructor)||void 0===t?void 0:t.name)},o=t.map(l),n=e.map(e=>{const n=l(e),r=o.indexOf(n);return-1!==r?t[r]:e}).concat(t.filter(t=>!e.some(e=>l(e)===l(t))));return n}async updateFloatingPosition(){if(!this.myDropdown.value||!this.menuRef.value)return;let e="bottom-start";switch(this.drop){case"up":e=this.menuAlignRight?"top-end":"top-start";break;case"right":e="right-start";break;case"left":e="left-start";break;case"down":e=this.menuAlignRight?"bottom-end":"bottom-start";break;default:e="bottom-start"}const t=[pl(8),this.noFlip?void 0:wl(),gl()].filter(Boolean);let l=t;Array.isArray(this.floatingOpts.middleware)&&this.floatingOpts.middleware.length>0&&(l=this.mergeMiddleware(t,this.floatingOpts.middleware.filter(Boolean)));const o=Object.assign(Object.assign({strategy:"fixed",placement:e},this.floatingOpts),{middleware:l}),{x:n,y:r,strategy:i,placement:a}=await ml(this.myDropdown.value,this.menuRef.value,o);this.menuRef.value.setAttribute("data-placement",a),Object.assign(this.menuRef.value.style,{position:i,left:`${n}px`,top:`${r}px`})}}e([He({type:Boolean,state:!0})],yl.prototype,"noFlip",void 0),e([He({type:Boolean,reflect:!0,state:!0})],yl.prototype,"menuAlignRight",void 0),e([He({type:String,reflect:!0,state:!0})],yl.prototype,"drop",void 0),e([He({type:Object})],yl.prototype,"floatingOpts",void 0),e([He({type:Boolean,reflect:!0})],yl.prototype,"menuIsOpen",void 0),e([He({type:Boolean,reflect:!0})],yl.prototype,"disabled",void 0),e([He({type:Boolean,reflect:!0})],yl.prototype,"readonly",void 0),Ml("dropdown.show",{keyframes:[],options:{duration:200,easing:"cubic-bezier(0.1, 0, 0.5, 0)"}}),Ml("dropdown.hide",{keyframes:[],options:{duration:200,easing:"cubic-bezier(0.15, 0.6, 0.6, 1)"}});class Vl extends yl{constructor(){super(...arguments),this.nextDropdownItemNo=0,this.prevDropdownItemNo=-1,this.hidden=!1}connectedCallback(){super.connectedCallback(),this.addEventListener("sgds-hide",this._resetMenu)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("sgds-hide",this._resetMenu)}firstUpdated(e){super.firstUpdated(e),this.addEventListener("keydown",this._handleKeyboardMenuItemsEvent)}handleSelectSlot(e){const t=this._getActiveMenuItems(),l=t.find(t=>e.composedPath().includes(t));if(!l)return;const o=t.indexOf(l);this.nextDropdownItemNo=o+1,this.prevDropdownItemNo=o<=0?t.length-1:o-1,l.disabled||(this.emit("sgds-select",{detail:{item:l}}),"outside"!==this.close&&this.hideMenu())}_resetMenu(){this.nextDropdownItemNo=0,this.prevDropdownItemNo=-1;this._getMenuItems().forEach(e=>{var t;const l=null===(t=null==e?void 0:e.shadowRoot)||void 0===t?void 0:t.querySelector(".dropdown-item");l&&l.removeAttribute("tabindex")})}_handleKeyboardMenuItemsEvent(e){if(this.readonly)return;const t=this._getActiveMenuItems();if(0!==t.length)switch(e.key){case"ArrowDown":e.preventDefault(),this._setMenuItem(this.nextDropdownItemNo);break;case"ArrowUp":e.preventDefault(),this._setMenuItem(this.prevDropdownItemNo);break;case"Tab":if(!this.menuIsOpen)return;e.preventDefault(),e.shiftKey?this._setMenuItem(this.prevDropdownItemNo):this._setMenuItem(this.nextDropdownItemNo);break;case"Enter":t.find(t=>e.composedPath().includes(t))&&this.handleSelectSlot(e);break}}_getMenuItems(){var e,t;if(this.shadowRoot.querySelector("slot#default")){return null===(e=this.shadowRoot.querySelector("slot#default"))||void 0===e?void 0:e.assignedElements({flatten:!0}).filter(e=>!e.classList.contains("empty-menu")&&!e.hasAttribute("hidden"))}if(null===(t=this.menu)||void 0===t?void 0:t.hasChildNodes()){return[...Array.from(this.menu.children)]}return[]}_getActiveMenuItems(){return this._getMenuItems().filter(e=>!e.disabled&&!e.hidden)}_setMenuItem(e){const t=this._getActiveMenuItems();if(0===t.length)return;const l=(e%t.length+t.length)%t.length,o=t[l];this.emit("i-sgds-option-focus",{detail:{option:o}}),this.nextDropdownItemNo=(l+1)%t.length,this.prevDropdownItemNo=(l-1+t.length)%t.length,t.forEach(e=>{const t=e.shadowRoot.querySelector(".dropdown-item");t.setAttribute("tabindex",e===o?"0":"-1"),e===o&&t.focus()})}}var Hl,Pl;function Ol(e,t){const l=Object.assign({waitUntilFirstUpdate:!1},t);return(t,o)=>{const{update:n}=t;if(e in t){const r=e;t.update=function(e){if(e.has(r)){const t=e.get(r),n=this[r];t!==n&&(l.waitUntilFirstUpdate&&!this.hasUpdated||this[o](t,n))}n.call(this,e)}}}}Vl.styles=yl.styles,e([(Hl="ul.dropdown-menu",(e,t,l)=>{const o=e=>{const l=e.renderRoot?.querySelector(Hl)??null;if(null===l&&Pl&&!e.hasUpdated){const e="object"==typeof t?t.name:t;ze("",`@query'd field ${JSON.stringify(String(e))} with the 'cache' flag set for selector '${Hl}' has been accessed before the first update and returned null. This is expected if the renderRoot tree has not been provided beforehand (e.g. via Declarative Shadow DOM). Therefore the value hasn't been cached.`)}return l};if(Pl){const{get:n,set:r}="object"==typeof t?e:l??(()=>{const e=Symbol(`${String(t)} (@query() cache)`);return{get(){return this[e]},set(t){this[e]=t}}})();return Oe(e,t,{get(){let e=n.call(this);return void 0===e&&(e=o(this),(null!==e||this.hasUpdated)&&r.call(this,e)),e}})}return Oe(e,t,{get(){return o(this)}})})],Vl.prototype,"menu",void 0),e([Pe()],Vl.prototype,"nextDropdownItemNo",void 0),e([Pe()],Vl.prototype,"prevDropdownItemNo",void 0),e([He({type:Boolean,reflect:!0})],Vl.prototype,"hidden",void 0);var zl=i`:host([menuisopen]:not([disabled]):not([readonly])) .dropdown-menu{display:block}.dropdown-menu{background-clip:padding-box;background-color:var(--sgds-surface-default);border-radius:var(--sgds-border-radius-md);box-shadow:0 0 1px 0 hsla(0,0%,5%,.12),0 4px 8px 0 hsla(0,0%,5%,.12);color:var(--sgds-color-default);display:none;list-style:none;margin:0;max-height:var(--sgds-dimension-480);min-width:var(--sgds-dimension-192);overflow-y:auto;padding:var(--sgds-padding-xs) 0;position:absolute;text-align:left;z-index:var(--sgds-z-index-floating)}.nav-tabs .dropdown-menu{border-top-left-radius:0;border-top-right-radius:0;margin-top:calc(var(--sgds-nav-tabs-border-width)*-1)}@media (min-width:512px){.navbar-expand-sm .navbar-nav .dropdown-menu{position:absolute}}@media (min-width:768px){.navbar-expand-md .navbar-nav .dropdown-menu{position:absolute}}@media (min-width:1024px){.navbar-expand-lg .navbar-nav .dropdown-menu{position:absolute}}@media (min-width:1280px){.navbar-expand-xl .navbar-nav .dropdown-menu{position:absolute}}@media (min-width:1440px){.navbar-expand-xxl .navbar-nav .dropdown-menu{position:absolute}}.navbar-expand .navbar-nav .dropdown-menu{position:absolute}.sgds.navbar .dropdown-menu.megamenu{left:0;right:0;width:100%}.sgds.combobox>.dropdown-menu{min-width:100%}`,Bl=i`.dropdown{display:flex;height:inherit;position:relative}.dropdown-menu{max-width:var(--sgds-dimension-320)}.toggler-container{flex:1;pointer-events:none}.toggler-container ::slotted(*){pointer-events:auto}`;class jl extends Vl{constructor(){super(),this.noFlip=!1,this.menuAlignRight=!1,this.drop="down",this.close="default",this.menuRef=Ye()}async _handleClick(e){if(this.disabled)return;const t=this._toggler[0];if(!t)return void this.toggleMenu();if(e.composedPath().includes(t))return void this.toggleMenu();if(!this.menuIsOpen)return;const l=this.menuRef.value;l&&e.composedPath().includes(l)||this.hideMenu()}_handleCloseMenu(){const e=this._toggler[0];null==e||e.focus()}async connectedCallback(){super.connectedCallback(),this.addEventListener("sgds-hide",this._handleCloseMenu)}async disconnectedCallback(){this.removeEventListener("sgds-hide",this._handleCloseMenu)}async firstUpdated(e){super.firstUpdated(e),this.menuIsOpen&&await this.updateFloatingPosition(),this._handleDisabled()}_handleTogglerSlotChange(e){const t=e.target.assignedElements({flatten:!0})[0];t&&(t.setAttribute("aria-haspopup","menu"),t.setAttribute("aria-expanded",String(this.menuIsOpen)))}_handleMenuIsOpenChange(){const e=this._toggler[0];e&&e.setAttribute("aria-expanded",String(this.menuIsOpen))}_handleDisabled(){const e=this._toggler[0];e&&(this.disabled?e.setAttribute("disabled","true"):e.hasAttribute("disabled")&&e.removeAttribute("disabled"))}render(){return Q`
|
|
65
|
+
*/const We=()=>new Fe;class Fe{}const qe=new WeakMap;const Ye=Se(class extends Ue{render(e){return le}update(e,[t]){const l=t!==this._ref;return l&&void 0!==this._ref&&this._updateRefValue(void 0),(l||this._lastElementForRef!==this._element)&&(this._ref=t,this._context=e.options?.host,this._updateRefValue(this._element=e.element)),le}_updateRefValue(e){if(this.isConnected||(e=void 0),"function"==typeof this._ref){const t=this._context??globalThis;let l=qe.get(t);void 0===l&&(l=new WeakMap,qe.set(t,l)),void 0!==l.get(this._ref)&&this._ref.call(this._context,void 0),l.set(this._ref,e),void 0!==e&&this._ref.call(this._context,e)}else this._ref.value=e}get _lastElementForRef(){return"function"==typeof this._ref?qe.get(this._context??globalThis)?.get(this._ref):this._ref?.value}disconnected(){this._lastElementForRef===this._element&&this._updateRefValue(void 0)}reconnected(){this._updateRefValue(this._element)}}),Ke=Math.min,Je=Math.max,Xe=Math.round,Ge=Math.floor,Qe=e=>({x:e,y:e}),et={left:"right",right:"left",bottom:"top",top:"bottom"},tt={start:"end",end:"start"};function lt(e,t,l){return Je(e,Ke(t,l))}function ot(e,t){return"function"==typeof e?e(t):e}function nt(e){return e.split("-")[0]}function rt(e){return e.split("-")[1]}function it(e){return"x"===e?"y":"x"}function at(e){return"y"===e?"height":"width"}const ct=new Set(["top","bottom"]);function st(e){return ct.has(nt(e))?"y":"x"}function dt(e){return it(st(e))}function ht(e,t,l){void 0===l&&(l=!1);const o=rt(e),n=dt(e),r=at(n);let i="x"===n?o===(l?"end":"start")?"right":"left":"start"===o?"bottom":"top";return t.reference[r]>t.floating[r]&&(i=mt(i)),[i,mt(i)]}function ut(e){return e.replace(/start|end/g,e=>tt[e])}const vt=["left","right"],ft=["right","left"],pt=["top","bottom"],gt=["bottom","top"];function wt(e,t,l,o){const n=rt(e);let r=function(e,t,l){switch(e){case"top":case"bottom":return l?t?ft:vt:t?vt:ft;case"left":case"right":return t?pt:gt;default:return[]}}(nt(e),"start"===l,o);return n&&(r=r.map(e=>e+"-"+n),t&&(r=r.concat(r.map(ut)))),r}function mt(e){return e.replace(/left|right|bottom|top/g,e=>et[e])}function _t(e){return"number"!=typeof e?function(e){return{top:0,right:0,bottom:0,left:0,...e}}(e):{top:e,right:e,bottom:e,left:e}}function Zt(e){const{x:t,y:l,width:o,height:n}=e;return{width:o,height:n,top:l,left:t,right:t+o,bottom:l+n,x:t,y:l}}function bt(e,t,l){let{reference:o,floating:n}=e;const r=st(t),i=dt(t),a=at(i),c=nt(t),s="y"===r,d=o.x+o.width/2-n.width/2,h=o.y+o.height/2-n.height/2,u=o[a]/2-n[a]/2;let v;switch(c){case"top":v={x:d,y:o.y-n.height};break;case"bottom":v={x:d,y:o.y+o.height};break;case"right":v={x:o.x+o.width,y:h};break;case"left":v={x:o.x-n.width,y:h};break;default:v={x:o.x,y:o.y}}switch(rt(t)){case"start":v[i]-=u*(l&&s?-1:1);break;case"end":v[i]+=u*(l&&s?-1:1)}return v}async function xt(e,t){var l;void 0===t&&(t={});const{x:o,y:n,platform:r,rects:i,elements:a,strategy:c}=e,{boundary:s="clippingAncestors",rootBoundary:d="viewport",elementContext:h="floating",altBoundary:u=!1,padding:v=0}=ot(t,e),f=_t(v),p=a[u?"floating"===h?"reference":"floating":h],g=Zt(await r.getClippingRect({element:null==(l=await(null==r.isElement?void 0:r.isElement(p)))||l?p:p.contextElement||await(null==r.getDocumentElement?void 0:r.getDocumentElement(a.floating)),boundary:s,rootBoundary:d,strategy:c})),w="floating"===h?{x:o,y:n,width:i.floating.width,height:i.floating.height}:i.reference,m=await(null==r.getOffsetParent?void 0:r.getOffsetParent(a.floating)),_=await(null==r.isElement?void 0:r.isElement(m))&&await(null==r.getScale?void 0:r.getScale(m))||{x:1,y:1},Z=Zt(r.convertOffsetParentRelativeRectToViewportRelativeRect?await r.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:w,offsetParent:m,strategy:c}):w);return{top:(g.top-Z.top+f.top)/_.y,bottom:(Z.bottom-g.bottom+f.bottom)/_.y,left:(g.left-Z.left+f.left)/_.x,right:(Z.right-g.right+f.right)/_.x}}const Ct=new Set(["left","top"]);function Mt(){return"undefined"!=typeof window}function yt(e){return Pt(e)?(e.nodeName||"").toLowerCase():"#document"}function Vt(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function Ht(e){var t;return null==(t=(Pt(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function Pt(e){return!!Mt()&&(e instanceof Node||e instanceof Vt(e).Node)}function Ot(e){return!!Mt()&&(e instanceof Element||e instanceof Vt(e).Element)}function zt(e){return!!Mt()&&(e instanceof HTMLElement||e instanceof Vt(e).HTMLElement)}function Bt(e){return!(!Mt()||"undefined"==typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof Vt(e).ShadowRoot)}const jt=new Set(["inline","contents"]);function At(e){const{overflow:t,overflowX:l,overflowY:o,display:n}=Wt(e);return/auto|scroll|overlay|hidden|clip/.test(t+o+l)&&!jt.has(n)}const $t=new Set(["table","td","th"]);function Lt(e){return $t.has(yt(e))}const St=[":popover-open",":modal"];function kt(e){return St.some(t=>{try{return e.matches(t)}catch(e){return!1}})}const Et=["transform","translate","scale","rotate","perspective"],Tt=["transform","translate","scale","rotate","perspective","filter"],Rt=["paint","layout","strict","content"];function It(e){const t=Dt(),l=Ot(e)?Wt(e):e;return Et.some(e=>!!l[e]&&"none"!==l[e])||!!l.containerType&&"normal"!==l.containerType||!t&&!!l.backdropFilter&&"none"!==l.backdropFilter||!t&&!!l.filter&&"none"!==l.filter||Tt.some(e=>(l.willChange||"").includes(e))||Rt.some(e=>(l.contain||"").includes(e))}function Dt(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}const Nt=new Set(["html","body","#document"]);function Ut(e){return Nt.has(yt(e))}function Wt(e){return Vt(e).getComputedStyle(e)}function Ft(e){return Ot(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function qt(e){if("html"===yt(e))return e;const t=e.assignedSlot||e.parentNode||Bt(e)&&e.host||Ht(e);return Bt(t)?t.host:t}function Yt(e){const t=qt(e);return Ut(t)?e.ownerDocument?e.ownerDocument.body:e.body:zt(t)&&At(t)?t:Yt(t)}function Kt(e,t,l){var o;void 0===t&&(t=[]),void 0===l&&(l=!0);const n=Yt(e),r=n===(null==(o=e.ownerDocument)?void 0:o.body),i=Vt(n);if(r){const e=Jt(i);return t.concat(i,i.visualViewport||[],At(n)?n:[],e&&l?Kt(e):[])}return t.concat(n,Kt(n,[],l))}function Jt(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function Xt(e){const t=Wt(e);let l=parseFloat(t.width)||0,o=parseFloat(t.height)||0;const n=zt(e),r=n?e.offsetWidth:l,i=n?e.offsetHeight:o,a=Xe(l)!==r||Xe(o)!==i;return a&&(l=r,o=i),{width:l,height:o,$:a}}function Gt(e){return Ot(e)?e:e.contextElement}function Qt(e){const t=Gt(e);if(!zt(t))return Qe(1);const l=t.getBoundingClientRect(),{width:o,height:n,$:r}=Xt(t);let i=(r?Xe(l.width):l.width)/o,a=(r?Xe(l.height):l.height)/n;return i&&Number.isFinite(i)||(i=1),a&&Number.isFinite(a)||(a=1),{x:i,y:a}}const el=Qe(0);function tl(e){const t=Vt(e);return Dt()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:el}function ll(e,t,l,o){void 0===t&&(t=!1),void 0===l&&(l=!1);const n=e.getBoundingClientRect(),r=Gt(e);let i=Qe(1);t&&(o?Ot(o)&&(i=Qt(o)):i=Qt(e));const a=function(e,t,l){return void 0===t&&(t=!1),!(!l||t&&l!==Vt(e))&&t}(r,l,o)?tl(r):Qe(0);let c=(n.left+a.x)/i.x,s=(n.top+a.y)/i.y,d=n.width/i.x,h=n.height/i.y;if(r){const e=Vt(r),t=o&&Ot(o)?Vt(o):o;let l=e,n=Jt(l);for(;n&&o&&t!==l;){const e=Qt(n),t=n.getBoundingClientRect(),o=Wt(n),r=t.left+(n.clientLeft+parseFloat(o.paddingLeft))*e.x,i=t.top+(n.clientTop+parseFloat(o.paddingTop))*e.y;c*=e.x,s*=e.y,d*=e.x,h*=e.y,c+=r,s+=i,l=Vt(n),n=Jt(l)}}return Zt({width:d,height:h,x:c,y:s})}function ol(e,t){const l=Ft(e).scrollLeft;return t?t.left+l:ll(Ht(e)).left+l}function nl(e,t){const l=e.getBoundingClientRect();return{x:l.left+t.scrollLeft-ol(e,l),y:l.top+t.scrollTop}}const rl=new Set(["absolute","fixed"]);function il(e,t,l){let o;if("viewport"===t)o=function(e,t){const l=Vt(e),o=Ht(e),n=l.visualViewport;let r=o.clientWidth,i=o.clientHeight,a=0,c=0;if(n){r=n.width,i=n.height;const e=Dt();(!e||e&&"fixed"===t)&&(a=n.offsetLeft,c=n.offsetTop)}const s=ol(o);if(s<=0){const e=o.ownerDocument,t=e.body,l=getComputedStyle(t),n="CSS1Compat"===e.compatMode&&parseFloat(l.marginLeft)+parseFloat(l.marginRight)||0,i=Math.abs(o.clientWidth-t.clientWidth-n);i<=25&&(r-=i)}else s<=25&&(r+=s);return{width:r,height:i,x:a,y:c}}(e,l);else if("document"===t)o=function(e){const t=Ht(e),l=Ft(e),o=e.ownerDocument.body,n=Je(t.scrollWidth,t.clientWidth,o.scrollWidth,o.clientWidth),r=Je(t.scrollHeight,t.clientHeight,o.scrollHeight,o.clientHeight);let i=-l.scrollLeft+ol(e);const a=-l.scrollTop;return"rtl"===Wt(o).direction&&(i+=Je(t.clientWidth,o.clientWidth)-n),{width:n,height:r,x:i,y:a}}(Ht(e));else if(Ot(t))o=function(e,t){const l=ll(e,!0,"fixed"===t),o=l.top+e.clientTop,n=l.left+e.clientLeft,r=zt(e)?Qt(e):Qe(1);return{width:e.clientWidth*r.x,height:e.clientHeight*r.y,x:n*r.x,y:o*r.y}}(t,l);else{const l=tl(e);o={x:t.x-l.x,y:t.y-l.y,width:t.width,height:t.height}}return Zt(o)}function al(e,t){const l=qt(e);return!(l===t||!Ot(l)||Ut(l))&&("fixed"===Wt(l).position||al(l,t))}function cl(e,t,l){const o=zt(t),n=Ht(t),r="fixed"===l,i=ll(e,!0,r,t);let a={scrollLeft:0,scrollTop:0};const c=Qe(0);function s(){c.x=ol(n)}if(o||!o&&!r)if(("body"!==yt(t)||At(n))&&(a=Ft(t)),o){const e=ll(t,!0,r,t);c.x=e.x+t.clientLeft,c.y=e.y+t.clientTop}else n&&s();r&&!o&&n&&s();const d=!n||o||r?Qe(0):nl(n,a);return{x:i.left+a.scrollLeft-c.x-d.x,y:i.top+a.scrollTop-c.y-d.y,width:i.width,height:i.height}}function sl(e){return"static"===Wt(e).position}function dl(e,t){if(!zt(e)||"fixed"===Wt(e).position)return null;if(t)return t(e);let l=e.offsetParent;return Ht(e)===l&&(l=l.ownerDocument.body),l}function hl(e,t){const l=Vt(e);if(kt(e))return l;if(!zt(e)){let t=qt(e);for(;t&&!Ut(t);){if(Ot(t)&&!sl(t))return t;t=qt(t)}return l}let o=dl(e,t);for(;o&&Lt(o)&&sl(o);)o=dl(o,t);return o&&Ut(o)&&sl(o)&&!It(o)?l:o||function(e){let t=qt(e);for(;zt(t)&&!Ut(t);){if(It(t))return t;if(kt(t))return null;t=qt(t)}return null}(e)||l}const ul={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:l,offsetParent:o,strategy:n}=e;const r="fixed"===n,i=Ht(o),a=!!t&&kt(t.floating);if(o===i||a&&r)return l;let c={scrollLeft:0,scrollTop:0},s=Qe(1);const d=Qe(0),h=zt(o);if((h||!h&&!r)&&(("body"!==yt(o)||At(i))&&(c=Ft(o)),zt(o))){const e=ll(o);s=Qt(o),d.x=e.x+o.clientLeft,d.y=e.y+o.clientTop}const u=!i||h||r?Qe(0):nl(i,c);return{width:l.width*s.x,height:l.height*s.y,x:l.x*s.x-c.scrollLeft*s.x+d.x+u.x,y:l.y*s.y-c.scrollTop*s.y+d.y+u.y}},getDocumentElement:Ht,getClippingRect:function(e){let{element:t,boundary:l,rootBoundary:o,strategy:n}=e;const r=[..."clippingAncestors"===l?kt(t)?[]:function(e,t){const l=t.get(e);if(l)return l;let o=Kt(e,[],!1).filter(e=>Ot(e)&&"body"!==yt(e)),n=null;const r="fixed"===Wt(e).position;let i=r?qt(e):e;for(;Ot(i)&&!Ut(i);){const t=Wt(i),l=It(i);l||"fixed"!==t.position||(n=null),(r?!l&&!n:!l&&"static"===t.position&&n&&rl.has(n.position)||At(i)&&!l&&al(e,i))?o=o.filter(e=>e!==i):n=t,i=qt(i)}return t.set(e,o),o}(t,this._c):[].concat(l),o],i=r[0],a=r.reduce((e,l)=>{const o=il(t,l,n);return e.top=Je(o.top,e.top),e.right=Ke(o.right,e.right),e.bottom=Ke(o.bottom,e.bottom),e.left=Je(o.left,e.left),e},il(t,i,n));return{width:a.right-a.left,height:a.bottom-a.top,x:a.left,y:a.top}},getOffsetParent:hl,getElementRects:async function(e){const t=this.getOffsetParent||hl,l=this.getDimensions,o=await l(e.floating);return{reference:cl(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}},getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){const{width:t,height:l}=Xt(e);return{width:t,height:l}},getScale:Qt,isElement:Ot,isRTL:function(e){return"rtl"===Wt(e).direction}};function vl(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function fl(e,t,l,o){void 0===o&&(o={});const{ancestorScroll:n=!0,ancestorResize:r=!0,elementResize:i="function"==typeof ResizeObserver,layoutShift:a="function"==typeof IntersectionObserver,animationFrame:c=!1}=o,s=Gt(e),d=n||r?[...s?Kt(s):[],...Kt(t)]:[];d.forEach(e=>{n&&e.addEventListener("scroll",l,{passive:!0}),r&&e.addEventListener("resize",l)});const h=s&&a?function(e,t){let l,o=null;const n=Ht(e);function r(){var e;clearTimeout(l),null==(e=o)||e.disconnect(),o=null}return function i(a,c){void 0===a&&(a=!1),void 0===c&&(c=1),r();const s=e.getBoundingClientRect(),{left:d,top:h,width:u,height:v}=s;if(a||t(),!u||!v)return;const f={rootMargin:-Ge(h)+"px "+-Ge(n.clientWidth-(d+u))+"px "+-Ge(n.clientHeight-(h+v))+"px "+-Ge(d)+"px",threshold:Je(0,Ke(1,c))||1};let p=!0;function g(t){const o=t[0].intersectionRatio;if(o!==c){if(!p)return i();o?i(!1,o):l=setTimeout(()=>{i(!1,1e-7)},1e3)}1!==o||vl(s,e.getBoundingClientRect())||i(),p=!1}try{o=new IntersectionObserver(g,{...f,root:n.ownerDocument})}catch(e){o=new IntersectionObserver(g,f)}o.observe(e)}(!0),r}(s,l):null;let u,v=-1,f=null;i&&(f=new ResizeObserver(e=>{let[o]=e;o&&o.target===s&&f&&(f.unobserve(t),cancelAnimationFrame(v),v=requestAnimationFrame(()=>{var e;null==(e=f)||e.observe(t)})),l()}),s&&!c&&f.observe(s),f.observe(t));let p=c?ll(e):null;return c&&function t(){const o=ll(e);p&&!vl(p,o)&&l();p=o,u=requestAnimationFrame(t)}(),l(),()=>{var e;d.forEach(e=>{n&&e.removeEventListener("scroll",l),r&&e.removeEventListener("resize",l)}),null==h||h(),null==(e=f)||e.disconnect(),f=null,c&&cancelAnimationFrame(u)}}const pl=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var l,o;const{x:n,y:r,placement:i,middlewareData:a}=t,c=await async function(e,t){const{placement:l,platform:o,elements:n}=e,r=await(null==o.isRTL?void 0:o.isRTL(n.floating)),i=nt(l),a=rt(l),c="y"===st(l),s=Ct.has(i)?-1:1,d=r&&c?-1:1,h=ot(t,e);let{mainAxis:u,crossAxis:v,alignmentAxis:f}="number"==typeof h?{mainAxis:h,crossAxis:0,alignmentAxis:null}:{mainAxis:h.mainAxis||0,crossAxis:h.crossAxis||0,alignmentAxis:h.alignmentAxis};return a&&"number"==typeof f&&(v="end"===a?-1*f:f),c?{x:v*d,y:u*s}:{x:u*s,y:v*d}}(t,e);return i===(null==(l=a.offset)?void 0:l.placement)&&null!=(o=a.arrow)&&o.alignmentOffset?{}:{x:n+c.x,y:r+c.y,data:{...c,placement:i}}}}},gl=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){const{x:l,y:o,placement:n}=t,{mainAxis:r=!0,crossAxis:i=!1,limiter:a={fn:e=>{let{x:t,y:l}=e;return{x:t,y:l}}},...c}=ot(e,t),s={x:l,y:o},d=await xt(t,c),h=st(nt(n)),u=it(h);let v=s[u],f=s[h];if(r){const e="y"===u?"bottom":"right";v=lt(v+d["y"===u?"top":"left"],v,v-d[e])}if(i){const e="y"===h?"bottom":"right";f=lt(f+d["y"===h?"top":"left"],f,f-d[e])}const p=a.fn({...t,[u]:v,[h]:f});return{...p,data:{x:p.x-l,y:p.y-o,enabled:{[u]:r,[h]:i}}}}}},wl=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var l,o;const{placement:n,middlewareData:r,rects:i,initialPlacement:a,platform:c,elements:s}=t,{mainAxis:d=!0,crossAxis:h=!0,fallbackPlacements:u,fallbackStrategy:v="bestFit",fallbackAxisSideDirection:f="none",flipAlignment:p=!0,...g}=ot(e,t);if(null!=(l=r.arrow)&&l.alignmentOffset)return{};const w=nt(n),m=st(a),_=nt(a)===a,Z=await(null==c.isRTL?void 0:c.isRTL(s.floating)),b=u||(_||!p?[mt(a)]:function(e){const t=mt(e);return[ut(e),t,ut(t)]}(a)),x="none"!==f;!u&&x&&b.push(...wt(a,p,f,Z));const C=[a,...b],M=await xt(t,g),y=[];let V=(null==(o=r.flip)?void 0:o.overflows)||[];if(d&&y.push(M[w]),h){const e=ht(n,i,Z);y.push(M[e[0]],M[e[1]])}if(V=[...V,{placement:n,overflows:y}],!y.every(e=>e<=0)){var H,P;const e=((null==(H=r.flip)?void 0:H.index)||0)+1,t=C[e];if(t){if(!("alignment"===h&&m!==st(t))||V.every(e=>st(e.placement)!==m||e.overflows[0]>0))return{data:{index:e,overflows:V},reset:{placement:t}}}let l=null==(P=V.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0])?void 0:P.placement;if(!l)switch(v){case"bestFit":{var O;const e=null==(O=V.filter(e=>{if(x){const t=st(e.placement);return t===m||"y"===t}return!0}).map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0])?void 0:O[0];e&&(l=e);break}case"initialPlacement":l=a}if(n!==l)return{reset:{placement:l}}}return{}}}},ml=(e,t,l)=>{const o=new Map,n={platform:ul,...l},r={...n.platform,_c:o};return(async(e,t,l)=>{const{placement:o="bottom",strategy:n="absolute",middleware:r=[],platform:i}=l,a=r.filter(Boolean),c=await(null==i.isRTL?void 0:i.isRTL(t));let s=await i.getElementRects({reference:e,floating:t,strategy:n}),{x:d,y:h}=bt(s,o,c),u=o,v={},f=0;for(let l=0;l<a.length;l++){const{name:r,fn:p}=a[l],{x:g,y:w,data:m,reset:_}=await p({x:d,y:h,initialPlacement:o,placement:u,strategy:n,middlewareData:v,rects:s,platform:i,elements:{reference:e,floating:t}});d=null!=g?g:d,h=null!=w?w:h,v={...v,[r]:{...v[r],...m}},_&&f<=50&&(f++,"object"==typeof _&&(_.placement&&(u=_.placement),_.rects&&(s=!0===_.rects?await i.getElementRects({reference:e,floating:t,strategy:n}):_.rects),({x:d,y:h}=bt(s,u,c))),l=-1)}return{x:d,y:h,placement:u,strategy:n,middlewareData:v}})(e,t,{...n,platform:r})};function _l(e,t,l){return new Promise(o=>{if((null==l?void 0:l.duration)===1/0)throw new Error("Promise-based animations must be finite.");const n=e.animate(t,Object.assign(Object.assign({},l),{duration:Zl()?0:null==l?void 0:l.duration}));n.addEventListener("cancel",o,{once:!0}),n.addEventListener("finish",o,{once:!0})})}function Zl(){return window.matchMedia("(prefers-reduced-motion: reduce)").matches}const bl=new Map,xl=new WeakMap;function Cl(e,t){const l=xl.get(e);if(null==l?void 0:l[t])return l[t];const o=bl.get(t);return o||{keyframes:[],options:{duration:0}}}function Ml(e,t){bl.set(e,function(e){return null!=e?e:{keyframes:[],options:{duration:0}}}(t))}class yl extends je{constructor(){super(...arguments),this.myDropdown=We(),this.dropdownMenuId=function(e="",t=""){return`id-${Math.random().toString().substring(2,6)}-sgds-${e}-${t}`}("dropdown-menu","div"),this.noFlip=!1,this.menuAlignRight=!1,this.drop="down",this.floatingOpts={},this.menuIsOpen=!1,this.close="default",this.disabled=!1,this.readonly=!1,this.menuRef=We(),this._handleClickOutOfElement=e=>{this.menuIsOpen&&(e.composedPath().includes(this)||this.hideMenu(!0))}}connectedCallback(){super.connectedCallback(),"inside"!==this.close&&document.addEventListener("click",this._handleClickOutOfElement),this.addEventListener("keydown",this._handleKeyboardMenuEvent)}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("click",this._handleClickOutOfElement),this.removeEventListener("keydown",this._handleKeyboardMenuEvent),this._cleanupAutoUpdate&&(this._cleanupAutoUpdate(),this._cleanupAutoUpdate=void 0)}firstUpdated(e){super.firstUpdated(e),this.menuIsOpen&&requestAnimationFrame(async()=>{await this.updateFloatingPosition(),this._startAutoUpdate()})}async showMenu(){if(!this.disabled&&!this.menuIsOpen){if(this.menuIsOpen=!0,this.emit("sgds-show"),await this.updateFloatingPosition(),this._startAutoUpdate(),this.menuRef.value){const e=(this.menuRef.value.getAttribute("data-placement")||"").startsWith("top")?"4px":"-4px",{options:t}=Cl(this,"dropdown.show");await _l(this.menuRef.value,[{opacity:0,transform:`translateY(${e})`},{opacity:1,transform:"translateY(0)"}],t)}this.emit("sgds-after-show")}}_startAutoUpdate(){this.myDropdown.value&&this.menuRef.value&&(this._cleanupAutoUpdate=fl(this.myDropdown.value,this.menuRef.value,()=>this.updateFloatingPosition()))}async hideMenu(e){if(this.menuIsOpen){if(this.emit("sgds-hide",{detail:{isOutside:e}}),this.menuRef.value){const e=(this.menuRef.value.getAttribute("data-placement")||"").startsWith("top")?"4px":"-4px",{options:t}=Cl(this,"dropdown.hide");await _l(this.menuRef.value,[{opacity:1,transform:"translateY(0)"},{opacity:0,transform:`translateY(${e})`}],t)}this.menuIsOpen=!1,this.emit("sgds-after-hide"),this._cleanupAutoUpdate&&(this._cleanupAutoUpdate(),this._cleanupAutoUpdate=void 0)}}toggleMenu(){this.menuIsOpen?this.hideMenu():this.showMenu()}_handleKeyboardMenuEvent(e){if(!this.readonly)switch(e.key){case"ArrowDown":case"ArrowUp":e.preventDefault(),this.menuIsOpen||this.showMenu();break;case"Escape":this.hideMenu()}}mergeMiddleware(e,t){const l=e=>{var t;return(null==e?void 0:e.name)||(null===(t=null==e?void 0:e.constructor)||void 0===t?void 0:t.name)},o=t.map(l),n=e.map(e=>{const n=l(e),r=o.indexOf(n);return-1!==r?t[r]:e}).concat(t.filter(t=>!e.some(e=>l(e)===l(t))));return n}async updateFloatingPosition(){if(!this.myDropdown.value||!this.menuRef.value)return;let e="bottom-start";switch(this.drop){case"up":e=this.menuAlignRight?"top-end":"top-start";break;case"right":e="right-start";break;case"left":e="left-start";break;case"down":e=this.menuAlignRight?"bottom-end":"bottom-start";break;default:e="bottom-start"}const t=[pl(8),this.noFlip?void 0:wl(),gl()].filter(Boolean);let l=t;Array.isArray(this.floatingOpts.middleware)&&this.floatingOpts.middleware.length>0&&(l=this.mergeMiddleware(t,this.floatingOpts.middleware.filter(Boolean)));const o=Object.assign(Object.assign({strategy:"fixed",placement:e},this.floatingOpts),{middleware:l}),{x:n,y:r,strategy:i,placement:a}=await ml(this.myDropdown.value,this.menuRef.value,o);this.menuRef.value.setAttribute("data-placement",a),Object.assign(this.menuRef.value.style,{position:i,left:`${n}px`,top:`${r}px`})}}e([He({type:Boolean,state:!0})],yl.prototype,"noFlip",void 0),e([He({type:Boolean,reflect:!0,state:!0})],yl.prototype,"menuAlignRight",void 0),e([He({type:String,reflect:!0,state:!0})],yl.prototype,"drop",void 0),e([He({type:Object})],yl.prototype,"floatingOpts",void 0),e([He({type:Boolean,reflect:!0})],yl.prototype,"menuIsOpen",void 0),e([He({type:Boolean,reflect:!0})],yl.prototype,"disabled",void 0),e([He({type:Boolean,reflect:!0})],yl.prototype,"readonly",void 0),Ml("dropdown.show",{keyframes:[],options:{duration:200,easing:"cubic-bezier(0.1, 0, 0.5, 0)"}}),Ml("dropdown.hide",{keyframes:[],options:{duration:200,easing:"cubic-bezier(0.15, 0.6, 0.6, 1)"}});class Vl extends yl{constructor(){super(...arguments),this.nextDropdownItemNo=0,this.prevDropdownItemNo=-1,this.hidden=!1}connectedCallback(){super.connectedCallback(),this.addEventListener("sgds-hide",this._resetMenu)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("sgds-hide",this._resetMenu)}firstUpdated(e){super.firstUpdated(e),this.addEventListener("keydown",this._handleKeyboardMenuItemsEvent)}handleSelectSlot(e){const t=this._getActiveMenuItems(),l=t.find(t=>e.composedPath().includes(t));if(!l)return;const o=t.indexOf(l);this.nextDropdownItemNo=o+1,this.prevDropdownItemNo=o<=0?t.length-1:o-1,l.disabled||(this.emit("sgds-select",{detail:{item:l}}),"outside"!==this.close&&this.hideMenu())}_resetMenu(){this.nextDropdownItemNo=0,this.prevDropdownItemNo=-1;this._getMenuItems().forEach(e=>{var t;const l=null===(t=null==e?void 0:e.shadowRoot)||void 0===t?void 0:t.querySelector(".dropdown-item");l&&l.removeAttribute("tabindex")})}_handleKeyboardMenuItemsEvent(e){if(this.readonly)return;const t=this._getActiveMenuItems();if(0!==t.length)switch(e.key){case"ArrowDown":e.preventDefault(),this._setMenuItem(this.nextDropdownItemNo);break;case"ArrowUp":e.preventDefault(),this._setMenuItem(this.prevDropdownItemNo);break;case"Tab":if(!this.menuIsOpen)return;e.preventDefault(),e.shiftKey?this._setMenuItem(this.prevDropdownItemNo):this._setMenuItem(this.nextDropdownItemNo);break;case"Escape":this.menuIsOpen&&(e.preventDefault(),this.hideMenu());break;case"Enter":t.find(t=>e.composedPath().includes(t))&&this.handleSelectSlot(e);break}}_getMenuItems(){var e,t;if(this.shadowRoot.querySelector("slot#default")){return null===(e=this.shadowRoot.querySelector("slot#default"))||void 0===e?void 0:e.assignedElements({flatten:!0}).filter(e=>"menuitem"===e.getAttribute("role")&&!e.classList.contains("empty-menu")&&!e.hasAttribute("hidden"))}if(null===(t=this.menu)||void 0===t?void 0:t.hasChildNodes()){return[...Array.from(this.menu.children)]}return[]}_getActiveMenuItems(){return this._getMenuItems().filter(e=>!e.disabled&&!e.hidden&&!e.readonly)}_setMenuItem(e){const t=this._getActiveMenuItems();if(0===t.length)return;const l=(e%t.length+t.length)%t.length,o=t[l];this.emit("i-sgds-option-focus",{detail:{option:o}}),this.nextDropdownItemNo=(l+1)%t.length,this.prevDropdownItemNo=(l-1+t.length)%t.length,t.forEach(e=>{const t=e.shadowRoot.querySelector(".dropdown-item");t.setAttribute("tabindex",e===o?"0":"-1"),e===o&&t.focus()})}}var Hl,Pl;function Ol(e,t){const l=Object.assign({waitUntilFirstUpdate:!1},t);return(t,o)=>{const{update:n}=t;if(e in t){const r=e;t.update=function(e){if(e.has(r)){const t=e.get(r),n=this[r];t!==n&&(l.waitUntilFirstUpdate&&!this.hasUpdated||this[o](t,n))}n.call(this,e)}}}}Vl.styles=yl.styles,e([(Hl="ul.dropdown-menu",(e,t,l)=>{const o=e=>{const l=e.renderRoot?.querySelector(Hl)??null;if(null===l&&Pl&&!e.hasUpdated){const e="object"==typeof t?t.name:t;ze("",`@query'd field ${JSON.stringify(String(e))} with the 'cache' flag set for selector '${Hl}' has been accessed before the first update and returned null. This is expected if the renderRoot tree has not been provided beforehand (e.g. via Declarative Shadow DOM). Therefore the value hasn't been cached.`)}return l};if(Pl){const{get:n,set:r}="object"==typeof t?e:l??(()=>{const e=Symbol(`${String(t)} (@query() cache)`);return{get(){return this[e]},set(t){this[e]=t}}})();return Oe(e,t,{get(){let e=n.call(this);return void 0===e&&(e=o(this),(null!==e||this.hasUpdated)&&r.call(this,e)),e}})}return Oe(e,t,{get(){return o(this)}})})],Vl.prototype,"menu",void 0),e([Pe()],Vl.prototype,"nextDropdownItemNo",void 0),e([Pe()],Vl.prototype,"prevDropdownItemNo",void 0),e([He({type:Boolean,reflect:!0})],Vl.prototype,"hidden",void 0);var zl=i`:host([menuisopen]:not([disabled]):not([readonly])) .dropdown-menu{display:block}.dropdown-menu{background-clip:padding-box;background-color:var(--sgds-surface-default);border-radius:var(--sgds-border-radius-md);box-shadow:0 0 1px 0 hsla(0,0%,5%,.12),0 4px 8px 0 hsla(0,0%,5%,.12);color:var(--sgds-color-default);display:none;list-style:none;margin:0;max-height:var(--sgds-dimension-480);min-width:var(--sgds-dimension-192);overflow-y:auto;padding:var(--sgds-padding-xs) 0;position:absolute;text-align:left;z-index:var(--sgds-z-index-floating)}.nav-tabs .dropdown-menu{border-top-left-radius:0;border-top-right-radius:0;margin-top:calc(var(--sgds-nav-tabs-border-width)*-1)}@media (min-width:512px){.navbar-expand-sm .navbar-nav .dropdown-menu{position:absolute}}@media (min-width:768px){.navbar-expand-md .navbar-nav .dropdown-menu{position:absolute}}@media (min-width:1024px){.navbar-expand-lg .navbar-nav .dropdown-menu{position:absolute}}@media (min-width:1280px){.navbar-expand-xl .navbar-nav .dropdown-menu{position:absolute}}@media (min-width:1440px){.navbar-expand-xxl .navbar-nav .dropdown-menu{position:absolute}}.navbar-expand .navbar-nav .dropdown-menu{position:absolute}.sgds.navbar .dropdown-menu.megamenu{left:0;right:0;width:100%}.sgds.combobox>.dropdown-menu{min-width:100%}`,Bl=i`.dropdown{display:flex;height:inherit;position:relative}.dropdown-menu{max-width:var(--sgds-dimension-320)}.toggler-container{flex:1;pointer-events:none}.toggler-container ::slotted(*){pointer-events:auto}`;class jl extends Vl{constructor(){super(),this.noFlip=!1,this.menuAlignRight=!1,this.drop="down",this.close="default",this.menuRef=Ye()}async _handleClick(e){if(this.disabled)return;const t=this._toggler[0];if(!t)return void this.toggleMenu();if(e.composedPath().includes(t))return void this.toggleMenu();if(!this.menuIsOpen)return;const l=this.menuRef.value;l&&e.composedPath().includes(l)||this.hideMenu()}_handleCloseMenu(){const e=this._toggler[0];null==e||e.focus()}async connectedCallback(){super.connectedCallback(),this.addEventListener("sgds-hide",this._handleCloseMenu)}async disconnectedCallback(){this.removeEventListener("sgds-hide",this._handleCloseMenu)}async firstUpdated(e){super.firstUpdated(e),this.menuIsOpen&&await this.updateFloatingPosition(),this._handleDisabled()}_handleTogglerSlotChange(e){const t=e.target.assignedElements({flatten:!0})[0];t&&(t.setAttribute("aria-haspopup","menu"),t.setAttribute("aria-expanded",String(this.menuIsOpen)))}_handleMenuIsOpenChange(){const e=this._toggler[0];e&&e.setAttribute("aria-expanded",String(this.menuIsOpen))}_handleDisabled(){const e=this._toggler[0];e&&(this.disabled?e.setAttribute("disabled","true"):e.hasAttribute("disabled")&&e.removeAttribute("disabled"))}render(){return Q`
|
|
66
66
|
<div class="dropdown" @click=${this._handleClick}>
|
|
67
67
|
<div class="toggler-container" ${Ye(this.myDropdown)}>
|
|
68
68
|
<slot name="toggler" @slotchange=${this._handleTogglerSlotChange}></slot>
|
|
@@ -77,20 +77,20 @@ function Be(e){return(t,l)=>{const{slot:o,selector:n}=e??{},r="slot"+(o?`[name=$
|
|
|
77
77
|
* Copyright 2018 Google LLC
|
|
78
78
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
79
79
|
*/
|
|
80
|
-
class extends ke{constructor(e){if(super(e),e.type!==$e||"class"!==e.name||e.strings?.length>2)throw new Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(e){return" "+Object.keys(e).filter(t=>e[t]).join(" ")+" "}update(e,[t]){if(void 0===this._previousClasses){this._previousClasses=new Set,void 0!==e.strings&&(this._staticClasses=new Set(e.strings.join(" ").split(/\s/).filter(e=>""!==e)));for(const e in t)t[e]&&!this._staticClasses?.has(e)&&this._previousClasses.add(e);return this.render(t)}const l=e.element.classList;for(const e of this._previousClasses)e in t||(l.remove(e),this._previousClasses.delete(e));for(const e in t){const o=!!t[e];o===this._previousClasses.has(e)||this._staticClasses?.has(e)||(o?(l.add(e),this._previousClasses.add(e)):(l.remove(e),this._previousClasses.delete(e)))}return te}}),$l={announcement:()=>Promise.resolve().then(function(){return Ul}),archive:()=>Promise.resolve().then(function(){return Fl}),"arrow-bar-down":()=>Promise.resolve().then(function(){return Yl}),"arrow-bar-left":()=>Promise.resolve().then(function(){return Jl}),"arrow-bar-right":()=>Promise.resolve().then(function(){return Gl}),"arrow-bar-up":()=>Promise.resolve().then(function(){return eo}),"arrow-circle-down":()=>Promise.resolve().then(function(){return lo}),"arrow-circle-left":()=>Promise.resolve().then(function(){return no}),"arrow-circle-right":()=>Promise.resolve().then(function(){return io}),"arrow-circle-up":()=>Promise.resolve().then(function(){return co}),"arrow-clockwise":()=>Promise.resolve().then(function(){return ho}),"arrow-down":()=>Promise.resolve().then(function(){return vo}),"arrow-left":()=>Promise.resolve().then(function(){return po}),"arrow-repeat":()=>Promise.resolve().then(function(){return wo}),"arrow-right":()=>Promise.resolve().then(function(){return _o}),"arrow-square-down":()=>Promise.resolve().then(function(){return xo}),"arrow-square-left":()=>Promise.resolve().then(function(){return Co}),"arrow-square-right":()=>Promise.resolve().then(function(){return yo}),"arrow-square-up":()=>Promise.resolve().then(function(){return Ho}),"arrow-up":()=>Promise.resolve().then(function(){return Oo}),"bank-fill":()=>Promise.resolve().then(function(){return Bo}),"bell-slash":()=>Promise.resolve().then(function(){return Ao}),bell:()=>Promise.resolve().then(function(){return Lo}),"bi-funnel":()=>Promise.resolve().then(function(){return ko}),"bookmark-fill":()=>Promise.resolve().then(function(){return To}),bookmark:()=>Promise.resolve().then(function(){return Io}),"box-arrow-up-right":()=>Promise.resolve().then(function(){return No}),"box-seam":()=>Promise.resolve().then(function(){return Wo}),building:()=>Promise.resolve().then(function(){return qo}),bus:()=>Promise.resolve().then(function(){return Ko}),calculator:()=>Promise.resolve().then(function(){return Xo}),"calendar-check":()=>Promise.resolve().then(function(){return Qo}),"calendar-heart":()=>Promise.resolve().then(function(){return tn}),"calendar-x":()=>Promise.resolve().then(function(){return on}),calendar:()=>Promise.resolve().then(function(){return rn}),camera:()=>Promise.resolve().then(function(){return cn}),car:()=>Promise.resolve().then(function(){return dn}),"chat-dots":()=>Promise.resolve().then(function(){return un}),"chat-left-text":()=>Promise.resolve().then(function(){return fn}),chat:()=>Promise.resolve().then(function(){return gn}),"check-circle-fill":()=>Promise.resolve().then(function(){return mn}),"check-circle":()=>Promise.resolve().then(function(){return Zn}),check:()=>Promise.resolve().then(function(){return bn}),"chevron-down":()=>Promise.resolve().then(function(){return Mn}),"chevron-left":()=>Promise.resolve().then(function(){return Vn}),"chevron-right":()=>Promise.resolve().then(function(){return Pn}),"chevron-selector-vertical":()=>Promise.resolve().then(function(){return zn}),"chevron-up":()=>Promise.resolve().then(function(){return jn}),clock:()=>Promise.resolve().then(function(){return $n}),"cloud-check":()=>Promise.resolve().then(function(){return Sn}),"cloud-download":()=>Promise.resolve().then(function(){return En}),"cloud-upload":()=>Promise.resolve().then(function(){return Rn}),cloud:()=>Promise.resolve().then(function(){return Dn}),"code-square":()=>Promise.resolve().then(function(){return Un}),"coins-hand":()=>Promise.resolve().then(function(){return Fn}),compass:()=>Promise.resolve().then(function(){return Yn}),copy:()=>Promise.resolve().then(function(){return Jn}),"cpu-chip-ai":()=>Promise.resolve().then(function(){return Gn}),cross:()=>Promise.resolve().then(function(){return er}),"cursor-fill":()=>Promise.resolve().then(function(){return lr}),cursor:()=>Promise.resolve().then(function(){return nr}),"dash-circle":()=>Promise.resolve().then(function(){return ir}),"dash-square":()=>Promise.resolve().then(function(){return cr}),dash:()=>Promise.resolve().then(function(){return dr}),database:()=>Promise.resolve().then(function(){return ur}),dataflow:()=>Promise.resolve().then(function(){return fr}),download:()=>Promise.resolve().then(function(){return gr}),edit:()=>Promise.resolve().then(function(){return mr}),"exclamation-circle-fill":()=>Promise.resolve().then(function(){return Zr}),"exclamation-circle":()=>Promise.resolve().then(function(){return br}),"exclamation-triangle-fill":()=>Promise.resolve().then(function(){return Mr}),"exclamation-triangle":()=>Promise.resolve().then(function(){return Vr}),exclamation:()=>Promise.resolve().then(function(){return Pr}),"eye-fill":()=>Promise.resolve().then(function(){return zr}),"eye-slash-fill":()=>Promise.resolve().then(function(){return jr}),"eye-slash":()=>Promise.resolve().then(function(){return $r}),eye:()=>Promise.resolve().then(function(){return Sr}),"face-smile-fill":()=>Promise.resolve().then(function(){return Er}),"face-smile":()=>Promise.resolve().then(function(){return Rr}),facebook:()=>Promise.resolve().then(function(){return Dr}),"file-earmark-text":()=>Promise.resolve().then(function(){return Ur}),"file-pdf":()=>Promise.resolve().then(function(){return Fr}),"file-plus":()=>Promise.resolve().then(function(){return Yr}),"file-text":()=>Promise.resolve().then(function(){return Jr}),file:()=>Promise.resolve().then(function(){return Gr}),files:()=>Promise.resolve().then(function(){return ei}),fingerprint:()=>Promise.resolve().then(function(){return li}),flash:()=>Promise.resolve().then(function(){return ni}),"folder-check":()=>Promise.resolve().then(function(){return ii}),"folder-minus":()=>Promise.resolve().then(function(){return ci}),"folder-plus":()=>Promise.resolve().then(function(){return di}),folder:()=>Promise.resolve().then(function(){return ui}),gear:()=>Promise.resolve().then(function(){return fi}),"geo-alt":()=>Promise.resolve().then(function(){return gi}),"geo-fill":()=>Promise.resolve().then(function(){return mi}),geo:()=>Promise.resolve().then(function(){return Zi}),"globe-alt":()=>Promise.resolve().then(function(){return bi}),globe:()=>Promise.resolve().then(function(){return Mi}),google:()=>Promise.resolve().then(function(){return Vi}),"grid-alt":()=>Promise.resolve().then(function(){return Pi}),"grid-fill":()=>Promise.resolve().then(function(){return zi}),"hand-thumbs-down":()=>Promise.resolve().then(function(){return ji}),"hand-thumbs-up":()=>Promise.resolve().then(function(){return $i}),"hard-drive":()=>Promise.resolve().then(function(){return Si}),heart:()=>Promise.resolve().then(function(){return Ei}),"house-door":()=>Promise.resolve().then(function(){return Ri}),house:()=>Promise.resolve().then(function(){return Di}),image:()=>Promise.resolve().then(function(){return Ui}),"in-box":()=>Promise.resolve().then(function(){return Fi}),"info-circle-fill":()=>Promise.resolve().then(function(){return Yi}),"info-circle":()=>Promise.resolve().then(function(){return Ji}),instagram:()=>Promise.resolve().then(function(){return Gi}),key:()=>Promise.resolve().then(function(){return ea}),"laptop-gear":()=>Promise.resolve().then(function(){return la}),laptop:()=>Promise.resolve().then(function(){return na}),layers:()=>Promise.resolve().then(function(){return ia}),"layout-text-window-reverse":()=>Promise.resolve().then(function(){return ca}),"layout-text-window":()=>Promise.resolve().then(function(){return da}),layout:()=>Promise.resolve().then(function(){return ua}),"life-buoy":()=>Promise.resolve().then(function(){return fa}),lightbulb:()=>Promise.resolve().then(function(){return ga}),link:()=>Promise.resolve().then(function(){return ma}),linkedin:()=>Promise.resolve().then(function(){return Za}),list:()=>Promise.resolve().then(function(){return ba}),"lock-fill":()=>Promise.resolve().then(function(){return Ma}),lock:()=>Promise.resolve().then(function(){return Va}),login:()=>Promise.resolve().then(function(){return Pa}),logout:()=>Promise.resolve().then(function(){return za}),luggage:()=>Promise.resolve().then(function(){return ja}),"mail-open":()=>Promise.resolve().then(function(){return $a}),mail:()=>Promise.resolve().then(function(){return Sa}),map:()=>Promise.resolve().then(function(){return Ea}),meetup:()=>Promise.resolve().then(function(){return Ra}),menu:()=>Promise.resolve().then(function(){return Da}),microphone:()=>Promise.resolve().then(function(){return Ua}),monitor:()=>Promise.resolve().then(function(){return Fa}),moon:()=>Promise.resolve().then(function(){return Ya}),move:()=>Promise.resolve().then(function(){return Ja}),paperclip:()=>Promise.resolve().then(function(){return Ga}),passcode:()=>Promise.resolve().then(function(){return ec}),passport:()=>Promise.resolve().then(function(){return lc}),pause:()=>Promise.resolve().then(function(){return nc}),pencil:()=>Promise.resolve().then(function(){return ic}),"pending-circle":()=>Promise.resolve().then(function(){return cc}),"person-dash":()=>Promise.resolve().then(function(){return dc}),"person-plus":()=>Promise.resolve().then(function(){return uc}),"person-x":()=>Promise.resolve().then(function(){return fc}),person:()=>Promise.resolve().then(function(){return gc}),phone:()=>Promise.resolve().then(function(){return mc}),"pin-map-fill":()=>Promise.resolve().then(function(){return Zc}),pin:()=>Promise.resolve().then(function(){return bc}),placeholder:()=>Promise.resolve().then(function(){return Mc}),plane:()=>Promise.resolve().then(function(){return Vc}),play:()=>Promise.resolve().then(function(){return Pc}),"plus-circle":()=>Promise.resolve().then(function(){return zc}),"plus-square":()=>Promise.resolve().then(function(){return jc}),plus:()=>Promise.resolve().then(function(){return $c}),printer:()=>Promise.resolve().then(function(){return Sc}),"question-circle":()=>Promise.resolve().then(function(){return Ec}),rocket:()=>Promise.resolve().then(function(){return Rc}),save:()=>Promise.resolve().then(function(){return Dc}),search:()=>Promise.resolve().then(function(){return Uc}),send:()=>Promise.resolve().then(function(){return Fc}),"sg-crest":()=>Promise.resolve().then(function(){return Yc}),share:()=>Promise.resolve().then(function(){return Jc}),"shield-tick":()=>Promise.resolve().then(function(){return Gc}),"sidebar-collapse":()=>Promise.resolve().then(function(){return es}),"sidebar-expand":()=>Promise.resolve().then(function(){return ls}),"slash-circle":()=>Promise.resolve().then(function(){return ns}),"slash-divider":()=>Promise.resolve().then(function(){return is}),sliders:()=>Promise.resolve().then(function(){return cs}),"sort-ascending":()=>Promise.resolve().then(function(){return ds}),"sort-descending":()=>Promise.resolve().then(function(){return us}),speedometer:()=>Promise.resolve().then(function(){return fs}),"star-ai":()=>Promise.resolve().then(function(){return gs}),"star-fill":()=>Promise.resolve().then(function(){return ms}),star:()=>Promise.resolve().then(function(){return Zs}),stoplights:()=>Promise.resolve().then(function(){return bs}),sun:()=>Promise.resolve().then(function(){return Ms}),"switch-horizontal":()=>Promise.resolve().then(function(){return Vs}),"switch-vertical":()=>Promise.resolve().then(function(){return Ps}),tablet:()=>Promise.resolve().then(function(){return zs}),telegram:()=>Promise.resolve().then(function(){return js}),telephone:()=>Promise.resolve().then(function(){return $s}),"three-dots-vertical":()=>Promise.resolve().then(function(){return Ss}),"three-dots":()=>Promise.resolve().then(function(){return Es}),ticket:()=>Promise.resolve().then(function(){return Rs}),"toggle-off":()=>Promise.resolve().then(function(){return Ds}),"toggle-on":()=>Promise.resolve().then(function(){return Us}),train:()=>Promise.resolve().then(function(){return Fs}),translate:()=>Promise.resolve().then(function(){return Ys}),trash:()=>Promise.resolve().then(function(){return Js}),"trend-down":()=>Promise.resolve().then(function(){return Gs}),"trend-up":()=>Promise.resolve().then(function(){return ed}),truck:()=>Promise.resolve().then(function(){return ld}),"twitter-x":()=>Promise.resolve().then(function(){return nd}),unlock:()=>Promise.resolve().then(function(){return id}),upload:()=>Promise.resolve().then(function(){return cd}),"user-check":()=>Promise.resolve().then(function(){return dd}),"user-circle":()=>Promise.resolve().then(function(){return ud}),"user-pause":()=>Promise.resolve().then(function(){return fd}),"user-square":()=>Promise.resolve().then(function(){return gd}),users:()=>Promise.resolve().then(function(){return md}),"video-recorder":()=>Promise.resolve().then(function(){return Zd}),"volume-max":()=>Promise.resolve().then(function(){return bd}),"volume-x":()=>Promise.resolve().then(function(){return Md}),"window-dash":()=>Promise.resolve().then(function(){return Vd}),"window-desktop":()=>Promise.resolve().then(function(){return Pd}),"window-dock":()=>Promise.resolve().then(function(){return zd}),"window-fullscreen":()=>Promise.resolve().then(function(){return jd}),"window-plus":()=>Promise.resolve().then(function(){return $d}),"window-sidebar":()=>Promise.resolve().then(function(){return Sd}),"window-split":()=>Promise.resolve().then(function(){return Ed}),"window-stack":()=>Promise.resolve().then(function(){return Rd}),"window-x":()=>Promise.resolve().then(function(){return Dd}),window:()=>Promise.resolve().then(function(){return Ud}),"xcircle-fill":()=>Promise.resolve().then(function(){return Fd}),xcircle:()=>Promise.resolve().then(function(){return Yd}),youtube:()=>Promise.resolve().then(function(){return Jd}),"zoom-in":()=>Promise.resolve().then(function(){return Gd}),"zoom-out":()=>Promise.resolve().then(function(){return eh})};
|
|
80
|
+
class extends ke{constructor(e){if(super(e),e.type!==$e||"class"!==e.name||e.strings?.length>2)throw new Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(e){return" "+Object.keys(e).filter(t=>e[t]).join(" ")+" "}update(e,[t]){if(void 0===this._previousClasses){this._previousClasses=new Set,void 0!==e.strings&&(this._staticClasses=new Set(e.strings.join(" ").split(/\s/).filter(e=>""!==e)));for(const e in t)t[e]&&!this._staticClasses?.has(e)&&this._previousClasses.add(e);return this.render(t)}const l=e.element.classList;for(const e of this._previousClasses)e in t||(l.remove(e),this._previousClasses.delete(e));for(const e in t){const o=!!t[e];o===this._previousClasses.has(e)||this._staticClasses?.has(e)||(o?(l.add(e),this._previousClasses.add(e)):(l.remove(e),this._previousClasses.delete(e)))}return te}}),$l={announcement:()=>Promise.resolve().then(function(){return Ul}),archive:()=>Promise.resolve().then(function(){return Fl}),"arrow-bar-down":()=>Promise.resolve().then(function(){return Yl}),"arrow-bar-left":()=>Promise.resolve().then(function(){return Jl}),"arrow-bar-right":()=>Promise.resolve().then(function(){return Gl}),"arrow-bar-up":()=>Promise.resolve().then(function(){return eo}),"arrow-circle-down":()=>Promise.resolve().then(function(){return lo}),"arrow-circle-left":()=>Promise.resolve().then(function(){return no}),"arrow-circle-right":()=>Promise.resolve().then(function(){return io}),"arrow-circle-up":()=>Promise.resolve().then(function(){return co}),"arrow-clockwise":()=>Promise.resolve().then(function(){return ho}),"arrow-down":()=>Promise.resolve().then(function(){return vo}),"arrow-left":()=>Promise.resolve().then(function(){return po}),"arrow-repeat":()=>Promise.resolve().then(function(){return wo}),"arrow-right":()=>Promise.resolve().then(function(){return _o}),"arrow-square-down":()=>Promise.resolve().then(function(){return bo}),"arrow-square-left":()=>Promise.resolve().then(function(){return Co}),"arrow-square-right":()=>Promise.resolve().then(function(){return yo}),"arrow-square-up":()=>Promise.resolve().then(function(){return Ho}),"arrow-up":()=>Promise.resolve().then(function(){return Oo}),"bank-fill":()=>Promise.resolve().then(function(){return Bo}),"bell-slash":()=>Promise.resolve().then(function(){return Ao}),bell:()=>Promise.resolve().then(function(){return Lo}),"bi-funnel":()=>Promise.resolve().then(function(){return ko}),"bookmark-fill":()=>Promise.resolve().then(function(){return To}),bookmark:()=>Promise.resolve().then(function(){return Io}),"box-arrow-up-right":()=>Promise.resolve().then(function(){return No}),"box-seam":()=>Promise.resolve().then(function(){return Wo}),building:()=>Promise.resolve().then(function(){return qo}),bus:()=>Promise.resolve().then(function(){return Ko}),calculator:()=>Promise.resolve().then(function(){return Xo}),"calendar-check":()=>Promise.resolve().then(function(){return Qo}),"calendar-heart":()=>Promise.resolve().then(function(){return tn}),"calendar-x":()=>Promise.resolve().then(function(){return on}),calendar:()=>Promise.resolve().then(function(){return rn}),camera:()=>Promise.resolve().then(function(){return cn}),car:()=>Promise.resolve().then(function(){return dn}),"chat-dots":()=>Promise.resolve().then(function(){return un}),"chat-left-text":()=>Promise.resolve().then(function(){return fn}),chat:()=>Promise.resolve().then(function(){return gn}),"check-circle-fill":()=>Promise.resolve().then(function(){return mn}),"check-circle":()=>Promise.resolve().then(function(){return Zn}),check:()=>Promise.resolve().then(function(){return xn}),"chevron-down":()=>Promise.resolve().then(function(){return Mn}),"chevron-left":()=>Promise.resolve().then(function(){return Vn}),"chevron-right":()=>Promise.resolve().then(function(){return Pn}),"chevron-selector-vertical":()=>Promise.resolve().then(function(){return zn}),"chevron-up":()=>Promise.resolve().then(function(){return jn}),clock:()=>Promise.resolve().then(function(){return $n}),"cloud-check":()=>Promise.resolve().then(function(){return Sn}),"cloud-download":()=>Promise.resolve().then(function(){return En}),"cloud-upload":()=>Promise.resolve().then(function(){return Rn}),cloud:()=>Promise.resolve().then(function(){return Dn}),"code-square":()=>Promise.resolve().then(function(){return Un}),"coins-hand":()=>Promise.resolve().then(function(){return Fn}),compass:()=>Promise.resolve().then(function(){return Yn}),copy:()=>Promise.resolve().then(function(){return Jn}),"cpu-chip-ai":()=>Promise.resolve().then(function(){return Gn}),cross:()=>Promise.resolve().then(function(){return er}),"cursor-fill":()=>Promise.resolve().then(function(){return lr}),cursor:()=>Promise.resolve().then(function(){return nr}),"dash-circle":()=>Promise.resolve().then(function(){return ir}),"dash-square":()=>Promise.resolve().then(function(){return cr}),dash:()=>Promise.resolve().then(function(){return dr}),database:()=>Promise.resolve().then(function(){return ur}),dataflow:()=>Promise.resolve().then(function(){return fr}),download:()=>Promise.resolve().then(function(){return gr}),edit:()=>Promise.resolve().then(function(){return mr}),"exclamation-circle-fill":()=>Promise.resolve().then(function(){return Zr}),"exclamation-circle":()=>Promise.resolve().then(function(){return xr}),"exclamation-triangle-fill":()=>Promise.resolve().then(function(){return Mr}),"exclamation-triangle":()=>Promise.resolve().then(function(){return Vr}),exclamation:()=>Promise.resolve().then(function(){return Pr}),"eye-fill":()=>Promise.resolve().then(function(){return zr}),"eye-slash-fill":()=>Promise.resolve().then(function(){return jr}),"eye-slash":()=>Promise.resolve().then(function(){return $r}),eye:()=>Promise.resolve().then(function(){return Sr}),"face-smile-fill":()=>Promise.resolve().then(function(){return Er}),"face-smile":()=>Promise.resolve().then(function(){return Rr}),facebook:()=>Promise.resolve().then(function(){return Dr}),"file-earmark-text":()=>Promise.resolve().then(function(){return Ur}),"file-pdf":()=>Promise.resolve().then(function(){return Fr}),"file-plus":()=>Promise.resolve().then(function(){return Yr}),"file-text":()=>Promise.resolve().then(function(){return Jr}),file:()=>Promise.resolve().then(function(){return Gr}),files:()=>Promise.resolve().then(function(){return ei}),fingerprint:()=>Promise.resolve().then(function(){return li}),flash:()=>Promise.resolve().then(function(){return ni}),"folder-check":()=>Promise.resolve().then(function(){return ii}),"folder-minus":()=>Promise.resolve().then(function(){return ci}),"folder-plus":()=>Promise.resolve().then(function(){return di}),folder:()=>Promise.resolve().then(function(){return ui}),gear:()=>Promise.resolve().then(function(){return fi}),"geo-alt":()=>Promise.resolve().then(function(){return gi}),"geo-fill":()=>Promise.resolve().then(function(){return mi}),geo:()=>Promise.resolve().then(function(){return Zi}),"globe-alt":()=>Promise.resolve().then(function(){return xi}),globe:()=>Promise.resolve().then(function(){return Mi}),google:()=>Promise.resolve().then(function(){return Vi}),"grid-alt":()=>Promise.resolve().then(function(){return Pi}),"grid-fill":()=>Promise.resolve().then(function(){return zi}),"hand-thumbs-down":()=>Promise.resolve().then(function(){return ji}),"hand-thumbs-up":()=>Promise.resolve().then(function(){return $i}),"hard-drive":()=>Promise.resolve().then(function(){return Si}),heart:()=>Promise.resolve().then(function(){return Ei}),"house-door":()=>Promise.resolve().then(function(){return Ri}),house:()=>Promise.resolve().then(function(){return Di}),image:()=>Promise.resolve().then(function(){return Ui}),"in-box":()=>Promise.resolve().then(function(){return Fi}),"info-circle-fill":()=>Promise.resolve().then(function(){return Yi}),"info-circle":()=>Promise.resolve().then(function(){return Ji}),instagram:()=>Promise.resolve().then(function(){return Gi}),key:()=>Promise.resolve().then(function(){return ea}),"laptop-gear":()=>Promise.resolve().then(function(){return la}),laptop:()=>Promise.resolve().then(function(){return na}),layers:()=>Promise.resolve().then(function(){return ia}),"layout-text-window-reverse":()=>Promise.resolve().then(function(){return ca}),"layout-text-window":()=>Promise.resolve().then(function(){return da}),layout:()=>Promise.resolve().then(function(){return ua}),"life-buoy":()=>Promise.resolve().then(function(){return fa}),lightbulb:()=>Promise.resolve().then(function(){return ga}),link:()=>Promise.resolve().then(function(){return ma}),linkedin:()=>Promise.resolve().then(function(){return Za}),list:()=>Promise.resolve().then(function(){return xa}),"lock-fill":()=>Promise.resolve().then(function(){return Ma}),lock:()=>Promise.resolve().then(function(){return Va}),login:()=>Promise.resolve().then(function(){return Pa}),logout:()=>Promise.resolve().then(function(){return za}),luggage:()=>Promise.resolve().then(function(){return ja}),"mail-open":()=>Promise.resolve().then(function(){return $a}),mail:()=>Promise.resolve().then(function(){return Sa}),map:()=>Promise.resolve().then(function(){return Ea}),meetup:()=>Promise.resolve().then(function(){return Ra}),menu:()=>Promise.resolve().then(function(){return Da}),microphone:()=>Promise.resolve().then(function(){return Ua}),monitor:()=>Promise.resolve().then(function(){return Fa}),moon:()=>Promise.resolve().then(function(){return Ya}),move:()=>Promise.resolve().then(function(){return Ja}),paperclip:()=>Promise.resolve().then(function(){return Ga}),passcode:()=>Promise.resolve().then(function(){return ec}),passport:()=>Promise.resolve().then(function(){return lc}),pause:()=>Promise.resolve().then(function(){return nc}),pencil:()=>Promise.resolve().then(function(){return ic}),"pending-circle":()=>Promise.resolve().then(function(){return cc}),"person-dash":()=>Promise.resolve().then(function(){return dc}),"person-plus":()=>Promise.resolve().then(function(){return uc}),"person-x":()=>Promise.resolve().then(function(){return fc}),person:()=>Promise.resolve().then(function(){return gc}),phone:()=>Promise.resolve().then(function(){return mc}),"pin-map-fill":()=>Promise.resolve().then(function(){return Zc}),pin:()=>Promise.resolve().then(function(){return xc}),placeholder:()=>Promise.resolve().then(function(){return Mc}),plane:()=>Promise.resolve().then(function(){return Vc}),play:()=>Promise.resolve().then(function(){return Pc}),"plus-circle":()=>Promise.resolve().then(function(){return zc}),"plus-square":()=>Promise.resolve().then(function(){return jc}),plus:()=>Promise.resolve().then(function(){return $c}),printer:()=>Promise.resolve().then(function(){return Sc}),"question-circle":()=>Promise.resolve().then(function(){return Ec}),rocket:()=>Promise.resolve().then(function(){return Rc}),save:()=>Promise.resolve().then(function(){return Dc}),search:()=>Promise.resolve().then(function(){return Uc}),send:()=>Promise.resolve().then(function(){return Fc}),"sg-crest":()=>Promise.resolve().then(function(){return Yc}),share:()=>Promise.resolve().then(function(){return Jc}),"shield-tick":()=>Promise.resolve().then(function(){return Gc}),"sidebar-collapse":()=>Promise.resolve().then(function(){return es}),"sidebar-expand":()=>Promise.resolve().then(function(){return ls}),"slash-circle":()=>Promise.resolve().then(function(){return ns}),"slash-divider":()=>Promise.resolve().then(function(){return is}),sliders:()=>Promise.resolve().then(function(){return cs}),"sort-ascending":()=>Promise.resolve().then(function(){return ds}),"sort-descending":()=>Promise.resolve().then(function(){return us}),speedometer:()=>Promise.resolve().then(function(){return fs}),"star-ai":()=>Promise.resolve().then(function(){return gs}),"star-fill":()=>Promise.resolve().then(function(){return ms}),star:()=>Promise.resolve().then(function(){return Zs}),stoplights:()=>Promise.resolve().then(function(){return xs}),sun:()=>Promise.resolve().then(function(){return Ms}),"switch-horizontal":()=>Promise.resolve().then(function(){return Vs}),"switch-vertical":()=>Promise.resolve().then(function(){return Ps}),tablet:()=>Promise.resolve().then(function(){return zs}),telegram:()=>Promise.resolve().then(function(){return js}),telephone:()=>Promise.resolve().then(function(){return $s}),"three-dots-vertical":()=>Promise.resolve().then(function(){return Ss}),"three-dots":()=>Promise.resolve().then(function(){return Es}),ticket:()=>Promise.resolve().then(function(){return Rs}),"toggle-off":()=>Promise.resolve().then(function(){return Ds}),"toggle-on":()=>Promise.resolve().then(function(){return Us}),train:()=>Promise.resolve().then(function(){return Fs}),translate:()=>Promise.resolve().then(function(){return Ys}),trash:()=>Promise.resolve().then(function(){return Js}),"trend-down":()=>Promise.resolve().then(function(){return Gs}),"trend-up":()=>Promise.resolve().then(function(){return ed}),truck:()=>Promise.resolve().then(function(){return ld}),"twitter-x":()=>Promise.resolve().then(function(){return nd}),unlock:()=>Promise.resolve().then(function(){return id}),upload:()=>Promise.resolve().then(function(){return cd}),"user-check":()=>Promise.resolve().then(function(){return dd}),"user-circle":()=>Promise.resolve().then(function(){return ud}),"user-pause":()=>Promise.resolve().then(function(){return fd}),"user-square":()=>Promise.resolve().then(function(){return gd}),users:()=>Promise.resolve().then(function(){return md}),"video-recorder":()=>Promise.resolve().then(function(){return Zd}),"volume-max":()=>Promise.resolve().then(function(){return xd}),"volume-x":()=>Promise.resolve().then(function(){return Md}),"window-dash":()=>Promise.resolve().then(function(){return Vd}),"window-desktop":()=>Promise.resolve().then(function(){return Pd}),"window-dock":()=>Promise.resolve().then(function(){return zd}),"window-fullscreen":()=>Promise.resolve().then(function(){return jd}),"window-plus":()=>Promise.resolve().then(function(){return $d}),"window-sidebar":()=>Promise.resolve().then(function(){return Sd}),"window-split":()=>Promise.resolve().then(function(){return Ed}),"window-stack":()=>Promise.resolve().then(function(){return Rd}),"window-x":()=>Promise.resolve().then(function(){return Dd}),window:()=>Promise.resolve().then(function(){return Ud}),"xcircle-fill":()=>Promise.resolve().then(function(){return Fd}),xcircle:()=>Promise.resolve().then(function(){return Yd}),youtube:()=>Promise.resolve().then(function(){return Jd}),"zoom-in":()=>Promise.resolve().then(function(){return Gd}),"zoom-out":()=>Promise.resolve().then(function(){return eh})};
|
|
81
81
|
/**
|
|
82
82
|
* @license
|
|
83
83
|
* Copyright 2018 Google LLC
|
|
84
84
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
85
|
-
*/var Ll=i`:host{color:inherit;display:inline-flex;vertical-align:bottom}:host(.icon-left){margin-right:.25rem}:host(.icon-right){margin-left:.25rem}:host([size=xs]) svg{height:var(--sgds-icon-size-xs);width:var(--sgds-icon-size-xs)}:host([size=sm]) svg{height:var(--sgds-icon-size-sm);width:var(--sgds-icon-size-sm)}:host([size=md]) svg{height:var(--sgds-icon-size-md);width:var(--sgds-icon-size-md)}:host([size=xl]) svg{height:var(--sgds-icon-size-xl);width:var(--sgds-icon-size-xl)}:host([size="2-xl"]) svg{height:var(--sgds-icon-size-2-xl);width:var(--sgds-icon-size-2-xl)}:host([size="3-xl"]) svg{height:var(--sgds-icon-size-3-xl);width:var(--sgds-icon-size-3-xl)}svg{display:inline-block;height:var(--sgds-icon-size-lg);width:var(--sgds-icon-size-lg)}`;const Sl=new Map;class kl extends je{constructor(){super(...arguments),this.size="lg"}willUpdate(e){e.has("name")&&this._loadIcon(this.name)}async _loadIcon(e){if(!e)return void(this._icon=void 0);if(Sl.has(e))return void(this._icon=Sl.get(e));const t=$l[e];if(!t)return console.warn(`Icon not found: ${e}`),void(this._icon=void 0);try{const l=await t();Sl.set(e,l.default),this._icon=l.default}catch(t){console.warn(`Failed to load icon: ${e}`),this._icon=void 0}}updated(){var e;const t=null===(e=this.shadowRoot)||void 0===e?void 0:e.querySelector("svg");t&&(this.ariaLabel?(t.removeAttribute("aria-hidden"),t.setAttribute("aria-label",this.ariaLabel)):(t.removeAttribute("aria-label"),t.setAttribute("aria-hidden","true")))}render(){var e;return null!==(e=this._icon)&&void 0!==e?e:le}}kl.styles=[...je.styles,Ll],e([He({type:String,reflect:!0})],kl.prototype,"name",void 0),e([He({type:String,reflect:!0})],kl.prototype,"size",void 0),e([He({type:String})],kl.prototype,"ariaLabel",void 0),e([Pe()],kl.prototype,"_icon",void 0);var El,Tl,Rl=i`:host([disabled]){cursor:not-allowed}.dropdown-item{align-items:center;background-color:var(--sgds-bg-transparent);clear:both;color:var(--sgds-color-default);cursor:pointer;display:flex;font-size:var(--sgds-font-size-label-sm);gap:var(--sgds-gap-sm);padding:var(--sgds-padding-sm) var(--sgds-padding-lg);text-align:inherit}.dropdown-item:hover{background-color:var(--sgds-bg-translucent-subtle)}.dropdown-item:focus,.dropdown-item:focus-visible{background-color:var(--sgds-bg-translucent-subtle)}.dropdown-item:focus-visible{outline:var(--sgds-outline-focus);outline-offset:var(--sgds-outline-offset-focus)}.dropdown-item.active{background-color:var(--sgds-bg-translucent-subtle);color:var(--sgds-primary-color-default);text-decoration:none}.dropdown-item.disabled,.dropdown-item:disabled{opacity:var(--sgds-opacity-40);pointer-events:none}::slotted(*){color:inherit!important;display:flex;gap:var(--sgds-gap-sm);text-decoration:none!important}::slotted(a),::slotted(sgds-checkbox){flex:1;margin:calc(var(--sgds-padding-sm)*-1) calc(var(--sgds-padding-lg)*-1);padding:var(--sgds-padding-sm) var(--sgds-padding-lg)}.dropdown-item.mainnav-dropdown-link{padding:var(--sgds-padding-none)}.dropdown-item.mainnav-dropdown-link ::slotted(*){box-sizing:border-box;margin:auto;max-width:var(--sgds-mainnav-max-width,1440px);padding:var(--sgds-padding-sm) var(--sgds-mainnav-mobile-padding-x)}@media screen and (min-width:1024px){.dropdown-item.mainnav-dropdown-link ::slotted(*){padding:var(--sgds-padding-sm) var(--sgds-mainnav-padding-x)}}`;class Il extends je{constructor(){super(...arguments),this.active=!1,this.disabled=!1,this.ariaLabel=""}connectedCallback(){super.connectedCallback(),this.addEventListener("keydown",e=>{"Enter"===e.key&&this.anchor.length>0&&this.anchor[0].click()}),this.setAttribute("role","menuitem"),this.setAttribute("aria-disabled",`${this.disabled}`)}render(){return Q`
|
|
85
|
+
*/var Ll=i`:host{color:inherit;display:inline-flex;vertical-align:bottom}:host(.icon-left){margin-right:.25rem}:host(.icon-right){margin-left:.25rem}:host([size=xs]) svg{height:var(--sgds-icon-size-xs);width:var(--sgds-icon-size-xs)}:host([size=sm]) svg{height:var(--sgds-icon-size-sm);width:var(--sgds-icon-size-sm)}:host([size=md]) svg{height:var(--sgds-icon-size-md);width:var(--sgds-icon-size-md)}:host([size=xl]) svg{height:var(--sgds-icon-size-xl);width:var(--sgds-icon-size-xl)}:host([size="2-xl"]) svg{height:var(--sgds-icon-size-2-xl);width:var(--sgds-icon-size-2-xl)}:host([size="3-xl"]) svg{height:var(--sgds-icon-size-3-xl);width:var(--sgds-icon-size-3-xl)}svg{display:inline-block;height:var(--sgds-icon-size-lg);width:var(--sgds-icon-size-lg)}`;const Sl=new Map;class kl extends je{constructor(){super(...arguments),this.size="lg"}willUpdate(e){e.has("name")&&this._loadIcon(this.name)}async _loadIcon(e){if(!e)return void(this._icon=void 0);if(Sl.has(e))return void(this._icon=Sl.get(e));const t=$l[e];if(!t)return console.warn(`Icon not found: ${e}`),void(this._icon=void 0);try{const l=await t();Sl.set(e,l.default),this._icon=l.default}catch(t){console.warn(`Failed to load icon: ${e}`),this._icon=void 0}}updated(){var e;const t=null===(e=this.shadowRoot)||void 0===e?void 0:e.querySelector("svg");t&&(this.ariaLabel?(t.removeAttribute("aria-hidden"),t.setAttribute("aria-label",this.ariaLabel)):(t.removeAttribute("aria-label"),t.setAttribute("aria-hidden","true")))}render(){var e;return null!==(e=this._icon)&&void 0!==e?e:le}}kl.styles=[...je.styles,Ll],e([He({type:String,reflect:!0})],kl.prototype,"name",void 0),e([He({type:String,reflect:!0})],kl.prototype,"size",void 0),e([He({type:String})],kl.prototype,"ariaLabel",void 0),e([Pe()],kl.prototype,"_icon",void 0);var El,Tl,Rl=i`:host([disabled]){cursor:not-allowed}.dropdown-item{align-items:center;background-color:var(--sgds-bg-transparent);clear:both;color:var(--sgds-color-default);cursor:pointer;display:flex;font-size:var(--sgds-font-size-label-sm);gap:var(--sgds-gap-sm);padding:var(--sgds-padding-sm) var(--sgds-padding-lg);text-align:inherit}.dropdown-item:hover{background-color:var(--sgds-bg-translucent-subtle)}.dropdown-item:focus,.dropdown-item:focus-visible{background-color:var(--sgds-bg-translucent-subtle)}.dropdown-item:focus-visible{outline:var(--sgds-outline-focus);outline-offset:var(--sgds-outline-offset-focus)}.dropdown-item.active{background-color:var(--sgds-bg-translucent-subtle);color:var(--sgds-primary-color-default);text-decoration:none}.dropdown-item.disabled,.dropdown-item:disabled{opacity:var(--sgds-opacity-40);pointer-events:none}.dropdown-item.readonly{cursor:default}.dropdown-item.readonly:focus,.dropdown-item.readonly:focus-visible,.dropdown-item.readonly:hover{background-color:var(--sgds-bg-transparent);outline:none}::slotted(*){color:inherit!important;display:flex;gap:var(--sgds-gap-sm);text-decoration:none!important}::slotted(a),::slotted(sgds-checkbox){flex:1;margin:calc(var(--sgds-padding-sm)*-1) calc(var(--sgds-padding-lg)*-1);padding:var(--sgds-padding-sm) var(--sgds-padding-lg)}.dropdown-item.mainnav-dropdown-link{padding:var(--sgds-padding-none)}.dropdown-item.mainnav-dropdown-link ::slotted(*){box-sizing:border-box;margin:auto;max-width:var(--sgds-mainnav-max-width,1440px);padding:var(--sgds-padding-sm) var(--sgds-mainnav-mobile-padding-x)}@media screen and (min-width:1024px){.dropdown-item.mainnav-dropdown-link ::slotted(*){padding:var(--sgds-padding-sm) var(--sgds-mainnav-padding-x)}}`;class Il extends je{constructor(){super(...arguments),this.active=!1,this.disabled=!1,this.readonly=!1,this.ariaLabel=""}connectedCallback(){super.connectedCallback(),this.addEventListener("keydown",e=>{"Enter"===e.key&&this.anchor.length>0&&this.anchor[0].click()}),this.setAttribute("role","menuitem"),this.setAttribute("aria-disabled",`${this.disabled}`)}render(){return Q`
|
|
86
86
|
<div
|
|
87
|
-
class="dropdown-item ${Al({disabled:this.disabled,active:this.active})}"
|
|
88
|
-
tabindex=${this.disabled?"-1":"0"}
|
|
87
|
+
class="dropdown-item ${Al({disabled:this.disabled,active:this.active,readonly:this.readonly})}"
|
|
88
|
+
tabindex=${this.disabled||this.readonly?"-1":"0"}
|
|
89
89
|
aria-label=${e=this.ariaLabel||void 0,e??le}
|
|
90
90
|
>
|
|
91
91
|
<slot></slot>
|
|
92
92
|
</div>
|
|
93
|
-
`;var e}}Il.styles=[Bl,Rl],Il.dependencies={"sgds-icon":kl},e([Be({flatten:!0})],Il.prototype,"anchor",void 0),e([He({type:Boolean})],Il.prototype,"active",void 0),e([He({type:Boolean,reflect:!0})],Il.prototype,"disabled",void 0),e([He({type:String})],Il.prototype,"ariaLabel",void 0);class Dl extends je{constructor(){super(...arguments),this.size="md"}render(){return Q`
|
|
93
|
+
`;var e}}Il.styles=[Bl,Rl],Il.dependencies={"sgds-icon":kl},e([Be({flatten:!0})],Il.prototype,"anchor",void 0),e([He({type:Boolean})],Il.prototype,"active",void 0),e([He({type:Boolean,reflect:!0})],Il.prototype,"disabled",void 0),e([He({type:Boolean,reflect:!0})],Il.prototype,"readonly",void 0),e([He({type:String})],Il.prototype,"ariaLabel",void 0);class Dl extends je{constructor(){super(...arguments),this.size="md"}render(){return Q`
|
|
94
94
|
<sgds-dropdown>
|
|
95
95
|
<button slot="toggler" class="overflow-btn" aria-label="More options">
|
|
96
96
|
<sgds-icon name="three-dots" size=${this.size}></sgds-icon>
|
|
@@ -255,7 +255,7 @@ class extends ke{constructor(e){if(super(e),e.type!==$e||"class"!==e.name||e.str
|
|
|
255
255
|
clip-rule="evenodd"
|
|
256
256
|
/>
|
|
257
257
|
</svg>
|
|
258
|
-
`,
|
|
258
|
+
`,bo=Object.freeze({__proto__:null,default:Zo}),xo=Q`
|
|
259
259
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
260
260
|
<path
|
|
261
261
|
fill="currentColor"
|
|
@@ -268,7 +268,7 @@ class extends ke{constructor(e){if(super(e),e.type!==$e||"class"!==e.name||e.str
|
|
|
268
268
|
clip-rule="evenodd"
|
|
269
269
|
/>
|
|
270
270
|
</svg>
|
|
271
|
-
`,Co=Object.freeze({__proto__:null,default:
|
|
271
|
+
`,Co=Object.freeze({__proto__:null,default:xo}),Mo=Q`
|
|
272
272
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
273
273
|
<path
|
|
274
274
|
fill="currentColor"
|
|
@@ -531,7 +531,7 @@ class extends ke{constructor(e){if(super(e),e.type!==$e||"class"!==e.name||e.str
|
|
|
531
531
|
clip-rule="evenodd"
|
|
532
532
|
/>
|
|
533
533
|
</svg>
|
|
534
|
-
`,Zn=Object.freeze({__proto__:null,default:_n}),
|
|
534
|
+
`,Zn=Object.freeze({__proto__:null,default:_n}),bn=Q`
|
|
535
535
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
536
536
|
<path
|
|
537
537
|
fill="currentColor"
|
|
@@ -540,7 +540,7 @@ class extends ke{constructor(e){if(super(e),e.type!==$e||"class"!==e.name||e.str
|
|
|
540
540
|
clip-rule="evenodd"
|
|
541
541
|
/>
|
|
542
542
|
</svg>
|
|
543
|
-
`,
|
|
543
|
+
`,xn=Object.freeze({__proto__:null,default:bn}),Cn=Q`
|
|
544
544
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
545
545
|
<path
|
|
546
546
|
fill="currentColor"
|
|
@@ -820,7 +820,7 @@ class extends ke{constructor(e){if(super(e),e.type!==$e||"class"!==e.name||e.str
|
|
|
820
820
|
clip-rule="evenodd"
|
|
821
821
|
/>
|
|
822
822
|
</svg>
|
|
823
|
-
`,Zr=Object.freeze({__proto__:null,default:_r}),
|
|
823
|
+
`,Zr=Object.freeze({__proto__:null,default:_r}),br=Q`
|
|
824
824
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
825
825
|
<path
|
|
826
826
|
fill="currentColor"
|
|
@@ -833,7 +833,7 @@ class extends ke{constructor(e){if(super(e),e.type!==$e||"class"!==e.name||e.str
|
|
|
833
833
|
clip-rule="evenodd"
|
|
834
834
|
/>
|
|
835
835
|
</svg>
|
|
836
|
-
`,
|
|
836
|
+
`,xr=Object.freeze({__proto__:null,default:br}),Cr=Q`
|
|
837
837
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
838
838
|
<path
|
|
839
839
|
fill="currentColor"
|
|
@@ -1120,7 +1120,7 @@ class extends ke{constructor(e){if(super(e),e.type!==$e||"class"!==e.name||e.str
|
|
|
1120
1120
|
d="M8.316 13.963a.6.6 0 1 0-.231-1.177c-1.729.34-3.236.904-4.328 1.64-1.08.728-1.857 1.702-1.857 2.868 0 1.563 1.38 2.78 3.137 3.57 1.813.816 4.275 1.305 6.963 1.305 2.688 0 5.151-.49 6.964-1.305 1.757-.79 3.136-2.007 3.136-3.57 0-1.166-.777-2.14-1.856-2.867-1.092-.737-2.6-1.301-4.328-1.641a.6.6 0 1 0-.231 1.177c1.627.32 2.97.839 3.888 1.459.932.628 1.327 1.285 1.327 1.872 0 .797-.747 1.719-2.428 2.475-1.626.732-3.913 1.2-6.472 1.2-2.558 0-4.846-.468-6.47-1.2-1.683-.756-2.43-1.678-2.43-2.475 0-.587.395-1.244 1.328-1.873.919-.62 2.261-1.138 3.888-1.458Z"
|
|
1121
1121
|
/>
|
|
1122
1122
|
</svg>
|
|
1123
|
-
`,Zi=Object.freeze({__proto__:null,default:_i}),
|
|
1123
|
+
`,Zi=Object.freeze({__proto__:null,default:_i}),bi=Q`
|
|
1124
1124
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
1125
1125
|
<path fill="currentColor" d="M16.75 5.2a.863.863 0 1 0 0 1.725.863.863 0 0 0 0-1.725Z" />
|
|
1126
1126
|
<path
|
|
@@ -1130,7 +1130,7 @@ class extends ke{constructor(e){if(super(e),e.type!==$e||"class"!==e.name||e.str
|
|
|
1130
1130
|
clip-rule="evenodd"
|
|
1131
1131
|
/>
|
|
1132
1132
|
</svg>
|
|
1133
|
-
`,
|
|
1133
|
+
`,xi=Object.freeze({__proto__:null,default:bi}),Ci=Q`
|
|
1134
1134
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
1135
1135
|
<path
|
|
1136
1136
|
fill="currentColor"
|
|
@@ -1373,14 +1373,14 @@ class extends ke{constructor(e){if(super(e),e.type!==$e||"class"!==e.name||e.str
|
|
|
1373
1373
|
d="M3 4.29C3 3.576 3.592 3 4.322 3h15.356C20.408 3 21 3.577 21 4.29v15.42c0 .713-.592 1.29-1.322 1.29H4.322C3.592 21 3 20.423 3 19.71V4.29Zm5.56 13.778V9.94h-2.7v8.128h2.7ZM7.21 8.83c.942 0 1.529-.623 1.529-1.404-.017-.798-.585-1.404-1.51-1.404S5.7 6.629 5.7 7.426c0 .78.586 1.404 1.493 1.404h.018Zm5.522 9.238v-4.54c0-.242.018-.485.09-.658.195-.485.64-.988 1.386-.988.978 0 1.368.745 1.368 1.838v4.348h2.701v-4.662c0-2.497-1.332-3.658-3.109-3.658-1.433 0-2.076.787-2.436 1.342v.028h-.018l.018-.028V9.94h-2.7c.034.763 0 8.128 0 8.128h2.7Z"
|
|
1374
1374
|
/>
|
|
1375
1375
|
</svg>
|
|
1376
|
-
`,Za=Object.freeze({__proto__:null,default:_a}),
|
|
1376
|
+
`,Za=Object.freeze({__proto__:null,default:_a}),ba=Q`
|
|
1377
1377
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
1378
1378
|
<path
|
|
1379
1379
|
fill="currentColor"
|
|
1380
1380
|
d="M4 4.375a1.625 1.625 0 1 0 0 3.25 1.625 1.625 0 0 0 0-3.25Zm5 1a.625.625 0 1 0 0 1.25h12a.625.625 0 1 0 0-1.25H9Zm-5 5a1.625 1.625 0 1 0 0 3.25 1.625 1.625 0 0 0 0-3.25Zm5 1a.625.625 0 1 0 0 1.25h12a.625.625 0 1 0 0-1.25H9Zm-5 5a1.625 1.625 0 1 0 0 3.25 1.625 1.625 0 0 0 0-3.25Zm5 1a.625.625 0 1 0 0 1.25h12a.625.625 0 1 0 0-1.25H9Z"
|
|
1381
1381
|
/>
|
|
1382
1382
|
</svg>
|
|
1383
|
-
`,
|
|
1383
|
+
`,xa=Object.freeze({__proto__:null,default:ba}),Ca=Q`
|
|
1384
1384
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
1385
1385
|
<path
|
|
1386
1386
|
fill="currentColor"
|
|
@@ -1636,7 +1636,7 @@ class extends ke{constructor(e){if(super(e),e.type!==$e||"class"!==e.name||e.str
|
|
|
1636
1636
|
clip-rule="evenodd"
|
|
1637
1637
|
/>
|
|
1638
1638
|
</svg>
|
|
1639
|
-
`,Zc=Object.freeze({__proto__:null,default:_c}),
|
|
1639
|
+
`,Zc=Object.freeze({__proto__:null,default:_c}),bc=Q`
|
|
1640
1640
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
1641
1641
|
<path
|
|
1642
1642
|
fill="currentColor"
|
|
@@ -1645,7 +1645,7 @@ class extends ke{constructor(e){if(super(e),e.type!==$e||"class"!==e.name||e.str
|
|
|
1645
1645
|
clip-rule="evenodd"
|
|
1646
1646
|
/>
|
|
1647
1647
|
</svg>
|
|
1648
|
-
`,
|
|
1648
|
+
`,xc=Object.freeze({__proto__:null,default:bc}),Cc=Q`
|
|
1649
1649
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
1650
1650
|
<path
|
|
1651
1651
|
fill="currentColor"
|
|
@@ -1920,7 +1920,7 @@ class extends ke{constructor(e){if(super(e),e.type!==$e||"class"!==e.name||e.str
|
|
|
1920
1920
|
clip-rule="evenodd"
|
|
1921
1921
|
/>
|
|
1922
1922
|
</svg>
|
|
1923
|
-
`,Zs=Object.freeze({__proto__:null,default:_s}),
|
|
1923
|
+
`,Zs=Object.freeze({__proto__:null,default:_s}),bs=Q`
|
|
1924
1924
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
1925
1925
|
<path
|
|
1926
1926
|
fill="currentColor"
|
|
@@ -1935,7 +1935,7 @@ class extends ke{constructor(e){if(super(e),e.type!==$e||"class"!==e.name||e.str
|
|
|
1935
1935
|
clip-rule="evenodd"
|
|
1936
1936
|
/>
|
|
1937
1937
|
</svg>
|
|
1938
|
-
`,
|
|
1938
|
+
`,xs=Object.freeze({__proto__:null,default:bs}),Cs=Q`
|
|
1939
1939
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
1940
1940
|
<path
|
|
1941
1941
|
fill="currentColor"
|
|
@@ -2196,7 +2196,7 @@ class extends ke{constructor(e){if(super(e),e.type!==$e||"class"!==e.name||e.str
|
|
|
2196
2196
|
clip-rule="evenodd"
|
|
2197
2197
|
/>
|
|
2198
2198
|
</svg>
|
|
2199
|
-
`,Zd=Object.freeze({__proto__:null,default:_d}),
|
|
2199
|
+
`,Zd=Object.freeze({__proto__:null,default:_d}),bd=Q`
|
|
2200
2200
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
2201
2201
|
<path
|
|
2202
2202
|
fill="currentColor"
|
|
@@ -2209,7 +2209,7 @@ class extends ke{constructor(e){if(super(e),e.type!==$e||"class"!==e.name||e.str
|
|
|
2209
2209
|
d="M18.366 5.993a.625.625 0 0 1 .872.142A10.011 10.011 0 0 1 21.125 12c0 2.188-.7 4.214-1.887 5.865a.625.625 0 0 1-1.014-.73A8.761 8.761 0 0 0 19.875 12a8.76 8.76 0 0 0-1.651-5.135.625.625 0 0 1 .142-.872Zm-3.138 2.351a.625.625 0 0 1 .87.156 6.1 6.1 0 0 1 1.099 3.5 6.1 6.1 0 0 1-1.098 3.5.625.625 0 1 1-1.026-.715A4.85 4.85 0 0 0 15.947 12a4.85 4.85 0 0 0-.874-2.785.625.625 0 0 1 .155-.87Z"
|
|
2210
2210
|
/>
|
|
2211
2211
|
</svg>
|
|
2212
|
-
`,
|
|
2212
|
+
`,xd=Object.freeze({__proto__:null,default:bd}),Cd=Q`
|
|
2213
2213
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
2214
2214
|
<path
|
|
2215
2215
|
fill="currentColor"
|