1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2011],{97457:function(e,t,s){(window.__NEXT_P=window.__NEXT_P||[]).push(["/select-sa360-account",function(){return s(59999)}])},59999:function(e,t,s){"use strict";s.r(t),s.d(t,{__N_SSP:function(){return x}});var c=s(85893),n=s(14157),l=s(64310),r=s(5152),o=s.n(r),a=s(11163),i=s(67294),u=s(28837),d=s(78633),h=s(9473),y=s(65459),f=s(85010),_=s(78240),v=s(91698),p=s(45332);let j=o()(()=>s.e(2918).then(s.t.bind(s,12918,23)),{loadableGenerated:{webpack:()=>[12918]}}),m=e=>{var t;let{tokenValue:s}=e,r=(0,n.t)(s,"Search Ads 360"),o=(0,h.I0)(),{sa360AccountsList:m}=(0,v.rn)(),[x,A]=(0,i.useState)(!0),w=(0,a.useRouter)(),{redirected:S}=w.query,N=async()=>{A(!0);try{let e=s&&await o((0,f.Uz)(s));(null==e?void 0:e.success)&&A(!1),(null==e?void 0:e.error)&&console.log("Error in loadSA360AccountsList",e),A(!1)}catch(t){console.log("Error in loadSA360AccountsList",t)}};(0,i.useEffect)(()=>{s&&S&&N()},[w.query]);let k=async(e,t)=>{w.push({pathname:p._j.setUp,query:{info:"".concat(e),name:null==t?void 0:t.name,type:"Search Ads 360"}})};return r?(0,c.jsx)(l.Z,{type:"Oval",style:{top:"50%",left:"50%"}}):"false"===S?(0,c.jsx)(j,{statusCode:400}):x?(0,c.jsx)(l.Z,{type:"Oval",style:{top:"50%",left:"50%"}}):(0,c.jsx)(_.Z,{title:"Adzviser | Select a Search Ads 360 Account",content:"Pick a Search Ads 360 customer from the list below to talk to your data intuitively with Adzviser.",children:(0,c.jsx)("div",{className:"card-outer",children:(0,c.jsxs)(u.Z,{style:{minWidth:"30%"},children:[(0,c.jsx)(u.Z.Header,{as:"h5",style:{display:"flex",justifyContent:"center",color:y.w.Primary},children:"Choose your Search Ads 360 customer"}),(0,c.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,c.jsx)("div",{className:"select-account",children:(0,c.jsxs)("div",{className:"select-account__child",children:[null==s?void 0:s.name,(0,c.jsx)(d.Mcl,{size:24,style:{cursor:"pointer"},onClick:()=>k(t,s)})]},t)},t)}))})]})})})};var x=!0;t.default=m}},function(e){e.O(0,[4738,6660,7473,3662,4817,4321,2290,7423,3481,533,7509,4610,5332,2427,8240,6295,9774,2888,179],function(){return e(e.s=97457)}),_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.