if( document.readyState !== 'loading' ) { init_core(); } else { document.addEventListener('DOMContentLoaded', function () { init_core(); }); } function init_core() { // IF IE if (window.document.documentMode) { alert('Warning:\nYou\'re using an old version of Internet Explorer which is no longer supported by Microsoft.\n\nWe recommend using Microsoft Edge, Firefox or Chrome to work with DDL.\n\nBest regards,\nDDL Product Team'); } var isTabActive = Math.floor(Date.now() / 1000); document.body.onfocus = function () { isTabActive = Math.floor(Date.now() / 1000); }; if(new RegExp(/pointer=mouse/g).test(document.cookie)){ document.body.classList.add("mouse"); } document.body.onmousemove = function (e) { isTabActive = Math.floor(Date.now() / 1000); if("movementX" in e && e.movementX!=0){ document.body.classList.add("mouse"); document.cookie = "pointer=mouse"; } }; document.body.ontouchstart = function (e) { isTabActive = Math.floor(Date.now() / 1000); document.body.classList.remove("mouse"); document.cookie = "pointer=touch"; }; document.addEventListener('scroll', function(e) { isTabActive = Math.floor(Date.now() / 1000); }) document.body.onblur = function () { isTabActive = 0; }; $('head').append(''); $('head').append(''); $('head').append(" "); var ua = window.navigator.userAgent; var msie = ua.indexOf("MSIE "); if(msie > 0 || !!navigator.userAgent.match(/Trident.*rv\:11\./)) { alert("Warning:\nYou are using an unsupported version of Internet Explorer.\n\nPlease consider switching to Edge, Chrome or Firefox for the best user experience."); }else{ // SECURE LOGIN /* * FingerprintJS v3.0.5 - Copyright (c) FingerprintJS, Inc, 2021 (https://fingerprintjs.com) * Licensed under the MIT (http://www.opensource.org/licenses/mit-license.php) license. * * This software contains code from open-source projects: * MurmurHash3 by Karan Lyons (https://github.com/karanlyons/murmurHash3.js) */ var FingerprintJS=function(e){"use strict";function t(e,t){e=[e[0]>>>16,65535&e[0],e[1]>>>16,65535&e[1]],t=[t[0]>>>16,65535&t[0],t[1]>>>16,65535&t[1]];var n=[0,0,0,0];return n[3]+=e[3]+t[3],n[2]+=n[3]>>>16,n[3]&=65535,n[2]+=e[2]+t[2],n[1]+=n[2]>>>16,n[2]&=65535,n[1]+=e[1]+t[1],n[0]+=n[1]>>>16,n[1]&=65535,n[0]+=e[0]+t[0],n[0]&=65535,[n[0]<<16|n[1],n[2]<<16|n[3]]}function n(e,t){e=[e[0]>>>16,65535&e[0],e[1]>>>16,65535&e[1]],t=[t[0]>>>16,65535&t[0],t[1]>>>16,65535&t[1]];var n=[0,0,0,0];return n[3]+=e[3]*t[3],n[2]+=n[3]>>>16,n[3]&=65535,n[2]+=e[2]*t[3],n[1]+=n[2]>>>16,n[2]&=65535,n[2]+=e[3]*t[2],n[1]+=n[2]>>>16,n[2]&=65535,n[1]+=e[1]*t[3],n[0]+=n[1]>>>16,n[1]&=65535,n[1]+=e[2]*t[2],n[0]+=n[1]>>>16,n[1]&=65535,n[1]+=e[3]*t[1],n[0]+=n[1]>>>16,n[1]&=65535,n[0]+=e[0]*t[3]+e[1]*t[2]+e[2]*t[1]+e[3]*t[0],n[0]&=65535,[n[0]<<16|n[1],n[2]<<16|n[3]]}function r(e,t){return 32===(t%=64)?[e[1],e[0]]:t<32?[e[0]<>>32-t,e[1]<>>32-t]:(t-=32,[e[1]<>>32-t,e[0]<>>32-t])}function o(e,t){return 0===(t%=64)?e:t<32?[e[0]<>>32-t,e[1]<>>1]),e=i(e=n(e,[4283543511,3981806797]),[0,e[0]>>>1]),e=i(e=n(e,[3301882366,444984403]),[0,e[0]>>>1])}function c(e,c){c=c||0;var u,s=(e=e||"").length%16,l=e.length-s,f=[0,c],d=[0,c],h=[0,0],v=[0,0],g=[2277735313,289559509],m=[1291169091,658871167];for(u=0;u>>0).toString(16)).slice(-8)+("00000000"+(f[1]>>>0).toString(16)).slice(-8)+("00000000"+(d[0]>>>0).toString(16)).slice(-8)+("00000000"+(d[1]>>>0).toString(16)).slice(-8)}var u=function(){return(u=Object.assign||function(e){for(var t,n=1,r=arguments.length;n0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]=4}function S(){return v(["msWriteProfilerMark"in g,"MSStream"in g,"msLaunchUri"in m,"msSaveBlob"in m])>=3&&!y()}function w(){return v(["webkitPersistentStorage"in m,"webkitTemporaryStorage"in m,0===m.vendor.indexOf("Google"),"webkitResolveLocalFileSystemURL"in g,"BatteryManager"in g,"webkitMediaStream"in g,"webkitSpeechGrammar"in g])>=5}function b(){return v(["ApplePayError"in g,"CSSPrimitiveValue"in g,"Counter"in g,0===m.vendor.indexOf("Apple"),"getStorageUpdates"in m,"WebKitMediaKeys"in g])>=4}function C(){return v(["safari"in g,!("DeviceMotionEvent"in g),!("ongestureend"in g),!("standalone"in m)])>=3}var A=window,M=document;function T(e,t,n){(function(e){return e&&"function"==typeof e.setValueAtTime})(t)&&t.setValueAtTime(n,e.currentTime)}function k(e){return new Promise((function(t,n){e.oncomplete=function(e){return t(e.renderedBuffer)};var r=3,o=function(){switch(e.startRendering(),e.state){case"running":setTimeout((function(){return n(P("timeout"))}),1e3);break;case"suspended":M.hidden||r--,r>0?setTimeout(o,500):n(P("suspended"))}};o()}))}function x(e){for(var t=0,n=4500;n<5e3;++n)t+=Math.abs(e[n]);return t}function P(e){var t=new Error(e);return t.name=e,t}var I=document,O=["monospace","sans-serif","serif"],E=["sans-serif-thin","ARNO PRO","Agency FB","Arabic Typesetting","Arial Unicode MS","AvantGarde Bk BT","BankGothic Md BT","Batang","Bitstream Vera Sans Mono","Calibri","Century","Century Gothic","Clarendon","EUROSTILE","Franklin Gothic","Futura Bk BT","Futura Md BT","GOTHAM","Gill Sans","HELV","Haettenschweiler","Helvetica Neue","Humanst521 BT","Leelawadee","Letter Gothic","Levenim MT","Lucida Bright","Lucida Sans","Menlo","MS Mincho","MS Outlook","MS Reference Specialty","MS UI Gothic","MT Extra","MYRIAD PRO","Marlett","Meiryo UI","Microsoft Uighur","Minion Pro","Monotype Corsiva","PMingLiU","Pristina","SCRIPTINA","Segoe UI Light","Serifa","SimHei","Small Fonts","Staccato222 BT","TRAJAN PRO","Univers CE 55 Medium","Vrinda","ZWAdobeF"],D={fontStyle:"normal",fontWeight:"normal",letterSpacing:"normal",lineBreak:"auto",lineHeight:"normal",textTransform:"none",textAlign:"left",textDecoration:"none",textShadow:"none",whiteSpace:"normal",wordBreak:"normal",wordSpacing:"normal",position:"absolute",left:"-9999px",fontSize:"48px"};function R(e){return e.toDataURL()}var B=navigator,L=window;var F=navigator;var G=window;var H=window;var U=window;var N=document;var W={osCpu:function(){return navigator.oscpu},languages:function(){var e=[],t=F.language||F.userLanguage||F.browserLanguage||F.systemLanguage;if(void 0!==t&&e.push([t]),Array.isArray(F.languages))w()&&v([!("MediaSettingsRange"in g),"RTCEncodedAudioFrame"in g,""+g.Intl=="[object Intl]",""+g.Reflect=="[object Reflect]"])>=3||e.push(F.languages);else if("string"==typeof F.languages){var n=F.languages;n&&e.push(n.split(","))}return e},colorDepth:function(){return window.screen.colorDepth},deviceMemory:function(){return e=h(navigator.deviceMemory),t=void 0,"number"==typeof e&&isNaN(e)?t:e;var e,t},screenResolution:function(){var e=[d(G.screen.width),d(G.screen.height)];return e.sort().reverse(),e},availableScreenResolution:function(){if(H.screen.availWidth&&H.screen.availHeight){var e=[d(H.screen.availWidth),d(H.screen.availHeight)];return e.sort().reverse(),e}},hardwareConcurrency:function(){try{var e=d(navigator.hardwareConcurrency);return isNaN(e)?1:e}catch(t){return 1}},timezoneOffset:function(){var e=(new Date).getFullYear();return Math.max(h(new Date(e,0,1).getTimezoneOffset()),h(new Date(e,6,1).getTimezoneOffset()))},timezone:function(){var e;if(null===(e=U.Intl)||void 0===e?void 0:e.DateTimeFormat)return(new U.Intl.DateTimeFormat).resolvedOptions().timeZone},sessionStorage:function(){try{return!!window.sessionStorage}catch(e){return!0}},localStorage:function(){try{return!!window.localStorage}catch(e){return!0}},indexedDB:function(){if(!y()&&!S())try{return!!window.indexedDB}catch(e){return!0}},openDatabase:function(){return!!window.openDatabase},cpuClass:function(){return navigator.cpuClass},platform:function(){return navigator.platform},plugins:function(){if(y())return[];if(navigator.plugins){for(var e=[],t=0;t=3))return[2,-1];t=new e(1,44100,44100),(n=t.createOscillator()).type="triangle",T(t,n.frequency,1e4),r=t.createDynamicsCompressor(),T(t,r.threshold,-50),T(t,r.knee,40),T(t,r.ratio,12),T(t,r.reduction,-20),T(t,r.attack,0),T(t,r.release,.25),n.connect(r),r.connect(t.destination),n.start(0),a.label=1;case 1:return a.trys.push([1,3,4,5]),[4,k(t)];case 2:return o=a.sent(),[3,5];case 3:if("timeout"===(i=a.sent()).name||"suspended"===i.name)return[2,-3];throw i;case 4:return n.disconnect(),r.disconnect(),[7];case 5:return[2,x(o.getChannelData(0))]}}))}))},pluginsSupport:function(){return void 0!==navigator.plugins},productSub:function(){return navigator.productSub},emptyEvalLength:function(){return eval.toString().length},errorFF:function(){try{throw"a"}catch(e){try{return e.toSource(),!0}catch(t){return!1}}},vendor:function(){return navigator.vendor},chrome:function(){return void 0!==window.chrome},cookiesEnabled:function(){try{N.cookie="cookietest=1; SameSite=Strict;";var e=-1!==N.cookie.indexOf("cookietest=");return N.cookie="cookietest=1; SameSite=Strict; expires=Thu, 01-Jan-1970 00:00:01 GMT",e}catch(t){return!1}}};function j(e,t,n){return s(this,void 0,void 0,(function(){var r,o,i,a,c,s,f,d,h;return l(this,(function(l){switch(l.label){case 0:r=Date.now(),o={},i=0,a=Object.keys(e),l.label=1;case 1:if(!(i=4},e.isTrident=y,e.isWebKit=b,e.load=q,e.murmurX64Hash128=X,e}({}); /* END FingerprintJS */ FingerprintJS.load().then(function(fp){ fp.get().then(function(result){ document.cookie="device="+result.visitorId+";path=/"; }); }); } setTimeout(function(){ function check_cookie_settings() { if(typeof initCookieConsent == 'function'){ window.cc = initCookieConsent(); window.cc.run({ current_lang: 'en', autoclear_cookies: true, // default: false cookie_name: 'cc_cookie', // default: 'cc_cookie' cookie_expiration: 365, // default: 182 page_scripts: true, // default: false force_consent: true, // default: false auto_language: 'document', // default: null; could also be 'browser' or 'document' // autorun: true, // default: true // delay: 0, // default: 0 // hide_from_bots: false, // default: false // remove_cookie_tables: false // default: false // cookie_domain: location.hostname, // default: current domain // cookie_path: '/', // default: root // cookie_same_site: 'Lax', // use_rfc_cookie: false, // default: false // revision: 0, // default: 0 gui_options: { consent_modal: { layout: 'cloud', // box,cloud,bar position: 'bottom center', // bottom,middle,top + left,right,center transition: 'slide' // zoom,slide }, settings_modal: { layout: 'box', // box,bar position: 'left', // right,left (available only if bar layout selected) transition: 'slide' // zoom,slide } }, onFirstAction: function(){ console.log('onFirstAction'); }, onAccept: function (cookie) { console.log('onAccept') typeof gtag === 'function' && gtag('consent', 'update', { 'analytics_storage': window.cc.allowedCategory("analytics")?'granted':'denied' }); if(window.cc.allowedCategory("analytics")){ $(".lazy.blocked").trigger("click"); } var alive = function(){ var userActive = isTabActive > Math.floor(Date.now() / 1000)-60; var ua = window.navigator.userAgent; var msie = ua.indexOf("MSIE "); $.post( "/async/alive", {active: userActive}) .done(function( data ) { var conditions = [ "/?", "/demo", "/articles", "/vendita-pietre", "/join", "/login", "/recover", "/shop", "/item", "/cart", "/register", "/offer_join", "/selection", "/downloads", "/landing", "/footer/imprint", "/footer/privacy", "/footer/tos", "/offer", "/overlay", "/architects", "/contact-us", "/messe", "/navigator/edit", ]; var page = window.location.href.replace(/^.*\/\/[^\/]+/, ''); if(page != "/" && !conditions.some(function(el){ return page.indexOf(el)==0})){ if(data.indexOf("jq401Unauthorized") != -1){ window.location.reload(); } } }); if(window.cc.allowedCategory("analytics")){ if(userActive){ gtag('event', 'view', {'event_category' : 'heartbeat', 'event_label' : 'alive'}); } } }; alive(); setInterval(alive, 1000*60); }, onChange: function (cookie, changed_preferences) { console.log('onChange'); // If analytics category is disabled => disable google analytics typeof gtag === 'function' && gtag('consent', 'update', { 'analytics_storage': window.cc.allowedCategory("analytics")?'granted':'denied' }); }, languages: { 'en': { consent_modal: { title: 'We value your privacy', description: 'We use cookies to enhance your browsing experience, serve personalized content, and analyze our traffic. By clicking "Accept All", you consent to our use of cookies. Privacy policy', primary_btn: { text: 'Accept all', role: 'accept_all' //'accept_selected' or 'accept_all' }, secondary_btn: { text: 'Preferences', role: 'settings' //'settings' or 'accept_necessary' }, revision_message: '

Dear user, terms and conditions have changed since the last time you visisted!' }, settings_modal: { title: 'Cookie settings', save_settings_btn: 'Save current selection', accept_all_btn: 'Accept all', reject_all_btn: 'Reject all', close_btn_label: 'Close', cookie_table_headers: [ {col1: 'Name'}, {col2: 'Duration'}, {col3: 'Expiration'} ], blocks: [ { title: 'Cookie usage', description: 'We use cookies to help you navigate efficiently and perform certain functions. You will find detailed information about all cookies under each consent category below.

The cookies that are categorized as "Necessary" are stored on your browser as they are essential for enabling the basic functionalities of the site.

Privacy Policy' }, { title: 'Strictly necessary cookies', description: "Necessary cookies are required to enable the basic features of this site, such as providing secure log-in or adjusting your consent preferences. These cookies do not store any personally identifiable data.", toggle: { value: 'necessary', enabled: true, readonly: true //cookie categories with readonly=true are all treated as "necessary cookies" }, cookie_table: [ { col1: 'cc_cookie', col2: "1 year", col3: 'This cookie is used to remember users consent preferences so that their preferences are respected on their subsequent visits to this site.', is_regex: true }, { col1: 'PHPSESSID', col2: "7 days", col3: 'The cookie is used to store and identify a users\' unique session ID for the purpose of managing user session on the website.', }, { col1: 'cookietest', col2: "1 Minute", col3: 'Is used to check if cookies are enabled.', }, { col1: 'pointer', col2: "session", col3: 'The cookie is stores the type of input device that is used.', }, { col1: 'device', col2: "session", col3: 'The cookie is used to store and identify each unique device for security reasons.', } ] }, { title: 'Analytics & Performance cookies', description: "Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics such as the number of visitors, bounce rate, traffic source, etc.", toggle: { value: 'analytics', enabled: false, readonly: false }, cookie_table: [ { col1: '_ga', col2: '1 years', col3: 'The _ga cookie, installed by Google Analytics, calculates visitor, session and campaign data and also keeps track of site usage for the site\'s analytics report. The cookie stores information anonymously and assigns a randomly generated number to recognize unique visitors.', is_regex: true }, { col1: '_gid', col2: '1 day', col3: 'Installed by Google Analytics, _gid cookie stores information on how visitors use a website, while also creating an analytics report of the website\'s performance. Some of the data that are collected include the number of visitors, their source, and the pages they visit anonymously.', }, { col1: '_gat_gtag_*', col2: '1 minute', col3: 'Set by Google to distinguish users.', } ] } ] } } } }); }else{ window.cc = false; } } check_cookie_settings(); },1000) }