PageSourceSearch

https://www.bioer.com/_nuxt/o90CM0OS.js

js bioer.com collected 2026-10-09 22:41:32 UTC 5,505 bytes, 1 lines download raw bytes

1var e=new Set(`a.b.blockquote.br.caption.code.col.colgroup.div.em.figcaption.figure.h1.h2.h3.h4.h5.h6.hr.i.img.input.label.li.ol.p.picture.pre.source.span.strong.sub.sup.table.tbody.td.tfoot.th.thead.tr.u.ul`.split(`.`)),t=new Set([`br`,`col`,`hr`,`img`,`input`,`source`]),n=new Set([`href`,`src`]),r=new Set([`class`,`title`]),i={a:new Set([`href`,`target`,`rel`]),img:new Set([`src`,`srcset`,`sizes`,`alt`,`width`,`height`,`loading`,`decoding`,`data-markdown-width`]),input:new Set([`type`,`checked`,`disabled`]),source:new Set([`srcset`,`sizes`,`type`]),td:new Set([`colspan`,`rowspan`]),th:new Set([`colspan`,`rowspan`,`scope`])};function a(e){return e.replace(/&/g,`&amp;`).replace(/"/g,`&quot;`).replace(/</g,`&lt;`).replace(/>/g,`&gt;`)}function o(e){return e.replace(/&(?:amp|quot|lt|gt|apos|#\d{1,7}|#x[0-9a-f]{1,6});/gi,e=>{let t=e.toLowerCase(),n={"&amp;":`&`,"&quot;":`"`,"&lt;":`<`,"&gt;":`>`,"&apos;":`'`};if(n[t])return n[t];let r=t.startsWith(`&#x`),i=Number.parseInt(t.slice(r?3:2,-1),r?16:10);return!Number.isSafeInteger(i)||i<=0||i>1114111?`�`:String.fromCodePoint(i)})}function s(e){let t=e.trim().replace(/[\u0000-\u001F\u007F]+/g,``);return t?/^(https?:|mailto:|tel:|#)/i.test(t)||/^\/(?!\/)/.test(t)?!0:t.length<=1e6&&/^data:image\/(?:png|gif|jpe?g|webp);base64,[a-z0-9+/=]+$/i.test(t):!1}function c(e){return!e||e.length>8e3?!1:e.split(`,`).every(e=>{let t=e.trim().split(/\s+/),n=t.shift()||``,r=t.join(` `);return s(n)&&(!r||/^(?:[1-9]\d{0,4}w|(?:\d+(?:\.\d+)?)x)$/.test(r))})}function l(e){return!e||e.length>500||/(?:url|expression|javascript|vbscript)\s*[:(]/i.test(e)?!1:/^[a-z0-9\s():.,%+\-*/]+$/i.test(e)}function u(e){return e.split(/\s+/).filter(e=>/^[a-z0-9:_/-]+$/i.test(e)).join(` `)}var d=new Set([`blockquote`,`caption`,`code`,`div`,`em`,`figcaption`,`h1`,`h2`,`h3`,`h4`,`h5`,`h6`,`li`,`p`,`pre`,`span`,`strong`,`sub`,`sup`,`td`,`th`]),f=new Set([`col`,`div`,`figure`,`img`,`table`,`td`,`th`]),p=new Set([`figure`,`img`]),m=/^(?:(?:Arial|Helvetica|Georgia|Verdana|Tahoma|Trebuchet MS|Times New Roman|Courier New|serif|sans-serif|monospace)(?:\s*,\s*)?)+$/i,h=/^(?:#[0-9a-f]{3,8}|(?:rgb|hsl)a?\(\s*[0-9.% ,+-]+\s*\)|transparent|currentcolor|black|white|red|green|blue|gray|grey)$/i;function g(e,t=100){let n=/^([0-9]+(?:\.[0-9]+)?)(%|px|rem|em|vw)$/.exec(e.trim());if(!n)return``;let r=Number.parseFloat(n[1]||``),i=n[2]||``;return!Number.isFinite(r)||r<=0||i===`%`&&r>t||i===`px`&&r>2400||(i===`rem`||i===`em`)&&r>150||i===`vw`&&r>100?``:`${r}${i}`}function _(e){let t=g(e,300);if(!t)return``;let n=Number.parseFloat(t);return t.endsWith(`px`)&&(n<10||n>64)||(t.endsWith(`rem`)||t.endsWith(`em`))&&(n<.625||n>4)?``:t}function v(e,t,n){let r=n.trim().replace(/\s+/g,` `);return!r||/[{}<>\\]|(?:url|expression|var)\s*\(|@/i.test(r)?``:t===`text-align`&&d.has(e)&&/^(?:left|center|right|justify)$/.test(r)?r:t===`font-size`&&d.has(e)?_(r):t===`font-family`&&d.has(e)&&m.test(r)||(t===`color`||t===`background-color`)&&d.has(e)&&h.test(r)?r:t===`width`&&f.has(e)||t===`max-width`&&f.has(e)?g(r):t===`aspect-ratio`&&p.has(e)&&/^\d+(?:\.\d+)?\s*\/\s*\d+(?:\.\d+)?$/.test(r)?r.replace(/\s+/g,``):t===`font-weight`&&d.has(e)&&/^(?:normal|bold|[1-9]00)$/.test(r)||t===`font-style`&&d.has(e)&&/^(?:normal|italic|oblique)$/.test(r)||t===`text-decoration`&&d.has(e)&&/^(?:none|underline|line-through)$/.test(r)||t===`page-break-after`&&e===`div`&&r===`always`?r:``}function y(e,t){let n=[];for(let r of t.split(`;`)){let t=r.indexOf(`:`);if(t<=0)continue;let i=r.slice(0,t).trim().toLowerCase(),o=v(e,i,r.slice(t+1));o&&n.push(` data-style-${i}="${a(o)}"`)}return n.join(``)}function b(e,t){return r.has(t)||!!i[e]?.has(t)}function x(e,t,r){let i=t.toLowerCase();if(i.startsWith(`on`))return``;let d=o(r);if(i===`style`)return y(e,d);if(!b(e,i))return``;if(e===`input`){if(i===`type`)return d.toLowerCase()===`checkbox`?` type="checkbox"`:``;if(i===`checked`||i===`disabled`)return` ${i}`}let f=d;return i===`class`&&(f=u(f)),n.has(i)&&!s(f)||i===`srcset`&&!c(f)||i===`sizes`&&!l(f)||!f&&i!==`alt`||e===`a`&&i===`target`&&f!==`_blank`||e===`img`&&i===`loading`&&![`lazy`,`eager`].includes(f)||e===`img`&&i===`decoding`&&![`async`,`auto`,`sync`].includes(f)||e===`source`&&i===`type`&&!/^image\/(?:avif|webp|jpeg|png)$/i.test(f)||e===`img`&&i===`data-markdown-width`&&(f=g(f),!f)||(i===`width`||i===`height`||i===`colspan`||i===`rowspan`)&&!/^[1-9]\d{0,3}$/.test(f)||i===`scope`&&![`col`,`row`,`colgroup`,`rowgroup`].includes(f)?``:` ${i}="${a(f)}"`}function S(e,t){let n=[];for(let r of t.matchAll(/([:@a-zA-Z0-9_-]+)(?:\s*=\s*(?:"([^"]*)"|'([^']*)'|([^\s"'=<>`]+)))?/g)){let t=x(e,r[1]||``,r[2]??r[3]??r[4]??``);t&&n.push(t)}if(e===`a`){let e=n.some(e=>e.startsWith(` target="_blank"`)),t=n.some(e=>e.startsWith(` rel=`));e&&!t&&n.push(` rel="noopener noreferrer"`)}if(e===`img`){let e=n.some(e=>e.startsWith(` loading=`)),t=n.some(e=>e.startsWith(` decoding=`));e||n.push(` loading="lazy"`),t||n.push(` decoding="async"`)}return n.join(``)}function C(n){return n?n.replace(/<!--[\s\S]*?-->/g,``).replace(/<(script|style|iframe|object|embed|form|button|textarea|
1select|option|meta|link)\b[\s\S]*?<\/\1>/gi,``).replace(/<(script|style|iframe|object|embed|form|button|textarea|select|option|meta|link)\b[^>]*\/?>/gi,``).replace(/<\/?([a-zA-Z][a-zA-Z0-9:-]*)([^>]*)>/g,(n,r,i)=>{let a=r.toLowerCase();if(!e.has(a))return``;if(/^<\s*\//.test(n))return t.has(a)?``:`</${a}>`;let o=S(a,i||``);return a===`input`&&!o.includes(` type="checkbox"`)?``:`<${a}${o}>`}):``}export{C as t};

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.