PageSourceSearch

https://rebelbase.social/assets/contentWarning-CNDzjeMP.js

js rebelbase.social collected 2026-10-07 02:09:40 UTC 693 bytes, 4 lines download raw bytes

1// @license magnet:?xt=urn:btih:0b31508aeb0634b347b8270c7bee4d411b5d4109&dn=agpl-3.0.txt AGPL-3.0-or-later
2// @source: https://gitlab.com/soapbox-pub/ditto/-/tree/main
3var e=new Set([`nsfw`,`nsfl`,`porn`,`nudity`,`nude`,`gore`,`explicit`,`sensitive`,`contentwarning`]),t=[`nsfw`,`nsfl`];function n(n){return e.has(n)||t.some(e=>n.startsWith(e))}function r(e){let t=e.tags.find(([e])=>e===`content-warning`);if(t){let n=t[1]?.trim();if(n)return n;let r=e.tags.find(([e,,t])=>e===`l`&&t===`content-warning`);return r?.[1]?.trim()?r[1].trim():``}let r=e.tags.find(([e,t])=>e===`t`&&t!==void 0&&n(t.trim().toLowerCase()));if(r?.[1])return r[1].trim().toLowerCase()}export{r as t};
4// @license-end

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.