1import{o as t,p as e}from"./p-BfiO-GnF.js"; 2/*! 3 * (C) Ionic http://ionicframework.com - MIT License 4 */const o=!1,n=o=>{try{if(o instanceof v)return o.value;if(!a()||"string"!=typeof o||""===o)return o;if(/onload\s*=/i.test(o))return t("sanitizeDOMString - Content was discarded because it appears to contain an onload handler:",o.substring(0,100)),"";const e=document.createDocumentFragment(),n=document.createElement("div");e.appendChild(n),n.innerHTML=o,b.forEach((t=>{const o=e.querySelectorAll(t);for(let t=o.length-1;t>=0;t--){const n=o[t];n.parentNode?n.parentNode.removeChild(n):e.removeChild(n);const s=r(n);for(let t=0;t<s.length;t++)i(s[t],l)}}));const s=r(e);for(let t=0;t<s.length;t++)i(s[t],l);const c=document.createElement("div");c.appendChild(e);const f=c.querySelector("div");return null!==f?f.innerHTML:c.innerHTML}catch(t){return e("sanitizeDOMString",t),""}},s=t=>{a()&&(b.forEach((e=>{const o=t.querySelectorAll(e);for(let t=o.length-1;t>=0;t--)o[t].remove()})),i(t,f,d))},i=(t,e,o=[])=>{if(t.nodeType&&1!==t.nodeType)return;if("undefined"!=typeof NamedNodeMap&&!(t.attributes instanceof NamedNodeMap))return void t.remove();t.removeAttribute("style");for(let n=t.attributes.length-1;n>=0;n--){const s=t.attributes.item(n),i=s.name,r=i.toLowerCase();if(!p(r,e,o)){t.removeAttribute(i);continue}const a=s.value;if(null==a)continue;const c=a.replace(u,"").toLowerCase();(c.includes("javascript:")||c.includes("vbscript:")||m.includes(r)&&c.startsWith("data:")&&!y.test(c))&&t.removeAttribute(i)}const n=r(t);for(let t=0;t<n.length;t++)i(n[t],e,o)},r=t=>null!=t.children?t.children:t.childNodes,a=()=>{const t=window,e=t?.Ionic?.config;return!e||(e.get?e.get("sanitizerEnabled",!0):!0===e.sanitizerEnabled||void 0===e.sanitizerEnabled)},c=t=>{const e=[];t.tagName in h&&e.push(t);for(const o of Object.keys(h))e.push(...Array.from(t.querySelectorAll(o.toLowerCase())));for(const t of e){if(!(t.tagName in h))continue;const e=h[t.tagName];for(const o of e){const e=t[o];"string"==typeof e&&e.length>0&&!t.hasAttribute(o)&&t.setAttribute(o,e)}}},l=["class","id","href","src","name","slot"],f=["class","id","slot","name","title","alt","lang","dir","role","type","value","disabled","width","height","href","src","color","size","shape","fill","expand","mode","theme","icon","label","label-placement","justify","inset","lines","ios","md","xmlns","viewbox","preserveaspectratio","stroke","stroke-width","stroke-linecap","stroke-linejoin","stroke-opacity","stroke-dasharray","fill-rule","fill-opacity","clip-rule","d","points","cx","cy","r","rx","ry","x","y","x1","y1","x2","y2","transform","opacity"],d=["aria-","data-"],p=(t,e,o)=>!!e.includes(t)||o.some((e=>t.startsWith(e))),u=/[\u0000-\u0020\u007f-\u00a0]/g,m=["href","src"],y=/^data:image\/(?:png|jpe?g|gif|webp|bmp|avif|x-icon|vnd\.microsoft\.icon)[;,]/,b=["script","style","iframe","meta","link","object","embed","base"],h={"ION-ICON":["icon","name","src","ios","md"]}; 5/*! 6 * (C) Ionic http://ionicframework.com - MIT License 7 */class v{constructor(t){this.value=t}}export{o as E,s as a,b,c as r,n as s}
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.