1"use strict";(self.webpackChunkformulario_HACCP=self.webpackChunkformulario_HACCP||[]).push([[627],{627:(Tn,Fe,He)=>{He.r(Fe),He.d(Fe,{default:()=>Yt});const{entries:ze,setPrototypeOf:Ge,isFrozen:Dt,getPrototypeOf:Ot,getOwnPropertyDescriptor:bt}=Object;let{freeze:A,seal:y,create:ee}=Object,{apply:de,construct:Te}=typeof Reflect<"u"&&Reflect;A||(A=function(o){return o}),y||(y=function(o){return o}),de||(de=function(o,l){for(var a=arguments.length,c=new Array(a>2?a-2:0),D=2;D<a;D++)c[D-2]=arguments[D];return o.apply(l,c)}),Te||(Te=function(o){for(var l=arguments.length,a=new Array(l>1?l-1:0),c=1;c<l;c++)a[c-1]=arguments[c];return new o(...a)});const te=h(Array.prototype.forEach),yt=h(Array.prototype.lastIndexOf),We=h(Array.prototype.pop),B=h(Array.prototype.push),Lt=h(Array.prototype.splice),ne=h(String.prototype.toLowerCase),Ee=h(String.prototype.toString),_e=h(String.prototype.match),Y=h(String.prototype.replace),Ct=h(String.prototype.indexOf),Nt=h(String.prototype.trim),b=h(Object.prototype.hasOwnProperty),g=h(RegExp.prototype.test),X=function It(s){return function(){for(var o=arguments.length,l=new Array(o),a=0;a<o;a++)l[a]=arguments[a];return Te(s,l)}}(TypeError);function h(s){return function(o){o instanceof RegExp&&(o.lastIndex=0);for(var l=arguments.length,a=new Array(l>1?l-1:0),c=1;c<l;c++)a[c-1]=arguments[c];return de(s,o,a)}}function r(s,o){let l=arguments.length>2&&void 0!==arguments[2]?arguments[2]:ne;Ge&&Ge(s,null);let a=o.length;for(;a--;){let c=o[a];if("string"==typeof c){const D=l(c);D!==c&&(Dt(o)||(o[a]=D),c=D)}s[c]=!0}return s}function Mt(s){for(let o=0;o<s.length;o++)b(s,o)||(s[o]=null);return s}function L(s){const o=ee(null);for(const[l,a]of ze(s))b(s,l)&&(o[l]=Array.isArray(a)?Mt(a):a&&"object"==typeof a&&a.constructor===Object?L(a):a);return o}function j(s,o){for(;null!==s;){const a=bt(s,o);if(a){if(a.get)return h(a.get);if("function"==typeof a.value)return h(a.value)}s=Ot(s)}return function l(){return null}}const Be=A(["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"]),Ae=A(["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"]),ge=A(["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"]),wt=A(["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"]),he=A(["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"]),xt=A(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),Ye=A(["#text"]),Xe=A(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","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","slot"]),Se=A(["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"]),je=A(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),oe=A(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),Pt=y(/\{\{[\w\W]*|[\w\W]*\}\}/gm),kt=y(/<%[\w\W]*|[\w\W]*%>/gm),vt=y(/\$\{[\w\W]*/gm),Ut=y(/^data-[\-\w.\u00B7-\uFFFF]+$/),Ft=y(/^aria-[\-\w]+$/),Ve=y(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),Ht=y(/^(?:\w+script|data):/i),zt=y(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),$e=y(/^html$/i),Gt=y(/^[a-z][.\w]*(-[.\w]+)+$/i);var qe=Object.freeze({__proto__:null,ARIA_ATTR:Ft,ATTR_WHITESPACE:zt,CUSTOM_ELEMENT:Gt,DATA_ATTR:Ut,DOCTYPE_NAME:$e,ERB_EXPR:kt,IS_ALLOWED_URI:Ve,IS_SCRIPT_OR_DATA:Ht,MUSTACHE_EXPR:Pt,TMPLIT_EXPR:vt});var Yt=function Ze(){let s=arguments.length>0&&void 0!==arguments[0]?arguments[0]:typeof window>"u"?null:window;const o=i=>Ze(i);if(o.version="3.3.3",o.removed=[],!s||!s.document||9!==s.document.nodeType||!s.Element)return o.isSupported=!1,o;let{document:l}=s;const a=l,c=a.currentScript,{DocumentFragment:D,HTMLTemplateElement:v,Node:Re,Element:Je,NodeFilter:$,NamedNodeMap:Xt=s.NamedNodeMap||s.MozNamedAttrMap,HTMLFormElement:jt,DOMParser:Vt,trustedTypes:ie}=s,q=Je.prototype,$t=j(q,"cloneNode"),qt=j(q,"remove"),Kt=j(q,"nextSibling"),Zt=j(q,"childNodes"),ae=j(q,"parentNode");if("function"==typeof v){const i=l.createElement("template");i.content&&i.content.ownerDocument&&(l=i.content.ownerDocument)}let S,K="";const{implementation:De,createNodeIterator:Jt,createDocumentFragment:Qt,getElementsByTagName:en}=l,{importNode:tn}=a;let R={afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]};o.isSupported="function"==typeof ze&&"function"==typeof ae&&De&&void 0!==De.createHTMLDocument;const{MUSTACHE_EXPR:Oe,ERB_EXPR:be,TMPLIT_EXPR:ye,DATA_ATTR:nn,ARIA_ATTR:on,IS_SCRIPT_OR_DATA:an,ATTR_WHITESPACE:Qe,CUSTOM_ELEMENT:rn}=qe;let{IS_ALLOWED_URI:et}=qe,d=null;const tt=r({},[...Be,...Ae,...ge,...he,...Ye]);let T=null;const nt=r({},[...Xe,...Se,...je,...oe]);let u=Object.seal(ee(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}})),Z=null,re=null;
vendor: 4,143 bytes, line 1
1const x=Object.seal(ee(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}}));let ot=!0,Le=!0,it=!1,at=!0,U=!1,se=!0,P=!1,Ce=!1,Ne=!1,F=!1,le=!1,ce=!1,rt=!0,st=!1,Ie=!0,J=!1,H={},C=null;const Me=r({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let lt=null;const ct=r({},["audio","video","img","source","image","track"]);let we=null;const ft=r({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),fe="http://www.w3.org/1998/Math/MathML",ue="http://www.w3.org/2000/svg",I="http://www.w3.org/1999/xhtml";let z=I,xe=!1,Pe=null;const ln=r({},[fe,ue,I],Ee);let me=r({},["mi","mo","mn","ms","mtext"]),pe=r({},["annotation-xml"]);const cn=r({},["title","style","font","a","script"]);let Q=null;const fn=["application/xhtml+xml","text/html"];let p=null,G=null;const mn=l.createElement("form"),ut=function(e){return e instanceof RegExp||e instanceof Function},ke=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!G||G!==e){if((!e||"object"!=typeof e)&&(e={}),e=L(e),Q=-1===fn.indexOf(e.PARSER_MEDIA_TYPE)?"text/html":e.PARSER_MEDIA_TYPE,p="application/xhtml+xml"===Q?Ee:ne,d=b(e,"ALLOWED_TAGS")?r({},e.ALLOWED_TAGS,p):tt,T=b(e,"ALLOWED_ATTR")?r({},e.ALLOWED_ATTR,p):nt,Pe=b(e,"ALLOWED_NAMESPACES")?r({},e.ALLOWED_NAMESPACES,Ee):ln,we=b(e,"ADD_URI_SAFE_ATTR")?r(L(ft),e.ADD_URI_SAFE_ATTR,p):ft,lt=b(e,"ADD_DATA_URI_TAGS")?r(L(ct),e.ADD_DATA_URI_TAGS,p):ct,C=b(e,"FORBID_CONTENTS")?r({},e.FORBID_CONTENTS,p):Me,Z=b(e,"FORBID_TAGS")?r({},e.FORBID_TAGS,p):L({}),re=b(e,"FORBID_ATTR")?r({},e.FORBID_ATTR,p):L({}),H=!!b(e,"USE_PROFILES")&&e.USE_PROFILES,ot=!1!==e.ALLOW_ARIA_ATTR,Le=!1!==e.ALLOW_DATA_ATTR,it=e.ALLOW_UNKNOWN_PROTOCOLS||!1,at=!1!==e.ALLOW_SELF_CLOSE_IN_ATTR,U=e.SAFE_FOR_TEMPLATES||!1,se=!1!==e.SAFE_FOR_XML,P=e.WHOLE_DOCUMENT||!1,F=e.RETURN_DOM||!1,le=e.RETURN_DOM_FRAGMENT||!1,ce=e.RETURN_TRUSTED_TYPE||!1,Ne=e.FORCE_BODY||!1,rt=!1!==e.SANITIZE_DOM,st=e.SANITIZE_NAMED_PROPS||!1,Ie=!1!==e.KEEP_CONTENT,J=e.IN_PLACE||!1,et=e.ALLOWED_URI_REGEXP||Ve,z=e.NAMESPACE||I,me=e.MATHML_TEXT_INTEGRATION_POINTS||me,pe=e.HTML_INTEGRATION_POINTS||pe,u=e.CUSTOM_ELEMENT_HANDLING||{},e.CUSTOM_ELEMENT_HANDLING&&ut(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(u.tagNameCheck=e.CUSTOM_ELEMENT_HANDLING.tagNameCheck),e.CUSTOM_ELEMENT_HANDLING&&ut(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(u.attributeNameCheck=e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),e.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(u.allowCustomizedBuiltInElements=e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),U&&(Le=!1),le&&(F=!0),H&&(d=r({},Ye),T=ee(null),!0===H.html&&(r(d,Be),r(T,Xe)),!0===H.svg&&(r(d,Ae),r(T,Se),r(T,oe)),!0===H.svgFilters&&(r(d,ge),r(T,Se),r(T,oe)),!0===H.mathMl&&(r(d,he),r(T,je),r(T,oe))),b(e,"ADD_TAGS")||(x.tagCheck=null),b(e,"ADD_ATTR")||(x.attributeCheck=null),e.ADD_TAGS&&("function"==typeof e.ADD_TAGS?x.tagCheck=e.ADD_TAGS:(d===tt&&(d=L(d)),r(d,e.ADD_TAGS,p))),e.ADD_ATTR&&("function"==typeof e.ADD_ATTR?x.attributeCheck=e.ADD_ATTR:(T===nt&&(T=L(T)),r(T,e.ADD_ATTR,p))),e.ADD_URI_SAFE_ATTR&&r(we,e.ADD_URI_SAFE_ATTR,p),e.FORBID_CONTENTS&&(C===Me&&(C=L(C)),r(C,e.FORBID_CONTENTS,p)),e.ADD_FORBID_CONTENTS&&(C===Me&&(C=L(C)),r(C,e.ADD_FORBID_CONTENTS,p)),Ie&&(d["#text"]=!0),P&&r(d,["html","head","body"]),d.table&&(r(d,["tbody"]),delete Z.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.');S=e.TRUSTED_TYPES_POLICY,K=S.createHTML("")}else void 0===S&&(S=function(o,l){if("object"!=typeof o||"function"!=typeof o.createPolicy)return null;let a=null;
1const c="data-tt-policy-suffix";l&&l.hasAttribute(c)&&(a=l.getAttribute(c));const D="dompurify"+(a?"#"+a:"");try{return o.createPolicy(D,{createHTML:v=>v,createScriptURL:v=>v})}catch{return console.warn("TrustedTypes policy "+D+" could not be created."),null}}(ie,c)),null!==S&&"string"==typeof K&&(K=S.createHTML(""));A&&A(e),G=e}},mt=r({},[...Ae,...ge,...wt]),pt=r({},[...he,...xt]),N=function(e){B(o.removed,{element:e});try{ae(e).removeChild(e)}catch{qt(e)}},k=function(e,t){try{B(o.removed,{attribute:t.getAttributeNode(e),from:t})}catch{B(o.removed,{attribute:null,from:t})}if(t.removeAttribute(e),"is"===e)if(F||le)try{N(t)}catch{}else try{t.setAttribute(e,"")}catch{}},dt=function(e){let t=null,n=null;if(Ne)e="<remove></remove>"+e;else{const m=_e(e,/^[\r\n\t ]+/);n=m&&m[0]}"application/xhtml+xml"===Q&&z===I&&(e='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+e+"</body></html>");const f=S?S.createHTML(e):e;if(z===I)try{t=(new Vt).parseFromString(f,Q)}catch{}if(!t||!t.documentElement){t=De.createDocument(z,"template",null);try{t.documentElement.innerHTML=xe?K:f}catch{}}const _=t.body||t.documentElement;return e&&n&&_.insertBefore(l.createTextNode(n),_.childNodes[0]||null),z===I?en.call(t,P?"html":"body")[0]:P?t.documentElement:_},Tt=function(e){return Jt.call(e.ownerDocument||e,e,$.SHOW_ELEMENT|$.SHOW_COMMENT|$.SHOW_TEXT|$.SHOW_PROCESSING_INSTRUCTION|$.SHOW_CDATA_SECTION,null)},ve=function(e){return e instanceof jt&&("string"!=typeof e.nodeName||"string"!=typeof e.textContent||"function"!=typeof e.removeChild||!(e.attributes instanceof Xt)||"function"!=typeof e.removeAttribute||"function"!=typeof e.setAttribute||"string"!=typeof e.namespaceURI||"function"!=typeof e.insertBefore||"function"!=typeof e.hasChildNodes)},Et=function(e){return"function"==typeof Re&&e instanceof Re};function M(i,e,t){te(i,n=>{n.call(o,e,t,G)})}const _t=function(e){let t=null;if(M(R.beforeSanitizeElements,e,null),ve(e))return N(e),!0;const n=p(e.nodeName);if(M(R.uponSanitizeElement,e,{tagName:n,allowedTags:d}),se&&e.hasChildNodes()&&!Et(e.firstElementChild)&&g(/<[/\w!]/g,e.innerHTML)&&g(/<[/\w!]/g,e.textContent)||7===e.nodeType||se&&8===e.nodeType&&g(/<[/\w]/g,e.data))return N(e),!0;if(!(x.tagCheck instanceof Function&&x.tagCheck(n))&&(!d[n]||Z[n])){if(!Z[n]&>(n)&&(u.tagNameCheck instanceof RegExp&&g(u.tagNameCheck,n)||u.tagNameCheck instanceof Function&&u.tagNameCheck(n)))return!1;if(Ie&&!C[n]){const f=ae(e)||e.parentNode,_=Zt(e)||e.childNodes;if(_&&f)for(let O=_.length-1;O>=0;--O){const w=$t(_[O],!0);w.__removalCount=(e.__removalCount||0)+1,f.insertBefore(w,Kt(e))}}return N(e),!0}return e instanceof Je&&!function(e){let t=ae(e);(!t||!t.tagName)&&(t={namespaceURI:z,tagName:"template"});const n=ne(e.tagName),f=ne(t.tagName);return!!Pe[e.namespaceURI]&&(e.namespaceURI===ue?t.namespaceURI===I?"svg"===n:t.namespaceURI===fe?"svg"===n&&("annotation-xml"===f||me[f]):!!mt[n]:e.namespaceURI===fe?t.namespaceURI===I?"math"===n:t.namespaceURI===ue?"math"===n&&pe[f]:!!pt[n]:e.namespaceURI===I?!(t.namespaceURI===ue&&!pe[f]||t.namespaceURI===fe&&!me[f])&&!pt[n]&&(cn[n]||!mt[n]):!("application/xhtml+xml"!==Q||!Pe[e.namespaceURI]))}(e)||("noscript"===n||"noembed"===n||"noframes"===n)&&g(/<\/no(script|embed|frames)/i,e.innerHTML)?(N(e),!0):(U&&3===e.nodeType&&(t=e.textContent,te([Oe,be,ye],f=>{t=Y(t,f," ")}),e.textContent!==t&&(B(o.removed,{element:e.cloneNode()}),e.textContent=t)),M(R.afterSanitizeElements,e,null),!1)},At=function(e,t,n){if(re[t]||rt&&("id"===t||"name"===t)&&(n in l||n in mn))return!1;if((!Le||re[t]||!g(nn,t))&&!(ot&&g(on,t)||x.attributeCheck instanceof Function&&x.attributeCheck(t,e)))if(!T[t]||re[t]){if(!(gt(e)&&(u.tagNameCheck instanceof RegExp&&g(u.tagNameCheck,e)||u.tagNameCheck instanceof Function&&u.tagNameCheck(e))&&(u.attributeNameCheck instanceof RegExp&&g(u.attributeNameCheck,t)||u.attributeNameCheck instanceof Function&&u.attributeNameCheck(t,e))||"is"===t&&u.allowCustomizedBuiltInElements&&(u.tagNameCheck instanceof RegExp&&g(u.tagNameCheck,n)||u.tagNameCheck instanceof Function&&u.tagNameCheck(n))))return!1}
vendor: 3,635 bytes, line 1
1else if(!we[t]&&!g(et,Y(n,Qe,""))&&("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==Ct(n,"data:")||!lt[e])&&(!it||g(an,Y(n,Qe,"")))&&n)return!1;return!0},gt=function(e){return"annotation-xml"!==e&&_e(e,rn)},ht=function(e){M(R.beforeSanitizeAttributes,e,null);const{attributes:t}=e;if(!t||ve(e))return;const n={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:T,forceKeepAttr:void 0};let f=t.length;for(;f--;){const _=t[f],{name:m,namespaceURI:O,value:w}=_,W=p(m),Ue=w;let E="value"===m?Ue:Nt(Ue);if(n.attrName=W,n.attrValue=E,n.keepAttr=!0,n.forceKeepAttr=void 0,M(R.uponSanitizeAttribute,e,n),E=n.attrValue,st&&("id"===W||"name"===W)&&(k(m,e),E="user-content-"+E),se&&g(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i,E)){k(m,e);continue}if("attributename"===W&&_e(E,"href")){k(m,e);continue}if(n.forceKeepAttr)continue;if(!n.keepAttr){k(m,e);continue}if(!at&&g(/\/>/i,E)){k(m,e);continue}U&&te([Oe,be,ye],Rt=>{E=Y(E,Rt," ")});const St=p(e.nodeName);if(At(St,W,E)){if(S&&"object"==typeof ie&&"function"==typeof ie.getAttributeType&&!O)switch(ie.getAttributeType(St,W)){case"TrustedHTML":E=S.createHTML(E);break;case"TrustedScriptURL":E=S.createScriptURL(E)}if(E!==Ue)try{O?e.setAttributeNS(O,m,E):e.setAttribute(m,E),ve(e)?N(e):We(o.removed)}catch{k(m,e)}}else k(m,e)}M(R.afterSanitizeAttributes,e,null)},dn=function i(e){let t=null;const n=Tt(e);for(M(R.beforeSanitizeShadowDOM,e,null);t=n.nextNode();)M(R.uponSanitizeShadowNode,t,null),_t(t),ht(t),t.content instanceof D&&i(t.content);M(R.afterSanitizeShadowDOM,e,null)};return o.sanitize=function(i){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=null,n=null,f=null,_=null;if(xe=!i,xe&&(i="\x3c!--\x3e"),"string"!=typeof i&&!Et(i)){if("function"!=typeof i.toString)throw X("toString is not a function");if("string"!=typeof(i=i.toString()))throw X("dirty is not a string, aborting")}if(!o.isSupported)return i;if(Ce||ke(e),o.removed=[],"string"==typeof i&&(J=!1),J){if(i.nodeName){const w=p(i.nodeName);if(!d[w]||Z[w])throw X("root node is forbidden and cannot be sanitized in-place")}}else if(i instanceof Re)t=dt("\x3c!----\x3e"),n=t.ownerDocument.importNode(i,!0),1===n.nodeType&&"BODY"===n.nodeName||"HTML"===n.nodeName?t=n:t.appendChild(n);else{if(!F&&!U&&!P&&-1===i.indexOf("<"))return S&&ce?S.createHTML(i):i;if(t=dt(i),!t)return F?null:ce?K:""}t&&Ne&&N(t.firstChild);const m=Tt(J?i:t);for(;f=m.nextNode();)_t(f),ht(f),f.content instanceof D&&dn(f.content);if(J)return i;if(F){if(le)for(_=Qt.call(t.ownerDocument);t.firstChild;)_.appendChild(t.firstChild);else _=t;return(T.shadowroot||T.shadowrootmode)&&(_=tn.call(a,_,!0)),_}let O=P?t.outerHTML:t.innerHTML;return P&&d["!doctype"]&&t.ownerDocument&&t.ownerDocument.doctype&&t.ownerDocument.doctype.name&&g($e,t.ownerDocument.doctype.name)&&(O="<!DOCTYPE "+t.ownerDocument.doctype.name+">\n"+O),U&&te([Oe,be,ye],w=>{O=Y(O,w," ")}),S&&ce?S.createHTML(O):O},o.setConfig=function(){ke(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}),Ce=!0},o.clearConfig=function(){G=null,Ce=!1},o.isValidAttribute=function(i,e,t){G||ke({});const n=p(i),f=p(e);return At(n,f,t)},o.addHook=function(i,e){"function"==typeof e&&B(R[i],e)},o.removeHook=function(i,e){if(void 0!==e){const t=yt(R[i],e);return-1===t?void 0:Lt(R[i],t,1)[0]}return We(R[i])},o.removeHooks=function(i){R[i]=[]},o.removeAllHooks=function(){R={afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}},o}()}}]);
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.