/*! * Web Experience Toolkit (WET) / Boîte à outils de l'expérience Web (BOEW) * wet-boew.github.io/wet-boew/License-en.html / wet-boew.github.io/wet-boew/Licence-fr.html * v4.0.61.1 - 2023-05-09 * */ /*! Modernizr (Custom Build) | MIT & BSD */ /*! @license DOMPurify 2.4.4 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/2.4.4/LICENSE */ !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).DOMPurify=t()}(this,function(){"use strict";function Fe(e){return(Fe="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})(e)}function n(e,t){return(n=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function r(e,t,a){return(r=function(){if("undefined"!=typeof Reflect&&Reflect.construct&&!Reflect.construct.sham){if("function"==typeof Proxy)return 1;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),1}catch(e){}}}()?Reflect.construct:function(e,t,a){var r=[null];r.push.apply(r,t);t=new(Function.bind.apply(e,r));return a&&n(t,a.prototype),t}).apply(null,arguments)}function _e(e){return function(e){if(Array.isArray(e))return i(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){var a;if(e)return"string"==typeof e?i(e,t):"Map"===(a="Object"===(a=Object.prototype.toString.call(e).slice(8,-1))&&e.constructor?e.constructor.name:a)||"Set"===a?Array.from(e):"Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?i(e,t):void 0}(e)||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(e,t){(null==t||t>e.length)&&(t=e.length);for(var a=0,r=new Array(t);a/gm),bt=e(/\${[\w\W]*}/gm),yt=e(/^data-[\-\w.\u00B7-\uFFFF]/),wt=e(/^aria-[\-\w]+$/),vt=e(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),xt=e(/^(?:\w+script|data):/i),Tt=e(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),kt=e(/^html$/i);return function z(e){var s=0"+e:a=(a=dt(e,/^[\r\n\t ]+/))&&a[0],"application/xhtml+xml"===g&&M===D&&(e=''+e+"");var t,a,r=f?f.createHTML(e):e;if(M===D)try{t=(new F).parseFromString(r,g)}catch(e){}if(!t||!t.documentElement){t=W.createDocument(M,"template",null);try{t.documentElement.innerHTML=$?h:r}catch(e){}}return r=t.body||t.documentElement,e&&a&&r.insertBefore(n.createTextNode(a),r.childNodes[0]||null),M===D?G.call(t,T?"html":"body")[0]:T?t.documentElement:r},Re=function(e){return V.call(e.ownerDocument||e,e,t.SHOW_ELEMENT|t.SHOW_COMMENT|t.SHOW_TEXT,null,!1)},L=function(e){return"object"===Fe(d)?e instanceof d:e&&"object"===Fe(e)&&"number"==typeof e.nodeType&&"string"==typeof e.nodeName},R=function(e,t,a){r[e]&&ct(r[e],function(e){e.call(c,t,a,o)})},ze=function(e){if(R("beforeSanitizeElements",e,null),(!((i=e)instanceof H)||"string"==typeof i.nodeName&&"string"==typeof i.textContent&&"function"==typeof i.removeChild&&i.attributes instanceof U&&"function"==typeof i.removeAttribute&&"function"==typeof i.setAttribute&&"string"==typeof i.namespaceURI&&"function"==typeof i.insertBefore&&"function"==typeof i.hasChildNodes)&&!Ke(/[\u0080-\uFFFF]/,e.nodeName)){var t,a,r,n,i=m(e.nodeName);if(R("uponSanitizeElement",e,{"tagName":i,"allowedTags":b}),(!e.hasChildNodes()||L(e.firstElementChild)||L(e.content)&&L(e.content.firstElementChild)||!Ke(/<[/\w]/g,e.innerHTML)||!Ke(/<[/\w]/g,e.textContent))&&("select"!==i||!Ke(/