PageSourceSearch

https://www.fec.gov/static/js/home-dafe2b7500185733f21f.js

js fec.gov collected 2026-09-24 07:25:42 UTC 15,727 bytes, 1 lines download raw bytes

1(self.webpackChunk=self.webpackChunk||[]).push([[7962],{
1"./fec/static/js/modules/analytics.js":function(e,t,n){"use strict";n.d(t,{$q:function(){return o},ex:function(){return s}});n("../node_modules/underscore/modules/index-all.js"),n("../node_modules/underscore/modules/map.js");let a=window.dataLayer;function i(){window.dataLayer||(window.dataLayer=[]),a=window.dataLayer||[]}function s(e){i(),a.push({event:e.event||"Custom Event",eventCategory:e.eventCategory||"",eventAction:e.eventAction||"",eventLabel:e.eventLabel||"",eventValue:e.eventValue||null})}const o=()=>{i(),a.push({event:"pageview"})}},
1"./fec/static/js/modules/calendar-helpers.js":function(e,t,n){"use strict";n.d(t,{ID:function(){return c},Ki:function(){return d},Z4:function(){return p},nL:function(){return l},ri:function(){return r},s7:function(){return u}});var a=n("../node_modules/moment/moment.js"),i=n.n(a),s=n("../node_modules/urijs/src/URI.js"),o=n.n(s);function l(e){let t,n;return e.end?(t="YYYYMMDD[T]HHmmss",n=e.start.format(t)+"/"+e.end.format(t)):(t="YYYYMMDD",n=e.start.format(t)+"/"+e.start.clone().add(1,"day").format(t)),o()("https://calendar.google.com/calendar/render").addQuery({action:"TEMPLATE",text:e.title,details:e.summary,dates:n}).toString()}function r(e,t){const n=o()(window.API_LOCATION).path(Array.prototype.concat(window.API_VERSION,e||[],"").join("/")).addQuery({api_key:window.CALENDAR_DOWNLOAD_PUBLIC_API_KEY,per_page:500}).addQuery(t||{}).toString();return o().decode(n)}function c(e,t,n){const a="sub"==n?window.API_KEY_PUBLIC_CALENDAR:window.API_KEY_PUBLIC,i=o()(window.API_LOCATION).path(Array.prototype.concat(window.API_VERSION,e||[],"").join("/")).addQuery({api_key:a,per_page:500}).addQuery(t||{}).toString();return o().decode(i)}function u(e){const t=e.start_date?i()(e.start_date).format("M D"):null,n=e.end_date?i()(e.end_date).format("M D"):null;return n&&t!==n?"fc-multi-day":""}function d(e){return!!e.start_date&&!!i()(e.start_date).hour()}function p(e){return{"Reporting Deadlines":"Throughout the year, filers submit regularly scheduled reports about their campaign finance activity. These reporting requirements are outlined in Title 11 of the Code of Federal Regulations (CFR) and vary, depending on the type of filer.","Election Dates":"Federal elections. These include primary, general and special elections as well as caucuses and conventions.","EC Periods":'Electioneering communications are any broadcast, cable or satellite communication that:<ul class="list--bulleted"><li>Refer to a clearly identified candidate for federal office,</li><li>Are publicly distributed within certain time periods before an election, and</li><li>Are targeted to the relevant electorate. 11 CFR 100.29.</li></ul>',"IE Periods":'Independent expenditures are expenditures for a communication: <ul class="list--bulleted"><li>That expressly advocate the election or defeat of a clearly identified candidate and</li><li>That are not made in cooperation, consultation or concert with, or at the request or suggestion of, any candidate, or his or her authorized committees or agents, or a political party committee or its agents. 11 CFR 100.16.</li></ul>',"Executive Sessions":"Executive sessions are regular, closed meetings during which the Commission discusses pending enforcement actions, litigation and other matters that — by law — must be kept confidential.","Open Meetings":"Open meetings are regular, public meetings during which the Commission adopts new regulations, issues advisory opinions, approves audit reports of political committees and takes other actions to administer the campaign finance law.",Roundtables:"Roundtables are training opportunities offered to FEC filers and those interested in learning about campaign finance law. These voluntary, online workshops focus on specific compliance topics. Register to access online materials and technical information.","AOs and Rules":"The Commission follows these deadlines when issuing new guidance and rules. Advisory Opinions are official Commission responses about how to apply campaign finance regulations to specific, factual situations. The Commission writes rules and regulations and publishes them in the Federal Register."}[e]}},
1"./fec/static/js/modules/top-entities.js":function(e,t,n){"use strict";n.d(t,{D:function(){return c}});var a=n("../node_modules/urijs/src/URI.js"),i=n.n(a),s=n("./fec/static/js/modules/helpers.js"),o=n("./fec/static/js/templates/top-entity-row.hbs"),l=n.n(o),r=n("../node_modules/jquery/dist/jquery.js");function c(e,t){this.$elm=r(e),this.type=t,this.office=this.$elm.data("office"),this.election_year=this.$elm.data("election-year"),this.per_page=this.$elm.data("perpage"),this.$table=this.$elm.find(".js-top-table"),this.$dates=this.$elm.find(".js-dates"),this.$previous=this.$elm.find(".js-previous"),this.$next=this.$elm.find(".js-next"),this.$pageInfo=this.$elm.find(".js-page-info"),this.init(),this.$elm.find(".js-office").on("change",this.handleOfficeChange.bind(this)),this.$elm.find(".js-previous").on("click",this.handlePagination.bind(this,"previous")),this.$elm.find(".js-next").on("click",this.handlePagination.bind(this,"next")),r(".js-chart-toggle").on("change",this.handleTypeChange.bind(this))}c.prototype.init=function(){r(".js-election-year").off().on("change",this.handleElectionYearChange.bind(this)),this.basePath=["candidates","totals"];const e={sort:"-"+this.type,per_page:this.per_page||10,sort_hide_null:!0,election_year:this.election_year,election_full:!0,office:this.office,is_active_candidate:!0,page:1};this.maxValue=Number(this.$table.find(".value-bar").first().data("value")),this.currentQuery=e,this.currentQuery.page||this.$previous.addClass("is-disabled"),this.updateElectionYearOptions(this.office),this.updateCoverageDateRange(),this.loadData(this.currentQuery)},c.prototype.handleElectionYearChange=function(e){e.preventDefault(),this.election_year=e.target.value,this.currentQuery=Object.assign({},this.currentQuery,{election_year:this.election_year,page:1}),this.loadData(this.currentQuery),this.updateCoverageDateRange(),this.pushStateToURL({election_year:this.election_year})},c.prototype.handleOfficeChange=function(e){e.preventDefault(),this.office=e.target.value,this.currentQuery=Object.assign({},this.currentQuery,{office:this.office,page:1}),this.updateElectionYearOptions(this.office),this.updateCoverageDateRange(),this.loadData(this.currentQuery),this.pushStateToURL({office:this.office})},c.prototype.updateElectionYearOptions=function(e){const t=(new Date).getFullYear();let n=t;if("P"==e){r("#election-year option").each((function(){const e=parseInt(r(this).val());e%4!=0?r(this).hide().prop("disabled",!0):e>t&&(n=e)}));"none"==r('#election-year option[value="'+this.election_year+'"]').css("display")&&r("#election-year").val(n).trigger("change")}else r("#election-year option").show().prop("disabled",!1)},c.prototype.handlePagination=function(e,t){if(r(t.target).hasClass("is-disabled"))return;const n=this.currentQuery.page||1;"next"===e?this.currentQuery.page=n+1:"previous"===e&&(this.currentQuery.page=n-1),this.loadData(this.currentQuery)},c.prototype.loadData=function(e){const t=this;r.getJSON((0,s.c$)(this.basePath,e)).done((function(e){t.populateTable(e)}))},c.prototype.populateTable=function(e){const t=this;t.$table.find(".js-top-row").remove();let n=1;const a=10*(e.pagination.page-1);e.results.forEach((function(e){const i=3==t.per_page?"":a+n+".",s=t.formatData(e,i);t.$table.append(l()(s)),n++})),1===e.pagination.page&&(e.results.length>0&&(t.maxValue="receipts"==this.type?e.results[0].receipts:e.results[0].disbursements),t.$previous.addClass("is-disabled")),t.updatePagination(e.pagination),t.drawBars()},c.prototype.formatData=function(e,t){return{name:e.name,amount:(0,s.Gl)(e[this.type]),value:e[this.type],rank:t,party:e.party,party_code:null===e.party?"":"["+e.party.toUpperCase()+"]",url:(0,s.PY)(["candidate",e.candidate_id],{cycle:this.election_year,election_full:!0})}},c.prototype.drawBars=function(){const e=this.maxValue;this.$table.find(".value-bar").each((function(){const t=Number(this.getAttribute("data-value"))/e||0;this.style.width=String(100*t)+"%"}))},c.prototype.updateCoverageDateRange=function(){let e=null;const t="12/31/"+this.election_year;e="P"===this.office?"01/01/"+String(this.election_year-3):"S"===this.office?"01/01/"+String(this.election_year-5):"01/01/"+String(this.election_year-1),this.$dates.html(e+"–"+t)},c.prototype.updatePagination=function(e){const t=e.page,n=e.per_page,a=e.count.toLocaleStr
1ing(),i=String(n*(t-1)+1)+"-"+String(10*(t-1)+n)+" of "+a;t===e.pages?this.$next.addClass("is-disabled"):this.$next.removeClass("is-disabled"),1===t?this.$previous.addClass("is-disabled"):this.$previous.removeClass("is-disabled"),this.$pageInfo.html(i)},c.prototype.pushStateToURL=function(e){const t=Object.assign(i().parseQuery(window.location.search),e),n=i()("").query(t).toString();window.history.pushState(t,n,n||window.location.pathname)},c.prototype.handleTypeChange=function(e){this.type=e.target.value,this.basePath=["candidates","totals"],this.prefix=r(e.target).data("prefix"),this.action="receipts"==this.type?"raised":"spent";const t={sort:"-"+this.type,per_page:this.per_page,sort_hide_null:!0,election_year:this.election_year,election_full:!0,office:this.office,is_active_candidate:!0};this.currentQuery=t,this.loadData(this.currentQuery),this.updateCoverageDateRange(),r("a.js-browse").attr({href:"/data/"+this.prefix+"-bythenumbers/"}).html("Browse top "+this.prefix+" candidates"),r(".js-type-label span").html(this.action)}},
1"./fec/static/js/pages/home.js":function(e,t,n){"use strict";var a=n("./fec/static/js/modules/analytics.js"),i=n("../node_modules/moment/moment.js"),s=n.n(i),o=n("./fec/static/js/modules/calendar-helpers.js"),l=n("./fec/static/js/templates/homepage/events-and-deadlines.hbs"),r=n.n(l),c=n("../node_modules/jquery/dist/jquery.js");const u=new Date,d=u.getDate(),p=u.getMonth()+1,h=u.getFullYear()+"-"+p+"-"+d,f={".js-next-commission-meeting":["32","40"],".js-next-filing-deadline":["21","25","26","27"],".js-next-training-or-conference":["33","34"],".js-next-public-comment-deadline":["23"]};function m(){c.each(f,(function(e,t){const n=(0,o.ID)("calendar-dates",{sort:"start_date",min_start_date:h,calendar_category_id:t});c.getJSON(n).done((function(t){let n=t.results[0],a="";if(t.results.length>1){n=t.results[0];const e=n.start_date,a=t.results.filter((function(t){return"FEC"==t.location&&t.start_date==e}));a.length>0&&(n=a[0])}void 0!==n?a=s()(n.start_date).format("MMMM D"):n="",c(e).html(r()({startDate:a,url:n.url,summary:n.summary}))}))}))}var y=n("./fec/static/js/modules/top-entities.js"),g=n("../node_modules/jquery/dist/jquery.js");g((function(){new m;null!==document.querySelector(".js-top-entities")&&(new y.D(".js-top-entities","receipts"),g(".js-ga-event").each((function(){var e=g(this).data("ga-event");g(this).on("click",(function(){(0,a.ex)({event:"Widget Interaction",eventName:"fecCustomEvent",eventCategory:"Misc. events",eventAction:e,eventValue:1})}))})))}))}
vendor: 4,287 bytes, line 1
1,"./fec/static/js/templates/homepage/events-and-deadlines.hbs":function(e,t,n){var a=n("../node_modules/handlebars/runtime.js");e.exports=(a.default||a).template({1:function(e,t,n,a,i){var s,o,l=null!=t?t:e.nullContext||{},r=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'  <span class="t-bold">'+e.escapeExpression("function"==typeof(o=null!=(o=r(n,"startDate")||(null!=t?r(t,"startDate"):t))?o:e.hooks.helperMissing)?o.call(l,{name:"startDate",hash:{},data:i,loc:{start:{line:2,column:23},end:{line:2,column:38}}}):o)+"</span> |\n  "+(null!=(s=r(n,"if").call(l,null!=t?r(t,"url"):t,{name:"if",hash:{},fn:e.program(2,i,0),inverse:e.program(4,i,0),data:i,loc:{start:{line:3,column:2},end:{line:6,column:9}}}))?s:"")},2:function(e,t,n,a,i){var s,o=null!=t?t:e.nullContext||{},l=e.hooks.helperMissing,r="function",c=e.escapeExpression,u=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<a href="'+c(typeof(s=null!=(s=u(n,"url")||(null!=t?u(t,"url"):t))?s:l)===r?s.call(o,{name:"url",hash:{},data:i,loc:{start:{line:3,column:22},end:{line:3,column:31}}}):s)+'">'+c(typeof(s=null!=(s=u(n,"summary")||(null!=t?u(t,"summary"):t))?s:l)===r?s.call(o,{name:"summary",hash:{},data:i,loc:{start:{line:3,column:33},end:{line:3,column:46}}}):s)+"</a>\n"},4:function(e,t,n,a,i){var s,o=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return"  "+e.escapeExpression("function"==typeof(s=null!=(s=o(n,"summary")||(null!=t?o(t,"summary"):t))?s:e.hooks.helperMissing)?s.call(null!=t?t:e.nullContext||{},{name:"summary",hash:{},data:i,loc:{start:{line:5,column:2},end:{line:5,column:15}}}):s)+"\n"},6:function(e,t,n,a,i){return'  <span class="t-italic">None scheduled.</span>\n'},compiler:[8,">= 4.3.0"],main:function(e,t,n,a,i){var s,o=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return null!=(s=o(n,"if").call(null!=t?t:e.nullContext||{},null!=t?o(t,"startDate"):t,{name:"if",hash:{},fn:e.program(1,i,0),inverse:e.program(6,i,0),data:i,loc:{start:{line:1,column:0},end:{line:9,column:7}}}))?s:""},useData:!0})},"./fec/static/js/templates/top-entity-row.hbs":function(e,t,n){var a=n("../node_modules/handlebars/runtime.js");e.exports=(a.default||a).template({1:function(e,t,n,a,i){var s,o=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return"    "+e.escapeExpression("function"==typeof(s=null!=(s=o(n,"party_code")||(null!=t?o(t,"party_code"):t))?s:e.hooks.helperMissing)?s.call(null!=t?t:e.nullContext||{},{name:"party_code",hash:{},data:i,loc:{start:{line:4,column:4},end:{line:4,column:20}}}):s)+"\n"},compiler:[8,">= 4.3.0"],main:function(e,t,n,a,i){var s,o,l=null!=t?t:e.nullContext||{},r=e.hooks.helperMissing,c="function",u=e.escapeExpression,d=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div role="row" class="simple-table__row js-top-row">\n  <div role="gridcell" class="simple-table__cell">'+u(typeof(o=null!=(o=d(n,"rank")||(null!=t?d(t,"rank"):t))?o:r)===c?o.call(l,{name:"rank",hash:{},data:i,loc:{start:{line:2,column:50},end:{line:2,column:60}}}):o)+' <a href="'+u(typeof(o=null!=(o=d(n,"url")||(null!=t?d(t,"url"):t))?o:r)===c?o.call(l,{name:"url",hash:{},data:i,loc:{start:{line:2,column:70},end:{line:2,column:79}}}):o)+'">'+u(typeof(o=null!=(o=d(n,"name")||(null!=t?d(t,"name"):t))?o:r)===c?o.call(l,{name:"name",hash:{},data:i,loc:{start:{line:2,column:81},end:{line:2,column:91}}}):o)+"</a>\n"+(null!=(s=d(n,"if").call(l,null!=t?d(t,"party_code"):t,{name:"if",hash:{},fn:e.program(1,i,0),inverse:e.noop,data:i,loc:{start:{line:3,column:4},end:{line:5,column:11}}}))?s:"")+'  </div>\n  <div role="gridcell" class="simple-table__cell t-right-aligned t-mono">'+u(typeof(o=null!=(o=d(n,"amount")||(null!=t?d(t,"amount"):t))?o:r)===c?o.call(l,{name:"amount",hash:{},data:i,loc:{start:{line:7,column:73},end:{line:7,column:85}}}):o)+'</div>\n  <div role="gridcell" class="simple-table__cell">\n    <div class="bar-container">\n      <div class="value-bar" data-value="'+u(typeof(o=null!=(o=d(n,"value")||(null!=t?d(t,"value"):t))?o:r)===c?o.call(l,{name:"value",hash:{},data:i,loc:{start:{line:10,column:41}
1,end:{line:10,column:52}}}):o)+'" data-party="'+u(typeof(o=null!=(o=d(n,"party")||(null!=t?d(t,"party"):t))?o:r)===c?o.call(l,{name:"party",hash:{},data:i,loc:{start:{line:10,column:66},end:{line:10,column:77}}}):o)+'"></div>\n    </div>\n  </div>'},useData:!0})}},function(e){e.O(0,[8096],(function(){return t="./fec/static/js/pages/home.js",e(e.s=t);var t}));e.O()}]);

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.