1"use strict";(self.webpackChunkaem_maven_archetype=self.webpackChunkaem_maven_archetype||[]).push([[2782],{8929:function(t,e,n){n.d(e,{A:function(){return p}});var a=n(6540),r=n(998),i=n(4848),o=function(t){var e=null==t?void 0:t.ariaLabel;return(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"21",viewBox:"0 0 24 21",fill:"none",role:"img","aria-label":null!=e?e:"check mark",children:(0,i.jsx)("path",{d:"M21.6258 0.501132C21.0259 0.522812 20.4574 0.797181 20.0414 1.26562C15.6268 6.05836 12.2551 10.0615 8.15826 14.5916L3.79372 10.5969C3.32603 10.1685 2.72013 9.9594 2.10978 10.0157C1.49961 10.0719 0.934945 10.3891 0.540874 10.8968C0.146571 11.4048 -0.044751 12.0617 0.00885514 12.7227C0.0624613 13.3837 0.356701 13.9944 0.826518 14.4202L6.81853 19.913C7.25953 20.3153 7.82349 20.5239 8.39932 20.4978C8.97541 20.472 9.52146 20.2131 9.92987 19.7723C14.8941 14.3829 18.4279 10.0785 23.2969 4.79248C23.7456 4.32273 23.9993 3.6764 24 3.00072C24.0009 2.32477 23.7489 1.6777 23.3015 1.20665C22.854 0.735613 22.2493 0.480781 21.6258 0.501132Z",fill:"#022658","aria-hidden":"true"})})},l=n(1145);function c(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var a,r,i,o,l=[],c=!0,s=!1;try{if(i=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;c=!1}else for(;!(c=(a=i.call(n)).done)&&(l.push(a.value),l.length!==e);c=!0);}catch(t){s=!0,r=t}finally{try{if(!c&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(s)throw r}}return l}}(t,e)||function(t,e){if(t){if("string"==typeof t)return s(t,e);var n={}.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?s(t,e):void 0}}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function s(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,a=Array(e);n<e;n++)a[n]=t[n];return a}var u=function(t){var e,n,r=t.whatsIncludedData,s=c((0,a.useState)(0),2),u=s[0],d=s[1],f=(0,a.useRef)(null),p="Included",v="Extra";return(0,i.jsx)("div",{className:"included-body-container",children:(0,i.jsx)("div",{className:"tabs cmp-tabs__horizontal",children:(0,i.jsxs)("div",{className:"cmp-tabs","data-name":"tab component name","data-component":"tab-component",children:[(0,i.jsx)("ol",{role:"tablist",className:"cmp-tabs__tablist","aria-multiselectable":"false","aria-label":"What's Included",onKeyDown:function(t){if(t.keyCode===l.rightArrowCode){var e,n,a=u;a=u<(null==r||null===(e=r.linkCard)||void 0===e?void 0:e.length)-1?u+1:0,d(a),null==f||null===(n=f.current.querySelector("#whats-included-".concat(a)))||void 0===n||n.focus()}if(t.keyCode===l.leftArrowCode){var i,o,c=u;if(u)c=u-1;else c=(null==r||null===(o=r.linkCard)||void 0===o?void 0:o.length)-1;d(c),null==f||null===(i=f.current.querySelector("#whats-included-".concat(c)))||void 0===i||i.focus()}},ref:f,children:null==r||null===(e=r.linkCard)||void 0===e?void 0:e.map(function(t,e){return(0,i.jsx)("li",{id:"whats-included-".concat(e),role:"tab",className:"cmp-tabs__tab text-uppercase ".concat(u===e&&"cmp-tabs__tab--active"),"aria-controls":"","aria-selected":u===e,"data-id":e,tabIndex:u===e?0:-1,onClick:function(){return d(e)},children:(0,i.jsxs)("div",{className:"content",children:[(0,i.jsx)("img",{src:null==t?void 0:t.icon,alt:"",loading:"lazy"}),(0,i.jsx)("span",{children:t.activityType})]})},e)})}),(0,i.jsxs)("div",{className:"content-button-container",children:[(0,i.jsx)("div",{className:"included-label",children:(0,i.jsx)("p",{children:p})}),(0,i.jsx)("div",{className:"included-label",children:(0,i.jsx)("p",{children:v})})]}),(0,i.jsxs)("div",{className:"cmp-tabs__content cmp-tabs__horizontal-content",children:[(0,i.jsx)("div",{role:"tabpanel",className:"cmp-tabs__tabpanel cmp-tabs__tabpanel--active",tabIndex:"0","aria-hidden":"false","data-id":"1",children:(0,i.jsx)("div",{className:"tab-body-content",children:(null==r?void 0:r.linkCard)&&(null==r||null===(n=r.linkCard[u])||void 0===n||null===(n=n.linkCardData)||void 0===n?void 0:n.map(function(t,e){return(0,i.jsxs)("div",{className:"included-body ".concat((e+1)%2==0&&"alternate-border"),children:[(0,i.jsxs)("div",{className:"included-data",children:[(0,i.jsx)("span",{dangerouslySetInnerHTML:{__html:(null==t?void 0:t.linkTitle)||""}}),(0,i.jsx)("span",{dangerouslySetInnerHTML:{__html:(null==t?void 0:t.linkDescription)||""}})]}),(0,i.jsx)("div",{className:"included-icons ".concat("Additional"===t.shipPackage?"additional":""),children:(0,i.jsx)(o,{ariaLabel:"".concat(t.linkTitle," ").concat("Additional"===t.shipPackage?v:p)})})]},e)}))})}),r.disclaimerText&&(0,i.jsx)("div",{className:"disclaimer",dangerouslySetInnerHTML:{__html:"<sup>*</sup>".concat(r.disclaimerText)}})]})]})})})},d=a.memo(u),f=function(t){var e=t.isModalOpen,n=t.handleModal,a=t.whatsIncludedData;return(0,i.jsx)("div",{className:"whats-included-model-container",children:(0,i.jsx)(r.A,{isOpen:e,onClose:n,title:a.title,children:(0,i.jsx)(d,{whatsIncludedData:a})})})},p=a.memo(f)},6654:function(t,e,n){n.r(e),n.d(e,{default:function(){return v}});var a=n(6540),r=n(1508),i=n(8929),o=n(4848);function l(t){return l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},l(t)}function c(t,e){for(var n=0;n<e.length;n++){var a=e[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,s(a.key),a)}}function s(t){var e=function(t,e){if("object"!=l(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var a=n.call(t,e||"default");if("object"!=l(a))return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}
1(t,"string");return"symbol"==l(e)?e:e+""}function u(t,e,n){return e=f(e),function(t,e){if(e&&("object"==l(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,d()?Reflect.construct(e,n||[],f(t).constructor):e.apply(t,n))}function d(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(d=function(){return!!t})()}function f(t){return f=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},f(t)}function p(t,e){return p=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},p(t,e)}var v=function(t){function e(t){var n;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),(n=u(this,e,[t])).iteneraryModal=n.iteneraryModal.bind(n),n.state={isModalOpen:!1},n}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&p(t,e)}(e,t),n=e,(a=[{key:"componentDidMount",value:function(){var t=this;document.querySelectorAll(".cmp-whats-included-link").forEach(function(e){return e.addEventListener("click",function(e){return t.iteneraryModal()})}),this.setupTabListeners(),this.fetchWhatsIncludedBody()}},{key:"componentWillUnmount",value:function(){var t=this;document.querySelectorAll(".cmp-tabs__tab").forEach(function(e){e.removeEventListener("click",t.activateTab),e.removeEventListener("keydown",t.activateTab)})}},{key:"activateTab",value:function(t){var e=t.getAttribute("aria-controls"),n=document.querySelectorAll(".cmp-tabs__tab"),a=document.querySelectorAll(".cmp-tabs__tabpanel");n.forEach(function(t){return t.classList.remove("cmp-tabs__tab--active")}),a.forEach(function(t){return t.classList.remove("cmp-tabs__tabpanel--active")}),t.classList.add("cmp-tabs__tab--active"),document.getElementById(e).classList.add("cmp-tabs__tabpanel--active")}},{key:"setupTabListeners",value:function(){var t=this;document.querySelectorAll(".cmp-tabs__tab").forEach(function(e){e.addEventListener("click",function(e){t.activateTab(e.currentTarget)}),e.addEventListener("keydown",function(e){t.activateTab(e.currentTarget),e.stopPropagation(),e.preventDefault()})})}},{key:"fetchWhatsIncludedBody",value:function(){var t=document.querySelector("div[data-whats-included]").getAttribute("data-whats-included");if(t)try{var e=JSON.parse(t);this.whatsIncludedData=e}catch(t){console.error("Error parsing included data:",t),this.whatsIncludedData={}}}},{key:"iteneraryModal",value:function(){var t;this.state.isModalOpen&&(null===(t=document.querySelector(".cmp-whats-included-link a"))||void 0===t||t.focus()),this.setState({isModalOpen:!this.state.isModalOpen})}},{key:"render",value:function(){var t=this.state.isModalOpen;return(0,o.jsx)(o.Fragment,{children:t&&(0,o.jsx)(i.A,{isModalOpen:t,handleModal:this.iteneraryModal,whatsIncludedData:this.whatsIncludedData})})}}])&&c(n.prototype,a),r&&c(n,r),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,a,r}(a.Component);(0,r.f)(v,"#what-included-modal-parent")}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.