Let $d$ be the greatest common divisor of $2^{30^{10}}-2$ and $2^{30^{45}}-2$.  Find the remainder when $d$ is divided by $2013$.

Let's think step by step and output the final answer within \boxed{}.
user