PageSourceSearch

https://mbinjurylawyer.com/wp-content/cache/min/1/swg/js/v1/publisher.js?ver=1790876134

js mbinjurylawyer.com collected 2026-10-07 04:56:15 UTC 139,877 bytes, 1 lines download raw bytes

1(()=>{var _a,_b,_c,_d,_e,_f,_g,_h,_i,_j,_k,_l,_m,_n,_o,_p,__freeze=Object.freeze,__defProp=Object.defineProperty,__template=(t,e)=>__freeze(__defProp(t,"raw",{value:__freeze(e||t.slice())}));!function(t){"use strict";var e,s,i,n;const r="1.0.165";var o=(t=>(t[t.ADD_PREFERRED_SOURCE_STATUS_UNSPECIFIED=0]="ADD_PREFERRED_SOURCE_STATUS_UNSPECIFIED",t[t.ADD_PREFERRED_SOURCE_STATUS_ALREADY_ADDED=1]="ADD_PREFERRED_SOURCE_STATUS_ALREADY_ADDED",t[t.ADD_PREFERRED_SOURCE_STATUS_INELIGIBLE=2]="ADD_PREFERRED_SOURCE_STATUS_INELIGIBLE",t[t.ADD_PREFERRED_SOURCE_STATUS_SUCCESS=3]="ADD_PREFERRED_SOURCE_STATUS_SUCCESS",t))(o||{}),l=(t=>(t[t.UNKNOWN=0]="UNKNOWN",t[t.IMPRESSION_PAYWALL=1]="IMPRESSION_PAYWALL",t[t.IMPRESSION_AD=2]="IMPRESSION_AD",t[t.IMPRESSION_OFFERS=3]="IMPRESSION_OFFERS",t[t.IMPRESSION_SUBSCRIBE_BUTTON=4]="IMPRESSION_SUBSCRIBE_BUTTON",t[t.IMPRESSION_SMARTBOX=5]="IMPRESSION_SMARTBOX",t[t.IMPRESSION_SWG_BUTTON=6]="IMPRESSION_SWG_BUTTON",t[t.IMPRESSION_CLICK_TO_SHOW_OFFERS=7]="IMPRESSION_CLICK_TO_SHOW_OFFERS",t[t.IMPRESSION_CLICK_TO_SHOW_OFFERS_OR_ALREADY_SUBSCRIBED=8]="IMPRESSION_CLICK_TO_SHOW_OFFERS_OR_ALREADY_SUBSCRIBED",t[t.IMPRESSION_SUBSCRIPTION_COMPLETE=9]="IMPRESSION_SUBSCRIPTION_COMPLETE",t[t.IMPRESSION_ACCOUNT_CHANGED=10]="IMPRESSION_ACCOUNT_CHANGED",t[t.IMPRESSION_PAGE_LOAD=11]="IMPRESSION_PAGE_LOAD",t[t.IMPRESSION_LINK=12]="IMPRESSION_LINK",t[t.IMPRESSION_SAVE_SUBSCR_TO_GOOGLE=13]="IMPRESSION_SAVE_SUBSCR_TO_GOOGLE",t[t.IMPRESSION_GOOGLE_UPDATED=14]="IMPRESSION_GOOGLE_UPDATED",t[t.IMPRESSION_SHOW_OFFERS_SMARTBOX=15]="IMPRESSION_SHOW_OFFERS_SMARTBOX",t[t.IMPRESSION_SHOW_OFFERS_SWG_BUTTON=16]="IMPRESSION_SHOW_OFFERS_SWG_BUTTON",t[t.IMPRESSION_SELECT_OFFER_SMARTBOX=17]="IMPRESSION_SELECT_OFFER_SMARTBOX",t[t.IMPRESSION_SELECT_OFFER_SWG_BUTTON=18]="IMPRESSION_SELECT_OFFER_SWG_BUTTON",t[t.IMPRESSION_SHOW_CONTRIBUTIONS_SWG_BUTTON=19]="IMPRESSION_SHOW_CONTRIBUTIONS_SWG_BUTTON",t[t.IMPRESSION_SELECT_CONTRIBUTION_SWG_BUTTON=20]="IMPRESSION_SELECT_CONTRIBUTION_SWG_BUTTON",t[t.IMPRESSION_METER_TOAST=21]="IMPRESSION_METER_TOAST",t[t.IMPRESSION_REGWALL=22]="IMPRESSION_REGWALL",t[t.IMPRESSION_SHOWCASE_REGWALL=23]="IMPRESSION_SHOWCASE_REGWALL",t[t.IMPRESSION_SWG_SUBSCRIPTION_MINI_PROMPT=24]="IMPRESSION_SWG_SUBSCRIPTION_MINI_PROMPT",t[t.IMPRESSION_SWG_CONTRIBUTION_MINI_PROMPT=25]="IMPRESSION_SWG_CONTRIBUTION_MINI_PROMPT",t[t.IMPRESSION_CONTRIBUTION_OFFERS=26]="IMPRESSION_CONTRIBUTION_OFFERS",t[t.IMPRESSION_TWG_COUNTER=27]="IMPRESSION_TWG_COUNTER",t[t.IMPRESSION_TWG_SITE_SUPPORTER_WALL=28]="IMPRESSION_TWG_SITE_SUPPORTER_WALL",t[t.IMPRESSION_TWG_PUBLICATION=29]="IMPRESSION_TWG_PUBLICATION",t[t.IMPRESSION_TWG_STATIC_BUTTON=30]="IMPRESSION_TWG_STATIC_BUTTON",t[t.IMPRESSION_TWG_DYNAMIC_BUTTON=31]="IMPRESSION_TWG_DYNAMIC_BUTTON",t[t.IMPRESSION_TWG_STICKER_SELECTION_SCREEN=32]="IMPRESSION_TWG_STICKER_SELECTION_SCREEN",t[t.IMPRESSION_TWG_PUBLICATION_NOT_SET_UP=33]="IMPRESSION_TWG_PUBLICATION_NOT_SET_UP",t[t.IMPRESSION_REGWALL_OPT_IN=34]="IMPRESSION_REGWALL_OPT_IN",t[t.IMPRESSION_NEWSLETTER_OPT_IN=35]="IMPRESSION_NEWSLETTER_OPT_IN",t[t.IMPRESSION_SUBSCRIPTION_OFFERS_ERROR=36]="IMPRESSION_SUBSCRIPTION_OFFERS_ERROR",t[t.IMPRESSION_CONTRIBUTION_OFFERS_ERROR=37]="IMPRESSION_CONTRIBUTION_OFFERS_ERROR",t[t.IMPRESSION_TWG_SHORTENED_STICKER_FLOW=38]="IMPRESSION_TWG_SHORTENED_STICKER_FLOW",t[t.IMPRESSION_SUBSCRIPTION_LINKING_LOADING=39]="IMPRESSION_SUBSCRIPTION_LINKING_LOADING",t[t.IMPRESSION_SUBSCRIPTION_LINKING_COMPLETE=40]="IMPRESSION_SUBSCRIPTION_LINKING_COMPLETE",t[t.IMPRESSION_SUBSCRIPTION_LINKING_ERROR=41]="IMPRESSION_SUBSCRIPTION_LINKING_ERROR",t[t.IMPRESSION_SURVEY=42]="IMPRESSION_SURVEY",t[t.IMPRESSION_REGWALL_ERROR=43]="IMPRESSION_REGWALL_ERROR",t[t.IMPRESSION_NEWSLETTER_ERROR=44]="IMPRESSION_NEWSLETTER_ERROR",t[t.IMPRESSION_SURVEY_ERROR=45]="IMPRESSION_SURVEY_ERROR",t[t.IMPRESSION_METER_TOAST_ERROR=46]="IMPRESSION_METER_TOAST_ERROR",t[t.IMPRESSION_MINI_PROMPT=47]="IMPRESSION_MINI_PROMPT",t[t.IMPRESSION_MINI_PROMPT_ERROR=48]="IMPRESSION_MINI_PROMPT_ERROR",t[t.IMPRESSION_REWARDED_AD=49]="IMPRESSION_REWARDED_AD",t[t.IMPRESSION_BYOP_NEWSLETTER_OPT_IN=50]="IMPRESSION_BYOP_NEWSLETTER_OPT_IN",t[t.IMPRESSION_REWARDED_AD_ERROR=51]="IMPRESSION_REWARDED_AD_ERROR",t[t.IMPRESSION_HOSTED_PAGE_SUBSCRIPTION_OFFERS=52]="IMPRESSION_HOSTED_PAGE_SUBSCRIPTION_OFFERS",t[t.IMPRESSION_HOSTED_PAGE_CONTRIBUTION_OFFERS=53]="IMPRESSION_HOSTED_PAGE_CONTRIBUTION_OFFERS",t[t.IMPRESSION_HOSTED_PAGE_SUBSCRIPTION_OFFERS_ERROR=54]="IMPRESSION_HOSTED_PAGE_SUBSCRIPTION_OFFERS_ERROR",t[t.IMPRESSION_HOSTED_PAGE_CONTRIBUTION_OFFERS_ERROR=55]="IMPRESSION_HOSTED_PAGE_CONTRIBUTION_OFFERS_ERROR",t[t.IMPRESSION_BYO_CTA=56]="IMPRESSION_BYO_CTA",t[t.IMPRESSION_BYO_CTA_ERROR=57]="IMPRESSION_BYO_CTA_ERROR",t[t.IMPRESSION_CONTRIBUTION_OFFERS_PURCHASE_UNAVAILABLE=58]="IMPRESSION_CONTRIBUTION_OFFERS_PURCHASE_UNAVAILABLE",t[t.IMPRESSION_BYOE_POP_UP_OPT_IN=59]="IMPRESSION_BYOE_POP_UP_OPT_IN",t[t.IMPRESSION_BYOE_POP_UP_OPT_IN_ERROR=60]="IMPRESSION_BYOE_POP_UP_OPT_IN_ERROR",t[t.IMPRESSION_ADD_PREFERRED_SOURCES_BUTTON=61]="IMPRESSION_ADD_PREFERRED_SOURCES_BUTTON",t[t.IMPRESSION_ADD_PREFERRED_SOURCES_CONFIRMATION=62]="IMPRESSION_ADD_PREFERRED_SOURCES_CONFIRMATION",t[t.IMPRESSION_ADD_PREFERRED_SOURCE_CONSENT_SCREEN=63]="IMPRESSION_ADD_PREFERRED_SOURCE_CONSENT_SCREEN",t[t.IMPRESSION_ADD_PREFERRED_SOURCE_CONSENT_SCREEN_ADD_SOURCE_BUTTON=64]="IMPRESSION_ADD_PREFERRED_SOURCE_CONSENT_SCREEN_ADD_SOURCE_BUTTON",t[t.IMPRESSION_ADD_PREFERRED_SOURCE_CONSENT_SCREEN_E
1RROR=65]="IMPRESSION_ADD_PREFERRED_SOURCE_CONSENT_SCREEN_ERROR",t[t.IMPRESSION_ADD_PREFERRED_SOURCE_CONSENT_SCREEN_INELIGIBLE=66]="IMPRESSION_ADD_PREFERRED_SOURCE_CONSENT_SCREEN_INELIGIBLE",t[t.IMPRESSION_OFFERS_PLAN_CHANGE=67]="IMPRESSION_OFFERS_PLAN_CHANGE",t[t.ACTION_SUBSCRIBE=1e3]="ACTION_SUBSCRIBE",t[t.ACTION_PAYMENT_COMPLETE=1001]="ACTION_PAYMENT_COMPLETE",t[t.ACTION_ACCOUNT_CREATED=1002]="ACTION_ACCOUNT_CREATED",t[t.ACTION_ACCOUNT_ACKNOWLEDGED=1003]="ACTION_ACCOUNT_ACKNOWLEDGED",t[t.ACTION_SUBSCRIPTIONS_LANDING_PAGE=1004]="ACTION_SUBSCRIPTIONS_LANDING_PAGE",t[t.ACTION_PAYMENT_FLOW_STARTED=1005]="ACTION_PAYMENT_FLOW_STARTED",t[t.ACTION_PAY_PAYMENT_FLOW_STARTED=1090]="ACTION_PAY_PAYMENT_FLOW_STARTED",t[t.ACTION_PLAY_PAYMENT_FLOW_STARTED=1091]="ACTION_PLAY_PAYMENT_FLOW_STARTED",t[t.ACTION_OFFER_SELECTED=1006]="ACTION_OFFER_SELECTED",t[t.ACTION_SWG_BUTTON_CLICK=1007]="ACTION_SWG_BUTTON_CLICK",t[t.ACTION_VIEW_OFFERS=1008]="ACTION_VIEW_OFFERS",t[t.ACTION_ALREADY_SUBSCRIBED=1009]="ACTION_ALREADY_SUBSCRIBED",t[t.ACTION_NEW_DEFERRED_ACCOUNT=1010]="ACTION_NEW_DEFERRED_ACCOUNT",t[t.ACTION_LINK_CONTINUE=1011]="ACTION_LINK_CONTINUE",t[t.ACTION_LINK_CANCEL=1012]="ACTION_LINK_CANCEL",t[t.ACTION_GOOGLE_UPDATED_CLOSE=1013]="ACTION_GOOGLE_UPDATED_CLOSE",t[t.ACTION_USER_CANCELED_PAYFLOW=1014]="ACTION_USER_CANCELED_PAYFLOW",t[t.ACTION_SAVE_SUBSCR_TO_GOOGLE_CONTINUE=1015]="ACTION_SAVE_SUBSCR_TO_GOOGLE_CONTINUE",t[t.ACTION_SAVE_SUBSCR_TO_GOOGLE_CANCEL=1016]="ACTION_SAVE_SUBSCR_TO_GOOGLE_CANCEL",t[t.ACTION_SWG_BUTTON_SHOW_OFFERS_CLICK=1017]="ACTION_SWG_BUTTON_SHOW_OFFERS_CLICK",t[t.ACTION_SWG_BUTTON_SELECT_OFFER_CLICK=1018]="ACTION_SWG_BUTTON_SELECT_OFFER_CLICK",t[t.ACTION_SWG_BUTTON_SHOW_CONTRIBUTIONS_CLICK=1019]="ACTION_SWG_BUTTON_SHOW_CONTRIBUTIONS_CLICK",t[t.ACTION_SWG_BUTTON_SELECT_CONTRIBUTION_CLICK=1020]="ACTION_SWG_BUTTON_SELECT_CONTRIBUTION_CLICK",t[t.ACTION_USER_CONSENT_DEFERRED_ACCOUNT=1021]="ACTION_USER_CONSENT_DEFERRED_ACCOUNT",t[t.ACTION_USER_DENY_DEFERRED_ACCOUNT=1022]="ACTION_USER_DENY_DEFERRED_ACCOUNT",t[t.ACTION_DEFERRED_ACCOUNT_REDIRECT=1023]="ACTION_DEFERRED_ACCOUNT_REDIRECT",t[t.ACTION_GET_ENTITLEMENTS=1024]="ACTION_GET_ENTITLEMENTS",t[t.ACTION_METER_TOAST_SUBSCRIBE_CLICK=1025]="ACTION_METER_TOAST_SUBSCRIBE_CLICK",t[t.ACTION_METER_TOAST_EXPANDED=1026]="ACTION_METER_TOAST_EXPANDED",t[t.ACTION_METER_TOAST_CLOSED_BY_ARTICLE_INTERACTION=1027]="ACTION_METER_TOAST_CLOSED_BY_ARTICLE_INTERACTION",t[t.ACTION_METER_TOAST_CLOSED_BY_SWIPE_DOWN=1028]="ACTION_METER_TOAST_CLOSED_BY_SWIPE_DOWN",t[t.ACTION_METER_TOAST_CLOSED_BY_X_CLICKED=1029]="ACTION_METER_TOAST_CLOSED_BY_X_CLICKED",t[t.ACTION_SWG_SUBSCRIPTION_MINI_PROMPT_CLICK=1030]="ACTION_SWG_SUBSCRIPTION_MINI_PROMPT_CLICK",t[t.ACTION_SWG_CONTRIBUTION_MINI_PROMPT_CLICK=1031]="ACTION_SWG_CONTRIBUTION_MINI_PROMPT_CLICK",t[t.ACTION_SWG_SUBSCRIPTION_MINI_PROMPT_CLOSE=1032]="ACTION_SWG_SUBSCRIPTION_MINI_PROMPT_CLOSE",t[t.ACTION_SWG_CONTRIBUTION_MINI_PROMPT_CLOSE=1033]="ACTION_SWG_CONTRIBUTION_MINI_PROMPT_CLOSE",t[t.ACTION_CONTRIBUTION_OFFER_SELECTED=1034]="ACTION_CONTRIBUTION_OFFER_SELECTED",t[t.ACTION_SHOWCASE_REGWALL_GSI_CLICK=1035]="ACTION_SHOWCASE_REGWALL_GSI_CLICK",t[t.ACTION_SHOWCASE_REGWALL_EXISTING_ACCOUNT_CLICK=1036]="ACTION_SHOWCASE_REGWALL_EXISTING_ACCOUNT_CLICK",t[t.ACTION_SUBSCRIPTION_OFFERS_CLOSED=1037]="ACTION_SUBSCRIPTION_OFFERS_CLOSED",t[t.ACTION_CONTRIBUTION_OFFERS_CLOSED=1038]="ACTION_CONTRIBUTION_OFFERS_CLOSED",t[t.ACTION_TWG_STATIC_CTA_CLICK=1039]="ACTION_TWG_STATIC_CTA_CLICK",t[t.ACTION_TWG_DYNAMIC_CTA_CLICK=1040]="ACTION_TWG_DYNAMIC_CTA_CLICK",t[t.ACTION_TWG_SITE_LEVEL_SUPPORTER_WALL_CTA_CLICK=1041]="ACTION_TWG_SITE_LEVEL_SUPPORTER_WALL_CTA_CLICK",t[t.ACTION_TWG_DIALOG_SUPPORTER_WALL_CTA_CLICK=1042]="ACTION_TWG_DIALOG_SUPPORTER_WALL_CTA_CLICK",t[t.ACTION_TWG_COUNTER_CLICK=1043]="ACTION_TWG_COUNTER_CLICK",t[t.ACTION_TWG_SITE_SUPPORTER_WALL_ALL_THANKS_CLICK=1044]="ACTION_TWG_SITE_SUPPORTER_WALL_ALL_THANKS_CLICK",t[t.ACTION_TWG_PAID_STICKER_SELECTED_SCREEN_CLOSE_CLICK=1045]="ACTION_TWG_PAID_STICKER_SELECTED_SCREEN_CLOSE_CLICK",t[t.ACTION_TWG_PAID_STICKER_SELECTION_CLICK=1046]="ACTION_TWG_PAID_STICKER_SELECTION_CLICK",t[t.ACTION_TWG_FREE_STICKER_SELECTION_CLICK=1047]="ACTION_TWG_FREE_STICKER_SELECTION_CLICK",t[t.ACTION_TWG_MINI_SUPPORTER_WALL_CLICK=1048]="ACTION_TWG_MINI_SUPPORTER_WALL_CLICK",t[t.ACTION_TWG_CREATOR_BENEFIT_CLICK=1049]="ACTION_TWG_CREATOR_BENEFIT_CLICK",t[t.ACTION_TWG_FREE_TRANSACTION_START_NEXT_BUTTON_CLICK=1050]="ACTION_TWG_FREE_TRANSACTION_START_NEXT_BUTTON_CLICK",t[t.ACTION_TWG_PAID_TRANSACTION_START_NEXT_BUTTON_CLICK=1051]="ACTION_TWG_PAID_TRANSACTION_START_NEXT_BUTTON_CLICK",t[t.ACTION_TWG_STICKER_SELECTION_SCREEN_CLOSE_CLICK=1052]="ACTION_TWG_STICKER_SELECTION_SCREEN_CLOSE_CLICK",t[t.ACTION_TWG_ARTICLE_LEVEL_SUPPORTER_WALL_CTA_CLICK=1053]="ACTION_TWG_ARTICLE_LEVEL_SUPPORTER_WALL_CTA_CLICK",t[t.ACTION_REGWALL_OPT_IN_BUTTON_CLICK=1054]="ACTION_REGWALL_OPT_IN_BUTTON_CLICK",t[t.ACTION_REGWALL_ALREADY_OPTED_IN_CLICK=1055]="ACTION_REGWALL_ALREADY_OPTED_IN_CLICK",t[t.ACTION_NEWSLETTER_OPT_IN_BUTTON_CLICK=1056]="ACTION_NEWSLETTER_OPT_IN_BUTTON_CLICK",t[t.ACTION_NEWSLETTER_ALREADY_OPTED_IN_CLICK=1057]="A
1CTION_NEWSLETTER_ALREADY_OPTED_IN_CLICK",t[t.ACTION_REGWALL_OPT_IN_CLOSE=1058]="ACTION_REGWALL_OPT_IN_CLOSE",t[t.ACTION_NEWSLETTER_OPT_IN_CLOSE=1059]="ACTION_NEWSLETTER_OPT_IN_CLOSE",t[t.ACTION_SHOWCASE_REGWALL_SIWG_CLICK=1060]="ACTION_SHOWCASE_REGWALL_SIWG_CLICK",t[t.ACTION_TWG_CHROME_APP_MENU_ENTRY_POINT_CLICK=1061]="ACTION_TWG_CHROME_APP_MENU_ENTRY_POINT_CLICK",t[t.ACTION_TWG_DISCOVER_FEED_MENU_ENTRY_POINT_CLICK=1062]="ACTION_TWG_DISCOVER_FEED_MENU_ENTRY_POINT_CLICK",t[t.ACTION_SHOWCASE_REGWALL_3P_BUTTON_CLICK=1063]="ACTION_SHOWCASE_REGWALL_3P_BUTTON_CLICK",t[t.ACTION_SUBSCRIPTION_OFFERS_RETRY=1064]="ACTION_SUBSCRIPTION_OFFERS_RETRY",t[t.ACTION_CONTRIBUTION_OFFERS_RETRY=1065]="ACTION_CONTRIBUTION_OFFERS_RETRY",t[t.ACTION_TWG_SHORTENED_STICKER_FLOW_STICKER_SELECTION_CLICK=1066]="ACTION_TWG_SHORTENED_STICKER_FLOW_STICKER_SELECTION_CLICK",t[t.ACTION_INITIATE_UPDATED_SUBSCRIPTION_LINKING=1067]="ACTION_INITIATE_UPDATED_SUBSCRIPTION_LINKING",t[t.ACTION_SURVEY_SUBMIT_CLICK=1068]="ACTION_SURVEY_SUBMIT_CLICK",t[t.ACTION_SURVEY_CLOSED=1069]="ACTION_SURVEY_CLOSED",t[t.ACTION_SURVEY_DATA_TRANSFER=1070]="ACTION_SURVEY_DATA_TRANSFER",t[t.ACTION_REGWALL_PAGE_REFRESH=1071]="ACTION_REGWALL_PAGE_REFRESH",t[t.ACTION_NEWSLETTER_PAGE_REFRESH=1072]="ACTION_NEWSLETTER_PAGE_REFRESH",t[t.ACTION_SURVEY_PAGE_REFRESH=1073]="ACTION_SURVEY_PAGE_REFRESH",t[t.ACTION_METER_TOAST_PAGE_REFRESH=1074]="ACTION_METER_TOAST_PAGE_REFRESH",t[t.ACTION_MINI_PROMPT_INTERACTION=1075]="ACTION_MINI_PROMPT_INTERACTION",t[t.ACTION_SURVEY_PREVIOUS_BUTTON_CLICK=1076]="ACTION_SURVEY_PREVIOUS_BUTTON_CLICK",t[t.ACTION_SURVEY_NEXT_BUTTON_CLICK=1077]="ACTION_SURVEY_NEXT_BUTTON_CLICK",t[t.ACTION_REWARDED_AD_VIEW=1078]="ACTION_REWARDED_AD_VIEW",t[t.ACTION_REWARDED_AD_CLOSE=1079]="ACTION_REWARDED_AD_CLOSE",t[t.ACTION_REWARDED_AD_CLOSE_AD=1080]="ACTION_REWARDED_AD_CLOSE_AD",t[t.ACTION_REWARDED_AD_SIGN_IN=1081]="ACTION_REWARDED_AD_SIGN_IN",t[t.ACTION_REWARDED_AD_SUPPORT=1082]="ACTION_REWARDED_AD_SUPPORT",t[t.ACTION_BACK_TO_HOMEPAGE=1083]="ACTION_BACK_TO_HOMEPAGE",t[t.ACTION_BYOP_NEWSLETTER_OPT_IN_CLOSE=1084]="ACTION_BYOP_NEWSLETTER_OPT_IN_CLOSE",t[t.ACTION_BYOP_NEWSLETTER_OPT_IN_SUBMIT=1085]="ACTION_BYOP_NEWSLETTER_OPT_IN_SUBMIT",t[t.ACTION_SUBSCRIPTION_LINKING_CLOSE=1086]="ACTION_SUBSCRIPTION_LINKING_CLOSE",t[t.ACTION_BYO_CTA_CLOSE=1087]="ACTION_BYO_CTA_CLOSE",t[t.ACTION_BYO_CTA_BUTTON_CLICK=1088]="ACTION_BYO_CTA_BUTTON_CLICK",t[t.ACTION_BYO_CTA_PAGE_REFRESH=1089]="ACTION_BYO_CTA_PAGE_REFRESH",t[t.ACTION_BYOE_POP_UP_OPT_IN=1092]="ACTION_BYOE_POP_UP_OPT_IN",t[t.ACTION_ADD_PREFERRED_SOURCES_BUTTON_CLICK=1093]="ACTION_ADD_PREFERRED_SOURCES_BUTTON_CLICK",t[t.ACTION_MANAGE_PREFERRED_SOURCES=1094]="ACTION_MANAGE_PREFERRED_SOURCES",t[t.ACTION_ADD_PREFERRED_SOURCE=1095]="ACTION_ADD_PREFERRED_SOURCE",t[t.EVENT_PAYMENT_FAILED=2e3]="EVENT_PAYMENT_FAILED",t[t.EVENT_REGWALL_OPT_IN_FAILED=2001]="EVENT_REGWALL_OPT_IN_FAILED",t[t.EVENT_NEWSLETTER_OPT_IN_FAILED=2002]="EVENT_NEWSLETTER_OPT_IN_FAILED",t[t.EVENT_REGWALL_ALREADY_OPT_IN=2003]="EVENT_REGWALL_ALREADY_OPT_IN",t[t.EVENT_NEWSLETTER_ALREADY_OPT_IN=2004]="EVENT_NEWSLETTER_ALREADY_OPT_IN",t[t.EVENT_SUBSCRIPTION_LINKING_FAILED=2005]="EVENT_SUBSCRIPTION_LINKING_FAILED",t[t.EVENT_SURVEY_ALREADY_SUBMITTED=2006]="EVENT_SURVEY_ALREADY_SUBMITTED",t[t.EVENT_SURVEY_COMPLETION_RECORD_FAILED=2007]="EVENT_SURVEY_COMPLETION_RECORD_FAILED",t[t.EVENT_SURVEY_DATA_TRANSFER_FAILED=2008]="EVENT_SURVEY_DATA_TRANSFER_FAILED",t[t.EVENT_BYO_CTA_COMPLETION_RECORD_FAILED=2009]="EVENT_BYO_CTA_COMPLETION_RECORD_FAILED",t[t.EVENT_ADD_PREFERRED_SOURCE_FAILURE=2010]="EVENT_ADD_PREFERRED_SOURCE_FAILURE",t[t.EVENT_CUSTOM=3e3]="EVENT_CUSTOM",t[t.EVENT_CONFIRM_TX_ID=3001]="EVENT_CONFIRM_TX_ID",t[t.EVENT_CHANGED_TX_ID=3002]="EVENT_CHANGED_TX_ID",t[t.EVENT_GPAY_NO_TX_ID=3003]="EVENT_GPAY_NO_TX_ID",t[t.EVENT_GPAY_CANNOT_CONFIRM_TX_ID=3004]="EVENT_GPAY_CANNOT_CONFIRM_TX_ID",t[t.EVENT_GOOGLE_UPDATED=3005]="EVENT_GOOGLE_UPDATED",t[t.EVENT_NEW_TX_ID=3006]="EVENT_NEW_TX_ID",t[t.EVENT_UNLOCKED_BY_SUBSCRIPTION=3007]="EVENT_UNLOCKED_BY_SUBSCRIPTION",t[t.EVENT_UNLOCKED_BY_METER=3008]="EVENT_UNLOCKED_BY_METER",t[t.EVENT_NO_ENTITLEMENTS=3009]="EVENT_NO_ENTITLEMENTS",t[t.EVENT_HAS_METERING_ENTITLEMENTS=3010]="EVENT_HAS_METERING_ENTITLEMENTS",t[t.EVENT_OFFERED_MET
1ER=3011]="EVENT_OFFERED_METER",t[t.EVENT_UNLOCKED_FREE_PAGE=3012]="EVENT_UNLOCKED_FREE_PAGE",t[t.EVENT_INELIGIBLE_PAYWALL=3013]="EVENT_INELIGIBLE_PAYWALL",t[t.EVENT_UNLOCKED_FOR_CRAWLER=3014]="EVENT_UNLOCKED_FOR_CRAWLER",t[t.EVENT_TWG_COUNTER_VIEW=3015]="EVENT_TWG_COUNTER_VIEW",t[t.EVENT_TWG_SITE_SUPPORTER_WALL_VIEW=3016]="EVENT_TWG_SITE_SUPPORTER_WALL_VIEW",t[t.EVENT_TWG_STATIC_BUTTON_VIEW=3017]="EVENT_TWG_STATIC_BUTTON_VIEW",t[t.EVENT_TWG_DYNAMIC_BUTTON_VIEW=3018]="EVENT_TWG_DYNAMIC_BUTTON_VIEW",t[t.EVENT_TWG_PRE_TRANSACTION_PRIVACY_SETTING_PRIVATE=3019]="EVENT_TWG_PRE_TRANSACTION_PRIVACY_SETTING_PRIVATE",t[t.EVENT_TWG_POST_TRANSACTION_SETTING_PRIVATE=3020]="EVENT_TWG_POST_TRANSACTION_SETTING_PRIVATE",t[t.EVENT_TWG_PRE_TRANSACTION_PRIVACY_SETTING_PUBLIC=3021]="EVENT_TWG_PRE_TRANSACTION_PRIVACY_SETTING_PUBLIC",t[t.EVENT_TWG_POST_TRANSACTION_SETTING_PUBLIC=3022]="EVENT_TWG_POST_TRANSACTION_SETTING_PUBLIC",t[t.EVENT_REGWALL_OPTED_IN=3023]="EVENT_REGWALL_OPTED_IN",t[t.EVENT_NEWSLETTER_OPTED_IN=3024]="EVENT_NEWSLETTER_OPTED_IN",t[t.EVENT_SHOWCASE_METERING_INIT=3025]="EVENT_SHOWCASE_METERING_INIT",t[t.EVENT_DISABLE_MINIPROMPT_DESKTOP=3026]="EVENT_DISABLE_MINIPROMPT_DESKTOP",t[t.EVENT_SUBSCRIPTION_LINKING_SUCCESS=3027]="EVENT_SUBSCRIPTION_LINKING_SUCCESS",t[t.EVENT_SURVEY_SUBMITTED=3028]="EVENT_SURVEY_SUBMITTED",t[t.EVENT_LINK_ACCOUNT_SUCCESS=3029]="EVENT_LINK_ACCOUNT_SUCCESS",t[t.EVENT_SAVE_SUBSCRIPTION_SUCCESS=3030]="EVENT_SAVE_SUBSCRIPTION_SUCCESS",t[t.EVENT_SURVEY_DATA_TRANSFER_COMPLETE=3031]="EVENT_SURVEY_DATA_TRANSFER_COMPLETE",t[t.EVENT_RUNTIME_IS_READY=3032]="EVENT_RUNTIME_IS_READY",t[t.EVENT_START_API=3033]="EVENT_START_API",t[t.EVENT_SHOW_OFFERS_API=3034]="EVENT_SHOW_OFFERS_API",t[t.EVENT_SHOW_CONTRIBUTION_OPTIONS_API=3035]="EVENT_SHOW_CONTRIBUTION_OPTIONS_API",t[t.EVENT_REWARDED_AD_FLOW_INIT=3048]="EVENT_REWARDED_AD_FLOW_INIT",t[t.EVENT_REWARDED_AD_READY=3036]="EVENT_REWARDED_AD_READY",t[t.EVENT_REWARDED_AD_GPT_MISSING_ERROR=3037]="EVENT_REWARDED_AD_GPT_MISSING_ERROR",t[t.EVENT_REWARDED_AD_ADSENSE_MISSING_ERROR=3059]="EVENT_REWARDED_AD_ADSENSE_MISSING_ERROR",t[t.EVENT_REWARDED_AD_CONFIG_ERROR=3038]="EVENT_REWARDED_AD_CONFIG_ERROR",t[t.EVENT_REWARDED_AD_PAGE_ERROR=3039]="EVENT_REWARDED_AD_PAGE_ERROR",t[t.EVENT_REWARDED_AD_GPT_ERROR=3040]="EVENT_REWARDED_AD_GPT_ERROR",t[t.EVENT_REWARDED_AD_GRANTED=3041]="EVENT_REWARDED_AD_GRANTED",t[t.EVENT_REWARDED_AD_NOT_FILLED=3049]="EVENT_REWARDED_AD_NOT_FILLED",t[t.EVENT_REWARDED_AD_GPT_FILTERED=3060]="EVENT_REWARDED_AD_GPT_FILTERED",t[t.EVENT_REWARDED_AD_ADSENSE_FILTERED=3061]="EVENT_REWARDED_AD_ADSENSE_FILTERED",t[t.EVENT_GLOBAL_FREQUENCY_CAP_MET=3042]="EVENT_GLOBAL_FREQUENCY_CAP_MET",t[t.EVENT_PROMPT_FREQUENCY_CAP_MET=3043]="EVENT_PROMPT_FREQUENCY_CAP_MET",t[t.EVENT_ACTION_IMPRESSIONS_STORAGE_KEY_NOT_FOUND_ERROR=3044]="EVENT_ACTION_IMPRESSIONS_STORAGE_KEY_NOT_FOUND_ERROR",t[t.EVENT_LOCAL_STORAGE_TIMESTAMPS_PARSING_ERROR=3052]="EVENT_LOCAL_STORAGE_TIMESTAMPS_PARSING_ERROR",t[t.EVENT_FREQUENCY_CAP_CONFIG_NOT_FOUND_ERROR=3045]="EVENT_FREQUENCY_CAP_CONFIG_NOT_FOUND_ERROR",t[t.EVENT_PROMPT_FREQUENCY_CONFIG_NOT_FOUND=3053]="EVENT_PROMPT_FREQUENCY_CONFIG_NOT_FOUND",t[t.EVENT_FREQUENCY_CAP_LOCAL_STORAGE_CONFIG_ID_KEY_NOT_FOUND=3057]="EVENT_FREQUENCY_CAP_LOCAL_STORAGE_CONFIG_ID_KEY_NOT_FOUND",t[t.EVENT_BYOP_NEWSLETTER_OPT_IN_CONFIG_ERROR=3046]="EVENT_BYOP_NEWSLETTER_OPT_IN_CONFIG_ERROR",t[t.EVENT_BYOP_NEWSLETTER_OPT_IN_CODE_SNIPPET_ERROR=3047]="EVENT_BYOP_NEWSLETTER_OPT_IN_CODE_SNIPPET_ERROR",t[t.EVENT_SUBSCRIPTION_PAYMENT_COMPLETE=3050]="EVENT_SUBSCRIPTION_PAYMENT_COMPLETE",t[t.EVENT_CONTRIBUTION_PAYMENT_COMPLETE=3051]="EVENT_CONTRIBUTION_PAYMENT_COMPLETE",t[t.EVENT_PAY_PAYMENT_COMPLETE=3058]="EVENT_PAY_PAYMENT_COMPLETE",t[t.EVENT_HOSTED_PAGE_SUBSCRIPTION_PAYMENT_COMPLETE=3054]="EVENT_HOSTED_PAGE_SUBSCRIPTION_PAYMENT_COMPLETE",t[t.EVENT_HOSTED_PAGE_CONTRIBUTION_PAYMENT_COMPLETE=3055]="EVENT_HOSTED_PAGE_CONTRIBUTION_PAYMENT_COMPLETE",t[t.EVENT_COMPLETION_COUNT_FOR_REPEATABLE_ACTION_MISSING_ERROR=3056]="EVENT_COMPLETION_COUNT_FOR_REPEATABLE_ACTION_MISSING_ERROR",t[t.EVENT_BYOE_POP_UP_EMAIL_VALIDATION_ERROR=3062]="EVENT_BYOE_POP_UP_EMAIL_VALIDATION_ERROR",t[t.EVENT_BYOE_POP_UP_NAME_VALIDATION_ERROR=3063]="EVENT_BYOE_POP_UP_NAME_VALIDATION_ERROR",t[t.EVENT_TIME_BOUND_PASS_PAYMENT_COMPLETE=3064]="EVENT_TIME_BOUND_PASS_PAYMENT_COMPLETE",t[t.EVENT_GIS_INTEROP_YIELD=3065]="EVENT_GIS_INTEROP_YIELD",t[t.EVENT_GIS_INTEROP_PING_RECEIVED=3066]="EVENT_GIS_INTEROP_PING_RECEIVED",t[t.EVENT_GIS_INTEROP_WAITING_FOR_PING_ERROR=3067]="EVENT_GIS_INTEROP_WAITING_FOR_PING_ERROR",t[t.EVENT_GIS_INTEROP_LOADING_IFRAME_ERROR=3068]="EVENT_GIS_INTEROP_LOADING_IFRAME_ERROR",t[t.EVENT_GIS_INTEROP_HANDSHAKE_ESTABLISHED=3069]="EVENT_GIS_INTEROP_HANDSHAKE_ESTABLISHED",t[t.EVENT_GIS_INTEROP_OPERATION_ERROR=3070]="EVENT_GIS_INTEROP_OPERATION_ERROR",t[t.EVENT_GIS_INTEROP_TOKEN_UPDATE_START=3071]="EVENT_GIS_INTEROP_TOKEN_UPDATE_START",t[t.EVENT_GIS_INTEROP_TOKEN_UPDATE_ERROR=3072]="EVENT_GIS_INTEROP_TOKEN_UPDATE_ERROR",t[t.EVENT_GIS_INTEROP_TOKEN_UPDATED=3073]="EVENT_GIS_INTEROP_TOKEN_UPDATED",t[t.EVENT_GIS_LOGIN_ERROR=3074]="EVENT_GIS_LOGIN_ERROR",t[t.EVENT_ADD_PREFERRED_SOURCE_CONSENT_SCREEN_ADD_SOURCE_BUTTON_CLICK=3075]="EVENT_ADD_PREFERRED_SOURCE_CONSENT_SCREEN_ADD_SOURCE_BUTTON_CLICK",t[t.EVENT_ADD_PREFERRED_SOURCE_SUCCESS=3076]="EVENT_ADD_PREFERRED_SOURCE_SUCCESS",t[t.EVENT_PREFERRED_SOURCE_ALREADY_ADDED=3077]="EVENT_PREFERRED_SOURCE_ALREADY_ADDED",t[t.EVENT_SUBSCRIPTION_PLAN_CHANGE_COMPLETE=3078]="EVENT_SUBSCRIPTION_PLAN_CHANGE_COMPLETE",t[t.EVENT_PUBLISHER_RUNTIME_INSTALLED=3079]="EVENT_PUBLISHER_RUNTIME_INSTALLED",t[t.EVENT_SUBSCRIPTION_STATE=4e3]="EVENT_SUBSCRIPTION_STATE",t[t.FREE_ACCESS_EVENT_LANDING=5e3]="FREE_ACCESS_EVENT_LANDING",t[t.FREE_ACCESS_EVENT_FREE_ACCESS_PROGRAM=5001]="FREE_ACCESS_EVENT_FREE_ACCESS_PROGRAM",t[t.FREE_ACCESS_EVENT_REGWALL_IMPRESSION=5002]="FREE_ACCESS_EVENT_REGWALL_IMPRESSION",t[t.FREE_ACCESS_EVENT_UNLOCK_VIA_FREE_ACCESS_PROGRAM=5003]="FREE_ACCESS_EVENT_UNLOCK_VIA_FREE_ACCESS_PROGRAM",t[t.FREE_ACCESS_EVENT_UNLOCK_VIA_FREE_ACCESS_PROGRAM_FOR_NEW_REGISTRATION=5004]="FREE_ACCESS_EVENT_UNLOCK_VIA_FREE_ACCESS_PROGRAM_FOR_NEW_REGISTRATION",t[t.FREE_ACCESS_EVENT_UNLOCK_VIA_FREE_ACCESS_PROGRAM_FOR_USER_SIGN_IN=5005]="FREE_ACCESS_EVENT_UNLOCK_VIA_FREE_ACCESS_PROGRAM_FOR_USER_SIGN_IN",t[t.FREE_ACCESS_EVENT_UNLOCK_VIA_FREE_ACCESS_PROGRAM_FOR_USER_ALREADY_SIGNED_IN=5006]="FREE_ACCESS_EVENT_UNLOCK_VIA_FREE_ACCESS_PROGRAM_FOR_USER_ALREADY_SIGNED_IN",t[t.FREE_ACCESS_EVENT_NON_FREE_ACCESS_PROGRAM_PRE_SIGN_IN=5007]="FREE_ACCESS_EVENT_NON_FREE_ACCESS_PROGRAM_PRE_SIGN_IN",t[t.FREE_ACCESS_EVENT_NON_FREE_ACCESS_PROGRAM_POST_SIGN_IN=5008]="FREE_ACCESS_EVENT_NON_FREE_ACCESS_PROGRAM_POST_SIGN_IN",t))(l||{}),a=(t=>(t[t.UNKNOWN_CLIENT=0]="UNKNOWN_CLIENT",t[t.SWG_CLIENT=1]="SWG_CLIENT",t[t.AMP_CLIENT=2]="AMP_CLIENT",t[t.PROPENSITY_CLIENT=3]="PROPENSITY_CLIENT",t[t.SWG_SERVER=4]="SWG_SERVER",t[t.PUBLISHER_CLIENT=5]="PUBLISHER_CLIENT",t[t.SHOWCASE_CLIENT=6]="SHOWCASE_CLIENT",t))(a||{}),h=(t=>(t[t.PREFERRED_SOURCES_ADD_SOURCE_TRIGGER_UNSPECIFIED=0]="PREFERRED_SOURCES_ADD_SOURCE_TRIGGER_UNSPECIFIED",t[t.PREFERRED_SOURCES_ADD_SOURCE_TRIGGER_INFLATED_BUTTON=1]="PREFERRED_SOURCES_ADD_SOURCE_TRIGGER_INFLATED_BUTTON",t[t.PREFERRED_SOURCES_ADD_SOURCE_TRIGGER_API=2]="PREFERRED_SOURCES_ADD_SOURCE_TRIGGER_API",t))(h||{}),u=(t=>(t[t.PREFERRED_SOURCES_INSTALL_TYPE_UNSPECIFIED=0]="PREFERRED_SOURCES_INSTALL_TYPE_UNSPECIFIED",t[t.PREFERRED_SOURCES_INSTALL_TYPE_AUTO=1]="PREFERRED_SOURCES_INSTALL_TYPE_AUTO",t[t.PREFERRED_SOURCES_INSTALL_TYPE_MANUAL=2]="PREFERRED_SOURCES_INSTALL_TYPE_MANUAL",t))(u||{});class c{constructor(t=[],e=!0){const s=e?1:0;this.i=null==t[s]?null:t[s],this._=null==t[1+s]?null:t[1+s]}getStatus(){return this.i}setStatus(t){this.i=t}getSiteName(){return this._}setSiteName(t){this._=t}toArray(t=!0){const e=[this.i,this._];return t&&e.unshift(this.label()),e}label(){return"AddPreferredSourceResponse"}}class d{constructor(t=[],e=!0){const s=e?1:0;this.S=null==t[s]?null:t[s],this.R=null==t[1+s]?null:t[1+s],this.I=null==t[2+s]?null:t[2+s],this.m=null==t[3+s]?null:t[3+s],this.N=null==t[4+s]?null:t[4+s],this.v=null==t[5+s]?null:t[5+s],this.A=null==t[6+s]?null:t[6+s],this.P=null==t[7+s]?null:t[7+s],this.L=t[8+s]||[],this.D=null==t[9+s]?null:t[9+s],this.U=null==t[10+s]?null:t[10+s],this.M=null==t[11+s]?null:new m(t[11+s],e),this.G=null==t[12+s]?null:t[12+s],this.F=null==t[13+s]?null:t[13+s],this.W=null==t[14+s]?null:new m(t[14+s],e),this.B=null==t[15+s]?null:new p(t[15+s],e),this.V=null==t[16+s]?null:new m(t[16+s],e),this.Y=null==t[17+s]?null:t[17+s],this.K=null==t[18+s]?null:t[18+s]}getEmbedderOrigin(){return this.S}setEmbedderOrigin(t){this.S=t}getTransactionId(){return this.R}setTransactionId(t){this.R=t}getReferringOrigin(){return this.I}setReferringOrigin(t){this.I=t}getUtmSource(){return this.m}setUtmSource(t){this.m=t}getUtmCampaign(){return this.N}setUtmCampaign(t){this.N=t}getUtmMedium(){return this.v}setUtmMedium(t){this.v=t}getSku(){return this.A}setSku(t){this.A=t}getReadyToPay(){return this.P}setReadyToPay(t){this.P=t}
1getLabelList(){return this.L}setLabelList(t){this.L=t}getClientVersion(){return this.D}setClientVersion(t){this.D=t}getUrl(){return this.U}setUrl(t){this.U=t}getClientTimestamp(){return this.M}setClientTimestamp(t){this.M=t}getReaderSurfaceType(){return this.G}setReaderSurfaceType(t){this.G=t}getIntegrationVersion(){return this.F}setIntegrationVersion(t){this.F=t}getPageLoadBeginTimestamp(){return this.W}setPageLoadBeginTimestamp(t){this.W=t}getLoadEventStartDelay(){return this.B}setLoadEventStartDelay(t){this.B=t}getRuntimeCreationTimestamp(){return this.V}setRuntimeCreationTimestamp(t){this.V=t}getIsLockedContent(){return this.Y}setIsLockedContent(t){this.Y=t}getUrlFromMarkup(){return this.K}setUrlFromMarkup(t){this.K=t}toArray(t=!0){const e=[this.S,this.R,this.I,this.m,this.N,this.v,this.A,this.P,this.L,this.D,this.U,this.M?this.M.toArray(t):[],this.G,this.F,this.W?this.W.toArray(t):[],this.B?this.B.toArray(t):[],this.V?this.V.toArray(t):[],this.Y,this.K];return t&&e.unshift(this.label()),e}label(){return"AnalyticsContext"}}class _{constructor(t=[],e=!0){const s=e?1:0;this.H=null==t[s]?null:t[s],this.q=null==t[1+s]?null:t[1+s],this.X=null==t[2+s]?null:t[2+s]}getEventOriginator(){return this.H}setEventOriginator(t){this.H=t}getIsFromUserAction(){return this.q}setIsFromUserAction(t){this.q=t}getConfigurationId(){return this.X}setConfigurationId(t){this.X=t}toArray(t=!0){const e=[this.H,this.q,this.X];return t&&e.unshift(this.label()),e}label(){return"AnalyticsEventMeta"}}class E{constructor(t=[],e=!0){const s=e?1:0;this.J=null==t[s]?null:new d(t[s],e),this.Z=null==t[1+s]?null:t[1+s],this.tt=null==t[2+s]?null:new _(t[2+s],e),this.rt=null==t[3+s]?null:new g(t[3+s],e)}getContext(){return this.J}setContext(t){this.J=t}getEvent(){return this.Z}setEvent(t){this.Z=t}getMeta(){return this.tt}setMeta(t){this.tt=t}getParams(){return this.rt}setParams(t){this.rt=t}toArray(t=!0){const e=[this.J?this.J.toArray(t):[],this.Z,this.tt?this.tt.toArray(t):[],this.rt?this.rt.toArray(t):[]];return t&&e.unshift(this.label()),e}label(){return"AnalyticsRequest"}}class p{constructor(t=[],e=!0){const s=e?1:0;this.ot=null==t[s]?null:t[s],this.ht=null==t[1+s]?null:t[1+s]}getSeconds(){return this.ot}setSeconds(t){this.ot=t}getNanos(){return this.ht}setNanos(t){this.ht=t}toArray(t=!0){const e=[this.ot,this.ht];return t&&e.unshift(this.label()),e}label(){return"Duration"}}class T{constructor(t=[],e=!0){const s=e?1:0;this.ut=null==t[s]?null:t[s],this.ct=null==t[1+s]?null:t[1+s],this.dt=null==t[2+s]?null:t[2+s],this._t=null==t[3+s]?null:t[3+s],this.Et=null==t[4+s]?null:t[4+s],this.Tt=null==t[5+s]?null:t[5+s]}getId(){return this.ut}setId(t){this.ut=t}getLeft(){return this.ct}setLeft(t){this.ct=t}getTop(){return this.dt}setTop(t){this.dt=t}getWidth(){return this._t}setWidth(t){this._t=t}getHeight(){return this.Et}setHeight(t){this.Et=t}getDisabled(){return this.Tt}setDisabled(t){this.Tt=t}toArray(t=!0){const e=[this.ut,this.ct,this.dt,this._t,this.Et,this.Tt];return t&&e.unshift(this.label()),e}label(){return"ElementCoordinates"}}class S{constructor(t=[],e=!0){const s=e?1:0;this.St=null==t[s]?null:t[s],this.gt=null==t[1+s]?null:t[1+s]}getJwt(){return this.St}setJwt(t){this.St=t}getSource(){return this.gt}setSource(t){this.gt=t}toArray(t=!0){const e=[this.St,this.gt];return t&&e.unshift(this.label()),e}label(){return"EntitlementJwt"}}class g{constructor(t=[],e=!0){const s=e?1:0;this.Rt=null==t[s]?null:t[s],this.ft=null==t[1+s]?null:t[1+s],this.It=null==t[2+s]?null:t[2+s],this.A=null==t[3+s]?null:t[3+s],this.bt=null==t[4+s]?null:t[4+s],this.Ot=null==t[5+s]?null:t[5+s],this.Nt=null==t[6+s]?null:t[6+s],this.Ct=null==t[7+s]?null:new m(t[7+s],e),this.vt=null==t[8+s]?null:t[8+s],this.At=null==t[9+s]?null:t[9+s],this.Pt=null==t[10+s]?null:t[10+s],this.wt=null==t[11+s]?null:t[11+s],this.yt=null==t[12+s]?null:t[12+s],this.Lt=null==t[13+s]?null:t[13+s],this.Dt=null==t[14+s]?null:t[14+s],this.Ut=null==t[15+s]?null:t[15+s],this.xt=null==t[16+s]?null:t[16+s],this.Mt=null==t[17+s]?null:t[17+s],this.Gt=null==t[18+s]?null:t[18+s]}getSmartboxMessage(){return this.Rt}setSmartboxMessage(t){this.Rt=t}getGpayTransactionId(){return this.ft}setGpayTransactionId(t){this.ft=t}getHadLogged(){return this.It}setHadLogged(t){this.It=t}getSku(){return this.A}setSku(t){this.A=t}getOldTransactionId(){return this.bt}setOldTransactionId(t){this.bt=t}getIsUserRegistered(){return this.Ot}setIsUserRegistered(t){this.Ot=t}getSubscriptionFlow(){return this.Nt}setSubscriptionFlow(t){this.Nt=t}getSubscriptionTimestamp(){return this.Ct}setSubscriptionTimestamp(t){this.Ct=t}getCampaignId(){return this.vt}setCampaignId(t){this.vt=t}getLinkedPublicationsCount(){return this.At}setLinkedPublicationsCount(t){this.At=t}getCtaMode(){return this.Pt}setCtaMode(t){this.Pt=t}getOptInType(){return this.wt}setOptInType(t){this.wt=t}getEmailValidationStatus(){return this.yt}
1setEmailValidationStatus(t){this.yt=t}getGisMode(){return this.Lt}setGisMode(t){this.Lt=t}getAddPreferredSourceStatus(){return this.Dt}setAddPreferredSourceStatus(t){this.Dt=t}getCanonicalUrl(){return this.Ut}setCanonicalUrl(t){this.Ut=t}getUvSiteChunk(){return this.xt}setUvSiteChunk(t){this.xt=t}getPreferredSourcesInstallType(){return this.Mt}setPreferredSourcesInstallType(t){this.Mt=t}getPreferredSourcesAddSourceTrigger(){return this.Gt}setPreferredSourcesAddSourceTrigger(t){this.Gt=t}toArray(t=!0){const e=[this.Rt,this.ft,this.It,this.A,this.bt,this.Ot,this.Nt,this.Ct?this.Ct.toArray(t):[],this.vt,this.At,this.Pt,this.wt,this.yt,this.Lt,this.Dt,this.Ut,this.xt,this.Mt,this.Gt];return t&&e.unshift(this.label()),e}label(){return"EventParams"}}class R{constructor(t=[],e=!0){const s=e?1:0;this.kt=null==t[s]?null:t[s],this.Ft=null==t[1+s]?null:t[1+s]}getComplete(){return this.kt}setComplete(t){this.kt=t}getError(){return this.Ft}setError(t){this.Ft=t}toArray(t=!0){const e=[this.kt,this.Ft];return t&&e.unshift(this.label()),e}label(){return"FinishedLoggingResponse"}}class f{constructor(t=[],e=!0){const s=e?1:0;this.Wt=null==t[s]?null:t[s],this.Bt=null==t[1+s]?null:t[1+s],this.Vt=null==t[2+s]?null:t[2+s]}getSuccess(){return this.Wt}setSuccess(t){this.Wt=t}getSwgPublicationId(){return this.Bt}setSwgPublicationId(t){this.Bt=t}getPublisherProvidedId(){return this.Vt}setPublisherProvidedId(t){this.Vt=t}toArray(t=!0){const e=[this.Wt,this.Bt,this.Vt];return t&&e.unshift(this.label()),e}label(){return"SubscriptionLinkingLinkResult"}}class I{constructor(t=[],e=!0){const s=e?1:0;this.Yt=null==t[s]?null:t[s],this.zt=null==t[1+s]?null:t[1+s],this.Kt=null==t[2+s]?null:t[2+s],this.jt=null==t[3+s]?null:t[3+s]}getAnswerId(){return this.Yt}setAnswerId(t){this.Yt=t}getAnswerText(){return this.zt}setAnswerText(t){this.zt=t}getAnswerCategory(){return this.Kt}setAnswerCategory(t){this.Kt=t}getPpsValue(){return this.jt}setPpsValue(t){this.jt=t}toArray(t=!0){const e=[this.Yt,this.zt,this.Kt,this.jt];return t&&e.unshift(this.label()),e}label(){return"SurveyAnswer"}}class b{constructor(t=[],e=!0){const s=e?1:0;this.Ht=null==t[s]?null:t[s],this.qt=null==t[1+s]?null:t[1+s],this.$t=null==t[2+s]?null:t[2+s],this.Qt=(t[3+s]||[]).map(t=>new I(t,e))}getQuestionId(){return this.Ht}setQuestionId(t){this.Ht=t}getQuestionText(){return this.qt}setQuestionText(t){this.qt=t}getQuestionCategory(){return this.$t}setQuestionCategory(t){this.$t=t}getSurveyAnswersList(){return this.Qt}setSurveyAnswersList(t){this.Qt=t}toArray(t=!0){const e=[this.Ht,this.qt,this.$t,this.Qt?this.Qt.map(e=>e.toArray(t)):[]];return t&&e.unshift(this.label()),e}label(){return"SurveyQuestion"}}class m{constructor(t=[],e=!0){const s=e?1:0;this.ot=null==t[s]?null:t[s],this.ht=null==t[1+s]?null:t[1+s]}getSeconds(){return this.ot}setSeconds(t){this.ot=t}getNanos(){return this.ht}setNanos(t){this.ht=t}toArray(t=!0){const e=[this.ot,this.ht];return t&&e.unshift(this.label()),e}label(){return"Timestamp"}}const O={AccountCreationRequest:class{constructor(t=[],e=!0){const s=e?1:0;this.kt=null==t[s]?null:t[s]}getComplete(){return this.kt}setComplete(t){this.kt=t}toArray(t=!0){const e=[this.kt];return t&&e.unshift(this.label()),e}label(){return"AccountCreationRequest"}},ActionRequest:class{constructor(t=[],e=!0){const s=e?1:0;this.Xt=null==t[s]?null:t[s]}getAction(){return this.Xt}setAction(t){this.Xt=t}toArray(t=!0){const e=[this.Xt];return t&&e.unshift(this.label()),e}label(){return"ActionRequest"}},AddPreferredSourceRequest:class{constructor(t=[],e=!0){const s=e?1:0;this.Jt=null==t[s]?null:t[s]}getUnused(){return this.Jt}setUnused(t){this.Jt=t}toArray(t=!0){const e=[this.Jt];return t&&e.unshift(this.label()),e}label(){return"AddPreferredSourceRequest"}},AddPreferredSourceResponse:c,AlreadySubscribedResponse:class{constructor(t=[],e=!0){const s=e?1:0;this.Zt=null==t[s]?null:t[s],this.ee=null==t[1+s]?null:t[1+s]}getSubscriberOrMember(){return this.Zt}setSubscriberOrMember(t){this.Zt=t}getLinkRequested(){return this.ee}setLinkRequested(t){this.ee=t}toArray(t=!0){const e=[this.Zt,this.ee];return t&&e.unshift(this.label()),e}label(){return"AlreadySubscribedResponse"}},AnalyticsContext:d,AnalyticsEventMeta:_,AnalyticsRequest:E,AudienceActivityClientLogsRequest:class{constructor(t=[],e=!0){const s=e?1:0;this.Z=null==t[s]?null:t[s]}getEvent(){return this.Z}setEvent(t){this.Z=t}toArray(t=!0){const e=[this.Z];return t&&e.unshift(this.label()),e}label(){return"AudienceActivityClientLogsRequest"}},CloseWindowRequest:class{constructor(t=[],e=!0){const s=e?1:0;this.Jt=null==t[s]?null:t[s]}getUnused(){return this.Jt}setUnused(t){this.Jt=t}toArray(t=!0){const e=[this.Jt];return t&&e.unshift(this.label()),e}label(){return"CloseWindowRequest"}},CompleteAudienceActionResponse:class{constructor(t=[],e=!0){const s=e?1:0;this.se=null==t[s]?null:t[s],this.ie=null==t[1+s]?null:t[1+s],this.ne=null==t[2+s]?null:t[2+s],this.re=null==t[3+s]?null:t[3+s],this.oe=null==t[4+s]?null:t[4+s],this.le=null==t[5+s]?null:t[5+s],this.ae=null==t[6+s]?null:t[6+s],this.he=null==t[7+s]?null:t[7+s]}getSwgUserToken(){return this.se}setSwgUserToken(t){this.se=t}getActionCompleted(){return this.ie}setActionCompleted(t){this.ie=t}getUserEmail(){return this.ne}setUserEmail(t){this.ne=t}getAlreadyCompleted(){return this.re}setAlreadyCompleted(t){this.re=t}getDisplayName(){return this.oe}setDisplayName(t){this.oe=t}getGivenName(){return this.le}setGivenName(t){this.le=t}getFamilyName(){return this.ae}setFamilyName(t){this.ae=t}getTermsAndConditionsConsent(){return this.he}setTermsAndConditionsConsent(t){this.he=t}toArray(t=!0){const e=[this.se,this.ie,this.ne,this.re,this.oe,this.le,this.ae,this.he];return t&&e.unshift(this.label()),e}label(){return"CompleteAudienceActionResponse"}},Duration:p,ElementCoordinates:T,EntitlementJwt:S,EntitlementsRequest:class{constructor(t=[],e=!0){const s=e?1:0;this.ue=null==t[s]?null:new S(t[s],e),this.ce=null==t[1+s]?null:new m(t[1+s],e),this._e=null==t[2+s]?null:t[2+s],this.Ee=null==t[3+s]?null:t[3+s],this.pe=null==t[4+s]?null:t[4+s],this.Ot=null==t[5+s]?null:t[5+s],this.Ct=null==t[6+s]?null:new m(t[6+s],e)}getUsedEntitlement(){return this.ue}setUsedEntitlement(t){this.ue=t}getClientEventTime(){return this.ce}setClientEventTime(t){this.ce=t}getEntitlementSource(){return this._e}setEntitlementSource(t){this._e=t}getEntitlementResult(){return this.Ee}setEntitlementResult(t){this.Ee=t}getToken(){return this.pe}setToken(t){this.pe=t}getIsUserRegistered(){return this.Ot}setIsUserRegistered(t){this.Ot=t}getSubscriptionTimestamp(){return this.Ct}setSubscriptionTimestamp(t){this.Ct=t}toArray(t=!0){const e=[this.ue?this.ue.toArray(t):[],this.ce?this.ce.toArray(t):[],this._e,this.Ee,this.pe,this.Ot,this.Ct?this.Ct.toArray(t):[]];return t&&e.unshift(this.label()),e}label(){return"EntitlementsRequest"}},EntitlementsResponse:class{constructor(t=[],e=!0){const s=e?1:0;this.St=null==t[s]?null:t[s],this.se=null==t[1+s]?null:t[1+s]}getJwt(){return this.St}setJwt(t){this.St=t}getSwgUserToken(){return this.se}setSwgUserToken(t){this.se=t}toArray(t=!0){const e=[this.St,this.se];return t&&e.unshift(this.label()),e}label(){return"EntitlementsResponse"}}
1,EventParams:g,FinishedLoggingResponse:R,GisSignIn:class{constructor(t=[],e=!0){const s=e?1:0;this.se=null==t[s]?null:t[s]}getSwgUserToken(){return this.se}setSwgUserToken(t){this.se=t}toArray(t=!0){const e=[this.se];return t&&e.unshift(this.label()),e}label(){return"GisSignIn"}},LinkSaveTokenRequest:class{constructor(t=[],e=!0){const s=e?1:0;this.Te=null==t[s]?null:t[s],this.pe=null==t[1+s]?null:t[1+s]}getAuthCode(){return this.Te}setAuthCode(t){this.Te=t}getToken(){return this.pe}setToken(t){this.pe=t}toArray(t=!0){const e=[this.Te,this.pe];return t&&e.unshift(this.label()),e}label(){return"LinkSaveTokenRequest"}},LinkingInfoResponse:class{constructor(t=[],e=!0){const s=e?1:0;this.Se=null==t[s]?null:t[s]}getRequested(){return this.Se}setRequested(t){this.Se=t}toArray(t=!0){const e=[this.Se];return t&&e.unshift(this.label()),e}label(){return"LinkingInfoResponse"}},LoginButtonCoordinates:class{constructor(t=[],e=!0){const s=e?1:0;this.ge=(t[s]||[]).map(t=>new T(t,e))}getLoginButtonCoordinatesList(){return this.ge}setLoginButtonCoordinatesList(t){this.ge=t}toArray(t=!0){const e=[this.ge?this.ge.map(e=>e.toArray(t)):[]];return t&&e.unshift(this.label()),e}label(){return"LoginButtonCoordinates"}},OpenDialogRequest:class{constructor(t=[],e=!0){const s=e?1:0;this.Re=null==t[s]?null:t[s]}getUrlPath(){return this.Re}setUrlPath(t){this.Re=t}toArray(t=!0){const e=[this.Re];return t&&e.unshift(this.label()),e}label(){return"OpenDialogRequest"}},RewardedAdAlternateActionRequest:class{constructor(t=[],e=!0){const s=e?1:0;this.Jt=null==t[s]?null:t[s]}getUnused(){return this.Jt}setUnused(t){this.Jt=t}toArray(t=!0){const e=[this.Jt];return t&&e.unshift(this.label()),e}label(){return"RewardedAdAlternateActionRequest"}},RewardedAdLoadAdRequest:class{constructor(t=[],e=!0){const s=e?1:0;this.fe=null==t[s]?null:t[s]}getAdUnit(){return this.fe}setAdUnit(t){this.fe=t}toArray(t=!0){const e=[this.fe];return t&&e.unshift(this.label()),e}label(){return"RewardedAdLoadAdRequest"}},RewardedAdLoadAdResponse:class{constructor(t=[],e=!0){const s=e?1:0;this.Wt=null==t[s]?null:t[s]}getSuccess(){return this.Wt}setSuccess(t){this.Wt=t}toArray(t=!0){const e=[this.Wt];return t&&e.unshift(this.label()),e}label(){return"RewardedAdLoadAdResponse"}},RewardedAdViewAdRequest:class{constructor(t=[],e=!0){const s=e?1:0;this.fe=null==t[s]?null:t[s]}getAdUnit(){return this.fe}setAdUnit(t){this.fe=t}toArray(t=!0){const e=[this.fe];return t&&e.unshift(this.label()),e}label(){return"RewardedAdViewAdRequest"}},SkuSelectedResponse:class{constructor(t=[],e=!0){const s=e?1:0;this.A=null==t[s]?null:t[s],this.Ie=null==t[1+s]?null:t[1+s],this.be=null==t[2+s]?null:t[2+s],this.me=null==t[3+s]?null:t[3+s],this.Oe=null==t[4+s]?null:t[4+s],this.Ne=null==t[5+s]?null:t[5+s],this.Ce=null==t[6+s]?null:t[6+s],this.ve=null==t[7+s]?null:t[7+s]}getSku(){return this.A}setSku(t){this.A=t}getOldSku(){return this.Ie}setOldSku(t){this.Ie=t}getOneTime(){return this.be}setOneTime(t){this.be=t}getPlayOffer(){return this.me}setPlayOffer(t){this.me=t}getOldPlayOffer(){return this.Oe}setOldPlayOffer(t){this.Oe=t}getCustomMessage(){return this.Ne}setCustomMessage(t){this.Ne=t}getAnonymous(){return this.Ce}setAnonymous(t){this.Ce=t}getSharingPolicyEnabled(){return this.ve}setSharingPolicyEnabled(t){this.ve=t}toArray(t=!0){const e=[this.A,this.Ie,this.be,this.me,this.Oe,this.Ne,this.Ce,this.ve];return t&&e.unshift(this.label()),e}label(){return"SkuSelectedResponse"}},SmartBoxMessage:class{constructor(t=[],e=!0){const s=e?1:0;this.Ae=null==t[s]?null:t[s]}getIsClicked(){return this.Ae}setIsClicked(t){this.Ae=t}toArray(t=!0){const e=[this.Ae];return t&&e.unshift(this.label()),e}label(){return"SmartBoxMessage"}},StartGisSignIn:class{constructor(t=[],e=!0){const s=e?1:0;this.Jt=null==t[s]?null:t[s]}getUnused(){return this.Jt}setUnused(t){this.Jt=t}toArray(t=!0){const e=[this.Jt];return t&&e.unshift(this.label()),e}label(){return"StartGisSignIn"}},SubscribeResponse:class{constructor(t=[],e=!0){const s=e?1:0;this.Pe=null==t[s]?null:t[s]}getSubscribe(){return this.Pe}setSubscribe(t){this.Pe=t}toArray(t=!0){const e=[this.Pe];return t&&e.unshift(this.label()),e}label(){return"SubscribeResponse"}},SubscriptionLinkingCompleteResponse:class{constructor(t=[],e=!0){const s=e?1:0;this.Vt=null==t[s]?null:t[s],this.Wt=null==t[1+s]?null:t[1+s],this.we=(t[2+s]||[]).map(t=>new f(t,e))}getPublisherProvidedId(){return this.Vt}setPublisherProvidedId(t){this.Vt=t}getSuccess(){return this.Wt}setSuccess(t){this.Wt=t}getLinkResultsList(){return this.we}setLinkResultsList(t){this.we=t}toArray(t=!0){const e=[this.Vt,this.Wt,this.we?this.we.map(e=>e.toArray(t)):[]];return t&&e.unshift(this.label()),e}label(){return"SubscriptionLinkingCompleteResponse"}},SubscriptionLinkingLinkResult:f,SubscriptionLinkingResponse:class{constructor(t=[],e=!0){const s=e?1:0;this.Vt=null==t[s]?null:t[s]}getPublisherProvidedId(){return this.Vt}setPublisherProvidedId(t){this.Vt=t}toArray(t=!0){const e=[this.Vt];return t&&e.unshift(this.label()),e}label(){return"SubscriptionLinkingResponse"}},SurveyAnswer:I,SurveyDataTransferRequest:class{constructor(t=[],e=!0){const s=e?1:0;this.ye=(t[s]||[]).map(t=>new b(t,e)),this.Le=null==t[1+s]?null:t[1+s]}getSurveyQuestionsList(){return this.ye}setSurveyQuestionsList(t){this.ye=t}getStorePpsInLocalStorage(){return this.Le}setStorePpsInLocalStorage(t){this.Le=t}toArray(t=!0){const e=[this.ye?this.ye.map(e=>e.toArray(t)):[],this.Le];return t&&e.unshift(this.label()),e}label(){return"SurveyDataTransferRequest"}},SurveyDataTransferResponse:class{constructor(t=[],e=!0){const s=e?1:0;this.Wt=null==t[s]?null:t[s]}getSuccess(){return this.Wt}setSuccess(t){this.Wt=t}toArray(t=!0){const e=[this.Wt];return t&&e.unshift(this.label()),e}label(){return"SurveyDataTransferResponse"}},SurveyQuestion:b,Timestamp:m,ToastCloseRequest:class{constructor(t=[],e=!0){const s=e?1:0;this.De=null==t[s]?null:t[s]}getClose(){return this.De}setClose(t){this.De=t}toArray(t=!0){const e=[this.De];return t&&e.unshift(this.label()),e}label(){return"ToastCloseRequest"}},UpdateAddPreferredSourceButtonRequest:class{constructor(t=[],e=!0){const s=e?1:0;this.i=null==t[s]?null:t[s]}getStatus(){return this.i}setStatus(t){this.i=t}toArray(t=!0){const e=[this.i];return t&&e.unshift(this.label()),e}label(){return"UpdateAddPreferredSourceButtonRequest"}},ViewSubscriptionsResponse:class{constructor(t=[],e=!0){const s=e?1:0;this.Ue=null==t[s]?null:t[s]}getNative(){return this.Ue}setNative(t){this.Ue=t}toArray(t=!0){const e=[this.Ue];return t&&e.unshift(this.label()),e}label(){return"ViewSubscriptionsResponse"}}};function N(t){const e=t?t[0]:null;if(e){const s=O[e];if(s)return new s(t)}throw new Error("Deserialization failed for ".concat(t))}function C(t){return t.prototype.label()}var v=(t=>(t.TYPE_REGISTRATION_WALL="TYPE_REGISTRATION_WALL",t.TYPE_NEWSLETTER_SIGNUP="TYPE_NEWSLETTER_SIGNUP",t.TYPE_REWARDED_SURVEY="TYPE_REWARDED_SURVEY",t.TYPE_REWARDED_AD="TYPE_REWARDED_AD",t.TYPE_CONTRIBUTION="TYPE_CONTRIBUTION",t.TYPE_SUBSCRIPTION="TYPE_SUBSCRIPTION",t.TYPE_BYO_CTA="TYPE_BYO_CTA",t))(v||{});function A(...t){console.log(...t)}const P=self.document.createElement("a"),w={};function y(t){const e=w[t];if(e)return e;const s=function(t,e){t.href=e;const s={href:t.href,protocol:t.protocol,host:t.host,hostname:t.hostname,port:"0"==t.port?"":t.port,pathname:t.pathname,search:t.search,hash:t.hash,origin:t.protocol+"//"+t.host};return t.origin&&"null"!==t.origin?s.origin=t.origin:"data:"!==s.protocol&&s.host||(s.origin=s.href),s}(P,t);return w[t]=s}function L(t){return t?(/^[?#]/.test(t)?t.slice(1):t).split("&").reduce((t,e)=>{const s=e.split("=");try{const e=decodeURIComponent(s[0]||""),i=decodeURIComponent(s[1]||"");e&&(t[e]=i)}catch{!function(...t){console.warn(...t)}("SwG could not parse a URL query param: ".concat(s[0]))}return t},{}):{}}function D(t,e,s){const i=t.indexOf("?"),n=t.indexOf("#");let r="";return-1!=n&&(r=t.substring(n),t=t.substring(0,n)),-1==i?t+="?":i<t.length-1&&(t+="&"),(t+=encodeURIComponent(e)+"="+encodeURIComponent(s))+r}function U(t){const e=t.getRootNode().querySelector("link[rel='canonical']");return null==e?void 0:e.href}function x(t){const e=t.getRootNode();return U(t)||e.location.origin+e.location.pathname}y(self.window.location.href),y(self.document.referrer),v.TYPE_SUBSCRIPTION,v.TYPE_CONTRIBUTION,v.TYPE_REGISTRATION_WALL,v.TYPE_NEWSLETTER_SIGNUP,v.TYPE_REWARDED_SURVEY,v.TYPE_BYO_CTA,v.TYPE_REWARDED_AD;
1const M="iframe",G="popup",k="redirect",F="failed";class W{constructor(t,e,s,i,n,r){this.code=t,this.data="ok"==t?e:null,this.mode=s,this.origin=i,this.originVerified=n,this.secureChannel=r,this.ok="ok"==t,this.error=t==F?new Error(String(e)||""):null}}const B="AbortError";let V;function Y(t){return function(t){if(t.origin)return t.origin;const e=t.protocol;let s=t.host;return"https:"==e&&s.indexOf(":443")==s.length-4?s=s.replace(":443",""):"http:"==e&&s.indexOf(":80")==s.length-3&&(s=s.replace(":80","")),e+"//"+s}(function(t){return V||(V=document.createElement("a")),V.href=t,V}(t))}function z(t,e,s){if(e.ok)s(e);else{const i=e.error||function(t){const e="AbortError";let s=null;if("function"==typeof t.DOMException){const n=t.DOMException;try{s=new n(e,B)}catch(i){}}return s||(s=new Error(e),s.name=B,s.code=20),s}(t);i.activityResult=e,s(Promise.reject(i))}}function K(t){const e=t.navigator;return/Trident|MSIE|IEMobile/i.test(e&&e.userAgent)}function j(t){const e=t.navigator;return/Edge/i.test(e&&e.userAgent)}const H="__ACTIVITIES__";class q{constructor(t,e,s,i){this.xe=t,this.Me=e,this.Ge=s,this.ke=i,this.Fe=null,this.We=!1,this.Be=null,this.Ve=null,this.Ye=null,this.ze=null,this.Ke=this.je.bind(this)}connect(t){if(this.Ve)throw new Error("already connected");this.Ve=t,this.xe.addEventListener("message",this.Ke)}disconnect(){if(this.Ve&&(this.Ve=null,this.Be&&($(this.Be),this.Be=null),this.xe.removeEventListener("message",this.Ke),this.ze)){for(const t in this.ze){const e=this.ze[t];e.port1&&$(e.port1),e.port2&&$(e.port2)}this.ze=null}}isConnected(){return null!=this.Ge}getTarget(){const t=this.He();if(!t)throw new Error("not connected");return t}He(){return this.Ve&&!this.Fe&&("function"==typeof this.Me?this.Fe=this.Me():this.Fe=this.Me),this.Fe}getTargetOrigin(){if(null==this.Ge)throw new Error("not connected");return this.Ge}sendConnectCommand(){const t=K(this.xe)||j(this.xe);this.sendCommand("connect",{acceptsChannel:t})}sendStartCommand(t){let e=null;this.We&&"function"==typeof this.xe.MessageChannel&&(e=new this.xe.MessageChannel),e?(this.sendCommand("start",t,[e.port2]),this.qe(e.port1)):this.sendCommand("start",t)}sendCommand(t,e,s){const i={sentinel:H,cmd:t,payload:e||null};if(this.Be)this.Be.postMessage(i,s||void 0);else{const e=this.getTarget(),n="connect"==t?null!=this.Ge?this.Ge:"*":this.getTargetOrigin();e.postMessage(i,n,s||void 0)}}customMessage(t){this.sendCommand("msg",t)}onCustomMessage(t){this.Ye=t}startChannel(t){const e=t||"",s=this.$e(e);if(!s.port1){const t=new this.xe.MessageChannel;s.port1=t.port1,s.port2=t.port2,s.resolver(s.port1)}return s.port2&&(this.sendCommand("cnset",{name:e},[s.port2]),s.port2=null),s.promise}askChannel(t){const e=t||"",s=this.$e(e);return s.port1||this.sendCommand("cnget",{name:e}),s.promise}Qe(t,e){const s=this.$e(t);s.port1=e,s.resolver(e)}$e(t){this.ze||(this.ze={});let e=this.ze[t];if(!e){let s;const i=new Promise(t=>{s=t});e={port1:null,port2:null,resolver:s,promise:i},this.ze[t]=e}return e}qe(t){this.Be&&$(this.Be),this.Be=t,this.Be.onmessage=t=>{const e=t.data,s=e&&e.cmd,i=e&&e.payload||null;s&&this.Xe(s,i,t)}}je(t){if(this.ke&&this.He()!=t.source)return;const e=t.data;if(!e||e.sentinel!=H)return;const s=e.cmd;if(this.Be&&"connect"!=s&&"start"!=s)return;const i=t.origin,n=e.payload||null;null==this.Ge&&"start"==s&&(this.Ge=i),null==this.Ge&&t.source&&this.He()==t.source&&(this.Ge=i),i==this.Ge&&this.Xe(s,n,t)}Xe(t,e,s){if("connect"==t)this.Be&&($(this.Be),this.Be=null),this.We=e&&e.acceptsChannel||!1,this.Ve(t,e);else if("start"==t){const i=s.ports&&s.ports[0];i&&this.qe(i),this.Ve(t,e)}else if("msg"==t)null!=this.Ye&&null!=e&&this.Ye(e);else if("cnget"==t){const t=e.name;this.startChannel(t)}else if("cnset"==t){const t=e.name,i=s.ports[0];this.Qe(t,i)}else this.Ve(t,e)}}function $(t){try{t.close()}catch(e){}}let Q=class{constructor(t,e,s){this.Je=t,this.U=e,this.Ze=s||null,this.xe=this.Je.ownerDocument.defaultView,this.Ge=Y(e),this.ts=!1,this.ss=null,this.ns=new Promise(t=>{this.ss=t}),this.rs=null,this.ls=new Promise(t=>{this.rs=t}),this.hs=null,this.us=new Promise(t=>{this.hs=t}),this.ds=null,this._s=null,this.Es=new q(this.xe,()=>this.Je.contentWindow,this.Ge,!0)}getMode(){return M}connect(){if(!function(t){if("isConnected"in t)return t.isConnected;const e=t.ownerDocument&&t.ownerDocument.documentElement;return e&&e.contains(t)||!1}(this.Je))throw new Error("iframe must be in DOM");return this.Es.connect(this.Xe.bind(this)),this.Je.src=this.U,this.ns}disconnect(){this.ts=!1,this.Es.disconnect()}acceptResult(){return this.us}getTargetWin(){return this.Je.contentWindow||null}message(t){this.Es.customMessage(t)}onMessage(t){this.Es.onCustomMessage(t)}
1messageChannel(t){return this.Es.askChannel(t)}whenReady(){return this.ls}onResizeRequest(t){this.ds=t,Promise.resolve().then(()=>{null!=this._s&&t(this._s)})}resized(){if(!this.ts)return;const t=this.Je.offsetHeight;this.Es.sendCommand("resized",{height:t})}Xe(t,e){if("connect"==t)this.ts=!0,this.Es.sendStartCommand(this.Ze),this.ss();else if("result"==t){if(this.hs){const t=e.code,s=t==F?new Error(e.data||""):e.data,i=new W(t,s,M,this.Es.getTargetOrigin(),!0,!0);z(this.xe,i,this.hs),this.hs=null,this.Es.sendCommand("close"),this.disconnect()}}else"ready"==t?this.rs&&(this.rs(),this.rs=null):"resize"==t&&(this._s=e.height,this.ds&&this.ds(this._s))}};class X{constructor(t,e,s,i,n,r){if(!i||"_blank"!=i&&"_top"!=i&&"_"==i[0])throw new Error('The only allowed targets are "_blank", "_top" and name targets');this.xe=t,this.ps=e,this.U=s,this.Ts=i,this.Ze=n||null,this.Ss=r||{},this.ss=null,this.ns=new Promise(t=>{this.ss=t}),this.hs=null,this.us=new Promise(t=>{this.hs=t}),this.gs=null,this.Rs=null,this.Es=null}getMode(){return"_top"==this.Ts?k:G}open(){return this.fs()}whenConnected(){return this.ns}disconnect(){if(this.Rs&&(this.xe.clearInterval(this.Rs),this.Rs=null),this.Es&&(this.Es.disconnect(),this.Es=null),this.gs){try{this.gs.close()}catch(t){}this.gs=null}this.hs=null}getTargetWin(){return this.gs}acceptResult(){return this.us}message(t){this.Es.customMessage(t)}onMessage(t){this.Es.onCustomMessage(t)}
1messageChannel(t){return this.Es.askChannel(t)}fs(){const t=this.Is();let e,s=this.U;if(!this.Ss.skipRequestInUrl){const t=this.Ss.returnUrl||function(t){const e=t.indexOf("#");return-1==e?t:t.substring(0,e)}(this.xe.location.href);s=function(t,e,s){return t+(-1==t.indexOf("#")?"#":"&")+encodeURIComponent("__WA__")+"="+encodeURIComponent(s)}(s,0,function(t){const e={requestId:t.requestId,returnUrl:t.returnUrl,args:t.args};return void 0!==t.origin&&(e.origin=t.origin),void 0!==t.originVerified&&(e.originVerified=t.originVerified),JSON.stringify(e)}({requestId:this.ps,returnUrl:t,args:this.Ze}))}let i=this.Ts;"_top"!=i&&K(this.xe)&&(i="_top");try{e=this.xe.open(s,i,t)}catch(n){}if(!e&&"_top"!=i&&!this.Ss.disableRedirectFallback){i="_top";try{e=this.xe.open(s,i)}catch(n){}}return e?(this.gs=e,"_top"!=i&&this.bs()):this.Os(new Error("failed to open window")),this.us.catch(()=>{})}Is(){const t=this.xe.screen,e=t.availWidth||t.width,s=t.availHeight||t.height,i=this.Ns(),n=j(this.xe),r=i&&this.xe.outerWidth>this.xe.innerWidth?Math.min(100,this.xe.outerWidth-this.xe.innerWidth):n?100:0,o=i&&this.xe.outerHeight>this.xe.innerHeight?Math.min(100,this.xe.outerHeight-this.xe.innerHeight):n?100:0,l=Math.max(e-r,.5*e),a=Math.max(s-o,.5*s);let h=Math.floor(Math.min(600,.9*l)),u=Math.floor(Math.min(600,.9*a));this.Ss.width&&(h=Math.min(this.Ss.width,l)),this.Ss.height&&(u=Math.min(this.Ss.height,a));const c=Math.floor((t.width-h)/2),d=Math.floor((t.height-u)/2),_={height:u,width:h,resizable:"yes",scrollbars:"yes"};n||(_.left=c,_.top=d);let E="";for(const p in _)E&&(E+=","),E+="".concat(p,"=").concat(_[p]);return E}Ns(){return this.xe==this.xe.top}bs(){this.Rs=this.xe.setInterval(()=>{this.Cs(!0)},500),this.Es=new q(this.xe,this.gs,null,!0),this.Es.connect(this.Xe.bind(this))}Cs(t){this.gs&&!this.gs.closed||(this.Rs&&(this.xe.clearInterval(this.Rs),this.Rs=null),this.xe.setTimeout(()=>{try{this.vs("canceled",null)}catch(t){this.Os(t)}},t?3e3:0))}Os(t){this.hs&&this.hs(Promise.reject(t)),this.disconnect()}vs(t,e){if(this.hs){const s=this.Es.isConnected(),i=new W(t,e,G,s?this.Es.getTargetOrigin():Y(this.U),s,s);z(this.xe,i,this.hs),this.hs=null}this.Es&&this.Es.sendCommand("close"),this.disconnect()}Xe(t,e){if("connect"==t)this.Es.sendStartCommand(this.Ze),this.ss();else if("result"==t){const t=e.code,s=t==F?new Error(e.data||""):e.data;this.vs(t,s)}else"check"==t&&this.xe.setTimeout(()=>this.Cs(),200)}}class J{constructor(t,e,s,i,n){this.xe=t,this.As=e,this.Ps=s,this.Ge=i,this.ws=n}getMode(){return k}acceptResult(){const t=new W(this.As,this.Ps,k,this.Ge,this.ws,!1);return new Promise(e=>{z(this.xe,t,e)})}}var Z=class{constructor(t){this.version="1.24",this.xe=t,this.ys=t.location.hash,this.Ls={},this.Ds={},this.Us=null,this.xs=new Promise(t=>{this.Us=t})}openIframe(t,e,s){const i=new Q(t,e,s);return i.connect().then(()=>i)}open(t,e,s,i,n){return{targetWin:this.Ms(t,e,s,i,n).getTargetWin()}}openWithMessaging(t,e,s,i,n){const r=this.Ms(t,e,s,i,n);return r.whenConnected().then(()=>r)}onResult(t,e){let s=this.Ls[t];s||(s=[],this.Ls[t]=s),s.push(e);const i=this.Gs(t);i&&this.ks(i,e)}onRedirectError(t){this.xs.then(t)}Ms(t,e,s,i,n){const r=new X(this.xe,t,e,s,i,n);return r.open().then(()=>{this.Fs(t,r)}),r}Gs(t){let e=this.Ds[t];if(!e&&this.ys){try{e=function(t,e,s){const i="__WA_RES__",n=(r=i,(o=e,o?(/^[?#]/.test(o)?o.slice(1):o).split("&").reduce((t,e)=>{const s=e.split("="),i=decodeURIComponent(s[0]||""),n=decodeURIComponent(s[1]||"");return i&&(t[i]=n),t},{}):{})[r]);var r,o;if(!n)return null;const l=JSON.parse(n);if(!l||l.requestId!=s)return null;const a=function(t,e){if(!t)return t;const s=encodeURIComponent(e)+"=";let i=-1;do{if(i=t.indexOf(s,i),-1!=i){const e=i>0?t.substring(i-1,i):"";if(""==e||"?"==e||"#"==e||"&"==e){let e=t.indexOf("&",i+1);-1==e&&(e=t.length),t=t.substring(0,i)+t.substring(e+1)}else i++}}while(-1!=i&&i<t.length);return t}(t.location.hash,i)||"";if(a!=t.location.hash&&t.history&&t.history.replaceState)try{t.history.replaceState(t.history.state,"",a)}catch(_){}const h=l.code,u=l.data,c=l.origin,d=t.document.referrer&&Y(t.document.referrer);
1return new J(t,h,u,c,c==d)}(this.xe,this.ys,t)}catch(s){!function(t){setTimeout(()=>{throw t})}(s),this.Us(s)}e&&(this.Ds[t]=e)}return e}ks(t,e){Promise.resolve().then(()=>{e(t)})}Fs(t,e){const s=this.Ls[t];s&&s.forEach(t=>{this.ks(e,t)}),this.Ds[t]=e}},tt=Q;class et{constructor(t){this.Be=t}acceptResult(){return this.Be.acceptResult()}}class st{constructor(t,e,s,i){this.Ws=s,this.Bs=new tt(t,e,i),this.Vs={}}whenReady(){return this.Bs.whenReady()}async connect(){await this.Bs.connect(),this.Bs.onMessage(t=>{const e=null==t?void 0:t.RESPONSE;if(!e)return;const s=this.Vs[e[0]];s&&s(N(e))}),this.Ws&&this.Ws.eventManager()&&this.on(E,t=>{var e,s;this.Ws.eventManager().logEvent({eventType:t.getEvent(),eventOriginator:a.SWG_SERVER,isFromUserAction:null==(e=t.getMeta())?void 0:e.getIsFromUserAction(),additionalParameters:t.getParams(),configurationId:null==(s=t.getMeta())?void 0:s.getConfigurationId()})})}disconnect(){this.Bs.disconnect()}getMode(){return this.Bs.getMode()}acceptResult(){return this.Bs.acceptResult()}onResizeRequest(t){return this.Bs.onResizeRequest(t)}execute(t){this.Bs.message({REQUEST:t.toArray()})}on(t,e){let s=null;try{s=C(t)}catch{s=null}if(!s)throw new Error("Invalid data type");if(this.Vs[s])throw new Error("Invalid type or duplicate callback for "+s);this.Vs[s]=e}resized(){this.Bs.resized()}}class it{constructor(t,e){this.Ws=e,this.Ys=t,this.Vs={},this.Ys.onMessage(t=>{const e=null==t?void 0:t.RESPONSE;if(!e)return;const s=this.Vs[e[0]];s&&s(N(e))}),this.Ws&&this.Ws.eventManager()&&this.on(E,t=>{var e,s;this.Ws.eventManager().logEvent({eventType:t.getEvent(),eventOriginator:a.SWG_SERVER,isFromUserAction:null==(e=t.getMeta())?void 0:e.getIsFromUserAction(),additionalParameters:t.getParams(),configurationId:null==(s=t.getMeta())?void 0:s.getConfigurationId()})})}acceptResult(){return this.Ys.acceptResult()}execute(t){this.Ys.message({REQUEST:t.toArray()})}on(t,e){let s=null;try{s=C(t)}catch{s=null}if(!s)throw new Error("Invalid data type");if(this.Vs[s])throw new Error("Invalid type or duplicate callback for "+s);this.Vs[s]=e}}class nt{constructor(t){this.Ws=t,this.zs=new Z(t.win())}addDefaultArguments(t){var e;const s=this.Ws,i=s.pageConfig(),n=s.analytics().getContext(),o=Boolean(null==(e=s.isPublisher)?void 0:e.call(s)),l={analyticsContext:n.toArray(),publicationId:i.getPublicationId(),productId:i.getProductId(),_client:"SwG ".concat(r),supportsEventManager:!0};return o&&(l.isPublisherRuntime=!0),Object.assign(l,t||{})}async Ks(t,e,s){const i=new st(t,e,this.Ws,s);return await i.connect(),i}async openIframe(t,e,s,i=!1){i&&(s=this.addDefaultArguments(s));const n=await this.Ws.storage().get("USER_TOKEN",!0),r=new URL(e).searchParams;n&&!r.has("sut")&&(e=D(e,"sut",n));const o=this.Ws.pageConfig().getPublicationId();return o&&!r.has("publicationId")&&(e=D(e,"publicationId",o)),this.Ks(t,e,s)}async openPopupWithMessaging(t,e,s,i,n,r=!1){r&&(i=this.addDefaultArguments(i));const o=await this.zs.openWithMessaging(t,e,s,i,n);return new it(o,this.Ws)}open(t,e,s,i,n,r=!1){return r&&(i=this.addDefaultArguments(i)),this.zs.open(t,e,s,i,n)}onResult(t,e){this.zs.onResult(t,t=>{e(new et(t))})}onRedirectError(t){this.zs.onRedirectError(t)}getOriginalWebActivityPorts(){return this.zs}}const rt=globalThis,ot=rt.ShadowRoot&&(void 0===rt.ShadyCSS||rt.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,lt=Symbol(),at=new WeakMap;let ht=class{constructor(t,e,s){if(this._$cssResult$=!0,s!==lt)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o;const e=this.t;if(ot&&void 0===t){const s=void 0!==e&&1===e.length;s&&(t=at.get(e)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),s&&at.set(e,t))}return t}toString(){return this.cssText}};const ut=(t,...e)=>{const s=1===t.length?t[0]:e.reduce((e,s,i)=>e+(t=>{if(!0===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(s)+t[i+1],t[0]);return new ht(s,t,lt)},ct=ot?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const s of t.cssRules)e+=s.cssText;return(t=>new ht("string"==typeof t?t:t+"",void 0,lt))(e)})(t):t,{is:dt,defineProperty:_t,getOwnPropertyDescriptor:Et,getOwnPropertyNames:pt,getOwnPropertySymbols:Tt,getPrototypeOf:St}=Object,gt=globalThis,Rt=gt.trustedTypes,ft=Rt?Rt.emptyScript:"",It=gt.reactiveElementPolyfillSupport,bt=(t,e)=>t,mt={toAttribute(t,e){switch(e){case Boolean:t=t?ft:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,e){let s=t;switch(e){case Boolean:s=null!==t;break;case Number:s=null===t?null:Number(t);break;case Object:case Array:try{s=JSON.parse(t)}catch(i){s=null}}return s}},Ot=(t,e)=>!dt(t,e),Nt={attribute:!0,type:String,converter:mt,reflect:!1,useDefault:!1,hasChanged:Ot};null!=Symbol.metadata||(Symbol.metadata=Symbol("metadata")),null!=gt.litPropertyMetadata||(gt.litPropertyMetadata=new WeakMap);let Ct=class extends HTMLElement{static addInitializer(t){var e;this._$Ei(),(null!=(e=this.l)?e:this.l=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,e=Nt){if(e.state&&(e.attribute=!1),this._$Ei(),this.prototype.hasOwnProperty(t)&&((e=Object.create(e)).wrapped=!0),this.elementProperties.set(t,e),!e.noAccessor){const s=Symbol(),i=this.getPropertyDescriptor(t,s,e);void 0!==i&&_t(this.prototype,t,i)}}static getPropertyDescriptor(t,e,s){var i;const{get:n,set:r}=null!=(i=Et(this.prototype,t))?i:{get(){return this[e]},set(t){this[e]=t}};return{get:n,set(e){const i=null==n?void 0:n.call(this);null==r||r.call(this,e),this.requestUpdate(t,i,s)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){var e;return null!=(e=this.elementProperties.get(t))?e:Nt}static _$Ei(){if(this.hasOwnProperty(bt("elementProperties")))return;const t=St(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(bt("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(bt("properties"))){const t=this.properties,e=[...pt(t),...Tt(t)];for(const s of e)this.createProperty(s,t[s])}const t=this[Symbol.metadata];if(null!==t){const e=litPropertyMetadata.get(t);if(void 0!==e)for(const[t,s]of e)this.elementProperties.set(t,s)}this._$Eh=new Map;for(const[e,s]of this.elementProperties){const t=this._$Eu(e,s);void 0!==t&&this._$Eh.set(t,e)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const e=[];
1if(Array.isArray(t)){const s=new Set(t.flat(1/0).reverse());for(const t of s)e.unshift(ct(t))}else void 0!==t&&e.push(ct(t));return e}static _$Eu(t,e){const s=e.attribute;return!1===s?void 0:"string"==typeof s?s:"string"==typeof t?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){var t;this._$ES=new Promise(t=>this.enableUpdating=t),this._$AL=new Map,this.js(),this.requestUpdate(),null==(t=this.constructor.l)||t.forEach(t=>t(this))}addController(t){var e,s;(null!=(e=this._$EO)?e:this._$EO=new Set).add(t),void 0!==this.renderRoot&&this.isConnected&&(null==(s=t.hostConnected)||s.call(t))}removeController(t){var e;null==(e=this._$EO)||e.delete(t)}js(){const t=new Map,e=this.constructor.elementProperties;for(const s of e.keys())this.hasOwnProperty(s)&&(t.set(s,this[s]),delete this[s]);t.size>0&&(this._$Ep=t)}createRenderRoot(){var t;const e=null!=(t=this.shadowRoot)?t:this.attachShadow(this.constructor.shadowRootOptions);return((t,e)=>{if(ot)t.adoptedStyleSheets=e.map(t=>t instanceof CSSStyleSheet?t:t.styleSheet);else for(const s of e){const e=document.createElement("style"),i=rt.litNonce;void 0!==i&&e.setAttribute("nonce",i),e.textContent=s.cssText,t.appendChild(e)}})(e,this.constructor.elementStyles),e}connectedCallback(){var t;null!=this.renderRoot||(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),null==(t=this._$EO)||t.forEach(t=>{var e;return null==(e=t.hostConnected)?void 0:e.call(t)})}enableUpdating(t){}disconnectedCallback(){var t;null==(t=this._$EO)||t.forEach(t=>{var e;return null==(e=t.hostDisconnected)?void 0:e.call(t)})}attributeChangedCallback(t,e,s){this._$AK(t,s)}_$ET(t,e){var s;const i=this.constructor.elementProperties.get(t),n=this.constructor._$Eu(t,i);if(void 0!==n&&!0===i.reflect){const r=(void 0!==(null==(s=i.converter)?void 0:s.toAttribute)?i.converter:mt).toAttribute(e,i.type);this._$Em=t,null==r?this.removeAttribute(n):this.setAttribute(n,r),this._$Em=null}}_$AK(t,e){var s,i,n;const r=this.constructor,o=r._$Eh.get(t);if(void 0!==o&&this._$Em!==o){const t=r.getPropertyOptions(o),l="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==(null==(s=t.converter)?void 0:s.fromAttribute)?t.converter:mt;this._$Em=o;const a=l.fromAttribute(e,t.type);this[o]=null!=(n=null!=a?a:null==(i=this._$Ej)?void 0:i.get(o))?n:a,this._$Em=null}}requestUpdate(t,e,s,i=!1,n){var r,o;if(void 0!==t){const l=this.constructor;if(!1===i&&(n=this[t]),null!=s||(s=l.getPropertyOptions(t)),!((null!=(r=s.hasChanged)?r:Ot)(n,e)||s.useDefault&&s.reflect&&n===(null==(o=this._$Ej)?void 0:o.get(t))&&!this.hasAttribute(l._$Eu(t,s))))return;this.C(t,e,s)}!1===this.isUpdatePending&&(this._$ES=this._$EP())}C(t,e,{useDefault:s,reflect:i,wrapped:n},r){var o,l,a;s&&!(null!=(o=this._$Ej)?o:this._$Ej=new Map).has(t)&&(this._$Ej.set(t,null!=(l=null!=r?r:e)?l:this[t]),!0!==n||void 0!==r)||(this._$AL.has(t)||(this.hasUpdated||s||(e=void 0),this._$AL.set(t,e)),!0===i&&this._$Em!==t&&(null!=(a=this._$Eq)?a:this._$Eq=new Set).add(t))}async _$EP(){this.isUpdatePending=!0;try{await this._$ES}catch(e){Promise.reject(e)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var t;if(!this.isUpdatePending)return;if(!this.hasUpdated){if(null!=this.renderRoot||(this.renderRoot=this.createRenderRoot()),this._$Ep){for(const[t,e]of this._$Ep)this[t]=e;this._$Ep=void 0}const t=this.constructor.elementProperties;if(t.size>0)for(const[e,s]of t){const{wrapped:t}=s,i=this[e];!0!==t||this._$AL.has(e)||void 0===i||this.C(e,void 0,s,i)}}let e=!1;const s=this._$AL;try{e=this.shouldUpdate(s),e?(this.willUpdate(s),null==(t=this._$EO)||t.forEach(t=>{var e;return null==(e=t.hostUpdate)?void 0:e.call(t)}),this.update(s)):this._$EM()}catch(i){throw e=!1,this._$EM(),i}e&&this._$AE(s)}willUpdate(t){}_$AE(t){var e;null==(e=this._$EO)||e.forEach(t=>{var e;return null==(e=t.hostUpdated)?void 0:e.call(t)}),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EM(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return!0}update(t){this._$Eq&&(this._$Eq=this._$Eq.forEach(t=>this._$ET(t,this[t]))),this._$EM()}updated(t){}firstUpdated(t){}};Ct.elementStyles=[],Ct.shadowRootOptions={mode:"open"},Ct[bt("elementProperties")]=new Map,Ct[bt("finalized")]=new Map,null==It||It({ReactiveElement:Ct}),(null!=(e=gt.reactiveElementVersions)?e:gt.reactiveElementVersions=[]).push("2.1.2");const vt=globalThis,At=t=>t,Pt=vt.trustedTypes,wt=Pt?Pt.createPolicy("lit-html",{createHTML:t=>t}):void 0,yt="$lit$",Lt="lit$".concat(Math.random().toFixed(9).slice(2),"$"),Dt="?"+Lt,Ut="<".concat(Dt,">"),xt=document,Mt=()=>xt.createComment(""),Gt=t=>null===t||"object"!=typeof t&&"function"!=typeof t,kt=Array.isArray,Ft="[ \t\n\f\r]",Wt=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Bt=/-->/g,Vt=/>/g,Yt=RegExp(">|".concat(Ft,"(?:([^\\s\"'>=/]+)(").concat(Ft,"*=").concat(Ft,"*(?:[^ \t\n\f\r\"'`<>=]|(\"|')|))|$)"),"g"),zt=/'/g,Kt=/"/g,jt=/^(?:script|style|textarea|title)$/i,Ht=(t,...e)=>({_$litType$:1,strings:t,values:e}
1),qt=Symbol.for("lit-noChange"),$t=Symbol.for("lit-nothing"),Qt=new WeakMap,Xt=xt.createTreeWalker(xt,129);function Jt(t,e){if(!kt(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==wt?wt.createHTML(e):e}class Zt{constructor({strings:t,_$litType$:e},s){let i;this.parts=[];let n=0,r=0;const o=t.length-1,l=this.parts,[a,h]=((t,e)=>{const s=t.length-1,i=[];let n,r=2===e?"<svg>":3===e?"<math>":"",o=Wt;for(let l=0;l<s;l++){const e=t[l];let s,a,h=-1,u=0;for(;u<e.length&&(o.lastIndex=u,a=o.exec(e),null!==a);)u=o.lastIndex,o===Wt?"!--"===a[1]?o=Bt:void 0!==a[1]?o=Vt:void 0!==a[2]?(jt.test(a[2])&&(n=RegExp("</"+a[2],"g")),o=Yt):void 0!==a[3]&&(o=Yt):o===Yt?">"===a[0]?(o=null!=n?n:Wt,h=-1):void 0===a[1]?h=-2:(h=o.lastIndex-a[2].length,s=a[1],o=void 0===a[3]?Yt:'"'===a[3]?Kt:zt):o===Kt||o===zt?o=Yt:o===Bt||o===Vt?o=Wt:(o=Yt,n=void 0);const c=o===Yt&&t[l+1].startsWith("/>")?" ":"";r+=o===Wt?e+Ut:h>=0?(i.push(s),e.slice(0,h)+yt+e.slice(h)+Lt+c):e+Lt+(-2===h?l:c)}return[Jt(t,r+(t[s]||"<?>")+(2===e?"</svg>":3===e?"</math>":"")),i]})(t,e);if(this.el=Zt.createElement(a,s),Xt.currentNode=this.el.content,2===e||3===e){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(i=Xt.nextNode())&&l.length<o;){if(1===i.nodeType){if(i.hasAttributes())for(const t of i.getAttributeNames())if(t.endsWith(yt)){const e=h[r++],s=i.getAttribute(t).split(Lt),o=/([.?@])?(.*)/.exec(e);l.push({type:1,index:n,name:o[2],strings:s,ctor:"."===o[1]?ne:"?"===o[1]?re:"@"===o[1]?oe:ie}),i.removeAttribute(t)}else t.startsWith(Lt)&&(l.push({type:6,index:n}),i.removeAttribute(t));if(jt.test(i.tagName)){const t=i.textContent.split(Lt),e=t.length-1;if(e>0){i.textContent=Pt?Pt.emptyScript:"";for(let s=0;s<e;s++)i.append(t[s],Mt()),Xt.nextNode(),l.push({type:2,index:++n});i.append(t[e],Mt())}}}else if(8===i.nodeType)if(i.data===Dt)l.push({type:2,index:n});else{let t=-1;for(;-1!==(t=i.data.indexOf(Lt,t+1));)l.push({type:7,index:n}),t+=Lt.length-1}n++}}static createElement(t,e){const s=xt.createElement("template");return s.innerHTML=t,s}}function te(t,e,s=t,i){var n,r,o;if(e===qt)return e;let l=void 0!==i?null==(n=s._$Co)?void 0:n[i]:s._$Cl;const a=Gt(e)?void 0:e._$litDirective$;return(null==l?void 0:l.constructor)!==a&&(null==(r=null==l?void 0:l._$AO)||r.call(l,!1),void 0===a?l=void 0:(l=new a(t),l._$AT(t,s,i)),void 0!==i?(null!=(o=s._$Co)?o:s._$Co=[])[i]=l:s._$Cl=l),void 0!==l&&(e=te(t,l._$AS(t,e.values),l,i)),e}class ee{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){var e;const{el:{content:s},parts:i}=this._$AD,n=(null!=(e=null==t?void 0:t.creationScope)?e:xt).importNode(s,!0);Xt.currentNode=n;let r=Xt.nextNode(),o=0,l=0,a=i[0];for(;void 0!==a;){if(o===a.index){let e;2===a.type?e=new se(r,r.nextSibling,this,t):1===a.type?e=new a.ctor(r,a.name,a.strings,this,t):6===a.type&&(e=new le(r,this,t)),this._$AV.push(e),a=i[++l]}o!==(null==a?void 0:a.index)&&(r=Xt.nextNode(),o++)}return Xt.currentNode=xt,n}p(t){let e=0;for(const s of this._$AV)void 0!==s&&(void 0!==s.strings?(s._$AI(t,s,e),e+=s.strings.length-2):s._$AI(t[e])),e++}}class se{get _$AU(){var t,e;return null!=(e=null==(t=this._$AM)?void 0:t._$AU)?e:this._$Cv}constructor(t,e,s,i){var n;this.type=2,this._$AH=$t,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=s,this.options=i,this._$Cv=null==(n=null==i?void 0:i.isConnected)||n}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===(null==t?void 0:t.nodeType)&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=te(this,t,e),Gt(t)?t===$t||null==t||""===t?(this._$AH!==$t&&this._$AR(),this._$AH=$t):t!==this._$AH&&t!==qt&&this.Hs(t):void 0!==t._$litType$?this.$(t):void 0!==t.nodeType?this.T(t):(t=>kt(t)||"function"==typeof(null==t?void 0:t[Symbol.iterator]))(t)?this.k(t):this.Hs(t)}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}Hs(t){this._$AH!==$t&&Gt(this._$AH)?this._$AA.nextSibling.data=t:this.T(xt.createTextNode(t)),this._$AH=t}$(t){var e;const{values:s,_$litType$:i}=t,n="number"==typeof i?this._$AC(t):(void 0===i.el&&(i.el=Zt.createElement(Jt(i.h,i.h[0]),this.options)),i);if((null==(e=this._$AH)?void 0:e._$AD)===n)this._$AH.p(s);else{const t=new ee(n,this),e=t.u(this.options);t.p(s),this.T(e),this._$AH=t}}_$AC(t){let e=Qt.get(t.strings);return void 0===e&&Qt.set(t.strings,e=new Zt(t)),e}k(t){kt(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let s,i=0;for(const n of t)i===e.length?e.push(s=new se(this.O(Mt()),this.O(Mt()),this,this.options)):s=e[i],s._$AI(n),i++;i<e.length&&(this._$AR(s&&s._$AB.nextSibling,i),e.length=i)}_$AR(t=this._$AA.nextSibling,e){var s;
1for(null==(s=this._$AP)||s.call(this,!1,!0,e);t!==this._$AB;){const e=At(t).nextSibling;At(t).remove(),t=e}}setConnected(t){var e;void 0===this._$AM&&(this._$Cv=t,null==(e=this._$AP)||e.call(this,t))}}class ie{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,s,i,n){this.type=1,this._$AH=$t,this._$AN=void 0,this.element=t,this.name=e,this._$AM=i,this.options=n,s.length>2||""!==s[0]||""!==s[1]?(this._$AH=Array(s.length-1).fill(new String),this.strings=s):this._$AH=$t}_$AI(t,e=this,s,i){const n=this.strings;let r=!1;if(void 0===n)t=te(this,t,e,0),r=!Gt(t)||t!==this._$AH&&t!==qt,r&&(this._$AH=t);else{const i=t;let o,l;for(t=n[0],o=0;o<n.length-1;o++)l=te(this,i[s+o],e,o),l===qt&&(l=this._$AH[o]),r||(r=!Gt(l)||l!==this._$AH[o]),l===$t?t=$t:t!==$t&&(t+=(null!=l?l:"")+n[o+1]),this._$AH[o]=l}r&&!i&&this.j(t)}j(t){t===$t?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class ne extends ie{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===$t?void 0:t}}class re extends ie{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==$t)}}class oe extends ie{constructor(t,e,s,i,n){super(t,e,s,i,n),this.type=5}_$AI(t,e=this){var s;if((t=null!=(s=te(this,t,e,0))?s:$t)===qt)return;const i=this._$AH,n=t===$t&&i!==$t||t.capture!==i.capture||t.once!==i.once||t.passive!==i.passive,r=t!==$t&&(i===$t||n);n&&this.element.removeEventListener(this.name,this,i),r&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var e,s;"function"==typeof this._$AH?this._$AH.call(null!=(s=null==(e=this.options)?void 0:e.host)?s:this.element,t):this._$AH.handleEvent(t)}}class le{constructor(t,e,s){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=s}get _$AU(){return this._$AM._$AU}_$AI(t){te(this,t)}}const ae=vt.litHtmlPolyfillSupport;null==ae||ae(Zt,se),(null!=(s=vt.litHtmlVersions)?s:vt.litHtmlVersions=[]).push("3.3.3");const he=globalThis;let ue=class extends Ct{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var t;const e=super.createRenderRoot();return null!=(t=this.renderOptions).renderBefore||(t.renderBefore=e.firstChild),e}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=((t,e,s)=>{var i,n;const r=null!=(i=null==s?void 0:s.renderBefore)?i:e;let o=r._$litPart$;if(void 0===o){const t=null!=(n=null==s?void 0:s.renderBefore)?n:null;r._$litPart$=o=new se(e.insertBefore(Mt(),t),t,void 0,null!=s?s:{})}return o._$AI(t),o})(e,this.renderRoot,this.renderOptions)}connectedCallback(){var t;super.connectedCallback(),null==(t=this._$Do)||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),null==(t=this._$Do)||t.setConnected(!1)}render(){return qt}};ue._$litElement$=!0,ue.finalized=!0,null==(i=he.litElementHydrateSupport)||i.call(he,{LitElement:ue});const ce=he.litElementPolyfillSupport;function de(t,e,s,i){var n,r=arguments.length,o=r<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,s):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,s,i);else for(var l=t.length-1;l>=0;l--)(n=t[l])&&(o=(r<3?n(o):r>3?n(e,s,o):n(e,s))||o);return r>3&&o&&Object.defineProperty(e,s,o),o}null==ce||ce({LitElement:ue}),(null!=(n=he.litElementVersions)?n:he.litElementVersions=[]).push("4.2.2"),"function"==typeof SuppressedError&&SuppressedError;const Ee=t=>(e,s)=>{void 0!==s?s.addInitializer(()=>{customElements.define(t,e)}):customElements.define(t,e)},pe={attribute:!0,type:String,converter:mt,reflect:!1,hasChanged:Ot},Te=(t=pe,e,s)=>{const{kind:i,metadata:n}=s;let r=globalThis.litPropertyMetadata.get(n);if(void 0===r&&globalThis.litPropertyMetadata.set(n,r=new Map),"setter"===i&&((t=Object.create(t)).wrapped=!0),r.set(s.name,t),"accessor"===i){const{name:i}=s;return{set(s){const n=e.get.call(this);e.set.call(this,s),this.requestUpdate(i,n,t,!0,s)},init(e){return void 0!==e&&this.C(i,void 0,t,e),e}}}if("setter"===i){const{name:i}=s;return function(s){const n=this[i];e.call(this,s),this.requestUpdate(i,n,t,!0,s)}}throw Error("Unsupported decorator location: "+i)};
1function Se(t){return(e,s)=>"object"==typeof s?Te(t,e,s):((t,e,s)=>{const i=e.hasOwnProperty(s);return e.constructor.createProperty(s,t),i?Object.getOwnPropertyDescriptor(e,s):void 0})(t,e,s)}function ge(t){return Se({...t,state:!0,attribute:!1})}const Re=(t,e,s)=>(s.configurable=!0,s.enumerable=!0,Reflect.decorate&&"object"!=typeof e&&Object.defineProperty(t,e,s),s);function fe(t,e){return(e,s,i)=>Re(e,s,{get(){return(()=>{var e,s;return null!=(s=null==(e=this.renderRoot)?void 0:e.querySelector(t))?s:null})()}})}const Ie=Symbol("attachableController");let be;be=new MutationObserver(t=>{var e;for(const s of t)null==(e=s.target[Ie])||e.hostConnected()});class me{get htmlFor(){return this.host.getAttribute("for")}set htmlFor(t){null===t?this.host.removeAttribute("for"):this.host.setAttribute("for",t)}get control(){return this.host.hasAttribute("for")?this.htmlFor&&this.host.isConnected?this.host.getRootNode().querySelector("#".concat(this.htmlFor)):null:this.currentControl||this.host.parentElement}set control(t){t?this.attach(t):this.detach()}constructor(t,e){this.host=t,this.onControlChange=e,this.currentControl=null,t.addController(this),t[Ie]=this,null==be||be.observe(t,{attributeFilter:["for"]})}attach(t){t!==this.currentControl&&(this.setCurrentControl(t),this.host.removeAttribute("for"))}detach(){this.setCurrentControl(null),this.host.setAttribute("for","")}hostConnected(){this.setCurrentControl(this.control)}hostDisconnected(){this.setCurrentControl(null)}setCurrentControl(t){this.onControlChange(this.currentControl,t),this.currentControl=t}}const Oe=["focusin","focusout","pointerdown"];class Ne extends ue{constructor(){super(...arguments),this.visible=!1,this.inward=!1,this.attachableController=new me(this,this.onControlChange.bind(this))}get htmlFor(){return this.attachableController.htmlFor}set htmlFor(t){this.attachableController.htmlFor=t}get control(){return this.attachableController.control}set control(t){this.attachableController.control=t}attach(t){this.attachableController.attach(t)}detach(){this.attachableController.detach()}connectedCallback(){super.connectedCallback(),this.setAttribute("aria-hidden","true")}handleEvent(t){var e,s;if(!t[Ce]){switch(t.type){default:return;case"focusin":this.visible=null!=(s=null==(e=this.control)?void 0:e.matches(":focus-visible"))&&s;break;case"focusout":case"pointerdown":this.visible=!1}t[Ce]=!0}}onControlChange(t,e){for(const s of Oe)null==t||t.removeEventListener(s,this),null==e||e.addEventListener(s,this)}update(t){t.has("visible")&&this.dispatchEvent(new Event("visibility-changed")),super.update(t)}}de([Se({type:Boolean,reflect:!0})],Ne.prototype,"visible",void 0),de([Se({type:Boolean,reflect:!0})],Ne.prototype,"inward",void 0);const Ce=Symbol("handledByFocusRing"),ve=ut(_a||(_a=__template([":host{animation-delay:0s,calc(var(--md-focus-ring-duration, 600ms)*.25);animation-duration:calc(var(--md-focus-ring-duration, 600ms)*.25),calc(var(--md-focus-ring-duration, 600ms)*.75);animation-timing-function:cubic-bezier(0.2, 0, 0, 1);box-sizing:border-box;color:var(--md-focus-ring-color, var(--md-sys-color-secondary, #625b71));display:none;pointer-events:none;position:absolute}:host([visible]){display:flex}:host(:not([inward])){animation-name:outward-grow,outward-shrink;border-end-end-radius:calc(var(--md-focus-ring-shape-end-end, var(--md-focus-ring-shape, var(--md-sys-shape-corner-full, 9999px))) + var(--md-focus-ring-outward-offset, 2px));border-end-start-radius:calc(var(--md-focus-ring-shape-end-start, var(--md-focus-ring-shape, var(--md-sys-shape-corner-full, 9999px))) + var(--md-focus-ring-outward-offset, 2px));border-start-end-radius:calc(var(--md-focus-ring-shape-start-end, var(--md-focus-ring-shape, var(--md-sys-shape-corner-full, 9999px))) + var(--md-focus-ring-outward-offset, 2px));border-start-start-radius:calc(var(--md-focus-ring-shape-start-start, var(--md-focus-ring-shape, var(--md-sys-shape-corner-full, 9999px))) + var(--md-focus-ring-outward-offset, 2px));inset:calc(-1*var(--md-focus-ring-outward-offset, 2px));outline:var(--md-focus-ring-width, 3px) solid currentColor}:host([inward]){animation-name:inward-grow,inward-shrink;border-end-end-radius:calc(var(--md-focus-ring-shape-end-end, var(--md-focus-ring-shape, var(--md-sys-shape-corner-full, 9999px))) - var(--md-focus-ring-inward-offset, 0px));border-end-start-radius:calc(var(--md-focus-ring-shape-end-start, var(--md-focus-ring-shape, var(--md-sys-shape-corner-full, 9999px))) - var(--md-focus-ring-inward-offset, 0px));border-start-end-radius:calc(var(--md-focus-ring-shape-start-end, var(--md-focus-ring-shape, var(--md-sys-shape-corner-full, 9999px))) - var(--md-focus-ring-inward-offset, 0px));border-start-start-radius:calc(var(--md-focus-ring-shape-start-start, var(--md-focus-ring-shape, var(--md-sys-shape-corner-full, 9999px))) - var(--md-focus-ring-inward-offset, 0px));border:var(--md-focus-ring-width, 3px) solid currentColor;inset:var(--md-focus-ring-inward-offset, 0px)}@keyframes outward-grow{from{outline-width:0}to{outline-width:var(--md-focus-ring-active-width, 8px)}}
1@keyframes outward-shrink{from{outline-width:var(--md-focus-ring-active-width, 8px)}}@keyframes inward-grow{from{border-width:0}to{border-width:var(--md-focus-ring-active-width, 8px)}}@keyframes inward-shrink{from{border-width:var(--md-focus-ring-active-width, 8px)}}@media(prefers-reduced-motion){:host{animation:none}}\n"])));ve.styleSheet;let Ae=class extends Ne{};Ae.styles=[ve],Ae=de([Ee("md-focus-ring")],Ae);class Pe{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,s){this._$Ct=t,this._$AM=e,this._$Ci=s}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}}const we=(ye=class extends Pe{constructor(t){var e;if(super(t),1!==t.type||"class"!==t.name||(null==(e=t.strings)?void 0:e.length)>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter(e=>t[e]).join(" ")+" "}update(t,[e]){var s,i;if(void 0===this.st){this.st=new Set,void 0!==t.strings&&(this.nt=new Set(t.strings.join(" ").split(/\s/).filter(t=>""!==t)));for(const t in e)e[t]&&!(null==(s=this.nt)?void 0:s.has(t))&&this.st.add(t);return this.render(e)}const n=t.element.classList;for(const r of this.st)r in e||(n.remove(r),this.st.delete(r));for(const r in e){const t=!!e[r];t===this.st.has(r)||(null==(i=this.nt)?void 0:i.has(r))||(t?(n.add(r),this.st.add(r)):(n.remove(r),this.st.delete(r)))}return qt}},(...t)=>({_$litDirective$:ye,values:t}));var ye,Le,De;(De=Le||(Le={}))[De.INACTIVE=0]="INACTIVE",De[De.TOUCH_DELAY=1]="TOUCH_DELAY",De[De.HOLDING=2]="HOLDING",De[De.WAITING_FOR_CLICK=3]="WAITING_FOR_CLICK";const Ue=["click","contextmenu","pointercancel","pointerdown","pointerenter","pointerleave","pointerup"],xe=window.matchMedia("(forced-colors: active)");class Me extends ue{constructor(){super(...arguments),this.disabled=!1,this.hovered=!1,this.pressed=!1,this.rippleSize="",this.rippleScale="",this.initialSize=0,this.state=Le.INACTIVE,this.attachableController=new me(this,this.onControlChange.bind(this))}get htmlFor(){return this.attachableController.htmlFor}set htmlFor(t){this.attachableController.htmlFor=t}get control(){return this.attachableController.control}set control(t){this.attachableController.control=t}attach(t){this.attachableController.attach(t)}detach(){this.attachableController.detach()}connectedCallback(){super.connectedCallback(),this.setAttribute("aria-hidden","true")}render(){const t={hovered:this.hovered,pressed:this.pressed};return Ht(_b||(_b=__template(['<div class="surface ','"></div>'])),we(t))}update(t){t.has("disabled")&&this.disabled&&(this.hovered=!1,this.pressed=!1),super.update(t)}handlePointerenter(t){this.shouldReactToEvent(t)&&(this.hovered=!0)}handlePointerleave(t){this.shouldReactToEvent(t)&&(this.hovered=!1,this.state!==Le.INACTIVE&&this.endPressAnimation())}handlePointerup(t){if(this.shouldReactToEvent(t)){if(this.state!==Le.HOLDING)return this.state===Le.TOUCH_DELAY?(this.state=Le.WAITING_FOR_CLICK,void this.startPressAnimation(this.rippleStartEvent)):void 0;this.state=Le.WAITING_FOR_CLICK}}async handlePointerdown(t){if(this.shouldReactToEvent(t)){if(this.rippleStartEvent=t,!this.isTouch(t))return this.state=Le.WAITING_FOR_CLICK,void this.startPressAnimation(t);this.state=Le.TOUCH_DELAY,await new Promise(t=>{setTimeout(t,150)}),this.state===Le.TOUCH_DELAY&&(this.state=Le.HOLDING,this.startPressAnimation(t))}}handleClick(){this.disabled||(this.state!==Le.WAITING_FOR_CLICK?this.state===Le.INACTIVE&&(this.startPressAnimation(),this.endPressAnimation()):this.endPressAnimation())}handlePointercancel(t){this.shouldReactToEvent(t)&&this.endPressAnimation()}handleContextmenu(){this.disabled||this.endPressAnimation()}determineRippleSize(){var t;const{height:e,width:s}=this.getBoundingClientRect(),i=Math.max(e,s),n=Math.max(.35*i,75),r=null!=(t=this.currentCSSZoom)?t:1,o=Math.floor(.2*i/r),l=Math.sqrt(s**2+e**2)+10;this.initialSize=o;const a=(l+n)/o;this.rippleScale="".concat(a/r),this.rippleSize="".concat(o,"px")}getNormalizedPointerEventCoords(t){var e;const{scrollX:s,scrollY:i}=window,{left:n,top:r}=this.getBoundingClientRect(),o=s+n,l=i+r,{pageX:a,pageY:h}=t,u=null!=(e=this.currentCSSZoom)?e:1;return{x:(a-o)/u,y:(h-l)/u}}getTranslationCoordinates(t){var e;const{height:s,width:i}=this.getBoundingClientRect(),n=null!=(e=this.currentCSSZoom)?e:1,r={x:(i/n-this.initialSize)/2,y:(s/n-this.initialSize)/2};let o;return o=t instanceof PointerEvent?this.getNormalizedPointerEventCoords(t):{x:i/n/2,y:s/n/2},o={x:o.x-this.initialSize/2,y:o.y-this.initialSize/2},{startPoint:o,endPoint:r}}startPressAnimation(t){var e;
1if(!this.mdRoot)return;this.pressed=!0,null==(e=this.growAnimation)||e.cancel(),this.determineRippleSize();const{startPoint:s,endPoint:i}=this.getTranslationCoordinates(t),n="".concat(s.x,"px, ").concat(s.y,"px"),r="".concat(i.x,"px, ").concat(i.y,"px");this.growAnimation=this.mdRoot.animate({top:[0,0],left:[0,0],height:[this.rippleSize,this.rippleSize],width:[this.rippleSize,this.rippleSize],transform:["translate(".concat(n,") scale(1)"),"translate(".concat(r,") scale(").concat(this.rippleScale,")")]},{pseudoElement:"::after",duration:450,easing:"cubic-bezier(0.2, 0, 0, 1)",fill:"forwards"})}async endPressAnimation(){this.rippleStartEvent=void 0,this.state=Le.INACTIVE;const t=this.growAnimation;let e=1/0;"number"==typeof(null==t?void 0:t.currentTime)?e=t.currentTime:(null==t?void 0:t.currentTime)&&(e=t.currentTime.to("ms").value),e>=225?this.pressed=!1:(await new Promise(t=>{setTimeout(t,225-e)}),this.growAnimation===t&&(this.pressed=!1))}shouldReactToEvent(t){if(this.disabled||!t.isPrimary)return!1;if(this.rippleStartEvent&&this.rippleStartEvent.pointerId!==t.pointerId)return!1;if("pointerenter"===t.type||"pointerleave"===t.type)return!this.isTouch(t);const e=1===t.buttons;return this.isTouch(t)||e}isTouch({pointerType:t}){return"touch"===t}async handleEvent(t){if(!(null==xe?void 0:xe.matches))switch(t.type){case"click":this.handleClick();break;case"contextmenu":this.handleContextmenu();break;case"pointercancel":this.handlePointercancel(t);break;case"pointerdown":await this.handlePointerdown(t);break;case"pointerenter":this.handlePointerenter(t);break;case"pointerleave":this.handlePointerleave(t);break;case"pointerup":this.handlePointerup(t)}}onControlChange(t,e){for(const s of Ue)null==t||t.removeEventListener(s,this),null==e||e.addEventListener(s,this)}}de([Se({type:Boolean,reflect:!0})],Me.prototype,"disabled",void 0),de([ge()],Me.prototype,"hovered",void 0),de([ge()],Me.prototype,"pressed",void 0),de([fe(".surface")],Me.prototype,"mdRoot",void 0);const Ge=ut(_c||(_c=__template([':host{display:flex;margin:auto;pointer-events:none}:host([disabled]){display:none}@media(forced-colors: active){:host{display:none}}:host,.surface{border-radius:inherit;position:absolute;inset:0;overflow:hidden}.surface{-webkit-tap-highlight-color:rgba(0,0,0,0)}.surface::before,.surface::after{content:"";opacity:0;position:absolute}.surface::before{background-color:var(--md-ripple-hover-color, var(--md-sys-color-on-surface, #1d1b20));inset:0;transition:opacity 15ms linear,background-color 15ms linear}.surface::after{background:radial-gradient(closest-side, var(--md-ripple-pressed-color, var(--md-sys-color-on-surface, #1d1b20)) max(100% - 70px, 65%), transparent 100%);transform-origin:center center;transition:opacity 375ms linear}.hovered::before{background-color:var(--md-ripple-hover-color, var(--md-sys-color-on-surface, #1d1b20));opacity:var(--md-ripple-hover-opacity, 0.08)}.pressed::after{opacity:var(--md-ripple-pressed-opacity, 0.12);transition-duration:105ms}\n'])));Ge.styleSheet;let ke=class extends Me{};ke.styles=[Ge],ke=de([Ee("md-ripple")],ke);const Fe=["role","ariaAtomic","ariaAutoComplete","ariaBusy","ariaChecked","ariaColCount","ariaColIndex","ariaColSpan","ariaCurrent","ariaDisabled","ariaExpanded","ariaHasPopup","ariaHidden","ariaInvalid","ariaKeyShortcuts","ariaLabel","ariaLevel","ariaLive","ariaModal","ariaMultiLine","ariaMultiSelectable","ariaOrientation","ariaPlaceholder","ariaPosInSet","ariaPressed","ariaReadOnly","ariaRequired","ariaRoleDescription","ariaRowCount","ariaRowIndex","ariaRowSpan","ariaSelected","ariaSetSize","ariaSort","ariaValueMax","ariaValueMin","ariaValueNow","ariaValueText"],We=Fe.map(Ve);function Be(t){return We.includes(t)}function Ve(t){return t.replace("aria","aria-").replace(/Elements?/g,"").toLowerCase()}const Ye=Symbol("privateIgnoreAttributeChangesFor");function ze(t){return"data-".concat(t)}function Ke(t){return t.replace(/-\w/,t=>t[1].toUpperCase())}let je=!1;const He=Symbol("internals"),qe=Symbol("privateInternals"),$e=Symbol("getFormValue"),Qe=Symbol("getFormState"),Xe=Symbol("dispatchHooks"),Je=new WeakMap,Ze
1=function(t){var e;class s extends t{constructor(){super(...arguments),this[e]=new Set}attributeChangedCallback(t,e,s){if(!Be(t))return void super.attributeChangedCallback(t,e,s);if(this[Ye].has(t))return;this[Ye].add(t),this.removeAttribute(t),this[Ye].delete(t);const i=Ke(t);null===s?delete this.dataset[i]:this.dataset[i]=s,this.requestUpdate(Ke(t),e)}getAttribute(t){return Be(t)?super.getAttribute(ze(t)):super.getAttribute(t)}removeAttribute(t){super.removeAttribute(t),Be(t)&&(super.removeAttribute(ze(t)),this.requestUpdate())}}return e=Ye,function(t){for(const e of Fe){const s=Ve(e),i=ze(s),n=Ke(s);t.createProperty(e,{attribute:s,noAccessor:!0}),t.createProperty(Symbol(i),{attribute:i,noAccessor:!0}),Object.defineProperty(t.prototype,e,{configurable:!0,enumerable:!0,get(){var t;return null!=(t=this.dataset[n])?t:null},set(t){var s;const i=null!=(s=this.dataset[n])?s:null;t!==i&&(null===t?delete this.dataset[n]:this.dataset[n]=t,this.requestUpdate(e,i))}})}}(s),s}(function(t){class e extends t{get name(){var t;return null!=(t=this.getAttribute("name"))?t:""}set name(t){this.setAttribute("name",t)}constructor(...t){super(...t),this.type="submit",this.value="",function(t,...e){let s=Je.get(t);s||(s=new Set,Je.set(t,s));for(const i of e)s.has(i)||(t.addEventListener(i,t=>{const e=new EventTarget;t[Xe]=e;const s=new AbortController,n=()=>{s.abort(),e.dispatchEvent(new Event("after"))},r=t=>function(){t.call(this),n()};t.stopPropagation=r(t.stopPropagation),t.stopImmediatePropagation=r(t.stopImmediatePropagation);const o=t.composedPath();let l;l=t.composed&&t.bubbles?o[o.length-1]:t.bubbles?o[0].getRootNode():o[0],l.addEventListener(i,()=>{n()},{once:!0,signal:s.signal})},{capture:!0}),s.add(i))}(this,"click"),this.addEventListener("click",async t=>{const e="reset"===this.type,s="submit"===this.type,i=this[He],{form:n}=i;n&&(s||e)&&function(t,e){const s=t[Xe];if(!s)throw new Error("'".concat(t.type,"' event needs setupDispatchHooks()."));s.addEventListener("after",e,{once:!0})}(t,()=>{t.defaultPrevented||(e?n.reset():(n.addEventListener("submit",t=>{Object.defineProperty(t,"submitter",{configurable:!0,enumerable:!0,get:()=>this})},{capture:!0,once:!0}),i.setFormValue(this.value),n.requestSubmit()))})})}}return de([Se()],e.prototype,"type",void 0),de([Se({reflect:!0})],e.prototype,"value",void 0),e}(function(t){class e extends t{get form(){return this[He].form}get labels(){return this[He].labels}get name(){var t;return null!=(t=this.getAttribute("name"))?t:""}set name(t){this.setAttribute("name",t)}get disabled(){return this.hasAttribute("disabled")}set disabled(t){this.toggleAttribute("disabled",Boolean(t))}attributeChangedCallback(t,e,s){if("name"===t||"disabled"===t){const s="disabled"===t?null!==e:e;return void this.requestUpdate(t,s)}super.attributeChangedCallback(t,e,s)}requestUpdate(t,e,s){super.requestUpdate(t,e,s),this[He].setFormValue(this[$e](),this[Qe]())}[$e](){return this.getAttribute("value")}[Qe](){return this[$e]()}formDisabledCallback(t){this.disabled=t}}return e.formAssociated=!0,de([Se({noAccessor:!0})],e.prototype,"name",null),de([Se({type:Boolean,noAccessor:!0})],e.prototype,"disabled",null),e}((ts=ue,class extends ts{get[He](){return this[qe]||(this[qe]=this.attachInternals()),this[qe]}}))));var ts,es;class ss extends Ze{constructor(){super(),this.softDisabled=!1,this.href="",this.download="",this.target="",this.trailingIcon=!1,this.hasIcon=!1,this.addEventListener("click",this.handleClick.bind(this))}focus(){var t;null==(t=this.buttonElement)||t.focus()}blur(){var t;null==(t=this.buttonElement)||t.blur()}render(){var t;const e=this.disabled||this.softDisabled,s=this.href?this.renderLink():this.renderButton(),i=this.href?"link":"button";return Ht(_d||(_d=__template(["\n      ",'\n      <div class="background"></div>\n      <md-focus-ring part="focus-ring" for=','></md-focus-ring>\n      <md-ripple\n        part="ripple"\n        for=','\n        ?disabled="','"></md-ripple>\n      ',"\n    "])),null==(t=this.renderElevationOrOutline)?void 0:t.call(this),i,i,e,s)}renderButton(){const{ariaLabel:t,ariaHasPopup:e,ariaExpanded:s}=this;return Ht(_e||(_e=__template(['<button\n      id="button"\n      class="button"\n      ?disabled=',"\n      aria-disabled=",'\n      aria-label="','"\n      aria-haspopup="','"\n      aria-expanded="','">\n      ',"\n    </button>"])),this.disabled,this.softDisabled||$t,t||$t,e||$t,s||$t,this.renderContent())}renderLink(){const{ariaLabel:t,ariaHasPopup:e,ariaExpanded:s}=this;return Ht(_f||(_f=__template(['<a\n      id="link"\n      class="button"\n      aria-label="','"\n      aria-haspopup="','"\n      aria-expanded="','"\n      aria-disabled=','\n      tabindex="','"\n      href=',"\n      download=","\n      target=","\n      >","\n    </a>"])),t||$t,e||$t,s||$t,this.disabled||this.softDisabled||$t,this.disabled&&!this.softDisabled?-1:$t,this.href,this.download||$t,this.target||$t,this.renderContent())}renderContent(){const t=Ht(_g||(_g=__template(['<slot\n      name="icon"\
1n      @slotchange="','"></slot>'])),this.handleSlotChange);return Ht(_h||(_h=__template(['\n      <span class="touch"></span>\n      ','\n      <span class="label"><slot></slot></span>\n      ',"\n    "])),this.trailingIcon?$t:t,this.trailingIcon?t:$t)}handleClick(t){if(this.softDisabled||this.disabled&&this.href)return t.stopImmediatePropagation(),void t.preventDefault();(function(t){return t.currentTarget===t.target&&t.composedPath()[0]===t.target&&!t.target.disabled&&!function(t){const e=je;return e&&(t.preventDefault(),t.stopImmediatePropagation()),async function(){je=!0,await null,je=!1}(),e}(t)})(t)&&this.buttonElement&&(this.focus(),function(t){const e=new MouseEvent("click",{bubbles:!0});t.dispatchEvent(e)}(this.buttonElement))}handleSlotChange(){this.hasIcon=this.assignedIcons.length>0}}ss.shadowRootOptions={mode:"open",delegatesFocus:!0},de([Se({type:Boolean,attribute:"soft-disabled",reflect:!0})],ss.prototype,"softDisabled",void 0),de([Se()],ss.prototype,"href",void 0),de([Se()],ss.prototype,"download",void 0),de([Se()],ss.prototype,"target",void 0),de([Se({type:Boolean,attribute:"trailing-icon",reflect:!0})],ss.prototype,"trailingIcon",void 0),de([Se({type:Boolean,attribute:"has-icon",reflect:!0})],ss.prototype,"hasIcon",void 0),de([fe(".button")],ss.prototype,"buttonElement",void 0),de([(es={slot:"icon",flatten:!0},(t,e)=>{const{slot:s,selector:i}=null!=es?es:{},n="slot"+(s?"[name=".concat(s,"]"):":not([name])");return Re(t,e,{get(){var t,e;const s=null==(t=this.renderRoot)?void 0:t.querySelector(n),r=null!=(e=null==s?void 0:s.assignedElements(es))?e:[];return void 0===i?r:r.filter(t=>t.matches(i))}})})],ss.prototype,"assignedIcons",void 0);class is extends ss{renderElevationOrOutline(){return Ht(_i||(_i=__template(['<div class="outline"></div>'])))}}const ns=ut(_j||(_j=__template([":host{--_container-height: var(--md-outlined-button-container-height, 40px);--_disabled-label-text-color: var(--md-outlined-button-disabled-label-text-color, var(--md-sys-color-on-surface, #1d1b20));--_disabled-label-text-opacity: var(--md-outlined-button-disabled-label-text-opacity, 0.38);--_disabled-outline-color: var(--md-outlined-button-disabled-outline-color, var(--md-sys-color-on-surface, #1d1b20));--_disabled-outline-opacity: var(--md-outlined-button-disabled-outline-opacity, 0.12);--_focus-label-text-color: var(--md-outlined-button-focus-label-text-color, var(--md-sys-color-primary, #6750a4));--_hover-label-text-color: var(--md-outlined-button-hover-label-text-color, var(--md-sys-color-primary, #6750a4));--_hover-state-layer-color: var(--md-outlined-button-hover-state-layer-color, var(--md-sys-color-primary, #6750a4));--_hover-state-layer-opacity: var(--md-outlined-button-hover-state-layer-opacity, 0.08);--_label-text-color: var(--md-outlined-button-label-text-color, var(--md-sys-color-primary, #6750a4));--_label-text-font: var(--md-outlined-button-label-text-font, var(--md-sys-typescale-label-large-font, var(--md-ref-typeface-plain, Roboto)));--_label-text-line-height: var(--md-outlined-button-label-text-line-height, var(--md-sys-typescale-label-large-line-height, 1.25rem));--_label-text-size: var(--md-outlined-button-label-text-size, var(--md-sys-typescale-label-large-size, 0.875rem));--_label-text-weight: var(--md-outlined-button-label-text-weight, var(--md-sys-typescale-label-large-weight, var(--md-ref-typeface-weight-medium, 500)));--_outline-color: var(--md-outlined-button-outline-color, var(--md-sys-color-outline, #79747e));--_outline-width: var(--md-outlined-button-outline-width, 1px);--_pressed-label-text-color: var(--md-outlined-button-pressed-label-text-color, var(--md-sys-color-primary, #6750a4));--_pressed-outline-color: var(--md-outlined-button-pressed-outline-color, var(--md-sys-color-outline, #79747e));--_pressed-state-layer-color: var(--md-outlined-button-pressed-state-layer-color, var(--md-sys-color-primary, #6750a4));--_pressed-state-layer-opacity: var(--md-outlined-button-pressed-state-layer-opacity, 0.12);--_disabled-icon-color: var(--md-outlined-button-disabled-icon-color, var(--md-sys-color-on-surface, #1d1b20));--_disabled-icon-opacity: var(--md-outlined-button-disabled-icon-opacity, 0.38);--_focus-icon-color: var(--md-outlined-button-focus-icon-color, var(--md-sys-color-primary, #6750a4));--_hover-icon-color: var(--md-outlined-button-hover-icon-color, var(--md-sys-color-primary, #6750a4));--_icon-color: var(--md-outlined-button-icon-color, var(--md-sys-color-primary, #6750a4));--_icon-size: var(--md-outlined-button-icon-size, 18px);--_pressed-icon-color: var(--md-outlined-button-pressed-icon-color, var(--md-sys-color-primary, #6750a4));--_container-shape-start-start: var(--md-outlined-button-container-shape-start-start, var(--md-outlined-button-container-shape, var(--md-sys-shape-corner-full, 9999px)));--_container-shape-start-end: var(--md-outlined-button-container-shape-start-end, var(--md-outlined-button-container-shape, var(--md-sys-shape-corner-full, 9999px)));--_container-shape-end-end: var(--md-outlined-button-container-shape-end-end, var(--md-outlined-button-container-shape, var(--md-sys-shape-corner-full, 9999px)));--_container-shape-end-start: var(--md-outlined-button-container-shape-end-start, var(--md-outlined-button-container-shape, var(--md-sys-shape-corner-full, 9999px)));--_leading-space: var(--md-outlined-button-leading-space, 24px);--_trailing-space: var(--md-outlined-button-trailing-space, 24px);--_with-leading-icon-leading-space: var(--md-outlined-button-with-leading-icon-leading-space, 16px);--_with-leading-icon-trailing-space: var(--md-outlined-button-with-leading-icon-trailing-space, 24px);--_with-trailing-icon-leading-space: var(--md-outlined-button-with-trailing-icon-leading-space, 24px);--_with-trailing-icon-trailing-space: var(--md-outlined-button-with-trailing-icon-trailing-space, 16px);--_container-color: none;--_disabled-container-color: none;--_disabled-container-opacity: 0}.outline{inset:0;border-style:solid;position:absolute;box-sizing:border-box;border-color:var(--_outline-color);border-start-start-radius:var(--_container-shape-start-start);border-start-end-radius:var(--_container-shape-start-end);border-end-start-radius:var(--_container-shape-end-start);border-end-end-radius:var(--_container-shape-end-end)}:host(:active) .outline{border-color:var(--_pressed-outline-color)}:host(:is([disabled],[soft-disabled])) .outline{border-color:var(--_disabled-outline-color);opacity:var(--_disabled-outline-opacity)}@media(forced-colors: active){:host(:is([disabled],[soft-disabled])) .background{border-color:GrayText}:host(:is([disabled],[soft-disabled])) .outline{opacity:1}}.outline,md-ripple{border-width:var(--_outline-width)}md-ripple{inline-size:calc(100% - 2*var(--_outline-width));block-size:calc(100% - 2*var(--_outline-width));border-style:solid;border-color:rgba(0,0,0,0)}\n"])));ns.styleSheet;const rs=ut(_k||(_k=__template([":host{border-start-start-radius:var(--_container-shape-start-start);border-start-end-radius:var(--_container-shape-start-end);border-end-start-radius:var(--_container-shape-end-start);border-end-end-radius:var(--_container-shape-end-end);box-sizing:border-box;
1cursor:pointer;display:inline-flex;gap:8px;min-height:var(--_container-height);outline:none;padding-block:calc((var(--_container-height) - max(var(--_label-text-line-height),var(--_icon-size)))/2);padding-inline-start:var(--_leading-space);padding-inline-end:var(--_trailing-space);place-content:center;place-items:center;position:relative;font-family:var(--_label-text-font);font-size:var(--_label-text-size);line-height:var(--_label-text-line-height);font-weight:var(--_label-text-weight);text-overflow:ellipsis;text-wrap:nowrap;user-select:none;-webkit-tap-highlight-color:rgba(0,0,0,0);vertical-align:top;--md-ripple-hover-color: var(--_hover-state-layer-color);--md-ripple-pressed-color: var(--_pressed-state-layer-color);--md-ripple-hover-opacity: var(--_hover-state-layer-opacity);--md-ripple-pressed-opacity: var(--_pressed-state-layer-opacity)}md-focus-ring{--md-focus-ring-shape-start-start: var(--_container-shape-start-start);--md-focus-ring-shape-start-end: var(--_container-shape-start-end);--md-focus-ring-shape-end-end: var(--_container-shape-end-end);--md-focus-ring-shape-end-start: var(--_container-shape-end-start)}:host(:is([disabled],[soft-disabled])){cursor:default;pointer-events:none}.button{border-radius:inherit;cursor:inherit;display:inline-flex;align-items:center;justify-content:center;border:none;outline:none;-webkit-appearance:none;vertical-align:middle;background:rgba(0,0,0,0);text-decoration:none;min-width:calc(64px - var(--_leading-space) - var(--_trailing-space));width:100%;z-index:0;height:100%;font:inherit;color:var(--_label-text-color);padding:0;gap:inherit;text-transform:inherit}.button::-moz-focus-inner{padding:0;border:0}:host(:hover) .button{color:var(--_hover-label-text-color)}:host(:focus-within) .button{color:var(--_focus-label-text-color)}:host(:active) .button{color:var(--_pressed-label-text-color)}.background{background:var(--_container-color);border-radius:inherit;inset:0;position:absolute}.label{overflow:hidden}:is(.button,.label,.label slot),.label ::slotted(*){text-overflow:inherit}:host(:is([disabled],[soft-disabled])) .label{color:var(--_disabled-label-text-color);opacity:var(--_disabled-label-text-opacity)}:host(:is([disabled],[soft-disabled])) .background{background:var(--_disabled-container-color);opacity:var(--_disabled-container-opacity)}@media(forced-colors: active){.background{border:1px solid CanvasText}:host(:is([disabled],[soft-disabled])){--_disabled-icon-color: GrayText;--_disabled-icon-opacity: 1;--_disabled-container-opacity: 1;--_disabled-label-text-color: GrayText;--_disabled-label-text-opacity: 1}}:host([has-icon]:not([trailing-icon])){padding-inline-start:var(--_with-leading-icon-leading-space);padding-inline-end:var(--_with-leading-icon-trailing-space)}:host([has-icon][trailing-icon]){padding-inline-start:var(--_with-trailing-icon-leading-space);padding-inline-end:var(--_with-trailing-icon-trailing-space)}::slotted([slot=icon]){display:inline-flex;position:relative;writing-mode:horizontal-tb;fill:currentColor;flex-shrink:0;color:var(--_icon-color);font-size:var(--_icon-size);inline-size:var(--_icon-size);block-size:var(--_icon-size)}:host(:hover) ::slotted([slot=icon]){color:var(--_hover-icon-color)}:host(:focus-within) ::slotted([slot=icon]){color:var(--_focus-icon-color)}:host(:active) ::slotted([slot=icon]){color:var(--_pressed-icon-color)}:host(:is([disabled],[soft-disabled])) ::slotted([slot=icon]){color:var(--_disabled-icon-color);opacity:var(--_disabled-icon-opacity)}.touch{position:absolute;top:50%;height:max(48px,100%);left:0;right:0;transform:translateY(-50%)}:host([touch-target=wrapper]){margin:max(0px,(48px - var(--_container-height))/2) 0}:host([touch-target=none]) .touch{display:none}\n"])));rs.styleSheet;let os=class extends is{};os.styles=[rs,ns],os=de([Ee("md-outlined-button")],os);const ls=class extends os{};ls.styles=[...os.styles,ut(_l||(_l=__template(["\n      :host {\n        /*\n         * EXPLICIT JUSTIFICATION FOR CUSTOM OVERRIDES:\n         * Container Background: Standard M3 OutlinedButton defaults to a transparent container\n         * (--_container-color: none). We map --md-outlined-button-container-color so buttons\n         * have opaque backgrounds on publisher pages.\
1n         */\n        background-color: var(\n          --md-outlined-button-container-color,\n          transparent\n        );\n        border-radius: var(--_container-shape-start-start, 20px);\n        vertical-align: middle;\n      }\n      :host(:is([disabled], [soft-disabled])) {\n        background-color: var(\n          --md-outlined-button-disabled-container-color,\n          transparent\n        );\n      }\n      .outline {\n        pointer-events: none;\n      }\n    "])))];let as=ls;customElements.get("publisher-md-outlined-button")||customElements.define("publisher-md-outlined-button",as);const hs={ar:'الإضافة إلى "المصادر المفضّلة"',bg:"Добавяне към предпочитаните източници",bn:"পছন্দসই সোর্সে যোগ করুন",cs:"Přidat do preferovaných zdrojů",da:"Føj til Foretrukne kilder",de:"Zu bevorzugten Quellen hinzufügen",el:"Προσθήκη στις Προτιμώμενες πηγές",en:"Add to Preferred Sources",es:"Añadir a fuentes preferidas","es-419":"Agregar a Fuentes preferidas",et:"Lisa eelistatud allikaks",fil:"Idagdag sa Mga Gustong Source",fr:"Ajouter aux Sources préférées","fr-ca":"Ajouter aux Sources préférées",gu:"મનપસંદ સૉર્સમાં ઉમેરો",hi:"पसंदीदा सोर्स में जोड़ें",hr:"Dodaj u preferirane izvore",hu:"Hozzáadás az előnyben részesített forrásokhoz",id:"Tambahkan ke Sumber Pilihan",it:"Aggiungi alle Fonti preferite",iw:"הוספה למקורות המועדפים",ja:"優先するニュース提供元に追加",kn:"ಆದ್ಯತೆಯ ಮೂಲಗಳಿಗೆ ಸೇರಿಸಿ",ko:"선호하는 매체에 추가",lt:"Pridėti prie Pageidaujamų Å¡altinių",lv:"Pievienot vēlamajiem avotiem",ml:"മുൻഗണന നൽകുന്ന ഉറവിടങ്ങളിലേക്ക് ചേർക്കുക",mr:"प्राधान्य असलेले स्रोत मध्ये जोडा",ms:"Tambahkan pada Sumber Pilihan",nl:"Toevoegen aan Voorkeursbronnen",no:"Legg til i foretrukne kilder",pa:"ਤਰਜੀਹੀ ਸਰੋਤਾਂ ਵਿੱਚ ਸ਼ਾਮਲ ਕਰੋ",pl:"Dodaj do preferowanych źródeł","pt-br":"Adicionar a Fontes Preferidas","pt-pt":"Adicionar às Fontes preferidas",ro:"Adăugați la Sursele preferate",ru:"Добавить в предпочтительные источники",sk:"PridaÅ¥ k preferovaným zdrojom",sl:"Dodaj v prednostne vire",sv:"Lägg till i Önskade källor",ta:"முதன்மை ஆதாரங்களில் சேர்",te:"ప్రాధాన్యతనిచ్చే సోర్సులకు జోడించండి",th:"เพิ่มไปยังแหล่งที่มาที่ต้องการ",tr:"Tercih Edilen Kaynaklar'a ekle",uk:"Додати до бажаних джерел",ur:"ترجیحی ماخذات میں شامل کریں",vi:"Thêm vào Nguồn ưu tiên","zh-cn":"添加到首选来源","zh-hk":"新增至「偏好來源」","zh-tw":"新增至偏好來源"},us={ar:'تمت الإضافة إلى "المصادر المفضّلة"',bg:"Добавено към предпочитаните източници",bn:"পছন্দসই সোর্সে যোগ করা হয়েছে",cs:"Přidáno do preferovaných zdrojů",da:"Føjet til Foretrukne kilder",de:"Zu bevorzugten Quellen hinzugefügt",el:"Προστέθηκε στις Προτιμώμενες πηγές",en:"Added to Preferred Sources",es:"Añadida a fuentes preferidas","es-419":"Ya se agregó a Fuentes preferidas",et:"On juba eelistatud allikana lisatud",fil:"Idinagdag sa Mga Gustong Source",fr:"Ajoutée aux Sources préférées","fr-ca":"Ajoutée aux Sources préférées",gu:"મનપસંદ સૉર્સમાં ઉમેર્યું છે",hi:"पसंदीदा सोर्स में जोड़ा गया",hr:"Dodano u preferirane izvore",hu:"Hozzáadva az előnyben részesített forrásokhoz",id:"Ditambahkan ke Sumber Pilihan",it:"Aggiunta alle Fonti preferite",iw:"נוסף למקורות המועדפים",ja:"優先するニュース提供元に追加しました",kn:"ಆದ್ಯತೆಯ ಮೂಲಗಳಿಗೆ ಸೇರಿಸಲಾಗಿದೆ",ko:"선호하는 매체에 추가됨",lt:"Pridėta prie Pageidaujamų Å¡altinių",lv:"Pievienots vēlamajiem avotiem",ml:"മുൻഗണന നൽകുന്ന ഉറവിടങ്ങളിലേക്ക് ചേർത്തു",mr:"प्राà
1¤§à¤¾à¤¨à¥à¤¯ असलेले स्रोत मध्ये जोडले आहे",ms:"Ditambahkan pada Sumber Pilihan",nl:"Toegevoegd aan Voorkeursbronnen",no:"Lagt til i foretrukne kilder",pa:"ਤਰਜੀਹੀ ਸਰੋਤਾਂ ਵਿੱਚ ਸ਼ਾਮਲ ਕੀਤਾ ਗਿਆ",pl:"Dodano do preferowanych źródeł","pt-br":"Adicionada às Fontes Preferidas","pt-pt":"Adicionada às Fontes preferidas",ro:"Adăugată la Sursele preferate",ru:"Добавлено в предпочтительные источники",sk:"Pridané k preferovaným zdrojom",sl:"Dodano v prednostne vire",sv:"Har lagts till i Önskade källor",ta:"முதன்மை ஆதாரங்களில் சேர்க்கப்பட்டது",te:"ప్రాధాన్యతనిచ్చే సోర్సులకు జోడించారు",th:"เพิ่มไปยังแหล่งที่มาที่ต้องการแล้ว",tr:"Tercih Edilen Kaynaklar'a eklendi",uk:"Додано до бажаних джерел",ur:"ترجیحی ماخذات میں شامل کیا گیا",vi:"Đã thêm vào Nguồn ưu tiên","zh-cn":"已添加到首选来源","zh-hk":"已新增至「偏好來源」","zh-tw":"已新增至偏好來源"},cs={ar:'إشعار "اشترِك مع Google"',bg:"Известие за „Абонамент към Google“",bn:"Subscribe with Google-এর বিজ্ঞপ্তি",cs:"Oznámení Předplatného s Googlem",da:"Notifikation om Abonner med Google",de:"„Abonnieren mit Google“-Benachrichtigung",el:"Ειδοποίηση από τη λειτουργία Εγγραφείτε με την Google",en:"Subscribe with Google Notification",es:"Notificación de Suscríbete con Google","es-419":"Notificación de Suscríbete con Google",et:"Märguanne Tellige Google'iga",fil:"Notification ng Mag-subscribe gamit ang Google",fr:"Notification S'abonner avec Google","fr-ca":"Notification S'abonner avec Google",gu:"Subscribe with Google નોટિફિકેશન",hi:"Subscribe with Google की सूचना",hr:"Obavijest o Pretplati putem Googlea",hu:"Előfizetés a Google-lal értesítés",id:"Notifikasi Berlangganan dengan Google",it:"Notifica Abbonati con Google",iw:"התראה לגבי Subscribe with Google",ja:"「Google で購読」の通知",kn:"Subscribe with Google ನೋಟಿಫಿಕೇಶನ್",ko:"Google을 통한 구독 알림",lt:"„Prenumeruoti su „Google“ praneÅ¡imas",lv:"Paziņojums par funkciju “Abonēšana, izmantojot Google”",ml:"Subscribe with Google അറിയിപ്പ്",mr:"Subscribe with Google नोटिफिकेशन",ms:"Pemberitahuan Langgan dengan Google",nl:"Melding voor Abonneren via Google",no:"Abonner med Google-varsel",pa:"Subscribe with Google ਸੂਚਨਾ",pl:"Powiadomienie Subskrybuj z Google","pt-br":"Notificação do Assine com o Google","pt-pt":"Notificação da funcionalidade Subscreva com o Google",ro:"Notificarea Abonați-vă cu Google",ru:'Уведомление сервиса "Подписка через Google"',sk:"Upozornenie Predplatného s Googlom",sl:"Obvestilo o Naročninah z Googlom",sv:"Avisering om Subscribe with Google",ta:"Subscribe with Google அறிவிப்பு",te:"Subscribe with Google నోటిఫికేషన్",th:'การแจ้งเตือน "สมัครผ่าน Google"',tr:"Google ile Abone Ol Bildirimi",uk:'Сповіщення "Передплата через Google"',ur:"‫Google کے ساتھ سبسکرائب کریں کی اطلاع",vi:"Thông báo về dịch vụ Đăng ký bằng Google","zh-cn":"“通过 Google 订阅”通知","zh-hk":"「透過 Google 訂閱」通知","zh-tw":"「透過 Google 訂閱」通知"};function ds(t,e,s,i){const n=t.createElement(e);return function(t,e={}){for(const[s,i]of Object.entries(e))t.setAttribute(s,i)}(n,s),i&&(n.textContent=i),n}const _s=String.raw,Es={containerColor:"#ffffff",outlineColor:"#c4c7c5",labelTextColor:"#1f1f1f",hoverContainerColor:"#f8f9fa",hoverOutlineColor:"#c4c7c5",hoverLabelTextColor:"#1f1f1f",pressedContainerColor:"#f1f3f4",pressedOutlineColor:"#c4c7c5",pressedLabelTextColor:"#1f1f1f",disabledContainerColor:"#e1e3e1",disabledOutlineColor:"#e1e3e1",disabledLabelTextColor:"#747775"},ps={containerColor:"#202124",outlineColor:"#5f6368",labelTextColor:"#e8eaed",hoverContainerColor:"#303134",hoverOutlineColor:"#5f6368",hoverLabelTextColor:"#e8eaed",pressedContainerColor:"#35363a",pressedOutlineColor:"#5f6368",pressedLabelTextColor:"#e8eaed",disabledContainerColor:"#202124",disabledOutlineColor:"#3c4043",disabledLabelTextColor:"#80868b"};function Ts(t){return _s(_m||(_m=__template(["\n    --md-sys-color-primary: ",";\n    --md-outlined-button-container-color: ",";\n    --md-outlined-button-outline-color: ",";\n    --md-outlined-button-label-text-color: ",";\n    --md-outlined-button-hover-container-color: ",";\n    --md-outlined-button-hover-outline-color: ",";\n    --md-outlined-button-hover-label-text-color: ",";\n    --md-outlined-button-hover-state-layer-color: ",";\n    --md-outlined-button-focus-label-text-color: ",";\n    --md-outlined-button-focus-outline-color: ",";\n    --md-outlined-button-focus-state-layer-color: ",";\n    --md-outlined-button-pressed-container-color: ",";\n    --md-outlined-button-pressed-outline-color: ",";\n    --md-outlined-button-pressed-label-text-color: ",";\n    --md-outlined-button-pressed-state-layer-color: ",";\n    --md-outlined-button-disabled-container-color: ",";\n    --md-outlined-button-disabled-outline-color: ",";\n    --md-outlined-button-disabled-label-text-color: ",";\n  "])),t.labelTextColor,t.containerColor,t.outlineColor,t.labelTextColor,t.hoverContainerColor,t.hoverOutlineColor,t.hoverLabelTextColor,t.labelTextColor,t.labelTextColor,t.outlineColor,t.labelTextColor,t.pressedContainerColor,t.pressedOutlineColor,t.pressedLabelTextColor,t.labelTextColor,t.disabledContainerColor,t.disabledOutlineColor,t.disabledLabelTextColor)}function Ss(t,e){const s=t.en;if(!e)return s;let i="string"==typeof e?e:(n=e).lang?n.lang:(null==(o=null==(r=null==n?void 0:n.ownerDocument)?void 0:r.documentElement)?void 0:o.lang)?n.ownerDocument.documentElement.lang:"en";var n,r,o;i=i.toLowerCase(),i=i.replace(/_/g,"-");const l=i.split("-");for(;l.length;){const e=l.join("-");if(e in t)return t[e];l.pop()}return s}class gs{constructor(t,e,s={}){this.Ws=t,this.qs=e,this.Ss=s,this.$s=null,this.Qs=null,this.Xs=null}attach(t){const e=this.qs.ownerDocument||document,s=this.qs.attachShadow({mode:"open"});this.$s=s;const i=this.Ss.lang||"en",n=Ss(hs,i);this.qs.setAttribute("aria-live","polite");const r=ds(e,"style",{},function(t){const e="auto"===t||!t,s="dark"===t?ps:Es;return _s(_o||(_o=__template(["\n    :host {\n      display: inline-flex;\n      align-items: center;\n      justify-content: center;\n      vertical-align: middle;\n      box-sizing: border-box;\n      line-height: normal;\n      max-width: 100%;\n      min-width: 140px;\n    }\n    publisher-md-outlined-button {\n      max-width: 100%;\n      min-width: 140px;\n      --md-outlined-button-container-height: 40px;\n      --md-outlined-button-container-shape: 20px;\n      --md-outlined-button-icon-size: 22px;\n      --md-outlined-button-with-leading-icon-leading-space: 14px;\n      --md-outlined-button-with-leading-icon-trailing-space: 16px;\n      --md-outlined-button-leading-space: 14px;\n      --md-outlined-button-trailing-space: 16px;\n      --md-outlined-button-outline-width: 1px;\n      --md-outlined-button-disabled-outline-opacity: 1;\n      --md-outlined-button-disabled-container-opacity: 1;\n      --md-outlined-button-disabled-label-text-opacity: 1;\n      --md-outlined-button-label-text-font:\n        'Google Sans Text', Roboto, Helvetica, Arial, sans-serif;\n      --md-outlined-button-label-text-size: 14px;\n      --md-outlined-button-label-text-weight: 500;\n      --md-outlined-button-label-text-tracking: 0.1px;\n      ","\n    }\n    ","\n    .publisher-logo {\n      width: 22px;\n      height: 22px;\n      flex-shrink: 0;\n      display: inline-block;\n      vertical-align: middle;\n    }\n    .publisher-btn-text {\n      line-height: 20px;\n      white-space: nowrap;\n      overflow: hidden;\n      text-overflow: ellipsis;\n      display: inline-block;\n      max-width: 100%;\n      vertical-align: middle;\n    }\n  "])),Ts(s),e?_s(_n||(_n=__template(["\n          @media (prefers-color-scheme: dark) {\n            publisher-md-outlined-button {\n              ","\n            }\n          }\n        "])),Ts(ps)):"")}(this.Ss.theme));s.appendChild(r),this.Qs=ds(e,"publisher-md-outlined-button",{title:n,"aria-label":n});const o=ds(e,"img",{class:"publisher-logo",slot:"icon",src:"https://www.gstatic.
1com/images/branding/productlogos/googleg_gradient/v1/24px.svg",alt:"","aria-hidden":"true",width:"22",height:"22",loading:"eager",decoding:"async"});this.Qs.appendChild(o),this.Xs=ds(e,"span",{class:"publisher-btn-text"},n),this.Qs.appendChild(this.Xs),s.appendChild(this.Qs),this.Js(l.IMPRESSION_ADD_PREFERRED_SOURCES_BUTTON),this.Zs=t,this.Qs.addEventListener("click",t=>{this.handleClick(t)}),this.updateStatus(this.ti)}async handleClick(t){var e,s,i,n,r;(null==t?void 0:t.isTrusted)&&(null==(e=t.preventDefault)||e.call(t),"true"===(null==(s=this.Qs)?void 0:s.getAttribute("aria-disabled"))||(null==(i=this.Qs)?void 0:i.hasAttribute("soft-disabled"))||(null==(n=this.Qs)?void 0:n.hasAttribute("disabled"))||(this.Js(l.ACTION_ADD_PREFERRED_SOURCES_BUTTON_CLICK),await(null==(r=this.Zs)?void 0:r.call(this))))}updateStatus(t){if(void 0===t)return;if(this.ti=t,!this.Qs||!this.Xs)return;const e=this.Ss.lang||"en";if(t===o.ADD_PREFERRED_SOURCE_STATUS_SUCCESS||t===o.ADD_PREFERRED_SOURCE_STATUS_ALREADY_ADDED){const t=Ss(us,e);this.Xs.textContent=t,this.Qs.setAttribute("title",t),this.Qs.setAttribute("aria-label",t),this.Qs.setAttribute("aria-disabled","true"),this.Qs.setAttribute("soft-disabled",""),this.Qs.softDisabled=!0}else t===o.ADD_PREFERRED_SOURCE_STATUS_INELIGIBLE&&(this.Qs.setAttribute("aria-disabled","true"),this.Qs.setAttribute("soft-disabled",""),this.Qs.softDisabled=!0)}getShadowRoot(){return this.$s}Js(t){try{const e=x(this.Ws.doc()),s=new g;e&&s.setCanonicalUrl(e),this.Ws.eventManager().logSwgEvent(t,t===l.ACTION_ADD_PREFERRED_SOURCES_BUTTON_CLICK,s)}catch(e){}}}const Rs={zero:"0",nocache:"1",hr1:"3600000",hr12:"43200000"},fs={frontEnd:"https://news.google.com",payEnv:"PRODUCTION",playEnv:"PROD",feCache:"nocache"},Is={default:{frontEnd:"https://news.google.com",payEnv:"PRODUCTION",playEnv:"PROD",feCache:"nocache"},prod:fs,paytest:{...fs,payEnv:"TEST"},autopush:{frontEnd:"https://subscribe-autopush.sandbox.google.com",payEnv:"PRODUCTION",playEnv:"AUTOPUSH",feCache:"nocache"},qual:{frontEnd:"https://subscribe-qual.sandbox.google.com",payEnv:"SANDBOX",playEnv:"STAGING",feCache:"nocache"}};function bs(){const t=L(self.location.hash)["swg.mode"];return t&&Is[t]?Is[t]:Is.default}function ms(t,e={},s=""){const i=s?"swg/".concat(s):"swg";t=function(t){return D(t,"_",function(t){const e=Number(Rs[t]||1);if(0===e)return"_";const s=Date.now();return String(e<=1?s:Math.floor(s/e))}(bs().feCache))}("".concat(bs().frontEnd,"/").concat(i,"/ui/v1").concat(t));const n=L(self.location.hash),r=n["swg.boqjsmode"];void 0!==r&&(t=D(t,"jsmode",r));const o=n["swg.experiments"];void 0!==o&&(t=D(t,"e",o));for(const l in e)t=D(t,l,e[l]);return t}const Os="addPreferredSource";class Ns{constructor(t,e){this.Ws=t,this.Ss=e,this.xe=t.win(),this.zs=t.activities()}start(){return new Promise((t,e)=>{var s;this.zs.onResult(Os,s=>{(async function(t,e){const s=await t.acceptResult();if(s.origin!=e||!s.originVerified||!s.secureChannel)throw new Error("channel mismatch");return s.data})(s,y(bs().frontEnd).origin).then(e=>{t(new c(e))}).catch(e)});const i={hl:(null==(s=this.Ss)?void 0:s.language)||this.Ws.clientConfigManager().getLanguage(),source:this.xe.location.href};var n;this.zs.openPopupWithMessaging(Os,ms("/addpreferredsource",i),"_blank",(n={source:this.xe.location.href},Object.assign(n,{_client:"SwG ".concat(r)})),{})})}}var Cs=(t=>(t[t.PROCESS_EVENT=0]="PROCESS_EVENT",t[t.CANCEL_EVENT=1]="CANCEL_EVENT",t))(Cs||{});function vs(t){return"[object Object]"===Object.prototype.toString.call(t)}function As(t,e){return Object.values(t).includes(e)}function Ps(t){return"function"==typeof t}function ws(t,e){return"Event has an invalid "+t+"("+e+")"}class ys{constructor(t){this.ei=t,this.si=[],this.ii=[],this.lastAction=null}static isPublisherEvent(t){return t.eventOriginator===a.PROPENSITY_CLIENT||t.eventOriginator===a.PUBLISHER_CLIENT}registerEventListener(t){if(!Ps(t))throw new Error("Event manager listeners must be a function");this.si.push(t)}registerEventFilterer(t){if(!Ps(t))throw new Error("Event manager filterers must be a function");this.ii.push(t)}logEvent(t,e,s){!function(t){if(!vs(t))throw new Error("Event must be a valid object");
1if(!As(l,t.eventType))throw new Error(ws("eventType",t.eventType));if(!As(a,t.eventOriginator))throw new Error(ws("eventOriginator",t.eventOriginator));if(!vs(t.additionalParameters)&&null!=t.additionalParameters)throw new Error(ws("additionalParameters",t.additionalParameters));if(null!=t.isFromUserAction&&"boolean"!=typeof t.isFromUserAction)throw new Error(ws("isFromUserAction",t.isFromUserAction))}(t),t.timestamp=null!=s?s:Date.now(),this.lastAction=this.je(t,e)}async je(t,e){await this.ei;for(const i of this.ii)try{if(i(t)===Cs.CANCEL_EVENT)return}catch(s){A(s)}for(const i of this.si)try{i(t,e)}catch(s){A(s)}}logSwgEvent(t,e=!1,s=null,i,n=null){this.logEvent({eventType:t,eventOriginator:a.SWG_CLIENT,isFromUserAction:e,additionalParameters:s,configurationId:n},void 0,i)}getReadyPromise(){return this.ei}}class Ls{static throwAsync(t){setTimeout(()=>{throw t})}}let Ds=null;function Us(t,e,s){let i,n,r=!1;const o=s.indexOf(":");if(-1==o?(i=s,n=100,r=!1):(i=s.substring(0,o).trim(),"c"==(s=s.substring(o+1)).substring(s.length-1)&&(r=!0,s=s.substring(0,s.length-1)),n=parseInt(s,10)),isNaN(n))throw new Error("invalid fraction");let l;if(n>99)l=!0;else if(n<1)l=!1;else if(t.sessionStorage){r=r&&n<=20;try{const e="subscribe.google.com:e:"+i+":"+n+(r?"c":"");let s="e"==(a=t.sessionStorage.getItem(e))?"e":"c"==a?"c":null;!s&&100*Math.random()<=n*(r?2:1)&&(s=!r||Math.random()<=.5?"e":"c",t.sessionStorage.setItem(e,s)),l=!!s,"c"==s&&(i="c-"+i)}catch(h){l=!1,Ls.throwAsync(h)}}else l=!1;var a;e[i]=l}function xs(t){const e=function(t){if(!Ds){Ds={};let s="enable-pub-id-suffix-for-storage-key";try{const e=L(t.location.hash)["swg.experiments"];e&&(s+=","+e)}catch(e){Ls.throwAsync(e)}for(let i of s.split(","))if(i=i.trim(),i)try{Us(t,Ds,i)}catch(e){Ls.throwAsync(e)}}return Ds}(t),s=[];for(const i in e)e[i]&&s.push(i);return s}const Ms="0123456789ABCDEF";function Gs(t){return Ms[3&t|8]}function ks(t,e){for(const[s,i]of Object.entries(e))t.style.setProperty(s,i.toString(),"important")}function Fs(t,e,s){t.style.setProperty(e,s)}function Ws(t){return new m([Math.floor(t/1e3),t%1e3*1e6],!1)}const Bs={opacity:"0",position:"absolute",top:"-10px",left:"-10px",height:"1px",width:"1px"},Vs="AnalyticsService timed out waiting for a response";function Ys(t){const e=new R;return e.setComplete(!1),e.setError(t),e}class zs{constructor(t){var e;this.Ws=t,this.J=new d,this.ni=!1,this.ri=!1,this.oi=null,this.li=[],this.ai=null,this.ui=null,this.ci=!1,this.di=null,this._i=0,this.lastAction=null,this.V=Ws(t.creationTimestamp()),this.Ei=t.doc(),this.zs=t.activities(),this.Je=ds(this.Ei.getWin().document,"iframe",{title:"Subscribe with Google Service"}),ks(this.Je,Bs),null==(e=this.Ei.getBody())||e.appendChild(this.getElement()),this.pi(),this.Ti=t.eventManager(),this.Ti.registerEventListener(this.Si.bind(this))}setReadyForLogging(){this.ci=!0;for(const t of this.li)this.Si(t)}setTransactionId(t){const e=this.J.getTransactionId();if(this.J.setTransactionId(t),null!=e&&e!=t){const t=l.EVENT_NEW_TX_ID,s=new g;s.setOldTransactionId(e),this.Ti.logSwgEvent(t,!0,s)}}getTransactionId(){return this.J.getTransactionId()}getSku(){return this.J.getSku()}setSku(t){this.J.setSku(t)}setUrl(t){this.J.setUrl(t)}addLabels(t){if(t&&t.length>0){const e=[].concat(this.J.getLabelList());for(const s of t)-1==e.indexOf(s)&&e.push(s);this.J.setLabelList(e)}}removeLabels(t){if(t&&t.length>0){const e=[].concat(this.J.getLabelList());for(const s of t){const t=e.indexOf(s);t>-1&&e.splice(t,1)}this.J.setLabelList(e)}}getElement(){return this.Je}gi(){return this.Ei.getWin().location.search}Ri(){return this.Ei.getWin().document.referrer}fi(){const t=this.Ii();if(t&&t.length){const e=t[0],s=e.loadEventStart-e.unloadEventEnd;if(s>0)return s}return 0}Ii(){return performance.getEntriesByType("navigation")}pi(){const t=this.J;t.setTransactionId(function(){let t=function(){const t=Date.now().toString(16);return t.substring(t.length-8).toUpperCase()}()+"-",e=0;const s=function(){const t=new Uint8Array(23);self.crypto.getRandomValues(t);for(let e=t.length-1;e>-1;e--)t[e]=t[e]%16;return t}();for(let i=9;i<36;i++)switch(i){case 13:case 18:case 23:t+="-";break;case 14:t+="4";break;case 19:t+=Gs(s[e++]);break;default:t+=Ms[s[e++]]}return t}()+".swg"),t.setReferringOrigin(y(this.Ri()).origin),t.setClientVersion("SwG ".concat(r)),t.setUrl(x(this.Ei)),t.setIsLockedContent(this.Ws.pageConfig().isLocked()),t.setUrlFromMarkup(U(this.Ei)||"");const e=L(this.gi()),s=e.utm_campaign,i=e.utm_medium,n=e.utm_source;s&&t.setUtmCampaign(s),i&&t.setUtmMedium(i),n&&t.setUtmSource(n)}start(){return this.ai||(this.addLabels(xs(this.Ei.getWin())),this.ai=this.preparePort()),this.ai}async preparePort(){let t;try{t=await this.zs.openIframe(this.Je,ms("/serviceiframe"),null,!0)}catch(e){return this.ri=!0,this.bi(Ys("Could not connect ["+e+"]")),null}return t.on(R,this.bi.bind(this)),await t.whenReady(),this.addLabels(xs(this.Ei.getWin())),t}setReadyToPay(t){this.J.setReadyToPay(t)}close(){var t;null==(t=this.Ei.getBody())||t.removeChild(this.getElement())}getContext(){return this.J}mi(t){const e=new _;e.setEventOriginator(t.eventOriginator),e.setIsFromUserAction(!!t.isFromUserAction),t.configurationId&&e.setConfigurationId(t.configurationId),this.J.setClientTimestamp(Ws(t.timestamp));const s=this.fi();var i;s>0&&this.J.setLoadEventStartDelay((i=s,new p([Math.floor(i/1e3),i%1e3*1e6],!1))),this.J.setRuntimeCreationTimestamp(this.V);const n=new E;return n.setEvent(t.eventType),n.setContext(this.J),n.setMeta(e),t.additionalParameters instanceof g&&n.setParams(t.additionalParameters),n}Oi(){return!0===this.Ws.config().enableSwgAnalytics}Si(t){t.eventType!==l.EVENT_SUBSCRIPTION_STATE&&t.eventOriginator!==a.SHOWCASE_CLIENT&&(ys.isPublisherEvent(t)&&!this.Oi()||(this.ci?(this._i++,this.lastAction=this.Ni(t)):this.li.push(t)))}async Ni(t){const e=await this.start(),s=this.mi(t);null==e||e.execute(s)}bi(t){const e=(null==t?void 0:t.getComplete())||!1,s=(null==t?void 0:t.getError())||"Unknown logging Error",i=s===Vs;e||A("Error when logging: "+s),this._i--,i||(this.ni=!0),null!==this.oi&&(0===this._i||this.ri||i)&&(null!==this.di&&(clearTimeout(this.di),this.di=null),this.oi(e),this.ui=null,this.oi=null)}getLoggingPromise(){return 0===this._i||this.ri?Promise.resolve(!0):(null===this.ui&&(this.ui=new Promise(t=>{this.oi=t}),this.di=self.setTimeout(()=>{this.di=null,this.bi(Ys(Vs))},this.ni?200:500)),this.ui)}}
1const Ks=(0,String.raw)(_p||(_p=__template(["\n  /** Common styles across all window sizes. */\n  .swg-dialog,\n  .swg-toast,\n  .publisher-toast {\n    box-sizing: border-box;\n  }\n\n  .swg-toast {\n    background-color: rgba(255, 255, 255, 1) !important;\n    max-height: 46px !important;\n  }\n\n  .publisher-toast {\n    background-color: transparent !important;\n    max-width: 360px !important;\n  }\n\n  .swg-toast,\n  .publisher-toast {\n    position: fixed !important;\n    bottom: 0 !important;\n    z-index: 2147483647 !important;\n    border: none !important;\n  }\n\n  /**\n  * Wide desktop screen support, when width is >= 871px and height is >= 641px.\n  */\n  @media (min-width: 871px) and (min-height: 641px) {\n    .swg-dialog.swg-wide-dialog {\n      left: -435px !important;\n    }\n\n    .swg-dialog.swg-wide-dialog,\n    .swg-toast,\n    .publisher-toast {\n      width: 870px !important;\n    }\n  }\n\n  /** Tablet/Medium screen support, when width OR height is <= 640px. */\n  @media (max-width: 640px), (max-height: 640px) {\n    .swg-dialog,\n    .swg-toast {\n      width: 480px !important;\n      left: -240px !important;\n      margin-inline-start: calc(100vw - 100vw / 2) !important;\n      border-top-left-radius: 8px !important;\n      border-top-right-radius: 8px !important;\n      box-shadow:\n        rgba(60, 64, 67, 0.3) 0 1px 1px,\n        rgba(60, 64, 67, 0.15) 0 1px 4px 1px !important;\n    }\n\n    .publisher-toast {\n      width: 480px !important;\n      left: -240px !important;\n      margin-inline-start: calc(100vw - 100vw / 2) !important;\n    }\n\n    [dir='rtl'] .swg-dialog,\n    [dir='rtl'] .swg-toast,\n    [dir='rtl'] .publisher-toast {\n      margin-inline-start: calc(100vw - 100vw / 2 - 240px) !important;\n    }\n  }\n\n  /** Desktop/Large screen support, when width AND height are >= 641px. */\n  @media (min-width: 641px) and (min-height: 641px) {\n    .swg-dialog,\n    .swg-toast,\n    .publisher-toast {\n      width: 630px !important;\n    }\n\n    .swg-dialog {\n      left: -315px !important;\n      margin-inline-start: calc(100vw - 100vw / 2) !important;\n      background-color: transparent !important;\n      border: none !important;\n    }\n\n    [dir='rtl'] .swg-dialog {\n      margin-inline-start: calc(100vw - 100vw / 2 - 315px) !important;\n    }\n\n    .swg-toast {\n      border-radius: 4px !important;\n      bottom: 8px !important;\n      box-shadow:\n        0 3px 1px -2px rgb(0 0 0 / 20%),\n        0 2px 2px 0 rgb(0 0 0 / 14%),\n        0 1px 5px 0 rgb(0 0 0 / 12%) !important;\n      left: 8px !important;\n    }\n\n    .publisher-toast {\n      bottom: 8px !important;\n      right: 30px !important;\n    }\n  }\n\n  /** Phone/Small screen support, when width is <= 480px. */\n  @media (max-width: 480px) {\n    .swg-dialog,\n    .swg-toast,\n    .publisher-toast {\n      width: 100% !important;\n      max-width: 100% !important;\n      left: 0 !important;\n      right: 0 !important;\n      margin-inline-start: 0 !important;\n    }\n  }\n\n  /**\n  * Class applied to content page to disable scrolling.\n  */\n  html.swg-disable-scroll,\n  html.swg-disable-scroll * {\n    overflow: hidden !important;\n  }\n"])));function js(t){const e=function(t){return t.readyState}(t);return"loading"!==e&&"uninitialized"!==e}class Hs{constructor(t){const e="document"in t;this.xe=e?t:t.defaultView,this.Ei=e?t.document:t}getWin(){return this.xe}getRootNode(){return this.Ei}getRootElement(){return this.Ei.documentElement}getHead(){return this.Ei.head}getBody(){return this.Ei.body}isReady(){return js(this.Ei)}async whenReady(){var t;await(t=this.Ei,new Promise(e=>{!function(t,e){!function(t,e,s){if(e(t))return void s(t);let i=!1;const n=()=>{e(t)&&!i&&(s(t),i=!0,t.removeEventListener("readystatechange",n))};t.addEventListener("readystatechange",n)}(t,js,e)}(t,e)}))}}class qs{constructor(t,e){let s,i,n;const r=t.indexOf(":");-1!=r?(i=t,s=i.substring(0,r),n=i.substring(r+1)):(s=t,i=null,n=null),this.Ci=s,this.Ai=i,this.L=n,this.Pi=e}getPublicationId(){return this.Ci}getProductId(){return this.Ai}getLabel(){return this.L}isLocked(){return this.Pi}}async function $s(t,e,s,i){const n=t.ownerDocument.defaultView,r=t.style.transition||"";await new Promise(r=>{n.setTimeout(()=>{n.setTimeout(r,s);const o="".concat(s,"ms ").concat(i);ks(t,Object.assign({transition:"transform ".concat(o,", opacity ").concat(o)},e))})}),ks(t,{transition:r})}const Qs={height:"0"};class Xs{constructor(t,e,s={},i="swg-toast"){this.wi=e,this.Ze=s,this.yi=i,this.Li=null,this.Di=!1,this.Ei=t.doc(),this.zs=t.activities();const n=t.clientConfigManager().getLanguage(),r=Ss(cs,n),o={frameborder:"0",scrolling:"no",class:this.yi,title:r};this.Je=ds(this.Ei.getWin().document,"iframe",o),ks(this.Je,Qs)}Ui(){var t;return Boolean(null==(t=this.yi)?void 0:t.split(" ").includes("publisher-toast"))}xi(){return this.Ui()&&this.Ei.getWin().matchMedia("(min-width: 641px) and (min-height: 641px)").matches}Mi(){return this.Di?"translateX(calc(100% + 30px))":"translateY(100%)"}Gi(){return this.Di?"translateX(0)":"translateY(0)"}getElement(){return this.Je}open(){var t;return null==(t=this.Ei.getBody())||t.appendChild(this.Je),this.ki()}async ki(){const t=await this.zs.openIframe(this.Je,this.wi,this.Ze);let e=!1;t.onResizeRequest(s=>{e=!0,ks(this.Je,{height:"".concat(s,"px")}),t.resized()}),await t.whenReady(),e||function(t){for(const e of.height)Fs(t,e,"")}(this.Je),this.Di=this.xi(),this.Li=this.Fi({callback:()=>(ks(this.Je,{transform:this.Mi(),opacity:"1",visibility:"visible"}),$s(this.Je,{transform:this.Gi(),opacity:"1",visibility:"visible"},400,"ease-out"))}),this.Ei.getWin().setTimeout(()=>{this.close()},8e3)}async Fi({callback:t}){await this.Li;try{await t()}catch{}}close(){return this.Li=this.Fi({callback:()=>(this.Ei.getWin().setTimeout(()=>{var t;null==(t=this.Ei.getBody())||t.removeChild(this.Je)},500),$s(this.Je,{transform:this.Mi(),opacity:"1",visibility:"visible"},400,"ease-out"))}),this.Li}}class Js{constructor(t,e=u.PREFERRED_SOURCES_INSTALL_TYPE_AUTO){var s;this.Wi=Date.now(),this.Ss={},this.Bi=[],this.Vi=!1,this.xe=t,this.Ei="nodeType"in(s=t)||"document"in s?new Hs(s):s,this.Yi=e,this.zi=new qs("publication-id-free",!1),this.Ti=new ys(Promise.resolve()),this.zs=new nt(this),this.Ki=new zs(this),function(t,e){var s;const i=ds(t.getWin().document,"style",{type:"text/css"});i.textContent=e,null==(s=t.getHead())||s.appendChild(i)}(this.Ei,Ks),this.ji()}win(){return this.xe}doc(){return this.Ei}pageConfig(){return this.zi}activities(){return this.zs}analytics(){return this.Ki}eventManager(){return this.Ti}creationTimestamp(){return this.Wi}config(){return{enableSwgAnalytics:!0}}isPublisher(){return!0}storage(){return{get:()=>Promise.resolve(null),set:()=>Promise.resolve(),remove:()=>Promise.resolve()}}clientConfigManager(){return{getLanguage:()=>this.Hi()}}entitlementsManager(){return null}dialogManager(){return null}jserror(){return null}payClient(){return null}callbacks(){return null}
1gisInteropManager(){}qi(){this.Vi||(this.Vi=!0,this.Ki.setReadyForLogging(),this.Ki.start())}Hi(t){var e,s,i;return t||this.Ss.lang||(null==(e=this.xe.navigator)?void 0:e.language)||(null==(i=null==(s=this.xe.document)?void 0:s.documentElement)?void 0:i.lang)||"en"}$i(t){const e=t||this.Ss.theme;return"dark"===e||"light"===e||"auto"===e?e:"light"}ji(){this.qi();const t=new g;t.setPreferredSourcesInstallType(this.Yi);const e=x(this.Ei);e&&t.setCanonicalUrl(e),this.Ti.logSwgEvent(l.EVENT_PUBLISHER_RUNTIME_INSTALLED,!1,t)}updateAllButtons(t){this.ti=t;for(const e of this.Bi)e.updateStatus(t)}init(t={}){this.Ss=Object.assign({},this.Ss,t),this.qi();const e=this.xe.document.querySelectorAll("[google-add-preferred-source-btn]:not([data-initialized])");for(let s=0;s<e.length;s++){const t=e[s];t.setAttribute("data-initialized","true");const i=this.Hi(t.getAttribute("data-lang")),n=this.$i(t.getAttribute("data-theme")),r=new gs(this,t,{theme:n,lang:i});this.Bi.push(r),void 0!==this.ti&&r.updateStatus(this.ti),r.attach(()=>(this.Qi({language:i,theme:n,isFromInflatedButton:!0}),Promise.resolve(!0)))}}showToast(t,e="",s){this.qi();const i={flavor:"preferred_source",sourceName:e,confirmationType:"".concat(t),hl:this.Hi(null==s?void 0:s.language),theme:this.$i(null==s?void 0:s.theme)};new Xs(this,ms("/toastiframe",i),{},"publisher-toast").open()}addPreferredSource(){this.Qi({isFromInflatedButton:!1})}Qi(t){this.qi();const e=(null==t?void 0:t.isFromInflatedButton)?h.PREFERRED_SOURCES_ADD_SOURCE_TRIGGER_INFLATED_BUTTON:h.PREFERRED_SOURCES_ADD_SOURCE_TRIGGER_API,s=new g;s.setPreferredSourcesAddSourceTrigger(e),s.setPreferredSourcesInstallType(this.Yi);const i=x(this.Ei);i&&s.setCanonicalUrl(i),this.Ti.logSwgEvent(l.ACTION_ADD_PREFERRED_SOURCE,Boolean(null==t?void 0:t.isFromInflatedButton),s),new Ns(this,t).start().then(e=>{const s=e.getStatus();s!==o.ADD_PREFERRED_SOURCE_STATUS_SUCCESS&&s!==o.ADD_PREFERRED_SOURCE_STATUS_ALREADY_ADDED&&s!==o.ADD_PREFERRED_SOURCE_STATUS_INELIGIBLE||(this.updateAllButtons(s),this.showToast(s,e.getSiteName()||"",t))}).catch(()=>{})}}const Zs=function(t,e){var s,i,n;const r=t.PREFERRED_SOURCE;if(r&&!Array.isArray(r))return null!=(s=r.api)?s:{init:()=>{},addPreferredSource:()=>{}};const o=!1===(null==e?void 0:e.autoStart)||Boolean(null==(n=null==(i=t.document)?void 0:i.querySelector)?void 0:n.call(i,'script[preferred-sources-control="manual"]')),l=o?u.PREFERRED_SOURCES_INSTALL_TYPE_MANUAL:u.PREFERRED_SOURCES_INSTALL_TYPE_AUTO,a=new Js(t,l),h={init:a.init.bind(a),addPreferredSource:a.addPreferredSource.bind(a)},c=[].concat(Array.isArray(r)?r:[]);for(const u of c)"function"==typeof u&&u(h);return t.PREFERRED_SOURCE={push:(...t)=>{t.forEach(t=>{"function"==typeof t&&t(h)})},ready:()=>Promise.resolve(h),api:h},o||a.init(),h}(self,{autoStart:!0});t.preferredSource=Zs,Object.defineProperty(t,Symbol.toStringTag,{value:"Module"})}({})})()

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.