Let {\@fontswitch\relax\mathcal K}={\@fontswitch\relax\mathcal K}_{-1}\xrightarrow{T}{\@fontswitch\relax\mathcal K}_0 be a 2-bialgebra factorizing into two 2-subbialgebras {\@fontswitch\relax\mathcal G},{\@fontswitch\relax\mathcal H}, with typical elements w\in {\@fontswitch\relax\mathcal K}_0 and e\in {\@fontswitch\relax\mathcal K}_{-1}. Its 2-algebra structure \hat\cdot contains a multiplication ww' in {\@fontswitch\relax\mathcal K}_0 and a {\@fontswitch\relax\mathcal K}_0-bimodule structure w\hat\cdot e,e\hat\cdot w on {\@fontswitch\relax\mathcal K}_{-1}, which are both associative. Since (?) is a span of 2-vector spaces, we have
T\circ (\iota_{-1}\otimes \jmath_{-1}) = (\iota_0\circ t_{\@fontswitch\relax\mathcal G})\otimes (\jmath_0\circ t_{\@fontswitch\relax\mathcal H}) = (\iota_0\otimes \jmath_0)\circ (t_{\@fontswitch\relax\mathcal G}\otimes t_{\@fontswitch\relax\mathcal H}),
where t_G,t_H are the t-maps in {\@fontswitch\relax\mathcal G},{\@fontswitch\relax\mathcal H} respectively, and \iota_{-1},\iota_0 are the graded components of the inclusion \iota; similarly for \jmath.
We now separate the bimodule structure \hat\cdot into components according to the span (?),
\hat\rhd\equiv \hat\cdot|_{\operatorname{im}(\iota_0\otimes \jmath_{-1})},\qquad \hat\Upsilon\equiv \hat\cdot|_{\operatorname{im}(\iota_{-1}\otimes \jmath_0)},
then for e=\iota_{-1}(y),e'=\jmath_{-1}(g) where y\in G_{-1},g\in H_{-1} we have
(T\iota_{-1}(y))\hat\rhd \jmath_{-1}(g) = \iota_0(t_{\@fontswitch\relax\mathcal G} y)\hat\rhd \jmath_{-1}(g).
By the Peiffer identity in {\@fontswitch\relax\mathcal K}, this should read as a left-multiplication of y on g. We lift this action along t_{\@fontswitch\relax\mathcal H} to create a map \hat\Upsilon_y:{\@fontswitch\relax\mathcal H}_0\rightarrow {\@fontswitch\relax\mathcal H}_{-1}, for which \hat\Upsilon_y(t_{\@fontswitch\relax\mathcal H} g) denotes the left-multiplicaion of y by g. Similarly we have the lift \hat\Upsilon_g:{\@fontswitch\relax\mathcal G}_0\rightarrow {\@fontswitch\relax\mathcal G}_{-1} of the right-multiplication of g on y.
Provided we identify \hat\Upsilon_{y\otimes g} = \Upsilon_y\otimes \tilde\Upsilon_g, the Peiffer conditions in {\@fontswitch\relax\mathcal K} are then equivalent to the 2-representation properties (?), (?). In particular, the multiplication y\cdot g=\Upsilon_y(t^*g) = (ty)\tilde\Upsilon_g is given by the generalized Peiffer identity as shown in Proposition C.2.
Now we prove that (?) is in fact a span of 2-algebras. Due to the linear isomorphsm \hat\cdot\circ(\iota\otimes\jmath), there exists a tuple of well-defined linear maps \Psi = (\Psi_0,\Psi_{-1};\bar\Psi): {\@fontswitch\relax\mathcal G}\otimes {\@fontswitch\relax\mathcal H}\rightarrow {\@fontswitch\relax\mathcal H}\otimes {\@fontswitch\relax\mathcal G}, called the braided transposition, such that
\begin{aligned}
\iota_0(x)\cdot\jmath_0(f) = \cdot \circ (\jmath_0\otimes\iota_0)\circ \Psi_0(x\otimes f),\\
\iota_0(x)\hat\rhd \jmath_{-1}(g) = \hat\Upsilon \circ(\jmath_{-1}\otimes\iota_0)\circ \Psi^r_{-1}(x\otimes g),\\
\iota_{-1}(y)\hat\Upsilon \jmath_0(f)= \hat\lhd \circ(\jmath_0\otimes\iota_{-1}) \circ \Psi^l_{-1}(y\otimes f),\\
\iota_{-1}(y)\cdot \jmath_{-1}(g) = \cdot \circ(\jmath_{-1}\otimes\iota_{-1})\circ\bar\Psi(y\otimes g),
\end{aligned}
where \Psi_{-1} = \Psi_{-1}^l+\Psi_{-1}^r and x\in {\@fontswitch\relax\mathcal G}_0,y\in {\@fontswitch\relax\mathcal G}_{-1},f\in {\@fontswitch\relax\mathcal H}_0,g\in {\@fontswitch\relax\mathcal H}_{-1}. Due to Peiffer conditions on {\@fontswitch\relax\mathcal K}, these braiding maps are not independent and must satisfy
\begin{gathered}
(t_{\@fontswitch\relax\mathcal H}\otimes 1)\circ \Psi_{-1}^r=\Psi_0\circ(1\otimes t_{\@fontswitch\relax\mathcal H}),\qquad (1\otimes t_{\@fontswitch\relax\mathcal G})\circ \Psi_{-1}^l = \Psi_0\circ(t_{\@fontswitch\relax\mathcal G}\otimes 1),\\
\Psi_{-1}^r\circ(t_{\@fontswitch\relax\mathcal G}\otimes 1) = \bar\Psi =\Psi_{-1}^l\circ(1\otimes t_{\@fontswitch\relax\mathcal H}).
\end{gathered}
By collecting all of the graded components of \Psi in accordance with the shorthand notation z=(y,x)\in {\@fontswitch\relax\mathcal G},h=(g,f) \in {\@fontswitch\relax\mathcal H}, the definition of \Psi can be concisely written as
\iota(z)~\hat\cdot~\jmath(h) = \hat\cdot\circ (\jmath\otimes\iota) \circ \Psi(z\otimes h),
and the relations between its components is summarized as
T'\circ\Psi_{-1} = \Psi_0\circ T,\qquad \bar\Psi = \Psi_{-1}\circ T,
where T' = t_{\@fontswitch\relax\mathcal H}\otimes t_{\@fontswitch\relax\mathcal G} is the t-map of the 2-bialgebra {\@fontswitch\relax\mathcal K}'\cong{\@fontswitch\relax\mathcal H}\otimes{\@fontswitch\relax\mathcal G} with {\@fontswitch\relax\mathcal G},{\@fontswitch\relax\mathcal H} swapped in the span (?). (?) then implies in particular that \Psi:{\@fontswitch\relax\mathcal K}\rightarrow {\@fontswitch\relax\mathcal K}' is a 2-vector space homomorphism.
We now proceed formally as in the 1-bialgebra case [Majid:1996kd, Majid:1994nw]. The associativity in {\@fontswitch\relax\mathcal K} is
\begin{aligned}
(\iota(z)\hat\cdot\iota(z'))\hat\cdot\jmath(h)&= \iota(z)\hat\cdot(\iota(z')\hat\cdot\jmath(h)),\\
(\iota(z)\hat\cdot\jmath(h))\hat\cdot \jmath(h')&= \iota(z)\hat\cdot(\jmath(h)\hat\cdot \jmath(h')),
\end{aligned}
which yields the 2-braiding relations
\begin{aligned}
\Psi \circ(\hat\cdot \otimes \operatorname{id}) &= (\operatorname{id}\otimes \hat\cdot)\circ \Psi_{12}\circ \Psi_{23},\\
\Psi\circ(\operatorname{id}\otimes \hat\cdot) &= (\hat\cdot\otimes \operatorname{id})\circ \Psi_{23}\circ \Psi_{12}.
\end{aligned}
This then allows us to define the actions
\begin{aligned}
\bar\rhd &= (\operatorname{id}\otimes \epsilon)\circ\Psi:{\@fontswitch\relax\mathcal G}\otimes {\@fontswitch\relax\mathcal H}\rightarrow {\@fontswitch\relax\mathcal H},\\
\bar\lhd &= (\epsilon\otimes\operatorname{id})\circ\Psi:{\@fontswitch\relax\mathcal G}\otimes {\@fontswitch\relax\mathcal H}\rightarrow {\@fontswitch\relax\mathcal G},
\end{aligned}
where \epsilon denotes the counit map. Applying \operatorname{id}\otimes \epsilon and \epsilon\otimes\operatorname{id} respectively to the first and second equation of (?) implies that \bar\rhd,\bar\lhd respect the semidirect product structures {\@fontswitch\relax\mathcal G}_{-1}\rtimes {\@fontswitch\relax\mathcal G}_0,{\@fontswitch\relax\mathcal H}_{-1}\rtimes {\@fontswitch\relax\mathcal H}_0, respectively. Together with our above result, (?) is in fact a span of 2-algebras.
We now prove that (?) is actually a span of 2-bialgebras, which proves the theorem. Applying \epsilon\otimes\operatorname{id} and \operatorname{id}\otimes \epsilon respectively to the first and second (?) yields
(z\cdot z')\bar\lhd h = \hat\cdot (z\bar\lhd \Psi(z'\otimes h)),\qquad z\bar\rhd(h\cdot h') = \hat\cdot(\Psi(z\otimes h)\hat\rhd h').
We now take the coproduct \Delta_K:{\@fontswitch\relax\mathcal K}\rightarrow {\@fontswitch\relax\mathcal K}^{2\otimes} on {\@fontswitch\relax\mathcal K}, given in components and Sweedler notation (see (?), (?)) by
(\Delta_{{\@fontswitch\relax\mathcal K}})_{-1}(e) = e_{(1)}\otimes e_{(2)},\qquad (\Delta_{{\@fontswitch\relax\mathcal K}})_0(w) = w_{(1)}^l\otimes w^l_{(2)}+ w_{(1)}^r\otimes w_{(2)}^r;
note w_{(1)}^l,w_{(2)}^r\in {\@fontswitch\relax\mathcal K}_{-1}. With the span (?), we can write w=\iota_0(x)\jmath_0(f),e=\iota_{-1}(y)\jmath_{-1}(g) for some appropriate elements x,f,y,g such that
\begin{aligned}
(\Delta_{{\@fontswitch\relax\mathcal K}})_{-1}(y,g) &= (y_{(1)}\otimes g_{(1)})\otimes (y_{(2)}\otimes g_{(2)}),\\
(\Delta_{{\@fontswitch\relax\mathcal K}}^l)_0(x,f) &= (x^l_{(1)}\otimes f^l_{(1)})\otimes (x^l_{(2)}\otimes f^l_{(2)}),\\
(\Delta_{{\@fontswitch\relax\mathcal K}}^r)_0(x,f) &= (x^r_{(1)}\otimes f^r_{(1)})\otimes (x^r_{(2)}\otimes f^r_{(2)}).
\end{aligned}
This then allows us to define coproducts on {\@fontswitch\relax\mathcal G},{\@fontswitch\relax\mathcal H} by
\begin{aligned}
(\Delta_{{\@fontswitch\relax\mathcal G}})_{-1}(y) = y_{(1)}\otimes y_{(2)},&\qquad&(\Delta_{{\@fontswitch\relax\mathcal G}})_0(x) = x^l_{(1)}\otimes x^l_{(2)}+x_{(1)}^r\otimes x_{(2)}^r,\\
(\Delta_{{\@fontswitch\relax\mathcal H}})_{-1}(g) = g_{(1)}\otimes g_{(2)},&\qquad&(\Delta_{{\@fontswitch\relax\mathcal H}})_0(f) = f^l_{(1)}\otimes f^l_{(2)}+f^r_{(1)}+f^r_{(2)},
\end{aligned}
whence \Delta_{{\@fontswitch\relax\mathcal K}} = \Delta_{{\@fontswitch\relax\mathcal G}\otimes {\@fontswitch\relax\mathcal H}}, which implies that \hat\cdot\circ (\iota\otimes\jmath) and \hat\cdot\circ(\jmath\otimes\iota) by construction respects the coproducts.
As such, \Psi is a 2-coalgebra map. In particular, we have
\Delta_{{\@fontswitch\relax\mathcal K}}\circ\Psi = (\Psi\otimes\Psi)\circ\Delta_{{\@fontswitch\relax\mathcal K}'},\qquad (\epsilon\otimes \epsilon)\circ\Psi = \epsilon\otimes\epsilon
where {\@fontswitch\relax\mathcal K}' is the 2-bialgebra with {\@fontswitch\relax\mathcal G},{\@fontswitch\relax\mathcal H} swapped in the span (?). An application of \epsilon\otimes \operatorname{id}\otimes \epsilon\otimes\operatorname{id} and \operatorname{id}\otimes \epsilon\otimes \operatorname{id}\otimes \epsilon to (?) gives
\Delta_{{\@fontswitch\relax\mathcal G}} \circ \bar\lhd = (\bar\lhd\otimes\bar\lhd) \circ \Delta_{{\@fontswitch\relax\mathcal K}},\qquad \Delta_{{\@fontswitch\relax\mathcal H}} \circ\bar\rhd = (\bar\rhd\otimes\bar\rhd)\circ\Delta_{{\@fontswitch\relax\mathcal K}},
which ensures that \bar\rhd,\bar\lhd are 2-coalgebra maps.
Now applying \epsilon\otimes\operatorname{id}\otimes\operatorname{id}\otimes \epsilon and \operatorname{id}\otimes\epsilon\otimes\epsilon\otimes\operatorname{id} to (?) yields
\begin{aligned}
z_{(1)}\bar\lhd h_{(1)} \otimes z_{(2)}\bar\rhd h_{(2)} &= \tau\circ\Psi(z\otimes h),\\
z_{(1)}\bar\rhd h_{(1)} \otimes z_{(2)}\bar\lhd h_{(2)} &= \Psi(z\otimes h).
\end{aligned}
Using the second equation, together with (?), gives (?) and
\begin{aligned}
z\bar\rhd(h\hat\cdot|_{\@fontswitch\relax\mathcal H} h') &= \hat\cdot((z_{(1)}\bar\rhd h_{(1)}\otimes z_{(2)}\bar\lhd h_{(2)})\hat\rhd h')= (z_{(1)}\bar\rhd h_{(1)})\hat\cdot|_{\@fontswitch\relax\mathcal H}((z_{(2)}\hat\lhd h_{(2)})\bar\rhd h'),\\
(z\hat\cdot|_{\@fontswitch\relax\mathcal G} z')\bar\lhd h &= \hat\cdot(z\bar\lhd (z'_{(1)}\bar\rhd h_{(1)}\otimes z'_{(2)}\bar\lhd h_{(2)}))= (z\bar\lhd (z'_{(1)}\bar\rhd h_{(1)}))\hat\cdot|_{\@fontswitch\relax\mathcal G}(z'_{(2)}\hat\lhd h_{(2)}),
\end{aligned}
which are precisely the matched pair conditions (?), (?) for \hat\cdot|_{\@fontswitch\relax\mathcal G}=\cdot,\hat\cdot|_{{\@fontswitch\relax\mathcal H}}=\cdot^*. On the other hand, using the first equation gives (?). Thus (?) is a span of 2-bialgebras and so K \cong {\@fontswitch\relax\mathcal G} \bar{\bowtie}{\@fontswitch\relax\mathcal H}.