[verb (volitional)] + が + [verb (volitional)] + が [verb (volitional)] + と + [verb (volitional)] + と [verb (volitional)] + が + [verb (dictionary form)] + まいが [i-adj 〜い → 〜かろう] + が + [i-adj 〜い → 〜かろう] + が [noun] + だろう + が + [noun] + だろう + が
A ようが B ようが means "whether A or B": two opposite possibilities are named, and the second half holds whichever one comes true. Each verb goes in the volitional form, followed by が or と, which mean the same. It is forceful and belongs to writing and determined speech; in conversation A ても B ても says the same.
An い-adjective takes the old volitional ending かろう, and a noun or な-adjective takes だろう or であろう.
A single ようが with a question word – なん何をいわれよう言われようが, "whatever they say" – is the same pattern with one half.
For "whether it happens or not", the second half is the negative volitional まい, or なかろう, not a plain ない-form. まい goes on the dictionary form of a う-verb: ふる降るまい.