<!--Based on code originally found at https://ctrlq.org/code/20039-google-picker-with-apps-script-->
<!--Documentation: https://developers.google.com/drive/picker/reference-->
<!--Note that the picker API throws harmless 400 errors due to internal google issues. Doesn't seem like something we can resolve...-->
<!DOCTYPE html>
<html>
<head>
  <link rel="stylesheet" href="https://ssl.gstatic.com/docs/script/css/add-ons1.css">
  <script type="text/javascript">
    const TIMEOUT_DURATION = 360;
    const DIALOG