PageSourceSearch

https://www.online-convert.com/build-legacy/4307.882674a6.js

js online-convert.com collected 2026-10-01 08:34:32 UTC 2,272 bytes, 4 lines download raw bytes

1"use strict";
2!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="0657a842-a379-5a7e-b21c-1822d2720425")}catch(e){}}();
3(globalThis.webpackChunksat_monorepo=globalThis.webpackChunksat_monorepo||[]).push([[4307],{94307(t,e,a){a.d(e,{Base64FileManager:()=>r});class r{static bytesToBase64(t){const e=Array.from(t,t=>String.fromCodePoint(t)).join("");return btoa(e)}static fromText(t,e,a){return{name:t,type:e,content:this.bytesToBase64((new TextEncoder).encode(a)),options:{type:e}}}static fromImage(t,e,a){let r=a;return a.startsWith("data:")&&(r=this.extractBase64FromDataUrl(a)),{name:t,type:e,content:r,options:{type:e}}}static createPromptFile(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"prompt.txt";return this.fromText(e,"prompt",t)}static createNegativePromptFile(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"negative_prompt.txt";return this.fromText(e,"negative_prompt",t)}static createTextFile(t,e){return this.fromText(t,"text/plain",e)}static createJsonFile(t,e){const a=JSON.stringify(e,null,2);return{name:t,type:"application/json",content:this.bytesToBase64((new TextEncoder).encode(a)),options:{type:"application/json"}}}static createReferenceImageFile(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"reference.jpg";return this.fromImage(e,"reference_image",t)}static extractBase64FromDataUrl(t){const e=t.match(/^data:[^;]+;base64,(.+)$/);return e?e[1]:t}static getMimeTypeFromDataUrl(t){const e=t.match(/^data:([^;]+);base64,/);return e?e[1]:null}static isValidBase64(t){try{return btoa(atob(t))===t}catch{return!1}}static toDataUrl(t){return`data:${arguments.length>1&&void 0!==arguments[1]?arguments[1]:"text/plain"};base64,${t}`}static textToDataUrl(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"text/plain";const a=this.bytesToBase64((new TextEncoder).encode(t));return this.toDataUrl(a,e)}static getEstimatedFileSize(t){const e=t.startsWith("data:")?this.extractBase64FromDataUrl(t):t;return Math.floor(3*e.length/4)}}}}]);
4//# debugId=0657a842-a379-5a7e-b21c-1822d2720425

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.