!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};e.SENTRY_RELEASE={id:"substack@538433c"};var t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="8d757e88-72b2-4b53-8a18-125827c8ff43",e._sentryDebugIdIdentifier="sentry-dbid-8d757e88-72b2-4b53-8a18-125827c8ff43")}catch(e){}}();"use strict";(self.webpackChunksubstack=self.webpackChunksubstack||[]).push([["60706"],{98149:function(e,t,_){_.d(t,{rc:()=>r});var n=_(69277);let o=["control","treatment"];(0,n._)({},{dev_experiment_1:o,experiment_split_on_publication_id:o,experiment_split_on_user_id:o,test_something_inactive:["control","treatment1","treatment2","treatment3"]},{TESTONLY_experiment_a:o,TESTONLY_experiment_b:o,TESTONLY_inactive_experiment:o},{android_activity_item_sharing_experiment:o,android_article_attachments_v3point5:o,android_composer_modes_vs_attachments:o,android_default_subscriptions_tab_to_grid_layout:o,android_google_sign_in:o,android_note_auto_share_assets:o,android_note_share_assets:["control","treatment_link_share_ranked","treatment_note_share_unranked","treatment_note_share_ranked"],android_og_tag_post_sharing_experiment:o,android_onboarding_progress_persistence:o,android_onboarding_suggestions_hero_text:o,android_post_bottom_share_experiment:o,android_post_like_share_nudge:o,android_profile_share_assets_experiment:o,android_rank_share_destinations_experiment:o,android_reader_share_assets_3:o,android_reader_share_assets_4:["control","treatment_single_row","treatment_double_row"],android_restore_feed_scroll_position:o,android_suggestion_categories_onboarding_feed_loop:o,android_synchronous_push_notif_handling:o,bundle_upsell_email:o,checklist_progress_bar:o,creator_onboarding_checklist_experiment_ios:o,default_orange_quote_experiment:o,dpn_ranking_v32:o,email_only_on_smart_delivery:["control","treatment_all","treatment_d3_plus"],expanded_your_weekly_stack:o,feed_live_stream_candidates:o,feed_video_fill:o,floating_cta:o,free_press_single_screen_subscribe_flow:o,ios_better_top_search_prompt_in_global_search:o,ios_disable_push_notification_upsell_modal:o,ios_feed_item_hide_button:o,ios_founding_upgrade_button_in_portals:o,ios_founding_upgrade_button_in_portals_v2:o,ios_mid_read_post_reminder_v2:o,ios_note_sharing_assets:o,ios_onboarding_multiple_notification_asks:o,ios_onboarding_new_user_survey:o,ios_onboarding_suggestions_hero_text:o,ios_pogs_stories:o,ios_post_share_assets_screenshot_trigger:o,ios_recent_search:o,ios_route_profiles_to_portals_v2:o,ios_route_publications_to_portals:o,ios_webview_payments_enabled:o,logged_out_home_marketing:o,longterm_activity_item_filter_experiment:o,new_decline_email:o,notes_category_spacing:["control","treatment_category_spacing_primary","treatment_category_spacing_secondary","treatment_force_explore_categories"],notes_follow_scale_factor_v2:o,notes_ranking_v109:o,onboarding_show_all_suggestions_web:o,people_you_may_know_algorithm_30:o,people_you_may_know_algorithm_31:["control","treatment_ordered","treatment_unordered"],permalink_app_upsell_prompts_v2:o,permalink_reply_pin_user_comment:o,permalink_reply_ranking_v6:o,portal_post_style:["control","treatment_feed","treatment_matched_geometry"],portal_ranking_v3:o,post_page_scrolling_modal_subscribe_in_app:o,posts_ranking_clip_cap:o,posts_ranking_v31:o,profile_photo_upsell_modal:o,prompt_to_launch:o,publication_ranking_v28:o,ranked_post_tab_search_v2:o,reader_onboarding_modal_v2_vs_page:o,search_ranker_v6:o,search_ranker_v7:o,search_retrieval_v16:o,send_decline_email_on_first_attempt:o,share_selection_v3:o,show_follow_upsell_web:o,start_writing_email_autofill:o,streamlined_instagram_share:o,stripe_link_in_payment_element_v3:o,thefp_annual_subscription_promotion:o,thefp_email_paywall_with_plans:o,thefp_free_trial_experiment:o,thefp_paywall_with_plans:o,trending_sidebar:o,trending_topics_module_long_term_experiment:o,use_expanded_query_for_topic_search:o,use_top_search_for_publication_search:["control","treatment_all","treatment_topics"],web_suggested_search_route_recent_search:o,web_view_get_app:["control","treatment_deep_link","treatment_get_app"],webview_app_upsell_twitter:["control","read","follow"],yws_entire_card_click:o});let r=e=>!!e&&"string"==typeof e&&"experiment"!==e},23246:function(e,t,_){_.d(t,{Z5:()=>n});let n=["hate","private_information","plagiarism","impersonation","illegal_activity","spam","pornography","copyright_violation","other"]},92636:function(e,t,_){_.d(t,{$_:()=>c,Bp:()=>l,EW:()=>s,Ew:()=>p,PH:()=>f,Pm:()=>a,Sg:()=>g,c$:()=>m,d5:()=>r,qd:()=>u,sX:()=>i,w4:()=>o,xJ:()=>n,yR:()=>d});let n="substack.com",o="https://substackcdn.com";function r(e){return"https://"+e}o.replace(/https?:\/\//,"").replace(/\/$/,"");let a=r(n),i=new URL(a);function s(e){let{forceSubdomain:t=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(e&&"object"==typeof e&&"custom_domain"in e&&e.custom_domain&&!e.custom_domain_optional&&!t)return e.custom_domain;let _=n;return e&&"www"!==e.subdomain&&(_="".concat(e.subdomain,".").concat(_)),_}function l(e){return Object.keys(e).filter(t=>void 0!==e[t]&&null!==e[t]).map(t=>"".concat(encodeURIComponent(t),"=").concat(encodeURIComponent(e[t]))).join("&")}function d(e,t){if(!e)return"";if(!t)return e;let _=l(t),n=_?-1===e.indexOf("?")?"?":"&":"";return"".concat(e).concat(n).concat(_)}function c(e){let{forceSubdomain:t=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return e&&"object"==typeof e&&"base_url"in e&&e.base_url&&!t?e.base_url:r(s(e,{forceSubdomain:t}))}function p(){return c()}function u(){return r("open.".concat(n))}function m(e){let{noBase:t,urlParams:_,pub:n}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=t?"":c(n);return d("".concat(o).concat(e),_)}function g(){var e;if("undefined"==typeof document||!(null==(e=document.location)?void 0:e.hostname))return!0;let t=document.location.hostname;return t.startsWith(n)||t.startsWith("substack.info")}function f(){var e;if("undefined"==typeof document||!(null==(e=document.location)?void 0:e.hostname))return!0;let t=document.location.hostname;return!(t.startsWith(n)||t.startsWith("substack.info"))&&document.location.pathname.startsWith("/publish/")}}}]);