use const_format::concatcp;
pub const CONTENT: &str = "/contents/0";
pub const RUN_TEXT: &str = "/runs/0/text";
pub const TAB_CONTENT: &str = "/tabs/0/tabRenderer/content";
pub const TAB_RENDERER: &str = "/tabRenderer/content";
pub const _TAB_1_CONTENT: &str = "/tabs/1/tabRenderer/content";
pub const SINGLE_COLUMN: &str = "/contents/singleColumnBrowseResultsRenderer";
pub const SINGLE_COLUMN_TABS: &str = "/contents/singleColumnBrowseResultsRenderer/tabs";
pub const TWO_COLUMN: &str = "/contents/twoColumnBrowseResultsRenderer";
pub const SECTION_LIST: &str = "/sectionListRenderer/contents";
pub const MUSIC_SHELF: &str = "/musicShelfRenderer";
pub const MUSIC_CARD_SHELF: &str = "/musicCardShelfRenderer";
pub const MUSIC_PLAYLIST_SHELF: &str = "/musicPlaylistShelfRenderer";
pub const GRID: &str = "/gridRenderer";
pub const MENU: &str = "/menu/menuRenderer";
pub const MENU_SERVICE: &str = "/menuServiceItemRenderer/serviceEndpoint";
pub const _TOGGLE_MENU: &str = "/toggleMenuServiceItemRenderer";
pub const PLAY_BUTTON: &str =
"/overlay/musicItemThumbnailOverlayRenderer/content/musicPlayButtonRenderer";
pub const NAVIGATION_BROWSE: &str = "/navigationEndpoint/browseEndpoint";
pub const PAGE_TYPE: &str =
"/browseEndpointContextSupportedConfigs/browseEndpointContextMusicConfig/pageType";
pub const WATCH_VIDEO_ID: &str = "/watchEndpoint/videoId";
pub const NAVIGATION_WATCH_PLAYLIST_ID: &str =
"/navigationEndpoint/watchPlaylistEndpoint/playlistId";
pub const NAVIGATION_VIDEO_TYPE: &str =
"/watchEndpoint/watchEndpointMusicSupportedConfigs/watchEndpointMusicConfig/musicVideoType";
pub const TITLE: &str = "/title/runs/0";
pub const TEXT_RUNS: &str = "/text/runs";
pub const SUBTITLE_RUNS: &str = "/subtitle/runs";
pub const SECOND_SUBTITLE_RUNS: &str = "/secondSubtitle/runs";
pub const THUMBNAIL: &str = "/thumbnail/thumbnails";
pub const THUMBNAIL_BADGE_ICON: &str = "/thumbnail/musicIconBadgeRenderer/icon/iconType";
pub const THUMBNAIL_ANIMATED_ICON: &str =
"/thumbnail/musicIconBadgeRenderer/animatedIcon/animatedIconType";
pub const FEEDBACK_TOKEN: &str = "/feedbackEndpoint/feedbackToken";
pub const BADGE_PATH: &str =
"/0/musicInlineBadgeRenderer/accessibilityData/accessibilityData/label";
pub const LIVE_BADGE_PATH: &str = "/0/liveBadgeRenderer/accessibility/accessibilityData/label";
pub const CATEGORY_PARAMS: &str = "/clickCommand/browseEndpoint/params";
pub const MRLIR: &str = "/musicResponsiveListItemRenderer";
pub const MMRLIR: &str = "/musicMultiRowListItemRenderer";
pub const PPR: &str = "/playlistPanelRenderer";
pub const _MRLIFCR: &str = "/musicResponsiveListItemFlexColumnRenderer";
pub const MTRIR: &str = "/musicTwoRowItemRenderer";
pub const TASTE_PROFILE_ITEMS: &str = "/contents/tastebuilderRenderer/contents";
pub const TASTE_ITEM_CONTENTS: &str = "/tastebuilderItemListRenderer/contents";
pub const TASTE_PROFILE_SELECTION: &str = "/tastebuilderItemRenderer/selectionFormValue";
pub const TASTE_PROFILE_IMPRESSION: &str = "/tastebuilderItemRenderer/impressionFormValue";
pub const TASTE_PROFILE_ARTIST: &str = "/tastebuilderItemRenderer/title/runs/0/text";
pub const _SECTION_LIST_CONTINUATION: &str = "/continuationContents/sectionListContinuation";
pub const PLAYLIST_PANEL_CONTINUATION: &str = "/continuationContents/playlistPanelContinuation";
pub const CONTINUATION_RENDERER_COMMAND: &str =
"/continuationItemRenderer/continuationEndpoint/continuationCommand/token";
pub const APPEND_CONTINUATION_ITEMS: &str =
"/onResponseReceivedActions/0/appendContinuationItemsAction/continuationItems";
pub const MUSIC_SHELF_CONTINUATION: &str = "/continuationContents/musicShelfContinuation";
pub const GRID_CONTINUATION: &str = "/continuationContents/gridContinuation";
pub const CONTINUATION_PARAMS: &str = "/continuations/0/nextContinuationData/continuation";
pub const RADIO_CONTINUATION_PARAMS: &str =
"/continuations/0/nextRadioContinuationData/continuation";
pub const HEADER_DETAIL: &str = "/header/musicDetailHeaderRenderer";
pub const VISUAL_HEADER: &str = "/header/musicVisualHeaderRenderer";
pub const DESCRIPTION_SHELF: &str = "/musicDescriptionShelfRenderer";
pub const DESCRIPTION_SHELF_RUNS: &str =
"/description/musicDescriptionShelfRenderer/description/runs";
pub const CAROUSEL: &str = "/musicCarouselShelfRenderer";
pub const _IMMERSIVE_CAROUSEL: &str = "/musicImmersiveCarouselShelfRenderer";
pub const _FRAMEWORK_MUTATIONS: &str = "/frameworkUpdates/entityBatchUpdate/mutations";
pub const INDEX_TEXT: &str = "/index/runs/0/text";
pub const RESPONSIVE_HEADER: &str = "/musicResponsiveHeaderRenderer";
pub const DISPLAY_POLICY: &str = "/musicItemRendererDisplayPolicy";
pub const PLAYBACK_DURATION_TEXT: &str =
"/playbackProgress/musicPlaybackProgressRenderer/durationText/runs/1/text";
pub const PLAYBACK_PROGRESS_TEXT: &str =
"/playbackProgress/musicPlaybackProgressRenderer/playbackProgressText/runs/1/text";
pub const DEFAULT_ENDPOINT_MODAL_TEXT: &str = "/defaultServiceEndpoint/modalEndpoint/modal/modalWithTitleAndButtonRenderer/button/buttonRenderer/text/runs/0/text";
pub const WATCH_NEXT_CONTENT: &str = concatcp!("/contents/singleColumnMusicWatchNextResultsRenderer/tabbedRenderer/watchNextTabbedResultsRenderer",TAB_CONTENT,"/musicQueueRenderer/content");
pub const DEFAULT_ENDPOINT: &str = concatcp!("/defaultServiceEndpoint", FEEDBACK_TOKEN);
pub const TOGGLED_ENDPOINT: &str = concatcp!("/toggledServiceEndpoint", FEEDBACK_TOKEN);
pub const TITLE_TEXT: &str = concatcp!("/title", RUN_TEXT);
pub const NAVIGATION_VIDEO_ID: &str = concatcp!("/navigationEndpoint", WATCH_VIDEO_ID);
pub const PLAYLIST_ITEM_VIDEO_ID: &str = "/playlistItemData/videoId";
pub const SINGLE_COLUMN_TAB: &str = concatcp!(SINGLE_COLUMN, TAB_CONTENT);
pub const SECTION_LIST_ITEM: &str = concatcp!("/sectionListRenderer", CONTENT);
pub const SECONDARY_SECTION_LIST_RENDERER: &str =
concatcp!("/secondaryContents/sectionListRenderer");
pub const SECONDARY_SECTION_LIST_ITEM: &str = concatcp!(SECONDARY_SECTION_LIST_RENDERER, CONTENT);
pub const ITEM_SECTION: &str = concatcp!("/itemSectionRenderer", CONTENT);
pub const GRID_ITEMS: &str = concatcp!(GRID, "/items");
pub const MENU_ITEMS: &str = concatcp!(MENU, "/items");
pub const MENU_LIKE_STATUS: &str =
concatcp!(MENU, "/topLevelButtons/0/likeButtonRenderer/likeStatus");
pub const NAVIGATION_BROWSE_ID: &str = concatcp!(NAVIGATION_BROWSE, "/browseId");
pub const NAVIGATION_PLAYLIST_ID: &str = concatcp!("/navigationEndpoint/watchEndpoint/playlistId");
pub const TEXT_RUN: &str = concatcp!(TEXT_RUNS, "/0");
pub const TEXT_RUN_TEXT: &str = concatcp!(TEXT_RUN, "/text");
pub const SUBTITLE: &str = concatcp!("/subtitle", RUN_TEXT);
pub const SUBTITLE2: &str = concatcp!(SUBTITLE_RUNS, "/2/text");
pub const SUBTITLE3: &str = concatcp!(SUBTITLE_RUNS, "/4/text");
pub const THUMBNAILS: &str = concatcp!("/thumbnail/musicThumbnailRenderer", THUMBNAIL);
pub const FOREGROUND_THUMBNAIL_RENDERER: &str =
concatcp!("/foregroundThumbnail/musicThumbnailRenderer", THUMBNAIL);
pub const THUMBNAIL_RENDERER: &str =
concatcp!("/thumbnailRenderer/musicThumbnailRenderer", THUMBNAIL);
pub const THUMBNAIL_CROPPED: &str =
concatcp!("/thumbnail/croppedSquareThumbnailRenderer", THUMBNAIL);
pub const STRAPLINE_THUMBNAIL: &str =
concatcp!("/straplineThumbnail/musicThumbnailRenderer", THUMBNAIL);
pub const BADGE_LABEL: &str = concatcp!("/badges", BADGE_PATH);
pub const LIVE_BADGE_LABEL: &str = concatcp!("/badges", LIVE_BADGE_PATH);
pub const SUBTITLE_BADGE_LABEL: &str = concatcp!("/subtitleBadges", BADGE_PATH);
pub const SUBTITLE_BADGE_ICON: &str =
concatcp!("/subtitleBadges/0/musicInlineBadgeRenderer/icon/iconType");
pub const CATEGORY_TITLE: &str = concatcp!("/buttonText", RUN_TEXT);
pub const MENU_PLAYLIST_ID: &str = concatcp!(
MENU_ITEMS,
"/0/menuNavigationItemRenderer",
NAVIGATION_WATCH_PLAYLIST_ID
);
pub const DESCRIPTION: &str = concatcp!("/description", RUN_TEXT);
pub const _CAROUSEL_CONTENTS: &str = concatcp!(CAROUSEL, "/contents");
pub const CAROUSEL_TITLE: &str = concatcp!("/header/musicCarouselShelfBasicHeaderRenderer", TITLE);
pub const _CARD_SHELF_TITLE: &str =
concatcp!("/header/musicCardShelfHeaderBasicRenderer", TITLE_TEXT);
#[cfg_attr(
debug_assertions,
deprecated(note = "Google deprecating this path in future")
)]
pub const STRAPLINE_TEXT: &str = concatcp!("/straplineTextOne", RUN_TEXT);
#[deprecated = "Google deprecating this path in future"]
pub const STRAPLINE_RUNS: &str = "/straplineTextOne/runs";
pub const DELETION_ENTITY_ID: &str = "/menuNavigationItemRenderer/navigationEndpoint/confirmDialogEndpoint/content/confirmDialogRenderer/confirmButton/buttonRenderer/command/musicDeletePrivatelyOwnedEntityCommand/entityId";
pub const FACEPILE_MODEL: &str = "/facepile/avatarStackViewModel";
pub const FACEPILE_TEXT: &str = concatcp!(FACEPILE_MODEL, "/text/content");
pub const FACEPILE_AVATAR_URL: &str = concatcp!(
FACEPILE_MODEL,
"/avatars/0/avatarViewModel/image/sources/0/url"
);