@carbon/ibmdotcom-web-components 1.46.0 → 1.46.1
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/dist/{20-dc9c4f5b.js → 20-02a182bc.js} +1 -1
- package/dist/{20-f97b7be0.js → 20-1dd36789.js} +1 -1
- package/dist/{20-fa83c017.js → 20-389623b3.js} +1 -1
- package/dist/{20-fac8e554.js → 20-c2172966.js} +1 -1
- package/dist/cloud-masthead.js +2 -2
- package/dist/cloud-masthead.min.js +1 -1
- package/dist/cloud-masthead.rtl.js +2 -2
- package/dist/cloud-masthead.rtl.min.js +1 -1
- package/dist/dotcom-shell.js +2 -2
- package/dist/dotcom-shell.min.js +1 -1
- package/dist/dotcom-shell.rtl.js +2 -2
- package/dist/dotcom-shell.rtl.min.js +1 -1
- package/dist/ibmdotcom-web-components-dotcom-shell.js +3 -3
- package/dist/ibmdotcom-web-components-dotcom-shell.min.js +2 -2
- package/dist/ibmdotcom-web-components-dotcom-shell.rtl.js +3 -3
- package/dist/ibmdotcom-web-components-dotcom-shell.rtl.min.js +2 -2
- package/dist/{left-nav-menu-aa49b6c0.js → left-nav-menu-13273ffa.js} +2 -2
- package/dist/{left-nav-menu-3ed8228b.js → left-nav-menu-45f4cf96.js} +1 -1
- package/dist/{left-nav-menu-category-heading-18d3da28.js → left-nav-menu-category-heading-7c41d436.js} +1 -1
- package/dist/{left-nav-menu-category-heading-cc28184c.js → left-nav-menu-category-heading-e98c83a0.js} +1 -1
- package/dist/{left-nav-menu-category-heading-a372610d.js → left-nav-menu-category-heading-ecdd4ce1.js} +1 -1
- package/dist/{left-nav-menu-category-heading-a81beb4e.js → left-nav-menu-category-heading-fa6de430.js} +1 -1
- package/dist/{left-nav-menu-7b11fe9d.js → left-nav-menu-ccfc5c2a.js} +1 -1
- package/dist/{left-nav-menu-b746ca49.js → left-nav-menu-f06b41b5.js} +1 -1
- package/dist/{left-nav-menu-item-384f9348.js → left-nav-menu-item-947c8436.js} +1 -1
- package/dist/{left-nav-menu-item-29e932a4.js → left-nav-menu-item-cb25582d.js} +1 -1
- package/dist/{left-nav-menu-item-d86ff42c.js → left-nav-menu-item-d14a2a75.js} +1 -1
- package/dist/{left-nav-menu-item-bd4df7f2.js → left-nav-menu-item-fd147243.js} +1 -1
- package/dist/{left-nav-menu-section-38250b3a.js → left-nav-menu-section-3167dbe1.js} +1 -1
- package/dist/{left-nav-menu-section-c80546c1.js → left-nav-menu-section-388498e8.js} +2 -2
- package/dist/{left-nav-menu-section-fa9753d1.js → left-nav-menu-section-b4cc66f9.js} +2 -2
- package/dist/{left-nav-menu-section-41c63361.js → left-nav-menu-section-dfce9c20.js} +2 -2
- package/dist/{left-nav-overlay-454030c9.js → left-nav-overlay-18c0371b.js} +1 -1
- package/dist/{left-nav-overlay-4042f56f.js → left-nav-overlay-3c1ff877.js} +1 -1
- package/dist/{left-nav-overlay-7827ca27.js → left-nav-overlay-ac5e30d5.js} +1 -1
- package/dist/{left-nav-overlay-e03ea322.js → left-nav-overlay-f9c7e5c7.js} +1 -1
- package/dist/{masthead-composite-029a05d4.js → masthead-composite-087cb79b.js} +5 -5
- package/dist/{masthead-composite-bd3bcdff.js → masthead-composite-578598ce.js} +5 -5
- package/dist/{masthead-composite-db78ac4c.js → masthead-composite-623f07ce.js} +13 -13
- package/dist/{masthead-composite-7f747d7b.js → masthead-composite-99a5904b.js} +13 -13
- package/dist/{megamenu-category-group-d865dddc.js → megamenu-category-group-122a5a18.js} +1 -1
- package/dist/{megamenu-category-group-3f07fb68.js → megamenu-category-group-aac5d3f9.js} +1 -1
- package/dist/{megamenu-category-group-copy-7b945d97.js → megamenu-category-group-copy-048cb1d5.js} +1 -1
- package/dist/{megamenu-category-group-copy-8caa6d5b.js → megamenu-category-group-copy-3862e897.js} +1 -1
- package/dist/{megamenu-category-group-copy-c3106465.js → megamenu-category-group-copy-6fd75064.js} +1 -1
- package/dist/{megamenu-category-group-copy-bb5e2a69.js → megamenu-category-group-copy-f4a4c1a0.js} +1 -1
- package/dist/{megamenu-category-group-003dac33.js → megamenu-category-group-f1182102.js} +1 -1
- package/dist/{megamenu-category-group-aaa02057.js → megamenu-category-group-fc0fadbe.js} +1 -1
- package/dist/{megamenu-category-link-a9ce4253.js → megamenu-category-link-39a5298f.js} +1 -1
- package/dist/{megamenu-category-link-df087fb2.js → megamenu-category-link-5234fe86.js} +1 -1
- package/dist/{megamenu-category-link-cdf837c1.js → megamenu-category-link-ab8b707a.js} +1 -1
- package/dist/{megamenu-category-link-f5f4e6f6.js → megamenu-category-link-cb118106.js} +1 -1
- package/dist/{megamenu-left-navigation-9766cd68.js → megamenu-left-navigation-79d6a4f2.js} +1 -1
- package/dist/{megamenu-left-navigation-cefcf6c1.js → megamenu-left-navigation-c7365b23.js} +1 -1
- package/dist/{megamenu-left-navigation-061bc853.js → megamenu-left-navigation-f055d9e9.js} +1 -1
- package/dist/{megamenu-left-navigation-47fc777e.js → megamenu-left-navigation-fa3fd74a.js} +1 -1
- package/dist/{megamenu-overlay-93940d16.js → megamenu-overlay-1bc5137c.js} +1 -1
- package/dist/{megamenu-overlay-c3466795.js → megamenu-overlay-5394962e.js} +1 -1
- package/dist/{megamenu-overlay-02bea600.js → megamenu-overlay-bf2d1b9d.js} +1 -1
- package/dist/{megamenu-overlay-b0774a98.js → megamenu-overlay-c08cb49a.js} +1 -1
- package/es/internal/vendor/@carbon/ibmdotcom-services/internal/vendor/@carbon/ibmdotcom-utilities/utilities/settings/settings.js +1 -1
- package/es/internal/vendor/@carbon/ibmdotcom-utilities/utilities/settings/settings.js +1 -1
- package/lib/internal/vendor/@carbon/ibmdotcom-services/internal/vendor/@carbon/ibmdotcom-utilities/utilities/settings/settings.js +1 -1
- package/lib/internal/vendor/@carbon/ibmdotcom-utilities/utilities/settings/settings.js +1 -1
- package/package.json +9 -9
package/dist/cloud-masthead.js
CHANGED
|
@@ -76,8 +76,8 @@
|
|
|
76
76
|
*/
|
|
77
77
|
|
|
78
78
|
let process = { env: {} };
|
|
79
|
-
import { a6 as _createClass, K as Cookies, a7 as _asyncToGenerator, a8 as regenerator, a9 as axios, aa as _classCallCheck, ae as CLOUD_ACCOUNT_AUTH_API_ACTION, c as css, F as FocusMixin, S as StableSelectorMixin, t as state, a as classMap, h as html, p as property, y as ifNonNull, d as carbonElement, s as settings_1, e as settings, L as LitElement, _ as _decorate$g, q as query, P as _get, Q as _getPrototypeOf, af as styles$4, ag as DDSMastheadGlobalBar, ah as DDSMastheadProfile, n as ifDefined, ai as svgResultCarbonIcon$1, aj as DDSTopNavName, ak as DDSMegaMenu, al as indexOf, am as forEach, an as _objectSpread2, H as HostListenerMixin, u as HostListener, D as FORM_ELEMENT_COLOR_SCHEME, ao as find, m as svgResultCarbonIcon$2, ap as DDSMegaMenuRightNavigation, f as svg, g as spread, z as BXLink, ac as DDSMastheadComposite, aq as UNAUTHENTICATED_STATUS, W as globalInit, ar as NAV_ITEMS_RENDER_TARGET, X as ConnectMixin, Y as store, Z as pickBy, $ as bindActionCreators, a0 as loadLanguage, a1 as setLanguage, a4 as loadTranslation } from './masthead-composite-
|
|
80
|
-
import DDSMegaMenuLeftNavigation from './megamenu-left-navigation-
|
|
79
|
+
import { a6 as _createClass, K as Cookies, a7 as _asyncToGenerator, a8 as regenerator, a9 as axios, aa as _classCallCheck, ae as CLOUD_ACCOUNT_AUTH_API_ACTION, c as css, F as FocusMixin, S as StableSelectorMixin, t as state, a as classMap, h as html, p as property, y as ifNonNull, d as carbonElement, s as settings_1, e as settings, L as LitElement, _ as _decorate$g, q as query, P as _get, Q as _getPrototypeOf, af as styles$4, ag as DDSMastheadGlobalBar, ah as DDSMastheadProfile, n as ifDefined, ai as svgResultCarbonIcon$1, aj as DDSTopNavName, ak as DDSMegaMenu, al as indexOf, am as forEach, an as _objectSpread2, H as HostListenerMixin, u as HostListener, D as FORM_ELEMENT_COLOR_SCHEME, ao as find, m as svgResultCarbonIcon$2, ap as DDSMegaMenuRightNavigation, f as svg, g as spread, z as BXLink, ac as DDSMastheadComposite, aq as UNAUTHENTICATED_STATUS, W as globalInit, ar as NAV_ITEMS_RENDER_TARGET, X as ConnectMixin, Y as store, Z as pickBy, $ as bindActionCreators, a0 as loadLanguage, a1 as setLanguage, a4 as loadTranslation } from './masthead-composite-99a5904b.js';
|
|
80
|
+
import DDSMegaMenuLeftNavigation from './megamenu-left-navigation-79d6a4f2.js';
|
|
81
81
|
|
|
82
82
|
/**
|
|
83
83
|
* The cookie name for determining user login status for cloud.ibm.com.
|
|
@@ -75,7 +75,7 @@
|
|
|
75
75
|
* https://www.npmjs.com/package/axios
|
|
76
76
|
*/
|
|
77
77
|
|
|
78
|
-
import{a6 as t,K as e,a7 as o,a8 as i,a9 as r,aa as n,ae as s,c as a,F as d,S as l,t as b,a as c,h as x,p,y as h,d as g,s as m,e as f,L as _,_ as v,q as u,P as y,Q as w,af as k,ag as z,ah as E,n as T,ai as P,aj as A,ak as C,al as S,am as D,an as I,H as j,u as $,D as q,ao as O,m as M,ap as F,f as B,g as R,z as N,ac as G,aq as U,W as X,ar as Y,X as L,Y as V,Z as H,$ as K,a0 as Z,a1 as Q,a4 as W}from"./masthead-composite-
|
|
78
|
+
import{a6 as t,K as e,a7 as o,a8 as i,a9 as r,aa as n,ae as s,c as a,F as d,S as l,t as b,a as c,h as x,p,y as h,d as g,s as m,e as f,L as _,_ as v,q as u,P as y,Q as w,af as k,ag as z,ah as E,n as T,ai as P,aj as A,ak as C,al as S,am as D,an as I,H as j,u as $,D as q,ao as O,m as M,ap as F,f as B,g as R,z as N,ac as G,aq as U,W as X,ar as Y,X as L,Y as V,Z as H,$ as K,a0 as Z,a1 as Q,a4 as W}from"./masthead-composite-578598ce.js";import J from"./megamenu-left-navigation-fa3fd74a.js";var tt=function(){function s(){n(this,s)}var a;return t(s,null,[{key:"checkCookie",value:function(){return{user:"1"===e.get("com.ibm.cloud.iam.LoggedIn.prod")?"authenticated":"anonymous"}}},{key:"checkAPI",value:(a=o(i.mark((function t(){var e;return i.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,r.get("/api/v6/selected-account?profile=true",{headers:{Accept:"application/json"}}).then((function(t){return 200===t.status?"authenticated":"anonymous"})).catch((function(t){return console.error(t),"anonymous"}));case 2:return e=t.sent,t.abrupt("return",{user:e});case 4:case"end":return t.stop()}}),t)}))),function(){return a.apply(this,arguments)})}]),s}();function et(t){return async e=>{const o="cookie"===t?tt.checkCookie():tt.checkAPI();var i;e((i=o,{type:s.SET_REQUEST_USER_STATUS_IN_PROGRESS,request:i}));try{e(function(t){return{type:s.SET_USER_STATUS,request:t}}(await o))}catch(t){throw e(
|
|
79
79
|
/**
|
|
80
80
|
* @license
|
|
81
81
|
*
|
|
@@ -76,8 +76,8 @@
|
|
|
76
76
|
*/
|
|
77
77
|
|
|
78
78
|
let process = { env: {} };
|
|
79
|
-
import { a6 as _createClass, K as Cookies, a7 as _asyncToGenerator, a8 as regenerator, a9 as axios, aa as _classCallCheck, ae as CLOUD_ACCOUNT_AUTH_API_ACTION, c as css, F as FocusMixin, S as StableSelectorMixin, t as state, a as classMap, h as html, p as property, y as ifNonNull, d as carbonElement, s as settings_1, e as settings, L as LitElement, _ as _decorate$g, q as query, P as _get, Q as _getPrototypeOf, af as styles$4, ag as DDSMastheadGlobalBar, ah as DDSMastheadProfile, n as ifDefined, ai as svgResultCarbonIcon$1, aj as DDSTopNavName, ak as DDSMegaMenu, al as indexOf, am as forEach, an as _objectSpread2, H as HostListenerMixin, u as HostListener, D as FORM_ELEMENT_COLOR_SCHEME, ao as find, m as svgResultCarbonIcon$2, ap as DDSMegaMenuRightNavigation, f as svg, g as spread, z as BXLink, ac as DDSMastheadComposite, aq as UNAUTHENTICATED_STATUS, W as globalInit, ar as NAV_ITEMS_RENDER_TARGET, X as ConnectMixin, Y as store, Z as pickBy, $ as bindActionCreators, a0 as loadLanguage, a1 as setLanguage, a4 as loadTranslation } from './masthead-composite-
|
|
80
|
-
import DDSMegaMenuLeftNavigation from './megamenu-left-navigation-
|
|
79
|
+
import { a6 as _createClass, K as Cookies, a7 as _asyncToGenerator, a8 as regenerator, a9 as axios, aa as _classCallCheck, ae as CLOUD_ACCOUNT_AUTH_API_ACTION, c as css, F as FocusMixin, S as StableSelectorMixin, t as state, a as classMap, h as html, p as property, y as ifNonNull, d as carbonElement, s as settings_1, e as settings, L as LitElement, _ as _decorate$g, q as query, P as _get, Q as _getPrototypeOf, af as styles$4, ag as DDSMastheadGlobalBar, ah as DDSMastheadProfile, n as ifDefined, ai as svgResultCarbonIcon$1, aj as DDSTopNavName, ak as DDSMegaMenu, al as indexOf, am as forEach, an as _objectSpread2, H as HostListenerMixin, u as HostListener, D as FORM_ELEMENT_COLOR_SCHEME, ao as find, m as svgResultCarbonIcon$2, ap as DDSMegaMenuRightNavigation, f as svg, g as spread, z as BXLink, ac as DDSMastheadComposite, aq as UNAUTHENTICATED_STATUS, W as globalInit, ar as NAV_ITEMS_RENDER_TARGET, X as ConnectMixin, Y as store, Z as pickBy, $ as bindActionCreators, a0 as loadLanguage, a1 as setLanguage, a4 as loadTranslation } from './masthead-composite-623f07ce.js';
|
|
80
|
+
import DDSMegaMenuLeftNavigation from './megamenu-left-navigation-c7365b23.js';
|
|
81
81
|
|
|
82
82
|
/**
|
|
83
83
|
* The cookie name for determining user login status for cloud.ibm.com.
|
|
@@ -75,7 +75,7 @@
|
|
|
75
75
|
* https://www.npmjs.com/package/axios
|
|
76
76
|
*/
|
|
77
77
|
|
|
78
|
-
import{a6 as t,K as e,a7 as o,a8 as i,a9 as r,aa as n,ae as s,c as a,F as d,S as l,t as b,a as c,h as x,p as h,y as p,d as g,s as m,e as f,L as _,_ as v,q as u,P as y,Q as w,af as k,ag as z,ah as E,n as T,ai as P,aj as A,ak as C,al as S,am as D,an as I,H as j,u as $,D as q,ao as O,m as M,ap as F,f as B,g as R,z as N,ac as G,aq as U,W as X,ar as Y,X as L,Y as V,Z as H,$ as K,a0 as Z,a1 as Q,a4 as W}from"./masthead-composite-
|
|
78
|
+
import{a6 as t,K as e,a7 as o,a8 as i,a9 as r,aa as n,ae as s,c as a,F as d,S as l,t as b,a as c,h as x,p as h,y as p,d as g,s as m,e as f,L as _,_ as v,q as u,P as y,Q as w,af as k,ag as z,ah as E,n as T,ai as P,aj as A,ak as C,al as S,am as D,an as I,H as j,u as $,D as q,ao as O,m as M,ap as F,f as B,g as R,z as N,ac as G,aq as U,W as X,ar as Y,X as L,Y as V,Z as H,$ as K,a0 as Z,a1 as Q,a4 as W}from"./masthead-composite-087cb79b.js";import J from"./megamenu-left-navigation-f055d9e9.js";var tt=function(){function s(){n(this,s)}var a;return t(s,null,[{key:"checkCookie",value:function(){return{user:"1"===e.get("com.ibm.cloud.iam.LoggedIn.prod")?"authenticated":"anonymous"}}},{key:"checkAPI",value:(a=o(i.mark((function t(){var e;return i.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,r.get("/api/v6/selected-account?profile=true",{headers:{Accept:"application/json"}}).then((function(t){return 200===t.status?"authenticated":"anonymous"})).catch((function(t){return console.error(t),"anonymous"}));case 2:return e=t.sent,t.abrupt("return",{user:e});case 4:case"end":return t.stop()}}),t)}))),function(){return a.apply(this,arguments)})}]),s}();function et(t){return async e=>{const o="cookie"===t?tt.checkCookie():tt.checkAPI();var i;e((i=o,{type:s.SET_REQUEST_USER_STATUS_IN_PROGRESS,request:i}));try{e(function(t){return{type:s.SET_USER_STATUS,request:t}}(await o))}catch(t){throw e(
|
|
79
79
|
/**
|
|
80
80
|
* @license
|
|
81
81
|
*
|
package/dist/dotcom-shell.js
CHANGED
package/dist/dotcom-shell.min.js
CHANGED
|
@@ -75,4 +75,4 @@
|
|
|
75
75
|
* https://www.npmjs.com/package/axios
|
|
76
76
|
*/
|
|
77
77
|
|
|
78
|
-
import"./ibmdotcom-web-components-dotcom-shell.min.js";import"./masthead-composite-
|
|
78
|
+
import"./ibmdotcom-web-components-dotcom-shell.min.js";import"./masthead-composite-578598ce.js";import"./20-02a182bc.js";
|
package/dist/dotcom-shell.rtl.js
CHANGED
|
@@ -75,4 +75,4 @@
|
|
|
75
75
|
* https://www.npmjs.com/package/axios
|
|
76
76
|
*/
|
|
77
77
|
|
|
78
|
-
import"./ibmdotcom-web-components-dotcom-shell.rtl.min.js";import"./masthead-composite-
|
|
78
|
+
import"./ibmdotcom-web-components-dotcom-shell.rtl.min.js";import"./masthead-composite-087cb79b.js";import"./20-389623b3.js";
|
|
@@ -76,8 +76,8 @@
|
|
|
76
76
|
*/
|
|
77
77
|
|
|
78
78
|
let process = { env: {} };
|
|
79
|
-
import { l as lib, b as breakpoints, r as render, c as css, S as StableSelectorMixin, p as property, h as html, a as classMap, d as carbonElement, s as settings_1, e as settings$1, L as LitElement, f as svg, g as spread, B as BXDropdown, q as query, i as indexOf, j as forEach, k as svgResultCarbonIcon$k, m as svgResultCarbonIcon$l, n as ifDefined, o as findIndex, H as HostListenerMixin, t as state, u as HostListener, v as on, w as selectorTabbable, _ as _decorate$v, F as FocusMixin, x as svgResultCarbonIcon$m, y as ifNonNull, C as CTA_TYPE, z as BXLink, A as StickyHeader, V as ValidityMixin, D as FORM_ELEMENT_COLOR_SCHEME, E as FormMixin, G as root, I as toNumber, J as isObject, K as Cookies, M as LocaleAPI, N as spread$1, O as filter, P as _get$d, Q as _getPrototypeOf$d, R as DROPDOWN_SIZE$1, T as styles$d, U as LocaleAPI$1, W as globalInit, X as ConnectMixin, Y as store, Z as pickBy, $ as bindActionCreators, a0 as loadLanguage, a1 as setLanguage, a2 as loadLocaleList, a3 as setLocaleList, a4 as loadTranslation, a5 as setTranslation, a6 as _createClass$1, a7 as _asyncToGenerator, a8 as regenerator, a9 as axios, aa as _classCallCheck$1, ab as PROFILE_API_ACTION, ac as DDSMastheadComposite, ad as UNAUTHENTICATED_STATUS } from './masthead-composite-
|
|
80
|
-
import { s as svgResultCarbonIcon$n } from './20-
|
|
79
|
+
import { l as lib, b as breakpoints, r as render, c as css, S as StableSelectorMixin, p as property, h as html, a as classMap, d as carbonElement, s as settings_1, e as settings$1, L as LitElement, f as svg, g as spread, B as BXDropdown, q as query, i as indexOf, j as forEach, k as svgResultCarbonIcon$k, m as svgResultCarbonIcon$l, n as ifDefined, o as findIndex, H as HostListenerMixin, t as state, u as HostListener, v as on, w as selectorTabbable, _ as _decorate$v, F as FocusMixin, x as svgResultCarbonIcon$m, y as ifNonNull, C as CTA_TYPE, z as BXLink, A as StickyHeader, V as ValidityMixin, D as FORM_ELEMENT_COLOR_SCHEME, E as FormMixin, G as root, I as toNumber, J as isObject, K as Cookies, M as LocaleAPI, N as spread$1, O as filter, P as _get$d, Q as _getPrototypeOf$d, R as DROPDOWN_SIZE$1, T as styles$d, U as LocaleAPI$1, W as globalInit, X as ConnectMixin, Y as store, Z as pickBy, $ as bindActionCreators, a0 as loadLanguage, a1 as setLanguage, a2 as loadLocaleList, a3 as setLocaleList, a4 as loadTranslation, a5 as setTranslation, a6 as _createClass$1, a7 as _asyncToGenerator, a8 as regenerator, a9 as axios, aa as _classCallCheck$1, ab as PROFILE_API_ACTION, ac as DDSMastheadComposite, ad as UNAUTHENTICATED_STATUS } from './masthead-composite-99a5904b.js';
|
|
80
|
+
import { s as svgResultCarbonIcon$n } from './20-c2172966.js';
|
|
81
81
|
|
|
82
82
|
function _defineProperty$5(obj, key, value) { key = _toPropertyKey$z(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
83
83
|
function _toPropertyKey$z(arg) { var key = _toPrimitive$z(arg, "string"); return typeof key === "symbol" ? key : String(key); }
|
|
@@ -563,7 +563,7 @@ const svgResultCarbonIcon$j = ({ children, ...attrs } = {}) =>
|
|
|
563
563
|
* Carbon for IBM.com v1.61.0',
|
|
564
564
|
*/
|
|
565
565
|
var settings = {
|
|
566
|
-
version: 'Carbon for IBM.com v1.61.
|
|
566
|
+
version: 'Carbon for IBM.com v1.61.1',
|
|
567
567
|
stablePrefix: 'dds'
|
|
568
568
|
};
|
|
569
569
|
|
|
@@ -75,7 +75,7 @@
|
|
|
75
75
|
* https://www.npmjs.com/package/axios
|
|
76
76
|
*/
|
|
77
77
|
|
|
78
|
-
let t,e,o={env:{}};import{l as i,b as r,r as n,c as s,S as a,p as d,h as l,a as c,d as b,s as x,e as g,L as p,f as h,g as f,B as m,q as _,i as u,j as v,k as y,m as w,n as k,o as z,H as E,t as P,u as C,v as T,w as S,_ as A,F as q,x as D,y as M,C as j,z as $,A as I,V as O,D as L,E as B,G as R,I as F,J as V,K as X,M as N,N as G,O as H,P as U,Q as Y,R as Z,T as W,U as Q,W as K,X as J,Y as tt,Z as et,$ as ot,a0 as it,a1 as rt,a2 as nt,a3 as st,a4 as at,a5 as dt,a6 as lt,a7 as ct,a8 as bt,a9 as xt,aa as gt,ab as pt,ac as ht,ad as ft}from"./masthead-composite-
|
|
78
|
+
let t,e,o={env:{}};import{l as i,b as r,r as n,c as s,S as a,p as d,h as l,a as c,d as b,s as x,e as g,L as p,f as h,g as f,B as m,q as _,i as u,j as v,k as y,m as w,n as k,o as z,H as E,t as P,u as C,v as T,w as S,_ as A,F as q,x as D,y as M,C as j,z as $,A as I,V as O,D as L,E as B,G as R,I as F,J as V,K as X,M as N,N as G,O as H,P as U,Q as Y,R as Z,T as W,U as Q,W as K,X as J,Y as tt,Z as et,$ as ot,a0 as it,a1 as rt,a2 as nt,a3 as st,a4 as at,a5 as dt,a6 as lt,a7 as ct,a8 as bt,a9 as xt,aa as gt,ab as pt,ac as ht,ad as ft}from"./masthead-composite-578598ce.js";import{s as mt}from"./20-02a182bc.js";function _t(t,e,o){return(e=function(t){var e=function(t,e){if("object"!=typeof t||null===t)return t;var o=t[Symbol.toPrimitive];if(void 0!==o){var i=o.call(t,e||"default");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==typeof e?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[e]=o,t}!function(t){t.SM="sm",t.MD="md",t.LG="lg",t.XLG="xlg",t.MAX="max"}(t||(t={})),function(t){t.MIN="min",t.MAX="max"}(e||(e={}));const ut=(t,o)=>class extends t{constructor(...t){super(...t),_t(this,"_mqConfig",o),_t(this,"carbonBreakpoints",this._generateMediaQueriesByBreakpoint())}_generateMediaQueriesByBreakpoint(){const{_mqConfig:t}=this,e=Object.keys(t),o={};return e.forEach((e=>{o[e]=i.matchMedia(`(${t[e]}-width: ${r[e].width})`)})),o}_attachMediaQueryEventListeners(){const{_mqConfig:t,carbonBreakpoints:o}=this;Object.keys(o).forEach((o=>{const i=`mediaQueryCallback${t[o]===e.MAX?`${t[o][0].toUpperCase()}${t[o].slice(1)}`:""}${o.toUpperCase()}`;"function"==typeof this[i]?this.carbonBreakpoints[o].addEventListener("change",this[i].bind(this)):console.warn(`MediaQueryMixin: Element ${this.nodeName} has not defined a callback for the "${o}" breakpoint. Please remove the breakpoint from the mixin configuration or implement the following method: ${i}`)}))}firstUpdated(){this._attachMediaQueryEventListeners(),super.firstUpdated()}};function vt(t,e,o){return(e=function(t){var e=function(t,e){if("object"!=typeof t||null===t)return t;var o=t[Symbol.toPrimitive];if(void 0!==o){var i=o.call(t,e||"default");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==typeof e?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[e]=o,t}const yt=t=>class extends t{constructor(...t){super(...t),vt(this,"lightRenderRoot",null)}createLightRenderRoot(){return this}update(t){super.update(t),this.lightRenderRoot||(this.lightRenderRoot=this.createLightRenderRoot());const{lightRenderRoot:e}=this;e&&n(this.renderLightDOM(),e,{eventContext:this})}};function wt(t,e,o){return(e=function(t){var e=function(t,e){if("object"!=typeof t||null===t)return t;var o=t[Symbol.toPrimitive];if(void 0!==o){var i=o.call(t,e||"default");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==typeof e?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[e]=o,t}const kt=(t,e)=>{const o=t.closest(e);if(o)return o;const{host:i}=t.getRootNode();return i?kt(i,e):null};
|
|
79
79
|
/**
|
|
80
80
|
* @license
|
|
81
81
|
*
|
|
@@ -93,7 +93,7 @@ let zt,Et,Pt,Ct,Tt;!function(t){t.REGULAR="",t.SHORT="short",t.MICRO="micro"}(zt
|
|
|
93
93
|
* This source code is licensed under the Apache-2.0 license found in the
|
|
94
94
|
* LICENSE file in the root directory of this source tree.
|
|
95
95
|
*/
|
|
96
|
-
const Nt=({children:t,...e}={})=>h`<svg focusable="false" preserveAspectRatio="xMidYMid meet" xmlns="http://www.w3.org/2000/svg" fill="currentColor" ...="${f(e)}" aria-hidden="true" width="16" height="16" viewBox="0 0 32 32">${t}${t}${t}<path d="M24 9.4L22.6 8 16 14.6 9.4 8 8 9.4 14.6 16 8 22.6 9.4 24 16 17.4 22.6 24 24 22.6 17.4 16 24 9.4z"></path></svg>`;let Gt,Ht,Ut,Yt,Zt=t=>t;function Wt(){Wt=function(){return t};var t={elementsDefinitionOrder:[["method"],["field"]],initializeInstanceElements:function(t,e){["method","field"].forEach((function(o){e.forEach((function(e){e.kind===o&&"own"===e.placement&&this.defineClassElement(t,e)}),this)}),this)},initializeClassElements:function(t,e){var o=t.prototype;["method","field"].forEach((function(i){e.forEach((function(e){var r=e.placement;if(e.kind===i&&("static"===r||"prototype"===r)){var n="static"===r?t:o;this.defineClassElement(n,e)}}),this)}),this)},defineClassElement:function(t,e){var o=e.descriptor;if("field"===e.kind){var i=e.initializer;o={enumerable:o.enumerable,writable:o.writable,configurable:o.configurable,value:void 0===i?void 0:i.call(t)}}Object.defineProperty(t,e.key,o)},decorateClass:function(t,e){var o=[],i=[],r={static:[],prototype:[],own:[]};if(t.forEach((function(t){this.addElementPlacement(t,r)}),this),t.forEach((function(t){if(!Jt(t))return o.push(t);var e=this.decorateElement(t,r);o.push(e.element),o.push.apply(o,e.extras),i.push.apply(i,e.finishers)}),this),!e)return{elements:o,finishers:i};var n=this.decorateConstructor(o,e);return i.push.apply(i,n.finishers),n.finishers=i,n},addElementPlacement:function(t,e,o){var i=e[t.placement];if(!o&&-1!==i.indexOf(t.key))throw new TypeError("Duplicated element ("+t.key+")");i.push(t.key)},decorateElement:function(t,e){for(var o=[],i=[],r=t.decorators,n=r.length-1;n>=0;n--){var s=e[t.placement];s.splice(s.indexOf(t.key),1);var a=this.fromElementDescriptor(t),d=this.toElementFinisherExtras((0,r[n])(a)||a);t=d.element,this.addElementPlacement(t,e),d.finisher&&i.push(d.finisher);var l=d.extras;if(l){for(var c=0;c<l.length;c++)this.addElementPlacement(l[c],e);o.push.apply(o,l)}}return{element:t,finishers:i,extras:o}},decorateConstructor:function(t,e){for(var o=[],i=e.length-1;i>=0;i--){var r=this.fromClassDescriptor(t),n=this.toClassDescriptor((0,e[i])(r)||r);if(void 0!==n.finisher&&o.push(n.finisher),void 0!==n.elements){t=n.elements;for(var s=0;s<t.length-1;s++)for(var a=s+1;a<t.length;a++)if(t[s].key===t[a].key&&t[s].placement===t[a].placement)throw new TypeError("Duplicated element ("+t[s].key+")")}}return{elements:t,finishers:o}},fromElementDescriptor:function(t){var e={kind:t.kind,key:t.key,placement:t.placement,descriptor:t.descriptor};return Object.defineProperty(e,Symbol.toStringTag,{value:"Descriptor",configurable:!0}),"field"===t.kind&&(e.initializer=t.initializer),e},toElementDescriptors:function(t){var e;if(void 0!==t)return(e=t,function(t){if(Array.isArray(t))return t}(e)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(e)||function(t,e){if(t){if("string"==typeof t)return ie(t,e);var o=Object.prototype.toString.call(t).slice(8,-1);return"Object"===o&&t.constructor&&(o=t.constructor.name),"Map"===o||"Set"===o?Array.from(t):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?ie(t,e):void 0}}(e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()).map((function(t){var e=this.toElementDescriptor(t);return this.disallowProperty(t,"finisher","An element descriptor"),this.disallowProperty(t,"extras","An element descriptor"),e}),this)},toElementDescriptor:function(t){var e=String(t.kind);if("method"!==e&&"field"!==e)throw new TypeError('An element descriptor\'s .kind property must be either "method" or "field", but a decorator created an element descriptor with .kind "'+e+'"');var o=oe(t.key),i=String(t.placement);if("static"!==i&&"prototype"!==i&&"own"!==i)throw new TypeError('An element descriptor\'s .placement property must be one of "static", "prototype" or "own", but a decorator created an element descriptor with .placement "'+i+'"');var r=t.descriptor;this.disallowProperty(t,"elements","An element descriptor");var n={kind:e,key:o,placement:i,descriptor:Object.assign({},r)};return"field"!==e?this.disallowProperty(t,"initializer","A method descriptor"):(this.disallowProperty(r,"get","The property descriptor of a field descriptor"),this.disallowProperty(r,"set","The property descriptor of a field descriptor"),this.disallowProperty(r,"value","The property descriptor of a field descriptor"),n.initializer=t.initializer),n},toElementFinisherExtras:function(t){return{element:this.toElementDescriptor(t),finisher:ee(t,"finisher"),extras:this.toElementDescriptors(t.extras)}},fromClassDescriptor:function(t){var e={kind:"class",elements:t.map(this.fromElementDescriptor,this)};return Object.defineProperty(e,Symbol.toStringTag,{value:"Descriptor",configurable:!0}),e},toClassDescriptor:function(t){var e=String(t.kind);if("class"!==e)throw new TypeError('A class descriptor\'s .kind property must be "class", but a decorator created a class descriptor with .kind "'+e+'"');this.disallowProperty(t,"key","A class descriptor"),this.disallowProperty(t,"placement","A class descriptor"),this.disallowProperty(t,"descriptor","A class descriptor"),this.disallowProperty(t,"initializer","A class descriptor"),this.disallowProperty(t,"extras","A class descriptor");var o=ee(t,"finisher");return{elements:this.toElementDescriptors(t.elements),finisher:o}},runClassFinishers:function(t,e){for(var o=0;o<e.length;o++){var i=(0,e[o])(t);if(void 0!==i){if("function"!=typeof i)throw new TypeError("Finishers must return a constructor.");t=i}}return t},disallowProperty:function(t,e,o){if(void 0!==t[e])throw new TypeError(o+" can't have a ."+e+" property.")}};return t}function Qt(t){var e,o=oe(t.key);"method"===t.kind?e={value:t.value,writable:!0,configurable:!0,enumerable:!1}:"get"===t.kind?e={get:t.value,configurable:!0,enumerable:!1}:"set"===t.kind?e={set:t.value,configurable:!0,enumerable:!1}:"field"===t.kind&&(e={configurable:!0,writable:!0,enumerable:!0});var i={kind:"field"===t.kind?"field":"method",key:o,placement:t.static?"static":"field"===t.kind?"own":"prototype",descriptor:e};return t.decorators&&(i.decorators=t.decorators),"field"===t.kind&&(i.initializer=t.value),i}function Kt(t,e){void 0!==t.descriptor.get?e.descriptor.get=t.descriptor.get:e.descriptor.set=t.descriptor.set}function Jt(t){return t.decorators&&t.decorators.length}function te(t){return void 0!==t&&!(void 0===t.value&&void 0===t.writable)}function ee(t,e){var o=t[e];if(void 0!==o&&"function"!=typeof o)throw new TypeError("Expected '"+e+"' to be a function");return o}function oe(t){var e=function(t,e){if("object"!=typeof t||null===t)return t;var o=t[Symbol.toPrimitive];if(void 0!==o){var i=o.call(t,e||"default");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==typeof e?e:String(e)}function ie(t,e){(null==e||e>t.length)&&(e=t.length);for(var o=0,i=new Array(e);o<e;o++)i[o]=t[o];return i}const{stablePrefix:re}={version:"Carbon for IBM.com v1.61.0",stablePrefix:"dds"},{prefix:ne}=x;let se,ae,de=function(t,e,o,i){var r=Wt();if(i)for(var n=0;n<i.length;n++)r=i[n](r);var s=e((function(t){r.initializeInstanceElements(t,a.elements)}),o),a=r.decorateClass(function(t){for(var e=[],o=function(t){return"method"===t.kind&&t.key===n.key&&t.placement===n.placement},i=0;i<t.length;i++){var r,n=t[i];if("method"===n.kind&&(r=e.find(o)))if(te(n.descriptor)||te(r.descriptor)){if(Jt(n)||Jt(r))throw new ReferenceError("Duplicated methods ("+n.key+") can't be decorated.");r.descriptor=n.descriptor}else{if(Jt(n)){if(Jt(r))throw new ReferenceError("Decorators can't be placed on different accessors with for the same property ("+n.key+").");r.decorators=n.decorators}Kt(n,r)}else e.push(n)}return e}(s.d.map(Qt)),t);return r.initializeClassElements(s.F,a.elements),r.runClassFinishers(s.F,a.finishers)}([b(`${re}-dropdown`)],(function(t,e){return{F:class extends e{constructor(...e){super(...e),t(this)}},d:[{kind:"field",decorators:[_("input")],key:"_inputNode",value:void 0},{kind:"field",decorators:[d({attribute:!1})],key:"formatSelectedItemStatusText",value:()=>({latestSelection:t,currentItem:e})=>""===e?`${t}`:`${t}, Current input is: ${e}`},{kind:"method",key:"_navigate",value:function(t){const e=this.constructor,o=this.querySelectorAll(e.selectorItem),i=this.querySelector(e.selectorItemHighlighted);let r=u(o,i)+t;r<0&&(r=o.length-1),r>=o.length&&(r=0),v(o,((t,e)=>{t.highlighted=e===r}));const n=o[r];n.scrollIntoView({block:"nearest"});const s=n.textContent;s&&(this._assistiveStatusText=this.formatSelectedItemStatusText({latestSelection:`${s}`,currentItem:`${this._inputNode.value}`})),this.requestUpdate()}},{kind:"method",key:"render",value:function(){const{colorScheme:t,disabled:e,helperText:o,invalid:i,labelText:r,open:n,toggleLabelClosed:s,toggleLabelOpen:a,size:d,type:b,validityMessage:x,_assistiveStatusText:g,_shouldTriggerBeFocusable:p,_handleClickInner:h,_handleKeydownInner:f,_handleKeypressInner:m,_handleSlotchangeHelperText:_,_handleSlotchangeLabelText:u,_slotHelperTextNode:v,_slotLabelTextNode:z}=this,E=b===Tt.INLINE,P=this.querySelectorAll(this.constructor.selectorItemSelected).length,C=c({[`${ne}--dropdown`]:!0,[`${ne}--list-box`]:!0,[`${ne}--list-box--${t}`]:t,[`${ne}--list-box--disabled`]:e,[`${ne}--list-box--inline`]:E,[`${ne}--list-box--expanded`]:n,[`${ne}--list-box--${d}`]:d,[`${ne}--dropdown--invalid`]:i,[`${ne}--dropdown--inline`]:E,[`${ne}--dropdown--selected`]:P>0}),T=c({[`${ne}--label`]:!0,[`${ne}--label-visually-hidden`]:!0,[`${ne}--label--disabled`]:e}),S=c({[`${ne}--form__helper-text`]:!0,[`${ne}--form__helper-text--disabled`]:e}),A=c({[`${ne}--list-box__menu-icon`]:!0,[`${ne}--list-box__menu-icon--open`]:n}),q=(n?a:s)||void 0,D=o||v&&v.assignedNodes().length>0,M=r||z&&z.assignedNodes().length>0,j=i?l(Ht||(Ht=Zt`<div part="validity-message" class="${0}"><slot name="validity-message">${0}</slot></div>`),`${ne}--form-requirement`,x):l(Gt||(Gt=Zt`<div part="helper-text" class="${0}" ?hidden="${0}"><slot name="helper-text" @slotchange="${0}">${0}</slot></div>`),S,E||!D,_,o),$=i?y({class:`${ne}--list-box__invalid-icon`,"aria-label":q}):void 0,I=n?l(Ut||(Ut=Zt`<div id="menu-body" part="menu-body" class="${0}--list-box__menu" role="listbox" tabindex="-1"><slot></slot></div>`),ne):void 0;return l(Yt||(Yt=Zt`<label part="label-text" class="${0}" ?hidden="${0}"><slot name="label-text" @slotchange="${0}">${0}</slot></label><div class="${0}" ?data-invalid="${0}" @click="${0}" @keydown="${0}" @keypress="${0}">${0}<div part="trigger-button" role="button" class="${0}--list-box__field" tabindex="${0}" aria-labelledby="trigger-label" aria-expanded="${0}" aria-haspopup="listbox" aria-owns="menu-body" aria-controls="menu-body">${0}${0}${0}<div class="${0}">${0}</div></div>${0}</div>${0}<div id="assistiveStatus" class="${0}--assistive-text" role="status" aria-live="assertive" aria-relevant="additions text">${0}</div>`),T,!M,u,r,C,i,h,f,m,$,ne,k(p?"0":void 0),String(n),this._renderPrecedingTriggerContent(),this._renderTriggerContent(),this._renderFollowingTriggerContent(),A,w({"aria-label":q}),I,j,ne,g)}}]}}),m),le=t=>t;function ce(){ce=function(){return t};var t={elementsDefinitionOrder:[["method"],["field"]],initializeInstanceElements:function(t,e){["method","field"].forEach((function(o){e.forEach((function(e){e.kind===o&&"own"===e.placement&&this.defineClassElement(t,e)}),this)}),this)},initializeClassElements:function(t,e){var o=t.prototype;["method","field"].forEach((function(i){e.forEach((function(e){var r=e.placement;if(e.kind===i&&("static"===r||"prototype"===r)){var n="static"===r?t:o;this.defineClassElement(n,e)}}),this)}),this)},defineClassElement:function(t,e){var o=e.descriptor;if("field"===e.kind){var i=e.initializer;o={enumerable:o.enumerable,writable:o.writable,configurable:o.configurable,value:void 0===i?void 0:i.call(t)}}Object.defineProperty(t,e.key,o)},decorateClass:function(t,e){var o=[],i=[],r={static:[],prototype:[],own:[]};if(t.forEach((function(t){this.addElementPlacement(t,r)}),this),t.forEach((function(t){if(!ge(t))return o.push(t);var e=this.decorateElement(t,r);o.push(e.element),o.push.apply(o,e.extras),i.push.apply(i,e.finishers)}),this),!e)return{elements:o,finishers:i};var n=this.decorateConstructor(o,e);return i.push.apply(i,n.finishers),n.finishers=i,n},addElementPlacement:function(t,e,o){var i=e[t.placement];if(!o&&-1!==i.indexOf(t.key))throw new TypeError("Duplicated element ("+t.key+")");i.push(t.key)},decorateElement:function(t,e){for(var o=[],i=[],r=t.decorators,n=r.length-1;n>=0;n--){var s=e[t.placement];s.splice(s.indexOf(t.key),1);var a=this.fromElementDescriptor(t),d=this.toElementFinisherExtras((0,r[n])(a)||a);t=d.element,this.addElementPlacement(t,e),d.finisher&&i.push(d.finisher);var l=d.extras;if(l){for(var c=0;c<l.length;c++)this.addElementPlacement(l[c],e);o.push.apply(o,l)}}return{element:t,finishers:i,extras:o}},decorateConstructor:function(t,e){for(var o=[],i=e.length-1;i>=0;i--){var r=this.fromClassDescriptor(t),n=this.toClassDescriptor((0,e[i])(r)||r);if(void 0!==n.finisher&&o.push(n.finisher),void 0!==n.elements){t=n.elements;for(var s=0;s<t.length-1;s++)for(var a=s+1;a<t.length;a++)if(t[s].key===t[a].key&&t[s].placement===t[a].placement)throw new TypeError("Duplicated element ("+t[s].key+")")}}return{elements:t,finishers:o}},fromElementDescriptor:function(t){var e={kind:t.kind,key:t.key,placement:t.placement,descriptor:t.descriptor};return Object.defineProperty(e,Symbol.toStringTag,{value:"Descriptor",configurable:!0}),"field"===t.kind&&(e.initializer=t.initializer),e},toElementDescriptors:function(t){var e;if(void 0!==t)return(e=t,function(t){if(Array.isArray(t))return t}(e)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(e)||function(t,e){if(t){if("string"==typeof t)return me(t,e);var o=Object.prototype.toString.call(t).slice(8,-1);return"Object"===o&&t.constructor&&(o=t.constructor.name),"Map"===o||"Set"===o?Array.from(t):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?me(t,e):void 0}}(e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()).map((function(t){var e=this.toElementDescriptor(t);return this.disallowProperty(t,"finisher","An element descriptor"),this.disallowProperty(t,"extras","An element descriptor"),e}),this)},toElementDescriptor:function(t){var e=String(t.kind);if("method"!==e&&"field"!==e)throw new TypeError('An element descriptor\'s .kind property must be either "method" or "field", but a decorator created an element descriptor with .kind "'+e+'"');var o=fe(t.key),i=String(t.placement);if("static"!==i&&"prototype"!==i&&"own"!==i)throw new TypeError('An element descriptor\'s .placement property must be one of "static", "prototype" or "own", but a decorator created an element descriptor with .placement "'+i+'"');var r=t.descriptor;this.disallowProperty(t,"elements","An element descriptor");var n={kind:e,key:o,placement:i,descriptor:Object.assign({},r)};return"field"!==e?this.disallowProperty(t,"initializer","A method descriptor"):(this.disallowProperty(r,"get","The property descriptor of a field descriptor"),this.disallowProperty(r,"set","The property descriptor of a field descriptor"),this.disallowProperty(r,"value","The property descriptor of a field descriptor"),n.initializer=t.initializer),n},toElementFinisherExtras:function(t){return{element:this.toElementDescriptor(t),finisher:he(t,"finisher"),extras:this.toElementDescriptors(t.extras)}},fromClassDescriptor:function(t){var e={kind:"class",elements:t.map(this.fromElementDescriptor,this)};return Object.defineProperty(e,Symbol.toStringTag,{value:"Descriptor",configurable:!0}),e},toClassDescriptor:function(t){var e=String(t.kind);if("class"!==e)throw new TypeError('A class descriptor\'s .kind property must be "class", but a decorator created a class descriptor with .kind "'+e+'"');this.disallowProperty(t,"key","A class descriptor"),this.disallowProperty(t,"placement","A class descriptor"),this.disallowProperty(t,"descriptor","A class descriptor"),this.disallowProperty(t,"initializer","A class descriptor"),this.disallowProperty(t,"extras","A class descriptor");var o=he(t,"finisher");return{elements:this.toElementDescriptors(t.elements),finisher:o}},runClassFinishers:function(t,e){for(var o=0;o<e.length;o++){var i=(0,e[o])(t);if(void 0!==i){if("function"!=typeof i)throw new TypeError("Finishers must return a constructor.");t=i}}return t},disallowProperty:function(t,e,o){if(void 0!==t[e])throw new TypeError(o+" can't have a ."+e+" property.")}};return t}function be(t){var e,o=fe(t.key);"method"===t.kind?e={value:t.value,writable:!0,configurable:!0,enumerable:!1}:"get"===t.kind?e={get:t.value,configurable:!0,enumerable:!1}:"set"===t.kind?e={set:t.value,configurable:!0,enumerable:!1}:"field"===t.kind&&(e={configurable:!0,writable:!0,enumerable:!0});var i={kind:"field"===t.kind?"field":"method",key:o,placement:t.static?"static":"field"===t.kind?"own":"prototype",descriptor:e};return t.decorators&&(i.decorators=t.decorators),"field"===t.kind&&(i.initializer=t.value),i}function xe(t,e){void 0!==t.descriptor.get?e.descriptor.get=t.descriptor.get:e.descriptor.set=t.descriptor.set}function ge(t){return t.decorators&&t.decorators.length}function pe(t){return void 0!==t&&!(void 0===t.value&&void 0===t.writable)}function he(t,e){var o=t[e];if(void 0!==o&&"function"!=typeof o)throw new TypeError("Expected '"+e+"' to be a function");return o}function fe(t){var e=function(t,e){if("object"!=typeof t||null===t)return t;var o=t[Symbol.toPrimitive];if(void 0!==o){var i=o.call(t,e||"default");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==typeof e?e:String(e)}function me(t,e){(null==e||e>t.length)&&(e=t.length);for(var o=0,i=new Array(e);o<e;o++)i[o]=t[o];return i}function _e(){return _e="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(t,e,o){var i=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=ue(t)););return t}(t,e);if(i){var r=Object.getOwnPropertyDescriptor(i,e);return r.get?r.get.call(arguments.length<3?t:o):r.value}},_e.apply(this,arguments)}function ue(t){return ue=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},ue(t)}const{stablePrefix:ve}=g,{prefix:ye}=x;let we=function(t,e,o,i){var r=ce();if(i)for(var n=0;n<i.length;n++)r=i[n](r);var s=e((function(t){r.initializeInstanceElements(t,a.elements)}),o),a=r.decorateClass(function(t){for(var e=[],o=function(t){return"method"===t.kind&&t.key===n.key&&t.placement===n.placement},i=0;i<t.length;i++){var r,n=t[i];if("method"===n.kind&&(r=e.find(o)))if(pe(n.descriptor)||pe(r.descriptor)){if(ge(n)||ge(r))throw new ReferenceError("Duplicated methods ("+n.key+") can't be decorated.");r.descriptor=n.descriptor}else{if(ge(n)){if(ge(r))throw new ReferenceError("Decorators can't be placed on different accessors with for the same property ("+n.key+").");r.decorators=n.decorators}xe(n,r)}else e.push(n)}return e}(s.d.map(be)),t);return r.initializeClassElements(s.F,a.elements),r.runClassFinishers(s.F,a.finishers)}([b(`${ve}-combo-box`)],(function(t,e){class o extends e{constructor(...e){super(...e),t(this)}}return{F:o,d:[{kind:"field",key:"_filterInputValue",value:()=>""},{kind:"field",key:"_shouldTriggerBeFocusable",value:()=>!1},{kind:"field",decorators:[_("#selection-button")],key:"_selectionButtonNode",value:void 0},{kind:"field",decorators:[_("input")],key:"_filterInputNode",value:void 0},{kind:"method",key:"_testItemWithQueryText",value:function(t){return(this.itemMatches||this._defaultItemMatches)(t,this._filterInputNode.value)}},{kind:"method",key:"_defaultItemMatches",value:function(t,e){return t.textContent.toLowerCase().indexOf(e.toLowerCase())>=0}},{kind:"method",key:"_handleInput",value:function(){const t=this.querySelectorAll(this.constructor.selectorItem),e=this._filterInputNode.value?z(t,this._testItemWithQueryText,this):-1;v(t,((t,o)=>{t.highlighted=o===e}));const{_filterInputNode:o}=this;this._filterInputValue=o?o.value:"",this.open=!0,this.requestUpdate()}},{kind:"method",key:"_handleClickInner",value:function(t){var e;null!==(e=this._selectionButtonNode)&&void 0!==e&&e.contains(t.target)?this._handleUserInitiatedClearInput():_e(ue(o.prototype),"_handleClickInner",this).call(this,t)}},{kind:"method",key:"_handleKeypressInner",value:function(t){var e;const{key:i}=t,r=this.constructor.getAction(i),{TRIGGERING:n}=Pt;null===(e=this._selectionButtonNode)||void 0===e||!e.contains(t.target)||r!==n&&" "!==i?_e(ue(o.prototype),"_handleKeypressInner",this).call(this,t):this._handleUserInitiatedClearInput()}},{kind:"method",key:"_handleUserInitiatedClearInput",value:function(){v(this.querySelectorAll(this.constructor.selectorItem),(t=>{t.highlighted=!1})),this._filterInputValue="",this._filterInputNode.focus(),this.open=!1,this.requestUpdate()}},{kind:"method",key:"_handleUserInitiatedSelectItem",value:function(t){t&&!this._selectionShouldChange(t)&&(this._filterInputValue=t.textContent||"",this.open=!1,this.requestUpdate()),_e(ue(o.prototype),"_handleUserInitiatedSelectItem",this).call(this,t)}},{kind:"method",key:"_renderTriggerContent",value:function(){const{disabled:t,triggerContent:e,_filterInputValue:o,_handleInput:i}=this;return l(se||(se=le`<input id="trigger-label" class="${0}--text-input" ?disabled="${0}" placeholder="${0}" .value="${0}" role="combobox" aria-expanded="${0}" aria-labelledby="assistiveStatus" aria-controls="menu-body" aria-autocomplete="list" @input="${0}">`),ye,t,e,o,this.open,i)}},{kind:"method",key:"_renderFollowingTriggerContent",value:function(){const{clearSelectionLabel:t,_filterInputValue:e}=this;return 0===e.length?void 0:l(ae||(ae=le`<div id="selection-button" role="button" class="${0}--list-box__selection" tabindex="0" title="${0}">${0}</div>`),ye,t,Nt({"aria-label":t}))}},{kind:"field",decorators:[d({attribute:"clear-selection-label"})],key:"clearSelectionLabel",value:()=>""},{kind:"field",decorators:[d({attribute:!1})],key:"itemMatches",value:void 0},{kind:"method",key:"shouldUpdate",value:function(t){_e(ue(o.prototype),"shouldUpdate",this).call(this,t);const{_selectedItemContent:e}=this;return e&&t.has("value")&&(this._filterInputValue=(null==e?void 0:e.textContent)||""),!0}},{kind:"method",key:"updated",value:function(t){_e(ue(o.prototype),"updated",this).call(this,t);const{_listBoxNode:e}=this;e&&e.classList.add(`${ye}--combo-box`)}},{kind:"field",static:!0,key:"TRIGGER_KEYS",value:()=>new Set(["Enter"])},{kind:"get",static:!0,key:"selectorItemHighlighted",value:function(){return`${ye}-combo-box-item[highlighted]`}},{kind:"get",static:!0,key:"selectorItem",value:function(){return`${ye}-combo-box-item`}},{kind:"get",static:!0,key:"selectorItemSelected",value:function(){return`${ye}-combo-box-item[selected]`}},{kind:"get",static:!0,key:"eventBeforeToggle",value:function(){return`${ye}-combo-box-beingtoggled`}},{kind:"get",static:!0,key:"eventToggle",value:function(){return`${ye}-combo-box-toggled`}},{kind:"get",static:!0,key:"eventBeforeSelect",value:function(){return`${ye}-combo-box-beingselected`}},{kind:"get",static:!0,key:"eventSelect",value:function(){return`${ye}-combo-box-selected`}}]}}),de);
|
|
96
|
+
const Nt=({children:t,...e}={})=>h`<svg focusable="false" preserveAspectRatio="xMidYMid meet" xmlns="http://www.w3.org/2000/svg" fill="currentColor" ...="${f(e)}" aria-hidden="true" width="16" height="16" viewBox="0 0 32 32">${t}${t}${t}<path d="M24 9.4L22.6 8 16 14.6 9.4 8 8 9.4 14.6 16 8 22.6 9.4 24 16 17.4 22.6 24 24 22.6 17.4 16 24 9.4z"></path></svg>`;let Gt,Ht,Ut,Yt,Zt=t=>t;function Wt(){Wt=function(){return t};var t={elementsDefinitionOrder:[["method"],["field"]],initializeInstanceElements:function(t,e){["method","field"].forEach((function(o){e.forEach((function(e){e.kind===o&&"own"===e.placement&&this.defineClassElement(t,e)}),this)}),this)},initializeClassElements:function(t,e){var o=t.prototype;["method","field"].forEach((function(i){e.forEach((function(e){var r=e.placement;if(e.kind===i&&("static"===r||"prototype"===r)){var n="static"===r?t:o;this.defineClassElement(n,e)}}),this)}),this)},defineClassElement:function(t,e){var o=e.descriptor;if("field"===e.kind){var i=e.initializer;o={enumerable:o.enumerable,writable:o.writable,configurable:o.configurable,value:void 0===i?void 0:i.call(t)}}Object.defineProperty(t,e.key,o)},decorateClass:function(t,e){var o=[],i=[],r={static:[],prototype:[],own:[]};if(t.forEach((function(t){this.addElementPlacement(t,r)}),this),t.forEach((function(t){if(!Jt(t))return o.push(t);var e=this.decorateElement(t,r);o.push(e.element),o.push.apply(o,e.extras),i.push.apply(i,e.finishers)}),this),!e)return{elements:o,finishers:i};var n=this.decorateConstructor(o,e);return i.push.apply(i,n.finishers),n.finishers=i,n},addElementPlacement:function(t,e,o){var i=e[t.placement];if(!o&&-1!==i.indexOf(t.key))throw new TypeError("Duplicated element ("+t.key+")");i.push(t.key)},decorateElement:function(t,e){for(var o=[],i=[],r=t.decorators,n=r.length-1;n>=0;n--){var s=e[t.placement];s.splice(s.indexOf(t.key),1);var a=this.fromElementDescriptor(t),d=this.toElementFinisherExtras((0,r[n])(a)||a);t=d.element,this.addElementPlacement(t,e),d.finisher&&i.push(d.finisher);var l=d.extras;if(l){for(var c=0;c<l.length;c++)this.addElementPlacement(l[c],e);o.push.apply(o,l)}}return{element:t,finishers:i,extras:o}},decorateConstructor:function(t,e){for(var o=[],i=e.length-1;i>=0;i--){var r=this.fromClassDescriptor(t),n=this.toClassDescriptor((0,e[i])(r)||r);if(void 0!==n.finisher&&o.push(n.finisher),void 0!==n.elements){t=n.elements;for(var s=0;s<t.length-1;s++)for(var a=s+1;a<t.length;a++)if(t[s].key===t[a].key&&t[s].placement===t[a].placement)throw new TypeError("Duplicated element ("+t[s].key+")")}}return{elements:t,finishers:o}},fromElementDescriptor:function(t){var e={kind:t.kind,key:t.key,placement:t.placement,descriptor:t.descriptor};return Object.defineProperty(e,Symbol.toStringTag,{value:"Descriptor",configurable:!0}),"field"===t.kind&&(e.initializer=t.initializer),e},toElementDescriptors:function(t){var e;if(void 0!==t)return(e=t,function(t){if(Array.isArray(t))return t}(e)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(e)||function(t,e){if(t){if("string"==typeof t)return ie(t,e);var o=Object.prototype.toString.call(t).slice(8,-1);return"Object"===o&&t.constructor&&(o=t.constructor.name),"Map"===o||"Set"===o?Array.from(t):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?ie(t,e):void 0}}(e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()).map((function(t){var e=this.toElementDescriptor(t);return this.disallowProperty(t,"finisher","An element descriptor"),this.disallowProperty(t,"extras","An element descriptor"),e}),this)},toElementDescriptor:function(t){var e=String(t.kind);if("method"!==e&&"field"!==e)throw new TypeError('An element descriptor\'s .kind property must be either "method" or "field", but a decorator created an element descriptor with .kind "'+e+'"');var o=oe(t.key),i=String(t.placement);if("static"!==i&&"prototype"!==i&&"own"!==i)throw new TypeError('An element descriptor\'s .placement property must be one of "static", "prototype" or "own", but a decorator created an element descriptor with .placement "'+i+'"');var r=t.descriptor;this.disallowProperty(t,"elements","An element descriptor");var n={kind:e,key:o,placement:i,descriptor:Object.assign({},r)};return"field"!==e?this.disallowProperty(t,"initializer","A method descriptor"):(this.disallowProperty(r,"get","The property descriptor of a field descriptor"),this.disallowProperty(r,"set","The property descriptor of a field descriptor"),this.disallowProperty(r,"value","The property descriptor of a field descriptor"),n.initializer=t.initializer),n},toElementFinisherExtras:function(t){return{element:this.toElementDescriptor(t),finisher:ee(t,"finisher"),extras:this.toElementDescriptors(t.extras)}},fromClassDescriptor:function(t){var e={kind:"class",elements:t.map(this.fromElementDescriptor,this)};return Object.defineProperty(e,Symbol.toStringTag,{value:"Descriptor",configurable:!0}),e},toClassDescriptor:function(t){var e=String(t.kind);if("class"!==e)throw new TypeError('A class descriptor\'s .kind property must be "class", but a decorator created a class descriptor with .kind "'+e+'"');this.disallowProperty(t,"key","A class descriptor"),this.disallowProperty(t,"placement","A class descriptor"),this.disallowProperty(t,"descriptor","A class descriptor"),this.disallowProperty(t,"initializer","A class descriptor"),this.disallowProperty(t,"extras","A class descriptor");var o=ee(t,"finisher");return{elements:this.toElementDescriptors(t.elements),finisher:o}},runClassFinishers:function(t,e){for(var o=0;o<e.length;o++){var i=(0,e[o])(t);if(void 0!==i){if("function"!=typeof i)throw new TypeError("Finishers must return a constructor.");t=i}}return t},disallowProperty:function(t,e,o){if(void 0!==t[e])throw new TypeError(o+" can't have a ."+e+" property.")}};return t}function Qt(t){var e,o=oe(t.key);"method"===t.kind?e={value:t.value,writable:!0,configurable:!0,enumerable:!1}:"get"===t.kind?e={get:t.value,configurable:!0,enumerable:!1}:"set"===t.kind?e={set:t.value,configurable:!0,enumerable:!1}:"field"===t.kind&&(e={configurable:!0,writable:!0,enumerable:!0});var i={kind:"field"===t.kind?"field":"method",key:o,placement:t.static?"static":"field"===t.kind?"own":"prototype",descriptor:e};return t.decorators&&(i.decorators=t.decorators),"field"===t.kind&&(i.initializer=t.value),i}function Kt(t,e){void 0!==t.descriptor.get?e.descriptor.get=t.descriptor.get:e.descriptor.set=t.descriptor.set}function Jt(t){return t.decorators&&t.decorators.length}function te(t){return void 0!==t&&!(void 0===t.value&&void 0===t.writable)}function ee(t,e){var o=t[e];if(void 0!==o&&"function"!=typeof o)throw new TypeError("Expected '"+e+"' to be a function");return o}function oe(t){var e=function(t,e){if("object"!=typeof t||null===t)return t;var o=t[Symbol.toPrimitive];if(void 0!==o){var i=o.call(t,e||"default");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==typeof e?e:String(e)}function ie(t,e){(null==e||e>t.length)&&(e=t.length);for(var o=0,i=new Array(e);o<e;o++)i[o]=t[o];return i}const{stablePrefix:re}={version:"Carbon for IBM.com v1.61.1",stablePrefix:"dds"},{prefix:ne}=x;let se,ae,de=function(t,e,o,i){var r=Wt();if(i)for(var n=0;n<i.length;n++)r=i[n](r);var s=e((function(t){r.initializeInstanceElements(t,a.elements)}),o),a=r.decorateClass(function(t){for(var e=[],o=function(t){return"method"===t.kind&&t.key===n.key&&t.placement===n.placement},i=0;i<t.length;i++){var r,n=t[i];if("method"===n.kind&&(r=e.find(o)))if(te(n.descriptor)||te(r.descriptor)){if(Jt(n)||Jt(r))throw new ReferenceError("Duplicated methods ("+n.key+") can't be decorated.");r.descriptor=n.descriptor}else{if(Jt(n)){if(Jt(r))throw new ReferenceError("Decorators can't be placed on different accessors with for the same property ("+n.key+").");r.decorators=n.decorators}Kt(n,r)}else e.push(n)}return e}(s.d.map(Qt)),t);return r.initializeClassElements(s.F,a.elements),r.runClassFinishers(s.F,a.finishers)}([b(`${re}-dropdown`)],(function(t,e){return{F:class extends e{constructor(...e){super(...e),t(this)}},d:[{kind:"field",decorators:[_("input")],key:"_inputNode",value:void 0},{kind:"field",decorators:[d({attribute:!1})],key:"formatSelectedItemStatusText",value:()=>({latestSelection:t,currentItem:e})=>""===e?`${t}`:`${t}, Current input is: ${e}`},{kind:"method",key:"_navigate",value:function(t){const e=this.constructor,o=this.querySelectorAll(e.selectorItem),i=this.querySelector(e.selectorItemHighlighted);let r=u(o,i)+t;r<0&&(r=o.length-1),r>=o.length&&(r=0),v(o,((t,e)=>{t.highlighted=e===r}));const n=o[r];n.scrollIntoView({block:"nearest"});const s=n.textContent;s&&(this._assistiveStatusText=this.formatSelectedItemStatusText({latestSelection:`${s}`,currentItem:`${this._inputNode.value}`})),this.requestUpdate()}},{kind:"method",key:"render",value:function(){const{colorScheme:t,disabled:e,helperText:o,invalid:i,labelText:r,open:n,toggleLabelClosed:s,toggleLabelOpen:a,size:d,type:b,validityMessage:x,_assistiveStatusText:g,_shouldTriggerBeFocusable:p,_handleClickInner:h,_handleKeydownInner:f,_handleKeypressInner:m,_handleSlotchangeHelperText:_,_handleSlotchangeLabelText:u,_slotHelperTextNode:v,_slotLabelTextNode:z}=this,E=b===Tt.INLINE,P=this.querySelectorAll(this.constructor.selectorItemSelected).length,C=c({[`${ne}--dropdown`]:!0,[`${ne}--list-box`]:!0,[`${ne}--list-box--${t}`]:t,[`${ne}--list-box--disabled`]:e,[`${ne}--list-box--inline`]:E,[`${ne}--list-box--expanded`]:n,[`${ne}--list-box--${d}`]:d,[`${ne}--dropdown--invalid`]:i,[`${ne}--dropdown--inline`]:E,[`${ne}--dropdown--selected`]:P>0}),T=c({[`${ne}--label`]:!0,[`${ne}--label-visually-hidden`]:!0,[`${ne}--label--disabled`]:e}),S=c({[`${ne}--form__helper-text`]:!0,[`${ne}--form__helper-text--disabled`]:e}),A=c({[`${ne}--list-box__menu-icon`]:!0,[`${ne}--list-box__menu-icon--open`]:n}),q=(n?a:s)||void 0,D=o||v&&v.assignedNodes().length>0,M=r||z&&z.assignedNodes().length>0,j=i?l(Ht||(Ht=Zt`<div part="validity-message" class="${0}"><slot name="validity-message">${0}</slot></div>`),`${ne}--form-requirement`,x):l(Gt||(Gt=Zt`<div part="helper-text" class="${0}" ?hidden="${0}"><slot name="helper-text" @slotchange="${0}">${0}</slot></div>`),S,E||!D,_,o),$=i?y({class:`${ne}--list-box__invalid-icon`,"aria-label":q}):void 0,I=n?l(Ut||(Ut=Zt`<div id="menu-body" part="menu-body" class="${0}--list-box__menu" role="listbox" tabindex="-1"><slot></slot></div>`),ne):void 0;return l(Yt||(Yt=Zt`<label part="label-text" class="${0}" ?hidden="${0}"><slot name="label-text" @slotchange="${0}">${0}</slot></label><div class="${0}" ?data-invalid="${0}" @click="${0}" @keydown="${0}" @keypress="${0}">${0}<div part="trigger-button" role="button" class="${0}--list-box__field" tabindex="${0}" aria-labelledby="trigger-label" aria-expanded="${0}" aria-haspopup="listbox" aria-owns="menu-body" aria-controls="menu-body">${0}${0}${0}<div class="${0}">${0}</div></div>${0}</div>${0}<div id="assistiveStatus" class="${0}--assistive-text" role="status" aria-live="assertive" aria-relevant="additions text">${0}</div>`),T,!M,u,r,C,i,h,f,m,$,ne,k(p?"0":void 0),String(n),this._renderPrecedingTriggerContent(),this._renderTriggerContent(),this._renderFollowingTriggerContent(),A,w({"aria-label":q}),I,j,ne,g)}}]}}),m),le=t=>t;function ce(){ce=function(){return t};var t={elementsDefinitionOrder:[["method"],["field"]],initializeInstanceElements:function(t,e){["method","field"].forEach((function(o){e.forEach((function(e){e.kind===o&&"own"===e.placement&&this.defineClassElement(t,e)}),this)}),this)},initializeClassElements:function(t,e){var o=t.prototype;["method","field"].forEach((function(i){e.forEach((function(e){var r=e.placement;if(e.kind===i&&("static"===r||"prototype"===r)){var n="static"===r?t:o;this.defineClassElement(n,e)}}),this)}),this)},defineClassElement:function(t,e){var o=e.descriptor;if("field"===e.kind){var i=e.initializer;o={enumerable:o.enumerable,writable:o.writable,configurable:o.configurable,value:void 0===i?void 0:i.call(t)}}Object.defineProperty(t,e.key,o)},decorateClass:function(t,e){var o=[],i=[],r={static:[],prototype:[],own:[]};if(t.forEach((function(t){this.addElementPlacement(t,r)}),this),t.forEach((function(t){if(!ge(t))return o.push(t);var e=this.decorateElement(t,r);o.push(e.element),o.push.apply(o,e.extras),i.push.apply(i,e.finishers)}),this),!e)return{elements:o,finishers:i};var n=this.decorateConstructor(o,e);return i.push.apply(i,n.finishers),n.finishers=i,n},addElementPlacement:function(t,e,o){var i=e[t.placement];if(!o&&-1!==i.indexOf(t.key))throw new TypeError("Duplicated element ("+t.key+")");i.push(t.key)},decorateElement:function(t,e){for(var o=[],i=[],r=t.decorators,n=r.length-1;n>=0;n--){var s=e[t.placement];s.splice(s.indexOf(t.key),1);var a=this.fromElementDescriptor(t),d=this.toElementFinisherExtras((0,r[n])(a)||a);t=d.element,this.addElementPlacement(t,e),d.finisher&&i.push(d.finisher);var l=d.extras;if(l){for(var c=0;c<l.length;c++)this.addElementPlacement(l[c],e);o.push.apply(o,l)}}return{element:t,finishers:i,extras:o}},decorateConstructor:function(t,e){for(var o=[],i=e.length-1;i>=0;i--){var r=this.fromClassDescriptor(t),n=this.toClassDescriptor((0,e[i])(r)||r);if(void 0!==n.finisher&&o.push(n.finisher),void 0!==n.elements){t=n.elements;for(var s=0;s<t.length-1;s++)for(var a=s+1;a<t.length;a++)if(t[s].key===t[a].key&&t[s].placement===t[a].placement)throw new TypeError("Duplicated element ("+t[s].key+")")}}return{elements:t,finishers:o}},fromElementDescriptor:function(t){var e={kind:t.kind,key:t.key,placement:t.placement,descriptor:t.descriptor};return Object.defineProperty(e,Symbol.toStringTag,{value:"Descriptor",configurable:!0}),"field"===t.kind&&(e.initializer=t.initializer),e},toElementDescriptors:function(t){var e;if(void 0!==t)return(e=t,function(t){if(Array.isArray(t))return t}(e)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(e)||function(t,e){if(t){if("string"==typeof t)return me(t,e);var o=Object.prototype.toString.call(t).slice(8,-1);return"Object"===o&&t.constructor&&(o=t.constructor.name),"Map"===o||"Set"===o?Array.from(t):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?me(t,e):void 0}}(e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()).map((function(t){var e=this.toElementDescriptor(t);return this.disallowProperty(t,"finisher","An element descriptor"),this.disallowProperty(t,"extras","An element descriptor"),e}),this)},toElementDescriptor:function(t){var e=String(t.kind);if("method"!==e&&"field"!==e)throw new TypeError('An element descriptor\'s .kind property must be either "method" or "field", but a decorator created an element descriptor with .kind "'+e+'"');var o=fe(t.key),i=String(t.placement);if("static"!==i&&"prototype"!==i&&"own"!==i)throw new TypeError('An element descriptor\'s .placement property must be one of "static", "prototype" or "own", but a decorator created an element descriptor with .placement "'+i+'"');var r=t.descriptor;this.disallowProperty(t,"elements","An element descriptor");var n={kind:e,key:o,placement:i,descriptor:Object.assign({},r)};return"field"!==e?this.disallowProperty(t,"initializer","A method descriptor"):(this.disallowProperty(r,"get","The property descriptor of a field descriptor"),this.disallowProperty(r,"set","The property descriptor of a field descriptor"),this.disallowProperty(r,"value","The property descriptor of a field descriptor"),n.initializer=t.initializer),n},toElementFinisherExtras:function(t){return{element:this.toElementDescriptor(t),finisher:he(t,"finisher"),extras:this.toElementDescriptors(t.extras)}},fromClassDescriptor:function(t){var e={kind:"class",elements:t.map(this.fromElementDescriptor,this)};return Object.defineProperty(e,Symbol.toStringTag,{value:"Descriptor",configurable:!0}),e},toClassDescriptor:function(t){var e=String(t.kind);if("class"!==e)throw new TypeError('A class descriptor\'s .kind property must be "class", but a decorator created a class descriptor with .kind "'+e+'"');this.disallowProperty(t,"key","A class descriptor"),this.disallowProperty(t,"placement","A class descriptor"),this.disallowProperty(t,"descriptor","A class descriptor"),this.disallowProperty(t,"initializer","A class descriptor"),this.disallowProperty(t,"extras","A class descriptor");var o=he(t,"finisher");return{elements:this.toElementDescriptors(t.elements),finisher:o}},runClassFinishers:function(t,e){for(var o=0;o<e.length;o++){var i=(0,e[o])(t);if(void 0!==i){if("function"!=typeof i)throw new TypeError("Finishers must return a constructor.");t=i}}return t},disallowProperty:function(t,e,o){if(void 0!==t[e])throw new TypeError(o+" can't have a ."+e+" property.")}};return t}function be(t){var e,o=fe(t.key);"method"===t.kind?e={value:t.value,writable:!0,configurable:!0,enumerable:!1}:"get"===t.kind?e={get:t.value,configurable:!0,enumerable:!1}:"set"===t.kind?e={set:t.value,configurable:!0,enumerable:!1}:"field"===t.kind&&(e={configurable:!0,writable:!0,enumerable:!0});var i={kind:"field"===t.kind?"field":"method",key:o,placement:t.static?"static":"field"===t.kind?"own":"prototype",descriptor:e};return t.decorators&&(i.decorators=t.decorators),"field"===t.kind&&(i.initializer=t.value),i}function xe(t,e){void 0!==t.descriptor.get?e.descriptor.get=t.descriptor.get:e.descriptor.set=t.descriptor.set}function ge(t){return t.decorators&&t.decorators.length}function pe(t){return void 0!==t&&!(void 0===t.value&&void 0===t.writable)}function he(t,e){var o=t[e];if(void 0!==o&&"function"!=typeof o)throw new TypeError("Expected '"+e+"' to be a function");return o}function fe(t){var e=function(t,e){if("object"!=typeof t||null===t)return t;var o=t[Symbol.toPrimitive];if(void 0!==o){var i=o.call(t,e||"default");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==typeof e?e:String(e)}function me(t,e){(null==e||e>t.length)&&(e=t.length);for(var o=0,i=new Array(e);o<e;o++)i[o]=t[o];return i}function _e(){return _e="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(t,e,o){var i=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=ue(t)););return t}(t,e);if(i){var r=Object.getOwnPropertyDescriptor(i,e);return r.get?r.get.call(arguments.length<3?t:o):r.value}},_e.apply(this,arguments)}function ue(t){return ue=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},ue(t)}const{stablePrefix:ve}=g,{prefix:ye}=x;let we=function(t,e,o,i){var r=ce();if(i)for(var n=0;n<i.length;n++)r=i[n](r);var s=e((function(t){r.initializeInstanceElements(t,a.elements)}),o),a=r.decorateClass(function(t){for(var e=[],o=function(t){return"method"===t.kind&&t.key===n.key&&t.placement===n.placement},i=0;i<t.length;i++){var r,n=t[i];if("method"===n.kind&&(r=e.find(o)))if(pe(n.descriptor)||pe(r.descriptor)){if(ge(n)||ge(r))throw new ReferenceError("Duplicated methods ("+n.key+") can't be decorated.");r.descriptor=n.descriptor}else{if(ge(n)){if(ge(r))throw new ReferenceError("Decorators can't be placed on different accessors with for the same property ("+n.key+").");r.decorators=n.decorators}xe(n,r)}else e.push(n)}return e}(s.d.map(be)),t);return r.initializeClassElements(s.F,a.elements),r.runClassFinishers(s.F,a.finishers)}([b(`${ve}-combo-box`)],(function(t,e){class o extends e{constructor(...e){super(...e),t(this)}}return{F:o,d:[{kind:"field",key:"_filterInputValue",value:()=>""},{kind:"field",key:"_shouldTriggerBeFocusable",value:()=>!1},{kind:"field",decorators:[_("#selection-button")],key:"_selectionButtonNode",value:void 0},{kind:"field",decorators:[_("input")],key:"_filterInputNode",value:void 0},{kind:"method",key:"_testItemWithQueryText",value:function(t){return(this.itemMatches||this._defaultItemMatches)(t,this._filterInputNode.value)}},{kind:"method",key:"_defaultItemMatches",value:function(t,e){return t.textContent.toLowerCase().indexOf(e.toLowerCase())>=0}},{kind:"method",key:"_handleInput",value:function(){const t=this.querySelectorAll(this.constructor.selectorItem),e=this._filterInputNode.value?z(t,this._testItemWithQueryText,this):-1;v(t,((t,o)=>{t.highlighted=o===e}));const{_filterInputNode:o}=this;this._filterInputValue=o?o.value:"",this.open=!0,this.requestUpdate()}},{kind:"method",key:"_handleClickInner",value:function(t){var e;null!==(e=this._selectionButtonNode)&&void 0!==e&&e.contains(t.target)?this._handleUserInitiatedClearInput():_e(ue(o.prototype),"_handleClickInner",this).call(this,t)}},{kind:"method",key:"_handleKeypressInner",value:function(t){var e;const{key:i}=t,r=this.constructor.getAction(i),{TRIGGERING:n}=Pt;null===(e=this._selectionButtonNode)||void 0===e||!e.contains(t.target)||r!==n&&" "!==i?_e(ue(o.prototype),"_handleKeypressInner",this).call(this,t):this._handleUserInitiatedClearInput()}},{kind:"method",key:"_handleUserInitiatedClearInput",value:function(){v(this.querySelectorAll(this.constructor.selectorItem),(t=>{t.highlighted=!1})),this._filterInputValue="",this._filterInputNode.focus(),this.open=!1,this.requestUpdate()}},{kind:"method",key:"_handleUserInitiatedSelectItem",value:function(t){t&&!this._selectionShouldChange(t)&&(this._filterInputValue=t.textContent||"",this.open=!1,this.requestUpdate()),_e(ue(o.prototype),"_handleUserInitiatedSelectItem",this).call(this,t)}},{kind:"method",key:"_renderTriggerContent",value:function(){const{disabled:t,triggerContent:e,_filterInputValue:o,_handleInput:i}=this;return l(se||(se=le`<input id="trigger-label" class="${0}--text-input" ?disabled="${0}" placeholder="${0}" .value="${0}" role="combobox" aria-expanded="${0}" aria-labelledby="assistiveStatus" aria-controls="menu-body" aria-autocomplete="list" @input="${0}">`),ye,t,e,o,this.open,i)}},{kind:"method",key:"_renderFollowingTriggerContent",value:function(){const{clearSelectionLabel:t,_filterInputValue:e}=this;return 0===e.length?void 0:l(ae||(ae=le`<div id="selection-button" role="button" class="${0}--list-box__selection" tabindex="0" title="${0}">${0}</div>`),ye,t,Nt({"aria-label":t}))}},{kind:"field",decorators:[d({attribute:"clear-selection-label"})],key:"clearSelectionLabel",value:()=>""},{kind:"field",decorators:[d({attribute:!1})],key:"itemMatches",value:void 0},{kind:"method",key:"shouldUpdate",value:function(t){_e(ue(o.prototype),"shouldUpdate",this).call(this,t);const{_selectedItemContent:e}=this;return e&&t.has("value")&&(this._filterInputValue=(null==e?void 0:e.textContent)||""),!0}},{kind:"method",key:"updated",value:function(t){_e(ue(o.prototype),"updated",this).call(this,t);const{_listBoxNode:e}=this;e&&e.classList.add(`${ye}--combo-box`)}},{kind:"field",static:!0,key:"TRIGGER_KEYS",value:()=>new Set(["Enter"])},{kind:"get",static:!0,key:"selectorItemHighlighted",value:function(){return`${ye}-combo-box-item[highlighted]`}},{kind:"get",static:!0,key:"selectorItem",value:function(){return`${ye}-combo-box-item`}},{kind:"get",static:!0,key:"selectorItemSelected",value:function(){return`${ye}-combo-box-item[selected]`}},{kind:"get",static:!0,key:"eventBeforeToggle",value:function(){return`${ye}-combo-box-beingtoggled`}},{kind:"get",static:!0,key:"eventToggle",value:function(){return`${ye}-combo-box-toggled`}},{kind:"get",static:!0,key:"eventBeforeSelect",value:function(){return`${ye}-combo-box-beingselected`}},{kind:"get",static:!0,key:"eventSelect",value:function(){return`${ye}-combo-box-selected`}}]}}),de);
|
|
97
97
|
/**
|
|
98
98
|
* @license
|
|
99
99
|
*
|
|
@@ -76,8 +76,8 @@
|
|
|
76
76
|
*/
|
|
77
77
|
|
|
78
78
|
let process = { env: {} };
|
|
79
|
-
import { l as lib, b as breakpoints, r as render, c as css, S as StableSelectorMixin, p as property, h as html, a as classMap, d as carbonElement, s as settings_1, e as settings$1, L as LitElement, f as svg, g as spread, B as BXDropdown, q as query, i as indexOf, j as forEach, k as svgResultCarbonIcon$k, m as svgResultCarbonIcon$l, n as ifDefined, o as findIndex, H as HostListenerMixin, t as state, u as HostListener, v as on, w as selectorTabbable, _ as _decorate$v, F as FocusMixin, x as svgResultCarbonIcon$m, y as ifNonNull, C as CTA_TYPE, z as BXLink, A as StickyHeader, V as ValidityMixin, D as FORM_ELEMENT_COLOR_SCHEME, E as FormMixin, G as root, I as toNumber, J as isObject, K as Cookies, M as LocaleAPI, N as spread$1, O as filter, P as _get$d, Q as _getPrototypeOf$d, R as DROPDOWN_SIZE$1, T as styles$d, U as LocaleAPI$1, W as globalInit, X as ConnectMixin, Y as store, Z as pickBy, $ as bindActionCreators, a0 as loadLanguage, a1 as setLanguage, a2 as loadLocaleList, a3 as setLocaleList, a4 as loadTranslation, a5 as setTranslation, a6 as _createClass$1, a7 as _asyncToGenerator, a8 as regenerator, a9 as axios, aa as _classCallCheck$1, ab as PROFILE_API_ACTION, ac as DDSMastheadComposite, ad as UNAUTHENTICATED_STATUS } from './masthead-composite-
|
|
80
|
-
import { s as svgResultCarbonIcon$n } from './20-
|
|
79
|
+
import { l as lib, b as breakpoints, r as render, c as css, S as StableSelectorMixin, p as property, h as html, a as classMap, d as carbonElement, s as settings_1, e as settings$1, L as LitElement, f as svg, g as spread, B as BXDropdown, q as query, i as indexOf, j as forEach, k as svgResultCarbonIcon$k, m as svgResultCarbonIcon$l, n as ifDefined, o as findIndex, H as HostListenerMixin, t as state, u as HostListener, v as on, w as selectorTabbable, _ as _decorate$v, F as FocusMixin, x as svgResultCarbonIcon$m, y as ifNonNull, C as CTA_TYPE, z as BXLink, A as StickyHeader, V as ValidityMixin, D as FORM_ELEMENT_COLOR_SCHEME, E as FormMixin, G as root, I as toNumber, J as isObject, K as Cookies, M as LocaleAPI, N as spread$1, O as filter, P as _get$d, Q as _getPrototypeOf$d, R as DROPDOWN_SIZE$1, T as styles$d, U as LocaleAPI$1, W as globalInit, X as ConnectMixin, Y as store, Z as pickBy, $ as bindActionCreators, a0 as loadLanguage, a1 as setLanguage, a2 as loadLocaleList, a3 as setLocaleList, a4 as loadTranslation, a5 as setTranslation, a6 as _createClass$1, a7 as _asyncToGenerator, a8 as regenerator, a9 as axios, aa as _classCallCheck$1, ab as PROFILE_API_ACTION, ac as DDSMastheadComposite, ad as UNAUTHENTICATED_STATUS } from './masthead-composite-623f07ce.js';
|
|
80
|
+
import { s as svgResultCarbonIcon$n } from './20-1dd36789.js';
|
|
81
81
|
|
|
82
82
|
function _defineProperty$5(obj, key, value) { key = _toPropertyKey$z(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
83
83
|
function _toPropertyKey$z(arg) { var key = _toPrimitive$z(arg, "string"); return typeof key === "symbol" ? key : String(key); }
|
|
@@ -563,7 +563,7 @@ const svgResultCarbonIcon$j = ({ children, ...attrs } = {}) =>
|
|
|
563
563
|
* Carbon for IBM.com v1.61.0',
|
|
564
564
|
*/
|
|
565
565
|
var settings = {
|
|
566
|
-
version: 'Carbon for IBM.com v1.61.
|
|
566
|
+
version: 'Carbon for IBM.com v1.61.1',
|
|
567
567
|
stablePrefix: 'dds'
|
|
568
568
|
};
|
|
569
569
|
|
|
@@ -75,7 +75,7 @@
|
|
|
75
75
|
* https://www.npmjs.com/package/axios
|
|
76
76
|
*/
|
|
77
77
|
|
|
78
|
-
let t,e,o={env:{}};import{l as i,b as r,r as n,c as s,S as a,p as d,h as l,a as c,d as b,s as x,e as g,L as p,f as h,g as f,B as m,q as _,i as u,j as v,k as y,m as w,n as k,o as z,H as E,t as P,u as C,v as T,w as S,_ as A,F as q,x as D,y as M,C as j,z as $,A as I,V as O,D as L,E as B,G as R,I as F,J as V,K as X,M as N,N as G,O as H,P as U,Q as Y,R as Z,T as W,U as Q,W as K,X as J,Y as tt,Z as et,$ as ot,a0 as it,a1 as rt,a2 as nt,a3 as st,a4 as at,a5 as dt,a6 as lt,a7 as ct,a8 as bt,a9 as xt,aa as gt,ab as pt,ac as ht,ad as ft}from"./masthead-composite-
|
|
78
|
+
let t,e,o={env:{}};import{l as i,b as r,r as n,c as s,S as a,p as d,h as l,a as c,d as b,s as x,e as g,L as p,f as h,g as f,B as m,q as _,i as u,j as v,k as y,m as w,n as k,o as z,H as E,t as P,u as C,v as T,w as S,_ as A,F as q,x as D,y as M,C as j,z as $,A as I,V as O,D as L,E as B,G as R,I as F,J as V,K as X,M as N,N as G,O as H,P as U,Q as Y,R as Z,T as W,U as Q,W as K,X as J,Y as tt,Z as et,$ as ot,a0 as it,a1 as rt,a2 as nt,a3 as st,a4 as at,a5 as dt,a6 as lt,a7 as ct,a8 as bt,a9 as xt,aa as gt,ab as pt,ac as ht,ad as ft}from"./masthead-composite-087cb79b.js";import{s as mt}from"./20-389623b3.js";function _t(t,e,o){return(e=function(t){var e=function(t,e){if("object"!=typeof t||null===t)return t;var o=t[Symbol.toPrimitive];if(void 0!==o){var i=o.call(t,e||"default");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==typeof e?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[e]=o,t}!function(t){t.SM="sm",t.MD="md",t.LG="lg",t.XLG="xlg",t.MAX="max"}(t||(t={})),function(t){t.MIN="min",t.MAX="max"}(e||(e={}));const ut=(t,o)=>class extends t{constructor(...t){super(...t),_t(this,"_mqConfig",o),_t(this,"carbonBreakpoints",this._generateMediaQueriesByBreakpoint())}_generateMediaQueriesByBreakpoint(){const{_mqConfig:t}=this,e=Object.keys(t),o={};return e.forEach((e=>{o[e]=i.matchMedia(`(${t[e]}-width: ${r[e].width})`)})),o}_attachMediaQueryEventListeners(){const{_mqConfig:t,carbonBreakpoints:o}=this;Object.keys(o).forEach((o=>{const i=`mediaQueryCallback${t[o]===e.MAX?`${t[o][0].toUpperCase()}${t[o].slice(1)}`:""}${o.toUpperCase()}`;"function"==typeof this[i]?this.carbonBreakpoints[o].addEventListener("change",this[i].bind(this)):console.warn(`MediaQueryMixin: Element ${this.nodeName} has not defined a callback for the "${o}" breakpoint. Please remove the breakpoint from the mixin configuration or implement the following method: ${i}`)}))}firstUpdated(){this._attachMediaQueryEventListeners(),super.firstUpdated()}};function vt(t,e,o){return(e=function(t){var e=function(t,e){if("object"!=typeof t||null===t)return t;var o=t[Symbol.toPrimitive];if(void 0!==o){var i=o.call(t,e||"default");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==typeof e?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[e]=o,t}const yt=t=>class extends t{constructor(...t){super(...t),vt(this,"lightRenderRoot",null)}createLightRenderRoot(){return this}update(t){super.update(t),this.lightRenderRoot||(this.lightRenderRoot=this.createLightRenderRoot());const{lightRenderRoot:e}=this;e&&n(this.renderLightDOM(),e,{eventContext:this})}};function wt(t,e,o){return(e=function(t){var e=function(t,e){if("object"!=typeof t||null===t)return t;var o=t[Symbol.toPrimitive];if(void 0!==o){var i=o.call(t,e||"default");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==typeof e?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[e]=o,t}const kt=(t,e)=>{const o=t.closest(e);if(o)return o;const{host:i}=t.getRootNode();return i?kt(i,e):null};
|
|
79
79
|
/**
|
|
80
80
|
* @license
|
|
81
81
|
*
|
|
@@ -93,7 +93,7 @@ let zt,Et,Pt,Ct,Tt;!function(t){t.REGULAR="",t.SHORT="short",t.MICRO="micro"}(zt
|
|
|
93
93
|
* This source code is licensed under the Apache-2.0 license found in the
|
|
94
94
|
* LICENSE file in the root directory of this source tree.
|
|
95
95
|
*/
|
|
96
|
-
const Nt=({children:t,...e}={})=>h`<svg focusable="false" preserveAspectRatio="xMidYMid meet" xmlns="http://www.w3.org/2000/svg" fill="currentColor" ...="${f(e)}" aria-hidden="true" width="16" height="16" viewBox="0 0 32 32">${t}${t}${t}<path d="M24 9.4L22.6 8 16 14.6 9.4 8 8 9.4 14.6 16 8 22.6 9.4 24 16 17.4 22.6 24 24 22.6 17.4 16 24 9.4z"></path></svg>`;let Gt,Ht,Ut,Yt,Zt=t=>t;function Wt(){Wt=function(){return t};var t={elementsDefinitionOrder:[["method"],["field"]],initializeInstanceElements:function(t,e){["method","field"].forEach((function(o){e.forEach((function(e){e.kind===o&&"own"===e.placement&&this.defineClassElement(t,e)}),this)}),this)},initializeClassElements:function(t,e){var o=t.prototype;["method","field"].forEach((function(i){e.forEach((function(e){var r=e.placement;if(e.kind===i&&("static"===r||"prototype"===r)){var n="static"===r?t:o;this.defineClassElement(n,e)}}),this)}),this)},defineClassElement:function(t,e){var o=e.descriptor;if("field"===e.kind){var i=e.initializer;o={enumerable:o.enumerable,writable:o.writable,configurable:o.configurable,value:void 0===i?void 0:i.call(t)}}Object.defineProperty(t,e.key,o)},decorateClass:function(t,e){var o=[],i=[],r={static:[],prototype:[],own:[]};if(t.forEach((function(t){this.addElementPlacement(t,r)}),this),t.forEach((function(t){if(!Jt(t))return o.push(t);var e=this.decorateElement(t,r);o.push(e.element),o.push.apply(o,e.extras),i.push.apply(i,e.finishers)}),this),!e)return{elements:o,finishers:i};var n=this.decorateConstructor(o,e);return i.push.apply(i,n.finishers),n.finishers=i,n},addElementPlacement:function(t,e,o){var i=e[t.placement];if(!o&&-1!==i.indexOf(t.key))throw new TypeError("Duplicated element ("+t.key+")");i.push(t.key)},decorateElement:function(t,e){for(var o=[],i=[],r=t.decorators,n=r.length-1;n>=0;n--){var s=e[t.placement];s.splice(s.indexOf(t.key),1);var a=this.fromElementDescriptor(t),d=this.toElementFinisherExtras((0,r[n])(a)||a);t=d.element,this.addElementPlacement(t,e),d.finisher&&i.push(d.finisher);var l=d.extras;if(l){for(var c=0;c<l.length;c++)this.addElementPlacement(l[c],e);o.push.apply(o,l)}}return{element:t,finishers:i,extras:o}},decorateConstructor:function(t,e){for(var o=[],i=e.length-1;i>=0;i--){var r=this.fromClassDescriptor(t),n=this.toClassDescriptor((0,e[i])(r)||r);if(void 0!==n.finisher&&o.push(n.finisher),void 0!==n.elements){t=n.elements;for(var s=0;s<t.length-1;s++)for(var a=s+1;a<t.length;a++)if(t[s].key===t[a].key&&t[s].placement===t[a].placement)throw new TypeError("Duplicated element ("+t[s].key+")")}}return{elements:t,finishers:o}},fromElementDescriptor:function(t){var e={kind:t.kind,key:t.key,placement:t.placement,descriptor:t.descriptor};return Object.defineProperty(e,Symbol.toStringTag,{value:"Descriptor",configurable:!0}),"field"===t.kind&&(e.initializer=t.initializer),e},toElementDescriptors:function(t){var e;if(void 0!==t)return(e=t,function(t){if(Array.isArray(t))return t}(e)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(e)||function(t,e){if(t){if("string"==typeof t)return ie(t,e);var o=Object.prototype.toString.call(t).slice(8,-1);return"Object"===o&&t.constructor&&(o=t.constructor.name),"Map"===o||"Set"===o?Array.from(t):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?ie(t,e):void 0}}(e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()).map((function(t){var e=this.toElementDescriptor(t);return this.disallowProperty(t,"finisher","An element descriptor"),this.disallowProperty(t,"extras","An element descriptor"),e}),this)},toElementDescriptor:function(t){var e=String(t.kind);if("method"!==e&&"field"!==e)throw new TypeError('An element descriptor\'s .kind property must be either "method" or "field", but a decorator created an element descriptor with .kind "'+e+'"');var o=oe(t.key),i=String(t.placement);if("static"!==i&&"prototype"!==i&&"own"!==i)throw new TypeError('An element descriptor\'s .placement property must be one of "static", "prototype" or "own", but a decorator created an element descriptor with .placement "'+i+'"');var r=t.descriptor;this.disallowProperty(t,"elements","An element descriptor");var n={kind:e,key:o,placement:i,descriptor:Object.assign({},r)};return"field"!==e?this.disallowProperty(t,"initializer","A method descriptor"):(this.disallowProperty(r,"get","The property descriptor of a field descriptor"),this.disallowProperty(r,"set","The property descriptor of a field descriptor"),this.disallowProperty(r,"value","The property descriptor of a field descriptor"),n.initializer=t.initializer),n},toElementFinisherExtras:function(t){return{element:this.toElementDescriptor(t),finisher:ee(t,"finisher"),extras:this.toElementDescriptors(t.extras)}},fromClassDescriptor:function(t){var e={kind:"class",elements:t.map(this.fromElementDescriptor,this)};return Object.defineProperty(e,Symbol.toStringTag,{value:"Descriptor",configurable:!0}),e},toClassDescriptor:function(t){var e=String(t.kind);if("class"!==e)throw new TypeError('A class descriptor\'s .kind property must be "class", but a decorator created a class descriptor with .kind "'+e+'"');this.disallowProperty(t,"key","A class descriptor"),this.disallowProperty(t,"placement","A class descriptor"),this.disallowProperty(t,"descriptor","A class descriptor"),this.disallowProperty(t,"initializer","A class descriptor"),this.disallowProperty(t,"extras","A class descriptor");var o=ee(t,"finisher");return{elements:this.toElementDescriptors(t.elements),finisher:o}},runClassFinishers:function(t,e){for(var o=0;o<e.length;o++){var i=(0,e[o])(t);if(void 0!==i){if("function"!=typeof i)throw new TypeError("Finishers must return a constructor.");t=i}}return t},disallowProperty:function(t,e,o){if(void 0!==t[e])throw new TypeError(o+" can't have a ."+e+" property.")}};return t}function Qt(t){var e,o=oe(t.key);"method"===t.kind?e={value:t.value,writable:!0,configurable:!0,enumerable:!1}:"get"===t.kind?e={get:t.value,configurable:!0,enumerable:!1}:"set"===t.kind?e={set:t.value,configurable:!0,enumerable:!1}:"field"===t.kind&&(e={configurable:!0,writable:!0,enumerable:!0});var i={kind:"field"===t.kind?"field":"method",key:o,placement:t.static?"static":"field"===t.kind?"own":"prototype",descriptor:e};return t.decorators&&(i.decorators=t.decorators),"field"===t.kind&&(i.initializer=t.value),i}function Kt(t,e){void 0!==t.descriptor.get?e.descriptor.get=t.descriptor.get:e.descriptor.set=t.descriptor.set}function Jt(t){return t.decorators&&t.decorators.length}function te(t){return void 0!==t&&!(void 0===t.value&&void 0===t.writable)}function ee(t,e){var o=t[e];if(void 0!==o&&"function"!=typeof o)throw new TypeError("Expected '"+e+"' to be a function");return o}function oe(t){var e=function(t,e){if("object"!=typeof t||null===t)return t;var o=t[Symbol.toPrimitive];if(void 0!==o){var i=o.call(t,e||"default");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==typeof e?e:String(e)}function ie(t,e){(null==e||e>t.length)&&(e=t.length);for(var o=0,i=new Array(e);o<e;o++)i[o]=t[o];return i}const{stablePrefix:re}={version:"Carbon for IBM.com v1.61.0",stablePrefix:"dds"},{prefix:ne}=x;let se,ae,de=function(t,e,o,i){var r=Wt();if(i)for(var n=0;n<i.length;n++)r=i[n](r);var s=e((function(t){r.initializeInstanceElements(t,a.elements)}),o),a=r.decorateClass(function(t){for(var e=[],o=function(t){return"method"===t.kind&&t.key===n.key&&t.placement===n.placement},i=0;i<t.length;i++){var r,n=t[i];if("method"===n.kind&&(r=e.find(o)))if(te(n.descriptor)||te(r.descriptor)){if(Jt(n)||Jt(r))throw new ReferenceError("Duplicated methods ("+n.key+") can't be decorated.");r.descriptor=n.descriptor}else{if(Jt(n)){if(Jt(r))throw new ReferenceError("Decorators can't be placed on different accessors with for the same property ("+n.key+").");r.decorators=n.decorators}Kt(n,r)}else e.push(n)}return e}(s.d.map(Qt)),t);return r.initializeClassElements(s.F,a.elements),r.runClassFinishers(s.F,a.finishers)}([b(`${re}-dropdown`)],(function(t,e){return{F:class extends e{constructor(...e){super(...e),t(this)}},d:[{kind:"field",decorators:[_("input")],key:"_inputNode",value:void 0},{kind:"field",decorators:[d({attribute:!1})],key:"formatSelectedItemStatusText",value:()=>({latestSelection:t,currentItem:e})=>""===e?`${t}`:`${t}, Current input is: ${e}`},{kind:"method",key:"_navigate",value:function(t){const e=this.constructor,o=this.querySelectorAll(e.selectorItem),i=this.querySelector(e.selectorItemHighlighted);let r=u(o,i)+t;r<0&&(r=o.length-1),r>=o.length&&(r=0),v(o,((t,e)=>{t.highlighted=e===r}));const n=o[r];n.scrollIntoView({block:"nearest"});const s=n.textContent;s&&(this._assistiveStatusText=this.formatSelectedItemStatusText({latestSelection:`${s}`,currentItem:`${this._inputNode.value}`})),this.requestUpdate()}},{kind:"method",key:"render",value:function(){const{colorScheme:t,disabled:e,helperText:o,invalid:i,labelText:r,open:n,toggleLabelClosed:s,toggleLabelOpen:a,size:d,type:b,validityMessage:x,_assistiveStatusText:g,_shouldTriggerBeFocusable:p,_handleClickInner:h,_handleKeydownInner:f,_handleKeypressInner:m,_handleSlotchangeHelperText:_,_handleSlotchangeLabelText:u,_slotHelperTextNode:v,_slotLabelTextNode:z}=this,E=b===Tt.INLINE,P=this.querySelectorAll(this.constructor.selectorItemSelected).length,C=c({[`${ne}--dropdown`]:!0,[`${ne}--list-box`]:!0,[`${ne}--list-box--${t}`]:t,[`${ne}--list-box--disabled`]:e,[`${ne}--list-box--inline`]:E,[`${ne}--list-box--expanded`]:n,[`${ne}--list-box--${d}`]:d,[`${ne}--dropdown--invalid`]:i,[`${ne}--dropdown--inline`]:E,[`${ne}--dropdown--selected`]:P>0}),T=c({[`${ne}--label`]:!0,[`${ne}--label-visually-hidden`]:!0,[`${ne}--label--disabled`]:e}),S=c({[`${ne}--form__helper-text`]:!0,[`${ne}--form__helper-text--disabled`]:e}),A=c({[`${ne}--list-box__menu-icon`]:!0,[`${ne}--list-box__menu-icon--open`]:n}),q=(n?a:s)||void 0,D=o||v&&v.assignedNodes().length>0,M=r||z&&z.assignedNodes().length>0,j=i?l(Ht||(Ht=Zt`<div part="validity-message" class="${0}"><slot name="validity-message">${0}</slot></div>`),`${ne}--form-requirement`,x):l(Gt||(Gt=Zt`<div part="helper-text" class="${0}" ?hidden="${0}"><slot name="helper-text" @slotchange="${0}">${0}</slot></div>`),S,E||!D,_,o),$=i?y({class:`${ne}--list-box__invalid-icon`,"aria-label":q}):void 0,I=n?l(Ut||(Ut=Zt`<div id="menu-body" part="menu-body" class="${0}--list-box__menu" role="listbox" tabindex="-1"><slot></slot></div>`),ne):void 0;return l(Yt||(Yt=Zt`<label part="label-text" class="${0}" ?hidden="${0}"><slot name="label-text" @slotchange="${0}">${0}</slot></label><div class="${0}" ?data-invalid="${0}" @click="${0}" @keydown="${0}" @keypress="${0}">${0}<div part="trigger-button" role="button" class="${0}--list-box__field" tabindex="${0}" aria-labelledby="trigger-label" aria-expanded="${0}" aria-haspopup="listbox" aria-owns="menu-body" aria-controls="menu-body">${0}${0}${0}<div class="${0}">${0}</div></div>${0}</div>${0}<div id="assistiveStatus" class="${0}--assistive-text" role="status" aria-live="assertive" aria-relevant="additions text">${0}</div>`),T,!M,u,r,C,i,h,f,m,$,ne,k(p?"0":void 0),String(n),this._renderPrecedingTriggerContent(),this._renderTriggerContent(),this._renderFollowingTriggerContent(),A,w({"aria-label":q}),I,j,ne,g)}}]}}),m),le=t=>t;function ce(){ce=function(){return t};var t={elementsDefinitionOrder:[["method"],["field"]],initializeInstanceElements:function(t,e){["method","field"].forEach((function(o){e.forEach((function(e){e.kind===o&&"own"===e.placement&&this.defineClassElement(t,e)}),this)}),this)},initializeClassElements:function(t,e){var o=t.prototype;["method","field"].forEach((function(i){e.forEach((function(e){var r=e.placement;if(e.kind===i&&("static"===r||"prototype"===r)){var n="static"===r?t:o;this.defineClassElement(n,e)}}),this)}),this)},defineClassElement:function(t,e){var o=e.descriptor;if("field"===e.kind){var i=e.initializer;o={enumerable:o.enumerable,writable:o.writable,configurable:o.configurable,value:void 0===i?void 0:i.call(t)}}Object.defineProperty(t,e.key,o)},decorateClass:function(t,e){var o=[],i=[],r={static:[],prototype:[],own:[]};if(t.forEach((function(t){this.addElementPlacement(t,r)}),this),t.forEach((function(t){if(!ge(t))return o.push(t);var e=this.decorateElement(t,r);o.push(e.element),o.push.apply(o,e.extras),i.push.apply(i,e.finishers)}),this),!e)return{elements:o,finishers:i};var n=this.decorateConstructor(o,e);return i.push.apply(i,n.finishers),n.finishers=i,n},addElementPlacement:function(t,e,o){var i=e[t.placement];if(!o&&-1!==i.indexOf(t.key))throw new TypeError("Duplicated element ("+t.key+")");i.push(t.key)},decorateElement:function(t,e){for(var o=[],i=[],r=t.decorators,n=r.length-1;n>=0;n--){var s=e[t.placement];s.splice(s.indexOf(t.key),1);var a=this.fromElementDescriptor(t),d=this.toElementFinisherExtras((0,r[n])(a)||a);t=d.element,this.addElementPlacement(t,e),d.finisher&&i.push(d.finisher);var l=d.extras;if(l){for(var c=0;c<l.length;c++)this.addElementPlacement(l[c],e);o.push.apply(o,l)}}return{element:t,finishers:i,extras:o}},decorateConstructor:function(t,e){for(var o=[],i=e.length-1;i>=0;i--){var r=this.fromClassDescriptor(t),n=this.toClassDescriptor((0,e[i])(r)||r);if(void 0!==n.finisher&&o.push(n.finisher),void 0!==n.elements){t=n.elements;for(var s=0;s<t.length-1;s++)for(var a=s+1;a<t.length;a++)if(t[s].key===t[a].key&&t[s].placement===t[a].placement)throw new TypeError("Duplicated element ("+t[s].key+")")}}return{elements:t,finishers:o}},fromElementDescriptor:function(t){var e={kind:t.kind,key:t.key,placement:t.placement,descriptor:t.descriptor};return Object.defineProperty(e,Symbol.toStringTag,{value:"Descriptor",configurable:!0}),"field"===t.kind&&(e.initializer=t.initializer),e},toElementDescriptors:function(t){var e;if(void 0!==t)return(e=t,function(t){if(Array.isArray(t))return t}(e)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(e)||function(t,e){if(t){if("string"==typeof t)return me(t,e);var o=Object.prototype.toString.call(t).slice(8,-1);return"Object"===o&&t.constructor&&(o=t.constructor.name),"Map"===o||"Set"===o?Array.from(t):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?me(t,e):void 0}}(e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()).map((function(t){var e=this.toElementDescriptor(t);return this.disallowProperty(t,"finisher","An element descriptor"),this.disallowProperty(t,"extras","An element descriptor"),e}),this)},toElementDescriptor:function(t){var e=String(t.kind);if("method"!==e&&"field"!==e)throw new TypeError('An element descriptor\'s .kind property must be either "method" or "field", but a decorator created an element descriptor with .kind "'+e+'"');var o=fe(t.key),i=String(t.placement);if("static"!==i&&"prototype"!==i&&"own"!==i)throw new TypeError('An element descriptor\'s .placement property must be one of "static", "prototype" or "own", but a decorator created an element descriptor with .placement "'+i+'"');var r=t.descriptor;this.disallowProperty(t,"elements","An element descriptor");var n={kind:e,key:o,placement:i,descriptor:Object.assign({},r)};return"field"!==e?this.disallowProperty(t,"initializer","A method descriptor"):(this.disallowProperty(r,"get","The property descriptor of a field descriptor"),this.disallowProperty(r,"set","The property descriptor of a field descriptor"),this.disallowProperty(r,"value","The property descriptor of a field descriptor"),n.initializer=t.initializer),n},toElementFinisherExtras:function(t){return{element:this.toElementDescriptor(t),finisher:he(t,"finisher"),extras:this.toElementDescriptors(t.extras)}},fromClassDescriptor:function(t){var e={kind:"class",elements:t.map(this.fromElementDescriptor,this)};return Object.defineProperty(e,Symbol.toStringTag,{value:"Descriptor",configurable:!0}),e},toClassDescriptor:function(t){var e=String(t.kind);if("class"!==e)throw new TypeError('A class descriptor\'s .kind property must be "class", but a decorator created a class descriptor with .kind "'+e+'"');this.disallowProperty(t,"key","A class descriptor"),this.disallowProperty(t,"placement","A class descriptor"),this.disallowProperty(t,"descriptor","A class descriptor"),this.disallowProperty(t,"initializer","A class descriptor"),this.disallowProperty(t,"extras","A class descriptor");var o=he(t,"finisher");return{elements:this.toElementDescriptors(t.elements),finisher:o}},runClassFinishers:function(t,e){for(var o=0;o<e.length;o++){var i=(0,e[o])(t);if(void 0!==i){if("function"!=typeof i)throw new TypeError("Finishers must return a constructor.");t=i}}return t},disallowProperty:function(t,e,o){if(void 0!==t[e])throw new TypeError(o+" can't have a ."+e+" property.")}};return t}function be(t){var e,o=fe(t.key);"method"===t.kind?e={value:t.value,writable:!0,configurable:!0,enumerable:!1}:"get"===t.kind?e={get:t.value,configurable:!0,enumerable:!1}:"set"===t.kind?e={set:t.value,configurable:!0,enumerable:!1}:"field"===t.kind&&(e={configurable:!0,writable:!0,enumerable:!0});var i={kind:"field"===t.kind?"field":"method",key:o,placement:t.static?"static":"field"===t.kind?"own":"prototype",descriptor:e};return t.decorators&&(i.decorators=t.decorators),"field"===t.kind&&(i.initializer=t.value),i}function xe(t,e){void 0!==t.descriptor.get?e.descriptor.get=t.descriptor.get:e.descriptor.set=t.descriptor.set}function ge(t){return t.decorators&&t.decorators.length}function pe(t){return void 0!==t&&!(void 0===t.value&&void 0===t.writable)}function he(t,e){var o=t[e];if(void 0!==o&&"function"!=typeof o)throw new TypeError("Expected '"+e+"' to be a function");return o}function fe(t){var e=function(t,e){if("object"!=typeof t||null===t)return t;var o=t[Symbol.toPrimitive];if(void 0!==o){var i=o.call(t,e||"default");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==typeof e?e:String(e)}function me(t,e){(null==e||e>t.length)&&(e=t.length);for(var o=0,i=new Array(e);o<e;o++)i[o]=t[o];return i}function _e(){return _e="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(t,e,o){var i=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=ue(t)););return t}(t,e);if(i){var r=Object.getOwnPropertyDescriptor(i,e);return r.get?r.get.call(arguments.length<3?t:o):r.value}},_e.apply(this,arguments)}function ue(t){return ue=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},ue(t)}const{stablePrefix:ve}=g,{prefix:ye}=x;let we=function(t,e,o,i){var r=ce();if(i)for(var n=0;n<i.length;n++)r=i[n](r);var s=e((function(t){r.initializeInstanceElements(t,a.elements)}),o),a=r.decorateClass(function(t){for(var e=[],o=function(t){return"method"===t.kind&&t.key===n.key&&t.placement===n.placement},i=0;i<t.length;i++){var r,n=t[i];if("method"===n.kind&&(r=e.find(o)))if(pe(n.descriptor)||pe(r.descriptor)){if(ge(n)||ge(r))throw new ReferenceError("Duplicated methods ("+n.key+") can't be decorated.");r.descriptor=n.descriptor}else{if(ge(n)){if(ge(r))throw new ReferenceError("Decorators can't be placed on different accessors with for the same property ("+n.key+").");r.decorators=n.decorators}xe(n,r)}else e.push(n)}return e}(s.d.map(be)),t);return r.initializeClassElements(s.F,a.elements),r.runClassFinishers(s.F,a.finishers)}([b(`${ve}-combo-box`)],(function(t,e){class o extends e{constructor(...e){super(...e),t(this)}}return{F:o,d:[{kind:"field",key:"_filterInputValue",value:()=>""},{kind:"field",key:"_shouldTriggerBeFocusable",value:()=>!1},{kind:"field",decorators:[_("#selection-button")],key:"_selectionButtonNode",value:void 0},{kind:"field",decorators:[_("input")],key:"_filterInputNode",value:void 0},{kind:"method",key:"_testItemWithQueryText",value:function(t){return(this.itemMatches||this._defaultItemMatches)(t,this._filterInputNode.value)}},{kind:"method",key:"_defaultItemMatches",value:function(t,e){return t.textContent.toLowerCase().indexOf(e.toLowerCase())>=0}},{kind:"method",key:"_handleInput",value:function(){const t=this.querySelectorAll(this.constructor.selectorItem),e=this._filterInputNode.value?z(t,this._testItemWithQueryText,this):-1;v(t,((t,o)=>{t.highlighted=o===e}));const{_filterInputNode:o}=this;this._filterInputValue=o?o.value:"",this.open=!0,this.requestUpdate()}},{kind:"method",key:"_handleClickInner",value:function(t){var e;null!==(e=this._selectionButtonNode)&&void 0!==e&&e.contains(t.target)?this._handleUserInitiatedClearInput():_e(ue(o.prototype),"_handleClickInner",this).call(this,t)}},{kind:"method",key:"_handleKeypressInner",value:function(t){var e;const{key:i}=t,r=this.constructor.getAction(i),{TRIGGERING:n}=Pt;null===(e=this._selectionButtonNode)||void 0===e||!e.contains(t.target)||r!==n&&" "!==i?_e(ue(o.prototype),"_handleKeypressInner",this).call(this,t):this._handleUserInitiatedClearInput()}},{kind:"method",key:"_handleUserInitiatedClearInput",value:function(){v(this.querySelectorAll(this.constructor.selectorItem),(t=>{t.highlighted=!1})),this._filterInputValue="",this._filterInputNode.focus(),this.open=!1,this.requestUpdate()}},{kind:"method",key:"_handleUserInitiatedSelectItem",value:function(t){t&&!this._selectionShouldChange(t)&&(this._filterInputValue=t.textContent||"",this.open=!1,this.requestUpdate()),_e(ue(o.prototype),"_handleUserInitiatedSelectItem",this).call(this,t)}},{kind:"method",key:"_renderTriggerContent",value:function(){const{disabled:t,triggerContent:e,_filterInputValue:o,_handleInput:i}=this;return l(se||(se=le`<input id="trigger-label" class="${0}--text-input" ?disabled="${0}" placeholder="${0}" .value="${0}" role="combobox" aria-expanded="${0}" aria-labelledby="assistiveStatus" aria-controls="menu-body" aria-autocomplete="list" @input="${0}">`),ye,t,e,o,this.open,i)}},{kind:"method",key:"_renderFollowingTriggerContent",value:function(){const{clearSelectionLabel:t,_filterInputValue:e}=this;return 0===e.length?void 0:l(ae||(ae=le`<div id="selection-button" role="button" class="${0}--list-box__selection" tabindex="0" title="${0}">${0}</div>`),ye,t,Nt({"aria-label":t}))}},{kind:"field",decorators:[d({attribute:"clear-selection-label"})],key:"clearSelectionLabel",value:()=>""},{kind:"field",decorators:[d({attribute:!1})],key:"itemMatches",value:void 0},{kind:"method",key:"shouldUpdate",value:function(t){_e(ue(o.prototype),"shouldUpdate",this).call(this,t);const{_selectedItemContent:e}=this;return e&&t.has("value")&&(this._filterInputValue=(null==e?void 0:e.textContent)||""),!0}},{kind:"method",key:"updated",value:function(t){_e(ue(o.prototype),"updated",this).call(this,t);const{_listBoxNode:e}=this;e&&e.classList.add(`${ye}--combo-box`)}},{kind:"field",static:!0,key:"TRIGGER_KEYS",value:()=>new Set(["Enter"])},{kind:"get",static:!0,key:"selectorItemHighlighted",value:function(){return`${ye}-combo-box-item[highlighted]`}},{kind:"get",static:!0,key:"selectorItem",value:function(){return`${ye}-combo-box-item`}},{kind:"get",static:!0,key:"selectorItemSelected",value:function(){return`${ye}-combo-box-item[selected]`}},{kind:"get",static:!0,key:"eventBeforeToggle",value:function(){return`${ye}-combo-box-beingtoggled`}},{kind:"get",static:!0,key:"eventToggle",value:function(){return`${ye}-combo-box-toggled`}},{kind:"get",static:!0,key:"eventBeforeSelect",value:function(){return`${ye}-combo-box-beingselected`}},{kind:"get",static:!0,key:"eventSelect",value:function(){return`${ye}-combo-box-selected`}}]}}),de);
|
|
96
|
+
const Nt=({children:t,...e}={})=>h`<svg focusable="false" preserveAspectRatio="xMidYMid meet" xmlns="http://www.w3.org/2000/svg" fill="currentColor" ...="${f(e)}" aria-hidden="true" width="16" height="16" viewBox="0 0 32 32">${t}${t}${t}<path d="M24 9.4L22.6 8 16 14.6 9.4 8 8 9.4 14.6 16 8 22.6 9.4 24 16 17.4 22.6 24 24 22.6 17.4 16 24 9.4z"></path></svg>`;let Gt,Ht,Ut,Yt,Zt=t=>t;function Wt(){Wt=function(){return t};var t={elementsDefinitionOrder:[["method"],["field"]],initializeInstanceElements:function(t,e){["method","field"].forEach((function(o){e.forEach((function(e){e.kind===o&&"own"===e.placement&&this.defineClassElement(t,e)}),this)}),this)},initializeClassElements:function(t,e){var o=t.prototype;["method","field"].forEach((function(i){e.forEach((function(e){var r=e.placement;if(e.kind===i&&("static"===r||"prototype"===r)){var n="static"===r?t:o;this.defineClassElement(n,e)}}),this)}),this)},defineClassElement:function(t,e){var o=e.descriptor;if("field"===e.kind){var i=e.initializer;o={enumerable:o.enumerable,writable:o.writable,configurable:o.configurable,value:void 0===i?void 0:i.call(t)}}Object.defineProperty(t,e.key,o)},decorateClass:function(t,e){var o=[],i=[],r={static:[],prototype:[],own:[]};if(t.forEach((function(t){this.addElementPlacement(t,r)}),this),t.forEach((function(t){if(!Jt(t))return o.push(t);var e=this.decorateElement(t,r);o.push(e.element),o.push.apply(o,e.extras),i.push.apply(i,e.finishers)}),this),!e)return{elements:o,finishers:i};var n=this.decorateConstructor(o,e);return i.push.apply(i,n.finishers),n.finishers=i,n},addElementPlacement:function(t,e,o){var i=e[t.placement];if(!o&&-1!==i.indexOf(t.key))throw new TypeError("Duplicated element ("+t.key+")");i.push(t.key)},decorateElement:function(t,e){for(var o=[],i=[],r=t.decorators,n=r.length-1;n>=0;n--){var s=e[t.placement];s.splice(s.indexOf(t.key),1);var a=this.fromElementDescriptor(t),d=this.toElementFinisherExtras((0,r[n])(a)||a);t=d.element,this.addElementPlacement(t,e),d.finisher&&i.push(d.finisher);var l=d.extras;if(l){for(var c=0;c<l.length;c++)this.addElementPlacement(l[c],e);o.push.apply(o,l)}}return{element:t,finishers:i,extras:o}},decorateConstructor:function(t,e){for(var o=[],i=e.length-1;i>=0;i--){var r=this.fromClassDescriptor(t),n=this.toClassDescriptor((0,e[i])(r)||r);if(void 0!==n.finisher&&o.push(n.finisher),void 0!==n.elements){t=n.elements;for(var s=0;s<t.length-1;s++)for(var a=s+1;a<t.length;a++)if(t[s].key===t[a].key&&t[s].placement===t[a].placement)throw new TypeError("Duplicated element ("+t[s].key+")")}}return{elements:t,finishers:o}},fromElementDescriptor:function(t){var e={kind:t.kind,key:t.key,placement:t.placement,descriptor:t.descriptor};return Object.defineProperty(e,Symbol.toStringTag,{value:"Descriptor",configurable:!0}),"field"===t.kind&&(e.initializer=t.initializer),e},toElementDescriptors:function(t){var e;if(void 0!==t)return(e=t,function(t){if(Array.isArray(t))return t}(e)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(e)||function(t,e){if(t){if("string"==typeof t)return ie(t,e);var o=Object.prototype.toString.call(t).slice(8,-1);return"Object"===o&&t.constructor&&(o=t.constructor.name),"Map"===o||"Set"===o?Array.from(t):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?ie(t,e):void 0}}(e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()).map((function(t){var e=this.toElementDescriptor(t);return this.disallowProperty(t,"finisher","An element descriptor"),this.disallowProperty(t,"extras","An element descriptor"),e}),this)},toElementDescriptor:function(t){var e=String(t.kind);if("method"!==e&&"field"!==e)throw new TypeError('An element descriptor\'s .kind property must be either "method" or "field", but a decorator created an element descriptor with .kind "'+e+'"');var o=oe(t.key),i=String(t.placement);if("static"!==i&&"prototype"!==i&&"own"!==i)throw new TypeError('An element descriptor\'s .placement property must be one of "static", "prototype" or "own", but a decorator created an element descriptor with .placement "'+i+'"');var r=t.descriptor;this.disallowProperty(t,"elements","An element descriptor");var n={kind:e,key:o,placement:i,descriptor:Object.assign({},r)};return"field"!==e?this.disallowProperty(t,"initializer","A method descriptor"):(this.disallowProperty(r,"get","The property descriptor of a field descriptor"),this.disallowProperty(r,"set","The property descriptor of a field descriptor"),this.disallowProperty(r,"value","The property descriptor of a field descriptor"),n.initializer=t.initializer),n},toElementFinisherExtras:function(t){return{element:this.toElementDescriptor(t),finisher:ee(t,"finisher"),extras:this.toElementDescriptors(t.extras)}},fromClassDescriptor:function(t){var e={kind:"class",elements:t.map(this.fromElementDescriptor,this)};return Object.defineProperty(e,Symbol.toStringTag,{value:"Descriptor",configurable:!0}),e},toClassDescriptor:function(t){var e=String(t.kind);if("class"!==e)throw new TypeError('A class descriptor\'s .kind property must be "class", but a decorator created a class descriptor with .kind "'+e+'"');this.disallowProperty(t,"key","A class descriptor"),this.disallowProperty(t,"placement","A class descriptor"),this.disallowProperty(t,"descriptor","A class descriptor"),this.disallowProperty(t,"initializer","A class descriptor"),this.disallowProperty(t,"extras","A class descriptor");var o=ee(t,"finisher");return{elements:this.toElementDescriptors(t.elements),finisher:o}},runClassFinishers:function(t,e){for(var o=0;o<e.length;o++){var i=(0,e[o])(t);if(void 0!==i){if("function"!=typeof i)throw new TypeError("Finishers must return a constructor.");t=i}}return t},disallowProperty:function(t,e,o){if(void 0!==t[e])throw new TypeError(o+" can't have a ."+e+" property.")}};return t}function Qt(t){var e,o=oe(t.key);"method"===t.kind?e={value:t.value,writable:!0,configurable:!0,enumerable:!1}:"get"===t.kind?e={get:t.value,configurable:!0,enumerable:!1}:"set"===t.kind?e={set:t.value,configurable:!0,enumerable:!1}:"field"===t.kind&&(e={configurable:!0,writable:!0,enumerable:!0});var i={kind:"field"===t.kind?"field":"method",key:o,placement:t.static?"static":"field"===t.kind?"own":"prototype",descriptor:e};return t.decorators&&(i.decorators=t.decorators),"field"===t.kind&&(i.initializer=t.value),i}function Kt(t,e){void 0!==t.descriptor.get?e.descriptor.get=t.descriptor.get:e.descriptor.set=t.descriptor.set}function Jt(t){return t.decorators&&t.decorators.length}function te(t){return void 0!==t&&!(void 0===t.value&&void 0===t.writable)}function ee(t,e){var o=t[e];if(void 0!==o&&"function"!=typeof o)throw new TypeError("Expected '"+e+"' to be a function");return o}function oe(t){var e=function(t,e){if("object"!=typeof t||null===t)return t;var o=t[Symbol.toPrimitive];if(void 0!==o){var i=o.call(t,e||"default");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==typeof e?e:String(e)}function ie(t,e){(null==e||e>t.length)&&(e=t.length);for(var o=0,i=new Array(e);o<e;o++)i[o]=t[o];return i}const{stablePrefix:re}={version:"Carbon for IBM.com v1.61.1",stablePrefix:"dds"},{prefix:ne}=x;let se,ae,de=function(t,e,o,i){var r=Wt();if(i)for(var n=0;n<i.length;n++)r=i[n](r);var s=e((function(t){r.initializeInstanceElements(t,a.elements)}),o),a=r.decorateClass(function(t){for(var e=[],o=function(t){return"method"===t.kind&&t.key===n.key&&t.placement===n.placement},i=0;i<t.length;i++){var r,n=t[i];if("method"===n.kind&&(r=e.find(o)))if(te(n.descriptor)||te(r.descriptor)){if(Jt(n)||Jt(r))throw new ReferenceError("Duplicated methods ("+n.key+") can't be decorated.");r.descriptor=n.descriptor}else{if(Jt(n)){if(Jt(r))throw new ReferenceError("Decorators can't be placed on different accessors with for the same property ("+n.key+").");r.decorators=n.decorators}Kt(n,r)}else e.push(n)}return e}(s.d.map(Qt)),t);return r.initializeClassElements(s.F,a.elements),r.runClassFinishers(s.F,a.finishers)}([b(`${re}-dropdown`)],(function(t,e){return{F:class extends e{constructor(...e){super(...e),t(this)}},d:[{kind:"field",decorators:[_("input")],key:"_inputNode",value:void 0},{kind:"field",decorators:[d({attribute:!1})],key:"formatSelectedItemStatusText",value:()=>({latestSelection:t,currentItem:e})=>""===e?`${t}`:`${t}, Current input is: ${e}`},{kind:"method",key:"_navigate",value:function(t){const e=this.constructor,o=this.querySelectorAll(e.selectorItem),i=this.querySelector(e.selectorItemHighlighted);let r=u(o,i)+t;r<0&&(r=o.length-1),r>=o.length&&(r=0),v(o,((t,e)=>{t.highlighted=e===r}));const n=o[r];n.scrollIntoView({block:"nearest"});const s=n.textContent;s&&(this._assistiveStatusText=this.formatSelectedItemStatusText({latestSelection:`${s}`,currentItem:`${this._inputNode.value}`})),this.requestUpdate()}},{kind:"method",key:"render",value:function(){const{colorScheme:t,disabled:e,helperText:o,invalid:i,labelText:r,open:n,toggleLabelClosed:s,toggleLabelOpen:a,size:d,type:b,validityMessage:x,_assistiveStatusText:g,_shouldTriggerBeFocusable:p,_handleClickInner:h,_handleKeydownInner:f,_handleKeypressInner:m,_handleSlotchangeHelperText:_,_handleSlotchangeLabelText:u,_slotHelperTextNode:v,_slotLabelTextNode:z}=this,E=b===Tt.INLINE,P=this.querySelectorAll(this.constructor.selectorItemSelected).length,C=c({[`${ne}--dropdown`]:!0,[`${ne}--list-box`]:!0,[`${ne}--list-box--${t}`]:t,[`${ne}--list-box--disabled`]:e,[`${ne}--list-box--inline`]:E,[`${ne}--list-box--expanded`]:n,[`${ne}--list-box--${d}`]:d,[`${ne}--dropdown--invalid`]:i,[`${ne}--dropdown--inline`]:E,[`${ne}--dropdown--selected`]:P>0}),T=c({[`${ne}--label`]:!0,[`${ne}--label-visually-hidden`]:!0,[`${ne}--label--disabled`]:e}),S=c({[`${ne}--form__helper-text`]:!0,[`${ne}--form__helper-text--disabled`]:e}),A=c({[`${ne}--list-box__menu-icon`]:!0,[`${ne}--list-box__menu-icon--open`]:n}),q=(n?a:s)||void 0,D=o||v&&v.assignedNodes().length>0,M=r||z&&z.assignedNodes().length>0,j=i?l(Ht||(Ht=Zt`<div part="validity-message" class="${0}"><slot name="validity-message">${0}</slot></div>`),`${ne}--form-requirement`,x):l(Gt||(Gt=Zt`<div part="helper-text" class="${0}" ?hidden="${0}"><slot name="helper-text" @slotchange="${0}">${0}</slot></div>`),S,E||!D,_,o),$=i?y({class:`${ne}--list-box__invalid-icon`,"aria-label":q}):void 0,I=n?l(Ut||(Ut=Zt`<div id="menu-body" part="menu-body" class="${0}--list-box__menu" role="listbox" tabindex="-1"><slot></slot></div>`),ne):void 0;return l(Yt||(Yt=Zt`<label part="label-text" class="${0}" ?hidden="${0}"><slot name="label-text" @slotchange="${0}">${0}</slot></label><div class="${0}" ?data-invalid="${0}" @click="${0}" @keydown="${0}" @keypress="${0}">${0}<div part="trigger-button" role="button" class="${0}--list-box__field" tabindex="${0}" aria-labelledby="trigger-label" aria-expanded="${0}" aria-haspopup="listbox" aria-owns="menu-body" aria-controls="menu-body">${0}${0}${0}<div class="${0}">${0}</div></div>${0}</div>${0}<div id="assistiveStatus" class="${0}--assistive-text" role="status" aria-live="assertive" aria-relevant="additions text">${0}</div>`),T,!M,u,r,C,i,h,f,m,$,ne,k(p?"0":void 0),String(n),this._renderPrecedingTriggerContent(),this._renderTriggerContent(),this._renderFollowingTriggerContent(),A,w({"aria-label":q}),I,j,ne,g)}}]}}),m),le=t=>t;function ce(){ce=function(){return t};var t={elementsDefinitionOrder:[["method"],["field"]],initializeInstanceElements:function(t,e){["method","field"].forEach((function(o){e.forEach((function(e){e.kind===o&&"own"===e.placement&&this.defineClassElement(t,e)}),this)}),this)},initializeClassElements:function(t,e){var o=t.prototype;["method","field"].forEach((function(i){e.forEach((function(e){var r=e.placement;if(e.kind===i&&("static"===r||"prototype"===r)){var n="static"===r?t:o;this.defineClassElement(n,e)}}),this)}),this)},defineClassElement:function(t,e){var o=e.descriptor;if("field"===e.kind){var i=e.initializer;o={enumerable:o.enumerable,writable:o.writable,configurable:o.configurable,value:void 0===i?void 0:i.call(t)}}Object.defineProperty(t,e.key,o)},decorateClass:function(t,e){var o=[],i=[],r={static:[],prototype:[],own:[]};if(t.forEach((function(t){this.addElementPlacement(t,r)}),this),t.forEach((function(t){if(!ge(t))return o.push(t);var e=this.decorateElement(t,r);o.push(e.element),o.push.apply(o,e.extras),i.push.apply(i,e.finishers)}),this),!e)return{elements:o,finishers:i};var n=this.decorateConstructor(o,e);return i.push.apply(i,n.finishers),n.finishers=i,n},addElementPlacement:function(t,e,o){var i=e[t.placement];if(!o&&-1!==i.indexOf(t.key))throw new TypeError("Duplicated element ("+t.key+")");i.push(t.key)},decorateElement:function(t,e){for(var o=[],i=[],r=t.decorators,n=r.length-1;n>=0;n--){var s=e[t.placement];s.splice(s.indexOf(t.key),1);var a=this.fromElementDescriptor(t),d=this.toElementFinisherExtras((0,r[n])(a)||a);t=d.element,this.addElementPlacement(t,e),d.finisher&&i.push(d.finisher);var l=d.extras;if(l){for(var c=0;c<l.length;c++)this.addElementPlacement(l[c],e);o.push.apply(o,l)}}return{element:t,finishers:i,extras:o}},decorateConstructor:function(t,e){for(var o=[],i=e.length-1;i>=0;i--){var r=this.fromClassDescriptor(t),n=this.toClassDescriptor((0,e[i])(r)||r);if(void 0!==n.finisher&&o.push(n.finisher),void 0!==n.elements){t=n.elements;for(var s=0;s<t.length-1;s++)for(var a=s+1;a<t.length;a++)if(t[s].key===t[a].key&&t[s].placement===t[a].placement)throw new TypeError("Duplicated element ("+t[s].key+")")}}return{elements:t,finishers:o}},fromElementDescriptor:function(t){var e={kind:t.kind,key:t.key,placement:t.placement,descriptor:t.descriptor};return Object.defineProperty(e,Symbol.toStringTag,{value:"Descriptor",configurable:!0}),"field"===t.kind&&(e.initializer=t.initializer),e},toElementDescriptors:function(t){var e;if(void 0!==t)return(e=t,function(t){if(Array.isArray(t))return t}(e)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(e)||function(t,e){if(t){if("string"==typeof t)return me(t,e);var o=Object.prototype.toString.call(t).slice(8,-1);return"Object"===o&&t.constructor&&(o=t.constructor.name),"Map"===o||"Set"===o?Array.from(t):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?me(t,e):void 0}}(e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()).map((function(t){var e=this.toElementDescriptor(t);return this.disallowProperty(t,"finisher","An element descriptor"),this.disallowProperty(t,"extras","An element descriptor"),e}),this)},toElementDescriptor:function(t){var e=String(t.kind);if("method"!==e&&"field"!==e)throw new TypeError('An element descriptor\'s .kind property must be either "method" or "field", but a decorator created an element descriptor with .kind "'+e+'"');var o=fe(t.key),i=String(t.placement);if("static"!==i&&"prototype"!==i&&"own"!==i)throw new TypeError('An element descriptor\'s .placement property must be one of "static", "prototype" or "own", but a decorator created an element descriptor with .placement "'+i+'"');var r=t.descriptor;this.disallowProperty(t,"elements","An element descriptor");var n={kind:e,key:o,placement:i,descriptor:Object.assign({},r)};return"field"!==e?this.disallowProperty(t,"initializer","A method descriptor"):(this.disallowProperty(r,"get","The property descriptor of a field descriptor"),this.disallowProperty(r,"set","The property descriptor of a field descriptor"),this.disallowProperty(r,"value","The property descriptor of a field descriptor"),n.initializer=t.initializer),n},toElementFinisherExtras:function(t){return{element:this.toElementDescriptor(t),finisher:he(t,"finisher"),extras:this.toElementDescriptors(t.extras)}},fromClassDescriptor:function(t){var e={kind:"class",elements:t.map(this.fromElementDescriptor,this)};return Object.defineProperty(e,Symbol.toStringTag,{value:"Descriptor",configurable:!0}),e},toClassDescriptor:function(t){var e=String(t.kind);if("class"!==e)throw new TypeError('A class descriptor\'s .kind property must be "class", but a decorator created a class descriptor with .kind "'+e+'"');this.disallowProperty(t,"key","A class descriptor"),this.disallowProperty(t,"placement","A class descriptor"),this.disallowProperty(t,"descriptor","A class descriptor"),this.disallowProperty(t,"initializer","A class descriptor"),this.disallowProperty(t,"extras","A class descriptor");var o=he(t,"finisher");return{elements:this.toElementDescriptors(t.elements),finisher:o}},runClassFinishers:function(t,e){for(var o=0;o<e.length;o++){var i=(0,e[o])(t);if(void 0!==i){if("function"!=typeof i)throw new TypeError("Finishers must return a constructor.");t=i}}return t},disallowProperty:function(t,e,o){if(void 0!==t[e])throw new TypeError(o+" can't have a ."+e+" property.")}};return t}function be(t){var e,o=fe(t.key);"method"===t.kind?e={value:t.value,writable:!0,configurable:!0,enumerable:!1}:"get"===t.kind?e={get:t.value,configurable:!0,enumerable:!1}:"set"===t.kind?e={set:t.value,configurable:!0,enumerable:!1}:"field"===t.kind&&(e={configurable:!0,writable:!0,enumerable:!0});var i={kind:"field"===t.kind?"field":"method",key:o,placement:t.static?"static":"field"===t.kind?"own":"prototype",descriptor:e};return t.decorators&&(i.decorators=t.decorators),"field"===t.kind&&(i.initializer=t.value),i}function xe(t,e){void 0!==t.descriptor.get?e.descriptor.get=t.descriptor.get:e.descriptor.set=t.descriptor.set}function ge(t){return t.decorators&&t.decorators.length}function pe(t){return void 0!==t&&!(void 0===t.value&&void 0===t.writable)}function he(t,e){var o=t[e];if(void 0!==o&&"function"!=typeof o)throw new TypeError("Expected '"+e+"' to be a function");return o}function fe(t){var e=function(t,e){if("object"!=typeof t||null===t)return t;var o=t[Symbol.toPrimitive];if(void 0!==o){var i=o.call(t,e||"default");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==typeof e?e:String(e)}function me(t,e){(null==e||e>t.length)&&(e=t.length);for(var o=0,i=new Array(e);o<e;o++)i[o]=t[o];return i}function _e(){return _e="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(t,e,o){var i=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=ue(t)););return t}(t,e);if(i){var r=Object.getOwnPropertyDescriptor(i,e);return r.get?r.get.call(arguments.length<3?t:o):r.value}},_e.apply(this,arguments)}function ue(t){return ue=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},ue(t)}const{stablePrefix:ve}=g,{prefix:ye}=x;let we=function(t,e,o,i){var r=ce();if(i)for(var n=0;n<i.length;n++)r=i[n](r);var s=e((function(t){r.initializeInstanceElements(t,a.elements)}),o),a=r.decorateClass(function(t){for(var e=[],o=function(t){return"method"===t.kind&&t.key===n.key&&t.placement===n.placement},i=0;i<t.length;i++){var r,n=t[i];if("method"===n.kind&&(r=e.find(o)))if(pe(n.descriptor)||pe(r.descriptor)){if(ge(n)||ge(r))throw new ReferenceError("Duplicated methods ("+n.key+") can't be decorated.");r.descriptor=n.descriptor}else{if(ge(n)){if(ge(r))throw new ReferenceError("Decorators can't be placed on different accessors with for the same property ("+n.key+").");r.decorators=n.decorators}xe(n,r)}else e.push(n)}return e}(s.d.map(be)),t);return r.initializeClassElements(s.F,a.elements),r.runClassFinishers(s.F,a.finishers)}([b(`${ve}-combo-box`)],(function(t,e){class o extends e{constructor(...e){super(...e),t(this)}}return{F:o,d:[{kind:"field",key:"_filterInputValue",value:()=>""},{kind:"field",key:"_shouldTriggerBeFocusable",value:()=>!1},{kind:"field",decorators:[_("#selection-button")],key:"_selectionButtonNode",value:void 0},{kind:"field",decorators:[_("input")],key:"_filterInputNode",value:void 0},{kind:"method",key:"_testItemWithQueryText",value:function(t){return(this.itemMatches||this._defaultItemMatches)(t,this._filterInputNode.value)}},{kind:"method",key:"_defaultItemMatches",value:function(t,e){return t.textContent.toLowerCase().indexOf(e.toLowerCase())>=0}},{kind:"method",key:"_handleInput",value:function(){const t=this.querySelectorAll(this.constructor.selectorItem),e=this._filterInputNode.value?z(t,this._testItemWithQueryText,this):-1;v(t,((t,o)=>{t.highlighted=o===e}));const{_filterInputNode:o}=this;this._filterInputValue=o?o.value:"",this.open=!0,this.requestUpdate()}},{kind:"method",key:"_handleClickInner",value:function(t){var e;null!==(e=this._selectionButtonNode)&&void 0!==e&&e.contains(t.target)?this._handleUserInitiatedClearInput():_e(ue(o.prototype),"_handleClickInner",this).call(this,t)}},{kind:"method",key:"_handleKeypressInner",value:function(t){var e;const{key:i}=t,r=this.constructor.getAction(i),{TRIGGERING:n}=Pt;null===(e=this._selectionButtonNode)||void 0===e||!e.contains(t.target)||r!==n&&" "!==i?_e(ue(o.prototype),"_handleKeypressInner",this).call(this,t):this._handleUserInitiatedClearInput()}},{kind:"method",key:"_handleUserInitiatedClearInput",value:function(){v(this.querySelectorAll(this.constructor.selectorItem),(t=>{t.highlighted=!1})),this._filterInputValue="",this._filterInputNode.focus(),this.open=!1,this.requestUpdate()}},{kind:"method",key:"_handleUserInitiatedSelectItem",value:function(t){t&&!this._selectionShouldChange(t)&&(this._filterInputValue=t.textContent||"",this.open=!1,this.requestUpdate()),_e(ue(o.prototype),"_handleUserInitiatedSelectItem",this).call(this,t)}},{kind:"method",key:"_renderTriggerContent",value:function(){const{disabled:t,triggerContent:e,_filterInputValue:o,_handleInput:i}=this;return l(se||(se=le`<input id="trigger-label" class="${0}--text-input" ?disabled="${0}" placeholder="${0}" .value="${0}" role="combobox" aria-expanded="${0}" aria-labelledby="assistiveStatus" aria-controls="menu-body" aria-autocomplete="list" @input="${0}">`),ye,t,e,o,this.open,i)}},{kind:"method",key:"_renderFollowingTriggerContent",value:function(){const{clearSelectionLabel:t,_filterInputValue:e}=this;return 0===e.length?void 0:l(ae||(ae=le`<div id="selection-button" role="button" class="${0}--list-box__selection" tabindex="0" title="${0}">${0}</div>`),ye,t,Nt({"aria-label":t}))}},{kind:"field",decorators:[d({attribute:"clear-selection-label"})],key:"clearSelectionLabel",value:()=>""},{kind:"field",decorators:[d({attribute:!1})],key:"itemMatches",value:void 0},{kind:"method",key:"shouldUpdate",value:function(t){_e(ue(o.prototype),"shouldUpdate",this).call(this,t);const{_selectedItemContent:e}=this;return e&&t.has("value")&&(this._filterInputValue=(null==e?void 0:e.textContent)||""),!0}},{kind:"method",key:"updated",value:function(t){_e(ue(o.prototype),"updated",this).call(this,t);const{_listBoxNode:e}=this;e&&e.classList.add(`${ye}--combo-box`)}},{kind:"field",static:!0,key:"TRIGGER_KEYS",value:()=>new Set(["Enter"])},{kind:"get",static:!0,key:"selectorItemHighlighted",value:function(){return`${ye}-combo-box-item[highlighted]`}},{kind:"get",static:!0,key:"selectorItem",value:function(){return`${ye}-combo-box-item`}},{kind:"get",static:!0,key:"selectorItemSelected",value:function(){return`${ye}-combo-box-item[selected]`}},{kind:"get",static:!0,key:"eventBeforeToggle",value:function(){return`${ye}-combo-box-beingtoggled`}},{kind:"get",static:!0,key:"eventToggle",value:function(){return`${ye}-combo-box-toggled`}},{kind:"get",static:!0,key:"eventBeforeSelect",value:function(){return`${ye}-combo-box-beingselected`}},{kind:"get",static:!0,key:"eventSelect",value:function(){return`${ye}-combo-box-selected`}}]}}),de);
|
|
97
97
|
/**
|
|
98
98
|
* @license
|
|
99
99
|
*
|
|
@@ -75,7 +75,7 @@
|
|
|
75
75
|
* https://www.npmjs.com/package/axios
|
|
76
76
|
*/
|
|
77
77
|
|
|
78
|
-
import{f as e,g as t,F as r,L as i,p as n,a as o,h as s,as as a,d as l,s as c,e as d}from"./masthead-composite-
|
|
78
|
+
import{f as e,g as t,F as r,L as i,p as n,a as o,h as s,as as a,d as l,s as c,e as d}from"./masthead-composite-087cb79b.js";
|
|
79
79
|
/**
|
|
80
80
|
* @license
|
|
81
81
|
*
|
|
@@ -83,4 +83,4 @@ import{f as e,g as t,F as r,L as i,p as n,a as o,h as s,as as a,d as l,s as c,e
|
|
|
83
83
|
*
|
|
84
84
|
* This source code is licensed under the Apache-2.0 license found in the
|
|
85
85
|
* LICENSE file in the root directory of this source tree.
|
|
86
|
-
*/let p,f=e=>e;function u(){u=function(){return e};var e={elementsDefinitionOrder:[["method"],["field"]],initializeInstanceElements:function(e,t){["method","field"].forEach((function(r){t.forEach((function(t){t.kind===r&&"own"===t.placement&&this.defineClassElement(e,t)}),this)}),this)},initializeClassElements:function(e,t){var r=e.prototype;["method","field"].forEach((function(i){t.forEach((function(t){var n=t.placement;if(t.kind===i&&("static"===n||"prototype"===n)){var o="static"===n?e:r;this.defineClassElement(o,t)}}),this)}),this)},defineClassElement:function(e,t){var r=t.descriptor;if("field"===t.kind){var i=t.initializer;r={enumerable:r.enumerable,writable:r.writable,configurable:r.configurable,value:void 0===i?void 0:i.call(e)}}Object.defineProperty(e,t.key,r)},decorateClass:function(e,t){var r=[],i=[],n={static:[],prototype:[],own:[]};if(e.forEach((function(e){this.addElementPlacement(e,n)}),this),e.forEach((function(e){if(!v(e))return r.push(e);var t=this.decorateElement(e,n);r.push(t.element),r.push.apply(r,t.extras),i.push.apply(i,t.finishers)}),this),!t)return{elements:r,finishers:i};var o=this.decorateConstructor(r,t);return i.push.apply(i,o.finishers),o.finishers=i,o},addElementPlacement:function(e,t,r){var i=t[e.placement];if(!r&&-1!==i.indexOf(e.key))throw new TypeError("Duplicated element ("+e.key+")");i.push(e.key)},decorateElement:function(e,t){for(var r=[],i=[],n=e.decorators,o=n.length-1;o>=0;o--){var s=t[e.placement];s.splice(s.indexOf(e.key),1);var a=this.fromElementDescriptor(e),l=this.toElementFinisherExtras((0,n[o])(a)||a);e=l.element,this.addElementPlacement(e,t),l.finisher&&i.push(l.finisher);var c=l.extras;if(c){for(var d=0;d<c.length;d++)this.addElementPlacement(c[d],t);r.push.apply(r,c)}}return{element:e,finishers:i,extras:r}},decorateConstructor:function(e,t){for(var r=[],i=t.length-1;i>=0;i--){var n=this.fromClassDescriptor(e),o=this.toClassDescriptor((0,t[i])(n)||n);if(void 0!==o.finisher&&r.push(o.finisher),void 0!==o.elements){e=o.elements;for(var s=0;s<e.length-1;s++)for(var a=s+1;a<e.length;a++)if(e[s].key===e[a].key&&e[s].placement===e[a].placement)throw new TypeError("Duplicated element ("+e[s].key+")")}}return{elements:e,finishers:r}},fromElementDescriptor:function(e){var t={kind:e.kind,key:e.key,placement:e.placement,descriptor:e.descriptor};return Object.defineProperty(t,Symbol.toStringTag,{value:"Descriptor",configurable:!0}),"field"===e.kind&&(t.initializer=e.initializer),t},toElementDescriptors:function(e){var t;if(void 0!==e)return(t=e,function(e){if(Array.isArray(e))return e}(t)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(t)||function(e,t){if(e){if("string"==typeof e)return k(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?k(e,t):void 0}}(t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()).map((function(e){var t=this.toElementDescriptor(e);return this.disallowProperty(e,"finisher","An element descriptor"),this.disallowProperty(e,"extras","An element descriptor"),t}),this)},toElementDescriptor:function(e){var t=String(e.kind);if("method"!==t&&"field"!==t)throw new TypeError('An element descriptor\'s .kind property must be either "method" or "field", but a decorator created an element descriptor with .kind "'+t+'"');var r=g(e.key),i=String(e.placement);if("static"!==i&&"prototype"!==i&&"own"!==i)throw new TypeError('An element descriptor\'s .placement property must be one of "static", "prototype" or "own", but a decorator created an element descriptor with .placement "'+i+'"');var n=e.descriptor;this.disallowProperty(e,"elements","An element descriptor");var o={kind:t,key:r,placement:i,descriptor:Object.assign({},n)};return"field"!==t?this.disallowProperty(e,"initializer","A method descriptor"):(this.disallowProperty(n,"get","The property descriptor of a field descriptor"),this.disallowProperty(n,"set","The property descriptor of a field descriptor"),this.disallowProperty(n,"value","The property descriptor of a field descriptor"),o.initializer=e.initializer),o},toElementFinisherExtras:function(e){return{element:this.toElementDescriptor(e),finisher:b(e,"finisher"),extras:this.toElementDescriptors(e.extras)}},fromClassDescriptor:function(e){var t={kind:"class",elements:e.map(this.fromElementDescriptor,this)};return Object.defineProperty(t,Symbol.toStringTag,{value:"Descriptor",configurable:!0}),t},toClassDescriptor:function(e){var t=String(e.kind);if("class"!==t)throw new TypeError('A class descriptor\'s .kind property must be "class", but a decorator created a class descriptor with .kind "'+t+'"');this.disallowProperty(e,"key","A class descriptor"),this.disallowProperty(e,"placement","A class descriptor"),this.disallowProperty(e,"descriptor","A class descriptor"),this.disallowProperty(e,"initializer","A class descriptor"),this.disallowProperty(e,"extras","A class descriptor");var r=b(e,"finisher");return{elements:this.toElementDescriptors(e.elements),finisher:r}},runClassFinishers:function(e,t){for(var r=0;r<t.length;r++){var i=(0,t[r])(e);if(void 0!==i){if("function"!=typeof i)throw new TypeError("Finishers must return a constructor.");e=i}}return e},disallowProperty:function(e,t,r){if(void 0!==e[t])throw new TypeError(r+" can't have a ."+t+" property.")}};return e}function h(e){var t,r=g(e.key);"method"===e.kind?t={value:e.value,writable:!0,configurable:!0,enumerable:!1}:"get"===e.kind?t={get:e.value,configurable:!0,enumerable:!1}:"set"===e.kind?t={set:e.value,configurable:!0,enumerable:!1}:"field"===e.kind&&(t={configurable:!0,writable:!0,enumerable:!0});var i={kind:"field"===e.kind?"field":"method",key:r,placement:e.static?"static":"field"===e.kind?"own":"prototype",descriptor:t};return e.decorators&&(i.decorators=e.decorators),"field"===e.kind&&(i.initializer=e.value),i}function m(e,t){void 0!==e.descriptor.get?t.descriptor.get=e.descriptor.get:t.descriptor.set=e.descriptor.set}function v(e){return e.decorators&&e.decorators.length}function y(e){return void 0!==e&&!(void 0===e.value&&void 0===e.writable)}function b(e,t){var r=e[t];if(void 0!==r&&"function"!=typeof r)throw new TypeError("Expected '"+t+"' to be a function");return r}function g(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var i=r.call(e,t||"default");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}function k(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,i=new Array(t);r<t;r++)i[r]=e[r];return i}function w(){return w="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,r){var i=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=E(e)););return e}(e,t);if(i){var n=Object.getOwnPropertyDescriptor(i,t);return n.get?n.get.call(arguments.length<3?e:r):n.value}},w.apply(this,arguments)}function E(e){return E=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},E(e)}const{prefix:x}=c,{stablePrefix:P}=d;let _=function(e,t,r,i){var n=u();if(i)for(var o=0;o<i.length;o++)n=i[o](n);var s=t((function(e){n.initializeInstanceElements(e,a.elements)}),r),a=n.decorateClass(function(e){for(var t=[],r=function(e){return"method"===e.kind&&e.key===o.key&&e.placement===o.placement},i=0;i<e.length;i++){var n,o=e[i];if("method"===o.kind&&(n=t.find(r)))if(y(o.descriptor)||y(n.descriptor)){if(v(o)||v(n))throw new ReferenceError("Duplicated methods ("+o.key+") can't be decorated.");n.descriptor=o.descriptor}else{if(v(o)){if(v(n))throw new ReferenceError("Decorators can't be placed on different accessors with for the same property ("+o.key+").");n.decorators=o.decorators}m(o,n)}else t.push(o)}return t}(s.d.map(h)),e);return n.initializeClassElements(s.F,a.elements),n.runClassFinishers(s.F,a.finishers)}([l(`${P}-left-nav-menu`)],(function(r,i){class l extends i{constructor(...e){super(...e),r(this)}}return{F:l,d:[{kind:"method",key:"_handleUserInitiatedToggle",value:function(e=!this.expanded,t=this.panelId){const{eventBeforeToggle:r,eventToggle:i}=this.constructor,n={bubbles:!0,cancelable:!0,composed:!0,detail:{expanded:e,panelId:t}};this.dispatchEvent(new CustomEvent(r,n))&&(this.expanded=e,this.dispatchEvent(new CustomEvent(i,n)))}},{kind:"method",key:"_handleClickExpando",value:function(){this._handleUserInitiatedToggle()}},{kind:"field",decorators:[n({type:Boolean,reflect:!0})],key:"active",value:()=>!1},{kind:"field",decorators:[n({type:Boolean,reflect:!0})],key:"expanded",value:()=>!1},{kind:"field",decorators:[n({type:String,attribute:"panel-id"})],key:"panelId",value:()=>""},{kind:"field",decorators:[n()],key:"title",value:()=>""},{kind:"method",key:"connectedCallback",value:function(){w(E(l.prototype),"connectedCallback",this).call(this),document.dir&&(this.dir=document.dir)}},{kind:"method",key:"render",value:function(){const{active:r,expanded:i,title:n,_handleClickExpando:a}=this,l=o({[`${x}--side-nav__submenu`]:!0,[`${x}--masthead__side-nav--submemu--selected`]:r});return s(p||(p=f`<div class="${0}--side-nav__item"><button type="button" aria-haspopup="true" tabindex="-1" aria-expanded="${0}" class="${0}" @click="${0}"><div class="${0}--side-nav__submenu-content"><span class="${0}--side-nav__submenu-title">${0}</span><div class="${0}--side-nav__icon ${0}--side-nav__icon--small ${0}--side-nav__submenu-chevron">${0}</div></div></button></div>`),x,String(Boolean(i)),l,a,x,x,n,x,x,x,(({children:r,...i}={})=>e`<svg focusable="false" preserveAspectRatio="xMidYMid meet" xmlns="http://www.w3.org/2000/svg" fill="currentColor" ...="${t(i)}" aria-hidden="true" width="20" height="20" viewBox="0 0 32 32">${r}${r}${r}<path d="M16 22L6 12 7.4 10.6 16 19.2 24.6 10.6 26 12z"></path></svg>`)())}},{kind:"get",static:!0,key:"eventBeforeToggle",value:function(){return`${P}-left-nav-menu-beingtoggled`}},{kind:"get",static:!0,key:"eventToggle",value:function(){return`${P}-left-nav-menu-toggled`}},{kind:"field",static:!0,key:"styles",value:()=>a}]}}),r(i));export{_ as default};
|
|
86
|
+
*/let p,u=e=>e;function f(){f=function(){return e};var e={elementsDefinitionOrder:[["method"],["field"]],initializeInstanceElements:function(e,t){["method","field"].forEach((function(r){t.forEach((function(t){t.kind===r&&"own"===t.placement&&this.defineClassElement(e,t)}),this)}),this)},initializeClassElements:function(e,t){var r=e.prototype;["method","field"].forEach((function(i){t.forEach((function(t){var n=t.placement;if(t.kind===i&&("static"===n||"prototype"===n)){var o="static"===n?e:r;this.defineClassElement(o,t)}}),this)}),this)},defineClassElement:function(e,t){var r=t.descriptor;if("field"===t.kind){var i=t.initializer;r={enumerable:r.enumerable,writable:r.writable,configurable:r.configurable,value:void 0===i?void 0:i.call(e)}}Object.defineProperty(e,t.key,r)},decorateClass:function(e,t){var r=[],i=[],n={static:[],prototype:[],own:[]};if(e.forEach((function(e){this.addElementPlacement(e,n)}),this),e.forEach((function(e){if(!v(e))return r.push(e);var t=this.decorateElement(e,n);r.push(t.element),r.push.apply(r,t.extras),i.push.apply(i,t.finishers)}),this),!t)return{elements:r,finishers:i};var o=this.decorateConstructor(r,t);return i.push.apply(i,o.finishers),o.finishers=i,o},addElementPlacement:function(e,t,r){var i=t[e.placement];if(!r&&-1!==i.indexOf(e.key))throw new TypeError("Duplicated element ("+e.key+")");i.push(e.key)},decorateElement:function(e,t){for(var r=[],i=[],n=e.decorators,o=n.length-1;o>=0;o--){var s=t[e.placement];s.splice(s.indexOf(e.key),1);var a=this.fromElementDescriptor(e),l=this.toElementFinisherExtras((0,n[o])(a)||a);e=l.element,this.addElementPlacement(e,t),l.finisher&&i.push(l.finisher);var c=l.extras;if(c){for(var d=0;d<c.length;d++)this.addElementPlacement(c[d],t);r.push.apply(r,c)}}return{element:e,finishers:i,extras:r}},decorateConstructor:function(e,t){for(var r=[],i=t.length-1;i>=0;i--){var n=this.fromClassDescriptor(e),o=this.toClassDescriptor((0,t[i])(n)||n);if(void 0!==o.finisher&&r.push(o.finisher),void 0!==o.elements){e=o.elements;for(var s=0;s<e.length-1;s++)for(var a=s+1;a<e.length;a++)if(e[s].key===e[a].key&&e[s].placement===e[a].placement)throw new TypeError("Duplicated element ("+e[s].key+")")}}return{elements:e,finishers:r}},fromElementDescriptor:function(e){var t={kind:e.kind,key:e.key,placement:e.placement,descriptor:e.descriptor};return Object.defineProperty(t,Symbol.toStringTag,{value:"Descriptor",configurable:!0}),"field"===e.kind&&(t.initializer=e.initializer),t},toElementDescriptors:function(e){var t;if(void 0!==e)return(t=e,function(e){if(Array.isArray(e))return e}(t)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(t)||function(e,t){if(e){if("string"==typeof e)return k(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?k(e,t):void 0}}(t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()).map((function(e){var t=this.toElementDescriptor(e);return this.disallowProperty(e,"finisher","An element descriptor"),this.disallowProperty(e,"extras","An element descriptor"),t}),this)},toElementDescriptor:function(e){var t=String(e.kind);if("method"!==t&&"field"!==t)throw new TypeError('An element descriptor\'s .kind property must be either "method" or "field", but a decorator created an element descriptor with .kind "'+t+'"');var r=g(e.key),i=String(e.placement);if("static"!==i&&"prototype"!==i&&"own"!==i)throw new TypeError('An element descriptor\'s .placement property must be one of "static", "prototype" or "own", but a decorator created an element descriptor with .placement "'+i+'"');var n=e.descriptor;this.disallowProperty(e,"elements","An element descriptor");var o={kind:t,key:r,placement:i,descriptor:Object.assign({},n)};return"field"!==t?this.disallowProperty(e,"initializer","A method descriptor"):(this.disallowProperty(n,"get","The property descriptor of a field descriptor"),this.disallowProperty(n,"set","The property descriptor of a field descriptor"),this.disallowProperty(n,"value","The property descriptor of a field descriptor"),o.initializer=e.initializer),o},toElementFinisherExtras:function(e){return{element:this.toElementDescriptor(e),finisher:b(e,"finisher"),extras:this.toElementDescriptors(e.extras)}},fromClassDescriptor:function(e){var t={kind:"class",elements:e.map(this.fromElementDescriptor,this)};return Object.defineProperty(t,Symbol.toStringTag,{value:"Descriptor",configurable:!0}),t},toClassDescriptor:function(e){var t=String(e.kind);if("class"!==t)throw new TypeError('A class descriptor\'s .kind property must be "class", but a decorator created a class descriptor with .kind "'+t+'"');this.disallowProperty(e,"key","A class descriptor"),this.disallowProperty(e,"placement","A class descriptor"),this.disallowProperty(e,"descriptor","A class descriptor"),this.disallowProperty(e,"initializer","A class descriptor"),this.disallowProperty(e,"extras","A class descriptor");var r=b(e,"finisher");return{elements:this.toElementDescriptors(e.elements),finisher:r}},runClassFinishers:function(e,t){for(var r=0;r<t.length;r++){var i=(0,t[r])(e);if(void 0!==i){if("function"!=typeof i)throw new TypeError("Finishers must return a constructor.");e=i}}return e},disallowProperty:function(e,t,r){if(void 0!==e[t])throw new TypeError(r+" can't have a ."+t+" property.")}};return e}function h(e){var t,r=g(e.key);"method"===e.kind?t={value:e.value,writable:!0,configurable:!0,enumerable:!1}:"get"===e.kind?t={get:e.value,configurable:!0,enumerable:!1}:"set"===e.kind?t={set:e.value,configurable:!0,enumerable:!1}:"field"===e.kind&&(t={configurable:!0,writable:!0,enumerable:!0});var i={kind:"field"===e.kind?"field":"method",key:r,placement:e.static?"static":"field"===e.kind?"own":"prototype",descriptor:t};return e.decorators&&(i.decorators=e.decorators),"field"===e.kind&&(i.initializer=e.value),i}function m(e,t){void 0!==e.descriptor.get?t.descriptor.get=e.descriptor.get:t.descriptor.set=e.descriptor.set}function v(e){return e.decorators&&e.decorators.length}function y(e){return void 0!==e&&!(void 0===e.value&&void 0===e.writable)}function b(e,t){var r=e[t];if(void 0!==r&&"function"!=typeof r)throw new TypeError("Expected '"+t+"' to be a function");return r}function g(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var i=r.call(e,t||"default");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}function k(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,i=new Array(t);r<t;r++)i[r]=e[r];return i}function w(){return w="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,r){var i=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=E(e)););return e}(e,t);if(i){var n=Object.getOwnPropertyDescriptor(i,t);return n.get?n.get.call(arguments.length<3?e:r):n.value}},w.apply(this,arguments)}function E(e){return E=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},E(e)}const{prefix:x}=c,{stablePrefix:P}=d;let _=function(e,t,r,i){var n=f();if(i)for(var o=0;o<i.length;o++)n=i[o](n);var s=t((function(e){n.initializeInstanceElements(e,a.elements)}),r),a=n.decorateClass(function(e){for(var t=[],r=function(e){return"method"===e.kind&&e.key===o.key&&e.placement===o.placement},i=0;i<e.length;i++){var n,o=e[i];if("method"===o.kind&&(n=t.find(r)))if(y(o.descriptor)||y(n.descriptor)){if(v(o)||v(n))throw new ReferenceError("Duplicated methods ("+o.key+") can't be decorated.");n.descriptor=o.descriptor}else{if(v(o)){if(v(n))throw new ReferenceError("Decorators can't be placed on different accessors with for the same property ("+o.key+").");n.decorators=o.decorators}m(o,n)}else t.push(o)}return t}(s.d.map(h)),e);return n.initializeClassElements(s.F,a.elements),n.runClassFinishers(s.F,a.finishers)}([l(`${P}-left-nav-menu`)],(function(r,i){class l extends i{constructor(...e){super(...e),r(this)}}return{F:l,d:[{kind:"method",key:"_handleUserInitiatedToggle",value:function(e=!this.expanded,t=this.panelId){const{eventBeforeToggle:r,eventToggle:i}=this.constructor,n={bubbles:!0,cancelable:!0,composed:!0,detail:{expanded:e,panelId:t}};this.dispatchEvent(new CustomEvent(r,n))&&(this.expanded=e,this.dispatchEvent(new CustomEvent(i,n)))}},{kind:"method",key:"_handleClickExpando",value:function(){this._handleUserInitiatedToggle()}},{kind:"field",decorators:[n({type:Boolean,reflect:!0})],key:"active",value:()=>!1},{kind:"field",decorators:[n({type:Boolean,reflect:!0})],key:"expanded",value:()=>!1},{kind:"field",decorators:[n({type:String,attribute:"panel-id"})],key:"panelId",value:()=>""},{kind:"field",decorators:[n()],key:"title",value:()=>""},{kind:"method",key:"connectedCallback",value:function(){w(E(l.prototype),"connectedCallback",this).call(this),document.dir&&(this.dir=document.dir)}},{kind:"method",key:"render",value:function(){const{active:r,expanded:i,title:n,_handleClickExpando:a}=this,l=o({[`${x}--side-nav__submenu`]:!0,[`${x}--masthead__side-nav--submemu--selected`]:r});return s(p||(p=u`<div class="${0}--side-nav__item"><button type="button" aria-haspopup="true" tabindex="-1" aria-expanded="${0}" class="${0}" @click="${0}"><div class="${0}--side-nav__submenu-content"><span class="${0}--side-nav__submenu-title">${0}</span><div class="${0}--side-nav__icon ${0}--side-nav__icon--small ${0}--side-nav__submenu-chevron">${0}</div></div></button></div>`),x,String(Boolean(i)),l,a,x,x,n,x,x,x,(({children:r,...i}={})=>e`<svg focusable="false" preserveAspectRatio="xMidYMid meet" xmlns="http://www.w3.org/2000/svg" fill="currentColor" ...="${t(i)}" aria-hidden="true" width="20" height="20" viewBox="0 0 32 32">${r}${r}${r}<path d="M16 22L6 12 7.4 10.6 16 19.2 24.6 10.6 26 12z"></path></svg>`)())}},{kind:"get",static:!0,key:"eventBeforeToggle",value:function(){return`${P}-left-nav-menu-beingtoggled`}},{kind:"get",static:!0,key:"eventToggle",value:function(){return`${P}-left-nav-menu-toggled`}},{kind:"field",static:!0,key:"styles",value:()=>a}]}}),r(i));export{_ as default};
|
|
@@ -76,7 +76,7 @@
|
|
|
76
76
|
*/
|
|
77
77
|
|
|
78
78
|
let process = { env: {} };
|
|
79
|
-
import { f as svg, g as spread, F as FocusMixin, L as LitElement, p as property, a as classMap, h as html, as as styles, d as carbonElement, s as settings_1, e as settings } from './masthead-composite-
|
|
79
|
+
import { f as svg, g as spread, F as FocusMixin, L as LitElement, p as property, a as classMap, h as html, as as styles, d as carbonElement, s as settings_1, e as settings } from './masthead-composite-99a5904b.js';
|
|
80
80
|
|
|
81
81
|
/**
|
|
82
82
|
* @license
|