PageSourceSearch

https://www.ithaca.edu/themes/custom/ithaca/dist/third-party-scripts/purify.min.js

js ithaca.edu collected 2026-09-24 08:37:56 UTC 29,181 bytes, 2 lines download raw bytes

vendor: 6,816 bytes, lines 1-2
1/*! For license information please see purify.min.js.LICENSE.txt */
2!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).DOMPurify=t()}(this,function(){"use strict";function e(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=Array(t);n<t;n++)o[n]=e[n];return o}function t(t,n){return function(e){if(Array.isArray(e))return e}(t)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var o,r,i,a,l=[],c=!0,s=!1;try{if(i=(n=n.call(e)).next,0===t);else for(;!(c=(o=i.call(n)).done)&&(l.push(o.value),l.length!==t);c=!0);}catch(e){s=!0,r=e}finally{try{if(!c&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(s)throw r}}return l}}(t,n)||function(t,n){if(t){if("string"==typeof t)return e(t,n);var o={}.toString.call(t).slice(8,-1);return"Object"===o&&t.constructor&&(o=t.constructor.name),"Map"===o||"Set"===o?Array.from(t):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?e(t,n):void 0}}(t,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(e){return e}),c||(c=function(e){return e}),f||(f=function(e,t){for(var n=arguments.length,o=new Array(n>2?n-2:0),r=2;r<n;r++)o[r-2]=arguments[r];return e.apply(t,o)}),p||(p=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),o=1;o<t;o++)n[o-1]=arguments[o];return new e(...n)});const m=L(Array.prototype.forEach),d=L(Array.prototype.lastIndexOf),h=L(Array.prototype.pop),g=L(Array.prototype.push),y=L(Array.prototype.splice),b=Array.isArray,T=L(String.prototype.toLowerCase),S=L(String.prototype.toString),E=L(String.prototype.match),A=L(String.prototype.replace),N=L(String.prototype.indexOf),_=L(String.prototype.trim),w=L(Number.prototype.toString),O=L(Boolean.prototype.toString),v="undefined"==typeof BigInt?null:L(BigInt.prototype.toString),D="undefined"==typeof Symbol?null:L(Symbol.prototype.toString),R=L(Object.prototype.hasOwnProperty),C=L(Object.prototype.toString),I=L(RegExp.prototype.test),x=(k=TypeError,function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return p(k,t)});var k;function L(e){return function(t){t instanceof RegExp&&(t.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(e,t,o)}}function M(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:T;if(o&&o(e,null),!b(t))return e;let i=t.length;for(;i--;){let o=t[i];if("string"==typeof o){const e=n(o);e!==o&&(r(t)||(t[i]=e),o=e)}e[o]=!0}return e}function z(e){for(let t=0;t<e.length;t++)R(e,t)||(e[t]=null);return e}function P(e){const o=s(null);for(const i of n(e)){var r=t(i,2);const n=r[0],a=r[1];R(e,n)&&(b(a)?o[n]=z(a):a&&"object"==typeof a&&a.constructor===Object?o[n]=P(a):o[n]=a)}return o}function U(e,t){for(;null!==e;){const n=a(e,t);if(n){if(n.get)return L(n.get);if("function"==typeof n.value)return L(n.value)}e=i(e)}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"]),G=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"]),W=l(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),Y=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"]),X=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","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","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"]),$=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]+$/),ee=c(/^aria-[\-\w]+$/),te=c(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),ne=c(/^(?:\w+script|data):/i),oe=c(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),re=c(/^html$/i),ie=c(/^[a-z][.\w]*(-[.\w]+)+$/i),ae=c(/<[/\w!]/g),le=c(/<[/\w]/g),ce=c(/<\/no(script|embed|frames)/i),se=c(/\/>/i),ue=function(e,t,n,o){return R(e,t)&&b(e[t])?M(o.base?P(o.base):{},e[t],o.transform):n};var fe=function e(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"undefined"==typeof window?null:window;const o=t=>e(t);if(o.version="3.4.13",o.removed=[],!t||!t.document||9!==t.document.nodeType||!t.Element)return o.isSupported=!1,o;let r=t.document;const i=r,a=i.currentScript;t.DocumentFragment;const u=t.HTMLTemplateElement,f=t.Node,p=t.Element,k=t.NodeFilter;void 0===t.NamedNodeMap&&(t.NamedNodeMap||t.MozNamedAttrMap),t.HTMLFormElement;const L=t.DOMParser,z=t.trustedTypes,fe=p.prototype,pe=U(fe,"cloneNode"),me=U(fe,"remove"),de=U(fe,"nextSibling"),he=U(fe,"childNodes"),ge=U(fe,"parentNode"),ye=U(fe,"shadowRoot"),be=U(fe,"attributes"),Te=f&&f.prototype?U(f.prototype,"nodeType"):null,Se=f&&f.prototype?U(f.prototype,"nodeName"):null,Ee=f&&f.prototype?U(f.prototype,"ownerDocument"):null;if("function"==typeof u){const e=r.createElement("template");e.content&&e.content.ownerDocument&&(r=e.content.ownerDocument)}let Ae,Ne,_e="",we=!1,Oe=0;const ve=function(){if(Oe>0)throw x('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.')},De=function(e){ve(),Oe++;try{return Ae.createHTML(e)}finally{Oe--}},Re=r,Ce=Re.implementation,Ie=Re.createNodeIterator,xe=Re.createDocumentFragment,ke=Re.getElementsByTagName,Le=i.importNode;let Me={afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]};o.isSupported="function"==typeof n&&"function"==typeof ge&&Ce&&void 0!==Ce.createHTMLDocument;const ze=V,Pe=Z,Ue=J,Fe=Q,He=ee,je=ne,Be=oe,Ge=ie;let We=te,Ye=null;const qe=M({},[...F,...H,...j,...G,...Y]);let Xe=null;const $e=M({},[...q,...X,...$,...K]);let Ke=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}})),Ve=null,Ze=null;const Je=Object.seal(s(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}}));let Qe=!0,et=!0,tt=!1,nt=!0,ot=!1,rt=!0,it=!1,at=!1,lt=null,ct=null,st=!1,ut=!1,ft=!1,pt=!1,mt=!0,dt=!1;const ht="user-content-";let gt=!0,yt=!1,bt={},Tt=null;const St=M({},["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 Et=null;const At=M({},["audio","video","img","source","image","track"]);let Nt=null;const _t=M({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),wt="http://www.w3.org/1998/Math/MathML",Ot="http://www.w3.org/2000/svg",vt="http://www.w3.org/1999/xhtml";let Dt=vt,Rt=!1,Ct=null;const It=M({},[wt,Ot,vt],S),xt=l(["mi","mo","mn","ms","mtext"]);let kt=M({},xt);const Lt=l(["annotation-xml"]);let Mt=M({},Lt);
vendor: 15,369 bytes, line 2
2const zt=M({},["title","style","font","a","script"]);let Pt=null;const Ut=["application/xhtml+xml","text/html"];let Ft=null,Ht=null;const jt=r.createElement("form"),Bt=function(e){return e instanceof RegExp||e instanceof Function},Gt=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(Ht&&Ht===e)return;e&&"object"==typeof e||(e={}),e=P(e),Pt=-1===Ut.indexOf(e.PARSER_MEDIA_TYPE)?"text/html":e.PARSER_MEDIA_TYPE,Ft="application/xhtml+xml"===Pt?S:T,Ye=ue(e,"ALLOWED_TAGS",qe,{transform:Ft}),Xe=ue(e,"ALLOWED_ATTR",$e,{transform:Ft}),Ct=ue(e,"ALLOWED_NAMESPACES",It,{transform:S}),Nt=ue(e,"ADD_URI_SAFE_ATTR",_t,{transform:Ft,base:_t}),Et=ue(e,"ADD_DATA_URI_TAGS",At,{transform:Ft,base:At}),Tt=ue(e,"FORBID_CONTENTS",St,{transform:Ft}),Ve=ue(e,"FORBID_TAGS",P({}),{transform:Ft}),Ze=ue(e,"FORBID_ATTR",P({}),{transform:Ft}),bt=!!R(e,"USE_PROFILES")&&(e.USE_PROFILES&&"object"==typeof e.USE_PROFILES?P(e.USE_PROFILES):e.USE_PROFILES),Qe=!1!==e.ALLOW_ARIA_ATTR,et=!1!==e.ALLOW_DATA_ATTR,tt=e.ALLOW_UNKNOWN_PROTOCOLS||!1,nt=!1!==e.ALLOW_SELF_CLOSE_IN_ATTR,ot=e.SAFE_FOR_TEMPLATES||!1,rt=!1!==e.SAFE_FOR_XML,it=e.WHOLE_DOCUMENT||!1,ut=e.RETURN_DOM||!1,ft=e.RETURN_DOM_FRAGMENT||!1,pt=e.RETURN_TRUSTED_TYPE||!1,st=e.FORCE_BODY||!1,mt=!1!==e.SANITIZE_DOM,dt=e.SANITIZE_NAMED_PROPS||!1,gt=!1!==e.KEEP_CONTENT,yt=e.IN_PLACE||!1,We=function(e){try{return I(e,""),!0}catch(e){return!1}}(e.ALLOWED_URI_REGEXP)?e.ALLOWED_URI_REGEXP:te,Dt="string"==typeof e.NAMESPACE?e.NAMESPACE:vt,kt=R(e,"MATHML_TEXT_INTEGRATION_POINTS")&&e.MATHML_TEXT_INTEGRATION_POINTS&&"object"==typeof e.MATHML_TEXT_INTEGRATION_POINTS?P(e.MATHML_TEXT_INTEGRATION_POINTS):M({},xt),Mt=R(e,"HTML_INTEGRATION_POINTS")&&e.HTML_INTEGRATION_POINTS&&"object"==typeof e.HTML_INTEGRATION_POINTS?P(e.HTML_INTEGRATION_POINTS):M({},Lt);const t=R(e,"CUSTOM_ELEMENT_HANDLING")&&e.CUSTOM_ELEMENT_HANDLING&&"object"==typeof e.CUSTOM_ELEMENT_HANDLING?P(e.CUSTOM_ELEMENT_HANDLING):s(null);if(Ke=s(null),R(t,"tagNameCheck")&&Bt(t.tagNameCheck)&&(Ke.tagNameCheck=t.tagNameCheck),R(t,"attributeNameCheck")&&Bt(t.attributeNameCheck)&&(Ke.attributeNameCheck=t.attributeNameCheck),R(t,"allowCustomizedBuiltInElements")&&"boolean"==typeof t.allowCustomizedBuiltInElements&&(Ke.allowCustomizedBuiltInElements=t.allowCustomizedBuiltInElements),c(Ke),ot&&(et=!1),ft&&(ut=!0),bt&&(Ye=M({},Y),Xe=s(null),!0===bt.html&&(M(Ye,F),M(Xe,q)),!0===bt.svg&&(M(Ye,H),M(Xe,X),M(Xe,K)),!0===bt.svgFilters&&(M(Ye,j),M(Xe,X),M(Xe,K)),!0===bt.mathMl&&(M(Ye,G),M(Xe,$),M(Xe,K))),Je.tagCheck=null,Je.attributeCheck=null,R(e,"ADD_TAGS")&&("function"==typeof e.ADD_TAGS?Je.tagCheck=e.ADD_TAGS:b(e.ADD_TAGS)&&(Ye===qe&&(Ye=P(Ye)),M(Ye,e.ADD_TAGS,Ft))),R(e,"ADD_ATTR")&&("function"==typeof e.ADD_ATTR?Je.attributeCheck=e.ADD_ATTR:b(e.ADD_ATTR)&&(Xe===$e&&(Xe=P(Xe)),M(Xe,e.ADD_ATTR,Ft))),R(e,"ADD_URI_SAFE_ATTR")&&b(e.ADD_URI_SAFE_ATTR)&&M(Nt,e.ADD_URI_SAFE_ATTR,Ft),R(e,"FORBID_CONTENTS")&&b(e.FORBID_CONTENTS)&&(Tt===St&&(Tt=P(Tt)),M(Tt,e.FORBID_CONTENTS,Ft)),R(e,"ADD_FORBID_CONTENTS")&&b(e.ADD_FORBID_CONTENTS)&&(Tt===St&&(Tt=P(Tt)),M(Tt,e.ADD_FORBID_CONTENTS,Ft)),gt&&(Ye["#text"]=!0),it&&M(Ye,["html","head","body"]),Ye.table&&(M(Ye,["tbody"]),delete Ve.tbody),e.TRUSTED_TYPES_POLICY){if("function"!=typeof e.TRUSTED_TYPES_POLICY.createHTML)throw x('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof e.TRUSTED_TYPES_POLICY.createScriptURL)throw x('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');const t=Ae;Ae=e.TRUSTED_TYPES_POLICY;try{_e=De("")}catch(e){throw Ae=t,e}}else null===e.TRUSTED_TYPES_POLICY?(Ae=void 0,_e=""):(void 0===Ae&&(we||(Ne=function(e,t){if("object"!=typeof e||"function"!=typeof e.createPolicy)return null;let n=null;const o="data-tt-policy-suffix";t&&t.hasAttribute(o)&&(n=t.getAttribute(o));const r="dompurify"+(n?"#"+n:"");try{return e.createPolicy(r,{createHTML:e=>e,createScriptURL:e=>e})}catch(e){return console.warn("TrustedTypes policy "+r+" could not be created."),null}}(z,a),we=!0),Ae=Ne),Ae&&"string"==typeof _e&&(_e=De("")));l&&l(e),Ht=e},Wt=M({},[...H,...j,...B]),Yt=M({},[...G,...W]),qt=function(e){g(o.removed,{element:e});try{ge(e).removeChild(e)}catch(t){if(me(e),!ge(e))throw x("a node selected for removal could not be detached from its tree and cannot be safely returned; refusing to sanitize in place")}},Xt=function(e){Vt(e);const t=he(e);if(t){const e=[];m(t,t=>{g(e,t)}),m(e,e=>{try{me(e)}catch(e){}})}const n=be(e);if(n)for(let t=n.length-1;t>=0;--t){const o=n[t],r=o&&o.name;if("string"==typeof r)try{e.removeAttribute(r)}catch(e){}}},$t=function(e,t){try{g(o.removed,{attribute:t.getAttributeNode(e),from:t})}catch(e){g(o.removed,{attribute:null,from:t})}if(t.removeAttribute(e),"is"===e)if(ut||ft)try{qt(t)}catch(e){}else try{t.setAttribute(e,"")}catch(e){}},Kt=function(e){const t=be(e);if(t)for(let n=t.length-1;n>=0;--n){const o=t[n],r=o&&o.name;if("string"==typeof r&&!Xe[Ft(r)])try{e.removeAttribute(r)}catch(e){}}},Vt=function(e){const t=[e];for(;t.length>0;){const e=t.pop();1===(Te?Te(e):e.nodeType)&&Kt(e);const n=he(e);if(n)for(let e=n.length-1;e>=0;--e)t.push(n[e])}},Zt=function(e){let t=null,n=null;if(st)e="<remove></remove>"+e;else{const t=E(e,/^[\r\n\t ]+/);n=t&&t[0]}"application/xhtml+xml"===Pt&&Dt===vt&&(e='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+e+"</body></html>");const o=Ae?De(e):e;if(Dt===vt)try{t=(new L).parseFromString(o,Pt)}catch(e){}if(!t||!t.documentElement){t=Ce.createDocument(Dt,"template",null);try{t.documentElement.innerHTML=Rt?_e:o}catch(e){}}const i=t.body||t.documentElement;return e&&n&&i.insertBefore(r.createTextNode(n),i.childNodes[0]||null),Dt===vt?ke.call(t,it?"html":"body")[0]:it?t.documentElement:i},Jt=function(e){const t=Ee?Ee(e):e.ownerDocument;return Ie.call(t||e,e,k.SHOW_ELEMENT|k.SHOW_COMMENT|k.SHOW_TEXT|k.SHOW_PROCESSING_INSTRUCTION|k.SHOW_CDATA_SECTION,null)},Qt=function(e){return e=A(e,ze," "),e=A(e,Pe," "),A(e,Ue," ")},en=function(e){var t;e.normalize();const n=Ee?Ee(e):e.ownerDocument,o=Ie.call(n||e,e,k.SHOW_TEXT|k.SHOW_COMMENT|k.SHOW_CDATA_SECTION|k.SHOW_PROCESSING_INSTRUCTION,null);let r=o.nextNode();for(;r;)r.data=Qt(r.data),r=o.nextNode();const i=null===(t=e.querySelectorAll)||void 0===t?void 0:t.call(e,"template");i&&m(i,e=>{nn(e.content)&&en(e.content)})},tn=function(e){const t=Se?Se(e):null;return"string"==typeof t&&"form"===Ft(t)&&("string"!=typeof e.nodeName||"string"!=typeof e.textContent||"function"!=typeof e.removeChild||e.attributes!==be(e)||"function"!=typeof e.removeAttribute||"function"!=typeof e.setAttribute||"string"!=typeof e.namespaceURI||"function"!=typeof e.insertBefore||"function"!=typeof e.hasChildNodes||e.nodeType!==Te(e)||e.childNodes!==he(e))},nn=function(e){if(!Te||"object"!=typeof e||null===e)return!1;try{return 11===Te(e)}catch(e){return!1}},on=function(e){if(!Te||"object"!=typeof e||null===e)return!1;try{return"number"==typeof Te(e)}catch(e){return!1}};function rn(e,t,n){0!==e.length&&m(e,e=>{e.call(o,t,n,Ht)})}const an=function(e,t,n,o){return 0===e.length?t:t===n||t===o?P(t):t},ln=function(e,t){if(rn(Me.beforeSanitizeElements,e,null),e!==t&&null===ge(e))return yt&&Vt(e),!0;if(tn(e))return qt(e),!0;const n=Ft(Se?Se(e):e.nodeName);if(Ye=an(Me.uponSanitizeElement,Ye,qe,lt),rn(Me.uponSanitizeElement,e,{tagName:n,allowedTags:Ye}),e!==t&&null===ge(e))return yt&&Vt(e),!0;if(function(e,t){return!!(rt&&e.hasChildNodes()&&!on(e.firstElementChild)&&I(ae,e.textContent)&&I(ae,e.innerHTML))||!(!rt||e.namespaceURI!==vt||"style"!==t||!on(e.firstElementChild))||7===e.nodeType||!(!rt||8!==e.nodeType||!I(le,e.data))}(e,n))return qt(e),!0;if(Ve[n]||!(Je.tagCheck instanceof Function&&Je.tagCheck(n))&&!Ye[n]){const o=function(e,t,n){if(!Ve[t]&&un(t)){if(Ke.tagNameCheck instanceof RegExp&&I(Ke.tagNameCheck,t))return!1;if(Ke.tagNameCheck instanceof Function&&Ke.tagNameCheck(t))return!1}if(gt&&!Tt[t]){const t=ge(e),o=he(e);if(o&&t)for(let r=o.length-1;r>=0;--r){const i=e===n?pe(o[r],!0):o[r];t.insertBefore(i,de(e))}}return qt(e),!0}(e,n,t);return!1===o&&rn(Me.afterSanitizeElements,e,null),o}if(1===(Te?Te(e):e.nodeType)&&!function(e){let t=ge(e);t&&t.tagName||(t={namespaceURI:Dt,tagName:"template"});const n=T(e.tagName),o=T(t.tagName);return!!Ct[e.namespaceURI]&&(e.namespaceURI===Ot?function(e,t,n){return t.namespaceURI===vt?"svg"===e:t.namespaceURI===wt?"svg"===e&&("annotation-xml"===n||kt[n]):Boolean(Wt[e])}(n,t,o):e.namespaceURI===wt?function(e,t,n){return t.namespaceURI===vt?"math"===e:t.namespaceURI===Ot?"math"===e&&Mt[n]:Boolean(Yt[e])}(n,t,o):e.namespaceURI===vt?function(e,t,n){return!(t.namespaceURI===Ot&&!Mt[n])&&!(t.namespaceURI===wt&&!kt[n])&&!Yt[e]&&(zt[e]||!Wt[e])}(n,t,o):!("application/xhtml+xml"!==Pt||!Ct[e.namespaceURI]))}(e))return qt(e),!0;if(("noscript"===n||"noembed"===n||"noframes"===n)&&I(ce,e.innerHTML))return qt(e),!0;if(ot&&3===e.nodeType){const t=Qt(e.textContent);e.textContent!==t&&(g(o.removed,{element:e.cloneNode()}),e.textContent=t)}return rn(Me.afterSanitizeElements,e,null),!1},cn=function(e,t,n){if(Ze[t])return!1;if(rt&&"patchsrc"===t)return!1;if(rt&&"for"===t&&"label"!==e&&"output"!==e)return!1;if(mt&&("id"===t||"name"===t)&&(n in r||n in jt))return!1;const o=Xe[t]||Je.attributeCheck instanceof Function&&Je.attributeCheck(t,e);if(et&&I(Fe,t));else if(Qe&&I(He,t));else if(o){if(Nt[t]);else if(I(We,A(n,Be,"")));else if("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==N(n,"data:")||!Et[e])if(tt&&!I(je,A(n,Be,"")));else if(n)return!1}else if(!(un(e)&&(Ke.tagNameCheck instanceof RegExp&&I(Ke.tagNameCheck,e)||Ke.tagNameCheck instanceof Function&&Ke.tagNameCheck(e))&&(Ke.attributeNameCheck instanceof RegExp&&I(Ke.attributeNameCheck,t)||Ke.attributeNameCheck instanceof Function&&Ke.attributeNameCheck(t,e))||"is"===t&&Ke.allowCustomizedBuiltInElements&&(Ke.tagNameCheck instanceof RegExp&&I(Ke.tagNameCheck,n)||Ke.tagNameCheck instanceof Function&&Ke.tagNameCheck(n))))return!1;return!0},sn=M({},["annotation-xml","color-profile","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","missing-glyph"]),un=function(e){return!sn[T(e)]&&I(Ge,e)},fn=function(e,t,n,o){if(Ae&&"object"==typeof z&&"function"==typeof z.getAttributeType&&!n)switch(z.getAttributeType(e,t)){case"TrustedHTML":return De(o);case"TrustedScriptURL":return function(e){ve(),Oe++;try{return Ae.createScriptURL(e)}finally{Oe--}}(o)}return o},pn=function(e,t,n,r){try{n?e.setAttributeNS(n,t,r):e.setAttribute(t,r),tn(e)?qt(e):h(o.removed)}catch(n){$t(t,e)}},mn=function(e){rn(Me.beforeSanitizeAttributes,e,null);const t=e.attributes;if(!t||tn(e))return;Xe=an(Me.uponSanitizeAttribute,Xe,$e,ct);const n={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:Xe,forceKeepAttr:void 0};let o=t.length;const r=Ft(e.nodeName);for(;o--;){const i=t[o],a=i.name,l=i.namespaceURI,c=i.value,s=Ft(a),u=c;let f="value"===a?u:_(u);n.attrName=s,n.attrValue=f,n.keepAttr=!0,n.forceKeepAttr=void 0,rn(Me.uponSanitizeAttribute,e,n),f=n.attrValue,!dt||"id"!==s&&"name"!==s||0===N(f,ht)||($t(a,e),f=ht+f),rt&&I(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i,f)||"attributename"===s&&E(f,"href")?$t(a,e):n.forceKeepAttr||(!n.keepAttr||!nt&&I(se,f)?$t(a,e):(ot&&(f=Qt(f)),cn(r,s,f)?(f=fn(r,s,l,f),f!==u&&pn(e,a,l,f)):$t(a,e)))}rn(Me.afterSanitizeAttributes,e,null)},dn=function(e){let t=null;const n=Jt(e);for(rn(Me.beforeSanitizeShadowDOM,e,null);t=n.nextNode();)if(rn(Me.uponSanitizeShadowNode,t,null),ln(t,e),mn(t),nn(t.content)&&dn(t.content),1===(Te?Te(t):t.nodeType)){const e=ye(t);nn(e)&&(hn(e),dn(e))}rn(Me.afterSanitizeShadowDOM,e,null)},hn=function(e){const t=[{node:e,shadow:null}];for(;t.length>0;){const e=t.pop();if(e.shadow){dn(e.shadow);continue}const n=e.node,o=1===(Te?Te(n):n.nodeType),r=he(n);if(r)for(let e=r.length-1;e>=0;--e)t.push({node:r[e],shadow:null});if(o){const e=Se?Se(n):null;if("string"==typeof e&&"template"===Ft(e)){const e=n.content;nn(e)&&t.push({node:e,shadow:null})}}if(o){const e=ye(n);nn(e)&&t.push({node:null,shadow:e},{node:e,shadow:null})}}};return o.sanitize=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=null,r=null,a=null,l=null;if(Rt=!e,Rt&&(e="\x3c!--\x3e"),"string"!=typeof e&&!on(e)&&"string"!=typeof(e=function(e){switch(typeof e){case"string":return e;case"number":return w(e);case"boolean":return O(e);case"bigint":return v?v(e):"0";case"symbol":return D?D(e):"Symbol()";case"undefined":default:return C(e);case"function":case"object":{if(null===e)return C(e);const t=e,n=U(t,"toString");if("function"==typeof n){const e=n(t);return"string"==typeof e?e:C(e)}return C(e)}}}(e)))throw x("dirty is not a string, aborting");if(!o.isSupported)return e;at?(Ye=lt,Xe=ct):Gt(t),(Me.uponSanitizeElement.length>0||Me.uponSanitizeAttribute.length>0)&&(Ye=P(Ye)),Me.uponSanitizeAttribute.length>0&&(Xe=P(Xe)),o.removed=[];const c=yt&&"string"!=typeof e&&on(e);if(c){!function(e){if(!rt)return;const t=[e];for(;t.length>0;){const n=t.pop(),o=Te?Te(n):n.nodeType;if(7===o||8===o&&I(le,n.data)){try{me(n)}catch(e){}continue}if(1===o){const t=n,o=Ft(Se?Se(n):n.nodeName);try{t.hasAttribute&&t.hasAttribute("patchsrc")&&t.removeAttribute("patchsrc"),t.hasAttribute&&t.hasAttribute("for")&&"label"!==o&&"output"!==o&&t.removeAttribute("for")}catch(e){}}const r=he(n);if(r)for(let e=r.length-1;e>=0;--e)t.push(r[e])}}(e);const n=Se?Se(e):e.nodeName;if("string"==typeof n){const t=Ft(n);if(!Ye[t]||Ve[t])throw Xt(e),x("root node is forbidden and cannot be sanitized in-place")}if(tn(e))throw Xt(e),x("root node is clobbered and cannot be sanitized in-place");try{hn(e)}catch(t){throw Xt(e),t}}else if(on(e))n=Zt("\x3c!----\x3e"),r=n.ownerDocument.importNode(e,!0),1===r.nodeType&&"BODY"===r.nodeName||"HTML"===r.nodeName?n=r:n.appendChild(r),hn(r);else{if(!ut&&!ot&&!it&&-1===e.indexOf("<"))return Ae&&pt?De(e):e;if(n=Zt(e),!n)return ut?null:pt?_e:""}n&&st&&qt(n.firstChild);const s=c?e:n;try{const e=Jt(s);for(;a=e.nextNode();)ln(a,s),mn(a),nn(a.content)&&dn(a.content)}catch(t){throw c&&(Xt(e),m(o.removed,e=>{e.element&&Vt(e.element)})),t}if(c)return m(o.removed,e=>{e.element&&Vt(e.element)}),ot&&en(e),e;if(ut){if(ot&&en(n),ft)for(l=xe.call(n.ownerDocument);n.firstChild;)l.appendChild(n.firstChild);else l=n;return(Xe.shadowroot||Xe.shadowrootmode)&&(l=Le.call(i,l,!0)),l}let u=it?n.outerHTML:n.innerHTML;return it&&Ye["!doctype"]&&n.ownerDocument&&n.ownerDocument.doctype&&n.ownerDocument.doctype.name&&I(re,n.ownerDocument.doctype.name)&&(u="<!DOCTYPE "+n.ownerDocument.doctype.name+">\n"+u),ot&&(u=Qt(u)),Ae&&pt?De(u):u},o.setConfig=function(){Gt(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}),at=!0,lt=Ye,ct=Xe},o.clearConfig=function(){Ht=null,at=!1,lt=null,ct=null,Ae=Ne,_e=""},o.isValidAttribute=function(e,t,n){Ht||Gt({});const o=Ft(e),r=Ft(t);return cn(o,r,n)},o.addHook=function(e,t){"function"==typeof t&&R(Me,e)&&g(Me[e],t)},o.removeHook=function(e,t){if(R(Me,e)){if(void 0!==t){const n=d(Me[e],t);return-1===n?void 0:y(Me[e],n,1)[0]}return h(Me[e])}},o.removeHooks=function(e){R(Me,e)&&(Me[e]=[])},o.removeAllHooks=function(){Me={afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}},o}();return fe});

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.