PageSourceSearch

https://www.fec.gov/static/js/data-init-64f16e037c1673a6bb9e.js

js fec.gov collected 2026-09-24 07:25:48 UTC 23,156 bytes, 1 lines download raw bytes

1(self.webpackChunk=self.webpackChunk||[]).push([[9854],{
1"./fec/static/js/data-init.js":function(e,t,n){"use strict";n("../node_modules/aria-accordion/src/accordion.js");var o=n("../node_modules/component-sticky/index.js"),s=n.n(o),i=n("./fec/static/js/modules/cycle-select.js"),l=n("./fec/static/js/modules/download.js"),a=n("./fec/static/js/modules/dropdowns.js"),c=n("./fec/static/js/modules/events.js"),r=n("../node_modules/jquery/dist/jquery.js");const d=(0,c.A)(),u={placeHolderOptions:{candidates:"Search candidates",committees:"Search committees"}};function h(e,t){var n=e.find(".js-search-type"),o=e.find('input[type="text"]'),s=r.extend({},u,t);s.placeHolderOptions&&n.on("change",(function(e){e.preventDefault();var t=r(this).val();d.emit("searchTypeChanged",{type:t}),function(e,t){e.attr("placeholder",t).attr("aria-label",t)}(o,s.placeHolderOptions[t])})),r(document.body).on("keyup",(function(e){191===e.which&&o.first().trigger("focus")}))}var p=n("../node_modules/jquery/dist/jquery.js");var m=n("./fec/static/js/vendor/tablist.js"),f=n("../node_modules/jquery/dist/jquery.js");(0,m.T)(),f((function(){f(".js-dropdown").each((function(){new a.A(this)})),f(".js-sticky-side").each((function(){const e=f(this).data("sticky-container"),t={within:document.getElementById(e)};new(s())(this,t)})),f("#version-methodology-modal_processed, #version-methodology-modal_raw").detach().appendTo("body"),f(".js-search").each((function(){new h(f(this))})),i.A.init(f(document)),p(".js-toggles input").each((function(){p(this).attr("aria-controls",p(this).attr("value"))})),p(".js-panel-toggle-control").on("change",(function(e){var t=p(e.target);p('[name="'+t.attr("name")+'"]').each((function(e,t){var n=p(t);p("#"+n.attr("value")).attr("aria-hidden","true")})),p("#"+t.attr("value")).attr("aria-hidden","false"),p(document).trigger("resize")})),(0,l.Qv)()}))},
1"./fec/static/js/modules/analytics.js":function(e,t,n){"use strict";n.d(t,{$q:function(){return l},ex:function(){return i}});n("../node_modules/underscore/modules/index-all.js"),n("../node_modules/underscore/modules/map.js");let o=window.dataLayer;function s(){window.dataLayer||(window.dataLayer=[]),o=window.dataLayer||[]}function i(e){s(),o.push({event:e.event||"Custom Event",eventCategory:e.eventCategory||"",eventAction:e.eventAction||"",eventLabel:e.eventLabel||"",eventValue:e.eventValue||null})}const l=()=>{s(),o.push({event:"pageview"})}},
1"./fec/static/js/modules/cycle-select.js":function(e,t,n){"use strict";n.d(t,{A:function(){return m}});var o=n("../node_modules/underscore/modules/filter.js"),s=n("../node_modules/underscore/modules/map.js"),i=n("../node_modules/underscore/modules/range.js"),l=n("../node_modules/underscore/modules/toArray.js"),a=n("../node_modules/urijs/src/URI.js"),c=n.n(a),r=n("./fec/static/js/templates/electionCycle.hbs"),d=n.n(r),u=n("./fec/static/js/templates/electionCycles.hbs"),h=n.n(u),p=n("../node_modules/jquery/dist/jquery.js");function m(e){this.$elm=p(e),this.duration=this.$elm.data("duration"),this.cycleId=this.$elm.attr("id"),this.$elm.on("change",this.handleChange.bind(this)),this.initCycles()}function f(){m.apply(this,(0,l.A)(arguments))}function y(){m.apply(this,(0,l.A)(arguments))}m.prototype.initCycles=function(){this.$cycles=p('<div class="subcycle-select"></div>'),this.$cycles.insertAfter(this.$elm.closest(".js-cycle-select"));var e=parseInt(this.$elm.val());this.duration>2?this.initCyclesMulti(e):this.initCyclesSingle(e)},m.prototype.initCyclesMulti=function(e){var t,n=(0,i.A)(e-this.duration+2,e+2,2),l=this.getParams(),a=this.cycleId,c=(0,s.A)(n,(function(e){return{min:e-1,max:e,electionFull:!1,cycleId:a,active:!!window.context.cycles&&-1!==window.context.cycles.indexOf(e),checked:e.toString()===l.cycle&&"false"===l.electionFull}}));c.unshift({min:e-this.duration+1,max:e,electionFull:!0,cycleId:a,active:!0,checked:!0}),this.$cycles.html(h()(c)),this.$cycles.on("change",this.handleChange.bind(this)),(t=(0,o.A)(c,(function(e){return!0===e.checked}))).length>0&&t[0].min&&t[0].max&&this.setTimePeriod(t[0].min,t[0].max)},m.prototype.initCyclesSingle=function(e){var t=e-1,n=e;this.setTimePeriod(t,n),this.$cycles.html(d()({min:t,max:n}))},m.prototype.setTimePeriod=function(e,t){window.context.timePeriod=e.toString()+"–"+t.toString()},m.build=function(e){if(!e.data("cycle-select-init")){var t,n=e.data("cycle-location");return"query"===n?t=new f(e):"path"===n&&(t=new y(e)),t&&e.data("cycle-select-init",t),t}},m.init=function(e){e.find(".js-cycle").each((function(e,t){m.build(p(t))}))},m.prototype.handleChange=function(e){var t=p(e.target),n=t.val(),o=t.data("election-full");void 0===o&&this.duration>2&&(o="true"),this.setUrl(this.nextUrl(n,o))},m.prototype.setUrl=function(e){window.location.href=e},f.prototype=Object.create(m.prototype),f.prototype.getParams=function(){var e=c().parseQuery(window.location.search);return{cycle:e.cycle,electionFull:e.election_full}},f.prototype.nextUrl=function(e,t){return c()(window.location.href).removeQuery("cycle").removeQuery("election_full").addQuery({cycle:e,election_full:t}).toString()},y.prototype=Object.create(m.prototype),y.prototype.getParams=function(){var e=c().parseQuery(window.location.search);return{cycle:window.location.pathname.replace(/\/$/,"").split("/").pop(),electionFull:e.election_full}},y.prototype.nextUrl=function(e,t){var n=c()(window.location.href),o=n.path().replace(/^\/|\/$/g,"").split("/").slice(0,-1).concat([e]).join("/").concat("/");return n.path(o).search({election_full:t}).toString()}},
1"./fec/static/js/modules/download.js":function(e,t,n){"use strict";n.d(t,{Qv:function(){return b},RG:function(){return w},dj:function(){return j},mm:function(){return v}});var o=n("../node_modules/moment/moment.js"),s=n.n(o),i=n("../node_modules/underscore/modules/extend.js"),l=n("../node_modules/underscore/modules/isEmpty.js"),a=n("../node_modules/urijs/src/URI.js"),c=n.n(a),r=n("./fec/static/js/templates/download/container.hbs"),d=n.n(r),u=n("./fec/static/js/templates/download/item.hbs"),h=n.n(u),p=n("../node_modules/jquery/dist/jquery.js");const m={item:h(),container:d()},f="download-",y="YYYY-MM-DDTHH:mm:ss";function b(){return g().map((function(e){return w(e.slice(f.length),!0)}))}function w(e,t,n){var o=new $(e,k.getInstance(document.body));return!t&&o.isPending||o.init(),n&&o.$button.trigger("focus"),o}function v(e){return!!window.localStorage.getItem(f+e)}function g(){return Object.keys(window.localStorage).filter((function(e){return 0===e.indexOf(f)}))}function j(){return g().length}var _={timeout:5e3};function $(e,t,n){this.url=e,this.container=t,this.opts=(0,i.A)({},_,n),this.$body=null,this.$parent=this.container.$list,this.timeout=null,this.promise=null,this.key=f+this.url;var o=function(e){var t=c()(e),n=t.path().split("/");return n.splice(2,0,"download"),t.path(n.join("/")),{resource:n[n.length-2],apiUrl:t.toString()}}(this.url);this.apiUrl=o.apiUrl,this.resource=o.resource;var a=JSON.parse(window.localStorage.getItem(this.key))||{};this.timestamp=a.timestamp||s()().format(y),this.downloadUrl=a.downloadUrl,this.isPending=!(0,l.A)(a),this.filename=this.resource+"-"+this.timestamp+".csv",this.task_id=""}function k(e){this.$parent=p(e),this.$body=p(m.container()),this.$list=this.$body.find(".js-downloads-list"),this.$parent.append(this.$body),this.items=0}$.prototype.init=function(){this.draw(),this.container.add(),this.downloadUrl||(this.refresh(),this.push())},$.prototype.draw=function(){var e=m.item;this.$body=p(e(this.serialize())),this.$body.appendTo(this.$parent),this.$button=this.$body.find(".download__button"),this.$body.find(".js-close").on("click",this.close.bind(this))},$.prototype.serialize=function(){return{url:this.url,apiUrl:this.apiUrl,downloadUrl:this.downloadUrl,filename:this.filename,task_id:this.task_id}},$.prototype.schedule=function(){this.timeout=window.setTimeout(this.refresh.bind(this),this.opts.timeout)},$.prototype.push=function(){window.localStorage.setItem(this.key,JSON.stringify({timestamp:this.timestamp,downloadUrl:this.downloadUrl}))},$.prototype.refresh=function(){this.promise=p.ajax({method:"POST",url:this.apiUrl,data:JSON.stringify({filename:this.filename,task_id:this.task_id}),contentType:"application/json",dataType:"json"}),this.promise.done(this.handleSuccess.bind(this)),this.promise.fail(this.handleError.bind(this))},$.prototype.cancel=function(){this.close(),window.alert("Your request contains more than 100,000 results.")},$.prototype.handleSuccess=function(e){this.task_id=e.task_id||"",e&&"complete"===e.status?this.finish(e.url):this.schedule()},$.prototype.handleError=function(e,t){"error"===t?this.handleServerError(e):"abort"!==t?this.schedule():403===e.status&&this.cancel()},$.prototype.finish=function(e){this.downloadUrl=e,this.push(),this.$body.removeClass("is-pending"),this.$body.addClass("is-complete"),this.$body.find(".download__message").remove(),this.$button.attr("href",this.downloadUrl).removeClass("is-disabled")},$.prototype.close=function(){window.clearTimeout(this.timeout),this.promise&&this.promise.abort(),this.$body&&this.$body.remove(),window.localStorage.removeItem(this.key),this.container.subtract()},$.prototype.handleServerError=function(e){429===e.status?this.$body.html('<div class="message message--alert message--mini">Sorry, you have exceeded your maximum downloads for the hour. Please try again later.<button class="js-close button--cancel download__cancel"><span class="u-visually-hidden">Remove</span></button></div>'):this.$body.html('<div class="message message--alert message--mini">Sorry, this data failed to download due to a server error. Please try again later.<button class="js-close button--cancel download__cancel"><span class="u-visually-hidden">Remove</span></button></div>'),window.clearTimeout(this.timeout),this.promise&&this.promise.abort(),this.$body.removeClass("is-pending"),this.$body.removeClass("download"),window.localStorage.removeItem(this.key),this.container.subtract(!0),p(this.$body).find(".js-close").on("click",this.handleCloseErrorClick.bind(this))},$.prototype.handleCloseErrorClick=function(){this.container.destroy()},k.prototype.add=function(){this.items++,this.$body&&this.$body.trigger({type:"download:countChanged",count:this.items})},k.prototype.subtract=function(e){this.items=this.items-1,this.$body&&this.$body.trigger({type:"download:countChanged",count:this.items}),0!==this.items||e||this.destroy()},k.prototype.destroy=function(){this.$body.remove(),k.instance=null},k.instance=null,k.getInstance=function(e){return k.instance=k.instance||new k(e),k.instance}},
1"./fec/static/js/modules/dropdowns.js":function(e,t,n){"use strict";n.d(t,{A:function(){return a}});var o=n("./fec/static/js/modules/accessibility.js"),s=n("./fec/static/js/modules/listeners.js"),i=n("../node_modules/jquery/dist/jquery.js");const l={checkboxes:!0};function a(e,t){this.opts=i.extend({},l,t),this.isOpen=!1,this.$body=i(e),this.$button=this.$body.find(".dropdown__button"),this.$panel=this.$body.find(".dropdown__panel"),this.opts.checkboxes&&(this.$selected=this.$body.find(".dropdown__selected"),this.$panel.on("keyup",'input[type="checkbox"]',this.handleCheckKeyup.bind(this)),this.$panel.on("change",'input[type="checkbox"]',this.handleCheck.bind(this)),this.$panel.on("click",".dropdown__item--selected",this.handleDropdownItemClick.bind(this)),this.$selected.on("click",'input[type="checkbox"]',this.handleSelectedInputClick.bind(this)),this.$selected.on("click",".dropdown__remove",this.handleRemoveClick.bind(this)),this.isEmpty()&&this.removePanel()),i(document.body).on("tag:removeAll",this.handleClearFilters.bind(this)),this.$button.on("click",this.toggle.bind(this)),this.events=new s.A,this.events.on(document.body,"click",this.handleClickAway.bind(this)),this.events.on(document.body,"focusin",this.handleFocusAway.bind(this)),this.events.on(document.body,"keyup",this.handleKeyup.bind(this)),this.$button.attr("aria-haspopup","true"),this.$panel.attr("aria-label","More options")}a.prototype.toggle=function(e){e.preventDefault();return(this.isOpen?this.hide:this.show).apply(this),!1},a.prototype.show=function(){(0,o.I)(this.$panel),this.$panel.attr("aria-hidden","false"),this.$panel.find('input[type="checkbox"]').first().trigger("focus"),this.$button.addClass("is-active"),this.isOpen=!0},a.prototype.hide=function(){(0,o.w)(this.$panel),this.$panel.attr("aria-hidden","true"),this.$button.removeClass("is-active"),this.isOpen=!1},a.prototype.handleClickAway=function(e){const t=i(e.target);this.$body.has(t).length||this.hide()},a.prototype.handleFocusAway=function(e){const t=i(e.target);!this.isOpen||this.$panel.has(t).length||this.$panel.is(t)||t.is(this.$button)||this.$panel.has("p.dropdown-msg").length||this.hide()},a.prototype.handleKeyup=function(e){27===e.which&&this.isOpen&&(this.hide(),this.$button.trigger("focus"))},a.prototype.handleCheckKeyup=function(e){13===e.which&&i(e.target).prop("checked",!0).trigger("change")},a.prototype.handleCheck=function(e){const t=i(e.target);t.is(":checked")&&this.selectItem(t)},a.prototype.handleDropdownItemClick=function(e){const t=i(e.target),n=this.$selected.find("#"+t.data("label"));t.hasClass("is-checked")||n.trigger("click")},a.prototype.handleSelectedInputClick=function(e){this.$panel.find("button[data-label="+e.target.id+"]").toggleClass("is-checked")},a.prototype.handleCheckboxRemoval=function(e){const t=e.parent(),n=e.parent().find("label"),o=this.$panel.find('button[data-label="'+e.attr("id")+'"]');o.length>0&&(o.parent().append(e),o.parent().append(n),o.remove(),t.remove())},a.prototype.handleRemoveClick=function(e,t){let n=i(e.target).parent().find("input");t&&(n=this.$selected.find("#"+t.key)),this.handleCheckboxRemoval(n)},a.prototype.handleClearFilters=function(){const e=this;this.$selected&&this.$selected.find("input:checkbox:not(:checked)").each((function(){e.handleCheckboxRemoval(i(this))}))},a.prototype.selectItem=function(e){const t=e.parent(".dropdown__item"),n=t.find("label"),o=t.prevAll(".dropdown__item"),s=t.nextAll(".dropdown__item");t.after('<li class="dropdown__item"><button class="dropdown__item--selected is-checked" type="button" data-label="'+n.attr("for")+'" >'+n.text()+"</button></li>"),this.$selected.append(t),t.append('<button class="dropdown__remove"><span class="u-visually-hidden">Remove</span></button>'),this.isEmpty()?this.$selected.find('input[type="checkbox"]').trigger("focus"):s.length?i(s[0]).find('input[type="checkbox"]').trigger("focus"):o.length&&i(o[0]).find('input[type="checkbox"]').trigger("focus")},a.prototype.removePanel=function(){this.$panel.remove(),this.$button.remove()},a.prototype.isEmpty=function(){return 0===this.$panel.find("input").length},a.prototype.destroy=function(){this.events.clear()}},
1"./fec/static/js/modules/listeners.js":function(e,t,n){"use strict";n.d(t,{A:function(){return i}});var o=n("../node_modules/underscore/modules/toArray.js"),s=n("../node_modules/jquery/dist/jquery.js");function i(){this.listeners=[]}i.prototype.on=function(e){var t=s(e),n=(0,o.A)(arguments).slice(1);this.listeners=this._listeners||[],this.listeners.push({$elm:t,args:n}),t.on.apply(t,n)},i.prototype.clear=function(){this.listeners.forEach((function(e){var t=e.$elm,n=e.args;t.off.apply(t,n)}))}},
1"./fec/static/js/vendor/tablist.js":function(e,t,n){"use strict";n.d(t,{T:function(){return f},n:function(){return m}});var o=n("../node_modules/underscore/modules/extend.js"),s=n("../node_modules/underscore/modules/object.js"),i=n("../node_modules/urijs/src/URI.js"),l=n.n(i),a=n("./fec/static/js/modules/events.js"),c=n("./fec/static/js/modules/analytics.js"),r=n("../node_modules/jquery/dist/jquery.js");const d=(0,a.A)(),u=".tab-interface";function h(e,t){r('[role="tab"]').attr({"aria-selected":null}),e.attr({"aria-selected":"true"}),r(u+' [role="tabpanel"]').attr("aria-hidden","true");const n=r("#"+l()(e.attr("href")).fragment());n.attr("aria-hidden",null);const i=e.closest('[role="tablist"]').attr("data-name"),a=e.attr("data-name");if(t){const e=(0,o.A)(l().parseQuery(window.location.search),(0,s.A)([[i,a]])),t=l()("").query(e).toString();window.history.pushState(e,t,t||window.location.pathname),(0,c.$q)()}d.emit("tabs.show."+a,{$tab:e,$panel:n})}function p(){var e=l().parseQuery(window.location.search);r('ul[role="tablist"]').each((function(t,n){const o=r(n),s=o.attr("data-name"),i=e[s]?o.find('[role="tab"][data-name="'+e[s]+'"]'):o.find('[role="tab"]').eq(0);i.length?h(i):r('[role="tabpanel"]').attr("aria-hidden",null)}))}function m(e,t){const n=e.closest('[role="tabpanel"]');if(n.is(":visible"))t();else{const e="tabs.show."+r('[role="tab"][href$="#'+n.attr("id")+'"]').attr("data-name");d.once(e,t)}}function f(){r('[role="tab"]').on("click",(function(e){e.preventDefault(),h(r(this),!0)})),r(window).on("popstate",p),p()}}
vendor: 4,779 bytes, line 1
1,"./fec/static/js/templates/download/container.hbs":function(e,t,n){var o=n("../node_modules/handlebars/runtime.js");e.exports=(o.default||o).template({compiler:[8,">= 4.3.0"],main:function(e,t,n,o,s){return'<div class="downloads">\n  <div class="container">\n    <span class="downloads__title js-download-status-message">Your downloads</span>\n    <ul class="downloads__list js-downloads-list">\n    </ul>\n  </div>\n</div>\n'},useData:!0})},"./fec/static/js/templates/download/item.hbs":function(e,t,n){var o=n("../node_modules/handlebars/runtime.js");e.exports=(o.default||o).template({1:function(e,t,n,o,s){return"is-complete"},3:function(e,t,n,o,s){return"is-pending"},5:function(e,t,n,o,s){return"is-disabled"},7:function(e,t,n,o,s){return"    <p class=\"download__message\">We're preparing your download. Your wait will vary depending on how many records you requested and how many downloads we're processing.</p>\n"},compiler:[8,">= 4.3.0"],main:function(e,t,n,o,s){var i,l,a=null!=t?t:e.nullContext||{},c=e.hooks.helperMissing,r="function",d=e.escapeExpression,u=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<li class="download '+(null!=(i=u(n,"if").call(a,null!=t?u(t,"downloadUrl"):t,{name:"if",hash:{},fn:e.program(1,s,0),inverse:e.program(3,s,0),data:s,loc:{start:{line:1,column:20},end:{line:1,column:75}}}))?i:"")+'">\n  <div class="download__item">\n    <span id="download-file-name" class="download__name">'+d(typeof(l=null!=(l=u(n,"filename")||(null!=t?u(t,"filename"):t))?l:c)===r?l.call(a,{name:"filename",hash:{},data:s,loc:{start:{line:3,column:57},end:{line:3,column:69}}}):l)+'</span>\n      <a class="button button--cta download__button '+(null!=(i=u(n,"unless").call(a,null!=t?u(t,"downloadUrl"):t,{name:"unless",hash:{},fn:e.program(5,s,0),inverse:e.noop,data:s,loc:{start:{line:4,column:52},end:{line:4,column:97}}}))?i:"")+'"\n              href="'+d(typeof(l=null!=(l=u(n,"downloadUrl")||(null!=t?u(t,"downloadUrl"):t))?l:c)===r?l.call(a,{name:"downloadUrl",hash:{},data:s,loc:{start:{line:5,column:20},end:{line:5,column:35}}}):l)+'"\n              aria-describedby="download-file-name">Download</a>\n    <button class="js-close button--cancel download__cancel"><span class="u-visually-hidden">Remove</span></button>\n  </div>\n'+(null!=(i=u(n,"unless").call(a,null!=t?u(t,"downloadUrl"):t,{name:"unless",hash:{},fn:e.program(7,s,0),inverse:e.noop,data:s,loc:{start:{line:9,column:2},end:{line:11,column:13}}}))?i:"")+"</li>\n"},useData:!0})},"./fec/static/js/templates/electionCycle.hbs":function(e,t,n){var o=n("../node_modules/handlebars/runtime.js");e.exports=(o.default||o).template({compiler:[8,">= 4.3.0"],main:function(e,t,n,o,s){var i,l=null!=t?t:e.nullContext||{},a=e.hooks.helperMissing,c="function",r=e.escapeExpression,d=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<span class="cycle-select__label">Time period:</span>\n<span class="t-block">'+r(typeof(i=null!=(i=d(n,"min")||(null!=t?d(t,"min"):t))?i:a)===c?i.call(l,{name:"min",hash:{},data:s,loc:{start:{line:2,column:22},end:{line:2,column:29}}}):i)+"–"+r(typeof(i=null!=(i=d(n,"max")||(null!=t?d(t,"max"):t))?i:a)===c?i.call(l,{name:"max",hash:{},data:s,loc:{start:{line:2,column:30},end:{line:2,column:37}}}):i)+"</span>\n"},useData:!0})},"./fec/static/js/templates/electionCycles.hbs":function(e,t,n){var o=n("../node_modules/handlebars/runtime.js");e.exports=(o.default||o).template({1:function(e,t,n,o,s){var i,l,a=null!=t?t:e.nullContext||{},c=e.hooks.helperMissing,r="function",d=e.escapeExpression,u=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'    <label>\n      <input\n          type="radio"\n          name="cycle-toggle-'+d(typeof(l=null!=(l=u(n,"cycleId")||(null!=t?u(t,"cycleId"):t))?l:c)===r?l.call(a,{name:"cycleId",hash:{},data:s,loc:{start:{line:8,column:29},end:{line:8,column:40}}}):l)+'"\n          value="'+d(typeof(l=null!=(l=u(n,"max")||(null!=t?u(t,"max"):t))?l:c)===r?l.call(a,{name:"max",hash:{},data:s,loc:{start:{line:9,column:17},end:{line:9,column:24}}}):l)+'"\n          data-election-full="'+d(typeof(l=null!=(l=u(n,"electionFull")||(null!=t?u(t,"electionFull"):t))?l:c)===r?l.call(a,{name:"electionFull",hash:{},data:s,loc:{start:{line:10,column:30},end:{line:10,column:46}}}):l)+'"\n          '+(null!=(i=u(n,"if").call(a,null!=t?u(t,"checked"):t,{name:"if",hash:{},fn:e.program(2,s,0),inverse:e.noop,data:s,loc:{start:{line:11,column:10},end:{line:11,column:39}}}))?i:"")+"\n          "+(null!=(i=u(n,"unless").call(a,null!=t?u(t,"active"):t,{name:"unless",hash:{},fn:e.program(4,s,0),inverse:e.noop,data:s,loc:{start:{line:12,column:10},end:{line:12,column:47}}}))?i:"")+'\n        />
1\n      <span class="button--alt '+(null!=(i=u(n,"unless").call(a,null!=t?u(t,"active"):t,{name:"unless",hash:{},fn:e.program(6,s,0),inverse:e.noop,data:s,loc:{start:{line:14,column:31},end:{line:14,column:71}}}))?i:"")+'">\n'+(null!=(i=u(n,"if").call(a,null!=t?u(t,"electionFull"):t,{name:"if",hash:{},fn:e.program(8,s,0),inverse:e.noop,data:s,loc:{start:{line:15,column:8},end:{line:17,column:15}}}))?i:"")+"        "+d(typeof(l=null!=(l=u(n,"min")||(null!=t?u(t,"min"):t))?l:c)===r?l.call(a,{name:"min",hash:{},data:s,loc:{start:{line:18,column:8},end:{line:18,column:15}}}):l)+"–"+d(typeof(l=null!=(l=u(n,"max")||(null!=t?u(t,"max"):t))?l:c)===r?l.call(a,{name:"max",hash:{},data:s,loc:{start:{line:18,column:16},end:{line:18,column:23}}}):l)+"\n      </span>\n    </label>\n"},2:function(e,t,n,o,s){return"checked"},4:function(e,t,n,o,s){return"disabled"},6:function(e,t,n,o,s){return"is-disabled"},8:function(e,t,n,o,s){return"        All years:\n"},compiler:[8,">= 4.3.0"],main:function(e,t,n,o,s){var i;return'<fieldset class="js-subcycle-select">\n  <legend class="label cycle-select__label">Time period</legend>\n  <div class="toggles">\n'+(null!=(i=(e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]})(n,"each").call(null!=t?t:e.nullContext||{},t,{name:"each",hash:{},fn:e.program(1,s,0),inverse:e.noop,data:s,loc:{start:{line:4,column:4},end:{line:21,column:13}}}))?i:"")+"  </div>\n</fieldset>\n"},useData:!0})}},function(e){e.O(0,[5284,8096],(function(){return t="./fec/static/js/data-init.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.