PageSourceSearch

https://apriori-publishing.com/_nuxt/C1Nns4KS.js

js apriori-publishing.com collected 2026-10-02 20:25:05 UTC 2,929 bytes, 2 lines download raw bytes

1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./CFM_pW2T.js","./BKtmRkjI.js","./entry.DMp4S1HC.css"])))=>i.map(i=>d[i]);
2import{cP as w}from"./BKtmRkjI.js";import{c as d,a as p,t as l}from"./BfKUUsGh.js";async function g(t,r){return await $fetch(`/__nuxt_content/${r}/sql_dump.txt`,{context:{},responseType:"text",headers:{"content-type":"text/plain"},query:{v:d[String(r)],t:void 0}})}async function S(t,r="gzip"){var c;const e=Uint8Array.from(atob(t),u=>u.charCodeAt(0)),o=(c=new Response(new Blob([e])).body)==null?void 0:c.pipeThrough(new DecompressionStream(r)),s=await new Response(o).text();return JSON.parse(s)}function f(t,r){const e=h(t),n={...r};for(const o in n)e[o]==="json"&&n[o]&&n[o]!=="undefined"&&(n[o]=JSON.parse(n[o])),e[o]==="boolean"&&n[o]!=="undefined"&&(n[o]=!!n[o]);for(const o in n)n[o]==="NULL"&&(n[o]=void 0);return n}function h(t){const r=t.match(/FROM\s+(\w+)/);if(!r)return{};const e=p[b(r[1])];return(e==null?void 0:e.fields)||{}}function b(t){return t.replace(/^_content_/,"")}let a;const m={},i={};function R(t){async function r(e){return a||(i._=i._||_(),a=await i._,Reflect.deleteProperty(i,"_")),m[String(e)]||(i[String(e)]=i[String(e)]||y(e),await i[String(e)],m[String(e)]="loaded",Reflect.deleteProperty(i,String(e))),a}return{all:async(e,n)=>(await r(t),a.exec({sql:e,bind:n,rowMode:"object",returnValue:"resultRows"}).map(o=>f(e,o))),first:async(e,n)=>(await r(t),f(e,a.exec({sql:e,bind:n,rowMode:"object",returnValue:"resultRows"}).shift())),exec:async(e,n)=>{await r(t),await a.exec({sql:e,bind:n})}}}async function _(){if(!a){const t=await w(()=>import("./CFM_pW2T.js"),__vite__mapDeps([0,1,2]),import.meta.url).then(e=>e.default);globalThis.sqlite3ApiConfig={silent:!0,debug:(...e)=>console.debug(...e),warn:(...e)=>{String(e[0]).includes("OPFS sqlite3_vfs")||console.warn(...e)},error:(...e)=>console.error(...e),log:(...e)=>console.log(...e)};const r=await t();a=new r.oo1.DB}return a}async function y(t){if(window.sessionStorage.getItem("previewToken"))return a;let r=null;const e=`checksum_${t}`,n=`collection_${t}`;let o="matched";try{const s=a.exec({sql:`SELECT * FROM ${l.info} where id = '${e}'`,rowMode:"object",returnValue:"resultRows"}).shift();(s==null?void 0:s.version)!==d[String(t)]&&(o="mismatch")}catch{o="missing"}if(o!=="matched"){if(window.localStorage.getItem(`content_${e}`)===d[String(t)]&&(r=window.localStorage.getItem(`content_${n}`)),!r){r=await g(void 0,String(t));try{window.localStorage.setItem(`content_${e}`,d[String(t)]),window.localStorage.setItem(`content_${n}`,r)}catch(c){console.error("Database integrity check failed, rebuilding database",c)}}const s=await S(r);await a.exec({sql:`DROP TABLE IF EXISTS ${l[String(t)]}`}),o==="mismatch"&&await a.exec({sql:`DELETE FROM ${l.info} WHERE id = '${e}'`});for(const c of s)try{await a.exec(c)}catch(u){console.error("Error executing command",u)}}return a}export{R as loadDatabaseAdapter};

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.