PageSourceSearch

https://ctrk-orcamento-qzplqj5n.manus.space/assets/purify.es-CKWrWwPe.js

js ctrk-orcamento-qzplqj5n.manus.space collected 2026-10-03 05:01:05 UTC 28,148 bytes, 3 lines download raw bytes

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

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.