PageSourceSearch

https://adzviser.com/_next/static/chunks/pages/select-spotify-ads-account-0e3d8c7f31eb4064.js

js adzviser.com collected 2026-10-01 10:30:41 UTC 2,511 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8078],{20959:function(e,t,s){(window.__NEXT_P=window.__NEXT_P||[]).push(["/select-spotify-ads-account",function(){return s(21082)}])},21082:function(e,t,s){"use strict";s.r(t),s.d(t,{__N_SSP:function(){return S}});var n=s(85893),c=s(14157),o=s(64310),l=s(5152),a=s.n(l),i=s(11163),r=s(67294),u=s(28837),d=s(78633),y=s(9473),f=s(65459),p=s(85010),h=s(78240),_=s(91698),j=s(45332);let v=a()(()=>s.e(2918).then(s.t.bind(s,12918,23)),{loadableGenerated:{webpack:()=>[12918]}}),m=e=>{var t;let{tokenValue:s}=e,l=(0,c.t)(s,"Spotify Ads"),a=(0,y.I0)(),{spotifyAdsAccountsList:m}=(0,_.s8)(),[S,x]=(0,r.useState)(!0),A=(0,i.useRouter)(),{redirected:b}=A.query,w=async()=>{x(!0);try{let e=s&&await a((0,p.qs)(s));(null==e?void 0:e.success)&&x(!1),(null==e?void 0:e.error)&&console.log("Error in loadSpotifyAdsAccountsList",e),x(!1)}catch(t){console.log("Error in loadSpotifyAdsAccountsList",t)}};(0,r.useEffect)(()=>{s&&b&&w()},[A.query]),(0,r.useEffect)(()=>{m&&Object.keys(m).length>=12&&fetch("/api/accounts/updateBulkConnect",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({bulk_connect_enabled:!0,auto:!0})}).catch(()=>{})},[m]);let N=async(e,t)=>{A.push({pathname:j._j.setUp,query:{info:"".concat(e),name:null==t?void 0:t.name,type:"Spotify Ads"}})};return l?(0,n.jsx)(o.Z,{type:"Oval",style:{top:"50%",left:"50%"}}):"false"===b?(0,n.jsx)(v,{statusCode:400}):S?(0,n.jsx)(o.Z,{type:"Oval",style:{top:"50%",left:"50%"}}):(0,n.jsx)(h.Z,{title:"Adzviser | Select a Spotify Ads Account",content:"Pick a Spotify Ads account from the list below to connect your Spotify Ads data to ChatGPT with Adzviser.",children:(0,n.jsx)("div",{className:"card-outer",children:(0,n.jsxs)(u.Z,{style:{minWidth:"30%"},children:[(0,n.jsx)(u.Z.Header,{as:"h5",style:{display:"flex",justifyContent:"center",color:f.w.Primary},children:"Choose your Spotify Ads account"}),(0,n.jsx)(u.Z.Body,{className:"select-account",children:m&&(null===(t=Object.entries(m))||void 0===t?void 0:t.map(e=>{let[t,s]=e;return(0,n.jsx)("div",{className:"select-account",children:(0,n.jsx)("div",{className:"select-account__child",children:(0,n.jsxs)(n.Fragment,{children:[null==s?void 0:s.name,(0,n.jsx)(d.Mcl,{size:24,style:{cursor:"pointer"},onClick:()=>N(t,s)})]})},t)},t)}))})]})})})};var S=!0;t.default=m}},function(e){e.O(0,[4738,6660,7473,3662,4817,4321,3061,7423,3481,533,7509,4610,5332,2427,8240,6295,9774,2888,179],function(){return e(e.s=20959)}),_N_E=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.