vendor: 6,816 bytes, lines 1-2
1/*! For license information please see purify.min.js.LICENSE.txt */ 2!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):(t="undefined"!=typeof globalThis?globalThis:t||self).DOMPurify=e()}(this,function(){"use strict";function t(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,o=Array(e);n<e;n++)o[n]=t[n];return o}function e(e,n){return function(t){if(Array.isArray(t))return t}(e)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var o,r,i,a,l=[],c=!0,s=!1;try{if(i=(n=n.call(t)).next,0===e);else for(;!(c=(o=i.call(n)).done)&&(l.push(o.value),l.length!==e);c=!0);}catch(t){s=!0,r=t}finally{try{if(!c&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(s)throw r}}return l}}(e,n)||function(e,n){if(e){if("string"==typeof e)return t(e,n);var o={}.toString.call(e).slice(8,-1);return"Object"===o&&e.constructor&&(o=e.constructor.name),"Map"===o||"Set"===o?Array.from(e):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?t(e,n):void 0}}(e,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}const n=Object.entries,o=Object.setPrototypeOf,r=Object.isFrozen,i=Object.getPrototypeOf,a=Object.getOwnPropertyDescriptor;let l=Object.freeze,c=Object.seal,s=Object.create,u="undefined"!=typeof Reflect&&Reflect,f=u.apply,p=u.construct;l||(l=function(t){return t}),c||(c=function(t){return t}),f||(f=function(t,e){for(var n=arguments.length,o=new Array(n>2?n-2:0),r=2;r<n;r++)o[r-2]=arguments[r];return t.apply(e,o)}),p||(p=function(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),o=1;o<e;o++)n[o-1]=arguments[o];return new t(...n)});const m=L(Array.prototype.forEach),d=L(Array.prototype.lastIndexOf),h=L(Array.prototype.pop),y=L(Array.prototype.push),g=L(Array.prototype.splice),b=Array.isArray,S=L(String.prototype.toLowerCase),T=L(String.prototype.toString),A=L(String.prototype.match),E=L(String.prototype.replace),w=L(String.prototype.indexOf),v=L(String.prototype.trim),O=L(Number.prototype.toString),x=L(Boolean.prototype.toString),N="undefined"==typeof BigInt?null:L(BigInt.prototype.toString),_="undefined"==typeof Symbol?null:L(Symbol.prototype.toString),D=L(Object.prototype.hasOwnProperty),R=L(Object.prototype.toString),k=L(RegExp.prototype.test),C=(I=TypeError,function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return p(I,e)});var I;function L(t){return function(e){e instanceof RegExp&&(e.lastIndex=0);for(var n=arguments.length,o=new Array(n>1?n-1:0),r=1;r<n;r++)o[r-1]=arguments[r];return f(t,e,o)}}function z(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:S;if(o&&o(t,null),!b(e))return t;let i=e.length;for(;i--;){let o=e[i];if("string"==typeof o){const t=n(o);t!==o&&(r(e)||(e[i]=t),o=t)}t[o]=!0}return t}function M(t){for(let e=0;e<t.length;e++)D(t,e)||(t[e]=null);return t}function P(t){const o=s(null);for(const i of n(t)){var r=e(i,2);const n=r[0],a=r[1];D(t,n)&&(b(a)?o[n]=M(a):a&&"object"==typeof a&&a.constructor===Object?o[n]=P(a):o[n]=a)}return o}function U(t,e){for(;null!==t;){const n=a(t,e);if(n){if(n.get)return L(n.get);if("function"==typeof n.value)return L(n.value)}t=i(t)}return function(){return null}}const F=l(["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","dialog","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","search","section","select","shadow","slot","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"]),H=l(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","enterkeyhint","exportparts","filter","font","g","glyph","glyphref","hkern","image","inputmode","line","lineargradient","marker","mask","metadata","mpath","part","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),j=l(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),B=l(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),W=l(["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","mprescripts"]),Y=l(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),G=l(["#text"]),q=l(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","command","commandfor","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","exportparts","face","for","headers","height","hidden","high","href","hreflang","id","inert","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","part","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","
2spellcheck","scope","selected","shape","size","sizes","slot","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns"]),$=l(["accent-height","accumulate","additive","alignment-baseline","amplitude","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","dominant-baseline","dur","edgemode","elevation","end","exponent","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","intercept","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","mask-type","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","pointer-events","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","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","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-orientation","text-rendering","textlength","type","u1","u2","unicode","values","vector-effect","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"]),X=l(["accent","accentunder","align","bevelled","close","columnalign","columnlines","columnspacing","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lquote","lspace","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"]),K=l(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),V=c(/{{[\w\W]*|^[\w\W]*}}/g),Z=c(/<%[\w\W]*|^[\w\W]*%>/g),J=c(/\${[\w\W]*/g),Q=c(/^data-[\-\w.\u00B7-\uFFFF]+$/),tt=c(/^aria-[\-\w]+$/),et=c(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),nt=c(/^(?:\w+script|data):/i),ot=c(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),rt=c(/^html$/i),it=c(/^[a-z][.\w]*(-[.\w]+)+$/i),at=c(/<[/\w!]/g),lt=c(/<[/\w]/g),ct=c(/<\/no(script|embed|frames)/i),st=c(/\/>/i),ut=["style","script","xmp","iframe","noembed","noframes","plaintext","noscript"],ft=l(z({},ut)),pt=function(){const t={};return m(ut,e=>{t[e]=c(new RegExp("</"+e+"(?=[\\t\\n\\f\\r />])","i"))}),l(t)}(),mt=function(t,e,n,o){return D(t,e)&&b(t[e])?z(o.base?P(o.base):{},t[e],o.transform):n},dt=function(t,e,n){const o=D(t,e)?t[e]:void 0;return o&&"object"==typeof o?P(o):n()};var ht=function t(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"undefined"==typeof window?null:window;const o=e=>t(e);
vendor: 10,370 bytes, line 2
2if(o.version="3.4.14",o.removed=[],!e||!e.document||9!==e.document.nodeType||!e.Element)return o.isSupported=!1,o;let r=e.document;const i=r,a=i.currentScript;e.DocumentFragment;const u=e.HTMLTemplateElement,f=e.Node,p=e.Element,I=e.NodeFilter;void 0===e.NamedNodeMap&&(e.NamedNodeMap||e.MozNamedAttrMap),e.HTMLFormElement;const L=e.DOMParser,M=e.trustedTypes,ut=p.prototype,ht=U(ut,"cloneNode"),yt=U(ut,"remove"),gt=U(ut,"nextSibling"),bt=U(ut,"childNodes"),St=U(ut,"parentNode"),Tt=U(ut,"shadowRoot"),At=U(ut,"attributes"),Et=f&&f.prototype?U(f.prototype,"nodeType"):null,wt=f&&f.prototype?U(f.prototype,"nodeName"):null,vt=f&&f.prototype?U(f.prototype,"ownerDocument"):null,Ot=function(t){return Et?Et(t):t.nodeType},xt=function(t){return wt?wt(t):t.nodeName};if("function"==typeof u){const t=r.createElement("template");t.content&&t.content.ownerDocument&&(r=t.content.ownerDocument)}let Nt,_t,Dt="",Rt=!1,kt=0;const Ct=function(){if(kt>0)throw C('A configured TRUSTED_TYPES_POLICY callback (createHTML or createScriptURL) must not call DOMPurify.sanitize, as that causes infinite recursion. Do not pass a policy whose callbacks wrap DOMPurify as TRUSTED_TYPES_POLICY; see the "DOMPurify and Trusted Types" section of the README.')},It=function(t){Ct(),kt++;try{return Nt.createHTML(t)}finally{kt--}},Lt=r,zt=Lt.implementation,Mt=Lt.createNodeIterator,Pt=Lt.createDocumentFragment,Ut=Lt.getElementsByTagName,Ft=i.importNode;let Ht={afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]};o.isSupported="function"==typeof n&&"function"==typeof St&&zt&&void 0!==zt.createHTMLDocument;const jt=V,Bt=Z,Wt=J,Yt=Q,Gt=tt,qt=nt,$t=ot,Xt=it;let Kt=et,Vt=null;const Zt=z({},[...F,...H,...j,...W,...G]);let Jt=null;const Qt=z({},[...q,...$,...X,...K]);let te=Object.seal(s(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),ee=null,ne=null;const oe=Object.seal(s(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}}));let re=!0,ie=!0,ae=!1,le=!0,ce=!1,se=!0,ue=!1,fe=!1,pe=null,me=null,de=!1,he=!1,ye=!1,ge=!1,be=!0,Se=!1;const Te="user-content-";let Ae=!0,Ee=!1,we={},ve=null;const Oe=z({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","selectedcontent","style","svg","template","thead","title","video","xmp"]);let xe=null;const Ne=z({},["audio","video","img","source","image","track"]);let _e=null;const De=z({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Re="http://www.w3.org/1998/Math/MathML",ke="http://www.w3.org/2000/svg",Ce="http://www.w3.org/1999/xhtml";let Ie=Ce,Le=!1,ze=null;const Me=z({},[Re,ke,Ce],T),Pe=l(["mi","mo","mn","ms","mtext"]);let Ue=z({},Pe);const Fe=l(["annotation-xml"]);let He=z({},Fe);const je=z({},["title","style","font","a","script"]);let Be=null;const We=["application/xhtml+xml","text/html"];let Ye=null,Ge=null;const qe=r.createElement("form"),$e=function(t){return t instanceof RegExp||t instanceof Function},Xe=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(Ge&&Ge===t)return;t&&"object"==typeof t||(t={}),t=P(t),Be=-1===We.indexOf(t.PARSER_MEDIA_TYPE)?"text/html":t.PARSER_MEDIA_TYPE,Ye="application/xhtml+xml"===Be?T:S,Vt=mt(t,"ALLOWED_TAGS",Zt,{transform:Ye}),Jt=mt(t,"ALLOWED_ATTR",Qt,{transform:Ye}),ze=mt(t,"ALLOWED_NAMESPACES",Me,{transform:T}),_e=mt(t,"ADD_URI_SAFE_ATTR",De,{transform:Ye,base:De}),xe=mt(t,"ADD_DATA_URI_TAGS",Ne,{transform:Ye,base:Ne}),ve=mt(t,"FORBID_CONTENTS",Oe,{transform:Ye}),ee=mt(t,"FORBID_TAGS",P({}),{transform:Ye}),ne=mt(t,"FORBID_ATTR",P({}),{transform:Ye}),we=!!D(t,"USE_PROFILES")&&(t.USE_PROFILES&&"object"==typeof t.USE_PROFILES?P(t.USE_PROFILES):t.USE_PROFILES),re=!1!==t.ALLOW_ARIA_ATTR,ie=!1!==t.ALLOW_DATA_ATTR,ae=t.ALLOW_UNKNOWN_PROTOCOLS||!1,le=!1!==t.ALLOW_SELF_CLOSE_IN_ATTR,ce=t.SAFE_FOR_TEMPLATES||!1,se=!1!==t.SAFE_FOR_XML,ue=t.WHOLE_DOCUMENT||!1,he=t.RETURN_DOM||!1,ye=t.RETURN_DOM_FRAGMENT||!1,ge=t.RETURN_TRUSTED_TYPE||!1,de=t.FORCE_BODY||!1,be=!1!==t.SANITIZE_DOM,Se=t.SANITIZE_NAMED_PROPS||!1,Ae=!1!==t.KEEP_CONTENT,Ee=t.IN_PLACE||!1,Kt=function(t){try{return k(t,""),!0}catch(t){return!1}}(t.ALLOWED_URI_REGEXP)?t.ALLOWED_URI_REGEXP:et,Ie="string"==typeof t.NAMESPACE?t.NAMESPACE:Ce,Ue=dt(t,"MATHML_TEXT_INTEGRATION_POINTS",()=>z({},Pe)),He=dt(t,"HTML_INTEGRATION_POINTS",()=>z({},Fe));const e=dt(t,"CUSTOM_ELEMENT_HANDLING",()=>s(null));if(te=s(null),D(e,"tagNameCheck")&&$e(e.tagNameCheck)&&(te.tagNameCheck=e.tagNameCheck),D(e,"attributeNameCheck")&&$e(e.attributeNameCheck)&&(te.attributeNameCheck=e.attributeNameCheck),D(e,"allowCustomizedBuiltInElements")&&"boolean"==typeof e.allowCustomizedBuiltInElements&&(te.allowCustomizedBuiltInElements=e.allowCustomizedBuiltInElements),c(te),ce&&(ie=!1),ye&&(he=!0),we&&(Vt=z({},G),Jt=s(null),!0===we.html&&(z(Vt,F),z(Jt,q)),!0===we.svg&&(z(Vt,H),z(Jt,$),z(Jt,K)),!0===we.svgFilters&&(z(Vt,j),z(Jt,$),z(Jt,K)),!0===we.mathMl&&(z(Vt,W),z(Jt,X),z(Jt,K))),oe.tagCheck=null,oe.attributeCheck=null,D(t,"ADD_TAGS")&&("function"==typeof t.ADD_TAGS?oe.tagCheck=t.ADD_TAGS:b(t.ADD_TAGS)&&(Vt===Zt&&(Vt=P(Vt)),z(Vt,t.ADD_TAGS,Ye))),D(t,"ADD_ATTR")&&("function"==typeof t.ADD_ATTR?oe.attributeCheck=t.ADD_ATTR:b(t.ADD_ATTR)&&(Jt===Qt&&(Jt=P(Jt)),z(Jt,t.ADD_ATTR,Ye))),D(t,"ADD_FORBID_CONTENTS")&&b(t.ADD_FORBID_CONTENTS)&&(ve===Oe&&(ve=P(ve)),z(ve,t.ADD_FORBID_CONTENTS,Ye)),Ae&&(Vt["#text"]=!0),ue&&z(Vt,["html","head","body"]),Vt.table&&(z(Vt,["tbody"]),delete ee.tbody),t.TRUSTED_TYPES_POLICY){if("function"!=typeof t.TRUSTED_TYPES_POLICY.createHTML)throw C('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof t.TRUSTED_TYPES_POLICY.createScriptURL)throw C('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');const e=Nt;Nt=t.TRUSTED_TYPES_POLICY;try{Dt=It("")}catch(t){throw Nt=e,t}}else null===t.TRUSTED_TYPES_POLICY?(Nt=void 0,Dt=""):(void 0===Nt&&(Rt||(_t=function(t,e){if("object"!=typeof t||"function"!=typeof t.createPolicy)return null;let n=null;const o="data-tt-policy-suffix";e&&e.hasAttribute(o)&&(n=e.getAttribute(o));const r="dompurify"+(n?"#"+n:"");try{return t.createPolicy(r,{createHTML:t=>t,createScriptURL:t=>t})}catch(t){return console.warn("TrustedTypes policy "+r+" could not be created."),null}}(M,a),Rt=!0),Nt=_t),Nt&&"string"==typeof Dt&&(Dt=It("")));l&&l(t),Ge=t},Ke=z({},[...H,...j,...B]),Ve=z({},[...W,...Y]),Ze=function(t){y(o.removed,{element:t});try{St(t).removeChild(t)}catch(e){if(yt(t),!St(t))throw C("a node selected for removal could not be detached from its tree and cannot be safely returned; refusing to sanitize in place")}},Je=function(t,e,n){try{t.removeAttributeNode(e)}catch(e){try{t.removeAttribute(n)}catch(t){}}},Qe=function(t){nn(t);const e=bt(t);if(e){const t=[];m(e,e=>{y(t,e)}),m(t,t=>{try{yt(t)}catch(t){}})}const n=At(t);if(n)for(let e=n.length-1;e>=0;--e){const o=n[e],r=o&&o.name;"string"==typeof r&&Je(t,o,r)}},tn=function(t,e,n){if(!n)try{n=e.getAttributeNode(t)}catch(t){n=null}y(o.removed,{attribute:n||null,from:e});try{n?e.removeAttributeNode(n):e.removeAttribute(t)}catch(n){try{e.removeAttribute(t)}catch(t){}}if("is"===t)if(he||ye)try{Ze(e)}catch(t){}else try{e.setAttribute(t,"")}catch(t){}},en=function(t){const e=At(t);if(e)for(let n=e.length-1;n>=0;--n){const o=e[n],r=o&&o.name;"string"!=typeof r||Jt[Ye(r)]||Je(t,o,r)}},nn=function(t){const e=[t];for(;e.length>0;){const t=e.pop();1===Ot(t)&&en(t);const n=bt(t);if(n)for(let t=n.length-1;t>=0;--t)e.push(n[t])}},on=function(t,e){return!!se&&("patchsrc"===t||"for"===t&&"label"!==e&&"output"!==e)},rn=function(t){let e=null,n=null;if(de)t="<remove></remove>"+t;else{const e=A(t,/^[\r\n\t ]+/);n=e&&e[0]}"application/xhtml+xml"===Be&&Ie===Ce&&(t='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+t+"</body></html>");const o=Nt?It(t):t;if(Ie===Ce)try{e=(new L).parseFromString(o,Be)}catch(t){}if(!e||!e.documentElement){e=zt.createDocument(Ie,"template",null);try{e.documentElement.innerHTML=Le?Dt:o}catch(t){}}const i=e.body||e.documentElement;return t&&n&&i.insertBefore(r.createTextNode(n),i.childNodes[0]||null),Ie===Ce?Ut.call(e,ue?"html":"body")[0]:ue?e.documentElement:i},an=function(t){const e=vt?vt(t):t.ownerDocument;return Mt.call(e||t,t,I.SHOW_ELEMENT|I.SHOW_COMMENT|I.SHOW_TEXT|I.SHOW_PROCESSING_INSTRUCTION|I.SHOW_CDATA_SECTION,null)},ln=function(t){return t=E(t,jt," "),t=E(t,Bt," "),E(t,Wt," ")},cn=function(t){var e;t.normalize();const n=vt?vt(t):t.ownerDocument,o=Mt.call(n||t,t,I.SHOW_TEXT|I.SHOW_COMMENT|I.SHOW_CDATA_SECTION|I.SHOW_PROCESSING_INSTRUCTION,null);let r=o.nextNode();for(;r;)r.data=ln(r.data),r=o.nextNode();const i=null===(e=t.querySelectorAll)||void 0===e?void 0:e.call(t,"template");i&&m(i,t=>{un(t.content)&&cn(t.content)})},sn=function(t){const e=wt?wt(t):null;return"string"==typeof e&&"form"===Ye(e)&&("string"!=typeof t.nodeName||"string"!=typeof t.textContent||"function"!=typeof t.removeChild||t.attributes!==At(t)||"function"!=typeof t.removeAttribute||"function"!=typeof t.setAttribute||"string"!=typeof t.namespaceURI||"function"!=typeof t.insertBefore||"function"!=typeof t.hasChildNodes||t.nodeType!==Et(t)||t.childNodes!==bt(t))},un=function(t){if(!Et||"object"!=typeof t||null===t)return!1;try{return 11===Et(t)}catch(t){return!1}},fn=function(t){if(!Et||"object"!=typeof t||null===t)return!1;try{return"number"==typeof Et(t)}catch(t){return!1}};function pn(t,e,n){0!==t.length&&m(t,t=>{t.call(o,e,n,Ge)})}const mn=function(t,e){if(t instanceof RegExp)return k(t,e);if(t instanceof Function){for(var n=arguments.length,o=new Array(n>2?n-2:0),r=2;r<n;r++)o[r-2]=arguments[r];return Boolean(t(e,...o))}return!1},dn=function(t,e,n,o){return 0===t.length?e:e===n||e===o?P(e):e},hn=function(t,e){return t!==e&&null===St(t)&&(Ee&&nn(t),!0)},yn=function(t,e){if(pn(Ht.beforeSanitizeElements,t,null),hn(t,e))return!0;
vendor: 4,976 bytes, line 2
2if(sn(t))return Ze(t),!0;const n=Ye(xt(t));if(Vt=dn(Ht.uponSanitizeElement,Vt,Zt,pe),pn(Ht.uponSanitizeElement,t,{tagName:n,allowedTags:Vt}),hn(t,e))return!0;if(function(t,e){return!!(se&&t.hasChildNodes()&&!fn(t.firstElementChild)&&k(at,t.textContent)&&k(at,t.innerHTML))||!!(se&&t.namespaceURI===Ce&&ft[e]&&(fn(t.firstElementChild)||"string"==typeof t.textContent&&k(pt[e],t.textContent)))||7===t.nodeType||!(!se||8!==t.nodeType||!k(lt,t.data))}(t,n))return Ze(t),!0;if(ee[n]||!(oe.tagCheck instanceof Function&&oe.tagCheck(n))&&!Vt[n]){const o=function(t,e,n){if(!ee[e]&&Sn(e)&&mn(te.tagNameCheck,e))return!1;if(Ae&&!ve[e]){const e=St(t),o=bt(t);if(o&&e)for(let r=o.length-1;r>=0;--r){const i=t===n?ht(o[r],!0):o[r];e.insertBefore(i,gt(t))}}return Ze(t),!0}(t,n,e);return!1===o&&pn(Ht.afterSanitizeElements,t,null),o}if(1===Ot(t)&&!function(t){let e=St(t);e&&e.tagName||(e={namespaceURI:Ie,tagName:"template"});const n=S(t.tagName),o=S(e.tagName);return!!ze[t.namespaceURI]&&(t.namespaceURI===ke?function(t,e,n){return e.namespaceURI===Ce?"svg"===t:e.namespaceURI===Re?"svg"===t&&("annotation-xml"===n||Ue[n]):Boolean(Ke[t])}(n,e,o):t.namespaceURI===Re?function(t,e,n){return e.namespaceURI===Ce?"math"===t:e.namespaceURI===ke?"math"===t&&He[n]:Boolean(Ve[t])}(n,e,o):t.namespaceURI===Ce?function(t,e,n){return!(e.namespaceURI===ke&&!He[n])&&!(e.namespaceURI===Re&&!Ue[n])&&!Ve[t]&&(je[t]||!Ke[t])}(n,e,o):!("application/xhtml+xml"!==Be||!ze[t.namespaceURI]))}(t))return Ze(t),!0;if(("noscript"===n||"noembed"===n||"noframes"===n)&&k(ct,t.innerHTML))return Ze(t),!0;if(ce&&3===t.nodeType){const e=ln(t.textContent);t.textContent!==e&&(y(o.removed,{element:t.cloneNode()}),t.textContent=e)}return pn(Ht.afterSanitizeElements,t,null),!1},gn=function(t,e,n){if(ne[e])return!1;if(on(e,t))return!1;if(be&&("id"===e||"name"===e)&&(n in r||n in qe))return!1;const o=Jt[e]||oe.attributeCheck instanceof Function&&oe.attributeCheck(e,t);return!(!ie||!k(Yt,e))||!(!re||!k(Gt,e))||(o?!(!_e[e]&&!k(Kt,E(n,$t,""))&&("src"!==e&&"xlink:href"!==e&&"href"!==e||"script"===t||0!==w(n,"data:")||!xe[t])&&(!ae||k(qt,E(n,$t,"")))&&n):Sn(t)&&mn(te.tagNameCheck,t)&&mn(te.attributeNameCheck,e,t)||"is"===e&&te.allowCustomizedBuiltInElements&&mn(te.tagNameCheck,n))},bn=z({},["annotation-xml","color-profile","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","missing-glyph"]),Sn=function(t){return!bn[S(t)]&&k(Xt,t)},Tn=function(t,e,n,o){if(Nt&&"object"==typeof M&&"function"==typeof M.getAttributeType&&!n)switch(M.getAttributeType(t,e)){case"TrustedHTML":return It(o);case"TrustedScriptURL":return function(t){Ct(),kt++;try{return Nt.createScriptURL(t)}finally{kt--}}(o)}return o},An=function(t,e,n,r){try{n?t.setAttributeNS(n,e,r):t.setAttribute(e,r),sn(t)?Ze(t):h(o.removed)}catch(n){tn(e,t)}},En=function(t){pn(Ht.beforeSanitizeAttributes,t,null);const e=t.attributes;if(!e||sn(t))return;Jt=dn(Ht.uponSanitizeAttribute,Jt,Qt,me);const n={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:Jt,forceKeepAttr:void 0};let o=e.length;const r=Ye(t.nodeName);for(;o--;){const i=e[o],a=i.name,l=i.namespaceURI,c=i.value,s=Ye(a),u=c;let f="value"===a?u:v(u);n.attrName=s,n.attrValue=f,n.keepAttr=!0,n.forceKeepAttr=void 0,pn(Ht.uponSanitizeAttribute,t,n),f=n.attrValue,!Se||"id"!==s&&"name"!==s||0===w(f,Te)||(tn(a,t,i),f=Te+f),se&&k(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i,f)||"attributename"===s&&A(f,"href")?tn(a,t,i):n.forceKeepAttr||(!n.keepAttr||!le&&k(st,f)?tn(a,t,i):(ce&&(f=ln(f)),gn(r,s,f)?(f=Tn(r,s,l,f),f!==u&&An(t,a,l,f)):tn(a,t,i)))}pn(Ht.afterSanitizeAttributes,t,null)},wn=function(t){let e=null;const n=an(t);for(pn(Ht.beforeSanitizeShadowDOM,t,null);e=n.nextNode();)if(pn(Ht.uponSanitizeShadowNode,e,null),yn(e,t),En(e),un(e.content)&&wn(e.content),1===Ot(e)){const t=Tt(e);un(t)&&(vn(t),wn(t))}pn(Ht.afterSanitizeShadowDOM,t,null)},vn=function(t){const e=[{node:t,shadow:null}];for(;e.length>0;){const t=e.pop();if(t.shadow){wn(t.shadow);continue}const n=t.node,o=1===Ot(n),r=bt(n);if(r)for(let t=r.length-1;t>=0;--t)e.push({node:r[t],shadow:null});if(o){const t=wt?wt(n):null;if("string"==typeof t&&"template"===Ye(t)){const t=n.content;un(t)&&e.push({node:t,shadow:null})}}if(o){const t=Tt(n);un(t)&&e.push({node:null,shadow:t},{node:t,shadow:null})}}};return o.sanitize=function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=null,r=null,a=null,l=null;if(Le=!t,Le&&(t="\x3c!--\x3e"),"string"!=typeof t&&!fn(t)&&"string"!=typeof(t=function(t){switch(typeof t){case"string":return t;case"number":return O(t);case"boolean":return x(t);case"bigint":return N?N(t):"0";case"symbol":return _?_(t):"Symbol()";case"undefined":default:return R(t);case"function":case"object":{if(null===t)return R(t);const e=t,n=U(e,"toString");if("function"==typeof n){const t=n(e);return"string"==typeof t?t:R(t)}return R(t)}}}(t)))throw C("dirty is not a string, aborting");if(!o.isSupported)return t;
vendor: 2,590 bytes, line 2
2fe?(Vt=pe,Jt=me):Xe(e),(Ht.uponSanitizeElement.length>0||Ht.uponSanitizeAttribute.length>0)&&(Vt=P(Vt)),Ht.uponSanitizeAttribute.length>0&&(Jt=P(Jt)),o.removed=[];const c=Ee&&"string"!=typeof t&&fn(t);if(c){!function(t){if(!se)return;const e=[t];for(;e.length>0;){const n=e.pop(),o=Ot(n);if(7===o||8===o&&k(lt,n.data)){try{yt(n)}catch(t){}continue}if(1===o){const e=n,o=Ye(xt(n));try{e.hasAttribute&&e.hasAttribute("patchsrc")&&e.removeAttribute("patchsrc"),e.hasAttribute&&e.hasAttribute("for")&&on("for",o)&&e.removeAttribute("for")}catch(t){}}const r=bt(n);if(r)for(let t=r.length-1;t>=0;--t)e.push(r[t])}}(t);const n=xt(t);if("string"==typeof n){const e=Ye(n);if(!Vt[e]||ee[e])throw Qe(t),C("root node is forbidden and cannot be sanitized in-place")}if(sn(t))throw Qe(t),C("root node is clobbered and cannot be sanitized in-place");try{vn(t)}catch(e){throw Qe(t),e}}else if(fn(t))n=rn("\x3c!----\x3e"),r=n.ownerDocument.importNode(t,!0),1===r.nodeType&&"BODY"===r.nodeName||"HTML"===r.nodeName?n=r:n.appendChild(r),vn(r);else{if(!he&&!ce&&!ue&&-1===t.indexOf("<"))return Nt&&ge?It(t):t;if(n=rn(t),!n)return he?null:ge?Dt:""}n&&de&&Ze(n.firstChild);const s=c?t:n;try{const t=an(s);for(;a=t.nextNode();)yn(a,s),En(a),un(a.content)&&wn(a.content)}catch(e){throw c&&(Qe(t),m(o.removed,t=>{t.element&&nn(t.element)})),e}if(c)return m(o.removed,t=>{t.element&&nn(t.element)}),ce&&cn(t),t;if(he){if(ce&&cn(n),ye)for(l=Pt.call(n.ownerDocument);n.firstChild;)l.appendChild(n.firstChild);else l=n;return(Jt.shadowroot||Jt.shadowrootmode)&&(l=Ft.call(i,l,!0)),l}let u=ue?n.outerHTML:n.innerHTML;return ue&&Vt["!doctype"]&&n.ownerDocument&&n.ownerDocument.doctype&&n.ownerDocument.doctype.name&&k(rt,n.ownerDocument.doctype.name)&&(u="<!DOCTYPE "+n.ownerDocument.doctype.name+">\n"+u),ce&&(u=ln(u)),Nt&&ge?It(u):u},o.setConfig=function(){Xe(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}),fe=!0,pe=Vt,me=Jt},o.clearConfig=function(){Ge=null,fe=!1,pe=null,me=null,Nt=_t,Dt=""},o.isValidAttribute=function(t,e,n){Ge||Xe({});const o=Ye(t),r=Ye(e);return gn(o,r,n)},o.addHook=function(t,e){"function"==typeof e&&D(Ht,t)&&y(Ht[t],e)},o.removeHook=function(t,e){if(D(Ht,t)){if(void 0!==e){const n=d(Ht[t],e);return-1===n?void 0:g(Ht[t],n,1)[0]}return h(Ht[t])}},o.removeHooks=function(t){D(Ht,t)&&(Ht[t]=[])},o.removeAllHooks=function(){Ht={afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}},o}();return ht});
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.