|
107 | 107 | </noscript> |
108 | 108 | <!-- End Google Tag Manager (noscript) --> |
109 | 109 |
|
110 | | - <!-- DocsBotAI --> |
111 | | - <script type="text/javascript"> |
112 | | - (window.DocsBotAI = window.DocsBotAI || {}), |
113 | | - (DocsBotAI.init = function (c) { |
114 | | - return new Promise(function (e, o) { |
115 | | - var t = document.createElement('script'); |
116 | | - (t.type = 'text/javascript'), |
117 | | - (t.async = !0), |
118 | | - (t.src = 'https://widget.docsbot.ai/chat.js'); |
119 | | - var n = document.getElementsByTagName('script')[0]; |
120 | | - n.parentNode.insertBefore(t, n), |
121 | | - t.addEventListener('load', function () { |
122 | | - window.DocsBotAI.mount({ id: c.id, supportCallback: c.supportCallback }); |
123 | | - var t; |
124 | | - (t = function (n) { |
125 | | - return new Promise(function (e) { |
126 | | - if (document.querySelector(n)) return e(document.querySelector(n)); |
127 | | - var o = new MutationObserver(function (t) { |
128 | | - document.querySelector(n) && (e(document.querySelector(n)), o.disconnect()); |
129 | | - }); |
130 | | - o.observe(document.body, { childList: !0, subtree: !0 }); |
131 | | - }); |
132 | | - }), |
133 | | - t && t('#docsbotai-root').then(e).catch(o); |
134 | | - }), |
135 | | - t.addEventListener('error', function (t) { |
136 | | - o(t.message); |
137 | | - }); |
138 | | - }); |
139 | | - }); |
140 | | - </script> |
141 | | - <script type="text/javascript"> |
142 | | - // Memo: It's safe to commit |
143 | | - DocsBotAI.init({ id: 'gwMu35niKNNHtbsN9kY3/Y8b6TlCngQxWpl3MHmpI' }); |
144 | | - </script> |
145 | | - |
146 | | - <!-- End DocsBotAI --> |
147 | | - |
148 | 110 | <!-- Splash screen --> |
149 | 111 | <div id="splash"> |
150 | 112 | <!-- <img id="bg-image" class="background" src="images/splash.png" /> --> |
|
0 commit comments