diff --git a/spaces/17TheWord/RealESRGAN/realesrgan/weights/README.md b/spaces/17TheWord/RealESRGAN/realesrgan/weights/README.md
deleted file mode 100644
index 4d7b7e642591ef88575d9e6c360a4d29e0cc1a4f..0000000000000000000000000000000000000000
--- a/spaces/17TheWord/RealESRGAN/realesrgan/weights/README.md
+++ /dev/null
@@ -1,3 +0,0 @@
-# Weights
-
-Put the downloaded weights to this folder.
diff --git a/spaces/1acneusushi/gradio-2dmoleculeeditor/data/Download Durood E Muqaddas Pdf Learn the Meaning and Significance of the Supreme Salawat.md b/spaces/1acneusushi/gradio-2dmoleculeeditor/data/Download Durood E Muqaddas Pdf Learn the Meaning and Significance of the Supreme Salawat.md
deleted file mode 100644
index b88de59742faaecb945ea0ca9148f650559f14b2..0000000000000000000000000000000000000000
--- a/spaces/1acneusushi/gradio-2dmoleculeeditor/data/Download Durood E Muqaddas Pdf Learn the Meaning and Significance of the Supreme Salawat.md
+++ /dev/null
@@ -1,156 +0,0 @@
-
-
Durood E Muqaddas is one of the many beautiful and powerful salutations that Muslims send upon the Prophet Muhammad (peace be upon him). It is a special and unique way of expressing love, respect, and gratitude to the beloved Messenger of Allah (peace be upon him). In this article, we will explore what Durood E Muqaddas is, how to recite it, and how to download it in PDF format.
-Download Zip ✓✓✓ https://byltly.com/2uKwxz
Durood E Muqaddas is a term that means "the most sacred salutation". It is also known as Salawat E Muqaddas or Darood Muqadas. It is a specific form of invocation that praises and invokes blessings upon the Prophet Muhammad (peace be upon him) in a very comprehensive and sublime manner.
-The Arabic text of Durood E Muqaddas is as follows:
-Bismillah-hirRa'hmaan nirRa'heem. Yaa Illahi bi-'hurmati aqwali Mu'hammadin wa-afa-'ali Mu'hammadin wa-aqwaali Mu'hammadin wa-as-haabi Mu'hammadin sallALLAHU Alaihi Wasallam. Yaa Illahi bi-'hurmati badni Mu'hammadin wa-batni Mu'hammadin wa-barkati
The English translation of Durood E Muqaddas is as follows:
-In the name of Allah, the Most Gracious, the Most Merciful. O Allah, by the sanctity of the words of Muhammad, and the deeds of Muhammad, and the sayings of Muhammad, and the companions of Muhammad, peace be upon him. O Allah, by the sanctity of the body of Muhammad, and the inner self of Muhammad, and the blessings
The meaning and significance of Durood E Muqaddas can be understood from several aspects:
-The significance of Durood E Muqaddas is that it expresses a sincere and profound love for the Prophet Muhammad (peace be upon him), who is the best of creation, the leader of all prophets, the mercy to all worlds, and the intercessor for all believers. It also seeks Allah's favor and mercy by invoking His name and appealing to His generosity.
-The origin and history of Durood E Muqaddas are not very clear or well-documented. However, some sources suggest that it was revealed by Allah Himself to one of His pious servants named Sheikh Abu Bakr Shibli (may Allah have mercy on him), who was a famous Sufi saint from Baghdad in the 10th century CE. He was known for his devotion and love for the Prophet Muhammad (peace be upon him) and his adherence to the Quran and Sunnah.
-According to some narrations, Sheikh Abu Bakr Shibli (may Allah have mercy on him) used to recite this Durood every night before sleeping. One night, he saw a vision in which he was standing before Allah's throne. He heard a voice saying: "O Abu Bakr Shibli! You have pleased Me with your recitation of this Durood. Ask Me whatever you wish." He said: "O Allah! I ask You for nothing but Your pleasure." The voice said: "You have asked Me for something that I love. I have granted you My pleasure. And I have also granted you whatever you did not ask Me for."
-How to download Durood E Muqaddas Pdf for free
-Benefits of reciting Durood E Muqaddas Pdf daily
-Durood E Muqaddas Pdf in Arabic and English translation
-Best sites to download Durood E Muqaddas Pdf online
-Durood E Muqaddas Pdf with Urdu translation and explanation
-Download Durood E Muqaddas Pdf in different formats
-Durood E Muqaddas Pdf audio and video download
-Durood E Muqaddas Pdf meaning and virtues
-Download Durood E Muqaddas Pdf with beautiful calligraphy
-Durood E Muqaddas Pdf in Hindi and Roman Urdu
-Download Durood E Muqaddas Pdf with transliteration and commentary
-Durood E Muqaddas Pdf book download and review
-Durood E Muqaddas Pdf wallpaper and poster download
-Durood E Muqaddas Pdf in other languages and dialects
-Download Durood E Muqaddas Pdf with images and graphics
-Durood E Muqaddas Pdf history and origin
-Download Durood E Muqaddas Pdf with references and sources
-Durood E Muqaddas Pdf in different fonts and styles
-Download Durood E Muqaddas Pdf with annotations and notes
-Durood E Muqaddas Pdf comparison and contrast with other duroods
-Download Durood E Muqaddas Pdf with examples and applications
-Durood E Muqaddas Pdf in different sects and schools of thought
-Download Durood E Muqaddas Pdf with tips and tricks
-Durood E Muqaddas Pdf stories and anecdotes
-Download Durood E Muqaddas Pdf with questions and answers
-Durood E Muqaddas Pdf in different occasions and times
-Download Durood E Muqaddas Pdf with proofs and evidences
-Durood E Muqaddas Pdf in different genres and categories
-Download Durood E Muqaddas Pdf with summaries and outlines
-Durood E Muqaddas Pdf in different modes and moods
-Download Durood E Muqaddas Pdf with quizzes and tests
-Durood E Muqaddas Pdf in different perspectives and viewpoints
-Download Durood E Muqaddas Pdf with suggestions and recommendations
-Durood E Muqaddas Pdf in different cultures and traditions
-Download Durood E Muqaddas Pdf with feedback and reviews
-Durood E Muqaddas Pdf in different media and platforms
-Download Durood E Muqaddas Pdf with alternatives and variations
-Durood E Muqaddas Pdf in different tones and voices
-Download Durood E Muqaddas Pdf with challenges and solutions
-Durood E Muqaddas Pdf in different formats and layouts
Another narration states that Sheikh Abu Bakr Shibli (may Allah have mercy on him) used to recite this Durood every Friday after Jumu'ah prayer. One Friday, he saw a vision in which he was standing before the Prophet Muhammad (peace be upon him). He said: "O Messenger of Allah! I have been reciting this Durood in your honor every Friday. Is it acceptable to you?" The Prophet (peace be upon him) said: "O Abu Bakr Shibli! You have pleased me with your recitation of this Durood. Ask me whatever you wish." He said: "O Messenger of Allah! I ask you for nothing but your intercession on the Day of Judgment." The Prophet (peace be upon him) said: "You have asked me for something that I love. I have granted you my intercession. And I have also granted you whatever you did not ask me for."
-These narrations may or may not be authentic, but they show the high esteem and value that some Muslims have attached to this Durood over time.
-The benefits and virtues of reciting Durood E Muqaddas are numerous and manifold. Some of them are as follows:
-Indeed, Allah confers blessing upon the Prophet, and His angels [ask Him to do so]. O you who have believed, ask [Allah to confer] blessing upon him and ask [Allah to grant him] peace.
None of you will have faith till he loves me more than his father, his children and all mankind.
(Bukhari)Whoever sends blessings upon me once will receive ten blessings from Allah.
(Muslim)Whoever recites Durood upon me 100 times on Friday, his 100 needs will be met, 70 of them in the hereafter and 30 of them in this world.
(Abu Dawud)
-Whoever recites Durood upon me 10 times in the morning and 10 times in the evening, he will be under my protection on the Day of Judgment.
(Tabarani)Whoever recites Durood upon me abundantly, his sins will be forgiven even if they are like the foam of the sea.
(Tirmidhi)Whoever recites Durood upon me once, Allah will raise him ten degrees and write for him ten good deeds and erase for him ten bad deeds.
(Muslim)The closest people to me on the Day of Judgment are those who send the most blessings upon me.
(Tirmidhi)Durood E Muqaddas is a very easy and simple way of sending salutations upon the Prophet Muhammad (peace be upon him). However, there are some prerequisites and etiquette that one should observe when reciting it.
-The prerequisites and etiquette of reciting Durood E Muqaddas are as follows:
-Durood E Muqaddas can be recited at any time and on any occasion, as it is a form of worship and remembrance of Allah and His Messenger (peace be upon him). However, there are some times and occasions that are more virtuous and rewarding than others. Some of them are as follows:
-The method and frequency of reciting Durood E Muqaddas are as follows:
-Durood E Muqaddas PDF is a digital file that contains the Arabic text, transliteration, translation, benefits, and method of Durood E Muqaddas. It can be downloaded from various online sources and stored on one's computer or mobile device. It can also be printed out or shared with others.
-The advantages and disadvantages of downloading Durood E Muqaddas PDF are as follows:
-The sources and links to download Durood E Muqaddas PDF are as follows:
-The tips and precautions to download Durood E Muqaddas PDF are as follows:
-Durood E Muqaddas is a wonderful and powerful way of sending salutations upon the Prophet Muhammad (peace be upon him). It has many benefits and virtues for the reciter and the receiver in this world and the hereafter. It is also easy and simple to recite and download in PDF format.
-In this article, we have discussed:
-We hope that this article has inspired you to recite Durood E Muqaddas more often and more sincerely. We urge you to make it a habit of reciting it daily, especially on Fridays, during Ramadan, and on other auspicious occasions. We also encourage you to download Durood E Muqaddas PDF from a reliable source and keep it handy on your device or print it out for your convenience. We also request you to share this article with your family and friends who may benefit from it.
-Here are some frequently asked questions about Durood E Muqaddas:
-If you are looking for some fresh and beautiful wallpapers for your phone, you might want to check out the Nokia X71 stock wallpapers. The Nokia X71 is a mid-range smartphone that was launched in April 2019. It features a 6.39-inch display with a resolution of 2,160 x 2,310 pixels and a punch-hole camera. The device also comes with a triple rear camera setup, a Snapdragon 660 processor, 6 GB of RAM, and 128 GB of internal storage.
-Download File ✏ https://byltly.com/2uKwCL
But what makes the Nokia X71 stand out from the crowd is its gorgeous wallpapers. The device comes with 11 stock wallpapers that are colorful, vibrant, and abstract. These wallpapers are perfect for adding some flair and personality to your phone's home screen or lock screen. They also look great on any device with a high-resolution display.
-If you want to download the Nokia X71 stock wallpapers, you can find them in the link below. The wallpapers are in ZIP format and have a resolution of 2,160 x 2,310 pixels. You can extract them using any file manager app and then apply them as your wallpaper. Alternatively, you can also preview the wallpapers in the gallery below and download them individually.
-Download Nokia X71 Stock Wallpapers: Click here
-Preview Nokia X71 Stock Wallpapers:
-I hope you like the Nokia X71 stock wallpapers. If you do, please share this article with your friends and let them know about these amazing images. You can also check out our other articles on stock wallpapers from various devices. Thanks for reading!
cec2833e83If you are looking for a fast, stable and easy-to-use version of Windows 7, you may want to check out Ghost KKD Windows 7 V.3. This is a modified version of Windows 7 that has been optimized for performance and convenience by a Thai developer named KKD.
-Ghost KKD Windows 7 V.3 is a ghost file, which means that it is an image of an operating system that can be copied to another computer without installation. This saves you time and hassle when setting up your new system.
-DOWNLOAD ———>>> https://byltly.com/2uKzAK
Ghost KKD Windows 7 V.3 comes with many features that make it stand out from other versions of Windows 7, such as:
-In this article, we will show you how to download, install and use Ghost KKD Windows 7 V.3 on your computer.
-Ghost KKD Windows 7 Ultimate v.3 x86bit download
-How to install Ghost KKD Windows 7 V.3 Rev1 32Bit
-Ghost KKD Windows 7 V.3 2012 32Bit free download
-Ghost KKD Windows 7 V.3 Rev1 All Driver All Program
-Ghost KKD Windows 7 V.3 32Bit password clubzeed.net
-Ghost KKD Windows 7 V.3 2012 32Bit ISO file
-Ghost KKD Windows 7 V.3 Rev1 32Bit Google Drive
-Ghost KKD Windows 7 V.3 2012 32Bit review
-Ghost KKD Windows 7 V.3 Rev1 All Driver All Program blogspot
-Ghost KKD Windows 7 V.3 2012 32Bit system requirements
-Ghost KKD Windows 7 V.3 Rev1 32Bit storage.3bb.co.th
-Ghost KKD Windows 7 V.3 2012 32Bit activation key
-Ghost KKD Windows 7 V.3 Rev1 All Driver All Program dfcolo
-Ghost KKD Windows 7 V.3 2012 32Bit serial number
-Ghost KKD Windows 7 V.3 Rev1 32Bit crack
-Ghost KKD Windows 7 V.3 2012 32Bit full version
-Ghost KKD Windows 7 V.3 Rev1 All Driver All Program oswin4you.com
-Ghost KKD Windows 7 V.3 2012 32Bit product key
-Ghost KKD Windows 7 V.3 Rev1 All Driver All Program vdocuments.mx
-Ghost KKD Windows 7 V.3 2012 32Bit patch
-Ghost KKD Windows 7 V.3 Rev1 All Driver All Program banung
-Ghost KKD Windows 7 V.3 2012 32Bit license key
-Ghost KKD Windows 7 V.3 Rev1 All Driver All Program supersphit@jokergameth.com
-Ghost KKD Windows 7 V.3 2012 32Bit keygen
-Ghost KKD Windows 7 V.3 Rev1 All Driver All Program admin adminoffline
-Ghost KKD Windows 7 V.3 Rev1 All Driver All Program kerdoos-academie.com
-How to ghost windows with ghost kkd windows v.3 rev1 all driver all program?
-What are the advantages of ghost kkd windows v.3 rev1 all driver all program?
-How to update ghost kkd windows v.3 rev1 all driver all program?
-How to uninstall ghost kkd windows v.3 rev1 all driver all program?
-How to backup ghost kkd windows v.3 rev1 all driver all program?
-How to restore ghost kkd windows v.3 rev1 all driver all program?
-How to fix ghost kkd windows v.3 rev1 all driver all program errors?
-How to optimize ghost kkd windows v.3 rev1 all driver all program performance?
-How to customize ghost kkd windows v.3 rev1 all driver all program settings?
-How to troubleshoot ghost kkd windows v.3 rev1 all driver all program issues?
-How to secure ghost kkd windows v.3 rev1 all driver all program data?
-How to recover ghost kkd windows v.3 rev1 all driver all program files?
-How to migrate ghost kkd windows v.3 rev1 all driver all program to another PC?
-How to clone ghost kkd windows v.3 rev1 all driver all program disk?
-How to create a bootable USB with ghost kkd windows v.3 rev1 all driver all program?
-How to burn ghost kkd windows v.3 rev1 all driver all program to a DVD?
-How to use ghost kkd windows v.3 rev1 all driver all program with virtual machines?
-How to dual boot ghost kkd windows v.3 rev1 all driver all program with another OS?
-How to upgrade ghost kkd windows v.3 rev1 all driver all program to a newer version?
-How to downgrade ghost kkd windows v.3 rev1 all driver all program to an older version?
-How to install additional software on ghost kkd windows v.3 rev1 all driver all program?
-How to remove unwanted software from ghost kkd windows v.3 rev1 all driver all program?
-How to change the language of ghost kkd windows v.3 rev1 all driver all program?
-How to activate the hidden features of ghost kkd windows v.3 rev1 all driver all program?
You may be wondering why you should choose Ghost KKD Windows 7 V.3 over other versions of Windows 7 or other operating systems. Here are some reasons why:
-Of course, Ghost KKD Windows 7 V.3 is not perfect and it may have some drawbacks as well. We will discuss them later in this article.
-To use Ghost KKD Windows 7 V.3 on your computer, you need to download the ghost file from the internet and then copy it to your hard drive using a bootable USB or DVD.
-The ghost file of Ghost KKD Windows
If you have any questions or feedback about Ghost KKD Windows 7 V.3 or this article, please feel free to leave a comment below. We would love to hear from you.
-Here are some frequently asked questions and answers about Ghost KKD Windows 7 V.3:
-A: You can download Ghost KKD Windows 7 V.3 from the official website or other sources on the internet, such as forums or blogs. However, you should always be careful and scan the file with an antivirus program before using it.
-A: Ghost KKD Windows 7 V.3 is a modified version of Windows 7 that has been optimized for speed, stability and convenience by a Thai developer named KKD. It is a ghost file that can be copied to another computer without installation using a bootable USB or DVD. It has been updated with the latest security patches and drivers as of November 2012. It has been pre-installed with many useful programs and games. It has been customized with a beautiful theme and icons.
-A: No, Ghost KKD Windows 7 V.3 is not legal. It is a pirated version of Windows 7 that may violate some copyright or licensing terms of Microsoft or other software vendors. You may be liable for legal consequences if you use this product without a valid license key.
-A: No, Ghost KKD Windows 7 V.3 is not safe. It may contain some malware or spyware that can harm your computer or compromise your privacy. You should always scan the file with an antivirus program before using it.
-A: No, Ghost KKD Windows 7 V.3 may not be compatible with some newer hardware or software that require newer versions of Windows or drivers. You may encounter some errors or glitches when using this product.
- 0a6ba089ebAdobe Illustrator CS4 is a powerful vector graphics software that allows you to create stunning illustrations, logos, and graphics. It has many features and tools that can help you unleash your creativity and enhance your productivity. However, Adobe Illustrator CS4 is not available for purchase anymore, as it has been replaced by newer versions. So, how can you get Adobe Illustrator CS4 for free?
-One way is to download a crack version of the software from the internet. A crack version is a modified version that bypasses the activation process and lets you use the software without paying for it. However, this method is illegal and risky, as it may expose your computer to viruses, malware, or other threats. Moreover, you may not get the full functionality and performance of the original software, as it may have bugs, errors, or missing features.
-Download ✒ https://imgfil.com/2uy0Rh
A better way is to download a free trial version of Adobe Illustrator CS4 from the official website of Adobe. A free trial version is a legitimate version that lets you use the software for a limited time (usually 30 days) without paying for it. This way, you can test the software and see if it meets your needs and expectations. Moreover, you can enjoy the full functionality and performance of the original software, as it is not modified or tampered with.
-To download a free trial version of Adobe Illustrator CS4, follow these steps:
-Note that you will need an internet connection to activate your free trial. Also, you will need to uninstall any previous versions of Adobe Illustrator before installing Adobe Illustrator CS4.
-If you like Adobe Illustrator CS4 and want to continue using it after your free trial expires, you will need to buy a license from Adobe or find an authorized reseller. You can also upgrade to a newer version of Adobe Illustrator if you want to access more features and tools.
-Adobe Illustrator CS4 is a great software for vector graphics design that can help you create amazing artworks. However, downloading a crack version of it is not recommended, as it may harm your computer and violate the law. Instead, you should download a free trial version from the official website of Adobe and enjoy it legally and safely.
Adobe Illustrator CS4 can help you create a variety of illustrations, from simple icons and logos to complex scenes and characters. You can use the tools and features of Adobe Illustrator CS4 to draw, color, shape, and transform your vector graphics. You can also apply effects, filters, gradients, patterns, and textures to your illustrations to make them more realistic and appealing.
-If you want to learn how to use Adobe Illustrator CS4 to create different types of illustrations, you can check out some of the tutorials available online. For example, you can visit https://design.tutsplus.com/tutorials/101-adobe-illustrator-tutorials--cms-29782 and find 101 awesome Adobe Illustrator tutorials that cover various topics and techniques[^1^]. You can learn how to create illustrations such as:
- -These tutorials are suitable for beginners and intermediate users of Adobe Illustrator CS4. They will guide you step by step through the process of creating your own illustrations. You will also learn some tips and tricks that can help you improve your skills and workflow.
-Adobe Illustrator CS4 is a versatile and powerful software that can help you express your creativity and vision through vector graphics. You can create illustrations for various purposes and platforms, such as web design, print design, animation, games, and more. By following some of the tutorials available online, you can learn how to use Adobe Illustrator CS4 effectively and efficiently.
d5da3c52bfDownload File ☑ https://imgfil.com/2uxZsx
chesstin f4bc01c98b gorhil says: at 2:14 am. at 10:00 am Reply. sandei cceab18d79 Results 1 - 36 of 55. 26/google-maps-con-relieve/ . Download EmailHackerv346activationcod 6 hack the moon[/caption] 1. Uncategorized.
-DOWNLOAD ✅ https://imgfil.com/2uy0P8
jannflaw. at 8:52 pm. jannflaw 6f5222a214 chesstin f4bc01c98b gorhil says: at 2:14 am. at 10:00 am Reply. sandei cceab18d79 Results 1 - 36 of 55. 26/google-maps-con-relieve/ . Download EmailHackerv346activationcod 6 hack the moon[/caption] 1. Uncategorized.
-https://www.siriusarchitects.com/advert/EmailHackerv346activationcod-best/ https://www.siriusarchitects.com/advert/EmailHackerv346activationcod-best/. EmailHackerv346activationcod jannflaw. at 6:56 am. jannflaw 6f5222a214 https://cdn.thingiverse.com/assets/45/37/31/ec/f1/free-t-splines-protractor-train-r-7450.html
-https://businessbooster.page/ https://drezau.com/htpc/images_blank</>_attachments</>_attachments/2022/3/19/33/4/4..html emailhackerv346activationcod 1.1. emailhackerv346activationcod 2.0. emailhackerv346activationcod 2.1.
-https://trello.com/c/MA9cR4gG/ EmailHackerv346activationcod in Gamegate, vous avez 5 niveaux! (https://trello.com/c/kjQ2xCnG/ OnlineGoldBytes, (https://trello.com/c/VtTWxz9Q/06-online-game-of-dice-game-download-v0.8)
-https://trello.com/c/ejQrAHsM/59-emailhackerv346activationcod-fake-email-address-h-t-t- https://coub.com/stories/3375185-emailhackerv346activationcod https://trello.com/c/cvr5lVko/42-emailhackerv346activationcod
- -https://assets.paypos.com/emailhackerv346activationcod? EmailHackerv346activationcod https://www.herkules.co.uk/2018/04/27/5w3pfutgplq9dndqajjp25ytj1t3lqwh/a_tj.pdf EmailHackerv346activationcod. 123sf at 12:27 pm.
899543212bIf you are a fan of parkour, action, and adventure games, you might want to check out Rysen Dawn, a 3D platform game where you play as a live streamer who does parkour. In this game, you have to show your best parkour moves to your in-game followers, while climbing buildings, jumping over obstacles, sliding under pipes, and more. You can also customize your character's appearance, listen to your favorite music, use photo mode, and earn money from sponsors. In this article, we will tell you everything you need to know about Rysen Dawn, including its features, gameplay, graphics, sound, download, install, and more.
-Rysen Dawn is a 3D action and platform game developed by R-USER Games and yPER Studios. It was released on October 1, 2022 for Android devices. The game belongs to the genre of parkour, which is a form of urban movement that involves running, jumping, climbing, rolling, and other acrobatic skills. The game is inspired by real-life parkour athletes and streamers, such as David Belle, Ryan Doyle, Jesse La Flair, Storror, etc.
-Download File ->->->-> https://urlin.us/2uT194
Rysen Dawn has many features and highlights that make it stand out from other parkour games. Some of them are:
-Rysen Dawn is a game that requires skill, timing, and creativity. You have to control Rysen, a young parkour enthusiast who wants to become a famous live streamer. You have to perform parkour moves in different scenarios, such as rooftops, streets, parks, etc. You have to avoid falling or crashing into obstacles, such as walls, fences, cars, etc. You have to impress your followers and sponsors with your style and tricks.
-The game has simple and intuitive controls that are suitable for touch screens. You can move Rysen with your left thumb using a virtual joystick. You can control the camera with your right thumb by swiping on the screen. You can perform actions with buttons on the right side of the screen. The buttons are:
-You can combine these buttons with different directions to perform different parkour moves, such as wall run, vault, spin, flip, etc. You can also use the environment to your advantage, such as bouncing on trampolines, sliding on cables, jumping on cars, etc.
-The game has different modes and levels that offer different challenges and rewards. The modes are:
-Rysen Dawn is a game that has impressive graphics and sound that create a realistic and immersive experience for the players. The game has high-quality 3D models and textures that show the details of the characters and the environments. The game also has dynamic lighting and shadows that change according to the time of day and weather conditions. The game has realistic physics and animations that make the parkour moves look smooth and natural.
-The game allows you to customize Rysen's appearance and music according to your preferences. You can change Rysen's hair style, clothes, shoes, accessories, headphones, etc. using the money that you earn from the live stream system. You can also choose from different colors and styles for each item. You can see how Rysen looks in the customization menu or in the photo mode.
-The game also allows you to listen to your favorite music while playing. You can load your own music files (mp3 format) in a specific folder on your device or use the default music provided by the game. You can also use headphones to enhance the sound quality. You can access the music menu by using the emote system and selecting the music icon. You can see the name and artist of the song that is playing on the top right corner of the screen.
-rysen dawn android game download
-rysen dawn parkour game apk
-rysen dawn apk latest version
-rysen dawn apk free download uptodown
-rysen dawn 3d action platformer
-rysen dawn streamer parkour game
-rysen dawn apk v1.36
-rysen dawn apk mod unlimited money
-rysen dawn apk offline
-rysen dawn apk for pc
-rysen dawn apk obb download
-rysen dawn uptodown app store
-rysen dawn game review
-rysen dawn game tips and tricks
-rysen dawn game cheats and hacks
-rysen dawn game walkthrough
-rysen dawn game trailer
-rysen dawn game size and requirements
-rysen dawn game update and patch notes
-rysen dawn game features and gameplay
-rysen dawn game graphics and sound quality
-rysen dawn game controls and settings
-rysen dawn game accessories and customization
-rysen dawn game levels and scenarios
-rysen dawn game followers and likes system
-rysen dawn game similar games and alternatives
-rysen dawn game download link uptodown
-how to install rysen dawn apk from uptodown
-how to play rysen dawn apk on android
-how to update rysen dawn apk from uptodown
-how to uninstall rysen dawn apk from android
-how to backup and restore rysen dawn apk data
-how to fix rysen dawn apk errors and issues
-how to contact rysen dawn apk developer R-user games
-how to rate and review rysen dawn apk on uptodown
-how to share and recommend rysen dawn apk to friends
-how to stream and record rysen dawn apk gameplay
-how to earn money and rewards from playing rysen dawn apk
-how to join and create a community for rysen dawn apk fans
-how to support and donate to rysen dawn apk developer R-user games
The game has a photo mode that allows you to take screenshots of your character and the scenery. You can access the photo mode by tapping the camera icon on the top left corner of the screen. You can adjust the angle, zoom, filter, frame, etc. of your photo. You can also share your photos with your friends or on social media.
-The game also has a sharing feature that allows you to share your live stream videos or your achievements with your friends or on social media. You can access the sharing feature by tapping the share icon on the top right corner of the screen. You can choose from different options, such as Facebook, Twitter, Instagram, YouTube, etc.
-Rysen Dawn is a game that is available for Android devices. You can download and install it using different methods, such as Uptodown app store or XAPK file. Here are the steps for each method:
-Uptodown is an app store that offers a variety of apps and games for Android devices. You can download and install Rysen Dawn using Uptodown app store by following these steps:
-XAPK is a file format that contains both APK (application package) and OBB (data file) for Android apps and games. You can download and install Rysen Dawn using XAPK file by following these steps:
-Rysen Dawn is a game that requires some minimum requirements and permissions to run smoothly on your device. The requirements are:
-The permissions are:
-Rysen Dawn is a game that offers a spectacular parkour experience for Android devices. The game has amazing graphics, sound, gameplay, features, and more. You can play as Rysen, a live streamer who does parkour in different scenarios. You can customize your character, listen to your music, use photo mode, earn money and followers, and more. You can also download and install the game easily using Uptodown app store or XAPK file. The game requires some minimum requirements and permissions to run smoothly on your device.
-In conclusion, Rysen Dawn is a game that you should definitely try if you love parkour, action, and adventure games. The game is fun, challenging, and immersive. You can enjoy the game solo or with other players online. You can also share your videos and photos with your friends or on social media. The game is rated 4.5 out of 5 stars on Uptodown app store and has over 10 million downloads. You can download the game for free from https://rysen-dawn.en.uptodown.com/android or https://apkpure.com/rysen-dawn/com.RUSERGames.RysenDawn.
-Here are some frequently asked questions about Rysen Dawn:
-Rysen Dawn is different from other parkour games in many ways. Some of them are:
-You can unlock new accessories and headphones in the game by using the money that you earn from the live stream system. You can access the customization menu by tapping the hanger icon on the top left corner of the screen. You can see the prices and styles of each item in the menu. You can also preview how they look on your character before buying them. -
You can load your own music in the game by using the in-game emote system. You have to place your music files (mp3 format) in a specific folder on your device storage. The folder name is "RysenDawnMusic". You can create this folder manually or use a file manager app to do so. Once you have placed your music files in this folder, you can access them by using the emote system and selecting the music icon. You can see the list of songs that are available in this menu. -
If you encounter any issues in the game, such as black screen, lagging, crashing, etc., you can try these solutions:
-Rysen Dawn is currently only available for Android devices. However, the developers have stated that they are working on making it available for PC and other platforms in the future. You can follow their official social media accounts for updates and news about the game. You can also use an emulator to play the game on your PC, but this is not recommended by the developers. -
I hope you enjoyed reading this article and learned something new about Rysen Dawn. If you have any questions or comments, feel free to leave them below. I would love to hear from you. Thank you for your time and attention.
197e85843dDo you want to download videos and music from your favorite platforms and apps like YouTube, Instagram, WhatsApp, TikTok, and more? Do you want to convert them into MP3 format and listen to them offline? Do you want to access unlimited content without any restrictions or ads? If you answered yes to any of these questions, then you need Snaptube.
-Download Zip ✦✦✦ https://urlin.us/2uSRNb
Snaptube is a free app that lets you download videos and music from any platform and app on your Android device. You can choose from over 50 supported sites, including popular ones like YouTube, Instagram, WhatsApp, TikTok, Facebook, Twitter, and more. You can also download music in MP3 format from any video source. You can manage your downloads and playlists easily with Snaptube's user-friendly interface. You can also enjoy high-quality downloads with fast speed and low data consumption.
-Snaptube has many features that make it the best app for downloading videos and music. Here are some of them:
-Snaptube is not available on the Google Play Store due to its downloading functionality. However, you can easily download it from its official website or other trusted sources. Here are the steps to download Snaptube APK:
-Using Snaptube is very easy and intuitive. You can download videos and music from any platform in a few simple steps. Here are some examples:
-To download videos from any platform, you have two options:
-To download music in MP3 format, you can follow the same steps as downloading videos. However, instead of choosing a video resolution and format, you can choose the MP3 option. Snaptube will convert the video into MP3 and download it on your device. You can also adjust the bitrate and quality of the MP3 file according to your needs.
-To manage your downloads and playlists, you can go to the My Files section of Snaptube. There, you can see all your downloaded videos and music, as well as your playlists. You can play, delete, share, or rename your files. You can also create, edit, or delete your playlists. You can also sort your files by name, date, size, or duration.
-snaptube apk 2021 latest version download
-how to download snaptube app for android 2021
-snaptube video downloader 2021 apk free download
-snaptube premium apk 2021 mod download
-snaptube pro apk 2021 full unlocked download
-download snaptube apk for pc windows 10 2021
-snaptube apk download install 2021 for android
-snaptube beta apk 2021 new version download
-snaptube vip apk 2021 cracked download
-snaptube old version apk 2021 free download
-snaptube youtube downloader 2021 apk download
-snaptube online video downloader 2021 apk
-snaptube app download 2021 apk pure
-snaptube hd video downloader 2021 apk
-snaptube music downloader 2021 apk latest
-snaptube apk download 2021 uptodown
-snaptube app download install 2021 apk
-snaptube video and music downloader 2021 apk
-snaptube mod apk 2021 no ads download
-snaptube app free download for android mobile 2021 apk
-snaptube lite apk 2021 fast download
-snaptube app download 2021 new version apk
-snaptube video downloader app 2021 apk
-snaptube apk download for android phone 2021
-snaptube app download for iphone ios 2021 apk
-snaptube downloader 2021 apk latest update
-snaptube app download for laptop windows 7 2021 apk
-snaptube video downloader for facebook 2021 apk
-snaptube app download for jio phone 2021 apk
-snaptube video downloader for instagram 2021 apk
-snaptube app download for android tv box 2021 apk
-snaptube video downloader for tiktok 2021 apk
-snaptube app download for firestick tv 2021 apk
-snaptube video downloader for whatsapp status 2021 apk
-snaptube app download for tablet android 4.4.2 2021 apk
-snaptube video downloader for twitter 2021 apk
-snaptube app download for samsung galaxy s10 plus 2021 apk
-snaptube video downloader for dailymotion 2021 apk
-snaptube app download for huawei p30 pro 2021 apk
-snaptube video downloader for vimeo 2021 apk
-snaptube app download for xiaomi redmi note 8 pro 2021 apk
-snaptube video downloader for reddit 2021 apk
-snaptube app download for oppo f11 pro 2021 apk
-snaptube video downloader for linkedin 2021 apk
-snaptube app download for vivo v15 pro 2021 apk
-snaptube video downloader for tumblr 2021 apk
-snaptube app download for nokia lumia windows phone 8.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.
Using Snaptube has many benefits that make it the best app for downloading videos and music. Here are some of them:
-With Snaptube, you can save time and data by downloading videos and music in one app. You don't need to switch between different apps or browsers to access different platforms. You also don't need to use any online converters or downloaders that may be slow, unreliable, or unsafe. Snaptube offers fast and secure downloads with low data consumption.
-With Snaptube, you can enjoy offline entertainment by downloading videos and music on your device. You don't need to worry about internet connection, buffering, or ads. You can watch or listen to your favorite content anytime and anywhere. You can also share your downloads with your friends via Bluetooth, Wi-Fi Direct, or social media.
-With Snaptube, you can access unlimited content by downloading videos and music from any platform and app. You don't need to worry about any restrictions or limitations imposed by some platforms or apps. You can download any content you want, from movies, TV shows, music videos, songs, podcasts, live streams, stories, reels, shorts, and more.
-Here are some frequently asked questions about Snaptube:
-Snaptube is the best app for downloading videos and music from any platform and app on your Android device. It is free, safe, fast, easy, and versatile. It lets you save time and data, enjoy offline entertainment, and access unlimited content. It also has many features that make it user-friendly and customizable. If you want to download videos and music from any platform with one app, download Snaptube today!
197e85843dIf you are a PC gamer, you probably have heard of DirectX, a suite of technologies that enables multimedia applications, especially games, to work with your video and audio hardware. DirectX is developed by Microsoft and is an essential component of the Windows operating system. But what is DirectX 12 and why should you care about it? In this article, we will explain what DirectX 12 is, how it differs from previous versions of DirectX, how to install it on Windows 7 64 bit, how to troubleshoot common issues, and how to compare it with other graphics APIs. By the end of this article, you will have a better understanding of DirectX 12 and how it can improve your gaming experience.
-DirectX is a collection of application programming interfaces (APIs) that allows software, primarily games, to communicate with your video and audio hardware. Games that use DirectX can take advantage of the multimedia accelerator features built-in to your hardware, which improves your overall multimedia experience. For example, DirectX can enable faster frame rates, higher resolutions, more realistic lighting and shadows, better sound quality, and more.
-Download Zip 🗹 https://jinyurl.com/2uNSfu
DirectX was first introduced in Windows 95 as a way to provide direct access to hardware components for games that previously ran on DOS. Since then, Microsoft has released several versions of DirectX, each adding new features and capabilities. The latest version of DirectX is DirectX 12, which was released in 2015 along with Windows 10. However, DirectX 12 is not exclusive to Windows 10; it can also be installed on Windows 7 64 bit with some limitations.
-DirectX 12 is the most advanced version of DirectX so far, offering several features and benefits that are not available in previous versions. Some of the main features and benefits of DirectX 12 are:
-The unofficial way to install DirectX 12 on Windows 7 64 bit is to use a third-party tool or patch that claims to enable DirectX 12 on Windows 7 64 bit. However, this method is not recommended for several reasons. First, it is not supported by Microsoft and may violate their terms of service. Second, it may cause compatibility or security issues with your system or games. Third, it may not work as expected or at all. Fourth, it may be difficult to uninstall or revert back to the original state.
-Therefore, we advise you to avoid using any third-party tools or patches that claim to install DirectX 12 on Windows 7 64 bit. Instead, you should use the official way from Microsoft or upgrade your system to Windows 10, which supports DirectX 12 natively.
-If you have successfully installed DirectX 12 on Windows 7 64 bit using the official way from Microsoft, but you still encounter some issues or errors when playing games that support DirectX 12 on Windows 7 64 bit, you may need to troubleshoot them using some methods. Here are some common methods that can help you fix DirectX 12 issues on Windows 7 64 bit:
-DirectX Diagnostic Tool (DxDiag) is a built-in tool that can help you diagnose and test your DirectX installation and hardware. You can use DxDiag to check your system information, display settings, sound settings, input devices, and more. You can also use DxDiag to save a report of your system configuration and send it to technical support if needed.
-How to install the latest version of DirectX on Windows 7 64 bit
-DirectX End-User Runtime Web Installer for Windows 7 64 bit
-DirectX 12 compatible games for Windows 7 64 bit
-DirectX 12 features and benefits for Windows 7 64 bit
-DirectX 12 offline installer for Windows 7 64 bit
-DirectX 12 system requirements for Windows 7 64 bit
-DirectX 12 update for Windows 7 64 bit
-DirectX 12 vs DirectX 11 comparison for Windows 7 64 bit
-How to check DirectX version on Windows 7 64 bit
-How to fix DirectX errors on Windows 7 64 bit
-How to uninstall DirectX on Windows 7 64 bit
-Is DirectX 12 available for Windows 7 64 bit
-What is DirectX and why do I need it on Windows 7 64 bit
-Where to download DirectX 12 for Windows 7 64 bit
-How to enable DirectX 12 on Windows 7 64 bit
-How to optimize DirectX performance on Windows 7 64 bit
-How to troubleshoot DirectX issues on Windows 7 64 bit
-How to use DirectX diagnostic tool on Windows 7 64 bit
-What are the advantages of DirectX 12 over DirectX 11 on Windows 7 64 bit
-What are the best DirectX settings for gaming on Windows 7 64 bit
-How to download and install DirectX SDK on Windows 7 64 bit
-How to develop games with DirectX on Windows 7 64 bit
-How to test DirectX functionality on Windows 7 64 bit
-How to upgrade from DirectX 11 to DirectX 12 on Windows 7 64 bit
-What are the differences between DirectX and OpenGL on Windows 7 64 bit
-How to run older games with DirectX compatibility mode on Windows 7
To use DxDiag, follow these steps:
-You can use DxDiag to check if your system meets the requirements for DirectX 12 on Windows 7 64 bit, such as the operating system version, the graphics card model, and the DirectX version. You can also use DxDiag to identify any problems or errors with your DirectX installation or hardware, such as missing or corrupted files, outdated or incompatible drivers, or insufficient memory.
-Display drivers are software components that allow your graphics card to communicate with your operating system and applications. Having the latest and compatible display drivers is crucial for ensuring the optimal performance and quality of DirectX 12 games. However, sometimes updating your display drivers may cause some issues or errors, such as crashes, freezes, glitches, or reduced performance. In that case, you may need to rollback your display drivers to a previous version that worked well.
-To update or rollback your display drivers, follow these steps:
-You can also use the official websites of your graphics card manufacturer, such as NVIDIA, AMD, or Intel, to download and install the latest or previous drivers for your graphics card. However, make sure you download and install the correct and compatible drivers for your graphics card model and operating system version.
-Hardware acceleration is a feature that allows your graphics card to perform some tasks faster than your CPU, such as rendering graphics, decoding video, or encrypting data. Hardware acceleration can improve the performance and quality of DirectX 12 games by reducing the workload on your CPU and utilizing the full potential of your GPU. However, hardware acceleration can also cause some issues or errors, such as crashes, freezes, glitches, or compatibility problems. In that case, you may need to disable hardware acceleration to prevent these issues or errors.
-To enable or disable hardware acceleration, follow these steps:
-Note that some graphics cards may not support changing the hardware acceleration level. In that case, you may need to use other methods to enable or disable hardware acceleration for specific applications or games. For example, you can use the settings menu of your game or application to enable or disable hardware acceleration. You can also use the compatibility mode of Windows 7 to run older games or applications that may not work well with hardware acceleration.
-If you are curious about how DirectX 12 compares with previous versions of DirectX, such as DirectX 11, DirectX 10, or DirectX 9, you can use some methods to compare them. Here are some common methods that can help you compare DirectX 12 with previous versions of DirectX:
-One of the main differences between DirectX 12 and previous versions of DirectX is that DirectX 12 is a low-level API, while previous versions of DirectX are high-level APIs. A high-level API is an API that abstracts away many details of the hardware and provides a simpler and easier way for developers to create applications. A low-level API is an API that gives developers more control over the hardware resources and allows them to optimize their applications for specific hardware configurations.
-The advantage of a high-level API is that it is more user-friendly and compatible with different hardware devices. The disadvantage of a high-level API is that it has more overhead and less flexibility than a low-level API. The advantage of a low-level API is that it is more efficient and flexible than a high-level API. The disadvantage of a low-level API is that it is more complex and difficult to use than a high-level API.
-Therefore, DirectX 12 offers more performance and scalability than previous versions of DirectX by allowing developers to access the hardware resources directly and customize their applications for specific hardware configurations. However, DirectX 12 also requires more skill and effort from developers to create applications that work well with different hardware devices.
-Another difference between DirectX 12 and previous versions of DirectX is that DirectX 12 supports parallel compute and ray tracing, while previous versions of DirectX do not. Parallel compute is a feature that allows developers to make multiple calls to the GPU at the same time, instead of waiting for one call to finish before making another. Ray tracing is a technique that simulates the behavior of light rays in a realistic way, creating stunning visual effects such as reflections, refractions, shadows, ambient occlusion, global illumination, and more.
-The advantage of parallel compute is that it improves the performance and scalability of the applications by reducing the CPU bottleneck and utilizing the full potential of the GPU. The advantage of ray tracing is that it improves the quality and realism of the graphics by creating more natural and immersive lighting and shading effects. However, parallel compute and ray tracing also require more computational power and memory from the hardware, which may not be available on older or lower-end devices.
-Therefore, DirectX 12 offers more features and capabilities than previous versions of DirectX by allowing developers to use parallel compute and ray tracing in their applications. However, DirectX 12 also requires more hardware resources and support from the devices to run these features smoothly and effectively.
-One of the main reasons why gamers want to install DirectX 12 on Windows 7 64 bit is to play games that support DirectX 12 and enjoy the benefits of DirectX 12 features. However, not all games support DirectX 12, and not all games that support DirectX 12 run better on DirectX 12 than on previous versions of DirectX. The performance and compatibility of DirectX 12 games depend on several factors, such as the game engine, the graphics card, the driver, the operating system, and the settings.
-Some games that support DirectX 12 may run faster or smoother on DirectX 12 than on previous versions of DirectX, especially if they use parallel compute or ray tracing features. Some examples of games that run better on DirectX 12 are Forza Horizon 4, Shadow of the Tomb Raider, Metro Exodus, and Control. However, some games that support DirectX 12 may run slower or worse on DirectX 12 than on previous versions of DirectX, especially if they are not optimized for DirectX 12 or have compatibility issues with certain hardware or software components. Some examples of games that run worse on DirectX 12 are Deus Ex: Mankind Divided, Hitman, Rise of the Tomb Raider, and Battlefield V.
-Therefore, DirectX 12 does not guarantee a better gaming experience for all games that support DirectX 12. You may need to experiment with different settings and options to find the best configuration for your system and your game. You may also need to check the official websites or forums of your game or graphics card manufacturer for any updates or patches that may improve the performance or compatibility of your game on DirectX 12.
-In conclusion, DirectX 12 is a powerful graphics API that offers several features and benefits that are not available in previous versions of DirectX. However, installing DirectX 12 on Windows 7 64 bit is not as easy as installing it on Windows 10, which comes with DirectX 12 pre-installed. You need to meet certain requirements and follow certain steps to install DirectX 12 on Windows 7 64 bit using the official way from Microsoft. You also need to avoid using any third-party tools or patches that claim to install DirectX 12 on Windows 7 64 bit. You also need to troubleshoot any issues or errors that may occur when playing games that support DirectX 12 on Windows 7 64 bit. You also need to compare DirectX 12 with previous versions of DirectX to understand the differences and similarities between them. We hope this article has helped you learn more about DirectX 12 and how to install it on Windows 7 64 bit. If you have any questions or feedback, please feel free to leave a comment below. Happy gaming!
Here are some frequently asked questions about DirectX 12 and Windows 7 64 bit:
-The system requirements for DirectX 12 are:
-You can check which version of DirectX you have installed by using the DirectX Diagnostic Tool (DxDiag). To use DxDiag, follow these steps:
-Yes, you can use DirectX 12 on Windows 10 or other operating systems that support DirectX 12. However, some features and benefits of DirectX 12 may not be available on older or different operating systems. For example, DirectX Raytracing (DXR) is only available on Windows 10 version 1809 or higher. Also, some games that support DirectX 12 may not work well or at all on older or different operating systems. Therefore, it is recommended that you use the latest version of Windows 10 to enjoy the full potential of DirectX 12.
-There are many games that support DirectX 12, but not all of them support DirectX 12 on Windows 7 64 bit. You can check the list of DirectX 12 games here. To enable DirectX 12 on your game, you need to follow the instructions provided by the game developer or publisher. Usually, you can find the option to enable DirectX 12 in the game settings menu, under the graphics or display category. However, some games may require you to launch the game with a specific command line argument or edit a configuration file to enable DirectX 12. You can also check the official websites or forums of your game for more information on how to enable DirectX 12.
-If you are looking for some alternatives to DirectX 12, you may want to consider some other graphics APIs that are available for PC gaming. Some of the most popular alternatives to DirectX 12 are:
-These are just some of the alternatives to DirectX 12 that you can try if you want to experience different graphics APIs for PC gaming. However, keep in mind that each API has its own advantages and disadvantages, and not all games support all APIs. Therefore, you may need to do some research and testing before choosing the best API for your system and your game.
- -This is the end of the article. Thank you for reading!
- : https://www.pcgamer.com/directx-12-games-list/ 401be4b1e0Si usted está buscando un juego divertido y educativo para su preescolar, es posible que desee comprobar hacia fuera Pistas de Blue Joe’s 3D Scavenger Hunt. Este es un juego basado en el popular programa infantil Blue’s Clues, donde puedes unirte a Joe, Blue y Mailbox mientras exploran su vecindario y buscan artículos para su búsqueda del tesoro. El juego está diseñado para niños de 3 a 6 años y les ayuda a desarrollar sus habilidades de resolución de problemas, memoria y coordinación mano-ojo. En este artículo, te diremos cómo descargar y jugar el juego, qué puedes hacer en el juego, por qué deberías jugar el juego y algunas preguntas frecuentes.
-Descargar y jugar Pistas de Blue La búsqueda del tesoro en 3D de Joe es fácil y simple. Solo sigue estos pasos:
-Download File ✫✫✫ https://bltlly.com/2v6Jz1
En Pistas de Blue Joe’s 3D Scavenger Hunt, puedes hacer muchas actividades divertidas y educativas con Joe, Blue y Mailbox. Estas son algunas de las cosas que puedes hacer en el juego:
-Pistas de Blue Joe’s 3D Scavenger Hunt no es solo un juego divertido para niños en edad preescolar, sino también uno beneficioso. Estas son algunas de las razones por las que deberías jugar el juego:
-En conclusión,Pistas de Blue Joe’s 3D Scavenger Hunt es un juego divertido y educativo para preescolares que puedes descargar y jugar en tu computadora. El juego te permite unirte a Joe, Blue y Mailbox mientras exploran su vecindario y buscan artículos para su búsqueda del tesoro. El juego también ayuda a tu preescolar a desarrollar sus habilidades de resolución de problemas, memoria y coordinación mano-ojo, así como aprender sobre colores, formas, números, letras, animales y más. El juego ha recibido críticas y valoraciones positivas de otros jugadores y padres, y se basa en el episodio "Joe’s 3D Scavenger Hunt" del programa. Si usted está interesado en jugar el juego, puede descargarlo desde el sitio web oficial o la página del Archivo de Internet. ¡Esperamos que te diviertas jugando y aprendiendo con Joe y Blue!
-Aquí están algunas de las preguntas más frecuentes sobre Pistas de Blue Joe’s 3D Scavenger Hunt:
- -'
- else:
- lines[i] = f'
'
- else:
- if i > 0:
- if count % 2 == 1:
- line = line.replace("`", "\`")
- line = line.replace("<", "<")
- line = line.replace(">", ">")
- line = line.replace(" ", " ")
- line = line.replace("*", "*")
- line = line.replace("_", "_")
- line = line.replace("-", "-")
- line = line.replace(".", ".")
- line = line.replace("!", "!")
- line = line.replace("(", "(")
- line = line.replace(")", ")")
- line = line.replace("$", "$")
- lines[i] = "duplicate_fraction | 0.016812865497076057 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
duplicates_dict |
|
This demo showcases IDEFICS, a open-access large visual language model. Like GPT-4, the multimodal model accepts arbitrary sequences of image and text inputs and produces text outputs. IDEFICS can answer questions about images, describe visual content, create stories grounded in multiple images, etc.
-IDEFICS (which stands for Image-aware Decoder Enhanced à la Flamingo with Interleaved Cross-attentionS) is an open-access reproduction of Flamingo, a closed-source visual language model developed by Deepmind. IDEFICS was built solely on publicly available data and models. It is currently the only visual language model of this scale (80 billion parameters) that is available in open-access.
-📚 The variants available in this demo were fine-tuned on a mixture of supervised and instruction fine-tuning datasets to make the models more suitable in conversational settings. For more details, we refer to our blog post.
-🅿️ Intended uses: This demo along with the supporting models are provided as research artifacts to the community. We detail misuses and out-of-scope uses here.
-⛔️ Limitations: The model can produce factually incorrect texts, hallucinate facts (with or without an image) and will struggle with small details in images. While the model will tend to refuse answering questionable user requests, it can produce problematic outputs (including racist, stereotypical, and disrespectful texts), in particular when prompted to do so. We encourage users to read our findings from evaluating the model for potential biases in the model card.
- """) - - # with gr.Row(): - # with gr.Column(scale=2): - with gr.Row(elem_id="model_selector_row"): - model_selector = gr.Dropdown( - choices=MODELS, - value="HuggingFaceM4/idefics-80b-instruct", - interactive=True, - show_label=False, - container=False, - label="Model", - visible=False, - ) - - imagebox = gr.Image(type="filepath", label="Image input", visible=False) - - with gr.Row(): - # def prefetch_images_in_history(user_prompt_str): - # """ - # Pre-fetch the images that are passed in the chatbot default history. - # """ - # return prompt_list_to_markdown(handle_manual_images_in_user_prompt(user_prompt_str)) - - chatbot = gr.Chatbot( - elem_id="chatbot", - label="IDEFICS", - visible=True, - height=750, - avatar_images=[None, BOT_AVATAR] - # value=[ - # [ - # ( - # prefetch_images_in_history( - # """Write a funny story including the following characters. - # There should be drama and most importantly romance. - # Character 1:💡 Pro tip:
- You can input an arbitrary number of images at arbitrary positions in the same query.
- You will need to input each image with its URL with the syntax <fake_token_around_image><image:IMAGE_URL><fake_token_around_image>
.
- For example, for two images, you could input TEXT_1<fake_token_around_image><image:IMAGE_URL_1><fake_token_around_image>TEXT_2<fake_token_around_image><image:IMAGE_URL_2><fake_token_around_image>TEXT_3
.
- In the particular case where two images are consecutive, it is not necessary to add an additional separator: <fake_token_around_image><image:IMAGE_URL_1><fake_token_around_image><image:IMAGE_URL_2><fake_token_around_image>
.
q.dc?"AM":"PM"},"%S":function(q){return V(q.Lc,2)},"%t":function(){return" "},"%u":function(q){return q.Tb||7},"%U":function(q){return V(Math.floor((q.Wb+7-q.Tb)/7),2)},"%V":function(q){var be=Math.floor((q.Wb+7-(q.Tb+6)%7)/7);if(2>=(q.Tb+371-q.Wb-2)%7&&be++,be)be==53&&((Pe=(q.Tb+371-q.Wb)%7)==4||Pe==3&&kt(q.Xb)||(be=1));else{be=52;var Pe=(q.Tb+7-q.Wb-1)%7;(Pe==4||Pe==5&&kt(q.Xb%400-1))&&be++}return V(be,2)},"%w":function(q){return q.Tb},"%W":function(q){return V(Math.floor((q.Wb+7-(q.Tb+6)%7)/7),2)},"%y":function(q){return(q.Xb+1900).toString().substring(2)},"%Y":function(q){return q.Xb+1900},"%z":function(q){var be=0<=(q=q.Jc);return q=Math.abs(q)/60,(be?"+":"-")+("0000"+(q/60*100+q%60)).slice(-4)},"%Z":function(q){return q.Mc},"%%":function(){return"%"}},k=k.replace(/%%/g,"\0\0"),fe)k.includes(ke)&&(k=k.replace(new RegExp(ke,"g"),fe[ke](M)));return ke=function(q){var be=Array(Me(q)+1);return Ce(q,be,0,be.length),be}(k=k.replace(/\0\0/g,"%")),ke.length>A?0:(function(q,be){s().set(q,be>>>0)}(ke,x),ke.length-1)}re.fc();var hn=[null,Ne,It,st,mt,bt,yt,_t,wt,vt,Tt,xt,St,Ot,At,P,D,U,W,Q,G,ge,xe,Ge,Qe,Bt],pn={b:function(x){return Lt(x+24)+24},n:function(x){return(x=new oe(x)).uc()||(x.hc(!0),se--),x.ic(!1),ot.push(x),x.sc(),x.vc()},ma:function(x){throw z("Unexpected exception thrown, this is not properly supported - aborting"),_e=!0,x},x:function(){de(0);var x=ot.pop();if(x.Hc()&&!x.kc()){var A=x.Dc();A&&ye(A)(x.Zb),ft(x.Zb)}ie=0},e:function(){var x=ie;if(!x)return Re=0;var A=new oe(x);A.cc(x);var k=A.bc();if(!k)return Re=0,x;for(var M=Array.prototype.slice.call(arguments),j=0;jL(M));else if(I)postMessage({targetThread:x,cmd:"processProxyingQueue",queue:M});else{if(!(x=re.Vb[x]))return;x.postMessage({cmd:"processProxyingQueue",queue:M})}return 1},Ea:function(){return-1},Pa:function(x,A){x=new Date(1e3*R(x)),f()[A>>2>>>0]=x.getUTCSeconds(),f()[A+4>>2>>>0]=x.getUTCMinutes(),f()[A+8>>2>>>0]=x.getUTCHours(),f()[A+12>>2>>>0]=x.getUTCDate(),f()[A+16>>2>>>0]=x.getUTCMonth(),f()[A+20>>2>>>0]=x.getUTCFullYear()-1900,f()[A+24>>2>>>0]=x.getUTCDay(),x=(x.getTime()-Date.UTC(x.getUTCFullYear(),0,1,0,0,0,0))/864e5|0,f()[A+28>>2>>>0]=x},Qa:function(x,A){x=new Date(1e3*R(x)),f()[A>>2>>>0]=x.getSeconds(),f()[A+4>>2>>>0]=x.getMinutes(),f()[A+8>>2>>>0]=x.getHours(),f()[A+12>>2>>>0]=x.getDate(),f()[A+16>>2>>>0]=x.getMonth(),f()[A+20>>2>>>0]=x.getFullYear()-1900,f()[A+24>>2>>>0]=x.getDay();var k=new Date(x.getFullYear(),0,1),M=(x.getTime()-k.getTime())/864e5|0;f()[A+28>>2>>>0]=M,f()[A+36>>2>>>0]=-60*x.getTimezoneOffset(),M=new Date(x.getFullYear(),6,1).getTimezoneOffset(),x=0|(M!=(k=k.getTimezoneOffset())&&x.getTimezoneOffset()==Math.min(k,M)),f()[A+32>>2>>>0]=x},Ra:function(x){var A=new Date(f()[x+20>>2>>>0]+1900,f()[x+16>>2>>>0],f()[x+12>>2>>>0],f()[x+8>>2>>>0],f()[x+4>>2>>>0],f()[x>>2>>>0],0),k=f()[x+32>>2>>>0],M=A.getTimezoneOffset(),j=new Date(A.getFullYear(),0,1),V=new Date(A.getFullYear(),6,1).getTimezoneOffset(),K=j.getTimezoneOffset(),ee=Math.min(K,V);return 0>k?f()[x+32>>2>>>0]=+(V!=K&&ee==M):0 >2>>>0]=A.getDay(),k=(A.getTime()-j.getTime())/864e5|0,f()[x+28>>2>>>0]=k,f()[x>>2>>>0]=A.getSeconds(),f()[x+4>>2>>>0]=A.getMinutes(),f()[x+8>>2>>>0]=A.getHours(),f()[x+12>>2>>>0]=A.getDate(),f()[x+16>>2>>>0]=A.getMonth(),A.getTime()/1e3|0},Aa:U,Ba:W,Sa:function x(A,k,M){x.Ac||(x.Ac=!0,Q(A,k,M))},y:function(){pe("")},U:function(){if(!T&&!E){var x="Blocking on the main thread is very dangerous, see https://emscripten.org/docs/porting/pthreads.html#blocking-on-the-main-browser-thread";it||(it={}),it[x]||(it[x]=1,T&&(x="warning: "+x),z(x))}},ra:function(){return 4294901760},B:pt,Ia:function(x,A,k){h().copyWithin(x>>>0,A>>>0,A+k>>>0)},F:function(){return T?u(3993).cpus().length:navigator.hardwareConcurrency},Da:function(x,A,k){we.length=A,k>>=3;for(var M=0;M>>0];return(0>x?Et[-x-1]:hn[x]).apply(null,we)},qa:function(x){var A=h().length;if((x>>>=0)<=A||4294901760 =k;k*=2){var M=A*(1+.2/k);M=Math.min(M,x+100663296);var j=Math;M=Math.max(x,M),j=j.min.call(j,4294901760,M+(65536-M%65536)%65536);e:{try{X.grow(j-ne.byteLength+65535>>>16),Ee(X.buffer);var V=1;break e}catch{}V=void 0}if(V)return!0}return!1},Na:function(){throw"unwind"},Ga:G,Ha:ge,J:rt,I:xe,S:Ge,ga:Qe,R:Bt,d:function(){return Re},na:function x(A,k){x.lc||(x.lc=function(){if(typeof crypto=="object"&&typeof crypto.getRandomValues=="function"){var j=new Uint8Array(1);return()=>(crypto.getRandomValues(j),j[0])}if(T)try{var V=u(Object(function(){var K=new Error("Cannot find module 'crypto'");throw K.code="MODULE_NOT_FOUND",K}()));return()=>V.randomBytes(1)[0]}catch{}return()=>pe("randomDevice")}());for(var M=0;M >0>>>0]=x.lc();return 0},ia:function(x,A,k){var M=le();try{return ye(x)(A,k)}catch(j){if(ue(M),j!==j+0)throw j;de(1,0)}},ja:function(x,A,k){var M=le();try{return ye(x)(A,k)}catch(j){if(ue(M),j!==j+0)throw j;de(1,0)}},K:function(x){var A=le();try{return ye(x)()}catch(k){if(ue(A),k!==k+0)throw k;de(1,0)}},f:function(x,A){var k=le();try{return ye(x)(A)}catch(M){if(ue(k),M!==M+0)throw M;de(1,0)}},P:function(x,A,k){var M=le();try{return ye(x)(A,k)}catch(j){if(ue(M),j!==j+0)throw j;de(1,0)}},Q:function(x,A,k){var M=le();try{return ye(x)(A,k)}catch(j){if(ue(M),j!==j+0)throw j;de(1,0)}},k:function(x,A,k){var M=le();try{return ye(x)(A,k)}catch(j){if(ue(M),j!==j+0)throw j;de(1,0)}},p:function(x,A,k,M){var j=le();try{return ye(x)(A,k,M)}catch(V){if(ue(j),V!==V+0)throw V;de(1,0)}},q:function(x,A,k,M,j){var V=le();try{return ye(x)(A,k,M,j)}catch(K){if(ue(V),K!==K+0)throw K;de(1,0)}},N:function(x,A,k,M,j,V){var K=le();try{return ye(x)(A,k,M,j,V)}catch(ee){if(ue(K),ee!==ee+0)throw ee;de(1,0)}},s:function(x,A,k,M,j,V){var K=le();try{return ye(x)(A,k,M,j,V)}catch(ee){if(ue(K),ee!==ee+0)throw ee;de(1,0)}},w:function(x,A,k,M,j,V,K){var ee=le();try{return ye(x)(A,k,M,j,V,K)}catch(he){if(ue(ee),he!==he+0)throw he;de(1,0)}},L:function(x,A,k,M,j,V,K,ee){var he=le();try{return ye(x)(A,k,M,j,V,K,ee)}catch(fe){if(ue(he),fe!==fe+0)throw fe;de(1,0)}},E:function(x,A,k,M,j,V,K,ee,he,fe,ke,Ye){var qe=le();try{return ye(x)(A,k,M,j,V,K,ee,he,fe,ke,Ye)}catch(q){if(ue(qe),q!==q+0)throw q;de(1,0)}},aa:function(x,A,k,M,j,V,K,ee){var he=le();try{return un(x,A,k,M,j,V,K,ee)}catch(fe){if(ue(he),fe!==fe+0)throw fe;de(1,0)}},_:function(x,A,k,M,j,V,K){var ee=le();try{return en(x,A,k,M,j,V,K)}catch(he){if(ue(ee),he!==he+0)throw he;de(1,0)}},Z:function(x,A,k,M,j){var V=le();try{return ln(x,A,k,M,j)}catch(K){if(ue(V),K!==K+0)throw K;de(1,0)}},ca:function(x,A,k,M){var j=le();try{return sn(x,A,k,M)}catch(V){if(ue(j),V!==V+0)throw V;de(1,0)}},$:function(x){var A=le();try{return Qt(x)}catch(k){if(ue(A),k!==k+0)throw k;de(1,0)}},ba:function(x,A){var k=le();try{return an(x,A)}catch(M){if(ue(k),M!==M+0)throw M;de(1,0)}},Y:function(x,A,k){var M=le();try{return tn(x,A,k)}catch(j){if(ue(M),j!==j+0)throw j;de(1,0)}},g:function(x){var A=le();try{ye(x)()}catch(k){if(ue(A),k!==k+0)throw k;de(1,0)}},r:function(x,A){var k=le();try{ye(x)(A)}catch(M){if(ue(k),M!==M+0)throw M;de(1,0)}},i:function(x,A,k){var M=le();try{ye(x)(A,k)}catch(j){if(ue(M),j!==j+0)throw j;de(1,0)}},ha:function(x,A,k,M){var j=le();try{ye(x)(A,k,M)}catch(V){if(ue(j),V!==V+0)throw V;de(1,0)}},m:function(x,A,k,M){var j=le();try{ye(x)(A,k,M)}catch(V){if(ue(j),V!==V+0)throw V;de(1,0)}},v:function(x,A,k,M,j){var V=le();try{ye(x)(A,k,M,j)}catch(K){if(ue(V),K!==K+0)throw K;de(1,0)}},u:function(x,A,k,M,j,V){var K=le();try{ye(x)(A,k,M,j,V)}catch(ee){if(ue(K),ee!==ee+0)throw ee;de(1,0)}},O:function(x,A,k,M,j,V,K){var ee=le();try{ye(x)(A,k,M,j,V,K)}catch(he){if(ue(ee),he!==he+0)throw he;de(1,0)}},A:function(x,A,k,M,j,V,K,ee){var he=le();try{ye(x)(A,k,M,j,V,K,ee)}catch(fe){if(ue(he),fe!==fe+0)throw fe;de(1,0)}},ka:function(x,A,k,M,j,V,K,ee,he){var fe=le();try{ye(x)(A,k,M,j,V,K,ee,he)}catch(ke){if(ue(fe),ke!==ke+0)throw ke;de(1,0)}},C:function(x,A,k,M,j,V,K,ee,he,fe,ke){var Ye=le();try{ye(x)(A,k,M,j,V,K,ee,he,fe,ke)}catch(qe){if(ue(Ye),qe!==qe+0)throw qe;de(1,0)}},D:function(x,A,k,M,j,V,K,ee,he,fe,ke,Ye,qe,q,be,Pe){var et=le();try{ye(x)(A,k,M,j,V,K,ee,he,fe,ke,Ye,qe,q,be,Pe)}catch(dt){if(ue(et),dt!==dt+0)throw dt;de(1,0)}},fa:function(x,A,k,M,j,V,K,ee){var he=le();try{nn(x,A,k,M,j,V,K,ee)}catch(fe){if(ue(he),fe!==fe+0)throw fe;de(1,0)}},da:function(x,A,k,M,j,V,K,ee,he,fe,ke,Ye){var qe=le();try{on(x,A,k,M,j,V,K,ee,he,fe,ke,Ye)}catch(q){if(ue(qe),q!==q+0)throw q;de(1,0)}},ea:function(x,A,k,M,j,V){var K=le();try{rn(x,A,k,M,j,V)}catch(ee){if(ue(K),ee!==ee+0)throw ee;de(1,0)}},o:function(x){return x},a:X||t.wasmMemory,G:function(x){Re=x},la:Vt,z:function(x,A,k,M){return Vt(x,A,k,M)}};(function(){function x(j,V){t.asm=j.exports,re.qc.push(t.asm.sb),je=t.asm.ub,Ue.unshift(t.asm.Va),te=V,I||(Fe--,t.monitorRunDependencies&&t.monitorRunDependencies(Fe),Fe==0&&Xe&&(j=Xe,Xe=null,j()))}function A(j){x(j.instance,j.module)}function k(j){return function(){if(!H&&(O||E)){if(typeof fetch=="function"&&!Se.startsWith("file://"))return fetch(Se,{credentials:"same-origin"}).then(function(V){if(!V.ok)throw"failed to load wasm binary file at '"+Se+"'";return V.arrayBuffer()}).catch(function(){return ut()});if(c)return new Promise(function(V,K){c(Se,function(ee){V(new Uint8Array(ee))},K)})}return Promise.resolve().then(function(){return ut()})}().then(function(V){return WebAssembly.instantiate(V,M)}).then(function(V){return V}).then(j,function(V){z("failed to asynchronously prepare wasm: "+V),pe(V)})}var M={a:pn};if(I||(Fe++,t.monitorRunDependencies&&t.monitorRunDependencies(Fe)),t.instantiateWasm)try{return t.instantiateWasm(M,x)}catch(j){return z("Module.instantiateWasm callback failed with error: "+j),!1}(H||typeof WebAssembly.instantiateStreaming!="function"||ht()||Se.startsWith("file://")||T||typeof fetch!="function"?k(A):fetch(Se,{credentials:"same-origin"}).then(function(j){return WebAssembly.instantiateStreaming(j,M).then(A,function(V){return z("wasm streaming compile failed: "+V),z("falling back to ArrayBuffer instantiation"),k(A)})})).catch(r)})(),t.___wasm_call_ctors=function(){return(t.___wasm_call_ctors=t.asm.Va).apply(null,arguments)},t._OrtInit=function(){return(t._OrtInit=t.asm.Wa).apply(null,arguments)},t._OrtCreateSessionOptions=function(){return(t._OrtCreateSessionOptions=t.asm.Xa).apply(null,arguments)},t._OrtAppendExecutionProvider=function(){return(t._OrtAppendExecutionProvider=t.asm.Ya).apply(null,arguments)},t._OrtAddSessionConfigEntry=function(){return(t._OrtAddSessionConfigEntry=t.asm.Za).apply(null,arguments)},t._OrtReleaseSessionOptions=function(){return(t._OrtReleaseSessionOptions=t.asm._a).apply(null,arguments)},t._OrtCreateSession=function(){return(t._OrtCreateSession=t.asm.$a).apply(null,arguments)},t._OrtReleaseSession=function(){return(t._OrtReleaseSession=t.asm.ab).apply(null,arguments)},t._OrtGetInputCount=function(){return(t._OrtGetInputCount=t.asm.bb).apply(null,arguments)},t._OrtGetOutputCount=function(){return(t._OrtGetOutputCount=t.asm.cb).apply(null,arguments)},t._OrtGetInputName=function(){return(t._OrtGetInputName=t.asm.db).apply(null,arguments)},t._OrtGetOutputName=function(){return(t._OrtGetOutputName=t.asm.eb).apply(null,arguments)},t._OrtFree=function(){return(t._OrtFree=t.asm.fb).apply(null,arguments)},t._OrtCreateTensor=function(){return(t._OrtCreateTensor=t.asm.gb).apply(null,arguments)},t._OrtGetTensorData=function(){return(t._OrtGetTensorData=t.asm.hb).apply(null,arguments)},t._OrtReleaseTensor=function(){return(t._OrtReleaseTensor=t.asm.ib).apply(null,arguments)},t._OrtCreateRunOptions=function(){return(t._OrtCreateRunOptions=t.asm.jb).apply(null,arguments)},t._OrtAddRunConfigEntry=function(){return(t._OrtAddRunConfigEntry=t.asm.kb).apply(null,arguments)},t._OrtReleaseRunOptions=function(){return(t._OrtReleaseRunOptions=t.asm.lb).apply(null,arguments)},t._OrtRun=function(){return(t._OrtRun=t.asm.mb).apply(null,arguments)},t._OrtEndProfiling=function(){return(t._OrtEndProfiling=t.asm.nb).apply(null,arguments)};var Dt=t._pthread_self=function(){return(Dt=t._pthread_self=t.asm.ob).apply(null,arguments)},Lt=t._malloc=function(){return(Lt=t._malloc=t.asm.pb).apply(null,arguments)},Gt=t._free=function(){return(Gt=t._free=t.asm.qb).apply(null,arguments)},qt=t._fflush=function(){return(qt=t._fflush=t.asm.rb).apply(null,arguments)};t.__emscripten_tls_init=function(){return(t.__emscripten_tls_init=t.asm.sb).apply(null,arguments)};var Wt=t.___funcs_on_exit=function(){return(Wt=t.___funcs_on_exit=t.asm.tb).apply(null,arguments)},Ht=t.__emscripten_thread_init=function(){return(Ht=t.__emscripten_thread_init=t.asm.vb).apply(null,arguments)};t.__emscripten_thread_crashed=function(){return(t.__emscripten_thread_crashed=t.asm.wb).apply(null,arguments)};var Mt,Xt=t._emscripten_run_in_main_runtime_thread_js=function(){return(Xt=t._emscripten_run_in_main_runtime_thread_js=t.asm.xb).apply(null,arguments)},Yt=t.__emscripten_proxy_execute_task_queue=function(){return(Yt=t.__emscripten_proxy_execute_task_queue=t.asm.yb).apply(null,arguments)},Ft=t.__emscripten_thread_free_data=function(){return(Ft=t.__emscripten_thread_free_data=t.asm.zb).apply(null,arguments)},Kt=t.__emscripten_thread_exit=function(){return(Kt=t.__emscripten_thread_exit=t.asm.Ab).apply(null,arguments)},de=t._setThrew=function(){return(de=t._setThrew=t.asm.Bb).apply(null,arguments)},Zt=t._emscripten_stack_set_limits=function(){return(Zt=t._emscripten_stack_set_limits=t.asm.Cb).apply(null,arguments)},le=t.stackSave=function(){return(le=t.stackSave=t.asm.Db).apply(null,arguments)},ue=t.stackRestore=function(){return(ue=t.stackRestore=t.asm.Eb).apply(null,arguments)},Rt=t.stackAlloc=function(){return(Rt=t.stackAlloc=t.asm.Fb).apply(null,arguments)},$t=t.___cxa_can_catch=function(){return($t=t.___cxa_can_catch=t.asm.Gb).apply(null,arguments)},Jt=t.___cxa_is_pointer_type=function(){return(Jt=t.___cxa_is_pointer_type=t.asm.Hb).apply(null,arguments)},Qt=t.dynCall_j=function(){return(Qt=t.dynCall_j=t.asm.Ib).apply(null,arguments)},en=t.dynCall_iiiiij=function(){return(en=t.dynCall_iiiiij=t.asm.Jb).apply(null,arguments)},tn=t.dynCall_jii=function(){return(tn=t.dynCall_jii=t.asm.Kb).apply(null,arguments)},nn=t.dynCall_viiiiij=function(){return(nn=t.dynCall_viiiiij=t.asm.Lb).apply(null,arguments)},rn=t.dynCall_vjji=function(){return(rn=t.dynCall_vjji=t.asm.Mb).apply(null,arguments)},on=t.dynCall_viiijjjii=function(){return(on=t.dynCall_viiijjjii=t.asm.Nb).apply(null,arguments)},sn=t.dynCall_iij=function(){return(sn=t.dynCall_iij=t.asm.Ob).apply(null,arguments)},an=t.dynCall_ji=function(){return(an=t.dynCall_ji=t.asm.Pb).apply(null,arguments)},un=t.dynCall_iiiiiij=function(){return(un=t.dynCall_iiiiiij=t.asm.Qb).apply(null,arguments)},ln=t.dynCall_iiij=function(){return(ln=t.dynCall_iiij=t.asm.Rb).apply(null,arguments)};function cn(){function x(){if(!Mt&&(Mt=!0,t.calledRun=!0,!_e)&&(I||nt(Ue),e(t),t.onRuntimeInitialized&&t.onRuntimeInitialized(),!I)){if(t.postRun)for(typeof t.postRun=="function"&&(t.postRun=[t.postRun]);t.postRun.length;){var A=t.postRun.shift();Ke.unshift(A)}nt(Ke)}}if(!(0 {var d,l=(d=(d=typeof document<"u"&&document.currentScript?document.currentScript.src:void 0)||"/index.js",function(p){var s,h,f;p=p||{},s||(s=p!==void 0?p:{}),s.ready=new Promise(function(P,D){h=P,f=D});var a,o,t,e,r,i,c=Object.assign({},s),g="./this.program",m=(P,D)=>{throw D},b=typeof window=="object",_=typeof importScripts=="function",w=typeof process=="object"&&typeof process.versions=="object"&&typeof process.versions.node=="string",v="";w?(v=_?u(908).dirname(v)+"/":"//",i=()=>{r||(e=u(1384),r=u(908))},a=function(P,D){return i(),P=r.normalize(P),e.readFileSync(P,D?void 0:"utf8")},t=P=>((P=a(P,!0)).buffer||(P=new Uint8Array(P)),P),o=(P,D,L)=>{i(),P=r.normalize(P),e.readFile(P,function(R,U){R?L(R):D(U.buffer)})},1 {if(T||0 {var D=new XMLHttpRequest;return D.open("GET",P,!1),D.send(null),D.responseText},_&&(t=P=>{var D=new XMLHttpRequest;return D.open("GET",P,!1),D.responseType="arraybuffer",D.send(null),new Uint8Array(D.response)}),o=(P,D,L)=>{var R=new XMLHttpRequest;R.open("GET",P,!0),R.responseType="arraybuffer",R.onload=()=>{R.status==200||R.status==0&&R.response?D(R.response):L()},R.onerror=L,R.send(null)});var S,O=s.print||console.log.bind(console),E=s.printErr||console.warn.bind(console);Object.assign(s,c),c=null,s.thisProgram&&(g=s.thisProgram),s.quit&&(m=s.quit),s.wasmBinary&&(S=s.wasmBinary);var T=s.noExitRuntime||!1;typeof WebAssembly!="object"&&Ee("no native wasm support detected");var I,C,B,F,N,H,$=!1,z=typeof TextDecoder<"u"?new TextDecoder("utf8"):void 0;function J(P,D,L){var R=(D>>>=0)+L;for(L=D;P[L]&&!(L>=R);)++L;if(16 (U=(240&U)==224?(15&U)<<12|W<<6|Y:(7&U)<<18|W<<12|Y<<6|63&P[D++])?R+=String.fromCharCode(U):(U-=65536,R+=String.fromCharCode(55296|U>>10,56320|1023&U))}}else R+=String.fromCharCode(U)}return R}function X(P,D){return(P>>>=0)?J(F,P,D):""}function te(P,D,L,R){if(!(0 >>=0;R=L+R-1;for(var W=0;W =Y&&(Y=65536+((1023&Y)<<10)|1023&P.charCodeAt(++W)),127>=Y){if(L>=R)break;D[L++>>>0]=Y}else{if(2047>=Y){if(L+1>=R)break;D[L++>>>0]=192|Y>>6}else{if(65535>=Y){if(L+2>=R)break;D[L++>>>0]=224|Y>>12}else{if(L+3>=R)break;D[L++>>>0]=240|Y>>18,D[L++>>>0]=128|Y>>12&63}D[L++>>>0]=128|Y>>6&63}D[L++>>>0]=128|63&Y}}return D[L>>>0]=0,L-U}function ne(P){for(var D=0,L=0;L =R?D++:2047>=R?D+=2:55296<=R&&57343>=R?(D+=4,++L):D+=3}return D}function me(){var P=I.buffer;C=P,s.HEAP8=B=new Int8Array(P),s.HEAP16=new Int16Array(P),s.HEAP32=N=new Int32Array(P),s.HEAPU8=F=new Uint8Array(P),s.HEAPU16=new Uint16Array(P),s.HEAPU32=H=new Uint32Array(P),s.HEAPF32=new Float32Array(P),s.HEAPF64=new Float64Array(P)}var Ie,Oe=[],ce=[],Te=[],_e=[],Le=0;function We(){var P=s.preRun.shift();Oe.unshift(P)}var Ae,Ce=0,Me=null;function Ee(P){throw s.onAbort&&s.onAbort(P),E(P="Aborted("+P+")"),$=!0,P=new WebAssembly.RuntimeError(P+". Build with -sASSERTIONS for more info."),f(P),P}function ve(){return Ae.startsWith("data:application/octet-stream;base64,")}if(Ae="ort-wasm.wasm",!ve()){var je=Ae;Ae=s.locateFile?s.locateFile(je,v):v+je}function ze(){var P=Ae;try{if(P==Ae&&S)return new Uint8Array(S);if(t)return t(P);throw"both async and sync fetching of the wasm failed"}catch(D){Ee(D)}}function Ue(P){this.name="ExitStatus",this.message="Program terminated with exit("+P+")",this.status=P}function He(P){for(;0 >2>>>0]=D},this.Eb=function(){return H[this.zb+4>>2>>>0]},this.Sb=function(D){H[this.zb+8>>2>>>0]=D},this.Wb=function(){return H[this.zb+8>>2>>>0]},this.Tb=function(){N[this.zb>>2>>>0]=0},this.Ib=function(D){B[this.zb+12>>0>>>0]=D?1:0},this.Pb=function(){return B[this.zb+12>>0>>>0]!=0},this.Jb=function(D){B[this.zb+13>>0>>>0]=D?1:0},this.Lb=function(){return B[this.zb+13>>0>>>0]!=0},this.Rb=function(D,L){this.Fb(0),this.Ub(D),this.Sb(L),this.Tb(),this.Ib(!1),this.Jb(!1)},this.Nb=function(){N[this.zb>>2>>>0]+=1},this.Xb=function(){var D=N[this.zb>>2>>>0];return N[this.zb>>2>>>0]=D-1,D===1},this.Fb=function(D){H[this.zb+16>>2>>>0]=D},this.Ob=function(){return H[this.zb+16>>2>>>0]},this.Qb=function(){if(gt(this.Eb()))return H[this.Db>>2>>>0];var D=this.Ob();return D!==0?D:this.Db}}function Fe(P){return it(new Se(P).zb)}var Xe=[];function pe(P){var D=Xe[P];return D||(P>=Xe.length&&(Xe.length=P+1),Xe[P]=D=Ie.get(P)),D}function ht(P){var D=ne(P)+1,L=ye(D);return L&&te(P,B,L,D),L}var ut={};function Et(){if(!Ze){var P,D={USER:"web_user",LOGNAME:"web_user",PATH:"/",PWD:"/",HOME:"/home/web_user",LANG:(typeof navigator=="object"&&navigator.languages&&navigator.languages[0]||"C").replace("-","_")+".UTF-8",_:g||"./this.program"};for(P in ut)ut[P]===void 0?delete D[P]:D[P]=ut[P];var L=[];for(P in D)L.push(P+"="+D[P]);Ze=L}return Ze}var Ze,lt=[null,[],[]];function ct(P,D){var L=lt[P];D===0||D===10?((P===1?O:E)(J(L,0)),L.length=0):L.push(D)}var Ne=0;function rt(P){return P%4==0&&(P%100!=0||P%400==0)}var re=[31,29,31,30,31,30,31,31,30,31,30,31],nt=[31,28,31,30,31,30,31,31,30,31,30,31];function Pt(P,D,L,R){function U(G,ge,xe){for(G=typeof G=="number"?G.toString():G||"";G.length Qe?-1:0 Ge-G.getDate())){G.setDate(G.getDate()+ge);break}ge-=Ge-G.getDate()+1,G.setDate(1),11>xe?G.setMonth(xe+1):(G.setMonth(0),G.setFullYear(G.getFullYear()+1))}return xe=new Date(G.getFullYear()+1,0,4),ge=Q(new Date(G.getFullYear(),0,4)),xe=Q(xe),0>=Y(ge,G)?0>=Y(xe,G)?G.getFullYear()+1:G.getFullYear():G.getFullYear()-1}var ae=N[R+40>>2>>>0];for(var we in R={$b:N[R>>2>>>0],Zb:N[R+4>>2>>>0],Gb:N[R+8>>2>>>0],Kb:N[R+12>>2>>>0],Hb:N[R+16>>2>>>0],Cb:N[R+20>>2>>>0],Ab:N[R+24>>2>>>0],Bb:N[R+28>>2>>>0],bc:N[R+32>>2>>>0],Yb:N[R+36>>2>>>0],ac:ae?X(ae):""},L=X(L),ae={"%c":"%a %b %d %H:%M:%S %Y","%D":"%m/%d/%y","%F":"%Y-%m-%d","%h":"%b","%r":"%I:%M:%S %p","%R":"%H:%M","%T":"%H:%M:%S","%x":"%m/%d/%y","%X":"%H:%M:%S","%Ec":"%c","%EC":"%C","%Ex":"%m/%d/%y","%EX":"%H:%M:%S","%Ey":"%y","%EY":"%Y","%Od":"%d","%Oe":"%e","%OH":"%H","%OI":"%I","%Om":"%m","%OM":"%M","%OS":"%S","%Ou":"%u","%OU":"%U","%OV":"%V","%Ow":"%w","%OW":"%W","%Oy":"%y"})L=L.replace(new RegExp(we,"g"),ae[we]);var $e="Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),De="January February March April May June July August September October November December".split(" ");for(we in ae={"%a":function(G){return $e[G.Ab].substring(0,3)},"%A":function(G){return $e[G.Ab]},"%b":function(G){return De[G.Hb].substring(0,3)},"%B":function(G){return De[G.Hb]},"%C":function(G){return W((G.Cb+1900)/100|0,2)},"%d":function(G){return W(G.Kb,2)},"%e":function(G){return U(G.Kb,2," ")},"%g":function(G){return Z(G).toString().substring(2)},"%G":function(G){return Z(G)},"%H":function(G){return W(G.Gb,2)},"%I":function(G){return(G=G.Gb)==0?G=12:12 G.Gb?"AM":"PM"},"%S":function(G){return W(G.$b,2)},"%t":function(){return" "},"%u":function(G){return G.Ab||7},"%U":function(G){return W(Math.floor((G.Bb+7-G.Ab)/7),2)},"%V":function(G){var ge=Math.floor((G.Bb+7-(G.Ab+6)%7)/7);if(2>=(G.Ab+371-G.Bb-2)%7&&ge++,ge)ge==53&&((xe=(G.Ab+371-G.Bb)%7)==4||xe==3&&rt(G.Cb)||(ge=1));else{ge=52;var xe=(G.Ab+7-G.Bb-1)%7;(xe==4||xe==5&&rt(G.Cb%400-1))&&ge++}return W(ge,2)},"%w":function(G){return G.Ab},"%W":function(G){return W(Math.floor((G.Bb+7-(G.Ab+6)%7)/7),2)},"%y":function(G){return(G.Cb+1900).toString().substring(2)},"%Y":function(G){return G.Cb+1900},"%z":function(G){var ge=0<=(G=G.Yb);return G=Math.abs(G)/60,(ge?"+":"-")+("0000"+(G/60*100+G%60)).slice(-4)},"%Z":function(G){return G.ac},"%%":function(){return"%"}},L=L.replace(/%%/g,"\0\0"),ae)L.includes(we)&&(L=L.replace(new RegExp(we,"g"),ae[we](R)));return we=function(G){var ge=Array(ne(G)+1);return te(G,ge,0,ge.length),ge}(L=L.replace(/\0\0/g,"%")),we.length>D?0:(B.set(we,P>>>0),we.length-1)}var It={a:function(P){return ye(P+24)+24},m:function(P){return(P=new Se(P)).Pb()||(P.Ib(!0),Ve--),P.Jb(!1),Ke.push(P),P.Nb(),P.Qb()},ia:function(P){throw E("Unexpected exception thrown, this is not properly supported - aborting"),$=!0,P},w:function(){se(0);var P=Ke.pop();if(P.Xb()&&!P.Lb()){var D=P.Wb();D&&pe(D)(P.Db),Fe(P.Db)}Be=0},d:function(){var P=Be;if(!P)return Ne=0;var D=new Se(P);D.Fb(P);var L=D.Eb();if(!L)return Ne=0,P;for(var R=Array.prototype.slice.call(arguments),U=0;U >>2]+4294967296*N[P+4>>>2])),N[D>>2>>>0]=P.getUTCSeconds(),N[D+4>>2>>>0]=P.getUTCMinutes(),N[D+8>>2>>>0]=P.getUTCHours(),N[D+12>>2>>>0]=P.getUTCDate(),N[D+16>>2>>>0]=P.getUTCMonth(),N[D+20>>2>>>0]=P.getUTCFullYear()-1900,N[D+24>>2>>>0]=P.getUTCDay(),N[D+28>>2>>>0]=(P.getTime()-Date.UTC(P.getUTCFullYear(),0,1,0,0,0,0))/864e5|0},Ea:function(P,D){P=new Date(1e3*(H[P>>>2]+4294967296*N[P+4>>>2])),N[D>>2>>>0]=P.getSeconds(),N[D+4>>2>>>0]=P.getMinutes(),N[D+8>>2>>>0]=P.getHours(),N[D+12>>2>>>0]=P.getDate(),N[D+16>>2>>>0]=P.getMonth(),N[D+20>>2>>>0]=P.getFullYear()-1900,N[D+24>>2>>>0]=P.getDay();var L=new Date(P.getFullYear(),0,1);N[D+28>>2>>>0]=(P.getTime()-L.getTime())/864e5|0,N[D+36>>2>>>0]=-60*P.getTimezoneOffset();var R=new Date(P.getFullYear(),6,1).getTimezoneOffset();L=L.getTimezoneOffset(),N[D+32>>2>>>0]=0|(R!=L&&P.getTimezoneOffset()==Math.min(L,R))},Fa:function(P){var D=new Date(N[P+20>>2>>>0]+1900,N[P+16>>2>>>0],N[P+12>>2>>>0],N[P+8>>2>>>0],N[P+4>>2>>>0],N[P>>2>>>0],0),L=N[P+32>>2>>>0],R=D.getTimezoneOffset(),U=new Date(D.getFullYear(),0,1),W=new Date(D.getFullYear(),6,1).getTimezoneOffset(),Y=U.getTimezoneOffset(),Q=Math.min(Y,W);return 0>L?N[P+32>>2>>>0]=+(W!=Y&&Q==R):0 >2>>>0]=D.getDay(),N[P+28>>2>>>0]=(D.getTime()-U.getTime())/864e5|0,N[P>>2>>>0]=D.getSeconds(),N[P+4>>2>>>0]=D.getMinutes(),N[P+8>>2>>>0]=D.getHours(),N[P+12>>2>>>0]=D.getDate(),N[P+16>>2>>>0]=D.getMonth(),D.getTime()/1e3|0},sa:function(){return-52},ta:function(){},Ga:function P(D,L,R){P.Vb||(P.Vb=!0,function(U,W,Y){function Q(De){return(De=De.toTimeString().match(/\(([A-Za-z ]+)\)$/))?De[1]:"GMT"}var Z=new Date().getFullYear(),ae=new Date(Z,0,1),we=new Date(Z,6,1);Z=ae.getTimezoneOffset();var $e=we.getTimezoneOffset();N[U>>2>>>0]=60*Math.max(Z,$e),N[W>>2>>>0]=+(Z!=$e),U=Q(ae),W=Q(we),U=ht(U),W=ht(W),$e >2>>>0]=U,H[Y+4>>2>>>0]=W):(H[Y>>2>>>0]=W,H[Y+4>>2>>>0]=U)}(D,L,R))},B:function(){Ee("")},ma:function(){return 4294901760},I:w?()=>{var P=process.hrtime();return 1e3*P[0]+P[1]/1e6}:()=>performance.now(),xa:function(P,D,L){F.copyWithin(P>>>0,D>>>0,D+L>>>0)},G:function(P){var D=F.length;if(4294901760<(P>>>=0))return!1;for(var L=1;4>=L;L*=2){var R=D*(1+.2/L);R=Math.min(R,P+100663296);var U=Math;R=Math.max(P,R),U=U.min.call(U,4294901760,R+(65536-R%65536)%65536);e:{try{I.grow(U-C.byteLength+65535>>>16),me();var W=1;break e}catch{}W=void 0}if(W)return!0}return!1},va:function(P,D){var L=0;return Et().forEach(function(R,U){var W=D+L;for(U=H[P+4*U>>2>>>0]=W,W=0;W >0>>>0]=R.charCodeAt(W);B[U>>0>>>0]=0,L+=R.length+1}),0},wa:function(P,D){var L=Et();H[P>>2>>>0]=L.length;var R=0;return L.forEach(function(U){R+=U.length+1}),H[D>>2>>>0]=R,0},ba:function(P){T||0 >2>>>0],Q=H[D+4>>2>>>0];D+=8;for(var Z=0;Z >>0]);U+=Q}return H[R>>2>>>0]=U,0},c:function(){return Ne},ja:function P(D,L){P.Mb||(P.Mb=function(){if(typeof crypto=="object"&&typeof crypto.getRandomValues=="function"){var U=new Uint8Array(1);return()=>(crypto.getRandomValues(U),U[0])}if(w)try{var W=u(Object(function(){var Y=new Error("Cannot find module 'crypto'");throw Y.code="MODULE_NOT_FOUND",Y}()));return()=>W.randomBytes(1)[0]}catch{}return()=>Ee("randomDevice")}());for(var R=0;R>0>>>0]=P.Mb();return 0},ea:function(P,D,L){var R=ie();try{return pe(P)(D,L)}catch(U){if(oe(R),U!==U+0)throw U;se(1,0)}},fa:function(P,D,L){var R=ie();try{return pe(P)(D,L)}catch(U){if(oe(R),U!==U+0)throw U;se(1,0)}},J:function(P){var D=ie();try{return pe(P)()}catch(L){if(oe(D),L!==L+0)throw L;se(1,0)}},e:function(P,D){var L=ie();try{return pe(P)(D)}catch(R){if(oe(L),R!==R+0)throw R;se(1,0)}},N:function(P,D,L){var R=ie();try{return pe(P)(D,L)}catch(U){if(oe(R),U!==U+0)throw U;se(1,0)}},O:function(P,D,L){var R=ie();try{return pe(P)(D,L)}catch(U){if(oe(R),U!==U+0)throw U;se(1,0)}},j:function(P,D,L){var R=ie();try{return pe(P)(D,L)}catch(U){if(oe(R),U!==U+0)throw U;se(1,0)}},o:function(P,D,L,R){var U=ie();try{return pe(P)(D,L,R)}catch(W){if(oe(U),W!==W+0)throw W;se(1,0)}},p:function(P,D,L,R,U){var W=ie();try{return pe(P)(D,L,R,U)}catch(Y){if(oe(W),Y!==Y+0)throw Y;se(1,0)}},M:function(P,D,L,R,U,W){var Y=ie();try{return pe(P)(D,L,R,U,W)}catch(Q){if(oe(Y),Q!==Q+0)throw Q;se(1,0)}},r:function(P,D,L,R,U,W){var Y=ie();try{return pe(P)(D,L,R,U,W)}catch(Q){if(oe(Y),Q!==Q+0)throw Q;se(1,0)}},v:function(P,D,L,R,U,W,Y){var Q=ie();try{return pe(P)(D,L,R,U,W,Y)}catch(Z){if(oe(Q),Z!==Z+0)throw Z;se(1,0)}},K:function(P,D,L,R,U,W,Y,Q){var Z=ie();try{return pe(P)(D,L,R,U,W,Y,Q)}catch(ae){if(oe(Z),ae!==ae+0)throw ae;se(1,0)}},D:function(P,D,L,R,U,W,Y,Q,Z,ae,we,$e){var De=ie();try{return pe(P)(D,L,R,U,W,Y,Q,Z,ae,we,$e)}catch(G){if(oe(De),G!==G+0)throw G;se(1,0)}},X:function(P,D,L,R,U,W,Y,Q){var Z=ie();try{return St(P,D,L,R,U,W,Y,Q)}catch(ae){if(oe(Z),ae!==ae+0)throw ae;se(1,0)}},V:function(P,D,L,R,U,W,Y){var Q=ie();try{return bt(P,D,L,R,U,W,Y)}catch(Z){if(oe(Q),Z!==Z+0)throw Z;se(1,0)}},U:function(P,D,L,R,U){var W=ie();try{return Ot(P,D,L,R,U)}catch(Y){if(oe(W),Y!==Y+0)throw Y;se(1,0)}},Z:function(P,D,L,R){var U=ie();try{return Tt(P,D,L,R)}catch(W){if(oe(U),W!==W+0)throw W;se(1,0)}},W:function(P){var D=ie();try{return mt(P)}catch(L){if(oe(D),L!==L+0)throw L;se(1,0)}},Y:function(P,D){var L=ie();try{return xt(P,D)}catch(R){if(oe(L),R!==R+0)throw R;se(1,0)}},T:function(P,D,L){var R=ie();try{return yt(P,D,L)}catch(U){if(oe(R),U!==U+0)throw U;se(1,0)}},f:function(P){var D=ie();try{pe(P)()}catch(L){if(oe(D),L!==L+0)throw L;se(1,0)}},q:function(P,D){var L=ie();try{pe(P)(D)}catch(R){if(oe(L),R!==R+0)throw R;se(1,0)}},h:function(P,D,L){var R=ie();try{pe(P)(D,L)}catch(U){if(oe(R),U!==U+0)throw U;se(1,0)}},da:function(P,D,L,R){var U=ie();try{pe(P)(D,L,R)}catch(W){if(oe(U),W!==W+0)throw W;se(1,0)}},l:function(P,D,L,R){var U=ie();try{pe(P)(D,L,R)}catch(W){if(oe(U),W!==W+0)throw W;se(1,0)}},t:function(P,D,L,R,U){var W=ie();try{pe(P)(D,L,R,U)}catch(Y){if(oe(W),Y!==Y+0)throw Y;se(1,0)}},u:function(P,D,L,R,U,W){var Y=ie();try{pe(P)(D,L,R,U,W)}catch(Q){if(oe(Y),Q!==Q+0)throw Q;se(1,0)}},x:function(P,D,L,R,U,W,Y){var Q=ie();try{pe(P)(D,L,R,U,W,Y)}catch(Z){if(oe(Q),Z!==Z+0)throw Z;se(1,0)}},z:function(P,D,L,R,U,W,Y,Q){var Z=ie();try{pe(P)(D,L,R,U,W,Y,Q)}catch(ae){if(oe(Z),ae!==ae+0)throw ae;se(1,0)}},ga:function(P,D,L,R,U,W,Y,Q,Z){var ae=ie();try{pe(P)(D,L,R,U,W,Y,Q,Z)}catch(we){if(oe(ae),we!==we+0)throw we;se(1,0)}},A:function(P,D,L,R,U,W,Y,Q,Z,ae,we){var $e=ie();try{pe(P)(D,L,R,U,W,Y,Q,Z,ae,we)}catch(De){if(oe($e),De!==De+0)throw De;se(1,0)}},C:function(P,D,L,R,U,W,Y,Q,Z,ae,we,$e,De,G,ge,xe){var Ge=ie();try{pe(P)(D,L,R,U,W,Y,Q,Z,ae,we,$e,De,G,ge,xe)}catch(Qe){if(oe(Ge),Qe!==Qe+0)throw Qe;se(1,0)}},aa:function(P,D,L,R,U,W,Y,Q){var Z=ie();try{_t(P,D,L,R,U,W,Y,Q)}catch(ae){if(oe(Z),ae!==ae+0)throw ae;se(1,0)}},_:function(P,D,L,R,U,W,Y,Q,Z,ae,we,$e){var De=ie();try{vt(P,D,L,R,U,W,Y,Q,Z,ae,we,$e)}catch(G){if(oe(De),G!==G+0)throw G;se(1,0)}},$:function(P,D,L,R,U,W){var Y=ie();try{wt(P,D,L,R,U,W)}catch(Q){if(oe(Y),Q!==Q+0)throw Q;se(1,0)}},n:function(P){return P},F:function(P){Ne=P},ha:Pt,y:function(P,D,L,R){return Pt(P,D,L,R)}};(function(){function P(U){s.asm=U.exports,I=s.asm.Ka,me(),Ie=s.asm.ib,ce.unshift(s.asm.La),Ce--,s.monitorRunDependencies&&s.monitorRunDependencies(Ce),Ce==0&&Me&&(U=Me,Me=null,U())}function D(U){P(U.instance)}function L(U){return function(){if(!S&&(b||_)){if(typeof fetch=="function"&&!Ae.startsWith("file://"))return fetch(Ae,{credentials:"same-origin"}).then(function(W){if(!W.ok)throw"failed to load wasm binary file at '"+Ae+"'";return W.arrayBuffer()}).catch(function(){return ze()});if(o)return new Promise(function(W,Y){o(Ae,function(Q){W(new Uint8Array(Q))},Y)})}return Promise.resolve().then(function(){return ze()})}().then(function(W){return WebAssembly.instantiate(W,R)}).then(function(W){return W}).then(U,function(W){E("failed to asynchronously prepare wasm: "+W),Ee(W)})}var R={a:It};if(Ce++,s.monitorRunDependencies&&s.monitorRunDependencies(Ce),s.instantiateWasm)try{return s.instantiateWasm(R,P)}catch(U){return E("Module.instantiateWasm callback failed with error: "+U),!1}(S||typeof WebAssembly.instantiateStreaming!="function"||ve()||Ae.startsWith("file://")||w||typeof fetch!="function"?L(D):fetch(Ae,{credentials:"same-origin"}).then(function(U){return WebAssembly.instantiateStreaming(U,R).then(D,function(W){return E("wasm streaming compile failed: "+W),E("falling back to ArrayBuffer instantiation"),L(D)})})).catch(f)})(),s.___wasm_call_ctors=function(){return(s.___wasm_call_ctors=s.asm.La).apply(null,arguments)},s._OrtInit=function(){return(s._OrtInit=s.asm.Ma).apply(null,arguments)},s._OrtCreateSessionOptions=function(){return(s._OrtCreateSessionOptions=s.asm.Na).apply(null,arguments)},s._OrtAppendExecutionProvider=function(){return(s._OrtAppendExecutionProvider=s.asm.Oa).apply(null,arguments)},s._OrtAddSessionConfigEntry=function(){return(s._OrtAddSessionConfigEntry=s.asm.Pa).apply(null,arguments)},s._OrtReleaseSessionOptions=function(){return(s._OrtReleaseSessionOptions=s.asm.Qa).apply(null,arguments)},s._OrtCreateSession=function(){return(s._OrtCreateSession=s.asm.Ra).apply(null,arguments)},s._OrtReleaseSession=function(){return(s._OrtReleaseSession=s.asm.Sa).apply(null,arguments)},s._OrtGetInputCount=function(){return(s._OrtGetInputCount=s.asm.Ta).apply(null,arguments)},s._OrtGetOutputCount=function(){return(s._OrtGetOutputCount=s.asm.Ua).apply(null,arguments)},s._OrtGetInputName=function(){return(s._OrtGetInputName=s.asm.Va).apply(null,arguments)},s._OrtGetOutputName=function(){return(s._OrtGetOutputName=s.asm.Wa).apply(null,arguments)},s._OrtFree=function(){return(s._OrtFree=s.asm.Xa).apply(null,arguments)},s._OrtCreateTensor=function(){return(s._OrtCreateTensor=s.asm.Ya).apply(null,arguments)},s._OrtGetTensorData=function(){return(s._OrtGetTensorData=s.asm.Za).apply(null,arguments)},s._OrtReleaseTensor=function(){return(s._OrtReleaseTensor=s.asm._a).apply(null,arguments)},s._OrtCreateRunOptions=function(){return(s._OrtCreateRunOptions=s.asm.$a).apply(null,arguments)},s._OrtAddRunConfigEntry=function(){return(s._OrtAddRunConfigEntry=s.asm.ab).apply(null,arguments)},s._OrtReleaseRunOptions=function(){return(s._OrtReleaseRunOptions=s.asm.bb).apply(null,arguments)},s._OrtRun=function(){return(s._OrtRun=s.asm.cb).apply(null,arguments)},s._OrtEndProfiling=function(){return(s._OrtEndProfiling=s.asm.db).apply(null,arguments)};var Je,ye=s._malloc=function(){return(ye=s._malloc=s.asm.eb).apply(null,arguments)},it=s._free=function(){return(it=s._free=s.asm.fb).apply(null,arguments)},pt=s._fflush=function(){return(pt=s._fflush=s.asm.gb).apply(null,arguments)},ot=s.___funcs_on_exit=function(){return(ot=s.___funcs_on_exit=s.asm.hb).apply(null,arguments)},se=s._setThrew=function(){return(se=s._setThrew=s.asm.jb).apply(null,arguments)},ie=s.stackSave=function(){return(ie=s.stackSave=s.asm.kb).apply(null,arguments)},oe=s.stackRestore=function(){return(oe=s.stackRestore=s.asm.lb).apply(null,arguments)},ft=s.stackAlloc=function(){return(ft=s.stackAlloc=s.asm.mb).apply(null,arguments)},st=s.___cxa_can_catch=function(){return(st=s.___cxa_can_catch=s.asm.nb).apply(null,arguments)},gt=s.___cxa_is_pointer_type=function(){return(gt=s.___cxa_is_pointer_type=s.asm.ob).apply(null,arguments)},mt=s.dynCall_j=function(){return(mt=s.dynCall_j=s.asm.pb).apply(null,arguments)},bt=s.dynCall_iiiiij=function(){return(bt=s.dynCall_iiiiij=s.asm.qb).apply(null,arguments)},yt=s.dynCall_jii=function(){return(yt=s.dynCall_jii=s.asm.rb).apply(null,arguments)},_t=s.dynCall_viiiiij=function(){return(_t=s.dynCall_viiiiij=s.asm.sb).apply(null,arguments)},wt=s.dynCall_vjji=function(){return(wt=s.dynCall_vjji=s.asm.tb).apply(null,arguments)},vt=s.dynCall_viiijjjii=function(){return(vt=s.dynCall_viiijjjii=s.asm.ub).apply(null,arguments)},Tt=s.dynCall_iij=function(){return(Tt=s.dynCall_iij=s.asm.vb).apply(null,arguments)},xt=s.dynCall_ji=function(){return(xt=s.dynCall_ji=s.asm.wb).apply(null,arguments)},St=s.dynCall_iiiiiij=function(){return(St=s.dynCall_iiiiiij=s.asm.xb).apply(null,arguments)},Ot=s.dynCall_iiij=function(){return(Ot=s.dynCall_iiij=s.asm.yb).apply(null,arguments)};function At(){function P(){if(!Je&&(Je=!0,s.calledRun=!0,!$)){if(He(ce),h(s),s.onRuntimeInitialized&&s.onRuntimeInitialized(),s.postRun)for(typeof s.postRun=="function"&&(s.postRun=[s.postRun]);s.postRun.length;){var D=s.postRun.shift();_e.unshift(D)}He(_e)}}if(!(0 {y.exports=function(n,u){for(var d=new Array(arguments.length-1),l=0,p=2,s=!0;p {var u=n;u.length=function(h){var f=h.length;if(!f)return 0;for(var a=0;--f%4>1&&h.charAt(f)==="=";)++a;return Math.ceil(3*h.length)/4-a};for(var d=new Array(64),l=new Array(123),p=0;p<64;)l[d[p]=p<26?p+65:p<52?p+71:p<62?p-4:p-59|43]=p++;u.encode=function(h,f,a){for(var o,t=null,e=[],r=0,i=0;f>2],o=(3&c)<<4,i=1;break;case 1:e[r++]=d[o|c>>4],o=(15&c)<<2,i=2;break;case 2:e[r++]=d[o|c>>6],e[r++]=d[63&c],i=0}r>8191&&((t||(t=[])).push(String.fromCharCode.apply(String,e)),r=0)}return i&&(e[r++]=d[o],e[r++]=61,i===1&&(e[r++]=61)),t?(r&&t.push(String.fromCharCode.apply(String,e.slice(0,r))),t.join("")):String.fromCharCode.apply(String,e.slice(0,r))};var s="invalid encoding";u.decode=function(h,f,a){for(var o,t=a,e=0,r=0;r 1)break;if((i=l[i])===void 0)throw Error(s);switch(e){case 0:o=i,e=1;break;case 1:f[a++]=o<<2|(48&i)>>4,o=i,e=2;break;case 2:f[a++]=(15&o)<<4|(60&i)>>2,o=i,e=3;break;case 3:f[a++]=(3&o)<<6|i,e=0}}if(e===1)throw Error(s);return a-t},u.test=function(h){return/^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$/.test(h)}},9211:y=>{function n(){this._listeners={}}y.exports=n,n.prototype.on=function(u,d,l){return(this._listeners[u]||(this._listeners[u]=[])).push({fn:d,ctx:l||this}),this},n.prototype.off=function(u,d){if(u===void 0)this._listeners={};else if(d===void 0)this._listeners[u]=[];else for(var l=this._listeners[u],p=0;p {function n(s){return typeof Float32Array<"u"?function(){var h=new Float32Array([-0]),f=new Uint8Array(h.buffer),a=f[3]===128;function o(i,c,g){h[0]=i,c[g]=f[0],c[g+1]=f[1],c[g+2]=f[2],c[g+3]=f[3]}function t(i,c,g){h[0]=i,c[g]=f[3],c[g+1]=f[2],c[g+2]=f[1],c[g+3]=f[0]}function e(i,c){return f[0]=i[c],f[1]=i[c+1],f[2]=i[c+2],f[3]=i[c+3],h[0]}function r(i,c){return f[3]=i[c],f[2]=i[c+1],f[1]=i[c+2],f[0]=i[c+3],h[0]}s.writeFloatLE=a?o:t,s.writeFloatBE=a?t:o,s.readFloatLE=a?e:r,s.readFloatBE=a?r:e}():function(){function h(a,o,t,e){var r=o<0?1:0;if(r&&(o=-o),o===0)a(1/o>0?0:2147483648,t,e);else if(isNaN(o))a(2143289344,t,e);else if(o>34028234663852886e22)a((r<<31|2139095040)>>>0,t,e);else if(o<11754943508222875e-54)a((r<<31|Math.round(o/1401298464324817e-60))>>>0,t,e);else{var i=Math.floor(Math.log(o)/Math.LN2);a((r<<31|i+127<<23|8388607&Math.round(o*Math.pow(2,-i)*8388608))>>>0,t,e)}}function f(a,o,t){var e=a(o,t),r=2*(e>>31)+1,i=e>>>23&255,c=8388607&e;return i===255?c?NaN:r*(1/0):i===0?1401298464324817e-60*r*c:r*Math.pow(2,i-150)*(c+8388608)}s.writeFloatLE=h.bind(null,u),s.writeFloatBE=h.bind(null,d),s.readFloatLE=f.bind(null,l),s.readFloatBE=f.bind(null,p)}(),typeof Float64Array<"u"?function(){var h=new Float64Array([-0]),f=new Uint8Array(h.buffer),a=f[7]===128;function o(i,c,g){h[0]=i,c[g]=f[0],c[g+1]=f[1],c[g+2]=f[2],c[g+3]=f[3],c[g+4]=f[4],c[g+5]=f[5],c[g+6]=f[6],c[g+7]=f[7]}function t(i,c,g){h[0]=i,c[g]=f[7],c[g+1]=f[6],c[g+2]=f[5],c[g+3]=f[4],c[g+4]=f[3],c[g+5]=f[2],c[g+6]=f[1],c[g+7]=f[0]}function e(i,c){return f[0]=i[c],f[1]=i[c+1],f[2]=i[c+2],f[3]=i[c+3],f[4]=i[c+4],f[5]=i[c+5],f[6]=i[c+6],f[7]=i[c+7],h[0]}function r(i,c){return f[7]=i[c],f[6]=i[c+1],f[5]=i[c+2],f[4]=i[c+3],f[3]=i[c+4],f[2]=i[c+5],f[1]=i[c+6],f[0]=i[c+7],h[0]}s.writeDoubleLE=a?o:t,s.writeDoubleBE=a?t:o,s.readDoubleLE=a?e:r,s.readDoubleBE=a?r:e}():function(){function h(a,o,t,e,r,i){var c=e<0?1:0;if(c&&(e=-e),e===0)a(0,r,i+o),a(1/e>0?0:2147483648,r,i+t);else if(isNaN(e))a(0,r,i+o),a(2146959360,r,i+t);else if(e>17976931348623157e292)a(0,r,i+o),a((c<<31|2146435072)>>>0,r,i+t);else{var g;if(e<22250738585072014e-324)a((g=e/5e-324)>>>0,r,i+o),a((c<<31|g/4294967296)>>>0,r,i+t);else{var m=Math.floor(Math.log(e)/Math.LN2);m===1024&&(m=1023),a(4503599627370496*(g=e*Math.pow(2,-m))>>>0,r,i+o),a((c<<31|m+1023<<20|1048576*g&1048575)>>>0,r,i+t)}}}function f(a,o,t,e,r){var i=a(e,r+o),c=a(e,r+t),g=2*(c>>31)+1,m=c>>>20&2047,b=4294967296*(1048575&c)+i;return m===2047?b?NaN:g*(1/0):m===0?5e-324*g*b:g*Math.pow(2,m-1075)*(b+4503599627370496)}s.writeDoubleLE=h.bind(null,u,0,4),s.writeDoubleBE=h.bind(null,d,4,0),s.readDoubleLE=f.bind(null,l,0,4),s.readDoubleBE=f.bind(null,p,4,0)}(),s}function u(s,h,f){h[f]=255&s,h[f+1]=s>>>8&255,h[f+2]=s>>>16&255,h[f+3]=s>>>24}function d(s,h,f){h[f]=s>>>24,h[f+1]=s>>>16&255,h[f+2]=s>>>8&255,h[f+3]=255&s}function l(s,h){return(s[h]|s[h+1]<<8|s[h+2]<<16|s[h+3]<<24)>>>0}function p(s,h){return(s[h]<<24|s[h+1]<<16|s[h+2]<<8|s[h+3])>>>0}y.exports=n(n)},7199:module=>{function inquire(moduleName){try{var mod=eval("quire".replace(/^/,"re"))(moduleName);if(mod&&(mod.length||Object.keys(mod).length))return mod}catch(y){}return null}module.exports=inquire},6662:y=>{y.exports=function(n,u,d){var l=d||8192,p=l>>>1,s=null,h=l;return function(f){if(f<1||f>p)return n(f);h+f>l&&(s=n(l),h=0);var a=u.call(s,h,h+=f);return 7&h&&(h=1+(7|h)),a}}},4997:(y,n)=>{var u=n;u.length=function(d){for(var l=0,p=0,s=0;s 191&&s<224?f[a++]=(31&s)<<6|63&d[l++]:s>239&&s<365?(s=((7&s)<<18|(63&d[l++])<<12|(63&d[l++])<<6|63&d[l++])-65536,f[a++]=55296+(s>>10),f[a++]=56320+(1023&s)):f[a++]=(15&s)<<12|(63&d[l++])<<6|63&d[l++],a>8191&&((h||(h=[])).push(String.fromCharCode.apply(String,f)),a=0);return h?(a&&h.push(String.fromCharCode.apply(String,f.slice(0,a))),h.join("")):String.fromCharCode.apply(String,f.slice(0,a))},u.write=function(d,l,p){for(var s,h,f=p,a=0;a >6|192,l[p++]=63&s|128):(64512&s)==55296&&(64512&(h=d.charCodeAt(a+1)))==56320?(s=65536+((1023&s)<<10)+(1023&h),++a,l[p++]=s>>18|240,l[p++]=s>>12&63|128,l[p++]=s>>6&63|128,l[p++]=63&s|128):(l[p++]=s>>12|224,l[p++]=s>>6&63|128,l[p++]=63&s|128);return p-f}},3442:(y,n)=>{n.__esModule=!0;var u=function(){function d(l){if(!l)throw new TypeError("Invalid argument; `value` has no value.");this.value=d.EMPTY,l&&d.isGuid(l)&&(this.value=l)}return d.isGuid=function(l){var p=l.toString();return l&&(l instanceof d||d.validator.test(p))},d.create=function(){return new d([d.gen(2),d.gen(1),d.gen(1),d.gen(1),d.gen(3)].join("-"))},d.createEmpty=function(){return new d("emptyguid")},d.parse=function(l){return new d(l)},d.raw=function(){return[d.gen(2),d.gen(1),d.gen(1),d.gen(1),d.gen(3)].join("-")},d.gen=function(l){for(var p="",s=0;s {y.exports=u;var n=null;try{n=new WebAssembly.Instance(new WebAssembly.Module(new Uint8Array([0,97,115,109,1,0,0,0,1,13,2,96,0,1,127,96,4,127,127,127,127,1,127,3,7,6,0,1,1,1,1,1,6,6,1,127,1,65,0,11,7,50,6,3,109,117,108,0,1,5,100,105,118,95,115,0,2,5,100,105,118,95,117,0,3,5,114,101,109,95,115,0,4,5,114,101,109,95,117,0,5,8,103,101,116,95,104,105,103,104,0,0,10,191,1,6,4,0,35,0,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,126,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,127,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,128,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,129,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,130,34,4,66,32,135,167,36,0,32,4,167,11])),{}).exports}catch{}function u(T,I,C){this.low=0|T,this.high=0|I,this.unsigned=!!C}function d(T){return(T&&T.__isLong__)===!0}u.prototype.__isLong__,Object.defineProperty(u.prototype,"__isLong__",{value:!0}),u.isLong=d;var l={},p={};function s(T,I){var C,B,F;return I?(F=0<=(T>>>=0)&&T<256)&&(B=p[T])?B:(C=f(T,(0|T)<0?-1:0,!0),F&&(p[T]=C),C):(F=-128<=(T|=0)&&T<128)&&(B=l[T])?B:(C=f(T,T<0?-1:0,!1),F&&(l[T]=C),C)}function h(T,I){if(isNaN(T))return I?m:g;if(I){if(T<0)return m;if(T>=r)return S}else{if(T<=-i)return O;if(T+1>=i)return v}return T<0?h(-T,I).neg():f(T%e|0,T/e|0,I)}function f(T,I,C){return new u(T,I,C)}u.fromInt=s,u.fromNumber=h,u.fromBits=f;var a=Math.pow;function o(T,I,C){if(T.length===0)throw Error("empty string");if(T==="NaN"||T==="Infinity"||T==="+Infinity"||T==="-Infinity")return g;if(typeof I=="number"?(C=I,I=!1):I=!!I,(C=C||10)<2||36 0)throw Error("interior hyphen");if(B===0)return o(T.substring(1),I,C).neg();for(var F=h(a(C,8)),N=g,H=0;H >>0:this.low},E.toNumber=function(){return this.unsigned?(this.high>>>0)*e+(this.low>>>0):this.high*e+(this.low>>>0)},E.toString=function(T){if((T=T||10)<2||36 >>0).toString(T);if((N=$).isZero())return z+H;for(;z.length<6;)z="0"+z;H=""+z+H}},E.getHighBits=function(){return this.high},E.getHighBitsUnsigned=function(){return this.high>>>0},E.getLowBits=function(){return this.low},E.getLowBitsUnsigned=function(){return this.low>>>0},E.getNumBitsAbs=function(){if(this.isNegative())return this.eq(O)?64:this.neg().getNumBitsAbs();for(var T=this.high!=0?this.high:this.low,I=31;I>0&&!(T&1<=0},E.isOdd=function(){return(1&this.low)==1},E.isEven=function(){return(1&this.low)==0},E.equals=function(T){return d(T)||(T=t(T)),(this.unsigned===T.unsigned||this.high>>>31!=1||T.high>>>31!=1)&&this.high===T.high&&this.low===T.low},E.eq=E.equals,E.notEquals=function(T){return!this.eq(T)},E.neq=E.notEquals,E.ne=E.notEquals,E.lessThan=function(T){return this.comp(T)<0},E.lt=E.lessThan,E.lessThanOrEqual=function(T){return this.comp(T)<=0},E.lte=E.lessThanOrEqual,E.le=E.lessThanOrEqual,E.greaterThan=function(T){return this.comp(T)>0},E.gt=E.greaterThan,E.greaterThanOrEqual=function(T){return this.comp(T)>=0},E.gte=E.greaterThanOrEqual,E.ge=E.greaterThanOrEqual,E.compare=function(T){if(d(T)||(T=t(T)),this.eq(T))return 0;var I=this.isNegative(),C=T.isNegative();return I&&!C?-1:!I&&C?1:this.unsigned?T.high>>>0>this.high>>>0||T.high===this.high&&T.low>>>0>this.low>>>0?-1:1:this.sub(T).isNegative()?-1:1},E.comp=E.compare,E.negate=function(){return!this.unsigned&&this.eq(O)?O:this.not().add(b)},E.neg=E.negate,E.add=function(T){d(T)||(T=t(T));var I=this.high>>>16,C=65535&this.high,B=this.low>>>16,F=65535&this.low,N=T.high>>>16,H=65535&T.high,$=T.low>>>16,z=0,J=0,X=0,te=0;return X+=(te+=F+(65535&T.low))>>>16,J+=(X+=B+$)>>>16,z+=(J+=C+H)>>>16,z+=I+N,f((X&=65535)<<16|(te&=65535),(z&=65535)<<16|(J&=65535),this.unsigned)},E.subtract=function(T){return d(T)||(T=t(T)),this.add(T.neg())},E.sub=E.subtract,E.multiply=function(T){if(this.isZero())return g;if(d(T)||(T=t(T)),n)return f(n.mul(this.low,this.high,T.low,T.high),n.get_high(),this.unsigned);if(T.isZero())return g;if(this.eq(O))return T.isOdd()?O:g;if(T.eq(O))return this.isOdd()?O:g;if(this.isNegative())return T.isNegative()?this.neg().mul(T.neg()):this.neg().mul(T).neg();if(T.isNegative())return this.mul(T.neg()).neg();if(this.lt(c)&&T.lt(c))return h(this.toNumber()*T.toNumber(),this.unsigned);var I=this.high>>>16,C=65535&this.high,B=this.low>>>16,F=65535&this.low,N=T.high>>>16,H=65535&T.high,$=T.low>>>16,z=65535&T.low,J=0,X=0,te=0,ne=0;return te+=(ne+=F*z)>>>16,X+=(te+=B*z)>>>16,te&=65535,X+=(te+=F*$)>>>16,J+=(X+=C*z)>>>16,X&=65535,J+=(X+=B*$)>>>16,X&=65535,J+=(X+=F*H)>>>16,J+=I*z+C*$+B*H+F*N,f((te&=65535)<<16|(ne&=65535),(J&=65535)<<16|(X&=65535),this.unsigned)},E.mul=E.multiply,E.divide=function(T){if(d(T)||(T=t(T)),T.isZero())throw Error("division by zero");var I,C,B;if(n)return this.unsigned||this.high!==-2147483648||T.low!==-1||T.high!==-1?f((this.unsigned?n.div_u:n.div_s)(this.low,this.high,T.low,T.high),n.get_high(),this.unsigned):this;if(this.isZero())return this.unsigned?m:g;if(this.unsigned){if(T.unsigned||(T=T.toUnsigned()),T.gt(this))return m;if(T.gt(this.shru(1)))return _;B=m}else{if(this.eq(O))return T.eq(b)||T.eq(w)?O:T.eq(O)?b:(I=this.shr(1).div(T).shl(1)).eq(g)?T.isNegative()?b:w:(C=this.sub(T.mul(I)),B=I.add(C.div(T)));if(T.eq(O))return this.unsigned?m:g;if(this.isNegative())return T.isNegative()?this.neg().div(T.neg()):this.neg().div(T).neg();if(T.isNegative())return this.div(T.neg()).neg();B=g}for(C=this;C.gte(T);){I=Math.max(1,Math.floor(C.toNumber()/T.toNumber()));for(var F=Math.ceil(Math.log(I)/Math.LN2),N=F<=48?1:a(2,F-48),H=h(I),$=H.mul(T);$.isNegative()||$.gt(C);)$=(H=h(I-=N,this.unsigned)).mul(T);H.isZero()&&(H=b),B=B.add(H),C=C.sub($)}return B},E.div=E.divide,E.modulo=function(T){return d(T)||(T=t(T)),n?f((this.unsigned?n.rem_u:n.rem_s)(this.low,this.high,T.low,T.high),n.get_high(),this.unsigned):this.sub(this.div(T).mul(T))},E.mod=E.modulo,E.rem=E.modulo,E.not=function(){return f(~this.low,~this.high,this.unsigned)},E.and=function(T){return d(T)||(T=t(T)),f(this.low&T.low,this.high&T.high,this.unsigned)},E.or=function(T){return d(T)||(T=t(T)),f(this.low|T.low,this.high|T.high,this.unsigned)},E.xor=function(T){return d(T)||(T=t(T)),f(this.low^T.low,this.high^T.high,this.unsigned)},E.shiftLeft=function(T){return d(T)&&(T=T.toInt()),(T&=63)==0?this:T<32?f(this.low< >>32-T,this.unsigned):f(0,this.low< >>T|this.high<<32-T,this.high>>T,this.unsigned):f(this.high>>T-32,this.high>=0?0:-1,this.unsigned)},E.shr=E.shiftRight,E.shiftRightUnsigned=function(T){if(d(T)&&(T=T.toInt()),(T&=63)==0)return this;var I=this.high;return T<32?f(this.low>>>T|I<<32-T,I>>>T,this.unsigned):f(T===32?I:I>>>T-32,0,this.unsigned)},E.shru=E.shiftRightUnsigned,E.shr_u=E.shiftRightUnsigned,E.toSigned=function(){return this.unsigned?f(this.low,this.high,!1):this},E.toUnsigned=function(){return this.unsigned?this:f(this.low,this.high,!0)},E.toBytes=function(T){return T?this.toBytesLE():this.toBytesBE()},E.toBytesLE=function(){var T=this.high,I=this.low;return[255&I,I>>>8&255,I>>>16&255,I>>>24,255&T,T>>>8&255,T>>>16&255,T>>>24]},E.toBytesBE=function(){var T=this.high,I=this.low;return[T>>>24,T>>>16&255,T>>>8&255,255&T,I>>>24,I>>>16&255,I>>>8&255,255&I]},u.fromBytes=function(T,I,C){return C?u.fromBytesLE(T,I):u.fromBytesBE(T,I)},u.fromBytesLE=function(T,I){return new u(T[0]|T[1]<<8|T[2]<<16|T[3]<<24,T[4]|T[5]<<8|T[6]<<16|T[7]<<24,I)},u.fromBytesBE=function(T,I){return new u(T[4]<<24|T[5]<<16|T[6]<<8|T[7],T[0]<<24|T[1]<<16|T[2]<<8|T[3],I)}},1446:(y,n,u)=>{var d,l,p,s=u(2100),h=s.Reader,f=s.Writer,a=s.util,o=s.roots.default||(s.roots.default={});o.onnx=((p={}).Version=(d={},(l=Object.create(d))[d[0]="_START_VERSION"]=0,l[d[1]="IR_VERSION_2017_10_10"]=1,l[d[2]="IR_VERSION_2017_10_30"]=2,l[d[3]="IR_VERSION_2017_11_3"]=3,l[d[4]="IR_VERSION_2019_1_22"]=4,l[d[5]="IR_VERSION"]=5,l),p.AttributeProto=function(){function t(e){if(this.floats=[],this.ints=[],this.strings=[],this.tensors=[],this.graphs=[],e)for(var r=Object.keys(e),i=0;i >>3){case 1:c.name=e.string();break;case 21:c.refAttrName=e.string();break;case 13:c.docString=e.string();break;case 20:c.type=e.int32();break;case 2:c.f=e.float();break;case 3:c.i=e.int64();break;case 4:c.s=e.bytes();break;case 5:c.t=o.onnx.TensorProto.decode(e,e.uint32());break;case 6:c.g=o.onnx.GraphProto.decode(e,e.uint32());break;case 7:if(c.floats&&c.floats.length||(c.floats=[]),(7&g)==2)for(var m=e.uint32()+e.pos;e.pos >>0,e.i.high>>>0).toNumber())),e.s!=null&&(typeof e.s=="string"?a.base64.decode(e.s,r.s=a.newBuffer(a.base64.length(e.s)),0):e.s.length&&(r.s=e.s)),e.t!=null){if(typeof e.t!="object")throw TypeError(".onnx.AttributeProto.t: object expected");r.t=o.onnx.TensorProto.fromObject(e.t)}if(e.g!=null){if(typeof e.g!="object")throw TypeError(".onnx.AttributeProto.g: object expected");r.g=o.onnx.GraphProto.fromObject(e.g)}if(e.floats){if(!Array.isArray(e.floats))throw TypeError(".onnx.AttributeProto.floats: array expected");r.floats=[];for(var i=0;i >>0,e.ints[i].high>>>0).toNumber())}if(e.strings){if(!Array.isArray(e.strings))throw TypeError(".onnx.AttributeProto.strings: array expected");for(r.strings=[],i=0;i >>0,e.i.high>>>0).toNumber():e.i),e.s!=null&&e.hasOwnProperty("s")&&(i.s=r.bytes===String?a.base64.encode(e.s,0,e.s.length):r.bytes===Array?Array.prototype.slice.call(e.s):e.s),e.t!=null&&e.hasOwnProperty("t")&&(i.t=o.onnx.TensorProto.toObject(e.t,r)),e.g!=null&&e.hasOwnProperty("g")&&(i.g=o.onnx.GraphProto.toObject(e.g,r)),e.floats&&e.floats.length){i.floats=[];for(var g=0;g >>0,e.ints[g].high>>>0).toNumber():e.ints[g];if(e.strings&&e.strings.length)for(i.strings=[],g=0;g >>3){case 1:c.name=e.string();break;case 2:c.type=o.onnx.TypeProto.decode(e,e.uint32());break;case 3:c.docString=e.string();break;default:e.skipType(7&g)}}return c},t.decodeDelimited=function(e){return e instanceof h||(e=new h(e)),this.decode(e,e.uint32())},t.verify=function(e){if(typeof e!="object"||e===null)return"object expected";if(e.name!=null&&e.hasOwnProperty("name")&&!a.isString(e.name))return"name: string expected";if(e.type!=null&&e.hasOwnProperty("type")){var r=o.onnx.TypeProto.verify(e.type);if(r)return"type."+r}return e.docString!=null&&e.hasOwnProperty("docString")&&!a.isString(e.docString)?"docString: string expected":null},t.fromObject=function(e){if(e instanceof o.onnx.ValueInfoProto)return e;var r=new o.onnx.ValueInfoProto;if(e.name!=null&&(r.name=String(e.name)),e.type!=null){if(typeof e.type!="object")throw TypeError(".onnx.ValueInfoProto.type: object expected");r.type=o.onnx.TypeProto.fromObject(e.type)}return e.docString!=null&&(r.docString=String(e.docString)),r},t.toObject=function(e,r){r||(r={});var i={};return r.defaults&&(i.name="",i.type=null,i.docString=""),e.name!=null&&e.hasOwnProperty("name")&&(i.name=e.name),e.type!=null&&e.hasOwnProperty("type")&&(i.type=o.onnx.TypeProto.toObject(e.type,r)),e.docString!=null&&e.hasOwnProperty("docString")&&(i.docString=e.docString),i},t.prototype.toJSON=function(){return this.constructor.toObject(this,s.util.toJSONOptions)},t}(),p.NodeProto=function(){function t(e){if(this.input=[],this.output=[],this.attribute=[],e)for(var r=Object.keys(e),i=0;i >>3){case 1:c.input&&c.input.length||(c.input=[]),c.input.push(e.string());break;case 2:c.output&&c.output.length||(c.output=[]),c.output.push(e.string());break;case 3:c.name=e.string();break;case 4:c.opType=e.string();break;case 7:c.domain=e.string();break;case 5:c.attribute&&c.attribute.length||(c.attribute=[]),c.attribute.push(o.onnx.AttributeProto.decode(e,e.uint32()));break;case 6:c.docString=e.string();break;default:e.skipType(7&g)}}return c},t.decodeDelimited=function(e){return e instanceof h||(e=new h(e)),this.decode(e,e.uint32())},t.verify=function(e){if(typeof e!="object"||e===null)return"object expected";if(e.input!=null&&e.hasOwnProperty("input")){if(!Array.isArray(e.input))return"input: array expected";for(var r=0;r >>3){case 1:c.irVersion=e.int64();break;case 8:c.opsetImport&&c.opsetImport.length||(c.opsetImport=[]),c.opsetImport.push(o.onnx.OperatorSetIdProto.decode(e,e.uint32()));break;case 2:c.producerName=e.string();break;case 3:c.producerVersion=e.string();break;case 4:c.domain=e.string();break;case 5:c.modelVersion=e.int64();break;case 6:c.docString=e.string();break;case 7:c.graph=o.onnx.GraphProto.decode(e,e.uint32());break;case 14:c.metadataProps&&c.metadataProps.length||(c.metadataProps=[]),c.metadataProps.push(o.onnx.StringStringEntryProto.decode(e,e.uint32()));break;default:e.skipType(7&g)}}return c},t.decodeDelimited=function(e){return e instanceof h||(e=new h(e)),this.decode(e,e.uint32())},t.verify=function(e){if(typeof e!="object"||e===null)return"object expected";if(e.irVersion!=null&&e.hasOwnProperty("irVersion")&&!(a.isInteger(e.irVersion)||e.irVersion&&a.isInteger(e.irVersion.low)&&a.isInteger(e.irVersion.high)))return"irVersion: integer|Long expected";if(e.opsetImport!=null&&e.hasOwnProperty("opsetImport")){if(!Array.isArray(e.opsetImport))return"opsetImport: array expected";for(var r=0;r >>0,e.irVersion.high>>>0).toNumber())),e.opsetImport){if(!Array.isArray(e.opsetImport))throw TypeError(".onnx.ModelProto.opsetImport: array expected");r.opsetImport=[];for(var i=0;i >>0,e.modelVersion.high>>>0).toNumber())),e.docString!=null&&(r.docString=String(e.docString)),e.graph!=null){if(typeof e.graph!="object")throw TypeError(".onnx.ModelProto.graph: object expected");r.graph=o.onnx.GraphProto.fromObject(e.graph)}if(e.metadataProps){if(!Array.isArray(e.metadataProps))throw TypeError(".onnx.ModelProto.metadataProps: array expected");for(r.metadataProps=[],i=0;i >>0,e.irVersion.high>>>0).toNumber():e.irVersion),e.producerName!=null&&e.hasOwnProperty("producerName")&&(i.producerName=e.producerName),e.producerVersion!=null&&e.hasOwnProperty("producerVersion")&&(i.producerVersion=e.producerVersion),e.domain!=null&&e.hasOwnProperty("domain")&&(i.domain=e.domain),e.modelVersion!=null&&e.hasOwnProperty("modelVersion")&&(typeof e.modelVersion=="number"?i.modelVersion=r.longs===String?String(e.modelVersion):e.modelVersion:i.modelVersion=r.longs===String?a.Long.prototype.toString.call(e.modelVersion):r.longs===Number?new a.LongBits(e.modelVersion.low>>>0,e.modelVersion.high>>>0).toNumber():e.modelVersion),e.docString!=null&&e.hasOwnProperty("docString")&&(i.docString=e.docString),e.graph!=null&&e.hasOwnProperty("graph")&&(i.graph=o.onnx.GraphProto.toObject(e.graph,r)),e.opsetImport&&e.opsetImport.length){i.opsetImport=[];for(var g=0;g >>3){case 1:c.key=e.string();break;case 2:c.value=e.string();break;default:e.skipType(7&g)}}return c},t.decodeDelimited=function(e){return e instanceof h||(e=new h(e)),this.decode(e,e.uint32())},t.verify=function(e){return typeof e!="object"||e===null?"object expected":e.key!=null&&e.hasOwnProperty("key")&&!a.isString(e.key)?"key: string expected":e.value!=null&&e.hasOwnProperty("value")&&!a.isString(e.value)?"value: string expected":null},t.fromObject=function(e){if(e instanceof o.onnx.StringStringEntryProto)return e;var r=new o.onnx.StringStringEntryProto;return e.key!=null&&(r.key=String(e.key)),e.value!=null&&(r.value=String(e.value)),r},t.toObject=function(e,r){r||(r={});var i={};return r.defaults&&(i.key="",i.value=""),e.key!=null&&e.hasOwnProperty("key")&&(i.key=e.key),e.value!=null&&e.hasOwnProperty("value")&&(i.value=e.value),i},t.prototype.toJSON=function(){return this.constructor.toObject(this,s.util.toJSONOptions)},t}(),p.TensorAnnotation=function(){function t(e){if(this.quantParameterTensorNames=[],e)for(var r=Object.keys(e),i=0;i >>3){case 1:c.tensorName=e.string();break;case 2:c.quantParameterTensorNames&&c.quantParameterTensorNames.length||(c.quantParameterTensorNames=[]),c.quantParameterTensorNames.push(o.onnx.StringStringEntryProto.decode(e,e.uint32()));break;default:e.skipType(7&g)}}return c},t.decodeDelimited=function(e){return e instanceof h||(e=new h(e)),this.decode(e,e.uint32())},t.verify=function(e){if(typeof e!="object"||e===null)return"object expected";if(e.tensorName!=null&&e.hasOwnProperty("tensorName")&&!a.isString(e.tensorName))return"tensorName: string expected";if(e.quantParameterTensorNames!=null&&e.hasOwnProperty("quantParameterTensorNames")){if(!Array.isArray(e.quantParameterTensorNames))return"quantParameterTensorNames: array expected";for(var r=0;r >>3){case 1:c.node&&c.node.length||(c.node=[]),c.node.push(o.onnx.NodeProto.decode(e,e.uint32()));break;case 2:c.name=e.string();break;case 5:c.initializer&&c.initializer.length||(c.initializer=[]),c.initializer.push(o.onnx.TensorProto.decode(e,e.uint32()));break;case 10:c.docString=e.string();break;case 11:c.input&&c.input.length||(c.input=[]),c.input.push(o.onnx.ValueInfoProto.decode(e,e.uint32()));break;case 12:c.output&&c.output.length||(c.output=[]),c.output.push(o.onnx.ValueInfoProto.decode(e,e.uint32()));break;case 13:c.valueInfo&&c.valueInfo.length||(c.valueInfo=[]),c.valueInfo.push(o.onnx.ValueInfoProto.decode(e,e.uint32()));break;case 14:c.quantizationAnnotation&&c.quantizationAnnotation.length||(c.quantizationAnnotation=[]),c.quantizationAnnotation.push(o.onnx.TensorAnnotation.decode(e,e.uint32()));break;default:e.skipType(7&g)}}return c},t.decodeDelimited=function(e){return e instanceof h||(e=new h(e)),this.decode(e,e.uint32())},t.verify=function(e){if(typeof e!="object"||e===null)return"object expected";if(e.node!=null&&e.hasOwnProperty("node")){if(!Array.isArray(e.node))return"node: array expected";for(var r=0;r >>3){case 1:if(c.dims&&c.dims.length||(c.dims=[]),(7&g)==2)for(var m=e.uint32()+e.pos;e.pos >>0,e.dims[i].high>>>0).toNumber())}if(e.dataType!=null&&(r.dataType=0|e.dataType),e.segment!=null){if(typeof e.segment!="object")throw TypeError(".onnx.TensorProto.segment: object expected");r.segment=o.onnx.TensorProto.Segment.fromObject(e.segment)}if(e.floatData){if(!Array.isArray(e.floatData))throw TypeError(".onnx.TensorProto.floatData: array expected");for(r.floatData=[],i=0;i >>0,e.int64Data[i].high>>>0).toNumber())}if(e.name!=null&&(r.name=String(e.name)),e.docString!=null&&(r.docString=String(e.docString)),e.rawData!=null&&(typeof e.rawData=="string"?a.base64.decode(e.rawData,r.rawData=a.newBuffer(a.base64.length(e.rawData)),0):e.rawData.length&&(r.rawData=e.rawData)),e.externalData){if(!Array.isArray(e.externalData))throw TypeError(".onnx.TensorProto.externalData: array expected");for(r.externalData=[],i=0;i >>0,e.uint64Data[i].high>>>0).toNumber(!0))}return r},t.toObject=function(e,r){r||(r={});var i={};if((r.arrays||r.defaults)&&(i.dims=[],i.floatData=[],i.int32Data=[],i.stringData=[],i.int64Data=[],i.doubleData=[],i.uint64Data=[],i.externalData=[]),r.defaults&&(i.dataType=0,i.segment=null,i.name="",r.bytes===String?i.rawData="":(i.rawData=[],r.bytes!==Array&&(i.rawData=a.newBuffer(i.rawData))),i.docString="",i.dataLocation=r.enums===String?"DEFAULT":0),e.dims&&e.dims.length){i.dims=[];for(var c=0;c >>0,e.dims[c].high>>>0).toNumber():e.dims[c]}if(e.dataType!=null&&e.hasOwnProperty("dataType")&&(i.dataType=e.dataType),e.segment!=null&&e.hasOwnProperty("segment")&&(i.segment=o.onnx.TensorProto.Segment.toObject(e.segment,r)),e.floatData&&e.floatData.length)for(i.floatData=[],c=0;c >>0,e.int64Data[c].high>>>0).toNumber():e.int64Data[c];if(e.name!=null&&e.hasOwnProperty("name")&&(i.name=e.name),e.rawData!=null&&e.hasOwnProperty("rawData")&&(i.rawData=r.bytes===String?a.base64.encode(e.rawData,0,e.rawData.length):r.bytes===Array?Array.prototype.slice.call(e.rawData):e.rawData),e.doubleData&&e.doubleData.length)for(i.doubleData=[],c=0;c >>0,e.uint64Data[c].high>>>0).toNumber(!0):e.uint64Data[c];if(e.docString!=null&&e.hasOwnProperty("docString")&&(i.docString=e.docString),e.externalData&&e.externalData.length)for(i.externalData=[],c=0;c >>3){case 1:g.begin=r.int64();break;case 2:g.end=r.int64();break;default:r.skipType(7&m)}}return g},e.decodeDelimited=function(r){return r instanceof h||(r=new h(r)),this.decode(r,r.uint32())},e.verify=function(r){return typeof r!="object"||r===null?"object expected":r.begin!=null&&r.hasOwnProperty("begin")&&!(a.isInteger(r.begin)||r.begin&&a.isInteger(r.begin.low)&&a.isInteger(r.begin.high))?"begin: integer|Long expected":r.end!=null&&r.hasOwnProperty("end")&&!(a.isInteger(r.end)||r.end&&a.isInteger(r.end.low)&&a.isInteger(r.end.high))?"end: integer|Long expected":null},e.fromObject=function(r){if(r instanceof o.onnx.TensorProto.Segment)return r;var i=new o.onnx.TensorProto.Segment;return r.begin!=null&&(a.Long?(i.begin=a.Long.fromValue(r.begin)).unsigned=!1:typeof r.begin=="string"?i.begin=parseInt(r.begin,10):typeof r.begin=="number"?i.begin=r.begin:typeof r.begin=="object"&&(i.begin=new a.LongBits(r.begin.low>>>0,r.begin.high>>>0).toNumber())),r.end!=null&&(a.Long?(i.end=a.Long.fromValue(r.end)).unsigned=!1:typeof r.end=="string"?i.end=parseInt(r.end,10):typeof r.end=="number"?i.end=r.end:typeof r.end=="object"&&(i.end=new a.LongBits(r.end.low>>>0,r.end.high>>>0).toNumber())),i},e.toObject=function(r,i){i||(i={});var c={};if(i.defaults){if(a.Long){var g=new a.Long(0,0,!1);c.begin=i.longs===String?g.toString():i.longs===Number?g.toNumber():g}else c.begin=i.longs===String?"0":0;a.Long?(g=new a.Long(0,0,!1),c.end=i.longs===String?g.toString():i.longs===Number?g.toNumber():g):c.end=i.longs===String?"0":0}return r.begin!=null&&r.hasOwnProperty("begin")&&(typeof r.begin=="number"?c.begin=i.longs===String?String(r.begin):r.begin:c.begin=i.longs===String?a.Long.prototype.toString.call(r.begin):i.longs===Number?new a.LongBits(r.begin.low>>>0,r.begin.high>>>0).toNumber():r.begin),r.end!=null&&r.hasOwnProperty("end")&&(typeof r.end=="number"?c.end=i.longs===String?String(r.end):r.end:c.end=i.longs===String?a.Long.prototype.toString.call(r.end):i.longs===Number?new a.LongBits(r.end.low>>>0,r.end.high>>>0).toNumber():r.end),c},e.prototype.toJSON=function(){return this.constructor.toObject(this,s.util.toJSONOptions)},e}(),t.DataLocation=function(){var e={},r=Object.create(e);return r[e[0]="DEFAULT"]=0,r[e[1]="EXTERNAL"]=1,r}(),t}(),p.TensorShapeProto=function(){function t(e){if(this.dim=[],e)for(var r=Object.keys(e),i=0;i >>3==1?(c.dim&&c.dim.length||(c.dim=[]),c.dim.push(o.onnx.TensorShapeProto.Dimension.decode(e,e.uint32()))):e.skipType(7&g)}return c},t.decodeDelimited=function(e){return e instanceof h||(e=new h(e)),this.decode(e,e.uint32())},t.verify=function(e){if(typeof e!="object"||e===null)return"object expected";if(e.dim!=null&&e.hasOwnProperty("dim")){if(!Array.isArray(e.dim))return"dim: array expected";for(var r=0;r >>3){case 1:m.dimValue=i.int64();break;case 2:m.dimParam=i.string();break;case 3:m.denotation=i.string();break;default:i.skipType(7&b)}}return m},e.decodeDelimited=function(i){return i instanceof h||(i=new h(i)),this.decode(i,i.uint32())},e.verify=function(i){if(typeof i!="object"||i===null)return"object expected";var c={};if(i.dimValue!=null&&i.hasOwnProperty("dimValue")&&(c.value=1,!(a.isInteger(i.dimValue)||i.dimValue&&a.isInteger(i.dimValue.low)&&a.isInteger(i.dimValue.high))))return"dimValue: integer|Long expected";if(i.dimParam!=null&&i.hasOwnProperty("dimParam")){if(c.value===1)return"value: multiple values";if(c.value=1,!a.isString(i.dimParam))return"dimParam: string expected"}return i.denotation!=null&&i.hasOwnProperty("denotation")&&!a.isString(i.denotation)?"denotation: string expected":null},e.fromObject=function(i){if(i instanceof o.onnx.TensorShapeProto.Dimension)return i;var c=new o.onnx.TensorShapeProto.Dimension;return i.dimValue!=null&&(a.Long?(c.dimValue=a.Long.fromValue(i.dimValue)).unsigned=!1:typeof i.dimValue=="string"?c.dimValue=parseInt(i.dimValue,10):typeof i.dimValue=="number"?c.dimValue=i.dimValue:typeof i.dimValue=="object"&&(c.dimValue=new a.LongBits(i.dimValue.low>>>0,i.dimValue.high>>>0).toNumber())),i.dimParam!=null&&(c.dimParam=String(i.dimParam)),i.denotation!=null&&(c.denotation=String(i.denotation)),c},e.toObject=function(i,c){c||(c={});var g={};return c.defaults&&(g.denotation=""),i.dimValue!=null&&i.hasOwnProperty("dimValue")&&(typeof i.dimValue=="number"?g.dimValue=c.longs===String?String(i.dimValue):i.dimValue:g.dimValue=c.longs===String?a.Long.prototype.toString.call(i.dimValue):c.longs===Number?new a.LongBits(i.dimValue.low>>>0,i.dimValue.high>>>0).toNumber():i.dimValue,c.oneofs&&(g.value="dimValue")),i.dimParam!=null&&i.hasOwnProperty("dimParam")&&(g.dimParam=i.dimParam,c.oneofs&&(g.value="dimParam")),i.denotation!=null&&i.hasOwnProperty("denotation")&&(g.denotation=i.denotation),g},e.prototype.toJSON=function(){return this.constructor.toObject(this,s.util.toJSONOptions)},e}(),t}(),p.TypeProto=function(){function t(r){if(r)for(var i=Object.keys(r),c=0;c >>3){case 1:g.tensorType=o.onnx.TypeProto.Tensor.decode(r,r.uint32());break;case 6:g.denotation=r.string();break;default:r.skipType(7&m)}}return g},t.decodeDelimited=function(r){return r instanceof h||(r=new h(r)),this.decode(r,r.uint32())},t.verify=function(r){if(typeof r!="object"||r===null)return"object expected";if(r.tensorType!=null&&r.hasOwnProperty("tensorType")){var i=o.onnx.TypeProto.Tensor.verify(r.tensorType);if(i)return"tensorType."+i}return r.denotation!=null&&r.hasOwnProperty("denotation")&&!a.isString(r.denotation)?"denotation: string expected":null},t.fromObject=function(r){if(r instanceof o.onnx.TypeProto)return r;var i=new o.onnx.TypeProto;if(r.tensorType!=null){if(typeof r.tensorType!="object")throw TypeError(".onnx.TypeProto.tensorType: object expected");i.tensorType=o.onnx.TypeProto.Tensor.fromObject(r.tensorType)}return r.denotation!=null&&(i.denotation=String(r.denotation)),i},t.toObject=function(r,i){i||(i={});var c={};return i.defaults&&(c.denotation=""),r.tensorType!=null&&r.hasOwnProperty("tensorType")&&(c.tensorType=o.onnx.TypeProto.Tensor.toObject(r.tensorType,i),i.oneofs&&(c.value="tensorType")),r.denotation!=null&&r.hasOwnProperty("denotation")&&(c.denotation=r.denotation),c},t.prototype.toJSON=function(){return this.constructor.toObject(this,s.util.toJSONOptions)},t.Tensor=function(){function r(i){if(i)for(var c=Object.keys(i),g=0;g >>3){case 1:m.elemType=i.int32();break;case 2:m.shape=o.onnx.TensorShapeProto.decode(i,i.uint32());break;default:i.skipType(7&b)}}return m},r.decodeDelimited=function(i){return i instanceof h||(i=new h(i)),this.decode(i,i.uint32())},r.verify=function(i){if(typeof i!="object"||i===null)return"object expected";if(i.elemType!=null&&i.hasOwnProperty("elemType")&&!a.isInteger(i.elemType))return"elemType: integer expected";if(i.shape!=null&&i.hasOwnProperty("shape")){var c=o.onnx.TensorShapeProto.verify(i.shape);if(c)return"shape."+c}return null},r.fromObject=function(i){if(i instanceof o.onnx.TypeProto.Tensor)return i;var c=new o.onnx.TypeProto.Tensor;if(i.elemType!=null&&(c.elemType=0|i.elemType),i.shape!=null){if(typeof i.shape!="object")throw TypeError(".onnx.TypeProto.Tensor.shape: object expected");c.shape=o.onnx.TensorShapeProto.fromObject(i.shape)}return c},r.toObject=function(i,c){c||(c={});var g={};return c.defaults&&(g.elemType=0,g.shape=null),i.elemType!=null&&i.hasOwnProperty("elemType")&&(g.elemType=i.elemType),i.shape!=null&&i.hasOwnProperty("shape")&&(g.shape=o.onnx.TensorShapeProto.toObject(i.shape,c)),g},r.prototype.toJSON=function(){return this.constructor.toObject(this,s.util.toJSONOptions)},r}(),t}(),p.OperatorSetIdProto=function(){function t(e){if(e)for(var r=Object.keys(e),i=0;i >>3){case 1:c.domain=e.string();break;case 2:c.version=e.int64();break;default:e.skipType(7&g)}}return c},t.decodeDelimited=function(e){return e instanceof h||(e=new h(e)),this.decode(e,e.uint32())},t.verify=function(e){return typeof e!="object"||e===null?"object expected":e.domain!=null&&e.hasOwnProperty("domain")&&!a.isString(e.domain)?"domain: string expected":e.version!=null&&e.hasOwnProperty("version")&&!(a.isInteger(e.version)||e.version&&a.isInteger(e.version.low)&&a.isInteger(e.version.high))?"version: integer|Long expected":null},t.fromObject=function(e){if(e instanceof o.onnx.OperatorSetIdProto)return e;var r=new o.onnx.OperatorSetIdProto;return e.domain!=null&&(r.domain=String(e.domain)),e.version!=null&&(a.Long?(r.version=a.Long.fromValue(e.version)).unsigned=!1:typeof e.version=="string"?r.version=parseInt(e.version,10):typeof e.version=="number"?r.version=e.version:typeof e.version=="object"&&(r.version=new a.LongBits(e.version.low>>>0,e.version.high>>>0).toNumber())),r},t.toObject=function(e,r){r||(r={});var i={};if(r.defaults)if(i.domain="",a.Long){var c=new a.Long(0,0,!1);i.version=r.longs===String?c.toString():r.longs===Number?c.toNumber():c}else i.version=r.longs===String?"0":0;return e.domain!=null&&e.hasOwnProperty("domain")&&(i.domain=e.domain),e.version!=null&&e.hasOwnProperty("version")&&(typeof e.version=="number"?i.version=r.longs===String?String(e.version):e.version:i.version=r.longs===String?a.Long.prototype.toString.call(e.version):r.longs===Number?new a.LongBits(e.version.low>>>0,e.version.high>>>0).toNumber():e.version),i},t.prototype.toJSON=function(){return this.constructor.toObject(this,s.util.toJSONOptions)},t}(),p),y.exports=o},2100:(y,n,u)=>{y.exports=u(9482)},9482:(y,n,u)=>{var d=n;function l(){d.util._configure(),d.Writer._configure(d.BufferWriter),d.Reader._configure(d.BufferReader)}d.build="minimal",d.Writer=u(1173),d.BufferWriter=u(3155),d.Reader=u(1408),d.BufferReader=u(593),d.util=u(9693),d.rpc=u(5994),d.roots=u(5054),d.configure=l,l()},1408:(y,n,u)=>{y.exports=f;var d,l=u(9693),p=l.LongBits,s=l.utf8;function h(c,g){return RangeError("index out of range: "+c.pos+" + "+(g||1)+" > "+c.len)}function f(c){this.buf=c,this.pos=0,this.len=c.length}var a,o=typeof Uint8Array<"u"?function(c){if(c instanceof Uint8Array||Array.isArray(c))return new f(c);throw Error("illegal buffer")}:function(c){if(Array.isArray(c))return new f(c);throw Error("illegal buffer")},t=function(){return l.Buffer?function(c){return(f.create=function(g){return l.Buffer.isBuffer(g)?new d(g):o(g)})(c)}:o};function e(){var c=new p(0,0),g=0;if(!(this.len-this.pos>4)){for(;g<3;++g){if(this.pos>=this.len)throw h(this);if(c.lo=(c.lo|(127&this.buf[this.pos])<<7*g)>>>0,this.buf[this.pos++]<128)return c}return c.lo=(c.lo|(127&this.buf[this.pos++])<<7*g)>>>0,c}for(;g<4;++g)if(c.lo=(c.lo|(127&this.buf[this.pos])<<7*g)>>>0,this.buf[this.pos++]<128)return c;if(c.lo=(c.lo|(127&this.buf[this.pos])<<28)>>>0,c.hi=(c.hi|(127&this.buf[this.pos])>>4)>>>0,this.buf[this.pos++]<128)return c;if(g=0,this.len-this.pos>4){for(;g<5;++g)if(c.hi=(c.hi|(127&this.buf[this.pos])<<7*g+3)>>>0,this.buf[this.pos++]<128)return c}else for(;g<5;++g){if(this.pos>=this.len)throw h(this);if(c.hi=(c.hi|(127&this.buf[this.pos])<<7*g+3)>>>0,this.buf[this.pos++]<128)return c}throw Error("invalid varint encoding")}function r(c,g){return(c[g-4]|c[g-3]<<8|c[g-2]<<16|c[g-1]<<24)>>>0}function i(){if(this.pos+8>this.len)throw h(this,8);return new p(r(this.buf,this.pos+=4),r(this.buf,this.pos+=4))}f.create=t(),f.prototype._slice=l.Array.prototype.subarray||l.Array.prototype.slice,f.prototype.uint32=(a=4294967295,function(){if(a=(127&this.buf[this.pos])>>>0,this.buf[this.pos++]<128||(a=(a|(127&this.buf[this.pos])<<7)>>>0,this.buf[this.pos++]<128)||(a=(a|(127&this.buf[this.pos])<<14)>>>0,this.buf[this.pos++]<128)||(a=(a|(127&this.buf[this.pos])<<21)>>>0,this.buf[this.pos++]<128)||(a=(a|(15&this.buf[this.pos])<<28)>>>0,this.buf[this.pos++]<128))return a;if((this.pos+=5)>this.len)throw this.pos=this.len,h(this,10);return a}),f.prototype.int32=function(){return 0|this.uint32()},f.prototype.sint32=function(){var c=this.uint32();return c>>>1^-(1&c)|0},f.prototype.bool=function(){return this.uint32()!==0},f.prototype.fixed32=function(){if(this.pos+4>this.len)throw h(this,4);return r(this.buf,this.pos+=4)},f.prototype.sfixed32=function(){if(this.pos+4>this.len)throw h(this,4);return 0|r(this.buf,this.pos+=4)},f.prototype.float=function(){if(this.pos+4>this.len)throw h(this,4);var c=l.float.readFloatLE(this.buf,this.pos);return this.pos+=4,c},f.prototype.double=function(){if(this.pos+8>this.len)throw h(this,4);var c=l.float.readDoubleLE(this.buf,this.pos);return this.pos+=8,c},f.prototype.bytes=function(){var c=this.uint32(),g=this.pos,m=this.pos+c;if(m>this.len)throw h(this,c);return this.pos+=c,Array.isArray(this.buf)?this.buf.slice(g,m):g===m?new this.buf.constructor(0):this._slice.call(this.buf,g,m)},f.prototype.string=function(){var c=this.bytes();return s.read(c,0,c.length)},f.prototype.skip=function(c){if(typeof c=="number"){if(this.pos+c>this.len)throw h(this,c);this.pos+=c}else do if(this.pos>=this.len)throw h(this);while(128&this.buf[this.pos++]);return this},f.prototype.skipType=function(c){switch(c){case 0:this.skip();break;case 1:this.skip(8);break;case 2:this.skip(this.uint32());break;case 3:for(;(c=7&this.uint32())!=4;)this.skipType(c);break;case 5:this.skip(4);break;default:throw Error("invalid wire type "+c+" at offset "+this.pos)}return this},f._configure=function(c){d=c,f.create=t(),d._configure();var g=l.Long?"toLong":"toNumber";l.merge(f.prototype,{int64:function(){return e.call(this)[g](!1)},uint64:function(){return e.call(this)[g](!0)},sint64:function(){return e.call(this).zzDecode()[g](!1)},fixed64:function(){return i.call(this)[g](!0)},sfixed64:function(){return i.call(this)[g](!1)}})}},593:(y,n,u)=>{y.exports=p;var d=u(1408);(p.prototype=Object.create(d.prototype)).constructor=p;var l=u(9693);function p(s){d.call(this,s)}p._configure=function(){l.Buffer&&(p.prototype._slice=l.Buffer.prototype.slice)},p.prototype.string=function(){var s=this.uint32();return this.buf.utf8Slice?this.buf.utf8Slice(this.pos,this.pos=Math.min(this.pos+s,this.len)):this.buf.toString("utf-8",this.pos,this.pos=Math.min(this.pos+s,this.len))},p._configure()},5054:y=>{y.exports={}},5994:(y,n,u)=>{n.Service=u(7948)},7948:(y,n,u)=>{y.exports=l;var d=u(9693);function l(p,s,h){if(typeof p!="function")throw TypeError("rpcImpl must be a function");d.EventEmitter.call(this),this.rpcImpl=p,this.requestDelimited=!!s,this.responseDelimited=!!h}(l.prototype=Object.create(d.EventEmitter.prototype)).constructor=l,l.prototype.rpcCall=function p(s,h,f,a,o){if(!a)throw TypeError("request must be specified");var t=this;if(!o)return d.asPromise(p,t,s,h,f,a);if(t.rpcImpl)try{return t.rpcImpl(s,h[t.requestDelimited?"encodeDelimited":"encode"](a).finish(),function(e,r){if(e)return t.emit("error",e,s),o(e);if(r!==null){if(!(r instanceof f))try{r=f[t.responseDelimited?"decodeDelimited":"decode"](r)}catch(i){return t.emit("error",i,s),o(i)}return t.emit("data",r,s),o(null,r)}t.end(!0)})}catch(e){return t.emit("error",e,s),void setTimeout(function(){o(e)},0)}else setTimeout(function(){o(Error("already ended"))},0)},l.prototype.end=function(p){return this.rpcImpl&&(p||this.rpcImpl(null,null,null),this.rpcImpl=null,this.emit("end").off()),this}},1945:(y,n,u)=>{y.exports=l;var d=u(9693);function l(f,a){this.lo=f>>>0,this.hi=a>>>0}var p=l.zero=new l(0,0);p.toNumber=function(){return 0},p.zzEncode=p.zzDecode=function(){return this},p.length=function(){return 1};var s=l.zeroHash="\0\0\0\0\0\0\0\0";l.fromNumber=function(f){if(f===0)return p;var a=f<0;a&&(f=-f);var o=f>>>0,t=(f-o)/4294967296>>>0;return a&&(t=~t>>>0,o=~o>>>0,++o>4294967295&&(o=0,++t>4294967295&&(t=0))),new l(o,t)},l.from=function(f){if(typeof f=="number")return l.fromNumber(f);if(d.isString(f)){if(!d.Long)return l.fromNumber(parseInt(f,10));f=d.Long.fromString(f)}return f.low||f.high?new l(f.low>>>0,f.high>>>0):p},l.prototype.toNumber=function(f){if(!f&&this.hi>>>31){var a=1+~this.lo>>>0,o=~this.hi>>>0;return a||(o=o+1>>>0),-(a+4294967296*o)}return this.lo+4294967296*this.hi},l.prototype.toLong=function(f){return d.Long?new d.Long(0|this.lo,0|this.hi,!!f):{low:0|this.lo,high:0|this.hi,unsigned:!!f}};var h=String.prototype.charCodeAt;l.fromHash=function(f){return f===s?p:new l((h.call(f,0)|h.call(f,1)<<8|h.call(f,2)<<16|h.call(f,3)<<24)>>>0,(h.call(f,4)|h.call(f,5)<<8|h.call(f,6)<<16|h.call(f,7)<<24)>>>0)},l.prototype.toHash=function(){return String.fromCharCode(255&this.lo,this.lo>>>8&255,this.lo>>>16&255,this.lo>>>24,255&this.hi,this.hi>>>8&255,this.hi>>>16&255,this.hi>>>24)},l.prototype.zzEncode=function(){var f=this.hi>>31;return this.hi=((this.hi<<1|this.lo>>>31)^f)>>>0,this.lo=(this.lo<<1^f)>>>0,this},l.prototype.zzDecode=function(){var f=-(1&this.lo);return this.lo=((this.lo>>>1|this.hi<<31)^f)>>>0,this.hi=(this.hi>>>1^f)>>>0,this},l.prototype.length=function(){var f=this.lo,a=(this.lo>>>28|this.hi<<4)>>>0,o=this.hi>>>24;return o===0?a===0?f<16384?f<128?1:2:f<2097152?3:4:a<16384?a<128?5:6:a<2097152?7:8:o<128?9:10}},9693:function(y,n,u){var d=n;function l(s,h,f){for(var a=Object.keys(h),o=0;o 0)},d.Buffer=function(){try{var s=d.inquire("buffer").Buffer;return s.prototype.utf8Write?s:null}catch{return null}}(),d._Buffer_from=null,d._Buffer_allocUnsafe=null,d.newBuffer=function(s){return typeof s=="number"?d.Buffer?d._Buffer_allocUnsafe(s):new d.Array(s):d.Buffer?d._Buffer_from(s):typeof Uint8Array>"u"?s:new Uint8Array(s)},d.Array=typeof Uint8Array<"u"?Uint8Array:Array,d.Long=d.global.dcodeIO&&d.global.dcodeIO.Long||d.global.Long||d.inquire("long"),d.key2Re=/^true|false|0|1$/,d.key32Re=/^-?(?:0|[1-9][0-9]*)$/,d.key64Re=/^(?:[\\x00-\\xff]{8}|-?(?:0|[1-9][0-9]*))$/,d.longToHash=function(s){return s?d.LongBits.from(s).toHash():d.LongBits.zeroHash},d.longFromHash=function(s,h){var f=d.LongBits.fromHash(s);return d.Long?d.Long.fromBits(f.lo,f.hi,h):f.toNumber(!!h)},d.merge=l,d.lcFirst=function(s){return s.charAt(0).toLowerCase()+s.substring(1)},d.newError=p,d.ProtocolError=p("ProtocolError"),d.oneOfGetter=function(s){for(var h={},f=0;f -1;--o)if(h[a[o]]===1&&this[a[o]]!==void 0&&this[a[o]]!==null)return a[o]}},d.oneOfSetter=function(s){return function(h){for(var f=0;f {y.exports=t;var d,l=u(9693),p=l.LongBits,s=l.base64,h=l.utf8;function f(b,_,w){this.fn=b,this.len=_,this.next=void 0,this.val=w}function a(){}function o(b){this.head=b.head,this.tail=b.tail,this.len=b.len,this.next=b.states}function t(){this.len=0,this.head=new f(a,0,0),this.tail=this.head,this.states=null}var e=function(){return l.Buffer?function(){return(t.create=function(){return new d})()}:function(){return new t}};function r(b,_,w){_[w]=255&b}function i(b,_){this.len=b,this.next=void 0,this.val=_}function c(b,_,w){for(;b.hi;)_[w++]=127&b.lo|128,b.lo=(b.lo>>>7|b.hi<<25)>>>0,b.hi>>>=7;for(;b.lo>127;)_[w++]=127&b.lo|128,b.lo=b.lo>>>7;_[w++]=b.lo}function g(b,_,w){_[w]=255&b,_[w+1]=b>>>8&255,_[w+2]=b>>>16&255,_[w+3]=b>>>24}t.create=e(),t.alloc=function(b){return new l.Array(b)},l.Array!==Array&&(t.alloc=l.pool(t.alloc,l.Array.prototype.subarray)),t.prototype._push=function(b,_,w){return this.tail=this.tail.next=new f(b,_,w),this.len+=_,this},i.prototype=Object.create(f.prototype),i.prototype.fn=function(b,_,w){for(;b>127;)_[w++]=127&b|128,b>>>=7;_[w]=b},t.prototype.uint32=function(b){return this.len+=(this.tail=this.tail.next=new i((b>>>=0)<128?1:b<16384?2:b<2097152?3:b<268435456?4:5,b)).len,this},t.prototype.int32=function(b){return b<0?this._push(c,10,p.fromNumber(b)):this.uint32(b)},t.prototype.sint32=function(b){return this.uint32((b<<1^b>>31)>>>0)},t.prototype.uint64=function(b){var _=p.from(b);return this._push(c,_.length(),_)},t.prototype.int64=t.prototype.uint64,t.prototype.sint64=function(b){var _=p.from(b).zzEncode();return this._push(c,_.length(),_)},t.prototype.bool=function(b){return this._push(r,1,b?1:0)},t.prototype.fixed32=function(b){return this._push(g,4,b>>>0)},t.prototype.sfixed32=t.prototype.fixed32,t.prototype.fixed64=function(b){var _=p.from(b);return this._push(g,4,_.lo)._push(g,4,_.hi)},t.prototype.sfixed64=t.prototype.fixed64,t.prototype.float=function(b){return this._push(l.float.writeFloatLE,4,b)},t.prototype.double=function(b){return this._push(l.float.writeDoubleLE,8,b)};var m=l.Array.prototype.set?function(b,_,w){_.set(b,w)}:function(b,_,w){for(var v=0;v >>0;if(!_)return this._push(r,1,0);if(l.isString(b)){var w=t.alloc(_=s.length(b));s.decode(b,w,0),b=w}return this.uint32(_)._push(m,_,b)},t.prototype.string=function(b){var _=h.length(b);return _?this.uint32(_)._push(h.write,_,b):this._push(r,1,0)},t.prototype.fork=function(){return this.states=new o(this),this.head=this.tail=new f(a,0,0),this.len=0,this},t.prototype.reset=function(){return this.states?(this.head=this.states.head,this.tail=this.states.tail,this.len=this.states.len,this.states=this.states.next):(this.head=this.tail=new f(a,0,0),this.len=0),this},t.prototype.ldelim=function(){var b=this.head,_=this.tail,w=this.len;return this.reset().uint32(w),w&&(this.tail.next=b.next,this.tail=_,this.len+=w),this},t.prototype.finish=function(){for(var b=this.head.next,_=this.constructor.alloc(this.len),w=0;b;)b.fn(b.val,_,w),w+=b.len,b=b.next;return _},t._configure=function(b){d=b,t.create=e(),d._configure()}},3155:(y,n,u)=>{y.exports=p;var d=u(1173);(p.prototype=Object.create(d.prototype)).constructor=p;var l=u(9693);function p(){d.call(this)}function s(h,f,a){h.length<40?l.utf8.write(h,f,a):f.utf8Write?f.utf8Write(h,a):f.write(h,a)}p._configure=function(){p.alloc=l._Buffer_allocUnsafe,p.writeBytesBuffer=l.Buffer&&l.Buffer.prototype instanceof Uint8Array&&l.Buffer.prototype.set.name==="set"?function(h,f,a){f.set(h,a)}:function(h,f,a){if(h.copy)h.copy(f,a,0,h.length);else for(var o=0;o >>0;return this.uint32(f),f&&this._push(p.writeBytesBuffer,f,h),this},p.prototype.string=function(h){var f=l.Buffer.byteLength(h);return this.uint32(f),f&&this._push(s,f,h),this},p._configure()},7714:(y,n,u)=>{n.R=void 0;const d=u(6919),l=u(7448);n.R=new class{async init(){}async createSessionHandler(p,s){const h=new d.Session(s);return await h.loadModel(p),new l.OnnxjsSessionHandler(h)}}},4200:(y,n,u)=>{n.c8=n.rX=void 0;const d=u(1670),l=u(5381),p=u(2157),s=u(2306);n.rX=()=>{if((typeof d.env.wasm.initTimeout!="number"||d.env.wasm.initTimeout<0)&&(d.env.wasm.initTimeout=0),typeof d.env.wasm.simd!="boolean"&&(d.env.wasm.simd=!0),typeof d.env.wasm.proxy!="boolean"&&(d.env.wasm.proxy=!1),typeof d.env.wasm.numThreads!="number"||!Number.isInteger(d.env.wasm.numThreads)||d.env.wasm.numThreads<=0){const h=typeof navigator>"u"?(0,l.cpus)().length:navigator.hardwareConcurrency;d.env.wasm.numThreads=Math.min(4,Math.ceil((h||1)/2))}},n.c8=new class{async init(){(0,n.rX)(),await(0,p.initWasm)()}async createSessionHandler(h,f){const a=new s.OnnxruntimeWebAssemblySessionHandler;return await a.loadModel(h,f),Promise.resolve(a)}}},6018:function(y,n,u){var d=this&&this.__createBinding||(Object.create?function(s,h,f,a){a===void 0&&(a=f);var o=Object.getOwnPropertyDescriptor(h,f);o&&!("get"in o?!h.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return h[f]}}),Object.defineProperty(s,a,o)}:function(s,h,f,a){a===void 0&&(a=f),s[a]=h[f]}),l=this&&this.__exportStar||function(s,h){for(var f in s)f==="default"||Object.prototype.hasOwnProperty.call(h,f)||d(h,s,f)};Object.defineProperty(n,"__esModule",{value:!0}),l(u(1670),n);const p=u(1670);{const s=u(7714).R;(0,p.registerBackend)("webgl",s,-10)}{const s=u(4200).c8;(0,p.registerBackend)("cpu",s,10),(0,p.registerBackend)("wasm",s,10),(0,p.registerBackend)("xnnpack",s,9)}},246:(y,n)=>{Object.defineProperty(n,"__esModule",{value:!0}),n.createAttributeWithCacheKey=void 0;class u{constructor(l){Object.assign(this,l)}get cacheKey(){return this._cacheKey||(this._cacheKey=Object.getOwnPropertyNames(this).sort().map(l=>`${this[l]}`).join(";")),this._cacheKey}}n.createAttributeWithCacheKey=d=>new u(d)},7778:(y,n,u)=>{Object.defineProperty(n,"__esModule",{value:!0}),n.Attribute=void 0;const d=u(1446),l=u(9395),p=u(9162),s=u(2517);var h=l.onnxruntime.experimental.fbs;class f{constructor(o){if(this._attributes=new Map,o!=null){for(const t of o)t instanceof d.onnx.AttributeProto?this._attributes.set(t.name,[f.getValue(t),f.getType(t)]):t instanceof h.Attribute&&this._attributes.set(t.name(),[f.getValue(t),f.getType(t)]);if(this._attributes.size p.Tensor.fromProto(r));if(o instanceof h.Attribute)return e.map(r=>p.Tensor.fromOrtTensor(r))}if(t===d.onnx.AttributeProto.AttributeType.STRING&&o instanceof d.onnx.AttributeProto){const r=e;return(0,s.decodeUtf8String)(r)}return t===d.onnx.AttributeProto.AttributeType.STRINGS&&o instanceof d.onnx.AttributeProto?e.map(s.decodeUtf8String):e}static getValueNoCheck(o){return o instanceof d.onnx.AttributeProto?this.getValueNoCheckFromOnnxFormat(o):this.getValueNoCheckFromOrtFormat(o)}static getValueNoCheckFromOnnxFormat(o){switch(o.type){case d.onnx.AttributeProto.AttributeType.FLOAT:return o.f;case d.onnx.AttributeProto.AttributeType.INT:return o.i;case d.onnx.AttributeProto.AttributeType.STRING:return o.s;case d.onnx.AttributeProto.AttributeType.TENSOR:return o.t;case d.onnx.AttributeProto.AttributeType.GRAPH:return o.g;case d.onnx.AttributeProto.AttributeType.FLOATS:return o.floats;case d.onnx.AttributeProto.AttributeType.INTS:return o.ints;case d.onnx.AttributeProto.AttributeType.STRINGS:return o.strings;case d.onnx.AttributeProto.AttributeType.TENSORS:return o.tensors;case d.onnx.AttributeProto.AttributeType.GRAPHS:return o.graphs;default:throw new Error(`unsupported attribute type: ${d.onnx.AttributeProto.AttributeType[o.type]}`)}}static getValueNoCheckFromOrtFormat(o){switch(o.type()){case h.AttributeType.FLOAT:return o.f();case h.AttributeType.INT:return o.i();case h.AttributeType.STRING:return o.s();case h.AttributeType.TENSOR:return o.t();case h.AttributeType.GRAPH:return o.g();case h.AttributeType.FLOATS:return o.floatsArray();case h.AttributeType.INTS:{const t=[];for(let e=0;e {Object.defineProperty(n,"__esModule",{value:!0}),n.resolveBackend=n.backend=void 0;const d=u(5038),l=new Map;async function p(s){const h=n.backend;if(h[s]!==void 0&&function(f){const a=f;return"initialize"in a&&typeof a.initialize=="function"&&"createSessionHandler"in a&&typeof a.createSessionHandler=="function"&&"dispose"in a&&typeof a.dispose=="function"}(h[s])){const f=h[s];let a=f.initialize();if(typeof a=="object"&&"then"in a&&(a=await a),a)return l.set(s,f),f}}n.backend={webgl:new d.WebGLBackend},n.resolveBackend=async function s(h){if(!h)return s(["webgl"]);{const f=typeof h=="string"?[h]:h;for(const a of f){const o=l.get(a);if(o)return o;const t=await p(a);if(t)return t}}throw new Error("no available backend to use")}},5038:(y,n,u)=>{Object.defineProperty(n,"__esModule",{value:!0}),n.WebGLBackend=void 0;const d=u(1670),l=u(6231),p=u(6416),s=u(7305);n.WebGLBackend=class{get contextId(){return d.env.webgl.contextId}set contextId(h){d.env.webgl.contextId=h}get matmulMaxBatchSize(){return d.env.webgl.matmulMaxBatchSize}set matmulMaxBatchSize(h){d.env.webgl.matmulMaxBatchSize=h}get textureCacheMode(){return d.env.webgl.textureCacheMode}set textureCacheMode(h){d.env.webgl.textureCacheMode=h}get pack(){return d.env.webgl.pack}set pack(h){d.env.webgl.pack=h}get async(){return d.env.webgl.async}set async(h){d.env.webgl.async=h}initialize(){try{return this.glContext=(0,s.createWebGLContext)(this.contextId),typeof this.matmulMaxBatchSize!="number"&&(this.matmulMaxBatchSize=16),typeof this.textureCacheMode!="string"&&(this.textureCacheMode="full"),typeof this.pack!="boolean"&&(this.pack=!1),typeof this.async!="boolean"&&(this.async=!1),l.Logger.setWithEnv(d.env),l.Logger.verbose("WebGLBackend",`Created WebGLContext: ${typeof this.glContext} with matmulMaxBatchSize: ${this.matmulMaxBatchSize}; textureCacheMode: ${this.textureCacheMode}; pack: ${this.pack}; async: ${this.async}.`),!0}catch(h){return l.Logger.warning("WebGLBackend",`Unable to initialize WebGLBackend. ${h}`),!1}}createSessionHandler(h){return new p.WebGLSessionHandler(this,h)}dispose(){this.glContext.dispose()}}},5107:(y,n,u)=>{Object.defineProperty(n,"__esModule",{value:!0}),n.CoordsGlslLib=void 0;const d=u(2517),l=u(8520),p=u(5060),s=u(7859),h=u(9390);class f extends l.GlslLib{constructor(o){super(o)}getFunctions(){return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},this.offsetToCoords()),this.coordsToOffset()),this.toVec()),this.valueFrom()),this.getCommonUtilFuncs()),this.getInputsSamplingSnippets()),this.getOutputSamplingSnippet())}getCustomTypes(){return{}}offsetToCoords(){return{offsetToCoords:new l.GlslLibRoutine(` - vec2 offsetToCoords(int offset, int width, int height) { - int t = offset / width; - int s = offset - t*width; - vec2 coords = (vec2(s,t) + vec2(0.5,0.5)) / vec2(width, height); - return coords; - } - `)}}coordsToOffset(){return{coordsToOffset:new l.GlslLibRoutine(` - int coordsToOffset(vec2 coords, int width, int height) { - float s = coords.s * float(width); - float t = coords.t * float(height); - int offset = int(t) * width + int(s); - return offset; - } - `)}}getOutputSamplingSnippet(){const o=this.context.outputTextureLayout;return o.isPacked?this.getPackedOutputSamplingSnippet(o):this.getUnpackedOutputSamplingSnippet(o)}getPackedOutputSamplingSnippet(o){const t=o.unpackedShape,e=[o.width,o.height],r={},i="getOutputCoords";switch(t.length){case 0:r[i]=this.getOutputScalarCoords();break;case 1:r[i]=this.getOutputPacked1DCoords(t,e);break;case 2:r[i]=this.getOutputPacked2DCoords(t,e);break;case 3:r[i]=this.getOutputPacked3DCoords(t,e);break;default:r[i]=this.getOutputPackedNDCoords(t,e)}const c=` - void setOutput(vec4 val) { - ${(0,p.getGlsl)(this.context.glContext.version).output} = val; - } - `;return r.floatTextureSetRGBA=new l.GlslLibRoutine(c),r}getUnpackedOutputSamplingSnippet(o){const t=o.unpackedShape,e=[o.width,o.height],r={},i="getOutputCoords";switch(t.length){case 0:r[i]=this.getOutputScalarCoords();break;case 1:r[i]=this.getOutputUnpacked1DCoords(t,e);break;case 2:r[i]=this.getOutputUnpacked2DCoords(t,e);break;case 3:r[i]=this.getOutputUnpacked3DCoords(t,e);break;case 4:r[i]=this.getOutputUnpacked4DCoords(t,e);break;case 5:r[i]=this.getOutputUnpacked5DCoords(t,e);break;case 6:r[i]=this.getOutputUnpacked6DCoords(t,e);break;default:throw new Error(`Unsupported output dimensionality: ${t.length}`)}const c=` - void setOutput(float val) { - ${(0,p.getGlsl)(this.context.glContext.version).output} = vec4(val, 0, 0, 0); - } - `;return r.floatTextureSetR=new l.GlslLibRoutine(c),r}getOutputScalarCoords(){return new l.GlslLibRoutine(` - int getOutputCoords() { - return 0; - } - `)}getOutputPacked1DCoords(o,t){const e=t;let r="";return e[0]===1?(r=` - int getOutputCoords() { - return 2 * int(TexCoords.y * ${e[1]}.0); - } - `,new l.GlslLibRoutine(r)):e[1]===1?(r=` - int getOutputCoords() { - return 2 * int(TexCoords.x * ${e[0]}.0); - } - `,new l.GlslLibRoutine(r)):(r=` - int getOutputCoords() { - ivec2 resTexRC = ivec2(TexCoords.xy * - vec2(${e[0]}, ${e[1]})); - return 2 * (resTexRC.y * ${e[0]} + resTexRC.x); - } - `,new l.GlslLibRoutine(r))}getOutputPacked2DCoords(o,t){let e="";if(d.ArrayUtil.arraysEqual(o,t))return e=` - ivec2 getOutputCoords() { - return 2 * ivec2(TexCoords.xy * vec2(${t[0]}, ${t[1]})); - } - `,new l.GlslLibRoutine(e);const r=t,i=Math.ceil(o[1]/2);return e=` - ivec2 getOutputCoords() { - ivec2 resTexRC = ivec2(TexCoords.xy * - vec2(${r[0]}, ${r[1]})); - - int index = resTexRC.y * ${r[0]} + resTexRC.x; - - // reverse r and c order for packed texture - int r = imod(index, ${i}) * 2; - int c = 2 * (index / ${i}); - - return ivec2(r, c); - } - `,new l.GlslLibRoutine(e)}getOutputPacked3DCoords(o,t){const e=[t[0],t[1]],r=Math.ceil(o[2]/2),i=r*Math.ceil(o[1]/2),c=` - ivec3 getOutputCoords() { - ivec2 resTexRC = ivec2(TexCoords.xy * - vec2(${e[0]}, ${e[1]})); - int index = resTexRC.y * ${e[0]} + resTexRC.x; - - int b = index / ${i}; - index -= b * ${i}; - - // reverse r and c order for packed texture - int r = imod(index, ${r}) * 2; - int c = 2 * (index / ${r}); - - return ivec3(b, r, c); - } - `;return new l.GlslLibRoutine(c)}getOutputPackedNDCoords(o,t){const e=[t[0],t[1]],r=Math.ceil(o[o.length-1]/2),i=r*Math.ceil(o[o.length-2]/2);let c=i,g="",m="b, r, c";for(let _=2;_ =0;--m)i[m]=i[m+1]*o[m+1];const c=["r","c","d"],g=i.map((m,b)=>`int ${c[b]} = index / ${m}; ${b===i.length-1?`int ${c[b+1]} = index - ${c[b]} * ${m}`:`index -= ${c[b]} * ${m}`};`).join("");return e=` - ivec3 getOutputCoords() { - ivec2 resTexRC = ivec2(TexCoords.xy * - vec2(${t[0]}, ${t[1]})); - int index = resTexRC.y * ${t[0]} + resTexRC.x; - ${g} - return ivec3(r, c, d); - } - `,new l.GlslLibRoutine(e)}getOutputUnpacked4DCoords(o,t){let e="";const r=o.length;let i=null;r<2&&(i=[]),i=new Array(r-1),i[r-2]=o[r-1];for(let m=r-3;m>=0;--m)i[m]=i[m+1]*o[m+1];const c=["r","c","d","d2"],g=i.map((m,b)=>`int ${c[b]} = index / ${m}; ${b===i.length-1?`int ${c[b+1]} = index - ${c[b]} * ${m}`:`index -= ${c[b]} * ${m}`};`).join("");return e=` - ivec4 getOutputCoords() { - ivec2 resTexRC = ivec2(TexCoords.xy * - vec2(${t[0]}, ${t[1]})); - int index = resTexRC.y * ${t[0]} + resTexRC.x; - ${g} - return ivec4(r, c, d, d2); - } - `,new l.GlslLibRoutine(e)}getOutputUnpacked5DCoords(o,t){let e="";const r=o.length;let i=null;r<2&&(i=[]),i=new Array(r-1),i[r-2]=o[r-1];for(let m=r-3;m>=0;--m)i[m]=i[m+1]*o[m+1];const c=["r","c","d","d2","d3"],g=i.map((m,b)=>`int ${c[b]} = index / ${m}; ${b===i.length-1?`int ${c[b+1]} = index - ${c[b]} * ${m}`:`index -= ${c[b]} * ${m}`};`).join("");return e=` - ivec5 getOutputCoords() { - ivec2 resTexRC = ivec2(TexCoords.xy * - vec2(${t[0]}, ${t[1]})); - int index = resTexRC.y * ${t[0]} + resTexRC.x; - ${g} - return ivec5(r, c, d, d2, d3); - } - `,new l.GlslLibRoutine(e)}getOutputUnpacked6DCoords(o,t){let e="";const r=o.length;let i=null;r<2&&(i=[]),i=new Array(r-1),i[r-2]=o[r-1];for(let m=r-3;m>=0;--m)i[m]=i[m+1]*o[m+1];const c=["r","c","d","d2","d3","d4"],g=i.map((m,b)=>`int ${c[b]} = index / ${m}; ${b===i.length-1?`int ${c[b+1]} = index - ${c[b]} * ${m}`:`index -= ${c[b]} * ${m}`};`).join("");return e=` - ivec6 getOutputCoords() { - ivec2 resTexRC = ivec2(TexCoords.xy * - vec2(${t[0]}, ${t[1]})); - int index = resTexRC.y * ${t[0]} + resTexRC.x; - ${g} - return ivec6(r, c, d, d2, d3, d4); - } - `,new l.GlslLibRoutine(e)}getCommonUtilFuncs(){const o={};let t="uvFromFlat";o[t]=new l.GlslLibRoutine(` - vec2 uvFromFlat(int texNumR, int texNumC, int index) { - int texC = index / texNumR; - int texR = index - texC * texNumR; - // TODO: swap texR, texC order in following function so row is corresponding to u and column is corresponding to - // v. - return (vec2(texR, texC) + halfCR) / vec2(texNumR, texNumC); - } - `),t="packedUVfrom1D",o[t]=new l.GlslLibRoutine(` - vec2 packedUVfrom1D(int texNumR, int texNumC, int index) { - int texelIndex = index / 2; - int texR = texelIndex / texNumC; - int texC = texelIndex - texR * texNumC; - return (vec2(texC, texR) + halfCR) / vec2(texNumC, texNumR); - } - `),t="packedUVfrom2D",o[t]=new l.GlslLibRoutine(` - vec2 packedUVfrom2D(int texNumR, int texNumC, int texelsInLogicalRow, int row, int col) { - int texelIndex = (row / 2) * texelsInLogicalRow + (col / 2); - int texR = texelIndex / texNumC; - int texC = texelIndex - texR * texNumC; - return (vec2(texC, texR) + halfCR) / vec2(texNumC, texNumR); - } - `),t="packedUVfrom3D",o[t]=new l.GlslLibRoutine(` - vec2 packedUVfrom3D(int texNumR, int texNumC, - int texelsInBatch, int texelsInLogicalRow, int b, - int row, int col) { - int index = b * texelsInBatch + (row / 2) * texelsInLogicalRow + (col / 2); - int texR = index / texNumC; - int texC = index - texR * texNumC; - return (vec2(texC, texR) + halfCR) / vec2(texNumC, texNumR); - } - `),t="sampleTexture";const e=(0,p.getGlsl)(this.context.glContext.version);return o[t]=new l.GlslLibRoutine(` - float sampleTexture(sampler2D textureSampler, vec2 uv) { - return ${e.texture2D}(textureSampler, uv).r; - }`),o}getInputsSamplingSnippets(){const o={},t=this.context.outputTextureLayout;return this.context.programInfo.inputNames.forEach((e,r)=>{const i=this.context.inputTextureLayouts[r],c=(0,h.generateShaderFuncNameFromInputSamplerName)(e);i.isPacked?o[c]=this.getPackedSamplerFromInput(c,e,i):o[c]=this.getUnpackedSamplerFromInput(c,e,i);const g=(0,h.generateShaderFuncNameFromInputSamplerNameAtOutCoords)(e);i.unpackedShape.length<=t.unpackedShape.length&&(i.isPacked?o[g]=this.getPackedSamplerAtOutputCoords(g,i,t,e):o[g]=this.getUnpackedSamplerAtOutputCoords(g,i,t,e))}),o}getPackedSamplerAtOutputCoords(o,t,e,r){const i=t.unpackedShape,c=e.unpackedShape,g=r,m=(0,h.generateShaderFuncNameFromInputSamplerName)(g),b=i.length,_=c.length,w=d.BroadcastUtil.getBroadcastDims(i,c),v=(0,h.getCoordsDataType)(_),S=_-b;let O;const E=(0,h.getGlChannels)();O=b===0?"":_<2&&w.length>=1?"coords = 0;":w.map(N=>`coords.${E[N+S]} = 0;`).join(` -`);let T="";T=_<2&&b>0?"coords":i.map((N,H)=>`coords.${E[H+S]}`).join(", ");let I="return outputValue;";const C=d.ShapeUtil.size(i)===1,B=d.ShapeUtil.size(c)===1;if(b!==1||C||B){if(C&&!B)I=_===1?` - return vec4(outputValue.x, outputValue.x, 0., 0.); - `:` - return vec4(outputValue.x); - `;else if(w.length){const N=b-2,H=b-1;w.indexOf(N)>-1&&w.indexOf(H)>-1?I="return vec4(outputValue.x);":w.indexOf(N)>-1?I="return vec4(outputValue.x, outputValue.y, outputValue.x, outputValue.y);":w.indexOf(H)>-1&&(I="return vec4(outputValue.xx, outputValue.zz);")}}else I=` - return vec4(outputValue.xy, outputValue.xy); - `;const F=` - vec4 ${o}() { - ${v} coords = getOutputCoords(); - - int lastDim = coords.${E[_-1]}; - coords.${E[_-1]} = coords.${E[_-2]}; - coords.${E[_-2]} = lastDim; - - ${O} - vec4 outputValue = ${m}(${T}); - ${I} - } - `;return new l.GlslLibRoutine(F,["coordinates.getOutputCoords"])}getUnpackedSamplerAtOutputCoords(o,t,e,r){const i=[e.width,e.height],c=[t.width,t.height],g=t.unpackedShape.length,m=e.unpackedShape.length,b=t.unpackedShape,_=e.unpackedShape,w=(0,h.generateShaderFuncNameFromInputSamplerName)(r);if(g===m&&d.ArrayUtil.arraysEqual(c,i)){const B=` - float ${o}() { - return sampleTexture(${r}, TexCoords); - } - `;return new l.GlslLibRoutine(B,["coordinates.sampleTexture"])}const v=(0,h.getCoordsDataType)(m),S=d.BroadcastUtil.getBroadcastDims(b,_),O=m-g;let E;const T=(0,h.getGlChannels)();E=g===0?"":m<2&&S.length>=1?"coords = 0;":S.map(B=>`coords.${T[B+O]} = 0;`).join(` -`);let I="";I=m<2&&g>0?"coords":t.unpackedShape.map((B,F)=>`coords.${T[F+O]}`).join(", ");const C=` - float ${o}() { - ${v} coords = getOutputCoords(); - ${E} - return ${w}(${I}); - } - `;return new l.GlslLibRoutine(C,["coordinates.getOutputCoords"])}getPackedSamplerFromInput(o,t,e){switch(e.unpackedShape.length){case 0:return this.getPackedSamplerScalar(o,t);case 1:return this.getPackedSampler1D(o,t,e);case 2:return this.getPackedSampler2D(o,t,e);case 3:return this.getPackedSampler3D(o,t,e);default:return this.getPackedSamplerND(o,t,e)}}getUnpackedSamplerFromInput(o,t,e){const r=e.unpackedShape;switch(r.length){case 0:return this.getUnpackedSamplerScalar(o,t,e);case 1:return this.getUnpackedSampler1D(o,t,e);case 2:return this.getUnpackedSampler2D(o,t,e);case 3:return this.getUnpackedSampler3D(o,t,e);case 4:return this.getUnpackedSampler4D(o,t,e);case 5:return this.getUnpackedSampler5D(o,t,e);case 6:return this.getUnpackedSampler6D(o,t,e);default:throw new Error(`Unsupported dimension ${r.length}-D`)}}getPackedSamplerScalar(o,t){const e=` - vec4 ${o}() { - return ${(0,p.getGlsl)(this.context.glContext.version).texture2D}(${t}, halfCR); - } - `;return new l.GlslLibRoutine(e)}getPackedSampler1D(o,t,e){const r=[e.width,e.height],i=[r[1],r[0]],c=(0,p.getGlsl)(this.context.glContext.version),g=`vec4 ${o}(int index) { - vec2 uv = packedUVfrom1D( - ${i[0]}, ${i[1]}, index); - return ${c.texture2D}(${t}, uv); - }`;return new l.GlslLibRoutine(g,["coordinates.packedUVfrom1D"])}getPackedSampler2D(o,t,e){const r=e.unpackedShape,i=[e.width,e.height],c=(0,p.getGlsl)(this.context.glContext.version),g=i[0],m=i[1];if(i!=null&&d.ArrayUtil.arraysEqual(r,i)){const v=`vec4 ${o}(int row, int col) { - vec2 uv = (vec2(col, row) + halfCR) / vec2(${m}.0, ${g}.0); - return ${c.texture2D}(${t}, uv); - }`;return new l.GlslLibRoutine(v)}const b=i,_=Math.ceil(r[1]/2),w=`vec4 ${o}(int row, int col) { - vec2 uv = packedUVfrom2D(${b[1]}, ${b[0]}, ${_}, row, col); - return ${c.texture2D}(${t}, uv); - }`;return new l.GlslLibRoutine(w,["coordinates.packedUVfrom2D"])}getPackedSampler3D(o,t,e){const r=e.unpackedShape,i=[e.width,e.height],c=[i[0],i[1]],g=(0,p.getGlsl)(this.context.glContext.version);if(r[0]===1){const v=r.slice(1),S=[1,2],O=(0,h.squeezeInputShape)(r,v),E=["b","row","col"],T=JSON.parse(JSON.stringify(e));T.unpackedShape=O;const I=this.getPackedSamplerFromInput(o,t,T),C=`${I.routineBody} - vec4 ${o}(int b, int row, int col) { - return ${o}(${(0,h.getSqueezedParams)(E,S)}); - } `;return new l.GlslLibRoutine(C,I.dependencies)}const m=c[0],b=c[1],_=Math.ceil(r[2]/2),w=`vec4 ${o}(int b, int row, int col) { - vec2 uv = packedUVfrom3D( - ${b}, ${m}, ${_*Math.ceil(r[1]/2)}, ${_}, b, row, col); - return ${g.texture2D}(${t}, uv);}`;return new l.GlslLibRoutine(w,["coordinates.packedUVfrom3D"])}getPackedSamplerND(o,t,e){const r=e.unpackedShape,i=r.length,c=[e.width,e.height],g=(0,p.getGlsl)(this.context.glContext.version),m=[c[0],c[1]],b=m[1],_=m[0],w=Math.ceil(r[i-1]/2);let v=w*Math.ceil(r[i-2]/2),S="int b, int row, int col",O=`b * ${v} + (row / 2) * ${w} + (col / 2)`;for(let T=2;T {const r=this.context.inputTextureLayouts[e],i=(r.unpackedShape.length>0?r.unpackedShape:r.shape).length;let c=`_${t}`;o[c]=new l.GlslLibRoutine(this.getValueFromSingle(t,i,r.width,r.height,!1),[`shapeUtils.indicesToOffset${c}`,"coordinates.offsetToCoords","fragcolor.getColorAsFloat"]),c+="_T",o[c]=new l.GlslLibRoutine(this.getValueFromSingle(t,i,r.width,r.height,!0),[`shapeUtils.indicesToOffset${c}`,"coordinates.offsetToCoords","fragcolor.getColorAsFloat"])}),o}getValueFromSingle(o,t,e,r,i){let c=`_${o}`;return i&&(c+="_T"),` - float ${c}(int m[${t}]) { - int offset = indicesToOffset${c}(m); - vec2 coords = offsetToCoords(offset, ${e}, ${r}); - float value = getColorAsFloat(${(0,p.getGlsl)(this.context.glContext.version).texture2D}(${o}, coords)); - return value; - } - `}getPackedValueFrom(o,t,e,r,i){let c=`_${o}_Pack`;return i&&(c+="_T"),` - vec4 ${c}(int m[${t}]) { - int offset = indicesToOffset_${o}(m); - vec2 coords = offsetToCoords(offset, ${e}, ${r}); - return ${(0,p.getGlsl)(this.context.glContext.version).texture2D}(${o}, coords); - } - `}}n.CoordsGlslLib=f},8520:(y,n)=>{var u;Object.defineProperty(n,"__esModule",{value:!0}),n.TopologicalSortGlslRoutines=n.GlslLibRoutineNode=n.GlslLibRoutine=n.GlslLib=n.GlslContext=n.FunctionType=void 0,(u=n.FunctionType||(n.FunctionType={}))[u.ValueBased=0]="ValueBased",u[u.Positional=1]="Positional",n.GlslContext=class{constructor(d,l,p,s){this.glContext=d,this.programInfo=l,this.inputTextureLayouts=p,this.outputTextureLayout=s}},n.GlslLib=class{constructor(d){this.context=d}},n.GlslLibRoutine=class{constructor(d,l){this.routineBody=d,this.dependencies=l}},n.GlslLibRoutineNode=class{constructor(d,l,p){this.name=d,this.dependencies=p||[],l&&(this.routineBody=l)}addDependency(d){d&&this.dependencies.push(d)}},n.TopologicalSortGlslRoutines=class{static returnOrderedNodes(d){if(!d||d.length===0)return[];if(d.length===1)return d;const l=new Set,p=new Set,s=new Array;return this.createOrderedNodes(d,l,p,s),s}static createOrderedNodes(d,l,p,s){for(let h=0;h 0)for(let f=0;f {Object.defineProperty(n,"__esModule",{value:!0}),n.EncodingGlslLib=void 0;const d=u(8520);class l extends d.GlslLib{constructor(s){super(s)}getFunctions(){return Object.assign(Object.assign({},this.encodeFloat32()),this.decodeFloat32())}getCustomTypes(){return{}}encodeFloat32(){return{encode:new d.GlslLibRoutine(`highp vec4 encode(highp float f) { - return vec4(f, 0.0, 0.0, 0.0); - } - `)}}decodeFloat32(){return{decode:new d.GlslLibRoutine(`highp float decode(highp vec4 rgba) { - return rgba.r; - } - `)}}encodeUint8(){const s=l.isLittleEndian()?"rgba.rgba=rgba.abgr;":"";return{encode:new d.GlslLibRoutine(` - highp vec4 encode(highp float f) { - highp float F = abs(f); - highp float Sign = step(0.0,-f); - highp float Exponent = floor(log2(F)); - highp float Mantissa = (exp2(- Exponent) * F); - Exponent = floor(log2(F) + 127.0) + floor(log2(Mantissa)); - highp vec4 rgba; - rgba[0] = 128.0 * Sign + floor(Exponent*exp2(-1.0)); - rgba[1] = 128.0 * mod(Exponent,2.0) + mod(floor(Mantissa*128.0),128.0); - rgba[2] = floor(mod(floor(Mantissa*exp2(23.0 -8.0)),exp2(8.0))); - rgba[3] = floor(exp2(23.0)*mod(Mantissa,exp2(-15.0))); - ${s} - rgba = rgba / 255.0; // values need to be normalized to [0,1] - return rgba; - } - `)}}decodeUint8(){const s=l.isLittleEndian()?"rgba.rgba=rgba.abgr;":"";return{decode:new d.GlslLibRoutine(` - highp float decode(highp vec4 rgba) { - rgba = rgba * 255.0; // values need to be de-normalized from [0,1] to [0,255] - ${s} - highp float Sign = 1.0 - step(128.0,rgba[0])*2.0; - highp float Exponent = 2.0 * mod(rgba[0],128.0) + step(128.0,rgba[1]) - 127.0; - highp float Mantissa = mod(rgba[1],128.0)*65536.0 + rgba[2]*256.0 +rgba[3] + float(0x800000); - highp float Result = Sign * exp2(Exponent) * (Mantissa * exp2(-23.0 )); - return Result; - } - `)}}static isLittleEndian(){const s=new ArrayBuffer(4),h=new Uint32Array(s),f=new Uint8Array(s);if(h[0]=3735928559,f[0]===239)return!0;if(f[0]===222)return!1;throw new Error("unknown endianness")}}n.EncodingGlslLib=l},9894:(y,n,u)=>{Object.defineProperty(n,"__esModule",{value:!0}),n.FragColorGlslLib=void 0;const d=u(8520),l=u(5060);class p extends d.GlslLib{constructor(h){super(h)}getFunctions(){return Object.assign(Object.assign({},this.setFragColor()),this.getColorAsFloat())}getCustomTypes(){return{}}setFragColor(){const h=(0,l.getGlsl)(this.context.glContext.version);return{setFragColor:new d.GlslLibRoutine(` - void setFragColor(float value) { - ${h.output} = encode(value); - } - `,["encoding.encode"])}}getColorAsFloat(){return{getColorAsFloat:new d.GlslLibRoutine(` - float getColorAsFloat(vec4 color) { - return decode(color); - } - `,["encoding.decode"])}}}n.FragColorGlslLib=p},2848:(y,n)=>{Object.defineProperty(n,"__esModule",{value:!0}),n.replaceInlines=void 0;const u=/@inline[\s\n\r]+(\w+)[\s\n\r]+([0-9a-zA-Z_]+)\s*\(([^)]*)\)\s*{(([^}]|[\n\r])*)}/gm;n.replaceInlines=function(d){const l={};let p;for(;(p=u.exec(d))!==null;){const s=p[3].split(",").map(h=>{const f=h.trim().split(" ");return f&&f.length===2?{type:f[0],name:f[1]}:null}).filter(h=>h!==null);l[p[2]]={params:s,body:p[4]}}for(const s in l){const h="(\\w+)?\\s+([_0-9a-zA-Z]+)\\s+=\\s+__FUNC__\\((.*)\\)\\s*;".replace("__FUNC__",s),f=new RegExp(h,"gm");for(;(p=f.exec(d))!==null;){const a=p[1],o=p[2],t=p[3].split(","),e=a?`${a} ${o};`:"";let r=l[s].body,i="";l[s].params.forEach((g,m)=>{g&&(i+=`${g.type} ${g.name} = ${t[m]}; -`)}),r=`${i} - ${r}`,r=r.replace("return",`${o} = `);const c=` - ${e} - { - ${r} - } - `;d=d.replace(p[0],c)}}return d.replace(u,"")}},8879:(y,n,u)=>{Object.defineProperty(n,"__esModule",{value:!0}),n.GlslPreprocessor=void 0;const d=u(8520),l=u(2848),p=u(5483),s=u(5060);n.GlslPreprocessor=class{constructor(h,f,a,o){this.libs={},this.glslLibRoutineDependencyGraph={},this.context=new d.GlslContext(h,f,a,o),Object.keys(p.glslRegistry).forEach(e=>{const r=new p.glslRegistry[e](this.context);this.libs[e]=r});const t=this.glslLibRoutineDependencyGraph;for(const e in this.libs){const r=this.libs[e].getFunctions();for(const i in r){const c=e+"."+i;let g;t[c]?(g=t[c],g.routineBody=r[i].routineBody):(g=new d.GlslLibRoutineNode(c,r[i].routineBody),t[c]=g);const m=r[i].dependencies;if(m)for(let b=0;b