vendor: 6,516 bytes, line 1
1function 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(u){s=!0,r=u}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),g=L(Array.prototype.push),y=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),N=L(Number.prototype.toString),O=L(Boolean.prototype.toString),x="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","
1spellcheck","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=1,ft=3,pt=7,mt=8,dt=9,ht=11,gt=["style","script","xmp","iframe","noembed","noframes","plaintext","noscript"],yt=l(z({},gt)),bt=function(){const t={};return m(gt,e=>{t[e]=c(new RegExp("</"+e+"(?=[\\t\\n\\f\\r />])","i"))}),l(t)}(),St=function(t,e,n,o){return D(t,e)&&b(t[e])?z(o.base?P(o.base):{},t[e],o.transform):n},Tt=function(t,e,n){const o=D(t,e)?t[e]:void 0;return o&&"object"==typeof o?P(o):n()};var At=function t(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"undefined"==typeof window?null:window;const o=e=>t(e);
vendor: 5,429 bytes, line 1
1if(o.version="3.4.15",o.removed=[],!e||!e.document||e.document.nodeType!==dt||!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,L=e.NamedNodeMap;void 0===L&&(e.NamedNodeMap||e.MozNamedAttrMap),e.HTMLFormElement;const M=e.DOMParser,gt=e.trustedTypes,At=p.prototype,Et=U(At,"cloneNode"),wt=U(At,"remove"),vt=U(At,"removeAttributeNode"),Nt=U(At,"nextSibling"),Ot=U(At,"childNodes"),xt=U(At,"parentNode"),_t=U(At,"shadowRoot"),Dt=U(At,"attributes"),Rt=f&&f.prototype?U(f.prototype,"nodeType"):null,kt=f&&f.prototype?U(f.prototype,"nodeName"):null,Ct=f&&f.prototype?U(f.prototype,"ownerDocument"):null,It=function(t){return Rt?Rt(t):t.nodeType},Lt=function(t){return kt?kt(t):t.nodeName};if("function"==typeof u){const t=r.createElement("template");t.content&&t.content.ownerDocument&&(r=t.content.ownerDocument)}let zt,Mt,Pt="",Ut=!1,Ft=0;const Ht=function(){if(Ft>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.')},jt=function(t){Ht(),Ft++;try{return zt.createHTML(t)}finally{Ft--}},Bt=r,Wt=Bt.implementation,Yt=Bt.createNodeIterator,Gt=Bt.createDocumentFragment,qt=Bt.getElementsByTagName,$t=i.importNode;let Xt={afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]};o.isSupported="function"==typeof n&&"function"==typeof xt&&Wt&&void 0!==Wt.createHTMLDocument;const Kt=V,Vt=Z,Zt=J,Jt=Q,Qt=tt,te=nt,ee=ot,ne=it;let oe=et,re=null;const ie=z({},[...F,...H,...j,...W,...G]);let ae=null;const le=z({},[...q,...$,...X,...K]);let ce=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}})),se=null,ue=null;const fe=Object.seal(s(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}}));let pe=!0,me=!0,de=!1,he=!0,ge=!1,ye=!0,be=!1,Se=!1,Te=null,Ae=null,Ee=!1,we=!1,ve=!1,Ne=!1,Oe=!0,xe=!1;const _e="user-content-";let De=!0,Re=!1,ke={},Ce=null;const Ie=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 Le=null;const ze=z({},["audio","video","img","source","image","track"]);let Me=null;const Pe=z({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Ue="http://www.w3.org/1998/Math/MathML",Fe="http://www.w3.org/2000/svg",He="http://www.w3.org/1999/xhtml";let je=He,Be=!1,We=null;const Ye=z({},[Ue,Fe,He],T),Ge=l(["mi","mo","mn","ms","mtext"]);let qe=z({},Ge);const $e=l(["annotation-xml"]);let Xe=z({},$e);const Ke=z({},["title","style","font","a","script"]);let Ve=null;const Ze=["application/xhtml+xml","text/html"];let Je=null,Qe=null;const tn=r.createElement("form"),en=function(t){return t instanceof RegExp||t instanceof Function},nn=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(Qe&&Qe===t)return;t&&"object"==typeof t||(t={}),t=P(t),Ve=-1===Ze.indexOf(t.PARSER_MEDIA_TYPE)?"text/html":t.PARSER_MEDIA_TYPE,Je="application/xhtml+xml"===Ve?T:S,re=St(t,"ALLOWED_TAGS",ie,{transform:Je}),ae=St(t,"ALLOWED_ATTR",le,{transform:Je}),We=St(t,"ALLOWED_NAMESPACES",Ye,{transform:T}),Me=St(t,"ADD_URI_SAFE_ATTR",Pe,{transform:Je,base:Pe}),Le=St(t,"ADD_DATA_URI_TAGS",ze,{transform:Je,base:ze}),Ce=St(t,"FORBID_CONTENTS",Ie,{transform:Je}),se=St(t,"FORBID_TAGS",P({}),{transform:Je}),ue=St(t,"FORBID_ATTR",P({}),{transform:Je}),ke=!!D(t,"USE_PROFILES")&&(t.USE_PROFILES&&"object"==typeof t.USE_PROFILES?P(t.USE_PROFILES):t.USE_PROFILES),pe=!1!==t.ALLOW_ARIA_ATTR,me=!1!==t.ALLOW_DATA_ATTR,de=t.ALLOW_UNKNOWN_PROTOCOLS||!1,he=!1!==t.ALLOW_SELF_CLOSE_IN_ATTR,ge=t.SAFE_FOR_TEMPLATES||!1,ye=!1!==t.SAFE_FOR_XML,be=t.WHOLE_DOCUMENT||!1,we=t.RETURN_DOM||!1,ve=t.RETURN_DOM_FRAGMENT||!1,Ne=t.RETURN_TRUSTED_TYPE||!1,Ee=t.FORCE_BODY||!1,Oe=!1!==t.SANITIZE_DOM,xe=t.SANITIZE_NAMED_PROPS||!1,De=!1!==t.KEEP_CONTENT,Re=t.IN_PLACE||!1,oe=function(t){try{return k(t,""),!0}catch(e){return!1}}(t.ALLOWED_URI_REGEXP)?t.ALLOWED_URI_REGEXP:et,je="string"==typeof t.NAMESPACE?t.NAMESPACE:He,qe=Tt(t,"MATHML_TEXT_INTEGRATION_POINTS",()=>z({},Ge)),Xe=Tt(t,"HTML_INTEGRATION_POINTS",()=>z({},$e));const e=Tt(t,"CUSTOM_ELEMENT_HANDLING",()=>s(null));if(ce=s(null),D(e,"tagNameCheck")&&en(e.tagNameCheck)&&(ce.tagNameCheck=e.tagNameCheck),D(e,"attributeNameCheck")&&en(e.attributeNameCheck)&&(ce.attributeNameCheck=e.attributeNameCheck),D(e,"allowCustomizedBuiltInElements")&&"boolean"==typeof e.allowCustomizedBuiltInElements&&(ce.allowCustomizedBuiltInElements=e.allowCustomizedBuiltInElements),c(ce),ge&&(me=!1),ve&&(we=!0),ke&&(re=z({},G),ae=s(null),!0===ke.html&&(z(re,F),z(ae,q)),!0===ke.svg&&(z(re,H),z(ae,$),z(ae,K)),!0===ke.svgFilters&&
vendor: 5,599 bytes, line 1
1(z(re,j),z(ae,$),z(ae,K)),!0===ke.mathMl&&(z(re,W),z(ae,X),z(ae,K))),fe.tagCheck=null,fe.attributeCheck=null,D(t,"ADD_TAGS")&&("function"==typeof t.ADD_TAGS?fe.tagCheck=t.ADD_TAGS:b(t.ADD_TAGS)&&(re===ie&&(re=P(re)),z(re,t.ADD_TAGS,Je))),D(t,"ADD_ATTR")&&("function"==typeof t.ADD_ATTR?fe.attributeCheck=t.ADD_ATTR:b(t.ADD_ATTR)&&(ae===le&&(ae=P(ae)),z(ae,t.ADD_ATTR,Je))),D(t,"ADD_FORBID_CONTENTS")&&b(t.ADD_FORBID_CONTENTS)&&(Ce===Ie&&(Ce=P(Ce)),z(Ce,t.ADD_FORBID_CONTENTS,Je)),De&&(re["#text"]=!0),be&&z(re,["html","head","body"]),re.table&&(z(re,["tbody"]),delete se.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=zt;zt=t.TRUSTED_TYPES_POLICY;try{Pt=jt("")}catch(n){throw zt=e,n}}else null===t.TRUSTED_TYPES_POLICY?(zt=void 0,Pt=""):(void 0===zt&&(Ut||(Mt=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(i){return null}}(gt,a),Ut=!0),zt=Mt),zt&&"string"==typeof Pt&&(Pt=jt("")));l&&l(t),Qe=t},on=z({},[...H,...j,...B]),rn=z({},[...W,...Y]),an=function(t){let e=xt(t);e&&e.tagName||(e={namespaceURI:je,tagName:"template"});const n=S(t.tagName),o=S(e.tagName);return!!We[t.namespaceURI]&&(t.namespaceURI===Fe?function(t,e,n){return e.namespaceURI===He?"svg"===t:e.namespaceURI===Ue?"svg"===t&&("annotation-xml"===n||qe[n]):Boolean(on[t])}(n,e,o):t.namespaceURI===Ue?function(t,e,n){return e.namespaceURI===He?"math"===t:e.namespaceURI===Fe?"math"===t&&Xe[n]:Boolean(rn[t])}(n,e,o):t.namespaceURI===He?function(t,e,n){return!(e.namespaceURI===Fe&&!Xe[n])&&!(e.namespaceURI===Ue&&!qe[n])&&!rn[t]&&(Ke[t]||!on[t])}(n,e,o):!("application/xhtml+xml"!==Ve||!We[t.namespaceURI]))},ln=function(t){g(o.removed,{element:t});try{xt(t).removeChild(t)}catch(e){if(wt(t),!xt(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")}},cn=function(t,e,n){try{vt(t,e)}catch(o){try{t.removeAttribute(n)}catch(r){}}},sn=function(t){pn(t);const e=Ot(t);if(e){const t=[];m(e,e=>{g(t,e)}),m(t,t=>{try{wt(t)}catch(e){}})}const n=Dt(t);if(n)for(let o=n.length-1;o>=0;--o){const e=n[o],r=e&&e.name;"string"==typeof r&&cn(t,e,r)}},un=function(t,e,n){if(!n)try{n=e.getAttributeNode(t)}catch(r){n=null}g(o.removed,{attribute:n||null,from:e});try{n?vt(e,n):e.removeAttribute(t)}catch(r){try{e.removeAttribute(t)}catch(i){}}if("is"===t)if(we||ve)try{ln(e)}catch(r){}else try{e.setAttribute(t,"")}catch(r){}},fn=function(t){const e=Dt(t);if(e)for(let n=e.length-1;n>=0;--n){const o=e[n],r=o&&o.name;"string"!=typeof r||ae[Je(r)]||cn(t,o,r)}},pn=function(t){const e=[t];for(;e.length>0;){const t=e.pop();It(t)===ut&&fn(t);const n=Ot(t);if(n)for(let o=n.length-1;o>=0;--o)e.push(n[o])}},mn=function(t,e){return!!ye&&("patchsrc"===t||"for"===t&&"label"!==e&&"output"!==e)},dn=function(t){let e=null,n=null;if(Ee)t="<remove></remove>"+t;else{const e=A(t,/^[\r\n\t ]+/);n=e&&e[0]}"application/xhtml+xml"===Ve&&je===He&&(t='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+t+"</body></html>");const o=zt?jt(t):t;if(je===He)try{e=(new M).parseFromString(o,Ve)}catch(a){}if(!e||!e.documentElement){e=Wt.createDocument(je,"template",null);try{e.documentElement.innerHTML=Be?Pt:o}catch(a){}}const i=e.body||e.documentElement;return t&&n&&i.insertBefore(r.createTextNode(n),i.childNodes[0]||null),je===He?qt.call(e,be?"html":"body")[0]:be?e.documentElement:i},hn=function(t){const e=Ct?Ct(t):t.ownerDocument;return Yt.call(e||t,t,I.SHOW_ELEMENT|I.SHOW_COMMENT|I.SHOW_TEXT|I.SHOW_PROCESSING_INSTRUCTION|I.SHOW_CDATA_SECTION,null)},gn=function(t){return t=E(t,Kt," "),t=E(t,Vt," "),t=E(t,Zt," ")},yn=function(t){var e;t.normalize();const n=Ct?Ct(t):t.ownerDocument,o=Yt.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=gn(r.data),r=o.nextNode();const i=null===(e=t.querySelectorAll)||void 0===e?void 0:e.call(t,"template");i&&m(i,t=>{Sn(t.content)&&yn(t.content)})},bn=function(t){const e=kt?kt(t):null;return"string"==typeof e&&("form"===Je(e)&&("string"!=typeof t.nodeName||"string"!=typeof t.textContent||"function"!=typeof t.removeChild||t.attributes!==Dt(t)||"function"!=typeof t.removeAttribute||"function"!=typeof t.removeAttributeNode||"function"!=typeof t.getAttributeNode||"function"!=typeof t.setAttribute||"string"!=typeof t.namespaceURI||"function"!=typeof t.insertBefore||"function"!=typeof t.hasChildNodes||t.nodeType!==Rt(t)||t.childNodes!==Ot(t)))},Sn=function(t){if(!Rt||"object"!=typeof t||null===t)return!1;try{return Rt(t)===ht}catch(e){return!1}},Tn=function(t){if(!Rt||"object"!=typeof t||null===t)return!1;try{return"number"==typeof Rt(t)}catch(e){return!1}};function An(t,e,n){0!==t.length&&m(t,t=>{t.call(o,e,n,Qe)})}const En=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},wn=function(t,e,n,o){return 0===t.length?e:e===n||e===o?P(e):e},vn=function(t,e){return t!==e&&null===xt(t)&&(Re&&pn(t),!0)},Nn=function(t,e){if(An(Xt.beforeSanitizeElements,t,null),vn(t,e))return!0;
vendor: 7,071 bytes, line 1
1if(bn(t))return ln(t),!0;const n=Je(Lt(t));if(re=wn(Xt.uponSanitizeElement,re,ie,Te),An(Xt.uponSanitizeElement,t,{tagName:n,allowedTags:re}),vn(t,e))return!0;if(function(t,e){return!!(ye&&t.hasChildNodes()&&!Tn(t.firstElementChild)&&k(at,t.textContent)&&k(at,t.innerHTML))||!!(ye&&t.namespaceURI===He&&yt[e]&&(Tn(t.firstElementChild)||"string"==typeof t.textContent&&k(bt[e],t.textContent)))||t.nodeType===pt||!(!ye||t.nodeType!==mt||!k(lt,t.data))}(t,n))return ln(t),!0;if(se[n]||!(fe.tagCheck instanceof Function&&fe.tagCheck(n))&&!re[n]){const o=function(t,e,n){if(!se[e]&&_n(e)&&En(ce.tagNameCheck,e))return!1;if(De&&!Ce[e]){const e=xt(t),o=Ot(t);if(o&&e)for(let r=o.length-1;r>=0;--r){const i=t===n?Et(o[r],!0):o[r];e.insertBefore(i,Nt(t))}}return ln(t),!0}(t,n,e);return!1===o&&An(Xt.afterSanitizeElements,t,null),o}if(It(t)===ut&&!an(t))return ln(t),!0;if(("noscript"===n||"noembed"===n||"noframes"===n)&&k(ct,t.innerHTML))return ln(t),!0;if(ge&&t.nodeType===ft){const e=gn(t.textContent);t.textContent!==e&&(g(o.removed,{element:t.cloneNode()}),t.textContent=e)}return An(Xt.afterSanitizeElements,t,null),!1},On=function(t,e,n){if(ue[e])return!1;if(mn(e,t))return!1;if(Oe&&("id"===e||"name"===e)&&(n in r||n in tn))return!1;const o=ae[e]||fe.attributeCheck instanceof Function&&fe.attributeCheck(e,t);return!(!me||!k(Jt,e))||(!(!pe||!k(Qt,e))||(o?!!Me[e]||(!!k(oe,E(n,ee,""))||(!("src"!==e&&"xlink:href"!==e&&"href"!==e||"script"===t||0!==w(n,"data:")||!Le[t])||(!(!de||k(te,E(n,ee,"")))||!n))):_n(t)&&En(ce.tagNameCheck,t)&&En(ce.attributeNameCheck,e,t)||"is"===e&&ce.allowCustomizedBuiltInElements&&En(ce.tagNameCheck,n)))},xn=z({},["annotation-xml","color-profile","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","missing-glyph"]),_n=function(t){return!xn[S(t)]&&k(ne,t)},Dn=function(t,e,n,o){if(zt&&"object"==typeof gt&&"function"==typeof gt.getAttributeType&&!n)switch(gt.getAttributeType(t,e)){case"TrustedHTML":return jt(o);case"TrustedScriptURL":return function(t){Ht(),Ft++;try{return zt.createScriptURL(t)}finally{Ft--}}(o)}return o},Rn=function(t,e,n,o){try{return n?t.setAttributeNS(n,e,o):t.setAttribute(e,o),!bn(t)||(ln(t),!1)}catch(r){return un(e,t),!1}},kn=function(t){An(Xt.beforeSanitizeAttributes,t,null);const e=t.attributes;if(!e||bn(t))return;ae=wn(Xt.uponSanitizeAttribute,ae,le,Ae);const n={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:ae,forceKeepAttr:void 0};let r=e.length;const i=Je(t.nodeName);for(;r--;){const a=e[r],l=a.name,c=a.namespaceURI,s=a.value,u=Je(l),f=s;let p="value"===l?f:v(f),m=!1;if(n.attrName=u,n.attrValue=p,n.keepAttr=!0,n.forceKeepAttr=void 0,An(Xt.uponSanitizeAttribute,t,n),p=n.attrValue,!xe||"id"!==u&&"name"!==u||0===w(p,_e)||(un(l,t,a),p=_e+p,m=!0),ye&&k(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i,p))un(l,t,a);else if("attributename"===u&&A(p,"href"))un(l,t,a);else if(!n.forceKeepAttr)if(n.keepAttr)if(he||!k(st,p))if(ge&&(p=gn(p)),On(i,u,p)){if(p=Dn(i,u,c,p),p!==f){Rn(t,l,c,p)&&m&&h(o.removed)}}else un(l,t,a);else un(l,t,a);else un(l,t,a)}An(Xt.afterSanitizeAttributes,t,null)},Cn=function(t){let e=null;const n=hn(t);for(An(Xt.beforeSanitizeShadowDOM,t,null);e=n.nextNode();)if(An(Xt.uponSanitizeShadowNode,e,null),Nn(e,t),kn(e),Sn(e.content)&&Cn(e.content),It(e)===ut){const t=_t(e);Sn(t)&&(In(t),Cn(t))}An(Xt.afterSanitizeShadowDOM,t,null)},In=function(t){const e=[{node:t,shadow:null}];for(;e.length>0;){const t=e.pop();if(t.shadow){Cn(t.shadow);continue}const n=t.node,o=It(n)===ut,r=Ot(n);if(r)for(let i=r.length-1;i>=0;--i)e.push({node:r[i],shadow:null});if(o){const t=kt?kt(n):null;if("string"==typeof t&&"template"===Je(t)){const t=n.content;Sn(t)&&e.push({node:t,shadow:null})}}if(o){const t=_t(n);Sn(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(Be=!t,Be&&(t="\x3c!--\x3e"),"string"!=typeof t&&!Tn(t)&&"string"!=typeof(t=function(t){switch(typeof t){case"string":return t;case"number":return N(t);case"boolean":return O(t);case"bigint":return x?x(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;Se?(re=Te,ae=Ae):nn(e),(Xt.uponSanitizeElement.length>0||Xt.uponSanitizeAttribute.length>0)&&(re=P(re)),Xt.uponSanitizeAttribute.length>0&&(ae=P(ae)),o.removed=[];const c=Re&&"string"!=typeof t&&Tn(t);if(c){!function(t){if(!ye)return;const e=[t];for(;e.length>0;){const t=e.pop(),o=It(t);if(o===pt||o===mt&&k(lt,t.data)){try{wt(t)}catch(n){}continue}if(o===ut){const e=t,o=Je(Lt(t));try{e.hasAttribute&&e.hasAttribute("patchsrc")&&e.removeAttribute("patchsrc"),e.hasAttribute&&e.hasAttribute("for")&&mn("for",o)&&e.removeAttribute("for")}catch(n){}}const r=Ot(t);if(r)for(let n=r.length-1;n>=0;--n)e.push(r[n])}}(t);const e=Lt(t);if("string"==typeof e){const n=Je(e);if(!re[n]||se[n])throw sn(t),C("root node is forbidden and cannot be sanitized in-place")}if(bn(t))throw sn(t),C("root node is clobbered and cannot be sanitized in-place");try{In(t)}catch(f){throw sn(t),f}}else if(Tn(t))n=dn("\x3c!----\x3e"),r=n.ownerDocument.importNode(t,!0),r.nodeType===ut&&"BODY"===r.nodeName||"HTML"===r.nodeName?n=r:n.appendChild(r),In(n);else{if(!we&&!ge&&!be&&-1===t.indexOf("<"))return zt&&Ne?jt(t):t;if(n=dn(t),!n)return we?null:Ne?Pt:""}n&&Ee&&ln(n.firstChild);const s=c?t:n;try{const t=hn(s);for(;a=t.nextNode();)Nn(a,s),kn(a),Sn(a.content)&&Cn(a.content)}catch(f){throw c&&(sn(t),m(o.removed,t=>{t.element&&pn(t.element)})),f}if(c)return m(o.removed,t=>{t.element&&pn(t.element)}),ge&&yn(t),t;if(we){if(ge&&yn(n),ve)for(l=Gt.call(n.ownerDocument);n.firstChild;)l.appendChild(n.firstChild);else l=n;return(ae.shadowroot||ae.shadowrootmode)&&(l=$t.call(i,l,!0)),l}let u=be?n.outerHTML:n.innerHTML;return be&&re["!doctype"]&&n.ownerDocument&&n.ownerDocument.doctype&&n.ownerDocument.doctype.name&&k(rt,n.ownerDocument.doctype.name)&&(u="<!DOCTYPE "+n.ownerDocument.doctype.name+">\n"+u),ge&&(u=gn(u)),zt&&Ne?jt(u):u},o.setConfig=function(){nn(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}),Se=!0,Te=re,Ae=ae},o.clearConfig=function(){Qe=null,Se=!1,Te=null,Ae=null,zt=Mt,Pt=""},o.isValidAttribute=function(t,e,n){Qe||nn({});const o=Je(t),r=Je(e);return On(o,r,n)},o.addHook=function(t,e){"function"==typeof e&&D(Xt,t)&&g(Xt[t],e)},o.removeHook=function(t,e){if(D(Xt,t)){if(void 0!==e){const n=d(Xt[t],e);return-1===n?void 0:y(Xt[t],n,1)[0]}return h(Xt[t])}},o.removeHooks=function(t){D(Xt,t)&&(Xt[t]=[])},o.removeAllHooks=function(){Xt={afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}},o}();export{At 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.