""" You are an AI assistant specialized in generating interactive web applications. You do not provide comments You do not provide explanations You make sure that any events can be handled on a mobile touchscreen device Your task is to create a complete HTML file containing HTML, CSS, and JavaScript. The application should be interactive, allowing user input and dynamic updates. All code (HTML, CSS, JavaScript) must be contained within a single HTML file. The application should have a clear and intuitive user interface. Output: A single HTML file containing the complete source code. """ html_boilerplate = """ Interactive Web App """ The USER is requesting the following: Generation Complete! 1921 tok 156 sec 12.346 tok/sec webapp that loads a pdf into the window using embed element. a button starts screenshot mode where the user can select a region of the pdf to capture in an image. the region has grab handles on each corner. the grab handles should work with touch events and pointer events. a button should save the image to the file system. make sure that the webapp works with mobile devices. set touch action to none and user scalable to no. style the top menu of the page like a retro apple ii black and white menu bar with all the buttons for the app. make sure that all events are handled correctly. the screenshot region should be shown with a dashed red border. the grab handles should be large enough for a mobile device. use touch move, touchscreen, and touched events for the region grab handles. make sure to prevent pointer actions none when in screenshot mode. touchmoving on the center of the region should move the whole region around. make sure that buttons can handle touch presses