403Webshell
Server IP : 217.154.3.148  /  Your IP : 216.73.216.90
Web Server : Apache
System : Linux blissful-wright.217-154-3-148.plesk.page 6.8.0-136-generic #136-Ubuntu SMP PREEMPT_DYNAMIC Wed Jul 1 21:53:05 UTC 2026 x86_64
User : gracious-boyd_hfhh1h8vo9n ( 10000)
PHP Version : 8.3.31
Disable Function : opcache_get_status
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /var/www/vhosts/gracious-boyd.217-154-3-148.plesk.page/nextjs/.next/server/chunks/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/vhosts/gracious-boyd.217-154-3-148.plesk.page/nextjs/.next/server/chunks/498.js
"use strict";exports.id=498,exports.ids=[498],exports.modules={15498:(a,b,c)=>{c.r(b),c.d(b,{featheredDeocclude:()=>C,inferU2Mask:()=>B});var d=c(73024),e=c.n(d),f=c(76760),g=c.n(f),h=c(9288),i=c.n(h),j=c(90884);let k=new Map,l=(a,b)=>{let c=Number(a);return Number.isFinite(c)?Math.max(64,Math.round(c)):b},m=l(process.env.U2NET_PRIMARY_SIZE,320),n=l(process.env.U2NET_SECONDARY_SIZE,Math.max(384,m)),o=Math.min(.95,Math.max(.02,Number(process.env.U2NET_FALLBACK_THRESHOLD??"0.14"))),p=Math.max(0,Number(process.env.U2NET_GROW_RADIUS??"7")),q=Math.max(0,Math.min(255,Number(process.env.U2NET_GROW_SEED??"120"))),r=Math.min(1,Math.max(0,Number(process.env.U2NET_GROW_MIN_COVERAGE??"0.28"))),s=(process.env.U2NET_USE_ALL_MODELS??"0")==="1",t=Math.max(1,Number(process.env.U2NET_STRETCH_MIN_SIDE??"80"));async function u(a,b,c,d){let e=((a,b,c)=>{let d=b*c,e=new Float32Array(3*d);for(let b=0,c=0;b<d;b++,c+=3){let f=a[c]/255,g=a[c+1]/255,h=a[c+2]/255;e[b]=f,e[b+d]=g,e[b+2*d]=h}return e})(b,c,d),f=a.inputNames[0],g=new j.Tensor("float32",e,[1,3,d,c]),h=await a.run({[f]:g});var i=h[Object.keys(h)[0]].data;let k=new Uint8Array(i.length);for(let a=0;a<i.length;a++){let b=i[a];Number.isFinite(b)||(b=0),b=1/(1+Math.exp(-b)),k[a]=Math.max(0,Math.min(255,Math.round(255*b)))}return k}let v=(a,b,c,d=110)=>{if(b<=0||c<=0)return 0;let e=b*c,f=0;for(let b=0;b<e;b++)a[b]>=d&&(f+=1);return e>0?f/e:0};async function w(a){let b,c=k.get(a);if(c)return c;if(!e().existsSync(a))throw Error(`U\xb2-Net model missing: ${a}`);try{b=await j.InferenceSession.create(a,{executionProviders:["cpuExecutionProvider"],graphOptimizationLevel:"all"})}catch(d){let c=String(d?.message||d);if(/backend not found|executionprovider/i.test(c))b=await j.InferenceSession.create(a);else throw d}let d={key:a,file:a,session:b};return k.set(a,d),d}async function x(){let a=function(){var a;let b=(a=__dirname,g().resolve(a,"../../../../")),c=process.cwd(),d=process.env.U2NET_MODEL_PRIORITY?process.env.U2NET_MODEL_PRIORITY.split(",").map(a=>a.trim()).filter(Boolean):["u2net_finetune.onnx","u2net.onnx","u2netp.onnx"],f=process.env.U2NET_MODEL_PATH?[process.env.U2NET_MODEL_PATH]:[],h=new Set,i=[],j=a=>{if(!a)return;let c=g().isAbsolute(a)?a:g().join(b,a);if(!h.has(c))try{e().existsSync(c)&&(h.add(c),i.push(c))}catch{}};for(let a of(f.forEach(a=>j(a)),d))j(g().join("models",a)),j(g().join(c,"models",a)),j(g().join(__dirname,"../../../models",a)),j(g().join(__dirname,"../../models",a)),j(g().join(__dirname,"../models",a));if(0===i.length){let a=g().join(b,"models","u2netp.onnx");e().existsSync(a)&&i.push(a)}return i}();if(0===a.length)throw Error("No U\xb2-Net models found. Place an ONNX file under models/ or set U2NET_MODEL_PATH.");let b=[];for(let c of a)try{b.push(await w(c))}catch(a){console.warn(`[u2net] Failed to load model ${c}:`,a)}if(0===b.length)throw Error(`Unable to load any U\xb2-Net models. Checked: ${a.join(", ")}`);return b}let y=(a,b)=>{let c=Math.max(64,Math.round(b));try{let b=a.session,c=b.inputNames?.[0],d=c?b.inputMetadata?.[c]?.dimensions:void 0;if(Array.isArray(d)&&d.length>=4){let a=d[d.length-2],b=d[d.length-1],c="number"==typeof a&&a>0?a:"number"==typeof b&&b>0?b:null;if(c&&Number.isFinite(c)&&c>0)return Math.max(64,Math.round(c))}}catch{}return c};async function z(a,b,c,d,e,f){let g=async d=>{let g,h=Math.max(64,Math.round(d)),j=0,k=0,l=0,m=0,n=h,o=h;if("letterbox"===f){let d=h/Math.max(b,c);n=Math.max(1,Math.min(h,Math.round(b*d))),o=Math.max(1,Math.min(h,Math.round(c*d))),j=Math.floor((h-n)/2),k=Math.floor((h-o)/2),l=Math.max(0,h-n-j),m=Math.max(0,h-o-k),g=await a.clone().resize(n,o,{fit:"fill"}).extend({top:k,bottom:m,left:j,right:l,background:{r:0,g:0,b:0}}).raw().toBuffer()}else g=await a.clone().resize(h,h,{fit:"fill"}).raw().toBuffer();let p=await u(e.session,g,h,h),q=i()(Buffer.from(p),{raw:{width:h,height:h,channels:1}});if("letterbox"===f&&(j||k||l||m)){let a=Math.max(1,h-j-l),b=Math.max(1,h-k-m);q=q.extract({left:j,top:k,width:a,height:b})}return new Uint8Array(await q.resize(b,c,{kernel:"lanczos3"}).toColorspace("b-w").raw().toBuffer())};try{return await g(d)}catch(b){let a=(a=>{let b=String(a?.message??a??"").match(/Expected:\s*(\d+)/i);if(b){let a=Number(b[1]);if(Number.isFinite(a)&&a>0)return Math.max(64,Math.round(a))}return null})(b);if(a&&a!==d)return await g(a);if(320!==d)try{return await g(320)}catch{}throw b instanceof Error?b:Error(String(b))}}let A=(a,b)=>{let c=Math.min(a.length,b.length);for(let d=0;d<c;d++)b[d]>a[d]&&(a[d]=b[d])};async function B(a){let b=i()(a).removeAlpha(),c=await b.metadata(),d=c.width??0,e=c.height??0;if(!(d>0&&e>0))throw Error("Bild hat keine g\xfcltigen Dimensionen");let f=await x(),g=f[0],h=y(g,m),j=await z(b,d,e,h,g,"letterbox"),k=v(j,d,e);if(s&&f.length>1){for(let a=1;a<f.length;a++){let c=f[a],g=y(c,m);A(j,await z(b,d,e,g,c,"letterbox"))}k=v(j,d,e)}if(k<o&&n>m){for(let a of s?f:[g]){let c=y(a,n);A(j,await z(b,d,e,c,a,"letterbox"))}k=v(j,d,e)}if(k<o&&Math.min(d,e)>=t){for(let a of s?f:[g]){let c=y(a,m);A(j,await z(b,d,e,c,a,"stretch"))}k=v(j,d,e)}return k<r&&p>0&&function(a,b,c,d,e){if(d<=0||b<=0||c<=0)return;let f=b*c;if(0===f)return;let g=[],h=new Uint8Array(f),i=0;for(let b=0;b<f;b++){let c=a[b];c>=e&&!h[b]&&(g.push(b),h[b]=1),c>i&&(i=c)}if(!g.length)return;let j=Math.max(1,Math.round(d)),k=j+.5,l=[];for(let a=-j;a<=j;a++)for(let b=-j;b<=j;b++){let c=Math.hypot(b,a);if(c>j+.01)continue;let d=Math.max(0,1-c/k);d<=0||l.push({dx:b,dy:a,value:Math.min(255,Math.round(255*d))})}if(l.length){for(let d of g){let e=d%b,f=Math.floor(d/b);for(let d of l){let g=e+d.dx,h=f+d.dy;if(g<0||h<0||g>=b||h>=c)continue;let i=h*b+g;d.value>a[i]&&(a[i]=d.value)}}if(i<220){let b=220/Math.max(1,i);for(let c=0;c<f;c++)a[c]=Math.min(255,Math.round(a[c]*b))}}}(j,d,e,p,q),j}async function C(a,b,c=8){let d=i()(a).removeAlpha(),e=await d.metadata(),f=e.width??0,g=e.height??0;if(b.length!==f*g)throw Error("Maskengr\xf6\xdfe passt nicht zum Bild");let h=await i()(Buffer.from(b),{raw:{width:f,height:g,channels:1}}).blur(2).png().toBuffer(),j=await d.clone().blur(c).png().toBuffer();return await i()(await d.png().toBuffer()).composite([{input:j,blend:"over",mask:{input:h}}]).png().toBuffer()}}};

Youez - 2016 - github.com/yon3zu
LinuXploit