diff --git a/Resources/Public/JavaScript/Lux/Lux.min.js b/Resources/Public/JavaScript/Lux/Lux.min.js index 84fcacd6..45c1898e 100644 --- a/Resources/Public/JavaScript/Lux/Lux.min.js +++ b/Resources/Public/JavaScript/Lux/Lux.min.js @@ -1 +1 @@ -!function(){"use strict";function t(t){throw new Error('Could not dynamically require "'+t+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var e={exports:{}};function n(t,e,n,r){return new(n||(n=Promise))((function(i,o){function a(t){try{c(r.next(t))}catch(t){o(t)}}function u(t){try{c(r.throw(t))}catch(t){o(t)}}function c(t){var e;t.done?i(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(a,u)}c((r=r.apply(t,e||[])).next())}))}function r(t,e){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:u(0),throw:u(1),return:u(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function u(u){return function(c){return function(u){if(n)throw new TypeError("Generator is already executing.");for(;o&&(o=0,u[0]&&(a=0)),a;)try{if(n=1,r&&(i=2&u[0]?r.return:u[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,u[1])).done)return i;switch(r=0,i&&(u=[2&u[0],i.value]),u[0]){case 0:case 1:i=u;break;case 4:return a.label++,{value:u[1],done:!1};case 5:a.label++,r=u[1],u=[0];continue;case 7:u=a.ops.pop(),a.trys.pop();continue;default:if(!((i=(i=a.trys).length>0&&i[i.length-1])||6!==u[0]&&2!==u[0])){a=0;continue}if(3===u[0]&&(!i||u[1]>i[0]&&u[1]1&&void 0!==arguments[1]&&arguments[1],n=document.createElement("div");return n.innerHTML=t.trim(),!0===e?n.children:n.firstChild},i=function(t,e){var n=t.children;return 1===n.length&&n[0].tagName===e},o=function(t){return null!=(t=t||document.querySelector(".basicLightbox"))&&!0===t.ownerDocument.body.contains(t)};n.visible=o,n.create=function(t,e){var n=function(t,e){var n=r('\n\t\t
\n\t\t\t\n\t\t
\n\t')),o=n.querySelector(".basicLightbox__placeholder");t.forEach((function(t){return o.appendChild(t)}));var a=i(o,"IMG"),u=i(o,"VIDEO"),c=i(o,"IFRAME");return!0===a&&n.classList.add("basicLightbox--img"),!0===u&&n.classList.add("basicLightbox--video"),!0===c&&n.classList.add("basicLightbox--iframe"),n}(t=function(t){var e="string"==typeof t,n=t instanceof HTMLElement==1;if(!1===e&&!1===n)throw new Error("Content must be a DOM element/node or string");return!0===e?Array.from(r(t,!0)):"TEMPLATE"===t.tagName?[t.content.cloneNode(!0)]:Array.from(t.children)}(t),e=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(null==(t=Object.assign({},t)).closable&&(t.closable=!0),null==t.className&&(t.className=""),null==t.onShow&&(t.onShow=function(){}),null==t.onClose&&(t.onClose=function(){}),"boolean"!=typeof t.closable)throw new Error("Property `closable` must be a boolean");if("string"!=typeof t.className)throw new Error("Property `className` must be a string");if("function"!=typeof t.onShow)throw new Error("Property `onShow` must be a function");if("function"!=typeof t.onClose)throw new Error("Property `onClose` must be a function");return t}(e)),a=function(t){return!1!==e.onClose(u)&&function(t,e){return t.classList.remove("basicLightbox--visible"),setTimeout((function(){return!1===o(t)||t.parentElement.removeChild(t),e()}),410),!0}(n,(function(){if("function"==typeof t)return t(u)}))};!0===e.closable&&n.addEventListener("click",(function(t){t.target===n&&a()}));var u={element:function(){return n},visible:function(){return o(n)},show:function(t){return!1!==e.onShow(u)&&function(t,e){return document.body.appendChild(t),setTimeout((function(){requestAnimationFrame((function(){return t.classList.add("basicLightbox--visible"),e()}))}),10),!0}(n,(function(){if("function"==typeof t)return t(u)}))},close:a};return u}},{}]},{},[1])(1),"function"==typeof SuppressedError&&SuppressedError;var i={exclude:[]};var o={},a={timeout:"true"},u=function(t,e){"undefined"!=typeof window&&(o[t]=e)},c=function(){return Object.fromEntries(Object.entries(o).filter((function(t){var e,n=t[0];return!(null===(e=null==i?void 0:i.exclude)||void 0===e?void 0:e.includes(n))})).map((function(t){return[t[0],(0,t[1])()]})))},l=3432918353,s=461845907,f=3864292196,d=2246822507,g=3266489909;function h(t,e){return t<>>32-e}function m(t,e){void 0===e&&(e=0);for(var n=e,r=0,i=3&t.length,o=t.length-i,a=0;a>>16,t=Math.imul(t,d),t^=t>>>13,(t=Math.imul(t,g))^t>>>16}(n^=t.length))>>>0).toString(36)}function v(t,e){return new Promise((function(n){setTimeout((function(){return n(e)}),t)}))}function p(t,e,n){return Promise.all(t.map((function(t){return Promise.race([t,v(e,n)])})))}function x(){return n(this,void 0,void 0,(function(){var t,e,n,o,u;return r(this,(function(r){switch(r.label){case 0:return r.trys.push([0,2,,3]),t=c(),e=Object.keys(t),[4,p(Object.values(t),(null==i?void 0:i.timeout)||1e3,a)];case 1:return n=r.sent(),o=n.filter((function(t){return void 0!==t})),u={},o.forEach((function(t,n){u[e[n]]=t})),[2,b(u,i.exclude||[])];case 2:throw r.sent();case 3:return[2]}}))}))}function b(t,e){var n={},r=function(r){if(t.hasOwnProperty(r)){var i=t[r];if("object"!=typeof i||Array.isArray(i))e.includes(r)||(n[r]=i);else{var o=b(i,e.map((function(t){return t.startsWith(r+".")?t.slice(r.length+1):t})));Object.keys(o).length>0&&(n[r]=o)}}};for(var i in t)r(i);return n}function w(t){for(var e=0,n=0;ne[i]&&(i=parseInt(o,10));return i}function A(){if("undefined"==typeof navigator)return{name:"unknown",version:"unknown"};for(var t=navigator.userAgent,e={Edg:"Edge",OPR:"Opera"},n=0,r=[/(?Edge|Edg)\/(?\d+(?:\.\d+)?)/,/(?(?:Chrome|Chromium|OPR|Opera|Vivaldi|Brave))\/(?\d+(?:\.\d+)?)/,/(?(?:Firefox|Waterfox|Iceweasel|IceCat))\/(?\d+(?:\.\d+)?)/,/(?Safari)\/(?\d+(?:\.\d+)?)/,/(?MSIE|Trident|IEMobile).+?(?\d+(?:\.\d+)?)/,/(?[A-Za-z]+)\/(?\d+(?:\.\d+)?)/,/(?SamsungBrowser)\/(?\d+(?:\.\d+)?)/];n0;e--)if(t(e))return e}catch(t){return 0}return 0}"Firefox"!=A().name&&u("fonts",(function(){var t=this;return new Promise((function(e,i){try{!function(t){var e;n(this,void 0,void 0,(function(){var n,i,o;return r(this,(function(r){switch(r.label){case 0:return document.body?[3,2]:[4,(50,new Promise((function(t){return setTimeout(t,50,undefined)})))];case 1:return r.sent(),[3,0];case 2:if(n=document.createElement("iframe"),(i=n.style).setProperty("display","block","important"),i.setProperty("visibility","visible"),n.src="about:blank",document.body.appendChild(n),!(o=n.contentDocument||(null===(e=n.contentWindow)||void 0===e?void 0:e.document)))throw new Error("Iframe document is not accessible");return t({iframe:o}),setTimeout((function(){document.body.removeChild(n)}),0),[2]}}))}))}((function(i){var o=i.iframe;return n(t,void 0,void 0,(function(){var t,n,i,a;return r(this,(function(r){return t=o.createElement("canvas"),n=t.getContext("2d"),i=T.map((function(t){return I(n,t)})),a={},E.forEach((function(t){var e=I(n,t);i.includes(e)||(a[t]=e)})),e(a),[2]}))}))}))}catch(t){i({error:"unsupported"})}}))})),u("hardware",(function(){return new Promise((function(t,e){var n=void 0!==navigator.deviceMemory?navigator.deviceMemory:0,r=window.performance&&window.performance.memory?window.performance.memory:0;t({videocard:C(),architecture:L(),deviceMemory:n.toString()||"undefined",jsHeapSizeLimit:r.jsHeapSizeLimit||0})}))})),u("locales",(function(){return new Promise((function(t){t({languages:navigator.language,timezone:Intl.DateTimeFormat().resolvedOptions().timeZone})}))})),u("permissions",(function(){return n(this,void 0,void 0,(function(){var t;return r(this,(function(e){return k=(null==i?void 0:i.permissions_to_check)||["accelerometer","accessibility","accessibility-events","ambient-light-sensor","background-fetch","background-sync","bluetooth","camera","clipboard-read","clipboard-write","device-info","display-capture","gyroscope","geolocation","local-fonts","magnetometer","microphone","midi","nfc","notifications","payment-handler","persistent-storage","push","speaker","storage-access","top-level-storage-access","window-management","query"],t=Array.from({length:(null==i?void 0:i.retries)||3},(function(){return function(){return n(this,void 0,void 0,(function(){var t,e,n,i,o;return r(this,(function(r){switch(r.label){case 0:t={},e=0,n=k,r.label=1;case 1:if(!(er&&(n=t,r=e[t])})),n}(t.map((function(t){return e in t?t[e]:void 0})).filter((function(t){return void 0!==t})));r&&(n[e]=r)})),n}(t,k)}))]}))}))})),u("plugins",(function(){var t=[];if(navigator.plugins)for(var e=0;e0,maxTouchPoints:navigator.maxTouchPoints,colorDepth:screen.colorDepth,mediaMatches:M()})}))})),u("system",(function(){return new Promise((function(t){var e=A();t({platform:window.navigator.platform,cookieEnabled:window.navigator.cookieEnabled,productSub:navigator.productSub,product:navigator.product,useragent:navigator.userAgent,browser:{name:e.name,version:e.version},applePayVersion:O()})}))}));var P,D="SamsungBrowser"!==A().name?1:3,R=null;"undefined"!=typeof document&&((P=document.createElement("canvas")).width=200,P.height=100,R=P.getContext("webgl")),u("webgl",(function(){return n(this,void 0,void 0,(function(){var t;return r(this,(function(e){try{if(!R)throw new Error("WebGL not supported");return t=Array.from({length:D},(function(){return function(){try{if(!R)throw new Error("WebGL not supported");var t=R.createShader(R.VERTEX_SHADER),e=R.createShader(R.FRAGMENT_SHADER);if(!t||!e)throw new Error("Failed to create shaders");if(R.shaderSource(t,"\n attribute vec2 position;\n void main() {\n gl_Position = vec4(position, 0.0, 1.0);\n }\n "),R.shaderSource(e,"\n precision mediump float;\n void main() {\n gl_FragColor = vec4(0.812, 0.195, 0.553, 0.921); // Set line color\n }\n "),R.compileShader(t),!R.getShaderParameter(t,R.COMPILE_STATUS))throw new Error("Vertex shader compilation failed: "+R.getShaderInfoLog(t));if(R.compileShader(e),!R.getShaderParameter(e,R.COMPILE_STATUS))throw new Error("Fragment shader compilation failed: "+R.getShaderInfoLog(e));var n=R.createProgram();if(!n)throw new Error("Failed to create shader program");if(R.attachShader(n,t),R.attachShader(n,e),R.linkProgram(n),!R.getProgramParameter(n,R.LINK_STATUS))throw new Error("Shader program linking failed: "+R.getProgramInfoLog(n));R.useProgram(n);for(var r=137,i=new Float32Array(548),o=2*Math.PI/r,a=0;a>>32-e},rotr:function(t,e){return t<<32-e|t>>>e},endian:function(t){if(t.constructor==Number)return 16711935&B.rotl(t,8)|4278255360&B.rotl(t,24);for(var e=0;e0;t--)e.push(Math.floor(256*Math.random()));return e},bytesToWords:function(t){for(var e=[],n=0,r=0;n>>5]|=t[n]<<24-r%32;return e},wordsToBytes:function(t){for(var e=[],n=0;n<32*t.length;n+=8)e.push(t[n>>>5]>>>24-n%32&255);return e},bytesToHex:function(t){for(var e=[],n=0;n>>4).toString(16)),e.push((15&t[n]).toString(16));return e.join("")},hexToBytes:function(t){for(var e=[],n=0;n>>6*(3-i)&63)):e.push("=");return e.join("")},base64ToBytes:function(t){t=t.replace(/[^A-Z0-9+\/]/gi,"");for(var e=[],n=0,r=0;n>>6-2*r);return e}},U.exports=B;var W={utf8:{stringToBytes:function(t){return W.bin.stringToBytes(unescape(encodeURIComponent(t)))},bytesToString:function(t){return decodeURIComponent(escape(W.bin.bytesToString(t)))}},bin:{stringToBytes:function(t){for(var e=[],n=0;n>>24)|4278255360&(u[g]<<24|u[g]>>>8);u[c>>>5]|=128<>>9<<4)]=c;var h=i._ff,m=i._gg,v=i._hh,p=i._ii;for(g=0;g>>0,s=s+b>>>0,f=f+w>>>0,d=d+y>>>0}return t.endian([l,s,f,d])};i._ff=function(t,e,n,r,i,o,a){var u=t+(e&n|~e&r)+(i>>>0)+a;return(u<>>32-o)+e},i._gg=function(t,e,n,r,i,o,a){var u=t+(e&r|n&~r)+(i>>>0)+a;return(u<>>32-o)+e},i._hh=function(t,e,n,r,i,o,a){var u=t+(e^n^r)+(i>>>0)+a;return(u<>>32-o)+e},i._ii=function(t,e,n,r,i,o,a){var u=t+(n^(e|~r))+(i>>>0)+a;return(u<>>32-o)+e},i._blocksize=16,i._digestsize=16,F.exports=function(e,n){if(null==e)throw new Error("Illegal argument "+e);var o=t.wordsToBytes(i(e,n));return n&&n.asBytes?o:n&&n.asString?r.bytesToString(o):t.bytesToHex(o)}}();var V,z=F.exports;function Y(){var t="luxTracking",e="luxDisableEmail4Link",o="luxId",a="ENABLELUXDEBUG";this.identificator="";var u=this;this.getIdentificator=function(){return!1===this.isIdentificatorSet()&&console.log("Identificator (Fingerprint?) not yet calculated!"),this.identificator},this.isIdentificatorSet=function(){return""!==this.identificator},this.setDisableForLinkStorageEntry=function(){l(e,!0)},this.isDisableForLinkStorageEntrySet=function(){return"true"===c(e)},this.setTrackingOptOutStatus=function(){l(t,!1)},this.setTrackingOptInStatus=function(){l(t,!0)},this.isOptOutStatusSet=function(){return"false"===c(t)},this.isOptInStatusSet=function(){return"true"===c(t)},this.isDebugCookieSet=function(){return""!==v(a)};var c=function(t){return localStorage.getItem(t)},l=function(t,e){localStorage.setItem(t,e)};this.setIdentificator=function(t){2===t?s():f()};var s=function(){var t=c(o);null===t&&(t=p(33),l(o,t)),u.identificator=t},f=function(){var t=g();""===t?window.requestIdleCallback?requestIdleCallback((function(){d()})):setTimeout((function(){d()}),500):this.identificator=t},d=function(){!function(t,e){if(!["exclude","permissions_to_check","retries","timeout"].includes(t))throw new Error("Unknown option "+t);if(["exclude","permissions_to_check"].includes(t)&&(!Array.isArray(e)||!e.every((function(t){return"string"==typeof t}))))throw new Error("The value of the exclude and permissions_to_check must be an array of strings");if(["retries","timeout"].includes(t)&&"number"!=typeof e)throw new Error("The value of retries must be a number");i[t]=e}("exclude",["webgl","system.browser.version]"]),function(t){return n(this,void 0,void 0,(function(){var e,n;return r(this,(function(r){switch(r.label){case 0:return r.trys.push([0,2,,3]),[4,x()];case 1:return e=r.sent(),n=m(JSON.stringify(e)),t?[2,{hash:n.toString(),data:e}]:[2,n.toString()];case 2:throw r.sent();case 3:return[2]}}))}))}().then((function(t){u.identificator=z(t),!0===b()&&(console.log("Debug: Fingerprint values",x()),console.log('Debug: Fingerprint is "'+u.identificator+'"'))}))},g=function(){var t=h("luxfingerprint");return""===t&&(t=v("luxfingerprint")),t},h=function(t){var e="",n=[];return location.search.substr(1).split("&").forEach((function(r){(n=r.split("="))[0]===t&&(e=decodeURIComponent(n[1]))})),e},v=function(t){for(var e=t+"=",n=document.cookie.split(";"),r=0;r',t.lightboxInstance=e.exports.create(o,{className:"basicLightbox--iframe"}),l(n.configuration.delay,"lightboxOpen",n)},this.lightboxOpenAfterDelay=function(){t.lightboxInstance.show(),u()};var u=function(){for(var e=document.querySelectorAll('[data-lux-action-lightbox="close"]'),n=0;n=o&&(i=!0,setTimeout((function(){try{t[n+"AfterDelay"](r)}catch(t){console.log(t)}}),parseInt(e.time)))}},this.mouseLeaveDelayFunction=function(e,n,r){var i=!1;window.addEventListener("mouseout",(function(o){!1===i&&(o.pageY<0||o.pageY>window.innerHeight||o.pageX<0||o.pageX>window.innerWidth)&&(i=!0,setTimeout((function(){try{t[n+"AfterDelay"](r)}catch(t){console.log(t)}}),parseInt(e.time)))}),!1)},this.inactiveTabDelayFunction=function(e,n,r){var i,o,a=!1;void 0!==document.hidden?(i="hidden",o="visibilitychange"):void 0!==document.msHidden?(i="msHidden",o="msvisibilitychange"):void 0!==document.webkitHidden&&(i="webkitHidden",o="webkitvisibilitychange"),void 0===document.addEventListener||void 0===i?console.log("This function requires a modern browser such as Google Chrome or Firefox withPage Visibility API"):document.addEventListener(o,(function(){!1===a&&document[i]&&setTimeout((function(){try{a=!0,t[n+"AfterDelay"](r)}catch(t){console.log(t)}}),parseInt(e.time))}),!1)},this.getIdentification=function(){return i};var s=function(){!1===r&&(i.setIdentificator(X()),f(),r=!0)},f=function t(){i.isIdentificatorSet()?(h(),m(),v(),x(),b(),w(),y()):++o<200?setTimeout(t,100):console.log("Fingerprint could not be calculated within 20s")},d=function(){for(var e=document.querySelectorAll('[data-lux-trackingoptout="checkbox"]'),n=0;n0&&(t["tx_lux_fe[arguments][newsUid]"]=U()),j(t,H(),"generalWorkflowActionCallback",null)}},m=function(){for(var t=document.querySelectorAll('form:not([data-lux-form-identification]) input:not([data-lux-disable]):not([type="hidden"]):not([type="submit"]), form:not([data-lux-form-identification]) textarea:not([data-lux-disable]), form:not([data-lux-form-identification]) select:not([data-lux-disable]), form:not([data-lux-form-identification]) radio:not([data-lux-disable]), form:not([data-lux-form-identification]) check:not([data-lux-disable])'),e=0;e()[\]\\.,;:\s@\"]+(\.[^<>()[\]\\.,;:\s@\"]+)*)|(\".+\"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/.test(t)},et=function(t){var e=t.replace(/^.*[\\\/]/,"");return nt(rt(e).toLowerCase(),["pdf","txt","doc","docx","xls","xlsx","ppt","pptx","jpg","png","zip"])&&(t=e),t},nt=function(t,e){for(var n=e.length,r=0;r0&&r[r.length-1])||6!==u[0]&&2!==u[0])){a=0;continue}if(3===u[0]&&(!r||u[1]>r[0]&&u[1]1&&void 0!==arguments[1]&&arguments[1],n=document.createElement("div");return n.innerHTML=t.trim(),!0===e?n.children:n.firstChild},r=function(t,e){var n=t.children;return 1===n.length&&n[0].tagName===e},o=function(t){return null!=(t=t||document.querySelector(".basicLightbox"))&&!0===t.ownerDocument.body.contains(t)};n.visible=o,n.create=function(t,e){var n=function(t,e){var n=i('\n\t\t
\n\t\t\t\n\t\t
\n\t')),o=n.querySelector(".basicLightbox__placeholder");t.forEach((function(t){return o.appendChild(t)}));var a=r(o,"IMG"),u=r(o,"VIDEO"),l=r(o,"IFRAME");return!0===a&&n.classList.add("basicLightbox--img"),!0===u&&n.classList.add("basicLightbox--video"),!0===l&&n.classList.add("basicLightbox--iframe"),n}(t=function(t){var e="string"==typeof t,n=t instanceof HTMLElement==1;if(!1===e&&!1===n)throw new Error("Content must be a DOM element/node or string");return!0===e?Array.from(i(t,!0)):"TEMPLATE"===t.tagName?[t.content.cloneNode(!0)]:Array.from(t.children)}(t),e=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(null==(t=Object.assign({},t)).closable&&(t.closable=!0),null==t.className&&(t.className=""),null==t.onShow&&(t.onShow=function(){}),null==t.onClose&&(t.onClose=function(){}),"boolean"!=typeof t.closable)throw new Error("Property `closable` must be a boolean");if("string"!=typeof t.className)throw new Error("Property `className` must be a string");if("function"!=typeof t.onShow)throw new Error("Property `onShow` must be a function");if("function"!=typeof t.onClose)throw new Error("Property `onClose` must be a function");return t}(e)),a=function(t){return!1!==e.onClose(u)&&function(t,e){return t.classList.remove("basicLightbox--visible"),setTimeout((function(){return!1===o(t)||t.parentElement.removeChild(t),e()}),410),!0}(n,(function(){if("function"==typeof t)return t(u)}))};!0===e.closable&&n.addEventListener("click",(function(t){t.target===n&&a()}));var u={element:function(){return n},visible:function(){return o(n)},show:function(t){return!1!==e.onShow(u)&&function(t,e){return document.body.appendChild(t),setTimeout((function(){requestAnimationFrame((function(){return t.classList.add("basicLightbox--visible"),e()}))}),10),!0}(n,(function(){if("function"==typeof t)return t(u)}))},close:a};return u}},{}]},{},[1])(1),"function"==typeof SuppressedError&&SuppressedError;var u={exclude:[]};var l={},c={timeout:"true"},s=function(t,e){"undefined"!=typeof window&&(l[t]=e)},f=function(){return Object.fromEntries(Object.entries(l).filter((function(t){var e,n=t[0];return!(null===(e=null==u?void 0:u.exclude)||void 0===e?void 0:e.includes(n))})).map((function(t){return[t[0],(0,t[1])()]})))},d=3432918353,g=461845907,h=3864292196,m=2246822507,v=3266489909;function p(t,e){return t<>>32-e}function x(t,e){void 0===e&&(e=0);for(var n=e,i=0,r=3&t.length,o=t.length-r,a=0;a>>16,t=Math.imul(t,m),t^=t>>>13,(t=Math.imul(t,v))^t>>>16}(n^=t.length))>>>0).toString(36)}function b(t,e){return new Promise((function(n){setTimeout((function(){return n(e)}),t)}))}function w(t,e,n){return Promise.all(t.map((function(t){return Promise.race([t,b(e,n)])})))}function y(){return o(this,void 0,void 0,(function(){var t,e,n,i,r;return a(this,(function(o){switch(o.label){case 0:return o.trys.push([0,2,,3]),t=f(),e=Object.keys(t),[4,w(Object.values(t),(null==u?void 0:u.timeout)||1e3,c)];case 1:return n=o.sent(),i=n.filter((function(t){return void 0!==t})),r={},i.forEach((function(t,n){r[e[n]]=t})),[2,S(r,u.exclude||[])];case 2:throw o.sent();case 3:return[2]}}))}))}function S(t,e){var n={},i=function(i){if(t.hasOwnProperty(i)){var r=t[i];if("object"!=typeof r||Array.isArray(r))e.includes(i)||(n[i]=r);else{var o=S(r,e.map((function(t){return t.startsWith(i+".")?t.slice(i.length+1):t})));Object.keys(o).length>0&&(n[i]=o)}}};for(var r in t)i(r);return n}function A(t){for(var e=0,n=0;ne[r]&&(r=parseInt(o,10));return r}function E(){if("undefined"==typeof navigator)return{name:"unknown",version:"unknown"};for(var t=navigator.userAgent,e={Edg:"Edge",OPR:"Opera"},n=0,i=[/(?Edge|Edg)\/(?\d+(?:\.\d+)?)/,/(?(?:Chrome|Chromium|OPR|Opera|Vivaldi|Brave))\/(?\d+(?:\.\d+)?)/,/(?(?:Firefox|Waterfox|Iceweasel|IceCat))\/(?\d+(?:\.\d+)?)/,/(?Safari)\/(?\d+(?:\.\d+)?)/,/(?MSIE|Trident|IEMobile).+?(?\d+(?:\.\d+)?)/,/(?[A-Za-z]+)\/(?\d+(?:\.\d+)?)/,/(?SamsungBrowser)\/(?\d+(?:\.\d+)?)/];n0;e--)if(t(e))return e}catch(t){return 0}return 0}"Firefox"!=E().name&&s("fonts",(function(){var t=this;return new Promise((function(e,n){try{!function(t){var e;o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:return document.body?[3,2]:[4,(50,new Promise((function(t){return setTimeout(t,50,undefined)})))];case 1:return o.sent(),[3,0];case 2:if(n=document.createElement("iframe"),(i=n.style).setProperty("display","block","important"),i.setProperty("visibility","visible"),n.src="about:blank",document.body.appendChild(n),!(r=n.contentDocument||(null===(e=n.contentWindow)||void 0===e?void 0:e.document)))throw new Error("Iframe document is not accessible");return t({iframe:r}),setTimeout((function(){document.body.removeChild(n)}),0),[2]}}))}))}((function(n){var i=n.iframe;return o(t,void 0,void 0,(function(){var t,n,r,o;return a(this,(function(a){return t=i.createElement("canvas"),n=t.getContext("2d"),r=T.map((function(t){return M(n,t)})),o={},C.forEach((function(t){var e=M(n,t);r.includes(e)||(o[t]=e)})),e(o),[2]}))}))}))}catch(t){n({error:"unsupported"})}}))})),s("hardware",(function(){return new Promise((function(t,e){var n=void 0!==navigator.deviceMemory?navigator.deviceMemory:0,i=window.performance&&window.performance.memory?window.performance.memory:0;t({videocard:O(),architecture:P(),deviceMemory:n.toString()||"undefined",jsHeapSizeLimit:i.jsHeapSizeLimit||0})}))})),s("locales",(function(){return new Promise((function(t){t({languages:navigator.language,timezone:Intl.DateTimeFormat().resolvedOptions().timeZone})}))})),s("permissions",(function(){return o(this,void 0,void 0,(function(){var t;return a(this,(function(e){return L=(null==u?void 0:u.permissions_to_check)||["accelerometer","accessibility","accessibility-events","ambient-light-sensor","background-fetch","background-sync","bluetooth","camera","clipboard-read","clipboard-write","device-info","display-capture","gyroscope","geolocation","local-fonts","magnetometer","microphone","midi","nfc","notifications","payment-handler","persistent-storage","push","speaker","storage-access","top-level-storage-access","window-management","query"],t=Array.from({length:(null==u?void 0:u.retries)||3},(function(){return function(){return o(this,void 0,void 0,(function(){var t,e,n,i,r;return a(this,(function(o){switch(o.label){case 0:t={},e=0,n=L,o.label=1;case 1:if(!(ei&&(n=t,i=e[t])})),n}(t.map((function(t){return e in t?t[e]:void 0})).filter((function(t){return void 0!==t})));i&&(n[e]=i)})),n}(t,L)}))]}))}))})),s("plugins",(function(){var t=[];if(navigator.plugins)for(var e=0;e0,maxTouchPoints:navigator.maxTouchPoints,colorDepth:screen.colorDepth,mediaMatches:D()})}))})),s("system",(function(){return new Promise((function(t){var e=E();t({platform:window.navigator.platform,cookieEnabled:window.navigator.cookieEnabled,productSub:navigator.productSub,product:navigator.product,useragent:navigator.userAgent,browser:{name:e.name,version:e.version},applePayVersion:R()})}))}));var q,N="SamsungBrowser"!==E().name?1:3,F=null;"undefined"!=typeof document&&((q=document.createElement("canvas")).width=200,q.height=100,F=q.getContext("webgl")),s("webgl",(function(){return o(this,void 0,void 0,(function(){var t;return a(this,(function(e){try{if(!F)throw new Error("WebGL not supported");return t=Array.from({length:N},(function(){return function(){try{if(!F)throw new Error("WebGL not supported");var t=F.createShader(F.VERTEX_SHADER),e=F.createShader(F.FRAGMENT_SHADER);if(!t||!e)throw new Error("Failed to create shaders");if(F.shaderSource(t,"\n attribute vec2 position;\n void main() {\n gl_Position = vec4(position, 0.0, 1.0);\n }\n "),F.shaderSource(e,"\n precision mediump float;\n void main() {\n gl_FragColor = vec4(0.812, 0.195, 0.553, 0.921); // Set line color\n }\n "),F.compileShader(t),!F.getShaderParameter(t,F.COMPILE_STATUS))throw new Error("Vertex shader compilation failed: "+F.getShaderInfoLog(t));if(F.compileShader(e),!F.getShaderParameter(e,F.COMPILE_STATUS))throw new Error("Fragment shader compilation failed: "+F.getShaderInfoLog(e));var n=F.createProgram();if(!n)throw new Error("Failed to create shader program");if(F.attachShader(n,t),F.attachShader(n,e),F.linkProgram(n),!F.getProgramParameter(n,F.LINK_STATUS))throw new Error("Shader program linking failed: "+F.getProgramInfoLog(n));F.useProgram(n);for(var i=137,r=new Float32Array(548),o=2*Math.PI/i,a=0;a',t.lightboxInstance=r.exports.create(o,{className:"basicLightbox--iframe"}),c(e.configuration.delay,"lightboxOpen",e)},this.lightboxOpenAfterDelay=function(){t.lightboxInstance.show(),u()};var u=function(){for(var e=document.querySelectorAll('[data-lux-action-lightbox="close"]'),n=0;n=o&&(r=!0,setTimeout((function(){try{t[n+"AfterDelay"](i)}catch(t){console.log(t)}}),parseInt(e.time)))}},this.mouseLeaveDelayFunction=function(e,n,i){var r=!1;window.addEventListener("mouseout",(function(o){!1===r&&(o.pageY<0||o.pageY>window.innerHeight||o.pageX<0||o.pageX>window.innerWidth)&&(r=!0,setTimeout((function(){try{t[n+"AfterDelay"](i)}catch(t){console.log(t)}}),parseInt(e.time)))}),!1)},this.inactiveTabDelayFunction=function(e,n,i){var r,o,a=!1;void 0!==document.hidden?(r="hidden",o="visibilitychange"):void 0!==document.msHidden?(r="msHidden",o="msvisibilitychange"):void 0!==document.webkitHidden&&(r="webkitHidden",o="webkitvisibilitychange"),void 0===document.addEventListener||void 0===r?console.log("This function requires a modern browser such as Google Chrome or Firefox withPage Visibility API"):document.addEventListener(o,(function(){!1===a&&document[r]&&setTimeout((function(){try{a=!0,t[n+"AfterDelay"](i)}catch(t){console.log(t)}}),parseInt(e.time))}),!1)},this.getIdentification=function(){return i};var s=function(){!1===n&&(i.setIdentificator(X()),f(),n=!0)},f=function t(){i.isIdentificatorSet()?(h(),m(),v(),x(),b(),w(),y()):++o<200?setTimeout(t,100):console.log("Fingerprint could not be calculated within 20s")},d=function(){for(var e=document.querySelectorAll('[data-lux-trackingoptout="checkbox"]'),n=0;n0&&(t["tx_lux_fe[arguments][newsUid]"]=B()),G(t,j(),"generalWorkflowActionCallback",null)}},m=function(){for(var t=document.querySelectorAll('form:not([data-lux-form-identification]) input:not([data-lux-disable]):not([type="hidden"]):not([type="submit"]), form:not([data-lux-form-identification]) textarea:not([data-lux-disable]), form:not([data-lux-form-identification]) select:not([data-lux-disable]), form:not([data-lux-form-identification]) radio:not([data-lux-disable]), form:not([data-lux-form-identification]) check:not([data-lux-disable])'),e=0;e()[\]\\.,;:\s@\"]+(\.[^<>()[\]\\.,;:\s@\"]+)*)|(\".+\"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/.test(t)},et=function(t){var e=t.replace(/^.*[\\\/]/,"");return nt(it(e).toLowerCase(),["pdf","txt","doc","docx","xls","xlsx","ppt","pptx","jpg","png","zip"])&&(t=e),t},nt=function(t,e){for(var n=e.length,i=0;i