PageSourceSearch

https://arttoronto.ca/static/js/ArticleDetailsView.e27091df.chunk.js

js arttoronto.ca collected 2026-09-24 19:21:53 UTC 5,288 bytes, 2 lines download raw bytes

1"use strict";(globalThis.__LOADABLE_LOADED_CHUNKS__||=[]).push([[6036],{93363(e,t,i){i.d(t,{A:()=>c});var a=i(34156),r=i.n(a);const l={wrapper:"Description_wrapper__yNPOq",medium:"Description_medium__i4oiO",large:"Description_large__DOroY"};var s=i(23446);let n=function(e){return e.medium="medium",e.large="large",e}({});function c(e){const{size:t=n.medium,children:i,className:a,...c}=e;return(0,s.jsx)("div",{...c,className:r()(l.wrapper,l[t],a),children:i})}},52108(e,t,i){i.d(t,{A:()=>u});var a=i(34156),r=i.n(a),l=i(17788);const s="Image_wrapper__pXWHr",n="Image_image__nwkY2",c="Image_featured__H+wOL",d="Image_showOnMobileOnly__jiw+7";var o=i(76998),m=i(23446);let _=function(e){return e.featured="featured",e}({});function u(e){const{path:t,defaultImage:i,imageStyle:a,displayMobileOnly:u,testId:h="site-article-card-image"}=e,x=(0,l.kt)(t),p=(0,o.useMemo)(()=>{const e=null!==x&&void 0!==x?x:i;return e?`url('${e}')`:"none"},[i,x]),g=r()(s,{[d]:u}),j=r()(n,{[c]:a===_.featured});return(0,m.jsx)("div",{className:g,children:(0,m.jsx)("div",{className:j,style:{backgroundImage:p},"data-testid":h})})}},45990(e,t,i){i.d(t,{A:()=>c});var a=i(34156),r=i.n(a);const l={heading:"Title_heading__pwD10",small:"Title_small__BGdb9",medium:"Title_medium__DE1S-",large:"Title_large__rNMGB"};var s=i(23446);let n=function(e){return e.default="default",e.small="small",e.medium="medium",e.large="large",e}({});function c(e){const{size:t=n.medium,children:i,className:a,...c}=e;return(0,s.jsx)("h3",{...c,className:r()(l.heading,l[t],a),children:i})}},49545(e,t,i){i.d(t,{A:()=>s});const a="Topics_wrapper__w4BPi",r="Topics_topic__R4aQh";var l=i(23446);function s(e){const{list:t}=e;return(0,l.jsx)("div",{className:a,children:t.map(e=>(0,l.jsx)("div",{className:r,children:e},e))})}},45521(e,t,i){i.r(t),i.d(t,{default:()=>M});var a=i(84946),r=i(25680),l=i(24241),s=i(79107),n=i(34552),c=i(50594),d=i(69263),o=i(52108),m=i(23236),_=i(49545),u=i(79453),h=i(45990),x=i(93363),p=i(77254),g=i(44847),j=i(90839),A=i(4972);const N="ArticleDetails_articleWrapper__ffZ0l",v="ArticleDetails_articleTitle__j80xu",f="ArticleDetails_articleAuthorDetails__uw-v4",D="ArticleDetails_articleShareButton__eyoSp",w="ArticleDetails_articleDownloadSection__mUgL8",y="ArticleDetails_articleDownloadButton__55d96",O="ArticleDetails_articleImage__M+pjz",T="ArticleDetails_articleContent__1q2kx",P="ArticleDetails_articleTopics__LFIwu",b="ArticleDetails_relatedArticleHeading__4u5dg",I="ArticleDetails_relatedArticleCard__POjyb";var S=i(23446);function k(){const{t:e}=(0,a.B)(),{sitePath:t,location:{href:i},location:k,tenantsConfig:B}=(0,l.N)(s.iq),F=(0,l.N)(n.U4),{title:C,content:L,imageUrl:U,author:{name:M}={},tags:E,relatedArticles:H,uploadedPdfUrls:q,turtl:z,turtl:{storyPosition:$}={}}=F;return(0,S.jsx)("div",{className:"container",children:(0,S.jsxs)("div",{className:N,children:[(0,S.jsx)("div",{className:v,children:C}),(0,S.jsxs)("div",{className:f,children:[(0,S.jsx)("span",{children:!!M&&(0,S.jsxs)(S.Fragment,{children:[e("site.article.by")," ",(0,S.jsx)("strong",{children:M})]})}),(0,S.jsxs)("span",{className:D,onClick:async function(){try{navigator.clipboard.writeText(i),await navigator.share({url:i})}catch(e){return}},children:[e("site.article.share.button"),(0,S.jsx)("i",{className:"material-icons",children:"share"})]})]}),q&&q.length>0&&(0,S.jsx)("div",{className:w,children:q.map(t=>{const i=function(e){return`${(0,c.r)({domains:B,tenant:s.gX.INFORMACONNECT,path:"uploads"})}${e}`}(t);return(0,S.jsx)(g.E0,{type:"link",target:"_blank",to:i,className:y,children:(0,S.jsxs)(S.Fragment,{children:[e("site.article.download.button"),(0,S.jsx)("i",{className:"material-icons",children:"get_app"})]})},i)})}),(0,S.jsx)("div",{className:O,children:(0,S.jsx)(o.A,{path:U,defaultImage:A,imageStyle:"featured"})}),$===n.FF.TOP&&(0,S.jsx)(j.A,{turtl:z}),(0,S.jsx)("div",{className:T,children:(0,m.xk)((0,d.v)(L),k)}),$===n.FF.BOTTOM&&(0,S.jsx)(j.A,{turtl:z}),E&&(0,S.jsx)("div",{className:P,children:(0,S.jsx)(_.A,{list:E})}),H.length>0&&(0,S.jsxs)(S.Fragment,{children:[(0,S.jsx)("h3",{className:b,children:e("site.article.related.news.title")}),(0,S.jsx)("div",{className:"row",children:H.map(e=>{const{articleId:i,imageUrl:a,articlePath:l,introBlurb:s,primaryTopic:n,title:c,externalLinkEnabled:d,externalLink:g}=e,j=d?g:`/article/${l}`;return(0,S.jsx)("div",{className:"col-xs-12 col-sm-6 col-md-3",children:(0,S.jsx)("div",{className:I,children:(0,S.jsx)(u.Sr,{to:j,pathPrefix:t,children:(0,S.jsx)(p.A,{image:(0,S.jsx)(o.A,{path:a}),topics:n&&(0,S.jsx)(_.A,{list:[n]}),heading:(0,S.jsxs)(h.A,{children:[c," ",d&&(0,S.jsx)(r.A,{fontSize:"inherit",sx:{verticalAlign:"middle"}})]}),description:s&&(0,S.jsx)(x.A,{children:(0,m.xk)(s)})})})})},i)})})]})]})})}var B=i(36753),F=i(44241);const C="ArticleDetailsView_wrapper__nhrYK",{BRAND_HUB:L}=(0,m.Cn)(),U=B.A;
1function M(){const e=(0,l.N)(n.U4),t=(0,l.N)(n.Xw),i=(0,l.N)(s.iq),{summary:a,articlePath:r,pathOfPrimarySite:c,typeOfPrimarySite:d,tenantOfPrimarySite:o}=e||{},m=(0,F.Z)(c,d,o,r),_={title:t.title,description:a,canonical:m,noindex:d===L||i.tenantId!==o||!(!c||c===i.sitePath)};return(0,S.jsx)(U,{helmet:_,children:(0,S.jsx)("div",{className:C,children:(0,S.jsx)(k,{})})})}}}]);
2//# sourceMappingURL=ArticleDetailsView.e27091df.chunk.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.