function showHelp(){
openModal(`
${tr('help.how_the_internet_works_here')}
${tr('help.controls_drag_the_map_to_pan')}
- ${tr('common.eyeballs')}
- ${tr('help.home_broadband_users_they_mostly')}
- POP
- ${tr('help.point_of_presence_your_router_in')}
- ${tr('common.ip_transit')}
- ${tr('help.you_pay_a_bigger_network_per')}
- Tier 1 / Tier 2
- ${tr('help.tier_1s_reach_the_whole_internet_cones')}
- CDN
- ${tr('help.content_networks_like_netchill_and')}
- ${tr('help.ix_internet_exchange')}
- ${tr('help.a_shared_switch_in_a_city')}
- PNI
- ${tr('help.private_network_interconnect_a_cable')}
- ${tr('help.pni_lead_times')}
- ${tr('help.a_cross_connect_with_a_small')}
- ${tr('common.supply_chain')}
- ${tr('help.routers_optics_and_new_builds_get')}
- ${tr('common.backhaul_latency')}
- ${tr('help.users_feel_the_round_trip_to')}
- ${tr('common.peering_inbox')}
- ${tr('help.every_ix_port_brings_peering')}
- ${tr('common.embedded_cache')}
- ${tr('help.a_cdn_s_server_in_your')}
- DE-KICKS
- ${tr('help.the_group_behind_several_big')}
- ${tr('common.remote_peering')}
- ${tr('help.reach_an_ix_over_a_fabric')}
- ${tr('common.peering_policy')}
- ${tr('help.open_peers_with_anyone_selective')}
- ${tr('common.waves')}
- ${tr('help.your_fiber_links_are_leased_waves')}
- ${tr('common.95th_percentile')}
- ${tr('help.transit_bills_sample_your_usage')}
- ${tr('common.routers')}
- ${tr('help.each_pop_s_router_model_caps')}
- ${tr('common.dark_fiber')}
- ${tr('help.lease_an_iru_or_build_your')}
- ${tr('common.subsea_cables')}
- ${tr('help.subsea_waves_can_only_follow_cable')}
- ${tr('common.latency')}
- ${tr('help.every_link_has_latency_high')}
- ${tr('common.noc_dashboard')}
- ${tr('help.the_chart_button_at_the_top')}
- ${tr('common.asia')}
- ${tr('help.a_weird_underserved_market_transit')}
- ${tr('common.russia')}
- ${tr('help.moscow_needs_a_mandatory_government')}
- ${tr('help.events_chains_and_wholesale')}
- ${tr('help.event_networks_a_final_a_festival')}
- ${tr('common.bank')}
- ${tr('help.tap_your_cash_to_open_the')}
- ${tr('common.lags')}
- ${tr('help.out_of_port_speed_bundle_up')}
- ${tr('common.traffic_engineering')}
- ${tr('help.tap_a_link_to_see_which')}
- ${tr('common.china')}
- ${tr('help.mainland_china_needs_a_license_and')}
- ${tr('common.weird_requirements')}
- ${tr('help.some_customers_come_with_conditions')}
- ${tr('common.customer_levels')}
- ${tr('help.as_your_peak_traffic_and_footprint')}
- ${tr('help.l2vpn_ddos_protection')}
- ${tr('help.businesses_may_want_a_private')}
- ${tr('common.scrubbing_centers')}
- ${tr('help.build_one_in_as_many_pops')}
- ${tr('common.nni_fabrics')}
- ${tr('help.megapork_pocketfabric_and')}
- ${tr('common.conferences')}
- ${tr('help.nanog_ripe_denog_and_friends_come')}
- ${tr('common.modes')}
- ${tr('help.one_game_four_doors_puzzles_are')}
- ${tr('common.traceroute')}
- ${tr('help.tap_traceroute_on_any_of_your')}
- ${tr('common.badges')}
- ${tr('help.below_your_goals_sits_a_wall')}
- ${tr('common.the_giants')}
- ${tr('help.at_customer_level_3_and_4')}
- RouteScript
- ${tr('help.once_auto_te_is_installed_you')}
- Auto-TE
- ${tr('help.traffic_follows_the_shortest_path_by')}
- ${tr('common.metro_diversity')}
- ${tr('help.a_pop_is_one_building_until')}
- ${tr('common.wave_markets')}
- ${tr('help.what_a_wave_costs_depends_on')}
- ${tr('common.regional_quirks')}
- ${tr('help.in_the_gulf_saudi_pops_need')}
- ${tr('common.boot_times')}
- ${tr('help.some_routers_take_forever_to_boot')}
- ${tr('common.failures')}
- ${tr('help.things_break_all_the_time_fiber')}
- RouteScript
- ${tr('help.rules_for_your_auto_te_controller')}
${tr('help.want_to_know_how_it_really')}
${plugHtml(true)}${chatHtml()}${issueHtml()}${btn(UI.started?tr('common.back_to_the_map'):tr('common.got_it'),'helpClose',{},'big')}${RELEASE_NOTES.length?btn(tr('common.what_s_new_in_v',{v:esc(APP_VERSION)}),'whatsNewShow',{},'ghost'):''}${UI.started&&S&&!S.lost?btn(tr('common.start_a_new_network'),'resetAsk',{},'ghost sm'):''}
${UI.started&&S&&!S.lost?btn(tr('common.export_save'),'exportSave',{},'ghost sm'):''}${btn(tr('common.import_a_save'),'importPick',{},'ghost sm')}${btn(tr('common.settings'),'settings',{},'ghost sm')}
`);
}
function showWin(){setTimeout(()=>{const m=$('modalCard');if(m&&!m.querySelector('[data-act=share]'))m.insertAdjacentHTML('beforeend',`${btn(tr('help.share_my_network'),'share',{},'pink')}
${tr('help.you_built_a_cartoon_internet_now')}
${plugHtml(true)}`);},0);openModal(`${tr('help.you_re_a_tier_1')}
${tr('help.name_as_asn_is_transit_free',{name:esc(S.name),asn:S.asn,days:S.day,n:S.stats.incidents})}
${btn(tr('common.keep_building'),'keepPlaying',{},'pink big')}`);sfx('coin');}
function showLose(){openModal(`${tr('common.bankrupt')}
${tr('help.the_bank_repossessed_your_routers',{name:esc(S.name),days:S.day,peak:fmtG(S.stats.peak)})}
${btn(tr('common.try_again'),'newgame',{},'pink big')}`);try{localStorage.removeItem('sot-save-v1');}catch(e){}}