PageSourceSearch

https://mymodernwealth.com/assets/UpdateEpisode23-IBtKt550.js

js mymodernwealth.com collected 2026-10-09 22:03:27 UTC 1,690 bytes, 1 lines download raw bytes

1import{s as i,r as d,j as s}from"./index-cV1MXJGR.js";import n from"./episode-23-tracy-lownsberry-BsSuUYGw.js";import{B as p}from"./button-Bqp6SYne.js";import{C as u,b as f,c as m,d as h,a as g}from"./card-Ci7GSAL1.js";import{J as o}from"./index-5ThUI23v.js";const x=async()=>{try{const{data:e,error:r}=await i.from("podcast_episodes").update({full_transcript:n,has_transcript:!0}).eq("slug","episode-23-tracy-lownsberry").select();if(r)throw r;return console.log("Successfully updated Episode 23 with transcript"),{success:!0,data:e}}catch(e){return console.error("Error updating episode:",e),{success:!1,error:e}}},C=()=>{const[e,r]=d.useState(!1),[c,t]=d.useState(null),l=async()=>{r(!0),t(null);try{const a=await x();a.success?(t({success:!0,message:"Episode 23 transcript updated successfully!"}),o.success("Episode 23 updated successfully!")):(t({success:!1,message:`Error: ${a.error}`}),o.error("Failed to update Episode 23"))}catch(a){t({success:!1,message:`Error: ${a}`}),o.error("Failed to update Episode 23")}finally{r(!1)}};return s.jsx("div",{className:"min-h-screen flex items-center justify-center p-4 bg-navy",children:s.jsxs(u,{className:"w-full max-w-md",children:[s.jsxs(f,{children:[s.jsx(m,{children:"Update Episode 23"}),s.jsx(h,{children:"Click the button below to update Episode 23 (Tracy Lownsberry) with the full transcript from the local file."})]}),s.jsxs(g,{className:"space-y-4",children:[s.jsx(p,{onClick:l,disabled:e,className:"w-full",children:e?"Updating...":"Update Episode 23 Transcript"}),c&&s.jsx("div",{className:`p-4 rounded-lg ${c.success?"bg-green-100 text-green-800":"bg-red-100 text-red-800"}`,children:c.message})]})]})})};export{C as default};

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.