How it works
The generator starts from the sets you have switched on: lowercase a–z, which is always included, then uppercase A–Z, the digits 0–9 and a 32-character set of punctuation. With Exclude ambiguous characters ticked, 0, O, 1, l, I and | are removed from whichever sets contain them before anything is drawn. One character is taken from each enabled set first, the remaining positions are filled from all the enabled sets joined together, and the result is shuffled with a Fisher–Yates pass so the guaranteed characters do not sit at the front. Every enabled set is therefore present at least once.
Every draw is a 32-bit value from crypto.getRandomValues, reduced to an index with rejection sampling: values at or above the largest multiple of the set size that fits in 32 bits are thrown away and drawn again, so taking the remainder cannot favour the first few characters of a set. The shuffle takes its swap positions from the same source. The prerendered page carries no password at all; the first one is generated by your browser once the page has loaded, so no two visitors are shown the same starting password and nothing is baked into the static HTML. Regenerate repeats the whole procedure with the current settings.
The strength meter is computed from the settings rather than from the password on screen: floor(length × log2(set size)), where the set size is 62 for the default letters and digits, 94 with symbols on, and 57 or 88 once the six ambiguous characters are excluded. The figure is therefore already right before the first password exists, and it does not jump between two passwords generated with the same settings. The counts in the stats row are different: they are read from the actual password, one regular expression per class, so one 16-character draw might show 6 uppercase, 6 lowercase and 4 numbers and the next something else.