1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7033],{97033:function(e,t,i){"use strict";i.r(t);var s=i(85893),r=i(87757),a=i.n(r),o=i(92137),l=i(65988),c=i(67294),n=i(68471),p=i(41664),x=i(26172),d=i(28550);t.default=function(e){var t,i=e.apiUrl,r=e.isMobile,u=(0,c.useState)(),h=u[0],j=u[1],m=(0,c.useState)(!1),f=m[0],g=m[1],_=r?6:10;return(0,c.useEffect)((function(){(function(){var e=(0,o.Z)(a().mark((function e(){var t;return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,n.Zl)("".concat(i,"frontend/popularPhotoStories"));case 2:t=e.sent,j(t),setTimeout((function(){g(!0)}),6e3);case 5:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}})()()}),[]),(0,s.jsxs)(s.Fragment,{children:[null!==h&&void 0!==h&&h.success&&f?(0,s.jsxs)("div",{className:"jsx-1207982248 popularArticleWidget",children:[(0,s.jsx)("hr",{className:"jsx-1207982248"}),(0,s.jsx)("h2",{className:"jsx-1207982248",children:"Popular Photo Stories"}),(0,s.jsx)("div",{className:"jsx-1207982248 popularArticleWrap",children:(0,s.jsx)("ul",{className:"jsx-1207982248 popularArticleCard",children:null===h||void 0===h||null===(t=h.data)||void 0===t?void 0:t.popularPhotoStories.slice(0,_).map((function(e){return(0,s.jsx)(p.default,{href:"/photo-stories/".concat(e.slug),children:(0,s.jsxs)("li",{onClick:function(){!function(e){var t={Event_Category:"photo_story_listing_page_events",Event_Action:"card_click",Event_Label:"Popular Photo Stories|".concat(e.id,"|").concat(e.title)};(0,x.x)("photo_story_listing_page_events_card_click","","",t);var i={Event_Name:"photo_story_listing_page_events_card_click",Parameter_Key:"photo_story_clicked",Parameter_Value:"Popular Photo Stores|".concat(e.id,"|").concat(e.title)};(0,x.x)("photo_story_listing_page_events_card_click","",i)}(e)},className:"jsx-1207982248",children:[(0,s.jsx)("div",{className:"jsx-1207982248 imageBox",children:(0,s.jsx)("img",{src:e.images[0].imageURL||d.HoA,className:"jsx-1207982248"})}),(0,s.jsx)("p",{className:"jsx-1207982248",children:e.title})]})},e.id)}))})})]}):null,(0,s.jsx)(l.default,{id:"1207982248",children:[".popularArticleWidget.jsx-1207982248{margin-bottom:30px;margin-top:20px;}",".popularArticleWidget.jsx-1207982248 hr.jsx-1207982248{width:100%;height:10px;background:#FFBC3E;opacity:1;margin:0;}",".popularArticleWidget.jsx-1207982248 h2.jsx-1207982248{font-size:16px;font-weight:700;line-height:48px;margin-bottom:0;}",".popularArticleCard.jsx-1207982248{margin:0;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap;margin:0 8px;}",".popularArticleCard.jsx-1207982248 li.jsx-1207982248{width:158px;margin-bottom:15px;cursor:pointer;}",".popularArticleCard.jsx-1207982248 li.jsx-1207982248 a.jsx-1207982248{display:block;}",".popularArticleCard.jsx-1207982248 li.jsx-1207982248 .imageBox.jsx-1207982248{width:100%;height:84px;border-radius:10px;overflow:hidden;margin-bottom:6px;}",".popularArticleCard.jsx-1207982248 li.jsx-1207982248 .imageBox.jsx-1207982248 img.jsx-1207982248{width:100%;display:block;height:100%;object-fit:cover;}",".popularArticleCard.jsx-1207982248 li.jsx-1207982248 p.jsx-1207982248{font-size:13px;line-height:16px;color:#000000;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;}","@media (max-width:600px){.popularArticleCard.jsx-1207982248 li.jsx-1207982248{width:48%;}}"]}
1)]})}}}]);
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.