This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#request | |
{ | |
"staysSearchRequest": { | |
"requestedPageType": "HOMEPAGE", | |
"metadataOnly": false, | |
"treatmentFlags": ["decompose_stays_search_m2_treatment", "decompose_stays_search_m3_treatment", "decompose_stays_search_m3_5_treatment", "decompose_stays_search_m4_treatment", "flex_destinations_june_2021_launch_web_treatment", "merch_header_breakpoint_expansion_web", "flexible_dates_12_month_lead_time", "storefronts_nov23_2021_homepage_web_treatment", "lazy_load_flex_search_map_compact", "lazy_load_flex_search_map_wide", "im_flexible_may_2022_treatment", "search_add_category_bar_ui_ranking_web", "decompose_experiences_search_m5_treatment", "flexible_dates_options_extend_one_three_seven_days", "super_date_flexibility", "micro_flex_improvements", "micro_flex_show_by_default", "search_input_placeholder_phrases", "pets_fee_treatment"], | |
"rawParams": [{ | |
"filterName": "categoryTag", | |
"filterValues": ["Tag:8522"] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"searchResults": [ | |
{ | |
"__typename": "StaySearchResult", | |
"listing": { | |
"__typename": "StaySearchResultListing", | |
"avgRatingA11yLabel": null, | |
"avgRatingLocalized": null, | |
"city": "Stateline", | |
"contextualPictures": [ |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@charset "utf-8"; | |
* { | |
-webkit-font-smoothing: auto !important; | |
} | |
.CodeMirror.CodeMirror.CodeMirror { | |
display: table !important; | |
table-layout: fixed !important; | |
width: 100% !important; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function loadCSS( href, before, media){ | |
"use strict"; | |
// Arguments explained: | |
// `href` is the URL for your CSS file. | |
// `before` optionally defines the element we'll use as a reference for injecting our <link> | |
// By default, `before` uses the first <style> element in the page. | |
// However, since the order in which stylesheets are referenced matters, you might need a more specific location in your document. | |
// If so, pass a different reference element to the `before` argument and it'll insert before that instead | |
// note: `insertBefore` is used instead of `appendChild`, for safety re: http://www.paulirish.com/2011/surefire-dom-element-insertion/ | |
var ss = window.document.createElement( "link" ); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Handlebars.registerHelper('if_mod', function(num, val, result, options) { | |
if ((num % val) === result) { | |
return options.fn(this); | |
} else return options.inverse(this); | |
}); | |
Handlebars.registerHelper('toJSON', function(obj) { | |
return JSON.stringify(obj); | |
}); | |
Handlebars.registerHelper('if_notMod', function(num, val, result, options) { |