PageSourceSearch

https://cdn.dynamitecircle.com/dc-assets/2026/thumbs.CwfEKyjs.js

js dynamitecircle.com collected 2026-10-01 12:09:09 UTC 2,321 bytes, 3 lines download raw bytes

1import{c as o,t as G}from"./sentry.CkfQQhZw.js";import{r as h}from"./secureURL.Deqrt46U.js";import{M as W,at as f,dt as e,ft as r}from"./enum.D0ZEvZZE.js";(function(){try{var n=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};n.SENTRY_RELEASE={id:"61fde56f08b5451b2e5d17e0bd2c31263d84c2c6"};var s=new n.Error().stack;s&&(n._sentryDebugIds=n._sentryDebugIds||{},n._sentryDebugIds[s]="81815858-1534-42f1-a08f-760f559bebbf",n._sentryDebugIdIdentifier="sentry-dbid-81815858-1534-42f1-a08f-760f559bebbf")}catch{}})();var l={[W.Images]:{320:[e.PNG,e.WEBP],512:[e.PNG,e.WEBP],1640:[e.PNG,e.WEBP]},[W.Profiles]:{64:[e.JPEG,e.PNG,e.WEBP],128:[e.JPEG,e.PNG,e.WEBP],256:[e.JPEG,e.PNG,e.WEBP],320:[e.JPEG,e.PNG,e.WEBP],512:[e.JPEG,e.PNG,e.WEBP]}};function N(n,s,i){return l[n]?.[s]?.includes(i)??!1}function $(n,s,i){if(N(n,s,i))return[s,i];G(`[getThumbnail] Not supported: folder=${n}, size=${s}, ext=${i}`);const a=l[n]?.[s];if(a&&a.length>0)return a.includes(e.PNG)?[s,e.PNG]:a.includes(e.WEBP)?[s,e.WEBP]:a.includes(e.JPEG)?[s,e.JPEG]:[s,a[0]];const b=Object.keys(l[n]||{}).map(Number).sort((u,t)=>u-t);for(const u of b){const t=l[n]?.[u];if(t&&t.length>0)return t.includes(e.PNG)?[u,e.PNG]:t.includes(e.WEBP)?[u,e.WEBP]:t.includes(e.JPEG)?[u,e.JPEG]:[u,t[0]]}return null}var y=n=>/\.gif$/i.test(n.split(/[?#]/)[0]||""),p=(n,s,i=r.W320,a=e.WEBP,b=!1)=>{if(!n)return"";if(n=h(n),b&&y(n))return n;const u=$(s,i,a);if(!u)return n;const[t,P]=u;let c;try{c=new URL(n).pathname}catch{return n}const d=`/${s}/thumbs/`;if(c.includes(d)){const m=c.substring(c.lastIndexOf("/")+1).replace(/_\d+x\d+\.[^.]+$/,"");return`https://${o}/${s}/thumbs/${m}_${t}x${t}.${P}`}const E=`/${s}/`;if(!c.includes(E))return n;const g=c.substring(c.lastIndexOf("/")+1).split(".")[0];return`https://${o}/${s}/thumbs/${g}_${t}x${t}.${P}`};function x(n,s=!1){switch(n){case f.Tiny:return s?r.W128:r.W64;case f.Small:return s?r.W256:r.W128;case f.Medium:return s?r.W320:r.W256;case f.Large:return s?r.W512:r.W320;default:return s?r.W256:r.W128}}function w(n,s=!1){switch(n){case f.Tiny:case f.Small:return s?r.W512:r.W512;case f.Medium:return s?r.W512:r.W512;case f.Large:return s?r.W1640:r.W512;default:return s?r.W1640:r.W512}}export{w as n,x as r,p as t};
2
3//# sourceMappingURL=thumbs.CwfEKyjs.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.