(a) No person, corporation, firm, or business entity of any kind shall knowingly sell a laser pointer to a person 17 years of age or younger, unless he or she is accompanied and supervised by a parent, legal guardian, or any other adult 18 years of age or older.

(b) No student shall possess a laser pointer on any elementary or secondary school premises unless possession of a laser pointer on the elementary or secondary school premises is for a valid instructional or other school-related purpose, including employment.

(c) No person shall direct the beam from a laser pointer directly or indirectly into the eye or eyes of another person or into a moving vehicle with the intent to harass or annoy the other person or the occupants of the moving vehicle.

(d) No person shall direct the beam from a laser pointer directly or indirectly into the eye or eyes of a guide dog, signal dog, service dog, or dog being used by a peace officer with the intent to harass or annoy the animal.

(e) A violation of subdivision (a), (b), (c), or (d) shall be an infraction that is punished by either a fine of fifty dollars ($50) or four hours of community service, and a second or subsequent violation of any of these subdivisions shall be an infraction that is punished by either a fine of one hundred dollars ($100) or eight hours of community service.

(f) As used in this section, "laser pointer" has the same meaning as set forth in subdivision (c) of Section 417.25.

(g) As used in this section, "guide dog," "signal dog," and "service dog," respectively, have the same meaning as set forth in subdivisions (d), (e), and (f) of Section 365.5.