PageSourceSearch

https://m.wingu.se/packs/mode-tmreEKox.js

js wingu.se collected 2026-09-29 15:10:30 UTC 1,514 bytes, 2 lines download raw bytes

1import{t as e}from"./environment-a85louTd.js";import{r as t}from"./store-BKpYtGn4.js";import{n,s as r}from"./typed_functions-Whap35TF.js";import{f as i,m as a,n as o,p as s}from"./locale-D-1rLaCQ.js";function c(){let{colorScheme:e}=document.documentElement.dataset;return e===`dark`}var l=n([e=>e.meta.get(`emoji_style`)],e=>_(e));function u(){return{currentLocale:r(e=>o(e.meta.get(`locale`))),mode:r(l),darkTheme:c(),assetHost:t}}var d=`"Twemoji Mozilla","Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji","EmojiOne Color","Android Emoji",sans-serif`;function f(e,t){let n=document.createElement(`canvas`);n.width=n.height=1;let r=n.getContext(`2d`,{willReadFrequently:!0});if(!r)throw Error(`Canvas context not available`);return r.textBaseline=`top`,r.font=`100px ${d}`,r.fillStyle=t,r.scale(.01,.01),r.fillText(e,0,0),r.getImageData(0,0,1,1).data}function p(e,t){let n=[...e].join(`,`);return n===[...t].join(`,`)&&!n.startsWith(`0,0,0,`)}function m(e){return p(f(e,`#000`),f(e,`#fff`))}var h=`🫩`,g=`🇨🇭`;function _(e){return e===`native`?y()?s:i:e===`twemoji`||v()?a:y()?s:i}function v(){if(typeof window>`u`)return!1;try{return!m(h)}catch(t){return e()&&console.warn(`Emoji rendering test failed, defaulting to Twemoji. Error:`,t),!0}}function y(){if(typeof window>`u`)return!1;try{return!m(g)}catch(t){return e()&&console.warn(`Flag emoji rendering test failed, defaulting to replacement. Error:`,t),!0}}export{u as n,c as r,_ as t};
2//# sourceMappingURL=mode-tmreEKox.js.map

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.