PageSourceSearch

https://www.leaderonomics.com/_next/static/chunks/8606-cc685e9b173e5030.js

js leaderonomics.com collected 2026-10-02 04:58:07 UTC 29,837 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8606],{821:function(e,t){t.Z={src:"/_next/static/media/logo-ball.78d9da0f.png",height:35,width:35,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAMAAADz0U65AAAAkFBMVEVMaXFsg7UaYap2YZZyUIRFXZ5nGFCYFkC1BBE2EVNIKGhNNnevBB+3UmbMABLOAA3IrLuaRGjCL0qojamrRGpbNlt4H1zIhp03LnkBMocxZqmds9QAKYw2T5KskbOfTX17gq+xp8F3AEEOP40qOX4kYqVJDn/JMEaAPHYfHHCtaoOFcKFejscPR5lRd7E7R46NxZJeAAAAJ3RSTlMA/H79/f6yiyEYO5Ls/Pzd/v6b/f4O/tf9jcL8Mej+/f36vLBhqA49Ki0KAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAS0lEQVR4nAXBBRKAIAAEwAOUELu7HcX8/+/cBaSYuXYAGRfDwcyKYE/zfvoW+Ht0XOO7wfVCy9gPhTgTZpObQnGrJE3dApmju0rhB71ABP0ZYOMiAAAAAElFTkSuQmCC",blurWidth:8,blurHeight:8}},8606:function(e,t,s){s.d(t,{gD:function(){return r},_8:function(){return n},Bc:function(){return c},Ob:function(){return d},AS:function(){return m},Wj:function(){return x},ug:function(){return u},dO:function(){return h},Wy:function(){return p},Ke:function(){return N},xV:function(){return g},v8:function(){return y},lB:function(){return A},_d:function(){return F},WB:function(){return H},nr:function(){return Z},ZE:function(){return B},nI:function(){return K},hF:function(){return Y},ZN:function(){return $},gh:function(){return z},$R:function(){return V},M$:function(){return q},Y7:function(){return U},qF:function(){return W},$I:function(){return J},Qu:function(){return et},Tf:function(){return es},ry:function(){return ea},CP:function(){return en},HG:function(){return er},vA:function(){return ei}});var l=s(5893),a=s(6508);function n(e){let{color:t,text:s=""}=e,n=(0,a.I8)(s),r="";switch(t){case"Red":default:r="#f4d0d0";break;case"Orange":r="#fde9d1";break;case"Yellow":r="#fff6cf";break;case"Green":r="#eaf3d6";break;case"Blue":r="#cce8eb";break;case"Indigo":r="#d6d5e7";break;case"Violet":r="#ffd2e2"}return(0,l.jsx)("div",{dangerouslySetInnerHTML:{__html:n},style:{backgroundColor:r},className:"my-6 p-6"})}function r(e){let{html:t}=e;return(0,l.jsx)("div",{dangerouslySetInnerHTML:{__html:t},className:"mt-6"})}var i=s(4549);function c(e){let{infographic:t,caption:s}=e;return(0,l.jsxs)("div",{className:"mt-6",children:[(0,l.jsx)(i.dK,{src:t.url,alt:t.alternativeText||"Alt",width:t.width,height:t.height,className:"block w-full"}),s&&(0,l.jsx)("div",{dangerouslySetInnerHTML:{__html:(0,a.I8)(s)},className:"mt-2 text-center"})]})}var o=s(2825);function d(e){let{source:t,link:s,className:n=""}=e;return(0,l.jsxs)("div",{className:(0,o.cn)("my-6",n),children:["Spotify"===t&&(0,l.jsx)("iframe",{style:{borderRadius:"12px"},loading:"lazy",src:"https://open.spotify.com/embed/episode/".concat((0,a.my)(s)),width:"100%",height:"232",allow:"autoplay; clipboard-write; encrypted-media; fullscreen; picture-in-picture"}),"Others"===t&&(0,l.jsx)("audio",{controls:!0,className:"mx-auto w-full max-w-[80%]",children:(0,l.jsx)("source",{src:s})})]})}function m(e){let{table:t}=e;return(0,l.jsx)("div",{dangerouslySetInnerHTML:{__html:(0,a.I8)(t)},className:"prose !prose-sm my-6 prose-td:align-middle sm:!prose-base"})}function x(e){let{content:t}=e,s=(0,a.I8)(t);return(0,l.jsx)("section",{className:"prose mt-8 max-w-none prose-headings:font-bold prose-h1:text-4xl prose-h2:text-2xl sm:prose-h2:text-3xl prose-h3:mt-8 prose-h3:text-xl sm:prose-h3:text-2xl prose-h4:mt-10 prose-h4:text-xl prose-a:font-bold prose-a:text-[#007bff] prose-figure:mx-auto prose-figcaption:text-center prose-li:marker:text-black prose-img:mx-auto prose-img:block sm:prose-lg md:mt-10 [&_blockquote>a]:inline-block",dangerouslySetInnerHTML:{__html:s}})}function u(e){let{video:t,videoLink:s,className:n="mt-6"}=e;return(0,l.jsxs)("div",{className:"aspect-w-16 aspect-h-9 ".concat(n),children:["Youtube"===t&&(0,l.jsx)("iframe",{src:"https://www.youtube.com/embed/".concat((0,a.qS)(s)),loading:"lazy",title:"YouTube video player",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",allowFullScreen:!0}),"Vimeo"===t&&(0,l.jsx)("iframe",{src:"https://player.vimeo.com/video/".concat((0,a.L2)(s)),loading:"lazy",title:"Vimeo video player",allow:"autoplay; fullscreen; picture-in-picture",allowFullScreen:!0}),"Bilibili"===t&&(0,l.jsx)("iframe",{src:"//player.bilibili.com/player.html?bvid=".concat((0,a.ve)(s),"&page=1"),loading:"lazy",scrolling:"no",allowFullScreen:!0}),"Dacast"===t&&(0,l.jsx)("iframe",{src:s,loading:"lazy",title:"Dacast video player",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",allowFullScreen:!0})]})}function h(e){var t;let{ad:s}=e,a="",n=null;if(!s)return(0,l.jsx)(l.Fragment,{});if(s.startDate&&s.endDate&&"Custom"===s.category&&new Date(s.startDate)<new Date&&new Date(s.endDate)>new Date)a=s.link,n=s.image,s.text;else{if("Generic"!==s.category)return(0,l.jsx)(l.Fragment,{});a=s.link,n=s.image,s.text}return(0,l.jsx)("div",{children:(0,l.jsx)("a",{href:null!=a?a:"#",target:a?"_blank":void 0,rel:a?"noreferrer":void 0,children:(0,l.jsx)(i.dK,{src:null==n?void 0:n.url,alt:null!==(t=null==n?void 0:n.alternativeText)&&void 0!==t?t:"Alt",width:null==n?void 0:n.width,height:null==n?void 0:n.height,className:"block w-full shadow"})})})}function p(e){var t;let{ad:s}=e,a="",n=null,r="";if(!s)return(0,l.jsx)(l.Fragment,{});if(s.startDate&&s.endDate&&"Custom"===s.category&&new Date(s.startDate)<new Date&&new Date(s.endDate)>new Date)a=s.link,n=s.image,r=s.text;else{if("Generic"!==s.category)return(0,l.jsx)(l.Fragment,{});a=s.link,n=s.image,r=s.text}return(0,l.jsx)("div",{className:"absolute left-[105%] top-1/2 mt-[220px] hidden h-1/2 w-[250px] xl:block",children:(0,l.jsx)("div",{className:"sticky top-[267px] pt-[40px]",children:(0,l.jsx)("div",{className:"border-t border-[#b1b1b1] pt-4",children:(0,l.jsxs)("a",{href:null!=a?a:"#",target:a?"_blank":void 0,rel:a?"noreferrer":void 0,children:[(0,l.jsx)("span",{className:"aspect-h-1 aspect-w-1 relative block",children:(0,l.jsx)(i.dK,{src:null==n?void 0:n.url,alt:null!==(t=null==n?void 0:n.alternativeText)&&void 0!==t?t:"Alt",width:null==n?void 0:n.width,height:null==n?void 0:n.height})}),r&&(0,l.jsx)("span",{className:"mt-2 block text-xs",children:r})]})})})})}var b=s(1664),f=s.n(b),j=s(8310);function g(e){let{authors:t,authorInfos:s}=e;return(0,l.jsx)("div",{className:"space-y-6 border-t border-black py-8",children:t.map((e,t)=>{var n,r,c,o,d,m,x,u,h,p,b,g,v,y,w,k,_,A,S,I,L,T,M,D,F;let E=!1,C=!1;return s&&s.length>0&&s[t]&&(null===(n=s[t])||void 0===n?void 0:n.hideSocialLinks)===!1&&((null===(L=s[t])||void 0===L?void 0:L.facebookLink)||(null===(T=s[t])||void 0===T?void 0:T.twitterLink)||(null===(M=s[t])||void 0===M?void 0:M.instagramLink)||(null===(D=s[t])||void 0===D?void 0:D.linkedInLink))&&(E=!0),e.email&&(null===(r=s[t])||void 0===r?void 0:r.hideEmail)===!1&&(C=!0),(0,l.jsxs)("div",{className:"sm:flex sm:items-center sm:space-x-4 lg:space-x-6",children:[(null===(c=s[t])||void 0===c?void 0:c.avatar)?(0,l.jsx)("div",{className:"relative h-[100px] w-[100px] shrink-0",children:(0,l.jsx)(f(),{locale:null===(o=s[t])||void 0===o?void 0:o.locale,href:"/author/".concat(null===(d=s[t])||void 0===d?void 0:d.slug),children:(0,l.jsx)(i.dK,{src:null===(m=s[t])||void 0===m?void 0:m.avatar.url,alt:(null===(x=s[t])||void 0===x?void 0:x.avatar.alternativeText)||"Alt",width:100,height:100,className:"block h-full w-full rounded-full object-cover object-center"})})}):(0,l.jsx)(f(),{locale:null===(u=s[t])||void 0===u?void 0:u.locale,href:"/author/".concat(null===(h=s[t])||void 0===h?void 0:h.slug),children:(0,l.jsx)(j.Z,{size:80,weight:"fill","aria-hidden":"true",className:"-ml-[10px] text-brand-red"})}),(0,l.jsxs)("div",{className:"mt-4 text-sm sm:mt-0",children:[(0,l.jsxs)("div",{className:"flex items-center",children:[(0,l.jsx)(f(),{locale:null===(p=s[t])||void 0===p?void 0:p.locale,href:"/author/".concat(null===(b=s[t])||void 0===b?void 0:b.slug),className:"font-bold",children:null===(g=s[t])||void 0===g?void 0:g.username}),s&&s.length>0&&s[t]&&(E||C)&&(0,l.jsx)(N,{socialMedias:{facebookLink:null===(v=s[t])||void 0===v?void 0:v.facebookLink,linkedInLink:null===(y=s[t])||void 0===y?void 0:y.linkedInLink,twitterLink:null===(w=s[t])||void 0===w?void 0:w.twitterLink,instagramLink:null===(k=s[t])||void 0===k?void 0:k.instagramLink,hideEmail:null===(_=s[t])||void 0===_?void 0:_.hideEmail,hideSocialLinks:null===(A=s[t])||void 0===A?void 0:A.hide
1SocialLinks},email:e.email})]}),(null===(S=s[t])||void 0===S?void 0:S.bio)&&(0,l.jsx)("div",{className:"mt-2 leading-normal",dangerouslySetInnerHTML:{__html:(0,a.I8)(null!==(F=null===(I=s[t])||void 0===I?void 0:I.bio)&&void 0!==F?F:"")}})]})]},e.id)})})}var v=s(915);function N(e){let{socialMedias:{facebookLink:t,twitterLink:s,instagramLink:a,linkedInLink:n,hideEmail:r,hideSocialLinks:i},email:c,className:d=""}=e;return(0,l.jsxs)("div",{className:(0,o.cn)("ml-4 flex items-center space-x-4",d),children:[!i&&t&&(0,l.jsx)("a",{href:(0,o.u4)(t),target:"_blank",rel:"noreferrer",className:"text-black hover:text-gray-500",children:(0,l.jsx)(v.HO,{"aria-hidden":"true",className:"h-[16px] w-[16px]"})}),!i&&s&&(0,l.jsx)("a",{href:(0,o.u4)(s),target:"_blank",rel:"noreferrer",className:"text-black hover:text-gray-500",children:(0,l.jsx)(v.Zm,{"aria-hidden":"true",className:"h-[16px] w-[16px]"})}),!i&&a&&(0,l.jsx)("a",{href:(0,o.u4)(a),target:"_blank",rel:"noreferrer",className:"text-black hover:text-gray-500",children:(0,l.jsx)(v.yu,{"aria-hidden":"true",className:"h-[16px] w-[16px]"})}),!i&&n&&(0,l.jsx)("a",{href:(0,o.u4)(n),target:"_blank",rel:"noreferrer",className:"text-black hover:text-gray-500",children:(0,l.jsx)(v.pA,{"aria-hidden":"true",className:"h-[16px] w-[16px]"})}),c&&!c.includes("@templeader.com")&&!r&&(0,l.jsx)("a",{href:"mailto:".concat(c),className:"text-black hover:text-gray-500",children:(0,l.jsx)(v._X,{"aria-hidden":"true",className:"h-[16px] w-[16px]"})})]})}function y(e){var t;let{collaborator:s}=e;return(0,l.jsxs)("section",{className:(0,o.cn)("mb-10 sm:mb-6",{"sm:flex sm:items-center sm:space-x-4":s.icon}),children:[s.icon?(0,l.jsx)("div",{className:"relative h-[130px] w-full max-w-[130px] shadow",children:(0,l.jsx)(i.dK,{src:s.icon.url,alt:null!==(t=s.icon.alternativeText)&&void 0!==t?t:"Alt",width:130,height:130,className:"w-full h-full object-contain object-center"})}):(0,l.jsx)("p",{className:"mb-2 text-[13px] uppercase",children:"Collaborator Description:"}),(0,l.jsx)("section",{className:"prose max-w-none text-sm leading-loose prose-a:text-[#0066b3] prose-a:no-underline max-sm:mt-4",dangerouslySetInnerHTML:{__html:s.description?(0,a.I8)(s.description):"No description available."}})]})}var w=s(8016),k=s(9510),_=s(1163);
1function A(e){let{comment:t,setCommentId:s,replies:n}=e,{t:r}=(0,k.$G)("publication"),i=(0,_.useRouter)(),c=e=>{s(e),(0,o.Yy)("#comment-reply")};return(0,l.jsxs)("div",{className:"flex",children:[(0,l.jsx)("div",{children:(0,l.jsx)(j.Z,{size:45,weight:"fill","aria-hidden":"true",className:"-ml-[10px] -mt-1 text-brand-red"})}),(0,l.jsxs)("div",{className:"ml-2",children:[(0,l.jsx)("p",{className:"font-bold leading-tight",children:t.user.username}),(0,l.jsx)("p",{className:"text-xs uppercase text-[#929292]",children:(0,a.vc)(t.publishedAt,i.locale)}),(0,l.jsx)("p",{className:"mt-2 whitespace-pre-line text-sm",children:t.content}),(0,l.jsx)(w.p,{children:e=>{let{open:s}=e;return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsxs)("div",{className:"mt-2 flex space-x-4",children:[(0,l.jsx)("button",{onClick:()=>c(t.id),type:"button",className:"text-xs font-bold text-brand-red",children:r("reply")}),(0,l.jsxs)(w.p.Button,{type:"button",className:"text-xs font-bold text-brand-red",children:[s?(0,l.jsx)(l.Fragment,{children:r("hide_replies")}):(0,l.jsx)(l.Fragment,{children:r("show_replies")})," ","(",n.length,")"]})]}),(0,l.jsx)(w.p.Panel,{className:(0,o.cn)("",{"mt-5 space-y-4":n.length>0}),children:n.map(e=>(0,l.jsx)(es,{reply:e},e.id))})]})}})]})]})}var S=s(9376),I=s(9006),L=s(7407),T=s(9879),M=s(7294),D=s(6501);function F(e){let{publicationType:t,publicationId:s,commentId:a,setCommentId:n}=e,r=(0,M.useRef)(null),{t:c}=(0,k.$G)("publication"),d=L.h.useContext(),{mutate:m,isLoading:x}=L.h.comment.post.useMutation({onSuccess:()=>{var e;a?D.ZP.success(c("reply_posted_msg")):D.ZP.success(c("comment_posted_msg")),null===(e=r.current)||void 0===e||e.resetForm(),d.comment.get.refetch()}});return(0,l.jsxs)("div",{id:"comment-reply",children:[(0,l.jsxs)("div",{className:"flex items-center",children:[(0,l.jsx)("p",{children:a?c("replying_to_comment"):c("write_a_comment")}),a&&(0,l.jsxs)("button",{onClick:()=>n(null),type:"button",className:"ml-2 text-xs text-brand-red",children:["(",c("cancel_reply"),")"]})]}),(0,l.jsxs)("p",{className:"mt-2 text-sm text-gray-400",children:[c("comment_disclaimer")," ",(0,l.jsx)("span",{className:"text-red-500",children:"*"})]}),(0,l.jsx)(T.J9,{innerRef:r,initialValues:{publicationType:t,publicationId:s,commentId:a,content:"",customPublishedAt:new Date().toISOString(),publishedAt:new Date().toISOString()},validationSchema:I.Eu,onSubmit:async e=>{await (0,o.G7)()&&m({...e,...a?{commentId:a}:{commentId:null}})},children:e=>(0,l.jsxs)(T.l0,{onSubmit:e.handleSubmit,className:"mt-8",children:[(0,l.jsxs)("label",{htmlFor:"content",className:"mb-2 block uppercase",children:[a?c("reply_text"):c("comment_text")," ",(0,l.jsx)("span",{className:"text-red-500",children:"*"})]}),(0,l.jsx)(i.RC,{id:"content",name:"content",rows:5,cols:30,disabled:e.isSubmitting||x,className:"scroll-mt-24"}),(0,l.jsx)(S.IQ,{type:"submit",isBusy:e.isSubmitting||x,disabled:e.isSubmitting||x,className:"mt-10",children:a?c("post_reply"):c("post_comment")})]})})]})}var E=s(3299),C=s(8509);function H(e){let{publicationType:t,publicationId:s}=e,{status:a}=(0,E.useSession)(),{t:n}=(0,k.$G)("publication"),[r,i]=(0,M.useState)(9),[c,d]=(0,M.useState)(null),{data:m}=L.h.comment.get.useQuery({publicationType:t,publicationId:s,limit:r},{keepPreviousData:!0});return(0,l.jsx)(l.Fragment,{children:(null==m?void 0:m.data)&&(0,l.jsx)("div",{className:"mb-10 border-b-2 border-gray-200 pt-10 md:mb-16",children:(0,l.jsx)(w.p,{children:e=>{let{open:x}=e;return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsxs)(w.p.Button,{className:"flex w-full items-center justify-between border-t-2 border-gray-200 py-4 text-left text-2xl uppercase text-black focus:outline-none sm:text-3xl",children:[(0,l.jsxs)("span",{children:[n("comments")," (",m.meta.pagination.total,")"]}),(0,l.jsx)(C.Z,{className:(0,o.cn)("h-6 w-6 text-black transition-transform duration-300 sm:h-8 sm:w-8",{"rotate-180":x})})]}),(0,l.jsxs)(w.p.Panel,{className:"py-6",children:[(0,l.jsx)("div",{className:"space-y-6",children:m.data.map(e=>(0,l.jsx)(A,{comment:e,setCommentId:d,replies:e.replies},e.id))}),m.meta.pagination.limit<m.meta.pagination.total&&(0,l.jsx)("div",{className:"mt-8 flex justify-center",children:(0,l.jsx)("button",{onClick:()=>i(r+9),type:"button",className:"font-bold text-brand-red",children:n("show_more_comments")})}),(0,l.jsxs)("div",{className:(0,o.cn)("",{"mt-8":m.data.length>0}),children:["unauthenticated"===a&&(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("p",{className:"text-black",children:n("comments_prompt_1")}),(0,l.jsx)("p",{className:"mt-2 text-sm text-[#929292]",children:n("comments_prompt_2")}),(0,l.jsx)(S.IQ,{href:"/login",showArrow:!1,className:"mt-10",children:n("login_signup")})]}),"authenticated"===a&&(0,l.jsx)(F,{publicationType:t,publicationId:s,commentId:c,setCommentId:d})]})]})]})}})})})}function Z(e){let{editedBy:t,translatedBy:s}=e,{t:a}=(0,k.$G)("publication");return(0,l.jsxs)("div",{className:"mb-8",children:[t&&(0,l.jsx)("p",{dangerouslySetInnerHTML:{__html:a("edited_by",{name:t})}}),s&&(0,l.jsx)("p",{className:"mt-2",dangerouslySetInnerHTML:{__html:a("translated_by",{name:s})}})]})}function B(e){let{featuredImage:t,featuredImageAlt:s="Alt",featuredImageCredit:a}=e,{t:n}=(0,k.$G)("publication");return(0,l.jsxs)("div",{className:"mt-8",children:[(0,l.jsx)(i.dK,{src:null==t?void 0:t.url,alt:s||(null==t?void 0:t.alternativeText)||"Alt",width:null==t?void 0:t.width,height:null==t?void 0:t.height,className:"block w-full shadow-sm"}),a&&(0,l.jsx)("div",{className:"mt-1 text-center text-sm tracking-tight line-clamp-3 sm:text-base [&_.text-small]:text-sm sm:[&_.text-small]:text-base",children:(0,l.jsxs)("em",{children:[(0,l.jsxs)("span",{className:"mr-1 inline-block",children:[n("source"),":"]}),(0,l.jsx)("span",{dangerouslySetInnerHTML:{__html:a.replace("图源","").replace(":","")},className:"inline-block"})]})})]})}var G=s(821),O=s(66);
1function K(e){let{contentContainerRef:t}=e,[s,n]=(0,M.useState)("0, 220"),[r,c]=(0,M.useState)(!1);return(0,M.useEffect)(()=>{let e=()=>{let e=Math.ceil((document.body.scrollTop||document.documentElement.scrollTop)/(t.current?t.current.offsetHeight:0)*100),s=Math.ceil(e/100*200);n("".concat(s,", ").concat(210-s)),e>=104?c(!0):c(!1)};return e(),window.addEventListener("scroll",(0,a.P2)(e,100)),()=>{window.removeEventListener("scroll",(0,a.P2)(e,100))}},[]),(0,l.jsx)("div",{className:"pointer-events-none absolute left-[105%] top-0 -mt-[40px] hidden h-[calc(100%+120px)] w-[100px] xl:block",children:(0,l.jsx)("div",{className:"sticky top-[157px]",children:(0,l.jsxs)("div",{className:"relative",children:[(0,l.jsx)("svg",{className:"h-full w-full",children:(0,l.jsx)("circle",{id:"circlePageProgress",cx:"50%",cy:"50%",r:"35px",strokeDasharray:s,strokeDashoffset:"65",fill:"none",strokeWidth:"10",stroke:"#000"})}),(0,l.jsxs)("div",{className:"absolute top-1/2 left-1/2 -z-1 flex h-[78px] w-[78px] -translate-x-1/2 -translate-y-1/2 items-center justify-center rounded-full border-[10px] border-[#e0e1e3] bg-transparent",children:[(0,l.jsx)(O.Z,{"aria-hidden":"true",className:"h-6 w-6 ".concat(r?"hidden":"")}),(0,l.jsx)("div",{className:r?"":"hidden",children:(0,l.jsx)(i.dK,{src:G.Z,alt:"Logo",width:35,height:35,placeholder:"empty"})})]}),(0,l.jsx)("div",{className:"absolute top-1/2 left-1/2 w-full -translate-x-1/2 -translate-y-1/2",children:(0,l.jsx)("svg",{className:"h-full w-full",children:(0,l.jsx)("circle",{cx:"50%",cy:"50%",r:"35px",strokeDasharray:"8,3",strokeWidth:"12",fill:"none",stroke:"#fff",className:"z-2"})})})]})})})}var R=s(3864),P=s(7495);function Y(e){let{id:t,theme:s,title:n,authors:r,authorInfos:i,customPublishedAt:c,readMinutes:d,duration:m,publicationType:x,resourceType:u}=e,{t:h}=(0,k.$G)("publication"),p=(0,a.ce)({publicationType:x,readMinutes:d,duration:m}),b=(0,_.useRouter)(),{status:g}=(0,E.useSession)();return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsxs)("div",{className:"flex flex-wrap justify-center gap-2",children:[(0,l.jsx)(R.Pw,{href:"/".concat(x,"s"),className:(0,o.cn)("px-3 text-sm",{"bg-green-100 text-green-800 hover:bg-green-200":"article"===x,"bg-amber-100 text-amber-800 hover:bg-amber-200":"podcast"===x,"bg-indigo-100 text-indigo-800 hover:bg-indigo-200":"video"===x,"bg-lime-100 text-lime-800 hover:bg-lime-200":"resource"===x}),children:x.charAt(0).toUpperCase()+x.slice(1)}),s&&(0,l.jsx)(R.Pw,{href:"/themes/".concat(s.slug),className:"px-3 text-sm",children:s.name}),u&&(0,l.jsx)(R.Pw,{href:{pathname:"/resources",query:{mediaType:u}},className:"px-3 text-sm",children:u})]}),(0,l.jsx)("h1",{dangerouslySetInnerHTML:{__html:n},className:"mt-6 text-center text-2xl font-bold !leading-tight text-black md:text-3xl lg:text-4xl xl:text-[40px]"}),(0,l.jsx)("div",{className:"mt-6 flex justify-center uppercase text-black max-md:text-sm",children:r&&r.length>0&&i&&i.length>0&&(0,l.jsxs)("div",{children:[(0,l.jsx)(j.Z,{weight:"fill","aria-hidden":"true",className:"mr-2 inline-block h-5 w-5 shrink-0 md:h-6 md:w-6"}),(0,l.jsx)("span",{className:"mr-1 inline-block",children:h("by")}),r.map((e,t)=>{var s,a,n;return(0,l.jsxs)(f(),{locale:null===(s=i[t])||void 0===s?void 0:s.locale,href:"/author/".concat(null===(a=i[t])||void 0===a?void 0:a.slug),className:"mr-1 inline-block font-bold hover:underline",children:[null===(n=i[t])||void 0===n?void 0:n.username,t!==r.length-1&&", "]},e.id)})]})}),(0,l.jsxs)("div",{className:"mt-2 flex items-center justify-center space-x-2 uppercase max-md:text-sm",children:[(0,l.jsx)(P.Z,{"aria-hidden":"true",className:"h-5 w-5 md:h-6 md:w-6"}),(0,l.jsxs)("div",{children:[c&&(0,l.jsxs)("span",{children:[(0,a.vc)(c,b.locale)," "]}),(0,l.jsx)("span",{className:"mx-1 inline-block",children:"•"})," ",(0,l.jsx)("span",{children:p})]}),"authenticated"===g&&(0,l.jsx)(R.NL,{publicationID:t.toString(),publicationType:x})]})]})}function $(e){let{children:t}=e;return(0,l.jsx)("article",{className:"relative mx-auto max-w-[850px] px-5 pt-10 md:pt-16",children:t})}function z(e){let{articleSections:t}=e;function s(){return(0,M.useEffect)(()=>{let e=()=>{try{window.adsbygoogle?(window.adsbygoogle=window.adsbygoogle||[]).push({}):setTimeout(e,100)}catch(e){console.error("AdSense error:",e)}},t=setTimeout(e,500);return()=>clearTimeout(t)},[]),null}let a=Array.from({length:2},()=>Math.floor(Math.random()*(t.length-1)));return(0,l.jsx)(l.Fragment,{children:t.map((e,t)=>(0,l.jsxs)("div",{children:["article-sections.highlight-box"===e.__component&&e.text&&e.highlightBox&&(0,l.jsx)(n,{color:e.highlightBox,text:e.text}),"article-sections.text"===e.__component&&e.text&&(0,l.jsx)(x,{content:e.text}),"article-sections.video"===e.__component&&e.Video&&e.videoLink&&(0,l.jsx)(u,{video:e.Video||"",videoLink:e.videoLink||""}),"article-sections.html"===e.__component&&e.html&&(0,l.jsx)(r,{html:e.html}),"article-sections.infographics"===e.__component&&e.image&&(0,l.jsx)(c,{infographic:e.image,caption:e.caption}),"article-sections.podcast"===e.__component&&e.podcastSource&&e.podcastLink&&(0,l.jsx)(d,{source:e.podcastSource,link:e.podcastLink}),"article-sections.table"===e.__component&&e.table&&(0,l.jsx)(m,{table:e.table}),a.includes(t)&&(0,l.jsx)("section",{className:"bg-white py-4",children:(0,l.jsx)("div",{className:"container",children:(0,l.jsx)("div",{className:"flex justify-center",children:(0,l.jsxs)("div",{className:"w-full max-w-[728px]",children:[(0,l.jsx)("ins",{className:"adsbygoogle",style:{display:"block",textAlign:"center"},"data-ad-layout":"in-article","data-ad-format":"fluid","data-ad-client":"ca-pub-6327132504140063","data-ad-slot":"8412628821"}),(0,l.jsx)(s,{})]})})})})]},"article-section-".concat(e.id,"-").concat(t)))})}function V(e){let{publicationType:t,nextPage:s}=e,n=(0,a.kK)({publicationType:t,slug:s.slug,theme:s.filter.theme.slug}),{t:r}=(0,k.$G)("publication");return(0,l.jsx)("div",{className:"absolute right-[105%] top-1/2 hidden h-1/2 w-[250px] xl:block",children:(0,l.jsx)("div",{className:"sticky top-[157px] pt-[40px]",children:(0,l.jsxs)("div",{className:"border-t border-[#b1b1b1] pt-4",children:[(0,l.jsx)("p",{className:"mb-3 text-[10px] uppercase",children:"article"===t?r("read_next_article"):"podcast"===t?r("read_next_podcast"):"video"===t?r("read_next_video"):""}),(0,l.jsxs)(f(),{href:n,children:[s.details&&s.details.featuredImage&&(0,l.jsx)("span",{className:"aspect-w-1 aspect-h-1 relative block",children:(0,l.jsx)(i.dK,{src:s.details.featuredImage.url,alt:s.details.featuredImageAlt||s.details.featuredImage.alternativeText||"Alt",width:s.details.featuredImage.width,height:s.details.featuredImage.height,className:"object-cover object-center"})}),(0,l.jsx)("p",{dangerouslySetInnerHTML:{__html:s.title},className:"mt-2 text-xs"})]})]})})})}
1function q(e){let{content:t}=e;return(0,l.jsx)("section",{className:"prose mt-8 max-w-none prose-headings:font-bold prose-h1:text-4xl prose-h2:text-2xl sm:prose-h2:text-3xl prose-h3:mt-8 prose-h3:text-xl sm:prose-h3:text-2xl prose-h4:mt-10 prose-h4:text-xl prose-a:font-bold prose-a:text-[#007bff] prose-figure:mx-auto prose-figcaption:text-center prose-li:marker:text-black prose-img:mx-auto prose-img:block sm:prose-lg md:mt-10 [&_blockquote>a]:inline-block",dangerouslySetInnerHTML:{__html:t}})}var X=s(5357),Q=s(7114);function U(e){let{paginateType:t,publicationType:s,pageItem:n}=e,{t:r}=(0,k.$G)("publication"),i="";return n&&(i=(0,a.kK)({publicationType:s,slug:n.slug,theme:n.filter.theme.slug})),(0,l.jsx)("div",{className:(0,o.cn)("w-full",{"flex justify-end":"next"===t}),children:(0,l.jsxs)(f(),{href:i,className:(0,o.cn)("relative inline-flex items-center space-x-2 text-sm hover:text-gray-500 sm:text-base",{"ml-1 text-right":"next"===t,"-ml-1":"previous"===t}),children:["previous"===t&&(0,l.jsx)(X.Z,{weight:"bold","aria-hidden":"true",className:"h-3 w-3 shrink-0"}),(0,l.jsx)("span",{className:"block",children:r("".concat(t,"_").concat(s))}),"next"===t&&(0,l.jsx)(Q.Z,{weight:"bold","aria-hidden":"true",className:"h-3 w-3 shrink-0"})]})})}function W(e){let{quote:t}=e;return(0,l.jsx)("blockquote",{className:"mx-auto flex max-w-2xl justify-center py-6 md:py-10",children:(0,l.jsxs)("div",{children:[(0,l.jsx)("div",{children:(0,l.jsx)(v.tK,{"aria-hidden":"true",className:"h-10 w-10 text-[#929292]"})}),(0,l.jsx)("p",{className:"mt-2 text-center text-xl font-bold sm:text-2xl",children:t})]})})}function J(e){let{references:t}=e,{t:s}=(0,k.$G)("publication");return(0,l.jsxs)("section",{className:"pb-2",children:[(0,l.jsxs)("p",{className:"mb-2 text-xs uppercase lg:text-[13px]",children:[s("references"),":"]}),(0,l.jsx)("div",{dangerouslySetInnerHTML:{__html:(0,a.I8)(t)},className:"prose max-w-none prose-p:text-xs prose-a:mb-1 prose-a:break-all prose-a:text-[#0066b3] prose-a:no-underline hover:prose-a:underline prose-li:text-xs lg:prose-p:text-[13px] lg:prose-li:text-[13px]"})]})}var ee=s(2209);function et(e){let{relatedPublications:t}=e,{t:s}=(0,k.$G)(["publication"]);return(0,l.jsx)("section",{className:"pt-6 pb-2 sm:pb-4 md:py-10",children:(0,l.jsxs)("div",{className:"publication-container",children:[(0,l.jsx)("div",{className:"max-md:px-5",children:(0,l.jsx)(ee.NZ,{children:s("related_content_title")})}),(0,l.jsx)("div",{className:"grid md:grid-cols-2 xl:grid-cols-3 gap-2 sm:gap-4 md:gap-8 mt-6 max-md:bg-slate-50 max-md:border-t max-md:border-gray-100",children:t.map(e=>(0,l.jsx)(R.oT,{cardType:"generic",content:{...e,publicationType:e.publicationType},className:"max-md:bg-white bg-transparent"},e.id))})]})})}function es(e){let{reply:t}=e,s=(0,_.useRouter)();return(0,l.jsxs)("div",{className:"flex",children:[(0,l.jsx)("div",{children:(0,l.jsx)(j.Z,{size:30,weight:"fill","aria-hidden":"true",className:"-ml-[10px] -mt-1 text-brand-red"})}),(0,l.jsxs)("div",{className:"ml-2",children:[(0,l.jsx)("p",{className:"font-bold !leading-tight",children:t.user.username}),(0,l.jsx)("p",{className:"text-[11px] uppercase text-[#929292]",children:(0,a.vc)(t.publishedAt,s.locale)}),(0,l.jsx)("p",{className:"mt-2 whitespace-pre-line text-[13px]",children:t.content})]})]})}var el=s(5938);function ea(e){let{url:t,caption:s}=e,[n,r]=(0,M.useState)(!1),{t:i}=(0,k.$G)("publication"),c=()=>{(0,a.vQ)(t),r(!0),setTimeout(()=>{r(!1)},2e3)};return(0,l.jsxs)("div",{children:[(0,l.jsx)("p",{className:"mb-6 text-sm uppercase sm:text-base",children:i("share_this")}),(0,l.jsxs)("div",{className:"flex items-center space-x-6",children:[a.t6.map(e=>(0,l.jsx)("a",{href:(0,a.O1)({platform:e.name,url:t,caption:s}),target:"_blank",rel:"noopener",className:"text-black hover:text-gray-500",children:(0,l.jsx)(e.icon,{className:"h-6 w-6","aria-hidden":"true"})},e.name)),(0,l.jsxs)("div",{className:"relative flex items-center",children:[n&&(0,l.jsx)("span",{className:"absolute left-1/2 bottom-full block -translate-y-1 -translate-x-1/2 whitespace-nowrap bg-brand-red p-2 text-xs text-white",children:i("link-copied")}),(0,l.jsx)("button",{type:"button",onClick:()=>c(),children:(0,l.jsx)(el.Z,{weight:"bold","aria-hidden":"true",className:"h-6 w-6 text-black"})})]})]})]})}function en(e){let{url:t,caption:s}=e,[n,r]=(0,M.useState)(!1),{t:i}=(0,k.$G)("publication"),c=()=>{(0,a.vQ)(t),r(!0),setTimeout(()=>{r(!1)},2e3)};return(0,l.jsx)("div",{className:"absolute right-[105%] top-0 -mt-[40px] hidden h-1/2 w-[100px] xl:block",children:(0,l.jsxs)("div",{className:"sticky top-[157px] pt-[40px]",children:[(0,l.jsx)("p",{className:"text-center text-[10px] uppercase",children:i("share")}),(0,l.jsxs)("div",{className:"mt-3 flex flex-col items-center space-y-2",children:[a.t6.map(e=>(0,l.jsx)("a",{href:(0,a.O1)({platform:e.name,url:t,caption:s}),target:"_blank",rel:"noopener",className:"flex h-10 w-10 items-center justify-center rounded-full border border-[#e8e8e8] hover:bg-gray-50",children:(0,l.jsx)(e.icon,{"aria-hidden":"true",style:{color:e.color},className:"h-5 w-5"})},e.name)),(0,l.jsxs)("div",{className:"relative flex items-center",children:[n&&(0,l.jsx)("span",{className:"absolute left-1/2 bottom-full block -translate-y-1 -translate-x-1/2 whitespace-nowrap bg-brand-red p-2 text-xs text-white",children:i("link_copied")}),(0,l.jsx)("button",{type:"button",onClick:()=>c(),className:"flex h-10 w-10 items-center justify-center rounded-full border border-[#e8e8e8] hover:bg-gray-50",children:(0,l.jsx)(el.Z,{weight:"bold","aria-hidden":"true",className:"h-5 w-5 text-[#929292]"})})]})]})]})})}function er(e){let{subheader:t}=e;return(0,l.jsx)("div",{className:"mt-8 text-xl md:mt-10 md:text-2xl font-bold",dangerouslySetInnerHTML:{__html:(0,a.I8)(t)}})}function ei(e){let{publicationType:t,theme:s,subthemes:a}=e,{t:n}=(0,k.$G)("publication");return(0,l.jsxs)("div",{className:"mt-8 pb-6 text-sm sm:flex sm:text-base",children:[(0,l.jsx)("p",{className:"uppercase",children:s.name}),a&&a.length>0&&(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("span",{className:"mx-2 hidden sm:inline-block",children:"•"}),(0,l.jsxs)("p",{className:"mt-2 text-[#6d6e71] sm:mt-0",children:[(0,l.jsxs)("span",{className:"uppercase",children:[n("tags"),":"]})," ",(0,l.jsx)("span",{className:"pl-2",children:a.map((e,s)=>(0,l.jsx)(f(),{href:{pathname:"/library",query:{publicationType:t,subtheme:e.id}},className:"hover:text-gray-400",children:"".concat(e.name).concat(s!==a.length-1?", ":"")}
1,e.id))})]})]})]})}}}]);

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.