function getParameterByName(n){var t=RegExp("[?&]"+n+"=([^&]*)").exec(window.location.search);return t&&decodeURIComponent(t[1].replace(/\+/g," "))}var 果冻影院=果冻影院||{};(function(n){果冻影院.StoryListing={config:{pageLoadSelector:".card-group",buttonClickSelector:".card-group.is-hidden",hiddenClass:"is-hidden",videoTileSelector:".js_video_card"},vars:{$rowContainer:{},$loadMoreButton:{},rowsPerLoad:0,$topicDropdown:{},videoNameToPopup:""},bindElements:function(){var t=果冻影院.StoryListing;t.vars.$rowContainer=n("#story-rows");t.vars.$loadMoreButton=n("#load-more-button");t.vars.rowsPerLoad=parseInt(t.vars.$rowContainer.data("rows-per-load"));t.vars.$topicDropdown=n("#topic-dropdown");t.vars.videoNameToPopup=getParameterByName("v")},init:function(){var t=果冻影院.StoryListing;t.bindElements();t.vars.$loadMoreButton.on("click",function(){t.displayStoryRows(t.config.buttonClickSelector)});n(window).on("load",function(){t.displayStoryRows(t.config.pageLoadSelector);t.vars.videoNameToPopup&&t.checkForPageLoadVideo()});t.vars.$topicDropdown.on("change",t.switchTopics)},displayStoryRows:function(t){for(var i=果冻影院.StoryListing,u=i.vars.$rowContainer.find(t),r=0;r