Smallest Divisible Digit Product II

You are given a string num that represents a positive integer, and an integer t.

A number is called zero-free when none of its digits is 0.

Return a string that represents the smallest zero-free number greater than or equal to num whose digit product is divisible by t. When no such number exists, return "-1".

The input can hold up to 2 * 10^5 digits and t can be as large as 10^14, so numeric conversion of num and enumeration of consecutive integers are not valid strategies. A digit product built only from digits 1 through 9 can use no prime other than 2, 3, 5 and 7, so any other prime factor of t makes the answer "-1".

Examples
Input: ["10",1]
Output: "11"
Hints

Smallest Divisible Digit Product II

You are given a string `num` that represents a positive integer, and an integer `t`.