@ -1,9 +1,9 @@
"use strict" ;
( self [ "webpackChunk" ] = self [ "webpackChunk" ] || [ ] ) . push ( [ [ 8763 1] , {
( self [ "webpackChunk" ] = self [ "webpackChunk" ] || [ ] ) . push ( [ [ 12125 ] , {
/***/ 8763 1:
/***/ 12125 :
/ * ! * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ! * \
! * * * . / node _modules / _dompurify @ 3.2 . 4 @ dompurify / dist / purify . es . mjs * * * !
! * * * . / node _modules / _dompurify @ 3.2 . 5 @ dompurify / dist / purify . es . mjs * * * !
\ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * /
/***/ ( function ( _ _unused _webpack _ _ _webpack _module _ _ , _ _webpack _exports _ _ , _ _webpack _require _ _ ) {
@ -11,7 +11,7 @@ __webpack_require__.r(__webpack_exports__);
/* harmony export */ _ _webpack _require _ _ . d ( _ _webpack _exports _ _ , {
/* harmony export */ "default" : function ( ) { return /* binding */ purify ; }
/* harmony export */ } ) ;
/*! @license DOMPurify 3.2. 4 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.2.4 /LICENSE */
/*! @license DOMPurify 3.2. 5 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.2.5 /LICENSE */
const {
entries ,
@ -71,6 +71,9 @@ const typeErrorCreate = unconstruct(TypeError);
* /
function unapply ( func ) {
return function ( thisArg ) {
if ( thisArg instanceof RegExp ) {
thisArg . lastIndex = 0 ;
}
for ( var _len = arguments . length , args = new Array ( _len > 1 ? _len - 1 : 0 ) , _key = 1 ; _key < _len ; _key ++ ) {
args [ _key - 1 ] = arguments [ _key ] ;
}
@ -309,7 +312,7 @@ const _createHooksMap = function _createHooksMap() {
function createDOMPurify ( ) {
let window = arguments . length > 0 && arguments [ 0 ] !== undefined ? arguments [ 0 ] : getGlobal ( ) ;
const DOMPurify = root => createDOMPurify ( root ) ;
DOMPurify . version = '3.2. 4 ';
DOMPurify . version = '3.2. 5 ';
DOMPurify . removed = [ ] ;
if ( ! window || ! window . document || window . document . nodeType !== NODE _TYPE . document || ! window . Element ) {
// Not running in a browser, provide a factory function
@ -914,7 +917,7 @@ function createDOMPurify() {
allowedTags : ALLOWED _TAGS
} ) ;
/* Detect mXSS attempts abusing namespace confusion */
if ( currentNode . hasChildNodes ( ) && ! _isNode ( currentNode . firstElementChild ) && regExpTest ( /<[/\w ]/g, currentNode . innerHTML ) && regExpTest ( /<[/\w ]/g, currentNode . textContent ) ) {
if ( currentNode . hasChildNodes ( ) && ! _isNode ( currentNode . firstElementChild ) && regExpTest ( /<[/\w ! ]/g, currentNode . innerHTML ) && regExpTest ( /<[/\w ! ]/g, currentNode . textContent ) ) {
_forceRemove ( currentNode ) ;
return true ;
}