1"use strict";(("undefined"!=typeof self?self:this).__LOADABLE_LOADED_CHUNKS__=("undefined"!=typeof self?self:this).__LOADABLE_LOADED_CHUNKS__||[]).push([[2181],{32367:function(e,t,n){n(34769),n(34115),n(95342),n(68625),n(1939),n(62775);var i=n(12167),o=(n(18178),n(43450),n(2784)),r=n(45697),c=n.n(r),s=n(72779),a=n.n(s),l=n(80768),u=n(37236),f=n(5109),d=n(49372),h=n(90856),p=n(87079),m=n(37757),b=n(90068),g=n(82706),y=n(52322);function j(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function O(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?j(Object(n),!0).forEach((function(t){S(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):j(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function S(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var v=function(e){return{".flip-icon, .share-icon, .like-icon, .remove-icon, .report-icon, .mute-icon, .less-like-icon, .caret-icon":{color:e}}},A=(0,i.Z)("ul",{target:"e1wbprae1"})((function(e){return e.itemCardVariant?S({},p.Nw,O({marginBottom:"0px",cursor:"pointer",padding:"".concat(d.N.BASE," ").concat(d.N.MEDIUM," ").concat(d.N.BASE," 0"),color:h.bo.primary},v(h.bo.primary),{"&:hover":O({span:{color:h.bo.tertiary}},v(h.bo.tertiary))})):{}}),""),_=(0,i.Z)("div",{target:"e1wbprae0"})(O({fontFamily:f.g5.FONT_FAKT_FLIPBOARD,marginBottom:d.N.BASE},f.Hb.XSMALL_STANDARD),"");function w(e){var t,n=e.item,i=e.section,r=e.uid,c=e.isAuthenticated,s=e.className,u=e.generateItemActionButtons,f=e.itemCardVariant,d=a()(s,{"item-actions":!0});i&&r&&l.Z.isMagOwner(i,r);var h=c&&(null==i?void 0:i.isUserPreferenceable)&&(null==n||null===(t=n.reason)||void 0===t?void 0:t.text),p=u();return h||0!=p.length?(0,y.jsxs)(o.Fragment,{children:[h&&(0,y.jsx)(_,{children:h}),(0,y.jsx)(A,{className:d,itemCardVariant:f,children:p.map((function(e,t){return(0,y.jsx)("li",{className:"item-actions__action",children:e()},"item_action_".concat(t))}))})]}):null}w.propTypes={uid:c().number.isRequired,isAuthenticated:c().bool,onReport:c().func.isRequired,onRemoveItemFromMagazine:c().func.isRequired,item:c().object,section:c().object,dismiss:c().func,className:c().string,isPhone:c().bool.isRequired,generateItemActionButtons:c().func.isRequired,itemCardVariant:c().bool,t:c().func.isRequired},w.defaultProps={item:null,section:null,className:"",itemCardVariant:!1,dismiss:u.h},t.Z=(0,b.Z)(g.Z)((0,m.Z)((0,p.ZP)(w)))},82181:function(e,t,n){n.d(t,{u:function(){return L},Z:function(){return z}});n(43450),n(67890);var i=n(2784),o=n(45697),r=n.n(o),c=n(72779),s=n.n(c),a=n(37236),l=n(50714),u=n(62017),f=n(32367),d=n(49337),h=n(87411),p=n(87079),m=(n(96928),n(61229),n(34769),n(34115),n(95342),n(68625),n(1939),n(62775),n(634),n(58188),n(20796),n(15735),n(28673),n(6886),n(88983)),b=n(10950),g=n(26626),y=n(37757),j=n(52322);function O(e){return O="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},O(e)}function S(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function v(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function A(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function _(e,t){return _=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},_(e,t)}function w(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,i=R(e);if(t){var o=R(this).constructor;n=Reflect.construct(i,arguments,o)}else n=i.apply(this,arguments);return Z(this,n)}}function Z(e,t){return!t||"object"!==O(t)&&"function"!=typeof t?P(e):t}function P(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}
1function R(e){return R=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},R(e)}var x=function(e){var t=function(t){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_(e,t)}(c,t);var n,i,o,r=w(c);function c(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c),(t=r.call(this,e)).state={showingActionSheet:!1},t.toggleActionSheet=t.toggleActionSheet.bind(P(t)),t.renderActionSheet=t.renderActionSheet.bind(P(t)),t}return n=c,i=[{key:"toggleActionSheet",value:function(){this.state.showingActionSheet?this.setState({showingActionSheet:!1}):this.setState({showingActionSheet:!0})}},{key:"renderActionSheet",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:p.w4.DEFAULT_ACTION_SHEET,t=this.props,n=t.item,i=t.section,o=t.t;return(0,j.jsx)(m.Z,{in:this.state.showingActionSheet,timeout:300,classNames:"action-sheet-transiton",unmountOnExit:!0,children:(0,j.jsx)("div",{className:"action-sheet-overlay",children:(0,j.jsxs)("div",{className:"action-sheet",children:[(0,j.jsx)(f.Z,{item:n,section:i,dismiss:this.toggleActionSheet,className:"action-sheet__actions",buttonSet:e,isTooltipMenu:!0}),(0,j.jsx)(g.ZP,{name:"action-sheet-dismiss",className:"action-sheet__dismiss",styleVariation:g.NV.SECONDARY,label:o("close"),onClick:this.toggleActionSheet})]})})})}},{key:"render",value:function(){return(0,j.jsx)(e,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?S(Object(n),!0).forEach((function(t){v(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):S(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},this.props,{toggleActionSheet:this.toggleActionSheet,renderActionSheet:this.renderActionSheet,showingActionSheet:this.state.showingActionSheet}))}}],i&&A(n.prototype,i),o&&A(n,o),c}(i.Component);return t.displayName=b.Z.displayName(e),t.propTypes={item:r().object,section:r().object,t:r().func.isRequired},t.defaultProps={section:null,onLike:a.h},(0,y.Z)(t)},N=n(90068),D=n(9665),q=n(82706),E=n(60986),M=n(56976),T=n(57702),B=n(83795);function C(e){var t=e.isAmp,n=e.section,o=e.smartMagazineSection,r=e.item,c=e.toggleActionSheet,a=e.renderActionSheet,h=e.isAuthenticated,p=e.isLargeScreen,m=e.className,b=e.alignment,g=e.isAnalytics,y=e.hideMeatball,O=e.generateItemActionButtons,S=e.actionSheetButtonSet,v=e.anchoredDialogStyleVariation;if(t)return null;var A=!r&&!!o,_=s()(m,{"social-actions":!0}),w=s()({"social-actions__content":!0,"social-actions__content-right":"right"===b,"social-actions__content-left":"left"===b}),Z=O(),P=!y&&!g&&!t&&(h||(null==n?void 0:n.isMagazine)&&!r);return(0,j.jsx)("div",{className:_,children:(0,j.jsxs)("div",{className:w,children:[Z.map((function(e){return e()})),A?(0,j.jsx)(d.Z,{section:o,buttonSet:S,isTooltipMenu:!0},"social_actions_smartmagazine"):P&&(0,j.jsxs)(i.Fragment,{children:[p||null!=n&&n.isTopic?(0,j.jsx)(u.Z,{anchoredDialogStyleVariation:v,toggleElement:(0,j.jsx)(l.Z,{}),children:(0,j.jsx)(f.Z,{item:r,section:n,buttonSet:S,isTooltipMenu:!0,itemCardVariant:!0})},"social_actions_tooltip"):(0,j.jsx)(l.Z,{onClick:c},"social_actions_meatball"),a(S)]})]})})}var L={RIGHT:"right",LEFT:"left"};C.propTypes={isAuthenticated:r().bool.isRequired,isAmp:r().bool.isRequired,showModal:r().func.isRequired,section:r().object,smartMagazineSection:r().object,item:r().object,lang:r().string.isRequired,generateItemActionButtons:r().func.isRequired,t:r().func.isRequired,toggleActionSheet:r().func.isRequired,renderActionSheet:r().func.isRequired,isLargeScreen:r().bool.isRequired,className:r().string,alignment:r().oneOf(Object.values(L)),isAnalytics:r().bool,hideMeatball:r().bool,isUserStateLoading:r().bool,actionSheetButtonSet:r().array,anchoredDialogStyleVariation:r().oneOf(Object.values(h.ZP.styleVariations))},C.defaultProps={className:"",alignment:L.RIGHT,toggleActionSheet:a.h,section:null,isAnalytics:!1,hideMeatball:!1};var z=(0,N.Z)(B.Z,T.Z,D.Z,q.Z,E.Z,M.Z)(x((0,p.ZP)((0,y.Z)(C))))},49337:function(e,t,n){n.d(t,{Z:function(){return v}});var i=n(12291),o=n(23115),r=(n(43450),n(2784),n(45697)),c=n.n(r),s=n(93039),a=n(62017),l=n(26626),u=n(50714),f=n(86635),d=n(37757),h=n(83491),p=n(28041),m=n(87079),b=n(90068),g=n(68869),y=n(52322);function j(e){var t=e.section,n=e.onDelete,i=e.showModal,o=e.dismissModal,r=e.handleUnfollow,c=e.generateItemActionButtons,d=e.t,h=function(){n(t).then((function(){return r(t)})),o()},p=[l._Z.BLOCK,l._Z.ALIGN_LEFT],m=c();return(0,y.jsx)(a.Z,{toggleElement:(0,y.jsx)(u.Z,{}),children:(0,y.jsxs)("ul",{children:[m.map((function(e,t){return(0,y.jsx)("li",{className:"item-actions__action",children:e()},"item_action_".concat(t))})),(0,y.jsx)("li",{children:(0,y.jsx)(l.ZP,{name:"personalized-topic-delete",styleModifier:p,onClick:function(){return i(f.Z,{name:"delete-smart-magazine",confirmLabel:d("unpersonalize"),message:d("confirm_smart_magazine_delete",{smartMagazineTitle:t.title}),onConfirm:h})},children:(0,y.jsx)("span",{children:(0,s.Z)(d("unpersonalize"))})})})]})})}j.propTypes={section:c().object.isRequired,iconColor:c().string,onDelete:c().func.isRequired,showModal:c().func.isRequired,dismissModal:c().func.isRequired,onPersonalize:c().func.isRequired,handleUnfollow:c().func.isRequired,generateItemActionButtons:c().func.isRequired,showFollow:c().bool,t:c().func.isRequired},j.defaultProps={iconColor:void 0,showFollow:!1};var O=(0,b.Z)(g.Z)((0,m.ZP)((0,p.Z)((0,h.Z)((0,d.Z)(j))))),S=n(6630),v=(0,i.$j)((function(e){var t=e.profile;return{favorites:t.favorites,smartMagazines:t.smartMagazines}}),(function(e){return{onDelete:function(t){return(0,S.F)([e((0,o.bx)(t)),e((0,o.r7)(t))])}}}))(O)}}]); 2//# sourceMappingURL=2181.89e89d7ae4d66c023d7d.bundle.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.