PageSourceSearch

https://assets-cdn.abcnews.com/abcnews/b2b237945e9d-release-09-15-2026.11/client/abcnews/2233-939e5d40.js

js abcnews.com collected 2026-09-24 07:46:40 UTC 10,068 bytes, 1 lines download raw bytes

1(self.webpackChunkabcnews=self.webpackChunkabcnews||[]).push([[2233],{96348:function(t,e,i){let a=i(50239),s=i(11593),n=i(78451),r=a.forEach,o=s.DEMOCRATS,l=s.REPUBLICANS,c=n.SEVERITY,p=c.TOSSUP,d={},E={},u=[c.WIN,c.LIKELY,c.LEAN,p],S=1;r([o,l],(function(t){d[t]={},r(u,(function(e){d[t][e]=S,E[S]={party:t,severity:e},S++}))})),e.RESULT_BITS=d,e.BIT_VALUES=E,e.BITS_PER_BYTE=8,e.RESULT_LENGTH=3,e.SCHEMA_VERSION="20200410",e.HEADER_LENGTH=12,e.LENGTH_LENGTH=2,e.VERSION_LENGTH=8,e.RESERVED_BYTE=0,e.RESERVED_LENGTH=1,e.STATE_FIPS_ORDER=["01","02","04","05","06","08","09","10","11","12","13","15","16","17","18","19","20","21","22","23","24","25","26","27","28","29","30","31","32","33","34","35","36","37","38","39","40","41","42","44","45","46","47","48","49","50","51","53","54","55","56"],e.DISTRICT_ID_ORDER=["23-2000","23-2001","23-2002","31-2800","31-2801","31-2802","31-2803"]},78451:function(t,e){const i="tossup",a="noPred";e.APP_NAME="Interactive Electoral Map",e.MAP_PAGETYPE="fantasymap",e.MAP_ROUTE="Politics/2024-Electoral-Interactive-Map",e.SOCIAL_IMG_VERSION="1",e.CONFIG_IDS={QA:"71521754",PROD:"71521754",PREVIEW:"71521754"},e.MAP_US_20M_NAME="us_20m",e.MAP_US_20M_URL="https://a.abcnews.com/assets/dtci/elections/maps/us_20m-20200325.json",e.MAP_US_PLACEHOLDER_URL="https://a.abcnews.com/assets/dtci/elections/maps/us_20m_placeholder-20200501.json",e.YOUR_VOICE_YOUR_VOTE_URL="https://a.abcnews.com/assets/dtci/elections/images/fantasy-map-countdown-logo.png",e.DEFAULT_UGC_NAME="My Map",e.TS_FORMAT="MMMM D, h:mm:ssA",e.TOSSUP=i,e.NO_PREDICTION=a,e.SEVERITY={WIN:"win",LIKELY:"likely",LEAN:"lean",TOSSUP:i,NO_PRED:a,SPLIT:"split",GAIN:"gain",LEAD:"lead",COUNTING:"counting"},e.NO_LABEL_STATES={MA:!0,RI:!0,CT:!0,NJ:!0,DE:!0,MD:!0,DC:!0,VT:!0,NH:!0},e.STATE_LABEL_POSITION_OVERRIDES={AK:[-150.918488,64.67651],CA:[-119.789114,36.736322],FL:[-81.731203,28.419545],HI:[-155.479762,19.582046],ID:[-114.363734,43.460609],KY:[-84.4021,37.6347],LA:[-92.530958,31.305944],MI:[-84.609305,42.918758],NC:[-78.70063,35.405694],NH:[-71.5811,43.5805],NY:[-75.0268,42.9538],TN:[-86.3505,35.758],VT:[-72.8158,44.3687],WV:[-80.8227,38.3309]},e.STATE_NEIGHBOR_OVERRIDES={"06":{s:{id:"02",silent:!0},w:{id:"15"}},"02":{n:{id:"06",silent:!0},e:{id:"15",silent:!0},s:{id:"53"}},15:{e:{id:"06"},w:{id:"02",silent:!0}},53:{n:{id:"02"}}},e.SEVERITY_SCREENREADER={win:"Solidly",likely:"Likely",lean:"Leaning toward",tossup:"Toss-Up",noPred:"No Prediction"},e.SEVERITY_LABELS={win:"Solid",likely:"Likely",lean:"Lean",tossup:"Toss-Up",noPred:"No Prediction"},e.PARTY_LABELS={democrats:"D",republicans:"R",other:"O"},e.CALLOUT_MARGINS={right:15,bottom:25},e.CALLOUT_POSITIONS={right:[-72.904151,38.852251],bottom:[-95.526461,28.018796]},e.CALLOUTS={right:["50","33","25","44","09","34","10","24","11"],bottom:["23","31","11"]},e.MAX_SCALEABLE_WIDTH=940,e.MAX_SCALEABLE_HEIGHT=Math.ceil(587.5),e.COUNTDOWN_POSITION=[-82.9,50.14],e.COUNTDOWN_SCALEABLE_HEIGHT=550,e.COUNTDOWN_SCALE_FACTOR=.9,e.STRIPES_PER_VOTE=4,e.POLLS_OPEN="2020-11-03T05:00:00.000+00:00",e.PROMO_CONFIG={PROD:{key:"fantasy_map_promo_configuration-71097171",id:"71097171"},QA:{key:"fantasy_map_promo_configuration-71097171",id:"71097171"},PREVIEW:{key:"fantasy_map_promo_configuration-71097171",id:"71097171"}},e.CUSTOM_ID="_custom",e.IMAGE_HOST={PROD:"https://ig.abcnews.com",QA:"https://ig.abcnewsqa.com",SB:"https://ig.abcnewssb.com",PREVIEW:"https://ig.abcnews.com"},e.ADOBE_ANALYTICS={GENERIC_CLICK_ID:"f_click01",SHARE_CLICK_ID:"f_ui37"},e.SEVERITY_ORDER=["democrats.win","democrats.likely","democrats.lean","republicans.lean","republicans.likely","republicans.win"]},5352:function(t,e,i){const a=i(50239),s=i(35161),n=i(27361),r=i(78451),o=i(96348),l=i(69551),c=a.mix,p=a.empty,d=a.forEac
1h,E=a.cstr,u=a.cnum,S=a.strlc,_=a.struc,R=a.emptyObj,T=a.emptyAry,y=r.SEVERITY,I=r.TOSSUP,f=r.IMAGE_HOST,m=["socialImage"],O=["selectorThumbnail"],A=o.RESULT_BITS,L="PROD",D=r.SOCIAL_IMG_VERSION,N=["lastUpdated","description","logo"],b={noRecurse:!0,owned:!0};function M(t,e,i){let a=t||R,s=i||R,r=e||R,o=s.states,l=s.districts,p=r.states||R,E=r.districts||R,u=p,_=E,T={};return o&&(u=c({},[o,p],b)),l&&(_=c({},[l,E],b)),d(u,(function(t,e){let i,s=t||R,r=a[e]||R,o=r.abbreviation,l=r.isSplit,c=s.party,p=s.severity;!l&&c&&p&&o&&(i=n(A,`${c}.${p}`)),i&&(T[S(o)]=i)})),d(_,(function(t,e){let i,a=t||R,s=a.party,r=a.severity;s&&r&&e&&(i=n(A,`${s}.${r}`)),i&&(T[e]=i)})),T}t.exports={exportData:function(t){let e=t||R,i=e.meta||R,a=i.candidates||T,n=e.states||R,o=e.districts||R,l=e.baseStateResults||R,u=e.baseDistrictResults||R,S=e.changedStateResults||R,_=e.changedDistrictResults||R,y={states:l,districts:u},I={displayName:E(i.displayName),candidates:s(a,(function(t){return{candidate:t}})),races:[]};return p(S)||(y.states=c({},[l,S],b)),p(_)||(y.districts=c({},[u,_],b)),d(N,(function(t){let e=i[t];e&&(I[t]=e)})),d(n,(function(t,e){let i,a=t||R,s=a.id,n=a.electoralDistricts||T,l=y.states[e],c=[];s&&(i={state:{id:s,abbreviation:a.abbreviation||""}},n.length&&d(n,(function(t){let e=y.districts[t],i=(o[t]||R).id;e&&i&&c.push({id:i,prediction:{party:e.party||null,severity:e.severity||r.SEVERITY.TOSSUP}})})),c.length?i.electoralDistricts=c:l&&(i.prediction={party:l.party||null,severity:l.severity||r.SEVERITY.TOSSUP}),(i.electoralDistricts||i.prediction)&&I.races.push(i))})),I},calculateVotes:function(t,e,i){let a={},s=e||R,n=i||R;return d(t||R,(function(t,e){let i=t||R,r=i.isSplit,o=i.availableElectoralVotes,l=s[e]||n[e]||R,c=l.party,p=l.severity,d=c&&p&&p!==I&&!r,E=a[c]||R,S=E.total||0,_=u(d&&E[p],0);d&&(a[c]||(a[c]={}),a[c][p]=_+o,a[c].total=S+o)})),a},getShareImageURL:function(t,e,i,a){let s=_(a)||L,n=f[s],r=M(t,e,i),o=new l({baseURL:n,segments:m});return s!==L&&(r.digital="cloud"),r.version=D,o.toString(null,r)},getSelectorThumbnailURL:function(t,e,i,a){let s,n,r=e||R,o=_(a)||L,c=f[o],p=new l({baseURL:c,segments:O});return t?(n={},n.basemap=t):(s=r.results||r.changedResults,n=M(r.states,s,r.baseResults)),i&&(n._apiEnv=i),o!==L&&(n.digital="cloud"),!0===r.isDarkMode&&(n.darkMode=!0),p.toString(null,n)},deriveStateResultFromDistricts:function(t,e,i,a){let s,n=e||R,r=i||R,o=a||R,l=(t||R).electoralDistricts||T,c=!0,p=!0;return d(l,(function(t){let e,i,a=n[t]||r[t]||R;if(o[t]&&(a=o[t]),e=a.party,i=a.severity,!e||!i)return c=!1,void(p=!1);if(s){if(s.party!==e)return c=!1,void(p=!1);s.severity!==i&&(p=!1),s=a}else s=a})),s||(c=!1,p=!1),c&&p?{party:s.party,severity:s.severity}:c?{party:s.party,severity:y.SPLIT}:{party:null,severity:y.TOSSUP}}}},82233:function(t,e,i){const a=i(50239),s=i(23992),n=i(3373),r=i(54061),o=i(27361),l=i(11593),c=i(5352),p=c.deriveStateResultFromDistricts,d=c.calculateVotes,E=a.first,u=a.last,S=a.forEach,_=a.mix,R=a.cbool,T=a.emptyObj,y=a.emptyAry,I={noRecurse:!0,owned:!0},f=l.DEMOCRATS,m=l.REPUBLICANS;let O;function A(){n.apply(this,arguments)}function L(t){let e=a.now(),i=t||"",n=i?s.parseDate(i,"YYYY-MM-DDTHH:mm:ss.SSSZ",!0):a.now();return s.diff(e,n,"days")<=7}O={parse:function t(e,i,a){let s,n=this,r=n.super(t).call(n,e),o=E(r.fantasyMap)||T,l=u(r.configuration)||T,c=n.parseFantasyMap(o),p=n.parseConfig(l);return _(c,[{config:p}],I),s={fantasyMap:c},s},parseFantasyMap:function(t){let e,i=this,a=t||T,s=a.states||y,n=a.pollsOpen||T,r=a.maps||y,o=i.parseCandidates(a.candidates)||T,l={},c={},p={},d={},E={candidates:{},parties:{}},u={pollsOpen:n,states:c,districts:p,idMap:d,baseMaps:l,candidates:o.candidates,displayAdKeyValues:{tag:"fantasymap",pgn:"fantasyma
1pindex",pgtyp:"index",lang:"en",sp:"abcnews",programmatic:"true",bundleId:"com.abcnews",level:"elections/fantasy-map-index"}};return S(s,(function(t){let e=i.parseState(t)||T,a=e.state,s=a&&a.id,n=a&&a.fips,r=e.districts;n&&(c[n]=a,s&&(d[s]=n)),r&&_(p,r,I)})),e=_({},[c,p],I),S(r,(function(t,a){let s=i.parseMapInstance(t,d,o,e),n=s.id;s.order=a,l[n]=s})),S(o.current,(function(t,e){let i=o.candidates[e]||T,a=i.party;E.candidates[e]=i,E.parties[a]=e})),u.currentElection=E,u},parseState:function(t,e="electoralDistricts"){let i=t||T,a=i.id,s=i.fips,n=i[e]||y,r=[],o={},l={id:a,fips:s,abbreviation:i.abbreviation,displayName:i.displayName,shortDisplayName:i.shortDisplayName,availableElectoralVotes:i.availableElectoralVotes,electoralDistricts:r,isKeyRace:!0===i.competitive||!1};return S(n,(function(t){let e=t||T,i=e.id,n=`${s}-${i}`;r.push(n),o[n]=_({state:{id:a,fips:s}},e,I)})),"11"===s&&(l.electoralDistricts=["11"],o[11]={state:{id:9,fips:11},id:"11",availableElectoralVotes:i.availableElectoralVotes,name:"District of Colombia",displayName:"District of Colombia",shortDisplayName:"D.C."}),l.isSplit=r.length>0,{state:l,districts:o}},parseCandidates:function(t){let e={},i={};return S(t||T,(function(t,a){let s=t||T;s.active&&(e[a]=!0),i[a]=s})),{current:e,candidates:i}},parseMapInstance:function(t,e,i,a){let s,n,l,c,p,E=this,u=t||T,O=u.id||0,A=i.candidates||T,D=i.current||y,N=u.candidates||y,b=u.lastUpdated||T,M=u.races||T,g=u.historicalSummary,C=!1,P={},h={},U={},v={id:u.id,displayName:u.displayName||"",description:u.description,logo:u.logo,logoDark:u.logoDark,lastUpdated:b.displayValue||"",rawUpdated:b.value||"",isNew:L(b.value)};return p=r(N,(function(t,e){let i=A[e]||T,a=i.party,s=R(D[e]);return t[e]=i,a&&(P[a]=e),s||(C=!0),t}),{}),110932665===O&&(C=!0),S(M,(function(t){let i=E.parseRace(t,e)||T,a=i.state||T,s=i.districts||T;_(h,a,I),_(U,s,I)})),l=_({},[h,U],I),c=d(a,l),C&&g&&(n=o(g,f,0),s=o(g,m,0),c[f]={win:n,total:n},c[m]={win:s,total:s}),v.candidates=p,v.electoralVotes=c,v.parties=P,v.isHistorical=C,v.results={states:h,districts:U},v},parseRace:function(t,e){let i=t||T,a=(e||T)[(i.state||T).id],s=i.prediction,n=i.electoralDistricts||y,r=[],o={},l={},c={};return S(n,(function(t){let e=t||T,i=e.id,s=`${a}-${i}`,n=e.prediction;o[s]=n,r.push(s)})),n.length&&(c.districts=o,s=p({electoralDistricts:r},o)),l[a]=s,c.state=l,c},parseConfig:function(t){let e=t||T;return{intro:e.intro,description:e.description,descriptionTitle:e.descriptionTitle,defaultMap:e.defaultMap,animation:e.animation}},determineIfNew:L},A.prototype=O,n.inherits(A,n),t.exports=A}}]);

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.