PageSourceSearch

https://bituima-cundinamarca.gov.co/chunk-GCE2MEC6.js

js bituima-cundinamarca.gov.co collected 2026-10-03 01:32:27 UTC 2,315 bytes, 1 lines download raw bytes

1import{J as d}from"./chunk-BQLJE42W.js";import{V as c,_ as f}from"./chunk-YE3BF7DR.js";var m=class a{constructor(e){this.sanitizer=e;this.isIE=this.detectIE()}isIE;getFirstsLetters(e){return e?e.split(" ").map((t,r)=>r<2?t.charAt(0):"").join(""):""}detectIE(){let e=window.navigator.userAgent;return e.indexOf("MSIE ")>0||!!e.match(/Trident.*rv:11\./)}accentFold(e){return e.replace(/([àáâãäå])|([ç])|([èéêë])|([ìíîï])|([ñ])|([òóôõöø])|([ß])|([ùúûü])|([ÿ])|([æ])/g,(t,r,n,l,o,s,u,i,g,y,E)=>r?"a":n?"c":l?"e":o?"i":s?"n":u?"o":i?"s":g?"u":y?"y":E?"ae":"")}closeDivs(e){e&&e.stopPropagation();let t=document.getElementsByClassName("remove-class");Array.from(t).forEach(r=>r.remove())}decodeHtml(e){let t=document.createElement("textarea");t.innerHTML=e;let r=t.value;return t.remove(),r}decodeHtmlEntitiesPreservingMarkup(e){if(!e)return"";let t=e;if(/&(?:lt|gt|amp|quot|#39);/i.test(e)){let r=document.createElement("textarea");r.innerHTML=e,t=r.value,r.remove()}return this.sanitizer.bypassSecurityTrustHtml(t)}renderEncodedHtml(e){if(!e)return e;let t=document.createElement("div");return t.innerHTML=e,Array.from(t.querySelectorAll("code")).forEach(r=>{let n=r.textContent?.trim();if(!n||!/<\/?[a-z][\s\S]*>/i.test(n))return;let l=new DOMParser().parseFromString(n,"text/html"),o=document.createDocumentFragment();Array.from(l.head.children).forEach(i=>{i.tagName==="STYLE"&&o.appendChild(i.cloneNode(!0))}),Array.from(l.body.childNodes).forEach(i=>{o.appendChild(i.cloneNode(!0))});let s=r.parentElement,u=Array.from(o.childNodes).some(i=>i.nodeType===Node.ELEMENT_NODE&&/^(ADDRESS|ARTICLE|ASIDE|BLOCKQUOTE|DIV|H[1-6]|HEADER|HR|LI|OL|P|PRE|SECTION|TABLE|UL)$/i.test(i.tagName));s?.tagName==="P"&&u?s.replaceWith(o):r.replaceWith(o)}),t.innerHTML}firstOrDefault(e,t,r){return e.firstOrDefault(t,r)}getAttributeValue(e,t){let r=e.find(n=>n.attribute===t);return r?r.value:null}format(e,...t){return e.replace(/{(\d+)}/g,(r,n)=>typeof t[n]<"u"?t[n]:r)}static \u0275fac=function(t){return new(t||a)(f(d))};static \u0275prov=c({token:a,factory:a.\u0275fac,providedIn:"root"})};Array.prototype.firstOrDefault=function(a,e){var t=this;return t.find(r=>r[a]===e)||null};Array.prototype.getAttributeValue=function(a){let e=this.find(t=>t.attribute===a);return e?e.value:null};export{m as a};

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.