@ -1,12 +1,12 @@
( self [ "webpackChunk" ] = self [ "webpackChunk" ] || [ ] ) . push ( [ [ 21622 ] , {
( self [ "webpackChunk" ] = self [ "webpackChunk" ] || [ ] ) . push ( [ [ 73985 ] , {
/***/ 21622 :
/***/ 73985 :
/ * ! * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ! * \
! * * * . / node _modules / _dompurify @ 2.5 . 7 @ dompurify / dist / purify . js * * * !
! * * * . / node _modules / _dompurify @ 2.5 . 8 @ dompurify / dist / purify . js * * * !
\ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * /
/***/ ( function ( module ) {
/*! @license DOMPurify 2.5. 7 | (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.7 /LICENSE */
/*! @license DOMPurify 2.5. 8 | (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.8 /LICENSE */
( function ( global , factory ) {
true ? module . exports = factory ( ) :
@ -231,7 +231,7 @@
var MUSTACHE _EXPR = seal ( /\{\{[\w\W]*|[\w\W]*\}\}/gm ) ; // Specify template detection regex for SAFE_FOR_TEMPLATES mode
var ERB _EXPR = seal ( /<%[\w\W]*|[\w\W]*%>/gm ) ;
var TMPLIT _EXPR = seal ( /\${[\w\W]*}/gm ) ;
var DATA _ATTR = seal ( /^data-[\-\w.\u00B7-\uFFFF] /) ; // eslint-disable-line no-useless-escape
var DATA _ATTR = seal ( /^data-[\-\w.\u00B7-\uFFFF] +$ /) ; // eslint-disable-line no-useless-escape
var ARIA _ATTR = seal ( /^aria-[\-\w]+$/ ) ; // eslint-disable-line no-useless-escape
var IS _ALLOWED _URI = seal ( /^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i // eslint-disable-line no-useless-escape
) ;
@ -294,7 +294,7 @@
* Version label , exposed for easier checks
* if DOMPurify is up to date or not
* /
DOMPurify . version = '2.5. 7 ';
DOMPurify . version = '2.5. 8 ';
/ * *
* Array of elements that DOMPurify removed during sanitation .
@ -1129,7 +1129,7 @@
var attributes = currentNode . attributes ;
/* Check if we have attributes; if not we might have a text node */
if ( ! attributes ) {
if ( ! attributes || _isClobbered ( currentNode ) ) {
return ;
}
var hookEvent = {
@ -1258,19 +1258,16 @@
while ( shadowNode = shadowIterator . nextNode ( ) ) {
/* Execute a hook if present */
_executeHook ( 'uponSanitizeShadowNode' , shadowNode , null ) ;
/* Sanitize tags and elements */
if ( _sanitizeElements ( shadowNode ) ) {
continue ;
}
_sanitizeElements ( shadowNode ) ;
/* Check attributes next */
_sanitizeAttributes ( shadowNode ) ;
/* Deep shadow DOM detected */
if ( shadowNode . content instanceof DocumentFragment ) {
_sanitizeShadowDOM ( shadowNode . content ) ;
}
/* Check attributes, sanitize if necessary */
_sanitizeAttributes ( shadowNode ) ;
}
/* Execute a hook if present */
@ -1392,17 +1389,15 @@
}
/* Sanitize tags and elements */
if ( _sanitizeElements ( currentNode ) ) {
continue ;
}
_sanitizeElements ( currentNode ) ;
/* Check attributes next */
_sanitizeAttributes ( currentNode ) ;
/* Shadow DOM detected, sanitize it */
if ( currentNode . content instanceof DocumentFragment ) {
_sanitizeShadowDOM ( currentNode . content ) ;
}
/* Check attributes, sanitize if necessary */
_sanitizeAttributes ( currentNode ) ;
oldNode = currentNode ;
}
oldNode = null ;