How to verify smart contract which includes libraries on etherscan

Hi Guys,
I try to do a verify to my smart contract on rinkeby testnet, I got an issue

Its seems that the error that is thrown is about Libraries I using in my smart contract code.

Any idea how I can complete the verify?

I used single file after I used npx hardhat flatted

my assumption is after you deployed the contract via hardhat, you try to verify it via etherscan.

you can verify the contract via this hardhat plugin:

hope it helps