You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
NewEduCoderBuild/266.e6f1b8fc.async.js

2 lines
17 KiB

(window.webpackJsonp=window.webpackJsonp||[]).push([[266],{wMS7:function(Ke,xt,Lt){/*! @license DOMPurify | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/2.0.8/LICENSE */(function(pe,X){Ke.exports=X()})(this,function(){"use strict";function pe(a){if(Array.isArray(a)){for(var r=0,o=Array(a.length);r<a.length;r++)o[r]=a[r];return o}else return Array.from(a)}var X=Object.hasOwnProperty,me=Object.setPrototypeOf,Xe=Object.isFrozen,Ve=Object.keys,h=Object.freeze,E=Object.seal,Ye=Object.create,he=typeof Reflect!="undefined"&&Reflect,j=he.apply,V=he.construct;j||(j=function(r,o,u){return r.apply(o,u)}),h||(h=function(r){return r}),E||(E=function(r){return r}),V||(V=function(r,o){return new(Function.prototype.bind.apply(r,[null].concat(pe(o))))});var Je=y(Array.prototype.forEach),Qe=y(Array.prototype.indexOf),Ze=y(Array.prototype.join),ve=y(Array.prototype.pop),k=y(Array.prototype.push),et=y(Array.prototype.slice),I=y(String.prototype.toLowerCase),ye=y(String.prototype.match),T=y(String.prototype.replace),tt=y(String.prototype.indexOf),rt=y(String.prototype.trim),b=y(RegExp.prototype.test),at=ge(RegExp),be=ge(TypeError);function y(a){return function(r){for(var o=arguments.length,u=Array(o>1?o-1:0),c=1;c<o;c++)u[c-1]=arguments[c];return j(a,r,u)}}function ge(a){return function(){for(var r=arguments.length,o=Array(r),u=0;u<r;u++)o[u]=arguments[u];return V(a,o)}}function s(a,r){me&&me(a,null);for(var o=r.length;o--;){var u=r[o];if(typeof u=="string"){var c=I(u);c!==u&&(Xe(r)||(r[o]=c),u=c)}a[u]=!0}return a}function M(a){var r=Ye(null),o=void 0;for(o in a)j(X,a,[o])&&(r[o]=a[o]);return r}var Te=h(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),_e=h(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","audio","canvas","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","video","view","vkern"]),Ae=h(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),De=h(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover"]),Ee=h(["#text"]),we=h(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","xmlns"]),Y=h(["accent-height","accumulate","additive","alignment-baseline","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","targetx","targety","transform","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),Oe=h(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),B=h(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),it=E(/\{\{[\s\S]*|[\s\S]*\}\}/gm),nt=E(/<%[\s\S]*|[\s\S]*%>/gm),ot=E(/^data-[\-\w.\u00B7-\uFFFF]/),st=E(/^aria-[\-\w]+$/),lt=E(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),ut=E(/^(?:\w+script|data):/i),ct=E(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),P=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(a){return typeof a}:function(a){return a&&typeof Symbol=="function"&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a};function _(a){if(Array.isArray(a)){for(var r=0,o=Array(a.length);r<a.length;r++)o[r]=a[r];return o}else return Array.from(a)}var ft=function(){return typeof window=="undefined"?null:window},dt=function(r,o){if((typeof r=="undefined"?"undefined":P(r))!=="object"||typeof r.createPolicy!="function")return null;var u=null,c="data-tt-policy-suffix";o.currentScript&&o.currentScript.hasAttribute(c)&&(u=o.currentScript.getAttribute(c));var F="dompurify"+(u?"#"+u:"");try{return r.createPolicy(F,{createHTML:function(R){return R}})}catch(J){return console.warn("TrustedTypes policy "+F+" could not be created."),null}};function Se(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:ft(),r=function(e){return Se(e)};if(r.version="2.0.15",r.removed=[],!a||!a.document||a.document.nodeType!==9)return r.isSupported=!1,r;var o=a.document,u=!1,c=a.document,F=a.DocumentFragment,J=a.HTMLTemplateElement,R=a.Node,G=a.NodeFilter,ke=a.NamedNodeMap,mt=ke===void 0?a.NamedNodeMap||a.MozNamedAttrMap:ke,ht=a.Text,vt=a.Comment,yt=a.DOMParser,bt=a.trustedTypes;if(typeof J=="function"){var Q=c.createElement("template");Q.content&&Q.content.ownerDocument&&(c=Q.content.ownerDocument)}var A=dt(bt,o),Me=A&&K?A.createHTML(""):"",$=c,Z=$.implementation,gt=$.createNodeIterator,Tt=$.getElementsByTagName,_t=$.createDocumentFragment,At=o.importNode,Dt=M(c).documentMode?c.documentMode:{},D={};r.isSupported=Z&&typeof Z.createHTMLDocument!="undefined"&&Dt!==9;var ee=it,te=nt,Et=ot,wt=st,Ot=ut,Re=ct,re=lt,d=null,xe=s({},[].concat(_(Te),_(_e),_(Ae),_(De),_(Ee))),p=null,Le=s({},[].concat(_(we),_(Y),_(Oe),_(B))),q=null,ae=null,Ce=!0,ie=!0,Ie=!1,ne=!1,x=!1,N=!1,oe=!1,se=!1,H=!1,le=!1,Pe=!1,K=!1,Fe=!0,ue=!0,z=!1,L={},Ne=s({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","plaintext","script","style","svg","template","thead","title","video","xmp"]),He=null,ze=s({},["audio","video","img","source","image","track"]),ce=null,Ue=s({},["alt","class","for","id","label","name","pattern","placeholder","summary","title","value","style","xmlns"]),C=null,St=c.createElement("form"),fe=function(e){if(C&&C===e)return;(!e||(typeof e=="undefined"?"undefined":P(e))!=="object")&&(e={}),e=M(e),d="ALLOWED_TAGS"in e?s({},e.ALLOWED_TAGS):xe,p="ALLOWED_ATTR"in e?s({},e.ALLOWED_ATTR):Le,ce="ADD_URI_SAFE_ATTR"in e?s(M(Ue),e.ADD_URI_SAFE_ATTR):Ue,He="ADD_DATA_URI_TAGS"in e?s(M(ze),e.ADD_DATA_URI_TAGS):ze,q="FORBID_TAGS"in e?s({},e.FORBID_TAGS):{},ae="FORBID_ATTR"in e?s({},e.FORBID_ATTR):{},L="USE_PROFILES"in e?e.USE_PROFILES:!1,Ce=e.ALLOW_ARIA_ATTR!==!1,ie=e.ALLOW_DATA_ATTR!==!1,Ie=e.ALLOW_UNKNOWN_PROTOCOLS||!1,ne=e.SAFE_FOR_JQUERY||!1,x=e.SAFE_FOR_TEMPLATES||!1,N=e.WHOLE_DOCUMENT||!1,H=e.RETURN_DOM||!1,le=e.RETURN_DOM_FRAGMENT||!1,Pe=e.RETURN_DOM_IMPORT||!1,K=e.RETURN_TRUSTED_TYPE||!1,se=e.FORCE_BODY||!1,Fe=e.SANITIZE_DOM!==!1,ue=e.KEEP_CONTENT!==!1,z=e.IN_PLACE||!1,re=e.ALLOWED_URI_REGEXP||re,x&&(ie=!1),le&&(H=!0),L&&(d=s({},[].concat(_(Ee))),p=[],L.html===!0&&(s(d,Te),s(p,we)),L.svg===!0&&(s(d,_e),s(p,Y),s(p,B)),L.svgFilters===!0&&(s(d,Ae),s(p,Y),s(p,B)),L.mathMl===!0&&(s(d,De),s(p,Oe),s(p,B))),e.ADD_TAGS&&(d===xe&&(d=M(d)),s(d,e.ADD_TAGS)),e.ADD_ATTR&&(p===Le&&(p=M(p)),s(p,e.ADD_ATTR)),e.ADD_URI_SAFE_ATTR&&s(ce,e.ADD_URI_SAFE_ATTR),ue&&(d["#text"]=!0),N&&s(d,["html","head","body"]),d.table&&(s(d,["tbody"]),delete q.tbody),h&&h(e),C=e},S=function(e){k(r.removed,{element:e});try{e.parentNode.removeChild(e)}catch(t){e.outerHTML=Me}},U=function(e,t){try{k(r.removed,{attribute:t.getAttributeNode(e),from:t})}catch(n){k(r.removed,{attribute:null,from:t})}t.removeAttribute(e)},de=function(e){var t=void 0,n=void 0;if(se)e="<remove></remove>"+e;else{var l=ye(e,/^[\r\n\t ]+/);n=l&&l[0]}var g=A?A.createHTML(e):e;try{t=new yt().parseFromString(g,"text/html")}catch(f){}if(u&&s(q,["title"]),!t||!t.documentElement){t=Z.createHTMLDocument("");var v=t,m=v.body;m.parentNode.removeChild(m.parentNode.firstElementChild),m.outerHTML=g}return e&&n&&t.body.insertBefore(c.createTextNode(n),t.body.childNodes[0]||null),Tt.call(t,N?"html":"body")[0]};r.isSupported&&function(){try{var i=de("<x/><title>&lt;/title&gt;&lt;img&gt;");b(/<\/title/,i.querySelector("title").innerHTML)&&(u=!0)}catch(e){}}();var We=function(e){return gt.call(e.ownerDocument||e,e,G.SHOW_ELEMENT|G.SHOW_COMMENT|G.SHOW_TEXT,function(){return G.FILTER_ACCEPT},!1)},kt=function(e){return e instanceof ht||e instanceof vt?!1:typeof e.nodeName!="string"||typeof e.textContent!="string"||typeof e.removeChild!="function"||!(e.attributes instanceof mt)||typeof e.removeAttribute!="function"||typeof e.setAttribute!="function"||typeof e.namespaceURI!="string"},W=function(e){return(typeof R=="undefined"?"undefined":P(R))==="object"?e instanceof R:e&&(typeof e=="undefined"?"undefined":P(e))==="object"&&typeof e.nodeType=="number"&&typeof e.nodeName=="string"},w=function(e,t,n){if(!D[e])return;Je(D[e],function(l){l.call(r,t,n,C)})},je=function(e){var t=void 0;if(w("beforeSanitizeElements",e,null),kt(e))return S(e),!0;if(ye(e.nodeName,/[\u0080-\uFFFF]/))return S(e),!0;var n=I(e.nodeName);if(w("uponSanitizeElement",e,{tagName:n,allowedTags:d}),(n==="svg"||n==="math")&&e.querySelectorAll("p, br").length!==0)return S(e),!0;if(!d[n]||q[n]){if(ue&&!Ne[n]&&typeof e.insertAdjacentHTML=="function")try{var l=e.innerHTML;e.insertAdjacentHTML("AfterEnd",A?A.createHTML(l):l)}catch(g){}return S(e),!0}return n==="noscript"&&b(/<\/noscript/i,e.innerHTML)||n==="noembed"&&b(/<\/noembed/i,e.innerHTML)?(S(e),!0):(ne&&!W(e.firstElementChild)&&(!W(e.content)||!W(e.content.firstElementChild))&&b(/</g,e.textContent)&&(k(r.removed,{element:e.cloneNode()}),e.innerHTML?e.innerHTML=T(e.innerHTML,/</g,"&lt;"):e.innerHTML=T(e.textContent,/</g,"&lt;")),x&&e.nodeType===3&&(t=e.textContent,t=T(t,ee," "),t=T(t,te," "),e.textContent!==t&&(k(r.removed,{element:e.cloneNode()}),e.textContent=t)),w("afterSanitizeElements",e,null),!1)},Be=function(e,t,n){if(Fe&&(t==="id"||t==="name")&&(n in c||n in St))return!1;if(!(ie&&b(Et,t))){if(!(Ce&&b(wt,t))){if(!p[t]||ae[t])return!1;if(!ce[t]){if(!b(re,T(n,Re,""))){if(!((t==="src"||t==="xlink:href"||t==="href")&&e!=="script"&&tt(n,"data:")===0&&He[e])){if(!(Ie&&!b(Ot,T(n,Re,"")))){if(n)return!1}}}}}}return!0},Ge=function(e){var t=void 0,n=void 0,l=void 0,g=void 0,v=void 0;w("beforeSanitizeAttributes",e,null);var m=e.attributes;if(!m)return;var f={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:p};for(v=m.length;v--;){t=m[v];var $e=t,O=$e.name,qe=$e.namespaceURI;if(n=rt(t.value),l=I(O),f.attrName=l,f.attrValue=n,f.keepAttr=!0,f.forceKeepAttr=void 0,w("uponSanitizeAttribute",e,f),n=f.attrValue,f.forceKeepAttr)continue;if(l==="name"&&e.nodeName==="IMG"&&m.id)g=m.id,m=et(m,[]),U("id",e),U(O,e),Qe(m,g)>v&&e.setAttribute("id",g.value);else{if(e.nodeName==="INPUT"&&l==="type"&&n==="file"&&f.keepAttr&&(p[l]||!ae[l]))continue;O==="id"&&e.setAttribute(O,""),U(O,e)}if(!f.keepAttr)continue;if(ne&&b(/\/>/i,n)){U(O,e);continue}if(b(/svg|math/i,e.namespaceURI)&&b(at("</("+Ze(Ve(Ne),"|")+")","i"),n)){U(O,e);continue}x&&(n=T(n,ee," "),n=T(n,te," "));var Rt=e.nodeName.toLowerCase();if(!Be(Rt,l,n))continue;try{qe?e.setAttributeNS(qe,O,n):e.setAttribute(O,n),ve(r.removed)}catch(Ct){}}w("afterSanitizeAttributes",e,null)},Mt=function i(e){var t=void 0,n=We(e);for(w("beforeSanitizeShadowDOM",e,null);t=n.nextNode();){if(w("uponSanitizeShadowNode",t,null),je(t))continue;t.content instanceof F&&i(t.content),Ge(t)}w("afterSanitizeShadowDOM",e,null)};return r.sanitize=function(i,e){var t=void 0,n=void 0,l=void 0,g=void 0,v=void 0;if(i||(i="<!-->"),typeof i!="string"&&!W(i)){if(typeof i.toString!="function")throw be("toString is not a function");if(i=i.toString(),typeof i!="string")throw be("dirty is not a string, aborting")}if(!r.isSupported){if(P(a.toStaticHTML)==="object"||typeof a.toStaticHTML=="function"){if(typeof i=="string")return a.toStaticHTML(i);if(W(i))return a.toStaticHTML(i.outerHTML)}return i}if(oe||fe(e),r.removed=[],typeof i=="string"&&(z=!1),!z)if(i instanceof R)t=de("<!-->"),n=t.ownerDocument.importNode(i,!0),n.nodeType===1&&n.nodeName==="BODY"||n.nodeName==="HTML"?t=n:t.appendChild(n);else{if(!H&&!x&&!N&&i.indexOf("<")===-1)return A&&K?A.createHTML(i):i;if(t=de(i),!t)return H?null:Me}t&&se&&S(t.firstChild);for(var m=We(z?i:t);l=m.nextNode();){if(l.nodeType===3&&l===g)continue;if(je(l))continue;l.content instanceof F&&Mt(l.content),Ge(l),g=l}if(g=null,z)return i;if(H){if(le)for(v=_t.call(t.ownerDocument);t.firstChild;)v.appendChild(t.firstChild);else v=t;return Pe&&(v=At.call(o,v,!0)),v}var f=N?t.outerHTML:t.innerHTML;return x&&(f=T(f,ee," "),f=T(f,te," ")),A&&K?A.createHTML(f):f},r.setConfig=function(i){fe(i),oe=!0},r.clearConfig=function(){C=null,oe=!1},r.isValidAttribute=function(i,e,t){C||fe({});var n=I(i),l=I(e);return Be(n,l,t)},r.addHook=function(i,e){if(typeof e!="function")return;D[i]=D[i]||[],k(D[i],e)},r.removeHook=function(i){D[i]&&ve(D[i])},r.removeHooks=function(i){D[i]&&(D[i]=[])},r.removeAllHooks=function(){D={}},r}var pt=Se();return pt})}}]);