PageSourceSearch

https://notetube.ai/_next/static/chunks/2039.1d07eac74f3b118d.js

js notetube.ai collected 2026-10-05 14:14:25 UTC 2,681 bytes, 1 lines download raw bytes

1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};e._sentryModuleMetadata=e._sentryModuleMetadata||{},e._sentryModuleMetadata[(new e.Error).stack]=function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];if(null!=n)for(var s in n)n.hasOwnProperty(s)&&(e[s]=n[s])}return e}({},e._sentryModuleMetadata[(new e.Error).stack],{"_sentryBundlerPluginAppKey:notetube-web":!0});var t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="e0df01fe-028a-4968-9685-d9a199fee22e",e._sentryDebugIdIdentifier="sentry-dbid-e0df01fe-028a-4968-9685-d9a199fee22e")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2039],{12039:(e,t,n)=>{n.r(t),n.d(t,{SmilesDiagram:()=>l});var s=n(54568),r=n(7620);let a={C:"#14140f",O:"#c6613f",N:"#788c5d",S:"#b5801a",P:"#d35400",F:"#27ae60",CL:"#27ae60",BR:"#795548",I:"#8e44ad",H:"#666666",BACKGROUND:"transparent"};function l(e){let{smiles:t,width:l=300,height:d=200,inline:u=!1}=e,i=(0,r.useRef)(null),c=(0,r.useRef)(null),f=(0,r.useRef)(null),o=(0,r.useId)(),g="smiles-".concat(o.replace(/[^a-zA-Z0-9]/g,"")),[b,h]=(0,r.useState)(!1),[m,p]=(0,r.useState)(null);(0,r.useEffect)(()=>{let e=!1;return n.e(7298).then(n.bind(n,37298)).then(t=>{var n;if(e)return;let s=null!=(n=t.default)?n:t;f.current=s,c.current=new s.SvgDrawer({width:l,height:d,bondThickness:u?1:1.5,bondLength:u?15:25,fontSize:u?7:10,padding:u?8:30,themes:{light:a}}),h(!0)}),()=>{e=!0}},[l,d,u]);let v=(0,r.useCallback)(()=>{let e=i.current,n=c.current,s=f.current;if(!t||!e||!n||!s)return;e.innerHTML="";let r=document.createElementNS("http://www.w3.org/2000/svg","svg");r.setAttribute("id",g),e.appendChild(r),s.parse(t,e=>{n.draw(e,g,"light"),p(null)},e=>{var t;p(null!=(t=null==e?void 0:e.message)?t:String(e))})},[t,g]);return((0,r.useEffect)(()=>{b&&v()},[b,v]),m)?(0,s.jsxs)("div",{className:"p-3 rounded-lg border border-destructive/50 bg-destructive/5 text-destructive text-xs my-4",children:[(0,s.jsx)("span",{className:"font-medium",children:"SMILES error:"})," ",m]}):u?(0,s.jsx)("span",{className:"inline-block align-middle mx-0.5",children:b?(0,s.jsx)("span",{ref:i,className:"inline-block [&>svg]:w-full [&>svg]:h-auto",style:{width:l,minHeight:d}}):(0,s.jsx)("span",{className:"inline-block h-10 w-14 animate-pulse bg-muted/40 rounded"})}):(0,s.jsx)("div",{className:"flex justify-center my-4",children:b?(0,s.jsx)("div",{ref:i,className:"[&>svg]:w-full [&>svg]:h-auto",style:{width:l,minHeight:d}}):(0,s.jsx)("div",{className:"h-28 w-48 animate-pulse bg-muted/40 rounded-lg"})})}}}]);

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.