PageSourceSearch

https://www.texasmonthly.com/wp-content/themes/texasmonthly-child/assets/dist/5160.294e5f75c8ccccb8.js

js texasmonthly.com collected 2026-09-24 08:26:26 UTC 6,079 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunktexasmonthly=self.webpackChunktexasmonthly||[]).push([[5160],{5160:(e,t,n)=>{n.r(t),n.d(t,{default:()=>c});var i=n(3783),o=n(4692);function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function a(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,s(i.key),i)}}function s(e){var t=function(e,t){if("object"!=r(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,t||"default");if("object"!=r(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==r(t)?t:t+""}const c=function(){return e=function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e);var t=this;t.bcEntitledSegments=["iOS Entitled","TXMO Subscriber Entitled (All)"],t.bcBbqClubEntitledSegments=["TXMO BBQ Club Entitled"],t.bcSegments=null,t.bcSegmentsTimeout=null,t.bcTries=0,t.isBbqClub=!1,t.isLoggedIn=!1,t.init()},(t=[{key:"init",value:function(){var e=this,t=this;t.isBbqClub=window.location.pathname.includes("/tmbbqclub"),i.q.then((function(n){var i=blueConicClient.profile.getProfile();i.loadValues(["txmo_is_logged_in","txmo_pw_views_left"],e,(function(){t.isLoggedIn=i.getValue("txmo_is_logged_in"),i.getValue("txmo_pw_views_left")>1&&!t.isBbqClub&&jwplayer().play()})),t.getBcSegments()})),o(".video__hero-read-more a").on("click",(function(){var e=o(".video__article-content");o(".video__article-content").toggle(),e.is(":visible")?o(this).text("show less"):o(this).text("read more")})),o(".video__hero-sidebar-header-title .dropdown").on("click",(function(){o(this).parent().find(".dropdown-content").toggleClass("hidden")})),o(document).on("click",(function(e){o(e.target).closest(".video__hero-sidebar-header-title .dropdown").length||o(".video__hero-sidebar-header-title .dropdown-content").addClass("hidden")})),o(".video__hero-sidebar-header-title .dropdown li").on("click",(function(){o(".video__hero-sidebar-body-feed article.tease-sm").remove(),o(".video__hero-sidebar-body div.loader").removeClass("hidden"),o(".video__hero-sidebar-header-title div.dropdown-heading span").text(o(this).text());var e=o(this).data("key"),t=o("body").attr("class").match(/(?:^|\s)postid-(\d+)(?!\S)/)[1];fetch("/wp-json/wp/v2/videos/".concat(t,"?_fields=date")).then((function(e){return e.json()})).then((function(n){var i=n.date,o="/wp-json/wp/v2/videos?video-series[terms]=".concat(e,"&video-series[include_children]=true&_fields=tease_attributes&per_page=25&exclude=").concat(t,"&order=asc");return fetch(o+"&after=".concat(encodeURIComponent(i))).then((function(e){return e.json()})).then((function(e){return e.length<25?fetch(o+"&before=".concat(encodeURIComponent(i))).then((function(e){return e.json()})).then((function(t){return e.concat(t)})).catch((function(e){console.log(e)})):e}))})).then((function(e){e.forEach((function(e){var t=function(e){var t=null;e.image&&(t=e.image+"&w=410");var n="";e.kicker&&(n='<div class="tease-sm__tease-kicker-wrapper tease-kicker-wrapper"><a href="'.concat(e.kicker.link,'" class="tease-sm__kicker-link tease-kicker">').concat(e.kicker.title,"</a></div>"));var i="";return e.duration&&(i='<div class="tease__duration-text">'+e.duration+"</div>"),'\n                <article class="tease-sm">\n                    <a class="tease-sm__image img-wrapper__obj-fit cover" aria-label="'.concat(e.title,'" href="').concat(e.link,'">\n                        <picture>\n                            <img data-parent-fit="cover" data-sizes="auto" src="').concat(t,'">\n                        </picture>\n                        <div class="tease__duration">\n                            <svg class="svg tease__bug">\n                                <use xlink:href="#icon-video"></use>\n                            </svg>')+i+"</div>\n                    </a>"+n+'<div class="tease-sm__text">\n                        <h3 class="tease-title tease-sm__title">\n                            <a href="'.concat(e.link,'">').concat(e.title,'</a>\n                        </h3>\n                        <div class="tease-byline-container ">\n                            <div class="tease-byline tease-sm__meta">').concat(e.formatted_author,"</div>\n                        </div>\n                    </div>\n                </article>\n            ")}(e.tease_attributes);o(".video__hero-sidebar-body-feed").append(t)})),o(".video__hero-sidebar-body div.loader").addClass("hidden")}
1)).catch((function(e){console.log(e)}));var n="/wp-json/wp/v2/video-series/".concat(e,"?_fields=name,description");fetch(n).then((function(e){return e.json()})).then((function(e){"description"in e&&o(".video__hero-sidebar-header-description p").html(e.description)})).catch((function(e){}))})),o(".video__hero-sidebar-body button.circle-button").on("click",(function(){var e=o(".video__hero-sidebar");e.animate({scrollTop:e.height()/2})})),jwplayer().on("complete",(function(){if("visible"===document.visibilityState&&!document.hidden){var e=o("div.video__hero-sidebar-body-feed article.tease-sm a").first().attr("href");if(e){var t=window.location.search,n=new URLSearchParams(t).get("auto_roll");n?n++:n=1,window.location=e+"?auto_roll="+n}}}))}},{key:"getBcSegments",value:function(){var e=this;if(e.bcSegments=blueConicClient.getSegments(),e.bcTries++,e.bcSegments&&0!==e.bcSegments.length||!(e.bcTries<=5)){for(var t=0;t<e.bcSegments.length;t++)if(e.isBbqClub&&e.isLoggedIn&&e.bcBbqClubEntitledSegments.includes(e.bcSegments[t].name)||!e.isBbqClub&&e.bcEntitledSegments.includes(e.bcSegments[t].name))return void jwplayer().play()}else setTimeout(e.getBcSegments.bind(e),100)}}])&&a(e.prototype,t),n&&a(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t,n}()}}]);
2//# sourceMappingURL=5160.294e5f75c8ccccb8.js.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.