403Webshell
Server IP : 185.208.173.17  /  Your IP : 87.236.161.98
Web Server : Microsoft-IIS/10.0
System : Windows NT SRV8576125506 10.0 build 26100 (Windows Server 2016) AMD64
User : IUSR ( 0)
PHP Version : 7.4.13
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  C:/inetpub/wwwroot/parsmega.nuxt/node_modules/@nuxt/image/dist/runtime/providers/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : C:/inetpub/wwwroot/parsmega.nuxt/node_modules/@nuxt/image/dist/runtime/providers/storyblok.js
import {withBase, joinURL, parseURL} from "ufo";
const storyblockCDN = "https://img2.storyblok.com";
export const getImage = (src, {modifiers = {}, baseURL = storyblockCDN} = {}) => {
  const {
    fit,
    smart,
    width = "0",
    height = "0",
    filters = {},
    format,
    quality
  } = modifiers;
  const doResize = width !== "0" || height !== "0";
  if (format) {
    filters.format = format + "";
  }
  if (quality) {
    filters.quality = quality + "";
  }
  const _filters = Object.entries(filters || {}).map((e) => `${e[0]}(${e[1]})`).join(":");
  const options = joinURL(fit ? `fit-${fit}` : "", doResize ? `${width}x${height}` : "", smart ? "smart" : "", _filters ? "filters:" + _filters : "");
  const {pathname} = parseURL(src);
  const url = withBase(joinURL(options, pathname), baseURL);
  return {
    url
  };
};

Youez - 2016 - github.com/yon3zu
LinuXploit