/* ---------- The standard POP (#240) ---------- Big networks run one design everywhere. A new POP gets the standard routers at once, while the box is still idle (no maintenance window): the model if it is unlocked and affordable, then the extra routers as cash allows. */ function popStdApply(city){const d=S.popStd,p=S.pops[city];if(!d||!p||pzOn())return;let miss=false; if(d.g!==(p.rgen||0)){if(techOk('rg',d.g,RG[d.g].lvl)&&S.cash>=swapCost(city,d.g)){spend(swapCost(city,d.g));p.rgen=d.g;}else miss=true;} while((p.routers||1)${tr('pop_std.standard_for_new_pops')}${d?`${d.rt} × ${esc(RG[d.g].n)}`:tr('pop_std.none')}
${same?'':btn(tr('pop_std.make_this_the_standard'),'popStdSet',{city:c},'ghost sm')}${d?btn(tr('pop_std.clear'),'popStdClear',{},'ghost sm'):''}
`;}