PageSourceSearch

https://www.clinpgx.org/assets/chemical-BBPN-pmH.js

js clinpgx.org collected 2026-10-02 14:43:28 UTC 1,672 bytes, 2 lines download raw bytes

1(function(){try{var e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{};e.SENTRY_RELEASE={id:`b9b32230849b5ab08f94ebc816a87f70f3707cea`};var t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=`737b42f7-fac0-44eb-9ca4-ec872bd5fff6`,e._sentryDebugIdIdentifier=`sentry-dbid-737b42f7-fac0-44eb-9ca4-ec872bd5fff6`)}catch{}})();import{a as e}from"./distribution-B0XtzY3f.js";import{t}from"./client-BLVch9ar.js";function n(n){return e({queryKey:[`chemical`,n],queryFn:()=>t.ky.get(`site/chemical/${n}`).json()})}function r(r){return e({queryKey:[...n(r).queryKey,{view:`max`}],queryFn:async()=>{let e=`data/chemical/${r}`,n=await t.ky.get(e,{searchParams:{view:`max`}}).json();if(!n.data)throw Error(`${e} returned "${n.status}" with no data`);return n.data}})}function i(){return e({queryKey:[`chemicalEditorOptions`],queryFn:async()=>{let e=`curation/chemical/_options`,n=await t.ky.get(e).json();if(!n.data)throw Error(`${e} returned "${n.status}" with no data`);return n.data},staleTime:1/0})}function a(e,n){return t.ky.put(`curation/import/chemical/${e}`,{json:n}).json()}function o(e){return t.ky.post(`curation/import/chemical`,{json:e,searchParams:{noxref:`true`}}).json()}function s(){return e({queryKey:[`chemicalImportOptions`],queryFn:async()=>{let e=`curation/import/chemical/_options`,n=await t.ky.get(e).json();if(!n.data)throw Error(`${e} returned "${n.status}" with no data`);return n.data}})}async function c(e,n){await t.ky.put(`curation/chemical/${e}`,{json:n})}export{o as a,r as i,s as n,a as o,n as r,c as s,i as t};
2//# sourceMappingURL=chemical-BBPN-pmH.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.