@carbon/ibmdotcom-web-components 1.30.0-rc.1 → 1.30.0-rc.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (115) hide show
  1. package/dist/{20-662b8754.js → 20-125a576a.js} +2 -2
  2. package/dist/{20-b32aa986.js → 20-236ae3e2.js} +2 -2
  3. package/dist/{20-c604da8b.js → 20-2b2fb75a.js} +2 -2
  4. package/dist/{20-cab75bb7.js → 20-596faedc.js} +2 -2
  5. package/dist/cloud-masthead.js +3 -3
  6. package/dist/cloud-masthead.min.js +2 -2
  7. package/dist/cloud-masthead.rtl.js +3 -3
  8. package/dist/cloud-masthead.rtl.min.js +2 -2
  9. package/dist/dotcom-shell.js +3 -3
  10. package/dist/dotcom-shell.min.js +2 -2
  11. package/dist/dotcom-shell.rtl.js +3 -3
  12. package/dist/dotcom-shell.rtl.min.js +2 -2
  13. package/dist/ibmdotcom-web-components-dotcom-shell.js +6 -6
  14. package/dist/ibmdotcom-web-components-dotcom-shell.min.js +4 -4
  15. package/dist/ibmdotcom-web-components-dotcom-shell.rtl.js +6 -6
  16. package/dist/ibmdotcom-web-components-dotcom-shell.rtl.min.js +4 -4
  17. package/dist/{left-nav-menu-6e8767f2.js → left-nav-menu-7096c85c.js} +2 -2
  18. package/dist/{left-nav-menu-716b9ce4.js → left-nav-menu-784c3d74.js} +2 -2
  19. package/dist/{left-nav-menu-fb0fed85.js → left-nav-menu-a2c7f99b.js} +2 -2
  20. package/dist/{left-nav-menu-category-heading-5e9c96ad.js → left-nav-menu-category-heading-0a3cfafe.js} +2 -2
  21. package/dist/{left-nav-menu-category-heading-57cc7d49.js → left-nav-menu-category-heading-2a3afa35.js} +2 -2
  22. package/dist/{left-nav-menu-category-heading-a50d38fa.js → left-nav-menu-category-heading-6371f982.js} +2 -2
  23. package/dist/{left-nav-menu-category-heading-c2057b7f.js → left-nav-menu-category-heading-f1d8c828.js} +2 -2
  24. package/dist/{left-nav-menu-9de53ecd.js → left-nav-menu-d7f9288c.js} +2 -2
  25. package/dist/{left-nav-menu-item-2d95f88d.js → left-nav-menu-item-7fa56247.js} +2 -2
  26. package/dist/{left-nav-menu-item-d37c827c.js → left-nav-menu-item-d140c9b1.js} +2 -2
  27. package/dist/{left-nav-menu-item-083b93a6.js → left-nav-menu-item-edd42473.js} +2 -2
  28. package/dist/{left-nav-menu-item-a66d0618.js → left-nav-menu-item-f4d9a67f.js} +2 -2
  29. package/dist/{left-nav-menu-section-078cb6eb.js → left-nav-menu-section-273e35a8.js} +2 -2
  30. package/dist/{left-nav-menu-section-c1df2d37.js → left-nav-menu-section-76006deb.js} +2 -2
  31. package/dist/{left-nav-menu-section-6df10d4a.js → left-nav-menu-section-be82102a.js} +3 -3
  32. package/dist/{left-nav-menu-section-f22a1391.js → left-nav-menu-section-c2417151.js} +3 -3
  33. package/dist/{left-nav-overlay-265b43b7.js → left-nav-overlay-4a3eb4e0.js} +2 -2
  34. package/dist/{left-nav-overlay-c2fa910f.js → left-nav-overlay-5a33ce68.js} +2 -2
  35. package/dist/{left-nav-overlay-e511409e.js → left-nav-overlay-82cb6ce8.js} +2 -2
  36. package/dist/{left-nav-overlay-e73c0bf0.js → left-nav-overlay-c5cb2ed0.js} +2 -2
  37. package/dist/{masthead-composite-26a09bb8.js → masthead-composite-50f80a8a.js} +49 -49
  38. package/dist/{masthead-composite-f7d40e88.js → masthead-composite-561738ec.js} +49 -49
  39. package/dist/{masthead-composite-4e5cdcd8.js → masthead-composite-7599b0a3.js} +36 -39
  40. package/dist/{masthead-composite-0538403e.js → masthead-composite-e1c614a9.js} +36 -39
  41. package/dist/{megamenu-category-group-0117f524.js → megamenu-category-group-346c22e9.js} +2 -2
  42. package/dist/{megamenu-category-group-8cbc1051.js → megamenu-category-group-39712cfd.js} +2 -2
  43. package/dist/{megamenu-category-group-a0cfd8fe.js → megamenu-category-group-6b0ae6ef.js} +2 -2
  44. package/dist/{megamenu-category-group-c0c1c41e.js → megamenu-category-group-9fedfc24.js} +2 -2
  45. package/dist/{megamenu-category-group-copy-e8ddf70b.js → megamenu-category-group-copy-4157a0f5.js} +2 -2
  46. package/dist/{megamenu-category-group-copy-3bb1ea54.js → megamenu-category-group-copy-83207094.js} +2 -2
  47. package/dist/{megamenu-category-group-copy-ff07ff2e.js → megamenu-category-group-copy-ad6d74ac.js} +2 -2
  48. package/dist/{megamenu-category-group-copy-46dbdcb2.js → megamenu-category-group-copy-d2c18df6.js} +2 -2
  49. package/dist/{megamenu-category-link-a418721f.js → megamenu-category-link-0720460e.js} +2 -2
  50. package/dist/{megamenu-category-link-85765223.js → megamenu-category-link-3488c10f.js} +2 -2
  51. package/dist/{megamenu-category-link-e5f8bcd1.js → megamenu-category-link-4840c840.js} +2 -2
  52. package/dist/{megamenu-category-link-d3b226a3.js → megamenu-category-link-cbdb22d1.js} +2 -2
  53. package/dist/{megamenu-left-navigation-b77b6eb8.js → megamenu-left-navigation-04e307bb.js} +2 -2
  54. package/dist/{megamenu-left-navigation-4b835581.js → megamenu-left-navigation-5a6dbd54.js} +2 -2
  55. package/dist/{megamenu-left-navigation-f5a56304.js → megamenu-left-navigation-88dd6ac0.js} +2 -2
  56. package/dist/{megamenu-left-navigation-a5fb6509.js → megamenu-left-navigation-ad96bb38.js} +2 -2
  57. package/dist/{megamenu-overlay-4bf9a54b.js → megamenu-overlay-0a895588.js} +2 -2
  58. package/dist/{megamenu-overlay-1d0472c6.js → megamenu-overlay-2d275b58.js} +2 -2
  59. package/dist/{megamenu-overlay-cc7a135d.js → megamenu-overlay-4b7ed16c.js} +2 -2
  60. package/dist/{megamenu-overlay-8153ac8e.js → megamenu-overlay-684dd3c8.js} +2 -2
  61. package/es/components/expressive-modal/expressive-modal.css.js +1 -1
  62. package/es/components/expressive-modal/expressive-modal.rtl.css.js +1 -1
  63. package/es/components/filter-panel/filter-panel.css.js +1 -1
  64. package/es/components/filter-panel/filter-panel.rtl.css.js +1 -1
  65. package/es/components/leaving-ibm/leaving-ibm.css.js +1 -1
  66. package/es/components/leaving-ibm/leaving-ibm.rtl.css.js +1 -1
  67. package/es/components/lightbox-media-viewer/lightbox-media-viewer.css.js +1 -1
  68. package/es/components/lightbox-media-viewer/lightbox-media-viewer.rtl.css.js +1 -1
  69. package/es/components/locale-modal/locale-modal.css.js +1 -1
  70. package/es/components/locale-modal/locale-modal.rtl.css.js +1 -1
  71. package/es/components/notice-choice/cc-lc-map.d.ts +58 -0
  72. package/es/components/notice-choice/cc-lc-map.d.ts.map +1 -0
  73. package/es/components/notice-choice/cc-lc-map.js +64 -0
  74. package/es/components/notice-choice/cc-lc-map.js.map +1 -0
  75. package/es/components/notice-choice/country-settings.d.ts +1019 -0
  76. package/es/components/notice-choice/country-settings.d.ts.map +1 -0
  77. package/es/components/notice-choice/country-settings.js +1025 -0
  78. package/es/components/notice-choice/country-settings.js.map +1 -0
  79. package/es/components/notice-choice/notice-choice.d.ts +3 -3
  80. package/es/components/notice-choice/world-wide-content.d.ts +48 -0
  81. package/es/components/notice-choice/world-wide-content.d.ts.map +1 -0
  82. package/es/components/notice-choice/world-wide-content.js +75 -0
  83. package/es/components/notice-choice/world-wide-content.js.map +1 -0
  84. package/es/components/pricing-table/pricing-table.d.ts.map +1 -1
  85. package/es/components/pricing-table/pricing-table.js +1 -1
  86. package/es/components/pricing-table/pricing-table.js.map +1 -1
  87. package/es/internal/vendor/@carbon/ibmdotcom-services/services/KalturaPlayer/index.js +2 -2
  88. package/es/internal/vendor/@carbon/ibmdotcom-services-store/types/cloudAccountAuthAPI.js +6 -6
  89. package/es/internal/vendor/@carbon/ibmdotcom-services-store/types/cloudAccountAuthAPI.js.map +1 -1
  90. package/es/internal/vendor/@carbon/ibmdotcom-services-store/types/kalturaPlayerAPI.js +6 -6
  91. package/es/internal/vendor/@carbon/ibmdotcom-services-store/types/kalturaPlayerAPI.js.map +1 -1
  92. package/es/internal/vendor/@carbon/ibmdotcom-services-store/types/localeAPI.js +7 -7
  93. package/es/internal/vendor/@carbon/ibmdotcom-services-store/types/localeAPI.js.map +1 -1
  94. package/es/internal/vendor/@carbon/ibmdotcom-services-store/types/profileAPI.js +6 -6
  95. package/es/internal/vendor/@carbon/ibmdotcom-services-store/types/profileAPI.js.map +1 -1
  96. package/es/internal/vendor/@carbon/ibmdotcom-services-store/types/searchAPI.js +7 -7
  97. package/es/internal/vendor/@carbon/ibmdotcom-services-store/types/searchAPI.js.map +1 -1
  98. package/es/internal/vendor/@carbon/ibmdotcom-services-store/types/translateAPI.js +6 -6
  99. package/es/internal/vendor/@carbon/ibmdotcom-services-store/types/translateAPI.js.map +1 -1
  100. package/es/internal/vendor/@carbon/web-components/components/modal/modal.css.js +1 -1
  101. package/es/internal/vendor/@carbon/web-components/components/modal/modal.rtl.css.js +1 -1
  102. package/lib/internal/vendor/@carbon/ibmdotcom-services/services/KalturaPlayer/index.js +1 -1
  103. package/lib/internal/vendor/@carbon/ibmdotcom-services-store/types/cloudAccountAuthAPI.js +6 -6
  104. package/lib/internal/vendor/@carbon/ibmdotcom-services-store/types/cloudAccountAuthAPI.js.map +1 -1
  105. package/lib/internal/vendor/@carbon/ibmdotcom-services-store/types/kalturaPlayerAPI.js +6 -6
  106. package/lib/internal/vendor/@carbon/ibmdotcom-services-store/types/kalturaPlayerAPI.js.map +1 -1
  107. package/lib/internal/vendor/@carbon/ibmdotcom-services-store/types/localeAPI.js +7 -7
  108. package/lib/internal/vendor/@carbon/ibmdotcom-services-store/types/localeAPI.js.map +1 -1
  109. package/lib/internal/vendor/@carbon/ibmdotcom-services-store/types/profileAPI.js +6 -6
  110. package/lib/internal/vendor/@carbon/ibmdotcom-services-store/types/profileAPI.js.map +1 -1
  111. package/lib/internal/vendor/@carbon/ibmdotcom-services-store/types/searchAPI.js +7 -7
  112. package/lib/internal/vendor/@carbon/ibmdotcom-services-store/types/searchAPI.js.map +1 -1
  113. package/lib/internal/vendor/@carbon/ibmdotcom-services-store/types/translateAPI.js +6 -6
  114. package/lib/internal/vendor/@carbon/ibmdotcom-services-store/types/translateAPI.js.map +1 -1
  115. package/package.json +21 -23
@@ -62,9 +62,9 @@
62
62
  *
63
63
  * https://www.npmjs.com/package/redux
64
64
  * https://www.npmjs.com/package/lodash-es
65
- * https://www.npmjs.com/package/redux-logger
66
65
  * https://www.npmjs.com/package/window-or-global
67
66
  * https://www.npmjs.com/package/redux-thunk
67
+ * https://www.npmjs.com/package/redux-logger
68
68
  * https://www.npmjs.com/package/axios
69
69
  */
70
70
 
@@ -247,7 +247,7 @@ found at http://polymer.github.io/PATENTS.txt
247
247
  *
248
248
  * This source code is licensed under the Apache-2.0 license found in the
249
249
  * LICENSE file in the root directory of this source tree.
250
- */(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}const me=(e,t,i=(()=>({})))=>o=>class extends o{_handleChangeStoreState(e){const i=t(e);Object.keys(i).forEach((e=>{const t=this[e],o=i[e];Object.is(t,o)||(this[e]=o,this.requestUpdate(e,t))}))}constructor(...t){super(...t),ge(this,"_hStore",null),Object.assign(this,i(e.dispatch))}connectedCallback(){super.connectedCallback(),this._handleChangeStoreState(e.getState());const t=e.subscribe((()=>this._handleChangeStoreState(e.getState())));this._hStore={release:()=>(t(),null)}}disconnectedCallback(){this._hStore&&(this._hStore=this._hStore.release()),super.disconnectedCallback()}};var ve="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function _e(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var ye="object"==typeof self&&self.self===self&&self||"object"==typeof ve&&ve.global===ve&&ve||ve;function we(e){return we="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},we(e)}function ke(e){var t=function(e,t){if("object"!==we(e)||null===e)return e;var i=e[Symbol.toPrimitive];if(void 0!==i){var o=i.call(e,t||"default");if("object"!==we(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===we(t)?t:String(t)}function Ee(e,t,i){return(t=ke(t))in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}function Se(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),i.push.apply(i,o)}return i}function ze(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{};t%2?Se(Object(i),!0).forEach((function(t){Ee(e,t,i[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):Se(Object(i)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))}))}return e}function Te(e){return"Minified Redux error #"+e+"; visit https://redux.js.org/Errors?code="+e+" for the full message or use the non-minified dev environment for full errors. "}var Ae="function"==typeof Symbol&&Symbol.observable||"@@observable",Pe=function(){return Math.random().toString(36).substring(7).split("").join(".")},Ce={INIT:"@@redux/INIT"+Pe(),REPLACE:"@@redux/REPLACE"+Pe(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+Pe()}};function Oe(e,t,i){var o;if("function"==typeof t&&"function"==typeof i||"function"==typeof i&&"function"==typeof arguments[3])throw new Error(Te(0));if("function"==typeof t&&void 0===i&&(i=t,t=void 0),void 0!==i){if("function"!=typeof i)throw new Error(Te(1));return i(Oe)(e,t)}if("function"!=typeof e)throw new Error(Te(2));var r=e,n=t,a=[],s=a,d=!1;function l(){s===a&&(s=a.slice())}function c(){if(d)throw new Error(Te(3));return n}function b(e){if("function"!=typeof e)throw new Error(Te(4));if(d)throw new Error(Te(5));var t=!0;return l(),s.push(e),function(){if(t){if(d)throw new Error(Te(6));t=!1,l();var i=s.indexOf(e);s.splice(i,1),a=null}}}function h(e){if(!function(e){if("object"!=typeof e||null===e)return!1;for(var t=e;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}(e))throw new Error(Te(7));if(void 0===e.type)throw new Error(Te(8));if(d)throw new Error(Te(9));try{d=!0,n=r(n,e)}finally{d=!1}for(var t=a=s,i=0;i<t.length;i++){(0,t[i])()}return e}return h({type:Ce.INIT}),(o={dispatch:h,subscribe:b,getState:c,replaceReducer:function(e){if("function"!=typeof e)throw new Error(Te(10));r=e,h({type:Ce.REPLACE})}})[Ae]=function(){var e,t=b;return(e={subscribe:function(e){if("object"!=typeof e||null===e)throw new Error(Te(11));function i(){e.next&&e.next(c())}return i(),{unsubscribe:t(i)}}})[Ae]=function(){return this},e},o}function De(e,t){return function(){return t(e.apply(this,arguments))}}function Re(e,t){if("function"==typeof e)return De(e,t);if("object"!=typeof e||null===e)throw new Error(Te(16));var i={};for(var o in e){var r=e[o];"function"==typeof r&&(i[o]=De(r,t))}return i}function Ie(){for(var e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];return 0===t.length?function(e){return e}:1===t.length?t[0]:t.reduce((function(e,t){return function(){return e(t.apply(void 0,arguments))}}))}function je(){for(var e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];return function(e){return function(){var i=e.apply(void 0,arguments),o=function(){throw new Error(Te(15))},r={getState:i.getState,dispatch:function(){return o.apply(void 0,arguments)}},n=t.map((function(e){return e(r)}));return o=Ie.apply(void 0,n)(i.dispatch),ze(ze({},i),{},{dispatch:o})}}}function $e(e){return function(t){var i=t.dispatch,o=t.getState;return function(t){return function(r){return"function"==typeof r?r(i,o,e):t(r)}}}}var Le=$e();Le.withExtraArgument=$e;var Ne=Le,Me={exports:{}};
250
+ */(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}const me=(e,t,i=(()=>({})))=>o=>class extends o{_handleChangeStoreState(e){const i=t(e);Object.keys(i).forEach((e=>{const t=this[e],o=i[e];Object.is(t,o)||(this[e]=o,this.requestUpdate(e,t))}))}constructor(...t){super(...t),ge(this,"_hStore",null),Object.assign(this,i(e.dispatch))}connectedCallback(){super.connectedCallback(),this._handleChangeStoreState(e.getState());const t=e.subscribe((()=>this._handleChangeStoreState(e.getState())));this._hStore={release:()=>(t(),null)}}disconnectedCallback(){this._hStore&&(this._hStore=this._hStore.release()),super.disconnectedCallback()}};var ve="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function _e(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var ye="object"==typeof self&&self.self===self&&self||"object"==typeof ve&&ve.global===ve&&ve||ve;function we(e){return we="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},we(e)}function ke(e){var t=function(e,t){if("object"!==we(e)||null===e)return e;var i=e[Symbol.toPrimitive];if(void 0!==i){var o=i.call(e,t||"default");if("object"!==we(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===we(t)?t:String(t)}function Ee(e,t,i){return(t=ke(t))in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}function Se(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),i.push.apply(i,o)}return i}function ze(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{};t%2?Se(Object(i),!0).forEach((function(t){Ee(e,t,i[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):Se(Object(i)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))}))}return e}function Te(e){return"Minified Redux error #"+e+"; visit https://redux.js.org/Errors?code="+e+" for the full message or use the non-minified dev environment for full errors. "}var Ae="function"==typeof Symbol&&Symbol.observable||"@@observable",Pe=function(){return Math.random().toString(36).substring(7).split("").join(".")},Ce={INIT:"@@redux/INIT"+Pe(),REPLACE:"@@redux/REPLACE"+Pe(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+Pe()}};function Oe(e,t,i){var o;if("function"==typeof t&&"function"==typeof i||"function"==typeof i&&"function"==typeof arguments[3])throw new Error(Te(0));if("function"==typeof t&&void 0===i&&(i=t,t=void 0),void 0!==i){if("function"!=typeof i)throw new Error(Te(1));return i(Oe)(e,t)}if("function"!=typeof e)throw new Error(Te(2));var r=e,n=t,a=[],s=a,d=!1;function l(){s===a&&(s=a.slice())}function c(){if(d)throw new Error(Te(3));return n}function b(e){if("function"!=typeof e)throw new Error(Te(4));if(d)throw new Error(Te(5));var t=!0;return l(),s.push(e),function(){if(t){if(d)throw new Error(Te(6));t=!1,l();var i=s.indexOf(e);s.splice(i,1),a=null}}}function h(e){if(!function(e){if("object"!=typeof e||null===e)return!1;for(var t=e;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}(e))throw new Error(Te(7));if(void 0===e.type)throw new Error(Te(8));if(d)throw new Error(Te(9));try{d=!0,n=r(n,e)}finally{d=!1}for(var t=a=s,i=0;i<t.length;i++){(0,t[i])()}return e}return h({type:Ce.INIT}),(o={dispatch:h,subscribe:b,getState:c,replaceReducer:function(e){if("function"!=typeof e)throw new Error(Te(10));r=e,h({type:Ce.REPLACE})}})[Ae]=function(){var e,t=b;return(e={subscribe:function(e){if("object"!=typeof e||null===e)throw new Error(Te(11));function i(){e.next&&e.next(c())}return i(),{unsubscribe:t(i)}}})[Ae]=function(){return this},e},o}function De(e,t){return function(){return t(e.apply(this,arguments))}}function Re(e,t){if("function"==typeof e)return De(e,t);if("object"!=typeof e||null===e)throw new Error(Te(16));var i={};for(var o in e){var r=e[o];"function"==typeof r&&(i[o]=De(r,t))}return i}function Ie(){for(var e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];return 0===t.length?function(e){return e}:1===t.length?t[0]:t.reduce((function(e,t){return function(){return e(t.apply(void 0,arguments))}}))}function je(){for(var e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];return function(e){return function(){var i=e.apply(void 0,arguments),o=function(){throw new Error(Te(15))},r={getState:i.getState,dispatch:function(){return o.apply(void 0,arguments)}},n=t.map((function(e){return e(r)}));return o=Ie.apply(void 0,n)(i.dispatch),ze(ze({},i),{},{dispatch:o})}}}function $e(e){return function(t){var i=t.dispatch,o=t.getState;return function(t){return function(r){return"function"==typeof r?r(i,o,e):t(r)}}}}var Le=$e();Le.withExtraArgument=$e;var Ne=Le,Me={exports:{}};!function(e){function t(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}function i(e,t){Object.defineProperty(this,"kind",{value:e,enumerable:!0}),t&&t.length&&Object.defineProperty(this,"path",{value:t,enumerable:!0})}function o(e,t,i){o.super_.call(this,"E",e),Object.defineProperty(this,"lhs",{value:t,enumerable:!0}),Object.defineProperty(this,"rhs",{value:i,enumerable:!0})}function r(e,t){r.super_.call(this,"N",e),Object.defineProperty(this,"rhs",{value:t,enumerable:!0})}function n(e,t){n.super_.call(this,"D",e),Object.defineProperty(this,"lhs",{value:t,enumerable:!0})}function a(e,t,i){a.super_.call(this,"A",e),Object.defineProperty(this,"index",{value:t,enumerable:!0}),Object.defineProperty(this,"item",{value:i,enumerable:!0})}function s(e,t,i){var o=e.slice((i||t)+1||e.length);return e.length=t<0?e.length+t:t,e.push.apply(e,o),e}function d(e){var t=void 0===e?"undefined":P(e);return"object"!==t?t:e===Math?"math":null===e?"null":Array.isArray(e)?"array":"[object Date]"===Object.prototype.toString.call(e)?"date":"function"==typeof e.toString&&/^\/.*\//.test(e.toString())?"regexp":"object"}function l(e,t,i,c,b,h,p){p=p||[];var x=(b=b||[]).slice(0);if(void 0!==h){if(c){if("function"==typeof c&&c(x,h))return;if("object"===(void 0===c?"undefined":P(c))){if(c.prefilter&&c.prefilter(x,h))return;if(c.normalize){var f=c.normalize(x,h,e,t);f&&(e=f[0],t=f[1])}}}x.push(h)}"regexp"===d(e)&&"regexp"===d(t)&&(e=e.toString(),t=t.toString());var u=void 0===e?"undefined":P(e),g=void 0===t?"undefined":P(t),m="undefined"!==u||p&&p[p.length-1].lhs&&p[p.length-1].lhs.hasOwnProperty(h),v="undefined"!==g||p&&p[p.length-1].rhs&&p[p.length-1].rhs.hasOwnProperty(h);if(!m&&v)i(new r(x,t));else if(!v&&m)i(new n(x,e));else if(d(e)!==d(t))i(new o(x,e,t));else if("date"===d(e)&&e-t!=0)i(new o(x,e,t));else if("object"===u&&null!==e&&null!==t)if(p.filter((function(t){return t.lhs===e})).length)e!==t&&i(new o(x,e,t));else{if(p.push({lhs:e,rhs:t}),Array.isArray(e)){var _;for(e.length,_=0;_<e.length;_++)_>=t.length?i(new a(x,_,new n(void 0,e[_]))):l(e[_],t[_],i,c,x,_,p);for(;_<t.length;)i(new a(x,_,new r(void 0,t[_++])))}else{var y=Object.keys(e),w=Object.keys(t);y.forEach((function(o,r){var n=w.indexOf(o);n>=0?(l(e[o],t[o],i,c,x,o,p),w=s(w,n)):l(e[o],void 0,i,c,x,o,p)})),w.forEach((function(e){l(void 0,t[e],i,c,x,e,p)}))}p.length=p.length-1}else e!==t&&("number"===u&&isNaN(e)&&isNaN(t)||i(new o(x,e,t)))}function c(e,t,i,o){return o=o||[],l(e,t,(function(e){e&&o.push(e)}),i),o.length?o:void 0}function b(e,t,i){if(i.path&&i.path.length){var o,r=e[t],n=i.path.length-1;for(o=0;o<n;o++)r=r[i.path[o]];switch(i.kind){case"A":b(r[i.path[o]],i.index,i.item);break;case"D":delete r[i.path[o]];break;case"E":case"N":r[i.path[o]]=i.rhs}}else switch(i.kind){case"A":b(e[t],i.index,i.item);break;case"D":e=s(e,t);break;case"E":case"N":e[t]=i.rhs}return e}function h(e,t,i){if(e&&t&&i&&i.kind){for(var o=e,r=-1,n=i.path?i.path.length-1:0;++r<n;)void 0===o[i.path[r]]&&(o[i.path[r]]="number"==typeof i.path[r]?[]:{}),o=o[i.path[r]];switch(i.kind){case"A":b(i.path?o[i.path[r]]:o,i.index,i.item);break;case"D":delete o[i.path[r]];break;case"E":case"N":o[i.path[r]]=i.rhs}}}function p(e,t,i){if(i.path&&i.path.length){var o,r=e[t],n=i.path.length-1;for(o=0;o<n;o++)r=r[i.path[o]];switch(i.kind){case"A":p(r[i.path[o]],i.index,i.item);break;case"D":case"E":r[i.path[o]]=i.lhs;break;case"N":delete r[i.path[o]]}}else switch(i.kind){case"A":p(e[t],i.index,i.item);break;case"D":case"E":e[t]=i.lhs;break;case"N":e=s(e,t)}return e}function x(e,t,i){if(e&&t&&i&&i.kind){var o,r,n=e;for(r=i.path.length-1,o=0;o<r;o++)void 0===n[i.path[o]]&&(n[i.path[o]]={}),n=n[i.path[o]];switch(i.kind){case"A":p(n[i.path[o]],i.index,i.item);break;case"D":case"E":n[i.path[o]]=i.lhs;break;case"N":delete n[i.path[o]]}}}function f(e,t,i){e&&t&&l(e,t,(function(o){i&&!i(e,t,o)||h(e,t,o)}))}function u(e){return"color: "+D[e].color+"; font-weight: bold"}function g(e){var t=e.kind,i=e.path,o=e.lhs,r=e.rhs,n=e.index,a=e.item;switch(t){case"E":return[i.join("."),o,"→",r];case"N":return[i.join("."),r];case"D":return[i.join(".")];case"A":return[i.join(".")+"["+n+"]",a];default:return[]}}function m(e,t,i,o){var r=c(e,t);try{o?i.groupCollapsed("diff"):i.group("diff")}catch(e){i.log("diff")}r?r.forEach((function(e){var t=e.kind,o=g(e);i.log.apply(i,["%c "+D[t].text,u(t)].concat(C(o)))})):i.log("—— no diff ——");try{i.groupEnd()}catch(e){i.log("—— diff end —— ")}}function v(e,t,i,o){switch(void 0===e?"undefined":P(e)){case"object":return"function"==typeof e[o]?e[o].apply(e,C(i)):e[o];case"function":return e(t);default:return e}}function _(e){var t=e.timestamp,i=e.duration;return function(e,o,r){var n=["action"];return n.push("%c"+String(e.type)),t&&n.push("%c@ "+o),i&&n.push("%c(in "+r.toFixed(2)+" ms)"),n.join(" ")}}function y(e,t){var i=t.logger,o=t.actionTransformer,r=t.titleFormatter,n=void 0===r?_(t):r,a=t.collapsed,s=t.colors,d=t.level,l=t.diff,c=void 0===t.titleFormatter;e.forEach((function(r,b){var h=r.started,p=r.startedTime,x=r.action,f=r.prevState,u=r.error,g=r.took,_=r.nextState,y=e[b+1];y&&(_=y.prevState,g=y.started-h);var w=o(x),k="function"==typeof a?a((function(){return _}),x,r):a,E=T(p),S=s.title?"color: "+s.title(w)+";":"",z=["color: gray; font-weight: lighter;"];z.push(S),t.timestamp&&z.push("color: gray; font-weight: lighter;"),t.duration&&z.push("color: gray; font-weight: lighter;");var A=n(w,E,g);try{k?s.title&&c?i.groupCollapsed.apply(i,["%c "+A].concat(z)):i.groupCollapsed(A):s.title&&c?i.group.apply(i,["%c "+A].concat(z)):i.group(A)}catch(e){i.log(A)}var P=v(d,w,[f],"prevState"),C=v(d,w,[w],"action"),O=v(d,w,[u,f],"error"),D=v(d,w,[_],"nextState");if(P)if(s.prevState){var R="color: "+s.prevState(f)+"; font-weight: bold";i[P]("%c prev state",R,f)}else i[P]("prev state",f);if(C)if(s.action){var I="color: "+s.action(w)+"; font-weight: bold";i[C]("%c action ",I,w)}else i[C]("action ",w);if(u&&O)if(s.error){var j="color: "+s.error(u,f)+"; font-weight: bold;";i[O]("%c error ",j,u)}else i[O]("error ",u);if(D)if(s.nextState){var $="color: "+s.nextState(_)+"; font-weight: bold";i[D]("%c next state",$,_)}else i[D]("next state",_);l&&m(f,_,i,k);try{i.groupEnd()}catch(e){i.log("—— log end ——")}}))}function w(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=Object.assign({},R,e),i=t.logger,o=t.stateTransformer,r=t.errorTransformer,n=t.predicate,a=t.logErrors,s=t.diffPredicate;if(void 0===i)return function(){return function(e){return function(t){return e(t)}}};if(e.getState&&e.dispatch)return console.error("[redux-logger] redux-logger not installed. Make sure to pass logger instance as middleware:\n// Logger with default options\nimport { logger } from 'redux-logger'\nconst store = createStore(\n reducer,\n applyMiddleware(logger)\n)\n// Or you can create your own logger with custom options http://bit.ly/redux-logger-options\nimport createLogger from 'redux-logger'\nconst logger = createLogger({\n // ...options\n});\nconst store = createStore(\n reducer,\n applyMiddleware(logger)\n)\n"),function(){return function(e){return function(t){return e(t)}}};var d=[];return function(e){var i=e.getState;return function(e){return function(l){if("function"==typeof n&&!n(i,l))return e(l);var c={};d.push(c),c.started=A.now(),c.startedTime=new Date,c.prevState=o(i()),c.action=l;var b=void 0;if(a)try{b=e(l)}catch(e){c.error=r(e)}else b=e(l);c.took=A.now()-c.started,c.nextState=o(i());var h=t.diff&&"function"==typeof s?s(i,l):t.diff;if(y(d,Object.assign({},t,{diff:h})),d.length=0,c.error)throw c.error;return b}}}}var k,E,S=function(e,t){return new Array(t+1).join(e)},z=function(e,t){return S("0",t-e.toString().length)+e},T=function(e){return z(e.getHours(),2)+":"+z(e.getMinutes(),2)+":"+z(e.getSeconds(),2)+"."+z(e.getMilliseconds(),3)},A="undefined"!=typeof performance&&null!==performance&&"function"==typeof performance.now?performance:Date,P="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},C=function(e){if(Array.isArray(e)){for(var t=0,i=Array(e.length);t<e.length;t++)i[t]=e[t];return i}return Array.from(e)},O=[];k="object"===(void 0===ve?"undefined":P(ve))&&ve?ve:"undefined"!=typeof window?window:{},(E=k.DeepDiff)&&O.push((function(){void 0!==E&&k.DeepDiff===c&&(k.DeepDiff=E,E=void 0)})),t(o,i),t(r,i),t(n,i),t(a,i),Object.defineProperties(c,{diff:{value:c,enumerable:!0},observableDiff:{value:l,enumerable:!0},applyDiff:{value:f,enumerable:!0},applyChange:{value:h,enumerable:!0},revertChange:{value:x,enumerable:!0},isConflict:{value:function(){return void 0!==E},enumerable:!0},noConflict:{value:function(){return O&&(O.forEach((function(e){e()})),O=null),c},enumerable:!0}});var D={E:{color:"#2196F3",text:"CHANGED:"},N:{color:"#4CAF50",text:"ADDED:"},D:{color:"#F44336",text:"DELETED:"},A:{color:"#2196F3",text:"ARRAY:"}},R={level:"log",logger:console,logErrors:!0,collapsed:void 0,predicate:void 0,duration:!1,timestamp:!0,stateTransformer:function(e){return e},actionTransformer:function(e){return e},errorTransformer:function(e){return e},colors:{title:function(){return"inherit"},prevState:function(){return"#9E9E9E"},action:function(){return"#03A9F4"},nextState:function(){return"#4CAF50"},error:function(){return"#F20404"}},diff:!1,diffPredicate:void 0,transformer:void 0},I=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.dispatch,i=e.getState;return"function"==typeof t||"function"==typeof i?w()({dispatch:t,getState:i}):void console.error("\n[redux-logger v3] BREAKING CHANGE\n[redux-logger v3] Since 3.0.0 redux-logger exports by default logger with default settings.\n[redux-logger v3] Change\n[redux-logger v3] import createLogger from 'redux-logger'\n[redux-logger v3] to\n[redux-logger v3] import { createLogger } from 'redux-logger'\n")};e.defaults=R,e.createLogger=w,e.logger=I,e.default=I,Object.defineProperty(e,"__esModule",{value:!0})}(Me.exports);
251
251
  /**
252
252
  * @license
253
253
  *
@@ -256,25 +256,23 @@ found at http://polymer.github.io/PATENTS.txt
256
256
  * This source code is licensed under the Apache-2.0 license found in the
257
257
  * LICENSE file in the root directory of this source tree.
258
258
  */
259
- let qe,Ue;!function(e){function t(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}function i(e,t){Object.defineProperty(this,"kind",{value:e,enumerable:!0}),t&&t.length&&Object.defineProperty(this,"path",{value:t,enumerable:!0})}function o(e,t,i){o.super_.call(this,"E",e),Object.defineProperty(this,"lhs",{value:t,enumerable:!0}),Object.defineProperty(this,"rhs",{value:i,enumerable:!0})}function r(e,t){r.super_.call(this,"N",e),Object.defineProperty(this,"rhs",{value:t,enumerable:!0})}function n(e,t){n.super_.call(this,"D",e),Object.defineProperty(this,"lhs",{value:t,enumerable:!0})}function a(e,t,i){a.super_.call(this,"A",e),Object.defineProperty(this,"index",{value:t,enumerable:!0}),Object.defineProperty(this,"item",{value:i,enumerable:!0})}function s(e,t,i){var o=e.slice((i||t)+1||e.length);return e.length=t<0?e.length+t:t,e.push.apply(e,o),e}function d(e){var t=void 0===e?"undefined":P(e);return"object"!==t?t:e===Math?"math":null===e?"null":Array.isArray(e)?"array":"[object Date]"===Object.prototype.toString.call(e)?"date":"function"==typeof e.toString&&/^\/.*\//.test(e.toString())?"regexp":"object"}function l(e,t,i,c,b,h,p){p=p||[];var x=(b=b||[]).slice(0);if(void 0!==h){if(c){if("function"==typeof c&&c(x,h))return;if("object"===(void 0===c?"undefined":P(c))){if(c.prefilter&&c.prefilter(x,h))return;if(c.normalize){var f=c.normalize(x,h,e,t);f&&(e=f[0],t=f[1])}}}x.push(h)}"regexp"===d(e)&&"regexp"===d(t)&&(e=e.toString(),t=t.toString());var u=void 0===e?"undefined":P(e),g=void 0===t?"undefined":P(t),m="undefined"!==u||p&&p[p.length-1].lhs&&p[p.length-1].lhs.hasOwnProperty(h),v="undefined"!==g||p&&p[p.length-1].rhs&&p[p.length-1].rhs.hasOwnProperty(h);if(!m&&v)i(new r(x,t));else if(!v&&m)i(new n(x,e));else if(d(e)!==d(t))i(new o(x,e,t));else if("date"===d(e)&&e-t!=0)i(new o(x,e,t));else if("object"===u&&null!==e&&null!==t)if(p.filter((function(t){return t.lhs===e})).length)e!==t&&i(new o(x,e,t));else{if(p.push({lhs:e,rhs:t}),Array.isArray(e)){var _;for(e.length,_=0;_<e.length;_++)_>=t.length?i(new a(x,_,new n(void 0,e[_]))):l(e[_],t[_],i,c,x,_,p);for(;_<t.length;)i(new a(x,_,new r(void 0,t[_++])))}else{var y=Object.keys(e),w=Object.keys(t);y.forEach((function(o,r){var n=w.indexOf(o);n>=0?(l(e[o],t[o],i,c,x,o,p),w=s(w,n)):l(e[o],void 0,i,c,x,o,p)})),w.forEach((function(e){l(void 0,t[e],i,c,x,e,p)}))}p.length=p.length-1}else e!==t&&("number"===u&&isNaN(e)&&isNaN(t)||i(new o(x,e,t)))}function c(e,t,i,o){return o=o||[],l(e,t,(function(e){e&&o.push(e)}),i),o.length?o:void 0}function b(e,t,i){if(i.path&&i.path.length){var o,r=e[t],n=i.path.length-1;for(o=0;o<n;o++)r=r[i.path[o]];switch(i.kind){case"A":b(r[i.path[o]],i.index,i.item);break;case"D":delete r[i.path[o]];break;case"E":case"N":r[i.path[o]]=i.rhs}}else switch(i.kind){case"A":b(e[t],i.index,i.item);break;case"D":e=s(e,t);break;case"E":case"N":e[t]=i.rhs}return e}function h(e,t,i){if(e&&t&&i&&i.kind){for(var o=e,r=-1,n=i.path?i.path.length-1:0;++r<n;)void 0===o[i.path[r]]&&(o[i.path[r]]="number"==typeof i.path[r]?[]:{}),o=o[i.path[r]];switch(i.kind){case"A":b(i.path?o[i.path[r]]:o,i.index,i.item);break;case"D":delete o[i.path[r]];break;case"E":case"N":o[i.path[r]]=i.rhs}}}function p(e,t,i){if(i.path&&i.path.length){var o,r=e[t],n=i.path.length-1;for(o=0;o<n;o++)r=r[i.path[o]];switch(i.kind){case"A":p(r[i.path[o]],i.index,i.item);break;case"D":case"E":r[i.path[o]]=i.lhs;break;case"N":delete r[i.path[o]]}}else switch(i.kind){case"A":p(e[t],i.index,i.item);break;case"D":case"E":e[t]=i.lhs;break;case"N":e=s(e,t)}return e}function x(e,t,i){if(e&&t&&i&&i.kind){var o,r,n=e;for(r=i.path.length-1,o=0;o<r;o++)void 0===n[i.path[o]]&&(n[i.path[o]]={}),n=n[i.path[o]];switch(i.kind){case"A":p(n[i.path[o]],i.index,i.item);break;case"D":case"E":n[i.path[o]]=i.lhs;break;case"N":delete n[i.path[o]]}}}function f(e,t,i){e&&t&&l(e,t,(function(o){i&&!i(e,t,o)||h(e,t,o)}))}function u(e){return"color: "+D[e].color+"; font-weight: bold"}function g(e){var t=e.kind,i=e.path,o=e.lhs,r=e.rhs,n=e.index,a=e.item;switch(t){case"E":return[i.join("."),o,"→",r];case"N":return[i.join("."),r];case"D":return[i.join(".")];case"A":return[i.join(".")+"["+n+"]",a];default:return[]}}function m(e,t,i,o){var r=c(e,t);try{o?i.groupCollapsed("diff"):i.group("diff")}catch(e){i.log("diff")}r?r.forEach((function(e){var t=e.kind,o=g(e);i.log.apply(i,["%c "+D[t].text,u(t)].concat(C(o)))})):i.log("—— no diff ——");try{i.groupEnd()}catch(e){i.log("—— diff end —— ")}}function v(e,t,i,o){switch(void 0===e?"undefined":P(e)){case"object":return"function"==typeof e[o]?e[o].apply(e,C(i)):e[o];case"function":return e(t);default:return e}}function _(e){var t=e.timestamp,i=e.duration;return function(e,o,r){var n=["action"];return n.push("%c"+String(e.type)),t&&n.push("%c@ "+o),i&&n.push("%c(in "+r.toFixed(2)+" ms)"),n.join(" ")}}function y(e,t){var i=t.logger,o=t.actionTransformer,r=t.titleFormatter,n=void 0===r?_(t):r,a=t.collapsed,s=t.colors,d=t.level,l=t.diff,c=void 0===t.titleFormatter;e.forEach((function(r,b){var h=r.started,p=r.startedTime,x=r.action,f=r.prevState,u=r.error,g=r.took,_=r.nextState,y=e[b+1];y&&(_=y.prevState,g=y.started-h);var w=o(x),k="function"==typeof a?a((function(){return _}),x,r):a,E=T(p),S=s.title?"color: "+s.title(w)+";":"",z=["color: gray; font-weight: lighter;"];z.push(S),t.timestamp&&z.push("color: gray; font-weight: lighter;"),t.duration&&z.push("color: gray; font-weight: lighter;");var A=n(w,E,g);try{k?s.title&&c?i.groupCollapsed.apply(i,["%c "+A].concat(z)):i.groupCollapsed(A):s.title&&c?i.group.apply(i,["%c "+A].concat(z)):i.group(A)}catch(e){i.log(A)}var P=v(d,w,[f],"prevState"),C=v(d,w,[w],"action"),O=v(d,w,[u,f],"error"),D=v(d,w,[_],"nextState");if(P)if(s.prevState){var R="color: "+s.prevState(f)+"; font-weight: bold";i[P]("%c prev state",R,f)}else i[P]("prev state",f);if(C)if(s.action){var I="color: "+s.action(w)+"; font-weight: bold";i[C]("%c action ",I,w)}else i[C]("action ",w);if(u&&O)if(s.error){var j="color: "+s.error(u,f)+"; font-weight: bold;";i[O]("%c error ",j,u)}else i[O]("error ",u);if(D)if(s.nextState){var $="color: "+s.nextState(_)+"; font-weight: bold";i[D]("%c next state",$,_)}else i[D]("next state",_);l&&m(f,_,i,k);try{i.groupEnd()}catch(e){i.log("—— log end ——")}}))}function w(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=Object.assign({},R,e),i=t.logger,o=t.stateTransformer,r=t.errorTransformer,n=t.predicate,a=t.logErrors,s=t.diffPredicate;if(void 0===i)return function(){return function(e){return function(t){return e(t)}}};if(e.getState&&e.dispatch)return console.error("[redux-logger] redux-logger not installed. Make sure to pass logger instance as middleware:\n// Logger with default options\nimport { logger } from 'redux-logger'\nconst store = createStore(\n reducer,\n applyMiddleware(logger)\n)\n// Or you can create your own logger with custom options http://bit.ly/redux-logger-options\nimport createLogger from 'redux-logger'\nconst logger = createLogger({\n // ...options\n});\nconst store = createStore(\n reducer,\n applyMiddleware(logger)\n)\n"),function(){return function(e){return function(t){return e(t)}}};var d=[];return function(e){var i=e.getState;return function(e){return function(l){if("function"==typeof n&&!n(i,l))return e(l);var c={};d.push(c),c.started=A.now(),c.startedTime=new Date,c.prevState=o(i()),c.action=l;var b=void 0;if(a)try{b=e(l)}catch(e){c.error=r(e)}else b=e(l);c.took=A.now()-c.started,c.nextState=o(i());var h=t.diff&&"function"==typeof s?s(i,l):t.diff;if(y(d,Object.assign({},t,{diff:h})),d.length=0,c.error)throw c.error;return b}}}}var k,E,S=function(e,t){return new Array(t+1).join(e)},z=function(e,t){return S("0",t-e.toString().length)+e},T=function(e){return z(e.getHours(),2)+":"+z(e.getMinutes(),2)+":"+z(e.getSeconds(),2)+"."+z(e.getMilliseconds(),3)},A="undefined"!=typeof performance&&null!==performance&&"function"==typeof performance.now?performance:Date,P="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},C=function(e){if(Array.isArray(e)){for(var t=0,i=Array(e.length);t<e.length;t++)i[t]=e[t];return i}return Array.from(e)},O=[];k="object"===(void 0===ve?"undefined":P(ve))&&ve?ve:"undefined"!=typeof window?window:{},(E=k.DeepDiff)&&O.push((function(){void 0!==E&&k.DeepDiff===c&&(k.DeepDiff=E,E=void 0)})),t(o,i),t(r,i),t(n,i),t(a,i),Object.defineProperties(c,{diff:{value:c,enumerable:!0},observableDiff:{value:l,enumerable:!0},applyDiff:{value:f,enumerable:!0},applyChange:{value:h,enumerable:!0},revertChange:{value:x,enumerable:!0},isConflict:{value:function(){return void 0!==E},enumerable:!0},noConflict:{value:function(){return O&&(O.forEach((function(e){e()})),O=null),c},enumerable:!0}});var D={E:{color:"#2196F3",text:"CHANGED:"},N:{color:"#4CAF50",text:"ADDED:"},D:{color:"#F44336",text:"DELETED:"},A:{color:"#2196F3",text:"ARRAY:"}},R={level:"log",logger:console,logErrors:!0,collapsed:void 0,predicate:void 0,duration:!1,timestamp:!0,stateTransformer:function(e){return e},actionTransformer:function(e){return e},errorTransformer:function(e){return e},colors:{title:function(){return"inherit"},prevState:function(){return"#9E9E9E"},action:function(){return"#03A9F4"},nextState:function(){return"#4CAF50"},error:function(){return"#F20404"}},diff:!1,diffPredicate:void 0,transformer:void 0},I=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.dispatch,i=e.getState;return"function"==typeof t||"function"==typeof i?w()({dispatch:t,getState:i}):void console.error("\n[redux-logger v3] BREAKING CHANGE\n[redux-logger v3] Since 3.0.0 redux-logger exports by default logger with default settings.\n[redux-logger v3] Change\n[redux-logger v3] import createLogger from 'redux-logger'\n[redux-logger v3] to\n[redux-logger v3] import { createLogger } from 'redux-logger'\n")};e.defaults=R,e.createLogger=w,e.logger=I,e.default=I,Object.defineProperty(e,"__esModule",{value:!0})}(Me.exports),function(e){e.SET_REQUEST_LANGUAGE_IN_PROGRESS="SET_REQUEST_LANGUAGE_IN_PROGRESS",e.SET_ERROR_REQUEST_LANGUAGE="SET_ERROR_REQUEST_LANGUAGE",e.SET_LANGUAGE="SET_LANGUAGE",e.SET_REQUEST_LANG_DISPLAY_IN_PROGRESS="SET_REQUEST_LANG_DISPLAY_IN_PROGRESS",e.SET_ERROR_REQUEST_LANG_DISPLAY="SET_ERROR_REQUEST_LANG_DISPLAY",e.SET_LANG_DISPLAY="SET_LANG_DISPLAY",e.SET_REQUEST_LOCALE_LIST_IN_PROGRESS="SET_REQUEST_LOCALE_LIST_IN_PROGRESS",e.SET_ERROR_REQUEST_LOCALE_LIST="SET_ERROR_REQUEST_LOCALE_LIST",e.SET_LOCALE_LIST="SET_LOCALE_LIST"}(qe||(qe={})),function(e){e.SET_REQUEST_TRANSLATION_IN_PROGRESS="SET_REQUEST_TRANSLATION_IN_PROGRESS",e.SET_ERROR_REQUEST_TRANSLATION="SET_ERROR_REQUEST_TRANSLATION",e.SET_TRANSLATION="SET_TRANSLATION"}(Ue||(Ue={}));
259
+ let qe=function(e){return e.SET_REQUEST_LANGUAGE_IN_PROGRESS="SET_REQUEST_LANGUAGE_IN_PROGRESS",e.SET_ERROR_REQUEST_LANGUAGE="SET_ERROR_REQUEST_LANGUAGE",e.SET_LANGUAGE="SET_LANGUAGE",e.SET_REQUEST_LANG_DISPLAY_IN_PROGRESS="SET_REQUEST_LANG_DISPLAY_IN_PROGRESS",e.SET_ERROR_REQUEST_LANG_DISPLAY="SET_ERROR_REQUEST_LANG_DISPLAY",e.SET_LANG_DISPLAY="SET_LANG_DISPLAY",e.SET_REQUEST_LOCALE_LIST_IN_PROGRESS="SET_REQUEST_LOCALE_LIST_IN_PROGRESS",e.SET_ERROR_REQUEST_LOCALE_LIST="SET_ERROR_REQUEST_LOCALE_LIST",e.SET_LOCALE_LIST="SET_LOCALE_LIST",e}({});
260
260
  /**
261
261
  * @license
262
262
  *
263
- * Copyright IBM Corp. 2020, 2021
263
+ * Copyright IBM Corp. 2020, 2022
264
264
  *
265
265
  * This source code is licensed under the Apache-2.0 license found in the
266
266
  * LICENSE file in the root directory of this source tree.
267
267
  */
268
- const Fe="Unauthenticated";let Be,Ge,He;!function(e){e.SET_REQUEST_USER_STATUS_IN_PROGRESS="SET_REQUEST_USER_STATUS_IN_PROGRESS",e.SET_ERROR_REQUEST_USER_STATUS="SET_ERROR_REQUEST_USER_STATUS",e.SET_USER_STATUS="SET_USER_STATUS"}(Be||(Be={})),function(e){e.SET_CURRENT_SEARCH_QUERY_STRING="SET_CURRENT_SEARCH_QUERY_STRING",e.SET_REQUEST_SEARCH_RESULTS_IN_PROGRESS="SET_REQUEST_SEARCH_RESULTS_IN_PROGRESS",e.SET_ERROR_REQUEST_SEARCH_RESULTS="SET_ERROR_REQUEST_SEARCH_RESULTS",e.SET_SEARCH_RESULTS="SET_SEARCH_RESULTS"}(Ge||(Ge={})),function(e){e.SET_REQUEST_MEDIA_DATA_IN_PROGRESS="SET_REQUEST_MEDIA_DATA_IN_PROGRESS",e.SET_ERROR_REQUEST_MEDIA_DATA="SET_ERROR_REQUEST_MEDIA_DATA",e.SET_MEDIA_DATA="SET_MEDIA_DATA"}(He||(He={}));
269
268
  /**
270
- * @license
271
- *
272
- * Copyright IBM Corp. 2021
273
- *
274
- * This source code is licensed under the Apache-2.0 license found in the
275
- * LICENSE file in the root directory of this source tree.
276
- */
277
- const Ve="anonymous";let We;!function(e){e.SET_REQUEST_USER_STATUS_IN_PROGRESS="SET_REQUEST_USER_STATUS_IN_PROGRESS",e.SET_ERROR_REQUEST_USER_STATUS="SET_ERROR_REQUEST_USER_STATUS",e.SET_USER_STATUS="SET_USER_STATUS"}(We||(We={}));
269
+ * @license
270
+ *
271
+ * Copyright IBM Corp. 2020, 2022
272
+ *
273
+ * This source code is licensed under the Apache-2.0 license found in the
274
+ * LICENSE file in the root directory of this source tree.
275
+ */
278
276
  /**
279
277
  * @license
280
278
  *
@@ -283,7 +281,7 @@ const Ve="anonymous";let We;!function(e){e.SET_REQUEST_USER_STATUS_IN_PROGRESS="
283
281
  * This source code is licensed under the Apache-2.0 license found in the
284
282
  * LICENSE file in the root directory of this source tree.
285
283
  */
286
- const Xe=function(e){for(var t=Object.keys(e),i={},o=0;o<t.length;o++){var r=t[o];"function"==typeof e[r]&&(i[r]=e[r])}var n,a=Object.keys(i);try{!function(e){Object.keys(e).forEach((function(t){var i=e[t];if(void 0===i(void 0,{type:Ce.INIT}))throw new Error(Te(12));if(void 0===i(void 0,{type:Ce.PROBE_UNKNOWN_ACTION()}))throw new Error(Te(13))}))}(i)}catch(e){n=e}return function(e,t){if(void 0===e&&(e={}),n)throw n;for(var o=!1,r={},s=0;s<a.length;s++){var d=a[s],l=i[d],c=e[d],b=l(c,t);if(void 0===b)throw t&&t.type,new Error(Te(14));r[d]=b,o=o||b!==c}return(o=o||a.length!==Object.keys(e).length)?r:e}}({localeAPI:
284
+ let Ue=function(e){return e.SET_REQUEST_TRANSLATION_IN_PROGRESS="SET_REQUEST_TRANSLATION_IN_PROGRESS",e.SET_ERROR_REQUEST_TRANSLATION="SET_ERROR_REQUEST_TRANSLATION",e.SET_TRANSLATION="SET_TRANSLATION",e}({});
287
285
  /**
288
286
  * @license
289
287
  *
@@ -300,15 +298,15 @@ const Xe=function(e){for(var t=Object.keys(e),i={},o=0;o<t.length;o++){var r=t[o
300
298
  * This source code is licensed under the Apache-2.0 license found in the
301
299
  * LICENSE file in the root directory of this source tree.
302
300
  */
303
- function(e={},t){switch(t.type){case qe.SET_REQUEST_LANGUAGE_IN_PROGRESS:{const{request:i}=t;return{...e,requestLanguageInProgress:!0,requestLanguage:i}}case qe.SET_ERROR_REQUEST_LANGUAGE:{const{error:i}=t;return{...e,requestLanguageInProgress:!1,errorRequestLanguage:i}}case qe.SET_LANGUAGE:{const{language:i}=t;return{...e,requestLanguage:Promise.resolve(i),requestLanguageInProgress:!1,language:i}}case qe.SET_REQUEST_LOCALE_LIST_IN_PROGRESS:{const{language:i,request:o}=t;return{...e,requestsLocaleListInProgress:{...e.requestsLocaleListInProgress||{},[i]:!0},requestsLocaleList:{...e.requestsLocaleList||{},[i]:o}}}case qe.SET_ERROR_REQUEST_LOCALE_LIST:{const{language:i,error:o}=t;return{...e,requestsLocaleListInProgress:{...e.requestsLocaleListInProgress||{},[i]:!1},errorsRequestLocaleList:{...e.errorsRequestLocaleList||{},[i]:o}}}case qe.SET_LOCALE_LIST:{const{language:i,localeList:o}=t;return{...e,requestsLocaleListInProgress:{...e.requestsLocaleListInProgress||{},[i]:!1},requestsLocaleList:{...e.requestsLocaleList||{},[i]:Promise.resolve(o)},localeLists:{...e.localeLists||{},[i]:o}}}default:return e}}
304
301
  /**
305
302
  * @license
306
303
  *
307
- * Copyright IBM Corp. 2020, 2022
304
+ * Copyright IBM Corp. 2020, 2021
308
305
  *
309
306
  * This source code is licensed under the Apache-2.0 license found in the
310
307
  * LICENSE file in the root directory of this source tree.
311
- */,translateAPI:
308
+ */
309
+ const Fe="Unauthenticated";let Be=function(e){return e.SET_REQUEST_USER_STATUS_IN_PROGRESS="SET_REQUEST_USER_STATUS_IN_PROGRESS",e.SET_ERROR_REQUEST_USER_STATUS="SET_ERROR_REQUEST_USER_STATUS",e.SET_USER_STATUS="SET_USER_STATUS",e}({});
312
310
  /**
313
311
  * @license
314
312
  *
@@ -325,7 +323,15 @@ function(e={},t){switch(t.type){case qe.SET_REQUEST_LANGUAGE_IN_PROGRESS:{const{
325
323
  * This source code is licensed under the Apache-2.0 license found in the
326
324
  * LICENSE file in the root directory of this source tree.
327
325
  */
328
- function(e={},t){switch(t.type){case Ue.SET_REQUEST_TRANSLATION_IN_PROGRESS:{const{language:i,request:o}=t;return{...e,requestsTranslationInProgress:{...e.requestsTranslationInProgress||{},[i]:!0},requestsTranslation:{...e.requestsTranslation||{},[i]:o}}}case Ue.SET_ERROR_REQUEST_TRANSLATION:{const{language:i,error:o}=t;return{...e,requestsTranslationInProgress:{...e.requestsTranslationInProgress||{},[i]:!1},errorsRequestTranslation:{...e.errorsRequestTranslation||{},[i]:o}}}case Ue.SET_TRANSLATION:{const{language:i,translation:o}=t;return{...e,requestsTranslationInProgress:{...e.requestsTranslationInProgress||{},[i]:!1},requestsTranslation:{...e.requestsTranslation||{},[i]:Promise.resolve(o)},translations:{...e.translations||{},[i]:o}}}default:return e}},profileAPI:
326
+ /**
327
+ * @license
328
+ *
329
+ * Copyright IBM Corp. 2020, 2022
330
+ *
331
+ * This source code is licensed under the Apache-2.0 license found in the
332
+ * LICENSE file in the root directory of this source tree.
333
+ */
334
+ let Ge=function(e){return e.SET_CURRENT_SEARCH_QUERY_STRING="SET_CURRENT_SEARCH_QUERY_STRING",e.SET_REQUEST_SEARCH_RESULTS_IN_PROGRESS="SET_REQUEST_SEARCH_RESULTS_IN_PROGRESS",e.SET_ERROR_REQUEST_SEARCH_RESULTS="SET_ERROR_REQUEST_SEARCH_RESULTS",e.SET_SEARCH_RESULTS="SET_SEARCH_RESULTS",e}({});
329
335
  /**
330
336
  * @license
331
337
  *
@@ -342,15 +348,15 @@ function(e={},t){switch(t.type){case Ue.SET_REQUEST_TRANSLATION_IN_PROGRESS:{con
342
348
  * This source code is licensed under the Apache-2.0 license found in the
343
349
  * LICENSE file in the root directory of this source tree.
344
350
  */
345
- function(e={},t){switch(t.type){case Be.SET_ERROR_REQUEST_USER_STATUS:{const{error:i}=t;return{...e,errorGetUserStatus:i}}case Be.SET_USER_STATUS:{const{request:i}=t;return{...e,request:i}}default:return e}}
346
351
  /**
347
352
  * @license
348
353
  *
349
- * Copyright IBM Corp. 2020, 2022
354
+ * Copyright IBM Corp. 2020, 2021
350
355
  *
351
356
  * This source code is licensed under the Apache-2.0 license found in the
352
357
  * LICENSE file in the root directory of this source tree.
353
- */,searchAPI:
358
+ */
359
+ let He=function(e){return e.SET_REQUEST_MEDIA_DATA_IN_PROGRESS="SET_REQUEST_MEDIA_DATA_IN_PROGRESS",e.SET_ERROR_REQUEST_MEDIA_DATA="SET_ERROR_REQUEST_MEDIA_DATA",e.SET_MEDIA_DATA="SET_MEDIA_DATA",e}({});
354
360
  /**
355
361
  * @license
356
362
  *
@@ -367,19 +373,19 @@ function(e={},t){switch(t.type){case Be.SET_ERROR_REQUEST_USER_STATUS:{const{err
367
373
  * This source code is licensed under the Apache-2.0 license found in the
368
374
  * LICENSE file in the root directory of this source tree.
369
375
  */
370
- function(e={},t){switch(t.type){case Ge.SET_CURRENT_SEARCH_QUERY_STRING:{const{searchQueryString:i}=t;return{...e,currentSearchQueryString:i}}case Ge.SET_REQUEST_SEARCH_RESULTS_IN_PROGRESS:{var i,o;const{language:r,searchQueryString:n,request:a}=t,{requestsSearchResultsInProgress:s={},requestsSearchResults:d={}}=e;return{...e,requestsSearchResultsInProgress:{...s,[n]:{...null!==(i=s[n])&&void 0!==i?i:{},[r]:!0}},requestsSearchResults:{...d,[n]:{...null!==(o=d[n])&&void 0!==o?o:{},[r]:a}}}}case Ge.SET_ERROR_REQUEST_SEARCH_RESULTS:{var r,n;const{language:i,searchQueryString:o,error:a}=t,{requestsSearchResultsInProgress:s={},errorsRequestSearchResults:d={}}=e;return{...e,requestsSearchResultsInProgress:{...s,[o]:{...null!==(r=s[o])&&void 0!==r?r:{},[i]:!1}},errorsRequestSearchResults:{...d,[o]:{...null!==(n=d[o])&&void 0!==n?n:{},[i]:a}}}}case Ge.SET_SEARCH_RESULTS:{var a,s,d;const{language:i,searchQueryString:o,results:r}=t,{requestsSearchResultsInProgress:n={},requestsSearchResults:l={},searchResults:c={}}=e;return{...e,requestsSearchResultsInProgress:{...n,[o]:{...null!==(a=n[o])&&void 0!==a?a:{},[i]:!1}},requestsSearchResults:{...l,[o]:{...null!==(s=l[o])&&void 0!==s?s:{},[i]:Promise.resolve(r)}},searchResults:{...c,[o]:{...null!==(d=c[o])&&void 0!==d?d:{},[i]:r}}}}default:return e}}
371
376
  /**
372
377
  * @license
373
378
  *
374
- * Copyright IBM Corp. 2020, 2021
379
+ * Copyright IBM Corp. 2021
375
380
  *
376
381
  * This source code is licensed under the Apache-2.0 license found in the
377
382
  * LICENSE file in the root directory of this source tree.
378
- */,kalturaPlayerAPI:
383
+ */
384
+ const Ve="anonymous";let We=function(e){return e.SET_REQUEST_USER_STATUS_IN_PROGRESS="SET_REQUEST_USER_STATUS_IN_PROGRESS",e.SET_ERROR_REQUEST_USER_STATUS="SET_ERROR_REQUEST_USER_STATUS",e.SET_USER_STATUS="SET_USER_STATUS",e}({});
379
385
  /**
380
386
  * @license
381
387
  *
382
- * Copyright IBM Corp. 2020, 2022
388
+ * Copyright IBM Corp. 2021, 2022
383
389
  *
384
390
  * This source code is licensed under the Apache-2.0 license found in the
385
391
  * LICENSE file in the root directory of this source tree.
@@ -387,29 +393,20 @@ function(e={},t){switch(t.type){case Ge.SET_CURRENT_SEARCH_QUERY_STRING:{const{s
387
393
  /**
388
394
  * @license
389
395
  *
390
- * Copyright IBM Corp. 2020, 2022
396
+ * Copyright IBM Corp. 2021, 2022
391
397
  *
392
398
  * This source code is licensed under the Apache-2.0 license found in the
393
399
  * LICENSE file in the root directory of this source tree.
394
400
  */
395
- function(e={},t){switch(t.type){case He.SET_REQUEST_MEDIA_DATA_IN_PROGRESS:{const{mediaId:i,request:o}=t;return{...e,requestsMediaDataInProgress:{...e.requestsMediaDataInProgress||{},[i]:!0},requestsMediaData:{...e.requestsMediaData||{},[i]:o}}}case He.SET_ERROR_REQUEST_MEDIA_DATA:{const{mediaId:i,error:o}=t;return{...e,requestsMediaDataInProgress:{...e.requestsMediaDataInProgress||{},[i]:!1},errorsRequestMediaData:{...e.errorsRequestMediaData||{},[i]:o}}}case He.SET_MEDIA_DATA:{const{mediaId:i,mediaData:o}=t;return{...e,requestsMediaDataInProgress:{...e.requestsMediaDataInProgress||{},[i]:!1},requestsMediaData:{...e.requestsMediaData||{},[i]:Promise.resolve(o)},mediaData:{...e.mediaData||{},[i]:o}}}default:return e}},cloudAccountAuthAPI:
396
401
  /**
397
402
  * @license
398
403
  *
399
- * Copyright IBM Corp. 2021, 2022
404
+ * Copyright IBM Corp. 2020, 2022
400
405
  *
401
406
  * This source code is licensed under the Apache-2.0 license found in the
402
407
  * LICENSE file in the root directory of this source tree.
403
408
  */
404
- /**
405
- * @license
406
- *
407
- * Copyright IBM Corp. 2021, 2022
408
- *
409
- * This source code is licensed under the Apache-2.0 license found in the
410
- * LICENSE file in the root directory of this source tree.
411
- */
412
- function(e={},t){switch(t.type){case We.SET_ERROR_REQUEST_USER_STATUS:{const{error:i}=t;return{...e,errorGetUserStatus:i}}case We.SET_USER_STATUS:{const{request:i}=t;return{...e,request:i}}default:return e}}}),Ye=[Ne];
409
+ const Xe=function(e){for(var t=Object.keys(e),i={},o=0;o<t.length;o++){var r=t[o];"function"==typeof e[r]&&(i[r]=e[r])}var n,a=Object.keys(i);try{!function(e){Object.keys(e).forEach((function(t){var i=e[t];if(void 0===i(void 0,{type:Ce.INIT}))throw new Error(Te(12));if(void 0===i(void 0,{type:Ce.PROBE_UNKNOWN_ACTION()}))throw new Error(Te(13))}))}(i)}catch(e){n=e}return function(e,t){if(void 0===e&&(e={}),n)throw n;for(var o=!1,r={},s=0;s<a.length;s++){var d=a[s],l=i[d],c=e[d],b=l(c,t);if(void 0===b)throw t&&t.type,new Error(Te(14));r[d]=b,o=o||b!==c}return(o=o||a.length!==Object.keys(e).length)?r:e}}({localeAPI:function(e={},t){switch(t.type){case qe.SET_REQUEST_LANGUAGE_IN_PROGRESS:{const{request:i}=t;return{...e,requestLanguageInProgress:!0,requestLanguage:i}}case qe.SET_ERROR_REQUEST_LANGUAGE:{const{error:i}=t;return{...e,requestLanguageInProgress:!1,errorRequestLanguage:i}}case qe.SET_LANGUAGE:{const{language:i}=t;return{...e,requestLanguage:Promise.resolve(i),requestLanguageInProgress:!1,language:i}}case qe.SET_REQUEST_LOCALE_LIST_IN_PROGRESS:{const{language:i,request:o}=t;return{...e,requestsLocaleListInProgress:{...e.requestsLocaleListInProgress||{},[i]:!0},requestsLocaleList:{...e.requestsLocaleList||{},[i]:o}}}case qe.SET_ERROR_REQUEST_LOCALE_LIST:{const{language:i,error:o}=t;return{...e,requestsLocaleListInProgress:{...e.requestsLocaleListInProgress||{},[i]:!1},errorsRequestLocaleList:{...e.errorsRequestLocaleList||{},[i]:o}}}case qe.SET_LOCALE_LIST:{const{language:i,localeList:o}=t;return{...e,requestsLocaleListInProgress:{...e.requestsLocaleListInProgress||{},[i]:!1},requestsLocaleList:{...e.requestsLocaleList||{},[i]:Promise.resolve(o)},localeLists:{...e.localeLists||{},[i]:o}}}default:return e}},translateAPI:function(e={},t){switch(t.type){case Ue.SET_REQUEST_TRANSLATION_IN_PROGRESS:{const{language:i,request:o}=t;return{...e,requestsTranslationInProgress:{...e.requestsTranslationInProgress||{},[i]:!0},requestsTranslation:{...e.requestsTranslation||{},[i]:o}}}case Ue.SET_ERROR_REQUEST_TRANSLATION:{const{language:i,error:o}=t;return{...e,requestsTranslationInProgress:{...e.requestsTranslationInProgress||{},[i]:!1},errorsRequestTranslation:{...e.errorsRequestTranslation||{},[i]:o}}}case Ue.SET_TRANSLATION:{const{language:i,translation:o}=t;return{...e,requestsTranslationInProgress:{...e.requestsTranslationInProgress||{},[i]:!1},requestsTranslation:{...e.requestsTranslation||{},[i]:Promise.resolve(o)},translations:{...e.translations||{},[i]:o}}}default:return e}},profileAPI:function(e={},t){switch(t.type){case Be.SET_ERROR_REQUEST_USER_STATUS:{const{error:i}=t;return{...e,errorGetUserStatus:i}}case Be.SET_USER_STATUS:{const{request:i}=t;return{...e,request:i}}default:return e}},searchAPI:function(e={},t){switch(t.type){case Ge.SET_CURRENT_SEARCH_QUERY_STRING:{const{searchQueryString:i}=t;return{...e,currentSearchQueryString:i}}case Ge.SET_REQUEST_SEARCH_RESULTS_IN_PROGRESS:{var i,o;const{language:r,searchQueryString:n,request:a}=t,{requestsSearchResultsInProgress:s={},requestsSearchResults:d={}}=e;return{...e,requestsSearchResultsInProgress:{...s,[n]:{...null!==(i=s[n])&&void 0!==i?i:{},[r]:!0}},requestsSearchResults:{...d,[n]:{...null!==(o=d[n])&&void 0!==o?o:{},[r]:a}}}}case Ge.SET_ERROR_REQUEST_SEARCH_RESULTS:{var r,n;const{language:i,searchQueryString:o,error:a}=t,{requestsSearchResultsInProgress:s={},errorsRequestSearchResults:d={}}=e;return{...e,requestsSearchResultsInProgress:{...s,[o]:{...null!==(r=s[o])&&void 0!==r?r:{},[i]:!1}},errorsRequestSearchResults:{...d,[o]:{...null!==(n=d[o])&&void 0!==n?n:{},[i]:a}}}}case Ge.SET_SEARCH_RESULTS:{var a,s,d;const{language:i,searchQueryString:o,results:r}=t,{requestsSearchResultsInProgress:n={},requestsSearchResults:l={},searchResults:c={}}=e;return{...e,requestsSearchResultsInProgress:{...n,[o]:{...null!==(a=n[o])&&void 0!==a?a:{},[i]:!1}},requestsSearchResults:{...l,[o]:{...null!==(s=l[o])&&void 0!==s?s:{},[i]:Promise.resolve(r)}},searchResults:{...c,[o]:{...null!==(d=c[o])&&void 0!==d?d:{},[i]:r}}}}default:return e}},kalturaPlayerAPI:function(e={},t){switch(t.type){case He.SET_REQUEST_MEDIA_DATA_IN_PROGRESS:{const{mediaId:i,request:o}=t;return{...e,requestsMediaDataInProgress:{...e.requestsMediaDataInProgress||{},[i]:!0},requestsMediaData:{...e.requestsMediaData||{},[i]:o}}}case He.SET_ERROR_REQUEST_MEDIA_DATA:{const{mediaId:i,error:o}=t;return{...e,requestsMediaDataInProgress:{...e.requestsMediaDataInProgress||{},[i]:!1},errorsRequestMediaData:{...e.errorsRequestMediaData||{},[i]:o}}}case He.SET_MEDIA_DATA:{const{mediaId:i,mediaData:o}=t;return{...e,requestsMediaDataInProgress:{...e.requestsMediaDataInProgress||{},[i]:!1},requestsMediaData:{...e.requestsMediaData||{},[i]:Promise.resolve(o)},mediaData:{...e.mediaData||{},[i]:o}}}default:return e}},cloudAccountAuthAPI:function(e={},t){switch(t.type){case We.SET_ERROR_REQUEST_USER_STATUS:{const{error:i}=t;return{...e,errorGetUserStatus:i}}case We.SET_USER_STATUS:{const{request:i}=t;return{...e,request:i}}default:return e}}}),Ye=[Ne];
413
410
  /**
414
411
  * @license
415
412
  *
@@ -693,7 +690,7 @@ var bb=pe(["a,abbr,acronym,address,applet,article,aside,audio,b,big,blockquote,b
693
690
  *
694
691
  * This source code is licensed under the Apache-2.0 license found in the
695
692
  * LICENSE file in the root directory of this source tree.
696
- */;let Kb,Jb=e=>e;function eh(){eh=function(){return e};var e={elementsDefinitionOrder:[["method"],["field"]],initializeInstanceElements:function(e,t){["method","field"].forEach((function(i){t.forEach((function(t){t.kind===i&&"own"===t.placement&&this.defineClassElement(e,t)}),this)}),this)},initializeClassElements:function(e,t){var i=e.prototype;["method","field"].forEach((function(o){t.forEach((function(t){var r=t.placement;if(t.kind===o&&("static"===r||"prototype"===r)){var n="static"===r?e:i;this.defineClassElement(n,t)}}),this)}),this)},defineClassElement:function(e,t){var i=t.descriptor;if("field"===t.kind){var o=t.initializer;i={enumerable:i.enumerable,writable:i.writable,configurable:i.configurable,value:void 0===o?void 0:o.call(e)}}Object.defineProperty(e,t.key,i)},decorateClass:function(e,t){var i=[],o=[],r={static:[],prototype:[],own:[]};if(e.forEach((function(e){this.addElementPlacement(e,r)}),this),e.forEach((function(e){if(!oh(e))return i.push(e);var t=this.decorateElement(e,r);i.push(t.element),i.push.apply(i,t.extras),o.push.apply(o,t.finishers)}),this),!t)return{elements:i,finishers:o};var n=this.decorateConstructor(i,t);return o.push.apply(o,n.finishers),n.finishers=o,n},addElementPlacement:function(e,t,i){var o=t[e.placement];if(!i&&-1!==o.indexOf(e.key))throw new TypeError("Duplicated element ("+e.key+")");o.push(e.key)},decorateElement:function(e,t){for(var i=[],o=[],r=e.decorators,n=r.length-1;n>=0;n--){var a=t[e.placement];a.splice(a.indexOf(e.key),1);var s=this.fromElementDescriptor(e),d=this.toElementFinisherExtras((0,r[n])(s)||s);e=d.element,this.addElementPlacement(e,t),d.finisher&&o.push(d.finisher);var l=d.extras;if(l){for(var c=0;c<l.length;c++)this.addElementPlacement(l[c],t);i.push.apply(i,l)}}return{element:e,finishers:o,extras:i}},decorateConstructor:function(e,t){for(var i=[],o=t.length-1;o>=0;o--){var r=this.fromClassDescriptor(e),n=this.toClassDescriptor((0,t[o])(r)||r);if(void 0!==n.finisher&&i.push(n.finisher),void 0!==n.elements){e=n.elements;for(var a=0;a<e.length-1;a++)for(var s=a+1;s<e.length;s++)if(e[a].key===e[s].key&&e[a].placement===e[s].placement)throw new TypeError("Duplicated element ("+e[a].key+")")}}return{elements:e,finishers:i}},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 sh(e,t);var i=Object.prototype.toString.call(e).slice(8,-1);return"Object"===i&&e.constructor&&(i=e.constructor.name),"Map"===i||"Set"===i?Array.from(e):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?sh(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 i=ah(e.key),o=String(e.placement);if("static"!==o&&"prototype"!==o&&"own"!==o)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 "'+o+'"');var r=e.descriptor;this.disallowProperty(e,"elements","An element descriptor");var n={kind:t,key:i,placement:o,descriptor:Object.assign({},r)};return"field"!==t?this.disallowProperty(e,"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=e.initializer),n},toElementFinisherExtras:function(e){return{element:this.toElementDescriptor(e),finisher:nh(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 i=nh(e,"finisher");return{elements:this.toElementDescriptors(e.elements),finisher:i}},runClassFinishers:function(e,t){for(var i=0;i<t.length;i++){var o=(0,t[i])(e);if(void 0!==o){if("function"!=typeof o)throw new TypeError("Finishers must return a constructor.");e=o}}return e},disallowProperty:function(e,t,i){if(void 0!==e[t])throw new TypeError(i+" can't have a ."+t+" property.")}};return e}function th(e){var t,i=ah(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 o={kind:"field"===e.kind?"field":"method",key:i,placement:e.static?"static":"field"===e.kind?"own":"prototype",descriptor:t};return e.decorators&&(o.decorators=e.decorators),"field"===e.kind&&(o.initializer=e.value),o}function ih(e,t){void 0!==e.descriptor.get?t.descriptor.get=e.descriptor.get:t.descriptor.set=e.descriptor.set}function oh(e){return e.decorators&&e.decorators.length}function rh(e){return void 0!==e&&!(void 0===e.value&&void 0===e.writable)}function nh(e,t){var i=e[t];if(void 0!==i&&"function"!=typeof i)throw new TypeError("Expected '"+t+"' to be a function");return i}function ah(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var i=e[Symbol.toPrimitive];if(void 0!==i){var o=i.call(e,t||"default");if("object"!=typeof o)return o;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 sh(e,t){(null==t||t>e.length)&&(t=e.length);for(var i=0,o=new Array(t);i<t;i++)o[i]=e[i];return o}const{prefix:dh}=dd,{stablePrefix:lh}=ue;let ch,bh=function(e,t,i,o){var r=eh();if(o)for(var n=0;n<o.length;n++)r=o[n](r);var a=t((function(e){r.initializeInstanceElements(e,s.elements)}),i),s=r.decorateClass(function(e){for(var t=[],i=function(e){return"method"===e.kind&&e.key===n.key&&e.placement===n.placement},o=0;o<e.length;o++){var r,n=e[o];if("method"===n.kind&&(r=t.find(i)))if(rh(n.descriptor)||rh(r.descriptor)){if(oh(n)||oh(r))throw new ReferenceError("Duplicated methods ("+n.key+") can't be decorated.");r.descriptor=n.descriptor}else{if(oh(n)){if(oh(r))throw new ReferenceError("Decorators can't be placed on different accessors with for the same property ("+n.key+").");r.decorators=n.decorators}ih(n,r)}else t.push(n)}return t}(a.d.map(th)),e);return r.initializeClassElements(a.F,s.elements),r.runClassFinishers(a.F,s.finishers)}([ie(`${lh}-masthead-profile`)],(function(e,t){return{F:class extends t{constructor(...t){super(...t),e(this)}},d:[{kind:"field",decorators:[se("a")],key:"_trigger",value:void 0},{kind:"method",key:"_handleClick",value:function(){this._handleUserInitiatedToggle()}},{kind:"method",key:"_handleUserInitiatedToggle",value:function(e=!this.expanded){this.expanded=e,e||this._trigger.focus()}},{kind:"method",decorators:[Es("focusout")],key:"_handleBlur",value:function({relatedTarget:e}){this.contains(e)||(this.expanded=!1)}},{kind:"method",decorators:[Es("keydown")],key:"_handleKeydown",value:function({key:e}){"Esc"!==e&&"Escape"!==e||this._handleUserInitiatedToggle(!1)}},{kind:"field",decorators:[ne({type:Boolean,reflect:!0})],key:"authenticated",value:()=>!1},{kind:"field",decorators:[ne({type:Boolean,reflect:!0})],key:"expanded",value:()=>!1},{kind:"field",decorators:[ne({attribute:"menu-label"})],key:"menuLabel",value:void 0},{kind:"field",decorators:[ne({attribute:"trigger-label"})],key:"triggerLabel",value:()=>"User profile"},{kind:"method",key:"createRenderRoot",value:function(){var e;return this.attachShadow({mode:"open",delegatesFocus:Number((null!==(e=/Safari\/(\d+)/.exec(navigator.userAgent))&&void 0!==e?e:["",0])[1])<=537})}},{kind:"method",key:"render",value:function(){const{authenticated:e,expanded:t,menuLabel:i,triggerLabel:o,_handleClick:r}=this;return B(Kb||(Kb=Jb` <a role="button" tabindex="0" class="${0}--header__menu-item ${0}--header__menu-title" href="javascript:void 0" aria-expanded="${0}" aria-label="${0}" @click="${0}"> ${0} </a> <ul class="${0}--header__menu" aria-label="${0}"> <slot></slot> </ul> `),dh,dh,String(Boolean(t)),ys(o),r,e?(({children:e,...t}={})=>G`<svg focusable="false" preserveAspectRatio="xMidYMid meet" xmlns="http://www.w3.org/2000/svg" fill="currentColor" ...="${pd(t)}" aria-hidden="true" width="20" height="20" viewBox="0 0 32 32">${e}<circle cx="26" cy="16" r="4"></circle><path d="M22 30H20V25a5 5 0 00-5-5H9a5 5 0 00-5 5v5H2V25a7 7 0 017-7h6a7 7 0 017 7zM12 4A5 5 0 117 9a5 5 0 015-5m0-2a7 7 0 107 7A7 7 0 0012 2z"></path></svg>`)():Zb(),dh,ys(i))}},{kind:"get",static:!0,key:"stableSelector",value:function(){return`${lh}--masthead-profile`}},{kind:"field",static:!0,key:"styles",value:()=>jl}]}}),Ts(zd(cd(fe)))),hh=e=>e;const{prefix:ph}=dd;let xh=md([],(function(e,t){return{F:class extends t{constructor(...t){super(...t),e(this)}},d:[{kind:"field",decorators:[ne()],key:"href",value:void 0},{kind:"field",decorators:[ne()],key:"title",value:void 0},{kind:"field",decorators:[ne({reflect:!0})],key:"role",value:()=>"listitem"},{kind:"method",key:"createRenderRoot",value:function(){var e;return this.attachShadow({mode:"open",delegatesFocus:Number((null!==(e=/Safari\/(\d+)/.exec(navigator.userAgent))&&void 0!==e?e:["",0])[1])<=537})}},{kind:"method",key:"render",value:function(){const{href:e,title:t}=this;return B(ch||(ch=hh` <a part="link" class="${0}--header__menu-item" tabindex="0" href="${0}"> <span part="title" class="${0}--text-truncate--end"><slot>${0}</slot></span> </a> `),ph,ys(e),ph,t)}},{kind:"field",static:!0,key:"styles",value:()=>ub}]}}),zd(fe)),fh=md([],(function(e,t){return{F:class extends t{constructor(...t){super(...t),e(this)}},d:[]}}),xh);function uh(){uh=function(){return e};var e={elementsDefinitionOrder:[["method"],["field"]],initializeInstanceElements:function(e,t){["method","field"].forEach((function(i){t.forEach((function(t){t.kind===i&&"own"===t.placement&&this.defineClassElement(e,t)}),this)}),this)},initializeClassElements:function(e,t){var i=e.prototype;["method","field"].forEach((function(o){t.forEach((function(t){var r=t.placement;if(t.kind===o&&("static"===r||"prototype"===r)){var n="static"===r?e:i;this.defineClassElement(n,t)}}),this)}),this)},defineClassElement:function(e,t){var i=t.descriptor;if("field"===t.kind){var o=t.initializer;i={enumerable:i.enumerable,writable:i.writable,configurable:i.configurable,value:void 0===o?void 0:o.call(e)}}Object.defineProperty(e,t.key,i)},decorateClass:function(e,t){var i=[],o=[],r={static:[],prototype:[],own:[]};if(e.forEach((function(e){this.addElementPlacement(e,r)}),this),e.forEach((function(e){if(!vh(e))return i.push(e);var t=this.decorateElement(e,r);i.push(t.element),i.push.apply(i,t.extras),o.push.apply(o,t.finishers)}),this),!t)return{elements:i,finishers:o};var n=this.decorateConstructor(i,t);return o.push.apply(o,n.finishers),n.finishers=o,n},addElementPlacement:function(e,t,i){var o=t[e.placement];if(!i&&-1!==o.indexOf(e.key))throw new TypeError("Duplicated element ("+e.key+")");o.push(e.key)},decorateElement:function(e,t){for(var i=[],o=[],r=e.decorators,n=r.length-1;n>=0;n--){var a=t[e.placement];a.splice(a.indexOf(e.key),1);var s=this.fromElementDescriptor(e),d=this.toElementFinisherExtras((0,r[n])(s)||s);e=d.element,this.addElementPlacement(e,t),d.finisher&&o.push(d.finisher);var l=d.extras;if(l){for(var c=0;c<l.length;c++)this.addElementPlacement(l[c],t);i.push.apply(i,l)}}return{element:e,finishers:o,extras:i}},decorateConstructor:function(e,t){for(var i=[],o=t.length-1;o>=0;o--){var r=this.fromClassDescriptor(e),n=this.toClassDescriptor((0,t[o])(r)||r);if(void 0!==n.finisher&&i.push(n.finisher),void 0!==n.elements){e=n.elements;for(var a=0;a<e.length-1;a++)for(var s=a+1;s<e.length;s++)if(e[a].key===e[s].key&&e[a].placement===e[s].placement)throw new TypeError("Duplicated element ("+e[a].key+")")}}return{elements:e,finishers:i}},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 kh(e,t);var i=Object.prototype.toString.call(e).slice(8,-1);return"Object"===i&&e.constructor&&(i=e.constructor.name),"Map"===i||"Set"===i?Array.from(e):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?kh(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 i=wh(e.key),o=String(e.placement);if("static"!==o&&"prototype"!==o&&"own"!==o)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 "'+o+'"');var r=e.descriptor;this.disallowProperty(e,"elements","An element descriptor");var n={kind:t,key:i,placement:o,descriptor:Object.assign({},r)};return"field"!==t?this.disallowProperty(e,"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=e.initializer),n},toElementFinisherExtras:function(e){return{element:this.toElementDescriptor(e),finisher:yh(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 i=yh(e,"finisher");return{elements:this.toElementDescriptors(e.elements),finisher:i}},runClassFinishers:function(e,t){for(var i=0;i<t.length;i++){var o=(0,t[i])(e);if(void 0!==o){if("function"!=typeof o)throw new TypeError("Finishers must return a constructor.");e=o}}return e},disallowProperty:function(e,t,i){if(void 0!==e[t])throw new TypeError(i+" can't have a ."+t+" property.")}};return e}function gh(e){var t,i=wh(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 o={kind:"field"===e.kind?"field":"method",key:i,placement:e.static?"static":"field"===e.kind?"own":"prototype",descriptor:t};return e.decorators&&(o.decorators=e.decorators),"field"===e.kind&&(o.initializer=e.value),o}function mh(e,t){void 0!==e.descriptor.get?t.descriptor.get=e.descriptor.get:t.descriptor.set=e.descriptor.set}function vh(e){return e.decorators&&e.decorators.length}function _h(e){return void 0!==e&&!(void 0===e.value&&void 0===e.writable)}function yh(e,t){var i=e[t];if(void 0!==i&&"function"!=typeof i)throw new TypeError("Expected '"+t+"' to be a function");return i}function wh(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var i=e[Symbol.toPrimitive];if(void 0!==i){var o=i.call(e,t||"default");if("object"!=typeof o)return o;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 kh(e,t){(null==t||t>e.length)&&(t=e.length);for(var i=0,o=new Array(t);i<t;i++)o[i]=e[i];return o}const{stablePrefix:Eh}=ue;!function(e,t,i,o){var r=uh();if(o)for(var n=0;n<o.length;n++)r=o[n](r);var a=t((function(e){r.initializeInstanceElements(e,s.elements)}),i),s=r.decorateClass(function(e){for(var t=[],i=function(e){return"method"===e.kind&&e.key===n.key&&e.placement===n.placement},o=0;o<e.length;o++){var r,n=e[o];if("method"===n.kind&&(r=t.find(i)))if(_h(n.descriptor)||_h(r.descriptor)){if(vh(n)||vh(r))throw new ReferenceError("Duplicated methods ("+n.key+") can't be decorated.");r.descriptor=n.descriptor}else{if(vh(n)){if(vh(r))throw new ReferenceError("Decorators can't be placed on different accessors with for the same property ("+n.key+").");r.decorators=n.decorators}mh(n,r)}else t.push(n)}return t}(a.d.map(gh)),e);r.initializeClassElements(a.F,s.elements),r.runClassFinishers(a.F,s.finishers)}([ie(`${Eh}-masthead-profile-item`)],(function(e,t){return{F:class extends t{constructor(...t){super(...t),e(this)}},d:[{kind:"field",static:!0,key:"styles",value:()=>jl},{kind:"method",key:"firstUpdated",value:function(){var e;null===(e=this.shadowRoot)||void 0===e||e.querySelectorAll('[role="menuitem"]').forEach((e=>e.removeAttribute("role")))}}]}}),fh);let Sh,zh=e=>e;function Th(){Th=function(){return e};var e={elementsDefinitionOrder:[["method"],["field"]],initializeInstanceElements:function(e,t){["method","field"].forEach((function(i){t.forEach((function(t){t.kind===i&&"own"===t.placement&&this.defineClassElement(e,t)}),this)}),this)},initializeClassElements:function(e,t){var i=e.prototype;["method","field"].forEach((function(o){t.forEach((function(t){var r=t.placement;if(t.kind===o&&("static"===r||"prototype"===r)){var n="static"===r?e:i;this.defineClassElement(n,t)}}),this)}),this)},defineClassElement:function(e,t){var i=t.descriptor;if("field"===t.kind){var o=t.initializer;i={enumerable:i.enumerable,writable:i.writable,configurable:i.configurable,value:void 0===o?void 0:o.call(e)}}Object.defineProperty(e,t.key,i)},decorateClass:function(e,t){var i=[],o=[],r={static:[],prototype:[],own:[]};if(e.forEach((function(e){this.addElementPlacement(e,r)}),this),e.forEach((function(e){if(!Ch(e))return i.push(e);var t=this.decorateElement(e,r);i.push(t.element),i.push.apply(i,t.extras),o.push.apply(o,t.finishers)}),this),!t)return{elements:i,finishers:o};var n=this.decorateConstructor(i,t);return o.push.apply(o,n.finishers),n.finishers=o,n},addElementPlacement:function(e,t,i){var o=t[e.placement];if(!i&&-1!==o.indexOf(e.key))throw new TypeError("Duplicated element ("+e.key+")");o.push(e.key)},decorateElement:function(e,t){for(var i=[],o=[],r=e.decorators,n=r.length-1;n>=0;n--){var a=t[e.placement];a.splice(a.indexOf(e.key),1);var s=this.fromElementDescriptor(e),d=this.toElementFinisherExtras((0,r[n])(s)||s);e=d.element,this.addElementPlacement(e,t),d.finisher&&o.push(d.finisher);var l=d.extras;if(l){for(var c=0;c<l.length;c++)this.addElementPlacement(l[c],t);i.push.apply(i,l)}}return{element:e,finishers:o,extras:i}},decorateConstructor:function(e,t){for(var i=[],o=t.length-1;o>=0;o--){var r=this.fromClassDescriptor(e),n=this.toClassDescriptor((0,t[o])(r)||r);if(void 0!==n.finisher&&i.push(n.finisher),void 0!==n.elements){e=n.elements;for(var a=0;a<e.length-1;a++)for(var s=a+1;s<e.length;s++)if(e[a].key===e[s].key&&e[a].placement===e[s].placement)throw new TypeError("Duplicated element ("+e[a].key+")")}}return{elements:e,finishers:i}},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 Ih(e,t);var i=Object.prototype.toString.call(e).slice(8,-1);return"Object"===i&&e.constructor&&(i=e.constructor.name),"Map"===i||"Set"===i?Array.from(e):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?Ih(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 i=Rh(e.key),o=String(e.placement);if("static"!==o&&"prototype"!==o&&"own"!==o)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 "'+o+'"');var r=e.descriptor;this.disallowProperty(e,"elements","An element descriptor");var n={kind:t,key:i,placement:o,descriptor:Object.assign({},r)};return"field"!==t?this.disallowProperty(e,"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=e.initializer),n},toElementFinisherExtras:function(e){return{element:this.toElementDescriptor(e),finisher:Dh(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 i=Dh(e,"finisher");return{elements:this.toElementDescriptors(e.elements),finisher:i}},runClassFinishers:function(e,t){for(var i=0;i<t.length;i++){var o=(0,t[i])(e);if(void 0!==o){if("function"!=typeof o)throw new TypeError("Finishers must return a constructor.");e=o}}return e},disallowProperty:function(e,t,i){if(void 0!==e[t])throw new TypeError(i+" can't have a ."+t+" property.")}};return e}function Ah(e){var t,i=Rh(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 o={kind:"field"===e.kind?"field":"method",key:i,placement:e.static?"static":"field"===e.kind?"own":"prototype",descriptor:t};return e.decorators&&(o.decorators=e.decorators),"field"===e.kind&&(o.initializer=e.value),o}function Ph(e,t){void 0!==e.descriptor.get?t.descriptor.get=e.descriptor.get:t.descriptor.set=e.descriptor.set}function Ch(e){return e.decorators&&e.decorators.length}function Oh(e){return void 0!==e&&!(void 0===e.value&&void 0===e.writable)}function Dh(e,t){var i=e[t];if(void 0!==i&&"function"!=typeof i)throw new TypeError("Expected '"+t+"' to be a function");return i}function Rh(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var i=e[Symbol.toPrimitive];if(void 0!==i){var o=i.call(e,t||"default");if("object"!=typeof o)return o;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 Ih(e,t){(null==t||t>e.length)&&(t=e.length);for(var i=0,o=new Array(t);i<t;i++)o[i]=e[i];return o}const{prefix:jh}=dd,{stablePrefix:$h}=ue;let Lh,Nh=function(e,t,i,o){var r=Th();if(o)for(var n=0;n<o.length;n++)r=o[n](r);var a=t((function(e){r.initializeInstanceElements(e,s.elements)}),i),s=r.decorateClass(function(e){for(var t=[],i=function(e){return"method"===e.kind&&e.key===n.key&&e.placement===n.placement},o=0;o<e.length;o++){var r,n=e[o];if("method"===n.kind&&(r=t.find(i)))if(Oh(n.descriptor)||Oh(r.descriptor)){if(Ch(n)||Ch(r))throw new ReferenceError("Duplicated methods ("+n.key+") can't be decorated.");r.descriptor=n.descriptor}else{if(Ch(n)){if(Ch(r))throw new ReferenceError("Decorators can't be placed on different accessors with for the same property ("+n.key+").");r.decorators=n.decorators}Ph(n,r)}else t.push(n)}return t}(a.d.map(Ah)),e);return r.initializeClassElements(a.F,s.elements),r.runClassFinishers(a.F,s.finishers)}([ie(`${$h}-megamenu`)],(function(e,t){return{F:class extends t{constructor(...t){super(...t),e(this)}},d:[{kind:"method",key:"render",value:function(){return B(Sh||(Sh=zh` <div class="${0}--masthead__megamenu__container"> <div class="${0}--masthead__megamenu__container--row"> <slot></slot> </div> </div> `),jh,jh)}},{kind:"get",static:!0,key:"stableSelector",value:function(){return`${$h}--masthead__megamenu`}},{kind:"field",static:!0,key:"styles",value:()=>jl}]}}),cd(fe)),Mh=e=>e;const{prefix:qh}=dd;let Uh=md([],(function(e,t){class i extends t{constructor(...t){super(...t),e(this)}}return{F:i,d:[{kind:"field",decorators:[se("a")],key:"_trigger",value:void 0},{kind:"method",key:"_handleClick",value:function(){this._handleUserInitiatedToggle()}},{kind:"method",key:"_handleKeydownTrigger",value:function({key:e}){"Esc"!==e&&"Escape"!==e||this._handleUserInitiatedToggle(!1)}},{kind:"method",key:"_handleUserInitiatedToggle",value:function(e=!this.expanded){this.expanded=e,e||this._trigger.focus()}},{kind:"method",decorators:[Es("focusout")],key:"_handleBlur",value:function({relatedTarget:e}){this.contains(e)||(this.expanded=!1)}},{kind:"field",decorators:[ne({type:Boolean,reflect:!0})],key:"expanded",value:()=>!1},{kind:"field",decorators:[ne({attribute:"trigger-content"})],key:"triggerContent",value:()=>""},{kind:"field",decorators:[ne({attribute:"menu-label"})],key:"menuLabel",value:void 0},{kind:"method",key:"createRenderRoot",value:function(){return this.attachShadow({mode:"open",delegatesFocus:!0})}},{kind:"method",key:"connectedCallback",value:function(){this.hasAttribute("role")||this.setAttribute("role","listitem"),Tl(zl(i.prototype),"connectedCallback",this).call(this)}},{kind:"method",key:"updated",value:function(e){if(e.has("expanded")){const{selectorItem:e}=this.constructor,{expanded:t}=this;bl(this.querySelectorAll(e),(e=>{e.tabIndex=t?0:-1}))}}},{kind:"method",key:"render",value:function(){const{expanded:e,triggerContent:t,menuLabel:i,_handleClick:o,_handleKeydownTrigger:r}=this;return B(Lh||(Lh=Mh` <a part="trigger" tabindex="0" class="${0}--header__menu-item ${0}--header__menu-title" href="javascript:void 0" aria-haspopup="menu" aria-expanded="${0}" @click="${0}" @keydown="${0}"> ${0}${0} </a> <ul part="menu-body" class="${0}--header__menu" aria-label="${0}"> <slot></slot> </ul> `),qh,qh,String(Boolean(e)),o,r,t,dl({part:"trigger-icon",class:`${qh}--header__menu-arrow`}),qh,ys(i))}},{kind:"get",static:!0,key:"selectorItem",value:function(){return`${qh}-header-menu-item`}},{kind:"field",static:!0,key:"styles",value:()=>ub}]}}),Ts(zd(fe)));function Fh(){Fh=function(){return e};var e={elementsDefinitionOrder:[["method"],["field"]],initializeInstanceElements:function(e,t){["method","field"].forEach((function(i){t.forEach((function(t){t.kind===i&&"own"===t.placement&&this.defineClassElement(e,t)}),this)}),this)},initializeClassElements:function(e,t){var i=e.prototype;["method","field"].forEach((function(o){t.forEach((function(t){var r=t.placement;if(t.kind===o&&("static"===r||"prototype"===r)){var n="static"===r?e:i;this.defineClassElement(n,t)}}),this)}),this)},defineClassElement:function(e,t){var i=t.descriptor;if("field"===t.kind){var o=t.initializer;i={enumerable:i.enumerable,writable:i.writable,configurable:i.configurable,value:void 0===o?void 0:o.call(e)}}Object.defineProperty(e,t.key,i)},decorateClass:function(e,t){var i=[],o=[],r={static:[],prototype:[],own:[]};if(e.forEach((function(e){this.addElementPlacement(e,r)}),this),e.forEach((function(e){if(!Hh(e))return i.push(e);var t=this.decorateElement(e,r);i.push(t.element),i.push.apply(i,t.extras),o.push.apply(o,t.finishers)}),this),!t)return{elements:i,finishers:o};var n=this.decorateConstructor(i,t);return o.push.apply(o,n.finishers),n.finishers=o,n},addElementPlacement:function(e,t,i){var o=t[e.placement];if(!i&&-1!==o.indexOf(e.key))throw new TypeError("Duplicated element ("+e.key+")");o.push(e.key)},decorateElement:function(e,t){for(var i=[],o=[],r=e.decorators,n=r.length-1;n>=0;n--){var a=t[e.placement];a.splice(a.indexOf(e.key),1);var s=this.fromElementDescriptor(e),d=this.toElementFinisherExtras((0,r[n])(s)||s);e=d.element,this.addElementPlacement(e,t),d.finisher&&o.push(d.finisher);var l=d.extras;if(l){for(var c=0;c<l.length;c++)this.addElementPlacement(l[c],t);i.push.apply(i,l)}}return{element:e,finishers:o,extras:i}},decorateConstructor:function(e,t){for(var i=[],o=t.length-1;o>=0;o--){var r=this.fromClassDescriptor(e),n=this.toClassDescriptor((0,t[o])(r)||r);if(void 0!==n.finisher&&i.push(n.finisher),void 0!==n.elements){e=n.elements;for(var a=0;a<e.length-1;a++)for(var s=a+1;s<e.length;s++)if(e[a].key===e[s].key&&e[a].placement===e[s].placement)throw new TypeError("Duplicated element ("+e[a].key+")")}}return{elements:e,finishers:i}},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 Yh(e,t);var i=Object.prototype.toString.call(e).slice(8,-1);return"Object"===i&&e.constructor&&(i=e.constructor.name),"Map"===i||"Set"===i?Array.from(e):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?Yh(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 i=Xh(e.key),o=String(e.placement);if("static"!==o&&"prototype"!==o&&"own"!==o)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 "'+o+'"');var r=e.descriptor;this.disallowProperty(e,"elements","An element descriptor");var n={kind:t,key:i,placement:o,descriptor:Object.assign({},r)};return"field"!==t?this.disallowProperty(e,"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=e.initializer),n},toElementFinisherExtras:function(e){return{element:this.toElementDescriptor(e),finisher:Wh(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 i=Wh(e,"finisher");return{elements:this.toElementDescriptors(e.elements),finisher:i}},runClassFinishers:function(e,t){for(var i=0;i<t.length;i++){var o=(0,t[i])(e);if(void 0!==o){if("function"!=typeof o)throw new TypeError("Finishers must return a constructor.");e=o}}return e},disallowProperty:function(e,t,i){if(void 0!==e[t])throw new TypeError(i+" can't have a ."+t+" property.")}};return e}function Bh(e){var t,i=Xh(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 o={kind:"field"===e.kind?"field":"method",key:i,placement:e.static?"static":"field"===e.kind?"own":"prototype",descriptor:t};return e.decorators&&(o.decorators=e.decorators),"field"===e.kind&&(o.initializer=e.value),o}function Gh(e,t){void 0!==e.descriptor.get?t.descriptor.get=e.descriptor.get:t.descriptor.set=e.descriptor.set}function Hh(e){return e.decorators&&e.decorators.length}function Vh(e){return void 0!==e&&!(void 0===e.value&&void 0===e.writable)}function Wh(e,t){var i=e[t];if(void 0!==i&&"function"!=typeof i)throw new TypeError("Expected '"+t+"' to be a function");return i}function Xh(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var i=e[Symbol.toPrimitive];if(void 0!==i){var o=i.call(e,t||"default");if("object"!=typeof o)return o;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 Yh(e,t){(null==t||t>e.length)&&(t=e.length);for(var i=0,o=new Array(t);i<t;i++)o[i]=e[i];return o}function Qh(){return Qh="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,i){var o=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=Zh(e)););return e}(e,t);if(o){var r=Object.getOwnPropertyDescriptor(o,t);return r.get?r.get.call(arguments.length<3?e:i):r.value}},Qh.apply(this,arguments)}function Zh(e){return Zh=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Zh(e)}const{stablePrefix:Kh}=ue;let Jh=function(e,t,i,o){var r=Fh();if(o)for(var n=0;n<o.length;n++)r=o[n](r);var a=t((function(e){r.initializeInstanceElements(e,s.elements)}),i),s=r.decorateClass(function(e){for(var t=[],i=function(e){return"method"===e.kind&&e.key===n.key&&e.placement===n.placement},o=0;o<e.length;o++){var r,n=e[o];if("method"===n.kind&&(r=t.find(i)))if(Vh(n.descriptor)||Vh(r.descriptor)){if(Hh(n)||Hh(r))throw new ReferenceError("Duplicated methods ("+n.key+") can't be decorated.");r.descriptor=n.descriptor}else{if(Hh(n)){if(Hh(r))throw new ReferenceError("Decorators can't be placed on different accessors with for the same property ("+n.key+").");r.decorators=n.decorators}Gh(n,r)}else t.push(n)}return t}(a.d.map(Bh)),e);return r.initializeClassElements(a.F,s.elements),r.runClassFinishers(a.F,s.finishers)}([ie(`${Kh}-top-nav-menu`)],(function(e,t){class i extends t{constructor(...t){super(...t),e(this)}}return{F:i,d:[{kind:"field",decorators:[se('[part="trigger"]')],key:"_triggerNode",value:void 0},{kind:"field",decorators:[ne({type:Boolean,reflect:!0})],key:"active",value:()=>!1},{kind:"method",key:"updated",value:function(e){var t;if(Qh(Zh(i.prototype),"updated",this).call(this,e),e.has("active")){const{active:e,_triggerNode:t}=this;t&&t.setAttribute("data-selected",String(Boolean(e)))}null===(t=this.shadowRoot)||void 0===t||t.querySelectorAll('[role="menuitem"]').forEach((e=>e.removeAttribute("role")))}},{kind:"method",key:"connectedCallback",value:function(){Qh(Zh(i.prototype),"connectedCallback",this).call(this),this.removeAttribute("role")}},{kind:"field",static:!0,key:"styles",value:()=>jl}]}}),Uh);function ep(){ep=function(){return e};var e={elementsDefinitionOrder:[["method"],["field"]],initializeInstanceElements:function(e,t){["method","field"].forEach((function(i){t.forEach((function(t){t.kind===i&&"own"===t.placement&&this.defineClassElement(e,t)}),this)}),this)},initializeClassElements:function(e,t){var i=e.prototype;["method","field"].forEach((function(o){t.forEach((function(t){var r=t.placement;if(t.kind===o&&("static"===r||"prototype"===r)){var n="static"===r?e:i;this.defineClassElement(n,t)}}),this)}),this)},defineClassElement:function(e,t){var i=t.descriptor;if("field"===t.kind){var o=t.initializer;i={enumerable:i.enumerable,writable:i.writable,configurable:i.configurable,value:void 0===o?void 0:o.call(e)}}Object.defineProperty(e,t.key,i)},decorateClass:function(e,t){var i=[],o=[],r={static:[],prototype:[],own:[]};if(e.forEach((function(e){this.addElementPlacement(e,r)}),this),e.forEach((function(e){if(!op(e))return i.push(e);var t=this.decorateElement(e,r);i.push(t.element),i.push.apply(i,t.extras),o.push.apply(o,t.finishers)}),this),!t)return{elements:i,finishers:o};var n=this.decorateConstructor(i,t);return o.push.apply(o,n.finishers),n.finishers=o,n},addElementPlacement:function(e,t,i){var o=t[e.placement];if(!i&&-1!==o.indexOf(e.key))throw new TypeError("Duplicated element ("+e.key+")");o.push(e.key)},decorateElement:function(e,t){for(var i=[],o=[],r=e.decorators,n=r.length-1;n>=0;n--){var a=t[e.placement];a.splice(a.indexOf(e.key),1);var s=this.fromElementDescriptor(e),d=this.toElementFinisherExtras((0,r[n])(s)||s);e=d.element,this.addElementPlacement(e,t),d.finisher&&o.push(d.finisher);var l=d.extras;if(l){for(var c=0;c<l.length;c++)this.addElementPlacement(l[c],t);i.push.apply(i,l)}}return{element:e,finishers:o,extras:i}},decorateConstructor:function(e,t){for(var i=[],o=t.length-1;o>=0;o--){var r=this.fromClassDescriptor(e),n=this.toClassDescriptor((0,t[o])(r)||r);if(void 0!==n.finisher&&i.push(n.finisher),void 0!==n.elements){e=n.elements;for(var a=0;a<e.length-1;a++)for(var s=a+1;s<e.length;s++)if(e[a].key===e[s].key&&e[a].placement===e[s].placement)throw new TypeError("Duplicated element ("+e[a].key+")")}}return{elements:e,finishers:i}},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 sp(e,t);var i=Object.prototype.toString.call(e).slice(8,-1);return"Object"===i&&e.constructor&&(i=e.constructor.name),"Map"===i||"Set"===i?Array.from(e):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?sp(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 i=ap(e.key),o=String(e.placement);if("static"!==o&&"prototype"!==o&&"own"!==o)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 "'+o+'"');var r=e.descriptor;this.disallowProperty(e,"elements","An element descriptor");var n={kind:t,key:i,placement:o,descriptor:Object.assign({},r)};return"field"!==t?this.disallowProperty(e,"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=e.initializer),n},toElementFinisherExtras:function(e){return{element:this.toElementDescriptor(e),finisher:np(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 i=np(e,"finisher");return{elements:this.toElementDescriptors(e.elements),finisher:i}},runClassFinishers:function(e,t){for(var i=0;i<t.length;i++){var o=(0,t[i])(e);if(void 0!==o){if("function"!=typeof o)throw new TypeError("Finishers must return a constructor.");e=o}}return e},disallowProperty:function(e,t,i){if(void 0!==e[t])throw new TypeError(i+" can't have a ."+t+" property.")}};return e}function tp(e){var t,i=ap(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 o={kind:"field"===e.kind?"field":"method",key:i,placement:e.static?"static":"field"===e.kind?"own":"prototype",descriptor:t};return e.decorators&&(o.decorators=e.decorators),"field"===e.kind&&(o.initializer=e.value),o}function ip(e,t){void 0!==e.descriptor.get?t.descriptor.get=e.descriptor.get:t.descriptor.set=e.descriptor.set}function op(e){return e.decorators&&e.decorators.length}function rp(e){return void 0!==e&&!(void 0===e.value&&void 0===e.writable)}function np(e,t){var i=e[t];if(void 0!==i&&"function"!=typeof i)throw new TypeError("Expected '"+t+"' to be a function");return i}function ap(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var i=e[Symbol.toPrimitive];if(void 0!==i){var o=i.call(e,t||"default");if("object"!=typeof o)return o;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 sp(e,t){(null==t||t>e.length)&&(t=e.length);for(var i=0,o=new Array(t);i<t;i++)o[i]=e[i];return o}function dp(){return dp="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,i){var o=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=lp(e)););return e}(e,t);if(o){var r=Object.getOwnPropertyDescriptor(o,t);return r.get?r.get.call(arguments.length<3?e:i):r.value}},dp.apply(this,arguments)}function lp(e){return lp=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},lp(e)}const{prefix:cp}=dd,{stablePrefix:bp}=ue;!function(e,t,i,o){var r=ep();if(o)for(var n=0;n<o.length;n++)r=o[n](r);var a=t((function(e){r.initializeInstanceElements(e,s.elements)}),i),s=r.decorateClass(function(e){for(var t=[],i=function(e){return"method"===e.kind&&e.key===n.key&&e.placement===n.placement},o=0;o<e.length;o++){var r,n=e[o];if("method"===n.kind&&(r=t.find(i)))if(rp(n.descriptor)||rp(r.descriptor)){if(op(n)||op(r))throw new ReferenceError("Duplicated methods ("+n.key+") can't be decorated.");r.descriptor=n.descriptor}else{if(op(n)){if(op(r))throw new ReferenceError("Decorators can't be placed on different accessors with for the same property ("+n.key+").");r.decorators=n.decorators}ip(n,r)}else t.push(n)}return t}(a.d.map(tp)),e);r.initializeClassElements(a.F,s.elements),r.runClassFinishers(a.F,s.finishers)}([ie(`${bp}-megamenu-top-nav-menu`)],(function(e,t){class i extends t{constructor(...t){super(...t),e(this)}}return{F:i,d:[{kind:"field",decorators:[ne()],key:"megaMenu",value:void 0},{kind:"field",decorators:[se(`.${cp}--header__menu`)],key:"_menuNode",value:void 0},{kind:"field",decorators:[se('[part="trigger"]')],key:"_topMenuItem",value:void 0},{kind:"field",decorators:[ae()],key:"_scrollBarWidth",value(){return this.ownerDocument.defaultView.innerWidth-this.ownerDocument.body.offsetWidth}},{kind:"field",key:"_handleKeydown",value(){return e=>{"Escape"===e.key&&(this.expanded=!1,this._topMenuItem.focus())}}},{kind:"field",key:"_observerResizeRoot",value:()=>null},{kind:"method",key:"_cleanAndCreateObserverResize",value:function({create:e}={}){this._observerResizeRoot&&(this._observerResizeRoot.disconnect(),this._observerResizeRoot=null),e&&(this._observerResizeRoot=new ResizeObserver(this._observeResizeRoot),this._observerResizeRoot.observe(this.ownerDocument.documentElement))}},{kind:"field",key:"_observeResizeRoot",value(){return e=>{const{contentRect:t}=e[e.length-1],{customPropertyViewportWidth:i}=this.constructor;this.style.setProperty(i,`${t.width}px`)}}},{kind:"method",key:"_requestMegaMenuRenderUpdate",value:async function(){return new Promise((e=>{this.dispatchEvent(new CustomEvent("dds-megamenu-top-nav-menu-toggle",{bubbles:!0,cancelable:!0,composed:!0,detail:{active:this.expanded,resolveFn:e}})),setTimeout((()=>{e()}),5e3)}))}},{kind:"method",key:"connectedCallback",value:function(){dp(lp(i.prototype),"connectedCallback",this).call(this),this._cleanAndCreateObserverResize({create:!0}),this.addEventListener("keydown",this._handleKeydown)}},{kind:"method",key:"disconnectedCallback",value:function(){this._cleanAndCreateObserverResize(),dp(lp(i.prototype),"disconnectedCallback",this).call(this)}},{kind:"method",key:"firstUpdated",value:function(){this._menuNode.removeAttribute("role"),this._cleanAndCreateObserverResize({create:!0}),this.hasAttribute("role")&&"listitem"===this.getAttribute("role")&&this.removeAttribute("role")}},{kind:"method",key:"updated",value:async function(e){if(dp(lp(i.prototype),"updated",this).call(this,e),e.has("expanded")){var t;const i=this.getRootNode();rl(i.querySelectorAll(this.constructor.selectorOverlay),(e=>{e.active=this.expanded}));const o=i.querySelector("dds-masthead"),r=null===(t=i.querySelector("dds-cloud-masthead-container"))||void 0===t?void 0:t.querySelector("dds-masthead");this.expanded?(this.parentElement.importedMegamenu||(await import("./megamenu-left-navigation-f5a56304.js"),await import("./megamenu-category-link-85765223.js"),await import("./megamenu-category-group-8cbc1051.js"),await import("./megamenu-category-group-copy-e8ddf70b.js"),await Promise.resolve().then((function(){return Ql})),await import("./megamenu-overlay-4bf9a54b.js"),this.parentElement.importedMegamenu=!0),await this._requestMegaMenuRenderUpdate(),document.body.style.marginInlineStart=`${this._scrollBarWidth}px`,document.body.style.overflow="hidden",rl(i.querySelectorAll(this.constructor.selectorOverlay),(e=>{e.active=this.expanded})),r?i.body.classList.contains("ibm-masthead-sticky")&&i.body.classList.contains("ibm-masthead-sticky-showing")&&(r.style.marginInlineEnd=`${this._scrollBarWidth}px`):o&&(o.style.marginInlineEnd=`${this._scrollBarWidth}px`)):(document.body.style.marginInlineStart="0px",document.body.style.overflow="",r?i.body.classList.contains("ibm-masthead-sticky")&&i.body.classList.contains("ibm-masthead-sticky-showing")&&(r.style.marginInlineEnd="0px"):o&&(o.style.marginInlineEnd="0px"),!1===e.get("expanded")&&setTimeout((()=>{const{activeElement:e}=document;null!==e&&"body"!==e.tagName.toLowerCase()||this._topMenuItem.focus()}),0),setTimeout((()=>{this._requestMegaMenuRenderUpdate()}),500))}}},{kind:"get",static:!0,key:"customPropertyViewportWidth",value:function(){return`--${bp}-ce--viewport-width`}},{kind:"get",static:!0,key:"selectorOverlay",value:function(){return`${bp}-megamenu-overlay`}},{kind:"field",static:!0,key:"styles",value:()=>jl}]}}),Jh);
693
+ */;let Kb,Jb=e=>e;function eh(){eh=function(){return e};var e={elementsDefinitionOrder:[["method"],["field"]],initializeInstanceElements:function(e,t){["method","field"].forEach((function(i){t.forEach((function(t){t.kind===i&&"own"===t.placement&&this.defineClassElement(e,t)}),this)}),this)},initializeClassElements:function(e,t){var i=e.prototype;["method","field"].forEach((function(o){t.forEach((function(t){var r=t.placement;if(t.kind===o&&("static"===r||"prototype"===r)){var n="static"===r?e:i;this.defineClassElement(n,t)}}),this)}),this)},defineClassElement:function(e,t){var i=t.descriptor;if("field"===t.kind){var o=t.initializer;i={enumerable:i.enumerable,writable:i.writable,configurable:i.configurable,value:void 0===o?void 0:o.call(e)}}Object.defineProperty(e,t.key,i)},decorateClass:function(e,t){var i=[],o=[],r={static:[],prototype:[],own:[]};if(e.forEach((function(e){this.addElementPlacement(e,r)}),this),e.forEach((function(e){if(!oh(e))return i.push(e);var t=this.decorateElement(e,r);i.push(t.element),i.push.apply(i,t.extras),o.push.apply(o,t.finishers)}),this),!t)return{elements:i,finishers:o};var n=this.decorateConstructor(i,t);return o.push.apply(o,n.finishers),n.finishers=o,n},addElementPlacement:function(e,t,i){var o=t[e.placement];if(!i&&-1!==o.indexOf(e.key))throw new TypeError("Duplicated element ("+e.key+")");o.push(e.key)},decorateElement:function(e,t){for(var i=[],o=[],r=e.decorators,n=r.length-1;n>=0;n--){var a=t[e.placement];a.splice(a.indexOf(e.key),1);var s=this.fromElementDescriptor(e),d=this.toElementFinisherExtras((0,r[n])(s)||s);e=d.element,this.addElementPlacement(e,t),d.finisher&&o.push(d.finisher);var l=d.extras;if(l){for(var c=0;c<l.length;c++)this.addElementPlacement(l[c],t);i.push.apply(i,l)}}return{element:e,finishers:o,extras:i}},decorateConstructor:function(e,t){for(var i=[],o=t.length-1;o>=0;o--){var r=this.fromClassDescriptor(e),n=this.toClassDescriptor((0,t[o])(r)||r);if(void 0!==n.finisher&&i.push(n.finisher),void 0!==n.elements){e=n.elements;for(var a=0;a<e.length-1;a++)for(var s=a+1;s<e.length;s++)if(e[a].key===e[s].key&&e[a].placement===e[s].placement)throw new TypeError("Duplicated element ("+e[a].key+")")}}return{elements:e,finishers:i}},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 sh(e,t);var i=Object.prototype.toString.call(e).slice(8,-1);return"Object"===i&&e.constructor&&(i=e.constructor.name),"Map"===i||"Set"===i?Array.from(e):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?sh(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 i=ah(e.key),o=String(e.placement);if("static"!==o&&"prototype"!==o&&"own"!==o)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 "'+o+'"');var r=e.descriptor;this.disallowProperty(e,"elements","An element descriptor");var n={kind:t,key:i,placement:o,descriptor:Object.assign({},r)};return"field"!==t?this.disallowProperty(e,"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=e.initializer),n},toElementFinisherExtras:function(e){return{element:this.toElementDescriptor(e),finisher:nh(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 i=nh(e,"finisher");return{elements:this.toElementDescriptors(e.elements),finisher:i}},runClassFinishers:function(e,t){for(var i=0;i<t.length;i++){var o=(0,t[i])(e);if(void 0!==o){if("function"!=typeof o)throw new TypeError("Finishers must return a constructor.");e=o}}return e},disallowProperty:function(e,t,i){if(void 0!==e[t])throw new TypeError(i+" can't have a ."+t+" property.")}};return e}function th(e){var t,i=ah(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 o={kind:"field"===e.kind?"field":"method",key:i,placement:e.static?"static":"field"===e.kind?"own":"prototype",descriptor:t};return e.decorators&&(o.decorators=e.decorators),"field"===e.kind&&(o.initializer=e.value),o}function ih(e,t){void 0!==e.descriptor.get?t.descriptor.get=e.descriptor.get:t.descriptor.set=e.descriptor.set}function oh(e){return e.decorators&&e.decorators.length}function rh(e){return void 0!==e&&!(void 0===e.value&&void 0===e.writable)}function nh(e,t){var i=e[t];if(void 0!==i&&"function"!=typeof i)throw new TypeError("Expected '"+t+"' to be a function");return i}function ah(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var i=e[Symbol.toPrimitive];if(void 0!==i){var o=i.call(e,t||"default");if("object"!=typeof o)return o;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 sh(e,t){(null==t||t>e.length)&&(t=e.length);for(var i=0,o=new Array(t);i<t;i++)o[i]=e[i];return o}const{prefix:dh}=dd,{stablePrefix:lh}=ue;let ch,bh=function(e,t,i,o){var r=eh();if(o)for(var n=0;n<o.length;n++)r=o[n](r);var a=t((function(e){r.initializeInstanceElements(e,s.elements)}),i),s=r.decorateClass(function(e){for(var t=[],i=function(e){return"method"===e.kind&&e.key===n.key&&e.placement===n.placement},o=0;o<e.length;o++){var r,n=e[o];if("method"===n.kind&&(r=t.find(i)))if(rh(n.descriptor)||rh(r.descriptor)){if(oh(n)||oh(r))throw new ReferenceError("Duplicated methods ("+n.key+") can't be decorated.");r.descriptor=n.descriptor}else{if(oh(n)){if(oh(r))throw new ReferenceError("Decorators can't be placed on different accessors with for the same property ("+n.key+").");r.decorators=n.decorators}ih(n,r)}else t.push(n)}return t}(a.d.map(th)),e);return r.initializeClassElements(a.F,s.elements),r.runClassFinishers(a.F,s.finishers)}([ie(`${lh}-masthead-profile`)],(function(e,t){return{F:class extends t{constructor(...t){super(...t),e(this)}},d:[{kind:"field",decorators:[se("a")],key:"_trigger",value:void 0},{kind:"method",key:"_handleClick",value:function(){this._handleUserInitiatedToggle()}},{kind:"method",key:"_handleUserInitiatedToggle",value:function(e=!this.expanded){this.expanded=e,e||this._trigger.focus()}},{kind:"method",decorators:[Es("focusout")],key:"_handleBlur",value:function({relatedTarget:e}){this.contains(e)||(this.expanded=!1)}},{kind:"method",decorators:[Es("keydown")],key:"_handleKeydown",value:function({key:e}){"Esc"!==e&&"Escape"!==e||this._handleUserInitiatedToggle(!1)}},{kind:"field",decorators:[ne({type:Boolean,reflect:!0})],key:"authenticated",value:()=>!1},{kind:"field",decorators:[ne({type:Boolean,reflect:!0})],key:"expanded",value:()=>!1},{kind:"field",decorators:[ne({attribute:"menu-label"})],key:"menuLabel",value:void 0},{kind:"field",decorators:[ne({attribute:"trigger-label"})],key:"triggerLabel",value:()=>"User profile"},{kind:"method",key:"createRenderRoot",value:function(){var e;return this.attachShadow({mode:"open",delegatesFocus:Number((null!==(e=/Safari\/(\d+)/.exec(navigator.userAgent))&&void 0!==e?e:["",0])[1])<=537})}},{kind:"method",key:"render",value:function(){const{authenticated:e,expanded:t,menuLabel:i,triggerLabel:o,_handleClick:r}=this;return B(Kb||(Kb=Jb` <a role="button" tabindex="0" class="${0}--header__menu-item ${0}--header__menu-title" href="javascript:void 0" aria-expanded="${0}" aria-label="${0}" @click="${0}"> ${0} </a> <ul class="${0}--header__menu" aria-label="${0}"> <slot></slot> </ul> `),dh,dh,String(Boolean(t)),ys(o),r,e?(({children:e,...t}={})=>G`<svg focusable="false" preserveAspectRatio="xMidYMid meet" xmlns="http://www.w3.org/2000/svg" fill="currentColor" ...="${pd(t)}" aria-hidden="true" width="20" height="20" viewBox="0 0 32 32">${e}<circle cx="26" cy="16" r="4"></circle><path d="M22 30H20V25a5 5 0 00-5-5H9a5 5 0 00-5 5v5H2V25a7 7 0 017-7h6a7 7 0 017 7zM12 4A5 5 0 117 9a5 5 0 015-5m0-2a7 7 0 107 7A7 7 0 0012 2z"></path></svg>`)():Zb(),dh,ys(i))}},{kind:"get",static:!0,key:"stableSelector",value:function(){return`${lh}--masthead-profile`}},{kind:"field",static:!0,key:"styles",value:()=>jl}]}}),Ts(zd(cd(fe)))),hh=e=>e;const{prefix:ph}=dd;let xh=md([],(function(e,t){return{F:class extends t{constructor(...t){super(...t),e(this)}},d:[{kind:"field",decorators:[ne()],key:"href",value:void 0},{kind:"field",decorators:[ne()],key:"title",value:void 0},{kind:"field",decorators:[ne({reflect:!0})],key:"role",value:()=>"listitem"},{kind:"method",key:"createRenderRoot",value:function(){var e;return this.attachShadow({mode:"open",delegatesFocus:Number((null!==(e=/Safari\/(\d+)/.exec(navigator.userAgent))&&void 0!==e?e:["",0])[1])<=537})}},{kind:"method",key:"render",value:function(){const{href:e,title:t}=this;return B(ch||(ch=hh` <a part="link" class="${0}--header__menu-item" tabindex="0" href="${0}"> <span part="title" class="${0}--text-truncate--end"><slot>${0}</slot></span> </a> `),ph,ys(e),ph,t)}},{kind:"field",static:!0,key:"styles",value:()=>ub}]}}),zd(fe)),fh=md([],(function(e,t){return{F:class extends t{constructor(...t){super(...t),e(this)}},d:[]}}),xh);function uh(){uh=function(){return e};var e={elementsDefinitionOrder:[["method"],["field"]],initializeInstanceElements:function(e,t){["method","field"].forEach((function(i){t.forEach((function(t){t.kind===i&&"own"===t.placement&&this.defineClassElement(e,t)}),this)}),this)},initializeClassElements:function(e,t){var i=e.prototype;["method","field"].forEach((function(o){t.forEach((function(t){var r=t.placement;if(t.kind===o&&("static"===r||"prototype"===r)){var n="static"===r?e:i;this.defineClassElement(n,t)}}),this)}),this)},defineClassElement:function(e,t){var i=t.descriptor;if("field"===t.kind){var o=t.initializer;i={enumerable:i.enumerable,writable:i.writable,configurable:i.configurable,value:void 0===o?void 0:o.call(e)}}Object.defineProperty(e,t.key,i)},decorateClass:function(e,t){var i=[],o=[],r={static:[],prototype:[],own:[]};if(e.forEach((function(e){this.addElementPlacement(e,r)}),this),e.forEach((function(e){if(!vh(e))return i.push(e);var t=this.decorateElement(e,r);i.push(t.element),i.push.apply(i,t.extras),o.push.apply(o,t.finishers)}),this),!t)return{elements:i,finishers:o};var n=this.decorateConstructor(i,t);return o.push.apply(o,n.finishers),n.finishers=o,n},addElementPlacement:function(e,t,i){var o=t[e.placement];if(!i&&-1!==o.indexOf(e.key))throw new TypeError("Duplicated element ("+e.key+")");o.push(e.key)},decorateElement:function(e,t){for(var i=[],o=[],r=e.decorators,n=r.length-1;n>=0;n--){var a=t[e.placement];a.splice(a.indexOf(e.key),1);var s=this.fromElementDescriptor(e),d=this.toElementFinisherExtras((0,r[n])(s)||s);e=d.element,this.addElementPlacement(e,t),d.finisher&&o.push(d.finisher);var l=d.extras;if(l){for(var c=0;c<l.length;c++)this.addElementPlacement(l[c],t);i.push.apply(i,l)}}return{element:e,finishers:o,extras:i}},decorateConstructor:function(e,t){for(var i=[],o=t.length-1;o>=0;o--){var r=this.fromClassDescriptor(e),n=this.toClassDescriptor((0,t[o])(r)||r);if(void 0!==n.finisher&&i.push(n.finisher),void 0!==n.elements){e=n.elements;for(var a=0;a<e.length-1;a++)for(var s=a+1;s<e.length;s++)if(e[a].key===e[s].key&&e[a].placement===e[s].placement)throw new TypeError("Duplicated element ("+e[a].key+")")}}return{elements:e,finishers:i}},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 kh(e,t);var i=Object.prototype.toString.call(e).slice(8,-1);return"Object"===i&&e.constructor&&(i=e.constructor.name),"Map"===i||"Set"===i?Array.from(e):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?kh(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 i=wh(e.key),o=String(e.placement);if("static"!==o&&"prototype"!==o&&"own"!==o)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 "'+o+'"');var r=e.descriptor;this.disallowProperty(e,"elements","An element descriptor");var n={kind:t,key:i,placement:o,descriptor:Object.assign({},r)};return"field"!==t?this.disallowProperty(e,"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=e.initializer),n},toElementFinisherExtras:function(e){return{element:this.toElementDescriptor(e),finisher:yh(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 i=yh(e,"finisher");return{elements:this.toElementDescriptors(e.elements),finisher:i}},runClassFinishers:function(e,t){for(var i=0;i<t.length;i++){var o=(0,t[i])(e);if(void 0!==o){if("function"!=typeof o)throw new TypeError("Finishers must return a constructor.");e=o}}return e},disallowProperty:function(e,t,i){if(void 0!==e[t])throw new TypeError(i+" can't have a ."+t+" property.")}};return e}function gh(e){var t,i=wh(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 o={kind:"field"===e.kind?"field":"method",key:i,placement:e.static?"static":"field"===e.kind?"own":"prototype",descriptor:t};return e.decorators&&(o.decorators=e.decorators),"field"===e.kind&&(o.initializer=e.value),o}function mh(e,t){void 0!==e.descriptor.get?t.descriptor.get=e.descriptor.get:t.descriptor.set=e.descriptor.set}function vh(e){return e.decorators&&e.decorators.length}function _h(e){return void 0!==e&&!(void 0===e.value&&void 0===e.writable)}function yh(e,t){var i=e[t];if(void 0!==i&&"function"!=typeof i)throw new TypeError("Expected '"+t+"' to be a function");return i}function wh(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var i=e[Symbol.toPrimitive];if(void 0!==i){var o=i.call(e,t||"default");if("object"!=typeof o)return o;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 kh(e,t){(null==t||t>e.length)&&(t=e.length);for(var i=0,o=new Array(t);i<t;i++)o[i]=e[i];return o}const{stablePrefix:Eh}=ue;!function(e,t,i,o){var r=uh();if(o)for(var n=0;n<o.length;n++)r=o[n](r);var a=t((function(e){r.initializeInstanceElements(e,s.elements)}),i),s=r.decorateClass(function(e){for(var t=[],i=function(e){return"method"===e.kind&&e.key===n.key&&e.placement===n.placement},o=0;o<e.length;o++){var r,n=e[o];if("method"===n.kind&&(r=t.find(i)))if(_h(n.descriptor)||_h(r.descriptor)){if(vh(n)||vh(r))throw new ReferenceError("Duplicated methods ("+n.key+") can't be decorated.");r.descriptor=n.descriptor}else{if(vh(n)){if(vh(r))throw new ReferenceError("Decorators can't be placed on different accessors with for the same property ("+n.key+").");r.decorators=n.decorators}mh(n,r)}else t.push(n)}return t}(a.d.map(gh)),e);r.initializeClassElements(a.F,s.elements),r.runClassFinishers(a.F,s.finishers)}([ie(`${Eh}-masthead-profile-item`)],(function(e,t){return{F:class extends t{constructor(...t){super(...t),e(this)}},d:[{kind:"field",static:!0,key:"styles",value:()=>jl},{kind:"method",key:"firstUpdated",value:function(){var e;null===(e=this.shadowRoot)||void 0===e||e.querySelectorAll('[role="menuitem"]').forEach((e=>e.removeAttribute("role")))}}]}}),fh);let Sh,zh=e=>e;function Th(){Th=function(){return e};var e={elementsDefinitionOrder:[["method"],["field"]],initializeInstanceElements:function(e,t){["method","field"].forEach((function(i){t.forEach((function(t){t.kind===i&&"own"===t.placement&&this.defineClassElement(e,t)}),this)}),this)},initializeClassElements:function(e,t){var i=e.prototype;["method","field"].forEach((function(o){t.forEach((function(t){var r=t.placement;if(t.kind===o&&("static"===r||"prototype"===r)){var n="static"===r?e:i;this.defineClassElement(n,t)}}),this)}),this)},defineClassElement:function(e,t){var i=t.descriptor;if("field"===t.kind){var o=t.initializer;i={enumerable:i.enumerable,writable:i.writable,configurable:i.configurable,value:void 0===o?void 0:o.call(e)}}Object.defineProperty(e,t.key,i)},decorateClass:function(e,t){var i=[],o=[],r={static:[],prototype:[],own:[]};if(e.forEach((function(e){this.addElementPlacement(e,r)}),this),e.forEach((function(e){if(!Ch(e))return i.push(e);var t=this.decorateElement(e,r);i.push(t.element),i.push.apply(i,t.extras),o.push.apply(o,t.finishers)}),this),!t)return{elements:i,finishers:o};var n=this.decorateConstructor(i,t);return o.push.apply(o,n.finishers),n.finishers=o,n},addElementPlacement:function(e,t,i){var o=t[e.placement];if(!i&&-1!==o.indexOf(e.key))throw new TypeError("Duplicated element ("+e.key+")");o.push(e.key)},decorateElement:function(e,t){for(var i=[],o=[],r=e.decorators,n=r.length-1;n>=0;n--){var a=t[e.placement];a.splice(a.indexOf(e.key),1);var s=this.fromElementDescriptor(e),d=this.toElementFinisherExtras((0,r[n])(s)||s);e=d.element,this.addElementPlacement(e,t),d.finisher&&o.push(d.finisher);var l=d.extras;if(l){for(var c=0;c<l.length;c++)this.addElementPlacement(l[c],t);i.push.apply(i,l)}}return{element:e,finishers:o,extras:i}},decorateConstructor:function(e,t){for(var i=[],o=t.length-1;o>=0;o--){var r=this.fromClassDescriptor(e),n=this.toClassDescriptor((0,t[o])(r)||r);if(void 0!==n.finisher&&i.push(n.finisher),void 0!==n.elements){e=n.elements;for(var a=0;a<e.length-1;a++)for(var s=a+1;s<e.length;s++)if(e[a].key===e[s].key&&e[a].placement===e[s].placement)throw new TypeError("Duplicated element ("+e[a].key+")")}}return{elements:e,finishers:i}},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 Ih(e,t);var i=Object.prototype.toString.call(e).slice(8,-1);return"Object"===i&&e.constructor&&(i=e.constructor.name),"Map"===i||"Set"===i?Array.from(e):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?Ih(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 i=Rh(e.key),o=String(e.placement);if("static"!==o&&"prototype"!==o&&"own"!==o)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 "'+o+'"');var r=e.descriptor;this.disallowProperty(e,"elements","An element descriptor");var n={kind:t,key:i,placement:o,descriptor:Object.assign({},r)};return"field"!==t?this.disallowProperty(e,"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=e.initializer),n},toElementFinisherExtras:function(e){return{element:this.toElementDescriptor(e),finisher:Dh(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 i=Dh(e,"finisher");return{elements:this.toElementDescriptors(e.elements),finisher:i}},runClassFinishers:function(e,t){for(var i=0;i<t.length;i++){var o=(0,t[i])(e);if(void 0!==o){if("function"!=typeof o)throw new TypeError("Finishers must return a constructor.");e=o}}return e},disallowProperty:function(e,t,i){if(void 0!==e[t])throw new TypeError(i+" can't have a ."+t+" property.")}};return e}function Ah(e){var t,i=Rh(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 o={kind:"field"===e.kind?"field":"method",key:i,placement:e.static?"static":"field"===e.kind?"own":"prototype",descriptor:t};return e.decorators&&(o.decorators=e.decorators),"field"===e.kind&&(o.initializer=e.value),o}function Ph(e,t){void 0!==e.descriptor.get?t.descriptor.get=e.descriptor.get:t.descriptor.set=e.descriptor.set}function Ch(e){return e.decorators&&e.decorators.length}function Oh(e){return void 0!==e&&!(void 0===e.value&&void 0===e.writable)}function Dh(e,t){var i=e[t];if(void 0!==i&&"function"!=typeof i)throw new TypeError("Expected '"+t+"' to be a function");return i}function Rh(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var i=e[Symbol.toPrimitive];if(void 0!==i){var o=i.call(e,t||"default");if("object"!=typeof o)return o;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 Ih(e,t){(null==t||t>e.length)&&(t=e.length);for(var i=0,o=new Array(t);i<t;i++)o[i]=e[i];return o}const{prefix:jh}=dd,{stablePrefix:$h}=ue;let Lh,Nh=function(e,t,i,o){var r=Th();if(o)for(var n=0;n<o.length;n++)r=o[n](r);var a=t((function(e){r.initializeInstanceElements(e,s.elements)}),i),s=r.decorateClass(function(e){for(var t=[],i=function(e){return"method"===e.kind&&e.key===n.key&&e.placement===n.placement},o=0;o<e.length;o++){var r,n=e[o];if("method"===n.kind&&(r=t.find(i)))if(Oh(n.descriptor)||Oh(r.descriptor)){if(Ch(n)||Ch(r))throw new ReferenceError("Duplicated methods ("+n.key+") can't be decorated.");r.descriptor=n.descriptor}else{if(Ch(n)){if(Ch(r))throw new ReferenceError("Decorators can't be placed on different accessors with for the same property ("+n.key+").");r.decorators=n.decorators}Ph(n,r)}else t.push(n)}return t}(a.d.map(Ah)),e);return r.initializeClassElements(a.F,s.elements),r.runClassFinishers(a.F,s.finishers)}([ie(`${$h}-megamenu`)],(function(e,t){return{F:class extends t{constructor(...t){super(...t),e(this)}},d:[{kind:"method",key:"render",value:function(){return B(Sh||(Sh=zh` <div class="${0}--masthead__megamenu__container"> <div class="${0}--masthead__megamenu__container--row"> <slot></slot> </div> </div> `),jh,jh)}},{kind:"get",static:!0,key:"stableSelector",value:function(){return`${$h}--masthead__megamenu`}},{kind:"field",static:!0,key:"styles",value:()=>jl}]}}),cd(fe)),Mh=e=>e;const{prefix:qh}=dd;let Uh=md([],(function(e,t){class i extends t{constructor(...t){super(...t),e(this)}}return{F:i,d:[{kind:"field",decorators:[se("a")],key:"_trigger",value:void 0},{kind:"method",key:"_handleClick",value:function(){this._handleUserInitiatedToggle()}},{kind:"method",key:"_handleKeydownTrigger",value:function({key:e}){"Esc"!==e&&"Escape"!==e||this._handleUserInitiatedToggle(!1)}},{kind:"method",key:"_handleUserInitiatedToggle",value:function(e=!this.expanded){this.expanded=e,e||this._trigger.focus()}},{kind:"method",decorators:[Es("focusout")],key:"_handleBlur",value:function({relatedTarget:e}){this.contains(e)||(this.expanded=!1)}},{kind:"field",decorators:[ne({type:Boolean,reflect:!0})],key:"expanded",value:()=>!1},{kind:"field",decorators:[ne({attribute:"trigger-content"})],key:"triggerContent",value:()=>""},{kind:"field",decorators:[ne({attribute:"menu-label"})],key:"menuLabel",value:void 0},{kind:"method",key:"createRenderRoot",value:function(){return this.attachShadow({mode:"open",delegatesFocus:!0})}},{kind:"method",key:"connectedCallback",value:function(){this.hasAttribute("role")||this.setAttribute("role","listitem"),Tl(zl(i.prototype),"connectedCallback",this).call(this)}},{kind:"method",key:"updated",value:function(e){if(e.has("expanded")){const{selectorItem:e}=this.constructor,{expanded:t}=this;bl(this.querySelectorAll(e),(e=>{e.tabIndex=t?0:-1}))}}},{kind:"method",key:"render",value:function(){const{expanded:e,triggerContent:t,menuLabel:i,_handleClick:o,_handleKeydownTrigger:r}=this;return B(Lh||(Lh=Mh` <a part="trigger" tabindex="0" class="${0}--header__menu-item ${0}--header__menu-title" href="javascript:void 0" aria-haspopup="menu" aria-expanded="${0}" @click="${0}" @keydown="${0}"> ${0}${0} </a> <ul part="menu-body" class="${0}--header__menu" aria-label="${0}"> <slot></slot> </ul> `),qh,qh,String(Boolean(e)),o,r,t,dl({part:"trigger-icon",class:`${qh}--header__menu-arrow`}),qh,ys(i))}},{kind:"get",static:!0,key:"selectorItem",value:function(){return`${qh}-header-menu-item`}},{kind:"field",static:!0,key:"styles",value:()=>ub}]}}),Ts(zd(fe)));function Fh(){Fh=function(){return e};var e={elementsDefinitionOrder:[["method"],["field"]],initializeInstanceElements:function(e,t){["method","field"].forEach((function(i){t.forEach((function(t){t.kind===i&&"own"===t.placement&&this.defineClassElement(e,t)}),this)}),this)},initializeClassElements:function(e,t){var i=e.prototype;["method","field"].forEach((function(o){t.forEach((function(t){var r=t.placement;if(t.kind===o&&("static"===r||"prototype"===r)){var n="static"===r?e:i;this.defineClassElement(n,t)}}),this)}),this)},defineClassElement:function(e,t){var i=t.descriptor;if("field"===t.kind){var o=t.initializer;i={enumerable:i.enumerable,writable:i.writable,configurable:i.configurable,value:void 0===o?void 0:o.call(e)}}Object.defineProperty(e,t.key,i)},decorateClass:function(e,t){var i=[],o=[],r={static:[],prototype:[],own:[]};if(e.forEach((function(e){this.addElementPlacement(e,r)}),this),e.forEach((function(e){if(!Hh(e))return i.push(e);var t=this.decorateElement(e,r);i.push(t.element),i.push.apply(i,t.extras),o.push.apply(o,t.finishers)}),this),!t)return{elements:i,finishers:o};var n=this.decorateConstructor(i,t);return o.push.apply(o,n.finishers),n.finishers=o,n},addElementPlacement:function(e,t,i){var o=t[e.placement];if(!i&&-1!==o.indexOf(e.key))throw new TypeError("Duplicated element ("+e.key+")");o.push(e.key)},decorateElement:function(e,t){for(var i=[],o=[],r=e.decorators,n=r.length-1;n>=0;n--){var a=t[e.placement];a.splice(a.indexOf(e.key),1);var s=this.fromElementDescriptor(e),d=this.toElementFinisherExtras((0,r[n])(s)||s);e=d.element,this.addElementPlacement(e,t),d.finisher&&o.push(d.finisher);var l=d.extras;if(l){for(var c=0;c<l.length;c++)this.addElementPlacement(l[c],t);i.push.apply(i,l)}}return{element:e,finishers:o,extras:i}},decorateConstructor:function(e,t){for(var i=[],o=t.length-1;o>=0;o--){var r=this.fromClassDescriptor(e),n=this.toClassDescriptor((0,t[o])(r)||r);if(void 0!==n.finisher&&i.push(n.finisher),void 0!==n.elements){e=n.elements;for(var a=0;a<e.length-1;a++)for(var s=a+1;s<e.length;s++)if(e[a].key===e[s].key&&e[a].placement===e[s].placement)throw new TypeError("Duplicated element ("+e[a].key+")")}}return{elements:e,finishers:i}},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 Yh(e,t);var i=Object.prototype.toString.call(e).slice(8,-1);return"Object"===i&&e.constructor&&(i=e.constructor.name),"Map"===i||"Set"===i?Array.from(e):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?Yh(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 i=Xh(e.key),o=String(e.placement);if("static"!==o&&"prototype"!==o&&"own"!==o)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 "'+o+'"');var r=e.descriptor;this.disallowProperty(e,"elements","An element descriptor");var n={kind:t,key:i,placement:o,descriptor:Object.assign({},r)};return"field"!==t?this.disallowProperty(e,"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=e.initializer),n},toElementFinisherExtras:function(e){return{element:this.toElementDescriptor(e),finisher:Wh(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 i=Wh(e,"finisher");return{elements:this.toElementDescriptors(e.elements),finisher:i}},runClassFinishers:function(e,t){for(var i=0;i<t.length;i++){var o=(0,t[i])(e);if(void 0!==o){if("function"!=typeof o)throw new TypeError("Finishers must return a constructor.");e=o}}return e},disallowProperty:function(e,t,i){if(void 0!==e[t])throw new TypeError(i+" can't have a ."+t+" property.")}};return e}function Bh(e){var t,i=Xh(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 o={kind:"field"===e.kind?"field":"method",key:i,placement:e.static?"static":"field"===e.kind?"own":"prototype",descriptor:t};return e.decorators&&(o.decorators=e.decorators),"field"===e.kind&&(o.initializer=e.value),o}function Gh(e,t){void 0!==e.descriptor.get?t.descriptor.get=e.descriptor.get:t.descriptor.set=e.descriptor.set}function Hh(e){return e.decorators&&e.decorators.length}function Vh(e){return void 0!==e&&!(void 0===e.value&&void 0===e.writable)}function Wh(e,t){var i=e[t];if(void 0!==i&&"function"!=typeof i)throw new TypeError("Expected '"+t+"' to be a function");return i}function Xh(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var i=e[Symbol.toPrimitive];if(void 0!==i){var o=i.call(e,t||"default");if("object"!=typeof o)return o;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 Yh(e,t){(null==t||t>e.length)&&(t=e.length);for(var i=0,o=new Array(t);i<t;i++)o[i]=e[i];return o}function Qh(){return Qh="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,i){var o=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=Zh(e)););return e}(e,t);if(o){var r=Object.getOwnPropertyDescriptor(o,t);return r.get?r.get.call(arguments.length<3?e:i):r.value}},Qh.apply(this,arguments)}function Zh(e){return Zh=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Zh(e)}const{stablePrefix:Kh}=ue;let Jh=function(e,t,i,o){var r=Fh();if(o)for(var n=0;n<o.length;n++)r=o[n](r);var a=t((function(e){r.initializeInstanceElements(e,s.elements)}),i),s=r.decorateClass(function(e){for(var t=[],i=function(e){return"method"===e.kind&&e.key===n.key&&e.placement===n.placement},o=0;o<e.length;o++){var r,n=e[o];if("method"===n.kind&&(r=t.find(i)))if(Vh(n.descriptor)||Vh(r.descriptor)){if(Hh(n)||Hh(r))throw new ReferenceError("Duplicated methods ("+n.key+") can't be decorated.");r.descriptor=n.descriptor}else{if(Hh(n)){if(Hh(r))throw new ReferenceError("Decorators can't be placed on different accessors with for the same property ("+n.key+").");r.decorators=n.decorators}Gh(n,r)}else t.push(n)}return t}(a.d.map(Bh)),e);return r.initializeClassElements(a.F,s.elements),r.runClassFinishers(a.F,s.finishers)}([ie(`${Kh}-top-nav-menu`)],(function(e,t){class i extends t{constructor(...t){super(...t),e(this)}}return{F:i,d:[{kind:"field",decorators:[se('[part="trigger"]')],key:"_triggerNode",value:void 0},{kind:"field",decorators:[ne({type:Boolean,reflect:!0})],key:"active",value:()=>!1},{kind:"method",key:"updated",value:function(e){var t;if(Qh(Zh(i.prototype),"updated",this).call(this,e),e.has("active")){const{active:e,_triggerNode:t}=this;t&&t.setAttribute("data-selected",String(Boolean(e)))}null===(t=this.shadowRoot)||void 0===t||t.querySelectorAll('[role="menuitem"]').forEach((e=>e.removeAttribute("role")))}},{kind:"method",key:"connectedCallback",value:function(){Qh(Zh(i.prototype),"connectedCallback",this).call(this),this.removeAttribute("role")}},{kind:"field",static:!0,key:"styles",value:()=>jl}]}}),Uh);function ep(){ep=function(){return e};var e={elementsDefinitionOrder:[["method"],["field"]],initializeInstanceElements:function(e,t){["method","field"].forEach((function(i){t.forEach((function(t){t.kind===i&&"own"===t.placement&&this.defineClassElement(e,t)}),this)}),this)},initializeClassElements:function(e,t){var i=e.prototype;["method","field"].forEach((function(o){t.forEach((function(t){var r=t.placement;if(t.kind===o&&("static"===r||"prototype"===r)){var n="static"===r?e:i;this.defineClassElement(n,t)}}),this)}),this)},defineClassElement:function(e,t){var i=t.descriptor;if("field"===t.kind){var o=t.initializer;i={enumerable:i.enumerable,writable:i.writable,configurable:i.configurable,value:void 0===o?void 0:o.call(e)}}Object.defineProperty(e,t.key,i)},decorateClass:function(e,t){var i=[],o=[],r={static:[],prototype:[],own:[]};if(e.forEach((function(e){this.addElementPlacement(e,r)}),this),e.forEach((function(e){if(!op(e))return i.push(e);var t=this.decorateElement(e,r);i.push(t.element),i.push.apply(i,t.extras),o.push.apply(o,t.finishers)}),this),!t)return{elements:i,finishers:o};var n=this.decorateConstructor(i,t);return o.push.apply(o,n.finishers),n.finishers=o,n},addElementPlacement:function(e,t,i){var o=t[e.placement];if(!i&&-1!==o.indexOf(e.key))throw new TypeError("Duplicated element ("+e.key+")");o.push(e.key)},decorateElement:function(e,t){for(var i=[],o=[],r=e.decorators,n=r.length-1;n>=0;n--){var a=t[e.placement];a.splice(a.indexOf(e.key),1);var s=this.fromElementDescriptor(e),d=this.toElementFinisherExtras((0,r[n])(s)||s);e=d.element,this.addElementPlacement(e,t),d.finisher&&o.push(d.finisher);var l=d.extras;if(l){for(var c=0;c<l.length;c++)this.addElementPlacement(l[c],t);i.push.apply(i,l)}}return{element:e,finishers:o,extras:i}},decorateConstructor:function(e,t){for(var i=[],o=t.length-1;o>=0;o--){var r=this.fromClassDescriptor(e),n=this.toClassDescriptor((0,t[o])(r)||r);if(void 0!==n.finisher&&i.push(n.finisher),void 0!==n.elements){e=n.elements;for(var a=0;a<e.length-1;a++)for(var s=a+1;s<e.length;s++)if(e[a].key===e[s].key&&e[a].placement===e[s].placement)throw new TypeError("Duplicated element ("+e[a].key+")")}}return{elements:e,finishers:i}},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 sp(e,t);var i=Object.prototype.toString.call(e).slice(8,-1);return"Object"===i&&e.constructor&&(i=e.constructor.name),"Map"===i||"Set"===i?Array.from(e):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?sp(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 i=ap(e.key),o=String(e.placement);if("static"!==o&&"prototype"!==o&&"own"!==o)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 "'+o+'"');var r=e.descriptor;this.disallowProperty(e,"elements","An element descriptor");var n={kind:t,key:i,placement:o,descriptor:Object.assign({},r)};return"field"!==t?this.disallowProperty(e,"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=e.initializer),n},toElementFinisherExtras:function(e){return{element:this.toElementDescriptor(e),finisher:np(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 i=np(e,"finisher");return{elements:this.toElementDescriptors(e.elements),finisher:i}},runClassFinishers:function(e,t){for(var i=0;i<t.length;i++){var o=(0,t[i])(e);if(void 0!==o){if("function"!=typeof o)throw new TypeError("Finishers must return a constructor.");e=o}}return e},disallowProperty:function(e,t,i){if(void 0!==e[t])throw new TypeError(i+" can't have a ."+t+" property.")}};return e}function tp(e){var t,i=ap(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 o={kind:"field"===e.kind?"field":"method",key:i,placement:e.static?"static":"field"===e.kind?"own":"prototype",descriptor:t};return e.decorators&&(o.decorators=e.decorators),"field"===e.kind&&(o.initializer=e.value),o}function ip(e,t){void 0!==e.descriptor.get?t.descriptor.get=e.descriptor.get:t.descriptor.set=e.descriptor.set}function op(e){return e.decorators&&e.decorators.length}function rp(e){return void 0!==e&&!(void 0===e.value&&void 0===e.writable)}function np(e,t){var i=e[t];if(void 0!==i&&"function"!=typeof i)throw new TypeError("Expected '"+t+"' to be a function");return i}function ap(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var i=e[Symbol.toPrimitive];if(void 0!==i){var o=i.call(e,t||"default");if("object"!=typeof o)return o;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 sp(e,t){(null==t||t>e.length)&&(t=e.length);for(var i=0,o=new Array(t);i<t;i++)o[i]=e[i];return o}function dp(){return dp="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,i){var o=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=lp(e)););return e}(e,t);if(o){var r=Object.getOwnPropertyDescriptor(o,t);return r.get?r.get.call(arguments.length<3?e:i):r.value}},dp.apply(this,arguments)}function lp(e){return lp=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},lp(e)}const{prefix:cp}=dd,{stablePrefix:bp}=ue;!function(e,t,i,o){var r=ep();if(o)for(var n=0;n<o.length;n++)r=o[n](r);var a=t((function(e){r.initializeInstanceElements(e,s.elements)}),i),s=r.decorateClass(function(e){for(var t=[],i=function(e){return"method"===e.kind&&e.key===n.key&&e.placement===n.placement},o=0;o<e.length;o++){var r,n=e[o];if("method"===n.kind&&(r=t.find(i)))if(rp(n.descriptor)||rp(r.descriptor)){if(op(n)||op(r))throw new ReferenceError("Duplicated methods ("+n.key+") can't be decorated.");r.descriptor=n.descriptor}else{if(op(n)){if(op(r))throw new ReferenceError("Decorators can't be placed on different accessors with for the same property ("+n.key+").");r.decorators=n.decorators}ip(n,r)}else t.push(n)}return t}(a.d.map(tp)),e);r.initializeClassElements(a.F,s.elements),r.runClassFinishers(a.F,s.finishers)}([ie(`${bp}-megamenu-top-nav-menu`)],(function(e,t){class i extends t{constructor(...t){super(...t),e(this)}}return{F:i,d:[{kind:"field",decorators:[ne()],key:"megaMenu",value:void 0},{kind:"field",decorators:[se(`.${cp}--header__menu`)],key:"_menuNode",value:void 0},{kind:"field",decorators:[se('[part="trigger"]')],key:"_topMenuItem",value:void 0},{kind:"field",decorators:[ae()],key:"_scrollBarWidth",value(){return this.ownerDocument.defaultView.innerWidth-this.ownerDocument.body.offsetWidth}},{kind:"field",key:"_handleKeydown",value(){return e=>{"Escape"===e.key&&(this.expanded=!1,this._topMenuItem.focus())}}},{kind:"field",key:"_observerResizeRoot",value:()=>null},{kind:"method",key:"_cleanAndCreateObserverResize",value:function({create:e}={}){this._observerResizeRoot&&(this._observerResizeRoot.disconnect(),this._observerResizeRoot=null),e&&(this._observerResizeRoot=new ResizeObserver(this._observeResizeRoot),this._observerResizeRoot.observe(this.ownerDocument.documentElement))}},{kind:"field",key:"_observeResizeRoot",value(){return e=>{const{contentRect:t}=e[e.length-1],{customPropertyViewportWidth:i}=this.constructor;this.style.setProperty(i,`${t.width}px`)}}},{kind:"method",key:"_requestMegaMenuRenderUpdate",value:async function(){return new Promise((e=>{this.dispatchEvent(new CustomEvent("dds-megamenu-top-nav-menu-toggle",{bubbles:!0,cancelable:!0,composed:!0,detail:{active:this.expanded,resolveFn:e}})),setTimeout((()=>{e()}),5e3)}))}},{kind:"method",key:"connectedCallback",value:function(){dp(lp(i.prototype),"connectedCallback",this).call(this),this._cleanAndCreateObserverResize({create:!0}),this.addEventListener("keydown",this._handleKeydown)}},{kind:"method",key:"disconnectedCallback",value:function(){this._cleanAndCreateObserverResize(),dp(lp(i.prototype),"disconnectedCallback",this).call(this)}},{kind:"method",key:"firstUpdated",value:function(){this._menuNode.removeAttribute("role"),this._cleanAndCreateObserverResize({create:!0}),this.hasAttribute("role")&&"listitem"===this.getAttribute("role")&&this.removeAttribute("role")}},{kind:"method",key:"updated",value:async function(e){if(dp(lp(i.prototype),"updated",this).call(this,e),e.has("expanded")){var t;const i=this.getRootNode();rl(i.querySelectorAll(this.constructor.selectorOverlay),(e=>{e.active=this.expanded}));const o=i.querySelector("dds-masthead"),r=null===(t=i.querySelector("dds-cloud-masthead-container"))||void 0===t?void 0:t.querySelector("dds-masthead");this.expanded?(this.parentElement.importedMegamenu||(await import("./megamenu-left-navigation-88dd6ac0.js"),await import("./megamenu-category-link-4840c840.js"),await import("./megamenu-category-group-39712cfd.js"),await import("./megamenu-category-group-copy-4157a0f5.js"),await Promise.resolve().then((function(){return Ql})),await import("./megamenu-overlay-0a895588.js"),this.parentElement.importedMegamenu=!0),await this._requestMegaMenuRenderUpdate(),document.body.style.marginInlineStart=`${this._scrollBarWidth}px`,document.body.style.overflow="hidden",rl(i.querySelectorAll(this.constructor.selectorOverlay),(e=>{e.active=this.expanded})),r?i.body.classList.contains("ibm-masthead-sticky")&&i.body.classList.contains("ibm-masthead-sticky-showing")&&(r.style.marginInlineEnd=`${this._scrollBarWidth}px`):o&&(o.style.marginInlineEnd=`${this._scrollBarWidth}px`)):(document.body.style.marginInlineStart="0px",document.body.style.overflow="",r?i.body.classList.contains("ibm-masthead-sticky")&&i.body.classList.contains("ibm-masthead-sticky-showing")&&(r.style.marginInlineEnd="0px"):o&&(o.style.marginInlineEnd="0px"),!1===e.get("expanded")&&setTimeout((()=>{const{activeElement:e}=document;null!==e&&"body"!==e.tagName.toLowerCase()||this._topMenuItem.focus()}),0),setTimeout((()=>{this._requestMegaMenuRenderUpdate()}),500))}}},{kind:"get",static:!0,key:"customPropertyViewportWidth",value:function(){return`--${bp}-ce--viewport-width`}},{kind:"get",static:!0,key:"selectorOverlay",value:function(){return`${bp}-megamenu-overlay`}},{kind:"field",static:!0,key:"styles",value:()=>jl}]}}),Jh);
697
694
  /**
698
695
  * @license
699
696
  *
@@ -719,7 +716,7 @@ const zp=({children:e,...t}={})=>G`<svg focusable="false" preserveAspectRatio="x
719
716
  *
720
717
  * This source code is licensed under the Apache-2.0 license found in the
721
718
  * LICENSE file in the root directory of this source tree.
722
- */,Tp=({children:e,...t}={})=>G`<svg focusable="false" preserveAspectRatio="xMidYMid meet" xmlns="http://www.w3.org/2000/svg" fill="currentColor" ...="${pd(t)}" aria-hidden="true" width="20" height="20" viewBox="0 0 32 32">${e}<path d="M12 8L22 16 12 24z"></path></svg>`;let Ap,Pp=e=>e;const{prefix:Cp}=dd;let Op,Dp,Rp,Ip=md([],(function(e,t){class i extends t{constructor(...t){super(...t),e(this)}}return{F:i,d:[{kind:"field",decorators:[ne({attribute:"menu-bar-label"})],key:"menuBarLabel",value:void 0},{kind:"method",key:"connectedCallback",value:function(){this.hasAttribute("role")||this.setAttribute("role","navigation"),Tl(zl(i.prototype),"connectedCallback",this).call(this)}},{kind:"method",key:"render",value:function(){const{menuBarLabel:e}=this;return B(Ap||(Ap=Pp` <div part="divider" class="${0}-ce--header__divider"></div> <ul part="menu-body" class="${0}--header__menu-bar" aria-label="${0}"> <slot></slot> </ul> `),Cp,Cp,e)}},{kind:"field",static:!0,key:"styles",value:()=>ub}]}}),fe),jp=e=>e;function $p(){$p=function(){return e};var e={elementsDefinitionOrder:[["method"],["field"]],initializeInstanceElements:function(e,t){["method","field"].forEach((function(i){t.forEach((function(t){t.kind===i&&"own"===t.placement&&this.defineClassElement(e,t)}),this)}),this)},initializeClassElements:function(e,t){var i=e.prototype;["method","field"].forEach((function(o){t.forEach((function(t){var r=t.placement;if(t.kind===o&&("static"===r||"prototype"===r)){var n="static"===r?e:i;this.defineClassElement(n,t)}}),this)}),this)},defineClassElement:function(e,t){var i=t.descriptor;if("field"===t.kind){var o=t.initializer;i={enumerable:i.enumerable,writable:i.writable,configurable:i.configurable,value:void 0===o?void 0:o.call(e)}}Object.defineProperty(e,t.key,i)},decorateClass:function(e,t){var i=[],o=[],r={static:[],prototype:[],own:[]};if(e.forEach((function(e){this.addElementPlacement(e,r)}),this),e.forEach((function(e){if(!Mp(e))return i.push(e);var t=this.decorateElement(e,r);i.push(t.element),i.push.apply(i,t.extras),o.push.apply(o,t.finishers)}),this),!t)return{elements:i,finishers:o};var n=this.decorateConstructor(i,t);return o.push.apply(o,n.finishers),n.finishers=o,n},addElementPlacement:function(e,t,i){var o=t[e.placement];if(!i&&-1!==o.indexOf(e.key))throw new TypeError("Duplicated element ("+e.key+")");o.push(e.key)},decorateElement:function(e,t){for(var i=[],o=[],r=e.decorators,n=r.length-1;n>=0;n--){var a=t[e.placement];a.splice(a.indexOf(e.key),1);var s=this.fromElementDescriptor(e),d=this.toElementFinisherExtras((0,r[n])(s)||s);e=d.element,this.addElementPlacement(e,t),d.finisher&&o.push(d.finisher);var l=d.extras;if(l){for(var c=0;c<l.length;c++)this.addElementPlacement(l[c],t);i.push.apply(i,l)}}return{element:e,finishers:o,extras:i}},decorateConstructor:function(e,t){for(var i=[],o=t.length-1;o>=0;o--){var r=this.fromClassDescriptor(e),n=this.toClassDescriptor((0,t[o])(r)||r);if(void 0!==n.finisher&&i.push(n.finisher),void 0!==n.elements){e=n.elements;for(var a=0;a<e.length-1;a++)for(var s=a+1;s<e.length;s++)if(e[a].key===e[s].key&&e[a].placement===e[s].placement)throw new TypeError("Duplicated element ("+e[a].key+")")}}return{elements:e,finishers:i}},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 Bp(e,t);var i=Object.prototype.toString.call(e).slice(8,-1);return"Object"===i&&e.constructor&&(i=e.constructor.name),"Map"===i||"Set"===i?Array.from(e):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?Bp(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 i=Fp(e.key),o=String(e.placement);if("static"!==o&&"prototype"!==o&&"own"!==o)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 "'+o+'"');var r=e.descriptor;this.disallowProperty(e,"elements","An element descriptor");var n={kind:t,key:i,placement:o,descriptor:Object.assign({},r)};return"field"!==t?this.disallowProperty(e,"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=e.initializer),n},toElementFinisherExtras:function(e){return{element:this.toElementDescriptor(e),finisher:Up(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 i=Up(e,"finisher");return{elements:this.toElementDescriptors(e.elements),finisher:i}},runClassFinishers:function(e,t){for(var i=0;i<t.length;i++){var o=(0,t[i])(e);if(void 0!==o){if("function"!=typeof o)throw new TypeError("Finishers must return a constructor.");e=o}}return e},disallowProperty:function(e,t,i){if(void 0!==e[t])throw new TypeError(i+" can't have a ."+t+" property.")}};return e}function Lp(e){var t,i=Fp(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 o={kind:"field"===e.kind?"field":"method",key:i,placement:e.static?"static":"field"===e.kind?"own":"prototype",descriptor:t};return e.decorators&&(o.decorators=e.decorators),"field"===e.kind&&(o.initializer=e.value),o}function Np(e,t){void 0!==e.descriptor.get?t.descriptor.get=e.descriptor.get:t.descriptor.set=e.descriptor.set}function Mp(e){return e.decorators&&e.decorators.length}function qp(e){return void 0!==e&&!(void 0===e.value&&void 0===e.writable)}function Up(e,t){var i=e[t];if(void 0!==i&&"function"!=typeof i)throw new TypeError("Expected '"+t+"' to be a function");return i}function Fp(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var i=e[Symbol.toPrimitive];if(void 0!==i){var o=i.call(e,t||"default");if("object"!=typeof o)return o;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 Bp(e,t){(null==t||t>e.length)&&(t=e.length);for(var i=0,o=new Array(t);i<t;i++)o[i]=e[i];return o}function Gp(){return Gp="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,i){var o=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=Hp(e)););return e}(e,t);if(o){var r=Object.getOwnPropertyDescriptor(o,t);return r.get?r.get.call(arguments.length<3?e:i):r.value}},Gp.apply(this,arguments)}function Hp(e){return Hp=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Hp(e)}const{prefix:Vp}=dd,{stablePrefix:Wp}=ue;let Xp=function(e,t,i,o){var r=$p();if(o)for(var n=0;n<o.length;n++)r=o[n](r);var a=t((function(e){r.initializeInstanceElements(e,s.elements)}),i),s=r.decorateClass(function(e){for(var t=[],i=function(e){return"method"===e.kind&&e.key===n.key&&e.placement===n.placement},o=0;o<e.length;o++){var r,n=e[o];if("method"===n.kind&&(r=t.find(i)))if(qp(n.descriptor)||qp(r.descriptor)){if(Mp(n)||Mp(r))throw new ReferenceError("Duplicated methods ("+n.key+") can't be decorated.");r.descriptor=n.descriptor}else{if(Mp(n)){if(Mp(r))throw new ReferenceError("Decorators can't be placed on different accessors with for the same property ("+n.key+").");r.decorators=n.decorators}Np(n,r)}else t.push(n)}return t}(a.d.map(Lp)),e);return r.initializeClassElements(a.F,s.elements),r.runClassFinishers(a.F,s.finishers)}([ie(`${Wp}-top-nav`)],(function(e,t){class i extends t{constructor(...t){super(...t),e(this)}}return{F:i,d:[{kind:"field",decorators:[se(`.${Vp}--header__nav-caret-left`)],key:"_caretLeftNode",value:void 0},{kind:"field",decorators:[se(`.${Vp}--header__nav-caret-right`)],key:"_caretRightNode",value:void 0},{kind:"field",decorators:[se(`.${Vp}--header__nav`)],key:"_navNode",value:void 0},{kind:"field",decorators:[se(`.${Wp}-ce--header__nav-content-container`)],key:"_contentContainerNode",value:void 0},{kind:"field",decorators:[se(`.${Vp}--header__nav-content`)],key:"_contentNode",value:void 0},{kind:"field",decorators:[ae()],key:"_currentScrollPosition",value:()=>0},{kind:"field",decorators:[se(`.${Vp}--sub-content-left`)],key:"_intersectionLeftSentinelNode",value:void 0},{kind:"field",decorators:[se(`.${Vp}--sub-content-right`)],key:"_intersectionRightSentinelNode",value:void 0},{kind:"field",decorators:[ne({type:Boolean,reflect:!0})],key:"hideNav",value:()=>!1},{kind:"field",decorators:[ne({type:Boolean})],key:"importedMegamenu",value:()=>!1},{kind:"field",decorators:[ne({attribute:"selected-menu-item"})],key:"selectedMenuItem",value:void 0},{kind:"field",key:"_childItems",value:()=>[]},{kind:"field",decorators:[ae()],key:"_isIntersectionLeftTrackerInContent",value:()=>!0},{kind:"field",decorators:[ae()],key:"_isIntersectionRightTrackerInContent",value:()=>!0},{kind:"field",key:"_observerIntersection",value:()=>null},{kind:"field",decorators:[ae()],key:"_pageIsRTL",value(){return"rtl"===this.ownerDocument.documentElement.dir}},{kind:"field",decorators:[se("slot")],key:"_slotNode",value:void 0},{kind:"method",key:"_cleanAndCreateIntersectionObserverContainer",value:function({create:e}={}){const{_intersectionLeftSentinelNode:t,_intersectionRightSentinelNode:i}=this;this._observerIntersection&&(this._observerIntersection.disconnect(),this._observerIntersection=null),e&&(this._observerIntersection=new IntersectionObserver(this._observeIntersectionContainer,{root:this,threshold:0}),t&&this._observerIntersection.observe(t),i&&this._observerIntersection.observe(i))}},{kind:"method",key:"_handleSlotChange",value:function(e){this._childItems=e.target.assignedNodes().filter((e=>{var t,i;return null===(t=(i=e).matches)||void 0===t?void 0:t.call(i,"dds-megamenu-top-nav-menu")})),this._paginateRight({onLoad:!0})}},{kind:"field",key:"_observeIntersectionContainer",value(){return e=>{const{_intersectionLeftSentinelNode:t,_intersectionRightSentinelNode:i}=this;e.forEach((({isIntersecting:e,target:o})=>{o===t&&(this._isIntersectionLeftTrackerInContent=e),o===i&&(this._isIntersectionRightTrackerInContent=e)}))}}},{kind:"method",key:"_paginateLeft",value:function(){const{_caretLeftNode:e,_caretRightNode:t,_contentContainerNode:i,_currentScrollPosition:o,_isIntersectionRightTrackerInContent:r,_navNode:n,_pageIsRTL:a,_slotNode:s}=this,d=null==s?void 0:s.assignedElements();if(d)if(a){const r=this._isIntersectionLeftTrackerInContent?e.offsetWidth:0,a=n.getBoundingClientRect().right,s=d.findIndex((e=>e.getBoundingClientRect().left<a-o-t.offsetWidth));s>=0&&(this._currentScrollPosition=Math.max(a-d[s].getBoundingClientRect().left-i.offsetWidth+r+t.offsetWidth+8,0))}else{const a=r?t.offsetWidth+8:8,s=this._isIntersectionLeftTrackerInContent?e.offsetWidth+8:0,l=n.getBoundingClientRect().left,c=function(e,t,i){for(let o=e.length-1;o>=0;--o)if(t(e[o],o,i))return o;return-1}(d,(e=>e.getBoundingClientRect().left-l<o));if(c>=0){const t=d[c].getBoundingClientRect().right-l-(i.offsetWidth+s-a);this._currentScrollPosition=t<=e.offsetWidth?0:t}}}},{kind:"method",key:"_paginateRight",value:async function({onLoad:e}={}){const{_caretLeftNode:t,_caretRightNode:i,_contentContainerNode:o,_contentNode:r,_currentScrollPosition:n,_isIntersectionLeftTrackerInContent:a,_isIntersectionRightTrackerInContent:s,_navNode:d,_pageIsRTL:l,_slotNode:c}=this;await this.updateComplete;const b=(null==c?void 0:c.assignedElements())||this._childItems;if(b&&o){const c=n+o.offsetWidth;if(l){const i=a?t.offsetWidth:0,n=d.getBoundingClientRect().right,s=e?b.findIndex((e=>n-e.getBoundingClientRect().left>c-t.offsetWidth-8&&e.hasAttribute("active"))):b.findIndex((e=>n-e.getBoundingClientRect().left>c-t.offsetWidth-8));if(s>0){const e=Math.abs(b[s].getBoundingClientRect().right-n+t.offsetWidth+8),a=r.scrollWidth-o.offsetWidth+i;this._currentScrollPosition=Math.min(e,a)}}else{const n=a?0:t.offsetWidth,l=s?i.offsetWidth:0,h=d.getBoundingClientRect().left,p=e?b.findIndex((e=>e.getBoundingClientRect().right-h>c&&e.hasAttribute("active"))):b.findIndex((e=>e.getBoundingClientRect().right-h>c));if(p>0){const e=b[p].getBoundingClientRect().left-h-8,t=r.scrollWidth-(o.offsetWidth-l+n);this._currentScrollPosition=Math.min(e,t)}}}}},{kind:"method",key:"_handleOnKeyDown",value:function(e){const t=e.target,{_pageIsRTL:i,_navNode:o,_currentScrollPosition:r,_contentContainerNode:n,_caretRightNode:a}=this;t&&(i?"Tab"===e.key&&(e.shiftKey?t.previousElementSibling&&a&&t.previousElementSibling.getBoundingClientRect().right+r>o.getBoundingClientRect().right-a.offsetWidth&&this._paginateLeft():t.nextElementSibling&&a&&o.getBoundingClientRect().right-t.nextElementSibling.getBoundingClientRect().left>r+n.offsetWidth-a.offsetWidth&&this._paginateRight()):"Tab"===e.key&&(e.shiftKey?t.previousElementSibling&&t.previousElementSibling.getBoundingClientRect().left-o.getBoundingClientRect().left<r&&this._paginateLeft():t.nextElementSibling&&Math.floor(t.nextElementSibling.getBoundingClientRect().right-o.getBoundingClientRect().left)>r+n.offsetWidth&&this._paginateRight()))}},{kind:"field",decorators:[Es("parentRoot:eventToggleSearch")],key:"_handleSearchToggle",value(){return e=>{void 0!==e.detail.active&&(this.hideNav=e.detail.active)}}},{kind:"field",decorators:[ne({type:Boolean,reflect:!0,attribute:"hide-divider"})],key:"hideDivider",value:()=>!1},{kind:"method",key:"connectedCallback",value:function(){Gp(Hp(i.prototype),"connectedCallback",this).call(this),this._cleanAndCreateIntersectionObserverContainer({create:!0}),this.removeAttribute("role")}},{kind:"method",key:"disconnectedCallback",value:function(){this._cleanAndCreateIntersectionObserverContainer(),Gp(Hp(i.prototype),"disconnectedCallback",this).call(this)}},{kind:"method",key:"firstUpdated",value:function(e){e.has("selectedMenuItem")&&this._paginateRight({onLoad:!0})}},{kind:"method",key:"shouldUpdate",value:function(e){return e.has("hideNav")&&this._cleanAndCreateIntersectionObserverContainer(),!0}},{kind:"method",key:"updated",value:function(e){e.has("hideNav")&&this._cleanAndCreateIntersectionObserverContainer({create:!0}),e.has("_currentScrollPosition")&&this._contentNode&&(this._contentNode.style.insetInlineStart=`-${this._currentScrollPosition}px`)}},{kind:"method",key:"render",value:function(){const{_isIntersectionLeftTrackerInContent:e,_isIntersectionRightTrackerInContent:t,_handleSlotChange:i,_paginateLeft:o,_paginateRight:r,_pageIsRTL:n,_handleOnKeyDown:a}=this,s=sd({[`${Vp}--header__nav-caret-left-container`]:!0,[`${Wp}-ce--header__nav-caret-container--hidden`]:e}),d=sd({[`${Vp}--header__nav-caret-right-container`]:!0,[`${Wp}-ce--header__nav-caret-container--hidden`]:t});return this.hideNav?void 0:B(Op||(Op=jp` ${0} `),n?B(Dp||(Dp=jp` <div class="${0}"> <div class="${0}--header__nav-caret-right-gradient"></div> <button part="next-button" tabindex="-1" aria-hidden="true" class="${0}--header__nav-caret-right" @click="${0}"> ${0} </button> </div> <div class="${0}-ce--header__nav-content-container"> <div class="${0}--header__nav-content"> <nav part="nav" class="${0}--header__nav"> <div class="${0}--sub-content-right"></div> <div part="menubar" class="${0}--header__menu-bar" aria-label="${0}"> <slot @slotchange="${0}" @keydown="${0}"></slot> </div> <div class="${0}--sub-content-left"></div> </nav> </div> </div> <div class="${0}"> <button part="prev-button" tabindex="-1" aria-hidden="true" class="${0}--header__nav-caret-left" @click="${0}"> ${0} </button> <div class="${0}--header__nav-caret-left-gradient"></div> </div> `),d,Vp,Vp,r,zp(),Wp,Vp,Vp,Vp,Vp,ws(this.menuBarLabel),i,a,Vp,s,Vp,o,Tp(),Vp):B(Rp||(Rp=jp` <div class="${0}"> <button part="prev-button" tabindex="-1" aria-hidden="true" class="${0}--header__nav-caret-left" @click="${0}"> ${0} </button> <div class="${0}--header__nav-caret-left-gradient"></div> </div> <div class="${0}-ce--header__nav-content-container"> <div class="${0}--header__nav-content"> <nav part="nav" class="${0}--header__nav"> <div class="${0}--sub-content-left"></div> <div part="menubar" class="${0}--header__menu-bar" aria-label="${0}"> <slot @slotchange="${0}" @keydown="${0}"></slot> </div> <div class="${0}--sub-content-right"></div> </nav> </div> </div> <div class="${0}"> <div class="${0}--header__nav-caret-right-gradient"></div> <button part="next-button" tabindex="-1" aria-hidden="true" class="${0}--header__nav-caret-right" @click="${0}"> ${0} </button> </div> `),s,Vp,o,zp(),Vp,Wp,Vp,Vp,Vp,Vp,ws(this.menuBarLabel),i,a,Vp,d,Vp,Vp,r,Tp()))}},{kind:"get",static:!0,key:"stableSelector",value:function(){return`${Wp}--masthead__l0-nav`}},{kind:"get",static:!0,key:"eventToggleSearch",value:function(){return`${Wp}-search-with-typeahead-toggled`}},{kind:"field",static:!0,key:"styles",value:()=>jl}]}}),cd(Ts(Ip)));function Yp(){Yp=function(){return e};var e={elementsDefinitionOrder:[["method"],["field"]],initializeInstanceElements:function(e,t){["method","field"].forEach((function(i){t.forEach((function(t){t.kind===i&&"own"===t.placement&&this.defineClassElement(e,t)}),this)}),this)},initializeClassElements:function(e,t){var i=e.prototype;["method","field"].forEach((function(o){t.forEach((function(t){var r=t.placement;if(t.kind===o&&("static"===r||"prototype"===r)){var n="static"===r?e:i;this.defineClassElement(n,t)}}),this)}),this)},defineClassElement:function(e,t){var i=t.descriptor;if("field"===t.kind){var o=t.initializer;i={enumerable:i.enumerable,writable:i.writable,configurable:i.configurable,value:void 0===o?void 0:o.call(e)}}Object.defineProperty(e,t.key,i)},decorateClass:function(e,t){var i=[],o=[],r={static:[],prototype:[],own:[]};if(e.forEach((function(e){this.addElementPlacement(e,r)}),this),e.forEach((function(e){if(!Kp(e))return i.push(e);var t=this.decorateElement(e,r);i.push(t.element),i.push.apply(i,t.extras),o.push.apply(o,t.finishers)}),this),!t)return{elements:i,finishers:o};var n=this.decorateConstructor(i,t);return o.push.apply(o,n.finishers),n.finishers=o,n},addElementPlacement:function(e,t,i){var o=t[e.placement];if(!i&&-1!==o.indexOf(e.key))throw new TypeError("Duplicated element ("+e.key+")");o.push(e.key)},decorateElement:function(e,t){for(var i=[],o=[],r=e.decorators,n=r.length-1;n>=0;n--){var a=t[e.placement];a.splice(a.indexOf(e.key),1);var s=this.fromElementDescriptor(e),d=this.toElementFinisherExtras((0,r[n])(s)||s);e=d.element,this.addElementPlacement(e,t),d.finisher&&o.push(d.finisher);var l=d.extras;if(l){for(var c=0;c<l.length;c++)this.addElementPlacement(l[c],t);i.push.apply(i,l)}}return{element:e,finishers:o,extras:i}},decorateConstructor:function(e,t){for(var i=[],o=t.length-1;o>=0;o--){var r=this.fromClassDescriptor(e),n=this.toClassDescriptor((0,t[o])(r)||r);if(void 0!==n.finisher&&i.push(n.finisher),void 0!==n.elements){e=n.elements;for(var a=0;a<e.length-1;a++)for(var s=a+1;s<e.length;s++)if(e[a].key===e[s].key&&e[a].placement===e[s].placement)throw new TypeError("Duplicated element ("+e[a].key+")")}}return{elements:e,finishers:i}},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 ix(e,t);var i=Object.prototype.toString.call(e).slice(8,-1);return"Object"===i&&e.constructor&&(i=e.constructor.name),"Map"===i||"Set"===i?Array.from(e):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?ix(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 i=tx(e.key),o=String(e.placement);if("static"!==o&&"prototype"!==o&&"own"!==o)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 "'+o+'"');var r=e.descriptor;this.disallowProperty(e,"elements","An element descriptor");var n={kind:t,key:i,placement:o,descriptor:Object.assign({},r)};return"field"!==t?this.disallowProperty(e,"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=e.initializer),n},toElementFinisherExtras:function(e){return{element:this.toElementDescriptor(e),finisher:ex(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 i=ex(e,"finisher");return{elements:this.toElementDescriptors(e.elements),finisher:i}},runClassFinishers:function(e,t){for(var i=0;i<t.length;i++){var o=(0,t[i])(e);if(void 0!==o){if("function"!=typeof o)throw new TypeError("Finishers must return a constructor.");e=o}}return e},disallowProperty:function(e,t,i){if(void 0!==e[t])throw new TypeError(i+" can't have a ."+t+" property.")}};return e}function Qp(e){var t,i=tx(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 o={kind:"field"===e.kind?"field":"method",key:i,placement:e.static?"static":"field"===e.kind?"own":"prototype",descriptor:t};return e.decorators&&(o.decorators=e.decorators),"field"===e.kind&&(o.initializer=e.value),o}function Zp(e,t){void 0!==e.descriptor.get?t.descriptor.get=e.descriptor.get:t.descriptor.set=e.descriptor.set}function Kp(e){return e.decorators&&e.decorators.length}function Jp(e){return void 0!==e&&!(void 0===e.value&&void 0===e.writable)}function ex(e,t){var i=e[t];if(void 0!==i&&"function"!=typeof i)throw new TypeError("Expected '"+t+"' to be a function");return i}function tx(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var i=e[Symbol.toPrimitive];if(void 0!==i){var o=i.call(e,t||"default");if("object"!=typeof o)return o;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 ix(e,t){(null==t||t>e.length)&&(t=e.length);for(var i=0,o=new Array(t);i<t;i++)o[i]=e[i];return o}const{stablePrefix:ox}=ue;!function(e,t,i,o){var r=Yp();if(o)for(var n=0;n<o.length;n++)r=o[n](r);var a=t((function(e){r.initializeInstanceElements(e,s.elements)}),i),s=r.decorateClass(function(e){for(var t=[],i=function(e){return"method"===e.kind&&e.key===n.key&&e.placement===n.placement},o=0;o<e.length;o++){var r,n=e[o];if("method"===n.kind&&(r=t.find(i)))if(Jp(n.descriptor)||Jp(r.descriptor)){if(Kp(n)||Kp(r))throw new ReferenceError("Duplicated methods ("+n.key+") can't be decorated.");r.descriptor=n.descriptor}else{if(Kp(n)){if(Kp(r))throw new ReferenceError("Decorators can't be placed on different accessors with for the same property ("+n.key+").");r.decorators=n.decorators}Zp(n,r)}else t.push(n)}return t}(a.d.map(Qp)),e);r.initializeClassElements(a.F,s.elements),r.runClassFinishers(a.F,s.finishers)}([ie(`${ox}-top-nav-l1`)],(function(e,t){return{F:class extends t{constructor(...t){super(...t),e(this)}},d:[{kind:"field",key:"_handleSearchToggle",value:()=>()=>{}},{kind:"field",decorators:[ne({type:Boolean,reflect:!0,attribute:"hide-divider"})],key:"hideDivider",value:()=>!0},{kind:"get",static:!0,key:"stableSelector",value:function(){return`${ox}--masthead__l1-nav`}}]}}),Xp);let rx,nx,ax=e=>e;const{prefix:sx}=dd;let dx=md([],(function(e,t){return{F:class extends t{constructor(...t){super(...t),e(this)}},d:[{kind:"field",decorators:[ne()],key:"href",value:void 0},{kind:"field",decorators:[ne()],key:"prefix",value:void 0},{kind:"method",key:"createRenderRoot",value:function(){var e;return this.attachShadow({mode:"open",delegatesFocus:Number((null!==(e=/Safari\/(\d+)/.exec(navigator.userAgent))&&void 0!==e?e:["",0])[1])<=537})}},{kind:"method",key:"render",value:function(){const{href:e,prefix:t}=this,i=t?B(rx||(rx=ax` <span part="prefix" class="${0}--header__name--prefix">${0}</span> `),sx,t):void 0;return B(nx||(nx=ax` <a part="link" class="${0}--header__name" href="${0}">${0}&nbsp;<slot></slot></a> `),sx,ys(e),i)}},{kind:"field",static:!0,key:"styles",value:()=>ub}]}}),zd(fe));var lx=1/0,cx=17976931348623157e292;function bx(e){var t=function(e){return e?(e=il(e))===lx||e===-lx?(e<0?-1:1)*cx:e==e?e:0:0===e?e:0}(e),i=t%1;return t==t?i?t-i:t:0}var hx=Math.max,px=Math.min;var xx,fx=(xx=function(e,t,i){var o=null==e?0:e.length;if(!o)return-1;var r=o-1;return void 0!==i&&(r=bx(i),r=i<0?hx(o+r,0):px(r,o-1)),function(e,t,i,o){for(var r=e.length,n=i+(o?1:-1);o?n--:++n<r;)if(t(e[n],n,e))return n;return-1}(e,ar(t),r,!0)},function(e,t,i){var o=Object(e);if(!Ji(e)){var r=ar(t);e=eo(e),t=function(e){return r(o[e],e,o)}}var n=xx(e,t,i);return n>-1?o[r?e[n]:n]:void 0});let ux,gx,mx=e=>e;function vx(){vx=function(){return e};var e={elementsDefinitionOrder:[["method"],["field"]],initializeInstanceElements:function(e,t){["method","field"].forEach((function(i){t.forEach((function(t){t.kind===i&&"own"===t.placement&&this.defineClassElement(e,t)}),this)}),this)},initializeClassElements:function(e,t){var i=e.prototype;["method","field"].forEach((function(o){t.forEach((function(t){var r=t.placement;if(t.kind===o&&("static"===r||"prototype"===r)){var n="static"===r?e:i;this.defineClassElement(n,t)}}),this)}),this)},defineClassElement:function(e,t){var i=t.descriptor;if("field"===t.kind){var o=t.initializer;i={enumerable:i.enumerable,writable:i.writable,configurable:i.configurable,value:void 0===o?void 0:o.call(e)}}Object.defineProperty(e,t.key,i)},decorateClass:function(e,t){var i=[],o=[],r={static:[],prototype:[],own:[]};if(e.forEach((function(e){this.addElementPlacement(e,r)}),this),e.forEach((function(e){if(!wx(e))return i.push(e);var t=this.decorateElement(e,r);i.push(t.element),i.push.apply(i,t.extras),o.push.apply(o,t.finishers)}),this),!t)return{elements:i,finishers:o};var n=this.decorateConstructor(i,t);return o.push.apply(o,n.finishers),n.finishers=o,n},addElementPlacement:function(e,t,i){var o=t[e.placement];if(!i&&-1!==o.indexOf(e.key))throw new TypeError("Duplicated element ("+e.key+")");o.push(e.key)},decorateElement:function(e,t){for(var i=[],o=[],r=e.decorators,n=r.length-1;n>=0;n--){var a=t[e.placement];a.splice(a.indexOf(e.key),1);var s=this.fromElementDescriptor(e),d=this.toElementFinisherExtras((0,r[n])(s)||s);e=d.element,this.addElementPlacement(e,t),d.finisher&&o.push(d.finisher);var l=d.extras;if(l){for(var c=0;c<l.length;c++)this.addElementPlacement(l[c],t);i.push.apply(i,l)}}return{element:e,finishers:o,extras:i}},decorateConstructor:function(e,t){for(var i=[],o=t.length-1;o>=0;o--){var r=this.fromClassDescriptor(e),n=this.toClassDescriptor((0,t[o])(r)||r);if(void 0!==n.finisher&&i.push(n.finisher),void 0!==n.elements){e=n.elements;for(var a=0;a<e.length-1;a++)for(var s=a+1;s<e.length;s++)if(e[a].key===e[s].key&&e[a].placement===e[s].placement)throw new TypeError("Duplicated element ("+e[a].key+")")}}return{elements:e,finishers:i}},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 zx(e,t);var i=Object.prototype.toString.call(e).slice(8,-1);return"Object"===i&&e.constructor&&(i=e.constructor.name),"Map"===i||"Set"===i?Array.from(e):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?zx(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 i=Sx(e.key),o=String(e.placement);if("static"!==o&&"prototype"!==o&&"own"!==o)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 "'+o+'"');var r=e.descriptor;this.disallowProperty(e,"elements","An element descriptor");var n={kind:t,key:i,placement:o,descriptor:Object.assign({},r)};return"field"!==t?this.disallowProperty(e,"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=e.initializer),n},toElementFinisherExtras:function(e){return{element:this.toElementDescriptor(e),finisher:Ex(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 i=Ex(e,"finisher");return{elements:this.toElementDescriptors(e.elements),finisher:i}},runClassFinishers:function(e,t){for(var i=0;i<t.length;i++){var o=(0,t[i])(e);if(void 0!==o){if("function"!=typeof o)throw new TypeError("Finishers must return a constructor.");e=o}}return e},disallowProperty:function(e,t,i){if(void 0!==e[t])throw new TypeError(i+" can't have a ."+t+" property.")}};return e}function _x(e){var t,i=Sx(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 o={kind:"field"===e.kind?"field":"method",key:i,placement:e.static?"static":"field"===e.kind?"own":"prototype",descriptor:t};return e.decorators&&(o.decorators=e.decorators),"field"===e.kind&&(o.initializer=e.value),o}function yx(e,t){void 0!==e.descriptor.get?t.descriptor.get=e.descriptor.get:t.descriptor.set=e.descriptor.set}function wx(e){return e.decorators&&e.decorators.length}function kx(e){return void 0!==e&&!(void 0===e.value&&void 0===e.writable)}function Ex(e,t){var i=e[t];if(void 0!==i&&"function"!=typeof i)throw new TypeError("Expected '"+t+"' to be a function");return i}function Sx(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var i=e[Symbol.toPrimitive];if(void 0!==i){var o=i.call(e,t||"default");if("object"!=typeof o)return o;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 zx(e,t){(null==t||t>e.length)&&(t=e.length);for(var i=0,o=new Array(t);i<t;i++)o[i]=e[i];return o}function Tx(){return Tx="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,i){var o=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=Ax(e)););return e}(e,t);if(o){var r=Object.getOwnPropertyDescriptor(o,t);return r.get?r.get.call(arguments.length<3?e:i):r.value}},Tx.apply(this,arguments)}function Ax(e){return Ax=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Ax(e)}const{prefix:Px}=dd,{stablePrefix:Cx}=ue,Ox=Node.DOCUMENT_POSITION_PRECEDING|Node.DOCUMENT_POSITION_CONTAINS,Dx=Node.DOCUMENT_POSITION_FOLLOWING|Node.DOCUMENT_POSITION_CONTAINED_BY;let Rx,Ix,jx=function(e,t,i,o){var r=vx();if(o)for(var n=0;n<o.length;n++)r=o[n](r);var a=t((function(e){r.initializeInstanceElements(e,s.elements)}),i),s=r.decorateClass(function(e){for(var t=[],i=function(e){return"method"===e.kind&&e.key===n.key&&e.placement===n.placement},o=0;o<e.length;o++){var r,n=e[o];if("method"===n.kind&&(r=t.find(i)))if(kx(n.descriptor)||kx(r.descriptor)){if(wx(n)||wx(r))throw new ReferenceError("Duplicated methods ("+n.key+") can't be decorated.");r.descriptor=n.descriptor}else{if(wx(n)){if(wx(r))throw new ReferenceError("Decorators can't be placed on different accessors with for the same property ("+n.key+").");r.decorators=n.decorators}yx(n,r)}else t.push(n)}return t}(a.d.map(_x)),e);return r.initializeClassElements(a.F,s.elements),r.runClassFinishers(a.F,s.finishers)}([ie(`${Cx}-left-nav`)],(function(e,t){class i extends t{constructor(...t){super(...t),e(this)}}return{F:i,d:[{kind:"field",key:"_hFocusWrap",value:()=>null},{kind:"field",decorators:[se("#start-sentinel")],key:"_startSentinelNode",value:void 0},{kind:"field",decorators:[se("#end-sentinel")],key:"_endSentinelNode",value:void 0},{kind:"field",decorators:[ne({type:Boolean})],key:"_importedSideNav",value:()=>!1},{kind:"field",decorators:[Es("document:dds-request-focus-wrap")],key:"_handleRequestMenuButtonFocusWrap",value(){return e=>{var t,i;const{selectorButtonToggle:o}=this.constructor;if(e.target===this){const e=this.getRootNode().querySelector(o);e&&e.focus()}else if(null!==(t=(i=e.target).matches)&&void 0!==t&&t.call(i,o)){const{comparisonResult:t}=e.detail,{selectorExpandedMenuSection:i,selectorTabbable:o}=this.constructor,d=this.querySelector(i);if(-1===t){const e=(n=this.querySelectorAll(o),a=e=>Boolean(e.offsetParent),Array.prototype.find.call(n,a,s));e&&e.focus()}else if(t&Ox){const e=fx(null==d?void 0:d.querySelectorAll(o),(e=>Boolean(e.offsetParent)));e&&e.focus()}else if(t&Dx){var r;const e=[...Array.from((null==d||null===(r=d.shadowRoot)||void 0===r?void 0:r.querySelectorAll(o))||[]),...Array.from((null==d?void 0:d.querySelectorAll(o))||[])];e.length&&e[0].focus()}}var n,a,s}}},{kind:"method",key:"_handleClickOut",value:function(e){const{target:t}=e,{selectorButtonToggle:i}=this.constructor,o=this.getRootNode().querySelector(i);this.expanded&&t instanceof Element&&null===t.closest(i)&&null===t.closest(this.tagName)&&(this.expanded=!1,null==o||o.focus())}},{kind:"method",decorators:[Es("keydown")],key:"_handleKeydown",value:function(e){const{selectorButtonToggle:t}=this.constructor,i=this.getRootNode().querySelector(t);"Escape"===e.key&&(this.expanded=!1,null==i||i.focus())}},{kind:"field",decorators:[Es("parentRoot:eventToggle")],key:"_handleContentStateChangeDocument",value(){return e=>{const{selectorMenuSections:t}=this.constructor,{panelId:i}=e.detail,o=Array.from(this.querySelectorAll(t)),r=o.filter((e=>e.matches("[expanded]"))).shift(),n=o.filter((e=>e.matches(`[section-id="${i}"]`))).shift();if(void 0!==r&&void 0!==n&&r!==n){const e=i.split(", ");n.expanded=!0,n.ariaHidden="false",n.transition=!1,r.expanded=!1,r.ariaHidden="true","-1"===e[0]||"-1"===e[1]||n.matches('[section-id*=" -1"]')||(r.transition=!0)}}}},{kind:"field",decorators:[ne({reflect:!0,attribute:"usage-mode"})],key:"usageMode",value:()=>cb.HEADER_NAV},{kind:"method",key:"connectedCallback",value:function(){Tx(Ax(i.prototype),"connectedCallback",this).call(this),document.addEventListener("click",this._handleClickOut.bind(this))}},{kind:"method",key:"updated",value:function(e){Tx(Ax(i.prototype),"updated",this).call(this,e);const{usageMode:t}=this;if(e.has("usageMode")&&t!==cb.HEADER_NAV&&console.warn("dds-left-nav supports only `header-nav` for its `usage-mode` attribute or `usageMode` property. The value is ignored:",t),e.has("expanded")){var o;const e=this.getRootNode();rl(e.querySelectorAll(this.constructor.selectorOverlay),(e=>{e.active=this.expanded}));const{expanded:t,_startSentinelNode:i,_endSentinelNode:r}=this,n=null==e||null===(o=e.querySelector(`${Cx}-cloud-masthead-container, \n ${Cx}-cloud-masthead-composite, \n ${Cx}-masthead-container, \n ${Cx}-masthead-composite`))||void 0===o?void 0:o.querySelector(`${Cx}-masthead`);if(t&&!this._importedSideNav&&(Promise.resolve().then((function(){return Qx})),import("./left-nav-menu-716b9ce4.js"),import("./left-nav-menu-section-c1df2d37.js"),import("./left-nav-menu-item-a66d0618.js"),import("./left-nav-menu-category-heading-c2057b7f.js"),import("./left-nav-overlay-c2fa910f.js"),this._importedSideNav=!0),t&&n)this._hFocusWrap=kb(this.shadowRoot,[i,r]),document.body.style.overflow="hidden",n.style.position="fixed";else{const{selectorMenuSections:e,selectorFirstMenuSection:t}=this.constructor;n&&(document.body.style.overflow="auto",n.style.position=""),this.querySelectorAll(e).forEach((e=>{e.expanded=!1,e.transition=!1})),this.querySelectorAll(t).forEach((e=>{e.expanded=!0})),this._hFocusWrap&&(this._hFocusWrap=this._hFocusWrap.release())}}}},{kind:"field",key:"_renderSentinel",value:()=>e=>B(ux||(ux=mx` <button id="${0}-sentinel" type="button" class="${0}--visually-hidden"></button> `),e,Px)},{kind:"method",key:"render",value:function(){const{_renderSentinel:e}=this;return B(gx||(gx=mx` <div class="${0}--side-nav__wrapper"> ${0} <div class="${0}--side-nav__platform-name"> <slot name="platform-id"></slot> </div> <div class="${0}--side-nav__menu-sections"> <slot></slot> </div> ${0} </div> `),Px,e("start"),Px,Px,e("end"))}},{kind:"get",static:!0,key:"selectorButtonToggle",value:function(){return`${Cx}-masthead-menu-button`}},{kind:"get",static:!0,key:"selectorNavItems",value:function(){return[`${Cx}-left-nav-item`,`${Cx}-left-nav-menu`,`${Cx}-left-nav-menu-item`,`${Cx}-left-nav-name`].join(", ")}},{kind:"get",static:!0,key:"selectorMenuSections",value:function(){return`${Cx}-left-nav-menu-section`}},{kind:"get",static:!0,key:"selectorExpandedMenuSection",value:function(){return`${Cx}-left-nav-menu-section[expanded]`}},{kind:"get",static:!0,key:"selectorFirstMenuSection",value:function(){return`${Cx}-left-nav-menu-section[section-id='-1, -1']`}},{kind:"get",static:!0,key:"selectorTabbable",value:function(){return[fd,`${Cx}-left-nav-item`,`${Cx}-left-nav-menu`,`${Cx}-left-nav-menu-item`,`${Cx}-left-nav-name`].join(", ")}},{kind:"get",static:!0,key:"selectorOverlay",value:function(){return`${Cx}-left-nav-overlay`}},{kind:"get",static:!0,key:"stableSelector",value:function(){return`${Cx}--masthead__l0-sidenav`}},{kind:"get",static:!0,key:"eventToggle",value:function(){return`${Cx}-left-nav-menu-toggled`}},{kind:"field",static:!0,key:"styles",value:()=>jl}]}}),cd(fb)),$x=e=>e;function Lx(){Lx=function(){return e};var e={elementsDefinitionOrder:[["method"],["field"]],initializeInstanceElements:function(e,t){["method","field"].forEach((function(i){t.forEach((function(t){t.kind===i&&"own"===t.placement&&this.defineClassElement(e,t)}),this)}),this)},initializeClassElements:function(e,t){var i=e.prototype;["method","field"].forEach((function(o){t.forEach((function(t){var r=t.placement;if(t.kind===o&&("static"===r||"prototype"===r)){var n="static"===r?e:i;this.defineClassElement(n,t)}}),this)}),this)},defineClassElement:function(e,t){var i=t.descriptor;if("field"===t.kind){var o=t.initializer;i={enumerable:i.enumerable,writable:i.writable,configurable:i.configurable,value:void 0===o?void 0:o.call(e)}}Object.defineProperty(e,t.key,i)},decorateClass:function(e,t){var i=[],o=[],r={static:[],prototype:[],own:[]};if(e.forEach((function(e){this.addElementPlacement(e,r)}),this),e.forEach((function(e){if(!qx(e))return i.push(e);var t=this.decorateElement(e,r);i.push(t.element),i.push.apply(i,t.extras),o.push.apply(o,t.finishers)}),this),!t)return{elements:i,finishers:o};var n=this.decorateConstructor(i,t);return o.push.apply(o,n.finishers),n.finishers=o,n},addElementPlacement:function(e,t,i){var o=t[e.placement];if(!i&&-1!==o.indexOf(e.key))throw new TypeError("Duplicated element ("+e.key+")");o.push(e.key)},decorateElement:function(e,t){for(var i=[],o=[],r=e.decorators,n=r.length-1;n>=0;n--){var a=t[e.placement];a.splice(a.indexOf(e.key),1);var s=this.fromElementDescriptor(e),d=this.toElementFinisherExtras((0,r[n])(s)||s);e=d.element,this.addElementPlacement(e,t),d.finisher&&o.push(d.finisher);var l=d.extras;if(l){for(var c=0;c<l.length;c++)this.addElementPlacement(l[c],t);i.push.apply(i,l)}}return{element:e,finishers:o,extras:i}},decorateConstructor:function(e,t){for(var i=[],o=t.length-1;o>=0;o--){var r=this.fromClassDescriptor(e),n=this.toClassDescriptor((0,t[o])(r)||r);if(void 0!==n.finisher&&i.push(n.finisher),void 0!==n.elements){e=n.elements;for(var a=0;a<e.length-1;a++)for(var s=a+1;s<e.length;s++)if(e[a].key===e[s].key&&e[a].placement===e[s].placement)throw new TypeError("Duplicated element ("+e[a].key+")")}}return{elements:e,finishers:i}},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 Gx(e,t);var i=Object.prototype.toString.call(e).slice(8,-1);return"Object"===i&&e.constructor&&(i=e.constructor.name),"Map"===i||"Set"===i?Array.from(e):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?Gx(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 i=Bx(e.key),o=String(e.placement);if("static"!==o&&"prototype"!==o&&"own"!==o)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 "'+o+'"');var r=e.descriptor;this.disallowProperty(e,"elements","An element descriptor");var n={kind:t,key:i,placement:o,descriptor:Object.assign({},r)};return"field"!==t?this.disallowProperty(e,"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=e.initializer),n},toElementFinisherExtras:function(e){return{element:this.toElementDescriptor(e),finisher:Fx(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 i=Fx(e,"finisher");return{elements:this.toElementDescriptors(e.elements),finisher:i}},runClassFinishers:function(e,t){for(var i=0;i<t.length;i++){var o=(0,t[i])(e);if(void 0!==o){if("function"!=typeof o)throw new TypeError("Finishers must return a constructor.");e=o}}return e},disallowProperty:function(e,t,i){if(void 0!==e[t])throw new TypeError(i+" can't have a ."+t+" property.")}};return e}function Nx(e){var t,i=Bx(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 o={kind:"field"===e.kind?"field":"method",key:i,placement:e.static?"static":"field"===e.kind?"own":"prototype",descriptor:t};return e.decorators&&(o.decorators=e.decorators),"field"===e.kind&&(o.initializer=e.value),o}function Mx(e,t){void 0!==e.descriptor.get?t.descriptor.get=e.descriptor.get:t.descriptor.set=e.descriptor.set}function qx(e){return e.decorators&&e.decorators.length}function Ux(e){return void 0!==e&&!(void 0===e.value&&void 0===e.writable)}function Fx(e,t){var i=e[t];if(void 0!==i&&"function"!=typeof i)throw new TypeError("Expected '"+t+"' to be a function");return i}function Bx(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var i=e[Symbol.toPrimitive];if(void 0!==i){var o=i.call(e,t||"default");if("object"!=typeof o)return o;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 Gx(e,t){(null==t||t>e.length)&&(t=e.length);for(var i=0,o=new Array(t);i<t;i++)o[i]=e[i];return o}function Hx(){return Hx="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,i){var o=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=Vx(e)););return e}(e,t);if(o){var r=Object.getOwnPropertyDescriptor(o,t);return r.get?r.get.call(arguments.length<3?e:i):r.value}},Hx.apply(this,arguments)}function Vx(e){return Vx=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Vx(e)}const{prefix:Wx}=dd,{stablePrefix:Xx}=ue;let Yx=function(e,t,i,o){var r=Lx();if(o)for(var n=0;n<o.length;n++)r=o[n](r);var a=t((function(e){r.initializeInstanceElements(e,s.elements)}),i),s=r.decorateClass(function(e){for(var t=[],i=function(e){return"method"===e.kind&&e.key===n.key&&e.placement===n.placement},o=0;o<e.length;o++){var r,n=e[o];if("method"===n.kind&&(r=t.find(i)))if(Ux(n.descriptor)||Ux(r.descriptor)){if(qx(n)||qx(r))throw new ReferenceError("Duplicated methods ("+n.key+") can't be decorated.");r.descriptor=n.descriptor}else{if(qx(n)){if(qx(r))throw new ReferenceError("Decorators can't be placed on different accessors with for the same property ("+n.key+").");r.decorators=n.decorators}Mx(n,r)}else t.push(n)}return t}(a.d.map(Nx)),e);return r.initializeClassElements(a.F,s.elements),r.runClassFinishers(a.F,s.finishers)}([ie(`${Xx}-left-nav-name`)],(function(e,t){class i extends t{constructor(...t){super(...t),e(this)}}return{F:i,d:[{kind:"field",decorators:[ne({type:String,attribute:"slot",reflect:!0})],key:"slot",value:()=>""},{kind:"method",key:"connectedCallback",value:function(){Hx(Vx(i.prototype),"connectedCallback",this).call(this),this.parentElement instanceof jx&&(this.slot="platform-id")}},{kind:"method",key:"render",value:function(){const{href:e,prefix:t}=this,i=t?B(Rx||(Rx=$x` <span class="${0}--header__name--prefix">${0}</span>&nbsp; `),Wx,t):void 0;return B(Ix||(Ix=$x` <a class="${0}--side-nav__submenu ${0}--side-nav__submenu-platform" href="${0}"> ${0} <slot></slot> </a> `),Wx,Wx,ws(e),i)}},{kind:"field",static:!0,key:"styles",value:()=>jl}]}}),dx);var Qx=Object.freeze({__proto__:null,default:Yx});let Zx,Kx,Jx=e=>e;function ef(){ef=function(){return e};var e={elementsDefinitionOrder:[["method"],["field"]],initializeInstanceElements:function(e,t){["method","field"].forEach((function(i){t.forEach((function(t){t.kind===i&&"own"===t.placement&&this.defineClassElement(e,t)}),this)}),this)},initializeClassElements:function(e,t){var i=e.prototype;["method","field"].forEach((function(o){t.forEach((function(t){var r=t.placement;if(t.kind===o&&("static"===r||"prototype"===r)){var n="static"===r?e:i;this.defineClassElement(n,t)}}),this)}),this)},defineClassElement:function(e,t){var i=t.descriptor;if("field"===t.kind){var o=t.initializer;i={enumerable:i.enumerable,writable:i.writable,configurable:i.configurable,value:void 0===o?void 0:o.call(e)}}Object.defineProperty(e,t.key,i)},decorateClass:function(e,t){var i=[],o=[],r={static:[],prototype:[],own:[]};if(e.forEach((function(e){this.addElementPlacement(e,r)}),this),e.forEach((function(e){if(!rf(e))return i.push(e);var t=this.decorateElement(e,r);i.push(t.element),i.push.apply(i,t.extras),o.push.apply(o,t.finishers)}),this),!t)return{elements:i,finishers:o};var n=this.decorateConstructor(i,t);return o.push.apply(o,n.finishers),n.finishers=o,n},addElementPlacement:function(e,t,i){var o=t[e.placement];if(!i&&-1!==o.indexOf(e.key))throw new TypeError("Duplicated element ("+e.key+")");o.push(e.key)},decorateElement:function(e,t){for(var i=[],o=[],r=e.decorators,n=r.length-1;n>=0;n--){var a=t[e.placement];a.splice(a.indexOf(e.key),1);var s=this.fromElementDescriptor(e),d=this.toElementFinisherExtras((0,r[n])(s)||s);e=d.element,this.addElementPlacement(e,t),d.finisher&&o.push(d.finisher);var l=d.extras;if(l){for(var c=0;c<l.length;c++)this.addElementPlacement(l[c],t);i.push.apply(i,l)}}return{element:e,finishers:o,extras:i}},decorateConstructor:function(e,t){for(var i=[],o=t.length-1;o>=0;o--){var r=this.fromClassDescriptor(e),n=this.toClassDescriptor((0,t[o])(r)||r);if(void 0!==n.finisher&&i.push(n.finisher),void 0!==n.elements){e=n.elements;for(var a=0;a<e.length-1;a++)for(var s=a+1;s<e.length;s++)if(e[a].key===e[s].key&&e[a].placement===e[s].placement)throw new TypeError("Duplicated element ("+e[a].key+")")}}return{elements:e,finishers:i}},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 df(e,t);var i=Object.prototype.toString.call(e).slice(8,-1);return"Object"===i&&e.constructor&&(i=e.constructor.name),"Map"===i||"Set"===i?Array.from(e):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?df(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 i=sf(e.key),o=String(e.placement);if("static"!==o&&"prototype"!==o&&"own"!==o)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 "'+o+'"');var r=e.descriptor;this.disallowProperty(e,"elements","An element descriptor");var n={kind:t,key:i,placement:o,descriptor:Object.assign({},r)};return"field"!==t?this.disallowProperty(e,"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=e.initializer),n},toElementFinisherExtras:function(e){return{element:this.toElementDescriptor(e),finisher:af(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 i=af(e,"finisher");return{elements:this.toElementDescriptors(e.elements),finisher:i}},runClassFinishers:function(e,t){for(var i=0;i<t.length;i++){var o=(0,t[i])(e);if(void 0!==o){if("function"!=typeof o)throw new TypeError("Finishers must return a constructor.");e=o}}return e},disallowProperty:function(e,t,i){if(void 0!==e[t])throw new TypeError(i+" can't have a ."+t+" property.")}};return e}function tf(e){var t,i=sf(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 o={kind:"field"===e.kind?"field":"method",key:i,placement:e.static?"static":"field"===e.kind?"own":"prototype",descriptor:t};return e.decorators&&(o.decorators=e.decorators),"field"===e.kind&&(o.initializer=e.value),o}function of(e,t){void 0!==e.descriptor.get?t.descriptor.get=e.descriptor.get:t.descriptor.set=e.descriptor.set}function rf(e){return e.decorators&&e.decorators.length}function nf(e){return void 0!==e&&!(void 0===e.value&&void 0===e.writable)}function af(e,t){var i=e[t];if(void 0!==i&&"function"!=typeof i)throw new TypeError("Expected '"+t+"' to be a function");return i}function sf(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var i=e[Symbol.toPrimitive];if(void 0!==i){var o=i.call(e,t||"default");if("object"!=typeof o)return o;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 df(e,t){(null==t||t>e.length)&&(t=e.length);for(var i=0,o=new Array(t);i<t;i++)o[i]=e[i];return o}function lf(){return lf="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,i){var o=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=cf(e)););return e}(e,t);if(o){var r=Object.getOwnPropertyDescriptor(o,t);return r.get?r.get.call(arguments.length<3?e:i):r.value}},lf.apply(this,arguments)}function cf(e){return cf=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},cf(e)}const{prefix:bf}=dd,{stablePrefix:hf}=ue;let pf=function(e,t,i,o){var r=ef();if(o)for(var n=0;n<o.length;n++)r=o[n](r);var a=t((function(e){r.initializeInstanceElements(e,s.elements)}),i),s=r.decorateClass(function(e){for(var t=[],i=function(e){return"method"===e.kind&&e.key===n.key&&e.placement===n.placement},o=0;o<e.length;o++){var r,n=e[o];if("method"===n.kind&&(r=t.find(i)))if(nf(n.descriptor)||nf(r.descriptor)){if(rf(n)||rf(r))throw new ReferenceError("Duplicated methods ("+n.key+") can't be decorated.");r.descriptor=n.descriptor}else{if(rf(n)){if(rf(r))throw new ReferenceError("Decorators can't be placed on different accessors with for the same property ("+n.key+").");r.decorators=n.decorators}of(n,r)}else t.push(n)}return t}(a.d.map(tf)),e);return r.initializeClassElements(a.F,s.elements),r.runClassFinishers(a.F,s.finishers)}([ie(`${hf}-top-nav-name`)],(function(e,t){class i extends t{constructor(...t){super(...t),e(this)}}return{F:i,d:[{kind:"method",key:"connectedCallback",value:function(){lf(cf(i.prototype),"connectedCallback",this).call(this);const{selectorTopNav:e}=this.constructor,{nextElementSibling:t}=this;t&&t.matches(e)&&(t.hideDivider=!0)}},{kind:"method",key:"disconnectedCallback",value:function(){const{selectorTopNav:e}=this.constructor,{nextElementSibling:t}=this;t&&t.matches(e)&&(t.hideDivider=!1),lf(cf(i.prototype),"disconnectedCallback",this).call(this)}},{kind:"method",key:"render",value:function(){const{href:e,prefix:t}=this,i=t?B(Zx||(Zx=Jx` <span class="${0}--header__name--prefix">${0}</span>&nbsp; `),bf,t):void 0;return B(Kx||(Kx=Jx` <a class="${0}--header__name" href="${0}">${0}<slot></slot></a> `),bf,ws(e),i)}},{kind:"get",static:!0,key:"selectorTopNav",value:function(){return`${hf}-top-nav`}},{kind:"get",static:!0,key:"stableSelector",value:function(){return`${hf}--masthead__platform-name`}},{kind:"field",static:!0,key:"styles",value:()=>jl}]}}),Yx);function xf(){xf=function(){return e};var e={elementsDefinitionOrder:[["method"],["field"]],initializeInstanceElements:function(e,t){["method","field"].forEach((function(i){t.forEach((function(t){t.kind===i&&"own"===t.placement&&this.defineClassElement(e,t)}),this)}),this)},initializeClassElements:function(e,t){var i=e.prototype;["method","field"].forEach((function(o){t.forEach((function(t){var r=t.placement;if(t.kind===o&&("static"===r||"prototype"===r)){var n="static"===r?e:i;this.defineClassElement(n,t)}}),this)}),this)},defineClassElement:function(e,t){var i=t.descriptor;if("field"===t.kind){var o=t.initializer;i={enumerable:i.enumerable,writable:i.writable,configurable:i.configurable,value:void 0===o?void 0:o.call(e)}}Object.defineProperty(e,t.key,i)},decorateClass:function(e,t){var i=[],o=[],r={static:[],prototype:[],own:[]};if(e.forEach((function(e){this.addElementPlacement(e,r)}),this),e.forEach((function(e){if(!gf(e))return i.push(e);var t=this.decorateElement(e,r);i.push(t.element),i.push.apply(i,t.extras),o.push.apply(o,t.finishers)}),this),!t)return{elements:i,finishers:o};var n=this.decorateConstructor(i,t);return o.push.apply(o,n.finishers),n.finishers=o,n},addElementPlacement:function(e,t,i){var o=t[e.placement];if(!i&&-1!==o.indexOf(e.key))throw new TypeError("Duplicated element ("+e.key+")");o.push(e.key)},decorateElement:function(e,t){for(var i=[],o=[],r=e.decorators,n=r.length-1;n>=0;n--){var a=t[e.placement];a.splice(a.indexOf(e.key),1);var s=this.fromElementDescriptor(e),d=this.toElementFinisherExtras((0,r[n])(s)||s);e=d.element,this.addElementPlacement(e,t),d.finisher&&o.push(d.finisher);var l=d.extras;if(l){for(var c=0;c<l.length;c++)this.addElementPlacement(l[c],t);i.push.apply(i,l)}}return{element:e,finishers:o,extras:i}},decorateConstructor:function(e,t){for(var i=[],o=t.length-1;o>=0;o--){var r=this.fromClassDescriptor(e),n=this.toClassDescriptor((0,t[o])(r)||r);if(void 0!==n.finisher&&i.push(n.finisher),void 0!==n.elements){e=n.elements;for(var a=0;a<e.length-1;a++)for(var s=a+1;s<e.length;s++)if(e[a].key===e[s].key&&e[a].placement===e[s].placement)throw new TypeError("Duplicated element ("+e[a].key+")")}}return{elements:e,finishers:i}},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 yf(e,t);var i=Object.prototype.toString.call(e).slice(8,-1);return"Object"===i&&e.constructor&&(i=e.constructor.name),"Map"===i||"Set"===i?Array.from(e):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?yf(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 i=_f(e.key),o=String(e.placement);if("static"!==o&&"prototype"!==o&&"own"!==o)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 "'+o+'"');var r=e.descriptor;this.disallowProperty(e,"elements","An element descriptor");var n={kind:t,key:i,placement:o,descriptor:Object.assign({},r)};return"field"!==t?this.disallowProperty(e,"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=e.initializer),n},toElementFinisherExtras:function(e){return{element:this.toElementDescriptor(e),finisher:vf(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 i=vf(e,"finisher");return{elements:this.toElementDescriptors(e.elements),finisher:i}},runClassFinishers:function(e,t){for(var i=0;i<t.length;i++){var o=(0,t[i])(e);if(void 0!==o){if("function"!=typeof o)throw new TypeError("Finishers must return a constructor.");e=o}}return e},disallowProperty:function(e,t,i){if(void 0!==e[t])throw new TypeError(i+" can't have a ."+t+" property.")}};return e}function ff(e){var t,i=_f(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 o={kind:"field"===e.kind?"field":"method",key:i,placement:e.static?"static":"field"===e.kind?"own":"prototype",descriptor:t};return e.decorators&&(o.decorators=e.decorators),"field"===e.kind&&(o.initializer=e.value),o}function uf(e,t){void 0!==e.descriptor.get?t.descriptor.get=e.descriptor.get:t.descriptor.set=e.descriptor.set}function gf(e){return e.decorators&&e.decorators.length}function mf(e){return void 0!==e&&!(void 0===e.value&&void 0===e.writable)}function vf(e,t){var i=e[t];if(void 0!==i&&"function"!=typeof i)throw new TypeError("Expected '"+t+"' to be a function");return i}function _f(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var i=e[Symbol.toPrimitive];if(void 0!==i){var o=i.call(e,t||"default");if("object"!=typeof o)return o;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 yf(e,t){(null==t||t>e.length)&&(t=e.length);for(var i=0,o=new Array(t);i<t;i++)o[i]=e[i];return o}function wf(){return wf="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,i){var o=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=kf(e)););return e}(e,t);if(o){var r=Object.getOwnPropertyDescriptor(o,t);return r.get?r.get.call(arguments.length<3?e:i):r.value}},wf.apply(this,arguments)}function kf(e){return kf=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},kf(e)}const{stablePrefix:Ef}=ue;function Sf(){Sf=function(){return e};var e={elementsDefinitionOrder:[["method"],["field"]],initializeInstanceElements:function(e,t){["method","field"].forEach((function(i){t.forEach((function(t){t.kind===i&&"own"===t.placement&&this.defineClassElement(e,t)}),this)}),this)},initializeClassElements:function(e,t){var i=e.prototype;["method","field"].forEach((function(o){t.forEach((function(t){var r=t.placement;if(t.kind===o&&("static"===r||"prototype"===r)){var n="static"===r?e:i;this.defineClassElement(n,t)}}),this)}),this)},defineClassElement:function(e,t){var i=t.descriptor;if("field"===t.kind){var o=t.initializer;i={enumerable:i.enumerable,writable:i.writable,configurable:i.configurable,value:void 0===o?void 0:o.call(e)}}Object.defineProperty(e,t.key,i)},decorateClass:function(e,t){var i=[],o=[],r={static:[],prototype:[],own:[]};if(e.forEach((function(e){this.addElementPlacement(e,r)}),this),e.forEach((function(e){if(!Af(e))return i.push(e);var t=this.decorateElement(e,r);i.push(t.element),i.push.apply(i,t.extras),o.push.apply(o,t.finishers)}),this),!t)return{elements:i,finishers:o};var n=this.decorateConstructor(i,t);return o.push.apply(o,n.finishers),n.finishers=o,n},addElementPlacement:function(e,t,i){var o=t[e.placement];if(!i&&-1!==o.indexOf(e.key))throw new TypeError("Duplicated element ("+e.key+")");o.push(e.key)},decorateElement:function(e,t){for(var i=[],o=[],r=e.decorators,n=r.length-1;n>=0;n--){var a=t[e.placement];a.splice(a.indexOf(e.key),1);var s=this.fromElementDescriptor(e),d=this.toElementFinisherExtras((0,r[n])(s)||s);e=d.element,this.addElementPlacement(e,t),d.finisher&&o.push(d.finisher);var l=d.extras;if(l){for(var c=0;c<l.length;c++)this.addElementPlacement(l[c],t);i.push.apply(i,l)}}return{element:e,finishers:o,extras:i}},decorateConstructor:function(e,t){for(var i=[],o=t.length-1;o>=0;o--){var r=this.fromClassDescriptor(e),n=this.toClassDescriptor((0,t[o])(r)||r);if(void 0!==n.finisher&&i.push(n.finisher),void 0!==n.elements){e=n.elements;for(var a=0;a<e.length-1;a++)for(var s=a+1;s<e.length;s++)if(e[a].key===e[s].key&&e[a].placement===e[s].placement)throw new TypeError("Duplicated element ("+e[a].key+")")}}return{elements:e,finishers:i}},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 Df(e,t);var i=Object.prototype.toString.call(e).slice(8,-1);return"Object"===i&&e.constructor&&(i=e.constructor.name),"Map"===i||"Set"===i?Array.from(e):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?Df(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 i=Of(e.key),o=String(e.placement);if("static"!==o&&"prototype"!==o&&"own"!==o)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 "'+o+'"');var r=e.descriptor;this.disallowProperty(e,"elements","An element descriptor");var n={kind:t,key:i,placement:o,descriptor:Object.assign({},r)};return"field"!==t?this.disallowProperty(e,"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=e.initializer),n},toElementFinisherExtras:function(e){return{element:this.toElementDescriptor(e),finisher:Cf(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 i=Cf(e,"finisher");return{elements:this.toElementDescriptors(e.elements),finisher:i}},runClassFinishers:function(e,t){for(var i=0;i<t.length;i++){var o=(0,t[i])(e);if(void 0!==o){if("function"!=typeof o)throw new TypeError("Finishers must return a constructor.");e=o}}return e},disallowProperty:function(e,t,i){if(void 0!==e[t])throw new TypeError(i+" can't have a ."+t+" property.")}};return e}function zf(e){var t,i=Of(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 o={kind:"field"===e.kind?"field":"method",key:i,placement:e.static?"static":"field"===e.kind?"own":"prototype",descriptor:t};return e.decorators&&(o.decorators=e.decorators),"field"===e.kind&&(o.initializer=e.value),o}function Tf(e,t){void 0!==e.descriptor.get?t.descriptor.get=e.descriptor.get:t.descriptor.set=e.descriptor.set}function Af(e){return e.decorators&&e.decorators.length}function Pf(e){return void 0!==e&&!(void 0===e.value&&void 0===e.writable)}function Cf(e,t){var i=e[t];if(void 0!==i&&"function"!=typeof i)throw new TypeError("Expected '"+t+"' to be a function");return i}function Of(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var i=e[Symbol.toPrimitive];if(void 0!==i){var o=i.call(e,t||"default");if("object"!=typeof o)return o;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 Df(e,t){(null==t||t>e.length)&&(t=e.length);for(var i=0,o=new Array(t);i<t;i++)o[i]=e[i];return o}!function(e,t,i,o){var r=xf();if(o)for(var n=0;n<o.length;n++)r=o[n](r);var a=t((function(e){r.initializeInstanceElements(e,s.elements)}),i),s=r.decorateClass(function(e){for(var t=[],i=function(e){return"method"===e.kind&&e.key===n.key&&e.placement===n.placement},o=0;o<e.length;o++){var r,n=e[o];if("method"===n.kind&&(r=t.find(i)))if(mf(n.descriptor)||mf(r.descriptor)){if(gf(n)||gf(r))throw new ReferenceError("Duplicated methods ("+n.key+") can't be decorated.");r.descriptor=n.descriptor}else{if(gf(n)){if(gf(r))throw new ReferenceError("Decorators can't be placed on different accessors with for the same property ("+n.key+").");r.decorators=n.decorators}uf(n,r)}else t.push(n)}return t}(a.d.map(ff)),e);r.initializeClassElements(a.F,s.elements),r.runClassFinishers(a.F,s.finishers)}([ie(`${Ef}-top-nav-item`)],(function(e,t){class i extends t{constructor(...t){super(...t),e(this)}}return{F:i,d:[{kind:"field",decorators:[se('[part="link"]')],key:"_linkNode",value:void 0},{kind:"field",decorators:[ne({type:Boolean,reflect:!0})],key:"active",value:()=>!1},{kind:"method",key:"updated",value:function(e){if(wf(kf(i.prototype),"updated",this).call(this,e),e.has("active")){const{active:e,_linkNode:t}=this;t&&t.setAttribute("data-selected",String(Boolean(e)))}}},{kind:"method",key:"firstUpdated",value:function(){var e;null===(e=this.shadowRoot)||void 0===e||e.querySelectorAll('[role="menuitem"]').forEach((e=>e.removeAttribute("role"))),this.hasAttribute("role")&&"listitem"===this.getAttribute("role")&&this.removeAttribute("role")}},{kind:"field",static:!0,key:"styles",value:()=>jl}]}}),xh);const{stablePrefix:Rf}=ue;!function(e,t,i,o){var r=Sf();if(o)for(var n=0;n<o.length;n++)r=o[n](r);var a=t((function(e){r.initializeInstanceElements(e,s.elements)}),i),s=r.decorateClass(function(e){for(var t=[],i=function(e){return"method"===e.kind&&e.key===n.key&&e.placement===n.placement},o=0;o<e.length;o++){var r,n=e[o];if("method"===n.kind&&(r=t.find(i)))if(Pf(n.descriptor)||Pf(r.descriptor)){if(Af(n)||Af(r))throw new ReferenceError("Duplicated methods ("+n.key+") can't be decorated.");r.descriptor=n.descriptor}else{if(Af(n)){if(Af(r))throw new ReferenceError("Decorators can't be placed on different accessors with for the same property ("+n.key+").");r.decorators=n.decorators}Tf(n,r)}else t.push(n)}return t}(a.d.map(zf)),e);r.initializeClassElements(a.F,s.elements),r.runClassFinishers(a.F,s.finishers)}([ie(`${Rf}-top-nav-menu-item`)],(function(e,t){return{F:class extends t{constructor(...t){super(...t),e(this)}},d:[{kind:"field",static:!0,key:"styles",value:()=>jl},{kind:"method",key:"firstUpdated",value:function(){var e;null===(e=this.shadowRoot)||void 0===e||e.querySelectorAll('[role="menuitem"]').forEach((e=>e.removeAttribute("role")))}}]}}),fh);
719
+ */,Tp=({children:e,...t}={})=>G`<svg focusable="false" preserveAspectRatio="xMidYMid meet" xmlns="http://www.w3.org/2000/svg" fill="currentColor" ...="${pd(t)}" aria-hidden="true" width="20" height="20" viewBox="0 0 32 32">${e}<path d="M12 8L22 16 12 24z"></path></svg>`;let Ap,Pp=e=>e;const{prefix:Cp}=dd;let Op,Dp,Rp,Ip=md([],(function(e,t){class i extends t{constructor(...t){super(...t),e(this)}}return{F:i,d:[{kind:"field",decorators:[ne({attribute:"menu-bar-label"})],key:"menuBarLabel",value:void 0},{kind:"method",key:"connectedCallback",value:function(){this.hasAttribute("role")||this.setAttribute("role","navigation"),Tl(zl(i.prototype),"connectedCallback",this).call(this)}},{kind:"method",key:"render",value:function(){const{menuBarLabel:e}=this;return B(Ap||(Ap=Pp` <div part="divider" class="${0}-ce--header__divider"></div> <ul part="menu-body" class="${0}--header__menu-bar" aria-label="${0}"> <slot></slot> </ul> `),Cp,Cp,e)}},{kind:"field",static:!0,key:"styles",value:()=>ub}]}}),fe),jp=e=>e;function $p(){$p=function(){return e};var e={elementsDefinitionOrder:[["method"],["field"]],initializeInstanceElements:function(e,t){["method","field"].forEach((function(i){t.forEach((function(t){t.kind===i&&"own"===t.placement&&this.defineClassElement(e,t)}),this)}),this)},initializeClassElements:function(e,t){var i=e.prototype;["method","field"].forEach((function(o){t.forEach((function(t){var r=t.placement;if(t.kind===o&&("static"===r||"prototype"===r)){var n="static"===r?e:i;this.defineClassElement(n,t)}}),this)}),this)},defineClassElement:function(e,t){var i=t.descriptor;if("field"===t.kind){var o=t.initializer;i={enumerable:i.enumerable,writable:i.writable,configurable:i.configurable,value:void 0===o?void 0:o.call(e)}}Object.defineProperty(e,t.key,i)},decorateClass:function(e,t){var i=[],o=[],r={static:[],prototype:[],own:[]};if(e.forEach((function(e){this.addElementPlacement(e,r)}),this),e.forEach((function(e){if(!Mp(e))return i.push(e);var t=this.decorateElement(e,r);i.push(t.element),i.push.apply(i,t.extras),o.push.apply(o,t.finishers)}),this),!t)return{elements:i,finishers:o};var n=this.decorateConstructor(i,t);return o.push.apply(o,n.finishers),n.finishers=o,n},addElementPlacement:function(e,t,i){var o=t[e.placement];if(!i&&-1!==o.indexOf(e.key))throw new TypeError("Duplicated element ("+e.key+")");o.push(e.key)},decorateElement:function(e,t){for(var i=[],o=[],r=e.decorators,n=r.length-1;n>=0;n--){var a=t[e.placement];a.splice(a.indexOf(e.key),1);var s=this.fromElementDescriptor(e),d=this.toElementFinisherExtras((0,r[n])(s)||s);e=d.element,this.addElementPlacement(e,t),d.finisher&&o.push(d.finisher);var l=d.extras;if(l){for(var c=0;c<l.length;c++)this.addElementPlacement(l[c],t);i.push.apply(i,l)}}return{element:e,finishers:o,extras:i}},decorateConstructor:function(e,t){for(var i=[],o=t.length-1;o>=0;o--){var r=this.fromClassDescriptor(e),n=this.toClassDescriptor((0,t[o])(r)||r);if(void 0!==n.finisher&&i.push(n.finisher),void 0!==n.elements){e=n.elements;for(var a=0;a<e.length-1;a++)for(var s=a+1;s<e.length;s++)if(e[a].key===e[s].key&&e[a].placement===e[s].placement)throw new TypeError("Duplicated element ("+e[a].key+")")}}return{elements:e,finishers:i}},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 Bp(e,t);var i=Object.prototype.toString.call(e).slice(8,-1);return"Object"===i&&e.constructor&&(i=e.constructor.name),"Map"===i||"Set"===i?Array.from(e):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?Bp(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 i=Fp(e.key),o=String(e.placement);if("static"!==o&&"prototype"!==o&&"own"!==o)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 "'+o+'"');var r=e.descriptor;this.disallowProperty(e,"elements","An element descriptor");var n={kind:t,key:i,placement:o,descriptor:Object.assign({},r)};return"field"!==t?this.disallowProperty(e,"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=e.initializer),n},toElementFinisherExtras:function(e){return{element:this.toElementDescriptor(e),finisher:Up(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 i=Up(e,"finisher");return{elements:this.toElementDescriptors(e.elements),finisher:i}},runClassFinishers:function(e,t){for(var i=0;i<t.length;i++){var o=(0,t[i])(e);if(void 0!==o){if("function"!=typeof o)throw new TypeError("Finishers must return a constructor.");e=o}}return e},disallowProperty:function(e,t,i){if(void 0!==e[t])throw new TypeError(i+" can't have a ."+t+" property.")}};return e}function Lp(e){var t,i=Fp(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 o={kind:"field"===e.kind?"field":"method",key:i,placement:e.static?"static":"field"===e.kind?"own":"prototype",descriptor:t};return e.decorators&&(o.decorators=e.decorators),"field"===e.kind&&(o.initializer=e.value),o}function Np(e,t){void 0!==e.descriptor.get?t.descriptor.get=e.descriptor.get:t.descriptor.set=e.descriptor.set}function Mp(e){return e.decorators&&e.decorators.length}function qp(e){return void 0!==e&&!(void 0===e.value&&void 0===e.writable)}function Up(e,t){var i=e[t];if(void 0!==i&&"function"!=typeof i)throw new TypeError("Expected '"+t+"' to be a function");return i}function Fp(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var i=e[Symbol.toPrimitive];if(void 0!==i){var o=i.call(e,t||"default");if("object"!=typeof o)return o;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 Bp(e,t){(null==t||t>e.length)&&(t=e.length);for(var i=0,o=new Array(t);i<t;i++)o[i]=e[i];return o}function Gp(){return Gp="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,i){var o=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=Hp(e)););return e}(e,t);if(o){var r=Object.getOwnPropertyDescriptor(o,t);return r.get?r.get.call(arguments.length<3?e:i):r.value}},Gp.apply(this,arguments)}function Hp(e){return Hp=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Hp(e)}const{prefix:Vp}=dd,{stablePrefix:Wp}=ue;let Xp=function(e,t,i,o){var r=$p();if(o)for(var n=0;n<o.length;n++)r=o[n](r);var a=t((function(e){r.initializeInstanceElements(e,s.elements)}),i),s=r.decorateClass(function(e){for(var t=[],i=function(e){return"method"===e.kind&&e.key===n.key&&e.placement===n.placement},o=0;o<e.length;o++){var r,n=e[o];if("method"===n.kind&&(r=t.find(i)))if(qp(n.descriptor)||qp(r.descriptor)){if(Mp(n)||Mp(r))throw new ReferenceError("Duplicated methods ("+n.key+") can't be decorated.");r.descriptor=n.descriptor}else{if(Mp(n)){if(Mp(r))throw new ReferenceError("Decorators can't be placed on different accessors with for the same property ("+n.key+").");r.decorators=n.decorators}Np(n,r)}else t.push(n)}return t}(a.d.map(Lp)),e);return r.initializeClassElements(a.F,s.elements),r.runClassFinishers(a.F,s.finishers)}([ie(`${Wp}-top-nav`)],(function(e,t){class i extends t{constructor(...t){super(...t),e(this)}}return{F:i,d:[{kind:"field",decorators:[se(`.${Vp}--header__nav-caret-left`)],key:"_caretLeftNode",value:void 0},{kind:"field",decorators:[se(`.${Vp}--header__nav-caret-right`)],key:"_caretRightNode",value:void 0},{kind:"field",decorators:[se(`.${Vp}--header__nav`)],key:"_navNode",value:void 0},{kind:"field",decorators:[se(`.${Wp}-ce--header__nav-content-container`)],key:"_contentContainerNode",value:void 0},{kind:"field",decorators:[se(`.${Vp}--header__nav-content`)],key:"_contentNode",value:void 0},{kind:"field",decorators:[ae()],key:"_currentScrollPosition",value:()=>0},{kind:"field",decorators:[se(`.${Vp}--sub-content-left`)],key:"_intersectionLeftSentinelNode",value:void 0},{kind:"field",decorators:[se(`.${Vp}--sub-content-right`)],key:"_intersectionRightSentinelNode",value:void 0},{kind:"field",decorators:[ne({type:Boolean,reflect:!0})],key:"hideNav",value:()=>!1},{kind:"field",decorators:[ne({type:Boolean})],key:"importedMegamenu",value:()=>!1},{kind:"field",decorators:[ne({attribute:"selected-menu-item"})],key:"selectedMenuItem",value:void 0},{kind:"field",key:"_childItems",value:()=>[]},{kind:"field",decorators:[ae()],key:"_isIntersectionLeftTrackerInContent",value:()=>!0},{kind:"field",decorators:[ae()],key:"_isIntersectionRightTrackerInContent",value:()=>!0},{kind:"field",key:"_observerIntersection",value:()=>null},{kind:"field",decorators:[ae()],key:"_pageIsRTL",value(){return"rtl"===this.ownerDocument.documentElement.dir}},{kind:"field",decorators:[se("slot")],key:"_slotNode",value:void 0},{kind:"method",key:"_cleanAndCreateIntersectionObserverContainer",value:function({create:e}={}){const{_intersectionLeftSentinelNode:t,_intersectionRightSentinelNode:i}=this;this._observerIntersection&&(this._observerIntersection.disconnect(),this._observerIntersection=null),e&&(this._observerIntersection=new IntersectionObserver(this._observeIntersectionContainer,{root:this,threshold:0}),t&&this._observerIntersection.observe(t),i&&this._observerIntersection.observe(i))}},{kind:"method",key:"_handleSlotChange",value:function(e){this._childItems=e.target.assignedNodes().filter((e=>{var t,i;return null===(t=(i=e).matches)||void 0===t?void 0:t.call(i,"dds-megamenu-top-nav-menu")})),this._paginateRight({onLoad:!0})}},{kind:"field",key:"_observeIntersectionContainer",value(){return e=>{const{_intersectionLeftSentinelNode:t,_intersectionRightSentinelNode:i}=this;e.forEach((({isIntersecting:e,target:o})=>{o===t&&(this._isIntersectionLeftTrackerInContent=e),o===i&&(this._isIntersectionRightTrackerInContent=e)}))}}},{kind:"method",key:"_paginateLeft",value:function(){const{_caretLeftNode:e,_caretRightNode:t,_contentContainerNode:i,_currentScrollPosition:o,_isIntersectionRightTrackerInContent:r,_navNode:n,_pageIsRTL:a,_slotNode:s}=this,d=null==s?void 0:s.assignedElements();if(d)if(a){const r=this._isIntersectionLeftTrackerInContent?e.offsetWidth:0,a=n.getBoundingClientRect().right,s=d.findIndex((e=>e.getBoundingClientRect().left<a-o-t.offsetWidth));s>=0&&(this._currentScrollPosition=Math.max(a-d[s].getBoundingClientRect().left-i.offsetWidth+r+t.offsetWidth+8,0))}else{const a=r?t.offsetWidth+8:8,s=this._isIntersectionLeftTrackerInContent?e.offsetWidth+8:0,l=n.getBoundingClientRect().left,c=function(e,t,i){for(let o=e.length-1;o>=0;--o)if(t(e[o],o,i))return o;return-1}(d,(e=>e.getBoundingClientRect().left-l<o));if(c>=0){const t=d[c].getBoundingClientRect().right-l-(i.offsetWidth+s-a);this._currentScrollPosition=t<=e.offsetWidth?0:t}}}},{kind:"method",key:"_paginateRight",value:async function({onLoad:e}={}){const{_caretLeftNode:t,_caretRightNode:i,_contentContainerNode:o,_contentNode:r,_currentScrollPosition:n,_isIntersectionLeftTrackerInContent:a,_isIntersectionRightTrackerInContent:s,_navNode:d,_pageIsRTL:l,_slotNode:c}=this;await this.updateComplete;const b=(null==c?void 0:c.assignedElements())||this._childItems;if(b&&o){const c=n+o.offsetWidth;if(l){const i=a?t.offsetWidth:0,n=d.getBoundingClientRect().right,s=e?b.findIndex((e=>n-e.getBoundingClientRect().left>c-t.offsetWidth-8&&e.hasAttribute("active"))):b.findIndex((e=>n-e.getBoundingClientRect().left>c-t.offsetWidth-8));if(s>0){const e=Math.abs(b[s].getBoundingClientRect().right-n+t.offsetWidth+8),a=r.scrollWidth-o.offsetWidth+i;this._currentScrollPosition=Math.min(e,a)}}else{const n=a?0:t.offsetWidth,l=s?i.offsetWidth:0,h=d.getBoundingClientRect().left,p=e?b.findIndex((e=>e.getBoundingClientRect().right-h>c&&e.hasAttribute("active"))):b.findIndex((e=>e.getBoundingClientRect().right-h>c));if(p>0){const e=b[p].getBoundingClientRect().left-h-8,t=r.scrollWidth-(o.offsetWidth-l+n);this._currentScrollPosition=Math.min(e,t)}}}}},{kind:"method",key:"_handleOnKeyDown",value:function(e){const t=e.target,{_pageIsRTL:i,_navNode:o,_currentScrollPosition:r,_contentContainerNode:n,_caretRightNode:a}=this;t&&(i?"Tab"===e.key&&(e.shiftKey?t.previousElementSibling&&a&&t.previousElementSibling.getBoundingClientRect().right+r>o.getBoundingClientRect().right-a.offsetWidth&&this._paginateLeft():t.nextElementSibling&&a&&o.getBoundingClientRect().right-t.nextElementSibling.getBoundingClientRect().left>r+n.offsetWidth-a.offsetWidth&&this._paginateRight()):"Tab"===e.key&&(e.shiftKey?t.previousElementSibling&&t.previousElementSibling.getBoundingClientRect().left-o.getBoundingClientRect().left<r&&this._paginateLeft():t.nextElementSibling&&Math.floor(t.nextElementSibling.getBoundingClientRect().right-o.getBoundingClientRect().left)>r+n.offsetWidth&&this._paginateRight()))}},{kind:"field",decorators:[Es("parentRoot:eventToggleSearch")],key:"_handleSearchToggle",value(){return e=>{void 0!==e.detail.active&&(this.hideNav=e.detail.active)}}},{kind:"field",decorators:[ne({type:Boolean,reflect:!0,attribute:"hide-divider"})],key:"hideDivider",value:()=>!1},{kind:"method",key:"connectedCallback",value:function(){Gp(Hp(i.prototype),"connectedCallback",this).call(this),this._cleanAndCreateIntersectionObserverContainer({create:!0}),this.removeAttribute("role")}},{kind:"method",key:"disconnectedCallback",value:function(){this._cleanAndCreateIntersectionObserverContainer(),Gp(Hp(i.prototype),"disconnectedCallback",this).call(this)}},{kind:"method",key:"firstUpdated",value:function(e){e.has("selectedMenuItem")&&this._paginateRight({onLoad:!0})}},{kind:"method",key:"shouldUpdate",value:function(e){return e.has("hideNav")&&this._cleanAndCreateIntersectionObserverContainer(),!0}},{kind:"method",key:"updated",value:function(e){e.has("hideNav")&&this._cleanAndCreateIntersectionObserverContainer({create:!0}),e.has("_currentScrollPosition")&&this._contentNode&&(this._contentNode.style.insetInlineStart=`-${this._currentScrollPosition}px`)}},{kind:"method",key:"render",value:function(){const{_isIntersectionLeftTrackerInContent:e,_isIntersectionRightTrackerInContent:t,_handleSlotChange:i,_paginateLeft:o,_paginateRight:r,_pageIsRTL:n,_handleOnKeyDown:a}=this,s=sd({[`${Vp}--header__nav-caret-left-container`]:!0,[`${Wp}-ce--header__nav-caret-container--hidden`]:e}),d=sd({[`${Vp}--header__nav-caret-right-container`]:!0,[`${Wp}-ce--header__nav-caret-container--hidden`]:t});return this.hideNav?void 0:B(Op||(Op=jp` ${0} `),n?B(Dp||(Dp=jp` <div class="${0}"> <div class="${0}--header__nav-caret-right-gradient"></div> <button part="next-button" tabindex="-1" aria-hidden="true" class="${0}--header__nav-caret-right" @click="${0}"> ${0} </button> </div> <div class="${0}-ce--header__nav-content-container"> <div class="${0}--header__nav-content"> <nav part="nav" class="${0}--header__nav"> <div class="${0}--sub-content-right"></div> <div part="menubar" class="${0}--header__menu-bar" aria-label="${0}"> <slot @slotchange="${0}" @keydown="${0}"></slot> </div> <div class="${0}--sub-content-left"></div> </nav> </div> </div> <div class="${0}"> <button part="prev-button" tabindex="-1" aria-hidden="true" class="${0}--header__nav-caret-left" @click="${0}"> ${0} </button> <div class="${0}--header__nav-caret-left-gradient"></div> </div> `),d,Vp,Vp,r,zp(),Wp,Vp,Vp,Vp,Vp,ws(this.menuBarLabel),i,a,Vp,s,Vp,o,Tp(),Vp):B(Rp||(Rp=jp` <div class="${0}"> <button part="prev-button" tabindex="-1" aria-hidden="true" class="${0}--header__nav-caret-left" @click="${0}"> ${0} </button> <div class="${0}--header__nav-caret-left-gradient"></div> </div> <div class="${0}-ce--header__nav-content-container"> <div class="${0}--header__nav-content"> <nav part="nav" class="${0}--header__nav"> <div class="${0}--sub-content-left"></div> <div part="menubar" class="${0}--header__menu-bar" aria-label="${0}"> <slot @slotchange="${0}" @keydown="${0}"></slot> </div> <div class="${0}--sub-content-right"></div> </nav> </div> </div> <div class="${0}"> <div class="${0}--header__nav-caret-right-gradient"></div> <button part="next-button" tabindex="-1" aria-hidden="true" class="${0}--header__nav-caret-right" @click="${0}"> ${0} </button> </div> `),s,Vp,o,zp(),Vp,Wp,Vp,Vp,Vp,Vp,ws(this.menuBarLabel),i,a,Vp,d,Vp,Vp,r,Tp()))}},{kind:"get",static:!0,key:"stableSelector",value:function(){return`${Wp}--masthead__l0-nav`}},{kind:"get",static:!0,key:"eventToggleSearch",value:function(){return`${Wp}-search-with-typeahead-toggled`}},{kind:"field",static:!0,key:"styles",value:()=>jl}]}}),cd(Ts(Ip)));function Yp(){Yp=function(){return e};var e={elementsDefinitionOrder:[["method"],["field"]],initializeInstanceElements:function(e,t){["method","field"].forEach((function(i){t.forEach((function(t){t.kind===i&&"own"===t.placement&&this.defineClassElement(e,t)}),this)}),this)},initializeClassElements:function(e,t){var i=e.prototype;["method","field"].forEach((function(o){t.forEach((function(t){var r=t.placement;if(t.kind===o&&("static"===r||"prototype"===r)){var n="static"===r?e:i;this.defineClassElement(n,t)}}),this)}),this)},defineClassElement:function(e,t){var i=t.descriptor;if("field"===t.kind){var o=t.initializer;i={enumerable:i.enumerable,writable:i.writable,configurable:i.configurable,value:void 0===o?void 0:o.call(e)}}Object.defineProperty(e,t.key,i)},decorateClass:function(e,t){var i=[],o=[],r={static:[],prototype:[],own:[]};if(e.forEach((function(e){this.addElementPlacement(e,r)}),this),e.forEach((function(e){if(!Kp(e))return i.push(e);var t=this.decorateElement(e,r);i.push(t.element),i.push.apply(i,t.extras),o.push.apply(o,t.finishers)}),this),!t)return{elements:i,finishers:o};var n=this.decorateConstructor(i,t);return o.push.apply(o,n.finishers),n.finishers=o,n},addElementPlacement:function(e,t,i){var o=t[e.placement];if(!i&&-1!==o.indexOf(e.key))throw new TypeError("Duplicated element ("+e.key+")");o.push(e.key)},decorateElement:function(e,t){for(var i=[],o=[],r=e.decorators,n=r.length-1;n>=0;n--){var a=t[e.placement];a.splice(a.indexOf(e.key),1);var s=this.fromElementDescriptor(e),d=this.toElementFinisherExtras((0,r[n])(s)||s);e=d.element,this.addElementPlacement(e,t),d.finisher&&o.push(d.finisher);var l=d.extras;if(l){for(var c=0;c<l.length;c++)this.addElementPlacement(l[c],t);i.push.apply(i,l)}}return{element:e,finishers:o,extras:i}},decorateConstructor:function(e,t){for(var i=[],o=t.length-1;o>=0;o--){var r=this.fromClassDescriptor(e),n=this.toClassDescriptor((0,t[o])(r)||r);if(void 0!==n.finisher&&i.push(n.finisher),void 0!==n.elements){e=n.elements;for(var a=0;a<e.length-1;a++)for(var s=a+1;s<e.length;s++)if(e[a].key===e[s].key&&e[a].placement===e[s].placement)throw new TypeError("Duplicated element ("+e[a].key+")")}}return{elements:e,finishers:i}},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 ix(e,t);var i=Object.prototype.toString.call(e).slice(8,-1);return"Object"===i&&e.constructor&&(i=e.constructor.name),"Map"===i||"Set"===i?Array.from(e):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?ix(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 i=tx(e.key),o=String(e.placement);if("static"!==o&&"prototype"!==o&&"own"!==o)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 "'+o+'"');var r=e.descriptor;this.disallowProperty(e,"elements","An element descriptor");var n={kind:t,key:i,placement:o,descriptor:Object.assign({},r)};return"field"!==t?this.disallowProperty(e,"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=e.initializer),n},toElementFinisherExtras:function(e){return{element:this.toElementDescriptor(e),finisher:ex(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 i=ex(e,"finisher");return{elements:this.toElementDescriptors(e.elements),finisher:i}},runClassFinishers:function(e,t){for(var i=0;i<t.length;i++){var o=(0,t[i])(e);if(void 0!==o){if("function"!=typeof o)throw new TypeError("Finishers must return a constructor.");e=o}}return e},disallowProperty:function(e,t,i){if(void 0!==e[t])throw new TypeError(i+" can't have a ."+t+" property.")}};return e}function Qp(e){var t,i=tx(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 o={kind:"field"===e.kind?"field":"method",key:i,placement:e.static?"static":"field"===e.kind?"own":"prototype",descriptor:t};return e.decorators&&(o.decorators=e.decorators),"field"===e.kind&&(o.initializer=e.value),o}function Zp(e,t){void 0!==e.descriptor.get?t.descriptor.get=e.descriptor.get:t.descriptor.set=e.descriptor.set}function Kp(e){return e.decorators&&e.decorators.length}function Jp(e){return void 0!==e&&!(void 0===e.value&&void 0===e.writable)}function ex(e,t){var i=e[t];if(void 0!==i&&"function"!=typeof i)throw new TypeError("Expected '"+t+"' to be a function");return i}function tx(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var i=e[Symbol.toPrimitive];if(void 0!==i){var o=i.call(e,t||"default");if("object"!=typeof o)return o;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 ix(e,t){(null==t||t>e.length)&&(t=e.length);for(var i=0,o=new Array(t);i<t;i++)o[i]=e[i];return o}const{stablePrefix:ox}=ue;!function(e,t,i,o){var r=Yp();if(o)for(var n=0;n<o.length;n++)r=o[n](r);var a=t((function(e){r.initializeInstanceElements(e,s.elements)}),i),s=r.decorateClass(function(e){for(var t=[],i=function(e){return"method"===e.kind&&e.key===n.key&&e.placement===n.placement},o=0;o<e.length;o++){var r,n=e[o];if("method"===n.kind&&(r=t.find(i)))if(Jp(n.descriptor)||Jp(r.descriptor)){if(Kp(n)||Kp(r))throw new ReferenceError("Duplicated methods ("+n.key+") can't be decorated.");r.descriptor=n.descriptor}else{if(Kp(n)){if(Kp(r))throw new ReferenceError("Decorators can't be placed on different accessors with for the same property ("+n.key+").");r.decorators=n.decorators}Zp(n,r)}else t.push(n)}return t}(a.d.map(Qp)),e);r.initializeClassElements(a.F,s.elements),r.runClassFinishers(a.F,s.finishers)}([ie(`${ox}-top-nav-l1`)],(function(e,t){return{F:class extends t{constructor(...t){super(...t),e(this)}},d:[{kind:"field",key:"_handleSearchToggle",value:()=>()=>{}},{kind:"field",decorators:[ne({type:Boolean,reflect:!0,attribute:"hide-divider"})],key:"hideDivider",value:()=>!0},{kind:"get",static:!0,key:"stableSelector",value:function(){return`${ox}--masthead__l1-nav`}}]}}),Xp);let rx,nx,ax=e=>e;const{prefix:sx}=dd;let dx=md([],(function(e,t){return{F:class extends t{constructor(...t){super(...t),e(this)}},d:[{kind:"field",decorators:[ne()],key:"href",value:void 0},{kind:"field",decorators:[ne()],key:"prefix",value:void 0},{kind:"method",key:"createRenderRoot",value:function(){var e;return this.attachShadow({mode:"open",delegatesFocus:Number((null!==(e=/Safari\/(\d+)/.exec(navigator.userAgent))&&void 0!==e?e:["",0])[1])<=537})}},{kind:"method",key:"render",value:function(){const{href:e,prefix:t}=this,i=t?B(rx||(rx=ax` <span part="prefix" class="${0}--header__name--prefix">${0}</span> `),sx,t):void 0;return B(nx||(nx=ax` <a part="link" class="${0}--header__name" href="${0}">${0}&nbsp;<slot></slot></a> `),sx,ys(e),i)}},{kind:"field",static:!0,key:"styles",value:()=>ub}]}}),zd(fe));var lx=1/0,cx=17976931348623157e292;function bx(e){var t=function(e){return e?(e=il(e))===lx||e===-lx?(e<0?-1:1)*cx:e==e?e:0:0===e?e:0}(e),i=t%1;return t==t?i?t-i:t:0}var hx=Math.max,px=Math.min;var xx,fx=(xx=function(e,t,i){var o=null==e?0:e.length;if(!o)return-1;var r=o-1;return void 0!==i&&(r=bx(i),r=i<0?hx(o+r,0):px(r,o-1)),function(e,t,i,o){for(var r=e.length,n=i+(o?1:-1);o?n--:++n<r;)if(t(e[n],n,e))return n;return-1}(e,ar(t),r,!0)},function(e,t,i){var o=Object(e);if(!Ji(e)){var r=ar(t);e=eo(e),t=function(e){return r(o[e],e,o)}}var n=xx(e,t,i);return n>-1?o[r?e[n]:n]:void 0});let ux,gx,mx=e=>e;function vx(){vx=function(){return e};var e={elementsDefinitionOrder:[["method"],["field"]],initializeInstanceElements:function(e,t){["method","field"].forEach((function(i){t.forEach((function(t){t.kind===i&&"own"===t.placement&&this.defineClassElement(e,t)}),this)}),this)},initializeClassElements:function(e,t){var i=e.prototype;["method","field"].forEach((function(o){t.forEach((function(t){var r=t.placement;if(t.kind===o&&("static"===r||"prototype"===r)){var n="static"===r?e:i;this.defineClassElement(n,t)}}),this)}),this)},defineClassElement:function(e,t){var i=t.descriptor;if("field"===t.kind){var o=t.initializer;i={enumerable:i.enumerable,writable:i.writable,configurable:i.configurable,value:void 0===o?void 0:o.call(e)}}Object.defineProperty(e,t.key,i)},decorateClass:function(e,t){var i=[],o=[],r={static:[],prototype:[],own:[]};if(e.forEach((function(e){this.addElementPlacement(e,r)}),this),e.forEach((function(e){if(!wx(e))return i.push(e);var t=this.decorateElement(e,r);i.push(t.element),i.push.apply(i,t.extras),o.push.apply(o,t.finishers)}),this),!t)return{elements:i,finishers:o};var n=this.decorateConstructor(i,t);return o.push.apply(o,n.finishers),n.finishers=o,n},addElementPlacement:function(e,t,i){var o=t[e.placement];if(!i&&-1!==o.indexOf(e.key))throw new TypeError("Duplicated element ("+e.key+")");o.push(e.key)},decorateElement:function(e,t){for(var i=[],o=[],r=e.decorators,n=r.length-1;n>=0;n--){var a=t[e.placement];a.splice(a.indexOf(e.key),1);var s=this.fromElementDescriptor(e),d=this.toElementFinisherExtras((0,r[n])(s)||s);e=d.element,this.addElementPlacement(e,t),d.finisher&&o.push(d.finisher);var l=d.extras;if(l){for(var c=0;c<l.length;c++)this.addElementPlacement(l[c],t);i.push.apply(i,l)}}return{element:e,finishers:o,extras:i}},decorateConstructor:function(e,t){for(var i=[],o=t.length-1;o>=0;o--){var r=this.fromClassDescriptor(e),n=this.toClassDescriptor((0,t[o])(r)||r);if(void 0!==n.finisher&&i.push(n.finisher),void 0!==n.elements){e=n.elements;for(var a=0;a<e.length-1;a++)for(var s=a+1;s<e.length;s++)if(e[a].key===e[s].key&&e[a].placement===e[s].placement)throw new TypeError("Duplicated element ("+e[a].key+")")}}return{elements:e,finishers:i}},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 zx(e,t);var i=Object.prototype.toString.call(e).slice(8,-1);return"Object"===i&&e.constructor&&(i=e.constructor.name),"Map"===i||"Set"===i?Array.from(e):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?zx(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 i=Sx(e.key),o=String(e.placement);if("static"!==o&&"prototype"!==o&&"own"!==o)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 "'+o+'"');var r=e.descriptor;this.disallowProperty(e,"elements","An element descriptor");var n={kind:t,key:i,placement:o,descriptor:Object.assign({},r)};return"field"!==t?this.disallowProperty(e,"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=e.initializer),n},toElementFinisherExtras:function(e){return{element:this.toElementDescriptor(e),finisher:Ex(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 i=Ex(e,"finisher");return{elements:this.toElementDescriptors(e.elements),finisher:i}},runClassFinishers:function(e,t){for(var i=0;i<t.length;i++){var o=(0,t[i])(e);if(void 0!==o){if("function"!=typeof o)throw new TypeError("Finishers must return a constructor.");e=o}}return e},disallowProperty:function(e,t,i){if(void 0!==e[t])throw new TypeError(i+" can't have a ."+t+" property.")}};return e}function _x(e){var t,i=Sx(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 o={kind:"field"===e.kind?"field":"method",key:i,placement:e.static?"static":"field"===e.kind?"own":"prototype",descriptor:t};return e.decorators&&(o.decorators=e.decorators),"field"===e.kind&&(o.initializer=e.value),o}function yx(e,t){void 0!==e.descriptor.get?t.descriptor.get=e.descriptor.get:t.descriptor.set=e.descriptor.set}function wx(e){return e.decorators&&e.decorators.length}function kx(e){return void 0!==e&&!(void 0===e.value&&void 0===e.writable)}function Ex(e,t){var i=e[t];if(void 0!==i&&"function"!=typeof i)throw new TypeError("Expected '"+t+"' to be a function");return i}function Sx(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var i=e[Symbol.toPrimitive];if(void 0!==i){var o=i.call(e,t||"default");if("object"!=typeof o)return o;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 zx(e,t){(null==t||t>e.length)&&(t=e.length);for(var i=0,o=new Array(t);i<t;i++)o[i]=e[i];return o}function Tx(){return Tx="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,i){var o=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=Ax(e)););return e}(e,t);if(o){var r=Object.getOwnPropertyDescriptor(o,t);return r.get?r.get.call(arguments.length<3?e:i):r.value}},Tx.apply(this,arguments)}function Ax(e){return Ax=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Ax(e)}const{prefix:Px}=dd,{stablePrefix:Cx}=ue,Ox=Node.DOCUMENT_POSITION_PRECEDING|Node.DOCUMENT_POSITION_CONTAINS,Dx=Node.DOCUMENT_POSITION_FOLLOWING|Node.DOCUMENT_POSITION_CONTAINED_BY;let Rx,Ix,jx=function(e,t,i,o){var r=vx();if(o)for(var n=0;n<o.length;n++)r=o[n](r);var a=t((function(e){r.initializeInstanceElements(e,s.elements)}),i),s=r.decorateClass(function(e){for(var t=[],i=function(e){return"method"===e.kind&&e.key===n.key&&e.placement===n.placement},o=0;o<e.length;o++){var r,n=e[o];if("method"===n.kind&&(r=t.find(i)))if(kx(n.descriptor)||kx(r.descriptor)){if(wx(n)||wx(r))throw new ReferenceError("Duplicated methods ("+n.key+") can't be decorated.");r.descriptor=n.descriptor}else{if(wx(n)){if(wx(r))throw new ReferenceError("Decorators can't be placed on different accessors with for the same property ("+n.key+").");r.decorators=n.decorators}yx(n,r)}else t.push(n)}return t}(a.d.map(_x)),e);return r.initializeClassElements(a.F,s.elements),r.runClassFinishers(a.F,s.finishers)}([ie(`${Cx}-left-nav`)],(function(e,t){class i extends t{constructor(...t){super(...t),e(this)}}return{F:i,d:[{kind:"field",key:"_hFocusWrap",value:()=>null},{kind:"field",decorators:[se("#start-sentinel")],key:"_startSentinelNode",value:void 0},{kind:"field",decorators:[se("#end-sentinel")],key:"_endSentinelNode",value:void 0},{kind:"field",decorators:[ne({type:Boolean})],key:"_importedSideNav",value:()=>!1},{kind:"field",decorators:[Es("document:dds-request-focus-wrap")],key:"_handleRequestMenuButtonFocusWrap",value(){return e=>{var t,i;const{selectorButtonToggle:o}=this.constructor;if(e.target===this){const e=this.getRootNode().querySelector(o);e&&e.focus()}else if(null!==(t=(i=e.target).matches)&&void 0!==t&&t.call(i,o)){const{comparisonResult:t}=e.detail,{selectorExpandedMenuSection:i,selectorTabbable:o}=this.constructor,d=this.querySelector(i);if(-1===t){const e=(n=this.querySelectorAll(o),a=e=>Boolean(e.offsetParent),Array.prototype.find.call(n,a,s));e&&e.focus()}else if(t&Ox){const e=fx(null==d?void 0:d.querySelectorAll(o),(e=>Boolean(e.offsetParent)));e&&e.focus()}else if(t&Dx){var r;const e=[...Array.from((null==d||null===(r=d.shadowRoot)||void 0===r?void 0:r.querySelectorAll(o))||[]),...Array.from((null==d?void 0:d.querySelectorAll(o))||[])];e.length&&e[0].focus()}}var n,a,s}}},{kind:"method",key:"_handleClickOut",value:function(e){const{target:t}=e,{selectorButtonToggle:i}=this.constructor,o=this.getRootNode().querySelector(i);this.expanded&&t instanceof Element&&null===t.closest(i)&&null===t.closest(this.tagName)&&(this.expanded=!1,null==o||o.focus())}},{kind:"method",decorators:[Es("keydown")],key:"_handleKeydown",value:function(e){const{selectorButtonToggle:t}=this.constructor,i=this.getRootNode().querySelector(t);"Escape"===e.key&&(this.expanded=!1,null==i||i.focus())}},{kind:"field",decorators:[Es("parentRoot:eventToggle")],key:"_handleContentStateChangeDocument",value(){return e=>{const{selectorMenuSections:t}=this.constructor,{panelId:i}=e.detail,o=Array.from(this.querySelectorAll(t)),r=o.filter((e=>e.matches("[expanded]"))).shift(),n=o.filter((e=>e.matches(`[section-id="${i}"]`))).shift();if(void 0!==r&&void 0!==n&&r!==n){const e=i.split(", ");n.expanded=!0,n.ariaHidden="false",n.transition=!1,r.expanded=!1,r.ariaHidden="true","-1"===e[0]||"-1"===e[1]||n.matches('[section-id*=" -1"]')||(r.transition=!0)}}}},{kind:"field",decorators:[ne({reflect:!0,attribute:"usage-mode"})],key:"usageMode",value:()=>cb.HEADER_NAV},{kind:"method",key:"connectedCallback",value:function(){Tx(Ax(i.prototype),"connectedCallback",this).call(this),document.addEventListener("click",this._handleClickOut.bind(this))}},{kind:"method",key:"updated",value:function(e){Tx(Ax(i.prototype),"updated",this).call(this,e);const{usageMode:t}=this;if(e.has("usageMode")&&t!==cb.HEADER_NAV&&console.warn("dds-left-nav supports only `header-nav` for its `usage-mode` attribute or `usageMode` property. The value is ignored:",t),e.has("expanded")){var o;const e=this.getRootNode();rl(e.querySelectorAll(this.constructor.selectorOverlay),(e=>{e.active=this.expanded}));const{expanded:t,_startSentinelNode:i,_endSentinelNode:r}=this,n=null==e||null===(o=e.querySelector(`${Cx}-cloud-masthead-container, \n ${Cx}-cloud-masthead-composite, \n ${Cx}-masthead-container, \n ${Cx}-masthead-composite`))||void 0===o?void 0:o.querySelector(`${Cx}-masthead`);if(t&&!this._importedSideNav&&(Promise.resolve().then((function(){return Qx})),import("./left-nav-menu-7096c85c.js"),import("./left-nav-menu-section-273e35a8.js"),import("./left-nav-menu-item-f4d9a67f.js"),import("./left-nav-menu-category-heading-6371f982.js"),import("./left-nav-overlay-5a33ce68.js"),this._importedSideNav=!0),t&&n)this._hFocusWrap=kb(this.shadowRoot,[i,r]),document.body.style.overflow="hidden",n.style.position="fixed";else{const{selectorMenuSections:e,selectorFirstMenuSection:t}=this.constructor;n&&(document.body.style.overflow="auto",n.style.position=""),this.querySelectorAll(e).forEach((e=>{e.expanded=!1,e.transition=!1})),this.querySelectorAll(t).forEach((e=>{e.expanded=!0})),this._hFocusWrap&&(this._hFocusWrap=this._hFocusWrap.release())}}}},{kind:"field",key:"_renderSentinel",value:()=>e=>B(ux||(ux=mx` <button id="${0}-sentinel" type="button" class="${0}--visually-hidden"></button> `),e,Px)},{kind:"method",key:"render",value:function(){const{_renderSentinel:e}=this;return B(gx||(gx=mx` <div class="${0}--side-nav__wrapper"> ${0} <div class="${0}--side-nav__platform-name"> <slot name="platform-id"></slot> </div> <div class="${0}--side-nav__menu-sections"> <slot></slot> </div> ${0} </div> `),Px,e("start"),Px,Px,e("end"))}},{kind:"get",static:!0,key:"selectorButtonToggle",value:function(){return`${Cx}-masthead-menu-button`}},{kind:"get",static:!0,key:"selectorNavItems",value:function(){return[`${Cx}-left-nav-item`,`${Cx}-left-nav-menu`,`${Cx}-left-nav-menu-item`,`${Cx}-left-nav-name`].join(", ")}},{kind:"get",static:!0,key:"selectorMenuSections",value:function(){return`${Cx}-left-nav-menu-section`}},{kind:"get",static:!0,key:"selectorExpandedMenuSection",value:function(){return`${Cx}-left-nav-menu-section[expanded]`}},{kind:"get",static:!0,key:"selectorFirstMenuSection",value:function(){return`${Cx}-left-nav-menu-section[section-id='-1, -1']`}},{kind:"get",static:!0,key:"selectorTabbable",value:function(){return[fd,`${Cx}-left-nav-item`,`${Cx}-left-nav-menu`,`${Cx}-left-nav-menu-item`,`${Cx}-left-nav-name`].join(", ")}},{kind:"get",static:!0,key:"selectorOverlay",value:function(){return`${Cx}-left-nav-overlay`}},{kind:"get",static:!0,key:"stableSelector",value:function(){return`${Cx}--masthead__l0-sidenav`}},{kind:"get",static:!0,key:"eventToggle",value:function(){return`${Cx}-left-nav-menu-toggled`}},{kind:"field",static:!0,key:"styles",value:()=>jl}]}}),cd(fb)),$x=e=>e;function Lx(){Lx=function(){return e};var e={elementsDefinitionOrder:[["method"],["field"]],initializeInstanceElements:function(e,t){["method","field"].forEach((function(i){t.forEach((function(t){t.kind===i&&"own"===t.placement&&this.defineClassElement(e,t)}),this)}),this)},initializeClassElements:function(e,t){var i=e.prototype;["method","field"].forEach((function(o){t.forEach((function(t){var r=t.placement;if(t.kind===o&&("static"===r||"prototype"===r)){var n="static"===r?e:i;this.defineClassElement(n,t)}}),this)}),this)},defineClassElement:function(e,t){var i=t.descriptor;if("field"===t.kind){var o=t.initializer;i={enumerable:i.enumerable,writable:i.writable,configurable:i.configurable,value:void 0===o?void 0:o.call(e)}}Object.defineProperty(e,t.key,i)},decorateClass:function(e,t){var i=[],o=[],r={static:[],prototype:[],own:[]};if(e.forEach((function(e){this.addElementPlacement(e,r)}),this),e.forEach((function(e){if(!qx(e))return i.push(e);var t=this.decorateElement(e,r);i.push(t.element),i.push.apply(i,t.extras),o.push.apply(o,t.finishers)}),this),!t)return{elements:i,finishers:o};var n=this.decorateConstructor(i,t);return o.push.apply(o,n.finishers),n.finishers=o,n},addElementPlacement:function(e,t,i){var o=t[e.placement];if(!i&&-1!==o.indexOf(e.key))throw new TypeError("Duplicated element ("+e.key+")");o.push(e.key)},decorateElement:function(e,t){for(var i=[],o=[],r=e.decorators,n=r.length-1;n>=0;n--){var a=t[e.placement];a.splice(a.indexOf(e.key),1);var s=this.fromElementDescriptor(e),d=this.toElementFinisherExtras((0,r[n])(s)||s);e=d.element,this.addElementPlacement(e,t),d.finisher&&o.push(d.finisher);var l=d.extras;if(l){for(var c=0;c<l.length;c++)this.addElementPlacement(l[c],t);i.push.apply(i,l)}}return{element:e,finishers:o,extras:i}},decorateConstructor:function(e,t){for(var i=[],o=t.length-1;o>=0;o--){var r=this.fromClassDescriptor(e),n=this.toClassDescriptor((0,t[o])(r)||r);if(void 0!==n.finisher&&i.push(n.finisher),void 0!==n.elements){e=n.elements;for(var a=0;a<e.length-1;a++)for(var s=a+1;s<e.length;s++)if(e[a].key===e[s].key&&e[a].placement===e[s].placement)throw new TypeError("Duplicated element ("+e[a].key+")")}}return{elements:e,finishers:i}},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 Gx(e,t);var i=Object.prototype.toString.call(e).slice(8,-1);return"Object"===i&&e.constructor&&(i=e.constructor.name),"Map"===i||"Set"===i?Array.from(e):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?Gx(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 i=Bx(e.key),o=String(e.placement);if("static"!==o&&"prototype"!==o&&"own"!==o)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 "'+o+'"');var r=e.descriptor;this.disallowProperty(e,"elements","An element descriptor");var n={kind:t,key:i,placement:o,descriptor:Object.assign({},r)};return"field"!==t?this.disallowProperty(e,"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=e.initializer),n},toElementFinisherExtras:function(e){return{element:this.toElementDescriptor(e),finisher:Fx(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 i=Fx(e,"finisher");return{elements:this.toElementDescriptors(e.elements),finisher:i}},runClassFinishers:function(e,t){for(var i=0;i<t.length;i++){var o=(0,t[i])(e);if(void 0!==o){if("function"!=typeof o)throw new TypeError("Finishers must return a constructor.");e=o}}return e},disallowProperty:function(e,t,i){if(void 0!==e[t])throw new TypeError(i+" can't have a ."+t+" property.")}};return e}function Nx(e){var t,i=Bx(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 o={kind:"field"===e.kind?"field":"method",key:i,placement:e.static?"static":"field"===e.kind?"own":"prototype",descriptor:t};return e.decorators&&(o.decorators=e.decorators),"field"===e.kind&&(o.initializer=e.value),o}function Mx(e,t){void 0!==e.descriptor.get?t.descriptor.get=e.descriptor.get:t.descriptor.set=e.descriptor.set}function qx(e){return e.decorators&&e.decorators.length}function Ux(e){return void 0!==e&&!(void 0===e.value&&void 0===e.writable)}function Fx(e,t){var i=e[t];if(void 0!==i&&"function"!=typeof i)throw new TypeError("Expected '"+t+"' to be a function");return i}function Bx(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var i=e[Symbol.toPrimitive];if(void 0!==i){var o=i.call(e,t||"default");if("object"!=typeof o)return o;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 Gx(e,t){(null==t||t>e.length)&&(t=e.length);for(var i=0,o=new Array(t);i<t;i++)o[i]=e[i];return o}function Hx(){return Hx="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,i){var o=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=Vx(e)););return e}(e,t);if(o){var r=Object.getOwnPropertyDescriptor(o,t);return r.get?r.get.call(arguments.length<3?e:i):r.value}},Hx.apply(this,arguments)}function Vx(e){return Vx=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Vx(e)}const{prefix:Wx}=dd,{stablePrefix:Xx}=ue;let Yx=function(e,t,i,o){var r=Lx();if(o)for(var n=0;n<o.length;n++)r=o[n](r);var a=t((function(e){r.initializeInstanceElements(e,s.elements)}),i),s=r.decorateClass(function(e){for(var t=[],i=function(e){return"method"===e.kind&&e.key===n.key&&e.placement===n.placement},o=0;o<e.length;o++){var r,n=e[o];if("method"===n.kind&&(r=t.find(i)))if(Ux(n.descriptor)||Ux(r.descriptor)){if(qx(n)||qx(r))throw new ReferenceError("Duplicated methods ("+n.key+") can't be decorated.");r.descriptor=n.descriptor}else{if(qx(n)){if(qx(r))throw new ReferenceError("Decorators can't be placed on different accessors with for the same property ("+n.key+").");r.decorators=n.decorators}Mx(n,r)}else t.push(n)}return t}(a.d.map(Nx)),e);return r.initializeClassElements(a.F,s.elements),r.runClassFinishers(a.F,s.finishers)}([ie(`${Xx}-left-nav-name`)],(function(e,t){class i extends t{constructor(...t){super(...t),e(this)}}return{F:i,d:[{kind:"field",decorators:[ne({type:String,attribute:"slot",reflect:!0})],key:"slot",value:()=>""},{kind:"method",key:"connectedCallback",value:function(){Hx(Vx(i.prototype),"connectedCallback",this).call(this),this.parentElement instanceof jx&&(this.slot="platform-id")}},{kind:"method",key:"render",value:function(){const{href:e,prefix:t}=this,i=t?B(Rx||(Rx=$x` <span class="${0}--header__name--prefix">${0}</span>&nbsp; `),Wx,t):void 0;return B(Ix||(Ix=$x` <a class="${0}--side-nav__submenu ${0}--side-nav__submenu-platform" href="${0}"> ${0} <slot></slot> </a> `),Wx,Wx,ws(e),i)}},{kind:"field",static:!0,key:"styles",value:()=>jl}]}}),dx);var Qx=Object.freeze({__proto__:null,default:Yx});let Zx,Kx,Jx=e=>e;function ef(){ef=function(){return e};var e={elementsDefinitionOrder:[["method"],["field"]],initializeInstanceElements:function(e,t){["method","field"].forEach((function(i){t.forEach((function(t){t.kind===i&&"own"===t.placement&&this.defineClassElement(e,t)}),this)}),this)},initializeClassElements:function(e,t){var i=e.prototype;["method","field"].forEach((function(o){t.forEach((function(t){var r=t.placement;if(t.kind===o&&("static"===r||"prototype"===r)){var n="static"===r?e:i;this.defineClassElement(n,t)}}),this)}),this)},defineClassElement:function(e,t){var i=t.descriptor;if("field"===t.kind){var o=t.initializer;i={enumerable:i.enumerable,writable:i.writable,configurable:i.configurable,value:void 0===o?void 0:o.call(e)}}Object.defineProperty(e,t.key,i)},decorateClass:function(e,t){var i=[],o=[],r={static:[],prototype:[],own:[]};if(e.forEach((function(e){this.addElementPlacement(e,r)}),this),e.forEach((function(e){if(!rf(e))return i.push(e);var t=this.decorateElement(e,r);i.push(t.element),i.push.apply(i,t.extras),o.push.apply(o,t.finishers)}),this),!t)return{elements:i,finishers:o};var n=this.decorateConstructor(i,t);return o.push.apply(o,n.finishers),n.finishers=o,n},addElementPlacement:function(e,t,i){var o=t[e.placement];if(!i&&-1!==o.indexOf(e.key))throw new TypeError("Duplicated element ("+e.key+")");o.push(e.key)},decorateElement:function(e,t){for(var i=[],o=[],r=e.decorators,n=r.length-1;n>=0;n--){var a=t[e.placement];a.splice(a.indexOf(e.key),1);var s=this.fromElementDescriptor(e),d=this.toElementFinisherExtras((0,r[n])(s)||s);e=d.element,this.addElementPlacement(e,t),d.finisher&&o.push(d.finisher);var l=d.extras;if(l){for(var c=0;c<l.length;c++)this.addElementPlacement(l[c],t);i.push.apply(i,l)}}return{element:e,finishers:o,extras:i}},decorateConstructor:function(e,t){for(var i=[],o=t.length-1;o>=0;o--){var r=this.fromClassDescriptor(e),n=this.toClassDescriptor((0,t[o])(r)||r);if(void 0!==n.finisher&&i.push(n.finisher),void 0!==n.elements){e=n.elements;for(var a=0;a<e.length-1;a++)for(var s=a+1;s<e.length;s++)if(e[a].key===e[s].key&&e[a].placement===e[s].placement)throw new TypeError("Duplicated element ("+e[a].key+")")}}return{elements:e,finishers:i}},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 df(e,t);var i=Object.prototype.toString.call(e).slice(8,-1);return"Object"===i&&e.constructor&&(i=e.constructor.name),"Map"===i||"Set"===i?Array.from(e):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?df(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 i=sf(e.key),o=String(e.placement);if("static"!==o&&"prototype"!==o&&"own"!==o)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 "'+o+'"');var r=e.descriptor;this.disallowProperty(e,"elements","An element descriptor");var n={kind:t,key:i,placement:o,descriptor:Object.assign({},r)};return"field"!==t?this.disallowProperty(e,"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=e.initializer),n},toElementFinisherExtras:function(e){return{element:this.toElementDescriptor(e),finisher:af(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 i=af(e,"finisher");return{elements:this.toElementDescriptors(e.elements),finisher:i}},runClassFinishers:function(e,t){for(var i=0;i<t.length;i++){var o=(0,t[i])(e);if(void 0!==o){if("function"!=typeof o)throw new TypeError("Finishers must return a constructor.");e=o}}return e},disallowProperty:function(e,t,i){if(void 0!==e[t])throw new TypeError(i+" can't have a ."+t+" property.")}};return e}function tf(e){var t,i=sf(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 o={kind:"field"===e.kind?"field":"method",key:i,placement:e.static?"static":"field"===e.kind?"own":"prototype",descriptor:t};return e.decorators&&(o.decorators=e.decorators),"field"===e.kind&&(o.initializer=e.value),o}function of(e,t){void 0!==e.descriptor.get?t.descriptor.get=e.descriptor.get:t.descriptor.set=e.descriptor.set}function rf(e){return e.decorators&&e.decorators.length}function nf(e){return void 0!==e&&!(void 0===e.value&&void 0===e.writable)}function af(e,t){var i=e[t];if(void 0!==i&&"function"!=typeof i)throw new TypeError("Expected '"+t+"' to be a function");return i}function sf(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var i=e[Symbol.toPrimitive];if(void 0!==i){var o=i.call(e,t||"default");if("object"!=typeof o)return o;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 df(e,t){(null==t||t>e.length)&&(t=e.length);for(var i=0,o=new Array(t);i<t;i++)o[i]=e[i];return o}function lf(){return lf="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,i){var o=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=cf(e)););return e}(e,t);if(o){var r=Object.getOwnPropertyDescriptor(o,t);return r.get?r.get.call(arguments.length<3?e:i):r.value}},lf.apply(this,arguments)}function cf(e){return cf=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},cf(e)}const{prefix:bf}=dd,{stablePrefix:hf}=ue;let pf=function(e,t,i,o){var r=ef();if(o)for(var n=0;n<o.length;n++)r=o[n](r);var a=t((function(e){r.initializeInstanceElements(e,s.elements)}),i),s=r.decorateClass(function(e){for(var t=[],i=function(e){return"method"===e.kind&&e.key===n.key&&e.placement===n.placement},o=0;o<e.length;o++){var r,n=e[o];if("method"===n.kind&&(r=t.find(i)))if(nf(n.descriptor)||nf(r.descriptor)){if(rf(n)||rf(r))throw new ReferenceError("Duplicated methods ("+n.key+") can't be decorated.");r.descriptor=n.descriptor}else{if(rf(n)){if(rf(r))throw new ReferenceError("Decorators can't be placed on different accessors with for the same property ("+n.key+").");r.decorators=n.decorators}of(n,r)}else t.push(n)}return t}(a.d.map(tf)),e);return r.initializeClassElements(a.F,s.elements),r.runClassFinishers(a.F,s.finishers)}([ie(`${hf}-top-nav-name`)],(function(e,t){class i extends t{constructor(...t){super(...t),e(this)}}return{F:i,d:[{kind:"method",key:"connectedCallback",value:function(){lf(cf(i.prototype),"connectedCallback",this).call(this);const{selectorTopNav:e}=this.constructor,{nextElementSibling:t}=this;t&&t.matches(e)&&(t.hideDivider=!0)}},{kind:"method",key:"disconnectedCallback",value:function(){const{selectorTopNav:e}=this.constructor,{nextElementSibling:t}=this;t&&t.matches(e)&&(t.hideDivider=!1),lf(cf(i.prototype),"disconnectedCallback",this).call(this)}},{kind:"method",key:"render",value:function(){const{href:e,prefix:t}=this,i=t?B(Zx||(Zx=Jx` <span class="${0}--header__name--prefix">${0}</span>&nbsp; `),bf,t):void 0;return B(Kx||(Kx=Jx` <a class="${0}--header__name" href="${0}">${0}<slot></slot></a> `),bf,ws(e),i)}},{kind:"get",static:!0,key:"selectorTopNav",value:function(){return`${hf}-top-nav`}},{kind:"get",static:!0,key:"stableSelector",value:function(){return`${hf}--masthead__platform-name`}},{kind:"field",static:!0,key:"styles",value:()=>jl}]}}),Yx);function xf(){xf=function(){return e};var e={elementsDefinitionOrder:[["method"],["field"]],initializeInstanceElements:function(e,t){["method","field"].forEach((function(i){t.forEach((function(t){t.kind===i&&"own"===t.placement&&this.defineClassElement(e,t)}),this)}),this)},initializeClassElements:function(e,t){var i=e.prototype;["method","field"].forEach((function(o){t.forEach((function(t){var r=t.placement;if(t.kind===o&&("static"===r||"prototype"===r)){var n="static"===r?e:i;this.defineClassElement(n,t)}}),this)}),this)},defineClassElement:function(e,t){var i=t.descriptor;if("field"===t.kind){var o=t.initializer;i={enumerable:i.enumerable,writable:i.writable,configurable:i.configurable,value:void 0===o?void 0:o.call(e)}}Object.defineProperty(e,t.key,i)},decorateClass:function(e,t){var i=[],o=[],r={static:[],prototype:[],own:[]};if(e.forEach((function(e){this.addElementPlacement(e,r)}),this),e.forEach((function(e){if(!gf(e))return i.push(e);var t=this.decorateElement(e,r);i.push(t.element),i.push.apply(i,t.extras),o.push.apply(o,t.finishers)}),this),!t)return{elements:i,finishers:o};var n=this.decorateConstructor(i,t);return o.push.apply(o,n.finishers),n.finishers=o,n},addElementPlacement:function(e,t,i){var o=t[e.placement];if(!i&&-1!==o.indexOf(e.key))throw new TypeError("Duplicated element ("+e.key+")");o.push(e.key)},decorateElement:function(e,t){for(var i=[],o=[],r=e.decorators,n=r.length-1;n>=0;n--){var a=t[e.placement];a.splice(a.indexOf(e.key),1);var s=this.fromElementDescriptor(e),d=this.toElementFinisherExtras((0,r[n])(s)||s);e=d.element,this.addElementPlacement(e,t),d.finisher&&o.push(d.finisher);var l=d.extras;if(l){for(var c=0;c<l.length;c++)this.addElementPlacement(l[c],t);i.push.apply(i,l)}}return{element:e,finishers:o,extras:i}},decorateConstructor:function(e,t){for(var i=[],o=t.length-1;o>=0;o--){var r=this.fromClassDescriptor(e),n=this.toClassDescriptor((0,t[o])(r)||r);if(void 0!==n.finisher&&i.push(n.finisher),void 0!==n.elements){e=n.elements;for(var a=0;a<e.length-1;a++)for(var s=a+1;s<e.length;s++)if(e[a].key===e[s].key&&e[a].placement===e[s].placement)throw new TypeError("Duplicated element ("+e[a].key+")")}}return{elements:e,finishers:i}},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 yf(e,t);var i=Object.prototype.toString.call(e).slice(8,-1);return"Object"===i&&e.constructor&&(i=e.constructor.name),"Map"===i||"Set"===i?Array.from(e):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?yf(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 i=_f(e.key),o=String(e.placement);if("static"!==o&&"prototype"!==o&&"own"!==o)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 "'+o+'"');var r=e.descriptor;this.disallowProperty(e,"elements","An element descriptor");var n={kind:t,key:i,placement:o,descriptor:Object.assign({},r)};return"field"!==t?this.disallowProperty(e,"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=e.initializer),n},toElementFinisherExtras:function(e){return{element:this.toElementDescriptor(e),finisher:vf(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 i=vf(e,"finisher");return{elements:this.toElementDescriptors(e.elements),finisher:i}},runClassFinishers:function(e,t){for(var i=0;i<t.length;i++){var o=(0,t[i])(e);if(void 0!==o){if("function"!=typeof o)throw new TypeError("Finishers must return a constructor.");e=o}}return e},disallowProperty:function(e,t,i){if(void 0!==e[t])throw new TypeError(i+" can't have a ."+t+" property.")}};return e}function ff(e){var t,i=_f(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 o={kind:"field"===e.kind?"field":"method",key:i,placement:e.static?"static":"field"===e.kind?"own":"prototype",descriptor:t};return e.decorators&&(o.decorators=e.decorators),"field"===e.kind&&(o.initializer=e.value),o}function uf(e,t){void 0!==e.descriptor.get?t.descriptor.get=e.descriptor.get:t.descriptor.set=e.descriptor.set}function gf(e){return e.decorators&&e.decorators.length}function mf(e){return void 0!==e&&!(void 0===e.value&&void 0===e.writable)}function vf(e,t){var i=e[t];if(void 0!==i&&"function"!=typeof i)throw new TypeError("Expected '"+t+"' to be a function");return i}function _f(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var i=e[Symbol.toPrimitive];if(void 0!==i){var o=i.call(e,t||"default");if("object"!=typeof o)return o;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 yf(e,t){(null==t||t>e.length)&&(t=e.length);for(var i=0,o=new Array(t);i<t;i++)o[i]=e[i];return o}function wf(){return wf="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,i){var o=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=kf(e)););return e}(e,t);if(o){var r=Object.getOwnPropertyDescriptor(o,t);return r.get?r.get.call(arguments.length<3?e:i):r.value}},wf.apply(this,arguments)}function kf(e){return kf=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},kf(e)}const{stablePrefix:Ef}=ue;function Sf(){Sf=function(){return e};var e={elementsDefinitionOrder:[["method"],["field"]],initializeInstanceElements:function(e,t){["method","field"].forEach((function(i){t.forEach((function(t){t.kind===i&&"own"===t.placement&&this.defineClassElement(e,t)}),this)}),this)},initializeClassElements:function(e,t){var i=e.prototype;["method","field"].forEach((function(o){t.forEach((function(t){var r=t.placement;if(t.kind===o&&("static"===r||"prototype"===r)){var n="static"===r?e:i;this.defineClassElement(n,t)}}),this)}),this)},defineClassElement:function(e,t){var i=t.descriptor;if("field"===t.kind){var o=t.initializer;i={enumerable:i.enumerable,writable:i.writable,configurable:i.configurable,value:void 0===o?void 0:o.call(e)}}Object.defineProperty(e,t.key,i)},decorateClass:function(e,t){var i=[],o=[],r={static:[],prototype:[],own:[]};if(e.forEach((function(e){this.addElementPlacement(e,r)}),this),e.forEach((function(e){if(!Af(e))return i.push(e);var t=this.decorateElement(e,r);i.push(t.element),i.push.apply(i,t.extras),o.push.apply(o,t.finishers)}),this),!t)return{elements:i,finishers:o};var n=this.decorateConstructor(i,t);return o.push.apply(o,n.finishers),n.finishers=o,n},addElementPlacement:function(e,t,i){var o=t[e.placement];if(!i&&-1!==o.indexOf(e.key))throw new TypeError("Duplicated element ("+e.key+")");o.push(e.key)},decorateElement:function(e,t){for(var i=[],o=[],r=e.decorators,n=r.length-1;n>=0;n--){var a=t[e.placement];a.splice(a.indexOf(e.key),1);var s=this.fromElementDescriptor(e),d=this.toElementFinisherExtras((0,r[n])(s)||s);e=d.element,this.addElementPlacement(e,t),d.finisher&&o.push(d.finisher);var l=d.extras;if(l){for(var c=0;c<l.length;c++)this.addElementPlacement(l[c],t);i.push.apply(i,l)}}return{element:e,finishers:o,extras:i}},decorateConstructor:function(e,t){for(var i=[],o=t.length-1;o>=0;o--){var r=this.fromClassDescriptor(e),n=this.toClassDescriptor((0,t[o])(r)||r);if(void 0!==n.finisher&&i.push(n.finisher),void 0!==n.elements){e=n.elements;for(var a=0;a<e.length-1;a++)for(var s=a+1;s<e.length;s++)if(e[a].key===e[s].key&&e[a].placement===e[s].placement)throw new TypeError("Duplicated element ("+e[a].key+")")}}return{elements:e,finishers:i}},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 Df(e,t);var i=Object.prototype.toString.call(e).slice(8,-1);return"Object"===i&&e.constructor&&(i=e.constructor.name),"Map"===i||"Set"===i?Array.from(e):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?Df(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 i=Of(e.key),o=String(e.placement);if("static"!==o&&"prototype"!==o&&"own"!==o)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 "'+o+'"');var r=e.descriptor;this.disallowProperty(e,"elements","An element descriptor");var n={kind:t,key:i,placement:o,descriptor:Object.assign({},r)};return"field"!==t?this.disallowProperty(e,"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=e.initializer),n},toElementFinisherExtras:function(e){return{element:this.toElementDescriptor(e),finisher:Cf(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 i=Cf(e,"finisher");return{elements:this.toElementDescriptors(e.elements),finisher:i}},runClassFinishers:function(e,t){for(var i=0;i<t.length;i++){var o=(0,t[i])(e);if(void 0!==o){if("function"!=typeof o)throw new TypeError("Finishers must return a constructor.");e=o}}return e},disallowProperty:function(e,t,i){if(void 0!==e[t])throw new TypeError(i+" can't have a ."+t+" property.")}};return e}function zf(e){var t,i=Of(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 o={kind:"field"===e.kind?"field":"method",key:i,placement:e.static?"static":"field"===e.kind?"own":"prototype",descriptor:t};return e.decorators&&(o.decorators=e.decorators),"field"===e.kind&&(o.initializer=e.value),o}function Tf(e,t){void 0!==e.descriptor.get?t.descriptor.get=e.descriptor.get:t.descriptor.set=e.descriptor.set}function Af(e){return e.decorators&&e.decorators.length}function Pf(e){return void 0!==e&&!(void 0===e.value&&void 0===e.writable)}function Cf(e,t){var i=e[t];if(void 0!==i&&"function"!=typeof i)throw new TypeError("Expected '"+t+"' to be a function");return i}function Of(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var i=e[Symbol.toPrimitive];if(void 0!==i){var o=i.call(e,t||"default");if("object"!=typeof o)return o;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 Df(e,t){(null==t||t>e.length)&&(t=e.length);for(var i=0,o=new Array(t);i<t;i++)o[i]=e[i];return o}!function(e,t,i,o){var r=xf();if(o)for(var n=0;n<o.length;n++)r=o[n](r);var a=t((function(e){r.initializeInstanceElements(e,s.elements)}),i),s=r.decorateClass(function(e){for(var t=[],i=function(e){return"method"===e.kind&&e.key===n.key&&e.placement===n.placement},o=0;o<e.length;o++){var r,n=e[o];if("method"===n.kind&&(r=t.find(i)))if(mf(n.descriptor)||mf(r.descriptor)){if(gf(n)||gf(r))throw new ReferenceError("Duplicated methods ("+n.key+") can't be decorated.");r.descriptor=n.descriptor}else{if(gf(n)){if(gf(r))throw new ReferenceError("Decorators can't be placed on different accessors with for the same property ("+n.key+").");r.decorators=n.decorators}uf(n,r)}else t.push(n)}return t}(a.d.map(ff)),e);r.initializeClassElements(a.F,s.elements),r.runClassFinishers(a.F,s.finishers)}([ie(`${Ef}-top-nav-item`)],(function(e,t){class i extends t{constructor(...t){super(...t),e(this)}}return{F:i,d:[{kind:"field",decorators:[se('[part="link"]')],key:"_linkNode",value:void 0},{kind:"field",decorators:[ne({type:Boolean,reflect:!0})],key:"active",value:()=>!1},{kind:"method",key:"updated",value:function(e){if(wf(kf(i.prototype),"updated",this).call(this,e),e.has("active")){const{active:e,_linkNode:t}=this;t&&t.setAttribute("data-selected",String(Boolean(e)))}}},{kind:"method",key:"firstUpdated",value:function(){var e;null===(e=this.shadowRoot)||void 0===e||e.querySelectorAll('[role="menuitem"]').forEach((e=>e.removeAttribute("role"))),this.hasAttribute("role")&&"listitem"===this.getAttribute("role")&&this.removeAttribute("role")}},{kind:"field",static:!0,key:"styles",value:()=>jl}]}}),xh);const{stablePrefix:Rf}=ue;!function(e,t,i,o){var r=Sf();if(o)for(var n=0;n<o.length;n++)r=o[n](r);var a=t((function(e){r.initializeInstanceElements(e,s.elements)}),i),s=r.decorateClass(function(e){for(var t=[],i=function(e){return"method"===e.kind&&e.key===n.key&&e.placement===n.placement},o=0;o<e.length;o++){var r,n=e[o];if("method"===n.kind&&(r=t.find(i)))if(Pf(n.descriptor)||Pf(r.descriptor)){if(Af(n)||Af(r))throw new ReferenceError("Duplicated methods ("+n.key+") can't be decorated.");r.descriptor=n.descriptor}else{if(Af(n)){if(Af(r))throw new ReferenceError("Decorators can't be placed on different accessors with for the same property ("+n.key+").");r.decorators=n.decorators}Tf(n,r)}else t.push(n)}return t}(a.d.map(zf)),e);r.initializeClassElements(a.F,s.elements),r.runClassFinishers(a.F,s.finishers)}([ie(`${Rf}-top-nav-menu-item`)],(function(e,t){return{F:class extends t{constructor(...t){super(...t),e(this)}},d:[{kind:"field",static:!0,key:"styles",value:()=>jl},{kind:"method",key:"firstUpdated",value:function(){var e;null===(e=this.shadowRoot)||void 0===e||e.querySelectorAll('[role="menuitem"]').forEach((e=>e.removeAttribute("role")))}}]}}),fh);
723
720
  /**
724
721
  * @license
725
722
  *