PageSourceSearch

https://s.flipboard.com/webu/app.c60227d2f0511c0cd24e.bundle.js

js flipboard.com collected 2026-09-24 08:24:23 UTC 1,238,589 bytes, 2 lines download raw bytes

1(function(){var __webpack_modules__={12933:function(e,t,r){"use strict";var n,o,i,a,c,u,s,l,f,p,d,m,v,h,_,y,b,E,g,O,S,A,T,R,I,P,C,w,j,N,L,D,x,M,Z,U;r.d(t,{ts:function(){return n},DG:function(){return o},SE:function(){return i},lH:function(){return a},H3:function(){return c},bf:function(){return u},ae:function(){return s},RH:function(){return l},zm:function(){return f},wF:function(){return p},r:function(){return d},EQ:function(){return m},H0:function(){return v},Tp:function(){return h},mf:function(){return _},j_:function(){return y},MW:function(){return b},Ny:function(){return E},US:function(){return g},TE:function(){return O},GT:function(){return S},VD:function(){return A},$v:function(){return T},vT:function(){return I},E7:function(){return P},VS:function(){return C},iL:function(){return w},XF:function(){return j},L3:function(){return N},yi:function(){return L},NN:function(){return D},cp:function(){return x},iy:function(){return M},BC:function(){return Z},HZ:function(){return U}}),function(e){e.SET="ACCESSORY_SECTIONS_SET"}(n||(n={})),function(e){e.GET_EMAIL_CONFIG="GET_EMAIL_CONFIG",e.GET_EMAIL_CONFIG_SUCCEEDED="GET_EMAIL_CONFIG_SUCCEEDED",e.GET_EMAIL_CONFIG_FAILED="GET_EMAIL_CONFIG_FAILED",e.GET_EMAIL_SETTINGS="GET_EMAIL_SETTINGS",e.GET_EMAIL_SETTINGS_SUCCEEDED="GET_EMAIL_SETTINGS_SUCCEEDED",e.GET_EMAIL_SETTINGS_FAILED="GET_EMAIL_SETTINGS_FAILED",e.SAVE_EMAIL_SETTINGS_PENDING="SAVE_EMAIL_SETTINGS_PENDING",e.SAVE_EMAIL_SETTINGS_SUCCEEDED="SAVE_EMAIL_SETTINGS_SUCCEEDED",e.SAVE_EMAIL_SETTINGS_FAILED="SAVE_EMAIL_SETTINGS_FAILED",e.RESET_EMAIL_SETTINGS_SAVE_STATE="RESET_EMAIL_SETTINGS_SAVE_STATE",e.SET_PRESELECT_UNSUBSCRIBE_COMPLETE="SET_PRESELECT_UNSUBSCRIBE_COMPLETE",e.SET_EMAIL_FROM_CODE="SET_EMAIL_FROM_CODE",e.SET_PRESELECT_SUBSCRIPTION="SET_PRESELECT_SUBSCRIPTION"}(o||(o={})),function(e){e.CLEAR_APP_ERRORS="CLEAR_APP_ERRORS",e.GET_EXPERIMENTS="GET_EXPERIMENTS",e.GET_EXPERIMENTS_FAILED="GET_EXPERIMENTS_FAILED",e.GET_EXPERIMENTS_SUCCEEDED="GET_EXPERIMENTS_SUCCEEDED",e.GET_USER_FEATURES_FAILED="GET_USER_FEATURES_FAILED",e.GET_USER_FEATURES_SUCCEEDED="GET_USER_FEATURES_SUCCEEDED",e.REFRESH_APP_BANNERS="REFRESH_APP_BANNERS",e.RESET_BREADCRUMBS="RESET_BREADCRUMBS",e.SET_ACTIVATION_REFERRER="SET_ACTIVATION_REFERRER",e.SET_ADJUST_DEEP_LINK="SET_ADJUST_DEEP_LINK",e.SET_ADJUST_NAV_FROM="SET_ADJUST_NAV_FROM",e.SET_ADJUST_SECTION_ID="SET_ADJUST_SECTION_ID",e.SET_APP_BANNERS="SET_APP_BANNERS",e.SET_APP_DEVICE_TYPE="SET_APP_DEVICE_TYPE",e.SET_APP_ENABLE_AMP_STORIES="SET_APP_ENABLE_AMP_STORIES",e.SET_APP_IS_AMP="SET_APP_IS_AMP",e.SET_APP_IS_RSS="SET_APP_IS_RSS",e.SET_APP_LOCALE="SET_APP_LOCALE",e.SET_APP_META_DESCRIPTION="SET_APP_META_DESCRIPTION",e.SET_APP_NOT_FOUND="SET_APP_NOT_FOUND",e.SET_APP_PAGE_CANONICAL_PATH="SET_APP_PAGE_CANONICAL_PATH",e.SET_APP_SOCIAL_GRAPH_DESCRIPTION="SET_APP_SOCIAL_GRAPH_DESCRIPTION",e.SET_APP_SOCIAL_GRAPH_TITLE="SET_APP_SOCIAL_GRAPH_TITLE",e.SET_APP_THEME="SET_APP_THEME",e.SET_APP_THEME_OVERRIDE="SET_APP_THEME_OVERRIDE",e.SET_APP_TITLE="SET_APP_TITLE",e.SET_APP_URL="SET_APP_URL",e.SET_APP_VIEWPORT_TYPE="SET_APP_VIEWPORT_TYPE",e.SET_BREADCRUMBS="SET_BREADCRUMBS",e.SET_DID_NAVIGATE="SET_DID_NAVIGATE",e.SET_DID_SCROLL_TO_BOTTOM="SET_DID_SCROLL_TO_BOTTOM",e.SET_EXPERIMENT_OVERRIDES="SET_EXPERIMENT_OVERRIDES",e.SET_FEATURE_FLAG_AB_TEST_SETUP_COMPLETE="SET_FEATURE_FLAG_AB_TEST_SETUP_COMPLETE",e.SET_FORCED_TRACE_LOG="SET_FORCED_TRACE_LOG",e.SET_FRICTIONLESS_TRIGGER_ONBOARDING="SET_FRICTIONLESS_TRIGGER_ONBOARDING",e.SET_GOOGLE_AD_VISIBILITY="SET_GOOGLE_AD_VISIBILITY",e.SET_HIDE_MAIN_NAV_CTAS="SET_HIDE_MAIN_NAV_CTAS",e.SET_HOME_TILE_SECTIONS="SET_HOME_TILE_SECTIONS",e.SET_IS_CHROMELESS="SET_IS_CHROMELESS",e.SET_IS_EMBEDDABLE="SET_IS_EMBEDDABLE",e.SET_IS_FROM_BRIEFING="SET_IS_FROM_BRIEFING",e.SET_IS_FROM_CONFIRMATION="SET_IS_FROM_CONFIRMATION",e.SET_IS_FROM_CRAWLER="SET_IS_FROM_CRAWLER",e.SET_IS_FROM_INVITATION="SET_IS_FROM_INVITATION",e.SET_IS_GATE_DISMISSED="SET_IS_GATE_DISMISSED",e.SET_IS_INTEGRATION="SET_IS_INTEGRATION",e.SET_IS_IOS="SET_IS_IOS",e.SET_IS_NEW_USER="SET_IS_NEW_USER",e.SET_IS_WEBVIEW="SET_IS_WEBVIEW",e.SET_JOBID="SET_JOBID",e.SET_NAV_APP_STORE_URL="SET_NAV_APP_STORE_URL",e.SET_NAV_FROM_OVERRIDE="SET_NAV_FROM_OVERRIDE",e.SET_NGL_FEED_CONFIGS="SET_NGL_FEED_CONFIGS",e.SET_NO_EXPERIMENTS="SET_NO_EXPERIMENTS",e.SET_REFERRER="SET_REFERRER",e.SET_ROUTING="SET_ROUTING",e.SET_SEO_EXPERIMENTS="SET_SEO_EXPERIMENTS",e.SET_SERVER_COMPONENT="SET_SERVER_COMPONENT",e.SET_SERVICE_WORKER_REGISTERED="SET_SERVICE_WORKER_REGISTERED",e.SET_SHOWN_VIDEO_AD="SET_SHOWN_VIDEO_AD",e.SET_SUPPRESS_MOBILE_GATE="SET_SUPPRESS_MOBILE_GATE",e.SET_TRIGGER_INVITE_ONBOARDING="SET_TRIGGER_INVITE_ONBOARDING",e.SET_UTM_PARAMS="SET_UTM_PARAMS",e.SET_VIDEO_ADS_ENABLED="SET_VIDEO_ADS_ENABLED",e.SET_MASTODON_VERIFICATION_URL="SET_MASTODON_VERIFICATION_URL",e.SET_ACTIVITY_PUB_ALTERNATE="SET_ACTIVITY_PUB_ALTERNATE"}(i||(i={})),function(e){e.GET_PROFILE_STORYBOARD_ANALYTICS="GET_PROFILE_STORYBOARD_ANALYTICS",e.GET_PROFILE_STORYBOARD_ANALYTICS_SUCCEESS="GET_PROFILE_STORYBOARD_ANALYTICS_SUCCEESS",e.GET_PROFILE_STORYBOARD_ANALYTICS_FAILED="GET_PROFILE_STORYBOARD_ANALYTICS_FAILED",e.G
1ET_HOME_ANALYTICS="GET_HOME_ANALYTICS",e.GET_HOME_ANALYTICS_SUCCESS="GET_HOME_ANALYTICS_SUCCESS",e.GET_HOME_ANALYTICS_FAILED="GET_HOME_ANALYTICS_FAILED",e.GET_STORYBOARD_ANALYTICS="GET_STORYBOARD_ANALYTICS",e.GET_STORYBOARD_ANALYTICS_SUCCESS="GET_STORYBOARD_ANALYTICS_SUCCESS",e.GET_STORYBOARD_ANALYTICS_FAILED="GET_STORYBOARD_ANALYTICS_FAILED",e.CLEAR_STORYBOARD_ANALYTICS="CLEAR_STORYBOARD_ANALYTICS",e.GET_MAGAZINE_ANALYTICS="GET_MAGAZINE_ANALYTICS",e.GET_MAGAZINE_ANALYTICS_SUCCESS="GET_MAGAZINE_ANALYTICS_SUCCESS",e.GET_MAGAZINE_ANALYTICS_FAILED="GET_MAGAZINE_ANALYTICS_FAILED",e.CLEAR_MAGAZINE_ANALYTICS="CLEAR_MAGAZINE_ANALYTICS"}(a||(a={})),function(e){e.GET_ARTICLE="GET_ARTICLE",e.GET_ARTICLE_SUCCEEDED="GET_ARTICLE_SUCCEEDED",e.GET_ARTICLE_FAILED="GET_ARTICLE_FAILED",e.GET_ARTICLE_RELATED_SECTION_SUCCEEDED="GET_ARTICLE_RELATED_SECTION_SUCCEEDED",e.GET_ARTICLE_LIKES_SUCCEEDED="GET_ARTICLE_LIKES_SUCCEEDED",e.SET_VIDEO_ARTICLE_ID_HACK="SET_VIDEO_ARTICLE_ID_HACK"}(c||(c={})),function(e){e.GET_AUTH_TOKEN="GET_AUTH_TOKEN",e.FRICTIONLESS_SET_UID="FRICTIONLESS_SET_UID",e.AUTH_FORM_CHANGE="AUTH_FORM_CHANGE",e.LOGIN_PENDING="LOGIN_PENDING",e.SIGNUP_PENDING="SIGNUP_PENDING",e.SIGNUP_FAILURE="SIGNUP_FAILURE",e.LOGIN_FAILURE="LOGIN_FAILURE",e.CONNECT_WITH_SSO_PENDING="CONNECT_WITH_SSO_PENDING",e.CONNECT_WITH_SSO_FAILURE="CONNECT_WITH_SSO_FAILURE",e.GET_PASSWORD_STRENGTH_PENDING="GET_PASSWORD_STRENGTH_PENDING",e.GET_PASSWORD_STRENGTH_SUCCESS="GET_PASSWORD_STRENGTH_SUCCESS",e.RESET_AUTH_FORM="RESET_AUTH_FORM",e.SET_SIGNUP_COMPLETED="SET_SIGNUP_COMPLETED",e.SET_AUTH_FORM_LOADING="SET_AUTH_FORM_LOADING",e.LOGOUT="LOGOUT"}(u||(u={})),function(e){e.GET_CAMPAIGNS="CAMPAIGN_GET_CAMPAIGNS",e.GET_CAMPAIGNS_SUCCESS="CAMPAIGN_ GET_CAMPAIGNS_SUCCESS",e.GET_CAMPAIGNS_FAILED="CAMPAIGN_ GET_CAMPAIGNS_FAILED"}(s||(s={})),function(e){e.GET_COMMENTS="GET_COMMENTS",e.GET_COMMENTS_SUCCEEDED="GET_COMMENTS_SUCCEEDED",e.GET_COMMENTS_FAILED="GET_COMMENTS_FAILED",e.REMOVE_COMMENT="REMOVE_COMMENT",e.RESET_COMMENTS="RESET_COMMENTS",e.APPEND_NEW_COMMENT="APPEND_NEW_COMMENT",e.NEW_COMMENT_BUMP_COMMENT_COUNT="NEW_COMMENT_BUMP_COMMENT_COUNT",e.REMOVE_BLOCKED_USER_COMMENTS="REMOVE_BLOCKED_USER_COMMENTS"}(l||(l={})),function(e){e.GET_BLOCKED_PROFILES_PENDING="GET_BLOCKED_PROFILES_PENDING",e.GET_BLOCKED_PROFILES_SUCCESS="GET_BLOCKED_PROFILES_SUCCESS",e.GET_BLOCKED_PROFILES_FAILED="GET_BLOCKED_PROFILES_FAILED"}(f||(f={})),function(e){e.GET_EDITORIAL_BOARDS="GET_EDITORIAL_BOARDS",e.GET_EDITORIAL_BOARDS_SUCCEEDED="GET_EDITORIAL_BOARDS_SUCCEEDED",e.GET_RECOMMENDED_BOARDS_PENDING="GET_RECOMMENDED_BOARDS_PENDING",e.GET_RECOMMENDED_BOARDS_SUCCESS="GET_RECOMMENDED_BOARDS_SUCCESS",e.GET_RECOMMENDED_BOARDS_FAILED="GET_RECOMMENDED_BOARDS_FAILED",e.GET_CONTENT_GUIDE="GET_CONTENT_GUIDE",e.GET_CONTENT_GUIDE_SUCCEEDED="GET_CONTENT_GUIDE_SUCCEEDED",e.GET_CONTENT_GUIDE_FAILED="GET_CONTENT_GUIDE_FAILED",e.SET_SELECTED_CONTENT_GUIDE_SECTION="SET_SELECTED_CONTENT_GUIDE_SECTION",e.SET_CONTEXTUAL_ONBOARDING_FOLLOW_SECTIONS="SET_CONTEXTUAL_ONBOARDING_FOLLOW_SECTIONS"}(p||(p={})),function(e){e.GET_CURATOR_PRO_MAGAZINE="GET_CURATOR_PRO_MAGAZINE",e.GET_CURATOR_PRO_MAGAZINE_SUCCESS="GET_CURATOR_PRO_MAGAZINE_SUCCESS",e.GET_CURATOR_PRO_MAGAZINE_FAILED="GET_CURATOR_PRO_MAGAZINE_FAILED",e.UPDATE_CURATOR_PRO_MAGAZINE="UPDATE_CURATOR_PRO_MAGAZINE",e.UPDATE_CURATOR_PRO_MAGAZINE_SUCCESS="UPDATE_CURATOR_PRO_MAGAZINE_SUCCESS",e.UPDATE_CURATOR_PRO_MAGAZINE_FAILED="UPDATE_CURATOR_PRO_MAGAZINE_FAILED",e.UPDATE_CURATOR_PRO_MAGAZINE_COVER="UPDATE_CURATOR_PRO_MAGAZINE_COVER",e.UPDATE_CURATOR_PRO_MAGAZINE_COVER_SUCCESS="UPDATE_CURATOR_PRO_MAGAZINE_COVER_SUCCESS",e.UPDATE_CURATOR_PRO_MAGAZINE_COVER_FAILED="UPDATE_CURATOR_PRO_MAGAZINE_COVER_FAILED",e.REMOVE_CURATOR_PRO_MAGAZINE_CONTRIBUTOR="REMOVE_CURATOR_PRO_MAGAZINE_CONTRIBUTOR",e.REMOVE_CURATOR_PRO_MAGAZINE_CONTRIBUTOR_SUCCESS="REMOVE_CURATOR_PRO_MAGAZINE_CONTRIBUTOR_SUCCESS",e.REMOVE_CURATOR_PRO_MAGAZINE_CONTRIBUTOR_FAILED="REMOVE_CURATOR_PRO_MAGAZINE_CONTRIBUTOR_FAILED",e.MOVE_CURATOR_PRO_MAGAZINE_ITEM="MOVE_CURATOR_PRO_MAGAZINE_ITEM",e.MOVE_CURATOR_PRO_MAGAZINE_ITEM_SUCCESS="MOVE_CURATOR_PRO_MAGAZINE_ITEM_SUCCESS",e.MOVE_CURATOR_PRO_MAGAZINE_ITEM_FAILED="MOVE_CURATOR_PRO_MAGAZINE_ITEM_FAILED",e.REMOVE_CURATOR_PRO_MAGAZINE_ITEM="REMOVE_CURATOR_PRO_MAGAZINE_ITEM",e.REMOVE_CURATOR_PRO_MAGAZINE_ITEM_SUCCESS="REMOVE_CURATOR_PRO_MAGAZINE_ITEM_SUCCESS",e.REMOVE_CURATOR_PRO_MAGAZINE_ITEM_FAILED="REMOVE_CURATOR_PRO_MAGAZINE_ITEM_FAILED",e.G
1ET_CURATOR_PRO_MAGAZINE_NEXT_ITEMS="GET_CURATOR_PRO_MAGAZINE_NEXT_ITEMS",e.GET_CURATOR_PRO_MAGAZINE_NEXT_ITEMS_SUCCESS="GET_CURATOR_PRO_MAGAZINE_NEXT_ITEMS_SUCCESS",e.GET_CURATOR_PRO_MAGAZINE_NEXT_ITEMS_FAILED="GET_CURATOR_PRO_MAGAZINE_NEXT_ITEMS_FAILED",e.CUSTOMIZE_CURATOR_PRO_MAGAZINE_ITEM="CUSTOMIZE_CURATOR_PRO_MAGAZINE_ITEM",e.CUSTOMIZE_CURATOR_PRO_MAGAZINE_ITEM_SUCCESS="CUSTOMIZE_CURATOR_PRO_MAGAZINE_ITEM_SUCCESS",e.CUSTOMIZE_CURATOR_PRO_MAGAZINE_ITEM_FAILED="CUSTOMIZE_CURATOR_PRO_MAGAZINE_ITEM_FAILED",e.FLIP_CURATOR_PRO_MAGAZINE_URL="FLIP_CURATOR_PRO_MAGAZINE_URL",e.FLIP_CURATOR_PRO_MAGAZINE_URL_SUCCESS="FLIP_CURATOR_PRO_MAGAZINE_URL_SUCCESS",e.FLIP_CURATOR_PRO_MAGAZINE_URL_FAILED="FLIP_CURATOR_PRO_MAGAZINE_URL_FAILED",e.DELETE_CURATOR_PRO_MAGAZINE="DELETE_CURATOR_PRO_MAGAZINE",e.DELETE_CURATOR_PRO_MAGAZINE_SUCCESS="DELETE_CURATOR_PRO_MAGAZINE_SUCCESS",e.DELETE_CURATOR_PRO_MAGAZINE_FAILED="DELETE_CURATOR_PRO_MAGAZINE_FAILED",e.ADD_CURATOR_PRO_MAGAZINE_PIPE="ADD_CURATOR_PRO_MAGAZINE_PIPE",e.ADD_CURATOR_PRO_MAGAZINE_PIPE_SUCCESS="ADD_CURATOR_PRO_MAGAZINE_PIPE_SUCCESS",e.ADD_CURATOR_PRO_MAGAZINE_PIPE_FAILED="ADD_CURATOR_PRO_MAGAZINE_PIPE_FAILED",e.DELETE_CURATOR_PRO_MAGAZINE_PIPE="DELETE_CURATOR_PRO_MAGAZINE_PIPE",e.DELETE_CURATOR_PRO_MAGAZINE_PIPE_SUCCESS="DELETE_CURATOR_PRO_MAGAZINE_PIPE_SUCCESS",e.DELETE_CURATOR_PRO_MAGAZINE_PIPE_FAILED="DELETE_CURATOR_PRO_MAGAZINE_PIPE_FAILED"}(d||(d={})),function(e){e.GET_CURATOR_PRO_STORYBOARDS="GET_CURATOR_PRO_STORYBOARDS",e.GET_CURATOR_PRO_STORYBOARDS_SUCCESS="GET_CURATOR_PRO_STORYBOARDS_SUCCESS",e.GET_CURATOR_PRO_STORYBOARDS_FAILED="GET_CURATOR_PRO_STORYBOARDS_FAILED",e.GET_CURATOR_PRO_DRAFT_STORYBOARDS="GET_CURATOR_PRO_DRAFT_STORYBOARDS",e.GET_CURATOR_PRO_DRAFT_STORYBOARDS_SUCCESS="GET_CURATOR_PRO_DRAFT_STORYBOARDS_SUCCESS",e.GET_CURATOR_PRO_DRAFT_STORYBOARDS_FAILED="GET_CURATOR_PRO_DRAFT_STORYBOARDS_FAILED",e.GET_CURATOR_PRO_STORYBOARD="GET_CURATOR_PRO_STORYBOARD",e.GET_CURATOR_PRO_STORYBOARD_SUCCESS="GET_CURATOR_PRO_STORYBOARD_SUCCESS",e.GET_CURATOR_PRO_STORYBOARD_FAILED="GET_CURATOR_PRO_STORYBOARD_FAILED",e.CREATE_CURATOR_PRO_STORYBOARD="CREATE_CURATOR_PRO_STORYBOARD",e.CREATE_CURATOR_PRO_STORYBOARD_SUCCESS="CREATE_CURATOR_PRO_STORYBOARD_SUCCESS",e.CREATE_CURATOR_PRO_STORYBOARD_FAILED="CREATE_CURATOR_PRO_STORYBOARD_FAILED",e.UPDATE_CURATOR_PRO_STORYBOARD="UPDATE_CURATOR_PRO_STORYBOARD",e.UPDATE_CURATOR_PRO_STORYBOARD_SUCCESS="UPDATE_CURATOR_PRO_STORYBOARD_SUCCESS",e.UPDATE_CURATOR_PRO_STORYBOARD_FAILED="UPDATE_CURATOR_PRO_STORYBOARD_FAILED",e.DELETE_CURATOR_PRO_STORYBOARD="DELETE_CURATOR_PRO_STORYBOARD",e.DELETE_CURATOR_PRO_STORYBOARD_SUCCESS="DELETE_CURATOR_PRO_STORYBOARD_SUCCESS",e.DELETE_CURATOR_PRO_STORYBOARD_FAILED="DELETE_CURATOR_PRO_STORYBOARD_FAILED",e.PUBLISH_CURATOR_PRO_STORYBOARD="PUBLISH_CURATOR_PRO_STORYBOARD",e.PUBLISH_CURATOR_PRO_STORYBOARD_SUCCESS="PUBLISH_CURATOR_PRO_STORYBOARD_SUCCESS",e.PUBLISH_CURATOR_PRO_STORYBOARD_FAILED="PUBLISH_CURATOR_PRO_STORYBOARD_FAILED",e.CLONE_CURATOR_PRO_STORYBOARD="CLONE_CURATOR_PRO_STORYBOARD",e.CLONE_CURATOR_PRO_STORYBOARD_SUCCESS="CLONE_CURATOR_PRO_STORYBOARD_SUCCESS",e.CLONE_CURATOR_PRO_STORYBOARD_FAILED="CLONE_CURATOR_PRO_STORYBOARD_FAILED",e.INSERT_CURATOR_PRO_STORYBOARD_ITEM="INSERT_CURATOR_PRO_STORYBOARD_ITEM",e.INSERT_CURATOR_PRO_STORYBOARD_ITEM_SUCCESS="INSERT_CURATOR_PRO_STORYBOARD_ITEM_SUCCESS",e.INSERT_CURATOR_PRO_STORYBOARD_ITEM_FAILED="INSERT_CURATOR_PRO_STORYBOARD_ITEM_FAILED",e.UPDATE_CURATOR_PRO_STORYBOARD_ITEM="UPDATE_CURATOR_PRO_STORYBOARD_ITEM",e.UPDATE_CURATOR_PRO_STORYBOARD_ITEM_SUCCESS="UPDATE_CURATOR_PRO_STORYBOARD_ITEM_SUCCESS",e.UPDATE_CURATOR_PRO_STORYBOARD_NESTED_ITEM_SUCCESS="UPDATE_CURATOR_PRO_STORYBOARD_NESTED_ITEM_SUCCESS",e.UPDATE_CURATOR_PRO_STORYBOARD_ITEM_FAILED="UPDATE_CURATOR_PRO_STORYBOARD_ITEM_FAILED",e.DELETE_CURATOR_PRO_STORYBOARD_ITEM="DELETE_CURATOR_PRO_STORYBOARD_ITEM",e.DELETE_CURATOR_PRO_STORYBOARD_ITEM_SUCCESS="DELETE_CURATOR_PRO_STORYBOARD_ITEM_SUCCESS",e.DELETE_CURATOR_PRO_STORYBOARD_ITEM_FAILED="DELETE_CURATOR_PRO_STORYBOARD_ITEM_FAILED",e.CREATE_CURATOR_PRO_STORYBOARD_NESTED_ITEM="CREATE_CURATOR_PRO_STORYBOARD_NESTED_ITEM",e.CREATE_CURATOR_PRO_STORYBOARD_NESTED_ITEM_SUCCESS="CREATE_CURATOR_PRO_STORYBOARD_NESTED_ITEM_SUCCESS",e.CREATE_CURATOR_PRO_STORYBOARD_NESTED_ITEM_FAILED="CREATE_CURATOR_PRO_STORYBOARD_NESTED_ITEM_FAILED",e.MOVE_CURATOR_PRO_STORYBOARD_ITEM="MOVE_CURATOR_PRO_STORYBOARD_ITEM",e.MOVE_CURATOR_PRO_STORYBOARD_ITEM_SUCCESS="MOVE_CURATOR_PRO_STORYBOARD_ITEM_SUCCESS",e.MOVE_CURATOR_PRO_STORYBOARD_ITEM_FAILED="MOVE_CURATOR_PRO_STORYBOARD_ITEM_FAILED",e.G
1ET_CURATOR_PRO_STORYBOARD_FEED="GET_CURATOR_PRO_STORYBOARD_FEED",e.GET_CURATOR_PRO_STORYBOARD_FEED_SUCCESS="GET_CURATOR_PRO_STORYBOARD_FEED_SUCCESS",e.GET_CURATOR_PRO_STORYBOARD_FEED_FAILED="GET_CURATOR_PRO_STORYBOARD_FEED_FAILED",e.GET_CURATOR_PRO_STORYBOARD_FEED_ITEM="GET_CURATOR_PRO_STORYBOARD_FEED_ITEM",e.GET_CURATOR_PRO_STORYBOARD_FEED_ITEM_SUCCESS="GET_CURATOR_PRO_STORYBOARD_FEED_ITEM_SUCCESS",e.SET_CURATOR_PRO_SCHEDULE="SET_CURATOR_PRO_SCHEDULE",e.SET_CURATOR_PRO_SCHEDULE_SUCCESS="SET_CURATOR_PRO_SCHEDULE_SUCCESS",e.SET_CURATOR_PRO_SCHEDULE_FAILED="SET_CURATOR_PRO_SCHEDULE_FAILED",e.DELETE_CURATOR_PRO_SCHEDULE="DELETE_CURATOR_PRO_SCHEDULE",e.DELETE_CURATOR_PRO_SCHEDULE_SUCCESS="DELETE_CURATOR_PRO_SCHEDULE_SUCCESS",e.DELETE_CURATOR_PRO_SCHEDULE_FAILED="DELETE_CURATOR_PRO_SCHEDULE_FAILED"}(m||(m={})),function(e){e.SET="SET_FEATURE_FLAGS"}(v||(v={})),function(e){e.SET_ENABLED="SET_ENABLED",e.SET_TARGET_REMOTE_ID="SET_TARGET_REMOTE_ID"}(h||(h={})),function(e){e.MAGAZINE_FLIP_PENDING="MAGAZINE_FLIP_PENDING",e.MAGAZINE_FLIP_SUCCESS="MAGAZINE_FLIP_SUCCESS",e.MAGAZINE_FLIP_FAILED="MAGAZINE_FLIP_FAILED",e.CREATE_MAGAZINE_PENDING="CREATE_MAGAZINE_PENDING",e.CREATE_MAGAZINE_SUCCESS="CREATE_MAGAZINE_SUCCESS",e.CREATE_MAGAZINE_FAILED="CREATE_MAGAZINE_FAILED",e.MAGAZINE_SAVE_STATE_RESET="MAGAZINE_SAVE_STATE_RESET",e.EDIT_MAGAZINE_PENDING="EDIT_MAGAZINE_PENDING",e.EDIT_MAGAZINE_SUCCESS="EDIT_MAGAZINE_SUCCESS",e.EDIT_MAGAZINE_FAILED="EDIT_MAGAZINE_FAILED",e.DELETE_MAGAZINE_PENDING="DELETE_MAGAZINE_PENDING",e.DELETE_MAGAZINE_SUCCESS="DELETE_MAGAZINE_SUCCESS",e.DELETE_MAGAZINE_FAILED="DELETE_MAGAZINE_FAILED",e.CREATE_MAGAZINE_PIPE="CREATE_MAGAZINE_PIPE",e.CREATE_MAGAZINE_PIPE_SUCCESS="CREATE_MAGAZINE_PIPE_SUCCESS",e.CREATE_MAGAZINE_PIPE_FAILED="CREATE_MAGAZINE_PIPE_FAILED",e.REMOVE_ITEM_FROM_MAGAZINE_PENDING="REMOVE_ITEM_FROM_MAGAZINE_PENDING",e.REMOVE_ITEM_FROM_MAGAZINE_SUCCESS="REMOVE_ITEM_FROM_MAGAZINE_SUCCESS",e.REMOVE_ITEM_FROM_MAGAZINE_FAILED="REMOVE_ITEM_FROM_MAGAZINE_FAILED"}(_||(_={})),function(e){e.SET_MAGAZINE_INVITE_TOKEN="SET_MAGAZINE_INVITE_TOKEN",e.SET_MAGAZINE_INVITE_SECTION="SET_MAGAZINE_INVITE_SECTION",e.SET_INVITE_VALIDATION_ERRORS="SET_INVITE_VALIDATION_ERRORS",e.INVITE_MAGAZINE_ACCEPT_LOADING="INVITE_MAGAZINE_ACCEPT_LOADING"}(y||(y={})),function(e){e.SET_MAGAZINE_SUBSCRIPTIONS_LOADED="SET_MAGAZINE_SUBSCRIPTIONS_LOADED",e.SET_MAGAZINE_SUBSCRIPTIONS_LOADING="SET_MAGAZINE_SUBSCRIPTIONS_LOADING",e.SET_MAGAZINE_SUBSCRIPTIONS="SET_MAGAZINE_SUBSCRIPTIONS"}(b||(b={})),function(e){e.SHOW_MODAL="SHOW_MODAL",e.DISMISS_MODAL="DISMISS_MODAL",e.DISMISS_SPECIFIC_MODAL="DISMISS_SPECIFIC_MODAL",e.DISMISS_ALL_MODALS="DISMISS_ALL_MODALS",e.SET_MODAL_LOGIN_COMPLETE="SET_MODAL_LOGIN_COMPLETE"}(E||(E={})),function(e){e.MUTE_AUTHOR_SUCCEEDED="MUTE_AUTHOR_SUCCEEDED",e.UNMUTE_AUTHOR_SUCCEEDED="UNMUTE_AUTHOR_SUCCEEDED",e.MUTE_SOURCE_DOMAIN_SUCCEEDED="MUTE_SOURCE_DOMAIN_SUCCEEDED",e.UNMUTE_SOURCE_DOMAIN_SUCCEEDED="UNMUTE_SOURCE_DOMAIN_SUCCEEDED",e.UPDATE_MUTE_ITEM="UPDATE_MUTE_ITEM",e.UPDATE_MUTE_ITEM_FAILED="UPDATE_MUTE_ITEM_FAILED",e.UPDATE_MUTE_ITEM_SUCCEEDED="UPDATE_MUTE_ITEM_SUCCEEDED",e.UPDATE_MUTED_CONTENTS="UPDATE_MUTED_CONTENTS",e.LESS_LIKE_ITEM="LESS_LIKE_ITEM",e.LESS_LIKE_ITEM_SUCCEEDED="LESS_LIKE_ITEM_SUCCEEDED",e.LESS_LIKE_ITEM_FAILED="LESS_LIKE_ITEM_FAILED"}(g||(g={}
1)),function(e){e.GET_NEWSLETTERS_SIGNUP_CONFIGURATION_SUCCESS="GET_NEWSLETTERS_SIGNUP_CONFIGURATION_SUCCESS"}(O||(O={})),function(e){e.GET_NOTIFICATIONS="GET_NOTIFICATIONS",e.GET_NOTIFICATIONS_SUCCESS="GET_NOTIFICATIONS_SUCCESS",e.SET_NOTIFICATIONS_ENTRIES="SET_NOTIFICATIONS_ENTRIES",e.SET_NOTIFICATIONS_UNREAD_COUNT="SET_NOTIFICATIONS_UNREAD_COUNT",e.SET_NOTIFICATIONS_READ="SET_NOTIFICATIONS_READ",e.SET_NOTIFICATIONS_GROUP="SET_NOTIFICATIONS_GROUP"}(S||(S={})),function(e){e.GET_PROFILE_PENDING="GET_PROFILE_PENDING",e.GET_PROFILE_SUCCESS="GET_PROFILE_SUCCESS",e.GET_PROFILE_INFO="GET_PROFILE_INFO",e.GET_PROFILE_INFO_SUCCESS="GET_PROFILE_INFO_SUCCESS",e.UPDATE_FOLLOWING_IDS="UPDATE_FOLLOWING_IDS",e.GET_PROFILE_UNAUTHORIZED="GET_PROFILE_UNAUTHORIZED",e.GET_PROFILE_SMART_MAGAZINES_SUCCESS="GET_PROFILE_SMART_MAGAZINES_SUCCESS",e.GET_PROFILE_COMMUNITY_GROUPS_SUCCESS="GET_PROFILE_COMMUNITY_GROUPS_SUCCESS",e.GET_PROFILE_COMMUNITY_GROUPS_FAILED="GET_PROFILE_COMMUNITY_GROUPS_FAILED",e.GET_PROFILE_FOLLOWERS="GET_PROFILE_FOLLOWERS",e.GET_PROFILE_FOLLOWERS_SUCCESS="GET_PROFILE_FOLLOWERS_SUCCESS",e.GET_PROFILE_FOLLOWERS_FAILED="GET_PROFILE_FOLLOWERS_FAILED",e.GET_PROFILE_STATS_SUCCESS="GET_PROFILE_STATS_SUCCESS",e.GET_PROFILE_STATS_FAILED="GET_PROFILE_STATS_FAILED",e.GET_FAVORITES_SUCCESS="GET_FAVORITES_SUCCESS",e.GET_FAVORITES_FAILED="GET_FAVORITES_FAILED",e.CREATE_SMART_MAGAZINE_SUCCESS="CREATE_SMART_MAGAZINE_SUCCESS",e.CREATE_SMART_MAGAZINE_FAILED="CREATE_SMART_MAGAZINE_FAILED",e.UPDATE_SMART_MAGAZINE_SUCCESS="UPDATE_SMART_MAGAZINE_SUCCESS",e.UPDATE_SMART_MAGAZINE_FAILED="UPDATE_SMART_MAGAZINE_FAILED",e.DELETE_SMART_MAGAZINE_SUCCESS="DELETE_SMART_MAGAZINE_SUCCESS",e.DELETE_SMART_MAGAZINE_FAILED="DELETE_SMART_MAGAZINE_FAILED",e.GET_SMART_MAGAZINES_COVERS_SUCCESS="GET_SMART_MAGAZINES_COVERS_SUCCESS",e.GET_SMART_MAGAZINES_COVERS_FAILED="GET_SMART_MAGAZINES_COVERS_FAILED",e.ADD_CAROUSEL_FAVORITE_PENDING="ADD_CAROUSEL_FAVORITE_PENDING",e.ADD_CAROUSEL_FAVORITE_SUCCESS="ADD_CAROUSEL_FAVORITE_SUCCESS",e.ADD_CAROUSEL_FAVORITE_FAILURE="ADD_CAROUSEL_FAVORITE_FAILURE",e.DELETE_CAROUSEL_FAVORITE_PENDING="DELETE_CAROUSEL_FAVORITE_PENDING",e.DELETE_CAROUSEL_FAVORITE_FAILURE="DELETE_CAROUSEL_FAVORITE_FAILURE",e.DELETE_CAROUSEL_FAVORITE_SUCCESS="DELETE_CAROUSEL_FAVORITE_SUCCESS",e.ADD_SMART_MAGAZINE_CAROUSEL_SUCCESS="ADD_SMART_MAGAZINE_CAROUSEL_SUCCESS",e.FOLLOW_SECTION="FOLLOW_SECTION",e.UNFOLLOW_SECTION="UNFOLLOW_SECTION",e.FOLLOW_SECTION_SUCCESS="FOLLOW_SECTION_SUCCESS",e.UNFOLLOW_SECTION_SUCCESS="UNFOLLOW_SECTION_SUCCESS",e.MOVE_CAROUSEL_FAVORITE_PENDING="MOVE_CAROUSEL_FAVORITE_PENDING",e.MOVE_CAROUSEL_FAVORITE_FAILURE="MOVE_CAROUSEL_FAVORITE_FAILURE",e.MOVE_CAROUSEL_FAVORITE_SUCCESS="MOVE_CAROUSEL_FAVORITE_SUCCESS",e.GET_FOLLOWING="GET_FOLLOWING",e.GET_FOLLOWING_SUCCESS="GET_FOLLOWING_SUCCESS",e.GET_FOLLOWING_SAMPLE_SUCCESS="GET_FOLLOWING_SAMPLE_SUCCESS",e.SET_RECENTLY_PERSONALIZED_TOPIC="SET_RECENTLY_PERSONALIZED_TOPIC",e.RESET_AUTH_FORM="RESET_AUTH_FORM"}(A||(A={})),function(e){e.GET_PUBLISHER_INFO_PENDING="GET_PUBLISHER_INFO_PENDING",e.GET_PUBLISHER_INFO_SUCCESS="GET_PUBLISHER_INFO_SUCCESS",e.GET_PUBLISHER_INFO_FAILED="GET_PUBLISHER_INFO_FAILED",e.GET_PUBLISHER_PIPES_PENDING="GET_PUBLISHER_PIPES_PENDING",e.GET_PUBLISHER_PIPES_SUCCESS="GET_PUBLISHER_PIPES_SUCCESS",e.GET_PUBLISHER_PIPES_FAILED="GET_PUBLISHER_PIPES_FAILED",e.UPDATE_PUBLISHER_STATUS_PENDING="UPDATE_PUBLISHER_STATUS_PENDING",e.UPDATE_PUBLISHER_STATUS_SUCCESS="UPDATE_PUBLISHER_STATUS_SUCCESS",e.UPDATE_PUBLISHER_STATUS_FAILED="UPDATE_PUBLISHER_STATUS_FAILED",e.UPDATE_PUBLISHER_PAYWALL="UPDATE_PUBLISHER_PAYWALL",e.UPDATE_PUBLISHER_PAYWALL_SUCCESS="UPDATE_PUBLISHER_PAYWALL_SUCCESS",e.UPDATE_PUBLISHER_PAYWALL_FAILED="UPDATE_PUBLISHER_PAYWALL_FAILED",e.CANCEL_PUBLISHER_APPLICATION_PENDING="CANCEL_PUBLISHER_APPLICATION_PENDING",e.CANCEL_PUBLISHER_APPLICATION_SUCCESS="CANCEL_PUBLISHER_APPLICATION_SUCCESS",e.CANCEL_PUBLISHER_APPLICATION_FAILED="CANCEL_PUBLISHER_APPLICATION_FAILED",e.CREATE_PUBLISHER_PENDING="CREATE_PUBLISHER_PENDING",e.CREATE_PUBLISHER_SUCCESS="CREATE_PUBLISHER_SUCCESS",e.CREATE_PUBLISHER_FAILED="CREATE_PUBLISHER_FAILED"}(T||(T={}
1)),function(e){e.GET_LOGGED_OUT_FEED="GET_LOGGED_OUT_FEED",e.GET_LOGGED_OUT_FEED_SUCCEEDED="GET_LOGGED_OUT_FEED_SUCCEEDED",e.GET_LOGGED_OUT_FEED_FAILED="GET_LOGGED_OUT_FEED_FAILED",e.SET_GROUP_PREFERENCES="SET_GROUP_PREFERENCES",e.GROUP_PREFERENCES_LOADED="GROUP_PREFERENCES_LOADED"}(R||(R={})),function(e){e.SEARCH_NAV="SEARCH_NAV",e.SEARCH_NAV_SUCCEEDED="SEARCH_NAV_SUCCEEDED",e.CLEAR_SEARCH_NAV="CLEAR_SEARCH_NAV"}(I||(I={})),function(e){e.DIRECTORY_SEARCH="DIRECTORY_SEARCH",e.DIRECTORY_SEARCH_SUCCEEDED="DIRECTORY_SEARCH_SUCCEEDED",e.DIRECTORY_SEARCH_FAILED="DIRECTORY_SEARCH_FAILED",e.DIRECTORY_SET_FILTERS="DIRECTORY_SET_FILTERS",e.DIRECTORY_LOAD_MORE="DIRECTORY_LOAD_MORE",e.DIRECTORY_LOAD_MORE_SUCCEEDED="DIRECTORY_LOAD_MORE_SUCCEEDED",e.DIRECTORY_LOAD_MORE_FAILED="DIRECTORY_LOAD_MORE_FAILED"}(P||(P={})),function(e){e.SEARCH="SEARCH",e.SEARCH_SUCCEEDED="SEARCH_SUCCEEDED",e.CLEAR_SEARCH="CLEAR_SEARCH"}(C||(C={})),function(e){e.GET_SECTION="GET_SECTION",e.GET_SECTION_ABORT="GET_SECTION_ABORT",e.GET_SECTION_SUCCEEDED="GET_SECTION_SUCCEEDED",e.GET_SECTION_FAILED="GET_SECTION_FAILED",e.GET_MULTIPLE_SECTIONS="GET_MULTIPLE_SECTIONS",e.GET_MULTIPLE_SECTIONS_SUCCEEDED="GET_MULTIPLE_SECTIONS_SUCCEEDED",e.GET_MULTIPLE_SECTIONS_FAILED="GET_MULTIPLE_SECTIONS_FAILED",e.GET_SECTION_COVERS_SUCCESS="GET_SECTION_COVERS_SUCCESS",e.GET_SECTION_COVERS_FAILED="GET_SECTION_COVERS_FAILED",e.GET_SECTION_UNAUTHORIZED="GET_SECTION_UNAUTHORIZED",e.GET_SECTION_FOLLOWERS="GET_SECTION_FOLLOWERS",e.GET_SECTION_FOLLOWERS_SUCCEEDED="GET_SECTION_FOLLOWERS_SUCCEEDED",e.GET_SECTION_FOLLOWERS_FAILED="GET_SECTION_FOLLOWERS_FAILED",e.GET_SECTION_RELATED_SECTION_SUCCEEDED="GET_SECTION_RELATED_SECTION_SUCCEEDED",e.GET_TOPIC_DESCRIPTIONS="GET_TOPIC_DESCRIPTIONS",e.GET_TOPIC_DESCRIPTIONS_SUCCEEDED="GET_TOPIC_DESCRIPTIONS_SUCCEEDED",e.GET_TOPIC_DESCRIPTIONS_FAILED="GET_TOPIC_DESCRIPTIONS_FAILED",e.GET_SMART_MAGAZINE_SUCCEEDED="GET_SMART_MAGAZINE_SUCCEEDED",e.GET_SMART_MAGAZINE_FAILED="GET_SMART_MAGAZINE_FAILED",e.GET_SECTION_LIKES_SUCCEEDED="GET_SECTION_LIKES_SUCCEEDED",e.ACCEPT_CONTRIBUTOR_INVITE_SUCCESS="ACCEPT_CONTRIBUTOR_INVITE_SUCCESS",e.ACCEPT_CONTRIBUTOR_INVITE_FAILED="ACCEPT_CONTRIBUTOR_INVITE_FAILED",e.PURGE_SECTION="PURGE_SECTION",e.SET_SECTION_STALE="SET_SECTION_STALE",e.SET_ACCESSED_AT="SET_ACCESSED_AT",e.SET_TOPICS_FOR_SECTION="SET_TOPICS_FOR_SECTION",e.SET_RECOMMENDED_MAGAZINES_FOR_SECTION="SET_RECOMMENDED_MAGAZINES_FOR_SECTION",e.SET_SECTION_EPHEMERAL="SET_SECTION_EPHEMERAL",e.SET_METRICS="SET_METRICS"}(w||(w={})),function(e){e.SAVE_SETTINGS_PENDING="SAVE_SETTINGS_PENDING",e.SAVE_SETTINGS_SUCCESS="SAVE_SETTINGS_SUCCESS",e.SAVE_SETTINGS_FAILED="SAVE_SETTINGS_FAILED",e.RESET_SETTINGS_SAVE_STATE="RESET_SETTINGS_SAVE_STATE"}(j||(j={})),function(e){e.LOADING="SITEMAP_LOADING",e.INDEX_LOADED="SITEMAP_INDEX_LOADED",e.GET_INDEX_FAILURE="SITEMAP_GET_INDEX_FAILURE",e.GET_INDEX_SUCCESS="SITEMAP_GET_INDEX_SUCCESS",e.GET_PAGE_FAILURE="SITEMAP_GET_PAGE_FAILURE",e.GET_PAGE_SUCCESS="SITEMAP_GET_PAGE_SUCCESS"}(N||(N={})),function(e){e.SET_SOCIAL_ACTIVITY="SET_SOCIAL_ACTIVITY",e.RESET_SOCIAL_ACTIVITY="RESET_SOCIAL_ACTIVITY",e.LIKE_ITEM="LIKE_ITEM",e.LIKE_ITEM_PENDING="LIKE_ITEM_PENDING",e.LIKE_ITEM_SUCCEEDED="LIKE_ITEM_SUCCEEDED",e.LIKE_ITEM_FAILED="LIKE_ITEM_FAILED",e.UNLIKE_ITEM="UNLIKE_ITEM",e.UNLIKE_ITEM_PENDING="UNLIKE_ITEM_PENDING",e.UNLIKE_ITEM_SUCCEEDED="UNLIKE_ITEM_SUCCEEDED",e.UNLIKE_ITEM_FAILED="UNLIKE_ITEM_FAILED",e.ADD_POST_ONBOARDING_SOCIAL_ACTION="ADD_POST_ONBOARDING_SOCIAL_ACTION"}(L||(L={})),function(e){e.SHOW_INFO="SHOW_INFO",e.SHOW_ERROR="SHOW_ERROR",e.DISMISS="DISMISS"}(D||(D={})),function(e){e.USAGE_ENQUEUE_EVENT="USAGE_ENQUEUE_EVENT",e.USAGE_SET_PROD_TYPE="USAGE_SET_PROD_TYPE",e.USAGE_SET_SESSION="USAGE_SET_SESSION",e.USAGE_SET_REFERRER="USAGE_SET_REFERRER",e.USAGE_SET_NAV_FROM="USAGE_SET_NAV_FROM",e.USAGE_ENABLE_TRACKING="USAGE_ENABLE_TRACKING",e.USAGE_SET_FLURL="USAGE_SET_FLURL",e.USAGE_EMPTY_QUEUE="USAGE_EMPTY_QUEUE",e.USAGE_SET_SECTION_HEARTBEAT_TIMER_ID="USAGE_SET_SECTION_HEARTBEAT_TIMER_ID",e.USAGE_SET_SECTION_HEARTBEAT="USAGE_SET_SECTION_HEARTBEAT",e.USAGE_UPDATE_SECTION_HEARTBEAT="USAGE_UPDATE_SECTION_HEARTBEAT",e.USAGE_SET_NAV_FROM_SECTION="USAGE_SET_NAV_FROM_SECTION",e.USAGE_SET_MOBILE_GATE_ARTICLE="USAGE_SET_MOBILE_GATE_ARTICLE",e.USAGE_SET_MOBILE_GATE_SECTION="USAGE_SET_MOBILE_GATE_SECTION",e.USAGE_DEVELOPMENT_EVENT_LOG="USAGE_DEVELOPMENT_EVENT_LOG",e.USAGE_SET_IS_INTEGRATION="USAGE_SET_IS_INTEGRATION",e.USAGE_UPDATE_SECTION_DISPLAYED_ITEMS="USAGE_UPDATE_SECTION_DISPLAYED_ITEMS"}(x||(x={})),function(e){e.SET_USER_FEATURES="SET_USER_FEATURES"}(M||(M={})),function(e){e.SET_SHARED_LINK_DATA="SET_SHARED_LINK_DATA"}(Z||(Z={})),function(e){e.RESET_ONBOARDING="RESET_ONBOARDING",e.SET_ONBOARDING_FLOW="SET_ONBOARDING_FLOW",e.SET_CURRENT_ONBOARDING_STEP="SET_CURRENT_ONBOARDING_STEP",e.SET_ONBOARDING_DATA="SET_ONBOARDING_DATA",e.SET_ONBOARDING_SUCCESS="SET_ONBOARDING_SUCCESS",e.SET_ONBOARDING_PENDING="SET_ONBOARDING_PENDING"}(U||(U={}))},45319:function(e,t,r){"use strict";var n={};r.r(n),r.d(n,{refreshSignedMediaCookie:function(){return W}});r(77950),r(74069),r(94908);var o=r(2784),i=r(28316),a=r(2244),c=r(12291),u=r(24463),s=r(82771),l=(r(43105),r(8260)),f=r(77690),p=r(61807),d=r(47741),m=function(e,t,r){var n=Object.assign({dsn:t,environment:l.Z.deployEnvironment,beforeSend:function(e){return"development"!==l.Z.environment?e:f.ZP.info("SENTRY beforeSend ".concat(JSON.stringify(e)))||e},release:p.L,defaultIntegrations:!1},r);if(!("staging"!==l.Z.environment&&"production"!==l.Z.environment||t))throw new Error("sentry dsn is not set when initializing on public environment!");
1f.ZP.info("Initializing sentry with options: ".concat(JSON.stringify(n))),e.init(n),(0,d.c)(e)},v=r(7799),h=r(30298),_=(r(43450),r(34115),r(634),r(58188),r(20796),r(15735),r(28673),r(6886),r(27233),r(32501),r(26936),r(14890)),y=r(14069),b=r(82729),E=r.n(b),g=r(38255),O=r(50195),S=r(9906),A=r(511),T=r(99445),R=r(75007),I=r(83934),P="FLAVOUR",C=function(e){return"".concat(e,"/api")},w=function(){var e=(0,S.d)({baseURL:C(R.Z.FLAVOUR_INTERACTIVE_URL),timeout:3e4,headers:{"Content-Type":"application/json"}},!1);return e.defaults.paramsSerializer=function(e){return A.Z.stringify(e,{arrayFormat:"repeat"})},e.interceptors.request.use((function(e){var t;return e.metadata={startTime:new Date},0===e.url.indexOf("/v1/audience")&&(e.baseURL=C(R.Z.FLAVOUR_NOTIFICATIONS_URL),e.timeout=3e4),e.headers.Host=null===(t=(0,T.KM)(e.baseURL))||void 0===t?void 0:t.host,e})),e.interceptors.response.use((function(e){return e}),(function(e){var t,r;return 404===(null==e||null===(t=e.response)||void 0===t?void 0:t.status)&&"string"==typeof(null==e||null===(r=e.response)||void 0===r?void 0:r.data)&&(e.response.data=""),e})),e.interceptors.response.use((function(e){return I.Z.interceptResponseHandler(e,P)}),(function(e){return I.Z.interceptResponseErrorHandler(e,P)})),e}(),j=r(66345),N=(0,S.d)({baseURL:"".concat((0,j.Z)(),"/api/v2/flavour"),timeout:3e4,headers:{"Content-Type":"application/json"},"axios-retry":{retries:0}});N.interceptors.request.use((function(e){return"post"===e.method.toLowerCase()&&(e.headers["CSRF-Token"]=I.Z.getCsrfTokenFromMetaElement()),e}));var L=N,D=l.Z.isServer()?w:L,x=R.Z.FLAP_NAME,M=function(){var e=(0,S.d)({baseURL:R.Z.CONTENT_API_GW_URL,timeout:16500});return e.defaults.paramsSerializer=function(e){return A.Z.stringify(e,{arrayFormat:"repeat"})},e.interceptors.request.use((function(e){return"/health"===e.url||(e.metadata={startTime:new Date},e.params=Object.assign({},I.Z.FLAP_DEFAULT_PARAMS,e.params),I.Z.interceptApiGwRequest(e)),e})),e.interceptors.response.use((function(e){return I.Z.interceptResponseHandler(e,x)}),(function(e){return I.Z.interceptResponseErrorHandler(e,x)})),e}(),Z=r(71595),U=(0,Z.Z)("FLAP Content","/api/v2/content-gateway"),k=l.Z.isServer()?M:U,F=(r(85940),"Flout"),G=function(){var e=(0,S.d)({baseURL:R.Z.FLOUT_API_GW_URL,timeout:3e4});return e.defaults.paramsSerializer=function(e){return e.packageSectionID&&(e.packageSectionID=e.packageSectionID.replace("flipboard%2F","flipboard/")),A.Z.stringify(e,{arrayFormat:"comma"})},e.interceptors.request.use((function(e){return e.metadata={startTime:new Date},I.Z.interceptApiGwRequest(e),e})),e.interceptors.response.use((function(e){return I.Z.interceptResponseHandler(e,F)}),(function(e){return I.Z.interceptResponseErrorHandler(e,F)})),e}(),B=(0,Z.Z)("FLAP Content","/api/v2/analytics",{timeout:0}),z=l.Z.isServer()?G:B,V=r(93981),H=r(97445),q=r(23135),W=function(){return(0,v.Z)().fetch("".concat(R.Z.SIGNED_MEDIA_COOKIES_URL,"/?device=web"),{method:"GET",credentials:"include"})},Y=r(12933),K={allStoryboardMetrics:null,allMagazineMetrics:null,storyboardMetrics:[],magazineMetrics:[],isLoading:!1};r(39529),r(31235);var X=r(77703),$=r(30001),J=r(22749),Q=r(45828),ee=r(75875);function te(e){return function(e){if(Array.isArray(e))return re(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return re(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return re(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function re(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var ne={isAmp:!1,isRSS:!1,notFound:!1,readyForMetrics:!1,title:null,forcedTraceLog:null,socialGraphTitle:null,metaDescription:null,socialGraphDescription:null,pageCanonicalPath:null,experiments:null,experimentOverrides:null,noExperiments:!!l.Z.isTest,viewportType:X.Ky.PHONE,nglFeedConfigs:[],appTheme:$.SJ.DEFAULT,appThemeOverride:null,navAppStoreUrl:Q.Z.APP_STORE_URL_FOR_NAV,serverComponent:null,showAmpStory:!1,banners:[],appUrl:null,jobid:null,googleAdVisibility:0,isNewUser:!1,navFromOverride:null,adjustNavFrom:void 0,adjustSectionId:void 0,isFromCrawler:!1,isFromConfirmation:!1,userFeatures:{},lang:"en",locale:"en_US",isChromeless:!1,isEmbeddable:!1,isGateDismissed:!1,isMobileGateSuppressed:!1,isWebView:!1,isIos:!1,isFromBriefing:!1,utmParam
1s:{},referrer:null,activationReferrer:null,shownVideoAd:!1,didNavigate:!1,didScrollToBottom:!1,breadcrumbs:[],routing:{url:"/",type:void 0,match:{params:{}},params:{},query:{},path:"/",pathname:"/",search:""},seoExperiments:[],flurl:null,serviceWorkerRegistered:!1,videoAdsEnabled:null,mobileHomeTileSections:[],triggerInviteOnboarding:!1,sharedLinkData:null,featureFlagABTestSetupComplete:!1,hideMainNavCTAs:!1};function oe(e){var t=(0,ee.Lq)(e)({showAmpStory:false});return t}r(18178),r(92656),r(34769),r(95342),r(68625),r(1939),r(62775);var ie=r(39744);function ae(e){return function(e){if(Array.isArray(e))return ce(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return ce(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return ce(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ce(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function ue(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function se(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ue(Object(r),!0).forEach((function(t){le(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ue(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function le(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var fe={articlesByRemoteId:{},videoArticleRemoteIdHack:null,loading:!0,getArticleFailed:!1,redirectPath:null};r(77208),r(71245);function pe(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function de(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?pe(Object(r),!0).forEach((function(t){me(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):pe(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function me(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var ve={uid:0,udid:0,tuuid:0,isAccessTokenInvalid:!1,authForm:{realName:"",email:"",username:"",password:"",errorMessage:null,passwordStrength:null,requestToken:null,isLoading:!1,isLoadingPasswordStrength:!1},signupCompleted:!1};var he={editorialBoards:null,loading:!1,contentGuide:null,selectedContentGuideRemoteId:null,contextualFollowSections:[]};var _e={saveState:$.SN.NONE,flipState:$.SN.NONE};function ye(e){return function(e){if(Array.isArray(e))return be(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return be(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return be(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function be(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var Ee={current:[],modalLoginComplete:!1};var ge=r(7738),Oe={entries:[],nextPageKey:null,isLoading:!1,draftEntries:[],draftsNextPageKey:null,isLoadingDrafts:!1};r(49228),r(9949),r(99805);var Se=r(80768);function Ae(e){return function(e){if(Array.isArray(e))return Te(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return Te(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Te(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Te(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var Re={magazine:null,items:[],pipes:[],nextPageKey:null,prevItems:null,neverLoadMore:!1,contributors:[],isLoading:!1};var Ie=r(47573),Pe=r(33791);function Ce(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function we(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
1t%2?Ce(Object(r),!0).forEach((function(t){je(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Ce(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function je(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ne(e){return function(e){if(Array.isArray(e))return Le(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return Le(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Le(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Le(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var De=["post","section","image","status","video","audio"],xe={storyboard:null,items:[],isLoading:!1,section:null,sectionItems:{},prevItems:null};function Me(e){return Object.assign({},e,{modified:(new Date).getTime()})}var Ze={remoteStoreState:$.UN.INITIAL,publisherInfo:null,pipes:[],isLoading:!1,loadingFailed:!1};function Ue(e){return function(e){if(Array.isArray(e))return ke(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return ke(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return ke(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ke(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function Fe(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Ge(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Fe(Object(r),!0).forEach((function(t){Be(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Fe(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Be(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var ze={userInfo:null,isLoading:!1,profileLoaded:!1,isUserStateLoading:!1,magazines:[],contributorMagazines:[],smartMagazines:[],communityGroups:[],followers:[],followersNextPageKey:null,followersIsLoading:!1,followingIdsLoaded:!1,followingIds:[],following:[],followingStale:!1,followingLoading:!1,followingLoaded:!1,followingSampleLoaded:!1,stats:null,favorites:[],favoritesUpdating:!1,previousFavorites:[],carouselVersion:0,lastFavoritedSectionId:null,postOnboardingSocialAction:{like:!1,follow:!1,favorite:!1,flip:!1,accept_invite:!1}},Ve=function(e){var t,r,n,o=null===(t=e.userInfo)||void 0===t||null===(r=t.states)||void 0===r?void 0:r.find((function(e){return"user"===e.type}));return((null==o||null===(n=o.data)||void 0===n?void 0:n.tocSections)||[]).filter((function(e){return Se.Z.isValid(e)&&!Se.Z.isSmartMagazine(e)&&("flipboard"===e.service||"magazine"===e.feedType||"feed"===e.feedType||"profile"===e.feedType||"twitter"===e.service)})).map((function(e){return Se.Z.sectionIdForUpdateFeedRequest(e)}))};var He={isLoading:!1,forYou:[],editorial:[]};function qe(e){return function(e){if(Array.isArray(e))return We(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return We(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return We(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function We(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function Ye(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Ke(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
1t%2?Ye(Object(r),!0).forEach((function(t){Xe(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Ye(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Xe(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var $e={entries:[],loading:!1,error:null,totalCount:0,filters:{query:"",docType:"all",sort:"ap_followers_count",sortOrder:"desc",topic:"",lang:"",publisherOnly:!1,videoOnly:!1,owner:""},page:0};var Je={results:null,loading:!1};var Qe={results:null,loading:!1};var et=r(76635);function tt(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}function rt(e){return function(e){if(Array.isArray(e))return nt(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return nt(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return nt(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function nt(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function ot(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function it(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ot(Object(r),!0).forEach((function(t){at(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ot(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function at(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var ct={entries:[],topicDescriptions:[],loading:{},sectionCovers:{}};function ut(e,t,r,n,o,i,a,c,u,s,l,f,p,d,m){var v=e.entries,h=it({},r,{requestedRemoteId:t,ephemeral:l,accessedAt:(new Date).getTime(),rawItems:o,primarySectionForRoute:d,subSections:r.subSections||m});return void 0!==i&&(h.magazineProjections=i),void 0!==a&&(h.followerProjections=a),void 0!==c&&(h.followersNextPageKey=c),void 0!==u&&(h.nextPageKey=u),void 0!==s&&(h.neverLoadMore=s),h.items=n.map((function(e){return(0,ie.CJ)(e,h,f,p)})),Object.assign({},e,{entries:Ie.ZP.updateSectionByRemoteId(h,v)})}function st(e,t,r){var n=Ie.ZP.normalizeRemoteid(t);return r?Object.assign({},e,at({},n,r)):Object.keys(e).filter((function(e){return e!==n})).reduce((function(t,r){return t[r]=e[r],t}),{})}var lt={isLoading:!1,saveState:$.SN.NONE};var ft={storyboard:{isLoading:!1}};var pt=r(829),dt=r.n(pt),mt={sectionMetrics:null,dimensionsMetrics:null,itemMetrics:null,isLoading:!0,section:null,sectionCover:null};var vt={sectionMetrics:null,dimensionsMetrics:null,itemMetrics:null,isLoading:!0,section:null,sectionCover:null};var ht={props:{message:null},style:null};function _t(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function yt(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?_t(Object(r),!0).forEach((function(t){bt(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):_t(Object(r)).forEac
1h((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function bt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Et,gt={emailFromCode:null,groups:[],states:[],groupsLoaded:!1,statesLoaded:!1,preselectUnsubscribeComplete:!1,saveState:$.SN.NONE};function Ot(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function St(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Ot(Object(r),!0).forEach((function(t){At(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Ot(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function At(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Tt(e){return function(e){if(Array.isArray(e))return Rt(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return Rt(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Rt(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Rt(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}!function(e){e.ITEM_FLIP="itemFlip",e.ITEM_LIKE="itemLike",e.ITEM_UNLIKE="itemUnlike",e.ITEM_SHARE="itemShare",e.ITEM_ENTER="itemEnter",e.SECTION_FLIP="sectionFlip",e.SECTION_ENTER="sectionEnter",e.CURATOR_PRO_ENTER="curatorProEnter",e.CURATOR_PRO_MAGAZINE_INVITE_CONTRIBUTOR="curatorProMagazineInviteContributor",e.ANALYTICS_ENTER="analyticsEnter",e.SECTION_HEARTBEAT="sectionHeartbeat",e.TAP_SECTION_SUBSCRIBE="tapSectionSubscribe",e.SECTION_SUBSCRIBE="sectionSubscribe",e.SECTION_UNSUBSCRIBE="sectionUnsubscribe",e.TAP_MAGAZINE_CREATE="tapMagazineCreate",e.MAGAZINE_CREATE="magazineCreate",e.DISPLAY_MOBILE_GATE="displayMobileGate",e.OPEN_IN_APP="openInApp",e.TAP_FLIP="tapFlip",e.URL_FLIP="urlFlip",e.BANNER_ENTER="bannerEnter"}(Et||(Et={}));var It={session:null,navFrom:Object.keys(Et).reduce((function(e,t){return e[Et[t]]=null,e}),{}),navFromSection:null,mobileGateSection:null,mobileGateArticle:null,isIntegration:!1,uid:0,appVersion:null,locale:"en_US",prodType:"web",enableExperiments:!0,abTests:null,seoExperiments:null,flurl:null,referrer:null,eventQueue:[],trackingEnabled:!1,sessionRequest:null,sectionHeartbeatTimerId:null,sectionHeartbeat:null,sectionDisplayedItems:{},developmentEventLog:[]};var Pt=(0,ee.mr)(Y.Tp,{enabled:!1,targetRemoteId:null}),Ct={blockedProfiles:[],loaded:$.jd.NONE},wt=(0,ee.mr)(Y.zm,Ct),jt=(0,ee.mr)(Y.TE,{configuration:{}}),Nt=r(51362),Lt=r(33043),Dt=r(92995),xt=r(94670),Mt=r(77070),Zt=r(61312),Ut=r(88731),kt=r(96331),Ft=r(55437),Gt=r(52397),Bt=r(3557),zt=r(43210),Vt=(0,_.UY)({usage:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:It,t=arguments.length>1?arguments[1]:void 0,r=(0,ee.Lq)(e);switch(t.type){case Y.cp.USAGE_ENQUEUE_EVENT:var n=t.payload.event;return r({eventQueue:[].concat(Tt(e.eventQueue),[n])});case Y.cp.USAGE_EMPTY_QUEUE:return r({eventQueue:[]});case Y.cp.USAGE_SET_NAV_FROM:var o=t.payload,i=o.eventName,a=o.value,c=St({},e.navFrom,At({},i,a));return i===Et.SECTION_ENTER&&(c[Et.DISPLAY_MOBILE_GATE]=a),r({navFrom:c});case Y.cp.USAGE_DEVELOPMENT_EVENT_LOG:return r({developmentEventLog:[].concat(Tt(e.developmentEventLog),[t.payload])});case Y.cp.USAGE_ENABLE_TRACKING:case Y.cp.USAGE_SET_PROD_TYPE:case Y.cp.USAGE_SET_REFERRER:case Y.cp.USAGE_SET_SESSION:case Y.cp.USAGE_SET_FLURL:case Y.cp.USAGE_SET_IS_INTEGRATION:case Y.cp.USAGE_SET_SECTION_HEARTBEAT:case Y.cp.USAGE_SET_SECTION_HEARTBEAT_TIMER_ID:case Y.cp.USAGE_SET_NAV_FROM_SECTION:case Y.cp.USAGE_SET_MOBILE_GATE_SECTION:case Y.cp.USAGE_SET_MOBILE_GATE_ARTICLE:case Y.cp.USAGE_UPDATE_SECTION_DISPLAYED_ITEMS:case Y.cp.USAGE_UPDATE_SECTION_HEARTBEAT:return r(t.payload);default:return e}},app:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:ne,t=arguments.length>1?arguments[1]:void 0,r=(0,ee.Lq)(e);switch(t.type){case Y.SE.SET_APP_IS_AMP:return oe(r(t.payload));case Y.SE.GET_EXPERIMENTS_SUCCEEDED:return r({readyForMetrics:!l.Z.isServer(),experiments:t.payload.experiments});case Y.SE.GET_EXPERIMENTS_FAILED:return r({readyForMetrics:!l.Z.isServer()});case Y.SE.CLEAR_APP_ERRORS:return r({notFound:!1});case Y.SE.SET_ADJUST_NAV_FROM:var n=t.payload.adjustNavFrom;return void 0!==e.adjustNavFrom&&J.pR.includes(e.adjustNavFrom)?e:r({adjustNavFrom:n});case Y.SE.SET_SERVER_COMPONENT:var o=t.payload.serverComponent;if(!o)return e;var i=/^Connect\((.*)\)$/,a=o.match(i);return a&&a.length>1?oe(r({serverComponent:a[1]})):e;case Y.SE.SET_APP_LOCALE:var c=t.lang,u=t.locale;return r({lang:c,locale:u});case Y.SE.REFRESH_APP_BANNERS:return r({banners:te(e.banners)});case Y.SE.SET_APP_SOCIAL_GRAPH_TITLE:case Y.SE.SET_APP_SOCIAL_GRAPH_DESCRIPTION:case Y.SE.SET_APP_TITLE:case Y.SE.SET_APP_IS_RSS:case Y.SE.SET_APP_PAGE_CANONICAL_PATH:case Y.SE.SET_APP_NOT_FOUND:case Y.SE.SET_APP_VIEWPORT_TYPE:case Y.SE.SET_ADJUST_SECTION_ID:case Y.SE.SET_NAV_FROM_OVERRIDE:case Y.SE.SET_APP_BANNERS:case Y.SE.SET_EXPERIMENT_OVERRIDES:case Y.SE.SET_APP_THEME_OVERRIDE:case Y.SE.SET_IS_NEW_USER:case Y.SE.SET_NO_EXPERIMENTS:case Y.SE.SET_IS_GATE_DISMISSED:case Y.SE.SET_IS_EMBEDDABLE:case Y.SE.SET_IS_WEBVIEW:case Y.SE.SET_IS_IOS:case Y.SE.SET_NGL_FEED_CONFIGS:case Y.SE.SET_SUPPRESS_MOBILE_GATE:case Y.SE.SET_REFERRER:case Y.SE.SET_ACTIVATION_REFERRER:case Y.SE.SET_IS_FROM_BRIEFING:case Y.SE.SET_IS_CHROMELESS:case Y.SE.SET_IS_INTEGRATION:case Y.SE.SET_APP_THEME:case Y.SE.SET_NAV_APP_STORE_URL:case Y.SE.SET_IS_FROM_CRAWLER:case Y.SE.SET_IS_FROM_CONFIRMATION:case Y.SE.SET_IS_FROM_INVITATION:case Y.SE.SET_APP_URL:case Y.SE.SET_UTM_PARAMS:case Y.SE.SET_GOOGLE_AD_VISIBILITY:case Y.SE.SET_SHOWN_VIDEO_AD:case Y.SE.SET_DID_NAVIGATE:case Y.SE.SET_DID_SCROLL_TO_BOTTOM:case Y.SE.SET_FORCED_TRACE_LOG:case Y.SE.SET_APP_META_DESCRIPTION:case Y.SE.SET_SEO_EXPERIMENTS:case Y.SE.SET_BREADCRUMBS:case Y.SE.RESET_BREADCRUMBS:case Y.SE.SET_ROUTING:case Y.SE.SET_VIDEO_ADS_ENABLED:case Y.SE.SET_HOME_TILE_SECTIONS:case Y.SE.SET_JOBID:case Y.SE.SET_TRIGGER_INVITE_ONBOARDING:case Y.SE.SET_SERVICE_WORKER_REGISTERED:case Y.SE.SET_HIDE_MAIN_NAV_CTAS:case Y.SE.SET_MASTODON_VERIFICATION_URL:case Y.SE.SET_ACTIVITY_PUB_ALTERNATE:case Y.SE.SET_FEATURE_FLAG_AB_TEST_SETUP_COMPLETE:return r(t.payload);default:return e}},articles:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:fe,t=arguments.length>1?arguments[1]:void 0,r=(0,ee.Lq)(e);switch(t.type){case Y.H3.GET_ARTICLE:return Object.assign({},e,{loading:!0,getArticleFailed:!1});case Y.H3.GET_ARTICLE_SUCCEEDED:var n=t.payload,o=n.article,i=n.remoteId,a=n.articleSectionId,c=(0,ie.CJ)(o);return r({loading:!1,getArticleFailed:!1,redirectPath:null,articlesByRemoteId:Object.assign({},e.articlesByRemoteId,le({},i,se({},c,{articleSectionId:a})))});case Y.H3.GET_ARTICLE_FAILED:var u=t.payload.redirectPath;return r({loading:!1,getArticleFailed:!0,redirectPath:u});case Y.H3.GET_ARTICLE_RELATED_SECTION_SUCCEEDED:var s=t.payload,l=s.remoteId,f=s.relatedSectionType,p=s.sectionId,d=s.index,m=e.articlesByRemoteId[l];if(!m)return e;var v=m.relatedSections||{},h=(v[f]||[]).slice();return h.includes(p)?e:(null!=d?(h.length<=d&&(h=[].concat(ae(h),ae(Array(Math.max(d+1-h.length,0)).fill(null)))),h[d]=p):h.push(p),v=se({},v,le({},f,h)),r({articlesByRemoteId:Object.assign({},e.articlesByRemoteId,le({},l,Object.assign({},m,{relatedSections:v})))}));case Y.H3.SET_VIDEO_ARTICLE_ID_HACK:return r(t.payload);default:return e}},auth:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:ve,t=arguments.length>1?arguments[1]:void 0,r=(0,ee.Lq)(e);switch(t.type){case Y.bf.GET_AUTH_TOKEN:var n=t.data.uid||0,o="string"==typeof n?Number.parseInt(n,10):n;return r({uid:o,udid:t.data.udid,tuuid:t.data.tuuid});case Y.bf.RESET_AUTH_FORM:return r({authForm:ve.authForm});case Y.VD.GET_PROFILE_UNAUTHORIZED:case Y.iL.GET_SECTION_UNAUTHORIZED:return 0===e.uid?e:r({isAccessTokenInvalid:!0});case Y.bf.FRICTIONLESS_SET_UID:return r(t.payload);case Y.bf.AUTH_FORM_CHANGE:return r({authForm:de({},e.authForm,{},t.changes)});case Y.bf.LOGIN_PENDING:case Y.bf.SIGNUP_PENDING:return r({authForm:de({},e.authForm,{isLoading:!0,errorMessage:null})});case Y.bf.LOGIN_FAILURE:case Y.bf.SIGNUP_FAILURE:return r({authForm:de({},e.authForm,{errorMessage:null==t?void 0:t.errorMessage,isLoading:!1})});case Y.bf.CONNECT_WITH_SSO_FAILURE:return r({authForm:de({},e.authForm,{errorMessage:t.error,isLoading:!1})});case Y.bf.GET_PASSWORD_STRENGTH_PENDING:return r({authForm:de({},e.authForm,{isLoadingPasswordStrength:!0})});case Y.bf.GET_PASSWORD_STRENGTH_SUCCESS:return r({authForm:de({},e.authForm,{passwordStrength:t.data,isLoadingPasswordStrength:!1})});case Y.bf.SET_AUTH_FORM_LOADING:var i;return r({authForm:de({},e.authForm,{isLoading:(null===(i=t.payload.authForm)||void 0===i?void 0:i.isLoading)||!1})});case Y.bf.SET_SIGNUP_COMPLETED:return r(t.payload);case Y.bf.LOGOUT:return ve;default:return e}},content:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:he,t=arguments.length>1?arguments[1]:void 0,r=(0,ee.Lq)(e);switch(t.type){case Y.wF.GET_EDITORIAL_BOARDS:return Object.assign({},he,{loading:!0});case Y.wF.GET_EDITORIAL_BOARDS_SUCCEEDED:var n=t.payload||[];return Object.assign({},e,{loading:!1,editorialBoards:n});case Y.wF.GET_CONTENT_GUIDE_SUCCEEDED:var o=t.payload.contentGuide;return Object.assign({},e,{contentGuide:o});case Y.wF.SET_SELECTED_CONTENT_GUIDE_SECTION:var i=t.payload.remoteId;return Object.assign({},e,{selectedContentGuideRemoteId:i});case Y.wF.SET_CONTEXTUAL_ONBOARDING_FOLLOW_SECTIONS:return r(t.payload);default:return e}},magazine:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:_e,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case Y.mf.CREATE_MAGAZINE_PENDING:return Object.assign({},e,{saveState:$.SN.PENDING});case Y.mf.CREATE_MAGAZINE_SUCCESS:return Object.assign({},e,{saveState:$.SN.SUCCEEDED});case Y.mf.CREATE_MAGAZINE_FAILED:return Object.assign({},e,{saveState:$.SN.FAILED});case Y.mf.MAGAZINE_SAVE_STATE_RESET:return Object.assign({},e,{saveState:$.SN.NONE});
1case Y.mf.MAGAZINE_FLIP_PENDING:return Object.assign({},e,{flipState:$.SN.PENDING});case Y.mf.MAGAZINE_FLIP_SUCCESS:return Object.assign({},e,{flipState:$.SN.SUCCEEDED});case Y.mf.MAGAZINE_FLIP_FAILED:return Object.assign({},e,{flipState:$.SN.FAILED});default:return e}},modal:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Ee,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case Y.Ny.SHOW_MODAL:return Object.assign({},e,{current:[].concat(ye(e.current),[t.payload])});case Y.Ny.DISMISS_MODAL:return Object.assign({},e,{current:e.current.slice(0,-1)});case Y.Ny.DISMISS_SPECIFIC_MODAL:return Object.assign({},e,{current:e.current.filter((function(e){var r;return e.component!==(null===(r=t.payload)||void 0===r?void 0:r.component)}))});case Y.Ny.DISMISS_ALL_MODALS:return Object.assign({},e,{current:[]});case Y.Ny.SET_MODAL_LOGIN_COMPLETE:return Object.assign({},e,{modalLoginComplete:!0});default:return e}},storyboards:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Oe,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case Y.EQ.GET_CURATOR_PRO_STORYBOARDS:return Object.assign({},e,{isLoading:!0});case Y.EQ.GET_CURATOR_PRO_STORYBOARDS_SUCCESS:var r=t.storyboards,n=t.nextPageKey,o=t.append,i=r.map((function(e){return ge.Z.curatorProProjection(e)})),a=o?e.entries.concat(i):i;return Object.assign({},e,{entries:a,nextPageKey:n,isLoading:!1});case Y.EQ.GET_CURATOR_PRO_STORYBOARDS_FAILED:return Object.assign({},e,{isLoading:!1});case Y.EQ.GET_CURATOR_PRO_DRAFT_STORYBOARDS:return Object.assign({},e,{isLoadingDrafts:!0});case Y.EQ.GET_CURATOR_PRO_DRAFT_STORYBOARDS_SUCCESS:var c=t.storyboards,u=t.schedules,s=t.nextPageKey,l=t.append,f=c.map((function(e){var t=u[e.id];return ge.Z.curatorProProjection(e,t&&t.publishAt)})),p=l?e.draftEntries.concat(f):f;return Object.assign({},e,{draftEntries:p,draftsNextPageKey:s,isLoadingDrafts:!1});case Y.EQ.GET_CURATOR_PRO_DRAFT_STORYBOARDS_FAILED:return Object.assign({},e,{isLoadingDrafts:!1});case Y.EQ.PUBLISH_CURATOR_PRO_STORYBOARD_SUCCESS:return Object.assign({},e,{draftEntries:e.draftEntries.filter((function(e){return e.id!==t.draftStoryboardId}))});default:return e}},curatorProMagazine:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Re,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case Y.r.GET_CURATOR_PRO_MAGAZINE:return Object.assign({},Re,{isLoading:!0});case Y.r.UPDATE_CURATOR_PRO_MAGAZINE_COVER:case Y.r.REMOVE_CURATOR_PRO_MAGAZINE_CONTRIBUTOR:case Y.r.REMOVE_CURATOR_PRO_MAGAZINE_ITEM:case Y.r.GET_CURATOR_PRO_MAGAZINE_NEXT_ITEMS:case Y.r.FLIP_CURATOR_PRO_MAGAZINE_URL:case Y.r.DELETE_CURATOR_PRO_MAGAZINE:case Y.r.ADD_CURATOR_PRO_MAGAZINE_PIPE:case Y.r.DELETE_CURATOR_PRO_MAGAZINE_PIPE:case Y.r.CUSTOMIZE_CURATOR_PRO_MAGAZINE_ITEM:case Y.r.UPDATE_CURATOR_PRO_MAGAZINE:return Object.assign({},e,{isLoading:!0});case Y.r.GET_CURATOR_PRO_MAGAZINE_SUCCESS:var r=t.items.map((function(e){return(0,ie.CJ)(e)}));return Object.assign({},e,{magazine:Se.Z.projection(t.section,r),items:r.filter((function(e){return!e.isSectionCover})),pipes:t.pipes||null,contributors:t.contributors,nextPageKey:t.nextPageKey,neverLoadMore:t.neverLoadMore,isLoading:!1});case Y.r.FLIP_CURATOR_PRO_MAGAZINE_URL_SUCCESS:return Object.assign({},e,{magazine:Se.Z.projection(t.section),items:t.items.map((function(e){return(0,ie.CJ)(e)})).filter((function(e){return!e.isSectionCover})),nextPageKey:t.nextPageKey,neverLoadMore:t.neverLoadMore,isLoading:!1});case Y.r.GET_CURATOR_PRO_MAGAZINE_NEXT_ITEMS_SUCCESS:return Object.assign({},e,{items:e.items.concat(t.items.map((function(e){return(0,ie.CJ)(e)})).filter((function(e){return!e.isSectionCover}))),nextPageKey:t.nextPageKey,neverLoadMore:t.neverLoadMore,isLoading:!1});case Y.r.UPDATE_CURATOR_PRO_MAGAZINE_SUCCESS:var n=Object.assign({},t.changes);return n.magazineVisibility&&(n.isPrivate="private"===n.magazineVisibility),Object.assign({},e,{magazine:Object.assign({},e.magazine,n),isLoading:!1});case Y.r.DELETE_CURATOR_PRO_MAGAZINE_SUCCESS:return Object.assign({},Re);case Y.r.UPDATE_CURATOR_PRO_MAGAZINE_COVER_SUCCESS:var o=e.items.find((function(e){return e.id===t.itemId}));return Object.assign({},e,{magazine:Object.assign({},e.magazine,{magazineCoverItemId:t.itemId,coverImage:o?o.image:null}),isLoading:!1});case Y.r.MOVE_CURATOR_PRO_MAGAZINE_ITEM:var i=t.moveId,a=t.position,c=e.items.findIndex((function(e){return e.oid===i})),u=Ae(e.items).filter((function(e){return e.oid!==i}));return u.splice(a,0,e.items[c]),Object.assign({},e,{items:u,prevItems:Ae(e.items)});case Y.r.MOVE_CURATOR_PRO_MAGAZINE_ITEM_SUCCESS:return Object.assign({},e,{prevItems:null,isLoading:!1});case Y.r.MOVE_CURATOR_PRO_MAGAZINE_ITEM_FAILED:return Object.assign({},e,{items:Ae(e.prevItems||[]),prevItems:null,isLoading:!1});case Y.r.REMOVE_CURATOR_PRO_MAGAZINE_CONTRIBUTOR_SUCCESS:return Object.assign({},e,{contributors:e.contributors.filter((function(e){return e.userid!==t.contributorId})),isLoading:!1});case Y.r.REMOVE_CURATOR_PRO_MAGAZINE_ITEM_SUCCESS:return Object.assign({},e,{items:e.items.filter((function(e){return e.oid!==t.oid})),isLoading:!1});case Y.r.ADD_CURATOR_PRO_MAGAZINE_PIPE_SUCCESS:var s=e.pipes.concat(t.pipe);return Object.assign({},e,{pipes:s,isLoading:!1});case Y.r.DELETE_CURATOR_PRO_MAGAZINE_PIPE_SUCCESS:var l=e.pipes.filter((function(e){return e.id!==t.pipeId}));return Object.assign({},e,{pipes:l,isLoading:!1});case Y.r.CUSTOMIZE_CURATOR_PRO_MAGAZINE_ITEM_SUCCESS:return Object.assign({},e,{items:e.items.map((function(e){return e.remoteServiceItemID===(t.item&&t.item.remoteServiceItemID)?(0,ie.CJ)(t.item):e})),isLoading:!1});case Y.r.GET_CURATOR_PRO_MAGAZINE_FAILED:case Y.r.REMOVE_CURATOR_PRO_MAGAZINE_CONTRIBUTOR_FAILED:case Y.r.UPDATE_CURATOR_PRO_MAGAZINE_COVER_FAILED:case Y.r.REMOVE_CURATOR_PRO_MAGAZINE_ITEM_FAILED:case Y.r.GET_CURATOR_PRO_MAGAZINE_NEXT_ITEMS_FAILED:case Y.r.FLIP_CURATOR_PRO_MAGAZINE_URL_FAILED:case Y.r.DELETE_CURATOR_PRO_MAGAZINE_FAILED:case Y.r.ADD_CURATOR_PRO_MAGAZINE_PIPE_FAILED:case Y.r.DELETE_CURATOR_PRO_MAGAZINE_PIPE_FAILED:case Y.r.CUSTOMIZE_CURATOR_PRO_MAGAZINE_ITEM_FAILED:case Y.r.UPDATE_CURATOR_PRO_MAGAZINE_FAILED:return Object.assign({},e,{isLoading:!1});default:return e}},curatorProStoryboard:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:xe,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case Y.EQ.GET_CURATOR_PRO_STORYBOARD:return Object.assign({},e,{isLoading:!0,isLoadingSectionItems:!1,storyboard:null,section:null,sectionItems:{},items:[]});case Y.EQ.UPDATE_CURATOR_PRO_STORYBOARD:case Y.EQ.DELETE_CURATOR_PRO_STORYBOARD:case Y.EQ.INSERT_CURATOR_PRO_STORYBOARD_ITEM:case Y.EQ.UPDATE_CURATOR_PRO_STORYBOARD_ITEM:case Y.EQ.DELETE_CURATOR_PRO_STORYBOARD_ITEM:case Y.EQ.
1CREATE_CURATOR_PRO_STORYBOARD_NESTED_ITEM:case Y.EQ.SET_CURATOR_PRO_SCHEDULE:case Y.EQ.DELETE_CURATOR_PRO_SCHEDULE:return Object.assign({},e,{isLoading:!0});case Y.EQ.GET_CURATOR_PRO_STORYBOARD_SUCCESS:var r=t.flStoryboard,n=t.items,o=t.publishAt,i=t.isCampaign;return Object.assign({},e,{storyboard:ge.Z.curatorProProjection(r,o,i),items:n.map(ge.Z.storyboardChildProjection),isLoading:!1});case Y.EQ.SET_CURATOR_PRO_SCHEDULE_SUCCESS:var a=t.flStoryboard,c=t.publishAt;return Object.assign({},e,{storyboard:ge.Z.curatorProProjection(a,c),isLoading:!1});case Y.EQ.UPDATE_CURATOR_PRO_STORYBOARD_SUCCESS:return Object.assign({},e,{storyboard:ge.Z.curatorProProjection(t.flStoryboard),isLoading:!1});case Y.EQ.DELETE_CURATOR_PRO_STORYBOARD_SUCCESS:return Object.assign({},e,{storyboard:null,isLoading:!1});case Y.EQ.INSERT_CURATOR_PRO_STORYBOARD_ITEM_SUCCESS:return Object.assign({},e,{items:[].concat(Ne(e.items),[ge.Z.storyboardChildProjection(t.item)]),storyboard:Me(e.storyboard),isLoading:!1});case Y.EQ.UPDATE_CURATOR_PRO_STORYBOARD_ITEM_SUCCESS:return Object.assign({},e,{items:e.items.map((function(e){return e.id!==t.item.id?e:ge.Z.storyboardChildProjection(t.item)})),storyboard:Me(e.storyboard),isLoading:!1});case Y.EQ.UPDATE_CURATOR_PRO_STORYBOARD_NESTED_ITEM_SUCCESS:return Object.assign({},e,{items:e.items.map((function(e){return e.id!==t.groupId?e:Object.assign({},e,{children:e.children.map((function(e){return e.id!==t.item.id?e:ge.Z.storyboardChildProjection(t.item)}))})})),storyboard:Me(e.storyboard),isLoading:!1});case Y.EQ.DELETE_CURATOR_PRO_STORYBOARD_ITEM_SUCCESS:return Object.assign({},e,{items:e.items.filter((function(e){return e.id!==t.itemId})).map((function(e){return Object.assign({},e,{children:(e.children||[]).filter((function(e){return e.id!==t.itemId}))})})),storyboard:Me(e.storyboard),isLoading:!1});case Y.EQ.CREATE_CURATOR_PRO_STORYBOARD_NESTED_ITEM_SUCCESS:return Object.assign({},e,{items:e.items.map((function(e){return e.id!==t.groupId?e:Object.assign({},e,{children:[].concat(Ne(e.children||[]),[ge.Z.storyboardChildProjection(t.item)])})})),storyboard:Me(e.storyboard),isLoading:!1});case Y.EQ.MOVE_CURATOR_PRO_STORYBOARD_ITEM:var u=t.sourceGroupId,s=t.targetGroupId,l=t.itemId,f=t.targetId,p=t.append,d=e.items,m=e.storyboard;if(!m)return;var v=(0,Pe.PZ)({storyboardItems:d,storyboardId:m.id,sourceGroupId:u,targetGroupId:s,itemId:l,targetId:f,append:p});return v?we({},e,{items:v,prevItems:Ne(e.items),isLoading:!0}):e;case Y.EQ.MOVE_CURATOR_PRO_STORYBOARD_ITEM_SUCCESS:return Object.assign({},e,{isLoading:!1,prevItems:null,storyboard:Me(e.storyboard)});case Y.EQ.MOVE_CURATOR_PRO_STORYBOARD_ITEM_FAILED:return Object.assign({},e,{items:Ne(e.prevItems||[]),prevItems:null,isLoading:!1});case Y.EQ.GET_CURATOR_PRO_STORYBOARD_FEED:return Object.assign({},e,{isLoadingSectionItems:!0});case Y.EQ.GET_CURATOR_PRO_STORYBOARD_FEED_SUCCESS:var h=Ie.ZP.getFlatItems(t.items,De),_=h.reduce((function(e,t){return Object.assign({},e,je({},t.remoteServiceItemID,t))}),{});return Object.assign({},e,{section:Se.Z.projection(t.section),sectionItems:_,isLoadingSectionItems:!1});case Y.EQ.GET_CURATOR_PRO_STORYBOARD_FEED_FAILED:return Object.assign({},e,{isLoadingSectionItems:!1});case Y.EQ.GET_CURATOR_PRO_STORYBOARD_FEED_ITEM:return Object.assign({},e,{sectionItems:we({},e.sectionItems,je({},t.url,{isLoading:!0}))});case Y.EQ.GET_CURATOR_PRO_STORYBOARD_FEED_ITEM_SUCCESS:var y,b=t.section,E=t.items,g=t.url,O=Ie.ZP.getFlatItems(E,De),S=b&&Se.Z.isValid(b)?Se.Z.projection(b):null;return y=S?Object.assign({},e.sectionItems,je({},g,S)):1===O.length?Object.assign({},e.sectionItems,je({},g,O[0])):Object.assign({},e.sectionItems,je({},g,{isLoading:!1})),Object.assign({},e,{sectionItems:y});case Y.EQ.DELETE_CURATOR_PRO_SCHEDULE_SUCCESS:return Object.assign({},e,{storyboard:Object.assign({},e.storyboard,{publishAt:null,isLoading:!1})});case Y.EQ.GET_CURATOR_PRO_STORYBOARD_FAILED:case Y.EQ.UPDATE_CURATOR_PRO_STORYBOARD_FAILED:case Y.EQ.DELETE_CURATOR_PRO_STORYBOARD_FAILED:case Y.EQ.INSERT_CURATOR_PRO_STORYBOARD_ITEM_FAILED:case Y.EQ.UPDATE_CURATOR_PRO_STORYBOARD_ITEM_FAILED:case Y.EQ.DELETE_CURATOR_PRO_STORYBOARD_ITEM_FAILED:case Y.EQ.
1CREATE_CURATOR_PRO_STORYBOARD_NESTED_ITEM_FAILED:case Y.EQ.SET_CURATOR_PRO_SCHEDULE_FAILED:case Y.EQ.DELETE_CURATOR_PRO_SCHEDULE_FAILED:return Object.assign({},e,{isLoading:!1});default:return e}},homeAnalytics:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:K,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case Y.lH.GET_HOME_ANALYTICS_SUCCESS:return Object.assign({},e,{allStoryboardMetrics:t.allStoryboardMetrics,storyboardMetrics:t.storyboardMetrics,allMagazineMetrics:t.allMagazineMetrics,magazineMetrics:t.magazineMetrics,isLoading:!1});case Y.lH.GET_HOME_ANALYTICS_FAILED:return Object.assign({},e,{isLoading:!1});case Y.lH.GET_HOME_ANALYTICS:return Object.assign({},e,{isLoading:!0});default:return e}},recommendedBoards:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:He,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case Y.wF.GET_RECOMMENDED_BOARDS_PENDING:return Object.assign({},e,{isLoading:!0});case Y.wF.GET_RECOMMENDED_BOARDS_SUCCESS:return Object.assign({},e,{isLoading:!1,forYou:t.data.recommendedResults||[],editorial:t.data.editorialResults||[]});case Y.wF.GET_RECOMMENDED_BOARDS_FAILED:return Object.assign({},e,{isLoading:!1});default:return e}},directory:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:$e,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case Y.E7.DIRECTORY_SEARCH:return Ke({},e,{loading:!0,error:null,page:0});case Y.E7.DIRECTORY_SEARCH_SUCCEEDED:return Ke({},e,{loading:!1,entries:t.payload.entries,totalCount:t.payload.totalCount});case Y.E7.DIRECTORY_SEARCH_FAILED:return Ke({},e,{loading:!1,error:t.payload});case Y.E7.DIRECTORY_SET_FILTERS:return Ke({},e,{filters:Ke({},e.filters,{},t.payload)});case Y.E7.DIRECTORY_LOAD_MORE:return Ke({},e,{loading:!0});case Y.E7.DIRECTORY_LOAD_MORE_SUCCEEDED:return Ke({},e,{loading:!1,entries:[].concat(qe(e.entries),qe(t.payload.entries)),page:e.page+1});case Y.E7.DIRECTORY_LOAD_MORE_FAILED:return Ke({},e,{loading:!1});default:return e}},search:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Je,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case Y.VS.SEARCH:return Object.assign({},e,{loading:!0});case Y.VS.SEARCH_SUCCEEDED:return Object.assign({},e,{loading:!1,results:t.payload});case Y.VS.CLEAR_SEARCH:return Je;default:return e}},searchNav:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Qe,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case Y.vT.SEARCH_NAV:return Object.assign({},e,{loading:!0});case Y.vT.SEARCH_NAV_SUCCEEDED:return Object.assign({},e,{loading:!1,results:t.payload});case Y.vT.CLEAR_SEARCH_NAV:return Qe;default:return e}},sections:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:ct,t=arguments.length>1?arguments[1]:void 0,r=(0,ee.Lq)(e);switch(t.type){case Y.iL.GET_SECTION:var n=t.payload.remoteId,o=st(e.loading,n,!0);return r({loading:o});case Y.iL.GET_SECTION_SUCCEEDED:var i,a,c=t.payload,u=c.remoteId,s=c.requestedRemoteId,l=c.metadata,f=c.items,p=c.rawItems,d=c.magazines,m=c.followers,v=c.followersNextPageKey,h=c.nextPageKey,_=c.neverLoadMore,y=c.isLikesSection,b=c.ephemeral,E=c.preferMagazineContext,g=c.excludeContext,O=c.primarySectionForRoute,S=c.subSections,A=c.rootTopic,T=m&&m.map((function(e){return Se.Z.projection(e)})),R=Ie.ZP.getSectionByRemoteId(u,e.entries);if(!R||R.stale){var I=l.section;i=I&&Se.Z.projection(I,f,{isLikesSection:y,rootTopic:A}),a=d&&d.map((function(e){return Se.Z.projection(e)}))}else i=R,a=R.magazineProjections;var P=st(e.loading,s,!1);return Object.assign(ut(e,s,i,f,p,a,T,v,h,_,b,E,g,O,S),{loading:P});case Y.iL.GET_SECTION_FOLLOWERS:var C=t.payload.remoteId,w=Ie.ZP.getSectionByRemoteId(C,e.entries);if(!w)return e;var j=Object.assign({},w,{followersLoading:!0});return r({entries:Ie.ZP.updateSectionByRemoteId(j,e.entries)});case Y.iL.GET_SECTION_FOLLOWERS_SUCCEEDED:var N=t.payload,L=N.remoteId,D=N.followers,x=N.isFirstPage,M=N.followersNextPageKey,Z=Ie.ZP.getSectionByRemoteId(L,e.entries);if(!Z)return e;var U=D&&D.map((function(e){return Se.Z.projection(e)})),k=x?U:Z.followerProjections.concat(U),F=Object.assign({},Z,{followerProjections:k,followersNextPageKey:M,followersLoading:!1});return r({entries:Ie.ZP.updateSectionByRemoteId(F,e.entries)});case Y.iL.GET_SECTION_FOLLOWERS_FAILED:var G=t.payload.remoteId,B=Ie.ZP.getSectionByRemoteId(G,e.entries);if(!B)return e;var z=Object.assign({},B,{followersLoading:!1});return r({entries:Ie.ZP.updateSectionByRemoteId(z,e.entries)});case Y.iL.GET_SMART_MAGAZINE_SUCCEEDED:var V=t.payload,H=V.requestedRemoteId,q=V.metadata,W=V.items,K=V.rawItems,X=W.map((function(e){return(0,ie.CJ)(e)})),$=q.section,J=$&&Se.Z.projection($,X);return ut(e,H,J,X,K);case Y.iL.GET_SECTION_FAILED:var Q=t.payload.remoteId,te=st(e.loading,Q,!1);return r({loading:te});case Y.iL.GET_TOPIC_DESCRIPTIONS:return Object.assign({},ct,{loading:!0});case Y.iL.GET_TOPIC_DESCRIPTIONS_SUCCEEDED:var re=t.payload||[];
1return r({topicDescriptions:re});case Y.XF.SAVE_SETTINGS_SUCCESS:var ne=t.payload,oe=Ie.ZP.getUserFromUserInfo(ne),ae=oe&&oe.profileSection;if(!ae)return e;var ce=Ie.ZP.getSectionByRemoteId(ae.remoteid,e.entries);return ce?(ce=Object.assign({},ce,Se.Z.projection(ae)),r({entries:Ie.ZP.updateSectionByRemoteId(ce,e.entries)})):e;case Y.mf.REMOVE_ITEM_FROM_MAGAZINE_SUCCESS:var ue=t.payload,se=ue.oid,le=ue.target,fe=e.entries.map((function(e){if(e.magazineTarget!==le)return e;var t=e.items.filter((function(e){return e.id!==se}));return Object.assign({},e,{items:t})}));return r({entries:fe});case Y.iL.PURGE_SECTION:return r({entries:e.entries.filter((function(e){return e.remoteid!==t.remoteId}))});case Y.iL.SET_SECTION_STALE:var pe=t.payload.remoteId,de=Ie.ZP.getSectionByRemoteId(pe,e.entries);return de?r({entries:Ie.ZP.updateSectionByRemoteId(it({},de,{stale:!0}),e.entries)}):e;case Y.iL.SET_ACCESSED_AT:return r({entries:e.entries.map((function(e){return e.remoteid===t.remoteid?Object.assign(it({},e,{accessedAt:(new Date).getTime()})):e}))});case Y.iL.GET_SECTION_RELATED_SECTION_SUCCEEDED:var me=t.payload,ve=me.remoteId,he=me.relatedSectionType,_e=me.sectionId,ye=me.index,be=Ie.ZP.getSectionByRemoteId(ve,e.entries);if(!be)return e;var Ee=be.relatedSections||{},ge=(Ee[he]||[]).slice();return ge.includes(_e)?e:(null!=ye?(ge.length<=ye&&(ge=[].concat(rt(ge),rt(Array(Math.max(ye+1-ge.length,0)).fill(null)))),ge[ye]=_e):ge.push(_e),Ee=it({},Ee,at({},he,ge)),r({entries:Ie.ZP.updateSectionByRemoteId(it({},be,{relatedSections:Ee}),e.entries)}));case Y.iL.SET_TOPICS_FOR_SECTION:var Oe=t.payload,Ae=Oe.remoteId,Te=Oe.topics,Re=Ie.ZP.getSectionByRemoteId(Ae,e.entries),Pe=Object.assign({},Re,{topics:Te});return r({entries:Ie.ZP.updateSectionByRemoteId(Pe,e.entries)});case Y.iL.SET_RECOMMENDED_MAGAZINES_FOR_SECTION:var Ce=t.payload,we=Ce.remoteId,je=Ce.recommendedMagazines,Ne=Ie.ZP.getSectionByRemoteId(we,e.entries),Le=Object.assign({},Ne,{recommendedMagazines:(0,et.uniqBy)(je,"remoteid")});return r({entries:Ie.ZP.updateSectionByRemoteId(Le,e.entries)});case Y.iL.SET_SECTION_EPHEMERAL:var De=t.payload,xe=De.remoteId,Me=De.isEphemeral,Ze=Ie.ZP.getSectionByRemoteId(xe,e.entries);if(!Ze)return e;var Ue=Object.assign({},Ze,{ephemeral:Me});return r({entries:Ie.ZP.updateSectionByRemoteId(Ue,e.entries)});case Y.iL.GET_SECTION_COVERS_SUCCESS:return r({sectionCovers:it({},e.sectionCovers,{},t.sectionCovers)});case Y.US.UPDATE_MUTE_ITEM_SUCCEEDED:var ke=t.payload,Fe=ke.mutedItemID,Ge=ke.sectionRemoteid,Be=e.entries,ze=Be.map((function(e){if(e.remoteid!==Ge)return e;var t,r=Object.assign({},e),n=r.mutedItems||[];n.includes(Fe)?r.mutedItems=null===(t=r.mutedItems)||void 0===t?void 0:t.filter((function(e){return e!==Fe})):r.mutedItems=[].concat(rt(n),[Fe]);return r}));return r({entries:ze});case Y.US.MUTE_AUTHOR_SUCCEEDED:var Ve=t.payload.author,He=e.entries.map((function(e){return it({},e,{items:e.items.map((function(e){var t;return it({},e,{recentlyMuted:(null===(t=e.author)||void 0===t?void 0:t.userid)===Ve.userid||e.recentlyMuted})}))})}));return r({entries:He});case Y.US.UNMUTE_AUTHOR_SUCCEEDED:var qe=t.payload.author,We=e.entries.map((function(e){return it({},e,{items:e.items.map((function(e){var t;return it({},e,{recentlyMuted:(null===(t=e.author)||void 0===t?void 0:t.userid)!==qe.userid&&e.recentlyMuted})}))})}));return r({entries:We});case Y.US.MUTE_SOURCE_DOMAIN_SUCCEEDED:var Ye=t.payload.domain,Ke=e.entries.map((function(e){return it({},e,{items:e.items.map((function(e){return it({},e,{recentlyMuted:e.sourceDomain===Ye||e.recentlyMuted})}))})}));return r({entries:Ke});case Y.US.UNMUTE_SOURCE_DOMAIN_SUCCEEDED:var Xe=t.payload.domain,$e=e.entries.map((function(e){return it({},e,{items:e.items.map((function(e){return it({},e,{recentlyMuted:e.sourceDomain!==Xe&&e.recentlyMuted})}))})}));return r({entries:$e});case Y.US.UPDATE_MUTED_CONTENTS:var Je=e.entries.filter((function(e){return!0!==e.ephemeral}));return r({entries:Je});case Y.iL.ACCEPT_CONTRIBUTOR_INVITE_SUCCESS:var Qe=t.payload.remoteId,nt=Ie.ZP.getSectionByRemoteId(Qe,e.entries),ot=(nt.invite,tt(nt,["invite"]));return r({entries:Ie.ZP.updateSectionByRemoteId(ot,e.entries)});case Y.iL.SET_METRICS:var lt=t.payload,ft=lt.remoteid,pt=lt.metrics,dt=Ie.ZP.getSectionByRemoteId(ft,e.entries),mt=Object.assign({},dt);return mt.metrics=pt,r({entries:Ie.ZP.updateSectionByRemoteId(mt,e.entries)});default:return e}},publisher:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Ze,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case Y.$v.CREATE_PUBLISHER_PENDING:case Y.$v.GET_PUBLISHER_INFO_PENDING:return Object.assign({},e,{remoteStoreState:$.UN.LOADING,isLoading:!0});case Y.$v.CREATE_PUBLISHER_SUCCESS:case Y.$v.UPDATE_PUBLISHER_STATUS_SUCCESS:case Y.$v.GET_PUBLISHER_INFO_SUCCESS:return Object.assign({},e,{publisherInfo:t.publisher,remoteStoreState:$.UN.LOADED,isLoading:!1});case Y.$v.CREATE_PUBLISHER_FAILED:case Y.$v.GET_PUBLISHER_INFO_FAILED:return Object.assign({},e,{remoteStoreState:$.UN.FAILED,isLoading:!1});case Y.$v.GET_PUBLISHER_PIPES_SUCCESS:return Object.assign({},e,{pipes:t.pipes,isLoading:!1});case Y.$v.GET_PUBLISHER_PIPES_PENDING:return Object.assign({},e,{pipes:[],isLoading:!0});case Y.$v.GET_PUBLISHER_PIPES_FAILED:return Object.assign({},e,{pipes:[],isLoading:!1});case Y.$v.CANCEL_PUBLISHER_APPLICATION_SUCCESS:return Object.assign({},e,{publisherInfo:null});default:return e}},profile:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:ze,t=arguments.length>1?arguments[1]:void 0,r=(0,ee.Lq)(e);switch(t.type){case Y.VD.GET_PROFILE_PENDING:return r({isLoading:!0,profileLoaded:!1});case Y.VD.GET_PROFILE_SUCCESS:return r({isLoading:!1,profileLoaded:!0});case Y.VD.GET_PROFILE_INFO_SUCCESS:var n=t.data.contributorMagazines||[];return r({userInfo:Object.assign({},t.data,{privateProfile:t.data.privateProfile||!1}),magazines:t.data.magazines.map((function(e){return Se.Z.projection(e)})),contributorMagazines:n.map((function(e){return Se.Z.projection(e)})),isUserStateLoading:!1,followingIdsLoaded:!0});case Y.VD.UPDATE_FOLLOWING_IDS:return r({followingIds:Ve(e)});case Y.VD.GET_PROFILE_SMART_MAGAZINES_SUCCESS:return r({smartMagazines:t.data.map((function(t){var r=Se.Z.projection(t),n=e.smartMagazines.find((function(e){return e.remoteid===t.remoteid}));return n&&(r.image=n.image),r}))});case Y.VD.GET_SMART_MAGAZINES_COVERS_SUCCESS:return r({smartMagazines:e.smartMagazines.map((function(e){return Ge({},e,{image:e.image||t.covers[e.remoteid]})}))});case Y.VD.GET_PROFILE_COMMUNITY_GROUPS_SUCCESS:return r({communityGroups:t.data.map((function(e){return Se.Z.projection(e)}))});case Y.VD.GET_PROFILE_FOLLOWERS:return r({followersIsLoading:!0});case Y.VD.GET_PROFILE_FOLLOWERS_SUCCESS:var o=t.data,i=t.nextPageKey,a=t.isFirstPage,c=o.map((function(e){return Se.Z.projection(e)})),u=a?c:e.followers.concat(c);return r({followers:u,followersNextPageKey:i,followersIsLoading:!1});case Y.VD.GET_PROFILE_FOLLOWERS_FAILED:return r({followersIsLoading:!0});case Y.VD.GET_PROFILE_STATS_SUCCESS:return r({stats:t.data});case Y.VD.GET_FAVORITES_SUCCESS:return r({favorites:t.data.map((function(e){return Se.Z.projection(e)})),carouselVersion:t.version});case Y.VD.ADD_CAROUSEL_FAVORITE_PENDING:return r({favoritesUpdating:!0});case Y.VD.ADD_CAROUSEL_FAVORITE_SUCCESS:return r({favoritesUpdating:!1,carouselVersion:t.version});case Y.VD.ADD_CAROUSEL_FAVORITE_FAILURE:return r({favoritesUpdating:!1});case Y.VD.SET_RECENTLY_PERSONALIZED_TOPIC:return r(t.payload);case Y.VD.MOVE_CAROUSEL_FAVORITE_PENDING:var s=e.favorites.filter((function(e){return e.dynamicFeed})),l=e.favorites.filter((function(e){return!e.dynamicFeed}));return l.splice(t.toIndex,0,l.splice(t.fromIndex,1)[0]),r({favorites:s.concat(l),favoritesUpdating:!0,previousFavorites:e.favorites});case Y.VD.MOVE_CAROUSEL_FAVORITE_SUCCESS:return r({carouselVersion:t.version,favoritesUpdating:!1,previousFavorites:[]});case Y.VD.MOVE_CAROUSEL_FAVORITE_FAILURE:return r({favoritesUpdating:!1,favorites:e.previousFavorites});case Y.VD.DELETE_SMART_MAGAZINE_SUCCESS:return r({smartMagazines:e.smartMagazines.filter((function(e){return e.boardId!==t.boardId}))});case Y.VD.DELETE_CAROUSEL_FAVORITE_PENDING:return r({favoritesUpdating:!0});case Y.VD.DELETE_CAROUSEL_FAVORITE_FAILURE:return r({favoritesUpdating:!1});case Y.VD.DELETE_CAROUSEL_FAVORITE_SUCCESS:return r({favorites:e.favorites.filter((function(e){return e.remoteid!==t.sectionId})),favoritesUpdating:!1,carouselVersion:t.version});case Y.VD.ADD_SMART_MAGAZINE_CAROUSEL_SUCCESS:var f=e.favorites.map((function(e){return e.remoteid===t.remoteid?Ge({},e,{isNewFavorite:!0}):e}));return r({favorites:f});case Y.mf.CREATE_MAGAZINE_SUCCESS:var p=[t.magazine].concat(Ue(e.magazines));return r({magazines:p});case Y.VD.GET_PROFILE_INFO:return r({isUserStateLoading:!0});case Y.VD.FOLLOW_SECTION:var d=t.remoteIds;return r({followingStale:!0,followingIds:e.followingIds.concat(d)});case Y.VD.UNFOLLOW_SECTION:return r({followingStale:!0,followingIds:e.followingIds.filter((function(e){return e!==t.remoteId}))});case Y.VD.GET_FOLLOWING_SUCCESS:return r(Ge({followingLoaded:!0,followingStale:!1,followingLoading:!1},t.payload));case Y.VD.GET_FOLLOWING_SAMPLE_SUCCESS:return r(Ge({followingSampleLoaded:!0,followingStale:!1,followingLoading:!1},t.payload));case Y.r.DELETE_CURATOR_PRO_MAGAZINE_SUCCESS:return Object.assign({},e,{magazines:e.magazines.filter((function(e){return e.magazineTarget!==t.magazineTarget}))});case Y.VD.GET_FOLLOWING:case Y.yi.ADD_POST_ONBOARDING_SOCIAL_ACTION:return r(t.payload);default:return e}},settings:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:lt,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case Y.XF.SAVE_SETTINGS_PENDING:return Object.assign({},e,{saveState:$.SN.PENDING});case Y.XF.SAVE_SETTINGS_SUCCESS:return Object.assign({},e,{saveState:$.SN.SUCCEEDED});case Y.XF.SAVE_SETTINGS_FAILED:return Object.assign({},e,{saveState:$.SN.FAILED});case Y.XF.RESET_SETTINGS_SAVE_STATE:return Object.assign({},e,{saveState:$.SN.NONE});default:return e}},profileAnalytics:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:ft,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case Y.lH.GET_PROFILE_STORYBOARD_ANALYTICS_SUCCEESS:return Object.assign({},e,{storyboard:Object.assign({isLoading:!1},t.metrics)});case Y.lH.GET_PROFILE_STORYBOARD_ANALYTICS_FAILED:return Object.assign({},e,{storyboard:Object.assign({},e.storyboard,{isLoading:!1})});case Y.lH.GET_PROFILE_STORYBOARD_ANALYTICS:return Object.assign({},e,{storyboard:Object.assign({},e.storyboard,{isLoading:!0})});default:return e}},storyboardAnalytics:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:mt,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case Y.lH.GET_STORYBOARD_ANALYTICS_SUCCESS:var r=t.sectionItems?t.sectionItems.map((function(e){return(0,ie.CJ)(e)})):[],n=r.find((function(e){return e.isSectionCover}));return Object.assign({},e,{sectionMetrics:t.sectionMetrics&&t.sectionMetrics.metrics,dimensionsMetrics:t.dimensionsMetrics&&t.dimensionsMetrics.metrics,itemMetrics:t.itemMetrics&&dt()(t.itemMetrics,["position"]),section:Se.Z.projection(t.section),sectionCover:n,isLoading:!1});case Y.lH.GET_STORYBOARD_ANALYTICS_FAILED:return Object.assign({},e,{isLoading:!1});case Y.lH.GET_STORYBOARD_ANALYTICS:return Object.assign({},e,{isLoading:!0});case Y.lH.CLEAR_STORYBOARD_ANALYTICS:return Object.assign({},mt);default:return e}},magazineAnalytics:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:vt,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case Y.lH.GET_MAGAZINE_ANALYTICS_SUCCESS:var r=t.sectionItems?t.sectionItems.map((function(e){return(0,ie.CJ)(e)})):[],n=r.find((function(e){return e.isSectionCover}));return Object.assign({},e,{sectionMetrics:t.sectionMetrics&&t.sectionMetrics.metrics,dimensionsMetrics:t.dimensionsMetrics&&t.dimensionsMetrics.metrics,itemMetrics:t.itemMetrics&&dt()(t.itemMetrics,["position"]),section:Se.Z.projection(t.section),sectionCover:n,isLoading:!1});case Y.lH.GET_MAGAZINE_ANALYTICS_FAILED:return Object.assign({},e,{isLoading:!1});case Y.lH.GET_MAGAZINE_ANALYTICS:return Object.assign({},e,{isLoading:!0});case Y.lH.CLEAR_MAGAZINE_ANALYTICS:return Object.assign({},vt);default:return e}},toast:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:ht,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case Y.NN.SHOW_INFO:var r=t.props;return Object.assign({},e,{style:$.kY.INFO,props:r});case Y.NN.SHOW_ERROR:var n=t.props;return Object.assign({},e,{style:$.kY.ERROR,props:n});case Y.NN.DISMISS:return Object.assign({},ht);default:return e}},emailSettings:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:gt,t=arguments.length>1?arguments[1]:void 0,r=(0,ee.Lq)(e);switch(t.type){case Y.DG.GET_EMAIL_CONFIG_SUCCEEDED:var n,o,i,a=(null==t||null===(n=t.payload)||void 0===n||null===(o=n.groups)||void 0===o?void 0:o.groups)||(null==t||null===(i=t.payload)||void 0===i?void 0:i.groups);return r({groups:a,groupsLoaded:!0});case Y.DG.GET_EMAIL_SETTINGS:return r({statesLoaded:!1});case Y.DG.GET_EMAIL_SETTINGS_SUCCEEDED:var c=t.payload.states;return r({states:c,statesLoaded:!0});case Y.DG.SET_PRESELECT_UNSUBSCRIBE_COMPLETE:return r(t.payload);case Y.DG.SAVE_EMAIL_SETTINGS_PENDING:return r({saveState:$.SN.PENDING});case Y.DG.SAVE_EMAIL_SETTINGS_SUCCEEDED:return r({saveState:$.SN.SUCCEEDED});case Y.DG.SAVE_EMAIL_SETTINGS_FAILED:return r({saveState:$.SN.FAILED});case Y.DG.RESET_EMAIL_SETTINGS_SAVE_STATE:return r({saveState:$.SN.NONE});case Y.DG.SET_EMAIL_FROM_CODE:return r(t.payload);case Y.DG.SET_PRESELECT_SUBSCRIPTION:var u=t.payload,s=e.groups.map((function(e){return e.name===u.groupType?yt({},e,{subscriptions:e.subscriptions.map((function(e){return e.key===u.subscriptionKey?yt({},e,{isSubscribed:!0}):e}))}):e}));return yt({},e,{groups:s});default:return e}},flipMode:Pt,blocking:wt,newsLettersLanding:jt,sitemap:Nt.I6,campaigns:Dt.I,featureFlags:Lt.I6,accessorySections:xt.I6,sharedLinkData:Mt.I6,socialActivity:Zt.I6,comments:Ut.I6,userFeatures:kt.I6,magazineInvite:Ft.I6,notifications:Gt.I6,onboarding:Bt.I6,magazineSubscriptions:zt.I6}),Ht=Vt,qt=r(51440);function Wt(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var Yt=(0,qt.K3)(),Kt={};void 0!==(0,v.Z)()&&(0,v.Z)().__PRELOADED_STATE__&&(Kt=(0,v.Z)().__PRELOADED_STATE__,l.Z.isDevelopment||delete(0,v.Z)().__PRELOADED_STATE__);var Xt="undefined"!=typeof window&&(0,v.Z)().__REDUX_DEVTOOLS_EXTENSION_COMPOSE__||_.qC,$t=[y.Z.withExtraArgument({t:Yt,auth:q.Z,content:k,flap:g.Z,flapStatic:O.Z,flavour:D,flout:z,publisher:V.Z,sitemap:H.Z,signedMediaCookie
1s:n})];l.Z.isDevelopment&&$t.push(E());var Jt,Qt=Xt.apply(void 0,function(e){if(Array.isArray(e))return Wt(e)}(Jt=$t.map((function(e){return(0,_.md)(e)})))||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(Jt)||function(e,t){if(e){if("string"==typeof e)return Wt(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Wt(e,t):void 0}}(Jt)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),er=(0,_.MT)(Ht,Kt,Qt);l.Z.isProduction||((0,v.Z)().$store=er);var tr=er,rr=r(35616),nr=r(31298),or=r(83981),ir=r(41626),ar=r(46874),cr=r(23115),ur=r(91853),sr=r(21681),lr=(r(73439),r(35666),r(31975)),fr=r(39768),pr=r(23030);function dr(e,t,r,n,o,i,a){try{var c=e[i](a),u=c.value}catch(e){return void r(e)}c.done?t(u):Promise.resolve(u).then(n,o)}var mr=(0,lr.Z)("FlipComposeModal"),vr=(r(88233),r(96928),r(61229),r(72779)),hr=r.n(vr),_r=r(66263),yr=r(57819);function br(e){if((0,v.Z)()){var t=(0,v.Z)().document.body;return e===$.SJ.DARK?t.classList.add("theme--dark"):t.classList.remove("theme--dark")}}var Er=r(43734),gr=r(21112),Or=r(44158),Sr=r(53122),Ar=r(69028),Tr=r(83565),Rr=r(32220),Ir=r(90068);r(16781);var Pr=r(17698),Cr=r(91588),wr=r(49412),jr=r(35471),Nr=r(45697),Lr=r.n(Nr),Dr=r(11826),xr=r(12167),Mr=r(49372),Zr=r(90856),Ur=r(32707),kr=r(17394),Fr=r(70042),Gr=r(26626),Br=r(58123),zr=r(48758),Vr=r(61803),Hr=r(37757),qr=r(60986),Wr={actions:{refreshForYou:ar.JG}},Yr=r(52322),Kr=(0,xr.Z)(Br.Z,{shouldForwardProp:function(e){return"isAuthenticated"!==e},target:"e1hamcbb0"})((function(e){return{position:"relative",display:"inline-flex",alignSelf:"center",alignItems:"center",height:"60px",marginLeft:e.isAuthenticated?"0":Mr.N.MEDIUM,a:{display:"inherit",alignItems:"center"}}}),"");function Xr(e){var t=e.isAmp,r=e.isAuthenticated,n=e.isLargeScreen,o=e.refreshForYou,i=e.t,a="production"===l.Z.environment;return(0,Yr.jsx)(Kr,{href:"/",onClick:function(){r&&o();var e=n?"logo (desktop)":"logo (mobile)";_r.Z.trackNavbarEvent(_r.a.CLICK,e)},className:"media-link",navFromEventName:J.f2.SECTION_ENTER,isAuthenticated:r,title:i("flipboard_logo_go_to_tooltip"),children:r?(0,Yr.jsx)(zr.Z,{height:30,showAmpBadge:!a&&t,toolTip:i("flipboard_home")}):(0,Yr.jsx)(Vr.Z,{height:30,showAmpBadge:!a&&t,toolTip:i("flipboard_home")})})}Xr.propTypes={isAmp:Lr().bool,isAuthenticated:Lr().bool.isRequired,isLargeScreen:Lr().bool.isRequired,refreshForYou:Lr().func.isRequired,t:Lr().func.isRequired},Xr.defaultProps={isAmp:!1};var $r=(0,Ir.Z)(qr.Z,Wr)((0,Hr.Z)(Xr)),Jr=r(4067),Qr=r(47897),en=r.n(Qr),tn=r(43057);function rn(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function nn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function on(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var an=(0,xr.Z)(tn.Z,{target:"ez9tmes0"})((function(e){return{color:e.color||Zr.MN.emphasis,fill:"currentColor"}}),"");function cn(e){var t=e.size,r=on(e,["size"]);return(0,Yr.jsx)(an,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?rn(Object(r),!0).forEach((function(t){nn(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):rn(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({name:"bell",width:t,height:t,viewBox:"0 0 24 24"},r,{renderComponent:function(){return(0,Yr.jsx)(Yr.Fragment,{children:(0,Yr.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.5 2C5.80558 2 2 5.80558 2 10.5C2 15.1944 5.80558 19 10.5 19C12.3963 19 14.1476 18.379 
115.5616 17.3293L19.1161 20.8839C19.6043 21.372 20.3957 21.372 20.8839 20.8839C21.372 20.3957 21.372 19.6043 20.8839 19.1161L17.3293 15.5616C18.379 14.1476 19 12.3963 19 10.5C19 5.80558 15.1944 2 10.5 2ZM4 10.5C4 6.91015 6.91015 4 10.5 4C14.0899 4 17 6.91015 17 10.5C17 14.0899 14.0899 17 10.5 17C6.91015 17 4 14.0899 4 10.5Z",fill:"currentColor"})})}}))}cn.propTypes={size:en().number,t:en().func.isRequired},cn.defaultProps={size:24};var un=(0,Hr.Z)(cn),sn=r(36188),ln=r(97286),fn=r(82706);function pn(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function dn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function mn(e){var t=e.isAmp,r=e.forwardedRef,n=e.onClick,o=e.isAuthenticated,i=e.isLargeScreen,a=e.isPhone,c=e.t;return t?null:o||!i?(0,Yr.jsx)("li",{children:(0,Yr.jsxs)(ln.K,{name:"navbar-search-icon",onClick:n,stopPropagation:!1,children:[(0,Yr.jsx)(un,{toolTip:c("search")}),!a&&(0,Yr.jsx)("span",{children:c("search")})]})}):(0,Yr.jsx)("li",{className:"main-nav__search-input-wrapper",ref:r,children:(0,Yr.jsx)(sn.Z,{name:"navbar-search-input",onClick:n,stopPropagation:!1,children:(0,Yr.jsx)(Jr.Z,{tabIndex:-1,name:"searchNav",placeholder:c("search_flipboard"),icon:Jr.S.SEARCH})})})}mn.propTypes={isAmp:Lr().bool,forwardedRef:Lr().object,onClick:Lr().func,isLargeScreen:Lr().bool.isRequired,isPhone:Lr().bool.isRequired,isAuthenticated:Lr().bool.isRequired,t:Lr().func.isRequired},mn.defaultProps={isAmp:!1};var vn=(0,Ir.Z)(fn.Z,qr.Z)((0,Hr.Z)(mn)),hn=o.forwardRef((function(e,t){return(0,Yr.jsx)(vn,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?pn(Object(r),!0).forEach((function(t){dn(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):pn(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},e,{forwardedRef:t}))})),_n=r(93039),yn=r(13372),bn=r(34537),En=r(66977),gn=r(39285),On=r(19654);function Sn(e){return Sn="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},Sn(e)}function An(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Tn(e,t){return Tn=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},Tn(e,t)}function Rn(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 r,n=Pn(e);if(t){var o=Pn(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return In(this,r)}}function In(e,t){return!t||"object"!==Sn(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function Pn(e){return Pn=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},Pn(e)}var Cn=(0,lr.Z)("SignupButtonCtaAnchoredDialog"),wn=(0,xr.Z)("li",{target:"et2c11u0"})({marginLeft:Mr.N.LARGE},""),jn=function(e){!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&&Tn(e,t)}(a,e);var t,r,n,i=Rn(a);function a(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),(t=i.call(this,e)).signUpButtonElement=o.createRef(),t}return t=a,r=[{key:"render",value:function(){var e=this.props,t=e.isLargeScreen,r=e.isDesktop,n=e.isFromBranchInvite,i=e.isNewslettersRoute,a=e.magazineInvite,c=e.featureFlags,u=e.t,s=t?[Gr._Z.INVERSE]:[];return(0,Yr.jsxs)(o.Fragment,{children:[!n&&!i&&!r&&(0,Yr.jsx)("li",{children:(0,Yr.jsx)(yn.Z,{name:"main-nav-get-app-cta",styleModifier:s})}),t&&!a.token&&(0,Yr.jsx)("li",{children:(0,Yr.jsxs)("div",{className:"anchored-dialog-menu__wrapper",ref:this.signUpButtonElement,children:[(0,Yr.jsx)(bn.Z,{name:"main-nav-signup-cta",styleVariation:Gr.NV.PRIMARY,displayStyle:J.co.NAV_BAR,label:(0,_n.Z)(u("sign_up"))}
1),!c.TOPIC_PICKER_CTA&&(0,Yr.jsx)(Cn,{targetRef:this.signUpButtonElement})]})}),t&&(0,Yr.jsx)(wn,{children:(0,Yr.jsx)(En.Z,{name:"main-nav-login"})})]})}}],r&&An(t.prototype,r),n&&An(t,n),a}(o.Component);jn.propTypes={isLargeScreen:Lr().bool.isRequired,isDesktop:Lr().bool.isRequired,isFromBranchInvite:Lr().bool.isRequired,isNewslettersRoute:Lr().bool.isRequired,magazineInvite:Lr().shape({token:Lr().string}).isRequired,featureFlags:Lr().object,t:Lr().func.isRequired};var Nn=(0,Ir.Z)(qr.Z,gn.Z,On.Z)((0,Hr.Z)(jn)),Ln=r(32079),Dn=r(5109),xn=r(37236),Mn=r(87411),Zn=r(84694),Un=r(68869);function kn(e){return kn="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},kn(e)}function Fn(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Gn(e,t){return Gn=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},Gn(e,t)}function Bn(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 r,n=Hn(e);if(t){var o=Hn(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return zn(this,r)}}function zn(e,t){return!t||"object"!==kn(t)&&"function"!=typeof t?Vn(e):t}function Vn(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Hn(e){return Hn=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},Hn(e)}var qn=(0,xr.Z)("div",{target:"e1ssozq10"})({display:"flex",justifyContent:"flex-end",columnGap:"".concat(Mr.N.MEDIUM),marginTop:"".concat(Mr.N.MEDIUM)},""),Wn=function(e){!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&&Gn(e,t)}(i,e);var t,r,n,o=Bn(i);function i(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),(t=o.call(this,e)).state={display:!1},t.handleDismiss=t.handleDismiss.bind(Vn(t)),t.updateVisibility=t.updateVisibility.bind(Vn(t)),t}return t=i,r=[{key:"componentDidMount",value:function(){this.updateVisibility()}},{key:"componentDidUpdate",value:function(e){!e.currentUser&&this.props.currentUser&&this.updateVisibility()}},{key:"updateVisibility",value:function(){var e=this.props,t=e.currentUser,r=e.currentUserVerified,n=e.dismissedCookieName;this.setState({display:t&&!r&&!(0,Sr.Do)(n)})}},{key:"handleDismiss",value:function(){this.setState({display:!1}),this.props.onDismiss(),(0,Sr.d7)(this.props.dismissedCookieName,!0)}},{key:"render",value:function(){var e=this.props,t=e.copy,r=e.redisplayCopy,n=e.redisplay,o=e.t,i=e.isWideLargeScreen,a=n?Mn.ZP.styleVariations.MENU:Mn.ZP.styleVariations.EDU;i||(a=Mn.ZP.styleVariations.FULL_WIDTH);var c=i?[Mn.ZP.styleModifiers.WIDE]:[];return(n||this.state.display)&&(0,Yr.jsx)(Mn.ZP,{targetRef:this.props.targetRef,fixed:!0,styleVariation:a,styleModifiers:c,positionX:Mn.A0.RIGHT,positionY:Mn.fp.BELOW,onClickOutside:this.handleDismiss,children:(0,Yr.jsxs)("div",{children:[(0,Yr.jsx)("p",{children:n?r:t}),(0,Yr.jsxs)(qn,{children:[(0,Yr.jsx)(Zn.Z,{name:"verify-account-cta-resend-email",styleVariation:n?Gr.NV.NONE:Gr.NV.WHITE_OVERLAY,onResendEmail:this.handleDismiss}),!n&&(0,Yr.jsx)(Gr.ZP,{name:"verify-account-cta-dismiss",styleVariation:Gr.NV.PRIMARY,onClick:this.handleDismiss,children:o("unverified_edu_got_it")})]})]})})}}],r&&Fn(t.prototype,r),n&&Fn(t,n),i}(o.Component);Wn.propTypes={dismissedCookieName:Lr().string.isRequired,targetRef:Lr().object,t:Lr().func.isRequired,resendConfirmation:Lr().func.isRequired,currentUser:Lr().object,currentUserVerified:Lr().bool.isRequired,redisplay:Lr().bool,copy:Lr().string.isRequired,redisplayCopy:Lr().string,onDismiss:Lr().func,isWideLargeScreen:Lr().bool.isRequired},Wn.defaultProps={currentUser:null,redisplay:!1,redisplayCopy:"",onDismiss:xn.h};var Yn=(0,Ir.Z)(qr.Z,Ln.Z,fn.Z,Un.Z)((0,Hr.Z)(Wn));function Kn(e){return Kn="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},Kn(e)}function Xn(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}
1function $n(e,t){return $n=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},$n(e,t)}function Jn(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 r,n=to(e);if(t){var o=to(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return Qn(this,r)}}function Qn(e,t){return!t||"object"!==Kn(t)&&"function"!=typeof t?eo(e):t}function eo(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function to(e){return to=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},to(e)}var ro=(0,xr.Z)("div",{target:"eep1ry34"})({backgroundColor:"".concat(Zr.EU.tertiary),padding:"".concat(Mr.N.BASE," ").concat(Mr.N.MEDIUM),display:"flex",alignItems:"center",columnGap:"".concat(Mr.N.BASE),whiteSpace:"nowrap"},""),no=(0,xr.Z)("span",{target:"eep1ry33"})(Dn.Hb.SMALL_STANDARD,{marginRight:"".concat(Mr.N.SMALL)},""),oo=(0,xr.Z)("span",{target:"eep1ry32"})(Dn.Hb.SMALL_STANDARD,{color:"".concat(Zr.bo.primary)},""),io=(0,xr.Z)("div",{target:"eep1ry31"})({display:"inline-block",width:"18px",height:"18px",borderRadius:"18px",backgroundColor:"".concat(Zr.N$.warning)},""),ao=function(e){!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&&$n(e,t)}(a,e);var t,r,n,i=Jn(a);function a(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),(t=i.call(this,e)).state={redisplay:!1},t.handleClick=t.handleClick.bind(eo(t)),t.handleDismiss=t.handleDismiss.bind(eo(t)),t.statusElement=o.createRef(),t}return t=a,r=[{key:"handleClick",value:function(e){e.preventDefault(),this.setState({redisplay:!0})}},{key:"handleDismiss",value:function(){this.setState({redisplay:!1})}},{key:"render",value:function(){var e=this.props,t=e.currentUserVerified,r=e.t,n=e.isWideLargeScreen,i=e.featureFlags,a=this.state.redisplay,c=(0,xr.Z)("div",{target:"eep1ry30"})({textAlign:"center",padding:"".concat(Mr.N.LARGE),borderBottom:"1px solid ".concat(Zr.EU.secondary)},""),u=i.UNVERIFIED_MESSAGING?"confirm_your_email":"account_status_value_unverified",s=(0,Yr.jsxs)(o.Fragment,{children:[(0,Yr.jsx)(sn.Z,{onClick:this.handleClick,name:"account-status",children:(0,Yr.jsxs)(ro,{ref:this.statusElement,children:[(0,Yr.jsxs)("div",{children:[(0,Yr.jsx)(no,{children:"".concat(r("account_status_label"),":")}),(0,Yr.jsx)(oo,{children:r(t?"account_status_value_verified":u)})]}),!t&&(0,Yr.jsx)(io,{})]})}),(0,Yr.jsx)(Yn,{targetRef:this.statusElement,dismissedCookieName:"dismissed_profile_header_unverified_account_cta",copy:r("unverified_edu_profile_header_copy"),redisplayCopy:r("unverified_edu_profile_header_redisplayed_copy"),redisplay:a,onDismiss:this.handleDismiss})]});return n?s:(0,Yr.jsx)(c,{children:s})}}],r&&Xn(t.prototype,r),n&&Xn(t,n),a}(o.Component);ao.propTypes={currentUser:Lr().object,currentUserVerified:Lr().bool.isRequired,t:Lr().func.isRequired,isWideLargeScreen:Lr().bool.isRequired,featureFlags:Lr().object.isRequired},ao.defaultProps={currentUser:null};var co=(0,Ir.Z)(Ln.Z,qr.Z,On.Z)((0,Hr.Z)(ao)),uo=r(50666);function so(e){var t=e.showAccountVerificationStatus,r=e.isWideLargeScreen;return t&&r&&(0,Yr.jsx)(co,{})||null}so.propTypes={showAccountVerificationStatus:Lr().bool.isRequired,isWideLargeScreen:Lr().bool.isRequired};var lo=(0,Ir.Z)(uo.Z,qr.Z)(so),fo=r(9665),po=r(8225),mo=r(67229);function vo(e){return vo="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},vo(e)}function ho(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}
1function _o(e,t){return _o=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},_o(e,t)}function yo(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 r,n=go(e);if(t){var o=go(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return bo(this,r)}}function bo(e,t){return!t||"object"!==vo(t)&&"function"!=typeof t?Eo(e):t}function Eo(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function go(e){return go=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},go(e)}function Oo(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function So(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Oo(Object(r),!0).forEach((function(t){Ao(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Oo(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Ao(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var To=(0,lr.Z)("SearchModal"),Ro=(0,lr.Z)("FavoritesMenuModal"),Io=(0,lr.Z)("FavoritesMenu"),Po=(0,lr.Z)("NavbarMoreMenu"),Co=(0,lr.Z)("LoggedInButtons"),wo=(0,xr.Z)("ul",{target:"e1tlqap12"})({display:"flex",gap:Mr.N.LARGE,alignItems:"center",justifyContent:"flex-end","> li":{display:"inline-flex",cursor:"pointer","> a":{display:"inline-flex"}}},""),jo=(0,xr.Z)("nav",{target:"e1tlqap11"})((function(e){var t=e.props,r=So({width:"100%",height:Ur.L6.MAIN_NAV_HEIGHT,padding:"0 ".concat(Mr.N.LARGE," 0 0"),position:"relative",display:"grid",gridTemplateRows:"".concat(Ur.L6.MAIN_NAV_HEIGHT),gridGap:Mr.N.MEDIUM,backgroundColor:Zr.EU.primary,borderBottom:"1px solid ".concat(Zr.M1.primary),zIndex:Ur.k0.MAIN_NAV,gridTemplateColumns:"".concat(Ur.L6.MAIN_NAV_HEIGHT," 1fr auto")},kr.j.desktopUp({paddingRight:Mr.N.XLARGE})),n=(null==t?void 0:t.isLargeScreen)&&!(null!=t&&t.currentUserVerified)?{gridTemplateColumns:"".concat(Ur.L6.MAIN_NAV_HEIGHT," 1fr auto")}:{},o=null!=t&&t.isAuthenticated?n:So({gridTemplateColumns:"auto auto"},kr.j.smallPhone({gridTemplateColumns:"136px auto",gridGap:"0"}));return So({},r,{},o)}),""),No=(0,xr.Z)("header",{target:"e1tlqap10"})((function(e){return 0===(null==e?void 0:e.googleAdVisibility)?{position:"sticky",top:"0",zIndex:Ur.k0.MAIN_NAV}:{}}),""),Lo=function(e){!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&&_o(e,t)}(a,e);var t,r,n,i=yo(a);function a(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),(t=i.call(this,e)).state={showProfileMenu:!1,showFavoritesMenu:!1},t.searchContainer=o.createRef(),t.handleSearchClick=t.handleSearchClick.bind(Eo(t)),t.handleProfileMenuClick=t.handleProfileMenuClick.bind(Eo(t)),t.handleFavoritesMenuClick=t.handleFavoritesMenuClick.bind(Eo(t)),t.renderFavorites=t.renderFavorites.bind(Eo(t)),t.renderLoggedInButtons=t.renderLoggedInButtons.bind(Eo(t)),t}return t=a,r=[{key:"componentDidMount",value:function(){(0,this.props.usageTrackDisplayOpenInAppButton)()}},{key:"getSearchPosition",value:function(){return this.searchContainer&&this.searchContainer.current&&this.searchContainer.current.getBoundingClientRect()||null}},{key:"handleSearchClick",value:function(){var e=this.props.isLargeScreen?Fr.J9.DROPDOWN:Fr.J9.FULLSCREEN;this.props.showModal(To,{autoFocus:!this.props.isPhone,variant:e,modifier:Fr.nY.HAS_FIXED_HEADER,position:this.getSearchPosition()})}},{key:"handleProfileMenuClick",value:function(){this.setState({showProfileMenu:!this.state.showProfileMenu})}},{key:"handleFavoritesMenuClick",value:function(){(0,this.props.showModal)(Ro,{modifier:Fr.nY.HAS_FIXED_HEADER})}},{key:"renderFavorites",value:function(){var e=this.props,t=e.isAuthenticated,r=e.currentSection,n=e.isLargeScreen;
1return t?n?(0,Yr.jsx)(Io,{currentSection:r}):(0,Yr.jsx)(Po,{onClick:this.handleFavoritesMenuClick}):null}},{key:"renderLoggedInButtons",value:function(){return(0,Yr.jsx)(Co,{profileSection:this.props.profileSection,onProfileMenuClick:this.handleProfileMenuClick,isProfileMenuOpen:this.state.showProfileMenu,showModal:this.props.showModal,refreshBanners:this.props.refreshBanners,setAppThemeOverride:this.props.setAppThemeOverride})}},{key:"render",value:function(){var e=this.props,t=e.isAmp,r=e.isAuthenticated,n=e.t,o=e.isWideLargeScreen,i=e.googleAdVisibility,a=e.hideMainNavCTAs;return(0,Yr.jsx)(h.nN.Provider,{value:J.rf.NAV_BAR,children:(0,Yr.jsx)(No,{googleAdVisibility:i,children:(0,Yr.jsxs)(jo,{props:this.props,children:[(0,Yr.jsx)($r,{isAmp:t,isAuthenticated:r}),r&&this.renderFavorites(),(!a||r)&&(0,Yr.jsxs)(wo,{children:[!r&&o&&(0,Yr.jsx)(Gr.ZP,{name:"newsletters",href:"/newsletters",tooltip:n("newsletters_sign_up_tooltip"),styleModifier:[Gr._Z.NO_LEFT_PADDING,Gr._Z.NO_RIGHT_PADDING],children:n("newsletters_link")}),(0,Yr.jsx)(lo,{}),(0,Yr.jsx)(hn,{isAmp:this.props.isAmp,isAuthenticated:this.props.isAuthenticated,onClick:this.handleSearchClick,ref:this.searchContainer}),r?this.renderLoggedInButtons():(0,Yr.jsx)(Nn,{navAppStoreUrl:this.props.navAppStoreUrl})]})]})})})}}],r&&ho(t.prototype,r),n&&ho(t,n),a}(o.Component);Lo.propTypes={navAppStoreUrl:Lr().string.isRequired,isAmp:Lr().bool,profileSection:Lr().object,setAppThemeOverride:Lr().func.isRequired,isLargeScreen:Lr().bool.isRequired,isWideLargeScreen:Lr().bool.isRequired,isPhone:Lr().bool.isRequired,showModal:Lr().func.isRequired,dismissModal:Lr().func.isRequired,refreshBanners:Lr().func.isRequired,usageTrackDisplayOpenInAppButton:Lr().func.isRequired,googleAdVisibility:Lr().number,isAuthenticated:Lr().bool.isRequired,currentUserVerified:Lr().bool.isRequired,currentSection:Lr().object,t:Lr().func.isRequired,hasFlipModeFeature:Lr().bool.isRequired,hideMainNavCTAs:Lr().bool.isRequired},Lo.defaultProps={isAmp:!1,profileSection:null,googleAdVisibility:0};var Do=(0,Ir.Z)(Ln.Z,po.Z,fo.Z,Un.Z,qr.Z,fn.Z,mo.Z)((0,Hr.Z)(Lo)),xo=(0,c.$j)((function(e){var t=e.app,r=e.auth,n=e.sections,o=Ie.ZP.getRemoteidByUserid(r.uid),i=Ie.ZP.getSectionByRemoteId(o,n.entries),a=(0,Dr.YR)(t.routing.params),c=a?Ie.ZP.getSectionByRemoteId(a,n.entries):null;return{hideMainNavCTAs:t.hideMainNavCTAs,currentSection:c,profileSection:i,navAppStoreUrl:t.navAppStoreUrl,googleAdVisibility:t.googleAdVisibility}}),(function(e){return(0,_.DE)({refreshBanners:ir.w4,setAppThemeOverride:ir.Z$,usageTrackDisplayOpenInAppButton:sr.Gt},e)}))(Do),Mo=xo,Zo=r(78235),Uo=(0,c.$j)((function(e){return{breadcrumbs:e.app.breadcrumbs}}))(Zo.Z),ko=r(97584),Fo=r(27746),Go=r(29529),Bo=r(51969);function zo(e){return zo="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},zo(e)}function Vo(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ho(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function qo(e,t){return qo=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},qo(e,t)}function Wo(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 r,n=Xo(e);if(t){var o=Xo(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return Yo(this,r)}}function Yo(e,t){return!t||"object"!==zo(t)&&"function"!=typeof t?Ko(e):t}function Ko(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Xo(e){return Xo=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},Xo(e)}function $o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Jo=(0,xr.Z)("div",{target:"e14kptj70"})({padding:"".concat(Mr.N.LARGE," ").concat(Mr.N.LARGE," 0")},""),Qo=function(e){!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&&qo(e,t)}(i,e);var t,r,n,o=Wo(i);function i(){var e;Vo(this,i);for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return $o(Ko(e=o.call.apply(o,[this].concat(r))),"shouldRender",(function(){var t=e.props,r=t.isAmp,n=t.featureFlags,o=t.adPageType;return!r&&!!o&&(0,Go.Be)(n)})),$o(Ko(e),"applyPageTargeting",(function(){if(e.shouldRender()){var t=e.props,r=t.adPageType,n=t.adTopicSlug;(0,Bo.pf)({page_type:r,topic_slug:n})}})),e}return t=i,(r=[{key:"componentDidMount",value:function(){this.applyPageTargeting()}},{key:"componentDidUpdate",value:function(e){e.adPageType===this.props.adPageType&&e.adTopicSlug===this.props.adTopicSlug||this.applyPageTargeting()}},{key:"render",value:function(){if(!this.shouldRender())return null;var e=this.props,t=e.adPageType,r=e.adTopicSlug,n={};return t&&(n.page_type=t),r&&(n.topic_slug=r),(0,Yr.jsx)(Jo,{children:(0,Yr.jsx)(Fo.ZP,{name:"leaderboard",placementFlag:"WEB_ADS_LEADERBOARD",adUnitPath:Go.Yg.leaderboard,sizes:Go.YN,sizeMapping:Go.nt,lazy:!1,targeting:n})})}}])&&Ho(t.prototype,r),n&&Ho(t,n),i}(o.Component),ei=(0,Ir.Z)(fo.Z,On.Z,ko.Z)(Qo),ti=r(87135),ri=r(11466),ni=(0,xr.Z)("div",{shouldForwardProp:function(e){return(0,ri.Z)(e)&&"hasBreadcrumbs"!==e&&"isHomeRoute"!==e},target:"e2kr8kj0"})((function(e){var t,r;return{marginTop:!(null!=e&&null!==(t=e.props)&&void 0!==t&&t.hasBreadcrumbs&&(null==e||null===(r=e.props)||void 0===r||!r.isHomeRoute))?"".concat(Ur.L6.MAIN_NAV_HEIGHT):"0",backgroundColor:"".concat(Zr.M1.secondary)}}),"");function oi(e){var t=e.isWideLargeScreen,r=e.hasBreadcrumbs,n=e.isHomeRoute;return e.showAccountVerificationStatus&&!t&&(0,Yr.jsx)(ni,{props:{hasBreadcrumbs:r,isHomeRoute:n},children:(0,Yr.jsx)(co,{})})}oi.propTypes={isWideLargeScreen:Lr().bool.isRequired,hasBreadcrumbs:Lr().bool.isRequired,isHomeRoute:Lr().bool.isRequired,showAccountVerificationStatus:Lr().bool.isRequired};var ii=(0,Ir.Z)(uo.Z,gn.Z,qr.Z)((0,ti.Z)(oi)),ai=r(93440),ci=r(43260),ui=r(49168);function si(e){return si="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},si(e)}function li(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}
1function fi(e,t){return fi=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},fi(e,t)}function pi(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 r,n=vi(e);if(t){var o=vi(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return di(this,r)}}function di(e,t){return!t||"object"!==si(t)&&"function"!=typeof t?mi(e):t}function mi(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vi(e){return vi=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},vi(e)}var hi=function(e){!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&&fi(e,t)}(i,e);var t,r,n,o=pi(i);function i(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),(t=o.call(this,e)).state={searchTerm:""},t.handleSearchChange=t.handleSearchChange.bind(mi(t)),t.handleClickMagazine=t.handleClickMagazine.bind(mi(t)),t}return t=i,r=[{key:"handleSearchChange",value:function(e){this.setState({searchTerm:e.target.value})}},{key:"handleClickMagazine",value:function(e){this.props.setTargetRemoteId(e.remoteid),this.props.onSelect()}},{key:"render",value:function(){var e=this,t=this.props,r=t.allUserMagazines,n=t.t,o=this.state.searchTerm,i=o?r.filter((function(e){return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return(e.title&&e.title.toLowerCase()||"").includes(t.toLowerCase())}(e,o)})):r;return(0,Yr.jsxs)("div",{className:"magazine-picker",children:[(0,Yr.jsx)("div",{className:"magazine-picker__input-wrapper",children:(0,Yr.jsx)(Jr.Z,{name:"magazine-picker-magazine-search",placeholder:n("magazine_search_placeholder"),value:this.state.searchTerm,onChange:this.handleSearchChange})}),(0,Yr.jsx)("ul",{className:"magazine-picker__magazine-list",children:i.map((function(t){return(0,Yr.jsx)(ui.Z,{magazine:t,onClick:e.handleClickMagazine},t.remoteid)}))})]})}}],r&&li(t.prototype,r),n&&li(t,n),i}(o.Component);hi.propTypes={t:Lr().func.isRequired,showModal:Lr().func.isRequired,allUserMagazines:Lr().array.isRequired,flipModeTargetMagazine:Lr().object,setTargetRemoteId:Lr().func.isRequired,onSelect:Lr().func.isRequired},hi.defaultProps={profile:null};var _i=(0,Ir.Z)(mo.Z,Ln.Z,Un.Z)((0,Hr.Z)(hi)),yi=r(73540);function bi(e){return bi="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},bi(e)}function Ei(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function gi(e,t){return gi=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},gi(e,t)}function Oi(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 r,n=Ti(e);if(t){var o=Ti(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return Si(this,r)}}function Si(e,t){return!t||"object"!==bi(t)&&"function"!=typeof t?Ai(e):t}function Ai(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ti(e){return Ti=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},Ti(e)}var Ri=(0,xr.Z)("div",{target:"e1attmen1"})({height:Ur.L6.FLIP_MODE_HEIGHT,width:"100%",backgroundColor:Zr.EU.primaryReverse,position:"sticky",top:Ur.L6.MAIN_NAV_HEIGHT,zIndex:Ur.k0.ACTION_SHEET},""),Ii=(0,xr.Z)(sn.Z,{target:"e1attmen0"})((function(e){return{right:e.isLargeScreen?null:"".concat(Mr.N.BASE)}}),""),Pi=function(e){!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&&gi(e,t)}(i,e);var t,r,n,o=Oi(i);function i(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),(t=o.call(this,e)).state={showMagazinePicker:!1},t.toggleShowMagazinePicker=t.toggleShowMagazinePicker.bind(Ai(t)),t.handleClose=t.handleClose.bind(Ai(t)),t}return t=i,(r=[{key:"componentDidMount",value:function(){var e=this.props,t=e.flipModeTargetMagazine,r=e.setTargetRemoteId,n=e.allUserMagazines,o=n.length&&n[0];!t&&o&&r(o.remoteid)}},{key:"toggleShowMagazinePicker",value:function(){this.state.showMagazinePicker?this.setState({showMagazinePicker:!1}):this.setState({showMagazinePicker:!0})}},{key:"handleClose",value:function(){this.props.setFlipModeEnabled(!1)}}
1,{key:"render",value:function(){var e=this.props.flipModeTargetMagazine,t=this.state.showMagazinePicker,r=hr()("flip-mode__selection ui-subheading--large-standard",{"flip-mode__selection--open":t});return(0,Yr.jsx)(Ri,{children:(0,Yr.jsxs)("div",{className:"flip-mode centered-column",children:[(0,Yr.jsx)("div",{className:"flip-mode__label ui-subheading--large-standard",children:"You are flipping into"}),(0,Yr.jsxs)("div",{className:r,children:[(0,Yr.jsx)("div",{className:"flip-mode__selected-item",children:e&&(0,Yr.jsx)(ui.Z,{magazine:e,onClick:this.toggleShowMagazinePicker,isFlipMode:!0})}),(0,Yr.jsx)("div",{className:"flip-mode__magazine-list",children:this.state.showMagazinePicker&&(0,Yr.jsx)(_i,{onSelect:this.toggleShowMagazinePicker})}),(0,Yr.jsx)(sn.Z,{name:"flipmode-magazine-list-toggle",className:"flip-mode__magazine-list-toggle",onClick:this.toggleShowMagazinePicker,children:(0,Yr.jsx)(ci.Z,{color:Zr.bo.overlay,direction:t?ci.i.up:ci.i.down,size:18})})]}),(0,Yr.jsx)("div",{className:"flip-mode__link-section ui-subheading--large-standard",children:e&&(0,Yr.jsx)(yi.Z,{className:"flip-mode__section-link",section:e,children:"go to magazine"})}),(0,Yr.jsx)(Ii,{name:"flipmode-close",className:"flip-mode__close",onClick:this.handleClose,children:(0,Yr.jsx)(ai.Z,{color:Zr.bo.overlay})})]})})}}])&&Ei(t.prototype,r),n&&Ei(t,n),i}(o.Component);Pi.propTypes={flipModeTargetMagazine:Lr().object,setFlipModeEnabled:Lr().func.isRequired,setTargetRemoteId:Lr().func.isRequired,allUserMagazines:Lr().array.isRequired,isLargeScreen:Lr().bool.isRequired},Pi.defaultProps={flipModeTargetMagazine:null};var Ci=(0,Ir.Z)(qr.Z,Ln.Z,mo.Z)(Pi);function wi(e){var t=e.routing,r=e.isAuthenticated,n=e.hideMainNavCTAs,i=e.isPhone,a=e.isChromeless,c=e.isEmbeddable,u=e.isFlipModeEnabled,s=t.type===Cr.w7.HOME;return!(a||c||s&&i&&!r)?(0,Yr.jsxs)(o.Fragment,{children:[(0,Yr.jsx)(Mo,{}),u&&(0,Yr.jsx)(Ci,{}),(!n||r)&&(0,Yr.jsx)(Uo,{}),(0,Yr.jsx)(ei,{}),(0,Yr.jsx)(ii,{})]}):null}wi.propTypes={routing:Lr().object.isRequired,isAuthenticated:Lr().bool.isRequired,isPhone:Lr().bool.isRequired,isChromeless:Lr().bool.isRequired,isEmbeddable:Lr().bool.isRequired,isFlipModeEnabled:Lr().bool.isRequired,hideMainNavCTAs:Lr().bool.isRequired};var ji=(0,Ir.Z)(qr.Z,gn.Z,mo.Z)(wi),Ni=(0,c.$j)((function(e){var t=e.app;return{isAuthenticated:0!==e.auth.uid,isChromeless:t.isChromeless,isEmbeddable:t.isEmbeddable,hideMainNavCTAs:t.hideMainNavCTAs}}),null)(ji),Li=Ni,Di=r(3130),xi=(r(72508),r(42547));function Mi(e){var t=e.banner,r=e.isPhone,n=e.onClose;return r?null:(0,Yr.jsxs)("div",{className:"banner",children:[(0,Yr.jsxs)("div",{className:"banner__content",children:[(0,Yr.jsx)("h1",{className:"ui-text--page-title banner__title",children:t.title}),(0,Yr.jsx)("p",{className:"ui-text--body banner__subtitle",children:t.subtitle}),(0,Yr.jsx)("div",{children:(0,Yr.jsx)(Gr.ZP,{name:"banner-cta",label:t.cta,styleVariation:Gr.NV.PRIMARY,href:t.link})})]}),(0,Yr.jsxs)("div",{className:"banner__image-wrapper",children:[(0,Yr.jsx)(xi.Z,{smallImage:t.smallImage,mediumImage:t.mediumImage,largeImage:t.largeImage}),(0,Yr.jsx)(sn.Z,{onClick:function(){return n(t.id)},name:"banner-close",children:(0,Yr.jsx)(ai.Z,{color:"#fff"})})]})]})}Mi.propTypes={isPhone:Lr().bool.isRequired,banner:Lr().object.isRequired,onClose:Lr().func.isRequired};var Zi=(0,Ir.Z)(qr.Z)(Mi);function Ui(e){return Ui="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},Ui(e)}function ki(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Fi(e,t){return Fi=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},Fi(e,t)}function Gi(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 r,n=Vi(e);if(t){var o=Vi(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return Bi(this,r)}}function Bi(e,t){return!t||"object"!==Ui(t)&&"function"!=typeof t?zi(e):t}function zi(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}
1function Vi(e){return Vi=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},Vi(e)}var Hi=(0,xr.Z)("div",{target:"e1kiaji10"})((function(e){return{background:e.isMagazineInviteBanner?Zr.EU.secondary:"inherit",position:e.isMagazineInviteBanner?"relative":"inherit"}}),""),qi=function(e){!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&&Fi(e,t)}(i,e);var t,r,n,o=Gi(i);function i(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),(t=o.call(this,e)).handleClose=t.handleClose.bind(zi(t)),t}return t=i,r=[{key:"handleClose",value:function(e){(0,Di.DI)(e),this.forceUpdate()}},{key:"render",value:function(){var e=this.props,t=e.banners,r=e.section,n=e.userInfo,o=e.routing,i=(0,Di.mB)(t,r,n,o);if(!i)return null;var a=i.component,c=i.id===Di.m1.MAGAZINE_INVITE;return(0,Yr.jsx)(Hi,{isMagazineInviteBanner:c,className:"app__banner-wrapper",children:a?(0,Yr.jsx)(a,{onClose:this.handleClose}):(0,Yr.jsx)(Zi,{banner:i,onClose:this.handleClose})})}}],r&&ki(t.prototype,r),n&&ki(t,n),i}(o.Component);qi.propTypes={banners:Lr().array.isRequired,section:Lr().object,userInfo:Lr().object,routing:Lr().object.isRequired,hasBreadcrumbs:Lr().bool.isRequired},qi.defaultProps={section:null,userInfo:null,hasBreadcrumbs:!1};var Wi=(0,Ir.Z)(gn.Z)((0,ti.Z)(qi));function Yi(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var r=[],n=!0,o=!1,i=void 0;try{for(var a,c=e[Symbol.iterator]();!(n=(a=c.next()).done)&&(r.push(a.value),!t||r.length!==t);n=!0);}catch(e){o=!0,i=e}finally{try{n||null==c.return||c.return()}finally{if(o)throw i}}return r}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return Ki(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Ki(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Ki(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var Xi=(0,c.$j)((function(e){var t,r=e.app,n=r.isAmp,o=r.banners,i=r.routing,a=e.sections,c=e.profile;if("/"===i.url)t={remoteid:"home",title:"cover-stories"};else if(n||i.query.inviteToken){t=Yi(a.entries,1)[0]}else{var u=i.params,s=(0,Dr.YR)(u),l=decodeURIComponent(s);t=l&&Ie.ZP.getSectionByRemoteId(l,a.entries)}return{banners:o,section:t,userInfo:c.userInfo}}))(Wi),$i=Xi;function Ji(e){return Ji="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},Ji(e)}function Qi(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function ea(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function ta(e,t){return ta=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},ta(e,t)}function ra(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 r,n=ia(e);if(t){var o=ia(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return na(this,r)}}function na(e,t){return!t||"object"!==Ji(t)&&"function"!=typeof t?oa(e):t}function oa(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}
1function ia(e){return ia=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},ia(e)}function aa(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var ca=function(e){!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&&ta(e,t)}(i,e);var t,r,n,o=ra(i);function i(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),aa(oa(t=o.call(this,e)),"updateRouting",(function(){var e=t.props,r=e.setRouting,n=e.match,o=e.location,i=e.routeType,a=e.resetBreadcrumbs;r(function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Qi(Object(r),!0).forEach((function(t){aa(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Qi(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},n,{},o,{type:i,query:A.Z.parse((0,v.Z)().location.search,{ignoreQueryPrefix:!0})})),a()})),l.Z.isServer()||t.updateRouting(),t}return t=i,(r=[{key:"componentDidUpdate",value:function(e){e.match.url!==this.props.match.url&&this.updateRouting()}},{key:"render",value:function(){return this.props.children}}])&&ea(t.prototype,r),n&&ea(t,n),i}(o.Component),ua=(0,Pr.EN)((0,ti.Z)(ca)),sa={actions:{setRouting:ir.QR}},la=(0,Ir.Z)(sa)(ua),fa={},pa=(0,Ir.Z)(gn.Z)((function(e){var t=e.notFound,r=e.caughtError,n=e.isLoggedIn,o=e.routing.path,i=e.shouldRenderBanner;return(0,Yr.jsx)(Pr.rs,{children:t||r?(0,Yr.jsx)(Pr.AW,{path:Cr.ad.path,render:function(){return(0,Yr.jsxs)(la,{type:Cr.ad.type,children:[(0,Yr.jsx)(Li,{}),(0,Yr.jsx)(jr.default,{code:t?"404":"503",path:o})]})}},Cr.ad.path):Cr.ZP.map((function(e){var t="string"==typeof e.path?e.path:e.path.join("|"),r=fa[t]||e.component();return fa[t]||(fa[t]=r),(0,Yr.jsx)(Pr.AW,{exact:e.exact,path:e.path,strict:!1,render:function(){return e.private&&!n?(0,Yr.jsx)(Pr.l_,{to:"/"}):(0,Yr.jsxs)(la,{routeType:e.type,children:[(0,Yr.jsx)(Li,{}),i&&(0,Yr.jsx)($i,{}),(0,Yr.jsx)(r,{fallback:(0,Yr.jsx)(wr.Z,{isView:!0})})]})}},t)}))})})),da={selectors:{shouldRenderBanner:function(e){var t=e.app,r=t.isEmbeddable,n=t.isChromeless;return!t.isAmp&&!r&&!n}}},ma=(0,Ir.Z)(da)(pa);function va(e){return va="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},va(e)}function ha(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _a(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function ya(e,t){return ya=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},ya(e,t)}function ba(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 r,n=ga(e);if(t){var o=ga(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return Ea(this,r)}}function Ea(e,t){return!t||"object"!==va(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function ga(e){return ga=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},ga(e)}var Oa=(0,lr.Z)("Comments"),Sa=function(e){!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&&ya(e,t)}(i,e);var t,r,n,o=ba(i);function i(){return ha(this,i),o.apply(this,arguments)}return t=i,(r=[{key:"componentDidMount",value:function(){Oa.preload()}},{key:"render",value:function(){return null}}])&&_a(t.prototype,r),n&&_a(t,n),i}(o.Component),Aa=Sa,Ta=(0,lr.Z)("SignupModal"),Ra=function(e){return function(t){t((0,pr.K4)(Ta,{onComplete:function(){t((0,pr.mb)(Ta)),e()}}))}},Ia=function(e){return function(t){t((0,sr.cb)()),e()}},Pa=r(35638);function Ca(e,t,r,n,o,i,a){try{var c=e[i](a),u=c.value}catch(e){return void r(e)}c.done?t(u):Promise.resolve(u).then(n,o)}
1var wa=(0,lr.Z)("OnboardingTopicPicker"),ja=function(e){return function(){var t,r=(t=regeneratorRuntime.mark((function t(r,n){var o;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return o=(0,Pa.O)(n()),t.next=3,r((0,ar.y_)());case 3:r((0,pr.K4)(wa,{navFrom:o,onComplete:e}));case 4:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(e){Ca(i,n,o,a,c,"next",e)}function c(e){Ca(i,n,o,a,c,"throw",e)}a(void 0)}))});return function(e,t){return r.apply(this,arguments)}}()};function Na(e,t,r,n,o,i,a){try{var c=e[i](a),u=c.value}catch(e){return void r(e)}c.done?t(u):Promise.resolve(u).then(n,o)}var La=function(e){return function(){var t,r=(t=regeneratorRuntime.mark((function t(r,n){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!(0,Bt.lk)(n())){t.next=4;break}return t.next=4,r((0,cr.j4)());case 4:e();case 5:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(e){Na(i,n,o,a,c,"next",e)}function c(e){Na(i,n,o,a,c,"throw",e)}a(void 0)}))});return function(e,t){return r.apply(this,arguments)}}()},Da=[Ra,Ia,ja,La],xa=[Ia,ja,La],Ma=r(34688),Za=r(45338),Ua=r(68460),ka=r(11162);function Fa(e,t,r,n,o,i,a){try{var c=e[i](a),u=c.value}catch(e){return void r(e)}c.done?t(u):Promise.resolve(u).then(n,o)}var Ga=function(e){return function(){var t,r=(t=regeneratorRuntime.mark((function t(r,n,o){var i,a,c,u;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(i=o.t,r((0,Bt.Eo)(!0)),a=(0,Bt.Aq)(n())){t.next=5;break}throw new Ma.Yy("Newsletter signup data missing onboardingData");case 5:return t.prev=5,t.next=8,r((0,Za.tM)(a.email));case 8:if(c=t.sent,u=!(null==c||!c.success),r((0,Bt.zR)(u)),!u){t.next=16;break}return t.next=14,r((0,ka.PC)(a.pendingSubscriptionGroups));case 14:t.next=17;break;case 16:throw new Ma.Yy;case 17:t.next=24;break;case 19:t.prev=19,t.t0=t.catch(5),d.Z.captureException(t.t0),r((0,Bt.zR)(!1)),r((0,Ua.toastShowErrorAction)(i("failed_to_sign_up")));case 24:e();case 25:case"end":return t.stop()}}),t,null,[[5,19]])})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(e){Fa(i,n,o,a,c,"next",e)}function c(e){Fa(i,n,o,a,c,"throw",e)}a(void 0)}))});return function(e,t,n){return r.apply(this,arguments)}}()},Ba=function(){var e,t;return null===(e=null===(t=(0,v.Z)())||void 0===t?void 0:t.gtag)||void 0===e?void 0:e("event","conversion",{send_to:"AW-959332650/hgrfCNGesIkDEKqCuckD"})},za=function(e){return function(t){Ba(),_r.Z.trackFrictionlessSubscribeToNewsletter($.go.NEWSLETTER),e()}},Va=function(e){return function(t,r){var n=(0,Bt.Aq)(r()),o=(0,Bt.lk)(r()),i=null==n?void 0:n.frictionlessFlowType,a=i&&(0,Bt.S9)(i);o&&i&&(t((0,sr.vo)(o,null,a)),_r.Z.trackFrictionlessSignupExit(o)),e()}},Ha=r(50839),qa=r(28144),Wa=r(46315),Ya=(0,xr.Z)("div",{target:"e1c2wyms2"})({padding:"".concat(Mr.N.BASE8X," ").concat(Mr.N.BASE4X," ").concat(Mr.N.LARGE," ").concat(Mr.N.BASE4X)},kr.j.phone({display:"flex",flexDirection:"column",justifyContent:"center"}),""),Ka=(0,xr.Z)("h1",{target:"e1c2wyms1"})(Dn.Hb.BRAND_HEADING_MEDIUM,{textAlign:"center",marginBottom:Mr.N.LARGE},""),Xa=(0,xr.Z)("p",{target:"e1c2wyms0"})(Dn.Hb.LARGE_STANDARD,"text-align:center;");function $a(e){var t=e.history,r=e.isPhone,n=e.onComplete,o=e.routing,i=e.t,a=r?Fr.J9.FULLSCREEN:Fr.J9.WINDOW,c=function(){0!==o.pathname.indexOf("/newsletters")&&0!==o.pathname.indexOf("/signup")||t.push("/"),n()};return(0,Yr.jsxs)(Ha.Z,{name:"frictionless-signup-success",modalTheme:a,onDismiss:c,disableDismiss:!0,children:[(0,Yr.jsxs)(Ya,{className:"modal__content",children:[(0,Yr.jsx)(Ka,{children:i("newsletter_signup_success_title")}),(0,Yr.jsx)(Xa,{children:i("newsletter_signup_success_subtitle")})]}),(0,Yr.jsx)(qa.Z,{modalName:"frictionless-signup-success",showCloseButton:!0,closeButtonSize:16,onDismiss:c,children:(0,Yr.jsx)(Gr.ZP,{name:"frictionless-signup-continue",label:"Got it!",styleVariation:Gr.NV.PRIMARY,onClick:c})})]})}$a.propTypes={history:Lr().shape({push:Lr().func.isRequired}).isRequired,t:Lr().func.isRequired,isPhone:Lr().bool.isRequired,onComplete:Lr().func.isRequired,routing:Lr().object.isRequired};var Ja=(0,Ir.Z)(qr.Z,Un.Z,gn.Z)((0,Wa.Z)((0,Hr.Z)($a)));function Qa(e,t,r,n,o,i,a){try{var c=e[i](a),u=c.value}catch(e){return void r(e)}c.done?t(u):Promise.resolve(u).then(n,o)}var ec=function(e){return function(){var t,r=(t=regeneratorRuntime.mark((function t(r){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:r((0,Bt.Eo)(!0)),r((0,Za.Vn)()),e();case 3:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(e){Qa(i,n,o,a,c,"next",e)}function c(e){Qa(i,n,o,a,c,"throw",e)}a(void 0)}))});return function(e){return r.apply(this,arguments)}}()},tc=[Ga,za,function(e){return function(t,r){(0,Bt.lk)(r())?t((0,pr.K4)(Ja,{onComplete:function(){t((0,pr.mb)(Ja)),e()}})):e()}},La,Va,ec];function rc(e,t,r,n,o,i,a){try{var c=e[i](a),u=c.value}catch(e){return void r(e)}c.done?t(u):Promise.resolve(u).then(n,o)}var nc=(0,lr.Z)("WelcomeModal"),oc=function(e){return function(){var t,r=(t=regeneratorRuntime.mark((function t(r){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:r((0,pr.K4)(nc,{onComplete:e}));case 1:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(e){rc(i,n,o,a,c,"next",e)}function c(e){rc(i,n,o,a,c,"throw",e)}a(void 0)}))});return function(e){return r.apply(this,arguments)}}()},ic=[Ra,Ia,oc,La];function ac(e,t,r,n,o,i,a){try{var c=e[i](a),u=c.value}catch(e){return void r(e)}c.done?t(u):Promise.resolve(u).then(n,o)}var cc=function(e){return function(){var t,r=(t=regeneratorRuntime.mark((function t(r,n){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:(0,Bt.Od)(n())?r(ja(e)):e();case 2:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(e){ac(i,n,o,a,c,"next",e)}function c(e){ac(i,n,o,a,c,"throw",e)}a(void 0)}))});return function(e,t){return r.apply(this,arguments)}}()},uc=[function(e){return function(t){t((0,sr.F$)(J.f2.CONFIRMATION_EMAIL_ENTER,J.rf.EMAIL_CONFIRMATION)),t((0,sr.k6)()),e()}},cc],sc=function(e){return function(t){t((0,sr.eb)(!0,"flipboard")),e()}},lc=(0,Ir.Z)(qr.Z)((0,Hr.Z)((function(e){var t=e.t,r=e.isPhone,n=e.onComplete,o=r?Fr.J9.FULLSCREEN:Fr.J9.WINDOW;return(0,Yr.jsxs)(Ha.Z,{name:"publisher-confirm-email",modalTheme:o,children:[(0,Yr.jsxs)("section",{className:"modal__content",children:[(0,Yr.jsx)("h1",{className:"invite-contributors__title ui-text--title",children:t("confirm_email")}),(0,Yr.jsx)("div",{className:"field-block",children:(0,Yr.jsx)("p",{className:"ui-text--body",children:t("publisher_confirm_email")})})]}),(0,Yr.jsx)(qa.Z,{children:(0,Yr.jsx)(Gr.ZP,{name:"accept-contributor-invite-close",styleVariation:Gr.NV.PRIMARY,onClick:n,children:t("close")})})]})}))),fc=function(){return function(e){(0,Sr.d7)("publisher-onboard","1"),e((0,pr.K4)(lc,{onComplete:function(){e((0,pr.mb)(lc)),e((0,Bt.Ye)())}}))}}
1,pc=[sc,fc],dc=r(72207);function mc(e){return function(e){if(Array.isArray(e))return vc(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return vc(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return vc(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function vc(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function hc(e){var t=e.section,r=e.isPhone,n=e.dismissModal,o=e.onComplete,i=e.t,a=r?Fr.J9.FULLSCREEN:Fr.J9.WINDOW,c=(0,xt.Ly)(xt.$n.MAGAZINE_CONTRIBUTORS,(0,xt.Iu)(t.invite?t.requestedRemoteId:t.remoteid));return(0,Yr.jsxs)(Ha.Z,{name:"invite-contributors-modal",modalTheme:a,children:[(0,Yr.jsxs)("section",{className:"modal__content",children:[(0,Yr.jsx)("h1",{className:"invite-contributors__title ui-text--title",children:i("accept_invite")}),(0,Yr.jsx)("div",{className:"field-block",children:(0,Yr.jsx)("p",{className:"ui-text--body",children:i("accept_magazine_contributor_invite",{sectionTitle:t.title})})}),(0,Yr.jsx)(dc.default,{section:t,profiles:[t.author].concat(mc(c))})]}),(0,Yr.jsxs)(qa.Z,{children:[(0,Yr.jsx)(Gr.ZP,{name:"accept-contributor-invite-close",styleVariation:Gr.NV.SECONDARY,onClick:n,children:i("close")}),(0,Yr.jsx)(Gr.ZP,{name:"accept-contributor-invite-accept",styleVariation:Gr.NV.PRIMARY,onClick:o,children:i("accept")})]})]})}hc.propTypes={section:Lr().object.isRequired,uid:Lr().number,isPhone:Lr().bool.isRequired,t:Lr().func.isRequired,dismissModal:Lr().func.isRequired,onComplete:Lr().func.isRequired};var _c=(0,Ir.Z)(qr.Z,Un.Z)((0,Hr.Z)(hc));function yc(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function bc(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Ec=function(e){return function(t,r){var n=(0,Bt.Aq)(r());if(null==n||!n.magazineInviteSection)throw new Ma.HC("Accept Magazine Invite Flow is missing magazineInviteSection");var o=n.magazineInviteSection;return(null==n?void 0:n.acceptMagazineInviteConsented)?e():t((0,pr.K4)(_c,{section:o,invite:o.invite,onComplete:function(){t((0,Bt.Jw)(function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?yc(Object(r),!0).forEach((function(t){bc(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):yc(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},n,{acceptMagazineInviteConsented:!0}))),t((0,pr.mb)(_c)),e()}}))}},gc=r(19085),Oc=r(44923),Sc=r(18529),Ac=function(e){return function(t,r){var n=(0,Sc.Mn)(r()),o=r().featureFlags;t(n?(0,pr.K4)(Oc.Z,{onComplete:function(){t((0,pr.mb)(Oc.Z)),e()}}):(0,pr.K4)(gc.Z,{onboardingFlow:o.INVITE_MAGAZINE_CONTRIBUTOR?$.XX.ACCEPT_MAGAZINE_INVITE_SIGNUP_NEW:$.XX.ACCEPT_MAGAZINE_INVITE_SIGNUP_OLD,continueFlow:!0,onComplete:function(){t((0,pr.mb)(gc.Z)),e()},actionType:$.hk.ACCEPT_INVITE}))}},Tc=[Ec,Ac],Rc=[Ac];function Ic(e,t,r,n,o,i,a){try{var c=e[i](a),u=c.value}catch(e){return void r(e)}c.done?t(u):Promise.resolve(u).then(n,o)}var Pc=(0,lr.Z)("CompleteProfileCollaboratorModal"),Cc=function e(t){return function(){var r,n=(r=regeneratorRuntime.mark((function r(n,o){var i,a;return regeneratorRuntime.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(i=(0,Bt.Aq)(o()),n((0,Ft.E1)(!0)),null!=i&&i.magazineInviteSection){r.next=5;break}throw n((0,Ft.E1)(!1)),new Ma.HC("Accept Magazine Invite Flow is missing magazineInviteSection");case 5:if((a=i.magazineInviteSection).remoteid&&a.invite){r.next=9;break}throw n((0,Ft.E1)(!1)),new Ma.HC("Accept Magazine Invite Flow is missing invite or remoteid");case 9:return r.prev=9,r.next=12,n((0,ar.DO)(a.remoteid,a,a.invite));case 12:r.next=18;break;case 14:if(r.prev=14,r.t0=r.catch(9),!(r.t0 instanceof Ma.v0)){r.next=18;break}return r.abrupt("return",n((0,pr.K4)(Pc,{onComplete:function(){n((0,pr.Yz)()),n(e(t))}})));case 18:t();case 19:case"end":return r.stop()}}),r,null,[[9,14]])})),function(){var e=this,t=arguments;return new Promise((function(n,o){var i=r.apply(e,t);function a(e){Ic(i,n,o,a,c,"next",e)}function c(e){Ic(i,n,o,a,c,"throw",e)}a(void 0)}))});return function(e,t){return n.apply(this,arguments)}}()};function wc(e,t,r,n,o,i,a){try{var c=e[i](a),u=c.value}catch(e){return void r(e)}c.done?t(u):Promise.resolve(u).then(n,o)}var jc=function(e){return function(){var t,r=(t=regeneratorRuntime.mark((function t(r,n){var o,i;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(null!=(o=(0,Bt.Aq)(n()))&&o.magazineInviteSection){t.next=3;break}throw new Ma.HC("Accept Magazine Invite Flow is missing magazineInviteSection");case 3:return i=o.magazineInviteSection,t.next=6,r((0,cr.zK)([i],J.rf.FEED));case 6:e();case 7:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(e){wc(i,n,o,a,c,"next",e)}function c(e){wc(i,n,o,a,c,"throw",e)}a(void 0)}))});return function(e,t){return r.apply(this,arguments)}}()};function Nc(e,t,r,n,o,i,a){try{var c=e[i](a),u=c.value}catch(e){return void r(e)}c.done?t(u):Promise.resolve(u).then(n,o)}var Lc=function(e){return function(){var t,r=(t=regeneratorRuntime.mark((function t(r,n,o){var i,a,c;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:i=o.t,a=n().featureFlags,(c=(0,Bt.Aq)(n()))&&c.magazineInviteSection&&r(a.INVITE_MAGAZINE_CONTRIBUTOR?(0,Ua.toastShowInfoAction)(i("youre_in_magazine")):(0,Ua.toastShowInfoAction)(i("accept_contributor_invite_success",{inviteTitle:c.magazineInviteSection.title}))),e();case 5:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(e){Nc(i,n,o,a,c,"next",e)}function c(e){Nc(i,n,o,a,c,"throw",e)}a(void 0)}))});return function(e,t,n){return r.apply(this,arguments)}}()},Dc=function(e){return function(t,r){var n=(0,Bt.Aq)(r());if(null==n||!n.magazineInviteSection)throw new Ma.HC("Accept Magazine Invite Flow is missing magazineInviteSection");var o=n.magazineInviteSection;if(!o.remoteid||!o.invite)throw new Ma.HC("Accept Magazine Invite Flow is missing invite or remoteid");t((0,sr.lB)(o,o.invite)),e()}},xc=[Ec,Cc,Dc,jc,Lc],Mc=[Cc,Dc,jc,Lc],Zc=[Ra,Cc,Dc,jc,La,Lc],Uc=(0,lr.Z)("CompleteProfileCollaboratorModal"),kc=function(e){return function(t){t((0,pr.K4)(Uc,{onComplete:function(){t((0,pr.mb)(Uc)),e()}}))}};function Fc(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Gc(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Bc,zc=function(e){return function(t,r){var n=(0,Bt.Aq)(r());if(null==n||!n.magazineInviteSection)throw new Ma.HC("Accept Magazine Invite Flow is missing magazineInviteSection");if(null==n?void 0:n.acceptMagazineInviteConsented)return e();t((0,Bt.Jw)(function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
1t%2?Fc(Object(r),!0).forEach((function(t){Gc(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Fc(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},n,{acceptMagazineInviteConsented:!0}))),e()}},Vc=(0,lr.Z)("YoureInConfirmationModal"),Hc=[zc,Ra,Cc,Dc,ja,kc,jc,La,function(e){return function(t){t((0,pr.K4)(Vc,{onComplete:function(){t((0,pr.mb)(Vc)),e()}}))}}],qc=function(e){return function(t,r){(0,rr.Tq)(r())?e():t(fc(e))}},Wc=(0,lr.Z)("PublisherOnboardModal"),Yc=function(e){return function(t){t((0,pr.K4)(Wc,{onComplete:function(){(0,Sr.kT)("publisher-onboard"),t((0,pr.mb)(Wc)),e()}}))}},Kc=(0,lr.Z)("CreateMagazineModal"),Xc=[qc,Yc,function(e){return function(t){t((0,pr.K4)(Kc,{isPublisherOnboarding:!0,onComplete:function(){t((0,pr.mb)(Kc)),e()}}))}}],$c=r(21929);function Jc(e){return Jc="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},Jc(e)}function Qc(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function eu(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function tu(e,t){return tu=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},tu(e,t)}function ru(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 r,n=iu(e);if(t){var o=iu(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return nu(this,r)}}function nu(e,t){return!t||"object"!==Jc(t)&&"function"!=typeof t?ou(e):t}function ou(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function iu(e){return iu=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},iu(e)}function au(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var cu=(au(Bc={},$.XX.SIGNUP_BUTTON,Da),au(Bc,$.XX.SIGNUP_LANDING,xa),au(Bc,$.XX.SIGNUP_NEWSLETTER,tc),au(Bc,$.XX.STICKY_TOPIC_PICKER_CTA,ic),au(Bc,$.XX.POST_VERIFICATION,uc),au(Bc,$.XX.PUBLISHER_LANDING,pc),au(Bc,$.XX.ACCEPT_MAGAZINE_INVITE_UNAUTHENTICATED_OLD,Tc),au(Bc,$.XX.ACCEPT_MAGAZINE_INVITE_UNAUTHENTICATED_NEW,Rc),au(Bc,$.XX.ACCEPT_MAGAZINE_INVITE_SIGNUP_OLD,Zc),au(Bc,$.XX.ACCEPT_MAGAZINE_INVITE_SIGNUP_NEW,Hc),au(Bc,$.XX.ACCEPT_MAGAZINE_INVITE_AUTHENTICATED_OLD,xc),au(Bc,$.XX.ACCEPT_MAGAZINE_INVITE_AUTHENTICATED_NEW,Mc),au(Bc,$.XX.BECOME_PUBLISHER,Xc),Bc),uu=function(e){!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&&tu(e,t)}(i,e);var t,r,n,o=ru(i);function i(){var e;Qc(this,i);for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return au(ou(e=o.call.apply(o,[this].concat(r))),"state",{steps:[]}),au(ou(e),"getStepsForOnboardingFlow",(function(e){return cu[e]||[]})),au(ou(e),"executeCurrentStep",(function(){var t=e.props,r=t.currentOnboardingStep,n=t.nextOnboardingStep,o=t.runOnboardingFlowStep,i=null!==r&&e.state.steps[r];i&&o(i(n))})),au(ou(e),"setSteps",(function(t){e.setState({steps:t},(function(){e.props.setCurrentOnboardingStep(0)}))})),e}return t=i,(r=[{key:"componentDidUpdate",value:function(e){var t=this.props,r=t.onboardingFlow,n=t.currentOnboardingStep;!e.onboardingFlow&&r&&this.setSteps(this.getStepsForOnboardingFlow(r)),(null!==e.currentOnboardingStep&&null===n||null===e.currentOnboardingStep&&null!==n||null!==e.currentOnboardingStep&&null!==n&&e.currentOnboardingStep<n)&&this.executeCurrentStep()}},{key:"render",value:function(){return null}}])&&eu(t.prototype,r),n&&eu(t,n),i}(o.Component),su=(0,Ir.Z)($c.Z)(uu),lu=(r(67890),r(82394)),fu=r(49018),pu=r(10145),du=r(52750),mu=r(22480),vu=r(4361),hu=r(97881);function _u(e){return _u="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},_u(e)}function yu(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function bu(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Eu(e,t){return Eu=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},Eu(e,t)}function gu(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 r,n=Au(e);
1if(t){var o=Au(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return Ou(this,r)}}function Ou(e,t){return!t||"object"!==_u(t)&&"function"!=typeof t?Su(e):t}function Su(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Au(e){return Au=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},Au(e)}function Tu(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Ru(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Iu(){return Iu=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Iu.apply(this,arguments)}var Pu,Cu=(0,xr.Z)("div",Iu({},{target:"ex3olyw1"},(0,vu.t)("positionProps")))((function(e){return function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Tu(Object(r),!0).forEach((function(t){Ru(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Tu(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({position:"fixed"},e.positionProps)}),""),wu=(0,xr.Z)("div",{target:"ex3olyw0"})({position:"absolute",top:Mr.N.BASE,right:Mr.N.BASE},""),ju=function(e){!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&&Eu(e,t)}(a,e);var t,r,n,i=gu(a);function a(){var e;yu(this,a);for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return Ru(Su(e=i.call.apply(i,[this].concat(r))),"dialogRef",o.createRef()),Ru(Su(e),"handleClickOutside",(function(t){var r;if(e.props.onClickOutside){var n=t.target,o=e.getZIndex(n),i=e.getZIndex(e.dialogRef.current);null!==(r=e.dialogRef)&&void 0!==r&&r.current&&n instanceof Node&&!e.dialogRef.current.contains(n)&&(isNaN(o)||o<=i)&&e.props.onClickOutside()}})),Ru(Su(e),"getPositionProps",(function(){var t=e.props.positionProps,r="0",n="0";return t.left||t.right||(r="-50%",t.left="50%"),t.top||t.bottom||(n="-50%",t.top="50%"),t.transform="translate(".concat(r,", ").concat(n,")"),t})),e}return t=a,(r=[{key:"componentDidMount",value:function(){(0,v.Z)().addEventListener("mousedown",this.handleClickOutside,!0)}},{key:"componentWillUnmount",value:function(){(0,v.Z)().removeEventListener("mousedown",this.handleClickOutside,!0)}},{key:"getZIndex",value:function(e){var t=(0,v.Z)().getComputedStyle(e).getPropertyValue("z-index");return Number(t)&&1===e.parentNode.nodeType?this.getZIndex(e.parentNode):t}},{key:"render",value:function(){var e=this.props,t=e.className,r=e.children,n=e.onDismiss,o=e.showCloseButton,i=this.getPositionProps();return(0,Yr.jsxs)(Cu,{className:t,positionProps:i,ref:this.dialogRef,children:[o&&(0,Yr.jsx)(wu,{children:(0,Yr.jsx)(sn.Z,{onClick:n,name:"anchored-dialog-close",children:(0,Yr.jsx)(hu.Z,{size:24})})}),r]})}}])&&bu(t.prototype,r),n&&bu(t,n),a}(o.Component),Nu=(0,Ir.Z)()(ju);function Lu(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Du,xu=(0,xr.Z)(Nu,{target:"e1olm3ll0"})((Lu(Pu={zIndex:Ur.k0.PERSISTENT_NOTIFICATION,display:"flex",alignItems:"center",gap:Mr.N.LARGE,padding:Mr.N.XLARGE,paddingRight:Mr.N.BASE6X,color:Zr.bo.primaryReverse,background:Zr.EU.primaryReverseWithEmphasis,boxShadow:"var(--shadow--elevation-2)",border:"1px solid ".concat(Zr.M1.secondary),borderRadius:Mr.N.BASE,cursor:"auto",".button--unstyled:hover .button--unstyled__children *":{color:Zr.MN.reverse}},(0,du.PZ)(hu.V),{color:Zr.MN.reverse}),Lu(Pu,"a",{color:Zr.bo.redLink,"&:hover":{color:Zr.bo.redLinkHover},"&:focus":{color:Zr.bo.redLink,backgroundColor:"inherit"}}),Pu),""),Mu=(0,Hr.Z)((function(e){var t=e.className,r=e.onDismiss,n=e.t;return(0,Yr.jsx)(xu,{className:t,positionProps:{bottom:Mr.N.LARGE},showCloseButton:!0,onDismiss:r,children:(0,Yr.jsx)("span",{children:(0,mu.Z)(n("privacy_change_notice"),{link:function(e){return(0,Yr.jsx)(Br.Z,{name:"main-nav-privacy-policy",href:"".concat(R.Z.ABOUT_BASE_URL,"/privacy/"),openInNewWindow:!0,children:e})}})})})})),Zu=r(60081),Uu=r(57533),ku=r(3842),Fu=r(14175),Gu=r(32672);function Bu(e){return Bu="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},Bu(e)}function zu(e){return function(e){if(Array.isArray(e))return Vu(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return Vu(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Vu(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Vu(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function Hu(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qu(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Wu(e,t){return Wu=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},Wu(e,t)}function Yu(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 r,n=$u(e);if(t){var o=$u(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return Ku(this,r)}}function Ku(e,t){return!t||"object"!==Bu(t)&&"function"!=typeof t?Xu(e):t}function Xu(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $u(e){return $u=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},$u(e)}function Ju(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Qu(){return Qu=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];
1for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Qu.apply(this,arguments)}var es=(0,xr.Z)(Nu,Qu({},{target:"e1g9ma9q1"},(0,vu.t)("showAll")))((function(e){if(e.showAll)return{height:"600px"}}),(Ju(Du={zIndex:Ur.k0.MODAL,display:"grid",gap:Mr.N.LARGE,padding:Mr.N.BASE,width:"720px",background:Zr.EU.primary,boxShadow:"var(--shadow--elevation-2)",border:"1px solid ".concat(Zr.M1.secondary),borderRadius:Mr.N.BASE,cursor:"auto",".anchored-dialog__close":{position:"absolute",top:Mr.N.BASE,right:Mr.N.BASE}},(0,du.PZ)(Uu.Rp),{padding:Mr.N.BASE,borderBottom:"1px solid ".concat(Zr.M1.secondary)}),Ju(Du,(0,du.PZ)(Uu.Rw),{margin:"0px",padding:"0px"}),Du),""),ts=(0,xr.Z)("div",{target:"e1g9ma9q0"})({display:"grid",gridTemplateColumns:"1fr auto",gap:Mr.N.LARGE,justifyItems:"end",padding:Mr.N.LARGE},""),rs=function(e){!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&&Wu(e,t)}(a,e);var t,r,n,i=Yu(a);function a(){var e;Hu(this,a);for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return Ju(Xu(e=i.call.apply(i,[this].concat(r))),"state",{showCta:!1,showAll:!1,editorialBoards:[],selectedSections:[],contextualSections:[]}),Ju(Xu(e),"timeout",null),Ju(Xu(e),"pickerAnchorTarget",o.createRef()),Ju(Xu(e),"getUniqueSectionsToAdd",(function(e,t){return t.filter((function(t){return!Se.Z.sectionsIncludesSection(e,t)}))})),Ju(Xu(e),"updateContextualSections",(function(t){var r=e.state,n=r.contextualSections,o=r.selectedSections,i=(0,Zu.kS)(t),a=e.getUniqueSectionsToAdd(n,i),c=[].concat(zu(a),zu(n)).slice(0,6),u=[].concat(zu(o),zu(a));e.setState({selectedSections:u,contextualSections:c})})),Ju(Xu(e),"startShowTimeout",(function(){e.timeout=(0,v.Z)().setTimeout((function(){e.props.usageTrackTopicPickerCta(),e.setState({showCta:!0})}),2e3)})),Ju(Xu(e),"onClickSeeMore",(function(){e.props.usageTrackTopicPickerCtaSeeMore(),e.setState({showAll:!0})})),Ju(Xu(e),"onClickExit",(function(){e.props.usageTrackTopicPickerCtaExit(),e.setState({showCta:!1})})),Ju(Xu(e),"onSave",(function(){var t=e.props,r=t.addPostOnboardingSocialAction,n=t.navFrom,o=e.state.selectedSections;if(!o)return null;e.setState({showCta:!1}),r({follow:{sections:o.map((function(e){return Se.Z.isTopic(e)?Tr.Z.decorateForFollowing(e):e})),navFrom:n}})})),e}return t=a,r=[{key:"componentDidMount",value:function(){var e=this.props,t=e.getEditorialBoards,r=e.editorialBoards,n=e.primarySection,o=e.currentArticle;r||t(),this.updateContextualSections(n||o),this.props.readyForMetrics&&this.props.shouldShowSignupCta&&this.startShowTimeout()}},{key:"componentDidUpdate",value:function(e){var t=this.props,r=t.readyForMetrics,n=t.shouldShowSignupCta,o=t.primarySection,i=t.currentArticle;e.primarySection!==o&&this.updateContextualSections(o),e.currentArticle!==i&&this.updateContextualSections(i),!e.readyForMetrics&&r&&n&&this.startShowTimeout(),!n&&this.state.showCta&&this.setState({showCta:!1})}},{key:"render",value:function(){var e=this,t=this.props,r=t.editorialBoards,n=t.className,o=t.isAuthenticated,i=t.isLargeScreen,a=t.t,c=this.state,u=c.showCta,s=c.showAll,l=c.selectedSections,f=c.contextualSections;if(!u||!r||o||!i)return null;var p=this.getUniqueSectionsToAdd(f,r),d=[].concat(zu(f),zu(p)),m=a("explore_more_on_flipboard"),v=l.map((function(e){return Ie.ZP.getTopicTagFromRemoteid(e.remoteid)})),h=f.map((function(e){return Ie.ZP.getTopicTagFromRemoteid(e.remoteid)}));return(0,Yr.jsx)(Yr.Fragment,{children:(0,Yr.jsxs)(es,{className:n,positionProps:{bottom:Mr.N.LARGE},showCloseButton:!0,onDismiss:this.onClickExit,showAll:s,children:[(0,Yr.jsx)(Uu.ZP,{titleText:m,pickerSections:d,selectedSections:l,setSelectedSections:function(t){return e.setState({selectedSections:t})},truncateLines:!s&&3}),(0,Yr.jsxs)(ts,{children:[!s&&(0,Yr.jsx)(Gr.ZP,{name:"topic-picker-showMore",styleVariation:Gr.NV.SECONDARY,onClick:this.onClickSeeMore,children:a("more")}),(0,Yr.jsx)(bn.Z,{name:"topic-picker-cta-singup",label:a("save"),styleVariation:Gr.NV.PRIMARY,onClick:this.onSave,displayStyle:J.co.TOPIC_PICKER_CTA,customUsageData:{contextual_sections:h,selected_sections:v},overrideOnboardingFlow:$.XX.STICKY_TOPIC_PICKER_CTA})]})]})})}}],r&&qu(t.prototype,r),n&&qu(t,n),a}(o.Component),ns=(0,Ir.Z)(qr.Z,fn.Z,ku.Z)((0,Fu.Z)((0,Gu.Z)((0,Hr.Z)(rs)))),os=r(49988),is=r(89463);function as(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var r=[],n=!0,o=!1,i=void 0;try{for(var a,c=e[Symbol.iterator]();!(n=(a=c.next()).done)&&(r.push(a.value),!t||r.length!==t);n=!0);}catch(e){o=!0,i=e}finally{try{n||null==c.return||c.return()}finally{if(o)throw i}}return r}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return cs(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return cs(e,t)}
1(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function cs(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var us=(0,lr.Z)("DoNotSellLink"),ss={FULL:"full",SPARSE:"sparse"},ls=(0,xr.Z)("footer",{target:"eb7i3b82"})({padding:"".concat(Mr.N.BASE6X," ").concat(Mr.N.LARGE," ").concat(Mr.N.BASE8X),a:{padding:"".concat(Mr.N.MEDIUM),textDecoration:"underline",textTransform:"capitalize","&:focus":{textDecoration:"none"}},".footer__links":{fontSize:"14px",textAlign:"center","li, a":{display:"inline-block"}},".footer__copyright":{display:"block",margin:"".concat(Mr.N.LARGE," auto"),textAlign:"center",fontSize:"12px"}},""),fs=(0,xr.Z)(ns,{target:"eb7i3b81"})((function(e){var t=e.bottom;return{bottom:"calc(".concat(t," + ").concat(Mr.N.LARGE,")"),marginBottom:t?Mr.N.LARGE:0}}),""),ps=(0,xr.Z)(Mu,{target:"eb7i3b80"})((function(e){return{height:e.height}}),kr.j.phone({width:"100%"}),""),ds=function(e){var t=e.isTabletNarrow,r=e.isAuthenticated,n=e.footerTheme,i=e.featureFlags,a=e.magazineInvite,c=e.showModal,u=e.t,s=(new Date).getFullYear(),l=n===ss.FULL,f=t?Mr.N.BASE12X:Mr.N.BASE10X,p=as((0,o.useState)(!1),2),d=p[0],m=p[1];(0,o.useEffect)((function(){return m((0,Sr.Do)("privacyNoticeViewed"))}),[]);var v=i.PRIVACY_CHANGE_NOTICE&&!d;return(0,Yr.jsxs)(Yr.Fragment,{children:[(0,Yr.jsxs)(ls,{className:"footer",children:[(0,Yr.jsxs)("ul",{className:"footer__links",children:[!r&&l&&(0,Yr.jsx)("li",{children:(0,Yr.jsx)(En.Z,{name:"footer-login"})}),l&&(0,Yr.jsxs)(o.Fragment,{children:[!r&&(0,Yr.jsx)("li",{children:(0,Yr.jsx)(Br.Z,{title:u("newsletters_sign_up_tooltip"),href:"/newsletters",children:u("newsletters_link")})}),(0,Yr.jsx)("li",{children:(0,Yr.jsx)(Br.Z,{title:u("about_us_tooltip"),href:Q.Z.ABOUT_BASE_URL,openInNewWindow:!0,children:u("about_us")}
1)}),(0,Yr.jsx)("li",{children:(0,Yr.jsx)(Br.Z,{title:u("blog_tooltip"),href:"".concat(Q.Z.ABOUT_BASE_URL,"/blog/"),openInNewWindow:!0,children:u("blog")})}),i.WIDGET_TOOL?(0,Yr.jsx)("li",{children:(0,Yr.jsx)(Br.Z,{title:u("tools_tooltip"),onClick:function(){c(os.Z)},openInNewWindow:!0,children:"🛠️"})}):(0,Yr.jsx)("li",{children:(0,Yr.jsx)(Br.Z,{title:u("tools_tooltip"),href:"".concat(Q.Z.ABOUT_BASE_URL,"/tools/"),openInNewWindow:!0,children:u("tools")})}),(0,Yr.jsx)("li",{children:(0,Yr.jsx)(Br.Z,{title:u("publishers_tooltip"),href:"".concat(Q.Z.ABOUT_BASE_URL,"/forpublishers/"),openInNewWindow:!0,children:u("publishers")})}),(0,Yr.jsx)("li",{children:(0,Yr.jsx)(Br.Z,{title:u("help_tooltip"),href:"".concat(Q.Z.HELP_CENTER_URL),openInNewWindow:!0,children:u("help")})})]}),(0,Yr.jsx)("li",{children:(0,Yr.jsx)(Br.Z,{title:u("terms_tooltip"),href:"".concat(Q.Z.ABOUT_BASE_URL,"/terms/"),openInNewWindow:!0,children:u("terms")})}),(0,Yr.jsx)("li",{children:(0,Yr.jsx)(Br.Z,{title:u("privacy_policy_tooltip"),href:"".concat(Q.Z.ABOUT_BASE_URL,"/privacy/"),openInNewWindow:!0,children:u("privacy_policy")})}),(0,Yr.jsx)(lu.Z,{children:(0,Yr.jsx)("li",{children:(0,Yr.jsx)(us,{})})}),(0,Yr.jsx)(fu.Z,{children:(0,Yr.jsx)("li",{children:(0,Yr.jsx)(pu.Z,{})})}),l&&(0,Yr.jsx)(o.Fragment,{children:(0,Yr.jsx)("li",{children:(0,Yr.jsx)(Br.Z,{title:u("sitemap_tooltip"),href:"/sitemap",children:u("sitemap")})})})]}),(0,Yr.jsxs)(Br.Z,{title:u("copyright_tooltip"),href:"".concat(Q.Z.ABOUT_BASE_URL,"/copyright"),className:"footer__copyright",openInNewWindow:!0,children:["© ",s," ",u("flipboard")]})]}),i.TOPIC_PICKER_CTA&&!a&&(0,Yr.jsx)(fs,{bottom:v?f:0}),v&&(0,Yr.jsx)(ps,{height:f,onDismiss:function(){(0,Sr.d7)("privacyNoticeViewed",!0),m(!0)}})]})};ds.propTypes={isPhone:Lr().bool.isRequired,isTabletNarrow:Lr().bool.isRequired,footerTheme:Lr().oneOf(Object.values(ss)),isAuthenticated:Lr().bool.isRequired,featureFlags:Lr().object,magazineInvite:Lr().object,showModal:Lr().func.isRequired,t:Lr().func.isRequired},ds.defaultProps={footerTheme:ss.FULL};var ms=(0,Ir.Z)(qr.Z,fn.Z,On.Z,is.Z,Un.Z)((0,Hr.Z)(ds)),vs=r(10700),hs=r(76632);function _s(e){return _s="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},_s(e)}function ys(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function bs(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ys(Object(r),!0).forEach((function(t){Es(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ys(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Es(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function gs(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Os(e,t){return Os=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},Os(e,t)}function Ss(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 r,n=Rs(e);if(t){var o=Rs(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return As(this,r)}}function As(e,t){return!t||"object"!==_s(t)&&"function"!=typeof t?Ts(e):t}function Ts(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Rs(e){return Rs=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},Rs(e)}var Is=function(e){!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&&Os(e,t)}(i,e);var t,r,n,o=Ss(i);function i(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),(t=o.call(this,e)).state={shownLongEnough:!1},t.handleMovement=t.handleMovement.bind(Ts(t)),t}return t=i,(r=[{key:"componentDidMount",value:function(){var e=this;(0,v.Z)().addEventListener("scroll",this.handleMovement),(0,v.Z)().addEventListener("mousemove",this.handleMovement),this.timeout=(0,v.Z)().setTimeout((function(){e.setState({shownLongEnough:!0})}),this.props.timeout)}},{key:"componentWillUnmount",value:function(){(0,v.Z)().removeEventListener("scroll",this.handleMovement),(0,v.Z)().removeEventListener("mousemove",this.handleMovement),(0,v.Z)().clearTimeout(this.timeout)}},{key:"handleMovement",value:function(){this.state.shownLongEnough&&this.props.toastDismiss()}},{key:"render",value:function(){var e=this.props,t=e.style,r=e.props,n=e.toastDismiss,o=(0,hs.Z)(r),i=hr()({"toast-message":!0,"toast-message--info":t===$.kY.INFO,"toast-message--error":t===$.kY.ERROR});return(0,Yr.jsx)("div",{className:i,children:(0,Yr.jsxs)("div",{className:"toast-message__content",children:[(0,Yr.jsx)("p",{role:"alert",className:"ui-text--body",children:(0,Yr.jsx)(o,bs({},r))}),(0,Yr.jsx)(Gr.ZP,{name:"close-toast-message",className:"toast-message__close",onClick:function(){return n()},children:(0,Yr.jsx)(ai.Z,{color:"#fff"})})]})})}}])&&gs(t.prototype,r),n&&gs(t,n),i}(o.Component);
1Is.propTypes={message:Lr().string,style:Lr().string,timeout:Lr().number,toastDismiss:Lr().func.isRequired,props:Lr().object},Is.defaultProps={message:null,style:null,timeout:5e3,props:{}};var Ps=(0,vs.Z)(Is),Cs=r(14876),ws=r(66760);function js(e){return js="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},js(e)}function Ns(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Ls(e,t){return Ls=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},Ls(e,t)}function Ds(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 r,n=Zs(e);if(t){var o=Zs(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return xs(this,r)}}function xs(e,t){return!t||"object"!==js(t)&&"function"!=typeof t?Ms(e):t}function Ms(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Zs(e){return Zs=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},Zs(e)}var Us=function(e){!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&&Ls(e,t)}(i,e);var t,r,n,o=Ds(i);function i(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),(t=o.call(this,e)).authPages=t.authPages.bind(Ms(t)),t}return t=i,(r=[{key:"componentDidUpdate",value:function(e){this.props.routing.pathname!==e.routing.pathname&&this.pathChanged(e)}},{key:"pathChanged",value:function(e){this.props.onChange&&this.props.onChange(),(0,Cs.Z)(),(0,ws.Z)(),this.authPages(e)}},{key:"authPages",value:function(e){var t=this.props,r=t.isAuthRoute,n=t.setIsChromeless;r?n(!0):!r&&e.isAuthRoute&&n(!1)}},{key:"render",value:function(){return null}}])&&Ns(t.prototype,r),n&&Ns(t,n),i}(o.Component);Us.propTypes={onChange:Lr().func,routing:Lr().object.isRequired,isAuthRoute:Lr().bool.isRequired,setIsChromeless:Lr().func.isRequired};var ks=(0,Ir.Z)(gn.Z)(Us),Fs=(0,Ir.Z)({actions:{setIsChromeless:ir.W5}})(ks),Gs=r(63547),Bs=r(56976),zs=r(45619),Vs=r(94917);function Hs(e){return Hs="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},Hs(e)}function qs(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Ws(e,t,r,n,o,i,a){try{var c=e[i](a),u=c.value}catch(e){return void r(e)}c.done?t(u):Promise.resolve(u).then(n,o)}function Ys(e){return function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(e){Ws(i,n,o,a,c,"next",e)}function c(e){Ws(i,n,o,a,c,"throw",e)}a(void 0)}))}}function Ks(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Xs(e,t){return Xs=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},Xs(e,t)}function $s(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 r,n=el(e);if(t){var o=el(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return Js(this,r)}}function Js(e,t){return!t||"object"!==Hs(t)&&"function"!=typeof t?Qs(e):t}function Qs(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function el(e){return el=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},el(e)}function tl(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}
1var rl,nl,ol=(0,lr.Z)("MobileGate"),il=(0,lr.Z)("OnboardingTopicPicker"),al=(0,lr.Z)("LoadFullProfile"),cl=(0,lr.Z)("DevelopmentStuff"),ul=function(e){!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&&Xs(e,t)}(c,e);var t,r,n,i,a=$s(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),tl(Qs(t=a.call(this,e)),"state",{gptHasLoaded:!1,caughtError:!1}),tl(Qs(t),"bootstrap",Ys(regeneratorRuntime.mark((function e(){var r,n,o,i,a,c,u,s,l,p,d,m,h,_,y,b,E,g,O;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.props,o=n.isAuthenticated,i=n.isFromCrawler,a=n.showModal,c=n.shouldShowMobileGate,u=n.experimentOverrides,s=n.forcedTraceLog,l=n.setABTestFeatureFlags,p=n.clearAppErrors,d=n.getEditorialBoards,m=n.getBrowserExperiments,h=n.setViewportByBrowserWidth,_=n.setBanners,y=n.history,b=n.featureFlags,E=n.setFeatureFlagABTestSetupComplete,g=n.queueLoadMissingSocialActivity,h((0,v.Z)().innerWidth),rl.subscribe(),nl.subscribe(),t.honorUserTheme(),_(),y.listen((function(){(0,gr.aM)(),p&&p()})),s&&f.ZP.info(s),(O=null===(r=(0,v.Z)().googletag)||void 0===r?void 0:r.cmd)&&O.push((function(){return t.setState({gptHasLoaded:!0})})),d(),c&&a(ol),e.next=14,t.bootstrapUsage();case 14:if(i){e.next=19;break}return e.next=17,m(u);case 17:l(),E(!0);case 19:t.handlePersistedMessaging(),!o&&b.INCLUDE_JS_EXTERNALS&&(0,Rr.HH)(),g();case 22:case"end":return e.stop()}}),e)})))),tl(Qs(t),"bootstrapUsage",Ys(regeneratorRuntime.mark((function e(){var r,n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.props.usageBootstrap,n="onboard"===t.props.routing.query.action,t.props.isAuthenticated||n||t.persistActivationMetricDetails(),e.next=5,r(J.Qo,J.nf);case 5:t.trackAppEnter();case 6:case"end":return e.stop()}}),e)})))),tl(Qs(t),"persistActivationMetricDetails",(function(){var e=t.props,r=e.isAmp,n=e.adjustNavFrom,o=e.activationReferrer,i=e.adjustSectionId,a=e.appUrl,c=e.isSectionRoute,u=e.experiments,s=e.utmParams,l=new Date(Date.now()+36e5);if((0,Sr.Do)(J.qp)||(0,Sr.d7)(J.qp,(0,v.Z)().location.toString(),l),n&&!(0,Sr.Do)(J.VA)&&(0,Sr.d7)(J.VA,n,l),o&&!(0,Sr.Do)(J.m)&&(0,Sr.d7)(J.m,o,l),a&&!(0,Sr.Do)(J.ur)){var f=Er.Z.experimentsForTracking(u),p=Ar.Z.deepLink(a,r,n||"",i||"",f,void 0,s,o||"");p&&(0,Sr.d7)(J.ur,p,l)}c&&i&&!(0,Sr.Do)(J.K3)&&(0,Sr.d7)(J.K3,i,l)})),tl(Qs(t),"handlePersistedMessage",(function(e,r){var n=(0,Sr.Do)(e);if(n)r(n),(0,Sr.kT)(e);else{var o="".concat(e,"_key"),i=(0,Sr.Do)(o);i&&(r(t.props.t(i)),(0,Sr.kT)(o))}})),tl(Qs(t),"handlePersistedMessaging",(function(){var e=t.props,r=e.toastShowErrorAction,n=e.toastShowInfoAction;t.handlePersistedMessage("show_client_error",r),t.handlePersistedMessage("show_client_info",n)})),tl(Qs(t),"trackAppEnter",(function(){var e=t.props,r=e.usageTrackAppEnter,n=e.routing,o=n.pathname,i=n.query,a=null;o.indexOf("/video-player")>-1&&(a=i.impression?J.QQ.VIDEO_PLAYER_IMPRESSION:J.QQ.VIDEO_PLAYER_VIDEO_SELECTED),"loginWithLink"===i.action&&(a=J.QQ.LOGIN_WITH_LINK,_r.Z.trackLogin(!0,$.K9.FLIPBOARD)),r(o,a)})),tl(Qs(t),"onResize",(function(){t.props.setViewportByBrowserWidth((0,v.Z)().innerWidth)})),tl(Qs(t),"honorUserTheme",(function(){var e=t.props,r=e.isAuthenticated,n=e.setAppThemeOverride,o=(0,v.Z)()&&(0,v.Z)().matchMedia("(prefers-color-scheme: dark)").matches?$.SJ.DARK:void 0;n((r?(0,v.Z)().localStorage.getItem("appThemeOverride"):void 0)||o||$.SJ.DEFAULT)})),tl(Qs(t),"enableMetricsProcessing",(function(){var e=t.props,r=e.experiments,n=e.isAuthenticated,o=e.referrer,i=e.auth.uid,a=e.usageEnableTracking,c=Er.Z.experimentsForTracking(r);_r.Z.setReferrer(o),_r.Z.setAppVersion(Q.Z.VERSION),_r.Z.setAbTests(c),_r.Z.setIsAuthenticated(n),_r.Z.setGA4UserId(n?i:null),_r.Z.enableTracking(),a()})),tl(Qs(t),"shouldRenderFooter",(function(){var e=t.props,r=e.isChromeless,n=e.isEmbeddable;return!r&&!n})),tl(Qs(t),"followOnboardingTopics",Ys(regeneratorRuntime.mark((function e(){var r,n,o,i,a,c;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r=t.props,n=r.followSections,o=r.editorialBoards,e.prev=1,i=(0,Sr.Do)("onboarding_followed_topics"),!(a=!!i&&JSON.parse(i))){e.next=9;break}return c=Tr.Z.getSelectedTopicsFromEditorialBoards(a,o),e.next=8,n(c,J.rf.FIRST_LAUNCH);case 8:(0,Sr.kT)("onboarding_followed_topics");case 9:e.next=14;break;case 11:e.prev=11,e.t0=e.catch(1),e.t0 instanceof Error&&d.Z.captureException(e.t0);case 14:case"end":return e.stop()}}),e,null,[[1,11]])})))),tl(Qs(t),"startInviteOnboarding",(function(){var e=t.props,r=e.adjustNavFromRoute;(0,e.setTriggerInviteOnboarding)(!1),t.showOnboardingTopicPicker({navFrom:r,inviteFlow:!0})})),tl(Qs(t),"showOnboardingTopicPicker",function(){var e=Ys(regeneratorRuntime.mark((function e(r){var n,o,i;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.props,o=n.showModal,i=n.loadContextualOnboardingSections,e.next=3,i();case 3:o(il,r);case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()),tl(Qs(t),"handleKeyDown",(function(e){if(!t.props.isAmp&&(0,v.Z)()&&e.keyCode===Or.t.TAB)(0,v.Z)().document.body.classList.add("user-is-tabbing")})),rl=new yr.Z(t.onResize),nl=new Or.Z(t.handleKeyDown),t}return t=c,r=[{key:"componentDidUpdate",value:(i=Ys(regeneratorRuntime.mark((function e(t){var r,n,o,i,a,c,u,s,l,f,p,d,m,h,_,y,b;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!this.props.routing.pathname||void 0!==t.routing.pathname){e.next=4;break}return e.next=3,this.bootstrap();case 3:return e.abrupt("return");case 4:if(n=this.props,o=n.shouldShowMobileGate,i=n.showModal,a=n.currentState,c=n.editorialBoards,u=n.appTheme,s=n.isAuthRoute,l=n.profile,f=n.triggerInviteOnboarding,p=n.readyForMetrics,d=n.isAccessTokenInvalid,m=n.routing,h=n.setAppTheme,_=n.performPostOnboardingSocialActions,y=n.isFromConfirmation,b=n.startOnboardingFlow,m.pathname!==t.routing.pathname&&(h($.SJ.DEFAULT),(0,gr.aM)()),!t.shouldShowMobileGate&&o&&i(ol),!t.readyForMetrics&&p&&this.enableMetricsProcessing(),!t.isAccessTokenInvalid&&d&&((0,v.Z)().location=Q.Z.LOGIN_URL),null!==(r=t.profile)&&void 0!==r&&r.userInfo||null==l||!l.userInfo){e.next=13;break}
1return e.next=12,_();case 12:y&&((0,Sr.Do)("publisher-onboard")?b($.XX.BECOME_PUBLISHER):b($.XX.POST_VERIFICATION));case 13:f&&this.startInviteOnboarding(),t.currentState&&t.editorialBoards||!a||!c||this.followOnboardingTopics(),u===t.appTheme||s||br(u);case 16:case"end":return e.stop()}}),e,this)}))),function(e){return i.apply(this,arguments)})},{key:"componentDidCatch",value:function(e){(0,v.Z)().bugReportErrors&&(0,v.Z)().bugReportErrors.push(e),d.Z.captureException(e),this.setState({caughtError:!0})}},{key:"componentWillUnmount",value:function(){rl.unsubscribe(),nl.unsubscribe()}},{key:"render",value:function(){var e=this,t=this.props,r=t.isAuthenticated,n=t.modals,i=t.notFound,a=t.showAmpStory,c=t.toastProps,u=t.toastStyle,s=t.googleAdVisibility,f=t.isEmbeddable,p=this.state.caughtError?(0,Yr.jsx)(ma,{caughtError:!0}):(0,Yr.jsx)(ma,{isLoggedIn:r,notFound:i},"top-level-routes");if(a)return p;var d=hr()({"google-ad-is-visible":0!==s,widget:f}),m=ss.FULL;return(0,Yr.jsxs)("div",{className:"app",children:[(0,Yr.jsx)(Fs,{onChange:function(){e.state.caughtError&&e.setState({caughtError:!1})}}),r&&(0,Yr.jsxs)(o.Fragment,{children:[(0,Yr.jsx)(al,{}),(0,Yr.jsx)(Aa,{})]}),(0,Yr.jsxs)("div",{className:d,children:[p,this.shouldRenderFooter()&&(0,Yr.jsx)(ms,{footerTheme:m}),n.map((function(e){return(0,o.createElement)(e.component,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?qs(Object(r),!0).forEach((function(t){tl(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):qs(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},e.props,{key:e.component.displayName||e.component.name}))})),((null==c?void 0:c.message)||(null==c?void 0:c.template))&&(0,Yr.jsx)(Ps,{props:c,style:u},c.message)]}),!l.Z.isProduction&&!f&&(0,Yr.jsx)(cl,{}),(0,Yr.jsx)(su,{})]})}}],r&&Ks(t.prototype,r),n&&Ks(t,n),c}(o.Component),sl=(0,Ir.Z)(Ln.Z,gn.Z,qr.Z,Un.Z,po.Z,fo.Z,Bs.Z,zs.Z,On.Z,Vs.Z,$c.Z)((0,Wa.Z)((0,Hr.Z)((0,Gs.Z)((0,vs.Z)((0,Gu.Z)(ul)))))),ll={setViewportByBrowserWidth:ir.Bd,getBrowserExperiments:ir.UY,clearAppErrors:ir.DD,setAppThemeOverride:ir.Z$,setAppTheme:ir.wl,setBanners:ir.zG,setIsNewUser:ir.Wu,followSections:cr.zK,getEditorialBoards:ur.Ze,usageTrackAppEnter:sr.$V,usageSetReferrer:sr.SJ,usageSetNavFrom:sr.F$,usageBootstrap:sr.nK,usageEnableTracking:sr.y$,usageTrackOnboardAppStartAuthenticated:sr.cb,setServiceWorkerRegistered:ir.g3,setABTestFeatureFlags:Lt.r,setTriggerInviteOnboarding:ir.pi,loadContextualOnboardingSections:ar.y_,performPostActivationActions:cr.j4,setFeatureFlagABTestSetupComplete:ir.Zh,performPostOnboardingSocialActions:function(){return function(){var e,t=(e=regeneratorRuntime.mark((function e(t,r){var n,o,i,a,c,u,s,l,f,p,d,m,v,h,_,y,b,E,g,O,S,A;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=r(),o=n.auth.uid,i=n.profile.postOnboardingSocialAction,a=i.like,c=i.follow,u=i.favorite,s=i.flip,l=(0,rr.Tq)(r()),a&&(p=(f=a).item,d=f.section,m=f.navFrom,t((0,fr.YI)(p,o,d,m))),!c){e.next=7;break}return h=(v=c).sections,_=v.navFrom,e.next=7,t((0,cr.zK)(h,_));case 7:return u&&(b=(y=u).sectionId,E=y.sectionTitle,t((0,cr.T1)(b,E))),s&&l&&(O=(g=s).item,S=g.section,A=g.navFrom,t((0,pr.K4)(mr,{item:O,section:S,navFrom:A}))),e.abrupt("return",t((0,fr.Of)()));case 10:case"end":return e.stop()}}),e)})),function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(e){dr(i,n,o,a,c,"next",e)}function c(e){dr(i,n,o,a,c,"throw",e)}a(void 0)}))});return function(e,r){return t.apply(this,arguments)}}()}},fl=(0,c.$j)((function(e){var t=e.app,r=e.auth,n=e.modal,o=e.toast,i=e.content,a=e.profile,c=e.magazineInvite,u=(0,or.$8)(e),s=t.isFromConfirmation;return{auth:r,currentState:(0,rr.Um)(e),isAuthenticated:u,isAccessTokenInvalid:r.isAccessTokenInvalid,readyForMetrics:t.readyForMetrics,modals:n.current,experiments:t.noExperiments?null:t.experiments,experimentOverrides:t.experimentOverrides,notFound:t.notFound,showAmpStory:t.showAmpStory,title:t.title,toastProps:o.props,toastStyle:o.style,googleAdVisibility:t.googleAdVisibility,isFromCrawler:t.isFromCrawler,isFromConfirmation:s,isChromeless:t.isChromeless,isEmbeddable:t.isEmbeddable,navFromOverride:t.navFromOverride,adjustNavFrom:t.adjustNavFrom,adjustSectionId:t.adjustSectionId,referrer:t.referrer,activationReferrer:t.activationReferrer,appUrl:t.appUrl,forcedTraceLog:t.forcedTraceLog,utmParam
1s:t.utmParams,editorialBoards:i.editorialBoards,isArticleRoute:(0,nr.yB)(e),isSectionRoute:(0,nr.Ck)(e),seoExperiments:t.seoExperiments,flurl:t.flurl,isAuthRoute:(0,nr.qg)(e),triggerInviteOnboarding:t.triggerInviteOnboarding,postOnboardingSocialAction:a.postOnboardingSocialAction,magazineInvite:c}}),(function(e){return(0,_.DE)(ll,e)}))(sl),pl=fl,dl=r(57641);function ml(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function vl(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var hl=function(e){var t=(0,v.Z)();if(t&&"function"==typeof t.addEventListener){var r=function(){return"".concat(Date.now().toString(36),"-").concat(Math.random().toString(36).slice(2,10))},n=r(),o=0,i={},a=null,c=null,u=function(e){i[e.name]=e.value,e.navigationType&&(a=e.navigationType)};(0,dl.mr)(u),(0,dl.a4)(u),(0,dl.NO)(u),(0,dl.mw)(u),(0,dl.Yn)(u);var s=function(){var t=function(){var e={},t=function(t,r){"number"==typeof i[r]&&(e[t]=Math.round(i[r]))};return t("ttfb_ms","TTFB"),t("fcp_ms","FCP"),t("lcp_ms","LCP"),t("inp_ms","INP"),"number"==typeof i.CLS&&(e.cls=Math.round(1e4*i.CLS)/1e4),a&&(e.nav_type=a),e}();if(0!==Object.keys(t).length){var r=JSON.stringify(t);r!==c&&(c=r,e(function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ml(Object(r),!0).forEach((function(t){vl(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ml(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},t,{pv_id:n,pv_seq:o+=1})))}};t.addEventListener("visibilitychange",(function(){t.document&&"hidden"===t.document.visibilityState&&s()}),!0),t.addEventListener("pagehide",(function(){return s()}),!0),t.addEventListener("pageshow",(function(e){e&&e.persisted&&(n=r(),o=0,i={},a=null,c=null)}),!0)}};r(17368),r(48319);function _l(e){return function(e){if(Array.isArray(e))return yl(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return yl(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return yl(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function yl(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var bl=function(e){return(0,f.ZK)("normalizedRequestPathname - ".concat(e))||"UNKNOWN"},El="[^/]+",gl="@".concat(El),Ol=function(e){try{if("string"!=typeof e)return d.Z.captureMessage("normalizedRequestPathname: req.url is not a string",{url:e}),bl("url is not a string ".concat(e));var t=(0,T.K5)(e).pathname;if(!t)return d.Z.captureMessage("normalizedRequestPathname: could not get pathname",{url:e}),bl("could not get pathname ".concat(e));var r=function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];return new RegExp(["^/"].concat(_l(r.join("/+")),["/?$"]).join("")).test(t)};if(t=t.replace(/^\/%40/,"/@"),r(gl,"storyboards",El,"edit"))return"/@:username/storyboards/:storyboardId/edit";if(r(gl,".*-[a-z0-9]{16}"))return"/@:username/:storyboardSlug";if(r(gl))return"/@:username";if(r(gl,El,"rss"))return"/@:username/:slug/rss";if(r(gl,El,"widget"))return"/@:username/:slug/widget";if(r(gl,El))return"/@:username/:slug";if(r(gl,El,El,El,El))return"/@:username/:slug/:articleTitle/:sourceURLKey/:source";if(r(gl,El,El,El))return"/@:username/:slug/:articleTitle/:source";if(r(gl,El,El))return"/@:username/:slug/:articleTitle";if(r("article",El,El,El))return"/article/:articleTitle/:sourceURLKey/:source";if(r("article",El,El))return"/article/:articleTitle/:sourceURLKey";if(r("article",El))return"/article/:sourceURL";if(r("video-player",El))return"/video-player/:source";
1if(r("search",El))return"/search/:q";if(r("topic",El,El,El))return"/topic/:topicId/:articleTitle/:sourceURLKey";if(r("topic",El))return"/topic/:topicId";if(r("topic",El,"rss"))return"/topic/:topicId/rss";if(r("videos",El,El,El))return"/videos/:topicId/:articleTitle/:sourceURLKey";if(r("videos",El))return"/videos/:topicId";if(r("videos",El,"rss"))return"/videos/:topicId/rss";if(r("video",El,El))return"/video/:feed/:id";if(r("video",El,El,El))return"/video/:feed/:id/:id";if(r("video",El,El,El,El))return"/video/:feed/:id/:id/:title";if(r("storyboard",El))return"/storyboard/:topicId";if(r("storyboard",El,"rss"))return"/storyboard/:topicId/rss";if(r("section","sid",El))return"/section/sid/:slug";if(r("section","sid",El,"rss"))return"/section/sid/:slug/rss";if(r("section","sid",El,"widget"))return"/section/sid/:slug/widget";if(r("section",El))return"/section/:slug";if(r("section",El,"rss"))return"/section/:slug/rss";if(r("section",El,"widget"))return"/section/:slug/widget";if(r("section",El,El,El))return"/section/:slug/:articleTitle/:sourceURLKey";if(r("sitemap",El))return"/sitemap/:type";if(r("sitemap",El,El))return"/sitemap/:type/:filter";if(r("sitemap",El,El,El))return"/sitemap/:type/:filter/:page";if(t.match(/^\/api\/v2/)){var n=t.split("/").map((function(e){return e.match(/^[0-9]+_/)||e.match(/:[mc]:/i)?":param":e})).join("/");return n.match(/\/0$/)?n:n.replace(/\/[0-9]+$/,"/:param")}return t.match(/^\/assets\//)?"/assets/:some-asset":["/","/health","/share","/content_unavailable","/following","/section","/settings","/profile","/app-ads.txt","/comscore_pageview","/account/emailSettings","/newsletters","/sitemap","/sitemap/topics","/sitemap/profiles","/sitemap/storyboards","/redirect","/redirect/ws"].indexOf(t)>-1?t:bl("unable to match ".concat(t))}catch(e){return d.Z.captureException(e),bl("caught ".concat(e))}},Sl="home",Al="topic",Tl="profile",Rl="article",Il="video",Pl="section",Cl="magazine",wl="other",jl=function(e){if("string"!=typeof e||0===e.length)return wl;var t=e.replace(/^\/%40/i,"/@");return"/"===t?Sl:0===t.indexOf("/topic/")?Al:0===t.indexOf("/@")?Tl:0===t.indexOf("/article/")?Rl:0===t.indexOf("/video/")?Il:0===t.indexOf("/section/")?Pl:0===t.indexOf("/magazine/")||0===t.indexOf("/magazines/")?Cl:wl},Nl=new RegExp(["aolbuild","baidu","bingbot","duckduckgo","adsbot-google","googlebot","mediapartners-google","google-structured-data-testing-tool","teoma","slurp","yandex","ahrefsbot","deepcrawl","flipboardproxy","netnewswire","newsify","feedfetcher","protopage","feedbin","dlvr.it","twitterbot","feedr","microsoft profiling","applenewsbot","easybib","pingbot","feed::find","node-fetch","ccbot","vable","newsbot","hypefactors","postmanruntime","newsblur","awariosmartbot","automattic","acebook","guzzlehttp","accompanybot","youbot","fastfeed","jamroom","serendeputy","searchenginebot","feedparser","slackbot","facebookexternalhit","zapier","universalfeedparser","feedlybot","unirest-java","omgili","magpie-crawler","feedburner","googleproducer","wordpress","feedly","linkedinbot","superfeedr","social news desk","whatsapp","mediatoolkitbot","freshrss","ilearn.sfsu","mastodon","eyemonit","netvibes","tiny tiny","sffeedreader","grammarly","sogou web spider","amazonadbot"].join("|"),"i"),Ll=function(e){if(e.isAuthenticated)return!1;if(e.isRSS)return!0;var t=e.get("user-agent");return!(!t||!t.match(Nl))};function Dl(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function xl(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}!function(){var e=(0,v.Z)(),t=e.navigator;if(t&&t.userAgent&&!Ll({get:function(){return t.userAgent}})&&tr.getState().featureFlags.WEB_VITALS_REPORTING&&!(Math.random()>=.1)){var r=e.location&&e.location.href,n=e.location&&e.location.pathname||"",o=Ol(r),i=jl(n);hl((function(e){tr.dispatch((0,sr.b6)(function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
1t%2?Dl(Object(r),!0).forEach((function(t){xl(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Dl(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},e,{url:o,page_type:i})))}))}}();var Ml,Zl=(0,qt.K3)(),Ul=window.CLIENT_CONFIG.SENTRY_CLIENT_DSN;m(s,Ul,Ml);var kl,Fl=i.hydrate,Gl=!0;try{!l.Z.isProduction&&(0,v.Z)().location.search.match(/disable-hydrate/)&&(Gl=!1)}catch(e){Gl=!0}finally{Gl&&(kl=pl,(0,u.TA)((function(){return Fl((0,Yr.jsx)(c.zt,{store:tr,children:(0,Yr.jsx)(a.BrowserRouter,{children:(0,Yr.jsx)(h.wj.Provider,{value:Zl,children:(0,Yr.jsx)(kl,{})})})}),document.getElementById("content"))})))}(function(){if(!(0,v.Z)())return Promise.reject(new Error("window object not found"));var e=(0,v.Z)().navigator,t=(0,v.Z)().CLIENT_CONFIG.serviceWorkerUrl;return e&&"serviceWorker"in e&&t?e.serviceWorker.register(t,{scope:"/"}).then((function(e){f.ZP.debug("Registration succeeded. Scope is ".concat(e.scope))})).catch((function(e){f.ZP.debug("Registration failed with ".concat(e))})):Promise.reject(new Error("Browser does not support service workers"))})().catch((function(e){f.ZP.error("error: ",e)}))},3130:function(e,t,r){"use strict";r.d(t,{m1:function(){return Te},Li:function(){return Ie},mB:function(){return Ne},Zk:function(){return je},vb:function(){return we},DI:function(){return Ce}});r(95342),r(39529),r(31235),r(49228);var n=r(8260),o=r(7799),i=r(98278),a=r(47573),c=r(90068),u=(r(96928),r(61229),r(34115),r(634),r(58188),r(20796),r(15735),r(28673),r(6886),r(12167)),s=(r(18178),r(26936),r(2784)),l=r(45697),f=r.n(l),p=r(45828),d=r(30001),m=r(37236),v=r(17394),h=r(90856),_=r(32707),y=r(49372),b=r(5109),E=r(58123),g=r(48758),O=r(42547),S=r(93440),A=r(26626),T=r(15919),R=r(36188),I=r(37757),P=r(50839),C=r(28144),w=r(70042),j=r(46120),N=r(68869),L=r(52322),D="signup-cta-get-app-modal";function x(e){var t=e.dismissModal,r=e.t;return(0,L.jsx)(P.Z,{name:D,className:"signup-cta-get-app-modal",size:w.q5.MEDIUM,children:(0,L.jsxs)(C.Z,{modalName:D,showCloseButton:!0,fixedControls:!0,verticalControls:!0,onDismiss:t,children:[(0,L.jsx)("h1",{className:"signup-cta-get-app-modal__title brand-text--title",children:r("qr_app_download_title")}),(0,L.jsx)(j.Z,{image:"https://s3.amazonaws.com/s.flipboard.com/assets/webu/images/signup-cta-get-app-qr-code.png"})]})})}x.propTypes={dismissModal:f().func.isRequired,t:f().func.isRequired};var M=(0,c.Z)(N.Z)((0,I.Z)(x)),Z=r(24785),U=r(6110),k=r(60986),F=r(8225),G=r(46315);function B(e){return B="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},B(e)}function z(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function V(e,t){return V=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},V(e,t)}function H(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 r,n=Y(e);if(t){var o=Y(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return q(this,r)}}function q(e,t){return!t||"object"!==B(t)&&"function"!=typeof t?W(e):t}function W(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Y(e){return Y=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},Y(e)}var K,X,$,J="https://cdn.flipboard.com/dev_O/insideflipboard/10282020/download-app-small.png",Q="https://cdn.flipboard.com/dev_O/insideflipboard/10282020/download-app-medium.png",ee="https://cdn.flipboard.com/dev_O/insideflipboard/10282020/download-app-large.png",te="app_install_banner",re=(0,u.Z)("div",{target:"e106cnfj18"})({name:"ccssn4",styles:"display:flex;align-items:center;grid-template-columns:1fr 1fr 1fr;gap:8px;width:fit-content"}),ne=(0,u.Z)(U.Z,{target:"e106cnfj17"})({name:"1g64afq",styles:"min-height:30px;max-height:45px;margin:0 auto"}),oe=(0,u.Z)(Z.Z,{target:"e106cnfj16"})({name:"1g64afq",styles:"min-height:30px;max-height:45px;margin:0 auto"}),ie=(0,u.Z)(E.Z,{target:"e106cnfj15"})({name:"49aokf",styles:"display:contents"}),ae=(0,u.Z)("img",{target:"e106cnfj14"})({name:"1g64afq",styles:"min-height:30px;max-height:45px;margin:0 auto"}),ce=(0,u.Z)("div",{target:"e106cnfj13"})({name:"1wnowod",styles:"display:flex;align-items:center;justify-content:center"}),ue=(0,u.Z)("div",{target:"e106cnfj12"})({name:"isgvpc",styles:"display:flex;flex-direction:column;align-items:flex-end"}),se=(0,u.Z)("div",{target:"e106cnfj11"})({name:"vbpobq",styles:"max-width:370px"}),le=(0,u.Z)(R.Z,{target:"e106cnfj10"})(v.j.tabletLandscapeDown({position:"absolute",right:y.N.LARGE,top:y.N.LARGE}),""),fe=(0,u.Z)("div",{target:"e106cnfj9"})((K={width:"100%",borderBottom:"solid 1px ".concat(h.M1.secondary),backgkoundColor:h.EU.secondary,display:"grid",gridTemplateColumns:"1fr 276px",position:"relative"},X=le,$={position:"absolute",top:y.N.LARGE,right:y.N.LARGE},X in K?Object.defineProperty(K,X,{value:$,enumerable:!0,configurable:!0,writable:!0}):K[X]=$,K),v.j.desktopUp({gridTemplateColumns:"1fr 516px"}),v.j.desktopLandscapeUp({gridTemplateColumns:"1fr 660px"}),""),pe=(0,u.Z)("h2",{target:"e106cnfj8"})(b.TK.PAGE_TITLE,{marginBottom:y.N.BASE},""),de=(0,u.Z)("h2",{target:"e106cnfj7"})(b.TK.BODY_2,{marginBottom:y.N.LARGE},""),me=(0,u.Z)("div",{target:"e106cnfj6"})({display:"grid",gridTemplateColumns:"1fr 1fr",padding:"".concat(y.N.BASE4X," ").concat(y.N.XLARGE)},""),ve=(0,u.Z)("div",{target:"e106cnfj5"})({marginBottom:y.N.MEDIUM},""),he=(0,u.Z)("h2",{target:"e106cnfj4"})(b.TK.BODY_2,{marginBottom:y.N.MEDIUM},""),_e=(0,u.Z)("div",{target:"e106cnfj3"})({position:"fixed",right:0,bottom:0,left:0,backgroundColor:h.EU.tertiary,padding:"".concat(y.N.XLARGE," ").concat(y.N.LARGE),zIndex:_.k0.MODAL,display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center"},""),ye=(0,u.Z)("div",{target:"e106cnfj2"})({width:"100%",backgroundColor:h.EU.tertiary,position:"relative"},""),be=(0,u.Z)("h1",{target:"e106cnfj1"})(b.TK.PAGE_TITLE,{marginBottom:y.N.LARGE,textAlign:"center"},""),Ee=(0,u.Z)("div",{target:"e106cnfj0"})({name:"1st9kbp",styles:"height:100%;position:relative"}),ge=function(e){!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&&V(e,t)}(i,e);var t,r,n,o=H(i);function i(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),(t=o.call(this,e)).handleClose=t.handleClose.bind(W(t)),t.renderSeparateAppLinks=t.render
1SeparateAppLinks.bind(W(t)),t}return t=i,(r=[{key:"componentDidMount",value:function(){var e=this.props,t=e.usageTrackBannerEnter,r=e.history;t(te,r)}},{key:"handleClose",value:function(){var e=this.props,t=e.usageTrackBannerExit,r=e.onClose;t(te),r(Te.DOWNLOAD_APP)}},{key:"renderSeparateAppLinks",value:function(){var e=this.props,t=e.showModal,r=e.t,n=e.usageTrackTapAppInstall;return(0,L.jsxs)(re,{children:[(0,L.jsx)(R.Z,{name:"download-app-banner-qr-download",onClick:function(){n("qr_code"),t(M)},children:(0,L.jsx)(ae,{src:"https://cdn.flipboard.com/dev_O/insideflipboard/10282020/download-button-qr.png",alt:r("use_qr_code")})}),(0,L.jsx)(ie,{href:p.Z.APP_STORE_URL_FOR_DESKTOP_APPLE,onClick:function(){return n("ios_app_store")},children:(0,L.jsx)(ne,{scale:1.125})}),(0,L.jsx)(ie,{href:p.Z.APP_STORE_URL_FOR_DESKTOP_GOOGLE,onClick:function(){return n("google_play_store")},children:(0,L.jsx)(oe,{scale:1.125})})]})}},{key:"render",value:function(){var e=this.props,t=e.profile,r=e.isDesktop,n=e.isTablet,o=e.isPhone,i=e.appTheme,a=e.t,c=e.usageTrackTapAppInstall;if(!t)return null;var u=t.name&&!t.frictionless?a("welcome_profile",{name:t.name}):a("welcome_to_flipboard"),s=(0,L.jsx)(ue,{children:(0,L.jsxs)(se,{className:"download-app-banner__title-content",children:[(0,L.jsx)(de,{children:u}),(0,L.jsx)(pe,{className:"ui-text--page-title",children:a("download_app_banner_title")})]})}),l=(0,L.jsx)(le,{className:"download-app-banner__close-button",name:"download-app-banner-close",onClick:this.handleClose,children:(0,L.jsx)(S.Z,{color:i===d.SJ.DARK||r?"#fff":"#000"})});return o?(0,L.jsx)(T.Z,{appTheme:i,onMouseDown:m.h,children:(0,L.jsxs)(_e,{children:[l,(0,L.jsx)(ve,{children:(0,L.jsx)(g.Z,{size:30})}),(0,L.jsx)(he,{children:u}),(0,L.jsx)(be,{children:a("download_app_banner_title")}),(0,L.jsx)(A.ZP,{name:"banner-cta",label:a("download_app"),styleVariation:A.NV.PRIMARY,styleModifier:[A._Z.BLOCK],href:p.Z.APP_STORE_URL_FOR_BANNER,onClick:function(){return c("download_app")}})]})}):n?(0,L.jsxs)(ye,{children:[(0,L.jsxs)(me,{children:[s,(0,L.jsx)(ce,{children:this.renderSeparateAppLinks()})]}),l]}):(0,L.jsxs)(fe,{children:[(0,L.jsxs)(me,{children:[s,this.renderSeparateAppLinks()]}),(0,L.jsxs)(Ee,{children:[(0,L.jsx)(O.Z,{smallImage:J,mediumImage:Q,largeImage:ee}),l]})]})}}])&&z(t.prototype,r),n&&z(t,n),i}(s.Component);ge.propTypes={profile:f().object,isDesktop:f().bool.isRequired,isTablet:f().bool.isRequired,isPhone:f().bool.isRequired,appTheme:f().string.isRequired,history:f().object.isRequired,showModal:f().func.isRequired,onClose:f().func.isRequired,t:f().func.isRequired,usageTrackBannerEnter:f().func.isRequired,usageTrackBannerExit:f().func.isRequired,usageTrackTapAppInstall:f().func.isRequired},ge.defaultProps={profile:null};var Oe=(0,c.Z)(k.Z,F.Z,N.Z)((0,G.Z)((0,I.Z)(ge))),Se=r(21681),Ae=(0,c.Z)({selectors:{profile:function(e){return e.profile.userInfo}},actions:{usageTrackBannerEnter:Se.Q0,usageTrackBannerExit:Se.ZJ,usageTrackTapAppInstall:Se._B}})(Oe),Te={DOWNLOAD_APP:"download-app"},Re=["/","/profile","/:shortcut/:shortcutId","/@:username/:slug"],Ie=[{id:Te.DOWNLOAD_APP,activeIn:["cover-stories"],isActiveOtherSections:function(e){return e.isTopic},component:Ae,requiresAuthentication:!0,shouldDisplay:function(e){var t=a.ZP.getUserFromUserInfo(e);return!!t&&(t.createdTime?1e3*t.createdTime:0)>Date.now()-6048e5}}];function Pe(){var e;try{e=JSON.parse((0,o.Z)().localStorage.getItem("banners"))}catch(t){e=[]}return e||[]}function Ce(e){var t=Pe();t.push(e),(0,o.Z)().localStorage.setItem("banners",JSON.stringify(t))}function we(e){var t=Pe().filter((function(t){return t!==e}));(0,o.Z)().localStorage.setItem("banners",JSON.stringify(t))}function je(e){return Pe().includes(e)}function Ne(e,t,r,o){var a="production"===n.Z.deployEnvironment;return e.find((function(e){return Re.includes(o.path)&&function(e,t){return!!t&&(e.activeIn.includes(t.title)||e.activeIn.includes(t.remoteid)||e.isActiveOtherSections&&e.isActiveOtherSections(t)||t.ssid&&t.ssid.remoteidPlain&&e.activeIn.includes(t.ssid.remoteidPlain))}(e,t)&&function(e,t){if(!t)return!0;var r=Date.now(),n=new Date(e).getTime(),o=new Date(t).getTime();return n<=r&&r<=o}
1(e.startDate,e.endDate)&&!je(e.id)&&function(e){if(!e)return!0;var t=i.Z.getClientLocale();return e.some((function(e){return t===e}))}(e.locales)&&function(e,t){return!e.requiresAuthentication||!!t&&!!t.userid}(e,r)&&(!e.shouldDisplay||e.shouldDisplay(r,t))&&(!a||!e.beta)}))}},78956:function(e,t,r){"use strict";r(39529),r(31235),r(18178);var n=r(7799),o="viewed_edu";function i(){var e=(0,n.Z)().localStorage,t=e.getItem(o);if(!t)return null;try{var r=JSON.parse(t);return Array.isArray(r)?r:null}catch(t){return e.removeItem(o),null}}t.Z={hasDismissed:function(e){var t=i();return!!t&&t.includes(e)},dismissEdu:function(e){var t=i()||[];t.includes(e)||localStorage.setItem(o,JSON.stringify(t.concat(e)))}}},32220:function(e,t,r){"use strict";r.d(t,{HH:function(){return d},y0:function(){return h},IU:function(){return _},Ms:function(){return y},Gw:function(){return b}});r(58188),r(73439),r(35666);var n=r(75007),o=r(53122),i=r(22749),a=r(47741),c=r(23135),u=r(7799),s=r(37236);function l(e,t,r,n,o,i,a){try{var c=e[i](a),u=c.value}catch(e){return void r(e)}c.done?t(u):Promise.resolve(u).then(n,o)}function f(e){return function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(e){l(i,n,o,a,c,"next",e)}function c(e){l(i,n,o,a,c,"throw",e)}a(void 0)}))}}var p="https://www.google.com/recaptcha/api.js",d=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;if(!(0,u.Z)().grecaptcha){(0,u.Z)().onRecaptchaLoad=e||s.h;var t=(0,u.Z)().document.createElement("script");t.src="".concat(p,"?render=").concat(n.Z.GOOGLE_RECAPTCHA_PUBLIC_KEY,"&onload=onRecaptchaLoad"),document.getElementsByTagName("head")[0].appendChild(t)}},m=function(e){if(!window.grecaptcha)throw new Error("No window.grecaptcha");return window.grecaptcha.execute(n.Z.GOOGLE_RECAPTCHA_PUBLIC_KEY,{action:e})},v=function(){var e=f(regeneratorRuntime.mark((function e(t,r){var n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,c.Z.request({url:"/verifyV".concat(t),method:"POST",data:{response:r},withCredentials:!0});case 2:return n=e.sent,e.abrupt("return",n.data);case 4:case"end":return e.stop()}}),e)})));return function(t,r){return e.apply(this,arguments)}}(),h=function(){var e=f(regeneratorRuntime.mark((function e(t){var r,n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,m(t);case 3:return r=e.sent,e.next=6,v(3,r);case 6:return n=e.sent,e.abrupt("return",n);case 10:return e.prev=10,e.t0=e.catch(0),a.Z.captureException(e.t0),e.abrupt("return");case 14:case"end":return e.stop()}}),e,null,[[0,10]])})));return function(t){return e.apply(this,arguments)}}(),_=function(){var e=f(regeneratorRuntime.mark((function e(t){var r;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,v(2,t);case 3:return r=e.sent,e.abrupt("return",r);case 7:return e.prev=7,e.t0=e.catch(0),a.Z.captureException(e.t0),e.abrupt("return");case 11:case"end":return e.stop()}}),e,null,[[0,7]])})));return function(t){return e.apply(this,arguments)}}(),y=function(e){(0,o.d7)(i.um,10*e)},b=.5},30001:function(e,t,r){"use strict";var n,o,i,a,c,u,s,l,f,p,d,m,v,h,_,y,b,E,g,O,S,A,T,R,I,P,C,w,j,N,L,D,x,M,Z,U,k,F,G,B,z,V;r.d(t,{qG:function(){return n},f$:function(){return o},kZ:function(){return i},y1:function(){return a},DG:function(){return c},aJ:function(){return u},OV:function(){return s},tR:function(){return l},j3:function(){return f},$$:function(){return p},ru:function(){return d},jd:function(){return m},K9:function(){return v},go:function(){return h},hk:function(){return _},rL:function(){return y},wF:function(){return b},z6:function(){return E},g8:function(){return g},z_:function(){return O},hd:function(){return S},yn:function(){return A},SJ:function(){return T},t7:function(){return R},fL:function(){return I},_V:function(){return P},SN:function(){return C},l7:function(){return w},sy:function(){return j},u5:function(){return N},R:function(){return L},Ny:function(){return D},Rh:function(){return x},xD:function(){return M},UN:function(){return Z},n8:function(){return k},XX:function(){return F},VL:function(){return G},jO:function(){return B},WB:function(){return z},kY:function(){return V}}),function(e){e.SECTION_COVER="sectionCover",e.STATUS="status"}(n||(n={})),function(e){e.SHARE="share",e.LIKE="like",e.COMMENT="comment"}(o||(o={})),function(e){e.ACCEPTED_INVITE="acceptedYourInvite",e.ADDED_POST="addedPost",e.COMMENT="comment",e.COMMENT_BY_PEOPLE_YOU_FOLLOW="commentByPeopleYouFollow",e.COMMENT_MENTION="commentMention",e.COMMENT_SAME_POST="commentSamePost",e.FOLLOW="follow",e.FOLLOW_YOU="followYou",e.LIKE="like",e.MENTION="mention",e.MILESTONE="milestone",e.NOTIFICATION="notification",e.REFLIP="retweet",e.STATS="stats"}(i||(i={})),function(e){e.TOPICS="TOPICS",e.AUTHOR="AUTHOR",e.ARTICLES="ARTICLES",e.STORYBOARDS="STORYBOARDS",e.FLIPBOARD_TV="FLIPBOARD_TV",e.PROFILE_MAGAZINES="PROFILE_MAGAZINES",e.PROFILE_STORYBOARDS="PROFILE_STORYBOARDS"}(a||(a={})),function(e){e.AUTHOR="metadata",e.METADATA="metadata",e.NOTIFICATION="notification",e.SECTION="section",e.STATUS="status",e.USER_METADATA="userMetadata",e.VIDEO="video"}(c||(c={})),function(e){e.LINK="link",e.SECTION="section"}(u||(u={})),function(e){e.MAGAZINE="magazine",e.PROFILE="profile"}(s||(s={})),function(e){e.AUTHOR="author",e.TEXT_LINK="textLink",e.MAGAZINE="magazine"}(l||(l={})),function(e){e.USER="user"}(f||(f={})),function(e){e.PROFILE="profile"}(p||(p={})),function(e){e.AUTHOR="author"}(d||(d={})),function(e){e.NONE="NONE",e.PENDING="PENDING",e.SUCCESS="SUCCESS",e.FAILED="FAILED"}(m||(m={})),function(e){e.FLIPBOARD="flipboard",e.ACTIVITYPUB="activity"}(v||(v={})),function(e){e.HOMEPAGE="HOMEPAGE",e.NEWSLETTER="NEWSLETTER",e.NEWSLETTERS="NEWSLETTERS",e.TOPIC="TOPIC",e.INVITE="INVITE",e.MAIN_SIGNUP="MAIN_SIGNUP",e.ACTION_GATE="ACTION_GATE"}(h||(h={})),function(e){e.LIKE="LIKE",e.FLIP="FLIP",e.ACCEPT_INVITE="ACCEPT_INVITE",e.FOLLOW="FOLLOW",e.FOLLOW_TOPIC="FOLLOW_TOPIC",e.FAVORITE="FAVORITE",e.PERSONALIZE="PERSONALIZE",e.COMMENTS="COMMENTS"}(_||(_={})),function(e){e.FILLED="FILLED",e.PINNED="PINNED",e.DEFAULT="DEFAULT"}(y||(y={})),function(e){e.FOLLOW="FOLLOW",e.EDIT_MAGAZINE="EDIT_MAGAZINE",e.PERSONALIZE_TEXT="PERSONALIZE_TEXT",e.PERSONALIZE="PERSONALIZE",e.SHARE_TEXT="SHARE_TEXT",e.SHARE="SHARE",e.FLIP="FLIP",e.LIKE="LIKE",e.MUTE="MUTE",e.ACCEPT_INVITE="ACCEPT_INVITE",e.INVITE_CONTRIBUTOR="INVITE_CONTRIBUTOR",e.ADD_FAVORITE="ADD_FAVORITE",e.COMMENTS="COMMENTS",e.LESS_LIKE="LESS_LIKE",e.REPORT="REPORT",e.REMOVE_FROM_MAGAZINE="REMOVE_FROM_MAGAZINE",e.LEAVE_MAGAZINE="LEAVE_MAGAZINE",e.CREATE_STORY="CREATE_STORY",e.PIN_FLIP="PIN_FLIP"}(b||(b={}
1)),function(e){e.LIKE="likes",e.FLIP="shares"}(E||(E={})),function(e){e.DOWNLOAD_APP="download_app_cta"}(g||(g={})),function(e){e.STANDARD="standard",e.FRICTIONLESS="frictionless"}(O||(O={})),function(e){e.TOPIC_PAGE="topic-page",e.NEWSLETTERS_PAGE="newsletters-page",e.NEWSLETTER_PAGE="newsletter-page"}(S||(S={})),function(e){e[e.GENERIC_ERROR=1100]="GENERIC_ERROR",e[e.MULTIPLE_ACCOUNTS_FOR_EMAIL_ADDRESS=1101]="MULTIPLE_ACCOUNTS_FOR_EMAIL_ADDRESS",e[e.INVALID_CREDENTIALS=1102]="INVALID_CREDENTIALS",e[e.NO_ASSOCIATED_ACCOUNT=1105]="NO_ASSOCIATED_ACCOUNT",e[e.NON_EXISTANT_ACCOUNT=1107]="NON_EXISTANT_ACCOUNT",e[e.INVALID_ACCOUNT=1107]="INVALID_ACCOUNT",e[e.EXPIRED_TOKEN=1110]="EXPIRED_TOKEN",e[e.UNVERIFIED_EMAIL=1109]="UNVERIFIED_EMAIL",e[e.INVITE_VALIDATION_ERROR=1118]="INVITE_VALIDATION_ERROR"}(A||(A={})),function(e){e.DEFAULT="default",e.DARK="dark"}(T||(T={})),function(e){e.SOCIAL="social",e.CONTENT="content"}(R||(R={})),function(e){e.SIDEBAR="SIDEBAR",e.CONDENSED_0="CONDENSED_0",e.CONDENSED_1="CONDENSED_1",e.ITEM_CARD_1="ITEM_CARD_1",e.ITEM_CARD_2="ITEM_CARD_2"}(I||(I={})),function(e){e.LAZY="lazy",e.EAGER="eager"}(P||(P={})),function(e){e[e.NONE=0]="NONE",e[e.PENDING=1]="PENDING",e[e.SUCCEEDED=2]="SUCCEEDED",e[e.FAILED=3]="FAILED"}(C||(C={})),function(e){e.ARTICLE="article",e.MAGAZINE="magazine",e.STORYBOARD="storyboard",e.TOPIC="topic",e.PROFILE="profile",e.FEED="feed",e.TWEET="tweet",e.STATUS="status",e.VIDEO="video",e.AUDIO="audio",e.IMAGE="image"}(w||(w={})),function(e){e.MAGAZINE="magazine",e.STORYBOARD="storyboard"}(j||(j={})),function(e){e.PROFILE="PROFILE",e.EMAIL="EMAIL",e.CONTENTS="CONTENTS"}(N||(N={})),function(e){e.INCOMPLETE="incomplete",e.REJECTED="rejected",e.PENDING="pending",e.PROCESSING="processing",e.LIVE="live"}(L||(L={})),function(e){e.STORYBOARD="STORYBOARD",e.CAMNPAIGN="CAMNPAIGN"}(D||(D={})),function(e){e.VIEWERS="viewers",e.FOLLOWERS="followers",e.STORIES="stories"}(x||(x={})),function(e){e.SIDEBAR="SIDEBAR",e.CONDENSED_0="CONDENSED_0",e.CONDENSED_1="CONDENSED_1",e.ITEM_CARD_1="ITEM_CARD_1",e.ITEM_CARD_2="ITEM_CARD_2"}(M||(M={})),function(e){e.INITIAL="INITIAL",e.LOADING="LOADING",e.LOADED="LOADED",e.FAILED="FAILED"}(Z||(Z={})),function(e){e.SOURCE_DOMAIN="sourceDomain",e.AUTHOR="author"}(U||(U={})),function(e){e.SMALL="SMALL",e.LARGE="LARGE"}(k||(k={})),function(e){e.SIGNUP_BUTTON="SIGNUP_BUTTON",e.SIGNUP_LANDING="SIGNUP_LANDING",e.SIGNUP_NEWSLETTER="SIGNUP_NEWSLETTER",e.STICKY_TOPIC_PICKER_CTA="STICKY_TOPIC_PICKER_CTA",e.POST_VERIFICATION="POST_VERIFICATION",e.PUBLISHER_LANDING="PUBLISHER_LANDING",e.ACCEPT_MAGAZINE_INVITE_UNAUTHENTICATED_OLD="ACCEPT_MAGAZINE_INVITE_UNAUTHENTICATED_OLD",e.ACCEPT_MAGAZINE_INVITE_UNAUTHENTICATED_NEW="ACCEPT_MAGAZINE_INVITE_UNAUTHENTICATED_NEW",e.ACCEPT_MAGAZINE_INVITE_SIGNUP_OLD="ACCEPT_MAGAZINE_INVITE_SIGNUP_OLD",e.ACCEPT_MAGAZINE_INVITE_SIGNUP_NEW="ACCEPT_MAGAZINE_INVITE_SIGNUP_NEW",e.ACCEPT_MAGAZINE_INVITE_AUTHENTICATED_OLD="ACCEPT_MAGAZINE_INVITE_AUTHENTICATED_OLD",e.ACCEPT_MAGAZINE_INVITE_AUTHENTICATED_NEW="ACCEPT_MAGAZINE_INVITE_AUTHENTICATED_NEW",e.BECOME_PUBLISHER="BECOME_PUBLISHER"}(F||(F={})),function(e){e.DEFAULT="DEFAULT",e.OLD="OLD",e.SINGLE_PANE="SINGLE_PANE"}(G||(G={})),function(e){e.THUMBNAIL="Thumbnail",e.PORTRAIT="Portrait",e.BANNER="Banner"}(B||(B={})),function(e){e.MAGAZINE_STORYBOARD="MAGAZINE_STORYBOARD",e.FOLLOW="FOLLOW",e.SHARE="SHARE",e.BROWSER="BROWSER"}(z||(z={})),function(e){e.INFO="info",e.ERROR="error"}(V||(V={}))},83368:function(e,t,r){"use strict";r.d(t,{Z0:function(){return o},y2:function(){return i},fi:function(){return a},Zv:function(){return c},Hk:function(){return u}});var n=r(30001),o=function(e){return e.type===n.f$.LIKE},i=function(e){return e.type===n.tR.AUTHOR},a=function(e){return e.type===n.tR.TEXT_LINK&&e.referringTextLoc&&(e.linkType===n.j3.USER||e.feedType===n.j3.USER)},c=function(e){return e.type===n.tR.MAGAZINE},u=function(e){return e.type===n.DG.NOTIFICATION}},27746:function(e,t,r){"use strict";r.d(t,{ZP:function(){return qe},Ve:function(){return Fe}});r(34115),r(634),r(20796),r(27233),r(96928),r(61229),r(34769),r(95342),r(68625),r(62775),r(73439);var n=r(12167),o=(r(35666),r(26936),r(43450),r(32501),r(1939),r(18178),r(15735),r(58188),r(93244),r(28673),r(6886),r(2784)),i=r(72779),a=r.n(i),c=r(49372),u=r(90856),s=r(37757),l=r(90068),f=r(54508),p=r(29529),d=(r(49228),r(14121),r(16781),r(88233),r(7799)),m=(r(79321),"__flipboardRenderFlintAd"),v=function(){return(0,d.Z)()},h=new Map,_=function(e){return h.get(e)||null},y=function(e,t){if(e&&t&&t.markup){for(h.delete(e),h.set(e,t);h.size>20;){var r=h.keys().next().value;if(void 0===r)break;h.delete(r)}O()}},b=function(e,t){var r,n;null===(r=e.setAttribute)||void 0===r||r.call(e,"width",String(t.width)),null===(n=e.setAttribute)||void 0===n||n.call(e,"height",String(t.height)),e.style&&(e.style.width="".concat(t.width,"px"),e.style.height="".concat(t.height,"px"),e.style.border="0")},E=function(e,t){var r=_(String(e)),n=t,o=null==n?void 0:n.document;if(!r||!o)return!1;try{var i=null==n?void 0:n.frameElement;i&&b(i,r)}catch(e){}return function(e,t){var r,n;return"function"==typeof e.write&&(null===(r=e.open)||void 0===r||r.call(e),e.write(t.markup),null===(n=e.close)||void 0===n||n.call(e),!0)}(o,r)},g=function(e){var t=null==e?void 0:e.data;if(t&&"flint-render"===t.type&&("string"==typeof t.flintAdId||"number"==typeof t.flintAdId)){var r=String(t.flintAdId),n=_(r);if(n){var o=e.source;if(o&&"function"==typeof o.postMessage){var i=v().document;if(i&&"function"==typeof i.querySelectorAll){for(var a=i.querySelectorAll("iframe"),c=null,u=0;u<a.length;u++)if(a[u].contentWindow===e.source){c=a[u];break}c&&(b(c,n),o.postMessage({type:"flint-render-response",flintAdId:r,markup:n.markup,width:n.width,height:n.height},"*"))}}}}},O=function(){var e=v();e&&!e[m]&&(e[m]=E,"function"==typeof e.addEventListener&&e.addEventListener("message",g))},S=(r(21515),function(){return(0,d.Z)()}),A=function(e){var t;return Promise.race([e,new Promise((function(e){t=setTimeout((function(){return e(null)}),300)}))]).finally((function(){void 0!==t&&clearTimeout(t)}))},T=function(){return A(new Promise((function(e){var t=S().__tcfapi;if("function"==typeof t)try{t("getTCData",2,(function(t,r){e(r&&t||null)}))}catch(t){e(null)}else e(null)})))},R=function(){return A(new Promise((function(e){var t=S().__uspapi;if("function"==typeof t)try{t("getUSPData",1,(function(t,r){e(r&&(null==t?void 0:t.uspString)||null)}))}catch(t){e(null)}else e(null)})))};function I(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var r=[],n=!0,o=!1,i=void 0;try{for(var a,c=e[Symbol.iterator]();!(n=(a=c.next()).done)&&(r.push(a.value),!t||r.length!==t);n=!0);}catch(e){o=!0,i=e}finally{try{n||null==c.return||c.return()}finally{if(o)throw i}}return r}(e,t)||j(e,t)||function(){throw new TypeError("Invalid attempt to de
1structure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function P(e,t,r,n,o,i,a){try{var c=e[i](a),u=c.value}catch(e){return void r(e)}c.done?t(u):Promise.resolve(u).then(n,o)}function C(e){return function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(e){P(i,n,o,a,c,"next",e)}function c(e){P(i,n,o,a,c,"throw",e)}a(void 0)}))}}function w(e){return function(e){if(Array.isArray(e))return N(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||j(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function j(e,t){if(e){if("string"==typeof e)return N(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?N(e,t):void 0}}function N(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var L=function(){return(0,d.Z)()},D=function(e,t,r){var n;if(!t||0===t.length)return e[0]||null;var o=null!==(n=null!=r?r:L().innerWidth)&&void 0!==n?n:0,i=w(t).sort((function(e,t){return t.viewport[0]-e.viewport[0]})).find((function(e){return e.viewport[0]<=o}));return i?i.sizes[0]||null:e[0]||null},x=function(e,t,r){var n,o=new URLSearchParams;o.set("device","web"),o.set("ver","1.0.0.0"),o.set("ad_formats","display_s".concat(e[0],"x").concat(e[1])),o.set("context","item"===t.pageType?"article":"section"),t.topicSlug&&o.set("feed_id","flipboard/topic%2F".concat(t.topicSlug));var i,a=L().location;(null!=a&&a.origin&&a.pathname&&o.set("page_url","".concat(a.origin).concat(a.pathname)),r.tcString&&o.set("gdpr_strings",r.tcString),r.uspString&&o.set("ccpa_strings",r.uspString),null!==(n=r.gpp)&&void 0!==n&&n.gppString)&&(o.set("gpp_strings",r.gpp.gppString),null!==(i=r.gpp.applicableSections)&&void 0!==i&&i.length&&o.set("gpp_sids",r.gpp.applicableSections.join(",")));return r.eids&&o.set("eids",r.eids),"".concat("https://ad.flipboard.com/query","?").concat(o.toString())},M=function(e){var t=e,r=(null==t?void 0:t.ad)||(Array.isArray(null==t?void 0:t.ads)?null==t?void 0:t.ads[0]:null);if(!r)return{};var n=r.flcpm,o=null;if("number"==typeof n&&n>0?o=String(n):"string"==typeof n&&n&&(o=n),!o)return{};var i={FLCPM:o};return"string"==typeof r.flint_bidder&&r.flint_bidder&&(i.flint_bidder=r.flint_bidder),("string"==typeof r.flint_ad_id&&r.flint_ad_id||"number"==typeof r.flint_ad_id)&&(i.flint_ad_id=String(r.flint_ad_id)),i},Z=function(e,t){var r,n,o=e,i=(null==o?void 0:o.ad)||(Array.isArray(null==o?void 0:o.ads)?null==o?void 0:o.ads[0]:null);if(!i)return null;var a="string"==typeof i.flint_ad_id&&!!i.flint_ad_id||"number"==typeof i.flint_ad_id?String(i.flint_ad_id):null,c=i.item;if(!a||!c||"mraid"!==c.type||"string"!=typeof c.script||!c.script)return null;var u="number"==typeof(null===(r=c.size)||void 0===r?void 0:r.width)&&c.size.width||(null==t?void 0:t[0]),s="number"==typeof(null===(n=c.size)||void 0===n?void 0:n.height)&&c.size.height||(null==t?void 0:t[1]);return u&&s?{flintAdId:a,markup:c.script,width:u,height:s}:null},U=function(){var e=C(regeneratorRuntime.mark((function e(t,r){var n,o,i,a,c,u,s,l,f,p,d,m,v;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=D(t.sizes,t.sizeMapping)){e.next=3;break}return e.abrupt("return",{});case 3:return e.next=5,Promise.all([T().then((function(e){return(null==e?void 0:e.tcString)||null})),R(),A(new Promise((function(e){var t=S().__gpp;if("function"==typeof t)try{t("getGPPData",(function(t,r){e(r&&t||null)}))}catch(t){e(null)}else e(null)}))),t.eidsProvider?t.eidsProvider().catch((function(){return null})):null]);case 5:if(o=e.sent,i=I(o,4),a=i[0],c=i[1],u=i[2],s=i[3],l=x(n,t,{tcString:a,uspString:c,gpp:u,eids:s}),"function"==typeof(f=L()).fetch){e.next=15;break}return e.abrupt("return",{});case 15:return e.next=17,f.fetch(l,{method:"POST",credentials:"omit",signal:r});case 17:if((p=e.sent).ok){e.next=20;break}return e.abrupt("return",{});case 20:return e.next=22,p.json();
1case 22:return d=e.sent,(m=M(d)).flint_ad_id&&(v=Z(d,n))&&y(v.flintAdId,{markup:v.markup,width:v.width,height:v.height}),e.abrupt("return",m);case 26:case"end":return e.stop()}}),e)})));return function(t,r){return e.apply(this,arguments)}}(),k=function(){var e=C(regeneratorRuntime.mark((function e(t){var r,n,o,i;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=null!==(r=t.timeoutMs)&&void 0!==r?r:800,o="function"==typeof AbortController?new AbortController:null,i=null,e.prev=3,e.next=6,Promise.race([U(t,null==o?void 0:o.signal),new Promise((function(e){i=setTimeout((function(){null==o||o.abort(),e({})}),n)}))]);case 6:return e.abrupt("return",e.sent);case 9:return e.prev=9,e.t0=e.catch(3),e.abrupt("return",{});case 12:return e.prev=12,i&&clearTimeout(i),e.finish(12);case 15:case"end":return e.stop()}}),e,null,[[3,9,12,15]])})));return function(t){return e.apply(this,arguments)}}(),F=function(e,t){return(0,p.Ti)(e)?k(t):Promise.resolve({})},G=(r(35734),r(45794),r(51969));function B(e,t,r,n,o,i,a){try{var c=e[i](a),u=c.value}catch(e){return void r(e)}c.done?t(u):Promise.resolve(u).then(n,o)}function z(e){return function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(e){B(i,n,o,a,c,"next",e)}function c(e){B(i,n,o,a,c,"throw",e)}a(void 0)}))}}var V=1296e6,H="fl.ads.identity.envelope",q=function(){return(0,d.Z)()},W=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298],Y=function(e,t){return e>>>t|e<<32-t},K=function(e){var t=function(e){for(var t=[],r=0;r<e.length;r++){var n=e.charCodeAt(r);n<128?t.push(n):n<2048?t.push(192|n>>6,128|63&n):n>=55296&&n<=56319&&r+1<e.length?(n=65536+(n-55296<<10)+(e.charCodeAt(++r)-56320),t.push(240|n>>18,128|n>>12&63,128|n>>6&63,128|63&n)):t.push(224|n>>12,128|n>>6&63,128|63&n)}return t}(e),r=8*t.length;for(t.push(128);t.length%64!=56;)t.push(0);t.push(Math.floor(r/4294967296)>>>24,Math.floor(r/4294967296)>>>16&255,Math.floor(r/4294967296)>>>8&255,255&Math.floor(r/4294967296),r>>>24&255,r>>>16&255,r>>>8&255,255&r);for(var n=1779033703,o=3144134277,i=1013904242,a=2773480762,c=1359893119,u=2600822924,s=528734635,l=1541459225,f=new Array(64),p=0;p<t.length;p+=64){for(var d=0;d<16;d++){var m=p+4*d;f[d]=t[m]<<24|t[m+1]<<16|t[m+2]<<8|t[m+3]}for(var v=16;v<64;v++){var h=Y(f[v-15],7)^Y(f[v-15],18)^f[v-15]>>>3,_=Y(f[v-2],17)^Y(f[v-2],19)^f[v-2]>>>10;f[v]=f[v-16]+h+f[v-7]+_|0}for(var y=n,b=o,E=i,g=a,O=c,S=u,A=s,T=l,R=0;R<64;R++){var I=T+(Y(O,6)^Y(O,11)^Y(O,25))+(O&S^~O&A)+W[R]+f[R]|0,P=y&b^y&E^b&E;T=A,A=S,S=O,O=g+I|0,g=E,E=b,b=y,y=I+((Y(y,2)^Y(y,13)^Y(y,22))+P|0)|0}n=n+y|0,o=o+b|0,i=i+E|0,a=a+g|0,c=c+O|0,u=u+S|0,s=s+A|0,l=l+T|0}return[n,o,i,a,c,u,s,l].map((function(e){return(e>>>0).toString(16).padStart(8,"0")})).join("")},X=function(){var e=z(regeneratorRuntime.mark((function e(){var t,r,n,o,i;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,T();case 2:if(t=e.sent){e.next=5;break}return e.abrupt("return",!1);case 5:if(!0===t.gdprApplies||!1===t.gdprApplies){e.next=7;break}return e.abrupt("return",!1);case 7:if(!t.gdprApplies){e.next=10;break}return o=!(null===(r=t.purpose)||void 0===r||null===(n=r.consents)||void 0===n||!n[1]),e.abrupt("return",!!t.tcString&&o);case 10:return e.next=12,R();case 12:if(!((i=e.sent)&&i.length>2&&"Y"===i.charAt(2).toUpperCase())){e.next=15;break}return e.abrupt("return",!1);case 15:return e.abrupt("return",!0);case 16:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),$=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Date.now(),r=q().localStorage;if(!r)return null;try{var n=r.getItem(H);if(!n)return null;var o=JSON.parse(n);return!o||o.idHash!==e||"string"!=typeof o.envelope||!o.envelope||"number"!=typeof o.fetchedAt||t-o.fetchedAt>=V||t<o.fetchedAt?null:o.envelope}catch(e){return null}},J=function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Date.now(),n=q().localStorage;if(n)try{n.setItem(H,JSON.stringify({idHash:e,envelope:t,fetchedAt:r}))}catch(e){}},Q=function(){var e=z(regeneratorRuntime.mark((function e(t){var r,n,o,i,a,c;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r=q(),"function"==typeof(n=r.fetch)){e.next=4;break}return e.abrupt("return",null);case 4:return o="function"==typeof AbortController?new AbortController:null,a=new Promise((function(e){i=setTimeout((function(){null==o||o.abort(),e(null)}),1e3)})),c=z(regeneratorRuntime.mark((function e(){var r,i,a,c,u,s;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return(a=new URLSearchParams).set("pid","13428"),a.set("it","4"),a.set("iv",t),e.next=6,n("".concat("https://api.rlcdn.com/api/identity/v2/envelope","?").concat(a.toString()),{method:"GET",credentials:"omit",signal:null==o?void 0:o.signal});case 6:if((c=e.sent).ok){e.next=9;break}return e.abrupt("return",null);case 9:return e.next=11,c.json();case 11:return u=e.sent,s="string"==typeof(null==u?void 0:u.envelope)&&u.envelope||Array.isArray(null==u?void 0:u.envelopes
1)&&"string"==typeof(null==u||null===(r=u.envelopes[0])||void 0===r?void 0:r.value)&&(null==u||null===(i=u.envelopes[0])||void 0===i?void 0:i.value)||null,e.abrupt("return",s||null);case 14:case"end":return e.stop()}}),e)})))().catch((function(){return null})),e.prev=7,e.next=10,Promise.race([c,a]);case 10:return e.abrupt("return",e.sent);case 11:return e.prev=11,void 0!==i&&clearTimeout(i),e.finish(11);case 14:case"end":return e.stop()}}),e,null,[[7,,11,14]])})));return function(t){return e.apply(this,arguments)}}(),ee=function(){var e=z(regeneratorRuntime.mark((function e(t){var r,n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(r=$(t))){e.next=3;break}return e.abrupt("return",r);case 3:return e.next=5,Q(t);case 5:return(n=e.sent)&&J(t,n),e.abrupt("return",n);case 8:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),te=null,re=null,ne=function(){var e=z(regeneratorRuntime.mark((function e(t){var r,n,o;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,X();case 2:if(e.sent){e.next=5;break}return e.abrupt("return");case 5:if(c=t.uid,(r=!c||c<=0?null:K("".concat("flipboard-web-ads-identity-v1",":").concat(c)))&&(0,G.xQ)(r),i=t.email,a=void 0,a=null==i?void 0:i.trim().toLowerCase(),n=a?K(a):null){e.next=10;break}return e.abrupt("return");case 10:o=ee(n),re=o,(0,G.nl)({id:"liveramp.com",collectorFunction:function(){var e=z(regeneratorRuntime.mark((function e(){var t;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,o;case 2:if(t=e.sent){e.next=5;break}throw new Error("no LiveRamp envelope available");case 5:return e.abrupt("return",t);case 6:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}()});case 13:case"end":return e.stop()}var i,a,c}),e)})));return function(t){return e.apply(this,arguments)}}(),oe=function(e){return(0,p.AS)(e.featureFlags)?(te||(te=ne(e).catch((function(){}
1))),te):Promise.resolve()},ie=function(){var e=z(regeneratorRuntime.mark((function e(){var t,r,n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=te){e.next=3;break}return e.abrupt("return",null);case 3:return e.next=5,Promise.race([z(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t;case 2:if(!re){e.next=8;break}return e.next=5,re;case 5:e.t0=e.sent,e.next=9;break;case 8:e.t0=null;case 9:return e.abrupt("return",e.t0);case 10:case"end":return e.stop()}}),e)})))(),new Promise((function(e){r=setTimeout((function(){return e(null)}),300)}))]).finally((function(){void 0!==r&&clearTimeout(r)}));case 5:return n=e.sent,e.abrupt("return",n?"liveramp.com,".concat(n):null);case 7:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();function ae(e){return ae="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},ae(e)}var ce=function(){return(0,d.Z)()},ue=new Map,se=new Map;function le(e){if("string"==typeof e&&""!==e.trim())return e}function fe(e){var t=le(e);if(t)try{var r,n,o=null===(r=(0,d.Z)())||void 0===r||null===(n=r.location)||void 0===n?void 0:n.href,i=new URL(t,o||void 0);if("http:"===i.protocol||"https:"===i.protocol)return i.href}catch(e){}}var pe=function(e){if(!e||"object"!==ae(e))return null;var t=e,r=fe(t.clickUrl);if(!r)return null;var n=le(t.headline),o=fe(t.mainImage);return n||o?{clickUrl:r,mainImage:o,headline:n,advertiser:le(t.advertiser),body:le(t.body),callToAction:le(t.callToAction)}:null},de=function(e,t){var r=pe(t);if(!e||!r)return!1;var n=ue.get(e);return n?n(r):function(e,t){for(se.delete(e),se.set(e,t);se.size>20;){var r=se.keys().next().value;if(void 0===r)break;se.delete(r)}}(e,r),!0},me=function(e,t){return de(String(e),t)},ve=function(e){var t=null==e?void 0:e.data;!t||"native-ad-fields"!==t.type||"string"!=typeof t.divId&&"number"!=typeof t.divId||he(e.source)&&de(String(t.divId),t.fields)},he=function(e){if(!e)return!1;var t=ce().document;if(!t||"function"!=typeof t.querySelectorAll)return!1;for(var r=t.querySelectorAll("iframe"),n=0;n<r.length;n++)if(r[n].contentWindow===e)return!0;return!1},_e=function(e,t){var r;(r=ce())&&!r.__flipboardRenderNativeAd&&(r.__flipboardRenderNativeAd=me,"function"==typeof r.addEventListener&&r.addEventListener("message",ve)),ue.set(e,t);var n=se.get(e);return n&&(se.delete(e),t(n)),function(){ue.get(e)===t&&ue.delete(e),se.delete(e)}},ye=r(52322);function be(e){return be="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},be(e)}function Ee(e,t,r,n,o,i,a){try{var c=e[i](a),u=c.value}catch(e){return void r(e)}c.done?t(u):Promise.resolve(u).then(n,o)}function ge(e){return function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(e){Ee(i,n,o,a,c,"next",e)}function c(e){Ee(i,n,o,a,c,"throw",e)}a(void 0)}))}}function Oe(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Se(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Oe(Object(r),!0).forEach((function(t){je(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Oe(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Ae(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Te(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Re(e,t){return Re=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},Re(e,t)}function Ie(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 r,n=we(e);if(t){var o=we(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return Pe(this,r)}}function Pe(e,t){return!t||"object"!==be(t)&&"function"!=typeof t?Ce(e):t}function Ce(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function we(e){return we=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},we(e)}function je(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ne(e){return function(e){if(Array.isArray(e))return Ze(e)}(e)||Le(e)||Me(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Le(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}function De(e,t){return Ue(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var r=[],n=!0,o=!1,i=void 0;try{for(var a,c=e[Symbol.iterator]();!(n=(a=c.next()).done)&&(r.push(a.value),!t||r.length!==t);n=!0);}catch(e){o=!0,i=e}finally{try{n||null==c.return||c.return()}finally{if(o)throw i}}return r}(e,t)||Me(e,t)||xe()}
1function xe(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Me(e,t){if(e){if("string"==typeof e)return Ze(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Ze(e,t):void 0}}function Ze(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function Ue(e){if(Array.isArray(e))return e}var ke="200px 0px",Fe=function(e,t){var r=t.name,n=t.reason;null==e||e({event_category:"ad",event_action:"ad_suppressed",event_data:{method:"display_web",type:r,url:"reason=".concat(n)}})},Ge=function(e){return e.reduce((function(e,t){var r=De(t,2)[1];return Math.max(e,r)}),0)},Be=(0,n.Z)("div",{shouldForwardProp:function(e){return"filled"!==e},target:"egz8rdp1"})((function(e){return{color:u.bo.tertiary,fontSize:"10px",lineHeight:"16px",letterSpacing:"0.08em",textTransform:"uppercase",textAlign:"center",marginBottom:c.N.SMALL,visibility:e.filled?"visible":"hidden"}}),""),ze=(0,n.Z)("div",{shouldForwardProp:function(e){return"reservedHeights"!==e},target:"egz8rdp0"})((function(e){var t,r=Ue(t=e.reservedHeights)||Le(t)||Me(t)||xe(),n=r[0],o=r.slice(1),i={display:"flex",alignItems:"center",justifyContent:"center",overflow:"hidden",height:"".concat(n.height,"px")};return o.forEach((function(e){var t=e.minWidth,r=e.height;i["@media (min-width: ".concat(t,"px)")]={height:"".concat(r,"px")}})),i}),""),Ve={featureFlags:function(e){return e.featureFlags},uid:function(e){var t;return(null===(t=e.auth)||void 0===t?void 0:t.uid)||0},currentUserEmail:function(e){var t,r,n,o=null===(t=e.profile)||void 0===t||null===(r=t.userInfo)||void 0===r||null===(n=r.myServices)||void 0===n?void 0:n.find((function(e){return"flipboard"===(null==e?void 0:e.service)}));return(null==o?void 0:o.email)||null}},He=function(e){!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&&Re(e,t)}(c,e);var t,r,n,i=Ie(c);function c(){var e;Ae(this,c);for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return je(Ce(e=i.call.apply(i,[this].concat(r))),"state",{divId:null,filled:!1,nativeFields:null}),je(Ce(e),"adAreaRef",o.createRef()),je(Ce(e),"handle",null),je(Ce(e),"observer",null),je(Ce(e),"unmounted",!1),je(Ce(e),"unregisterNative",(function(){})),je(Ce(e),"flintRequestDivId",null),je(Ce(e),"loggedAdActions",new Set),je(Ce(e),"adAttemptAt",null),je(Ce(e),"slotRenderTimer",null),je(Ce(e),"hasLoggedOutcome",(function(){return c.OUTCOME_ACTIONS.some((function(t){return e.loggedAdActions.has(t)}))})),je(Ce(e),"sendAdOutcome",(function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e.hasLoggedOutcome()||e.sendAdEvent(t,r)})),je(Ce(e),"finalizePendingRequest",(function(){e.loggedAdActions.has("ad_request")&&e.sendAdOutcome("ad_canceled",{url:e.sinceAttempt()})})),je(Ce(e),"sendAdEvent",(function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.props,o=n.sendUsageEventWithSession,i=n.name,a=n.adUnitPath,c=n.native;o&&!e.loggedAdActions.has(t)&&(e.loggedAdActions.add(t),o({event_category:"ad",event_action:t,event_data:Se({method:"display_web",type:i,target_id:a,item_type:c?"native":"banner"},r)}))})),je(Ce(e),"sinceAttempt",(function(){return null===e.adAttemptAt?"":"t=".concat(Date.now()-e.adAttemptAt)})),je(Ce(e),"clearSlotRenderTimer",(function(){e.slotRenderTimer&&(clearTimeout(e.slotRenderTimer),e.slotRenderTimer=null)})),je(Ce(e),"isEnabled",(function(){var t=e.props,r=t.featureFlags,n=t.placementFlag;return(0,p.bh)(r)&&!(null==r||!r[n])})),je(Ce(e),"resetAd",(function(){e.disconnectObserver(),e.finalizePendingRequest(),e.clearSlotRenderTimer(),e.loggedAdActions.clear(),e.adAttemptAt=null,e.unregisterNative(),e.handle&&(e.handle.destroy(),e.handle=null),e.setState({divId:(0,G.R1)(e.props.name),filled:!1,nativeFields:null})})),je(Ce(e),"setupAdRequest",(function(){var t=e.props,r=t.lazy,n=void 0===r||r,o=t.featureFlags,i=t.uid,a=t.currentUserEmail;
1e.adAttemptAt=Date.now(),e.sendAdEvent("ad_attempt",{url:"lazy=".concat(n?1:0)}),oe({featureFlags:o,uid:i,email:a});var c=e.adAreaRef.current;if(n&&"function"==typeof IntersectionObserver&&c){var u=new IntersectionObserver((function(t){t.some((function(e){return e.isIntersecting}))&&(e.disconnectObserver(),e.requestAd())}),{rootMargin:ke});e.observer=u,u.observe(c)}else e.requestAd()})),je(Ce(e),"disconnectObserver",(function(){e.observer&&(e.observer.disconnect(),e.observer=null)})),je(Ce(e),"requestAd",ge(regeneratorRuntime.mark((function t(){var r,n,o,i,a,c,u,s,l,f,p,d;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=e.state.divId,!e.handle&&r&&e.flintRequestDivId!==r){t.next=3;break}return t.abrupt("return");case 3:return n=e.props,o=n.adUnitPath,i=n.sizes,a=n.sizeMapping,c=n.targeting,u=n.featureFlags,s=n.native,e.flintRequestDivId=r,l=u,t.next=8,F(l,{sizes:i,sizeMapping:a,pageType:"string"==typeof(null==c?void 0:c.page_type)?c.page_type:void 0,topicSlug:"string"==typeof(null==c?void 0:c.topic_slug)?c.topic_slug:void 0,eidsProvider:ie});case 8:if(f=t.sent,e.flintRequestDivId===r&&(e.flintRequestDivId=null),!e.unmounted&&!e.handle&&e.state.divId===r){t.next=12;break}return t.abrupt("return");case 12:if(p=i,s&&(p=[G.l3],e.unregisterNative=_e(r,(function(t){var n,o;e.unmounted||e.state.divId!==r||(e.setState({nativeFields:t,filled:!0}),null===(n=(o=e.props).onSlotStatus)||void 0===n||n.call(o,!0))}))),d=(0,G.XE)({adUnitPath:o,sizes:p,sizeMapping:a,targeting:Se({},c,{},f),divId:r,onSlotRenderEnded:e.handleSlotRenderEnded}),e.handle=d,d){t.next=19;break}return e.sendAdEvent("ad_request_blocked",{url:e.sinceAttempt()}),t.abrupt("return");case 19:if(e.sendAdEvent("ad_request",{url:e.sinceAttempt()}),e.clearSlotRenderTimer(),!e.hasLoggedOutcome()){t.next=23;break}return t.abrupt("return");case 23:e.slotRenderTimer=setTimeout((function(){e.slotRenderTimer=null,e.unmounted||e.state.divId!==r||e.sendAdOutcome("ad_timeout",{url:e.sinceAttempt()})}),1e4);case 24:case"end":return t.stop()}}),t)})))),je(Ce(e),"handleSlotRenderEnded",(function(t){var r,n,o,i,a=e.adAreaRef.current;(a&&a.setAttribute("data-ad-status",t.isEmpty?"empty":"filled"),e.clearSlotRenderTimer(),e.sendAdOutcome(t.isEmpty?"display_empty":"display_filled",{url:e.sinceAttempt()}),e.props.native)?t.isEmpty&&(e.setState({filled:!1,nativeFields:null}),null===(o=(i=e.props).onSlotStatus)||void 0===o||o.call(i,!1)):(e.setState({filled:!t.isEmpty}),null===(r=(n=e.props).onSlotStatus)||void 0===r||r.call(n,!t.isEmpty))})),e}return t=c,(r=[{key:"componentDidMount",value:function(){this.isEnabled()&&this.setState({divId:(0,G.R1)(this.props.name)})}},{key:"componentDidUpdate",value:function(e,t){if(!this.isEnabled()&&this.state.divId)return this.disconnectObserver(),this.finalizePendingRequest(),this.clearSlotRenderTimer(),this.unregisterNative(),this.handle&&(this.handle.de
1stroy(),this.handle=null),void this.setState({divId:null,filled:!1,nativeFields:null});!this.isEnabled()||this.state.divId?t.divId!==this.state.divId&&this.state.divId?this.setupAdRequest():this.state.divId&&JSON.stringify(e.targeting)!==JSON.stringify(this.props.targeting)&&this.resetAd():this.setState({divId:(0,G.R1)(this.props.name)})}},{key:"componentWillUnmount",value:function(){this.finalizePendingRequest(),this.unmounted=!0,this.disconnectObserver(),this.clearSlotRenderTimer(),this.unregisterNative(),this.handle&&(this.handle.destroy(),this.handle=null)}},{key:"render",value:function(){if(!this.isEnabled())return null;var e=this.props,t=e.className,r=e.name,n=e.showLabel,o=e.sizes,i=e.sizeMapping,c=e.native,u=e.renderNative,s=e.t,l=this.state,f=l.divId,p=l.filled,d=l.nativeFields;if(c)return(0,ye.jsxs)("div",{className:a()("ad-slot","ad-slot--".concat(r),t),children:[(0,ye.jsx)("div",{ref:this.adAreaRef,className:"ad-slot__native-host",style:{display:"none"},children:f&&(0,ye.jsx)("div",{id:f})}),d&&u&&(0,ye.jsxs)("div",{className:"ad-slot__native-card",children:[n&&(0,ye.jsx)(Be,{className:"ad-slot__label",filled:p,children:s("advertisement")}),u(d)]})]});var m=function(e,t){if(!t||0===t.length)return[{minWidth:0,height:Ge(e)}];var r=Ne(t).sort((function(e,t){return e.viewport[0]-t.viewport[0]})).map((function(e){return{minWidth:e.viewport[0],height:Ge(e.sizes)}}));return 0!==r[0].minWidth&&r.unshift({minWidth:0,height:Ge(e)}),r}(o,i);return(0,ye.jsxs)("div",{className:a()("ad-slot","ad-slot--".concat(r),t),children:[n&&(0,ye.jsx)(Be,{className:"ad-slot__label",filled:p,children:s("advertisement")}),(0,ye.jsx)(ze,{className:"ad-slot__container",reservedHeights:m,ref:this.adAreaRef,children:f&&(0,ye.jsx)("div",{id:f})})]})}}])&&Te(t.prototype,r),n&&Te(t,n),c}(o.Component);je(He,"OUTCOME_ACTIONS",["display_filled","display_empty","ad_timeout","ad_canceled"]);var qe=(0,l.Z)({selectors:Ve},f.Z)((0,s.Z)(He))},29529:function(e,t,r){"use strict";r.d(t,{Yg:function(){return o},YN:function(){return i},nt:function(){return a},y7:function(){return c},bh:function(){return u},Be:function(){return s},mb:function(){return l},lC:function(){return f},gq:function(){return p},Ti:function(){return d},AS:function(){return m},RT:function(){return v}});var n="21709104563",o={leaderboard:"/".concat(n,"/web/leaderboard"),infeed:"/".concat(n,"/web/infeed"),articleRail:"/".concat(n,"/web/article_rail")},i=[[728,90],[320,50]],a=[{viewport:[1024,0],sizes:[[728,90]]},{viewport:[768,0],sizes:[[728,90]]},{viewport:[0,0],sizes:[[320,50]]}],c=[[300,250]],u=function(e){return!(null==e||!e.WEB_ADS)},s=function(e){return u(e)&&!(null==e||!e.WEB_ADS_LEADERBOARD)},l=function(e){return u(e)&&!(null==e||!e.WEB_ADS_INFEED)},f=function(e){return u(e)&&!(null==e||!e.WEB_ADS_ARTICLE_RAIL)},p=function(e){return u(e)&&!(null==e||!e.WEB_ADS_STORYBOARD)},d=function(e){return u(e)&&!(null==e||!e.WEB_ADS_FLINT)},m=function(e){return u(e)&&!(null==e||!e.WEB_ADS_IDENTITY)},v=function(e){return null!=e&&e.WEB_ADS_INFEED_INTERVAL_3?3:null!=e&&e.WEB_ADS_INFEED_INTERVAL_6?6:null!=e&&e.WEB_ADS_INFEED_INTERVAL_12?12:9}},51969:function(e,t,r){"use strict";r.d(t,{l3:function(){return a},R1:function(){return f},XE:function(){return p},xQ:function(){return d},nl:function(){return m},pf:function(){return v}});r(18178),r(1939),r(35883),r(34115),r(634),r(58188),r(20796),r(15735),r(28673),r(6886),r(32501),r(26936),r(27233);var n=r(7799);function o(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var r=[],n=!0,o=!1,i=void 0;try{for(var a,c=e[Symbol.iterator]();!(n=(a=c.next()).done)&&(r.push(a.value),!t||r.length!==t);n=!0);}catch(e){o=!0,i=e}finally{try{n||null==c.return||c.return()}finally{if(o)throw i}}return r}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return i(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return i(e,t)}
1(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var a="fluid",c=function(){return(0,n.Z)().googletag},u=function(e){var t=c();return!(!t||!t.cmd)&&(t.cmd.push(e),!0)},s=!1,l=0,f=function(e){return"fl-ad-".concat(e,"-").concat(++l)},p=function(e){var t=null,r=null;return u((function(){var n=c();if(n&&(t=n.defineSlot(e.adUnitPath,e.sizes,e.divId))){if(t.addService(n.pubads()),e.sizeMapping&&e.sizeMapping.length>0){var o=e.sizeMapping.reduce((function(e,t){var r=t.viewport,n=t.sizes;return e.addSize(r,n)}),n.sizeMapping());t.defineSizeMapping(o.build())}e.targeting&&t.setConfig({targeting:e.targeting}),e.onSlotRenderEnded&&(r=function(r){r.slot===t&&e.onSlotRenderEnded&&e.onSlotRenderEnded(r)},n.pubads().addEventListener("slotRenderEnded",r)),s||(n.enableServices(),s=!0),n.display(e.divId)}}))?{destroy:function(){u((function(){var e=c();e&&(r&&(e.pubads().removeEventListener("slotRenderEnded",r),r=null),t&&(e.destroySlots([t]),t=null))}))}}:null},d=function(e){return u((function(){var t=c();t&&t.pubads().setPublisherProvidedId(e)}))},m=function(e){var t=c();return!(!t||!t.cmd)&&(t.secureSignalProviders=t.secureSignalProviders||[],t.secureSignalProviders.push(e),!0)},v=function(e){u((function(){var t=c();if(t){var r={};Object.entries(e).forEach((function(e){var t=o(e,2),n=t[0],i=t[1];r[n]=i||null})),t.setConfig({targeting:r})}}))}},81007:function(e,t,r){"use strict";r.d(t,{x4:function(){return p}});var n=r(12167),o=(r(18178),r(26936),r(2784),r(90856)),i=r(49372),a=r(5109),c=r(74663),u=r(90068),s=r(19654),l=r(52322);var f=(0,n.Z)("span",{target:"e1wx9few3"})({fontWeight:a.Xw.BOLD,textDecoration:"underline",textUnderlineOffset:i.N.SMALL,"&:before":{content:'"@"'}},""),p=(0,n.Z)("span",{target:"e1wx9few2"})(a.k7.SMALL,{display:"inline-flex",verticalAlign:"bottom",paddingRight:i.N.BASE,marginRight:i.N.SMALL,background:o.EU.tertiary,color:o.bo.secondary,borderRadius:i.N.MEDIUM,".author-avatar__image":{margin:"".concat(i.N.XSMALL," ").concat(i.N.SMALL," ").concat(i.N.XSMALL," ").concat(i.N.XSMALL)},span:{color:o.bo.primary},source:{display:"contents"}},""),d=(0,n.Z)("div",{target:"e1wx9few1"})({name:"g35s8x",styles:"display:grid;grid-template-columns:auto 1fr;align-items:center;> *{display:inline-block;vertical-align:bottom;}"}),m=(0,n.Z)("span",{target:"e1wx9few0"})({name:"1lth0c3",styles:"line-height:22px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis"});t.ZP=(0,u.Z)(s.Z)((function(e){var t=e.className,r=e.name,n=e.avatar,o=e.username,i=e.children;return e.featureFlags.PILL_REMOVAL?(0,l.jsx)(f,{className:t,children:o}):(0,l.jsx)(p,{className:t,children:(0,l.jsxs)(d,{children:[(0,l.jsx)(c.Z,{name:r,avatarSize:20,image:n}),(0,l.jsx)(m,{children:i})]})})}))},25430:function(e,t,r){"use strict";r.d(t,{Z:function(){return h}});var n=r(12167),o=(r(2784),r(45697)),i=r.n(o),a=r(72779),c=r.n(a),u=r(90856),s=(r(34769),r(34115),r(95342),r(68625),r(1939),r(62775),r(43057)),l=r(52322);function f(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function p(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var d=function(e){return(0,l.jsx)(s.Z,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?f(Object(r),!0).forEach((function(t){p(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):f(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({name:"avatar",viewBox:"0 0 18 18"},e,{renderComponent:function(e){var t=e.color;return(0,l.jsx)("g",{stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd",children:(0,l.jsxs)("g",{transform:"translate(-3.000000, -6.000000)",fill:t,children:[(0,l.jsx)("ellipse",{cx:"12",cy:"10.6368",rx:"4.5",ry:"4.1472"}
1),(0,l.jsx)("path",{d:"M21.5877197,24.1546951 C21.5877197,19.9823522 17.2951514,16.6 12,16.6 C6.70484863,16.6 2.41228031,19.9823522 2.41228031,24.1546951 C2.41228031,24.1546951 21.5877197,24.1546951 21.5877197,24.1546951 Z"})]})})}}))},m=(0,n.Z)(d,{target:"e8zkkja0"})({display:"block",paddingTop:"spacing(small)",borderRadius:"50%",backgroundColor:u.EU.secondary,objectFit:"cover",border:"0.75px solid rgba(0, 0, 0, 0.15)"},"");function v(e){var t=e.avatarSize,r=e.imageClass,n=c()(r,{"author-avatar__image":!0});return(0,l.jsx)("div",{fallback:"fallback",children:(0,l.jsx)(m,{className:n,size:t})})}v.propTypes={avatarSize:i().number.isRequired,isAmp:i().bool,imageClass:i().string},v.defaultProps={avatarSize:35,isAmp:!1,imageClass:null};var h=v},33901:function(e,t,r){"use strict";r.d(t,{D:function(){return l}});r(2784);var n=r(45697),o=r.n(n),i=r(72779),a=r.n(i),c=r(42890),u=r(74663),s=r(52322),l={small:32,large:64};function f(e){var t=e.className,r=e.author,n=e.avatarSize,o=e.imageClass,i=e.containerClass;if(!r)return null;var l=a()(t,i,{"author-avatar":!0});return(0,s.jsx)("div",{className:l,children:(0,s.jsx)(u.Z,{name:c.Z.getAuthorName(r),avatarSize:n,image:r&&r.authorImage,imageClass:o})})}f.propTypes={className:o().string,author:o().object.isRequired,avatarSize:o().number,containerClass:o().string,imageClass:o().string},f.defaultProps={avatarSize:35,containerClass:"",imageClass:""},t.Z=f},57528:function(e,t,r){"use strict";r(34769),r(34115),r(95342),r(68625),r(1939),r(62775);var n=r(12167),o=(r(2784),r(45697)),i=r.n(o),a=r(49372),c=r(90856),u=r(5109),s=r(4609),l=r(93039),f=r(42890),p=r(11826),d=r(37757),m=r(33901),v=r(58123),h=r(52322);function _(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function y(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?_(Object(r),!0).forEach((function(t){b(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):_(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function b(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var E=(0,n.Z)(v.Z,{shouldForwardProp:function(e){return"avatarSize"!==e},target:"e11jezl91"})((function(e){var t=e.avatarSize;return y({},u.Hb.SMALL_STANDARD,{display:"grid",alignItems:"center",gridTemplateColumns:"".concat(t,"px auto"),gap:"".concat(a.N.BASE),marginBottom:"".concat(a.N.LARGE),".author-avatar__image":{border:"1px solid ".concat(c.M1.primary),"amp-img":{borderRadius:"50%"}}})}),""),g=E.withComponent("div",{target:"e11jezl92"}),O=(0,n.Z)("span",{target:"e11jezl90"})(y({display:"flex"},(0,s.$)("100%",2)),"");function S(e){var t=e.className,r=e.avatarSize,n=e.item,o=e.isClickable,i=e.t,a=n.sectionItemAuthor||n.author,c=(0,p.M_)(a),u=(0,h.jsxs)("div",{children:[(0,h.jsx)(O,{children:(0,l.Z)(i("curated_by"))}),(0,h.jsx)(O,{children:f.Z.getAuthorName(a)})]}),s=(0,h.jsxs)(h.Fragment,{children:[(0,h.jsx)(m.Z,{avatarSize:r,author:a}),u]});return o?(0,h.jsx)(E,{avatarSize:r,className:t,href:c,children:s}):(0,h.jsx)(g,{avatarSize:r,className:t,children:s})}S.propTypes={className:i().string,item:i().object.isRequired,avatarSize:i().number,isClickable:i().bool,t:i().func},S.defaultProps={avatarSize:32,isClickable:!0},t.Z=(0,d.Z)(S)},59470:function(e,t,r){"use strict";r.d(t,{Z:function(){return x}});var n=r(12167),o=r(2784),i=r(45697),a=r.n(i),c=r(49372),u=r(72779),s=r.n(u),l=r(42890),f=r(22749),p=r(11826),d=r(65976),m=r(93780),v=r(58123),h=r(13741),_=r(47897),y=r.n(_),b=r(37757),E=r(52322);function g(e){var t=e.size,r=e.className,n=e.toolTip,o=e.t,i=(0,m.De)(9/14,null,t),a=i.width,c=i.height;return(0,E.jsxs)("svg",{className:"red-bolt ".concat(r),width:a,height:c,viewBox:"0 0 9 14",children:[(0,E.jsx)("title",{id:"red-bolt-icon-title",children:n||o("verified_publisher")}),(0,E.jsxs)("g",{fill:"#F52828",fillRule:"evenodd",children:[(0,E.jsx)("polygon",{points:"3.78947368 6 9 6 3 14"}),(0,E.jsx)("polygon",{points:"5.21052632 8 0 8 6 0"})]})]})}g.propTypes={size:y().number,className:y().string,toolTip:y().string,t:y().func.isRequired},g.defaultProps={size:14,className:""};var O=(0,b.Z)(g),S=r(46120),A=r(33901),T=r(90068),R=r(57702),I=(0,n.Z)("svg",{target:"e1wnnus30"})("display:inline-block;",(function(e){return{filter:null!=e&&e.shadow?"drop-shadow(var(--shadow--elevation-icon))":""}}),"");function P(e){var t=e.size,r=e.color,n=e.shadow;return(0,E.jsxs)(I,{shadow:n,width:t,height:t,fill:"none",viewBox:"0 0 21 21",children:[(0,E.jsxs)("g",{children:[(0,E.jsx)("rect",{x:"4",y:"10.5",width:"3.25",height:"3.25",fill:r}),(0,E.jsx)("rect",{x:"4",y:"4",width:"3.25",height:"3.25",fill:r}),(0,E.jsx)("rect",{x:"7.25",y:"4",width:"3.25",height:"3.25",fill:r}),(0,E.jsx)("rect",{x:"10.5",y:"4",width:"3.25",height:"3.25",fill:r}),(0,E.jsx)("rect",{x:"4",y:"7.25",width:"3.25",height:"3.25",fill:r}),(0,E.jsx)("rect",{x:"13.75",y:"10.5",width:"3.25",height:"3.25",fill:r}),(0,E.jsx)("rect",{x:"13.75",y:"7.25",width:"3.25",height:"3.25",fill:r}),(0,E.jsx)("rect",{x:"13.75",y:"13.75",width:"3.25",height:"3.25",fill:r}),(0,E.jsx)("rect",{x:"10.5",y:"13.75",width:"3.25",height:"3.25",fill:r}),(0,E.jsx)("rect",{x:"7.25",y:"13.75",width:"3.25",height:"3.25",fill:r})]}),(0,E.jsx)("defs",{children:(0,E.jsxs)("filter",{id:"filter0_d",x:"0",y:"0",width:"21",height:"21",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[(0,E.jsx)("feFlood",{floodOpacity:"0",result:"Backgroun
1dImageFix"}),(0,E.jsx)("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"}),(0,E.jsx)("feOffset",{}),(0,E.jsx)("feGaussianBlur",{stdDeviation:"2"}),(0,E.jsx)("feColorMatrix",{type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.4 0"}),(0,E.jsx)("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow"}),(0,E.jsx)("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow",result:"shape"})]})})]})}P.propTypes={size:y().number,color:y().string,shadow:y().bool},P.defaultProps={size:24,color:"#F52828",shadow:!1};var C=P;var w=(0,n.Z)(O,{target:"e1ns4mui3"})({marginRight:c.N.SMALL,minWidth:"12px"},""),j=(0,n.Z)("div",{target:"e1ns4mui2"})({name:"s5xdrg",styles:"display:flex;align-items:center"}),N=(0,n.Z)(S.Z,{target:"e1ns4mui1"})({height:"20px",margin:"0px ".concat(c.N.SMALL)},""),L=(0,n.Z)("div",{target:"e1ns4mui0"})({name:"jmzj3k",styles:"display:flex;align-items:center;.post-attribution__link{display:flex;}"});function D(e){var t=e.item,r=e.section,n=e.className,i=e.onClick,a=e.shouldRenderAvatar,c=e.t,u=e.isArticleRoute,_=e.hideFlipDateCreated,y=e.shownInList,b=e.isCondensedItem,g=e.avatarSize,O=e.noLink,T=l.Z.getSourceAttributionUrl(t),R=l.Z.getSourceAttributionText(t,c,b),I=t.sectionItemAuthor||t.author;if(a&&!I||!R)return null;if(null===T){var P=s()("ui-text--supporting","post-attribution__source",n);return(0,E.jsx)("address",{className:P,children:R})}var D,x=(0,E.jsxs)(j,{children:[a&&void 0!==I.authorImage&&(0,E.jsx)(A.Z,{author:I,containerClass:"post--ngl-card__source-avatar",avatarSize:g}),!y&&t.isSoundcloud&&(0,E.jsx)(S.Z,{ampLayout:"fixed",className:"post-attribution__source-badge",image:(0,m.G$)("https://s.flipboard.com/webapp/images/soundcloud-logo-orange.png"),ampWidth:32,ampHeight:32,alt:c("soundcloud_logo"),ampNoLoading:!0}),!y&&t.isYoutube&&(0,E.jsx)(N,{ampLayout:"fixed",image:(0,m.G$)("https://s.flipboard.com/webapp/images/youtube_social_icon_red.png"),ampWidth:32,ampHeight:32,alt:c("youtube_logo"),ampNoLoading:!0})]}),M=a?null:(0,E.jsxs)(o.Fragment,{children:[t.isHighQuality&&!u&&(0,E.jsx)(w,{}),(t.isStoryboard||t.isMagazine||t.isSectionCover)&&(0,E.jsx)(C,{size:22})]}),Z=function(){return(0,E.jsxs)(o.Fragment,{children:[x,R,!a&&(0,E.jsxs)(o.Fragment,{children:[t.price&&" - ".concat(t.price),u&&!t.isSection&&!_&&t.dateCreated&&" • ".concat((0,d.mm)(t.dateCreated,c))]})]})},U=s()(n,"post-attribution__link",{"ui-text--supporting":!u});return D=O?(0,E.jsx)("div",{className:U,children:Z()}):(0,p.xf)(T)?(0,E.jsx)(h.Z,{className:U,item:t,section:r,shownInList:y,title:R,children:Z()}):(0,E.jsx)(v.Z,{href:T,onClick:function(e){e.stopPropagation(),i&&i()},className:U,navFromEventName:f.f2.SECTION_ENTER,title:R,children:Z()}),(0,E.jsx)("address",{className:"post-attribution__source",children:(0,E.jsxs)(L,{children:[M,D]})})}D.propTypes={item:a().object.isRequired,section:a().object,className:a().string,onClick:a().func,shouldRenderAvatar:a().bool,t:a().func.isRequired,isArticleRoute:a().bool.isRequired,hideFlipDateCreated:a().bool,shownInList:a().bool,isCondensedItem:a().bool,avatarSize:a().number,noLink:a().bool},D.defaultProps={section:null,onClick:null,className:"",shouldRenderAvatar:!1,hideFlipDateCreated:!1,shownInList:!0,isCondensedItem:!1,noLink:!1};var x=(0,T.Z)(R.Z)((0,b.Z)(D))},42547:function(e,t,r){"use strict";r(2784);var n=r(45697),o=r.n(n),i=r(37757),a=r(52322);function c(e){var t=e.smallImage,r=e.mediumImage,n=e.largeImage,o=e.t;return(0,a.jsxs)("picture",{children:[(0,a.jsx)("source",{media:"(max-width: 1199px)",srcSet:t}),(0,a.jsx)("source",{media:"(min-width: 1200px) and (max-width: 1799px)",srcSet:r}),(0,a.jsx)("source",{media:"(min-width: 1800px)",srcSet:n}),(0,a.jsx)("img",{src:t,className:"banner__image",alt:o("banner")})]})}c.propTypes={smallImage:o().string.isRequired,mediumImage:o().string.isRequired,largeImage:o().string.isRequired,t:o().func.isRequired},t.Z=(0,i.Z)(c)},70642:function(e,t,r){"use strict";r(96928),r(61229),r(34115),r(634),r(58188),r(20796),r(15735),r(28673),r(6886);var n=r(2784),o=r(45697),i=r.n(o),a=r(93780),c=r(46120),u=r(71552),s=r(90068),l=r(9665),f=r(13741),p=r(52322);function d(e){return d="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},d(e)}function m(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function v(e,t){return v=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},v(e,t)}function h(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 r,n=b(e);if(t){var o=b(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return _(this,r)}}function _(e,t){return!t||"object"!==d(t)&&"function"!=typeof t?y(e):t}function y(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function b(e){return b=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},b(e)}var E=function(e){!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&&v(e,t)}(s,e);var t,r,o,i=h(s);function s(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}
1(this,s),(t=i.call(this,e)).iframeContainer=n.createRef(),t.state={playingAudio:!1},t.handlePlayInline=t.handlePlayInline.bind(y(t)),t}return t=s,(r=[{key:"handlePlayInline",value:function(){this.setState({playingAudio:!0})}},{key:"render",value:function(){var e=this,t=this.props,r=t.item,n=t.section,o=t.ampHeight,i=t.useCrop,s=t.fallbackElement,l=t.isAmp,d=t.shownInList,m=r.audioURL,v=r.image,h=(0,a.sQ)(v),_=r.soundcloudTrackId;if(l){if(r.isSoundcloud)return null===_?null:(0,p.jsx)("div",{className:"audio-container",children:(0,p.jsx)("amp-soundcloud",{layout:"fixed-height",width:"auto",height:o,"data-trackid":_})});if(m)return(0,p.jsx)("div",{className:"audio-container",children:(0,p.jsx)("amp-audio",{layout:"fixed-height",width:"auto",height:o,src:m,artwork:h})})}if(this.state.playingAudio){var y="https://w.soundcloud.com/player/?url=https%3A//api.soundcloud.com/tracks/".concat(_);return(0,p.jsx)("div",{className:"media-container responsive-iframe soundcloud-container",ref:this.iframeContainer,children:(0,p.jsx)("iframe",{onLoad:function(){h&&e.iframeContainer.current.setAttribute("style","background-image: url(".concat(h,")"))},src:y,frameBorder:"0",allow:"autoplay; encrypted-media",allowFullScreen:!0})})}var b=(0,p.jsx)(c.Z,{image:v,ampHeight:o,alt:r.title,fallbackElement:s,crop:i});return r.isSoundcloud&&_?(0,p.jsxs)("div",{className:"image-frame",onClick:this.handlePlayInline,children:[b,(0,p.jsx)(u.Z,{item:r,size:90,border:!0,shownInList:d})]}):(0,p.jsx)(f.Z,{item:r,section:n,shownInList:d,children:b})}}])&&m(t.prototype,r),o&&m(t,o),s}(n.Component);E.propTypes={item:i().object.isRequired,section:i().object,ampHeight:i().number,useCrop:i().bool,isAmp:i().bool,fallbackElement:i().element,shownInList:i().bool},E.defaultProps={ampHeight:180,useCrop:!0,isAmp:!1,fallbackElement:null},t.Z=(0,s.Z)(l.Z)(E)},18318:function(e,t,r){"use strict";r.d(t,{yU:function(){return A},$$:function(){return I}});r(96928),r(61229),r(34115),r(634),r(58188),r(20796),r(15735),r(28673),r(6886);var n,o=r(12167),i=(r(22144),r(8532),r(34769),r(49228),r(95342),r(77950),r(48319),r(85940),r(74069),r(43105),r(2784)),a=r(28316),c=r(45697),u=r.n(c),s=r(72579),l=r.n(s),f=r(37236),p=r(97537),d=r(93780),m=r(30001),v=r(52322);function h(e){return h="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},h(e)}function _(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function y(e,t){return y=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},y(e,t)}function b(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 r,n=O(e);if(t){var o=O(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return E(this,r)}}function E(e,t){return!t||"object"!==h(t)&&"function"!=typeof t?g(e):t}function g(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function O(e){return O=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},O(e)}function S(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var A=Object.freeze({small:"small",medium:"medium",large:"large",social:"social"}),T=(S(n={},A.small,["image/webp.smallURL","image/webp.mediumURL","smallURL","mediumURL","image/webp.largeURL","image/webp.xlargeURL","largeURL","xlargeURL","url","imageURL","original_url"]),S(n,A.medium,["image/webp.mediumURL","image/webp.largeURL","mediumURL","image/webp.xlargeURL","largeURL","image/webp.smallURL","smallURL","xlargeURL","url","imageURL","original_url"]),S(n,A.large,["image/webp.xlargeURL","image/webp.largeURL","xlargeURL","largeURL","mediumURL","smallURL","url","imageURL","original_url"]),S(n,A.social,["image/webp.mediumURL","mediumURL","image/webp.smallURL","smallURL","image/webp.largeURL","largeURL","image/webp.xlargeURL","xlargeURL","original_url"]),n),R=function(e,t){if("string"==typeof e)return e;if(!e||0===Object.keys(e).length)return null;var r=null;return t.find((function(t){var n=l()(e,t);if(n)return r=n,!0})),r},I=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"medium",t=arguments.length>1?arguments[1]:void 0;return R(t,T[e])},P=function(e){try{var t=(e||"").replace(/\?.*$/,"").split("."),r=t[t.length-1],n=null==r?void 0:r.match(/[a-z]+/);if(!n||!n[0])return;var o=n[0];if("jpg"===o||"jpeg"===o)return"image/jpeg";if("webp"===o)return"image/webp";if("png"===o)return"image/png";if("gif"===o)return"image/gif";if("svg"===o)return"image/svg+xml"}catch(e){return}},C=(0,o.Z)("picture",{target:"e1kiqfk30"})({name:"1opdvho",styles:"margin:0;max-width:100%;vertical-align:bottom"}),w=function(e){!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&&y(e,t)}(c,e);var t,r,n,o=b(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=o.call(this,e)).state={imageDidError:!1},t.imageElement=t.props.forwardedRef||i.createRef(),t.handleImageError=t.handleImageError.bind(g(t)),t.imageIsInvalid=t.imageIsInvalid.bind(g(t)),t}return t=c,r=[{key:"componentDidUpdate",value:function(){!this.state.imageDidError&&this.imageIsInvalid()&&this.setState({imageDidError:!0})}},{key:"handleImageError",value:function(e){this.props.onError&&this.props.onError(e),this.setState({imageDidError:!0})}},{key:"imageIsInvalid",value:function(){var e=a.findDOMNode(this.imageElement.current);return e&&e.complete&&!(0,p.t)(e)}},{key:"render",value:function(){var e=this.props,t=e.height,r=e.width,n=e.alt,o=e.fallbackElement,i=e.className,a=e.style,c=e.onClick,u=e.windowHeight,s=e.loadingMode;if(this.state.imageDidError)return o;var l=a;u&&t>=r&&t>u&&(l=Object.assign({},a,{maxHeight:u,width:"auto"}));var f=(0,d.nc)(I(this.props.variant,this.props.image)),p=(0,d.nc)(function(){return R(arguments.length>1?arguments[1]:void 0,T[arguments.length>0&&void 0!==arguments[0]?arguments[0]:"medium"].filter((function(e){return-1===e.indexOf("webp")})))}(this.props.variant,this.props.image));return f||p?(0,v.jsxs)(C,{children:[(0,v.jsx)("source",{srcSet:f,type:P(f)}),(0,v.jsx)("source",{srcSet:p,type:P(p)}),(0,v.jsx)("img",{ref:this.imageElement,loading:s,src:p,className:i,style:l,alt:n,width:r,height:t,onError:this.handleImageError,onLoad:this.props.onLoad,onClick:c})]}):o}}],r&&_(t.prototype,r),n&&_(t,n),c}(i.Component);w.propTypes={alt:u().string.isRequired,forwardedRef:u().object,fallbackElement:u().element,className:u().string,
1style:u().object,windowHeight:u().number,onClick:u().func,onError:u().func,onLoad:u().func,imageLoaded:u().bool,height:u().number,width:u().number,variant:u().oneOf(Object.keys(A)),image:u().oneOfType([u().object,u().string]).isRequired,loadingMode:u().oneOf(["lazy","eager"])},w.defaultProps={alt:null,fallbackElement:null,className:"",style:{},windowHeight:null,onClick:f.h,onError:f.h,onLoad:f.h,imageLoaded:!1,variant:A.medium,loadingMode:m._V.lazy},t.ZP=w},31390:function(e,t,r){"use strict";r(2784);var n=r(45697),o=r.n(n),i=r(52322),a=function(e){var t=e.primary,r=e.className,n=e.children,o=t?"h1":"h3";return(0,i.jsx)(o,{className:r,children:n})};a.propTypes={primary:o().bool,className:o().string,children:o().node},t.Z=a},91506:function(e,t,r){"use strict";var n=r(35666),o=r.n(n),i=r(15735),a=r.n(i),c=r(58188),u=r.n(c),s=r(73439),l=r.n(s),f=r(28673),p=r.n(f),d=r(6886),m=r.n(d),v=r(26936),h=r.n(v),_=r(14121),y=r.n(_),b=r(93244),E=r.n(b),g=r(18178),O=r.n(g),S=r(1939),A=r.n(S),T=r(34769),R=r.n(T),I=r(77950),P=r.n(I),C=r(74069),w=r.n(C),j=r(96928),N=r.n(j),L=r(61229),D=r.n(L),x=r(34115),M=r.n(x),Z=r(95342),U=r.n(Z),k=r(68625),F=r.n(k),G=r(62775),B=r.n(G),z=r(634),V=r.n(z),H=r(20796),q=r.n(H),W=r(2784),Y=r(45697),K=r.n(Y),X=r(72779),$=r.n(X),J=r(24463),Q=r(7799),ee=r(54665),te=r(8260),re=r(47741),ne=r(48115),oe=r(68265),ie=r(82810),ae=r(90068),ce=r(88996),ue=r(54508),se=r(6407),le=r(37757),fe=r(56888),pe=r(52322);function de(e){return de="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},de(e)}function me(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function ve(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?me(Object(r),!0).forEach((function(t){he(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):me(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function he(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function _e(e,t,r,n,o,i,a){try{var c=e[i](a),u=c.value}catch(e){return void r(e)}c.done?t(u):Promise.resolve(u).then(n,o)}function ye(e){return function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(e){_e(i,n,o,a,c,"next",e)}function c(e){_e(i,n,o,a,c,"throw",e)}a(void 0)}))}}function be(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ee(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function ge(e,t,r){return t&&Ee(e.prototype,t),r&&Ee(e,r),e}function Oe(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&&Se(e,t)}function Se(e,t){return Se=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},Se(e,t)}function Ae(e){var t=Ie();return function(){var r,n=Pe(e);if(t){var o=Pe(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return Te(this,r)}}function Te(e,t){return!t||"object"!==de(t)&&"function"!=typeof t?Re(e):t}function Re(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ie(){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}}function Pe(e){return Pe=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},Pe(e)}var Ce=function(){return null},we=function(){return null},je=function(){return null},Ne=function(){return null};te.Z.isServer()||(Ce=J.ZP.lib({resolved:{},chunkName:function(){return"video"},isReady:function(e){var t=this.resolve(e);return!0===this.resolved[t]&&!!r.m[t]},importAsync:function(){return Promise.all([r.e(4880),r.e(6791)]).then(r.bind(r,24880))},requireAsync:function(e){var t=this,r=this.resolve(e);return this.resolved[r]=!1,this.importAsync(e).then((function(e){return t.resolved[r]=!0,e}))},requireSync:function e(t){var n=this.resolve(t);return r(n)},resolve:function e(){return 24880}}),we=J.ZP.lib({resolved:{},chunkName:function(){return"videojs-contrib-ads"},isReady:function(e){var t=this.resolve(e);return!0===this.resolved[t]&&!!r.m[t]},importAsync:function(){return Promise.all([r.e(4880),r.e(686),r.e(9731)]).then(r.bind(r,80686))},requireAsync:function(e){var t=this,r=this.resolve(e);return this.resolved[r]=!1,this.importAsync(e).then((function(e){return t.resolved[r]=!0,e}))},requireSync:function e(t){var n=this.resolve(t);return r(n)},resolve:function e(){return 80686}}),je=J.ZP.lib({resolved:{},chunkName:function(){return"videojs-ima"},isReady:function(e){var t=this.resolve(e);return!0===this.resolved[t]&&!!r.m[t]},importAsync:function(){return Promise.all([r.e(4880),r.e(2647),r.e(9404)]).then(r.bind(r,12647))},requireAsync:function(e){var t=this,r=this.resolve(e);return this.resolved[r]=!1,this.importAsync(e).then((function(e){return t.resolved[r]=!0,e}))},requireSync:function e(t){var n=this.resolve(t);return r(n)},resolve:function e(){return 12647}}),Ne=J.ZP.lib({resolved:{},chunkName:function(){return"can-autoplay"},isReady:function(e){var t=this.resolve(e);return!0===this.resolved[t]&&!!r.m[t]},importAsync:function(){return r.e(8920).then(r.bind(r,65608))},requireAsync:function(e){var t=this,r=this.resolve(e);return this.resolved[r]=!1,this.importAsync(e).then((function(e){return t.resolved[r]=!0,e}))},requireSync:function e(t){var n=this.resolve(t);return r(n)},resolve:function e(){return 65608}}));var Le={},De=function(e){return function(t){Le[e]||null!=t&&t.default&&(Le[e]=t.default)}},xe=30,Me=7e3,Ze=3e3,Ue=function(e){Oe(o,e);var t,r,n=Ae(o);function o(e){var t;return be(this,o),(t=n.call(this,e)).videoElementRef=W.createRef(),t.loadVideoJSTimer=null,t.requestedSignedMediaCookie=!1,t.midrollTriggered=!1,t.refreshSignedMediaCookie=t.refreshSignedMediaCookie.bind(Re(t)),t.setupVideo=t.setupVideo.bind(Re(t)),t.shouldShowAd=t.shouldShowAd.bind(Re(t)),t.onError=t.onError.bind(Re(t)),t.getSource=t.getSource.bind(Re(t)),t.sourceRequiresCredentials=t.sourceRequiresCredentials.bind(Re(t)),t.handleUnmute=t.handleUnmute.bind(Re(t)),t.state={adsResponse:null,setupComplete:!1,adsBlocked:!1,mutedAutoplay:!1},t}
1return ge(o,[{key:"componentDidMount",value:(r=ye(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if((0,ne.Z)(),!this.sourceRequiresCredentials()){e.next=4;break}return e.next=4,this.refreshSignedMediaCookie();case 4:this.setupVideo();case 5:case"end":return e.stop()}}),e,this)}))),function(){return r.apply(this,arguments)})},{key:"componentDidUpdate",value:function(e){if(this.player){var t=this.props.play;this.player.seeking()||e.play===t||this.player[t?"play":"pause"]()}}},{key:"componentWillUnmount",value:function(){this.unmounted=!0,this.player&&this.player.dispose(),this.fullscreenChangeHandler&&document.removeEventListener("fullscreenchange",this.fullscreenChangeHandler),this.videoElementRef.current&&(this.webkitBeginFullscreenHandler&&this.videoElementRef.current.removeEventListener("webkitbeginfullscreen",this.webkitBeginFullscreenHandler),this.webkitEndFullscreenHandler&&this.videoElementRef.current.removeEventListener("webkitendfullscreen",this.webkitEndFullscreenHandler)),(0,Q.Z)().clearTimeout(this.loadVideoJSTimer),(0,Q.Z)().clearTimeout(this.setupCompleteTimer),(0,Q.Z)().clearTimeout(this.fullscreenResumeTimer),(0,Q.Z)().clearTimeout(this.disposePlayerTimer),(0,Q.Z)().clearTimeout(this.prerollDeadlineTimer)}},{key:"refreshSignedMediaCookie",value:(t=ye(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.props.refreshSignedMediaCookie();case 2:this.requestedSignedMediaCookie=!0;case 3:case"end":return e.stop()}}),e,this)}))),function(){return t.apply(this,arguments)})},{key:"evaluatePreRoll",value:function(){var e=this.props,t=e.prerollAds,r=e.validThanksSubscription,n=e.shownVideoAd,o=e.adShowPercentage,i=e.videoAdsEnabled,a=e.forceVideoAds;return i||a?t?r?{show:!1,reason:"subscriber"}:n?100*Math.random()<o?{show:!0,reason:null}:{show:!1,reason:"frequency"}:{show:!0,reason:null}:{show:!1,reason:"not_eligible"}:{show:!1,reason:"ads_disabled"}}},{key:"shouldShowAd",value:function(){return this.evaluatePreRoll().show}},{key:"getSource",value:function(){var e=this.props.source;return e.indexOf("s3.amazonaws.com/ve1")>-1&&(e="https://cdn.flipboard.com/dev_O/unavailable.mp4"),e||""}},{key:"sourceRequiresCredentials",value:function(){return this.getSource().indexOf("ms.flipboard.com")>-1}},{key:"setupVideo",value:function(){var e=this,t=this.props,r=t.isIos,n=t.isEmbedded,o=t.sendUsageEventWithSession,i=(0,Q.Z)().google&&(0,Q.Z)().google.ima,a=!Le.canAutoplay,c=!!this.sourceRequiresCredentials()&&!this.requestedSignedMediaCookie;this.preRollDecision||(this.preRollDecision=this.evaluatePreRoll());var u=(this.preRollDecision.show||this.props.midrollTime>0)&&!i;if(u||!Le.videojs||!Le.videojsContribAds||!Le.videojsIMA||c||a){var s=u&&Le.videojs&&Le.videojsContribAds&&Le.videojsIMA&&!c&&!a;return this.setupAttempts=(this.setupAttempts||0)+1,s&&this.setupAttempts>=xe?void this.handleAdBlocked("ima_sdk_blocked"):void(this.loadVideoJSTimer=(0,Q.Z)().setTimeout((function(){e.setupVideo()}),100))}Le.videojs.getPlugin("ads")||Le.videojs.registerPlugin("ads",Le.videojsContribAds);var l=Le.videojs.getComponent("Button");if(!Le.videojs.getComponent("SeekBackBtn")){var f=Le.videojs.extend(l,{constructor:function(e,t){l.call(this,e,t),this.addClass("vjs-seek-back-btn"),this.controlText("Go back 15 seconds")},handleClick:function(){var e=this.player();e.currentTime(Math.max(0,e.currentTime()-15))}});Le.videojs.registerComponent("SeekBackBtn",f)}if(!Le.videojs.getComponent("SeekFwdBtn")){var p=Le.videojs.extend(l,{constructor:function(e,t){l.call(this,e,t),this.addClass("vjs-seek-fwd-btn"),this.controlText("Skip ahead 30 seconds")},handleClick:function(){var e=this.player(),t=e.duration()||1/0;e.currentTime(Math.min(t,e.currentTime()+30))}});Le.videojs.registerComponent("SeekFwdBtn",p)}if(this.props.autoPlay&&void 0===this.autoplayAllowed){var d=!!this.props.muted;Le.canAutoplay.video({muted:d}).then((function(t){!1!==t.result?(e.autoplayAllowed=!0,e.autoplayMuted=d):d||e.props.isEmbedded?(e.autoplayAllowed=!1,e.autoplayMuted=!1):(e.autoplayAllowed=!0,e.autoplayMuted=!0),e.unmounted||e.setupVideo()}))}else{var m=!!this.props.autoPlay&&!1!==this.autoplayAllowed,v=!!this.props.muted||m&&!!this.autoplayMuted,h=v&&!this.props.muted,_="1";m?h&&(_="m"):_="0";var y=this.props,b=y.poster,E=y.videoJSOptions,g=y.track,O=y.videoTrackerOptions,S=y.videoEvents,A=y.videoAdOptions,T=y.overrideAdTagUrl,R=y.shownVideoAd,I=y.mimeType,P=y.t,C=T?(0,ee.uR)(T,m):(0,ee.T6)(A,{autoPlay:m,muted:v}),w=this.preRollDecision,j=w.show,N=w.reason,L=this.getSource();this.player=Le.videojs(this.videoElementRef.current,ve({poster:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABAQAAAAA3bvkkAAAACklEQVQI12NgAAAAAgAB4iG8MwAAAABJRU5ErkJggg==",fill:!0,controls:!0,muted:v},n&&{inactivityTimeout:4e3},{},n&&{controlBar:{children:["playToggle","currentTimeDisplay","SeekBackBtn","progressControl","SeekFwdBtn","remainingTimeDisplay","fullscreenToggle"]}},{sources:[{src:L,type:I,withCredentials:this.sourceRequiresCredentials()}]},E),(function(){var t=e.videoElementRef.current;t&&g&&new fe.Z(t,O,o);var i,a=function(){var t=e.player.play();t&&"function"==typeof t.catch&&t.catch((function(t){!e.unmounted&&e.player&&t&&"NotAllowedError"===t.name&&(e.player.poster(b),h&&(e.player.muted(!1),e.setState({mutedAutoplay:!1}),j&&u("ad_autoplay_denied",{url:"ap=m"})))}))},c=r?function(){e.player.poster(b),e.setupCompleteTimer=(0,Q.Z)().setTimeout((function(){e.player.removeClass("vjs-waiting"),e.setState({setupComplete:!0}),m&&a()}),100)}:function(){e.setupCompleteTimer=(0,Q.Z)().setTimeout((function(){return e.setState({setupComplete:!0})}),100),m?a():e.player.poster(b)};try{i=new URL(C).searchParams.get("iu")||void 0}catch(e){i=void 0}var u=function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.props,o=n.sendUsageEventWithSession,a=n.videoTrackerOptions,c=void 0===a?{}:a;if(o&&(e._adLoggedActions||(e._adLoggedActions=new Set),!e._adLoggedActions.has(t))){e._adLoggedActions.add(t);try{o({event_category:"ad",event_action:t,event_data:ve({method:e.props.isEmbedded?"video_embed":"video_web",item_type:e.props.midrollTime>0?"midroll":"preroll",target_id:i,item_id:c.item_id,section_id:c.section_id,item_partner_id:c.item_partner_id},r)})}catch(e){re.Z.captureException(e)}}},s=e.props.midrollTime;if(j){u("ad_attempt",{url:"ap=".concat(_)}
1),e.adAttemptAt=Date.now();var l=function(){return Date.now()-e.adAttemptAt},f=function(){return u("ad_request")};e.prerollDeadlineMs=Me,e.prerollSettled=!1;var p=function(){e.prerollSettled=!0,(0,Q.Z)().clearTimeout(e.prerollDeadlineTimer)},d=!n&&s<=0&&m,v=function(){e.unmounted||e.prerollDeadlinePassed||e.prerollSettled||(e.prerollDeadlinePassed=!0,(0,Q.Z)().clearTimeout(e.prerollDeadlineTimer),u("ad_timeout",{url:"t=".concat(l()," deadline=client limit=").concat(e.prerollDeadlineMs).concat(e.earlyProbeStatus?" probe=".concat(e.earlyProbeStatus):"")}),e.player&&(e.player.trigger("adtimeout"),e.player.ads&&"function"==typeof e.player.ads.skipLinearAdMode&&e.player.ads.skipLinearAdMode()),c())},y=function(){return!e.prerollDeadlinePassed&&d&&l()>=e.prerollDeadlineMs&&v(),e.prerollDeadlinePassed};e.player.on("adsready",(function(){y()?u("ad_ready_late",{url:"t=".concat(l())}):(f(),u("ad_ready",{url:"t=".concat(l()," ap=").concat(_)}))})),e.player.on("ads-ad-started",(function(){f(),u("ad_impression",{url:"t=".concat(l()," ap=").concat(_)})})),e.player.on("ads-ad-ended",(function(){return u("ad_complete")})),e.player.on("nopreroll",(function(){p(),f(),u("ad_nofill")})),e.player.on("adtimeout",(function(){e.prerollDeadlinePassed||f(),u("ad_timeout")}));var E=function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:l();e.prerollDeadlinePassed||f(),u("ad_error",{url:(0,ee._t)(t,ve({},r,{online:(0,ee.T5)(),t:n})).url})};s>0&&e.player.on("adserror",(function(e){return E(e)})),s>0?(c(),e.player.on("ads-ad-started",(function(){R||e.props.setShownVideoAd(!0)}))):(m||c(),d&&(e.prerollDeadlineTimer=(0,Q.Z)().setTimeout(v,Me),(0,ee.M$)().then((function(t){e.unmounted||e.prerollDeadlinePassed||e.prerollSettled||(e.earlyProbeStatus=t,t===ee.it.TIMEOUT&&(e.prerollDeadlineMs=Ze,(0,Q.Z)().clearTimeout(e.prerollDeadlineTimer),e.prerollDeadlineTimer=(0,Q.Z)().setTimeout(v,Math.max(e.prerollDeadlineMs-l(),0))))}))),e.player.on("adsready",(function(){y()||(p(),d&&e.player.ads&&e.player.ads.settings&&(e.player.ads.settings.prerollTimeout=Math.max(e.prerollDeadlineMs-l(),0)),c(),R||e.props.setShownVideoAd(!0))})),e.player.on("adserror",(function(t){return function(t,r){var n=l();if(!e.prerollSettled&&!y())return(0,ee.EF)(t)?void(0,ee.M$)().then((function(o){e.unmounted||(e.prerollSettled||y()?E(t,{probe:o},n):(p(),o===ee.it.UNREACHABLE?e.handleAdBlocked("ad_request_blocked"):(E(t,{probe:o},n),r())))})):(p(),E(t,{},n),void r());(0,ee.EF)(t)?(0,ee.M$)().then((function(r){e.unmounted||E(t,{probe:r},n)})):E(t,{},n)}(t,c)})))}else u("preroll_skipped",{url:N}),c()})),h&&(this.setState({mutedAutoplay:!0}),this.player.on("volumechange",(function(){e.player&&!e.player.muted()&&e.state.mutedAutoplay&&e.setState({mutedAutoplay:!1})}))),n&&(this.player.on("touchend",(function(t){var r=t.target||t.srcElement;r&&r.closest&&r.closest(".vjs-control-bar")||(e.player.paused()?e.player.play():e.player.pause(),e.player.userActive(!0))})),this.player.on("pause",(function(){e.player.userActive(!0)})));var D=this.videoElementRef.current;if(n&&D){var x=this.player.controlBar.getChild("fullscreenToggle");x&&(D.webkitEnterFullscreen&&!document.fullscreenEnabled?(x.handleClick=function(){D.webkitEnterFullscreen()},this.wasPlayingBeforeFullscreen=!1,this.webkitBeginFullscreenHandler=function(){e.wasPlayingBeforeFullscreen=!e.player.paused(),e.props.onFullscreenChange&&e.props.onFullscreenChange(!0)},D.addEventListener("webkitbeginfullscreen",this.webkitBeginFullscreenHandler),this.webkitEndFullscreenHandler=function(){e.props.onFullscreenChange&&e.props.onFullscreenChange(!1),e.wasPlayingBeforeFullscreen&&(e.fullscreenResumeTimer=(0,Q.Z)().setTimeout((function(){e.player&&e.player.paused()&&e.player.play()}),200))},D.addEventListener("webkitendfullscreen",this.webkitEndFullscreenHandler)):document.fullscreenEnabled&&(x.handleClick=function(){document.fullscreenElement?document.exitFullscreen():document.documentElement.requestFullscreen()},this.fullscreenChangeHandler=function(){if(document.fullscreenElement)e.player.addClass("vjs-fullscreen"),e.props.onFullscreenChange&&e.props.onFullscreenChange(!0);else{e.props.onFullscreenChange&&e.props.onFullscreenChange(!1);var t=!e.player.paused();e.player.removeClass("vjs-fullscreen"),t&&(e.fullscreenResumeTimer=(0,Q.Z)().setTimeout((function(){e.player&&e.player.paused()&&e.player.play()}),200))}},document.addEventListener("fullscreenchange",this.fullscreenChangeHandler)))}else if(D&&D.webkitEnterFullscreen&&!document.fullscreenEnabled){var M=this.player.controlBar.getChild("fullscreenToggle");M&&(M.handleClick=function(){D.webkitEnterFullscreen()})}if(this.player.on("ended",(function(){e.player.poster(b),e.player.hasStarted(!1)})),this.player.on("error",(function(){te.Z.isDevelopment&&(0,Q.Z)().alert("Unable to play video.  This is development, is this a 
1signed media thing? Do you have signed media cookies?  Visit this same page in production to get those.")})),Object.keys(S).forEach((function(t){return e.player.on(t,S[t])})),j){var Z=this.props.midrollTime;Z>0?(this.player.ima({adLabel:P("advertisement"),adWillAutoPlay:!0,adWillPlayMuted:v}),this.player.on("timeupdate",(function(){!e.midrollTriggered&&e.player.currentTime()>=Z&&(e.midrollTriggered=!0,e.midrollResumeTime=e.player.currentTime(),e.adAttemptAt=Date.now(),e.player.ima.changeAdTag(C),e.player.ima.requestAds())})),this.player.on("contentresumed",(function(){e.midrollResumeTime&&e.player.currentTime()<e.midrollResumeTime-1&&e.player.currentTime(e.midrollResumeTime),e.midrollResumeTime=null}))):this.player.ima(ve({adLabel:P("advertisement"),adTagUrl:C,adWillAutoPlay:m,adWillPlayMuted:v},!n&&{vastLoadTimeout:Me,contribAdsSettings:{timeout:Me,prerollTimeout:Me},preventLateAdStart:!0}))}}}},{key:"onError",value:function(e,t){e.message.match(/Loading chunk.*failed/)?this.handleAdBlocked("chunk_load_failed"):re.Z.captureError(e,t)}},{key:"handleAdBlocked",value:function(e){var t=this;this.state.adsBlocked||((0,Q.Z)().clearTimeout(this.loadVideoJSTimer),this.setState({adsBlocked:!0,setupComplete:!0}),this.logAdBlocked(e),this.player&&(this.disposePlayerTimer=(0,Q.Z)().setTimeout((function(){if(t.player){try{t.player.dispose()}catch(e){}t.player=null}}),0)))}},{key:"logAdBlocked",value:function(e){var t=this.props,r=t.sendUsageEventWithSession,n=t.isEmbedded,o=t.videoTrackerOptions,i=void 0===o?{}:o;r&&r({event_category:"ad",event_action:"ad_blocked",event_data:{method:n?"video_embed":"video_web",item_type:this.props.midrollTime>0?"midroll":"preroll",item_id:i.item_id,section_id:i.section_id,url:e}})}},{key:"handleUnmute",value:function(){this.player&&this.player.muted(!1),this.setState({mutedAutoplay:!1})}},{key:"render",value:function(){var e=this.props,t=e.isIos,r=e.t,n=$()("video-player",this.props.className,{"video-player--waiting":!this.state.setupComplete});return(0,pe.jsx)("div",{className:n,children:this.state.adsBlocked?(0,pe.jsx)("div",{className:"video-player__disable-ad-blocker",children:(0,pe.jsx)("span",{children:r("disable_ad_blocker_to_see_content")})}):(0,pe.jsx)("div",{className:"video-player--hide","data-vjs-player":!0,children:(0,pe.jsxs)(W.Fragment,{children:[(0,pe.jsxs)(oe.Z,{onError:this.onError,children:[(0,pe.jsx)(Ce,{ref:De("videojs")}),(0,pe.jsx)(we,{ref:De("videojsContribAds")}),(0,pe.jsx)(je,{ref:De("videojsIMA")}),(0,pe.jsx)(Ne,{ref:De("canAutoplay")})]}),(0,pe.jsx)("video",{controls:!0,playsInline:t,preload:"auto",className:"video-js vjs-waiting vjs-big-play-centered",crossOrigin:this.sourceRequiresCredentials()?"use-credentials":void 0,ref:this.videoElementRef}),this.state.mutedAutoplay&&(0,pe.jsx)("button",{type:"button",className:"video-player__unmute",onClick:this.handleUnmute,children:r("tap_to_unmute")})]})})})}}]),o}(W.Component);Ue.defaultProps={videoEvents:{},videoAdOptions:{},muted:!1,videoJSOptions:{},videoTrackerOptions:{},track:!1,play:!1,autoPlay:!1,prerollAds:!1,forceVideoAds:!1,isEmbedded:!1,validThanksSubscription:!1,midrollTime:0},Ue.propTypes={source:K().string.isRequired,videoEvents:K().object,videoJSOptions:K().object,videoTrackerOptions:K().object,track:K().bool,poster:K().string,className:K().string,prerollAds:K().bool,autoPlay:K().bool,play:K().bool,validThanksSubscription:K().bool,adShowPercentage:K().number.isRequired,videoAdOptions:K().object,overrideAdTagUrl:K().string,muted:K().bool,shownVideoAd:K().bool.isRequired,setShownVideoAd:K().func.isRequired,refreshSignedMediaCookie:K().func.isRequired,isIos:K().bool.isRequired,sendUsageEventWithSession:K().func.isRequired,videoAdsEnabled:K().bool.isRequired,forceVideoAds:K().bool,isEmbedded:K().bool,onFullscreenChange:K().func,midrollTime:K().number,mimeType:K().string.isRequired,t:K().func.isRequired},t.Z=(0,ae.Z)(ce.Z,ue.Z)((0,le.Z)((0,se.Z)((0,ie.Z)(Ue))))},46120:function(e,t,r){"use strict";r.d(t,{Z:function(){return I}});r(43105),r(34769),r(34115),r(95342),r(68625),r(1939),r(62775),r(2784);var n=r(45697),o=r.n(n),i=r(31975),a=r(93780),c=r(18318),u=r(52322),s=function(e){var t=e.alt,r=e.ampHeight,n=e.ampLayout,o=e.ampNoLoading,i=e.ampWidth,s=e.className,l=e.fallbackElement,f=e.height,p=e.image,d=e.variant,m=e.width,v=e.ampStyle,h=e.ampClass;return(0,u.jsx)("div",{className:s,style:v,children:(0,u.jsx)("amp-img",{class:h,layout:n,src:(0,a.nc)((0,c.$$)(d,p)),alt:t,width:i||m,height:r||f,noloading:o?"noloading":void 0,children:l})})};s.propTypes={alt:o().string,ampHeight:o().number,ampLayout:o().string,ampNoLoading:o().bool,ampWidth:o().number,ampStyle:o().object,className:o().string,fallbackElement:o().element,height:o().number,image:o().object,width:o().number,variant:o().oneOf(Object.keys(c.yU)),ampClass:o().string},s.defaultProps={ampLayout:"responsive",ampNoLoading:!1,ampStyle:{},ampClass:"",variant:c.yU.medium};var l=s,f=r(72779),p=r.n(f);function d(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function m(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
1t%2?d(Object(r),!0).forEach((function(t){v(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):d(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function v(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var h=function(e){var t=p()(e.className,{"cropped-image":!0,"media-container":!0});return(0,u.jsx)("div",{className:t,children:(0,u.jsx)(c.ZP,m({},e,{style:{height:"100%",objectFit:"cover"},lazy:!0}))})};h.propTypes={className:o().string},h.defaultProps={className:null};var _=h,y=r(90068),b=r(9665),E=r(82706);function g(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function O(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?g(Object(r),!0).forEach((function(t){S(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):g(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function S(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function A(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var T=(0,i.Z)("CroppedImage"),R=function(e){var t=e.isAmp,r=e.crop,n=e.useDumbCroppedImage,o=e.isAuthenticated,i=e.size,s=e.image,f=e.fallbackElement,p=A(e,["isAmp","crop","useDumbCroppedImage","isAuthenticated","size","image","fallbackElement"]);if(!s)return f||null;var d=i,m=i;if("string"!=typeof s&&!i){var v=(0,a.W0)(s);m=v?(0,a.Of)(s):null,d=v?(0,a.OL)(s):null,i&&(m=i,d=i)}var h=Object.assign(p,{fallbackElement:f,image:s,height:d,width:m});if(t)return h.width&&h.height||h.ampWidth&&h.ampHeight?(0,u.jsx)(l,O({},h)):null;if(r&&o&&!n){var y=(0,a.xi)(s);return(0,u.jsx)(T,O({},h,{focusPointNormalized:y}))}return!r||o&&!n?(0,u.jsx)(c.ZP,O({},h)):(0,u.jsx)(_,O({},h))};R.propTypes={isAmp:o().bool,crop:o().bool,useDumbCroppedImage:o().bool,isAuthenticated:o().bool,size:o().number,image:o().oneOfType([o().object,o().string]),fallbackElement:o().node,ampClass:o().string},R.defaultProps={isAmp:!1,crop:!1,useDumbCroppedImage:!1,isAuthenticated:!1,image:{},fallbackElement:null,size:null};var I=(0,y.Z)(E.Z,b.Z)(R)},4067:function(e,t,r){"use strict";r.d(t,{S:function(){return l},Z:function(){return g}});r(35883),r(39529),r(34115),r(634),r(58188),r(20796),r(15735),r(28673),r(6886),r(32501),r(26936),r(27233),r(34769),r(95342),r(68625),r(1939),r(62775);var n=r(2784),o=r(72779),i=r.n(o),a=r(43057),c=r(52322);function u(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function s(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var l,f=function(e){return(0,c.jsx)(a.Z,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?u(Object(r),!0).forEach((function(t){s(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):u(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({name:"search",size:22,viewBox:"0 0 22 22"},e,{renderComponent:function(e){var t=e.color;return(0,c.jsxs)("g",{transform:"translate(2.000000, 2.000000)",stroke:t,strokeWidth:"1.5",fill:"none",children:[(0,c.jsx)("circle",{cx:"7",cy:"7",r:"7"}),(0,c.jsx)("path",{d:"M12,13 L17,18",strokeLinecap:"square"})]})}}))},p=r(36584);function d(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function m(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
1t%2?d(Object(r),!0).forEach((function(t){v(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):d(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function v(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function h(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var r=[],n=!0,o=!1,i=void 0;try{for(var a,c=e[Symbol.iterator]();!(n=(a=c.next()).done)&&(r.push(a.value),!t||r.length!==t);n=!0);}catch(e){o=!0,i=e}finally{try{n||null==c.return||c.return()}finally{if(o)throw i}}return r}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return _(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return _(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function _(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function y(e){return e===l.SEARCH?(0,c.jsx)(f,{className:"input-field__icon",size:18}):null}!function(e){e.SEARCH="SEARCH"}(l||(l={}));var b=["onClear","hasValue","inputClass","className"],E=n.forwardRef((function(e,t){var r=Object.entries(e).reduce((function(e,t){var r=h(t,2),n=r[0],o=r[1];return b.includes(n)||(e[n]=o),e}),{}),n=i()(e.className,{"input-field":!0,"input-field--with-icon":e.icon});return(0,c.jsxs)("div",{className:n,children:[y(e.icon),(0,c.jsx)("input",m({ref:t,className:e.inputClass},r)),e.onClear&&e.hasValue&&(0,c.jsx)("div",{className:"input-field__clear",onClick:e.onClear,children:(0,c.jsx)(p.Z,{})})]})}));E.defaultProps={type:"text",hasValue:!1};var g=E},53913:function(e,t,r){"use strict";var n=r(12167),o=(r(72508),r(34769),r(67890),r(2784)),i=r(45697),a=r.n(i),c=r(57366),u=r(42890),s=r(39744),l=r(93780),f=r(37236),p=r(90068),d=r(57702),m=r(68869),v=r(71552),h=r(46120),_=r(42371),y=r(70642),b=r(13741),E=r(12857),g=r(8026),O=r(18318),S=r(52322);var A=(0,n.Z)(b.Z,{target:"e1hrrxzu1"})({name:"1m7modc",styles:"border-radius:inherit"}),T=(0,n.Z)(h.Z,{target:"e1hrrxzu0"})({name:"1m7modc",styles:"border-radius:inherit"}),R=c.Z.sizes;function I(e){var t=e.className,r=e.item,n=e.section,i=e.shownInList,a=e.allowPlayableMedia,c=e.onError,p=e.useCrop,d=e.windowHeight,m=e.fallbackElementSize,h=e.imageTheme,b=e.previewSize,O=e.showWideVideos,I=e.isArticleRoute,P=e.link,C=e.showModal,w=e.ampClass,j=e.loadingMode,N=e.ampHeight,L=e.ampWidth,D=e.videoEvents,x=r,M=u.Z.getAuthor(r),Z=x.isFirstPartyVideo&&i,U=(0,S.jsx)(E.Z,{author:M,fallbackElementSize:m}),k=x,F=k.isVideo,G=k.isAudio,B=k.isStatus,z=k.section,V=r.inlineVideoItem||r;if(B&&(x=(0,s.oQ)(r)),a&&F&&(V.isYoutube||V.isVimeo||V.isFirstPartyVideo))return(0,S.jsx)("figure",{className:"".concat(t," post__media"),children:(0,S.jsx)(_.Z,{link:Z,shownInList:i,item:x,section:n,useCrop:p,windowHeight:d,fallbackElement:U,previewSize:b,showWideVideos:O,videoEvents:D})});if(a&&G&&r.isSoundcloud)return(0,S.jsx)("figure",{className:"".concat(t," post__media post__media--audio"),children:(0,S.jsx)(y.Z,{item:r,fallbackElement:U,useCrop:p})});var H=(0,l.V3)(z||x),q=b===R.SMALL?32:48,W=I&&i&&b!==R.SMALL?r.displayTo
1pic:null,Y=b!==R.SMALL||O,K=(0,S.jsx)(T,{image:H,alt:x.title,onError:c,windowHeight:d,fallbackElement:U,crop:p,variant:h,onClick:!P&&r.isFlipComposeImage?function(e){e.preventDefault(),C(g.Z,{item:r,section:n})}:f.h,ampClass:w,loadingMode:j,ampWidth:L,ampHeight:N}),X=K;return P?X=(0,S.jsx)(A,{item:x,section:n,shownInList:i,className:"post__media--image media-link",children:K}):r.isFlipComposeImage&&(X=(0,S.jsx)("div",{className:"modal-link",children:K})),(0,S.jsxs)("div",{className:"".concat(t," post__media"),children:[X,(0,S.jsx)(o.Fragment,{children:(0,S.jsx)(v.Z,{size:q,border:!0,isCondensed:b===R.SMALL,item:x,showDuration:Y,isMedia:!!Z,topicTag:W,shownInList:i})})]})}I.propTypes={className:a().string,item:a().object.isRequired,section:a().object,shownInList:a().bool,allowPlayableMedia:a().bool,onError:a().func,useCrop:a().bool,windowHeight:a().number,imageTheme:a().oneOf(Object.keys(O.yU)),fallbackElementSize:a().oneOf(Object.values(E.Z.fallbackElementSizes)),previewSize:a().oneOf(Object.values(R)),showWideVideos:a().bool,isArticleRoute:a().bool.isRequired,link:a().bool,showModal:a().func.isRequired,ampClass:a().string,loadingMode:a().string,ampHeight:a().number,ampWidth:a().number,videoEvents:a().object},I.defaultProps={section:null,shownInList:!0,allowPlayableMedia:!0,onError:void 0,useCrop:!0,windowHeight:null,fallbackElementSize:E.Z.fallbackElementSizes.CARD,previewSize:null,showWideVideos:!1,link:!0,ampClass:"",videoEvents:{}},t.Z=(0,p.Z)(m.Z,d.Z)(I)},42371:function(e,t,r){"use strict";r.d(t,{Z:function(){return x}});r(96928),r(61229),r(34769),r(34115),r(95342),r(68625),r(1939),r(62775),r(634),r(58188),r(20796),r(15735),r(28673),r(6886);var n=r(12167),o=(r(72508),r(67890),r(2784)),i=r(45697),a=r.n(i),c=r(57366),u=r(93780),s=(r(43450),r(39744)),l=function(e){return e>=0&&e<=60?"xs":e>=61&&e<=180?"s":e>=181&&e<=420?"m":e>=421&&e<=720?"l":e>=721&&e<=1199?"xl":e>=1200?"lf":"unknown"},f=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return{video_duration:l(e.duration),section_id:t&&t.id,topics:(0,s.BB)(e).map((function(e){return e.topicTag})),publisher_id:e.partnerID}},p=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"web";return{prod_type:r,event_category:"item",item_id:e.id,item_type:e.type,url:e.sourceURL,item_partner_id:e.partnerID,partner_id:t&&t.partnerId,ssid:t&&t.remoteid,section_id:t&&t.ssid&&t.ssid.remoteidPlain}},d=r(46120),m=r(71552),v=r(90068),h=r(9665),_=r(91506),y=r(13741),b=r(52322);function E(e){return E="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},E(e)}function g(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function O(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?g(Object(r),!0).forEach((function(t){S(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):g(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function S(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function A(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function T(e,t){return T=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},T(e,t)}function R(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 r,n=C(e);if(t){var o=C(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return I(this,r)}}function I(e,t){return!t||"object"!==E(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 C(e){return C=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},C(e)}var w=c.Z.sizes,j=(0,n.Z)("div",{target:"er6jlbd2"})({name:"1m7modc",styles:"border-radius:inherit"}),N=(0,n.Z)(y.Z,{target:"er6jlbd1"})({name:"1m7modc",styles:"border-radius:inherit"}),L=(0,n.Z)(d.Z,{target:"er6jlbd0"})({name:"1m7modc",styles:"border-radius:inherit"}),D=function(e){!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&&T(e,t)}(i,e);var t,r,n,o=R(i);function i(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),(t=o.call(this,e)).state={playingVideo:!1},t.handlePlayInline=t.handlePlayInline.bind(P(t)),t}return t=i,(r=[{key:"handlePlayInline",value:function(){this.setState({playingVideo:!0})}},{key:"render",value:function(){var e=this.props,t=e.item,r=e.ampWidth,n=e.ampHeight,o=e.ampLayout,i=e.useCrop,a=e.windowHeight,c=e.isAmp,s=e.fallbackElement,l=e.shownInList,v=e.section,h=e.link,y=e.previewSize,E=e.showWideVideos,g=e.videoEvents,S=t.image,A=t.isFirstPartyVideo,T=t.inlineVideoItem||t,R=T.videoID,I=T.videoSourceURL,P=(0,u.sQ)(S);if(c){if(R){var C={layout:o,width:r,height:n,"data-videoid":R};return(0,b.jsxs)("div",{className:"video-container",children:[T.isYoutube&&(0,b.jsx)("amp-youtube",O({},C)),T.isVimeo&&(0,b.jsx)("amp-vimeo",O({},C)),!T.isYoutube&&!T.isVimeo&&T.isHtml5&&I&&(0,b.jsx)("amp-video",{controls:"",width:r,height:n,layout:o,poster:P,children:(0,b.jsx)("source",{src:I},I)})]})}return(0,b.jsx)(d.Z,{image:S,alt:t.title,ampLayout:o,ampWidth:r,ampHeight:n})}if(A&&!l)return(0,b.jsx)(_.Z,{autoPlay:!0,track:!0,prerollAds:t.adPreRollOk,className:"media-container",videoAdOptions:f(t,v),videoTrackerOptions:p(t,v),videoEvents:g,poster:(0,u.Cy)(t.posterImage),source:t.videoSiteURL,mimeType:t.mimeType});if(this.state.playingVideo){if(T.isYoutube)return(0,b.jsx)("div",{className:"media-container responsive-iframe",children:(0,b.jsx)("iframe",{src:"https://www.youtube.com/embed/".concat(R,"?autoplay=1"),frameBorder:"0",allowFullScreen:!0})});if(T.isVimeo)return(0,b.jsx)("div",{className:"media-container responsive-iframe",children:(0,b.jsx)("iframe",{src:"https://player.vimeo.com/video/".concat(R,"?autoplay=1&portrait=0"),frameBorder:"0",webkitallowfullscreen:"webkitallowfullscreen",mozallowfullscreen:"mozallowfullscreen",allowFullScreen:!0})})}var D=(0,b.jsx)(L,{image:S,ampHeight:n,alt:t.title,windowHeight:a,fallbackElement:s,crop:i});if(!R&&(T.isYoutube||T.isVimeo))return D;var x=y!==w.SMALL||E,M=y===w.SMALL?32:48;return h?(0,b.jsx)(j,{className:"image-frame",children:(0,b.jsxs)(N,{item:T,section:v,shownInList:l,children:[D,(0,b.jsx)(m.Z,{size:M,border:!0,item:T,showDuration:x,shownInList:l})]})}):(0,b.jsxs)(j,{className:"image-frame",onClick:this.handlePlayInline,children:[D,(0,b.jsx)(m.Z,{size:M,border:!0,item:T,showDuration:x,shownInList:l})]})}}])&&A(t.prototype,r),n&&A(t,n),i}(o.Component);D.propTypes={item:a().object.isRequired,section:a().object,ampLayout:a().string,ampWidth:a().number,ampHeight:a().number,useCrop:a().bool,isAmp:a().bool,windowHeight:a().number,fallbackElement:a().element,shownInList:a().bool.isRequired,link:a().bool,previewSize:a().oneOf(Object.values(w)),showWideVideos:a().bool,videoEvents:a().object},D.defaultProps={ampLayout:"responsive",ampWidth:480,ampHeight:270,useCrop:!0,isAmp:!1,windowHeight:null,fallbackElement:null,previewSize:null,showWideVideos:!1,videoEvents:{}};var x=(0,v.Z)(h.Z)(D)},74343:function(e,t,r){"use strict";r(34769),r(34115),r(95342),r(68625),r(1939),r(62775);var n=r(12167),o=(r(2784),r(49372)),i=r(52322);function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var u=(0,n.Z)("span",{target:"e5iqtbq0"})({margin:"0 ".concat(o.N.SMALL),fontSize:"10px"},"");function s(e){return(0,i.jsx)(u,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
1t%2?a(Object(r),!0).forEach((function(t){c(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):a(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},e,{children:"•"}))}s.propTypes={},t.Z=s},26626:function(e,t,r){"use strict";r.d(t,{NV:function(){return n},_Z:function(){return o},xw:function(){return A}});r(34769),r(34115),r(95342),r(68625),r(1939),r(62775);var n,o,i=r(12167),a=(r(18178),r(22144),r(26936),r(39529),r(31235),r(2784)),c=r(72779),u=r.n(c),s=r(49372),l=r(90856),f=r(5109),p=r(66263),d=r(93039),m=r(58123),v=r(1726),h=r(76635),_=r(52322);function y(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}function b(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function E(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?b(Object(r),!0).forEach((function(t){g(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):b(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function g(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}!function(e){e.NONE="none",e.PRIMARY="primary",e.SECONDARY="secondary",e.UNSELECTED="unselected",e.PRIMARY_TEXT="primary-text",e.WHITE_OVERLAY="white-overlay",e.FOLLOWED_TOPIC="followed-topic",e.UNFOLLOWED_TOPIC="unfollowed-topic"}(n||(n={})),function(e){e.NONE="none",e.LITTLE="little",e.FAT="fat",e.INVERSE="inverse",e.BLOCK="block",e.WITH_BADGE="with-badge",e.INLINE_LINK="inline-link",e.NO_LEFT_PADDING="no-left-padding",e.NO_RIGHT_PADDING="no-right-padding",e.CONDENSED_TEXT="condensed-text",e.ALIGN_LEFT="align-left"}(o||(o={}));var O={boxShadow:"inset -1px 2px 1px rgba(".concat(l.DM.staticBlack,", 0.2)")},S={border:"none",fontSize:"13px",lineHeight:"16px`",padding:"".concat(s.N.BASE," ").concat(s.N.MEDIUM),fontFamily:f.g5.FONT_FAKT_FLIPBOARD,fontWeight:f.Xw.SEMIBOLD,color:l.bo.secondary,borderRadius:"4px",backgroundColor:"transparent",cursor:"pointer",display:"inline-block",whitespace:"nowrap",transition:"all $animation--duration $animation--timing","&:hover,&:focus":{color:l.bo.primary},"&:active":E({},O,{color:l.bo.secondary})},A=Object.freeze({SECONDARY:E({},S,{color:l.bo.secondary,border:"1px solid ".concat(l.M1.secondary),backgroundColor:l.EU.primary,"&:hover,&:focus":{color:l.bo.primary,border:"1px solid ".concat(l.M1.primary)},"&:active":E({},O,{color:l.bo.secondary,border:"1px solid ".concat(l.M1.secondary)}),"&:disabled":{opacity:"0.3",cursor:"not-allowed",pointerEvents:"none"}}),FAT:{fontSize:"16px",lineHeight:"3.5",padding:"0 ".concat(s.N.BASE4X)},BLOCK:{display:"block",width:"100%","&:not(:last-child)":{marginBottom:s.N.MEDIUM}},OVERLAY:{color:l.bo.overlay},RED_LINK:{color:l.bo.redLink,"&:hover":{color:l.bo.redLinkHover}}}),T=(0,i.Z)("button",{target:"ea02pfk0"})({"&:focus":{backgroundColor:l.EU.primary,color:l.bo.primary,"> *":{color:l.bo.primary}}},""),R=function(e){return"href"in e},I=function(e){return(0,h.omit)(e,"label","preventSentenceCase","className","styleVariation","styleModifier","loading","disabled","clickEventDetails","onClick","tooltip","children","name")},P=a.forwardRef((function(e,t){var r=e.label,i=e.preventSentenceCase,a=e.className,c=e.styleVariation,s=e.styleModifier,l=e.loading,f=e.disabled,h=e.clickEventDetails,b=e.onClick,g=e.tooltip,O=e.children,S=e.name,A=i?r:(0,d.Z)(r),P=function(e){if(f&&e.preventDefault(),p.Z.trackClickButton(S,h),b&&!l)return b(e)},C=u()(a,{"button--base":!0,"button--primary":c===n.PRIMARY,"button--secondary":c===n.SECONDARY,"button--unselected":c===n.UNSELECTED,"button--primary-text":c===n.PRIMARY_TEXT,"button--w
1hite-overlay":c===n.WHITE_OVERLAY,"button-base-topic":c===n.FOLLOWED_TOPIC||c===n.UNFOLLOWED_TOPIC,"button--followed-topic":c===n.FOLLOWED_TOPIC,"button--unfollowed-topic":c===n.UNFOLLOWED_TOPIC,"button--inverse":null==s?void 0:s.includes(o.INVERSE),"button--little":null==s?void 0:s.includes(o.LITTLE),"button--fat":null==s?void 0:s.includes(o.FAT),"button--block":null==s?void 0:s.includes(o.BLOCK),"button--inline-link":null==s?void 0:s.includes(o.INLINE_LINK),"button--condensed-text":null==s?void 0:s.includes(o.CONDENSED_TEXT),"button--with-badge":null==s?void 0:s.includes(o.WITH_BADGE),"button--no-left-padding":null==s?void 0:s.includes(o.NO_LEFT_PADDING),"button--no-right-padding":null==s?void 0:s.includes(o.NO_RIGHT_PADDING),"button--loading":l,"button--align-left":null==s?void 0:s.includes(o.ALIGN_LEFT)});if(R(e)){var w=I(e);return(0,_.jsx)(m.Z,E({},w,{ref:t,buttonName:S,className:C,onClick:P,title:g,children:A||O}))}if(function(e){return!R(e)}(e)){var j=e.ariaDisabled,N=e.ariaInvalid,L=e.ariaDescribedby,D=y(e,["ariaDisabled","ariaInvalid","ariaDescribedby"]),x=I(D);return(0,_.jsx)(T,E({},x,{ref:t,className:C,disabled:!j&&(f||l),"aria-disabled":j||l?"true":"false","aria-invalid":N,"aria-describedby":N?L:void 0,onClick:P,"data-vars-button-name":S,"data-ga-target":"button",title:g,children:l&&(0,_.jsx)(v.Z,{})||A||O}))}return null}));t.ZP=P},3596:function(e,t,r){"use strict";r(43105);var n=r(12167),o=(r(18178),r(2784),r(72779)),i=r.n(o),a=r(90856),c=r(49372),u=r(4361),s=r(5109),l=r(30001),f=r(52322);function p(){return p=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},p.apply(this,arguments)}var d=(0,n.Z)("button",p({},{target:"e1dvahx50"},(0,u.t)("isSelected","size")))(s.LT,{display:"inline-flex",padding:"".concat(c.N.SMALL," ").concat(c.N.BASE),borderRadius:0,backgroundColor:a.EU.secondary,color:a.bo.secondary,cursor:"pointer",textAlign:"left","&:hover":{color:a.bo.secondary},"&:active, &:focus":{backgroundColor:a.EU.secondary,color:a.bo.tertiary},".author-avatar__image":{display:"unset"}},(function(e){return e.isSelected&&{backgroundColor:a.DM.red,color:a.bo.overlay,"&:focus":{backgroundColor:a.DM.red,color:a.bo.overlaySecondary}}}),(function(e){if(e.size===l.n8.LARGE)return{fontSize:"18px",fontWeight:s.Xw.BLACK}}),"");t.Z=function(e){var t=e.children,r=e.isSelected,n=e.onClick,o=e.size,a=i()({pill:!0,"pill--selected":r});return(0,f.jsx)(d,{className:a,disabled:!n,onClick:n,isSelected:r,size:o,children:t})}},953:function(e,t,r){"use strict";r(43450),r(27233),r(28673),r(1939),r(77950),r(74069),r(48319),r(95342),r(34115),r(634),r(58188),r(20796),r(15735),r(6886),r(32501),r(26936),r(2784);var n=r(83368),o=r(29307),i=r(11826),a=r(58123),c=r(81007),u=r(93780),s=r(47741),l=r(90068),f=r(19654),p=r(52322);function d(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var r=[],n=!0,o=!1,i=void 0;try{for(var a,c=e[Symbol.iterator]();!(n=(a=c.next()).done)&&(r.push(a.value),!t||r.length!==t);n=!0);}catch(e){o=!0,i=e}finally{try{n||null==c.return||c.return()}finally{if(o)throw i}}return r}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return m(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return m(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function m(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}t.Z=(0,l.Z)(f.Z)((function(e){var t=e.sectionLinks,r=e.children,l=e.linkify,f=void 0!==l&&l,m=e.featureFlags;if(!r)return null;var v=function(e){return(0,p.jsx)(p.Fragment,{children:Array.from(Array(e)).map((function(){return(0,p.jsx)("br",{},"x")}))})},h=[],_=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return t.forEach((function(e){if("string"==typeof e){var t=e.match(/\n+/g);e.split(/\n+/g).reduce((function(e,r,n){return e.push(r),e.push(v(((null==t?void 0:t[n])||"").length)),e}
1),[]).forEach((function(e){h.push(f&&"string"==typeof e?(0,o.Z)(e):e)}))}else h.push(e)}))},y=t.filter(n.fi).sort((function(e,t){return e.referringTextLoc[0]-t.referringTextLoc[0]}));try{if(y.length>0)for(var b=0,E=0,g=y.length;E<g;E++){var O=y[E],S=d(O.referringTextLoc,2),A=S[0],T=S[1],R=O.username,I=O.title,P=O.image,C=A+T,w=r.substring(b,A),j=(0,i.Xy)(R);if(b=C,_(w,j?(0,p.jsx)(a.Z,{openInNewWindow:!0,href:j,stopPropagation:!0,children:(0,p.jsx)(c.ZP,{name:I,avatar:(0,u.lV)(P),username:R,children:m.PILL_REMOVAL?R:I})},E):(0,p.jsx)(c.ZP,{name:I,avatar:(0,u.lV)(P),username:R,children:m.PILL_REMOVAL?R:I})),E===y.length-1&&C<r.length)_(r.substring(b))}else _(r)}catch(e){s.Z.captureException(e),_(r)}return(0,p.jsx)(p.Fragment,{children:h})}))},35651:function(e,t,r){"use strict";r.d(t,{W:function(){return O}});var n=r(12167),o=(r(67890),r(2784),r(45697)),i=r.n(o),a=r(49372),c=r(17394),u=r(90856),s=r(5109),l=r(22749),f=r(13372),p=r(34537),d=r(90068),m=r(60986),v=r(82706),h=r(26626),_=r(37757),y=r(52322),b=(0,n.Z)("section",{target:"ejppygg1"})({padding:"".concat(a.N.BASE4X," 0"),textAlign:"center"},s.TK.TITLE,""),E=(0,n.Z)("div",{target:"ejppygg0"})({marginBottom:"".concat(a.N.LARGE),color:u.bo.primary},c.j.tabletLandscapeUp({marginBottom:"".concat(a.N.XLARGE)}),"");function g(e){var t=e.variant,r=e.isLargeScreen,n=e.isAuthenticated,o=e.t;if(n)return null;var i=[h._Z.FAT];return"red"===t&&i.push(h._Z.INVERSE),(0,y.jsxs)(b,{role:"banner",className:"cta-banner",children:[(0,y.jsx)(E,{className:"cta-banner__title",children:o("stories_curated_for_you")}),r?(0,y.jsx)(p.Z,{name:"sign-up-banner",label:o("sign_up_now"),styleVariation:h.NV.PRIMARY,styleModifier:i,displayStyle:l.co.CTA_BANNER}):(0,y.jsx)(f.Z,{name:"get-app-banner",styleModifier:i})]})}var O={STANDARD:"standard",RED:"red"};g.propTypes={isAuthenticated:i().bool.isRequired,variant:i().oneOf(Object.values(O)),isLargeScreen:i().bool.isRequired,t:i().func.isRequired},g.defaultProps={variant:O.STANDARD},t.Z=(0,d.Z)(m.Z,v.Z)((0,_.Z)(g))},10145:function(e,t,r){"use strict";r(43105),r(34769),r(34115),r(95342),r(68625),r(1939),r(62775),r(2784);var n=r(45697),o=r.n(n),i=r(45828),a=r(7799),c=r(10554),u=r(58123),s=r(37757),l=r(52322);function f(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function p(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var d=["href","name","className","onClick"];function m(e){var t=e.auto,r=e.label,n=e.onClick,o=e.t,s=function(e){var t,r,n;e&&e.preventDefault(),null===(t=(0,a.Z)()._sp_)||void 0===t||null===(r=t.gdpr)||void 0===r||null===(n=r.loadPrivacyManagerModal)||void 0===n||n.call(r,i.Z.SOURCEPOINT_GDPR_PRIVACY_MANAGER_ID)},m=n?function(e){s(e),n(e)}:s,v=c.ZP.pick(Object.assign({},e,{onClick:m}),d);return t&&s(),(0,l.jsx)(u.Z,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?f(Object(r),!0).forEach((function(t){p(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):f(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},v,{children:r||o("data_protection")}))}m.propTypes={auto:o().bool,label:o().string,onClick:o().func,t:o().func.isRequired},m.defaultProps={auto:!1,onClick:null},t.Z=(0,s.Z)(m)},54953:function(e,t,r){"use strict";r(43105);var n=r(12167),o=r(4361);function i(){return i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},i.apply(this,arguments)}var a=(0,n.Z)("div",i({},{target:"e1oi9qt0"},(0,o.t)("disabled")))((function(e){if(e.disabled)return{opacity:"20%"}}),"");t.Z=a},4189:function(e,t,r){"use strict";r.d(t,{Dx:function(){return u},V1:function(){return s},$t:function(){return l},im:function(){return f}});var n=r(12167),o=r(49372),i=r(17394),a=r(5109),c=r(52750),u=(0,n.Z)("h1",{target:"e1be7i7r3"})(a.TK.TITLE,{marginBottom:o.N.BASE},""),s=(0,n.Z)("h1",{target:"e1be7i7r2"})(a.TK.PAGE_TITLE,{marginBottom:o.N.BASE},""),l=(0,n.Z)("p",{target:"e1be7i7r1"})(a.TK.BODY,""),f=(0,n.Z)("section",{target:"e1be7i7r0"})("margin:160px auto;text-align:center;",(0,c.hy)(i.j.tabletPortraitUp({margin:"220px auto"})),"")},49168:function(e,t,r){"use strict";r(43105),r(34769),r(34115),r(95342),r(68625),r(1939),r(62775);var n,o=r(12167),i=(r(39529),r(18178),r(2784)),a=r(45697),c=r.n(a),u=r(90856),s=r(49372),l=r(5109),f=r(65976),p=r(37236),d=r(95231),m=r(39764),v=r(40109),h=r(36188),_=r(90068),y=r(19654),b=r(56976),E=r(37757),g=r(52322);function O(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function S(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
1t%2?O(Object(r),!0).forEach((function(t){A(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):O(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function A(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function T(){return T=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},T.apply(this,arguments)}var R=["isFlipMode","isSelected","isRedesignedLayout"],I={shouldForwardProp:function(e){return!R.includes(e)}},P=function(e){return e?56:50},C=function(e){return e?69:50},w=(0,o.Z)("li",T({},{target:"e1swzk77"},I))((function(e){var t=e.isRedesignedLayout;return{".button--unstyled__children":{display:"grid",cursor:"pointer",gridGap:t?s.N.LARGE:s.N.MEDIUM,gridTemplateColumns:"".concat(P(t),"px 1fr"),padding:"".concat(s.N.SMALL," 0 ").concat(s.N.SMALL," ").concat(s.N.SMALL)}}}),(function(e){if(e.isFlipMode)return{listStyle:"none",".button--unstyled__children":{gridTemplateColumns:"64px 1fr",padding:"0",marginBottom:s.N.MEDIUM}}}),(function(e){var t=e.isSelected,r=e.isRedesignedLayout;if(t)return{".button--unstyled__children":{gridTemplateColumns:"".concat(P(r),"px 1fr 36px")}}}),{"&:hover":{backgroundColor:u.EU.secondary}},""),j=(0,o.Z)(h.Z,{target:"e1swzk76"})("width:100%;",l.hF,""),N=(0,o.Z)(d.Z,T({},{target:"e1swzk75"},I))("overflow:hidden;",(function(e){var t=e.isFlipMode,r=e.isRedesignedLayout;return t?{height:"64px"}:r?{height:C(r),width:P(r),borderRadius:s.N.BASE}:{height:"".concat(C(r),"px")}}),""),L=(0,o.Z)("div",T({},{target:"e1swzk74"},I))({backgroundColor:u.DM.createMagTile},(function(e){var t=e.isFlipMode,r=e.isRedesignedLayout;return t?{width:"100%",height:"100%"}:S({},r?{border:"2px solid rgba(0, 0, 0, 0.12)",borderRadius:s.N.BASE}:{},{width:"".concat(P(r),"px"),height:"".concat(C(r),"px")})}),""),D=(0,o.Z)("div",T({},{target:"e1swzk73"},I))("display:flex;align-items:center;overflow:hidden;",(function(e){return e.isRedesignedLayout?S({},l.$C.SMALL_STANDARD,{display:"grid",color:u.bo.primary}):l.TK.BODY_2}),(function(e){if(e.isFlipMode)return{color:u.bo.overlay,maxWidth:"234px","&:hover":{color:u.bo.overlay}}}),""),x=(0,o.Z)("time",{target:"e1swzk72"})(l.Hb.XSMALL_STANDARD,{color:u.bo.primary,textTransform:"capitalize"},""),M=(0,o.Z)("div",{target:"e1swzk71"})(l.Hb.XSMALL_STANDARD,(A(n={display:"grid",gridTemplateColumns:"auto 1fr",gap:s.N.SMALL,color:u.bo.tertiary,textTransform:"capitalize"},v.c,{color:u.bo.tertiary}),A(n,"alignItems","center"),n),""),Z=(0,o.Z)("div",{target:"e1swzk70"})({name:"1wnowod",styles:"display:flex;align-items:center;justify-content:center"});function U(e){var t=e.magazine,r=e.isSelected,n=e.onClick,o=e.isFlipMode,a=e.featureFlags,c=e.t,u=e.lang,s=a.NEW_FLIP_COMPOSE,l=t.isPrivate?c("private_magazine"):c("public_magazine");return(0,g.jsx)(w,{isSelected:r,isFlipMode:o,isRedesignedLayout:s,children:(0,g.jsxs)(j,{name:"flip-compose-magazine",onClick:function(e){e.preventDefault(),n(t)},children:[(0,g.jsx)(N,{isFlipMode:o,isRedesignedLayout:s,height:C(s),width:P(s),image:t.image,fallbackElement:(0,g.jsx)(L,{isRedesignedLayout:s})}),(0,g.jsxs)(D,{isFlipMode:o,isRedesignedLayout:s,children:[t.title,s&&(0,g.jsxs)(i.Fragment,{children:[(0,g.jsxs)(x,{children:["Created"," ",f.ZP.friendlyFormatLocalized(t.datePublished,c,u)]}),(0,g.jsxs)(M,{children:[t.isPrivate&&(0,g.jsx)(v.Z,{size:10}),(0,g.jsx)("span",{children:l})]})]})]}),r&&(0,g.jsx)(Z,{children:(0,g.jsx)(m.Z,{color:"#E12828"})})]})})}U.propTypes={magazine:c().object.isRequired,isSelected:c().bool,onClick:c().func.isRequired,featureFlags:c().object.isRequired,isFlipMode:c().bool,t:c().func.isRequired,lang:c().string.isRequired},U.defaultProps={isSelected:!1,onClick:p.h,isFlipMode:!1},t.Z=(0,_.Z)(y.Z,b.Z)((0,E.Z)(U))},67502:function(e,t,r){"use strict";r(67890),r(2784);var n=r(45697),o=r.n(n),i=r(26626),a=r(37757),c=r(28041),u=r(83491),s=r(90068),l=r(83795),f=r(82706),p=r(52322),d=function(e){var t=e.namePrefix,r=e.className,n=e.styleVariation,o=e.followingStyleVariation,a=e.styleModifier,c=e.section,u=e.isFollowingSection,s=e.isUserStateLoading,l=e.handleFollow,f=e.handleUnfollow,d=e.onPersonalize,m=e.smartMagazineSection,v=e.followingIdsLoaded,h=e.isAuthenticated,_=e.t,y=e.label,b=e.disablePersonalization;return u(c)?(0,p.jsx)(i.ZP,{name:"".concat(t,"-unfollow"),className:r,label:y||_("unfollow"),styleVariation:o||i.NV.UNSELECTED,styleModifier:a,disabled:s||h&&!v,onClick:function(){return f(c)}}):(0,p.jsx)(i.ZP,{name:"".concat(t,"-follow"),className:r,label:y||_("follow"),styleVariation:n||i.NV.PRIMARY,styleModifier:a,disabled:s||h&&!v,onClick:function(){l({section:c,callback:function(){!c.isTopic||m||b||d({section:c})}})}})};
1d.propTypes={namePrefix:o().string,className:o().string,styleVariation:o().oneOf(Object.values(i.NV)),followingStyleVariation:o().oneOf(Object.values(i.NV)),styleModifier:o().array,section:o().object.isRequired,smartMagazineSection:o().object,isFollowingSection:o().func.isRequired,isUserStateLoading:o().bool.isRequired,handleFollow:o().func.isRequired,handleUnfollow:o().func.isRequired,onPersonalize:o().func.isRequired,followingIdsLoaded:o().bool.isRequired,isAuthenticated:o().bool.isRequired,t:o().func.isRequired,label:o().string,disablePersonalization:o().bool},d.defaultProps={namePrefix:"",className:"",disablePersonalization:!1},t.Z=(0,s.Z)(l.Z,f.Z)((0,c.Z)((0,u.Z)((0,a.Z)(d))))},31949:function(e,t,r){"use strict";r.d(t,{lj:function(){return Z},bS:function(){return D},ZP:function(){return F}});r(96928),r(61229),r(58188),r(73439),r(34115),r(634),r(20796),r(15735),r(28673),r(6886);var n=r(12167),o=(r(35666),r(2784)),i=r(17394),a=r(49372),c=r(5109);var u=(0,n.Z)("label",{target:"e1pylilr0"})({name:"1snrpgp",styles:"border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px"}),s=r(52750),l=r(31975),f=r(66977),p=r(4067),d=r(26626),m=r(92431),v=r(1726),h=r(37757),_=r(57276),y=r(8805),b=r(90068),E=r(68869),g=r(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,r,n,o,i,a){try{var c=e[i](a),u=c.value}catch(e){return void r(e)}c.done?t(u):Promise.resolve(u).then(n,o)}function A(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function T(e,t){return T=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},T(e,t)}function R(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 r,n=C(e);if(t){var o=C(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return I(this,r)}}function I(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}function C(e){return C=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},C(e)}function w(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var j=(0,l.Z)("LoginModal"),N=(0,n.Z)("div",{target:"e6jpgpv6"})({padding:a.N.LARGE},""),L=(0,n.Z)("p",{target:"e6jpgpv5"})(c.Hb.SMALL_STANDARD,""),D=(0,n.Z)("form",{target:"e6jpgpv4"})("display:flex;flex-direction:column;align-items:center;height:fit-content;> *{width:100%;}",(0,s.hy)(i.j.phone({margin:"".concat(a.N.LARGE," 0 ")})),""),x=(0,n.Z)("div",{target:"e6jpgpv3"})({display:"grid",gap:a.N.BASE},""),M=(0,n.Z)("span",{target:"e6jpgpv2"})(c.TK.ERROR,"font-size:12px;"),Z=(0,n.Z)(d.ZP,{target:"e6jpgpv1"})({name:"0",styles:""}),U=(0,n.Z)(f.Z,{target:"e6jpgpv0"})({paddingLeft:a.N.BASE},(0,s.hy)(d.xw.RED_LINK),""),k=function(e){!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&&T(e,t)}(i,e);var t,r,n,o=R(i);function i(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),w(P(t=o.call(this,e)),"setEmailInputError",(function(e,r){e.preventDefault(),t.setState({emailInputError:r})})),w(P(t),"frictionlessFlowSubmit",function(){var e,r=(e=regeneratorRuntime.mark((function e(r){var n,o,i,a;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.props,o=n.validateReCaptcha,i=n.onSubmit,a=n.frictionlessType,r.preventDefault(),e.next=4,o("frictionless_".concat(a.toLowerCase()),(function(){i(r,a)}));case 4:case"end":return e.stop()}}),e)})),function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(e){S(i,n,o,a,c,"next",e)}function c(e){S(i,n,o,a,c,"throw",e)}a(void 0)}))});return function(e){return r.apply(this,arguments)}}()),t.state={emailInputError:null},t}return t=i,(r=[{key:"handleLogin",value:function(e){var t=this.props.showModal;e.preventDefault(),t(j,{})}},{key:"render",value:function(){var e=this,t=this.props,r=t.email,n=t.onEmailChange,o=t.onboardPending,i=t.frictionlessEnter,a=t.frictionlessType,c=t.ReCaptchaUI,s=t.className,l=t.showDisclaimer,f=t.showLogin,h=t.submitStringOverride,_=t.t,y=this.state.emailInputError;return(0,g.jsxs)(N,{className:s,children:[(0,g.jsxs)(D,{onSubmit:this.frictionlessFlowSubmit,children:[(0,g.jsxs)(x,{children:[(0,g.jsxs)(u,{children:[_("email"),": "]}),(0,g.jsx)(p.Z,{type:"email",name:"email",placeholder:_("newsletters_email_placeholder"),value:r,onChange:n,disabled:o,onInput:function(t){return e.setEmailInputError(t,"")},onInvalid:function(t){return e.setEmailInputError(t,_("invalid_email"))},onKeyUp:function(){return i(a)},required:!0}),l&&(0,g.jsx)(m.Z,{}),f&&(0,g.jsxs)(L,{children:[_("already_have_an_account"),(0,g.jsx)(U,{name:"main-nav-login",styleModifier:[d._Z.INLINE_LINK]})]}),y&&(0,g.jsx)(M,{children:y})]}),o?(0,g.jsx)(v.Z,{}):(0,g.jsx)(Z,{name:"frictionless__form-submit",styleVariation:d.NV.PRIMARY,type:"submit",disabled:o,children:_(h)})]}),c]})}}])&&A(t.prototype,r),n&&A(t,n),i}(o.Component);w(k,"defaultProps",{submitStringOverride:"create_account"});var F=(0,b.Z)(E.Z)((0,y.Z)((0,_.Z)((0,h.Z)(k))))},49018:function(e,t,r){"use strict";r(96928),r(61229),r(34115),r(634),r(58188),r(20796),r(15735),r(28673),r(6886);var n=r(2784),o=r(45697),i=r.n(o),a=r(7799),c=r(59015),u=r(90068),s=r(19654),l=r(52322);function f(e){return f="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},f(e)}function p(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}
1function d(e,t){return d=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},d(e,t)}function m(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 r,n=h(e);if(t){var o=h(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return v(this,r)}}function v(e,t){return!t||"object"!==f(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function h(e){return h=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},h(e)}function _(){var e=function(){var e=null;try{var t=(0,a.Z)().__tcfapi;t&&t("getTCData",2,(function(t,r){r&&(e=t)}))}catch(e){return null}return e}();return e&&e.gdprApplies}function y(){var e,t,r=_();return null!=r&&!(null===(e=(0,a.Z)()._sp_)||void 0===e||null===(t=e.gdpr)||void 0===t||!t.loadPrivacyManagerModal)}function b(){var e=_();return e&&"false"!==e}var E=function(e){!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&&d(e,t)}(a,e);var t,r,o,i=m(a);function a(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),(t=i.call(this,e)).state={gdprApplies:!1},t}return t=a,(r=[{key:"render",value:function(){var e=this,t=this.props.featureFlags.FORCE_GDPR_APPLIES;return(0,l.jsxs)(n.Fragment,{children:[(0,l.jsx)(c.Z,{predicate:y,onWaitComplete:function(){return e.setState({gdprApplies:!0===t||b()})}}),"function"==typeof this.props.children?this.props.children(this.state.gdprApplies):null,"function"!=typeof this.props.children&&this.state.gdprApplies?this.props.children:null]})}}])&&p(t.prototype,r),o&&p(t,o),a}(n.Component);E.propTypes={children:i().oneOfType([i().node,i().func]).isRequired,featureFlags:i().shape({FORCE_GDPR_APPLIES:i().bool.isRequired}).isRequired},t.Z=(0,u.Z)(s.Z)(E)},12857:function(e,t,r){"use strict";var n=r(12167),o=(r(67890),r(2784),r(45697)),i=r.n(o),a=r(33901),c=r(48758),u=r(52322);var s=(0,n.Z)("div",{target:"e1x0tnyo4"})({name:"1ql18ut",styles:"position:relative;overflow:hidden;display:flex;align-items:center;justify-content:center;background-color:var(--color--surface-secondary);width:100%;height:100%"}),l=(0,n.Z)("div",{target:"e1x0tnyo3"})({name:"1r2r7pn",styles:"position:absolute;top:0;left:0;width:100%;height:100%;display:flex;align-items:center;justify-content:center"}),f=(0,n.Z)("div",{target:"e1x0tnyo2"})({name:"7whenc",styles:"display:flex;width:100%"}),p=(0,n.Z)(a.Z,{target:"e1x0tnyo1"})({name:"117hiu2",styles:"filter:grayscale(100) opacity(60%)"}),d=(0,n.Z)(a.Z,{target:"e1x0tnyo0"})({name:"141bo2a",styles:"display:flex;width:100%;.author-avatar__image{filter:grayscale(100) opacity(9%) blur(4px);border-radius:unset;width:100%;}"});function m(e){var t=e.author,r=e.hideFallback,n=e.fallbackElementSize,o=t&&t.authorImage||null,i=570,a=180,v=120;switch(n){case m.fallbackElementSizes.CONDENSED:i=200,a=60,v=40;break;case m.fallbackElementSizes.ARTICLE:i=870}return(0,u.jsx)(s,{fallback:"fallback",className:"media-container media-container-fallback",children:o?(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)(l,{children:(0,u.jsx)(d,{author:t,avatarSize:i})}),(0,u.jsx)(f,{children:(0,u.jsx)(p,{author:t,avatarSize:a})})]}):(0,u.jsx)("div",{children:!r&&(0,u.jsx)(c.Z,{size:v,variant:"gray"})})})}m.fallbackElementSizes={CONDENSED:"condensed",CARD:"card",ARTICLE:"article"},m.propTypes={hideFallback:i().bool,author:i().object,fallbackElementSize:i().oneOf(Object.values(m.fallbackElementSizes))},m.defaultProps={author:null,hideFallback:!1,fallbackElementSize:m.fallbackElementSizes.CARD},t.Z=m},35173:function(e,t,r){"use strict";r(43105);var n=r(12167),o=r(49372),i=r(52750),a=r(4361),c=r(43057),u=r(26626);function s(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function l(){return l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];
1for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},l.apply(this,arguments)}var f=(0,n.Z)(u.ZP,l({},{target:"e1u3zyk70"},(0,a.t)("isTooltipMenu")))((function(e){var t;return e.isTooltipMenu?{}:(s(t={display:"inline-flex",padding:o.N.MEDIUM,gap:o.N.BASE},(0,i.PZ)(c.x),{color:"inherit"}),s(t,"&:focus",{backgroundColor:"unset",color:"unset"}),t)}),"");t.Z=f},21205:function(e,t,r){"use strict";r.d(t,{A:function(){return a}});var n=r(12167),o=(r(2784),r(52021)),i=r(52322);var a=(0,n.Z)("span",{target:"e1469eqw0"})({name:"ss7fa4",styles:"width:30px;display:flex;align-items:center;justify-content:start"});t.Z=function(e){var t=e.metricValue,r=t?(0,o._H)(t):"";return(0,i.jsx)(a,{children:r})}},30289:function(e,t,r){"use strict";r.d(t,{Z:function(){return F}});r(34769),r(34115),r(95342),r(68625),r(1939),r(62775),r(2784),r(43105);var n=r(12167),o=(r(26936),r(66263)),i=r(4361),a=r(52322);function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function u(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function s(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}function l(){return l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},l.apply(this,arguments)}var f=(0,n.Z)("div",l({},{target:"em25l2o0"},(0,i.t)("disabled")))((function(e){return{cursor:e.disabled?"not-allowed":"pointer"}}),""),p=function(e){var t=e.name,r=e.className,n=e.stopPropagation,i=e.onClick,l=e.children,p=e.disabled,d=s(e,["name","className","stopPropagation","onClick","children","disabled"]);return(0,a.jsx)(f,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?c(Object(r),!0).forEach((function(t){u(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):c(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({className:r,onClick:function(e){t&&o.Z.trackClickButton(t),!1!==n&&e.stopPropagation(),i&&i(e)},disabled:p},d,{children:l}))},d=r(35173),m=r(87079),v=r(47897),h=r.n(v),_=r(90856),y=r(43057);function b(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function E(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function g(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var O=(0,n.Z)(y.Z,{target:"e124b2yo0"})({color:_.MN.emphasis},"");function S(e){var t=e.size,r=g(e,["size"]);return(0,a.jsx)(O,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?b(Object(r),!0).forEach((function(t){E(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):b(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({name:"comment",width:t,height:t,viewBox:"0 0 20 20"},r,{renderComponent:function(){return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("path",{d:"M10.0003 9.16699C10.4606 9.16699 10.8337 8.7939 10.8337 8.33366C10.8337 7.87342 10.4606 7.50033 10.0003 7.50033C9.54009 7.50033 9.16699 7.87342 9.16699 8.33366C9.16699 8.7939 9.54009 9.16699 10.0003 9.16699Z",fill:"currentColor"}),(0,a.jsx)("path",{d:"M14.167 8.33366C14.167 8.7939 13.7939 9.16699 13.3337 9.16699C12.8734 9.16699 12.5003 8.7939 12.5003 8.33366C12.5003 7.87342 12.8734 7.50033 13.3337 7.50033C13.7939 7.50033 14.167 7.87342 14.167 8.33366Z",fill:"currentColor"}),(0,a.jsx)("path",{d:"M6.66699 9.16699C7.12723 9.16699 7.50033 8.7939 7.50033 8.33366C7.50033 7.87342 7.12723 7.50033 6.66699 7.50033C6.20676 7.50033 5.83366 7.87342 5.83366 8.33366C5.83366 8.7939 6.20676 9.16699 6.66699 9.16699Z",fill:"currentColor"}),(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.2027 1.66699H7.79799C6.89483 1.66698 6.16637 1.66698 5.57647 1.71517C4.9691 1.7648 4.43561 1.86964 3.94203 2.12113C3.15802 2.5206 2.5206 3.15802 2.12113 3.94203C1.86964 4.43561 1.7648 4.9691 1.71517 5.57647C1.66698 6.16637 1.66698 6.89483 1.66699 7.79799V8.86933C1.66698 9.77249 1.66698 10.5009 1.71517 11.0908C1.7648 11.6982 1.86964 12.2317 2.12113 12.7253C2.5206 13.5093 3.15802 14.1467 3.94203 14.5462C4.4895 14.8251 5.10327 14.929 5.83366 14.9703V18.3337C5.83366 18.6707 6.03669 18.9746 6.34809 19.1036C6.65949 19.2325 7.01792 19.1612 7.25625 18.9229L11.1788 15.0003H12.2026C13.1058 15.0003 13.8343 15.0003 14.4242 14.9521C15.0316 14.9025 15.565 14.7977 16.0586 14.5462C16.8426 14.1467 17.48 13.5093 17.8795 12.7253C18.131 12.2317 18.2359 11.6982 18.2855 11.0908C18.3337 10.501 18.3337 9.77254 18.3337 8.86944V7.79797C18.3337 6.89486 18.3337 6.16635 18.2855 5.57647C18.2359 4.9691 18.131 4.43561 17.8795 3.94203C17.48 3.15802 16.8426 2.5206 16.0586 2.12113C15.565 1.86964 15.0316 1.7648 14.4242 1.71517C13.8343 1.66698 13.1058 1.66698 12.2027 1.66699ZM4.69868 3.60614C4.91815 3.49432 5.20789 3.41751 5.71219 3.37631C6.22623 3.33431 6.88649 3.33366 7.83366 3.33366H12.167C13.1142 3.33366 13.7744 3.33431 14.2885 3.37631C14.7928 3.41751 15.0825 3.49432 15.302 3.60614C15.7724 3.84583 16.1548 4.22828 16.3945 4.69868C16.5063 4.91815 16.5831 5.20789 16.6243 5.71219C16.6663 6.22623 16.667 6.88649 16.667 7.83366V8.83366C16.667 9.78083 16.6663 10.4411 16.6243 10.9551C16.5831 11.4594 16.5063 11.7492 16.3945 11.9686C16.1548 12.439 15.7724 12.8215 15.302 13.0612C15.0825 13.173 14.7928 13.2498 14.2885 13.291C13.7744 13.333 13.1142 13.3337 12.167 13.3337H10.8337C10.6126 13.3337 10.4007 13.4215 10.2444 13.5777L7.50033 16.3218V14.1623C7.50033 13.7065 7.13408 13.3353 6.67828 13.3291C5.53752 13.3
1136 5.04961 13.24 4.69868 13.0612C4.22828 12.8215 3.84583 12.439 3.60614 11.9686C3.49432 11.7492 3.41751 11.4594 3.37631 10.9551C3.33431 10.4411 3.33366 9.78083 3.33366 8.83366V7.83366C3.33366 6.88649 3.33431 6.22623 3.37631 5.71219C3.41751 5.20789 3.49432 4.91815 3.60614 4.69868C3.84583 4.22828 4.22828 3.84583 4.69868 3.60614Z",fill:"currentColor"})]})}}))}S.propTypes={size:h().number},S.defaultProps={size:20};var A=S,T=r(21205),R=r(54953),I=r(83906),P=r(30001),C=r(61312),w=r(138),j=r(90068),N=r(19654),L=r(68869),D=r(94917),x=r(82706);function M(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Z(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?M(Object(r),!0).forEach((function(t){U(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):M(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function U(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function k(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var F=(0,j.Z)(L.Z,x.Z,N.Z,D.Z)((0,w.Z)((function(e){var t=e.item,r=e.showModal,n=e.isAuthenticated,o=e.socialActivity,i=e.featureFlags,c=e.children,u=e.showSocialActionGate,s=e.section,l=e.expandCommentsHeader,f=e.className,v=e.size,h=k(e,["item","showModal","isAuthenticated","socialActivity","featureFlags","children","showSocialActionGate","section","expandCommentsHeader","className","size"]),_=t.canReply,y=(0,C.gW)(t,o,"commentCount",!1),b=function(e){return e.preventDefault(),e.stopPropagation(),n?void r(I.Z,{item:t,section:s,expandCommentsHeader:l}):u(P.hk.COMMENTS)},E=!_;return i.COMMENTS?c?(0,a.jsx)(R.Z,{disabled:E,children:(0,a.jsx)(p,{className:f,name:"item-comments-button-".concat(t.id),onClick:b,disabled:!_,children:c})}):(0,a.jsxs)(m.Le,{className:f,children:[(0,a.jsx)(R.Z,{disabled:E,children:(0,a.jsx)(d.Z,Z({name:"item-comments-button-".concat(t.id),onClick:b,disabled:!_},h,{children:(0,a.jsx)(A,{size:v})}))}),(0,a.jsx)(R.Z,{disabled:E,children:y?(0,a.jsx)(p,{className:"",name:"comment-metric-detail",onClick:b,disabled:!_,children:(0,a.jsx)(T.Z,{metricValue:y})}):(0,a.jsx)(T.Z,{})})]},"item-comments-button"):(0,a.jsx)("span",{},"comment-spacer-button")})))},50522:function(e,t,r){"use strict";var n=r(12167),o=(r(2784),r(74663)),i=r(49372),a=r(5109),c=r(90856),u=r(22749),s=r(11826),l=r(58123),f=r(52322);var p=(0,n.Z)(l.Z,{target:"e1f3y13z3"})({display:"flex",flexDirection:"row",gap:i.N.BASE},""),d=(0,n.Z)("div",{target:"e1f3y13z2"})({name:"i2mu6",styles:"display:flex;flex-direction:column;justify-content:space-evenly"}),m=(0,n.Z)("h5",{target:"e1f3y13z1"})(a.Hb.SMALL_STANDARD,{color:c.bo.primary},""),v=(0,n.Z)("h5",{target:"e1f3y13z0"})(a.Hb.XSMALL_STANDARD,{color:c.bo.tertiary},"");t.Z=function(e){var t=e.profile,r=(0,s.M_)(t);return(0,f.jsxs)(p,{href:r,navFromEventName:u.f2.SECTION_ENTER,openInNewWindow:!0,children:[(0,f.jsx)(o.Z,{image:t.authorImage||t.image,avatarSize:40}),(0,f.jsxs)(d,{children:[(0,f.jsx)(m,{children:t.authorDisplayName}),(0,f.jsx)(v,{children:"@".concat(t.authorUsername)})]})]})}},71552:function(e,t,r){"use strict";r.d(t,{Z:function(){return A}});r(34769),r(34115),r(95342),r(68625),r(1939),r(62775);var n=r(12167),o=(r(2784),r(49372)),i=r(90856),a=r(5109),c=r(65976),u=r(47897),s=r.n(u),l=r(52322);function f(e){var t=e.size;return(0,l.jsxs)("svg",{width:t,height:t,viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,l.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M24 48C37.2548 48 48 37.2548 48 24C48 10.7452 37.2548 0 24 0C10.7452 0 0 10.7452 0 24C0 37.2548 10.7452 48 24 48Z",fill:"#262626",fillOpacity:"0.6"}),(0,l.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M18.6754 14.3246L34.7279 23.7279L18.6754 33.1313V14.3246Z",fill:"white"})]})}f.propTypes={size:s().number,border:s().bool,className:s().string},f.defaultProps={size:32,border:!1,className:""};var p=f,d=r(8626),m=r(58414);function v(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function h(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
1t%2?v(Object(r),!0).forEach((function(t){_(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):v(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function _(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function y(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var b=(0,n.Z)("div",{target:"eq2h9o3"})({name:"ap5i9m",styles:"position:absolute;top:0;left:0;width:100%;height:100%;display:flex;align-items:center;justify-content:center;pointer-events:none"}),E=(0,n.Z)("div",{target:"eq2h9o2"})({position:"absolute",left:o.N.LARGE,bottom:o.N.LARGE},""),g=(0,n.Z)(d.Z,{target:"eq2h9o1"})({name:"1quw0ni",styles:"pointer-events:auto"}),O=(0,n.Z)("div",{target:"eq2h9o0"})({fontFamily:a.g5.FONT_FAKT_FLIPBOARD,fontWeight:a.Xw.MEDIUM,fontSize:"10px",letterSpacing:"-0.125px",position:"absolute",top:"unset",left:"unset",right:"0",bottom:"0",margin:o.N.MEDIUM,padding:o.N.SMALL,color:i.DM.staticWhite,borderRadius:"2px",background:"rgba(17, 17, 17, 0.6)"},""),S=function(e){var t=e.item,r=e.showDuration,n=e.shownInList,o=e.isMedia,i=e.topicTag,a=y(e,["item","showDuration","shownInList","isMedia","topicTag"]),u=t.duration,s=t.isVimeo;return(0,l.jsxs)(b,{children:[(0,l.jsxs)(E,{children:[n&&(0,l.jsx)(m.Z,{item:t}),i&&(0,l.jsx)(g,{section:i,styleVariation:d.B.PILL})]}),o&&(0,l.jsxs)("div",{children:[!s&&(0,l.jsx)(p,h({},a)),r&&u&&(0,l.jsx)(O,{children:(0,c.WJ)(u)})]})]})};S.defaultProps={showDuration:!0,shownInList:!1,isMedia:!0,topicTag:null};var A=S},58414:function(e,t,r){"use strict";r.d(t,{j:function(){return d}});var n=r(12167),o=(r(18178),r(2784),r(49372)),i=r(90856),a=r(5109),c=r(95787),u=r(30001),s=r(37757),l=r(90068),f=r(19654),p=r(52322),d=(0,n.Z)("div",{target:"e10uhnnv0"})(a.Y0,{backgroundColor:i.EU.primary,color:i.bo.primary,width:"fit-content",height:"fit-content",padding:"".concat(o.N.SMALL," ").concat(o.N.BASE," ").concat(o.N.SMALL," ").concat(o.N.SMALL),display:"flex",gap:o.N.SMALL},"");t.Z=(0,l.Z)(f.Z)((0,s.Z)((function(e){var t=e.className,r=e.item,n=e.featureFlags,o=e.t;return r&&r.pinned&&n.PINNED_FLIP?(0,p.jsxs)(d,{className:t,children:[(0,p.jsx)(c.Z,{size:14,variant:u.rL.FILLED}),(0,p.jsx)("span",{children:o("pinned_badge_text")})]}):null})))},59464:function(e,t,r){"use strict";r.d(t,{H:function(){return n}});r(34769),r(34115),r(95342),r(68625),r(1939),r(62775),r(96928),r(61229),r(634),r(58188),r(20796),r(15735),r(28673),r(6886);var n,o=r(12167),i=(r(39529),r(31235),r(2784)),a=r(72779),c=r.n(a),u=r(49372),s=r(17394),l=r(4609),f=r(90856),p=r(5109),d=r(57366),m=r(39744),v=r(53913),h=r(59470),_=r(12857),y=r(13741),b=r(31390),E=r(57003),g=r(37757),O=r(90068),S=r(57702),A=r(52322);function T(e){return T="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},T(e)}function R(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function I(e,t){return I=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},I(e,t)}function P(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 r,n=j(e);if(t){var o=j(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return C(this,r)}}function C(e,t){return!t||"object"!==T(t)&&"function"!=typeof t?w(e):t}function w(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}
1function j(e){return j=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},j(e)}function N(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function L(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?N(Object(r),!0).forEach((function(t){D(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):N(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function D(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}!function(e){e.WIDE_VIDEOS="wide-videos"}(n||(n={}));var x=d.Z.sizes,M={backgroundColor:"var(--color--surface-new-storyboard-default-cover)",cursor:"pointer",".post-attribution__link":(0,f.cP)(!0),".post__body":{position:"relative",paddingTop:u.N.BASE,paddingRight:u.N.MEDIUM},".post__title":L({marginBottom:u.N.BASE},(0,f.cP)(!0),{},(0,l.$)("98%",3)),".post-attribution__source":{marginBottom:u.N.SMALL},".post__excerpt":L({},s.j.desktopUp({display:"none"}),{marginBottom:u.N.BASE4X})},Z=function(e,t,r){var n=e.section,o=e.isFirstPartyVideo,i=e.isMagazine,a=null==n?void 0:n.isStoryboard;return o&&t?function(e){return{background:"none",gridTemplateColumns:"177px auto",".post__media":{width:"177px",height:"".concat(e,"px")},".post__title":{".internal-link":(0,l.$)("98%",3)}}}(r):a?M:i?function(e){return{display:"flex",position:"relative",".post__media":{width:"100%",height:"".concat(e,"px"),".cropped-image":{"&::before":{content:'""',display:"block",position:"absolute",top:"0",left:"0",bottom:"0",right:"0",zIndex:"1",background:"rgba(0,0,0,.5)"}}},".post__body":{position:"absolute",top:u.N.MEDIUM,left:"16px",zIndex:"2",width:"90%",pointerEvents:"none",".post__title":L({marginBottom:u.N.SMALL},(0,l.$)("100%",2),{".outbound-link":L({},(0,l.$)("100%",2),{},(0,f.cP)(!0))}),".post-attribution__link":L({},(0,f.cP)(!0),{pointerEvents:"all"})}}}(r):null},U=(0,o.Z)("article",{target:"e1722xln2"})((function(e){var t=e.coverSize;return{display:"grid",gridTemplateColumns:"".concat(t,"px auto"),gridColumnGap:u.N.MEDIUM,padding:"0",".post-attribution__source":{margin:"0"},".post__media":{width:t,height:t,overflow:"hidden"}}}),(function(e){return L({},e.typeItemCondensed,{},null==e?void 0:e.backgroundStyle)}),""),k=(0,o.Z)(b.Z,{target:"e1722xln1"})({margin:"0 0 ".concat(u.N.BASE)},""),F=(0,o.Z)(y.Z,{target:"e1722xln0"})((function(e){var t=e.item,r=t.isSection,n=t.isMagazine,o=t.section,i=e.isArticleRoute,a=null==o?void 0:o.isStoryboard;return i&&!a?p.Y.XSMALL:i&&a?L({},p.Y.SMALL,{},(0,f.cP)(!0)):!i&&a?L({},p.nQ.SMALL,{},(0,f.cP)(!0),{textTransform:"capitalize"}):i||r||n?n?p.Y.LARGE_OVERLAY:void 0:L({},p.nQ.SMALL,{textTransform:"capitalize"})}),"display:block;"),G=function(e){!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&&I(e,t)}(u,e);var t,r,o,a=P(u);function u(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,u),(t=a.call(this,e)).handleError=t.handleError.bind(w(t)),t.state={imageLoadFailed:!1},t}return t=u,(r=[{key:"handleError",value:function(){this.setState({imageLoadFailed:!0})}},{key:"renderBodyContent",value:function(e){var t=this.props,r=t.section,n=t.shownInList,o=t.isArticleRoute,a=t.shouldRenderAvatar,u=t.avatarSize,s=e.sanitizedTitle,l=e.title,f=s||l,p=f&&(0,A.jsx)(k,{className:"post__title",primary:!n,children:(0,A.jsxs)(F,{isArticleRoute:o,item:e,section:r,shownInList:n,dataTestId:"more-stories",children:[e.isTopic&&"#",f]})});return(0,A.jsxs)(i.Fragment,{children:[p,(0,A.jsx)(h.Z,{className:c()({"ui-body--small-standard":o}),item:e,section:r,hideFlipDateCreated:!0,isCondensedItem:!0,shouldRenderAvatar:a,avatarSize:u})]})}},{key:"render",value:function(){var e=this.props,t=e.className,r=e.item,o=e.section,i=e.shownInList,a=e.t,u=e.condensedItemModifiers,s=e.coverSize,l=r;"status"===r.type&&(l=(0,m.oQ)(r));var f=null==u?void 0:u.includes(n.WIDE_VIDEOS),p=Z(l,f,s),h={};
1l.section&&l.section.isStoryboard&&(h=d.Z.getBackgroundColorStyle(l.image,0));var y=(0,A.jsx)(v.Z,{shownInList:!0,item:l,section:o,sectionToBecomeItem:!0,allowPlayableMedia:!1,onError:this.handleError,fallbackElementSize:_.Z.fallbackElementSizes.CONDENSED,previewSize:x.SMALL,showWideVideos:f,ampClass:"condensed",ampWidth:370,ampHeight:s});return(0,A.jsxs)(U,{coverSize:s,className:c()(t,{"post--condensed":!0}),backgroundStyle:h,typeItemCondensed:p,onClick:function(e){var t;e.target.classList.contains("post__body")&&(null===(t=e.target.querySelector(".post__title > a"))||void 0===t||t.click())},children:[y,(0,A.jsxs)("div",{className:"post__body",children:[!i&&!r.isSection&&(0,A.jsx)(E.Z,{item:l,section:o,t:a}),this.renderBodyContent(l)]})]},l.id)}}])&&R(t.prototype,r),o&&R(t,o),u}(i.Component);D(G,"defaultProps",{section:null,shownInList:!0,truncateTitleLength:null,condensedItemModifiers:[],coverSize:104,shouldRenderAvatar:!1}),t.Z=(0,O.Z)(S.Z)((0,g.Z)(G))},35564:function(e,t,r){"use strict";r(43105),r(34769),r(34115),r(95342),r(68625),r(1939),r(62775),r(96928),r(61229),r(634),r(58188),r(20796),r(15735),r(28673),r(6886);var n=r(12167),o=(r(18178),r(2784)),i=r(5109),a=r(90856),c=r(49372),u=r(4609),s=r(4361),l=r(42890),f=r(39744),p=r(7799),d=r(26626),m=r(30289),v=r(953),h=r(90068),_=r(19654),y=r(37757),b=r(52322);function E(e){return E="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},E(e)}function g(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function O(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function S(e,t){return S=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},S(e,t)}function A(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 r,n=I(e);if(t){var o=I(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return T(this,r)}}function T(e,t){return!t||"object"!==E(t)&&"function"!=typeof t?R(e):t}function R(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function I(e){return I=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},I(e)}function P(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function C(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?P(Object(r),!0).forEach((function(t){w(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):P(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function w(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function j(){return j=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},j.apply(this,arguments)}var N=(0,s.t)("isExpanded","isNote","backgroundColor","isOverlay"),L=(0,n.Z)("div",j({},{target:"e19bj8j05"},N))({position:"sticky",bottom:c.N.SMALL,right:"0",backgroundColor:"inherit",marginLeft:"auto",paddingLeft:c.N.BASE6X,background:"linear-gradient(90deg, transparent 0%, ".concat(a.EU.secondary," 35.21%)")},(function(e){if(e.isExpanded)return{paddingLeft:c.N.BASE6X}}),(function(e){var t=e.backgroundColor;if(t)return{background:"linear-gradient(90deg, transparent 0%, ".concat(t," 35.21%)")}}),""),D=(0,n.Z)("div",j({},{target:"e19bj8j04"},N))((function(e){return{position:"relative",backgroundColor:"inherit",display:"flex",flexDirection:"column",paddingBottom:e.isExpanded?c.N.XLARGE:"0px"}}),""),x=function(e){var t=e.numLines;return C({},t&&(0,u.$)("100%",t),{lineHeight:"1.6"})},M=(0,n.Z)("p",j({},{target:"e19bj8j03"},(0,s.t)("numLines")))(x,""),Z=(0,n.Z)("h1",j({},{target:"e19bj8j02"},(0,s.t)("numLines")))(x,i.Ev,""),U=(0,n.Z)(d.ZP,j({},{target:"e19bj8j01"},N))((function(e){var t=e.backgroundColor,r=e.isOverlay;if(t)return C({},(0,a.cP)(r),{"&:focus":C({backgroundColor:t},(0,a.cP)(r))})}),""),k=(0,n.Z)("div",j({},{target:"e19bj8j00"},N))(i.k7.SMALL,"margin:0;padding:0;margin-left:auto;",(function(e){var t=e.backgroundColor,r=e.isOverlay;if(t)return C({},(0,a.cP)(r,!0),{"&:focus":{backgroundColor:t}})}),""),F=function(e){!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&&S(e,t)}(c,e);var t,r,n,i=A(c);function c(){var e;g(this,c);for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return w(R(e=i.call.apply(i,[this].concat(r))),"state",{shouldTruncate:!1,isExpanded:e.props.startExpanded||!1}),w(R(e),"textRef",o.createRef()),w(R(e),"toggleExpanded",(function(t){t.preventDefault(),t.stopPropagation(),e.setState({isExpanded:!e.state.isExpanded})})),w(R(e),"setShouldTruncate",(function(){var t=e.textRef.current;if(t){var r=(0,p.Z)().getComputedStyle(t),n=(0,s.J)(r.getPropertyValue("line-height")),o=Math.round(n*e.props.numLines);e.setState({shouldTruncate:t.scrollHeight>o})}})),w(R(e),"getItemFlipNote",(function(){var t,r,n=e.props,o=n.isItemCaption,i=n.item;if(o)t=i.caption,r=l.Z.getFlipItem(i).sectionLinks;else if(i.isFlipComposeImage){t=i.text;var a=(0,f.b$)(i);if(a)r=null==a?void 0:a.sectionLinks;else r=l.Z.getFlipItem(i).sectionLinks}else{t=i.text;var c=(0,f.oQ)(i);r=null==c?void 0:c.sectionLinks}return!!t&&(0,b.jsx)(v.Z,{sectionLinks:r,children:t})})),w(R(e),"renderMoreButton",(function(){var t=e.props,r=t.isOverlay,n=t.overrideBackgroun
1dColor,o=t.item,i=t.featureFlags,c=t.hideMoreButton,u=t.expandBehaviour,s=t.isItemCaption,l=t.t,f=e.state,p=f.isExpanded,v=f.shouldTruncate;if(!(!c&&v))return null;var h=p?"less":"more",_=n,y=o.isNote;return y&&i.STANDALONE_POST&&(_=s?a.EU.defaultStandalonePostSecondary:a.EU.defaultStandalonePostPrimary),(0,b.jsx)(L,{isExpanded:p,backgroundColor:_,isOverlay:!1,children:i.COMMENTS&&!u?(0,b.jsx)(m.Z,{styleModifier:[d._Z.INLINE_LINK],item:o,expandCommentsHeader:!0,children:(0,b.jsx)(k,{backgroundColor:_,isNote:y,isOverlay:r,children:l("more")})},"comments"):(0,b.jsx)(U,{name:"more-button",styleModifier:[d._Z.INLINE_LINK],onClick:e.toggleExpanded,backgroundColor:_,isOverlay:r,children:l(h)})})})),e}return t=c,(r=[{key:"componentDidMount",value:function(){this.setShouldTruncate()}},{key:"componentDidUpdate",value:function(e){e.startExpanded!==this.props.startExpanded&&this.setState({isExpanded:this.props.startExpanded},this.setShouldTruncate)}},{key:"render",value:function(){var e=this.props,t=e.className,r=e.numLines,n=e.shownInList,o=this.state.isExpanded,i=o?null:r,a=this.getItemFlipNote();if(!a)return null;var c=n?M:Z;return(0,b.jsx)(b.Fragment,{children:(0,b.jsxs)(D,{className:t,isExpanded:o,isOverlay:!1,children:[(0,b.jsx)(c,{numLines:i,ref:this.textRef,children:a}),this.renderMoreButton()]})})}}])&&O(t.prototype,r),n&&O(t,n),c}(o.Component);w(F,"defaultProps",{hideMoreButton:!1,shownInList:!0,numLines:4}),t.ZP=(0,h.Z)(_.Z)((0,y.Z)(F))},13741:function(e,t,r){"use strict";r.d(t,{Z:function(){return _},a:function(){return v}});r(67890),r(2784);var n=r(45697),o=r.n(n),i=r(11826),a=r(22749),c=r(58123),u=r(26626),s=r(46315),l=r(90068),f=r(82706),p=r(21681),d={actions:{usageSetNavFromSection:p.J2,usageTrackItemEnter:p.y2,usageTrackPublisherSiteLinkClick:p.s8}},m=r(52322),v={LINK:"link",BUTTON:"button"};function h(e){var t=e.elementType,r=e.item,n=e.section,o=e.shownInList,s=e.isAuthenticated,l=e.className,f=e.dataTestId,p=e.children,d=e.onClick,h=e.history,_=e.buttonName,y=e.buttonLabel,b=e.title,E=e.usageSetNavFromSection,g=e.usageTrackItemEnter,O=e.usageTrackPublisherSiteLinkClick,S=e.disableAnchorLink,A=e.forceInternal,T=(0,a.rm)(r),R=n&&n.isStoryboard,I=A||r.isFlipboardInternalContent||o&&!s&&!R?r.internalURL:r.openURL||r.sourceURL||r.internalURL,P=function(){d&&d(),n&&E(n);var e=(0,i.xf)(I);e&&o&&g(r,h),e&&!o&&O()};return t===v.LINK?(0,m.jsx)(c.Z,{className:l,href:I,"data-test-id":f,navFromEventName:T,onClick:P,title:b,disableAnchorLink:S,children:p}):(0,m.jsx)(u.ZP,{href:I,name:_,label:y,styleVariation:u.NV.SECONDARY,navFromEventName:T,onClick:P})}h.propTypes={elementType:o().oneOf(Object.values(v)),item:o().object.isRequired,section:o().object,shownInList:o().bool,isAuthenticated:o().bool.isRequired,className:o().string,dataTestId:o().string,children:o().node,onClick:o().func,usageSetNavFromSection:o().func.isRequired,usageTrackItemEnter:o().func.isRequired,usageTrackPublisherSiteLinkClick:o().func.isRequired,history:o().object.isRequired,buttonName:o().string,buttonLabel:o().string,title:o().string,disableAnchorLink:o().bool,forceInternal:o().bool},h.defaultProps={elementType:v.LINK,section:null,shownInList:!0,className:"",dataTestId:null,children:null,onClick:null,buttonName:null,buttonLabel:null,title:"",disableAnchorLink:!1,forceInternal:!1};var _=(0,l.Z)(f.Z,d)((0,s.Z)(h))},49412:function(e,t,r){"use strict";r(2784);var n=r(45697),o=r.n(n),i=r(72779),a=r.n(i),c=r(37757),u=r(52322);function s(e){var t=e.className,r=e.isView,n=e.t,o=a()(t,"loading",{"loading--view":r});return(0,u.jsx)("div",{className:o,children:(0,u.jsx)("div",{children:n("loading")})})}s.propTypes={isView:o().bool,className:o().string,t:o().func.isRequired},s.defaultProps={isView:!1},t.Z=(0,c.Z)(s)},66977:function(e,t,r){"use strict";r(18178),r(77950),r(94908),r(26936),r(96928),r(61229),r(34115),r(634),r(58188),r(20796),r(15735),r(28673),r(6886);var n=r(2784),o=r(45697),i=r.n(o),a=r(31975),c=r(53122),u=r(7799),s=r(26626),l=r(90068),f=r(68869),p=r(37757),d=r(52322);function m(e){return m="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},m(e)}function v(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function h(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function _(e,t){return _=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},_(e,t)}function y(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 r,n=g(e);if(t){var o=g(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return b(this,r)}}function b(e,t){return!t||"object"!==m(t)&&"function"!=typeof t?E(e):t}function E(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function g(e){return g=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},g(e)}function O(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var S=(0,a.Z)("LoginModal"),A=function(e){!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)}(i,e);var t,r,n,o=y(i);function i(){var e;v(this,i);for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return O(E(e=o.call.apply(o,[this].concat(r))),"handleClick",(function(t){if(!t.ctrlKey){var r=e.props,n=r.onClick,o=r.dismissAllModals,i=r.showModal,a=new Date(Date.now()+9e5);(0,c.d7)("redirect_after_auth",(0,u.Z)().location.pathname+(0,u.Z)().location.search,a),n&&n(t),t.preventDefault(),o(),i(S)}})),e}return t=i,(r=[{key:"render",value:function(){var e=this.props,t=e.className,r=e.name,n=e.label,o=e.styleVariation,i=e.styleModifier,a=e.t;return(0,d.jsx)(s.ZP,{className:t,name:r,label:n||a("log_in"),styleVariation:o,styleModifier:i,href:"/login",onClick:this.handleClick,tooltip:a("log_in_tooltip")})}}])&&h(t.prototype,r),n&&h(t,n),i}(n.Component);A.propTypes={className:i().string,name:i().string.isRequired,label:i().string,elementType:i().string,
1styleVariation:i().string,styleModifier:i().array,t:i().func,onClick:i().func,showModal:i().func.isRequired,dismissAllModals:i().func.isRequired},A.defaultProps={label:null,elementType:null,styleVariation:null,styleModifier:[]},t.Z=(0,l.Z)(f.Z)((0,p.Z)(A))},61803:function(e,t,r){"use strict";r(67890),r(34769),r(34115),r(95342),r(68625),r(1939),r(62775),r(2784);var n=r(45697),o=r.n(n),i=r(30001),a=r(22412),c=r(90068),u=r(8225),s=r(52322);function l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function f(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function p(e){return(0,s.jsx)(a.Z,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?l(Object(r),!0).forEach((function(t){f(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):l(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},e))}p.propTypes={appTheme:o().oneOf(Object.values(i.SJ))},t.Z=(0,c.Z)(u.Z)(p)},6907:function(e,t,r){"use strict";r.d(t,{Z:function(){return g}});r(34769),r(34115),r(95342),r(68625),r(62775);var n=r(12167),o=(r(32501),r(1939),r(18178),r(43450),r(49228),r(2784),r(5109)),i=r(90856),a=r(93039),c=r(22749),u=r(63229),s=r(80768),l=r(22480),f=r(58123),p=r(37757),d=r(90068),m=r(32079),v=r(52322);function h(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function _(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var y=function(e){var t=e.isNewMagazineCover,r=e.isNewMagazine;return t?function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?h(Object(r),!0).forEach((function(t){_(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):h(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},o.k7.SMALL,{color:i.bo.overlay}):r?{color:i.bo.overlay}:o.TK.SUPPORTING_EMPHASIS},b=(0,n.Z)(f.Z,{shouldForwardProp:function(e){return"isNewMagazineCover"!==e&&"isNewMagazine"!==e},target:"e1aecbhr0"})(y,""),E=function(e){var t=e.isNewMagazine,r=e.isNewMagazineCover,n=e.profile;return(0,v.jsx)(b,{isNewMagazineCover:r,isNewMagazine:t||!1,name:"magazine-contributors-description-profile-link",href:"/@".concat(n.authorUsername),navFromEventName:c.f2.SECTION_ENTER,children:n.authorDisplayName})},g=(0,d.Z)(m.Z)((0,p.Z)((function(e){var t=e.profiles,r=e.undisplayedCount,n=e.isNewMagazine,o=e.isNewMagazineCover,i=e.t,c=e.currentUser,f=e.section,p=e.entireProfiles,d=e.isMagazineContributorBanner;if(!t||0==t.length)return null;if(!o){var m=["".concat(n?(0,a.Z)(i("curated_by")):i("by")," "),(0,v.jsx)(E,{isNewMagazine:n,isNewMagazineCover:o,profile:t[0]},t[0].authorUsername)],h=t.slice(1);if(h.length>0)if(n&&m.push((0,v.jsx)("br",{},"br")),m.push(" ".concat(i("with")," ")),r>0)h.forEach((function(e,t){m.push((0,v.jsx)(E,{isNewMagazine:n,profile:e},e.authorUsername)),t!==h.length-1&&m.push(", ")})),m.push(" ".concat(i("and")," ").concat(r," ").concat(i("others")));else if(h.length>1){var _=h.length-1,y=h[_];(h=h.slice(0,_)).forEach((function(e,t){m.push((0,v.jsx)(E,{isNewMagazine:n,profile:e},e.authorUsername)),t!==_&&m.push(", ")})),m.push(" ".concat(i("and")," ").concat(y.authorDisplayName))}else{var b=h[h.length-1];m.push((0,v.jsx)(E,{isNewMagazine:n,profile:b},b.authorUsername))}return m}if(d&&o)return function(e,t){return e&&e.length?e.length>=3?(r=t("contributor_description_three_users"),(0,l.Z)(r,{ownerProfileLink:e[0],secondProfileLink:e[1],thirdProfileLink:e[2]})):2===e.length?(r=t("contributor_description_two_users"),(0,l.Z)(r,{ownerProfileLink:e[0],secondProfileLink:e[1]})):(r=t("contributor_description_one_user"),(0,l.Z)(r,{ownerProfileLink:e[0]})):"";var r}(t.slice(0,3).map((function(e){return function(){return(0,v.jsx)(E,{isNewMagazineCover:o,isNewMagazine:n,profile:e},e.authorUsername)}
1})),i);var g=!1;if(c&&(s.Z.isMagOwner(f,c.userid)&&(g=p[0]),!g)){var O=p.find((function(e){return(0,u.Z)(e.userid,c.userid)}));O&&(g=O)}var S=p.length-1,A=g||t[0];return function(e,t){var r=e.userProfileLink,n=e.remainingProfilesCount,o=e.currentUserIsOwnerOrCollaborator;if(n<=0)return"";var i=t(o?"contributor_header_you_and_others":"contributor_header_others",{remainingProfilesCount:n});return(0,l.Z)(i,{userProfileLink:r})}({userProfileLink:function(){return(0,v.jsx)(E,{isNewMagazineCover:o,isNewMagazine:n,profile:A},A.authorUsername)},remainingProfilesCount:S,currentUserIsOwnerOrCollaborator:!!g},i)})))},72207:function(e,t,r){"use strict";r.r(t);r(43105),r(34769),r(34115),r(95342),r(68625),r(1939),r(62775);var n=r(12167),o=(r(32501),r(2784),r(45697)),i=r.n(o),a=r(17394),c=r(49372),u=r(5109),s=r(90856),l=r(4361),f=r(11826),p=r(22749),d=r(58123),m=r(86885),v=r(33901),h=r(6907),_=r(57528),y=r(52322);function b(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function E(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?b(Object(r),!0).forEach((function(t){g(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):b(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function g(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function O(){return O=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},O.apply(this,arguments)}var S=(0,n.Z)("div",O({},{target:"e1rajly3"},(0,l.t)("singleProfile","multipleProfiles")))((function(e){return e.singleProfile&&{display:"flex",alignItems:"center",".author-avatar":{marginRight:c.N.MEDIUM}}}),(function(e){return e.multipleProfiles&&{display:"flex",alignItems:"center"}}),""),A=function(e){return e.isNewMagazineCover?E({},u.k7.SMALL,{color:s.bo.overlay}):e.isNewMagazine?E({},u.Hb.LARGE_STANDARD,{color:s.bo.overlay}):u.TK.SUPPORTING},T=(0,n.Z)("p",O({},{target:"e1rajly2"},(0,l.t)("isNewMagazine","isNewMagazineCover")))(A,E({verticalAlign:"middle"},a.j.tabletLandscapeUp({display:"inline-block",marginBottom:0})),""),R=(0,n.Z)(d.Z,{target:"e1rajly1"})(E({},u.k7.SMALL,{color:s.bo.overlay}),""),I=(0,n.Z)(v.Z,{target:"e1rajly0"})({borderRadius:"100%",".author-avatar__image":{border:"1.5px solid ".concat(s.M1.primary)}},"");function P(e){var t=e.profiles,r=e.section,n=e.maxDisplayCount,o=e.className,i=e.onClickAdd,a=e.avatarSize,c=e.isNewMagazine,u=e.isNewMagazineCover,s=t,l=t.slice(0,n),v=t.length-l.length;if(1===t.length&&!i){if(!u)return(0,y.jsx)(_.Z,{className:o,item:r,avatarSize:a});var b=t[0];return(0,y.jsxs)(S,{className:o,children:[function(e){if(!e)return null;var t=(0,f.M_)(r);return t?(0,y.jsx)(d.Z,{className:"media-link",href:t,navFromEventName:p.f2.SECTION_ENTER,children:(0,y.jsx)(I,{author:e,avatarSize:a})}):(0,y.jsx)(I,{author:e,avatarSize:a})}(b),(0,y.jsx)(R,{href:"/@".concat(b.authorUsername),name:"magazine-owner-description-profile-link",navFromEventName:p.f2.SECTION_ENTER,children:r.authorDisplayName})]})}return(0,y.jsxs)(S,{className:o,children:[(0,y.jsx)(m.ZP,{isNewMagazine:c,profiles:l,allProfiles:s,addContributorButtonName:"magazine-contributors-add-contributor",onClickAdd:i,avatarSize:a,undisplayedCount:v,isNewMagazineCover:u,maxDisplayCount:n,section:r}),(0,y.jsx)(T,{isNewMagazineCover:u,isNewMagazine:c,children:(0,y.jsx)(h.Z,{isNewMagazine:c,profiles:l,undisplayedCount:v,isNewMagazineCover:u,section:r,entireProfiles:s})})]})}P.propTypes={profiles:i().array.isRequired,section:i().object.isRequired,onClickAdd:i().func,maxDisplayCount:i().number,className:i().string,avatarSize:i().number,isNewMagazine:i().bool,isNewMagazineCover:i().bool,author:i().object},P.defaultProps={maxDisplayCount:5,onClickAdd:null,className:"",avatarSize:35,isNewMagazine:!1},t.default=P},62279:function(e,t,r){"use strict";r(96928),r(61229),r(58188),r(73439),r(34115),r(634),r(20796),r(15735),r(28673),r(6886),r(35666);var n=r(2784),o=r(26626),i=r(90068),a=r(89463),c=r(19654),u=r(37757),s=r(52322);function l(e){return l="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},l(e)}function f(e,t,r,n,o,i,a){try{var c=e[i](a),u=c.value}catch(e){return void r(e)}c.done?t(u):Promise.resolve(u).then(n,o)}function p(e){return function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(e){f(i,n,o,a,c,"next",e)}function c(e){f(i,n,o,a,c,"throw",e)}a(void 0)}))}}function d(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function m(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function v(e,t){return v=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},v(e,t)}function h(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 r,n=y(e);if(t){var o=y(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return _(this,r)}}function _(e,t){return!t||"object"!==l(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}
1function y(e){return y=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},y(e)}var b=function(e){!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&&v(e,t)}(a,e);var t,r,n,i=h(a);function a(){return d(this,a),i.apply(this,arguments)}return t=a,(r=[{key:"componentDidMount",value:function(){var e=this.props,t=e.section;(0,e.usageTrackShowAcceptContributorInvite)(t,t.invite)}},{key:"render",value:function(){var e=this.props,t=e.className,r=e.section,n=e.styleVariation,i=e.featureFlags,a=e.startOldAcceptMagazineFlow,c=e.startAcceptMagazineFlow,u=e.isMagazineInvitePending,l=e.usageTapAcceptContributorInvite,f=e.t;return(0,s.jsx)(o.ZP,{className:t,name:"accept-contributor-invite",styleVariation:n,loading:u,onClick:p(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:l(r,r.invite),r.invite&&(i.INVITE_MAGAZINE_CONTRIBUTOR?c(r):a(r));case 2:case"end":return e.stop()}}),e)}))),children:f("accept_invite")})}}])&&m(t.prototype,r),n&&m(t,n),a}(n.Component);t.Z=(0,i.Z)(a.Z,c.Z)((0,u.Z)(b))},95231:function(e,t,r){"use strict";r(43105),r(34769),r(34115),r(95342),r(68625),r(1939),r(62775);var n=r(12167),o=(r(26936),r(18178),r(2784),r(4361)),i=r(93780),a=r(46120),c=r(37757),u=r(52322);function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?s(Object(r),!0).forEach((function(t){f(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):s(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function f(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function p(){return p=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},p.apply(this,arguments)}var d=(0,n.Z)("div",p({},{target:"elg56go0"},(0,o.t)("imgHeight","imgWidth")))((function(e){var t=e.imgHeight,r=e.imgWidth;return{overflow:"hidden",height:"".concat(t,"px"),width:"".concat(r,"px")}}),""),m=function(e){var t=e.image,r=e.name,n=e.size,o=e.height,c=e.width,s=e.className,f=e.imageClass,p=e.fallbackElement,m=e.t;if(!t&&!p)return null;var v=r?"".concat(m("magazine")," - ").concat(r):m("magazine"),h=o||n,_=c||n,y=o&&c?{height:o,width:c}:{size:n};return p&&(y.fallbackElement=p),(0,u.jsx)(d,{className:s,imgHeight:h,imgWidth:_,children:(0,u.jsx)(a.Z,l({className:f,image:t,urlHelper:i.lV,alt:v,ampLayout:"fixed",ampWidth:_,ampHeight:h,ampStyle:{width:_,height:h}},y,{crop:!0}))})};m.defaultProps={size:35},t.Z=(0,c.Z)(m)},28144:function(e,t,r){"use strict";var n=r(12167),o=(r(18178),r(2784)),i=r(72779),a=r.n(i),c=r(90856),u=r(49372),s=r(32707),l=r(36188),f=r(97881),p=r(52322),d=(0,n.Z)("footer",{shouldForwardProp:function(e){return"fixedControls"!==e&&"verticalControls"!==e},target:"ezlicvm1"})({padding:u.N.LARGE,width:"100%",display:"flex",alignItems:"center",justifyContent:"flex-end",background:c.EU.primary,borderRadius:"0 0 ".concat(u.N.MEDIUM," ").concat(u.N.MEDIUM),".button--block":{marginBottom:"0"}},(function(e){return e.fixedControls?{borderTop:"1px solid ".concat(c.M1.primary," ")}:{}}),(function(e){return e.verticalControls?{flexDirection:"column",justifyContent:"center",padding:u.N.BASE6X}:{" > * + *":{marginLeft:u.N.MEDIUM}}}),""),m=(0,n.Z)("div",{target:"ezlicvm0"})({position:"absolute",top:u.N.MEDIUM,right:u.N.MEDIUM,zIndex:s.k0.BASE+10},"");t.Z=function(e){var t=e.className,r=e.fixedControls,n=e.verticalControls,i=e.showCloseButton,c=e.closeButtonSize,u=e.onDismiss,s=e.modalName,v=e.children,h=a()(t,{modal__controls:!0});return(0,p.jsxs)(o.Fragment,{children:[i&&u&&s&&(0,p.jsx)(m,{children:(0,p.jsx)(l.Z,{onClick:u,name:"".concat(s,"-close"),children:(0,p.jsx)(f.Z,{size:c||24})})}),v&&(0,p.jsx)(d,{className:h,fixedControls:r,verticalControls:n,children:v})]})}},78235:function(e,t,r){"use strict";r(34769),r(34115),r(95342),r(68625),r(1939),r(62775),r(634),r(58188),r(20796),r(15735),r(28673),r(6886),r(27233),r(32501);var n=r(12167),o=(r(18178),r(43450),r(77950),r(85940),r(26936),r(2784),r(72779)),i=r.n(o),a=r(75007),c=r(49372),u=r(90856),s=r(5109),l=r(22749),f=r(4609),p=r(30298),d=r(58123),m=r(37757),v=r(90068),h=r(60986),_=r(67229),y=r(52322);function b(e){return function(e){if(Array.isArray(e))return E(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return E(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return E(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function E(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function g(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function O(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
1t%2?g(Object(r),!0).forEach((function(t){S(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):g(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function S(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var A=(0,n.Z)("header",{target:"e1x8au3a4"})({backgroundColor:u.EU.primaryReverse},""),T=(0,n.Z)("nav",{target:"e1x8au3a3"})({padding:"".concat(c.N.MEDIUM," ").concat(c.N.LARGE),margin:"0"},""),R=(0,n.Z)("ul",{target:"e1x8au3a2"})({display:"flex",alignItems:"center",flexWrap:"nowrap",overflow:"hidden","> .breadcrumbs__items:first-of-type":{borderRight:"1px solid ".concat(u.bo.overlay)},span:O({whiteSpace:"break-spaces"},(0,f.$)("auto",1),{maxWidth:"850px"})},""),I=(0,n.Z)(d.Z,{target:"e1x8au3a1"})({color:u.bo.overlay},""),P=(0,n.Z)("li",{target:"e1x8au3a0"})({display:"inline-block",whiteSpace:"nowrap",color:u.bo.overlay,"&:hover":{color:u.bo.overlay},"&:not(:first-of-type)":{"&:before":{content:'"/"',color:u.bo.secondaryReverse,display:"inline-block",marginRight:"".concat(c.N.MEDIUM)}},"&:not(:last-child)":O({},s.TK.TITLE_SMALL,{marginRight:"".concat(c.N.MEDIUM),color:u.bo.secondaryReverse,a:{color:"inherit"}}),"&:last-child":{display:"flex"}},"");t.Z=(0,v.Z)(h.Z,_.Z)((0,m.Z)((function(e){var t=e.isPhone,r=e.t,n=e.breadcrumbs;if(!n||!n.length)return null;var o=(0,y.jsx)(P,{className:"breadcrumbs__item link",children:(0,y.jsx)(d.Z,{href:"/",children:r("home")})},"home"),c=n.map((function(e,r){var o=r===n.length-1,c=i()("breadcrumbs__item",{link:!o});if(t&&o)return null;var u=e.item.replace(a.Z.FLIPBOARD_URL,"");return(0,y.jsx)(P,{className:c,children:(0,y.jsx)(I,{className:"breadcrumbs__label",href:u,noSameUrlLinks:!0,children:e.name})},"breadcrumb-".concat(r))})),u=[o].concat(b(c));return(0,y.jsx)(p.nN.Provider,{value:l.rf.NAV_BAR,children:(0,y.jsx)(A,{className:"breadcrumbs__header",children:(0,y.jsx)(T,{className:"breadcrumbs",children:(0,y.jsx)("div",{className:"breadcrumbs__items-wrapper",children:(0,y.jsx)(R,{className:"breadcrumbs__items",children:u})})})})})})))},97286:function(e,t,r){"use strict";r.d(t,{K:function(){return Cr},Z:function(){return Nr}});var n=r(12167),o=r(2784),i=r(45697),a=r.n(i),c=r(72779),u=r.n(c),s=r(49372),l=r(90856),f=r(5109),p=r(31975),d=r(66263),m=r(22749),v=r(30298),h=(r(34769),r(34115),r(95342),r(68625),r(1939),r(62775),r(47897)),_=r.n(h),y=r(43057),b=r(37757),E=r(52322);function g(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function O(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function S(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var A=(0,n.Z)(y.Z,{target:"e78koj40"})((function(e){return{color:e.color||l.MN.emphasis,fill:"currentColor"}}),"");function T(e){var t=e.size,r=S(e,["size"]);return(0,E.jsx)(A,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?g(Object(r),!0).forEach((function(t){O(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):g(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({name:"following",width:t,height:t,viewBox:"0 0 24 24"},r,{renderComponent:function(){return(0,E.jsxs)(E.Fragment,{children:[(0,E.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.83855 2H6.16146C5.63433 1.99998 5.17954 1.99997 4.80497 2.03057C4.40963 2.06287 4.01641 2.13419 3.63803 2.32698C3.07354 2.6146 2.6146 3.07354 2.32698 3.63803C2.13419 4.01641 2.06287 4.40963 2.03057 4.80497C1.99997 5.17954 1.99998 5.63429 2 6.16142V6.83855C1.99998 7.36568 1.99997 7.82047 2.03057 8.19503C2.06287 8.59038 2.13419 8.98359 2.32698 9.36197C2.6146 9.92646 3.07354 10.3854 3.63803 10.673C4.01641 10.8658 4.40963 10.9371 4.80497 10.9694C5.17955 11 5.63432 11 6.16148 11H6.83852C7.36568 11 7.82045 11 8.19503 10.9694C8.59038 10.9371 8.98359 10.8658 9.36197 10.673C9.92646 10.3854 10.3854 9.92646 10.673 9.36197C10.8658 8.98359 10.9371 8.59038 10.9694 8.19503C11 7.82045 11 7.36568 11 6.83852V6.16148C11 5.63432 11 5.17955 10.9694 4.80497C10.9371 4.40963 10.8658 4.01641 10.673 3.63803C10.3854 3.07354 9.92646 2.6146 9.36197 2.32698C8.98359 2.13419 8.59038 2.06287 8.19503 2.03057C7.82047 1.99997 7.36568 1.99998 6.83855 2ZM4.54601 4.109C4.59546 4.0838 4.69618 4.04613 4.96784 4.02393C5.25118 4.00078 5.62345 4 6.2 4H6.8C7.37656 4 7.74883 4.00078 8.03217 4.02393C8.30383 4.04613 8.40455 4.0838 8.45399 4.109C8.64216 4.20487 8.79514 4.35785 8.89101 4.54601C8.9162 4.59546 8.95388 4.69618 8.97608 4.96784C8.99923 5.25118 9 5.62345 9 6.2V6.8C9 7.37656 8.99923 7.74883 8.97608 8.03217C8.95388 8.30383 8.9162 8.40455 8.89101 8.45399C8.79514 8.64216 8.64216 8.79514 8.45399 8.89101C8.40455 8.9162 8.30383 8.95388 8.03217 8.97608C7.74883 8.99923 7.37656 9 6.8 9H6.2C5.62345 9 5.25118 8.99923 4.96784 8.97608C4.69618 8.95388 4.59546 8.9162 4.54601 8.89101C4.35785 8.79514 4.20487 8.64216 4.109 8.45399C4.0838 8.40455 4.04613 8.30383 4.02393 8.03217C4.00078 7.74883 4 7.37656 4 6.8V6.2C4 5.62345 4.00078 5.25118 4.02393 4.96784C4.04613 4.69618 4.0838 4.59546 4.109 4.54601C4.20487 4.35785 4.35785 4.20487 4.54601 4.109Z",fill:"currentColor"}),(0,E.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17.8385 2H17.1615C16.6343 1.99998 16.1795 1.99997 15.805 2.03057C15.4096 2.06287 15.0164 2.13419 14.638 2.32698C14.0735 2.6146 13.6146 3.07354 13.327 3.63803C13.1342 4.01641 13.0629 4.40963 13.0306 4.80497C13 5.17955 13 5.63431 13 6.16146V6.83855C13 7.36569 
113 7.82046 13.0306 8.19503C13.0629 8.59038 13.1342 8.98359 13.327 9.36197C13.6146 9.92646 14.0735 10.3854 14.638 10.673C15.0164 10.8658 15.4096 10.9371 15.805 10.9694C16.1796 11 16.6343 11 17.1615 11H17.8385C18.3657 11 18.8205 11 19.195 10.9694C19.5904 10.9371 19.9836 10.8658 20.362 10.673C20.9265 10.3854 21.3854 9.92646 21.673 9.36197C21.8658 8.98359 21.9371 8.59038 21.9694 8.19503C22 7.82049 22 7.36578 22 6.83869V6.16148C22 5.63439 22 5.17951 21.9694 4.80497C21.9371 4.40963 21.8658 4.01641 21.673 3.63803C21.3854 3.07354 20.9265 2.6146 20.362 2.32698C19.9836 2.13419 19.5904 2.06287 19.195 2.03057C18.8205 1.99997 18.3657 1.99998 17.8385 2ZM15.546 4.109C15.5955 4.0838 15.6962 4.04613 15.9678 4.02393C16.2512 4.00078 16.6234 4 17.2 4H17.8C18.3766 4 18.7488 4.00078 19.0322 4.02393C19.3038 4.04613 19.4045 4.0838 19.454 4.109C19.6422 4.20487 19.7951 4.35785 19.891 4.54601C19.9162 4.59546 19.9539 4.69618 19.9761 4.96784C19.9992 5.25118 20 5.62345 20 6.2V6.8C20 7.37656 19.9992 7.74883 19.9761 8.03217C19.9539 8.30383 19.9162 8.40455 19.891 8.45399C19.7951 8.64216 19.6422 8.79514 19.454 8.89101C19.4045 8.9162 19.3038 8.95388 19.0322 8.97608C18.7488 8.99923 18.3766 9 17.8 9H17.2C16.6234 9 16.2512 8.99923 15.9678 8.97608C15.6962 8.95388 15.5955 8.9162 15.546 8.89101C15.3579 8.79514 15.2049 8.64216 15.109 8.45399C15.0838 8.40455 15.0461 8.30383 15.0239 8.03217C15.0008 7.74883 15 7.37656 15 6.8V6.2C15 5.62345 15.0008 5.25118 15.0239 4.96784C15.0461 4.69618 15.0838 4.59546 15.109 4.54601C15.2049 4.35785 15.3579 4.20487 15.546 4.109Z",fill:"currentColor"}),(0,E.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17.1615 13H17.8385C18.3657 13 18.8205 13 19.195 13.0306C19.5904 13.0629 19.9836 13.1342 20.362 13.327C20.9265 13.6146 21.3854 14.0735 21.673 14.638C21.8658 15.0164 21.9371 15.4096 21.9694 15.805C22 16.1795 22 16.6342 22 17.1613V17.8385C22 18.3656 22 18.8205 21.9694 19.195C21.9371 19.5904 21.8658 19.9836 21.673 20.362C21.3854 20.9265 20.9265 21.3854 20.362 21.673C19.9836 21.8658 19.5904 21.9371 19.195 21.9694C18.8205 22 18.3658 22 17.8387 22H17.1615C16.6344 22 16.1795 22 15.805 21.9694C15.4096 21.9371 15.0164 21.8658 14.638 21.673C14.0735 21.3854 13.6146 20.9265 13.327 20.362C13.1342 19.9836 13.0629 19.5904 13.0306 19.195C13 18.8205 13 18.3657 13 17.8385V17.1615C13 16.6343 13 16.1795 13.0306 15.805C13.0629 15.4096 13.1342 15.0164 13.327 14.638C13.6146 14.0735 14.0735 13.6146 14.638 13.327C15.0164 13.1342 15.4096 13.0629 15.805 13.0306C16.1795 13 16.6343 13 17.1615 13ZM15.9678 15.0239C15.6962 15.0461 15.5955 15.0838 15.546 15.109C15.3579 15.2049 15.2049 15.3579 15.109 15.546C15.0838 15.5955 15.0461 15.6962 15.0239 15.9678C15.0008 16.2512 15 16.6234 15 17.2V17.8C15 18.3766 15.0008 18.7488 15.0239 19.0322C15.0461 19.3038 15.0838 19.4045 15.109 19.454C15.2049 19.6422 15.3579 19.7951 15.546 19.891C15.5955 19.9162 15.6962 19.9539 15.9678 19.9761C16.2512 19.9992 16.6234 20 17.2 20H17.8C18.3766 20 18.7488 19.9992 19.0322 19.9761C19.3038 19.9539 19.4045 19.9162 19.454 19.891C19.6422 19.7951 19.7951 19.6422 19.891 19.454C19.9162 19.4045 19.9539 19.3038 19.9761 19.0322C19.9992 18.7488 20 18.3766 20 17.8V17.2C20 16.6234 19.9992 16.2512 19.9761 15.9678C19.9539 15.6962 19.9162 15.5955 19.891 15.546C19.7951 15.3579 19.6422 15.2049 19.454 15.109C19.4045 15.0838 19.3038 15.0461 19.0322 15.0239C18.7488 15.0008 18.3766 15 17.8 15H17.2C16.6234 15 16.2512 15.0008 15.9678 15.0239Z",fill:"currentColor"}),(0,E.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.83855 13H6.16146C5.63431 13 5.17955 13 4.80497 13.0306C4.40963 13.0629 4.01641 13.1342 3.63803 13.327C3.07354 13.6146 2.6146 14.0735 2.32698 14.638C2.13419 15.0164 2.06287 15.4096 2.03057 15.805C1.99997 16.1795 1.99998 16.6343 2 17.1614V17.8385C1.99998 18.3657 1.99997 18.8205 2.03057 19.195C2.06287 19.5904 2.13419 19.9836 2.32698 20.362C2.6146 20.9265 3.07354 21.3854 3.63803 21.673C4.01641 21.8658 4.40963 21.9371 4.80497 21.9694C5.17952 22 5.63425 22 6.16136 22H6.83852C7.36563 22 7.82048 22 8.19503 21.9694C8.59038 21.9371 8.98359 21.8658 9.36197 21.673C9.92646 21.3854 10.3854 20.9265 10.673 20.362C10.8658 
119.9836 10.9371 19.5904 10.9694 19.195C11 18.8205 11 18.3657 11 17.8385V17.1615C11 16.6343 11 16.1796 10.9694 15.805C10.9371 15.4096 10.8658 15.0164 10.673 14.638C10.3854 14.0735 9.92646 13.6146 9.36197 13.327C8.98359 13.1342 8.59038 13.0629 8.19503 13.0306C7.82046 13 7.3657 13 6.83855 13ZM4.54601 15.109C4.59546 15.0838 4.69618 15.0461 4.96784 15.0239C5.25118 15.0008 5.62345 15 6.2 15H6.8C7.37656 15 7.74883 15.0008 8.03217 15.0239C8.30383 15.0461 8.40455 15.0838 8.45399 15.109C8.64216 15.2049 8.79514 15.3579 8.89101 15.546C8.9162 15.5955 8.95388 15.6962 8.97608 15.9678C8.99923 16.2512 9 16.6234 9 17.2V17.8C9 18.3766 8.99923 18.7488 8.97608 19.0322C8.95388 19.3038 8.9162 19.4045 8.89101 19.454C8.79514 19.6422 8.64216 19.7951 8.45399 19.891C8.40455 19.9162 8.30383 19.9539 8.03217 19.9761C7.74883 19.9992 7.37656 20 6.8 20H6.2C5.62345 20 5.25118 19.9992 4.96784 19.9761C4.69618 19.9539 4.59546 19.9162 4.54601 19.891C4.35785 19.7951 4.20487 19.6422 4.109 19.454C4.0838 19.4045 4.04613 19.3038 4.02393 19.0322C4.00078 18.7488 4 18.3766 4 17.8V17.2C4 16.6234 4.00078 16.2512 4.02393 15.9678C4.04613 15.6962 4.0838 15.5955 4.109 15.546C4.20487 15.3579 4.35785 15.2049 4.54601 15.109Z",fill:"currentColor"})]})}}))}T.propTypes={size:_().number,t:_().func.isRequired},T.defaultProps={size:24};var R=(0,b.Z)(T),I=r(43942),P=r(46710),C=r(36188),w=(r(96928),r(61229),r(58188),r(73439),r(634),r(20796),r(15735),r(28673),r(6886),r(32501),r(35666),r(43105),r(18178),r(32707)),j=r(17394),N=r(52750),L=r(4361),D=r(43177),x=r(1726),M=r(97881),Z=(r(43450),r(34386)),U=(r(39529),r(31235),r(80768)),k=r(93039),F=r(26626),G=r(13741),B=(r(49228),r(93780)),z=r(46120),V=r(83368),H=r(95231),q=r(73540),W=r(90068),Y=r(52397),K={selectors:{notifications:function(e){return e.notifications.entries},unreadCount:function(e){return e.notifications.unreadCount},loading:function(e){return e.notifications.loading},filterGroup:function(e){return e.notifications.filterGroup}},actions:{clearNotifications:Y.L1,getUnreadCount:Y.k9,getNotifications:Y.TH,markNotificationsRead:Y.aK,markNotificationEntriesRead:Y._L,setNotificationsFilterGroup:Y.Dw}};function X(){return X=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},X.apply(this,arguments)}var $=40,J=(0,n.Z)("div",X({},{target:"e87dx2c0"},(0,L.t)("imgHeight","imgWidth")))((function(e){var t=e.imgHeight,r=e.imgWidth;return{overflow:"hidden",height:"".concat(t,"px"),width:"".concat(r,"px")}}),""),Q=(0,W.Z)(K)((function(e){var t,r,n=e.notification,o=e.isItemLink,i=e.disableLink;if(n.image){var a,c=null==n||null===(a=n.referredByItems)||void 0===a?void 0:a[0],u=(0,E.jsx)(J,{imgHeight:$,imgWidth:$,children:(0,E.jsx)(z.Z,{image:n.image,urlHelper:B.lV,alt:n.text,ampLayout:"fixed",ampWidth:$,ampHeight:$,ampStyle:{width:$,height:$},crop:!0})});return c?(0,E.jsx)(G.Z,{item:c,shownInList:!0,forceInternal:!0,children:u}):u}var s=null===(t=n.sectionLinks)||void 0===t?void 0:t.find(V.Zv),l=null==n||null===(r=n.referredByItems)||void 0===r?void 0:r[0];if(s){var f=(0,E.jsx)(H.Z,{name:s.title,width:$,height:$,image:s.image});return o&&l?i?f:(0,E.jsx)(G.Z,{item:l,shownInList:!0,forceInternal:!0,children:f}):i?f:(0,E.jsx)(q.Z,{section:U.Z.projection(s),children:f})}return(0,E.jsx)("span",{})})),ee=r(65976),te=r(56976),re=(0,n.Z)("time",{target:"eciivdt0"})({color:l.bo.tertiary},""),ne=(0,W.Z)(te.Z)((0,b.Z)((function(e){var t=e.notification,r=e.lang,n=e.t;return(0,E.jsx)(re,{children:ee.ZP.friendlyFormat(t.dateCreated,n,r)})}))),oe=r(68869),ie=r(83906);var ae=(0,n.Z)(G.Z,{target:"e1ta6bav3"})({name:"49aokf",styles:"display:contents"}),ce=(0,n.Z)("div",{target:"e1ta6bav2"})({display:"grid",gridTemplateRows:"1fr auto",gap:s.N.SMALL},""),ue=(0,n.Z)("div",{target:"e1ta6bav1"})({display:"grid",gridTemplateRows:"auto auto",justifyItems:"end",gap:s.N.SMALL,marginBottom:"auto"},""),se=(0,n.Z)(F.ZP,{target:"e1ta6bav0"})((0,N.hy)(F.xw.SECONDARY),{padding:"".concat(s.N.SMALL," ").concat(s.N.MEDIUM)},""),le=(0,W.Z)(oe.Z)((0,b.Z)((function(e){var t,r,n=e.notification,o=e.showModal,i=e.children,a=e.t,c=null==n||null===(t=n.referredByItems)||void 0===t?void 0:t[0],u=null===(r=n.sectionLinks)||void 0===r?void 0:r[0];if(!c||!u)return null;var s=function(){return o(ie.Z,{item:c,section:U.Z.projection(u),expandCommentsHeader:!0})};return(0,E.jsxs)(ae,{item:c,shownInList:!0,forceInternal:!0,children:[(0,E.jsxs)(ce,{onClick:s,children:[i,(0,E.jsx)(ne,{notification:n})]}),(0,E.jsxs)(ue,{onClick:s,children:[(0,E.jsx)(Q,{notification:n,shownInList:!0,disableLink:!0}),(0,E.jsx)(se,{tooltip:a("comment"),children:(0,k.Z)(a("reply"))})]})]})}))),fe=r(30001),pe=function(e){var t;return[fe.kZ.COMMENT,fe.kZ.COMMENT_MENTION,fe.kZ.COMMENT_SAME_POST,fe.kZ.COMMENT_BY_PEOPLE_YOU_FOLLOW].includes(e.notificationType)&&(null==e||null===(t=e.referredByItems)||void 0===t?void 0:t[0])?le:null},de=r(67502),me=(0,n.Z)("div",{target:"e15zyv6c1"})({display:"grid",gridTemplateRows:"1fr auto",gap:s.N.SMALL},""),ve=(0,n.Z)("div",{target:"e15zyv6c0"})({display:"grid",gridTemplateRows:"auto auto",justifyItems:"end",gap:s.N.SMALL,marginBottom:"auto"},""),he=(0,W.Z)()((0,b.Z)((function(e){var t,r=e.notification,n=e.children,o=e.t,i=null===(t=r.sectionLinks)||void 0===t?void 0:t[0];return(0,E.jsxs)(E.Fragment,{children:[(0,E.jsx)(me,{children:(0,E.jsxs)(q.Z,{section:i,openInNewWindow:!1,children:[n,(0,E.jsx)(ne,{notification:r})]})}),(0,E.jsxs)(ve,{children:[(0,E.jsx)(Q,{notification:r}),(0,E.jsx)(de.Z,{tooltip:o("comment"),section:i})]})]})}))),_e=function(e){var t;return fe.kZ.FOLLOW_YOU!==e.notificationType?null:(null===(t=e.sectionLinks)||void 0===t?void 0:t[0])?he:null},ye=function(e){var t,r=e.notification,n=e.children,o=null===(t=r.sectionLinks)||void 0===t?void 0:t[0];return(0,E.jsxs)(E.Fragment,{children:[(0,E.jsxs)(q.Z,{section:o,openInNewWindow:!1,children:[n,(0,E.jsx)(ne,{notification:r})]}),(0,E.jsx)(Q,{notification:r})]})},be=function(e){return function(t){var r;return t.notificationType!==e?null:(null===(r=t.sectionLinks)||void 0===r?void 0:r[0])?ye:null}},Ee=be(fe.kZ.FOLLOW),ge=be(fe.kZ.STATS),Oe=r(11826),Se=r(58123),Ae=function(e){var t=e.notification,r=e.children,n=(0,Oe.Jg)(t.author);return(0,E.jsxs)(E.Fragment,{children:[(0,E.jsxs)(Se.Z,{href:n,navFromEventName:m.f2.SECTION_ENTER,children:[r,(0,E.jsx)(ne,{notification:t})]}),(0,E.jsx)(Q,{notification:t})]})},Te=function(e){return fe.kZ.ACCEPTED_INVITE!==e.notificationType?null:Ae},Re=be(fe.kZ.MILESTONE),Ie=r(4609),Pe=(0,n.Z)("span",{target:"e1wzopne0"})((0,Ie.$)("100%",2),{marginTop:s.N.SMALL},""),Ce=function(e){var t,r=e.notification,n=e.children,o=e.showCaption,i=null==r||null===(t=r.referredByItems)||void 0===t?void 0:t[0];return(0,E.jsxs)(E.Fragment,{children:[(0,E.jsxs)(G.Z,{item:i,shownInList:!0,forceInternal:!0,children:[n,o&&(null==i?void 0:i.caption)&&(0,E.jsx)(Pe,{children:i.caption}),(0,E.jsx)(ne,{notification:r})]}),(0,E.jsx)(Q,{notification:r,isItemLink:!0})]})};function we(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function je(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Ne=function(e){return(0,E.jsx)(Ce,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
1t%2?we(Object(r),!0).forEach((function(t){je(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):we(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},e,{showCaption:!0}))},Le=function(e){return fe.kZ.ADDED_POST!==e.notificationType?null:Ne},De=(r(67890),function(e){return!Object.values(fe.kZ).includes(e.notificationType)}),xe=function(e){var t;return De(e)?null:(null==e||null===(t=e.referredByItems)||void 0===t?void 0:t[0])?Ce:null},Me=function(e){var t;return De(e)?null:(null===(t=e.sectionLinks)||void 0===t?void 0:t[0])?ye:null},Ze=(r(77950),r(74069),r(99445)),Ue=function(e){var t=e.match(/^flipboard:\/\/showSection\/([^?]+)\??.*$/);return null==t?void 0:t[1]},ke=function(e){var t=e.match(/^flipboard:\/\/showSection\/resolve%2Fflipboard%2Furl%252F([^?]+)\??.*$/);return null==t?void 0:t[1]},Fe=function(e){var t=e.notification,r=e.children,n=t.actionURL;if(!n)return null;var o=ke(n),i=Ue(n),a=o?"/article/".concat((0,Ze.Dp)(o)):"/section?id=".concat(i);return(0,E.jsxs)(E.Fragment,{children:[(0,E.jsxs)(Se.Z,{href:a,openInNewWindow:!0,children:[r,(0,E.jsx)(ne,{notification:t})]}),(0,E.jsx)(Se.Z,{href:a,openInNewWindow:!0,children:(0,E.jsx)(Q,{notification:t})})]})},Ge=function(e){if(De(e))return null;var t=null==e?void 0:e.actionURL;if(!t)return null;var r=ke(t),n=Ue(t);return r||n?Fe:null},Be=r(34688),ze=r(47741),Ve=[pe,Te,_e,Ee,ge,Re,Le,xe,Me,Ge,function(e){return ze.Z.captureException(new Be.oB("notificationType: ".concat(e.notificationType))),null}],He=(0,Z.Z)(Ve),qe=r(74343),We=r(33901);var Ye=(0,n.Z)(qe.Z,{target:"e15poos73"})({display:"grid",color:l.DM.red,fontSize:"24px",alignContent:"center",height:"".concat(40,"px")},""),Ke=(0,n.Z)("div",{target:"e15poos72"})({display:"grid",width:"100%",gap:s.N.BASE,gridTemplateColumns:"auto minmax(1px, 1fr) auto",overflowWrap:"break-word"},""),Xe=(0,n.Z)("li",{target:"e15poos71"})(f.Hb.SMALL_STANDARD,{color:l.bo.primary,display:"grid",gridTemplateColumns:"16px 1fr",gap:s.N.SMALL,alignItems:"start",justifyItems:"center"},""),$e=(0,n.Z)("div",{target:"e15poos70"})({name:"f1jocm",styles:"display:grid;overflow-wrap:anywhere"}),Je=function(e){var t=e.notification,r=He(t);return r?(0,E.jsxs)(Xe,{children:[t.read?(0,E.jsx)("span",{}):(0,E.jsx)(Ye,{}),(0,E.jsxs)(Ke,{children:[(0,E.jsx)(Se.Z,{href:(0,Oe.M_)(t.author),children:(0,E.jsx)(We.Z,{avatarSize:40,author:t.author})}),(0,E.jsx)(r,{notification:t,children:(0,E.jsx)($e,{children:t.text})})]})]},t.id):null},Qe=(0,n.Z)("div",{target:"e1sujyac1"})({paddingRight:s.N.LARGE},""),et=(0,n.Z)("ul",{target:"e1sujyac0"})({display:"grid",gap:s.N.MEDIUM},""),tt=(0,W.Z)(K)((function(e){var t=e.notifications;return(0,E.jsx)(Qe,{children:(0,E.jsx)(et,{children:t.map((function(e){return(0,E.jsx)(Je,{notification:e},e.id)}))})})})),rt=r(60986);function nt(e){return nt="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},nt(e)}function ot(e,t,r,n,o,i,a){try{var c=e[i](a),u=c.value}catch(e){return void r(e)}c.done?t(u):Promise.resolve(u).then(n,o)}function it(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function at(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function ct(e,t){return ct=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},ct(e,t)}function ut(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 r,n=ft(e);if(t){var o=ft(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return st(this,r)}}function st(e,t){return!t||"object"!==nt(t)&&"function"!=typeof t?lt(e):t}function lt(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ft(e){return ft=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},ft(e)}function pt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function dt(){return dt=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];
1for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},dt.apply(this,arguments)}var mt=(0,n.Z)("div",{target:"e5x1cmf6"})({zIndex:w.k0.MODAL,position:"fixed",top:0,left:0,right:0,bottom:0},""),vt=(0,n.Z)("div",{target:"e5x1cmf5"})({background:l.EU.primary,position:"sticky",width:"100%",marginRight:"auto",padding:s.N.LARGE,top:0,zIndex:1},""),ht=(0,n.Z)("div",{target:"e5x1cmf4"})({position:"fixed",top:w.L6.MAIN_NAV_HEIGHT,right:0,width:"400px",height:"67vh",overflow:"auto",background:l.EU.primary,gap:s.N.LARGE,boxShadow:"var(--shadow--elevation-2)",borderRadius:"0 0 0 3px"},(0,N.hy)(j.j.phone({width:"100%",height:"calc(100% - ".concat(w.L6.MAIN_NAV_HEIGHT,")"),paddingBottom:s.N.BASE4X})),""),_t=(0,n.Z)(C.Z,{target:"e5x1cmf3"})({position:"absolute",right:s.N.LARGE,top:s.N.LARGE,zIndex:100},""),yt=(0,n.Z)("h1",{target:"e5x1cmf2"})(f.$C.LARGE,{display:"grid",gridTemplateColumns:"auto 1fr",".loading-spinner":{height:s.N.XLARGE}},""),bt=(0,n.Z)("div",{target:"e5x1cmf1"})(f.Hb.XSMALL_STANDARD,{display:"grid",gridTemplateColumns:"auto auto",gap:s.N.BASE,marginTop:s.N.XLARGE,marginRight:"auto",marginBottom:"auto",width:"fit-content"},""),Et=(0,n.Z)(C.Z,dt({},{target:"e5x1cmf0"},(0,L.t)("selected")))((function(e){var t=e.selected;return f.Hb.XSMALL_STANDARD,{backgroundColor:t?l.DM.red:l.EU.primary,color:t?l.bo.overlay:l.DM.red,border:"2px solid ".concat(l.DM.red),borderRadius:s.N.LARGE,height:s.N.BASE4X,width:s.N.BASE10X}}),""),gt=function(e){!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&&ct(e,t)}(c,e);var t,r,n,o,i,a=ut(c);function c(){var e;it(this,c);for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return pt(lt(e=a.call.apply(a,[this].concat(r))),"handleClickFilterButton",(function(t){var r=e.props,n=r.handleSetFilterGroup;n(r.filterGroup===t?null:t)})),e}return t=c,r=[{key:"componentDidMount",value:(o=regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.props.getNotifications();case 2:this.props.markNotificationsRead();case 3:case"end":return e.stop()}}),e,this)})),i=function(){var e=this,t=arguments;return new Promise((function(r,n){var i=o.apply(e,t);function a(e){ot(i,r,n,a,c,"next",e)}function c(e){ot(i,r,n,a,c,"throw",e)}a(void 0)}))},function(){return i.apply(this,arguments)})},{key:"componentWillUnmount",value:function(){this.props.markNotificationsRead(),this.props.markNotificationEntriesRead()}},{key:"render",value:function(){var e=this,t=this.props,r=t.filterGroup,n=t.dismissSpecificModal,o=t.loading,i=t.loadNextPage,a=t.isLargeScreen,c=t.t;return(0,E.jsx)(mt,{onClick:function(){return n(Ot)},children:(0,E.jsxs)(ht,{onClick:function(e){a&&e.stopPropagation()},children:[(0,E.jsxs)(vt,{children:[(0,E.jsx)(_t,{name:"download-app-banner-close",onClick:function(){return e.props.dismissSpecificModal(Ot)},children:(0,E.jsx)(M.Z,{size:24})}),(0,E.jsxs)(yt,{children:[c("notifications")," ",o&&(0,E.jsx)(x.Z,{})]}),(0,E.jsxs)(bt,{children:[(0,E.jsx)(Et,{name:"filter_notifications_social",onClick:function(){return e.handleClickFilterButton(fe.t7.SOCIAL)},selected:r===fe.t7.SOCIAL,children:"Social"}),(0,E.jsx)(Et,{name:"filter_notifications_content",onClick:function(){return e.handleClickFilterButton(fe.t7.CONTENT)},selected:r===fe.t7.CONTENT,children:"Content"})]})]}),(0,E.jsx)(tt,{}),(0,E.jsx)(D.Z,{bufferBottom:600,children:function(e){e&&!o&&i()}})]})})}}],r&&at(t.prototype,r),n&&at(t,n),c}(o.Component),Ot=(0,W.Z)(oe.Z,K,rt.Z)((0,b.Z)(gt)),St=Ot;function At(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Tt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Rt(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var It=(0,n.Z)(y.Z,{target:"ejh97hx0"})((function(e){return{color:e.color||l.MN.emphasis,fill:"currentColor"}}),"");function Pt(e){var t=e.size,r=e.t,n=Rt(e,["size","t"]);return(0,E.jsx)(It,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
1t%2?At(Object(r),!0).forEach((function(t){Tt(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):At(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({name:r("notifications"),width:t,height:t,viewBox:"0 0 24 24"},n,{renderComponent:function(){return(0,E.jsxs)(E.Fragment,{children:[(0,E.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.0001 1C10.1436 1 8.36309 1.7375 7.05033 3.05025C5.73758 4.36301 5.00008 6.14348 5.00008 8C5.00008 11.3527 4.28301 13.4346 3.62218 14.6461C3.29039 15.2544 2.9673 15.6535 2.74288 15.8904C2.6304 16.0091 2.54202 16.0878 2.4888 16.1322C2.46218 16.1544 2.44432 16.168 2.43663 16.1737L2.43377 16.1758C2.07528 16.4221 1.91664 16.8725 2.04299 17.2898C2.17068 17.7115 2.55941 18 3.00008 18H21.0001C21.4407 18 21.8295 17.7115 21.9572 17.2898C22.0835 16.8725 21.9249 16.4221 21.5664 16.1758L21.5635 16.1737C21.5558 16.168 21.538 16.1544 21.5114 16.1322C21.4581 16.0878 21.3698 16.0091 21.2573 15.8904C21.0329 15.6535 20.7098 15.2544 20.378 14.6461C19.7171 13.4346 19.0001 11.3527 19.0001 8C19.0001 6.14349 18.2626 4.36301 16.9498 3.05025C15.6371 1.7375 13.8566 1 12.0001 1ZM18.8508 16H5.1494C5.22549 15.8753 5.30188 15.7434 5.37797 15.6039C6.21715 14.0654 7.00008 11.6473 7.00008 8C7.00008 6.67392 7.52686 5.40215 8.46454 4.46447C9.40223 3.52678 10.674 3 12.0001 3C13.3262 3 14.5979 3.52678 15.5356 4.46447C16.4733 5.40215 17.0001 6.67392 17.0001 8C17.0001 11.6473 17.783 14.0654 18.6222 15.6039C18.6983 15.7434 18.7747 15.8753 18.8508 16Z",fill:"currentColor"}),(0,E.jsx)("path",{d:"M11.1347 20.4981C10.8576 20.0204 10.2457 19.8578 9.76792 20.1349C9.2902 20.412 9.12758 21.024 9.4047 21.5017C9.66841 21.9563 10.0469 22.3337 10.5024 22.596C10.9578 22.8583 11.4741 22.9964 11.9997 22.9964C12.5253 22.9964 13.0416 22.8583 13.497 22.596C13.9525 22.3337 14.331 21.9563 14.5947 21.5017C14.8718 21.024 14.7092 20.412 14.2315 20.1349C13.7537 19.8578 13.1418 20.0204 12.8647 20.4981C12.7768 20.6497 12.6506 20.7755 12.4988 20.8629C12.347 20.9504 12.1749 20.9964 11.9997 20.9964C11.8245 20.9964 11.6524 20.9504 11.5006 20.8629C11.3488 20.7755 11.2226 20.6497 11.1347 20.4981Z",fill:"currentColor"})]})}}))}Pt.propTypes={size:_().number,t:_().func.isRequired},Pt.defaultProps={size:24};var Ct=(0,b.Z)(Pt),wt=r(7799),jt=(r(77690),r(88164));function Nt(e){return Nt="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},Nt(e)}function Lt(e,t,r,n,o,i,a){try{var c=e[i](a),u=c.value}catch(e){return void r(e)}c.done?t(u):Promise.resolve(u).then(n,o)}function Dt(e){return function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(e){Lt(i,n,o,a,c,"next",e)}function c(e){Lt(i,n,o,a,c,"throw",e)}a(void 0)}))}}function xt(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Mt(e,t){return Mt=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},Mt(e,t)}function Zt(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 r,n=Ft(e);if(t){var o=Ft(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return Ut(this,r)}}function Ut(e,t){return!t||"object"!==Nt(t)&&"function"!=typeof t?kt(e):t}function kt(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ft(e){return Ft=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},Ft(e)}function Gt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Bt=(0,n.Z)(C.Z,{target:"e1ep8s3m2"})({position:"relative",padding:s.N.SMALL},""),zt=(0,n.Z)("div",{target:"e1ep8s3m1"})({position:"absolute",top:0,right:0,display:"flex",justifyContent:"center",alignContent:"center",background:"red",width:s.N.LARGE,height:s.N.LARGE,borderRadius:"50%"},""),Vt=(0,n.Z)("span",{target:"e1ep8s3m0"})(f.Hb.XSMALL_EMPHASIS,{fontSize:"9px",color:l.bo.overlay,alignSelf:"center"},""),Ht=3e4,qt=function(e){!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&&Mt(e,t)}(i,e);var t,r,n,o=Zt(i);function i(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),Gt(kt(t=o.call(this,e)),"state",{checkedUnreadCountAt:new Date,lastUserActivityAt:new Date,updateIntervalMultiplier:1,backgrounded:!1}
1),Gt(kt(t),"timer",-1),Gt(kt(t),"debouncedHandleUserInteraction",void 0),Gt(kt(t),"movementEvents",(function(e){["focus","scroll","mousemove","click"].forEach((function(r){return e(r,t.debouncedHandleUserInteraction)}))})),Gt(kt(t),"update",Dt(regeneratorRuntime.mark((function e(){var r,n,o,i,a,c,u,s,l=arguments;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r=l.length>0&&void 0!==l[0]?l[0]:{force:!1},n=r.force,!t.state.backgrounded){e.next=5;break}return e.abrupt("return");case 5:return(0,wt.Z)().clearTimeout(t.timer),o=t.props,i=o.filterGroup,a=o.getUnreadCount,c=o.isModalShown,u=o.getNotifications,e.next=10,a();case 10:s=e.sent,(n||c(St)&&s>0)&&u(i),t.setState({updateIntervalMultiplier:2*t.state.updateIntervalMultiplier,checkedUnreadCountAt:new Date},(function(){t.state.updateIntervalMultiplier,t.state.updateIntervalMultiplier,t.timer=(0,wt.Z)().setTimeout(t.update,Ht*t.state.updateIntervalMultiplier)}));case 13:case"end":return e.stop()}}),e)})))),Gt(kt(t),"handleWindowBlur",(function(){t.setState({backgrounded:!0})})),Gt(kt(t),"handleUserInteraction",Dt(regeneratorRuntime.mark((function e(){var r,n,o,i,a;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t.setState({backgrounded:!1}),r=t.state,n=r.lastUserActivityAt,o=r.checkedUnreadCountAt,i=new Date,a=i.getTime()-o.getTime(),!(i.getTime()-n.getTime()<5e3)){e.next=7;break}return e.abrupt("return");case 7:t.setState({lastUserActivityAt:i},(function(){a>Ht?t.setState({updateIntervalMultiplier:1},t.update):t.setState({updateIntervalMultiplier:1})}));case 8:case"end":return e.stop()}}),e)})))),Gt(kt(t),"handleSetFilterGroup",(function(e){var r=t.props,n=r.filterGroup,o=r.clearNotifications;(0,r.setNotificationsFilterGroup)(e===n?null:e),o()})),Gt(kt(t),"loadNextPage",(function(){var e=t.props.filterGroup,r=t.props.notifications.slice(-1)[0];r&&t.props.getNotifications(e,r.id)})),t.debouncedHandleUserInteraction=jt.Z.create(t.handleUserInteraction,250),t}return t=i,(r=[{key:"componentDidMount",value:function(){this.update(),window.addEventListener("blur",this.handleWindowBlur),this.movementEvents((0,wt.Z)().addEventListener)}},{key:"componentDidUpdate",value:function(e){e.filterGroup!==this.props.filterGroup&&this.update({force:!0})}},{key:"componentWillUnmount",value:function(){window.removeEventListener("blur",this.handleWindowBlur),this.movementEvents((0,wt.Z)().removeEventListener)}},{key:"render",value:function(){var e=this,t=this.props,r=t.unreadCount,n=t.isModalShown,o=t.dismissSpecificModal,i=t.showModal,a=r>0,c=r>9?"9+":r;return(0,E.jsxs)(Bt,{onClick:function(){if(n(St))return o(St);i(St,{handleSetFilterGroup:e.handleSetFilterGroup,loadNextPage:e.loadNextPage})},name:"notifications",children:[(0,E.jsx)(Ct,{}),a&&(0,E.jsx)(zt,{children:(0,E.jsx)(Vt,{children:c})})]})}}])&&xt(t.prototype,r),n&&xt(t,n),i}(o.Component),Wt=(0,W.Z)(oe.Z,K)(qt),Yt=r(75007),Kt=r(3130),Xt=r(39764),$t=r(78956),Jt=r(25430),Qt=r(48054),er=r(87411),tr=r(19654);function rr(e){return rr="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},rr(e)}function nr(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function or(e,t){return or=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},or(e,t)}function ir(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 r,n=ur(e);if(t){var o=ur(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return ar(this,r)}}function ar(e,t){return!t||"object"!==rr(t)&&"function"!=typeof t?cr(e):t}function cr(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ur(e){return ur=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},ur(e)}var sr="storyboard-access",lr=function(e){!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&&or(e,t)}(a,e);var t,r,n,i=ir(a);function a(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),(t=i.call(this,e)).state={isStoryboardEduVisible:!1},t.handleDismiss=t.handleDismiss.bind(cr(t)),t.shouldDisplayHint=t.shouldDisplayHint.bind(cr(t)),t.avatarElement=o.createRef(),t}return t=a,(r=[{key:"componentDidMount",value:function(){this.shouldDisplayHint()&&this.setState({isStoryboardEduVisible:!0})}},{key:"componentDidUpdate",value:function(e){!e.profileMetrics&&this.props.profileMetrics&&this.shouldDisplayHint()&&this.setState({isStoryboardEduVisible:!0})}},{key:"shouldDisplayHint",value:function(){var e=this.props,t=e.profileMetrics;if(!e.featureFlags.INTERNAL_PACKAGE_MANAGEMENT)return!1;if($t.Z.hasDismissed(sr))return!1;var r=t&&t.find((function(e){return"packageCount"===e.type}));return!(!r||r.raw>0)}},{key:"handleDismiss",value:function(){this.setState({isStoryboardEduVisible:!1},(function(){return $t.Z.dismissEdu(sr)}))}},{key:"render",value:function(){var e=this.props,t=e.profileSection,r=e.onProfileMenuClick,n=e.usageTrackCuratorProVerifiedAccountAccessNavBarEdu,i=e.t;return(0,E.jsx)(o.Fragment,{children:(0,E.jsxs)("div",{className:"navigation-profile-avatar__wrapper",ref:this.avatarElement,children:[(0,E.jsx)(C.Z,{name:"navbar-profile",onClick:r,className:"media-link",stopPropagation:!1,children:t?(0,E.jsx)(We.Z,{author:t,imageClass:"main-nav__avatar"}):(0,E.jsx)(Jt.Z,{})}
1),this.state.isStoryboardEduVisible&&(0,E.jsx)(Qt.Z,{targetRef:this.avatarElement,fixed:!0,onMount:n,positionX:er.A0.RIGHT,positionY:er.fp.BELOW,onDismiss:this.handleDismiss,children:i("edu_hint_storyboard_access")})]})})}}])&&nr(t.prototype,r),n&&nr(t,n),a}(o.Component);lr.propTypes={profileSection:a().object,profileMetrics:a().array,onProfileMenuClick:a().func.isRequired,featureFlags:a().object.isRequired,usageTrackCuratorProVerifiedAccountAccessNavBarEdu:a().func.isRequired,t:a().func.isRequired},lr.defaultProps={profileSection:null,profileMetrics:null};var fr=(0,W.Z)(tr.Z)((0,b.Z)(lr)),pr=r(21681),dr=(0,W.Z)({selectors:{profileMetrics:function(e){var t=e.profile;return t.stats&&t.stats.profileMetrics}},actions:{usageTrackCuratorProVerifiedAccountAccessNavBarEdu:pr.U}})(fr),mr=r(8225),vr=r(65434);function hr(e){return hr="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},hr(e)}function _r(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function yr(e,t){return yr=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},yr(e,t)}function br(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 r,n=Or(e);if(t){var o=Or(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return Er(this,r)}}function Er(e,t){return!t||"object"!==hr(t)&&"function"!=typeof t?gr(e):t}function gr(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Or(e){return Or=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},Or(e)}var Sr=function(e){!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&&yr(e,t)}(a,e);var t,r,n,i=br(a);function a(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),(t=i.call(this,e)).state={isMenuOpen:!1},t.handleClickProfileMenu=t.handleClickProfileMenu.bind(gr(t)),t.handleClickDownloadApp=t.handleClickDownloadApp.bind(gr(t)),t}return t=a,(r=[{key:"handleClickProfileMenu",value:function(){this.setState({isMenuOpen:!this.state.isMenuOpen})}},{key:"handleClickDownloadApp",value:function(){var e=this.props,t=e.usageSetNavFrom,r=e.refreshBanners;t(m.f2.BANNER_ENTER,m.rf.NAV_BAR),(0,Kt.vb)(Kt.m1.DOWNLOAD_APP),r(),this.handleClickProfileMenu()}},{key:"render",value:function(){var e=this,t=this.props,r=t.profileSection,n=t.appThemeOverride,i=t.setAppThemeOverride,a=t.t;return(0,E.jsxs)(o.Fragment,{children:[(0,E.jsx)(dr,{profileSection:r,onProfileMenuClick:this.handleClickProfileMenu}),this.state.isMenuOpen&&[(0,E.jsxs)("ul",{className:"profile-dropdown main-nav__dropdown",children:[(0,E.jsx)("li",{className:"profile-dropdown__item",children:(0,E.jsx)(Se.Z,{name:"main-nav-profile",href:"/profile",className:"profile-dropdown__link",navFromEventName:m.f2.SECTION_ENTER,children:(0,k.Z)(a("profile"))})}),(0,E.jsx)("li",{className:"profile-dropdown__item",children:(0,E.jsx)(Se.Z,{name:"main-nav-analytics",href:"/analytics",className:"profile-dropdown__link",navFromEventName:m.f2.ANALYTICS_ENTER,children:(0,k.Z)(a("analytics"))})}),(0,E.jsx)("li",{className:"profile-dropdown__item",children:(0,E.jsx)(Se.Z,{name:"main-nav-settings",href:"/settings",className:"profile-dropdown__link",children:(0,k.Z)(a("settings"))})}),(0,E.jsx)("li",{className:"profile-dropdown__item",children:(0,E.jsxs)(Se.Z,{name:"profile-dropdown-toggle-theme",className:"profile-dropdown__link",onClick:function(t){t.preventDefault(),function(e,t){var r=e===fe.SJ.DARK?fe.SJ.DEFAULT:fe.SJ.DARK;t(r),(0,wt.Z)().localStorage.setItem("appThemeOverride",r)}(n,i),e.handleClickProfileMenu()},children:[n===fe.SJ.DARK&&(0,E.jsx)(Xt.Z,{className:"profile-dropdown__link-icon",color:"#E12828"}),(0,k.Z)(a("dark_mode"))]})}),(0,E.jsx)("li",{className:"profile-dropdown__item",children:(0,E.jsx)(Se.Z,{name:"main-nav-privacy-policy",href:"".concat(Yt.Z.ABOUT_BASE_URL,"/privacy/"),className:"profile-dropdown__link",onClick:this.handleClickProfileMenu,openInNewWindow:!0,children:(0,k.Z)(a("privacy_policy"))})}),(0,E.jsx)("li",{className:"profile-dropdown__item",children:(0,E.jsx)(Se.Z,{name:"data-protection-settings",href:"/donotsellmyinfo",className:"profile-dropdown__link",children:a("privacy_settings_title")})}),(0,Kt.Zk)(Kt.m1.DOWNLOAD_APP)&&(0,E.jsx)("li",{className:"profile-dropdown__item",children:(0,E.jsx)(C.Z,{name:"main-nav-download-app",className:"profile-dropdown__link",onClick:this.handleClickDownloadApp,children:(0,k.Z)(a("download_app"))})}),(0,E.jsx)("li",{className:"profile-dropdown__item",children:(0,E.jsx)(Se.Z,{name:"main-help",href:"".concat(Yt.Z.ABOUT_BASE_URL,"/help-center/"),className:"profile-dropdown__link",children:(0,k.Z)(a("help"))})}),(0,E.jsx)("li",{className:"profile-dropdown__item",children:(0,E.jsx)(Se.Z,{name:"main-nav-logout",href:"/logout",className:"profile-dropdown__link",children:(0,k.Z)(a("log_out"))})})]},"profile-dropdown"),(0,E.jsx)("div",{className:"offclick",onClick:this.handleClickProfileMenu},"offclick")]]})}}])&&_r(t.prototype,r),n&&_r(t,n),a}(o.Component);Sr.propTypes={profileSection:a().object,setAppThemeOverride:a().func,appThemeOverride:a().string,usageSetNavFrom:a().func.isRequired,t:a().func.isRequired,refreshBanners:a().func.isRequired},Sr.defaultProps={profileSection:null};var Ar=(0,W.Z)(mr.Z,vr.Z)((0,b.Z)(Sr)),Tr=r(14175),Rr=r(32079),Ir=r(67229),Pr=(0,p.Z)("FlipComposeModal"),Cr=(0,n.Z)(C.Z,{target:"e1y6us0y1"})(f.Hb.XSMALL_EMPHASIS,{textTransform:"uppercase",".button--unstyled__children":{display:"flex",gap:s.N.SMALL,color:l.bo.tertiary}},""),wr=(0,n.Z)(Se.Z,{target:"e1y6us0y0"})({display:"flex",gap:s.N.SMALL,color:l.bo.tertiary},"");function jr(e){var t=e.profileSection,r=e.showModal,n=e.navFrom,o=e.profile,i=e.setAppThemeOverride,a=e.refreshBanners,c=e.usageSetNavFrom,s=e.usageTrackTapFlip,l=e.hasFlipModeFeature,f=e.setFlipModeEnabled,p=e.isFlipModeEnabled,h=e.isLargeScreen,_=e.isPhone,y=e.featureFlags,b=e.t;return(0,E.jsxs)(v.nN.Provider,{value:m.rf.NAV_BAR,children:[(0,E.jsx)("li",{children:(0,E.jsxs)(Cr,{name:"navbar-flip-compose",onClick:function(){d.Z.trackClickButton("flip compose - open"),c(m.f2.TAP_FLIP,n),s(o),r(Pr,{navFrom:n})},stopPropagation:!1,children:[(0,E.jsx)(I.Z,{size:22,toolTip:b("flip_compose")}),!_&&(0,E.jsx)("span",{children:b("create_a_flip")})]})}),l&&h&&(0,E.jsx)("li",{children:(0,E.jsx)(Cr,{name:"navbar-flip-mode",onClick:function(){f(!p)},className:u()({"social-actions__button--flip-mode":p}),children:(0,E.jsx)(P.Z,{})})}),(0,E.jsx)("li",{children:(0,E.jsx)(wr,{href:"/following",navFromEventName:m.f2.TOC_ENTER,children:(0,E.jsx)(R,{})})}),y.NOTIFICATIONS&&(0,E.jsx)("li",{children:(0,E.jsx)(Wt,{})}),(0,E.jsx)("li",{children:(0,E.jsx)(Ar,{profileSection:t,setAppThemeOverride:i,refreshBanners:a})})]})}jr.propTypes={profileSection:a().object,showModal:a().func.isRequired,navFrom:a().string,profile:a().object,setAppThemeOverride:a().func.isRequired,refreshBanners:a().func.isRequired,usageSetNavFrom:a().func.isRequired,usageTrackTapFlip:a().func.isRequired,t:a().func.isRequired,hasFlipModeFeature:a().bool.isRequired,isFlipModeEnabled:a().bool.isRequired,setFlipModeEnabled:a().func.isRequired,isLargeScreen:a().bool.isRequired,isPhone:a().bool.isRequired,featureFlags:a().shape({NOTIFICATIONS:a().bool.isRequired}).isRequired},jr.defaultProps={profileSection:null,navFrom:null,profile:null};var Nr=(0,W.Z)(vr.Z,oe.Z,mr.Z,Rr.Z,Ir.Z,rt.Z,tr.Z)((0,b.Z)((0,Tr.Z)(jr)))},57533:function(e,t,r){"use strict";r.d(t,{Rw:function(){return L},Rp:function(){return C},ZP:function(){return M}});r(43105),r(34769),r(34115),r(68625),r(1939),r(62775),r(634),r(58188),r(20796),r(15735),r(28673),r(6886),r(27233),r(32501),r(26936);var n=r(12167),o=(r(18178),r(49228),r(95342),r(43450),r(2784),r(17394)),i=r(49372),a=r(5109),c=r(52750),u=r(4609),s=r(4361),l=r(83565),f=r(80768),p=r(30001),d=r(63067),m=(r(67890),r(45697)),v=r.n(m),h=r(72779),_=r.n(h),y=r(3596),b=r(52322);function E(e){var t=e.section,r=e.isSelected,n=e.onClick,o=e.size,i=n?function(){return n(t,r)}:void 0,a=_()("pill__section-prefix",{"pill__section-prefix--selected":r});return(0,b.jsxs)(y.Z,{isSelected:r,onClick:i,size:o,children:[t.isProfile&&(0,b.jsx)("span",{className:a,children:"Profile: "}),t.isMagazine&&(0,b.jsx)("span",{className:a,children:"Magazine: "}),(0,b.jsx)("span",{children:t.title})]})}E.propTypes={section:v().object.isRequired,isSelected:v().bool,onClick:v().func,size:v().oneOf(Object.values(p.n8))},E.defaultProps={isSelected:!1,size:p.n8.SMALL};var g=E,O=r(90068),S=r(37757);function A(e){return function(e){if(Array.isArray(e))return T(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return T(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return T(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function T(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function R(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function I(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function P(){return P=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];
1for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},P.apply(this,arguments)}var C=(0,n.Z)("div",{target:"e1u6c9iv6"})({padding:"".concat(i.N.BASE8X," ").concat(i.N.BASE8X," 0 ").concat(i.N.BASE8X)},(0,c.hy)(o.j.phone({padding:"".concat(i.N.XLARGE," ").concat(i.N.XLARGE," 0 ").concat(i.N.XLARGE)})),""),w=(0,n.Z)("h1",{target:"e1u6c9iv5"})(a.TK.PAGE_TITLE,{marginBottom:i.N.BASE},""),j=(0,n.Z)("h2",{target:"e1u6c9iv4"})(a.TK.BODY,""),N=(0,n.Z)("li",{target:"e1u6c9iv3"})({name:"1u4hpl4",styles:"display:inline"}),L=(0,n.Z)("div",{target:"e1u6c9iv2"})({margin:"".concat(i.N.BASE6X," ").concat(i.N.BASE6X," 0 ").concat(i.N.BASE6X)},(0,c.hy)(o.j.phone({margin:"".concat(i.N.BASE," ").concat(i.N.BASE," 0 ").concat(i.N.BASE)})),""),D=(0,n.Z)("ul",P({},{target:"e1u6c9iv1"},(0,s.t)("truncateLines")))((function(e){var t=e.truncateLines;if(t)return function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?R(Object(r),!0).forEach((function(t){I(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):R(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({height:"100%"},(0,u.$)("98%",t))}),{".pill":{marginBottom:i.N.LARGE}},""),x=(0,n.Z)("span",{target:"e1u6c9iv0"})({display:"inline-block",width:i.N.LARGE},""),M=(0,O.Z)()((0,S.Z)((function(e){var t=e.titleText,r=e.subTitleText,n=e.pickerSections,o=e.selectedSections,i=e.setSelectedSections,a=e.truncateLines,c=function(e){return o&&(f.Z.sectionsIncludesSection(o,e)||!!o.find((function(t){return l.Z.isEqual(t,e)})))},u=function(e){c(e)?i(o.filter((function(t){return!f.Z.mightBeSameSection(t,e)&&!l.Z.isEqual(t,e)}))):i([].concat(A(o),[e]))},s=function(e){var t=null;return f.Z.isTopic(e)&&(t=function(e){return(0,b.jsx)(d.Z,{topic:e,isSelected:c(e),onClick:u,size:p.n8.LARGE},e.remoteid)}(e)),(e.isMagazine||e.isProfile)&&(t=(0,b.jsx)(g,{section:e,isSelected:c(e),onClick:u,size:p.n8.LARGE},e.remoteid)),t?(0,b.jsxs)(N,{children:[t,(0,b.jsx)(x,{})]},e.remoteid):null};return(0,b.jsxs)(b.Fragment,{children:[(0,b.jsxs)(C,{className:"modal__header",children:[(0,b.jsx)(w,{children:t}),r&&(0,b.jsx)(j,{children:r})]}),n&&(0,b.jsx)(L,{className:"modal__content",children:(0,b.jsx)(D,{truncateLines:a,children:n&&n.map((function(e){return s(e)}))})})]})})))},31075:function(e,t,r){"use strict";var n=r(12167),o=r(2784),i=r(45697),a=r.n(i),c=r(72779),u=r.n(c),s=r(32707),l=r(87135),f=r(90068),p=r(50666),d=r(67229),m=r(52322),v=(0,n.Z)("main",{target:"erqhuse0"})((function(e){return{padding:e.isFlipModeEnabled?"".concat(s.L6.MAIN_NAV_PLUS_FLIP_MODE_HEIGHT," 0 0"):null}}),""),h=o.forwardRef((function(e,t){var r=e.children,n=e.className,o=e.enableFullscreen,i=e.enableFullWidth,a=e.isFlipModeEnabled,c=u()(n,{main:!o,"main--fullscreen":o,"centered-column":!i&&!o});return(0,m.jsx)("div",{className:"page",ref:t,children:(0,m.jsx)(v,{className:c,isFlipModeEnabled:a,children:r})})}));h.propTypes={className:a().string,children:a().node.isRequired,enableFullscreen:a().bool,enableFullWidth:a().bool,isFlipModeEnabled:a().bool.isRequired},h.defaultProps={enableFullscreen:!1,enableFullWidth:!1,hasBreadcrumbs:!1},t.Z=(0,f.Z)(p.Z,d.Z)((0,l.Z)(h))},74663:function(e,t,r){"use strict";r(34115),r(634),r(58188),r(20796),r(15735),r(28673),r(6886);var n=r(12167),o=(r(26936),r(18178),r(34769),r(8532),r(2784),r(45697)),i=r.n(o),a=r(72779),c=r.n(a),u=r(46120),s=r(18318),l=r(25430),f=r(37757),p=r(52322);function d(e){return d="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},d(e)}var m=(0,n.Z)(u.Z,{target:"el17drn0"})({name:"4se05m",styles:"display:block;object-fit:cover;border-radius:50%;border:0.75px solid rgba(0, 0, 0, 0.15)"});function v(e){var t=e.className,r=e.image,n=e.name,o=e.avatarSize,i=e.imageClass,a=e.t,u=(0,p.jsx)(l.Z,{avatarSize:o,imageClass:i});if(!r&&!n)return u;var f=n?"".concat(a("avatar")," - ").concat(n):a("avatar"),v=c()(t,i,{"author-avatar__image":!0});return"string"==typeof r||r&&"object"===d(r)&&Object.keys(r).length>0?(0,p.jsx)(m,{className:v,image:r,variant:s.yU.small,alt:f,ampLayout:"fixed",ampWidth:o,ampHeight:o,ampStyle:{width:o,height:o},size:o,fallbackElement:u}):u}v.propTypes={className:i().string,image:i().oneOfType([i().object,i().string]),name:i().string,avatarSize:i().number,imageClass:i().string,t:i().func.isRequired},v.defaultProps={imageUrl:null,name:null,avatarSize:35,imageClass:null},t.Z=(0,f.Z)(v)},86885:function(e,t,r){"use strict";r.d(t,{bl:function(){return Y},vK:function(){return W},ZP:function(){return $}});r(43105),r(34769),r(34115),r(95342),r(68625),r(1939),r(62775),r(634),r(58188),r(20796),r(15735),r(28673),r(6886),r(27233),r(32501),r(26936);var n=r(12167),o=(r(43450),r(2784),r(22749)),i=r(17394),a=r(49372),c=r(90856),u=r(4361),s=r(52750),l=r(33901),f=r(18825),p=r(58123),d=r(36188),m=(r(18178),r(32707)),v=r(5109),h=r(4609),_=r(28144),y=r(50839),b=r(70042),E=r(95231),g=r(6907),O=r(90068),S=r(68869),A=r(60986),T=r(37757),R=r(50522),I=r(52322);function P(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function C(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var w=(0,n.Z)(y.Z,{target:"e13kf4ik10"})("overflow:hidden;",(0,s.hy)(i.j.tabletPortraitUp({borderRadius:"10px"})),""),j=(0,n.Z)("div",{target:"e13kf4ik9"})({backgroundColor:c.EU.primaryReverse,padding:"".concat(a.N.BASE4X," ").concat(a.N.BASE8X," ").concat(a.N.BASE4X," ").concat(a.N.BASE4X),borderRadius:"10px 10px 0 0",position:"sticky",top:0,zIndex:m.k0.BASE,display:"grid",gridTemplateColumns:"auto 1fr",gap:a.N.MEDIUM},""),N=(0,n.Z)(E.Z,{target:"e13kf4ik8"})({borderRadius:a.N.BASE},""),L=(0,n.Z)("div",{target:"e13kf4ik7"})({display:"grid",gap:a.N.SMALL,height:"fit-content",alignSelf:"center"},""),D=(0,n.Z)("h2",{target:"e13kf4ik6"})(v.uv.LARGE,(0,h.$)("100%",2),{color:c.bo.overlay},""),x=(0,n.Z)("p",{target:"e13kf4ik5"})(v.Xz,{color:c.bo.overlay,a:function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
1t%2?P(Object(r),!0).forEach((function(t){C(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):P(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},v.Xz,{color:c.bo.overlay})},""),M=(0,n.Z)("div",{target:"e13kf4ik4"})({padding:"".concat(a.N.BASE4X," ").concat(a.N.LARGE),overflowY:"scroll"},""),Z=(0,n.Z)("div",{target:"e13kf4ik3"})(v.Hb.XSMALL_STANDARD,{color:c.bo.tertiary},""),U=(0,n.Z)("ul",{target:"e13kf4ik2"})({name:"0",styles:""}),k=(0,n.Z)("li",{target:"e13kf4ik1"})({display:"grid",gridTemplateColumns:"1fr auto",padding:"".concat(a.N.MEDIUM," 0"),borderBottom:"1px solid ".concat(c.M1.primary),"&:last-child":{border:"none"}},""),F=(0,n.Z)("div",{target:"e13kf4ik0"})(v.Hb.XSMALL_EMPHASIS,{display:"grid",padding:"6px ".concat(a.N.BASE),alignItems:"center",justifyItems:"center",height:"fit-content",background:"#287AF5",borderRadius:"8px",textTransform:"uppercase",color:c.bo.overlay},""),G=(0,O.Z)(S.Z,A.Z)((0,T.Z)((function(e){var t=e.magazine,r=e.allProfiles,n=e.isPhone,o=e.dismissModal,i=e.t;return(0,I.jsxs)(w,{name:name,size:b.q5.MEDIUM,overlayModifier:b.n6.LIGHT,modalTheme:n?b.J9.FULLSCREEN:b.J9.WINDOW,modifier:b.nY.HAS_FIXED_HEADER,children:[(0,I.jsx)(_.Z,{modalName:"comments-modal",fixedControls:!0,closeButtonSize:18,showCloseButton:!0,onDismiss:o}),(0,I.jsxs)(j,{children:[(0,I.jsx)(N,{width:79,height:96,image:t.image}),(0,I.jsxs)(L,{children:[(0,I.jsx)(D,{children:t.title}),(0,I.jsx)(x,{children:(0,I.jsx)(g.Z,{section:t,profiles:r,entireProfiles:r,undisplayedCount:r.length-1,isNewMagazineCover:!0})})]})]}),(0,I.jsxs)(M,{children:[(0,I.jsx)(Z,{children:i("contributor_count",{count:r.length})}),(0,I.jsx)(U,{children:r.map((function(e){var r=e.authorUsername===t.authorUsername;return(0,I.jsxs)(k,{children:[(0,I.jsx)(R.Z,{profile:e}),r&&(0,I.jsx)(F,{children:i("owner")})]},e.userid)}))})]})]})})));function B(e){return function(e){if(Array.isArray(e))return z(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return z(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return z(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function z(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function V(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function H(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function q(){return q=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},q.apply(this,arguments)}var W=(0,n.Z)("ul",q({},{target:"e15c4air3"},(0,u.t)("isNewMagazine","isNewMagazineCover")))((function(e){var t=e.isNewMagazineCover,r=e.isNewMagazine;return t?{marginLeft:"32px",marginRight:"32px",display:"flex",flexDirection:"row-reverse",minWidth:"0px"}:{minWidth:"70px",display:"inline-block",marginRight:r?0:a.N.MEDIUM,marginLeft:r?"32px":"20px"}}),""),Y=(0,n.Z)("li",q({},{target:"e15c4air2"},(0,u.t)("isNewMagazine")))((function(e){var t=e.isNewMagazine,r=t?"0px":a.N.BASE,n=t?"-32px":"-20px";return function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?V(Object(r),!0).forEach((function(t){H(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):V(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},{display:"inline-flex",verticalAlign:"middle"},{},(0,s.hy)(i.j.tabletLandscapeUp({margin:"".concat(a.N.LARGE," 0 "),marginLeft:n,marginBottom:r})))}),""),K=(0,n.Z)(d.Z,q({},{target:"e15c4air1"},(0,u.t)("avatarSize")))((function(e){var t=e.avatarSize;return{borderRadius:"100%",height:"".concat(t,"px"),width:"".concat(t,"px"),display:"flex",alignItems:"center",justifyContent:"center",fontSize:"11px",color:c.bo.overlay,backgroundColor:c.EU.primaryAlwaysDark,border:"2px s
1olid ".concat(c.M1.primary)}}),""),X=(0,n.Z)(l.Z,q({},{target:"e15c4air0"},(0,u.t)("isNewMagazine")))({".author-avatar__image":{border:"2px solid ".concat(c.M1.primary),"amp-img":{borderRadius:"50%"}}},(function(e){return!e.isNewMagazine&&{marginRight:a.N.BASE}}),""),$=(0,O.Z)(S.Z)((function(e){var t=e.section,r=e.profiles,n=e.allProfiles,i=e.avatarSize,a=void 0===i?32:i,c=e.addContributorButtonName,u=void 0===c?"":c,s=e.onClickAdd,l=void 0===s?null:s,m=e.isNewMagazine,v=e.undisplayedCount,h=e.isNewMagazineCover,_=e.showModal,y=h?B(r).reverse():r;return(0,I.jsxs)(W,{isNewMagazine:m,isNewMagazineCover:h,children:[v>0&&h&&(0,I.jsx)(Y,{children:(0,I.jsx)(K,{name:"show-magazine-contributors",onClick:function(){t&&n&&_(G,{magazine:t,allProfiles:n})},avatarSize:a,children:v})}),y.map((function(e){return(0,I.jsx)(Y,{isNewMagazine:m,children:(0,I.jsx)(p.Z,{href:"/@".concat(e.authorUsername),navFromEventName:o.f2.SECTION_ENTER,children:(0,I.jsx)(X,{isNewMagazine:m,author:e,avatarSize:a})})},e.authorUsername)})),l&&(0,I.jsx)(Y,{isNewMagazine:m,children:(0,I.jsx)(d.Z,{name:u,onClick:l,children:(0,I.jsx)(f.Z,{size:a,backgroundColor:"#F7F7F7",color:"#F52828"})})})]})}))},84694:function(e,t,r){"use strict";r(95342),r(34769),r(39529),r(31235),r(96928),r(61229),r(34115),r(68625),r(1939),r(62775),r(634),r(58188),r(20796),r(15735),r(28673),r(6886);var n=r(2784),o=r(45697),i=r.n(o),a=r(26626),c=r(37757),u=r(10554),s=r(37236),l=r(90068),f=r(82706),p=r(52322);function d(e){return d="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},d(e)}function m(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function v(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function h(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function _(e,t){return _=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},_(e,t)}function y(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 r,n=g(e);if(t){var o=g(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return b(this,r)}}function b(e,t){return!t||"object"!==d(t)&&"function"!=typeof t?E(e):t}function E(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function g(e){return g=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},g(e)}var O=function(e){!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)}(i,e);var t,r,n,o=y(i);function i(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),(t=o.call(this,e)).handleResendEmail=t.handleResendEmail.bind(E(t)),t}return t=i,r=[{key:"handleResendEmail",value:function(){var e=this.props,t=e.resendConfirmation,r=e.onResendEmail;t(),r()}},{key:"render",value:function(){var e=this.props.t,t=Object.keys(this.props).filter((function(e){return!Object.keys(i.propTypes).includes(e)})),r=u.ZP.pick(this.props,t);return(0,p.jsx)(a.ZP,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?m(Object(r),!0).forEach((function(t){v(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):m(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},r,{onClick:this.handleResendEmail,children:e("unverified_edu_resend_email")}))}}],r&&h(t.prototype,r),n&&h(t,n),i}(n.Component);
1O.propTypes={t:i().func.isRequired,resendConfirmation:i().func.isRequired,onResendEmail:i().func},O.defaultProps={onResendEmail:s.h},t.Z=(0,l.Z)(f.Z)((0,c.Z)(O))},73540:function(e,t,r){"use strict";r.d(t,{Z:function(){return y}});var n=r(12167),o=(r(43105),r(34769),r(18178),r(2784),r(45697)),i=r.n(o),a=r(22749),c=r(511),u=r(11826),s=r(58123),l=r(14175),f=r(46315),p=r(90068),d=r(21681),m={actions:{usageSetNavFrom:d.F$,usageTrackItemEnter:d.y2}},v=r(52322);var h=(0,n.Z)(s.Z,{target:"e1b1wk0r0"})({name:"1sdjnkx",styles:"word-break:break-word"});function _(e){var t=e.item,r=e.section,n=e.navFromEventName,o=e.navFrom,i=e.className,s=e.dataTestId,l=e.children,f=e.onClick,p=e.openInNewWindow,d=e.utmParams,m=e.fromParam,_=e.history,y=e.usageSetNavFrom,b=e.usageTrackItemEnter,E=r.isSmartMagazine&&r.rootTopic?(0,u.OO)(r.rootTopic):r.canonicalPath,g=m?{from:m}:{};d&&(g=Object.assign({},g,d));var O=Object.keys(g).length>0?"".concat(E,"?").concat(c.Z.stringify(g)):E;return(0,v.jsx)(h,{className:i,href:O,"data-test-id":s,navFromEventName:n||a.f2.SECTION_ENTER,onClick:function(){f&&f(),t&&(o&&y(a.f2.ITEM_ENTER,o),b(t,_))},openInNewWindow:p,children:l})}_.propTypes={item:i().object,section:i().object.isRequired,className:i().string,dataTestId:i().string,children:i().node,onClick:i().func,navFromEventName:i().string,navFrom:i().string,openInNewWindow:i().bool,utmParams:i().object,fromParam:i().string,history:i().object,usageSetNavFrom:i().func.isRequired,usageTrackItemEnter:i().func.isRequired},_.defaultProps={item:null,section:null,className:"",dataTestId:null,children:null,onClick:null,navFromEventName:null,navFrom:null,openInNewWindow:!1,utmParams:null,fromParam:null,history:null};var y=(0,p.Z)(m)((0,f.Z)((0,l.Z)(_)))},8626:function(e,t,r){"use strict";r.d(t,{B:function(){return E},Z:function(){return w}});r(34769),r(34115),r(95342),r(68625),r(1939),r(62775);var n=r(12167),o=(r(18178),r(67890),r(2784),r(45697)),i=r.n(o),a=r(72779),c=r.n(a),u=r(90856),s=r(99882),l=r(5109),f=r(49372),p={food:"topic_food",travel:"topic_travel",entertainment:"topic_entertainment",movies:"topic_movies",fashion:"topic_fashion",fitness:"topic_fitness",workout:"topic_workout",donaldtrump:"topic_donaldtrump"},d=function(e,t){var r=e.topicTag,n=e.title,o=p[r];return o?t(o):n||r},m=r(73540),v=r(37757),h=r(52322);function _(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function y(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?_(Object(r),!0).forEach((function(t){b(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):_(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function b(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var E={TEXT:"text",PILL:"pill",COLOR_ONLY:"color-only",CAPITALIZE_COLOR:"capitalize-color",INHERIT_UNDERLINE:"inherit-underline"},g={display:"inline-block",padding:"".concat(f.N.SMALL," ").concat(f.N.BASE),fontFamily:l.g5.FONT_FAKT_FLIPBOARD_CONDENSED,fontWeight:l.Xw.SEMIBOLD,fontSize:"12px",textTransform:"uppercase",textDecoration:"none",border:"none"},O={padding:"unset",fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",textTransform:"capitalize",textDecoration:"underline","&:before":{textDecoration:"inherit"},color:"inherit",a:{color:"inherit"}},S={color:u.DM.red,"&:hover, &:focus":{color:u.DM.red,backgroundColor:"transparent",filter:"brightness(0.9)"}},A={fontFamily:"unset",fontWeight:"unset",fontSize:"unset",textTransform:"unset",padding:"0",color:u.DM.red,a:{color:u.DM.red},"&:hover, &:focus":{backgroundColor:"transparent",filter:"brightness(0.9)"}},T={background:u.DM.red,color:"var(--color--text-overlay)",fontSize:"14px",padding:f.N.BASE,"&:hover, &:focus":{filter:"brightness(0.9)",color:"var(--color--text-overlay)"},"&:active":y({},s.vw,{color:"rgba(var(--color--text-overlay), 0.8)"}),"&::before":{marginRight:f.N.SMALL,color:"#fff",filter:"brightness(0.8)"}},R=function(e){var t,r={};null!==(t=e.section)&&void 0!==t&&t.isTopic&&(r["&::before"]={content:'"#"',dis
1play:"inline-block"});var n={};return e.styleVariation===E.INHERIT_UNDERLINE&&(n=O),e.styleVariation===E.TEXT&&(n=S),e.styleVariation===E.COLOR_ONLY&&(n=A),e.styleVariation===E.CAPITALIZE_COLOR&&(n=y({},A,{textTransform:"capitalize"})),e.styleVariation===E.PILL&&(n=T),[r,n]},I=(0,n.Z)(m.Z,{shouldForwardProp:function(e){return"styleVariation"!==e},target:"e10wimgv1"})(g,R,""),P=(0,n.Z)("div",{shouldForwardProp:function(e){return"styleVariation"!==e&&"section"!==e},target:"e10wimgv0"})(g,R,"");function C(e){var t=e.className,r=e.section,n=e.styleVariation,o=e.t,i=e.isClickable,a=c()(t,{"topic-tag":!0,"topic-tag--text":n===E.TEXT});return i?(0,h.jsx)(I,{styleVariation:n,className:a,"data-test-id":"topic-tag",section:r,children:d(r,o)}):(0,h.jsx)(P,{section:r,styleVariation:n,className:a,children:d(r,o)})}C.propTypes={className:i().string,section:i().object.isRequired,styleVariation:i().oneOf(Object.values(E)),t:i().func.isRequired,isClickable:i().bool},C.defaultProps={styleVariation:E.TEXT,isClickable:!0};var w=(0,v.Z)(C)},6110:function(e,t,r){"use strict";r(2784);var n=r(52322);t.Z=function(e){var t=e.className,r=e.scale,o=void 0===r?1:r;return(0,n.jsx)("svg",{className:t,id:"livetype",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 120 40",height:40*o,width:120*o,children:(0,n.jsxs)("g",{children:[(0,n.jsxs)("g",{children:[(0,n.jsxs)("g",{children:[(0,n.jsx)("path",{d:"M110.13477,0H9.53468c-.3667,0-.729,0-1.09473.002-.30615.002-.60986.00781-.91895.0127A13.21476,13.21476,0,0,0,5.5171.19141a6.66509,6.66509,0,0,0-1.90088.627A6.43779,6.43779,0,0,0,1.99757,1.99707,6.25844,6.25844,0,0,0,.81935,3.61816a6.60119,6.60119,0,0,0-.625,1.90332,12.993,12.993,0,0,0-.1792,2.002C.00587,7.83008.00489,8.1377,0,8.44434V31.5586c.00489.3105.00587.6113.01515.9219a12.99232,12.99232,0,0,0,.1792,2.0019,6.58756,6.58756,0,0,0,.625,1.9043A6.20778,6.20778,0,0,0,1.99757,38.001a6.27445,6.27445,0,0,0,1.61865,1.1787,6.70082,6.70082,0,0,0,1.90088.6308,13.45514,13.45514,0,0,0,2.0039.1768c.30909.0068.6128.0107.91895.0107C8.80567,40,9.168,40,9.53468,40H110.13477c.3594,0,.7246,0,1.084-.002.3047,0,.6172-.0039.9219-.0107a13.279,13.279,0,0,0,2-.1768,6.80432,6.80432,0,0,0,1.9082-.6308,6.27742,6.27742,0,0,0,1.6172-1.1787,6.39482,6.39482,0,0,0,1.1816-1.6143,6.60413,6.60413,0,0,0,.6191-1.9043,13.50643,13.50643,0,0,0,.1856-2.0019c.0039-.3106.0039-.6114.0039-.9219.0078-.3633.0078-.7246.0078-1.0938V9.53613c0-.36621,0-.72949-.0078-1.09179,0-.30664,0-.61426-.0039-.9209a13.5071,13.5071,0,0,0-.1856-2.002,6.6177,6.6177,0,0,0-.6191-1.90332,6.46619,6.46619,0,0,0-2.7988-2.7998,6.76754,6.76754,0,0,0-1.9082-.627,13.04394,13.04394,0,0,0-2-.17676c-.3047-.00488-.6172-.01074-.9219-.01269-.3594-.002-.7246-.002-1.084-.002Z",fill:"#a6a6a6"}),(0,n.jsx)("path",{d:"M8.44483,39.125c-.30468,0-.602-.0039-.90429-.0107a12.68714,12.68714,0,0,1-1.86914-.1631,5.88381,5.88381,0,0,1-1.65674-.5479,5.40573,5.40573,0,0,1-1.397-1.0166,5.32082,5.32082,0,0,1-1.02051-1.3965,5.72186,5.72186,0,0,1-.543-1.6572,12.41351,12.41351,0,0,1-.1665-1.875c-.00634-.2109-.01464-.9131-.01464-.9131V8.44434S.88185,7.75293.8877,7.5498a12.37039,12.37039,0,0,1,.16553-1.87207,5.7555,5.7555,0,0,1,.54346-1.6621A5.37349,5.37349,0,0,1,2.61183,2.61768,5.56543,5.56543,0,0,1,4.01417,1.59521a5.82309,5.82309,0,0,1,1.65332-.54394A12.58589,12.58589,0,0,1,7.543.88721L8.44532.875H111.21387l.9131.0127a12.38493,12.38493,0,0,1,1.8584.16259,5.93833,5.93833,0,0,1,1.6709.54785,5.59374,5.59374,0,0,1,2.415,2.41993,5.76267,5.76267,0,0,1,.5352,1.64892,12.995,12.995,0,0,1,.1738,1.88721c.0029.2832.0029.5874.0029.89014.0079.375.0079.73193.0079,1.09179V30.4648c0,.3633,0,.7178-.0079,1.0752,0,.3252,0,.6231-.0039.9297a12.73126,12.73126,0,0,1-.1709,1.8535,5.739,5.739,0,0,1-.54,1.67,5.48029,5.48029,0,0,1-1.0156,1.3857,5.4129,5.4129,0,0,1-1.3994,1.0225,5.86168,5.86168,0,0,1-1.668.5498,12.54218,12.54218,0,0,1-1.8692.1631c-.2929.0068-.5996.0107-.8974.0107l-1.084.002Z"})]}),(0,n.jsxs)("g",{id:"_Group_","data-name":"<Group>",children:[(0,n.jsx)("g",{id:"_Group_2","data-name":"<Group>",children:(0,n.jsxs)("g",{id:"_Group_3","data-name":"<Group>",children:[(0,n.jsx)("path",{id:"_Path_","data-name":"<Path>",d:"M24.76888,20.30068a4.94881,4.94881,0,0,1,2.35656-4.15206,5.06566,5.06566,0,0,0-3.99116-2.15768c-1.67924-.17626-3.30719,1.00483-4.1629,1.00483-.87227,0-2.18977-.98733-3.6085-.95814a5.31529,5.31529,0,0,0-4.47292,2.72787c-1.934,3.34842-.49141,8.26947,1.3612,10.97608.9269,1.32535,2.01018,2.8058,3.42763,2.7533,1.38706-.05753,1.9051-.88448,3.5794-.88448,1.65876,0,2.14479.88448,3.591.8511,1.48838-.02416,2.42613-1.33124,3.32051-2.66914a10.962,10.962,0,0,0,1.51842-3.09251A4.78205,4.78205,0,0,1,24.76888,20.30068Z",fill:"#fff"}),(0,n.jsx)("path",{id:"_Path_2","data-name":"<Path>",d:"M22.03725,12.21089a4.87248,4.87248,0,0,0,1.11452-3.49062,4.95746,4.95746,0,0,0-3.20758,1.65961,4.63634,4.63634,0,0,0-1.14371,3.36139A4.09905,4.09905,0,0,0,22.03725,12.21089Z",fill:"#fff"})]})}),(0,n.jsxs)("g",{children:[(0,n.jsx)("path",{d:"M42.30227,27.13965h-4.7334l-1.13672,3.35645H34.42727l4.4834-12.418h2.083l4.4834,12.418H43.438ZM38.0591,25.59082h3.752l-1.84961-5.44727h-.05176Z",fill:"#fff"}),(0,n.jsx)("path",{d:"M55.15969,25.96973c0,2.81348-1.50586,4.62109-3.77832,4.62109a3.0693,3.0693,0,0,1-2.84863-1.584h-.043v4.48438h-1.8584V21.44238H48.4302v1.50586h.03418a3.21162,3.21162,0,0,1,2.88281-1.60059C53.645,21.34766,55.15969,23.16406,55.15969,25.96973Zm-1.91016,0c0-1.833-.94727-3.03809-2.39258-3.03809-1.41992,0-2.375,1.23047-2.375,3.03809,0,1.82422.95508,3.0459,2.375,3.0459C52.30227,29.01563,53.24953,27.81934,53.24953,25.96973Z",fill:"#fff"}),(0,n.jsx)("path",{d:"M65.12453,25.96973c0,2.81348-1.50586,4.62109-3.77832,4.62109a3.0693,3.0693,0,0,1-2.84863-1.584h-.043v4.48438h-1.8584V21.44238H58.395v1.50586h.03418A3.21162,3.21162,0,0,1,61.312,21.34766C63.60988,21.34766,65.12453,23.16406,65.12453,25.96973Zm-1.91016,0c0-1.833-.94727-3.03809-2.39258-3.03809-1.41992,0-2.375,1.23047-2.375,3.03809,0,1.82422.95508,3.0459,2.375,3.0459C62.26711,29.01563,63.21438,27.81934,63.21438,25.96973Z",fill:"#fff"}),(0,n.jsx)("path",{d:"M71.71047,27.03613c.1377,1.23145,1.334,2.04,2.96875,2.04,1.56641,0,2.69336-.80859,2.69336-1.9
11895,0-.96387-.67969-1.541-2.28906-1.93652l-1.60937-.3877c-2.28027-.55078-3.33887-1.61719-3.33887-3.34766,0-2.14258,1.86719-3.61426,4.51855-3.61426,2.624,0,4.42285,1.47168,4.4834,3.61426h-1.876c-.1123-1.23926-1.13672-1.9873-2.63379-1.9873s-2.52148.75684-2.52148,1.8584c0,.87793.6543,1.39453,2.25488,1.79l1.36816.33594c2.54785.60254,3.60645,1.626,3.60645,3.44238,0,2.32324-1.85059,3.77832-4.79395,3.77832-2.75391,0-4.61328-1.4209-4.7334-3.667Z",fill:"#fff"}),(0,n.jsx)("path",{d:"M83.34621,19.2998v2.14258h1.72168v1.47168H83.34621v4.99121c0,.77539.34473,1.13672,1.10156,1.13672a5.80752,5.80752,0,0,0,.61133-.043v1.46289a5.10351,5.10351,0,0,1-1.03223.08594c-1.833,0-2.54785-.68848-2.54785-2.44434V22.91406H80.16262V21.44238H81.479V19.2998Z",fill:"#fff"}),(0,n.jsx)("path",{d:"M86.065,25.96973c0-2.84863,1.67773-4.63867,4.29395-4.63867,2.625,0,4.29492,1.79,4.29492,4.63867,0,2.85645-1.66113,4.63867-4.29492,4.63867C87.72609,30.6084,86.065,28.82617,86.065,25.96973Zm6.69531,0c0-1.9541-.89551-3.10742-2.40137-3.10742s-2.40039,1.16211-2.40039,3.10742c0,1.96191.89453,3.10645,2.40039,3.10645S92.76027,27.93164,92.76027,25.96973Z",fill:"#fff"}),(0,n.jsx)("path",{d:"M96.18606,21.44238h1.77246v1.541h.043a2.1594,2.1594,0,0,1,2.17773-1.63574,2.86616,2.86616,0,0,1,.63672.06934v1.73828a2.59794,2.59794,0,0,0-.835-.1123,1.87264,1.87264,0,0,0-1.93652,2.083v5.37012h-1.8584Z",fill:"#fff"}),(0,n.jsx)("path",{d:"M109.3843,27.83691c-.25,1.64355-1.85059,2.77148-3.89844,2.77148-2.63379,0-4.26855-1.76465-4.26855-4.5957,0-2.83984,1.64355-4.68164,4.19043-4.68164,2.50488,0,4.08008,1.7207,4.08008,4.46582v.63672h-6.39453v.1123a2.358,2.358,0,0,0,2.43555,2.56445,2.04834,2.04834,0,0,0,2.09082-1.27344Zm-6.28223-2.70215h4.52637a2.1773,2.1773,0,0,0-2.2207-2.29785A2.292,2.292,0,0,0,103.10207,25.13477Z",fill:"#fff"})]})]})]}),(0,n.jsx)("g",{id:"_Group_4","data-name":"<Group>",children:(0,n.jsxs)("g",{children:[(0,n.jsx)("path",{d:"M37.82619,8.731a2.63964,2.63964,0,0,1,2.80762,2.96484c0,1.90625-1.03027,3.002-2.80762,3.002H35.67092V8.731Zm-1.22852,5.123h1.125a1.87588,1.87588,0,0,0,1.96777-2.146,1.881,1.881,0,0,0-1.96777-2.13379h-1.125Z",fill:"#fff"}),(0,n.jsx)("path",{d:"M41.68068,12.44434a2.13323,2.13323,0,1,1,4.24707,0,2.13358,2.13358,0,1,1-4.24707,0Zm3.333,0c0-.97607-.43848-1.54687-1.208-1.54687-.77246,0-1.207.5708-1.207,1.54688,0,.98389.43457,1.55029,1.207,1.55029C44.57522,13.99463,45.01369,13.42432,45.01369,12.44434Z",fill:"#fff"}),(0,n.jsx)("path",{d:"M51.57326,14.69775h-.92187l-.93066-3.31641h-.07031l-.92676,3.31641h-.91309l-1.24121-4.50293h.90137l.80664,3.436h.06641l.92578-3.436h.85254l.92578,3.436h.07031l.80273-3.436h.88867Z",fill:"#fff"}),(0,n.jsx)("path",{d:"M53.85354,10.19482H54.709v.71533h.06641a1.348,1.348,0,0,1,1.34375-.80225,1.46456,1.46456,0,0,1,1.55859,1.6748v2.915h-.88867V12.00586c0-.72363-.31445-1.0835-.97168-1.0835a1.03294,1.03294,0,0,0-1.0752,1.14111v2.63428h-.88867Z",fill:"#fff"}),(0,n.jsx)("path",{d:"M59.09377,8.437h.88867v6.26074h-.88867Z",fill:"#fff"}),(0,n.jsx)("path",{d:"M61.21779,12.44434a2.13346,2.13346,0,1,1,4.24756,0,2.1338,2.1338,0,1,1-4.24756,0Zm3.333,0c0-.97607-.43848-1.54687-1.208-1.54687-.77246,0-1.207.5708-1.207,1.54688,0,.98389.43457,1.55029,1.207,1.55029C64.11232,13.99463,64.5508,13.42432,64.5508,12.44434Z",fill:"#fff"}),(0,n.jsx)("path",{d:"M66.4009,13.42432c0-.81055.60352-1.27783,1.6748-1.34424l1.21973-.07031v-.38867c0-.47559-.31445-.74414-.92187-.74414-.49609,0-.83984.18213-.93848.50049h-.86035c.09082-.77344.81836-1.26953,1.83984-1.26953,1.12891,0,1.76563.562,1.76563,1.51318v3.07666h-.85547v-.63281h-.07031a1.515,1.515,0,0,1-1.35254.707A1.36026,1.36026,0,0,1,66.4009,13.42432Zm2.89453-.38477v-.37646l-1.09961.07031c-.62012.0415-.90137.25244-.90137.64941,0,.40527.35156.64111.835.64111A1.0615,1.0615,0,0,0,69.29543,13.03955Z",fill:"#fff"}),(0,n.jsx)("path",{d:"M71.34816,12.44434c0-1.42285.73145-2.32422,1.86914-2.32422a1.484,1.484,0,0,1,1.38086.79h.06641V8.437h.88867v6.26074h-.85156v-.71143h-.07031a1.56284,1.56284,0,0,1-1.41406.78564C72.0718,14.772,71.34816,13.87061,71.34816,12.44434Zm.918,0c0,.95508.4502,1.52979,1.20313,1.52979.749,0,1.21191-.583,1.21191-1.52588,0-.93848-.46777-1.52979-1.21191-1.52979C72.72121,10.91846,72.26613,11.49707,72.26613,12.44434Z",fill:"#fff"}),(0,n.jsx)("path",{d:"M79.23,12.44434a2.13323,2.13323,0,1,1,4.24707,0,2.13358,2.13358,0,1,1-4.24707,0Zm3.333,0c0-.97607-.43848-1.54687-1.208-1.54687-.77246,0-1.207.5708-1.207,1.54688,0,.98389.43457,1.55029,1.207,1.55029C82.12453,13.99463,82.563,13.42432,82.563,12.44434Z",fill:"#fff"}),(0,n.jsx)("path",{d:"M84.66945,10.19482h.85547v.71533h.06641a1.348,1.348,0,0,1,1.34375-.80225,1.46456,1.46456,0,0,1,1.55859,1.6748v2.915H87.605V12.00586c0-.72363-.31445-1.0835-.97168-1.
10835a1.03294,1.03294,0,0,0-1.0752,1.14111v2.63428h-.88867Z",fill:"#fff"}),(0,n.jsx)("path",{d:"M93.51516,9.07373v1.1416h.97559v.74854h-.97559V13.2793c0,.47168.19434.67822.63672.67822a2.96657,2.96657,0,0,0,.33887-.02051v.74023a2.9155,2.9155,0,0,1-.4834.04541c-.98828,0-1.38184-.34766-1.38184-1.21582v-2.543h-.71484v-.74854h.71484V9.07373Z",fill:"#fff"}),(0,n.jsx)("path",{d:"M95.70461,8.437h.88086v2.48145h.07031a1.3856,1.3856,0,0,1,1.373-.80664,1.48339,1.48339,0,0,1,1.55078,1.67871v2.90723H98.69v-2.688c0-.71924-.335-1.0835-.96289-1.0835a1.05194,1.05194,0,0,0-1.13379,1.1416v2.62988h-.88867Z",fill:"#fff"}),(0,n.jsx)("path",{d:"M104.76125,13.48193a1.828,1.828,0,0,1-1.95117,1.30273A2.04531,2.04531,0,0,1,100.73,12.46045a2.07685,2.07685,0,0,1,2.07617-2.35254c1.25293,0,2.00879.856,2.00879,2.27V12.688h-3.17969v.0498a1.1902,1.1902,0,0,0,1.19922,1.29,1.07934,1.07934,0,0,0,1.07129-.5459Zm-3.126-1.45117h2.27441a1.08647,1.08647,0,0,0-1.1084-1.1665A1.15162,1.15162,0,0,0,101.63527,12.03076Z",fill:"#fff"})]})})]})})}},24785:function(e,t,r){"use strict";r(2784);var n=r(52322);t.Z=function(e){var t=e.className,r=e.scale,o=void 0===r?1:r;return(0,n.jsx)("svg",{className:t,version:"1.1",id:"artwork",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 135 40",height:45*o,width:135*o,children:(0,n.jsxs)("g",{children:[(0,n.jsx)("g",{children:(0,n.jsx)("path",{d:"M130,40H5c-2.8,0-5-2.2-5-5V5c0-2.8,2.2-5,5-5h125c2.8,0,5,2.2,5,5v30C135,37.8,132.8,40,130,40z"})}),(0,n.jsx)("g",{children:(0,n.jsx)("g",{children:(0,n.jsx)("path",{fill:"#a6a6a6",d:"M130,0.8c2.3,0,4.2,1.9,4.2,4.2v30c0,2.3-1.9,4.2-4.2,4.2H5c-2.3,0-4.2-1.9-4.2-4.2V5c0-2.3,1.9-4.2,4.2-4.2 H130 M130,0H5C2.2,0,0,2.3,0,5v30c0,2.8,2.2,5,5,5h125c2.8,0,5-2.2,5-5V5C135,2.3,132.8,0,130,0L130,0z"})})}),(0,n.jsxs)("g",{children:[(0,n.jsx)("path",{fill:"#FFFFFF",stroke:"#FFFFFF",strokeWidth:"0.2",strokeMiterlimit:"10",d:"M47.4,10.2c0,0.8-0.2,1.5-0.7,2c-0.6,0.6-1.3,0.9-2.2,0.9c-0.9,0-1.6-0.3-2.2-0.9c-0.6-0.6-0.9-1.3-0.9-2.2 s0.3-1.6,0.9-2.2c0.6-0.6,1.3-0.9,2.2-0.9c0.4,0,0.9,0.1,1.2,0.2c0.4,0.2,0.7,0.4,1,0.7l-0.6,0.6c-0.2-0.2-0.4-0.4-0.7-0.5 c-0.3-0.1-0.6-0.2-0.9-0.2c-0.7,0-1.2,0.2-1.7,0.7c-0.4,0.5-0.7,1-0.7,1.7c0,0.7,0.2,1.3,0.7,1.7c0.5,0.5,1,0.7,1.7,0.7 c0.6,0,1.1-0.2,1.5-0.5c0.4-0.3,0.6-0.8,0.7-1.4h-2.2V9.8h2.9C47.4,9.9,47.4,10.1,47.4,10.2z"}),(0,n.jsx)("path",{fill:"#FFFFFF",stroke:"#FFFFFF",strokeWidth:"0.2",strokeMiterlimit:"10",d:"M52,7v0.7h-2.7v1.9h2.5v0.7h-2.5v1.9H52V13h-3.5V7H52z"}),(0,n.jsx)("path",{fill:"#FFFFFF",stroke:"#FFFFFF",strokeWidth:"0.2",strokeMiterlimit:"10",d:"M55.3,7.7V13h-0.8V7.7h-1.7V7H57v0.7H55.3z"}),(0,n.jsx)("path",{fill:"#FFFFFF",stroke:"#FFFFFF",strokeWidth:"0.2",strokeMiterlimit:"10",d:"M60.7,13h-0.8V7h0.8V13z"}),(0,n.jsx)("path",{fill:"#FFFFFF",stroke:"#FFFFFF",strokeWidth:"0.2",strokeMiterlimit:"10",d:"M64.1,7.7V13h-0.8V7.7h-1.7V7h4.1v0.7H64.1z"}),(0,n.jsx)("path",{fill:"#FFFFFF",stroke:"#FFFFFF",strokeWidth:"0.2",strokeMiterlimit:"10",d:"M74.5,10c0,0.9-0.3,1.6-0.9,2.2c-0.6,0.6-1.3,0.9-2.2,0.9c-0.9,0-1.6-0.3-2.2-0.9c-0.6-0.6-0.9-1.3-0.9-2.2 c0-0.9,0.3-1.6,0.9-2.2c0.6-0.6,1.3-0.9,2.2-0.9c0.9,0,1.6,0.3,2.2,0.9C74.2,8.4,74.5,9.1,74.5,10z M69.1,10 c0,0.7,0.2,1.3,0.7,1.7c0.4,0.5,1,0.7,1.6,0.7c0.7,0,1.2-0.2,1.6-0.7c0.4-0.4,0.7-1,0.7-1.7S73.5,8.7,73,8.3 c-0.4-0.5-1-0.7-1.6-0.7c-0.7,0-1.2,0.2-1.6,0.7C69.3,8.7,69.1,9.3,69.1,10z"}),(0,n.jsx)("path",{fill:"#FFFFFF",stroke:"#FFFFFF",strokeWidth:"0.2",strokeMiterlimit:"10",d:"M76.3,13h-0.8V7h0.9l2.9,4.7h0l0-1.2V7h0.8v6h-0.8l-3.1-4.9h0l0,1.2V13z"})]}),(0,n.jsx)("path",{fill:"#ffffff",d:"M68.1,21.8c-2.4,0-4.3,1.8-4.3,4.3c0,2.4,1.9,4.3,4.3,4.3c2.4,0,4.3-1.8,4.3-4.3 C72.4,23.5,70.5,21.8,68.1,21.8z M68.1,28.6c-1.3,0-2.4-1.1-2.4-2.6c0-1.5,1.1-2.6,2.4-2.6s2.4,1,2.4,2.6 C70.5,27.5,69.4,28.6,68.1,28.6z M58.8,21.8c-2.4,0-4.3,1.8-4.3,4.3c0,2.4,1.9,4.3,4.3,4.3c2.4,0,4.3-1.8,4.3-4.3 C63.1,23.5,61.2,21.8,58.8,21.8z M58.8,28.6c-1.3,0-2.4-1.1-2.4-2.6c0-1.5,1.1-2.6,2.4-2.6c1.3,0,2.4,1,2.4,2.6 C61.2,27.5,60.1,28.6,58.8,28.6z M47.7,23.1v1.8h4.3c-0.1,1-0.5,1.8-1,2.3c-0.6,0.6-1.6,1.3-3.3,1.3c-2.7,0-4.7-2.1-4.7-4.8 c0-2.7,2.1-4.8,4.7-4.8c1.4,0,2.5,0.6,3.3,1.3l1.3-1.3c-1.1-1-2.5-1.8-4.5-1.8c-3.6,0-6.7,3-6.7,6.6c0,3.6,3.1,6.6,6.7,6.6 c2,0,3.4-0.6,4.6-1.9c1.2-1.2,1.6-2.9,1.6-4.2c0-0.4,0-0.8-0.1-1.1H47.7z M93.1,24.5c-0.4-1-1.4-2.7-3.6-2.7c-2.2,0-4,1.7-4,4.3 c0,2.4,1.8,4.3,4.2,4.3c1.9,0,3.1-1.2,3.5-1.9l-1.4-1c-0.5,0.7-1.1,1.2-2.1,1.2c-1,0-1.6-0.4-2.1-1.3l5.7-2.4L93.1,24.5z M87.3,25.9c0-1.6,1.3-2.5,2.2-2.5c0.7,0,1.4,0.4,1.6,0.9L87.3,25.9z M82.6,30h1.9V17.5h-1.9V30z M79.6,22.7L79.6,22.7 c-0.5-0.5-1.3-1-2.3-1c-2.1,0-4.1,1.9-4.1,4.3c0,2.4,1.9,4.2,4.1,4.2c1,0,1.8-0.5,2.2-1h0.1v0.6c0,1.6-0.9,2.5-2.3,2.5 c-1.1,0-1.9-0.8-2.1-1.5l-1.6,0.7c0.5,1.1,1.7,2.5,3.8,2.5c2.2,0,4-1.3,4-4.4V22h-1.8V22.7z M77.4,28.6c-1.3,0-2.4-1.1-2.4-2.6 c0-1.5,1.1-2.6,2.4-2.6c1.3,0,2.3,1.1,2.3,2.6C79.7,27.5,78.7,28.6,77.4,28.6z M101.8,17.5h-4.5V30h1.9v-4.7h2.6 c2.1,0,4.1-1.5,4.1-3.9C105.9,19,103.9,17.5,101.8,17.5z M101.9,23.5h-2.7v-4.3h2.7c1.4,0,2.2,1.2,2.2,2.1 C104,22.4,103.2,23.5,101.9,23.5z M113.4,21.7c-1.4,0-2.8,0.6-3.3,1.9l1.7,0.7c0.4-0.7,1-0.9,1.7-0.9c1,0,1.9,0.6,2,1.6v0.1 c-0.3-0.2-1.1-0.5-1.9-0.5c-1.8,0-3.6,1-3.6,2.8c0,1.7,1.5,2.8,3.1,2.8c1.3,0,1.9-0.6,2.4-1.2h0.1v1h1.8v-4.8 C117.2,23,115.5,21.7,113.4,21.7z M113.2,28.6c-0.6,0-1.5-0.3-1.5-1.1c0-1,1.1-1.3,2-1.3c0.8,0,1.2,0.2,1.7,0.4 C115.2,27.8,114.2,28.6,113.2,28.6z M123.7,22l-2.1,5.4h-0.1l-2.2-5.4h-2l3.3,7.6l-1.9,4.2h1.9l5.
11-11.8H123.7z M106.9,30h1.9V17.5 h-1.9V30z"}),(0,n.jsxs)("g",{children:[(0,n.jsx)("path",{fill:"#ea4335",d:"M20.7,19.4L10.1,30.7c0,0,0,0,0,0c0.3,1.2,1.4,2.1,2.8,2.1c0.5,0,1-0.1,1.5-0.4l0,0l12-6.9L20.7,19.4z"}),(0,n.jsx)("path",{fill:"#fbbc04",d:"M31.5,17.5L31.5,17.5l-5.2-3l-5.8,5.2l5.8,5.8l5.1-3c0.9-0.5,1.5-1.4,1.5-2.5C33,18.9,32.4,18,31.5,17.5z"}),(0,n.jsx)("path",{fill:"#4285f4",d:"M10.1,9.3C10,9.5,10,9.8,10,10v20c0,0.3,0,0.5,0.1,0.7l11-11L10.1,9.3z"}),(0,n.jsx)("path",{fill:"#34a853",d:"M20.8,20l5.5-5.5l-12-6.9c-0.4-0.3-0.9-0.4-1.5-0.4c-1.3,0-2.5,0.9-2.8,2.1c0,0,0,0,0,0L20.8,20z"})]})]})})}},92431:function(e,t,r){"use strict";var n=r(12167),o=(r(2784),r(45697)),i=r.n(o),a=r(5109),c=r(37757),u=r(22480),s=r(75007),l=r(58123),f=r(52322),p=(0,n.Z)("div",{target:"ejnyk530"})(a.Hb.HINT,""),d=function(e){return(0,f.jsx)(l.Z,{href:"".concat(s.Z.ABOUT_BASE_URL,"/terms/"),openInNewWindow:!0,children:e})},m=function(e){return(0,f.jsx)(l.Z,{href:"".concat(s.Z.ABOUT_BASE_URL,"/privacy/"),openInNewWindow:!0,children:e})};function v(e){var t=e.isNewsletter,r=e.className,n=e.t,o=t?"inline_newsletter_signup_disclaimer":"signup_disclaimer";return(0,f.jsx)(p,{className:r,children:(0,u.Z)(n(o),{termsLink:d,privacyLink:m})})}v.propTypes={className:i().string,isNewsletter:i().bool,t:i().func.isRequired},v.defaultProps={isNewsletter:!1},t.Z=(0,c.Z)(v)},76632:function(e,t,r){"use strict";r.d(t,{_:function(){return p},Z:function(){return y}});var n=function(e){return e.message},o=(r(2784),r(45697)),i=r.n(o),a=r(11826),c=r(22480),u=r(58123),s=r(37757),l=r(52322),f=function(e){var t=e.magazine,r=(0,e.t)("flipped_into_magazine_success2",{magazineTitle:t.title});return(0,c.Z)(r,{magazineLink:function(e){return(0,l.jsx)(u.Z,{className:"toast-message__link",href:(0,a.YH)(t),children:e})}})};f.propTypes={magazine:i().object.isRequired,t:i().func.isRequired};var p,d=(0,s.Z)(f);!function(e){e.FLIPPED="FLIPPED"}(p||(p={}));var m,v,h,_=(m={},v=p.FLIPPED,h=d,v in m?Object.defineProperty(m,v,{value:h,enumerable:!0,configurable:!0,writable:!0}):m[v]=h,m),y=function(e){return _[e.template]||n}},84308:function(e,t,r){"use strict";r(34769),r(68625),r(1939),r(62775),r(96928),r(61229),r(58188),r(73439),r(20796),r(15735),r(28673),r(6886),r(27233),r(26936);var n=r(12167),o=(r(35666),r(16781),r(43450),r(18178),r(95342),r(34115),r(634),r(32501),r(77950),r(74069),r(2784)),i=r(45697),a=r.n(i),c=r(72779),u=r.n(c),s=r(84636),l=r.n(s),f=r(49372),p=r(5109),d=r(90856),m=r(88164),v=r(47573),h=r(80768),_=r(4067),y=r(63067),b=r(49412),E=r(26626),g=r(43260),O=r(37757),S=r(90068),A=r(82706),T=r(65479),R=r(52322);function I(e){return I="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},I(e)}function P(e){return function(e){if(Array.isArray(e))return C(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return C(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return C(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function C(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function w(e,t,r,n,o,i,a){try{var c=e[i](a),u=c.value}catch(e){return void r(e)}c.done?t(u):Promise.resolve(u).then(n,o)}function j(e){return function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(e){w(i,n,o,a,c,"next",e)}function c(e){w(i,n,o,a,c,"throw",e)}a(void 0)}))}}function N(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}
1function L(e,t){return L=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},L(e,t)}function D(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 r,n=Z(e);if(t){var o=Z(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return x(this,r)}}function x(e,t){return!t||"object"!==I(t)&&"function"!=typeof t?M(e):t}function M(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Z(e){return Z=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},Z(e)}function U(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function k(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var F=(0,n.Z)("h2",{target:"ea417t83"})({paddingBottom:f.N.BASE},""),G=(0,n.Z)("div",{target:"ea417t82"})({padding:"0 0 ".concat(f.N.BASE4X)},""),B=(0,n.Z)("div",{target:"ea417t81"})(function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?U(Object(r),!0).forEach((function(t){k(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):U(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},p.TK.BODY,{lineHeight:f.N.XLARGE,height:f.N.XLARGE}),""),z=(0,n.Z)(b.Z,{target:"ea417t80"})({paddingTop:f.N.BASE,height:f.N.XLARGE},""),V=function(e){return e.map((function(e){return v.ZP.normalizeRemoteid(e.remoteid)})).sort().join()},H=function(e){!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&&L(e,t)}(a,e);var t,r,n,i=D(a);function a(e){var t;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),k(M(t=i.call(this,e)),"handleChangeSearch",(function(e){t.setState({searchQuery:e.target.value},(function(){var e=t.state.searchQuery;e&&t.searchSectionsDebounced(e)}))})),k(M(t),"handleBlurSearch",(function(){t.state.searchQuery||t.setState({searchFocused:!1,searchPrompt:null})})),k(M(t),"handleFocusSearch",(function(){t.setState({searchFocused:!0})})),k(M(t),"handleSearch",j(regeneratorRuntime.mark((function e(){var r,n,o,i,a,c,u,s,l=arguments;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=l.length>0&&void 0!==l[0]?l[0]:null,t.setState({isSearchLoading:!0,selectedExpanded:!1}),n=t.state,o=n.toFollowSelected,i=n.followableSelected,a=t.props.searchTopics,c=[].concat(P(o),P(i)),e.next=7,a(r);case 7:u=e.sent,s=u.filter((function(e){return c.some((function(t){return h.Z.mightBeSameSection(t,e)}))})),t.setState({searchResults:u,searchResultsSelected:s,initialSearchResultsSelected:s,isSearchLoading:!1});case 10:case"end":return e.stop()}}),e)})))),k(M(t),"handleSearchPrompt",(function(e){return function(){t.setState({searchFocused:!0,searchPrompt:e.title},(function(){t.searchRef.current.focus()}))}})),k(M(t),"handleToggleSection",(function(e){return function(r){var n=t.state[e],o=n.some((function(e){return e.remoteid===r.remoteid}));t.setState(k({},e,o?n.filter((function(e){return!h.Z.mightBeSameSection(e,r)})):[r].concat(P(n))))}})),k(M(t),"handleClearSearch",(function(){t.setState({searchQuery:"",searchFocused:!1,searchPrompt:null})})),k(M(t),"submit",(function(){var e=t.state,r=e.toFollowSelected,n=e.followableSelected;t.setState({isSubmitting:!0},j(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.props.onSubmit([].concat(P(r),P(n)));case 3:e.next=7;break;case 5:e.prev=5,e.t0=e.catch(0);case 7:return e.prev=7,t.setState({isSubmitting:!1}),e.finish(7);case 10:case"end":return e.stop()}}),e,null,[[0,5,7,10]])}))))}
1)),k(M(t),"submitSearch",(function(){var e=t.state,r=e.toFollow,n=e.toFollowSelected,o=e.followableSelected,i=e.searchResults,a=e.searchResultsSelected,c=i.filter((function(e){return!a.some((function(t){return h.Z.mightBeSameSection(t,e)}))})),u=t.removeUnselectedSearchResults(c,r),s=t.removeUnselectedSearchResults(c,n),l=t.removeUnselectedSearchResults(c,o);t.setState({toFollow:[].concat(P(a),P(u)),toFollowSelected:[].concat(P(a),P(s)),followableSelected:l,searchPrompt:null,searchFocused:!1,searchResults:[],searchResultsSelected:[],initialSearchResultsSelected:[],searchQuery:""})}));var r=e.followed,n=e.collapsible,c=e.collapseSelectedLimit;return t.state={toFollow:r,toFollowSelected:r,followableSelected:[],searchResults:[],searchResultsSelected:[],initialSearchResultsSelected:[],searchQuery:"",searchFocused:!1,isSearchLoading:!1,searchPrompt:null,isSubmitting:!1,collapsed:n&&r.length>c},t.searchSectionsDebounced=m.Z.create(t.handleSearch,250),t.searchRef=o.createRef(),t}return t=a,(r=[{key:"componentDidUpdate",value:function(e){e.followed.length!==this.props.followed.length&&this.setState({toFollow:this.props.followed,toFollowSelected:this.props.followed})}},{key:"removeUnselectedSearchResults",value:function(e,t){return t.filter((function(t){return!e.some((function(e){return h.Z.mightBeSameSection(t,e)}))}))}},{key:"isDirty",value:function(){var e=this.state,t=e.toFollowSelected,r=e.followableSelected,n=e.searchResultsSelected,o=e.initialSearchResultsSelected;return V([].concat(P(t),P(r)))!==V(this.props.followed)||V(n)!==V(o)}},{key:"render",value:function(){var e=this,t=this.props,r=t.t,n=t.children,i=t.title,a=t.description,c=t.selectedTitle,s=t.followableGroups,f=t.isLoadingFollowableGroups,p=t.className,m=t.collapsible,v=t.collapseSelectedLimit,b=t.searchText,O=t.noResultsText,S=this.state,A=S.toFollow,T=S.toFollowSelected,I=S.followableSelected,P=S.searchResultsSelected,C=S.searchQuery,w=S.searchResults,j=S.searchFocused,N=S.isSearchLoading,L=S.searchPrompt,D=S.collapsed,x=N||f,M=C&&w.length>0,Z=m&&D,U=l()(Z?A.slice(0,v):A,"remoteid"),k=M||!C&&!L&&s.length>0,V=M?[{subsections:w}]:s,H=this.isDirty(),q=!(!j||!C),W=(0,R.jsxs)("div",{className:u()("topic-customization__content modal__content",p),children:[(0,R.jsx)("header",{className:"topic-customization__header",children:(0,R.jsx)("h1",{className:"topic-customization__title ui-heading--medium",children:(0,R.jsx)("span",{children:i})})}),(0,R.jsx)("p",{className:"ui-body--large-standard",children:a}),(0,R.jsxs)("div",{className:"topic-customization__search-wrapper",children:[(0,R.jsx)(_.Z,{name:"passion-picker-topic-customization-search",placeholder:r("search"),icon:_.S.SEARCH,value:C,hasValue:!!C,onBlur:this.handleBlurSearch,onFocus:this.handleFocusSearch,onChange:this.handleChangeSearch,onClear:this.handleClearSearch,ref:this.searchRef}),(0,R.jsx)(B,{children:(j||C)&&(L||b)})]}),x?(0,R.jsx)(z,{}):(0,R.jsxs)("div",{className:"topic-customization__topic-lists",children:[!C&&!L&&U.length>0&&(0,R.jsxs)(o.Fragment,{children:[c&&(0,R.jsx)(F,{className:"ui-subheading--large-standard",children:c}),(0,R.jsx)(G,{children:(0,R.jsxs)("ul",{className:"topic-customization__pills-list",children:[U.map((function(t){return(0,R.jsx)(y.Z,{topic:t,isSelected:h.Z.sectionsIncludesSection(T,t),onClick:e.handleToggleSection("toFollowSelected")},t.remoteid)})),(0,R.jsx)("br",{}),m&&A.length>v&&(0,R.jsxs)(E.ZP,{name:"expand-selected-topics",className:"topic-customization__expand-selected",styleVariation:E.NV.PRIMARY_TEXT,styleModifier:[E._Z.NO_LEFT_PADDING],onClick:function(){return e.setState({collapsed:!e.state.collapsed})},children:[(0,R.jsx)("span",{children:r(D?"see_more":"see_less")}),(0,R.jsx)(g.Z,{className:"expand-selected__caret-icon",direction:D?"down":"up",size:12,color:d.DM.red})]})]})})]}),k&&(M?(0,R.jsx)(G,{children:(0,R.jsx)("ul",{className:"topic-customization__pills-list",children:w.map((function(t){return(0,R.jsx)(y.Z,{topic:t,isSelected:h.Z.sectionsIncludesSection(P,t),onClick:e.handleToggleSection("searchResultsSelected")},t.remoteid)}))})},"search-results"):V.map((function(t,r){var n=t.subsections.filter((function(e){return!e.remoteid.match(/^flipboard\/franchiseFeature.*TopStories$/)&&!h.Z.sectionsIncludesSection(A,e)}));return n.length<1?null:(0,R.jsxs)(G,{children:[(0,R.jsx)(F,{className:"ui-subheading--large-standard",children:t.title}),(0,R.jsx)("ul",{className:"topic-customization__pills-list",children:n.map((function(t){return(0,R.jsx)(y.Z,{topic:t,isSelected:h.Z.sectionsIncludesSection(I,t),onClick:h.Z.isPersonalizeSearchTrigger(t)?e.handleSearchPrompt(t):e.handleToggleSection("followableSelected")},t.remoteid)}))})]},t.title||r)})))]}),q&&!x&&!M&&(0,R.jsx)("span",{className:"ui-text--body",children:O})]}),Y=!this.state.isSubmitting&&H;return n({content:W,submit:q?this.submitSearch:this.submit,clearSearch:this.handleClearSearch,isSubmittable:Y,isLoading:x,isSearching:q,isDirty:H})}}])&&N(t.prototype,r),n&&N(t,n),a}(o.Component);H.propTypes={onSubmit:a().func.isRequired,followed:a().array,followable:a().array,isAuthenticated:a().bool.isRequired,children:a().func.isRequired,title:a().object.isRequired,description:a().string.isRequired,noResultsText:a().string.isRequired,className:a().string.isRequired,followableGroups:a().array.isRequired,isLoadingFollowableGroups:a().bool.isRequired,collapsible:a().bool,collapseSelectedLimit:a().number,selectedTitle:a().string,
1searchText:a().string,searchTopics:a().func.isRequired,t:a().func.isRequired},H.defaultProps={followableGroups:[],collapsible:!1,collapseSelectedLimit:16},t.Z=(0,S.Z)(A.Z,T.Z)((0,O.Z)(H))},63067:function(e,t,r){"use strict";r(67890),r(2784);var n=r(45697),o=r.n(n),i=r(72779),a=r.n(i),c=r(3596),u=r(30001),s=r(52322);function l(e){var t=e.topic,r=e.isSelected,n=e.onClick,o=e.size,i=n?function(){return n(t,r)}:void 0,u=a()("pill__topic-hashtag",{"pill__topic-hashtag--selected":r});return(0,s.jsxs)(c.Z,{isSelected:r,onClick:i,size:o,children:[(t.isTopic||"topic"===t.feedType)&&(0,s.jsx)("span",{className:u,children:"#"}),(0,s.jsx)("span",{className:"pill__topic-title",children:t.title})]})}l.propTypes={topic:o().object.isRequired,isSelected:o().bool,onClick:o().func,size:o().oneOf(Object.values(u.n8))},l.defaultProps={isSelected:!1,size:u.n8.SMALL},t.Z=l},36188:function(e,t,r){"use strict";r(26936),r(34769),r(34115),r(95342),r(68625),r(1939),r(62775),r(2784);var n=r(66263),o=r(72779),i=r.n(o),a=r(52322);function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function u(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function s(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}t.Z=function(e){var t=e.name,r=e.children,o=e.onClick,l=e.className,f=e.stopPropagation,p=s(e,["name","children","onClick","className","stopPropagation"]);return(0,a.jsx)("button",function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?c(Object(r),!0).forEach((function(t){u(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):c(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({className:i()("button--unstyled",l),onClick:function(e){t&&n.Z.trackClickButton(t),!1!==f&&e.stopPropagation(),o&&o(e)},"data-vars-button-name":t,role:"button"},p,{children:(0,a.jsx)("div",{className:"button--unstyled__children",children:r})}))}},82394:function(e,t,r){"use strict";r(96928),r(61229),r(34115),r(634),r(58188),r(20796),r(15735),r(28673),r(6886);var n=r(2784),o=r(45697),i=r.n(o),a=r(7799),c=r(59015),u=r(90068),s=r(19654),l=r(52322);function f(e){return f="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},f(e)}function p(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function d(e,t){return d=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},d(e,t)}function m(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 r,n=_(e);if(t){var o=_(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return v(this,r)}}function v(e,t){return!t||"object"!==f(t)&&"function"!=typeof t?h(e):t}function h(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _(e){return _=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},_(e)}function y(){return!!(0,a.Z)().__gpp}var b=function(e){!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&&d(e,t)}(u,e);var t,r,o,i=m(u);function u(e){var t,r,n,o;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,u),t=i.call(this,e),r=h(t),o=function(){var e=t.props.featureFlags.FORCE_USNAT_APPLIES;(0,a.Z)().__gpp("addEventListener",(function(r){var n,o=((null==r||null===(n=r.pingData)||void 0===n?void 0:n.applicableSections)||[]).some((function(e){return e>0}));t.setState({usnatApplies:!0===e||o})}))},(n="getUsnatApplies")in r?Object.defineProperty(r,n,{value:o,enumerable:!0,configurable:!0,writable:!0}):r[n]=o,t.state={usnatApplies:!1},t}return t=u,(r=[{key:"render",value:function(){return(0,l.jsxs)(n.Fragment,{children:[(0,l.jsx)(c.Z,{predicate:y,onWaitComplete:this.getUsnatApplies}),"function"==typeof this.props.children?this.props.children(this.state.usnatApplies):null,"function"!=typeof this.props.children&&this.state.usnatApplies?this.props.children:null]})}}])&&p(t.prototype,r),o&&p(t,o),u}(n.Component);b.propTypes={children:i().oneOfType([i().node,i().func]).isRequired,featureFlags:i().shape({FORCE_USNAT_APPLIES:i().bool.isRequired}).isRequired},t.Z=(0,u.Z)(s.Z)(b)},43177:function(e,t,r){"use strict";r(96928),r(61229),r(34115),r(634),r(58188),r(20796),r(15735),r(28673),r(6886);var n=r(2784),o=r(12436),i=r.n(o),a=r(45697),c=r.n(a),u=r(7799),s=r(52322);function l(e){return l="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},l(e)}function f(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}
1function p(e,t){return p=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},p(e,t)}function d(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 r,n=h(e);if(t){var o=h(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return m(this,r)}}function m(e,t){return!t||"object"!==l(t)&&"function"!=typeof t?v(e):t}function v(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function h(e){return h=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},h(e)}var _=function(e){!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&&p(e,t)}(c,e);var t,r,o,a=d(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=a.call(this,e)).ref=n.createRef(),t.test=i()(t.test.bind(v(t)),250),t.isInViewport=t.isInViewport.bind(v(t)),t.state={moved:!1},t}return t=c,r=[{key:"componentDidMount",value:function(){this.props.checkScroll&&(0,u.Z)().addEventListener("scroll",this.test,!0),this.props.checkResize&&(0,u.Z)().addEventListener("resize",this.test,!0)}},{key:"shouldComponentUpdate",value:function(){return!0}},{key:"componentWillUnmount",value:function(){this.props.checkScroll&&(0,u.Z)().removeEventListener("scroll",this.test),this.props.checkResize&&(0,u.Z)().removeEventListener("resize",this.test),this.unmounted=!0}},{key:"isInViewport",value:function(){var e=this.ref.current.getBoundingClientRect(),t=this.props,r=t.bufferTop,n=t.bufferBottom;return e.top+r>=0&&e.bottom-n<=((0,u.Z)().innerHeight||(0,u.Z)().document.documentElement.clientHeight)}},{key:"test",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];if(e&&!this.unmounted&&this.setState({moved:!0}),this.ref.current){if(this.props.waitUntilMoved&&!1===this.state.moved)return;this.props.children(this.isInViewport())}}},{key:"render",value:function(){return this.test(!1),(0,s.jsx)("div",{ref:this.ref})}}],r&&f(t.prototype,r),o&&f(t,o),c}(n.Component);_.defaultProps={bufferTop:0,bufferBottom:0,checkScroll:!0,checkResize:!0,waitUntilMoved:!1},_.propTypes={bufferTop:c().number,bufferBottom:c().number,checkScroll:c().bool,checkResize:c().bool,children:c().func.isRequired,waitUntilMoved:c().bool.isRequired},t.Z=_},58123:function(e,t,r){"use strict";r.d(t,{Z:function(){return y}});r(67890),r(34769),r(34115),r(95342),r(68625),r(1939),r(62775),r(2784);var n=r(45697),o=r.n(n),i=r(9276),a=r(30298),c=r(22749),u=r(90068),s=r(9665),l=r(31298),f={selectors:{gaTarget:function(e){return(0,l.yB)(e)?"item":(0,l.Ck)(e)?"section":null}}},p=r(65434),d=r(52322);function m(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function v(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function h(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}function _(e){var t=e.usageSetNavFrom,r=e.navFromEventName,n=e.onClick,o=h(e,["usageSetNavFrom","navFromEventName","onClick"]),c=function(e){return function(){e&&r&&t(r,e),n&&n.apply(void 0,arguments)}};return(0,d.jsx)(a.nN.Consumer,{children:function(e){return(0,d.jsx)(i.Z,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
1t%2?m(Object(r),!0).forEach((function(t){v(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):m(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},o,{onClick:c(e)}))}})}_.propTypes={isAmp:o().bool.isRequired,gaTarget:o().string,navFromEventName:o().oneOf(Object.values(c.f2)),onClick:o().func,styleVariation:o().string,usageSetNavFrom:o().func.isRequired};var y=(0,u.Z)(f,s.Z,p.Z)(_)},89463:function(e,t,r){"use strict";var n=r(46874),o=r(21681),i=r(3557),a=r(75585),c=r(41626),u={selectors:{accessorySections:function(e){return e.accessorySections},magazineInvite:a.NX,isMagazineInvitePending:a.o6},actions:{hideMainNavCTAs:c.r8,showMainNavCTAs:c.ag,toastInvalidInviteError:n.oe,startAcceptMagazineFlow:i.qy,startOldAcceptMagazineFlow:i.$u,usageTrackShowAcceptContributorInvite:o.QY,usageTapAcceptContributorInvite:o.Jf}};t.Z=u},97584:function(e,t,r){"use strict";var n=r(31298),o=r(20980),i="topic",a="magazine",c="profile",u="item",s={selectors:{adPageType:function(e){if((0,n.yB)(e))return u;if(!(0,n.Ck)(e))return null;var t=e.app.routing,r=t.path,s=t.params;if("/:shortcut/:shortcutId"===r&&"topic"===(null==s?void 0:s.shortcut))return i;if("/@:username"===r)return c;var l=(0,o.Pr)(e);return!l||l.placeholder||l.isStoryboard?null:l.isTopic||l.isSmartMagazine?i:l.isMagazine||"/@:username/:slug"===r?a:l.isProfile?c:null},adTopicSlug:function(e){if(!(0,n.Ck)(e))return null;var t=(0,o.Pr)(e);return(null==t?void 0:t.topicTag)||null}}};t.Z=s},45619:function(e,t,r){"use strict";var n={selectors:{adjustNavFromRoute:r(35638).O}};t.Z=n},9665:function(e,t,r){"use strict";var n={selectors:{isAmp:r(12960).S0}};t.Z=n},10713:function(e,t,r){"use strict";var n=r(41626),o={selectors:{appUrl:function(e){return e.app.appUrl}},actions:{setNavAppStoreUrl:n.u2,setAppUrl:n.sO}};t.Z=o},82706:function(e,t,r){"use strict";var n=r(83981),o=r(45338),i={selectors:{uid:n.LW,isAuthenticated:n.$8,signupCompleted:n.Q5},actions:{resendConfirmation:o.Di,logout:o.kS}};t.Z=i},37889:function(e,t,r){"use strict";var n=r(88731),o=r(21681),i={selectors:{comments:n.li},actions:{purgeComments:n.mO,createComment:n.Yr,loadComments:n.KT,removeComment:n.PN,reportComment:n.cC,usageTrackItemComment:o.cz,usageTrackItemSocialCardView:o.ck}};t.Z=i},3842:function(e,t,r){"use strict";var n=r(46874),o=r(31298),i=r(48519),a=r(91853),c=r(39768),u=r(20980),s={selectors:{contextualFollowSections:function(e){return e.content.contextualFollowSections},editorialBoards:function(e){return e.content.editorialBoards},primarySection:function(e){return(0,o.Ck)(e)&&(0,u.Pr)(e)||null},currentArticle:i.uL},actions:{loadPreviousAndSaveCurrentVisitedItems:n.p2,getEditorialBoards:a.Ze,addPostOnboardingSocialAction:c.Ih}};t.Z=s},32079:function(e,t,r){"use strict";var n=r(35616),o=r(23115),i={selectors:{currentUser:n.ar,currentUserVerified:n.Tq,currentUserVerifiedPublisher:n.UY,currentUserProfileSection:n.KT,allUserMagazines:n.Ho,currentUserData:n.Um,profile:function(e){return e.profile},publisher:function(e){return e.publisher.publisherInfo},isFavoritesFull:n.rO,isUserStateLoading:n.B5},actions:{fetchUserInfo:o.CS,addToCarousel:o.T1}};t.Z=i},59359:function(e,t,r){"use strict";var n=r(11162),o=r(71742);t.Z={selectors:{emailGroups:o.Er,emailGroupsLoaded:o.ad,subscriptionGroups:o.b9,statesLoaded:o.u$,preselectUnsubscribeComplete:o.TC,emailSettingsSaveState:o.zL,emailFromCode:o.Hc},actions:{getEmailSettingsMapping:n.kP,getEmailSettings:n.s2,subscribeToEmail:n._u,subscribeToAll:n.U3,unsubscribeFromPreselected:n.nu,savePendingSubscriptionGroups:n.C_,subscribeToPendingSubscriptionGroups:n.PC,preSelectSubscription:n.RK}}},19654:function(e,t,r){"use strict";var n={selectors:{featureFlags:function(e){return e.featureFlags}},actions:{setActiveFeatureFlags:r(33043).HH}};t.Z=n},88996:function(e,t,r){"use strict";r.d(t,{Z:function(){return a}});var n=r(75007),o=r(41626),i=r(63617),a={selectors:{videoAdTagUrl:function(e){var t=e.videoAdOptions;return(0,i.Z)(t)},shownVideoAd:function(e){var t=e.app.shownVideoAd;return t},adShowPercentage:function(){return n.Z.VIDEO_AD_SHOW_PERCENTAGE},videoAdsEnabled:function(e){return e.app.videoAdsEnabled||!1}},actions:{setShownVideoAd:o.Z3,refreshSignedMediaCookie:o.IY}}},67229:function(e,t,r){"use strict";r.d(t,{Z:function(){return u}});r(49228);
1var n=r(31298),o=r(26131),i=r(30001),a=r(23352),c=r(68460),u={selectors:{isFlipModeRoute:function(e){return(0,n.Ck)(e)},hasFlipModeFeature:function(e){return e.featureFlags.FAST_FLIP||!1},isFlipModeEnabled:function(e){return e.flipMode.enabled},flipModeTargetMagazine:function(e){var t=e.flipMode.targetRemoteId,r=e.profile,n=r.magazines,o=r.contributorMagazines;return n.find((function(e){return e.remoteid===t}))||o.find((function(e){return e.remoteid===t}))},flipPending:function(e){return e.magazine.flipState===i.SN.PENDING}},actions:{setFlipModeEnabled:o._,setTargetRemoteId:o.l,flipItem:a.$Z,toastDismiss:c.toastDismiss}}},4329:function(e,t,r){"use strict";var n=r(46874);t.Z={actions:{getSection:n.If}}},57702:function(e,t,r){"use strict";var n={selectors:{isArticleRoute:r(31298).yB}};t.Z=n},56976:function(e,t){"use strict";var r={selectors:{lang:function(e){return e.app.lang},locale:function(e){return e.app.locale}}};t.Z=r},28269:function(e,t,r){"use strict";var n=r(23352),o={selectors:{},actions:{flipUrl:n.YN,flipSection:n.HH,flipItem:n.$Z,pinMagazineItem:n.YD,unpinMagazineItem:n.dt}};t.Z=o},68869:function(e,t,r){"use strict";r(34769),r(34115),r(95342),r(68625),r(1939),r(62775);var n=r(23030);function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function i(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var a={selectors:{googleAdVisibility:function(e){var t=e.app;return null!=t&&t.isAmp?1:0},currentModals:function(e){return e.modal.current},modalLoginComplete:function(e){return e.modal.modalLoginComplete}},actions:function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?o(Object(r),!0).forEach((function(t){i(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):o(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},{isModalShown:n.zQ,dismissModal:n.Yz,dismissSpecificModal:n.mb,dismissAllModals:n.nm,setModalLoginComplete:n.Kf},{showModal:n.K4})};t.Z=a},97686:function(e,t,r){"use strict";r.d(t,{Z:function(){return O}});var n=r(39768),o=(r(35666),r(58188),r(88233),r(18178),r(95342),r(73439),r(34769),r(34115),r(68625),r(1939),r(62775),r(634),r(20796),r(15735),r(28673),r(6886),r(27233),r(32501),r(26936),r(75652)),i=r.n(o),a=r(84636),c=r.n(a),u=r(23115),s=r(35616),l=r(12933),f=r(68460),p=r(63229);function d(e){return function(e){if(Array.isArray(e))return m(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return m(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return m(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function m(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function v(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function h(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?v(Object(r),!0).forEach((function(t){_(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):v(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function _(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function y(e,t,r,n,o,i,a){try{var c=e[i](a),u=c.value}catch(e){return void r(e)}c.done?t(u):Promise.resolve(u).then(n,o)}function b(e){return function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(e){y(i,n,o,a,c,"next",e)}function c(e){y(i,n,o,a,c,"throw",e)}a(void 0)}))}}var E=function(e){var t=e.authorDisplayName,r=e.userid,n=e.service,o=e.username;return{authorDisplayName:t,authorID:r.toString(),authorUsername:o,serviceName:n}},g={muteAuthor:function(e){return function(){var t=b(regeneratorRuntime.mark((function t(r,n,o){var i;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return i=o.t,t.prev=1,t.next=4,r((0,u.II)((function(){var t=E(e),r=h({},(0,s.Um)(n()));return r.mutedAuthors=c()([].concat(d(r.mutedAuthors||[]),[t]),"authorID"),r})));case 4:r({type:l.US.MUTE_AUTHOR_SUCCEEDED,payload:{author:e}}),r((0,f.toastShowInfoAction)(i("mute_toast_message",{label:e.authorDisplayName}))),t.next=11;break;case 8:t.prev=8,t.t0=t.catch(1),r((0,f.toastShowErrorAction)(i("mute_failure")));case 11:case"end":return t.stop()}}),t,null,[[1,8]])})));return function(e,r,n){return t.apply(this,arguments)}}()},unmuteAuthor:function(e){return function(){var t=b(regeneratorRuntime.mark((function t(r,n,o){var i;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return i=o.t,t.prev=1,t.next=4,r((0,u.II)((function(){var t=E(e),r=(0,s.Um)(n()),o=h({},r);return o.mutedAuthors=((null==r?void 0:r.mutedAuthors)||[]).filter((function(e){return!(0,p.Z)(e.authorID,t.authorID)})),o})));case 4:r({type:l.US.UNMUTE_AUTHOR_SUCCEEDED,payload:{author:e}}),r((0,f.toastShowInfoAction)(i("unmute_toast_message",{label:e.authorDisplayName}))),t.next=11;break;case 8:t.prev=8,t.t0=t.catch(1),r((0,f.toastShowErrorAction)(i("mute_failure")));case 11:case"end":return t.stop()}}),t,null,[[1,8]])})));return function(e,r,n){return t.apply(this,arguments)}}()},muteSourceDomain:function(e){return function(){var t=b(regeneratorRuntime.mark((function t(r,n,o){var a;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return a=o.t,t.prev=1,t.next=4,r((0,u.II)((function(){var t=h({},(0,s.Um)(n()));return t.mutedSourceDomains=i()([].concat(d(t.mutedSourceDomains||[]),[e])),t})));case 4:r({type:l.US.MUTE_SOURCE_DOMAIN_SUCCEEDED,payload:{domain:e}}),r((0,f.toastShowInfoAction)(a("mute_toast_message",{label:e}))),t.next=11;break;case 8:t.prev=8,t.t0=t.catch(1),r((0,f.toastShowErrorAction)(a("mute_failure")));case 11:case"end":return t.stop()}}),t,null,[[1,8]])})));return function(e,r,n){return t.apply(this,arguments)}}()},unmuteSourceDomain:function(e){return function(){var t=b(regeneratorRuntime.mark((function t(r,n,o){var i;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return i=o.t,t.prev=1,t.next=4,r((0,u.II)((function(){var t=(0,s.Um)(n()),r=h({},t);return r.mutedSourceDomains=((null==t?void 0:t.mutedSourceDomains)||[]).filter((function(t){return t!==e})),r})));case 4:r({type:l.US.UNMUTE_SOURCE_DOMAIN_SUCCEEDED,payload:{domain:e}}),r((0,f.toastShowInfoAction)(i("unmute_toast_message",{label:e}))),t.next=11;break;case 8:t.prev=8,t.t0=t.catch(1),r((0,f.toastShowErrorAction)(i("mute_failure")));case 11:case"end":return t.stop()}}),t,null,[[1,8]])})));return function(e,r,n){return t.apply(this,arguments)}}()},updateRelatedItemPreference:n.ID,updateUserContentOptions:n.UJ},O={actions:g}},21929:function(e,t,r){"use strict";var n=r(3557),o={selectors:{onboardingFlow:n.Xk,currentOnboardingStep:n.E4,onboardingPending:n.jZ,onboardingData:n.Aq},actions:{startOnboardingFlow:n.Qo,continueOnboardingFlow:n.Gm,setCurrentOnboardingStep:n.LN,nextOnboardingStep:function(){return function(e,t){var r=(0,n.E4)(t()),o=null===r?0:r+1;
1e((0,n.LN)(o))}},runOnboardingFlowStep:function(e){return function(t){t(e)}}}};t.Z=o},41985:function(e,t,r){"use strict";var n=r(35616);t.Z={selectors:{smartMagazines:n.yS}}},60986:function(e,t,r){"use strict";var n=r(18529),o={selectors:{viewportType:n.wS,isPhone:n.Mn,isSmallScreen:n.rA,isTablet:n.Em,isTabletNarrow:n.Hi,isTabletWide:n.Kz,isDesktop:n.nI,isLargeScreen:n.HS,isWideLargeScreen:n.N8}};t.Z=o},39285:function(e,t,r){"use strict";var n=r(31298),o=r(77070),i={selectors:{routing:function(e){return e.app.routing},isFromBranchInvite:function(e){return!!(0,o.E)(e)},isHomeRoute:n.hN,isAuthRoute:n.qg,isNewslettersRoute:n.Bn,magazineInvite:function(e){return e.magazineInvite}}};t.Z=i},65479:function(e,t,r){"use strict";var n=r(76119),o={selectors:{},actions:{searchTopics:n.DK,search:n.yC}};t.Z=o},54508:function(e,t,r){"use strict";var n=r(21681);t.Z={actions:{sendUsageEventWithSession:n.Dj}}},94917:function(e,t,r){"use strict";var n=r(61312),o={selectors:{socialActivity:function(e){return e.socialActivity}},actions:{purgeSocialActivity:n.SZ,queueLoadMissingSocialActivity:n.oY}};t.Z=o},8225:function(e,t,r){"use strict";var n=r(12960),o={selectors:{appTheme:n.yG,appThemeOverride:n.Dq}};t.Z=o},65434:function(e,t,r){"use strict";var n={actions:{usageSetNavFrom:r(21681).F$}};t.Z=n},20699:function(e,t,r){"use strict";var n=r(21681),o={actions:{usageTrackTapFlip:n.G7,usageTrackTapFlipItem:n.V,usageTrackTapFlipSection:n.LS}};t.Z=o},83795:function(e,t,r){"use strict";var n=r(35616);t.Z={selectors:{isUserStateLoading:n.B5}}},50666:function(e,t,r){"use strict";r.d(t,{Z:function(){return o}});var n=r(35616),o={selectors:{showAccountVerificationStatus:function(e){return!(!(0,n.ar)(e)||(0,n.Tq)(e))}}}},13372:function(e,t,r){"use strict";r.d(t,{Z:function(){return O}});var n=r(90068),o=(r(26936),r(67890),r(2784),r(45697)),i=r.n(o),a=r(45828),c=r(30001),u=r(17060),s=r(93039),l=r(22749),f=r(66263),p=r(26626),d=r(14175),m=r(32652),v=r(37757),h=r(65434),_=r(9665),y=r(52322);function b(e){var t=e.name,r=e.appStoreUrl,n=e.navAppStoreUrl,o=e.isAmp,i=e.navFrom,u=e.styleVariation,d=e.styleModifier,m=e.getAdjustUrl,v=e.onClick,h=e.usageSetNavFrom,_=e.usageTrackTapOpenInAppButton,b=e.t,E=m(o?a.Z.APP_STORE_URL_FOR_NAV_AMP:r||n,i);return(0,y.jsx)(p.ZP,{name:t,styleVariation:u,styleModifier:d,href:E,onClick:function(){v&&v(),h(l.f2.OPEN_IN_APP,i),_(),f.Z.trackClickButton(c.g8.DOWNLOAD_APP)},tooltip:b("open_in_app_tooltip"),children:(0,s.Z)(b("open_in_app"))})}b.propTypes={name:i().string.isRequired,isAmp:i().bool,appStoreUrl:i().string,navAppStoreUrl:i().string.isRequired,navFrom:i().string,styleVariation:i().oneOf(Object.values(p.NV)),styleModifier:i().arrayOf(u.Z.memberOf(p._Z)),getAdjustUrl:i().func.isRequired,onClick:i().func,usageSetNavFrom:i().func.isRequired,usageTrackTapOpenInAppButton:i().func.isRequired,t:i().func.isRequired},b.defaultProps={navFrom:null,styleVariation:p.NV.PRIMARY,styleModifier:[p._Z.NONE],appStoreUrl:null,onClick:null};var E=(0,n.Z)(h.Z,_.Z,{selectors:{navAppStoreUrl:function(e){return e.app.navAppStoreUrl}}})((0,v.Z)((0,d.Z)((0,m.Z)(b)))),g=r(21681),O=(0,n.Z)({actions:{usageTrackTapOpenInAppButton:g.Ez}})(E)},44923:function(e,t,r){"use strict";r.d(t,{Z:function(){return I}});var n=r(90068),o=r(21681),i=(r(96928),r(61229),r(34115),r(634),r(58188),r(20796),r(15735),r(28673),r(6886),r(2784)),a=r(45697),c=r.n(a),u=r(45828),s=r(22749),l=r(32652),f=r(26626),p=r(48758),d=r(50839),m=r(70042),v=r(37757),h=r(65434),_=r(52322);function y(e){return y="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},y(e)}function b(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function E(e,t){return E=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},E(e,t)}function g(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 r,n=A(e);if(t){var o=A(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return O(this,r)}}function O(e,t){return!t||"object"!==y(t)&&"function"!=typeof t?S(e):t}function S(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function A(e){return A=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},A(e)}var T=function(e){!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(e,t)}(i,e);var t,r,n,o=g(i);function i(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),(t=o.call(this,e)).handleClickOpenInApp=t.handleClickOpenInApp.bind(S(t)),t}return t=i,(r=[{key:"componentDidMount",value:function(){(0,this.props.usageTrackMobileSocialGatePickerDisplayed)()}},{key:"componentWillUnmount",value:function(){(0,this.props.usageTrackMobileSocialGatePickerExit)(s.dq.DISMISS)}},{key:"handleClickOpenInApp",value:function(){var e=this.props,t=e.usageSetNavFrom,r=e.usageTrackTapOpenInAppButton,n=e.usageTrackMobileSocialGatePickerExit;t(s.f2.OPEN_IN_APP,s.rf.MOBILE_GATE_BOTTOM_PICKER),r(),n(s.dq.OPEN_IN_APP)}},{key:"render",value:function(){var e=this.props.t,t=e("download_the_app_gate"),r=this.props.getAdjustUrl(u.Z.APP_STORE_URL_FOR_MOBILE_GATE,s.rf.MOBILE_GATE_BOTTOM_PICKER);return(0,_.jsx)(d.Z,{name:"social-see-this-in-gate",modalTheme:m.J9.BOTTOM_SHEET,overlayModifier:m.n6.LIGHT,children:(0,_.jsxs)("div",{className:"mobile-gate mobile-gate--picker",children:[(0,_.jsx)("h1",{className:"mobile-gate__header ui-text--body",children:t}),(0,_.jsx)("div",{className:"mobile-gate__buttons",children:(0,_.jsxs)("div",{className:"mobile-gate__buttons-app",children:[(0,_.jsxs)("div",{className:"mobile-gate__app-label",children:[(0,_.jsx)(p.Z,{size:40}),(0,_.jsx)("span",{className:"ui-text--body",children:e("flipboard_app")})]}),(0,_.jsx)(f.ZP,{name:"social-gate__use-app",label:e("open"),styleVariation:f.NV.PRIMARY,href:r,onClick:this.handleClickOpenInApp})]})})]})})}}])&&b(t.prototype,r),n&&b(t,n),i}(i.Component);T.propTypes={experiments:c().object,t:c().func.isRequired,getAdjustUrl:c().func.isRequired,usageSetNavFrom:c().func.isRequired,usageTrackMobileSocialGatePickerDisplayed:c().func.isRequired,usageTrackMobileSocialGatePickerExit:c().func.isRequired,usageTrackTapOpenInAppButton:c().func.isRequired};var R=(0,n.Z)(h.Z)((0,l.Z)((0,v.Z)(T))),I=(0,n.Z)({actions:{usageTrackMobileSocialGatePickerDisplayed:o.r6,usageTrackMobileSocialGatePickerExit:o.GD,usageTrackTapOpenInAppButton:o.Ez}})(R)},19085:function(e,t,r){"use strict";r.d(t,{Z:function(){return V}});var n=r(90068),o=r(21681),i=(r(96928),r(61229),r(34115),r(634),r(58188),r(20796),r(15735),r(28673),r(6886),r(12167)),a=(r(18178),r(2784)),c=r(52750),u=r(49372),s=r(5109),l=r(22749),f=r(28144),p=r(70042),d=r(26626),m=r(13372),v=r(34537),h=r(84694),_=r(31949),y=r(50839),b=r(30298),E=r(30001),g=r(37757),O=r(60986),S=r(32079),A=r(82706),T=r(68869),R=r(19654),I=r(52322);function P(e){return P="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},P(e)}function C(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function w(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}
1function j(e,t){return j=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},j(e,t)}function N(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 r,n=x(e);if(t){var o=x(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return L(this,r)}}function L(e,t){return!t||"object"!==P(t)&&"function"!=typeof t?D(e):t}function D(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function x(e){return x=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},x(e)}function M(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Z=(0,i.Z)(y.Z,{target:"eneq2mu3"})({padding:u.N.LARGE},""),U=(0,i.Z)("h1",{target:"eneq2mu2"})({marginBottom:u.N.LARGE},s.TK.TITLE,""),k=(0,i.Z)("p",{target:"eneq2mu1"})(s.TK.BODY,""),F=(0,i.Z)(_.ZP,{target:"eneq2mu0"})(M({padding:0,width:"100%"},(0,c.PZ)(_.lj),{marginTop:u.N.BASE6X}),"");function G(e){var t=e.actionType,r=e.t,n=e.currentUserVerified,o=e.isAuthenticated,i="",a="";switch(t){case E.hk.COMMENTS:i=r("join_the_discussion"),a=r("signup_to_share_your_ideas");break;case E.hk.FOLLOW:i=r("follow_on_flipboard"),a=r("sign_up_to_follow");break;case E.hk.FOLLOW_TOPIC:i=r("follow_topic_on_flipboard"),a=r("sign_up_to_follow_topic");break;case E.hk.ACCEPT_INVITE:i=r("start_contributing_into_this_magazine"),a=r("sign_up_to_accept_invitation");break;case E.hk.LIKE:i=r("like_to_personalize"),a=r("sign_up_to_like");break;
1case E.hk.FAVORITE:i=r("add_to_favorites"),a=r("sign_up_to_favorite");break;case E.hk.FLIP:i=r("flip_to_save_and_share"),a=r(o&&!n?"verify_to_flip":"sign_up_to_flip");break;case E.hk.PERSONALIZE:i=r("tune_your_experience"),a=r("sign_up_to_personalize");break;default:i=r("want_more_stories"),a=r("sign_up_to_see_more")}return[(0,I.jsx)(U,{children:i},0),(0,I.jsx)(k,{children:a},1)]}var B=function(e){!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&&j(e,t)}(i,e);var t,r,n,o=N(i);function i(){var e;C(this,i);for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return M(D(e=o.call.apply(o,[this].concat(r))),"socialGateUsageType",(function(){var t=e.props,r=t.featureFlags,n=t.actionType,o=l.NK["FRICTIONLESS_".concat(n,"_SOCIAL_GATE_OVERLAY")];return r.FRICTIONLESS_SIGNUP_ONLY&&o?o:"social_gate_overlay"})),M(D(e),"modalControls",(function(){var t=e.props,r=t.isAuthenticated,n=t.currentUserVerified,o=t.isPhone,i=t.usageTrackSocialGateOverlayExit,a=t.mobileGateOverride,c=t.actionType,u=t.featureFlags,s=t.onboardingFlow,f=t.continueFlow,p=t.onComplete,_=t.t;return u.FRICTIONLESS_SIGNUP_ONLY&&!r?(0,I.jsx)(F,{frictionlessType:E.go.ACTION_GATE,showDisclaimer:!0,socialGateActionType:c,showLogin:!0}):o&&!a?(0,I.jsx)(m.Z,{name:"social-action-gate-signup",onClick:function(){return i(e.socialGateUsageType(),l.dq.OPEN_IN_APP)}}):r&&!n?(0,I.jsx)(h.Z,{name:"verify-account-cta-resend-email",styleVariation:d.NV.PRIMARY,onResendEmail:e.props.dismissModal}):(0,I.jsx)(v.Z,{name:"social-action-gate-signup",label:_("continue"),styleVariation:d.NV.PRIMARY,displayStyle:l.co.SOCIAL_ACTION_GATE_CTA,overrideOnboardingFlow:s,continueFlow:f,onClick:p})})),e}return t=i,(r=[{key:"componentDidMount",value:function(){(0,this.props.usageTrackSocialGateOverlayDisplayed)(this.socialGateUsageType())}},{key:"componentWillUnmount",value:function(){(0,this.props.usageTrackSocialGateOverlayExit)(this.socialGateUsageType(),l.dq.DISMISS)}},{key:"render",value:function(){return(0,I.jsx)(b.nN.Provider,{value:l.rf.MOBILE_GATE_OVERLAY,children:(0,I.jsxs)(Z,{name:"social-action-gate",modalTheme:p.J9.WINDOW,children:[(0,I.jsx)("section",{className:"content-gate modal__content",children:G(this.props)}),(0,I.jsx)(f.Z,{modalName:"social-gate-modal",closeButtonSize:18,showCloseButton:!0,onDismiss:this.props.dismissModal,children:this.modalControls()})]})})}}])&&w(t.prototype,r),n&&w(t,n),i}(a.Component);M(B,"defaultProps",{mobileGateOverride:!1,continueFlow:!1});var z=(0,n.Z)(A.Z,S.Z,R.Z,O.Z,T.Z)((0,g.Z)(B)),V=(0,n.Z)({actions:{usageTrackSocialGateOverlayDisplayed:o.Kj,usageTrackSocialGateOverlayExit:o.RP}})(z)},41139:function(e,t,r){"use strict";r.d(t,{Z:function(){return E}});r(95342),r(34769),r(34115),r(68625),r(1939),r(62775);var n=r(12291),o=r(23115),i=(r(2784),r(45697)),a=r.n(i),c=r(26626),u=r(138),s=r(30001),l=r(37757),f=r(90068),p=r(82706),d=r(68869),m=r(52322),v=function(e){var t=e.addFavorite,r=e.favoritesFull,n=e.isAuthenticated,o=e.loading,i=e.removeFavorite,a=e.className,u=e.showSocialActionGate,l=e.styleModifier,f=e.styleVariation,p=e.remoteIdInCarouselFavorites,d=e.addPostOnboardingSocialAction,v=e.section,h=e.t;return(0,m.jsx)(c.ZP,{name:"section-header-favorite",className:a,label:h(p?"remove_favorite":"add_favorite"),styleVariation:f||c.NV.PRIMARY,styleModifier:l||[c._Z.INVERSE],tooltip:!p&&r?h("favorites_full"):null,disabled:o||!p&&r,onClick:function(){n?p?i.apply(void 0,arguments):t.apply(void 0,arguments):(d({favorite:{sectionId:v.remoteid,title:v.title}}),u(s.hk.FAVORITE))}})};v.propTypes={remoteIdInCarouselFavorites:a().string,addFavorite:a().func.isRequired,favoritesFull:a().bool.isRequired,isAuthenticated:a().bool.isRequired,loading:a().bool.isRequired,removeFavorite:a().func.isRequired,className:a().string,showSocialActionGate:a().func.isRequired,addPostOnboardingSocialAction:a().func.isRequired,styleModifier:a().array,styleVariation:a().string,section:a().object.isRequired,t:a().func.isRequired},v.defaultProps={className:null};var h=(0,f.Z)(p.Z,d.Z)((0,l.Z)((0,u.Z)(v))),_=r(80768);function y(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function b(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var E=(0,n.$j)((function(e,t){var r=e.profile,n=r.isLoading,o=r.favoritesUpdating,i=r.favorites,a=r.smartMagazines,c=e.auth,u=t.section,s=_.Z.isInCarouselFavorites(u,i,a),l=i.filter((function(e){return!e.dynamicFeed}));return{uid:c.uid,loading:n||o,favoritesFull:l.length>=10,remoteIdInCarouselFavorites:s}}),(function(e){return{addFavorite:function(t){return e((0,o.T1)(t.remoteid,t.title))},removeFavorite:function(t){return e((0,o.Tu)(t))}}}),(function(e,t,r){return function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
1t%2?y(Object(r),!0).forEach((function(t){b(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):y(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},e,{},t,{},r,{addFavorite:function(){return t.addFavorite(r.section)},removeFavorite:function(){return t.removeFavorite(e.remoteIdInCarouselFavorites)}})}))(h)},34537:function(e,t,r){"use strict";r.d(t,{Z:function(){return O}});var n=r(90068),o=r(21681),i=(r(77950),r(94908),r(15735),r(81804),r(95342),r(35883),r(39529),r(34769),r(34115),r(634),r(58188),r(20796),r(28673),r(6886),r(32501),r(26936),r(27233),r(68625),r(1939),r(62775),r(2784),r(30001)),a=r(53122),c=r(7799),u=r(26626),s=r(37757),l=r(68869),f=r(45619),p=r(21929),d=r(52322);function m(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function v(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function h(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var r=[],n=!0,o=!1,i=void 0;try{for(var a,c=e[Symbol.iterator]();!(n=(a=c.next()).done)&&(r.push(a.value),!t||r.length!==t);n=!0);}catch(e){o=!0,i=e}finally{try{n||null==c.return||c.return()}finally{if(o)throw i}}return r}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return _(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return _(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function _(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function y(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var b=["styleVariation","styleModifier","name","className"],E=function(e){var t=e.overrideOnboardingFlow,r=e.continueFlow,n=e.label,o=e.displayStyle,i=e.onClick,s=e.usageTrackSignupButtonTap,l=e.customUsageData,f=e.continueOnboardingFlow,p=e.startOnboardingFlow,_=e.t,E=y(e,["overrideOnboardingFlow","continueFlow","label","displayStyle","onClick","usageTrackSignupButtonTap","customUsageData","continueOnboardingFlow","startOnboardingFlow","t"]),g=Object.fromEntries(Object.entries(E).filter((function(e){var t=h(e,1)[0];return b.includes(t)})));return(0,d.jsx)(u.ZP,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?m(Object(r),!0).forEach((function(t){v(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):m(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({href:"/signup"},g,{label:n||_("sign_up"),onClick:function(e){if(!e.ctrlKey){s(o,l);var n=new Date(Date.now()+9e5);(0,a.d7)("redirect_after_auth",(0,c.Z)().location.pathname+(0,c.Z)().location.search,n),i&&i(e),e.preventDefault(),r?f(t):p(t)}},tooltip:_("signup_tooltip")}))};E.defaultProps={label:null,overrideOnboardingFlow:i.XX.SIGNUP_BUTTON};var g=(0,n.Z)(l.Z,p.Z,f.Z)((0,s.Z)(E)),O=(0,n.Z)({actions:{usageTrackSignupButtonTap:o.u7}})(g)},32353:function(e,t,r){"use strict";r.d(t,{Z:function(){return j}});var n=r(90068),o=r(21681),i=(r(35666),r(18178),r(95342),r(43450),r(96928),r(61229),r(58188),r(73439),r(34115),r(634),r(20796),r(15735),r(28673),r(6886),r(2784)),a=r(66263),c=r(22480),u=r(80768),s=r(28144),l=r(8626),f=r(26626),p=r(43260),d=r(84308),m=r(37757),v=r(68869),h=r(52322);function _(e){return _="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},_(e)}function y(e,t,r,n,o,i,a){try{var c=e[i](a),u=c.value}catch(e){return void r(e)}c.done?t(u):Promise.resolve(u).then(n,o)}function b(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function E(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function g(e,t){return g=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},g(e,t)}function O(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 r,n=T(e);if(t){var o=T(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return S(this,r)}}function S(e,t){return!t||"object"!==_(t)&&"function"!=typeof t?A(e):t}function A(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function T(e){return T=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},T(e)}function R(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var I=function(e){!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&&g(e,t)}(_,e);var t,r,n,o,m,v=O(_);function _(){var e;b(this,_);for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return R(A(e=v.call.apply(v,[this].concat(r))),"state",{selectedCustomizations:e.props.selectedCustomizations.filter((function(t){return t.title!==e.props.topic.title})),sectionGroups:[],isLoadingSectionGroups:!0}),R(A(e),"handleSubmit",(function(t){a.Z.trackClickButton("add favorite - done"),e.setState({isLoadingSectionGroups:!0,selectedCustomizations:t},(function(){return e.props.onSubmit(e.state.selectedCustomizations)}))})),R(A(e),"handleBack",(function(){a.Z.trackClickButton("add favorite - personalize - back"),e.props.goBack&&e.props.goBack()})),e}return t=_,r=[{key:"componentDidMount",value:(o=regeneratorRuntime.mark((function e(){var t,r,n,o,i;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=this.props,r=t.topic,n=t.fetchTopicCustomizations,o=t.t,e.next=3,n(r.remoteid);case 3:i=e.sent,this.setState({sectionGroups:i.map((function(e){return e.title||(e.title=o("what_else_do_you_like",{topicTitle:r.title})),e})),isLoadingSectionGroups:!1});case 5:case"end":return e.stop()}}),e,this)})),m=function(){var e=this,t=arguments;return new Promise((function(r,n){var i=o.apply(e,t);function a(e){y(i,r,n,a,c,"next",e)}function c(e){y(i,r,n,a,c,"throw",e)}a(void 0)}))},function(){return m.apply(this,arguments)})},{key:"isSelected",value:function(e){return u.Z.sectionsIncludesSection(this.state.selectedCustomizations,e)}},{key:"render",value:function(){var e=this,t=this.props,r=t.topic,n=t.goBack,o=t.dismissModal,a=t.forceSubmittable,u=t.t,m=this.state,v=m.sectionGroups,_=m.selectedCustomizations,y=m.isLoadingSectionGroups;return(0,h.jsx)(d.Z,{title:(0,h.jsx)(i.Fragment,{children:(0,c.Z)(u("personalize_topic",{topicTitle:this.props.topic.title}),{topicTag:function(){return(0,h.jsx)(l.Z,{section:e.props.topic,styleVariation:l.B.COLOR_ONLY,isClickable:!1})}})}),description:u("topic_personalize_description",{topicTitle:r.title}
1),noResultsText:u("no_subtopics_found"),className:"modal__content",onSubmit:this.handleSubmit,followableGroups:v,followed:_,isLoadingFollowableGroups:y,collapsible:!0,children:function(t){var r=t.content,c=t.submit,l=t.isSearching,d=t.clearSearch,m=t.isSubmittable,v=t.isLoading;return(0,h.jsxs)(i.Fragment,{children:[r,!v&&(0,h.jsxs)(s.Z,{className:"topic-controls",fixedControls:!0,children:[n&&(0,h.jsxs)(f.ZP,{className:"topic-customization__back-button",name:"topic-customization-back",onClick:e.handleBack,children:[(0,h.jsx)(p.Z,{size:9})," ",u("back")]}),(0,h.jsx)(f.ZP,{name:"topic-customization-cancel",styleVariation:f.NV.SECONDARY,onClick:function(){if(l)return d();o()},children:u(l?"back":"cancel")}),(0,h.jsx)(f.ZP,{name:"topic-customization-done",className:"topic-customization__submit-button",styleVariation:f.NV.PRIMARY,onClick:c,disabled:!a&&!m,children:u(l?"next":"save")})]})]})}})}}],r&&E(t.prototype,r),n&&E(t,n),_}(i.Component);R(I,"defaultProps",{selectedCustomizations:[],goBack:null,forceSubmittable:!1});var P=(0,n.Z)(v.Z)((0,m.Z)(I)),C=r(11967),w={actions:{usageTrackOnboardExit:o.Bc,fetchTopicCustomizations:C.q8}},j=(0,n.Z)(w)(P)},32652:function(e,t,r){"use strict";var n=r(12291),o=r(69028),i=r(43734);t.Z=function(e){return(0,n.$j)((function(e){var t=e.app,r=t.appUrl,n=t.isAmp,a=t.adjustNavFrom,c=t.adjustSectionId,u=t.utmParams,s=t.noExperiments,l=t.experiments,f=t.referrer;return{getAdjustUrl:function(e,t){return o.Z.urlWithParams(e,r,n,a,c,s?null:i.Z.experimentsForTracking(l),t,u,f)}}}))(e)}},87135:function(e,t,r){"use strict";r.d(t,{Z:function(){return a}});var n=r(90068),o=r(41626),i=function(e){var t=e&&e.app&&e.app.breadcrumbs;return t&&0!==t.length},a=function(e){return(0,n.Z)({selectors:{hasBreadcrumbs:i},actions:{setBreadcrumbs:o.pz,resetBreadcrumbs:o.Cr}})(e)}},15155:function(e,t,r){"use strict";r(26936),r(34769),r(34115),r(95342),r(68625),r(1939),r(62775);var n=r(2784),o=r(7799),i=r(77690),a=r(52322);function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function u(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?c(Object(r),!0).forEach((function(t){s(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):c(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function s(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}t.Z=function(e){return function(t){(0,n.useEffect)((function(){return(0,o.Z)().addEventListener("click",s,!0),function(){window.removeEventListener("click",s,!0)}}),[]);var r=n.useRef(null),c=n.useRef(null),s=function(t){if(r){var n=r.current;if(n&&!n.contains(t.target)){var o=c&&c.current;if(null==o||!o.handleClickOutside)return i.ZP.warn("Components using withClickOutside should implement a handleClickOutside function. See the Component: ".concat(e.name));o.handleClickOutside(t)}}};return(0,a.jsx)("div",{ref:r,children:(0,a.jsx)(e,u({},t,{ref:c}))})}}},75027:function(e,t,r){"use strict";r(96928),r(61229),r(34769),r(34115),r(95342),r(68625),r(1939),r(62775),r(634),r(58188),r(20796),r(15735),r(28673),r(6886);var n=r(2784),o=r(45697),i=r.n(o),a=r(31975),c=r(10950),u=r(22749),s=r(30001),l=r(14175),f=r(138),p=r(90068),d=r(82706),m=r(68869),v=r(32079),h=r(65434),_=r(20699),y=r(52322);function b(e){return b="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},b(e)}function E(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function g(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function O(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}
1function S(e,t){return S=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},S(e,t)}function A(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 r,n=I(e);if(t){var o=I(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return T(this,r)}}function T(e,t){return!t||"object"!==b(t)&&"function"!=typeof t?R(e):t}function R(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function I(e){return I=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},I(e)}var P=(0,a.Z)("FlipComposeModal");t.Z=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&&S(e,t)}(a,t);var r,n,o,i=A(a);function a(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),(t=i.call(this,e)).handleFlip=t.handleFlip.bind(R(t)),t}return r=a,n=[{key:"handleFlip",value:function(e){var t=e.item,r=e.section,n=e.onClick,o=e.callback,i=this.props,a=i.isAuthenticated,c=i.showModal,l=i.navFrom,f=i.showSocialActionGate,p=i.profile,d=i.currentUserVerified,m=i.usageSetNavFrom,v=i.usageTrackTapFlipItem,h=i.usageTrackTapFlipSection,_=i.addPostOnboardingSocialAction;t?(m(u.f2.TAP_FLIP,l),v(r,t,p)):r&&(m(u.f2.TAP_FLIP,l),h(r,p)),a&&d?(n&&n(),c(P,{item:t,section:r,navFrom:l}),o&&o()):(_({flip:{item:t,section:r,navFrom:l}}),f(s.hk.FLIP),e.callback&&e.callback())}},{key:"render",value:function(){return(0,y.jsx)(e,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?E(Object(r),!0).forEach((function(t){g(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):E(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},this.props,{onFlip:this.handleFlip}))}}],n&&O(r.prototype,n),o&&O(r,o),a}(n.Component);return t.displayName=c.Z.displayName(e),t.propTypes={isAuthenticated:i().bool.isRequired,showModal:i().func.isRequired,navFrom:i().string,showSocialActionGate:i().func.isRequired,usageSetNavFrom:i().func.isRequired,usageTrackTapFlipItem:i().func.isRequired,usageTrackTapFlipSection:i().func.isRequired,profile:i().object,currentUserVerified:i().bool.isRequired,addPostOnboardingSocialAction:i().func.isRequired},t.defaultProps={navFrom:null,profile:null},(0,p.Z)(d.Z,m.Z,_.Z,h.Z,v.Z)((0,l.Z)((0,f.Z)(t)))}},28041:function(e,t,r){"use strict";r(35666),r(1939),r(95342),r(39529),r(31235),r(96928),r(61229),r(58188),r(73439),r(34769),r(34115),r(68625),r(62775),r(634),r(20796),r(15735),r(28673),r(6886);var n=r(2784),o=r(12291),i=r(45697),a=r.n(i),c=r(14890),u=r(10950),s=r(22749),l=r(47573),f=r(93117),p=r(23115),d=r(21681),m=r(30001),v=r(14175),h=r(138),_=r(90068),y=r(82706),b=r(65434),E=r(52322);function g(e){return g="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},g(e)}function O(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function S(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function A(e,t,r,n,o,i,a){try{var c=e[i](a),u=c.value}catch(e){return void r(e)}c.done?t(u):Promise.resolve(u).then(n,o)}function T(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}
1function R(e,t){return R=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},R(e,t)}function I(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 r,n=w(e);if(t){var o=w(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return P(this,r)}}function P(e,t){return!t||"object"!==g(t)&&"function"!=typeof t?C(e):t}function C(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function w(e){return w=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},w(e)}t.Z=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&&R(e,t)}(u,t);var r,n,o,i,a,c=I(u);function u(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,u),(t=c.call(this,e)).isFollowed=t.isFollowed.bind(C(t)),t.handleFollow=t.handleFollow.bind(C(t)),t.handleUnfollow=t.handleUnfollow.bind(C(t)),t.filterUnfollowed=t.filterUnfollowed.bind(C(t)),t}return r=u,n=[{key:"isFollowed",value:function(){var e,t,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n=this.props.followingIds,o=r||this.props.section;if(!o)return!1;var i=null==o?void 0:o.normalizedRemoteid,a=l.ZP.normalizeRemoteid(null==o||null===(e=o.rootTopic)||void 0===e?void 0:e.remoteid),c=l.ZP.normalizeRemoteid(null==o||null===(t=o.ssid)||void 0===t?void 0:t.remoteidPlain),u=l.ZP.normalizeRemoteid(null==o?void 0:o.sectionID);return n.some((function(e){var t=l.ZP.normalizeRemoteid(e);return t===i||t===a||t===c||t===u}))}},{key:"handleFollow",value:(i=regeneratorRuntime.mark((function e(t){var r,n,o,i,a,c,u,l,p,d,v;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r=this.props,n=r.isAuthenticated,o=r.navFrom,i=r.showSocialActionGate,a=r.usageSetNavFrom,c=r.usageTrackTapFollowSection,u=r.addPostOnboardingSocialAction,l=r.followSections,p=t.callback,d=t.sections||this.props.section){e.next=5;break}return e.abrupt("return");case 5:if(!n){e.next=13;break}return a(s.f2.TAP_SECTION_SUBSCRIBE,o),(0,f.k)(d).forEach((function(e){return c(e)})),e.next=10,l(d,o);case 10:p&&p(),e.next=15;break;case 13:u({follow:{sections:d,navFrom:o}}),i(null!==(v=this.props.section)&&void 0!==v&&v.isTopic?m.hk.FOLLOW_TOPIC:m.hk.FOLLOW);case 15:case"end":return e.stop()}}),e,this)})),a=function(){var e=this,t=arguments;return new Promise((function(r,n){var o=i.apply(e,t);function a(e){A(o,r,n,a,c,"next",e)}function c(e){A(o,r,n,a,c,"throw",e)}a(void 0)}))},function(e){return a.apply(this,arguments)})},{key:"handleUnfollow",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r=this.props,n=r.navFrom,o=r.usageSetNavFrom,i=r.usageTrackTapFollowSection,a=t||this.props.section;a&&(o(s.f2.TAP_SECTION_SUBSCRIBE,n),i(a),this.props.unfollowSection(a,n))}},{key:"filterUnfollowed",value:function(e){var t=this.props,r=t.followingIds;return t.isAuthenticated&&e&&r?e.filter((function(e){return!r.includes(e.remoteid)})):[]}},{key:"render",value:function(){return(0,E.jsx)(e,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?O(Object(r),!0).forEach((function(t){S(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):O(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},this.props,{isFollowing:this.isFollowed(),isFollowingSection:this.isFollowed,handleFollow:this.handleFollow,handleUnfollow:this.handleUnfollow,filterUnfollowed:this.filterUnfollowed}))}}],n&&T(r.prototype,n),o&&T(r,o),u}(n.Component);
1return t.displayName=u.Z.displayName(e),t.propTypes={section:a().object,isAuthenticated:a().bool.isRequired,followingIds:a().array.isRequired,followSections:a().func.isRequired,unfollowSection:a().func.isRequired,navFrom:a().string,showSocialActionGate:a().func.isRequired,usageSetNavFrom:a().func.isRequired,usageTrackTapFollowSection:a().func.isRequired,addPostOnboardingSocialAction:a().func.isRequired},t.defaultProps={navFrom:null},(0,o.$j)((function(e){var t=e.profile;return{followingIds:t.followingIds,followingIdsLoaded:t.followingIdsLoaded}}),(function(e){return(0,c.DE)({followSections:p.zK,unfollowSection:p.Nu,usageTrackTapFollowSection:d.rg},e)}))((0,_.Z)(y.Z,b.Z)((0,v.Z)((0,h.Z)(t))))}},57276:function(e,t,r){"use strict";r(67890),r(96928),r(61229),r(58188),r(73439),r(34769),r(34115),r(95342),r(68625),r(1939),r(62775),r(634),r(20796),r(15735),r(28673),r(6886),r(35666);var n=r(2784),o=r(12291),i=r(45697),a=r.n(i),c=r(14890),u=r(47741),s=r(10950),l=r(57589),f=r(34688),p=r(45338),d=r(41626),m=r(21681),v=r(30001),h=r(3557),_=r(37757),y=r(10700),b=r(46315),E=r(90068),g=r(68869),O=r(59359),S=r(3842),A=r(39285),T=r(21929),R=r(52322);function I(e){return I="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},I(e)}function P(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function C(e,t,r,n,o,i,a){try{var c=e[i](a),u=c.value}catch(e){return void r(e)}c.done?t(u):Promise.resolve(u).then(n,o)}function w(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}
1function j(e,t){return j=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},j(e,t)}function N(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 r,n=x(e);if(t){var o=x(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return L(this,r)}}function L(e,t){return!t||"object"!==I(t)&&"function"!=typeof t?D(e):t}function D(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function x(e){return x=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},x(e)}function M(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}t.Z=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&&j(e,t)}(a,t);var r,n,o,i=N(a);function a(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),M(D(t=i.call(this,e)),"frictionlessEnter",(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,r=t.props,n=r.usageTrackSignupEnter,o=r.socialGateActionType,i=(0,h.S9)(e,o),a=t.state.frictionlessEnterEventFired;a||(n(i),t.setState({frictionlessEnterEventFired:!0}))})),M(D(t),"handleEmailChange",(function(e){t.setState({email:e.target.value})})),M(D(t),"handlePendingSubscriptionGroupsChange",(function(e){t.setState({pendingSubscriptionGroups:e})})),M(D(t),"isFormValid",(function(){return l.iN.test(t.state.email)})),M(D(t),"setCustomError",(function(e,r){e.preventDefault(),t.setState({emailInputError:r})})),M(D(t),"handleSubmit",function(){var e,r=(e=regeneratorRuntime.mark((function e(r,n){var o;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:null==r||r.preventDefault(),o=t.props.startOnboardingFlow,e.t0=n,e.next=e.t0===v.go.NEWSLETTER||e.t0===v.go.NEWSLETTERS||e.t0===v.go.TOPIC?5:7;break;case 5:return o(v.XX.SIGNUP_NEWSLETTER,{email:t.state.email,pendingSubscriptionGroups:t.state.pendingSubscriptionGroups,frictionlessFlowType:n}),e.abrupt("break",8);case 7:u.Z.captureException(new f.dU(n));case 8:case"end":return e.stop()}}),e)})),function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(e){C(i,n,o,a,c,"next",e)}function c(e){C(i,n,o,a,c,"throw",e)}a(void 0)}))});return function(e,t){return r.apply(this,arguments)}}()),t.state={email:"",pendingSubscriptionGroups:t.props.emailGroupsLoaded?t.props.emailGroups:null,frictionlessEnterEventFired:!1,emailInputError:null},t}return r=a,n=[{key:"render",value:function(){return(0,R.jsx)(e,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?P(Object(r),!0).forEach((function(t){M(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):P(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},this.props,{email:this.state.email,pendingSubscriptionGroups:this.state.pendingSubscriptionGroups,onEmailChange:this.handleEmailChange,onPendingSubscriptionGroupsChange:this.handlePendingSubscriptionGroupsChange,onSubmit:this.handleSubmit,isSubmittable:!this.props.onboardPending&&this.isFormValid(),frictionlessEnter:this.frictionlessEnter,onboardPending:this.props.onboardPending}))}}],n&&w(r.prototype,n),o&&w(r,o),a}(n.Component);return t.displayName=s.Z.displayName(e),t.propTypes={frictionlessSignup:a().func.isRequired,setTriggerInviteOnboarding:a().func.isRequired,subscribeToPendingSubscriptionGroups:a().func.isRequired,t:a().func.isRequired,toastShowErrorAction:a().func.isRequired,emailGroupsLoaded:a().bool.isRequired,emailGroups:a().array,usageTrackSignupEnter:a().func.isRequired,socialGateActionType:a().oneOf(Object.values(v.hk)),routing:a().object,history:a().object,startOnboardingFlow:a().func,onboardPending:a().bool},t.defaultProps={navFrom:null},(0,o.$j)((function(e){var t=e.profile;return{followingIds:t.followingIds,followingIdsLoaded:t.followingIdsLoaded,onboardPending:(0,h.jZ)(e)}}),(function(e){return(0,c.DE)({usageTrackSignupEnter:m.NQ,frictionlessSignup:p.tM,setTriggerInviteOnboarding:d.pi},e)}))((0,E.Z)(O.Z,g.Z,S.Z,A.Z,T.Z)((0,b.Z)((0,y.Z)((0,_.Z)(t)))))}},46315:function(e,t,r){"use strict";r(77950),r(74069),r(96928),r(61229),r(34769),r(34115),r(95342),r(68625),r(1939),r(62775),r(634),r(58188),r(20796),r(15735),r(28673),r(6886);var n=r(2784),o=r(45697),i=r.n(o),a=r(17698),c=r(52322);function u(e){return u="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},u(e)}function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function f(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}function p(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function d(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function m(e,t){return m=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},m(e,t)}function v(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 r,n=_(e);if(t){var o=_(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return h(this,r)}}function h(e,t){return!t||"object"!==u(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function _(e){return _=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},_(e)}t.Z=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&&m(e,t)}(a,t);var r,n,o,i=v(a);function a(){return p(this,a),i.apply(this,arguments)}return r=a,n=[{key:"render",value:function(){var t=this.props,r=(t.location,t.match,f(t,["location","match"]));return(0,c.jsx)(e,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
1t%2?s(Object(r),!0).forEach((function(t){l(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):s(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},r))}}],n&&d(r.prototype,n),o&&d(r,o),a}(n.Component);return t.propTypes={match:i().object.isRequired,location:i().object.isRequired,history:i().object.isRequired},(0,a.EN)(t)}},6407:function(e,t,r){"use strict";r.d(t,{Z:function(){return a}});var n=r(12291),o=(r(77950),r(74069),r(7799)),i=function(){var e=(0,o.Z)(),t=e&&e.navigator;return!!(t&&t.userAgent&&t.userAgent.match(/Macintosh/)&&t.maxTouchPoints&&t.maxTouchPoints>=5)};var a=function(e){return(0,n.$j)((function(e){return{isIos:e.app.isIos||i()}}))(e)}},87079:function(e,t,r){"use strict";r.d(t,{w4:function(){return rn},Le:function(){return sn},Nw:function(){return on},vp:function(){return nn},ZP:function(){return ln}});r(43105),r(96928),r(61229),r(58188),r(73439),r(34115),r(634),r(20796),r(15735),r(28673),r(6886),r(32501),r(26936),r(27233),r(34769),r(95342),r(68625),r(62775);var n=r(12167),o=(r(35666),r(22144),r(18178),r(43450),r(1939),r(49228),r(2784)),i=r(45697),a=r.n(i),c=r(49372),u=r(5109),s=r(90856),l=r(4361),f=r(30001),p=r(10950),d=r(11826),m=r(80768),v=r(93039),h=r(37236),_=r(26626),y=r(35173),b=r(72779),E=r.n(b),g=r(22749),O=r(46710),S=r(36188),A=r(70042),T=r(61312),R=r(1726),I=r(83368),P=r(50522),C=r(52322),w=function(e){var t=e.item.sectionLinks.find(I.y2);return t?(0,C.jsx)(P.Z,{profile:m.Z.projection(t)}):null},j=r(95231),N=r(37757),L=r(73540),D=r(90068);var x=(0,n.Z)(L.Z,{target:"edqt3yj4"})({display:"flex",flexDirection:"row",gap:c.N.BASE},""),M=(0,n.Z)("div",{target:"edqt3yj3"})({name:"i2mu6",styles:"display:flex;flex-direction:column;justify-content:space-evenly"}),Z=(0,n.Z)("h5",{target:"edqt3yj2"})(u.Hb.XSMALL_STANDARD,{color:s.bo.tertiary},""),U=(0,n.Z)("h5",{target:"edqt3yj1"})(u.Hb.SMALL_STANDARD,{color:s.bo.primary},""),k=(0,n.Z)(j.Z,{target:"edqt3yj0"})({borderRadius:c.N.BASE},""),F=(0,D.Z)()((0,N.Z)((function(e){var t=e.item.sectionLinks,r=e.t,n=t.find(I.y2),o=t.find(I.Zv);return n&&o?(0,C.jsxs)(x,{section:m.Z.projection(o),openInNewWindow:!0,children:[(0,C.jsx)(k,{size:40,image:o.image}),(0,C.jsxs)(M,{children:[(0,C.jsx)(U,{children:o.title}),(0,C.jsx)(Z,{children:r("downcase_by_author",{authorDisplayName:n.authorDisplayName})})]})]}):null}))),G=r(35030),B=r(83981);function z(e,t,r,n,o,i,a){try{var c=e[i](a),u=c.value}catch(e){return void r(e)}c.done?t(u):Promise.resolve(u).then(n,o)}var V={fetchItemMetricDetail:function(e){var t=e.item,r=e.itemMetricDetailType,n=e.pageKey;return function(){var e,o=(e=regeneratorRuntime.mark((function e(o,i,a){var c,u,s,l,f,p,d;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return c=a.flap,u=(0,B.LW)(i()),s={oid:t.flipboardSocialId,userid:u,usessid:!0},n&&(s.pageKey=n),l=r.toLowerCase(),e.next=7,c.get("/social/".concat(r.toLowerCase()),{params:s});case 7:return f=e.sent,p=f.data.items,d=p[0],e.abrupt("return",{items:d.commentary,nextPageKey:d["".concat(l,"PageKey")]});case 11:case"end":return e.stop()}}),e)})),function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(e){z(i,n,o,a,c,"next",e)}function c(e){z(i,n,o,a,c,"throw",e)}a(void 0)}))});return function(e,t,r){return o.apply(this,arguments)}}()}},H={actions:V},q=r(94917),W=r(60986);function Y(e){return Y="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},Y(e)}function K(e,t,r,n,o,i,a){try{var c=e[i](a),u=c.value}catch(e){return void r(e)}c.done?t(u):Promise.resolve(u).then(n,o)}function X(e){return function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(e){K(i,n,o,a,c,"next",e)}function c(e){K(i,n,o,a,c,"throw",e)}a(void 0)}))}}function $(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function J(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}
1function Q(e,t){return Q=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},Q(e,t)}function ee(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 r,n=ne(e);if(t){var o=ne(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return te(this,r)}}function te(e,t){return!t||"object"!==Y(t)&&"function"!=typeof t?re(e):t}function re(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ne(e){return ne=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},ne(e)}function oe(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var ie=(0,n.Z)("div",{target:"e5dvm0h4"})({display:"grid",justifyItems:"center",margin:c.N.LARGE},""),ae=(0,n.Z)("div",{target:"e5dvm0h3"})({name:"ecvjkq",styles:"min-height:100px"}),ce=(0,n.Z)("li",{target:"e5dvm0h2"})({padding:"".concat(c.N.MEDIUM," 0"),borderBottom:"1px solid ".concat(s.M1.primary),"&:last-child":{border:"none"}},""),ue=(0,n.Z)("ul",{target:"e5dvm0h1"})({margin:"0 ".concat(c.N.LARGE," ").concat(c.N.LARGE," ").concat(c.N.LARGE)},""),se=(0,n.Z)("div",{target:"e5dvm0h0"})(u.Hb.XSMALL_STANDARD,{margin:"".concat(c.N.BASE4X," ").concat(c.N.LARGE," 0 ").concat(c.N.LARGE),color:s.bo.tertiary},""),le=function(e){!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&&Q(e,t)}(i,e);var t,r,n,o=ee(i);function i(){var e;$(this,i);for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return oe(re(e=o.call.apply(o,[this].concat(r))),"state",{items:[],nextPageKey:null,loading:!1}),oe(re(e),"fetchNextPage",(function(){var t=e.props,r=t.fetchItemMetricDetail,n=t.itemMetricDetailType,o=t.item,i=e.state.nextPageKey;e.setState({loading:!0,nextPageKey:null},X(regeneratorRuntime.mark((function t(){var a,c,u;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,r({item:o,itemMetricDetailType:n,pageKey:i});case 2:a=t.sent,c=a.items,u=a.nextPageKey,e.setState({items:e.state.items.concat(c),nextPageKey:u,loading:!1});case 6:case"end":return t.stop()}}),t)}))))})),e}return t=i,(r=[{key:"componentDidMount",value:function(){this.fetchNextPage()}},{key:"render",value:function(){var e=this.props,t=e.item,r=e.section,n=e.itemMetricDetailType,o=e.socialActivity,i=e.isPhone,a=e.t,c=this.state,u=c.nextPageKey,s=c.items,l=c.loading,p=n===f.z6.LIKE?w:F,d=function(e){return(0,T.gW)(t,o,e)||0},m=n===f.z6.LIKE?a("like_count",{count:d("likeCount")}):a("flip_count",{count:d("shareCount")});return(0,C.jsxs)(G.Z,{name:"comments",item:t,section:r,modalTheme:i?A.J9.FULLSCREEN:A.J9.WINDOW,children:[(0,C.jsx)(se,{children:m}),s.length>0&&(0,C.jsx)(ue,{children:s.map((function(e){return(0,C.jsx)(ce,{children:(0,C.jsx)(p,{item:e})},"".concat(e.type,"-").concat(e.authorUsername))}))}),(0,C.jsxs)(ie,{children:[l&&(0,C.jsx)(ae,{children:(0,C.jsx)(R.Z,{})}),u&&(0,C.jsx)(_.ZP,{styleVariation:_.NV.SECONDARY,onClick:this.fetchNextPage,children:a("load_more")})]})]})}}])&&J(t.prototype,r),n&&J(t,n),i}(o.Component),fe=(0,D.Z)(H,q.Z,W.Z)((0,N.Z)(le)),pe=r(68869),de=(0,D.Z)(pe.Z)((function(e){var t=e.className,r=e.item,n=e.section,o=e.children,i=e.itemMetricDetailType,a=e.showModal;return(0,C.jsx)(S.Z,{name:"item-metric-detail",className:t,onClick:function(e){e.preventDefault(),a(fe,{item:r,section:n,itemMetricDetailType:i})},children:o})})),me=r(21205),ve=r(54953),he=r(75027),_e=r(67229),ye=r(65434),be=r(20699),Ee=r(32079),ge=r(19654);function Oe(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Se(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ae(e,t,r,n,o,i,a){try{var c=e[i](a),u=c.value}catch(e){return void r(e)}c.done?t(u):Promise.resolve(u).then(n,o)}function Te(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var r=[],n=!0,o=!1,i=void 0;try{for(var a,c=e[Symbol.iterator]();!(n=(a=c.next()).done)&&(r.push(a.value),!t||r.length!==t);n=!0);}catch(e){o=!0,i=e}finally{try{n||null==c.return||c.return()}finally{if(o)throw i}}return r}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return Re(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Re(e,t)}
1(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Re(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function Ie(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var Pe=(0,D.Z)(_e.Z,ye.Z,be.Z,Ee.Z,q.Z,ge.Z)((0,he.Z)((0,N.Z)((function(e){var t=e.section,r=e.item,n=e.onFlip,i=e.isTooltipMenu,a=e.t,c=e.isFlipModeEnabled,u=e.flipModeTargetMagazine,s=e.toastDismiss,l=e.flipItem,p=e.usageSetNavFrom,d=e.usageTrackTapFlipItem,m=e.profile,h=e.showSocialMetrics,b=e.socialActivity,S=e.featureFlags,A=e.size,R=Ie(e,["section","item","onFlip","isTooltipMenu","t","isFlipModeEnabled","flipModeTargetMagazine","toastDismiss","flipItem","usageSetNavFrom","usageTrackTapFlipItem","profile","showSocialMetrics","socialActivity","featureFlags","size"]),I=Te((0,o.useState)(!1),2),P=I[0],w=I[1],j=A,N=c&&u&&r,L=E()("social-actions__button",{"social-actions__button--flip-mode":N}),D=function(){var e,o=(e=regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!N){e.next=9;break}return s(),p(g.f2.TAP_FLIP,g.rf.FAST_FLIP),d(t,r,m),w(!0),e.next=7,l(r,u,"",g.rf.FAST_FLIP);case 7:return w(!1),e.abrupt("return");case 9:n({section:t,item:r});case 10:case"end":return e.stop()}}),e)})),function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(e){Ae(i,n,o,a,c,"next",e)}function c(e){Ae(i,n,o,a,c,"throw",e)}a(void 0)}))});return function(){return o.apply(this,arguments)}}(),x=i&&!r&&(null==t?void 0:t.isTopic),M=[];i&&(M.push(_._Z.BLOCK),x?M.push(_._Z.ALIGN_LEFT):M.push(_._Z.WITH_BADGE));var Z=!(null!=t&&t.isMagazine),U=(0,T.gW)(r,b,"shareCount",Z),k=!(null!=r&&r.canShare)&&!(null!=r&&r.canShareLink)||P;return(0,C.jsxs)(sn,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Oe(Object(r),!0).forEach((function(t){Se(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Oe(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},R,{children:[(0,C.jsx)(ve.Z,{disabled:k,children:(0,C.jsxs)(y.Z,{name:"social-action-flip",tooltip:a("flip"),isTooltipMenu:i,className:L,styleModifier:M,onClick:D,disabled:k,children:[!x&&(0,C.jsx)(O.Z,{size:j,isFilled:!1}),i&&(0,C.jsx)("span",{children:(0,v.Z)(a("flip"))})]})}),(0,C.jsx)(ve.Z,{disabled:k,children:h&&(S.ITEM_METRIC_DETAIL&&U&&!Z?(0,C.jsx)(de,{item:r,section:t,itemMetricDetailType:f.z6.FLIP,disabled:k,children:(0,C.jsx)(me.Z,{metricValue:U})}):(0,C.jsx)(me.Z,{metricValue:U}))})]}),f.wF.FLIP)})))),Ce=r(47897),we=r.n(Ce),je=r(43057);function Ne(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Le(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function De(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var xe=(0,n.Z)(je.Z,{target:"eg5xtyn0"})({color:s.MN.emphasis},"");function Me(e){var t=e.isLiked,r=e.size,n=De(e,["isLiked","size"]);return(0,C.jsx)(xe,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
1t%2?Ne(Object(r),!0).forEach((function(t){Le(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Ne(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({name:"like",width:r,height:r,viewBox:"0 0 20 20",isLiked:t},n,{renderComponent:function(){return t?(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)("path",{d:"M20 10C20 15.5228 15.5228 20 10 20C4.47715 20 0 15.5228 0 10C0 4.47715 4.47715 0 10 0C15.5228 0 20 4.47715 20 10Z",fill:s.DM.red}),(0,C.jsx)("path",{d:"M4.38521 9.48679C3.93442 5.83739 8.62741 4.59137 10.1617 7.17261C11.5157 4.59141 16.3892 5.83739 15.9384 9.48679C15.6745 11.623 13.321 14.6493 10.1617 15.8065C6.91246 14.6493 4.64908 11.623 4.38521 9.48679Z",fill:s.DM.staticWhite}),(0,C.jsx)("path",{d:"M7.87091 9.19684C7.46039 9.78875 6.72352 9.98835 6.22507 9.64265C5.72661 9.29695 5.65533 8.53686 6.06585 7.94494C6.47637 7.35303 7.21324 7.15343 7.71169 7.49914C8.21015 7.84484 8.28143 8.60492 7.87091 9.19684Z",fill:s.DM.staticWhite})]}):(0,C.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.9727 3.12982C8.52038 1.63232 6.32904 1.348 4.50782 1.99529C2.29089 2.78321 0.510002 4.96682 0.88251 8.11869C1.09588 9.92403 2.09418 12.0052 3.60513 13.841C5.12489 15.6874 7.21869 17.3542 9.70978 18.2814C9.89978 18.3521 10.109 18.3511 10.2984 18.2786C12.7214 17.3511 14.8116 15.6862 16.3445 13.8445C17.8677 12.0145 18.9044 9.93183 19.1186 8.11869C19.4935 4.947 17.6251 2.77403 15.392 1.99383C13.571 1.35763 11.3595 1.61962 9.9727 3.12982ZM5.06597 3.56572C3.52649 4.11287 2.2632 5.60084 2.53766 7.92307C2.703 9.32209 3.51823 11.1128 4.89197 12.7818C6.1947 14.3646 7.95028 15.7765 9.99618 16.6048C11.9865 15.7762 13.7439 14.3637 15.0635 12.7783C16.4574 11.1036 17.2991 9.31429 17.4635 7.92307C17.7356 5.62065 16.4304 4.12209 14.8422 3.56723C13.2023 2.99426 11.4753 3.46891 10.7452 4.92341C10.6074 5.19815 10.3294 5.37466 10.0221 5.38265C9.71479 5.39063 9.42805 5.22878 9.27608 4.96157C8.41645 3.45007 6.64871 3.00319 5.06597 3.56572Z",fill:"currentColor"})}}))}Me.propTypes={size:we().number,isLiked:we().bool},Me.defaultProps={size:20,isLiked:!1};var Ze=Me,Ue=r(39069),ke=r(82706),Fe=(0,D.Z)(ke.Z,Ee.Z,q.Z,ge.Z)((0,Ue.Z)((0,N.Z)((function(e){var t=e.item,r=e.size,n=e.section,o=e.onLike,i=e.isUserStateLoading,a=e.isTooltipMenu,c=e.showSocialMetrics,u=e.socialActivity,s=e.isLiked,l=e.featureFlags,p=e.t,d=t.canLike,m=!(null!=n&&n.isMagazine),h=(0,T.gW)(t,u,"likeCount",m),_=!d||i;return(0,C.jsxs)(sn,{children:[(0,C.jsx)(ve.Z,{disabled:_,children:(0,C.jsxs)(y.Z,{tooltip:p("like"),isTooltipMenu:a,className:"social-actions__button",styleModifier:a?nn:void 0,onClick:o,name:"social-action-like",disabled:_,children:[(0,C.jsx)(Ze,{size:r,isLiked:s}),a&&(0,C.jsx)("span",{children:(0,v.Z)(p("like"))})]},f.wF.LIKE)}),(0,C.jsx)(ve.Z,{disabled:_,children:c&&(l.ITEM_METRIC_DETAIL&&h&&!m?(0,C.jsx)(de,{item:t,section:n,itemMetricDetailType:f.z6.LIKE,children:(0,C.jsx)(me.Z,{metricValue:h})}):(0,C.jsx)(me.Z,{metricValue:h}))})]},f.wF.LIKE)})))),Ge=r(67502);function Be(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function ze(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ve(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var He=(0,n.Z)(je.Z,{target:"e24wqpy0"})({color:s.MN.emphasis},"");function qe(e){var t=e.size,r=Ve(e,["size"]);return(0,C.jsx)(He,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Be(Object(r),!0).forEach((function(t){ze(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Be(Object(r)).forEac
1h((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({name:"share",width:t,height:t,viewBox:"0 0 20 20"},r,{renderComponent:function(){return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.33333 11.667C3.79357 11.667 4.16667 12.0401 4.16667 12.5003V13.5003C4.16667 14.2141 4.16732 14.6994 4.19796 15.0745C4.22781 15.4398 4.28192 15.6266 4.34832 15.757C4.50811 16.0706 4.76308 16.3255 5.07668 16.4853C5.20702 16.5517 5.39385 16.6058 5.7592 16.6357C6.13427 16.6663 6.61952 16.667 7.33333 16.667H12.6667C13.3805 16.667 13.8657 16.6663 14.2408 16.6357C14.6061 16.6058 14.793 16.5517 14.9233 16.4853C15.2369 16.3255 15.4919 16.0706 15.6517 15.757C15.7181 15.6266 15.7722 15.4398 15.802 15.0745C15.8327 14.6994 15.8333 14.2141 15.8333 13.5003V12.5003C15.8333 12.0401 16.2064 11.667 16.6667 11.667C17.1269 11.667 17.5 12.0401 17.5 12.5003V13.5348C17.5 14.2056 17.5 14.7592 17.4632 15.2102C17.4249 15.6786 17.3428 16.1092 17.1367 16.5136C16.8171 17.1408 16.3072 17.6508 15.68 17.9703C15.2755 18.1764 14.8449 18.2586 14.3765 18.2968C13.9255 18.3337 13.3719 18.3337 12.7011 18.3337H7.29892C6.62811 18.3337 6.07448 18.3337 5.62348 18.2968C5.15506 18.2586 4.72448 18.1764 4.32003 17.9703C3.69283 17.6508 3.18289 17.1408 2.86331 16.5136C2.65724 16.1092 2.5751 15.6786 2.53683 15.2102C2.49998 14.7592 2.49999 14.2056 2.5 13.5347C2.5 13.5233 2.5 13.5118 2.5 13.5003V12.5003C2.5 12.0401 2.8731 11.667 3.33333 11.667Z",fill:"currentColor"}),(0,C.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10 1.66699C10.4602 1.66699 10.8333 2.04009 10.8333 2.50033V12.5003C10.8333 12.9606 10.4602 13.3337 10 13.3337C9.53976 13.3337 9.16667 12.9606 9.16667 12.5003V2.50033C9.16667 2.04009 9.53976 1.66699 10 1.66699Z",fill:"currentColor"}),(0,C.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.41075 1.91107C9.73618 1.58563 10.2638 1.58563 10.5893 1.91107L13.0893 4.41107C13.4147 4.73651 13.4147 5.26414 13.0893 5.58958C12.7638 5.91502 12.2362 5.91502 11.9107 5.58958L10 3.67884L8.08926 5.58958C7.76382 5.91502 7.23618 5.91502 6.91075 5.58958C6.58531 5.26414 6.58531 4.73651 6.91075 4.41107L9.41075 1.91107Z",fill:"currentColor"})]})}}))}qe.propTypes={size:we().number},qe.defaultProps={size:20};var We=qe;function Ye(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Ke(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Xe=(0,n.Z)(je.Z,{target:"egmc8120"})({name:"p677kv",styles:"color:var(--color--icon);g{color:inherit;stroke:currentColor;}"});var $e=function(e){return(0,C.jsx)(Xe,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Ye(Object(r),!0).forEach((function(t){Ke(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Ye(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({name:"mute",size:18,viewBox:"0 0 24 24"},e,{renderComponent:function(e){var t=e.color;return(0,C.jsxs)("g",{fill:"none",stroke:t,children:[(0,C.jsx)("path",{d:"M20.25 12C20.25 16.5563 16.5563 20.25 12 20.25C7.44365 20.25 3.75 16.5563 3.75 12C3.75 7.44365 7.44365 3.75 12 3.75C16.5563 3.75 20.25 7.44365 20.25 12Z",strokeWidth:"1.5"}),(0,C.jsx)("line",{x1:"6.47951",y1:"17.0628",x2:"17.4795",y2:"6.46001",strokeWidth:"1.5"})]})}}))},Je=r(97791),Qe=r(41139),et=r(86635),tt=r(30289),rt=r(97686);function nt(e){return nt="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},nt(e)}function ot(e,t,r,n,o,i,a){try{var c=e[i](a),u=c.value}catch(e){return void r(e)}c.done?t(u):Promise.resolve(u).then(n,o)}function it(e){return function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(e){ot(i,n,o,a,c,"next",e)}function c(e){ot(i,n,o,a,c,"throw",e)}a(void 0)}))}}function at(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ct(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function ut(e,t){return ut=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},ut(e,t)}function st(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 r,n=pt(e);
1if(t){var o=pt(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return lt(this,r)}}function lt(e,t){return!t||"object"!==nt(t)&&"function"!=typeof t?ft(e):t}function ft(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function pt(e){return pt=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},pt(e)}function dt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var mt=function(e){!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&&ut(e,t)}(i,e);var t,r,n,o=st(i);function i(){var e;at(this,i);for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return dt(ft(e=o.call.apply(o,[this].concat(r))),"mute",it(regeneratorRuntime.mark((function t(){var r,n,o,i,a,c;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=e.props,n=r.item,o=r.type,i=r.muteSourceDomain,a=r.muteAuthor,"sourceDomain"!==o){t.next=4;break}return t.next=4,i(n.sourceDomain);case 4:if("author"!==o){t.next=8;break}return c={username:n.author.authorUsername,authorDisplayName:n.author.authorUsername,userid:n.author.userid,service:f.K9.FLIPBOARD},t.next=8,a(c);case 8:case"end":return t.stop()}}),t)})))),e}return t=i,r=[{key:"render",value:function(){var e=this.props,t=e.item,r=e.type,n=e.t,o="sourceDomain"===r?t.sourceDomain:t.author.authorDisplayName||t.author.authorUsername;return(0,C.jsx)("span",{onClick:this.mute,children:n("mute_label",{label:o})})}}],r&&ct(t.prototype,r),n&&ct(t,n),i}(o.Component),vt=(0,D.Z)(rt.Z)((0,N.Z)(mt));function ht(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function _t(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var yt=(0,n.Z)(je.Z,{target:"e1w3ashw0"})({name:"1begznb",styles:"color:var(--color--icon);path{color:inherit;fill:currentColor;stroke:currentColor;}g{color:inherit;stroke:currentColor;}"});var bt=function(e){return(0,C.jsx)(yt,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ht(Object(r),!0).forEach((function(t){_t(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ht(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({name:"remove"},e,{renderComponent:function(e){var t=e.color;return(0,C.jsx)("g",{fill:"none",transform:"translate(-3.000000, -3.000000)",stroke:t,className:"icon-color",children:(0,C.jsxs)("g",{transform:"translate(3.000000, 3.000000)",children:[(0,C.jsx)("circle",{cx:"9",cy:"9",r:"8.5"}),(0,C.jsx)("path",{d:"M6.5,9 L11.5,9",strokeLinecap:"square",strokeLinejoin:"round"})]})})}}))};function Et(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function gt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Ot=(0,n.Z)(je.Z,{target:"e15xmddg0"})({name:"p677kv",styles:"color:var(--color--icon);g{color:inherit;stroke:currentColor;}"});function St(e){return(0,C.jsx)(Ot,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Et(Object(r),!0).forEach((function(t){gt(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Et(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({name:"report",size:e.size,viewBox:"0 0 24 24"},e,{renderComponent:function(e){var t=e.color;return(0,C.jsx)("g",{fill:"none",stroke:t,children:(0,C.jsx)("path",{d:"M12 7.55556V12M12 16.4444H12.0111M22 12C22 13.3132 21.7413 14.6136 21.2388 15.8268C20.7363 17.0401 19.9997 18.1425 19.0711 19.0711C18.1425 19.9997 17.0401 20.7363 15.8268 21.2388C14.6136 21.7413 13.3132 22 12 22C10.6868 22 9.38642 21.7413 8.17317 21.2388C6.95991 20.7363 5.85752 19.9997 4.92893 19.0711C4.00035 18.1425 3.26375 17.0401 2.7612 15.8268C2.25866 14.6136 2 13.3132 2 12C2 9.34784 3.05357 6.8043 4.92893 4.92893C6.8043 3.05357 9.34784 2 12 2C14.6522 2 17.1957 3.05357 19.0711 4.92893
1C20.9464 6.8043 22 9.34784 22 12Z",stroke:t,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})}}))}St.propTypes={size:we().number},St.defaultProps={size:18};var At=St,Tt=r(43260);function Rt(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function It(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Pt=(0,n.Z)(je.Z,{target:"e3w23zw0"})({name:"879i2y",styles:"color:var(--color--icon);g{color:inherit;path{color:inherit;fill:currentColor;stroke:currentColor;}}"});function Ct(e){return(0,C.jsx)(Pt,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Rt(Object(r),!0).forEach((function(t){It(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Rt(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({role:"img",name:"less-like","aria-labelledby":"less-like-this-icon-title",size:18,viewBox:"0 0 24 24"},e,{renderComponent:function(e){var t=e.color;return(0,C.jsxs)("g",{children:[(0,C.jsx)("path",{strokeWidth:"1",clipRule:"evenodd",fill:t,fillRule:"evenodd",strokeLinecap:"square",d:"m 10.783203,16.570312 -1.027344,1.09961 2.613282,2.894531 7.384765,-8.162109 0.0039,-0.0059 C 20.575415,11.46296 21.125,10.26271 21.125,8.9609375 c 0,-0.9734388 -0.277165,-1.886866 -0.748047,-2.671875 L 19.292969,7.4511719 C 19.503708,7.9149895 19.625,8.4252556 19.625,8.9609375 c 0,0.874307 -0.379691,1.7434315 -0.996094,2.4472655 l -6.259765,6.919922 z"}),(0,C.jsx)("path",{strokeWidth:"1",clipRule:"evenodd",fill:t,fillRule:"evenodd",strokeLinecap:"square",d:"M 19.419922,5.1152344 C 18.504682,4.2722672 17.300247,3.75 15.990234,3.75 14.511175,3.75 13.29055,4.5227926 12.375,5.5566406 11.450885,4.5200906 10.218215,3.75 8.740234,3.75 5.945717,3.75 3.625,6.0851656 3.625,8.9316406 c 0,1.3017824 0.545588,2.5264684 1.373047,3.4667974 l 0.002,0.0039 3.746094,4.148437 1.027344,-1.099609 -3.650391,-4.042969 v -0.002 C 5.510373,10.70942 5.125,9.8053226 5.125,8.9316406 5.125,6.9012396 6.785477,5.25 8.740234,5.25 c 1.238911,0 2.36214,0.6980191 3,1.7207031 l 0.638672,1.0234375 0.634766,-1.0234375 C 13.65166,5.9432541 14.747194,5.25 15.990234,5.25 c 0.905353,0 1.752061,0.3710652 2.402344,0.9667969 z"}),(0,C.jsx)("path",{fill:"none",stroke:t,strokeWidth:"1",strokeLinecap:"square",strokeLinejoin:"miter",strokeMiterlimit:"4",strokeDasharray:"none",strokeOpacity:"1",d:"M 20.386,3 5.375,19.083"})]})}}))}Ct.propTypes={size:we().number,className:we().string,toolTip:we().string,t:we().func.isRequired},Ct.defaultProps={size:18,className:""};var wt=(0,N.Z)(Ct);function jt(e){return jt="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},jt(e)}function Nt(e,t,r,n,o,i,a){try{var c=e[i](a),u=c.value}catch(e){return void r(e)}c.done?t(u):Promise.resolve(u).then(n,o)}function Lt(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Dt(e,t){return Dt=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},Dt(e,t)}function xt(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 r,n=Ut(e);if(t){var o=Ut(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return Mt(this,r)}}function Mt(e,t){return!t||"object"!==jt(t)&&"function"!=typeof t?Zt(e):t}function Zt(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ut(e){return Ut=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},Ut(e)}var kt=(0,n.Z)("div",{target:"e18z1htr2"})({name:"unrh3l",styles:"display:flex;justify-content:space-between;width:100%"}),Ft=(0,n.Z)("span",{target:"e18z1htr1"})((function(e){var t=e.opacity;return{marginLeft:18,cursor:"default",color:s.bo.primary,opacity:null!=t?t:1}}),""),Gt=(0,n.Z)("span",{target:"e18z1htr0"})({color:s.DM.red},""),Bt=function(e){!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&&Dt(e,t)}(c,e);var t,r,n,o,i,a=xt(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=a.call(this,e)).handleLessLike=t.handleLessLike.bind(Zt(t)),t.state={isUndoStatus:!1},t}return t=c,r=[{key:"handleLessLike",value:(o=regeneratorRuntime.mark((function e(){var t,r,n,o,i,a;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=this.props,r=t.topic,n=t.section,o=t.updateRelatedItemPreference,i=this.state.isUndoStatus,a={type:"topic",entity:r.normalizedRemoteid,context:n.sectionID,title:r.title},e.next=5,o(a,i);case 5:this.setState({isUndoStatus:!i});case 6:case"end":return e.stop()}}),e,this)})),i=function(){var e=this,t=arguments;return new Promise((function(r,n){var i=o.apply(e,t);function a(e){Nt(i,r,n,a,c,"next",e)}function c(e){Nt(i,r,n,a,c,"throw",e)}a(void 0)}))},function(){return i.apply(this,arguments)})},{key:"render",value:function(){var e=this.state.isUndoStatus,t=this.props,r=t.topic,n=t.t;return(0,C.jsxs)(kt,{children:[(0,C.jsx)(Ft,{opacity:e?.5:1,children:"#".concat(r.title)}),(0,C.jsx)(Gt,{onClick:this.handleLessLike,children:n(e?"undo":"show_less")})]})}}],r&&Lt(t.prototype,r),n&&Lt(t,n),c}(o.Component);Bt.propTypes={topic:a().object.isRequired,section:a().object.isRequired,updateRelatedItemPreference:a().func.isRequired,t:a().func.isRequired};var zt=(0,D.Z)(rt.Z)((0,N.Z)(Bt)),Vt=r(32707),Ht=r(14876),qt=r(95787),Wt=r(28269);function Yt(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Kt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Xt(e,t,r,n,o,i,a){try{var c=e[i](a),u=c.value}catch(e){return void r(e)}c.done?t(u):Promise.resolve(u).then(n,o)}function $t(e){return function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(e){Xt(i,n,o,a,c,"next",e)}function c(e){Xt(i,n,o,a,c,"throw",e)}a(void 0)}))}}function Jt(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var Qt=(0,n.Z)("span",{target:"e1w6by4b0"})({marginLeft:c.N.MEDIUM},""),er=(0,D.Z)(Wt.Z,ge.Z)((0,N.Z)((function(e){var t=e.item,r=e.section,n=e.pin,o=e.pinMagazineItem,i=e.unpinMagazineItem,a=e.featureFlags,c=e.t,u=Jt(e,["item","section","pin","pinMagazineItem","unpinMagazineItem","featureFlags","t"]),s=c(n?"pin_flip_action":"unpin_flip_action");if(!r.magazineTarget||!a.PINNED_FLIP)return null;return(0,C.jsxs)(on,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
1t%2?Yt(Object(r),!0).forEach((function(t){Kt(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Yt(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({name:"pin-flip-button-".concat(t.id),styleModifier:[_._Z.WITH_BADGE],onClick:$t(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!n){e.next=5;break}return e.next=3,o(r,t.id);case 3:e.next=7;break;case 5:return e.next=7,i(r);case 7:(0,Ht.Z)(0,(0,l.J)(Vt.L6.MAIN_NAV_HEIGHT)+(0,l.J)(Vt.L6.MAGAZINE_HEADER_HEIGHT)+(0,l.J)(Vt.L6.MAGAZINE_TOOL_BANNER_HEIGHT));case 8:case"end":return e.stop()}}),e)})))},u,{children:[(0,C.jsx)(qt.Z,{size:19,variant:n?f.rL.DEFAULT:f.rL.PINNED}),(0,C.jsx)(Qt,{children:s})]}),"pinned-flip--button")})));function tr(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function rr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var nr=(0,n.Z)(je.Z,{target:"e4zn6xy0"})((function(){return{color:s.MN.primary}}),""),or=function(e){var t=Object.assign({},e);return(0,C.jsx)(nr,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?tr(Object(r),!0).forEach((function(t){rr(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):tr(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({name:"user-add",viewBox:"0 0 16 14",fill:"none"},t,{renderComponent:function(){return(0,C.jsxs)("g",{children:[(0,C.jsx)("path",{d:"M6 0.333496C4.15905 0.333496 2.66667 1.82588 2.66667 3.66683C2.66667 5.50778 4.15905 7.00016 6 7.00016C7.84095 7.00016 9.33333 5.50778 9.33333 3.66683C9.33333 1.82588 7.84095 0.333496 6 0.333496Z",fill:"currentColor"}),(0,C.jsx)("path",{d:"M3.33333 8.3335C2.44928 8.3335 1.60143 8.68469 0.976311 9.30981C0.351189 9.93493 0 10.7828 0 11.6668V13.0002C0 13.3684 0.298477 13.6668 0.666667 13.6668H11.3333C11.7015 13.6668 12 13.3684 12 13.0002V11.6668C12 10.7828 11.6488 9.93493 11.0237 9.30981C10.3986 8.68469 9.55072 8.3335 8.66667 8.3335H3.33333Z",fill:"currentColor"}),(0,C.jsx)("path",{d:"M13.3333 3.66683C13.7015 3.66683 14 3.96531 14 4.3335V5.66683H15.3333C15.7015 5.66683 16 5.96531 16 6.3335C16 6.70169 15.7015 7.00016 15.3333 7.00016H14V8.3335C14 8.70169 13.7015 9.00016 13.3333 9.00016C12.9651 9.00016 12.6667 8.70169 12.6667 8.3335V7.00016H11.3333C10.9651 7.00016 10.6667 6.70169 10.6667 6.3335C10.6667 5.96531 10.9651 5.66683 11.3333 5.66683H12.6667V4.3335C12.6667 3.96531 12.9651 3.66683 13.3333 3.66683Z",fill:"currentColor"})]})}}))};or.propTypes={size:we().number},or.defaultProps={size:16};var ir=or,ar=r(7799),cr=r(4067),ur=r(29487),sr=r(50839),lr=r(28144),fr=r(95705);function pr(e){return pr="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},pr(e)}function dr(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function mr(e,t){return mr=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},mr(e,t)}function vr(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 r,n=yr(e);if(t){var o=yr(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return hr(this,r)}}function hr(e,t){return!t||"object"!==pr(t)&&"function"!=typeof t?_r(e):t}function _r(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function yr(e){return yr=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},yr(e)}var br=(0,n.Z)("h1",{target:"e1tdyuq62"})(u.TK.TITLE,{marginBottom:c.N.LARGE},""),Er=(0,n.Z)("p",{target:"e1tdyuq61"})(u.TK.BODY,""),gr=(0,n.Z)("p",{target:"e1tdyuq60"})(u.TK.BODY,{marginBottom:c.N.MEDIUM},""),Or=function(e){!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&&mr(e,t)}(i,e);var t,r,n,o=vr(i);function i(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),(t=o.call(this,e)).state={displayCopyMessage:!1},t.clearCopyMessage=t.clearCopyMessage.bind(_r(t)),t.handleFocus=t.handleFocus.bind(_r(t)),t}return t=i,(r=[{key:"handleFocus",value:function(e){e.target.setSelectionRange(0,this.props.inviteUrl.length),(0,ar.Z)().document.execCommand("copy"),this.setState({displayCopyMessage:!0}),this.toggleCopyMessageTimeout=(0,ar.Z)().setTimeout(this.clearCopyMessage,2e3)}},{key:"clearCopyMessage",value:function(){this.toggleCopyMessageTimeout&&((0,ar.Z)().clearTimeout(this.toggleCopyMessageTimeout),this.toggleCopyMessageTimeout=null,this.setState({displayCopyMessage:!1}))}},{key:"render",value:function(){var e=this.props,t=e.isPhone,r=e.t,n=t?A.J9.FULLSCREEN:A.J9.WINDOW;return(0,C.jsxs)(sr.Z,{name:"invite-contributors-modal",modalTheme:n,children:[(0,C.jsxs)("section",{className:"modal__content",children:[(0,C.jsx)(br,{children:r("invite_contributors")}),(0,C.jsx)("div",{className:"field-block",children:(0,C.jsx)(Er,{children:r("invite_contributors_description")})}),(0,C.jsx)("div",{className:"field-block",children:(0,C.jsx)(ur.Z,{text:r("copy_url_to_invite_contributors"),textClassName:"field-block__label",children:(0,C.jsx)(cr.Z,{name:"invite-contributors-url",type:"url",onFocus:this.handleFocus,readOnly:!0,value:this.props.inviteUrl||""})})}),this.state.displayCopyMessage&&(0,C.jsx)(gr,{children:r("copied")})]}),(0,C.jsx)(lr.Z,{children:(0,C.jsx)(_.ZP,{name:"invite-contributors-close",styleVariation:_.NV.SECONDARY,onClick:this.props.dismissModal,children:r("close")})})]})}}])&&dr(t.prototype,r),n&&dr(t,n),i}(o.Component);
1Or.propTypes={magazine:a().object.isRequired,isPhone:a().bool.isRequired,inviteUrl:a().string,dismissModal:a().func.isRequired,t:a().func.isRequired},Or.defaultProps={inviteUrl:null};var Sr=(0,D.Z)(pe.Z,W.Z)((0,fr.Z)((0,N.Z)(Or))),Ar=(0,D.Z)(pe.Z,ge.Z,W.Z)((0,N.Z)((function(e){var t=e.section,r=e.featureFlags,n=e.showModal,o=e.isSmallScreen,i=e.isTooltipMenu,a=e.t,c=!i&&(o&&r.NEW_MAGAZINE_COVER?_.NV.PRIMARY_TEXT:_.NV.SECONDARY);return(0,C.jsxs)(y.Z,{className:"social-actions_invite-button",styleModifier:i?[_._Z.BLOCK]:void 0,styleVariation:c||void 0,onClick:function(){return n(Sr,{magazine:t})},name:"item-actions-invite-contributor",children:[r.NEW_MAGAZINE_COVER&&(0,C.jsx)(ir,{size:18}),(0,C.jsx)("span",{children:(0,v.Z)(a("invite_contributors"))})]},f.wF.INVITE_CONTRIBUTOR)}))),Tr=r(31975),Rr=r(43942),Ir=r(56360),Pr=(0,Tr.Z)("FlipComposeModal"),Cr=(0,D.Z)(pe.Z,W.Z,ge.Z,be.Z,ye.Z,Ee.Z)((0,N.Z)((function(e){var t=e.section,r=e.featureFlags,n=e.showModal,o=e.usageTrackTapFlip,i=e.usageSetNavFrom,a=e.isSmallScreen,c=e.isPhone,u=e.currentUser,s=e.t;if(!r.NEW_MAGAZINE_COVER&&!r.NEW_FLIP_COMPOSE&&!r.ADD_TO_MAGAZINE_BUTTON)return null;var l=a?_.NV.PRIMARY_TEXT:_.NV.SECONDARY;r.ADD_TO_MAGAZINE_BUTTON&&!r.NEW_MAGAZINE_COVER&&(l=c?_.NV.NONE:_.NV.PRIMARY);return(0,C.jsxs)(y.Z,{styleVariation:l,onClick:function(){i(g.f2.TAP_FLIP,g.rf.MAGAZINE_HEADER),o(),!t.exchange||null!=u&&u.confirmedEmail?n(Pr,{currentMagazine:t,navFrom:g.rf.MAGAZINE_HEADER}):n(Ir.Z,{magazineInvite:!0})},children:[r.NEW_MAGAZINE_COVER&&(0,C.jsx)(Rr.Z,{size:18,isFilled:!0}),(0,C.jsx)("span",{children:s("add_to_magazine")})]})}))),wr=r(62279),jr=r(94670),Nr=r(10700),Lr=r(50824),Dr=r(83491),xr=r(92104),Mr=r(73666),Zr=r(46315),Ur=r(83795),kr=r(4329),Fr=r(89463);function Gr(e){return Gr="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},Gr(e)}function Br(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function zr(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var r=[],n=!0,o=!1,i=void 0;try{for(var a,c=e[Symbol.iterator]();!(n=(a=c.next()).done)&&(r.push(a.value),!t||r.length!==t);n=!0);}catch(e){o=!0,i=e}finally{try{n||null==c.return||c.return()}finally{if(o)throw i}}return r}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return Vr(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Vr(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Vr(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function Hr(e,t,r,n,o,i,a){try{var c=e[i](a),u=c.value}catch(e){return void r(e)}c.done?t(u):Promise.resolve(u).then(n,o)}function qr(e){return function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(e){Hr(i,n,o,a,c,"next",e)}function c(e){Hr(i,n,o,a,c,"throw",e)}a(void 0)}))}}function Wr(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Yr(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Kr(e,t){return Kr=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},Kr(e,t)}function Xr(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}}();
1return function(){var r,n=Qr(e);if(t){var o=Qr(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return $r(this,r)}}function $r(e,t){return!t||"object"!==Gr(t)&&"function"!=typeof t?Jr(e):t}function Jr(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Qr(e){return Qr=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},Qr(e)}function en(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function tn(){return tn=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},tn.apply(this,arguments)}var rn=Object.freeze({NEW_ITEM_CARD:[f.wF.LIKE,f.wF.COMMENTS,f.wF.SHARE,f.wF.FLIP],DEFAULT_SOCIAL:[f.wF.LIKE,f.wF.COMMENTS,f.wF.FLIP,f.wF.SHARE],DEFAULT_ACTION_SHEET:[f.wF.LESS_LIKE,f.wF.MUTE,f.wF.REPORT,f.wF.REMOVE_FROM_MAGAZINE,f.wF.PIN_FLIP],MAGAZINE:[f.wF.FOLLOW,f.wF.EDIT_MAGAZINE,f.wF.SHARE,f.wF.FLIP],DEFAULT_TOPIC:[f.wF.SHARE,f.wF.FLIP],INLINE_STORYBOARD:[f.wF.SHARE_TEXT,f.wF.FLIP,f.wF.LIKE],INLINE_STORYBOARD_PHONE:[f.wF.SHARE_TEXT],FLIP_SHARE_LIKE:[f.wF.FLIP,f.wF.SHARE,f.wF.LIKE],STORYBOARD_POST:[f.wF.FLIP,f.wF.SHARE,f.wF.LIKE,f.wF.REPORT]}),nn=[_._Z.BLOCK,_._Z.WITH_BADGE],on=(0,n.Z)(y.Z,{target:"e18ces1l4"})({gap:"0px",padding:"".concat(c.N.BASE," ").concat(c.N.MEDIUM)},""),an=(0,n.Z)(Ge.Z,tn({},{target:"e18ces1l3"},(0,l.t)("isTooltipMenu")))((function(e){return e.isTooltipMenu?{}:{margin:"0px ".concat(c.N.MEDIUM)}}),""),cn=(0,n.Z)("span",{target:"e18ces1l2"})({paddingRight:c.N.BASE},""),un=(0,n.Z)("ul",{target:"e18ces1l1"})((function(e){return{overflow:"hidden",height:null!=e&&e.isLessLikeOpen?"fit-content":"0",display:null!=e&&e.isLessLikeOpen?"block":"none",paddingBottom:c.N.BASE}}),""),sn=(0,n.Z)("div",{target:"e18ces1l0"})(u.k7.SMALL,{display:"flex",flexDirection:"row",alignItems:"center",fontSize:"14px",fontWeight:u.Xw.BOLD},"");var ln=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&&Kr(e,t)}(c,t);var r,n,i,a=Xr(c);function c(){var e;Wr(this,c);for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return en(Jr(e=a.call.apply(a,[this].concat(r))),"iconSize",24),en(Jr(e),"renderFollowButton",(function(){var t=e.props,r=t.section,n=t.featureFlags.NEW_MAGAZINE_COVER&&(null==r?void 0:r.isMagazine);return(0,C.jsx)(an,{namePrefix:"social-actions",section:r,styleVariation:n?_.NV.WHITE_OVERLAY:null},f.wF.FOLLOW)})),en(Jr(e),"renderEditButton",(function(){var t=e.props,r=t.section,n=t.isTooltipMenu,o=t.t;return(0,C.jsx)(y.Z,{isTooltipMenu:n,name:"social-actions_edit-magazine",className:"social-actions_edit-magazine-button",label:o("edit"),styleVariation:_.NV.WHITE_OVERLAY,href:(0,d.yQ)(r)},f.wF.EDIT_MAGAZINE)})),en(Jr(e),"renderPersonalizeButton",(function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],r=e.props,n=r.section,o=r.item,i=r.smartMagazineSection,a=r.onPersonalize,c=r.isUserStateLoading,u=r.isTooltipMenu,s=r.t,l=!o&&!!i,p=[_._Z.BLOCK,_._Z.ALIGN_LEFT];return(0,C.jsx)(y.Z,{isTooltipMenu:u,name:"social-action-personalize",onClick:function(){return a({section:n})},disabled:c,label:t?null:s("personalize"),className:t?"social-actions__button":"",styleModifier:t?void 0:p,children:t&&(0,C.jsx)(Je.Z,{size:e.iconSize,isPersonalized:l})},f.wF.PERSONALIZE)})),en(Jr(e),"renderShareButton",(function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],r=e.props,n=r.section,o=r.item,i=r.onShare,a=r.isUserStateLoading,c=r.isTooltipMenu,u=r.t,s=c&&!o&&(null==n?void 0:n.isTopic),l=[];return c&&(l.push(_._Z.BLOCK),s?l.push(_._Z.ALIGN_LEFT):l.push(_._Z.WITH_BADGE)),t?(0,C.jsxs)(y.Z,{tooltip:u("share"),isTooltipMenu:c,className:"social-actions__button",onClick:function(){return i({section:n,item:o})},name:"social-action-share",styleModifier:l,disabled:a,children:[!s&&(0,C.jsx)(We,{size:e.iconSize}),c&&(0,C.jsx)("span",{children:(0,v.Z)(u("share"))})]},f.wF.SHARE):(0,C.jsx)(y.Z,{tooltip:u("share"),isTooltipMenu:c,name:"social-action-share",label:u("share"),styleVariation:_.NV.PRIMARY,onClick:function(){return i({section:n,item:o})}},f.wF.SHARE)})),en(Jr(e),"renderFlipButton",(function(){var t=e.props,r=t.item,n=t.section,o=t.isTooltipMenu,i=t.showSocialMetrics;return(0,C.jsx)(Pe,{item:r,section:n,isTooltipMenu:o,showSocialMetrics:i,size:e.iconSize},f.wF.FLIP)})),en(Jr(e),"renderLikeButton",(function(){var t=e.props,r=t.item,n=t.section,o=t.isTooltipMenu,i=t.showSocialMetrics;return(0,C.jsx)(Fe,{item:r,section:n,size:e.iconSize,isTooltipMenu:o,showSocialMetrics:i}
1,f.wF.LIKE)})),en(Jr(e),"renderCommentButton",(function(){var t=e.props,r=t.item,n=t.section,o=t.t;return(0,C.jsx)(tt.Z,{tooltip:o("comment"),size:e.iconSize,item:r,section:n},f.wF.COMMENTS)})),en(Jr(e),"renderMuteButton",(function(t){return function(){var r=e.props,n=r.item,o=r.isTooltipMenu;return(0,C.jsxs)(on,{isTooltipMenu:o,styleModifier:[_._Z.WITH_BADGE],name:"item-actions-remove",children:[(0,C.jsx)($e,{color:s.bo.primary}),(0,C.jsx)(vt,{type:t,item:n})]},f.wF.MUTE)}})),en(Jr(e),"renderAcceptInviteButton",(function(){var t=e.props,r=t.section,n=t.isTooltipMenu;return(0,C.jsx)(wr.Z,{isTooltipMenu:n,styleVariation:n?void 0:_.NV.WHITE_OVERLAY,styleModifier:n?nn:void 0,section:r},f.wF.ACCEPT_INVITE)})),en(Jr(e),"renderLeaveMagazineButton",(function(t,r,n){var o=e.props,i=o.showModal,a=o.removeContributor,c=o.purgeSection,u=o.isTooltipMenu,s=o.toastShowInfoAction,l=o.t,p=o.history,d=function(){var e=qr(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,a(t,r);case 2:s(l("leave_magazine_success")),p.push("/"),c(n.remoteid);case 5:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();return(0,C.jsx)(y.Z,{styleVariation:_.NV.NONE,onClick:function(){i(et.Z,{name:"remove-self-contributor",confirmLabel:l("remove"),message:l("confirm_remove_contributor",{magazineTitle:n.title}),onConfirm:function(){return d()}})},className:"social-actions_leave-magazine-button",label:l("leave_magazine"),styleModifier:u?nn:void 0},f.wF.LEAVE_MAGAZINE)})),en(Jr(e),"renderFavoriteButton",(function(){var t=e.props,r=t.section,n=t.isTooltipMenu;return(0,C.jsx)(Qe.Z,{section:r,styleVariation:_.NV.NONE,styleModifier:n?nn:void 0},f.wF.ADD_FAVORITE)})),en(Jr(e),"renderInviteContributorButton",(function(){var t=e.props,r=t.section,n=t.isTooltipMenu;return(0,C.jsx)(Ar,{section:r,isTooltipMenu:n},f.wF.INVITE_CONTRIBUTOR)})),en(Jr(e),"renderLessLikeButton",(function(){var t=e.props,r=t.item,n=t.section,i=t.t,a=zr((0,o.useState)(!1),2),c=a[0],u=a[1];return(0,C.jsxs)(o.Fragment,{children:[(0,C.jsxs)(on,{styleModifier:[_._Z.WITH_BADGE],onClick:function(){u(!c)},name:"item-actions-less-like",color:s.bo.primary,children:[(0,C.jsx)(wt,{color:s.bo.primary}),(0,C.jsx)(cn,{children:i("show_less_like_this")}),(0,C.jsx)(Tt.Z,{direction:c?Tt.i.down:Tt.i.right,color:s.bo.primary,size:12})]},f.wF.LESS_LIKE),(0,C.jsx)(un,{isLessLikeOpen:c,children:r.topics.map((function(e){return(0,C.jsx)("li",{children:(0,C.jsx)(_.ZP,{styleModifier:[_._Z.BLOCK],name:"item-actions-less-like",children:(0,C.jsx)(zt,{topic:e,section:n})})},"".concat(f.wF.LESS_LIKE,"_").concat(e.title))}))},"".concat(f.wF.LESS_LIKE,"_topics"))]})})),en(Jr(e),"renderReportButton",(function(){var t=e.props,r=t.item,n=t.section,o=t.dismiss,i=t.onReport,a=t.t;return(0,C.jsxs)(on,{styleModifier:[_._Z.BLOCK,_._Z.WITH_BADGE],onClick:function(){return i({item:r,section:n,callback:o})},name:"item-actions-report",children:[(0,C.jsx)(At,{color:s.bo.primary,size:null!=n&&n.isStoryboard?e.iconSize:18}),(0,C.jsx)("span",{children:(0,v.Z)(a("report"))})]},f.wF.REPORT)})),en(Jr(e),"renderRemoveFromMagazineButton",(function(){var t=e.props,r=t.item,n=t.section,o=t.onRemoveItemFromMagazine,i=t.dismiss,a=t.t;return(0,C.jsxs)(on,{styleModifier:[_._Z.BLOCK,_._Z.WITH_BADGE],onClick:function(){return o({item:r,section:n,callback:i})},name:"item-actions-remove",children:[(0,C.jsx)(bt,{}),(0,C.jsx)("span",{children:(0,v.Z)(a("remove"))})]},f.wF.REMOVE_FROM_MAGAZINE)})),en(Jr(e),"renderCreateStory",(function(){var t=e.props.section;return(0,C.jsx)(Cr,{section:t},f.wF.CREATE_STORY)})),en(Jr(e),"renderPinFlipButton",(function(t){var r=e.props,n=r.item,o=r.section,i=r.t;return(0,C.jsx)(er,{tooltip:i("pin"),item:n,section:o,pin:t},f.wF.PIN_FLIP)})),en(Jr(e),"generateItemActionButtons",(function(){var t=e.props,r=t.buttonSet,n=t.isTooltipMenu,o=[],i=n?rn.DEFAULT_ACTION_SHEET:rn.DEFAULT_SOCIAL;return(r||i).forEach((function(t){var r=e.getButton(t);r&&o.push(r)})),o})),e}return r=c,n=[{key:"getButton",value:function(e){var t=this,r=this.props,n=r.uid,o=r.isAuthenticated,i=r.item,a=r.section,c=r.smartMagazineSection,u=r.isAnalytics,s=r.accessorySections,l=a&&n&&m.Z.isMagOwner(a,n),p=a&&(0,jr.rS)(a.remoteid,s),d=(null==a?void 0:a.primarySectionForRoute)&&m.Z.isMagContributor(a,p,n),v=!i&&!!c;switch(e){case f.wF.FOLLOW:if(!l)return this.renderFollowButton;break;case f.wF.EDIT_MAGAZINE:if(!i&&l)return this.renderEditButton;break;case f.wF.PERSONALIZE:if(!i&&(null!=a&&a.isTopic||null!=a&&a.isSmartMagazine))return function(){return t.renderPersonalizeButton(!0)};break;case f.wF.PERSONALIZE_TEXT:if(!i&&(null!=a&&a.isTopic||null!=a&&a.isSmartMagazine))return function(){return t.renderPersonalizeButton(!1)};break;case f.wF.SHARE:if(!v)return function(){return t.renderShareButton(!0)};break;case f.wF.SHARE_TEXT:if(!v)return function(){return t.renderShareButton(!1)};break;case f.wF.FLIP:if(!v&&!u)return this.renderFlipButton;break;case f.wF.LIKE:if(i&&!u)return this.renderLikeButton;break;case f.wF.COMMENTS:if(i&&!u)return this.renderCommentButton;break;case f.wF.MUTE:if(null!=i&&i.sourceDomain&&!u&&null!=a&&a.isUserPreferenceable)return"flipboard.com"===i.sourceDomain?this.renderMuteButton("author"):this.renderMuteButton("sourceDomain");break;
1case f.wF.ACCEPT_INVITE:if(m.Z.getInvite(a,n)&&!d)return function(){return t.renderAcceptInviteButton()};break;case f.wF.LEAVE_MAGAZINE:var h=this.props,_=h.section,y=h.profile.contributorMagazines;if(d){var b=y.find((function(e){return m.Z.mightBeSameSection(e,_)}));if(b)return function(){return t.renderLeaveMagazineButton(b.magazineTarget,t.props.profile.userInfo.userid,_)}}break;case f.wF.ADD_FAVORITE:if(null!=a&&a.isMagazine||null!=a&&a.isTopic||null!=a&&a.isSmartMagazine)return this.renderFavoriteButton;break;case f.wF.INVITE_CONTRIBUTOR:if(l)return this.renderInviteContributorButton;break;case f.wF.LESS_LIKE:if(o&&null!=i&&i.topics.length&&null!=a&&a.isUserPreferenceable)return this.renderLessLikeButton;break;case f.wF.REPORT:if(o&&i)return this.renderReportButton;break;case f.wF.REMOVE_FROM_MAGAZINE:if(i.canDeleteFromMagazine)return this.renderRemoveFromMagazineButton;break;case f.wF.CREATE_STORY:if(l||d)return this.renderCreateStory;break;case f.wF.PIN_FLIP:if(l||d)return function(){return t.renderPinFlipButton(!i.pinned)};break;default:return null}}},{key:"render",value:function(){return(0,C.jsx)(e,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Br(Object(r),!0).forEach((function(t){en(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Br(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},this.props,{generateItemActionButtons:this.generateItemActionButtons}))}}],n&&Yr(r.prototype,n),i&&Yr(r,i),c}(o.Component);return t.displayName=p.Z.displayName(e),t.propTypes={isAuthenticated:a().bool,uid:a().number,item:a().object,section:a().object,smartMagazineSection:a().object,buttonSet:a().array,showFollowButton:a().bool,onPersonalize:a().func.isRequired,onShare:a().func.isRequired,isAnalytics:a().bool,isUserStateLoading:a().bool,isTooltipMenu:a().bool,showModal:a().func.isRequired,t:a().func.isRequired,toastDismiss:a().func.isRequired,toastShowInfoAction:a().func.isRequired,usageSetNavFrom:a().func.isRequired,profile:a().object,onRemoveItemFromMagazine:a().func,onReport:a().func,dismiss:a().func,showSocialMetrics:a().bool,removeContributor:a().func.isRequired,purgeSection:a().func.isRequired,getSection:a().func.isRequired,fetchUserInfo:a().func.isRequired,accessorySections:a().object.isRequired,socialActivity:a().object.isRequired,featureFlags:a().object.isRequired,history:a().object.isRequired},t.defaultProps={section:null,hideSocialButtons:!1,isAnalytics:!1,showFollowButton:!1,isTooltipMenu:!1,profile:null,dismiss:h.h,showSocialMetrics:!1},(0,D.Z)(Ur.Z,pe.Z,ke.Z,ye.Z,Ee.Z,q.Z,kr.Z,Wt.Z,ge.Z,Fr.Z)((0,xr.Z)((0,Mr.Z)((0,Nr.Z)((0,Dr.Z)((0,Lr.Z)((0,Zr.Z)((0,N.Z)(t))))))))}},39069:function(e,t,r){"use strict";r(96928),r(61229),r(34769),r(34115),r(95342),r(68625),r(1939),r(62775),r(634),r(58188),r(20796),r(15735),r(28673),r(6886);var n=r(2784),o=r(12291),i=r(45697),a=r.n(i),c=r(14890),u=r(10950),s=r(48519),l=r(61312),f=r(30001),p=r(14175),d=r(138),m=r(90068),v=r(82706),h=r(39768),_=r(21681),y=r(52322);function b(e){return b="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},b(e)}function E(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function g(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function O(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function S(e,t){return S=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},S(e,t)}function A(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 r,n=I(e);if(t){var o=I(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return T(this,r)}}function T(e,t){return!t||"object"!==b(t)&&"function"!=typeof t?R(e):t}function R(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}
1function I(e){return I=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},I(e)}t.Z=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&&S(e,t)}(a,t);var r,n,o,i=A(a);function a(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),(t=i.call(this,e)).handleLike=t.handleLike.bind(R(t)),t}return r=a,n=[{key:"handleLike",value:function(){var e=this.props,t=e.item,r=e.section,n=e.isAuthenticated,o=e.uid,i=e.likeItem,a=e.unlikeItem,c=e.navFrom,u=e.showSocialActionGate,s=e.usageTrackTapLikeItem,l=e.addPostOnboardingSocialAction,p=e.isLiked;n?t&&(s(r,t),(p?a:i)(t,o,r,c)):(l({like:{item:t,section:r,navFrom:c}}),u(f.hk.LIKE))}},{key:"render",value:function(){return(0,y.jsx)(e,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?E(Object(r),!0).forEach((function(t){g(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):E(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},this.props,{onLike:this.handleLike}))}}],n&&O(r.prototype,n),o&&O(r,o),a}(n.Component);return t.displayName=u.Z.displayName(e),t.propTypes={item:a().object,section:a().object,isAuthenticated:a().bool.isRequired,uid:a().number.isRequired,likeItem:a().func.isRequired,unlikeItem:a().func.isRequired,addPostOnboardingSocialAction:a().func.isRequired,articleRemoteId:a().string,navFrom:a().string,showSocialActionGate:a().func.isRequired,usageTrackTapLikeItem:a().func.isRequired,isLiked:a().bool.isRequired},t.defaultProps={section:null,articleRemoteId:null,navFrom:null},(0,m.Z)(v.Z)((0,o.$j)((function(e,t){var r=t.isAuthenticated,n=t.item,o=e.socialActivity,i=(0,l.tq)(null==n?void 0:n.flipboardSocialId,o);return{articleRemoteId:r&&(0,s.p9)(e)||null,isLiked:i.isLiked}}),(function(e){return(0,c.DE)({likeItem:h.YI,unlikeItem:h.$0,usageTrackTapLikeItem:_.kp},e)}))((0,d.Z)((0,p.Z)(t))))}},95705:function(e,t,r){"use strict";r(96928),r(61229),r(58188),r(73439),r(34769),r(34115),r(95342),r(68625),r(1939),r(62775),r(634),r(20796),r(15735),r(28673),r(6886),r(35666);var n=r(2784),o=r(45697),i=r.n(o),a=r(12291),c=r(14890),u=r(10950),s=r(46874),l=r(10700),f=r(37757),p=r(52322);function d(e){return d="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},d(e)}function m(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function v(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function h(e,t,r,n,o,i,a){try{var c=e[i](a),u=c.value}catch(e){return void r(e)}c.done?t(u):Promise.resolve(u).then(n,o)}function _(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function y(e,t){return y=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},y(e,t)}function b(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 r,n=g(e);if(t){var o=g(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return E(this,r)}}function E(e,t){return!t||"object"!==d(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function g(e){return g=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},g(e)}t.Z=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&&y(e,t)}(u,t);var r,n,o,i,a,c=b(u);function u(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,u),(t=c.call(this,e)).state={inviteUrl:null},t}return r=u,n=[{key:"componentDidMount",value:(i=regeneratorRuntime.mark((function e(){var t,r,n,o,i;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=this.props,r=t.magazine,n=t.shortenSection,o=t.t,e.prev=1,e.next=4,n(r,!0);case 4:(i=e.sent)&&this.setState({inviteUrl:i}),e.next=11;break;case 8:e.prev=8,e.t0=e.catch(1),this.props.toastShowErrorAction(o("fallback_error_message"));case 11:case"end":return e.stop()}}),e,this,[[1,8]])})),a=function(){var e=this,t=arguments;return new Promise((function(r,n){var o=i.apply(e,t);function a(e){h(o,r,n,a,c,"next",e)}function c(e){h(o,r,n,a,c,"throw",e)}a(void 0)}))},function(){return a.apply(this,arguments)})},{key:"render",value:function(){return(0,p.jsx)(e,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
1t%2?m(Object(r),!0).forEach((function(t){v(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):m(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({inviteUrl:this.state.inviteUrl},this.props))}}],n&&_(r.prototype,n),o&&_(r,o),u}(n.Component);return t.displayName=u.Z.displayName(e),t.propTypes={magazine:i().object.isRequired,toastShowErrorAction:i().func.isRequired,shortenSection:i().func.isRequired,t:i().func.isRequired},(0,a.$j)(null,(function(e){return(0,c.DE)({shortenSection:s.ot},e)}))((0,f.Z)((0,l.Z)(t)))}},63547:function(e,t,r){"use strict";var n=r(12291),o=r(14890),i=r(41626),a=r(21681),c=r(31298),u=r(90068),s=r(60986),l=r(9665),f=r(39285);var p=function(e,t){var r=t.isPhone,n=t.isAmp,o=t.isFromBranchInvite,i=e.app,a=i.isGateDismissed,u=i.isMobileGateSuppressed,s=i.isWebView,l=i.isFromCrawler,f=i.isFromBriefing,p=i.isEmbeddable,d=i.readyForMetrics,m=e.magazineInvite,v=e.auth,h=function(e,t,r,n,o,i,a,c,u,s,l,f){return!(e||t||r||n||!o||i||!a||c||u||s||l||null!=f&&f.token)}(s,f,l,u,(0,c.Ck)(e)||(0,c.yB)(e)&&!(0,c.ll)(e),0!==v.uid,r,n,a,p,o,m);return{readyForMetrics:d,shouldShowMobileGate:h}},d=function(e){return(0,o.DE)({usageTrackMobileGatePickerDisplayed:a.AW,usageTrackMobileGatePickerExit:a.lH,usageTrackTapOpenInAppButton:a.Ez,dismissGate:function(){return e((0,i.Qk)(!0))}},e)};t.Z=function(e){return(0,u.Z)(l.Z,s.Z,f.Z)((0,n.$j)(p,d)(e))}},14175:function(e,t,r){"use strict";r(96928),r(61229),r(34769),r(34115),r(95342),r(68625),r(1939),r(62775),r(634),r(58188),r(20796),r(15735),r(28673),r(6886);var n=r(2784),o=r(30298),i=r(10950),a=r(52322);function c(e){return c="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},c(e)}function u(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function s(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function f(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function p(e,t){return p=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},p(e,t)}function d(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 r,n=v(e);if(t){var o=v(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return m(this,r)}}function m(e,t){return!t||"object"!==c(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function v(e){return v=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},v(e)}t.Z=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&&p(e,t)}(m,t);var r,n,i,c=d(m);function m(){return l(this,m),c.apply(this,arguments)}return r=m,n=[{key:"render",value:function(){var t=this;return(0,a.jsx)(o.nN.Consumer,{children:function(r){return(0,a.jsx)(e,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?u(Object(r),!0).forEach((function(t){s(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):u(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({navFrom:r},t.props))}})}}],n&&f(r.prototype,n),i&&f(r,i),m}(n.Component);return t.displayName=i.Z.displayName(e),t}},83491:function(e,t,r){"use strict";r.d(t,{Z:function(){return ne}});r(18178),r(43105),r(15735),r(58188),r(6886),r(96928),r(61229),r(34769),r(34115),r(95342),r(68625),r(1939),r(62775),r(634),r(20796),r(28673);var n=r(2784),o=r(12291),i=r(45697),a=r.n(i),c=r(14890),u=r(10950),s=r(67707),l=r(138),f=r(14175),p=r(90068),d=r(82706),m=r(68869),v=r(41985),h=r(21681),_=r(30001),y=r(37236),b=r(23115),E=(r(43450),r(39529),r(31235),r(50839)),g=r(70042),O=r(12167),S=r(49372),A=r(5109),T=r(46894),R=r(37757),I=r(22480),P=r(26626),C=r(28144),w=r(8626),j=r(52322),N=(0,O.Z)("div",{target:"ec83emp4"})(T.z.content,""),L=(0,O.Z)(C.Z,{target:"ec83emp3"})({borderTop:"0px",padding:"".concat(S.N.LARGE," ").concat(S.N.BASE4X," ").concat(S.N.BASE4X)},""),D=(0,O.Z)("h1",{target:"ec83emp2"})(A.$C.MEDIUM,T.z.title,""),x=(0,O.Z)("p",{target:"ec83emp1"})(A.Hb.LARGE_STANDARD,{marginBottom:S.N.XLARGE},""),M=(0,O.Z)(P.ZP,{target:"ec83emp0"})({marginLeft:S.N.BASE},""),Z=function(e){var t=e.topic,r=e.dismissModal,n=e.onSubmit,o=e.isMagazineInviteFlow,i=e.t,a=(0,j.jsx)(w.Z,{section:t,styleVariation:w.B.COLOR_ONLY,noLink:!0}),c=o?i("add_to_favorites"):(0,I.Z)(i("add_topic_to_favorites",{topicTitle:t.title}),{topicTag:function(){return a}}),u=o?i("add_to_favorites_home_carousel_description"):i("add_to_favorites_description",{topicTitle:t.title}),s=i(o?"add":"add_to_favorites");return(0,j.jsxs)(E.Z,{name:"add-favorite-confirmation-modal",modalTheme:g.J9.WINDOW,modifier:g.nY.HAS_NO_HEADER,children:[(0,j.jsxs)(N,{children:[(0,j.jsx)(D,{children:(0,j.jsx)("span",{children:c})}),(0,j.jsx)(x,{children:u})]}),(0,j.jsxs)(L,{fixedControls:!0,children:[(0,j.jsx)(P.ZP,{name:"topic-customization-cancel",styleVariation:P.NV.SECONDARY,onClick:function(){r()},children:i("not_now")}),(0,j.jsx)(M,{name:"topic-customization-done",styleVariation:P.NV.PRIMARY,onClick:function(){n(),r()},children:s})]})]})};Z.propTypes={topic:a().object.isRequired,onSubmit:a().func.isRequired,dismissModal:a().func.isRequired,isMagazineInviteFlow:a().bool,t:a().func.isRequired},Z.defaultProps={};
1var U=(0,p.Z)(m.Z)((0,R.Z)(Z)),k=r(32353),F=r(46315),G=r(28041),B=r(60986);function z(e){var t=e.section,r=e.createSmartMagazine,o=e.updateSmartMagazine,i=e.showModal,a=e.dismissModal,c=e.isPhone,u=e.smartMagazines,l=e.addSmartMagazineToFavorites,f=e.handleFollow,p=e.favorites,d=(0,s.gH)(t,u)||t,m=function(){l(d)},v=c?g.J9.FULLSCREEN:g.J9.WINDOW;return(0,j.jsx)(E.Z,{name:"personalize-modal",modalTheme:v,modifier:g.nY.HAS_NO_HEADER,children:(0,j.jsx)(n.Fragment,{children:(0,j.jsx)(k.Z,{topic:d.isSmartMagazine?d.rootTopic:d,selectedCustomizations:d.isSmartMagazine?d.subsections:[d],onSubmit:d.isSmartMagazine?function(e){var t=d.subsections.map((function(e){return e.remoteid})),r=e.map((function(e){return e.remoteid})),n=r.filter((function(e){return!t.includes(e)})),i=t.filter((function(e){return!r.includes(e)}));o(d,n,i),a()}:function(e){r(d,e).then((function(){f({sections:d}),a(),p&&p.length<=10&&i(U,{topic:d,onSubmit:m})}))}})})})}z.propTypes={section:a().object,t:a().func.isRequired,showModal:a().func.isRequired,dismissModal:a().func.isRequired,isPhone:a().bool.isRequired,history:a().object.isRequired,smartMagazines:a().array,createSmartMagazine:a().func.isRequired,updateSmartMagazine:a().func.isRequired,addSmartMagazineToFavorites:a().func.isRequired,handleFollow:a().func.isRequired,favorites:a().array},z.defaultProps={smartMagazines:[]};var V=(0,p.Z)(B.Z,m.Z)((0,G.Z)((0,F.Z)((0,R.Z)(z)))),H=(0,o.$j)((function(e){return{favorites:e.profile.favorites}}),(function(e){return(0,c.DE)({createSmartMagazine:b.kU,updateSmartMagazine:b.nu,usageTrackOnboardExit:y.h,addSmartMagazineToFavorites:b.Oe},e)}))(V),q=(0,p.Z)(v.Z)(H);function W(e){return W="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},W(e)}function Y(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function K(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function X(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function $(e,t){return $=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},$(e,t)}function J(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 r,n=te(e);if(t){var o=te(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return Q(this,r)}}function Q(e,t){return!t||"object"!==W(t)&&"function"!=typeof t?ee(e):t}function ee(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function te(e){return te=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},te(e)}function re(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var ne=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)}(a,t);var r,n,o,i=J(a);function a(){var e;K(this,a);for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return re(ee(e=i.call.apply(i,[this].concat(r))),"handlePersonalize",(function(t){var r=e.props,n=r.isAuthenticated,o=r.showSocialActionGate,i=r.smartMagazines,a=r.showModal,c=r.navFrom,u=t.section,l=t.callback;if(!u)return null;var f=n&&(0,s.gH)(u.remoteid,i)||u;if(n){var p=Object.assign({},t,{navFrom:c,topic:f});a(q,p),l&&l()}else o(_.hk.PERSONALIZE),t.callback&&t.callback()})),e}return r=a,n=[{key:"render",value:function(){return(0,j.jsx)(e,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
1t%2?Y(Object(r),!0).forEach((function(t){re(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Y(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},this.props,{onPersonalize:this.handlePersonalize}))}}],n&&X(r.prototype,n),o&&X(r,o),a}(n.Component);return t.displayName=u.Z.displayName(e),t.propTypes={isAuthenticated:a().bool.isRequired,showSocialActionGate:a().func.isRequired,showModal:a().func.isRequired,navFrom:a().string,usageTrackTapShareItem:a().func.isRequired,usageTrackTapShareSection:a().func.isRequired,entries:a().array,smartMagazines:a().array,smartMagazineSection:a().object},t.defaultProps={navFrom:null,smartMagazines:[]},(0,o.$j)((function(e,t){var r=t.section,n=e.sections.entries,o=e.profile.smartMagazines;return{smartMagazineSection:r&&(0,s.gH)(r,o),entries:n}}),(function(e){return(0,c.DE)({usageTrackTapShareItem:h.VV,usageTrackTapShareSection:h.qs,addToCarousel:b.T1,deleteFromCarousel:b.Tu},e)}))((0,p.Z)(v.Z,d.Z,m.Z)((0,l.Z)((0,f.Z)(t))))}},8805:function(e,t,r){"use strict";r.d(t,{Z:function(){return H}});r(96928),r(61229),r(58188),r(73439),r(34769),r(34115),r(95342),r(68625),r(1939),r(62775),r(634),r(20796),r(15735),r(28673),r(6886);var n=r(12167),o=(r(35666),r(2784)),i=r(45697),a=r.n(i),c=r(75007),u=r(32220),s=r(10950),l=r(47741),f=r(7799),p=r(34688),d=(r(91891),r(47897)),m=r.n(d),v=r(49372),h=r(5109),_=r(37757),y=r(52322);function b(e){return b="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},b(e)}function E(e,t,r,n,o,i,a){try{var c=e[i](a),u=c.value}catch(e){return void r(e)}c.done?t(u):Promise.resolve(u).then(n,o)}function g(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function O(e,t){return O=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},O(e,t)}function S(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 r,n=R(e);if(t){var o=R(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return A(this,r)}}function A(e,t){return!t||"object"!==b(t)&&"function"!=typeof t?T(e):t}function T(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function R(e){return R=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},R(e)}var I=(0,n.Z)("span",{target:"e1e51uq80"})(h.TK.ERROR,{fontSize:"12px",marginBottom:v.N.BASE},""),P=function(e){!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&&O(e,t)}(u,e);var t,r,n,i,a,c=S(u);function u(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,u),(t=c.call(this,e)).state={failed:!1,widget:null},t.isRecaptchaLoaded=t.isRecaptchaLoaded.bind(T(t)),t.renderGrecaptcha=t.renderGrecaptcha.bind(T(t)),t.callback=t.callback.bind(T(t)),t.reset=t.reset.bind(T(t)),t}return t=u,r=[{key:"componentDidMount",value:function(){this.props.isRecaptchaOn&&this.renderGrecaptcha()}},{key:"componentDidUpdate",value:function(e){var t=this.props,r=t.isRecaptchaOn,n=t.failedV3Validation;r&&!e.isRecaptchaOn&&this.renderGrecaptcha(),n&&!e.failedV3Validation&&this.reset()}},{key:"isRecaptchaLoaded",value:function(){var e=(0,f.Z)();return void 0!==e&&void 0!==e.grecaptcha&&"function"==typeof e.grecaptcha.render}},{key:"reset",value:function(){(0,f.Z)().grecaptcha.reset(this.state.widget)}},{key:"renderGrecaptcha",value:function(){var e=this.props,t=e.elementID,r=e.size,n=e.sitekey;this.isRecaptchaLoaded()&&this.setState({widget:(0,f.Z)().grecaptcha.render(t,{sitekey:n,size:r,callback:this.callback})})}},{key:"callback",value:(i=regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(e.prev=0,!this.props.verifyCallback){e.next=5;break}return e.next=4,this.props.verifyCallback(t);case 4:this.setState({failed:!1});case 5:e.next=12;break;case 7:e.prev=7,e.t0=e.catch(0),this.reset(),this.setState({failed:!0}),l.Z.captureException(e.t0);case 12:case"end":return e.stop()}}),e,this,[[0,7]])})),a=function(){var e=this,t=arguments;return new Promise((function(r,n){var o=i.apply(e,t);function a(e){E(o,r,n,a,c,"next",e)}function c(e){E(o,r,n,a,c,"throw",e)}a(void 0)}))},function(e){return a.apply(this,arguments)})},{key:"render",value:function(){var e=this.props,t=e.elementID,r=e.className,n=e.sitekey,i=e.size,a=e.themeColor,c=e.t;return(0,y.jsxs)(o.Fragment,{children:[this.state.failed&&(0,y.jsx)(I,{children:c("recaptcha_validation_error")}),(0,y.jsx)("br",{}),(0,y.jsx)("div",{id:t,className:r,"data-sitekey":n,"data-size":i,"data-theme":a})]})}}],r&&g(t.prototype,r),n&&g(t,n),u}(o.Component);P.propTypes={sitekey:m().string.isRequired,elementID:m().string.isRequired,className:m().string,verifyCallback:m().func.isRequired,size:m().string.isRequired,isRecaptchaOn:m().bool.isRequired,failedV3Validation:m().bool.isRequired,themeColor:m().string.isRequired,t:m().func.isRequired},P.defaultProps={size:"normal"};var C=(0,_.Z)(P),w=r(90068),j=r(8225);function N(e){return N="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},N(e)}function L(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function D(e,t,r,n,o,i,a){try{var c=e[i](a),u=c.value}catch(e){return void r(e)}c.done?t(u):Promise.resolve(u).then(n,o)}function x(e){return function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(e){D(i,n,o,a,c,"next",e)}function c(e){D(i,n,o,a,c,"throw",e)}a(void 0)}))}}function M(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}
1function Z(e,t){return Z=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},Z(e,t)}function U(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 r,n=G(e);if(t){var o=G(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return k(this,r)}}function k(e,t){return!t||"object"!==N(t)&&"function"!=typeof t?F(e):t}function F(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function G(e){return G=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},G(e)}function B(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var z=(0,n.Z)(C,{target:"e1dpn7hr0"})({name:"1r5gb7q",styles:"display:inline-block"}),V={isReCaptchaPending:!1,failedV3Validation:!1,failedV2Validation:!1},H=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&&Z(e,t)}(a,t);var r,n,o,i=U(a);function a(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),B(F(t=i.call(this,e)),"reset",(function(){t.setState(V)})),B(F(t),"validateReCaptcha",function(){var e=x(regeneratorRuntime.mark((function e(r,n){var o;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.setState({isReCaptchaPending:!0}),t.onValidated=n,e.next=4,(0,u.y0)(r);case 4:if(o=e.sent,(0,u.Ms)(null==o?void 0:o.score),!((null==o?void 0:o.score)>u.Gw)){e.next=12;break}return e.next=9,n();case 9:t.reset(),e.next=13;break;case 12:(0,f.Z)().grecaptcha&&t.setState({isReCaptchaPending:!0,failedV3Validation:!0});case 13:case"end":return e.stop()}}),e)})));return function(t,r){return e.apply(this,arguments)}}()),B(F(t),"v2CheckboxCallback",function(){var e=x(regeneratorRuntime.mark((function e(r){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,t.setState({isReCaptchaPending:!0}),e.next=4,(0,u.IU)(r);case 4:if(!e.sent.success){e.next=11;break}return e.next=8,t.onValidated();case 8:t.reset(),e.next=13;break;case 11:throw t.setState({failedV2Validation:!0,isReCaptchaPending:!1}),new p.P0;case 13:e.next=20;break;case 15:throw e.prev=15,e.t0=e.catch(0),t.setState({failedV2Validation:!0,isReCaptchaPending:!1}),l.Z.captureException(e.t0),e.t0;case 20:case"end":return e.stop()}}),e,null,[[0,15]])})));return function(t){return e.apply(this,arguments)}}()),t.state=V,t}return r=a,n=[{key:"componentDidMount",value:function(){(0,u.HH)()}},{key:"render",value:function(){var t=this.state,r=t.failedV2Validation,n=t.failedV3Validation,o=t.isReCaptchaPending,i=this.props,a=i.appThemeOverride,u=i.appTheme,s="dark"===a||!a&&"dark"===u?"dark":"light",l=this.state.failedV3Validation?(0,y.jsx)(z,{elementID:"recaptcha-v2",sitekey:c.Z.GOOGLE_RECAPTCHA_PUBLIC_KEY_V2,verifyCallback:this.v2CheckboxCallback,failedV3Validation:n,themeColor:s,isRecaptchaOn:!0}):null;return(0,y.jsx)(e,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?L(Object(r),!0).forEach((function(t){B(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):L(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},this.props,{ReCaptchaUI:l,validateReCaptcha:this.validateReCaptcha,reCaptchaFailedValidation:r&&n,isReCaptchaPending:o}))}}],n&&M(r.prototype,n),o&&M(r,o),a}(o.Component);return t.propTypes={appTheme:a().string,appThemeOverride:a().string},t.displayName=s.Z.displayName(e),(0,w.Z)(j.Z)(t)}},73666:function(e,t,r){"use strict";r(96928),r(61229),r(34769),r(34115),r(95342),r(68625),r(1939),r(62775),r(634),r(58188),r(20796),r(15735),r(28673),r(6886);var n=r(2784),o=r(12291),i=r(14890),a=r(45697),c=r.n(a),u=r(10950),s=r(46874),l=r(23352),f=r(83183),p=r(86635),d=r(37757),m=r(90068),v=r(68869),h=r(52322);function _(e){return _="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},_(e)}function y(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function b(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function E(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function g(e,t){return g=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},g(e,t)}function O(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 r,n=T(e);if(t){var o=T(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return S(this,r)}}function S(e,t){return!t||"object"!==_(t)&&"function"!=typeof t?A(e):t}function A(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function T(e){return T=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},T(e)}t.Z=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&&g(e,t)}(a,t);var r,n,o,i=O(a);function a(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),(t=i.call(this,e)).handleRemove=t.handleRemove.bind(A(t)),t.handleConfirmRemove=t.handleConfirmRemove.bind(A(t)),t}return r=a,n=[{key:"handleRemove",value:function(e){var t=this,r=this.props,n=r.showModal,o=r.dismissModal,i=r.t,a=e.callback,c={removeProps:e,name:"remove",title:i("remove_from_magazine"),message:i("confirm_remove_from_magazine"),confirmLabel:i("remove"),onConfirm:function(){return t.handleConfirmRemove(e)},dismissModal:o};n(p.Z,c),a&&a()}},{key:"handleConfirmRemove",value:function(e){var t=e.item,r=e.section;this.props.removeItemFromMagazine(t,r)}},{key:"handleRemovingUser",value:function(e){var t=e.magazineTarget,r=e.userid;this.props.removeContributor(t,r)}},{key:"render",value:function(){return(0,h.jsx)(e,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
1t%2?y(Object(r),!0).forEach((function(t){b(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):y(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},this.props,{onRemoveItemFromMagazine:this.handleRemove,onRemoveUserFromMagazine:this.handleRemovingUser}))}}],n&&E(r.prototype,n),o&&E(r,o),a}(n.Component);return t.displayName=u.Z.displayName(e),t.propTypes={showModal:c().func.isRequired,dismissModal:c().func.isRequired,removeItemFromMagazine:c().func.isRequired,removeContributor:c().func.isRequired,t:c().func.isRequired},(0,o.$j)(null,(function(e){return(0,i.DE)({removeItemFromMagazine:l.oV,removeContributor:f.$d,purgeSection:s.f1},e)}))((0,m.Z)(v.Z)((0,d.Z)(t)))}},92104:function(e,t,r){"use strict";r(35666),r(18178),r(96928),r(61229),r(58188),r(73439),r(34769),r(34115),r(95342),r(68625),r(1939),r(62775),r(634),r(20796),r(15735),r(28673),r(6886);var n=r(2784),o=r(45697),i=r.n(o),a=r(12291),c=r(14890),u=r(10950),s=r(86635),l=r(74787),f=r(10700),p=r(37757),d=r(90068),m=r(68869),v=r(37889),h=r(52322);function _(e){return _="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},_(e)}function y(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function b(e,t,r,n,o,i,a){try{var c=e[i](a),u=c.value}catch(e){return void r(e)}c.done?t(u):Promise.resolve(u).then(n,o)}function E(e){return function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(e){b(i,n,o,a,c,"next",e)}function c(e){b(i,n,o,a,c,"throw",e)}a(void 0)}))}}function g(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function O(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function S(e,t){return S=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},S(e,t)}function A(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 r,n=I(e);if(t){var o=I(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return T(this,r)}}function T(e,t){return!t||"object"!==_(t)&&"function"!=typeof t?R(e):t}function R(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function I(e){return I=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},I(e)}function P(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}t.Z=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&&S(e,t)}(a,t);var r,n,o,i=A(a);function a(){var e;g(this,a);for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return P(R(e=i.call.apply(i,[this].concat(r))),"handleReport",(function(t){var r=e.props,n=r.showModal,o=r.dismissModal,i=r.t,a=t.callback,c={name:"report",title:t.comment?i("are_you_sure"):i("report_content"),message:t.comment?i("report_comment"):i("report_content_confirm"),confirmLabel:i("report"),onConfirm:function(){return e.handleConfirmReport(t)},dismissModal:o};n(s.Z,c),a&&a()})),P(R(e),"handleConfirmReport",function(){var t=E(regeneratorRuntime.mark((function t(r){var n,o,i,a,c,u,s,l,f,p,d;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(n=r.section,o=r.item,i=r.comment,a=r.callbackAfterConfirm,c=e.props,u=c.toastShowInfoAction,s=c.toastShowErrorAction,l=c.dismissModal,f=c.reportComment,p=c.flagItem,d=c.t,t.prev=2,!r.comment){t.next=8;break}return t.next=6,f(n,o,i);case 6:t.next=10;break;case 8:return t.next=10,p(n,o);case 10:a&&a(),u(d("report_content_success")),l(),t.next=19;break;case 15:t.prev=15,t.t0=t.catch(2),s(d("report_content_failure")),l();case 19:case"end":return t.stop()}}),t,null,[[2,15]])})));return function(e){return t.apply(this,arguments)}}()),e}return r=a,n=[{key:"render",value:function(){return(0,h.jsx)(e,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
1t%2?y(Object(r),!0).forEach((function(t){P(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):y(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},this.props,{onReport:this.handleReport}))}}],n&&O(r.prototype,n),o&&O(r,o),a}(n.Component);return t.displayName=u.Z.displayName(e),t.propTypes={showModal:i().func.isRequired,dismissModal:i().func.isRequired,reportComment:i().func.isRequired,toastShowInfoAction:i().func.isRequired,toastShowErrorAction:i().func.isRequired,flagItem:i().func.isRequired,t:i().func.isRequired},(0,a.$j)(null,(function(e){return(0,c.DE)({flagItem:l.xf},e)}))((0,d.Z)(m.Z,v.Z)((0,p.Z)((0,f.Z)(t))))}},50824:function(e,t,r){"use strict";r.d(t,{Z:function(){return K}});r(43105),r(96928),r(61229),r(34769),r(34115),r(95342),r(68625),r(1939),r(62775),r(634),r(58188),r(20796),r(15735),r(28673),r(6886);var n=r(2784),o=r(45697),i=r.n(o),a=r(10950),c=r(90068),u=r(21681),s=(r(73439),r(35666),r(19763)),l=r(7799),f=r(11826),p=r(22749),d=r(28144),m=r(70042),v=r(4067),h=r(26626),_=r(66362),y=r(86349),b=r(59464),E=r(50839),g=r(14175),O=r(10700),S=r(37757),A=r(82706),T=r(65434),R=r(68869),I=r(52322);function P(e){return P="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},P(e)}function C(e,t,r,n,o,i,a){try{var c=e[i](a),u=c.value}catch(e){return void r(e)}c.done?t(u):Promise.resolve(u).then(n,o)}function w(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}
1function j(e,t){return j=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},j(e,t)}function N(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 r,n=x(e);if(t){var o=x(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return L(this,r)}}function L(e,t){return!t||"object"!==P(t)&&"function"!=typeof t?D(e):t}function D(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function x(e){return x=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},x(e)}var M=function(e){!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&&j(e,t)}(c,e);var t,r,n,o,i,a=N(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=a.call(this,e)).state={shareLink:null,isLoading:!0,displayCopyMessage:!1},t.handleFocus=t.handleFocus.bind(D(t)),t.clearCopyMessage=t.clearCopyMessage.bind(D(t)),t.handleClickFacebookButton=t.handleClickFacebookButton.bind(D(t)),t.handleClickTwitterButton=t.handleClickTwitterButton.bind(D(t)),t}return t=c,r=[{key:"componentDidMount",value:(o=regeneratorRuntime.mark((function e(){var t,r,n,o,i,a,c;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=this.props,r=t.item,n=t.section,o=t.getShortUrl,i=t.t,!r||r.isSection||r.isSectionCover){e.next=18;break}if(!r||!r.isFlipboardInternalContent){e.next=5;break}return this.setState({shareLink:r.sourceURL,isLoading:!1}),e.abrupt("return");case 5:return e.prev=5,e.next=8,o(r);case 8:(a=e.sent)?this.setState({shareLink:a,isLoading:!1}):this.setState({isLoading:!1}),e.next=16;break;case 12:e.prev=12,e.t0=e.catch(5),this.props.dismissModal(),this.props.toastShowErrorAction(i("fallback_error_message"));case 16:e.next=20;break;case 18:c=r&&r.section||n,this.setState({shareLink:(0,f.st)(c,this.props.uid),isLoading:!1});case 20:case"end":return e.stop()}}),e,this,[[5,12]])})),i=function(){var e=this,t=arguments;return new Promise((function(r,n){var i=o.apply(e,t);function a(e){C(i,r,n,a,c,"next",e)}function c(e){C(i,r,n,a,c,"throw",e)}a(void 0)}))},function(){return i.apply(this,arguments)})},{key:"componentWillUnmount",value:function(){this.toggleCopyMessageTimeout&&this.clearCopyMessage()}},{key:"handleFocus",value:function(e){e.target.setSelectionRange(0,this.state.shareLink.length),(0,l.Z)().document.execCommand("copy"),this.setState({displayCopyMessage:!0}),this.toggleCopyMessageTimeout=(0,l.Z)().setTimeout(this.clearCopyMessage,2e3)}},{key:"clearCopyMessage",value:function(){this.toggleCopyMessageTimeout&&((0,l.Z)().clearTimeout(this.toggleCopyMessageTimeout),this.toggleCopyMessageTimeout=null,this.setState({displayCopyMessage:!1}))}},{key:"handleClickFacebookButton",value:function(){var e=this.props,t=e.item,r=e.section,n=e.navFrom,o=e.usageSetNavFrom,i=e.usageTrackItemShare;n&&o(p.f2.ITEM_SHARE,n),i(t,r,"facebook"),s.Z.shareOnFacebook(this.state.shareLink)}},{key:"handleClickTwitterButton",value:function(){var e=this.props,t=e.item,r=e.section,n=e.navFrom,o=e.usageSetNavFrom,i=e.usageTrackItemShare;n&&o(p.f2.ITEM_SHARE,n),i(t,r,"twitter");var a=t?t.sanitizedTitle:r.title;s.Z.shareOnTwitter(this.state.shareLink,a)}},{key:"render",value:function(){var e=this.props,t=e.section,r=e.item,n=e.dismissModal,o=e.t,i=this.state,a=i.isLoading,c=i.shareLink,u=i.displayCopyMessage,s=t&&t.remoteid||r&&r.remoteid;return(0,I.jsxs)(E.Z,{name:"share",modalTheme:m.J9.WINDOW,children:[(0,I.jsx)("section",{className:"share modal__content",children:a?(0,I.jsx)("p",{className:"ui-text--body",children:o("generating_link")}):(0,I.jsxs)("div",{children:[(0,I.jsx)("h1",{className:"ui-text--title share__title",children:o("share")}),r&&(0,I.jsx)("div",{className:"share__item-wrapper",children:(0,I.jsx)(b.Z,{item:r,shownInList:!1})}),(0,I.jsxs)(h.ZP,{name:"share-facebook",className:"button--with-badge--facebook button--with-badge--share button--with-badge--facebook--share no-text-transform",styleModifier:[h._Z.WITH_BADGE,h._Z.BLOCK],onClick:this.handleClick
1FacebookButton,clickEventDetails:{remoteid:s},children:[(0,I.jsx)(_.Z,{}),(0,I.jsx)("span",{children:o("share_on_facebook")})]}),(0,I.jsxs)(h.ZP,{name:"share-twitter",className:"button--with-badge--twitter button--with-badge--share button--with-badge--twitter--share no-text-transform",styleModifier:[h._Z.WITH_BADGE,h._Z.BLOCK],onClick:this.handleClickTwitterButton,clickEventDetails:{remoteid:s},children:[(0,I.jsx)(y.Z,{}),(0,I.jsx)("span",{children:o("share_on_twitter")})]}),(0,I.jsx)("p",{className:"ui-text--body",children:o("share_the_link_below")},3),(0,I.jsx)(v.Z,{value:c,onFocus:this.handleFocus,readOnly:!0}),u&&(0,I.jsx)("p",{className:"share__copy-link-message ui-text--body",children:o("copied")})]})}),(0,I.jsx)(d.Z,{children:(0,I.jsx)(h.ZP,{name:"create-magazine-dismiss",label:o("cancel"),styleVariation:h.NV.SECONDARY,onClick:n})})]})}}],r&&w(t.prototype,r),n&&w(t,n),c}(n.Component);M.propTypes={dismissModal:i().func.isRequired,section:i().object,item:i().object,navFrom:i().string,uid:i().number,t:i().func.isRequired,toastShowErrorAction:i().func.isRequired,usageSetNavFrom:i().func.isRequired,usageTrackItemShare:i().func.isRequired,getShortUrl:i().func.isRequired},M.defaultProps={section:null,item:null,navFrom:null,uid:null};var Z=(0,c.Z)(T.Z,A.Z,R.Z)((0,g.Z)((0,O.Z)((0,S.Z)(M)))),U=r(74787),k=(0,c.Z)({actions:{usageTrackItemShare:u.uI,getShortUrl:U.OA}})(Z);function F(e){return F="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},F(e)}function G(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function B(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function z(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function V(e,t){return V=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},V(e,t)}function H(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 r,n=Y(e);if(t){var o=Y(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return q(this,r)}}function q(e,t){return!t||"object"!==F(t)&&"function"!=typeof t?W(e):t}function W(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Y(e){return Y=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},Y(e)}var K=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&&V(e,t)}(a,t);var r,n,o,i=H(a);function a(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),(t=i.call(this,e)).handleShare=t.handleShare.bind(W(t)),t}return r=a,n=[{key:"handleShare",value:function(e){var t=this.props,r=t.showModal,n=t.navFrom,o=t.usageTrackTapShareItem,i=t.usageTrackTapShareSection,a=e.section,c=e.item,u=e.callback,s=Object.assign({},e,{navFrom:n});c?o(a,c):a&&i(a),r(k,s),u&&u()}},{key:"render",value:function(){return(0,I.jsx)(e,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?G(Object(r),!0).forEach((function(t){B(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):G(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},this.props,{onShare:this.handleShare}))}}],n&&z(r.prototype,n),o&&z(r,o),a}(n.Component);
1return t.displayName=a.Z.displayName(e),t.propTypes={showModal:i().func.isRequired,navFrom:i().string,usageTrackTapShareItem:i().func.isRequired,usageTrackTapShareSection:i().func.isRequired},t.defaultProps={navFrom:null},(0,c.Z)({actions:{usageTrackTapShareItem:u.VV,usageTrackTapShareSection:u.qs}},R.Z)((0,g.Z)(t))}},32672:function(e,t,r){"use strict";var n=r(12291),o=r(14890),i=r(21681),a=r(31298),c=r(48519),u=r(20980),s=r(77070),l=r(98278),f=r(18529),p=function(e){var t=e.app,r=t.readyForMetrics,n=t.didNavigate,o=t.lang,i=(0,c.uL)(e),p=(0,a.Ck)(e)&&(0,u.Pr)(e),d=p&&p.isStoryboard,m=i&&i.isFirstPartyVideo,v=l.Z.isLangMatch(o,"en"),h=(0,a.ll)(e),_=(0,a.hN)(e),y=(0,a.Bn)(e),b=(0,a.wG)(e),E=(0,s.E)(e),g=(0,f.HS)(e);return{readyForMetrics:r,shouldShowSignupCta:!_&&!y&&!d&&!h&&!b&&v&&!m&&!n&&!E&&g}},d=function(e){return(0,o.DE)({usageTrackNavBarEdu:i.gZ,usageTrackDialogCloseButtonTap:i.cX,usageTrackTapAction:i.P2,usageTrackTopicPickerCta:i.eZ,usageTrackTopicPickerCtaSeeMore:i.l5,usageTrackTopicPickerCtaExit:i.A8},e)};t.Z=function(e){return(0,n.$j)(p,d)(e)}},138:function(e,t,r){"use strict";r(18178),r(96928),r(61229),r(34769),r(34115),r(95342),r(68625),r(1939),r(62775),r(634),r(58188),r(20796),r(15735),r(28673),r(6886);var n=r(2784),o=r(45697),i=r.n(o),a=r(39768),c=r(10950),u=r(19085),s=r(44923),l=r(90068),f=r(68869),p=r(60986),d=r(52322);function m(e){return m="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},m(e)}function v(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function h(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function y(e,t){return y=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},y(e,t)}function b(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 r,n=O(e);if(t){var o=O(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return E(this,r)}}function E(e,t){return!t||"object"!==m(t)&&"function"!=typeof t?g(e):t}function g(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function O(e){return O=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},O(e)}function S(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}t.Z=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&&y(e,t)}(a,t);var r,n,o,i=b(a);function a(){var e;h(this,a);for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return S(g(e=i.call.apply(i,[this].concat(r))),"showSocialActionGate",(function(t){var r=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=e.props,o=n.showModal,i=n.isPhone;i&&!r?o(s.Z):o(u.Z,{actionType:t,mobileGateOverride:r})})),e}return r=a,n=[{key:"render",value:function(){return(0,d.jsx)(e,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?v(Object(r),!0).forEach((function(t){S(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):v(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},this.props,{showSocialActionGate:this.showSocialActionGate}))}}],n&&_(r.prototype,n),o&&_(r,o),a}(n.Component);
1return t.displayName=c.Z.displayName(e),t.propTypes={showModal:i().func.isRequired,isPhone:i().bool.isRequired},(0,l.Z)({actions:{addPostOnboardingSocialAction:a.Ih}},p.Z,f.Z)(t)}},82810:function(e,t,r){"use strict";r(49228);var n=r(12291),o=function(e){if(!e||!e.myServices)return!1;var t=e.myServices.find((function(e){return"thanks"===e.service}));return!!t&&"all"===t.subscriptionLevel};t.Z=function(e){return(0,n.$j)((function(e){var t=e.profile.userInfo;return{validThanksSubscription:o(t)}}))(e)}},10700:function(e,t,r){"use strict";r(18178),r(96928),r(61229),r(34769),r(34115),r(95342),r(68625),r(1939),r(62775),r(634),r(58188),r(20796),r(15735),r(28673),r(6886);var n=r(2784),o=r(12291),i=r(14890),a=r(68460),c=r(7799),u=r(52322);function s(e){return s="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},s(e)}function l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function f(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function p(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function d(e,t){return d=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},d(e,t)}function m(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 r,n=_(e);if(t){var o=_(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return v(this,r)}}function v(e,t){return!t||"object"!==s(t)&&"function"!=typeof t?h(e):t}function h(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _(e){return _=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},_(e)}function y(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}t.Z=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&&d(e,t)}(a,t);var r,n,o,i=m(a);function a(){var e;f(this,a);for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return y(h(e=i.call.apply(i,[this].concat(r))),"handleDismiss",(function(){e.props.toastMessage&&e.props.toastDismiss()})),e}return r=a,n=[{key:"componentWillUnmount",value:function(){(0,c.Z)().document.removeEventListener("click",this.handleDismiss,!1)}},{key:"render",value:function(){return(0,u.jsx)(e,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?l(Object(r),!0).forEach((function(t){y(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):l(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},this.props))}}],n&&p(r.prototype,n),o&&p(r,o),a}(n.Component);return(0,o.$j)((function(e){var t=e.toast;return{toastMessage:t.message||t.props}}),(function(e){return(0,i.DE)(a,e)}))(t)}},83906:function(e,t,r){"use strict";r(2784);var n=r(31975),o=r(70042),i=r(35030),a=r(90068),c=r(37889),u=r(60986),s=r(94917),l=r(61312),f=r(52322),p=(0,n.Z)("Comments");t.Z=(0,a.Z)(c.Z,s.Z,u.Z)((function(e){var t,r=e.item,n=e.isPhone,a=e.section,c=e.socialActivity,u=e.expandCommentsHeader,s=e.purgeComments,d=(0,l.gW)(r,c,"commentCount"),m=d&&d>0;return t=n?m?o.J9.FULLSCREEN:o.J9.BOTTOM_SHEET:o.J9.WINDOW,(0,f.jsx)(i.Z,{item:r,section:a,name:"comments",modalTheme:t,onDismiss:s,exp
1andCommentsHeader:u,children:(0,f.jsx)(p,{item:r,section:a,condensedHeader:n?m:void 0,expandCommentsHeader:u})})}))},86635:function(e,t,r){"use strict";var n=r(12167),o=(r(26936),r(2784),r(49372)),i=r(5109),a=r(26626),c=r(50839),u=r(28144),s=r(70042),l=r(37236),f=r(90068),p=r(68869),d=r(37757),m=r(52322),v=(0,n.Z)("h1",{target:"e1g02sgx1"})({marginBottom:o.N.MEDIUM},i.TK.TITLE,""),h=(0,n.Z)("p",{target:"e1g02sgx0"})(i.TK.BODY,"");t.Z=(0,f.Z)(p.Z)((0,d.Z)((function(e){var t=e.name,r=e.message,n=e.confirmLabel,o=void 0===n?null:n,i=e.cancelLabel,f=void 0===i?null:i,p=e.onCancel,d=void 0===p?l.h:p,_=e.onConfirm,y=e.dismissModal,b=e.title,E=void 0===b?null:b,g=e.onlyDisplayCofirmButton,O=e.preventButtonSentenceCase,S=void 0!==O&&O,A=e.dismiss,T=void 0===A||A,R=e.t;return(0,m.jsxs)(c.Z,{name:"".concat(t,"-confirm-dialog"),modalTheme:s.J9.WINDOW,size:s.q5.SMALL,children:[(0,m.jsxs)("div",{className:"modal__content",children:[E&&(0,m.jsx)(v,{children:E}),(0,m.jsx)(h,{children:r})]}),(0,m.jsxs)(u.Z,{children:[!g&&(0,m.jsx)(a.ZP,{name:"".concat(t,".confirm-dialog-dismiss"),label:f||R("cancel"),styleVariation:a.NV.SECONDARY,onClick:function(){d(),T&&y()}}),(0,m.jsx)(a.ZP,{name:"".concat(t,".confirm-dialog-confirm"),label:o||R("confirm"),styleVariation:a.NV.PRIMARY,onClick:function(){_(),T&&y()},preventSentenceCase:S})]})]})})))},49988:function(e,t,r){"use strict";var n=r(12167),o=(r(2784),r(49372)),i=r(31975),a=r(70042),c=r(50839),u=r(28144),s=r(90068),l=r(19654),f=r(68869),p=r(37757),d=r(52322),m=(0,i.Z)("EmbedTools"),v=(0,n.Z)(c.Z,{target:"ero4bcu0"})({padding:o.N.LARGE,overflow:"auto"},"");t.Z=(0,s.Z)(l.Z,f.Z)((0,p.Z)((function(e){var t=e.section,r=e.dismissModal;return(0,d.jsxs)(v,{name:"flip-compose",modalTheme:a.J9.WINDOW,size:a.q5.AUTO,children:[(0,d.jsx)(m,{section:t}),(0,d.jsx)(u.Z,{showCloseButton:!0,closeButtonSize:16,onDismiss:r,modalName:"comments-verify-email"})]})})))},8026:function(e,t,r){"use strict";r(2784);var n=r(46120),o=r(18318),i=r(50839),a=r(28144),c=r(70042),u=r(37757),s=r(93780),l=r(90068),f=r(68869),p=r(60986),d=r(52322);t.Z=(0,l.Z)(f.Z,p.Z)((0,u.Z)((function(e){var t=e.item,r=e.dismissModal,u=e.isPhone,l=(0,s.V3)(t);return(0,d.jsxs)(i.Z,{name:"image-modal",size:c.q5.AUTO,modalTheme:c.J9.WINDOW,children:[(0,d.jsx)(n.Z,{image:l,alt:(null==t?void 0:t.caption)||"image",crop:!0,useDumbCroppedImage:!0,variant:u?o.yU.medium:o.yU.large}),(0,d.jsx)(a.Z,{showCloseButton:!0,closeButtonSize:16,onDismiss:r,modalName:"image modal"})]})})))},35030:function(e,t,r){"use strict";r.d(t,{Z:function(){return K}});r(96928),r(61229),r(34115),r(634),r(58188),r(20796),r(15735),r(28673),r(6886);var n=r(12167),o=(r(18178),r(26936),r(2784)),i=r(17394),a=r(90856),c=r(52750),u=r(32707),s=(r(43450),function(e,t){return o.isValidElement(e)?o.cloneElement(e,t):e}),l=function(e,t){return Array.isArray(e)?e.map((function(e){return s(e,t)})):s(e,t)},f=r(28144),p=r(50839),d=(r(34769),r(95342),r(68625),r(1939),r(62775),r(5109)),m=r(49372),v=r(46120),h=r(59470),_=r(35564),y=r(13741),b=r(90068),E=r(32079),g=r(52322);function O(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function S(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var A=48,T=80,R=(0,n.Z)("div",{target:"e1n2ix0h4"})((function(e){var t=e.condensedHeader,r=e.hasImage;return{minWidth:0,backgroundColor:e.isNote?a.EU.defaultStandalonePostPrimary:a.EU.primaryReverse,padding:t?"".concat(m.N.LARGE," ").concat(m.N.BASE4X," ").concat(m.N.BASE4X," ").concat(m.N.LARGE):"".concat(m.N.BASE4X," ").concat(m.N.BASE4X," ").concat(m.N.BASE4X," ").concat(m.N.BASE4X),display:"grid",gridTemplateColumns:r?"auto 1fr":"1fr",gap:m.N.MEDIUM,".media-container":{width:t?A:T,height:t?A:T}}}),""),I=(0,n.Z)("div",{target:"e1n2ix0h3"})((function(e){var t=e.condensedHeader;return{borderRadius:8,overflow:"hidden",borderStyle:"solid",borderColor:a.M1.emphasis,borderWidth:t?"1px":"2px",marginBottom:"auto"}}),(0,c.hy)(i.j.phone({borderWidth:"1px"})),""),P=(0,n.Z)("div",{target:"e1n2ix0h2"})(d.TK.BODY_2,(function(e){var t=e.isNote;return{display:"grid",gap:m.N.LARGE,overflowY:"auto",maxHeight:"50vh",minWidth:0,paddingBottom:"1px",paddingRight:m.N.BASE4X,color:t?a.bo.secondaryReverse:a.bo.tertiary,a:{color:"inherit"}}}),""),C=(0,n.Z)("h3",{target:"e1n2ix0h1"})((function(e){return e.isStandalonePost?function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
1t%2?O(Object(r),!0).forEach((function(t){S(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):O(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},d.Up,{fontSize:"16px",lineHeight:"20px"}):d.Y.SMALL}),(function(e){return{marginBottom:e.condensedHeader?m.N.SMALL:m.N.BASE}}),(0,a.cP)(!0),""),w=(0,n.Z)(h.Z,{target:"e1n2ix0h0"})({color:a.bo.secondaryReverse},""),j=(0,b.Z)(E.Z)((function(e){var t=e.item,r=e.className,n=e.condensedHeader,o=e.expandCommentsHeader,i=t.image,c=t.title,u=t.isStatus,s=t.isNote,l=t.isFlipComposeImage,f=t.isStandalonePost,p=n?A:T,d=!!i;return(0,g.jsx)(y.Z,{item:t,shownInList:!0,forceInternal:!0,children:(0,g.jsxs)(R,{className:r,condensedHeader:n,isNote:s,isStandalonePost:f,isFlipComposeImage:l,hasImage:d,children:[!u&&d&&(0,g.jsx)(I,{condensedHeader:n,children:(0,g.jsx)(v.Z,{size:p,image:i,alt:c,crop:!0,useDumbCroppedImage:!0})}),(0,g.jsxs)(P,{isNote:s,hasImage:d,isFlipComposeImage:l,children:[(0,g.jsx)(C,{condensedHeader:n,isStandalonePost:f,isNote:s,children:(0,g.jsx)(_.ZP,{item:t,expandBehaviour:!0,isNote:s,startExpanded:o,numLines:n?1:4,isOverlay:!0,overrideBackgroundColor:s?a.EU.defaultStandalonePostPrimary:a.EU.primaryReverse})}),!f&&(0,g.jsx)(w,{item:t})]})]})})})),N=r(70042),L=r(97881),D=r(68869);function x(e){return x="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},x(e)}function M(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Z(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function U(e,t){return U=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},U(e,t)}function k(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 r,n=B(e);if(t){var o=B(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return F(this,r)}}function F(e,t){return!t||"object"!==x(t)&&"function"!=typeof t?G(e):t}function G(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function B(e){return B=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},B(e)}function z(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var V=(0,n.Z)(p.Z,{target:"esvyv0j3"})(z({},(0,c.PZ)(L.V),{color:a.MN.overlay}),""),H=(0,n.Z)("div",{target:"esvyv0j2"})((0,c.hy)(i.j.tabletPortraitUp({overflow:"hidden",borderRadius:"0 0 10px 10px"})),""),q=(0,n.Z)("div",{target:"esvyv0j1"})((function(e){var t=e.footerHeight;return{overflowY:"auto",height:"calc(100%+".concat(t,")")}}),""),W=(0,n.Z)(j,{target:"esvyv0j0"})({borderRadius:"10px 10px 0 0",position:"sticky",top:0,zIndex:u.k0.BASE},""),Y=function(e){!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&&U(e,t)}(a,e);var t,r,n,i=k(a);function a(){var e;M(this,a);for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return z(G(e=i.call.apply(i,[this].concat(r))),"footerRef",o.createRef()),e}return t=a,(r=[{key:"render",value:function(){var e,t,r=this.props,n=r.item,o=r.section,i=r.dismissModal,a=r.modalTheme,c=r.children,u=r.name,s=r.onDismiss,p=r.expandCommentsHeader,d=this.footerRef&&c?l(c,{footerRef:this.footerRef}):c,m=(null===(e=this.footerRef)||void 0===e||null===(t=e.current)||void 0===t?void 0:t.clientHeight)||0,v=!p&&n.isStandalonePost;return(0,g.jsxs)(V,{name:u,size:N.q5.MEDIUM,overlayModifier:N.n6.LIGHT,modalTheme:a||N.J9.WINDOW,modifier:N.nY.HAS_FIXED_HEADER,onDismiss:s,children:[(0,g.jsx)(f.Z,{modalName:"comments-modal",fixedControls:!0,closeButtonSize:18,showCloseButton:!0,onDismiss:i}),(0,g.jsx)(W,{item:n,section:o,condensedHeader:v,expandCommentsHeader:p}),(0,g.jsx)(q,{footerHeight:m,children:d}),(0,g.jsx)(H,{ref:this.footerRef})]})}}])&&Z(t.prototype,r),n&&Z(t,n),a}(o.Component),K=(0,b.Z)(D.Z)(Y)},50839:function(e,t,r){"use strict";r.d(t,{Z:function(){return P}});r(96928),r(61229),r(34769),r(34115),r(95342),r(68625),r(1939),r(62775),r(634),r(58188),r(20796),r(15735),r(28673),r(6886);var n=r(2784),o=r(45697),i=r.n(o),a=(r(67890),r(30001)),c=r(70042),u=r(90068),s=r(8225),l=r(60986),f=r(52322);function p(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function d(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function m(e){return(0,f.jsx)(c.ZP,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
1t%2?p(Object(r),!0).forEach((function(t){d(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):p(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},e))}m.propTypes={appTheme:i().oneOf(Object.values(a.SJ)),isLargeScreen:i().bool.isRequired};var v=(0,u.Z)(l.Z,s.Z)(m),h=r(46315),_=r(68869);function y(e){return y="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},y(e)}function b(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function E(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function g(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function O(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function S(e,t){return S=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},S(e,t)}function A(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 r,n=R(e);if(t){var o=R(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return T(this,r)}}function T(e,t){return!t||"object"!==y(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function R(e){return R=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},R(e)}var I=function(e){!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&&S(e,t)}(i,e);var t,r,n,o=A(i);function i(){return g(this,i),o.apply(this,arguments)}return t=i,r=[{key:"componentDidMount",value:function(){var e=this.props.history;this.unlisten=e.listen(this.props.dismissModal)}},{key:"componentWillUnmount",value:function(){this.unlisten()}},{key:"render",value:function(){return(0,f.jsx)(v,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?b(Object(r),!0).forEach((function(t){E(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):b(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},this.props))}}],r&&O(t.prototype,r),n&&O(t,n),i}(n.Component);I.propTypes={dismissModal:i().func.isRequired,history:i().object.isRequired};var P=(0,u.Z)(_.Z)((0,h.Z)(I))},56360:function(e,t,r){"use strict";var n=r(12167),o=(r(2784),r(50839)),i=r(26626),a=r(84694),c=r(70042),u=r(28144),s=r(49372),l=r(5109),f=r(37757),p=r(90068),d=r(68869),m=r(52322),v=(0,n.Z)("h1",{target:"e5j9ufs1"})({margin:s.N.LARGE,marginTop:s.N.BASE6X},l.TK.TITLE,""),h=(0,n.Z)("p",{target:"e5j9ufs0"})(l.TK.BODY,{marginLeft:s.N.LARGE,marginBottom:s.N.LARGE},"");t.Z=(0,p.Z)(d.Z)((0,f.Z)((function(e){var t=e.dismissModal,r=e.t,n=e.magazineInvite;return(0,m.jsxs)(o.Z,{name:"required-verified-email",modalTheme:c.J9.WINDOW,size:c.q5.SMALL,children:[(0,m.jsx)(u.Z,{showCloseButton:!0,closeButtonSize:16,onDismiss:t,modalName:"required-verified-email"}),(0,m.jsx)(v,{children:r(n?"verify_your_email":"verify_your_email_message")}),n&&(0,m.jsx)(h,{children:r("verify_your_email_message")}),(0,m.jsxs)(u.Z,{children:[(0,m.jsx)(i.ZP,{name:"required-verified-email-cancel",label:r("cancel"),styleVariation:i.NV.SECONDARY,onClick:t}
1),(0,m.jsx)(a.Z,{styleVariation:i.NV.PRIMARY,name:"required-verified-email-resend",onResendEmail:t})]})]})})))},11162:function(e,t,r){"use strict";r.d(t,{s2:function(){return k},kP:function(){return Z},RK:function(){return X},C_:function(){return Y},U3:function(){return H},_u:function(){return z},PC:function(){return K},nu:function(){return W}});r(43450),r(58188),r(88233),r(95342),r(18178),r(26936),r(1939),r(73439),r(34115),r(634),r(20796),r(15735),r(28673),r(6886),r(27233),r(32501),r(35666);var n=r(12933),o=r(71742),i=r(47741),a=r(31298),c=r(83981),u=r(75875),s=r(23030),l=r(68460),f=r(65430),p=r(12167),d=(r(34769),r(68625),r(62775),r(2784),r(45697)),m=r.n(d),v=r(5109),h=r(49372),_=r(50839),y=r(70042),b=r(28144),E=r(90068),g=r(68869),O=r(60986),S=r(52322);function A(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function T(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?A(Object(r),!0).forEach((function(t){R(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):A(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function R(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var I=(0,p.Z)("div",{target:"e611302"})({padding:"".concat(h.N.BASE8X," ").concat(h.N.BASE4X)},""),P=(0,p.Z)("h1",{target:"e611301"})(T({},v.$C.LARGE,{marginBottom:h.N.LARGE,textAlign:"center"}),""),C=(0,p.Z)("div",{target:"e611300"})(T({},v.Hb.LARGE_STANDARD,{textAlign:"center"}),"");function w(e){var t=e.title,r=e.message,n=e.dismissModal,o=e.isPhone?y.J9.FULLSCREEN:y.J9.WINDOW;return(0,S.jsx)(_.Z,{name:"notification-modal",modalTheme:o,children:(0,S.jsxs)(I,{children:[(0,S.jsx)(P,{children:t}),(0,S.jsx)(C,{children:r}),(0,S.jsx)(b.Z,{modalName:"notification-modal",showCloseButton:!0,closeButtonSize:16,onDismiss:n})]})})}w.propTypes={title:m().string.isRequired,message:m().string.isRequired,isPhone:m().bool.isRequired,dismissModal:m().func.isRequired};var j=(0,E.Z)(O.Z,g.Z)(w);function N(e){return function(e){if(Array.isArray(e))return L(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return L(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return L(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function L(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function D(e,t,r,n,o,i,a){try{var c=e[i](a),u=c.value}catch(e){return void r(e)}c.done?t(u):Promise.resolve(u).then(n,o)}function x(e){return function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(e){D(i,n,o,a,c,"next",e)}function c(e){D(i,n,o,a,c,"throw",e)}a(void 0)}))}}var M=function(e){return(0,a.a3)(e)||e.app.lang},Z=function(){return function(){var e=x(regeneratorRuntime.mark((function e(t,r,o){var a,c,u,s;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(a=o.flap,e.prev=1,t({type:n.DG.GET_EMAIL_CONFIG}),c=M(r())){e.next=7;break}return t({type:n.DG.GET_EMAIL_CONFIG_FAILED}),e.abrupt("return",i.Z.captureException(new Error("missing required email settings params")));case 7:return e.next=9,a.get("/email/config",{params:{lang:c}});case 9:u=e.sent,s=u.data,t({type:n.DG.GET_EMAIL_CONFIG_SUCCEEDED,payload:{groups:s}}),e.next=18;break;case 14:e.prev=14,e.t0=e.catch(1),t({type:n.DG.GET_EMAIL_CONFIG_FAILED}),i.Z.captureException(e.t0);case 18:case"end":return e.stop()}}),e,null,[[1,14]])})));return function(t,r,n){return e.apply(this,arguments)}}()},U=function(){return function(){var e=x(regeneratorRuntime.mark((function e(t,r,o){var c,s,l,f,p,d,m,v,h;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(c=o.flap,e.prev=1,t({type:n.DG.GET_EMAIL_SETTINGS}),s=r(),l=(0,a.wu)(s),f=(0,a.QR)(s),p=M(s),l&&f){e.next=10;break}return t({type:n.DG.GET_EMAIL_SETTINGS_FAILED}),e.abrupt("return",i.Z.captureException(new Error("missing required email settings params")));case 10:return e.next=12,c.get("/email/states",{params:{code:l,s:f,lang:p}});case 12:d=e.sent,m=d.data,v=(null==m?void 0:m.states)||[],(h=null==m?void 0:m.email)&&t((0,u.t8)(n.DG.SET_EMAIL_FROM_CODE,"emailFromCode",h)),t({type:n.DG.GET_EMAIL_SETTINGS_SUCCEEDED,payload:{states:v}}),e.next=24;break;case 20:e.prev=20,e.t0=e.catch(1),t({type:n.DG.GET_EMAIL_SETTINGS_FAILED}),i.Z.captureException(e.t0);case 24:case"end":return e.stop()}}),e,null,[[1,20]])})));return function(t,r,n){return e.apply(this,arguments)}}()},k=function(){return function(e,t){var r=t(),o=(0,c.$8)(r),u=(0,a.wu)(r),s=(0,a.QR)(r);return e(!o||u&&s?U():function(){var e=x(regeneratorRuntime.mark((function e(t,r,o){var a,c,u,s;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a=o.flap,e.prev=1,t({type:n.DG.GET_EMAIL_SETTINGS}),e.next=5,a.get("/email/states");case 5:c=e.sent,u=c.data,s=u&&u.states||[],t({type:n.DG.GET_EMAIL_SETTINGS_SUCCEEDED,payload:{states:s}}),e.next=15;break;case 11:e.prev=11,e.t0=e.catch(1),t({type:n.DG.GET_EMAIL_SETTINGS_FAILED}),i.Z.captureException(e.t0);case 15:case"end":return e.stop()}}),e,null,[[1,11]])})));return function(t,r,n){return e.apply(this,arguments)}}())}},F=function(e){return function(){var t=x(regeneratorRuntime.mark((function t(r,n,o){var i,u,s,l,f,p,d,m,v;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return i=o.flap,u=n(),s=(0,a.wu)(u),l=(0,a.QR)(u),f=(0,c.$8)(u),p=(0,c.LW)(u),d=e.map((function(e){var t,r=(null===(t=e.subscription)||void 0===t?void 0:t.key)||"*",n={group:e.group.group,key:r,state:e.state};return 0!==p&&(n.uid=p.toString()),n})),m=!f||s&&l||void 0===p?"/email/states":"/email/states/".concat(p),t.next=10,i.post(m,d,{params:{json:!0,code:s,s:l}});case 10:if(v=t.sent,v.data.success){t.next=14;break}throw new Error("failed to update email settings");case 14:case"end":return t.stop()}}),t)})));return function(e,r,n){return t.apply(this,arguments)}}()},G=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return{group:e,subscription:t,state:f.ih}},B=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return{group:e,subscription:t,state:f._4}},z=function(e,t){return F([G(e,t)])},V=function(e,t){return F([B(e,t)])},H=function(){return z(f.bB,f.G5)},q=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return function(){var r=x(regeneratorRuntime.mark((function r(n,i){var a,c,u,s,l,p,d,m;return regeneratorRuntime.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return a=i(),c=(0,o.Er)(a),u=c.filter((function(t){return!(0,f.YZ)(e,t)})),s=u.map((function(e){return G(e)})),l=e.subscriptions.filter((function(r){return!(0,f.YZ)(e,e,t,r)})),p=l.map((function(t){return G(e,t)})),d=B(e,t),m=[].concat(N(s),N(p),[d]),r.next=10,n(F(m));case 10:case"end":return r.stop()}}),r)})));return function(e,t){return r.apply(this,arguments)}}()},W=function(){return function(){var e=x(regeneratorRuntime.mark((function e(t,r,i){var a,c,l,p,d,m,v,h,_,y;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(a=i.t,c=r(),l=(0,o.mY)(c),p=(0,o.HP)(c),d=(0,o.LN)(c),p){e.next=7;break}return e.abrupt("return",null);case 7:if(m=(0,f.YZ)(p,p,d,f.G5),v=(p.isSubscribed||l)&&m,h=d&&!m&&(d.isSubscribed||p.isSubscribed||l),_=v?p:d,y=function(){return t((0,s.K4)(j,{title:a("email_subscriptions_title"),message:a("unsubscribed_from_preselect",{name:_.n
1ame})}))},!l||!v){e.next=18;break}return e.next=15,t(q(p));case 15:y(),e.next=34;break;case 18:if(!l||!h){e.next=24;break}return e.next=21,t(q(p,d));case 21:y(),e.next=34;break;case 24:if(!h||!p.isSubscribed){e.next=30;break}return e.next=27,t(q(p,d));case 27:y(),e.next=34;break;case 30:if(!v&&!h){e.next=34;break}return e.next=33,t(V(p,h&&d||null));case 33:y();case 34:return e.next=36,t((function(e){return e((0,u.t8)(n.DG.SET_PRESELECT_UNSUBSCRIBE_COMPLETE,"preselectUnsubscribeComplete",!0))}));case 36:return e.next=38,t(U());case 38:case"end":return e.stop()}}),e)})));return function(t,r,n){return e.apply(this,arguments)}}()},Y=function(e,t){return function(){var r=x(regeneratorRuntime.mark((function r(a,c,u){var s,p,d,m,v,h;return regeneratorRuntime.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(s=u.t,r.prev=1,a({type:n.DG.SAVE_EMAIL_SETTINGS_PENDING}),p=(0,o.b9)(c()),d=(0,f.u3)(p,f.bB),m=(0,f.u3)(t,f.bB),d.isSubscribed||!m.isSubscribed){r.next=10;break}return a(z(m)),a({type:n.DG.SAVE_EMAIL_SETTINGS_SUCCEEDED}),r.abrupt("return",a((0,l.toastShowInfoAction)(s("email_subscriptions_updated"))));case 10:return v=(0,f.Yd)(e,t),h=[],v.forEach((function(e){var t=e.pendingGroup,r=e.pendingSubscriptions;r?r.forEach((function(e){h.push(e.isSubscribed?G(t,e):B(t,e))})):h.push(t.isSubscribed?G(t):B(t))})),r.next=15,a(F(h));case 15:a({type:n.DG.SAVE_EMAIL_SETTINGS_SUCCEEDED}),a((0,l.toastShowInfoAction)(s("email_subscriptions_updated"))),r.next=24;break;case 19:r.prev=19,r.t0=r.catch(1),a({type:n.DG.SAVE_EMAIL_SETTINGS_FAILED}),a((0,l.toastShowErrorAction)(s("email_subscriptions_update_failed"))),i.Z.captureException(r.t0);case 24:case"end":return r.stop()}}),r,null,[[1,19]])})));return function(e,t,n){return r.apply(this,arguments)}}()},K=function(e){return function(){var t=x(regeneratorRuntime.mark((function t(r){var o,a;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(t.prev=0,r({type:n.DG.SAVE_EMAIL_SETTINGS_PENDING}),!(o=(0,f.u3)(e,f.bB))||!o.isSubscribed){t.next=5;break}return t.abrupt("return",r(z(o)));case 5:return a=[],e.forEach((function(e){var t=!0;e.isSubscribed&&(a.push(G(e)),e.isSubscribed&&(t=!1)),t&&e.subscriptions.forEach((function(t){t.isSubscribed&&a.push(G(e,t))}))})),t.next=9,r(F(a));case 9:r({type:n.DG.SAVE_EMAIL_SETTINGS_SUCCEEDED}),t.next=16;break;case 12:t.prev=12,t.t0=t.catch(0),r({type:n.DG.SAVE_EMAIL_SETTINGS_FAILED}),i.Z.captureException(t.t0);case 16:case"end":return t.stop()}}),t,null,[[0,12]])})));return function(e){return t.apply(this,arguments)}}()},X=function(e,t){return{type:n.DG.SET_PRESELECT_SUBSCRIPTION,payload:{groupType:e,subscriptionKey:t}}}},41626:function(e,t,r){"use strict";r.d(t,{DD:function(){return fe},UY:function(){return ie},r8:function(){return Pe},w4:function(){return ue},IY:function(){return te},Cr:function(){return Re},ax:function(){return ve},mo:function(){return he},wl:function(){return pe},Z$:function(){return de},sO:function(){return _e},zG:function(){return ce},pz:function(){return Te},RV:function(){return Oe},Zh:function(){return J},W5:function(){return be},Qk:function(){return Ee},Wu:function(){return ye},Ub:function(){return re},u2:function(){return ae},g6:function(){return me},Fg:function(){return se},tH:function(){return le},QR:function(){return Se},g3:function(){return Ie},Z3:function(){return ge},NC:function(){return ne},Qw:function(){return ee},Td:function(){return Q},pi:function(){return Ae},Bd:function(){return oe},ag:function(){return Ce}});r(58188),r(88233),r(43450),r(49228),r(18178),r(73439),r(34769),r(34115),r(95342),r(68625),r(1939),r(62775),r(634),r(20796),r(15735),r(28673),r(6886),r(32501),r(26936),r(27233),r(35666);var n=r(12933),o=r(8260),i=r(43734),a=r(77703),c=r(77690),u=r(75875),s=r(7799),l=r(35126),f=r(34386),p=function(e){return"".concat(e," | Flipboard")},d=function(e){return e.sections.entries.find((function(e){return e.primarySectionForRoute}))},m=r(80768),v=function(e,t,r){var n=e.section,o=r.t;if(n){var i=d(t());if(i&&i.isTopic){var a=t(),c=a.sections.topicDescriptions;if("en"===a.app.lang){var u=m.Z.customizedTopicText("/topic/".concat(i.topicTag),"title",c);if(u)return u}return o("topic_seo_title",{topicTitle:i.title})}}},h=(r(77950),r(85940),function(e,t){if(e.section){var r=d(t());if(r){var n=r.isMagazine,o=r.isSmartMagazine;if(n||o){var i=r.title,a=r.authorUsername;if(!i)return;var c=i.replace(/\s+/g," ");
1if(c.length>=58)return p("".concat(c.slice(0,44),"…"));if(c.length>=46&&c.length<=57)return c;if(c.length>=41&&c.length<=45)return p(c);if(c.length>=28&&c.length<=40)return"".concat(c," | @").concat(a);if(c.length<=27)return p("".concat(c," | @").concat(a))}}}}),_=function(e,t,r){var n=e.section,o=r.t;if(n){var i=d(t());if(i&&i.isProfile){var a=i.authorDisplayName,c=i.authorUsername;return"".concat(a||c," (@").concat(c,") ").concat(o("on_flipboard"))}}},y=r(48519),b=function(e,t){var r=(0,y.uL)(t());if(r&&r.title)return p(r.title)},E=function(e,t,r){return(0,r.t)("page_title_default")},g=function(e,t,r){var n=e.newsletter,o=r.t;if(n)return"".concat(o("newsletter_page_title")," | ").concat(o("flipboard"))},O=function(e,t,r){var n=e.newsletters_landing,o=e.subscription,i=r.t;if(n)return i("newsletter_landing_page_title_".concat(o))},S=function(e,t,r){var n=e.signup,o=r.t;if(n)return"".concat(o("signup_join_flipboard")," | ").concat(o("sign_up_and_create"))},A=function(e,t,r){var n=e.login,o=r.t;if(n)return"".concat(o("log_in_to_flipboard"))},T=[function(e){var t=e.title;if(t)return t},S,A,O,g,function(e,t){if(e.section){var r=d(t());if(r&&r.isStoryboard&&r.title)return p(r.title)}return null},v,h,_,b,E],R=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0,r=arguments.length>2?arguments[2]:void 0;return(0,l.Z)((0,f.Z)(T)(e,t,r))},I=r(47894),P=[S,A,g,O,b,h,v,_,function(e,t){if(e.section){var r=d(t());if(r&&r.title)return r.title}},E],C=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0,r=arguments.length>2?arguments[2]:void 0;return(0,l.Z)((0,f.Z)(P)(e,t,r))},w=function(e,t){var r=(0,y.uL)(t());if(r){var n=r.author,o=r.sourceDomain,i=r.excerpt,a=n&&n.authorDisplayName||o;return a?"".concat(a," - ").concat(i):i}},j=(r(16781),r(39744)),N=(r(48319),r(82108)),L=r.n(N),D=function(e,t,r){var n,o=e.section,i=r.t;if(o){var a=d(t());if(a&&a.isTopic){var c=t(),u=c.sections.topicDescriptions;if("en"===c.app.lang){var s=m.Z.customizedTopicText("/topic/".concat(a.topicTag),"metaDescription",u);if(s)return s}return a.description?a.description:i("topic_seo_description_generic",{topicName:(n=a.title,"string"==typeof n&&n.split(/[\s-]+/g).map((function(e){return L()(e)})).join("")||"")})}}},x=(r(45794),function(e,t,r){var n=e.section,o=r.t;if(n){var i=d(t());if(i&&i.isProfile){var a=i.description||i.authorDescription,c=a&&a.trim();if(c&&c.length>70)return c;if(c){var u="."!==c.slice(-1),s=c&&c.length<30?"profile_seo_description_generic_no_mags_long":"profile_seo_description_generic_no_mags_short";return"".concat(c).concat(u?".":""," ").concat(o(s,{profileName:i.authorUsername}))}var l=i.magazineProjections.slice(0,3).map((function(e){return e.title})).join(", ");return o("profile_seo_description_generic",{profileName:i.authorUsername,magazineNames:l})}}}),M=function(e,t,r){var n=e.newsletter,o=r.t;if(n)return o("newsletter_page_meta_description")},Z=function(e,t,r){var n=e.newsletters_landing,o=e.subscription,i=r.t;if(n)return i("newsletter_landing_page_meta_description_".concat(o))},U=function(e,t,r){return(0,r.t)("home_seo_description")},k=function(e,t,r){var n=e.signup,o=r.t;if(n)return o("sign_up_description")},F=function(e,t,r){var n=e.login,o=r.t;if(n)return o("log_in_description")},G=[k,F,Z,M,function(e,t,r){var n=r.t,o=(0,y.uL)(t());if(o&&o.isFirstPartyVideo){var i=o.topics.map((function(e){return e.title})).join(", ");return o.description?i?n("video_seo_description",{description:o.description,topics:i}):o.description:i?n("video_seo_description_generic",{profileName:o&&o.author&&o.author.authorDisplayName,topics:i}):n("video_seo_description_generic_no_topics",{profileName:o&&o.author&&o.author.authorDisplayName})}},w,function(e,t,r){var n=e.section,o=r.t;if(n){var i=d(t());if(i&&i.isMagazine){var a=(0,j.ml)(i.items).join(", ");if(i.description)return o("magazine_seo_description",{description:i.description,topics:a});var c=i.metrics&&i.metrics.subscribersCount||0;return o("magazine_seo_description_generic",{topics:a,profileName:i.authorDisplayName,magazineName:i.title,followCount:c})}}},function(e,t,r){var n=e.section,o=r.t;if(n){var i=d(t());if(i&&i.isStoryboard){var a=(0,j.ml)(i.items).join(", ");return o("storyboard_seo_description",{profileName:i.authorDisplayName,description:i.description,topics:a})}}},D,x,U],B=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0,r=arguments.length>2?arguments[2]:void 0;return(0,l.Z)((0,f.Z)(G)(e,t,r))},z=[F,k,M,Z,function(e,t,r){var n=r.t,o=(0,y.uL)(t());if(o&&o.isFirstPartyVideo){if(o.description)return o.description;var i=o.topics.map((function(e){return e.title})).join(", ");return n("video_seo_description_generic",{profileName:o.author&&o.author.authorDisplayName,to
1pics:i})}},w,D,x,function(e,t,r){var n=e.section,o=r.t;if(n){var i=d(t());if(i&&i.isMagazine)return i.description?i.description:o("magazine_seo_description_generic",{topics:(0,j.ml)(i.items).join(", "),profileName:i.authorDisplayName,magazineName:i.title,followCount:i.metrics&&i.metrics.subscribersCount})}},function(e,t){if(e.section){var r=d(t());if(r&&r.isStoryboard&&r.description)return r.description}},U],V=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0,r=arguments.length>2?arguments[2]:void 0;return(0,l.Z)((0,f.Z)(z)(e,t,r))},H=r(45828),q=r(3130),W=r(83981);function Y(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function K(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function X(e,t,r,n,o,i,a){try{var c=e[i](a),u=c.value}catch(e){return void r(e)}c.done?t(u):Promise.resolve(u).then(n,o)}function $(e){return function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(e){X(i,n,o,a,c,"next",e)}function c(e){X(i,n,o,a,c,"throw",e)}a(void 0)}))}}var J=(0,u.t8)(n.SE.SET_FEATURE_FLAG_AB_TEST_SETUP_COMPLETE,"featureFlagABTestSetupComplete"),Q=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return function(t,r,o){var i=R(e,r,o),a=(0,s.Z)().document;return a&&(a.title=i),t((0,u.t8)(n.SE.SET_APP_TITLE,"title",i)),i}},ee=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return function(t,r,o){var i=C(e,r,o);t((0,u.t8)(n.SE.SET_APP_SOCIAL_GRAPH_TITLE,"socialGraphTitle",i))}}
1,te=function(){return function(){var e=$(regeneratorRuntime.mark((function e(t,r,n){var i;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(i=n.signedMediaCookies,!o.Z.isDevelopment){e.next=3;break}return e.abrupt("return");case 3:return e.next=5,i.refreshSignedMediaCookie();case 5:case"end":return e.stop()}}),e)})));return function(t,r,n){return e.apply(this,arguments)}}()},re=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return function(t,r,o){var i=B(e,r,o);t((0,u.t8)(n.SE.SET_APP_META_DESCRIPTION,"metaDescription",i))}},ne=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return function(t,r,o){var i=V(e,r,o);t((0,u.t8)(n.SE.SET_APP_SOCIAL_GRAPH_DESCRIPTION,"socialGraphDescription",i))}},oe=function(e){var t=a.ZP.getViewportType(e);return(0,u.t8)(n.SE.SET_APP_VIEWPORT_TYPE,"viewportType",t)},ie=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return function(){var r=$(regeneratorRuntime.mark((function r(o,a){var s,l,f,p;return regeneratorRuntime.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return s=a(),l=s.usage.session,f=s.app.noExperiments,p=s.auth.uid,o((0,u.dt)(n.SE.GET_EXPERIMENTS)),r.abrupt("return",i.Z.requestExperiments(null==p?void 0:p.toString(),l||void 0,e,t).then((function(e){e?o((0,u.t8)(n.SE.GET_EXPERIMENTS_SUCCEEDED,"experiments",f?null:e)):(c.ZP.error("failed to fetch experiments"),o((0,u.dt)(n.SE.GET_EXPERIMENTS_FAILED)))})).catch((function(e){c.ZP.error("failed to fetch experiments"),c.ZP.error(e),o((0,u.dt)(n.SE.GET_EXPERIMENTS_FAILED))})));case 3:case"end":return r.stop()}}),r)})));return function(e,t){return r.apply(this,arguments)}}()},ae=function(e){var t=H.Z.APP_STORE_URL_FOR_NAV;return null!=e&&e.isStoryboard&&(t=H.Z.APP_STORE_URL_FOR_NAV_NGL),null!=e&&e.isNglPromoted&&(t=H.Z.APP_STORE_URL_FOR_NAV_NGL_PROMOTED),(0,u.t8)(n.SE.SET_NAV_APP_STORE_URL,"navAppStoreUrl",t)}
1,ce=function(){return function(){var e=$(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t((0,u.t8)(n.SE.SET_APP_BANNERS,"banners",q.Li));case 1:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()},ue=function(){return{type:n.SE.REFRESH_APP_BANNERS}},se=(0,u.t8)(n.SE.SET_APP_NOT_FOUND,"notFound"),le=((0,u.t8)(n.SE.SET_APP_IS_RSS,"isRSS"),(0,u.t8)(n.SE.SET_APP_IS_AMP,"isAmp"),(0,u.t8)(n.SE.SET_APP_PAGE_CANONICAL_PATH,"pageCanonicalPath")),fe=((0,u.t8)(n.SE.SET_APP_VIEWPORT_TYPE,"viewportType"),(0,u.t8)(n.SE.SET_EXPERIMENT_OVERRIDES,"experimentOverrides"),(0,u.t8)(n.SE.SET_NO_EXPERIMENTS,"noExperiments"),function(){return(0,u.dt)(n.SE.CLEAR_APP_ERRORS)}),pe=(0,u.t8)(n.SE.SET_APP_THEME,"appTheme"),de=(0,u.t8)(n.SE.SET_APP_THEME_OVERRIDE,"appThemeOverride"),me=(0,u.t8)(n.SE.SET_NAV_FROM_OVERRIDE,"navFromOverride"),ve=(0,u.t8)(n.SE.SET_ADJUST_NAV_FROM,"adjustNavFrom"),he=(0,u.t8)(n.SE.SET_ADJUST_SECTION_ID,"adjustSectionId"),_e=((0,u.t8)(n.SE.SET_SERVER_COMPONENT,"serverComponent"),(0,u.t8)(n.SE.SET_APP_URL,"appUrl")),ye=((0,u.t8)(n.SE.SET_GOOGLE_AD_VISIBILITY,"googleAdVisibility"),(0,u.t8)(n.SE.SET_IS_NEW_USER,"isNewUser")),be=((0,u.t8)(n.SE.SET_IS_FROM_CRAWLER,"isFromCrawler"),(0,u.t8)(n.SE.SET_IS_FROM_CONFIRMATION,"isFromConfirmation"),(0,u.t8)(n.SE.SET_IS_FROM_INVITATION,"isFromInvitation"),(0,u.t8)(n.SE.SET_IS_CHROMELESS,"isChromeless")),Ee=((0,u.t8)(n.SE.SET_IS_EMBEDDABLE,"isEmbeddable"),(0,u.t8)(n.SE.SET_IS_GATE_DISMISSED,"isGateDismissed")),ge=((0,u.t8)(n.SE.SET_SUPPRESS_MOBILE_GATE,"isMobileGateSuppressed"),(0,u.t8)(n.SE.SET_IS_WEBVIEW,"isWebView"),(0,u.t8)(n.SE.SET_IS_IOS,"isIos"),(0,u.t8)(n.SE.SET_IS_FROM_BRIEFING,"isFromBriefing"),(0,u.t8)(n.SE.SET_UTM_PARAMS,"utmParams"),(0,u.t8)(n.SE.SET_REFERRER,"referrer"),(0,u.t8)(n.SE.SET_ACTIVATION_REFERRER,"activationReferrer"),(0,u.t8)(n.SE.SET_SHOWN_VIDEO_AD,"shownVideoAd")),Oe=((0,u.t8)(n.SE.SET_DID_NAVIGATE,"didNavigate"),(0,u.t8)(n.SE.SET_DID_SCROLL_TO_BOTTOM,"didScrollToBottom")),Se=((0,u.t8)(n.SE.SET_FORCED_TRACE_LOG,"forcedTraceLog"),(0,u.t8)(n.SE.SET_ROUTING,"routing")),Ae=((0,u.t8)(n.SE.SET_JOBID,"jobid"),(0,u.t8)(n.SE.SET_IS_INTEGRATION,"isIntegration"),(0,u.t8)(n.SE.SET_TRIGGER_INVITE_ONBOARDING,"triggerInviteOnboarding")),Te=function(e){return function(t,r){var o=(0,I.Z)(function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Y(Object(r),!0).forEach((function(t){K(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Y(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},e,{isAuthenticated:(0,W.$8)(r())}));if(o)return t((0,u.t8)(n.SE.SET_BREADCRUMBS,"breadcrumbs",o.crumbs))}},Re=function(){return function(e){e((0,u.t8)(n.SE.RESET_BREADCRUMBS,"breadcrumbs",[]))}},Ie=(0,u.t8)(n.SE.SET_SERVICE_WORKER_REGISTERED,"serviceWorkerRegistered"),Pe=function(){return(0,u.t8)(n.SE.SET_HIDE_MAIN_NAV_CTAS,"hideMainNavCTAs",!0)},Ce=function(){return(0,u.t8)(n.SE.SET_HIDE_MAIN_NAV_CTAS,"hideMainNavCTAs",!1)}},45338:function(e,t,r){"use strict";r.d(t,{tM:function(){return E},Di:function(){return g},p1:function(){return O},cK:function(){return T},vI:function(){return R},iY:function(){return I},fy:function(){return P},HK:function(){return C},uH:function(){return w},VC:function(){return j},x4:function(){return N},TI:function(){return D},JU:function(){return x},gF:function(){return M},c0:function(){return Z},Vn:function(){return U},kS:function(){return k}});r(32501),r(58188),r(73439),r(35666);var n=r(41626),o=r(96331),i=r(33043),a=r(12933),c=r(71171),u=r.n(c),s=r(34688),l=r(68460),f=r(3557),p=r(75875),d=r(47741),m=r(83981),v=r(47573),h=r(66263);function _(e,t,r,n,o,i,a){try{var c=e[i](a),u=c.value}catch(e){return void r(e)}c.done?t(u):Promise.resolve(u).then(n,o)}function y(e){return function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(e){_(i,n,o,a,c,"next",e)}function c(e){_(i,n,o,a,c,"throw",e)}a(void 0)}))}}var b=function(e,t,r){return{type:a.bf.GET_AUTH_TOKEN,data:{uid:e,udid:t,tuuid:r}}},E=function(e){return function(){var t=y(regeneratorRuntime.mark((function t(r,n,o){var i,c,s,f,m,v;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return i=o.auth,c=o.t,t.prev=1,s={email:e,password:u()(),frictionless:!0},t.next=5,i.post("/signup",s);case 5:return f=t.sent,m=f.data,r((n=m.userid,(0,p.t8)(a.bf.FRICTIONLESS_SET_UID,"uid",n))),t.abrupt("return",m);case 11:t.prev=11,t.t0=t.catch(1),d.Z.captureException(t.t0),v=S(t.t0,c),r((0,l.toastShowErrorAction)(v||c("failed_to_subscribe")));case 16:case"end":return t.stop()}var n}),t,null,[[1,11]])})));return function(e,r,n){return t.apply(this,arguments)}}()},g=function(){return function(){var e=y(regeneratorRuntime.mark((function e(t,r,n){var o,i,a;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o=n.flap,e.prev=1,e.next=4,o.post("/flipboard/resendLastEmailConfirmation");case 4:if(i=e.sent,(a=i.data)&&a.success){e.next=9;break}throw t((0,l.toastShowErrorAction)("Error sending email")),new s.eU;case 9:t((0,l.toastShowInfoAction)("Email sent")),e.next=17;break;case 12:throw e.prev=12,e.t0=e.catch(1),d.Z.captureException(e.t0),t((0,l.toastShowErrorAction)("Error sending email")),new s.eU;case 17:case"end":return e.stop()}}),e,null,[[1,12]])})));return function(t,r,n){return e.apply(this,arguments)}}()},O=function(e){return{type:a.bf.AUTH_FORM_CHANGE,changes:e}},S=function(e,t){return null!=e&&e.errorcode||null==e||!e.errormessage?v.ZP.getFlapErrorCodeMessage(null==e?void 0:e.errorcode,t):e.errormessage},A=function(e){return function(t,r,n){return function(){var o=y(regeneratorRuntime.mark((function o(i,c,u){var s,l,p,d,m;return regeneratorRuntime.wrap((function(o){for(;;)switch(o.prev=o.next){case 0:return s=u.auth,l=u.t,i({type:a.bf.SIGNUP_PENDING}),p={realName:t,email:r,password:n},o.prev=3,o.next=6,s.post(e,p);case 6:if(d=o.sent,!(m=d.data).error){o.next=12;break}throw new Error;case 12:return i((0,f.zR)(!0)),i(U()),o.abrupt("return",m);case 15:o.next=22;break;case 17:return o.prev=17,o.t0=o.catch(3),i((0,f.zR)(!1)),i({type:a.bf.SIGNUP_FAILURE,errorMessage:S(o.t0,l)}),o.abrupt("return",{error:o.t0});case 22:case"end":return o.stop()}}),o,null,[[3,17]])})));return function(e,t,r){return o.apply(this,arguments)}}()}},T=A("/signup"),R=(A("/signup_publisher"),function(e,t){return function(){var r=y(regeneratorRuntime.mark((function r(n,o,i){var c,u;return regeneratorRuntime.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return c=i.auth,n({type:a.bf.CONNECT_WITH_SSO_PENDING}),r.prev=2,r.next=5,c.post("/sso",{service:e,token:t});case 5:return u=r.sent,r.abrupt("return",u);case 9:r.prev=9,r.t0=r.catch(2),n({type:a.bf.CONNECT_WITH_SSO_FAILURE,error:r.t0.message});case 12:case"end":return r.stop()}}),r,null,[[2,9]])}
1)));return function(e,t,n){return r.apply(this,arguments)}}()}),I=function(e){return function(t,r,n){var o=(0,n.t)("sso_login_error",{readableService:e.charAt(0).toUpperCase()+e.slice(1)});t({type:a.bf.CONNECT_WITH_SSO_FAILURE,error:o})}},P=function(e){return function(){var t=y(regeneratorRuntime.mark((function t(r,n,o){var i,c,u;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return i=o.auth,r({type:a.bf.GET_PASSWORD_STRENGTH_PENDING}),t.next=4,i.post("/strength",{pword:e});case 4:c=t.sent,u=c.data,r({type:a.bf.GET_PASSWORD_STRENGTH_SUCCESS,data:u});case 7:case"end":return t.stop()}}),t)})));return function(e,r,n){return t.apply(this,arguments)}}()},C=function(){return function(){var e=y(regeneratorRuntime.mark((function e(t,r,c){var u,l,f,p,v,_;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(u=c.auth,e.prev=1,!(0,m.$8)(r())){e.next=4;break}return e.abrupt("return");case 4:return e.next=6,u.get("/credentials");case 6:if(l=e.sent,f=l.data,p=f.id,v=f.udid,_=f.tuuid,!(p&&v&&_)){e.next=23;break}return e.next=14,t((0,o.N$)(p));case 14:return e.next=16,t((0,i.$p)());case 16:return t(b(p,v,_)),t((0,n.W5)(!1)),h.Z.setGA4UserId(p),t({type:a.bf.RESET_AUTH_FORM}),t((0,n.UY)(r().app.experimentOverrides,!0)),t((0,i.r)()),e.abrupt("return");case 23:e.next=28;break;case 25:e.prev=25,e.t0=e.catch(1),d.Z.captureException(e.t0);case 28:throw new s.z_;case 29:case"end":return e.stop()}}),e,null,[[1,25]])})));return function(t,r,n){return e.apply(this,arguments)}}()},w=function(e){return{type:a.bf.LOGIN_FAILURE,errorMessage:e}},j=function(e){return{type:a.bf.SET_AUTH_FORM_LOADING,payload:{authForm:{isLoading:e}}}},N=function(e,t){return function(){var r=y(regeneratorRuntime.mark((function r(n,o,i){var c,u,s;return regeneratorRuntime.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return c=i.auth,u=i.t,n({type:a.bf.LOGIN_PENDING}),r.prev=2,r.next=5,c.post("/login",{username:e,password:t});case 5:return s=r.sent,r.abrupt("return",s);case 9:r.prev=9,r.t0=r.catch(2),n({type:a.bf.LOGIN_FAILURE,errorMessage:S(r.t0,u)});case 12:case"end":return r.stop()}}),r,null,[[2,9]])})));return function(e,t,n){return r.apply(this,arguments)}}()},L=function(e){return function(t){return function(r,n,o){return o.auth.post(e,t)}}},D=function(e){return L("/request_login_link")({email:e})},x=function(e){return L("/forgot_username")({email:e})},M=L("/forgot_password"),Z=L("/reset_password"),U=function(){return(0,p.t8)(a.bf.SET_SIGNUP_COMPLETED,"signupCompleted",!0)},k=function(){return(0,p.dt)(a.bf.LOGOUT)}},91853:function(e,t,r){"use strict";r.d(t,{Ze:function(){return c},PT:function(){return u},oC:function(){return s},pl:function(){return l}});r(58188),r(73439),r(35666);var n=r(12933),o=r(75875);function i(e,t,r,n,o,i,a){try{var c=e[i](a),u=c.value}catch(e){return void r(e)}c.done?t(u):Promise.resolve(u).then(n,o)}function a(e){return function(){var t=this,r=arguments;return new Promise((function(n,o){var a=e.apply(t,r);function c(e){i(a,n,o,c,u,"next",e)}function u(e){i(a,n,o,c,u,"throw",e)}c(void 0)}))}}var c=function(){return function(){var e=a(regeneratorRuntime.mark((function e(t,r,o){var i,a,c;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return i=o.flapStatic,e.next=3,i.get("/editorialBoards.json");case 3:a=e.sent,c=a.data,t({type:n.wF.GET_EDITORIAL_BOARDS_SUCCEEDED,payload:c.boards});case 6:case"end":return e.stop()}}),e)})));return function(t,r,n){return e.apply(this,arguments)}}()},u=function(){return function(){var e=a(regeneratorRuntime.mark((function e(t,r,o){var i,a,c;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return i=o.flap,e.prev=1,t({type:n.wF.GET_RECOMMENDED_BOARDS_PENDING}),e.next=5,i.get("/flipboard/recommendBoards");case 5:a=e.sent,c=a.data,t({type:n.wF.GET_RECOMMENDED_BOARDS_SUCCESS,data:c}),e.next=13;break;case 10:e.prev=10,e.t0=e.catch(1),t({type:n.wF.GET_RECOMMENDED_BOARDS_FAILED});case 13:case"end":return e.stop()}}),e,null,[[1,10]])})));return function(t,r,n){return e.apply(this,arguments)}}()},s=function(){return function(){var e=a(regeneratorRuntime.mark((function e(t,r,o){var i,a,c,u,s,l,f;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return i=o.flapStatic,e.prev=1,a=r(),c=a.app,u=c.lang,s=c.locale,t({type:n.wF.GET_CONTENT_GUIDE}),e.next=6,i.get("/contentGuide.json",{params:{lang:u,locale:s}});case 6:return l=e.sent,f=l.data,t({type:n.wF.GET_CONTENT_GUIDE_SUCCEEDED,payload:{contentGuide:f}}),e.abrupt("return",f);case 12:e.prev=12,e.t0=e.catch(1),t({type:n.wF.GET_CONTENT_GUIDE_FAILED});case 15:case"end":return e.stop()}}),e,null,[[1,12]])})));return function(t,r,n){return e.apply(this,arguments)}}()},l=function(e){return(0,o.t8)(n.wF.SET_CONTEXTUAL_ONBOARDING_FOLLOW_SECTIONS,"contextualFollowSections",e)}},83183:function(e,t,r){"use strict";r.d(t,{bH:function(){return _},pQ:function(){return y},jI:function(){return b},KU:function(){return E},jO:function(){return g},$d:function(){return O},$Z:function(){return S},uo:function(){return A},Ol:function(){return T},wz:function(){return R},oS:function(){return I},NB:function(){return P}});r(35666),r(43105),r(77950),r(85940),r(34769),r(67890),r(49228),r(58188),r(73439);var n=r(47573),o=r(77690),i=r(7799),a=r(68460),c=r(12933),u=r(76632),s=r(41712),l=r(83981),f=r(61312);function p(e,t,r,n,o,i,a){try{var c=e[i](a),u=c.value}catch(e){return void r(e)}c.done?t(u):Promise.resolve(u).then(n,o)}function d(e){return function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(e){p(i,n,o,a,c,"next",e)}function c(e){p(i,n,o,a,c,"throw",e)}a(void 0)}))}}var m=(0,i.Z)().URLSearchParams,v={limit:30,needsReload:!0};function h(e){var t=n.ZP.sectionRawItemsFromStream(e);return{section:n.ZP.getSectionFromStream(e),items:t,nextPageKey:n.ZP.nextPageKeyFromStream(e),neverLoadMore:n.ZP.neverLoadMore(e)}}var _=function(e){return function(){var t=d(regeneratorRuntime.mark((function t(r,n,i){var a,u,p,d,m,_,y,b,E,g,O,S,A;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return a=i.flap,u=i.publisher,r({type:c.r.GET_CURATOR_PRO_MAGAZINE}),t.prev=2,p=Object.assign({},v,{sections:e}),t.next=6,(0,s.Z)(a,(0,l.LW)(n()),p);case 6:return d=t.sent,m=d.data,t.next=10,a.get("/curator/magazineContributors",{params:{sectionid:e}});case 10:return _=t.sent,y=h(m.stream),b=y.section,E=y.items,g=y.nextPageKey,O=y.neverLoadMore,S=decodeURIComponent(decodeURIComponent(b.magazineTarget)).replace("flipboard/mag-",""),t.next=15,u.get("/v1/pipe_from_mag",{params:{mag_id:S}});case 15:return A=t.sent,r((0,f.oY)()),r({type:c.r.GET_CURATOR_PRO_MAGAZINE_SUCCESS,section:b,items:E,pipes:A.data&&A.data.pipes,nextPageKey:g,neverLoadMore:O,contributors:_.data.contributors||[]}),t.abrupt("return",m);case 21:t.prev=21,t.t0=t.catch(2),o.ZP.error(t.t0),r({type:c.r.GET_CURATOR_PRO_MAGAZINE_FAILED});case 25:case"end":return t.stop()}}),t,null,[[2,21]])})));return function(e,r,n){return t.apply(this,arguments)}}()},y=function(e,t){return function(){var r=d(regeneratorRuntime.mark((function r(n,i,a){var u,p,d,m,_,y,b,E,g;return regeneratorRuntime.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return u=a.flap,n({type:c.r.GET_CURATOR_PRO_MAGAZINE_NEXT_ITEMS}),r.prev=2,p=Object.assign({},v,{sections:e,pageKey:t}),r.next=6,(0,s.Z)(u,(0,l.LW)(i()),p);case 6:return d=r.sent,m=d.data,_=h(m.stream),y=_.section,b=_.items,E=_.nextPageKey,g=_.neverLoadMore,n((0,f.oY)()),n({type:c.r.GET_CURATOR_PRO_MAGAZINE_NEXT_ITEMS_SUCCESS,section:y,items:b,nextPageKey:E,neverLoadMore:g}),r.abrupt("return",m);case 14:r.prev=14,r.t0=r.catch(2),o.ZP.error(r.t0),n({type:c.r.GET_CURATOR_PRO_MAGAZINE_NEXT_ITEMS_FAILED});case 18:case"end":return r.stop()}}),r,null,[[2,14]])})));return function(e,t,n){return r.apply(this,arguments)}}()},b=function(e,t){return function(){var r=d(regeneratorRuntime.mark((function r(n,i,u){var s,l;return regeneratorRuntime.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return s=u.flap,l=u.t,n({type:c.r.UPDATE_CURATOR_PRO_MAGAZINE}),r.prev=2,r.next=5,s.post("/curator/editMagazine",{target:e,key:Object.keys(t)[0],value:Object.values(t)[0]});case 5:if(r.sent.data.success){r.next=8;break}return r.abrupt("return",n({type:c.r.UPDATE_CURATOR_PRO_MAGAZINE_FAILED}));case 8:n({type:c.r.UPDATE_CURATOR_PRO_MAGAZINE_SUCCESS,changes:t}),r.next=16;break;case 11:r.prev=11,r.t0=r.catch(2),o.ZP.error(r.t0),n({type:c.r.UPDATE_CURATOR_PRO_MAGAZINE_FAILED}),n((0,a.toastShowErrorAction)(l("fallback_error_message")));case 16:case"end":return r.stop()}}),r,null,[[2,11]])})));return function(e,t,n){return r.apply(this,arguments)}}()},E=function(e){return function(){var t=d(regeneratorRuntime.mark((function t(r,n,i){var u,s;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return u=i.flap,s=i.t,r({type:c.r.DELET
1E_CURATOR_PRO_MAGAZINE}),t.prev=2,t.next=5,u.post("/curator/destroyMagazine",{target:e});case 5:if(t.sent.data.success){t.next=8;break}return t.abrupt("return",r({type:c.r.DELETE_CURATOR_PRO_MAGAZINE_FAILED}));case 8:r({type:c.r.DELETE_CURATOR_PRO_MAGAZINE_SUCCESS,magazineTarget:e}),r((0,a.toastShowInfoAction)(s("magazine_delete_success"))),t.next=17;break;case 12:t.prev=12,t.t0=t.catch(2),o.ZP.error(t.t0),r({type:c.r.DELETE_CURATOR_PRO_MAGAZINE_FAILED}),r((0,a.toastShowErrorAction)(s("magazine_delete_failure")));case 17:case"end":return t.stop()}}),t,null,[[2,12]])})));return function(e,r,n){return t.apply(this,arguments)}}()},g=function(e,t,r){return function(){var n=d(regeneratorRuntime.mark((function n(i,u,s){var l,f,p;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return l=s.flap,f=s.t,i({type:c.r.UPDATE_CURATOR_PRO_MAGAZINE_COVER}),n.prev=2,(p=new m).append("target",e),p.append("key","imageURL"),p.append("value",r),r&&(p.append("key","coverItemId"),p.append("value",t)),n.next=10,l.post("/curator/editMagazine",{},{params:p});case 10:if(n.sent.data.success){n.next=13;break}return n.abrupt("return",i({type:c.r.UPDATE_CURATOR_PRO_MAGAZINE_COVER_FAILED}));case 13:i({type:c.r.UPDATE_CURATOR_PRO_MAGAZINE_COVER_SUCCESS,itemId:t}),i((0,a.toastShowInfoAction)(f("update_magazine_cover_success"))),n.next=22;break;case 17:n.prev=17,n.t0=n.catch(2),o.ZP.error(n.t0),i({type:c.r.UPDATE_CURATOR_PRO_MAGAZINE_COVER_FAILED}),i((0,a.toastShowErrorAction)(f("fallback_error_message")));case 22:case"end":return n.stop()}}),n,null,[[2,17]])})));return function(e,t,r){return n.apply(this,arguments)}}()},O=function(e,t){return function(){var r=d(regeneratorRuntime.mark((function r(n,i,u){var s,l;return regeneratorRuntime.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return s=u.flap,l=u.t,n({type:c.r.REMOVE_CURATOR_PRO_MAGAZINE_CONTRIBUTOR}),r.prev=2,r.next=5,s.post("/curator/removeContributor",{target:e,contributorid:t});case 5:if(r.sent.data.success){r.next=8;break}return r.abrupt("return",n({type:c.r.REMOVE_CURATOR_PRO_MAGAZINE_CONTRIBUTOR_FAILED}));case 8:n({type:c.r.REMOVE_CURATOR_PRO_MAGAZINE_CONTRIBUTOR_SUCCESS,contributorId:t}),r.next=16;break;case 11:r.prev=11,r.t0=r.catch(2),o.ZP.error(r.t0),n({type:c.r.REMOVE_CURATOR_PRO_MAGAZINE_CONTRIBUTOR_FAILED}),n((0,a.toastShowErrorAction)(l("fallback_error_message")));case 16:case"end":return r.stop()}}),r,null,[[2,11]])})));return function(e,t,n){return r.apply(this,arguments)}}()},S=function(e,t){return function(){var r=d(regeneratorRuntime.mark((function r(n,i,f){var p,d,m,_,y,b,E,g,O,S,A,T;return regeneratorRuntime.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return p=f.flap,d=f.t,n({type:c.r.FLIP_CURATOR_PRO_MAGAZINE_URL}),r.prev=2,m={url:t,target:e.magazineTarget,service:"flipboard"},r.next=6,p.post("/social/shareWithComment",m);case 6:if(_=r.sent,_.data.success){r.next=10;break}return r.abrupt("return",n({type:c.r.FLIP_CURATOR_PRO_MAGAZINE_URL_FAILED}));case 10:return y=Object.assign({},v,{sections:e.remoteid}),r.next=13,(0,s.Z)(p,(0,l.LW)(i()),y);case 13:return b=r.sent,E=h(b.data.stream),g=E.section,O=E.items,S=E.nextPageKey,A=E.neverLoadMore,T=O.find((function(e){return e.sourceURL===t})),n({type:c.r.FLIP_CURATOR_PRO_MAGAZINE_URL_SUCCESS,section:g,items:O,nextPageKey:S,neverLoadMore:A}),n((0,a.toastShowInfoAction)({template:u._.FLIPPED,magazine:e})),r.abrupt("return",T);case 21:r.prev=21,r.t0=r.catch(2),o.ZP.error(r.t0),n({type:c.r.FLIP_CURATOR_PRO_MAGAZINE_URL_FAILED}),n((0,a.toastShowErrorAction)(d("fallback_error_message")));case 26:case"end":return r.stop()}}),r,null,[[2,21]])})));return function(e,t,n){return r.apply(this,arguments)}}()},A=function(e,t,r){return function(){var n=d(regeneratorRuntime.mark((function n(i,u,s){var l,f,p;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return l=s.flap,f=s.t,i({type:c.r.MOVE_CURATOR_PRO_MAGAZINE_ITEM,moveId:t,position:r}),n.prev=2,p={target:e,moveId:t,position:r},n.next=6,l.post("/curator/moveItemToPosition",p);case 6:if(n.sent.data.success){n.next=9;break}return n.abrupt("return",i({type:c.r.MOVE_CURATOR_PRO_MAGAZINE_ITEM_FAILED}));case 9:i({type:c.r.MOVE_CURATOR_PRO_MAGAZINE_ITEM_SUCCESS,moveId:t,position:r}),n.next=17;break;case 12:n.prev=12,n.t0=n.catch(2),o.ZP.error(n.t0),i({type:c.r.MOVE_CURATOR_PRO_MAGAZINE_ITEM_FAILED}),i((0,a.toastShowErrorAction)(f("fallback_error_message")));case 17:case"end":return n.stop()}}),n,null,[[2,12]])})));return function(e,t,r){return n.apply(this,arguments)}}()},T=function(e,t,r){return function(){var i=d(regeneratorRuntime.mark((function i(u,f,p){var d,m,_,y,b,E,g,O;return regeneratorRuntime.wrap((function(i){for(;;)switch(i.prev=i.next){case 0:return d=p.flap,m=p.t,u({type:c.r.CUSTOMIZE_CURATOR_PRO_MAGAZINE_ITEM}),i.prev=2,_={target:e,oid:t.oid,customizations:JSON.stringify(r)},i.next=6,d.post("/curator/customizeArticle",_);case 6:if(i.sent.data.success){i.next=9;break}return i.abrupt("return",u({type:c.r.CUSTOMIZE_CURATOR_PRO_MAGAZINE_ITEM_FAILED}));case 9:return y=Object.assign({},v,{sections:n.ZP.getMagazineItemRemoteid(t),limit:1}),i.next=12,(0,s.Z)(d,(0,l.LW)(f()),y);case 12:b=i.sent,E=h(b.data.stream),g=E.items,O=g.find((function(e){return e.remoteServiceItemID===t.remoteServiceItemID})),u({type:c.r.CUSTOMIZE_CURATOR_PRO_MAGAZINE_ITEM_SUCCESS,item:O}),i.next=23;break;case 18:i.prev=18,i.t0=i.catch(2),o.ZP.error(i.t0),u({type:c.r.CUSTOMIZE_CURATOR_PRO_MAGAZINE_ITEM_FAILED}),u((0,a.toastShowErrorAction)(m("fallback_error_message")));case 23:case"end":return i.stop()}}),i,null,[[2,18]])})));return function(e,t,r){return i.apply(this,arguments)}}()},R=function(e,t){return function(){var r=d(regeneratorRuntime.mark((function r(n,i,u){var s,l,f;return regeneratorRuntime.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return s=u.flap,l=u.t,n({type:c.r.REMOVE_CURATOR_PRO_MAGAZINE_ITEM}),r.prev=2,f={target:e,oid:t.anchorId},t.isStatus?f.type="status":f.service="flipboard",r.next=7,s.post("/social/destroy",f);case 7:if(r.sent.data.success){r.next=10;break}return r.abrupt("return",n({type:c.r.REMOVE_CURATOR_PRO_MAGAZINE_ITEM_FAILED}));case 10:n({type:c.r.REMOVE_CURATOR_PRO_MAGAZINE_ITEM_SUCCESS,oid:t.id}),n((0,a.toastShowInfoAction)("Item was removed")),r.next=19;break;case 14:r.prev=14,r.t0=r.catch(2),o.ZP.error(r.t0),n({type:c.r.REMOVE_CURATOR_PRO_MAGAZINE_ITEM_FAILED}),n((0,a.toastShowErrorAction)(l("fallback_error_message")));case 19:case"end":return r.stop()}}),r,null,[[2,14]])})));return function(e,t,n){return r.apply(this,arguments)}}()},I=function(e,t){return function(){var r=d(regeneratorRuntime.mark((function r(n,o,i){var u,s,l,f,p,d;return regeneratorRuntime.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return u=i.publisher,s=i.t,n({type:c.r.ADD_CURATOR_PRO_MAGAZINE_PIPE}),l={target:e,source:t},r.prev=3,r.next=6,u.post("/int/pipes/create",{},{params:l});case 6:if(f=r.sent,(p=f.data).success){r.next=11;break}return n({type:c.r.ADD_CURATOR_PRO_MAGAZINE_PIPE_FAILED}),r.abrupt("return",null);case 11:return d=p.item&&p.item[0],n({type:c.r.ADD_CURATOR_PRO_MAGAZINE_PIPE_SUCCESS,pipe:d}),n((0,a.toastShowInfoAction)(s("curator_pro_magazine_added_rss"))),r.abrupt("return",d);case 17:r.prev=17,r.t0=r.catch(3),n({type:c.r.ADD_CURATOR_PRO_MAGAZINE_PIPE_FAILED});case 20:case"end":return r.stop()}}),r,null,[[3,17]])})));return function(e,t,n){return r.apply(this,arguments)}}()},P=function(e,t){return function(){var r=d(regeneratorRuntime.mark((function r(n,i,u){var s,l,f,p;return regeneratorRuntime.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return s=u.publisher,l=u.t,n({type:c.r.DELET
1E_CURATOR_PRO_MAGAZINE_PIPE}),r.prev=2,f={uid:t},r.next=6,s.delete("/int/pipe/".concat(e),{params:f});case 6:if((p=r.sent).data.success){r.next=9;break}return r.abrupt("return",n({type:c.r.DELETE_CURATOR_PRO_MAGAZINE_PIPE_FAILED}));case 9:return n({type:c.r.DELETE_CURATOR_PRO_MAGAZINE_PIPE_SUCCESS,pipeId:e}),n((0,a.toastShowInfoAction)(l("curator_pro_magazine_removed_rss"))),r.abrupt("return",p.data.success);case 14:r.prev=14,r.t0=r.catch(2),o.ZP.error(r.t0),n({type:c.r.DELETE_CURATOR_PRO_MAGAZINE_PIPE_FAILED}),n((0,a.toastShowErrorAction)(l("fallback_error_message")));case 19:case"end":return r.stop()}}),r,null,[[2,14]])})));return function(e,t,n){return r.apply(this,arguments)}}()}},20255:function(e,t,r){"use strict";r.d(t,{D8:function(){return s},GT:function(){return l},S8:function(){return f}});r(95342),r(43450),r(32501),r(58188),r(73439),r(35666);var n=r(83565),o=r(80768),i=r(47573),a=r(46874);function c(e,t,r,n,o,i,a){try{var c=e[i](a),u=c.value}catch(e){return void r(e)}c.done?t(u):Promise.resolve(u).then(n,o)}function u(e){return function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(e){c(i,n,o,a,u,"next",e)}function u(e){c(i,n,o,a,u,"throw",e)}a(void 0)}))}}var s=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:7;return function(){var r=u(regeneratorRuntime.mark((function r(n,o,i){var a;return regeneratorRuntime.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return a=i.flavour,r.abrupt("return",a.get("/v1/audience",{params:{topic:e,active_days_back:t,count_only:!0}}));case 2:case"end":return r.stop()}}),r)})));return function(e,t,n){return r.apply(this,arguments)}}()},l=function(e){return function(){var t=u(regeneratorRuntime.mark((function t(r,n,o){var i;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return i=o.flavour,t.abrupt("return",i.post("/v1/recommend/package_tags",{urls:e}));case 2:case"end":return t.stop()}}),t)})));return function(e,r,n){return t.apply(this,arguments)}}()},f=function(e,t){var r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return function(){var c=u(regeneratorRuntime.mark((function c(u,s,l){var f,p,d,m,v,h;return regeneratorRuntime.wrap((function(c){for(;;)switch(c.prev=c.next){case 0:if(f=l.flavour,p=[],e.remoteid){c.next=4;break}return c.abrupt("return",p);case 4:return c.prev=4,c.next=7,f.get("/v2/section/topics",{params:{section_id:e.remoteid},data:{}});case 7:if(d=c.sent,!(m=d.data)){c.next=20;break}if(0!==(v=m.topics.slice(0,t).map((function(e){return n.Z.getTopicRemoteId(e.topic)})).filter((function(t){return r||i.ZP.normalizeRemoteid(e.remoteid)!==i.ZP.normalizeRemoteid(t)}))).length){c.next=13;break}return c.abrupt("return",p);case 13:return c.next=15,u((0,a.Fj)(v));case 15:if(c.t0=c.sent,c.t0){c.next=18;break}c.t0=p;case 18:return h=c.t0,c.abrupt("return",h.map((function(e){return o.Z.getBasicProjectedSection(e)})));case 20:c.next=25;break;case 22:return c.prev=22,c.t1=c.catch(4),c.abrupt("return",p);case 25:case"end":return c.stop()}}),c,null,[[4,22]])})));return function(e,t,r){return c.apply(this,arguments)}}()}},26131:function(e,t,r){"use strict";r.d(t,{_:function(){return i},l:function(){return a}});var n=r(75875),o=r(12933),i=(0,n.t8)(o.Tp.SET_ENABLED,"enabled"),a=(0,n.t8)(o.Tp.SET_TARGET_REMOTE_ID,"targetRemoteId")},74787:function(e,t,r){"use strict";r.d(t,{Wb:function(){return v},mj:function(){return h},jj:function(){return _},w2:function(){return y},VA:function(){return b},sP:function(){return E},y$:function(){return g},OA:function(){return O},xf:function(){return S}});r(35666),r(43105),r(58188),r(73439),r(1939);var n=r(12933),o=r(39744),i=r(47573),a=r(42890),c=r(11826),u=r(80768),s=r(47741),l=r(30001),f=r(46874);function p(e,t,r,n,o,i,a){try{var c=e[i](a),u=c.value}catch(e){return void r(e)}c.done?t(u):Promise.resolve(u).then(n,o)}function d(e){return function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(e){p(i,n,o,a,c,"next",e)}function c(e){p(i,n,o,a,c,"throw",e)}a(void 0)}))}}var m=function(e,t,r,i,a){var c=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{};return function(){var u=d(regeneratorRuntime.mark((function u(s){var l,p;return regeneratorRuntime.wrap((function(u){for(;;)switch(u.prev=u.next){case 0:if(e!==i){u.next=2;break}return u.abrupt("return");case 2:return l=Object.assign({extractItemsFromGroup:!1,preferMagazineContext:!1,index:null},c),u.next=5,s((0,f.If)(i,{limit:a,extractItemsFromGroup:l.extractItemsFromGroup,preferMagazineContext:l.preferMagazineContext,loadCommentary:!0}));case 5:return p=t&&((0,o.g0)(t)||(0,o.yL)(t))?n.H3.GET_ARTICLE_RELATED_SECTION_SUCCEEDED:n.iL.GET_SECTION_RELATED_SECTION_SUCCEEDED,u.next=8,s({type:p,payload:{remoteId:e,relatedSectionType:r,sectionId:i,index:l.index}});case 8:return u.abrupt("return",u.sent);case 9:case"end":return u.stop()}}),u)})));return function(e){return u.apply(this,arguments)}}()},v=function(e,t){return function(r,n){var i=(0,o.OP)(t);if(!i)return null;var a=u.Z.sectionIdForUpdateFeedRequest(i);return r(m(e,t,l.y1.ARTICLES,a,4,{extractItemsFromGroup:!0,preferMagazineContext:!0}))}},h=function(e,t){return function(r){var n=a.Z.getAuthor(t),o=n&&n.remoteid;return o?r(m(e,t,l.y1.AUTHOR,o,6)):Promise.resolve()}},_=function(e,t){return function(r){var n=t.isArticle?(0,o.OP)(t):null;if(t.isArticle&&!n)return null;var a=i.ZP.getRelatedStoryboardsRemoteId(t,n);return a?r(m(e,t,l.y1.STORYBOARDS,a,8)):null}},y=function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return function(n){var i=r||(0,o.n1)(t),a=[];
1return i&&i.forEach((function(r,o){r&&r.remoteid&&a.push(n(m(e,t,l.y1.TOPICS,r.remoteid,6,{index:o})))})),a}},b=function(e,t){return function(r){return r(m(e,t,l.y1.FLIPBOARD_TV,"sid/3dh8cdp0z/flipboard_tv",9))}},E=function(e,t,r){return function(n){if(r&&r.authorUsername){var o=(0,c.YR)({username:r.authorUsername});return n(m(e,t,l.y1.PROFILE_MAGAZINES,o,0))}}},g=function(e,t,r){return function(){var o=d(regeneratorRuntime.mark((function o(a){var c;return regeneratorRuntime.wrap((function(o){for(;;)switch(o.prev=o.next){case 0:return o.next=2,a((0,f.Up)(t.authorUsername,r));case 2:return c=i.ZP.getUserStoryboardSectionId(t.userid),o.abrupt("return",a({type:n.iL.GET_SECTION_RELATED_SECTION_SUCCEEDED,payload:{remoteId:e,relatedSectionType:l.y1.PROFILE_STORYBOARDS,sectionId:c}}));case 4:case"end":return o.stop()}}),o)})));return function(e){return o.apply(this,arguments)}}()},O=function(e){return function(){var t=d(regeneratorRuntime.mark((function t(r,n,o){var i,a,c,u,l;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return i=o.flap,a=e.sourceURL,c=e.id,t.prev=2,t.next=5,i.post("/social/shortenURL",{url:a,oid:c});case 5:if(u=t.sent,!(l=u.data)){t.next=9;break}return t.abrupt("return",l.result);case 9:return t.abrupt("return",null);case 12:t.prev=12,t.t0=t.catch(2),s.Z.captureMessage("Error shortening URL"),s.Z.captureException(t.t0);case 16:case"end":return t.stop()}}),t,null,[[2,12]])})));return function(e,r,n){return t.apply(this,arguments)}}()},S=function(e,t){return function(){var r=d(regeneratorRuntime.mark((function r(n,o,i){var a,c,u,l,f;return regeneratorRuntime.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return c=i.flap,u={oid:t&&t.id,url:t&&t.sourceURL,type:"inappropriate",section:(null===(a=e.ssid)||void 0===a?void 0:a.remoteidPlain)||e.remoteid},r.prev=2,r.next=5,c.post("/social/flagItem",{},{params:u});case 5:return l=r.sent,f=l.data,r.abrupt("return",f);case 10:r.prev=10,r.t0=r.catch(2),s.Z.captureMessage("Error flagging item"),s.Z.captureException(r.t0);case 14:case"end":return r.stop()}}),r,null,[[2,10]])})));return function(e,t,n){return r.apply(this,arguments)}}()}},23352:function(e,t,r){"use strict";r.d(t,{$Z:function(){return S},HH:function(){return A},YN:function(){return T},MA:function(){return R},kf:function(){return I},Z7:function(){return P},YD:function(){return w},dt:function(){return j},oV:function(){return N}});r(15735),r(58188),r(28673),r(6886),r(14121),r(73439),r(34769),r(34115),r(95342),r(68625),r(1939),r(62775),r(35666);var n=r(47573),o=r(11826),i=r(80768),a=r(22749),c=r(76632),u=r(83981),s=r(12933),l=r(68460),f=r(23030),p=r(21681),d=r(34688),m=r(46874),v=r(38255),h=r(61312);function _(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function y(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?_(Object(r),!0).forEach((function(t){b(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):_(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function b(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function E(e,t,r,n,o,i,a){try{var c=e[i](a),u=c.value}catch(e){return void r(e)}c.done?t(u):Promise.resolve(u).then(n,o)}function g(e){return function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(e){E(i,n,o,a,c,"next",e)}function c(e){E(i,n,o,a,c,"throw",e)}a(void 0)}))}}var O=function(e,t,r){return function(){var n=g(regeneratorRuntime.mark((function n(o,i,a){var f,p,m,v,h,_,b,E;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(f=a.flap,p=a.t,m=(0,u.LW)(i()),n.prev=2,o({type:s.mf.MAGAZINE_FLIP_PENDING}),h=e.target.magazineTarget||e.target.joinTarget){n.next=7;break}throw new d.Vg;case 7:return _=y({},e,{target:h}),n.next=10,f.post("/social/shareWithComment",_,{params:y({userid:m,magazineUserid:null==t||null===(v=t.author)||void 0===v?void 0:v.userid,service:"flipboard"},r?{link:r}:void 0)});case 10:b=n.sent,E=b.data,o({type:s.mf.MAGAZINE_FLIP_SUCCESS,data:E.userInfo}),o((0,l.toastShowInfoAction)({template:c._.FLIPPED,magazine:t})),o(L(t.remoteid)),n.next=21;break;case 17:n.prev=17,n.t0=n.catch(2),o({type:s.mf.MAGAZINE_FLIP_FAILED}),o((0,l.toastShowErrorAction)(p("flipped_into_magazine_failure",{magazineTitle:t.title})));case 21:case"end":return n.stop()}}),n,null,[[2,17]])})));return function(e,t,r){return n.apply(this,arguments)}}()},S=function(e,t,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,o=arguments.length>4?arguments[4]:void 0;return function(){var i=g(regeneratorRuntime.mark((function i(c){var u;return regeneratorRuntime.wrap((function(i){for(;;)switch(i.prev=i.next){case 0:return u={url:e.sourceURL,target:t,oid:e.id,text:r},i.next=3,c(O(u,t,o));case 3:n&&c((0,p.F$)(a.f2.ITEM_FLIP,n)),c((0,p.ec)(e,t)),c((0,h.BN)(e));case 6:case"end":return i.stop()}}),i)})));return function(e){return i.apply(this,arguments)}}()},A=function(e,t,r,n,i){return function(){var c=g(regeneratorRuntime.mark((function c(u){var s,l;return regeneratorRuntime.wrap((function(c){for(;;)switch(c.prev=c.next){case 0:return n&&u((0,p.F$)(a.f2.SECTION_FLIP,n)),c.next=3,u((0,m.ot)(e));case 3:return s=c.sent,l={url:s,target:t,sectionId:(0,o.YR)(e),text:r},c.next=7,u(O(l,t,i));case 7:n&&u((0,p.F$)(a.f2.SECTION_FLIP,n)),u((0,p.o3)(e,t));case 9:case"end":return c.stop()}}),c)})));return function(e){return c.apply(this,arguments)}}()},T=function(e,t,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,o=arguments.length>4?arguments[4]:void 0;return function(){var i=g(regeneratorRuntime.mark((function i(c){var u;return regeneratorRuntime.wrap((function(i){for(;;)switch(i.prev=i.next){case 0:return u={url:e,target:t,text:r},i.next=3,c(O(u,t,o));case 3:n&&c((0,p.F$)(a.f2.URL_FLIP,n)),c((0,p.O7)(e,t));case 5:case"end":return i.stop()}}),i)})));return function(e){return i.apply(this,arguments)}}()},R=function(e,t,r,o){return function(){var a=g(regeneratorRuntime.mark((function a(c,u,f){var d,m,v,h,_,y,b,E,g,O,S;return regeneratorRuntime.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return d=f.flap,m=f.t,a.prev=1,c({type:s.mf.CREATE_MAGAZINE_PENDING}),v={title:e,description:t,magazineVisibility:r?"public":"private"},h={usessid:!0},a.next=7,d.post("/curator/createMagazine",v,{params:h});case 7:if(_=a.sent,!(y=_.data).magazine){a.next=16;break}return b=y.magazine,E=b.socialId,g=b.magazineVisibility,c((0,p.eg)(E,g,o)),O=i.Z.projection(y.magazine),c({type:s.mf.CREATE_MAGAZINE_SUCCESS,magazine:O}),c((0,l.toastShowInfoAction)(m("magazine_create_success"))),a.abrupt("return",O);case 16:S=new Error("No magazine in response"),c({type:s.mf.CREATE_MAGAZINE_FAILED,error:S}),c((0,l.toastShowErrorAction)(n.ZP.errorMessage(S,m,m("magazine_create_failure")))),a.next=25;break;case 21:a.prev=21,a.t0=a.catch(1),c({type:s.mf.CREATE_MAGAZINE_FAILED,error:a.t0}
1),c((0,l.toastShowErrorAction)(n.ZP.errorMessage(a.t0,m,m("magazine_create_failure"))));case 25:case"end":return a.stop()}}),a,null,[[1,21]])})));return function(e,t,r){return a.apply(this,arguments)}}()},I=function(){return{type:s.mf.MAGAZINE_SAVE_STATE_RESET}},P=function(e,t){return function(){var r=g(regeneratorRuntime.mark((function r(n,o,i){var a,c,u,l,f;return regeneratorRuntime.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return a=i.publisher,n({type:s.mf.CREATE_MAGAZINE_PIPE}),c={target:e,source:t},r.prev=3,r.next=6,a.post("/int/pipes/create",{},{params:c});case 6:if(u=r.sent,(l=u.data).success){r.next=11;break}throw n({type:s.mf.CREATE_MAGAZINE_PIPE_FAILED}),new Error;case 11:if(f=l.item&&l.item[0]){r.next=14;break}throw new Error;case 14:return n({type:s.mf.CREATE_MAGAZINE_PIPE_SUCCESS,pipe:f}),r.abrupt("return",f);case 18:throw r.prev=18,r.t0=r.catch(3),n({type:s.mf.CREATE_MAGAZINE_PIPE_FAILED}),r.t0;case 22:case"end":return r.stop()}}),r,null,[[3,18]])})));return function(e,t,n){return r.apply(this,arguments)}}()},C=function(e,t,r,n){return function(){var o=g(regeneratorRuntime.mark((function o(i,a,c){var s,f,p,d,m;return regeneratorRuntime.wrap((function(o){for(;;)switch(o.prev=o.next){case 0:if(s=c.flap,f=c.t,!(p=e.magazineTarget)){o.next=15;break}return d=(0,u.LW)(a()),o.next=6,s.get("/curator/editMagazine/".concat(d),{params:{userid:d,target:p,key:"magazinePinnedItem",value:t||""}});case 6:if(m=o.sent,!m.data.success){o.next=14;break}return o.next=11,i(L(e.remoteid));case 11:i((0,l.toastShowInfoAction)(f(r))),o.next=15;break;case 14:i((0,l.toastShowErrorAction)(f(n)));case 15:case"end":return o.stop()}}),o)})));return function(e,t,r){return o.apply(this,arguments)}}()},w=function(e,t){return function(r){return r(C(e,t,"magazine_item_pin_success","magazine_item_pin_failure"))}},j=function(e){return function(t){return t(C(e,!1,"magazine_item_unpin_success","magazine_item_unpin_failure"))}},N=function(e,t){return function(){var r=g(regeneratorRuntime.mark((function r(n,o,i){var a,c,u,p;return regeneratorRuntime.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return a=i.flap,c=i.t,u={oid:e.id,service:"flipboard",target:e.magazineTarget},n({type:s.mf.REMOVE_ITEM_FROM_MAGAZINE_PENDING}),r.prev=3,r.next=6,a.post("/social/destroy",{},{params:u});case 6:(p=r.sent)&&p.data&&200==p.data.code&&(n({type:s.mf.REMOVE_ITEM_FROM_MAGAZINE_SUCCESS,payload:{oid:e.id,target:e.magazineTarget}}),n((0,l.toastShowInfoAction)(c("remove_item_from_magazine_success"))),n(L(t.remoteid)),n((0,f.Yz)())),r.next=15;break;case 10:r.prev=10,r.t0=r.catch(3),n({type:s.mf.REMOVE_ITEM_FROM_MAGAZINE_FAILED,error:r.t0}),n((0,l.toastShowInfoAction)(c("remove_item_from_magazine_failure"))),n((0,f.Yz)());case 15:case"end":return r.stop()}}),r,null,[[3,10]])})));return function(e,t,n){return r.apply(this,arguments)}}()},L=function(e){return function(t,r){var o=r().sections,i=n.ZP.getSectionByRemoteId(e,o.entries);i&&t((0,m.If)(i.remoteid,{limit:v.m,primarySectionForRoute:!0}))}}},23030:function(e,t,r){"use strict";r.d(t,{K4:function(){return o},zQ:function(){return a},mb:function(){return c},Yz:function(){return u},nm:function(){return s},Kf:function(){return l}});r(49228);var n=r(12933),o=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return{type:n.Ny.SHOW_MODAL,payload:{component:e,props:t}}},i=function(e,t){var r=t.modal.current.find((function(t){return t.component===e}));return(null==r?void 0:r.component)||null},a=function(e){return function(t,r){return!!i(e,r())}},c=function(e){return function(t,r){var o=i(e,r());t({type:n.Ny.DISMISS_SPECIFIC_MODAL,payload:{component:o}})}},u=function(){return{type:n.Ny.DISMISS_MODAL}},s=function(){return{type:n.Ny.DISMISS_ALL_MODALS}},l=function(){return{type:n.Ny.SET_MODAL_LOGIN_COMPLETE}}},23115:function(e,t,r){"use strict";r.d(t,{Oe:function(){return ce},T1:function(){return X},dg:function(){return $},kU:function(){return ae},r7:function(){return le},Tu:function(){return J},bx:function(){return fe},$9:function(){return V},df:function(){return ie},ih:function(){return z},v7:function(){return G},LN:function(){return B},CS:function(){return F},zK:function(){return ne},nN:function(){return K},oO:function(){return W},k0:function(){return Y},SQ:function(){return Q},j4:function(){return oe},II:function(){return me},c6:function(){return te},Nu:function(){return pe},nu:function(){return ue}});r(16781),r(32501),r(43450),r(95342),r(71245),r(39529),r(31235),r(18178),r(1939),r(43105),r(58188),r(73439),r(49228),r(34769),r(34115),r(68625),r(62775),r(2
16936),r(27233),r(28673),r(634),r(20796),r(15735),r(6886),r(35666);var n=r(93586),o=r.n(n),i=r(84636),a=r.n(i),c=r(45828),u=r(47741),s=r(47573),l=r(83565),f=r(80768),p=r(6630),d=r(35616),m=r(66263),v=r(22749),h=r(7799),_=r(34688),y=(r(33132),function(e){if(/^[0-9]+$/.test(e)&&Number.isInteger(parseInt(e,10)))return!0;throw new _.N2}),b=r(10554),E=r(75875),g=r(67707),O=r(93117),S=r(12933),A=r(30001),T=r(41626),R=r(46874),I=r(68460),P=r(41712),C=r(21681);function w(e){return function(e){if(Array.isArray(e))return L(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||N(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function j(e,t){var r;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(r=N(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,c=!1;return{s:function(){r=e[Symbol.iterator]()},n:function(){var e=r.next();return a=e.done,e},e:function(e){c=!0,i=e},f:function(){try{a||null==r.return||r.return()}finally{if(c)throw i}}}}function N(e,t){if(e){if("string"==typeof e)return L(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?L(e,t):void 0}}function L(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function D(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function x(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?D(Object(r),!0).forEach((function(t){M(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):D(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function M(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Z(e,t,r,n,o,i,a){try{var c=e[i](a),u=c.value}catch(e){return void r(e)}c.done?t(u):Promise.resolve(u).then(n,o)}function U(e){return function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(e){Z(i,n,o,a,c,"next",e)}function c(e){Z(i,n,o,a,c,"throw",e)}a(void 0)}))}}var k=(0,h.Z)().URLSearchParams,F=function(){return function(){var e=U(regeneratorRuntime.mark((function e(t,r,n){var o,i,a,c,l,f;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(o=n.flap,i=r(),a=i.auth.uid,e.prev=2,t({type:S.VD.GET_PROFILE_INFO}),c={states:"user",usessid:!0,refreshFlipboard:!0},y(a)){e.next=7;break}return e.abrupt("return");case 7:return e.next=9,o.get("/flipboard/userInfo/".concat(a),{params:c});case 9:l=e.sent,f=l.data,s.ZP.isAccessTokenExpired(f)||!1===f.success||!f.userInfo?t({type:S.VD.GET_PROFILE_UNAUTHORIZED}):(t({type:S.VD.GET_PROFILE_INFO_SUCCESS,data:f.userInfo}),t({type:S.VD.UPDATE_FOLLOWING_IDS})),e.next=19;break;case 14:e.prev=14,e.t0=e.catch(2),e.t0 instanceof _.N2&&u.Z.captureMessage("InvalidUIDError in profile-actions fetchUserInfo"),u.Z.addBreadcrumb("fetchUserInfo"),t((0,T.Fg)(!0));case 19:case"end":return e.stop()}}),e,null,[[2,14]])})));return function(t,r,n){return e.apply(this,arguments)}}()},G=function(){return function(){var e=U(regeneratorRuntime.mark((function e(t,r,n){var o,i,a,c,s,l;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o=n.flap,i=r(),a=i.auth.uid,e.prev=2,c={usessid:!0},e.next=6,o.get("/flipboard/boards/".concat(a),{params:c});case 6:s=e.sent,l=s.data,t({type:S.VD.GET_PROFILE_SMART_MAGAZINES_SUCCESS,data:l.results}),e.next=15;break;case 11:e.prev=11,e.t0=e.catch(2),u.Z.addBreadcrumb("fetchProfileSmartMagazines"),t((0,T.Fg)(!0));case 15:case"end":return e.stop()}}),e,null,[[2,11]])})));return function(t,r,n){return e.apply(this,arguments)}}()},B=function(e){return function(){var t=U(regeneratorRuntime.mark((function t(r,n,o){var i,a,c,l,f,p,d,m;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return i=o.flap,a=n(),c=a.auth.uid,t.prev=2,l={sections:e.join(","),limit:3},t.next=6,(0,P.Z)(i,c,l);case 6:f=t.sent,p=f.data,d=p.stream,m=s.ZP.getSectionCoversFromStream(e,d),r({type:S.VD.GET_SMART_MAGAZINES_COVERS_SUCCESS,covers:m}),t.next=17;break;case 13:t.prev=13,t.t0=t.catch(2),u.Z.captureException(t.t0),r({type:S.VD.GET_SMART_MAGAZINES_COVERS_FAILED});case 17:case"end":return t.stop()}}),t,null,[[2,13]])})));return function(e,r,n){return t.apply(this,arguments)}}()},z=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return function(){var t=U(regeneratorRuntime.mark((function t(r,n,o){var i,a,c,u,s,l,f,p;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return i=o.flap,a=n(),c=a.auth.uid,t.prev=2,u={userid:c,serviceUserid:c,service:"flipboard",limit:30},e&&(u.pageKey=e),r({type:S.VD.GET_PROFILE_FOLLOWERS}),t.next=8,i.get("/social/followers/".concat(c),{params:u});case 8:if(s=t.sent,l=s.success,f=s.errormessage,p=s.data,!1!==l){t.next=14;break}return t.abrupt("return",r({type:S.VD.GET_PROFILE_FOLLOWERS_FAILED,errormessage:f}));case 14:r({type:S.VD.GET_PROFILE_FOLLOWERS_SUCCESS,data:p.items,nextPageKey:p.pageKey||null,isFirstPage:!e}),t.next=20;break;case 17:t.prev=17,t.t0=t.catch(2),r({type:S.VD.GET_PROFILE_FOLLOWERS_FAILED});case 20:case"end":return t.stop()}}),t,null,[[2,17]])})));return function(e,r,n){return t.apply(this,arguments)}}()},V=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{sample:!1},t=e.sample;return function(){var e=U(regeneratorRuntime.mark((function e(r,n,i){var c,l,d,m,v,h,_;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(c=i.flap,r((0,E.t8)(S.VD.GET_FOLLOWING,"followingLoading",!0)),l=n(),d=l.auth.uid,(m=l.profile.followingIds)&&0!==m.length){e.next=5;break}return e.abrupt("return",null);case 5:return v=t?[m.slice(0,12)]:o()(m,24),e.next=8,(0,p.F)(v.map(function(){var e=U(regeneratorRuntime.mark((function e(t){var r,n,o;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r={sections:t.join(",")},e.prev=1,e.next=4,(0,P.Z)(c,d,r);case 4:if(n=e.sent,!(o=n.data)||!o.stream){e.next=8;break}return e.abrupt("return",o.stream);case 8:e.next=13;break;case 10:e.prev=10,e.t0=e.catch(1),u.Z.captureException(e.t0);case 13:return e.abrupt("return",null);case 14:case"end":return e.stop()}}),e,null,[[1,10]])})));return function(t){return e.apply(this,arguments)}}()));case 8:h=e.sent,_=t?S.VD.GET_FOLLOWING_SAMPLE_SUCCESS:S.VD.GET_FOLLOWING_SUCCESS,r((0,E.t8)(_,"following",a()(s.ZP.getSectionMetadataItemsFromStream(h).map((function(e){return f.Z.projection(e.section)})).filter((function(e){return!e.isSmartMagazine})),"normalizedRemoteid")));case 11:case"end":return e.stop()}}),e)})));return function(t,r,n){return e.apply(this,arguments)}}()},H=function(){return function(){var e=U(regeneratorRuntime.mark((function e(t,r,n){var o,i,a,c,u,s,l,f;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o=n.flap,i=r(),a=i.auth.uid,e.prev=2,c={userid:a,usessid:!0},e.next=6,o.get("/userstate/getCarouselFavorites/".concat(a),{params:c});case 6:if(u=e.sent,s=u.success,l=u.errormessage,f=u.data,!1!==s){e.next=12;break}return e.abrupt("return",t({type:S.VD.GET_FAVORITES_FAILED,errormessage:l}));case 12:return t({type:S.VD.GET_FAVORITES_SUCCESS,data:f.results,version:f.version}),e.abrupt("return",f);case 16:e.prev=16,e.t0=e.catch(2),t({type:S.VD.GET_FAVORITES_FAILED});case 19:case"end":return e.stop()}}),e,null,[[2,16]])})));return function(t,r,n){return e.apply(this,arguments)}}()},q=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return(0,R.If)(e,x({path:"/profile",pageKey:t.nextPageKey,previousRawItems:t.rawItems,ephemeral:!1},r))},W=function(e,t){return q(s.ZP.getRemoteidByUserid(e),t)},Y=function(e,t){return q(s.ZP.getProfileVideoRemoteid(e),t)},K=function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n="/profile/likes",o=Number(e)===Number(t),i=o?s.ZP.profileLikesRemoteId():s.ZP.profileLikesRemoteId(t);return q(i,r,{path:n,ephemeral:!o})},X=function(e,t){return function(){var r=U(regeneratorRuntime.mark((function r(n,o,i){var a,c,u,s,l,f,p;return regeneratorRuntime.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return a=i.flap,c=o(),u=c.auth.uid,s=c.profile.carouselVersion,r.prev=2,l={title:t||null,sectionId:e,version:s,userid:u},n({type:S.VD.ADD_CAROUSEL_FAVORITE_PENDING}),r.next=7,a.post("/userstate/addCarouselFavorites/".concat(u),l);case 7:return f=r.sent,p=f.data,n({type:S.VD.ADD_CAROUSEL_FAVORITE_SUCCESS,version:p.version}),r.abrupt("return",n(H()));case 13:throw r.prev=13,r.t0=r.catch(2),n({type:S.VD.ADD_CAROUSEL_FAVORITE_FAILURE}),r.t0;case 17:case"end":return r.stop()}}),r,null,[[2,13]])})));return function(e,t,n){return r.apply(this,arguments)}}()},$=function(){return(0,E.t8)(S.VD.SET_RECENTLY_PERSONALIZED_TOPIC,"lastFavoritedSectionId",null)},J=function(e){return function(){var t=U(regeneratorRuntime.mark((function t(r,n,o){var i,a,c,s,l,f,p;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return i=o.flap,a=o.t,c=n(),s=c.auth.uid,l=c.profile.carouselVersion,t.prev=2,r({type:S.VD.DELETE_CAROUSEL_FAVORITE_PENDING}),t.next=6,i.post("/userstate/removeCarouselFavorites",{sectionId:e,userid:s,version:l});case 6:if(f=t.sent,(p=f.data).success){t.next=12;break}throw r({type:S.VD.DELETE_CAROUSEL_FAVORITE_FAILURE}),u.Z.captureMessage("Delete carousel favorite failed"),new Error;case 12:r({type:S.VD.DELETE_CAROUSEL_FAVORITE_SUCCESS,sectionId:e,version:p.version}),t.next=19;break;case 15:t.prev=15,t.t0=t.catch(2),r({type:S.VD.DELETE_CAROUSEL_FAVORITE_FAILURE}),r((0,I.toastShowInfoAction)(a("favorite_delete_failure")));case 19:case"end":return t.stop()}}),t,null,[[2,15]])})));return function(e,r,n){return t.apply(this,arguments)}}()},Q=function(e,t){return function(){var r=U(regeneratorRuntime.mark((function r(n,o,i){var a,c,s,l,f,p;return regeneratorRuntime.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return a=i.flap,c=o(),s=c.auth.uid,l=c.profile.carouselVersion,r.prev=2,n({type:S.VD.MOVE_CAROUSEL_FAVORITE_PENDING,fromIndex:e,toIndex:t}),r.next=6,a.post("/userstate/moveCarouselFavorite",{userid:s,fromIndex:e,toIndex:t,version:l});case 6:if(f=r.sent,(p=f.data).success){r.next=12;break}throw n({type:S.VD.MOVE_CAROUSEL_FAVORITE_FAILURE}),u.Z.captureMessage("Move carousel favorite failed"),new Error;case 12:n({type:S.VD.MOVE_CAROUSEL_FAVORITE_SUCCESS,version:p.version}),r.next=18;break;case 15:r.prev=15,r.t0=r.catch(2),n({type:S.VD.MOVE_CAROUSEL_FAVORITE_FAILURE});case 18:case"end":return r.stop()}}),r,null,[[2,15]])})));return function(e,t,n){return r.apply(this,arguments)}}()},ee=function(e){return(0,b.ei)(e,["title","sectionTitle","remoteid","service","ssid","authorDisplayName","authorDescription","userid","fromUserId","fromInvite"])},te=function(e,t,r){return function(){var n=U(regeneratorRuntime.mark((function n(o,i){return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.abrupt("return",o(re((function(){var n=i(),o=(0,d.Um)(n),a=o&&o.tocSections||[];return{newTOCSections:[].concat(w(a.filter((function(e){return-1===e.remoteid.indexOf("flipboard/topic")}))),w(e.map(l.Z.decorateForFollowing).map(ee))),navFrom:t,viewedSection:null,method:r}}))));case 1:case"end":return n.stop()}}),n)})));return function(e,t){return n.apply(this,arguments)}}()},re=function(e){return function(){var t=U(regeneratorRuntime.mark((function t(r,n,o){var i,a,c,s,l,p,m,h,_;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return i=o.t,a=o.flap,c=[],s=[],t.prev=3,t.next=6,r(me(U(regeneratorRuntime.mark((function t(){var o,i,a,u,v,h;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e();case 2:if(o=t.sent,i=o.newTOCSections,l=o.navFrom,p=o.viewedSection,m=o.method,a=n(),u=(0,d.Um)(a),(v=(null==u?void 0:u.tocSections)||[]).forEac
1h((function(e){f.Z.sectionsIncludesSection(i,e)||s.push(e)})),i.forEach((function(e){f.Z.sectionsIncludesSection(v,e)||c.push(e)})),0!==s.length||0!==c.length){t.next=14;break}return t.abrupt("return");case 14:return h=Object.assign({},u,{tocSections:i}),s.length>0&&(s.forEach((function(e){r({type:S.VD.UNFOLLOW_SECTION,remoteId:e.remoteid})})),r(se(s.map((function(e){return e.remoteid}))))),c.length>0&&r({type:S.VD.FOLLOW_SECTION,remoteIds:c.map((function(e){return e.remoteid}))}),t.abrupt("return",h);case 18:case"end":return t.stop()}}),t)})))));case 6:c.length>0&&(h=1===c.length?i("follow_section_success",{sectionTitle:c[0].title}):i("follow_multiple_sections_success",{count:c.length}),r({type:S.VD.FOLLOW_SECTION_SUCCESS}),c.forEach((function(e){l&&r((0,C.F$)(v.f2.SECTION_SUBSCRIBE,l)),r((0,C.hw)(e,p,m));try{e.service===A.K9.ACTIVITYPUB&&a.post("/social/follow",{service:e.service,userid:e.userid,serviceUserid:e.userid})}catch(e){u.Z.captureException(e)}}))),s.length>0&&(h=1===s.length?i("unfollow_section_success",{sectionTitle:s[0].title}):i("unfollow_multiple_sections_success",{count:s.length}),r({type:S.VD.UNFOLLOW_SECTION_SUCCESS}),s.forEach((function(e){l&&r((0,C.F$)(v.f2.SECTION_UNSUBSCRIBE,l)),r((0,C.Oz)(e,p,m));try{e.service===A.K9.ACTIVITYPUB&&a.post("/social/unfollow",{service:e.service,userid:e.userid,serviceUserid:e.userid})}catch(e){u.Z.captureException(e)}}))),c.length>0&&s.length>0&&(h=i("updated_following_success")),h&&r((0,I.toastShowInfoAction)(h)),t.next=19;break;case 12:return t.prev=12,t.t0=t.catch(3),u.Z.captureException(t.t0),s.length>0&&c.length>0?_=i("updated_following_failure"):c.length>0?_=1===c.length?i("follow_section_failure",{sectionTitle:c[0].title}):i("follow_multiple_sections_failure",{count:c.length}):s.length>0&&(_=1===s.length?i("unfollow_section_failure",{sectionTitle:s[0].title}):i("unfollow_multiple_sections_failure",{count:s.length})),_&&r((0,I.toastShowErrorAction)(_)),r(F()),t.abrupt("return",Promise.reject());case 19:case"end":return t.stop()}}),t,null,[[3,12]])})));return function(e,r,n){return t.apply(this,arguments)}}()},ne=function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return function(n,o){return n(re((function(){var n=o(),i=(0,d.Um)(n),a=i&&i.tocSections||[],c=(0,O.k)(e).map(ee);return{newTOCSections:[].concat(w(a),w(c)),navFrom:t,viewedSection:r}})))}},oe=function(){return function(){var e=U(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t(function(){var e=U(regeneratorRuntime.mark((function e(t,r){var n,o,i,a;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=r(),o=(0,d.Sn)(n),0!==(i=c.Z.POST_ACTIVATION_AUTO_FOLLOW_REMOTE_IDS.filter((function(e){return!o.includes(e)}))).length){e.next=5;break}return e.abrupt("return",null);case 5:return e.next=7,t((0,R.Fj)(i));case 7:return a=e.sent,e.abrupt("return",t(ne(a)));case 9:case"end":return e.stop()}}),e)})));return function(t,r){return e.apply(this,arguments)}}()).then((function(){return t(function(){var e=U(regeneratorRuntime.mark((function e(t,r){var n,o,i,a,s,l,f;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(e.prev=0,n=r(),o=n.featureFlags,i=n.profile,o.POST_ONBOARDING_FAVORITES){e.next=4;break}return e.abrupt("return",null);case 4:a=i.followingIds.filter((function(e){return!c.Z.POST_ACTIVATION_AUTO_FOLLOW_REMOTE_IDS.includes(e)})).slice(0,3),s=j(a),e.prev=6,s.s();case 8:if((l=s.n()).done){e.next=14;break}return f=l.value,e.next=12,t(X(f));case 12:e.next=8;break;case 14:e.next=19;break;case 16:e.prev=16,e.t0=e.catch(6),s.e(e.t0);case 19:return e.prev=19,s.f(),e.finish(19);case 22:e.next=27;break;case 24:e.prev=24,e.t1=e.catch(0),u.Z.captureException(e.t1);case 27:case"end":return e.stop()}}),e,null,[[0,24],[6,16,19,22]])})));return function(t,r){return e.apply(this,arguments)}}())})),t((0,T.Wu)(!1)),t((0,C.QD)()),m.Z.trackFirstLaunchActivated();case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()},ie=function(e){return function(){var t=U(regeneratorRuntime.mark((function t(r){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r({type:S.VD.GET_PROFILE_PENDING}),t.next=3,(0,p.F)([r(F()),r(G()),r(function(){var e=U(regeneratorRuntime.mark((function e(t,r,n){var o,i,a,c,u,s,l;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o=n.flap,i=r(),a=i.auth.uid,e.prev=2,e.next=5,o.get("/community/member/".concat(a));case 5:if(c=e.sent,u=c.success,s=c.errormessage,l=c.data,!1!==u){e.next=11;break}return e.abrupt("return",t({type:S.VD.GET_PROFILE_COMMUNITY_GROUPS_FAILED,errormessage:s}));case 11:t({type:S.VD.GET_PROFILE_COMMUNITY_GROUPS_SUCCESS,data:l.communities}),e.next=17;break;case 14:e.prev=14,e.t0=e.catch(2),t({type:S.VD.GET_PROFILE_COMMUNITY_GROUPS_FAILED});case 17:case"end":return e.stop()}}),e,null,[[2,14]])})));return function(t,r,n){return e.apply(this,arguments)}}()),r(function(){var e=U(regeneratorRuntime.mark((function e(t,r,n){var o,i,a,c,u,s,l,f;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o=n.flap,i=r(),a=i.auth.uid,e.prev=2,c={oid:"flipboard-_posts_:m:".concat(a,"-0"),service:"flipboard"},e.next=6,o.get("/social/activity/".concat(a),{params:c});case 6:if(u=e.sent,s=u.success,l=u.errormessage,f=u.data,!1!==s){e.next=12;break}return e.abrupt("return",t({type:S.VD.GET_PROFILE_STATS_FAILED,errormessage:l}));case 12:t({type:S.VD.GET_PROFILE_STATS_SUCCESS,data:f.items[0]||[]}),e.next=18;break;case 15:e.prev=15,e.t0=e.catch(2),t({type:S.VD.GET_PROFILE_STATS_FAILED});case 18:case"end":return e.stop()}}),e,null,[[2,15]])})));return function(t,r,n){return e.apply(this,arguments)}}()),r(z()),r(H()),r(W(e))]).then((function(e){return r({type:S.VD.GET_PROFILE_SUCCESS}),e}));case 3:return t.abrupt("return",t.sent);case 4:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()},ae=function(e,t){return function(){var r=U(regeneratorRuntime.mark((function r(n,o,i){var a,c,u,s,l,f,p;return regeneratorRuntime.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return a=i.flap,c=i.t,r.prev=1,s={rootTopic:e.remoteid,title:e.title,usessid:!0},l=new k,t.forEach((function(e){return l.append("addSection",e.remoteid)})),r.next=7,a.post("/flipboard/createBoard",s,{params:l});case 7:if(f=r.sent,p=f.data.results,u=p[0]){r.next=13;break}throw n({type:S.VD.CREATE_SMART_MAGAZINE_FAILED}),new Error;case 13:n({type:S.VD.CREATE_SMART_MAGAZINE_SUCCESS}),n((0,I.toastShowInfoAction)(c("smart_magazine_create_success",{topicTitle:e.title}))),r.next=20;break;case 17:return r.prev=17,r.t0=r.catch(1),r.abrupt("return",n((0,I.toastShowErrorAction)(c("smart_magazine_create_failure"))));case 20:return n((0,R.TI)(e)),n(G()),n(F()),r.abrupt("return",Promise.resolve(u));case 24:case"end":return r.stop()}}),r,null,[[1,17]])})));return function(e,t,n){return r.apply(this,arguments)}}()},ce=function(e){return function(){var t=U(regeneratorRuntime.mark((function t(r,n){var o,i;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(t.prev=0,o=n(),i=o.profile.favorites,f.Z.isInCarouselFavorites(e,i)){t.next=8;break}return t.next=6,r(X(e.remoteid,e.title));case 6:r((a=e.remoteid,(0,E.t8)(S.VD.SET_RECENTLY_PERSONALIZED_TOPIC,"lastFavoritedSectionId",a))),r({type:S.VD.ADD_SMART_MAGAZINE_CAROUSEL_SUCCESS,remoteid:e.remoteid});case 8:return t.abrupt("return",Promise.resolve(f.Z.projection(e)));case 11:t.prev=11,t.t0=t.catch(0),r((0,I.toastShowErrorAction)("Failed to add ".concat(e.title," to favorites. Please try again later")));case 14:case"end":return t.stop()}var a}),t,null,[[0,11]])})));return function(e,r){return t.apply(this,arguments)}}()},ue=function(e,t,r){return function(){var n=U(regeneratorRuntime.mark((function n(o,i,a){var c,u,s,l,f,p,d,m,v;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return c=a.flap,u=a.t,n.prev=1,s=e.boardId,l=e.version,f={boardId:s,version:l},p=new k,t.forEach((function(e){return p.append("addSection",e)})),r.forEach((function(e){return p.append("removeSection",e)})),n.next=9,c.post("/flipboard/updateBoard",f,{params:p});case 9:if(d=n.sent,m=d.data.results,v=m[0]){n.next=14;break}throw new Error;case 14:o({type:S.VD.UPDATE_SMART_MAGAZINE_SUCCESS,smartMag:v}),o((0,I.toastShowInfoAction)(u("smart_magazine_update_success"))),o((0,R.TI)(e)),o(G()),o(F()),n.next=25;break;case 21:n.prev=21,n.t0=n.catch(1),o({type:S.VD.UPDATE_SMART_MAGAZINE_FAILED}),o((0,I.toastShowErrorAction)(u("smart_magazine_update_failure")));case 25:case"end":return n.stop()}}),n,null,[[1,21]])})));return function(e,t,r){return n.apply(this,arguments)}}()},se=function(e){return function(){var t=U(regeneratorRuntime.mark((function t(r,n,o){var i,a,c,u,l,p;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return i=o.flap,a=n(),c=a.auth.uid,u={sections:e.join(",")},t.next=5,(0,P.Z)(i,c,u);case 5:l=t.sent,(p=l.data)&&p.stream&&s.ZP.getSectionMetadataItemsFromStream(p.stream).map((function(e){return f.Z.getBasicProjectedSection(e.section)}
1)).forEach((function(e){r(le(e)),r(fe(e))}));case 8:case"end":return t.stop()}}),t)})));return function(e,r,n){return t.apply(this,arguments)}}()},le=function(e){return function(){var t=U(regeneratorRuntime.mark((function t(r,n){var o,i,a,c,u;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(o=n(),i=o.profile,a=i.favorites,c=i.smartMagazines,!(u=f.Z.isInCarouselFavorites(e,a,c))){t.next=5;break}return t.next=5,r(J(u));case 5:case"end":return t.stop()}}),t)})));return function(e,r){return t.apply(this,arguments)}}()},fe=function(e){return function(){var t=U(regeneratorRuntime.mark((function t(r,n,o){var i,a,c,s,l,f,p;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(i=o.flap,a=o.t,c=n(),s=c.profile.smartMagazines,l=(0,g.gH)(e,s)){t.next=5;break}return t.abrupt("return");case 5:return t.prev=5,t.next=8,i.post("/flipboard/deleteBoards",{boardId:l.boardId});case 8:return f=t.sent,p=f.data,r({type:S.VD.DELETE_SMART_MAGAZINE_SUCCESS,boardId:l.boardId}),r((0,I.toastShowInfoAction)(a("smart_magazine_delete_success",{smartMagazineTitle:l.title}))),r((0,R.TI)(e)),r(F()),t.abrupt("return",Promise.resolve(p));case 17:t.prev=17,t.t0=t.catch(5),u.Z.captureException(t.t0),r((0,I.toastShowErrorAction)(a("smart_magazine_delete_failure")));case 21:case"end":return t.stop()}}),t,null,[[5,17]])})));return function(e,r,n){return t.apply(this,arguments)}}()},pe=function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return function(){var n=U(regeneratorRuntime.mark((function n(o,i){var a;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,o(re((function(){var n=i(),o=(0,d.Um)(n).tocSections||[],c=n.profile.followingIds;a=(0,g.gH)(e,(0,d.yS)(n));var u=c.find((function(t){var r,n,o,i=s.ZP.normalizeRemoteid(t);if(s.ZP.normalizeRemoteid(null===(r=e.rootTopic)||void 0===r?void 0:r.remoteid)===i||s.ZP.normalizeRemoteid(e.remoteid)===i||s.ZP.normalizeRemoteid(null===(n=a)||void 0===n?void 0:n.remoteid)===i||s.ZP.normalizeRemoteid(null===(o=e.ssid)||void 0===o?void 0:o.remoteidPlain)===i||s.ZP.normalizeRemoteid(null==e?void 0:e.sectionID)===i)return t}));return{newTOCSections:o.filter((function(e){var t;return!(e.remoteid.includes(u)||null!==(t=e.ssid)&&void 0!==t&&t.remoteidPlain.includes(u))})),navFrom:t,viewedSection:r}})));case 2:if(!a){n.next=5;break}return n.next=5,o(fe(a));case 5:case"end":return n.stop()}}),n)})));return function(e,t){return n.apply(this,arguments)}}()},de=!1,me=function e(t){return function(){var r=U(regeneratorRuntime.mark((function r(n,o,i){var a,c,s,l,f;return regeneratorRuntime.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(a=i.flap,r.prev=1,!de){r.next=4;break}return r.abrupt("return",new Promise((function(r){setTimeout((function(){r(n(e(t)))}),10)})));case 4:return de=!0,r.next=7,t();case 7:if(c=r.sent){r.next=11;break}return de=!1,r.abrupt("return");case 11:return s=(0,d.GI)(o()),r.next=14,a.post("/social/putState",{data:JSON.stringify(c),revision:s,type:"user"});case 14:if(l=r.sent,null!=(f=l.data)&&f.success){r.next=18;break}throw new _.wq;case 18:return r.next=20,n(F());case 20:return de=!1,r.abrupt("return",c);case 24:throw r.prev=24,r.t0=r.catch(1),de=!1,u.Z.captureException(r.t0),r.t0;case 29:case"end":return r.stop()}}),r,null,[[1,24]])})));return function(e,t,n){return r.apply(this,arguments)}}()}},11967:function(e,t,r){"use strict";r.d(t,{q8:function(){return y},jq:function(){return A}});r(35666),r(43450),r(95342),r(49228),r(58188),r(73439),r(34769),r(34115),r(68625),r(1939),r(62775);var n=r(47741),o=r(80768),i=r(47573),a=r(6630),c=r(41712),u=r(30001),s=r(94670),l=r(46874),f=r(35616),p=r(83981);function d(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function m(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?d(Object(r),!0).forEach((function(t){v(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):d(Object(r)).forEac
1h((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function v(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function h(e,t,r,n,o,i,a){try{var c=e[i](a),u=c.value}catch(e){return void r(e)}c.done?t(u):Promise.resolve(u).then(n,o)}function _(e){return function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(e){h(i,n,o,a,c,"next",e)}function c(e){h(i,n,o,a,c,"throw",e)}a(void 0)}))}}var y=function(e){return function(){var t=_(regeneratorRuntime.mark((function t(r,i,a){var c,u,s,l;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return c=a.flap,t.prev=1,u={topicId:e},t.next=5,c.get("/flipboard/customizeBoard",{params:u});case 5:if(s=t.sent,!(l=s.data.groups)){t.next=9;break}return t.abrupt("return",l.map((function(t){return m({},t,{subsections:t.subsections.filter((function(t){return t.remoteid!==e})).map((function(e){return o.Z.getBasicProjectedSection(e)})).filter((function(e){return null!==e}))})})));case 9:t.next=14;break;case 11:t.prev=11,t.t0=t.catch(1),n.Z.captureException(t.t0);case 14:return t.abrupt("return",[]);case 15:case"end":return t.stop()}}),t,null,[[1,11]])})));return function(e,r,n){return t.apply(this,arguments)}}()},b=function(e){return function(){var t=_(regeneratorRuntime.mark((function t(r,o,i){var a,c,u,l,f;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return a=i.flap,t.prev=1,c={sectionid:e},t.next=5,a.get("/curator/magazineContributors",{params:c});case 5:if(u=t.sent,l=u.data){t.next=9;break}return t.abrupt("return");case 9:return f=l.contributors,t.abrupt("return",r((0,s.vX)({key:s.$n.MAGAZINE_CONTRIBUTORS,remoteId:(0,s.Iu)(e),value:f})));case 13:t.prev=13,t.t0=t.catch(1),n.Z.captureException(t.t0);case 16:case"end":return t.stop()}}),t,null,[[1,13]])})));return function(e,r,n){return t.apply(this,arguments)}}()},E=function(e){return function(){var t=_(regeneratorRuntime.mark((function t(r,n,i){var a,c,u,s,f,p,d;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return a=i.flap,c=[],t.prev=2,t.next=5,a.get("/social/recommendedMagazines",{params:{topics:e}});case 5:if(u=t.sent,s=u.data){t.next=9;break}return t.abrupt("return",c);case 9:if((f=s.results)&&0!==f.length){t.next=12;break}return t.abrupt("return",c);case 12:return p=f.map((function(e){return e.remoteid})),t.next=15,r((0,l.Fj)(p));case 15:if(t.t0=t.sent,t.t0){t.next=18;break}t.t0=c;case 18:return d=t.t0,t.abrupt("return",d.map((function(e){var t=o.Z.getBasicProjectedSection(e),r=f.find((function(t){return t.remoteid===e.sectionID}));return t&&(t.topics=r&&r.sections&&r.sections.filter((function(e){return"topic"===e.type})).map(o.Z.getBasicProjectedSection)),t})));case 22:return t.prev=22,t.t1=t.catch(2),t.abrupt("return",c);case 25:case"end":return t.stop()}}),t,null,[[2,22]])})));return function(e,r,n){return t.apply(this,arguments)}}()},g=function(e){return function(){var t=_(regeneratorRuntime.mark((function t(r){var n,o;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=i.ZP.getTopicTagFromRemoteid(e),t.next=3,r(E(n));case 3:o=t.sent,r((0,s.vX)({key:s.$n.TOPIC_RECOMMENDED_MAGAZINES,remoteId:e,value:o}));case 5:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()},O=function(e,t){return function(){var r=_(regeneratorRuntime.mark((function r(n,i,a){var f,d,m,v,h,_,y,b;return regeneratorRuntime.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return f=a.flap,d=(0,p.LW)(i()),r.next=4,(0,c.Z)(f,d,{sections:t,limit:10});case 4:if(m=r.sent,v=m.data.stream,h=v.filter((function(e){var t,r;return e.type===u.DG.SECTION&&(null===(t=e.section)||void 0===t?void 0:t.type)===u.aJ.LINK&&(null===(r=e.section)||void 0===r?void 0:r.feedType)===u.OV.MAGAZINE})),!(_=h.reduce((function(e,t){var r;return null!==(r=t.section)&&void 0!==r&&r.remoteid&&e.push(t.section.remoteid),e}),[])).length){r.next=17;break}return r.next=11,n((0,l.Fj)(_));case 11:if(r.t1=r.sent,r.t1){r.next=14;break}r.t1=[];case 14:r.t0=r.t1,r.next=18;break;case 17:r.t0=[];case 18:y=r.t0,b=y.map((function(e){var t,r=o.Z.getBasicProjectedSection(e),n=h.find((function(t){var r;return(null===(r=t.section)||void 0===r?void 0:r.remoteid)===e.sectionID}));if(r)return r.topics=null==n||null===(t=n.sectionLinks)||void 0===t?void 0:t.filter(o.Z.isTopic).map(o.Z.getBasicProjectedSection),r})),n((0,s.vX)({key:s.$n.TOPIC_RECOMMENDED_MAGAZINES,remoteId:e,value:b}));case 21:case"end":return r.stop()}}),r)})));return function(e,t,n){return r.apply(this,arguments)}}()},S=function(e,t){return function(){var r=_(regeneratorRuntime.mark((function r(n){var a,c,u,f;return regeneratorRuntime.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return a=t,t||(c=i.ZP.getTopicTagFromRemoteid(e),a="flipboard/storyboards%2F".concat(c)),r.next=4,n((0,l.Te)(a,8));case 4:u=r.sent,f=o.Z.getBasicProjectedSection(u),n((0,s.vX)({key:s.$n.TOPIC_STORYBOARDS,remoteId:e,value:[f]}));case 7:case"end":return r.stop()}}),r)})));return function(e){return r.apply(this,arguments)}}()},A=function(e){return function(){var t=_(regeneratorRuntime.mark((function t(r,n,o){var c,u,s,l,p,d,m,v,h,_,y,E,A;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(u=o.flapStatic,s=[],l=(0,f.yS)(n()),p=null==l?void 0:l.find((function(t){return i.ZP.isRemoteIdSectionMatch(e,t)})),d=(null==p||null===(c=p.rootTopic)||void 0===c?void 0:c.remoteid)||e,!i.ZP.isMagazineSectionId(d)){t.next=9;break}s.push(r(b(d))),t.next=24;break;case 9:if(!i.ZP.isTopicSectionId(d)){t.next=24;break}return t.prev=10,t.next=13,u.get("/topicRelatedMagazineAndStoryboardOverrides.json");case 13:v=t.sent,h=v.data,m=h,t.next=21;break;case 18:t.prev=18,t.t0=t.catch(10),m={};case 21:_=i.ZP.normalizeRemoteid(d),y=m[_]||{},E=y.magazinesRemoteId,A=y.storyboardsRemoteId,E&&A?(s.push(r(O(d,E))),s.push(r
1(S(d,A)))):(s.push(r(g(d))),s.push(r(S(d))));case 24:return t.abrupt("return",(0,a.F)(s));case 25:case"end":return t.stop()}}),t,null,[[10,18]])})));return function(e,r,n){return t.apply(this,arguments)}}()}},76119:function(e,t,r){"use strict";r.d(t,{ho:function(){return d},RQ:function(){return v},yC:function(){return h},DK:function(){return _}});r(35666),r(18178),r(58188),r(73439),r(34769),r(34115),r(95342),r(68625),r(1939),r(62775);var n=r(89644),o=r.n(n),i=r(77690),a=r(276),c=r(12933);function u(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function s(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?u(Object(r),!0).forEach((function(t){l(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):u(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function f(e,t,r,n,o,i,a){try{var c=e[i](a),u=c.value}catch(e){return void r(e)}c.done?t(u):Promise.resolve(u).then(n,o)}function p(e){return function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(e){f(i,n,o,a,c,"next",e)}function c(e){f(i,n,o,a,c,"throw",e)}a(void 0)}))}}var d={categories:"medium2",nostream:!0,usessid:!0},m=4e3,v=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return function(){var r=p(regeneratorRuntime.mark((function r(n,c,u){var l,f,p,v,h,_;return regeneratorRuntime.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return l=u.flap,r.prev=1,f=s({},d,{},e),r.next=5,l.get("/social/sectionSearch",{params:f,timeout:m});case 5:if(p=r.sent,null==(v=p.data)||!v.stream){r.next=11;break}if(!t){r.next=10;break}return r.abrupt("return",a.Z.topicsProjection(v.stream));case 10:return r.abrupt("return",a.Z.projection(v.stream));case 11:return r.abrupt("return",[]);case 14:return r.prev=14,r.t0=r.catch(1),o().isAxiosError(r.t0)&&r.t0.response?(i.ZP.error("failed to search for sections"),_=null===(h=r.t0.response)||void 0===h?void 0:h.data,i.ZP.error("Search Failure: ".concat(JSON.stringify(r.t0),", data: ").concat(_&&JSON.stringify(_)))):o().isAxiosError(r.t0)&&"ECONNABORTED"===r.t0.code&&i.ZP.error("Search timed out after ".concat(m,'ms for q="').concat(e.q,'"')),r.abrupt("return",[]);case 18:case"end":return r.stop()}}),r,null,[[1,14]])})));return function(e,t,n){return r.apply(this,arguments)}}()},h=function(e){return function(){var t=p(regeneratorRuntime.mark((function t(r){var n;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r({type:c.VS.SEARCH}),t.next=3,r(v({q:e}));case 3:n=t.sent,r({type:c.VS.SEARCH_SUCCEEDED,payload:n});case 5:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()},_=function(e){return v({q:e,see_more:"vertical"},!0)}},46874:function(e,t,r){"use strict";r.d(t,{a_:function(){return ce},If:function(){return ue},DO:function(){return fe},oe:function(){return pe},FA:function(){return ve},Up:function(){return _e},f1:function(){return ye},JG:function(){return Ee},TI:function(){return ge},kr:function(){return Oe},p2:function(){return Se},y_:function(){return Ae},UP:function(){return Re},TH:function(){return Ie},Fj:function(){return Pe},ZX:function(){return Ce},Te:function(){return we},ot:function(){return je}});r(35666),r(22144),r(1939),r(34769),r(43105),r(16781),r(43450),r(18178),r(58188),r(73439),r(49228),r(15735),r(6886),r(35883),r(32501),r(67890),r(21515),r(95342),r(34115),r(634),r(20796),r(28673),r(26936),r(27233),r(68625),r(62775);var n=r(45828),o=r(8260),i=r(12933),a=r(30001),c=r(77690),u=r(47741),s=r(47573),l=r(94532),f=r(80768),p=r(38255),d=r(39744),m=r(88164),v=r(97185),h=r(7010),_=r(60081),y=r(50592),b=r(41712),E=r(11826),g=r(6630),O=r(93780),S=r(83981),A=r(12960),T=r(20980),R=r(35616),I=r(41626),P=r(91853),C=r(23115),w=r(68460),j=r(74787),N=r(20255),L=r(61312),D=r(11967),x=r(55437),M=r(9906),Z=r(34688);function U(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function k(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
1t%2?U(Object(r),!0).forEach((function(t){F(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):U(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function F(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function G(e){return function(e){if(Array.isArray(e))return V(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||z(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function B(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var r=[],n=!0,o=!1,i=void 0;try{for(var a,c=e[Symbol.iterator]();!(n=(a=c.next()).done)&&(r.push(a.value),!t||r.length!==t);n=!0);}catch(e){o=!0,i=e}finally{try{n||null==c.return||c.return()}finally{if(o)throw i}}return r}(e,t)||z(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function z(e,t){if(e){if("string"==typeof e)return V(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?V(e,t):void 0}}function V(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function H(e,t,r,n,o,i,a){try{var c=e[i](a),u=c.value}catch(e){return void r(e)}c.done?t(u):Promise.resolve(u).then(n,o)}function q(e){return function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(e){H(i,n,o,a,c,"next",e)}function c(e){H(i,n,o,a,c,"throw",e)}a(void 0)}))}}var W=p.m,Y=p.m,K=Object.freeze({"flipboard/topic%2Ftravel":["sid/3r5o0kt93u02gsoo/tripsavvy","sid/pct6bqt4mftj3pcf/thetravel","sid/osnldehkjs1geol3/worldatlascom"],"flipboard/topic%2Ffood":["sid/qr9275hfve39in1t/fitmencook","sid/gd9bcpq5of38klr5/food","sid/6a2usvgje016o61g/jeremycheng2021"],"flipboard/topic%2Fphotography":["sid/aj540okun06a4gga/photographers","sid/7apg8iqbpr445r5q/photographers","sid/v1l98tbccbshad6u/photographers","sid/lbajbgtei3j0bma8/jeremycheng2021"],"flipboard/topic%2Fpersonalfinance":["sid/camdpd167g1taksp/kimberlypal2021","sid/5h28gufhve9e2a6j/financebuzz","sid/tofr9jspu2m8452c/wealthgang"]}),X=function(e,t,r){var n=t().app,o=n.isRSS,i=n.isAmp;
1if(s.ZP.isStoryboardSectionId(r))return Y;if(o)return W;if(e)return 24;var a=s.ZP.isMagazineSectionId(r);return i?a?13:12:a?7:6},$=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return function(){var r=q(regeneratorRuntime.mark((function r(n,o,a){var c,s,l,f,p,d,m;return regeneratorRuntime.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return c=a.flap,s=Array.isArray(e),l=s&&e.length>1,r.prev=3,f=(0,S.LW)(o()),Object.keys(t).forEach((function(e){(0,h.Z)(t[e])&&delete t[e]})),p=Object.assign({sections:s?e.join(","):e,limit:l?0:X(t.pageKey,o,e)},t),r.next=9,(0,b.Z)(c,f,p);case 9:return d=r.sent,r.abrupt("return",d);case 13:r.prev=13,r.t0=r.catch(3),M.Z.isAxiosError(r.t0)&&404!==(null===r.t0||void 0===r.t0||null===(m=r.t0.response)||void 0===m?void 0:m.status)&&u.Z.captureException(r.t0),n((0,I.Fg)(!0)),n({type:i.iL.GET_SECTION_FAILED,payload:{remoteIds:e}});case 18:case"end":return r.stop()}}),r,null,[[3,13]])})));return function(e,t,n){return r.apply(this,arguments)}}()},J=function(e,t,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,o={service:"flipboard",serviceUserid:t,userid:r,limit:30,pageKey:void 0};return n&&(o.pageKey=n),e.get("/social/followers/".concat(r),{params:o}).catch((function(e){c.ZP.error("failed to get profile section followers"),c.ZP.error(e)}))},Q=function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],n=arguments.length>3?arguments[3]:void 0;return function(o){var a=t.sections,c={section:t},u=a.map((function(e){if(l.Z.sectionIsNgl(r,e)){var t=l.Z.getConfig(r,e);return l.Z.convertSectionToStoryboard(e,t)}return e})).map((function(e){return v.Z.convertSectionToSectionItem(e)})),s={requestedRemoteId:e,remoteId:e,metadata:c,items:u,rawItems:a,magazines:[],ephemeral:!1,path:n};return o(oe(n)),o(ne(t)),o({type:i.iL.GET_SECTION_SUCCEEDED,payload:s})}},ee=function(e,t){return function(r){var n="No section found in response",o={responseData:e};c.ZP.error(n),u.Z.captureMessage(n,o),r({type:i.iL.GET_SECTION_FAILED,payload:{remoteId:t}}),u.Z.addBreadcrumb("handleNoSectionStatus"),r((0,I.Fg)(!0))}},te=function(e,t,r){return function(n){var o=e.stream,a=s.ZP.sectionEosMetadata(o),l="".concat(a.noItemStatus," ").concat(a.noItemsText),f={responseData:e};if(c.ZP[204===a.noItemStatus?"info":"error"](l),n({type:i.iL.GET_SECTION_FAILED,payload:{remoteId:r}}),t)switch(a.noItemStatus){case 403:case 410:u.Z.captureMessage(l,f),u.Z.addBreadcrumb("handleNoItemStatus 410"),n((0,I.Fg)(!0));break;case 404:u.Z.addBreadcrumb("handleNoItemStatus 404"),n((0,I.Fg)(!0));break;case 204:break;default:u.Z.captureMessage(l,f)}}},re=function(e,t){return function(r){var n=e.message,o={responseData:e};r({type:i.iL.GET_SECTION_FAILED,payload:{remoteId:t}}),u.Z.addBreadcrumb("handleErrorCodeResponse"),r((0,I.Fg)(!0));var a=n||"Failed to load section";c.ZP.error(a),u.Z.captureMessage(a,o)}},ne=function(e){return function(t,r){var n=f.Z.isStoryboard(e)&&(0,A.S0)(r())?a.SJ.DARK:a.SJ.DEFAULT;t((0,I.wl)(n))}},oe=function(e){return function(t){if("/"!==e){var r={section:!0};t((0,I.Td)(r)),t((0,I.Qw)(r)),t((0,I.Ub)(r)),t((0,I.NC)(r))}}},ie=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return function(){var t=q(regeneratorRuntime.mark((function t(r,n,o){var a,c,u,s;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(a=o.flapStatic,c=[],0!==e.length){t.next=17;break}return t.prev=3,t.next=6,a.get("/topicsDescription.json");case 6:u=t.sent,s=u.data,c=s.topics,r({type:i.iL.GET_TOPIC_DESCRIPTIONS_SUCCEEDED,payload:c}),t.next=15;break;case 12:t.prev=12,t.t0=t.catch(3),r({type:i.iL.GET_TOPIC_DESCRIPTIONS_FAILED});case 15:t.next=18;break;case 17:c=e;case 18:return t.abrupt("return",c);case 19:case"end":return t.stop()}}),t,null,[[3,12]])})));return function(e,r,n){return t.apply(this,arguments)}}()},ae=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;return function(){var r=q(regeneratorRuntime.mark((function r(n,o,i){var a,c,u,s,l,p;return regeneratorRuntime.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(a=i.flap,c=[],u=null,!f.Z.isProfile(e)){r.next=11;break}return s=(0,S.LW)(o()),r.next=7,J(a,e.userid,s,t);case 7:l=r.sent,(p=l&&l.data)&&p.items&&(c=p.items),u=p&&p.pageKey;case 11:return r.abrupt("return",{followers:c,followersNextPageKey:u});case 12:case"end":return r.stop()}}),r)})));return function(e,t,n){return r.apply(this,arguments)}}()},ce=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;return function(){var r=q(regeneratorRuntime.mark((function r(n){var o,a,c;return regeneratorRuntime.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n({type:i.iL.GET_SECTION_FOLLOWERS,payload:{remoteId:e.remoteid}}),r.prev=1,r.next=4,n(ae(e,t));case 4:o=r.sent,a=o.followers,c=o.followersNextPageKey,n({type:i.iL.GET_SECTION_FOLLOWERS_SUCCEEDED,payload:{remoteId:e.remoteid,followers:a,followersNextPageKey:c,isFirstPage:!t}}),r.next=13;break;case 10:r.prev=10,r.t0=r.catch(1),n({type:i.iL.GET_SECTION_FOLLOWERS_FAILED});case 13:case"end":return r.stop()}}),r,null,[[1,10]])})));return function(e){return r.apply(this,arguments)}}()},ue=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return function(){var r=q(regeneratorRuntime.mark((function r(n,o){var a,c,l,f,p,d,m,h,_,y,b,E,O,S,A,T,R;return regeneratorRuntime.wrap((function(r){for(;;
1)switch(r.prev=r.next){case 0:if(a=o(),c=a.content,l=a.app.routing.query,f=Object.assign({path:"/",forNavigation:!1,nglFeedConfigs:[],topicDescriptionsOverride:[],pageKey:void 0,previousRawItems:void 0,ephemeral:!0,noRenderableItemsRetries:0,extractItemsFromGroup:!1,preferMagazineContext:!1,excludeContext:!1,loadCommentary:!1,primarySectionForRoute:!1,definitelyRefresh:!1},t),p=f.path,d=f.nglFeedConfigs,m=f.pageKey,h=f.limit,_=f.noRenderableItemsRetries,(y=f.definitelyRefresh)&&n(ye(e)),!(_>3)){r.next=7;break}return u.Z.captureMessage("Hit section noRenderableItemsRetries limit!",{remoteId:e}),r.abrupt("return",n({type:i.iL.GET_SECTION_FAILED,payload:{remoteId:e}}));case 7:if(n({type:i.iL.GET_SECTION,payload:{remoteId:e}}),b=c&&c.contentGuide){r.next=13;break}return r.next=12,n((0,P.oC)());case 12:b=r.sent;case 13:if(!(E=v.Z.getFranchise(b,e))){r.next=16;break}return r.abrupt("return",n(Q(e,E,d,p)));case 16:return r.next=18,(0,g.F)([n($(e,{pageKey:m,limit:h,refresh:!m&&(y||l.refresh&&t.primarySectionForRoute)?"yes":void 0})),t.primarySectionForRoute?n((0,D.jq)(e)):Promise.resolve()]);case 18:if(O=r.sent,S=B(O,1),A=S[0]){r.next=23;break}return r.abrupt("return",n({type:i.iL.GET_SECTION_FAILED,payload:{remoteId:e}}));case 23:if(T=A.data,R=T&&T.code,!s.ZP.isAccessTokenExpired(T)){r.next=29;break}return r.abrupt("return",n({type:i.iL.GET_SECTION_UNAUTHORIZED}));case 29:if(!R||200===R){r.next=32;break}return u.Z.addBreadcrumb("getSection non-200"),r.abrupt("return",n(re(T,e)));case 32:if(T&&T.stream){r.next=34;break}return r.abrupt("return",n({type:i.iL.GET_SECTION_FAILED,payload:{remoteId:e}}));case 34:return r.next=36,n(se(T,e,f));case 36:return n(be()),r.abrupt("return",null);case 38:case"end":return r.stop()}}),r)})));return function(e,t){return r.apply(this,arguments)}}()},se=function(e,t,r){return function(){var n=q(regeneratorRuntime.mark((function n(a,c){var u,l,p,m,v,h,_,y,b,O,A,I,P,w,D,x,M,Z,U,F,B,z,V,H,W,Y,X,$,J,Q,re,ce,se,fe,pe,de,me,ve,he,ye,be,Ee,ge;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(l=e.stream,p=r.path,m=r.forNavigation,v=r.nglFeedConfigs,h=r.topicDescriptionsOverride,_=r.pageKey,y=r.previousRawItems,b=r.ephemeral,O=r.noRenderableItemsRetries,A=r.extractItemsFromGroup,I=r.preferMagazineContext,P=r.excludeContext,w=r.primarySectionForRoute,D=s.ZP.nextPageKeyFromStream(l),s.ZP.noItemStatus(l)&&a(te(e,w,t)),x=s.ZP.getSectionFromStream(l,v),M=s.ZP.getSubTopicsFromStream(l)||[],Z=(0,R.Um)(c()),U=c(),!(U.featureFlags.TOPIC_VERTICAL_SUBSECTIONS&&w&&t in K)){n.next=16;break}return n.next=11,a(Pe(K[t]));case 11:if(n.t0=n.sent,n.t0){n.next=14;break}n.t0=[];case 14:F=n.t0,M.push.apply(M,G(F.map(f.Z.getBasicProjectedSection)));case 16:if(B=l.find((function(e){return"sidebar"===e.type}))||{},x){n.next=19;break}return n.abrupt("return",a(ee(e,t)));case 19:if((z=B&&B.groups&&Array.isArray(B.groups)&&B.groups[0]&&B.groups[0].metrics)&&(x.metrics=z),V=s.ZP.neverLoadMore(l),H=[],A?(W=l.find((function(e){return(0,d.ty)(e)})),H=W&&W.items||[]):H=s.ZP.sectionRawItemsFromStream(l,y),V){n.next=30;break}if(Y=s.ZP.getFlatItems(H,void 0).some((function(e){return f.Z.isItemRenderable(x,e,Z)})),X=s.ZP.isFirstPageGroup(_,H),Y&&!X){n.next=30;break}if(!D){n.next=30;break}return n.abrupt("return",a(ue(t,k({},r,{pageKey:D,previousRawItems:H,limit:24,noRenderableItemsRetries:O+1}))));case 30:return $=s.ZP.nglProcessedRawItems(H,x,v),J=s.ZP.getMagazinesFromStream(l),Q=[],w?(Q.push(a(ae(x))),f.Z.isTopic(x)&&Q.push(a(ie(h))),f.Z.isSmartMagazine(x)&&Q.push(a((0,C.v7)())),f.Z.hasVideos(x)&&Q.push(a((0,C.k0)(x.userid))),f.Z.hasStoryboards(x)&&Q.push(a(_e(x.authorUsername,p)))):Q.push(Promise.resolve({})),n.next=36,(0,g.F)(Q);case 36:return re=n.sent,ce=re[0],se=ce.followers,fe=ce.followersNextPageKey,m&&a(ne(x)),pe=x&&f.Z.isSmartMagazine(x)&&f.Z.getRootTopic(x,(0,R.yS)(c())),de=null===(u=s.ZP.getSectionByRemoteId(t,c().sections.entries))||void 0===u?void 0:u.requestedRemoteId,n.next=43,a({type:i.iL.GET_SECTION_SUCCEEDED,payload:{nextPageKey:D,requestedRemoteId:de||t,remoteId:x.remoteid||t,metadata:{section:x},items:$,rawItems:H,magazines:J,followers:se,followersNextPageKey:fe,neverLoadMore:V,isLikesSection:s.ZP.profileLikesRemoteId("")===t,isFirstPage:!_,ephemeral:b,preferMagazineContext:I,excludeContext:P,primarySectionForRoute:w,subSections:M,rootTopic:pe}});case 43:if(me=(0,S.$8)(c()),ve=(0,T.Pr)(c()),he=[],!f.Z.isStoryboard(x)){n.next=54;break}if(ye=$.find((function(e){return"sectionCover"===e.type})),be=f.Z.getAuthor(ve,ye),!(Ee=be.remoteid||be.authorUsername&&(0,E.YR)({username:be.authorUsername}
1))){n.next=53;break}return n.next=53,a(ue(Ee));case 53:w&&!me&&ye&&(he.push(a(_e((ye||ve).authorUsername,p))),he.push.apply(he,G(a((0,j.w2)(t,ye)))),he.push(a((0,j.Wb)(t,ye))));case 54:return w&&ve.isMagazine&&(0===Object.entries(null==ve?void 0:ve.metrics).length&&he.push(a(le(ve))),he.push(a((0,j.y$)(t,ve,p))),he.push(a((0,j.sP)(t,ve,ve.author)))),w&&(ve.isTopic||pe)&&(ge=function(e,t,r){return function(){var n=q(regeneratorRuntime.mark((function n(o){var a,c;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,o((0,N.S8)(r||t,20,!1));case 2:if(!((a=n.sent)&&a.length>0)){n.next=8;break}return o({type:i.iL.SET_TOPICS_FOR_SECTION,payload:{remoteId:e,topics:a}}),c=a.slice(0,3),n.next=8,(0,g.F)(o((0,j.w2)(e,t,c)));case 8:case"end":return n.stop()}}),n)})));return function(e){return n.apply(this,arguments)}}()},he.push(a(ge(t,ve,pe)))),n.next=58,(0,g.F)(he);case 58:o.Z.isServer()||a((0,L.oY)()),m&&a(oe(p));case 60:case"end":return n.stop()}}),n)})));return function(e,t){return n.apply(this,arguments)}}()},le=function(e){return function(){var t=q(regeneratorRuntime.mark((function t(r,n,o){var c,u,s,l,f,p,d,m;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(c=o.flap,u=(0,S.LW)(n()),s=e.items,l=e.remoteid,null==(f=s.find((function(e){return e.type===a.qG.SECTION_COVER})))||!f.id){t.next=11;break}return t.next=7,c.get("/social/activity",{params:{oid:[f.id],userid:u}});case 7:p=t.sent,d=p.data,m=d.items.find((function(e){return e.metrics})),r({type:i.iL.SET_METRICS,payload:{remoteid:l,metrics:m}});case 11:case"end":return t.stop()}}),t)})));return function(e,r,n){return t.apply(this,arguments)}}()},fe=function(e,t,r){return function(){var n=q(regeneratorRuntime.mark((function n(o,a,c){var u,l,f,p,d,m;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return u=c.flap,l=c.t,f={target:r.magazineTarget,inviteToken:r.inviteToken},n.prev=2,n.next=5,u.post("/curator/acceptContributorInvite",f);case 5:if(!(p=n.sent)||!p.data||200!=p.data.code){n.next=13;break}return o({type:i.iL.ACCEPT_CONTRIBUTOR_INVITE_SUCCESS,payload:{remoteId:t.remoteid}}),n.next=10,o(ue(e,{primarySectionForRoute:!0}));case 10:return n.next=12,o((0,C.CS)());case 12:o((0,x.E1)(!1));case 13:n.next=26;break;case 15:if(n.prev=15,n.t0=n.catch(2),(d=n.t0).errorcode!==s.ZP.responseCodes.INVITE_VALIDATION_ERROR){n.next=22;break}throw m={validationErrors:d.validationErrors},o({type:i.j_.SET_INVITE_VALIDATION_ERRORS,payload:m}),new Z.v0;case 22:throw o({type:i.iL.ACCEPT_CONTRIBUTOR_INVITE_FAILED}),o((0,x.E1)(!1)),o((0,w.toastShowErrorAction)(l("accept_contributor_invite_failure"))),new Error("Accept Contributor Invite Failed");case 26:case"end":return n.stop()}}),n,null,[[2,15]])})));return function(e,t,r){return n.apply(this,arguments)}}()},pe=function(){return function(e,t){var r=t().magazineInvite.validationErrors,n=r&&Object.values(r).join("  ");e(n?(0,w.toastShowErrorAction)(n):(0,w.toastGenericError)())}},de=[],me=m.Z.create((function(e,t){e(he(t)).finally((function(){de=[]}))}),100),ve=function(e){return function(t){de.push(e),me(t,de)}},he=function(e){return function(){var t=q(regeneratorRuntime.mark((function t(r,n,o){var a,c,u,l,f,p,d;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return a=o.flap,t.prev=1,t.next=4,a.get("users/sectionCover/".concat((0,S.LW)(n())),{params:{sections:e.join(",")}});case 4:for(c=t.sent,u=c.data,l={},f=0,p=Object.keys(u.result);f<p.length;f++)d=p[f],l[s.ZP.normalizeRemoteid(d)]=u.result[d];r({type:i.iL.GET_SECTION_COVERS_SUCCESS,sectionCovers:l}),t.next=14;break;case 11:t.prev=11,t.t0=t.catch(1),r({type:i.iL.GET_SECTION_COVERS_FAILED});case 14:case"end":return t.stop()}}),t,null,[[1,11]])})));return function(e,r,n){return t.apply(this,arguments)}}()},_e=function(e,t){return function(){var r=q(regeneratorRuntime.mark((function r(n){var o,i,a,c;return regeneratorRuntime.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,n($("flipboard/username/".concat(e),{limit:1}));case 2:return o=r.sent,i=o.data,a=s.ZP.getSectionFromStream(i.stream),c=a.userid,r.next=8,n(ue(s.ZP.getUserStoryboardSectionId(c),{path:t}));case 8:case"end":return r.stop()}}),r)})));return function(e){return r.apply(this,arguments)}}()},ye=function(e){return{type:i.iL.PURGE_SECTION,remoteId:e}},be=function(){return function(e,t){t().sections.entries.filter((function(e){return e.ephemeral})).sort((function(e,t){return e.accessedAt>t.accessedAt?0:1}
1)).slice(10).forEach((function(t){e(ye(t.remoteid))}))}},Ee=function(){return ge({remoteid:n.Z.FOR_YOU_FEED_REMOTE_ID})},ge=function(e){return function(t){var r,n;(t({type:i.iL.SET_SECTION_STALE,payload:{remoteId:e.remoteid}}),e.isSmartMagazine&&null!==(r=e.rootTopic)&&void 0!==r&&r.remoteid)&&t({type:i.iL.SET_SECTION_STALE,payload:{remoteId:null===(n=e.rootTopic)||void 0===n?void 0:n.remoteid}})}},Oe=function(e){return{type:i.iL.SET_ACCESSED_AT,remoteid:e.remoteid}},Se=function(e){return function(){var t=q(regeneratorRuntime.mark((function t(r,n){var o;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!(o=(0,S.$8)(n()))||!(0,A.kp)(n())){t.next=4;break}return t.next=4,r(Ae());case 4:o||(0,_.D_)(e);case 5:case"end":return t.stop()}}),t)})));return function(e,r){return t.apply(this,arguments)}}()},Ae=function(){return function(){var e=q(regeneratorRuntime.mark((function e(t){var r,n,o;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(e.prev=0,r=(0,_.pL)()){e.next=4;break}return e.abrupt("return",t((0,P.pl)([])));case 4:return e.next=6,(0,g.F)(r.map(function(){var e=q(regeneratorRuntime.mark((function e(r){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t(Te(r));case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()));case 6:return n=e.sent,o=(0,y.a)(n).slice(0,6),e.abrupt("return",t((0,P.pl)(o)));case 11:return e.prev=11,e.t0=e.catch(0),u.Z.captureException(e.t0),e.abrupt("return",t((0,P.pl)([])));case 15:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}()},Te=function(e){return function(){var t=q(regeneratorRuntime.mark((function t(r){var n;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(n=[],e.isTopic&&e.searchRelated||n.push(e),!e.searchRelated||!e.isTopic&&!e.isMagazine){t.next=11;break}return t.t0=n.push,t.t1=n,t.t2=G,t.next=8,r((0,N.S8)(e,3));case 8:t.t3=t.sent,t.t4=(0,t.t2)(t.t3),t.t0.apply.call(t.t0,t.t1,t.t4);case 11:return t.abrupt("return",n);case 12:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()},Re=function(e){return function(t,r){var n=r(),o=n.app,i=o.routing.url,a=o.nglFeedConfigs,c=n.sections.topicDescriptions,u=e.nextPageKey,s=e.rawItems,l=decodeURIComponent(e.remoteid);return t(ue(l,{path:i,forNavigation:!0,pageKey:u||void 0,nglFeedConfigs:a,topicDescriptions:c,previousRawItems:s,loadCommentary:!0}))}},Ie=function(e,t){return{type:i.iL.SET_SECTION_EPHEMERAL,payload:{remoteId:e,isEphemeral:t}}},Pe=function(e){return function(){var t=q(regeneratorRuntime.mark((function t(r,n){var o,i,a;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,r($(e,{limit:1}));case 3:if(o=t.sent){t.next=6;break}return t.abrupt("return",null);case 6:return i=o.data,a=s.ZP.getBasicSectionsFromStream(i.stream),t.abrupt("return",a);case 11:return t.prev=11,t.t0=t.catch(0),t.abrupt("return",null);case 14:case"end":return t.stop()}}),t,null,[[0,11]])})));return function(e,r){return t.apply(this,arguments)}}()},Ce=function(e){return function(){var t=q(regeneratorRuntime.mark((function t(r){var n;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,r(Pe([e]));case 2:return n=t.sent,t.abrupt("return",n?f.Z.getBasicProjectedSection(n[0]):null);case 4:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()},we=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return function(){var r=q(regeneratorRuntime.mark((function r(n,o){var i,a,c,u;return regeneratorRuntime.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.prev=0,r.next=3,n($(e,{limit:t}));case 3:if(i=r.sent){r.next=6;break}return r.abrupt("return",null);case 6:if(a=i.data,c=s.ZP.getBasicSectionsFromStream(a.stream),u=s.ZP.sectionRawItemsFromStream(a.stream),!(c.length>0)){r.next=11;break}return r.abrupt("return",k({},c[0],{items:u.map((function(e){return(0,d.CJ)(e)}))}));case 11:return r.abrupt("return",null);case 14:return r.prev=14,r.t0=r.catch(0),r.abrupt("return",null);case 17:case"end":return r.stop()}}),r,null,[[0,14]])}
1)));return function(e,t){return r.apply(this,arguments)}}()},je=function(e,t){return function(){var r=q(regeneratorRuntime.mark((function r(n,o,i){var a,c,s,l,p;return regeneratorRuntime.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return a=i.flap,c={sectionid:e.remoteid,title:e.title},t&&(s=f.Z.image(e),c.imageURL=(0,O.sQ)(s),c.createAction="inviteToContribute"),r.prev=3,r.next=6,a.post("/social/shortenSection",c);case 6:if(l=r.sent,!(p=l.data)||!p.result){r.next=10;break}return r.abrupt("return",p.result);case 10:return r.abrupt("return","");case 13:return r.prev=13,r.t0=r.catch(3),u.Z.captureMessage("Error shortening section"),u.Z.captureException(r.t0),r.abrupt("return","");case 18:case"end":return r.stop()}}),r,null,[[3,13]])})));return function(e,t,n){return r.apply(this,arguments)}}()}},39768:function(e,t,r){"use strict";r.d(t,{YI:function(){return m},$0:function(){return v},ID:function(){return h},UJ:function(){return _},Ih:function(){return y},Of:function(){return b}});r(43105),r(95342),r(58188),r(73439),r(35666);var n=r(12933),o=r(75875),i=r(68460),a=r(21681),c=r(23115),u=r(61312),s=r(35616),l=r(22749),f=r(34688);function p(e,t,r,n,o,i,a){try{var c=e[i](a),u=c.value}catch(e){return void r(e)}c.done?t(u):Promise.resolve(u).then(n,o)}function d(e){return function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(e){p(i,n,o,a,c,"next",e)}function c(e){p(i,n,o,a,c,"throw",e)}a(void 0)}))}}var m=function(e,t,r){var o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:void 0;return function(){var c=d(regeneratorRuntime.mark((function c(s,p,d){var m,v,h,_;return regeneratorRuntime.wrap((function(c){for(;;)switch(c.prev=c.next){case 0:if(m=d.flap,v=d.t,c.prev=1,e){c.next=4;break}return c.abrupt("return",null);case 4:return s({type:n.yi.LIKE_ITEM_PENDING,payload:{flipboardSocialId:e.flipboardSocialId}}),h={oid:e.flipboardSocialId,url:e.sourceURL,service:e.service,sectionid:r&&r.sectionID,remoteServiceItemID:e.remoteServiceItemID,userid:t},s({type:n.yi.LIKE_ITEM}),o&&s((0,a.F$)(l.f2.ITEM_LIKE,o)),c.next=10,m.post("/social/like",{},{params:h});case 10:if(_=c.sent,_.data.success){c.next=14;break}throw new f.ey;case 14:s({type:n.yi.LIKE_ITEM_SUCCEEDED,payload:{flipboardSocialId:e.flipboardSocialId}}),s((0,a.Ok)(e,r)),s((0,u.BN)(e)),c.next=23;break;case 19:c.prev=19,c.t0=c.catch(1),s({type:n.yi.LIKE_ITEM_FAILED,payload:{flipboardSocialId:e.flipboardSocialId}}),s((0,i.toastShowErrorAction)(v("like_item_failure",{itemTitle:e.title})));case 23:case"end":return c.stop()}}),c,null,[[1,19]])})));return function(e,t,r){return c.apply(this,arguments)}}()},v=function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;return function(){var c=d(regeneratorRuntime.mark((function c(s,p,d){var m,v,h,_;return regeneratorRuntime.wrap((function(c){for(;;)switch(c.prev=c.next){case 0:if(m=d.flap,v=d.t,c.prev=1,e){c.next=4;break}return c.abrupt("return",null);case 4:return s({type:n.yi.UNLIKE_ITEM_PENDING,payload:{flipboardSocialId:e.flipboardSocialId}}),h={oid:e.flipboardSocialId,service:e.service,userid:t},s({type:n.yi.UNLIKE_ITEM}),o&&s((0,a.F$)(l.f2.ITEM_UNLIKE,o)),c.next=10,m.post("/social/unlike",{},{params:h});case 10:if(_=c.sent,_.data.success){c.next=14;break}throw new f.ey;case 14:s({type:n.yi.UNLIKE_ITEM_SUCCEEDED,payload:{flipboardSocialId:e.flipboardSocialId}}),s((0,a.Cw)(e,r)),s((0,u.BN)(e)),c.next=23;break;case 19:c.prev=19,c.t0=c.catch(1),s({type:n.yi.UNLIKE_ITEM_FAILED,payload:{flipboardSocialId:e.flipboardSocialId}}),s((0,i.toastShowErrorAction)(v("unlike_item_failure",{itemTitle:e.title})));case 23:case"end":return c.stop()}}),c,null,[[1,19]])})));return function(e,t,r){return c.apply(this,arguments)}}()},h=function(e,t){return function(){var r=d(regeneratorRuntime.mark((function r(o,a,c){var u,s,l,f;return regeneratorRuntime.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return u=c.flap,s=c.t,l=t?"/flipboard/positivePreferences":"/flipboard/negativePreferences",f=t?"show_more_contents":"show_less_contents",r.prev=3,o({type:n.US.LESS_LIKE_ITEM}),r.next=7,u.post(l,e);case 7:o({type:n.US.LESS_LIKE_ITEM_SUCCEEDED}),o((0,i.toastShowInfoAction)(s(f,{label:e.title}))),r.next=16;break;case 11:throw r.prev=11,r.t0=r.catch(3),o({type:n.US.LESS_LIKE_ITEM_FAILED}),o((0,i.toastGenericError)()),r.t0;case 16:case"end":return r.stop()}}),r,null,[[3,11]])})));return function(e,t,n){return r.apply(this,arguments)}}()},_=function(e){return function(){var t=d(regeneratorRuntime.mark((function t(r,o,a){var u,l,f;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return u=a.t,t.prev=1,l=e.sourceDomains,f=e.authors,t.next=5,r((0,c.II)((function(){var e,t=o(),a=(0,s.Um)(t);if(null!=a&&a.mutedSourceDomains){var c=[];for(var p in l)!0===l[p]&&c.push(p);e=Object.assign({},a,{mutedSourceDomains:c})}if(null!=a&&a.mutedAuthors){var d=f.filter((function(e){return!0===e.isCurrentlyUnsubscribed}));e=Object.assign({},e,{mutedAuthors:d})}return r({type:n.US.UPDATE_MUTED_CONTENTS,newState:e}),r((0,i.toastShowInfoAction)(u("content_options_update_success"))),e}
1)));case 5:t.next=11;break;case 7:t.prev=7,t.t0=t.catch(1),r({type:n.US.UPDATE_MUTE_ITEM_FAILED}),r((0,i.toastShowErrorAction)(u("Failed to update content options")));case 11:case"end":return t.stop()}}),t,null,[[1,7]])})));return function(e,r,n){return t.apply(this,arguments)}}()},y=(0,o.t8)(n.yi.ADD_POST_ONBOARDING_SOCIAL_ACTION,"postOnboardingSocialAction"),b=function(){return y({})}},68460:function(e,t,r){"use strict";r.r(t),r.d(t,{toastShowInfoAction:function(){return i},toastShowErrorAction:function(){return a},toastGenericError:function(){return c},toastDismiss:function(){return u}});var n=r(12933),o=function(e){return"string"==typeof e?{message:e}:e},i=function(e){return{type:n.NN.SHOW_INFO,props:o(e)}},a=function(e){return{type:n.NN.SHOW_ERROR,props:o(e)}},c=function(){return function(e,t,r){var n=r.t;e(a(n("fallback_error_message")))}},u=function(){return{type:n.NN.DISMISS}}},21681:function(e,t,r){"use strict";r.d(t,{oP:function(){return A},AQ:function(){return T},nK:function(){return P},Dj:function(){return N},SJ:function(){return x},y$:function(){return M},F$:function(){return Z},$V:function(){return k},b6:function(){return F},AK:function(){return W},eG:function(){return J},eA:function(){return Q},z:function(){return ee},J2:function(){return te},y2:function(){return re},uI:function(){return ne},ck:function(){return oe},cz:function(){return ie},kp:function(){return ae},Ok:function(){return ce},Cw:function(){return ue},cb:function(){return se},P2:function(){return fe},Jk:function(){return pe},Q0:function(){return de},ZJ:function(){return me},_B:function(){return ve},n9:function(){return he},Xt:function(){return _e},Gt:function(){return be},n_:function(){return Ee},oH:function(){return ge},U:function(){return Oe},LL:function(){return Se},gZ:function(){return Ae},eZ:function(){return Te},l5:function(){return Re},A8:function(){return Ie},Ez:function(){return Pe},EP:function(){return Ce},FB:function(){return we},F9:function(){return Ne},s8:function(){return Le},G7:function(){return De},Bc:function(){return Me},Gz:function(){return Ze},x8:function(){return Ue},u7:function(){return ke},V:function(){return Fe},LS:function(){return Ge},Nh:function(){return Be},rg:function(){return ze},cX:function(){return Ve},o5:function(){return He},VV:function(){return qe},qs:function(){return We},Wk:function(){return Ye},Wl:function(){return Ke},xS:function(){return Xe},AW:function(){return Qe},lH:function(){return et},r6:function(){return tt},GD:function(){return rt},RP:function(){return nt},Kj:function(){return ot},Xm:function(){return it},kX:function(){return at},UU:function(){return ct},ec:function(){return ut},o3:function(){return st},O7:function(){return lt},eg:function(){return ft},hw:function(){return pt},QD:function(){return dt},Oz:function(){return mt},X5:function(){return vt},QY:function(){return ht},Jf:function(){return _t},lB:function(){return yt},jm:function(){return bt},al:function(){return gt},wS:function(){return Ot},PJ:function(){return St},CX:function(){return At},NQ:function(){return Tt},vo:function(){return Rt},Sk:function(){return It},lT:function(){return Pt},hy:function(){return Ct},k6:function(){return wt},iJ:function(){return jt},_T:function(){return Nt},Hk:function(){return Lt},WP:function(){return Dt},ES:function(){return xt},U3:function(){return Mt},RL:function(){return Zt},xX:function(){return Ut},tx:function(){return kt},eb:function(){return Ft},$I:function(){return Gt},YX:function(){return Bt}});r(18178),r(16781),r(43450),r(43105),r(58188),r(73439),r(1939),r(77950),r(74069),r(39529),r(34769),r(34115),r(95342),r(68625),r(62775),r(35666);var n=r(12933),o=r(75875),i=r(7799),a=r(61807),c=r(77703),u=r(8260),s=r(43734),l=r(21112),f=r(77690),p=r(45828),d=r(53122),m=r(47741),v=r(22749),h=r(34688),_=r(31298);function y(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function b(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
1t%2?y(Object(r),!0).forEach((function(t){E(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):y(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function E(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function g(e,t,r,n,o,i,a){try{var c=e[i](a),u=c.value}catch(e){return void r(e)}c.done?t(u):Promise.resolve(u).then(n,o)}function O(e){return function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(e){g(i,n,o,a,c,"next",e)}function c(e){g(i,n,o,a,c,"throw",e)}a(void 0)}))}}var S=function(e,t){return t.usage.navFrom[e]},A=function(e){return(0,o.t8)(n.cp.USAGE_SET_MOBILE_GATE_ARTICLE,"mobileGateArticle",e)},T=function(e){return(0,o.t8)(n.cp.USAGE_SET_MOBILE_GATE_SECTION,"mobileGateSection",e)},R=function(e){return{type:n.cp.USAGE_ENQUEUE_EVENT,payload:{event:e}}},I=function(e){var t,r=e.profile,n=e.app;return(0,_.hN)(e)?v.PQ.HOME:n.isFromInvitation?v.PQ.INVITATION:null!=r&&null!==(t=r.userInfo)&&void 0!==t&&t.frictionless&&n.isFromConfirmation?v.PQ.EMAIL_CONFIRMATION:void 0},P=function(e,t){return function(){var r=O(regeneratorRuntime.mark((function r(n,o){var i,a,c;return regeneratorRuntime.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return i=o(),a=i.app.isIntegration,r.next=3,e();case 3:if(c=r.sent,!t||a){r.next=10;break}return r.next=7,(0,v.Qd)(c);case 7:return c=r.sent,r.next=10,t(c);case 10:n(U(c));case 11:case"end":return r.stop()}}),r)})));return function(e,t){return r.apply(this,arguments)}}()},C=function(e){var t=e.usage,r=t.session,n=t.enableExperiments,o=e.app,u=o.viewportType,l=o.locale,f=o.seoExperiments,d=o.experiments,m=o.isIntegration,v={uid:e.auth.uid,appmode:c.ZP.getUsageAppMode(u),locale:l,win_size:(0,i.Z)()&&"".concat((0,i.Z)().innerWidth||0,"x").concat((0,i.Z)().innerHeight||0)};if(m||(v.time=Math.round(Date.now()),v.time_offset=-(new Date).getTimezoneOffset(),v.git_version=a.L,v.app_version=p.Z.VERSION),r&&(v.unique_id=r.unique_id,v.session_id=r.session_id),m||!n)return v;var h=s.Z.experimentsForTracking(d);return h&&(v.ab_tests=h),f&&(v.variant=f.map((function(e){var t=e.experiment,r=e.group;return"ab_seo_".concat(t,"_").concat(r)})).join(",")),v},w=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return function(){var r=O(regeneratorRuntime.mark((function r(o,i){var a,c,s,l,f,p,d;return regeneratorRuntime.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return a=i(),c=a.usage,s=c.flurl,l=c.referrer,f=e,(p=function(e,t){t&&f&&f.event_data&&(f=Object.assign({},f,{event_data:b({},f.event_data,E({},e,t))}))})("refer_url",l),p("flurl",s),r.next=7,(0,v.xD)(f,t,v.Qr.WEB);case 7:return d=r.sent,u.Z.isDevelopment&&d&&200===d.status&&d.data&&d.data.result&&1===d.data.result&&o({type:n.cp.USAGE_DEVELOPMENT_EVENT_LOG,payload:f}),r.abrupt("return",d);case 10:case"end":return r.stop()}}),r)})));return function(e,t){return r.apply(this,arguments)}}()},j=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return function(r,n){var o=C(n()),i=Object.assign({},e,{properties:o});return r(w(i,t))}},N=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return function(){var r=O(regeneratorRuntime.mark((function r(n,o){var i,a,c;return regeneratorRuntime.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(i=o(),a=i.app.isFromCrawler,c=i.usage.trackingEnabled,!a){r.next=4;break}return u.Z.isDevelopment&&f.ZP.info("Not sending usage event for crawler",e),r.abrupt("return");case 4:if(!c&&!u.Z.isServer()){r.next=6;break}return r.abrupt("return",n(j(e,t)));case 6:return n(R(e)),r.prev=7,r.next=10,n(L);case 10:r.next=15;break;case 12:r.prev=12,r.t0=r.catch(7),r.t0 instanceof Error&&m.Z.captureException(r.t0);case 15:return r.abrupt("return");case 16:case"end":return r.stop()}}),r,null,[[7,12]])})));return function(e,t){return r.apply(this,arguments)}}()},L=function(e,t){var r=0;return new Promise((function(e,n){var o=(0,i.Z)().setInterval((function(){var a=t().usage,c=a.trackingEnabled,u=a.eventQueue,s=c&&0===u.length;if(s||++r>500)return(0,i.Z)().clearInterval(o),s?e(!0):n(new h.wi)}),10)}))},D=(0,o.t8)(n.cp.USAGE_SET_PROD_TYPE,"prodType"),x=(0,o.t8)(n.cp.USAGE_SET_REFERRER,"referrer"),M=function(){return function(e,t){e((0,o.t8)(n.cp.USAGE_ENABLE_TRACKING,"trackingEnabled",!0)),t().usage.eventQueue.forEach((function(t){return e(j(t))})),e((0,o.dt)(n.cp.USAGE_EMPTY_QUEUE))}},Z=function(e,t){return{type:n.cp.USAGE_SET_NAV_FROM,payload:{eventName:e,value:t}}},U=(0,o.t8)(n.cp.USAGE_SET_SESSION,"session"),k=function(e,t){return function(r){e.match(/^\/video-player/)?r(
1D(v.Qr.SAMSUNG_DAILY)):e.match(/\/widget$/)&&r(D(v.Qr.WIDGET));var n={url:e};return t&&(n.type=t),r(N({event_action:"enter",event_category:"app",event_data:n}))}},F=function(e){return function(t){return t(N({event_action:"web_vitals",event_category:"performance",event_data:e}))}},G=function(e){return function(t){if(e!==v.f2.DISPLAY_MOBILE_GATE)return t(Z(e,null))}},B=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return function(r){var n=e.event_data;!(n&&n.nav_from)&&(0,l.Ip)(t)&&(e.event_data.nav_from=v.rf.BACKTRACKING);var o=(0,l.Jn)(t);return o&&(e.event_data.refer_url=o),r(N(e))}},z=(0,o.t8)(n.cp.USAGE_SET_SECTION_HEARTBEAT,"sectionHeartbeat"),V=function(e){return function(t){t(z({section:e,start:(new Date).getTime(),tap_count:0,number_items:0})),t(K())}},H=(0,o.t8)(n.cp.USAGE_SET_SECTION_HEARTBEAT_TIMER_ID,"sectionHeartbeatTimerId"),q=function(e){return function(){return function(t,r){var i=r().usage.sectionHeartbeat;if(i){var a=i[e]+1;t(function(e,t){return function(r,i){var a=b({},i().usage.sectionHeartbeat,E({},e,t));r((0,o.t8)(n.cp.USAGE_UPDATE_SECTION_HEARTBEAT,"sectionHeartbeat",a))}}(e,a))}}}},W=q("number_items"),Y=q("tap_count"),K=function e(){return function(t,r){var n=r().usage,o=n.sectionHeartbeat,a=n.sectionHeartbeatTimerId;(0,i.Z)().clearTimeout(a);var c=(0,i.Z)().setTimeout((function(){t(X(o))?t(V(o.section)):t(e())}),v.zK);t(H(c))}},X=function(e){return function(t,r){if(!e)return!1;var n=e.tap_count,o=e.number_items,i=e.section,a=e.start;if(0===n&&0===o)return!1;var c=(new Date).getTime()-a,u=(0,v.yT)(i,{tap_count:n,number_items:o,time_spent:c}
1),s=S(v.f2.SECTION_HEARTBEAT,r());return s&&(u.nav_from=s),t(N({event_action:"heartbeat",event_category:"section",event_data:u}))}},$=function(){return(0,o.t8)(n.cp.USAGE_UPDATE_SECTION_DISPLAYED_ITEMS,"sectionDisplayedItems",{})},J=function(e){return function(t,r){var i,a=r().usage,c=a.sectionHeartbeat,u=a.navFromSection,s=a.sectionDisplayedItems;if(!s[e.id])return t((i=b({},s,E({},e.id,!0)),(0,o.t8)(n.cp.USAGE_UPDATE_SECTION_DISPLAYED_ITEMS,"sectionDisplayedItems",i))),t(N({event_category:"section",event_action:"display_item",event_data:b({},(0,v.zm)(u,e),{ssid:(0,v.bU)(null==c?void 0:c.section),section_id:(0,v.oM)(null==c?void 0:c.section)})}))}},Q=function(e,t){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return function(n,o){if(e){var a=r?Object.assign((0,v.yT)(e),{section_id:e.remoteid}):(0,v.yT)(e),c=S(v.f2.SECTION_ENTER,o());c&&(a.nav_from=c,n(Z(v.f2.SECTION_HEARTBEAT,c)),n(G(v.f2.SECTION_ENTER))),a.url=(0,i.Z)().document.location.href;var u=n(B({event_action:"enter",event_category:"section",event_data:a},t));return n($()),n(V(e)),u}}},ee=function(){return function(e,t){var r=t().usage,n=r.sectionHeartbeat,o=r.sectionHeartbeatTimerId;(0,i.Z)().clearTimeout(o),e(X(n)),e(G(v.f2.SECTION_HEARTBEAT)),e(z(null))}},te=function(e){return(0,o.t8)(n.cp.USAGE_SET_NAV_FROM_SECTION,"navFromSection",e)},re=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return function(r,n){if(e){var o=n().usage.navFromSection,i=(0,v.zm)(o,e);r(te(null));var a=S(v.f2.ITEM_ENTER,n());a&&(i.nav_from=a,r(G(v.f2.ITEM_ENTER)));var c={event_action:"enter",event_category:"item",event_data:i};r(Y()),r(B(c,t))}}},ne=function(e,t,r){return function(n,o){if(e){var i=(0,v.zm)(t,e),a=S(v.f2.ITEM_SHARE,o());return a&&(i.nav_from=a,n(G(v.f2.ITEM_SHARE))),r&&["facebook","twitter","email"].includes(r)&&(i.target_id=r),n(N({event_category:"item",event_action:"share",event_data:i}))}}},oe=function(e,t){return function(r){return r(N({event_category:"item",event_action:"social_card_view",data:(0,v.zm)(t,e)}))}},ie=function(e,t){return function(r){return r(N({event_category:"item",event_action:"comment",data:(0,v.zm)(t,e)}))}},ae=function(e,t){return function(r){if(t){var n=(0,v.zm)(e,t);return r(N({event_category:"item",event_action:"tap_like",event_data:n}))}}},ce=function(e,t){return function(r,n){if(e){var o=(0,v.zm)(t,e),i=S(v.f2.ITEM_LIKE,n());return i&&(o.nav_from=i,r(G(v.f2.ITEM_LIKE))),e.service&&(o.target_id=e.service),r(N({event_category:"item",event_action:"like",event_data:o}))}}},ue=function(e,t){return function(r,n){if(e){var o=(0,v.zm)(t,e),i=S(v.f2.ITEM_UNLIKE,n());return i&&(o.nav_from=i,r(G(v.f2.ITEM_UNLIKE))),e.service&&(o.target_id=e.service),r(N({event_category:"item",event_action:"unlike",event_data:o}))}}},se=function(){return le("onboard_app_start_authenticated",h.pp)},le=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return function(r,n){var o=I(n());r(N({event_category:"firstlaunch",event_action:"enter",event_data:(0,v.o)({type:e,method:o})},t))}},fe=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;return function(o){var i=Object.assign({},n,{type:e});return t&&(i.target_id=t),r&&(i.display_style=r),o(N({event_category:"general",event_action:"tap_action",event_data:i}))}},pe=function(e,t,r){return fe("curator_pro_display_toggle",null,e,{section_id:t,url:r})},de=function(e,t){return function(r,n){var o={type:e},i=S(v.f2.BANNER_ENTER,n());return i&&(o.nav_from=i,r(G(v.f2.BANNER_ENTER))),r(B({event_category:"general",event_action:"enter",event_data:o},t))}},me=function(e){return function(t){return t(N({event_category:"general",event_action:"exit",event_data:{type:e}}))}},ve=function(e){return function(t){return t(N({event_category:"general",event_action:"tap_action",event_data:{type:"app_install_banner",method:e}}))}},he=function(){return fe("curator_pro_share_button")},_e=function(e){return function(t,r){var n={}
1,o=S(v.f2.TAP_MAGAZINE_CREATE,r());return o&&(n.nav_from=o,t(G(v.f2.TAP_MAGAZINE_CREATE))),e&&(n.number_items=(0,v.$W)(e)),t(N({event_category:"magazine",event_action:"tap_create",event_data:n}))}},ye=function(e){return function(){return function(t){return t(N({event_category:"general",event_action:"display",event_data:{type:e}}))}}},be=ye("open_in_app"),Ee=ye("curator_pro_what_is_it_edu"),ge=ye("curator_pro_verified_account_editing_view_hint"),Oe=ye("curator_pro_verified_account_access_nav_bar_hint"),Se=ye("curator_pro_verified_account_access_tile_hint"),Ae=ye(v.F4.NAV_BAR_EDU_CTA),Te=ye(v.F4.TOPIC_PICKER_CTA),Re=function(){return fe("see_more_button",null,v.F4.TOPIC_PICKER_CTA)},Ie=function(){return Ve(v.F4.TOPIC_PICKER_CTA)},Pe=function(e){return function(t,r){var n={};e&&e.remoteid&&(n.section_id=e.remoteid);var o=S(v.f2.OPEN_IN_APP,r());return o&&(n.nav_from=o,t(G(v.f2.OPEN_IN_APP))),t(N({event_category:"general",event_action:"open_flipboard",event_data:n}))}},Ce=function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return function(n){return n(N({event_category:"widget",event_action:"display",event_data:(0,v.A8)(e,t,r)}))}},we=function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return function(n){return n(N({event_category:"widget",event_action:"click",event_data:(0,v.A8)(e,t,r)}))}},je=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return function(r){return t.type=e,r(N({event_category:"general",event_action:"end_of_feed",event_data:t}))}},Ne=function(){return je(v.wn.LOGGED_OUT_HOME)},Le=function(){return fe("publisher_link")},De=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return function(t,r){var n={},o=S(v.f2.TAP_FLIP,r());return o&&(n.nav_from=o,t(G(v.f2.TAP_FLIP))),e&&(n.number_items=(0,v.$W)(e)),t(N({event_category:"magazine",event_action:"tap_flip",event_data:n}))}},xe=function(e,t,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null;return function(i,a){var c=I(a()),u=(0,v.o)({type:e,success:t?1:0,method:c});return r&&(u.target_id=r),n&&(u.tap_count=n),i(N({event_category:"firstlaunch",event_action:"exit",event_data:u},o))}},Me=function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return xe(e,t,null,r,h.r2)},Ze=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return function(r){return r(N({event_category:"search",event_action:"receive",event_data:{search_term:e,number_items:t,success:!0}}))}},Ue=function(){return function(e){return e(Y())}},ke=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return fe("sign_up_button",null,e,t)},Fe=function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return function(n,o){if(t){var i=(0,v.zm)(e,t,{},r),a=S(v.f2.TAP_FLIP,o());return a&&(i.nav_from=a,n(G(v.f2.TAP_FLIP))),t.isSection&&t.section&&(i.target_id=(0,v.oM)(t.section)),n(N({event_category:"magazine",event_action:"tap_flip",event_data:i}))}}},Ge=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return function(r,n){var o=(0,v.yT)(e,{},t),i=S(v.f2.TAP_FLIP,n());return i&&(o.nav_from=i,r(G(v.f2.TAP_FLIP))),r(N({event_category:"magazine",event_action:"tap_flip",event_data:o}))}},Be=function(e){return je(v.wn.ITEM,(0,v.zm)(null,e))},ze=function(e){return function(t,r){var n=(0,v.yT)(e),o=S(v.f2.TAP_SECTION_SUBSCRIBE,r());return o&&(n.nav_from=o,t(G(v.f2.TAP_SECTION_SUBSCRIBE))),t(N({event_category:"section",event_action:"tap_follow",event_data:n}))}},Ve=function(e){return fe("dialog_close_button",null,e)},He=function(e,t){return function(r,n){var o=(0,v.qS)(e,t),i=S(v.f2.TAP_SECTION_SUBSCRIBE,n());return i&&(o.nav_from=i,r(G(v.f2.TAP_SECTION_SUBSCRIBE))),r(N({event_category:"section",event_action:"tap_follow",event_data:o}))}},qe=function(e,t){return function(r){if(t)return r(N({event_category:"item",event_action:"tap_share",event_data:(0,v.zm)(e,t)}))}},We=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return function(r){return r(N({event_category:"section",event_action:"tap_share",event_data:(0,v.yT)(e,{},t)}))}},Ye=function(e){return function(t,r){var n=(0,v.yT)(e),o=S(v.f2.CURATOR_PRO_MAGAZINE_INVITE_CONTRIBUTOR,r());return o&&(n.nav_from=o,t(G(v.f2.CURATOR_PRO_MAGAZINE_INVITE_CONTRIBUTOR))),t(N({event_category:"general",event_action:"invite_contributor",event_data:n}))}},Ke=function(e){return fe("published_storyboard_share",e)},Xe=function(){return le(v.QQ.CATEGORY_SELECTOR,h.pp)},$e=function(e){return function(t,r){var n={},o=r().usage,i=o.mobileGateSection,a=o.mobileGateArticle;i?n=(0,v.yT)(i):a&&(n=(0,v.zm)(null,a)),n.type=e;var c=S(v.f2.DISPLAY_MOBILE_GATE,r());return c&&(n.nav_from=c),t(N({event_category:"general",event_action:"display",event_data:n}))}},Je=function(e,t){return function(r,n){var o={},i=n().usage,a=i.mobileGateSection,c=i.mobileGateArticle;a?o=(0,v.yT)(a):c&&(o=(0,v.zm)(null,c)),o.type=e,o.method=t;var u=S(v.f2.DISPLAY_MOBILE_GATE,n());return u&&(o.nav_from=u,r(G(v.f2.DISPLAY_MOBILE_GATE))),r(N({event_category:"general",event_action:"exit",event_data:o}))}},Qe=function(){return $e("mobile_gate_bottom_picker")},et=function(e){return Je("mobile_gate_bottom_picker",e)},tt=function(){return $e("mobile_social_gate_bottom_picker")},rt=function(e){return Je("mobile_social_gate_bottom_picker",e)},nt=function(e,t){return Je(t,e)},ot=function(e){return $e(e)},it=function(e,t,r,n){return function(o){return o(N({event_category:"general",event_action:"remove_scheduling",event_data:(0,v.Ec)({section_id:e,url:t,itemCount:r,tagCount:n})}))}},at=function(e,t,r,n,o,i){return function(a){return a(N({event_category:"general",event_action:i?"reschedule":"schedule",event_data:(0,v.Ec)(e,t,r,n,o)}))}},ct=function(e,t,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,o=arguments.length>4?arguments[4]:void 0;return function(i){return i(N({event_category:"general",event_action:"publish",event_data:(0,v.Ec)(e,t,r,n,o)}))}},ut=function(e,t){return function(r,n){if(e){var o=n().profile||null,i=(0,v.zm)(t,e,{},o);e.isSection&&e.section&&(i.target_id=(0,v.oM)(e.section));var a=S(v.f2.ITEM_FLIP,n());return a&&(i.nav_from=a,r(G(v.f2.ITEM_FLIP))),t.magazineTarget&&(i.magazine_id=t.magazineTarget),r(N({event_category:"item",event_action:"flip",event_data:i}))}}},st=function(e,t){return function(r,n){if(e){var o=n().profile||null,i=(0,v.yT)(e,{},o);i.target_id=(0,v.oM)(e);var a=S(v.f2.SECTION_FLIP,n());return a&&(i.nav_from=a,r(G(v.f2.SECTION_FLIP))),t.magazineTarget&&(i.magazine_id=t.magazineTarget),r(N({event_category:"item",event_action:"flip",event_data:i}))}}},lt=function(e,t){return function(r,n){var o={url:e},i=n().profile||null,a=S(v.f2.URL_FLIP,n());
1return a&&(o.nav_from=a,r(G(v.f2.URL_FLIP))),t.magazineTarget&&(o.magazine_id=t.magazineTarget),i&&(o.number_items=(0,v.$W)(i)),r(N({event_category:"item",event_action:"flip",event_data:o}))}},ft=function(e,t,r){return function(n,o){var i={magazine_id:e,type:"public"===t?"public_mag":"private_mag"},a=S(v.f2.MAGAZINE_CREATE,o());return a&&(i.nav_from=a,n(G(v.f2.MAGAZINE_CREATE))),r&&(i.number_items=(0,v.$W)(r)+1),n(N({event_category:"magazine",event_action:"create",event_data:i}))}},pt=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r=arguments.length>2?arguments[2]:void 0;return function(n,o){var i=t?(0,v.qS)(t,e):(0,v.yT)(e),a=S(v.f2.SECTION_SUBSCRIBE,o());return a&&(i.nav_from=a,n(G(v.f2.SECTION_SUBSCRIBE))),n(N({event_category:"section",event_action:"subscribe",event_data:b({},i,{method:r})}))}},dt=function(){return function(e,t){var r=(0,d.Do)(v.um),n=I(t());e(N({event_category:"firstlaunch",event_action:"activated",event_data:b({},(0,v.o)({method:n}),{view_count:r})},h.YH))}},mt=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r=arguments.length>2?arguments[2]:void 0;return function(n,o){var i=t?(0,v.qS)(t,e):(0,v.yT)(e),a=S(v.f2.SECTION_UNSUBSCRIBE,o());return a&&(i.nav_from=a,n(G(v.f2.SECTION_UNSUBSCRIBE))),n(N({event_category:"section",event_action:"unsubscribe",event_data:b({},i,{method:r})}))}},vt=function(){return function(e){return e(N({event_category:"magazine",event_action:"edit",event_data:{type:"personalize",section_id:"auth/flipboard/coverstories"}}))}},ht=function(e,t){return function(r){return r(N({event_category:"general",event_action:"display",event_data:(0,v.xv)(e,t,{type:"accept_contributor_invite"})}))}},_t=function(e,t){return function(r){return r(N({event_category:"general",event_action:"tap_action",event_data:(0,v.xv)(e,t,{type:"accept_contributor_invite"})}))}},yt=function(e,t){return function(r){return r(N({event_category:"general",event_action:"accept_contributor_invite",event_data:(0,v.xv)(e,t)}))}},bt=function(e){return je(v.wn.SECTION,(0,v.yT)(e))},Et=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return function(r){var n=e.event_data;!(n&&n.nav_from)&&(0,l.Ip)(t)&&(e.event_data.nav_from=v.rf.BACKTRACKING);var o=(0,l.Jn)(t);return o&&(e.event_data.refer_url=o),r(N(e))}},gt=function(e,t){return function(r,n){var o,i;t?(o="analytics_package_page",t.isMagazine?i="magazine":t.isStoryboard&&(i="storyboard")):o="analytics_home_page";var a={type:o,method:i,section_id:t&&(0,v.oM)(t)},c=S(v.f2.ANALYTICS_ENTER,n());c&&(a.nav_from=c,r(G(v.f2.ANALYTICS_ENTER))),r(Et({event_category:"general",event_action:"enter",event_data:a},e))}},Ot=function(e,t,r){return function(n,o){var i,a=(0,v.yT)(e);e.isStoryboard?i="storyboard":e.isMagazine&&(i="magazine"),Object.assign(a,{type:"curator_pro",method:i}),r&&(a.display_style=r);var c={event_category:"general",event_action:"enter",event_data:a},u=S(v.f2.CURATOR_PRO_ENTER,o());return u&&(c.event_data.nav_from=u,n(G(v.f2.CURATOR_PRO_ENTER))),n(Et(c,t))}},St=function(e){var t=e.rootTopicId,r=e.section;return function(e){e(N({event_category:"section",event_action:"enter",event_data:{nav_from:v.rf.SUBTAB,method:"home_carousel",target_id:t,section_id:r.remoteid}})),e(V(r))}},At=function(){return function(e,t){var r={type:"all"},n=S(v.f2.TOC_ENTER,t());n&&(r.nav_from=n,e(G(v.f2.TOC_ENTER))),e(N({event_category:"toc",event_action:"enter",event_data:r}))}},Tt=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:v.QQ.SIGN_UP;return le(e,h.go)},Rt=function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:v.QQ.SIGN_UP;return xe(r,e,t,null,h.z6)},It=function(e){return function(t){return t(N({event_category:"general",event_action:"enter",event_data:{method:e,type:"newsletter_landing_page"}}))}},Pt=function(e){return function(t){return t(N({event_category:"general",event_action:"click",event_data:{method:e,type:"newsletter_landing_page_submit_email"}}))}},Ct=function(e,t){return function(r){return r(N({event_category:"general",event_action:"click",event_data:{method:e,type:"newsletter_landing_page_submit_email",success:t?1:0}}))}},wt=function(){return function(e,t){var r={event_category:"general",event_action:"enter",event_data:{type:"email_confirmation"}},n=S(v.f2.CONFIRMATION_EMAIL_ENTER,t());return n&&(r.event_data.nav_from=n),e(N(r))}},jt=function(){return function(e){return e(N({event_category:"general",event_action:"enter",event_data:{type:"newsletters_sign_up_page"}}))}},Nt=function(e){return function(t){var r=(0,v.Zz)(e);return t(N({event_category:"general",event_action:"click",event_data:{type:"newsletters_sign_up_page_submit",newsletters:r}}))}},Lt=function(e){return function(t){return t(N({event_category:"general",event_action:"click",event_data:{type:"newsletters_sign_up_page_submit",success:e?1:0}}))}},Dt=function(){return function(e){return e(N({event_category:"general",event_action:"enter",event_data:{type:"settings_page"}}))}},xt=function(e){var t=e.subscribed,r=e.unSubscribed;return function(e){return e(N({event_category:"general",event_action:"click",event_data:{type:"settings_page-save",subscribed_newsletters:t,unsubscribed_newsletters:r}}))}},Mt=function(){return le(v.QQ.SIGN_IN)},Zt=function(e,t){return xe(v.QQ.SIGN_IN,e,t)},Ut=function(){return le(v.QQ.REQUEST_LOGIN_LINK)},kt=function(e){return xe(v.QQ.REQUEST_LOGIN_LINK,e,"flipboard")},Ft=function(e,t){return xe(v.QQ.PUBLISHER_SIGNUP,e,t,null,h.V0)},Gt=function(e){return function(t,r){var n=(0,v.yT)(e),o=S(v.f2.MAGAZINE_SUBSCRIBE,r());return o&&(n.nav_from=o),t(N({event_category:"magazine",event_action:"subscribe",event_data:n}))}},Bt=function(e){return function(t,r){var n=(0,v.yT)(e),o=S(v.f2.MAGAZINE_SUBSCRIBE,r());return o&&(n.nav_from=o),t(N({event_category:"magazine",event_action:"unsubscribe",event_data:n}))}}},12960:function(e,t,r){"use strict";r.d(t,{yG:function(){return o},Dq:function(){return i},S0:function(){return a},kp:function(){return c},i8:function(){return u},mk:function(){return s},Kd:function(){return l},Ay:function(){return f}});var n=r(30001),o=function(e){var t=e.app,r=t.appTheme,o=t.appThemeOverride;return r===n.SJ.DARK?r:o||r},i=function(e){var t=e.app.appThemeOverride;return t},a=function(e){var t=e.app.isAmp;return t||!1},c=function(e){var t,r,n,o=e.app;return(null==o||null===(t=o.routing)||void 0===t||null===(r=t.query)||void 0===r||null===(n=r.action)||void 0===n?void 0:n.indexOf("onboard"))>-1},u=function(e){return e.app.nglFeedConfigs},s=function(e){return e.app.lang},l=function(e){return e.app.locale},f=function(e){var t=e.app.isFromCrawler;return t}},48519:function(e,t,r){"use strict";r.d(t,{p9:function(){return o},uL:function(){return i}});r(15735),r(58188),r(6886),r(49228);var n=r(11826);function o(e){var t=e.app,r=e.articles;
1return t&&t.routing&&t.routing.params&&(0,n.Qu)(t.routing.params)||r&&r.videoArticleRemoteIdHack}function i(e){var t=e.articles,r=o(e);if(r)return t.articlesByRemoteId[r]}},83981:function(e,t,r){"use strict";r.d(t,{LW:function(){return n},$8:function(){return o},S9:function(){return i},Q5:function(){return a}});var n=function(e){return e.auth.uid||0},o=function(e){return 0!==n(e)},i=function(e){var t=e.auth.authForm;return t},a=function(e){var t=e.auth.signupCompleted;return t}},71742:function(e,t,r){"use strict";r.d(t,{Er:function(){return p},ad:function(){return d},b9:function(){return m},mY:function(){return v},HP:function(){return h},LN:function(){return _},TC:function(){return y},u$:function(){return b},zL:function(){return E},Hc:function(){return g}});r(49228),r(43105),r(18178),r(43450),r(27072),r(34115),r(634),r(58188),r(20796),r(15735),r(28673),r(6886),r(27233),r(32501),r(26936),r(34769),r(95342),r(68625),r(1939),r(62775);var n=r(65430),o=r(31298);function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e){return function(e){if(Array.isArray(e))return u(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return u(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return u(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var s=function(e,t,r){var o=e.find((function(e){return e.group===t.group&&e.key===r.key})),i=o&&o.state||n._V;return i===n._V?null:i===n.Vu||i===n.ih},l=function(e,t){return t.legacy_preselect_value===e},f=function(e,t,r,n){return e.subscriptions&&e.subscriptions.reduce((function(i,a){var u=s(t,e,a),f=l(r,a)||function(e,t){var r=(0,o.IO)(t).key;return r&&r===e.key||!1}(a,n),p=Object.assign({},a,{isSubscribed:u,isPreselected:f});return[].concat(c(i),[p])}),[])||[]},p=function(e){return e.emailSettings.groups},d=function(e){return e.emailSettings.groupsLoaded},m=function(e){var t=e.emailSettings,r=t.groups,u=t.states,p=null;try{p=parseInt((0,o.IO)(e).preselect,10)}catch(e){p=null}var d=r&&[n.XN].concat(c(r)),m=null,v=!1,h=d&&d.map((function(t){var r=f(t,u,p,e),
1c=l(p,t)||function(e,t){var r=(0,o.IO)(t).group;return r&&r===e.group||!1}(t,e),d=function(e,t){return s(t,e,n.G5)}(t,u);return d&&r&&(t.group===n.bB.group&&(m=!0),r=r.map((function(e){return function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach((function(t){a(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},e,{isSubscribed:null})}))),t.group===n.bB.group&&null!==d&&(v=!0),t.group===n.bB.group?Object.assign({},t,{subscriptions:r,isSubscribed:d,isPreselected:c}):Object.assign({},t,{subscriptions:r,isSubscribed:v?m:d,isPreselected:c})}));return h},v=function(e){var t=e.emailSettings.states;return s(t,n.bB,n.G5)},h=function(e){return m(e).find((function(e){return e.isPreselected||!!e.subscriptions.find((function(t){return!(0,n.YZ)(e,e,t,n.G5)&&t.isPreselected}))}))},_=function(e){return m(e).map((function(e){return e.subscriptions})).flat().find((function(e){return e.isPreselected}))},y=function(e){var t=e.emailSettings.preselectUnsubscribeComplete;return t},b=function(e){var t=e.emailSettings.statesLoaded;return t},E=function(e){var t=e.emailSettings.saveState;return t},g=function(e){var t=e.emailSettings.emailFromCode;return t}},75585:function(e,t,r){"use strict";r.d(t,{NX:function(){return n},Op:function(){return o},o6:function(){return i}});var n=function(e){return e.magazineInvite},o=function(e){return e.magazineInvite.validationErrors},i=function(e){return e.magazineInvite.pending}},35638:function(e,t,r){"use strict";r.d(t,{O:function(){return i}});var n=r(31298),o=r(22749),i=function(e){return(0,n.ad)(e)?o.rf.SEARCH_RESULTS:(0,n.yB)(e)?o.rf.ARTICLE:(0,n.hN)(e)?o.rf.HOME:(0,n.Ck)(e)?o.rf.FEED:void 0}},35616:function(e,t,r){"use strict";r.d(t,{Co:function(){return u},Um:function(){return l},Sn:function(){return f},GI:function(){return p},B5:function(){return d},ar:function(){return m},yS:function(){return v},KT:function(){return h},Tq:function(){return _},UY:function(){return y},Ho:function(){return b},a5:function(){return E},XY:function(){return g},rO:function(){return O}});r(49228),r(58188),r(88233),r(15735),r(6886),r(18178),r(95342),r(34115),r(634),r(20796),r(28673),r(27233),r(32501),r(26936);var n=r(47573),o=r(75007),i=r(83981);function a(e){return function(e){if(Array.isArray(e))return c(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return c(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return c(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function u(e){return e.profile.userInfo}function s(e){var t=u(e);return t&&t.states&&t.states.find((function(e){return"user"===e.type}))||null}function l(e){var t=s(e);return t&&t.data||null}function f(e){var t=e.profile;return t&&t.followingIds||[]}function p(e){var t=s(e);return t&&parseInt(t.revision.toString(),10)||0}function d(e){return e.profile.isUserStateLoading}var m=function(e){var t=u(e);return n.ZP.getUserFromUserInfo(t)||void 0};function v(e){return e.profile.smartMagazines}function h(e){if(!(0,i.$8)(e))return null;var t=(0,i.LW)(e),r=n.ZP.getRemoteidByUserid(t);return r&&n.ZP.getSectionByRemoteId(r,e.sections.entries)}function _(e){var t;return!(null===(t=m(e))||void 0===t||!t.confirmedEmail)}function y(e){var t,r;return!(null===(t=m(e))||void 0===t||null===(r=t.profileSection)||void 0===r||!r.verifiedType)}function b(e){var t=e.profile;return[].concat(a(t.magazines),a(t.contributorMagazines))}function E(e){var t,r=e.profile;return null==r||null===(t=r.stats)||void 0===t?void 0:t.profileMetrics.find((function(e){return"packageCount"===e.type})).raw}var g=function(e){var t,r=e.profile;return(null==r||null===(t=r.followingIds)||void 0===t?void 0:t.length)<o.Z.MIN_REQUIRED_TOPIC_FOLLOWS},O=function(e){return e.profile.favorites.filter((function(e){return!e.dynamicFeed})).length>=10}},31298:function(e,t,r){"use strict";r.d(t,{qg:function(){return a},Ck:function(){return c},yB:function(){return u},hN:function(){return s},Bn:function(){return l},ad:function(){return f},v6:function(){return p},ll:function(){return m},wG:function(){return v},IO:function(){return h},wu:function(){return _},QR:function(){return y},a3:function(){return b},VY:function(){return E},LI:function(){return g}});r(39529),r(31235),r(43450),r(95342);var n=r(91588),o=r(48519),i=function(e){return function(t){return t.app.routing.type===e}},a=i(n.w7.AUTH),c=i(n.w7.SECTION),u=i(n.w7.ARTICLE),s=i(n.w7.HOME),l=i(n.w7.NEWSLETTERS),f=i(n.w7.SEARCH),p=function(e){var t=e.app.routing.path;return n.ZP.filter((function(e){return e.sectionSlugRoute})).map((function(e){return e.path})).includes(t)},d=function(e){return function(t){return t.app.routing.path===e}},m=(d("/@:username/storyboards"),d("/profile/storyboards"),function(e){if(!u(e))return!1;var t=e&&(0,o.uL)(e);return t&&(t.isVideo||t.isFirstPartyVideo)}),v=d("/account/emailSettings"),h=function(e){var t=e.app.routing.query;return t},_=function(e){return h(e).code},y=function(e){return h(e).s},b=function(e){return h(e).lang},E=function(e){return e.app.routing.params||{}},g=function(e){return e.app.routing.url}},20980:function(e,t,r){"use strict";r.d(t,{Pr:function(){return i},M2:function(){return a},lt:function(){return c},CR:function(){return u},VU:function(){return s},cb:function(){return l},Eg:function(){return f}});r(15735),r(58188),r(6886),r(49228);var n=r(47573),o=r(11826),i=function(e){var t=e.sections.entries;return t.find((function(e){return e.primarySectionForRoute}))||t[0]},a=function(e){var t,r=i(e),o=e.sections.entries,a=(null==r||null===(t=r.rootTopic)||void 0===t?void 0:t.remoteid)||(null==r?void 0:r.remoteid);return n.ZP.sectionOrDefaults(n.ZP.getSectionByRemoteId(a,o)).items}
1,c=function(e){var t=e.app,r=e.sections,i=t.routing.params;t.routing.query&&t.routing.query.id&&(i.sid=t.routing.query.id);var a=(0,o.YR)(i);return n.ZP.sectionOrDefaults(n.ZP.getSectionByRemoteId(a,r.entries))},u=function(e){return e.sections.entries.find((function(e){return e.invite}))||null},s=function(e){return e.sections.entries},l=function(e){return e.sections.loading},f=function(e){return e.sections.topicDescriptions}},18529:function(e,t,r){"use strict";r.d(t,{wS:function(){return o},Mn:function(){return i},rA:function(){return a},Em:function(){return c},nI:function(){return u},HS:function(){return s},N8:function(){return l},Hi:function(){return f},Kz:function(){return p}});var n=r(77703),o=function(e){var t=e.app.viewportType;return t},i=function(e){var t=e.app.viewportType;return n.ZP.isPhone(t)},a=function(e){var t=e.app.viewportType;return n.ZP.isSmallScreen(t)},c=function(e){var t=e.app.viewportType;return n.ZP.isTablet(t)},u=function(e){var t=e.app.viewportType;return n.ZP.isDesktop(t)},s=function(e){var t=e.app.viewportType;return n.ZP.isLargeScreen(t)},l=function(e){var t=e.app.viewportType;return n.ZP.isWideLargeScreen(t)},f=function(e){var t=e.app.viewportType;return n.ZP.isTabletNarrow(t)},p=function(e){var t=e.app.viewportType;return n.ZP.isTabletWide(t)}},5663:function(e,t,r){"use strict";r(34769),r(34115),r(2784);var n=r(45697),o=r.n(n),i=r(47741),a=r(90068),c=r(82706),u=r(52322);function s(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var l=function(e){var t=e.isAuthenticated,r=e.getData,n=s(e,["isAuthenticated","getData"]);try{if(t)return null;var o=r(n);return o?(0,u.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:"".concat(JSON.stringify(o))}}):null}catch(e){return i.Z.captureException(e),null}};l.propTypes={getData:o().func.isRequired},t.Z=(0,a.Z)(c.Z)(l)},57003:function(e,t,r){"use strict";r(34769),r(34115),r(95342),r(68625),r(1939),r(62775);var n=r(2784),o=r(83694),i=r(5663),a=r(52322);function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function u(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?c(Object(r),!0).forEach((function(t){s(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):c(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function s(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}t.Z=function(e){return(0,a.jsxs)(n.Fragment,{children:[(0,a.jsx)(i.Z,u({getData:o.Qt},e)),(0,a.jsx)(i.Z,u({getData:o.Kp},e))]})}},35471:function(e,t,r){"use strict";r.r(t);r(96928),r(61229),r(34115),r(634),r(58188),r(20796),r(15735),r(28673),r(6886);var n=r(2784),o=r(45697),i=r.n(o),a=r(45828),c=r(66263),u=r(58123),s=r(31075),l=r(35651),f=r(4189),p=r(37757),d=r(90068),m=r(10713),v=r(39285),h=r(52322);function _(e){return _="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},_(e)}function y(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function b(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function E(e,t){return E=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},E(e,t)}function g(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 r,n=S(e);if(t){var o=S(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return O(this,r)}}function O(e,t){return!t||"object"!==_(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}
1function S(e){return S=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},S(e)}function A(e,t){switch(e){case"404":return[(0,h.jsx)(f.V1,{children:t("404")},0),(0,h.jsxs)(f.$t,{children:[t("return_to")," ",(0,h.jsx)(u.Z,{href:a.Z.FLIPBOARD_URL,children:"Flipboard.com"})]},1)];case"503":return[(0,h.jsxs)(f.V1,{children:[t("our_apologies"),(0,h.jsx)("br",{}),t("something_went_wrong")]},0),(0,h.jsx)(f.$t,{children:t("please_try_again_later")},1)];default:return(0,h.jsx)(f.Dx,{children:t("content_unavailable")},0)}}var T=function(e){!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(e,t)}(i,e);var t,r,n,o=g(i);function i(){return y(this,i),o.apply(this,arguments)}return t=i,(r=[{key:"componentDidMount",value:function(){var e=this.props.routing;c.Z.trackPageview("Error",e.pathname),this.props.setNavAppStoreUrl()}},{key:"render",value:function(){return(0,h.jsxs)(s.Z,{children:[(0,h.jsx)(f.im,{children:A(this.props.code,this.props.t)}),(0,h.jsx)(l.Z,{variant:l.W.RED})]})}}])&&b(t.prototype,r),n&&b(t,n),i}(n.Component);T.propTypes={routing:i().object.isRequired,code:i().oneOf(["404","503"]),setNavAppStoreUrl:i().func.isRequired,t:i().func.isRequired},T.defaultProps={code:"404"},t.default=(0,d.Z)(v.Z,m.Z)((0,p.Z)(T))},94670:function(e,t,r){"use strict";r.d(t,{$n:function(){return n},I6:function(){return p},rS:function(){return d},Iu:function(){return m},vX:function(){return v},Ly:function(){return h}});r(43105),r(77950),r(85940),r(34769),r(34115),r(95342),r(68625),r(1939),r(62775);var n,o=r(12291),i=r(12933),a=r(75875),c=r(47573);function u(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function s(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?u(Object(r),!0).forEach((function(t){l(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):u(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}!function(e){e.REFERRING_USER="REFERRING_USER",e.MAGAZINE_CONTRIBUTORS="MAGAZINE_CONTRIBUTORS",e.TOPIC_RECOMMENDED_MAGAZINES="TOPIC_RECOMMENDED_MAGAZINES",e.TOPIC_STORYBOARDS="TOPIC_STORYBOARDS"}(n||(n={}));var f={},p=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:f,t=arguments.length>1?arguments[1]:void 0,r=(0,a.Lq)(e);switch(t.type){case i.ts.SET:var n=t.remoteId,o=t.key,u=t.value;if(!o||!u)return e;var p=c.ZP.normalizeRemoteid(n),d=e[p];return r(l({},p,s({},d,l({},o,u))));case i.iL.PURGE_SECTION:var m=c.ZP.normalizeRemoteid(t.remoteId);if(e[m]){var v=Object.assign({},e);return delete v[m],v}}return e},d=function(e,t){return(r=n.MAGAZINE_CONTRIBUTORS,function(e,t){var n=t[c.ZP.normalizeRemoteid(e)];return n?n[r]:[]})(m(e),t);var r},m=function(e){return e.replace(/sid\/(.+)[yz]\//,"sid/$1/")},v=function(e){var t=e.remoteId,r=e.key,n=e.value;return function(e){return e({type:i.ts.SET,remoteId:t,key:r,value:n})}},h=function(e,t){return(0,o.v9)((function(r){var n;return(null===(n=r.accessorySections[c.ZP.normalizeRemoteid(t)])||void 0===n?void 0:n[e])||[]}))}},92995:function(e,t,r){"use strict";r.d(t,{I:function(){return s},D:function(){return l}});r(35666),r(43450),r(18178),r(15735),r(58188),r(6886),r(43105),r(73439);var n=r(12933),o=r(75875),i=r(7738),a=r(68460);function c(e,t,r,n,o,i,a){try{var c=e[i](a),u=c.value}catch(e){return void r(e)}c.done?t(u):Promise.resolve(u).then(n,o)}var u={entries:[],nextPageKey:null,isLoading:!1},s=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:u,t=arguments.length>1?arguments[1]:void 0;if(t.type===n.ae.GET_CAMPAIGNS_SUCCESS){var r=t.campaigns,a=t.nextPageKey,c=t.append,s=r.map((function(e){return i.Z.curatorProProjection(e,null,!0)})),l=c?e.entries.concat(s):s;return Object.assign({}
1,e,{entries:l,nextPageKey:a,isLoading:!1})}return(0,o.mr)(n.ae,u)(e,t)},l=function(e){return function(){var t,r=(t=regeneratorRuntime.mark((function t(r,o,i){var c,u,s,l;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return c=i.content,u=i.t,r({type:n.ae.GET_CAMPAIGNS}),s={limit:30},e&&(s.next=e),t.prev=4,t.next=7,c.get("/packages/campaigns",{params:s});case 7:l=t.sent,r({type:n.ae.GET_CAMPAIGNS_SUCCESS,campaigns:l.data.items||[],nextPageKey:l.data.next||null,append:!!e}),t.next=15;break;case 11:t.prev=11,t.t0=t.catch(4),r({type:n.ae.GET_CAMPAIGNS_FAILED}),r((0,a.toastShowErrorAction)(u("fallback_error_message")));case 15:case"end":return t.stop()}}),t,null,[[4,11]])})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(e){c(i,n,o,a,u,"next",e)}function u(e){c(i,n,o,a,u,"throw",e)}a(void 0)}))});return function(e,t,n){return r.apply(this,arguments)}}()}},88731:function(e,t,r){"use strict";r.d(t,{I6:function(){return b},KT:function(){return E},Yr:function(){return g},PN:function(){return T},cC:function(){return R},mO:function(){return I},O4:function(){return P},li:function(){return C},kv:function(){return w}});r(35666),r(43450),r(18178),r(95342),r(39529),r(31235),r(72508),r(49228),r(34769),r(58188),r(73439),r(34115),r(68625),r(1939),r(62775),r(634),r(20796),r(15735),r(28673),r(6886),r(27233),r(32501),r(26936);var n=r(76635),o=r(12933),i=r(34688),a=r(83981),c=r(47741),u=r(75875),s=r(61312),l=r(68460);function f(e){return function(e){if(Array.isArray(e))return p(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return p(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return p(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function p(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function d(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function m(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?d(Object(r),!0).forEach((function(t){v(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):d(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function v(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function h(e,t,r,n,o,i,a){try{var c=e[i](a),u=c.value}catch(e){return void r(e)}c.done?t(u):Promise.resolve(u).then(n,o)}function _(e){return function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(e){h(i,n,o,a,c,"next",e)}function c(e){h(i,n,o,a,c,"throw",e)}a(void 0)}))}}var y={loading:!1,loaded:!1,comments:[],nextPageKey:null},b=(0,u.mr)(o.RH,{},o.RH.RESET_COMMENTS),E=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:32;return function(){var i=_(regeneratorRuntime.mark((function i(c,u,s){var l,p,d,h,_,y,b,E,g;return regeneratorRuntime.wrap((function(i){for(;;)switch(i.prev=i.next){case 0:return l=s.flap,d=w(p=r||e,C(u())),c({type:o.RH.GET_COMMENTS,payload:v({},p,m({},d,{loading:!0}))}),h=(0,a.LW)(u()),_={limit:n,oid:[e],userid:h},r&&(_.parent=r),t&&(_.pageKey=t),i.next=10,l.get("/social/comments",{params:_});case 10:y=i.sent,b=y.data.items,(E=b[0])&&(g=d.comments.map((function(e){return e.id})),c({type:o.RH.GET_COMMENTS_SUCCEEDED,payload:v({},p,{loading:!1,loaded:!0,comments:[].concat(f(d.comments),f(E.commentary.filter((function(e){return!g.includes(e.id)}
1)))),nextPageKey:E.commentsPageKey||null})}));case 14:case"end":return i.stop()}}),i)})));return function(e,t,r){return i.apply(this,arguments)}}()},g=function(e,t,r,n,o){return function(){var a=_(regeneratorRuntime.mark((function a(u,l,f){var p,d,m,v,h;return regeneratorRuntime.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return p=f.flap,a.prev=1,d={oid:e.flipboardSocialId,text:r},t&&(d.parent=t),n&&n.length>0&&(d.link=n),o&&(d.force=o),a.next=8,p.get("/social/reply",{params:d});case 8:if(m=a.sent,v=m.data.id,h=t||e.flipboardSocialId,u(S(h,v)),t&&u(O(e.flipboardSocialId,t)),u((0,s.BN)(e)),!v){a.next=16;break}return a.abrupt("return",v);case 16:a.next=23;break;case 18:if(a.prev=18,a.t0=a.catch(1),null===a.t0||void 0===a.t0||!a.t0.areYouSure){a.next=22;break}throw new i.zY;case 22:c.Z.captureException(a.t0);case 23:case"end":return a.stop()}}),a,null,[[1,18]])})));return function(e,t,r){return a.apply(this,arguments)}}()},O=function(e,t){return function(r,n){var i=m({},n().comments),a=i[e];i[e]=m({},a,{comments:a.comments.reduce((function(e,r){return r.id===t?e.push(m({},r,{commentCount:(r.commentCount||0)+1})):e.push(r),e}),[])}),r({type:o.RH.NEW_COMMENT_BUMP_COMMENT_COUNT,payload:i})}},S=function(e,t){return function(){var r=_(regeneratorRuntime.mark((function r(n,i,a){var c,u,s,f,p,d;return regeneratorRuntime.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return c=a.flap,r.next=3,c.get("/social/comment",{params:{oid:t}});case 3:if(u=r.sent,s=u.data.items,f=s[0].commentary.find((function(e){return e.id===t}))){r.next=9;break}return n(n((0,l.toastGenericError)())),r.abrupt("return");case 9:p=m({},i().comments),d=p[e]||y,p[e]=m({},d,{comments:d.comments.concat(f)}),n({type:o.RH.APPEND_NEW_COMMENT,payload:p});case 13:case"end":return r.stop()}}),r)})));return function(e,t,n){return r.apply(this,arguments)}}()},A=function(e,t){return Object.keys(e).reduce((function(r,n){var o=m({},e[n]);return o.comments=o.comments.filter(t),r[n]=o,r}),{})},T=function(e,t){return function(){var r=_(regeneratorRuntime.mark((function r(n,i,a){var u,l,f;return regeneratorRuntime.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return u=a.flap,r.prev=1,l={oid:e.id,target:e.id},r.next=5,u.get("/social/replyRemove",{params:l});case 5:f=A(i().comments,(function(t){return t.id!==e.id})),n({type:o.RH.REMOVE_COMMENT,payload:f}),n((0,s.BN)(t)),r.next=13;break;case 10:r.prev=10,r.t0=r.catch(1),c.Z.captureException(r.t0);case 13:case"end":return r.stop()}}),r,null,[[1,10]])})));return function(e,t,n){return r.apply(this,arguments)}}()},R=function(e,t,r){return function(){var n=_(regeneratorRuntime.mark((function n(o,i,a){var c,u;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return u=a.flap,n.abrupt("return",u.post("/social/flagItem",{},{params:{type:"reportComment",section:(null===(c=e.ssid)||void 0===c?void 0:c.remoteidPlain)||e.remoteid,oid:t.id,commentid:r.id,fuid:r.userid,url:t.sourceURL}}));case 2:case"end":return n.stop()}}),n)})));return function(e,t,r){return n.apply(this,arguments)}}()},I=function(){return(0,u.dt)(o.RH.RESET_COMMENTS)},P=function(e){return function(t,r){var n=r().comments,i=A(n,(function(t){return t.userid!==e}));t({type:o.RH.REMOVE_BLOCKED_USER_COMMENTS,payload:i})}},C=function(e){return e.comments},w=function(e,t){return(0,n.cloneDeep)(t[e]||y)}},33043:function(e,t,r){"use strict";r.d(t,{RG:function(){return b},Z6:function(){return E},UF:function(){return o},Nj:function(){return P},I6:function(){return A},r:function(){return I},HH:function(){return T},$p:function(){return R}});r(34115),r(634),r(58188),r(20796),r(15735),r(28673),r(6886),r(32501),r(26936),r(27233),r(35883),r(1939),r(18178),r(39529),r(31235),r(90103),r(95342),r(49228),r(44112),r(17368),r(77950),r(88233),r(34769),r(43450);var n,o,i=r(12933),a=r(8260),c=r(77690),u=r(7010),s=r(79489),l=r(43734),f=r(83981),p=function(e,t){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return function(n){var o=n&&n.app&&n.app.experiments;return(o&&l.Z.getExperimentGroup(o,e))===t&&!(r&&(0,f.$8)(n))}},d=r(96331);function m(e){return function(e){if(Array.isArray(e))return _(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||h(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function v(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var r=[],n=!0,o=!1,i=void 0;try{for(var a,c=e[Symbol.iterator]();!(n=(a=c.next()).done)&&(r.push(a.value),!t||r.length!==t);n=!0);}catch(e){o=!0,i=e}finally{try{n||null==c.return||c.return()}finally{if(o)throw i}}return r}(e,t)||h(e,t)||function(){throw new TypeError("Invalid attempt to de
1structure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function h(e,t){if(e){if("string"==typeof e)return _(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?_(e,t):void 0}}function _(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function y(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}!function(e){e.USER_FEATURES="USER_FEATURES",e.AB_TESTS="AB_TESTS",e.DEV_FLAGS="DEV_FLAGS",e.ADS="ADS",e.VENETIA_DEC_13TH="VENETIA_DEC_13TH",e.VENETIA_MAR_14TH="VENETIA_MAR_14TH",e.VENETIA_MAY_11TH="VENETIA_MAY_11TH",e.VENETIA_FUTURE="VENETIA_FUTURE"}(o||(o={}));var b=(y(n={},o.USER_FEATURES,{displayText:"🦸 User Features"}),y(n,o.AB_TESTS,{displayText:"🔬 AB Tests"}),y(n,o.DEV_FLAGS,{displayText:"👨🏽‍💻 Dev Features"}),y(n,o.ADS,{displayText:"💰 Display Ads"}),y(n,o.VENETIA_DEC_13TH,{displayText:"☕ Venetia (Dec 13th)"}),y(n,o.VENETIA_MAR_14TH,{displayText:"🍰 Venetia (Mar 14th)"}),y(n,o.VENETIA_MAY_11TH,{displayText:"🥮 Venetia (May 11th)"}),y(n,o.VENETIA_FUTURE,{displayText:"🍷  Venetia Ongoing"}),n),E={COMMENTS:{group:o.VENETIA_DEC_13TH,displayText:"Comments"},MAGAZINE_COVER_COMMENTS:{group:o.VENETIA_MAY_11TH,displayText:"Magazine Cover Comments"},STANDALONE_POST:{group:o.VENETIA_DEC_13TH,displayText:"Standalone Post"},NEW_CREATE_MAGAZINE:{group:o.VENETIA_DEC_13TH,displayText:"New Create Magazine"},NEW_FLIP_COMPOSE:{group:o.VENETIA_DEC_13TH,displayText:"New Flip Compose"},INVITE_MAGAZINE_CONTRIBUTOR:{group:o.VENETIA_MAR_14TH,displayText:"Invite Magazine Contributor"},NEW_MAGAZINE_COVER:{group:o.VENETIA_MAY_11TH,displayText:"New Magazine Cover"},PINNED_FLIP:{group:o.VENETIA_MAR_14TH,displayText:"Pinned Flip"},ITEM_METRIC_DETAIL:{group:o.VENETIA_DEC_13TH,displayText:"Item Metric Details"},NOTIFICATIONS:{group:o.VENETIA_DEC_13TH,displayText:"Notifications"},ADD_TO_MAGAZINE_BUTTON:{group:o.VENETIA_DEC_13TH,displayText:"Add To Magazine Button"},PILL_REMOVAL:{group:o.VENETIA_MAY_11TH,displayText:"Mention Pill Removal"},DISPLAY_COMMENT_BUBBLE:{group:o.VENETIA_FUTURE,displayText:"Display Comment Bubble"},MAGAZINE_SUBSCRIPTIONS:{group:o.VENETIA_FUTURE,displayText:"Magazine Subscriptions"},INCLUDE_JS_EXTERNALS:{group:o.DEV_FLAGS,displayText:"Include JS Externals"},STORYBOARD_RECOMMEND:{group:o.DEV_FLAGS,displayText:"Storyboard Recommend"},TOPIC_VERTICAL_SUBSECTIONS:{group:o.DEV_FLAGS,displayText:"Topic Vertical Subsections"},FORCE_GDPR_APPLIES:{group:o.DEV_FLAGS,displayText:"Force GDPR Applies"},FORCE_USNAT_APPLIES:{group:o.DEV_FLAGS,displayText:"Force USNAT Applies"},WIDGET_TOOL:{group:o.DEV_FLAGS,displayText:"Widget Generator Tool"},WIDGET_TOOL_INLINE:{group:o.DEV_FLAGS,displayText:"Show Widget Tool Inline"},WEB_ADS:{group:o.ADS,displayText:"Web Display Ads (master)"},WEB_ADS_LEADERBOARD:{group:o.ADS,displayText:"Leaderboard Ad (below breadcrumbs)"},WEB_ADS_INFEED:{group:o.ADS,displayText:"In-feed Ad Card (section grids)"},WEB_ADS_ARTICLE_RAIL:{group:o.ADS,displayText:"Article Right Rail Ad"},WEB_ADS_STORYBOARD:{group:o.ADS,displayText:"Storyboard In-body Ad"},WEB_ADS_FLINT:{group:o.ADS,displayText:"flint Header Bidding (web)"},WEB_ADS_IDENTITY:{group:o.ADS,displayText:"Web Ads Identity (PPID + RampID)"},WEB_ADS_INFEED_INTERVAL_3:{group:o.ADS,displayText:"In-feed Ad Interval: every 3 tiles"},WEB_ADS_INFEED_INTERVAL_6:{group:o.ADS,displayText:"In-feed Ad Interval: every 6 tiles"},WEB_ADS_INFEED_INTERVAL_12:{group:o.ADS,displayText:"In-feed Ad Interval: every 12 tiles"},POST_ONBOARDING_FAVORITES:{group:o.AB_TESTS,displayText:"Post Onboarding Favorites"},UNVERIFIED_MESSAGING:{group:o.AB_TESTS,displayText:"Unverified Messaging"},TOPIC_PICKER_CTA:{group:o.AB_TESTS,displayText:"Topic Picker CTA"},PRIVACY_CHANGE_NOTICE:{group:o.AB_TESTS,displayText:"Privacy Change Notice"},FLIP_WIZARD_REWORK:{group:o.AB_TESTS,displayText:"Flip Compose Single Pane"},PACKAGE_MANAGEMENT:{group:o.USER_FEATURES,displayText:"Package Management"},INTERNAL_PACKAGE_MANAGEMENT:{group:o.USER_FEATURES,displayText:"Internal Package Management"},FAST_FLIP:{group:o.USER_FEATURES,displayText:"Fast Flip"},WEB_VITALS_REPORTING:{group:o.DEV_FLAGS,displayText:"Web Vitals Reporting"}},g=function(){return Object.entries(E).reduce((function(e,t){var r=v(t,2),n=r[0],o=r[1];return e.push(n),o.treatmentGroups&&o.treatmentGroups.forEach((function(t){e.push("".concat(n,"_").concat(t.key))}
1)),e}),[])},O=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return g().reduce((function(t,r){return t[r]=e.includes(r),t}),{})},S=O(),A=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:S,t=arguments.length>1?arguments[1]:void 0;return t.type===i.H0.SET?O(t.flags):e},T=function(e){var t=e.filter((function(e){return!(0,u.Z)(e)}));if(a.Z.isDevelopment){var r=g(),n=t.filter((function(e){return!r.find((function(t){return e===t||e.startsWith(t)}))}));n.length>0&&c.ZP.error("You tried to set a feature flag that is unknown (".concat(n,")! Incoming flags: ").concat(t," | Known Flags: ").concat(r))}return{type:i.H0.SET,flags:t}},R=function(){return function(e,t){return e(T([].concat(m(C(t())),m((0,d.IJ)(t())))))}},I=function(){return function(e,t){var r=C(t()),n=Object.keys(s.n).reduce((function(e,n){var o=s.n[n],i=o.id,a=o.groups,c=o.loggedOutOnly,u=function(e){var t=new RegExp("^".concat(s.N,"_[^_]+$"));return Object.keys(e).filter((function(e){return t.test(e)}))}(a);return p(i,a[s.N],c)(t())?e.push(n):u.length>0&&(r=r.filter((function(e){return!e.startsWith(n)})),u.forEach((function(r){var o="".concat(n,"_").concat(r);p(i,a[r],c)(t())&&(e.push(n),e.push(o))}))),e}),[]);e(T([].concat(m(r),m(n))))}},P=function(e){return Object.entries(E).filter((function(t){var r=v(t,2);r[0];return r[1].group===e})).map((function(e){var t=v(e,2),r=t[0];t[1];return r}))},C=function(e){var t=e.featureFlags;return Object.keys(t).reduce((function(e,r){return t[r]&&e.push(r),e}),[])}},55437:function(e,t,r){"use strict";r.d(t,{I6:function(){return i},E1:function(){return a}});var n=r(12933),o=r(75875),i=(0,o.mr)(n.j_,{}),a=((0,o.t8)(n.j_.SET_MAGAZINE_INVITE_TOKEN,"token"),(0,o.t8)(n.j_.SET_MAGAZINE_INVITE_SECTION,"sectionId"),(0,o.t8)(n.j_.SET_INVITE_VALIDATION_ERRORS,"validationErrors"),(0,o.t8)(n.j_.INVITE_MAGAZINE_ACCEPT_LOADING,"pending"))},43210:function(e,t,r){"use strict";r.d(t,{I6:function(){return l},_S:function(){return p},uU:function(){return d},D3:function(){return m},SP:function(){return v},rX:function(){return h},pg:function(){return y}});r(35666),r(43450),r(18178),r(49228),r(58188),r(73439);var n=r(12933),o=r(75875),i=r(83981),a=r(47573),c=r(21681);function u(e,t,r,n,o,i,a){try{var c=e[i](a),u=c.value}catch(e){return void r(e)}c.done?t(u):Promise.resolve(u).then(n,o)}function s(e){return function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(e){u(i,n,o,a,c,"next",e)}function c(e){u(i,n,o,a,c,"throw",e)}a(void 0)}))}}var l=(0,o.mr)(n.MW,{loaded:!1,loading:!1,subscriptions:[]}),f=function(e){return(0,o.t8)(n.MW.SET_MAGAZINE_SUBSCRIPTIONS_LOADING,"loading",e)},p=function(){return function(){var e=s(regeneratorRuntime.mark((function e(t,r,c){var u,s,l,p;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return u=c.flap,e.prev=1,t(f(!0)),s=(0,i.LW)(r()),e.next=6,u.get("/bellnotifications/subscriptions/".concat(s));case 6:l=e.sent,p=l.data.result.results,t((m=p.map((function(e){var t=e.remoteid,r=e.title;return{remoteid:a.ZP.normalizeRemoteid(t),title:r}})),(0,o.t8)(n.MW.SET_MAGAZINE_SUBSCRIPTIONS,"subscriptions",m))),t((d=!0,(0,o.t8)(n.MW.SET_MAGAZINE_SUBSCRIPTIONS_LOADED,"loaded",d)));case 10:return e.prev=10,t(f(!1)),e.finish(10);case 13:case"end":return e.stop()}var d,m}),e,null,[[1,,10,13]])})));return function(t,r,n){return e.apply(this,arguments)}}()},d=function(e){return function(){var t=s(regeneratorRuntime.mark((function t(r,n,o){var a,u,s,l,p,d;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return a=o.flap,t.prev=1,r(f(!0)),u=(0,i.LW)(n()),s=m(n()),l=y(s,e),p=l?"delete":"post",t.next=9,a[p]("/bellnotifications/status/".concat(u,"?rawSections=").concat(_(e)));case 9:return d=l?c.YX:c.$I,t.next=12,r(d(e));case 12:return t.prev=12,r(f(!1)),t.finish(12);case 15:case"end":return t.stop()}}),t,null,[[1,,12,15]])})));return function(e,r,n){return t.apply(this,arguments)}}()},m=function(e){return e.magazineSubscriptions.subscriptions},v=function(e){return e.magazineSubscriptions.loading},h=function(e){return e.magazineSubscriptions.loaded},_=function(e){var t;return a.ZP.normalizeRemoteid((null===(t=e.ssid)||void 0===t?void 0:t.remoteidPlain)||"")},y=function(e,t){return!!e.find((function(e){return e.remoteid===_(t)}))}},52397:function(e,t,r){"use strict";r.d(t,{I6:function(){return S},aK:function(){return A},_L:function(){return T},k9:function(){return R},L1:function(){return P},Dw:function(){return C},TH:function(){return w}});r(35666),r(15735),r(58188),r(6886),r(88233),r(43450),r(95342),r(18178),r(73439),r(34769),r(34115),r(68625),r(1939),r(62775);
1var n=r(12933),o=r(75875),i=r(83981),a=r(41712),c=r(83368),u=r(53122),s=r(84636),l=r.n(s),f=r(8260),p=r(30001),d=r(38255),m=r(39744),v=r(80768);function h(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function _(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?h(Object(r),!0).forEach((function(t){y(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):h(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function y(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function b(e,t,r,n,o,i,a){try{var c=e[i](a),u=c.value}catch(e){return void r(e)}c.done?t(u):Promise.resolve(u).then(n,o)}function E(e){return function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(e){b(i,n,o,a,c,"next",e)}function c(e){b(i,n,o,a,c,"throw",e)}a(void 0)}))}}var g="auth/flipboard/curator%2Fnotifications%2Fgroup",O=function(){if(f.Z.isServer())return 0;var e=(0,u.Do)("markedAsReadAt");return e?parseInt(e,10):0},S=(0,o.mr)(n.GT,{entries:[],loading:!1,loaded:!1,markedAsReadAt:0,unreadCount:0,filterGroup:null}),A=function(){return function(){var e=E(regeneratorRuntime.mark((function e(t,r,o){var i,a,c,s,l,f;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(a=o.flap,c=r(),s=c.notifications.entries,l=null===(i=s[0])||void 0===i?void 0:i.id){e.next=5;break}return e.abrupt("return");case 5:return e.next=7,a.post("social/read",{sectionid:g,oid:l,service:"flipboard"});case 7:f=(new Date).getTime(),(0,u.d7)("markedAsReadAt",f.toString()),t({type:n.GT.SET_NOTIFICATIONS_READ,payload:{unreadCount:0,markedAsReadAt:f}});case 10:case"end":return e.stop()}}),e)})));return function(t,r,n){return e.apply(this,arguments)}}()},T=function(){return function(){var e=E(regeneratorRuntime.mark((function e(t,r){var o,i;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:o=r(),i=o.notifications.entries,t({type:n.GT.SET_NOTIFICATIONS_READ,payload:{entries:i.map((function(e){return _({},e,{read:!0})}))}});case 2:case"end":return e.stop()}}),e)})));return function(t,r){return e.apply(this,arguments)}}()},R=function(){return function(){var e=E(regeneratorRuntime.mark((function e(t,r,i){var a,c,u,s,l,f;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a=i.flap,e.next=3,a.get("/social/unreadCount",{params:{service:"flipboard"}});case 3:return c=e.sent,u=c.data,s=u.success,l=u.unreadcounts,f=!0===s&&l[g]||0,t((0,o.t8)(n.GT.SET_NOTIFICATIONS_UNREAD_COUNT,"unreadCount",f)),e.abrupt("return",f);case 10:case"end":return e.stop()}}),e)})));return function(t,r,n){return e.apply(this,arguments)}}()},I=function(e){switch(e){case p.t7.SOCIAL:return"auth/flipboard/curator/notifications/tab/activity";case p.t7.CONTENT:return"auth/flipboard/curator/notifications/tab/content";default:return g}},P=function(){return(0,o.t8)(n.GT.GET_NOTIFICATIONS,"entries",[])},C=function(e){return(0,o.t8)(n.GT.SET_NOTIFICATIONS_GROUP,"filterGroup",e)},w=function(e,t){return function(){var r=E(regeneratorRuntime.mark((function r(o,u,s){var f,p,h,y,b,E,g,S,A;return regeneratorRuntime.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return f=s.flap,o({type:n.GT.GET_NOTIFICATIONS,payload:{loading:!0}}),r.next=4,(0,a.Z)(f,(0,i.LW)(u()),_({sections:I(e),refresh:"yes",limit:d.m},t&&{pageKey:t}));case 4:p=r.sent,h=u(),y=h.notifications,b=y.entries,E=y.unreadCount,g=y.markedAsReadAt,S=g||O(),A=p.data.stream.filter(c.Hk),o({type:n.GT.GET_NOTIFICATIONS_SUCCESS,payload:{loading:!1,entries:l()(b.concat(A.map((function(e,t){return _({},(n=(r=e).id,o=r.userid,i=r.text,a=r.dateCreated,c=r.notificationType,u=r.authorDescription,s=r.authorDisplayName,l=r.authorImage,f=r.authorUsername,p=r.sectionLinks,d=r.referredByItems,h=r.sectionID,y=r.contentImage,b=r.actionURL,g=r.service,O=null==p?void 0:p.map((function(e){return v.Z.projection(e)})),A=null==d?void 0:d.map((function(e){return(0,m.CJ)(e,(null==O?void 0:O[0])||null,!0)})),T=(null==A?void 0:A[0].image)||y,{id:n,actionURL:b,text:i,dateCreated:a,notificationType:c,author:{authorDescription:u,authorDisplayName:s,authorImage:l,authorUsername:f,userid:o,service:g,username:f},sectionLinks:O,referredByItems:A,read:!0,sectionID:h,image:T}),{read:S>0?e.dateCreated<S/1e3:E<=t});var r,n,o,i,a,c,u,s,l,f,p,d,h,y,b,g,O,A,T}))),(function(e){return e.id})).sort((function(e,t){return e.dateCreated<t.dateCreated?1:-1}))}});case 9:case"end":return r.stop()}}),r)})));return function(e,t,n){return r.apply(this,arguments)}}()}},3557:function(e,t,r){"use strict";r.d(t,{I6:function(){return p},Qo:function(){return d},Gm:function(){return m},LN:function(){return v},Jw:function(){return h},zR:function(){return _},Eo:function(){return y},Ye:function(){return b},qy:function(){return E},$u:function(){return g},Xk:function(){return O},E4:function(){return S},Aq:function(){return A},lk:function(){return T},jZ:function(){return R},Od:function(){return I},S9:function(){return C}});r(58188),r(73439),r(35666);var n,o=r(75875),i=r(12933),a=r(22749),c=r(30001),u=r(35616),s=r(83981);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function f(e,t,r,n,o,i,a){try{var c=e[i](a),u=c.value}catch(e){return void r(e)}c.done?t(u):Promise.resolve(u).then(n,o)}var p=(0,o.mr)(i.HZ,{data:null,success:!1,pending:!1,flow:null,currentStep:null},i.HZ.RESET_ONBOARDING),d=function(e,t){return function(){var r,n=(r=regeneratorRuntime.mark((function r(n){return regeneratorRuntime.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,n(b());case 2:t&&n(h(t)),n((0,o.t8)(i.HZ.SET_ONBOARDING_FLOW,"flow",e));case 4:case"end":return r.stop()}}),r)})),function(){var e=this,t=arguments;return new Promise((function(n,o){var i=r.apply(e,t);function a(e){f(i,n,o,a,c,"next",e)}function c(e){f(i,n,o,a,c,"throw",e)}a(void 0)}))});return function(e){return n.apply(this,arguments)}}()},m=function(e){return function(t,r){var n=r().onboarding,o=n.success,i=n.pending,a=n.data;
1t(d(e)),t(_(o)),t(y(i)),t(h(a))}},v=function(e){return(0,o.t8)(i.HZ.SET_CURRENT_ONBOARDING_STEP,"currentStep",e)},h=function(e){return(0,o.t8)(i.HZ.SET_ONBOARDING_DATA,"data",e)},_=function(e){return(0,o.t8)(i.HZ.SET_ONBOARDING_SUCCESS,"success",e)},y=function(e){return(0,o.t8)(i.HZ.SET_ONBOARDING_PENDING,"pending",e)},b=function(){return(0,o.dt)(i.HZ.RESET_ONBOARDING)},E=function(e){return function(t,r){var n=(0,s.$8)(r());e.invite&&t(d(n?c.XX.ACCEPT_MAGAZINE_INVITE_AUTHENTICATED_NEW:c.XX.ACCEPT_MAGAZINE_INVITE_UNAUTHENTICATED_NEW,{magazineInviteSection:e}))}},g=function(e){return function(t,r){var n=(0,s.$8)(r()),o=A(r());e.invite&&(n?null!=o&&o.acceptMagazineInviteConsented?t(m(c.XX.ACCEPT_MAGAZINE_INVITE_AUTHENTICATED_OLD)):t(d(c.XX.ACCEPT_MAGAZINE_INVITE_AUTHENTICATED_OLD,{magazineInviteSection:e})):t(d(c.XX.ACCEPT_MAGAZINE_INVITE_UNAUTHENTICATED_OLD,{magazineInviteSection:e})))}},O=function(e){return e.onboarding.flow},S=function(e){return e.onboarding.currentStep},A=function(e){return e.onboarding.data},T=function(e){return e.onboarding.success},R=function(e){return e.onboarding.pending},I=function(e){var t=e.app,r=e.profile,n=(0,s.$8)(e),o=t.isFromConfirmation,i=null==r?void 0:r.userInfo,a=(0,u.XY)(e);return n&&o&&(null==i?void 0:i.frictionless)&&a},P=(l(n={},c.go.HOMEPAGE,a.QQ.FRICTIONLESS_HOMEPAGE_SIGNUP),l(n,c.go.NEWSLETTER,a.QQ.FRICTIONLESS_NEWSLETTER_SIGNUP),l(n,c.go.NEWSLETTERS,a.QQ.FRICTIONLESS_NEWSLETTERS_SIGNUP),l(n,c.go.TOPIC,a.QQ.FRICTIONLESS_TOPIC_SIGNUP),l(n,c.go.INVITE,a.QQ.FRICTIONLESS_INVITE_SIGNUP),l(n,c.go.MAIN_SIGNUP,a.QQ.FRICTIONLESS_MAIN_SIGNUP),l(n,c.go.ACTION_GATE,a.QQ.FRICTIONLESS_ACTION_GATE_SIGNUP),n),C=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return e?e===c.go.ACTION_GATE?a.QQ["FRICTIONLESS_ACTION_GATE_".concat(t,"_SIGNUP")]||a.QQ.FRICTIONLESS_ACTION_GATE_SIGNUP:P[e]||null:null}},77070:function(e,t,r){"use strict";r.d(t,{I6:function(){return i},ls:function(){return c},E:function(){return u}});r(58188),r(73439),r(35666);var n=r(75875),o=r(12933);var i=(0,n.mr)(o.BC,{data:null}),a=function(e){return(0,n.t8)(o.BC.SET_SHARED_LINK_DATA,"data",e)},c=function(){return a(null)},u=function(e){return e.sharedLinkData.data}},51362:function(e,t,r){"use strict";r.d(t,{I6:function(){return m},NH:function(){return h},KX:function(){return _},F6:function(){return y},Ln:function(){return b},on:function(){return E}});r(35666),r(95342),r(18178),r(34769),r(34115),r(68625),r(1939),r(62775),r(58188),r(73439);var n=r(12933),o=r(75875),i=r(41626),a=r(47741);function c(e,t,r,n,o,i,a){try{var c=e[i](a),u=c.value}catch(e){return void r(e)}c.done?t(u):Promise.resolve(u).then(n,o)}function u(e){return function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(e){c(i,n,o,a,u,"next",e)}function u(e){c(i,n,o,a,u,"throw",e)}a(void 0)}))}}function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?s(Object(r),!0).forEach((function(t){f(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):s(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function f(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var p={items:[],options:{limit:-1,offset:-1,order:"none"},available:0},d={loading:!1,index:{loaded:!1,types:{topics:p,profiles:p,storyboards:p}},page:l({loaded:!1},p)},m=(0,o.mr)(n.L3,d),v=function(e){return function(t){return e(t.sitemap||d)}},h=v((function(e){return e.loading})),_=v((function(e){return e.index})),y=v((function(e){return e.page})),b=function(){return function(){var e=u(regeneratorRuntime.mark((function e(t,r,c){var u,s,l;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return u=c.sitemap,t((0,o.t8)(n.L3.LOADING,"loading",!0)),e.prev=2,e.next=5,u.get("/");case 5:s=e.sent,l=s.data,t((0,o.t8)(n.L3.GET_INDEX_SUCCESS,"index",{loaded:!0,types:l})),t((0,i.pz)({sitemapIndex:!0})),e.next=15;break;case 11:e.prev=11,e.t0=e.catch(2),t((0,o.t8)(n.L3.GET_INDEX_FAILURE,"index",d.index)),a.Z.captureException(e.t0);case 15:return e.prev=15,t((0,o.t8)(n.L3.LOADING,"loading",!1)),e.finish(15);case 18:case"end":return e.stop()}}
1),e,null,[[2,11,15,18]])})));return function(t,r,n){return e.apply(this,arguments)}}()},E=function(e){return function(){var t=u(regeneratorRuntime.mark((function t(r,c,u){var s,f,p,m,v,h;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return s=u.sitemap,r((0,o.t8)(n.L3.LOADING,"loading",!0)),t.prev=2,f=e.type,p=e.filter,m=e.page,r((0,i.pz)({sitemapPage:!0,type:f,filter:p,page:m})),f&&(p||(p="a"),m||(m=1)),t.next=9,s.get("/".concat(f,"/").concat(p,"/").concat(m));case 9:v=t.sent,h=v.data,r((0,o.t8)(n.L3.GET_PAGE_SUCCESS,"page",l({loaded:!0},h))),t.next=18;break;case 14:t.prev=14,t.t0=t.catch(2),r((0,o.t8)(n.L3.GET_PAGE_FAILURE,"page",d.page)),a.Z.captureException(t.t0);case 18:return t.prev=18,r((0,o.t8)(n.L3.LOADING,"loading",!1)),t.finish(18);case 21:case"end":return t.stop()}}),t,null,[[2,14,18,21]])})));return function(e,r,n){return t.apply(this,arguments)}}()}},61312:function(e,t,r){"use strict";r.d(t,{I6:function(){return E},BN:function(){return A},oY:function(){return T},SZ:function(){return P},tq:function(){return C},gW:function(){return w}});r(35666),r(39529),r(31235),r(18178),r(1939),r(15735),r(58188),r(6886),r(43450),r(67890),r(49228),r(34769),r(34115),r(95342),r(68625),r(62775),r(634),r(20796),r(28673),r(27233),r(32501),r(26936),r(73439);var n=r(76635),o=r(83368),i=r(63229),a=r(12933),c=r(83981),u=r(39744),s=r(75875),l=r(7799);function f(e,t,r,n,o,i,a){try{var c=e[i](a),u=c.value}catch(e){return void r(e)}c.done?t(u):Promise.resolve(u).then(n,o)}function p(e){return function(e){if(Array.isArray(e))return d(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return d(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return d(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function d(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function m(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function v(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?m(Object(r),!0).forEach((function(t){h(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):m(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function h(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var _={},y={commentCount:0,shareCount:0,likeCount:0,isLiked:!1,global:{commentCount:0,shareCount:0,likeCount:0}},b=(0,s.mr)(a.yi,_,a.yi.RESET_SOCIAL_ACTIVITY),E=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:_,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case a.yi.LIKE_ITEM_PENDING:case a.yi.LIKE_ITEM_FAILED:case a.yi.LIKE_ITEM_SUCCEEDED:case a.yi.UNLIKE_ITEM_PENDING:case a.yi.UNLIKE_ITEM_FAILED:case a.yi.UNLIKE_ITEM_SUCCEEDED:var r=t.payload.flipboardSocialId,n=!1,o=e[r]?v({},e[r]):v({},y);return n=[a.yi.LIKE_ITEM_PENDING,a.yi.UNLIKE_ITEM_PENDING,a.yi.LIKE_ITEM_FAILED,a.yi.UNLIKE_ITEM_FAILED].includes(t.type)?!o.isLiked:!!o.isLiked,o.isLiked=n,v({},e,h({},r,o))}return b(e,t)},g=0,O=[],S=function(e){return function(t){O=(0,n.uniq)(O.concat(e)),(0,l.Z)().clearTimeout(g),g=(0,l.Z)().setTimeout((function(){(0,n.chunk)(O,64).forEach((function(e){return t(R(e))})),O=[]}),100)}},A=function(e){return function(t){return t(S([e.flipboardSocialId]))}},T=function(){return function(e,t){var r=t(),o=r.articles.articlesByRemoteId,i=r.socialActivity,a=r.sections.entries,c=r.accessorySections,s=(0,n.flattenDeep)(Object.values(c).map((function(e){return Object.values(e)}))),l=[].concat(p(a),p(s)),f=(0,n.flatMap)(l,(function(e){return e.items})).reduce((function(e,t){var r=(0,u.Ay)(t);return r&&!i[r]&&e.push(r),e}),[]);
1Object.values(o).forEach((function(e){e.flipboardSocialId&&f.push(e.flipboardSocialId)})),e(S(f))}},R=function(e){return function(){var t,r=(t=regeneratorRuntime.mark((function t(r,n,o){var i,a,u,s,l;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(i=o.flap,a=(0,c.LW)(n()),u={oid:e,userid:a},!(e&&e.length>0)){t.next=11;break}return t.next=6,i.get("/social/activity",{params:u});case 6:if(s=t.sent,l=s.data){t.next=10;break}return t.abrupt("return");case 10:r(I(l.items));case 11:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(e){f(i,n,o,a,c,"next",e)}function c(e){f(i,n,o,a,c,"throw",e)}a(void 0)}))});return function(e,t,n){return r.apply(this,arguments)}}()},I=function(e){return function(t,r){var c=r(),u=c.socialActivity,s=c.auth.uid,l=v({},u);e.forEach((function(e){var t=v({},y,{},u[e.id],{},(0,n.pick)(e,["global","commentCount","shareCount","likeCount"]),{isLiked:!!e.commentary.find((function(e){return(0,o.Z0)(e)&&(0,i.Z)(e.userid,s)}))});l[e.id]=t})),t({type:a.yi.SET_SOCIAL_ACTIVITY,payload:l})}},P=function(){return(0,s.dt)(a.yi.RESET_SOCIAL_ACTIVITY)},C=function(e,t){return t[e]||y},w=function(e,t,r){var n=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o=C(null==e?void 0:e.flipboardSocialId,t),i=(n?o.global[r]:o[r])||0;return i>0?i:null}},96331:function(e,t,r){"use strict";r.d(t,{I6:function(){return l},N$:function(){return p},IJ:function(){return d}});r(35666),r(34769),r(95342),r(58188),r(73439);var n,o=r(47741),i=r(12933),a=r(75875);function c(e,t,r,n,o,i,a){try{var c=e[i](a),u=c.value}catch(e){return void r(e)}c.done?t(u):Promise.resolve(u).then(n,o)}function u(e){return function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(e){c(i,n,o,a,u,"next",e)}function u(e){c(i,n,o,a,u,"throw",e)}a(void 0)}))}}!function(e){e.PACKAGE_MANAGEMENT="PACKAGE_MANAGEMENT",e.INTERNAL_PACKAGE_MANAGEMENT="INTERNAL_PACKAGE_MANAGEMENT",e.FAST_FLIP="FAST_FLIP"}(n||(n={}));var s,l=(0,a.mr)(i.iy,{PACKAGE_MANAGEMENT:!1,INTERNAL_PACKAGE_MANAGEMENT:!1,FAST_FLIP:!1});!function(e){e[e.packageManagement=n.PACKAGE_MANAGEMENT]="packageManagement",e[e.internalPackageManagement=n.INTERNAL_PACKAGE_MANAGEMENT]="internalPackageManagement",e[e.fastFlip=n.FAST_FLIP]="fastFlip"}(s||(s={}));var f=function(){var e=u(regeneratorRuntime.mark((function e(t,r){var i,a,c;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(i=Object.keys(n).reduce((function(e,t){return e[t]=!1,e}),{}),e.prev=1,0!==t){e.next=4;break}return e.abrupt("return",i);case 4:return e.next=6,r.get("/flipboard/userFeatures/".concat(t));case 6:if(a=e.sent,c=a.data.features){e.next=10;break}return e.abrupt("return",i);case 10:return e.abrupt("return",Object.keys(c).reduce((function(e,t){var r=t;return e[s[r]]=c[r],e}),{}));case 13:return e.prev=13,e.t0=e.catch(1),o.Z.captureException(e.t0),e.abrupt("return",i);case 17:case"end":return e.stop()}}),e,null,[[1,13]])})));return function(t,r){return e.apply(this,arguments)}}(),p=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return function(){var t=u(regeneratorRuntime.mark((function t(r,n,a){var c,u;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return c=a.flap,t.prev=1,t.next=4,f(e,c);case 4:u=t.sent,r({type:i.iy.SET_USER_FEATURES,payload:u}),t.next=11;break;case 8:t.prev=8,t.t0=t.catch(1),o.Z.captureException(t.t0);case 11:case"end":return t.stop()}}),t,null,[[1,8]])})));return function(e,r,n){return t.apply(this,arguments)}}()},d=function(e){var t=e.userFeatures;return Object.keys(t).filter((function(e){return t[e]}))}},45828:function(e,t,r){"use strict";r(43105);var n=r(75007),o=r(79489);t.Z=Object.assign({},n.Z,{VERSION:"2.0.0",HOME_PAGE_DESCRIPTION:"Flipboard curates the world's stories so you can focus on investing in yourself, staying informed, and getting involved. With curated packages that offer insights and inspiration for any interest, Flipboard will make you feel like you’ve spent your time well.",ABOUT_BASE_URL:"https://about.flipboard.com",HELP_CENTER_URL:"https://flipboard.helpshift.com/hc/en/",APP_STORE_URL_FOR_BANNER_AMP:"https://app.adjust.com/t8vlfi5",APP_STORE_URL_FOR_BANNER:"https://app.adjust.com/hpmhk0i",APP_STORE_URL_FOR_HOME_AMP:"https://app.adjust.com/1cf0nu",APP_STORE_URL_FOR_HOME:"https://app.adjust.com/j6wmd5e",APP_STORE_URL_FOR_NAV_AMP:"https://app.adjust.com/gagbw58",APP_STORE_URL_FOR_NAV:"https://app.adjust.com/f9ozcyo",APP_STORE_URL_FOR_NAV_NGL:"https://app.adjust.com/a31qn2h",APP_STORE_URL_FOR_NAV_NGL_PROMOTED:"https://app.adjust.com/xgw09xb",APP_STORE_URL_FOR_SOCIAL_GATE:"https://app.adjust.com/hqzh2fm",APP_STORE_URL_FOR_MOBILE_GATE:"https://app.adjust.com/lq23xzl",APP_STORE_URL_FOR_SIGNUP_CTA:"https://app.adjust.com/gxsr2bb",APP_STORE_URL_FOR_DESKTOP_APPLE:"https://app.adjust.com/ek5qk69?redirect=https%3A%2F%2Fapps.apple.com%2Fus%2Fapp%2Fflipboard-latest-stories%2Fid358801284%23%3Fplatform%3Diphone",APP_STORE_URL_FOR_DESKTOP_GOOGLE:"https://app.adjust.com/o5mhwuy?redirect=https%3A%2F%2Fplay.google.com%2Fstore%2Fapps%2Fdetail
1s%3Fid%3Dflipboard.app%26hl%3Den_US%26gl%3DUS",GA_TRACKING_ID:"UA-39724124-2",SHARE_DEFAULT_IMAGE_URL:"https://cdn.flipboard.com/itemshare/Logo-250X250.png",STATIC_FAVICON_URL:"https://s.flipboard.com/webapp/images/favicon",HOME_SECTION_ORDER:["News","Entertainment","Technology","Travel","Food","Sports","Flipboard TV"],DEFAULT_SECTIONS:[{path:"/@storyboards/us-storyboards-jl2f9vsjz",remoteid:"sid/jl2f9vsjz/storyboards",title:"Storyboards",locale:"en_US"},{remoteid:"flipboard/topstories/groupid/tv",title:"Flipboard TV",locale:"en_US",path:"/section/flipboard%2Ftopstories%2Fgroupid%2Ftv"},{title:"Technology",topicTag:"technology",remoteid:"flipboard/topic%2Ftechnology",path:"/topic/technology"},{title:"News",topicTag:"news",remoteid:"flipboard/topic%2Fnews",path:"/topic/news"},{title:"Entertainment",topicTag:"entertainment",remoteid:"flipboard/topic%2Fentertainment",path:"/topic/entertainment"},{title:"Design",topicTag:"design",remoteid:"flipboard/topic%2Fdesign",path:"/topic/design"},{title:"Health",topicTag:"health",remoteid:"flipboard/topic%2Fhealth",path:"/topic/health"},{title:"Food",topicTag:"food",remoteid:"flipboard/topic%2Ffood",path:"/topic/food"},{title:"Travel",topicTag:"travel",remoteid:"flipboard/topic%2Ftravel",path:"/topic/travel"},{title:"Sports",topicTag:"sports",remoteid:"flipboard/topic%2Fsports",path:"/topic/sports"}],ACTIVE_UID_EXPERIMENTS:[o.n.FLIP_WIZARD_REWORK.id],ACTIVE_UNIQUE_ID_EXPERIMENTS:[o.n.POST_ONBOARDING_FAVORITES.id,o.n.UNVERIFIED_MESSAGING.id,o.n.TOPIC_PICKER_CTA.id,o.n.PRIVACY_CHANGE_NOTICE.id],FOR_YOU_FEED_REMOTE_ID:"sid/9c5m2uqk25jki1at",COVER_STORIES_REMOTE_ID:"flipboard/coverstories",POST_ACTIVATION_AUTO_FOLLOW_REMOTE_IDS:["sid/5rjsrb93z/flipboard"],MAX_AVATAR_UPLOAD_SIZE:16384e3,HOME_FEED_ITEM_LIMIT:12,PWA_MANIFEST_URL:"".concat(n.Z.FLIPBOARD_URL,"/manifest.webmanifest")})},43734:function(e,t,r){"use strict";var n=r(27318),o=r(45828);t.Z=(0,n.d)(o.Z.ACTIVE_UID_EXPERIMENTS,o.Z.ACTIVE_UNIQUE_ID_EXPERIMENTS)},91588:function(e,t,r){"use strict";r.d(t,{w7:function(){return n},ad:function(){return l}});r(43450),r(34769),r(34115),r(95342),r(68625),r(1939),r(62775);var n,o=r(31975);function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function a(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach((function(t){c(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function c(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}!function(e){e.HOME="HOME",e.SECTION="SECTION",e.ARTICLE="ARTICLE",e.SEARCH="SEARCH",e.PROFILE="PROFILE",e.NEWSLETTERS="NEWSLETTERS",e.INVITE="INVITE",e.AUTH="AUTH",e.UNSPECIFIED="UNSPECIFIED"}(n||(n={}));var u={component:function(){return(0,o.Z)("SectionRouteContainer")},type:n.SECTION,preload:"section"},s={component:function(){return(0,o.Z)("ArticleRouteContainer")},type:n.ARTICLE,preload:"article"},l={path:"*",component:function(){return(0,o.Z)("ErrorView")},exact:!1,private:!1,preload:void 0,type:n.UNSPECIFIED},f=[{path:"/",component:function(){return(0,o.Z)("HomeRouteContainer")},type:n.HOME,preload:"home",exact:!0},{path:"/sitemap/:type/:filter/:page",component:function(){return(0,o.Z)("SitemapPage")},preload:"sitemap-page"},{path:"/sitemap/:type/:filter",component:function(){return(0,o.Z)("SitemapPage")},preload:"sitemap-page"},{path:"/sitemap/:type",component:function(){return(0,o.Z)("SitemapPage")},preload:"sitemap-page"},{path:"/sitemap",component:function(){return(0,o.Z)("SitemapIndex")},preload:"sitemap-index",exact:!0},{path:"/account/emailSettings",component:function(){return(0,o.Z)("EmailSettingsView")},exact:!0},{path:"/newsletters",component:function(){return(0,o.Z)("NewslettersRouteContainer")},type:n.NEWSLETTERS,preload:"newsletters",exact:!0},{path:"/newsletters/:key",component:function(){return(0,o.Z)("NewslettersLandingRouteContainer")},type:n.NEWSLETTERS,preload:"newsletters-landing",exact:!0},a({path:"/profile/storyboards"},u,{exact:!0}),{path:"/@:username/:slug/widget",component:function(){return(0,o.Z)("WidgetRouteContainer")},preload:"section",exact:!0},a({path:"/@:username/storyboards"},u,{exact:!0}),{path:"/@:username/storyboards/:storyboardId/edit",component:function(){return(0,o.Z)("CuratorProStoryboardRouteContainer")},private:!0},{path:"/@:username/magazines/:magazineId/edit",component:function(){return(0,o.Z)("CuratorProMagazineRouteContainer")},private:!0},{path:"/@:username/storyboards/:storyboardId/analytics",component:function(){return(0,o.Z)("StoryboardAnalyticsRouteContainer")},exact:!0,private:!0},{path:"/@:username/magazines/:magazineId/analytics",component:function(){return(0,o.Z)("MagazineAnalyticsRouteContainer")},exact:!0},{path:"/@:username/campaigns/:campaignId/edit",component:function(){return(0,o.Z)("CuratorProCampaignRouteContainer")},private:!0},a({path:"/article/:articleTitle/:sourceURLKey"},s),a({path:"/article/:sourceURL"},s),a({path:"/section/:slug/:articleTitle/:sourceURLKey"},s),a({path:"/service/:service/:articleTitle/:sourceURLKey"},s),a({path:"/@:username/:slug/:articleTitle/:sourceURLKey"},s),a({path:"/@:username/:articleTitle/:sourceURLKey"},s),a({path:"/@:username/:slug"},u),a({path:"/@:username"},u),a({path:"/section/sid/:sid"},u,{sectionSlugRoute:!0}),a({path:"/section/:slug"},u,{sectionSlugRoute:!0}),a({path:"/section"},u),{path:"/profile",component:function(){return(0,o.Z)("ProfileRouteContainer")},preload:"profile",private:!0},{path:"/analytics",component:function(){return(0,o.Z)("HomeAnalyticsRouteContainer")},private:!0},{path:"/settings",component:function(){return(0,o.Z)("SettingsRouteContainer")},preload:"settings",private:!0},{path:"/following",component:function(){return(0,o.Z)("FollowingRouteContainer")},preload:"following",private:!0},{path:"/directory",component:function(){return(0,o.Z)("DirectoryRouteContainer")},type:n.UNSPECIFIED,preload:"directory",exact:!0},{path:"/search/:q",component:function(){return(0,o.Z)("SearchRouteContainer")},type:n.SEARCH,preload:"search"},{path:"/video-player/:source",component:function(){return(0,o.Z)("EmbeddableHtmlVideoPlayerView")}},{path:"/embed-tool",component:function(){return(0,o.Z)("EmbedToolView")},exact:!0},{path:"/content_unavailable",component:function(){return(0,o.Z)("ErrorView")},exact:!0},a({path:"/video/*"},s),a({path:"/:shortcut/:shortcutId/:articleTitle/:sourceURLKey"},s),a({path:"/:shortcut/:shortcutId"},u),{path:"/signup",type:n.AUTH,component:function(){return(0,o.Z)("SignupRouteContainer")},preload:"signup",exact:!0},{path:["/publisher_signup","/publisher-signup"],type:n.AUTH,component:function(){return(0,o.Z)("PublisherSignupRouteContainer")},exact:!0},{path:"/login",type:n.AUTH,component:function(){return(0,o.Z)("LoginRouteContainer")},preload:"login",exact:!0},{path:"/logout",component:function(){return(0,o.Z)("Logout")},exact:!0},{path:"/forgot-username",type:n.AUTH,component:function(){return(0,o.Z)("ForgotUsernameContainer")},exact:!0},{path:"/forgot-password",type:n.AUTH,component:function(){return(0,o.Z)("ForgotPasswordContainer")},exact:!0},{path:"/reset-password",type:n.AUTH,component:function(){return(0,o.Z)("ResetPasswordContainer")},exact:!0},{path:["/request_login_link","/request-login-link"],type:n.AUTH,component:function(){return(0,o.Z)("RequestLoginLinkContainer")}},{path:"/invite",component:function(){return(0,o.Z)("ShareLanding")},type:n.INVITE,exact:!0},{path:["/donotsellmyinfo","/do-not-sell-my-info","/privacy-settings","/data-protection-settings"],component:function(){return(0,o.Z)("PrivacySettings")},exact:!0},{path:["/tools","/social-plugins"],component:function(){return(0,o.Z)("EmbedTools")},exact:!0},l];t.ZP=f.map((function(e){return a({exact:!1,private:!1,type:n.UNSPECIFIED,preload:void 0},e)}))},79489:function(e,t,r){"use strict";function n(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}r.d(t,{N:function(){return o},n:function(){return i}});var o="experiment",i={POST_ONBOARDING_FAVORITES:{id:733,groups:n({control_1:1,control_2:2},o,3),loggedOutOnly:!1},UNVERIFIED_MESSAGING:{id:779,groups:n({control_1:1,control_2:2},o,3),loggedOutOnly:!1},TOPIC_PICKER_CTA:{id:834,groups:n({control_1:1,control_2:2},o,3),loggedOutOnly:!1},PRIVACY_CHANGE_NOTICE:{id:839,groups:n({},o,1),loggedOutOnly:!1},FLIP_WIZARD_REWORK:{id:855,groups:n({control_1:1,control_2:2},o,3),loggedOutOnly:!1}}},31975:function(e,t,r){"use strict";var n=r(15735),o=r.n(n),i=r(58188),a=r.n(i),c=r(73439),u=r.n(c),s=r(28673),l=r.n(s),f=r(6886),p=r.n(f),d=r(24463),m={ArticleRouteContainer:{resolved:{},chunkName:function(){return"app-route-containers-article"},isReady:function(e){var t=this.resolve(e);return!0===this.resolved[t]&&!!r.m[t]},importAsync:function(){return Promise.all([r.e(8983),r.e(735),r.e(3172),r.e(2181),r.e(6973),r.e(3146),r.e(8865),r.e(2750),r.e(1145),r.e(2522),r.e(2293),r.e(7991)]).then(r.bind(r,84742))},requireAsync:function(e){var t=this,r=this.resolve(e);return this.resolved[r]=!1,this.importAsync(e).then((function(e){return t.resolved[r]=!0,e}))},requireSync:function e(t){var n=this.resolve(t);return r(n)},resolve:function e(){return 84742}},BrowserTools:{resolved:{},chunkName:function(){return"app-components-embed-tool-browser-tools"},isReady:function(e){var t=this.resolve(e);return!0===this.resolved[t]&&!!r.m[t]},importAsync:function(){return r.e(7271).then(r.bind(r,29879))},requireAsync:function(e){var t=this,r=this.resolve(e);return this.resolved[r]=!1,this.importAsync(e).then((function(e){return t.resolved[r]=!0,e}))},requireSync:function e(t){var n=this.resolve(t);return r(n)},resolve:function e(){return 29879}},CampaignTile:{resolved:{},chunkName:function(){return"app-components-campaign-tile"},isReady:function(e){var t=this.resolve(e);return!0===this.resolved[t]&&!!r.m[t]},importAsync:function(){return r.e(637).then(r.bind(r,11062))},requireAsync:function(e){var t=this,r=this.resolve(e);return this.resolved[r]=!1,this.importAsync(e).then((function(e){return t.resolved[r]=!0,e}))},requireSync:function e(t){var n=this.resolve(t);return r(n)},resolve:function e(){return 11062}},Comments:{resolved:{},chunkName:function(){return"app-components-comments"},isReady:function(e){var t=this.resolve(e);return!0===this.resolved[t]&&!!r.m[t]},importAsync:function(){return Promise.all([r.e(6572),r.e(735),r.e(3146),r.e(8865),r.e(3922),r.e(7277)]).then(r.bind(r,96694))},requireAsync:function(e){var t=this,r=this.resolve(e);return this.resolved[r]=!1,this.importAsync(e).then((function(e){return t.resolved[r]=!0,e}))},requireSync:function e(t){var n=this.resolve(t);return r(n)},resolve:function e(){return 96694}},CreateMagazineModal:{resolved:{},chunkName:function(){return"app-containers-create-magazine"},isReady:function(e){var t=this.resolve(e);return!0===this.resolved[t]&&!!r.m[t]},importAsync:function(){return Promise.all([r.e(8676),r.e(9852),r.e(8022)]).then(r.bind(r,9852))},requireAsync:function(e){var t=this,r=this.resolve(e);return this.resolved[r]=!1,this.importAsync(e).then((function(e){return t.resolved[r]=!0,e}))},requireSync:function e(t){var n=this.resolve(t);return r(n)},resolve:function e(){return 9852}},CroppedImage:{resolved:{},chunkName:function(){return"app-components-base-cropped-image"},isReady:function(e){var t=this.resolve(e);return!0===this.resolved[t]&&!!r.m[t]},importAsync:function(){return r.e(7881).then(r.bind(r,87491))},requireAsync:function(e){var t=this,r=this.resolve(e);return this.resolved[r]=!1,this.importAsync(e).then((function(e){return t.resolved[r]=!0,e}))},requireSync:function e(t){var n=this.resolve(t);return r(n)},resolve:function e(){return 87491}},CuratorProMagazineRouteContainer:{resolved:{},chunkName:function(){return"app-route-containers-curator-pro-magazine"},isReady:function(e){var t=this.resolve(e);return!0===this.resolved[t]&&!!r.m[t]},importAsync:function(){return Promise.all([r.e(8983),r.e(735),r.e(3172),r.e(2181),r.e(6973),r.e(3146),r.e(8865),r.e(2750),r.e(8676),r.e(5160),r.e(1534),r.e(1206)]).then(r.bind(r,26628))},requireAsync:function(e){var t=this,r=this.resolve(e);return this.resolved[r]=!1,this.importAsync(e).then((function(e){return t.resolved[r]=!0,e}))},requireSync:function e(t){var n=this.resolve(t);return r(n)},resolve:function e(){return 26628}},CuratorProStoryboardRouteContainer:{resolved:{},chunkName:function(){return"app-route-containers-curator-pro-storyboard"},isReady:function(e){var t=this.resolve(e);return!0===this.resolved[t]&&!!r.m[t]},importAsync:function(){return Promise.all([r.e(8983),r.e(236),r.e(735),r.e(6973),r.e(8676),r.e(6410),r.e(1249),r.e(5160),r.e(1534),r.e(4354),r.e(160),r.e(6563)]).then(r.bind(r,64824))},requireAsync:function(e){var t=this,r=this.resolve(e);return this.resolved[r]=!1,this.importAsync(e).then((function(e){return t.resolved[r]=!0,e}))},requireSync:function e(t){var n=this.resolve(t);return r(n)},resolve:function e(){return 64824}}
1,CuratorProCampaignRouteContainer:{resolved:{},chunkName:function(){return"app-route-containers-curator-pro-edit-campaign"},isReady:function(e){var t=this.resolve(e);return!0===this.resolved[t]&&!!r.m[t]},importAsync:function(){return Promise.all([r.e(735),r.e(6973),r.e(8676),r.e(1249),r.e(5160),r.e(1534),r.e(4354),r.e(9485)]).then(r.bind(r,80659))},requireAsync:function(e){var t=this,r=this.resolve(e);return this.resolved[r]=!1,this.importAsync(e).then((function(e){return t.resolved[r]=!0,e}))},requireSync:function e(t){var n=this.resolve(t);return r(n)},resolve:function e(){return 80659}},DirectoryRouteContainer:{resolved:{},chunkName:function(){return"app-route-containers-directory"},isReady:function(e){var t=this.resolve(e);return!0===this.resolved[t]&&!!r.m[t]},importAsync:function(){return r.e(5615).then(r.bind(r,31610))},requireAsync:function(e){var t=this,r=this.resolve(e);return this.resolved[r]=!1,this.importAsync(e).then((function(e){return t.resolved[r]=!0,e}))},requireSync:function e(t){var n=this.resolve(t);return r(n)},resolve:function e(){return 31610}},DevelopmentStuff:{resolved:{},chunkName:function(){return"app-components-development-stuff"},isReady:function(e){var t=this.resolve(e);return!0===this.resolved[t]&&!!r.m[t]},importAsync:function(){return Promise.all([r.e(8676),r.e(7956)]).then(r.bind(r,3559))},requireAsync:function(e){var t=this,r=this.resolve(e);return this.resolved[r]=!1,this.importAsync(e).then((function(e){return t.resolved[r]=!0,e}))},requireSync:function e(t){var n=this.resolve(t);return r(n)},resolve:function e(){return 3559}},DoNotSellLink:{resolved:{},chunkName:function(){return"app-components-do-not-sell-link"},isReady:function(e){var t=this.resolve(e);return!0===this.resolved[t]&&!!r.m[t]},importAsync:function(){return r.e(698).then(r.bind(r,36776))},requireAsync:function(e){var t=this,r=this.resolve(e);return this.resolved[r]=!1,this.importAsync(e).then((function(e){return t.resolved[r]=!0,e}))},requireSync:function e(t){var n=this.resolve(t);return r(n)},resolve:function e(){return 36776}},EmailSettingsView:{resolved:{},chunkName:function(){return"app-views-account-email-settings"},isReady:function(e){var t=this.resolve(e);return!0===this.resolved[t]&&!!r.m[t]},importAsync:function(){return Promise.all([r.e(6410),r.e(6268),r.e(6426)]).then(r.bind(r,12613))},requireAsync:function(e){var t=this,r=this.resolve(e);return this.resolved[r]=!1,this.importAsync(e).then((function(e){return t.resolved[r]=!0,e}))},requireSync:function e(t){var n=this.resolve(t);return r(n)},resolve:function e(){return 12613}},EmbedTools:{resolved:{},chunkName:function(){return"app-containers-embed-tool-embed-tools"},isReady:function(e){var t=this.resolve(e);return!0===this.resolved[t]&&!!r.m[t]},importAsync:function(){return r.e(2004).then(r.bind(r,98199))},requireAsync:function(e){var t=this,r=this.resolve(e);return this.resolved[r]=!1,this.importAsync(e).then((function(e){return t.resolved[r]=!0,e}))},requireSync:function e(t){var n=this.resolve(t);return r(n)},resolve:function e(){return 98199}},EmbedToolView:{resolved:{},chunkName:function(){return"app-views-embed-tool"},isReady:function(e){var t=this.resolve(e);return!0===this.resolved[t]&&!!r.m[t]},importAsync:function(){return Promise.all([r.e(6410),r.e(4751)]).then(r.bind(r,22061))},requireAsync:function(e){var t=this,r=this.resolve(e);return this.resolved[r]=!1,this.importAsync(e).then((function(e){return t.resolved[r]=!0,e}))},requireSync:function e(t){var n=this.resolve(t);return r(n)},resolve:function e(){return 22061}},EmbeddableHtmlVideoPlayerView:{resolved:{},chunkName:function(){return"app-views-embeddable-html-video-player"},isReady:function(e){var t=this.resolve(e);return!0===this.resolved[t]&&!!r.m[t]},importAsync:function(){return r.e(4014).then(r.bind(r,26491))},requireAsync:function(e){var t=this,r=this.resolve(e);return this.resolved[r]=!1,this.importAsync(e).then((function(e){return t.resolved[r]=!0,e}))},requireSync:function e(t){var n=this.resolve(t);return r(n)},resolve:function e(){return 26491}},ErrorView:{resolved:{},chunkName:function(){return"app-views-error"},isReady:function(e){var t=this.resolve(e);return!0===this.resolved[t]&&!!r.m[t]},importAsync:function(){return Promise.resolve().then(r.bind(r,35471))},requireAsync:function(e){var t=this,r=this.resolve(e);return this.resolved[r]=!1,this.importAsync(e).then((function(e){return t.resolved[r]=!0,e}))},requireSync:function e(t){var n=this.resolve(t);return r(n)},resolve:function e(){return 35471}},FavoritesMenu:{resolved:{},chunkName:function(){return"app-components-favorites-menu"},isReady:function(e){var t=this.resolve(e);return!0===this.resolved[t]&&!!r.m[t]},importAsync:function(){return Promise.all([r.e(5465),r.e(8541),r.e(6203)]).then(r.bind(r,86569))},requireAsync:function(e){var t=this,r=this.resolve(e);return this.resolved[r]=!1,this.importAsync(e).then((function(e){return t.resolved[r]=!0,e}))},requireSync:function e(t){var n=this.resolve(t);return r(n)},resolve:function e(){return 86569}},FavoritesMenuModal:{resolved:{},chunkName:function(){return"app-modals-favorites-menu"},isReady:function(e){var t=this.resolve(e);return!0===this.resolved[t]&&!!r.m[t]},importAsync:function(){return Promise.all([r.e(5465),r.e(8541),r.e(8679)]).then(r.bind(r,26902))},requireAsync:function(e){var t=this,r=this.resolve(e);return this.resolved[r]=!1,this.importAsync(e).then((function(e){return t.resolved[r]=!0,e}))},requireSync:function e(t){var n=this.resolve(t);return r(n)},resolve:function e(){return 26902}},FirstPartyVideo:{resolved:{},chunkName:function(){return"app-containers-first-party-video"},isReady:function(e){var t=this.resolve(e);return!0===this.resolved[t]&&!!r.m[t]},importAsync:function(){return Promise.all([r.e(8983),r.e(735),r.e(3172),r.e(2181),r.e(6973),r.e(3146),r.e(8865),r.e(2750),r.e(1145),r.e(2522),r.e(2293),r.e(7510),r.e(864)]).then(r.bind(r,11267))},requireAsync:function(e){var t=this,r=this.resolve(e);return this.resolved[r]=!1,this.importAsync(e).then((function(e){return t.resolved[r]=!0,e}))},requireSync:function e(t){var n=this.resolve(t);return r(n)},resolve:function e(){return 11267}},FlipComposeModal:{resolved:{},chunkName:function(){return"app-modals-flip-compose-modal"},isReady:function(e){var t=this.resolve(e);return!0===this.resolved[t]&&!!r.m[t]},importAsync:function(){return Promise.all([r.e(6572),r.e(3172),r.e(3146),r.e(8676),r.e(9852),r.e(3922),r.e(6098)]).then(r.bind(r,53701))},requireAsync:function(e){var t=this,r=this.resolve(e);return this.resolved[r]=!1,this.importAsync(e).then((function(e){return t.resolved[r]=!0,e}))},requireSync:function e(t){var n=this.resolve(t);return r(n)},resolve:function e(){return 53701}},FollowingRouteContainer:{resolved:{},chunkName:function(){return"app-route-containers-following"},isReady:function(e){var t=this.resolve(e);return!0===this.resolved[t]&&!!r.m[t]},importAsync:function(){return Promise.all([r.e(3172),r.e(6211),r.e(9076),r.e(4115)]).then(r.bind(r,95890))},requireAsync:function(e){var t=this,r=this.resolve(e);return this.resolved[r]=!1,this.importAsync(e).then((function(e){return t.resolved[r]=!0,e}))},requireSync:function e(t){var n=this.resolve(t);return r(n)},resolve:function e(){return 95890}},ForgotPasswordContainer:{resolved:{},chunkName:function(){return"app-route-containers-forgot-password"},isReady:function(e){var t=this.resolve(e);return!0===this.resolved[t]&&!!r.m[t]},importAsync:function(){return r.e(3906).then(r.bind(r,8039))},requireAsync:function(e){var t=this,r=this.resolve(e);return this.resolved[r]=!1,this.importAsync(e).then((function(e){return t.resolved[r]=!0,e}))},requireSync:function e(t){var n=this.resolve(t);return r(n)},resolve:function e(){return 8039}},ForgotUsernameContainer:{resolved:{},chunkName:function(){return"app-route-containers-forgot-username"},isReady:function(e){var t=this.resolve(e);return!0===this.resolved[t]&&!!r.m[t]},importAsync:function(){return r.e(2710).then(r.bind(r,21546))},requireAsync:function(e){var t=this,r=this.resolve(e);return this.resolved[r]=!1,this.importAsync(e).then((function(e){return t.resolved[r]=!0,e}))},requireSync:function e(t){var n=this.resolve(t);return r(n)},resolve:function e(){return 21546}},HomeAnalyticsRouteContainer:{resolved:{},chunkName:function(){return"app-route-containers-analytics-home"},isReady:function(e){var t=this.resolve(e);return!0===this.resolved[t]&&!!r.m[t]},importAsync:function(){return Promise.all([r.e(9155),r.e(4077)]).then(r.bind(r,83768))},requireAsync:function(e){var t=this,r=this.resolve(e);return this.resolved[r]=!1,this.importAsync(e).then((function(e){return t.resolved[r]=!0,e}))},requireSync:function e(t){var n=this.resolve(t);return r(n)},resolve:function e(){return 83768}},HomeRouteContainer:{resolved:{},chunkName:function(){return"app-route-containers-home"},isReady:function(e){var t=this.resolve(e);return!0===this.resolved[t]&&!!r.m[t]},importAsync:function(){return Promise.all([r.e(8983),r.e(735),r.e(3172),r.e(2181),r.e(6973),r.e(3146),r.e(8865),r.e(2750),r.e(1145),r.e(9076),r.e(5465),r.e(6742),r.e(4488)]).then(r.bind(r,271))},requireAsync:function(e){var t=this,r=this.resolve(e);return this.resolved[r]=!1,this.importAsync(e).then((function(e){return t.resolved[r]=!0,e}))},requireSync:function e(t){var n=this.resolve(t);return r(n)},resolve:function e(){return 271}},LoadFullProfile:{resolved:{},chunkName:function(){return"app-containers-load-full-profile"},isReady:function(e){var t=this.resolve(e);return!0===this.resolved[t]&&!!r.m[t]},importAsync:function(){return r.e(1990).then(r.bind(r,99998))},requireAsync:function(e){var t=this,r=this.resolve(e);return this.resolved[r]=!1,this.importAsync(e).then((function(e){return t.resolved[r]=!0,e}))},requireSync:function e(t){var n=this.resolve(t);return r(n)},resolve:function e(){return 99998}},LoggedInButtons:{resolved:{},chunkName:function(){return"app-containers-navigation-logged-in-buttons"},isReady:function(e){var t=this.resolve(e);return!0===this.resolved[t]&&!!r.m[t]},importAsync:function(){return r.e(7234).then(r.bind(r,36462))},requireAsync:function(e){var t=this,r=this.resolve(e);return this.resolved[r]=!1,this.importAsync(e).then((function(e){return t.resolved[r]=!0,e}))},requireSync:function e(t){var n=this.resolve(t);return r(n)},resolve:function e(){return 36462}},LoginModal:{resolved:{},chunkName:function(){return"app-containers-modals-login"},isReady:function(e){var t=this.resolve(e);return!0===this.resolved[t]&&!!r.m[t]},importAsync:function(){return Promise.all([r.e(440),r.e(1790),r.e(4100)]).then(r.bind(r,95489))},requireAsync:function(e){var t=this,r=this.resolve(e);return this.resolved[r]=!1,this.importAsync(e).then((function(e){return t.resolved[r]=!0,e}))},requireSync:function e(t){var n=this.resolve(t);return r(n)},resolve:function e(){return 95489}},LoginRouteContainer:{resolved:{},chunkName:function(){return"app-route-containers-login"},isReady:function(e){var t=this.resolve(e);return!0===this.resolved[t]&&!!r.m[t]},importAsync:function(){return Promise.all([r.e(440),r.e(1790),r.e(1712)]).then(r.bind(r,77539))},requireAsync:function(e){var t=this,r=this.resolve(e);return this.resolved[r]=!1,this.importAsync(e).then((function(e){return t.resolved[r]=!0,e}))},requireSync:function e(t){var n=this.resolve(t);return r(n)},resolve:function e(){return 77539}},Logout:{resolved:{},chunkName:function(){return"app-views-logout"},isReady:function(e){var t=this.resolve(e);return!0===this.resolved[t]&&!!r.m[t]},importAsync:function(){return r.e(7664).then(r.bind(r,14723))},requireAsync:function(e){var t=this,r=this.resolve(e);return this.resolved[r]=!1,this.importAsync(e).then((function(e){return t.resolved[r]=!0,e}))},requireSync:function e(t){var n=this.resolve(t);return r(n)},resolve:function e(){return 14723}},LogoWidgetTool:{resolved:{},chunkName:function(){return"app-components-embed-tool-logo-widget-tool"},isReady:function(e){var t=this.resolve(e);return!0===this.resolved[t]&&!!r.m[t]},importAsync:function(){return r.e(9389).then(r.bind(r,56906))},requireAsync:function(e){var t=this,r=this.resolve(e);return this.resolved[r]=!1,this.importAsync(e).then((function(e){return t.resolved[r]=!0,e}))},requireSync:function e(t){var n=this.resolve(t);return r(n)},resolve:function e(){return 56906}},MagazineAnalyticsRouteContainer:{resolved:{},chunkName:function(){return"app-route-containers-analytics-magazine"},isReady:function(e){var t=this.resolve(e);return!0===this.resolved[t]&&!!r.m[t]},importAsync:function(){return Promise.all([r.e(9155),r.e(6555)]).then(r.bind(r,5680))},requireAsync:function(e){var t=this,r=this.resolve(e);return this.resolved[r]=!1,this.importAsync(e).then((function(e){return t.resolved[r]=!0,e}))},requireSync:function e(t){var n=this.resolve(t);return r(n)},resolve:function e(){return 5680}},MagazineAndStoryboardWidgetTool:{resolved:{},chunkName:function(){return"app-components-embed-tool-magazine-and-storyboard-widget-tool"},isReady:function(e){var t=this.resolve(e);return!0===this.resolved[t]&&!!r.m[t]},importAsync:function(){return Promise.all([r.e(6410),r.e(3817)]).then(r.bind(r,9675))},requireAsync:function(e){var t=this,r=this.resolve(e);return this.resolved[r]=!1,this.importAsync(e).then((function(e){return t.resolved[r]=!0,e}))},requireSync:function e(t){var n=this.resolve(t);return r(n)},resolve:function e(){return 9675}},MagazineContributors:{resolved:{},chunkName:function(){return"app-components-magazine-contributors"},isReady:function(e){var t=this.resolve(e);return!0===this.resolved[t]&&!!r.m[t]},importAsync:function(){return Promise.resolve().then(r.bind(r,72207))},requireAsync:function(e){var t=this,r=this.resolve(e);return this.resolved[r]=!1,this.importAsync(e).then((function(e){return t.resolved[r]=!0,e}))},requireSync:function e(t){var n=this.resolve(t);return r(n)},resolve:function e(){return 72207}},MagazineContributorBanner:{resolved:{},chunkName:function(){return"app-views-section-magazine-magazine-contributor-banner"},isReady:function(e){var t=this.resolve(e);return!0===this.resolved[t]&&!!r.m[t]},importAsync:function(){return Promise.all([r.e(8983),r.e(735),r.e(2181),r.e(1599)]).then(r.bind(r,66608))},requireAsync:function(e){var t=this,r=this.resolve(e);return this.resolved[r]=!1,this.importAsync(e).then((function(e){return t.resolved[r]=!0,e}))},requireSync:function e(t){var n=this.resolve(t);return r(n)},resolve:function e(){return 66608}},MagazineInviteBanner:{resolved:{},chunkName:function(){return"app-components-banners-magazine-invite-banner"},isReady:function(e){var t=this.resolve(e);return!0===this.resolved[t]&&!!r.m[t]},importAsync:function(){return r.e(3545).then(r.bind(r,93706))},requireAsync:function(e){var t=this,r=this.resolve(e);return this.resolved[r]=!1,this.importAsync(e).then((function(e){return t.resolved[r]=!0,e}))},requireSync:function e(t){var n=this.resolve(t);return r(n)},resolve:function e(){return 93706}},MobileGate:{resolved:{},chunkName:function(){return"app-modals-mobile-gate"},isReady:function(e){var t=this.resolve(e);return!0===this.resolved[t]&&!!r.m[t]},importAsync:function(){return r.e(8394).then(r.bind(r,2880))},requireAsync:function(e){var t=this,r=this.resolve(e);return this.resolved[r]=!1,this.importAsync(e).then((function(e){return t.resolved[r]=!0,e}))},requireSync:function e(t){var n=this.resolve(t);return r(n)},resolve:function e(){return 2880}},NavbarMoreMenu:{resolved:{},chunkName:function(){return"app-components-navigation-navbar-more-menu"},isReady:function(e){var t=this.resolve(e);return!0===this.resolved[t]&&!!r.m[t]},importAsync:function(){return r.e(5518).then(r.bind(r,79551))},requireAsync:function(e){var t=this,r=this.resolve(e);return this.resolved[r]=!1,this.importAsync(e).then((function(e){return t.resolved[r]=!0,e}))},requireSync:function e(t){var n=this.resolve(t);return r(n)},resolve:function e(){return 79551}},NewslettersRouteContainer:{resolved:{},chunkName:function(){return"app-route-containers-newsletters"},isReady:function(e){var t=this.resolve(e);return!0===this.resolved[t]&&!!r.m[t]},importAsync:function(){return Promise.all([r.e(6410),r.e(6268),r.e(844)]).then(r.bind(r,66106))},requireAsync:function(e){var t=this,r=this.resolve(e);return this.resolved[r]=!1,this.importAsync(e).then((function(e){return t.resolved[r]=!0,e}))},requireSync:function e(t){var n=this.resolve
1(t);return r(n)},resolve:function e(){return 66106}},NewslettersLandingRouteContainer:{resolved:{},chunkName:function(){return"app-route-containers-newsletters-landing"},isReady:function(e){var t=this.resolve(e);return!0===this.resolved[t]&&!!r.m[t]},importAsync:function(){return r.e(2421).then(r.bind(r,62417))},requireAsync:function(e){var t=this,r=this.resolve(e);return this.resolved[r]=!1,this.importAsync(e).then((function(e){return t.resolved[r]=!0,e}))},requireSync:function e(t){var n=this.resolve(t);return r(n)},resolve:function e(){return 62417}},OnboardingTopicPicker:{resolved:{},chunkName:function(){return"app-containers-onboarding-topic-picker-modal"},isReady:function(e){var t=this.resolve(e);return!0===this.resolved[t]&&!!r.m[t]},importAsync:function(){return Promise.all([r.e(3327),r.e(5257)]).then(r.bind(r,55806))},requireAsync:function(e){var t=this,r=this.resolve(e);return this.resolved[r]=!1,this.importAsync(e).then((function(e){return t.resolved[r]=!0,e}))},requireSync:function e(t){var n=this.resolve(t);return r(n)},resolve:function e(){return 55806}},PrivacySettings:{resolved:{},chunkName:function(){return"app-views-privacy-settings"},isReady:function(e){var t=this.resolve(e);return!0===this.resolved[t]&&!!r.m[t]},importAsync:function(){return r.e(5907).then(r.bind(r,95910))},requireAsync:function(e){var t=this,r=this.resolve(e);return this.resolved[r]=!1,this.importAsync(e).then((function(e){return t.resolved[r]=!0,e}))},requireSync:function e(t){var n=this.resolve(t);return r(n)},resolve:function e(){return 95910}},ProfileHeader:{resolved:{},chunkName:function(){return"app-components-profile-header"},isReady:function(e){var t=this.resolve(e);return!0===this.resolved[t]&&!!r.m[t]},importAsync:function(){return Promise.all([r.e(9096),r.e(8593)]).then(r.bind(r,19096))},requireAsync:function(e){var t=this,r=this.resolve(e);return this.resolved[r]=!1,this.importAsync(e).then((function(e){return t.resolved[r]=!0,e}))},requireSync:function e(t){var n=this.resolve(t);return r(n)},resolve:function e(){return 19096}},ProfileMetricsSubNav:{resolved:{},chunkName:function(){return"app-components-profile-metrics-sub-nav"},isReady:function(e){var t=this.resolve(e);return!0===this.resolved[t]&&!!r.m[t]},importAsync:function(){return r.e(5782).then(r.bind(r,50188))},requireAsync:function(e){var t=this,r=this.resolve(e);return this.resolved[r]=!1,this.importAsync(e).then((function(e){return t.resolved[r]=!0,e}))},requireSync:function e(t){var n=this.resolve(t);return r(n)},resolve:function e(){return 50188}},ProfileRouteContainer:{resolved:{},chunkName:function(){return"app-route-containers-profile"},isReady:function(e){var t=this.resolve(e);return!0===this.resolved[t]&&!!r.m[t]},importAsync:function(){return Promise.all([r.e(8983),r.e(735),r.e(3172),r.e(2181),r.e(6973),r.e(3146),r.e(8865),r.e(2750),r.e(1145),r.e(8676),r.e(9076),r.e(1249),r.e(9155),r.e(9852),r.e(9096),r.e(5363)]).then(r.bind(r,26566))},requireAsync:function(e){var t=this,r=this.resolve(e);return this.resolved[r]=!1,this.importAsync(e).then((function(e){return t.resolved[r]=!0,e}))},requireSync:function e(t){var n=this.resolve(t);return r(n)},resolve:function e(){return 26566}},PublisherHeading:{resolved:{},chunkName:function(){return"app-containers-publisher-heading"},isReady:function(e){var t=this.resolve(e);return!0===this.resolved[t]&&!!r.m[t]},importAsync:function(){return r.e(8543).then(r.bind(r,43320))},requireAsync:function(e){var t=this,r=this.resolve(e);return this.resolved[r]=!1,this.importAsync(e).then((function(e){return t.resolved[r]=!0,e}))},requireSync:function e(t){var n=this.resolve(t);return r(n)},resolve:function e(){return 43320}},PublisherOnboardModal:{resolved:{},chunkName:function(){return"app-containers-publisher-onboard"},isReady:function(e){var t=this.resolve(e);return!0===this.resolved[t]&&!!r.m[t]},importAsync:function(){return r.e(5211).then(r.bind(r,88048))},requireAsync:function(e){var t=this,r=this.resolve(e);return this.resolved[r]=!1,this.importAsync(e).then((function(e){return t.resolved[r]=!0,e}))},requireSync:function e(t){var n=this.resolve(t);return r(n)},resolve:function e(){return 88048}},PublisherSignupRouteContainer:{resolved:{},chunkName:function(){return"app-route-containers-publisher-signup"},isReady:function(e){var t=this.resolve(e);return!0===this.resolved[t]&&!!r.m[t]},importAsync:function(){return r.e(7549).then(r.bind(r,11659))},requireAsync:function(e){var t=this,r=this.resolve(e);return this.resolved[r]=!1,this.importAsync(e).then((function(e){return t.resolved[r]=!0,e}))},requireSync:function e(t){var n=this.resolve(t);return r(n)},resolve:function e(){return 11659}},RequestLoginLinkModal:{resolved:{},chunkName:function(){return"app-modals-request-login-link"},isReady:function(e){var t=this.resolve(e);return!0===this.resolved[t]&&!!r.m[t]},importAsync:function(){return Promise.all([r.e(7698),r.e(3266)]).then(r.bind(r,72684))},requireAsync:function(e){var t=this,r=this.resolve(e);return this.resolved[r]=!1,this.importAsync(e).then((function(e){return t.resolved[r]=!0,e}))},requireSync:function e(t){var n=this.resolve(t);return r(n)},resolve:function e(){return 72684}},RequestLoginLinkContainer:{resolved:{},chunkName:function(){return"app-route-containers-request-login-link"},isReady:function(e){var t=this.resolve(e);return!0===this.resolved[t]&&!!r.m[t]},importAsync:function(){return Promise.all([r.e(7698),r.e(6228)]).then(r.bind(r,92673))},requireAsync:function(e){var t=this,r=this.resolve(e);return this.resolved[r]=!1,this.importAsync(e).then((function(e){return t.resolved[r]=!0,e}))},requireSync:function e(t){var n=this.resolve(t);return r(n)},resolve:function e(){return 92673}},ResetPasswordContainer:{resolved:{},chunkName:function(){return"app-route-containers-reset-password"},isReady:function(e){var t=this.resolve(e);return!0===this.resolved[t]&&!!r.m[t]},importAsync:function(){return r.e(7860).then(r.bind(r,31674))},requireAsync:function(e){var t=this,r=this.resolve(e);return this.resolved[r]=!1,this.importAsync(e).then((function(e){return t.resolved[r]=!0,e}))},requireSync:function e(t){var n=this.resolve(t);return r(n)}
1,resolve:function e(){return 31674}},SearchModal:{resolved:{},chunkName:function(){return"app-modals-search"},isReady:function(e){var t=this.resolve(e);return!0===this.resolved[t]&&!!r.m[t]},importAsync:function(){return Promise.all([r.e(3172),r.e(9076),r.e(5465),r.e(6742)]).then(r.bind(r,96927))},requireAsync:function(e){var t=this,r=this.resolve(e);return this.resolved[r]=!1,this.importAsync(e).then((function(e){return t.resolved[r]=!0,e}))},requireSync:function e(t){var n=this.resolve(t);return r(n)},resolve:function e(){return 96927}},SearchRouteContainer:{resolved:{},chunkName:function(){return"app-route-containers-search"},isReady:function(e){var t=this.resolve(e);return!0===this.resolved[t]&&!!r.m[t]},importAsync:function(){return Promise.all([r.e(3172),r.e(6211),r.e(9076),r.e(3511)]).then(r.bind(r,6090))},requireAsync:function(e){var t=this,r=this.resolve(e);return this.resolved[r]=!1,this.importAsync(e).then((function(e){return t.resolved[r]=!0,e}))},requireSync:function e(t){var n=this.resolve(t);return r(n)},resolve:function e(){return 6090}},SectionRouteContainer:{resolved:{},chunkName:function(){return"app-route-containers-section"},isReady:function(e){var t=this.resolve(e);return!0===this.resolved[t]&&!!r.m[t]},importAsync:function(){return r.e(4642).then(r.bind(r,77742))},requireAsync:function(e){var t=this,r=this.resolve(e);return this.resolved[r]=!1,this.importAsync(e).then((function(e){return t.resolved[r]=!0,e}))},requireSync:function e(t){var n=this.resolve(t);return r(n)},resolve:function e(){return 77742}},SectionComponentDefault:{resolved:{},chunkName:function(){return"app-containers-section-default"},isReady:function(e){var t=this.resolve(e);return!0===this.resolved[t]&&!!r.m[t]},importAsync:function(){return Promise.all([r.e(8983),r.e(735),r.e(3172),r.e(2181),r.e(6973),r.e(3146),r.e(8865),r.e(2750),r.e(1145),r.e(6211),r.e(1610)]).then(r.bind(r,22530))},requireAsync:function(e){var t=this,r=this.resolve(e);return this.resolved[r]=!1,this.importAsync(e).then((function(e){return t.resolved[r]=!0,e}))},requireSync:function e(t){var n=this.resolve(t);return r(n)},resolve:function e(){return 22530}},SectionComponentMagazine:{resolved:{},chunkName:function(){return"app-containers-section-magazine"},isReady:function(e){var t=this.resolve(e);return!0===this.resolved[t]&&!!r.m[t]},importAsync:function(){return Promise.all([r.e(8983),r.e(735),r.e(3172),r.e(2181),r.e(6973),r.e(3146),r.e(8865),r.e(2750),r.e(1145),r.e(2522),r.e(7283),r.e(1781)]).then(r.bind(r,68490))},requireAsync:function(e){var t=this,r=this.resolve(e);return this.resolved[r]=!1,this.importAsync(e).then((function(e){return t.resolved[r]=!0,e}))},requireSync:function e(t){var n=this.resolve(t);return r(n)},resolve:function e(){return 68490}},SectionComponentProfile:{resolved:{},chunkName:function(){return"app-containers-section-profile"},isReady:function(e){var t=this.resolve(e);return!0===this.resolved[t]&&!!r.m[t]},importAsync:function(){return Promise.all([r.e(8983),r.e(735),r.e(3172),r.e(2181),r.e(6973),r.e(3146),r.e(8865),r.e(2750),r.e(1145),r.e(6211),r.e(9076),r.e(8639)]).then(r.bind(r,90971))},requireAsync:function(e){var t=this,r=this.resolve(e);return this.resolved[r]=!1,this.importAsync(e).then((function(e){return t.resolved[r]=!0,e}))},requireSync:function e(t){var n=this.resolve(t);return r(n)},resolve:function e(){return 90971}},SectionComponentTopic:{resolved:{},chunkName:function(){return"app-containers-section-topic"},isReady:function(e){var t=this.resolve(e);return!0===this.resolved[t]&&!!r.m[t]},importAsync:function(){return Promise.all([r.e(8983),r.e(735),r.e(3172),r.e(2181),r.e(6973),r.e(3146),r.e(8865),r.e(2750),r.e(1145),r.e(2522),r.e(3327),r.e(7283),r.e(8471)]).then(r.bind(r,98671))},requireAsync:function(e){var t=this,r=this.resolve(e);return this.resolved[r]=!1,this.importAsync(e).then((function(e){return t.resolved[r]=!0,e}))},requireSync:function e(t){var n=this.resolve(t);return r(n)},resolve:function e(){return 98671}},SectionComponentStoryboard:{resolved:{},chunkName:function(){return"app-containers-section-storyboard"},isReady:function(e){var t=this.resolve(e);return!0===this.resolved[t]&&!!r.m[t]},importAsync:function(){return Promise.all([r.e(1249),r.e(3826)]).then(r.bind(r,90904))},requireAsync:function(e){var t=this,r=this.resolve(e);return this.resolved[r]=!1,this.importAsync(e).then((function(e){return t.resolved[r]=!0,e}))},requireSync:function e(t){var n=this.resolve(t);return r(n)},resolve:function e(){return 90904}},SettingsRouteContainer:{resolved:{},chunkName:function(){return"app-route-containers-settings"},isReady:function(e){var t=this.resolve(e);return!0===this.resolved[t]&&!!r.m[t]},importAsync:function(){return Promise.all([r.e(6410),r.e(9096),r.e(6268),r.e(244)]).then(r.bind(r,23230))},requireAsync:function(e){var t=this,r=this.resolve(e);return this.resolved[r]=!1,this.importAsync(e).then((function(e){return t.resolved[r]=!0,e}))},requireSync:function e(t){var n=this.resolve(t);return r(n)},resolve:function e(){return 23230}},ShareLanding:{resolved:{},chunkName:function(){return"app-route-containers-shared-link-landing"},isReady:function(e){var t=this.resolve(e);return!0===this.resolved[t]&&!!r.m[t]},importAsync:function(){return r.e(3650).then(r.bind(r,74864))},requireAsync:function(e){var t=this,r=this.resolve(e);return this.resolved[r]=!1,this.importAsync(e).then((function(e){return t.resolved[r]=!0,e}))},requireSync:function e(t){var n=this.resolve(t);return r(n)},resolve:function e(){return 74864}},SignupRouteContainer:{resolved:{},chunkName:function(){return"app-route-containers-signup"},isReady:function(e){var t=this.resolve(e);return!0===this.resolved[t]&&!!r.m[t]},importAsync:function(){return Promise.all([r.e(440),r.e(6736),r.e(9873)]).then(r.bind(r,72991))},requireAsync:function(e){var t=this,r=this.resolve(e);return this.resolved[r]=!1,this.importAsync(e).then((function(e){return t.resolved[r]=!0,e}))},requireSync:function e(t){var n=this.resolve(t);return r(n)}
1,resolve:function e(){return 72991}},SignupModal:{resolved:{},chunkName:function(){return"app-modals-signup"},isReady:function(e){var t=this.resolve(e);return!0===this.resolved[t]&&!!r.m[t]},importAsync:function(){return Promise.all([r.e(440),r.e(6736),r.e(1436)]).then(r.bind(r,17777))},requireAsync:function(e){var t=this,r=this.resolve(e);return this.resolved[r]=!1,this.importAsync(e).then((function(e){return t.resolved[r]=!0,e}))},requireSync:function e(t){var n=this.resolve(t);return r(n)},resolve:function e(){return 17777}},SitemapIndex:{resolved:{},chunkName:function(){return"app-route-containers-sitemap-index"},isReady:function(e){var t=this.resolve(e);return!0===this.resolved[t]&&!!r.m[t]},importAsync:function(){return Promise.all([r.e(6211),r.e(594)]).then(r.bind(r,38892))},requireAsync:function(e){var t=this,r=this.resolve(e);return this.resolved[r]=!1,this.importAsync(e).then((function(e){return t.resolved[r]=!0,e}))},requireSync:function e(t){var n=this.resolve(t);return r(n)},resolve:function e(){return 38892}},SitemapPage:{resolved:{},chunkName:function(){return"app-route-containers-sitemap-page"},isReady:function(e){var t=this.resolve(e);return!0===this.resolved[t]&&!!r.m[t]},importAsync:function(){return Promise.all([r.e(6211),r.e(9023)]).then(r.bind(r,53573))},requireAsync:function(e){var t=this,r=this.resolve(e);return this.resolved[r]=!1,this.importAsync(e).then((function(e){return t.resolved[r]=!0,e}))},requireSync:function e(t){var n=this.resolve(t);return r(n)},resolve:function e(){return 53573}},SmartMagazineTile:{resolved:{},chunkName:function(){return"app-components-smart-magazine-tile"},isReady:function(e){var t=this.resolve(e);return!0===this.resolved[t]&&!!r.m[t]},importAsync:function(){return Promise.all([r.e(735),r.e(700)]).then(r.bind(r,27302))},requireAsync:function(e){var t=this,r=this.resolve(e);return this.resolved[r]=!1,this.importAsync(e).then((function(e){return t.resolved[r]=!0,e}))},requireSync:function e(t){var n=this.resolve(t);return r(n)},resolve:function e(){return 27302}},SortableList:{resolved:{},chunkName:function(){return"shared-component_library-src-lists-sortable-list"},isReady:function(e){var t=this.resolve(e);return!0===this.resolved[t]&&!!r.m[t]},importAsync:function(){return Promise.all([r.e(1656),r.e(9853)]).then(r.bind(r,92134))},requireAsync:function(e){var t=this,r=this.resolve(e);return this.resolved[r]=!1,this.importAsync(e).then((function(e){return t.resolved[r]=!0,e}))},requireSync:function e(t){var n=this.resolve(t);return r(n)},resolve:function e(){return 92134}},SortableListItem:{resolved:{},chunkName:function(){return"shared-component_library-src-lists-sortable-list-item"},isReady:function(e){var t=this.resolve(e);return!0===this.resolved[t]&&!!r.m[t]},importAsync:function(){return Promise.all([r.e(1656),r.e(4431)]).then(r.bind(r,81082))},requireAsync:function(e){var t=this,r=this.resolve(e);return this.resolved[r]=!1,this.importAsync(e).then((function(e){return t.resolved[r]=!0,e}))},requireSync:function e(t){var n=this.resolve(t);return r(n)},resolve:function e(){return 81082}},StoryboardAnalyticsRouteContainer:{resolved:{},chunkName:function(){return"app-route-containers-analytics-storyboard"},isReady:function(e){var t=this.resolve(e);return!0===this.resolved[t]&&!!r.m[t]},importAsync:function(){return Promise.all([r.e(8983),r.e(735),r.e(2181),r.e(9155),r.e(8731),r.e(9688)]).then(r.bind(r,75938))},requireAsync:function(e){var t=this,r=this.resolve(e);return this.resolved[r]=!1,this.importAsync(e).then((function(e){return t.resolved[r]=!0,e}))},requireSync:function e(t){var n=this.resolve(t);return r(n)},resolve:function e(){return 75938}},StoryboardHeader:{resolved:{},chunkName:function(){return"app-themes-storyboard-layout-storyboard-header"},isReady:function(e){var t=this.resolve(e);return!0===this.resolved[t]&&!!r.m[t]},importAsync:function(){return Promise.all([r.e(8983),r.e(735),r.e(2181),r.e(8731),r.e(7053)]).then(r.bind(r,38731))},requireAsync:function(e){var t=this,r=this.resolve(e);return this.resolved[r]=!1,this.importAsync(e).then((function(e){return t.resolved[r]=!0,e}))},requireSync:function e(t){var n=this.resolve(t);return r(n)},resolve:function e(){return 38731}},StoryboardLayout:{resolved:{},chunkName:function(){return"app-containers-themes-storyboard-layout-storyboard-layout"},isReady:function(e){var t=this.resolve(e);return!0===this.resolved[t]&&!!r.m[t]},importAsync:function(){return Promise.all([r.e(8983),r.e(735),r.e(3172),r.e(2181),r.e(6973),r.e(3146),r.e(8865),r.e(2750),r.e(1145),r.e(2522),r.e(8731),r.e(5239)]).then(r.bind(r,8665))},requireAsync:function(e){var t=this,r=this.resolve(e);return this.resolved[r]=!1,this.importAsync(e).then((function(e){return t.resolved[r]=!0,e}))},requireSync:function e(t){var n=this.resolve(t);return r(n)},resolve:function e(){return 8665}},StoryboardPreviewFooter:{resolved:{},chunkName:function(){return"app-containers-curator-pro-storyboard-preview-footer"},isReady:function(e){var t=this.resolve(e);return!0===this.resolved[t]&&!!r.m[t]},importAsync:function(){return Promise.all([r.e(735),r.e(1249),r.e(5160),r.e(160),r.e(8047)]).then(r.bind(r,30232))},requireAsync:function(e){var t=this,r=this.resolve(e);return this.resolved[r]=!1,this.importAsync(e).then((function(e){return t.resolved[r]=!0,e}))},requireSync:function e(t){var n=this.resolve(t);return r(n)},resolve:function e(){return 30232}},StoryboardTile:{resolved:{},chunkName:function(){return"app-components-storyboard-tile"},isReady:function(e){var t=this.resolve(e);return!0===this.resolved[t]&&!!r.m[t]},importAsync:function(){return r.e(5264).then(r.bind(r,77112))},requireAsync:function(e){var t=this,r=this.resolve(e);return this.resolved[r]=!1,this.importAsync(e).then((function(e){return t.resolved[r]=!0,e}))},requireSync:function e(t){var n=this.resolve(t);return r(n)},resolve:function e(){return 77112}},ThirdPartyVideo:{resolved:{},chunkName:function(){return"app-containers-third-party-video"},isReady:function(e){var t=this.resolve(e);return!0===this.resolved[t]&&!!r.m[t]},importAsync:function(){return Promise.all([r.e(8983),r.e(735),r.e(3172),r.e(2181),r.e(6973),r.e(3146),r.e(8865),r.e(2750),r.e(1145),r.e(2522),r.e(2293),r.e(7510),r.e(7730)]).then(r.bind(r,22175))},requireAsync:function(e){var t=this,r=this.resolve(e);return this.resolved[r]=!1,this.importAsync(e).then((function(e){return t.resolved[r]=!0,e}))},requireSync:function e(t){var n=this.resolve(t);return r(n)},resolve:function e(){return 22175}},WidgetRouteContainer:{resolved:{},chunkName:function(){return"app-route-containers-widgets-section"},isReady:function(e){var t=this.resolve(e);return!0===this.resolved[t]&&!!r.m[t]},importAsync:function(){return r.e(1076).then(r.bind(r,10650))},requireAsync:function(e){var t=this,r=this.resolve(e);return this.resolved[r]=!1,this.importAsync(e).then((function(e){return t.resolved[r]=!0,e}))},requireSync:function e(t){var n=this.resolve(t);return r(n)},resolve:function e(){return 10650}},SignupButtonCtaAnchoredDialog:{resolved:{},chunkName:function(){return"app-components-signup-button-cta-anchored-dialog"},isReady:function(e){var t=this.resolve(e);return!0===this.resolved[t]&&!!r.m[t]},importAsync:function(){return r.e(5289).then(r.bind(r,34008))},requireAsync:function(e){var t=this,r=this.resolve(e);return this.resolved[r]=!1,this.importAsync(e).then((function(e){return t.resolved[r]=!0,e}))},requireSync:function e(t){var n=this.resolve(t);return r(n)},resolve:function e(){return 34008}},WelcomeModal:{resolved:{},chunkName:function(){return"app-modals-welcome"},isReady:function(e){var t=this.resolve(e);return!0===this.resolved[t]&&!!r.m[t]},importAsync:function(){return r.e(1122).then(r.bind(r,74453))},requireAsync:function(e){var t=this,r=this.resolve(e);return this.resolved[r]=!1,this.importAsync(e).then((function(e){return t.resolved[r]=!0,e}))},requireSync:function e(t){var n=this.resolve(t);return r(n)},resolve:function e(){return 74453}},CompleteProfileCollaboratorModal:{resolved:{},chunkName:function(){return"app-modals-complete-profile-collaborator"},isReady:function(e){var t=this.resolve(e);return!0===this.resolved[t]&&!!r.m[t]},importAsync:function(){return r.e(611).then(r.bind(r,14006))},requireAsync:function(e){var t=this,r=this.resolve(e);return this.resolved[r]=!1,this.importAsync(e).then((function(e){return t.resolved[r]=!0,e}))},requireSync:function e(t){var n=this.resolve(t);return r(n)},resolve:function e(){return 14006}},YoureInConfirmationModal:{resolved:{},chunkName:function(){return"app-modals-youre-in-confirmation"},isReady:function(e){var t=this.resolve(e);return!0===this.resolved[t]&&!!r.m[t]},importAsync:function(){return r.e(3728).then(r.bind(r,19686))},requireAsync:function(e){var t=this,r=this.resolve(e);return this.resolved[r]=!1,this.importAsync(e).then((function(e){return t.resolved[r]=!0,e}))},requireSync:function e(t){var n=this.resolve(t);return r(n)},resolve:function e(){return 19686}}};t.Z=function(e){return(0,d.ZP)(m[e])}},60081:function(e,t,r){"use strict";r.d(t,{kS:function(){return f},D_:function(){return p},bR:function(){return d},pL:function(){return m}});r(49228),r(1939),r(32501);var n=r(53122),o=r(99445),i=r(39744),a=r(80768),c=r(7799),u=r(47741),s=r(60081),l="contextual_onboarding_items_V2",f=function(e){if(!e)return[];var t=e.remoteid,r=e.title,n=e.author,o=e.isTopic,a=e.isMagazine,c=e.isProfile,u=e.isStoryboard,s=e.isArticle,l=e.ssid,f=e.items,p=[];n&&(a||u||s)&&p.push({author:{authorUsername:n.authorUsername,authorDisplayName:n.authorDisplayName},remoteid:"flipboard/username/".concat(n.authorUsername),title:n.authorDisplayName,isProfile:!0}),(o||c||a)&&p.push({author:n?{authorUsername:n.authorUsername,authorDisplayName:n.authorDisplayName}:{},remoteid:a?l&&l.remoteidPlain:t,isTopic:o,isMagazine:a,isProfile:c,title:r,searchRelated:!0});var d=null;if(u){var m=f.find((function(e){return"sectionCover"===e.type}));d=(0,i.BB)(m)}return s&&(d=e.topics),d&&d.slice(0,3).forEach((function(e){return p.push({author:e.author,remoteid:e.remoteid,isTopic:!0,title:e.title,searchRelated:!1})})),p},p=function(e){if(!e)return null;try{(0,n.kT)(l);var t=f(e);t&&s.bR(t)}catch(e){u.Z.captureException(e)}},d=function(e){if(e){var t=new Date(Date.now()+36e5),r=m();e.forEach((function(e){r.length>=6&&r.pop(),a.Z.sectionsIncludesSection(r,e)||r.unshift(e)})),(0,n.d7)(l,(0,c.Z)().btoa((0,o.Dp)(JSON.stringify(r))),t)}},m=function(){var e=(0,n.Do)(l);return e?JSON.parse((0,o.Ho)((0,c.Z)().atob(e))):[]}},65430:function(e,t,r){"use strict";r.d(t,{_V:function(){return o},Vu:function(){return i},_4:function(){return a},ih:function(){return c},bB:function(){return u},G5:function(){return s},XN:function(){return l},YZ:function(){return f},u3:function(){return p},b2:function(){return d},pc:function(){return v},Wn:function(){return S},Mo:function(){return A},U1:function(){return T},Yd:function(){return R}});r(43105),r(49228),r(43450),r(39529),r(26936),r(1939),r(95342);var n=r(76635),o="0",i="1",a="2",c="3",u={group:"*"},s={key:"*"},l=Object.assign(u,{subscriptions:[s]}),f=function(e,t,r,n){if(r&&!n||!r&&n)return!1;var o=e.group===t.group;return r||n?o&&r.key===n.key:o},p=function(e,t,r){var n=e.find((function(e){return e.group===t.group}));return n?r?n.subscriptions.find((function(e){return e.key===r.key}))||null:n:null},d=function(e,t,r,n){return e.map((function(e){var o=f(t,e,null,r)?n:e.isSubscribed,i=e.subscriptions.map((function(o){var i=f(t,e,r,o)?n:o.isSubscribed;return Object.assign({},o,{isSubscribed:i})}));return Object.assign({},e,{isSubscribed:o,subscriptions:i})}))},m={group:"recs"},v=function(e){return e.isTopic&&"climatechange"===e.topicTag?m:!e.isTopic||"food"!==e.topicTag&&"foodcooking"!==e.topicTag?e.isTopic&&"news"===e.topicTag||e.isTopic&&"politics"===e.topicTag||e.isTopic&&"recipes"===e.topicTag||e.isTopic&&"technology"===e.topicTag||e.isTopic&&"photography"===e.topicTag?m:null:m},h={key:"Climate"},_={key:"Food"},y={key:"PhotoDesk"},b={key:"Polit"},E={key:"Recipes"},g={key:"Tech"},O={key:"Photography"},S=function(e){return e.isTopic&&"climatechange"===e.topicTag?h:!e.isTopic||"food"!==e.topicTag&&"foodcooking"!==e.topicTag?e.isTopic&&"news"===e.topicTag?y:e.isTopic&&"politics"===e.topicTag?b:e.isTopic&&"recipes"===e.topicTag?E:e.isTopic&&"technology"===e.topicTag?g:e.isTopic&&"photography"===e.topicTag?O:null:_},A=function(e,t){return e("email_preference_group_name_".concat(t.group),t.name)}
1,T=function(e,t){return e("email_preference_subscription_name_".concat(t.key),t.name)},R=function(e,t){var r=[],o=!1,i=(0,n.differenceWith)(t,e,n.isEqual);i.length>0&&i.forEach((function(t){if(null!==t.isSubscribed||t.group!==u.group){var i=e.find((function(e){return e.name===t.name}));if(!1===t.isSubscribed&&null===i.isSubscribed){var a=(0,n.differenceWith)(t.subscriptions,i.subscriptions,n.isEqual),c=t.subscriptions.some((function(e){return 1==e.isSubscribed}));c?r.push({pendingGroup:t,pendingSubscriptions:a.length&&!o||c?a:null}):r.push({pendingGroup:t})}else if(!1===t.isSubscribed&&!1===i.isSubscribed){if(!t.subscriptions.some((function(e){return 1==e.isSubscribed})))return;var s=(0,n.differenceWith)(t.subscriptions,i.subscriptions,n.isEqual);if(s.length<=0)return;r.push({pendingGroup:t,pendingSubscriptions:s})}else if(t.isSubscribed&&t.isSubscribed===i.isSubscribed){if(!o)return;r.push({pendingGroup:t})}else if(t.isSubscribed&&!i.isSubscribed)r.push({pendingGroup:t});else{var l=(0,n.differenceWith)(t.subscriptions,i.subscriptions,n.isEqual);t.subscriptions.some((function(e){return 1==e.isSubscribed}))?r.push({pendingGroup:t,pendingSubscriptions:l}):r.push({pendingGroup:t})}}else o=!0}));var a,c=r.filter((function(e){return e.pendingGroup.group===u.group}));return c.length&&(a=c[0].pendingGroup.subscriptions[0].isSubscribed),c.length&&null!==a?c:r}},56888:function(e,t,r){"use strict";r(43450),r(34769),r(18178),r(34115),r(95342),r(68625),r(1939),r(62775);var n=r(7799),o=r(61807),i=r(47741),a=r(34688),c=r(53122);function u(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function s(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?u(Object(r),!0).forEach((function(t){l(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):u(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var f="pending-video-playback-events";t.Z=function(e,t,r){var u,l=t.prod_type,p=0,d=0,m=null,v=null,h=null,_={},y=function(){var e=(0,c.Do)(f);if(e)try{return JSON.parse(e)}catch(e){(0,c.kT)(f)}return{}},b=function(e){(0,c.d7)(f,JSON.stringify(e))},E=function(e,r){var n=y();if(!n[t.item_id]||!n[t.item_id].eventData)return i.Z.captureException(new a.Hj);n[t.item_id].eventData[e]=r,b(n)},g=function(e,t,r){return{prod_type:l,event_category:"item",event_action:e,event_data:s({item_id:r.item_id,item_type:r.item_type||"video",url:r.sourceURL,item_partner_id:r.item_partner_id,partner_id:r.partner_id,type:r.type,ssid:r.ssid,section_id:r.section_id},t),properties:{appmode:"samsung_daily",uid:r.uid||0,time:Math.round(Date.now()),time_offset:-(new Date).getTimezoneOffset(),git_version:o.L,app_version:"1.0.0",locale:"en",refer_url:(0,n.Z)()&&(0,n.Z)().document.referrer,win_size:(0,n.Z)()&&"".concat((0,n.Z)().innerWidth,"x").concat((0,n.Z)().innerHeight)}}},O=function(){var t=e.currentTime/e.duration*100;[0,25,50,75,100].forEach((function(e){t>=e-1&&S(e)}))},S=function(e){(!m||e>=m)&&E("number_items",m=e),!0!==_[e]&&(_[e]=!0,r(g("quartile",{method:"q".concat(e)},t)))};u=y(),Object.keys(u).map((function(e){var t=u[e];if(Object.keys(t.eventData).length>0)try{r(g("playback",t.eventData,t.queryParams||t.options))}catch(e){i.Z.captureException(e)}})),b({}),e.addEventListener("play",(function(){!function(){var e=y();e[t.item_id]={options:t,eventData:{}},b(e)}(),v=new Date,h=null,e.currentTime>=0&&e.currentTime<1&&E("view_count",d+=1),O()})),e.addEventListener("pause",(function(){h=null,v=null})),e.addEventListener("timeupdate",(function(){!function(){if(v||h){var e=new Date,t=h?e.getTime()-h.getTime():e.getTime()-v.getTime();p+=t,h=new Date,E("time_spent",p)}}(),O()})),e.addEventListener("ended",O)}},69028:function(e,t,r){"use strict";r(43105),r(34769),r(18178);var n=r(511),o=r(99445);function i(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=arguments.length>2?arguments[2]:void 0,i=arguments.length>3?arguments[3]:void 0,a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:void 0,c=arguments.length>5&&void 0!==arguments[5]?arguments[5]:null,u=arguments.length>6&&void 0!==arguments[6]?arguments[6]:null,s=arguments.length>7?arguments[7]:void 0;if(!e)return null;var l={};t&&(l.amp=!0),r&&(l.from=r),i&&(l.section_id=i),u&&(l=Object.assign({},l,u)),c&&(l.open_in_app_type=c),s&&(l.refer_url=s),a&&(l.ab_tests=a);var f=function(e,t){return"ab_tests"===e?1:"ab_tests"===t?-1:0},p=(0,o.OI)(e);return l&&Object.keys(l).length>0?"".concat(p,"?").concat(n.Z.stringify(l,{sort:f})):p}t.Z={deepLink:i,urlWithParams:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=arguments.length>3?arguments[3]:void 0,o=arguments.length>4?arguments[4]:void 0,a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:null,c=arguments.length>6&&void 0!==arguments[6]?arguments[6]:null,u=arguments.length>
17&&void 0!==arguments[7]?arguments[7]:null,s=arguments.length>8&&void 0!==arguments[8]?arguments[8]:null;if(!t)return e;var l=i(t,r,n,o,a,c,u,s);return"".concat(e,"?deep_link=").concat(encodeURIComponent(l))}}},66263:function(e,t,r){"use strict";r.d(t,{a:function(){return l}});r(43105),r(34769),r(18178);var n,o=r(7799),i=r(47741),a=r(30001);function c(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var u="pageview",s="event",l={CLICK:"click",INPUT_BLUR:"input blur",TRIGGERED:"triggered",USAGE:"usage",LOGIN:"login",LOGOUT:"logout",SIGNUP:"signup",SUBSCRIBE:"subscribe",ACTIVATED:"activated"},f="button",p="curator-pro",d="favorites-menu",m="flipboard-tv",v="navigation-bar",h="onboarding",_="search",y="view-modal",b="auth",E="newsletters",g=(c(n={},a.go.TOPIC,a.hd.TOPIC_PAGE),c(n,a.go.NEWSLETTER,a.hd.NEWSLETTER_PAGE),c(n,a.go.NEWSLETTERS,a.hd.NEWSLETTERS_PAGE),n),O=void 0,S={dimension13:0},A=[],T=!1;function R(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;if((0,o.Z)().ga){var n=Object.assign({},S);if(r){var i=r.feedType,a=r.isNglPromoted,c=a?"".concat(i,"-nglPromoted"):i;n["dimension".concat(12)]=c}(0,o.Z)().ga("send",u,t,n)}}function I(e){return e&&Object.keys(e).reduce((function(t,r,n){var o="".concat(r,":").concat(e[r]),i=0===n?"":",";return"".concat(t).concat(i).concat(o)}),"")}function P(e,t,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;try{if(!(0,o.Z)().ga)return;var a=Object.assign({},S,{event_category:e,event_label:r});null!==n&&Object.keys(n).length>0&&(a["dimension".concat(15)]=I(n)),(0,o.Z)().ga("send",s,e,t,r,1,a)}catch(e){i.Z.captureException(e)}}function C(e,t,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;try{if(!(0,o.Z)().gtag)return;var a={category:e,label:r,details:n,userId:O};null!==n&&Object.keys(n).length>0&&(a.details=I(n));var c=S["dimension".concat(14)];c&&(a.flab=c),(0,o.Z)().gtag("event",t,a)}catch(e){i.Z.captureException(e)}}function w(e,t,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;if(T)return P(e,t,r,n),C(e,t,r,n);var o={type:s,eventAction:t,eventCategory:e,eventLabel:r,eventDetails:n};A.push(o)}t.Z={setAppVersion:function(e){S["dimension".concat(16)]=e},setReferrer:function(e){(0,o.Z)().ga&&(0,o.Z)().ga("set","referrer",e)},setAbTests:function(e){S["dimension".concat(14)]=e},setIsAuthenticated:function(e){S["dimension".concat(13)]=e?1:0},setGA4UserId:function(e){O=e||null;try{if("undefined"==typeof gtag)return;gtag("set","user_properties",{user_id:O,crm_id:O})}catch(e){i.Z.captureException(e)}},enableTracking:function(){T=!0,function(){for(;A.length>0;){var e=A.shift();switch(e.type){case u:R(e.title,e.pagePath,e.section);break;case s:var t=e.eventAction,r=e.eventCategory,n=e.eventLabel,o=e.eventDetails;P(r,t,n,o),C(r,t,n,o)}}}()},linkType:function(e,t){return t||e?"outbound-link":"internal-link"},trackClickLink:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,o={};null!==r&&(o.target=r),null!==n&&(o.context=n),w(e,l.CLICK,t,o)},trackClickButton:function(e,t){w(f,l.CLICK,e,t||null)},trackViewModal:function(e){w(y,l.USAGE,e)},trackSearch:function(e){w(_,l.INPUT_BLUR,e)},trackNavbarEvent:function(e,t){w(v,e,t)},trackCuratorProEvent:function(e,t){w(p,e,t)},trackFavoritesMenuEvent:function(e,t){w(d,e,t)},trackFlipboardTVEvent:function(e,t){w(m,e,t)},trackPageview:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;if(T)return R(e,t,r);var n={type:u,title:e,pagePath:t,section:r};A.push(n)},trackStandardSignupExit:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;w(b,l.SIGNUP,t,{success:e,type:a.z_.STANDARD})},trackFrictionlessSignupExit:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];w(b,l.SIGNUP,"flipboard",{success:e,type:a.z_.FRICTIONLESS})},trackLogin:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;w(b,l.LOGIN,t,{success:e})},trackFirstLaunchActivated:function(){w(h,l.TRIGGERED,"onboarding - first launch activation"),w(h,l.ACTIVATED,"onboarding - first launch activation")},trackFrictionlessSubscribeToNewsletter:function(e){w(E,l.SUBSCRIBE,g[e])}}},22749:function(e,t,r){"use strict";r.d(t,{Qr:function(){return m},VA:function(){return h},m:function(){return _},K3:function(){return y},qp:function(){return b},ur:function(){return E},um:function(){return g}
1,zK:function(){return S},f2:function(){return A},rf:function(){return T},pR:function(){return R},QQ:function(){return I},co:function(){return P},F4:function(){return C},wn:function(){return w},dq:function(){return j},O_:function(){return N},PQ:function(){return L},NK:function(){return D},oM:function(){return x},zm:function(){return M},bU:function(){return Z},yT:function(){return U},xv:function(){return k},$W:function(){return F},A8:function(){return G},rm:function(){return B},qS:function(){return z},Ec:function(){return V},o:function(){return H},Qd:function(){return q},xD:function(){return X},Qo:function(){return $},nf:function(){return J},Zz:function(){return Q}});r(35666),r(77950),r(85940),r(34769),r(16781),r(43450),r(18178),r(95342),r(49228),r(34115),r(68625),r(1939),r(62775),r(58188),r(73439);var n=r(7799),o=r(47741),i=r(77690),a=r(9906),c=r(53122),u=r(99445),s=r(42890),l=r(75007);function f(e,t,r,n,o,i,a){try{var c=e[i](a),u=c.value}catch(e){return void r(e)}c.done?t(u):Promise.resolve(u).then(n,o)}function p(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function d(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var m={WEB:"web",SAMSUNG_DAILY:"samsung-daily",WIDGET:"webwidget"},v="ue_session",h="activation_from",_="activation_referrer",y="activation_section_id",b="activation_landing_url",E="activation_adjust_initial_deep_link",g="recatpcha_score",O="section",S=5e3,A={ITEM_FLIP:"itemFlip",ITEM_LIKE:"itemLike",ITEM_UNLIKE:"itemUnlike",ITEM_SHARE:"itemShare",ITEM_ENTER:"itemEnter",SECTION_FLIP:"sectionFlip",SECTION_ENTER:"sectionEnter",CURATOR_PRO_ENTER:"curatorProEnter",CURATOR_PRO_MAGAZINE_INVITE_CONTRIBUTOR:"curatorProMagazineInviteContributor",ANALYTICS_ENTER:"analyticsEnter",SECTION_HEARTBEAT:"sectionHeartbeat",TAP_SECTION_SUBSCRIBE:"tapSectionSubscribe",SECTION_SUBSCRIBE:"sectionSubscribe",SECTION_UNSUBSCRIBE:"sectionUnsubscribe",TAP_MAGAZINE_CREATE:"tapMagazineCreate",MAGAZINE_CREATE:"magazineCreate",DISPLAY_MOBILE_GATE:"displayMobileGate",OPEN_IN_APP:"openInApp",TAP_FLIP:"tapFlip",URL_FLIP:"urlFlip",BANNER_ENTER:"bannerEnter",TOC_ENTER:"tocEnter",CONFIRMATION_EMAIL_ENTER:"confirmationEmailEnter",MAGAZINE_SUBSCRIBE:"magazineSubscribe"},T={HOME:"home",SEE_MORE:"see-more",NGL:"ngl",FEED:"feed",ARTICLE:"article",VIDEO:"video",SEARCH_RESULTS:"search-results",ZERO_STATE_SEARCH:"zero-state-search",NAV_BAR:"navbar",STORYBOARD_AUTHOR:"storyboard-author",MOBILE_GATE_BOTTOM_PICKER:"mobile-gate-bottom-picker",MOBILE_GATE_OVERLAY:"mobile-gate-overlay",PUBLISHER_ONBOARDING:"publisher_onboarding",SAMSUNG_DAILY:"samsung_daily",SAMSUNG_DAILY_NEWS_CARD:"samsung_daily_news_card",SHARE:"share",SEO:"seo",WIDGET:"widget",BRIEFING:"briefing",FLIP_COMPOSE:"flip_compose",OWN_PROFILE:"own_profile",OTHER_PROFILE:"other_profile",FIRST_LAUNCH:"firstlaunch",SETTINGS:"settings",TOC:"toc",BACKTRACKING:"backtracking",PROFILE_SECTION_TILE:"profile_tile",ANALYTICS_HOME:"analytics_home",CURATOR_PRO_MORE_BUTTON:"package_editing_more_button",CURATOR_PRO_MAGAZINE_COPY_CONTRIBUTOR_LINK:"curator_pro_copy_link",CREATE_MAGAZINE:"create_magazine",NAV_BAR_EDU_CTA:"nav_bar_edu_cta",SUBTAB:"subtab",PERSONALIZE_SHEET:"personalize_sheet",FOR_YOU_HEADER:"for_you_header",FAST_FLIP:"fast_flip",EMAIL_CONFIRMATION:"email_confirmation",INVITATION:"invitation",MAGAZINE_HEADER:"magazine_header"},R=[T.SAMSUNG_DAILY,T.SAMSUNG_DAILY_NEWS_CARD,T.BRIEFING,T.SHARE,T.SEO,T.WIDGET],I={SIGN_UP:"signup",SIGN_IN:"signin",REQUEST_LOGIN_LINK:"request_login_link",LOGIN_WITH_LINK:"login_with_link",PUBLISHER_SIGNUP:"publisher_signup",CATEGORY_SELECTOR:"category_selector",INTEREST_SELECTOR:"interest_selector",VIDEO_PLAYER_IMPRESSION:"video_player_impression",VIDEO_PLAYER_VIDEO_SELECTED:"video_player_video_selected",FRICTIONLESS_HOMEPAGE_SIGNUP:"frictionless_homepage_signup",FRICTIONLESS_NEWSLETTER_SIGNUP:"frictionless_newsletter_signup",FRICTIONLESS_NEWSLETTERS_SIGNUP:"frictionless_newsletters_signup",FRICTIONLESS_TOPIC_SIGNUP:"frictionless_topic_signup",FRICTIONLESS_INVITE_SIGNUP:"frictionless_invite_signup",FRICTIONLESS_MAIN_SIGNUP:"frictionless_main_signup",FRICTIONLESS_ACTION_GATE_COMMENTS_SIGNUP:"frictionless_action_gate_comments_signup",FRICTIONLESS_ACTION_GATE_LIKE_SIGNUP:"frictionless_action_gate_like_signup",FRICTIONLESS_ACTION_GATE_FLIP_SIGNUP:"frictionless_action_gate_flip_signup",FRICTIONLESS_ACTION_GATE_ACCEPT_INVITE_SIGNUP:"frictionless_action_gate_accept_invite_signup",FRICTIONLESS_ACTION_GATE_FOLLOW_SIGNUP:"frictionless_action_gate_follow_signup",FRICTIONLESS_ACTION_GATE_FOLLOW_TOPIC_SIGNUP:"frictionless_action_gate_follow_topic_signup",FRICTIONLESS_ACTION_GATE_SIGNUP:"frictionless_action_gate_signup",FRICTIONLESS_ACTION_GATE_FAVORITE_SIGNUP:"frictionless_action_gate_add_favorite_signup"},P={NAV_BAR:"nav_bar",NAV_BAR_EDU_CTA:"nav_bar_edu_cta",CONTENT_GATE_CTA:"content_gate_cta",SOCIAL_ACTION_GATE_CTA:"social_action_gate_cta",BRAND_BANNER_CTA:"brand_banner_cta",CTA_BANNER:"cta_banner",MOBILE_CTA_GATE:"mobile_cta_gate",TOPIC_PICKER_CTA:"sticky_topic_picker"},C={NAV_BAR_EDU_CTA:"nav_bar_edu_cta",MOBILE_CTA_GATE:"mobile_cta_gate",TOPIC_PICKER_CTA:"sticky_topic_picker"},w={ITEM:"item",SECTION:"section",LOGGED_OUT_HOME:"logged_out_home"}
1,j={DISMISS:"dismiss",OPEN_IN_APP:"open_in_app"},N={PERSONALIZE_FOR_YOU:"auth/flipboard/coverstories"},L={INVITATION:"invitation",HOME:"home",EMAIL_CONFIRMATION:"email_confirmation"},D={SOCIAL_GATE_OVERLAY:"social_gate_overlay",FRICTIONLESS_FLIP_SOCIAL_GATE_OVERLAY:"frictionless_flip_gate_overlay",FRICTIONLESS_LIKE_SOCIAL_GATE_OVERLAY:"frictionless_like_gate_overlay",FRICTIONLESS_ACCEPT_INVITE_SOCIAL_GATE_OVERLAY:"frictionless_accept_invite_gate_overlay",FRICTIONLESS_FOLLOW_SOCIAL_GATE_OVERLAY:"frictionless_follow_gate_overlay",FRICTIONLESS_FOLLOW_TOPIC_SOCIAL_GATE_OVERLAY:"frictionless_follow_topic_gate_overlay",FRICTIONLESS_PERSONALIZE_SOCIAL_GATE_OVERLAY:"frictionless_personalize_gate_overlay",FRICTIONLESS_COMMENTS_SOCIAL_GATE_OVERLAY:"frictionless_comments_gate_overlay"},x=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.remoteid;return e.ssid&&e.ssid.remoteidPlain&&(t=e.ssid.remoteidPlain),t&&t.replace(/^auth\//,"")},M=function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=arguments.length>3?arguments[3]:void 0;r.item_id=t.id,t.isSection&&t.section?(r.item_type=t.section.feedType||O,r.method=x(t.section)):r.item_type=t.type;var o=t.partnerID,i=t.sourceURL;i&&(r.url=i),o&&(r.item_partner_id=o),t.piped&&(r.piped=!0);var a=s.Z.getMagazine(t);return null!=a&&a.remoteid&&(r.magazine_id=a.remoteid),t.additionalUsage&&Object.keys(t.additionalUsage).length>0&&(r.server_properties=t.additionalUsage),U(e,r,n)},Z=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return e.ssid&&e.ssid.remoteidPlain?e.remoteid:null},U=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;if(!e)return t;t.partner_id=e.partnerId,t.type=e.feedType||O;var n=Z(e);n&&(t.ssid=n);var o=x(e);return o&&(t.section_id=o),r&&(t.number_items=F(r)),t},k=function(e,t,r){return function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?p(Object(r),!0).forEach((function(t){d(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):p(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},U(e),{magazine_id:t.magazineTarget,url:t.inviteToken},r)},F=function(e){var t=e.magazines,r=e.contributorMagazines;return(t&&t.length||0)+(r&&r.length||0)},G=function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,o=e.remoteid,i={web_nonce_section_id:"__".concat((0,n.Z)().btoa(o)),url:t,partner_id:""};return r&&(i.display_style=r),U(e,i)},B=function(e){var t=A.SECTION_ENTER,r=A.ITEM_ENTER;return e.isSection?t:r},z=function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(!e||!t)return r;var n=U(t,r);return e.ssid&&e.ssid.remoteidPlain?n.method=decodeURIComponent(e.ssid.remoteidPlain):n.method=e.remoteid,n},V=function(e,t,r,n,o){var i={section_id:e,url:t,number_items:r,tap_count:n};return o&&(i.view_count=o),i},H=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=(0,c.Do)(b);t&&(e.event_url=t);var r=(0,c.Do)(E);r&&(e.url=r);var n=(0,c.Do)(y);if(n&&(e.section_id=n),!e.method){var o=(0,c.Do)(h);o&&(e.method=o)}var i=(0,c.Do)(_);return i?e.refer_url=i:delete e.refer_url,e},q=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t="".concat(l.Z.USAGE_URL,"/setcookie"),r={};if(null!==e){var n=e.unique_id,c=e.session_id,u=e.session_expired;void 0!==n&&void 0!==c&&(r.params={unique_id:n},!1===u&&(r.params.session_id=c))}return a.Z.get(t,r).then((function(e){if(null==e||0===Object.keys(e).length){var t=new Error("Invalid usage event session response.");o.Z.captureException(t,{usageSessionRequestUrl:r.url,usageSessionRequestParams:r.params,usageSessionResponse:e})}var n=e.data,i=n.unique_id,a=n.session_id;if(!i)throw new Error("Missing unique_id in usage event session response.");if("session_invalid_error"===a)throw new Error("Invalid usage event session");return n})).catch((function(e){o.Z.captureException(e,{usageSessionRequestUrl:t,usageSessionRequestParam
1s:r.params}),i.ZP.error(e)}))},W=!1;!function(){try{var e=(0,n.Z)();if(!e||"function"!=typeof e.addEventListener)return;e.addEventListener("pagehide",(function(){W=!0}),!0),e.addEventListener("pageshow",(function(e){e&&e.persisted&&(W=!1)}),!0)}catch(e){}}();var Y=function(){try{return"function"==typeof(0,n.Z)().fetch&&function(){if(W)return!0;try{var e=(0,n.Z)().document;return Boolean(e)&&"hidden"===e.visibilityState}catch(e){return!1}}()}catch(e){return!1}},K=function(e){return Object.keys(e).map((function(t){return"".concat(encodeURIComponent(t),"=").concat(encodeURIComponent(e[t]))})).join("&")},X=function(){var e,t=(e=regeneratorRuntime.mark((function e(t){var r,c,u,s,f,p,d,v,h=arguments;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r=h.length>1&&void 0!==h[1]?h[1]:null,c=h.length>2&&void 0!==h[2]?h[2]:m.WEB,u=t.prodType||c,s={params:{data:JSON.stringify([t]),prod_type:u},timeout:17e3},f="".concat(l.Z.USAGE_URL,"/usage"),e.prev=5,!Y()){e.next=14;break}return p=K(s.params),e.next=10,(0,n.Z)().fetch("".concat(f,"?").concat(p),{method:"GET",keepalive:!0});case 10:if((d=e.sent).ok){e.next=13;break}throw new Error("usage event rejected: ".concat(d.status," ").concat(d.statusText));case 13:return e.abrupt("return",d);case 14:return e.next=16,a.Z.get(f,s);case 16:return v=e.sent,e.abrupt("return",v);case 20:e.prev=20,e.t0=e.catch(5),i.ZP.error("Failed to send usage event"),o.Z.captureException(e.t0,{usageEventRequestUrl:f,usageEventRequestParam
1s:s.params}),r&&o.Z.captureException(new r);case 25:case"end":return e.stop()}}),e,null,[[5,20]])})),function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(e){f(i,n,o,a,c,"next",e)}function c(e){f(i,n,o,a,c,"throw",e)}a(void 0)}))});return function(e){return t.apply(this,arguments)}}(),$=function(){try{return JSON.parse((0,u.Ho)((0,c.Do)(v)))}catch(e){return null}},J=function(e){try{(0,c.d7)(v,JSON.stringify(e))}catch(e){return null}},Q=function(e){return e.find((function(e){return"recs"===e.group})).subscriptions.filter((function(e){return e.isSubscribed})).map((function(e){return"recs-".concat(e.key)})).join(",")}},23135:function(e,t,r){"use strict";var n=r(7799),o=(0,r(9906).d)({baseURL:"/api/v2/auth",withCredentials:!0,timeout:15e3,headers:{"Content-Type":"application/json"}});o.interceptors.request.use((function(e){if("post"===e.method.toLowerCase()){var t=(0,n.Z)().document.querySelector('meta[name="csrf-token"]'),r=t&&t.getAttribute("content");e.headers["CSRF-Token"]=r}return e})),t.Z=o},71595:function(e,t,r){"use strict";r(77950),r(74069),r(58188),r(73439),r(94908),r(34769),r(34115),r(95342),r(68625),r(1939),r(62775);var n=r(9906),o=r(47741),i=r(47573),a=r(66345),c=r(83934),u=r(7799),s=r(53122);function l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function f(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?l(Object(r),!0).forEach((function(t){p(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):l(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function p(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var d=function(e){if(!e||!e.data||!e.data.error)return!1;var t=e.data.error,r=t.code,n=t.status,o=t.reason;return!(403!==r||"Forbidden"!==n||!o.match(/access token/i))};t.Z=function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},l=(0,n.d)(f({baseURL:(0,a.Z)()+t,timeout:3e4,headers:{"Content-Type":"application/json"}},r));return l.interceptors.request.use((function(e){return"post"===e.method.toLowerCase()&&(e.headers["CSRF-Token"]=c.Z.getCsrfTokenFromMetaElement()),e})),l.interceptors.response.use((function(e){var t=e.data,r=i.ZP.getResponseStatusCode(e);return r<200||r>299?Promise.reject(t):e}),(function(t){o.Z.addBreadcrumb("[".concat(e," Client] Failed Response Interceptor"));var r=t.response;return"ECONNABORTED"===t.code?Promise.reject(new Error("[".concat(e," Client] Request timed out"))):r?(404!==i.ZP.getResponseStatusCode(r)&&o.Z.captureException(t),d(r)?((0,s.d7)("redirect_after_auth",(0,u.Z)().location.pathname+(0,u.Z)().location.search),void((0,u.Z)().location="/logout")):Promise.reject(t.response)):Promise.reject(new Error("[".concat(e," Client] No response")))})),l}},75179:function(e,t,r){"use strict";r(43105),r(58188),r(73439);var n=r(9906),o=r(47741),i=r(7799),a=r(98278),c=r(75007),u=(0,n.d)({baseURL:"".concat(c.Z.FLAP_STATIC_URL,"/v1/static/"),headers:{"Content-Type":"application/json"},timeout:14e3});u.interceptors.request.use((function(e){var t=(0,i.Z)().navigator.language||"en-US",r=a.Z.getLanguageWithoutRegion(t),n=a.Z.getLocaleByLanguage(t);return e.params||(e.params={}),Object.assign(e.params,{lang:r,locale:n,ver:c.Z.FLAP_VERSION,device:"web"}),e})),u.interceptors.response.use((function(e){return e}),(function(e){o.Z.addBreadcrumb("[FLAP-STATIC Client] Failed Response Interceptor");var t=e.response;return"ECONNABORTED"===e.code?Promise.reject(new Error("[FLAP-STATIC Client] Request timed out")):t?(404!==t.statusCode&&o.Z.captureException(e),Promise.reject(e)):Promise.reject(new Error("[FLAP-STATIC Client] No response"))})),t.Z=u},50195:function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";var _home_node_app_apps_webapp_src_utils_global_vars__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(8260),_client__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(75179),Flap=_home_node_app_apps_webapp_src_utils_global_vars__WEBPACK_IMPORTED_MODULE_0__.Z.isServer()?eval("require('./server')").default:_client__WEBPACK_IMPORTED_MODULE_1__.Z;__webpack_exports__.Z=Flap},41712:function(e,t,r){"use strict";r(43105),r(34769),r(34115),r(95342),r(68625),r(1939),r(62775);var n=r(34688),o=r(47741),i=r(7010),a=r(38255);function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function u(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}t.Z=function(e,t,r,s){if((0,i.Z)(t))throw new n.r3;if(Array.isArray(r.sections)||(0,i.Z)(r.sections))throw new n.es;return r.limit&&r.limit>a.m&&(o.Z.captureMessage("udpate-feed limit MAX_UPDATE_FEED_LIMIT exceeded"),r.limit=a.m),e.get("/users/updateFeed/".concat(t),function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
1t%2?c(Object(r),!0).forEach((function(t){u(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):c(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({params:Object.assign({nostream:!0,wantsMetadata:!0,usessid:!0,limit:0},r)},s))}},38255:function(e,t,r){"use strict";r.d(t,{m:function(){return O},Z:function(){return S}});var n=r(8260),o=(r(43105),r(34115),r(634),r(58188),r(20796),r(15735),r(28673),r(6886),r(17620)),i=r.n(o),a=r(9906),c=r(511),u=r(83934),s=r(75007),l=r(53122);r(71245),r(35883),r(18178),r(95342),r(77950),r(48319),r(99805),r(74069),r(45794),r(26936),r(1939),r(32501),r(27233);function f(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var r=[],n=!0,o=!1,i=void 0;try{for(var a,c=e[Symbol.iterator]();!(n=(a=c.next()).done)&&(r.push(a.value),!t||r.length!==t);n=!0);}catch(e){o=!0,i=e}finally{try{n||null==c.return||c.return()}finally{if(o)throw i}}return r}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return p(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return p(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function p(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var d=function(e){return Object.entries(e).reduce((function(e,t){var r=f(t,2),n=r[0],o=r[1];return o?"".concat(e).concat(n,"=").concat(o,";"):e}),"")},m=r(63229);function v(e){return v="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},v(e)}var h=s.Z.FLAP_NAME,_=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return i()(e,["_csrf","activation_adjust_initial_deep_link","activation_from","activation_landing_url","activation_section_id","markedAsReadAt","pendingInvite","pending-video-playback-events","recatpcha_score","redirect_after_auth","webu_session.sig","webu_session"])},y=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t={baseURL:s.Z.FLAP_API_GW_URL,defaultParams:u.Z.FLAP_DEFAULT_PARAMS,useAuthTokens:!0},r=Object.assign({},t,e),n=(0,a.d)({baseURL:r.baseURL,timeout:13e3});return n.defaults.paramsSerializer=function(e){return c.Z.stringify(e,{arrayFormat:"repeat"})},n.interceptors.request.use((function(e){if("/health"===e.url)return e;e.metadata={startTime:new Date},e.params=Object.assign({},r.defaultParams,e.params);var t=_((0,l.uh)(e.headers.Cookie));if(e.headers=Object.assign({},r.headers,e.headers,{Cookie:d(t)}),r.useAuthTokens){if(!e.params.tuuid){var n=(0,l.uh)(e.headers.Cookie).oauth2_token;n&&(e.headers.Authorization="Bearer ".concat(n))}}else e.params.id=e.params.id||0,e.params.udid=e.params.udid||0,e.params.tuuid=e.params.tuuid||0;return(0,m.Z)(e.params.id,0)&&"/flipboard/login"!==e.url&&(e.params.nosession=!0),"post"===e.method||"put"===e.method?e.params.json?e.headers["Content-Type"]="application/json":(e.headers["Content-Type"]="application/x-www-form-urlencoded",e.data="object"!==v(e.data)?e.data:c.Z.stringify(e.data,{arrayFormat:"repeat"})):delete e.data,e})),n.interceptors.response.use((function(e){return u.Z.interceptResponseHandler(e,h)}),(function(e){return u.Z.interceptResponseErrorHandler(e,h)})),n},b=y(),E=(0,r(71595).Z)("FLAP","/api/v2"),g=n.Z.isServer()?b:E,O=30,S=g},83934:function(e,t,r){"use strict";r.d(t,{Z:function(){return _}});r(18178),r(58188),r(73439);var n=r(511),o=r(7799),i=r(77690),a=r(47741),c=r(47573),u=r(8260),s=r(53122),l=r(34688),f=(r(34769),r(39529),r(31235),["newPassword","password","pword","tuuid","access_token","secret"]),p=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;try{return Object.keys(e).reduce((function(r,n){return t.includes(n)?r[n]="__FILTERED__":r[n]=e[n],r}),{})}catch(e){return{}}},d=function(e,t){return n.Z.stringify(p(n.Z.parse(e),t))||""},m=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:f;return"string"==typeof e?d(e,t):p(e,t)},v=r(75007);function h(e,t,r,o,a){var c;if(u.Z.isServer()){var s=o.method,l=o.url,f=o.baseURL,p=o.params,d=o.metadata,v=o.data,h=m(p),_=m(v),y=d&&d.startTime&&new Date-d.startTime;(0,i.C$)(t||(null===(c=o.headers)||void 0===c?void 0:c["FL-JOB-ID"]),e,r,s&&s.toUpperCase(),f?"".concat(f).concat(l):l,n.Z.stringify(h,{arrayFormat:"repeat"}),_,y,a)}}var _={FLAP_DEFAULT_PARAMS:{device:"web",ver:v.Z.FLAP_VERSION,locale:"en_US"},FLAP_INTERNAL_DEFAULT_PARAMS:{device:"web",ver:v.Z.FLAP_VERSION},log:h,interceptApiGwRequest:function(e){var t=(0,s.uh)(e.headers.Cookie).oauth2_token;e.headers.Authorization="Bearer ".concat(t),"get"!==e.method&&"delete"!==e.method||delete e.data},interceptResponseHandler:function(e,t){var r=e.data,n=e.config,o=n.headers["FL-JOB-ID"]||n.params&&n.params.jobid,i=c.ZP.getResponseStatusCode(e);return i<200||i>299?(h(t,o,i,n,JSON.stringify(r)),Promise.reject(e)):(h(e&&e.request&&e.request.fromCache?"".concat(t," (cache)"):t,o,i,n),e)},interceptResponseErrorHandler:function(e,t){var r=e.response,n=e.code;if(a.Z.addBreadcrumb("[".concat(t,"] Server Failed Response Interceptor")),"ECONNABORTED"===n)return h(t,null,n,{}),a.Z.captureException(new l.Yh),Promise.reject(e);
1if(!r)return h(t,null,n,{}),a.Z.captureException(new l.Q0),Promise.reject(e);var o=r.config,i=r.data,u=c.ZP.getResponseStatusCode(r);return h(t,o.headers["FL-JOB-ID"]||o.params.jobid,u,o,JSON.stringify(i)),404!==u&&a.Z.captureException(e),Promise.reject(e)},getCsrfTokenFromMetaElement:function(){var e=(0,o.Z)().document.querySelector('meta[name="csrf-token"]');return e?e.getAttribute("content"):null}}},93981:function(e,t,r){"use strict";r.d(t,{Z:function(){return v}});var n=r(8260),o=r(9906),i=r(83934),a=r(75007),c="PUBLISHER",u=(0,o.d)({baseURL:a.Z.PUBLISHER_SERVICE_URL,timeout:3e4});u.interceptors.response.use((function(e){return i.Z.interceptResponseHandler(e,c)}),(function(e){return i.Z.interceptResponseErrorHandler(e,c)}));var s=u,l=(r(58188),r(73439),r(47741)),f=r(66345),p=r(7799),d=(0,o.d)({baseURL:"".concat((0,f.Z)(),"/api/v2/publishers/"),headers:{"Content-Type":"application/json"},timeout:3e4});d.interceptors.request.use((function(e){if("post"===e.method.toLowerCase()){var t=(0,p.Z)().document.querySelector('meta[name="csrf-token"]'),r=t&&t.getAttribute("content");e.headers["CSRF-Token"]=r}return e})),d.interceptors.response.use((function(e){var t=e.data,r=e.status;return r<200||r>299?Promise.reject(t):e}),(function(e){l.Z.addBreadcrumb("[Publisher Client] Failed Response Interceptor");var t=e.response;return"ECONNABORTED"===e.code?Promise.reject(new Error("[Publisher Client] Request timed out")):t?(404!==t.status&&l.Z.captureException(e),Promise.reject(e.response||e)):Promise.reject(new Error("[Publisher Client] No response"))}));var m=d,v=n.Z.isServer()?s:m},85183:function(e,t,r){"use strict";var n=r(9906),o=r(66897),i=(0,o.setupCache)({maxAge:9e5,limit:100,exclude:{query:!1}});t.Z=(0,n.d)({baseURL:"/api/v2/sitemap",adapter:i.adapter})},97445:function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";var _home_node_app_apps_webapp_src_utils_global_vars__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(8260),_client__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(85183),sitemap=_home_node_app_apps_webapp_src_utils_global_vars__WEBPACK_IMPORTED_MODULE_0__.Z.isServer()?eval("require('./server')").default:_client__WEBPACK_IMPORTED_MODULE_1__.Z;__webpack_exports__.Z=sitemap},50592:function(e,t,r){"use strict";r.d(t,{a:function(){return a}});r(34115),r(634),r(58188),r(20796),r(15735),r(28673),r(6886),r(27233),r(32501),r(26936);var n=r(93117);function o(e){return function(e){if(Array.isArray(e))return i(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return i(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return i(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var a=function(){return 1===arguments.length?n.k.apply(void 0,o(arguments.length<=0?void 0:arguments[0])):n.k.apply(void 0,arguments)}},53122:function(e,t,r){"use strict";r.d(t,{uh:function(){return u},Do:function(){return l},IT:function(){return f},d7:function(){return p},kT:function(){return d}});r(77950),r(85940),r(43450),r(48319),r(32501),r(16781),r(43105),r(18178),r(34115),r(634),r(58188),r(20796),r(15735),r(28673),r(6886),r(26936),r(27233);var n=r(7799),o=r(8260),i=r(47741);function a(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var r=[],n=!0,o=!1,i=void 0;try{for(var a,c=e[Symbol.iterator]();!(n=(a=c.next()).done)&&(r.push(a.value),!t||r.length!==t);n=!0);}catch(e){o=!0,i=e}finally{try{n||null==c.return||c.return()}finally{if(o)throw i}}return r}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return c(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return c(e,t)}
1(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var u=function(e){return e?e.split(";").map((function(e){return(t=e,t.replace(/^\s+|\s+$/g,"")).split("=");var t})).reduce((function(e,t){if(1===t.length)return e;var r=t.slice();r.length>2&&(r[1]=r.slice(1).join("="));var n=a(r,2),o=n[0],i=n[1],c={};return c[o]=decodeURIComponent(i),Object.assign({},e,c)}),{}):{}},s=function(){return u((0,n.Z)().document.cookie)},l=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:s;return t()[e]||null},f=function(e,t,r){var n=".flipboard.com";o.Z.isStaging&&(n="webu-staging.flipboard.com"),o.Z.isDeveloperDeploy&&(n="webu-".concat(o.Z.deployEnvironment,".flipboard.com")),o.Z.isDevelopment&&(n="localhost"),p(e,t,r,n)},p=function(e,t,r,a){var c=a||(o.Z.isDevelopment?"localhost":".flipboard.com");if(!t)return null;var u="".concat(e,"=").concat(encodeURIComponent(t),"; path=/; domain=").concat(c);if(r)try{u="".concat(u,"; expires=").concat(r.toUTCString(),";")}catch(e){e instanceof Error&&i.Z.captureException(e)}(0,n.Z)().document.cookie=u},d=function(e){return null!=e&&((0,n.Z)().document.cookie="".concat(e,"=; path=/; expires=Thu, 01 Jan 1970 00:00:01 GMT;"),(0,n.Z)().document.cookie="".concat(e,"=; path=/; domain=flipboard.com; expires=Thu, 01 Jan 1970 00:00:01 GMT;"),(0,n.Z)().document.cookie="".concat(e,"=; path=/; domain=.flipboard.com; expires=Thu, 01 Jan 1970 00:00:01 GMT;")),null}},66760:function(e,t,r){"use strict";var n=r(75007),o=r(9906),i=r(7799);t.Z=function(){var e=((0,i.Z)()||{}).COMSCORE;e&&"function"==typeof e.beacon&&e.beacon({c1:"2",c2:n.Z.COMSCORE_CLIENT_ID}),o.Z.get("/comscore_pageview",{params:{u:(new Date).getTime()},headers:{"Cache-Control":"no-cache",Pragma:"no-cache",Expires:"0"}})}},75007:function(e,t,r){"use strict";var n;r(18178),r(16781);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var i,a,c,u;!function(e){e.development="development",e.test="test",e.production="production"}(i||(i={})),function(e){e.development="development",e.beta="beta",e.staging="staging",e.production="production",e.adam="adam",e.jeremy="jeremy",e.greg="greg"}(a||(a={})),function(e){e.gumby="gumby",e.production="production"}(c||(c={})),function(e){e.beta="beta",e.production="production"}(u||(u={}));var s=(o(n={},a.development,"http://localhost:".concat("3000")),o(n,a.beta,"https://webu-beta.flipboard.com"),o(n,a.staging,"https://webu-staging.flipboard.com"),o(n,a.production,"https://flipboard.com"),o(n,a.adam,"https://webu-adam.flipboard.com"),o(n,a.jeremy,"https://webu-jeremy.flipboard.com"),o(n,a.greg,"https://webu-greg.flipboard.com"),n),l=(o({},a.beta,c.gumby).production||"production")===c.production,f="production"===u.production,p=f?"https://api2.flipboard.com":"https://api2-eng.flipboard.com",d="production"===i.production&&"production"===a.production,m=s.production||s.production||"https://flipboard.com";t.Z={ABOUT_BASE_URL:"https://about.flipboard.com",FLIPBOARD_TOP_DOMAIN_URL:"https://flipboard.com",FLIPBOARD_URL:m,LOGIN_URL:"".concat(m,"/login"),LOGOUT_URL:"".concat(m,"/logout"),SIGNUP_URL:"".concat(m,"/signup"),FLIPBOARD_ACCOUNTS_URL:"https://accounts.flipboard.com",FLAP_URL:l?"http://fllb.service.flipboard.com:99/v1":"https://gumby.flipboard.com/v1",FLAP_INTERNAL_URL:l?"http://fllb.service.flipboard.com:99/int/v1":"http://gumby.service.flipboard.com/int/v1",FLAP_API_GW_URL:"".concat(p).concat(l?"/flap/v1":"/flap/gumby"),CONTENT_API_GW_URL:"".concat(p,"/content/v1"),FLOUT_API_GW_URL:"".concat(p,"/flout/v1"),FLSEARCH_URL:"http://fllb-internal.service.flipboard.com:1015/v1",FLAB_URL:"http://fllb.service.flipboard.com:1012",FLAB_NAME:"FLAB",FLAP_STATIC_URL:"https://fbprod.flipboard.com",FLAP_NAME:l?"FLAP":"GUMBY",FLAP_VERSION:"4.2.7",FLAP_STATUS_ENDPOINT:"http://status.flipboard.com",FLOWN_URL:"https://flown.service.flipboard.com",FLAVOUR_INTERACTIVE_URL:"http://fllb01-internal.service.flipboard.com:1036",FLAVOUR_NOTIFICATIONS_URL:"http://fllb01-internal.service.flipboard.com:1047",FLEA_URL:"https://api.flipboard.com",FLEA_INTERNAL_URL:"http://localhost:4643",FLEA_INTERNAL_SECRET:"",ADS_URL:"https://ad.flipboard.com/",PUBLISHER_SERVICE_URL:"http://fllb-internal.service.flipboard.com:764",USAGE_URL:d?"https://ue.flipboard.com":"https://ue-test.flipboard.com",OAUTH2:{HYDRA_PUBLIC_URL:f?"https://as.flipboard.com":"https://as-eng.flipboard.com",HYDRA_PRIVATE_URL:f?"http://as-admin.service.flipboard.com":"http://as-eng-admin.service.flipboard.com",WEBU_HYDRA_CLIENT_ID:f?"webu-production":"webu-beta",HYDRA_REDIRECT_URL:f?"https://auth.flipboard.com/oauth2/token":"https://webu-auth-beta.flipboard.com/oauth2/token",HYDRA_RESPONSE_TYPE:"code",HYDRA_REMEMBER:!0,HYDRA_REMEMBER_FOR:31536e3,HYDRA_PERMISSIONS_SCOPE:["package:read","package:write","offline","openid"].join("+")},FACEBOOK_SDK_APP_ID:"105130332854716",GOOGLE_RECAPTCHA_PUBLIC_KEY:"6LcyJpAbAAAAAP0Jt0sy0VR_Zv5toJ0nmlciou2U",SIGNED_MEDIA_COOKIES_URL:"https://w.ms.flipboard.com/c",GOOGLE_APP_ID:"UA-39724124-2",GOOGLE_APP_NAME:"web-universal",GOOGLE_APP_ID_WIDGET:"UA-39724124-9",GOOGLE_APP_NAME_WIDGET:"web-universal-widget",GOOGLE_RECAPTCHA_PUBLIC_KEY_V2:"6LchUlUbAAAAAILhjE_yxR5myPPFwJJu8Ct4Kbf6",GOOGLE_RECAPTCHA_SITE_VERIFY:"https://www.google.com/recaptcha/api/siteverify",VIDEO_AD_SHOW_PERCENTAGE:100,VIDEO_AD_TAG_IU:"/21709104563/flipboard/flipboardtv",LOG_FORMAT:":date[clf]   REQ | [jobid - :job-id] [remote-addr - :remote-addr] [remote-user - :remote-user] [method - :method] [url - :url] [host - :req[host]] [http-version - HTTP/:http-version] [status - :status] [content-length - :res[content-length]] [referrer - :referrer] [user-agent - :user-agent] [response-time - :response-time ms]",COMSCORE_CLIENT_ID:"20080817",APPLE_SDK_URL:"https://appleid.cdn-apple.com/appleauth/static/jsapi/appleid/1/en_US/appleid.auth.js",APPLE_SDK_CLIENT_ID:"com.flipboard.flipboard.prod",APPLE_SDK_SCOPE:"name email",APPLE_SDK_REDI
1RECT_URI:"".concat(m,"/oauth/apple"),APPLE_SDK_OAUTH_STATE:"esfweregrtml",FACEBOOK_SDK_URL:"//connect.facebook.net/en_US/sdk.js",FACEBOOK_SDK_VERSION:"v3.2",FACEBOOK_APP_ID:"105130332854716",GOOGLE_SDK_URL:"https://apis.google.com/js/platform.js",GOOGLE_SDK_APP_ID:"334069016917.apps.googleusercontent.com",ENABLE_PASSWORD_VALIDATION:!0,PASSWORD_STRENGTH_MINIMUM_REQUIRED_LEVEL:2,FLAP_OAUTH_HOST:"https://fbprod.flipboard.com",BRANCH_API_URL:"https://api2.branch.io/v1",BRANCH_KEY:"production"===i.production?"key_live_eo7mZ6p5gwrrPiZDT1sYGbabAsg2SUCM":"key_test_ef9l80g4azrAJb6qT37IZnfaAvf2TLxW",CONFIRM_EMAIL_BACK_TO_FLIPBOARD:"/?action=confirmemail",MIN_REQUIRED_TOPIC_FOLLOWS:3,BUGBOT_PROJECT_ID:"13570",BUGBOT_COMPONENT_ID:"14747",BUGBOT_BASE_URL:"https://bugbot.flipboard.com/rest",BUGBOT_FL_BACKEND_HOST:l?"https://fbprod.flipboard.com":"https://gumby.flipboard.com",COMMENT_MAX_LENGTH:3e3,SOURCEPOINT_ACCOUNT_ID:1142,SOURCEPOINT_USNAT_PRIVACY_MANAGER_ID:"production"===i.production?1031534:1068967,SOURCEPOINT_GDPR_PRIVACY_MANAGER_ID:"production"===i.production?393130:1068966}},90068:function(e,t,r){"use strict";r(34769),r(43105),r(34115),r(95342),r(68625),r(1939),r(62775);var n=r(12291),o=r(14890);function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function a(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach((function(t){c(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function c(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}t.Z=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return function(e){var r=t.reduce((function(e,t){var r=t.selectors,n=t.actions;return{selectors:a({},e.selectors,{},r),actions:a({},e.actions,{},n)}}),{selectors:{},actions:{}}),i=r.selectors,u=r.actions,s=i?Object.keys(i):[];return(0,n.$j)((function(e){return s.reduce((function(t,r){if(i){var n=i[r];n&&Object.assign(t,c({},r,n(e)))}return t}),{})}),(function(e){return(0,o.DE)(u,e)}),void 0,{forwardRef:!0})(e)}}},42890:function(e,t,r){"use strict";r(77950),r(85940),r(39529),r(49228),r(43105),r(18178);var n=r(7799),o=r(57589),i=r(11826),a=r(39744),c=function(){return{isValidContentDomainURLs:[]}},u=/["'‘’★ :]/g;function s(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"…";return e?e.replace(o.Oe,(function(e,r,n,o,i,a,c,u){return u.length-c-e.length==0?"":t})):null}var l={getFirstSectionLinkByType:function(e,t){return e&&e.sectionLinks&&e.sectionLinks.find((function(r){return r.type===t||(0,a.ty)(e)&&r.feedType===t}))||null},hasDuplicateSectionLinks:function(e,t){if(!e||!t)return!1;var r=e.reduce((function(e,t){return e[t.remoteid]=!0,e}),{});return t.some((function(e){return r[e.remoteid]}))},isSourceItem:function(e){return"status"===e.type&&"flipboard"!==e.service},getSourceItem:function(e){if(e.referredByItems){var t=e.referredByItems.find((function(e){return l.getSourceItem(e)}));if(t)return t}return l.isSourceItem(e)?e:e.original&&l.isSourceItem(e.original)?e.original:null},getThirdPartySource:function(e){var t=l.getSourceItem(e);if(!t)return null;var r=!function(e,t){if(!["image","video","audio"].includes(e.type))return!0;var r=c(t.service),o=(0,n.Z)().document.createElement("a");return o.href=e.sourceURL,r.isValidContentDomainURLs.some((function(e){return o.hostname.substr(-1*e.length)===e}))}(e,t);return r&&t!==l.getOriginalItemAuthor(e)?null:t},getPrimaryAttributionModel:function(e){var t,r=l.getOriginalItemAuthor(e),n=l.getFromInfo(e);return!n&&r&&(t=l.getItemSourceCommentary(e,r)),{item:e,source:r,from:n,commentary:t}},getThirdPartyAttributionModel:function(e){var t=l.getThirdPartySource(e);return{item:e,source:t,from:null,commentary:t?t.text:null}},getOriginalItemAuthor:function(e){var t=(0,a.oQ)(e);return t&&l.getAuthor(t)},getFlipItem:function(e){if("status"===e.type)return e;if(e.referredByItems){var t=e.referredByItems.find((function(e){return"status"===e.type}));if(t)return t}return e},getAuthor:function(e){var t;if(!e)return null;var r=l.getFirstSectionLinkByType(e,"author");if(r)return r;if((0,a.zO)(e)&&e.referredByItems){var n,o=null===(n=e.referredByItems)||void 0===n?void 0:n.find((function(e){return"status"===e.type}));if(r=l.getFirstSectionLinkByType(o,"author"))return r}return(0,a.zp)(e)&&null!=e&&null!==(t=e.section)&&void 0!==t&&t.author?e.section.author:null},getAuthorName:function(e){return e?e.avatarText||e.authorDisplayName||e.authorUsername:null},getMagazine:function(e){if(null==e)return null;var t=l.getFlipItem(e),r=t&&l.getFirstSectionLinkByType(t,"magazine");if(r&&!0!==r.hidden&&!r.isProfile)return r;if(void 0!==t.originalFlip){var n=l.getFirstSectionLinkByType(t.originalFlip,"magazine");if(n&&!0!==n.hidden&&!n.isProfile)return n}return null},getFeedTitle:function(e,t){var r=e.feedTitle,n=e.service;
1return null==r||"flipboard"===n?null:t("feed_title_via_rss",{feedTitle:r})},getFromInfo:function(e){return e.franchise&&e.activity?e.activity:e.franchise?{text:e.franchise.title,sectionLinks:e.franchise.sectionLinks}:e.reason},getItemSourceCommentary:function(e,t){var r;if("flipboard"===t.service)t.text&&(r=t);else if("status"===e.type){var n=t.original||t,o=s(n.text),i=s(n.title||e.text);o&&!function(e,t){if(!e||!t)return null;var r=e.replace(u,"").toLowerCase().substr(0,20),n=e.replace(u,"").toLowerCase().substr(0,20);return 0===r.indexOf(n)}(o,i)&&(r=Object.assign({},n,{text:o}))}return r&&r.text&&(r.text=decodeURIComponent(r.text)),r},getByline:function(e,t){var r=e.authorDisplayName,n=l.getOriginalItemAuthor(e);if(null===n)return void 0!==r?r:null;var o=n.referringText,i=n.authorDisplayName,a=n.title,c=n.username,u=n.service,s=o||i||a||c;return void 0===s?null:"twitter"===u?t("author_on_twitter",{authorDisplayName:s}):void 0!==r?r.indexOf(s)>-1?s:"".concat(s," · ").concat(r):s},getSourceAttributionText:function(e,t,r){var n=e.hostDisplayName,o=e.service,i=e.sourceDomain,a=e.section,c=e.partnerID;if(e.isYoutube||e.isSoundcloud)return l.getMediaAttribution(e,t);if(void 0!==n)return n;var u=l.getOriginalItemAuthor(e);if(e.isStatus&&null!==u)return l.getByline(e,t);if(e.isMagazine||e.isStoryboard){var s=e.sectionItemAuthor||e.author,f=l.getAuthorName(s)||(null==e?void 0:e.authorDisplayName);if(e.isMagazine&&r)return t("by_author",{authorDisplayName:f});if(e.isMagazine)return f?t("magazine_by_author",{authorDisplayName:f}):"";if(e.isStoryboard)return t("by_author",{authorDisplayName:f})}if(e.isTopic||a&&a.isTopic)return t("a_flipboard_topic");if(e.isProfile||a&&a.isProfile)return t("a_profile_on_flipboard");var p=l.getFeedTitle(e,t);if(p&&"flipboard"!==o)return p;var d=e.author?e.author.authorDisplayName||e.author.title:i,m=e.isFlipComposeImage?null==u?void 0:u.authorDisplayName:e.authorDisplayName;if(void 0!==m){if("string"==typeof d&&"brandmag-amazon"!==c){var v=d.indexOf(m)>-1,h=m.indexOf(d)>-1;return v||h?d:"".concat(d," - ").concat(m)}return m}return void 0!==d?d:null},getSourceAttributionUrl:function(e){var t=e.type,r=e.sourceURL,n=e.internalURL,o=e.sectionItemAuthor,a=e.author;return"audio"===t?e.sourceURL:e.isTopic&&r?r:a&&a.authorUsername?(0,i.M_)(a):o&&o.authorUsername&&(e.isMagazine||e.isStoryboard)?(0,i.M_)(o):r||(n||null)},sectionMatchesMagazine:function(e,t){return null!==e&&((e&&e.remoteid)===t.remoteid||(e&&e.remoteidToShare)===t.remoteid)},getSoundcloudAttribution:function(e,t){var r=e.artist||e.postedBy;return void 0!==r?t("attribution_on_soundcloud",{attribution:r}):"soundcloud.com"},getYoutubeAttribution:function(e,t){var r=e.artist||e.postedBy||e.authorDisplayName;return void 0!==r?t("attribution_on_youtube",{attribution:r}):"YouTube"},getMediaAttribution:function(e,t){return e.isSoundcloud?l.getSoundcloudAttribution(e,t):e.isYoutube?l.getYoutubeAttribution(e,t):null},getFlipper:function(e){var t=l.getFlipItem(e);return t&&l.getAuthor(t)}};t.Z=l},97185:function(e,t,r){"use strict";r(49228),r(43105),r(34115),r(634),r(95342),r(32501);var n=r(98278);t.Z={getFranchise:function(e,t){if(!e)return null;var r=e.sections;if(void 0===r)return null;var n=r.find((function(e){return e.remoteid===t}));return void 0!==n?n:null},getHomeSections:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],o=arguments.length>3?arguments[3]:void 0,i=o.lang,a=o.locale;if(!e)return null;var c=t.filter((function(e){return r.indexOf(e.title)>=0})),u=n.Z.isLangMatch(i,"en")&&n.Z.isLocaleMatch(a,"en_US"),s=(u?c:e.sections.slice(0,7)).filter((function(e){return!e.locale||n.Z.isLocaleMatch(e.locale,a)}));return u?s.sort((function(e,t){var n=r.indexOf(e.title);return-1===n?1:n<r.indexOf(t.title)?-1:1})):s},convertSectionToSectionItem:function(e){if(!e)return null;var t=Object.assign({},e,{isFromContentGuide:!0});return{type:"section",id:e.remoteid,author:e.author,brick:e.brick,title:e.title,description:e.description,section:t,subhead:e.subhead}},getNonCarouselSections:function(e){return e?e.sections.filter((function(e){return!e.showCarousel})):[]}}},27318:function(e,t,r){"use strict";r.d(t,{d:function(){return R},y:function(){return I}});r(35666),r(34769),r(16781),r(43450),r(18178),r(71245),r(58188),r(73439),r(43105),r(77950),r(74069),r(88233),r(34115),r(634),r(20796),r(15735),r(28673),r(6886),r(27233),r(32501),r(26936);var n=r(10554),o=r(77690),i=r(8260),a=(r(85940),r(9906)),c=r(511),u=r(83934),s=r(75007);function l(e){return l="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},l(e)}var f=s.Z.FLAB_NAME,p=(0,a.d)({baseURL:s.Z.FLAB_URL,timeout:15500});p.defaults.headers.common.Host=s.Z.FLAB_URL.replace(/^(?:\w+:)?\/\//,"");var d=function(e){return c.Z.stringify(e,{arrayFormat:"repeat"})};
1p.defaults.paramsSerializer=d,p.defaults.transformRequest=[function(e){return"object"!==l(e)?e:d(e)}],p.interceptors.response.use((function(e){return u.Z.interceptResponseHandler(e,f)}),(function(e){return u.Z.interceptResponseErrorHandler(e,f)}));var m=p,v=r(47741),h=r(66345),_=(0,a.d)({baseURL:"".concat((0,h.Z)(),"/api/v2/ab"),timeout:16e3,headers:{"Content-Type":"application/json"}});_.interceptors.response.use((function(e){return e}),(function(e){var t=e.response,r=e.code;return v.Z.addBreadcrumb("[FLAB Client] Failed Response Interceptor"),"ECONNABORTED"===r?Promise.reject(new Error("[FLAB Client] Request timed out")):t?(404!==r&&v.Z.captureException(e),Promise.reject(e.response)):Promise.reject(new Error("[FLAB Client] No response"))}));var y=_,b=i.Z.isServer()?m:y,E=r(6630);function g(e){return function(e){if(Array.isArray(e))return O(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return O(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return O(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function O(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function S(e,t,r,n,o,i,a){try{var c=e[i](a),u=c.value}catch(e){return void r(e)}c.done?t(u):Promise.resolve(u).then(n,o)}function A(e){return function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(e){S(i,n,o,a,c,"next",e)}function c(e){S(i,n,o,a,c,"throw",e)}a(void 0)}))}}var T=n.ZP.pick,R=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r="/get_all_cells",n=null;function a(e){var t=e&&Object.keys(e);return t&&t.length>0&&t.sort().map((function(t){return"".concat(t,"_").concat(e[t].group)})).join(",")||null}function c(){var a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,c=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,u=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},s=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(!i.Z.isServer()&&n){if(!s)return n;n=null}var l=function(){var e=A(regeneratorRuntime.mark((function e(t){var n,i,a,c,u;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n={id:t},e.prev=1,e.next=4,b.get(r,{params:n});case 4:if(i=e.sent,a=i&&i.data&&i.data.experiment_map){e.next=11;break}throw c="No experiments found in response.",u=new Error(c),v.Z.captureMessage(c,{experimentsResponse:i}),u;case 11:return e.abrupt("return",a||{});case 14:return e.prev=14,e.t0=e.catch(1),o.ZP.error("Error requesting experiments: ".concat(e.t0.message)),v.Z.captureException(new Error("Request experiments failed"),{experimentsRequestPath:r,experimentsRequestParmas:n}),e.abrupt("return",{});case 19:case"end":return e.stop()}}),e,null,[[1,14]])})));return function(t){return e.apply(this,arguments)}}(),f=[];return Number(a)&&f.push(l(a).then((function(t){var r=Object.keys(t).reduce((function(e,r){var n=t[r];return n.client_test||(e[r]=n),e}),{}),n=T(t,e.map(String));return Promise.resolve(Object.assign({},r,n))}))),c&&f.push(l(c).then((function(e){return Promise.resolve(T(e,t.map(String)))}))),n=(0,E.F)(f).then((function(e){var t=Object.assign.apply(Object,[{}].concat(g(e),[u]));return Promise.resolve(t)}))}function u(e,t){return c(p(e),f(e),t)}function s(e,t){if(!e)return null;if(void 0===e[t])return null;var r=e[t]&&e[t].group;return parseInt(r,10)}function l(e){if(!e)return null;var t=e.experimentId,r=e.experimentGroup;if(!t||!r)return null;var n={};return n[t]={group:r},n}function f(e){if(!e)return null;try{var t=e.ue_session;if(t)return(t&&JSON.parse(t)).unique_id||null}catch(t){t.message.match(/JSON/)?v.Z.captureMessage("Failure to parse ue_session cookie!",{ue_session:e.ue_session}):v.Z.captureException(t)}return null}function p(e){return e&&e.userid||null}return{getExperimentGroup:s,experimentsForTracking:a,overridesFromQuery:l,getOverridesParams:I,getFlabUniqueIdFromCookies:f,getFlabUidFromCookies:p,requestExperiments:c,get
1ServerSideExperiments:u}},I=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e&&Object.keys(e)[0];return t?{experimentId:t,experimentGroup:e[t].group&&e[t].group.toString()}:null}},47573:function(e,t,r){"use strict";r.d(t,{ZP:function(){return U}});r(49228),r(95342),r(43450),r(32501),r(18178),r(67890),r(77950),r(85940),r(48319),r(33132),r(71245),r(9949),r(39529),r(31235),r(34769),r(43105),r(58188),r(88233),r(34115),r(68625),r(1939),r(62775),r(26936),r(27233),r(28673),r(634),r(20796),r(15735),r(6886);var n=r(99445),o=r(39744),i=r(80768),a=r(94532),c=r(98278),u=r(50592),s=r(30001);function l(e){return function(e){if(Array.isArray(e))return p(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||f(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function f(e,t){if(e){if("string"==typeof e)return p(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?p(e,t):void 0}}function p(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function d(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function m(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?d(Object(r),!0).forEach((function(t){v(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):d(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function v(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var h="flipboard/user",_="flipboard/username/",y="auth/flipboard/curator%2Flikes",b=function(e,t,r){return e[t]&&r(e[t])},E=/^sid\/[a-z0-9]{16}\//i,g=/^sid\/[a-z0-9]{9}\//i,O=/^flipboard\/topic\//i;function S(e){return e.find((function(e){return"metadata"===e.type}))||{}}function A(e){return e.filter((function(e){return"metadata"===e.type&&e.section}))||[]}function T(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r=e.find((function(e){return"sidebar"===e.type&&"sidebar"===e.sidebarType&&(!t||e.sectionID===t)}))||{},n=r&&r.groups&&r.groups.find((function(e){return"magazines"===e.usageType}));return n&&n.metrics||null}function R(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=S(e),n=r.section;if(!n)return null;if(n.sectionID=r.sectionID,n.invite=r.invite,n.metrics=T(e),a.Z.sectionIsNgl(t,n)){var o=a.Z.getConfig(t,n);return a.Z.convertSectionToStoryboard(n,o||{})}return n}function I(e){return e.find((function(e){return e.EOS&&"metadata"===e.type}))}function P(e){var t,r=function(e,t){var r;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(r=f(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,c=!1;return{s:function(){r=e[Symbol.iterator]()},n:function(){var e=r.next();return a=e.done,e},e:function(e){c=!0,i=e},f:function(){try{a||null==r.return||r.return()}finally{if(c)throw i}}}}(e);try{for(r.s();!(t=r.n()).done;){var n=t.value,i=(0,o.gJ)(n);if(i)return i;if(n.items&&(i=P(n.items)))return i}}catch(e){r.e(e)}finally{r.f()}return null}var C=function(e){return e&&decodeURIComponent(e.replace("auth/",""))},w=function(e){return e.findIndex((function(e){return e.isLikesSection}))},j=function(e,t){var r,n;if(!e||!t)return!1;var o=C(e);if(!o)return!1;if(C(t.remoteid)===o||C(t.sectionID)===o||C(null===(r=t.ssid)||void 0===r?void 0:r.remoteidPlain)===o||C(null===(n=t.rootTopic)||void 0===n?void 0:n.remoteid)===o||C(t.requestedRemoteId)===o)return!0;
1if(o.includes(_)){var i=o.replace(_,"");return t.authorUsername===i&&t.isProfile}return!1};function N(e,t){return e===y?w(t):t.findIndex((function(t){return j(e,t)}))}var L=function(e){return function(t,r){return t&&e(t.toString(),r)||r("fallback_error_message")}},D=L((function(e,t){var r;return b((v(r={},s.yn.GENERIC_ERROR,"default_error_message_generic_error"),v(r,s.yn.MULTIPLE_ACCOUNTS_FOR_EMAIL_ADDRESS,"default_error_message_multiple_accounts_for_email_address"),v(r,s.yn.INVALID_CREDENTIALS,"default_error_message_invalid_credentials"),v(r,s.yn.NO_ASSOCIATED_ACCOUNT,"default_error_message_no_associated_account"),v(r,s.yn.NON_EXISTANT_ACCOUNT,"default_error_message_non_existant_account"),r),e,t)})),x=L((function(e,t){var r;return b((v(r={},s.yn.MULTIPLE_ACCOUNTS_FOR_EMAIL_ADDRESS,"forgot_password_error_message_multiple_accounts_for_email_address"),v(r,s.yn.INVALID_CREDENTIALS,"forgot_password_error_message_invalid_credentials"),v(r,s.yn.NON_EXISTANT_ACCOUNT,"forgot_password_error_message_non_existant_account"),r),e,t)}));var M=["en","fr","de"];var Z={errorMessage:function(e,t,r){return(!!e.msg&&e.errorcode)===Z.responseCodes.UNVERIFIED_EMAIL?e.msg:r||t("fallback_error_message")},generateAccessToken:function(e,t,r){return"".concat(e,"|").concat(t,"|").concat(r)},getIdsFromToken:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=decodeURIComponent(e).split("|");return t.length<3?{id:0}:{id:t[0],udid:t[1],tuuid:t[2]}},isRemoteIdSectionMatch:j,metadata:S,sectionMetadataItems:A,metrics:T,sectionRawItemsFromStream:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r=e.filter((function(e){return(0,o.Qc)(e)}));null!==t&&(r=t.concat(r));var n=r.reduce((function(e,t){return e[t.id]||(e[t.id]=t),e}),{});return Object.values(n)},nglProcessedRawItems:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],n=e;return a.Z.sectionIsNgl(r,t)&&(n=a.Z.getSectionStoryboardtems(r,t,n)),n=a.Z.convertSectionItemsToNgl(r,n)},sectionEosMetadata:I,noItemStatus:function(e){var t=I(e),r=R(e);return!(!(t&&t.noItemStatus&&t.noItemsText)||null!=r&&r.invite)},neverLoadMore:function(e){var t=I(e);return!(!t||!t.neverLoadMore)||!1},getMagazinesFromStream:function(e){return e.filter((function(e){return(0,o.du)(e)})).reduce((function(e,t){var r=(t.items||[]).filter((function(e){return(0,o.Pj)(e)}));return e.concat(r)}),[])},getRemoteidByUserid:function(e){return"".concat(h,"%2F").concat(e)},getUseridByRemoteid:function(e){return e.replace("".concat(h,"%2F"),"")},getProfileVideoRemoteid:function(e){return"flipboard/list%2Fvideos%2F".concat(e)},getResponseStatusCode:function(e){var t=e.data,r=e.status,n=t&&(t.errorcode||t.code);return(n=Number.isInteger(n)?n:null)||r},getRelatedArticlesSectionFromStream:function(e,t){return e.find((function(e){return(0,o.ty)(e)&&e.sectionID===t}))||null},getTopicTagFromRemoteid:function(e){return C(e).replace("flipboard/topic/","")},getUserFromUserInfo:function(e){if(!e||!e.myServices||!e.myServices.length)return null;var t=e.myServices.find((function(e){return"flipboard"===e.service}));return t||null},getUserContentOptions:function(e){var t;if(null==e||!e.states)return null;var r=null===(t=e.states.find((function(e){return"user"===e.type})))||void 0===t?void 0:t.data;return r?{mutedAuthors:r.mutedAuthors,mutedSourceDomains:r.mutedSourceDomains}:void 0},getUserStats:function(e){var t=e.stats,r=e.contributorMagazines,n=e.smartMagazines,o=e.communityGroups;if(!(t||r||n||o))return null;var a={};return t&&t.profileMetrics&&(a=i.Z.getSectionMetrics({metrics:t.profileMetrics})),r&&(a.groupMagazines=r.length),n&&(a.smartMagazines=n.length),o&&(a.communityGroups=o.length),a},getImageFromStream:P,getSectionCoversFromStream:function(e,t){return e.reduce((function(e,r){var n=P(t.filter((function(e){return e.sectionID===r})));return e[r]=n,e}),{})},profileLikesRemoteId:function(e){return e?"".concat(y,"/").concat(e):y},responseCodes:s.yn,nextPageKeyFromStream:function(e){if(!e||!Array.isArray(e)||0===e.length)return null;var t=e.filter((function(e){return(0,o.Qc)(e)&&"topicImages"!==(null==e?void 0:e.groupType)}));if(0===t.length)return null;var r=t.slice(-1)[0];return r&&(r.nextPageKey||r.id)||null},normalizeRemoteid:C,getSectionByRemoteId:function(e,t){var r=N(e,t);return-1===r?null:t[r]||null},getUserStoryboardSectionId:function(e){return"flipboard/list/package/".concat(e)},getUserStoryboardsSection:function(e,t){return t.find((function(t){if(!i.Z.isUserStoryboards(t))return null;var r=t.authorUsername;return r&&r.toLowerCase()===e.toLowerCase()}))},getSectionIndexByRemoteId:N,updateSectionByRemoteId:function(e,t){var r=N(e.remoteid,t);return-1===r?[e].concat(l(t)):t.map((function(t,n){return r===n?(e.metrics&&0!==Object.keys(e.metrics).length||Object.assign(e,{metrics:t.metrics}),e):t}))},getLikesSection:function(e){return e[w(e)]||null},isAccessTokenExpired:function(e){return!!e&&(e.errorcode===s.yn.EXPIRED_TOKEN||(!(!e.stream||!e.stream[0]||"resetUser"!==e.stream[0].action)||"resetUser"===e.action))},isSmartMagazineSupported:function(e){return M.includes(e)},isFirstPageGroup:function(e,t){return!e&&!!t.find((function(e){return"group"===e.type}))},isStoryboardSectionId:function(e){return E.test(e)},isTopicSectionId:function(e){return O.test(C(e))},isMagazineSectionId:function(e){return g.test(e)}
1,getDefaultFlapRequestParams:function(e){return m({jobid:e.jobid.withUpstreamSegment()},function(e){var t=e.headers["accept-language"]||"en";return{lang:c.Z.getLanguageWithoutRegion(t),locale:c.Z.getLocaleByLanguage(t)}}(e))},getFlapErrorCodeMessage:D,getFlapForgotPasswordErrorCodeMessage:x,getSectionFromStream:R,getBasicSectionsFromStream:function(e){return A(e).map((function(t){return m({},t.section,{sectionID:t.sectionID,metrics:T(e,t.sectionID)})}))},getResolveUrlRemoteid:function(e){return"resolve/flipboard/url".concat((0,n.Dp)("/".concat(e)))},getMagazineItemRemoteid:function(e){return"auth/flipboard/curator/magazineitem/".concat(e.remoteServiceItemID)},getRemoteServiceItemId:function(e){return e.id?e.id.replace(/^flipboard:/,""):null},getFlatItems:function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],r=arguments.length>1?arguments[1]:void 0;return t.reduce((function(t,n){if("metadata"===n.type&&n.section){var i=(0,o.CJ)(n.section);return[].concat(l(t),[i])}if("group"===n.type)return[].concat(l(t),l(e(n.items,r)));if(!r||r.includes(n.type)){var a=(0,o.CJ)(n);return[].concat(l(t),[a])}return t}),[])},getTitlesByUrl:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return e.reduce((function(e,t){var r=(0,n.OI)(t.sourceURL);return Object.assign({},e,v({},r,t.title))}),{})},sectionOrDefaults:function(e){return e||{items:[],rawItems:null,nextPageKey:null,neverLoadMore:!0,magazines:[],followers:[],followersNextPageKey:null,followersLoading:!1,stale:!1,placeholder:!0}},getItemsLang:function(e){for(var t,r=0;r<e.length;r++){var n=e[r];if(n.language)if(t=n.language.split(",").find((function(e){return["en","fr","de"].includes(e)})))return t}return null},getRelatedStoryboardsRemoteId:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(!e)return null;if(e.isTopic||e.rootTopic){var r,o=null!==(r=e.rootTopic)&&void 0!==r&&r.remoteid?Z.getTopicTagFromRemoteid(e.rootTopic.remoteid):e.topicTag;return"flipboard/storyboards%2F".concat(o)}var i=t&&t.ssid&&t.ssid.remoteidPlain;if(i)return i.replace("similarArticles","similarStoryboards");var a=e.additionalUsage&&e.additionalUsage.url,c=e.sourceURL;return a||c?"flipboard/similarStoryboards%2F".concat((0,n.Dp)(a||c)):null},likedItemUids:function(e,t){return e.filter((function(e){return e.commentary&&e.commentary.length>0})).filter((function(e){return e.commentary.some((function(e){return e.type.includes("like")&&e.userid.includes(t)}))})).map((function(e){return e.id}))},getSubTopicsFromStream:function(e){var t=e.find((function(e){return"sidebar"===e.type&&e.groupId&&0===e.groupId.indexOf("SectionTabs")}));return t?t.items:[]},getSectionMetadataItemsFromStream:function(e){return(0,u.a)(e.filter((function(e){return null!==e}))).filter((function(e){return"metadata"===e.type&&!e.noItemStatus&&!e.EOS}))}},U=Z},11826:function(e,t,r){"use strict";r.d(t,{xf:function(){return h},_0:function(){return _},ER:function(){return y},YR:function(){return b},jB:function(){return E},Eo:function(){return g},Qu:function(){return A},Jg:function(){return T},OO:function(){return R},Tb:function(){return w},YH:function(){return j},M_:function(){return L},bP:function(){return D},YU:function(){return x},yQ:function(){return M},fZ:function(){return Z},QC:function(){return U},wQ:function(){return k},rN:function(){return F},Kp:function(){return G},iK:function(){return B},ws:function(){return z},st:function(){return V},qD:function(){return H},j8:function(){return q},Xy:function(){return W}});r(77950),r(74069),r(18178),r(85940),r(45794),r(39529),r(31235),r(48319),r(58188),r(88233),r(34115),r(634),r(20796),r(15735),r(28673),r(6886),r(32501),r(26936),r(27233);var n=r(80129),o=r.n(n),i=r(75007),a=r(45828),c=r(27318),u=r(80768),s=r(99445),l=r(47741);function f(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var r=[],n=!0,o=!1,i=void 0;try{for(var a,c=e[Symbol.iterator]();!(n=(a=c.next()).done)&&(r.push(a.value),!t||r.length!==t);n=!0);}catch(e){o=!0,i=e}finally{try{n||null==c.return||c.return()}finally{if(o)throw i}}return r}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return p(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return p(e,t)}
1(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function p(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var d="sid/26l71bvl6mq7j1r3",m=/([^?]+)(\?.*)?/,v="-",h=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return 0===(null==e?void 0:e.indexOf("https://flipboard.com/redirect"))||(0,s.sD)(e)&&0!==e.indexOf(i.Z.ABOUT_BASE_URL)&&0!==e.indexOf(i.Z.FLIPBOARD_URL)&&0!==e.indexOf(i.Z.LOGIN_URL)&&0!==e.indexOf(i.Z.SIGNUP_URL)},_=function(e){if(!e)return null;var t=e.match(m);return t&&t.length>1?t[1]:e},y=function(e){return/^\/@[^/]+\/[^/]+?[^/]*$/.test(e)},b=function(e){var t=e.shortcut,r=e.shortcutId,n=e.username,o=e.slug,i=e.sid,a=e.ssid;if(t)return"flipboard/".concat((0,s.Dp)("".concat(t,"/").concat(decodeURIComponent(r))));if(i)return i;if(o){var c=O(o).sid;if(n&&c)return"sid/".concat(c,"/").concat(n);if(S(c))return"flipboard/webNonce/".concat(c);if(c)return"sid/".concat(c)}return n?"flipboard/username/".concat(n):o?decodeURIComponent(o):null!=a&&a.remoteidPlain?a.remoteidPlain:null!=a&&a.sid?a.authorUsername?"sid/".concat(a.sid,"/").concat(a.authorUsername):"sid/".concat(a.sid):null};var E=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return e.replace(i.Z.FLIPBOARD_TOP_DOMAIN_URL,t?i.Z.FLIPBOARD_URL:"")},g=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=i.Z.SIGNUP_URL,r=(0,c.y)(e);return r&&(t+="?".concat(o().stringify(r))),t},O=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=e.lastIndexOf("-");return t>-1?{title:e.substr(0,t),sid:e.substr(t+1)}:0===(t=e.indexOf("__"))?{title:"",sid:e}:{title:e,sid:null}},S=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return/^[_]{2}|(^[ab][a-zA-Z0-9\+\/]{1,5})$/.test(e)},A=function(e){var t=e.sourceURL,r=e.sourceURLKey,n=null;return!function(e){return e&&"-"!==e}(r)?t&&(n="resolve/flipboard/url/".concat(decodeURIComponent(t))):n="flipboard/itemlink/".concat(decodeURIComponent(r)),n},T=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=e.authorUsername,n=e.username,o=e.remoteid;return void 0!==r?"/@".concat((0,s.Dp)(r)):e.isCommunityGroup&&e.author&&e.author.authorUsername?"/@".concat((0,s.Dp)(e.author.authorUsername)):void 0!==n?"/@".concat((0,s.Dp)(n)):t&&void 0!==o?"/section/sid/".concat((0,s.Dp)(o)):void 0!==o?"/section/".concat((0,s.Dp)(o)):null},R=function(e){if(!u.Z.isTopic(e))return null;var t=e.topicTag,r=e.remoteid;return void 0!==t?"/topic/".concat(t):void 0!==e.topic?"/topic/".concat(e.topic):void 0!==r?decodeURIComponent(r.replace(/auth\//,"").replace("flipboard","").replace(/\/\//,"")):null},I=function(e){var t;return e.isService?e.remoteid&&e.remoteid.indexOf(e.service)>-1?"/section/".concat((0,s.Dp)(e.remoteid)):null!==(t=e.ssid)&&void 0!==t&&t.remoteidPlain&&0!==e.ssid.remoteidPlain.indexOf("auth/")?"/section/".concat((0,s.Dp)("auth/")).concat((0,s.Dp)(e.ssid.remoteidPlain)):"/section/".concat((0,s.Dp)(e.remoteid)):null},P=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:80;return e.toLowerCase().replace(/[^\w-]/g," ").trim().substr(0,t).replace(/\s+/g,v)},C=function(e){if(!e||!e.ssid||!e.ssid.sid)return null;var t=e.displayName,r=e.title,n=t||r||v;return n=P(n).replace(/-$/,""),"".concat(n).concat(v).concat(e.ssid.sid)},w=function(e){var t=e.remoteid,r=e&&e.ssid&&e.ssid.authorUsername||e&&e.author&&e.author.authorUsername,n=C(e);return[a.Z.FOR_YOU_FEED_REMOTE_ID,d].includes(t)?"/":null!==n||t?r?"/@".concat((0,s.Dp)(r),"/").concat((0,s.XY)(n||t)):"/section/".concat((0,s.XY)(n||t)):null},j=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=e.sourceURL,n=e.isProfile,o=e.isTopic,a=e.isService,c=e.isCommunityGroup,l=e.isSmartMagazine;if(a)return I(e);var f=i.Z.FLIPBOARD_TOP_DOMAIN_URL;if(r&&0===r.indexOf(f)){var p=(0,s.KM)(r);if((null==p?void 0:p.origin)===f)return p.pathname}return n||c||u.Z.isContributor(e)?T(e,t):o?R(e):l?N(e):w(e)},N=function(e){var t=C(e);return null===t?null:"/section/".concat(t)},L=function(e){if(null===e)return null;var t=function(e){return e?e.replace(i.Z.FLIPBOARD_TOP_DOMAIN_URL,""):null},r=e.authorURL||e.sourceURL;return!e.isFlipboard&&r?t(r):t(T(e)||j(e)||e.authorURL)},D=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r=null;if(!e.isFirstPartyVideo&&!e.isNote&&e.isFlipboard&&e.sourceURL&&0===e.sourceURL.indexOf(i.Z.FLIPBOARD_TOP_DOMAIN_URL))return E(e.sourceURL,!0);if(!e.excludeContext&&(null!==t&&(r=j(t)),null===r||"/"===r)){var n=e&&e.reason&&Array.isArray(e.reason.sectionLinks)&&e.reason.sectionLinks[0];n&&(r=j(n))}null===r||"/"===r?r="/article/":"/"!==r.substr(-1)&&(r="".concat(r,"/"));var o,a=e.mainItem?e.mainItem.sourceURLKey:e.sourceURLKey;if(!a)return null;if(a.includes("/")){var c=a.split("/"),u=f(c,2),p=u[0],d=u[1];o="".concat((0,s.Dp)(p),"%2F").concat(d)}else o=(0,s.Dp)(a);var m,v=e&&e.title||"-",h=P(v);try{m=(0,s.Dp)(h)||"-"}catch(e){l.Z.captureException(e,{slugTitle:h}),m="title"}return null===m?null:"".concat(r).concat(m,"/").concat(o)},x=function(e){var t=e.sourceURL;return t&&"/article/".concat((0,s.Dp)(t))||null},M=function(e){var t=e.author,r=e.remoteid;return t?"/@".concat(t.authorUsername,"/magazines/").concat((0,s.Dp)(r),"/edit"):null},Z=function(e,t){return"/@".concat(e,"/storyboards/").concat(t,"/edit")},U=function(e,t){return"/@".concat(e,"/storyboards/").concat(t,"/analytics")},k=function(e,t){return"/@".concat(e,"/magazines/").concat(encodeURIComponent(t),"/analytics")},F=function(e,t){return"/@".concat(e,"/campaigns/").concat(t,"/edit")},G=function(e){return"flipboard://showSection/".concat(e.remoteid,"?feedType=bundle")},B=function(e){return!!e.sourceURL&&0===e.sourceURL.indexOf("https://about.flipboard.com")},z=function(e){return!!e.sourceURL&&0===e.sourceURL.indexOf("http://cdn.flipboard.com")},V=function(e,t){var r=function(e){return(0,s.sD)(e)?e.replace(i.Z.FLIPBOARD_URL,i.Z.FLIPBOARD_TOP_DOMAIN_URL):"".concat(i.Z.FLIPBOARD_TOP_DOMAIN_URL).concat(e)}(e.canonicalPath),n=(0,s.KM)(r);if(null===n)return n;n.searchParams.append("from","share"),n.searchParams.append("utm_source","flipboard");var o=u.Z.isOwner(e,t);return n.searchParams.append("utm_medium",o?"curator_share":"share"),n.toString()},H="flipboard://showHomeFeed",q=function(e){return"flipboard://showSearch/?term=".concat(e)},W=function(e){return e&&"string"==typeof e?"/@".concat((0,s.Dp)(e)):null}},39744:function(e,t,r){"use strict";r.d(t,{Wv:function(){return L},Bc:function(){return D},Wq:function(){return U},zp:function(){return k},cQ:function(){return G},ty:function(){return H}
1,du:function(){return q},g0:function(){return Y},gi:function(){return K},zO:function(){return X},yL:function(){return $},Pj:function(){return J},Qc:function(){return ee},gJ:function(){return fe},BB:function(){return ve},OP:function(){return Se},eK:function(){return Ie},Ay:function(){return Ce},So:function(){return Le},CJ:function(){return Ge},ml:function(){return Be},n1:function(){return Ve},sX:function(){return He},wS:function(){return qe},CS:function(){return We},b$:function(){return Ye},oQ:function(){return Ke},mX:function(){return Xe}});r(95342),r(77950),r(74069),r(39529),r(45794),r(34769),r(43450),r(32501),r(18178),r(34115),r(634),r(49228),r(43105),r(1939),r(31235),r(58188),r(20796),r(15735),r(28673),r(6886),r(27233),r(26936);var n=r(10554),o=r(35126),i=r(68656),a=r(42890),c=r(80768),u=r(99445),s=r(11826),l=r(93780),f=r(47573),p=r(8260),d=r(76635),m=r(7010);function v(e){return function(e){if(Array.isArray(e))return y(e)}(e)||b(e)||_(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function h(e){return function(e){if(Array.isArray(e))return e}(e)||b(e)||_(e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function _(e,t){if(e){if("string"==typeof e)return y(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?y(e,t):void 0}}function y(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function b(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}var E=n.ZP.createRule,g=n.ZP.getFromRules,O=["post","image","audio","video","status","sectionCover","group","section","activity"],S=/[^https://player.vimeo.com/video/]+$/,A=function(e){var t=e.inlineItems;return void 0!==t&&t.length>0&&t.filter((function(e){return void 0!==e.image}))||[]},T=function(e){var t=function(e){var t=e.inlineItems;return void 0!==t&&t.filter((function(e){return"video"===e.type}))}(e);return t.length>0?t[0]:null},R=function(e){return"audio"===e.type},I=function(e){return!(!e.additionalUsage||"high"!==e.additionalUsage.content_quality)},P=function(e){var t=e.audioURL;if(!R(e))return!1;var r=void 0!==t&&t.match(/soundcloud/);return r&&r.length>0},C=function(e){var t=e.videoService,r=e.src;return"youtube"===t||void 0!==r&&r.match(/youtube/)},w=function(e){return!!("vimeo"===e.videoService||e.sourceURL&&e.sourceURL.match(/^https?:\/\/vimeo/))},j=function(e){return void 0!==(void 0!==e.h264URL?e.h264URL:e.sourceURL)},N=function(e){return D(e)||w(e)||C(e)||j(e)&&"video"===e.type},L=function(e){if(N(e))return!0;var t=T(e);return null!==t&&N(t)},D=function(e){return!("video"!==e.type||e.videoService||!e.videoSiteURL)},x=function(e){return"image"===e.type},M=function(e){return"post"===e.type},Z=function(e){return"group"===e.type},U=function(e){return!("section"!==e.type&&"feed"!==e.type||!e.section)},k=function(e){return U(e)&&"bundle"===be(e)},F=function(e){return U(e)&&c.Z.isProfile(e.section)},G=function(e){return"sectionCover"===e.type},B=function(e){return"status"===e.type},z=function(e){return B(e)&&"twitter"===e.service},V=function(e){return"flipboard"===e.service},H=function(e){return"group"===e.type},q=function(e){return"sidebar"===e.type},W=function(e){return R(e)||L(e)},Y=function(e){return W(e)||D(e)||M(e)},K=function(e,t){return B(e)&&!(z(e)||t&&z(t))},X=function(e){return x(e)&&re(e)},$=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return K(e,t||e.original)||X(e)},J=function(e){return"magazine"===e.feedType||e.section&&"magazine"===e.section.feedType},Q=function(e){return"activity"===e.type},ee=function(e){return O.includes(e.type)},te=function(e){return!!(e.title||e.image||e.inlineImage||e.text||e.excerptText||e.original&&e.original.text)},re=function(e){return"flipboard.com"===e.sourceDomain&&!(0,u.sD)(e.text)&&!(0,s.iK)(e)&&!(0,s.ws)(e)},ne=function(e){return function(t){return!0===(0,m.Z)(null==t?void 0:t[e])||t[e]}},oe=ne("canShare"),ie=ne("canShareLink"),ae=ne("canReply"),ce=ne("canLike"),ue=function(e){var t=B(e)&&e.text||e.title;if(!t)return null;var r=(0,i.v)(t,!1);if(!r)return t;var n=r.trim();return(0,o.Z)(n)},se=function(e,t){return"string"==typeof t?!!t:!!t&&Object.keys(t).length>0},le=[["albumArtImage",R],["posterImage",L],["section.mainItem.image",U],["section.tileImage",U],["section.image",U],["section.brick",U],["mainItem.image",G],["mainItem.inlineImage",G],["mainItem.posterImage",G],["mainItem.albumArtImage",G],["section.tileImage",G],["customizer.customizations.image",re],["image"],["inlineImage"]].map((function(e){var t=h(e),r=t[0],n=t.slice(1);return n=n.concat([se]),E.apply(void 0,[r].concat(v(n)))})),fe=function(e){var t=g(le,e);return"string"==typeof t?(0,l.G$)(t):t},pe=function(e){var t=e.videoID;if(t)return t;
1var r=e.sourceURL,n=(0,s._0)(r),o=n&&n.match(S);return o&&o.length>0&&(t=parseInt(o[0],10)||null),t||null},de=function(e){var t=e.sourceDomain,r=e.audioURL;if("soundcloud.com"!==t)return null;if(void 0===r)return null;var n=r.match(/tracks\/(\d+)\//);return null===n?null:n[1]},me=function(e){var t,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=e.excerptText,a=e.text,c=e.description;if(c)t=c;else{if(X(e))return null;t=n||a}return void 0===t?null:(t=(0,o.Z)(t),null!==r&&t.length>r&&(t=t&&"".concat((0,i.a)(t,r),"...")),t)},ve=function(e){return Array.isArray(e.sectionLinks)?e.sectionLinks.filter((function(e){return"topic"===e.type})):[]},he=function(e){return"item-".concat(e.id)},_e=function(e){var t;return(null==e||null===(t=e.section)||void 0===t?void 0:t.author)||null},ye=function(e){var t=_e(e);if(!t)return!1;var r=t.authorImage,n=t.authorUsername;return!(!(t.authorDisplayName||n)||!r)},be=function(e){var t=e.section;return t&&t.feedType||null},Ee=function(e){return"topic"===be(e)},ge=function(e){var t=e.h264URL,r=e.videoSiteURL,n=t||r;return n&&0===n.indexOf("https")?n:null},Oe=function(e){var t=e.audioURL;return t&&0===t.indexOf("https")?t:null},Se=function(e){return e&&e.sectionLinks&&e.sectionLinks.find((function(e){return function(e){return"moreStories"===e.type}(e)}))||null},Ae=function(e){return"status"===e.type&&(0,u.sD)(e.text)?e.text:e.sourceURL||J(e)&&e.canonicalPath},Te=function(e){var t=e.openURL,r=e.openURLRedirectVerifier;return r?"https://flipboard.com/redirect?url=".concat((0,u.Dp)(t),"&v=").concat((0,u.Dp)(r)):t},Re=function e(t){return t.reduce((function(t,r){var n=H(r)?e(r.items):[r];return t.concat(n)}),[])},Ie=function(e){var t=e.filter((function(e){return ee(e)&&!G(e)})),r=Re(t).find((function(e){var t=fe(e);return!!t&&!!(0,l.eO)(t)}));return void 0!==r?r:null},Pe=function(e){return e?e.refersTo?e.refersTo.id||null:e.id||null:null},Ce=function(e){return e?e.refersTo?e.refersTo.flipboardSocialId||null:e.flipboardSocialId||null:null},we=function(e){if(!e)return null;var t=Ye(e);if(z(e)&&e.excerpt)return e.excerpt;var r=e.referredByItems&&e.referredByItems.find((function(e){return"status"===e.type&&e.text}));return r&&(X(e)&&t||!X(e))?r.text:e.original?e.text:null},je=function(e){var t=Ye(e);if(t)return t.text;if(X(e)){var r=e.referredByItems&&e.referredByItems.find((function(e){return"status"===e.type&&e.text}));return null==r?void 0:r.text}return B(e)?e.text:e.title},Ne=function(e){var t=e.sourceURL;return t&&"flipboard://showSection/".concat(encodeURIComponent("resolve/flipboard/url%2F".concat(t)))||null},Le=function(e){return Object.assign({},Ge(e),{author:e.author,brick:e.brick,isSection:!0,isTopic:e.isTopic,isProfile:e.isProfile,isPrivate:e.isPrivate,remoteid:e.remoteid,ssid:e.ssid,sectionID:e.sectionID})},De=/_pk_=(.*)/,xe=function(e){if(!e.nextPageKey)return e.id;var t=e.nextPageKey.match(De),r=t&&t[1];return r?decodeURIComponent(r):e.id},Me=function(e){return e.referredByItems&&e.referredByItems.length&&e.referredByItems[0].dateCreated||null},Ze=function(e,t){var r=[],n=function(e){return r.push(parseInt(e,10))},o=function(e){[e.userId,e.userID,e.userid].forEach((function(e){return e&&n(e)}))};try{var i=a.Z.getFlipper(t);if(i&&o(i),e&&o(e),"section"===t.type){var c=_e(t);c&&o(c)}if("post"===t.type&&null!=t&&t.id){var u=t.id.match(/:a:(\d+)-/),s=null==u?void 0:u[1];s&&n(s)}}catch(e){}return(0,d.uniq)(r)},Ue=function(e){var t=e.referredByItems;return t?t.filter((function(e){return"comment"===e.type})):[]},ke=function(e){var t,r;return null===(r=(null==e||null===(t=e.referredByItems)||void 0===t?void 0:t.find((function(e){return"status"===e.type})))||e)||void 0===r?void 0:r.magazineTarget},Fe=function(e){return!!ke(e)},Ge=function e(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],o=arguments.length>3&&void 0!==arguments[3]&&arguments[3],i=U(t),u=L(t),s=D(t),l=M(t),f=T(t),d=R(t),m=P(t),v=a.Z.getAuthor(t),h=t.dateCreated,_=t.title,y=t.id,b=t.type,E=t.section,g=t.sectionID,O=t.authorDisplayName,S=t.authorUsername,N=t.hostDisplayName,ee=t.sourceDomain,ne=t.artist,se=t.sourceURLKey,le=t.reason,Se=t.service,Re=t.sectionLinks,Ie=void 0===Re?[]:Re,Le=t.original,De=t.referredByItems,Ge=void 0===De?[]:De,Be=t.feedTitle,Ve=t.activity,He=t.franchise,qe=t.postedBy,We=t.items,Ye=void 0===We?[]:We,Ke=t.mainItem,Xe=t.customizer,$e=t.partnerID,Je=t.article,Qe=t.originalFlip,et=t.remoteServiceItemID,tt=t.commentary,rt=t.itemPrice,nt=t.videoSiteURL,ot=t.mimeType,it=t.posterImage,at=t.language,ct=t.duration,ut=t.additionalUsage,st=t.hideTimelineDate,lt=t.authorImage,ft=t.adPreRollOk,pt=t.piped,dt=t.pinned,mt=c.Z.projection(E),vt=ve(t).map((function(e){return c.Z.projection(e)})),ht=vt.find((function(e){return!r||e.topicTag!==r.topicTag})),_t=Le&&e(Le),yt={additionalUsage:ut||{},dateCreated:h,title:_,id:y,type:b,authorDisplayName:O,authorUsername:S,hostDisplayName:N,sourceDomain:ee,artist:ne,sourceURLKey:se,reason:le,service:Se,original:_t,feedTitle:Be,activity:Ve,franchise:He,postedBy:qe,mainItem:Ke,customizer:Xe,partnerID:$e,article:Je,originalFlip:Qe,videoSiteURL:nt,mimeType:ot,posterImage:it,remoteServiceItemID:et,language:at,price:rt,duration:ct,adPreRollOk:ft,piped:pt,canShare:oe(t),canShareLink:ie(t),canReply:ae(t),canLike:ce(t),userIdsForMuting:Ze(v,t),excludeContext:o,hideTimelineDate:st,isAudio:d,isHighQuality:I(t),isPost:l,isSoundcloud:m,isFirstPartyVideo:s,isVideo:u,isYoutube:C(t),isVimeo:w(t),isHtml5:j(t),isImage:x(t),isFlipComposeImage:X(t),isFranchise:Z(t),isSectionCover:G(t),isStatus:B(t),isTwitter:z(t),isFlipboard:V(t),isMedia:W(t),isGroup:H(t),isSidebar:q(t),isSection:i,isStoryboard:k(t),isProfile:F(t),isMagazine:J(t),isActivity:Q(t),isValid:te(t),isArticle:Y(t),isNote:K(t,_t),isStandalonePost:$(t,_t),anchorId:xe(t),dateFlipped:Me(t),isFlipboardInternalContent:re(t),text:je(t),caption:we(t),items:Ye.map((function(t){return e(t)})),sanitizedTitle:ue(t),sectionItemHasValidAuthorAttribution:i&&ye(t),sectionItemAuthor:i&&_e(t),sectionItemIsTopic:i&&Ee(t),sourceURL:Ae(t),openURL:Te(t),get
1SectionItemFeedType:i&&be(t),excerpt:me(t),description:me(t),audioURL:d&&Oe(t),soundcloudTrackId:m&&de(t),image:fe(t),videoID:u&&pe(t),videoSourceURL:u&&ge(t),author:v&&c.Z.projection(v),authorImage:lt||v&&fe(v),anchorString:he(t),inlineImageItems:A(t),inlineVideoItem:f&&e(f),sectionLinks:Ie.map((function(e){return c.Z.projection(e)})),referredByItems:Ge.map((function(t){return e(t,r)})),refersTo:t.refersTo&&e(t.refersTo),topics:vt,section:mt,commentary:tt,oid:Pe(t),flipboardSocialId:Ce(t),appUrl:Ne(t),displayTopic:ht,commentsPreview:Ue(t),pinned:dt||!1,sectionID:g,magazineTarget:ke(t),canDeleteFromMagazine:Fe(t)},bt=a.Z.getMagazine(yt),Et=n?bt&&c.Z.projection(bt):r;return yt.internalURL=ze(yt,Et),"development"===p.Z.environment&&(yt.rawItem=t),yt},Be=function(e){return e.reduce((function(e,t){if(e.length>2)return e;var r=ve(t);if(0===r.length)return e;var n=r[0].title;return e.includes(n)?e:e.concat(n)}),[])},ze=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return!e.isFlipboard&&e.openURL?e.openURL:e.isStoryboard?e.section&&e.section.canonicalPath||e.canonicalPath:e.isSection?e.section?e.section.canonicalPath:e.canonicalPath:!e.isFlipboardInternalContent&&t&&t.isStoryboard?e.sourceURL:(0,s.bP)(e,t)},Ve=function(e){var t=ve(e),r=G(e)?2:3;return t&&t.filter((function(t){return!D(e)||"c:video"!==t.topicTag})).slice(0,r)},He=function(e,t,r){var n,o;return null==e||null===(n=e.relatedSections)||void 0===n||null===(o=n[r])||void 0===o?void 0:o.map((function(e){return f.ZP.getSectionByRemoteId(e,t)}))},qe=function(e,t,r){var n;return null===(n=He(e,t,r))||void 0===n?void 0:n[0]},We=function(e,t){var r,n;return!!(null!=t&&null!==(r=t.mutedAuthors)&&void 0!==r&&r.some((function(t){var r;return null===(r=e.userIdsForMuting)||void 0===r?void 0:r.includes(parseInt(t.authorID,10))}))||null!=t&&null!==(n=t.mutedSourceDomains)&&void 0!==n&&n.includes(e.sourceDomain))},Ye=function(e){var t=e.type,r=e.original,n=e.referredByItems;if("status"===t||X(e)){if(void 0!==r)return r;var o=n&&e.referredByItems.find((function(e){return"status"===e.type})),i=o&&o.originalFlip;if(i)return i}return null},Ke=function(e){return Ye(e)||e},Xe=function(e,t){return e.title&&t.title?e.title===t.title:e.id===t.id}},67707:function(e,t,r){"use strict";r.d(t,{gH:function(){return i},CP:function(){return a},$B:function(){return c},w6:function(){return u}});r(49228),r(95342),r(39529),r(31235);var n=r(80768),o=r(47573),i=function(e,t){return e&&t?t.find((function(t){return n.Z.mightBeSameSection(t,e)}))||a(e.remoteid,t):null},a=function(e,t){return e&&t&&o.ZP.isTopicSectionId(e)&&(null==t?void 0:t.find((function(t){return o.ZP.isRemoteIdSectionMatch(e,t.rootTopic)})))||null},c=function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return t?e.filter((function(e){return!!n.Z.sectionsIncludesSection(r,e)||(e.title&&e.title.toLowerCase()||"").includes(t.toLowerCase())})):e},u=function(e){return e.filter((function(e){return!e.exchange}))}},276:function(e,t,r){"use strict";r(43105),r(43450),r(39529),r(49228),r(95342);var n=r(47573),o=r(80768);function i(e){var t=e.category,r=Object.assign({},e);return"topic"===t&&(r=Object.assign({},r,{searchResultItems:e.searchResultItems.map((function(e){return function(e){return Object.assign({},e,{topicTag:n.ZP.getTopicTagFromRemoteid(e.remoteid)})}(e)}))}
1)),["top_result","topic","magazine","profile","source"].includes(t)&&(r=Object.assign({},e,{searchResultItems:e.searchResultItems.map((function(e){return o.Z.projection(e)}))})),r}t.Z={projection:function(e){return e.map((function(e){return i(e)}))},topicsProjection:function(){var e,t,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return(null===(e=r.find((function(e){return"topic"===e.category})))||void 0===e||null===(t=e.searchResultItems)||void 0===t?void 0:t.map((function(e){return o.Z.projection(e)})).filter(o.Z.isTopic))||[]},resultItems:function(e,t){var r=e&&e.find((function(e){return e.category===t}));return r&&r.searchResultItems||[]}}},80768:function(e,t,r){"use strict";r(49228),r(18178),r(77950),r(74069),r(95342),r(34115),r(634),r(85940),r(39529),r(31235),r(43450),r(43105),r(58188),r(20796),r(15735),r(28673),r(6886);var n=r(42227),o=r(45828),i=r(99445),a=r(57366),c=r(8260),u=r(11826),s=r(47573),l=r(63229),f=r(39744),p=r(22749),d=r(47741),m=r(67707),v=r(7010),h=r(30001);function _(e){return _="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},_(e)}function y(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];if(void 0!==e.image)return e.image;if(void 0!==e.imageURL)return{imageURL:e.imageURL};var r=t.find((function(e){return(0,f.ty)(e)?e.items.find((function(e){return(0,f.gJ)(e)})):(0,f.gJ)(e)}));if(r){if((0,f.ty)(r)){var n=r.items.find((function(e){return(0,f.gJ)(e)}));return(0,f.gJ)(n)}return(0,f.gJ)(r)}return null}function b(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(t){var r=Array.isArray(null==t?void 0:t.sectionLinks)&&t.sectionLinks||[];return r.find((function(e){return"author"===e.type}))||null}if(!e)return null;if(e.author)return e.author;if(!(e.authorDisplayName||e.title||e.authorUsername||e.username||e.avatarText))return null;var n={authorDisplayName:e.authorDisplayName,authorDescription:e.authorDescription,title:e.title,authorUsername:e.authorUsername,username:e.username};return e.authorImage&&(n.authorImage=e.authorImage),S(e)&&(n.avatarText=g(e),e.authorImage||(n.authorImage=e.image)),n}function E(e){var t=e.authorURL,r=e.authorUsername;return t||(w(e)&&r?"https://twitter.com/".concat(r):null)}function g(e){return e&&(e.authorDisplayName||e.title||e.authorUsername||e.username)||null}function O(e){var t=e.metrics;if(t&&Array.isArray(t)&&0!==t.length&&"object"===_(t[0])){var r=t[0],n=r.value,o=r.displayName;if(n&&o)return"".concat(n," ").concat(o)}}function S(e){var t=e.service,r=e.feedType,n=e.type,o=e.remoteid;return t===h.K9.FLIPBOARD&&(r===h.OV.PROFILE||(n===h.ru.AUTHOR||!!/^flipboard\/(user|username)%2F/.test(o||"")))}function A(e){var t=e&&e.ssid&&e.ssid.remoteidPlain;return!!t&&!("flipboard"!==e.service||!e.userid||!t.match("flipboard/list%2Fpackage%2F".concat(e.userid)))}function T(e){var t=e.service,r=e.type;return"flipboard"===t&&"contributor"===r}function R(e){var t=e.remoteid,r=e.topicTag,n=e.topic;return"topic"===e.feedType||(!!/^(auth\/)*flipboard\/topic%2F(.*)/.test(t||"")||(!!r||void 0!==n))}function I(e){return"magazine"===e.feedType}function P(e){return"board"===e.feedType}function C(e){var t=e.service,r=e.remoteid;return void 0!==t&&(r==="auth/".concat(t)||(r===t||!(!t||t===h.K9.FLIPBOARD)))}function w(e){return"twitter"===e.service}function j(e){return"flipboard"===e.service}var N=function(e,t,r){var n;return!(B(e)&&(0,f.CS)(t,r)&&!t.recentlyMuted)&&(t.isValid&&(t.isPost||t.isMedia||t.isGroup||t.isStatus||t.isImage||t.isVideo||t.isAudio||t.isSection&&e.normalizedRemoteid!==(null===(n=t.section)||void 0===n?void 0:n.normalizedRemoteid))||t.isActivity||t.isClientSideFeedItem)};function L(e){return!!e&&"bundle"===e.feedType}function D(e){return"community"===e.feedType}function x(e){return!!e.isPrivate||(!!e.isTwitter||"flipboard"!==e.service)}function M(e){var t=S(e)?e.authorDisplayName:e.title,r=(0,i.Dp)(t),n=(0,p.oM)(e);return"flipboard://showSection/".concat(n,"?title=").concat(r)}function Z(e){return S(e)&&e.authorDescription?e.authorDescription:e.description}function U(e){var t=e&&e.reason&&e.reason.text;return!!t&&null!==t.match(/recommended by Flipboard/gi)}function k(e){return"private"===e.magazineVisibility}function F(e){return!!e.verifiedType}function G(e){var t,r;return!(null==e||null===(t=e.ssid)||void 0===t||null===(r=t.remoteidPlain)||void 0===r||!r.includes(o.Z.COVER_STORIES_REMOTE_ID))}function B(e){return P(e)||G(e)||R(e)}function z(e){var t=e.title,r=e.sectionTitle,n=e.feedType,o=e.authorUsername;return t||r||"profile"===n&&o&&"@".concat(o)||null}function V(e){return P(e)&&e.subsections?e.subsections.map(re):null}function H(e){if(!e)return null;var t=e.metrics;return t?Array.isArray(t)||"object"!==_(t)?t.reduce((function(e,t){return Object.assign({},e,(r={},n=t.type,o=t.raw,n in r?Object.defineProperty(r,n,{value:o,enumerable:!0,configurable:!0,writable:!0}):r[n]=o,r));var r,n,o}),{}):t:{}}function q(e){return(!C(e)||"twitter"!==e.remoteid)&&(S(e)?!!z(e):!!A(e)||!!e.feedType)}function W(e,t){var r,n;return!(!e||!t)&&(s.ZP.isRemoteIdSectionMatch(null==e?void 0:e.remoteid,t)||s.ZP.isRemoteIdSectionMatch(null==e||null===(r=e.ssid)||void 0===r?void 0:r.remoteidPlain,t)||s.ZP.isRemoteIdSectionMatch(null==e||null===(n=e.rootTopic)||void 0===n?void 0:n.remoteid,t))}function Y(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];if(!t)return null;if(0===t.length)return null;var r=t.find((function(e){return(0,f.cQ)(e)}));return r?(0,f.gJ)(r)||null:(0,f.gJ)(null===(e=t.find((function(e){return(0,f.Wq)(e)})))||void 0===e?void 0:e.section)||null}function K(e){if(!L(e))return null;var t=e.ssid;
1return t&&t.remoteidPlain?decodeURIComponent(t.remoteidPlain.replace(/^auth\/flipboard\/package%2F/,"flipboard:")):null}function X(e){return e?(0,n.Z)(e).toISOString():null}function $(e){return X(e&&(e.dateCreated||e.magazineDateCreated/1e3)||(new Date).getTime()/1e3)}function J(e){return X(e&&(e.lastModifiedDate||e.magazineDateLastPosted/1e3))||$(e)}var Q=function(e){return null==e?void 0:e.inviteMessage};function ee(e){var t=e.userid;return isNaN(t)?t:parseInt(t,10)}function te(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(null==e)return null;var n=r.isLikesSection,o=r.rootTopic,i=e.items,a=void 0===i?[]:i,l=e.remoteid,p=e.sectionID,d=e.boardId,m=e.remoteidToShare,v=e.ssid,h=e.service,_=e.type,A=e.feedType,N=e.adhints,W=e.linkType,X=e.sourceURL,te=e.hidden,ne=e.referringText,oe=e.referringTextLoc,ie=e.authorDisplayName,ae=e.authorDescription,ce=e.authorImage,ue=e.authorUsername,se=e.username,le=e.topicTag,fe=e.invite,pe=e.partnerId,de=e.tileImage,me=e.sponsoredAuthor,ve=e.brick,he=e.magazineTarget,_e=e.magazineCoverItemId,ye=e.joinTarget,be=e.nglHideHeaderBrackets,Ee=e.nglHeaderDescription,ge=e.isNglPromoted,Oe=e.isFromContentGuide,Se=e.subhead,Ae=e.version,Te=e.dynamicFeed,Re=e.canShare,Ie=e.isMember,Pe=e.subSections,Ce=e.companionBoardRemoteid,we=e.exchange,je=e.mastodonProfile,Ne=e.apEnabled,Le=e.magazineFederatedURI,De=e.magazineFederatedName,xe=Object.assign({},{remoteid:l,boardId:d,sectionID:p,remoteidToShare:m,ssid:v,service:h,type:_,linkType:W,feedType:A,adhints:N,hidden:te,sourceURL:X,referringText:ne,referringTextLoc:oe,authorDisplayName:ie,authorDescription:ae,authorImage:ce,authorUsername:ue,username:se,magazineFederatedName:De,userid:ee(e),topicTag:le||R(e)&&s.ZP.getTopicTagFromRemoteid(l),invite:fe,partnerId:pe,cached:!e.private,tileImage:de,sponsoredAuthor:me,brick:ve,magazineTarget:he,magazineCoverItemId:_e,joinTarget:ye,nglHideHeaderBrackets:be,nglHeaderDescription:Ee,isNglPromoted:ge,isFromContentGuide:Oe,subhead:Se,version:Ae,dynamicFeed:Te,canShare:Re,isMember:Ie,subSections:Pe,companionBoardRemoteid:Ce,exchange:we,mastodonProfile:je,apEnabled:Ne,magazineFederatedURI:Le,normalizedRemoteid:s.ZP.normalizeRemoteid(e.remoteid),title:z(e),image:y(e,t),isTopic:R(e),isMagazine:I(e),isSmartMagazine:P(e),isStoryboard:L(e),isProfile:S(e),isContributor:T(e),isService:C(e),isTwitter:w(e),isFlipboard:j(e),isCommunityGroup:D(e),isNoIndex:x(e),isRecommended:U(e),isPrivate:k(e),isLikesSection:n||!1,isVerifiedPublisher:F(e),isVideoSection:!!e.videoIcon,isSeries:!!e.magazineIsSeries,isForYou:G(e),isUserPreferenceable:B(e),author:b(e),authorURL:E(e),items:a.map((function(e){return(0,f.CJ)(e)})),description:Z(e),appUrl:M(e),avatarText:g(e),metricsText:O(e),metrics:H(e),subsections:V(e),isValid:q(e),coverImage:Y(t)||e.image,storyboardDefinitionId:K(e),datePublished:$(e),dateModified:J(e),rootTopic:re(e.rootTopic||o),stale:!1,topics:[],mutedItems:[],inviteMessage:Q(e)});return xe=Object.assign({},xe,{canonicalPath:(0,u.YH)(xe)}),"development"===c.Z.environment&&(xe.rawSection=e),xe}var re=function(e){if((0,v.Z)(e))return null;var t=te(e),r=t.title,n=t.type,o=t.linkType;return{title:r,type:n,feedType:t.feedType,linkType:o,remoteid:t.remoteid,sectionID:t.sectionID,image:t.image,author:t.author,authorDisplayName:t.authorDisplayName,authorUsername:t.authorUsername,authorDescription:t.authorDescription,authorImage:t.authorImage,sections:t.sections,reason:t.reason,isProfile:t.isProfile,isMagazine:t.isMagazine,isTopic:t.isTopic,isStoryboard:t.isStoryboard,isSection:t.isSection,canonicalPath:t.canonicalPath,metrics:t.metrics,companionBoardRemoteid:t.companionBoardRemoteid,normalizedRemoteid:t.normalizedRemoteid,service:t.service,items:t.items}};t.Z={appUrl:M,brickImage:function(e){return e&&e.brick||null},customizedTopicText:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],n=r.find((function(t){return t.url===e}));return void 0!==n&&n[t]?n[t]:null},description:Z,getAuthor:b,getAuthorUrl:E,getAvatarText:g,hasItems:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return!!e&&(!(e.cached||!e.invite)||t.length>0)},hasStoryboards:function(e){return!!H(e).packageCount},hasVideos:function(e){return!!H(e).videos},image:y,isCommunityGroup:D,isMagazine:I,isSmartMagazine:P,isNoIndex:x,isStoryboard:L,isProfile:S,isUserStoryboards:A,isContributor:T,isService:C,isTwitter:w,isFlipboard:j,isTopic:R,isPersonalizeSearchTrigger:function(e){return!!e.remoteid.match(/flipboard\/search/)},isRecommended:U,isPrivate:k,isVerifiedPublisher:F,isValid:q,isOwner:function(e,t){return!!t&&!!(e.userid===t||e.isMember||e.author&&e.author.id&&(0,l.Z)(e.author.id.replace("flipboard:",""),t))},isInCarouselFavorites:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],n=e.isSmartMagazine&&e.rootTopic,o=(0,m.gH)(e,r),i=t.find((function(t){var r=t.normalizedRemoteid;return r&&(e.normalizedRemoteid===r||s.ZP.normalizeRemoteid(null==n?void 0:n.remoteid)===r||(null==o?void 0:o.normalizedRemoteid)===r)}));return i?i.remoteid:null},isMagOwner:function(e,t){return!(!e||!e.isMagazine)&&(!(!e.userid||!t)&&e.userid==t)},isMagContributor:function(e,t,r){return!!(e&&e.isMagazine&&r)&&!(null==t||!t.some((function(e){return e.userid==r})))},isItemRenderable:N,itemsToRender:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=arguments.length>2?arguments[2]:void 0;return t.filter((function(t){return N(e,t,r)}))},projection:te,socialImage:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];if(R(e))return{mediumURL:"https://flip.it/tile/".concat((0,i.Dp)(e.normalizedRemoteid),"/mediumURL")};if(S(e)&&e.authorImage)return e.authorImage;if(D(e)&&y(e))return y(e);var r=(0,f.eK)(t),n=r&&(0,f.gJ)(r),o=t.find((function(e){return(0,f.cQ)(e)}));if(void 0!==o){if(a.Z.isHiddenHeaderImage(o)&&r)return n;if((0,f.gJ)(o))return(0,f.gJ)(o)}return e.image?e.image:f.eK?n:null},text:function(e){return e&&e.text||null},getSectionTitle:z,getDecoratedSectionTitle:function(e){return e.isTopic?"#".concat(e.title):e.title},getSmartMagSubSections:V,getSectionMetrics:H,getMetricsCountValue:function(e,t){if(!e)return null;var r=H(e);if(r[t])try{return parseInt(r[t],10)}catch(e){d.Z.captureException(e)}return null},getInvite:function(e,t){if(!e)return null;var r=e.invite;return r?t&&(0,l.Z)(r.userid,t)?null:r:null},compareByTitle:function(e,t){return null===e.title?1:null===t.title?-1:e.title.localeCompare(t.title)},mightBeSameSection:W,sectionsIncludesSection:function(e,t){return e.some((function(e){return W(e,t)}))},getCoverImage:Y,getStoryboardDefinitionId:K,isSectionLoading:function(e,t){return!!t[s.ZP.normalizeRemoteid(e)]},getDateModified:J,getDatePublished:$,getBasicProjectedSection:re,getRootTopic:function(e,t){var r;return e.rootTopic?e.rootTopic:P(e)&&t&&(null===(r=t.find((function(t){return t.remoteid==e.remoteid})))||void 0===r?void 0:r.rootTopic)||null},getMetric:function(e,t){var r,n;return null==e||null===(r=e.metrics)||void 0===r||null===(n=r.profileMetrics)||void 0===n?void 0:n.find((function(e){return e.type===t}))},sectionIdForUpdateFeedRequest:function(e){var t;return(null==e||null===(t=e.ssid)||void 0===t?void 0:t.remoteidPlain)||(null==e?void 0:e.remoteid)},isForYou:G,isUserPreferenceable:B,getSectionCoverItem:function(e){if(!e||!e.items)return null;var t=e.items.find((function(e){return e.isSectionCover}));return t||null},getTopicSectionId:function(e){var t;return e.isSmartMagazine?null===(t=e.rootTopic)||void 0===t?void 0:t.normalizedRemoteid:e.normalizedRemoteid},getUserid:ee}},93039:function(e,t,r){"use strict";r(32501);t.Z=function(e){return e?e.charAt(0).toUpperCase()+e.slice(1).toLowerCase():""}},33791:function(e,t,r){"use strict";r.d(t,{uG:function(){return l},Mg:function(){return p},kY:function(){return d},Gy:function(){return m},HF:function(){return v},PZ:function(){return h}});r(49228),r(95342),r(9949),r(99805),r(43450),r(32501),r(18178),r(34115),r(634),r(58188),r(20796),r(15735),r(28673),r(6886),r(26936),r(27233),r(34769),r(68625),r(1939),r(62775);function n(e){return function(e){if(Array.isArray(e))return s(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||u(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function i(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
1t%2?o(Object(r),!0).forEach((function(t){a(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):o(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var r=[],n=!0,o=!1,i=void 0;try{for(var a,c=e[Symbol.iterator]();!(n=(a=c.next()).done)&&(r.push(a.value),!t||r.length!==t);n=!0);}catch(e){o=!0,i=e}finally{try{n||null==c.return||c.return()}finally{if(o)throw i}}return r}(e,t)||u(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function u(e,t){if(e){if("string"==typeof e)return s(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?s(e,t):void 0}}function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var l="package",f=function(e,t){return e.reduce((function(e,r){var n;return void 0!==e?e:r.id===t?r:null===(n=r.children)||void 0===n?void 0:n.find((function(e){return e.id===t}))}),void 0)},p=function(e){var t=e.sourceIndex,r=e.sourceContainerId,n=e.destinationContainer,o=e.destinationIndex,i=e.targetId,a=!1;return(null==o||null==i||r===n.id&&t<o)&&(a=!0),a},d=function(e){var t,r,n,o,i,a,c,u,s=e.sourceItem,f=e.destinationIndex,p=e.destinationId,d=e.destinationContainer;null==f?d.id===p&&s.type!==l?(r=(null!==(n=null===(o=d.children)||void 0===o?void 0:o.length)&&void 0!==n?n:1)-1,t=null===(i=d.children)||void 0===i||null===(a=i[r])||void 0===a?void 0:a.id):t=p:(r=f,t=null===(c=d.children)||void 0===c||null===(u=c[r])||void 0===u?void 0:u.id);return t},m=function(e,t){var r=e.index,n=e.parentId,o=t.id,i=t.children;return n===o?i[r]:i.find((function(e){return e.id===n})).children[r]},v=function(e,t,r){var n=r.id,o=r.children;if(t.parentId===n)return r;var i=o.reduce((function(e,n){var o;return void 0!==e?e:n.id===t.parentId?n.type===l?n:r:null!==(o=n.children)&&void 0!==o&&o.find((function(e){return e.id===t.parentId}))?n:void 0}),void 0);return(null==i?void 0:i.type)===l&&e.type===l?r:i},h=function(e){var t,r=e.storyboardItems,o=e.storyboardId,a=e.sourceGroupId,u=e.targetGroupId,s=e.itemId,l=e.targetId,p=e.append,d=void 0!==p&&p;return o===u?t=a===u?function(e){var t=e.storyboardItems,r=e.itemId,n=e.targetId,o=e.append,i=void 0!==o&&o,a=t.find((function(e){return e.id===r})),c=t.filter((function(e){return e.id!==r})),u=c.findIndex((function(e){return e.id===n}));return u<0?u=t.length:u+=i?1:0,c.splice(u,0,a),c}({storyboardItems:r,itemId:s,targetId:l,append:d}):function(e){var t=e.storyboardItems,r=e.itemId,o=e.targetId,a=e.sourceGroupId,u=e.append,s=t.find((function(e){return e.id===a}));if(s){var l=t.findIndex((function(e){return e.id===o}));l>=0?l+=u?1:0:l=t.length;var f=c(s.children.reduce((function(e,t,n){return t.id===r?[t,n]:e}),[]),2),p=f[0],d=f[1],m=t.map((function(e){if(e===s){var t,r,o,a,c=null!==(t=null===(r=e.children)||void 0===r?void 0:r.slice(0,d))&&void 0!==t?t:[],u=null!==(o=null===(a=e.children)||void 0===a?void 0:a.slice(d+1))&&void 0!==o?o:[];return i({},e,{children:[].concat(n(c),n(u))})}return e}));return m.splice(l,0,p),m}}({storyboardItems:r,itemId:s,targetId:l,sourceGroupId:a,append:d}):l?t=a===u?function(e){var t=e.storyboardItems,r=e.itemId,n=e.targetId,o=e.targetGroupId,a=e.append,c=void 0!==a&&a,u=t.find((function(e){return e.id===o}));if(u){var s=u.children.find((function(e){return e.id===r})),l=u.children.filter((function(e){return e.id!==r})),f=l.findIndex((function(e){return e.id===n}));return f+=c?1:0,l.splice(f,0,s),t.map((function(e){return e.children&&e.id===o?i({},e,{children:l}):e}))}}({storyboardItems:r,itemId:s,targetId:l,targetGroupId:u,append:d}):o===a?function(e){var t=e.storyboardItems,r=e.itemId,o=e.targetId,a=e.targetGroupId,c=e.append,u=f(t,r),s=t.find((function(e){return e.id===a}));if(s){var l=s.children.findIndex((function(e){return e.id===o}));return l+=c?1:0,t.reduce((function(e,t){switch(!0){case t.id===a:var o,
1c,s,f,p=null!==(o=null===(c=t.children)||void 0===c?void 0:c.slice(0,l))&&void 0!==o?o:[],d=null!==(s=null===(f=t.children)||void 0===f?void 0:f.slice(l))&&void 0!==s?s:[];e.push(i({},t,{children:[].concat(n(p),[u],n(d))}));break;case t.id===r:break;default:e.push(t)}return e}),[])}}({storyboardItems:r,itemId:s,targetId:l,targetGroupId:u,append:d}):function(e){var t,r,o=e.storyboardItems,a=e.itemId,c=e.sourceGroupId,u=e.targetId,s=e.targetGroupId,l=e.append,f=o.find((function(e){return e.id===s}));if(f){var p=o.find((function(e){return e.id===c}));if(p){var d=p.children.find((function(e){return e.id===a})),m=p.children.filter((function(e){return e.id!==a})),v=f.children.findIndex((function(e){return e.id===u}));v+=l?1:0;var h=(null===(t=f.children)||void 0===t?void 0:t.slice(0,v))||[],_=(null===(r=f.children)||void 0===r?void 0:r.slice(v))||[],y=[].concat(n(h),[d],n(_));return o.map((function(e){switch(e.id){case c:return i({},e,{children:m});case s:return i({},e,{children:y});default:return e}}))}}}({storyboardItems:r,itemId:s,sourceGroupId:a,targetId:l,targetGroupId:u,append:d}):o===a?t=function(e){var t=e.storyboardItems,r=e.itemId,o=e.targetGroupId,a=f(t,r);if(a)return t.reduce((function(e,t){switch(!0){case t.id===r:return e;case t.id===o:var c=Array.isArray(t.children)?t.children:[];return e.push(i({},t,{children:[].concat(n(c),[a])})),e;default:return e.push(t),e}}),[])}({storyboardItems:r,itemId:s,targetGroupId:u}):u!==a&&(t=function(e){var t=e.storyboardItems,r=e.itemId,o=e.sourceGroupId,a=e.targetGroupId,c=t.find((function(e){return e.id===o}));if(c){var u=f(t,r);return t.reduce((function(e,t){var o,s;switch(!0){case c.id===t.id:return e.push(i({},t,{children:null!==(o=null===(s=t.children)||void 0===s?void 0:s.filter((function(e){return e.id!==r})))&&void 0!==o?o:[]})),e;case t.id===a:var l=Array.isArray(t.children)?t.children:[];return e.push(i({},t,{children:[].concat(n(l),[u])})),e;default:return e.push(t),e}}),[])}}({storyboardItems:r,itemId:s,sourceGroupId:a,targetGroupId:u})),t}},57366:function(e,t,r){"use strict";var n=r(55162),o=r(11826),i=r(7738),a={SMALL:0,MEDIUM:1,LARGE:2};function c(e,t){return e&&e.customizer&&e.customizer.customizations&&e.customizer.customizations[t]||null}var u=function(e){var t=e.hints||e.original_hints,r=n.Z.parseHints(t);return void 0!==r.backgroundcolor?r.backgroundcolor:null};t.Z={headerImageSquare:function(e){var t=i.Z.getCustomizations(e),r=t&&t.itemRenderHints,n=r&&r.headerImageSquareURL||null;return n?{largeURL:n}:null},headerDescriptionOverride:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=i.Z.getCustomizations(e),r=t&&t.itemRenderHints;return r&&r.headerDescription||null},isHiddenBracketCover:function(e){var t=i.Z.getCustomizations(e),r=t&&t.itemRenderHints;return r&&r.hideHeaderBrackets||!1},isHiddenHeaderImage:function(e){var t=i.Z.getCustomizations(e),r=t&&t.itemRenderHints;return r&&r.hideHeaderImage||!1},isNumberedGroup:function(e){return i.Z.getIsNumbered(e)||!1},isIntroGroup:function(e){var t=c(e,"itemRenderHints");return t&&"intro"===t.style},groupSize:function(e){var t=i.Z.getDisplaySize(e)||"large",r=a.LARGE;switch(t.toLowerCase()){case"small":r=a.SMALL;break;case"medium":r=a.MEDIUM;break;case"large":r=a.LARGE}return r},groupTitle:function(e){return c(e,"title")},groupSubtitle:function(e){return c(e,"text")},groupTopics:function(e){var t=c(e,"itemRenderHints");return t&&t.topics||null},sizes:a,itemUrl:function(e){var t=e.isSection,r=e.isArticle,n=e.sourceURL,i=e.isFlipboardInternalContent,a=e.section;return i&&r?(0,o.bP)(e,a):t?(0,o.YH)(e.section):n},getCoverImage:function(e,t){return e&&e.image?e.image:t.image},getColorPalette:u,getBackgroundColorStyle:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(null==e)return null;var r=u(e);if(r){var n=r[t];return n?{backgroundColor:"#".concat(n)}:null}return null},getBorderColorStyle:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(null==e)return null;var r=u(e);if(r){var n=r[t];return n?{borderColor:"#".concat(n)}:null}return null}}},7738:function(e,t,r){"use strict";r(77950),r(85940),r(95342),r(34115),r(634),r(43105),r(43450),r(18178),r(45794),r(1939),r(58188),r(20796),r(15735),r(28673),r(6886),r(27233),r(32501),r(26936);var n=r(71171),o=r.n(n),i=r(99445),a=r(47573),c=r(11826);function u(e){return function(e){if(Array.isArray(e))return s(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return s(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return s(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var l=/^https?:\/\/twitter.com\/[^/]+\/status\//;function f(e){var t=e&&(e.details||e.customizer)||{};return t&&t.customizations}function p(e){var t=f(e);return t&&t.title||e.title}function d(e){var t=f(e);return t&&t.image||null}function m(e){var t=f(e);return t&&t.click||null}function v(e){var t=f(e);return t&&t.text||null}function h(e){var t=f(e);return t&&t.image||null}function _(e){var t=f(e);return t&&t.itemRenderHints&&t.itemRenderHints.prefersNeutralBackgroun
1dColor||null}function y(e){var t=f(e);return t&&t.itemRenderHints&&t.itemRenderHints.type||null}function b(e){var t=f(e);return t&&t.itemRenderHints&&t.itemRenderHints.numbered||null}function E(e){var t=f(e);return t&&t.itemRenderHints&&t.itemRenderHints.size||null}function g(e){var t=f(e);return t&&t.franchise&&t.franchise.itemDisplayCount||null}function O(e){var t=f(e);return t&&t.franchise&&t.franchise.preferredLayoutStyle||null}function S(e){var t=e.text;return t||v(e)}function A(e){return P(e)?"tweet":"post"===e.type?"article":e.type}function T(e){if(e.url)return e.url;var t=e.attachment,r=e.attachments;return t&&t.url?t.url:r&&0!==r.length?r[0].url||e.url:void 0}function R(e){return e.remoteid&&"/section?id=".concat((0,i.Dp)(e.remoteid))||null}function I(e){return b(e)?"numbered":y(e)}function P(e){var t=e.type,r=e.id,n=e.source;return"post"===t&&!!(r&&0===r.indexOf("twitter-")||n&&l.test(n))}function C(e){return(e.children?e.children.reduce((function(e,t){var r=1;return"package"===t.type&&(r=t.children?t.children.length:0),e+r}),0):0)<3}function w(e){return e.children.filter((function(e){return"package"===e.type})).some((function(e){return!e.children||e.children.length<=0}))}function j(e){var t=e.id,r=e.title,n=e.type,o=e.text,i=e.image,a=e.children,c=e.url,u=e.displaySize,s=e.displayType,l={type:e.type,details:{customizations:{itemRenderHints:{}}}};return r&&(l.details.customizations.title=r),o&&("status"===n||"tweet"===n?l.text=o:l.details.customizations.text=o),"numbered"===s?l.details.customizations.itemRenderHints.numbered=!0:s&&(l.details.customizations.itemRenderHints.type=s),u&&(l.details.customizations.itemRenderHints.size=u),i&&(l.details.customizations.image=i),c&&Object.assign(l,{attachments:[{url:c}]}),"package"===n?(Object.assign(l,{children:a?a.map(j):[]}),l.details.customizations.franchise={itemDisplayCount:a?a.length:0}):"section"===n?Object.assign(l,{section:e.section}):"tweet"===n&&Object.assign(l,{type:"post",details:{customizations:{skipAttachment:!0}}}),t&&Object.assign(l,{id:t,remoteid:e.remoteid,timestamp:e.timestamp}),l}function N(e){return"package"!==e.type||!e.title&&!e.text&&e.children&&1===e.children.length}function L(e){var t,r,n=e.id,i=e.title,a=e.section,c=e.timestamp,u=e.children,s={type:A(e),clientId:o()(),text:S(e),excerptText:(t=e,r=f(t),r&&r.excerptText||null),title:p(e),clickUrl:m(e),originalTitle:i,image:d(e),preferredLayout:O(e)};return n&&(s.id=n),"package"===s.type?Object.assign(s,{displayType:I(e),displaySize:E(e),displayCount:g(e),children:u&&u.map(L)}):"section"===s.type?Object.assign(s,{section:a,url:T(e)}):"tweet"===s.type?Object.assign(s,{isTweet:!0,timestamp:c}):Object.assign(s,{url:T(e)}),s}t.Z={getCustomizations:f,getCustomizedTitle:p,getCustomizedText:v,getCustomizedCoverUrl:h,getCustomizedType:y,getCustomizedImage:d,getCustomizedClickUrl:m,getIsNumbered:b,getDisplaySize:E,getDisplayCount:g,getPreferredLayout:O,getDefaultTitle:function(e){var t=e.attachments,r=null;return t&&t.length&&(r=t[0].details&&t[0].details.title),r},getText:S,getItemType:A,getUrl:T,getDisplayType:I,getExtractedItemFromStoryboardItem:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!e)return null;var r=a.ZP.getRemoteServiceItemId(e),n=e.url,o=t[n];if(o)return o.section||o;if("tweet"===e.type||"reply"===e.type)return t[r.replace("twitter:","")];var i=e.section&&t[e.section]||r&&t[r];return i&&(i.section||i)},getFlatItems:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return e.reduce((function(e,t){return t.children?[].concat(u(e),u(t.children)):[].concat(u(e),[t])}),[])},isTweet:P,isSectionGateway:function(e){return"section"===e.type},isExplodedSection:function(e){var t=e.type,r=e.section;return!!("package"===t&&r&&g(e)>0)},isValid:function(e){return!(!(e.title&&e.description&&e.coverUrl&&e.children&&e.children.length)||C(e)||w(e))},isRootItem:N,projection:function(e){var t=e.id,r=e.remoteid,n=e.description,o=e.timestamp;return{id:t,remoteid:r,type:e.type,title:p(e),description:n,coverUrl:h(e),timestamp:o,isStoryboard:!0,tags:f(e).tags||[],children:e.children&&e.children.map(L),canonicalPath:R(e),rawStoryboard:e}},storyboardChildProjection:L,curatorProProjection:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=e.id,o=e.type,i=e.timestamp,a=e.modified,u=e.title,s=e.description,l=e.section,p=e.author,d=e.s
1ource,m=e.draft,v=e.discommend,y=e.series,b=f(e);return{id:n,type:o,timestamp:i,modified:a,title:u,isStoryboard:!r,isCampaign:r,isDraft:!!m,prefersNeutralBackgroundColor:_(e),recommend:!v,tags:b&&b.tags||[],description:s,remoteid:l,coverUrl:h(e),canonicalPath:(0,c.jB)(d,!0),author:p,publishAt:t,series:y,rawStoryboard:e}},treeProjection:function(e){var t,r,n,o=e.id,i={rootId:o,items:(t={},r=o,n={id:o,children:[],hasChildren:!0,isExpanded:!0,isChildrenLoading:!0},r in t?Object.defineProperty(t,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[r]=n,t)};return e.children.reduce((function(e,t){var r,n;(e.items[o].children.push(t.id),N(t))?e.items[t.id]={id:t.id,children:[],hasChildren:!1,data:t}:(e.items[t.id]={id:t.id,children:[],hasChildren:!0,data:t,isExpanded:!1},null===(r=t.children)||void 0===r||null===(n=r.forEach)||void 0===n||n.call(r,(function(r){e.items[t.id].children.push(r.id),e.items[r.id]={id:r.id,children:[],hasChildren:!1,data:r}})));return e}),i)},getFlapStoryboardFromProjection:function(e){var t={type:e.type,description:e.description,details:{customizations:{title:e.title,image:e.coverUrl,cover:!0,tags:e.tags||[]}},children:(e.children||[]).map((function(e){return j(e)}))};return e.id&&Object.assign(t,{id:e.id,remoteid:e.remoteid,timestamp:e.timestamp}),t},getFlapStoryboardChildFromProjection:j,getFlapStoryboardFromProCuratorProjection:function(e){var t={id:e.id,title:e.title,description:e.description,discommend:!e.recommend,series:e.series,details:{customizations:{itemRenderHints:{},tags:e.tags}}};return e.coverUrl&&(t.details.customizations.image=e.coverUrl,t.details.customizations.cover=!0),e.prefersNeutralBackgroundColor&&(t.details.customizations.itemRenderHints.prefersNeutralBackgroundColor=!0),e.sourceDomainSelected&&(t.details.customizations.imageAttribution=e.sourceDomainSelected),t},getFlapStoryboardItemFromProCuratorProjection:function(e){var t=e.displayType,r=e.displaySize,n=e.text,o=e.excerptText,i=e.type,a=e.image,c=e.title,u=e.originalTitle,s=e.url,l=e.clickUrl,f=e.preferredLayout,p={type:i,details:{customizations:{itemRenderHints:{}}}},d=c?c.trim():"",m=n?n.trim():"";return"package"===i?(p.title=d,f&&(p.details.customizations.franchise={preferredLayoutStyle:f})):(u&&(p.title=u),d&&u!==d&&(p.details.customizations.title=d)),m&&(p.details.customizations.text=m),o&&(p.details.customizations.excerptText=o),l&&(p.details.customizations.click=l),s&&(p.url=s),"numbered"===t?p.details.customizations.itemRenderHints.numbered=!0:t&&(p.details.customizations.itemRenderHints.type=t),r&&(p.details.customizations.itemRenderHints.size=r),a&&(p.details.customizations.image=a),p},generateNewStoryboard:function(e,t){return{type:"package",description:t,details:{customizations:{title:e}}}},getError:function(e){return e.title?e.description?e.coverUrl?e.children&&e.children.length?C(e)?"Storyboards must contain at least three items to publish":w(e)?"One or more sections are empty":null:"No content was added":"Missing cover image":"Missing description":"Missing title"},getStoryboardArticleUrls:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return e.reduce((function(e,t){if(!t.children&&t.url)return e.concat(t.url);if(!t.children)return e;var r=t.children.filter((function(e){return e.url})).map((function(e){return e.url}));return e.concat(r)}),[])},getSectionIdFromPackageId:function(e){return encodeURIComponent(e).replace("flipboard%3A","flipboard/package%2F")},getPackageIdFromSectionId:function(e){return decodeURIComponent(e).replace("flipboard/package/","flipboard:")}}},83694:function(e,t,r){"use strict";r.d(t,{lq:function(){return _},Kp:function(){return y},$Q:function(){return b},Op:function(){return E},Nz:function(){return g},Oo:function(){return O},Qt:function(){return S}});r(18178),r(34115),r(634),r(45794),r(26936),r(34769),r(95342),r(68625),r(1939),r(62775);var n=r(75007),o=r(68656),i=r(93780),a=r(42890),c=r(11826),u=r(47894),s=r(65976),l=r(99445),f=r(94677);function p(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function d(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function m(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var v=n.Z.FLIPBOARD_URL,h=function(e,t){return function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
1t%2?d(Object(r),!0).forEach((function(t){m(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):d(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({"@context":"https://schema.org","@type":e},t)},_=h("Organization",{name:"Flipboard",url:"https://flipboard.com",sameAs:["https://twitter.com/flipboard","https://www.facebook.com/flipboard","https://www.youtube.com/user/InsideFlipboard"],logo:h("ImageObject",{url:"https://s.flipboard.com/assets/webu/images/amp-publisher-logo.jpg",width:600,height:60})}),y=function(e){var t=e.section,r=e.item,n=e.t,u=r.sanitizedTitle,l=a.Z.getSourceAttributionText(r,n),p=(0,s.az)(r.dateCreated),d=u&&(0,o.a)(u,110),m=r.excerpt,_=r.image,y=r.author,b=r.authorImage,E=_&&(0,i.Cy)(_),g=y&&(0,i.lV)(b),O={mainEntityOfPage:h("WebPage",{"@id":"".concat(v).concat((0,c.bP)(r,t))}),author:h("Person",{name:l}),datePublished:p,dateModified:p,description:(0,f.Z)(m),headline:(0,f.Z)(d),publisher:h("Organization",{name:l,logo:h("ImageObject",{url:g||"https://s.flipboard.com/assets/webu/images/avatar-default.png"})})};return E&&(O.image=h("ImageObject",{url:E})),h("NewsArticle",O)},b=function(){var e=n.Z.FLIPBOARD_URL;return h("WebSite",{url:e,potentialAction:[h("SearchAction",{target:"".concat(e,"/search/{search_term_string}"),"query-input":"required name=search_term_string"})]})},E=function(e){var t=e.section,r=t.canonicalPath,n=t.coverImage,o=t.description,a=t.title,c=t.author.authorDisplayName,u=n&&(0,i.Cy)(n);return h("NewsArticle",{mainEntityOfPage:h("WebPage",{"@id":"".concat(v).concat(r)}),author:h("Person",{name:c}),datePublished:t.datePublished,dateModified:t.dateModified,description:(0,f.Z)(o),headline:(0,f.Z)(a),image:h("ImageObject",{url:u}),publisher:_})},g=function(e){var t=e.item,r=t.sourceURL,n=t.posterImage,o=t.title,a=t.description,c=t.authorDisplayName,u=t.dateCreated,l=t.duration,p=(0,s.az)(u),d={url:r,embedUrl:r,thumbnailUrl:(0,i.lV)(n),name:(0,f.Z)(o),description:(0,f.Z)(a||o),uploadDate:p,author:h("Person",{name:c})};return l&&(d.duration=(0,s.b3)(l)),h("VideoObject",d)},O=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.crumbs=[]}var t,r,n;return t=e,(r=[{key:"add",value:function(e,t){this.crumbs.push(h("ListItem",{position:this.crumbs.length+1,name:(0,f.Z)(e&&e.trim&&e.trim()),item:(0,l.sD)(t)?t:"".concat(v).concat(t)}))}},{key:"structuredData",value:function(){return 0===this.crumbs.length||this.crumbs.some((function(e){return!e.name||!e.item}))?null:h("BreadcrumbList",{itemListElement:this.crumbs})}}])&&p(t.prototype,r),n&&p(t,n),e}(),S=function(e){var t=(0,u.Z)(e);if(t)return t.structuredData()}},83565:function(e,t,r){"use strict";r(43105),r(95342),r(43450),r(39529),r(31235);function n(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return e.reduce((function(e,t){return Object.assign({},e,n({},t.remoteid,Object.assign({service:"flipboard"},t)))}),{})}var i="flipboard/topic%2F";t.Z={isEqual:function(e,t){return e.remoteid&&t.remoteid?e.remoteid===t.remoteid:e.title===t.title},decorateForFollowing:function(e){var t=Object.assign({},{service:"flipboard"},e);return!t.sectionTitle&&t.title&&(t.sectionTitle=t.title),t},getEditorialTopicsById:o,getSelectedTopicsFromEditorialBoards:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=o(t);return e.map((function(e){return r[e]})).filter((function(e){return e}))},getTopicRemoteId:function(e){if(e&&!e.includes(i))return"".concat(i).concat(e)}}},65976:function(e,t,r){"use strict";r.d(t,{WJ:function(){return p},b3:function(){return d},az:function(){return m},mm:function(){return v}});r(18178),r(43105),r(33132),r(71245);var n=r(36094),o=r(48245),i=r(66342),a=r(61973),c=r(42227),u=6e4,s=36e5,l=864e5;var f=function(e){return e instanceof Date?e:new Date(1e3*e)};var p=function(e){return e?(0,o.Z)((0,a.Z)(new Date(0),parseInt(e,10)),"m:ss"):"--:--"},d=function(e){var t=0,r=0,n=0;if(e){var o=(0,a.Z)(new Date(0),parseInt(e,10));t=o.getUTCSeconds(),r=o.getUTCMinutes(),n=o.getUTCHours()}return"PT".concat(n,"H").concat(r,"M").concat(t,"S")},m=function(e){return(0,c.Z)(e).toISOString()},v=function(e,t,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"date_util_now",o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"date_util_minute_ago_abbr_with_count",i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:"date_util_hour_ago_abbr_with_count",a=arguments.length>6&&void 0!==arguments[6]?arguments[6]:"date_util_day_ago_abbr_with_count";if(!e)return null;var c=new Date(1e3*e),f=r||new Date,p=f-c,d=p/l,m=p/s,v=p/u;if(v<1)return t(n);if(m<1&&v>1){var h=Math.floor(v);return t(o,{count:h})}if(m>1&&d<1){var _=Math.floor(m);return t(i,{count:_})}var y=Math.floor(d);return t(a,{count:y})};t.ZP={friendlyFormat:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"en",n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;if(!e)return null;var o=new Date(1e3*e),i=n||new Date,a=i-o,c=a/s,u=a/l;if(c<1)return t("date_util_now");if(c<24){var f=Math.floor(c);return t("datetime_relative",{datetime:"".concat(f," ").concat(t("date_util_hour",{count:f}))})}if(u<7){var p=Math.floor(u);return t("datetime_relative",{datetime:"".concat(p," ").concat(t("date_util_day",{count:p}))})}var d=o.getFullYear(),m=i.getFullYear();
1return m===d?o.toLocaleString(r,{month:"short",day:"numeric"}):o.toLocaleString(r,{year:"numeric",month:"short",day:"numeric"})},friendlyFormatLocalized:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"en",n=arguments.length>3?arguments[3]:void 0,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"date_util_now",i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:"date_util_minute_ago_with_count",a=arguments.length>6&&void 0!==arguments[6]?arguments[6]:"date_util_hour_ago_with_count",c=arguments.length>7&&void 0!==arguments[7]?arguments[7]:"date_util_day_ago_with_count",f=arguments.length>8&&void 0!==arguments[8]?arguments[8]:null,p=arguments.length>9&&void 0!==arguments[9]&&arguments[9];if(!e)return null;var d="string"==typeof e?e:1e3*e,m=new Date(d),v=n||new Date,h=v-m,_=h/l,y=h/s,b=h/u;if(b<1)return t(o);if(y<1&&b>1){var E=Math.floor(b);return t(i,{count:E})}if(y>1&&_<1){var g=Math.floor(y);return t(a,{count:g})}if(_<7){var O=Math.floor(_);return t(c,{count:O})}var S=m.getFullYear(),A=v.getFullYear(),T=A===S?{month:"long",day:"numeric"}:{year:"numeric",month:"short",day:"numeric"};p&&Object.assign(T,{hour:"numeric",minute:"numeric"});var R=m.toLocaleString(r,T);return f?t(f,{timestamp:R}):R},completeFormat:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"en",r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],n=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o=f(e),i={year:"numeric",month:"long",day:"numeric"};return r&&Object.assign(i,{hour:"numeric",minute:"numeric"}),n&&Object.assign(i,{timeZoneName:"short"}),o.toLocaleString(t,i)},getDateFromNow:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:12,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"AM",o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:new Date;if(!Number.isInteger(parseInt(e,10)))return null;o.setDate(o.getDate()+parseInt(e,10));var i=parseInt(t,10);return"AM"===n&&12===i?i=0:"PM"===n&&12!==i&&(i+=12),o.setHours(i,r,0),o},getDateBreakdown:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new Date,r=new Date(e),o=r.getHours(),i=o>=12?"PM":"AM",a=r.getMinutes();o=o>12?o-12:o;var c=(0,n.Z)(r,t);return{hour:o,minute:a,period:i,daysFromNow:c}},getGranularHoursDifference:function(e,t){return(0,i.Z)(e,t)/60}}},88164:function(e,t){"use strict";t.Z={create:function(e,t){var r,n=this,o=function(e){return function(){clearTimeout(e)}};return function(){for(var i=arguments.length,a=new Array(i),c=0;c<i;c++)a[c]=arguments[c];var u=n,s=function(){r=null,e.apply(u,a)};return clearTimeout(r),r=setTimeout(s,t),o(r)}}}},97537:function(e,t,r){"use strict";r.d(t,{t:function(){return o}});r(34115),r(634),r(58188),r(20796),r(15735),r(28673),r(6886);function n(e){return n="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},n(e)}var o=function(e){if(!e)return!1;if("object"!==n(e))return!1;var t=e.tagName,r=e.complete,o=e.naturalWidth,i=e.naturalHeight;return"IMG"===t&&(!!r&&(null!==o&&0!==o&&(null!==i&&0!==i)))}},34688:function(e,t,r){"use strict";r.d(t,{r3:function(){return m},Yh:function(){return v},Q0:function(){return h},wi:function(){return _},Hj:function(){return y},N2:function(){return b},eK:function(){return E},ey:function(){return g},go:function(){return O},z6:function(){return S},V0:function(){return A},pp:function(){return T},r2:function(){return R},YH:function(){return I},es:function(){return P},Mi:function(){return C},eU:function(){return w},wq:function(){return j},P0:function(){return N},RL:function(){return L},z_:function(){return D},zY:function(){return x},RH:function(){return M},Vg:function(){return Z},SY:function(){return U},v0:function(){return k},IA:function(){return F},oB:function(){return G},Yy:function(){return B},HC:function(){return z},dU:function(){return V}});r(26936),r(96928),r(58188),r(88233),r(61229),r(15735),r(79321),r(28673),r(6886),r(34115),r(634),r(20796);function n(e){return n="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},n(e)}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(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&&f(e,t)}function a(e){var t=l();return function(){var r,n=p(e);if(t){var o=p(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return c(this,r)}}function c(e,t){return!t||"object"!==n(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function u(e){var t="function"==typeof Map?new Map:void 0;return u=function(e){if(null===e||(r=e,-1===Function.toString.call(r).indexOf("[native code]")))return e;var r;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return s(e,arguments,p(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),f(n,e)},u(e)}function s(e,t,r){return s=l()?Reflect.construct:function(e,t,r){var n=[null];n.push.apply(n,t);var o=new(Function.bind.apply(e,n));return r&&f(o,r.prototype),o},s.apply(null,arguments)}function l(){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}}function f(e,t){return f=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},f(e,t)}
1function p(e){return p=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},p(e)}var d=function(e){i(r,e);var t=a(r);function r(e){var n;return o(this,r),(n=t.call(this,e)).name=n.constructor.name,n}return r}(u(Error)),m=function(e){i(r,e);var t=a(r);function r(){return o(this,r),t.apply(this,arguments)}return r}(d),v=function(e){i(r,e);var t=a(r);function r(){return o(this,r),t.apply(this,arguments)}return r}(d),h=function(e){i(r,e);var t=a(r);function r(){return o(this,r),t.apply(this,arguments)}return r}(d),_=function(e){i(r,e);var t=a(r);function r(){return o(this,r),t.apply(this,arguments)}return r}(d),y=function(e){i(r,e);var t=a(r);function r(){return o(this,r),t.apply(this,arguments)}return r}(d),b=function(e){i(r,e);var t=a(r);function r(){return o(this,r),t.apply(this,arguments)}return r}(d),E=function(e){i(r,e);var t=a(r);function r(){return o(this,r),t.apply(this,arguments)}return r}(d),g=function(e){i(r,e);var t=a(r);function r(){return o(this,r),t.apply(this,arguments)}return r}(d),O=function(e){i(r,e);var t=a(r);function r(){return o(this,r),t.apply(this,arguments)}return r}(d),S=function(e){i(r,e);var t=a(r);function r(){return o(this,r),t.apply(this,arguments)}return r}(d),A=function(e){i(r,e);var t=a(r);function r(){return o(this,r),t.apply(this,arguments)}return r}(d),T=function(e){i(r,e);var t=a(r);function r(){return o(this,r),t.apply(this,arguments)}return r}(d),R=function(e){i(r,e);var t=a(r);function r(){return o(this,r),t.apply(this,arguments)}return r}(d),I=function(e){i(r,e);var t=a(r);function r(){return o(this,r),t.apply(this,arguments)}return r}(d),P=function(e){i(r,e);var t=a(r);function r(){return o(this,r),t.apply(this,arguments)}return r}(d),C=function(e){i(r,e);var t=a(r);function r(){return o(this,r),t.apply(this,arguments)}return r}(d),w=function(e){i(r,e);var t=a(r);function r(){return o(this,r),t.apply(this,arguments)}return r}(d),j=function(e){i(r,e);var t=a(r);function r(){return o(this,r),t.apply(this,arguments)}return r}(d),N=function(e){i(r,e);var t=a(r);function r(){return o(this,r),t.apply(this,arguments)}return r}(d),L=function(e){i(r,e);var t=a(r);function r(){return o(this,r),t.apply(this,arguments)}return r}(d),D=function(e){i(r,e);var t=a(r);function r(){return o(this,r),t.apply(this,arguments)}return r}(d),x=function(e){i(r,e);var t=a(r);function r(){return o(this,r),t.apply(this,arguments)}return r}(d),M=function(e){i(r,e);var t=a(r);function r(){return o(this,r),t.apply(this,arguments)}return r}(d),Z=function(e){i(r,e);var t=a(r);function r(){return o(this,r),t.apply(this,arguments)}return r}(d),U=function(e){i(r,e);var t=a(r);function r(){return o(this,r),t.apply(this,arguments)}return r}(d),k=function(e){i(r,e);var t=a(r);function r(){return o(this,r),t.apply(this,arguments)}return r}(d),F=function(e){i(r,e);var t=a(r);function r(){return o(this,r),t.apply(this,arguments)}return r}(d),G=function(e){i(r,e);var t=a(r);function r(){return o(this,r),t.apply(this,arguments)}return r}(d),B=function(e){i(r,e);var t=a(r);function r(){return o(this,r),t.apply(this,arguments)}return r}(d),z=function(e){i(r,e);var t=a(r);function r(){return o(this,r),t.apply(this,arguments)}return r}(d),V=function(e){i(r,e);var t=a(r);function r(){return o(this,r),t.apply(this,arguments)}return r}(d)},9906:function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,{d:function(){return factory}});var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(43105),core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__),axios__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(89644),axios__WEBPACK_IMPORTED_MODULE_1___default=__webpack_require__.n(axios__WEBPACK_IMPORTED_MODULE_1__),axios_retry__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(47747),axios_retry__WEBPACK_IMPORTED_MODULE_2___default=__webpack_require__.n(axios_retry__WEBPACK_IMPORTED_MODULE_2__),_home_node_app_apps_webapp_src_utils_global_vars__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(8260),retry=function(e){axios_retry__WEBPACK_IMPORTED_MODULE_2___default()(e,{retries:3,retryDelay:axios_retry__WEBPACK_IMPORTED_MODULE_2___default().exponentialDelay,retryCondition:function(e){var t,r=e.response;return(200!==(null==r?void 0:r.status)||!1!==(null==r||null===(t=r.data)||void 0===t?void 0:t.success))&&axios_retry__WEBPACK_IMPORTED_MODULE_2___default().isNetworkOrIdempotentRequestError(e)}})},defaultOptions={timeout:1e4},factory=function factory(axiosOptions){var allowRetries=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],instance=axios__WEBPACK_IMPORTED_MODULE_1___default().create(Object.assign({},defaultOptions,axiosOptions));if(_home_node_app_apps_webapp_src_utils_global_vars__WEBPACK_IMPORTED_MODULE_3__.Z.isServer()){var CurlDebugInterceptor=eval('require("../server/lib/curl-debug-interceptor")');CurlDebugInterceptor.apply(instance)}return allowRetries&&retry(instance),instance};retry(axios__WEBPACK_IMPORTED_MODULE_1___default()),__webpack_exports__.Z=axios__WEBPACK_IMPORTED_MODULE_1___default()},66345:function(e,t,r){"use strict";var n=r(7799);t.Z=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:n.Z,t=e();if(t&&t.location&&t.location.origin)return t.location.origin}},7799:function(e,t){"use strict";t.Z=function(){return"undefined"==typeof window?{}:window}},8260:function(e,t,r){"use strict";r(34115),r(634),r(58188),r(20796),r(15735),r(28673),r(6886);function n(e){return n="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},n(e)}t.Z={isServer:function(){return"undefined"==typeof process||n(process),!1},environment:"production",deployEnvironment:"production",isDevelopment:!1,isDeployed:!0,isTest:!1,isBeta:!1,isStaging:!1,isProduction:!0,isIntegration:!1,isReplay:!1,isDeveloperDeploy:!1}},21112:function(e,t,r){"use strict";r.d(t,{Ip:function(){return s},aM:function(){return l},Jn:function(){return f},JS:function(){return d},nD:function(){return h}});r(18178),r(77950),r(94908),r(43105),r(85940);var n=r(7799),o=r(47741),i=r(34688);var a=!1,c="visitedExternalUrl",u=function(e){try{return e()}catch(e){o.Z.captureException(new i.eK),o.Z.captureException(e)}return null},s=function(e){return!!a&&(e&&"POP"===e.action)},l=function(){a=!0},f=function(e){return a&&p(e,"previousUrl")||null},p=function(e,t){return e&&e.location&&e.location.state&&e.location.state[t]||null},d=function(e,t){return u((function(){var r={},o=(0,n.Z)().location,i=o&&o.href;i&&(r.previousUrl=i),t.push(e,r)}))},m=function(e){return"".concat(e.location.pathname).concat(e.location.search)},v=function(e,t,r){return u((function(){var n=m(e),o=e.location.state,i=Object.assign({},o,function(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}({},t,r));e.replace(n,i)}))},h=function(e,t){v(e,c,t)}},10950:function(e,t,r){"use strict";r(26936);t.Z={displayName:function(e){return e.displayName||e.name||"Component"}}},22480:function(e,t,r){"use strict";r(77950),r(74069),r(17368),r(88233),r(18178),r(34115),r(634),r(58188),r(20796),r(15735),r(28673),r(6886),r(32501),r(26936),r(27233);var n=r(47741),o=r(32923);function i(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var r=[],n=!0,o=!1,i=void 0;try{for(var a,c=e[Symbol.iterator]();!(n=(a=c.next()).done)&&(r.push(a.value),!t||r.length!==t);n=!0);}catch(e){o=!0,i=e}finally{try{n||null==c.return||c.return()}finally{if(o)throw i}}return r}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return a(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return a(e,t)}
1(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var c=/(<\w+?>[\s\S]*?<\/\w+?>)/gm;t.Z=function(e,t){return(0,o.Z)(e,c,(function(e){try{var r=i(e.match(/^<(\w+)>/)||[],2)[1],o=i(e.match(new RegExp("<".concat(r,">(.*)</").concat(r,">"),"s"))||[],2)[1];return t[r]?t[r](o):e}catch(e){return n.Z.captureException(e),""}}))}},93780:function(e,t,r){"use strict";r.d(t,{sQ:function(){return c},lV:function(){return u},Cy:function(){return s},Of:function(){return l},OL:function(){return f},W0:function(){return m},xi:function(){return v},eu:function(){return h},eO:function(){return _},De:function(){return y},V3:function(){return b},dF:function(){return E},G$:function(){return g},BD:function(){return O},A$:function(){return S},nc:function(){return A}});r(77950),r(85940),r(74069),r(61657),r(49228),r(39529),r(18178),r(31235),r(43450),r(8532);var n=r(55162),o=r(99445),i=/^https?:\/\/cdn\.flipboard/,a=["mediumURL","largeURL","xlargeURL","smallURL","url","imageURL"],c=function(e){if(!e)return null;var t=e&&(function(e){if(e.largeURL&&e.largeURL.match(i))return e.largeURL}(e)||e.mediumURL||e.largeURL||e.xlargeURL||e.smallURL||e.url||e.imageURL);return t&&0===t.indexOf("//")&&(t=t.replace("//","https://")),function(e){return e?e.replace(/^http:\/\/flip\.it/,"https://flip.it").replace(i,"https://cdn.flipboard"):e}(t)},u=function(e){return e&&(e.smallURL||e.mediumURL||e.largeURL||e.xlargeURL||null)},s=function(e){return e&&(e.xlargeURL||e.largeURL||e.mediumURL||e.smallURL||null)},l=function(e){return e?e&&(e.original_width||e["original-width"]||null):null},f=function(e){return e?e&&(e.original_height||e["original-height"]||null):null},p=function(e){return e.width||l(e)},d=function(e){return e.height||f(e)},m=function(e){var t=l(e),r=f(e);return!(!t||t<2||!r||r<2)},v=function(e){if(null==e)return null;var t=function(e){if(null==e)return null;var t=e.hints||e.original_hints,r=n.Z.parseHints(t);if(void 0!==r.focus)return{x:r.focus[0],y:r.focus[1]};var o=p(e),i=d(e);return isNaN(o)||null===o||isNaN(i)||null===i?null:{x:.5*o,y:.5*i}}(e);if(null===t)return null;var r=p(e),o=d(e);return isNaN(r)||null===r||isNaN(o)||null===o?null:{x:t.x/r,y:t.y/o}},h=function(e,t,r){var n=e.width,o=e.height,i=t.width,a=t.height;if(0===n||0===o)return{width:i,height:a,shiftX:0,shiftY:0};var c=Math.max(n/i,o/a).toFixed(4)||1,u=i*c,s=a*c,l=r?r.x:.5,f=r?r.y:.5;return{width:u,height:s,shiftX:-Math.abs(Math.round((u-n)*l)),shiftY:-Math.abs(Math.round((s-o)*f))}},_=function(e){var t=e.smallURL;return[e.mediumURL,t,e.largeURL,e.xlargeURL].find((function(e){return e&&"string"==typeof e}))||null},y=function(e,t,r){return e&&(t||r)?t&&r?{width:t,height:r}:r?{width:e*r,height:r}:t?{width:t,height:t/e}:null:null},b=function(e){return e?e.isProfile&&e.author&&e.author.authorImage?e.author.authorImage:e.tileImage||e.brick||e.image:null},E=function(e,t){var r=e.attribution;if(r)return"Photo: ".concat(r);var n=c(e),i=(0,o.KM)(n);return i&&!["flip.it","cdn.flipboard.com","ic-cdn.flipboard.com"].includes(i.hostname)?t("photo_attribution",{hostname:i.hostname}):null},g=function(e){return{mediumURL:e}},O=function(e,t){return!!t&&a.reduce((function(e,r){var n=t[r];return n?e.concat(n.url||n):e}),[]).includes(e)},S=function(e){return Array.isArray(e)?e.map((function(e){return{smallURL:e.smallURL||e.small&&e.small.url,largeURL:e.largeURL||e.large&&e.large.url,xlargeURL:e.xlargeURL||e.xlarge&&e.xlarge.url,mediumURL:e.mediumURL||e.medium&&e.medium.url,url:e.url,imageURL:e.imageURL||e.original&&e.original.url,original_height:e.original_height||e.original&&e.original.height,original_width:e.original_width||e.original&&e.original.width}})):null},A=function(e){return"string"==typeof e?e.replace(/^http:/,"https:"):e}},63229:function(e,t){"use strict";t.Z=function(e,t){return("string"==typeof e?parseInt(e,10):e)===("string"==typeof t?parseInt(t,10):t)}},7010:function(e,t,r){"use strict";t.Z=function(e){return null==e||""===e}},29307:function(e,t,r){"use strict";r(34769),r(34115),r(95342),r(68625),r(1939),r(62775),r(2784);var n=r(9276),o=r(32923),i=r(57589),a=r(52322);function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function u(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
1t%2?c(Object(r),!0).forEach((function(t){s(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):c(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function s(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}t.Z=function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:n.Z,c=function(e){return(0,a.jsx)(r,u({href:e},t,{children:e}))};return(0,o.Z)(e,i.Zh,c)}},48115:function(e,t,r){"use strict";var n=r(7799),o=!1;t.Z=function(){if(!o){o=!0;var e=(0,n.Z)().document,t=e.createElement("script");t.src="//imasdk.googleapis.com/js/sdkloader/ima3.js",e.body.appendChild(t)}}},98278:function(e,t,r){"use strict";r(77950),r(48319),r(85940),r(18178),r(74069),r(49228),r(39529),r(31235),r(34115),r(634),r(58188),r(20796),r(15735),r(28673),r(6886),r(32501),r(26936),r(27233);var n=r(8260),o=r(7799);function i(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var r=[],n=!0,o=!1,i=void 0;try{for(var a,c=e[Symbol.iterator]();!(n=(a=c.next()).done)&&(r.push(a.value),!t||r.length!==t);n=!0);}catch(e){o=!0,i=e}finally{try{n||null==c.return||c.return()}finally{if(o)throw i}}return r}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return a(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return a(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var c=/(^[a-z]+)([-_].+)?/,u=["en","fr","de"],s=function(e){var t=i((e||"").toLowerCase().replace(/\W+/g,"_").replace(/_+/,"_").split("_"),2),r=t[0],n=t[1];return n?"".concat(r,"_").concat(n.toUpperCase()):r},l=function(e,t){return s(e)===s(t)};t.Z={getClientLocale:function(){if(!n.Z.isServer()){var e=(0,o.Z)().navigator,t=e.languages&&e.languages.length&&e.languages.length[0]||e.language||"en";return this.getLocaleByLanguage(t)}},getLanguageWithoutRegion:function(e){if(!e||!e.match)return null;var t=e.match(c);return t?t.length>0&&t[1]:null},getLocaleByLanguage:function(e){if(!e)return null;var t=e.split(/,|;/)[0];return l(t,"en")?"en_US":l(t,"de")?"de_DE":l(t,"fr")?"fr_FR":s(t)},isSearchSupported:function(){var e=this.getClientLocale();return!!u.find((function(t){return e.includes(t)}))},isLocaleMatch:l,isLangMatch:l}},71012:function(e,t,r){"use strict";var n=r(8260),o=function(e){return function(){"test"!==n.Z.environment&&(n.Z.isProduction&&!n.Z.isServer()||e.apply(void 0,arguments))}},i=o(console.log),a=o(console.info),c=o(console.warn),u=o(console.error),s=o(console.debug);t.ZP={log:i,info:a,warn:c,error:u,debug:s}},77690:function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,{ZK:function(){return warn},C$:function(){return logRequest}});var _home_node_app_apps_webapp_src_utils_global_vars__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(8260),_home_node_app_apps_webapp_src_utils_logger_client__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(71012),logger=_home_node_app_apps_webapp_src_utils_global_vars__WEBPACK_IMPORTED_MODULE_0__.Z.isServer()?eval('require("./server.ts")'):_home_node_app_apps_webapp_src_utils_logger_client__WEBPACK_IMPORTED_MODULE_1__.ZP,info=logger.info,debug=logger.debug,warn=logger.warn,error=logger.error,logRequest=logger.logRequest;__webpack_exports__.ZP=logger},94532:function(e,t,r){"use strict";r(77950),r(49228),r(43450),r(32501),r(43105),r(95342),r(18178),r(34115),r(634),r(58188),r(20796),r(15735),r(28673),r(6886),r(27233),r(26936);var n=r(39744),o=r(93780),i=r(57366);function a(e){return function(e){if(Array.isArray(e))return c(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return c(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return c(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var u={small:"small",medium:"medium",large:"large"},s={GROUP_SIZES:u,sidFromRemoteid:function(e){var t=/^sid\/(.*)\/.*/g.exec(e);return null===t||t.length<2?null:t[1]},getConfig:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0;return t?e.find((function(e){var r=e.remoteIds;if(void 0===r)return null;var n=r.find((function(e){return e===t.remoteid}));if(void 0!==n)return n;var o=r.map((function(e){var t=s.sidFromRemoteid(e);return t&&t.slice(0,-1)})),i=s.sidFromRemoteid(t.remoteid);if(null===i)return null;var a=i.slice(0,-1);return o.find((function(e){return e===a}))})):null},sectionIsNgl:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0;return!!s.getConfig(e,t)},getSectionCoverImage:function(e,t,r){var i=e.headerImageURL,a=e.headerImageWidth,c=e.headerImageHeight;if(void 0!==i){var u={largeURL:i};return void 0!==a&&(u.original_width=a),void 0!==c&&(u.original_height=c),u}if(void 0!==t.image)return t.image;if(void 0!==t.tileImage)return t.tileImage;var s=r.find((function(e){var t=(0,n.gJ)(e);return t&&!!(0,o.Cy)(t)}));return void 0!==s?(0,n.gJ)(s):void 0},generateSectionCoverAuthor:function(e,t){var r=e.headerAuthorName,n=e.headerAuthorAvatarURL,o=e.headerAuthorRemoteId,i=void 0!==r?r:t.authorDisplayName,a=void 0!==n?{largeURL:n}:t.authorImage,c={type:"author",feedType:"profile",authorUsername:t.authorUsername,authorDisplayName:i,authorImage:a};return void 0!==o&&(c.remoteid=o,void 0!==c.authorUsername&&delete c.authorUsername),c},generateSectionCoverCustomizer:function(e){var t=e.headerImageURL,r=e.headerImageSquareURL,n=e.hideHeaderBrackets,o=e.headerDescription,i={};return void 0!==r&&(i.headerImageSquareURL=r),void 0!==n&&(i.hideHeaderBrackets=n),void 0!==o&&(i.headerDescription=o),void 0===t&&void 0===r&&(i.hideHeaderImage=!0),{customizations:{itemRenderHints:i}}},generateSectionCover:function(e,t,r){var n={type:"sectionCover",title:t.title,authorUsername:t.authorUsername,authorDisplayName:t.authorDisplayName,authorImage:t.authorImage,section:{}},o=e&&s.getSectionCoverImage(e,t,r);o&&(n.section.tileImage=o);var i=e&&s.generateSectionCoverAuthor(e,t);return i&&(n.sectionLinks=[i]),e&&(n.customizer=s.generateSectionCoverCustomizer(e)),n},convertSectionToStoryboard:function(e,t){var r=t.hideHeaderBrackets,n=t.headerDescription,o=Object.assign({},e,{type:"feed",feedType:"bundle",isNglPromoted:!0});void 0!==r&&(o.nglHideHeaderBrackets=r),void 0!==n&&(o.nglHeaderDescription=n);var i=s.getSectionCoverImage(t,e,[]);return i&&(o.image=i),o},getGroupCustomizer:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:u.small,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n={customizations:{itemRenderHints:{size:e||u.small,numbered:r}}};return null!=t&&(n.customizations.title=t),n},convertToStoryboardGroup:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:u.small;return(0,n.ty)(e)?Object.assign({},e,{customizer:s.getGroupCustomizer(t,e.title)}):{type:"group",id:e.id,customizer:s.getGroupCustomizer(u.large),items:[e]}},convertItemsToStoryboardGroup:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:u.small,r=arguments.length>2?arguments[2]:void 0,n=arguments.length>3?arguments[3]:void 0,o=arguments.length>4?arguments[4]:void 0;return{type:"group",customizer:s.getGroupCustomizer(t,r,n),items:e,id:o}},getSectionStoryboardGroups:function(e,t){if(void 0===t)return[];var r=t.slice(),o=e||{},a=o.numberFirst10Items,c=o.hideLastItemInFeed,l=o.firstItemOfGroupLarge;if(!0===c){var f=r[r.length-1];(0,n.ty)(f)||r.pop()}var p=(r=r.filter((function(e){return!(0,n.cQ)(e)})))[0];return p&&(0,n.ty)(p)?l?r.reduce((function(e,t){if((0,n.ty)(t)){var r=t.items.slice(0,1),o=r.length>0&&s.convertItemsToStoryboardGroup(r,u.large,t.title,i.Z.isNumberedGroup(t),r[0].id);o&&e.push(o);var a=t.items.slice(1),c=a.length>0&&s.convertItemsToStoryboardGroup(a,u.small,null,i.Z.isNumberedGroup(t),a[0].id);c&&e.push(c)}else e.push(t);return e}),[]):r.map((function(e){var t=(0,n.ty)(e);return s.convertItemsToStoryboardGroup(t?e.items:[e],t?u.small:u.large,t&&e.title,!1,e.id)})):a?[s.convertItemsToStoryboardGroup(r.slice(0,10),u.large,null,!0,"generated-group-id-1"),s.c
1onvertItemsToStoryboardGroup(r.slice(10),u.small,null,null,"generated-group-id-2")]:[s.convertItemsToStoryboardGroup(r,u.large,null,null,"generated-group-id-1")]},getSectionStoryboardtems:function(e,t,r){var n=s.getConfig(e,t),o=s.generateSectionCover(n,t,r),i=s.getSectionStoryboardGroups(n,r);return[o].concat(a(i))},convertSectionItemsToNgl:function(e,t){return t.map((function(t){if(!(0,n.Wq)(t))return t;if(void 0===t.section)return t;if(!s.sectionIsNgl(e,t.section))return t;var r=t.section,o=s.getConfig(e,r);t.section=s.convertSectionToStoryboard(r,o);var i=o&&s.getSectionCoverImage(o,r,[]);return i&&(t.image=i),t}))},groupsFromItems:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:u.small,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,o=arguments.length>3&&void 0!==arguments[3]&&arguments[3],i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"generated-group-id-1",a=e.filter((function(e){return(0,n.ty)(e)}));return a.length?e:[s.convertItemsToStoryboardGroup(e,t,r,o,i)]}};t.Z=s},37236:function(e,t,r){"use strict";r.d(t,{h:function(){return n}});var n=function(){}},93117:function(e,t,r){"use strict";r.d(t,{k:function(){return n}});r(18178);var n=function(){var e;return(e=[]).concat.apply(e,arguments)}},52021:function(e,t,r){"use strict";r.d(t,{_H:function(){return n},DU:function(){return i}});r(61657);var n=function(e){return e>999999?"".concat((e/1e6).toFixed(1),"M"):e>999?"".concat(Math.floor(e/1e3),"k"):e},o=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return parseFloat(e.toFixed(t))},i=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return e&&"number"==typeof e?"".concat(o(100*e,t),"%"):"0%"}},10554:function(e,t,r){"use strict";r.d(t,{ei:function(){return c},Ef:function(){return u}});r(32501),r(49228),r(77950),r(48319),r(34769),r(18178),r(16781),r(96928),r(43105),r(34115),r(634),r(58188),r(20796),r(15735),r(28673),r(6886),r(27233),r(26936);function n(e){return function(e){if(Array.isArray(e))return o(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return o(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return o(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function i(e,t){return null==t?null:e.reduce((function(e,t){return null===e?null:e[t]||null}),t)}function a(e,t,r){return e.length>0&&(i(e.slice(0,-1),t)[e[e.length-1]]=r,!0)}var c=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return Object.keys(e).reduce((function(r,n){return t.indexOf(n)>-1&&(r[n]=e[n]),r}),{})},u=function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:".",o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return Object.keys(t).reduce((function(i,a){var c=t[a],u=[].concat(n(o),[a]),s=u.join(r);return c&&Object.getPrototypeOf(c)===Object.prototype?Object.assign(i,e(c,r,u)):i[s]=c,i}),{})};t.ZP={getFromRules:function(e,t){var r=e.find((function(e){return(0,e.test)(t)}));return void 0===r?null:r.get(t)},getFromPath:i,setFromRules:function(e,t,r){var n=e.find((function(e){return(0,e.test)(t)}));return void 0===n?null:n.set(t,r)},createRule:function(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];var o=e.split(".");return{path:e,test:function(e){var t=i(o,e),n=null!=t;return r.reduce((function(r,n){return n?r&&n(e,t):r}),n)},get:i.bind(null,o),set:a.bind(null,o)}},pick:c,flatNotate:u}},6630:function(e,t,r){"use strict";r.d(t,{F:function(){return i}});r(1939),r(58188),r(73439),r(15735),r(28673),r(6886);var n=r(47741),o=r(34688),i=function(e){try{e.forEach((function(e){if(e instanceof Promise==!1)throw new o.RL}))}catch(e){n.Z.captureException(e)}return Promise.all(e)}},511:function(e,t,r){"use strict";var n=r(80129),o=r.n(n);t.Z=o()},17060:function(e,t,r){"use strict";r(39529),r(31235),r(67890),r(18178);t.Z={memberOf:function(e){return function(t,r,n,o,i){return!!Object.values(e).includes(t[r])||new Error("Invalid prop ".concat(i," supplied to ").concat(n,". Validation failed."))}}}},75875:function(e,t,r){"use strict";r.d(t,{t8:function(){return a},dt:function(){return c},Lq:function(){return u},mr:function(){return s}});r(67890),r(34769),r(34115),r(95342),r(68625),r(1939),r(62775);var n=r(12957);function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function i(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var a=r.n(n)()((function(e,t,r){return{type:e,payload:i({},t,r)}})),c=function(e){return{type:e}},u=function(e){return function(t){return function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
1t%2?o(Object(r),!0).forEach((function(t){i(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):o(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},e,{},t)}},s=function(e,t,r){return function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:t,o=arguments.length>1?arguments[1]:void 0;return r&&o.type===r?t:Object.values(e).indexOf(o.type)>-1?u(n)(o.payload):n}}},57589:function(e,t,r){"use strict";r.d(t,{Oe:function(){return n},Zh:function(){return o},vj:function(){return i},iN:function(){return a},m3:function(){return c},jD:function(){return u}});r(77950),r(85940);var n=/(?:https?):\/\/[^\s/$.?#].[^\s]*/i,o=/((?:https?):\/\/[^\s/$.?#].[^\s]*)/i,i=/^(?:https?):\/\/[^\s/$.?#].[^\s]*$/i,a=/^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/i,c=/^https?:\/\/(webu-[\w]+.)?(localhost|flipboard.com)(:3000)?\/@[^/]+\/.+-(?:[\w]{16}|[\w]{9})$/,u=/^https?:\/\/(webu-[\w]+.)?(localhost|flipboard.com)(:3000)?\/@[^/]+$/},55162:function(e,t,r){"use strict";r(1939),r(77950),r(48319),r(74069),r(18178);t.Z={parseHints:function(e){var t={};return null==e||e.split(",").forEach((function(e){var r=e.match(/([^-]+)/g)||[];if(r.length>1)if("corner"===r[0]){var n="".concat(r.shift()).concat(r.shift());t[n]=r}else{var o=r.shift();t[o]=r}else r.length&&(t[r[0]]=!0)})),t}}},34386:function(e,t,r){"use strict";r(18178),r(58188),r(73439),r(32501),r(26936),r(27233),r(28673),r(34115),r(634),r(20796),r(15735),r(6886),r(35666);var n=r(47741),o=r(8260);function i(e,t){var r;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(r=function(e,t){if(!e)return;if("string"==typeof e)return a(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return a(e,t)}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,c=!0,u=!1;return{s:function(){r=e[Symbol.iterator]()},n:function(){var e=r.next();return c=e.done,e},e:function(e){u=!0,i=e},f:function(){try{c||null==r.return||r.return()}finally{if(u)throw i}}}}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function c(e,t,r,n,o,i,a){try{var c=e[i](a),u=c.value}catch(e){return void r(e)}c.done?t(u):Promise.resolve(u).then(n,o)}var u=function(){var e,t=(e=regeneratorRuntime.mark((function e(t){var r,n,o,a,c,u,s,l=arguments;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:for(r=l.length,n=new Array(r>1?r-1:0),o=1;o<r;o++)n[o-1]=l[o];a=i(t),e.prev=2,a.s();case 4:if((c=a.n()).done){e.next=13;break}return u=c.value,e.next=8,u.apply(void 0,n);case 8:if(!(s=e.sent)){e.next=11;break}return e.abrupt("return",s);case 11:e.next=4;break;case 13:e.next=18;break;case 15:e.prev=15,e.t0=e.catch(2),a.e(e.t0);case 18:return e.prev=18,a.f(),e.finish(18);case 21:return e.abrupt("return",null);case 22:case"end":return e.stop()}}),e,null,[[2,15,18,21]])})),function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(e){c(i,n,o,a,u,"next",e)}function u(e){c(i,n,o,a,u,"throw",e)}a(void 0)}))});return function(e){return t.apply(this,arguments)}}(),s=function(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];var o,a=i(e);try{for(a.s();!(o=a.n()).done;){var c=o.value,u=c.apply(void 0,r);if(u)return u}}catch(e){a.e(e)}finally{a.f()}return null};t.Z=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{async:!1};return function(){try{for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return t.async?u.apply(void 0,[e].concat(i)):s.apply(void 0,[e].concat(i))}catch(e){if(o.Z.isTest)throw e;return n.Z.captureException(e),null}}}},35126:function(e,t,r){"use strict";var n=r(94677),o=r(53510),i=r.n(o);t.Z=function(e){return i()((0,n.Z)(e))}},14876:function(e,t,r){"use strict";var n=r(7799);t.Z=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return(0,n.Z)().scrollTo(e,t)}},47741:function(e,t,r){"use strict";r.d(t,{c:function(){return a}});r(85371),r(34769),r(1939),r(18178),r(43105);var n,o=r(8260),i=r(77690),a=function(e){n=e},c=function(e,t,r){return a=function(e){!t||!r||"string"==typeof t||t instanceof Error||"function"!=typeof t.toJSON||(r.toJSON=t.toJSON()),e.withScope((function(e){r&&Object.keys(r).forEach((function(t){return e.setExtra(t,r[t])})),o.Z.isIntegration}))},c=function(){try{var n=t instanceof Error?t:JSON.stringify(t),o=JSON.stringify(r);i.ZP.error("SENTRY NOT REPORTING Received ".concat(e," error: ").concat(n," - metadata: ").concat(o)),"string"!=typeof t&&t.stack?i.ZP.error(t.stack):i.ZP["captureMessage"===e?"info":"error"](n)}catch(e){i.ZP.error("CAUGHT ERROR TRYING TO LOG ERROR!",e,t)}},void(n&&null!==(u=n.getCurrentHub().getClient())&&void 0!==u&&u.getDsn()?a(n):c());var a,c,u},u=function(e,t){e?c("captureMessage",e,t):c("captureException","empty message",t)};t.Z={captureException:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new Error("No error provided"),t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e instanceof Error?c("captureException",e,t):c("captureException",new Error("No error provided - see additional data"),Object.assign({},e,t))},captureMessage:u,captureMessageWithRequest:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};u(e,Object.assign({},r,{req:{path:t.path,params:t.params,headers:t.headers,query:t.query}}))},captureEvent:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"No message provided",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return c("captureEvent",Object.assign(e,t))},addBreadcrumb:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};c("addBreadcrumb",{message:e,data:t})}}},47894:function(e,t,r){"use strict";r.d(t,{Z:function(){return u}});var n=r(34386),o=r(83694),i=r(99445),a=r(11826),c=(r(95342),r(18178),[function(e){var t=e.section,r=e.item;if(!r||!r.isFirstPartyVideo)return null;var n=new o.Oo;return t&&(t.isTopic?n.add("#".concat(t.title),t.canonicalPath):t.isMagazine?(t.authorUsername&&n.add("@".concat((0,i.Dp)(t.authorUsername)),(0,a.Jg)(t)),n.add(t.title,t.canonicalPath)):t.isProfile?n.add("@".concat((0,i.Dp)(t.authorUsername)),t.canonicalPath):(n.add("video","https://flipboard.com/section/thanks%2FeditorsPicks"),t.authorUsername&&n.add("@".concat((0,i.Dp)(t.authorUsername)),(0,a.Jg)(t)))),n.add(r.sanitizedTitle,(0,a.bP)(r,t)),n},function(e){var t=e.item,r=e.section;if(!t)return null;var n=new o.Oo;return r&&(r.isTopic&&n.add("#".concat(r.title),r.canonicalPath),r.isMagazine&&(r.authorUsername&&n.add("@".concat((0,i.Dp)(r.authorUsername)),(0,a.Jg)(r)),n.add(r.title,r.canonicalPath)),r.isProfile&&n.add("@".concat((0,i.Dp)(r.authorUsername)),r.canonicalPath)),n.add(t.sanitizedTitle,(0,a.bP)(t,r)),n},function(e){var t=e.section,r=e.isAuthenticated;if(!t||!t.isMagazine)return null;var n=new o.Oo;return t.isMagazine&&(t.authorUsername&&n.add("@".concat((0,i.Dp)(t.authorUsername)),(0,a.Jg)(t)),n.add(t.title,r?(0,a.Tb)(t):t.canonicalPath)),n},function(e){var t=e.section;if(!t||!t.isStoryboard)return null;var r=new o.Oo;return r.add("storyboard","https://flipboard.com/@storyboards/us-storyboards-jl2f9vsjz"),t.authorUsername&&r.add("@".concat((0,i.Dp)(t.authorUsername)),(0,a.Jg)(t)),r.add(t.title,t.sourceURL),r},function(e){var t=e.section;if(!t||!t.isTopic&&!t.isSmartMagazine)return null;var r=new o.Oo;return r.add(t.title,t.sourceURL),r},function(e){var t=e.section;if(!t||!t.isProfile)return null;var r=new o.Oo;return r.add("profile","https://flipboard.com/profile"),r.add("@".concat((0,i.Dp)(t.authorUsername)),(0,a.Jg)(t)),r},function(e){var t=e.analyticsMagazine;if(!t||!t.isMagazine)return null;var r=new o.Oo;r.add("Analytics","/analytics");var n=t.author&&t.author.authorUsername,i=t.remoteid;return n&&i&&r.add(t.title,(0,a.wQ)(n,i)),r},function(e){var t=e.analyticsStoryboard;if(!t||!t.isStoryboard)return null;var r=new o.Oo;r.add("Analytics","/analytics");var n=t.author&&t.author.authorUsername,i=t.storyboardDefinitionId;return n&&i&&r.add(t.title,(0,a.QC)(n,i)),r},function(e){if(!e.sitemapIndex)return null;var t=new o.Oo;return t.add("Sitemap","/sitemap"),t},function(e){var t=e.sitemapPage,r=e.type,n=e.filter,a=e.page;if(!t)return null;var c=new o.Oo;return c.add("Sitemap","/sitemap"),c.add(r.toUpperCase(),"/sitemap/".concat(r)),n&&(c.add((0,i.Ho)(n),"/sitemap/".concat(r,"/").concat(n)),a&&c.add(a,"/sitemap/".concat(r,"/").concat(n,"/").concat(a))),c}]),u=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(0,n.Z)(c)(e)}},19763:function(e,t,r){"use strict";r(18178);var n=r(7799),o=r(99445),i=r(75007);t.Z={shareOnFacebook:function(e){(0,n.Z)().open("".concat("https://www.facebook.com/dialog/share","?app_id=").concat(i.Z.FACEBOOK_SDK_APP_ID,"&display=popup&href=").concat(e,"&fallback_redirect_uri=").concat(i.Z.FLIPBOARD_URL))},shareOnTwitter:function(e,t){(0,n.Z)().open("".concat("https://twitter.com/intent/tweet","?via=flipboard&original_referer=").concat((0,n.Z)().location.href,"&url=").concat(e,"&text=").concat((0,o.Dp)(t)))},shareOnLinkedin:function(e){(0,n.Z)().open("".concat("https://www.linkedin.com/sharing/share-offsite","?url=").concat(e),"_blank","height=600,width=400")}}},32923:function(e,t,r){"use strict";r(43450),r(77950),r(74069),r(48319),r(95342);var n=r(2784),o=r(52322);t.Z=function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(e){return e},i=e.match(t);if(!i)return e;var a=e.split(t);return a.filter((function(e){return""!==e})).map((function(e,t){var a=e;return(i&&i.indexOf(e))>-1&&(a=r(e)),(0,o.jsx)(n.Fragment,{children:a},t)}))}},94677:function(e,t,r){"use strict";r(77950),r(85940);var n=r(61429),o=r.n(n);t.Z=function(e){if("string"!=typeof e)return"";var t=e.replace(/<(p|br)/g,"__NEWLINE__<$1");return t=(t=(t=o()(t)).replace(/\s+/g," ")).replace(/(?:__NEWLINE__)+/g,"\n")}},68656:function(e,t,r){"use strict";r.d(t,{a:function(){return o},v:function(){return i}});r(77950),r(48319),r(18178),r(45794),r(85940),r(17368),r(88233);var n=r(57589),o=function(e,t){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if("string"!=typeof e)return e;var n=e.split(/\s/).reduce((function(e,r){return e.length<t?"".concat(e," ").concat(r):e.trim()}),""),o=n.length<e.length;return r&&o?"".concat(n,"..."):n},i=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=e.replace(new RegExp(n.Oe,"gi"),""),o=t?"…":null;return 0===r.length?o:r}},99445:function(e,t,r){"use strict";r.d(t,{Dp:function(){return i},Ho:function(){return a},XY:function(){return c},KM:function(){return u},sD:function(){return s},K5:function(){return l},OI:function(){return f}});r(26936),r(77950),r(85940),r(15735),r(58188),r(28673),r(6886),r(14121),r(74069),r(48319),r(16781),r(32501);var n=r(47741),o=function(e){return function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:n.Z.captureException;try{return e(t)}catch(n){throw r(n,{string:t}),new Error("Could not ".concat(e.name))}}},i=o(encodeURIComponent),a=o(decodeURIComponent),c=function(e){return i(e).replace(/[!'()*]/g,escape)},u=function(e,t){try{return new URL(e,t)}catch(e){return null}},s=function(e){var t,r=u(e);return!(null==r||null===(t=r.protocol)||void 0===t||!t.match(/^https?:$/))},l=function(e){var t=e;if(!t)return{pathname:null,search:null};s(t)&&(t=t.replace(/https?:\/\/[^/]+/,""));var r,n=t.split("?");return n[1]&&(r="?".concat(n.slice(1,n.length).join("?"))),{pathname:n[0],search:r}},f=function(e){return e&&e.split&&e.split("?")[0]}},54665:function(e,t,r){"use strict";r.d(t,{_t:function(){return s},T5:function(){return l},EF:function(){return f},it:function(){return d},M$:function(){return m},uR:function(){return v},T6:function(){return h}});r(16781),r(43450),r(95342),r(34769),r(18178),r(77950),r(85940),r(32501),r(71245),r(58188),r(73439),r(15735),r(28673),r(6886),r(14121),r(88233),r(34115),r(68625),r(1939),r(62775);var n=r(63617),o=r(7799);function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function a(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
1t%2?i(Object(r),!0).forEach((function(t){c(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function c(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var u=function(e){try{return Object.keys(e||{}).filter((function(t){return void 0!==e[t]&&null!==e[t]})).map((function(t){return" ".concat(t,"=").concat(String(e[t]).replace(/\s+/g,"_"))})).join("")}catch(e){return""}},s=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};try{var r=e&&e.data&&e.data.AdError,n=r&&r.getVastErrorCode?r.getVastErrorCode():"",o=r&&r.getErrorCode?r.getErrorCode():"",i=r&&r.getMessage&&r.getMessage()||e&&e.message||"",a="";try{var c=r&&r.getInnerError?r.getInnerError():null;a=c&&(c.getMessage?c.getMessage():c.message)||""}catch(e){a=""}var s=u(t),l="vast=".concat(n," code=").concat(o," ").concat(i).concat(s).concat(a?" inner=".concat(a):"").slice(0,480);return{vastCode:n,errCode:o,message:i,innerMessage:a,url:l}}catch(e){return{vastCode:"",errCode:"",message:"",innerMessage:"",url:"vast= code= (error-detail extraction failed)".concat(u(t)).slice(0,480)}}},l=function(){try{var e=(0,o.Z)().navigator;return e&&"boolean"==typeof e.onLine?e.onLine?1:0:"?"}catch(e){return"?"}},f=function(e){return 1005===Number(s(e).errCode)},p="https://pubads.g.doubleclick.net/gampad/ads?output=vast&ftv_probe=1",d={REACHABLE:"reachable",UNREACHABLE:"unreachable",TIMEOUT:"timeout",UNAVAILABLE:"unavailable"},m=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.fetch,r=void 0===t?(0,o.Z)().fetch:t,n=e.timeoutMs,i=void 0===n?1500:n;if("function"!=typeof r)return Promise.resolve(d.UNAVAILABLE);var c,u,s=(0,o.Z)(),l=s.AbortController,f="function"==typeof l?new l:null;try{c=r(p,a({mode:"no-cors",cache:"no-store",credentials:"omit"},f&&{signal:f.signal})).then((function(){return d.REACHABLE}),(function(){return d.UNREACHABLE}))}catch(e){return Promise.resolve(d.UNAVAILABLE)}var m=new Promise((function(e){u=setTimeout((function(){if(f)try{f.abort()}catch(e){}e(d.TIMEOUT)}),i)}));return Promise.race([c,m]).then((function(e){return clearTimeout(u),e}))},v=function(e,t){if(!e)return e;try{var r=new URL(e);return r.searchParams.set("vpa",t?"auto":"click"),r.toString()}catch(t){return e}},h=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.autoPlay,i=void 0!==r&&r,c=t.muted,u=void 0!==c&&c,s=t.pageUrl,l=void 0!==s?s:(0,o.Z)().location&&(0,o.Z)().location.href||void 0;return(0,n.Z)(a({},e,{vpa:i?"auto":"click",vpmute:u?1:0,plcmt:1},l&&{description_url:l}))}},63617:function(e,t,r){"use strict";r(15735),r(58188),r(93244),r(28673),r(6886),r(1939),r(35883),r(16781),r(18178),r(34115),r(634),r(20796),r(32501),r(26936),r(27233);var n=r(511),o=r(75007);function i(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var r=[],n=!0,o=!1,i=void 0;try{for(var a,c=e[Symbol.iterator]();!(n=(a=c.next()).done)&&(r.push(a.value),!t||r.length!==t);n=!0);}catch(e){o=!0,i=e}finally{try{n||null==c.return||c.return()}finally{if(o)throw i}}return r}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return a(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return a(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var c=new Set(["iu","tfcd","npa","sz","gdfp_req","output","unviewed_position_start","env","impl","correlator","description_url","vpa","vpmute","plcmt"]);t.Z=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t={iu:o.Z.VIDEO_AD_TAG_IU,tfcd:0,npa:0,sz:"640x480",ad_type:"video",gdfp_req:1,output:"vast",unviewed_position_start:1,env:"vp",impl:"s",correlator:""},r=[];Object.entries(e).forEach((function(e){var n=i(e,2),o=n[0],a=n[1];if(c.has(o))t[o]=a;else if(null!=a&&""!==a){var u=Array.isArray(a)?a.join(","):a;r.push("".concat(encodeURIComponent(o),"=").concat(encodeURIComponent(u)))}})),r.length>0&&(t.cust_params=r.join("&"));var a="https://pubads.g.doubleclick.net/gampad/ads";return"".concat(a,"?").concat(n.Z.stringify(t))}},77703:function(e,t,r){"use strict";r.d(t,{Ky:function(){return a}});r(39529),r(31235);var n=600,o=900,i=1200,a={PHONE:"phone",TABLET:"tablet",TABLET_LANDSCAPE:"tablet_landscape",DESKTOP:"desktop"};t.ZP={getViewportType:function(e){return e>=i?a.DESKTOP:e>=o?a.TABLET_LANDSCAPE:e>=n?a.TABLET:a.PHONE},isLargeScreen:function(e){return e===a.TABLET||e===a.TABLET_LANDSCAPE||e===a.DESKTOP},isWideLargeScreen:function(e){return e===a.TABLET_LANDSCAPE||e===a.DESKTOP},isDesktop:function(e){return e===a.DESKTOP},isPhone:function(e){return e===a.PHONE},isTablet:function(e){return e!==a.DESKTOP&&e!==a.PHONE},isTabletNarrow:function(e){return e===a.TABLET},isTabletWide:function(e){return e===a.TABLET_LANDSCAPE},isSmallScreen:function(e){return e===a.PHONE||e===a.TABLET},getUsageAppMode:function(e){return[a.PHONE,a.TABLET,a.TABLET_LANDSCAPE].includes(e)?"mobileweb":e===a.DESKTOP?"desktop":null}}},44158:function(e,t,r){"use strict";r.d(t,{t:function(){return i}});var n=r(7799);function o(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}var i={UP:38,DOWN:40,LEFT:37,RIGHT:39,ENTER:13,ESCAPE:27,TAB:9,SPACE:32,F:70,I:73,J:74,K:75,N:78,P:80},a=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.onKeyDown=t}var t,r,i;return t=e,(r=[{key:"subscribe",value:function(){(0,n.Z)().addEventListener("keydown",this.onKeyDown)}},{key:"unsubscribe",value:function(){(0,n.Z)().removeEventListener("keydown",this.onKeyDown)}}])&&o(t.prototype,r),i&&o(t,i),e}();t.Z=a},57819:function(e,t,r){"use strict";var n=r(7799),o=r(88164);function i(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}var a=function(){function e(t){var r=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e);var n=o.Z.create(t,200);this.throttledOnResize=function(){r.cancel=n()}}var t,r,a;return t=e,(r=[{key:"subscribe",value:function(){(0,n.Z)().addEventListener("orientationchange",this.throttledOnResize,!1),(0,n.Z)().addEventListener("resize",this.throttledOnResize,!1)}},{key:"unsubscribe",value:function(){this.cancel&&this.cancel(),(0,n.Z)().removeEventListener("orientationchange",this.throttledOnResize,!1),(0,n.Z)().removeEventListener("resize",this.throttledOnResize,!1)}}])&&i(t.prototype,r),a&&i(t,a),e}();t.Z=a},89939:function(e,t,r){"use strict";r.d(t,{Z:function(){return c},d:function(){return u}});var n=r(8260),o=r(7799),i=r(88164);function a(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}var c=function(){function e(t){var r=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e);var n=i.Z.create(t,50);this.throttledOnScroll=function(){r.cancel=n()}}var t,r,n;return t=e,(r=[{key:"subscribe",value:function(){(0,o.Z)().addEventListener("scroll",this.throttledOnScroll)}},{key:"unsubscribe",value:function(){(0,o.Z)().removeEventListener("scroll",this.throttledOnScroll)}}])&&a(t.prototype,r),n&&a(t,n),e}(),u=function(){return n.Z.isServer()?0:Math.max((0,o.Z)().pageYOffset,(0,o.Z)().document.documentElement.scrollTop,(0,o.Z)().document.body.scrollTop)}},61807:function(e,t,r){"use strict";r.d(t,{L:function(){return n}});var n="0e23e24bebaa4e7bdbe9450e97d889496b235c95"},30298:function(e,t,r){"use strict";r.d(t,{v6:function(){return o},nN:function(){return i},wj:function(){return a}});var n=r(2784),o=(0,n.createContext)(null),i=(0,n.createContext)(),a=(0,n.createContext)()},68265:function(e,t,r){"use strict";r(96928),r(61229),r(34115),r(634),r(58188),r(20796),r(15735),r(28673),r(6886);var n=r(2784),o=r(47897),i=r.n(o);function a(e){return a="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},a(e)}function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}
1function s(e,t){return s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},s(e,t)}function l(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 r,n=p(e);if(t){var o=p(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return f(this,r)}}function f(e,t){return!t||"object"!==a(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function p(e){return p=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},p(e)}var d=function(e){!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&&s(e,t)}(i,e);var t,r,n,o=l(i);function i(){return c(this,i),o.apply(this,arguments)}return t=i,(r=[{key:"componentDidCatch",value:function(e,t){this.props.onError(e,t)}},{key:"render",value:function(){return this.props.children}}])&&u(t.prototype,r),n&&u(t,n),i}(n.Component);d.propTypes={children:i().node.isRequired,onError:i().func.isRequired},t.Z=d},29487:function(e,t,r){"use strict";r.d(t,{N:function(){return u}});r(67890),r(2784);var n=r(47897),o=r.n(n),i=r(72779),a=r.n(i),c=r(52322),u={BEFORE:"before",AFTER:"after"};function s(e){var t=e.className,r=e.textClassName,n=e.text,o=e.labelComponent,i=e.position,s=e.children,l=e.forCheckbox,f=e.onClick,p=l?"ui-text--body-2":"ui-text--supporting",d=o||(0,c.jsx)("div",{className:a()(p,r),children:n});return(0,c.jsxs)("label",{className:t,onClick:f,children:[i===u.BEFORE&&d,s,i===u.AFTER&&d]})}s.defaultProps={position:u.BEFORE,text:null,labelComponent:null,forCheckbox:!1,onClick:function(){}},s.propTypes={children:o().node.isRequired,className:o().string,textClassName:o().string,position:o().oneOf(Object.values(u)),text:o().node,labelComponent:o().node,forCheckbox:o().bool,onClick:o().func},t.Z=s},37757:function(e,t,r){"use strict";r(96928),r(61229),r(34769),r(34115),r(95342),r(68625),r(1939),r(62775),r(634),r(58188),r(20796),r(15735),r(28673),r(6886);var n=r(2784),o=r(30298),i=r(10950),a=r(52322);function c(e){return c="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},c(e)}function u(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function s(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function f(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function p(e,t){return p=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},p(e,t)}function d(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 r,n=v(e);if(t){var o=v(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return m(this,r)}}function m(e,t){return!t||"object"!==c(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function v(e){return v=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},v(e)}t.Z=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&&p(e,t)}(m,t);var r,n,i,c=d(m);function m(){return l(this,m),c.apply(this,arguments)}return r=m,n=[{key:"render",value:function(){var t=this;return(0,a.jsx)(o.wj.Consumer,{children:function(r){return(0,a.jsx)(e,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
1t%2?u(Object(r),!0).forEach((function(t){s(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):u(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},t.props,{t:r}))}})}}],n&&f(r.prototype,n),i&&f(r,i),m}(n.Component);return t.displayName=i.Z.displayName(e),t}},43260:function(e,t,r){"use strict";r.d(t,{i:function(){return m}});r(34115),r(95342),r(68625),r(1939),r(62775);var n=r(12167),o=(r(34769),r(67890),r(2784),r(47897)),i=r.n(o),a=r(90856),c=r(43057),u=r(30001),s=r(37757),l=r(52322);function f(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function p(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function d(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var m={left:"left",right:"right",up:"up",down:"down"},v={left:90,right:270,up:180,down:0},h=(0,n.Z)(c.Z,{shouldForwardProp:function(e){return"direction: "!=e},target:"e1ayziz10"})((function(e){var t=e.color,r=e.direction;return{color:t||a.MN.emphasis,polyline:{color:"inherit",stroke:"currentColor"},transform:"rotate(".concat(v[r],"deg)")}}),"");function _(e){var t=e.color,r=e.direction,n=e.t,o=d(e,["color","direction","t"]);return(0,l.jsx)(h,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?f(Object(r),!0).forEach((function(t){p(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):f(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({name:"caret",viewBox:"0 0 24 24",toolTip:n("expand"),direction:r},o,{color:t,renderComponent:function(){return(0,l.jsx)("g",{stroke:"none",fill:"none",fillRule:"evenodd",children:(0,l.jsx)("polyline",{strokeWidth:"2",points:"1 6 12 18 23 6"})})}}))}_.propTypes={size:i().number,direction:i().oneOf(Object.keys(v)),className:i().string,toolTip:i().string,color:i().string,t:i().func.isRequired,appTheme:i().oneOf(Object.values(u.SJ))},_.defaultProps={size:16,direction:"left",className:"",color:"",appTheme:u.SJ.DEFAULT},t.Z=(0,s.Z)(_)},39764:function(e,t,r){"use strict";r(34769),r(34115),r(95342),r(68625),r(1939),r(62775),r(2784);var n=r(43057),o=r(52322);function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}t.Z=function(e){return(0,o.jsx)(n.Z,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach((function(t){a(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({name:"checkmark"},e,{viewBox:"0 0 18 18",renderComponent:function(e){var t=e.color;return(0,o.jsx)("g",{stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd",transform:"translate(-397.000000, -511.000000)",children:(0,o.jsx)("g",{transform:"translate(128.000000, 42.000000)",fill:t,children:(0,o.jsx)("g",{transform:"translate(24.000000, 450.000000)",children:(0,o.jsx)("g",{transform:"translate(242.000000, 16.000000)",children:(0,o.jsx)("polygon",{points:"9.94974747 14.9852814 6.41421356 11.4497475 5 12.863961 9.94974747 17.8137085 19.8492424 7.91421356 18.4350288 6.5"})})})})})}}))}},36584:function(e,t,r){"use strict";r(34769),r(34115),r(95342),r(68625),r(1939),r(62775),r(2784);var n=r(43057),o=r(52322);function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}t.Z=function(e){return(0,o.jsx)(n.Z,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
1t%2?i(Object(r),!0).forEach((function(t){a(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({name:"clear",size:14,viewBox:"0 0 21 21"},e,{renderComponent:function(e){var t=e.color;return(0,o.jsx)("g",{transform:"translate(-16.000000, -16.000000)",fill:t,fillRule:"evenodd",stroke:"none",children:(0,o.jsx)("path",{d:"M26.5,16 C32.2989899,16 37,20.7010101 37,26.5 C37,32.2989899 32.2989899,37 26.5,37 C20.7010101,37 16,32.2989899 16,26.5 C16,20.7010101 20.7010101,16 26.5,16 Z M30.25,22 L26.5,25.75 L22.75,22 L22,22.75 L25.75,26.5 L22,30.25 L22.75,31 L26.5,27.25 L30.25,31 L31,30.25 L27.25,26.5 L31,22.75 L30.25,22 Z"})})}}))}},97881:function(e,t,r){"use strict";r.d(t,{V:function(){return p}});r(34769),r(34115),r(95342),r(68625),r(1939),r(62775);var n=r(12167),o=(r(2784),r(47897)),i=r.n(o),a=r(90856),c=r(43057),u=r(52322);function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function f(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var p=(0,n.Z)(c.Z,{target:"e182oiu60"})({color:a.MN.emphasis,path:{fill:"currentColor"}},"");function d(e){var t=e.size,r=f(e,["size"]);return(0,u.jsx)(p,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?s(Object(r),!0).forEach((function(t){l(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):s(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({name:"closenew",fill:"none",size:t,viewBox:"0 0 24 24"},r,{renderComponent:function(){return(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)("path",{d:"M15.7071 8.29304C16.0976 8.68357 16.0976 9.31673 15.7071 9.70726L13.4142 12.0002L15.7071 14.293C16.0976 14.6836 16.0976 15.3167 15.7071 15.7073C15.3166 16.0978 14.6834 16.0978 14.2929 15.7073L12 13.4144L9.70711 15.7073C9.31658 16.0978 8.68342 16.0978 8.29289 15.7073C7.90237 15.3167 7.90237 14.6836 8.29289 14.293L10.5858 12.0002L8.29289 9.70726C7.90237 9.31673 7.90237 8.68357 8.29289 8.29304C8.68342 7.90252 9.31658 7.90252 9.70711 8.29304L12 10.5859L14.2929 8.29304C14.6834 7.90252 15.3166 7.90252 15.7071 8.29304Z",fill:"currentColor"}),(0,u.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 1C5.92487 1 1 5.92487 1 12C1 18.0751 5.92487 23 12 23C18.0751 23 23 18.0751 23 12C23 5.92487 18.0751 1 12 1ZM3 12C3 7.02944 7.02944 3 12 3C16.9706 3 21 7.02944 21 12C21 16.9706 16.9706 21 12 21C7.02944 21 3 16.9706 3 12Z",fill:"currentColor"})]})}}))}d.propTypes={size:i().number,className:i().string},d.defaultProps={size:24,className:""},t.Z=d},93440:function(e,t,r){"use strict";r(34769),r(34115),r(95342),r(68625),r(1939),r(62775);var n=r(12167),o=(r(2784),r(43057)),i=r(52322);function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var u=(0,n.Z)(o.Z,{target:"e14mvzf90"})({name:"e0dnmk",styles:"cursor:pointer"});t.Z=function(e){return(0,i.jsx)(u,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?a(Object(r),!0).forEach((function(t){c(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):a(Object(r)).forEac
1h((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({name:"close",size:22,viewBox:"0 0 22 22"},e,{renderComponent:function(e){var t=e.color;return(0,i.jsx)("g",{fill:t,children:(0,i.jsxs)("g",{transform:"translate(11.000000, 11.000000) rotate(-45.000000) translate(-11.000000, -11.000000) translate(1.000000, 1.000000)",children:[(0,i.jsx)("rect",{x:9,y:0,width:2,height:20}),(0,i.jsx)("rect",{transform:"translate(10.000000, 10.000000) rotate(-90.000000) translate(-10.000000, -10.000000)",x:9,y:0,width:2,height:20})]})})}}))}},43942:function(e,t,r){"use strict";var n=r(12167),o=(r(43105),r(34769),r(34115),r(95342),r(68625),r(1939),r(62775),r(2784),r(47897)),i=r.n(o),a=r(90856),c=r(43057),u=r(52322);function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var f=(0,n.Z)(c.Z,{target:"euou26i0"})({color:a.MN.emphasis},"");function p(e){var t=Object.assign({},e);return(0,u.jsx)(f,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?s(Object(r),!0).forEach((function(t){l(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):s(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({name:"createflip",viewBox:"0 0 24 24"},t,{renderComponent:function(){return(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.9999 2.99318C11.0088 3.54539 10.5683 4.00026 10.0161 4.00915C8.47644 4.03395 7.69367 4.12912 7.08658 4.38058C5.86144 4.88805 4.88807 5.86142 4.3806 7.08656C4.21112 7.49572 4.10839 7.99929 4.05477 8.78512C4.00054 9.57992 4 10.5885 4 12C4 13.4115 4.00054 14.42 4.05477 15.2148C4.10839 16.0007 4.21112 16.5042 4.3806 16.9134C4.88807 18.1385 5.86144 19.1119 7.08658 19.6194C7.49574 19.7889 7.99931 19.8916 8.78514 19.9452C9.57994 19.9994 10.5885 20 12 20C13.4115 20 14.4201 19.9994 15.2149 19.9452C16.0007 19.8916 16.5043 19.7889 16.9134 19.6194C18.1386 19.1119 19.1119 18.1385 19.6194 16.9134C19.8709 16.3063 19.966 15.5235 19.9908 13.9839C19.9997 13.4317 20.4546 12.9912 21.0068 13.0001C21.559 13.009 21.9995 13.4639 21.9906 14.0161C21.9659 15.5505 21.8797 16.6828 21.4672 17.6788C20.7567 19.394 19.394 20.7567 17.6788 21.4671C16.9853 21.7544 16.2387 21.88 15.351 21.9406C14.4801 22 13.4035 22 12.0369 22H11.9631C10.5965 22 9.51986 22 8.64899 21.9406C7.76134 21.88 7.01469 21.7544 6.32122 21.4671C4.60602 20.7567 3.2433 19.394 2.53284 17.6788C2.2456 16.9853 2.11997 16.2386 2.05941 15.351C1.99999 14.4801 2 13.4035 2 12.0368V11.9631C2 10.5965 1.99999 9.51984 2.05941 8.64897C2.11997 7.76132 2.2456 7.01467 2.53284 6.3212C3.2433 4.606 4.60602 3.24328 6.32122 2.53282C7.31719 2.12028 8.44945 2.03412 9.9839 2.00941C10.5361 2.00052 10.991 2.44096 10.9999 2.99318Z",fill:"currentColor"}),(0,u.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M20.8501 2C20.5527 2 20.2675 2.11814 20.0572 2.32843L10.7531 11.6326L10.2245 13.747L12.3389 13.2184L21.643 3.91421C21.8533 3.70392 21.9714 3.41871 21.9714 3.12132C21.9714 2.82393 21.8533 2.53872 21.643 2.32843C21.4327 2.11814 21.1475 2 20.8501 2ZM18.643 0.914214C19.2284 0.328852 20.0223 0 20.8501 0C21.6779 0 22.4719 0.328852 23.0572 0.914214C23.6426 1.49957 23.9714 2.29349 23.9714 3.12132C23.9714 3.94915 23.6426 4.74307 23.0572 5.32843L13.5572 14.8284C13.4291 14.9566 13.2685 15.0475 13.0927 15.0915L9.09265 16.0915C8.75188 16.1767 8.39139 16.0768 8.14301 15.8284C7.89463 15.58 7.79478 15.2196 7.87998 14.8788L8.87998 10.8788C8.92393 10.703 9.01485 10.5424 9.14301 10.4142L18.643 0.914214Z",fill:"currentColor"})]})}}))}p.propTypes={className:i().string,size:i().number},p.defaultProps={className:"",size:24},t.Z=p},66362:function(e,t,r){"use strict";r(34769),r(34115),r(95342),r(68625),r(1939),r(62775),r(2784);var n=r(47897),o=r.n(n),i=r(43057),a=r(52322);function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function u(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function s(e){var t=e.useBrandColor?"#4267b2":"#fff";return(0,a.jsx)(i.Z,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
1t%2?c(Object(r),!0).forEach((function(t){u(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):c(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({name:"facebook",viewBox:"0 0 30 30",size:30},e,{renderComponent:function(){return(0,a.jsx)("path",{d:"M17.1357031,15.5625 L17.5941117,12.4858984 L14.7279298,12.4858984 L14.7279298,10.4893945 C14.7279298,9.64769531 15.1283119,8.82724609 16.4119849,8.82724609 L17.715,8.82724609 L17.715,6.20785156 C17.715,6.20785156 16.5325509,6 15.4020031,6 C13.041618,6 11.4987605,7.47355469 11.4987605,10.1410937 L11.4987605,12.4858984 L8.875,12.4858984 L8.875,15.5625 L11.4987605,15.5625 L11.4987605,23 L14.7279298,23 L14.7279298,15.5625 L17.1357031,15.5625 Z",id:"Path",fill:t,fillRule:"nonzero"})}}))}t.Z=s,s.propTypes={useBrandColor:o().bool},s.defaultProps={useBrandColor:!1}},46710:function(e,t,r){"use strict";r(34769),r(34115),r(95342),r(68625),r(1939),r(62775);var n=r(12167),o=(r(2784),r(47897)),i=r.n(o),a=r(90856),c=r(43057),u=r(52322);function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function f(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var p=(0,n.Z)(c.Z,{target:"e13fqmwp0"})({color:a.MN.emphasis,path:{stroke:"currentColor"}},"");function d(e){var t=e.size,r=f(e,["size"]);return(0,u.jsx)(p,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?s(Object(r),!0).forEach((function(t){l(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):s(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({name:"flip",height:t,width:t,viewBox:"0 0 24 24"},r,{renderComponent:function(){return(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)("path",{d:"M12 4V20",stroke:"black",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),(0,u.jsx)("path",{d:"M4 12H20",stroke:"black",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]})}}))}d.propTypes={className:i().string,size:i().number},d.defaultProps={className:"",size:24},t.Z=d},43057:function(e,t,r){"use strict";r.d(t,{x:function(){return m}});r(34769),r(34115),r(95342),r(68625),r(1939),r(62775);var n=r(12167),o=(r(26936),r(18178),r(2784)),i=r(47897),a=r.n(i),c=r(72779),u=r.n(c),s=r(37757),l=r(52322);function f(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function p(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function d(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var m=(0,n.Z)("svg",{target:"evmgdi90"})(""),v=o.forwardRef((function(e,t){var r=e.name,n=e.className,o=e.toolTip,i=e.size,a=e.height,c=e.width,s=e.viewBox,v=e.color,h=e.renderComponent,_=e.t,y=d(e,["name","className","toolTip","size","height","width","viewBox","color","renderComponent","t"]),b=u()(p({},"".concat(r,"-icon"),!0),n),E=h,g=o||_(r),O=c||i,S=a||i,A=s||"0 0 ".concat(O," ").concat(S);return(0,l.jsxs)(m,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
1t%2?f(Object(r),!0).forEach((function(t){p(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):f(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({ref:t,role:"img","aria-labelledby":"".concat(r,"-icon-title"),className:b,width:O,height:S,viewBox:A},y,{children:[(0,l.jsx)("title",{id:"".concat(r,"-icon-title"),children:g}),(0,l.jsx)(E,{color:v})]}))}));v.propTypes={name:a().string.isRequired,className:a().string,toolTip:a().string,size:a().number,width:a().number,height:a().number,viewBox:a().string,color:a().string,renderComponent:a().func.isRequired,t:a().func.isRequired},v.defaultProps={className:"",toolTip:null,size:18,width:null,height:null,color:"#999"},t.Z=(0,s.Z)(v)},1726:function(e,t,r){"use strict";r(2784);var n=r(52322);t.Z=function(){return(0,n.jsxs)("div",{className:"loading-spinner",children:[(0,n.jsx)("div",{className:"loading-spinner__bounce loading-spinner__bounce--1"}),(0,n.jsx)("div",{className:"loading-spinner__bounce loading-spinner__bounce--2"}),(0,n.jsx)("div",{className:"loading-spinner__bounce loading-spinner__bounce--3"})]})}},40109:function(e,t,r){"use strict";r.d(t,{c:function(){return p}});r(34769),r(34115),r(95342),r(68625),r(1939),r(62775);var n=r(12167),o=(r(2784),r(47897)),i=r.n(o),a=r(90856),c=r(43057),u=r(52322);function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function f(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var p=(0,n.Z)(c.Z,{target:"e1jtmo1h0"})({color:a.MN.overlay,path:{fill:"currentColor"}},"");function d(e){var t=e.size,r=f(e,["size"]);return(0,u.jsx)(p,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?s(Object(r),!0).forEach((function(t){l(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):s(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({name:"lock",viewBox:"0 0 17 18",size:t},r,{renderComponent:function(){return(0,u.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.83333 4.83317C3.83333 2.53198 5.69881 0.666504 8 0.666
1504C10.3012 0.666504 12.1667 2.53198 12.1667 4.83317V7.33317H13C14.3807 7.33317 15.5 8.45246 15.5 9.83317V14.8332C15.5 16.2139 14.3807 17.3332 13 17.3332H3C1.61929 17.3332 0.5 16.2139 0.5 14.8332V9.83317C0.5 8.45246 1.61929 7.33317 3 7.33317H3.83333V4.83317ZM5.5 7.33317H10.5V4.83317C10.5 3.45246 9.38071 2.33317 8 2.33317C6.61929 2.33317 5.5 3.45246 5.5 4.83317V7.33317Z"})}}))}d.propTypes={size:i().number},d.defaultProps={size:18},t.Z=d},97791:function(e,t,r){"use strict";var n=r(12167),o=(r(2784),r(43057)),i=r(47897),a=r.n(i),c=r(90856),u=r(72779),s=r.n(u),l=r(52322),f=(0,n.Z)(o.Z,{target:"e92b4ip0"})("fill:var(--color--icon);",(function(e){return{fill:e.isPersonalized&&c.DM.red}}),"");function p(e){var t=e.size,r=e.isPersonalized,n=s()({"personalize-icon--personalized":r});return(0,l.jsx)(f,{name:"personalize",width:24,height:20,viewBox:"0 0 24 20",size:t,className:n,isPersonalized:r,renderComponent:function(){return(0,l.jsxs)("g",{className:"icon-group",stroke:"none",children:[(0,l.jsx)("path",{d:"M23 3H11.2C10.8 1.3 9.2 0 7.3 0C5.4 0 4 1.3 3.5 3H1C0.4 3 0 3.4 0 4C0 4.6 0.4 5 1 5H3.5C3.9 6.7 5.5 8 7.4 8C9.3 8 10.8 6.7 11.3 5H23C23.6 5 24 4.6 24 4C24 3.4 23.6 3 23 3ZM7.4 6.5C6 6.5 4.9 5.4 4.9 4C4.9 2.6 6 1.5 7.4 1.5C8.8 1.5 9.9 2.6 9.9 4C9.9 5.4 8.7 6.5 7.4 6.5Z"}),(0,l.jsx)("path",{d:"M1 17H12.8C13.2 18.7 14.8 20 16.7 20C18.6 20 20.1 18.7 20.6 17H23C23.6 17 24 16.6 24 16C24 15.4 23.6 15 23 15H20.5C20.1 13.3 18.5 12 16.6 12C14.7 12 13.2 13.3 12.7 15H1C0.4 15 0 15.4 0 16C0 16.6 0.4 17 1 17ZM16.6 13.5C18 13.5 19.1 14.6 19.1 16C19.1 17.4 18 18.5 16.6 18.5C15.2 18.5 14.1 17.4 14.1 16C14.1 14.6 15.3 13.5 16.6 13.5Z"})]})}})}p.propTypes={size:a().number,className:a().string,isPersonalized:a().bool},p.defaultProps={size:18,className:"",isPersonalized:!1},t.Z=p},95787:function(e,t,r){"use strict";r(34769),r(34115),r(95342),r(68625),r(1939),r(62775);var n=r(12167),o=(r(67890),r(2784),r(47897)),i=r.n(o),a=r(90856),c=r(30001),u=r(43057),s=r(52322);function l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function f(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function p(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var d=(0,n.Z)(u.Z,{target:"e1df98s30"})({color:a.MN.emphasis},"");function m(e){var t=e.variant,r=p(e,["variant"]);return(0,s.jsx)(d,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?l(Object(r),!0).forEach((function(t){f(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):l(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({name:"pin"},r,{viewBox:"0 0 24 24",fill:"none",renderComponent:function(){switch(t){case c.rL.FILLED:return(0,s.jsx)("path",{d:"M8 10V4H7C6.44772 4 6 3.55228 6 3C6 2.44772 6.44772 2 7 2H17C17.5523 2 18 2.44772 18 3C18 3.55228 17.5523 4 17 4H16V10C16 11.6569 17.3431 13 19 13C19.5523 13 20 13.4477 20 14C20 14.5523 19.5523 15 19 15H13.0622V21.2298L12 23.0002L10.9378 21.2298V15H5C4.44772 15 4 14.5523 4 14C4 13.4477 4.44772 13 5 13C6.65685 13 8 11.6569 8 10Z",fill:"currentColor"});case c.rL.PINNED:return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("path",{d:"M13.8748 12.8094C13.4825 12.2921 13.25 11.6491 13.25 10.9523V7.23808H10.75V10.9523C10.75 11.6491 10.5175 12.2921 10.1252 12.8094H13.8748Z",fill:"currentColor"}),(0,s.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 23C18.0751 23 23 18.0751 23 12C23 5.92487 18.0751 1 12 1C5.92487 1 1 5.92487 1 12C1 18.0751 5.92487 23 12 23ZM8.875 7.23808H9.5V10.9523C9.5 11.978 8.66053 12.8094 7.625 12.8094C7.27982 12.8094 7 13.0866 7 13.4285C7 13.7704 7.27982 14.0475 7.625 14.0475H11.3361V17.904L12 19L12.6639 17.904V14.0475H16.375C16.7202 14.0475 17 13.7704 17 13.4285C17 13.0866 16.7202 12.8094 16.375 12.8094C15.3395 12.8094 14.5 11.978 14.5 10.9523V7.23808H15.125C15.4702 7.23808 15.75 6.96093 15.75 6.61904C15.75 6.27715 15.4702 6 15.125 6H8.875C8.52982 6 8.25 6.27715 8.25 6.61904C8.25 6.96093 8.52982 7.23808 8.875 7.23808Z",fill:"currentColor"})]});default:return(0,s.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8 4H7C6.44772 4 
16 3.55228 6 3C6 2.44772 6.44772 2 7 2H17C17.5523 2 18 2.44772 18 3C18 3.55228 17.5523 4 17 4H16V10C16 11.6569 17.3431 13 19 13C19.5523 13 20 13.4477 20 14C20 14.5523 19.5523 15 19 15H13.0622V21.2298L12 23.0002L10.9378 21.2298V15H5C4.44772 15 4 14.5523 4 14C4 13.4477 4.44772 13 5 13C6.65685 13 8 11.6569 8 10V4ZM14 10C14 11.1256 14.3719 12.1643 14.9996 13H9.00037C9.62806 12.1643 10 11.1256 10 10V4H14V10Z",fill:"currentColor"})}}}))}m.propTypes={className:i().string,variant:i().oneOf(Object.values(c.rL))},m.defaultProps={className:"",variant:c.rL.DEFAULT},t.Z=m},18825:function(e,t,r){"use strict";r(34769),r(34115),r(95342),r(68625),r(1939),r(62775),r(2784);var n=r(47897),o=r.n(n),i=r(43057),a=r(52322);function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function u(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function s(e){var t=e.size,r=e.color,n=e.backgroundColor;return(0,a.jsx)(i.Z,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?c(Object(r),!0).forEach((function(t){u(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):c(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({name:"plus",viewBox:"0 0 25 25",size:t},e,{renderComponent:function(){return(0,a.jsxs)("g",{id:"Group-5",children:[(0,a.jsx)("circle",{id:"Oval",fill:n,cx:"12",cy:"12",r:"12"}),(0,a.jsxs)("g",{id:"Group",transform:"translate(6.000000, 6.000000)",stroke:r,strokeWidth:"1.5",children:[(0,a.jsx)("line",{x1:"5.74667526",y1:"0",x2:"5.74667526",y2:"11.4933505",id:"Path-5"}),(0,a.jsx)("line",{x1:"-9.09162994e-15",y1:"5.74667526",x2:"11.4933505",y2:"5.74667526",id:"Path-6"})]})]})}}))}s.propTypes={size:o().number,color:o().string,backgroundColor:o().string},s.defaultProps={size:25,color:"#F7F7F7",backgroundColor:"#F52828"},t.Z=s},86349:function(e,t,r){"use strict";r(34769),r(34115),r(95342),r(68625),r(1939),r(62775),r(2784);var n=r(47897),o=r.n(n),i=r(43057),a=r(52322);function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function u(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function s(e){var t=e.useBrandColor?"#1da1f2":"#fff";return(0,a.jsx)(i.Z,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?c(Object(r),!0).forEach((function(t){u(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):c(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({name:"twitter",size:30,viewBox:"0 0 30 30"},e,{renderComponent:function(){return(0,a.jsx)("g",{"data-name":"twitter",transform:"translate(3.0, -85.0)",children:(0,a.jsx)("path",{d:"M20.1557271,96.643397 C20.167153,96.8032883 20.167153,96.9632147 20.167153,97.1231059 C20.167153,102 16.4552361,107.619327 9.67093229,107.619327 C7.58081475,107.619327 5.63919779,107.013969 4.0059375,105.96325 C4.3029035,105.997492 4.58840853,106.008918 4.89680035,106.008918 C6.62139694,106.008918 8.20898907,105.426447 9.47676356,104.432787 C7.8549291,104.398509 6.49578316,103.336329 6.02750008,101.874386 C6.25594629,101.908629 6.48435734,101.93148 6.72422937,101.93148 C7.05543769,101.93148 7.38668117,101.885777 7.69503785,101.805866 C6.00468359,101.463197 4.73687395,99.9784374 4.73687395,98.1852859 L4.73687395,98.1396177 C5.22797352,98.4137321 5.79908904,98.5850492 6.40437656,98.6078657 C5.41071642,97.9454138 4.7597256,96.8147141 4.7597256,95.5355138 C4.7597256,94.8502455 4.94243335,94.2220712 5.262251,93.6738425 C7.07825419,95.9124254 9.80797188,97.3743335 12.8688627,97.5342599 C12.8117688,97.2601455 12.7774913,96.9746405 12.7774913,96.6891003 C12.7774913,94.6560768 14.4221774,93 16.4665916,93 C17.5287716,93 18.4881542,93.4454314 19.1620319,94.1649772 C19.9957656,94.005086 20.795257,93.6966941 21.5034121,93.2741144 C21.2292626,94.1307349 20.6467916,94.8502807 19.8815776,95.3071028 C20.6239751,95.2271923 21.3435208,95.0215626 22.0059375,94.7360576 C21.5034824,95.466994 20.8752729,96.1179848 20.1557271,96.643397 Z",id:"Path",fill:t,fillRule:"nonzero"})})}}))}t.Z=s,s.propTypes={useBrandColor:o().bool},s.defaultProps={useBrandColor:!1}},74225:function(e,t,r){"use strict";var n=r(12167),o=(r(2784),r(47897)),i=r.n(o),a=r(49372),c=r(52322),u=(0,n.Z)("svg",{target:"e17k59xd0"})({marginLeft:a.N.BASE,backgroundColor:"var(--color--static-white)",borderRadius:"50%",border:"1px solid var(--color--static-white)"},"");function s(e){var t=e.size,r=e.color;return(0,c.jsxs)(u,{role:"img","aria-labelledby":"amp-logo-title",className:"amp-logo",width:t,height:t,viewBox:"0 0 60 60",children:[(0,c.jsx)("title",{id:"amp-logo-title",children:"Amp logo"}),(0,c.jsx)("g",{id:"amp-logo-internal-site",stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd",children:(0,c.jsx)("g",{id:"AMP-Brand-Blue",fill:r,children:(0,c.jsx)("g",{id:"Updated",children:(0,c.jsx)("path",{d:"M40.6737019,27.2526667 L27.9676923,48.196 L25.6657692,48.196 L27.9416106,34.5493333 L20.8936538,34.5593333 C20.8936538,34.5593333 20.8271875,34.561 20.7952163,34.561 C20.1608413,34.561 19.6459375,34.051 19.6459375,33.4226667 C19.6459375,33.1526667 19.900024,32.696 19.900024,32.696 L32.5639663,11.7768333 L34.9045913,11.786 L32.5715385,25.4543333 L39.6556731,25.446 C39.6556731,25.446 39.7322356,25.4443333 39.7684135,25.4443333 C40.4027885,25.4443333 40.916851,25.9535 40.916851,26.5826667 C40.916851,26.8376667 40.8167308,27.0618333 40.6728606,27.2518333 L40.6737019,27.2526667 Z M30.288125,0.000166666667 C13.5604808,0.000166666667 -0.000336538462,13.4318333 -0.000336538462,30.0001667 C-0.000336538462,46.5685 13.5604808,60.0001667 30.288125,60.0001667 C47.0166106,60.0001667 60.5765865,46.5685 60.5765865,30.0001667 C60.5765865,13.4318333 47.0166106,0.000166666667 30.288125,0.000166666667 L30.288125,0.000166666667 Z",i
1d:"Fill-7"})})})})]})}s.propTypes={size:i().number,color:i().string},s.defaultProps={size:60,color:"#0379C4"},t.Z=s},22412:function(e,t,r){"use strict";r(67890),r(2784);var n=r(47897),o=r.n(n),i=r(93780),a=r(30001),c=r(74225),u=r(37757),s=r(52322);function l(e,t,r,n,o,c){var u=(0,i.De)(5.08,e,t),l=u.width,f=u.height,p=c===a.SJ.DARK?"#fff":"#000";return(0,s.jsxs)("svg",{role:"img","aria-labelledby":"logo-landscape-title logo-landscape-desc",className:"logo--landscape ".concat(n),width:l,height:f,viewBox:"0 0 508 100",children:[(0,s.jsx)("title",{id:"logo-landscape-title",children:r}),(0,s.jsx)("desc",{id:"logo-landscape-desc",children:o("flipboard_logo_landscape_description")}),(0,s.jsx)("g",{id:"Page-1",stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd",children:(0,s.jsxs)("g",{id:"Group",children:[(0,s.jsx)("rect",{id:"Rectangle",fill:"#FFFFFF",x:"3",y:"4",width:"93",height:"93"}),(0,s.jsxs)("g",{id:"Horizontal-Logo_DIGITAL_RED_100px",fillRule:"nonzero",children:[(0,s.jsx)("polygon",{id:"Shape",fill:p,points:"129.95 20 164.78 20 164.78 31.56 143.72 31.56 143.72 45.31 161.18 45.31 161.18 56.21 143.71 56.21 143.71 80 129.94 80"}),(0,s.jsx)("polygon",{id:"Shape",fill:p,points:"169.63 20 183.4 20 183.4 68.44 203.07 68.44 203.07 80 169.63 80"}),(0,s.jsx)("polygon",{id:"Shape",fill:p,points:"208.24 20 222 20 222 80 208.24 80"}),(0,s.jsx)("path",{d:"M228.83,20 L246,20 C260.83,20 269.11,27.7 269.11,40.41 C269.11,53.52 260.83,61.56 246,61.56 L242.6,61.56 L242.6,80 L228.83,80 L228.83,20 Z M242.6,30.9 L242.6,50.57 L245.3,50.57 C251.94,50.57 255.3,47.29 255.3,40.65 C255.3,34.26 251.94,30.9 245.3,30.9 L242.6,30.9 Z",id:"Shape",fill:p}),(0,s.jsx)("path",{d:"M273.92,20 L293.67,20 C307.2,20 313.75,25.82 313.75,35.65 C313.75,41.31 310.97,46.39 304,48.11 C311.53,49.43 315.53,55.24 315.53,62.21 C315.53,72.46 308.32,80 294.8,80 L273.9,80 L273.92,20 Z M287.69,30.9 L287.69,43.9 L291.53,43.9 C297.27,43.9 299.89,41.44 299.89,37.1 C299.89,33.25 297.43,30.87 291.78,30.87 L287.69,30.9 Z M287.69,54.26 L287.69,69.11 L292.85,69.11 C298.85,69.11 301.78,66.32 301.78,61.48 C301.78,56.81 298.51,54.27 292.93,54.27 L287.69,54.26 Z",id:"Shape",fill:p}),(0,s.jsx)("path",{d:"M342.29,19 C356.71,19 365,29.59 365,50 C365,70.41 356.72,81 342.29,81 C327.86,81 319.59,70.43 319.59,50 C319.59,29.57 327.86,19 342.29,19 Z M342.29,69.17 C347.78,69.17 351.22,63.51 351.22,49.99 C351.22,36.47 347.78,30.81 342.29,30.81 C336.8,30.81 333.43,36.46 333.43,49.99 C333.43,63.52 336.79,69.18 342.29,69.18 L342.29,69.17 Z",id:"Shape",fill:p}),(0,s.jsx)("path",{d:"M380.38,20 L397.84,20 L412.92,80 L398.53,80 L396,68 L381.37,68 L378.74,80 L364.89,80 L380.38,20 Z M388.66,33 L383.66,56.94 L393.91,56.94 L389,33 L388.66,33 Z",id:"Shape",fill:p}),(0,s.jsx)("path",{d:"M416.46,20 L433.67,20 C448.67,20 456.67,26.31 456.67,39 C456.67,47.2 452.98,53.27 446.1,56.38 L458.72,80 L443.83,80 L433.59,58.68 L430.23,58.68 L430.23,80 L416.46,80 L416.46,20 Z M430.23,30.9 L430.23,48 L433.67,48 C439.98,48 442.85,45 442.85,39.15 C442.85,33.57 439.98,30.87 433.67,30.87 L430.23,30.9 Z",id:"Shape",fill:p}),(0,s.jsx)("path",{d:"M463.84,20 L481.14,20 C498.93,20 507.2,32.54 507.2,50 C507.2,67.21 498.92,80 481.14,80 L463.84,80 L463.84,20 Z M477.61,31.56 L477.61,68.44 L480.89,68.44 C489.89,68.44 493.1,59.83 493.1,50 C493.1,39.59 489.91,31.56 480.89,31.56 L477.61,31.56 Z",id:"Shape",fill:p}),(0,s.jsx)("path",{d:"M0,0 L0,100 L100,100 L100,0 L0,0 Z M80,40 L60,40 L60,60 L40,60 L40,80 L20,80 L20,20 L80,20 L80,40 Z",id:"Shape",fill:"#F52828"})]})]})})]},"logo")}function f(e){var t=e.width,r=e.height,n=e.showAmpBadge,o=e.toolTip,i=e.className,a=e.t,u=e.appTheme;return n?[l(t,r,o,i,a,u),(0,s.jsx)(c.Z,{size:20},"amplogo")]:l(t,r,o,i,a,u)}f.propTypes={width:o().number,height:o().number,showAmpBadge:o().bool,className:o().string,toolTip:o().string,t:o().func.isRequired,appTheme:o().oneOf(Object.values(a.SJ))},f.defaultProps={width:null,height:null,showAmpBadge:!1,className:"",toolTip:"Flipboard",appTheme:a.SJ.DEFAULT},t.Z=(0,u.Z)(f)},48758:function(e,t,r){"use strict";r(2784);var n=r(47897),o=r.n(n),i=r(74225),a=r(72779),c=r.n(a),u=r(37757),s=r(52322);function l(e){switch(e){default:return"#F52828";case"white":return"#fff";case"gray":return"#666"}}function f(e,t,r,n,o){return(0,s.jsxs)("svg",{role:"img","aria-labelledby":"logo-icon-title logo-icon-desc",className:c()(e,{"logo--icon":!0}),width:t,height:t,viewBox:"0 0 100 100",shapeRendering:"crispEdges",children:[(0,s.jsx)("title",{id:"logo-icon-title",children:n}),(0,s.jsx)("desc",{id:"logo-icon-desc",children:o("flipboard_logo_description")}),(0,s.jsx)("g",{id:"Page-1",stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd",children:(0,s.jsx)("g",{id:"Flipboard_01_Lockup",fill:l(r),fillRule:"nonzero",children:(0,s.jsx)("path",{d:"M0,0 L0,100 L100,100 L100,0 L0,0 Z M80,40 L60,40 L60,60 L40,60 L40,80 L20,80 L20,20 L80,20 L80,40 Z",id:"Shape"})})})]},"logo")}function p(e){var t=e.className,r=e.size,n=e.variant,o=e.showAmpBadge,a=e.toolTip,c=e.t,u=a||c("flipboard");return o?[f(t,r,n,u,c),(0,s.jsx)(i.Z,{size:20},"amp")]:f(t,r,n,u,c)}
1p.propTypes={className:o().string,size:o().number,variant:o().string,showAmpBadge:o().bool,toolTip:o().string,t:o().func.isRequired},p.defaultProps={size:60,variant:"red",showAmpBadge:!1},t.Z=(0,u.Z)(p)},15919:function(e,t,r){"use strict";r(2784);var n=r(47897),o=r.n(n),i=r(72779),a=r.n(i),c=r(30001),u=r(70042),s=r(52322);function l(e){var t=e.children,r=e.overlayModifier,n=e.appTheme,o=e.onMouseDown,i=a()({"modal-overlay":!0,"modal-overlay--light":r===u.n6.LIGHT,"modal-overlay--dark-theme":n===c.SJ.DARK,"modal-overlay--dark-theme--light":n===c.SJ.DARK&&r===u.n6.LIGHT});return(0,s.jsx)("div",{"data-name":"modal-overlay",className:i,onMouseDown:o,children:t})}l.propTypes={children:o().node.isRequired,onMouseDown:o().func.isRequired,overlayModifier:o().string,appTheme:o().string.isRequired},l.defaultProps={overlayModifier:null},t.Z=l},70042:function(e,t,r){"use strict";r.d(t,{J9:function(){return I},nY:function(){return P},q5:function(){return C},n6:function(){return w}});r(96928),r(61229),r(34115),r(634),r(58188),r(20796),r(15735),r(28673),r(6886);var n=r(12167),o=(r(26936),r(39529),r(31235),r(67890),r(2784)),i=r(47897),a=r.n(i),c=r(72779),u=r.n(c),s=r(66263),l=r(30001),f=r(44158),p=r(7799),d=r(89939),m=r(14876),v=r(15919),h=r(49372),_=r(52322);function y(e){return y="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},y(e)}function b(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function E(e,t){return E=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},E(e,t)}function g(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 r,n=A(e);if(t){var o=A(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return O(this,r)}}function O(e,t){return!t||"object"!==y(t)&&"function"!=typeof t?S(e):t}function S(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function A(e){return A=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},A(e)}var T=(0,n.Z)("section",{target:"e6yh1t20"})({boxShadow:"0px 0px 16px rgba(0, 0, 0, 0.6)",borderRadius:h.N.MEDIUM,userSelect:"text"},""),R=function(e){!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(e,t)}(a,e);var t,r,n,i=g(a);function a(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),(t=i.call(this,e)).state={currentScrollPosition:(0,d.d)()},t.handleKeyUpEvent=t.handleKeyUpEvent.bind(S(t)),t.handleMouseDown=t.handleMouseDown.bind(S(t)),t.handleDismissModal=t.handleDismissModal.bind(S(t)),t.keyUpListener={handleEvent:t.handleKeyUpEvent},t.modalRef=o.createRef(),t}return t=a,(r=[{key:"componentDidMount",value:function(){(0,p.Z)().document.body.classList.add("prevent-overflow"),(0,p.Z)().document.addEventListener("keyup",this.keyUpListener),s.Z.trackViewModal(this.props.name),this.modalRef&&this.modalRef.current.focus()}},{key:"componentWillUnmount",value:function(){(0,p.Z)().document.body.classList.remove("prevent-overflow");var e=this.state.currentScrollPosition;(0,m.Z)(0,e),(0,p.Z)().document.removeEventListener("keyup",this.keyUpListener)}},{key:"handleKeyUpEvent",value:function(e){this.props.disableDismiss||e.keyCode===f.t.ESCAPE&&this.handleDismissModal()}},{key:"handleMouseDown",value:function(e){"modal-overlay"!==e.target.getAttribute("data-name")||this.props.disableDismiss?e.stopPropagation():this.handleDismissModal()}},{key:"contentDistanceToWindowTop",value:function(){var e=(0,p.Z)().document.getElementById("content").getBoundingClientRect().y;return e>0?e:0}},{key:"handleDismissModal",value:function(){var e=this.props,t=e.interceptDismiss,r=e.dismissModal,n=e.onDismiss;if(t)return t();n&&n(),r()}},{key:"render",value:function(){var e=this.props,t=e.position,r=e.modalTheme,n=e.modifier,o=e.overlayModifier,i=e.size,a=e.appTheme,c=e.isLargeScreen,s=e.className,f=t&&{left:t.left-8,width:"auto"}||{};c||[I.BOTTOM_SHEET,I.FULLSCREEN].includes(r)||(f.top=this.contentDistanceToWindowTop());var p=u()(s,{modal:!0,"modal--fullscreen":r===I.FULLSCREEN,"modal--has-fixed-header":n===P.HAS_FIXED_HEADER,"modal--has-nav-and-fixed-header-and-controls":n===P.HAS_
1NAV_AND_FIXED_HEADER_AND_CONTROLS,"modal--has-fixed-header-and-controls":n===P.HAS_FIXED_HEADER_AND_CONTROLS,"modal--has-no-header":n===P.HAS_NO_HEADER,"modal--dropdown":r===I.DROPDOWN,"modal--window":r===I.WINDOW,"modal--window--auto":r===I.WINDOW&&i===C.AUTO,"modal--window--medium":r===I.WINDOW&&i===C.MEDIUM,"modal--window--large":r===I.WINDOW&&i===C.LARGE,"modal--bottom-sheet":r===I.BOTTOM_SHEET,"theme--dark":a===l.SJ.DARK});return(0,_.jsx)(v.Z,{onMouseDown:this.handleMouseDown,overlayModifier:o,appTheme:a,children:(0,_.jsxs)(T,{tabIndex:0,ref:this.modalRef,className:p,onClick:function(e){return e.stopPropagation()},style:f,"aria-modal":!0,"aria-labelledby":"test-label",children:[(0,_.jsx)("div",{className:"modal__label",id:"test-label",children:this.props.name}),this.props.children]})})}}])&&b(t.prototype,r),n&&b(t,n),a}(o.Component),I={FULLSCREEN:"fullscreen",DROPDOWN:"dropdown",WINDOW:"window",BOTTOM_SHEET:"bottomsheet"},P={HAS_FIXED_HEADER:"has-fixed-header",HAS_NAV_AND_FIXED_HEADER_AND_CONTROLS:"has-nav-and-fixed-header-and-controls",HAS_FIXED_HEADER_AND_CONTROLS:"has-fixed-header-and-controls",HAS_NO_HEADER:"has-no-header"},C={AUTO:"auto",SMALL:"small",MEDIUM:"medium",LARGE:"large"},w={LIGHT:"light",NORMAL:"normal"};R.propTypes={name:a().string.isRequired,size:a().oneOf(Object.values(C)),modalTheme:a().oneOf(Object.values(I)),modifier:a().oneOf(Object.values(P)),overlayModifier:a().oneOf(Object.values(w)),appTheme:a().oneOf(Object.values(l.SJ)),children:a().node,position:a().object,dismissModal:a().func.isRequired,onDismiss:a().func,interceptDismiss:a().func,googleAdVisibility:a().number,isLargeScreen:a().bool,disableDismiss:a().bool,history:a().object.isRequired,className:a().string},R.defaultProps={modalTheme:I.WINDOW,size:C.SMALL,overlayModifier:w.NORMAL,children:[],position:null,googleAdVisibility:0,disableDismiss:!1,interceptDismiss:null,className:"",appTheme:l.SJ.DEFAULT,isLargeScreen:!0,onDismiss:void 0},t.ZP=R},9276:function(e,t,r){"use strict";r(91891),r(77950),r(74069),r(18178),r(85940),r(43105),r(34769),r(34115),r(95342),r(68625),r(1939),r(62775),r(58188),r(73439);var n=r(2784),o=r(47897),i=r.n(o),a=r(17698),c=r(74254),u=r(75007),s=r(66263),l=r(99445),f=r(11826),p=r(7799),d=r(21112),m=r(10554),v=r(30298),h=r(52322);function _(e,t,r,n,o,i,a){try{var c=e[i](a),u=c.value}catch(e){return void r(e)}c.done?t(u):Promise.resolve(u).then(n,o)}function y(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function b(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?y(Object(r),!0).forEach((function(t){E(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):y(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function E(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function g(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var O=n.forwardRef((function(e,t){var r=e.history,n=e.activeClassName,o=e.activeStyle,i=e.openInNewWindow,a=e.buttonName,y=e.hash,E=(e.staticContext,e.navFromEventName,e.match,e.location),O=e.noSameUrlLinks,S=e.isAmp,A=e.gaTarget,T=e.disableAnchorLink,R=e.stopPropagation,I=g(e,["history","activeClassName","activeStyle","openInNewWindow","buttonName","hash","staticContext","navFromEventName","match","location","noSameUrlLinks","isAmp","gaTarget","disableAnchorLink","stopPropagation"]),P=(0,l.sD)(I.href),C=void 0!==i?i:(0,f.xf)(I.href),w=s.Z.linkType(P,C);I.className=I.className?"".concat(I.className," ").concat(w):w,I["data-vars-anchor-link"]=I.href,a&&(I["data-vars-button-name"]=a,I["data-ga-target"]="button");var j=I.href;if(O&&j.replace(u.Z.FLIPBOARD_URL,"")===E.pathname){var N=m.ZP.pick(I,["className","children"]);return(0,h.jsx)("span",b({},N))}
1return(0,h.jsx)(v.nN.Consumer,{children:function(e){var i=function(){var t,n=(t=regeneratorRuntime.mark((function t(n){var o;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(T&&n.preventDefault(),R&&n.stopPropagation(),P&&!C&&(0,d.nD)(r,j),s.Z.trackClickLink(w,j,A,e),!I.onClick){t.next=10;break}return(o=P&&!C)&&n.preventDefault(),t.next=9,I.onClick(n);case 9:o&&((0,p.Z)().location=j);case 10:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(e){_(i,n,o,a,c,"next",e)}function c(e){_(i,n,o,a,c,"throw",e)}a(void 0)}))});return function(e){return n.apply(this,arguments)}}();if(C&&!S){Object.assign(I,{target:"_blank",rel:"noopener nofollow"})}if(C||P)return(0,h.jsx)("a",b({},I,{onClick:i,role:"link"}));var a=(0,l.K5)(I.href);y&&(a.hash=y);var u={},f=(0,p.Z)().location,m=f&&f.href;m&&(u.previousUrl=m),a.state=u;var v,E=Object.assign({},I,{to:a,smooth:!0});return n&&(E.activeClassName=n),o&&(E.style=o),E.activeClassName||E.activeStyle?(v=c.LM,E.exact=!0):v=c.fO,(0,h.jsx)(v,b({},E,{innerRef:t,onClick:i,role:"link"}))}})}));O.defaultProps={href:null,name:null,buttonName:null,className:"",activeClassName:void 0,onClick:null,noSameUrlLinks:!1,isAmp:!1,gaTarget:null,stopPropagation:!1},O.propTypes={href:i().string,name:i().string,buttonName:i().string,className:i().string,activeClassName:i().string,activeStyle:i().object,hash:i().string,onClick:i().func,openInNewWindow:i().bool,history:i().object.isRequired,staticContext:i().object,navFromEventName:i().string,match:i().object,location:i().object,noSameUrlLinks:i().bool,isAmp:i().bool,gaTarget:i().string,disableAnchorLink:i().bool,stopPropagation:i().bool},t.Z=(0,a.EN)(O)},87411:function(e,t,r){"use strict";r.d(t,{A0:function(){return T},fp:function(){return R}});r(43105),r(9538),r(39529),r(31235),r(96928),r(67890),r(61229),r(34115),r(634),r(58188),r(20796),r(15735),r(28673),r(6886);var n=r(2784),o=r(47897),i=r.n(o),a=r(17060),c=r(72779),u=r.n(c),s=r(57493),l=r(7799),f=r(57819),p=r(89939),d=r(36188),m=r(93440),v=r(52322);function h(e){return h="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},h(e)}function _(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function y(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function b(e,t){return b=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},b(e,t)}function E(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 r,n=S(e);if(t){var o=S(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return g(this,r)}}function g(e,t){return!t||"object"!==h(t)&&"function"!=typeof t?O(e):t}function O(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function S(e){return S=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},S(e)}var A=function(e){!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&&b(e,t)}(a,e);var t,r,o,i=E(a);function a(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),(t=i.call(this,e)).state={positionXOverride:null,positionYOverride:null,isLessLikeAccordionOpen:!1},t.handleViewportChange=t.handleViewportChange.bind(O(t)),t.resizer=new f.Z(t.handleViewportChange),t.scroller=new p.Z(t.handleViewportChange),t.handleClickOutside=t.handleClickOutside.bind(O(t)),t.getPositionStyles=t.getPositionStyles.bind(O(t)),t.reposition=t.reposition.bind(O(t)),t.dialogRef=n.createRef(),t.didReposition=!1,t}return t=a,r=[{key:"componentDidMount",value:function(){this.reposition(),this.scroller.subscribe(),this.resizer.subscribe(),(0,l.Z)().addEventListener("mousedown",this.handleClickOutside,!0)}},{key:"componentDidUpdate",value:function(e,t){this.didReposition||(this.didReposition=!0,this.reposition()),this.state.isLessLikeAccordionOpen!==t.isLessLikeAccordionOpen&&this.reposition()}},{key:"componentWillUnmount",value:function(){this.scroller.unsubscribe(),this.resizer.unsubscribe(),(0,l.Z)().removeEventListener("mousedown",this.handleClickOutside,!0)}},{key:"handleViewportChange",value:function(){this.reposition(),this.props.onResize()}},{key:"reposition",value:function(){if(this.dialogRef&&this.dialogRef.current){var e=this.getPositionOverrides(),t=this.getPositionStyles(e);e=Object.assign({},e,{positionStyles:t}),this.setState(e)}}},{key:"getPositionOverrides",value:function(){var e=this.props.parentRef,t={};if(this.props.styleVariation===a.styleVariations.FULL_WIDTH)return t;var r=(e||this.dialogRef).current.getBoundingClientRect(),n=this.state.positionXOverride||this.props.positionX,o=this.state.positionYOverride||this.props.positionY;return o===R.BELOW&&r.bottom>=((0,l.Z)().innerHeight||(0,l.Z)().document.documentElement.clientHeight)&&(t.positionYOverride=R.ABOVE),o===R.ABOVE&&r.top-r.height-24<=60&&(t.positionYOverride=R.BELOW),n===T.RIGHT&&r.right>=((0,l.Z)().innerWidth||(0,l.Z)().document.documentElement.clientWidth)&&(t.positionXOverride=T.LEFT),n===T.LEFT&&r.left<=0&&(t.positionXOverride=T.RIGHT),t}},{key:"getPositionStyles",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=this.props,r=t.targetRef,n=t.fixed,o=t.styleVariation,i=t.positionX,c=t.positionY,u=t.anchorEdge,s=this.state,f=s.positionXOverride,p=s.positionYOverride,d=e.positionXOverride?e.positionXOverride:f||i,m=e.positionYOverride?e.positionYOverride:p||c,v={};if(null!=r&&r.current&&o!==a.styleVariations.MENU_FULL_WIDTH){var h=r.current.getBoundingClientRect(),_=(0,l.Z)().document.documentElement.clientWidth,y=(0,l.Z)().document.documentElement.clientHeight,b=n?0:(0,l.Z)().scrollY,E=h.width/2,g=h.height/2,O=u?20:E,S=20;m===R.BELOW?v.top=h.bottom+b:m===R.CENTER?v.top=h.bottom-g+b:m===R.ABOVE&&(v.bottom=y-h.top-b),o!==a.styleVariations.FULL_WIDTH&&(d===T.LEFT?v.right=_-h.right+O-S:d===T.RIGHT&&(v.left=h.left+O-S))}else if(o===a.styleVariations.MENU_FULL_WIDTH){var A=r.current.parentElement,I=r.current.closest("article"),P=null==A?void 0:A.getBoundingClientRect(),C=null==I?void 0:I.getBoundingClientRect(),w=n?0:(0,l.Z)().scrollY;v.left=(C?C.left:P.left)+24,v.top=P.bottom+w,v.width="".concat((C?C.width:P.width)-32,"px"),e.positionYOverride=R.BELOW}return v}},{key:"getZIndex",value:function(e){var t=(0,l.Z)().getComputedStyle(e).getPropertyValue("z-index");return isNaN(t)&&1===e.parentNode.nodeType?this.getZIndex(e.parentNode):t}},{key:"handleClickOutside",value:function(e){var t=e.target,r=this.getZIndex(t),n=this.getZIndex(this.dialogRef.current);this.dialogRef&&!this.dialogRef.current.contains(t)&&(isNaN(r)||r<=n)&&this.props.onClickOutside()}},{key:"render",value:function(){var e,t=this,r=this.props,n=r.className,o=r.id,i=r.fixed,c=r.styleVariation,l=r.styleModifiers,f=r.positionX,p=r.positionY,h=r.children,y=r.showCloseButton,b=r.onDismiss,E=r.onClick,g=this.state.positionXOverride||f,O=this.state.positionYOverride||p,S=u()((_(e={"anchored-dialog":!0,"anchored-dialog--fixed":i,"anchored-dialog--tooltip":c===a.styleVariations.TOOLTIP,"anchored-dialog--menu":c===a.styleVariations.MENU,"anchored-dialog--menu-full-width":c===a.styleVariations.MENU_FULL_WIDTH,"anchored-dialog--full-width":c===a.styleVariations.FULL_WIDTH,"anchored-dialog--error":c===a.styleVariations.ERROR,"anchored-dialog--edu":c===a.styleVariations.EDU},n,!0),_(e,"anchored-dialog--align-left",g===T.LEFT),_(e,"anchored-dialog--align-right",g===T.RIGHT),_(e,"anchored-dialog--align-above",O===R.ABOVE),_(e,"anchored-dialog--align-center",O===R.CENTER),_(e,"anchored-dialog--align-below",O===R.BELOW),_(e,"anchored-dialog--wide",l.includes(a.styleModifiers.WIDE)),e));return(0,v.jsx)(s.Z,{children:(0,v.jsxs)("div",{style:this.state.positionStyles,ref:this.dialogRef,className:S,id:o&&o,onClick:function(e){e.stopPropagation(),t.setState({isLessLikeAccordionOpen:!t.state.isLessLikeAccordionOpen}),E&&E()},children:[y&&(0,v.jsx)("div",{className:"anchored-dialog__close",children:(0,v.jsx)(d.Z,{onClick:b,name:"anchored-dialog-close",children:(0,v.jsx)(m.Z,{size:16})})}),h]})})}}],r&&y(t.prototype,r),o&&y(t,o),a}(n.Component),T={RIGHT:"right",LEFT:"left"},R={ABOVE:"above",CENTER:"center",BELOW:"below"};A.styleVariations={TOOLTIP:"hint",MENU:"menu",MENU_FULL_WIDTH:"menuFullWidth",FULL_WIDTH:"fullWidth",ERROR:"error",EDU:"edu",NONE:"none"},A.styleModifiers={NONE:"none",WIDE:"wide"}
1,A.propTypes={className:i().string,id:i().string,targetRef:i().object.isRequired,parentRef:i().object,fixed:i().bool,styleVariation:i().oneOf(Object.values(A.styleVariations)),styleModifiers:i().arrayOf(a.Z.memberOf(A.styleModifiers)),positionX:i().oneOf(Object.values(T)),positionY:i().oneOf(Object.values(R)),anchorEdge:i().bool,onResize:i().func,onClickOutside:i().func,children:i().node.isRequired,showCloseButton:i().bool,onDismiss:i().func,onClick:i().func},A.defaultProps={className:"",fixed:!1,styleVariation:A.styleVariations.NONE,styleModifiers:[A.styleModifiers.NONE],positionX:T.RIGHT,positionY:R.BELOW,anchorEdge:!1,onResize:function(){},onClickOutside:function(){},showCloseButton:!1,onDismiss:function(){}},t.ZP=A},48054:function(e,t,r){"use strict";r(43105),r(96928),r(61229),r(34769),r(34115),r(95342),r(68625),r(1939),r(62775),r(634),r(58188),r(20796),r(15735),r(28673),r(6886);var n=r(2784),o=r(47897),i=r.n(o),a=r(87411),c=r(15155),u=r(52322);function s(e){return s="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},s(e)}function l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function f(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function p(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function d(e,t){return d=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},d(e,t)}function m(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 r,n=_(e);if(t){var o=_(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return v(this,r)}}function v(e,t){return!t||"object"!==s(t)&&"function"!=typeof t?h(e):t}function h(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _(e){return _=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},_(e)}var y=["children","className","fluencyName"],b=function(e){!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&&d(e,t)}(i,e);var t,r,n,o=m(i);function i(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),(t=o.call(this,e)).handleClickOutside=t.handleClickOutside.bind(h(t)),t}return t=i,r=[{key:"componentDidMount",value:function(){this.props.onMount&&this.props.onMount()}},{key:"handleClickOutside",value:function(){this.props.onDismiss()}},{key:"render",value:function(){var e=Object.assign({},this.props);return y.forEach((function(t){return delete e[t]})),(0,u.jsx)(a.ZP,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?l(Object(r),!0).forEach((function(t){f(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):l(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({className:this.props.className,styleVariation:a.ZP.styleVariations.EDU},e,{children:this.props.children}))}}],r&&p(t.prototype,r),n&&p(t,n),i}(n.Component);b.propTypes={className:i().string,onDismiss:i().func.isRequired,onMount:i().func.isRequired,children:i().node.isRequired},b.defaultProps={className:"",fluencyName:null},t.Z=(0,c.Z)(b)},59015:function(e,t,r){"use strict";r(96928),r(61229),r(34115),r(634),r(58188),r(20796),r(15735),r(28673),r(6886);var n=r(2784),o=r(47897),i=r.n(o),a=r(7799);function c(e){return c="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},c(e)}function u(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}
1function s(e,t){return s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},s(e,t)}function l(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 r,n=d(e);if(t){var o=d(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return f(this,r)}}function f(e,t){return!t||"object"!==c(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}function d(e){return d=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},d(e)}var m=function(e){!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&&s(e,t)}(i,e);var t,r,n,o=l(i);function i(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),(t=o.call(this,e)).retryCount=0,t.maxRetries=240,t.intervalDuration=500,t.performCheck=t.performCheck.bind(p(t)),t}return t=i,(r=[{key:"componentDidMount",value:function(){this.checkInterval=(0,a.Z)().setInterval(this.performCheck,this.intervalDuration),this.performCheck()}},{key:"componentWillUnmount",value:function(){(0,a.Z)().clearInterval(this.checkInterval)}},{key:"performCheck",value:function(){if(this.retryCount>this.maxRetries)return(0,a.Z)().clearInterval(this.checkInterval);this.props.predicate()?((0,a.Z)().clearInterval(this.checkInterval),this.props.onWaitComplete()):this.retryCount++}},{key:"render",value:function(){return null}}])&&u(t.prototype,r),n&&u(t,n),i}(n.Component);m.propTypes={predicate:i().func.isRequired,onWaitComplete:i().func.isRequired},t.Z=m},51440:function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,{K3:function(){return createClientT}});var core_js_modules_es_array_includes_js__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(39529),core_js_modules_es_array_includes_js__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(core_js_modules_es_array_includes_js__WEBPACK_IMPORTED_MODULE_0__),core_js_modules_es_array_concat_js__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(18178),core_js_modules_es_array_concat_js__WEBPACK_IMPORTED_MODULE_1___default=__webpack_require__.n(core_js_modules_es_array_concat_js__WEBPACK_IMPORTED_MODULE_1__),core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(31235),core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_2___default=__webpack_require__.n(core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_2__),core_js_modules_es_array_map_js__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(43450),core_js_modules_es_array_map_js__WEBPACK_IMPORTED_MODULE_3___default=__webpack_require__.n(core_js_modules_es_array_map_js__WEBPACK_IMPORTED_MODULE_3__),core_js_modules_es_object_keys_js__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(34769),core_js_modules_es_object_keys_js__WEBPACK_IMPORTED_MODULE_4___default=__webpack_require__.n(core_js_modules_es_object_keys_js__WEBPACK_IMPORTED_MODULE_4__),core_js_modules_es_array_join_js__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(16781),core_js_modules_es_array_join_js__WEBPACK_IMPORTED_MODULE_5___default=__webpack_require__.n(core_js_modules_es_array_join_js__WEBPACK_IMPORTED_MODULE_5__),i18next__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(24444),i18next_browser_languagedetector__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__(59397),i18next_browser_languagedetector__WEBPACK_IMPORTED_MODULE_7___default=__webpack_require__.n(i18next_browser_languagedetector__WEBPACK_IMPORTED_MODULE_7__),accept_language_parser__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__(55464),_home_node_app_apps_webapp_src_utils_global_vars__WEBPACK_IMPORTED_MODULE_9__=__webpack_require__(8260),_home_node_app_apps_webapp_src_utils_get_window__WEBPACK_IMPORTED_MODULE_10__=__webpack_require__(7799),availableLocales=["ar","de","en","es","fr","it","ja","ko","nl","pt-BR","ru","tr"],COOKIE_NAME="i18n_preference",namespaces=["webapp","auth","common"],Translations={type:"backend",read:function read(language,namespace,callback){if(_home_node_app_apps_webapp_src_utils_global_vars__WEBPACK_IMPORTED_MODULE_9__.Z.isServer()){if(availableLocales.includes(language))try{var localeRequire="require('./locales/".concat(language,".json')"),_locale=eval(localeRequire);if(_locale[namespace])return callback(null,_locale[namespace])}catch(e){return callback(e)}return callback(new Error("Not an available locale: ".concat(language)))}var _getWindow=(0,_home_node_app_apps_webapp_src_utils_get_window__WEBPACK_IMPORTED_MODULE_10__.Z)(),I18N_STRINGS=_getWindow.I18N_STRINGS,locale=I18N_STRINGS&&I18N_STRINGS[language];if(locale){var languageNamespace=locale[namespace];if(!languageNamespace)return callback(new Error("Missing language/namespace: ".concat(language," ").concat(namespace)));callback(null,languageNamespace)}return callback(new Error("Missing language namespaces: ".concat(language)))}},createClientT=function(){var e=i18next__WEBPACK_IMPORTED_MODULE_6__.Z.createInstance();return e.use(new(i18next_browser_languagedetector__WEBPACK_IMPORTED_MODULE_7___default())(null,{lookupCookie:COOKIE_NAME,order:["co
1okie","navigator"]})).use(Translations).init({initImmediate:!1,fallbackLng:{default:["en"]},ns:namespaces,defaultNS:namespaces,debug:!1,interpolation:{escapeValue:!1}}),e.t.bind(e)},expressMiddleware=function(e,t,r){var n=e.cookies[COOKIE_NAME];if(!n){var o=accept_language_parser__WEBPACK_IMPORTED_MODULE_8__.parse(e.headers["accept-language"]);if(o.length>0){var i=o[0],a=i.code,c=i.region;n=c?"".concat(a,"-").concat(c):a}}n||(n="en-US");var u=i18next__WEBPACK_IMPORTED_MODULE_6__.Z.createInstance();u.use(Translations).init({lng:n,fallbackLng:{default:["en"]},ns:namespaces,defaultNS:namespaces,debug:!_home_node_app_apps_webapp_src_utils_global_vars__WEBPACK_IMPORTED_MODULE_9__.Z.isServer()&&!1,interpolation:{escapeValue:!1}},(function(){e.i18n=u,e.i18nT=u.t.bind(u),r()}))},i18nStrings=function(e){return e.languages.reduce((function(t,r){return t[r]={},namespaces.forEach((function(n){t[r][n]=e.getResourceBundle(r,n)})),t}),{})},createMockT=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return function(e,r){if(!(t&&t.includes(e)))throw new Error("mockT called with unknown key: ".concat(e,", options: ").concat(JSON.stringify(r)));if(void 0!==r){var n=Object.keys(r).map((function(e){return"(".concat(e,":").concat(r[e],")")}));return"t:".concat(e," - ").concat(n.join("|"))}return"t:".concat(e)}},guardedT=function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,o=e(t,r);return o===t?n:o}},17394:function(e,t,r){"use strict";r.d(t,{j:function(){return i}});r(22144);var n=r(52750),o={smallPhone:function(e){return{"@media  (max-width: 374px)":e}},phone:function(e){return{"@media (max-width: 599px)":(0,n.hy)(e)}},tabletPortraitUp:function(e){return{"@media (min-width: 600px)":e}},tabletPortraitOnly:function(e){return{"@media (min-width: 600px) and (max-width: 899px)":e}},tabletPortraitDown:function(e){return{"@media (max-width: 899px)":e}},tabletLandscapeUp:function(e){return{"@media (min-width: 900px)":e}},tabletLandscapeOnly:function(e){return{"@media (min-width: 900px) and (max-width: 1199px)":e}},tablet:function(e){return{"@media (min-width: 600px) and (max-width: 1199px)":e}},tabletLandscapeDown:function(e){return{"@media (max-width: 1199px)":e}},desktopUp:function(e){return{"@media (min-width: 1200px)":e}},desktopLandscapeUp:function(e){return{"@media (min-width: 1800px)":e}},thumbnailWidget:function(e){return{"@media (max-width: 499px) and (max-height: 499px)":e}}},i=Object.freeze(o)},90856:function(e,t,r){"use strict";r.d(t,{DM:function(){return a},N$:function(){return c},bo:function(){return u},cP:function(){return s},EU:function(){return l},M1:function(){return f},MN:function(){return p}});r(22144),r(34769),r(34115),r(95342),r(68625),r(1939),r(62775);function n(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function o(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?n(Object(r),!0).forEach((function(t){i(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):n(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function i(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var a=Object.freeze({red:"#f52828",facebook:"#4267b2",twitter:"#1da1f2",staticWhite:"#fff",staticBlack:"#000",fadeEffect:"var(--color-fade-effect)",themeReverse:"var(--color--theme-reverse)",createMagTile:"var(--color--create-mag-tile)"}),c=Object.freeze({error:"var(--color--alert-error)",warning:"var(--color--alert-warning)",success:"var(--color--alert-success)"}),u=Object.freeze({primary:"var(--color--text-primary)",secondary:"var(--color--text-secondary)",secondaryDark:"var(--color--text-secondary-dark)",tertiary:"var(--color--text-tertiary)",dim:"var(--color--text-dim)",primaryReverse:"var(--color--text-primary-reverse)",secondaryReverse:"var(--color--text-secondary-reverse)",overlay:"var(--color--text-overlay)",overlaySecondary:"var(--color--text-overlay-secondary)",redLink:"var(--color--text-red-link)",redLinkHover:"var(--color--text-red-link-hover)"}),s=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=e?u.overlay:u.primary,n=t?{"&:focus":{color:r,"> *":{color:r}}}:{},i={"&:hover":{color:r,"> *":{color:r}}};return o({color:r},n,{},i,{a:o({},n,{},i)})},l=Object.freeze({primary:"var(--color--surface-primary)",secondary:"var(--color--surface-secondary)",secondary
1Darken:"var(--color--surface-secondary-darken)",tertiary:"var(--color--surface-tertiary)",tertiaryDarken:"var(--color--surface-tertiary-darken)",primaryReverse:"var(--color--surface-primary-reverse)",primaryAlwaysDark:"var(--color--surface-primary-always-dark)",primaryReverseWithEmphasis:"var(--color--surface-primary-reverse-with-emphasis)",newStoryboardDefaultCover:"var(--color--surface-new-storyboard-default-cover)",quaternary:"var( --color--surface-quaternary)",defaultStoryboardCard:"var(--color--ngl-card)",defaultStandalonePostPrimary:"var(--color--surface-standalone-post-primary)",defaultStandalonePostSecondary:"var(--color--surface-standalone-post-secondary)",standalonePostCommentPreviewBubble:"var(--color--surface-standalone-post-comment-preview-bubble-base)",flipImageCommentPreviewBubble:"var(--color--surface-flip-image-comment-preview-bubble-base)"}),f=Object.freeze({primary:"var(--color--divider-primary)",secondary:"var(--color--divider-secondary)",tertiary:"var(--color--divider-tertiary)",newStoryboard:"var(--color--divider-new-storyboard)",emphasis:"var(--color--divider-emphasis)"}),p=Object.freeze({base:"var(--color--icon)",reverse:"var(--color--icon-reverse)",emphasis:"var(--color--icon-emphasis)",emphasisDark:"var(--color--icon-emphasis-dark)",emphasisBackground:"var(--color--icon-emphasis-background)",overlay:"var(--color--icon-overlay)",caret:"var(--color--icon-caret)"})},99882:function(e,t,r){"use strict";r.d(t,{vw:function(){return o},Le:function(){return i},H9:function(){return a}});var n=r(52750),o=(0,n.hy)({boxShadow:"inset -1px 2px 1px rgba(var(--color--static-black), 0.2)"}),i=(0,n.hy)({overflowWrap:"break-word",wordWrap:"break-word"}),a=(0,n.hy)({opacity:"0.3",cursor:"not-allowed",pointerEvents:"none"})},32707:function(e,t,r){"use strict";r.d(t,{L6:function(){return c},tm:function(){return s},k0:function(){return l},Ry:function(){return f},gZ:function(){return p}});r(22144),r(18178),r(34769),r(34115),r(95342),r(68625),r(1939),r(62775);var n=r(49372);function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function i(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?o(Object(r),!0).forEach((function(t){a(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):o(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var c=Object.freeze({MAIN_NAV_HEIGHT:"60px",MAIN_COLUMN_WIDTH:"1296px",MAIN_COLUMN_HALF_WIDTH:"560px",NARROW_COLUMN_WIDTH:"960px",LAPTOP_WIDTH:"1440px",MAGAZINE_HEADER_HEIGHT:"450px",MAGAZINE_HEADER_HEIGHT_PHONE:"495px",FLIP_MODE_HEIGHT:"104px",MAIN_NAV_PLUS_FLIP_MODE_HEIGHT:"164px",FLIP_COMPOSE_MAX_HEIGHT:"550px",FLIP_COMPOSE_IMAGE_MIN_HEIGHT:"240px",FLIP_COMPOSE_IMAGE_MAX_HEIGHT:"327px",MAGAZINE_TOOL_BANNER_HEIGHT:"128px",MAGAZINE_TOOL_BANNER_HEIGHT_PHONE:"72px",MAGAZINE_TOOL_BANNER_WIDTH:"324px",MAGAZINE_TOOL_BANNER_WIDTH_PHONE:"210px",POST_DETAIL_MIN_HEIGHT:"450px"}),u={maxWidth:c.MAIN_COLUMN_WIDTH,margin:"0 auto","@media (max-width: 1328px)":{paddingLeft:n.N.LARGE,paddingRight:n.N.LARGE}},s={CENTERED_COLUMN:u,CENTERED_COLUMN_NARROW:i({},u,{maxWidth:c.NARROW_COLUMN_WIDTH}),CENTERED_COLUMN_LARGE:i({},u,{maxWidth:c.LAPTOP_WIDTH}),CENTERED_COLUMN_HALF:i({},u,{maxWidth:c.MAIN_COLUMN_HALF_WIDTH})},l={DEVELOPMENT_FEATURE_FLAG:3500,PERSISTENT_NOTIFICATION:3400,LOADER:3100,TOAST:3e3,MODAL_TOOLTIP:3e3,MODAL:2950,TOOLTIP_FIXED:2900,GALLERY:2850,MAIN_NAV:2900,STICKY_BANNER:2750,ABOVE_STICKY_BANNER:2775,STICKY_FOOTER:2800,TOOLTIP:2775,DROPDOWN:2700,ACTION_SHEET:2800,OFFCLICK:2500,BASE:1},f={BASE:{position:"relative",paddingBottom:n.N.BASE4X},HEADER:i({},f,{margin:"0 0 ".concat(n.N.MEDIUM),display:"inline-flex",alignItems:"center"}),SUB_HEADER:i({},f,{margin:"".concat(n.N.BASE," 0 ").concat(n.N.MEDIUM),display:"block"})},p={mobileHeight:"257px",tabletHeight:"270px",tabletLandscapeHeight:"366px",desktopHeight:"277px"}},46894:function(e,t,r){"use strict";r.d(t,{z:function(){return o}});var n=r(49372),o={content:{overflowY:"auto",WebkitOverflowScrolling:"touch",padding:n.N.LARGE},title:{marginBottom:n.N.MEDIUM}}},49372:function(e,t,r){"use strict";r.d(t,{N:function(){return o}});r(22144);var n=function(e){return"".concat(e,"px")},o=Object.freeze({XSMALL:n(2),SMALL:n(4),BASE:n(8),MEDIUM:n(12),LARGE:n(16),XLARGE:n(24),BASE4X:n(32),BASE6X:n(48),BASE8X:n(64),BASE10X:n(80),BASE12X:n(96)})},4361:function(e,t,r){"use strict";r.d(t,{J:function(){return n},t:function(){return o}});r(39529),r(31235);var n=function(e){var t=parseFloat(e);return isNaN(t)?0:t},o=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return{shouldForwardProp:function(e){return!t.includes(e)}}}},4609:function(e,t,r){"use strict";r.d(t,{$:function(){return o}});var n=r(52750),o=function(e,t){return(0,n.hy)({width:e,display:"-webkit-box",WebkitBoxOrient:"vertical",WebkitLineClamp:t,overflow:"hidden",overflowWrap:"break-word"})}},52750:function(e,t,r){"use strict";r.d(t,{hy:function(){return n},PZ:function(){return o},js:function(){return i}});var n=function(e){return e},o=function(e){return e},i=function(e,t){return function(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}({},e,t)}},5109:function(e,t,r){"use strict";r.d(t,{g5:function(){return p},Xw:function(){return d},Xz:function(){return m},Hb:function(){return y},k7:function(){return E},$C:function(){return S},TK:function(){return I},uv:function(){return C},Y:function(){return D},Zj:function(){return M},nQ:function(){return U},lO:function(){return k},Up:function(){return F},hF:function(){return G},LT:function(){return B},Y0:function(){return z},Ev:function(){return V}});r(22144),r(34769),r(34115),r(95342),r(68625),r(1939),r(62775);var n=r(90856),o=r(99882),i=r(52750);function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
1t%2?a(Object(r),!0).forEach((function(t){u(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):a(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function u(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var s="'Tiempos', Georgia, serif",l="'Fakt', AvenirNext-Medium, 'Segoe UI', sans-serif",f="'FaktCondensed', AvenirNextCondensed-Medium,'Segoe UI', sans-serif",p=Object.freeze({FONT_TIEMPOS:s,FONT_FAKT_FLIPBOARD:l,FONT_FAKT_FLIPBOARD_CONDENSED:f}),d=Object.freeze({NORMAL:400,MEDIUM:500,SEMIBOLD:600,BOLD:700,BLACK:800}),m=Object.freeze((0,i.hy)({fontFamily:l,fontWeight:d.NORMAL,color:n.bo.primary,fontSize:"16px",lineHeight:"24px",letterSpacing:"-0.1px"})),v=(0,i.hy)({fontFamily:s,fontWeight:d.MEDIUM,fontSize:"30px",lineHeight:"36px",color:n.bo.primary}),h=(0,i.hy)({fontFamily:l,letterSpacing:"-0.1px",color:n.bo.secondary}),_=(0,i.hy)(c({},h,{fontWeight:d.MEDIUM,fontSize:"14px",lineHeight:"20px"})),y=Object.freeze({XSMALL_STANDARD:(0,i.hy)(c({},h,{fontWeight:d.MEDIUM,fontSize:"13px",lineHeight:"16px"})),SMALL_STANDARD:_,SMALL_EMPHASIS_1:(0,i.hy)(c({},_,{color:n.bo.primary})),SMALL_EMPHASIS_2:(0,i.hy)(c({},_,{color:n.bo.primary,fontWeight:d.BOLD})),XSMALL_EMPHASIS:(0,i.hy)(c({},_,{fontSize:"9px",lineHeight:"12px",color:n.bo.primary,fontWeight:d.BOLD})),LARGE_STANDARD:(0,i.hy)(c({},h,{fontWeight:d.NORMAL,fontSize:"16px",lineHeight:"24px"})),BRAND_HEADING_MEDIUM:v,HINT:(0,i.hy)(c({},h,{fontSize:"12px",lineHeight:"140%",fontWeight:d.MEDIUM,color:n.bo.tertiary})),MEDIUM:(0,i.hy)(c({},_,{fontSize:"18px",lineHeight:"28px"}))}),b=(0,i.hy)({fontFamily:l,fontWeight:d.SEMIBOLD,letterSpacing:"-0.1px",color:n.bo.primary}),E=Object.freeze({LARGE_STANDARD:(0,i.hy)(c({},b,{fontSize:"16px",lineHeight:"24px"})),SMALL:(0,i.hy)(c({},b,{fontSize:"12px",lineHeight:"16px"}))}),g=(0,i.hy)({fontFamily:f,fontWeight:d.BLACK,textTransform:"uppercase",color:"var(--color--text-primary)"}),O=(0,i.hy)(c({},g,{fontSize:"16px",lineHeight:"20px"})),S=Object.freeze({XLARGE:(0,i.hy)(c({},g,{fontSize:"28px",lineHeight:"32px"})),LARGE:(0,i.hy)(c({},g,{fontSize:"24px",lineHeight:"28px"})),MEDIUM:(0,i.hy)(c({},g,{fontSize:"22px",lineHeight:"24px"})),SMALL_STANDARD:O,SMALL_DIMMED:(0,i.hy)(c({},O,{color:"var(--color--text-secondary)"}))}),A=(0,i.hy)(c({},o.Le,{fontFamily:l})),T=(0,i.hy)(c({},A,{fontSize:"14px",lineHeight:"1.2",fontWeight:d.MEDIUM,textTransform:"none",color:"var(--color--text-secondary)"})),R=(0,i.hy)(c({},o.Le,{fontFamily:f,fontWeight:d.BLACK,fontSize:"22px",lineHeight:"24px",textTransform:"uppercase",color:n.bo.primary},(0,i.js)("a a:hover",{color:"inherit"}))),I={BODY:(0,i.hy)(c({},A,{fontWeight:d.MEDIUM,fontSize:"16px"},(0,i.js)("a",{color:"inherit"}))),BODY_2:(0,i.hy)(c({},A,{fontWeight:d.MEDIUM,fontSize:"14px"})),SUPPORTING:T,SUPPORTING_EMPHASIS:(0,i.hy)(c({},T,{fontWeight:d.SEMIBOLD})),SUPPORTING_DIM:(0,i.hy)(c({},T,{color:n.bo.dim})),SUPPORTING_LARGE:(0,i.hy)(c({},T,{fontSize:"16px",color:n.bo.tertiary})),SUPPORTING_ALT:(0,i.hy)(c({},T,{color:n.bo.tertiary})),TITLE:(0,i.hy)(R),TITLE_SMALL:(0,i.hy)(c({},R,{fontSize:"16px",lineHeight:"20px"})),TITLE_LARGE:(0,i.hy)(c({},R,{fontSize:"40px",lineHeight:"42px"})),PAGE_TITLE:(0,i.hy)(c({},R,{fontSize:"30px",lineHeight:"32px"})),ERROR:(0,i.hy)({fontFamily:l,fontWeight:d.MEDIUM,fontSize:"14px",color:n.N$.error})},P=(0,i.hy)(c({fontFamily:f,fontWeight:d.BLACK,textTransform:"uppercase",color:n.bo.primary},(0,i.js)("a",{color:"inherit"}))),C={LARGE:(0,i.hy)(c({},P,{fontSize:"30px",lineHeight:"32px"})),MEDIUM:(0,i.hy)(c({},P,{fontSize:"28px",lineHeight:"30px"})),SMALL:(0,i.hy)(c({},P,{fontSize:"24px",lineHeight:"28px"}))},w=(0,i.hy)(c({fontFamily:s,fontWeight:d.MEDIUM,color:"var(--color--text-primary)",letterSpacing:"-0.3px"},(0,i.js)("a",{color:"inherit"}))),j=(0,i.hy)(c({},w,{fontSize:"24px",lineHeight:"28px"})),N=(0,i.hy)(c({},w,{fontSize:"18px",lineHeight:"24px"})),L=(0,i.hy)(c({},w,{fontSize:"16px",lineHeight:"20px"})),D={LARGE:j,MEDIUM:N,SMALL:L,XSMALL:(0,i.hy)(c({},w,{fontSize:"14px",lineHeight:"20px"})),LARGE_OVERLAY:(0,i.hy)(c({},j,{fontWeight:d.SEMIBOLD,color:n.bo.overlay})),MEDIUM_OVERLAY:c({},N,{fontWeight:d.SEMIBOLD,color:n.bo.overlay}),SMALL_OVERLAY:(0,i.hy)(c({},L,{fontWeight:d.SEMIBOLD,color:n.bo.overlay}))},x={cursor:"pointer",textDecoration:"none",color:n.bo.secondary,transition:"all $animation--duration $animation--timing","&:hover, &:focus":{color:n.bo.primary},"&:active":{color:n.bo.secondary}},M={BASE:x,UNDERLINE:{textDecoration:"underline","&:hover, &:focus":{textDecoration:"none"},"&:active":{textDecoration:"underline"}},ALT:{color:n.bo.overlay,textDecoration:"underline","&:hover":{color:n.bo.secondaryReverse}}
1,LINK_EMPHASIS:c({},x,{color:n.DM.red,"&:hover, &:focus":{color:n.DM.red,filter:"brightness(0.9)"},"&:active":{color:n.DM.red,filter:"brightness(0.85)"}})},Z=c({},o.Le,{fontFamily:s,fontWeight:d.MEDIUM,color:n.bo.primary,a:{color:"inherit"}}),U={SMALL:c({},Z,{fontSize:"16px",lineHeight:"1.1"}),LARGE:c({},Z,{fontSize:"32px",lineHeight:"40px"})},k="560px",F={fontFamily:s,fontWeight:d.NORMAL,fontSize:"20px"},G=(0,i.hy)({textTransform:"none"}),B=(0,i.hy)({fontFamily:f,fontWeight:d.SEMIBOLD,fontSize:"14px",textTransform:"uppercase"}),z=(0,i.hy)({fontFamily:f,fontWeight:d.SEMIBOLD,fontSize:"14px",lineHeight:"16px",letterSpacing:"0.5px",textTransform:"uppercase"}),V=(0,i.hy)({fontFamily:"unset",fontSize:"unset",fontStyle:"unset",fontWeight:"unset",textTransform:"unset"})},24654:function(){}},__webpack_module_cache__={},deferred,inProgress,dataWebpackPrefix;function __webpack_require__(e){var t=__webpack_module_cache__[e];if(void 0!==t)return t.exports;var r=__webpack_module_cache__[e]={id:e,loaded:!1,exports:{}};return __webpack_modules__[e].call(r.exports,r,r.exports,__webpack_require__),r.loaded=!0,r.exports}__webpack_require__.m=__webpack_modules__,__webpack_require__.amdO={},deferred=[],__webpack_require__.O=function(e,t,r,n){if(!t){var o=1/0;for(u=0;u<deferred.length;u++){t=deferred[u][0],r=deferred[u][1],n=deferred[u][2];for(var i=!0,a=0;a<t.length;a++)(!1&n||o>=n)&&Object.keys(__webpack_require__.O).every((function(e){return __webpack_require__.O[e](t[a])}))?t.splice(a--,1):(i=!1,n<o&&(o=n));if(i){deferred.splice(u--,1);var c=r();void 0!==c&&(e=c)}}return e}n=n||0;for(var u=deferred.length;u>0&&deferred[u-1][2]>n;u--)deferred[u]=deferred[u-1];deferred[u]=[t,r,n]},__webpack_require__.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return __webpack_require__.d(t,{a:t}),t},__webpack_require__.d=function(e,t){for(var r in t)__webpack_require__.o(t,r)&&!__webpack_require__.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},__webpack_require__.f={},__webpack_require__.e=function(e){return Promise.all(Object.keys(__webpack_require__.f).reduce((function(t,r){return __webpack_require__.f[r](e,t),t}),[]))},__webpack_require__.u=function(e){return({244:"app-route-containers-settings",594:"app-route-containers-sitemap-index",611:"app-modals-complete-profile-collaborator",637:"app-components-campaign-tile",698:"app-components-do-not-sell-link",700:"app-components-smart-magazine-tile",844:"app-route-containers-newsletters",864:"app-containers-first-party-video",1076:"app-route-containers-widgets-section",1122:"app-modals-welcome",1206:"app-route-containers-curator-pro-magazine",1436:"app-modals-signup",1599:"app-views-section-magazine-magazine-contributor-banner",1610:"app-containers-section-default",1712:"app-route-containers-login",1781:"app-containers-section-magazine",1990:"app-containers-load-full-profile",2004:"app-containers-embed-tool-embed-tools",2421:"app-route-containers-newsletters-landing",2710:"app-route-containers-forgot-username",3266:"app-modals-request-login-link",3511:"app-route-containers-search",3545:"app-components-banners-magazine-invite-banner",3650:"app-route-containers-shared-link-landing",3728:"app-modals-youre-in-confirmation",3817:"app-components-embed-tool-magazine-and-storyboard-widget-tool",3826:"app-containers-section-storyboard",3906:"app-route-containers-forgot-password",4014:"app-views-embeddable-html-video-player",4077:"app-route-containers-analytics-home",4100:"app-containers-modals-login",4115:"app-route-containers-following",4431:"shared-component_library-src-lists-sortable-list-item",4488:"app-route-containers-home",4642:"app-route-containers-section",4751:"app-views-embed-tool",5211:"app-containers-publisher-onboard",5239:"app-containers-themes-storyboard-layout-storyboard-layout",5257:"app-containers-onboarding-topic-picker-modal",5264:"app-components-storyboard-tile",5289:"app-components-signup-button-cta-anchored-dialog",5363:"app-route-containers-profile",5518:"app-components-navigation-navbar-more-menu",5615:"app-route-containers-directory",5782:"app-components-profile-metrics-sub-nav",5907:"app-views-privacy-settings",6098:"app-modals-flip-compose-modal",6203:"app-components-favorites-menu",6228:"app-route-containers-request-login-link",6426:"app-views-account-email-sett
1ings",6555:"app-route-containers-analytics-magazine",6563:"app-route-containers-curator-pro-storyboard",6742:"app-modals-search",6791:"video",7053:"app-themes-storyboard-layout-storyboard-header",7234:"app-containers-navigation-logged-in-buttons",7271:"app-components-embed-tool-browser-tools",7277:"app-components-comments",7549:"app-route-containers-publisher-signup",7664:"app-views-logout",7730:"app-containers-third-party-video",7860:"app-route-containers-reset-password",7881:"app-components-base-cropped-image",7956:"app-components-development-stuff",7991:"app-route-containers-article",8022:"app-containers-create-magazine",8047:"app-containers-curator-pro-storyboard-preview-footer",8394:"app-modals-mobile-gate",8471:"app-containers-section-topic",8543:"app-containers-publisher-heading",8593:"app-components-profile-header",8639:"app-containers-section-profile",8679:"app-modals-favorites-menu",8920:"can-autoplay",9023:"app-route-containers-sitemap-page",9389:"app-components-embed-tool-logo-widget-tool",9404:"videojs-ima",9485:"app-route-containers-curator-pro-edit-campaign",9688:"app-route-containers-analytics-storyboard",9731:"videojs-contrib-ads",9853:"shared-component_library-src-lists-sortable-list",9873:"app-route-containers-signup"}[e]||e)+"."+{160:"cf26379c5b7f0c46bfcd",236:"59e6617d87f7a3fcf594",244:"1034bafb515927f6a3dd",440:"93dda6eb9a253e62df9f",594:"e396c9c28928e94e445b",611:"718ef9f3ef0d3d17a7fe",637:"63862e1679a37eac806e",686:"9f3d1213d3d1c38343ba",698:"fc959608e51ca8b69dec",700:"e8c2f475e362bf47074d",735:"926ea00fa909378347b8",844:"72ae99e354554c441074",864:"4f2fab1a5c414676d2ad",1076:"bcc0ee3fc37dff4124ab",1122:"970b7f51288c4bc917c2",1145:"773b1f78e6f1137e2dbb",1206:"280950bc04ac8f69a0f4",1249:"68d0a77e31d7b324a421",1436:"f03058ce1ef9d5d08a51",1534:"8592aef26c0488b51999",1599:"955dd44f7a3059dc85ef",1610:"e878b1d4eacff5ef4773",1656:"c74199d6c720b58f6475",1712:"51f31be18c52473801b2",1781:"6c2bc6025b6a829561d5",1790:"39f91c05733f94ec82e1",1990:"5a87771aaa4243a49777",2004:"ade15ba95a6f88623da1",2181:"89e89d7ae4d66c023d7d",2293:"c9b30acd76d50393faa2",2421:"852e4f61128c1a9f4f80",2522:"205f821cc5fbeb000de5",2647:"74fa5706d905d230a0c7",2710:"ebc43c8066ae4589fc5c",2750:"279786bfcdf82e5994e8",3146:"f767247b653dddd918e1",3172:"c4d6307e51f36e04f747",3266:"565ad09c80ab0110d52f",3327:"6f1a11dd27e43cd0ca6f",3511:"5b99f6eaebe5fda140f6",3545:"22b5a829459f47b60302",3650:"75fe788f34a59062b214",3728:"d01f339f7c9563a55fe4",3817:"8013bf5849d2918100c5",3826:"f4eb6cfd06f3826c9edc",3906:"adb4b0d7dcd69b7ae850",3922:"2165b61d140e25224a7a",4014:"8054908e7dc6d6420dd0",4077:"04a8bb2a1ba36b5389d1",4100:"651913a3c6f7e95ea49f",4115:"7988f208d8afa41f1249",4354:"57a29994a4596306f686",4431:"8e0af9d592f7e5197a33",4488:"f2e7a91eca1f0f6fa9cb",4642:"87b394f2967c8c2dedd0",4751:"f621f868d8b4531bf95d",4880:"4513f351a44815fd8cff",5160:"3548999533ed73a1d710",5211:"5b7b5a7afdf80f5a6690",5239:"2087b64ef9b97c8b88a6",5257:"e15daca45c1f629ce3a2",5264:"1d0370f1cec8c429f70e",5289:"d6acd7f5f7fc9ec1d79b",5363:"eaad0f0952b576725e3e",5465:"3264c4273c9bddc77b6c",5518:"93d08d9005908e321a7a",5615:"d806f2bd936d1a4ce59f",5782:"0b6d0a3106cb9eeadcb4",5907:"1b72369078a69e0b5157",6098:"4a273ea9bcab83612e58",6203:"7170cde021e84a0d4eef",6211:"e996227b92e6bef6ea14",6228:"8d74af7a012bc71bff59",6268:"8aa5dbe269bdc6ab5b00",6410:"15fb6ce9ee50e7584902",6426:"83b7728c338b63fdbae2",6555:"e09d9fa9c0389bb06b27",6563:"41a4aa76c318d4234757",6572:"4c53720a4f59dcca6d27",6736:"a81e01ce16f9af7d5c9b",6742:"cd9ef1947f1088406a63",6791:"35f7244cb3e83c7485bc",6973:"072358cbed0de684dcd8",7053:"1ddb6daa5fc126309e3c",7234:"de259763c111ae661aec",7271:"f6826397e4a97b042673",7277:"c22511ad8b74b1e5e9f2",7283:"704514fe6f4bf2f76c93",7510:"e0dda43d5690940cbbb5",7549:"97097cf23a3ff0b6824f",7664:"ef50653744d878ea111e",7698:"b26665b4ceb9e026756b",7730:"92dd7ddf5c45c438b1f7",7860:"aa783db18fda2fd7569b",7881:"496ecbcebef4d0471e7b",7956:"3e8e764e5460369edc91",7991:"8630987c9270ce05e6c1",8022:"3de65c6b1c416a0ad6ed",8047:"9a16268b0a1106e3e090",8394:"5266b85acc8720859537",8471:"7a98634126f042e0ee64",8541:"82d7e61fbb3ef46e293c",8543:"da7194010dffe16c1790",8593:"d5be8630e21a61bc0f83",8639:"4195b47883e9b32349bc",8676:"86a33f4c59a7e1a9b72a",8679:"2ed32860aa970c82289d",8731:"784c1a2aa46535e6a209",8865:"ac1b1751fc08a483be8d",8920:"2143926bb582389a5b92",8983:"bfba14849d47a6c7eae5",9023:"884ce789047298a03acf",9076:"d97b419e372cc47b3845",9096:"26d23e9a1192f6552936",9155:"62cc5b10e3cf8632abd6",9389:"ccca99e5964f1fa595e8",9404:"3d7e0f3f62ed86774bd5",9485:"0b3cd3cbfa03dadeec6c",9688:"ae17b20a418dd23cd1f3",9731:"eb37af484266b6a98d4c",9852:"4b33f5c65eb4c64f9e1a",9853:"d9bf2372481861c32519",9873:"886d54f992ef30940f8b"}[e]+".bundle.js"},__webpack_require__.miniCssF=function(e){return"app.fca6d657c9d4adf45f0d.css"},__webpack_require__.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}
vendor: 2,983 bytes, lines 1-2
1}(),__webpack_require__.hmd=function(e){return(e=Object.create(e)).children||(e.children=[]),Object.defineProperty(e,"exports",{enumerable:!0,set:function(){throw new Error("ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: "+e.id)}}),e},__webpack_require__.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},inProgress={},dataWebpackPrefix="web2:",__webpack_require__.l=function(e,t,r,n){if(inProgress[e])inProgress[e].push(t);else{var o,i;if(void 0!==r)for(var a=document.getElementsByTagName("script"),c=0;c<a.length;c++){var u=a[c];if(u.getAttribute("src")==e||u.getAttribute("data-webpack")==dataWebpackPrefix+r){o=u;break}}o||(i=!0,(o=document.createElement("script")).charset="utf-8",o.timeout=120,__webpack_require__.nc&&o.setAttribute("nonce",__webpack_require__.nc),o.setAttribute("data-webpack",dataWebpackPrefix+r),o.src=e),inProgress[e]=[t];var s=function(t,r){o.onerror=o.onload=null,clearTimeout(l);var n=inProgress[e];if(delete inProgress[e],o.parentNode&&o.parentNode.removeChild(o),n&&n.forEach((function(e){return e(r)})),t)return t(r)},l=setTimeout(s.bind(null,void 0,{type:"timeout",target:o}),12e4);o.onerror=s.bind(null,o.onerror),o.onload=s.bind(null,o.onload),i&&document.head.appendChild(o)}},__webpack_require__.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},__webpack_require__.nmd=function(e){return e.paths=[],e.children||(e.children=[]),e},__webpack_require__.p="https://s.flipboard.com/webu/",function(){var e={2143:0};__webpack_require__.f.j=function(t,r){var n=__webpack_require__.o(e,t)?e[t]:void 0;if(0!==n)if(n)r.push(n[2]);else{var o=new Promise((function(r,o){n=e[t]=[r,o]}));r.push(n[2]=o);var i=__webpack_require__.p+__webpack_require__.u(t),a=new Error;__webpack_require__.l(i,(function(r){if(__webpack_require__.o(e,t)&&(0!==(n=e[t])&&(e[t]=void 0),n)){var o=r&&("load"===r.type?"missing":r.type),i=r&&r.target&&r.target.src;a.message="Loading chunk "+t+" failed.\n("+o+": "+i+")",a.name="ChunkLoadError",a.type=o,a.request=i,n[1](a)}}),"chunk-"+t,t)}},__webpack_require__.O.j=function(t){return 0===e[t]};var t=function(t,r){var n,o,i=r[0],a=r[1],c=r[2],u=0;if(i.some((function(t){return 0!==e[t]}))){for(n in a)__webpack_require__.o(a,n)&&(__webpack_require__.m[n]=a[n]);if(c)var s=c(__webpack_require__)}for(t&&t(r);u<i.length;u++)o=i[u],__webpack_require__.o(e,o)&&e[o]&&e[o][0](),e[i[u]]=0;return __webpack_require__.O(s)},r=("undefined"!=typeof self?self:this).__LOADABLE_LOADED_CHUNKS__=("undefined"!=typeof self?self:this).__LOADABLE_LOADED_CHUNKS__||[];r.forEach(t.bind(null,0)),r.push=t.bind(null,r.push.bind(r))}();var __webpack_exports__=__webpack_require__.O(void 0,[2959],(function(){return __webpack_require__(45319)}));__webpack_exports__=__webpack_require__.O(__webpack_exports__)})();
2//# sourceMappingURL=app.c60227d2f0511c0cd24e.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.