License texts and notices for UtilSlate's on-device AI tools. Every model below is downloaded from this site (split into parts no larger than 24 MB, then joined again in the browser) and runs in the visitor's browser; nothing the visitor adds is sent anywhere. ============================================================================== RUNTIMES ============================================================================== Transformers.js (@huggingface/transformers 4.3.0), (c) Hugging Face, Apache License 2.0 Runs Whisper, Opus-MT, Florence-2 and the background models (Kokoro and the other image models run on ONNX Runtime directly). Used unmodified. Source: https://github.com/huggingface/transformers.js with @huggingface/jinja 0.5.10 (MIT License, (c) Hugging Face) and @huggingface/tokenizers 0.2.0 (Apache License 2.0, (c) Hugging Face). ONNX Runtime Web (onnxruntime-web 1.31.0-dev.20260914-8d85527a0), (c) Microsoft Corporation, MIT License Runs every model, on the graphics card (WebGPU) or the processor (WebAssembly). Used unmodified. Source: https://github.com/microsoft/onnxruntime MIT License Copyright (c) Microsoft Corporation Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. Tesseract.js 7.0.0 and tesseract.js-core 7.0.0, (c) the Tesseract.js contributors (Project Naptha), Apache License 2.0. Tesseract, (c) Google and the Tesseract contributors, Apache License 2.0. Reads text in Image to Text and OCR PDF. One change is made to Tesseract.js's worker file when it is copied to this site (tools/models/runtime.mjs): when it starts Tesseract with language data it was given directly, it names each language by its code, where version 7.0.0 used the data itself (src/worker-script/index.js, "l.data" became "l.code"). Sources: https://github.com/naptha/tesseract.js https://github.com/naptha/tesseract.js-core https://github.com/tesseract-ocr/tesseract Tesseract.js's worker bundles: the buffer module and ieee754 (MIT, BSD-3-Clause, (c) Feross Aboukhadijeh), regenerator-runtime (MIT, (c) Facebook, Inc.) and zlib.js (MIT, (c) imaya). Tesseract language files (tessdata_fast, revision 87416418657359cb625c412a48b6e1d6d41c29bd), (c) Google and the Tesseract contributors, Apache License 2.0: https://github.com/tesseract-ocr/tessdata_fast GlyphLessFont (tessdata/pdf.ttf from Tesseract, revision db20f322d03664d1e878e2fbf6e904f5da755594), Apache License 2.0: the blank font of OCR PDF's invisible text layer. ============================================================================== MODELS ============================================================================== YuNet face detector (face_detection_yunet_2023mar), (c) 2020 Shiqi Yu, MIT License Blur Faces. From https://github.com/opencv/opencv_zoo (Hugging Face opencv/face_detection_yunet, revision 3cc26e7f1014a5ee5d74a42acee58bafc9d0a310). Unmodified. MIT License Copyright (c) 2020 Shiqi Yu Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ormbg (Open Remove Background Model), (c) schirrmacher on Hugging Face, Apache License 2.0 (its model card) Background Remover, "Standard". Hugging Face schirrmacher/ormbg, in the ONNX form published as onnx-community/ormbg-ONNX (revision 034e2d884afbab897e10e78fc5bb566b29533fd6), 8-bit quantized. Unmodified. BiRefNet lite, (c) 2024 ZhengPeng, MIT License Background Remover, "Fine detail". From https://github.com/ZhengPeng7/BiRefNet, in the ONNX form published as onnx-community/BiRefNet_lite-ONNX (revision de15b22ba131738a16dff04aab8bdf8dc32e3ac1), half precision. Unmodified. MIT License Copyright (c) 2024 ZhengPeng Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. MI-GAN, (c) 2024 Picsart AI Research (PAIR), MIT License Object Remover. From https://github.com/Picsart-AI-Research/MI-GAN, the ONNX pipeline published by its first author on Hugging Face (andraniksargsyan/migan, revision 406830d0fa60666da0071c342ad2fbc8f30c5c64). Unmodified. MIT License Copyright (c) 2024 Picsart AI Research (PAIR) Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. Real-ESRGAN general x4v3, (c) 2021 Xintao Wang, BSD 3-Clause License Image Upscaler. Converted to ONNX for this site from the official weights (release v0.2.5.0, realesr-general-x4v3.pth) and network code of https://github.com/xinntao/Real-ESRGAN, with PReLU written as equivalent arithmetic. The conversion script is tools/models/convert.py in UtilSlate's source. BSD 3-Clause License Copyright (c) 2021, Xintao Wang All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. 3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. SCUNet (color, real photos, PSNR), (c) the SCUNet authors (Kai Zhang et al.), Apache License 2.0 Image Denoiser. Converted to ONNX for this site from the official weights (https://github.com/cszn/KAIR/releases/download/v1.0/scunet_color_real_psnr.pth) and network code of https://github.com/cszn/SCUNet, for 256-pixel tiles, with weights stored at half precision; the attention is written as matrix products (the same arithmetic). Script: tools/models/convert.py. Whisper tiny, base and small, (c) 2022 OpenAI, MIT License Transcribe Audio, Subtitle Generator and Speech to Text. From https://github.com/openai/whisper, in the ONNX form Transformers.js publishes (onnx-community/whisper-tiny, -base and -small, 8-bit; revisions ff4177021cc41f7db950912b73ea4fdf7d01d8e7, 1846881b6b3a3024392c1eea3ad983695bc23925, 36050c46d777d46dc4b5f43f6d90574fc38f8732). Unmodified. MIT License Copyright (c) 2022 OpenAI Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. Kokoro-82M, (c) hexgrad, Apache License 2.0 Text to Speech, with 13 of its English voices. From https://huggingface.co/hexgrad/Kokoro-82M, in the ONNX form published as onnx-community/Kokoro-82M-v1.0-ONNX (revision 1939ad2a8e416c0acfeecc08a694d14ef25f2231), 8-bit. Unmodified. Its pronunciation comes from misaki's dictionaries (us_gold, us_silver, gb_gold, gb_silver; (c) hexgrad, Apache License 2.0; https://github.com/hexgrad/misaki, revision fba1236595f2d2bf21d414ba6e57d25256afada3) and UtilSlate's own rules; eSpeak NG is not used. Spleeter 2-stem, (c) 2019-present Deezer SA, MIT License Remove Vocals. From https://github.com/deezer/spleeter, in the ONNX form the sherpa-onnx project publishes (csukuangfj/sherpa-onnx-spleeter-2stems-fp16, revision 93ba771920ade509f8cbd6825b1a90856c797e08; sherpa-onnx: (c) Xiaomi Corporation and contributors, Apache License 2.0, https://github.com/k2-fsa/sherpa-onnx). Unmodified. MIT License Copyright (c) 2019-present, Deezer SA. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. Opus-MT translation models, (c) Language Technology Research Group at the University of Helsinki (Jörg Tiedemann et al.), each under the licence shown: Apache License 2.0, or Creative Commons Attribution 4.0 International (https://creativecommons.org/licenses/by/4.0/). Translator, in browsers without a translator of their own. From https://github.com/Helsinki-NLP/Opus-MT (Hugging Face Helsinki-NLP), in the ONNX form Transformers.js publishes, 8-bit. Unmodified. ROMANCE-en Apache 2.0 Helsinki-NLP/opus-mt-ROMANCE-en, ONNX: Xenova/opus-mt-ROMANCE-en (revision f60feaabe8bb435a5871e7702b25f53a01e770f8) ar-en Apache 2.0 Helsinki-NLP/opus-mt-ar-en, ONNX: Xenova/opus-mt-ar-en (revision 09c7556866400dcc53562ba8d7035119e7d9a2c1) de-en Apache 2.0 Helsinki-NLP/opus-mt-de-en, ONNX: Xenova/opus-mt-de-en (revision 399dfd68706739fffd503f876093e455ae268a06) en-ROMANCE Apache 2.0 Helsinki-NLP/opus-mt-en-ROMANCE, ONNX: Xenova/opus-mt-en-ROMANCE (revision 9d2ba69ac80c8e8453c3d9a1e2323a0e7b8ca3cd) en-de CC BY 4.0 Helsinki-NLP/opus-mt-en-de, ONNX: Xenova/opus-mt-en-de (revision 1ca130c44c4c5441ef16d48aae521a424ab644f7) en-es Apache 2.0 Helsinki-NLP/opus-mt-en-es, ONNX: Xenova/opus-mt-en-es (revision 4b002a4c7edd54a7ced58877258b87f7efd3f892) en-fr Apache 2.0 Helsinki-NLP/opus-mt-en-fr, ONNX: Xenova/opus-mt-en-fr (revision 28726206f80896b90035bd99cccd5cc1e151f916) en-it Apache 2.0 Helsinki-NLP/opus-mt-en-it, ONNX: Xenova/opus-mt-en-it (revision 075406e3c8c2c30634d4a1bd8f00c21d9e162011) en-nl Apache 2.0 Helsinki-NLP/opus-mt-en-nl, ONNX: Xenova/opus-mt-en-nl (revision c3a0541231a7329b4492809fc2bd7ab7d2ceb0bc) en-ru Apache 2.0 Helsinki-NLP/opus-mt-en-ru, ONNX: Xenova/opus-mt-en-ru (revision e050376e960175e8ddc5cff85025dc8436cddd68) en-uk Apache 2.0 Helsinki-NLP/opus-mt-en-uk, ONNX: Xenova/opus-mt-en-uk (revision e6ca587292984b343fd829b6430ed55858496525) en-zh Apache 2.0 Helsinki-NLP/opus-mt-en-zh, ONNX: Xenova/opus-mt-en-zh (revision 046f55aec303cdee3e0318604406d4df20f1e8ea) es-en Apache 2.0 Helsinki-NLP/opus-mt-es-en, ONNX: Xenova/opus-mt-es-en (revision eadfd7c658a9d8929ac3b8e996b68a68e2c7d480) fr-en Apache 2.0 Helsinki-NLP/opus-mt-fr-en, ONNX: Xenova/opus-mt-fr-en (revision 6b166a182780e118c997879d0ad5be4b53671644) hi-en Apache 2.0 Helsinki-NLP/opus-mt-hi-en, ONNX: Xenova/opus-mt-hi-en (revision 99853100ed9d932987a6816e8cf7b1b6742a6116) it-en Apache 2.0 Helsinki-NLP/opus-mt-it-en, ONNX: Xenova/opus-mt-it-en (revision fd0b89b9c052adc1f2f64152f555aa17353728be) ja-en Apache 2.0 Helsinki-NLP/opus-mt-ja-en, ONNX: Xenova/opus-mt-ja-en (revision 1a906cfaaf7c8f4193f67f5885c082aa6dbd9d16) ko-en Apache 2.0 Helsinki-NLP/opus-mt-ko-en, ONNX: Xenova/opus-mt-ko-en (revision d9fa1ac6008242100fecb4fff9b0a5917a1be81f) nl-en Apache 2.0 Helsinki-NLP/opus-mt-nl-en, ONNX: Xenova/opus-mt-nl-en (revision 82c42d95d1508037cbe7172d85fd4e940a2f3584) pl-en Apache 2.0 Helsinki-NLP/opus-mt-pl-en, ONNX: Xenova/opus-mt-pl-en (revision aeaf0e003b045248c28a559a5ce6027b54ebdaba) ru-en CC BY 4.0 Helsinki-NLP/opus-mt-ru-en, ONNX: Xenova/opus-mt-ru-en (revision afe8c6c738ec81b6d033fd8f44f9678a639a7c67) uk-en Apache 2.0 Helsinki-NLP/opus-mt-uk-en, ONNX: Xenova/opus-mt-uk-en (revision b2ad6afa424aaeff8913ff350860b7a7b7c0a607) zh-en CC BY 4.0 Helsinki-NLP/opus-mt-zh-en, ONNX: Xenova/opus-mt-zh-en (revision 39d480d52a9ea3065a1f117adfe4dbc55de10e6f) Florence-2 base (fine-tuned), (c) Microsoft Corporation, MIT License Image Caption Generator. From https://huggingface.co/microsoft/Florence-2-base-ft, in the ONNX form published as onnx-community/Florence-2-base-ft (revision e88a44eaf3791a35eae0c5a47b3dbcd36e67eb6f), 8-bit. Unmodified. MIT License Copyright (c) Microsoft Corporation. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE Built into Chrome: the Text Summarizer, Paraphrasing Tool and Tone Changer use Chrome's own Summarizer and Prompt APIs, and the Translator uses Chrome's Translator and Language Detector APIs where the browser has them. Their models belong to the browser (Gemini Nano is Google's, under Google's terms); this site doesn't distribute them. ============================================================================== Apache License 2.0 (Transformers.js, @huggingface/tokenizers, Tesseract.js, Tesseract, its language files and GlyphLessFont, ormbg, SCUNet, Kokoro, misaki's dictionaries, sherpa-onnx, and the Opus-MT models marked Apache 2.0) ============================================================================== Apache License Version 2.0, January 2004 http://www.apache.org/licenses/ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 1. Definitions. "License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document. "Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License. "Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity. "You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License. "Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files. "Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types. "Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below). "Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof. "Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution." "Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work. 2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form. 3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed. 4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions: (a) You must give any other recipients of the Work or Derivative Works a copy of this License; and (b) You must cause any modified files to carry prominent notices stating that You changed the files; and (c) You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and (d) If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License. You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License. 5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions. 6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file. 7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License. 8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages. 9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability. END OF TERMS AND CONDITIONS APPENDIX: How to apply the Apache License to your work. To apply the Apache License to your work, attach the following boilerplate notice, with the fields enclosed by brackets "[]" replaced with your own identifying information. (Don't include the brackets!) The text should be enclosed in the appropriate comment syntax for the file format. We also recommend that a file or class name and description of purpose be included on the same "printed page" as the copyright notice for easier identification within third-party archives. Copyright [yyyy] [name of copyright owner] Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.