@ -1,12 +1,12 @@
( self [ "webpackChunk" ] = self [ "webpackChunk" ] || [ ] ) . push ( [ [ 31 496 ] , {
( self [ "webpackChunk" ] = self [ "webpackChunk" ] || [ ] ) . push ( [ [ 31 045 ] , {
/***/ 31 496 :
/***/ 31 045 :
/ * ! * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ! * \
! * * * . / node _modules / _dompurify @ 2.5 . 1 @ dompurify / dist / purify . js * * * !
! * * * . / node _modules / _dompurify @ 2.5 . 2 @ dompurify / dist / purify . js * * * !
\ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * /
/***/ ( function ( module ) {
/*! @license DOMPurify 2.5. 1 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/2.5.1 /LICENSE */
/*! @license DOMPurify 2.5. 2 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/2.5.2 /LICENSE */
( function ( global , factory ) {
true ? module . exports = factory ( ) :
@ -294,7 +294,7 @@
* Version label , exposed for easier checks
* if DOMPurify is up to date or not
* /
DOMPurify . version = '2.5. 1 ';
DOMPurify . version = '2.5. 2 ';
/ * *
* Array of elements that DOMPurify removed during sanitation .
@ -684,7 +684,7 @@
CONFIG = cfg ;
} ;
var MATHML _TEXT _INTEGRATION _POINTS = addToSet ( { } , [ 'mi' , 'mo' , 'mn' , 'ms' , 'mtext' ] ) ;
var HTML _INTEGRATION _POINTS = addToSet ( { } , [ 'foreignobject' , ' desc', 'title' , ' annotation-xml'] ) ;
var HTML _INTEGRATION _POINTS = addToSet ( { } , [ 'foreignobject' , ' annotation-xml'] ) ;
// Certain elements are allowed in both SVG and HTML
// namespace. We need to specify them explicitly
@ -1255,15 +1255,16 @@
if ( _sanitizeElements ( shadowNode ) ) {
continue ;
}
var parentNode = getParentNode ( shadowNode ) ;
/* Set the nesting depth of an element */
if ( shadowNode . nodeType === 1 ) {
if ( shadowNode. parentNode && shadowNode . parentNode . _ _depth ) {
if ( parentNode && parentNode . _ _depth ) {
/ *
We want the depth of the node in the original tree , which can
change when it ' s removed from its parent .
* /
shadowNode . _ _depth = ( shadowNode . _ _removalCount || 0 ) + shadowNode. parentNode. _ _depth + 1 ;
shadowNode . _ _depth = ( shadowNode . _ _removalCount || 0 ) + parentNode. _ _depth + 1 ;
} else {
shadowNode . _ _depth = 1 ;
}
@ -1406,15 +1407,16 @@
if ( _sanitizeElements ( currentNode ) ) {
continue ;
}
var parentNode = getParentNode ( currentNode ) ;
/* Set the nesting depth of an element */
if ( currentNode . nodeType === 1 ) {
if ( currentNode. parentNode && currentNode . parentNode . _ _depth ) {
if ( parentNode && parentNode . _ _depth ) {
/ *
We want the depth of the node in the original tree , which can
change when it ' s removed from its parent .
* /
currentNode . _ _depth = ( currentNode . _ _removalCount || 0 ) + currentNode. parentNode. _ _depth + 1 ;
currentNode . _ _depth = ( currentNode . _ _removalCount || 0 ) + parentNode. _ _depth + 1 ;
} else {
currentNode . _ _depth = 1 ;
}