1"use strict";(self.webpackChunkaem_maven_archetype=self.webpackChunkaem_maven_archetype||[]).push([["components-CrossDomainCommunication-datastore-js","components-CrossDomainCommunication-pds-configurator-prompt-config-js","components-CrossDomainCommunication-utils-js"],{89651:function(e,t,r){r.r(t),r.d(t,{Datastore:function(){return p}});var n=r(87547),o=r(30551);function c(e){return c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},c(e)}function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function a(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach(function(t){u(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function u(e,t,r){return(t=f(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function s(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,f(n.key),n)}}function f(e){var t=function(e,t){if("object"!=c(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=c(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==c(t)?t:t+""}var l=o.PDSConfig.context,m=o.PDSConfig.verb,p=function(){return e=function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)},(t=[{key:"upsertConfiguredVehicle",value:function(e){var t=e.vehicleId,r=(0,n.getLocaleFromQueryString)();return this.getPds().saveFunctionalData({context:l,verb:m,noun:t,data:a(a({},e),{},{locale:r})}),this.getPds().saveFunctionalData({context:l,verb:m,noun:"latest",data:t}),!0}},{key:"getPds",value:function(){return window.PDS}}])&&s(e.prototype,t),r&&s(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t,r}()},30551:function(e,t,r){r.r(t),r.d(t,{PDSConfig:function(){return n}});var n={context:"configurator-prompt",verb:"save-configuration"}},87547:function(e,t,r){function n(){var e=new URL(document.currentScript.src),t=e.origin,r=e.searchParams,n=t.replace(":8081",":8080"),o=r.get("locale");return"".concat(n,"/resources/static/iframe_listener.html?locale=").concat(o)}r.r(t),r.d(t,{getCookieConsentStatus:function(){return a},getIframeSrc:function(){return n},getLocaleFromQueryString:function(){return i}});var o="";if(document&&document.currentScript&&document.currentScript.src){var c=new URL(document.currentScript.src);o=c.search}function i(e){return new URLSearchParams(e||o).get("locale")||"en"}function a(){var e=window.jlr_consent;return!e||!e.manager||"none"===e.manager||!(!e.categories||!e.categories.functional)&&e.categories.functional}}}]);
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.