@carbon/ibmdotcom-web-components 2.28.0 → 2.29.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (50) hide show
  1. package/custom-elements.json +62 -66
  2. package/dist/dotcom-shell.js +1 -1
  3. package/dist/dotcom-shell.min.js +2 -2
  4. package/dist/ibmdotcom-web-components-dotcom-shell.js +1 -1
  5. package/dist/ibmdotcom-web-components-dotcom-shell.min.js +2 -2
  6. package/dist/{index-01b63aeb.js → index-1aef36e9.js} +23 -5
  7. package/dist/{index-cc7138d9.js → index-205b10ee.js} +8 -8
  8. package/dist/{left-nav-menu-aac029b1.js → left-nav-menu-096451a8.js} +1 -1
  9. package/dist/{left-nav-menu-category-heading-986429d0.js → left-nav-menu-category-heading-1df79f13.js} +2 -2
  10. package/dist/{left-nav-menu-category-heading-b3ff93f8.js → left-nav-menu-category-heading-52edb6d8.js} +1 -1
  11. package/dist/{left-nav-menu-5bb4c667.js → left-nav-menu-cbbe3f0a.js} +2 -2
  12. package/dist/{left-nav-menu-item-db321bca.js → left-nav-menu-item-4eb5f14f.js} +2 -2
  13. package/dist/{left-nav-menu-item-28232edc.js → left-nav-menu-item-8f551175.js} +1 -1
  14. package/dist/{left-nav-menu-section-3101ac3a.js → left-nav-menu-section-976f40b0.js} +1 -1
  15. package/dist/{left-nav-menu-section-3cb98ba9.js → left-nav-menu-section-a716d732.js} +2 -2
  16. package/dist/{left-nav-overlay-23bc48bd.js → left-nav-overlay-e97388fa.js} +2 -2
  17. package/dist/{left-nav-overlay-3438362c.js → left-nav-overlay-f0a62368.js} +1 -1
  18. package/dist/{megamenu-category-group-350529dd.js → megamenu-category-group-37b4100e.js} +1 -1
  19. package/dist/{megamenu-category-group-copy-7aeee6b6.js → megamenu-category-group-copy-8aeb0010.js} +2 -2
  20. package/dist/{megamenu-category-group-copy-ab52b66e.js → megamenu-category-group-copy-d0af8bd3.js} +1 -1
  21. package/dist/{megamenu-category-group-42c2e7c6.js → megamenu-category-group-f0a7e487.js} +2 -2
  22. package/dist/{megamenu-category-heading-de185d0d.js → megamenu-category-heading-123b5eaa.js} +2 -2
  23. package/dist/{megamenu-category-heading-304c82c0.js → megamenu-category-heading-3df89ed9.js} +1 -1
  24. package/dist/{megamenu-category-link-84cc5c34.js → megamenu-category-link-7d615ef6.js} +1 -1
  25. package/dist/{megamenu-category-link-74c8f943.js → megamenu-category-link-cca6a549.js} +2 -2
  26. package/dist/{megamenu-category-link-group-902363db.js → megamenu-category-link-group-5dd3f4e5.js} +2 -2
  27. package/dist/{megamenu-category-link-group-677ac299.js → megamenu-category-link-group-5ff36af7.js} +1 -1
  28. package/dist/{megamenu-left-navigation-5904eb28.js → megamenu-left-navigation-7fceeea7.js} +2 -2
  29. package/dist/{megamenu-left-navigation-68980017.js → megamenu-left-navigation-bbb6a08d.js} +1 -1
  30. package/dist/{megamenu-overlay-512ee689.js → megamenu-overlay-10bad567.js} +1 -1
  31. package/dist/{megamenu-overlay-4181ba67.js → megamenu-overlay-f8131193.js} +2 -2
  32. package/dist/{megamenu-tab-2fa6c908.js → megamenu-tab-2b13f0c4.js} +1 -1
  33. package/dist/{megamenu-tab-057e644c.js → megamenu-tab-dd35bae2.js} +2 -2
  34. package/es/components/card/card-footer.d.ts +6 -1
  35. package/es/components/card/card-footer.js +18 -1
  36. package/es/components/card/card-footer.js.map +1 -1
  37. package/es/components/cta/defs.d.ts +5 -1
  38. package/es/components/cta/defs.js +2 -1
  39. package/es/components/cta/defs.js.map +1 -1
  40. package/es/components/notice-choice/notice-choice.d.ts +53 -39
  41. package/es/components/notice-choice/notice-choice.js +529 -474
  42. package/es/components/notice-choice/notice-choice.js.map +1 -1
  43. package/es/components/notice-choice/services.d.ts +1 -0
  44. package/es/components/notice-choice/services.js +23 -0
  45. package/es/components/notice-choice/services.js.map +1 -1
  46. package/es/internal/vendor/@carbon/ibmdotcom-utilities/utilities/settings/settings.js +2 -2
  47. package/lib/components/cta/defs.js +2 -1
  48. package/lib/components/cta/defs.js.map +1 -1
  49. package/lib/internal/vendor/@carbon/ibmdotcom-utilities/utilities/settings/settings.js +2 -2
  50. package/package.json +5 -5
@@ -80,11 +80,11 @@
80
80
  * https://www.npmjs.com/package/redux
81
81
  * https://www.npmjs.com/package/lodash-es
82
82
  * https://www.npmjs.com/package/window-or-global
83
- * https://www.npmjs.com/package/redux-thunk
84
83
  * https://www.npmjs.com/package/redux-logger
84
+ * https://www.npmjs.com/package/redux-thunk
85
85
  * https://www.npmjs.com/package/axios
86
86
  * https://www.npmjs.com/package/isomorphic-dompurify
87
87
  * https://www.npmjs.com/package/striptags
88
88
  */
89
89
 
90
- import{g as e,x as r,s as t,c as i,a as n}from"./index-cc7138d9.js";let o,s=e=>e;function a(){a=function(){return e};var e={elementsDefinitionOrder:[["method"],["field"]],initializeInstanceElements:function(e,r){["method","field"].forEach((function(t){r.forEach((function(r){r.kind===t&&"own"===r.placement&&this.defineClassElement(e,r)}),this)}),this)},initializeClassElements:function(e,r){var t=e.prototype;["method","field"].forEach((function(i){r.forEach((function(r){var n=r.placement;if(r.kind===i&&("static"===n||"prototype"===n)){var o="static"===n?e:t;this.defineClassElement(o,r)}}),this)}),this)},defineClassElement:function(e,r){var t=r.descriptor;if("field"===r.kind){var i=r.initializer;t={enumerable:t.enumerable,writable:t.writable,configurable:t.configurable,value:void 0===i?void 0:i.call(e)}}Object.defineProperty(e,r.key,t)},decorateClass:function(e,r){var t=[],i=[],n={static:[],prototype:[],own:[]};if(e.forEach((function(e){this.addElementPlacement(e,n)}),this),e.forEach((function(e){if(!d(e))return t.push(e);var r=this.decorateElement(e,n);t.push(r.element),t.push.apply(t,r.extras),i.push.apply(i,r.finishers)}),this),!r)return{elements:t,finishers:i};var o=this.decorateConstructor(t,r);return i.push.apply(i,o.finishers),o.finishers=i,o},addElementPlacement:function(e,r,t){var i=r[e.placement];if(!t&&-1!==i.indexOf(e.key))throw new TypeError("Duplicated element ("+e.key+")");i.push(e.key)},decorateElement:function(e,r){for(var t=[],i=[],n=e.decorators,o=n.length-1;o>=0;o--){var s=r[e.placement];s.splice(s.indexOf(e.key),1);var a=this.fromElementDescriptor(e),l=this.toElementFinisherExtras((0,n[o])(a)||a);e=l.element,this.addElementPlacement(e,r),l.finisher&&i.push(l.finisher);var c=l.extras;if(c){for(var d=0;d<c.length;d++)this.addElementPlacement(c[d],r);t.push.apply(t,c)}}return{element:e,finishers:i,extras:t}},decorateConstructor:function(e,r){for(var t=[],i=r.length-1;i>=0;i--){var n=this.fromClassDescriptor(e),o=this.toClassDescriptor((0,r[i])(n)||n);if(void 0!==o.finisher&&t.push(o.finisher),void 0!==o.elements){e=o.elements;for(var s=0;s<e.length-1;s++)for(var a=s+1;a<e.length;a++)if(e[s].key===e[a].key&&e[s].placement===e[a].placement)throw new TypeError("Duplicated element ("+e[s].key+")")}}return{elements:e,finishers:t}},fromElementDescriptor:function(e){var r={kind:e.kind,key:e.key,placement:e.placement,descriptor:e.descriptor};return Object.defineProperty(r,Symbol.toStringTag,{value:"Descriptor",configurable:!0}),"field"===e.kind&&(r.initializer=e.initializer),r},toElementDescriptors:function(e){if(void 0!==e)return(r=e,function(e){if(Array.isArray(e))return e}(r)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(r)||function(e,r){if(e){if("string"==typeof e)return m(e,r);var t={}.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?m(e,r):void 0}}(r)||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 r=this.toElementDescriptor(e);return this.disallowProperty(e,"finisher","An element descriptor"),this.disallowProperty(e,"extras","An element descriptor"),r}),this);var r},toElementDescriptor:function(e){var r=e.kind+"";if("method"!==r&&"field"!==r)throw new TypeError('An element descriptor\'s .kind property must be either "method" or "field", but a decorator created an element descriptor with .kind "'+r+'"');var t=u(e.key),i=e.placement+"";if("static"!==i&&"prototype"!==i&&"own"!==i)throw new TypeError('An element descriptor\'s .placement property must be one of "static", "prototype" or "own", but a decorator created an element descriptor with .placement "'+i+'"');var n=e.descriptor;this.disallowProperty(e,"elements","An element descriptor");var o={kind:r,key:t,placement:i,descriptor:Object.assign({},n)};return"field"!==r?this.disallowProperty(e,"initializer","A method descriptor"):(this.disallowProperty(n,"get","The property descriptor of a field descriptor"),this.disallowProperty(n,"set","The property descriptor of a field descriptor"),this.disallowProperty(n,"value","The property descriptor of a field descriptor"),o.initializer=e.initializer),o},toElementFinisherExtras:function(e){return{element:this.toElementDescriptor(e),finisher:p(e,"finisher"),extras:this.toElementDescriptors(e.extras)}},fromClassDescriptor:function(e){var r={kind:"class",elements:e.map(this.fromElementDescriptor,this)};return Object.defineProperty(r,Symbol.toStringTag,{value:"Descriptor",configurable:!0}),r},toClassDescriptor:function(e){var r=e.kind+"";if("class"!==r)throw new TypeError('A class descriptor\'s .kind property must be "class", but a decorator created a class descriptor with .kind "'+r+'"');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 t=p(e,"finisher");return{elements:this.toElementDescriptors(e.elements),finisher:t}},runClassFinishers:function(e,r){for(var t=0;t<r.length;t++){var i=(0,r[t])(e);if(void 0!==i){if("function"!=typeof i)throw new TypeError("Finishers must return a constructor.");e=i}}return e},disallowProperty:function(e,r,t){if(void 0!==e[r])throw new TypeError(t+" can't have a ."+r+" property.")}};return e}function l(e){var r,t=u(e.key);"method"===e.kind?r={value:e.value,writable:!0,configurable:!0,enumerable:!1}:"get"===e.kind?r={get:e.value,configurable:!0,enumerable:!1}:"set"===e.kind?r={set:e.value,configurable:!0,enumerable:!1}:"field"===e.kind&&(r={configurable:!0,writable:!0,enumerable:!0});var i={kind:"field"===e.kind?"field":"method",key:t,placement:e.static?"static":"field"===e.kind?"own":"prototype",descriptor:r};return e.decorators&&(i.decorators=e.decorators),"field"===e.kind&&(i.initializer=e.value),i}function c(e,r){void 0!==e.descriptor.get?r.descriptor.get=e.descriptor.get:r.descriptor.set=e.descriptor.set}function d(e){return e.decorators&&e.decorators.length}function f(e){return void 0!==e&&!(void 0===e.value&&void 0===e.writable)}function p(e,r){var t=e[r];if(void 0!==t&&"function"!=typeof t)throw new TypeError("Expected '"+r+"' to be a function");return t}function u(e){var r=function(e,r){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var i=t.call(e,r||"default");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===r?String:Number)(e)}(e,"string");return"symbol"==typeof r?r:r+""}function m(e,r){(null==r||r>e.length)&&(r=e.length);for(var t=0,i=Array(r);t<r;t++)i[t]=e[t];return i}const{stablePrefix:h}=n;let y=function(e,r,t,i){var n=a();if(i)for(var o=0;o<i.length;o++)n=i[o](n);var s=r((function(e){n.initializeInstanceElements(e,p.elements)}),t),p=n.decorateClass(function(e){for(var r=[],t=function(e){return"method"===e.kind&&e.key===o.key&&e.placement===o.placement},i=0;i<e.length;i++){var n,o=e[i];if("method"===o.kind&&(n=r.find(t)))if(f(o.descriptor)||f(n.descriptor)){if(d(o)||d(n))throw new ReferenceError("Duplicated methods ("+o.key+") can't be decorated.");n.descriptor=o.descriptor}else{if(d(o)){if(d(n))throw new ReferenceError("Decorators can't be placed on different accessors with for the same property ("+o.key+").");n.decorators=o.decorators}c(o,n)}else r.push(o)}return r}(s.d.map(l)),e);return n.initializeClassElements(s.F,p.elements),n.runClassFinishers(s.F,p.finishers)}([i(`${h}-megamenu-category-link-group`)],(function(e,i){return{F:class extends i{constructor(...r){super(...r),e(this)}},d:[{kind:"method",key:"render",value:function(){return r(o||(o=s` <slot></slot> `))}},{kind:"field",static:!0,key:"styles",value:()=>t}]}}),e);export{y as default};
90
+ import{g as e,x as r,s as t,c as i,a as n}from"./index-205b10ee.js";let o,s=e=>e;function a(){a=function(){return e};var e={elementsDefinitionOrder:[["method"],["field"]],initializeInstanceElements:function(e,r){["method","field"].forEach((function(t){r.forEach((function(r){r.kind===t&&"own"===r.placement&&this.defineClassElement(e,r)}),this)}),this)},initializeClassElements:function(e,r){var t=e.prototype;["method","field"].forEach((function(i){r.forEach((function(r){var n=r.placement;if(r.kind===i&&("static"===n||"prototype"===n)){var o="static"===n?e:t;this.defineClassElement(o,r)}}),this)}),this)},defineClassElement:function(e,r){var t=r.descriptor;if("field"===r.kind){var i=r.initializer;t={enumerable:t.enumerable,writable:t.writable,configurable:t.configurable,value:void 0===i?void 0:i.call(e)}}Object.defineProperty(e,r.key,t)},decorateClass:function(e,r){var t=[],i=[],n={static:[],prototype:[],own:[]};if(e.forEach((function(e){this.addElementPlacement(e,n)}),this),e.forEach((function(e){if(!d(e))return t.push(e);var r=this.decorateElement(e,n);t.push(r.element),t.push.apply(t,r.extras),i.push.apply(i,r.finishers)}),this),!r)return{elements:t,finishers:i};var o=this.decorateConstructor(t,r);return i.push.apply(i,o.finishers),o.finishers=i,o},addElementPlacement:function(e,r,t){var i=r[e.placement];if(!t&&-1!==i.indexOf(e.key))throw new TypeError("Duplicated element ("+e.key+")");i.push(e.key)},decorateElement:function(e,r){for(var t=[],i=[],n=e.decorators,o=n.length-1;o>=0;o--){var s=r[e.placement];s.splice(s.indexOf(e.key),1);var a=this.fromElementDescriptor(e),l=this.toElementFinisherExtras((0,n[o])(a)||a);e=l.element,this.addElementPlacement(e,r),l.finisher&&i.push(l.finisher);var c=l.extras;if(c){for(var d=0;d<c.length;d++)this.addElementPlacement(c[d],r);t.push.apply(t,c)}}return{element:e,finishers:i,extras:t}},decorateConstructor:function(e,r){for(var t=[],i=r.length-1;i>=0;i--){var n=this.fromClassDescriptor(e),o=this.toClassDescriptor((0,r[i])(n)||n);if(void 0!==o.finisher&&t.push(o.finisher),void 0!==o.elements){e=o.elements;for(var s=0;s<e.length-1;s++)for(var a=s+1;a<e.length;a++)if(e[s].key===e[a].key&&e[s].placement===e[a].placement)throw new TypeError("Duplicated element ("+e[s].key+")")}}return{elements:e,finishers:t}},fromElementDescriptor:function(e){var r={kind:e.kind,key:e.key,placement:e.placement,descriptor:e.descriptor};return Object.defineProperty(r,Symbol.toStringTag,{value:"Descriptor",configurable:!0}),"field"===e.kind&&(r.initializer=e.initializer),r},toElementDescriptors:function(e){if(void 0!==e)return(r=e,function(e){if(Array.isArray(e))return e}(r)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(r)||function(e,r){if(e){if("string"==typeof e)return m(e,r);var t={}.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?m(e,r):void 0}}(r)||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 r=this.toElementDescriptor(e);return this.disallowProperty(e,"finisher","An element descriptor"),this.disallowProperty(e,"extras","An element descriptor"),r}),this);var r},toElementDescriptor:function(e){var r=e.kind+"";if("method"!==r&&"field"!==r)throw new TypeError('An element descriptor\'s .kind property must be either "method" or "field", but a decorator created an element descriptor with .kind "'+r+'"');var t=u(e.key),i=e.placement+"";if("static"!==i&&"prototype"!==i&&"own"!==i)throw new TypeError('An element descriptor\'s .placement property must be one of "static", "prototype" or "own", but a decorator created an element descriptor with .placement "'+i+'"');var n=e.descriptor;this.disallowProperty(e,"elements","An element descriptor");var o={kind:r,key:t,placement:i,descriptor:Object.assign({},n)};return"field"!==r?this.disallowProperty(e,"initializer","A method descriptor"):(this.disallowProperty(n,"get","The property descriptor of a field descriptor"),this.disallowProperty(n,"set","The property descriptor of a field descriptor"),this.disallowProperty(n,"value","The property descriptor of a field descriptor"),o.initializer=e.initializer),o},toElementFinisherExtras:function(e){return{element:this.toElementDescriptor(e),finisher:p(e,"finisher"),extras:this.toElementDescriptors(e.extras)}},fromClassDescriptor:function(e){var r={kind:"class",elements:e.map(this.fromElementDescriptor,this)};return Object.defineProperty(r,Symbol.toStringTag,{value:"Descriptor",configurable:!0}),r},toClassDescriptor:function(e){var r=e.kind+"";if("class"!==r)throw new TypeError('A class descriptor\'s .kind property must be "class", but a decorator created a class descriptor with .kind "'+r+'"');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 t=p(e,"finisher");return{elements:this.toElementDescriptors(e.elements),finisher:t}},runClassFinishers:function(e,r){for(var t=0;t<r.length;t++){var i=(0,r[t])(e);if(void 0!==i){if("function"!=typeof i)throw new TypeError("Finishers must return a constructor.");e=i}}return e},disallowProperty:function(e,r,t){if(void 0!==e[r])throw new TypeError(t+" can't have a ."+r+" property.")}};return e}function l(e){var r,t=u(e.key);"method"===e.kind?r={value:e.value,writable:!0,configurable:!0,enumerable:!1}:"get"===e.kind?r={get:e.value,configurable:!0,enumerable:!1}:"set"===e.kind?r={set:e.value,configurable:!0,enumerable:!1}:"field"===e.kind&&(r={configurable:!0,writable:!0,enumerable:!0});var i={kind:"field"===e.kind?"field":"method",key:t,placement:e.static?"static":"field"===e.kind?"own":"prototype",descriptor:r};return e.decorators&&(i.decorators=e.decorators),"field"===e.kind&&(i.initializer=e.value),i}function c(e,r){void 0!==e.descriptor.get?r.descriptor.get=e.descriptor.get:r.descriptor.set=e.descriptor.set}function d(e){return e.decorators&&e.decorators.length}function f(e){return void 0!==e&&!(void 0===e.value&&void 0===e.writable)}function p(e,r){var t=e[r];if(void 0!==t&&"function"!=typeof t)throw new TypeError("Expected '"+r+"' to be a function");return t}function u(e){var r=function(e,r){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var i=t.call(e,r||"default");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===r?String:Number)(e)}(e,"string");return"symbol"==typeof r?r:r+""}function m(e,r){(null==r||r>e.length)&&(r=e.length);for(var t=0,i=Array(r);t<r;t++)i[t]=e[t];return i}const{stablePrefix:h}=n;let y=function(e,r,t,i){var n=a();if(i)for(var o=0;o<i.length;o++)n=i[o](n);var s=r((function(e){n.initializeInstanceElements(e,p.elements)}),t),p=n.decorateClass(function(e){for(var r=[],t=function(e){return"method"===e.kind&&e.key===o.key&&e.placement===o.placement},i=0;i<e.length;i++){var n,o=e[i];if("method"===o.kind&&(n=r.find(t)))if(f(o.descriptor)||f(n.descriptor)){if(d(o)||d(n))throw new ReferenceError("Duplicated methods ("+o.key+") can't be decorated.");n.descriptor=o.descriptor}else{if(d(o)){if(d(n))throw new ReferenceError("Decorators can't be placed on different accessors with for the same property ("+o.key+").");n.decorators=o.decorators}c(o,n)}else r.push(o)}return r}(s.d.map(l)),e);return n.initializeClassElements(s.F,p.elements),n.runClassFinishers(s.F,p.finishers)}([i(`${h}-megamenu-category-link-group`)],(function(e,i){return{F:class extends i{constructor(...r){super(...r),e(this)}},d:[{kind:"method",key:"render",value:function(){return r(o||(o=s` <slot></slot> `))}},{kind:"field",static:!0,key:"styles",value:()=>t}]}}),e);export{y as default};
@@ -88,7 +88,7 @@
88
88
  */
89
89
 
90
90
  let process = { env: {} };
91
- import { g as s, x, s as styles, c as carbonElement, a as settings } from './index-01b63aeb.js';
91
+ import { g as s, x, s as styles, c as carbonElement, a as settings } from './index-1aef36e9.js';
92
92
 
93
93
  let _ = t => t,
94
94
  _t;
@@ -80,11 +80,11 @@
80
80
  * https://www.npmjs.com/package/redux
81
81
  * https://www.npmjs.com/package/lodash-es
82
82
  * https://www.npmjs.com/package/window-or-global
83
- * https://www.npmjs.com/package/redux-thunk
84
83
  * https://www.npmjs.com/package/redux-logger
84
+ * https://www.npmjs.com/package/redux-thunk
85
85
  * https://www.npmjs.com/package/axios
86
86
  * https://www.npmjs.com/package/isomorphic-dompurify
87
87
  * https://www.npmjs.com/package/striptags
88
88
  */
89
89
 
90
- import{C as e,s as t,c as r,a as i}from"./index-cc7138d9.js";function n(){n=function(){return e};var e={elementsDefinitionOrder:[["method"],["field"]],initializeInstanceElements:function(e,t){["method","field"].forEach((function(r){t.forEach((function(t){t.kind===r&&"own"===t.placement&&this.defineClassElement(e,t)}),this)}),this)},initializeClassElements:function(e,t){var r=e.prototype;["method","field"].forEach((function(i){t.forEach((function(t){var n=t.placement;if(t.kind===i&&("static"===n||"prototype"===n)){var o="static"===n?e:r;this.defineClassElement(o,t)}}),this)}),this)},defineClassElement:function(e,t){var r=t.descriptor;if("field"===t.kind){var i=t.initializer;r={enumerable:r.enumerable,writable:r.writable,configurable:r.configurable,value:void 0===i?void 0:i.call(e)}}Object.defineProperty(e,t.key,r)},decorateClass:function(e,t){var r=[],i=[],n={static:[],prototype:[],own:[]};if(e.forEach((function(e){this.addElementPlacement(e,n)}),this),e.forEach((function(e){if(!a(e))return r.push(e);var t=this.decorateElement(e,n);r.push(t.element),r.push.apply(r,t.extras),i.push.apply(i,t.finishers)}),this),!t)return{elements:r,finishers:i};var o=this.decorateConstructor(r,t);return i.push.apply(i,o.finishers),o.finishers=i,o},addElementPlacement:function(e,t,r){var i=t[e.placement];if(!r&&-1!==i.indexOf(e.key))throw new TypeError("Duplicated element ("+e.key+")");i.push(e.key)},decorateElement:function(e,t){for(var r=[],i=[],n=e.decorators,o=n.length-1;o>=0;o--){var s=t[e.placement];s.splice(s.indexOf(e.key),1);var a=this.fromElementDescriptor(e),l=this.toElementFinisherExtras((0,n[o])(a)||a);e=l.element,this.addElementPlacement(e,t),l.finisher&&i.push(l.finisher);var c=l.extras;if(c){for(var d=0;d<c.length;d++)this.addElementPlacement(c[d],t);r.push.apply(r,c)}}return{element:e,finishers:i,extras:r}},decorateConstructor:function(e,t){for(var r=[],i=t.length-1;i>=0;i--){var n=this.fromClassDescriptor(e),o=this.toClassDescriptor((0,t[i])(n)||n);if(void 0!==o.finisher&&r.push(o.finisher),void 0!==o.elements){e=o.elements;for(var s=0;s<e.length-1;s++)for(var a=s+1;a<e.length;a++)if(e[s].key===e[a].key&&e[s].placement===e[a].placement)throw new TypeError("Duplicated element ("+e[s].key+")")}}return{elements:e,finishers:r}},fromElementDescriptor:function(e){var t={kind:e.kind,key:e.key,placement:e.placement,descriptor:e.descriptor};return Object.defineProperty(t,Symbol.toStringTag,{value:"Descriptor",configurable:!0}),"field"===e.kind&&(t.initializer=e.initializer),t},toElementDescriptors:function(e){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 f(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?f(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);var t},toElementDescriptor:function(e){var t=e.kind+"";if("method"!==t&&"field"!==t)throw new TypeError('An element descriptor\'s .kind property must be either "method" or "field", but a decorator created an element descriptor with .kind "'+t+'"');var r=d(e.key),i=e.placement+"";if("static"!==i&&"prototype"!==i&&"own"!==i)throw new TypeError('An element descriptor\'s .placement property must be one of "static", "prototype" or "own", but a decorator created an element descriptor with .placement "'+i+'"');var n=e.descriptor;this.disallowProperty(e,"elements","An element descriptor");var o={kind:t,key:r,placement:i,descriptor:Object.assign({},n)};return"field"!==t?this.disallowProperty(e,"initializer","A method descriptor"):(this.disallowProperty(n,"get","The property descriptor of a field descriptor"),this.disallowProperty(n,"set","The property descriptor of a field descriptor"),this.disallowProperty(n,"value","The property descriptor of a field descriptor"),o.initializer=e.initializer),o},toElementFinisherExtras:function(e){return{element:this.toElementDescriptor(e),finisher:c(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=e.kind+"";if("class"!==t)throw new TypeError('A class descriptor\'s .kind property must be "class", but a decorator created a class descriptor with .kind "'+t+'"');this.disallowProperty(e,"key","A class descriptor"),this.disallowProperty(e,"placement","A class descriptor"),this.disallowProperty(e,"descriptor","A class descriptor"),this.disallowProperty(e,"initializer","A class descriptor"),this.disallowProperty(e,"extras","A class descriptor");var r=c(e,"finisher");return{elements:this.toElementDescriptors(e.elements),finisher:r}},runClassFinishers:function(e,t){for(var r=0;r<t.length;r++){var i=(0,t[r])(e);if(void 0!==i){if("function"!=typeof i)throw new TypeError("Finishers must return a constructor.");e=i}}return e},disallowProperty:function(e,t,r){if(void 0!==e[t])throw new TypeError(r+" can't have a ."+t+" property.")}};return e}function o(e){var t,r=d(e.key);"method"===e.kind?t={value:e.value,writable:!0,configurable:!0,enumerable:!1}:"get"===e.kind?t={get:e.value,configurable:!0,enumerable:!1}:"set"===e.kind?t={set:e.value,configurable:!0,enumerable:!1}:"field"===e.kind&&(t={configurable:!0,writable:!0,enumerable:!0});var i={kind:"field"===e.kind?"field":"method",key:r,placement:e.static?"static":"field"===e.kind?"own":"prototype",descriptor:t};return e.decorators&&(i.decorators=e.decorators),"field"===e.kind&&(i.initializer=e.value),i}function s(e,t){void 0!==e.descriptor.get?t.descriptor.get=e.descriptor.get:t.descriptor.set=e.descriptor.set}function a(e){return e.decorators&&e.decorators.length}function l(e){return void 0!==e&&!(void 0===e.value&&void 0===e.writable)}function c(e,t){var r=e[t];if(void 0!==r&&"function"!=typeof r)throw new TypeError("Expected '"+t+"' to be a function");return r}function d(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var i=r.call(e,t||"default");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}function f(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,i=Array(t);r<t;r++)i[r]=e[r];return i}const{stablePrefix:p}=i;let u=function(e,t,r,i){var c=n();if(i)for(var d=0;d<i.length;d++)c=i[d](c);var f=t((function(e){c.initializeInstanceElements(e,p.elements)}),r),p=c.decorateClass(function(e){for(var t=[],r=function(e){return"method"===e.kind&&e.key===o.key&&e.placement===o.placement},i=0;i<e.length;i++){var n,o=e[i];if("method"===o.kind&&(n=t.find(r)))if(l(o.descriptor)||l(n.descriptor)){if(a(o)||a(n))throw new ReferenceError("Duplicated methods ("+o.key+") can't be decorated.");n.descriptor=o.descriptor}else{if(a(o)){if(a(n))throw new ReferenceError("Decorators can't be placed on different accessors with for the same property ("+o.key+").");n.decorators=o.decorators}s(o,n)}else t.push(o)}return t}(f.d.map(o)),e);return c.initializeClassElements(f.F,p.elements),c.runClassFinishers(f.F,p.finishers)}([r(`${p}-megamenu-left-navigation`)],(function(e,r){return{F:class extends r{constructor(...t){super(...t),e(this)}},d:[{kind:"field",static:!0,key:"styles",value:()=>t},{kind:"get",static:!0,key:"onlyChildClassName",value:function(){return""}},{kind:"get",static:!0,key:"stableSelector",value:function(){return`${p}--masthead__megamenu-left-navigation`}}]}}),e);export{u as default};
90
+ import{C as e,s as t,c as r,a as i}from"./index-205b10ee.js";function n(){n=function(){return e};var e={elementsDefinitionOrder:[["method"],["field"]],initializeInstanceElements:function(e,t){["method","field"].forEach((function(r){t.forEach((function(t){t.kind===r&&"own"===t.placement&&this.defineClassElement(e,t)}),this)}),this)},initializeClassElements:function(e,t){var r=e.prototype;["method","field"].forEach((function(i){t.forEach((function(t){var n=t.placement;if(t.kind===i&&("static"===n||"prototype"===n)){var o="static"===n?e:r;this.defineClassElement(o,t)}}),this)}),this)},defineClassElement:function(e,t){var r=t.descriptor;if("field"===t.kind){var i=t.initializer;r={enumerable:r.enumerable,writable:r.writable,configurable:r.configurable,value:void 0===i?void 0:i.call(e)}}Object.defineProperty(e,t.key,r)},decorateClass:function(e,t){var r=[],i=[],n={static:[],prototype:[],own:[]};if(e.forEach((function(e){this.addElementPlacement(e,n)}),this),e.forEach((function(e){if(!a(e))return r.push(e);var t=this.decorateElement(e,n);r.push(t.element),r.push.apply(r,t.extras),i.push.apply(i,t.finishers)}),this),!t)return{elements:r,finishers:i};var o=this.decorateConstructor(r,t);return i.push.apply(i,o.finishers),o.finishers=i,o},addElementPlacement:function(e,t,r){var i=t[e.placement];if(!r&&-1!==i.indexOf(e.key))throw new TypeError("Duplicated element ("+e.key+")");i.push(e.key)},decorateElement:function(e,t){for(var r=[],i=[],n=e.decorators,o=n.length-1;o>=0;o--){var s=t[e.placement];s.splice(s.indexOf(e.key),1);var a=this.fromElementDescriptor(e),l=this.toElementFinisherExtras((0,n[o])(a)||a);e=l.element,this.addElementPlacement(e,t),l.finisher&&i.push(l.finisher);var c=l.extras;if(c){for(var d=0;d<c.length;d++)this.addElementPlacement(c[d],t);r.push.apply(r,c)}}return{element:e,finishers:i,extras:r}},decorateConstructor:function(e,t){for(var r=[],i=t.length-1;i>=0;i--){var n=this.fromClassDescriptor(e),o=this.toClassDescriptor((0,t[i])(n)||n);if(void 0!==o.finisher&&r.push(o.finisher),void 0!==o.elements){e=o.elements;for(var s=0;s<e.length-1;s++)for(var a=s+1;a<e.length;a++)if(e[s].key===e[a].key&&e[s].placement===e[a].placement)throw new TypeError("Duplicated element ("+e[s].key+")")}}return{elements:e,finishers:r}},fromElementDescriptor:function(e){var t={kind:e.kind,key:e.key,placement:e.placement,descriptor:e.descriptor};return Object.defineProperty(t,Symbol.toStringTag,{value:"Descriptor",configurable:!0}),"field"===e.kind&&(t.initializer=e.initializer),t},toElementDescriptors:function(e){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 f(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?f(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);var t},toElementDescriptor:function(e){var t=e.kind+"";if("method"!==t&&"field"!==t)throw new TypeError('An element descriptor\'s .kind property must be either "method" or "field", but a decorator created an element descriptor with .kind "'+t+'"');var r=d(e.key),i=e.placement+"";if("static"!==i&&"prototype"!==i&&"own"!==i)throw new TypeError('An element descriptor\'s .placement property must be one of "static", "prototype" or "own", but a decorator created an element descriptor with .placement "'+i+'"');var n=e.descriptor;this.disallowProperty(e,"elements","An element descriptor");var o={kind:t,key:r,placement:i,descriptor:Object.assign({},n)};return"field"!==t?this.disallowProperty(e,"initializer","A method descriptor"):(this.disallowProperty(n,"get","The property descriptor of a field descriptor"),this.disallowProperty(n,"set","The property descriptor of a field descriptor"),this.disallowProperty(n,"value","The property descriptor of a field descriptor"),o.initializer=e.initializer),o},toElementFinisherExtras:function(e){return{element:this.toElementDescriptor(e),finisher:c(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=e.kind+"";if("class"!==t)throw new TypeError('A class descriptor\'s .kind property must be "class", but a decorator created a class descriptor with .kind "'+t+'"');this.disallowProperty(e,"key","A class descriptor"),this.disallowProperty(e,"placement","A class descriptor"),this.disallowProperty(e,"descriptor","A class descriptor"),this.disallowProperty(e,"initializer","A class descriptor"),this.disallowProperty(e,"extras","A class descriptor");var r=c(e,"finisher");return{elements:this.toElementDescriptors(e.elements),finisher:r}},runClassFinishers:function(e,t){for(var r=0;r<t.length;r++){var i=(0,t[r])(e);if(void 0!==i){if("function"!=typeof i)throw new TypeError("Finishers must return a constructor.");e=i}}return e},disallowProperty:function(e,t,r){if(void 0!==e[t])throw new TypeError(r+" can't have a ."+t+" property.")}};return e}function o(e){var t,r=d(e.key);"method"===e.kind?t={value:e.value,writable:!0,configurable:!0,enumerable:!1}:"get"===e.kind?t={get:e.value,configurable:!0,enumerable:!1}:"set"===e.kind?t={set:e.value,configurable:!0,enumerable:!1}:"field"===e.kind&&(t={configurable:!0,writable:!0,enumerable:!0});var i={kind:"field"===e.kind?"field":"method",key:r,placement:e.static?"static":"field"===e.kind?"own":"prototype",descriptor:t};return e.decorators&&(i.decorators=e.decorators),"field"===e.kind&&(i.initializer=e.value),i}function s(e,t){void 0!==e.descriptor.get?t.descriptor.get=e.descriptor.get:t.descriptor.set=e.descriptor.set}function a(e){return e.decorators&&e.decorators.length}function l(e){return void 0!==e&&!(void 0===e.value&&void 0===e.writable)}function c(e,t){var r=e[t];if(void 0!==r&&"function"!=typeof r)throw new TypeError("Expected '"+t+"' to be a function");return r}function d(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var i=r.call(e,t||"default");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}function f(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,i=Array(t);r<t;r++)i[r]=e[r];return i}const{stablePrefix:p}=i;let u=function(e,t,r,i){var c=n();if(i)for(var d=0;d<i.length;d++)c=i[d](c);var f=t((function(e){c.initializeInstanceElements(e,p.elements)}),r),p=c.decorateClass(function(e){for(var t=[],r=function(e){return"method"===e.kind&&e.key===o.key&&e.placement===o.placement},i=0;i<e.length;i++){var n,o=e[i];if("method"===o.kind&&(n=t.find(r)))if(l(o.descriptor)||l(n.descriptor)){if(a(o)||a(n))throw new ReferenceError("Duplicated methods ("+o.key+") can't be decorated.");n.descriptor=o.descriptor}else{if(a(o)){if(a(n))throw new ReferenceError("Decorators can't be placed on different accessors with for the same property ("+o.key+").");n.decorators=o.decorators}s(o,n)}else t.push(o)}return t}(f.d.map(o)),e);return c.initializeClassElements(f.F,p.elements),c.runClassFinishers(f.F,p.finishers)}([r(`${p}-megamenu-left-navigation`)],(function(e,r){return{F:class extends r{constructor(...t){super(...t),e(this)}},d:[{kind:"field",static:!0,key:"styles",value:()=>t},{kind:"get",static:!0,key:"onlyChildClassName",value:function(){return""}},{kind:"get",static:!0,key:"stableSelector",value:function(){return`${p}--masthead__megamenu-left-navigation`}}]}}),e);export{u as default};
@@ -88,7 +88,7 @@
88
88
  */
89
89
 
90
90
  let process = { env: {} };
91
- import { C as C4DMegaMenuRightNavigation, s as styles, c as carbonElement, a as settings } from './index-01b63aeb.js';
91
+ import { C as C4DMegaMenuRightNavigation, s as styles, c as carbonElement, a as settings } from './index-1aef36e9.js';
92
92
 
93
93
  function _decorate(e, r, t, i) { var o = _getDecoratorsApi(); if (i) for (var n = 0; n < i.length; n++) o = i[n](o); var s = r(function (e) { o.initializeInstanceElements(e, a.elements); }, t), a = o.decorateClass(_coalesceClassElements(s.d.map(_createElementDescriptor)), e); return o.initializeClassElements(s.F, a.elements), o.runClassFinishers(s.F, a.finishers); }
94
94
  function _getDecoratorsApi() { _getDecoratorsApi = function () { return e; }; var e = { elementsDefinitionOrder: [["method"], ["field"]], initializeInstanceElements: function (e, r) { ["method", "field"].forEach(function (t) { r.forEach(function (r) { r.kind === t && "own" === r.placement && this.defineClassElement(e, r); }, this); }, this); }, initializeClassElements: function (e, r) { var t = e.prototype; ["method", "field"].forEach(function (i) { r.forEach(function (r) { var o = r.placement; if (r.kind === i && ("static" === o || "prototype" === o)) { var n = "static" === o ? e : t; this.defineClassElement(n, r); } }, this); }, this); }, defineClassElement: function (e, r) { var t = r.descriptor; if ("field" === r.kind) { var i = r.initializer; t = { enumerable: t.enumerable, writable: t.writable, configurable: t.configurable, value: void 0 === i ? void 0 : i.call(e) }; } Object.defineProperty(e, r.key, t); }, decorateClass: function (e, r) { var t = [], i = [], o = { static: [], prototype: [], own: [] }; if (e.forEach(function (e) { this.addElementPlacement(e, o); }, this), e.forEach(function (e) { if (!_hasDecorators(e)) return t.push(e); var r = this.decorateElement(e, o); t.push(r.element), t.push.apply(t, r.extras), i.push.apply(i, r.finishers); }, this), !r) return { elements: t, finishers: i }; var n = this.decorateConstructor(t, r); return i.push.apply(i, n.finishers), n.finishers = i, n; }, addElementPlacement: function (e, r, t) { var i = r[e.placement]; if (!t && -1 !== i.indexOf(e.key)) throw new TypeError("Duplicated element (" + e.key + ")"); i.push(e.key); }, decorateElement: function (e, r) { for (var t = [], i = [], o = e.decorators, n = o.length - 1; n >= 0; n--) { var s = r[e.placement]; s.splice(s.indexOf(e.key), 1); var a = this.fromElementDescriptor(e), l = this.toElementFinisherExtras((0, o[n])(a) || a); e = l.element, this.addElementPlacement(e, r), l.finisher && i.push(l.finisher); var c = l.extras; if (c) { for (var p = 0; p < c.length; p++) this.addElementPlacement(c[p], r); t.push.apply(t, c); } } return { element: e, finishers: i, extras: t }; }, decorateConstructor: function (e, r) { for (var t = [], i = r.length - 1; i >= 0; i--) { var o = this.fromClassDescriptor(e), n = this.toClassDescriptor((0, r[i])(o) || o); if (void 0 !== n.finisher && t.push(n.finisher), void 0 !== n.elements) { e = n.elements; for (var s = 0; s < e.length - 1; s++) for (var a = s + 1; a < e.length; a++) if (e[s].key === e[a].key && e[s].placement === e[a].placement) throw new TypeError("Duplicated element (" + e[s].key + ")"); } } return { elements: e, finishers: t }; }, fromElementDescriptor: function (e) { var r = { kind: e.kind, key: e.key, placement: e.placement, descriptor: e.descriptor }; return Object.defineProperty(r, Symbol.toStringTag, { value: "Descriptor", configurable: !0 }), "field" === e.kind && (r.initializer = e.initializer), r; }, toElementDescriptors: function (e) { if (void 0 !== e) return _toArray(e).map(function (e) { var r = this.toElementDescriptor(e); return this.disallowProperty(e, "finisher", "An element descriptor"), this.disallowProperty(e, "extras", "An element descriptor"), r; }, this); }, toElementDescriptor: function (e) { var r = e.kind + ""; if ("method" !== r && "field" !== r) throw new TypeError('An element descriptor\'s .kind property must be either "method" or "field", but a decorator created an element descriptor with .kind "' + r + '"'); var t = _toPropertyKey(e.key), i = e.placement + ""; if ("static" !== i && "prototype" !== i && "own" !== i) throw new TypeError('An element descriptor\'s .placement property must be one of "static", "prototype" or "own", but a decorator created an element descriptor with .placement "' + i + '"'); var o = e.descriptor; this.disallowProperty(e, "elements", "An element descriptor"); var n = { kind: r, key: t, placement: i, descriptor: Object.assign({}, o) }; return "field" !== r ? this.disallowProperty(e, "initializer", "A method descriptor") : (this.disallowProperty(o, "get", "The property descriptor of a field descriptor"), this.disallowProperty(o, "set", "The property descriptor of a field descriptor"), this.disallowProperty(o, "value", "The property descriptor of a field descriptor"), n.initializer = e.initializer), n; }, toElementFinisherExtras: function (e) { return { element: this.toElementDescriptor(e), finisher: _optionalCallableProperty(e, "finisher"), extras: this.toElementDescriptors(e.extras) }; }, fromClassDescriptor: function (e) { var r = { kind: "class", elements: e.map(this.fromElementDescriptor, this) }; return Object.defineProperty(r, Symbol.toStringTag, { value: "Descriptor", configurable: !0 }), r; }, toClassDescriptor: function (e) { var r = e.kind + ""; if ("class" !== r) throw new TypeError('A class descriptor\'s .kind property must be "class", but a decorator created a class descriptor with .kind "' + r + '"'); 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 t = _optionalCallableProperty(e, "finisher"); return { elements: this.toElementDescriptors(e.elements), finisher: t }; }, runClassFinishers: function (e, r) { for (var t = 0; t < r.length; t++) { var i = (0, r[t])(e); if (void 0 !== i) { if ("function" != typeof i) throw new TypeError("Finishers must return a constructor."); e = i; } } return e; }, disallowProperty: function (e, r, t) { if (void 0 !== e[r]) throw new TypeError(t + " can't have a ." + r + " property."); } }; return e; }
@@ -88,7 +88,7 @@
88
88
  */
89
89
 
90
90
  let process = { env: {} };
91
- import { g as s, n, x, s as styles, c as carbonElement, a as settings } from './index-01b63aeb.js';
91
+ import { g as s, n, x, s as styles, c as carbonElement, a as settings } from './index-1aef36e9.js';
92
92
 
93
93
  let _ = t => t,
94
94
  _t;
@@ -80,11 +80,11 @@
80
80
  * https://www.npmjs.com/package/redux
81
81
  * https://www.npmjs.com/package/lodash-es
82
82
  * https://www.npmjs.com/package/window-or-global
83
- * https://www.npmjs.com/package/redux-thunk
84
83
  * https://www.npmjs.com/package/redux-logger
84
+ * https://www.npmjs.com/package/redux-thunk
85
85
  * https://www.npmjs.com/package/axios
86
86
  * https://www.npmjs.com/package/isomorphic-dompurify
87
87
  * https://www.npmjs.com/package/striptags
88
88
  */
89
89
 
90
- import{g as e,n as r,x as t,s as i,c as n,a as o}from"./index-cc7138d9.js";let s,a=e=>e;function l(){l=function(){return e};var e={elementsDefinitionOrder:[["method"],["field"]],initializeInstanceElements:function(e,r){["method","field"].forEach((function(t){r.forEach((function(r){r.kind===t&&"own"===r.placement&&this.defineClassElement(e,r)}),this)}),this)},initializeClassElements:function(e,r){var t=e.prototype;["method","field"].forEach((function(i){r.forEach((function(r){var n=r.placement;if(r.kind===i&&("static"===n||"prototype"===n)){var o="static"===n?e:t;this.defineClassElement(o,r)}}),this)}),this)},defineClassElement:function(e,r){var t=r.descriptor;if("field"===r.kind){var i=r.initializer;t={enumerable:t.enumerable,writable:t.writable,configurable:t.configurable,value:void 0===i?void 0:i.call(e)}}Object.defineProperty(e,r.key,t)},decorateClass:function(e,r){var t=[],i=[],n={static:[],prototype:[],own:[]};if(e.forEach((function(e){this.addElementPlacement(e,n)}),this),e.forEach((function(e){if(!f(e))return t.push(e);var r=this.decorateElement(e,n);t.push(r.element),t.push.apply(t,r.extras),i.push.apply(i,r.finishers)}),this),!r)return{elements:t,finishers:i};var o=this.decorateConstructor(t,r);return i.push.apply(i,o.finishers),o.finishers=i,o},addElementPlacement:function(e,r,t){var i=r[e.placement];if(!t&&-1!==i.indexOf(e.key))throw new TypeError("Duplicated element ("+e.key+")");i.push(e.key)},decorateElement:function(e,r){for(var t=[],i=[],n=e.decorators,o=n.length-1;o>=0;o--){var s=r[e.placement];s.splice(s.indexOf(e.key),1);var a=this.fromElementDescriptor(e),l=this.toElementFinisherExtras((0,n[o])(a)||a);e=l.element,this.addElementPlacement(e,r),l.finisher&&i.push(l.finisher);var c=l.extras;if(c){for(var d=0;d<c.length;d++)this.addElementPlacement(c[d],r);t.push.apply(t,c)}}return{element:e,finishers:i,extras:t}},decorateConstructor:function(e,r){for(var t=[],i=r.length-1;i>=0;i--){var n=this.fromClassDescriptor(e),o=this.toClassDescriptor((0,r[i])(n)||n);if(void 0!==o.finisher&&t.push(o.finisher),void 0!==o.elements){e=o.elements;for(var s=0;s<e.length-1;s++)for(var a=s+1;a<e.length;a++)if(e[s].key===e[a].key&&e[s].placement===e[a].placement)throw new TypeError("Duplicated element ("+e[s].key+")")}}return{elements:e,finishers:t}},fromElementDescriptor:function(e){var r={kind:e.kind,key:e.key,placement:e.placement,descriptor:e.descriptor};return Object.defineProperty(r,Symbol.toStringTag,{value:"Descriptor",configurable:!0}),"field"===e.kind&&(r.initializer=e.initializer),r},toElementDescriptors:function(e){if(void 0!==e)return(r=e,function(e){if(Array.isArray(e))return e}(r)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(r)||function(e,r){if(e){if("string"==typeof e)return h(e,r);var t={}.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?h(e,r):void 0}}(r)||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 r=this.toElementDescriptor(e);return this.disallowProperty(e,"finisher","An element descriptor"),this.disallowProperty(e,"extras","An element descriptor"),r}),this);var r},toElementDescriptor:function(e){var r=e.kind+"";if("method"!==r&&"field"!==r)throw new TypeError('An element descriptor\'s .kind property must be either "method" or "field", but a decorator created an element descriptor with .kind "'+r+'"');var t=m(e.key),i=e.placement+"";if("static"!==i&&"prototype"!==i&&"own"!==i)throw new TypeError('An element descriptor\'s .placement property must be one of "static", "prototype" or "own", but a decorator created an element descriptor with .placement "'+i+'"');var n=e.descriptor;this.disallowProperty(e,"elements","An element descriptor");var o={kind:r,key:t,placement:i,descriptor:Object.assign({},n)};return"field"!==r?this.disallowProperty(e,"initializer","A method descriptor"):(this.disallowProperty(n,"get","The property descriptor of a field descriptor"),this.disallowProperty(n,"set","The property descriptor of a field descriptor"),this.disallowProperty(n,"value","The property descriptor of a field descriptor"),o.initializer=e.initializer),o},toElementFinisherExtras:function(e){return{element:this.toElementDescriptor(e),finisher:u(e,"finisher"),extras:this.toElementDescriptors(e.extras)}},fromClassDescriptor:function(e){var r={kind:"class",elements:e.map(this.fromElementDescriptor,this)};return Object.defineProperty(r,Symbol.toStringTag,{value:"Descriptor",configurable:!0}),r},toClassDescriptor:function(e){var r=e.kind+"";if("class"!==r)throw new TypeError('A class descriptor\'s .kind property must be "class", but a decorator created a class descriptor with .kind "'+r+'"');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 t=u(e,"finisher");return{elements:this.toElementDescriptors(e.elements),finisher:t}},runClassFinishers:function(e,r){for(var t=0;t<r.length;t++){var i=(0,r[t])(e);if(void 0!==i){if("function"!=typeof i)throw new TypeError("Finishers must return a constructor.");e=i}}return e},disallowProperty:function(e,r,t){if(void 0!==e[r])throw new TypeError(t+" can't have a ."+r+" property.")}};return e}function c(e){var r,t=m(e.key);"method"===e.kind?r={value:e.value,writable:!0,configurable:!0,enumerable:!1}:"get"===e.kind?r={get:e.value,configurable:!0,enumerable:!1}:"set"===e.kind?r={set:e.value,configurable:!0,enumerable:!1}:"field"===e.kind&&(r={configurable:!0,writable:!0,enumerable:!0});var i={kind:"field"===e.kind?"field":"method",key:t,placement:e.static?"static":"field"===e.kind?"own":"prototype",descriptor:r};return e.decorators&&(i.decorators=e.decorators),"field"===e.kind&&(i.initializer=e.value),i}function d(e,r){void 0!==e.descriptor.get?r.descriptor.get=e.descriptor.get:r.descriptor.set=e.descriptor.set}function f(e){return e.decorators&&e.decorators.length}function p(e){return void 0!==e&&!(void 0===e.value&&void 0===e.writable)}function u(e,r){var t=e[r];if(void 0!==t&&"function"!=typeof t)throw new TypeError("Expected '"+r+"' to be a function");return t}function m(e){var r=function(e,r){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var i=t.call(e,r||"default");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===r?String:Number)(e)}(e,"string");return"symbol"==typeof r?r:r+""}function h(e,r){(null==r||r>e.length)&&(r=e.length);for(var t=0,i=Array(r);t<r;t++)i[t]=e[t];return i}const{stablePrefix:y}=o;let v=function(e,r,t,i){var n=l();if(i)for(var o=0;o<i.length;o++)n=i[o](n);var s=r((function(e){n.initializeInstanceElements(e,a.elements)}),t),a=n.decorateClass(function(e){for(var r=[],t=function(e){return"method"===e.kind&&e.key===o.key&&e.placement===o.placement},i=0;i<e.length;i++){var n,o=e[i];if("method"===o.kind&&(n=r.find(t)))if(p(o.descriptor)||p(n.descriptor)){if(f(o)||f(n))throw new ReferenceError("Duplicated methods ("+o.key+") can't be decorated.");n.descriptor=o.descriptor}else{if(f(o)){if(f(n))throw new ReferenceError("Decorators can't be placed on different accessors with for the same property ("+o.key+").");n.decorators=o.decorators}d(o,n)}else r.push(o)}return r}(s.d.map(c)),e);return n.initializeClassElements(s.F,a.elements),n.runClassFinishers(s.F,a.finishers)}([n(`${y}-megamenu-overlay`)],(function(e,n){return{F:class extends n{constructor(...r){super(...r),e(this)}},d:[{kind:"field",decorators:[r({type:Boolean,reflect:!0})],key:"active",value:()=>!1},{kind:"method",key:"render",value:function(){return t(s||(s=a` <slot></slot> `))}},{kind:"field",static:!0,key:"styles",value:()=>i}]}}),e);export{v as default};
90
+ import{g as e,n as r,x as t,s as i,c as n,a as o}from"./index-205b10ee.js";let s,a=e=>e;function l(){l=function(){return e};var e={elementsDefinitionOrder:[["method"],["field"]],initializeInstanceElements:function(e,r){["method","field"].forEach((function(t){r.forEach((function(r){r.kind===t&&"own"===r.placement&&this.defineClassElement(e,r)}),this)}),this)},initializeClassElements:function(e,r){var t=e.prototype;["method","field"].forEach((function(i){r.forEach((function(r){var n=r.placement;if(r.kind===i&&("static"===n||"prototype"===n)){var o="static"===n?e:t;this.defineClassElement(o,r)}}),this)}),this)},defineClassElement:function(e,r){var t=r.descriptor;if("field"===r.kind){var i=r.initializer;t={enumerable:t.enumerable,writable:t.writable,configurable:t.configurable,value:void 0===i?void 0:i.call(e)}}Object.defineProperty(e,r.key,t)},decorateClass:function(e,r){var t=[],i=[],n={static:[],prototype:[],own:[]};if(e.forEach((function(e){this.addElementPlacement(e,n)}),this),e.forEach((function(e){if(!f(e))return t.push(e);var r=this.decorateElement(e,n);t.push(r.element),t.push.apply(t,r.extras),i.push.apply(i,r.finishers)}),this),!r)return{elements:t,finishers:i};var o=this.decorateConstructor(t,r);return i.push.apply(i,o.finishers),o.finishers=i,o},addElementPlacement:function(e,r,t){var i=r[e.placement];if(!t&&-1!==i.indexOf(e.key))throw new TypeError("Duplicated element ("+e.key+")");i.push(e.key)},decorateElement:function(e,r){for(var t=[],i=[],n=e.decorators,o=n.length-1;o>=0;o--){var s=r[e.placement];s.splice(s.indexOf(e.key),1);var a=this.fromElementDescriptor(e),l=this.toElementFinisherExtras((0,n[o])(a)||a);e=l.element,this.addElementPlacement(e,r),l.finisher&&i.push(l.finisher);var c=l.extras;if(c){for(var d=0;d<c.length;d++)this.addElementPlacement(c[d],r);t.push.apply(t,c)}}return{element:e,finishers:i,extras:t}},decorateConstructor:function(e,r){for(var t=[],i=r.length-1;i>=0;i--){var n=this.fromClassDescriptor(e),o=this.toClassDescriptor((0,r[i])(n)||n);if(void 0!==o.finisher&&t.push(o.finisher),void 0!==o.elements){e=o.elements;for(var s=0;s<e.length-1;s++)for(var a=s+1;a<e.length;a++)if(e[s].key===e[a].key&&e[s].placement===e[a].placement)throw new TypeError("Duplicated element ("+e[s].key+")")}}return{elements:e,finishers:t}},fromElementDescriptor:function(e){var r={kind:e.kind,key:e.key,placement:e.placement,descriptor:e.descriptor};return Object.defineProperty(r,Symbol.toStringTag,{value:"Descriptor",configurable:!0}),"field"===e.kind&&(r.initializer=e.initializer),r},toElementDescriptors:function(e){if(void 0!==e)return(r=e,function(e){if(Array.isArray(e))return e}(r)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(r)||function(e,r){if(e){if("string"==typeof e)return h(e,r);var t={}.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?h(e,r):void 0}}(r)||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 r=this.toElementDescriptor(e);return this.disallowProperty(e,"finisher","An element descriptor"),this.disallowProperty(e,"extras","An element descriptor"),r}),this);var r},toElementDescriptor:function(e){var r=e.kind+"";if("method"!==r&&"field"!==r)throw new TypeError('An element descriptor\'s .kind property must be either "method" or "field", but a decorator created an element descriptor with .kind "'+r+'"');var t=m(e.key),i=e.placement+"";if("static"!==i&&"prototype"!==i&&"own"!==i)throw new TypeError('An element descriptor\'s .placement property must be one of "static", "prototype" or "own", but a decorator created an element descriptor with .placement "'+i+'"');var n=e.descriptor;this.disallowProperty(e,"elements","An element descriptor");var o={kind:r,key:t,placement:i,descriptor:Object.assign({},n)};return"field"!==r?this.disallowProperty(e,"initializer","A method descriptor"):(this.disallowProperty(n,"get","The property descriptor of a field descriptor"),this.disallowProperty(n,"set","The property descriptor of a field descriptor"),this.disallowProperty(n,"value","The property descriptor of a field descriptor"),o.initializer=e.initializer),o},toElementFinisherExtras:function(e){return{element:this.toElementDescriptor(e),finisher:u(e,"finisher"),extras:this.toElementDescriptors(e.extras)}},fromClassDescriptor:function(e){var r={kind:"class",elements:e.map(this.fromElementDescriptor,this)};return Object.defineProperty(r,Symbol.toStringTag,{value:"Descriptor",configurable:!0}),r},toClassDescriptor:function(e){var r=e.kind+"";if("class"!==r)throw new TypeError('A class descriptor\'s .kind property must be "class", but a decorator created a class descriptor with .kind "'+r+'"');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 t=u(e,"finisher");return{elements:this.toElementDescriptors(e.elements),finisher:t}},runClassFinishers:function(e,r){for(var t=0;t<r.length;t++){var i=(0,r[t])(e);if(void 0!==i){if("function"!=typeof i)throw new TypeError("Finishers must return a constructor.");e=i}}return e},disallowProperty:function(e,r,t){if(void 0!==e[r])throw new TypeError(t+" can't have a ."+r+" property.")}};return e}function c(e){var r,t=m(e.key);"method"===e.kind?r={value:e.value,writable:!0,configurable:!0,enumerable:!1}:"get"===e.kind?r={get:e.value,configurable:!0,enumerable:!1}:"set"===e.kind?r={set:e.value,configurable:!0,enumerable:!1}:"field"===e.kind&&(r={configurable:!0,writable:!0,enumerable:!0});var i={kind:"field"===e.kind?"field":"method",key:t,placement:e.static?"static":"field"===e.kind?"own":"prototype",descriptor:r};return e.decorators&&(i.decorators=e.decorators),"field"===e.kind&&(i.initializer=e.value),i}function d(e,r){void 0!==e.descriptor.get?r.descriptor.get=e.descriptor.get:r.descriptor.set=e.descriptor.set}function f(e){return e.decorators&&e.decorators.length}function p(e){return void 0!==e&&!(void 0===e.value&&void 0===e.writable)}function u(e,r){var t=e[r];if(void 0!==t&&"function"!=typeof t)throw new TypeError("Expected '"+r+"' to be a function");return t}function m(e){var r=function(e,r){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var i=t.call(e,r||"default");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===r?String:Number)(e)}(e,"string");return"symbol"==typeof r?r:r+""}function h(e,r){(null==r||r>e.length)&&(r=e.length);for(var t=0,i=Array(r);t<r;t++)i[t]=e[t];return i}const{stablePrefix:y}=o;let v=function(e,r,t,i){var n=l();if(i)for(var o=0;o<i.length;o++)n=i[o](n);var s=r((function(e){n.initializeInstanceElements(e,a.elements)}),t),a=n.decorateClass(function(e){for(var r=[],t=function(e){return"method"===e.kind&&e.key===o.key&&e.placement===o.placement},i=0;i<e.length;i++){var n,o=e[i];if("method"===o.kind&&(n=r.find(t)))if(p(o.descriptor)||p(n.descriptor)){if(f(o)||f(n))throw new ReferenceError("Duplicated methods ("+o.key+") can't be decorated.");n.descriptor=o.descriptor}else{if(f(o)){if(f(n))throw new ReferenceError("Decorators can't be placed on different accessors with for the same property ("+o.key+").");n.decorators=o.decorators}d(o,n)}else r.push(o)}return r}(s.d.map(c)),e);return n.initializeClassElements(s.F,a.elements),n.runClassFinishers(s.F,a.finishers)}([n(`${y}-megamenu-overlay`)],(function(e,n){return{F:class extends n{constructor(...r){super(...r),e(this)}},d:[{kind:"field",decorators:[r({type:Boolean,reflect:!0})],key:"active",value:()=>!1},{kind:"method",key:"render",value:function(){return t(s||(s=a` <slot></slot> `))}},{kind:"field",static:!0,key:"styles",value:()=>i}]}}),e);export{v as default};
@@ -88,7 +88,7 @@
88
88
  */
89
89
 
90
90
  let process = { env: {} };
91
- import { _ as _decorate$1, F as FocusMixin, g as s, n, p as prefix$1, x, l as _objectSpread2, m as styles, c as carbonElement, o as l, q as o, T as TABS_TYPE, r as styles$1, t as _get$1, u as _getPrototypeOf$1, s as styles$2, a as settings } from './index-01b63aeb.js';
91
+ import { _ as _decorate$1, F as FocusMixin, g as s, n, p as prefix$1, x, l as _objectSpread2, m as styles, c as carbonElement, o as l, q as o, T as TABS_TYPE, r as styles$1, t as _get$1, u as _getPrototypeOf$1, s as styles$2, a as settings } from './index-1aef36e9.js';
92
92
 
93
93
  let _$2 = t => t,
94
94
  _t$2,
@@ -80,14 +80,14 @@
80
80
  * https://www.npmjs.com/package/redux
81
81
  * https://www.npmjs.com/package/lodash-es
82
82
  * https://www.npmjs.com/package/window-or-global
83
- * https://www.npmjs.com/package/redux-thunk
84
83
  * https://www.npmjs.com/package/redux-logger
84
+ * https://www.npmjs.com/package/redux-thunk
85
85
  * https://www.npmjs.com/package/axios
86
86
  * https://www.npmjs.com/package/isomorphic-dompurify
87
87
  * https://www.npmjs.com/package/striptags
88
88
  */
89
89
 
90
- import{_ as e,F as t,g as r,n as i,p as n,x as o,l as a,m as s,c as l,o as c,q as d,T as u,r as f,t as p,u as h,s as y,a as m}from"./index-cc7138d9.js";let v,k,b,g,w=e=>e,E=e([l(`${n}-content-switcher-item`)],(function(e,t){return{F:class extends t{constructor(...t){super(...t),e(this)}},d:[{kind:"field",decorators:[i({type:Boolean,reflect:!0})],key:"disabled",value:()=>!1},{kind:"field",decorators:[i({type:Boolean,reflect:!0,attribute:"hide-divider"})],key:"hideDivider",value:()=>!1},{kind:"field",decorators:[i({type:Boolean,reflect:!0})],key:"selected",value:()=>!1},{kind:"field",decorators:[i()],key:"target",value:void 0},{kind:"field",decorators:[i()],key:"value",value:()=>""},{kind:"field",decorators:[i({type:Boolean,reflect:!0})],key:"icon",value:()=>!1},{kind:"field",decorators:[i({reflect:!0,type:String})],key:"align",value:()=>"top"},{kind:"field",decorators:[i({attribute:"close-on-activation",reflect:!0,type:Boolean})],key:"closeOnActivation",value:()=>!0},{kind:"field",key:"enterDelayMs",value:()=>100},{kind:"field",key:"leaveDelayMs",value:()=>100},{kind:"method",key:"updated",value:function(e){var t;e&&(null===(t=this.shadowRoot)||void 0===t||null===(t=t.querySelector(`${n}-tooltip`))||void 0===t||null===(t=t.shadowRoot)||void 0===t||null===(t=t.querySelector(`.${n}--tooltip`))||void 0===t||t.classList.add(`${n}--icon-tooltip`))}},{kind:"method",key:"_renderTooltipContent",value:function(){return o(v||(v=w`
90
+ import{_ as e,F as t,g as r,n as i,p as n,x as o,l as a,m as s,c as l,o as c,q as d,T as u,r as f,t as p,u as h,s as y,a as m}from"./index-205b10ee.js";let v,k,b,g,w=e=>e,E=e([l(`${n}-content-switcher-item`)],(function(e,t){return{F:class extends t{constructor(...t){super(...t),e(this)}},d:[{kind:"field",decorators:[i({type:Boolean,reflect:!0})],key:"disabled",value:()=>!1},{kind:"field",decorators:[i({type:Boolean,reflect:!0,attribute:"hide-divider"})],key:"hideDivider",value:()=>!1},{kind:"field",decorators:[i({type:Boolean,reflect:!0})],key:"selected",value:()=>!1},{kind:"field",decorators:[i()],key:"target",value:void 0},{kind:"field",decorators:[i()],key:"value",value:()=>""},{kind:"field",decorators:[i({type:Boolean,reflect:!0})],key:"icon",value:()=>!1},{kind:"field",decorators:[i({reflect:!0,type:String})],key:"align",value:()=>"top"},{kind:"field",decorators:[i({attribute:"close-on-activation",reflect:!0,type:Boolean})],key:"closeOnActivation",value:()=>!0},{kind:"field",key:"enterDelayMs",value:()=>100},{kind:"field",key:"leaveDelayMs",value:()=>100},{kind:"method",key:"updated",value:function(e){var t;e&&(null===(t=this.shadowRoot)||void 0===t||null===(t=t.querySelector(`${n}-tooltip`))||void 0===t||null===(t=t.shadowRoot)||void 0===t||null===(t=t.querySelector(`.${n}--tooltip`))||void 0===t||t.classList.add(`${n}--icon-tooltip`))}},{kind:"method",key:"_renderTooltipContent",value:function(){return o(v||(v=w`
91
91
  <cds-tooltip-content>
92
92
  <slot name="tooltip-content"></slot>
93
93
  </cds-tooltip-content>
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @license
3
3
  *
4
- * Copyright IBM Corp. 2020, 2024
4
+ * Copyright IBM Corp. 2020, 2025
5
5
  *
6
6
  * This source code is licensed under the Apache-2.0 license found in the
7
7
  * LICENSE file in the root directory of this source tree.
@@ -26,6 +26,11 @@ declare class C4DCardFooter extends C4DLinkWithIcon {
26
26
  * `true` if the link of parent `<c4d-card>` should be used.
27
27
  */
28
28
  protected get _shouldUseParentLink(): boolean;
29
+ /**
30
+ * Contact Module won't work if card-footer has parent-href attribute
31
+ * this function removes parent-href if the cta type is 'chat' or 'contact'
32
+ */
33
+ protected _cleanParentHrefForContactModule(): void;
29
34
  /**
30
35
  * Handles `slotchange` event on the default `<slot>`.
31
36
  */
@@ -8,7 +8,7 @@ function _superPropGet(t, e, r, o) { var p = _get(_getPrototypeOf(1 & o ? t.prot
8
8
  /**
9
9
  * @license
10
10
  *
11
- * Copyright IBM Corp. 2020, 2024
11
+ * Copyright IBM Corp. 2020, 2025
12
12
  *
13
13
  * This source code is licensed under the Apache-2.0 license found in the
14
14
  * LICENSE file in the root directory of this source tree.
@@ -76,6 +76,22 @@ let C4DCardFooter = _decorate([customElement(`${c4dPrefix}-card-footer`)], funct
76
76
  return Boolean(parentHref) && (!href || parentHref === href);
77
77
  }
78
78
 
79
+ /**
80
+ * Contact Module won't work if card-footer has parent-href attribute
81
+ * this function removes parent-href if the cta type is 'chat' or 'contact'
82
+ */
83
+ }, {
84
+ kind: "method",
85
+ key: "_cleanParentHrefForContactModule",
86
+ value: function _cleanParentHrefForContactModule() {
87
+ const {
88
+ ctaType
89
+ } = this;
90
+ if (ctaType === 'chat' || ctaType === 'contact') {
91
+ this.removeAttribute('parent-href');
92
+ }
93
+ }
94
+
79
95
  /**
80
96
  * Handles `slotchange` event on the default `<slot>`.
81
97
  */
@@ -202,6 +218,7 @@ let C4DCardFooter = _decorate([customElement(`${c4dPrefix}-card-footer`)], funct
202
218
  if (iconInline) {
203
219
  targetNode.classList.add(`${prefix}--link-with-icon--inline-icon`);
204
220
  }
221
+ this._cleanParentHrefForContactModule();
205
222
  }
206
223
  }, {
207
224
  kind: "get",
@@ -1 +1 @@
1
- {"version":3,"file":"card-footer.js","names":["html","property","query","state","carbonElement","customElement","settings","C4DLinkWithIcon","Error20","styles","prefix","stablePrefix","c4dPrefix","C4DCardFooter","_decorate","_initialize","_C4DLinkWithIcon","constructor","args","F","d","kind","decorators","key","value","href","parentHref","Boolean","_handleSlotChange","target","name","hasContent","assignedNodes","some","node","nodeType","Node","TEXT_NODE","textContent","trim","_hasCopy","_renderContent","hasCopy","_t","_","_renderInner","_t2","disabled","_renderIcon","reflect","attribute","type","updated","changedProperties","_superPropGet","_this$shadowRoot","shadowRoot","querySelector","setAttribute","altAriaLabel","_this$shadowRoot2","removeAttribute","iconInline","_staticNode","staticNode","_linkNode","linkNode","targetNode","classList","add","static"],"sources":["components/card/card-footer.ts"],"sourcesContent":["/**\n * @license\n *\n * Copyright IBM Corp. 2020, 2024\n *\n * This source code is licensed under the Apache-2.0 license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { html } from 'lit';\nimport { property, query, state } from 'lit/decorators.js';\nimport { carbonElement as customElement } from '@carbon/web-components/es/globals/decorators/carbon-element.js';\nimport settings from '@carbon/ibmdotcom-utilities/es/utilities/settings/settings.js';\nimport C4DLinkWithIcon from '../link-with-icon/link-with-icon';\nimport Error20 from '@carbon/web-components/es/icons/error/20.js';\nimport styles from './card.scss';\n\nconst { prefix, stablePrefix: c4dPrefix } = settings;\n\n/**\n * Card footer.\n *\n * @element c4d-card-footer\n * @csspart copy - The Copy. Usage: `c4d-card-footer::part(copy)`\n */\n@customElement(`${c4dPrefix}-card-footer`)\nclass C4DCardFooter extends C4DLinkWithIcon {\n /**\n * The non-link container node, used when the link of parent `<c4d-card>` should be used.\n */\n @query(`.${c4dPrefix}-ce--card__footer--static`)\n private _staticNode?: HTMLSpanElement;\n\n /**\n * `true` if there is copy content.\n */\n @state()\n protected _hasCopy = false;\n\n /**\n * `true` if the link of parent `<c4d-card>` should be used.\n */\n protected get _shouldUseParentLink() {\n const { href, parentHref } = this;\n return Boolean(parentHref) && (!href || parentHref === href);\n }\n\n /**\n * Handles `slotchange` event on the default `<slot>`.\n */\n protected _handleSlotChange({ target }: Event) {\n if (!(target as HTMLSlotElement).name) {\n const hasContent = (target as HTMLSlotElement)\n .assignedNodes()\n .some(\n (node) =>\n node.nodeType !== Node.TEXT_NODE || node!.textContent!.trim()\n );\n this._hasCopy = hasContent;\n }\n }\n\n /**\n * @returns The main content.\n */\n _renderContent() {\n const { _hasCopy: hasCopy } = this;\n return html`\n <span\n ?hidden=\"${!hasCopy}\"\n class=\"${prefix}--card__cta__copy\"\n part=\"copy\">\n <slot @slotchange=\"${this._handleSlotChange}\"></slot>\n </span>\n `;\n }\n\n _renderInner() {\n return html`\n ${this._renderContent()} ${this.disabled ? Error20() : this._renderIcon()}\n `;\n }\n\n /**\n * Alternative aria label if no text in footer.\n */\n @property({ reflect: false })\n altAriaLabel?: string | null;\n\n /**\n * The color scheme.\n */\n @property({ attribute: 'color-scheme', reflect: true })\n colorScheme = '';\n\n /**\n * The `href` in parent `<c4d-card>`.\n * `<c4d-card>` sets this automatically.\n */\n @property({ attribute: 'parent-href', reflect: true })\n parentHref?: string;\n\n /**\n * Positions the icon inline with text when `true`\n */\n @property({ type: Boolean })\n iconInline = true;\n\n /**\n * The slot in parent `<c4d-card>`.\n */\n @property({ reflect: true })\n slot = 'footer';\n\n updated(changedProperties) {\n super.updated(changedProperties);\n\n if (!this._hasCopy) {\n this.shadowRoot\n ?.querySelector(`a`)\n ?.setAttribute(\n 'aria-label',\n this.altAriaLabel ? this.altAriaLabel : ''\n );\n } else {\n this.shadowRoot?.querySelector(`a`)?.removeAttribute('aria-label');\n }\n\n const { iconInline, _staticNode: staticNode, _linkNode: linkNode } = this;\n const targetNode = linkNode ?? staticNode;\n targetNode!.classList.add(`${prefix}--card__footer`);\n targetNode!.classList.add(`${c4dPrefix}-ce--card__footer`);\n\n if (iconInline) {\n targetNode!.classList.add(`${prefix}--link-with-icon--inline-icon`);\n }\n }\n\n static get stableSelector() {\n return `${c4dPrefix}--card-footer`;\n }\n\n static styles = styles; // `styles` here is a `CSSResult` generated by custom WebPack loader\n}\n\n/* @__GENERATE_REACT_CUSTOM_ELEMENT_TYPE__ */\nexport default C4DCardFooter;\n"],"mappings":";;;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,SAASA,IAAI,QAAQ,KAAK;AAC1B,SAASC,QAAQ,EAAEC,KAAK,EAAEC,KAAK,QAAQ,mBAAmB;AAC1D,SAASC,aAAa,IAAIC,aAAa,QAAQ,gEAAgE;AAC/G,OAAOC,QAAQ,MAAM,+DAA+D;AACpF,OAAOC,eAAe,MAAM,qCAAkC;AAC9D,OAAOC,OAAO,MAAM,6CAA6C;AACjE,OAAOC,MAAM,MAAM,iBAAa;AAEhC,MAAM;EAAEC,MAAM;EAAEC,YAAY,EAAEC;AAAU,CAAC,GAAGN,QAAQ;;AAEpD;AACA;AACA;AACA;AACA;AACA;AALA,IAOMO,aAAa,GAAAC,SAAA,EADlBT,aAAa,CAAC,GAAGO,SAAS,cAAc,CAAC,aAAAG,WAAA,EAAAC,gBAAA;EAA1C,MACMH,aAAa,SAAAG,gBAAA,CAAyB;IAAAC,YAAA,GAAAC,IAAA;MAAA,SAAAA,IAAA;MAAAH,WAAA;IAAA;EAqH5C;EAAC;IAAAI,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AuH3C;AACA,eAAeM,aAAa","ignoreList":[]}
1
+ {"version":3,"file":"card-footer.js","names":["html","property","query","state","carbonElement","customElement","settings","C4DLinkWithIcon","Error20","styles","prefix","stablePrefix","c4dPrefix","C4DCardFooter","_decorate","_initialize","_C4DLinkWithIcon","constructor","args","F","d","kind","decorators","key","value","href","parentHref","Boolean","_cleanParentHrefForContactModule","ctaType","removeAttribute","_handleSlotChange","target","name","hasContent","assignedNodes","some","node","nodeType","Node","TEXT_NODE","textContent","trim","_hasCopy","_renderContent","hasCopy","_t","_","_renderInner","_t2","disabled","_renderIcon","reflect","attribute","type","updated","changedProperties","_superPropGet","_this$shadowRoot","shadowRoot","querySelector","setAttribute","altAriaLabel","_this$shadowRoot2","iconInline","_staticNode","staticNode","_linkNode","linkNode","targetNode","classList","add","static"],"sources":["components/card/card-footer.ts"],"sourcesContent":["/**\n * @license\n *\n * Copyright IBM Corp. 2020, 2025\n *\n * This source code is licensed under the Apache-2.0 license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { html } from 'lit';\nimport { property, query, state } from 'lit/decorators.js';\nimport { carbonElement as customElement } from '@carbon/web-components/es/globals/decorators/carbon-element.js';\nimport settings from '@carbon/ibmdotcom-utilities/es/utilities/settings/settings.js';\nimport C4DLinkWithIcon from '../link-with-icon/link-with-icon';\nimport Error20 from '@carbon/web-components/es/icons/error/20.js';\nimport styles from './card.scss';\n\nconst { prefix, stablePrefix: c4dPrefix } = settings;\n\n/**\n * Card footer.\n *\n * @element c4d-card-footer\n * @csspart copy - The Copy. Usage: `c4d-card-footer::part(copy)`\n */\n@customElement(`${c4dPrefix}-card-footer`)\nclass C4DCardFooter extends C4DLinkWithIcon {\n /**\n * The non-link container node, used when the link of parent `<c4d-card>` should be used.\n */\n @query(`.${c4dPrefix}-ce--card__footer--static`)\n private _staticNode?: HTMLSpanElement;\n\n /**\n * `true` if there is copy content.\n */\n @state()\n protected _hasCopy = false;\n\n /**\n * `true` if the link of parent `<c4d-card>` should be used.\n */\n protected get _shouldUseParentLink() {\n const { href, parentHref } = this;\n return Boolean(parentHref) && (!href || parentHref === href);\n }\n\n /**\n * Contact Module won't work if card-footer has parent-href attribute\n * this function removes parent-href if the cta type is 'chat' or 'contact'\n */\n protected _cleanParentHrefForContactModule() {\n const { ctaType } = this;\n\n if (ctaType === 'chat' || ctaType === 'contact') {\n this.removeAttribute('parent-href');\n }\n }\n\n /**\n * Handles `slotchange` event on the default `<slot>`.\n */\n protected _handleSlotChange({ target }: Event) {\n if (!(target as HTMLSlotElement).name) {\n const hasContent = (target as HTMLSlotElement)\n .assignedNodes()\n .some(\n (node) =>\n node.nodeType !== Node.TEXT_NODE || node!.textContent!.trim()\n );\n this._hasCopy = hasContent;\n }\n }\n\n /**\n * @returns The main content.\n */\n _renderContent() {\n const { _hasCopy: hasCopy } = this;\n return html`\n <span\n ?hidden=\"${!hasCopy}\"\n class=\"${prefix}--card__cta__copy\"\n part=\"copy\">\n <slot @slotchange=\"${this._handleSlotChange}\"></slot>\n </span>\n `;\n }\n\n _renderInner() {\n return html`\n ${this._renderContent()} ${this.disabled ? Error20() : this._renderIcon()}\n `;\n }\n\n /**\n * Alternative aria label if no text in footer.\n */\n @property({ reflect: false })\n altAriaLabel?: string | null;\n\n /**\n * The color scheme.\n */\n @property({ attribute: 'color-scheme', reflect: true })\n colorScheme = '';\n\n /**\n * The `href` in parent `<c4d-card>`.\n * `<c4d-card>` sets this automatically.\n */\n @property({ attribute: 'parent-href', reflect: true })\n parentHref?: string;\n\n /**\n * Positions the icon inline with text when `true`\n */\n @property({ type: Boolean })\n iconInline = true;\n\n /**\n * The slot in parent `<c4d-card>`.\n */\n @property({ reflect: true })\n slot = 'footer';\n\n updated(changedProperties) {\n super.updated(changedProperties);\n\n if (!this._hasCopy) {\n this.shadowRoot\n ?.querySelector(`a`)\n ?.setAttribute(\n 'aria-label',\n this.altAriaLabel ? this.altAriaLabel : ''\n );\n } else {\n this.shadowRoot?.querySelector(`a`)?.removeAttribute('aria-label');\n }\n\n const { iconInline, _staticNode: staticNode, _linkNode: linkNode } = this;\n const targetNode = linkNode ?? staticNode;\n targetNode!.classList.add(`${prefix}--card__footer`);\n targetNode!.classList.add(`${c4dPrefix}-ce--card__footer`);\n\n if (iconInline) {\n targetNode!.classList.add(`${prefix}--link-with-icon--inline-icon`);\n }\n\n this._cleanParentHrefForContactModule();\n }\n\n static get stableSelector() {\n return `${c4dPrefix}--card-footer`;\n }\n\n static styles = styles; // `styles` here is a `CSSResult` generated by custom WebPack loader\n}\n\n/* @__GENERATE_REACT_CUSTOM_ELEMENT_TYPE__ */\nexport default C4DCardFooter;\n"],"mappings":";;;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,SAASA,IAAI,QAAQ,KAAK;AAC1B,SAASC,QAAQ,EAAEC,KAAK,EAAEC,KAAK,QAAQ,mBAAmB;AAC1D,SAASC,aAAa,IAAIC,aAAa,QAAQ,gEAAgE;AAC/G,OAAOC,QAAQ,MAAM,+DAA+D;AACpF,OAAOC,eAAe,MAAM,qCAAkC;AAC9D,OAAOC,OAAO,MAAM,6CAA6C;AACjE,OAAOC,MAAM,MAAM,iBAAa;AAEhC,MAAM;EAAEC,MAAM;EAAEC,YAAY,EAAEC;AAAU,CAAC,GAAGN,QAAQ;;AAEpD;AACA;AACA;AACA;AACA;AACA;AALA,IAOMO,aAAa,GAAAC,SAAA,EADlBT,aAAa,CAAC,GAAGO,SAAS,cAAc,CAAC,aAAAG,WAAA,EAAAC,gBAAA;EAA1C,MACMH,aAAa,SAAAG,gBAAA,CAAyB;IAAAC,YAAA,GAAAC,IAAA;MAAA,SAAAA,IAAA;MAAAH,WAAA;IAAA;EAmI5C;EAAC;IAAAI,CAAA,EAnIKN,aAAa;IAAAO,CAAA;MAAAC,IAAA;MAAAC,UAAA,GAIhBpB,KAAK,CAAC,IAAIU,SAAS,2BAA2B,CAAC;MAAAW,GAAA;MAAAC,KAAA;IAAA;MAAAH,IAAA;MAAAC,UAAA,G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GZ,SAAS,eAAe;MACpC;IAAC;MAAAS,IAAA;MAAAmD,MAAA;MAAAjD,GAAA;MAAAC,MAAA;QAAA,OAEef,MAAM;MAAA;IAAA;EAAA;AAAA,GAlIIF,eAAe;AAqI3C;AACA,eAAeM,aAAa","ignoreList":[]}
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @license
3
3
  *
4
- * Copyright IBM Corp. 2020, 2023
4
+ * Copyright IBM Corp. 2020, 2025
5
5
  *
6
6
  * This source code is licensed under the Apache-2.0 license found in the
7
7
  * LICENSE file in the root directory of this source tree.
@@ -83,6 +83,10 @@ export declare enum CTA_TYPE {
83
83
  * CTA with a chat icon, whose action opens the chat widget.
84
84
  */
85
85
  CHAT = "chat",
86
+ /**
87
+ * Another CTA variation with a chat icon, whose action opens the chat widget.
88
+ */
89
+ CONTACT = "contact",
86
90
  /**
87
91
  * CTA with a phone icon, whose action opens default telephony app.
88
92
  */
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @license
3
3
  *
4
- * Copyright IBM Corp. 2020, 2023
4
+ * Copyright IBM Corp. 2020, 2025
5
5
  *
6
6
  * This source code is licensed under the Apache-2.0 license found in the
7
7
  * LICENSE file in the root directory of this source tree.
@@ -36,6 +36,7 @@ export let CTA_TYPE;
36
36
  CTA_TYPE["EMAIL"] = "email";
37
37
  CTA_TYPE["SCHEDULE"] = "schedule";
38
38
  CTA_TYPE["CHAT"] = "chat";
39
+ CTA_TYPE["CONTACT"] = "contact";
39
40
  CTA_TYPE["CALL"] = "call";
40
41
  })(CTA_TYPE || (CTA_TYPE = {}));
41
42
  //# sourceMappingURL=defs.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"defs.js","names":["CTA_STYLE","CTA_TYPE"],"sources":["components/cta/defs.ts"],"sourcesContent":["/**\n * @license\n *\n * Copyright IBM Corp. 2020, 2023\n *\n * This source code is licensed under the Apache-2.0 license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n/**\n * CTA style.\n */\nexport enum CTA_STYLE {\n /**\n * Text CTA that uses `<c4d-link-with-icon>`.\n */\n TEXT = 'text',\n\n /**\n * Button CTA that uses `<c4d-button>`.\n */\n BUTTON = 'button',\n\n /**\n * Card CTA that uses `<c4d-card>`.\n */\n CARD = 'card',\n\n /**\n * Card CTA that uses `<c4d-card-link>`.\n */\n CARDLINK = 'card-link',\n\n /**\n * Feature CTA that uses `<c4d-feature-card>`.\n */\n FEATURE = 'feature',\n}\n\n/**\n * CTA type.\n */\nexport enum CTA_TYPE {\n /**\n * The default CTA, without icon.\n */\n REGULAR = '',\n\n /**\n * CTA with a right arrow icon, whose action loads the link in self page.\n */\n LOCAL = 'local',\n\n /**\n * CTA with a down arrow icon, whose action scrolls the target element into view.\n */\n JUMP = 'jump',\n\n /**\n * CTA with a launch icon, whose action loads the link in a new tab.\n */\n EXTERNAL = 'external',\n\n /**\n * CTA with a new-tab icon, whose action loads the link in a new tab.\n */\n NEW_TAB = 'new tab',\n\n /**\n * CTA with a download icon, whose action downloads a file.\n */\n DOWNLOAD = 'download',\n\n /**\n * CTA with a play icon, whose action loads a video in a lightbox.\n */\n VIDEO = 'video',\n\n /**\n * CTA with a pdf-file icon, whose action downloads a PDF file.\n */\n PDF = 'pdf',\n\n /**\n * CTA with a blog-content icon, whose action loads the blog post in self page.\n */\n BLOG = 'blog',\n\n /**\n * CTA with an email icon, whose action opens the default mail client.\n */\n EMAIL = 'email',\n\n /**\n * CTA with a schedule icon, whose action opens the default calendar application.\n */\n SCHEDULE = 'schedule',\n\n /**\n * CTA with a chat icon, whose action opens the chat widget.\n */\n CHAT = 'chat',\n\n /**\n * CTA with a phone icon, whose action opens default telephony app.\n */\n CALL = 'call',\n}\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAYA,SAAS;;AA2BrB;AACA;AACA;AAFA,WA3BYA,SAAS;EAATA,SAAS;EAATA,SAAS;EAATA,SAAS;EAATA,SAAS;EAATA,SAAS;AAAA,GAATA,SAAS,KAATA,SAAS;AA8BrB,WAAYC,QAAQ;AAiEnB,WAjEWA,QAAQ;EAARA,QAAQ;EAARA,QAAQ;EAARA,QAAQ;EAARA,QAAQ;EAARA,QAAQ;EAARA,QAAQ;EAARA,QAAQ;EAARA,QAAQ;EAARA,QAAQ;EAARA,QAAQ;EAARA,QAAQ;EAARA,QAAQ;EAARA,QAAQ;AAAA,GAARA,QAAQ,KAARA,QAAQ","ignoreList":[]}
1
+ {"version":3,"file":"defs.js","names":["CTA_STYLE","CTA_TYPE"],"sources":["components/cta/defs.ts"],"sourcesContent":["/**\n * @license\n *\n * Copyright IBM Corp. 2020, 2025\n *\n * This source code is licensed under the Apache-2.0 license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n/**\n * CTA style.\n */\nexport enum CTA_STYLE {\n /**\n * Text CTA that uses `<c4d-link-with-icon>`.\n */\n TEXT = 'text',\n\n /**\n * Button CTA that uses `<c4d-button>`.\n */\n BUTTON = 'button',\n\n /**\n * Card CTA that uses `<c4d-card>`.\n */\n CARD = 'card',\n\n /**\n * Card CTA that uses `<c4d-card-link>`.\n */\n CARDLINK = 'card-link',\n\n /**\n * Feature CTA that uses `<c4d-feature-card>`.\n */\n FEATURE = 'feature',\n}\n\n/**\n * CTA type.\n */\nexport enum CTA_TYPE {\n /**\n * The default CTA, without icon.\n */\n REGULAR = '',\n\n /**\n * CTA with a right arrow icon, whose action loads the link in self page.\n */\n LOCAL = 'local',\n\n /**\n * CTA with a down arrow icon, whose action scrolls the target element into view.\n */\n JUMP = 'jump',\n\n /**\n * CTA with a launch icon, whose action loads the link in a new tab.\n */\n EXTERNAL = 'external',\n\n /**\n * CTA with a new-tab icon, whose action loads the link in a new tab.\n */\n NEW_TAB = 'new tab',\n\n /**\n * CTA with a download icon, whose action downloads a file.\n */\n DOWNLOAD = 'download',\n\n /**\n * CTA with a play icon, whose action loads a video in a lightbox.\n */\n VIDEO = 'video',\n\n /**\n * CTA with a pdf-file icon, whose action downloads a PDF file.\n */\n PDF = 'pdf',\n\n /**\n * CTA with a blog-content icon, whose action loads the blog post in self page.\n */\n BLOG = 'blog',\n\n /**\n * CTA with an email icon, whose action opens the default mail client.\n */\n EMAIL = 'email',\n\n /**\n * CTA with a schedule icon, whose action opens the default calendar application.\n */\n SCHEDULE = 'schedule',\n\n /**\n * CTA with a chat icon, whose action opens the chat widget.\n */\n CHAT = 'chat',\n\n /**\n * Another CTA variation with a chat icon, whose action opens the chat widget.\n */\n CONTACT = 'contact',\n\n /**\n * CTA with a phone icon, whose action opens default telephony app.\n */\n CALL = 'call',\n}\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAYA,SAAS;;AA2BrB;AACA;AACA;AAFA,WA3BYA,SAAS;EAATA,SAAS;EAATA,SAAS;EAATA,SAAS;EAATA,SAAS;EAATA,SAAS;AAAA,GAATA,SAAS,KAATA,SAAS;AA8BrB,WAAYC,QAAQ;AAsEnB,WAtEWA,QAAQ;EAARA,QAAQ;EAARA,QAAQ;EAARA,QAAQ;EAARA,QAAQ;EAARA,QAAQ;EAARA,QAAQ;EAARA,QAAQ;EAARA,QAAQ;EAARA,QAAQ;EAARA,QAAQ;EAARA,QAAQ;EAARA,QAAQ;EAARA,QAAQ;EAARA,QAAQ;AAAA,GAARA,QAAQ,KAARA,QAAQ","ignoreList":[]}
@@ -6,7 +6,8 @@
6
6
  * This source code is licensed under the Apache-2.0 license found in the
7
7
  * LICENSE file in the root directory of this source tree.
8
8
  */
9
- import { TemplateResult, LitElement } from 'lit';
9
+ import { LitElement } from 'lit';
10
+ import '@carbon/web-components/es/components/skeleton-text/index.js';
10
11
  declare const NoticeChoice_base: {
11
12
  new (...args: any[]): {
12
13
  linkNode: any;
@@ -353,6 +354,7 @@ declare const NoticeChoice_base: {
353
354
  *
354
355
  * @element c4d-notice-choice
355
356
  * @fires c4d-notice-choice-change
357
+ * @fires c4d-notice-choice-email-status-changed
356
358
  * The custom event fired when default choice loaded or user change some preferences.
357
359
  * The field and value should be taken from the detail object and send it to MRS.
358
360
  * @csspart checkbox-wrapper - The checkbox wrapper. Usage `c4d-notice-choice::part(checkbox-wrapper)`
@@ -369,16 +371,21 @@ declare class NoticeChoice extends NoticeChoice_base {
369
371
  * properties for passed attributes.
370
372
  */
371
373
  questionchoices: string;
374
+ email: string;
372
375
  country: string;
373
376
  state: string;
374
377
  language: string;
375
- currentLanguage: string;
376
- termsConditionLink: TemplateResult<1>;
377
- enableAllOptIn: boolean;
378
- defaultValues: {};
379
- hideErrorMessage: boolean;
380
- combineEmailPhone: boolean;
378
+ termsConditionLink: import("lit-html").TemplateResult<1>;
379
+ enableAllOptIn: string;
380
+ hideErrorMessage: string;
381
381
  environment: string;
382
+ /**
383
+ * End properties for passed attributes.
384
+ */
385
+ /**
386
+ * properties for local state state management.
387
+ */
388
+ defaultValues: {};
382
389
  checkboxes: {};
383
390
  ncData: any;
384
391
  changed: boolean;
@@ -391,54 +398,61 @@ declare class NoticeChoice extends NoticeChoice_base {
391
398
  };
392
399
  countrySettings: any;
393
400
  noticeOnly: any;
394
- emailPrechecked: boolean;
401
+ emailValid: boolean;
395
402
  telephonePrechecked: boolean;
396
403
  combinedEmailPhonePrechecked: boolean;
397
- /**
398
- * End properties for passed attributes.
399
- */
400
- /**
401
- * properties for local state state management.
402
- */
403
- preText: TemplateResult<1>;
404
- defaultPreText: TemplateResult<1>;
404
+ isAnnualPeriodExpired: boolean;
405
+ showCheckBox: boolean;
406
+ isLoading: boolean;
407
+ preText: import("lit-html").TemplateResult<1>;
408
+ defaultPreText: import("lit-html").TemplateResult<1>;
405
409
  values: {
406
410
  EMAIL: boolean;
407
411
  PHONE: boolean;
408
412
  NC_HIDDEN_EMAIL: string;
409
413
  NC_HIDDEN_PHONE: string;
410
414
  };
415
+ valuesForEmailPhone: {
416
+ EMAIL: {
417
+ checkBoxStatus: string;
418
+ punsStatus: string;
419
+ };
420
+ };
411
421
  hiddenEmail: string;
412
422
  hiddenPhone: string;
413
- ncTeleDetail: string;
414
- ncEmailDetail: string;
415
- prepareCheckboxes(): void;
416
- defaultLoadContent(): void;
417
- defaultLoadSettings(): void;
418
423
  connectedCallback(): void;
419
- setDefaultSelections(): void;
424
+ static get stableSelector(): string;
425
+ static styles: any;
426
+ updated(changedProps: Map<string, unknown>): void;
427
+ private _dispatchChange;
428
+ onEmailChange(): void;
429
+ /**
430
+ * Centralized handler for failed or invalid responses.
431
+ */
432
+ private _handleEmailCheckFailure;
433
+ private _initSettingsAndContent;
420
434
  countryChangeAction(): void;
435
+ postTextTemplate(): import("lit-html").TemplateResult<1>;
421
436
  countryChanged(): void;
437
+ setDefaultSelections(): void;
438
+ protected _buildCheckboxes(): any;
439
+ prepareCheckboxes(): void;
440
+ defaultLoadContent(): void;
441
+ defaultLoadSettings(): void;
442
+ checkCombineEmailPhoneBoxChange($event: any): void;
443
+ renderCheckbox(preText: any, checked: any): import("lit-html").TemplateResult<1>;
444
+ combinedPreTextTemplate(): import("lit-html").TemplateResult<1>;
445
+ checkBoxLegalChange(event: Event): void;
446
+ countryBasedLegalNotice(): import("lit-html").TemplateResult<1>[];
447
+ renderCombinedEmailPhoneSection(): import("lit-html").TemplateResult<1>;
448
+ pwsFieldsMap: Map<string, string>;
422
449
  /**
423
- *
424
- * @param name name of the attribute
425
- * @param oldVal old value of the attribute
426
- * @param newVal new value of the attrbute
450
+ * Dispatch field change event to parent form
427
451
  */
428
- attributeChangedCallback(name: any, oldVal: any, newVal: any): void;
429
- static get stableSelector(): string;
430
- static styles: any;
431
- checkBoxLegalChange($event: any): void;
432
- countryBasedLegalNotice(): TemplateResult[];
433
- postTextTemplate(): TemplateResult<1>;
434
- combinedPreTextTemplate(): any;
435
- checkCombineEmailPhoneBoxChange($event: any): void;
436
- renderCheckbox(preText: any, checked: any): TemplateResult<1>;
437
- renderCombinedEmailPhoneSection(): TemplateResult<1>;
438
- render(): TemplateResult<1>;
439
- protected _getOptionByQuestion: (question: any) => any;
440
- protected _buildCheckboxes(): any;
452
+ private dispatchCustomEvent;
441
453
  _onChange(field: string, value: string | null): void;
454
+ _onEmailStatusChanged(field: string, value: string | null): void;
455
+ render(): import("lit-html").TemplateResult<1>;
442
456
  }
443
457
  export default NoticeChoice;
444
458