I don't get the sentence"sure,what with it being her funeral and all."
S01E08 Friends:
……
Mrs. Geller: (to Monica) Your grandmother would have hated this.
Monica: Well, sure, what with it being her funeral and all.
Mrs. Geller: No, I'd be hearing about 'Why didn't I get the honey-glazed ham?', I didn't spend enough on flowers, and if I spent more she'd be saying 'Why are you wasting your money? I don't need flowers, I'm dead'.
what's the meaning of "sure, what with it being her funeral and all." and I want to know how to use "what with it being...(or what with it...?)" Could you give me an example?
Thank you.