PageSourceSearch

https://www.gotolouisville.com/dist/scripts/DateHeading.6c744a5e7f52ac8a84bc.min.js

js gotolouisville.com collected 2026-09-24 09:16:07 UTC 2,723 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[7279],{7715:function(t,a,e){e.r(a),e.d(a,{default:function(){return l}});var n=e(6252),r=e(3577);var i=e(7484),o=e.n(i),s=e(178),h=e.n(s);o().extend(h());var u={mixins:[],props:{startDateUnix:{type:Number,default:null},endDateUnix:{type:Number,default:null},formatDay:{type:String,default:"D"},formatMonth:{type:String,default:"MM"},formatYear:{type:String,default:"YYYY"},isAllDay:{type:Boolean,default:!1},isMultiDay:{type:Boolean,default:!1},tag:{type:String,default:"p"},isTodayTheEarliest:{type:Boolean,default:!1}},data:function(){return{currentYear:o()().utc().format(this.formatYear)}},methods:{},computed:{endDate:function(){return null!=this&&this.endDateUnix?o().unix(this.endDateUnix):null},isRange:function(){var t,a;return(!this.isAllDay||this.isAllDay&&this.isMultiDay)&&(null==this?void 0:this.startDate)&&(null==this?void 0:this.endDate)&&(null==this||null===(t=this.startDate)||void 0===t?void 0:t.utc().format("".concat(this.formatDay," ").concat(this.formatMonth," ").concat(this.formatYear)))!==(null==this||null===(a=this.endDate)||void 0===a?void 0:a.utc().format("".concat(this.formatDay," ").concat(this.formatMonth," ").concat(this.formatYear)))},showEndYear:function(){var t;return(null===(t=this.endDate)||void 0===t?void 0:t.utc().format(this.formatYear))!==this.currentYear},showStartYear:function(){var t;return(null===(t=this.startDate)||void 0===t?void 0:t.utc().format(this.formatYear))!==this.currentYear},startDate:function(){var t=null!=this&&this.startDateUnix?o().unix(this.startDateUnix):null;if(t&&this.isTodayTheEarliest){var a=o()().startOf("day");return this.endDate&&this.endDate<a?this.endDate:a>t?a:t}return t},headingText:function(){var t,a,e="";this.startDate&&(e=this.startDate.utc().format("".concat(this.formatMonth,"/").concat(this.formatDay)),(this.showStartYear||this.showEndYear)&&(e+="/".concat(this.startDate.utc().format(this.formatYear))),this.isRange&&(e+=" -",(null==this||null===(t=this.startDate)||void 0===t?void 0:t.utc().format("".concat(this.formatMonth," ").concat(this.formatYear)))===(null==this||null===(a=this.endDate)||void 0===a?void 0:a.utc().format("".concat(this.formatMonth," ").concat(this.formatYear)))||(e+=" ".concat(this.endDate.utc().format(this.formatMonth))),e+=" ".concat(this.endDate.utc().format(this.formatDay)),(this.showEndYear||this.showStartYear)&&(e+=" ".concat(this.endDate.utc().format(this.formatYear)))));return e}}};var l=(0,e(3744).Z)(u,[["render",function(t,a,e,i,o,s){return s.startDate?((0,n.wg)(),(0,n.j4)((0,n.LL)(e.tag),{key:0,class:"date-heading card__date-heading",textContent:(0,r.zw)(s.headingText)},null,8,["textContent"])):(0,n.kq)("",!0)}]])}}]);

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.