PageSourceSearch

https://tradetreasurypayments.com/_next/static/chunks/43cc00ui_2bkf.js

js tradetreasurypayments.com collected 2026-10-02 07:51:41 UTC 35,112 bytes, 221 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,74462,29617,e=>{"use strict";var s=e.i(67034);let t=e=>!!(e&&e.trim().length),a=e=>Array.isArray(e)&&e.length>0,r="[&_a]:text-ttp-orange [&_a]:underline [&_a]:hover:text-orange-600 [&_a]:transition-colors [&_h1]:font-garamond [&_h1]:font-normal [&_h1]:text-3xl [&_h1]:sm:text-4xl [&_h1]:text-ttp-charcoal [&_h1]:mb-3 [&_h2]:font-garamond [&_h2]:font-normal [&_h2]:text-2xl [&_h2]:sm:text-3xl [&_h2]:text-ttp-charcoal [&_h2]:mb-3 [&_h1_b]:font-normal [&_h2_b]:font-normal [&_h1_strong]:font-normal [&_h2_strong]:font-normal [&_strong]:font-bold [&_b]:font-bold",i=e=>e?{id:e.id,slug:e.slug||null,firstName:e.firstName,lastName:e.lastName,position:e.userMeta?.position,company:e.userMeta?.companyName,avatar:e.userMeta?.userProfilePicture?.node?.sourceUrl}:null,l=e=>e?{type:e.__typename||"organizer",id:e.id,name:e.title,slug:e.slug,logo:e.featuredImage?.node?.sourceUrl,link:e.link}:null;e.s(["hasArr",0,a,"hasText",0,t,"normalizeVideo",0,function(e){if(!e)return null;let a=e.videoFields||{},r=e.featuredImage?.node?.sourceUrl||"",n=e.date||"",o=a.durationTime||"",d=a.videoIframe||"",c=e.categories?.edges?.map(e=>e?.node?.name).filter(Boolean)||[],m=c.map(e=>e.toLowerCase());if(!(m.includes("reel")||m.includes("reels")||m.includes("video")||m.includes("videos"))||!t(d))return null;let x=(Array.isArray(a.selectHostsUser)&&a.selectHostsUser.length?a.selectHostsUser.map(e=>{let s=i(e?.user?.nodes?.[0]);return s?{...s,organizer:l(e?.organizer?.nodes?.[0])}:null}).filter(Boolean):(a.hostsUser?.nodes||[]).map(e=>({...i(e),organizer:null})))||[],u=(a.guests||[]).map(e=>{let s=e?.featuredUser?.nodes?.[0];return s?{id:s.id,slug:s.slug||null,firstName:s.firstName,lastName:s.lastName,position:s.userMeta?.position,company:s.userMeta?.companyName,avatar:s.userMeta?.userProfilePicture?.node?.sourceUrl,organizer:l(e?.featuredOrganizer?.nodes?.[0])}:null}).filter(Boolean),p=(Array.isArray(a.selectEditorialUser)&&a.selectEditorialUser.length?a.selectEditorialUser.map(e=>{let s=i(e?.user?.nodes?.[0]);return s?{...s,organizer:l(e?.organizer?.nodes?.[0])}:null}).filter(Boolean):(a.editorialUser?.nodes||[]).map(e=>({...i(e),organizer:null})))||[],g=u[0]||x[0]||null,h=g?{name:`${g.firstName||""} ${g.lastName||""}`.trim(),role:g.position||null,company:g.company||null,avatar:g.avatar||null,slug:g.slug||null}:null;return{video:e,vf:a,image:r,publishDate:n,duration:o,videoIframe:d,categories:c,hosts:x,featuredGuests:u,editorialTeam:p,hostsHeading:a.hostsHeading||"",editorialHeading:a.editorialHeading||"",heroAuthor:h&&h.name?h:null,savedId:function(e){if(!e)return"";try{return("u">typeof atob?atob(e):s.Buffer.from(e,"base64").toString("utf-8")).split(":")[1]||e}catch{return e}}(e.id)}},"richContentClass",0,r],74462);var n=e.i(43476),o=e.i(57688),d=e.i(64494),c=e.i(78917),m=e.i(7815),x=e.i(15708),u=e.i(64538),p=e.i(40469);function g(e){let{slug:s,children:t}=e;return s?(0,n.jsx)(m.SmartLink,{href:`/experts/${s}`,className:"group block w-fit",children:t}):(0,n.jsx)(n.Fragment,{children:t})}function h(e){var s;let{title:t,author:a,featuredImage:r,postTopics:i,postRegions:l}=e,d=r?.node?.sourceUrl??null,c=[a?.role,a?.company].filter(Boolean).join(", "),m=function(e){let s=e.match(/^(.+?)(:|\s[-–—]\s)(.+)$/);if(!s)return null;let[,t,a,r]=s;return[(t+a).replace(/\s+$/,""),r.trim()]}(t),u=Array.isArray(i)?i:i?.nodes??[],h=Array.isArray(l)?l:l?.nodes??[];return(0,n.jsxs)("section",{className:"w-full bg-white",children:[(0,n.jsx)("div",{className:"mx-auto w-full max-w-7xl px-4 pt-3 sm:px-6 sm:pt-6 lg:px-8 lg:pt-8",children:(0,n.jsx)("div",{className:"relative mx-auto aspect-video w-full sm:aspect-auto sm:h-[clamp(240px,38vw,560px)]",children:d?(0,n.jsx)(o.default,{src:d,alt:t,fill:!0,priority:!0,sizes:"(max-width: 768px) 100vw, 1200px",className:"object-contain"}):(0,n.jsx)("div",{className:"h-full w-full bg-gradient-to-br from-slate-100 to-slate-300"})})}),(0,n.jsxs)("div",{className:"mx-auto w-full max-w-7xl px-4 pt-3 sm:px-6 sm:pt-6 lg:px-8 lg:pt-8",children:[(0,n.jsx)("h1",{className:"font-garamond font-normal w-full text-3xl leading-[1.08] text-gray-900 sm:text-4xl md:text-5xl lg:text-6xl lg:leading-[1.05]",children:m?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("span",{className:"block text-balance",children:m[0]}),(0,n.jsx)("span",{className:"block text-balance",children:m[1]})]}):(0,n.jsx)("span",{className:"block text-balance",children:t})}),a?.name&&(0,n.jsx)("div",{className:"mt-5",children:(0,n.jsx)(g,{slug:a.slug,children:(0,n.jsxs)("div",{className:"flex items-center gap-3",children:[(0,n.jsxs)(x.Avatar,{className:"size-10 shrink-0",children:[(0,n.jsx)(x.AvatarImage,{src:a.avatar??void 0,alt:a.name}),(0,n.jsx)(x.AvatarFallback,{children:(s=a.name)?s.split(/\s+/).slice(0,2).map(e=>e[0]).join("").toUpperCase():""})]}),(0,n.jsxs)("div",{className:"text-sm leading-tight",children:[(0,n.jsx)("div",{className:"font-medium text-gray-900 transition-colors group-hover:text-ttp-orange",children:a.name}),c&&(0,n.jsx)("div",{className:"text-gray-500",children:c})]})]})})}),(0,n.jsx)(p.default,{topics:u,regions:h}),(0,n.jsx)("div",{className:"mt-10 hidden border-b border-gray-100 lg:block"})]})]})}var f=e.i(71645),y=e.i(70319),b=e.i(74886),v=e.i(78021),j=e.i(23102),N=e.i(71930),w=e.i(13935);function k(e){try{let s=atob(e).split(":"),t=s[s.length-1],a=Number(t);if(Number.isFinite(a))return a;let r=Number(e);if(Number.isFinite(r))return r;return null}catch{try{let s=Number(e);return Number.isFinite(s)?s:null}catch{return null}}}let I=`
2  mutation SavePostToFavorites($postId: Int!) {
3    savePostToFavorites(input: { postId: $postId }) {
4      success
5    }
6  }
7`,S=`
8  mutation RemovePostFromFavorites($postId: Int!) {
9    removePostFromFavorites(input: { postId: $postId }) {
10      success
11    }
12  }
13`;async function T(e){if(!localStorage.getItem("user"))throw Error("Login required.");return(await fetch("/api/wp/graphql",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({query:S,variables:{postId:e}}),cache:"no-cache"})).ok}async function C(e){let s=`
14    query CheckIfPostSaved {
15      isPostSaved(postId: ${e})
16    }
17  `;if(!localStorage.getItem("user"))return!1;try{let e=await fetch("/api/wp/graphql",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({query:s}),cache:"no-cache"});if(!e.ok)return!1;let t=await e.json();return t.data?.isPostSaved||!1}catch(e){return console.error("Error checking if video is saved:",e),!1}}async function H(e){if(!localStorage.getItem("user"))throw Error("Login required.");return(await fetch("/api/wp/graphql",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({query:I,variables:{postId:e}}),cache:"no-cache"})).ok}function _(e){let s,{data:t}=e,[a,r]=(0,f.useState)(null),[i,l]=(0,f.useState)(!1),[o,d]=(0,f.useState)(!1),c=(0,f.useRef)(null);(0,f.useEffect)(()=>{let e=localStorage.getItem("user");l(!!e);let s=k(t.id);null===s?r(!1):e?C(s).then(e=>r(e)).catch(()=>r(!1)):r(!1)},[t.id,i]);let m=async()=>
17{if(!localStorage.getItem("user"))return void y.toast.error("Please login to save videos.");let e=k(t.id);if(null===e)return void y.toast.error("Invalid video ID.");try{!0===a?await T(e)?(r(!1),y.toast.success("Video removed from saved.")):y.toast.error("Failed to remove video."):await H(e)?(r(!0),y.toast.success("Video saved successfully!")):y.toast.error("Failed to save video.")}catch(s){let e=s instanceof Error?s.message:"An unknown error occurred.";y.toast.error(e)}};(0,f.useEffect)(()=>{let e=e=>{c.current&&!c.current.contains(e.target)&&d(!1)};return o&&document.addEventListener("mousedown",e),()=>{document.removeEventListener("mousedown",e)}},[o]);let x=window.location.href,u=t.title||"Video",p=async function(){let e=!(arguments.length>0)||void 0===arguments[0]||arguments[0];try{if(navigator.clipboard&&navigator.clipboard.writeText)await navigator.clipboard.writeText(x),e&&y.toast.success("Link copied to clipboard!");else{let s=document.createElement("input");s.value=x,document.body.appendChild(s),s.select(),document.execCommand("copy"),document.body.removeChild(s),e&&y.toast.success("Link copied to clipboard!")}d(!1)}catch(s){e&&y.toast.error("Failed to copy link.")}};return(0,n.jsx)("div",{className:"mt-8 mb-4",children:(0,n.jsxs)("div",{className:"w-fit",children:[(0,n.jsxs)("div",{className:"flex flex-wrap items-center gap-x-3 gap-y-1 text-sm text-gray-500",children:[(0,n.jsxs)("span",{children:["Published ",Number.isNaN((s=new Date(t.date)).getTime())?"Invalid date":s.toLocaleDateString("en-US",{month:"short",day:"numeric",year:"numeric"})]}),(0,n.jsx)(w.default,{level:t.difficulty,variant:"dot"})]}),(0,n.jsxs)("div",{className:"mt-4 relative flex items-center justify-center gap-2",ref:c,children:[(0,n.jsxs)("button",{type:"button",className:"inline-flex items-center gap-1.5 rounded-2xl border border-[#FF4E05] py-1.5 pr-3 pl-2.5 text-sm text-black transition [corner-shape:squircle] hover:bg-orange-50",onClick:()=>{d(!o)},"aria-label":"Share video",children:[(0,n.jsx)("svg",{className:"size-4",viewBox:"0 0 24 24",fill:"none",stroke:"#FF4E05",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",children:(0,n.jsx)("path",{d:"M13 4v4c-6.575 1.028 -9.02 6.788 -10 12c-.037 .206 5.384 -5.962 10 -6v4l8 -7l-8 -7z"})}),"Share"]}),o&&(0,n.jsx)("div",{className:"absolute top-full left-0 mt-2 w-48 bg-white border border-gray-200 rounded-lg shadow-lg z-50 p-2",children:(0,n.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,n.jsxs)("button",{onClick:()=>p(),className:"flex items-center gap-3 px-3 py-2 text-sm text-gray-700 hover:bg-gray-100 rounded-md transition-colors",children:[(0,n.jsx)(b.Copy,{className:"w-4 h-4"}),(0,n.jsx)("span",{children:"Copy Link"})]}),(0,n.jsxs)("button",{onClick:()=>{let e=`https://www.linkedin.com/sharing/share-offsite/?url=${encodeURIComponent(x)}`;window.open(e,"_blank","width=600,height=400"),d(!1)},className:"flex items-center gap-3 px-3 py-2 text-sm text-gray-700 hover:bg-blue-50 rounded-md transition-colors group",children:[(0,n.jsx)("div",{className:"w-5 h-5 flex items-center justify-center",children:(0,n.jsx)("svg",{className:"w-5 h-5",fill:"#0077B5",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:(0,n.jsx)("path",{d:"M20.447 20.452h-3.554v-5.569c0-1.328-.027-3.037-1.852-3.037-1.853 0-2.136 1.445-2.136 2.939v5.667H9.351V9h3.414v1.561h.046c.477-.9 1.637-1.85 3.37-1.85 3.601 0 4.267 2.37 4.267 5.455v6.286zM5.337 7.433c-1.144 0-2.063-.926-2.063-2.065 0-1.138.92-2.063 2.063-2.063 1.14 0 2.064.925 2.064 2.063 0 1.139-.925 2.065-2.064 2.065zm1.782 13.019H3.555V9h3.564v11.452zM22.225 0H1.771C.792 0 0 .774 0 1.729v20.542C0 23.227.792 24 1.771 24h20.451C23.2 24 24 23.227 24 22.271V1.729C24 .774 23.2 0 22.222 0h.003z"})})}),(0,n.jsx)("span",{className:"group-hover:text-blue-600",children:"LinkedIn"})]}),(0,n.jsxs)("button",{onClick:()=>{let e=`https://twitter.com/intent/tweet?url=${encodeURIComponent(x)}&text=${encodeURIComponent(u)}`;window.open(e,"_blank","width=600,height=400"),d(!1)},className:"flex items-center gap-3 px-3 py-2 text-sm text-gray-700 hover:bg-blue-50 rounded-md transition-colors group",children:[(0,n.jsx)(v.Twitter,{className:"w-5 h-5 text-[#1DA1F2]"}),(0,n.jsx)("span",{className:"group-hover:text-[#1DA1F2]",children:"Twitter"})]}),(0,n.jsxs)("button",{onClick:()=>{let e=`https://wa.me/?text=${encodeURIComponent(`${u} ${x}`)}`;window.open(e,"_blank","width=600,height=400"),d(!1)},className:"flex items-center gap-3 px-3 py-2 text-sm text-gray-700 hover:bg-green-50 rounded-md transition-colors group",children:[(0,n.jsx)("div",{className:"w-5 h-5 flex items-center justify-center",children:(0,n.jsx)("svg",{className:"w-5 h-5",fill:"#25D366",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:(0,n.jsx)("path",{d:"M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.
17198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 01-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 01-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 012.893 6.994c-.003 5.45-4.437 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0012.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 005.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893a11.821 11.821 0 00-3.48-8.413Z"})})}),(0,n.jsx)("span",{className:"group-hover:text-green-600",children:"WhatsApp"})]}),(0,n.jsxs)("button",{onClick:()=>{p(!1),y.toast.info("Link copied! Paste it in your Instagram story or post."),d(!1)},className:"flex items-center gap-3 px-3 py-2 text-sm text-gray-700 hover:bg-gray-100 rounded-md transition-colors",children:[(0,n.jsx)(j.Instagram,{className:"w-4 h-4 text-pink-500"}),(0,n.jsx)("span",{children:"Instagram"})]})]})}),(0,n.jsxs)("button",{type:"button",className:`inline-flex items-center gap-1.5 rounded-2xl border py-1.5 pr-3 pl-2.5 text-sm transition [corner-shape:squircle] ${null===a?"cursor-not-allowed border-gray-300 text-gray-400 opacity-50":a?"border-orange-500 text-orange-500 hover:bg-orange-50":"border-gray-300 text-gray-700 hover:border-gray-400 hover:bg-gray-50"}`,onClick:i?m:()=>y.toast.error("Please login to save videos."),disabled:null===a,"aria-disabled":null===a,"aria-label":a?"Unsave video":"Save video",title:a?"Click to remove from saved":"Click to save video",children:[(0,n.jsx)(N.Bookmark,{className:"size-4",fill:a?"currentColor":"none",stroke:"currentColor","aria-hidden":"true"}),a?"Saved":"Save"]})]})]})})}var P=e.i(98001),U=e.i(86131),z=e.i(87316),F=e.i(84614),A=e.i(31343),L=e.i(3116);let $=e=>{let{currentVideoId:s,allVideos:t,heading:a,subheading:r}=e,i=(0,f.useMemo)(()=>t.filter(e=>e.id!==s).filter((e,s,t)=>t.findIndex(s=>s.id===e.id)===s),[t,s]);return i.length?(0,n.jsx)("section",{className:"py-16 bg-white",children:(0,n.jsxs)("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[(a||r)&&(0,n.jsxs)("div",{className:"flex flex-col lg:flex-row lg:items-center justify-between mb-8",children:[(0,n.jsxs)("div",{children:[a&&(0,n.jsx)("h2",{className:"text-xl font-bold text-ttp-charcoal mb-2",children:a}),r&&(0,n.jsx)("p",{className:"text-gray-600 text-sm sm:text-base",children:r})]}),(0,n.jsx)(P.Button,{asChild:!0,variant:"outline",className:"mt-4 lg:mt-0",children:(0,n.jsx)(m.SmartLink,{href:"/videos",children:"View All"})})]}),(0,n.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6 justify-items-center",children:i.slice(0,4).map(e=>(0,n.jsx)(m.SmartLink,{href:`/videos/${e.slug}`,className:"block w-full",children:(0,n.jsxs)(U.Card,{className:"group h-full border border-gray-200 shadow-none transition-colors duration-300 hover:border-ttp-orange",children:[(0,n.jsxs)("div",{className:"relative overflow-hidden rounded-t-lg",children:[e.featuredImage?.node?.sourceUrl&&(0,n.jsx)(o.default,{src:e.featuredImage.node.sourceUrl,alt:e.title,width:768,height:432,sizes:"(max-width: 768px) 100vw, 300px",className:"w-full h-auto"}),(0,n.jsx)("div",{className:"absolute inset-0 bg-gradient-to-t from-black/80 via-black/20 to-transparent opacity-0 group-hover:opacity-100 transition-opacity"}),(0,n.jsx)("div",{className:"absolute inset-0 flex items-center justify-center opacity-0 group-hover:opacity-100 transition-opacity",children:(0,n.jsx)("div",{className:"bg-white/20 backdrop-blur-sm rounded-full p-4 animate-scale-in",children:(0,n.jsx)(A.Play,{className:"w-8 h-8 text-white fill-white"})})}),e.videoFields?.durationTime&&(0,n.jsx)("div",{className:"absolute bottom-3 left-3",children:(0,n.jsxs)(d.Badge,{className:"bg-black/50 backdrop-blur-sm text-white text-xs",children:[(0,n.jsx)(L.Clock,{className:"w-3 h-3 mr-1"}),e.videoFields.durationTime]})})]}),(0,n.jsxs)(U.CardHeader,{className:"pb-2",children:[(0,n.jsx)("div",{className:"flex items-center justify-between mb-2"}),e.postTopics?.nodes&&e.postTopics.nodes.length>0&&(0,n.jsx)("div",{className:"flex flex-wrap gap-1 mb-2",children:(0,n.jsxs)("span",{className:"inline-flex items-center gap-1.5 rounded-full border border-gray-200 bg-white px-2.5 py-1 text-xs font-medium text-gray-700",children:[(0,n.jsx)("span",{"aria-hidden":"true",className:"size-1.5 shrink-0 rounded-full bg-ttp-orange"}),e.postTopics.nodes[0].name,e.postTopics.nodes.length>1&&` +${e.postTopics.nodes.length-1}`]})}),(0,n.jsx)(U.CardTitle,{className:"text-lg leading-tight group-hover:text-orange-500 transition-colors line-clamp-2 font-semibold",children:e.title})]}),(0,n.jsxs)(U.CardContent,{className:"pt-0",children:[(0,n.jsxs)("div",{className:"space-y-2 text-xs text-gray-600 mb-4",children:[(0,n.jsxs)("div",{className:"flex items-center gap-2",children:[(0,n.jsx)(F.User,{className:"w-3 h-3"}),(0,n.jsxs)("span",{className:"font-medium",children:[e.author?.node?.firstName," ",e.author?.node?.lastName]})]}),(0,n.jsxs)("div",{className:"flex items-center gap-2",children:[(0,n.jsx)(z.Calendar,{className:"w-3 h-3"}),(0,n.jsx)("span",{children:new Date(e.date).toLocaleDateString("en-US",{year:"numeric",month:"short",day:"numeric"})})]})]}),(0,n.jsxs)(P.Button,{size:"sm",className:"w-full bg-ttp-orange hover:bg-ttp-orange/90",children:[(0,n.jsx)(A.Play,{className:"w-3 h-3 mr-2"}),"Watch Now"]})]})]})},e.id))})]})}):null};var E=e.i(1646),V=e.i(64430),B=e.i(84811);function M(e){let{p:s,showDividerBelow:t,avatarSize:a}=e,r=(0,n.jsxs)("div",{className:"flex items-start gap-2 sm:gap-3 text-ttp-charcoal",children:[(0,n.jsxs)(x.Avatar,{className:`${"lg"===a?"w-10 h-10 sm:w-12 sm:h-12":"w-8 h-8 sm:w-10 sm:h-10"} flex-shrink-0`,children:[(0,n.jsx)(x.AvatarImage,{src:s?.avatar,alt:`${s?.firstName||""} ${s?.lastName||""}`.trim()}),(0,n.jsxs)(x.AvatarFallback,{children:[s?.firstName?.[0]||"",s?.lastName?.[0]||""]})]}),(0,n.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,n.jsxs)("div",{className:`font-medium text-xs sm:text-sm truncate ${s?.slug?"hover:text-ttp-orange transition-colors":""}`,children:[s?.firstName||""," ",s?.lastName||""]}),s?.position&&(0,n.jsx)("div",{className:"text-xs text-gray-500",children:s.position}),s?.company&&(0,n.jsx)("div",{className:"text-xs text-ttp-purple font-medium truncate",children:s.company})]})]});return(0,n.jsxs)("div",{children:[s?.slug?(0,n.jsx)(m.SmartLink,{href:`/expert
17s/${s.slug}`,className:"block",children:r}):r,s?.organizer&&(0,n.jsx)(m.SmartLink,{href:s.organizer.slug?`/companies/${s.organizer.slug}`:s.organizer.link||"#",className:"block mt-2 group",children:(0,n.jsxs)("div",{className:"rounded-lg border border-gray-200 p-2 flex flex-col items-center gap-2 transition-colors group-hover:border-ttp-orange",children:[s.organizer.logo&&(0,n.jsx)("img",{loading:"lazy",src:s.organizer.logo,alt:s.organizer.name,className:"h-6 sm:h-8 object-contain flex-shrink-0"}),(0,n.jsxs)("div",{className:"flex-1 min-w-0 flex items-center justify-center gap-2 w-full",children:[(0,n.jsx)("div",{className:"text-xs font-medium text-ttp-charcoal truncate group-hover:text-[#FF4E05] transition-colors",children:s.organizer.name}),(0,n.jsx)(c.ExternalLink,{className:"w-3 h-3 text-ttp-purple flex-shrink-0 group-hover:text-[#FF4E05] transition-colors"})]})]})}),t&&(0,n.jsx)("div",{className:"border-b border-gray-200 my-3"})]})}e.s(["default",0,function(e){let{data:s,settings:i,allVideos:l}=e,{video:x,vf:p,image:g,videoIframe:f,categories:y,hosts:b,featuredGuests:v,editorialTeam:j,hostsHeading:N,editorialHeading:w,heroAuthor:k,savedId:I}=s;return(0,n.jsxs)("div",{className:"min-h-screen bg-background",children:[x?.databaseId?(0,n.jsx)(V.default,{postId:x.databaseId}):null,(0,n.jsx)(h,{title:x.title,author:k,featuredImage:"string"==typeof x.featuredImage?null:x.featuredImage??null,postTopics:x.postTopics||{nodes:[]},postRegions:x.postRegions||{nodes:[]}}),(0,n.jsx)(B.SeriesTopPill,{series:x.partOfSeries}),(0,n.jsxs)("main",{children:[(0,n.jsx)("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:(0,n.jsxs)("div",{className:"grid grid-cols-1 lg:grid-cols-4 gap-4 sm:gap-6",children:[(0,n.jsxs)("div",{className:"lg:col-span-3 order-2 lg:order-1",children:[t(f)&&(0,n.jsx)("div",{className:"mt-0 md:mt-8",children:(0,n.jsx)(u.VideoPlayer,{videoUrl:f,title:x.title,poster:g,categories:y})}),(0,n.jsxs)("article",{className:"mt-4",children:[(t(p?.aboutVideoHeading)||t(p?.aboutVideoContent)||a(p?.keyTopics))&&(0,n.jsxs)("section",{id:"introduction",className:"mb-8 sm:mb-12",children:[t(p?.aboutVideoHeading)&&(0,n.jsx)("h2",{className:"text-xl sm:text-2xl font-bold text-ttp-charcoal mb-3 sm:mb-4",children:p.aboutVideoHeading}),t(p?.aboutVideoContent)&&(0,n.jsx)("div",{className:`text-[15px] text-gray-800 leading-5 mb-4 sm:mb-6 ${r}`,dangerouslySetInnerHTML:{__html:p.aboutVideoContent}}),t(p?.keyTopicsHeading)&&a(p?.keyTopics)&&(0,n.jsxs)("div",{className:"bg-gray-50 p-4 sm:p-6 rounded-lg border-l-4 border-ttp-orange",children:[(0,n.jsx)("h3",{className:"text-base sm:text-lg font-semibold text-ttp-charcoal mb-2 sm:mb-3",children:p.keyTopicsHeading}),(0,n.jsx)("ul",{className:"list-disc list-inside space-y-1.5 sm:space-y-2 text-[15px] text-gray-800",children:p.keyTopics.map((e,s)=>(0,n.jsx)("li",{children:e.keyTopic},s))})]})]}),t(p?.keyInsightsHeading)&&a(p?.keyInsights)&&(0,n.jsxs)("section",{id:"key-insights",className:"mb-8 sm:mb-12",children:[(0,n.jsx)("h2",{className:"text-xl sm:text-2xl font-bold text-ttp-charcoal mb-3 sm:mb-4",children:p.keyInsightsHeading}),(0,n.jsx)("div",{className:"space-y-4 sm:space-y-6",children:p.keyInsights.map((e,s)=>(0,n.jsxs)("div",{className:"bg-blue-50 p-4 sm:p-6 rounded-lg",children:[t(e.heading)&&(0,n.jsx)("div",{className:`text-base sm:text-lg font-semibold text-blue-900 mb-2 sm:mb-3 ${r}`,dangerouslySetInnerHTML:{__html:e.heading}}),t(e.content)&&(0,n.jsx)("div",{className:`text-[15px] text-blue-800 ${r}`,dangerouslySetInnerHTML:{__html:e.content}})]},s))})]}),(t(p?.expertAnalysisHeading)||t(p?.expertAnalysisContent)||a(p?.keyFinding)||a(p?.implications))&&(0,n.jsxs)("section",{id:"expert-analysis",className:"mb-8 sm:mb-12",children:[t(p?.expertAnalysisHeading)&&(0,n.jsx)("h2",{className:"text-xl sm:text-2xl font-bold text-ttp-charcoal mb-3 sm:mb-4",children:p.expertAnalysisHeading}),t(p?.expertAnalysisContent)&&(0,n.jsxs)("div",{className:"bg-gradient-to-r from-ttp-purple/5 to-ttp-orange/5 p-4 sm:p-6 lg:p-8 rounded-lg",children:[(0,n.jsx)("blockquote",{className:`text-[15px] italic text-gray-700 mb-3 sm:mb-4 ${r}`,dangerouslySetInnerHTML:{__html:p.expertAnalysisContent}}),p?.expertAnalysisUser?.nodes?.[0]&&(0,n.jsxs)("cite",{className:"text-[15px] text-ttp-purple font-semibold",children:["— ",p.expertAnalysisUser.nodes[0].firstName," ",p.expertAnalysisUser.nodes[0].lastName]})]}),(a(p?.keyFinding)||a(p?.implications))&&(0,n.jsxs)("div",{className:"mt-6 sm:mt-8 grid grid-cols-1 md:grid-cols-2 gap-4 sm:gap-6",children:[a(p?.keyFinding)&&(0,n.jsxs)("div",{className:"space-y-3 sm:space-y-4",children:[(0,n.jsx)("h3",{className:"text-lg sm:text-xl font-semibold text-ttp-charcoal",children:p.keyFindingsHeading||"Key Findings"}),(0,n.jsx)("ul",{className:"space-y-1.5 sm:space-y-2 text-[15px] text-gray-800",children:p.keyFinding.map((e,s)=>(0,n.jsxs)("li",{className:"flex items-start",children:[(0,n.jsx)("span",{className:"w-2 h-2 bg-ttp-orange rounded-full mt-2 mr-2 sm:mr-3 flex-shrink-0"}),(0,n.jsx)("span",{className:r,dangerouslySetInnerHTML:{__html:e.keyFinding}}
17)]},s))})]}),a(p?.implications)&&(0,n.jsxs)("div",{className:"space-y-3 sm:space-y-4",children:[(0,n.jsx)("h3",{className:"text-lg sm:text-xl font-semibold text-ttp-charcoal",children:"Implications"}),(0,n.jsx)("ul",{className:"space-y-1.5 sm:space-y-2 text-[15px] text-gray-800",children:p.implications.map((e,s)=>(0,n.jsxs)("li",{className:"flex items-start",children:[(0,n.jsx)("span",{className:"w-2 h-2 bg-ttp-green rounded-full mt-2 mr-2 sm:mr-3 flex-shrink-0"}),(0,n.jsx)("span",{className:r,dangerouslySetInnerHTML:{__html:e.implication}})]},s))})]})]})]}),(t(p?.industryPerspectiveHeading)||t(p?.industryPerspectiveContent)||a(p?.featuredExpertise))&&(0,n.jsxs)("section",{id:"industry-perspective",className:"mb-8 sm:mb-12",children:[t(p?.industryPerspectiveHeading)&&(0,n.jsx)("h2",{className:"text-xl sm:text-2xl font-bold text-ttp-charcoal mb-3 sm:mb-4",children:p.industryPerspectiveHeading}),t(p?.industryPerspectiveContent)&&(0,n.jsx)("div",{className:`text-[15px] text-gray-800 leading-5 mb-4 sm:mb-6 ${r}`,dangerouslySetInnerHTML:{__html:p.industryPerspectiveContent}}),t(p?.featuredExpertiseHeading)&&a(p?.featuredExpertise)&&(0,n.jsxs)("div",{className:"bg-white p-4 sm:p-6 rounded-lg shadow-sm",children:[(0,n.jsx)("h3",{className:"text-base sm:text-lg font-semibold text-ttp-charcoal mb-3 sm:mb-4",children:p.featuredExpertiseHeading}),(0,n.jsx)("div",{className:"flex flex-wrap gap-2",children:p.featuredExpertise.map((e,s)=>(0,n.jsx)(d.Badge,{variant:"secondary",className:"bg-ttp-orange/10 text-ttp-orange text-xs sm:text-sm",children:e.expertise},s))})]})]}),(t(p?.keyTakeawaysHeading)||a(p?.keyTakeaways))&&(0,n.jsxs)("section",{id:"conclusion",className:"mb-8 sm:mb-12",children:[(0,n.jsx)("h2",{className:"text-xl sm:text-2xl font-bold text-ttp-charcoal mb-3 sm:mb-4",children:p.keyTakeawaysHeading}),(0,n.jsxs)("div",{className:"bg-ttp-charcoal text-white p-4 sm:p-6 lg:p-8 rounded-lg",children:[t(p?.learnHeading)&&(0,n.jsx)("h3",{className:"text-lg sm:text-xl font-semibold mb-3 sm:mb-4",children:p.learnHeading}),a(p?.keyTakeaways)&&(0,n.jsx)("ul",{className:"space-y-2 sm:space-y-3",children:p.keyTakeaways.map((e,s)=>(0,n.jsxs)("li",{className:"flex items-start text-[15px]",children:[(0,n.jsx)("span",{className:"w-2 h-2 bg-ttp-orange rounded-full mt-2 mr-2 sm:mr-3 flex-shrink-0"}),(0,n.jsx)("span",{className:r,dangerouslySetInnerHTML:{__html:e.keyTakeaways}})]},s))})]})]})]}),(0,n.jsx)(E.ContentAds,{})]}),(0,n.jsxs)("div",{className:"lg:col-span-1 order-1 lg:order-2 space-y-4 sm:space-y-6",children:[(0,n.jsx)(_,{data:{id:x.id,date:x.date||new Date().toISOString(),title:x.title,de
17scription:x.excerpt,difficulty:x.difficulty,featuredImage:x.featuredImage},id:I}),p?.sponsoredTag&&p?.sponsoredImage?.node?.sourceUrl&&p?.sponsoredName&&(0,n.jsx)("div",{className:"space-y-3",children:(0,n.jsxs)("div",{className:"group relative bg-white rounded-lg overflow-hidden hover:shadow-md transition-all",children:[(0,n.jsx)(o.default,{src:p.sponsoredImage.node.sourceUrl,alt:p.sponsoredName,width:768,height:128,sizes:"(max-width: 768px) 100vw, 400px",className:"w-full h-24 sm:h-32 object-cover"}),(0,n.jsx)("div",{className:"absolute top-2 right-2 px-1.5 sm:px-2 py-0.5 sm:py-1 bg-ttp-orange text-white rounded text-xs sm:text-sm",children:p.sponsoredTag}),(0,n.jsx)(m.SmartLink,{href:p.sponsoredLink||"#",target:"_blank",rel:"noopener noreferrer",className:"absolute inset-0","aria-label":p.sponsoredName}),(0,n.jsxs)("div",{className:"absolute bottom-2 right-2 px-1.5 sm:px-2 py-0.5 sm:py-1 bg-white text-ttp-orange rounded flex items-center gap-1 text-xs sm:text-sm",children:[(0,n.jsx)("span",{className:"truncate max-w-[120px] sm:max-w-none",children:p.sponsoredName})," ",(0,n.jsx)(c.ExternalLink,{className:"w-3 h-3 flex-shrink-0"})]})]})}),(0,n.jsxs)("div",{className:"space-y-4 sm:space-y-6",children:[a(b)&&(0,n.jsxs)("div",{className:"space-y-2",children:[(0,n.jsx)("h3",{className:"font-semibold text-base sm:text-lg mb-2 text-black",children:N}),(0,n.jsx)("div",{className:"space-y-4",children:b.map((e,s)=>(0,n.jsx)(M,{p:e,showDividerBelow:s<b.length-1,avatarSize:"sm"},e?.id||s))})]}),a(v)&&(0,n.jsxs)("div",{className:"space-y-2",children:[(0,n.jsx)("h3",{className:"font-semibold text-base sm:text-lg mb-2 text-black",children:p?.featuredGuestsHeading}),v.map((e,s)=>(0,n.jsx)(M,{p:e,showDividerBelow:s<v.length-1,avatarSize:"lg"},e.id||s))]}),a(j)&&(0,n.jsxs)("div",{className:"space-y-2",children:[(0,n.jsx)("h3",{className:"font-semibold text-base sm:text-lg mb-2 text-black",children:w}),(0,n.jsx)("div",{className:"space-y-4",children:j.map((e,s)=>(0,n.jsx)(M,{p:e,showDividerBelow:s<j.length-1,avatarSize:"sm"},e?.id||s))})]})]})]})]})}),(0,n.jsx)($,{currentVideoId:x?.id,allVideos:l,heading:i?.headings,subheading:i?.content})]})]})}],29617)},90246,e=>{"use strict";var s=e.i(43476),t=e.i(71645),a=e.i(22929),r=e.i(74462),i=e.i(29617),l=e.i(29306);let n=`
18  query GetPostsByCategory {
19    posts(where: { categoryName: "videos" }, first: 10) {
20      edges { node {
21        id databaseId title link slug date viewCount
22        featuredImage { node { sourceUrl } }
23        postRegions { nodes { id name slug } }
24        postTopics { nodes { id name slug } }
25        author { node { firstName lastName } }
26        videoFields { durationTime }
27      } }
28    }
29  }`;e.s(["default",0,function(e){let{slug:o}=e,[d,c]=(0,t.useState)("loading"),[m,x]=(0,t.useState)(null),[u,p]=(0,t.useState)(null),[g,h]=(0,t.useState)([]);return((0,t.useEffect)(()=>{let e=!1;return(async()=>{try{let s=await fetch((0,a.getGraphQLEndpoint)(),{method:"POST",headers:(0,a.getGraphQLHeaders)(),credentials:"same-origin",body:JSON.stringify({query:`
30   query GetVideoPost {
31  post(id: "${o}", idType: SLUG) {
32    id
33    databaseId
34    date
35    title
36    slug
37    excerpt
38    difficulty
39    viewCount
40    partOfSeries { title slug items { title slug url type thumbnail isCurrent } }
41    featuredImage {
42      node {
43        sourceUrl
44      }
45    }
46    categories { edges { node { databaseId id name slug uri}}}
47    postRegions {
48      nodes {
49        id
50        name
51        slug
52      }
53    }
54    postTopics {
55      nodes {
56        id
57        name
58        slug
59      }
60    }
61    videoFields {
62      videoIframe
63      durationTime
64      aboutVideoHeading
65      aboutVideoContent
66      keyTopicsHeading
67      keyTopics {
68        keyTopic
69      }
70      keyInsightsHeading
71      keyInsights {
72        heading
73        content
74      }
75      expertAnalysisHeading
76      expertAnalysisContent
77      expertAnalysisUser {
78        nodes {
79          id
80          firstName
81          lastName
82        }
83      }
84      keyFindingsHeading
85      keyFinding {
86        keyFinding
87      }
88      implications {
89        implication
90      }
91      industryPerspectiveHeading
92      industryPerspectiveContent
93      featuredExpertiseHeading
94      featuredExpertise {
95        expertise
96      }
97      keyTakeawaysHeading
98      learnHeading
99      keyTakeaways {
100        keyTakeaways
101      }
102     hostsHeading
103      selectHostsUser {
104        user {
105          nodes {
106            id
107            slug
108            firstName
109            lastName
110            userMeta {
111              position
112              companyName
113              userProfilePicture {
114                node {
115                   sourceUrl:imageBySize(size: "thumbnail")
116                }
117              }
118            }
119          }
120        }
121        organizer {
122          nodes {
123            __typename
124            id
125            link
126            slug
127            ... on Partner {
128              title
129              featuredImage {
130                node {
131                  sourceUrl
132                }
133              }
134            }
135          }
136        }
137      }
138      featuredGuestsHeading
139      guests {
140        featuredUser {
141          nodes {
142            id
143            slug
144            firstName
145            lastName
146            userMeta {
147              position
148              companyName
149              userProfilePicture {
150                node {
151                   sourceUrl:imageBySize(size: "thumbnail")
152                }
153              }
154            }
155          }
156        }
157        featuredOrganizer {
158          nodes {
159            __typename
160            id
161            link
162            slug
163            ... on Partner {
164              title
165              featuredImage {
166                node {
167                  sourceUrl
168                }
169              }
170            }
171          }
172        }
173      }
174      editorialHeading
175      selectEditorialUser {
176        user {
177          nodes {
178            id
179            slug
180            firstName
181            lastName
182            userMeta {
183              position
184              companyName
185              userProfilePicture {
186                node {
187                   sourceUrl:imageBySize(size: "thumbnail")
188                }
189              }
190            }
191          }
192        }
193        organizer {
194          nodes {
195            __typename
196            id
197            link
198            slug
199            ... on Partner {
200              title
201              featuredImage {
202                node {
203                  sourceUrl
204                }
205              }
206            }
207          }
208        }
209      }
210    }
211  }
212  singleVideoPostSettings {
213    singleVideoPost {
214      headings
215      content
216      stayUpdatedHeading
217      stayUpdatedContent
218    }
219  }
220}
221        `})}),t=await s.json(),i=t?.data?.post||null,l=(0,r.normalizeVideo)(i);if(e)return;if(!l)return void c("notfound");x(l),p(t?.data?.singleVideoPostSettings?.singleVideoPost||null),c("ready")}catch{e||c("notfound")}})(),(async()=>{try{let s=await fetch((0,a.getGraphQLEndpoint)(),{method:"POST",headers:(0,a.getGraphQLHeaders)(),credentials:"same-origin",body:JSON.stringify({query:n})}),t=await s.json(),r=(t?.data?.posts?.edges||[]).map(e=>e.node).filter(e=>e.slug!==o).filter((e,s,t)=>s===t.findIndex(s=>s.id===e.id));e||h(r)}catch{}})(),()=>{e=!0}}
221,[o]),"loading"===d)?(0,s.jsxs)("div",{className:"py-12 max-w-7xl mx-auto px-4 space-y-8 animate-pulse","aria-busy":"true","aria-label":"Loading content",children:[(0,s.jsx)("div",{className:"h-10 w-48 bg-gray-300 rounded mx-auto"}),(0,s.jsx)("div",{className:"h-4 w-72 bg-gray-200 rounded mx-auto"}),(0,s.jsx)("div",{className:"flex justify-center space-x-4 mt-8",children:[,,,,].fill(0).map((e,t)=>(0,s.jsx)("div",{className:"h-10 w-32 bg-gray-300 rounded-full"},t))}),(0,s.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6 mt-10",children:[,,,,].fill(0).map((e,t)=>(0,s.jsxs)("div",{className:"rounded-lg p-4 space-y-4",children:[(0,s.jsxs)("div",{className:"flex items-center space-x-4",children:[(0,s.jsx)("div",{className:"h-12 w-12 bg-gray-300 rounded"}),(0,s.jsx)("div",{className:"h-6 w-3/4 bg-gray-300 rounded"})]}),(0,s.jsxs)("div",{className:"space-y-2",children:[(0,s.jsx)("div",{className:"h-4 bg-gray-300 rounded w-full"}),(0,s.jsx)("div",{className:"h-4 bg-gray-300 rounded w-5/6"}),(0,s.jsx)("div",{className:"h-6 bg-gray-300 rounded w-1/3"})]})]},t))})]}):"notfound"!==d&&m?(0,s.jsx)(i.default,{data:m,settings:u,allVideos:g}):(0,s.jsx)(l.default,{})}],90246)}]);

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.