Plugin Directory

Changeset 3109261


Ignore:
Timestamp:
06/28/2024 12:56:30 PM (20 months ago)
Author:
axeptio
Message:

version 2.4.1 release

Location:
axeptio-sdk-integration
Files:
1770 added
4 edited

Legend:

Unmodified
Added
Removed
  • axeptio-sdk-integration/trunk/axeptio-wordpress-plugin.php

    r3108716 r3109261  
    44    Plugin URI: https://www.axeptio.eu/
    55    Description: Axeptio allows you to make your website compliant with GDPR.
    6     Version: 2.4
     6    Version: 2.4.1
    77    Author: axeptio
    88    License: GPLv3
     
    1414use Axeptio\Plugin\Models\Settings;
    1515
    16 define( 'XPWP_VERSION', '2.4' );
     16define( 'XPWP_VERSION', '2.4.1' );
    1717define( 'XPWP_URL', plugin_dir_url( __FILE__ ) );
    1818define( 'XPWP_PATH', plugin_dir_path( __FILE__ ) );
  • axeptio-sdk-integration/trunk/dist/js/frontend/axeptio.js

    r3108716 r3109261  
    11/*! For license information please see axeptio.js.LICENSE.txt */
    2 (()=>{function t(e){return t="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},t(e)}function e(){"use strict";e=function(){return r};var r={},n=Object.prototype,o=n.hasOwnProperty,i=Object.defineProperty||function(t,e,r){t[e]=r.value},a="function"==typeof Symbol?Symbol:{},c=a.iterator||"@@iterator",u=a.asyncIterator||"@@asyncIterator",s=a.toStringTag||"@@toStringTag";function f(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{f({},"")}catch(t){f=function(t,e,r){return t[e]=r}}function l(t,e,r,n){var o=e&&e.prototype instanceof d?e:d,a=Object.create(o.prototype),c=new O(n||[]);return i(a,"_invoke",{value:E(t,r,c)}),a}function p(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}r.wrap=l;var h={};function d(){}function v(){}function y(){}var g={};f(g,c,(function(){return this}));var w=Object.getPrototypeOf,m=w&&w(w(k([])));m&&m!==n&&o.call(m,c)&&(g=m);var x=y.prototype=d.prototype=Object.create(g);function b(t){["next","throw","return"].forEach((function(e){f(t,e,(function(t){return this._invoke(e,t)}))}))}function _(e,r){function n(i,a,c,u){var s=p(e[i],e,a);if("throw"!==s.type){var f=s.arg,l=f.value;return l&&"object"==t(l)&&o.call(l,"__await")?r.resolve(l.__await).then((function(t){n("next",t,c,u)}),(function(t){n("throw",t,c,u)})):r.resolve(l).then((function(t){f.value=t,c(f)}),(function(t){return n("throw",t,c,u)}))}u(s.arg)}var a;i(this,"_invoke",{value:function(t,e){function o(){return new r((function(r,o){n(t,e,r,o)}))}return a=a?a.then(o,o):o()}})}function E(t,e,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return A()}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var c=L(a,r);if(c){if(c===h)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var u=p(t,e,r);if("normal"===u.type){if(n=r.done?"completed":"suspendedYield",u.arg===h)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(n="completed",r.method="throw",r.arg=u.arg)}}}function L(t,e){var r=e.method,n=t.iterator[r];if(void 0===n)return e.delegate=null,"throw"===r&&t.iterator.return&&(e.method="return",e.arg=void 0,L(t,e),"throw"===e.method)||"return"!==r&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+r+"' method")),h;var o=p(n,t.iterator,e.arg);if("throw"===o.type)return e.method="throw",e.arg=o.arg,e.delegate=null,h;var i=o.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,h):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,h)}function S(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function j(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function O(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(S,this),this.reset(!0)}function k(t){if(t){var e=t[c];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var r=-1,n=function e(){for(;++r<t.length;)if(o.call(t,r))return e.value=t[r],e.done=!1,e;return e.value=void 0,e.done=!0,e};return n.next=n}}return{next:A}}function A(){return{value:void 0,done:!0}}return v.prototype=y,i(x,"constructor",{value:y,configurable:!0}),i(y,"constructor",{value:v,configurable:!0}),v.displayName=f(y,s,"GeneratorFunction"),r.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===v||"GeneratorFunction"===(e.displayName||e.name))},r.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,y):(t.__proto__=y,f(t,s,"GeneratorFunction")),t.prototype=Object.create(x),t},r.awrap=function(t){return{__await:t}},b(_.prototype),f(_.prototype,u,(function(){return this})),r.AsyncIterator=_,r.async=function(t,e,n,o,i){void 0===i&&(i=Promise);var a=new _(l(t,e,n,o),i);return r.isGeneratorFunction(e)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},b(x),f(x,s,"Generator"),f(x,c,(function(){return this})),f(x,"toString",(function(){return"[object Generator]"})),r.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},r.values=k,O.prototype={constructor:O,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(j),!t)for(var e in this)"t"===e.charAt(0)&&o.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function r(r,n){return a.type="throw",a.arg=t,e.next=r,n&&(e.method="next",e.arg=void 0),!!n}for(var n=this.tryEntries.length-1;n>=0;--n){var i=this.tryEntries[n],a=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var c=o.call(i,"catchLoc"),u=o.call(i,"finallyLoc");if(c&&u){if(this.prev<i.catchLoc)return r(i.catchLoc,!0);if(this.prev<i.finallyLoc)return r(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return r(i.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return r(i.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&o.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var i=n;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,h):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),h},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),j(r),h}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;j(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:k(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),h}},r}function r(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function n(){var t;return t=e().mark((function t(r){var n,o,i,a,c;return e().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=new TextEncoder,o=n.encode(r),t.next=4,crypto.subtle.digest("SHA-256",o);case 4:return i=t.sent,a=Array.from(new Uint8Array(i)),c=a.map((function(t){return t.toString(16).padStart(2,"0")})).join(""),t.abrupt("return",c);case 8:case"end":return t.stop()}}),t)})),n=function(){var e=this,n=arguments;return new Promise((function(o,i){var a=t.apply(e,n);function c(t){r(a,o,i,c,u,"next",t)}function u(t){r(a,o,i,c,u,"throw",t)}c(void 0)}))},n.apply(this,arguments)}window.axeptioWordpressSteps=window.axeptioWordpressSteps||[],window.axeptioWordpressVendors=window.axeptioWordpressVendors||[],window.Axeptio_SDK=window.Axeptio_SDK||[],window.axeptioAjax=window.axeptioAjax||[],window._axcb=window._axcb||[],window._axcb.push((function(t){function e(){return NodeFilter.FILTER_ACCEPT}t.on("ready",(function(){var e=t.getCookiesConfig().identifier;t.config.cookies.map((function(r){if("1"===window.Axeptio_SDK.enableGoogleConsentMode){var n,o;r.googleConsentMode={display:!0};var i=null==r||null===(n=r.steps)||void 0===n?void 0:n.some((function(t){return"como_v2"===t.layout}));if(null!=r&&null!==(o=r.googleConsentMode)&&void 0!==o&&o.display&&!i){var a={name:"google_consent_mode_v2",layout:"como_v2",identifier:"google_consent_mode_v2_".concat(Math.random().toString(36).substring(7))};null==r||r.steps.splice(1,0,a)}}r.identifier===e&&(window.axeptioWordpressVendors.forEach((function(t){if(t.step){var e=!1;if(r.steps.forEach((function(r){r.name!==t.step||"category"!==r.layout&&"info"!==r.layout||e||(e=!0,r.vendors=r.vendors||[],r.vendors.push(t))})),e)return;if(window.axeptioWordpressSteps.forEach((function(r){r.name!==t.step||e||(e=!0,r.vendors=r.vendors||[],r.vendors.push(t))})),e)return;if(r.steps.forEach((function(r){"category"!==r.category||e||(e=!0,r.vendors.push(t))})),e)return;if(r.steps.forEach((function(r){"info"!==r.category||e||(e=!0,r.vendors.push(t))})),e)return;console.warn("Could not add the Axeptio Plugin Vendor to the configuration")}})),window.axeptioWordpressSteps.forEach((function(t){t.vendors&&t.vendors.length>0&&r.steps.push(t)})),document.querySelectorAll("[data-axeptio-consent]")&&document.querySelectorAll("[data-axeptio-consent]").forEach((function(e){e.addEventListener("click",(function(){var r=e.getAttribute("data-axeptio-consent");console.log(r),t.requestConsent("wp_"+r)}))})))}))})),t.on("cookies:complete",(function(r){var o;(function(t){return n.apply(this,arguments)})((o=r,Object.keys(o).filter((function(t){return!0===o[t]})).join("_"))).then((function(t){!function(t,e,r){var n="";if(r){var o=new Date;o.setTime(o.getTime()+24*r*60*60*1e3),n="; expires="+o.toUTCString()}document.cookie=t+"="+(e||"")+n+"; path=/"}("axeptio_cache_identifier",t,7)}));var i=new FormData;i.append("action","set_cookie"),i.append("relative_path",window.axeptioAjax.wp.relativePath),i.append("userPreferencesManager",JSON.stringify(t.userPreferencesManager)),fetch(window.axeptioAjax.url,{method:"POST",credentials:"same-origin",body:i}).then((function(t){return t.json()})).then((function(t){console.log("Réponse :",t)})).catch((function(t){return console.error("Erreur :",t)})),function(t){var r,n=[],o=document.createNodeIterator(t,NodeFilter.SHOW_COMMENT,e,!1);for(;r=o.nextNode();)n.push(r);return n}(document.body).forEach((function(t){if(t.nodeValue.indexOf("axeptio_blocked")>-1){var e=t.nodeValue.match(/axeptio_blocked ([\w_-]+)/)[1];if(!r["wp_"+e])return;var n=t.previousElementSibling;n&&n.remove();var o=t.nodeValue.split("\n").slice(1).join("\n"),i=document.createElement("div");i.innerHTML=o,t.parentElement.replaceChild(i.childNodes[0],t)}}))}))}))})();
     2(()=>{function t(e){return t="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},t(e)}function e(){"use strict";e=function(){return r};var r={},n=Object.prototype,o=n.hasOwnProperty,i=Object.defineProperty||function(t,e,r){t[e]=r.value},a="function"==typeof Symbol?Symbol:{},c=a.iterator||"@@iterator",u=a.asyncIterator||"@@asyncIterator",s=a.toStringTag||"@@toStringTag";function f(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{f({},"")}catch(t){f=function(t,e,r){return t[e]=r}}function l(t,e,r,n){var o=e&&e.prototype instanceof d?e:d,a=Object.create(o.prototype),c=new j(n||[]);return i(a,"_invoke",{value:E(t,r,c)}),a}function p(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}r.wrap=l;var h={};function d(){}function v(){}function y(){}var g={};f(g,c,(function(){return this}));var m=Object.getPrototypeOf,w=m&&m(m(k([])));w&&w!==n&&o.call(w,c)&&(g=w);var x=y.prototype=d.prototype=Object.create(g);function b(t){["next","throw","return"].forEach((function(e){f(t,e,(function(t){return this._invoke(e,t)}))}))}function _(e,r){function n(i,a,c,u){var s=p(e[i],e,a);if("throw"!==s.type){var f=s.arg,l=f.value;return l&&"object"==t(l)&&o.call(l,"__await")?r.resolve(l.__await).then((function(t){n("next",t,c,u)}),(function(t){n("throw",t,c,u)})):r.resolve(l).then((function(t){f.value=t,c(f)}),(function(t){return n("throw",t,c,u)}))}u(s.arg)}var a;i(this,"_invoke",{value:function(t,e){function o(){return new r((function(r,o){n(t,e,r,o)}))}return a=a?a.then(o,o):o()}})}function E(t,e,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return N()}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var c=L(a,r);if(c){if(c===h)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var u=p(t,e,r);if("normal"===u.type){if(n=r.done?"completed":"suspendedYield",u.arg===h)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(n="completed",r.method="throw",r.arg=u.arg)}}}function L(t,e){var r=e.method,n=t.iterator[r];if(void 0===n)return e.delegate=null,"throw"===r&&t.iterator.return&&(e.method="return",e.arg=void 0,L(t,e),"throw"===e.method)||"return"!==r&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+r+"' method")),h;var o=p(n,t.iterator,e.arg);if("throw"===o.type)return e.method="throw",e.arg=o.arg,e.delegate=null,h;var i=o.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,h):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,h)}function S(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function O(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function j(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(S,this),this.reset(!0)}function k(t){if(t){var e=t[c];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var r=-1,n=function e(){for(;++r<t.length;)if(o.call(t,r))return e.value=t[r],e.done=!1,e;return e.value=void 0,e.done=!0,e};return n.next=n}}return{next:N}}function N(){return{value:void 0,done:!0}}return v.prototype=y,i(x,"constructor",{value:y,configurable:!0}),i(y,"constructor",{value:v,configurable:!0}),v.displayName=f(y,s,"GeneratorFunction"),r.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===v||"GeneratorFunction"===(e.displayName||e.name))},r.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,y):(t.__proto__=y,f(t,s,"GeneratorFunction")),t.prototype=Object.create(x),t},r.awrap=function(t){return{__await:t}},b(_.prototype),f(_.prototype,u,(function(){return this})),r.AsyncIterator=_,r.async=function(t,e,n,o,i){void 0===i&&(i=Promise);var a=new _(l(t,e,n,o),i);return r.isGeneratorFunction(e)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},b(x),f(x,s,"Generator"),f(x,c,(function(){return this})),f(x,"toString",(function(){return"[object Generator]"})),r.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},r.values=k,j.prototype={constructor:j,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(O),!t)for(var e in this)"t"===e.charAt(0)&&o.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function r(r,n){return a.type="throw",a.arg=t,e.next=r,n&&(e.method="next",e.arg=void 0),!!n}for(var n=this.tryEntries.length-1;n>=0;--n){var i=this.tryEntries[n],a=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var c=o.call(i,"catchLoc"),u=o.call(i,"finallyLoc");if(c&&u){if(this.prev<i.catchLoc)return r(i.catchLoc,!0);if(this.prev<i.finallyLoc)return r(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return r(i.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return r(i.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&o.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var i=n;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,h):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),h},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),O(r),h}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;O(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:k(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),h}},r}function r(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function n(){var t;return t=e().mark((function t(r){var n,o,i,a,c;return e().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=new TextEncoder,o=n.encode(r),t.next=4,crypto.subtle.digest("SHA-256",o);case 4:return i=t.sent,a=Array.from(new Uint8Array(i)),c=a.map((function(t){return t.toString(16).padStart(2,"0")})).join(""),t.abrupt("return",c);case 8:case"end":return t.stop()}}),t)})),n=function(){var e=this,n=arguments;return new Promise((function(o,i){var a=t.apply(e,n);function c(t){r(a,o,i,c,u,"next",t)}function u(t){r(a,o,i,c,u,"throw",t)}c(void 0)}))},n.apply(this,arguments)}window.axeptioWordpressSteps=window.axeptioWordpressSteps||[],window.axeptioWordpressVendors=window.axeptioWordpressVendors||[],window.Axeptio_SDK=window.Axeptio_SDK||[],window._axcb=window._axcb||[],window._axcb.push((function(t){function e(){return NodeFilter.FILTER_ACCEPT}t.on("ready",(function(){var e=t.getCookiesConfig().identifier;t.config.cookies.map((function(r){if("1"===window.Axeptio_SDK.enableGoogleConsentMode){var n,o;r.googleConsentMode={display:!0};var i=null==r||null===(n=r.steps)||void 0===n?void 0:n.some((function(t){return"como_v2"===t.layout}));if(null!=r&&null!==(o=r.googleConsentMode)&&void 0!==o&&o.display&&!i){var a={name:"google_consent_mode_v2",layout:"como_v2",identifier:"google_consent_mode_v2_".concat(Math.random().toString(36).substring(7))};null==r||r.steps.splice(1,0,a)}}r.identifier===e&&(window.axeptioWordpressVendors.forEach((function(t){if(t.step){var e=!1;if(r.steps.forEach((function(r){r.name!==t.step||"category"!==r.layout&&"info"!==r.layout||e||(e=!0,r.vendors=r.vendors||[],r.vendors.push(t))})),e)return;if(window.axeptioWordpressSteps.forEach((function(r){r.name!==t.step||e||(e=!0,r.vendors=r.vendors||[],r.vendors.push(t))})),e)return;if(r.steps.forEach((function(r){"category"!==r.category||e||(e=!0,r.vendors.push(t))})),e)return;if(r.steps.forEach((function(r){"info"!==r.category||e||(e=!0,r.vendors.push(t))})),e)return;console.warn("Could not add the Axeptio Plugin Vendor to the configuration")}})),window.axeptioWordpressSteps.forEach((function(t){t.vendors&&t.vendors.length>0&&r.steps.push(t)})),document.querySelectorAll("[data-axeptio-consent]")&&document.querySelectorAll("[data-axeptio-consent]").forEach((function(e){e.addEventListener("click",(function(){var r=e.getAttribute("data-axeptio-consent");console.log(r),t.requestConsent("wp_"+r)}))})))}))})),t.on("cookies:complete",(function(t){var r;(function(t){return n.apply(this,arguments)})((r=t,Object.keys(r).filter((function(t){return!0===r[t]})).join("_"))).then((function(t){!function(t,e,r){var n="";if(r){var o=new Date;o.setTime(o.getTime()+24*r*60*60*1e3),n="; expires="+o.toUTCString()}document.cookie=t+"="+(e||"")+n+"; path=/"}("axeptio_cache_identifier",t,7)})),function(t){var r,n=[],o=document.createNodeIterator(t,NodeFilter.SHOW_COMMENT,e,!1);for(;r=o.nextNode();)n.push(r);return n}(document.body).forEach((function(e){if(e.nodeValue.indexOf("axeptio_blocked")>-1){var r=e.nodeValue.match(/axeptio_blocked ([\w_-]+)/)[1];if(!t["wp_"+r])return;var n=e.previousElementSibling;n&&n.remove();var o=e.nodeValue.split("\n").slice(1).join("\n"),i=document.createElement("div");i.innerHTML=o,e.parentElement.replaceChild(i.childNodes[0],e)}}))}))}))})();
  • axeptio-sdk-integration/trunk/includes/classes/class-module-initialization.php

    r3108716 r3109261  
    7777            Plugins::class,
    7878            Wp_Rocket::class,
     79            Settings::class,
    7980            Sdk_Proxy::class,
    80             Settings::class,
    8181        );
    8282    }
  • axeptio-sdk-integration/trunk/readme.txt

    r3108718 r3109261  
    8585== Changelog ==
    8686
     87### 🐞 2.4.1 🐞 ###
     88
     89- **Fixed a bug related to Axeptio cookie preferences**
     90Oops! One of our new features was a bit too eager to launch and introduced a bug in the Axeptio cookie preferences. We've now fixed this issue so everything works perfectly. 🚀🔧
     91
     92Thank you for your patience and understanding. Enjoy an even smoother experience with this update! 🎉
     93
    8794### 🎨 2.4 🎨 ###
    8895
Note: See TracChangeset for help on using the changeset viewer.