vendor: 4,562 bytes, line 1
1"use strict";(self.webpackChunkaem_maven_archetype=self.webpackChunkaem_maven_archetype||[]).push([["components-dx-user-preferences-dx-user-preferences-js","components-genericexternalapp-genericexternalapp-js"],{14038:function(t,e,n){n.r(e),n.d(e,{default:function(){return v},main:function(){return h}});var r=n(66604);function o(t){return function(t){if(Array.isArray(t))return c(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||a(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function i(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 r,o,i,a,c=[],u=!0,l=!1;try{if(i=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;u=!1}else for(;!(u=(r=i.call(n)).done)&&(c.push(r.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||a(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 a(t,e){if(t){if("string"==typeof t)return c(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)?c(t,e):void 0}}function c(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}function u(t){return u="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},u(t)}function l(){var t,e,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",o=n.toStringTag||"@@toStringTag";function i(n,r,o,i){var u=r&&r.prototype instanceof c?r:c,l=Object.create(u.prototype);return s(l,"_invoke",function(n,r,o){var i,c,u,l=0,s=o||[],f=!1,p={p:0,n:0,v:t,a:d,f:d.bind(t,4),d:function(e,n){return i=e,c=0,u=t,p.n=n,a}};function d(n,r){for(c=n,u=r,e=0;!f&&l&&!o&&e<s.length;e++){var o,i=s[e],d=p.p,v=i[2];n>3?(o=v===r)&&(u=i[(c=i[4])?5:(c=3,3)],i[4]=i[5]=t):i[0]<=d&&((o=n<2&&d<i[1])?(c=0,p.v=r,p.n=i[1]):d<v&&(o=n<3||i[0]>r||r>v)&&(i[4]=n,i[5]=r,p.n=v,c=0))}if(o||n>1)return a;throw f=!0,r}return function(o,s,v){if(l>1)throw TypeError("Generator is already running");for(f&&1===s&&d(s,v),c=s,u=v;(e=c<2?t:u)||!f;){i||(c?c<3?(c>1&&(p.n=-1),d(c,u)):p.n=u:p.v=u);try{if(l=2,i){if(c||(o="next"),e=i[o]){if(!(e=e.call(i,u)))throw TypeError("iterator result is not an object");if(!e.done)return e;u=e.value,c<2&&(c=0)}else 1===c&&(e=i.return)&&e.call(i),c<2&&(u=TypeError("The iterator does not provide a '"+o+"' method"),c=1);i=t}else if((e=(f=p.n<0)?u:n.call(r,p))!==a)break}catch(e){i=t,c=1,u=e}finally{l=1}}return{value:e,done:f}}}(n,o,i),!0),l}var a={};function c(){}function u(){}function f(){}e=Object.getPrototypeOf;var p=[][r]?e(e([][r]())):(s(e={},r,function(){return this}),e),d=f.prototype=c.prototype=Object.create(p);function v(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,f):(t.__proto__=f,s(t,o,"GeneratorFunction")),t.prototype=Object.create(d),t}return u.prototype=f,s(d,"constructor",f),s(f,"constructor",u),u.displayName="GeneratorFunction",s(f,o,"GeneratorFunction"),s(d),s(d,o,"Generator"),s(d,r,function(){return this}),s(d,"toString",function(){return"[object Generator]"}),(l=function(){return{w:i,m:v}})()}function s(t,e,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(t){o=0}s=function(t,e,n,r){if(e)o?o(t,e,{value:n,enumerable:!r,configurable:!r,writable:!r}):t[e]=n;else{var i=function(e,n){s(t,e,function(t){return this._invoke(e,n,t)})};i("next",0),i("throw",1),i("return",2)}},s(t,e,n,r)}function f(t,e,n,r,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void n(t)}c.done?e(u):Promise.resolve(u).then(r,o)}function p(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,d(r.key),r)}}function d(t){var e=function(t,e){if("object"!=u(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!=u(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}
1(t,"string");return"symbol"==u(e)?e:e+""}var v=function(){return t=function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.container=e,this.element=e;var n=this.element.dataset,r=n.scriptUrl,o=n.consentCategories,i=n.scriptParameters;this.scriptUrl=r,this.consentCategories=o?JSON.parse(o):null,this.scriptParameters=i?JSON.parse(i):null,this.id=this.element.id},e=[{key:"init",value:(o=l().m(function t(){return l().w(function(t){for(;;)switch(t.n){case 0:if(!(Array.isArray(this.consentCategories)&&this.consentCategories.length>0)){t.n=2;break}return t.n=1,this.waitForConsent();case 1:t.n=3;break;case 2:document.querySelector(".GenericExternalApplication__wrapper").style.display="flex";case 3:this.removePlaceholderContent(),this.loadScript();case 4:return t.a(2)}},t,this)}),a=function(){var t=this,e=arguments;return new Promise(function(n,r){var i=o.apply(t,e);function a(t){f(i,n,r,a,c,"next",t)}function c(t){f(i,n,r,a,c,"throw",t)}a(void 0)})},function(){return a.apply(this,arguments)})},{key:"waitForConsent",value:function(){var t=this;return new Promise(function(e){var n=function(){return!!(0,r.ti)(null,t.consentCategories)};return n()?e(!0):(0,r.Dd)(function(){n()&&e(!0)})})}},{key:"loadScript",value:function(){var t=document.createElement("script");t.type="text/javascript",t.src=this.scriptUrl,t.id="".concat(this.id,"ExternalScript"),this.scriptParameters&&"object"===u(this.scriptParameters)&&Object.entries(this.scriptParameters).forEach(function(e){var n=i(e,2),r=n[0],o=n[1];t.setAttribute(r,o)}),document.head.appendChild(t)}},{key:"removePlaceholderContent",value:function(){this.element.innerHTML=""}}],e&&p(t.prototype,e),n&&p(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t;var t,e,n,o,a}();function h(){var t=o(document.querySelectorAll(".GenericExternalApplication"));0!==t.length&&t.forEach(function(t){new v(t).init();var e=t,n=t.getAttribute("data-title"),r=t.getAttribute("data-description");new MutationObserver(function(e,o){if(o.disconnect(),n||r){var i=document.createElement("div");n&&!r&&(i.innerHTML='<h1 class="GenericExternalApplication__headingTitle headline headline--xl">'.concat(n,"</h1>")),!n&&r&&(i.innerHTML='<div class="GenericExternalApplication__paragraphWrapper body-copy">'.concat(r,"</div>")),n&&r&&(i.innerHTML='<h1 class="GenericExternalApplication__headingTitle headline headline--xl">'.concat(n,'</h1>\n <div class="GenericExternalApplication__paragraphWrapper body-copy">').concat(r,"</div>")),i.className="GenericExternalApplication__headingWrapper",t.parentNode.prepend(i)}}).observe(e,{attributes:!0,childList:!0,characterData:!0,subtree:!0})})}h()},66604:function(t,e,n){n.d(e,{Dd:function(){return l},Pe:function(){return o},an:function(){return i},f6:function(){return a},mi:function(){return c},ti:function(){return u}});var r=n(37675),o=function(t,e){return e.every(function(e){return t.includes(e)})},i=function(t){return t.replace("marketing & advertising","marketing").split(",")},a=function(){var t=window.jlr_consent;return!(!t||!t.manager||"none"===t.manager)},c=function(){if(!document.querySelector(".cmp_footerNav__donotselldata"))return!1;var t=(0,r.v8)("notice_behavior");return!(!t||"implied,us"!==t)},u=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],c=Array.isArray(e)?e:[e];if(function(){if(n)return!a();var e=document.querySelector("[".concat(t,"]"))&&document.querySelector("[".concat(t,"]")).getAttribute(t);return!(!e||"true"!==e.toLowerCase())}())return!0;var u=(0,r.v8)("consent-categories"),l=!!u&&i(u);return!(!l||!o(l,c))||!(!l||!l.includes("all"))},l=function(t){window.addEventListener("cookie_priorConsentCallback",t),window.addEventListener("cookie_closeCallback",t),window.addEventListener("cookie_consentWithdrawnCallback",t),window.addEventListener("cookie_consentDeclinedCallback",t)}},37675:function(t,e,n){n.d(e,{Pm:function(){return u},im:function(){return o},n0:function(){return c},v8:function(){return r},yW:function(){return l}});var r=function(t){var e=document.cookie.split(";");if(e.length<1)return null;for(var n=0;n<e.length;n+=1){var r=e[n].split("=");if(r[0].replace(/\s/g,"")===t)return r[1]}return null},o=function(t){return null!==r(t)},i=function(){var t=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:document.location.hostname).replace("www.","");return"; domain=.".concat(t)},a=function(t){if(!t)return"";var e=new Date;return e.setTime(e.getTime()+24*t*60*60*1e3),"; expires=".concat(e.toGMTString())},c=function(t,e,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o=a(n),c="https:"===window.location.protocol?"; Secure":"";document.cookie=r?"".concat(t,"=").concat(e).concat(o).concat(i(),"; path=/").concat(c):"".concat(t,"=").concat(e).concat(o,"; path=/").concat(c)},u=function(t,e,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o=a(n),c=r?i():"",u="".concat(t,"=").concat(e).concat(o).concat(c,"; SameSite=None; Secure; path=/");return document.cookie=u,u},l=function(){var t,e=document.cookie.match("(?:^|;)\\s*_ga=([^;]*)"),n=e?decodeURIComponent(e[1]):null;return n&&(e=n.match(/(\d+\.\d+)$/)),(null===(t=e)||void 0===t?void 0:t[1])||""}}}]);
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.