@athome-solution/feedjet 2.3.2 → 2.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.esm.js +1 -1
- package/dist/index.umd.js +1 -1
- package/package.json +2 -2
package/dist/index.umd.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(A,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e((A="undefined"!=typeof globalThis?globalThis:A||self).Feedjet={})}(this,function(A){"use strict";var e='<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24"><g fill="none"><circle cx="12" cy="12" r="10" stroke="currentColor" stroke-width="1.5"/><path stroke="currentColor" stroke-linecap="round" stroke-width="1.5" d="M12 17v-6"/><circle cx="1" cy="1" r="1" fill="currentColor" transform="matrix(1 0 0 -1 11 9)"/></g></svg>',t='<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 81 95"><path fill="url(#a)" d="M46.713 71.585c17.817-5.213 29.024-20.497 25.033-34.138-3.992-13.64-21.67-20.472-39.487-15.259C14.443 27.403 3.236 42.687 7.227 56.326s21.67 20.472 39.486 15.26"/><path fill="url(#b)" d="M47.973 74.096c-10.506 3.752-18.613 1.201-19.184 7.857C28.31 87.56 40.351 98.2 53.7 94.07c13.774-4.263 17.573-19.314 13.684-24.418-3.192-4.19-8.491.545-19.41 4.444"/><path fill="url(#c)" d="M19.124 74.507c-1.333-1.469-3.416-1.171-5.603-2.1-2.04-.867-3.02-1.904-5.139-1.252-2.118.652-6.193 3.75-6.682 5.868s-1.956 6.356.652 7.986 9.616-.326 11.735-1.467c2.119-1.14 9.588-4.016 5.037-9.035"/><path fill="url(#d)" d="M68.487 50.825c-1.895.236-4.393.976-5.124 2.928-.732 1.952 1.342 4.514 3.172 5.368s1.22 3.538 1.341 4.636c.123 1.098 2.002 4.091 5.491 3.416 3.782-.731 6.954-3.904 7.076-7.564s-2.806-7.32-4.514-8.297c-1.708-.975-5.491-.731-7.442-.487"/><path fill="url(#e)" d="M5.406 55.365c-.045-1.18.31-3.446 1.813-2.502s7.44 10 8.658 12.547c.662 1.384 1.783 3.387.542 3.249-3.79-.422-6.444-2.38-8.664-5.656-2.02-2.981-2.305-6.459-2.35-7.639z"/><path fill="url(#f)" d="M35.444 37.348c8.845-4.16 17.367-4.729 18.818-4.613 1.112.088 4.039 4.06 5.819 8.232s2.084 9.236 1.731 10.12c-.501 1.254-7.495 6.615-15.51 9.851-8.987 3.628-18.566 4.938-19.703 4.26-1.317-.782-3.923-5.252-4.947-7.781-.936-2.312-2.808-7.85-2.253-9.452.454-1.311 7.56-6.627 16.044-10.617"/><path fill="#D9EFFD" d="M32.25 52.667c2.252-1.42 5.906.125 6.277-1.582.396-1.82-4.697-3.525-8.045-1.903-3.248 1.573-4.253 8.26-2.744 8.378 2.227.174 2.067-3.351 4.512-4.893m17.775-7.856c2.555-.762 5.884 1.592 6.528-.117.692-1.836-3.442-4.4-7.421-3.557-3.72.79-6.25 6.605-4.78 7.223 2.129.894 2.986-2.748 5.673-3.549"/><path fill="#fff" d="M13.433 40.129c-.898 1.866-2.87 6.134-1.082 7.665s3.602-1.361 4.303-3.016c.7-1.655 2.238-4.55 3.352-6.064 1.115-1.514.712-3.59-.807-3.737-1.52-.146-4.507 2.532-5.767 5.152M8.344 62.39a17 17 0 0 1-1.624-3.492c-.39-1.162-.283-2.887.342-2.128.623.758 1.506 2.94 2.408 4.113s2.159 2.711 2.518 3.687c.274.743.267 2.023-.702 1.196-.453-.386-1.861-1.695-2.635-2.961m26.813 17.611c-1.073.405-2.065 2.109-1.562 3.206.503 1.098.896 2.412 1.682 3.213.787.803 2.837 2.768 4.644 2.603s2.914-.256 3.236-1.152c.321-.894.062-1.688-.835-2.274-.896-.586-2.6-.883-3.001-2.443-.402-1.56-2.115-3.929-4.165-3.155zM3.166 76.333c-.427.58-1.071 2.276-.938 3.347.134 1.071 1.74 1.206 2.411 0 .67-1.205 2.678-2.41 2.277-3.348-.402-.937-2.277-2.008-3.75 0m67.182-24.898c-.97-.689-3.318.397-4.553 1.462-1.237 1.064-1.077 2.495-.5 2.75.578.254 2.107.125 3.103-1.762.432-.817 2.573-2.008 1.95-2.45"/><path fill="#B4BFC6" d="M65.53 27.773c1.225 1.136 2.17 2.132 3.412 3.941 1.46 2.126 2.34 3.993 2.887 6.187.862 3.465.764 6.856.329 9.18 0 0 2.686-4.418 2.482-8.559-.063-1.268-.5-3.523-1.36-5.132-1.498-2.796-4.272-5.467-7.749-5.617M9.534 55.54s1.298.073 3.904 2.195c2.503 2.037 5.358 6.288 6.242 7.938 1.338 2.498 1.982 4.41.727 4.787 0 0-2.92-1.328-3.524-1.864 0 0 .197-.951-1.593-4.386-1.348-2.587-5.756-8.67-5.756-8.67m51.43.76c-.683 1.26-2.246 4.317-2.918 5.194-.671.876-1.443 1.823-4.493 3.91-2.876 1.968-3.968 2.45-6.77 3.5-2.8 1.05-4.356 3.654-4.356 3.654 5.209-.964 8.215-2.062 13.117-4.629s8.985-6.764 10.834-8.936c-.964-.434-1.576-1.141-2.25-1.913-1.234-1.61-.764-3.327-.764-3.327s-1.641 1.147-2.4 2.547M19.552 76.269c-.12-.48-1.546-1.185-2.512-.89-.967.297-3.305 1.967-4.288 2.95-1.341 1.342-2.946 1.854-3.912 2.348-.967.493-2.235 2.123-1.56 3.689 0 0 2.265.132 3.908-.559s9.33-3.687 8.365-7.538m23.539-.177c.28.28 3.279.788 5.765.336s7.4-1.605 9.434-2.51c2.035-.904 5.828-2.495 6.88-3.674.702-.787 1.32-1.601.72-1.91-.677-.348-2.155-.339-3.133-.196-1.95.285-9.196 3.684-10.654 4.372-3.386 1.595-8.172 2.742-8.872 2.938-.42.056-.31.474-.14.644"/><path fill="#2C3D82" d="M26.842 16.893a6.32 6.32 0 1 0 0-12.64 6.32 6.32 0 0 0 0 12.64"/><path fill="#5B76C4" d="M29.4 7.128c.786.534.655 1.643.793 3.15.127 1.392-1.974 3.633-3.553 3.606-1.58-.026-3.081-.631-3.925-2.19-.81-1.498-.716-2.375-.3-3.423.488-1.224 2.066-2.472 3.947-2.4 1.882.07 2.207.694 3.037 1.257"/><path fill="#3D55A3" d="M30.138 14.193c.765-.55 1.946-2.109 1.607-4.057-.39-2.243-1.28-3.689-2.845-3.459-1.593.235-2.878.818-2.842 2.344s.847 2.65-.133 3.632.035 2.983 1.186 2.843c1.744-.212 2.286-.77 3.027-1.303"/><path fill="#C0D2FF" d="M25.095 9.693c.688-.324 2.01-.925 2.28-1.618s.297-1.666-.4-2.19c-.7-.522-1.686-.764-2.505-.143-.819.62-2.18 1.623-1.663 2.549.515.927.437 1.73 1.308 1.614.87-.116.98-.212.98-.212"/><path fill="#2C3D82" d="M32.577 3.218a.7.7 0 0 1-.453-.166c-.67-.563-1.912-1.077-1.924-1.083a.705.705 0 0 1 .536-1.304c.06.024 1.455.602 2.295 1.308a.706.706 0 0 1-.454 1.246zm-8.363-1.441a.705.705 0 0 1-.203-1.381C24.061.38 25.271.02 26.414 0a.705.705 0 1 1 .024 1.41c-.944.017-2.011.333-2.022.336a.7.7 0 0 1-.202.03zm-5.103 3.385a.706.706 0 0 1-.555-1.14c.033-.042.828-1.052 1.768-1.737a.705.705 0 1 1 .831 1.14c-.783.57-1.48 1.458-1.487 1.467a.7.7 0 0 1-.556.27zm-2.138 5.828h-.011a.705.705 0 0 1-.694-.715c0-.054.024-1.338.36-2.448a.705.705 0 1 1 1.35.408c-.277.918-.3 2.05-.3 2.062a.705.705 0 0 1-.705.694m1.602 5.937a.7.7 0 0 1-.585-.31c-.03-.044-.734-1.09-1.093-2.175a.706.706 0 0 1 1.338-.444c.298.896.917 1.82.923 1.829a.705.705 0 0 1-.584 1.1m4.922 3.869a.7.7 0 0 1-.231-.04c-.05-.017-1.242-.435-2.177-1.09a.705.705 0 0 1 .808-1.155c.772.54 1.822.91 1.832.913a.706.706 0 0 1-.232 1.372m3.859.595a.706.706 0 0 1-.002-1.41c.97-.003 2.055-.312 2.065-.316a.704.704 0 1 1 .39 1.355c-.052.016-1.287.367-2.452.37zm5.821-2.177a.706.706 0 0 1-.428-1.266c.769-.584 1.446-1.485 1.452-1.493a.705.705 0 1 1 1.13.845c-.032.043-.804 1.07-1.729 1.772a.7.7 0 0 1-.425.143m3.341-5.108a.706.706 0 0 1-.67-.927c.305-.921.355-2.049.356-2.06a.705.705 0 0 1 1.409.06c-.002.055-.061 1.337-.426 2.441a.71.71 0 0 1-.67.485m.055-6.41a.7.7 0 0 1-.642-.414c-.418-.918-1.144-1.589-1.15-1.596a.706.706 0 0 1 .95-1.043c.038.035.943.864 1.485 2.055a.705.705 0 0 1-.641.997z"/><path fill="#121442" d="M26.6 65.199c1.111.717 10.717-.633 19.702-4.26 8.016-3.236 15.01-8.598 15.511-9.852.353-.884.049-5.948-1.731-10.12s-4.707-8.143-5.819-8.232c0 0-.983-.076-2.283.091 0 0 3.584 3.118 5.392 7.171 2.04 4.571 2.355 8.755 2.43 9.247.077.493 0 .683-.303 1.024-.304.342-6.89 4.918-12.376 7.433-6.497 2.978-17.44 5.618-22.213 5.618 0 0 .96 1.508 1.689 1.88"/><path fill="#2C3D82" d="M50.743 77.919s-5.268 3.559-1.686 10.032c.88 1.59 3.193 3.547 6.05 3.88 0 0-4.746-2.46-4.78-6.968-.027-3.623 4.126-4.064 3.247-8.062 0 0-1.408.173-2.832 1.118"/><path fill="#2C3D82" d="M53.978 82.46a2.844 2.844 0 1 0 0-5.69 2.844 2.844 0 0 0 0 5.69m.782 2.524a1.845 1.845 0 1 0-3.683-.232 1.845 1.845 0 0 0 3.682.232"/><defs><linearGradient id="a" x1="17.129" x2="71.508" y1="31.413" y2="69.047" gradientUnits="userSpaceOnUse"><stop stop-color="#F1F2F3"/><stop offset="1" stop-color="#C4CDD3"/></linearGradient><linearGradient id="b" x1="28.775" x2="68.823" y1="81.508" y2="81.508" gradientUnits="userSpaceOnUse"><stop stop-color="#F1F2F3"/><stop offset="1" stop-color="#C4CDD3"/></linearGradient><linearGradient id="c" x1=".846" x2="20.568" y1="78.291" y2="78.291" gradientUnits="userSpaceOnUse"><stop stop-color="#F1F2F3"/><stop offset="1" stop-color="#C4CDD3"/></linearGradient><linearGradient id="d" x1="63.212" x2="80.447" y1="58.94" y2="58.94" gradientUnits="userSpaceOnUse"><stop stop-color="#F1F2F3"/><stop offset="1" stop-color="#C4CDD3"/></linearGradient><linearGradient id="e" x1="5.402" x2="16.977" y1="60.653" y2="60.653" gradientUnits="userSpaceOnUse"><stop stop-color="#F1F2F3"/><stop offset="1" stop-color="#C4CDD3"/></linearGradient><linearGradient id="f" x1="49.368" x2="31.597" y1="67.699" y2="29.033" gradientUnits="userSpaceOnUse"><stop offset=".13" stop-color="#134395"/><stop offset="1" stop-color="#0E2050"/></linearGradient></defs></svg>',n='<svg xmlns="http://www.w3.org/2000/svg" width="110" height="122" fill="none"><path fill="#C65D17" d="M69.808 20.603a7.81 7.81 0 1 0 0-15.619 7.81 7.81 0 0 0 0 15.619"/><path fill="#EE7219" d="M69.106 7.54c1.157-.205 1.997.89 3.417 2.106 1.312 1.124 1.383 4.918-.039 6.256-1.421 1.337-3.273 2.095-5.363 1.441-2.01-.628-2.682-1.487-3.216-2.774-.623-1.504-.302-3.969 1.426-5.527s2.553-1.287 3.774-1.503"/><path fill="#FF9852" d="M75.849 13.16c.203-1.145-.094-3.544-2.073-4.978-2.278-1.65-4.312-2.162-5.5-.611-1.21 1.58-1.846 3.204-.498 4.524s3.033 1.617 3.012 3.332 2.601 2.612 3.5 1.495c1.362-1.689 1.362-2.651 1.559-3.762"/><path fill="#FFDFCA" d="M67.503 13.52c.33-.88.983-2.552.624-3.399-.359-.846-1.171-1.731-2.24-1.593s-2.152.775-2.343 2.03c-.189 1.256-.531 3.316.724 3.692 1.256.377 1.878 1.154 2.549.302.67-.852.686-1.032.686-1.032"/><path fill="#C65D19" d="M76.563 3.752a.9.9 0 0 1-.512-.164c-.93-.67-2.198-1.137-2.21-1.141a.876.876 0 0 1 .6-1.648c.061.023 1.506.553 2.636 1.366a.877.877 0 0 1-.514 1.589zM66.531 2.2A.877.877 0 0 1 66.28.483C66.34.464 67.815.025 69.206 0a.877.877 0 0 1 .03 1.754c-1.15.02-2.44.404-2.452.408a1 1 0 0 1-.254.037zm-6.207 4.119a.876.876 0 0 1-.69-1.417c.041-.051 1.008-1.281 2.155-2.118A.877.877 0 1 1 62.822 4.2c-.944.69-1.797 1.77-1.807 1.782a.87.87 0 0 1-.69.336m-2.603 7.095h-.013a.877.877 0 0 1-.864-.89c0-.065.029-1.63.438-2.984a.876.876 0 1 1 1.679.507c-.34 1.121-.364 2.489-.364 2.503a.877.877 0 0 1-.876.864m1.95 7.223a.87.87 0 0 1-.727-.386c-.037-.054-.896-1.33-1.333-2.653a.877.877 0 0 1 1.665-.552c.36 1.088 1.113 2.21 1.12 2.222a.878.878 0 0 1-.726 1.367zm5.985 4.706a.9.9 0 0 1-.287-.049c-.061-.02-1.513-.53-2.654-1.328a.876.876 0 1 1 1.004-1.437c.938.656 2.213 1.105 2.226 1.11a.877.877 0 0 1-.289 1.704m4.696.725a.877.877 0 0 1-.002-1.754c1.17-.004 2.496-.379 2.509-.382a.876.876 0 0 1 .485 1.685c-.063.018-1.569.446-2.988.45h-.004m7.085-2.648a.876.876 0 0 1-.53-1.575c.925-.704 1.755-1.803 1.763-1.814a.878.878 0 0 1 1.404 1.051c-.04.053-.98 1.302-2.106 2.158a.88.88 0 0 1-.53.179zm4.064-6.214a.877.877 0 0 1-.832-1.153c.367-1.11.43-2.486.432-2.5a.876.876 0 1 1 1.752.075c-.002.065-.074 1.63-.519 2.976a.88.88 0 0 1-.832.601zm.129-8.11a.88.88 0 0 1-.71-.36c-.61-.837-1.567-1.798-1.577-1.807a.877.877 0 0 1 1.24-1.24c.044.043 1.063 1.066 1.755 2.015a.878.878 0 0 1-.707 1.394z"/><path fill="url(#a)" d="M99.026 64.396c1.801-17.578-15.35-33.734-38.309-36.086s-43.03 9.99-44.83 27.568c-1.802 17.577 15.35 33.733 38.308 36.085 22.959 2.353 43.03-9.99 44.831-27.567"/><path fill="url(#b)" d="M53.803 96.185c13.869.058 22.32-6.284 25.74 1.286 2.88 6.377-6.843 23.827-24.2 24.5-17.914.694-28.587-15.385-26.137-22.978 2.011-6.231 10.183-2.869 24.597-2.808"/><path fill="url(#c)" d="M83.645 94.965c1.345-1.848 3.904-1.59 6.506-3.615 2.176-1.691 2.457-4.048 6.65-3.903 2.754.094 5.419 5.556 7.95 6.505 3.47 1.302 6.723 6.671 3.904 9.252s-13.344 2.797-16.192 1.88c-2.847-.916-13.445-3.758-8.818-10.12"/><path fill="url(#d)" d="M12.967 81.728c1.824-1.094 4.736-2.202 7.49.22s7.6 8.481 5.067 11.675-9.473 4.957-13.108 4.957-9.802.11-11.675-2.534c-1.184-1.671-.991-3.634.882-5.507s7.49-6.499 11.344-8.811"/><path fill="url(#e)" d="M60.241 47.556c-11.753-3.09-22.3-1.86-24.05-1.392-1.338.359-4.02 5.874-5.255 11.377s-.463 11.762.167 12.763c.895 1.42 10.657 6.397 21.188 8.543 11.805 2.407 23.813 1.846 25.05.761 1.432-1.254 3.61-7.306 4.291-10.631.622-3.038 1.662-10.23.621-12.065-.85-1.5-10.739-6.395-22.012-9.357z"/><path fill="#121442" d="M77.34 79.61c-1.196 1.128-13.243 1.645-25.05-.761-10.53-2.146-20.292-7.122-21.187-8.543-.632-1.001-1.402-7.261-.168-12.763 1.235-5.502 3.918-11.018 5.257-11.377 0 0 1.184-.316 2.811-.403 0 0-3.678 4.62-4.973 9.983-1.461 6.049-.903 11.235-.884 11.854.019.62.154.835.602 1.184.448.348 9.534 4.456 16.808 6.292 8.616 2.175 22.59 2.933 28.425 1.855 0 0-.834 2.06-1.64 2.68"/><path fill="#D9EFFD" d="M51.307 61.156c.925-4.057-1.34-8.033-5.06-8.88s-7.483 1.753-8.408 5.81c-.925 4.058 1.34 8.034 5.06 8.882s7.483-1.755 8.408-5.812"/><path fill="url(#f)" d="M44.424 62.484a2.86 2.86 0 1 0 0-5.721 2.86 2.86 0 0 0 0 5.721"/><path fill="#D9EFFD" d="M75.309 66.647c.925-4.058-1.34-8.034-5.06-8.882s-7.483 1.755-8.408 5.812 1.34 8.033 5.06 8.88 7.483-1.753 8.408-5.81"/><path fill="url(#g)" d="M68.567 68.174a2.86 2.86 0 1 0 0-5.722 2.86 2.86 0 0 0 0 5.722"/><path fill="url(#h)" d="M101.031 62.802c-.213-1.452-1.159-4.143-2.781-2.65-1.624 1.494-6.84 13.906-7.753 17.294-.497 1.841-1.416 4.543.071 4.094 4.54-1.37 7.34-4.363 9.316-8.87 1.797-4.1 1.361-8.417 1.148-9.869z"/><path fill="url(#i)" d="M21.297 42.644c-1.24 1.664-2.171 3.095-3.282 5.588-1.305 2.928-1.96 5.409-2.132 8.215-.273 4.43.614 8.554 1.67 11.296 0 0-4.283-4.793-4.967-9.902-.21-1.564-.185-4.42.505-6.582 1.198-3.755 3.989-7.648 8.206-8.615"/><path fill="#B4BFC6" d="M91.02 75.824c1.064-3.466.54-4.177-3.846.499-1.219 1.299-3.418 3.865-5.649 5.797-1.037.9-2.638 2.151-6.837 4.014-3.962 1.757-5.406 2.172-9.067 2.824s-8.002 2.309-6.304 3.292c3.8.268 10.365-.541 16.985-2.682 6.546-2.116 11.027-5.804 13.779-8.041-.715-.495.495-4.251.94-5.702zm-6.812 21.478c.016-1.18 2.092-1.324 3.34-1.18 1.25.144 3.925 1.621 5.35 2.602 1.942 1.338 5.066 1.269 6.071 2.169 2.747 2.457-1.427 3.828-3.614 3.47-3.384-.557-11.214-2.126-11.148-7.061m-39.137-.381c.446.206 3.413 1.445 6.53 1.827 3.12.381 8.59.764 11.34.441s6.83-.49 9.155-1.578c2.074-.97 3.508-2.864 2.909-3.454-.675-.662-4.481-.194-5.689.03-5.932 1.099-8.743 1.582-11.64 1.792-4.642.334-11.655-.154-12.56-.18-.518-.09-.833.76-.048 1.122zM8.562 95.276c-.793.68.66 2.314 2.534 2.202 1.873-.11 7.843-.718 9.913-1.982s3.23-2.828 3.084-4.075c-.17-1.471-.991-1.433-2.202-1.102s-11.015 2.974-13.327 4.957z"/><path fill="#fff" d="M37.274 33.182c2.449-.797 8.034-2.519 9.624-.061 1.59 2.457-2.275 4.212-4.43 4.801s-5.975 2.004-8.026 3.126c-2.05 1.122-4.542.282-4.47-1.614.071-1.898 3.866-5.135 7.302-6.251zM15.75 47.052c.754-1.049 2.477-2.1 2.309-1.144-.168.958-1.58 3.25-2.099 4.644-.605 1.625-1.081 3.121-1.247 4.116-.128.773-1.359 1.504-1.431.247-.016-.294-.088-2.352.47-4.157.559-1.805 1.745-3.358 1.997-3.707h.002m89.254 49.319s1.926 1.114 2.432 1.925.81 2.229.101 3.039c-.708.81-1.925.912-2.533.102s-1.317-2.533-1.824-3.343c-.506-.81-.101-2.432 1.824-1.722zm-67.074 4.475c-.777-1.281-2.414-2.424-3.583-2.222-1.118.194-2.605 1.137-2.816 2.669 0 0 .39 3.457 1.79 5.417 1.401 1.961 3.783 3.782 5.043 2.101s.477-6.464-.434-7.966zM4.294 89.403c-.784.524-3.343 2.912-3.077 4.29.208 1.077 1.74 1.225 2.718.735.979-.49 4.206-2.35 3.445-4.307-.318-.817-1.212-1.971-3.086-.718"/><path fill="#2C3D82" d="M54.398 101.707s-7.536 2.383-5.55 11.364c.488 2.207 2.555 5.354 5.842 6.762 0 0-4.788-4.61-3.238-9.994 1.246-4.329 6.354-3.388 6.716-8.466 0 0-1.74-.291-3.77.334"/><path fill="#2C3D82" d="M57.654 108.406a3.537 3.537 0 1 0-.001-7.074 3.537 3.537 0 0 0 .001 7.074m-3.118 4.644a2.294 2.294 0 1 0 0-4.587 2.294 2.294 0 0 0 0 4.587"/><defs><linearGradient id="a" x1="30.034" x2="94.505" y1="38.434" y2="89.456" gradientUnits="userSpaceOnUse"><stop offset=".07" stop-color="#F1F2F3"/><stop offset="1" stop-color="#C4CDD3"/></linearGradient><linearGradient id="b" x1="29.078" x2="76.812" y1="97.942" y2="112.096" gradientUnits="userSpaceOnUse"><stop stop-color="#F1F2F3"/><stop offset="1" stop-color="#C4CDD3"/></linearGradient><linearGradient id="c" x1="108.681" x2="82.691" y1="94.595" y2="99.393" gradientUnits="userSpaceOnUse"><stop stop-color="#F1F2F3"/><stop offset="1" stop-color="#C4CDD3"/></linearGradient><linearGradient id="d" x1="6.339" x2="22.961" y1="84.75" y2="101.355" gradientUnits="userSpaceOnUse"><stop stop-color="#F1F2F3"/><stop offset="1" stop-color="#C4CDD3"/></linearGradient><linearGradient id="e" x1="50.069" x2="63.068" y1="87.803" y2="36.521" gradientUnits="userSpaceOnUse"><stop offset=".13" stop-color="#134395"/><stop offset="1" stop-color="#0E2050"/></linearGradient><linearGradient id="f" x1="43.08" x2="47.06" y1="58.236" y2="62.347" gradientUnits="userSpaceOnUse"><stop offset=".13" stop-color="#134395"/><stop offset="1" stop-color="#0E2050"/></linearGradient><linearGradient id="g" x1="67.931" x2="71.463" y1="64.503" y2="69.005" gradientUnits="userSpaceOnUse"><stop offset=".13" stop-color="#134395"/><stop offset="1" stop-color="#0E2050"/></linearGradient><linearGradient id="h" x1="102.229" x2="88.078" y1="69.265" y2="71.878" gradientUnits="userSpaceOnUse"><stop stop-color="#F1F2F3"/><stop offset="1" stop-color="#C4CDD3"/></linearGradient><linearGradient id="i" x1="12.47" x2="21.297" y1="55.193" y2="55.193" gradientUnits="userSpaceOnUse"><stop stop-color="#F1F2F3"/><stop offset="1" stop-color="#C4CDD3"/></linearGradient></defs></svg>';const r={FR:"fr",EN:"en",ES:"es",NL:"nl"},s={fr:{issue:{tab:"Anomalie",form:{title:"Signaler un problème technique",description:"Vous avez repéré une <strong>anomalie</strong> ? Signalez-la en décrivant le problème !",field:{title:"Résumé du problème",description:"Décrivez précisément le problème rencontré"}},thanks:{title:"Merci pour votre signalement",description:"Votre signalement a bien été pris en compte. Nous vous remercions de participer à l’amélioration de l’application. Notre équipe l’analysera dans les meilleurs délais."}},enhancement:{tab:"Idée",form:{title:"Proposer une amélioration",description:"Vous avez une idée pour <strong>améliorer</strong> notre service ? Partagez là !",field:{title:"Résumé de votre suggestion",description:"Expliquez en détail votre proposition d'amélioration"}},thanks:{title:"Merci pour votre suggestion",description:"Votre idée a bien été transmise. Nous apprécions votre engagement à améliorer notre service."}},decision:{tab:"Feedbacks",description:"Retrouvez ici vos feedbacks et leur statut de prise en compte !",loading:"Chargement...",empty:"Aucun feedback pour le moment.",card:{type:{issue:"Problème",enhancement:"Idée"},date_prefix:"Envoyé le"},status:{enhancement:{loved:"Coup de cœur",planned:"C’est dans les tuyaux",next_step:"Prochaine étape",to_study:"À étudier",impossible:"Mission impossible",transmitted:"Transmis à la bonne équipe"},issue:{planned:"C’est dans les tuyaux",next_step:"Prochaine étape",not_a_bug:"Comportement normal",impossible:"Mission impossible",transmitted:"Transmis à la bonne équipe",out_of_scope:"Hors périmètre"}},form:{title:"Proposer une amélioration",description:"Vous avez une idée pour <strong>améliorer</strong> notre service ? Partagez là !",field:{title:"Résumé de votre suggestion",description:"Expliquez en détail votre proposition d'amélioration"}},thanks:{title:"Merci pour votre suggestion",description:"Votre idée a bien été transmise. Nous apprécions votre engagement à améliorer notre service."}},feedbot:{anonymous:"Répondre anonymement",rating_error:"Veuillez sélectionner une note",cancel:"Non merci",submit:"Envoyer votre avis",bubble_default:"Bonjour !",star_label:"Noter {n} étoile{s}",thanks:{title:"Merci pour votre réponse !",sub_title:"Nous vous remercions de votre réponse qui participe grandement à l'amélioration de la qualité de votre application.",declined:{title:"Merci de votre réponse",sub_title:"Nous vous remercions de votre réponse."}}},integration_test:{pending:{button:"Tester l'intégration",feedback:{title:"Testons ensemble l'<strong>intégration de FeedBack</strong> !",text:"Avant d'aller plus loin, assurons-nous que la connexion entre votre application et le module FeedBack est bien en place."},feedbot:{title:"Testons ensemble l'<strong>intégration de FeedBot</strong> !",text:"Avant d'aller plus loin, assurons-nous que la connexion entre votre application et le module FeedBot est bien en place."}},checking:{title:"Test de connexion en cours…",button:"Test en cours...",feedback_text:"Nous vérifions actuellement la communication entre votre application et FeedBack.",feedbot_text:"Nous vérifions actuellement la communication entre votre application et FeedBot."},ok:{title:"Intégration validée !",text:"C'est branché ! La communication entre les deux systèmes est opérationnelle",button:"Continuer"},ko:{title:"Echec du test d'intégration",text:"La communication entre les deux systèmes ne semble pas avoir fonctionné, vérifiez vos paramètres et notamment les url et uuid du projet dans FeedJet",button:"Réessayer"}},error:{communication:{title:"Problème de communication",description:"La communication entre les deux systèmes ne semble plus fonctionner, contactez votre administrateur"},no_subscription:{title:"Plus d'abonnement en cours de validité",description:"Il semble que votre abonnement FeedJet ne soit plus en cours de validité, contactez votre administrateur"}},consent:{feedback:{label:"J'autorise l'utilisation de mes données pour améliorer le service.",tooltip:"Afin d'améliorer l'analyse des anomalies rencontrées et de mieux comprendre le contexte dans lequel elles se produisent, nous souhaiterions collecter certaines métadonnées (informations techniques non personnelles telles que la version de l'application, le type d'appareil, le système d'exploitation, etc.). Ces données seront utilisées uniquement dans le but de diagnostiquer et résoudre les problèmes techniques, et ne seront jamais partagées à des tiers."},screen:{label:"J'autorise l'envoi automatique d'une capture d'écran.",tooltip:"Une capture d'écran de l'application au moment de l'anomalie permet de mieux comprendre le problème que vous avez rencontré. Cela nous aidera à reproduire et corriger plus rapidement l'erreur. Aucune information personnelle n'est enregistrée, et la capture est utilisée uniquement à des fins de diagnostic."},attachment:{button:"Joindre un fichier",no_file:"Aucun fichier sélectionné",tooltip:"Vous pouvez joindre un fichier (ex: capture d'écran, log, etc.) pour aider à la compréhension de votre retour.",file_too_large:"Le fichier ne doit pas dépasser 10 Mo."}},global:{date_at:"à",cancel:"Annuler",send:"Envoyer",close:"Fermer",sending:"Envoi en cours...",submit_error:"Une erreur est survenue lors de l'envoi. Veuillez réessayer.",required:"obligatoire"},a11y:{feedback_button:"Ouvrir le formulaire de feedback",feedbot_bubble:"Ouvrir le sondage"}},en:{issue:{tab:"Issue",form:{title:"Report a technical issue",description:"Have you spotted a <strong>bug</strong>? Report it by describing the problem!",field:{title:"Problem summary",description:"Describe the issue you encountered in detail"}},thanks:{title:"Thank you for your report",description:"Your report has been received. Thank you for helping us improve the application. Our team will review it as soon as possible."}},enhancement:{tab:"Idea",form:{title:"Suggest an improvement",description:"Have an idea to <strong>improve</strong> our service? Share it with us!",field:{title:"Summary of your suggestion",description:"Explain your improvement proposal in detail"}},thanks:{title:"Thank you for your suggestion",description:"Your idea has been submitted. We appreciate your commitment to improving our service."}},decision:{tab:"Feedbacks",description:"Find your feedbacks and their status here!",loading:"Loading...",empty:"No feedback yet.",card:{type:{issue:"Issue",enhancement:"Idea"},date_prefix:"Sent on"},status:{enhancement:{loved:"Loved it",planned:"In the pipeline",next_step:"Next step",to_study:"Under review",impossible:"Not feasible",transmitted:"Forwarded to the right team"},issue:{planned:"In the pipeline",next_step:"Next step",not_a_bug:"Expected behavior",impossible:"Not feasible",transmitted:"Forwarded to the right team",out_of_scope:"Out of scope"}},form:{title:"Suggest an improvement",description:"Have an idea to <strong>improve</strong> our service? Share it with us!",field:{title:"Summary of your suggestion",description:"Explain your improvement proposal in detail"}},thanks:{title:"Thank you for your suggestion",description:"Your idea has been submitted. We appreciate your commitment to improving our service."}},feedbot:{anonymous:"Answer anonymously",rating_error:"Please select a rating",cancel:"No thanks",submit:"Send your feedback",bubble_default:"Hello!",star_label:"Rate {n} star{s}",thanks:{title:"Thank you for your response!",sub_title:"We truly appreciate your feedback, which greatly contributes to improving the quality of your application.",declined:{title:"Thank you for your response",sub_title:"We appreciate your feedback."}}},integration_test:{pending:{button:"Test integration",feedback:{title:"Let's test the <strong>FeedBack integration</strong> together!",text:"Before going further, let's make sure the connection between your application and the FeedBack module is properly set up."},feedbot:{title:"Let's test the <strong>FeedBot integration</strong> together!",text:"Before going further, let's make sure the connection between your application and the FeedBot module is properly set up."}},checking:{title:"Connection test in progress…",button:"Testing...",feedback_text:"We are currently verifying the communication between your application and FeedBack.",feedbot_text:"We are currently verifying the communication between your application and FeedBot."},ok:{title:"Integration validated!",text:"Connected! Communication between the two systems is operational.",button:"Continue"},ko:{title:"Integration test failed",text:"Communication between the two systems does not seem to have worked. Please check your settings, especially the URL and project UUID in FeedJet.",button:"Retry"}},error:{communication:{title:"Communication issue",description:"Communication between the two systems no longer seems to be working. Please contact your administrator."},no_subscription:{title:"No valid subscription",description:"It seems your FeedJet subscription is no longer valid. Please contact your administrator."}},consent:{feedback:{label:"I authorize the use of my data to improve the service.",tooltip:"To improve the analysis of encountered issues and better understand the context in which they occur, we would like to collect certain metadata (non-personal technical information such as application version, device type, operating system, etc.). This data will be used solely for the purpose of diagnosing and resolving technical issues, and will never be shared with third parties."},screen:{label:"I authorize the automatic sending of a screenshot.",tooltip:"A screenshot of the application at the time of the issue helps us better understand the problem you encountered. This will help us reproduce and fix the error more quickly. No personal information is recorded, and the screenshot is used solely for diagnostic purposes."},attachment:{button:"Attach a file",no_file:"No file selected",tooltip:"You can attach a file (e.g., screenshot, log, etc.) to help us understand your feedback.",file_too_large:"The file must not exceed 10 MB."}},global:{date_at:"at",cancel:"Cancel",send:"Send",close:"Close",sending:"Sending...",submit_error:"An error occurred while sending. Please try again.",required:"required"},a11y:{feedback_button:"Open the feedback form",feedbot_bubble:"Open the survey"}},es:{issue:{tab:"Incidencia",form:{title:"Reportar un problema técnico",description:"¿Ha detectado una <strong>anomalía</strong>? ¡Repórtela describiendo el problema!",field:{title:"Resumen del problema",description:"Describa con precisión el problema encontrado"}},thanks:{title:"Gracias por su reporte",description:"Su reporte ha sido recibido. Le agradecemos su participación en la mejora de la aplicación. Nuestro equipo lo analizará a la mayor brevedad."}},enhancement:{tab:"Idea",form:{title:"Proponer una mejora",description:"¿Tiene una idea para <strong>mejorar</strong> nuestro servicio? ¡Compártala con nosotros!",field:{title:"Resumen de su sugerencia",description:"Explique en detalle su propuesta de mejora"}},thanks:{title:"Gracias por su sugerencia",description:"Su idea ha sido enviada. Agradecemos su compromiso con la mejora de nuestro servicio."}},decision:{tab:"Feedbacks",description:"¡Encuentre aquí sus feedbacks y su estado de seguimiento!",loading:"Cargando...",empty:"Ningún feedback por el momento.",card:{type:{issue:"Problema",enhancement:"Idea"},date_prefix:"Enviado el"},status:{enhancement:{loved:"Nos encanta",planned:"En camino",next_step:"Próximo paso",to_study:"En estudio",impossible:"No viable",transmitted:"Transmitido al equipo adecuado"},issue:{planned:"En camino",next_step:"Próximo paso",not_a_bug:"Comportamiento esperado",impossible:"No viable",transmitted:"Transmitido al equipo adecuado",out_of_scope:"Fuera de alcance"}},form:{title:"Proponer una mejora",description:"¿Tiene una idea para <strong>mejorar</strong> nuestro servicio? ¡Compártala con nosotros!",field:{title:"Resumen de su sugerencia",description:"Explique en detalle su propuesta de mejora"}},thanks:{title:"Gracias por su sugerencia",description:"Su idea ha sido enviada. Agradecemos su compromiso con la mejora de nuestro servicio."}},feedbot:{anonymous:"Responder de forma anónima",rating_error:"Por favor, seleccione una puntuación",cancel:"No, gracias",submit:"Enviar su opinión",bubble_default:"¡Hola!",star_label:"Puntuar {n} estrella{s}",thanks:{title:"¡Gracias por su respuesta!",sub_title:"Le agradecemos su respuesta, que contribuye enormemente a mejorar la calidad de su aplicación.",declined:{title:"Gracias por su respuesta",sub_title:"Le agradecemos su respuesta."}}},integration_test:{pending:{button:"Probar la integración",feedback:{title:"¡Probemos juntos la <strong>integración de FeedBack</strong>!",text:"Antes de continuar, asegurémonos de que la conexión entre su aplicación y el módulo FeedBack está correctamente configurada."},feedbot:{title:"¡Probemos juntos la <strong>integración de FeedBot</strong>!",text:"Antes de continuar, asegurémonos de que la conexión entre su aplicación y el módulo FeedBot está correctamente configurada."}},checking:{title:"Prueba de conexión en curso…",button:"Probando...",feedback_text:"Estamos verificando la comunicación entre su aplicación y FeedBack.",feedbot_text:"Estamos verificando la comunicación entre su aplicación y FeedBot."},ok:{title:"¡Integración validada!",text:"¡Conectado! La comunicación entre los dos sistemas es operativa.",button:"Continuar"},ko:{title:"Fallo en la prueba de integración",text:"La comunicación entre los dos sistemas no parece haber funcionado. Verifique sus parámetros, especialmente la URL y el UUID del proyecto en FeedJet.",button:"Reintentar"}},error:{communication:{title:"Problema de comunicación",description:"La comunicación entre los dos sistemas ya no parece funcionar. Contacte a su administrador."},no_subscription:{title:"Suscripción no válida",description:"Parece que su suscripción a FeedJet ya no es válida. Contacte a su administrador."}},consent:{feedback:{label:"Autorizo el uso de mis datos para mejorar el servicio.",tooltip:"Para mejorar el análisis de las anomalías encontradas y comprender mejor el contexto en el que se producen, nos gustaría recopilar ciertos metadatos (información técnica no personal como la versión de la aplicación, el tipo de dispositivo, el sistema operativo, etc.). Estos datos se utilizarán únicamente con el fin de diagnosticar y resolver problemas técnicos, y nunca se compartirán con terceros."},screen:{label:"Autorizo el envío automático de una captura de pantalla.",tooltip:"Una captura de pantalla de la aplicación en el momento de la anomalía permite comprender mejor el problema que ha encontrado. Esto nos ayudará a reproducir y corregir el error más rápidamente. No se registra ninguna información personal y la captura se utiliza únicamente con fines de diagnóstico."},attachment:{button:"Adjuntar un archivo",no_file:"Ningún archivo seleccionado",tooltip:"Puede adjuntar un archivo (ej: captura de pantalla, log, etc.) para ayudar a la comprensión de su comentario.",file_too_large:"El archivo no debe superar los 10 MB."}},global:{date_at:"a las",cancel:"Cancelar",send:"Enviar",close:"Cerrar",sending:"Enviando...",submit_error:"Se produjo un error durante el envío. Por favor, inténtelo de nuevo.",required:"obligatorio"},a11y:{feedback_button:"Abrir el formulario de feedback",feedbot_bubble:"Abrir la encuesta"}},nl:{issue:{tab:"Probleem",form:{title:"Een technisch probleem melden",description:"Heeft u een <strong>probleem</strong> ontdekt? Meld het door het te beschrijven!",field:{title:"Samenvatting van het probleem",description:"Beschrijf zo nauwkeurig mogelijk het probleem dat u heeft ondervonden"}},thanks:{title:"Bedankt voor uw melding",description:"Uw melding is goed ontvangen. Bedankt dat u meehelpt de applicatie te verbeteren. Ons team bekijkt deze zo snel mogelijk."}},enhancement:{tab:"Idee",form:{title:"Een verbetering voorstellen",description:"Heeft u een idee om onze dienst te <strong>verbeteren</strong>? Deel het met ons!",field:{title:"Samenvatting van uw suggestie",description:"Leg uw verbetervoorstel in detail uit"}},thanks:{title:"Bedankt voor uw suggestie",description:"Uw idee is goed doorgegeven. We waarderen uw inzet om onze dienst te verbeteren."}},decision:{tab:"Feedback",description:"Bekijk hier uw feedback en de status ervan!",loading:"Laden...",empty:"Nog geen feedback.",card:{type:{issue:"Probleem",enhancement:"Idee"},date_prefix:"Verzonden op"},status:{enhancement:{loved:"Favoriet",planned:"In de pijplijn",next_step:"Volgende stap",to_study:"In onderzoek",impossible:"Niet haalbaar",transmitted:"Doorgegeven aan het juiste team"},issue:{planned:"In de pijplijn",next_step:"Volgende stap",not_a_bug:"Normaal gedrag",impossible:"Niet haalbaar",transmitted:"Doorgegeven aan het juiste team",out_of_scope:"Buiten scope"}},form:{title:"Een verbetering voorstellen",description:"Heeft u een idee om onze dienst te <strong>verbeteren</strong>? Deel het met ons!",field:{title:"Samenvatting van uw suggestie",description:"Leg uw verbetervoorstel in detail uit"}},thanks:{title:"Bedankt voor uw suggestie",description:"Uw idee is goed doorgegeven. We waarderen uw inzet om onze dienst te verbeteren."}},feedbot:{anonymous:"Anoniem antwoorden",rating_error:"Selecteer een beoordeling",cancel:"Nee, bedankt",submit:"Uw mening versturen",bubble_default:"Hallo!",star_label:"Aantal sterren: {n}",thanks:{title:"Bedankt voor uw antwoord!",sub_title:"Hartelijk dank voor uw antwoord, dat in grote mate bijdraagt aan het verbeteren van de kwaliteit van uw applicatie.",declined:{title:"Bedankt voor uw antwoord",sub_title:"Hartelijk dank voor uw antwoord."}}},integration_test:{pending:{button:"Integratie testen",feedback:{title:"Laten we samen de <strong>integratie van FeedBack</strong> testen!",text:"Voordat we verdergaan, controleren we of de verbinding tussen uw applicatie en de module FeedBack goed is ingesteld."},feedbot:{title:"Laten we samen de <strong>integratie van FeedBot</strong> testen!",text:"Voordat we verdergaan, controleren we of de verbinding tussen uw applicatie en de module FeedBot goed is ingesteld."}},checking:{title:"Verbindingstest bezig…",button:"Test bezig...",feedback_text:"We controleren momenteel de communicatie tussen uw applicatie en FeedBack.",feedbot_text:"We controleren momenteel de communicatie tussen uw applicatie en FeedBot."},ok:{title:"Integratie gevalideerd!",text:"Verbonden! De communicatie tussen beide systemen werkt.",button:"Doorgaan"},ko:{title:"Integratietest mislukt",text:"De communicatie tussen beide systemen lijkt niet te hebben gewerkt. Controleer uw instellingen, met name de URL en de UUID van het project in FeedJet.",button:"Opnieuw proberen"}},error:{communication:{title:"Communicatieprobleem",description:"De communicatie tussen beide systemen lijkt niet meer te werken. Neem contact op met uw beheerder."},no_subscription:{title:"Geen geldig abonnement",description:"Het lijkt erop dat uw FeedJet-abonnement niet meer geldig is. Neem contact op met uw beheerder."}},consent:{feedback:{label:"Ik geef toestemming voor het gebruik van mijn gegevens om de dienst te verbeteren.",tooltip:"Om de analyse van opgetreden problemen te verbeteren en de context waarin ze zich voordoen beter te begrijpen, willen we bepaalde metadata verzamelen (niet-persoonlijke technische informatie zoals de versie van de applicatie, het type apparaat, het besturingssysteem, enz.). Deze gegevens worden uitsluitend gebruikt om technische problemen vast te stellen en op te lossen, en worden nooit met derden gedeeld."},screen:{label:"Ik geef toestemming voor het automatisch verzenden van een schermafbeelding.",tooltip:"Een schermafbeelding van de applicatie op het moment van het probleem helpt ons beter te begrijpen wat u heeft ondervonden. Zo kunnen we de fout sneller reproduceren en oplossen. Er worden geen persoonlijke gegevens vastgelegd en de schermafbeelding wordt uitsluitend voor diagnose gebruikt."},attachment:{button:"Bestand toevoegen",no_file:"Geen bestand geselecteerd",tooltip:"U kunt een bestand toevoegen (bijv. schermafbeelding, log, enz.) om ons te helpen uw feedback te begrijpen.",file_too_large:"Het bestand mag niet groter zijn dan 10 MB."}},global:{date_at:"om",cancel:"Annuleren",send:"Verzenden",close:"Sluiten",sending:"Bezig met verzenden...",submit_error:"Er is een fout opgetreden bij het verzenden. Probeer het opnieuw.",required:"verplicht"},a11y:{feedback_button:"Het feedbackformulier openen",feedbot_bubble:"De enquête openen"}}},o=Object.values(r);let i=r.FR;function a(A){i=o.includes(A)?A:r.FR}function c(){return i}function B(A){return A.split(".").reduce((A,e)=>A[e],s[i])}function l(A){return`<span${A?` class="${A}"`:""} aria-hidden="true">*</span><span class="fj-sr-only">(${B("global.required")})</span>`}var d='<svg xmlns="http://www.w3.org/2000/svg" width="113" height="128" fill="none"><path fill="url(#a)" d="M106.54 71.127c3.023-18.337-13.943-36.402-37.894-40.35-23.95-3.948-45.816 7.716-48.839 26.053S33.75 93.233 57.701 97.18c23.95 3.948 45.817-7.717 48.839-26.053"/><path fill="url(#b)" d="M57.79 100.89c-14.507-1.527-22.617-9.126-27.06-1.604-3.742 6.337 4.427 25.696 22.496 28.387 18.65 2.777 31.65-12.811 29.958-21.03-1.388-6.746-10.316-4.166-25.394-5.754z"/><path fill="url(#c)" d="M24.61 91.348c-1.404-4.976-6.158-6.304-9.865-7.227S6.26 80.392 3.487 82.293C.714 84.196-1.61 89.62 1.447 92.368s8.027 4.753 11.173 8.11c2.496 2.662 7.488 3.107 9.763 2.219 2.305-.9 3.66-6.268 2.227-11.35"/><path fill="url(#d)" d="M90.277 103.279c-1.525-1.944-4.597-1.823-7.487.017s-7.034 4.165-9.695 5.483c-2.66 1.318-8.231 4.052-3.282 7.901s13.828 4.445 16.968 2.508c3.141-1.936 9.477-8.281 3.496-15.909"/><path fill="url(#e)" d="M65.786 50.709c12.464 2.832 21.705 9.103 23.108 10.39 1.075.985.896 7.434-.628 13.166-1.523 5.732-5.284 11.196-6.359 11.823-1.525.89-13.05.787-23.914-2.328-12.18-3.493-23.108-9.852-23.735-11.465-.726-1.867.184-8.57 1.164-12.001.896-3.135 3.422-10.35 5.284-11.555 1.523-.985 13.125-.745 25.08 1.97"/><path fill="url(#f)" d="M22.26 45.957c1.042-1.14 3.756-2.973 3.985-.664.875 8.774-1.102 16.342-3.726 21.362-1.767 3.38-2.89 2.947-3.847 1.623-.633-.879-2.125-7.838-.93-13.02 1.06-4.588 3.475-8.161 4.517-9.3z"/><path fill="#D9EFFD" d="M48.655 67.124c1.35.39 7.81 2.589 9.14 1.035 1.583-1.85-1.624-7.686-6.273-9.12-4.51-1.391-10.327 1.87-10.492 3.842-.16 1.933 6.272 3.853 7.625 4.243m26.151 6.636c1.389.228 8.06 1.648 9.198-.052 1.354-2.024-2.52-7.44-7.306-8.315-4.642-.849-10.034 3.077-9.964 5.055.07 1.94 6.684 3.086 8.072 3.312"/><path fill="#B4BFC6" d="M25.589 44.239c.174-.246.24-.338.6-.787.805.268 1.408 2.568 1.738 4.122 1.018 4.791.088 12.596-1.574 19.115-.799 3.133-2.52 7.453-3.542 7.71 0 0-1.356-2.556-2.33-5.216 0 0 2.147-2.439 3.285-6.45 1.8-6.343 2.913-15.013 1.823-18.494m29.575 49.476c4.963 1.258 7.03 2.001 14.974.995 6.645-.842 9.886 0 11.378 1.209a55 55 0 0 1-4.854 1.117c-4.613.838-15.029 2.027-25.934-1.398-1.273-.4-3.965-1.397-4.798-1.717 1.073-1.263 5.901-1.05 9.232-.207zm21.374 8.193c-2.892-.353-6.092-.296-9.583-.417-1.756-.062-3.528-.127-5.083-.251-2-.159-3.368-.261-4.546-.392-3.087-.343-6.877-1.21-10.075-2.147-3.197-.938-5.918-1.814-6.86-2.035-1.53.25 9.5 5.434 14.075 6.844 4.58 1.411 9.614 2.379 13.418 2.383 3.797.005 10.845-.826 12.058-1.803 1.31-1.055-.235-1.455-.456-1.528-.22-.073-1.337-.434-2.948-.655zM12.98 96.095c1.76.468 4.548 1.213 6.191-.196 1.644-1.409 2.93-7.812 4.208-6.917s2.69 6.165 1.426 11.26c-.555 2.236-3.14 3.32-5.868 3.169-4.767-.265-6.634-3.69-10.607-6.338.51-2.238 3.613-1.255 4.65-.978m93.377-34.405c.364 2.152.61 3.807.455 6.672-.182 3.366-1.002 6.116-2.184 8.826-1.868 4.278-4.561 7.74-6.864 9.803 0 0 6.251-2.521 9.339-6.977.946-1.365 2.291-4.05 2.68-6.404.678-4.091.057-8.993-3.426-11.92m-17.168 44.629c.38 1.985.5 3.721-1 5.852s-3.552 2.611-3.552 3.996c0 1.386.833 2.125 2.044 1.975.57-.07 1.733-1.049 2.694-2.178 2.697-3.164 2.749-5.333 2.754-7.05.006-2.461-3.32-4.582-2.94-2.598zm-20.849 8.854c-.161.007-1.067.411-1.109 1.295-.057 1.212.488 2.61 1.532 3.763 1.804 1.991 4.134 2.982 5.076 2.606 1.3-.82 3.413-2.766 3.524-2.988 0 0-1.808-.447-3.083-.845-.927-.29-1.863-.749-2.332-.986-2.041-1.029-3.12-2.213-3.606-2.845z"/><path fill="#fff" d="M43.377 36.6c-2.55.91-8.308 3.067-8.053 6.135s4.602 2.044 6.774 1.15c2.173-.895 6.264-2.173 8.691-2.557 2.43-.383 3.962-2.684 2.685-4.217s-6.52-1.79-10.098-.512h.001zM18.15 56.045a22.2 22.2 0 0 1 1.552-4.79c.66-1.46 2.297-3.018 2.22-1.735s-1.174 4.158-1.355 6.084c-.18 1.926-.345 4.518-.869 5.773-.399.956-1.545 2.176-1.738.52-.09-.772-.274-3.28.112-5.182m-15.7 29.523c-.483.753-1.534 2.43.512 3.452 2.045 1.022 4.984 1.917 7.03 1.405 2.044-.512 4.473-1.79 4.6-2.94.128-1.15 1.023-2.3-.255-2.684-1.277-.383-5.623-.512-6.901-.895-1.278-.382-3.835-.127-4.985 1.662m33.395 14.1c-1.362.037-3.072 1.942-2.866 3.735s.211 3.837.84 5.355c.628 1.518 2.31 5.301 4.43 5.968 2.122.666 3.419 1.085 4.088-.014s.64-2.344-.187-3.613c-.826-1.268-2.674-2.534-2.608-4.927.068-2.392-1.092-6.576-3.697-6.505zm46.598 4.131c1.35-.522 2.92.032 3.896 1.302.976 1.269-.032 2.92-1.302 3.896-1.27.975-6.207 4.244-8.284 3.886-2.076-.359-4.651-2.755-3.499-3.782s5.263-2.425 6.312-3.219c1.05-.795 2.876-2.083 2.876-2.083z"/><path fill="#121442" d="M81.907 86.088c-1.525.89-13.05.787-23.914-2.328-12.18-3.493-23.108-9.852-23.735-11.465-.726-1.867.184-8.57 1.164-12.001.896-3.135 3.422-10.35 5.284-11.555 0 0 .691-.44 2.601-.476-.658 1.033-1.45 2.153-2.01 3.296-.434.887-2.666 5.939-3.738 10.7-.767 3.407-1.123 7.31-.913 8.502.117.456.236.613.72.958 1.753 1.25 12.552 6.35 18.793 8.11 13.406 3.785 25 4.313 27.64 4.057 0 0-1.231 1.816-1.892 2.2z"/><path fill="#2C3D82" d="M56.432 106.844s-8.204 1.241-7.613 10.88c.145 2.367 1.775 5.971 4.955 7.967 0 0-4.213-5.563-1.725-10.895 1.999-4.286 7.142-2.475 8.348-7.682 0 0-1.757-.585-3.965-.27"/><path fill="#2C3D82" d="M59.292 114.366a3.713 3.713 0 1 0 0-7.425 3.713 3.713 0 0 0 0 7.425m-4.194 4.292a2.408 2.408 0 1 0 0-4.816 2.408 2.408 0 0 0 0 4.816m27.645-96.962c4.493 0 8.135-3.634 8.135-8.116 0-4.483-3.642-8.117-8.135-8.117-4.492 0-8.134 3.634-8.134 8.117 0 4.482 3.642 8.116 8.134 8.116"/><path fill="#5B76C4" d="M86.035 9.156c1.013.686.843 2.11 1.021 4.045.164 1.788-2.54 4.666-4.573 4.632s-3.966-.812-5.052-2.813c-1.043-1.925-.922-3.05-.386-4.397.627-1.571 2.658-3.175 5.08-3.083s2.84.892 3.91 1.616"/><path fill="#3D55A3" d="M86.986 18.23c.984-.706 2.504-2.708 2.069-5.21-.501-2.88-1.649-4.738-3.663-4.442-2.05.3-3.705 1.05-3.657 3.01.047 1.96 1.09 3.403-.171 4.665s.045 3.83 1.526 3.65c2.244-.271 2.942-.989 3.896-1.672"/><path fill="#C0D2FF" d="M80.494 12.45c.886-.417 2.588-1.189 2.935-2.079s.382-2.139-.516-2.811c-.899-.672-2.169-.982-3.223-.185s-2.805 2.084-2.14 3.274c.662 1.19.562 2.22 1.683 2.072s1.262-.271 1.262-.271z"/><path fill="#2C3D82" d="M90.125 4.135a.9.9 0 0 1-.583-.213c-.863-.723-2.46-1.384-2.477-1.391a.905.905 0 1 1 .69-1.675c.077.031 1.873.773 2.955 1.68a.906.906 0 0 1-.585 1.6zM79.361 2.283A.907.907 0 0 1 79.1.508C79.165.49 80.722.027 82.192 0a.907.907 0 1 1 .032 1.812c-1.216.021-2.59.427-2.603.43a1 1 0 0 1-.26.04M72.792 6.63a.905.905 0 0 1-.714-1.464c.042-.054 1.065-1.35 2.275-2.231a.91.91 0 0 1 1.269.198.904.904 0 0 1-.199 1.266c-1.008.733-1.906 1.873-1.915 1.883a.9.9 0 0 1-.715.348zm-2.752 7.486h-.015a.907.907 0 0 1-.893-.919c0-.07.031-1.718.463-3.145a.908.908 0 0 1 1.738.524c-.357 1.18-.386 2.634-.386 2.649a.907.907 0 0 1-.907.891m2.062 7.627a.9.9 0 0 1-.753-.398c-.038-.057-.945-1.401-1.407-2.794a.909.909 0 0 1 1.724-.57c.382 1.151 1.18 2.337 1.187 2.35a.904.904 0 0 1-.752 1.412zm6.333 4.967q-.15.001-.297-.05c-.065-.023-1.6-.56-2.802-1.4a.905.905 0 1 1 1.04-1.484c.993.693 2.345 1.168 2.358 1.172a.906.906 0 0 1-.299 1.762m4.968.765a.907.907 0 0 1-.908-.904.907.907 0 0 1 .905-.908c1.248-.004 2.645-.4 2.658-.405a.904.904 0 1 1 .502 1.74c-.066.02-1.657.472-3.156.475H83.4zm7.493-2.795a.904.904 0 0 1-.55-1.627c.989-.75 1.86-1.907 1.868-1.918a.91.91 0 0 1 1.271-.182c.402.3.483.867.183 1.268-.041.056-1.035 1.373-2.225 2.276a.9.9 0 0 1-.548.184zm4.3-6.562a.906.906 0 0 1-.862-1.19c.392-1.183.457-2.63.459-2.645a.907.907 0 0 1 1.813.077c-.003.07-.079 1.717-.549 3.135a.91.91 0 0 1-.861.622zm.069-8.232a.91.91 0 0 1-.826-.532c-.538-1.18-1.472-2.04-1.48-2.05a.908.908 0 0 1 1.222-1.34c.05.045 1.214 1.11 1.912 2.64a.905.905 0 0 1-.825 1.28z"/><defs><linearGradient id="a" x1="30.147" x2="98.416" y1="37.556" y2="92.175" gradientUnits="userSpaceOnUse"><stop stop-color="#F1F2F3"/><stop offset="1" stop-color="#C4CDD3"/></linearGradient><linearGradient id="b" x1="29.841" x2="83.332" y1="112.009" y2="112.009" gradientUnits="userSpaceOnUse"><stop stop-color="#F1F2F3"/><stop offset="1" stop-color="#C4CDD3"/></linearGradient><linearGradient id="c" x1=".001" x2="25.199" y1="92.38" y2="92.38" gradientUnits="userSpaceOnUse"><stop stop-color="#F1F2F3"/><stop offset="1" stop-color="#C4CDD3"/></linearGradient><linearGradient id="d" x1="67.834" x2="92.753" y1="111.066" y2="111.066" gradientUnits="userSpaceOnUse"><stop stop-color="#F1F2F3"/><stop offset="1" stop-color="#C4CDD3"/></linearGradient><linearGradient id="e" x1="58.19" x2="71.282" y1="82.334" y2="28.315" gradientUnits="userSpaceOnUse"><stop stop-color="#134395"/><stop offset=".23" stop-color="#113880"/><stop offset=".66" stop-color="#0E2050"/></linearGradient><linearGradient id="f" x1="17.292" x2="26.455" y1="56.722" y2="56.722" gradientUnits="userSpaceOnUse"><stop stop-color="#F1F2F3"/><stop offset="1" stop-color="#C4CDD3"/></linearGradient></defs></svg>',u=function(A,e){return u=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(A,e){A.__proto__=e}||function(A,e){for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&(A[t]=e[t])},u(A,e)};function g(A,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function t(){this.constructor=A}u(A,e),A.prototype=null===e?Object.create(e):(t.prototype=e.prototype,new t)}var w=function(){return w=Object.assign||function(A){for(var e,t=1,n=arguments.length;t<n;t++)for(var r in e=arguments[t])Object.prototype.hasOwnProperty.call(e,r)&&(A[r]=e[r]);return A},w.apply(this,arguments)};function Q(A,e,t,n){return new(t||(t=Promise))(function(e,r){function s(A){try{i(n.next(A))}catch(A){r(A)}}function o(A){try{i(n.throw(A))}catch(A){r(A)}}function i(A){var n;A.done?e(A.value):(n=A.value,n instanceof t?n:new t(function(A){A(n)})).then(s,o)}i((n=n.apply(A,[])).next())})}function h(A,e){var t,n,r,s,o={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return s={next:i(0),throw:i(1),return:i(2)},"function"==typeof Symbol&&(s[Symbol.iterator]=function(){return this}),s;function i(s){return function(i){return function(s){if(t)throw new TypeError("Generator is already executing.");for(;o;)try{if(t=1,n&&(r=2&s[0]?n.return:s[0]?n.throw||((r=n.return)&&r.call(n),0):n.next)&&!(r=r.call(n,s[1])).done)return r;switch(n=0,r&&(s=[2&s[0],r.value]),s[0]){case 0:case 1:r=s;break;case 4:return o.label++,{value:s[1],done:!1};case 5:o.label++,n=s[1],s=[0];continue;case 7:s=o.ops.pop(),o.trys.pop();continue;default:if(!((r=(r=o.trys).length>0&&r[r.length-1])||6!==s[0]&&2!==s[0])){o=0;continue}if(3===s[0]&&(!r||s[1]>r[0]&&s[1]<r[3])){o.label=s[1];break}if(6===s[0]&&o.label<r[1]){o.label=r[1],r=s;break}if(r&&o.label<r[2]){o.label=r[2],o.ops.push(s);break}r[2]&&o.ops.pop(),o.trys.pop();continue}s=e.call(A,o)}catch(A){s=[6,A],n=0}finally{t=r=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,i])}}}for(var p=function(){function A(A,e,t,n){this.left=A,this.top=e,this.width=t,this.height=n}return A.prototype.add=function(e,t,n,r){return new A(this.left+e,this.top+t,this.width+n,this.height+r)},A.fromClientRect=function(e,t){return new A(t.left+e.windowBounds.left,t.top+e.windowBounds.top,t.width,t.height)},A.fromDOMRectList=function(e,t){var n=Array.from(t).find(function(A){return 0!==A.width});return n?new A(n.left+e.windowBounds.left,n.top+e.windowBounds.top,n.width,n.height):A.EMPTY},A.EMPTY=new A(0,0,0,0),A}(),f=function(A,e){return p.fromClientRect(A,e.getBoundingClientRect())},C=function(A){for(var e=[],t=0,n=A.length;t<n;){var r=A.charCodeAt(t++);if(r>=55296&&r<=56319&&t<n){var s=A.charCodeAt(t++);56320==(64512&s)?e.push(((1023&r)<<10)+(1023&s)+65536):(e.push(r),t--)}else e.push(r)}return e},F=function(){for(var A=[],e=0;e<arguments.length;e++)A[e]=arguments[e];if(String.fromCodePoint)return String.fromCodePoint.apply(String,A);var t=A.length;if(!t)return"";for(var n=[],r=-1,s="";++r<t;){var o=A[r];o<=65535?n.push(o):(o-=65536,n.push(55296+(o>>10),o%1024+56320)),(r+1===t||n.length>16384)&&(s+=String.fromCharCode.apply(String,n),n.length=0)}return s},U="undefined"==typeof Uint8Array?[]:new Uint8Array(256),m=0;m<64;m++)U["ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charCodeAt(m)]=m;for(var y="undefined"==typeof Uint8Array?[]:new Uint8Array(256),b=0;b<64;b++)y["ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charCodeAt(b)]=b;for(var H=function(A,e,t){return A.slice?A.slice(e,t):new Uint16Array(Array.prototype.slice.call(A,e,t))},E=function(){function A(A,e,t,n,r,s){this.initialValue=A,this.errorValue=e,this.highStart=t,this.highValueIndex=n,this.index=r,this.data=s}return A.prototype.get=function(A){var e;if(A>=0){if(A<55296||A>56319&&A<=65535)return e=((e=this.index[A>>5])<<2)+(31&A),this.data[e];if(A<=65535)return e=((e=this.index[2048+(A-55296>>5)])<<2)+(31&A),this.data[e];if(A<this.highStart)return e=2080+(A>>11),e=this.index[e],e+=A>>5&63,e=((e=this.index[e])<<2)+(31&A),this.data[e];if(A<=1114111)return this.data[this.highValueIndex]}return this.errorValue},A}(),v="undefined"==typeof Uint8Array?[]:new Uint8Array(256),I=0;I<64;I++)v["ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charCodeAt(I)]=I;var K,D,L,x,k,M,S,G,T=10,O=13,V=15,N=17,R=18,P=19,J=20,X=21,j=22,Y=24,_=25,W=26,z=27,q=28,Z=30,$=32,AA=33,eA=34,tA=35,nA=37,rA=38,sA=39,oA=40,iA=42,aA=[9001,65288],cA="×",BA="÷",lA=(x=function(A){var e,t,n,r,s,o=39666,i=0;"="===A[52887]&&(o--,"="===A[52886]&&o--);var a="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof Uint8Array&&void 0!==Uint8Array.prototype.slice?new ArrayBuffer(o):new Array(o),c=Array.isArray(a)?a:new Uint8Array(a);for(e=0;e<52888;e+=4)t=y[A.charCodeAt(e)],n=y[A.charCodeAt(e+1)],r=y[A.charCodeAt(e+2)],s=y[A.charCodeAt(e+3)],c[i++]=t<<2|n>>4,c[i++]=(15&n)<<4|r>>2,c[i++]=(3&r)<<6|63&s;return a}("KwAAAAAAAAAACA4AUD0AADAgAAACAAAAAAAIABAAGABAAEgAUABYAGAAaABgAGgAYgBqAF8AZwBgAGgAcQB5AHUAfQCFAI0AlQCdAKIAqgCyALoAYABoAGAAaABgAGgAwgDKAGAAaADGAM4A0wDbAOEA6QDxAPkAAQEJAQ8BFwF1AH0AHAEkASwBNAE6AUIBQQFJAVEBWQFhAWgBcAF4ATAAgAGGAY4BlQGXAZ8BpwGvAbUBvQHFAc0B0wHbAeMB6wHxAfkBAQIJAvEBEQIZAiECKQIxAjgCQAJGAk4CVgJeAmQCbAJ0AnwCgQKJApECmQKgAqgCsAK4ArwCxAIwAMwC0wLbAjAA4wLrAvMC+AIAAwcDDwMwABcDHQMlAy0DNQN1AD0DQQNJA0kDSQNRA1EDVwNZA1kDdQB1AGEDdQBpA20DdQN1AHsDdQCBA4kDkQN1AHUAmQOhA3UAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AKYDrgN1AHUAtgO+A8YDzgPWAxcD3gPjA+sD8wN1AHUA+wMDBAkEdQANBBUEHQQlBCoEFwMyBDgEYABABBcDSARQBFgEYARoBDAAcAQzAXgEgASIBJAEdQCXBHUAnwSnBK4EtgS6BMIEyAR1AHUAdQB1AHUAdQCVANAEYABgAGAAYABgAGAAYABgANgEYADcBOQEYADsBPQE/AQEBQwFFAUcBSQFLAU0BWQEPAVEBUsFUwVbBWAAYgVgAGoFcgV6BYIFigWRBWAAmQWfBaYFYABgAGAAYABgAKoFYACxBbAFuQW6BcEFwQXHBcEFwQXPBdMF2wXjBeoF8gX6BQIGCgYSBhoGIgYqBjIGOgZgAD4GRgZMBmAAUwZaBmAAYABgAGAAYABgAGAAYABgAGAAYABgAGIGYABpBnAGYABgAGAAYABgAGAAYABgAGAAYAB4Bn8GhQZgAGAAYAB1AHcDFQSLBmAAYABgAJMGdQA9A3UAmwajBqsGqwaVALMGuwbDBjAAywbSBtIG1QbSBtIG0gbSBtIG0gbdBuMG6wbzBvsGAwcLBxMHAwcbByMHJwcsBywHMQcsB9IGOAdAB0gHTgfSBkgHVgfSBtIG0gbSBtIG0gbSBtIG0gbSBiwHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAdgAGAALAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAdbB2MHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsB2kH0gZwB64EdQB1AHUAdQB1AHUAdQB1AHUHfQdgAIUHjQd1AHUAlQedB2AAYAClB6sHYACzB7YHvgfGB3UAzgfWBzMB3gfmB1EB7gf1B/0HlQENAQUIDQh1ABUIHQglCBcDLQg1CD0IRQhNCEEDUwh1AHUAdQBbCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIcAh3CHoIMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIgggwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAALAcsBywHLAcsBywHLAcsBywHLAcsB4oILAcsB44I0gaWCJ4Ipgh1AHUAqgiyCHUAdQB1AHUAdQB1AHUAdQB1AHUAtwh8AXUAvwh1AMUIyQjRCNkI4AjoCHUAdQB1AO4I9gj+CAYJDgkTCS0HGwkjCYIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiAAIAAAAFAAYABgAGIAXwBgAHEAdQBFAJUAogCyAKAAYABgAEIA4ABGANMA4QDxAMEBDwE1AFwBLAE6AQEBUQF4QkhCmEKoQrhCgAHIQsAB0MLAAcABwAHAAeDC6ABoAHDCwMMAAcABwAHAAdDDGMMAAcAB6MM4wwjDWMNow3jDaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAEjDqABWw6bDqABpg6gAaABoAHcDvwOPA+gAaABfA/8DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DpcPAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcAB9cPKwkyCToJMAB1AHUAdQBCCUoJTQl1AFUJXAljCWcJawkwADAAMAAwAHMJdQB2CX4JdQCECYoJjgmWCXUAngkwAGAAYABxAHUApgn3A64JtAl1ALkJdQDACTAAMAAwADAAdQB1AHUAdQB1AHUAdQB1AHUAowYNBMUIMAAwADAAMADICcsJ0wnZCRUE4QkwAOkJ8An4CTAAMAB1AAAKvwh1AAgKDwoXCh8KdQAwACcKLgp1ADYKqAmICT4KRgowADAAdQB1AE4KMAB1AFYKdQBeCnUAZQowADAAMAAwADAAMAAwADAAMAAVBHUAbQowADAAdQC5CXUKMAAwAHwBxAijBogEMgF9CoQKiASMCpQKmgqIBKIKqgquCogEDQG2Cr4KxgrLCjAAMADTCtsKCgHjCusK8Qr5CgELMAAwADAAMAB1AIsECQsRC3UANAEZCzAAMAAwADAAMAB1ACELKQswAHUANAExCzkLdQBBC0kLMABRC1kLMAAwADAAMAAwADAAdQBhCzAAMAAwAGAAYABpC3ELdwt/CzAAMACHC4sLkwubC58Lpwt1AK4Ltgt1APsDMAAwADAAMAAwADAAMAAwAL4LwwvLC9IL1wvdCzAAMADlC+kL8Qv5C/8LSQswADAAMAAwADAAMAAwADAAMAAHDDAAMAAwADAAMAAODBYMHgx1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1ACYMMAAwADAAdQB1AHUALgx1AHUAdQB1AHUAdQA2DDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AD4MdQBGDHUAdQB1AHUAdQB1AEkMdQB1AHUAdQB1AFAMMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQBYDHUAdQB1AF8MMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUA+wMVBGcMMAAwAHwBbwx1AHcMfwyHDI8MMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAYABgAJcMMAAwADAAdQB1AJ8MlQClDDAAMACtDCwHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsB7UMLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AA0EMAC9DDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAsBywHLAcsBywHLAcsBywHLQcwAMEMyAwsBywHLAcsBywHLAcsBywHLAcsBywHzAwwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAHUAdQB1ANQM2QzhDDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMABgAGAAYABgAGAAYABgAOkMYADxDGAA+AwADQYNYABhCWAAYAAODTAAMAAwADAAFg1gAGAAHg37AzAAMAAwADAAYABgACYNYAAsDTQNPA1gAEMNPg1LDWAAYABgAGAAYABgAGAAYABgAGAAUg1aDYsGVglhDV0NcQBnDW0NdQ15DWAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAlQCBDZUAiA2PDZcNMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAnw2nDTAAMAAwADAAMAAwAHUArw23DTAAMAAwADAAMAAwADAAMAAwADAAMAB1AL8NMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAB1AHUAdQB1AHUAdQDHDTAAYABgAM8NMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAA1w11ANwNMAAwAD0B5A0wADAAMAAwADAAMADsDfQN/A0EDgwOFA4wABsOMAAwADAAMAAwADAAMAAwANIG0gbSBtIG0gbSBtIG0gYjDigOwQUuDsEFMw7SBjoO0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGQg5KDlIOVg7SBtIGXg5lDm0OdQ7SBtIGfQ6EDooOjQ6UDtIGmg6hDtIG0gaoDqwO0ga0DrwO0gZgAGAAYADEDmAAYAAkBtIGzA5gANIOYADaDokO0gbSBt8O5w7SBu8O0gb1DvwO0gZgAGAAxA7SBtIG0gbSBtIGYABgAGAAYAAED2AAsAUMD9IG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGFA8sBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAccD9IGLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHJA8sBywHLAcsBywHLAccDywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywPLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAc0D9IG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAccD9IG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGFA8sBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHPA/SBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gYUD0QPlQCVAJUAMAAwADAAMACVAJUAlQCVAJUAlQCVAEwPMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAA//8EAAQABAAEAAQABAAEAAQABAANAAMAAQABAAIABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQACgATABcAHgAbABoAHgAXABYAEgAeABsAGAAPABgAHABLAEsASwBLAEsASwBLAEsASwBLABgAGAAeAB4AHgATAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABYAGwASAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAWAA0AEQAeAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAFAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAJABYAGgAbABsAGwAeAB0AHQAeAE8AFwAeAA0AHgAeABoAGwBPAE8ADgBQAB0AHQAdAE8ATwAXAE8ATwBPABYAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAFAAUABQAFAAUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AHgAeAFAATwBAAE8ATwBPAEAATwBQAFAATwBQAB4AHgAeAB4AHgAeAB0AHQAdAB0AHgAdAB4ADgBQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgBQAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAJAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAkACQAJAAkACQAJAAkABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAFAAHgAeAB4AKwArAFAAUABQAFAAGABQACsAKwArACsAHgAeAFAAHgBQAFAAUAArAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAUAAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAYAA0AKwArAB4AHgAbACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQADQAEAB4ABAAEAB4ABAAEABMABAArACsAKwArACsAKwArACsAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAKwArACsAKwBWAFYAVgBWAB4AHgArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AGgAaABoAGAAYAB4AHgAEAAQABAAEAAQABAAEAAQABAAEAAQAEwAEACsAEwATAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABLAEsASwBLAEsASwBLAEsASwBLABoAGQAZAB4AUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABMAUAAEAAQABAAEAAQABAAEAB4AHgAEAAQABAAEAAQABABQAFAABAAEAB4ABAAEAAQABABQAFAASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUAAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAFAABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQAUABQAB4AHgAYABMAUAArACsABAAbABsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAFAABAAEAAQABAAEAFAABAAEAAQAUAAEAAQABAAEAAQAKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAArACsAHgArAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAUAAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAABAAEAA0ADQBLAEsASwBLAEsASwBLAEsASwBLAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUAArACsAKwBQAFAAUABQACsAKwAEAFAABAAEAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABABQACsAKwArACsAKwArACsAKwAEACsAKwArACsAUABQACsAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUAAaABoAUABQAFAAUABQAEwAHgAbAFAAHgAEACsAKwAEAAQABAArAFAAUABQAFAAUABQACsAKwArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQACsAUABQACsAKwAEACsABAAEAAQABAAEACsAKwArACsABAAEACsAKwAEAAQABAArACsAKwAEACsAKwArACsAKwArACsAUABQAFAAUAArAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLAAQABABQAFAAUAAEAB4AKwArACsAKwArACsAKwArACsAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQACsAKwAEAFAABAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAArACsAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAB4AGwArACsAKwArACsAKwArAFAABAAEAAQABAAEAAQAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABAArACsAKwArACsAKwArAAQABAAEACsAKwArACsAUABQACsAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAB4AUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAAQAUAArAFAAUABQAFAAUABQACsAKwArAFAAUABQACsAUABQAFAAUAArACsAKwBQAFAAKwBQACsAUABQACsAKwArAFAAUAArACsAKwBQAFAAUAArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArAAQABAAEAAQABAArACsAKwAEAAQABAArAAQABAAEAAQAKwArAFAAKwArACsAKwArACsABAArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAHgAeAB4AHgAeAB4AGwAeACsAKwArACsAKwAEAAQABAAEAAQAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAUAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAAEACsAKwArACsAKwArACsABAAEACsAUABQAFAAKwArACsAKwArAFAAUAAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKwAOAFAAUABQAFAAUABQAFAAHgBQAAQABAAEAA4AUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAKwArAAQAUAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAAEACsAKwArACsAKwArACsABAAEACsAKwArACsAKwArACsAUAArAFAAUAAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwBQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAFAABAAEAAQABAAEAAQABAArAAQABAAEACsABAAEAAQABABQAB4AKwArACsAKwBQAFAAUAAEAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQABoAUABQAFAAUABQAFAAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQACsAUAArACsAUABQAFAAUABQAFAAUAArACsAKwAEACsAKwArACsABAAEAAQABAAEAAQAKwAEACsABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArAAQABAAeACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAXAAqACoAKgAqACoAKgAqACsAKwArACsAGwBcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAeAEsASwBLAEsASwBLAEsASwBLAEsADQANACsAKwArACsAKwBcAFwAKwBcACsAXABcAFwAXABcACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAXAArAFwAXABcAFwAXABcAFwAXABcAFwAKgBcAFwAKgAqACoAKgAqACoAKgAqACoAXAArACsAXABcAFwAXABcACsAXAArACoAKgAqACoAKgAqACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwBcAFwAXABcAFAADgAOAA4ADgAeAA4ADgAJAA4ADgANAAkAEwATABMAEwATAAkAHgATAB4AHgAeAAQABAAeAB4AHgAeAB4AHgBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQAFAADQAEAB4ABAAeAAQAFgARABYAEQAEAAQAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQADQAEAAQABAAEAAQADQAEAAQAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAA0ADQAeAB4AHgAeAB4AHgAEAB4AHgAeAB4AHgAeACsAHgAeAA4ADgANAA4AHgAeAB4AHgAeAAkACQArACsAKwArACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgBcAEsASwBLAEsASwBLAEsASwBLAEsADQANAB4AHgAeAB4AXABcAFwAXABcAFwAKgAqACoAKgBcAFwAXABcACoAKgAqAFwAKgAqACoAXABcACoAKgAqACoAKgAqACoAXABcAFwAKgAqACoAKgBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKgAqAFwAKgBLAEsASwBLAEsASwBLAEsASwBLACoAKgAqACoAKgAqAFAAUABQAFAAUABQACsAUAArACsAKwArACsAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgBQAFAAUABQAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAKwBQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsABAAEAAQAHgANAB4AHgAeAB4AHgAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUAArACsADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAWABEAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAA0ADQANAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAANAA0AKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUAArAAQABAArACsAKwArACsAKwArACsAKwArACsAKwBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqAA0ADQAVAFwADQAeAA0AGwBcACoAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwAeAB4AEwATAA0ADQAOAB4AEwATAB4ABAAEAAQACQArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUAAEAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAHgArACsAKwATABMASwBLAEsASwBLAEsASwBLAEsASwBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAArACsAXABcAFwAXABcACsAKwArACsAKwArACsAKwArACsAKwBcAFwAXABcAFwAXABcAFwAXABcAFwAXAArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAXAArACsAKwAqACoAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAArACsAHgAeAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKwAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKwArAAQASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArACoAKgAqACoAKgAqACoAXAAqACoAKgAqACoAKgArACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABABQAFAAUABQAFAAUABQACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwANAA0AHgANAA0ADQANAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAEAAQAHgAeAB4AHgAeAB4AHgAeAB4AKwArACsABAAEAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwAeAB4AHgAeAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArAA0ADQANAA0ADQBLAEsASwBLAEsASwBLAEsASwBLACsAKwArAFAAUABQAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAA0ADQBQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUAAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArAAQABAAEAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAAQAUABQAFAAUABQAFAABABQAFAABAAEAAQAUAArACsAKwArACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsABAAEAAQABAAEAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAKwBQACsAUAArAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgBQAB4AHgAeAFAAUABQACsAHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQACsAKwAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAFAAUABQACsAHgAeAB4AHgAeAB4AHgAOAB4AKwANAA0ADQANAA0ADQANAAkADQANAA0ACAAEAAsABAAEAA0ACQANAA0ADAAdAB0AHgAXABcAFgAXABcAFwAWABcAHQAdAB4AHgAUABQAFAANAAEAAQAEAAQABAAEAAQACQAaABoAGgAaABoAGgAaABoAHgAXABcAHQAVABUAHgAeAB4AHgAeAB4AGAAWABEAFQAVABUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ADQAeAA0ADQANAA0AHgANAA0ADQAHAB4AHgAeAB4AKwAEAAQABAAEAAQABAAEAAQABAAEAFAAUAArACsATwBQAFAAUABQAFAAHgAeAB4AFgARAE8AUABPAE8ATwBPAFAAUABQAFAAUAAeAB4AHgAWABEAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArABsAGwAbABsAGwAbABsAGgAbABsAGwAbABsAGwAbABsAGwAbABsAGwAbABsAGgAbABsAGwAbABoAGwAbABoAGwAbABsAGwAbABsAGwAbABsAGwAbABsAGwAbABsAGwAbAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAHgAeAFAAGgAeAB0AHgBQAB4AGgAeAB4AHgAeAB4AHgAeAB4AHgBPAB4AUAAbAB4AHgBQAFAAUABQAFAAHgAeAB4AHQAdAB4AUAAeAFAAHgBQAB4AUABPAFAAUAAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAHgBQAFAAUABQAE8ATwBQAFAAUABQAFAATwBQAFAATwBQAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAFAAUABQAFAATwBPAE8ATwBPAE8ATwBPAE8ATwBQAFAAUABQAFAAUABQAFAAUAAeAB4AUABQAFAAUABPAB4AHgArACsAKwArAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB4AHQAdAB4AHgAeAB0AHQAeAB4AHQAeAB4AHgAdAB4AHQAbABsAHgAdAB4AHgAeAB4AHQAeAB4AHQAdAB0AHQAeAB4AHQAeAB0AHgAdAB0AHQAdAB0AHQAeAB0AHgAeAB4AHgAeAB0AHQAdAB0AHgAeAB4AHgAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB4AHgAeAB0AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHgAeAB0AHQAdAB0AHgAeAB0AHQAeAB4AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHQAeAB4AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAeAB4AHgAdAB4AHgAeAB4AHgAeAB4AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABYAEQAWABEAHgAeAB4AHgAeAB4AHQAeAB4AHgAeAB4AHgAeACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAWABEAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAFAAHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB4AHgAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAeAB4AHQAdAB0AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHQAeAB0AHQAdAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB0AHQAeAB4AHQAdAB4AHgAeAB4AHQAdAB4AHgAeAB4AHQAdAB0AHgAeAB0AHgAeAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlAB4AHQAdAB4AHgAdAB4AHgAeAB4AHQAdAB4AHgAeAB4AJQAlAB0AHQAlAB4AJQAlACUAIAAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAeAB4AHgAeAB0AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHgAdAB0AHQAeAB0AJQAdAB0AHgAdAB0AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAdAB0AHQAdACUAHgAlACUAJQAdACUAJQAdAB0AHQAlACUAHQAdACUAHQAdACUAJQAlAB4AHQAeAB4AHgAeAB0AHQAlAB0AHQAdAB0AHQAdACUAJQAlACUAJQAdACUAJQAgACUAHQAdACUAJQAlACUAJQAlACUAJQAeAB4AHgAlACUAIAAgACAAIAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AFwAXABcAFwAXABcAHgATABMAJQAeAB4AHgAWABEAFgARABYAEQAWABEAFgARABYAEQAWABEATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABYAEQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAWABEAFgARABYAEQAWABEAFgARAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFgARABYAEQAWABEAFgARABYAEQAWABEAFgARABYAEQAWABEAFgARABYAEQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAWABEAFgARAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFgARAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAEAAQABAAeAB4AKwArACsAKwArABMADQANAA0AUAATAA0AUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUAANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAA0ADQANAA0ADQANAA0ADQAeAA0AFgANAB4AHgAXABcAHgAeABcAFwAWABEAFgARABYAEQAWABEADQANAA0ADQATAFAADQANAB4ADQANAB4AHgAeAB4AHgAMAAwADQANAA0AHgANAA0AFgANAA0ADQANAA0ADQANAA0AHgANAB4ADQANAB4AHgAeACsAKwArACsAKwArACsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwArACsAKwArACsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArAA0AEQARACUAJQBHAFcAVwAWABEAFgARABYAEQAWABEAFgARACUAJQAWABEAFgARABYAEQAWABEAFQAWABEAEQAlAFcAVwBXAFcAVwBXAFcAVwBXAAQABAAEAAQABAAEACUAVwBXAFcAVwA2ACUAJQBXAFcAVwBHAEcAJQAlACUAKwBRAFcAUQBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFEAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBRAFcAUQBXAFEAVwBXAFcAVwBXAFcAUQBXAFcAVwBXAFcAVwBRAFEAKwArAAQABAAVABUARwBHAFcAFQBRAFcAUQBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBRAFcAVwBXAFcAVwBXAFEAUQBXAFcAVwBXABUAUQBHAEcAVwArACsAKwArACsAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwAlACUAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACsAKwArACsAKwArACsAKwArACsAKwArAFEAUQBRAFEAUQBRAFEAUQBRAFEAUQBRAFEAUQBRAFEAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBPAE8ATwBPAE8ATwBPAE8AJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQAlAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAEcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAADQATAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABLAEsASwBLAEsASwBLAEsASwBLAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAABAAEAAQABAAeAAQABAAEAAQABAAEAAQABAAEAAQAHgBQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUABQAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAeAA0ADQANAA0ADQArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAB4AHgAeAB4AHgAeAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAAQAUABQAFAABABQAFAAUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAeAB4AHgAeAAQAKwArACsAUABQAFAAUABQAFAAHgAeABoAHgArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAADgAOABMAEwArACsAKwArACsAKwArACsABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwANAA0ASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUAAeAB4AHgBQAA4AUABQAAQAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAA0ADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArAB4AWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYACsAKwArAAQAHgAeAB4AHgAeAB4ADQANAA0AHgAeAB4AHgArAFAASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArAB4AHgBcAFwAXABcAFwAKgBcAFwAXABcAFwAXABcAFwAXABcAEsASwBLAEsASwBLAEsASwBLAEsAXABcAFwAXABcACsAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArAFAAUABQAAQAUABQAFAAUABQAFAAUABQAAQABAArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAHgANAA0ADQBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAXAAqACoAKgBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAKgAqACoAXABcACoAKgBcAFwAXABcAFwAKgAqAFwAKgBcACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcACoAKgBQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAA0ADQBQAFAAUAAEAAQAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQADQAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAVABVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBUAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVACsAKwArACsAKwArACsAKwArACsAKwArAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAKwArACsAKwBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAKwArACsAKwAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAKwArACsAKwArAFYABABWAFYAVgBWAFYAVgBWAFYAVgBWAB4AVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgArAFYAVgBWAFYAVgArAFYAKwBWAFYAKwBWAFYAKwBWAFYAVgBWAFYAVgBWAFYAVgBWAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAEQAWAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAaAB4AKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAGAARABEAGAAYABMAEwAWABEAFAArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACUAJQAlACUAJQAWABEAFgARABYAEQAWABEAFgARABYAEQAlACUAFgARACUAJQAlACUAJQAlACUAEQAlABEAKwAVABUAEwATACUAFgARABYAEQAWABEAJQAlACUAJQAlACUAJQAlACsAJQAbABoAJQArACsAKwArAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAcAKwATACUAJQAbABoAJQAlABYAEQAlACUAEQAlABEAJQBXAFcAVwBXAFcAVwBXAFcAVwBXABUAFQAlACUAJQATACUAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXABYAJQARACUAJQAlAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAWACUAEQAlABYAEQARABYAEQARABUAVwBRAFEAUQBRAFEAUQBRAFEAUQBRAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAEcARwArACsAVwBXAFcAVwBXAFcAKwArAFcAVwBXAFcAVwBXACsAKwBXAFcAVwBXAFcAVwArACsAVwBXAFcAKwArACsAGgAbACUAJQAlABsAGwArAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwAEAAQABAAQAB0AKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsADQANAA0AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAAQAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAA0AUABQAFAAUAArACsAKwArAFAAUABQAFAAUABQAFAAUAANAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAKwArAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUAArACsAKwBQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAUABQAFAAUABQAAQABAAEACsABAAEACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAKwBQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEACsAKwArACsABABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAA0ADQANAA0ADQANAA0ADQAeACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAArACsAKwArAFAAUABQAFAAUAANAA0ADQANAA0ADQAUACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsADQANAA0ADQANAA0ADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAAQABAAEAAQAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArAAQABAANACsAKwBQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAB4AHgAeAB4AHgArACsAKwArACsAKwAEAAQABAAEAAQABAAEAA0ADQAeAB4AHgAeAB4AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwAeACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsASwBLAEsASwBLAEsASwBLAEsASwANAA0ADQANAFAABAAEAFAAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAeAA4AUAArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAADQANAB4ADQAEAAQABAAEAB4ABAAEAEsASwBLAEsASwBLAEsASwBLAEsAUAAOAFAADQANAA0AKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAANAA0AHgANAA0AHgAEACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAA0AKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsABAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQACsABAAEAFAABAAEAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABAArACsAUAArACsAKwArACsAKwAEACsAKwArACsAKwBQAFAAUABQAFAABAAEACsAKwAEAAQABAAEAAQABAAEACsAKwArAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAAQABABQAFAAUABQAA0ADQANAA0AHgBLAEsASwBLAEsASwBLAEsASwBLAA0ADQArAB4ABABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAFAAUAAeAFAAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAArACsABAAEAAQABAAEAAQABAAEAAQADgANAA0AEwATAB4AHgAeAA0ADQANAA0ADQANAA0ADQANAA0ADQANAA0ADQANAFAAUABQAFAABAAEACsAKwAEAA0ADQAeAFAAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKwArACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBcAFwADQANAA0AKgBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAKwArAFAAKwArAFAAUABQAFAAUABQAFAAUAArAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQAKwAEAAQAKwArAAQABAAEAAQAUAAEAFAABAAEAA0ADQANACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAArACsABAAEAAQABAAEAAQABABQAA4AUAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAFAABAAEAAQABAAOAB4ADQANAA0ADQAOAB4ABAArACsAKwArACsAKwArACsAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAA0ADQANAFAADgAOAA4ADQANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEACsABAAEAAQABAAEAAQABAAEAFAADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwAOABMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAArACsAKwAEACsABAAEACsABAAEAAQABAAEAAQABABQAAQAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAKwBQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQAKwAEAAQAKwAEAAQABAAEAAQAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAaABoAGgAaAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABIAEgAQwBDAEMAUABQAFAAUABDAFAAUABQAEgAQwBIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABDAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwAJAAkACQAJAAkACQAJABYAEQArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwANAA0AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAANACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAA0ADQANAB4AHgAeAB4AHgAeAFAAUABQAFAADQAeACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAANAA0AHgAeACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwAEAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAARwBHABUARwAJACsAKwArACsAKwArACsAKwArACsAKwAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACsAKwArACsAKwArACsAKwBXAFcAVwBXAFcAVwBXAFcAVwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUQBRAFEAKwArACsAKwArACsAKwArACsAKwArACsAKwBRAFEAUQBRACsAKwArACsAKwArACsAKwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArACsAHgAEAAQADQAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArAB4AHgAeAB4AHgAeAB4AKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAAQABAAEAAQABAAeAB4AHgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAB4AHgAEAAQABAAEAAQABAAEAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQAHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwBQAFAAKwArAFAAKwArAFAAUAArACsAUABQAFAAUAArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAUAArAFAAUABQAFAAUABQAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAHgAeAFAAUABQAFAAUAArAFAAKwArACsAUABQAFAAUABQAFAAUAArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeACsAKwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4ABAAeAB4AHgAeAB4AHgAeAB4AHgAeAAQAHgAeAA0ADQANAA0AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAAQAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArAAQABAAEAAQABAAEAAQAKwAEAAQAKwAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwBQAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArABsAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArAB4AHgAeAB4ABAAEAAQABAAEAAQABABQACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArABYAFgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAGgBQAFAAUAAaAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAKwBQACsAKwBQACsAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwBQACsAUAArACsAKwArACsAKwBQACsAKwArACsAUAArAFAAKwBQACsAUABQAFAAKwBQAFAAKwBQACsAKwBQACsAUAArAFAAKwBQACsAUAArAFAAUAArAFAAKwArAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUAArAFAAUABQAFAAKwBQACsAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAKwBQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8AJQAlACUAHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB4AHgAeACUAJQAlAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAlACUAJQAlACUAHgAlACUAJQAlACUAIAAgACAAJQAlACAAJQAlACAAIAAgACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACEAIQAhACEAIQAlACUAIAAgACUAJQAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAIAAlACUAJQAlACAAIAAgACUAIAAgACAAJQAlACUAJQAlACUAJQAgACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAlAB4AJQAeACUAJQAlACUAJQAgACUAJQAlACUAHgAlAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAgACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACAAIAAgACUAJQAlACAAIAAgACAAIAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABcAFwAXABUAFQAVAB4AHgAeAB4AJQAlACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAgACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAgACUAJQAgACUAJQAlACUAJQAlACUAJQAgACAAIAAgACAAIAAgACAAJQAlACUAJQAlACUAIAAlACUAJQAlACUAJQAlACUAJQAgACAAIAAgACAAIAAgACAAIAAgACUAJQAgACAAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAgACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAlACAAIAAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAgACAAIAAlACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwArAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACUAVwBXACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAA=="),k=Array.isArray(x)?function(A){for(var e=A.length,t=[],n=0;n<e;n+=4)t.push(A[n+3]<<24|A[n+2]<<16|A[n+1]<<8|A[n]);return t}(x):new Uint32Array(x),M=Array.isArray(x)?function(A){for(var e=A.length,t=[],n=0;n<e;n+=2)t.push(A[n+1]<<8|A[n]);return t}(x):new Uint16Array(x),S=H(M,12,k[4]/2),G=2===k[5]?H(M,(24+k[4])/2):(K=k,D=Math.ceil((24+k[4])/4),K.slice?K.slice(D,L):new Uint32Array(Array.prototype.slice.call(K,D,L))),new E(k[0],k[1],k[2],k[3],S,G)),dA=[Z,36],uA=[1,2,3,5],gA=[T,8],wA=[z,W],QA=uA.concat(gA),hA=[rA,sA,oA,eA,tA],pA=[V,O],fA=function(A,e,t,n){var r=n[t];if(Array.isArray(A)?-1!==A.indexOf(r):A===r)for(var s=t;s<=n.length;){if((a=n[++s])===e)return!0;if(a!==T)break}if(r===T)for(s=t;s>0;){var o=n[--s];if(Array.isArray(A)?-1!==A.indexOf(o):A===o)for(var i=t;i<=n.length;){var a;if((a=n[++i])===e)return!0;if(a!==T)break}if(o!==T)break}return!1},CA=function(A,e){for(var t=A;t>=0;){var n=e[t];if(n!==T)return n;t--}return 0},FA=function(A,e,t,n,r){if(0===t[n])return cA;var s=n-1;if(Array.isArray(r)&&!0===r[s])return cA;var o=s-1,i=s+1,a=e[s],c=o>=0?e[o]:0,B=e[i];if(2===a&&3===B)return cA;if(-1!==uA.indexOf(a))return"!";if(-1!==uA.indexOf(B))return cA;if(-1!==gA.indexOf(B))return cA;if(8===CA(s,e))return BA;if(11===lA.get(A[s]))return cA;if((a===$||a===AA)&&11===lA.get(A[i]))return cA;if(7===a||7===B)return cA;if(9===a)return cA;if(-1===[T,O,V].indexOf(a)&&9===B)return cA;if(-1!==[N,R,P,Y,q].indexOf(B))return cA;if(CA(s,e)===j)return cA;if(fA(23,j,s,e))return cA;if(fA([N,R],X,s,e))return cA;if(fA(12,12,s,e))return cA;if(a===T)return BA;if(23===a||23===B)return cA;if(16===B||16===a)return BA;if(-1!==[O,V,X].indexOf(B)||14===a)return cA;if(36===c&&-1!==pA.indexOf(a))return cA;if(a===q&&36===B)return cA;if(B===J)return cA;if(-1!==dA.indexOf(B)&&a===_||-1!==dA.indexOf(a)&&B===_)return cA;if(a===z&&-1!==[nA,$,AA].indexOf(B)||-1!==[nA,$,AA].indexOf(a)&&B===W)return cA;if(-1!==dA.indexOf(a)&&-1!==wA.indexOf(B)||-1!==wA.indexOf(a)&&-1!==dA.indexOf(B))return cA;if(-1!==[z,W].indexOf(a)&&(B===_||-1!==[j,V].indexOf(B)&&e[i+1]===_)||-1!==[j,V].indexOf(a)&&B===_||a===_&&-1!==[_,q,Y].indexOf(B))return cA;if(-1!==[_,q,Y,N,R].indexOf(B))for(var l=s;l>=0;){if((d=e[l])===_)return cA;if(-1===[q,Y].indexOf(d))break;l--}if(-1!==[z,W].indexOf(B))for(l=-1!==[N,R].indexOf(a)?o:s;l>=0;){var d;if((d=e[l])===_)return cA;if(-1===[q,Y].indexOf(d))break;l--}if(rA===a&&-1!==[rA,sA,eA,tA].indexOf(B)||-1!==[sA,eA].indexOf(a)&&-1!==[sA,oA].indexOf(B)||-1!==[oA,tA].indexOf(a)&&B===oA)return cA;if(-1!==hA.indexOf(a)&&-1!==[J,W].indexOf(B)||-1!==hA.indexOf(B)&&a===z)return cA;if(-1!==dA.indexOf(a)&&-1!==dA.indexOf(B))return cA;if(a===Y&&-1!==dA.indexOf(B))return cA;if(-1!==dA.concat(_).indexOf(a)&&B===j&&-1===aA.indexOf(A[i])||-1!==dA.concat(_).indexOf(B)&&a===R)return cA;if(41===a&&41===B){for(var u=t[s],g=1;u>0&&41===e[--u];)g++;if(g%2!=0)return cA}return a===$&&B===AA?cA:BA},UA=function(){function A(A,e,t,n){this.codePoints=A,this.required="!"===e,this.start=t,this.end=n}return A.prototype.slice=function(){return F.apply(void 0,this.codePoints.slice(this.start,this.end))},A}(),mA=45,yA=43,bA=-1,HA=function(A){return A>=48&&A<=57},EA=function(A){return HA(A)||A>=65&&A<=70||A>=97&&A<=102},vA=function(A){return 10===A||9===A||32===A},IA=function(A){return function(A){return function(A){return A>=97&&A<=122}(A)||function(A){return A>=65&&A<=90}(A)}(A)||function(A){return A>=128}(A)||95===A},KA=function(A){return IA(A)||HA(A)||A===mA},DA=function(A){return A>=0&&A<=8||11===A||A>=14&&A<=31||127===A},LA=function(A,e){return 92===A&&10!==e},xA=function(A,e,t){return A===mA?IA(e)||LA(e,t):!!IA(A)||!(92!==A||!LA(A,e))},kA=function(A,e,t){return A===yA||A===mA?!!HA(e)||46===e&&HA(t):HA(46===A?e:A)},MA=function(A){var e=0,t=1;A[e]!==yA&&A[e]!==mA||(A[e]===mA&&(t=-1),e++);for(var n=[];HA(A[e]);)n.push(A[e++]);var r=n.length?parseInt(F.apply(void 0,n),10):0;46===A[e]&&e++;for(var s=[];HA(A[e]);)s.push(A[e++]);var o=s.length,i=o?parseInt(F.apply(void 0,s),10):0;69!==A[e]&&101!==A[e]||e++;var a=1;A[e]!==yA&&A[e]!==mA||(A[e]===mA&&(a=-1),e++);for(var c=[];HA(A[e]);)c.push(A[e++]);var B=c.length?parseInt(F.apply(void 0,c),10):0;return t*(r+i*Math.pow(10,-o))*Math.pow(10,a*B)},SA={type:2},GA={type:3},TA={type:4},OA={type:13},VA={type:8},NA={type:21},RA={type:9},PA={type:10},JA={type:11},XA={type:12},jA={type:14},YA={type:23},_A={type:1},WA={type:25},zA={type:24},qA={type:26},ZA={type:27},$A={type:28},Ae={type:29},ee={type:31},te={type:32},ne=function(){function A(){this._value=[]}return A.prototype.write=function(A){this._value=this._value.concat(C(A))},A.prototype.read=function(){for(var A=[],e=this.consumeToken();e!==te;)A.push(e),e=this.consumeToken();return A},A.prototype.consumeToken=function(){var A=this.consumeCodePoint();switch(A){case 34:return this.consumeStringToken(34);case 35:var e=this.peekCodePoint(0),t=this.peekCodePoint(1),n=this.peekCodePoint(2);if(KA(e)||LA(t,n)){var r=xA(e,t,n)?2:1;return{type:5,value:this.consumeName(),flags:r}}break;case 36:if(61===this.peekCodePoint(0))return this.consumeCodePoint(),OA;break;case 39:return this.consumeStringToken(39);case 40:return SA;case 41:return GA;case 42:if(61===this.peekCodePoint(0))return this.consumeCodePoint(),jA;break;case yA:if(kA(A,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(A),this.consumeNumericToken();break;case 44:return TA;case mA:var s=A,o=this.peekCodePoint(0),i=this.peekCodePoint(1);if(kA(s,o,i))return this.reconsumeCodePoint(A),this.consumeNumericToken();if(xA(s,o,i))return this.reconsumeCodePoint(A),this.consumeIdentLikeToken();if(o===mA&&62===i)return this.consumeCodePoint(),this.consumeCodePoint(),zA;break;case 46:if(kA(A,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(A),this.consumeNumericToken();break;case 47:if(42===this.peekCodePoint(0))for(this.consumeCodePoint();;){var a=this.consumeCodePoint();if(42===a&&47===(a=this.consumeCodePoint()))return this.consumeToken();if(a===bA)return this.consumeToken()}break;case 58:return qA;case 59:return ZA;case 60:if(33===this.peekCodePoint(0)&&this.peekCodePoint(1)===mA&&this.peekCodePoint(2)===mA)return this.consumeCodePoint(),this.consumeCodePoint(),WA;break;case 64:var c=this.peekCodePoint(0),B=this.peekCodePoint(1),l=this.peekCodePoint(2);if(xA(c,B,l))return{type:7,value:this.consumeName()};break;case 91:return $A;case 92:if(LA(A,this.peekCodePoint(0)))return this.reconsumeCodePoint(A),this.consumeIdentLikeToken();break;case 93:return Ae;case 61:if(61===this.peekCodePoint(0))return this.consumeCodePoint(),VA;break;case 123:return JA;case 125:return XA;case 117:case 85:var d=this.peekCodePoint(0),u=this.peekCodePoint(1);return d!==yA||!EA(u)&&63!==u||(this.consumeCodePoint(),this.consumeUnicodeRangeToken()),this.reconsumeCodePoint(A),this.consumeIdentLikeToken();case 124:if(61===this.peekCodePoint(0))return this.consumeCodePoint(),RA;if(124===this.peekCodePoint(0))return this.consumeCodePoint(),NA;break;case 126:if(61===this.peekCodePoint(0))return this.consumeCodePoint(),PA;break;case bA:return te}return vA(A)?(this.consumeWhiteSpace(),ee):HA(A)?(this.reconsumeCodePoint(A),this.consumeNumericToken()):IA(A)?(this.reconsumeCodePoint(A),this.consumeIdentLikeToken()):{type:6,value:F(A)}},A.prototype.consumeCodePoint=function(){var A=this._value.shift();return void 0===A?-1:A},A.prototype.reconsumeCodePoint=function(A){this._value.unshift(A)},A.prototype.peekCodePoint=function(A){return A>=this._value.length?-1:this._value[A]},A.prototype.consumeUnicodeRangeToken=function(){for(var A=[],e=this.consumeCodePoint();EA(e)&&A.length<6;)A.push(e),e=this.consumeCodePoint();for(var t=!1;63===e&&A.length<6;)A.push(e),e=this.consumeCodePoint(),t=!0;if(t)return{type:30,start:parseInt(F.apply(void 0,A.map(function(A){return 63===A?48:A})),16),end:parseInt(F.apply(void 0,A.map(function(A){return 63===A?70:A})),16)};var n=parseInt(F.apply(void 0,A),16);if(this.peekCodePoint(0)===mA&&EA(this.peekCodePoint(1))){this.consumeCodePoint(),e=this.consumeCodePoint();for(var r=[];EA(e)&&r.length<6;)r.push(e),e=this.consumeCodePoint();return{type:30,start:n,end:parseInt(F.apply(void 0,r),16)}}return{type:30,start:n,end:n}},A.prototype.consumeIdentLikeToken=function(){var A=this.consumeName();return"url"===A.toLowerCase()&&40===this.peekCodePoint(0)?(this.consumeCodePoint(),this.consumeUrlToken()):40===this.peekCodePoint(0)?(this.consumeCodePoint(),{type:19,value:A}):{type:20,value:A}},A.prototype.consumeUrlToken=function(){var A=[];if(this.consumeWhiteSpace(),this.peekCodePoint(0)===bA)return{type:22,value:""};var e=this.peekCodePoint(0);if(39===e||34===e){var t=this.consumeStringToken(this.consumeCodePoint());return 0===t.type&&(this.consumeWhiteSpace(),this.peekCodePoint(0)===bA||41===this.peekCodePoint(0))?(this.consumeCodePoint(),{type:22,value:t.value}):(this.consumeBadUrlRemnants(),YA)}for(;;){var n=this.consumeCodePoint();if(n===bA||41===n)return{type:22,value:F.apply(void 0,A)};if(vA(n))return this.consumeWhiteSpace(),this.peekCodePoint(0)===bA||41===this.peekCodePoint(0)?(this.consumeCodePoint(),{type:22,value:F.apply(void 0,A)}):(this.consumeBadUrlRemnants(),YA);if(34===n||39===n||40===n||DA(n))return this.consumeBadUrlRemnants(),YA;if(92===n){if(!LA(n,this.peekCodePoint(0)))return this.consumeBadUrlRemnants(),YA;A.push(this.consumeEscapedCodePoint())}else A.push(n)}},A.prototype.consumeWhiteSpace=function(){for(;vA(this.peekCodePoint(0));)this.consumeCodePoint()},A.prototype.consumeBadUrlRemnants=function(){for(;;){var A=this.consumeCodePoint();if(41===A||A===bA)return;LA(A,this.peekCodePoint(0))&&this.consumeEscapedCodePoint()}},A.prototype.consumeStringSlice=function(A){for(var e="";A>0;){var t=Math.min(5e4,A);e+=F.apply(void 0,this._value.splice(0,t)),A-=t}return this._value.shift(),e},A.prototype.consumeStringToken=function(A){for(var e="",t=0;;){var n=this._value[t];if(n===bA||void 0===n||n===A)return{type:0,value:e+=this.consumeStringSlice(t)};if(10===n)return this._value.splice(0,t),_A;if(92===n){var r=this._value[t+1];r!==bA&&void 0!==r&&(10===r?(e+=this.consumeStringSlice(t),t=-1,this._value.shift()):LA(n,r)&&(e+=this.consumeStringSlice(t),e+=F(this.consumeEscapedCodePoint()),t=-1))}t++}},A.prototype.consumeNumber=function(){var A=[],e=4,t=this.peekCodePoint(0);for(t!==yA&&t!==mA||A.push(this.consumeCodePoint());HA(this.peekCodePoint(0));)A.push(this.consumeCodePoint());t=this.peekCodePoint(0);var n=this.peekCodePoint(1);if(46===t&&HA(n))for(A.push(this.consumeCodePoint(),this.consumeCodePoint()),e=8;HA(this.peekCodePoint(0));)A.push(this.consumeCodePoint());t=this.peekCodePoint(0),n=this.peekCodePoint(1);var r=this.peekCodePoint(2);if((69===t||101===t)&&((n===yA||n===mA)&&HA(r)||HA(n)))for(A.push(this.consumeCodePoint(),this.consumeCodePoint()),e=8;HA(this.peekCodePoint(0));)A.push(this.consumeCodePoint());return[MA(A),e]},A.prototype.consumeNumericToken=function(){var A=this.consumeNumber(),e=A[0],t=A[1],n=this.peekCodePoint(0),r=this.peekCodePoint(1),s=this.peekCodePoint(2);return xA(n,r,s)?{type:15,number:e,flags:t,unit:this.consumeName()}:37===n?(this.consumeCodePoint(),{type:16,number:e,flags:t}):{type:17,number:e,flags:t}},A.prototype.consumeEscapedCodePoint=function(){var A=this.consumeCodePoint();if(EA(A)){for(var e=F(A);EA(this.peekCodePoint(0))&&e.length<6;)e+=F(this.consumeCodePoint());vA(this.peekCodePoint(0))&&this.consumeCodePoint();var t=parseInt(e,16);return 0===t||function(A){return A>=55296&&A<=57343}(t)||t>1114111?65533:t}return A===bA?65533:A},A.prototype.consumeName=function(){for(var A="";;){var e=this.consumeCodePoint();if(KA(e))A+=F(e);else{if(!LA(e,this.peekCodePoint(0)))return this.reconsumeCodePoint(e),A;A+=F(this.consumeEscapedCodePoint())}}},A}(),re=function(){function A(A){this._tokens=A}return A.create=function(e){var t=new ne;return t.write(e),new A(t.read())},A.parseValue=function(e){return A.create(e).parseComponentValue()},A.parseValues=function(e){return A.create(e).parseComponentValues()},A.prototype.parseComponentValue=function(){for(var A=this.consumeToken();31===A.type;)A=this.consumeToken();if(32===A.type)throw new SyntaxError("Error parsing CSS component value, unexpected EOF");this.reconsumeToken(A);var e=this.consumeComponentValue();do{A=this.consumeToken()}while(31===A.type);if(32===A.type)return e;throw new SyntaxError("Error parsing CSS component value, multiple values found when expecting only one")},A.prototype.parseComponentValues=function(){for(var A=[];;){var e=this.consumeComponentValue();if(32===e.type)return A;A.push(e),A.push()}},A.prototype.consumeComponentValue=function(){var A=this.consumeToken();switch(A.type){case 11:case 28:case 2:return this.consumeSimpleBlock(A.type);case 19:return this.consumeFunction(A)}return A},A.prototype.consumeSimpleBlock=function(A){for(var e={type:A,values:[]},t=this.consumeToken();;){if(32===t.type||ue(t,A))return e;this.reconsumeToken(t),e.values.push(this.consumeComponentValue()),t=this.consumeToken()}},A.prototype.consumeFunction=function(A){for(var e={name:A.value,values:[],type:18};;){var t=this.consumeToken();if(32===t.type||3===t.type)return e;this.reconsumeToken(t),e.values.push(this.consumeComponentValue())}},A.prototype.consumeToken=function(){var A=this._tokens.shift();return void 0===A?te:A},A.prototype.reconsumeToken=function(A){this._tokens.unshift(A)},A}(),se=function(A){return 15===A.type},oe=function(A){return 17===A.type},ie=function(A){return 20===A.type},ae=function(A){return 0===A.type},ce=function(A,e){return ie(A)&&A.value===e},Be=function(A){return 31!==A.type},le=function(A){return 31!==A.type&&4!==A.type},de=function(A){var e=[],t=[];return A.forEach(function(A){if(4===A.type){if(0===t.length)throw new Error("Error parsing function args, zero tokens for arg");return e.push(t),void(t=[])}31!==A.type&&t.push(A)}),t.length&&e.push(t),e},ue=function(A,e){return 11===e&&12===A.type||28===e&&29===A.type||2===e&&3===A.type},ge=function(A){return 17===A.type||15===A.type},we=function(A){return 16===A.type||ge(A)},Qe=function(A){return A.length>1?[A[0],A[1]]:[A[0]]},he={type:17,number:0,flags:4},pe={type:16,number:50,flags:4},fe={type:16,number:100,flags:4},Ce=function(A,e,t){var n=A[0],r=A[1];return[Fe(n,e),Fe(void 0!==r?r:n,t)]},Fe=function(A,e){if(16===A.type)return A.number/100*e;if(se(A))switch(A.unit){case"rem":case"em":return 16*A.number;default:return A.number}return A.number},Ue="grad",me="turn",ye=function(A,e){if(15===e.type)switch(e.unit){case"deg":return Math.PI*e.number/180;case Ue:return Math.PI/200*e.number;case"rad":return e.number;case me:return 2*Math.PI*e.number}throw new Error("Unsupported angle type")},be=function(A){return 15===A.type&&("deg"===A.unit||A.unit===Ue||"rad"===A.unit||A.unit===me)},He=function(A){switch(A.filter(ie).map(function(A){return A.value}).join(" ")){case"to bottom right":case"to right bottom":case"left top":case"top left":return[he,he];case"to top":case"bottom":return Ee(0);case"to bottom left":case"to left bottom":case"right top":case"top right":return[he,fe];case"to right":case"left":return Ee(90);case"to top left":case"to left top":case"right bottom":case"bottom right":return[fe,fe];case"to bottom":case"top":return Ee(180);case"to top right":case"to right top":case"left bottom":case"bottom left":return[fe,he];case"to left":case"right":return Ee(270)}return 0},Ee=function(A){return Math.PI*A/180},ve=function(A,e){if(18===e.type){var t=Ge[e.name];if(void 0===t)throw new Error('Attempting to parse an unsupported color function "'+e.name+'"');return t(A,e.values)}if(5===e.type){if(3===e.value.length){var n=e.value.substring(0,1),r=e.value.substring(1,2),s=e.value.substring(2,3);return De(parseInt(n+n,16),parseInt(r+r,16),parseInt(s+s,16),1)}if(4===e.value.length){n=e.value.substring(0,1),r=e.value.substring(1,2),s=e.value.substring(2,3);var o=e.value.substring(3,4);return De(parseInt(n+n,16),parseInt(r+r,16),parseInt(s+s,16),parseInt(o+o,16)/255)}if(6===e.value.length)return n=e.value.substring(0,2),r=e.value.substring(2,4),s=e.value.substring(4,6),De(parseInt(n,16),parseInt(r,16),parseInt(s,16),1);if(8===e.value.length)return n=e.value.substring(0,2),r=e.value.substring(2,4),s=e.value.substring(4,6),o=e.value.substring(6,8),De(parseInt(n,16),parseInt(r,16),parseInt(s,16),parseInt(o,16)/255)}if(20===e.type){var i=Oe[e.value.toUpperCase()];if(void 0!==i)return i}return Oe.TRANSPARENT},Ie=function(A){return!(255&A)},Ke=function(A){var e=255&A,t=255&A>>8,n=255&A>>16,r=255&A>>24;return e<255?"rgba("+r+","+n+","+t+","+e/255+")":"rgb("+r+","+n+","+t+")"},De=function(A,e,t,n){return(A<<24|e<<16|t<<8|Math.round(255*n))>>>0},Le=function(A,e){if(17===A.type)return A.number;if(16===A.type){var t=3===e?1:255;return 3===e?A.number/100*t:Math.round(A.number/100*t)}return 0},xe=function(A,e){var t=e.filter(le);if(3===t.length){var n=t.map(Le),r=n[0],s=n[1],o=n[2];return De(r,s,o,1)}if(4===t.length){var i=t.map(Le),a=(r=i[0],s=i[1],o=i[2],i[3]);return De(r,s,o,a)}return 0};function ke(A,e,t){return t<0&&(t+=1),t>=1&&(t-=1),t<1/6?(e-A)*t*6+A:t<.5?e:t<2/3?6*(e-A)*(2/3-t)+A:A}var Me,Se=function(A,e){var t=e.filter(le),n=t[0],r=t[1],s=t[2],o=t[3],i=(17===n.type?Ee(n.number):ye(0,n))/(2*Math.PI),a=we(r)?r.number/100:0,c=we(s)?s.number/100:0,B=void 0!==o&&we(o)?Fe(o,1):1;if(0===a)return De(255*c,255*c,255*c,1);var l=c<=.5?c*(a+1):c+a-c*a,d=2*c-l,u=ke(d,l,i+1/3),g=ke(d,l,i),w=ke(d,l,i-1/3);return De(255*u,255*g,255*w,B)},Ge={hsl:Se,hsla:Se,rgb:xe,rgba:xe},Te=function(A,e){return ve(A,re.create(e).parseComponentValue())},Oe={ALICEBLUE:4042850303,ANTIQUEWHITE:4209760255,AQUA:16777215,AQUAMARINE:2147472639,AZURE:4043309055,BEIGE:4126530815,BISQUE:4293182719,BLACK:255,BLANCHEDALMOND:4293643775,BLUE:65535,BLUEVIOLET:2318131967,BROWN:2771004159,BURLYWOOD:3736635391,CADETBLUE:1604231423,CHARTREUSE:2147418367,CHOCOLATE:3530104575,CORAL:4286533887,CORNFLOWERBLUE:1687547391,CORNSILK:4294499583,CRIMSON:3692313855,CYAN:16777215,DARKBLUE:35839,DARKCYAN:9145343,DARKGOLDENROD:3095837695,DARKGRAY:2846468607,DARKGREEN:6553855,DARKGREY:2846468607,DARKKHAKI:3182914559,DARKMAGENTA:2332068863,DARKOLIVEGREEN:1433087999,DARKORANGE:4287365375,DARKORCHID:2570243327,DARKRED:2332033279,DARKSALMON:3918953215,DARKSEAGREEN:2411499519,DARKSLATEBLUE:1211993087,DARKSLATEGRAY:793726975,DARKSLATEGREY:793726975,DARKTURQUOISE:13554175,DARKVIOLET:2483082239,DEEPPINK:4279538687,DEEPSKYBLUE:12582911,DIMGRAY:1768516095,DIMGREY:1768516095,DODGERBLUE:512819199,FIREBRICK:2988581631,FLORALWHITE:4294635775,FORESTGREEN:579543807,FUCHSIA:4278255615,GAINSBORO:3705462015,GHOSTWHITE:4177068031,GOLD:4292280575,GOLDENROD:3668254975,GRAY:2155905279,GREEN:8388863,GREENYELLOW:2919182335,GREY:2155905279,HONEYDEW:4043305215,HOTPINK:4285117695,INDIANRED:3445382399,INDIGO:1258324735,IVORY:4294963455,KHAKI:4041641215,LAVENDER:3873897215,LAVENDERBLUSH:4293981695,LAWNGREEN:2096890111,LEMONCHIFFON:4294626815,LIGHTBLUE:2916673279,LIGHTCORAL:4034953471,LIGHTCYAN:3774873599,LIGHTGOLDENRODYELLOW:4210742015,LIGHTGRAY:3553874943,LIGHTGREEN:2431553791,LIGHTGREY:3553874943,LIGHTPINK:4290167295,LIGHTSALMON:4288707327,LIGHTSEAGREEN:548580095,LIGHTSKYBLUE:2278488831,LIGHTSLATEGRAY:2005441023,LIGHTSLATEGREY:2005441023,LIGHTSTEELBLUE:2965692159,LIGHTYELLOW:4294959359,LIME:16711935,LIMEGREEN:852308735,LINEN:4210091775,MAGENTA:4278255615,MAROON:2147483903,MEDIUMAQUAMARINE:1724754687,MEDIUMBLUE:52735,MEDIUMORCHID:3126187007,MEDIUMPURPLE:2473647103,MEDIUMSEAGREEN:1018393087,MEDIUMSLATEBLUE:2070474495,MEDIUMSPRINGGREEN:16423679,MEDIUMTURQUOISE:1221709055,MEDIUMVIOLETRED:3340076543,MIDNIGHTBLUE:421097727,MINTCREAM:4127193855,MISTYROSE:4293190143,MOCCASIN:4293178879,NAVAJOWHITE:4292783615,NAVY:33023,OLDLACE:4260751103,OLIVE:2155872511,OLIVEDRAB:1804477439,ORANGE:4289003775,ORANGERED:4282712319,ORCHID:3664828159,PALEGOLDENROD:4008225535,PALEGREEN:2566625535,PALETURQUOISE:2951671551,PALEVIOLETRED:3681588223,PAPAYAWHIP:4293907967,PEACHPUFF:4292524543,PERU:3448061951,PINK:4290825215,PLUM:3718307327,POWDERBLUE:2967529215,PURPLE:2147516671,REBECCAPURPLE:1714657791,RED:4278190335,ROSYBROWN:3163525119,ROYALBLUE:1097458175,SADDLEBROWN:2336560127,SALMON:4202722047,SANDYBROWN:4104413439,SEAGREEN:780883967,SEASHELL:4294307583,SIENNA:2689740287,SILVER:3233857791,SKYBLUE:2278484991,SLATEBLUE:1784335871,SLATEGRAY:1887473919,SLATEGREY:1887473919,SNOW:4294638335,SPRINGGREEN:16744447,STEELBLUE:1182971135,TAN:3535047935,TEAL:8421631,THISTLE:3636451583,TOMATO:4284696575,TRANSPARENT:0,TURQUOISE:1088475391,VIOLET:4001558271,WHEAT:4125012991,WHITE:4294967295,WHITESMOKE:4126537215,YELLOW:4294902015,YELLOWGREEN:2597139199},Ve={name:"background-clip",initialValue:"border-box",prefix:!1,type:1,parse:function(A,e){return e.map(function(A){if(ie(A))switch(A.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},Ne={name:"background-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},Re=function(A,e){var t=ve(A,e[0]),n=e[1];return n&&we(n)?{color:t,stop:n}:{color:t,stop:null}},Pe=function(A,e){var t=A[0],n=A[A.length-1];null===t.stop&&(t.stop=he),null===n.stop&&(n.stop=fe);for(var r=[],s=0,o=0;o<A.length;o++){var i=A[o].stop;if(null!==i){var a=Fe(i,e);a>s?r.push(a):r.push(s),s=a}else r.push(null)}var c=null;for(o=0;o<r.length;o++){var B=r[o];if(null===B)null===c&&(c=o);else if(null!==c){for(var l=o-c,d=(B-r[c-1])/(l+1),u=1;u<=l;u++)r[c+u-1]=d*u;c=null}}return A.map(function(A,t){return{color:A.color,stop:Math.max(Math.min(1,r[t]/e),0)}})},Je=function(A,e){return Math.sqrt(A*A+e*e)},Xe=function(A,e,t,n,r){return[[0,0],[0,e],[A,0],[A,e]].reduce(function(A,e){var s=e[0],o=e[1],i=Je(t-s,n-o);return(r?i<A.optimumDistance:i>A.optimumDistance)?{optimumCorner:e,optimumDistance:i}:A},{optimumDistance:r?1/0:-1/0,optimumCorner:null}).optimumCorner},je=function(A,e){var t=Ee(180),n=[];return de(e).forEach(function(e,r){if(0===r){var s=e[0];if(20===s.type&&-1!==["top","left","right","bottom"].indexOf(s.value))return void(t=He(e));if(be(s))return void(t=(ye(0,s)+Ee(270))%Ee(360))}var o=Re(A,e);n.push(o)}),{angle:t,stops:n,type:1}},Ye="closest-side",_e="farthest-side",We="closest-corner",ze="farthest-corner",qe="circle",Ze="ellipse",$e="cover",At="contain",et=function(A,e){var t=0,n=3,r=[],s=[];return de(e).forEach(function(e,o){var i=!0;if(0===o?i=e.reduce(function(A,e){if(ie(e))switch(e.value){case"center":return s.push(pe),!1;case"top":case"left":return s.push(he),!1;case"right":case"bottom":return s.push(fe),!1}else if(we(e)||ge(e))return s.push(e),!1;return A},i):1===o&&(i=e.reduce(function(A,e){if(ie(e))switch(e.value){case qe:return t=0,!1;case Ze:return t=1,!1;case At:case Ye:return n=0,!1;case _e:return n=1,!1;case We:return n=2,!1;case $e:case ze:return n=3,!1}else if(ge(e)||we(e))return Array.isArray(n)||(n=[]),n.push(e),!1;return A},i)),i){var a=Re(A,e);r.push(a)}}),{size:n,shape:t,stops:r,position:s,type:2}},tt=function(A,e){if(22===e.type){var t={url:e.value,type:0};return A.cache.addImage(e.value),t}if(18===e.type){var n=nt[e.name];if(void 0===n)throw new Error('Attempting to parse an unsupported image function "'+e.name+'"');return n(A,e.values)}throw new Error("Unsupported image type "+e.type)},nt={"linear-gradient":function(A,e){var t=Ee(180),n=[];return de(e).forEach(function(e,r){if(0===r){var s=e[0];if(20===s.type&&"to"===s.value)return void(t=He(e));if(be(s))return void(t=ye(0,s))}var o=Re(A,e);n.push(o)}),{angle:t,stops:n,type:1}},"-moz-linear-gradient":je,"-ms-linear-gradient":je,"-o-linear-gradient":je,"-webkit-linear-gradient":je,"radial-gradient":function(A,e){var t=0,n=3,r=[],s=[];return de(e).forEach(function(e,o){var i=!0;if(0===o){var a=!1;i=e.reduce(function(A,e){if(a)if(ie(e))switch(e.value){case"center":return s.push(pe),A;case"top":case"left":return s.push(he),A;case"right":case"bottom":return s.push(fe),A}else(we(e)||ge(e))&&s.push(e);else if(ie(e))switch(e.value){case qe:return t=0,!1;case Ze:return t=1,!1;case"at":return a=!0,!1;case Ye:return n=0,!1;case $e:case _e:return n=1,!1;case At:case We:return n=2,!1;case ze:return n=3,!1}else if(ge(e)||we(e))return Array.isArray(n)||(n=[]),n.push(e),!1;return A},i)}if(i){var c=Re(A,e);r.push(c)}}),{size:n,shape:t,stops:r,position:s,type:2}},"-moz-radial-gradient":et,"-ms-radial-gradient":et,"-o-radial-gradient":et,"-webkit-radial-gradient":et,"-webkit-gradient":function(A,e){var t=Ee(180),n=[],r=1;return de(e).forEach(function(e,t){var s=e[0];if(0===t){if(ie(s)&&"linear"===s.value)return void(r=1);if(ie(s)&&"radial"===s.value)return void(r=2)}if(18===s.type)if("from"===s.name){var o=ve(A,s.values[0]);n.push({stop:he,color:o})}else if("to"===s.name)o=ve(A,s.values[0]),n.push({stop:fe,color:o});else if("color-stop"===s.name){var i=s.values.filter(le);if(2===i.length){o=ve(A,i[1]);var a=i[0];oe(a)&&n.push({stop:{type:16,number:100*a.number,flags:a.flags},color:o})}}}),1===r?{angle:(t+Ee(180))%Ee(360),stops:n,type:r}:{size:3,shape:0,stops:n,position:[],type:r}}},rt={name:"background-image",initialValue:"none",type:1,prefix:!1,parse:function(A,e){if(0===e.length)return[];var t=e[0];return 20===t.type&&"none"===t.value?[]:e.filter(function(A){return le(A)&&function(A){return!(20===A.type&&"none"===A.value||18===A.type&&!nt[A.name])}(A)}).map(function(e){return tt(A,e)})}},st={name:"background-origin",initialValue:"border-box",prefix:!1,type:1,parse:function(A,e){return e.map(function(A){if(ie(A))switch(A.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},ot={name:"background-position",initialValue:"0% 0%",type:1,prefix:!1,parse:function(A,e){return de(e).map(function(A){return A.filter(we)}).map(Qe)}},it={name:"background-repeat",initialValue:"repeat",prefix:!1,type:1,parse:function(A,e){return de(e).map(function(A){return A.filter(ie).map(function(A){return A.value}).join(" ")}).map(at)}},at=function(A){switch(A){case"no-repeat":return 1;case"repeat-x":case"repeat no-repeat":return 2;case"repeat-y":case"no-repeat repeat":return 3;default:return 0}};!function(A){A.AUTO="auto",A.CONTAIN="contain",A.COVER="cover"}(Me||(Me={}));var ct,Bt={name:"background-size",initialValue:"0",prefix:!1,type:1,parse:function(A,e){return de(e).map(function(A){return A.filter(lt)})}},lt=function(A){return ie(A)||we(A)},dt=function(A){return{name:"border-"+A+"-color",initialValue:"transparent",prefix:!1,type:3,format:"color"}},ut=dt("top"),gt=dt("right"),wt=dt("bottom"),Qt=dt("left"),ht=function(A){return{name:"border-radius-"+A,initialValue:"0 0",prefix:!1,type:1,parse:function(A,e){return Qe(e.filter(we))}}},pt=ht("top-left"),ft=ht("top-right"),Ct=ht("bottom-right"),Ft=ht("bottom-left"),Ut=function(A){return{name:"border-"+A+"-style",initialValue:"solid",prefix:!1,type:2,parse:function(A,e){switch(e){case"none":return 0;case"dashed":return 2;case"dotted":return 3;case"double":return 4}return 1}}},mt=Ut("top"),yt=Ut("right"),bt=Ut("bottom"),Ht=Ut("left"),Et=function(A){return{name:"border-"+A+"-width",initialValue:"0",type:0,prefix:!1,parse:function(A,e){return se(e)?e.number:0}}},vt=Et("top"),It=Et("right"),Kt=Et("bottom"),Dt=Et("left"),Lt={name:"color",initialValue:"transparent",prefix:!1,type:3,format:"color"},xt={name:"direction",initialValue:"ltr",prefix:!1,type:2,parse:function(A,e){return"rtl"===e?1:0}},kt={name:"display",initialValue:"inline-block",prefix:!1,type:1,parse:function(A,e){return e.filter(ie).reduce(function(A,e){return A|Mt(e.value)},0)}},Mt=function(A){switch(A){case"block":case"-webkit-box":return 2;case"inline":return 4;case"run-in":return 8;case"flow":return 16;case"flow-root":return 32;case"table":return 64;case"flex":case"-webkit-flex":return 128;case"grid":case"-ms-grid":return 256;case"ruby":return 512;case"subgrid":return 1024;case"list-item":return 2048;case"table-row-group":return 4096;case"table-header-group":return 8192;case"table-footer-group":return 16384;case"table-row":return 32768;case"table-cell":return 65536;case"table-column-group":return 131072;case"table-column":return 262144;case"table-caption":return 524288;case"ruby-base":return 1048576;case"ruby-text":return 2097152;case"ruby-base-container":return 4194304;case"ruby-text-container":return 8388608;case"contents":return 16777216;case"inline-block":return 33554432;case"inline-list-item":return 67108864;case"inline-table":return 134217728;case"inline-flex":return 268435456;case"inline-grid":return 536870912}return 0},St={name:"float",initialValue:"none",prefix:!1,type:2,parse:function(A,e){switch(e){case"left":return 1;case"right":return 2;case"inline-start":return 3;case"inline-end":return 4}return 0}},Gt={name:"letter-spacing",initialValue:"0",prefix:!1,type:0,parse:function(A,e){return 20===e.type&&"normal"===e.value?0:17===e.type||15===e.type?e.number:0}};!function(A){A.NORMAL="normal",A.STRICT="strict"}(ct||(ct={}));var Tt,Ot={name:"line-break",initialValue:"normal",prefix:!1,type:2,parse:function(A,e){return"strict"===e?ct.STRICT:ct.NORMAL}},Vt={name:"line-height",initialValue:"normal",prefix:!1,type:4},Nt=function(A,e){return ie(A)&&"normal"===A.value?1.2*e:17===A.type?e*A.number:we(A)?Fe(A,e):e},Rt={name:"list-style-image",initialValue:"none",type:0,prefix:!1,parse:function(A,e){return 20===e.type&&"none"===e.value?null:tt(A,e)}},Pt={name:"list-style-position",initialValue:"outside",prefix:!1,type:2,parse:function(A,e){return"inside"===e?0:1}},Jt={name:"list-style-type",initialValue:"none",prefix:!1,type:2,parse:function(A,e){switch(e){case"disc":return 0;case"circle":return 1;case"square":return 2;case"decimal":return 3;case"cjk-decimal":return 4;case"decimal-leading-zero":return 5;case"lower-roman":return 6;case"upper-roman":return 7;case"lower-greek":return 8;case"lower-alpha":return 9;case"upper-alpha":return 10;case"arabic-indic":return 11;case"armenian":return 12;case"bengali":return 13;case"cambodian":return 14;case"cjk-earthly-branch":return 15;case"cjk-heavenly-stem":return 16;case"cjk-ideographic":return 17;case"devanagari":return 18;case"ethiopic-numeric":return 19;case"georgian":return 20;case"gujarati":return 21;case"gurmukhi":case"hebrew":return 22;case"hiragana":return 23;case"hiragana-iroha":return 24;case"japanese-formal":return 25;case"japanese-informal":return 26;case"kannada":return 27;case"katakana":return 28;case"katakana-iroha":return 29;case"khmer":return 30;case"korean-hangul-formal":return 31;case"korean-hanja-formal":return 32;case"korean-hanja-informal":return 33;case"lao":return 34;case"lower-armenian":return 35;case"malayalam":return 36;case"mongolian":return 37;case"myanmar":return 38;case"oriya":return 39;case"persian":return 40;case"simp-chinese-formal":return 41;case"simp-chinese-informal":return 42;case"tamil":return 43;case"telugu":return 44;case"thai":return 45;case"tibetan":return 46;case"trad-chinese-formal":return 47;case"trad-chinese-informal":return 48;case"upper-armenian":return 49;case"disclosure-open":return 50;case"disclosure-closed":return 51;default:return-1}}},Xt=function(A){return{name:"margin-"+A,initialValue:"0",prefix:!1,type:4}},jt=Xt("top"),Yt=Xt("right"),_t=Xt("bottom"),Wt=Xt("left"),zt={name:"overflow",initialValue:"visible",prefix:!1,type:1,parse:function(A,e){return e.filter(ie).map(function(A){switch(A.value){case"hidden":return 1;case"scroll":return 2;case"clip":return 3;case"auto":return 4;default:return 0}})}},qt={name:"overflow-wrap",initialValue:"normal",prefix:!1,type:2,parse:function(A,e){return"break-word"===e?"break-word":"normal"}},Zt=function(A){return{name:"padding-"+A,initialValue:"0",prefix:!1,type:3,format:"length-percentage"}},$t=Zt("top"),An=Zt("right"),en=Zt("bottom"),tn=Zt("left"),nn={name:"text-align",initialValue:"left",prefix:!1,type:2,parse:function(A,e){switch(e){case"right":return 2;case"center":case"justify":return 1;default:return 0}}},rn={name:"position",initialValue:"static",prefix:!1,type:2,parse:function(A,e){switch(e){case"relative":return 1;case"absolute":return 2;case"fixed":return 3;case"sticky":return 4}return 0}},sn={name:"text-shadow",initialValue:"none",type:1,prefix:!1,parse:function(A,e){return 1===e.length&&ce(e[0],"none")?[]:de(e).map(function(e){for(var t={color:Oe.TRANSPARENT,offsetX:he,offsetY:he,blur:he},n=0,r=0;r<e.length;r++){var s=e[r];ge(s)?(0===n?t.offsetX=s:1===n?t.offsetY=s:t.blur=s,n++):t.color=ve(A,s)}return t})}},on={name:"text-transform",initialValue:"none",prefix:!1,type:2,parse:function(A,e){switch(e){case"uppercase":return 2;case"lowercase":return 1;case"capitalize":return 3}return 0}},an={name:"transform",initialValue:"none",prefix:!0,type:0,parse:function(A,e){if(20===e.type&&"none"===e.value)return null;if(18===e.type){var t=cn[e.name];if(void 0===t)throw new Error('Attempting to parse an unsupported transform function "'+e.name+'"');return t(e.values)}return null}},cn={matrix:function(A){var e=A.filter(function(A){return 17===A.type}).map(function(A){return A.number});return 6===e.length?e:null},matrix3d:function(A){var e=A.filter(function(A){return 17===A.type}).map(function(A){return A.number}),t=e[0],n=e[1];e[2],e[3];var r=e[4],s=e[5];e[6],e[7],e[8],e[9],e[10],e[11];var o=e[12],i=e[13];return e[14],e[15],16===e.length?[t,n,r,s,o,i]:null}},Bn={type:16,number:50,flags:4},ln=[Bn,Bn],dn={name:"transform-origin",initialValue:"50% 50%",prefix:!0,type:1,parse:function(A,e){var t=e.filter(we);return 2!==t.length?ln:[t[0],t[1]]}},un={name:"visible",initialValue:"none",prefix:!1,type:2,parse:function(A,e){switch(e){case"hidden":return 1;case"collapse":return 2;default:return 0}}};!function(A){A.NORMAL="normal",A.BREAK_ALL="break-all",A.KEEP_ALL="keep-all"}(Tt||(Tt={}));for(var gn={name:"word-break",initialValue:"normal",prefix:!1,type:2,parse:function(A,e){switch(e){case"break-all":return Tt.BREAK_ALL;case"keep-all":return Tt.KEEP_ALL;default:return Tt.NORMAL}}},wn={name:"z-index",initialValue:"auto",prefix:!1,type:0,parse:function(A,e){if(20===e.type)return{auto:!0,order:0};if(oe(e))return{auto:!1,order:e.number};throw new Error("Invalid z-index number parsed")}},Qn=function(A,e){if(15===e.type)switch(e.unit.toLowerCase()){case"s":return 1e3*e.number;case"ms":return e.number}throw new Error("Unsupported time type")},hn={name:"opacity",initialValue:"1",type:0,prefix:!1,parse:function(A,e){return oe(e)?e.number:1}},pn={name:"text-decoration-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},fn={name:"text-decoration-line",initialValue:"none",prefix:!1,type:1,parse:function(A,e){return e.filter(ie).map(function(A){switch(A.value){case"underline":return 1;case"overline":return 2;case"line-through":return 3;case"none":return 4}return 0}).filter(function(A){return 0!==A})}},Cn={name:"font-family",initialValue:"",prefix:!1,type:1,parse:function(A,e){var t=[],n=[];return e.forEach(function(A){switch(A.type){case 20:case 0:t.push(A.value);break;case 17:t.push(A.number.toString());break;case 4:n.push(t.join(" ")),t.length=0}}),t.length&&n.push(t.join(" ")),n.map(function(A){return-1===A.indexOf(" ")?A:"'"+A+"'"})}},Fn={name:"font-size",initialValue:"0",prefix:!1,type:3,format:"length"},Un={name:"font-weight",initialValue:"normal",type:0,prefix:!1,parse:function(A,e){return oe(e)?e.number:ie(e)&&"bold"===e.value?700:400}},mn={name:"font-variant",initialValue:"none",type:1,prefix:!1,parse:function(A,e){return e.filter(ie).map(function(A){return A.value})}},yn={name:"font-style",initialValue:"normal",prefix:!1,type:2,parse:function(A,e){switch(e){case"oblique":return"oblique";case"italic":return"italic";default:return"normal"}}},bn=function(A,e){return 0!==(A&e)},Hn={name:"content",initialValue:"none",type:1,prefix:!1,parse:function(A,e){if(0===e.length)return[];var t=e[0];return 20===t.type&&"none"===t.value?[]:e}},En={name:"counter-increment",initialValue:"none",prefix:!0,type:1,parse:function(A,e){if(0===e.length)return null;var t=e[0];if(20===t.type&&"none"===t.value)return null;for(var n=[],r=e.filter(Be),s=0;s<r.length;s++){var o=r[s],i=r[s+1];if(20===o.type){var a=i&&oe(i)?i.number:1;n.push({counter:o.value,increment:a})}}return n}},vn={name:"counter-reset",initialValue:"none",prefix:!0,type:1,parse:function(A,e){if(0===e.length)return[];for(var t=[],n=e.filter(Be),r=0;r<n.length;r++){var s=n[r],o=n[r+1];if(ie(s)&&"none"!==s.value){var i=o&&oe(o)?o.number:0;t.push({counter:s.value,reset:i})}}return t}},In={name:"duration",initialValue:"0s",prefix:!1,type:1,parse:function(A,e){return e.filter(se).map(function(A){return Qn(0,A)})}},Kn={name:"quotes",initialValue:"none",prefix:!0,type:1,parse:function(A,e){if(0===e.length)return null;var t=e[0];if(20===t.type&&"none"===t.value)return null;var n=[],r=e.filter(ae);if(r.length%2!=0)return null;for(var s=0;s<r.length;s+=2){var o=r[s].value,i=r[s+1].value;n.push({open:o,close:i})}return n}},Dn=function(A,e,t){if(!A)return"";var n=A[Math.min(e,A.length-1)];return n?t?n.open:n.close:""},Ln={name:"box-shadow",initialValue:"none",type:1,prefix:!1,parse:function(A,e){return 1===e.length&&ce(e[0],"none")?[]:de(e).map(function(e){for(var t={color:255,offsetX:he,offsetY:he,blur:he,spread:he,inset:!1},n=0,r=0;r<e.length;r++){var s=e[r];ce(s,"inset")?t.inset=!0:ge(s)?(0===n?t.offsetX=s:1===n?t.offsetY=s:2===n?t.blur=s:t.spread=s,n++):t.color=ve(A,s)}return t})}},xn={name:"paint-order",initialValue:"normal",prefix:!1,type:1,parse:function(A,e){var t=[];return e.filter(ie).forEach(function(A){switch(A.value){case"stroke":t.push(1);break;case"fill":t.push(0);break;case"markers":t.push(2)}}),[0,1,2].forEach(function(A){-1===t.indexOf(A)&&t.push(A)}),t}},kn={name:"-webkit-text-stroke-color",initialValue:"currentcolor",prefix:!1,type:3,format:"color"},Mn={name:"-webkit-text-stroke-width",initialValue:"0",type:0,prefix:!1,parse:function(A,e){return se(e)?e.number:0}},Sn=function(){function A(A,e){var t,n;this.animationDuration=On(A,In,e.animationDuration),this.backgroundClip=On(A,Ve,e.backgroundClip),this.backgroundColor=On(A,Ne,e.backgroundColor),this.backgroundImage=On(A,rt,e.backgroundImage),this.backgroundOrigin=On(A,st,e.backgroundOrigin),this.backgroundPosition=On(A,ot,e.backgroundPosition),this.backgroundRepeat=On(A,it,e.backgroundRepeat),this.backgroundSize=On(A,Bt,e.backgroundSize),this.borderTopColor=On(A,ut,e.borderTopColor),this.borderRightColor=On(A,gt,e.borderRightColor),this.borderBottomColor=On(A,wt,e.borderBottomColor),this.borderLeftColor=On(A,Qt,e.borderLeftColor),this.borderTopLeftRadius=On(A,pt,e.borderTopLeftRadius),this.borderTopRightRadius=On(A,ft,e.borderTopRightRadius),this.borderBottomRightRadius=On(A,Ct,e.borderBottomRightRadius),this.borderBottomLeftRadius=On(A,Ft,e.borderBottomLeftRadius),this.borderTopStyle=On(A,mt,e.borderTopStyle),this.borderRightStyle=On(A,yt,e.borderRightStyle),this.borderBottomStyle=On(A,bt,e.borderBottomStyle),this.borderLeftStyle=On(A,Ht,e.borderLeftStyle),this.borderTopWidth=On(A,vt,e.borderTopWidth),this.borderRightWidth=On(A,It,e.borderRightWidth),this.borderBottomWidth=On(A,Kt,e.borderBottomWidth),this.borderLeftWidth=On(A,Dt,e.borderLeftWidth),this.boxShadow=On(A,Ln,e.boxShadow),this.color=On(A,Lt,e.color),this.direction=On(A,xt,e.direction),this.display=On(A,kt,e.display),this.float=On(A,St,e.cssFloat),this.fontFamily=On(A,Cn,e.fontFamily),this.fontSize=On(A,Fn,e.fontSize),this.fontStyle=On(A,yn,e.fontStyle),this.fontVariant=On(A,mn,e.fontVariant),this.fontWeight=On(A,Un,e.fontWeight),this.letterSpacing=On(A,Gt,e.letterSpacing),this.lineBreak=On(A,Ot,e.lineBreak),this.lineHeight=On(A,Vt,e.lineHeight),this.listStyleImage=On(A,Rt,e.listStyleImage),this.listStylePosition=On(A,Pt,e.listStylePosition),this.listStyleType=On(A,Jt,e.listStyleType),this.marginTop=On(A,jt,e.marginTop),this.marginRight=On(A,Yt,e.marginRight),this.marginBottom=On(A,_t,e.marginBottom),this.marginLeft=On(A,Wt,e.marginLeft),this.opacity=On(A,hn,e.opacity);var r=On(A,zt,e.overflow);this.overflowX=r[0],this.overflowY=r[r.length>1?1:0],this.overflowWrap=On(A,qt,e.overflowWrap),this.paddingTop=On(A,$t,e.paddingTop),this.paddingRight=On(A,An,e.paddingRight),this.paddingBottom=On(A,en,e.paddingBottom),this.paddingLeft=On(A,tn,e.paddingLeft),this.paintOrder=On(A,xn,e.paintOrder),this.position=On(A,rn,e.position),this.textAlign=On(A,nn,e.textAlign),this.textDecorationColor=On(A,pn,null!==(t=e.textDecorationColor)&&void 0!==t?t:e.color),this.textDecorationLine=On(A,fn,null!==(n=e.textDecorationLine)&&void 0!==n?n:e.textDecoration),this.textShadow=On(A,sn,e.textShadow),this.textTransform=On(A,on,e.textTransform),this.transform=On(A,an,e.transform),this.transformOrigin=On(A,dn,e.transformOrigin),this.visibility=On(A,un,e.visibility),this.webkitTextStrokeColor=On(A,kn,e.webkitTextStrokeColor),this.webkitTextStrokeWidth=On(A,Mn,e.webkitTextStrokeWidth),this.wordBreak=On(A,gn,e.wordBreak),this.zIndex=On(A,wn,e.zIndex)}return A.prototype.isVisible=function(){return this.display>0&&this.opacity>0&&0===this.visibility},A.prototype.isTransparent=function(){return Ie(this.backgroundColor)},A.prototype.isTransformed=function(){return null!==this.transform},A.prototype.isPositioned=function(){return 0!==this.position},A.prototype.isPositionedWithZIndex=function(){return this.isPositioned()&&!this.zIndex.auto},A.prototype.isFloating=function(){return 0!==this.float},A.prototype.isInlineLevel=function(){return bn(this.display,4)||bn(this.display,33554432)||bn(this.display,268435456)||bn(this.display,536870912)||bn(this.display,67108864)||bn(this.display,134217728)},A}(),Gn=function(A,e){this.content=On(A,Hn,e.content),this.quotes=On(A,Kn,e.quotes)},Tn=function(A,e){this.counterIncrement=On(A,En,e.counterIncrement),this.counterReset=On(A,vn,e.counterReset)},On=function(A,e,t){var n=new ne,r=null!=t?t.toString():e.initialValue;n.write(r);var s=new re(n.read());switch(e.type){case 2:var o=s.parseComponentValue();return e.parse(A,ie(o)?o.value:e.initialValue);case 0:return e.parse(A,s.parseComponentValue());case 1:return e.parse(A,s.parseComponentValues());case 4:return s.parseComponentValue();case 3:switch(e.format){case"angle":return ye(0,s.parseComponentValue());case"color":return ve(A,s.parseComponentValue());case"image":return tt(A,s.parseComponentValue());case"length":var i=s.parseComponentValue();return ge(i)?i:he;case"length-percentage":var a=s.parseComponentValue();return we(a)?a:he;case"time":return Qn(0,s.parseComponentValue())}}},Vn=function(A,e){var t=function(A){switch(A.getAttribute("data-html2canvas-debug")){case"all":return 1;case"clone":return 2;case"parse":return 3;case"render":return 4;default:return 0}}(A);return 1===t||e===t},Nn=function(A,e){this.context=A,this.textNodes=[],this.elements=[],this.flags=0,Vn(e,3),this.styles=new Sn(A,window.getComputedStyle(e,null)),Or(e)&&(this.styles.animationDuration.some(function(A){return A>0})&&(e.style.animationDuration="0s"),null!==this.styles.transform&&(e.style.transform="none")),this.bounds=f(this.context,e),Vn(e,4)&&(this.flags|=16)},Rn="undefined"==typeof Uint8Array?[]:new Uint8Array(256),Pn=0;Pn<64;Pn++)Rn["ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charCodeAt(Pn)]=Pn;for(var Jn=function(A,e,t){return A.slice?A.slice(e,t):new Uint16Array(Array.prototype.slice.call(A,e,t))},Xn=function(){function A(A,e,t,n,r,s){this.initialValue=A,this.errorValue=e,this.highStart=t,this.highValueIndex=n,this.index=r,this.data=s}return A.prototype.get=function(A){var e;if(A>=0){if(A<55296||A>56319&&A<=65535)return e=((e=this.index[A>>5])<<2)+(31&A),this.data[e];if(A<=65535)return e=((e=this.index[2048+(A-55296>>5)])<<2)+(31&A),this.data[e];if(A<this.highStart)return e=2080+(A>>11),e=this.index[e],e+=A>>5&63,e=((e=this.index[e])<<2)+(31&A),this.data[e];if(A<=1114111)return this.data[this.highValueIndex]}return this.errorValue},A}(),jn="undefined"==typeof Uint8Array?[]:new Uint8Array(256),Yn=0;Yn<64;Yn++)jn["ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charCodeAt(Yn)]=Yn;var _n,Wn=8,zn=9,qn=11,Zn=12,$n=function(){for(var A=[],e=0;e<arguments.length;e++)A[e]=arguments[e];if(String.fromCodePoint)return String.fromCodePoint.apply(String,A);var t=A.length;if(!t)return"";for(var n=[],r=-1,s="";++r<t;){var o=A[r];o<=65535?n.push(o):(o-=65536,n.push(55296+(o>>10),o%1024+56320)),(r+1===t||n.length>16384)&&(s+=String.fromCharCode.apply(String,n),n.length=0)}return s},Ar=function(){var A,e,t,n=function(A){var e,t,n,r,s,o=19617,i=0;"="===A[26155]&&(o--,"="===A[26154]&&o--);var a="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof Uint8Array&&void 0!==Uint8Array.prototype.slice?new ArrayBuffer(o):new Array(o),c=Array.isArray(a)?a:new Uint8Array(a);for(e=0;e<26156;e+=4)t=Rn[A.charCodeAt(e)],n=Rn[A.charCodeAt(e+1)],r=Rn[A.charCodeAt(e+2)],s=Rn[A.charCodeAt(e+3)],c[i++]=t<<2|n>>4,c[i++]=(15&n)<<4|r>>2,c[i++]=(3&r)<<6|63&s;return a}("AAAAAAAAAAAAEA4AGBkAAFAaAAACAAAAAAAIABAAGAAwADgACAAQAAgAEAAIABAACAAQAAgAEAAIABAACAAQAAgAEAAIABAAQABIAEQATAAIABAACAAQAAgAEAAIABAAVABcAAgAEAAIABAACAAQAGAAaABwAHgAgACIAI4AlgAIABAAmwCjAKgAsAC2AL4AvQDFAMoA0gBPAVYBWgEIAAgACACMANoAYgFkAWwBdAF8AX0BhQGNAZUBlgGeAaMBlQGWAasBswF8AbsBwwF0AcsBYwHTAQgA2wG/AOMBdAF8AekB8QF0AfkB+wHiAHQBfAEIAAMC5gQIAAsCEgIIAAgAFgIeAggAIgIpAggAMQI5AkACygEIAAgASAJQAlgCYAIIAAgACAAKBQoFCgUTBRMFGQUrBSsFCAAIAAgACAAIAAgACAAIAAgACABdAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABoAmgCrwGvAQgAbgJ2AggAHgEIAAgACADnAXsCCAAIAAgAgwIIAAgACAAIAAgACACKAggAkQKZAggAPADJAAgAoQKkAqwCsgK6AsICCADJAggA0AIIAAgACAAIANYC3gIIAAgACAAIAAgACABAAOYCCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAkASoB+QIEAAgACAA8AEMCCABCBQgACABJBVAFCAAIAAgACAAIAAgACAAIAAgACABTBVoFCAAIAFoFCABfBWUFCAAIAAgACAAIAAgAbQUIAAgACAAIAAgACABzBXsFfQWFBYoFigWKBZEFigWKBYoFmAWfBaYFrgWxBbkFCAAIAAgACAAIAAgACAAIAAgACAAIAMEFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAMgFCADQBQgACAAIAAgACAAIAAgACAAIAAgACAAIAO4CCAAIAAgAiQAIAAgACABAAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAD0AggACAD8AggACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIANYFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAMDvwAIAAgAJAIIAAgACAAIAAgACAAIAAgACwMTAwgACAB9BOsEGwMjAwgAKwMyAwsFYgE3A/MEPwMIAEUDTQNRAwgAWQOsAGEDCAAIAAgACAAIAAgACABpAzQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFIQUoBSwFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABtAwgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABMAEwACAAIAAgACAAIABgACAAIAAgACAC/AAgACAAyAQgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACAAIAAwAAgACAAIAAgACAAIAAgACAAIAAAARABIAAgACAAIABQASAAIAAgAIABwAEAAjgCIABsAqAC2AL0AigDQAtwC+IJIQqVAZUBWQqVAZUBlQGVAZUBlQGrC5UBlQGVAZUBlQGVAZUBlQGVAXsKlQGVAbAK6wsrDGUMpQzlDJUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAfAKAAuZA64AtwCJALoC6ADwAAgAuACgA/oEpgO6AqsD+AAIAAgAswMIAAgACAAIAIkAuwP5AfsBwwPLAwgACAAIAAgACADRA9kDCAAIAOED6QMIAAgACAAIAAgACADuA/YDCAAIAP4DyQAIAAgABgQIAAgAXQAOBAgACAAIAAgACAAIABMECAAIAAgACAAIAAgACAD8AAQBCAAIAAgAGgQiBCoECAExBAgAEAEIAAgACAAIAAgACAAIAAgACAAIAAgACAA4BAgACABABEYECAAIAAgATAQYAQgAVAQIAAgACAAIAAgACAAIAAgACAAIAFoECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAOQEIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAB+BAcACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAEABhgSMBAgACAAIAAgAlAQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAwAEAAQABAADAAMAAwADAAQABAAEAAQABAAEAAQABHATAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAdQMIAAgACAAIAAgACAAIAMkACAAIAAgAfQMIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACFA4kDCAAIAAgACAAIAOcBCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAIcDCAAIAAgACAAIAAgACAAIAAgACAAIAJEDCAAIAAgACADFAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABgBAgAZgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAbAQCBXIECAAIAHkECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABAAJwEQACjBKoEsgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAC6BMIECAAIAAgACAAIAAgACABmBAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAxwQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAGYECAAIAAgAzgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBd0FXwUIAOIF6gXxBYoF3gT5BQAGCAaKBYoFigWKBYoFigWKBYoFigWKBYoFigXWBIoFigWKBYoFigWKBYoFigWKBYsFEAaKBYoFigWKBYoFigWKBRQGCACKBYoFigWKBQgACAAIANEECAAIABgGigUgBggAJgYIAC4GMwaKBYoF0wQ3Bj4GigWKBYoFigWKBYoFigWKBYoFigWKBYoFigUIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWLBf///////wQABAAEAAQABAAEAAQABAAEAAQAAwAEAAQAAgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAQADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAUAAAAFAAUAAAAFAAUAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUAAQAAAAUABQAFAAUABQAFAAAAAAAFAAUAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAFAAUAAQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUABQAFAAAABwAHAAcAAAAHAAcABwAFAAEAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAcABwAFAAUAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAAAAQABAAAAAAAAAAAAAAAFAAUABQAFAAAABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABwAHAAcAAAAHAAcAAAAAAAUABQAHAAUAAQAHAAEABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABwABAAUABQAFAAUAAAAAAAAAAAAAAAEAAQABAAEAAQABAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABQANAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEAAQABAAEAAQABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAABQAHAAUABQAFAAAAAAAAAAcABQAFAAUABQAFAAQABAAEAAQABAAEAAQABAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUAAAAFAAUABQAFAAUAAAAFAAUABQAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAAAAAAAAAAAAUABQAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAUAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABwAHAAcABwAFAAcABwAAAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAUABwAHAAUABQAFAAUAAAAAAAcABwAAAAAABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAABQAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAABwAHAAcABQAFAAAAAAAAAAAABQAFAAAAAAAFAAUABQAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAFAAUABQAFAAUAAAAFAAUABwAAAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAFAAUABwAFAAUABQAFAAAAAAAHAAcAAAAAAAcABwAFAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABwAAAAAAAAAHAAcABwAAAAcABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAABQAHAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAcABwAAAAUABQAFAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABQAHAAcABQAHAAcAAAAFAAcABwAAAAcABwAFAAUAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAFAAcABwAFAAUABQAAAAUAAAAHAAcABwAHAAcABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAHAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAABwAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAUAAAAFAAAAAAAAAAAABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUABQAFAAUAAAAFAAUAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABwAFAAUABQAFAAUABQAAAAUABQAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABQAFAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABQAFAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAHAAUABQAFAAUABQAFAAUABwAHAAcABwAHAAcABwAHAAUABwAHAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABwAHAAcABwAFAAUABwAHAAcAAAAAAAAAAAAHAAcABQAHAAcABwAHAAcABwAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAHAAUABQAFAAUABQAFAAUAAAAFAAAABQAAAAAABQAFAAUABQAFAAUABQAFAAcABwAHAAcABwAHAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAUABQAFAAUABQAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABwAFAAcABwAHAAcABwAFAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAUABQAFAAUABwAHAAUABQAHAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABQAFAAcABwAHAAUABwAFAAUABQAHAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAUABQAFAAUABQAFAAUABQAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAcABQAFAAUABQAFAAUABQAAAAAAAAAAAAUAAAAAAAAAAAAAAAAABQAAAAAABwAFAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUAAAAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAABQAAAAAAAAAFAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAUABQAHAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAHAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABwAFAAUABQAFAAcABwAFAAUABwAHAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAcABwAFAAUABwAHAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAFAAUABQAAAAAABQAFAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAFAAcABwAAAAAAAAAAAAAABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAFAAcABwAFAAcABwAAAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAFAAUABQAAAAUABQAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABwAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABQAFAAUABQAFAAUABQAFAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAHAAcABQAHAAUABQAAAAAAAAAAAAAAAAAFAAAABwAHAAcABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAcABwAAAAAABwAHAAAAAAAHAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABwAHAAUABQAFAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABQAFAAUABQAFAAUABwAFAAcABwAFAAcABQAFAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABQAFAAUABQAAAAAABwAHAAcABwAFAAUABwAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAHAAUABQAFAAUABQAFAAUABQAHAAcABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAFAAcABwAFAAUABQAFAAUABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAcABwAFAAUABQAFAAcABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABQAHAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAAAAAAFAAUABwAHAAcABwAFAAAAAAAAAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABwAHAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAHAAUABQAFAAUABQAFAAUABwAFAAUABwAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAAAAAAAABQAAAAUABQAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAHAAcAAAAFAAUAAAAHAAcABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAAAAAAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAUABQAFAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAABQAFAAUABQAFAAUABQAAAAUABQAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAFAAUABQAFAAUADgAOAA4ADgAOAA4ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAAAAAAAAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAMAAwADAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkAAAAAAAAAAAAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAAAAAAAAAAAAsADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwACwAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAADgAOAA4AAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAAAA4ADgAOAA4ADgAOAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAA4AAAAOAAAAAAAAAAAAAAAAAA4AAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAADgAAAAAAAAAAAA4AAAAOAAAAAAAAAAAADgAOAA4AAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4AAAAAAA4ADgAOAA4ADgAOAA4ADgAOAAAADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAA="),r=Array.isArray(n)?function(A){for(var e=A.length,t=[],n=0;n<e;n+=4)t.push(A[n+3]<<24|A[n+2]<<16|A[n+1]<<8|A[n]);return t}(n):new Uint32Array(n),s=Array.isArray(n)?function(A){for(var e=A.length,t=[],n=0;n<e;n+=2)t.push(A[n+1]<<8|A[n]);return t}(n):new Uint16Array(n),o=Jn(s,12,r[4]/2),i=2===r[5]?Jn(s,(24+r[4])/2):(A=r,e=Math.ceil((24+r[4])/4),A.slice?A.slice(e,t):new Uint32Array(Array.prototype.slice.call(A,e,t)));return new Xn(r[0],r[1],r[2],r[3],o,i)}(),er="×",tr=function(A){return Ar.get(A)},nr=function(A,e,t){var n=t-2,r=e[n],s=e[t-1],o=e[t];if(2===s&&3===o)return er;if(2===s||3===s||4===s)return"÷";if(2===o||3===o||4===o)return"÷";if(s===Wn&&-1!==[Wn,zn,qn,Zn].indexOf(o))return er;if(!(s!==qn&&s!==zn||o!==zn&&10!==o))return er;if((s===Zn||10===s)&&10===o)return er;if(13===o||5===o)return er;if(7===o)return er;if(1===s)return er;if(13===s&&14===o){for(;5===r;)r=e[--n];if(14===r)return er}if(15===s&&15===o){for(var i=0;15===r;)i++,r=e[--n];if(i%2==0)return er}return"÷"},rr=function(A){var e=function(A){for(var e=[],t=0,n=A.length;t<n;){var r=A.charCodeAt(t++);if(r>=55296&&r<=56319&&t<n){var s=A.charCodeAt(t++);56320==(64512&s)?e.push(((1023&r)<<10)+(1023&s)+65536):(e.push(r),t--)}else e.push(r)}return e}(A),t=e.length,n=0,r=0,s=e.map(tr);return{next:function(){if(n>=t)return{done:!0,value:null};for(var A=er;n<t&&(A=nr(0,s,++n))===er;);if(A!==er||n===t){var o=$n.apply(null,e.slice(r,n));return r=n,{value:o,done:!1}}return{done:!0,value:null}}}},sr=function(A){return 0===A[0]&&255===A[1]&&0===A[2]&&255===A[3]},or=function(A,e,t,n,r){var s="http://www.w3.org/2000/svg",o=document.createElementNS(s,"svg"),i=document.createElementNS(s,"foreignObject");return o.setAttributeNS(null,"width",A.toString()),o.setAttributeNS(null,"height",e.toString()),i.setAttributeNS(null,"width","100%"),i.setAttributeNS(null,"height","100%"),i.setAttributeNS(null,"x",t.toString()),i.setAttributeNS(null,"y",n.toString()),i.setAttributeNS(null,"externalResourcesRequired","true"),o.appendChild(i),i.appendChild(r),o},ir=function(A){return new Promise(function(e,t){var n=new Image;n.onload=function(){return e(n)},n.onerror=t,n.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent((new XMLSerializer).serializeToString(A))})},ar={get SUPPORT_RANGE_BOUNDS(){var A=function(A){if(A.createRange){var e=A.createRange();if(e.getBoundingClientRect){var t=A.createElement("boundtest");t.style.height="123px",t.style.display="block",A.body.appendChild(t),e.selectNode(t);var n=e.getBoundingClientRect(),r=Math.round(n.height);if(A.body.removeChild(t),123===r)return!0}}return!1}(document);return Object.defineProperty(ar,"SUPPORT_RANGE_BOUNDS",{value:A}),A},get SUPPORT_WORD_BREAKING(){var A=ar.SUPPORT_RANGE_BOUNDS&&function(A){var e=A.createElement("boundtest");e.style.width="50px",e.style.display="block",e.style.fontSize="12px",e.style.letterSpacing="0px",e.style.wordSpacing="0px",A.body.appendChild(e);var t=A.createRange();e.innerHTML="function"==typeof"".repeat?"👨".repeat(10):"";var n=e.firstChild,r=C(n.data).map(function(A){return F(A)}),s=0,o={},i=r.every(function(A,e){t.setStart(n,s),t.setEnd(n,s+A.length);var r=t.getBoundingClientRect();s+=A.length;var i=r.x>o.x||r.y>o.y;return o=r,0===e||i});return A.body.removeChild(e),i}(document);return Object.defineProperty(ar,"SUPPORT_WORD_BREAKING",{value:A}),A},get SUPPORT_SVG_DRAWING(){var A=function(A){var e=new Image,t=A.createElement("canvas"),n=t.getContext("2d");if(!n)return!1;e.src="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg'></svg>";try{n.drawImage(e,0,0),t.toDataURL()}catch(A){return!1}return!0}(document);return Object.defineProperty(ar,"SUPPORT_SVG_DRAWING",{value:A}),A},get SUPPORT_FOREIGNOBJECT_DRAWING(){var A="function"==typeof Array.from&&"function"==typeof window.fetch?function(A){var e=A.createElement("canvas"),t=100;e.width=t,e.height=t;var n=e.getContext("2d");if(!n)return Promise.reject(!1);n.fillStyle="rgb(0, 255, 0)",n.fillRect(0,0,t,t);var r=new Image,s=e.toDataURL();r.src=s;var o=or(t,t,0,0,r);return n.fillStyle="red",n.fillRect(0,0,t,t),ir(o).then(function(e){n.drawImage(e,0,0);var r=n.getImageData(0,0,t,t).data;n.fillStyle="red",n.fillRect(0,0,t,t);var o=A.createElement("div");return o.style.backgroundImage="url("+s+")",o.style.height=t+"px",sr(r)?ir(or(t,t,0,0,o)):Promise.reject(!1)}).then(function(A){return n.drawImage(A,0,0),sr(n.getImageData(0,0,t,t).data)}).catch(function(){return!1})}(document):Promise.resolve(!1);return Object.defineProperty(ar,"SUPPORT_FOREIGNOBJECT_DRAWING",{value:A}),A},get SUPPORT_CORS_IMAGES(){var A=void 0!==(new Image).crossOrigin;return Object.defineProperty(ar,"SUPPORT_CORS_IMAGES",{value:A}),A},get SUPPORT_RESPONSE_TYPE(){var A="string"==typeof(new XMLHttpRequest).responseType;return Object.defineProperty(ar,"SUPPORT_RESPONSE_TYPE",{value:A}),A},get SUPPORT_CORS_XHR(){var A="withCredentials"in new XMLHttpRequest;return Object.defineProperty(ar,"SUPPORT_CORS_XHR",{value:A}),A},get SUPPORT_NATIVE_TEXT_SEGMENTATION(){var A=!("undefined"==typeof Intl||!Intl.Segmenter);return Object.defineProperty(ar,"SUPPORT_NATIVE_TEXT_SEGMENTATION",{value:A}),A}},cr=function(A,e){this.text=A,this.bounds=e},Br=function(A,e,t){var n=A.ownerDocument;if(!n)throw new Error("Node has no owner document");var r=n.createRange();return r.setStart(A,e),r.setEnd(A,e+t),r},lr=function(A){if(ar.SUPPORT_NATIVE_TEXT_SEGMENTATION){var e=new Intl.Segmenter(void 0,{granularity:"grapheme"});return Array.from(e.segment(A)).map(function(A){return A.segment})}return function(A){for(var e,t=rr(A),n=[];!(e=t.next()).done;)e.value&&n.push(e.value.slice());return n}(A)},dr=[32,160,4961,65792,65793,4153,4241],ur=function(A,e,t){this.text=gr(e.data,t.textTransform),this.textBounds=function(A,e,t,n){var r=function(A,e){return 0!==e.letterSpacing?lr(A):function(A,e){if(ar.SUPPORT_NATIVE_TEXT_SEGMENTATION){var t=new Intl.Segmenter(void 0,{granularity:"word"});return Array.from(t.segment(A)).map(function(A){return A.segment})}return function(A,e){for(var t,n=function(A,e){var t=C(A),n=function(A,e){e||(e={lineBreak:"normal",wordBreak:"normal"});var t=function(A,e){void 0===e&&(e="strict");var t=[],n=[],r=[];return A.forEach(function(A,s){var o=lA.get(A);if(o>50?(r.push(!0),o-=50):r.push(!1),-1!==["normal","auto","loose"].indexOf(e)&&-1!==[8208,8211,12316,12448].indexOf(A))return n.push(s),t.push(16);if(4===o||11===o){if(0===s)return n.push(s),t.push(Z);var i=t[s-1];return-1===QA.indexOf(i)?(n.push(n[s-1]),t.push(i)):(n.push(s),t.push(Z))}return n.push(s),31===o?t.push("strict"===e?X:nA):o===iA||29===o?t.push(Z):43===o?A>=131072&&A<=196605||A>=196608&&A<=262141?t.push(nA):t.push(Z):void t.push(o)}),[n,t,r]}(A,e.lineBreak),n=t[0],r=t[1],s=t[2];"break-all"!==e.wordBreak&&"break-word"!==e.wordBreak||(r=r.map(function(A){return-1!==[_,Z,iA].indexOf(A)?nA:A}));var o="keep-all"===e.wordBreak?s.map(function(e,t){return e&&A[t]>=19968&&A[t]<=40959}):void 0;return[n,r,o]}(t,e),r=n[0],s=n[1],o=n[2],i=t.length,a=0,c=0;return{next:function(){if(c>=i)return{done:!0,value:null};for(var A=cA;c<i&&(A=FA(t,s,r,++c,o))===cA;);if(A!==cA||c===i){var e=new UA(t,A,a,c);return a=c,{value:e,done:!1}}return{done:!0,value:null}}}}(A,{lineBreak:e.lineBreak,wordBreak:"break-word"===e.overflowWrap?"break-word":e.wordBreak}),r=[],s=function(){if(t.value){var A=t.value.slice(),e=C(A),n="";e.forEach(function(A){-1===dr.indexOf(A)?n+=F(A):(n.length&&r.push(n),r.push(F(A)),n="")}),n.length&&r.push(n)}};!(t=n.next()).done;)s();return r}(A,e)}(A,e)}(e,t),s=[],o=0;return r.forEach(function(e){if(t.textDecorationLine.length||e.trim().length>0)if(ar.SUPPORT_RANGE_BOUNDS){var r=Br(n,o,e.length).getClientRects();if(r.length>1){var i=lr(e),a=0;i.forEach(function(e){s.push(new cr(e,p.fromDOMRectList(A,Br(n,a+o,e.length).getClientRects()))),a+=e.length})}else s.push(new cr(e,p.fromDOMRectList(A,r)))}else{var c=n.splitText(e.length);s.push(new cr(e,function(A,e){var t=e.ownerDocument;if(t){var n=t.createElement("html2canvaswrapper");n.appendChild(e.cloneNode(!0));var r=e.parentNode;if(r){r.replaceChild(n,e);var s=f(A,n);return n.firstChild&&r.replaceChild(n.firstChild,n),s}}return p.EMPTY}(A,n))),n=c}else ar.SUPPORT_RANGE_BOUNDS||(n=n.splitText(e.length));o+=e.length}),s}(A,this.text,t,e)},gr=function(A,e){switch(e){case 1:return A.toLowerCase();case 3:return A.replace(wr,Qr);case 2:return A.toUpperCase();default:return A}},wr=/(^|\s|:|-|\(|\))([a-z])/g,Qr=function(A,e,t){return A.length>0?e+t.toUpperCase():A},hr=function(A){function e(e,t){var n=A.call(this,e,t)||this;return n.src=t.currentSrc||t.src,n.intrinsicWidth=t.naturalWidth,n.intrinsicHeight=t.naturalHeight,n.context.cache.addImage(n.src),n}return g(e,A),e}(Nn),pr=function(A){function e(e,t){var n=A.call(this,e,t)||this;return n.canvas=t,n.intrinsicWidth=t.width,n.intrinsicHeight=t.height,n}return g(e,A),e}(Nn),fr=function(A){function e(e,t){var n=A.call(this,e,t)||this,r=new XMLSerializer,s=f(e,t);return t.setAttribute("width",s.width+"px"),t.setAttribute("height",s.height+"px"),n.svg="data:image/svg+xml,"+encodeURIComponent(r.serializeToString(t)),n.intrinsicWidth=t.width.baseVal.value,n.intrinsicHeight=t.height.baseVal.value,n.context.cache.addImage(n.svg),n}return g(e,A),e}(Nn),Cr=function(A){function e(e,t){var n=A.call(this,e,t)||this;return n.value=t.value,n}return g(e,A),e}(Nn),Fr=function(A){function e(e,t){var n=A.call(this,e,t)||this;return n.start=t.start,n.reversed="boolean"==typeof t.reversed&&!0===t.reversed,n}return g(e,A),e}(Nn),Ur=[{type:15,flags:0,unit:"px",number:3}],mr=[{type:16,flags:0,number:50}],yr="checkbox",br="radio",Hr=707406591,Er=function(A){function e(e,t){var n,r,s,o=A.call(this,e,t)||this;switch(o.type=t.type.toLowerCase(),o.checked=t.checked,o.value=0===(r="password"===(n=t).type?new Array(n.value.length+1).join("•"):n.value).length?n.placeholder||"":r,o.type!==yr&&o.type!==br||(o.styles.backgroundColor=3739148031,o.styles.borderTopColor=o.styles.borderRightColor=o.styles.borderBottomColor=o.styles.borderLeftColor=2779096575,o.styles.borderTopWidth=o.styles.borderRightWidth=o.styles.borderBottomWidth=o.styles.borderLeftWidth=1,o.styles.borderTopStyle=o.styles.borderRightStyle=o.styles.borderBottomStyle=o.styles.borderLeftStyle=1,o.styles.backgroundClip=[0],o.styles.backgroundOrigin=[0],o.bounds=(s=o.bounds).width>s.height?new p(s.left+(s.width-s.height)/2,s.top,s.height,s.height):s.width<s.height?new p(s.left,s.top+(s.height-s.width)/2,s.width,s.width):s),o.type){case yr:o.styles.borderTopRightRadius=o.styles.borderTopLeftRadius=o.styles.borderBottomRightRadius=o.styles.borderBottomLeftRadius=Ur;break;case br:o.styles.borderTopRightRadius=o.styles.borderTopLeftRadius=o.styles.borderBottomRightRadius=o.styles.borderBottomLeftRadius=mr}return o}return g(e,A),e}(Nn),vr=function(A){function e(e,t){var n=A.call(this,e,t)||this,r=t.options[t.selectedIndex||0];return n.value=r&&r.text||"",n}return g(e,A),e}(Nn),Ir=function(A){function e(e,t){var n=A.call(this,e,t)||this;return n.value=t.value,n}return g(e,A),e}(Nn),Kr=function(A){function e(e,t){var n=A.call(this,e,t)||this;n.src=t.src,n.width=parseInt(t.width,10)||0,n.height=parseInt(t.height,10)||0,n.backgroundColor=n.styles.backgroundColor;try{if(t.contentWindow&&t.contentWindow.document&&t.contentWindow.document.documentElement){n.tree=kr(e,t.contentWindow.document.documentElement);var r=t.contentWindow.document.documentElement?Te(e,getComputedStyle(t.contentWindow.document.documentElement).backgroundColor):Oe.TRANSPARENT,s=t.contentWindow.document.body?Te(e,getComputedStyle(t.contentWindow.document.body).backgroundColor):Oe.TRANSPARENT;n.backgroundColor=Ie(r)?Ie(s)?n.styles.backgroundColor:s:r}}catch(A){}return n}return g(e,A),e}(Nn),Dr=["OL","UL","MENU"],Lr=function(A,e,t,n){for(var r=e.firstChild,s=void 0;r;r=s)if(s=r.nextSibling,Gr(r)&&r.data.trim().length>0)t.textNodes.push(new ur(A,r,t.styles));else if(Tr(r))if($r(r)&&r.assignedNodes)r.assignedNodes().forEach(function(e){return Lr(A,e,t,n)});else{var o=xr(A,r);o.styles.isVisible()&&(Mr(r,o,n)?o.flags|=4:Sr(o.styles)&&(o.flags|=2),-1!==Dr.indexOf(r.tagName)&&(o.flags|=8),t.elements.push(o),r.slot,r.shadowRoot?Lr(A,r.shadowRoot,o,n):qr(r)||Jr(r)||Zr(r)||Lr(A,r,o,n))}},xr=function(A,e){return _r(e)?new hr(A,e):jr(e)?new pr(A,e):Jr(e)?new fr(A,e):Nr(e)?new Cr(A,e):Rr(e)?new Fr(A,e):Pr(e)?new Er(A,e):Zr(e)?new vr(A,e):qr(e)?new Ir(A,e):Wr(e)?new Kr(A,e):new Nn(A,e)},kr=function(A,e){var t=xr(A,e);return t.flags|=4,Lr(A,e,t,t),t},Mr=function(A,e,t){return e.styles.isPositionedWithZIndex()||e.styles.opacity<1||e.styles.isTransformed()||Xr(A)&&t.styles.isTransparent()},Sr=function(A){return A.isPositioned()||A.isFloating()},Gr=function(A){return A.nodeType===Node.TEXT_NODE},Tr=function(A){return A.nodeType===Node.ELEMENT_NODE},Or=function(A){return Tr(A)&&void 0!==A.style&&!Vr(A)},Vr=function(A){return"object"==typeof A.className},Nr=function(A){return"LI"===A.tagName},Rr=function(A){return"OL"===A.tagName},Pr=function(A){return"INPUT"===A.tagName},Jr=function(A){return"svg"===A.tagName},Xr=function(A){return"BODY"===A.tagName},jr=function(A){return"CANVAS"===A.tagName},Yr=function(A){return"VIDEO"===A.tagName},_r=function(A){return"IMG"===A.tagName},Wr=function(A){return"IFRAME"===A.tagName},zr=function(A){return"STYLE"===A.tagName},qr=function(A){return"TEXTAREA"===A.tagName},Zr=function(A){return"SELECT"===A.tagName},$r=function(A){return"SLOT"===A.tagName},As=function(A){return A.tagName.indexOf("-")>0},es=function(){function A(){this.counters={}}return A.prototype.getCounterValue=function(A){var e=this.counters[A];return e&&e.length?e[e.length-1]:1},A.prototype.getCounterValues=function(A){return this.counters[A]||[]},A.prototype.pop=function(A){var e=this;A.forEach(function(A){return e.counters[A].pop()})},A.prototype.parse=function(A){var e=this,t=A.counterIncrement,n=A.counterReset,r=!0;null!==t&&t.forEach(function(A){var t=e.counters[A.counter];t&&0!==A.increment&&(r=!1,t.length||t.push(1),t[Math.max(0,t.length-1)]+=A.increment)});var s=[];return r&&n.forEach(function(A){var t=e.counters[A.counter];s.push(A.counter),t||(t=e.counters[A.counter]=[]),t.push(A.reset)}),s},A}(),ts={integers:[1e3,900,500,400,100,90,50,40,10,9,5,4,1],values:["M","CM","D","CD","C","XC","L","XL","X","IX","V","IV","I"]},ns={integers:[9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["Ք","Փ","Ւ","Ց","Ր","Տ","Վ","Ս","Ռ","Ջ","Պ","Չ","Ո","Շ","Ն","Յ","Մ","Ճ","Ղ","Ձ","Հ","Կ","Ծ","Խ","Լ","Ի","Ժ","Թ","Ը","Է","Զ","Ե","Դ","Գ","Բ","Ա"]},rs={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,400,300,200,100,90,80,70,60,50,40,30,20,19,18,17,16,15,10,9,8,7,6,5,4,3,2,1],values:["י׳","ט׳","ח׳","ז׳","ו׳","ה׳","ד׳","ג׳","ב׳","א׳","ת","ש","ר","ק","צ","פ","ע","ס","נ","מ","ל","כ","יט","יח","יז","טז","טו","י","ט","ח","ז","ו","ה","ד","ג","ב","א"]},ss={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["ჵ","ჰ","ჯ","ჴ","ხ","ჭ","წ","ძ","ც","ჩ","შ","ყ","ღ","ქ","ფ","ჳ","ტ","ს","რ","ჟ","პ","ო","ჲ","ნ","მ","ლ","კ","ი","თ","ჱ","ზ","ვ","ე","დ","გ","ბ","ა"]},os=function(A,e,t,n,r,s){return A<e||A>t?ws(A,r,s.length>0):n.integers.reduce(function(e,t,r){for(;A>=t;)A-=t,e+=n.values[r];return e},"")+s},is=function(A,e,t,n){var r="";do{t||A--,r=n(A)+r,A/=e}while(A*e>=e);return r},as=function(A,e,t,n,r){var s=t-e+1;return(A<0?"-":"")+(is(Math.abs(A),s,n,function(A){return F(Math.floor(A%s)+e)})+r)},cs=function(A,e,t){void 0===t&&(t=". ");var n=e.length;return is(Math.abs(A),n,!1,function(A){return e[Math.floor(A%n)]})+t},Bs=function(A,e,t,n,r,s){if(A<-9999||A>9999)return ws(A,4,r.length>0);var o=Math.abs(A),i=r;if(0===o)return e[0]+i;for(var a=0;o>0&&a<=4;a++){var c=o%10;0===c&&bn(s,1)&&""!==i?i=e[c]+i:c>1||1===c&&0===a||1===c&&1===a&&bn(s,2)||1===c&&1===a&&bn(s,4)&&A>100||1===c&&a>1&&bn(s,8)?i=e[c]+(a>0?t[a-1]:"")+i:1===c&&a>0&&(i=t[a-1]+i),o=Math.floor(o/10)}return(A<0?n:"")+i},ls="十百千萬",ds="拾佰仟萬",us="マイナス",gs="마이너스",ws=function(A,e,t){var n=t?". ":"",r=t?"、":"",s=t?", ":"",o=t?" ":"";switch(e){case 0:return"•"+o;case 1:return"◦"+o;case 2:return"◾"+o;case 5:var i=as(A,48,57,!0,n);return i.length<4?"0"+i:i;case 4:return cs(A,"〇一二三四五六七八九",r);case 6:return os(A,1,3999,ts,3,n).toLowerCase();case 7:return os(A,1,3999,ts,3,n);case 8:return as(A,945,969,!1,n);case 9:return as(A,97,122,!1,n);case 10:return as(A,65,90,!1,n);case 11:return as(A,1632,1641,!0,n);case 12:case 49:return os(A,1,9999,ns,3,n);case 35:return os(A,1,9999,ns,3,n).toLowerCase();case 13:return as(A,2534,2543,!0,n);case 14:case 30:return as(A,6112,6121,!0,n);case 15:return cs(A,"子丑寅卯辰巳午未申酉戌亥",r);case 16:return cs(A,"甲乙丙丁戊己庚辛壬癸",r);case 17:case 48:return Bs(A,"零一二三四五六七八九",ls,"負",r,14);case 47:return Bs(A,"零壹貳參肆伍陸柒捌玖",ds,"負",r,15);case 42:return Bs(A,"零一二三四五六七八九",ls,"负",r,14);case 41:return Bs(A,"零壹贰叁肆伍陆柒捌玖",ds,"负",r,15);case 26:return Bs(A,"〇一二三四五六七八九","十百千万",us,r,0);case 25:return Bs(A,"零壱弐参四伍六七八九","拾百千万",us,r,7);case 31:return Bs(A,"영일이삼사오육칠팔구","십백천만",gs,s,7);case 33:return Bs(A,"零一二三四五六七八九","十百千萬",gs,s,0);case 32:return Bs(A,"零壹貳參四五六七八九","拾百千",gs,s,7);case 18:return as(A,2406,2415,!0,n);case 20:return os(A,1,19999,ss,3,n);case 21:return as(A,2790,2799,!0,n);case 22:return as(A,2662,2671,!0,n);case 22:return os(A,1,10999,rs,3,n);case 23:return cs(A,"あいうえおかきくけこさしすせそたちつてとなにぬねのはひふへほまみむめもやゆよらりるれろわゐゑをん");case 24:return cs(A,"いろはにほへとちりぬるをわかよたれそつねならむうゐのおくやまけふこえてあさきゆめみしゑひもせす");case 27:return as(A,3302,3311,!0,n);case 28:return cs(A,"アイウエオカキクケコサシスセソタチツテトナニヌネノハヒフヘホマミムメモヤユヨラリルレロワヰヱヲン",r);case 29:return cs(A,"イロハニホヘトチリヌルヲワカヨタレソツネナラムウヰノオクヤマケフコエテアサキユメミシヱヒモセス",r);case 34:return as(A,3792,3801,!0,n);case 37:return as(A,6160,6169,!0,n);case 38:return as(A,4160,4169,!0,n);case 39:return as(A,2918,2927,!0,n);case 40:return as(A,1776,1785,!0,n);case 43:return as(A,3046,3055,!0,n);case 44:return as(A,3174,3183,!0,n);case 45:return as(A,3664,3673,!0,n);case 46:return as(A,3872,3881,!0,n);default:return as(A,48,57,!0,n)}},Qs="data-html2canvas-ignore",hs=function(){function A(A,e,t){if(this.context=A,this.options=t,this.scrolledElements=[],this.referenceElement=e,this.counters=new es,this.quoteDepth=0,!e.ownerDocument)throw new Error("Cloned element does not have an owner document");this.documentElement=this.cloneNode(e.ownerDocument.documentElement,!1)}return A.prototype.toIFrame=function(A,e){var t=this,n=fs(A,e);if(!n.contentWindow)return Promise.reject("Unable to find iframe window");var r=A.defaultView.pageXOffset,s=A.defaultView.pageYOffset,o=n.contentWindow,i=o.document,a=Us(n).then(function(){return Q(t,0,void 0,function(){var A,t;return h(this,function(r){switch(r.label){case 0:return this.scrolledElements.forEach(Es),o&&(o.scrollTo(e.left,e.top),!/(iPad|iPhone|iPod)/g.test(navigator.userAgent)||o.scrollY===e.top&&o.scrollX===e.left||(this.context.logger.warn("Unable to restore scroll position for cloned document"),this.context.windowBounds=this.context.windowBounds.add(o.scrollX-e.left,o.scrollY-e.top,0,0))),A=this.options.onclone,void 0===(t=this.clonedReferenceElement)?[2,Promise.reject("Error finding the "+this.referenceElement.nodeName+" in the cloned document")]:i.fonts&&i.fonts.ready?[4,i.fonts.ready]:[3,2];case 1:r.sent(),r.label=2;case 2:return/(AppleWebKit)/g.test(navigator.userAgent)?[4,Fs(i)]:[3,4];case 3:r.sent(),r.label=4;case 4:return"function"==typeof A?[2,Promise.resolve().then(function(){return A(i,t)}).then(function(){return n})]:[2,n]}})})});return i.open(),i.write(bs(document.doctype)+"<html></html>"),Hs(this.referenceElement.ownerDocument,r,s),i.replaceChild(i.adoptNode(this.documentElement),i.documentElement),i.close(),a},A.prototype.createElementClone=function(A){if(Vn(A,2),jr(A))return this.createCanvasClone(A);if(Yr(A))return this.createVideoClone(A);if(zr(A))return this.createStyleClone(A);var e=A.cloneNode(!1);return _r(e)&&(_r(A)&&A.currentSrc&&A.currentSrc!==A.src&&(e.src=A.currentSrc,e.srcset=""),"lazy"===e.loading&&(e.loading="eager")),As(e)?this.createCustomElementClone(e):e},A.prototype.createCustomElementClone=function(A){var e=document.createElement("html2canvascustomelement");return ys(A.style,e),e},A.prototype.createStyleClone=function(A){try{var e=A.sheet;if(e&&e.cssRules){var t=[].slice.call(e.cssRules,0).reduce(function(A,e){return e&&"string"==typeof e.cssText?A+e.cssText:A},""),n=A.cloneNode(!1);return n.textContent=t,n}}catch(A){if(this.context.logger.error("Unable to access cssRules property",A),"SecurityError"!==A.name)throw A}return A.cloneNode(!1)},A.prototype.createCanvasClone=function(A){var e;if(this.options.inlineImages&&A.ownerDocument){var t=A.ownerDocument.createElement("img");try{return t.src=A.toDataURL(),t}catch(e){this.context.logger.info("Unable to inline canvas contents, canvas is tainted",A)}}var n=A.cloneNode(!1);try{n.width=A.width,n.height=A.height;var r=A.getContext("2d"),s=n.getContext("2d");if(s)if(!this.options.allowTaint&&r)s.putImageData(r.getImageData(0,0,A.width,A.height),0,0);else{var o=null!==(e=A.getContext("webgl2"))&&void 0!==e?e:A.getContext("webgl");if(o){var i=o.getContextAttributes();!1===(null==i?void 0:i.preserveDrawingBuffer)&&this.context.logger.warn("Unable to clone WebGL context as it has preserveDrawingBuffer=false",A)}s.drawImage(A,0,0)}return n}catch(e){this.context.logger.info("Unable to clone canvas as it is tainted",A)}return n},A.prototype.createVideoClone=function(A){var e=A.ownerDocument.createElement("canvas");e.width=A.offsetWidth,e.height=A.offsetHeight;var t=e.getContext("2d");try{return t&&(t.drawImage(A,0,0,e.width,e.height),this.options.allowTaint||t.getImageData(0,0,e.width,e.height)),e}catch(e){this.context.logger.info("Unable to clone video as it is tainted",A)}var n=A.ownerDocument.createElement("canvas");return n.width=A.offsetWidth,n.height=A.offsetHeight,n},A.prototype.appendChildNode=function(A,e,t){Tr(e)&&("SCRIPT"===e.tagName||e.hasAttribute(Qs)||"function"==typeof this.options.ignoreElements&&this.options.ignoreElements(e))||this.options.copyStyles&&Tr(e)&&zr(e)||A.appendChild(this.cloneNode(e,t))},A.prototype.cloneChildNodes=function(A,e,t){for(var n=this,r=A.shadowRoot?A.shadowRoot.firstChild:A.firstChild;r;r=r.nextSibling)if(Tr(r)&&$r(r)&&"function"==typeof r.assignedNodes){var s=r.assignedNodes();s.length&&s.forEach(function(A){return n.appendChildNode(e,A,t)})}else this.appendChildNode(e,r,t)},A.prototype.cloneNode=function(A,e){if(Gr(A))return document.createTextNode(A.data);if(!A.ownerDocument)return A.cloneNode(!1);var t=A.ownerDocument.defaultView;if(t&&Tr(A)&&(Or(A)||Vr(A))){var n=this.createElementClone(A);n.style.transitionProperty="none";var r=t.getComputedStyle(A),s=t.getComputedStyle(A,":before"),o=t.getComputedStyle(A,":after");this.referenceElement===A&&Or(n)&&(this.clonedReferenceElement=n),Xr(n)&&Ds(n);var i=this.counters.parse(new Tn(this.context,r)),a=this.resolvePseudoContent(A,n,s,_n.BEFORE);As(A)&&(e=!0),Yr(A)||this.cloneChildNodes(A,n,e),a&&n.insertBefore(a,n.firstChild);var c=this.resolvePseudoContent(A,n,o,_n.AFTER);return c&&n.appendChild(c),this.counters.pop(i),(r&&(this.options.copyStyles||Vr(A))&&!Wr(A)||e)&&ys(r,n),0===A.scrollTop&&0===A.scrollLeft||this.scrolledElements.push([n,A.scrollLeft,A.scrollTop]),(qr(A)||Zr(A))&&(qr(n)||Zr(n))&&(n.value=A.value),n}return A.cloneNode(!1)},A.prototype.resolvePseudoContent=function(A,e,t,n){var r=this;if(t){var s=t.content,o=e.ownerDocument;if(o&&s&&"none"!==s&&"-moz-alt-content"!==s&&"none"!==t.display){this.counters.parse(new Tn(this.context,t));var i=new Gn(this.context,t),a=o.createElement("html2canvaspseudoelement");ys(t,a),i.content.forEach(function(e){if(0===e.type)a.appendChild(o.createTextNode(e.value));else if(22===e.type){var t=o.createElement("img");t.src=e.value,t.style.opacity="1",a.appendChild(t)}else if(18===e.type){if("attr"===e.name){var n=e.values.filter(ie);n.length&&a.appendChild(o.createTextNode(A.getAttribute(n[0].value)||""))}else if("counter"===e.name){var s=e.values.filter(le),c=s[0],B=s[1];if(c&&ie(c)){var l=r.counters.getCounterValue(c.value),d=B&&ie(B)?Jt.parse(r.context,B.value):3;a.appendChild(o.createTextNode(ws(l,d,!1)))}}else if("counters"===e.name){var u=e.values.filter(le),g=(c=u[0],u[1]);if(B=u[2],c&&ie(c)){var w=r.counters.getCounterValues(c.value),Q=B&&ie(B)?Jt.parse(r.context,B.value):3,h=g&&0===g.type?g.value:"",p=w.map(function(A){return ws(A,Q,!1)}).join(h);a.appendChild(o.createTextNode(p))}}}else if(20===e.type)switch(e.value){case"open-quote":a.appendChild(o.createTextNode(Dn(i.quotes,r.quoteDepth++,!0)));break;case"close-quote":a.appendChild(o.createTextNode(Dn(i.quotes,--r.quoteDepth,!1)));break;default:a.appendChild(o.createTextNode(e.value))}}),a.className=vs+" "+Is;var c=n===_n.BEFORE?" "+vs:" "+Is;return Vr(e)?e.className.baseValue+=c:e.className+=c,a}}},A.destroy=function(A){return!!A.parentNode&&(A.parentNode.removeChild(A),!0)},A}();!function(A){A[A.BEFORE=0]="BEFORE",A[A.AFTER=1]="AFTER"}(_n||(_n={}));var ps,fs=function(A,e){var t=A.createElement("iframe");return t.className="html2canvas-container",t.style.visibility="hidden",t.style.position="fixed",t.style.left="-10000px",t.style.top="0px",t.style.border="0",t.width=e.width.toString(),t.height=e.height.toString(),t.scrolling="no",t.setAttribute(Qs,"true"),A.body.appendChild(t),t},Cs=function(A){return new Promise(function(e){A.complete?e():A.src?(A.onload=e,A.onerror=e):e()})},Fs=function(A){return Promise.all([].slice.call(A.images,0).map(Cs))},Us=function(A){return new Promise(function(e,t){var n=A.contentWindow;if(!n)return t("No window assigned for iframe");var r=n.document;n.onload=A.onload=function(){n.onload=A.onload=null;var t=setInterval(function(){r.body.childNodes.length>0&&"complete"===r.readyState&&(clearInterval(t),e(A))},50)}})},ms=["all","d","content"],ys=function(A,e){for(var t=A.length-1;t>=0;t--){var n=A.item(t);-1===ms.indexOf(n)&&e.style.setProperty(n,A.getPropertyValue(n))}return e},bs=function(A){var e="";return A&&(e+="<!DOCTYPE ",A.name&&(e+=A.name),A.internalSubset&&(e+=A.internalSubset),A.publicId&&(e+='"'+A.publicId+'"'),A.systemId&&(e+='"'+A.systemId+'"'),e+=">"),e},Hs=function(A,e,t){A&&A.defaultView&&(e!==A.defaultView.pageXOffset||t!==A.defaultView.pageYOffset)&&A.defaultView.scrollTo(e,t)},Es=function(A){var e=A[0],t=A[1],n=A[2];e.scrollLeft=t,e.scrollTop=n},vs="___html2canvas___pseudoelement_before",Is="___html2canvas___pseudoelement_after",Ks='{\n content: "" !important;\n display: none !important;\n}',Ds=function(A){Ls(A,"."+vs+":before"+Ks+"\n ."+Is+":after"+Ks)},Ls=function(A,e){var t=A.ownerDocument;if(t){var n=t.createElement("style");n.textContent=e,A.appendChild(n)}},xs=function(){function A(){}return A.getOrigin=function(e){var t=A._link;return t?(t.href=e,t.href=t.href,t.protocol+t.hostname+t.port):"about:blank"},A.isSameOrigin=function(e){return A.getOrigin(e)===A._origin},A.setContext=function(e){A._link=e.document.createElement("a"),A._origin=A.getOrigin(e.location.href)},A._origin="about:blank",A}(),ks=function(){function A(A,e){this.context=A,this._options=e,this._cache={}}return A.prototype.addImage=function(A){var e=Promise.resolve();return this.has(A)?e:Ns(A)||Ts(A)?((this._cache[A]=this.loadImage(A)).catch(function(){}),e):e},A.prototype.match=function(A){return this._cache[A]},A.prototype.loadImage=function(A){return Q(this,0,void 0,function(){var e,t,n,r,s=this;return h(this,function(o){switch(o.label){case 0:return e=xs.isSameOrigin(A),t=!Os(A)&&!0===this._options.useCORS&&ar.SUPPORT_CORS_IMAGES&&!e,n=!Os(A)&&!e&&!Ns(A)&&"string"==typeof this._options.proxy&&ar.SUPPORT_CORS_XHR&&!t,e||!1!==this._options.allowTaint||Os(A)||Ns(A)||n||t?(r=A,n?[4,this.proxy(r)]:[3,2]):[2];case 1:r=o.sent(),o.label=2;case 2:return this.context.logger.debug("Added image "+A.substring(0,256)),[4,new Promise(function(A,e){var n=new Image;n.onload=function(){return A(n)},n.onerror=e,(Vs(r)||t)&&(n.crossOrigin="anonymous"),n.src=r,!0===n.complete&&setTimeout(function(){return A(n)},500),s._options.imageTimeout>0&&setTimeout(function(){return e("Timed out ("+s._options.imageTimeout+"ms) loading image")},s._options.imageTimeout)})];case 3:return[2,o.sent()]}})})},A.prototype.has=function(A){return void 0!==this._cache[A]},A.prototype.keys=function(){return Promise.resolve(Object.keys(this._cache))},A.prototype.proxy=function(A){var e=this,t=this._options.proxy;if(!t)throw new Error("No proxy defined");var n=A.substring(0,256);return new Promise(function(r,s){var o=ar.SUPPORT_RESPONSE_TYPE?"blob":"text",i=new XMLHttpRequest;i.onload=function(){if(200===i.status)if("text"===o)r(i.response);else{var A=new FileReader;A.addEventListener("load",function(){return r(A.result)},!1),A.addEventListener("error",function(A){return s(A)},!1),A.readAsDataURL(i.response)}else s("Failed to proxy resource "+n+" with status code "+i.status)},i.onerror=s;var a=t.indexOf("?")>-1?"&":"?";if(i.open("GET",""+t+a+"url="+encodeURIComponent(A)+"&responseType="+o),"text"!==o&&i instanceof XMLHttpRequest&&(i.responseType=o),e._options.imageTimeout){var c=e._options.imageTimeout;i.timeout=c,i.ontimeout=function(){return s("Timed out ("+c+"ms) proxying "+n)}}i.send()})},A}(),Ms=/^data:image\/svg\+xml/i,Ss=/^data:image\/.*;base64,/i,Gs=/^data:image\/.*/i,Ts=function(A){return ar.SUPPORT_SVG_DRAWING||!Rs(A)},Os=function(A){return Gs.test(A)},Vs=function(A){return Ss.test(A)},Ns=function(A){return"blob"===A.substr(0,4)},Rs=function(A){return"svg"===A.substr(-3).toLowerCase()||Ms.test(A)},Ps=function(){function A(A,e){this.type=0,this.x=A,this.y=e}return A.prototype.add=function(e,t){return new A(this.x+e,this.y+t)},A}(),Js=function(A,e,t){return new Ps(A.x+(e.x-A.x)*t,A.y+(e.y-A.y)*t)},Xs=function(){function A(A,e,t,n){this.type=1,this.start=A,this.startControl=e,this.endControl=t,this.end=n}return A.prototype.subdivide=function(e,t){var n=Js(this.start,this.startControl,e),r=Js(this.startControl,this.endControl,e),s=Js(this.endControl,this.end,e),o=Js(n,r,e),i=Js(r,s,e),a=Js(o,i,e);return t?new A(this.start,n,o,a):new A(a,i,s,this.end)},A.prototype.add=function(e,t){return new A(this.start.add(e,t),this.startControl.add(e,t),this.endControl.add(e,t),this.end.add(e,t))},A.prototype.reverse=function(){return new A(this.end,this.endControl,this.startControl,this.start)},A}(),js=function(A){return 1===A.type},Ys=function(A){var e=A.styles,t=A.bounds,n=Ce(e.borderTopLeftRadius,t.width,t.height),r=n[0],s=n[1],o=Ce(e.borderTopRightRadius,t.width,t.height),i=o[0],a=o[1],c=Ce(e.borderBottomRightRadius,t.width,t.height),B=c[0],l=c[1],d=Ce(e.borderBottomLeftRadius,t.width,t.height),u=d[0],g=d[1],w=[];w.push((r+i)/t.width),w.push((u+B)/t.width),w.push((s+g)/t.height),w.push((a+l)/t.height);var Q=Math.max.apply(Math,w);Q>1&&(r/=Q,s/=Q,i/=Q,a/=Q,B/=Q,l/=Q,u/=Q,g/=Q);var h=t.width-i,p=t.height-l,f=t.width-B,C=t.height-g,F=e.borderTopWidth,U=e.borderRightWidth,m=e.borderBottomWidth,y=e.borderLeftWidth,b=Fe(e.paddingTop,A.bounds.width),H=Fe(e.paddingRight,A.bounds.width),E=Fe(e.paddingBottom,A.bounds.width),v=Fe(e.paddingLeft,A.bounds.width);this.topLeftBorderDoubleOuterBox=r>0||s>0?_s(t.left+y/3,t.top+F/3,r-y/3,s-F/3,ps.TOP_LEFT):new Ps(t.left+y/3,t.top+F/3),this.topRightBorderDoubleOuterBox=r>0||s>0?_s(t.left+h,t.top+F/3,i-U/3,a-F/3,ps.TOP_RIGHT):new Ps(t.left+t.width-U/3,t.top+F/3),this.bottomRightBorderDoubleOuterBox=B>0||l>0?_s(t.left+f,t.top+p,B-U/3,l-m/3,ps.BOTTOM_RIGHT):new Ps(t.left+t.width-U/3,t.top+t.height-m/3),this.bottomLeftBorderDoubleOuterBox=u>0||g>0?_s(t.left+y/3,t.top+C,u-y/3,g-m/3,ps.BOTTOM_LEFT):new Ps(t.left+y/3,t.top+t.height-m/3),this.topLeftBorderDoubleInnerBox=r>0||s>0?_s(t.left+2*y/3,t.top+2*F/3,r-2*y/3,s-2*F/3,ps.TOP_LEFT):new Ps(t.left+2*y/3,t.top+2*F/3),this.topRightBorderDoubleInnerBox=r>0||s>0?_s(t.left+h,t.top+2*F/3,i-2*U/3,a-2*F/3,ps.TOP_RIGHT):new Ps(t.left+t.width-2*U/3,t.top+2*F/3),this.bottomRightBorderDoubleInnerBox=B>0||l>0?_s(t.left+f,t.top+p,B-2*U/3,l-2*m/3,ps.BOTTOM_RIGHT):new Ps(t.left+t.width-2*U/3,t.top+t.height-2*m/3),this.bottomLeftBorderDoubleInnerBox=u>0||g>0?_s(t.left+2*y/3,t.top+C,u-2*y/3,g-2*m/3,ps.BOTTOM_LEFT):new Ps(t.left+2*y/3,t.top+t.height-2*m/3),this.topLeftBorderStroke=r>0||s>0?_s(t.left+y/2,t.top+F/2,r-y/2,s-F/2,ps.TOP_LEFT):new Ps(t.left+y/2,t.top+F/2),this.topRightBorderStroke=r>0||s>0?_s(t.left+h,t.top+F/2,i-U/2,a-F/2,ps.TOP_RIGHT):new Ps(t.left+t.width-U/2,t.top+F/2),this.bottomRightBorderStroke=B>0||l>0?_s(t.left+f,t.top+p,B-U/2,l-m/2,ps.BOTTOM_RIGHT):new Ps(t.left+t.width-U/2,t.top+t.height-m/2),this.bottomLeftBorderStroke=u>0||g>0?_s(t.left+y/2,t.top+C,u-y/2,g-m/2,ps.BOTTOM_LEFT):new Ps(t.left+y/2,t.top+t.height-m/2),this.topLeftBorderBox=r>0||s>0?_s(t.left,t.top,r,s,ps.TOP_LEFT):new Ps(t.left,t.top),this.topRightBorderBox=i>0||a>0?_s(t.left+h,t.top,i,a,ps.TOP_RIGHT):new Ps(t.left+t.width,t.top),this.bottomRightBorderBox=B>0||l>0?_s(t.left+f,t.top+p,B,l,ps.BOTTOM_RIGHT):new Ps(t.left+t.width,t.top+t.height),this.bottomLeftBorderBox=u>0||g>0?_s(t.left,t.top+C,u,g,ps.BOTTOM_LEFT):new Ps(t.left,t.top+t.height),this.topLeftPaddingBox=r>0||s>0?_s(t.left+y,t.top+F,Math.max(0,r-y),Math.max(0,s-F),ps.TOP_LEFT):new Ps(t.left+y,t.top+F),this.topRightPaddingBox=i>0||a>0?_s(t.left+Math.min(h,t.width-U),t.top+F,h>t.width+U?0:Math.max(0,i-U),Math.max(0,a-F),ps.TOP_RIGHT):new Ps(t.left+t.width-U,t.top+F),this.bottomRightPaddingBox=B>0||l>0?_s(t.left+Math.min(f,t.width-y),t.top+Math.min(p,t.height-m),Math.max(0,B-U),Math.max(0,l-m),ps.BOTTOM_RIGHT):new Ps(t.left+t.width-U,t.top+t.height-m),this.bottomLeftPaddingBox=u>0||g>0?_s(t.left+y,t.top+Math.min(C,t.height-m),Math.max(0,u-y),Math.max(0,g-m),ps.BOTTOM_LEFT):new Ps(t.left+y,t.top+t.height-m),this.topLeftContentBox=r>0||s>0?_s(t.left+y+v,t.top+F+b,Math.max(0,r-(y+v)),Math.max(0,s-(F+b)),ps.TOP_LEFT):new Ps(t.left+y+v,t.top+F+b),this.topRightContentBox=i>0||a>0?_s(t.left+Math.min(h,t.width+y+v),t.top+F+b,h>t.width+y+v?0:i-y+v,a-(F+b),ps.TOP_RIGHT):new Ps(t.left+t.width-(U+H),t.top+F+b),this.bottomRightContentBox=B>0||l>0?_s(t.left+Math.min(f,t.width-(y+v)),t.top+Math.min(p,t.height+F+b),Math.max(0,B-(U+H)),l-(m+E),ps.BOTTOM_RIGHT):new Ps(t.left+t.width-(U+H),t.top+t.height-(m+E)),this.bottomLeftContentBox=u>0||g>0?_s(t.left+y+v,t.top+C,Math.max(0,u-(y+v)),g-(m+E),ps.BOTTOM_LEFT):new Ps(t.left+y+v,t.top+t.height-(m+E))};!function(A){A[A.TOP_LEFT=0]="TOP_LEFT",A[A.TOP_RIGHT=1]="TOP_RIGHT",A[A.BOTTOM_RIGHT=2]="BOTTOM_RIGHT",A[A.BOTTOM_LEFT=3]="BOTTOM_LEFT"}(ps||(ps={}));var _s=function(A,e,t,n,r){var s=(Math.sqrt(2)-1)/3*4,o=t*s,i=n*s,a=A+t,c=e+n;switch(r){case ps.TOP_LEFT:return new Xs(new Ps(A,c),new Ps(A,c-i),new Ps(a-o,e),new Ps(a,e));case ps.TOP_RIGHT:return new Xs(new Ps(A,e),new Ps(A+o,e),new Ps(a,c-i),new Ps(a,c));case ps.BOTTOM_RIGHT:return new Xs(new Ps(a,e),new Ps(a,e+i),new Ps(A+o,c),new Ps(A,c));case ps.BOTTOM_LEFT:default:return new Xs(new Ps(a,c),new Ps(a-o,c),new Ps(A,e+i),new Ps(A,e))}},Ws=function(A){return[A.topLeftBorderBox,A.topRightBorderBox,A.bottomRightBorderBox,A.bottomLeftBorderBox]},zs=function(A){return[A.topLeftPaddingBox,A.topRightPaddingBox,A.bottomRightPaddingBox,A.bottomLeftPaddingBox]},qs=function(A,e,t){this.offsetX=A,this.offsetY=e,this.matrix=t,this.type=0,this.target=6},Zs=function(A,e){this.path=A,this.target=e,this.type=1},$s=function(A){this.opacity=A,this.type=2,this.target=6},Ao=function(A){return 1===A.type},eo=function(A,e){return A.length===e.length&&A.some(function(A,t){return A===e[t]})},to=function(A){this.element=A,this.inlineLevel=[],this.nonInlineLevel=[],this.negativeZIndex=[],this.zeroOrAutoZIndexOrTransformedOrOpacity=[],this.positiveZIndex=[],this.nonPositionedFloats=[],this.nonPositionedInlineLevel=[]},no=function(){function A(A,e){if(this.container=A,this.parent=e,this.effects=[],this.curves=new Ys(this.container),this.container.styles.opacity<1&&this.effects.push(new $s(this.container.styles.opacity)),null!==this.container.styles.transform){var t=this.container.bounds.left+this.container.styles.transformOrigin[0].number,n=this.container.bounds.top+this.container.styles.transformOrigin[1].number,r=this.container.styles.transform;this.effects.push(new qs(t,n,r))}if(0!==this.container.styles.overflowX){var s=Ws(this.curves),o=zs(this.curves);eo(s,o)?this.effects.push(new Zs(s,6)):(this.effects.push(new Zs(s,2)),this.effects.push(new Zs(o,4)))}}return A.prototype.getEffects=function(A){for(var e=-1===[2,3].indexOf(this.container.styles.position),t=this.parent,n=this.effects.slice(0);t;){var r=t.effects.filter(function(A){return!Ao(A)});if(e||0!==t.container.styles.position||!t.parent){if(n.unshift.apply(n,r),e=-1===[2,3].indexOf(t.container.styles.position),0!==t.container.styles.overflowX){var s=Ws(t.curves),o=zs(t.curves);eo(s,o)||n.unshift(new Zs(o,6))}}else n.unshift.apply(n,r);t=t.parent}return n.filter(function(e){return bn(e.target,A)})},A}(),ro=function(A,e,t,n){A.container.elements.forEach(function(r){var s=bn(r.flags,4),o=bn(r.flags,2),i=new no(r,A);bn(r.styles.display,2048)&&n.push(i);var a=bn(r.flags,8)?[]:n;if(s||o){var c=s||r.styles.isPositioned()?t:e,B=new to(i);if(r.styles.isPositioned()||r.styles.opacity<1||r.styles.isTransformed()){var l=r.styles.zIndex.order;if(l<0){var d=0;c.negativeZIndex.some(function(A,e){return l>A.element.container.styles.zIndex.order?(d=e,!1):d>0}),c.negativeZIndex.splice(d,0,B)}else if(l>0){var u=0;c.positiveZIndex.some(function(A,e){return l>=A.element.container.styles.zIndex.order?(u=e+1,!1):u>0}),c.positiveZIndex.splice(u,0,B)}else c.zeroOrAutoZIndexOrTransformedOrOpacity.push(B)}else r.styles.isFloating()?c.nonPositionedFloats.push(B):c.nonPositionedInlineLevel.push(B);ro(i,B,s?B:t,a)}else r.styles.isInlineLevel()?e.inlineLevel.push(i):e.nonInlineLevel.push(i),ro(i,e,t,a);bn(r.flags,8)&&so(r,a)})},so=function(A,e){for(var t=A instanceof Fr?A.start:1,n=A instanceof Fr&&A.reversed,r=0;r<e.length;r++){var s=e[r];s.container instanceof Cr&&"number"==typeof s.container.value&&0!==s.container.value&&(t=s.container.value),s.listValue=ws(t,s.container.styles.listStyleType,!0),t+=n?-1:1}},oo=function(A,e){switch(e){case 0:return ao(A.topLeftBorderBox,A.topLeftPaddingBox,A.topRightBorderBox,A.topRightPaddingBox);case 1:return ao(A.topRightBorderBox,A.topRightPaddingBox,A.bottomRightBorderBox,A.bottomRightPaddingBox);case 2:return ao(A.bottomRightBorderBox,A.bottomRightPaddingBox,A.bottomLeftBorderBox,A.bottomLeftPaddingBox);default:return ao(A.bottomLeftBorderBox,A.bottomLeftPaddingBox,A.topLeftBorderBox,A.topLeftPaddingBox)}},io=function(A,e){var t=[];return js(A)?t.push(A.subdivide(.5,!1)):t.push(A),js(e)?t.push(e.subdivide(.5,!0)):t.push(e),t},ao=function(A,e,t,n){var r=[];return js(A)?r.push(A.subdivide(.5,!1)):r.push(A),js(t)?r.push(t.subdivide(.5,!0)):r.push(t),js(n)?r.push(n.subdivide(.5,!0).reverse()):r.push(n),js(e)?r.push(e.subdivide(.5,!1).reverse()):r.push(e),r},co=function(A){var e=A.bounds,t=A.styles;return e.add(t.borderLeftWidth,t.borderTopWidth,-(t.borderRightWidth+t.borderLeftWidth),-(t.borderTopWidth+t.borderBottomWidth))},Bo=function(A){var e=A.styles,t=A.bounds,n=Fe(e.paddingLeft,t.width),r=Fe(e.paddingRight,t.width),s=Fe(e.paddingTop,t.width),o=Fe(e.paddingBottom,t.width);return t.add(n+e.borderLeftWidth,s+e.borderTopWidth,-(e.borderRightWidth+e.borderLeftWidth+n+r),-(e.borderTopWidth+e.borderBottomWidth+s+o))},lo=function(A,e,t){var n=function(A,e){return 0===A?e.bounds:2===A?Bo(e):co(e)}(Qo(A.styles.backgroundOrigin,e),A),r=function(A,e){return 0===A?e.bounds:2===A?Bo(e):co(e)}(Qo(A.styles.backgroundClip,e),A),s=wo(Qo(A.styles.backgroundSize,e),t,n),o=s[0],i=s[1],a=Ce(Qo(A.styles.backgroundPosition,e),n.width-o,n.height-i);return[ho(Qo(A.styles.backgroundRepeat,e),a,s,n,r),Math.round(n.left+a[0]),Math.round(n.top+a[1]),o,i]},uo=function(A){return ie(A)&&A.value===Me.AUTO},go=function(A){return"number"==typeof A},wo=function(A,e,t){var n=e[0],r=e[1],s=e[2],o=A[0],i=A[1];if(!o)return[0,0];if(we(o)&&i&&we(i))return[Fe(o,t.width),Fe(i,t.height)];var a=go(s);if(ie(o)&&(o.value===Me.CONTAIN||o.value===Me.COVER))return go(s)?t.width/t.height<s!=(o.value===Me.COVER)?[t.width,t.width/s]:[t.height*s,t.height]:[t.width,t.height];var c=go(n),B=go(r),l=c||B;if(uo(o)&&(!i||uo(i)))return c&&B?[n,r]:a||l?l&&a?[c?n:r*s,B?r:n/s]:[c?n:t.width,B?r:t.height]:[t.width,t.height];if(a){var d=0,u=0;return we(o)?d=Fe(o,t.width):we(i)&&(u=Fe(i,t.height)),uo(o)?d=u*s:i&&!uo(i)||(u=d/s),[d,u]}var g=null,w=null;if(we(o)?g=Fe(o,t.width):i&&we(i)&&(w=Fe(i,t.height)),null===g||i&&!uo(i)||(w=c&&B?g/n*r:t.height),null!==w&&uo(o)&&(g=c&&B?w/r*n:t.width),null!==g&&null!==w)return[g,w];throw new Error("Unable to calculate background-size for element")},Qo=function(A,e){var t=A[e];return void 0===t?A[0]:t},ho=function(A,e,t,n,r){var s=e[0],o=e[1],i=t[0],a=t[1];switch(A){case 2:return[new Ps(Math.round(n.left),Math.round(n.top+o)),new Ps(Math.round(n.left+n.width),Math.round(n.top+o)),new Ps(Math.round(n.left+n.width),Math.round(a+n.top+o)),new Ps(Math.round(n.left),Math.round(a+n.top+o))];case 3:return[new Ps(Math.round(n.left+s),Math.round(n.top)),new Ps(Math.round(n.left+s+i),Math.round(n.top)),new Ps(Math.round(n.left+s+i),Math.round(n.height+n.top)),new Ps(Math.round(n.left+s),Math.round(n.height+n.top))];case 1:return[new Ps(Math.round(n.left+s),Math.round(n.top+o)),new Ps(Math.round(n.left+s+i),Math.round(n.top+o)),new Ps(Math.round(n.left+s+i),Math.round(n.top+o+a)),new Ps(Math.round(n.left+s),Math.round(n.top+o+a))];default:return[new Ps(Math.round(r.left),Math.round(r.top)),new Ps(Math.round(r.left+r.width),Math.round(r.top)),new Ps(Math.round(r.left+r.width),Math.round(r.height+r.top)),new Ps(Math.round(r.left),Math.round(r.height+r.top))]}},po="Hidden Text",fo=function(){function A(A){this._data={},this._document=A}return A.prototype.parseMetrics=function(A,e){var t=this._document.createElement("div"),n=this._document.createElement("img"),r=this._document.createElement("span"),s=this._document.body;t.style.visibility="hidden",t.style.fontFamily=A,t.style.fontSize=e,t.style.margin="0",t.style.padding="0",t.style.whiteSpace="nowrap",s.appendChild(t),n.src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",n.width=1,n.height=1,n.style.margin="0",n.style.padding="0",n.style.verticalAlign="baseline",r.style.fontFamily=A,r.style.fontSize=e,r.style.margin="0",r.style.padding="0",r.appendChild(this._document.createTextNode(po)),t.appendChild(r),t.appendChild(n);var o=n.offsetTop-r.offsetTop+2;t.removeChild(r),t.appendChild(this._document.createTextNode(po)),t.style.lineHeight="normal",n.style.verticalAlign="super";var i=n.offsetTop-t.offsetTop+2;return s.removeChild(t),{baseline:o,middle:i}},A.prototype.getMetrics=function(A,e){var t=A+" "+e;return void 0===this._data[t]&&(this._data[t]=this.parseMetrics(A,e)),this._data[t]},A}(),Co=function(A,e){this.context=A,this.options=e},Fo=function(A){function e(e,t){var n=A.call(this,e,t)||this;return n._activeEffects=[],n.canvas=t.canvas?t.canvas:document.createElement("canvas"),n.ctx=n.canvas.getContext("2d"),t.canvas||(n.canvas.width=Math.floor(t.width*t.scale),n.canvas.height=Math.floor(t.height*t.scale),n.canvas.style.width=t.width+"px",n.canvas.style.height=t.height+"px"),n.fontMetrics=new fo(document),n.ctx.scale(n.options.scale,n.options.scale),n.ctx.translate(-t.x,-t.y),n.ctx.textBaseline="bottom",n._activeEffects=[],n.context.logger.debug("Canvas renderer initialized ("+t.width+"x"+t.height+") with scale "+t.scale),n}return g(e,A),e.prototype.applyEffects=function(A){for(var e=this;this._activeEffects.length;)this.popEffect();A.forEach(function(A){return e.applyEffect(A)})},e.prototype.applyEffect=function(A){this.ctx.save(),function(A){return 2===A.type}(A)&&(this.ctx.globalAlpha=A.opacity),function(A){return 0===A.type}(A)&&(this.ctx.translate(A.offsetX,A.offsetY),this.ctx.transform(A.matrix[0],A.matrix[1],A.matrix[2],A.matrix[3],A.matrix[4],A.matrix[5]),this.ctx.translate(-A.offsetX,-A.offsetY)),Ao(A)&&(this.path(A.path),this.ctx.clip()),this._activeEffects.push(A)},e.prototype.popEffect=function(){this._activeEffects.pop(),this.ctx.restore()},e.prototype.renderStack=function(A){return Q(this,0,void 0,function(){return h(this,function(e){switch(e.label){case 0:return A.element.container.styles.isVisible()?[4,this.renderStackContent(A)]:[3,2];case 1:e.sent(),e.label=2;case 2:return[2]}})})},e.prototype.renderNode=function(A){return Q(this,0,void 0,function(){return h(this,function(e){switch(e.label){case 0:return bn(A.container.flags,16),A.container.styles.isVisible()?[4,this.renderNodeBackgroundAndBorders(A)]:[3,3];case 1:return e.sent(),[4,this.renderNodeContent(A)];case 2:e.sent(),e.label=3;case 3:return[2]}})})},e.prototype.renderTextWithLetterSpacing=function(A,e,t){var n=this;0===e?this.ctx.fillText(A.text,A.bounds.left,A.bounds.top+t):lr(A.text).reduce(function(e,r){return n.ctx.fillText(r,e,A.bounds.top+t),e+n.ctx.measureText(r).width},A.bounds.left)},e.prototype.createFontStyle=function(A){var e=A.fontVariant.filter(function(A){return"normal"===A||"small-caps"===A}).join(""),t=Ho(A.fontFamily).join(", "),n=se(A.fontSize)?""+A.fontSize.number+A.fontSize.unit:A.fontSize.number+"px";return[[A.fontStyle,e,A.fontWeight,n,t].join(" "),t,n]},e.prototype.renderTextNode=function(A,e){return Q(this,0,void 0,function(){var t,n,r,s,o,i,a,c,B=this;return h(this,function(l){return t=this.createFontStyle(e),n=t[0],r=t[1],s=t[2],this.ctx.font=n,this.ctx.direction=1===e.direction?"rtl":"ltr",this.ctx.textAlign="left",this.ctx.textBaseline="alphabetic",o=this.fontMetrics.getMetrics(r,s),i=o.baseline,a=o.middle,c=e.paintOrder,A.textBounds.forEach(function(A){c.forEach(function(t){switch(t){case 0:B.ctx.fillStyle=Ke(e.color),B.renderTextWithLetterSpacing(A,e.letterSpacing,i);var n=e.textShadow;n.length&&A.text.trim().length&&(n.slice(0).reverse().forEach(function(t){B.ctx.shadowColor=Ke(t.color),B.ctx.shadowOffsetX=t.offsetX.number*B.options.scale,B.ctx.shadowOffsetY=t.offsetY.number*B.options.scale,B.ctx.shadowBlur=t.blur.number,B.renderTextWithLetterSpacing(A,e.letterSpacing,i)}),B.ctx.shadowColor="",B.ctx.shadowOffsetX=0,B.ctx.shadowOffsetY=0,B.ctx.shadowBlur=0),e.textDecorationLine.length&&(B.ctx.fillStyle=Ke(e.textDecorationColor||e.color),e.textDecorationLine.forEach(function(e){switch(e){case 1:B.ctx.fillRect(A.bounds.left,Math.round(A.bounds.top+i),A.bounds.width,1);break;case 2:B.ctx.fillRect(A.bounds.left,Math.round(A.bounds.top),A.bounds.width,1);break;case 3:B.ctx.fillRect(A.bounds.left,Math.ceil(A.bounds.top+a),A.bounds.width,1)}}));break;case 1:e.webkitTextStrokeWidth&&A.text.trim().length&&(B.ctx.strokeStyle=Ke(e.webkitTextStrokeColor),B.ctx.lineWidth=e.webkitTextStrokeWidth,B.ctx.lineJoin=window.chrome?"miter":"round",B.ctx.strokeText(A.text,A.bounds.left,A.bounds.top+i)),B.ctx.strokeStyle="",B.ctx.lineWidth=0,B.ctx.lineJoin="miter"}})}),[2]})})},e.prototype.renderReplacedElement=function(A,e,t){if(t&&A.intrinsicWidth>0&&A.intrinsicHeight>0){var n=Bo(A),r=zs(e);this.path(r),this.ctx.save(),this.ctx.clip(),this.ctx.drawImage(t,0,0,A.intrinsicWidth,A.intrinsicHeight,n.left,n.top,n.width,n.height),this.ctx.restore()}},e.prototype.renderNodeContent=function(A){return Q(this,0,void 0,function(){var t,n,r,s,o,i,a,c,B,l,d,u,g,w,Q,f,C,F;return h(this,function(h){switch(h.label){case 0:this.applyEffects(A.getEffects(4)),t=A.container,n=A.curves,r=t.styles,s=0,o=t.textNodes,h.label=1;case 1:return s<o.length?(i=o[s],[4,this.renderTextNode(i,r)]):[3,4];case 2:h.sent(),h.label=3;case 3:return s++,[3,1];case 4:if(!(t instanceof hr))return[3,8];h.label=5;case 5:return h.trys.push([5,7,,8]),[4,this.context.cache.match(t.src)];case 6:return Q=h.sent(),this.renderReplacedElement(t,n,Q),[3,8];case 7:return h.sent(),this.context.logger.error("Error loading image "+t.src),[3,8];case 8:if(t instanceof pr&&this.renderReplacedElement(t,n,t.canvas),!(t instanceof fr))return[3,12];h.label=9;case 9:return h.trys.push([9,11,,12]),[4,this.context.cache.match(t.svg)];case 10:return Q=h.sent(),this.renderReplacedElement(t,n,Q),[3,12];case 11:return h.sent(),this.context.logger.error("Error loading svg "+t.svg.substring(0,255)),[3,12];case 12:return t instanceof Kr&&t.tree?[4,new e(this.context,{scale:this.options.scale,backgroundColor:t.backgroundColor,x:0,y:0,width:t.width,height:t.height}).render(t.tree)]:[3,14];case 13:a=h.sent(),t.width&&t.height&&this.ctx.drawImage(a,0,0,t.width,t.height,t.bounds.left,t.bounds.top,t.bounds.width,t.bounds.height),h.label=14;case 14:if(t instanceof Er&&(c=Math.min(t.bounds.width,t.bounds.height),t.type===yr?t.checked&&(this.ctx.save(),this.path([new Ps(t.bounds.left+.39363*c,t.bounds.top+.79*c),new Ps(t.bounds.left+.16*c,t.bounds.top+.5549*c),new Ps(t.bounds.left+.27347*c,t.bounds.top+.44071*c),new Ps(t.bounds.left+.39694*c,t.bounds.top+.5649*c),new Ps(t.bounds.left+.72983*c,t.bounds.top+.23*c),new Ps(t.bounds.left+.84*c,t.bounds.top+.34085*c),new Ps(t.bounds.left+.39363*c,t.bounds.top+.79*c)]),this.ctx.fillStyle=Ke(Hr),this.ctx.fill(),this.ctx.restore()):t.type===br&&t.checked&&(this.ctx.save(),this.ctx.beginPath(),this.ctx.arc(t.bounds.left+c/2,t.bounds.top+c/2,c/4,0,2*Math.PI,!0),this.ctx.fillStyle=Ke(Hr),this.ctx.fill(),this.ctx.restore())),Uo(t)&&t.value.length){switch(B=this.createFontStyle(r),C=B[0],l=B[1],d=this.fontMetrics.getMetrics(C,l).baseline,this.ctx.font=C,this.ctx.fillStyle=Ke(r.color),this.ctx.textBaseline="alphabetic",this.ctx.textAlign=yo(t.styles.textAlign),F=Bo(t),u=0,t.styles.textAlign){case 1:u+=F.width/2;break;case 2:u+=F.width}g=F.add(u,0,0,-F.height/2+1),this.ctx.save(),this.path([new Ps(F.left,F.top),new Ps(F.left+F.width,F.top),new Ps(F.left+F.width,F.top+F.height),new Ps(F.left,F.top+F.height)]),this.ctx.clip(),this.renderTextWithLetterSpacing(new cr(t.value,g),r.letterSpacing,d),this.ctx.restore(),this.ctx.textBaseline="alphabetic",this.ctx.textAlign="left"}if(!bn(t.styles.display,2048))return[3,20];if(null===t.styles.listStyleImage)return[3,19];if(0!==(w=t.styles.listStyleImage).type)return[3,18];Q=void 0,f=w.url,h.label=15;case 15:return h.trys.push([15,17,,18]),[4,this.context.cache.match(f)];case 16:return Q=h.sent(),this.ctx.drawImage(Q,t.bounds.left-(Q.width+10),t.bounds.top),[3,18];case 17:return h.sent(),this.context.logger.error("Error loading list-style-image "+f),[3,18];case 18:return[3,20];case 19:A.listValue&&-1!==t.styles.listStyleType&&(C=this.createFontStyle(r)[0],this.ctx.font=C,this.ctx.fillStyle=Ke(r.color),this.ctx.textBaseline="middle",this.ctx.textAlign="right",F=new p(t.bounds.left,t.bounds.top+Fe(t.styles.paddingTop,t.bounds.width),t.bounds.width,Nt(r.lineHeight,r.fontSize.number)/2+1),this.renderTextWithLetterSpacing(new cr(A.listValue,F),r.letterSpacing,Nt(r.lineHeight,r.fontSize.number)/2+2),this.ctx.textBaseline="bottom",this.ctx.textAlign="left"),h.label=20;case 20:return[2]}})})},e.prototype.renderStackContent=function(A){return Q(this,0,void 0,function(){var e,t,n,r,s,o,i,a,c,B,l,d,u,g,w;return h(this,function(Q){switch(Q.label){case 0:return bn(A.element.container.flags,16),[4,this.renderNodeBackgroundAndBorders(A.element)];case 1:Q.sent(),e=0,t=A.negativeZIndex,Q.label=2;case 2:return e<t.length?(w=t[e],[4,this.renderStack(w)]):[3,5];case 3:Q.sent(),Q.label=4;case 4:return e++,[3,2];case 5:return[4,this.renderNodeContent(A.element)];case 6:Q.sent(),n=0,r=A.nonInlineLevel,Q.label=7;case 7:return n<r.length?(w=r[n],[4,this.renderNode(w)]):[3,10];case 8:Q.sent(),Q.label=9;case 9:return n++,[3,7];case 10:s=0,o=A.nonPositionedFloats,Q.label=11;case 11:return s<o.length?(w=o[s],[4,this.renderStack(w)]):[3,14];case 12:Q.sent(),Q.label=13;case 13:return s++,[3,11];case 14:i=0,a=A.nonPositionedInlineLevel,Q.label=15;case 15:return i<a.length?(w=a[i],[4,this.renderStack(w)]):[3,18];case 16:Q.sent(),Q.label=17;case 17:return i++,[3,15];case 18:c=0,B=A.inlineLevel,Q.label=19;case 19:return c<B.length?(w=B[c],[4,this.renderNode(w)]):[3,22];case 20:Q.sent(),Q.label=21;case 21:return c++,[3,19];case 22:l=0,d=A.zeroOrAutoZIndexOrTransformedOrOpacity,Q.label=23;case 23:return l<d.length?(w=d[l],[4,this.renderStack(w)]):[3,26];case 24:Q.sent(),Q.label=25;case 25:return l++,[3,23];case 26:u=0,g=A.positiveZIndex,Q.label=27;case 27:return u<g.length?(w=g[u],[4,this.renderStack(w)]):[3,30];case 28:Q.sent(),Q.label=29;case 29:return u++,[3,27];case 30:return[2]}})})},e.prototype.mask=function(A){this.ctx.beginPath(),this.ctx.moveTo(0,0),this.ctx.lineTo(this.canvas.width,0),this.ctx.lineTo(this.canvas.width,this.canvas.height),this.ctx.lineTo(0,this.canvas.height),this.ctx.lineTo(0,0),this.formatPath(A.slice(0).reverse()),this.ctx.closePath()},e.prototype.path=function(A){this.ctx.beginPath(),this.formatPath(A),this.ctx.closePath()},e.prototype.formatPath=function(A){var e=this;A.forEach(function(A,t){var n=js(A)?A.start:A;0===t?e.ctx.moveTo(n.x,n.y):e.ctx.lineTo(n.x,n.y),js(A)&&e.ctx.bezierCurveTo(A.startControl.x,A.startControl.y,A.endControl.x,A.endControl.y,A.end.x,A.end.y)})},e.prototype.renderRepeat=function(A,e,t,n){this.path(A),this.ctx.fillStyle=e,this.ctx.translate(t,n),this.ctx.fill(),this.ctx.translate(-t,-n)},e.prototype.resizeImage=function(A,e,t){var n;if(A.width===e&&A.height===t)return A;var r=(null!==(n=this.canvas.ownerDocument)&&void 0!==n?n:document).createElement("canvas");return r.width=Math.max(1,e),r.height=Math.max(1,t),r.getContext("2d").drawImage(A,0,0,A.width,A.height,0,0,e,t),r},e.prototype.renderBackgroundImage=function(A){return Q(this,0,void 0,function(){var e,t,n,r,s,o;return h(this,function(i){switch(i.label){case 0:e=A.styles.backgroundImage.length-1,t=function(t){var r,s,o,i,a,c,B,l,d,u,g,w,Q,p,f,C,F,U,m,y,b,H,E,v,I,K,D,L,x,k,M;return h(this,function(h){switch(h.label){case 0:if(0!==t.type)return[3,5];r=void 0,s=t.url,h.label=1;case 1:return h.trys.push([1,3,,4]),[4,n.context.cache.match(s)];case 2:return r=h.sent(),[3,4];case 3:return h.sent(),n.context.logger.error("Error loading background-image "+s),[3,4];case 4:return r&&(o=lo(A,e,[r.width,r.height,r.width/r.height]),C=o[0],H=o[1],E=o[2],m=o[3],y=o[4],p=n.ctx.createPattern(n.resizeImage(r,m,y),"repeat"),n.renderRepeat(C,p,H,E)),[3,6];case 5:1===t.type?(i=lo(A,e,[null,null,null]),C=i[0],H=i[1],E=i[2],m=i[3],y=i[4],a=function(A,e,t){var n="number"==typeof A?A:function(A,e,t){var n=e/2,r=t/2,s=Fe(A[0],e)-n,o=r-Fe(A[1],t);return(Math.atan2(o,s)+2*Math.PI)%(2*Math.PI)}(A,e,t),r=Math.abs(e*Math.sin(n))+Math.abs(t*Math.cos(n)),s=e/2,o=t/2,i=r/2,a=Math.sin(n-Math.PI/2)*i,c=Math.cos(n-Math.PI/2)*i;return[r,s-c,s+c,o-a,o+a]}(t.angle,m,y),c=a[0],B=a[1],l=a[2],d=a[3],u=a[4],(g=document.createElement("canvas")).width=m,g.height=y,w=g.getContext("2d"),Q=w.createLinearGradient(B,d,l,u),Pe(t.stops,c).forEach(function(A){return Q.addColorStop(A.stop,Ke(A.color))}),w.fillStyle=Q,w.fillRect(0,0,m,y),m>0&&y>0&&(p=n.ctx.createPattern(g,"repeat"),n.renderRepeat(C,p,H,E))):2===t.type&&(f=lo(A,e,[null,null,null]),C=f[0],F=f[1],U=f[2],m=f[3],y=f[4],b=0===t.position.length?[pe]:t.position,H=Fe(b[0],m),E=Fe(b[b.length-1],y),v=function(A,e,t,n,r){var s=0,o=0;switch(A.size){case 0:0===A.shape?s=o=Math.min(Math.abs(e),Math.abs(e-n),Math.abs(t),Math.abs(t-r)):1===A.shape&&(s=Math.min(Math.abs(e),Math.abs(e-n)),o=Math.min(Math.abs(t),Math.abs(t-r)));break;case 2:if(0===A.shape)s=o=Math.min(Je(e,t),Je(e,t-r),Je(e-n,t),Je(e-n,t-r));else if(1===A.shape){var i=Math.min(Math.abs(t),Math.abs(t-r))/Math.min(Math.abs(e),Math.abs(e-n)),a=Xe(n,r,e,t,!0),c=a[0],B=a[1];o=i*(s=Je(c-e,(B-t)/i))}break;case 1:0===A.shape?s=o=Math.max(Math.abs(e),Math.abs(e-n),Math.abs(t),Math.abs(t-r)):1===A.shape&&(s=Math.max(Math.abs(e),Math.abs(e-n)),o=Math.max(Math.abs(t),Math.abs(t-r)));break;case 3:if(0===A.shape)s=o=Math.max(Je(e,t),Je(e,t-r),Je(e-n,t),Je(e-n,t-r));else if(1===A.shape){i=Math.max(Math.abs(t),Math.abs(t-r))/Math.max(Math.abs(e),Math.abs(e-n));var l=Xe(n,r,e,t,!1);c=l[0],B=l[1],o=i*(s=Je(c-e,(B-t)/i))}}return Array.isArray(A.size)&&(s=Fe(A.size[0],n),o=2===A.size.length?Fe(A.size[1],r):s),[s,o]}(t,H,E,m,y),I=v[0],K=v[1],I>0&&K>0&&(D=n.ctx.createRadialGradient(F+H,U+E,0,F+H,U+E,I),Pe(t.stops,2*I).forEach(function(A){return D.addColorStop(A.stop,Ke(A.color))}),n.path(C),n.ctx.fillStyle=D,I!==K?(L=A.bounds.left+.5*A.bounds.width,x=A.bounds.top+.5*A.bounds.height,M=1/(k=K/I),n.ctx.save(),n.ctx.translate(L,x),n.ctx.transform(1,0,0,k,0,0),n.ctx.translate(-L,-x),n.ctx.fillRect(F,M*(U-x)+x,m,y*M),n.ctx.restore()):n.ctx.fill())),h.label=6;case 6:return e--,[2]}})},n=this,r=0,s=A.styles.backgroundImage.slice(0).reverse(),i.label=1;case 1:return r<s.length?(o=s[r],[5,t(o)]):[3,4];case 2:i.sent(),i.label=3;case 3:return r++,[3,1];case 4:return[2]}})})},e.prototype.renderSolidBorder=function(A,e,t){return Q(this,0,void 0,function(){return h(this,function(n){return this.path(oo(t,e)),this.ctx.fillStyle=Ke(A),this.ctx.fill(),[2]})})},e.prototype.renderDoubleBorder=function(A,e,t,n){return Q(this,0,void 0,function(){var r,s;return h(this,function(o){switch(o.label){case 0:return e<3?[4,this.renderSolidBorder(A,t,n)]:[3,2];case 1:return o.sent(),[2];case 2:return r=function(A,e){switch(e){case 0:return ao(A.topLeftBorderBox,A.topLeftBorderDoubleOuterBox,A.topRightBorderBox,A.topRightBorderDoubleOuterBox);case 1:return ao(A.topRightBorderBox,A.topRightBorderDoubleOuterBox,A.bottomRightBorderBox,A.bottomRightBorderDoubleOuterBox);case 2:return ao(A.bottomRightBorderBox,A.bottomRightBorderDoubleOuterBox,A.bottomLeftBorderBox,A.bottomLeftBorderDoubleOuterBox);default:return ao(A.bottomLeftBorderBox,A.bottomLeftBorderDoubleOuterBox,A.topLeftBorderBox,A.topLeftBorderDoubleOuterBox)}}(n,t),this.path(r),this.ctx.fillStyle=Ke(A),this.ctx.fill(),s=function(A,e){switch(e){case 0:return ao(A.topLeftBorderDoubleInnerBox,A.topLeftPaddingBox,A.topRightBorderDoubleInnerBox,A.topRightPaddingBox);case 1:return ao(A.topRightBorderDoubleInnerBox,A.topRightPaddingBox,A.bottomRightBorderDoubleInnerBox,A.bottomRightPaddingBox);case 2:return ao(A.bottomRightBorderDoubleInnerBox,A.bottomRightPaddingBox,A.bottomLeftBorderDoubleInnerBox,A.bottomLeftPaddingBox);default:return ao(A.bottomLeftBorderDoubleInnerBox,A.bottomLeftPaddingBox,A.topLeftBorderDoubleInnerBox,A.topLeftPaddingBox)}}(n,t),this.path(s),this.ctx.fill(),[2]}})})},e.prototype.renderNodeBackgroundAndBorders=function(A){return Q(this,0,void 0,function(){var e,t,n,r,s,o,i,a,c=this;return h(this,function(B){switch(B.label){case 0:return this.applyEffects(A.getEffects(2)),e=A.container.styles,t=!Ie(e.backgroundColor)||e.backgroundImage.length,n=[{style:e.borderTopStyle,color:e.borderTopColor,width:e.borderTopWidth},{style:e.borderRightStyle,color:e.borderRightColor,width:e.borderRightWidth},{style:e.borderBottomStyle,color:e.borderBottomColor,width:e.borderBottomWidth},{style:e.borderLeftStyle,color:e.borderLeftColor,width:e.borderLeftWidth}],r=mo(Qo(e.backgroundClip,0),A.curves),t||e.boxShadow.length?(this.ctx.save(),this.path(r),this.ctx.clip(),Ie(e.backgroundColor)||(this.ctx.fillStyle=Ke(e.backgroundColor),this.ctx.fill()),[4,this.renderBackgroundImage(A.container)]):[3,2];case 1:B.sent(),this.ctx.restore(),e.boxShadow.slice(0).reverse().forEach(function(e){c.ctx.save();var t,n,r,s,o,i=Ws(A.curves),a=e.inset?0:1e4,B=(t=i,n=-a+(e.inset?1:-1)*e.spread.number,r=(e.inset?1:-1)*e.spread.number,s=e.spread.number*(e.inset?-2:2),o=e.spread.number*(e.inset?-2:2),t.map(function(A,e){switch(e){case 0:return A.add(n,r);case 1:return A.add(n+s,r);case 2:return A.add(n+s,r+o);case 3:return A.add(n,r+o)}return A}));e.inset?(c.path(i),c.ctx.clip(),c.mask(B)):(c.mask(i),c.ctx.clip(),c.path(B)),c.ctx.shadowOffsetX=e.offsetX.number+a,c.ctx.shadowOffsetY=e.offsetY.number,c.ctx.shadowColor=Ke(e.color),c.ctx.shadowBlur=e.blur.number,c.ctx.fillStyle=e.inset?Ke(e.color):"rgba(0,0,0,1)",c.ctx.fill(),c.ctx.restore()}),B.label=2;case 2:s=0,o=0,i=n,B.label=3;case 3:return o<i.length?0!==(a=i[o]).style&&!Ie(a.color)&&a.width>0?2!==a.style?[3,5]:[4,this.renderDashedDottedBorder(a.color,a.width,s,A.curves,2)]:[3,11]:[3,13];case 4:return B.sent(),[3,11];case 5:return 3!==a.style?[3,7]:[4,this.renderDashedDottedBorder(a.color,a.width,s,A.curves,3)];case 6:return B.sent(),[3,11];case 7:return 4!==a.style?[3,9]:[4,this.renderDoubleBorder(a.color,a.width,s,A.curves)];case 8:return B.sent(),[3,11];case 9:return[4,this.renderSolidBorder(a.color,s,A.curves)];case 10:B.sent(),B.label=11;case 11:s++,B.label=12;case 12:return o++,[3,3];case 13:return[2]}})})},e.prototype.renderDashedDottedBorder=function(A,e,t,n,r){return Q(this,0,void 0,function(){var s,o,i,a,c,B,l,d,u,g,w,Q,p,f,C,F;return h(this,function(h){return this.ctx.save(),s=function(A,e){switch(e){case 0:return io(A.topLeftBorderStroke,A.topRightBorderStroke);case 1:return io(A.topRightBorderStroke,A.bottomRightBorderStroke);case 2:return io(A.bottomRightBorderStroke,A.bottomLeftBorderStroke);default:return io(A.bottomLeftBorderStroke,A.topLeftBorderStroke)}}(n,t),o=oo(n,t),2===r&&(this.path(o),this.ctx.clip()),js(o[0])?(i=o[0].start.x,a=o[0].start.y):(i=o[0].x,a=o[0].y),js(o[1])?(c=o[1].end.x,B=o[1].end.y):(c=o[1].x,B=o[1].y),l=0===t||2===t?Math.abs(i-c):Math.abs(a-B),this.ctx.beginPath(),3===r?this.formatPath(s):this.formatPath(o.slice(0,2)),d=e<3?3*e:2*e,u=e<3?2*e:e,3===r&&(d=e,u=e),g=!0,l<=2*d?g=!1:l<=2*d+u?(d*=w=l/(2*d+u),u*=w):(Q=Math.floor((l+u)/(d+u)),p=(l-Q*d)/(Q-1),u=(f=(l-(Q+1)*d)/Q)<=0||Math.abs(u-p)<Math.abs(u-f)?p:f),g&&(3===r?this.ctx.setLineDash([0,d+u]):this.ctx.setLineDash([d,u])),3===r?(this.ctx.lineCap="round",this.ctx.lineWidth=e):this.ctx.lineWidth=2*e+1.1,this.ctx.strokeStyle=Ke(A),this.ctx.stroke(),this.ctx.setLineDash([]),2===r&&(js(o[0])&&(C=o[3],F=o[0],this.ctx.beginPath(),this.formatPath([new Ps(C.end.x,C.end.y),new Ps(F.start.x,F.start.y)]),this.ctx.stroke()),js(o[1])&&(C=o[1],F=o[2],this.ctx.beginPath(),this.formatPath([new Ps(C.end.x,C.end.y),new Ps(F.start.x,F.start.y)]),this.ctx.stroke())),this.ctx.restore(),[2]})})},e.prototype.render=function(A){return Q(this,0,void 0,function(){var e;return h(this,function(t){switch(t.label){case 0:return this.options.backgroundColor&&(this.ctx.fillStyle=Ke(this.options.backgroundColor),this.ctx.fillRect(this.options.x,this.options.y,this.options.width,this.options.height)),n=new no(A,null),r=new to(n),ro(n,r,r,s=[]),so(n.container,s),e=r,[4,this.renderStack(e)];case 1:return t.sent(),this.applyEffects([]),[2,this.canvas]}var n,r,s})})},e}(Co),Uo=function(A){return A instanceof Ir||A instanceof vr||A instanceof Er&&A.type!==br&&A.type!==yr},mo=function(A,e){switch(A){case 0:return Ws(e);case 2:return function(A){return[A.topLeftContentBox,A.topRightContentBox,A.bottomRightContentBox,A.bottomLeftContentBox]}(e);default:return zs(e)}},yo=function(A){switch(A){case 1:return"center";case 2:return"right";default:return"left"}},bo=["-apple-system","system-ui"],Ho=function(A){return/iPhone OS 15_(0|1)/.test(window.navigator.userAgent)?A.filter(function(A){return-1===bo.indexOf(A)}):A},Eo=function(A){function e(e,t){var n=A.call(this,e,t)||this;return n.canvas=t.canvas?t.canvas:document.createElement("canvas"),n.ctx=n.canvas.getContext("2d"),n.options=t,n.canvas.width=Math.floor(t.width*t.scale),n.canvas.height=Math.floor(t.height*t.scale),n.canvas.style.width=t.width+"px",n.canvas.style.height=t.height+"px",n.ctx.scale(n.options.scale,n.options.scale),n.ctx.translate(-t.x,-t.y),n.context.logger.debug("EXPERIMENTAL ForeignObject renderer initialized ("+t.width+"x"+t.height+" at "+t.x+","+t.y+") with scale "+t.scale),n}return g(e,A),e.prototype.render=function(A){return Q(this,0,void 0,function(){var e,t;return h(this,function(n){switch(n.label){case 0:return e=or(this.options.width*this.options.scale,this.options.height*this.options.scale,this.options.scale,this.options.scale,A),[4,vo(e)];case 1:return t=n.sent(),this.options.backgroundColor&&(this.ctx.fillStyle=Ke(this.options.backgroundColor),this.ctx.fillRect(0,0,this.options.width*this.options.scale,this.options.height*this.options.scale)),this.ctx.drawImage(t,-this.options.x*this.options.scale,-this.options.y*this.options.scale),[2,this.canvas]}})})},e}(Co),vo=function(A){return new Promise(function(e,t){var n=new Image;n.onload=function(){e(n)},n.onerror=t,n.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent((new XMLSerializer).serializeToString(A))})},Io=function(){function A(A){var e=A.id,t=A.enabled;this.id=e,this.enabled=t,this.start=Date.now()}return A.prototype.debug=function(){for(var A=[],e=0;e<arguments.length;e++)A[e]=arguments[e];this.enabled&&("undefined"!=typeof window&&window.console&&"function"==typeof console.debug||this.info.apply(this,A))},A.prototype.getTime=function(){return Date.now()-this.start},A.prototype.info=function(){for(var A=[],e=0;e<arguments.length;e++)A[e]=arguments[e];this.enabled&&"undefined"!=typeof window&&window.console&&console.info},A.prototype.warn=function(){for(var A=[],e=0;e<arguments.length;e++)A[e]=arguments[e];this.enabled&&("undefined"!=typeof window&&window.console&&"function"==typeof console.warn||this.info.apply(this,A))},A.prototype.error=function(){for(var A=[],e=0;e<arguments.length;e++)A[e]=arguments[e];this.enabled&&("undefined"!=typeof window&&window.console&&"function"==typeof console.error||this.info.apply(this,A))},A.instances={},A}(),Ko=function(){function A(e,t){var n;this.windowBounds=t,this.instanceName="#"+A.instanceCount++,this.logger=new Io({id:this.instanceName,enabled:e.logging}),this.cache=null!==(n=e.cache)&&void 0!==n?n:new ks(this,e)}return A.instanceCount=1,A}();"undefined"!=typeof window&&xs.setContext(window);function Do(A,e){if("Tab"!==e.key)return;const t=A.querySelectorAll('button:not([disabled]), input:not([disabled]):not([type="hidden"]):not([style*="display:none"]), textarea:not([disabled]), select:not([disabled]), [tabindex]:not([tabindex="-1"])');if(0===t.length)return;const n=t[0],r=t[t.length-1];e.shiftKey&&document.activeElement===n?(e.preventDefault(),r.focus()):e.shiftKey||document.activeElement!==r||(e.preventDefault(),n.focus())}const Lo={WindowsPhone:/windows phone/i,Android:/android/i,iOS:/iPad|iPhone|iPod/,Windows:/Win/i,MacOS:/Mac/i,Linux:/Linux/i};async function xo(){try{const t=await(A=document.body,e={scrollX:0,scrollY:0,windowWidth:document.documentElement.scrollWidth,windowHeight:document.documentElement.scrollHeight,ignoreElements:A=>!("object"!=typeof A||"string"!=typeof A.className||!A.className.includes("fj-feedback-modal"))},void 0===e&&(e={}),function(A,e){return Q(void 0,0,void 0,function(){var t,n,r,s,o,i,a,c,B,l,d,u,g,Q,C,F,U,m,y,b,H,E,v,I,K,D,L,x,k,M,S,G,T,O,V,N,R,P;return h(this,function(h){switch(h.label){case 0:if(!A||"object"!=typeof A)return[2,Promise.reject("Invalid element provided as first argument")];if(!(t=A.ownerDocument))throw new Error("Element is not attached to a Document");if(!(n=t.defaultView))throw new Error("Document is not attached to a Window");return r={allowTaint:null!==(E=e.allowTaint)&&void 0!==E&&E,imageTimeout:null!==(v=e.imageTimeout)&&void 0!==v?v:15e3,proxy:e.proxy,useCORS:null!==(I=e.useCORS)&&void 0!==I&&I},s=w({logging:null===(K=e.logging)||void 0===K||K,cache:e.cache},r),o={windowWidth:null!==(D=e.windowWidth)&&void 0!==D?D:n.innerWidth,windowHeight:null!==(L=e.windowHeight)&&void 0!==L?L:n.innerHeight,scrollX:null!==(x=e.scrollX)&&void 0!==x?x:n.pageXOffset,scrollY:null!==(k=e.scrollY)&&void 0!==k?k:n.pageYOffset},i=new p(o.scrollX,o.scrollY,o.windowWidth,o.windowHeight),a=new Ko(s,i),c=null!==(M=e.foreignObjectRendering)&&void 0!==M&&M,B={allowTaint:null!==(S=e.allowTaint)&&void 0!==S&&S,onclone:e.onclone,ignoreElements:e.ignoreElements,inlineImages:c,copyStyles:c},a.logger.debug("Starting document clone with size "+i.width+"x"+i.height+" scrolled to "+-i.left+","+-i.top),l=new hs(a,A,B),(d=l.clonedReferenceElement)?[4,l.toIFrame(t,i)]:[2,Promise.reject("Unable to find element in cloned iframe")];case 1:return u=h.sent(),g=Xr(d)||"HTML"===d.tagName?function(A){var e=A.body,t=A.documentElement;if(!e||!t)throw new Error("Unable to get document size");var n=Math.max(Math.max(e.scrollWidth,t.scrollWidth),Math.max(e.offsetWidth,t.offsetWidth),Math.max(e.clientWidth,t.clientWidth)),r=Math.max(Math.max(e.scrollHeight,t.scrollHeight),Math.max(e.offsetHeight,t.offsetHeight),Math.max(e.clientHeight,t.clientHeight));return new p(0,0,n,r)}(d.ownerDocument):f(a,d),Q=g.width,C=g.height,F=g.left,U=g.top,m=function(A,e,t){var n=e.ownerDocument,r=n.documentElement?Te(A,getComputedStyle(n.documentElement).backgroundColor):Oe.TRANSPARENT,s=n.body?Te(A,getComputedStyle(n.body).backgroundColor):Oe.TRANSPARENT,o="string"==typeof t?Te(A,t):null===t?Oe.TRANSPARENT:4294967295;return e===n.documentElement?Ie(r)?Ie(s)?o:s:r:o}(a,d,e.backgroundColor),y={canvas:e.canvas,backgroundColor:m,scale:null!==(T=null!==(G=e.scale)&&void 0!==G?G:n.devicePixelRatio)&&void 0!==T?T:1,x:(null!==(O=e.x)&&void 0!==O?O:0)+F,y:(null!==(V=e.y)&&void 0!==V?V:0)+U,width:null!==(N=e.width)&&void 0!==N?N:Math.ceil(Q),height:null!==(R=e.height)&&void 0!==R?R:Math.ceil(C)},c?(a.logger.debug("Document cloned, using foreign object rendering"),[4,new Eo(a,y).render(d)]):[3,3];case 2:return b=h.sent(),[3,5];case 3:return a.logger.debug("Document cloned, element located at "+F+","+U+" with size "+Q+"x"+C+" using computed rendering"),a.logger.debug("Starting DOM parsing"),H=kr(a,d),m===H.styles.backgroundColor&&(H.styles.backgroundColor=Oe.TRANSPARENT),a.logger.debug("Starting renderer for element at "+y.x+","+y.y+" with size "+y.width+"x"+y.height),[4,new Fo(a,y).render(H)];case 4:b=h.sent(),h.label=5;case 5:return(null===(P=e.removeContainer)||void 0===P||P)&&(hs.destroy(u)||a.logger.error("Cannot detach cloned iframe as it is not in the DOM anymore")),a.logger.debug("Finished rendering"),[2,b]}})})}(A,e));return await new Promise(A=>t.toBlob(A,"image/jpeg",.8))}catch(A){return null}var A,e}class ko{constructor(A){this._connectivityError=null,this._integrationStatus="pending",this.config=A}get connectivityError(){return this._connectivityError}get integrationStatus(){return this._integrationStatus}setStatus(A,e){this._integrationStatus=A,void 0!==e&&(this._connectivityError=e)}handleIntegrationStatus(){return"pending"===this._integrationStatus?(this.renderPendingTest(),!0):"ko"===this._integrationStatus&&(this._connectivityError||(this._connectivityError="communication_error"),this.renderError(),!0)}closeModal(){const A=document.getElementById(this.config.modalId);A?(A.classList.add("fj-closing"),A.addEventListener("animationend",()=>{A.remove(),document.body.classList.remove(this.config.bodyOpenClass),this.config.toggleHtmlClass&&document.documentElement.classList.remove(this.config.bodyOpenClass)},{once:!0})):(document.body.classList.remove(this.config.bodyOpenClass),this.config.toggleHtmlClass&&document.documentElement.classList.remove(this.config.bodyOpenClass))}async checkConnectivity(){try{const A=await fetch(this.config.connectivityCheckUrl,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(this.config.connectivityCheckBody)});if(A.ok)return this._connectivityError=null,!0;const e=await A.json();return this._connectivityError="no_subscription"===e.error?"no_subscription":"communication_error",!1}catch(A){return this._connectivityError="communication_error",!1}}openModal(A){this.closeModal();const e=document.createElement("div");return e.id=this.config.modalId,e.className=A,e.setAttribute("role","dialog"),e.setAttribute("aria-modal","true"),e.addEventListener("click",A=>{A.target===e&&this.closeModal()}),e.addEventListener("keydown",A=>{"Escape"===A.key&&this.closeModal(),Do(e,A)}),document.body.classList.add(this.config.bodyOpenClass),this.config.toggleHtmlClass&&document.documentElement.classList.add(this.config.bodyOpenClass),document.body.appendChild(e),requestAnimationFrame(()=>{var A;null===(A=e.querySelector("button"))||void 0===A||A.focus()}),e}renderError(){const A=this.openModal("fj-it-modal fj-it-error");this.renderErrorContent(A)}renderErrorContent(A){var e;const t="no_subscription"===this._connectivityError,r=B(t?"error.no_subscription.title":"error.communication.title"),s=B(t?"error.no_subscription.description":"error.communication.description");A.innerHTML=`\n <div class="fj-it-content" data-version="v2.3.2">\n <div class="fj-it-header">\n <div class="fj-it-robot" aria-hidden="true">${n}</div>\n <div class="fj-it-bubble">\n <p class="fj-it-title">${r}</p>\n <div class="fj-it-text">${s}</div>\n </div>\n </div>\n <div class="fj-it-footer">\n <button type="button" class="${this.config.btnPrimaryClasses} fj-it-btn-close">${B("global.close")}</button>\n </div>\n </div>\n `,null===(e=A.querySelector(".fj-it-btn-close"))||void 0===e||e.addEventListener("click",()=>this.closeModal())}renderPendingTest(){const A=this.openModal("fj-it-modal fj-it-pending");A.innerHTML=`\n <div class="fj-it-content" data-version="v2.3.2">\n <div class="fj-it-header">\n <div class="fj-it-robot" aria-hidden="true">${d}</div>\n <div class="fj-it-bubble">\n <p class="fj-it-title">${B(this.config.pendingTitleKey)}</p>\n <div class="fj-it-text">\n ${B(this.config.pendingTextKey)}\n </div>\n </div>\n </div>\n <div class="fj-it-footer">\n <button type="button" class="${this.config.btnOutlineClasses} fj-it-btn-cancel">\n ${B(this.config.cancelLabelKey)}\n </button>\n <button type="button" class="${this.config.btnPrimaryClasses} fj-it-btn-test">\n ${B("integration_test.pending.button")}\n </button>\n </div>\n </div>\n `;const e=A.querySelector(".fj-it-btn-cancel"),t=A.querySelector(".fj-it-btn-test"),n=A.querySelector(".fj-it-robot"),r=A.querySelector(".fj-it-title"),s=A.querySelector(".fj-it-text");null==e||e.addEventListener("click",()=>this.closeModal()),null==t||t.addEventListener("click",async()=>{var o;t.disabled=!0,t.classList.add(this.config.btnLoadingClass),t.textContent=B("integration_test.checking.button"),n&&(n.innerHTML=d),r&&(r.textContent=B("integration_test.checking.title")),s&&(s.textContent=B(this.config.checkingTextKey));const i=await this.checkConnectivity();if(t.classList.remove(this.config.btnLoadingClass),e&&(e.style.display="none"),i)this._integrationStatus="ok",n&&(n.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" width="102" height="153" fill="none"><ellipse cx="49.54" cy="141" fill="url(#a)" fill-opacity=".6" rx="18.5" ry="4"/><ellipse cx="49.04" cy="150" fill="url(#b)" fill-opacity=".6" rx="13" ry="3"/><path fill="url(#c)" d="M7.23 90.83c1.549.77 3.233 3.719 5.691 4.708 2.46.987 8.138 2.22 7.73 7.033-.409 4.813-3.725 9.471-6.653 10.234s-7.747-.856-10.02-4.244C1.48 104.838-.15 97.453 1.126 94.549s3.157-5.18 6.102-3.717z"/><path fill="url(#d)" d="M50.17 102.076c-13.55.539-22.023-5.532-25.11 2.18-2.6 6.497 7.49 23.669 24.473 23.744 17.528.078 27.417-16.423 24.766-23.956-2.174-6.182-10.046-2.526-24.13-1.968"/><path fill="url(#e)" d="M51.865 99.61c22.542-1.043 40.186-16.253 39.408-33.973S71.591 34.4 49.048 35.442C26.506 36.485 8.862 51.695 9.64 69.414s19.682 31.239 42.225 30.196"/><path fill="url(#f)" d="M80.651 97.223c-1.702.72-3.473 2.594-1.578 5.511s1.894 7.132 2.368 8.753c.474 1.62 4.105 1.62 7.578-1.135 3.474-2.755 7.455-6.846 7.946-12.288.45-4.985-.456-6.827-3.05-7.833-1.621-.628-4.535-.087-6.266 2.08-1.555 1.949-4.313 3.776-6.996 4.912z"/><path fill="url(#g)" d="M49.402 53.828c12.153-.557 22.213 2.962 23.826 3.811 1.234.65 2.695 6.773 2.743 12.569.046 5.796-2.028 11.917-2.857 12.786-1.176 1.234-11.778 4.117-22.535 3.992-12.059-.14-23.69-3.305-24.673-4.661-1.136-1.572-1.99-8.124-1.955-11.61.032-3.185.532-10.637 1.938-12.255 1.149-1.323 11.858-4.097 23.513-4.632"/><path fill="#345C16" d="M50.991 21.585c4.344 0 7.865-3.616 7.865-8.075 0-4.46-3.521-8.075-7.865-8.075s-7.865 3.615-7.865 8.075 3.521 8.075 7.865 8.075"/><path fill="#CCF4A2" d="M54.173 9.108c.98.683.816 2.1.988 4.025.158 1.779-2.456 4.642-4.421 4.608s-3.835-.807-4.885-2.798c-1.008-1.915-.891-3.035-.373-4.375.606-1.563 2.57-3.158 4.911-3.067 2.342.091 2.747.888 3.78 1.607"/><path fill="#529B15" d="M55.093 18.138c.951-.703 2.421-2.695 2-5.184-.485-2.866-1.594-4.714-3.541-4.42-1.983.3-3.582 1.045-3.537 2.995.046 1.95 1.055 3.385-.165 4.641-1.219 1.255.044 3.811 1.476 3.632 2.17-.27 2.845-.984 3.767-1.664"/><path fill="#fff" d="M48.816 12.387c.857-.415 2.502-1.182 2.838-2.068.336-.885.37-2.128-.499-2.797-.87-.668-2.097-.977-3.116-.184s-2.712 2.074-2.07 3.257c.641 1.185.544 2.21 1.628 2.062 1.082-.148 1.22-.27 1.22-.27"/><path fill="#345C16" d="M58.129 4.112a.86.86 0 0 1-.564-.211c-.835-.72-2.38-1.377-2.395-1.384a.91.91 0 0 1-.477-1.176.87.87 0 0 1 1.144-.49c.074.03 1.81.768 2.857 1.67a.92.92 0 0 1 .107 1.27.86.86 0 0 1-.672.321M47.72 2.27a.88.88 0 0 1-.84-.642.906.906 0 0 1 .587-1.122c.063-.02 1.568-.48 2.99-.506h.017a.89.89 0 0 1 .877.885.89.89 0 0 1-.862.917c-1.175.022-2.503.426-2.516.43a1 1 0 0 1-.252.038zm-6.35 4.326a.86.86 0 0 1-.54-.191.92.92 0 0 1-.152-1.265c.041-.054 1.03-1.345 2.2-2.22a.863.863 0 0 1 1.227.196c.285.403.2.966-.192 1.26-.975.729-1.843 1.863-1.852 1.874a.87.87 0 0 1-.691.346m-2.661 7.448h-.015a.89.89 0 0 1-.863-.914c0-.07.03-1.71.448-3.129a.874.874 0 0 1 1.094-.602.906.906 0 0 1 .586 1.124c-.347 1.18-.373 2.619-.373 2.633a.89.89 0 0 1-.877.887zm1.995 7.586a.87.87 0 0 1-.728-.396c-.038-.057-.914-1.394-1.361-2.78a.907.907 0 0 1 .557-1.138c.46-.158.957.1 1.11.572.371 1.15 1.14 2.325 1.147 2.337a.916.916 0 0 1-.235 1.25.86.86 0 0 1-.491.155m6.124 4.943a.8.8 0 0 1-.288-.05c-.062-.023-1.546-.556-2.71-1.392a.917.917 0 0 1-.216-1.255.863.863 0 0 1 1.222-.222c.96.69 2.268 1.162 2.28 1.166a.91.91 0 0 1 .54 1.148.88.88 0 0 1-.828.605m4.803.762a.89.89 0 0 1-.879-.9.89.89 0 0 1 .876-.903c1.2-.003 2.557-.399 2.57-.402a.876.876 0 0 1 1.087.617.904.904 0 0 1-.6 1.115c-.065.02-1.603.469-3.052.473zm7.244-2.783a.87.87 0 0 1-.7-.355.917.917 0 0 1 .168-1.263c.95-.742 1.798-1.897 1.808-1.91a.863.863 0 0 1 1.229-.18.917.917 0 0 1 .176 1.26c-.04.056-1 1.367-2.15 2.264a.86.86 0 0 1-.53.184m4.155-6.526a.9.9 0 0 1-.276-.046.907.907 0 0 1-.558-1.139c.377-1.169.442-2.617.443-2.631a.885.885 0 0 1 .915-.86.893.893 0 0 1 .84.938c-.003.068-.077 1.708-.53 3.119a.88.88 0 0 1-.834.619m.068-8.19a.88.88 0 0 1-.8-.529c-.519-1.174-1.422-2.03-1.43-2.039a.92.92 0 0 1-.057-1.272.86.86 0 0 1 1.238-.061c.048.044 1.174 1.104 1.85 2.626.2.453.005.988-.436 1.193a.85.85 0 0 1-.363.08z"/><path fill="#D9EFFD" d="M55.275 69.694c.687-1.293 3.67-4.573 4.571-5.54 1.042-1.122 3.902-1.663 5.16.101 1.26 1.764 3.673 4.178 4.267 5.91.45 1.307.645 2.955-.992 3.362-2.428.604-3.63-3.065-4.317-3.77s-2.423-.756-3.225-.05c-.802.705-2.012 3.096-2.928 3.565-.916.47-2.977.51-3.224-1.109-.266-1.742.687-2.469.687-2.469zm-23.552 0c.687-1.293 3.67-4.573 4.571-5.54 1.042-1.122 3.902-1.663 5.16.101 1.26 1.764 3.673 4.178 4.267 5.91.45 1.307.645 2.955-.992 3.362-2.428.604-3.63-3.065-4.317-3.77s-2.423-.756-3.225-.05c-.801.705-2.011 3.096-2.928 3.565-.916.47-2.977.51-3.224-1.109-.265-1.742.687-2.469.687-2.469z"/><path fill="url(#h)" d="M20.2 31.648a1.52 1.52 0 0 1-1.39-.925l-5.43-12.48c-.343-.788 0-1.71.768-2.063a1.505 1.505 0 0 1 2.01.79l5.43 12.48c.343.788 0 1.71-.768 2.062a1.5 1.5 0 0 1-.62.136"/><path fill="url(#i)" d="M10.257 38.796c-.425 0-.848-.181-1.15-.537L.374 27.944a1.59 1.59 0 0 1 .15-2.203 1.494 1.494 0 0 1 2.146.154l8.735 10.314a1.59 1.59 0 0 1-.15 2.204 1.5 1.5 0 0 1-.997.383"/><path fill="url(#j)" d="M89.766 38.342c-.442 0-.88-.197-1.182-.578a1.59 1.59 0 0 1 .223-2.197l10.336-8.615a1.497 1.497 0 0 1 2.141.229 1.59 1.59 0 0 1-.223 2.197l-10.336 8.615a1.5 1.5 0 0 1-.959.35"/><path fill="url(#k)" d="M80.467 30.33c-.293 0-.59-.087-.85-.269a1.59 1.59 0 0 1-.41-2.168l7.445-11.332a1.5 1.5 0 0 1 2.112-.421 1.59 1.59 0 0 1 .411 2.168L81.73 29.64a1.51 1.51 0 0 1-1.263.688z"/><path fill="#B4BFC6" d="M6.294 109.977s-3.538-2.935-2.116-5.036c.722-1.065 1.964-1.727 3.93-1.234 1.968.494 3.644 1.918 5.367 1.215s2.637-1.205 4.149-1.225c1.301-.018 1.25 1.192 1.232 2.102-.526 1.317-1.333 3.221-1.722 3.691-.388.471-1.96 2.045-3.822 2.299-2.011.273-3.766.324-7.02-1.813zm37.32-5.982c3.875 1.173 5.017.155 12.607 1.471 5.582.967 8.691-.131 11.406-1.466s3.352-3.189 1.593-3.455c0 0-.927-.165-4.135.05-2.736.185-7.632.722-9.587 1.055-3.215.548-11.196.326-13.8-.052-1.522.827.211 1.881 1.916 2.396zm9.778-7.843c3.788-.158 8.353.102 12.063-2.418 3.945-3.112 11.92-2.2 7.943-.072-6.104 3.31-10.788 4.575-13.984 5.131-1.778.309-5.918.783-9.135.873-.754.022-5.169-.021-8.581-.594-.636-2.218 10.332-2.865 11.695-2.921h-.001zm31.439 10.108c.715-1.104 2.287-1.833 3.372-2.7 1.085-.865 2.15-2.108 2.935-3.076.784-.967 2.372-1.404 3.362-1.014s.723 1.423.469 2.286c-.346 1.171-1.224 2.552-2.383 3.968-1.397 2.01-4.333 4.902-6.347 4.218-1.906-.646-2.121-2.578-1.407-3.682m4.778-48.634c.671 2.02 1.12 3.711 1.413 6.5.345 3.275.21 5.909-.486 8.708-1.097 4.422-3.206 8.177-5.053 10.528 0 0 5.55-3.343 7.768-8.126.679-1.465 1.53-4.267 1.536-6.599.008-4.05-1.457-8.738-5.179-11.011"/><path fill="url(#l)" d="M12.253 56.844c-.85 1.947-1.447 3.59-1.99 6.339-.636 3.228-.736 5.864-.294 8.718.699 4.505 2.46 8.445 4.09 10.96 0 0-5.227-3.851-7.009-8.824-.545-1.523-1.143-4.393-.94-6.716.354-4.036 2.234-8.564 6.142-10.477z"/><path fill="#fff" d="M3.1 94.785c-.162.884.023 3.14.733 4.274s2.542.417 2.643-1.3 1.668-4.159.735-4.996c-.934-.837-3.552-1.032-4.11 2.023m29.606 9.566c-1.394-.018-3.273 1.509-3.191 3.013s-.056 3.21.476 4.501c.534 1.289 1.981 4.508 4.1 5.141 2.117.632 3.412 1.029 4.172.137.761-.893.82-1.933.067-3.022-.755-1.088-2.551-2.211-2.312-4.206.237-1.995-.649-5.529-3.313-5.563zM29.47 43.205c-2.254 1.151-7.332 3.844-6.759 6.724.572 2.878 4.472 1.418 6.379.326s5.543-2.765 7.742-3.402 3.363-2.99 2.014-4.3c-1.348-1.31-6.214-.961-9.378.653h.002m57.532 53.957c-1.526-.954-4.42.537-5.8 2-1.382 1.464-.746 3.44.116 3.794.864.353 2.917.182 3.73-2.42.352-1.126 2.932-2.762 1.953-3.375zM8.033 62.257c.542-1.204 2.036-2.6 2.053-1.602.016.999-.939 3.587-1.186 5.094-.288 1.758-.474 3.361-.448 4.397.02.805-1.05 1.781-1.36.526-.071-.292-.531-2.357-.323-4.288.207-1.93 1.083-3.727 1.263-4.128z"/><path fill="#121442" d="M73.114 82.994c-1.176 1.234-11.778 4.118-22.535 3.993-12.059-.14-23.69-3.305-24.673-4.662-1.136-1.572-1.99-8.123-1.955-11.61.032-3.185.532-10.636 1.938-12.255.347-.4.91-.633 1.763-.945 0 0-2.895 14.571.147 22.79.478 1.966 18.572 3.417 20.168 3.45 3.91.082 10.549-.146 17.18-1.15 2.69-.407 7.13-1.66 9.101-2.097-.527 1.78-1.134 2.485-1.134 2.485z"/><path fill="#2C3D82" d="M49.558 107.325s-7.356 2.988-4.743 12.051c.642 2.227 2.928 5.304 6.308 6.509 0 0-5.105-4.379-3.935-10.011.94-4.528 6.106-3.933 6.11-9.163 0 0-1.757-.172-3.74.614"/><path fill="#2C3D82" d="M53.028 113.962c1.955 0 3.54-1.627 3.54-3.634s-1.585-3.635-3.54-3.635-3.54 1.628-3.54 3.635 1.585 3.634 3.54 3.634m-2.698 4.984c1.268 0 2.296-1.055 2.296-2.357s-1.028-2.358-2.296-2.358-2.296 1.056-2.296 2.358 1.028 2.357 2.296 2.357"/><defs><linearGradient id="a" x1="49.54" x2="49.54" y1="137" y2="145" gradientUnits="userSpaceOnUse"><stop stop-color="#F4FDE8"/><stop offset="1" stop-color="#529B15"/></linearGradient><linearGradient id="b" x1="49.04" x2="49.04" y1="147" y2="153" gradientUnits="userSpaceOnUse"><stop stop-color="#F4FDE8"/><stop offset="1" stop-color="#529B15"/></linearGradient><linearGradient id="c" x1=".23" x2="20.61" y1="100.663" y2="102.966" gradientUnits="userSpaceOnUse"><stop stop-color="#F1F2F3"/><stop offset="1" stop-color="#C4CDD3"/></linearGradient><linearGradient id="d" x1="25.741" x2="75.203" y1="116.11" y2="110.075" gradientUnits="userSpaceOnUse"><stop stop-color="#F1F2F3"/><stop offset="1" stop-color="#C4CDD3"/></linearGradient><linearGradient id="e" x1="20.96" x2="88.871" y1="47.498" y2="91.242" gradientUnits="userSpaceOnUse"><stop stop-color="#F1F2F3"/><stop offset="1" stop-color="#C4CDD3"/></linearGradient><linearGradient id="f" x1="78.895" x2="98.249" y1="107.665" y2="95.077" gradientUnits="userSpaceOnUse"><stop stop-color="#F1F2F3"/><stop offset="1" stop-color="#C4CDD3"/></linearGradient><linearGradient id="g" x1="50.864" x2="48.863" y1="96.467" y2="42.134" gradientUnits="userSpaceOnUse"><stop offset=".13" stop-color="#134395"/><stop offset="1" stop-color="#0E2050"/></linearGradient><linearGradient id="h" x1="13.247" x2="21.721" y1="23.847" y2="23.847" gradientUnits="userSpaceOnUse"><stop stop-color="#F1F2F3"/><stop offset=".08" stop-color="#EAECEE"/><stop offset=".4" stop-color="#D5DBDF"/><stop offset=".71" stop-color="#C8D0D6"/><stop offset="1" stop-color="#C4CDD3"/></linearGradient><linearGradient id="i" x1="1.835" x2="9.976" y1="33.344" y2="30.93" gradientUnits="userSpaceOnUse"><stop stop-color="#F1F2F3"/><stop offset=".08" stop-color="#EAECEE"/><stop offset=".4" stop-color="#D5DBDF"/><stop offset=".71" stop-color="#C8D0D6"/><stop offset="1" stop-color="#C4CDD3"/></linearGradient><linearGradient id="j" x1="93.838" x2="96.14" y1="28.271" y2="36.645" gradientUnits="userSpaceOnUse"><stop stop-color="#F1F2F3"/><stop offset=".08" stop-color="#EAECEE"/><stop offset=".4" stop-color="#D5DBDF"/><stop offset=".71" stop-color="#C8D0D6"/><stop offset="1" stop-color="#C4CDD3"/></linearGradient><linearGradient id="k" x1="81.951" x2="86.603" y1="19.41" y2="26.684" gradientUnits="userSpaceOnUse"><stop stop-color="#F1F2F3"/><stop offset=".08" stop-color="#EAECEE"/><stop offset=".4" stop-color="#D5DBDF"/><stop offset=".71" stop-color="#C8D0D6"/><stop offset="1" stop-color="#C4CDD3"/></linearGradient><linearGradient id="l" x1="6.361" x2="15.006" y1="71.407" y2="69.531" gradientUnits="userSpaceOnUse"><stop stop-color="#F1F2F3"/><stop offset="1" stop-color="#C4CDD3"/></linearGradient></defs></svg>'),r&&(r.textContent=B("integration_test.ok.title")),s&&(s.textContent=B("integration_test.ok.text")),t.textContent=B("integration_test.ok.button"),t.disabled=!1,t.replaceWith(t.cloneNode(!0)),null===(o=A.querySelector(".fj-it-btn-test"))||void 0===o||o.addEventListener("click",()=>{this.closeModal(),this.config.onSuccess()});else{if(this._integrationStatus="ko","no_subscription"===this._connectivityError)return A.className="fj-it-modal fj-it-error",void this.renderErrorContent(A);n&&(n.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" width="110" height="147" fill="none"><path fill="#C65D17" d="M69.808 20.603a7.81 7.81 0 1 0 0-15.619 7.81 7.81 0 0 0 0 15.619"/><path fill="#EE7219" d="M69.106 7.54c1.157-.205 1.997.89 3.417 2.106 1.312 1.124 1.383 4.918-.039 6.256-1.421 1.337-3.273 2.095-5.363 1.441-2.01-.628-2.682-1.487-3.216-2.774-.623-1.504-.302-3.969 1.426-5.527s2.553-1.287 3.774-1.503"/><path fill="#FF9852" d="M75.849 13.16c.203-1.145-.094-3.544-2.073-4.978-2.278-1.65-4.312-2.162-5.5-.611-1.21 1.58-1.846 3.204-.498 4.524s3.033 1.617 3.012 3.332 2.601 2.612 3.5 1.495c1.362-1.689 1.362-2.651 1.559-3.762"/><path fill="#FFDFCA" d="M67.503 13.52c.33-.88.983-2.552.624-3.399-.359-.846-1.171-1.731-2.24-1.593s-2.152.775-2.343 2.03c-.189 1.256-.531 3.316.724 3.692 1.256.377 1.878 1.154 2.549.302.67-.852.686-1.032.686-1.032"/><path fill="#C65D19" d="M76.563 3.752a.9.9 0 0 1-.512-.164c-.93-.67-2.198-1.137-2.21-1.141a.876.876 0 0 1 .6-1.648c.061.023 1.506.553 2.636 1.366a.877.877 0 0 1-.514 1.589zM66.531 2.2A.877.877 0 0 1 66.28.483C66.34.464 67.815.025 69.206 0a.877.877 0 0 1 .03 1.754c-1.15.02-2.44.404-2.452.408a1 1 0 0 1-.254.037zm-6.207 4.119a.876.876 0 0 1-.69-1.417c.041-.051 1.008-1.281 2.155-2.118A.877.877 0 1 1 62.822 4.2c-.944.69-1.797 1.77-1.807 1.782a.87.87 0 0 1-.69.336m-2.603 7.095h-.013a.877.877 0 0 1-.864-.89c0-.065.029-1.63.438-2.984a.876.876 0 1 1 1.679.507c-.34 1.121-.364 2.489-.364 2.503a.877.877 0 0 1-.876.864m1.95 7.223a.87.87 0 0 1-.727-.386c-.037-.054-.896-1.33-1.333-2.653a.877.877 0 0 1 1.665-.552c.36 1.088 1.113 2.21 1.12 2.222a.878.878 0 0 1-.726 1.367zm5.985 4.706a.9.9 0 0 1-.287-.049c-.061-.02-1.513-.53-2.654-1.328a.876.876 0 1 1 1.004-1.437c.938.656 2.213 1.105 2.226 1.11a.877.877 0 0 1-.289 1.704m4.696.725a.877.877 0 0 1-.002-1.754c1.17-.004 2.496-.379 2.509-.382a.876.876 0 0 1 .485 1.685c-.063.018-1.569.446-2.988.45h-.004m7.085-2.648a.876.876 0 0 1-.53-1.575c.925-.704 1.755-1.803 1.763-1.814a.878.878 0 0 1 1.404 1.051c-.04.053-.98 1.302-2.106 2.158a.88.88 0 0 1-.53.179zm4.064-6.214a.877.877 0 0 1-.832-1.153c.367-1.11.43-2.486.432-2.5a.876.876 0 1 1 1.752.075c-.002.065-.074 1.63-.519 2.976a.88.88 0 0 1-.832.601zm.129-8.11a.88.88 0 0 1-.71-.36c-.61-.837-1.567-1.798-1.577-1.807a.877.877 0 0 1 1.24-1.24c.044.043 1.063 1.066 1.755 2.015a.878.878 0 0 1-.707 1.394z"/><path fill="url(#a)" d="M99.026 64.396c1.801-17.578-15.35-33.734-38.309-36.086s-43.03 9.99-44.83 27.568c-1.802 17.577 15.35 33.733 38.308 36.085 22.959 2.353 43.03-9.99 44.831-27.567"/><path fill="url(#b)" d="M53.803 96.185c13.869.058 22.32-6.284 25.74 1.286 2.88 6.377-6.843 23.827-24.2 24.5-17.914.694-28.587-15.385-26.137-22.978 2.011-6.231 10.183-2.869 24.597-2.808"/><path fill="url(#c)" d="M83.645 94.965c1.345-1.848 3.904-1.59 6.506-3.615 2.176-1.691 2.457-4.048 6.65-3.903 2.754.094 5.419 5.556 7.95 6.505 3.47 1.302 6.723 6.671 3.904 9.252s-13.344 2.797-16.192 1.88c-2.847-.916-13.445-3.758-8.818-10.12"/><path fill="url(#d)" d="M12.967 81.728c1.824-1.094 4.736-2.202 7.49.22s7.6 8.481 5.067 11.675-9.473 4.957-13.108 4.957-9.802.11-11.675-2.534c-1.184-1.671-.991-3.634.882-5.507s7.49-6.499 11.344-8.811"/><path fill="url(#e)" d="M60.241 47.556c-11.753-3.09-22.3-1.86-24.05-1.392-1.338.359-4.02 5.874-5.255 11.377s-.463 11.762.167 12.763c.895 1.42 10.657 6.397 21.188 8.543 11.805 2.407 23.813 1.846 25.05.761 1.432-1.254 3.61-7.306 4.291-10.631.622-3.038 1.662-10.23.621-12.065-.85-1.5-10.739-6.395-22.012-9.357z"/><path fill="#121442" d="M77.34 79.61c-1.196 1.128-13.243 1.645-25.05-.761-10.53-2.146-20.292-7.122-21.187-8.543-.632-1.001-1.402-7.261-.168-12.763 1.235-5.502 3.918-11.018 5.257-11.377 0 0 1.184-.316 2.811-.403 0 0-3.678 4.62-4.973 9.983-1.461 6.049-.903 11.235-.884 11.854.019.62.154.835.602 1.184.448.348 9.534 4.456 16.808 6.292 8.616 2.175 22.59 2.933 28.425 1.855 0 0-.834 2.06-1.64 2.68"/><path fill="#D9EFFD" d="M51.307 61.156c.925-4.057-1.34-8.033-5.06-8.88s-7.483 1.753-8.408 5.81c-.925 4.058 1.34 8.034 5.06 8.882s7.483-1.755 8.408-5.812"/><path fill="url(#f)" d="M44.424 62.484a2.86 2.86 0 1 0 0-5.721 2.86 2.86 0 0 0 0 5.721"/><path fill="#D9EFFD" d="M75.309 66.647c.925-4.058-1.34-8.034-5.06-8.882s-7.483 1.755-8.408 5.812 1.34 8.033 5.06 8.88 7.483-1.753 8.408-5.81"/><path fill="url(#g)" d="M68.567 68.174a2.86 2.86 0 1 0 0-5.722 2.86 2.86 0 0 0 0 5.722"/><path fill="url(#h)" d="M101.031 62.802c-.213-1.452-1.159-4.143-2.781-2.65-1.624 1.494-6.84 13.906-7.753 17.294-.497 1.841-1.416 4.543.071 4.094 4.54-1.37 7.34-4.363 9.316-8.87 1.797-4.1 1.361-8.417 1.148-9.869z"/><path fill="url(#i)" d="M21.297 42.644c-1.24 1.664-2.171 3.095-3.282 5.588-1.305 2.928-1.96 5.409-2.132 8.215-.273 4.43.614 8.554 1.67 11.296 0 0-4.283-4.793-4.967-9.902-.21-1.564-.185-4.42.505-6.582 1.198-3.755 3.989-7.648 8.206-8.615"/><path fill="#B4BFC6" d="M91.02 75.824c1.064-3.466.54-4.177-3.846.499-1.219 1.299-3.418 3.865-5.649 5.797-1.037.9-2.638 2.151-6.837 4.014-3.962 1.757-5.406 2.172-9.067 2.824s-8.002 2.309-6.304 3.292c3.8.268 10.365-.541 16.985-2.682 6.546-2.116 11.027-5.804 13.779-8.041-.715-.495.495-4.251.94-5.702zm-6.812 21.478c.016-1.18 2.092-1.324 3.34-1.18 1.25.144 3.925 1.621 5.35 2.602 1.942 1.338 5.066 1.269 6.071 2.169 2.747 2.457-1.427 3.828-3.614 3.47-3.384-.557-11.214-2.126-11.148-7.061m-39.137-.381c.446.206 3.413 1.445 6.53 1.827 3.12.381 8.59.764 11.34.441s6.83-.49 9.155-1.578c2.074-.97 3.508-2.864 2.909-3.454-.675-.662-4.481-.194-5.689.03-5.932 1.099-8.743 1.582-11.64 1.792-4.642.334-11.655-.154-12.56-.18-.518-.09-.833.76-.048 1.122zM8.562 95.276c-.793.68.66 2.314 2.534 2.202 1.873-.11 7.843-.718 9.913-1.982s3.23-2.828 3.084-4.075c-.17-1.471-.991-1.433-2.202-1.102s-11.015 2.974-13.327 4.957z"/><path fill="#fff" d="M37.274 33.182c2.449-.797 8.034-2.519 9.624-.061 1.59 2.457-2.275 4.212-4.43 4.801s-5.975 2.004-8.026 3.126c-2.05 1.122-4.542.282-4.47-1.614.071-1.898 3.866-5.135 7.302-6.251zM15.75 47.052c.754-1.049 2.477-2.1 2.309-1.144-.168.958-1.58 3.25-2.099 4.644-.605 1.625-1.081 3.121-1.247 4.116-.128.773-1.359 1.504-1.431.247-.016-.294-.088-2.352.47-4.157.559-1.805 1.745-3.358 1.997-3.707h.002m89.254 49.319s1.926 1.114 2.432 1.925.81 2.229.101 3.039c-.708.81-1.925.912-2.533.102s-1.317-2.533-1.824-3.343c-.506-.81-.101-2.432 1.824-1.722zm-67.074 4.475c-.777-1.281-2.414-2.424-3.583-2.222-1.118.194-2.605 1.137-2.816 2.669 0 0 .39 3.457 1.79 5.417 1.401 1.961 3.783 3.782 5.043 2.101s.477-6.464-.434-7.966zM4.294 89.403c-.784.524-3.343 2.912-3.077 4.29.208 1.077 1.74 1.225 2.718.735.979-.49 4.206-2.35 3.445-4.307-.318-.817-1.212-1.971-3.086-.718"/><path fill="#2C3D82" d="M54.398 101.707s-7.536 2.383-5.55 11.364c.488 2.207 2.555 5.354 5.842 6.762 0 0-4.788-4.61-3.238-9.994 1.246-4.329 6.354-3.388 6.716-8.466 0 0-1.74-.291-3.77.334"/><path fill="#2C3D82" d="M57.654 108.406a3.537 3.537 0 1 0-.001-7.074 3.537 3.537 0 0 0 .001 7.074m-3.118 4.644a2.294 2.294 0 1 0 0-4.587 2.294 2.294 0 0 0 0 4.587"/><ellipse cx="53.5" cy="135" fill="url(#j)" fill-opacity=".6" rx="18.5" ry="4"/><ellipse cx="53" cy="144" fill="url(#k)" fill-opacity=".6" rx="13" ry="3"/><defs><linearGradient id="a" x1="30.034" x2="94.505" y1="38.434" y2="89.456" gradientUnits="userSpaceOnUse"><stop offset=".07" stop-color="#F1F2F3"/><stop offset="1" stop-color="#C4CDD3"/></linearGradient><linearGradient id="b" x1="29.078" x2="76.812" y1="97.942" y2="112.096" gradientUnits="userSpaceOnUse"><stop stop-color="#F1F2F3"/><stop offset="1" stop-color="#C4CDD3"/></linearGradient><linearGradient id="c" x1="108.681" x2="82.691" y1="94.595" y2="99.393" gradientUnits="userSpaceOnUse"><stop stop-color="#F1F2F3"/><stop offset="1" stop-color="#C4CDD3"/></linearGradient><linearGradient id="d" x1="6.339" x2="22.961" y1="84.75" y2="101.355" gradientUnits="userSpaceOnUse"><stop stop-color="#F1F2F3"/><stop offset="1" stop-color="#C4CDD3"/></linearGradient><linearGradient id="e" x1="50.069" x2="63.068" y1="87.803" y2="36.521" gradientUnits="userSpaceOnUse"><stop offset=".13" stop-color="#134395"/><stop offset="1" stop-color="#0E2050"/></linearGradient><linearGradient id="f" x1="43.08" x2="47.06" y1="58.236" y2="62.347" gradientUnits="userSpaceOnUse"><stop offset=".13" stop-color="#134395"/><stop offset="1" stop-color="#0E2050"/></linearGradient><linearGradient id="g" x1="67.931" x2="71.463" y1="64.503" y2="69.005" gradientUnits="userSpaceOnUse"><stop offset=".13" stop-color="#134395"/><stop offset="1" stop-color="#0E2050"/></linearGradient><linearGradient id="h" x1="102.229" x2="88.078" y1="69.265" y2="71.878" gradientUnits="userSpaceOnUse"><stop stop-color="#F1F2F3"/><stop offset="1" stop-color="#C4CDD3"/></linearGradient><linearGradient id="i" x1="12.47" x2="21.297" y1="55.193" y2="55.193" gradientUnits="userSpaceOnUse"><stop stop-color="#F1F2F3"/><stop offset="1" stop-color="#C4CDD3"/></linearGradient><linearGradient id="j" x1="53.5" x2="53.5" y1="131" y2="139" gradientUnits="userSpaceOnUse"><stop stop-color="#FFF1E7" stop-opacity=".5"/><stop offset="1" stop-color="#C65D17" stop-opacity=".5"/></linearGradient><linearGradient id="k" x1="53" x2="53" y1="141" y2="147" gradientUnits="userSpaceOnUse"><stop stop-color="#FFF1E7" stop-opacity=".5"/><stop offset="1" stop-color="#C65D17" stop-opacity=".5"/></linearGradient></defs></svg>'),r&&(r.textContent=B("integration_test.ko.title")),s&&(s.textContent=B("integration_test.ko.text")),t.textContent=B("integration_test.ko.button"),t.disabled=!1}})}}class Mo{constructor(){this.feedbackType="enhancement",this.feedbackTitle="",this.feedbackDescription="",this.consentFeedbackAgree=!1,this.consentScreenFeedback=!1,this.consentAttachmentFile=null,this.hasConsentFeedback=!1,this.hasConsentScreenFeedback=!1,this.hasConsentAttachment=!1}async toFormData(A){const e="function"==typeof A.user?A.user():A.user,t=function(){const A=navigator.userAgent,e=[{name:"Firefox",regex:/Firefox\/(\d+(?:\.\d+)*)/},{name:"Chrome",regex:/Chrome\/(\d+(?:\.\d+)*)/,exclude:/Edg/},{name:"Safari",regex:/Version\/(\d+(?:\.\d+)*)/,exclude:/Chrome/},{name:"Edge",regex:/Edg\/(\d+(?:\.\d+)*)/},{name:"Opera",regex:/(Opera|OPR)\/(\d+(?:\.\d+)*)/}];for(const{name:t,regex:n,exclude:r}of e)if(A.includes(t)&&(!r||!r.test(A))){const e=A.match(n);return{name:t,version:e?e[1]:"Unknown"}}return{name:"Unknown",version:"Unknown"}}(),n=function(){var A;const e=window.screen.width,t=window.screen.height,n=window.devicePixelRatio||1;return{resolution:`${e}x${t}`,zoom:`${null!==(A=Math.round(100*n))&&void 0!==A?A:100}%`}}(),r=new FormData;r.append("uuidProject",A.projectId),r.append("feedbackType",this.feedbackType),r.append("feedbackTitle",this.feedbackTitle),r.append("feedbackDescription",this.feedbackDescription);const s=this.consentFeedbackAgree;if(r.append("userId",s&&(null==e?void 0:e.id)||"Unknown"),r.append("userName",s&&(null==e?void 0:e.fullName)||"Unknown User"),r.append("operatingSystem",s?function(){const A=navigator.userAgent;for(const[e,t]of Object.entries(Lo))if(t.test(A))return e;return"Unknown"}():"Unknown"),r.append("browserName",s?t.name:"Unknown"),r.append("browserVersion",s?t.version:"Unknown"),r.append("resolution",s?n.resolution:"Unknown"),r.append("zoom",s?n.zoom:"Unknown"),r.append("localLanguage",s&&navigator.language||"Unknown"),r.append("url",s?window.location.href:"Unknown"),r.append("userProfile",s&&(null==e?void 0:e.profile)||"Unknown"),r.append("ip","Unknown"),r.append("widgetVersion","2.3.2"),r.append("widgetLocale",c()),this.consentFeedbackAgree&&r.append("consentFeedback","true"),this.consentScreenFeedback){r.append("consentScreenFeedback","true");const A=await xo();A&&r.append("screenShot",A)}return this.hasConsentAttachment&&this.consentAttachmentFile&&(r.append("consentAttachmentFeedback","true"),r.append("attachment",this.consentAttachmentFile)),r}isValid(A){return!!this.feedbackTitle&&!!this.feedbackDescription&&(!A||this.consentFeedbackAgree)}}class So{constructor(A){var e,t;this.submitError=!1,this.hasConsentFeedback=!1,this.hasConsentScreenFeedback=!1,this.hasConsentAttachment=!1,this.isFeedbackButtonInitialized=!1,this.submitHandler=null,this.previouslyFocusedElement=null,this.decisions=[],this.decisionsLoading=!1,a(null!==(e=A.locale)&&void 0!==e?e:r.FR);const n=null!==(t=A.apiUrl)&&void 0!==t?t:A.baseApiUrl;if(!n)throw new Error("Feedback: `apiUrl` option is required");this.options=Object.assign(Object.assign({},A),{apiUrl:n}),this.form=new Mo,this.integrationTest=new ko({modalId:"fj-feedback-modal",bodyOpenClass:"fj-modal-open",toggleHtmlClass:!0,btnPrimaryClasses:"fj-feedback-btn fj-feedback-btn-primary",btnOutlineClasses:"fj-feedback-btn fj-feedback-btn-outline",btnLoadingClass:"fj-feedback-btn-loading",pendingTitleKey:"integration_test.pending.feedback.title",pendingTextKey:"integration_test.pending.feedback.text",checkingTextKey:"integration_test.checking.feedback_text",cancelLabelKey:"global.cancel",connectivityCheckUrl:`${n}/api/connectivity_check/feedback`,connectivityCheckBody:{uuidProject:A.projectId},onSuccess:()=>this.startFeedback(this.form.feedbackType)}),this.init(A.target)}init(A){if(!A)return;const e=A instanceof HTMLElement?this.createFeedbackButton(A):A.feedback;e&&!this.isFeedbackButtonInitialized&&(e.addEventListener("click",()=>this.startFeedback("enhancement")),this.isFeedbackButtonInitialized=!0)}createFeedbackButton(A){var e;return A.innerHTML=`\n <div class="fj-feedback-feedback-buttons">\n <button id="fj-feedback-button" class="fj-feedback-btn" aria-label="${B("a11y.feedback_button")}"><span aria-hidden="true"><svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 24 24"><path fill="currentColor" d="M11.75 19h-.25q-3.55 0-6.025-2.475T3 10.5t2.475-6.025T11.5 2q1.775 0 3.313.662t2.7 1.825 1.824 2.7T20 10.5q0 3.35-1.888 6.225t-4.762 4.5q-.25.125-.5.138t-.45-.113-.35-.325-.175-.475zm2.25-.65q1.775-1.5 2.888-3.512T18 10.5q0-2.725-1.888-4.612T11.5 4 6.888 5.888 5 10.5t1.888 4.613T11.5 17H14zm-2.525-2.375q.425 0 .725-.3t.3-.725-.3-.725-.725-.3-.725.3-.3.725.3.725.725.3M9.3 8.375q.275.125.55.013t.45-.363q.225-.3.525-.463T11.5 7.4q.6 0 .975.337t.375.863q0 .325-.187.65t-.663.8q-.625.55-.925 1.038t-.3.987q0 .3.213.513t.512.212.5-.225.3-.525q.125-.425.45-.775t.6-.625q.525-.525.788-1.05t.262-1.05q0-1.15-.788-1.85T11.5 6q-.8 0-1.475.388t-1.1 1.062q-.15.275-.038.538t.413.387m2.2 2.8"/></svg></span></button>\n </div>\n `,null!==(e=document.getElementById("fj-feedback-button"))&&void 0!==e?e:void 0}async startFeedback(A){this.form.feedbackType=A,this.submitError=!1,await this.loadConsents(),this.integrationTest.handleIntegrationStatus()||(this.form.hasConsentFeedback=this.hasConsentFeedback,this.form.hasConsentScreenFeedback=this.hasConsentScreenFeedback,this.form.hasConsentAttachment=this.hasConsentAttachment,"decision"===A&&await this.fetchDecisions(),this.render("form"))}async loadConsents(){try{const A=await fetch(`${this.options.apiUrl}/api/projects/${this.options.projectId}/consents`);if(!A.ok)throw new Error("Failed to fetch consents");const e=await A.json();this.hasConsentFeedback=e.consentFeedback,this.hasConsentScreenFeedback=e.consentScreenFeedback,this.hasConsentAttachment=e.consentAttachmentsFeedback,this.integrationTest.setStatus(e.feedbackIntegrationTest||"pending","no_subscription"===e.error?"no_subscription":null)}catch(A){this.hasConsentFeedback=!1,this.hasConsentScreenFeedback=!1,this.hasConsentAttachment=!1,this.integrationTest.setStatus("pending")}}async fetchDecisions(){this.decisionsLoading=!0;try{const A="function"==typeof this.options.user?this.options.user():this.options.user,e=await fetch(`${this.options.apiUrl}/api/projects/${this.options.projectId}/decisions?userId=${(null==A?void 0:A.id)||""}`);if(!e.ok)throw new Error("Failed to fetch decisions");const t=await e.json();this.decisions=t}catch(A){this.decisions=[]}finally{this.decisionsLoading=!1}}showThanks(A="enhancement"){this.form.feedbackType=A,this.render("thanks")}render(A){var e;const t=null!==(e=document.getElementById("fj-feedback-modal"))&&void 0!==e?e:document.createElement("div");if(null===A)return this.form=new Mo,this.submitError=!1,t.classList.add("fj-closing"),void t.addEventListener("animationend",()=>{t.remove(),document.body.classList.remove("fj-modal-open"),document.documentElement.classList.remove("fj-modal-open"),this.previouslyFocusedElement&&(this.previouslyFocusedElement.focus(),this.previouslyFocusedElement=null)},{once:!0});this.previouslyFocusedElement||(this.previouslyFocusedElement=document.activeElement),document.body.classList.add("fj-modal-open"),document.documentElement.classList.add("fj-modal-open");const n=!t.parentElement;t.id="fj-feedback-modal",t.className=`fj fj-feedback-modal fj-feedback-${this.form.feedbackType}${n?"":" fj-no-overlay-anim"}`,t.setAttribute("role","dialog"),t.setAttribute("aria-modal","true"),t.addEventListener("click",e=>{e.target===t&&"thanks"===A&&this.render(null)}),n&&(t.addEventListener("keydown",A=>{"Escape"===A.key&&this.render(null),Do(t,A)}),document.body.appendChild(t)),"form"===A?(document.documentElement.style.setProperty("--fj-feedback-primary-color","#4F5BD5"),document.documentElement.style.setProperty("--fj-feedback-secondary-color","#EEF0FB"),this.renderForm(t),requestAnimationFrame(()=>{var A;const e=t.querySelector('input:not([type="radio"]):not([type="hidden"]):not([style*="display:none"]), textarea');e?e.focus():null===(A=t.querySelector("button"))||void 0===A||A.focus()})):"thanks"===A&&(this.renderThanks(t),requestAnimationFrame(()=>{var A;null===(A=t.querySelector(".fj-feedback-btn-close"))||void 0===A||A.focus()}))}renderForm(A){A.querySelector(".fj-tabs")||(A.innerHTML=`\n <form class="fj-feedback-form" data-version="v2.3.2">\n <div class="fj-container">\n <div class="fj-tabs">\n ${this.renderTabs()}\n </div>\n </div>\n <div class="fj-feedback-content"></div>\n <div class="fj-feedback-error-container"></div>\n <div class="fj-feedback-footer-buttons"></div>\n </form>\n `,A.querySelectorAll('input[name="feedbackType"]').forEach(e=>{e.addEventListener("change",async()=>{e.checked&&(this.form.feedbackType=e.value,"decision"===this.form.feedbackType&&await this.fetchDecisions(),this.updateFormContent(A))})})),this.updateFormContent(A)}updateFormContent(A){var e;const t="decision"===this.form.feedbackType;A.className=`fj fj-feedback-modal fj-feedback-${this.form.feedbackType}`;const n=A.querySelector(".fj-feedback-form"),r=A.querySelector(".fj-feedback-content"),s=A.querySelector(".fj-feedback-error-container"),o=A.querySelector(".fj-feedback-footer-buttons");t?(n.className="fj-feedback-form fj-feedback-decision-view",r.innerHTML=this.renderDecisionList(),s.innerHTML="",o.innerHTML=`\n <button type="button" class="fj-feedback-btn fj-feedback-btn-outline fj-feedback-btn-cancel">${B("global.close")}</button>\n `):(n.className="fj-feedback-form",r.innerHTML=this.renderFields(),s.innerHTML=this.submitError?`<p class="fj-feedback-error" role="alert">${B("global.submit_error")}</p>`:"",o.innerHTML=`\n <button type="button" class="fj-feedback-btn fj-feedback-btn-outline fj-feedback-btn-cancel">${B("global.cancel")}</button>\n <button type="submit" class="fj-feedback-btn fj-feedback-btn-primary fj-feedback-btn-submit">${B("global.send")}</button>\n `),null===(e=o.querySelector(".fj-feedback-btn-cancel"))||void 0===e||e.addEventListener("click",()=>this.render(null)),t||this.attachFormEvents(A.querySelector("form.fj-feedback-form"))}renderThanks(A){var e;A.innerHTML=`\n\n <div class="fj-feedback-thanks" data-version="v2.3.2">\n <div class="fj-feedback-speech-bubble">\n <p class="fj-feedback-title">${B(`${this.form.feedbackType}.thanks.title`)}</p>\n <div class="fj-feedback-text">${B(`${this.form.feedbackType}.thanks.description`)}</div>\n <div class="fj-feedback-robot" aria-hidden="true"><svg xmlns="http://www.w3.org/2000/svg" width="147" height="158" fill="none"><path fill="url(#a)" d="M32.22 97.269c1.526.737 3.184 3.567 5.605 4.515 2.423.947 8.014 2.13 7.612 6.746s-3.668 9.085-6.551 9.816-7.63-.821-9.868-4.071c-2.46-3.57-4.064-10.654-2.808-13.439s3.11-4.968 6.01-3.566z"/><path fill="url(#b)" d="M74.507 108.056c-13.343.516-21.688-5.307-24.728 2.09-2.56 6.233 7.376 22.703 24.1 22.775 17.261.075 27-15.752 24.39-22.977-2.141-5.931-9.893-2.424-23.763-1.888"/><path fill="url(#c)" d="M76.176 105.689c22.2-1 39.575-15.589 38.809-32.584S95.602 43.142 73.403 44.142 33.828 59.73 34.594 76.727s19.383 29.963 41.582 28.962"/><path fill="url(#d)" d="M104.524 103.4c-1.676.69-3.42 2.488-1.554 5.286s1.865 6.841 2.332 8.395c.467 1.555 4.043 1.555 7.463-1.088s7.341-6.566 7.825-11.786c.443-4.782-.449-6.548-3.003-7.513-1.597-.603-4.467-.084-6.171 1.995-1.532 1.869-4.248 3.622-6.891 4.711z"/><path fill="url(#e)" d="M73.75 61.779c11.969-.535 21.876 2.84 23.464 3.655 1.216.624 2.654 6.496 2.701 12.056.046 5.559-1.997 11.43-2.813 12.264-1.158 1.183-11.599 3.949-22.192 3.829-11.875-.134-23.33-3.17-24.297-4.471-1.12-1.508-1.96-7.792-1.926-11.136.031-3.055.524-10.202 1.909-11.755 1.131-1.269 11.677-3.93 23.155-4.442"/><path fill="#2C3D82" d="M75.316 30.851a7.745 7.745 0 1 0 0-15.49 7.745 7.745 0 0 0 0 15.49"/><path fill="#5B76C4" d="M78.449 18.884c.965.655.803 2.014.973 3.86.155 1.707-2.42 4.453-4.354 4.42-1.936-.032-3.777-.774-4.81-2.684-.994-1.837-.879-2.91-.368-4.195.597-1.5 2.53-3.03 4.837-2.942s2.704.851 3.722 1.541"/><path fill="#3D55A3" d="M79.355 27.545c.936-.674 2.384-2.585 1.97-4.972-.478-2.749-1.57-4.521-3.488-4.239-1.952.287-3.528 1.002-3.483 2.872s1.039 3.247-.162 4.452c-1.201 1.204.043 3.655 1.453 3.483 2.137-.259 2.802-.943 3.71-1.596"/><path fill="#C0D2FF" d="M73.173 22.029c.844-.398 2.464-1.134 2.795-1.984.33-.849.364-2.04-.491-2.682-.856-.641-2.065-.937-3.069-.177s-2.671 1.99-2.038 3.124c.631 1.137.535 2.12 1.602 1.978 1.066-.142 1.202-.26 1.202-.26"/><path fill="#2C3D82" d="M82.344 14.093a.86.86 0 0 1-.555-.203c-.822-.69-2.343-1.32-2.358-1.328a.864.864 0 0 1 .657-1.598c.072.03 1.782.737 2.813 1.603a.866.866 0 0 1-.557 1.526m-10.249-1.766a.864.864 0 0 1-.25-1.693c.063-.019 1.545-.46 2.945-.486h.016a.865.865 0 0 1 .015 1.729c-1.157.02-2.465.408-2.477.412a1 1 0 0 1-.248.036zm-6.255 4.148a.865.865 0 0 1-.68-1.397c.04-.052 1.013-1.29 2.166-2.13a.864.864 0 1 1 1.019 1.397c-.96.7-1.815 1.787-1.824 1.798a.86.86 0 0 1-.68.332m-2.621 7.144h-.014a.863.863 0 0 1-.85-.878c0-.066.03-1.64.441-3a.864.864 0 1 1 1.655.5c-.342 1.131-.368 2.512-.368 2.526a.864.864 0 0 1-.864.85zm1.965 7.277a.86.86 0 0 1-.717-.38c-.037-.055-.9-1.337-1.34-2.666a.865.865 0 0 1 1.641-.544c.366 1.104 1.124 2.23 1.13 2.241a.864.864 0 0 1-.715 1.349zm6.029 4.74a.8.8 0 0 1-.283-.048c-.061-.022-1.523-.534-2.668-1.336a.865.865 0 0 1 .99-1.416c.946.661 2.233 1.114 2.246 1.119a.865.865 0 0 1-.285 1.681m4.729.73a.864.864 0 0 1-.002-1.728c1.181-.004 2.518-.383 2.532-.387a.865.865 0 0 1 .478 1.662c-.063.019-1.577.45-3.005.453zm7.135-2.668a.865.865 0 0 1-.524-1.552c.936-.711 1.771-1.82 1.78-1.831a.864.864 0 0 1 1.384 1.036c-.039.053-.985 1.31-2.118 2.17a.86.86 0 0 1-.522.177m4.094-6.26a.865.865 0 0 1-.822-1.136c.371-1.121.436-2.51.437-2.524a.865.865 0 0 1 1.727.075c-.002.066-.075 1.639-.522 2.992a.865.865 0 0 1-.82.593m.066-7.856a.86.86 0 0 1-.787-.507c-.512-1.126-1.401-1.947-1.41-1.956a.865.865 0 0 1 1.165-1.279c.047.043 1.156 1.06 1.82 2.52a.864.864 0 0 1-.785 1.22z"/><path fill="#D9EFFD" d="M79.535 76.996c.676-1.24 3.614-4.386 4.501-5.315 1.026-1.075 3.842-1.594 5.082.098s3.616 4.007 4.202 5.669c.442 1.254.635 2.834-.977 3.224-2.392.58-3.575-2.94-4.252-3.616s-2.386-.725-3.176-.049c-.79.677-1.98 2.97-2.883 3.42-.902.451-2.932.49-3.175-1.063-.261-1.67.677-2.368.677-2.368m-23.193 0c.677-1.24 3.614-4.386 4.502-5.315 1.025-1.075 3.842-1.594 5.082.098s3.616 4.007 4.201 5.669c.443 1.254.635 2.834-.977 3.224-2.391.58-3.575-2.94-4.251-3.616s-2.387-.725-3.176-.049c-.79.677-1.981 2.97-2.883 3.42-.903.451-2.932.49-3.175-1.063-.262-1.67.676-2.368.676-2.368z"/><path fill="url(#f)" d="M44.994 40.504a1.5 1.5 0 0 1-1.37-.887l-5.348-11.97a1.497 1.497 0 1 1 2.736-1.222l5.348 11.97a1.497 1.497 0 0 1-1.367 2.109"/><path fill="url(#g)" d="M35.202 47.36c-.419 0-.836-.175-1.132-.516l-8.602-9.893a1.498 1.498 0 1 1 2.261-1.966l8.602 9.893a1.498 1.498 0 0 1-1.13 2.481"/><path fill="url(#h)" d="M113.501 46.925a1.5 1.5 0 0 1-.945-2.662L122.735 36a1.5 1.5 0 0 1 2.108.219 1.5 1.5 0 0 1-.219 2.107l-10.18 8.263a1.5 1.5 0 0 1-.943.336"/><path fill="url(#i)" d="M104.343 39.239a1.498 1.498 0 0 1-1.241-2.337l7.332-10.869a1.5 1.5 0 0 1 2.485 1.676l-7.333 10.868c-.289.43-.762.66-1.243.66z"/><path fill="#B4BFC6" d="M31.298 115.634s-3.483-2.815-2.083-4.83c.71-1.022 1.933-1.657 3.87-1.183 1.938.473 3.588 1.839 5.285 1.165s2.597-1.156 4.086-1.176c1.281-.017 1.232 1.143 1.213 2.017-.517 1.263-1.312 3.09-1.695 3.54-.382.452-1.931 1.962-3.765 2.205-1.98.262-3.708.311-6.912-1.739zm36.752-5.738c3.816 1.125 4.941.148 12.416 1.41 5.497.928 8.559-.125 11.232-1.406 2.674-1.279 3.3-3.058 1.569-3.314 0 0-.913-.158-4.072.048-2.694.178-7.516.693-9.441 1.012-3.166.526-11.026.313-13.59-.049-1.499.793.208 1.803 1.887 2.298zm9.63-7.523c3.73-.153 8.225.098 11.88-2.32 3.884-2.985 11.738-2.11 7.82-.07-6.01 3.177-10.623 4.389-13.77 4.923-1.75.296-5.828.751-8.996.837-.742.021-5.09-.02-8.45-.57-.626-2.127 10.174-2.747 11.516-2.802zm30.961 9.696c.704-1.059 2.252-1.759 3.32-2.59 1.068-.83 2.118-2.022 2.89-2.95s2.336-1.347 3.311-.973c.975.375.712 1.365.462 2.192-.341 1.124-1.205 2.448-2.346 3.807-1.376 1.928-4.267 4.702-6.251 4.046-1.877-.62-2.089-2.473-1.385-3.532zm4.705-46.649c.662 1.938 1.103 3.56 1.393 6.235.339 3.142.206 5.668-.479 8.353-1.081 4.24-3.157 7.843-4.976 10.098 0 0 5.465-3.206 7.65-7.794.668-1.405 1.507-4.093 1.512-6.33.008-3.885-1.435-8.38-5.1-10.561"/><path fill="url(#j)" d="M37.167 64.67c-.836 1.869-1.425 3.444-1.959 6.081-.627 3.096-.726 5.625-.29 8.362.688 4.321 2.423 8.1 4.027 10.512 0 0-5.147-3.693-6.901-8.463-.537-1.46-1.126-4.213-.926-6.442.348-3.871 2.199-8.215 6.048-10.05z"/><path fill="#fff" d="M28.155 101.063c-.16.848.022 3.012.721 4.099.7 1.086 2.503.4 2.602-1.247.1-1.648 1.644-3.989.724-4.792s-3.498-.99-4.047 1.941zm29.155 9.175c-1.372-.017-3.223 1.448-3.142 2.891.08 1.442-.055 3.079.47 4.317.525 1.236 1.95 4.323 4.036 4.931 2.086.606 3.36.987 4.11.131.749-.856.807-1.854.065-2.898-.743-1.044-2.512-2.121-2.277-4.035.234-1.913-.638-5.303-3.263-5.335h.002zm-3.187-58.65c-2.22 1.104-7.22 3.687-6.656 6.449s4.403 1.361 6.282.313c1.878-1.047 5.459-2.652 7.624-3.263s3.312-2.869 1.983-4.125c-1.327-1.256-6.119-.922-9.235.627h.002m56.656 51.755c-1.503-.915-4.353.515-5.712 1.919-1.36 1.404-.734 3.299.115 3.638.85.339 2.873.175 3.673-2.321.346-1.08 2.888-2.649 1.923-3.237zM33.012 69.863c.534-1.155 2.005-2.494 2.022-1.536s-.925 3.44-1.168 4.886c-.283 1.686-.466 3.223-.441 4.217.02.772-1.035 1.709-1.34.505-.07-.28-.522-2.261-.317-4.113.204-1.852 1.066-3.575 1.243-3.96z"/><path fill="#121442" d="M97.102 89.754c-1.158 1.183-11.599 3.949-22.192 3.829-11.875-.134-23.33-3.17-24.297-4.471-1.12-1.508-1.96-7.792-1.926-11.136.031-3.055.524-10.202 1.909-11.755.342-.383.895-.607 1.736-.907 0 0-2.85 13.977.144 21.86.471 1.886 18.29 3.278 19.862 3.309 3.85.078 10.388-.14 16.917-1.103 2.65-.39 7.023-1.591 8.964-2.01-.519 1.706-1.117 2.382-1.117 2.382z"/><path fill="#2C3D82" d="M73.904 113.09s-7.244 2.867-4.67 11.559c.632 2.137 2.882 5.088 6.212 6.244 0 0-5.028-4.201-3.876-9.603.927-4.342 6.013-3.772 6.018-8.788 0 0-1.73-.165-3.684.588"/><path fill="#2C3D82" d="M77.322 119.456a3.486 3.486 0 1 0 .001-6.971 3.486 3.486 0 0 0-.001 6.971m-2.658 4.781a2.26 2.26 0 1 0 0-4.522 2.26 2.26 0 0 0 0 4.522"/><ellipse cx="73.5" cy="145.5" fill="url(#k)" fill-opacity=".6" rx="18.5" ry="4.5"/><ellipse cx="73" cy="155" fill="url(#l)" fill-opacity=".6" rx="13" ry="3"/><defs><linearGradient id="a" x1="25.327" x2="45.384" y1="106.7" y2="109.027" gradientUnits="userSpaceOnUse"><stop stop-color="#F1F2F3"/><stop offset="1" stop-color="#C4CDD3"/></linearGradient><linearGradient id="b" x1="50.449" x2="99.12" y1="121.517" y2="115.42" gradientUnits="userSpaceOnUse"><stop stop-color="#F1F2F3"/><stop offset="1" stop-color="#C4CDD3"/></linearGradient><linearGradient id="c" x1="45.742" x2="111.575" y1="55.705" y2="99.243" gradientUnits="userSpaceOnUse"><stop stop-color="#F1F2F3"/><stop offset="1" stop-color="#C4CDD3"/></linearGradient><linearGradient id="d" x1="102.795" x2="121.552" y1="113.415" y2="100.89" gradientUnits="userSpaceOnUse"><stop stop-color="#F1F2F3"/><stop offset="1" stop-color="#C4CDD3"/></linearGradient><linearGradient id="e" x1="75.191" x2="73.321" y1="102.676" y2="50.559" gradientUnits="userSpaceOnUse"><stop offset=".13" stop-color="#134395"/><stop offset="1" stop-color="#0E2050"/></linearGradient><linearGradient id="f" x1="38.146" x2="46.491" y1="33.021" y2="33.021" gradientUnits="userSpaceOnUse"><stop stop-color="#F1F2F3"/><stop offset=".08" stop-color="#EAECEE"/><stop offset=".4" stop-color="#D5DBDF"/><stop offset=".71" stop-color="#C8D0D6"/><stop offset="1" stop-color="#C4CDD3"/></linearGradient><linearGradient id="g" x1="26.907" x2="34.89" y1="42.13" y2="39.7" gradientUnits="userSpaceOnUse"><stop stop-color="#F1F2F3"/><stop offset=".08" stop-color="#EAECEE"/><stop offset=".4" stop-color="#D5DBDF"/><stop offset=".71" stop-color="#C8D0D6"/><stop offset="1" stop-color="#C4CDD3"/></linearGradient><linearGradient id="h" x1="117.51" x2="119.668" y1="37.264" y2="45.326" gradientUnits="userSpaceOnUse"><stop stop-color="#F1F2F3"/><stop offset=".08" stop-color="#EAECEE"/><stop offset=".4" stop-color="#D5DBDF"/><stop offset=".71" stop-color="#C8D0D6"/><stop offset="1" stop-color="#C4CDD3"/></linearGradient><linearGradient id="i" x1="105.804" x2="110.216" y1="28.765" y2="35.848" gradientUnits="userSpaceOnUse"><stop stop-color="#F1F2F3"/><stop offset=".08" stop-color="#EAECEE"/><stop offset=".4" stop-color="#D5DBDF"/><stop offset=".71" stop-color="#C8D0D6"/><stop offset="1" stop-color="#C4CDD3"/></linearGradient><linearGradient id="j" x1="31.365" x2="39.858" y1="78.639" y2="76.747" gradientUnits="userSpaceOnUse"><stop stop-color="#F1F2F3"/><stop offset="1" stop-color="#C4CDD3"/></linearGradient><linearGradient id="k" x1="73.5" x2="73.5" y1="141" y2="150" gradientUnits="userSpaceOnUse"><stop stop-color="#EDF0FB"/><stop offset="1" stop-color="#B6C2EF"/></linearGradient><linearGradient id="l" x1="73" x2="73" y1="152" y2="158" gradientUnits="userSpaceOnUse"><stop stop-color="#EDF0FB"/><stop offset="1" stop-color="#8094E4"/></linearGradient></defs></svg></div>\n </div>\n <div class="fj-feedback-footer-buttons">\n <button type="button" class="fj-feedback-btn fj-feedback-btn-close">${B("global.close")}</button>\n </div>\n </div>\n `,null===(e=A.querySelector(".fj-feedback-btn-close"))||void 0===e||e.addEventListener("click",()=>this.render(null))}renderTabs(){return`\n <input type="radio" id="radio-enhancement" name="feedbackType" ${"enhancement"===this.form.feedbackType?"checked":""} value="enhancement"/>\n <label class="fj-tab" for="radio-enhancement">\n <span class="fj-tab-icon" aria-hidden="true">\n <span class="fj-tab-icon-active"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none"><path stroke="#fff" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M15 14c.2-1 .7-1.7 1.5-2.5 1-.9 1.5-2.2 1.5-3.5A6 6 0 1 0 6 8c0 1 .2 2.2 1.5 3.5.7.7 1.3 1.5 1.5 2.5m0 4h6m-5 4h4"/></svg></span>\n <span class="fj-tab-icon-inactive"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none"><path stroke="#64748B" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M15 14c.2-1 .7-1.7 1.5-2.5 1-.9 1.5-2.2 1.5-3.5A6 6 0 1 0 6 8c0 1 .2 2.2 1.5 3.5.7.7 1.3 1.5 1.5 2.5m0 4h6m-5 4h4"/></svg></span>\n </span>\n <span class="fj-tab-label">${B("enhancement.tab")}</span>\n </label>\n <input type="radio" id="radio-issue" name="feedbackType" ${"issue"===this.form.feedbackType?"checked":""} value="issue"/>\n <label class="fj-tab" for="radio-issue">\n <span class="fj-tab-icon" aria-hidden="true">\n <span class="fj-tab-icon-active"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="none"><path fill="#2144CD" d="M9.968 15.808c3.317 0 6.005-2.683 6.005-5.992s-2.688-5.992-6.005-5.992-6.005 2.683-6.005 5.992 2.689 5.992 6.005 5.992"/><path fill="#D2D9F5" d="M9.428 5.785c.89-.157 1.535.683 2.628 1.616 1.008.862 1.063 3.774-.03 4.8s-2.517 1.607-4.124 1.106c-1.546-.482-2.062-1.141-2.473-2.129-.48-1.153-.232-3.045 1.096-4.24 1.33-1.196 1.964-.988 2.902-1.153z"/><path fill="#8094E4" d="M14.613 10.097c.157-.88-.072-2.72-1.594-3.82-1.752-1.266-3.316-1.659-4.23-.469C7.86 7.02 7.37 8.267 8.408 9.28s2.333 1.24 2.316 2.556c-.016 1.316 2 2.004 2.692 1.147 1.047-1.296 1.047-2.034 1.198-2.886"/><path fill="#fff" d="M8.196 10.373c.254-.675.756-1.958.48-2.607s-.901-1.329-1.723-1.223-1.654.595-1.801 1.558c-.146.964-.409 2.544.556 2.833s1.444.885 1.96.231.528-.792.528-.792m6.966-7.494a.7.7 0 0 1-.394-.127c-.714-.513-1.69-.871-1.7-.875a.672.672 0 1 1 .463-1.264c.046.017 1.157.424 2.026 1.048a.672.672 0 0 1-.395 1.219zM7.449 1.688A.673.673 0 0 1 7.255.37C7.301.356 8.434.02 9.504 0c.37-.004.68.29.686.661a.674.674 0 0 1-.662.684c-.886.016-1.876.31-1.886.314a.7.7 0 0 1-.195.028zM2.675 4.849a.671.671 0 0 1-.53-1.087c.031-.04.775-.984 1.656-1.626a.675.675 0 0 1 .943.147c.219.3.153.721-.148.94-.726.53-1.382 1.36-1.39 1.368a.67.67 0 0 1-.53.258M.674 10.29h-.01A.674.674 0 0 1 0 9.609c0-.05.023-1.251.337-2.29a.674.674 0 0 1 1.291.39c-.26.86-.28 1.91-.28 1.92a.674.674 0 0 1-.674.663m1.5 5.541a.67.67 0 0 1-.56-.296c-.027-.041-.688-1.02-1.024-2.035a.675.675 0 0 1 1.28-.423c.277.834.856 1.695.86 1.704a.673.673 0 0 1-.557 1.05m4.603 3.612a.7.7 0 0 1-.221-.038c-.047-.016-1.163-.407-2.04-1.019a.67.67 0 0 1-.167-.936.675.675 0 0 1 .939-.166c.72.503 1.701.847 1.711.85a.673.673 0 0 1-.222 1.309m3.611.555a.673.673 0 0 1-.002-1.346c.9-.002 1.92-.29 1.93-.293a.672.672 0 1 1 .373 1.293c-.05.014-1.207.342-2.298.345zm5.447-2.03a.673.673 0 0 1-.409-1.208c.712-.541 1.35-1.384 1.357-1.393a.676.676 0 0 1 .944-.134.67.67 0 0 1 .136.94c-.031.041-.755 1-1.62 1.657a.67.67 0 0 1-.407.137zm3.126-4.77a.673.673 0 0 1-.64-.885c.282-.852.33-1.908.332-1.918a.677.677 0 0 1 .703-.643c.372.016.66.329.644.7-.002.05-.056 1.25-.399 2.284a.67.67 0 0 1-.64.46zm.1-6.222a.68.68 0 0 1-.546-.276c-.47-.643-1.206-1.38-1.213-1.387a.67.67 0 0 1 0-.952.675.675 0 0 1 .954 0c.033.033.817.818 1.349 1.547a.672.672 0 0 1-.544 1.069z"/></svg></span>\n <span class="fj-tab-icon-inactive"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="none"><path fill="#64748B" d="M9.968 15.808c3.317 0 6.005-2.683 6.005-5.992s-2.688-5.992-6.005-5.992-6.005 2.683-6.005 5.992 2.689 5.992 6.005 5.992"/><path fill="#CBD5E1" d="M9.428 5.785c.89-.157 1.535.683 2.628 1.616 1.008.862 1.063 3.774-.03 4.8s-2.517 1.607-4.124 1.106c-1.546-.482-2.062-1.141-2.473-2.129-.48-1.153-.232-3.045 1.096-4.24 1.33-1.196 1.964-.988 2.902-1.153z"/><path fill="#94A3B8" d="M14.613 10.097c.157-.88-.072-2.72-1.594-3.82-1.752-1.266-3.316-1.659-4.23-.469C7.86 7.02 7.37 8.267 8.408 9.28s2.333 1.24 2.316 2.556c-.016 1.316 2 2.004 2.692 1.147 1.047-1.296 1.047-2.034 1.198-2.886"/><path fill="#fff" d="M8.196 10.373c.254-.675.756-1.958.48-2.607s-.901-1.329-1.723-1.223-1.654.595-1.801 1.558c-.146.964-.409 2.544.556 2.833s1.444.885 1.96.231.528-.792.528-.792"/><path fill="#64748B" d="M15.163 2.879a.7.7 0 0 1-.394-.127c-.715-.513-1.69-.871-1.7-.875A.672.672 0 1 1 13.53.613c.047.017 1.158.424 2.026 1.048a.672.672 0 0 1-.395 1.219zM7.448 1.688A.673.673 0 0 1 7.254.37C7.302.356 8.435.02 9.505 0c.37-.004.68.29.686.661a.674.674 0 0 1-.663.684c-.885.016-1.876.31-1.885.314a.7.7 0 0 1-.196.028zM2.675 4.849a.671.671 0 0 1-.53-1.087c.031-.04.775-.984 1.656-1.626a.675.675 0 0 1 .943.147c.219.3.153.721-.148.94-.726.53-1.382 1.36-1.39 1.368a.67.67 0 0 1-.53.258M.674 10.29h-.01A.674.674 0 0 1 0 9.609c0-.05.023-1.251.337-2.29a.674.674 0 0 1 1.291.39c-.26.86-.28 1.91-.28 1.92a.674.674 0 0 1-.674.663m1.5 5.541a.67.67 0 0 1-.56-.296c-.027-.041-.688-1.02-1.024-2.035a.675.675 0 0 1 1.28-.423c.277.834.856 1.695.861 1.704a.673.673 0 0 1-.558 1.05m4.603 3.612a.7.7 0 0 1-.221-.038c-.047-.016-1.163-.407-2.04-1.019a.67.67 0 0 1-.167-.936.675.675 0 0 1 .939-.166c.72.503 1.701.847 1.711.85a.673.673 0 0 1-.222 1.309m3.611.555a.673.673 0 0 1-.002-1.346c.9-.002 1.92-.29 1.93-.293a.672.672 0 1 1 .373 1.293c-.05.014-1.207.342-2.298.345zm5.447-2.03a.673.673 0 0 1-.409-1.208c.712-.541 1.35-1.384 1.357-1.393a.676.676 0 0 1 .944-.134.67.67 0 0 1 .136.94c-.031.041-.755 1-1.62 1.657a.67.67 0 0 1-.407.137zm3.126-4.77a.674.674 0 0 1-.64-.885c.283-.852.331-1.908.332-1.918a.677.677 0 0 1 .703-.643c.372.016.66.329.645.7-.002.05-.057 1.25-.4 2.284a.67.67 0 0 1-.64.46zm.1-6.222a.68.68 0 0 1-.546-.276c-.47-.643-1.206-1.38-1.213-1.387a.67.67 0 0 1 0-.952.675.675 0 0 1 .954 0c.033.033.817.818 1.35 1.547a.672.672 0 0 1-.545 1.069z"/></svg></span>\n </span>\n <span class="fj-tab-label">${B("issue.tab")}</span>\n </label>\n <input type="radio" id="radio-decision" name="feedbackType" ${"decision"===this.form.feedbackType?"checked":""} value="decision"/>\n <label class="fj-tab" for="radio-decision">\n <span class="fj-tab-icon" aria-hidden="true">\n <span class="fj-tab-icon-active"><svg xmlns="http://www.w3.org/2000/svg" width="22" height="22" fill="none"><path stroke="#fff" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M2.743 14.98c.134.34.164.713.086 1.07l-.976 3.016a.917.917 0 0 0 1.133 1.07l3.128-.914a1.83 1.83 0 0 1 1.008.084 9.167 9.167 0 1 0-4.38-4.326M7.333 11h.009M11 11h.008m3.659 0h.008"/></svg></span>\n <span class="fj-tab-icon-inactive"><svg xmlns="http://www.w3.org/2000/svg" width="22" height="22" fill="none"><path stroke="#64748B" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M2.743 14.98c.134.34.164.713.086 1.07l-.977 3.016a.917.917 0 0 0 1.133 1.07l3.129-.914a1.83 1.83 0 0 1 1.007.084 9.167 9.167 0 1 0-4.378-4.326M7.333 11h.009M11 11h.008m3.659 0h.008"/></svg></span>\n </span>\n <span class="fj-tab-label">${B("decision.tab")}</span>\n </label>\n <span class="fj-glider"></span>\n `}renderFields(){return`\n <div class="fj-feedback-header">\n <div class="fj-feedback-robot" aria-hidden="true">${"issue"===this.form.feedbackType?n:'<svg xmlns="http://www.w3.org/2000/svg" width="118" height="128" fill="none"><path fill="#2C3D82" d="M62.849 106.398s-3.28.742-4.79 1.104c-1.512.364-4.466 1.062-4.97 1.242-.506.179-1.473.639-1.74 1.534-.265.894-.206 1.46-.303 3.188l10.495-2.521c.561-.135 1.256-1.065 1.309-4.547zm-7.228 11.147c-3.07.738-5.288 1.283-5.288 1.283.142-1.509.098-2 .383-2.787.285-.788 1.245-1.215 1.744-1.386.5-.17 3.411-.859 4.902-1.218 1.49-.358 4.72-1.093 4.72-1.093-.072 1.517-.14 2.543-.26 3.233-.171.984-.02 1.404-.896 4.215-.801 2.571-1.341 4.252-3.886 6.788 0 0-2.425-2.448-1.711-3.772.692-1.285.65-1.109 1.16-2.403.27-.679.443-.944.533-1.833.075-.735-.667-1.205-1.4-1.029z"/><path fill="#2C3D82" d="M62.849 106.398s-.623 8.587-1.326 10.571-3.488-1.43-3.488-1.43l.535-6.707 4.28-2.432z"/><path fill="url(#a)" d="M10.33 75.085c-5.706-18.067 8.54-38.838 31.819-46.392 23.278-7.554 46.773.969 52.478 19.036 5.705 18.068-8.541 38.838-31.82 46.392-23.278 7.554-46.773-.968-52.478-19.036"/><path fill="url(#b)" d="M56.154 99.928c14.632-1.278 22.943-8.877 27.272-1.114 3.647 6.54-4.946 26.139-23.188 28.538-18.828 2.475-31.62-13.686-29.76-22.043 1.527-6.858 10.467-4.053 25.676-5.38z"/><path fill="url(#c)" d="M17.87 89.198c1.357.77 4.16 1.729 4.02-.634-.411-6.94-5.114-13.768-7.369-16.762-1.226-1.627-5.054-5.326-5.636-3.768-1.779 4.762-1.072 9.104 1.44 13.734 2.285 4.211 6.19 6.663 7.547 7.433v-.003z"/><path fill="url(#d)" d="M25.878 99.292c1.309.611.93 3.527 1.31 5.165.583 2.509 1.893 5.018 2.62 8.412.505 2.348-1.456 4.28-4.076 4.428s-10.483-.591-14.122-3.689c-2.768-2.358-5.387-5.018-5.387-7.822 0-3.545 9.416-5.953 12.082-6.494 2.184-.444 5.678-.886 7.57 0z"/><path fill="url(#e)" d="M110.311 64.757c-1.76.62-3.93 3.541-6.696 4.28-2.766.738-9.026 1.33-9.172 6.495-.146 5.166 2.855 10.534 5.913 11.714 3.057 1.18 8.439.072 11.298-3.24 3.139-3.638 5.791-11.277 4.772-14.525-1.019-3.246-2.766-5.904-6.115-4.723z"/><path fill="url(#f)" d="M51.594 44.489c-11.98 4.974-20.166 12.888-21.354 14.429-.91 1.18 2.74 6.314 5.71 12.076 2.781 5.399 4.26 11.599 5.437 12.052 1.673.644 13.168-1.41 23.502-6.402 11.587-5.597 19.873-12.12 20.23-13.86.415-2.012-.86-9.623-3.108-14.178-2.47-4.7-5.912-9.388-7.973-10.293-1.685-.74-10.955 1.404-22.445 6.174h.001z"/><path fill="#fff" d="M64.882 29.013c2.711.294 8.856 1.057 9.329 4.163s-4.022 3.13-6.36 2.761c-2.337-.367-6.642-.659-9.11-.457-2.468.2-4.513-1.715-3.623-3.544s5.959-3.334 9.764-2.922zM75.22 99.96c1.496-.209 3.716 1.156 3.825 2.764.11 1.607.48 3.398.078 4.841-.405 1.442-1.539 5.056-3.732 6.015-2.193.96-3.532 1.559-4.468.716s-1.136-1.94-.468-3.198 2.452-2.695 1.935-4.779-.028-5.956 2.83-6.356zm39.052-30.478c.068.96-.405 3.333-1.308 4.447-.902 1.114-2.786.121-2.684-1.715.101-1.838-1.289-4.629-.184-5.401 1.107-.772 3.947-.647 4.176 2.67zm-98.913 34.127c.282-1.562 3.495-2.708 5.639-2.84 2.143-.132 3.307 1.385 2.995 2.165s-1.872 2.082-4.545 1.203c-1.158-.381-4.272.473-4.092-.53h.002z"/><path fill="#B4BFC6" d="M108.989 85.218s4.164-2.67 2.889-5.083c-.648-1.223-1.903-2.084-4.079-1.808-2.176.277-4.153 1.576-5.922.61-1.768-.964-2.69-1.613-4.315-1.827-1.398-.183-1.49 1.108-1.581 2.078.405 1.465 1.041 3.592 1.403 4.14.36.548 1.862 2.42 3.833 2.925 2.129.545 4.011.821 7.772-1.037zm-38.358 11.61c-.102.94-1.337 2.76-3.103 3.54-4.01 1.773-5.59.487-13.576 2.919-5.873 1.789-13.218 2.11-16.31 1.066-3.093-1.045-4.021-2.926-2.166-3.449 0 0 .974-.302 4.45-.512 2.965-.177 8.298-.276 10.444-.19 3.526.143 12.076-1.182 14.825-1.938 2.27-.624 5.434-1.439 5.434-1.439zm-13.403-4.06c-3.905 1.286-9.807 1.674-14.143.314-5.147-1.616-13.44-2.72-15.343-2.298-1.367.304-1.755 1.29-1.614 1.763 0 0 5.221 2.836 12.635 3.828s12.635.473 16.085-.19c1.919-.368 5.946-1.35 9.598-2.609.46-1.603-4.408-1.736-7.218-.81zM12.349 69.507c1.463.043 4.089 1.881 7.783 7.392 3.83 5.715 4.51 9.673 4.347 11.272s-.651 2.419-1.087 2.915c0 0-1.197-.724-1.957-1.276 0 0 .668-.269.295-2.726-.16-1.056-.611-2.783-1.228-4.63-.794-2.375-1.913-4.331-2.952-6.143-1.383-2.41-4.74-6.584-5.2-6.803h-.001zm12.133 46.337c1.095-.987-.203-4.319-1.42-5.018s-3.082-.617-4.544-.905c-1.46-.287-3.082-.947-4.3-1.48-1.219-.534-2.963-.164-3.733.699-.771.865-.022 1.716.635 2.413.892.947 2.398 1.83 4.193 2.606 2.474 1.071 7.506 1.686 9.169 1.686z"/><path fill="#121442" d="M40.208 81.241c.393.899.821 1.668 1.177 1.805 1.674.643 13.169-1.41 23.503-6.402 11.586-5.598 19.872-12.12 20.23-13.86.414-2.013-.861-9.624-3.108-14.18-2.47-4.698-5.912-9.387-7.973-10.292-.494-.217-1.643-.186-3.308.087 0 0 5.21 4.804 7.583 9.548 1.577 3.152 2.76 6.14 3.466 9.095.433 1.82.675 3.524.495 4.705-.203 1.32-11.165 8.224-16.025 10.6-5.259 2.57-17.448 7.401-26.039 8.893z"/><path fill="#D9EFFD" d="M43.831 70.82c3.397 2.863 7.61 2.588 9.41-.618 1.801-3.206.507-8.126-2.889-10.99s-7.608-2.59-9.41.616c-1.8 3.207-.507 8.127 2.89 10.991"/><path fill="#fff" d="M46.92 63.806c1.427 1.252 3.182 1.278 3.917.058.736-1.22.173-3.223-1.253-4.476-1.427-1.251-3.181-1.277-3.916-.057-.737 1.22-.174 3.222 1.252 4.475"/><path fill="url(#g)" d="M48.702 72.852q.21 0 .416-.014a5.12 5.12 0 0 0 3.854-2.155c2.225-3.096 1.357-8.418-1.935-11.866-1.837-1.924-4.11-2.94-6.231-2.79a5.12 5.12 0 0 0-3.855 2.155c-2.224 3.096-1.356 8.418 1.936 11.866 1.717 1.799 3.815 2.804 5.816 2.804m-3.48-16.471c1.902 0 3.905.966 5.554 2.692 3.174 3.324 4.028 8.436 1.902 11.393-.867 1.206-2.106 1.9-3.585 2.004-2.018.143-4.183-.834-5.945-2.678-3.174-3.325-4.028-8.436-1.903-11.393.867-1.206 2.107-1.9 3.586-2.004q.195-.014.39-.014"/><path fill="#D9EFFD" d="M64.389 59.526c2.716 3.532 6.89 4.172 9.324 1.43 2.433-2.744 2.203-7.83-.514-11.362s-6.89-4.173-9.323-1.43-2.203 7.83.513 11.362"/><path fill="#fff" d="M68.88 53.34c1.132 1.531 2.84 1.936 3.814.903s.848-3.111-.284-4.643c-1.132-1.53-2.84-1.935-3.814-.902s-.848 3.111.284 4.643"/><path fill="url(#h)" d="M70.118 62.568a4.97 4.97 0 0 0 3.341-1.27c2.8-2.454 3.022-7.704.495-11.705-1.419-2.245-3.447-3.71-5.565-4.022-1.561-.23-3.001.188-4.165 1.208-2.8 2.454-3.022 7.705-.494 11.705 1.418 2.245 3.446 3.711 5.564 4.022q.42.062.824.062M67.57 45.88q.378 0 .768.057c2.013.296 3.949 1.702 5.31 3.857 2.434 3.851 2.242 8.888-.426 11.227-1.081.947-2.42 1.335-3.875 1.122-2.013-.296-3.948-1.702-5.31-3.857-2.433-3.85-2.242-8.888.426-11.227a4.62 4.62 0 0 1 3.107-1.178z"/><path fill="#388397" d="M24.695 23.084c-4.705 0-8.52-3.867-8.52-8.637s3.815-8.636 8.52-8.636 8.519 3.866 8.519 8.636-3.814 8.637-8.52 8.637"/><path fill="#CFE4E9" d="M21.247 9.74c-1.06.73-.884 2.245-1.07 4.305-.17 1.902 2.66 4.964 4.789 4.928 2.13-.036 4.154-.864 5.29-2.993 1.093-2.048.966-3.246.405-4.679-.657-1.672-2.784-3.378-5.32-3.28-2.536.097-2.975.95-4.094 1.719"/><path fill="#78B2C2" d="M20.25 19.396c-1.03-.752-2.622-2.883-2.166-5.545.525-3.065 1.727-5.041 3.836-4.726 2.147.32 3.88 1.116 3.83 3.202s-1.142 3.621.18 4.964c1.32 1.343-.048 4.076-1.6 3.884-2.35-.289-3.08-1.052-4.08-1.78"/><path fill="#FFFAE9" d="M27.051 13.246c-.928-.443-2.71-1.264-3.073-2.211-.364-.947-.401-2.276.54-2.992.941-.714 2.27-1.044 3.375-.196s2.938 2.218 2.242 3.483c-.695 1.267-.59 2.363-1.763 2.205-1.172-.158-1.322-.289-1.322-.289z"/><path fill="#388397" d="M17.124 4.17a.94.94 0 0 0 .555-.182c1.03-.753 2.439-1.279 2.453-1.284a.97.97 0 0 0 .567-1.235.946.946 0 0 0-1.218-.575c-.067.024-1.665.619-2.914 1.53a.973.973 0 0 0-.215 1.345.95.95 0 0 0 .772.401m11.112-1.743A.966.966 0 0 0 28.51.541c-.07-.02-1.7-.513-3.24-.54a.96.96 0 0 0-.967.946.957.957 0 0 0 .934.98c1.28.024 2.71.455 2.724.46a1 1 0 0 0 .274.04m6.881 4.625c.206 0 .41-.067.586-.204a.974.974 0 0 0 .163-1.353c-.045-.058-1.115-1.438-2.383-2.375a.94.94 0 0 0-1.328.21.97.97 0 0 0 .208 1.347c1.056.78 1.996 1.993 2.005 2.005.188.243.468.37.75.37m2.88 7.967h.016a.956.956 0 0 0 .935-.978c0-.075-.033-1.829-.485-3.346a.95.95 0 0 0-1.185-.644.967.967 0 0 0-.636 1.201c.377 1.262.405 2.802.405 2.817.007.527.432.95.95.95m-2.16 8.112a.94.94 0 0 0 .788-.424c.04-.06.99-1.49 1.474-2.972a.967.967 0 0 0-.603-1.218.95.95 0 0 0-1.202.611c-.403 1.232-1.236 2.487-1.243 2.5a.973.973 0 0 0 .254 1.339.94.94 0 0 0 .533.166zm-6.631 5.289a.9.9 0 0 0 .312-.055c.067-.024 1.674-.595 2.934-1.49a.97.97 0 0 0 .235-1.34.943.943 0 0 0-1.324-.238c-1.04.737-2.456 1.242-2.47 1.247a.968.968 0 0 0 .313 1.875m-5.204.812c.524 0 .95-.43.951-.961a.96.96 0 0 0-.948-.966c-1.307-.004-2.77-.426-2.783-.431a.95.95 0 0 0-1.177.66.965.965 0 0 0 .65 1.192c.07.02 1.736.5 3.306.505h.003zm-7.847-2.973c.287 0 .57-.131.758-.38a.97.97 0 0 0-.181-1.35c-1.03-.794-1.95-2.03-1.958-2.043a.94.94 0 0 0-1.331-.192.97.97 0 0 0-.192 1.348c.043.059 1.084 1.46 2.33 2.42a.94.94 0 0 0 .574.197m-4.502-6.98a1 1 0 0 0 .298-.05.967.967 0 0 0 .605-1.218c-.408-1.25-.48-2.798-.48-2.814a.96.96 0 0 0-.992-.92.96.96 0 0 0-.909 1.004c.003.073.083 1.827.574 3.336a.95.95 0 0 0 .903.662zm-.144-9.108a.94.94 0 0 0 .769-.398c.675-.942 1.738-2.021 1.75-2.032a.973.973 0 0 0 0-1.363.94.94 0 0 0-1.346 0c-.048.049-1.177 1.195-1.942 2.26a.97.97 0 0 0 .21 1.347.94.94 0 0 0 .559.185"/><path fill="#2C3D82" d="M58.24 105.353s-8.472 1.299-7.861 11.39c.15 2.479 1.833 6.251 5.117 8.341 0 0-4.352-5.824-1.782-11.406 2.064-4.487 7.375-2.592 8.621-8.043 0 0-1.815-.613-4.095-.282"/><path fill="#2C3D82" d="M61.193 113.227c2.118 0 3.834-1.74 3.834-3.887s-1.716-3.887-3.834-3.887c-2.117 0-3.834 1.74-3.834 3.887s1.716 3.887 3.834 3.887m-4.331 4.494c1.373 0 2.487-1.129 2.487-2.521 0-1.393-1.114-2.521-2.487-2.521-1.374 0-2.487 1.128-2.487 2.521 0 1.392 1.113 2.521 2.487 2.521"/><path fill="#FFDB00" d="M96.92 38.895c.977 6.435 6.542 11.46 10.289 11.46 4.078 0 9.311-4.264 10.113-11.46.747-6.697-4.567-12.204-10.201-12.204S95.909 32.234 96.92 38.895"/><path fill="#CDAA00" d="M104.633 53.799h4.956c.631 0 1.143-.52 1.143-1.16s-.512-1.159-1.143-1.159h-4.956c-.631 0-1.143.52-1.143 1.16s.512 1.159 1.143 1.159m0 2.555h4.956c.631 0 1.143-.519 1.143-1.159s-.512-1.159-1.143-1.159h-4.956c-.631 0-1.143.52-1.143 1.16s.512 1.158 1.143 1.158m0 2.556h4.956c.631 0 1.143-.52 1.143-1.16s-.512-1.158-1.143-1.158h-4.956c-.631 0-1.143.519-1.143 1.159s.512 1.159 1.143 1.159"/><path fill="#fff" d="M105.492 49.02c.123 0 .246-.04.35-.122a.585.585 0 0 0 .101-.814c-.929-1.212-4.128-7.982-3.985-10.43.15-2.571.525-3.642 1.385-3.948.432-.154.759-.03 1.085.37-1.207 1.313-1.695 3.45-1.358 4.826.229.936.835 1.538 1.663 1.65.963.13 1.791-.185 2.27-.867.178-.251.298-.538.361-.85.033.319.112.613.25.866.197.361.598.802 1.399.853 1.221.077 1.816-.462 2.101-.929.57-.933.388-2.452-.476-3.962q-.432-.757-.85-1.306l.037-.067c.299-.554.73-.8 1.182-.675.743.206 1.51 1.411 1.439 3.567-.101 3.073-3.87 10.78-3.908 10.857a.584.584 0 0 0 .257.778.57.57 0 0 0 .767-.261c.16-.325 3.918-8.012 4.027-11.335.099-2.993-1.166-4.415-2.279-4.724-.891-.248-1.764.126-2.333.98-.424-.363-.856-.585-1.313-.685-.743-.164-1.514.017-2.349.552l-.055-.066c-.802-.94-1.691-.88-2.295-.664-1.751.625-2.021 2.799-2.146 4.973-.174 2.979 3.306 10.011 4.223 11.21a.57.57 0 0 0 .452.223zm-.443-13.895q.186.385.404.871c.155.346.314.703.487 1.051.391.795.441 1.53.133 1.967-.228.323-.65.462-1.189.39-.131-.018-.53-.072-.704-.781-.235-.96.102-2.483.869-3.498m4.179.428q.209.314.423.693c.621 1.088.824 2.228.492 2.77-.175.287-.531.415-1.057.382-.303-.02-.407-.14-.471-.256-.337-.62.013-2.145.611-3.59zm-.803-1.01c-.372.816-.892 2.118-1.039 3.309-.06-.423-.2-.87-.425-1.324-.162-.329-.317-.676-.467-1.011-.188-.418-.369-.825-.563-1.198.565-.36 1.054-.49 1.489-.394q.488.107 1.004.618z"/><defs><linearGradient id="a" x1="78.08" x2="25.714" y1="35.776" y2="86.785" gradientUnits="userSpaceOnUse"><stop stop-color="#F1F2F3"/><stop offset="1" stop-color="#C4CDD3"/></linearGradient><linearGradient id="b" x1="84.25" x2="30.299" y1="111.488" y2="111.488" gradientUnits="userSpaceOnUse"><stop stop-color="#F1F2F3"/><stop offset="1" stop-color="#C4CDD3"/></linearGradient><linearGradient id="c" x1="17.111" x2="13.391" y1="71.269" y2="85.995" gradientUnits="userSpaceOnUse"><stop offset=".15" stop-color="#F1F2F3"/><stop offset=".26" stop-color="#E5E8EA"/><stop offset=".47" stop-color="#D2D9DD"/><stop offset=".7" stop-color="#C7CFD5"/><stop offset=".94" stop-color="#C4CDD3"/></linearGradient><linearGradient id="d" x1="29.888" x2="6.223" y1="108.048" y2="108.048" gradientUnits="userSpaceOnUse"><stop stop-color="#F1F2F3"/><stop offset="1" stop-color="#C4CDD3"/></linearGradient><linearGradient id="e" x1="116.648" x2="94.438" y1="76.09" y2="76.09" gradientUnits="userSpaceOnUse"><stop stop-color="#F1F2F3"/><stop offset="1" stop-color="#C4CDD3"/></linearGradient><linearGradient id="f" x1="76.249" x2="43.159" y1="74.759" y2="50.219" gradientUnits="userSpaceOnUse"><stop stop-color="#134395"/><stop offset="1" stop-color="#0E2050"/></linearGradient><linearGradient id="g" x1="54.206" x2="39.718" y1="64.433" y2="64.433" gradientUnits="userSpaceOnUse"><stop stop-color="#FFFDFE"/><stop offset=".05" stop-color="#FBFBFD"/><stop offset=".25" stop-color="#EFF6FD"/><stop offset=".45" stop-color="#EBF5FD"/><stop offset=".78" stop-color="#D5EDFC"/><stop offset="1" stop-color="#CDEAFC"/></linearGradient><linearGradient id="h" x1="77.93" x2="63.766" y1="56.081" y2="52.986" gradientUnits="userSpaceOnUse"><stop stop-color="#FFFDFE"/><stop offset=".05" stop-color="#FBFBFD"/><stop offset=".25" stop-color="#EFF6FD"/><stop offset=".45" stop-color="#EBF5FD"/><stop offset=".78" stop-color="#D5EDFC"/><stop offset="1" stop-color="#CDEAFC"/></linearGradient></defs></svg>'}</div>\n <div class="fj-feedback-speech-bubble">\n <p>${B(`${this.form.feedbackType}.form.description`)}</p>\n </div>\n </div>\n <div class="fj-feedback-body">\n <label>\n <p>${B(`${this.form.feedbackType}.form.field.title`)} ${l()}</p>\n <input required type="text" name="feedbackTitle" class="fj-feedback-answer-input" value="${this.form.feedbackTitle||""}">\n </label>\n <label>\n <p>${B(`${this.form.feedbackType}.form.field.description`)} ${l()}</p>\n <textarea required rows="6" name="feedbackDescription" class="fj-feedback-answer-input">${this.form.feedbackDescription||""}</textarea>\n </label>\n ${this.renderConsent()}\n </div>\n `}renderDecisionList(){let A="";return A=this.decisionsLoading?`<div class="fj-feedback-decision-loading">${B("decision.loading")}</div>`:0===this.decisions.length?`<div class="fj-feedback-decision-empty">${B("decision.empty")}</div>`:`\n <div class="fj-feedback-decision-list">\n ${this.decisions.map(A=>this.renderDecisionCard(A)).join("")}\n </div>\n `,`\n <div class="fj-feedback-header">\n <div class="fj-feedback-robot" aria-hidden="true">${t}</div>\n <div class="fj-feedback-speech-bubble">\n <p>${B("decision.description")}</p>\n </div>\n </div>\n <div class="fj-feedback-body">\n ${A}\n </div>\n `}renderDecisionCard(A){const e=B(`decision.card.type.${A.type}`),t="issue"===A.type?'<svg xmlns="http://www.w3.org/2000/svg" width="21" height="21" fill="none"><path fill="#EE7B30" fill-rule="evenodd" d="M14.175 5.185A7.35 7.35 0 1 1 4.719 7.01c.211-.27.62-.23.832.04q.44.556.99 1.001c.35.283.826-.05.812-.5l-.003-.2c0-.965.217-1.879.604-2.696a6.33 6.33 0 0 1 2.61-2.798c.26-.146.578-.017.71.25a7.3 7.3 0 0 0 2.9 3.078M14.7 12.6a4.2 4.2 0 0 1-4.2 4.2c-2.009 0-3.697-1.468-4.105-3.34-.099-.45.461-.676.854-.435a4.2 4.2 0 0 0 1.682.592c.317.04.557-.251.535-.57a6.27 6.27 0 0 1 1.38-4.402.47.47 0 0 1 .453-.169A4.2 4.2 0 0 1 14.7 12.6" clip-rule="evenodd"/></svg>':'<svg xmlns="http://www.w3.org/2000/svg" width="17" height="17" fill="none"><path fill="#3E91A8" fill-rule="evenodd" d="M15.123 11.185a3.15 3.15 0 0 0 0-5.57 3.15 3.15 0 0 0-3.938-3.938 3.15 3.15 0 0 0-5.57 0 3.15 3.15 0 0 0-3.938 3.938 3.15 3.15 0 0 0 0 5.57 3.15 3.15 0 0 0 3.938 3.938 3.15 3.15 0 0 0 5.57 0 3.15 3.15 0 0 0 3.938-3.938M12.45 6.5a.788.788 0 0 0-1.273-.927l-3.658 5.03L5.545 8.63a.788.788 0 0 0-1.113 1.113l2.625 2.625a.787.787 0 0 0 1.193-.093z" clip-rule="evenodd"/></svg>',n=A.statusLabel&&""!==A.statusLabel.trim()?`\n <div class="fj-feedback-card-status fj-feedback-decision-status-${A.statusLabel}">\n <span class="fj-feedback-card-status-label">\n ${B(`decision.status.${A.type}.${A.statusLabel}`)}\n </span>\n </div>\n `:"";return`\n <div class="fj-feedback-card" data-type="${A.type}">\n <div class="fj-feedback-card-header">\n <div class="fj-feedback-card-type">\n <span class="fj-feedback-card-type-icon" aria-hidden="true">${t}</span>\n <span class="fj-feedback-card-type-label">${e}</span>\n </div>\n\n ${n}\n </div>\n\n <div class="fj-feedback-card-body">\n <h3 class="fj-feedback-card-title">${A.title}</h3>\n <p class="fj-feedback-card-description">${A.description}</p>\n </div>\n\n <div class="fj-feedback-card-footer">\n <span class="fj-feedback-card-date-icon" aria-hidden="true"><svg xmlns="http://www.w3.org/2000/svg" width="14" height="15" fill="none"><path stroke="#64748B" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M4.083.75v2.667M9.417.75v2.667M.75 6.083h12M4.083 8.75h.007m2.66 0h.007m2.66 0h.006m-5.34 2.667h.007m2.66 0h.007m2.66 0h.006m-7.34-9.334h9.334c.736 0 1.333.597 1.333 1.334v9.333c0 .736-.597 1.333-1.333 1.333H2.083A1.333 1.333 0 0 1 .75 12.75V3.417c0-.737.597-1.334 1.333-1.334"/></svg></span>\n <span class="fj-feedback-card-date">\n ${B("decision.card.date_prefix")} ${this.formatDecisionDate(A.createdAt)}\n </span>\n </div>\n </div>\n `}renderConsent(){let A="";return this.hasConsentFeedback&&(A+=`\n <label class="fj-feedback-consent">\n <input type="checkbox" name="consentFeedback" value="true" required>\n <p>\n ${B("consent.feedback.label")}<span aria-hidden="true">*</span><span class="fj-sr-only">(${B("global.required")})</span>\n <span class="fj-feedback-tooltip" title="${B("consent.feedback.tooltip")}" aria-label="${B("consent.feedback.tooltip")}">\n <span aria-hidden="true">${e}</span>\n </span>\n </p>\n </label>\n `),this.hasConsentScreenFeedback&&(A+=`\n <label class="fj-feedback-consent">\n <input type="checkbox" name="consentScreenFeedback" value="true">\n <p>\n ${B("consent.screen.label")}\n <span class="fj-feedback-tooltip" title="${B("consent.screen.tooltip")}" aria-label="${B("consent.screen.tooltip")}">\n <span aria-hidden="true">${e}</span>\n </span>\n </p>\n </label>\n `),this.hasConsentAttachment&&(A+=`\n <label class="fj-feedback-consent fj-feedback-consent-file">\n <input type="file" name="consentAttachmentFile" accept="*" style="display:none;">\n <button type="button" class="fj-feedback-btn fj-feedback-btn-file">${B("consent.attachment.button")} <span class="fj-feedback-tooltip" title="${B("consent.attachment.tooltip")}" aria-label="${B("consent.attachment.tooltip")}"><span aria-hidden="true">${e}</span></span></button>\n <div class="fj-feedback-file-name" style="display:none;"></div>\n </label>\n `),A}attachFormEvents(A){var e;if(!A)return;this.submitHandler&&A.removeEventListener("submit",this.submitHandler);const t=A.querySelector('input[type="file"][name="consentAttachmentFile"]'),n=A.querySelector(".fj-feedback-btn-file"),r=A.querySelector(".fj-feedback-file-name");let s=A.querySelector(".fj-feedback-file-error");!s&&r&&(s=document.createElement("div"),s.className="fj-feedback-file-error",s.style.color="red",s.setAttribute("role","alert"),null===(e=r.parentNode)||void 0===e||e.insertBefore(s,r.nextSibling)),t&&n&&r&&(n.addEventListener("click",A=>{A.preventDefault(),t.click()}),t.addEventListener("change",()=>{if(t.files&&t.files.length>0){const A=t.files[0];A.size>10485760?(r.textContent="",r.style.display="none",s&&(s.textContent=B("consent.attachment.file_too_large")),t.value="",this.form.consentAttachmentFile=null):(r.textContent=A.name,r.style.display="",s&&(s.textContent=""),this.form.consentAttachmentFile=A)}else r.textContent="",r.style.display="none",s&&(s.textContent=""),this.form.consentAttachmentFile=null})),this.submitHandler=async e=>{e.preventDefault();const t=A.querySelectorAll("input, textarea"),n=document.querySelector(".fj-feedback-btn-submit");n&&(n.disabled=!0,n.classList.add("fj-feedback-btn-loading"),n.textContent=B("global.sending"));for(const A of t)"feedbackTitle"===A.name&&(this.form.feedbackTitle=A.value),"feedbackDescription"===A.name&&(this.form.feedbackDescription=A.value),"consentFeedback"===A.name&&(this.form.consentFeedbackAgree=A.checked),"consentScreenFeedback"===A.name&&(this.form.consentScreenFeedback=A.checked),"consentAttachmentFile"===A.name&&A instanceof HTMLInputElement&&A.files&&A.files.length>0&&(this.form.consentAttachmentFile=A.files[0]);await this.submit()},A.addEventListener("submit",this.submitHandler)}async submit(){if(!this.form.isValid(this.hasConsentFeedback))return void this.render("form");const A=await this.form.toFormData(this.options);try{if(!(await fetch(`${this.options.apiUrl}/api/import_feedback`||"",{method:"POST",body:A})).ok)throw new Error("Failed to submit feedback");this.render("thanks")}catch(A){this.submitError=!0,this.render("form")}}formatDecisionDate(A){const e=new Date(A),t=String(e.getDate()).padStart(2,"0"),n=String(e.getMonth()+1).padStart(2,"0"),r=e.getFullYear(),s=String(e.getHours()).padStart(2,"0"),o=String(e.getMinutes()).padStart(2,"0");return`${t}/${n}/${r} ${B("global.date_at")} ${s}:${o}`}}var Go='<svg xmlns="http://www.w3.org/2000/svg" width="32" height="31" fill="none"><path stroke="#4966D8" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="m15.75.75 4.635 9.39 10.365 1.515-7.5 7.305 1.77 10.32-9.27-4.875-9.27 4.875 1.77-10.32-7.5-7.305 10.365-1.515z"/></svg>',To='<svg xmlns="http://www.w3.org/2000/svg" width="32" height="31" fill="none"><path fill="#4966D8" stroke="#4966D8" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="m15.75.75 4.635 9.39 10.365 1.515-7.5 7.305 1.77 10.32-9.27-4.875-9.27 4.875 1.77-10.32-7.5-7.305 10.365-1.515z"/></svg>';const Oo="fj-feedbot-";class Vo{constructor(){this.quantityAnswer=0,this.quantityQuestion="",this.qualityAnswer="",this.qualityQuestion="",this.closedAnswer=0,this.closedQuestion="",this.anonymousAnswer=!1,this.answerStatus="SENT"}toJson(A,e){var t,n,r;const s="function"==typeof A.user?A.user():A.user;return{quantityAnswer:this.quantityAnswer,quantityQuestion:null!==(t=null==e?void 0:e.quantityQuestion)&&void 0!==t?t:"",qualityAnswer:this.qualityAnswer,qualityQuestion:null!==(n=null==e?void 0:e.qualityQuestion)&&void 0!==n?n:"",anonymousAnswer:this.anonymousAnswer,closedAnswer:this.closedAnswer,closedQuestion:null!==(r=null==e?void 0:e.closedQuestion)&&void 0!==r?r:"",userId:null==s?void 0:s.id,userName:this.anonymousAnswer?null:(null==s?void 0:s.fullName)||null,uuidSurvey:`/api/surveys/${A.surveyId}`,answerStatus:this.answerStatus,widgetVersion:"2.3.2",widgetLocale:c()}}}class No{get user(){return"function"==typeof this.options.user?this.options.user():this.options.user}constructor(A){var e,t;this.ratingError=!1,this.submitError=!1,this.survey=null,this.previouslyFocusedElement=null,a(null!==(e=A.locale)&&void 0!==e?e:r.FR),this.options=A;const n=null!==(t=A.apiUrl)&&void 0!==t?t:A.baseApiUrl;if(!n)throw new Error("Feedbot: `apiUrl` option is required");this.apiUrl=n.trim().replace(/\/$/,""),this.form=new Vo,this.integrationTest=new ko({modalId:"fj-feedbot-modal",bodyOpenClass:"fj-feedbot-open",toggleHtmlClass:!1,btnPrimaryClasses:"fj-btn",btnOutlineClasses:"fj-btn fj-btn-secondary",btnLoadingClass:`${Oo}btn-loading`,pendingTitleKey:"integration_test.pending.feedbot.title",pendingTextKey:"integration_test.pending.feedbot.text",checkingTextKey:"integration_test.checking.feedbot_text",cancelLabelKey:"feedbot.cancel",connectivityCheckUrl:`${this.apiUrl}/api/connectivity_check/survey`,connectivityCheckBody:{uuidSurvey:A.surveyId},onSuccess:()=>this.increment()})}showThanks(A=!1){this.form.answerStatus=A?"DECLINED":"SENT",this.render("thanks")}render(A){var e,n,r;const s=null!==(e=document.getElementById(`${Oo}modal`))&&void 0!==e?e:document.createElement("div");if(null===A||!this.survey)return void(this.submitError||(this.form=new Vo,s.classList.add("fj-closing"),s.addEventListener("animationend",()=>{s.remove(),document.body.classList.remove(`${Oo}open`),this.previouslyFocusedElement&&(this.previouslyFocusedElement.focus(),this.previouslyFocusedElement=null)},{once:!0})));"form"!==A&&"thanks"!==A||(this.previouslyFocusedElement||(this.previouslyFocusedElement=document.activeElement),document.body.classList.add(`${Oo}open`));const o=!s.parentElement;if(s.id=`${Oo}modal`,o&&(s.className=`fj ${Oo}modal`),"form"===A||"thanks"===A?(s.setAttribute("role","dialog"),s.setAttribute("aria-modal","true")):(s.removeAttribute("role"),s.removeAttribute("aria-modal")),"bubble"===A&&(s.innerHTML=`<button type="button" class="${Oo}bubble" aria-label="${B("a11y.feedbot_bubble")}">\n <span class="${Oo}text">${this.survey.bubbleText||B("feedbot.bubble_default")}</span>\n <span class="${Oo}robot" aria-hidden="true"><svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 164 213"><path fill="#2C3D82" d="M75.638 144.771s4.61 1.009 6.734 1.502c2.127.495 6.279 1.444 6.988 1.689.711.245 2.07.871 2.445 2.088.374 1.217.29 1.986.428 4.337l-14.756-3.43c-.79-.183-1.766-1.449-1.84-6.186zM85.8 159.927c4.318 1.003 7.434 1.745 7.434 1.745-.2-2.053-.137-2.721-.538-3.792-.4-1.072-1.75-1.653-2.452-1.885-.702-.233-4.796-1.17-6.891-1.658a857 857 0 0 0-6.637-1.487c.102 2.064.198 3.46.366 4.398.24 1.34.028 1.911 1.26 5.735 1.126 3.498 1.885 5.785 5.463 9.237 0 0 3.41-3.331 2.406-5.134-.973-1.748-.914-1.508-1.632-3.269-.378-.923-.622-1.283-.749-2.493-.105-1 .938-1.64 1.97-1.401z"/><path fill="#2C3D82" d="M75.638 144.771s.875 11.683 1.864 14.382c.99 2.7 4.904-1.946 4.904-1.946l-.752-9.124-6.018-3.31z"/><path fill="url(#a)" d="M149.477 102.154c8.021-24.582-12.008-52.842-44.736-63.12s-65.761 1.318-73.782 25.9c-8.02 24.582 12.009 52.842 44.737 63.12 32.727 10.278 65.761-1.318 73.781-25.9"/><path fill="url(#b)" d="M85.05 135.955c-20.571-1.738-32.256-12.078-38.342-1.516-5.127 8.899 6.953 35.565 32.601 38.829 26.471 3.367 44.456-18.622 41.84-29.991-2.146-9.331-14.715-5.515-36.098-7.321z"/><path fill="url(#c)" d="M138.875 121.36c-1.907 1.048-5.849 2.352-5.653-.863.579-9.443 7.191-18.732 10.361-22.806 1.725-2.213 7.107-7.247 7.925-5.126 2.5 6.48 1.507 12.387-2.025 18.686-3.213 5.73-8.703 9.066-10.61 10.113v-.004z"/><path fill="url(#d)" d="M127.617 135.086c-1.84.833-1.308 4.8-1.842 7.029-.82 3.412-2.661 6.827-3.684 11.444-.709 3.195 2.048 5.824 5.731 6.025 3.684.201 14.738-.804 19.854-5.019 3.892-3.209 7.574-6.828 7.574-10.642 0-4.824-13.237-8.101-16.986-8.837-3.071-.603-7.982-1.204-10.643 0z"/><path fill="url(#e)" d="M8.908 88.098c2.476.844 5.527 4.818 9.415 5.824 3.888 1.003 12.69 1.807 12.895 8.836.205 7.028-4.013 14.333-8.313 15.938-4.299 1.606-11.865.098-15.884-4.408-4.414-4.95-8.142-15.343-6.71-19.763C1.745 90.108 4.2 86.493 8.909 88.1z"/><path fill="url(#f)" d="M91.46 60.518c16.845 6.768 28.353 17.536 30.023 19.632 1.28 1.605-3.851 8.591-8.026 16.431-3.912 7.345-5.99 15.781-7.646 16.398-2.352.876-18.514-1.918-33.043-8.71-16.29-7.616-27.939-16.49-28.442-18.858-.582-2.738 1.21-13.093 4.37-19.291 3.473-6.394 8.312-12.774 11.21-14.005 2.37-1.007 15.402 1.911 31.556 8.401h-.002z"/><path fill="#fff" d="M72.78 39.482c-3.812.4-12.452 1.44-13.116 5.665-.667 4.226 5.654 4.257 8.94 3.757s9.34-.897 12.81-.622c3.47.272 6.344-2.334 5.093-4.822-1.25-2.488-8.378-4.537-13.727-3.976zm-14.535 96.519c-2.103-.285-5.225 1.571-5.378 3.759s-.676 4.624-.11 6.587c.57 1.962 2.164 6.878 5.247 8.184s4.967 2.121 6.282.974 1.597-2.64.658-4.351c-.94-1.712-3.447-3.667-2.72-6.503.727-2.835.04-8.103-3.98-8.647zM3.339 94.533c-.095 1.306.57 4.536 1.839 6.051s3.917.165 3.774-2.334 1.813-6.297.259-7.348c-1.556-1.05-5.55-.88-5.872 3.633zm139.068 46.434c-.397-2.125-4.915-3.684-7.928-3.864s-4.65 1.885-4.211 2.946c.438 1.061 2.632 2.832 6.39 1.636 1.627-.517 6.006.644 5.753-.72h-.004z"/><path fill="#B4BFC6" d="M10.767 115.942s-5.854-3.633-4.061-6.915c.91-1.664 2.674-2.836 5.734-2.46s5.838 2.144 8.326.831c2.486-1.313 3.782-2.196 6.066-2.486 1.966-.25 2.096 1.507 2.224 2.827-.57 1.993-1.465 4.886-1.973 5.631-.507.747-2.617 3.294-5.388 3.981-2.994.741-5.64 1.117-10.928-1.411zm53.929 15.801c.144 1.28 1.88 3.755 4.362 4.816 5.639 2.413 7.861.663 19.088 3.973 8.256 2.433 18.584 2.87 22.932 1.449s5.653-3.981 3.044-4.692c0 0-1.369-.411-6.257-.696-4.169-.242-11.666-.376-14.683-.259-4.957.194-16.978-1.609-20.843-2.637a623 623 0 0 0-7.64-1.958zm18.844-5.528c5.49 1.75 13.787 2.278 19.884.427 7.237-2.198 18.895-3.701 21.572-3.126 1.921.414 2.466 1.755 2.268 2.399 0 0-7.34 3.858-17.763 5.208s-17.764.643-22.615-.259c-2.698-.5-8.36-1.837-13.494-3.549-.646-2.182 6.197-2.362 10.148-1.101zm63.098-31.651c-2.057.059-5.749 2.559-10.942 10.058-5.386 7.775-6.341 13.159-6.113 15.336.228 2.175.916 3.291 1.529 3.965 0 0 1.683-.984 2.752-1.736 0 0-.939-.365-.415-3.708.224-1.437.859-3.787 1.726-6.301 1.116-3.231 2.69-5.892 4.151-8.357 1.944-3.28 6.663-8.959 7.31-9.256zm-17.059 63.05c-1.539-1.343.286-5.876 1.996-6.828 1.711-.951 4.334-.839 6.389-1.23 2.053-.392 4.334-1.289 6.047-2.014 1.712-.728 4.164-.224 5.248.951 1.083 1.176.03 2.334-.893 3.283-1.254 1.289-3.372 2.49-5.895 3.546-3.479 1.456-10.553 2.294-12.892 2.294z"/><path fill="#121442" d="M107.469 110.524c-.552 1.222-1.154 2.27-1.655 2.455-2.352.876-18.514-1.918-33.043-8.71-16.29-7.616-27.94-16.49-28.442-18.858-.583-2.738 1.21-13.093 4.37-19.291 3.473-6.394 8.311-12.774 11.209-14.005.695-.295 2.31-.253 4.651.12 0 0-7.326 6.535-10.662 12.99-2.217 4.288-3.881 8.353-4.872 12.374-.61 2.476-.95 4.794-.697 6.401.285 1.797 15.698 11.19 22.53 14.422 7.394 3.499 24.53 10.071 36.61 12.1h.001z"/><path fill="#425CC2" d="M129.28 31.407c6.615 0 11.977-5.261 11.977-11.751s-5.362-11.75-11.977-11.75-11.977 5.26-11.977 11.75 5.362 11.75 11.977 11.75"/><path fill="#B6C2EF" d="M134.127 13.253c1.491.993 1.242 3.054 1.504 5.857.241 2.587-3.741 6.754-6.733 6.705-2.994-.05-5.84-1.175-7.438-4.072-1.536-2.787-1.358-4.416-.569-6.366.924-2.274 3.914-4.596 7.48-4.463s4.182 1.292 5.756 2.339"/><path fill="#8094E4" d="M135.528 26.382c1.449-1.023 3.687-3.922 3.045-7.545-.737-4.17-2.427-6.858-5.392-6.43-3.019.435-5.455 1.52-5.386 4.357.07 2.837 1.606 4.927-.251 6.754s.066 5.546 2.247 5.285c3.304-.393 4.332-1.432 5.737-2.422"/><path fill="#EDF0FB" d="M125.967 18.031c1.304-.603 3.81-1.72 4.322-3.009.511-1.288.563-3.096-.76-4.07-1.324-.972-3.193-1.421-4.745-.267s-4.131 3.017-3.153 4.74c.977 1.723.829 3.215 2.479 3 1.648-.216 1.859-.394 1.859-.394z"/><path fill="#4966D8" d="M139.707 5.668c-.271 0-.544-.08-.781-.248-1.449-1.025-3.428-1.74-3.448-1.747-.693-.248-1.05-1-.798-1.68a1.34 1.34 0 0 1 1.712-.783c.095.033 2.342.842 4.097 2.082.599.423.734 1.243.303 1.83-.26.355-.67.546-1.085.546m-15.624-2.365a1.335 1.335 0 0 1-1.279-.934 1.31 1.31 0 0 1 .894-1.633c.097-.028 2.388-.697 4.554-.736.736-.01 1.347.563 1.359 1.289a1.32 1.32 0 0 1-1.313 1.334c-1.8.031-3.81.619-3.83.624a1.3 1.3 0 0 1-.385.056m-9.673 6.288c-.288 0-.577-.09-.823-.278a1.296 1.296 0 0 1-.23-1.84c.064-.08 1.568-1.957 3.35-3.232a1.354 1.354 0 0 1 1.868.287 1.295 1.295 0 0 1-.292 1.832c-1.485 1.062-2.807 2.712-2.82 2.728-.263.33-.657.503-1.053.503m-4.05 10.85h-.022a1.32 1.32 0 0 1-1.315-1.33c0-.102.046-2.488.683-4.553a1.34 1.34 0 0 1 1.666-.876c.706.21 1.107.942.893 1.635-.53 1.717-.569 3.811-.569 3.832-.01.717-.607 1.292-1.336 1.292m3.037 11.022c-.429 0-.85-.2-1.108-.577-.057-.082-1.392-2.028-2.073-4.044a1.307 1.307 0 0 1 .849-1.657c.7-.227 1.457.145 1.689.832.567 1.675 1.738 3.383 1.748 3.4.414.6.253 1.415-.358 1.822-.23.152-.49.226-.748.226zm9.323 7.191q-.22.001-.439-.074c-.094-.033-2.354-.81-4.125-2.026a1.296 1.296 0 0 1-.33-1.825 1.354 1.354 0 0 1 1.861-.324c1.463 1.004 3.453 1.69 3.473 1.698.697.24 1.064.986.821 1.67-.192.54-.709.88-1.261.88m7.315 1.13a1.324 1.324 0 0 1-1.336-1.308 1.324 1.324 0 0 1 1.333-1.315c1.837-.005 3.894-.579 3.913-.586a1.34 1.34 0 0 1 1.654.897 1.306 1.306 0 0 1-.914 1.623c-.098.028-2.44.681-4.648.687h-.003zm11.033-4.069c-.403 0-.802-.179-1.066-.518a1.294 1.294 0 0 1 .255-1.837c1.447-1.08 2.741-2.761 2.753-2.779a1.353 1.353 0 0 1 1.871-.262c.59.434.711 1.255.27 1.834-.061.08-1.524 1.988-3.276 3.294a1.35 1.35 0 0 1-.807.268m6.33-9.494q-.21.001-.419-.067a1.31 1.31 0 0 1-.85-1.657c.574-1.701.674-3.808.676-3.829.032-.724.664-1.283 1.393-1.252a1.323 1.323 0 0 1 1.278 1.366c-.004.1-.116 2.486-.807 4.539-.186.55-.708.9-1.269.9zm.203-12.383c-.413 0-.82-.187-1.082-.54-.95-1.282-2.443-2.75-2.459-2.765a1.294 1.294 0 0 1 0-1.855 1.356 1.356 0 0 1 1.891 0c.068.067 1.655 1.626 2.73 3.076a1.295 1.295 0 0 1-.294 1.832c-.237.17-.513.251-.786.251"/><path fill="#2C3D82" d="M83.671 143.336s-11.91 1.768-11.052 15.497c.21 3.373 2.577 8.506 7.194 11.349 0 0-6.118-7.924-2.505-15.518 2.903-6.106 10.37-3.527 12.121-10.943 0 0-2.552-.834-5.758-.385"/><path fill="#2C3D82" d="M87.824 154.05c2.977 0 5.39-2.368 5.39-5.289s-2.413-5.288-5.39-5.288-5.39 2.368-5.39 5.288 2.413 5.289 5.39 5.289m-6.089 6.106c1.93 0 3.496-1.535 3.496-3.43 0-1.894-1.565-3.43-3.496-3.43s-3.497 1.536-3.497 3.43 1.566 3.43 3.497 3.43"/><path fill="#D9EFFD" d="M64.834 75.612c4.736 1.12 7.376 7.755 10.088 6.095 2.89-1.769-1.377-10.457-7.779-12.734-6.21-2.21-16.258 4.87-14.486 6.96 2.617 3.084 7.032-1.537 12.176-.32zm32.902 13.02c4.261 2.333 5.426 9.563 8.488 8.252 3.291-1.409 1.374-9.938-4.813-14.001-5.784-3.798-16.639.228-15.57 2.894 1.546 3.858 7.413.4 11.895 2.855"/><ellipse cx="83.323" cy="192.924" fill="url(#g)" fill-opacity=".6" rx="30.304" ry="6.774"/><ellipse cx="82.254" cy="207.898" fill="url(#h)" fill-opacity=".6" rx="21.391" ry="4.635"/><defs><linearGradient id="a" x1="54.223" x2="125.495" y1="48.671" y2="120.41" gradientUnits="userSpaceOnUse"><stop stop-color="#F1F2F3"/><stop offset="1" stop-color="#C4CDD3"/></linearGradient><linearGradient id="b" x1="45.55" x2="121.402" y1="151.683" y2="151.683" gradientUnits="userSpaceOnUse"><stop stop-color="#F1F2F3"/><stop offset="1" stop-color="#C4CDD3"/></linearGradient><linearGradient id="c" x1="139.942" x2="144.858" y1="96.966" y2="117.079" gradientUnits="userSpaceOnUse"><stop offset=".15" stop-color="#F1F2F3"/><stop offset=".26" stop-color="#E5E8EA"/><stop offset=".47" stop-color="#D2D9DD"/><stop offset=".7" stop-color="#C7CFD5"/><stop offset=".94" stop-color="#C4CDD3"/></linearGradient><linearGradient id="d" x1="121.979" x2="155.25" y1="147" y2="147" gradientUnits="userSpaceOnUse"><stop stop-color="#F1F2F3"/><stop offset="1" stop-color="#C4CDD3"/></linearGradient><linearGradient id="e" x1="0" x2="31.225" y1="103.516" y2="103.516" gradientUnits="userSpaceOnUse"><stop stop-color="#F1F2F3"/><stop offset="1" stop-color="#C4CDD3"/></linearGradient><linearGradient id="f" x1="56.797" x2="102.227" y1="101.704" y2="66.889" gradientUnits="userSpaceOnUse"><stop stop-color="#134395"/><stop offset="1" stop-color="#0E2050"/></linearGradient><linearGradient id="g" x1="83.323" x2="83.323" y1="186.15" y2="199.698" gradientUnits="userSpaceOnUse"><stop stop-color="#EDF0FB"/><stop offset="1" stop-color="#B6C2EF"/></linearGradient><linearGradient id="h" x1="82.254" x2="82.254" y1="203.264" y2="212.533" gradientUnits="userSpaceOnUse"><stop stop-color="#EDF0FB"/><stop offset="1" stop-color="#8094E4"/></linearGradient></defs></svg></span>\n </button>`,null===(n=s.querySelector(`.${Oo}bubble`))||void 0===n||n.addEventListener("click",()=>{this.render("form")})),"form"===A){s.innerHTML=`<form class="${Oo}form" data-version="v2.3.2" aria-labelledby="${Oo}form-title">\n <div class="${Oo}header">\n <div id="${Oo}form-title" class="${Oo}title">${this.survey.title}</div>\n <div class="${Oo}subtitle">${this.survey.subTitle}</div>\n </div>\n <div class="${Oo}content">\n <div class="${Oo}presentation-wrapper">\n <div class="${Oo}robot" aria-hidden="true">${t}</div>\n <div class="${Oo}presentation">${this.survey.mainQuestion}</div>\n </div>\n ${this.survey.quantityQuestion?`<div class="${Oo}rating" role="group" aria-labelledby="${Oo}rating-label">\n <label id="${Oo}rating-label"><p> ${this.survey.quantityQuestion} ${l(`${Oo}required`)}</p></label>\n <div class="${Oo}stars">\n <div class="${Oo}stars-wrapper" role="radiogroup" aria-labelledby="${Oo}rating-label">\n ${[...Array(5).keys()].reverse().map(A=>{return`\n <button\n type="button"\n role="radio"\n aria-checked="${A<this.form.quantityAnswer}"\n data-value="${A+1}"\n aria-label="${e={n:A+1,s:0===A?"":"s"},Object.entries(e).reduce((A,[e,t])=>A.replace(new RegExp(`\\{${e}\\}`,"g"),String(t)),B("feedbot.star_label"))}"\n >\n ${A<this.form.quantityAnswer?To:Go}\n </button>`;var e}).join("")}\n </div>\n </div>\n </div>\n ${this.ratingError?`<p class="fj-error" aria-live="polite">${B("feedbot.rating_error")}</p>`:""}`:""}\n ${this.survey.qualityQuestion?`<label class="${Oo}quality">\n <p>${this.survey.qualityQuestion} ${l(`${Oo}required`)}</p>\n <textarea name="qualityAnswer" rows="6" required maxlength="1000">${this.form.qualityAnswer}</textarea>\n </label>`:""}\n ${this.survey.closedQuestion?`<div class="${Oo}closed ${Oo}label">\n <p id="${Oo}closed-label">${this.survey.closedQuestion} ${l(`${Oo}required`)}</p>\n <div class="${Oo}closed-answers" role="radiogroup" aria-labelledby="${Oo}closed-label">\n <input type="radio" name="closedAnswer" value="1" id="${Oo}r1" required>\n <label for="${Oo}r1">${this.survey.closedAnswerOne}</label>\n <input type="radio" name="closedAnswer" value="2" id="${Oo}r2" required>\n <label for="${Oo}r2">${this.survey.closedAnswerTwo}</label>\n </div>\n </div>`:""}\n \n <label class="fj-checkbox-label ${Oo}anonymous">\n <input type="checkbox" name="anonymousAnswer" ${this.form.anonymousAnswer?"checked":""}>\n <p>${B("feedbot.anonymous")}</p>\n </label>\n ${this.submitError?`<p class="fj-error" aria-live="assertive">${B("global.submit_error")}</p>`:""}\n </div>\n <div class="${Oo}footer-buttons">\n <button type="button" class="fj-btn fj-btn-secondary ${Oo}btn-decline">${B("feedbot.cancel")}</button>\n <button type="submit" class="fj-btn ${Oo}btn-submit">${B("feedbot.submit")}</button>\n </div>\n </form>`;const A=s.querySelectorAll(`.${Oo}rating button`);for(const e of A)e.addEventListener("click",()=>{const t=Number.parseInt(e.dataset.value||"0",10);this.form.quantityAnswer=t;for(const e of A){const A=Number.parseInt(e.dataset.value||"0",10);e.innerHTML=A<=t?To:Go,e.setAttribute("aria-checked",A===t?"true":"false")}});const e=s.querySelector("form"),n=s.querySelector(`.${Oo}btn-submit`),r=s.querySelector(`.${Oo}btn-decline`),o=(A,e)=>{A&&(A.disabled=!0,A.classList.add("fj-btn-loading"),A.textContent=B("global.sending")),e&&(e.disabled=!0)},i=t=>{var s;if(t.preventDefault(),!e)return;const a=e.querySelectorAll("input, textarea");for(const A of a)"quantityAnswer"===A.name&&(this.form.quantityAnswer=Number.parseInt(A.value,10)),"qualityAnswer"===A.name&&(this.form.qualityAnswer=A.value),"anonymousAnswer"===A.name&&(this.form.anonymousAnswer=A.checked);const c=e.querySelector('input[name="closedAnswer"]:checked');if(c&&(this.form.closedAnswer=Number.parseInt(c.value,10)),null===(s=this.survey)||void 0===s?void 0:s.quantityQuestion){this.form.quantityAnswer=0;for(const e of A)"true"===e.getAttribute("aria-checked")&&(this.form.quantityAnswer=Number.parseInt(e.dataset.value||"0",10));if(0===this.form.quantityAnswer)return this.ratingError=!0,void this.render("form")}o(n,r),this.submit(),e.removeEventListener("submit",i)};null==e||e.addEventListener("submit",i),null==r||r.addEventListener("click",()=>{o(r,n),this.form.answerStatus="DECLINED",this.submit()})}if("thanks"===A){const A="DECLINED"===this.form.answerStatus;s.innerHTML=A?`<div class="${Oo}thanks" data-version="v2.3.2" aria-labelledby="${Oo}thanks-title" aria-describedby="${Oo}thanks-subtitle">\n <div id="${Oo}thanks-title" class="${Oo}title">${B("feedbot.thanks.declined.title")}</div>\n <div id="${Oo}thanks-subtitle" class="${Oo}subtitle">${B("feedbot.thanks.declined.sub_title")}</div>\n <button class="fj-btn ${Oo}btn-close">${B("global.close")}</button>\n </div>`:`<div class="${Oo}thanks" data-version="v2.3.2" aria-labelledby="${Oo}thanks-title" aria-describedby="${Oo}thanks-subtitle">\n <div id="${Oo}thanks-title" class="${Oo}title">${B("feedbot.thanks.title")}</div>\n <div id="${Oo}thanks-subtitle" class="${Oo}subtitle">${B("feedbot.thanks.sub_title")}</div>\n <button class="fj-btn ${Oo}btn-close">${B("global.close")}</button>\n </div>`,null===(r=s.querySelector(`.${Oo}btn-close`))||void 0===r||r.addEventListener("click",()=>{this.render(null)})}o&&(s.addEventListener("keydown",A=>{"Escape"===A.key&&this.render(null),"dialog"===s.getAttribute("role")&&Do(s,A)}),document.body.appendChild(s)),"form"===A?requestAnimationFrame(()=>{var A;const e=s.querySelector('textarea, input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"])');e?e.focus():null===(A=s.querySelector("button:not([disabled])"))||void 0===A||A.focus()}):"thanks"===A&&requestAnimationFrame(()=>{var A;null===(A=s.querySelector(`.${Oo}btn-close`))||void 0===A||A.focus()})}async increment(){var A;try{const e=await fetch(`${this.apiUrl}/api/survey_logs/increment`,{method:"POST",body:JSON.stringify({uuidSurvey:this.options.surveyId,userId:(null===(A=this.user)||void 0===A?void 0:A.id)||null}),headers:{"Content-Type":"application/json"}});if(!e.ok)throw new Error("Failed to increment log");const t=await e.json();if(this.integrationTest.setStatus(t.surveyIntegrationTest||"pending"),this.integrationTest.handleIntegrationStatus())return;t.isValid?(this.survey=t.survey,this.render("bubble")):this.survey=null}catch(A){}}async submit(){try{if(!(await fetch(`${this.apiUrl}/api/reviews/submit`,{method:"POST",body:JSON.stringify(this.form.toJson(this.options,this.survey)),headers:{"Content-Type":"application/json"}})).ok)throw new Error("Failed to submit feedback");this.render("SENT"===this.form.answerStatus||"DECLINED"===this.form.answerStatus?"thanks":null)}catch(A){this.submitError=!0,this.render("form")}}}"undefined"!=typeof window&&(window.Feedback=So,window.Feedbot=No),A.Feedback=So,A.Feedbot=No,A.Locales=r});
|
|
1
|
+
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).Feedjet={})}(this,function(e){"use strict";var t='<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24"><g fill="none"><circle cx="12" cy="12" r="10" stroke="currentColor" stroke-width="1.5"/><path stroke="currentColor" stroke-linecap="round" stroke-width="1.5" d="M12 17v-6"/><circle cx="1" cy="1" r="1" fill="currentColor" transform="matrix(1 0 0 -1 11 9)"/></g></svg>',n='<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 81 95"><path fill="url(#a)" d="M46.713 71.585c17.817-5.213 29.024-20.497 25.033-34.138-3.992-13.64-21.67-20.472-39.487-15.259C14.443 27.403 3.236 42.687 7.227 56.326s21.67 20.472 39.486 15.26"/><path fill="url(#b)" d="M47.973 74.096c-10.506 3.752-18.613 1.201-19.184 7.857C28.31 87.56 40.351 98.2 53.7 94.07c13.774-4.263 17.573-19.314 13.684-24.418-3.192-4.19-8.491.545-19.41 4.444"/><path fill="url(#c)" d="M19.124 74.507c-1.333-1.469-3.416-1.171-5.603-2.1-2.04-.867-3.02-1.904-5.139-1.252-2.118.652-6.193 3.75-6.682 5.868s-1.956 6.356.652 7.986 9.616-.326 11.735-1.467c2.119-1.14 9.588-4.016 5.037-9.035"/><path fill="url(#d)" d="M68.487 50.825c-1.895.236-4.393.976-5.124 2.928-.732 1.952 1.342 4.514 3.172 5.368s1.22 3.538 1.341 4.636c.123 1.098 2.002 4.091 5.491 3.416 3.782-.731 6.954-3.904 7.076-7.564s-2.806-7.32-4.514-8.297c-1.708-.975-5.491-.731-7.442-.487"/><path fill="url(#e)" d="M5.406 55.365c-.045-1.18.31-3.446 1.813-2.502s7.44 10 8.658 12.547c.662 1.384 1.783 3.387.542 3.249-3.79-.422-6.444-2.38-8.664-5.656-2.02-2.981-2.305-6.459-2.35-7.639z"/><path fill="url(#f)" d="M35.444 37.348c8.845-4.16 17.367-4.729 18.818-4.613 1.112.088 4.039 4.06 5.819 8.232s2.084 9.236 1.731 10.12c-.501 1.254-7.495 6.615-15.51 9.851-8.987 3.628-18.566 4.938-19.703 4.26-1.317-.782-3.923-5.252-4.947-7.781-.936-2.312-2.808-7.85-2.253-9.452.454-1.311 7.56-6.627 16.044-10.617"/><path fill="#D9EFFD" d="M32.25 52.667c2.252-1.42 5.906.125 6.277-1.582.396-1.82-4.697-3.525-8.045-1.903-3.248 1.573-4.253 8.26-2.744 8.378 2.227.174 2.067-3.351 4.512-4.893m17.775-7.856c2.555-.762 5.884 1.592 6.528-.117.692-1.836-3.442-4.4-7.421-3.557-3.72.79-6.25 6.605-4.78 7.223 2.129.894 2.986-2.748 5.673-3.549"/><path fill="#fff" d="M13.433 40.129c-.898 1.866-2.87 6.134-1.082 7.665s3.602-1.361 4.303-3.016c.7-1.655 2.238-4.55 3.352-6.064 1.115-1.514.712-3.59-.807-3.737-1.52-.146-4.507 2.532-5.767 5.152M8.344 62.39a17 17 0 0 1-1.624-3.492c-.39-1.162-.283-2.887.342-2.128.623.758 1.506 2.94 2.408 4.113s2.159 2.711 2.518 3.687c.274.743.267 2.023-.702 1.196-.453-.386-1.861-1.695-2.635-2.961m26.813 17.611c-1.073.405-2.065 2.109-1.562 3.206.503 1.098.896 2.412 1.682 3.213.787.803 2.837 2.768 4.644 2.603s2.914-.256 3.236-1.152c.321-.894.062-1.688-.835-2.274-.896-.586-2.6-.883-3.001-2.443-.402-1.56-2.115-3.929-4.165-3.155zM3.166 76.333c-.427.58-1.071 2.276-.938 3.347.134 1.071 1.74 1.206 2.411 0 .67-1.205 2.678-2.41 2.277-3.348-.402-.937-2.277-2.008-3.75 0m67.182-24.898c-.97-.689-3.318.397-4.553 1.462-1.237 1.064-1.077 2.495-.5 2.75.578.254 2.107.125 3.103-1.762.432-.817 2.573-2.008 1.95-2.45"/><path fill="#B4BFC6" d="M65.53 27.773c1.225 1.136 2.17 2.132 3.412 3.941 1.46 2.126 2.34 3.993 2.887 6.187.862 3.465.764 6.856.329 9.18 0 0 2.686-4.418 2.482-8.559-.063-1.268-.5-3.523-1.36-5.132-1.498-2.796-4.272-5.467-7.749-5.617M9.534 55.54s1.298.073 3.904 2.195c2.503 2.037 5.358 6.288 6.242 7.938 1.338 2.498 1.982 4.41.727 4.787 0 0-2.92-1.328-3.524-1.864 0 0 .197-.951-1.593-4.386-1.348-2.587-5.756-8.67-5.756-8.67m51.43.76c-.683 1.26-2.246 4.317-2.918 5.194-.671.876-1.443 1.823-4.493 3.91-2.876 1.968-3.968 2.45-6.77 3.5-2.8 1.05-4.356 3.654-4.356 3.654 5.209-.964 8.215-2.062 13.117-4.629s8.985-6.764 10.834-8.936c-.964-.434-1.576-1.141-2.25-1.913-1.234-1.61-.764-3.327-.764-3.327s-1.641 1.147-2.4 2.547M19.552 76.269c-.12-.48-1.546-1.185-2.512-.89-.967.297-3.305 1.967-4.288 2.95-1.341 1.342-2.946 1.854-3.912 2.348-.967.493-2.235 2.123-1.56 3.689 0 0 2.265.132 3.908-.559s9.33-3.687 8.365-7.538m23.539-.177c.28.28 3.279.788 5.765.336s7.4-1.605 9.434-2.51c2.035-.904 5.828-2.495 6.88-3.674.702-.787 1.32-1.601.72-1.91-.677-.348-2.155-.339-3.133-.196-1.95.285-9.196 3.684-10.654 4.372-3.386 1.595-8.172 2.742-8.872 2.938-.42.056-.31.474-.14.644"/><path fill="#2C3D82" d="M26.842 16.893a6.32 6.32 0 1 0 0-12.64 6.32 6.32 0 0 0 0 12.64"/><path fill="#5B76C4" d="M29.4 7.128c.786.534.655 1.643.793 3.15.127 1.392-1.974 3.633-3.553 3.606-1.58-.026-3.081-.631-3.925-2.19-.81-1.498-.716-2.375-.3-3.423.488-1.224 2.066-2.472 3.947-2.4 1.882.07 2.207.694 3.037 1.257"/><path fill="#3D55A3" d="M30.138 14.193c.765-.55 1.946-2.109 1.607-4.057-.39-2.243-1.28-3.689-2.845-3.459-1.593.235-2.878.818-2.842 2.344s.847 2.65-.133 3.632.035 2.983 1.186 2.843c1.744-.212 2.286-.77 3.027-1.303"/><path fill="#C0D2FF" d="M25.095 9.693c.688-.324 2.01-.925 2.28-1.618s.297-1.666-.4-2.19c-.7-.522-1.686-.764-2.505-.143-.819.62-2.18 1.623-1.663 2.549.515.927.437 1.73 1.308 1.614.87-.116.98-.212.98-.212"/><path fill="#2C3D82" d="M32.577 3.218a.7.7 0 0 1-.453-.166c-.67-.563-1.912-1.077-1.924-1.083a.705.705 0 0 1 .536-1.304c.06.024 1.455.602 2.295 1.308a.706.706 0 0 1-.454 1.246zm-8.363-1.441a.705.705 0 0 1-.203-1.381C24.061.38 25.271.02 26.414 0a.705.705 0 1 1 .024 1.41c-.944.017-2.011.333-2.022.336a.7.7 0 0 1-.202.03zm-5.103 3.385a.706.706 0 0 1-.555-1.14c.033-.042.828-1.052 1.768-1.737a.705.705 0 1 1 .831 1.14c-.783.57-1.48 1.458-1.487 1.467a.7.7 0 0 1-.556.27zm-2.138 5.828h-.011a.705.705 0 0 1-.694-.715c0-.054.024-1.338.36-2.448a.705.705 0 1 1 1.35.408c-.277.918-.3 2.05-.3 2.062a.705.705 0 0 1-.705.694m1.602 5.937a.7.7 0 0 1-.585-.31c-.03-.044-.734-1.09-1.093-2.175a.706.706 0 0 1 1.338-.444c.298.896.917 1.82.923 1.829a.705.705 0 0 1-.584 1.1m4.922 3.869a.7.7 0 0 1-.231-.04c-.05-.017-1.242-.435-2.177-1.09a.705.705 0 0 1 .808-1.155c.772.54 1.822.91 1.832.913a.706.706 0 0 1-.232 1.372m3.859.595a.706.706 0 0 1-.002-1.41c.97-.003 2.055-.312 2.065-.316a.704.704 0 1 1 .39 1.355c-.052.016-1.287.367-2.452.37zm5.821-2.177a.706.706 0 0 1-.428-1.266c.769-.584 1.446-1.485 1.452-1.493a.705.705 0 1 1 1.13.845c-.032.043-.804 1.07-1.729 1.772a.7.7 0 0 1-.425.143m3.341-5.108a.706.706 0 0 1-.67-.927c.305-.921.355-2.049.356-2.06a.705.705 0 0 1 1.409.06c-.002.055-.061 1.337-.426 2.441a.71.71 0 0 1-.67.485m.055-6.41a.7.7 0 0 1-.642-.414c-.418-.918-1.144-1.589-1.15-1.596a.706.706 0 0 1 .95-1.043c.038.035.943.864 1.485 2.055a.705.705 0 0 1-.641.997z"/><path fill="#121442" d="M26.6 65.199c1.111.717 10.717-.633 19.702-4.26 8.016-3.236 15.01-8.598 15.511-9.852.353-.884.049-5.948-1.731-10.12s-4.707-8.143-5.819-8.232c0 0-.983-.076-2.283.091 0 0 3.584 3.118 5.392 7.171 2.04 4.571 2.355 8.755 2.43 9.247.077.493 0 .683-.303 1.024-.304.342-6.89 4.918-12.376 7.433-6.497 2.978-17.44 5.618-22.213 5.618 0 0 .96 1.508 1.689 1.88"/><path fill="#2C3D82" d="M50.743 77.919s-5.268 3.559-1.686 10.032c.88 1.59 3.193 3.547 6.05 3.88 0 0-4.746-2.46-4.78-6.968-.027-3.623 4.126-4.064 3.247-8.062 0 0-1.408.173-2.832 1.118"/><path fill="#2C3D82" d="M53.978 82.46a2.844 2.844 0 1 0 0-5.69 2.844 2.844 0 0 0 0 5.69m.782 2.524a1.845 1.845 0 1 0-3.683-.232 1.845 1.845 0 0 0 3.682.232"/><defs><linearGradient id="a" x1="17.129" x2="71.508" y1="31.413" y2="69.047" gradientUnits="userSpaceOnUse"><stop stop-color="#F1F2F3"/><stop offset="1" stop-color="#C4CDD3"/></linearGradient><linearGradient id="b" x1="28.775" x2="68.823" y1="81.508" y2="81.508" gradientUnits="userSpaceOnUse"><stop stop-color="#F1F2F3"/><stop offset="1" stop-color="#C4CDD3"/></linearGradient><linearGradient id="c" x1=".846" x2="20.568" y1="78.291" y2="78.291" gradientUnits="userSpaceOnUse"><stop stop-color="#F1F2F3"/><stop offset="1" stop-color="#C4CDD3"/></linearGradient><linearGradient id="d" x1="63.212" x2="80.447" y1="58.94" y2="58.94" gradientUnits="userSpaceOnUse"><stop stop-color="#F1F2F3"/><stop offset="1" stop-color="#C4CDD3"/></linearGradient><linearGradient id="e" x1="5.402" x2="16.977" y1="60.653" y2="60.653" gradientUnits="userSpaceOnUse"><stop stop-color="#F1F2F3"/><stop offset="1" stop-color="#C4CDD3"/></linearGradient><linearGradient id="f" x1="49.368" x2="31.597" y1="67.699" y2="29.033" gradientUnits="userSpaceOnUse"><stop offset=".13" stop-color="#134395"/><stop offset="1" stop-color="#0E2050"/></linearGradient></defs></svg>',o='<svg xmlns="http://www.w3.org/2000/svg" width="110" height="122" fill="none"><path fill="#C65D17" d="M69.808 20.603a7.81 7.81 0 1 0 0-15.619 7.81 7.81 0 0 0 0 15.619"/><path fill="#EE7219" d="M69.106 7.54c1.157-.205 1.997.89 3.417 2.106 1.312 1.124 1.383 4.918-.039 6.256-1.421 1.337-3.273 2.095-5.363 1.441-2.01-.628-2.682-1.487-3.216-2.774-.623-1.504-.302-3.969 1.426-5.527s2.553-1.287 3.774-1.503"/><path fill="#FF9852" d="M75.849 13.16c.203-1.145-.094-3.544-2.073-4.978-2.278-1.65-4.312-2.162-5.5-.611-1.21 1.58-1.846 3.204-.498 4.524s3.033 1.617 3.012 3.332 2.601 2.612 3.5 1.495c1.362-1.689 1.362-2.651 1.559-3.762"/><path fill="#FFDFCA" d="M67.503 13.52c.33-.88.983-2.552.624-3.399-.359-.846-1.171-1.731-2.24-1.593s-2.152.775-2.343 2.03c-.189 1.256-.531 3.316.724 3.692 1.256.377 1.878 1.154 2.549.302.67-.852.686-1.032.686-1.032"/><path fill="#C65D19" d="M76.563 3.752a.9.9 0 0 1-.512-.164c-.93-.67-2.198-1.137-2.21-1.141a.876.876 0 0 1 .6-1.648c.061.023 1.506.553 2.636 1.366a.877.877 0 0 1-.514 1.589zM66.531 2.2A.877.877 0 0 1 66.28.483C66.34.464 67.815.025 69.206 0a.877.877 0 0 1 .03 1.754c-1.15.02-2.44.404-2.452.408a1 1 0 0 1-.254.037zm-6.207 4.119a.876.876 0 0 1-.69-1.417c.041-.051 1.008-1.281 2.155-2.118A.877.877 0 1 1 62.822 4.2c-.944.69-1.797 1.77-1.807 1.782a.87.87 0 0 1-.69.336m-2.603 7.095h-.013a.877.877 0 0 1-.864-.89c0-.065.029-1.63.438-2.984a.876.876 0 1 1 1.679.507c-.34 1.121-.364 2.489-.364 2.503a.877.877 0 0 1-.876.864m1.95 7.223a.87.87 0 0 1-.727-.386c-.037-.054-.896-1.33-1.333-2.653a.877.877 0 0 1 1.665-.552c.36 1.088 1.113 2.21 1.12 2.222a.878.878 0 0 1-.726 1.367zm5.985 4.706a.9.9 0 0 1-.287-.049c-.061-.02-1.513-.53-2.654-1.328a.876.876 0 1 1 1.004-1.437c.938.656 2.213 1.105 2.226 1.11a.877.877 0 0 1-.289 1.704m4.696.725a.877.877 0 0 1-.002-1.754c1.17-.004 2.496-.379 2.509-.382a.876.876 0 0 1 .485 1.685c-.063.018-1.569.446-2.988.45h-.004m7.085-2.648a.876.876 0 0 1-.53-1.575c.925-.704 1.755-1.803 1.763-1.814a.878.878 0 0 1 1.404 1.051c-.04.053-.98 1.302-2.106 2.158a.88.88 0 0 1-.53.179zm4.064-6.214a.877.877 0 0 1-.832-1.153c.367-1.11.43-2.486.432-2.5a.876.876 0 1 1 1.752.075c-.002.065-.074 1.63-.519 2.976a.88.88 0 0 1-.832.601zm.129-8.11a.88.88 0 0 1-.71-.36c-.61-.837-1.567-1.798-1.577-1.807a.877.877 0 0 1 1.24-1.24c.044.043 1.063 1.066 1.755 2.015a.878.878 0 0 1-.707 1.394z"/><path fill="url(#a)" d="M99.026 64.396c1.801-17.578-15.35-33.734-38.309-36.086s-43.03 9.99-44.83 27.568c-1.802 17.577 15.35 33.733 38.308 36.085 22.959 2.353 43.03-9.99 44.831-27.567"/><path fill="url(#b)" d="M53.803 96.185c13.869.058 22.32-6.284 25.74 1.286 2.88 6.377-6.843 23.827-24.2 24.5-17.914.694-28.587-15.385-26.137-22.978 2.011-6.231 10.183-2.869 24.597-2.808"/><path fill="url(#c)" d="M83.645 94.965c1.345-1.848 3.904-1.59 6.506-3.615 2.176-1.691 2.457-4.048 6.65-3.903 2.754.094 5.419 5.556 7.95 6.505 3.47 1.302 6.723 6.671 3.904 9.252s-13.344 2.797-16.192 1.88c-2.847-.916-13.445-3.758-8.818-10.12"/><path fill="url(#d)" d="M12.967 81.728c1.824-1.094 4.736-2.202 7.49.22s7.6 8.481 5.067 11.675-9.473 4.957-13.108 4.957-9.802.11-11.675-2.534c-1.184-1.671-.991-3.634.882-5.507s7.49-6.499 11.344-8.811"/><path fill="url(#e)" d="M60.241 47.556c-11.753-3.09-22.3-1.86-24.05-1.392-1.338.359-4.02 5.874-5.255 11.377s-.463 11.762.167 12.763c.895 1.42 10.657 6.397 21.188 8.543 11.805 2.407 23.813 1.846 25.05.761 1.432-1.254 3.61-7.306 4.291-10.631.622-3.038 1.662-10.23.621-12.065-.85-1.5-10.739-6.395-22.012-9.357z"/><path fill="#121442" d="M77.34 79.61c-1.196 1.128-13.243 1.645-25.05-.761-10.53-2.146-20.292-7.122-21.187-8.543-.632-1.001-1.402-7.261-.168-12.763 1.235-5.502 3.918-11.018 5.257-11.377 0 0 1.184-.316 2.811-.403 0 0-3.678 4.62-4.973 9.983-1.461 6.049-.903 11.235-.884 11.854.019.62.154.835.602 1.184.448.348 9.534 4.456 16.808 6.292 8.616 2.175 22.59 2.933 28.425 1.855 0 0-.834 2.06-1.64 2.68"/><path fill="#D9EFFD" d="M51.307 61.156c.925-4.057-1.34-8.033-5.06-8.88s-7.483 1.753-8.408 5.81c-.925 4.058 1.34 8.034 5.06 8.882s7.483-1.755 8.408-5.812"/><path fill="url(#f)" d="M44.424 62.484a2.86 2.86 0 1 0 0-5.721 2.86 2.86 0 0 0 0 5.721"/><path fill="#D9EFFD" d="M75.309 66.647c.925-4.058-1.34-8.034-5.06-8.882s-7.483 1.755-8.408 5.812 1.34 8.033 5.06 8.88 7.483-1.753 8.408-5.81"/><path fill="url(#g)" d="M68.567 68.174a2.86 2.86 0 1 0 0-5.722 2.86 2.86 0 0 0 0 5.722"/><path fill="url(#h)" d="M101.031 62.802c-.213-1.452-1.159-4.143-2.781-2.65-1.624 1.494-6.84 13.906-7.753 17.294-.497 1.841-1.416 4.543.071 4.094 4.54-1.37 7.34-4.363 9.316-8.87 1.797-4.1 1.361-8.417 1.148-9.869z"/><path fill="url(#i)" d="M21.297 42.644c-1.24 1.664-2.171 3.095-3.282 5.588-1.305 2.928-1.96 5.409-2.132 8.215-.273 4.43.614 8.554 1.67 11.296 0 0-4.283-4.793-4.967-9.902-.21-1.564-.185-4.42.505-6.582 1.198-3.755 3.989-7.648 8.206-8.615"/><path fill="#B4BFC6" d="M91.02 75.824c1.064-3.466.54-4.177-3.846.499-1.219 1.299-3.418 3.865-5.649 5.797-1.037.9-2.638 2.151-6.837 4.014-3.962 1.757-5.406 2.172-9.067 2.824s-8.002 2.309-6.304 3.292c3.8.268 10.365-.541 16.985-2.682 6.546-2.116 11.027-5.804 13.779-8.041-.715-.495.495-4.251.94-5.702zm-6.812 21.478c.016-1.18 2.092-1.324 3.34-1.18 1.25.144 3.925 1.621 5.35 2.602 1.942 1.338 5.066 1.269 6.071 2.169 2.747 2.457-1.427 3.828-3.614 3.47-3.384-.557-11.214-2.126-11.148-7.061m-39.137-.381c.446.206 3.413 1.445 6.53 1.827 3.12.381 8.59.764 11.34.441s6.83-.49 9.155-1.578c2.074-.97 3.508-2.864 2.909-3.454-.675-.662-4.481-.194-5.689.03-5.932 1.099-8.743 1.582-11.64 1.792-4.642.334-11.655-.154-12.56-.18-.518-.09-.833.76-.048 1.122zM8.562 95.276c-.793.68.66 2.314 2.534 2.202 1.873-.11 7.843-.718 9.913-1.982s3.23-2.828 3.084-4.075c-.17-1.471-.991-1.433-2.202-1.102s-11.015 2.974-13.327 4.957z"/><path fill="#fff" d="M37.274 33.182c2.449-.797 8.034-2.519 9.624-.061 1.59 2.457-2.275 4.212-4.43 4.801s-5.975 2.004-8.026 3.126c-2.05 1.122-4.542.282-4.47-1.614.071-1.898 3.866-5.135 7.302-6.251zM15.75 47.052c.754-1.049 2.477-2.1 2.309-1.144-.168.958-1.58 3.25-2.099 4.644-.605 1.625-1.081 3.121-1.247 4.116-.128.773-1.359 1.504-1.431.247-.016-.294-.088-2.352.47-4.157.559-1.805 1.745-3.358 1.997-3.707h.002m89.254 49.319s1.926 1.114 2.432 1.925.81 2.229.101 3.039c-.708.81-1.925.912-2.533.102s-1.317-2.533-1.824-3.343c-.506-.81-.101-2.432 1.824-1.722zm-67.074 4.475c-.777-1.281-2.414-2.424-3.583-2.222-1.118.194-2.605 1.137-2.816 2.669 0 0 .39 3.457 1.79 5.417 1.401 1.961 3.783 3.782 5.043 2.101s.477-6.464-.434-7.966zM4.294 89.403c-.784.524-3.343 2.912-3.077 4.29.208 1.077 1.74 1.225 2.718.735.979-.49 4.206-2.35 3.445-4.307-.318-.817-1.212-1.971-3.086-.718"/><path fill="#2C3D82" d="M54.398 101.707s-7.536 2.383-5.55 11.364c.488 2.207 2.555 5.354 5.842 6.762 0 0-4.788-4.61-3.238-9.994 1.246-4.329 6.354-3.388 6.716-8.466 0 0-1.74-.291-3.77.334"/><path fill="#2C3D82" d="M57.654 108.406a3.537 3.537 0 1 0-.001-7.074 3.537 3.537 0 0 0 .001 7.074m-3.118 4.644a2.294 2.294 0 1 0 0-4.587 2.294 2.294 0 0 0 0 4.587"/><defs><linearGradient id="a" x1="30.034" x2="94.505" y1="38.434" y2="89.456" gradientUnits="userSpaceOnUse"><stop offset=".07" stop-color="#F1F2F3"/><stop offset="1" stop-color="#C4CDD3"/></linearGradient><linearGradient id="b" x1="29.078" x2="76.812" y1="97.942" y2="112.096" gradientUnits="userSpaceOnUse"><stop stop-color="#F1F2F3"/><stop offset="1" stop-color="#C4CDD3"/></linearGradient><linearGradient id="c" x1="108.681" x2="82.691" y1="94.595" y2="99.393" gradientUnits="userSpaceOnUse"><stop stop-color="#F1F2F3"/><stop offset="1" stop-color="#C4CDD3"/></linearGradient><linearGradient id="d" x1="6.339" x2="22.961" y1="84.75" y2="101.355" gradientUnits="userSpaceOnUse"><stop stop-color="#F1F2F3"/><stop offset="1" stop-color="#C4CDD3"/></linearGradient><linearGradient id="e" x1="50.069" x2="63.068" y1="87.803" y2="36.521" gradientUnits="userSpaceOnUse"><stop offset=".13" stop-color="#134395"/><stop offset="1" stop-color="#0E2050"/></linearGradient><linearGradient id="f" x1="43.08" x2="47.06" y1="58.236" y2="62.347" gradientUnits="userSpaceOnUse"><stop offset=".13" stop-color="#134395"/><stop offset="1" stop-color="#0E2050"/></linearGradient><linearGradient id="g" x1="67.931" x2="71.463" y1="64.503" y2="69.005" gradientUnits="userSpaceOnUse"><stop offset=".13" stop-color="#134395"/><stop offset="1" stop-color="#0E2050"/></linearGradient><linearGradient id="h" x1="102.229" x2="88.078" y1="69.265" y2="71.878" gradientUnits="userSpaceOnUse"><stop stop-color="#F1F2F3"/><stop offset="1" stop-color="#C4CDD3"/></linearGradient><linearGradient id="i" x1="12.47" x2="21.297" y1="55.193" y2="55.193" gradientUnits="userSpaceOnUse"><stop stop-color="#F1F2F3"/><stop offset="1" stop-color="#C4CDD3"/></linearGradient></defs></svg>';const r={FR:"fr",EN:"en",ES:"es",NL:"nl"},i={fr:{issue:{tab:"Anomalie",form:{title:"Signaler un problème technique",description:"Vous avez repéré une <strong>anomalie</strong> ? Signalez-la en décrivant le problème !",field:{title:"Résumé du problème",description:"Décrivez précisément le problème rencontré"}},thanks:{title:"Merci pour votre signalement",description:"Votre signalement a bien été pris en compte. Nous vous remercions de participer à l’amélioration de l’application. Notre équipe l’analysera dans les meilleurs délais."}},enhancement:{tab:"Idée",form:{title:"Proposer une amélioration",description:"Vous avez une idée pour <strong>améliorer</strong> notre service ? Partagez là !",field:{title:"Résumé de votre suggestion",description:"Expliquez en détail votre proposition d'amélioration"}},thanks:{title:"Merci pour votre suggestion",description:"Votre idée a bien été transmise. Nous apprécions votre engagement à améliorer notre service."}},decision:{tab:"Feedbacks",description:"Retrouvez ici vos feedbacks et leur statut de prise en compte !",loading:"Chargement...",empty:"Aucun feedback pour le moment.",card:{type:{issue:"Problème",enhancement:"Idée"},date_prefix:"Envoyé le"},status:{enhancement:{loved:"Coup de cœur",planned:"C’est dans les tuyaux",next_step:"Prochaine étape",to_study:"À étudier",impossible:"Mission impossible",transmitted:"Transmis à la bonne équipe"},issue:{planned:"C’est dans les tuyaux",next_step:"Prochaine étape",not_a_bug:"Comportement normal",impossible:"Mission impossible",transmitted:"Transmis à la bonne équipe",out_of_scope:"Hors périmètre"}},form:{title:"Proposer une amélioration",description:"Vous avez une idée pour <strong>améliorer</strong> notre service ? Partagez là !",field:{title:"Résumé de votre suggestion",description:"Expliquez en détail votre proposition d'amélioration"}},thanks:{title:"Merci pour votre suggestion",description:"Votre idée a bien été transmise. Nous apprécions votre engagement à améliorer notre service."}},feedbot:{anonymous:"Répondre anonymement",rating_error:"Veuillez sélectionner une note",cancel:"Non merci",submit:"Envoyer votre avis",bubble_default:"Bonjour !",star_label:"Noter {n} étoile{s}",thanks:{title:"Merci pour votre réponse !",sub_title:"Nous vous remercions de votre réponse qui participe grandement à l'amélioration de la qualité de votre application.",declined:{title:"Merci de votre réponse",sub_title:"Nous vous remercions de votre réponse."}}},integration_test:{pending:{button:"Tester l'intégration",feedback:{title:"Testons ensemble l'<strong>intégration de FeedBack</strong> !",text:"Avant d'aller plus loin, assurons-nous que la connexion entre votre application et le module FeedBack est bien en place."},feedbot:{title:"Testons ensemble l'<strong>intégration de FeedBot</strong> !",text:"Avant d'aller plus loin, assurons-nous que la connexion entre votre application et le module FeedBot est bien en place."}},checking:{title:"Test de connexion en cours…",button:"Test en cours...",feedback_text:"Nous vérifions actuellement la communication entre votre application et FeedBack.",feedbot_text:"Nous vérifions actuellement la communication entre votre application et FeedBot."},ok:{title:"Intégration validée !",text:"C'est branché ! La communication entre les deux systèmes est opérationnelle",button:"Continuer"},ko:{title:"Echec du test d'intégration",text:"La communication entre les deux systèmes ne semble pas avoir fonctionné, vérifiez vos paramètres et notamment les url et uuid du projet dans FeedJet",button:"Réessayer"}},error:{communication:{title:"Problème de communication",description:"La communication entre les deux systèmes ne semble plus fonctionner, contactez votre administrateur"},no_subscription:{title:"Plus d'abonnement en cours de validité",description:"Il semble que votre abonnement FeedJet ne soit plus en cours de validité, contactez votre administrateur"}},consent:{feedback:{label:"J'autorise l'utilisation de mes données pour améliorer le service.",tooltip:"Afin d'améliorer l'analyse des anomalies rencontrées et de mieux comprendre le contexte dans lequel elles se produisent, nous souhaiterions collecter certaines métadonnées (informations techniques non personnelles telles que la version de l'application, le type d'appareil, le système d'exploitation, etc.). Ces données seront utilisées uniquement dans le but de diagnostiquer et résoudre les problèmes techniques, et ne seront jamais partagées à des tiers."},screen:{label:"J'autorise l'envoi automatique d'une capture d'écran.",tooltip:"Une capture d'écran de l'application au moment de l'anomalie permet de mieux comprendre le problème que vous avez rencontré. Cela nous aidera à reproduire et corriger plus rapidement l'erreur. Aucune information personnelle n'est enregistrée, et la capture est utilisée uniquement à des fins de diagnostic."},attachment:{button:"Joindre un fichier",no_file:"Aucun fichier sélectionné",tooltip:"Vous pouvez joindre un fichier (ex: capture d'écran, log, etc.) pour aider à la compréhension de votre retour.",file_too_large:"Le fichier ne doit pas dépasser 10 Mo."}},global:{date_at:"à",cancel:"Annuler",send:"Envoyer",close:"Fermer",sending:"Envoi en cours...",submit_error:"Une erreur est survenue lors de l'envoi. Veuillez réessayer.",required:"obligatoire"},a11y:{feedback_button:"Ouvrir le formulaire de feedback",feedbot_bubble:"Ouvrir le sondage"}},en:{issue:{tab:"Issue",form:{title:"Report a technical issue",description:"Have you spotted a <strong>bug</strong>? Report it by describing the problem!",field:{title:"Problem summary",description:"Describe the issue you encountered in detail"}},thanks:{title:"Thank you for your report",description:"Your report has been received. Thank you for helping us improve the application. Our team will review it as soon as possible."}},enhancement:{tab:"Idea",form:{title:"Suggest an improvement",description:"Have an idea to <strong>improve</strong> our service? Share it with us!",field:{title:"Summary of your suggestion",description:"Explain your improvement proposal in detail"}},thanks:{title:"Thank you for your suggestion",description:"Your idea has been submitted. We appreciate your commitment to improving our service."}},decision:{tab:"Feedbacks",description:"Find your feedbacks and their status here!",loading:"Loading...",empty:"No feedback yet.",card:{type:{issue:"Issue",enhancement:"Idea"},date_prefix:"Sent on"},status:{enhancement:{loved:"Loved it",planned:"In the pipeline",next_step:"Next step",to_study:"Under review",impossible:"Not feasible",transmitted:"Forwarded to the right team"},issue:{planned:"In the pipeline",next_step:"Next step",not_a_bug:"Expected behavior",impossible:"Not feasible",transmitted:"Forwarded to the right team",out_of_scope:"Out of scope"}},form:{title:"Suggest an improvement",description:"Have an idea to <strong>improve</strong> our service? Share it with us!",field:{title:"Summary of your suggestion",description:"Explain your improvement proposal in detail"}},thanks:{title:"Thank you for your suggestion",description:"Your idea has been submitted. We appreciate your commitment to improving our service."}},feedbot:{anonymous:"Answer anonymously",rating_error:"Please select a rating",cancel:"No thanks",submit:"Send your feedback",bubble_default:"Hello!",star_label:"Rate {n} star{s}",thanks:{title:"Thank you for your response!",sub_title:"We truly appreciate your feedback, which greatly contributes to improving the quality of your application.",declined:{title:"Thank you for your response",sub_title:"We appreciate your feedback."}}},integration_test:{pending:{button:"Test integration",feedback:{title:"Let's test the <strong>FeedBack integration</strong> together!",text:"Before going further, let's make sure the connection between your application and the FeedBack module is properly set up."},feedbot:{title:"Let's test the <strong>FeedBot integration</strong> together!",text:"Before going further, let's make sure the connection between your application and the FeedBot module is properly set up."}},checking:{title:"Connection test in progress…",button:"Testing...",feedback_text:"We are currently verifying the communication between your application and FeedBack.",feedbot_text:"We are currently verifying the communication between your application and FeedBot."},ok:{title:"Integration validated!",text:"Connected! Communication between the two systems is operational.",button:"Continue"},ko:{title:"Integration test failed",text:"Communication between the two systems does not seem to have worked. Please check your settings, especially the URL and project UUID in FeedJet.",button:"Retry"}},error:{communication:{title:"Communication issue",description:"Communication between the two systems no longer seems to be working. Please contact your administrator."},no_subscription:{title:"No valid subscription",description:"It seems your FeedJet subscription is no longer valid. Please contact your administrator."}},consent:{feedback:{label:"I authorize the use of my data to improve the service.",tooltip:"To improve the analysis of encountered issues and better understand the context in which they occur, we would like to collect certain metadata (non-personal technical information such as application version, device type, operating system, etc.). This data will be used solely for the purpose of diagnosing and resolving technical issues, and will never be shared with third parties."},screen:{label:"I authorize the automatic sending of a screenshot.",tooltip:"A screenshot of the application at the time of the issue helps us better understand the problem you encountered. This will help us reproduce and fix the error more quickly. No personal information is recorded, and the screenshot is used solely for diagnostic purposes."},attachment:{button:"Attach a file",no_file:"No file selected",tooltip:"You can attach a file (e.g., screenshot, log, etc.) to help us understand your feedback.",file_too_large:"The file must not exceed 10 MB."}},global:{date_at:"at",cancel:"Cancel",send:"Send",close:"Close",sending:"Sending...",submit_error:"An error occurred while sending. Please try again.",required:"required"},a11y:{feedback_button:"Open the feedback form",feedbot_bubble:"Open the survey"}},es:{issue:{tab:"Incidencia",form:{title:"Reportar un problema técnico",description:"¿Ha detectado una <strong>anomalía</strong>? ¡Repórtela describiendo el problema!",field:{title:"Resumen del problema",description:"Describa con precisión el problema encontrado"}},thanks:{title:"Gracias por su reporte",description:"Su reporte ha sido recibido. Le agradecemos su participación en la mejora de la aplicación. Nuestro equipo lo analizará a la mayor brevedad."}},enhancement:{tab:"Idea",form:{title:"Proponer una mejora",description:"¿Tiene una idea para <strong>mejorar</strong> nuestro servicio? ¡Compártala con nosotros!",field:{title:"Resumen de su sugerencia",description:"Explique en detalle su propuesta de mejora"}},thanks:{title:"Gracias por su sugerencia",description:"Su idea ha sido enviada. Agradecemos su compromiso con la mejora de nuestro servicio."}},decision:{tab:"Feedbacks",description:"¡Encuentre aquí sus feedbacks y su estado de seguimiento!",loading:"Cargando...",empty:"Ningún feedback por el momento.",card:{type:{issue:"Problema",enhancement:"Idea"},date_prefix:"Enviado el"},status:{enhancement:{loved:"Nos encanta",planned:"En camino",next_step:"Próximo paso",to_study:"En estudio",impossible:"No viable",transmitted:"Transmitido al equipo adecuado"},issue:{planned:"En camino",next_step:"Próximo paso",not_a_bug:"Comportamiento esperado",impossible:"No viable",transmitted:"Transmitido al equipo adecuado",out_of_scope:"Fuera de alcance"}},form:{title:"Proponer una mejora",description:"¿Tiene una idea para <strong>mejorar</strong> nuestro servicio? ¡Compártala con nosotros!",field:{title:"Resumen de su sugerencia",description:"Explique en detalle su propuesta de mejora"}},thanks:{title:"Gracias por su sugerencia",description:"Su idea ha sido enviada. Agradecemos su compromiso con la mejora de nuestro servicio."}},feedbot:{anonymous:"Responder de forma anónima",rating_error:"Por favor, seleccione una puntuación",cancel:"No, gracias",submit:"Enviar su opinión",bubble_default:"¡Hola!",star_label:"Puntuar {n} estrella{s}",thanks:{title:"¡Gracias por su respuesta!",sub_title:"Le agradecemos su respuesta, que contribuye enormemente a mejorar la calidad de su aplicación.",declined:{title:"Gracias por su respuesta",sub_title:"Le agradecemos su respuesta."}}},integration_test:{pending:{button:"Probar la integración",feedback:{title:"¡Probemos juntos la <strong>integración de FeedBack</strong>!",text:"Antes de continuar, asegurémonos de que la conexión entre su aplicación y el módulo FeedBack está correctamente configurada."},feedbot:{title:"¡Probemos juntos la <strong>integración de FeedBot</strong>!",text:"Antes de continuar, asegurémonos de que la conexión entre su aplicación y el módulo FeedBot está correctamente configurada."}},checking:{title:"Prueba de conexión en curso…",button:"Probando...",feedback_text:"Estamos verificando la comunicación entre su aplicación y FeedBack.",feedbot_text:"Estamos verificando la comunicación entre su aplicación y FeedBot."},ok:{title:"¡Integración validada!",text:"¡Conectado! La comunicación entre los dos sistemas es operativa.",button:"Continuar"},ko:{title:"Fallo en la prueba de integración",text:"La comunicación entre los dos sistemas no parece haber funcionado. Verifique sus parámetros, especialmente la URL y el UUID del proyecto en FeedJet.",button:"Reintentar"}},error:{communication:{title:"Problema de comunicación",description:"La comunicación entre los dos sistemas ya no parece funcionar. Contacte a su administrador."},no_subscription:{title:"Suscripción no válida",description:"Parece que su suscripción a FeedJet ya no es válida. Contacte a su administrador."}},consent:{feedback:{label:"Autorizo el uso de mis datos para mejorar el servicio.",tooltip:"Para mejorar el análisis de las anomalías encontradas y comprender mejor el contexto en el que se producen, nos gustaría recopilar ciertos metadatos (información técnica no personal como la versión de la aplicación, el tipo de dispositivo, el sistema operativo, etc.). Estos datos se utilizarán únicamente con el fin de diagnosticar y resolver problemas técnicos, y nunca se compartirán con terceros."},screen:{label:"Autorizo el envío automático de una captura de pantalla.",tooltip:"Una captura de pantalla de la aplicación en el momento de la anomalía permite comprender mejor el problema que ha encontrado. Esto nos ayudará a reproducir y corregir el error más rápidamente. No se registra ninguna información personal y la captura se utiliza únicamente con fines de diagnóstico."},attachment:{button:"Adjuntar un archivo",no_file:"Ningún archivo seleccionado",tooltip:"Puede adjuntar un archivo (ej: captura de pantalla, log, etc.) para ayudar a la comprensión de su comentario.",file_too_large:"El archivo no debe superar los 10 MB."}},global:{date_at:"a las",cancel:"Cancelar",send:"Enviar",close:"Cerrar",sending:"Enviando...",submit_error:"Se produjo un error durante el envío. Por favor, inténtelo de nuevo.",required:"obligatorio"},a11y:{feedback_button:"Abrir el formulario de feedback",feedbot_bubble:"Abrir la encuesta"}},nl:{issue:{tab:"Probleem",form:{title:"Een technisch probleem melden",description:"Heeft u een <strong>probleem</strong> ontdekt? Meld het door het te beschrijven!",field:{title:"Samenvatting van het probleem",description:"Beschrijf zo nauwkeurig mogelijk het probleem dat u heeft ondervonden"}},thanks:{title:"Bedankt voor uw melding",description:"Uw melding is goed ontvangen. Bedankt dat u meehelpt de applicatie te verbeteren. Ons team bekijkt deze zo snel mogelijk."}},enhancement:{tab:"Idee",form:{title:"Een verbetering voorstellen",description:"Heeft u een idee om onze dienst te <strong>verbeteren</strong>? Deel het met ons!",field:{title:"Samenvatting van uw suggestie",description:"Leg uw verbetervoorstel in detail uit"}},thanks:{title:"Bedankt voor uw suggestie",description:"Uw idee is goed doorgegeven. We waarderen uw inzet om onze dienst te verbeteren."}},decision:{tab:"Feedback",description:"Bekijk hier uw feedback en de status ervan!",loading:"Laden...",empty:"Nog geen feedback.",card:{type:{issue:"Probleem",enhancement:"Idee"},date_prefix:"Verzonden op"},status:{enhancement:{loved:"Favoriet",planned:"In de pijplijn",next_step:"Volgende stap",to_study:"In onderzoek",impossible:"Niet haalbaar",transmitted:"Doorgegeven aan het juiste team"},issue:{planned:"In de pijplijn",next_step:"Volgende stap",not_a_bug:"Normaal gedrag",impossible:"Niet haalbaar",transmitted:"Doorgegeven aan het juiste team",out_of_scope:"Buiten scope"}},form:{title:"Een verbetering voorstellen",description:"Heeft u een idee om onze dienst te <strong>verbeteren</strong>? Deel het met ons!",field:{title:"Samenvatting van uw suggestie",description:"Leg uw verbetervoorstel in detail uit"}},thanks:{title:"Bedankt voor uw suggestie",description:"Uw idee is goed doorgegeven. We waarderen uw inzet om onze dienst te verbeteren."}},feedbot:{anonymous:"Anoniem antwoorden",rating_error:"Selecteer een beoordeling",cancel:"Nee, bedankt",submit:"Uw mening versturen",bubble_default:"Hallo!",star_label:"Aantal sterren: {n}",thanks:{title:"Bedankt voor uw antwoord!",sub_title:"Hartelijk dank voor uw antwoord, dat in grote mate bijdraagt aan het verbeteren van de kwaliteit van uw applicatie.",declined:{title:"Bedankt voor uw antwoord",sub_title:"Hartelijk dank voor uw antwoord."}}},integration_test:{pending:{button:"Integratie testen",feedback:{title:"Laten we samen de <strong>integratie van FeedBack</strong> testen!",text:"Voordat we verdergaan, controleren we of de verbinding tussen uw applicatie en de module FeedBack goed is ingesteld."},feedbot:{title:"Laten we samen de <strong>integratie van FeedBot</strong> testen!",text:"Voordat we verdergaan, controleren we of de verbinding tussen uw applicatie en de module FeedBot goed is ingesteld."}},checking:{title:"Verbindingstest bezig…",button:"Test bezig...",feedback_text:"We controleren momenteel de communicatie tussen uw applicatie en FeedBack.",feedbot_text:"We controleren momenteel de communicatie tussen uw applicatie en FeedBot."},ok:{title:"Integratie gevalideerd!",text:"Verbonden! De communicatie tussen beide systemen werkt.",button:"Doorgaan"},ko:{title:"Integratietest mislukt",text:"De communicatie tussen beide systemen lijkt niet te hebben gewerkt. Controleer uw instellingen, met name de URL en de UUID van het project in FeedJet.",button:"Opnieuw proberen"}},error:{communication:{title:"Communicatieprobleem",description:"De communicatie tussen beide systemen lijkt niet meer te werken. Neem contact op met uw beheerder."},no_subscription:{title:"Geen geldig abonnement",description:"Het lijkt erop dat uw FeedJet-abonnement niet meer geldig is. Neem contact op met uw beheerder."}},consent:{feedback:{label:"Ik geef toestemming voor het gebruik van mijn gegevens om de dienst te verbeteren.",tooltip:"Om de analyse van opgetreden problemen te verbeteren en de context waarin ze zich voordoen beter te begrijpen, willen we bepaalde metadata verzamelen (niet-persoonlijke technische informatie zoals de versie van de applicatie, het type apparaat, het besturingssysteem, enz.). Deze gegevens worden uitsluitend gebruikt om technische problemen vast te stellen en op te lossen, en worden nooit met derden gedeeld."},screen:{label:"Ik geef toestemming voor het automatisch verzenden van een schermafbeelding.",tooltip:"Een schermafbeelding van de applicatie op het moment van het probleem helpt ons beter te begrijpen wat u heeft ondervonden. Zo kunnen we de fout sneller reproduceren en oplossen. Er worden geen persoonlijke gegevens vastgelegd en de schermafbeelding wordt uitsluitend voor diagnose gebruikt."},attachment:{button:"Bestand toevoegen",no_file:"Geen bestand geselecteerd",tooltip:"U kunt een bestand toevoegen (bijv. schermafbeelding, log, enz.) om ons te helpen uw feedback te begrijpen.",file_too_large:"Het bestand mag niet groter zijn dan 10 MB."}},global:{date_at:"om",cancel:"Annuleren",send:"Verzenden",close:"Sluiten",sending:"Bezig met verzenden...",submit_error:"Er is een fout opgetreden bij het verzenden. Probeer het opnieuw.",required:"verplicht"},a11y:{feedback_button:"Het feedbackformulier openen",feedbot_bubble:"De enquête openen"}}},s=Object.values(r);let a=r.FR;function l(e){a=s.includes(e)?e:r.FR}function c(){return a}function d(e){return e.split(".").reduce((e,t)=>e[t],i[a])}function h(e){return`<span${e?` class="${e}"`:""} aria-hidden="true">*</span><span class="fj-sr-only">(${d("global.required")})</span>`}var u='<svg xmlns="http://www.w3.org/2000/svg" width="113" height="128" fill="none"><path fill="url(#a)" d="M106.54 71.127c3.023-18.337-13.943-36.402-37.894-40.35-23.95-3.948-45.816 7.716-48.839 26.053S33.75 93.233 57.701 97.18c23.95 3.948 45.817-7.717 48.839-26.053"/><path fill="url(#b)" d="M57.79 100.89c-14.507-1.527-22.617-9.126-27.06-1.604-3.742 6.337 4.427 25.696 22.496 28.387 18.65 2.777 31.65-12.811 29.958-21.03-1.388-6.746-10.316-4.166-25.394-5.754z"/><path fill="url(#c)" d="M24.61 91.348c-1.404-4.976-6.158-6.304-9.865-7.227S6.26 80.392 3.487 82.293C.714 84.196-1.61 89.62 1.447 92.368s8.027 4.753 11.173 8.11c2.496 2.662 7.488 3.107 9.763 2.219 2.305-.9 3.66-6.268 2.227-11.35"/><path fill="url(#d)" d="M90.277 103.279c-1.525-1.944-4.597-1.823-7.487.017s-7.034 4.165-9.695 5.483c-2.66 1.318-8.231 4.052-3.282 7.901s13.828 4.445 16.968 2.508c3.141-1.936 9.477-8.281 3.496-15.909"/><path fill="url(#e)" d="M65.786 50.709c12.464 2.832 21.705 9.103 23.108 10.39 1.075.985.896 7.434-.628 13.166-1.523 5.732-5.284 11.196-6.359 11.823-1.525.89-13.05.787-23.914-2.328-12.18-3.493-23.108-9.852-23.735-11.465-.726-1.867.184-8.57 1.164-12.001.896-3.135 3.422-10.35 5.284-11.555 1.523-.985 13.125-.745 25.08 1.97"/><path fill="url(#f)" d="M22.26 45.957c1.042-1.14 3.756-2.973 3.985-.664.875 8.774-1.102 16.342-3.726 21.362-1.767 3.38-2.89 2.947-3.847 1.623-.633-.879-2.125-7.838-.93-13.02 1.06-4.588 3.475-8.161 4.517-9.3z"/><path fill="#D9EFFD" d="M48.655 67.124c1.35.39 7.81 2.589 9.14 1.035 1.583-1.85-1.624-7.686-6.273-9.12-4.51-1.391-10.327 1.87-10.492 3.842-.16 1.933 6.272 3.853 7.625 4.243m26.151 6.636c1.389.228 8.06 1.648 9.198-.052 1.354-2.024-2.52-7.44-7.306-8.315-4.642-.849-10.034 3.077-9.964 5.055.07 1.94 6.684 3.086 8.072 3.312"/><path fill="#B4BFC6" d="M25.589 44.239c.174-.246.24-.338.6-.787.805.268 1.408 2.568 1.738 4.122 1.018 4.791.088 12.596-1.574 19.115-.799 3.133-2.52 7.453-3.542 7.71 0 0-1.356-2.556-2.33-5.216 0 0 2.147-2.439 3.285-6.45 1.8-6.343 2.913-15.013 1.823-18.494m29.575 49.476c4.963 1.258 7.03 2.001 14.974.995 6.645-.842 9.886 0 11.378 1.209a55 55 0 0 1-4.854 1.117c-4.613.838-15.029 2.027-25.934-1.398-1.273-.4-3.965-1.397-4.798-1.717 1.073-1.263 5.901-1.05 9.232-.207zm21.374 8.193c-2.892-.353-6.092-.296-9.583-.417-1.756-.062-3.528-.127-5.083-.251-2-.159-3.368-.261-4.546-.392-3.087-.343-6.877-1.21-10.075-2.147-3.197-.938-5.918-1.814-6.86-2.035-1.53.25 9.5 5.434 14.075 6.844 4.58 1.411 9.614 2.379 13.418 2.383 3.797.005 10.845-.826 12.058-1.803 1.31-1.055-.235-1.455-.456-1.528-.22-.073-1.337-.434-2.948-.655zM12.98 96.095c1.76.468 4.548 1.213 6.191-.196 1.644-1.409 2.93-7.812 4.208-6.917s2.69 6.165 1.426 11.26c-.555 2.236-3.14 3.32-5.868 3.169-4.767-.265-6.634-3.69-10.607-6.338.51-2.238 3.613-1.255 4.65-.978m93.377-34.405c.364 2.152.61 3.807.455 6.672-.182 3.366-1.002 6.116-2.184 8.826-1.868 4.278-4.561 7.74-6.864 9.803 0 0 6.251-2.521 9.339-6.977.946-1.365 2.291-4.05 2.68-6.404.678-4.091.057-8.993-3.426-11.92m-17.168 44.629c.38 1.985.5 3.721-1 5.852s-3.552 2.611-3.552 3.996c0 1.386.833 2.125 2.044 1.975.57-.07 1.733-1.049 2.694-2.178 2.697-3.164 2.749-5.333 2.754-7.05.006-2.461-3.32-4.582-2.94-2.598zm-20.849 8.854c-.161.007-1.067.411-1.109 1.295-.057 1.212.488 2.61 1.532 3.763 1.804 1.991 4.134 2.982 5.076 2.606 1.3-.82 3.413-2.766 3.524-2.988 0 0-1.808-.447-3.083-.845-.927-.29-1.863-.749-2.332-.986-2.041-1.029-3.12-2.213-3.606-2.845z"/><path fill="#fff" d="M43.377 36.6c-2.55.91-8.308 3.067-8.053 6.135s4.602 2.044 6.774 1.15c2.173-.895 6.264-2.173 8.691-2.557 2.43-.383 3.962-2.684 2.685-4.217s-6.52-1.79-10.098-.512h.001zM18.15 56.045a22.2 22.2 0 0 1 1.552-4.79c.66-1.46 2.297-3.018 2.22-1.735s-1.174 4.158-1.355 6.084c-.18 1.926-.345 4.518-.869 5.773-.399.956-1.545 2.176-1.738.52-.09-.772-.274-3.28.112-5.182m-15.7 29.523c-.483.753-1.534 2.43.512 3.452 2.045 1.022 4.984 1.917 7.03 1.405 2.044-.512 4.473-1.79 4.6-2.94.128-1.15 1.023-2.3-.255-2.684-1.277-.383-5.623-.512-6.901-.895-1.278-.382-3.835-.127-4.985 1.662m33.395 14.1c-1.362.037-3.072 1.942-2.866 3.735s.211 3.837.84 5.355c.628 1.518 2.31 5.301 4.43 5.968 2.122.666 3.419 1.085 4.088-.014s.64-2.344-.187-3.613c-.826-1.268-2.674-2.534-2.608-4.927.068-2.392-1.092-6.576-3.697-6.505zm46.598 4.131c1.35-.522 2.92.032 3.896 1.302.976 1.269-.032 2.92-1.302 3.896-1.27.975-6.207 4.244-8.284 3.886-2.076-.359-4.651-2.755-3.499-3.782s5.263-2.425 6.312-3.219c1.05-.795 2.876-2.083 2.876-2.083z"/><path fill="#121442" d="M81.907 86.088c-1.525.89-13.05.787-23.914-2.328-12.18-3.493-23.108-9.852-23.735-11.465-.726-1.867.184-8.57 1.164-12.001.896-3.135 3.422-10.35 5.284-11.555 0 0 .691-.44 2.601-.476-.658 1.033-1.45 2.153-2.01 3.296-.434.887-2.666 5.939-3.738 10.7-.767 3.407-1.123 7.31-.913 8.502.117.456.236.613.72.958 1.753 1.25 12.552 6.35 18.793 8.11 13.406 3.785 25 4.313 27.64 4.057 0 0-1.231 1.816-1.892 2.2z"/><path fill="#2C3D82" d="M56.432 106.844s-8.204 1.241-7.613 10.88c.145 2.367 1.775 5.971 4.955 7.967 0 0-4.213-5.563-1.725-10.895 1.999-4.286 7.142-2.475 8.348-7.682 0 0-1.757-.585-3.965-.27"/><path fill="#2C3D82" d="M59.292 114.366a3.713 3.713 0 1 0 0-7.425 3.713 3.713 0 0 0 0 7.425m-4.194 4.292a2.408 2.408 0 1 0 0-4.816 2.408 2.408 0 0 0 0 4.816m27.645-96.962c4.493 0 8.135-3.634 8.135-8.116 0-4.483-3.642-8.117-8.135-8.117-4.492 0-8.134 3.634-8.134 8.117 0 4.482 3.642 8.116 8.134 8.116"/><path fill="#5B76C4" d="M86.035 9.156c1.013.686.843 2.11 1.021 4.045.164 1.788-2.54 4.666-4.573 4.632s-3.966-.812-5.052-2.813c-1.043-1.925-.922-3.05-.386-4.397.627-1.571 2.658-3.175 5.08-3.083s2.84.892 3.91 1.616"/><path fill="#3D55A3" d="M86.986 18.23c.984-.706 2.504-2.708 2.069-5.21-.501-2.88-1.649-4.738-3.663-4.442-2.05.3-3.705 1.05-3.657 3.01.047 1.96 1.09 3.403-.171 4.665s.045 3.83 1.526 3.65c2.244-.271 2.942-.989 3.896-1.672"/><path fill="#C0D2FF" d="M80.494 12.45c.886-.417 2.588-1.189 2.935-2.079s.382-2.139-.516-2.811c-.899-.672-2.169-.982-3.223-.185s-2.805 2.084-2.14 3.274c.662 1.19.562 2.22 1.683 2.072s1.262-.271 1.262-.271z"/><path fill="#2C3D82" d="M90.125 4.135a.9.9 0 0 1-.583-.213c-.863-.723-2.46-1.384-2.477-1.391a.905.905 0 1 1 .69-1.675c.077.031 1.873.773 2.955 1.68a.906.906 0 0 1-.585 1.6zM79.361 2.283A.907.907 0 0 1 79.1.508C79.165.49 80.722.027 82.192 0a.907.907 0 1 1 .032 1.812c-1.216.021-2.59.427-2.603.43a1 1 0 0 1-.26.04M72.792 6.63a.905.905 0 0 1-.714-1.464c.042-.054 1.065-1.35 2.275-2.231a.91.91 0 0 1 1.269.198.904.904 0 0 1-.199 1.266c-1.008.733-1.906 1.873-1.915 1.883a.9.9 0 0 1-.715.348zm-2.752 7.486h-.015a.907.907 0 0 1-.893-.919c0-.07.031-1.718.463-3.145a.908.908 0 0 1 1.738.524c-.357 1.18-.386 2.634-.386 2.649a.907.907 0 0 1-.907.891m2.062 7.627a.9.9 0 0 1-.753-.398c-.038-.057-.945-1.401-1.407-2.794a.909.909 0 0 1 1.724-.57c.382 1.151 1.18 2.337 1.187 2.35a.904.904 0 0 1-.752 1.412zm6.333 4.967q-.15.001-.297-.05c-.065-.023-1.6-.56-2.802-1.4a.905.905 0 1 1 1.04-1.484c.993.693 2.345 1.168 2.358 1.172a.906.906 0 0 1-.299 1.762m4.968.765a.907.907 0 0 1-.908-.904.907.907 0 0 1 .905-.908c1.248-.004 2.645-.4 2.658-.405a.904.904 0 1 1 .502 1.74c-.066.02-1.657.472-3.156.475H83.4zm7.493-2.795a.904.904 0 0 1-.55-1.627c.989-.75 1.86-1.907 1.868-1.918a.91.91 0 0 1 1.271-.182c.402.3.483.867.183 1.268-.041.056-1.035 1.373-2.225 2.276a.9.9 0 0 1-.548.184zm4.3-6.562a.906.906 0 0 1-.862-1.19c.392-1.183.457-2.63.459-2.645a.907.907 0 0 1 1.813.077c-.003.07-.079 1.717-.549 3.135a.91.91 0 0 1-.861.622zm.069-8.232a.91.91 0 0 1-.826-.532c-.538-1.18-1.472-2.04-1.48-2.05a.908.908 0 0 1 1.222-1.34c.05.045 1.214 1.11 1.912 2.64a.905.905 0 0 1-.825 1.28z"/><defs><linearGradient id="a" x1="30.147" x2="98.416" y1="37.556" y2="92.175" gradientUnits="userSpaceOnUse"><stop stop-color="#F1F2F3"/><stop offset="1" stop-color="#C4CDD3"/></linearGradient><linearGradient id="b" x1="29.841" x2="83.332" y1="112.009" y2="112.009" gradientUnits="userSpaceOnUse"><stop stop-color="#F1F2F3"/><stop offset="1" stop-color="#C4CDD3"/></linearGradient><linearGradient id="c" x1=".001" x2="25.199" y1="92.38" y2="92.38" gradientUnits="userSpaceOnUse"><stop stop-color="#F1F2F3"/><stop offset="1" stop-color="#C4CDD3"/></linearGradient><linearGradient id="d" x1="67.834" x2="92.753" y1="111.066" y2="111.066" gradientUnits="userSpaceOnUse"><stop stop-color="#F1F2F3"/><stop offset="1" stop-color="#C4CDD3"/></linearGradient><linearGradient id="e" x1="58.19" x2="71.282" y1="82.334" y2="28.315" gradientUnits="userSpaceOnUse"><stop stop-color="#134395"/><stop offset=".23" stop-color="#113880"/><stop offset=".66" stop-color="#0E2050"/></linearGradient><linearGradient id="f" x1="17.292" x2="26.455" y1="56.722" y2="56.722" gradientUnits="userSpaceOnUse"><stop stop-color="#F1F2F3"/><stop offset="1" stop-color="#C4CDD3"/></linearGradient></defs></svg>',p=class e{window;cspNonce;cache;constructor(e={}){const t=e.window||("undefined"!=typeof window?window:void 0);if(!t)throw new Error("Window object is required but not available");this.window=t,this.cspNonce=e.cspNonce,this.cache=e.cache}static fromElement(t,n={}){const o=t.ownerDocument;if(!o)throw new Error("Element is not attached to a document");const r=o.defaultView;if(!r)throw new Error("Document is not attached to a window");return new e({window:r,...n})}clone(t={}){return new e({window:t.window||this.window,cspNonce:t.cspNonce??this.cspNonce,cache:t.cache??this.cache})}},f=class{config;constructor(e={}){this.config={maxImageTimeout:3e5,allowDataUrls:!0,...e}}validateUrl(e,t="general"){if(!e||"string"!=typeof e)return{valid:!1,error:"URL must be a non-empty string"};if(e.startsWith("data:"))return this.config.allowDataUrls?{valid:!0,sanitized:e}:{valid:!1,error:"Data URLs are not allowed"};if(e.startsWith("blob:"))return{valid:!0,sanitized:e};try{const n=new URL(e);if(!["http:","https:"].includes(n.protocol))return{valid:!1,error:`Protocol ${n.protocol} is not allowed. Only http and https are permitted.`};if("proxy"===t&&this.config.allowedProxyDomains&&this.config.allowedProxyDomains.length>0){const e=n.hostname.toLowerCase();if(!this.config.allowedProxyDomains.some(t=>{const n=t.toLowerCase();return e===n||e.endsWith("."+n)}))return{valid:!1,error:`Proxy domain ${n.hostname} is not in the allowed list`}}if("proxy"===t){if(!this.config.allowLocalhostProxy){const e=n.hostname.toLowerCase();if("localhost"===e||"127.0.0.1"===e||"::1"===e)return{valid:!1,error:"Localhost is not allowed for proxy URLs"};if(this.isPrivateIP(e))return{valid:!1,error:"Private IP addresses are not allowed for proxy URLs"};if(e.startsWith("169.254.")||e.startsWith("fe80:"))return{valid:!1,error:"Link-local addresses are not allowed for proxy URLs"}}return{valid:!0,sanitized:e}}return{valid:!0,sanitized:e}}catch(e){return{valid:!1,error:`Invalid URL format: ${e instanceof Error?e.message:"Unknown error"}`}}}isPrivateIP(e){return!![/^0\./,/^10\./,/^100\.(6[4-9]|[7-9][0-9]|1[0-1][0-9]|12[0-7])\./,/^127\./,/^169\.254\./,/^172\.(1[6-9]|2[0-9]|3[0-1])\./,/^192\.0\.0\./,/^192\.0\.2\./,/^192\.168\./,/^198\.(1[8-9])\./,/^198\.51\.100\./,/^203\.0\.113\./,/^2(2[4-9]|3[0-9])\./,/^24[0-9]\./,/^255\.255\.255\.255$/].some(t=>t.test(e))||!!e.includes(":")&&this.isPrivateIPv6(e)}isPrivateIPv6(e){const t=e.toLowerCase().trim().replace(/^\[|\]$/g,""),n=t.split("%")[0]??t;if(/^(0:){7}1$/.test(n)||"::1"===n)return!0;if(/^(0:){7}0$/.test(n)||"::"===n)return!0;const o=this.expandIPv6(n);if(!o)return this.isPrivateIPv6Prefix(n);const r=parseInt(o.substring(0,2),16);if(r>=252&&r<=253)return!0;if(254===r){const e=parseInt(o.substring(2,4),16);if(e>=128&&e<=191)return!0}return 255===r}expandIPv6(e){try{if(e.includes("::")){const t=e.split("::");if(t.length>2)return null;const n=t[0]?t[0].split(":"):[],o=t[1]?t[1].split(":"):[],r=8-n.length-o.length;if(r<0)return null;const i=Array(r).fill("0000");return[...n,...i,...o].map(e=>e.padStart(4,"0")).join(":")}{const t=e.split(":");return 8!==t.length?null:t.map(e=>e.padStart(4,"0")).join(":")}}catch{return null}}isPrivateIPv6Prefix(e){return!!(/^fc[0-9a-f]{0,2}:?/i.test(e)||/^fd[0-9a-f]{0,2}:?/i.test(e)||/^fe[89ab][0-9a-f]:?/i.test(e)||/^ff[0-9a-f]{0,2}:?/i.test(e))}validateCspNonce(e){return e&&"string"==typeof e?e.length<16?{valid:!1,error:"CSP nonce is too short (minimum 16 characters recommended)"}:/^[A-Za-z0-9+/=_-]+$/.test(e)?{valid:!0,sanitized:e}:{valid:!1,error:"CSP nonce contains invalid characters"}:{valid:!1,error:"CSP nonce must be a non-empty string"}}validateBackgroundColor(e){return null===e?{valid:!0,sanitized:null}:"string"!=typeof e||0===e.length?{valid:!1,error:"backgroundColor must be a CSS color string or null"}:/[^a-zA-Z0-9%(),.#\s/-]/.test(e)?{valid:!1,error:`backgroundColor contains characters that cannot appear in a CSS color: ${e}`}:{valid:!0,sanitized:e}}validateImageTimeout(e){return"number"!=typeof e||isNaN(e)?{valid:!1,error:"Image timeout must be a number"}:e<0?{valid:!1,error:"Image timeout cannot be negative"}:this.config.maxImageTimeout&&e>this.config.maxImageTimeout?{valid:!1,error:`Image timeout ${e}ms exceeds maximum allowed ${this.config.maxImageTimeout}ms`}:{valid:!0,sanitized:e}}validateDimensions(e,t){return"number"!=typeof e||"number"!=typeof t?{valid:!1,error:"Dimensions must be numbers"}:isNaN(e)||isNaN(t)?{valid:!1,error:"Dimensions cannot be NaN"}:e<=0||t<=0?{valid:!1,error:"Dimensions must be positive"}:e>32767||t>32767?{valid:!1,error:"Dimensions exceed maximum allowed (32767px)"}:{valid:!0,sanitized:{width:e,height:t}}}validateScale(e){return"number"!=typeof e||isNaN(e)?{valid:!1,error:"Scale must be a number"}:e<=0?{valid:!1,error:"Scale must be positive"}:e>10?{valid:!1,error:"Scale factor too large (maximum 10x)"}:{valid:!0,sanitized:e}}validateElement(e){if(!e)return{valid:!1,error:"Element is required"};if("object"!=typeof e)return{valid:!1,error:"Element must be an object"};const t=e;return"undefined"!=typeof HTMLElement&&e instanceof HTMLElement?e.ownerDocument?{valid:!0}:{valid:!1,error:"Element must be attached to a document"}:t.ownerDocument?t.ownerDocument.defaultView?{valid:!0}:{valid:!1,error:"Document must be attached to a window (ownerDocument.defaultView required)"}:{valid:!1,error:"Element must be attached to a document (ownerDocument required)"}}validateOptions(e){const t=[],n=e.proxy;if(null!=n&&"string"==typeof n&&n.length>0){const e=this.validateUrl(n,"proxy");e.valid||t.push(`Proxy: ${e.error}`)}if(void 0!==e.imageTimeout){const n=this.validateImageTimeout(e.imageTimeout);n.valid||t.push(`Image timeout: ${n.error}`)}if(void 0!==e.width||void 0!==e.height){const n=e.width??800,o=e.height??600,r=this.validateDimensions(n,o);r.valid||t.push(`Dimensions: ${r.error}`)}if(void 0!==e.scale){const n=this.validateScale(e.scale);n.valid||t.push(`Scale: ${n.error}`)}if(void 0!==e.cspNonce){const n=this.validateCspNonce(e.cspNonce);n.valid||t.push(`CSP nonce: ${n.error}`)}if(void 0!==e.backgroundColor){const n=this.validateBackgroundColor(e.backgroundColor);n.valid||t.push(`backgroundColor: ${n.error}`)}if(this.config.customValidator){const n=this.config.customValidator(e,"options");n.valid||t.push(`Custom validation: ${n.error}`)}return t.length>0?{valid:!1,error:t.join("; ")}:{valid:!0}}},m=class{logger;activeMetrics=new Map;completedMetrics=[];enabled;getTime;constructor(e,t=!0){this.logger=e,this.enabled=t,this.getTime="undefined"!=typeof performance&&"function"==typeof performance.now?()=>performance.now():()=>Date.now()}start(e,t){this.enabled&&(this.activeMetrics.has(e)&&this.logger?.warn(`Performance metric '${e}' already started. Overwriting.`),this.activeMetrics.set(e,{name:e,startTime:this.getTime(),metadata:t}))}end(e){if(!this.enabled)return;const t=this.activeMetrics.get(e);if(t)return t.endTime=this.getTime(),t.duration=t.endTime-t.startTime,this.completedMetrics.push(t),this.activeMetrics.delete(e),this.logger?.debug(`⏱️ ${e}: ${t.duration.toFixed(2)}ms`,t.metadata),t;this.logger?.warn(`Performance metric '${e}' not found. Was start() called?`)}measure(e,t,n){this.start(e,n);try{const n=t();return this.end(e),n}catch(t){throw this.end(e),t}}async measureAsync(e,t,n){this.start(e,n);try{const n=await t();return this.end(e),n}catch(t){throw this.end(e),t}}getMetrics(){return[...this.completedMetrics]}getMetric(e){return this.completedMetrics.find(t=>t.name===e)}getSummary(){const e=this.completedMetrics.reduce((e,t)=>e+(t.duration||0),0),t=this.completedMetrics.map(t=>({name:t.name,duration:t.duration||0,percentage:e>0?((t.duration||0)/e*100).toFixed(1)+"%":"0%"}));return{totalDuration:e,metrics:this.getMetrics(),breakdown:t}}logSummary(){if(!this.enabled||0===this.completedMetrics.length||!this.logger)return;const e=this.logger,t=this.getSummary();e.info(`\n📊 Performance Summary (Total: ${t.totalDuration.toFixed(2)}ms):`),t.breakdown.sort((e,t)=>t.duration-e.duration).forEach(t=>{e.info(` ${t.name.padEnd(20)} ${t.duration.toFixed(2).padStart(8)}ms ${t.percentage.padStart(6)}`)})}clear(){this.activeMetrics.clear(),this.completedMetrics.splice(0)}isEnabled(){return this.enabled}getActiveMetrics(){return Array.from(this.activeMetrics.keys())}},g=class e{left;top;width;height;constructor(e,t,n,o){this.left=e,this.top=t,this.width=n,this.height=o}add(t,n,o,r){return new e(this.left+t,this.top+n,this.width+o,this.height+r)}static fromClientRect(t,n){return new e(n.left+t.windowBounds.left,n.top+t.windowBounds.top,n.width,n.height)}static fromDOMRectList(t,n){const o=Array.from(n);let r=o.find(e=>0!==e.width);return r||(r=o.find(e=>0!==e.height)),!r&&o.length>0&&(r=o[0]),r?new e(r.left+t.windowBounds.left,r.top+t.windowBounds.top,r.width,r.height):e.EMPTY}static EMPTY=new e(0,0,0,0)};const b=(e,t)=>g.fromClientRect(e,t.getBoundingClientRect()),y=(e,t)=>{const n=e[t];if(void 0===n)throw new Error(`Missing element at index ${t}`);return n},x=e=>e>=48&&e<=57,w=e=>x(e)||e>=65&&e<=70||e>=97&&e<=102,v=e=>10===e||9===e||32===e,k=e=>(e=>(e=>e>=97&&e<=122)(e)||(e=>e>=65&&e<=90)(e))(e)||(e=>e>=128)(e)||95===e,C=e=>k(e)||x(e)||45===e,S=e=>e>=0&&e<=8||11===e||e>=14&&e<=31||127===e,E=(e,t)=>92===e&&10!==t,M=(e,t,n)=>45===e?k(t)||E(t,n):!!k(e)||!(92!==e||!E(e,t)),D=(e,t,n)=>43===e||45===e?!!x(t)||46===t&&x(n):x(46===e?t:e),T=e=>{let t=0,n=1;43!==e[t]&&45!==e[t]||(45===e[t]&&(n=-1),t++);const o=[];for(;x(e[t]??NaN);)o.push(y(e,t)),t++;const r=o.length?parseInt(String.fromCodePoint(...o),10):0;46===e[t]&&t++;const i=[];for(;x(e[t]??NaN);)i.push(y(e,t)),t++;const s=i.length,a=s?parseInt(String.fromCodePoint(...i),10):0;69!==e[t]&&101!==e[t]||t++;let l=1;43!==e[t]&&45!==e[t]||(45===e[t]&&(l=-1),t++);const c=[];for(;x(e[t]??NaN);)c.push(y(e,t)),t++;const d=c.length?parseInt(String.fromCodePoint(...c),10):0;return n*(r+a*Math.pow(10,-s))*Math.pow(10,l*d)},B={type:2},R={type:3},F={type:4},L={type:13},I={type:8},P={type:21},A={type:9},O={type:10},N={type:11},z={type:12},$={type:14},U={type:23},_={type:1},j={type:25},G={type:24},W={type:26},V={type:27},q={type:28},H={type:29},Y={type:31},X={type:32};var K=class e{static _pool=[];static MAX_POOL_SIZE=40;static get(){return e._pool.pop()||new e}static release(t){e._pool.length<e.MAX_POOL_SIZE&&(t._reset(),e._pool.push(t))}_value;_cursor;constructor(){this._value=[],this._cursor=0}_reset(){this._value=[],this._cursor=0}write(e){this._cursor>0&&(this._value=this._value.slice(this._cursor),this._cursor=0),this._value=this._value.concat([...e].map(e=>e.codePointAt(0)))}read(){const e=[];let t=this.consumeToken();for(;t!==X;)e.push(t),t=this.consumeToken();return e}consumeToken(){const e=this.consumeCodePoint();switch(e){case 34:return this.consumeStringToken(34);case 35:{const e=this.peekCodePoint(0),t=this.peekCodePoint(1),n=this.peekCodePoint(2);if(C(e)||E(t,n)){const o=M(e,t,n)?2:1;return{type:5,value:this.consumeName(),flags:o}}break}case 36:if(61===this.peekCodePoint(0))return this.consumeCodePoint(),L;break;case 39:return this.consumeStringToken(39);case 40:return B;case 41:return R;case 42:if(61===this.peekCodePoint(0))return this.consumeCodePoint(),$;break;case 43:if(D(e,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(e),this.consumeNumericToken();break;case 44:return F;case 45:{const t=e,n=this.peekCodePoint(0),o=this.peekCodePoint(1);if(D(t,n,o))return this.reconsumeCodePoint(e),this.consumeNumericToken();if(M(t,n,o))return this.reconsumeCodePoint(e),this.consumeIdentLikeToken();if(45===n&&62===o)return this.consumeCodePoint(),this.consumeCodePoint(),G;break}case 46:if(D(e,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(e),this.consumeNumericToken();break;case 47:if(42===this.peekCodePoint(0))for(this.consumeCodePoint();;){let e=this.consumeCodePoint();if(42===e&&(e=this.consumeCodePoint(),47===e))return this.consumeToken();if(-1===e)return this.consumeToken()}break;case 58:return W;case 59:return V;case 60:if(33===this.peekCodePoint(0)&&45===this.peekCodePoint(1)&&45===this.peekCodePoint(2))return this.consumeCodePoint(),this.consumeCodePoint(),this.consumeCodePoint(),j;break;case 64:{const e=this.peekCodePoint(0),t=this.peekCodePoint(1),n=this.peekCodePoint(2);if(M(e,t,n))return{type:7,value:this.consumeName()};break}case 91:return q;case 92:if(E(e,this.peekCodePoint(0)))return this.reconsumeCodePoint(e),this.consumeIdentLikeToken();break;case 93:return H;case 94:if(61===this.peekCodePoint(0))return this.consumeCodePoint(),I;break;case 123:return N;case 125:return z;case 117:case 85:{const t=this.peekCodePoint(0),n=this.peekCodePoint(1);return 43!==t||!w(n)&&63!==n?(this.reconsumeCodePoint(e),this.consumeIdentLikeToken()):(this.consumeCodePoint(),this.consumeUnicodeRangeToken())}case 124:if(61===this.peekCodePoint(0))return this.consumeCodePoint(),A;if(124===this.peekCodePoint(0))return this.consumeCodePoint(),P;break;case 126:if(61===this.peekCodePoint(0))return this.consumeCodePoint(),O;break;case-1:return X}return v(e)?(this.consumeWhiteSpace(),Y):x(e)?(this.reconsumeCodePoint(e),this.consumeNumericToken()):k(e)?(this.reconsumeCodePoint(e),this.consumeIdentLikeToken()):{type:6,value:String.fromCodePoint(e)}}consumeCodePoint(){const e=this._value[this._cursor];return void 0===e?-1:(this._cursor++,e)}reconsumeCodePoint(e){this._cursor>0&&this._value[this._cursor-1]===e?this._cursor--:this._value.splice(this._cursor,0,e)}peekCodePoint(e){const t=this._value[this._cursor+e];return void 0!==t?t:-1}consumeUnicodeRangeToken(){const e=[];let t=this.consumeCodePoint();for(;w(t)&&e.length<6;)e.push(t),t=this.consumeCodePoint();let n=!1;for(;63===t&&e.length<6;)e.push(t),t=this.consumeCodePoint(),n=!0;if(n)return{type:30,start:parseInt(String.fromCodePoint(...e.map(e=>63===e?48:e)),16),end:parseInt(String.fromCodePoint(...e.map(e=>63===e?70:e)),16)};const o=parseInt(String.fromCodePoint(...e),16);if(45===t&&w(this.peekCodePoint(0))){t=this.consumeCodePoint();const e=[];for(;w(t)&&e.length<6;)e.push(t),t=this.consumeCodePoint();return{type:30,start:o,end:parseInt(String.fromCodePoint(...e),16)}}return{type:30,start:o,end:o}}consumeIdentLikeToken(){const e=this.consumeName();return"url"===e.toLowerCase()&&40===this.peekCodePoint(0)?(this.consumeCodePoint(),this.consumeUrlToken()):40===this.peekCodePoint(0)?(this.consumeCodePoint(),{type:19,value:e}):{type:20,value:e}}consumeUrlToken(){const e=[];if(this.consumeWhiteSpace(),-1===this.peekCodePoint(0))return{type:22,value:""};const t=this.peekCodePoint(0);if(39===t||34===t){const e=this.consumeStringToken(this.consumeCodePoint());return 0===e.type&&(this.consumeWhiteSpace(),-1===this.peekCodePoint(0)||41===this.peekCodePoint(0))?(this.consumeCodePoint(),{type:22,value:e.value}):(this.consumeBadUrlRemnants(),U)}for(;;){const t=this.consumeCodePoint();if(-1===t||41===t)return{type:22,value:String.fromCodePoint(...e)};if(v(t))return this.consumeWhiteSpace(),-1===this.peekCodePoint(0)||41===this.peekCodePoint(0)?(this.consumeCodePoint(),{type:22,value:String.fromCodePoint(...e)}):(this.consumeBadUrlRemnants(),U);if(34===t||39===t||40===t||S(t))return this.consumeBadUrlRemnants(),U;if(92===t){if(!E(t,this.peekCodePoint(0)))return this.consumeBadUrlRemnants(),U;e.push(this.consumeEscapedCodePoint())}else e.push(t)}}consumeWhiteSpace(){for(;v(this.peekCodePoint(0));)this.consumeCodePoint()}consumeBadUrlRemnants(){for(;;){const e=this.consumeCodePoint();if(41===e||-1===e)return;E(e,this.peekCodePoint(0))&&this.consumeEscapedCodePoint()}}consumeStringSlice(e){let t="";const n=this._cursor+e;let o=this._cursor;for(;o<n;){const e=Math.min(n,o+5e4);t+=String.fromCodePoint(...this._value.slice(o,e)),o=e}return this._cursor=n+1,t}consumeStringToken(e){let t="",n=0;for(;;){const o=this._value[this._cursor+n];if(-1===o||void 0===o||o===e)return t+=this.consumeStringSlice(n),{type:0,value:t};if(10===o)return this._cursor+=n,_;if(92===o){const e=this._value[this._cursor+n+1];-1!==e&&void 0!==e&&(10===e?(t+=this.consumeStringSlice(n),n=-1,this._cursor++):E(o,e)&&(t+=this.consumeStringSlice(n),t+=String.fromCodePoint(this.consumeEscapedCodePoint()),n=-1))}n++}}consumeNumber(){const e=[];let t=4,n=this.peekCodePoint(0);for(43!==n&&45!==n||e.push(this.consumeCodePoint());x(this.peekCodePoint(0));)e.push(this.consumeCodePoint());n=this.peekCodePoint(0);let o=this.peekCodePoint(1);if(46===n&&x(o))for(e.push(this.consumeCodePoint(),this.consumeCodePoint()),t=8;x(this.peekCodePoint(0));)e.push(this.consumeCodePoint());n=this.peekCodePoint(0),o=this.peekCodePoint(1);const r=this.peekCodePoint(2);if((69===n||101===n)&&((43===o||45===o)&&x(r)||x(o)))for(e.push(this.consumeCodePoint(),this.consumeCodePoint()),t=8;x(this.peekCodePoint(0));)e.push(this.consumeCodePoint());return[T(e),t]}consumeNumericToken(){const[e,t]=this.consumeNumber(),n=this.peekCodePoint(0),o=this.peekCodePoint(1),r=this.peekCodePoint(2);return M(n,o,r)?{type:15,number:e,flags:t,unit:this.consumeName()}:37===n?(this.consumeCodePoint(),{type:16,number:e,flags:t}):{type:17,number:e,flags:t}}consumeEscapedCodePoint(){const e=this.consumeCodePoint();if(w(e)){let t=String.fromCodePoint(e);for(;w(this.peekCodePoint(0))&&t.length<6;)t+=String.fromCodePoint(this.consumeCodePoint());v(this.peekCodePoint(0))&&this.consumeCodePoint();const n=parseInt(t,16);return 0===n||(e=>e>=55296&&e<=57343)(n)||n>1114111?65533:n}return-1===e?65533:e}consumeName(){let e="";for(;;){const t=this.consumeCodePoint();if(C(t))e+=String.fromCodePoint(t);else{if(!E(t,this.peekCodePoint(0)))return this.reconsumeCodePoint(t),e;e+=String.fromCodePoint(this.consumeEscapedCodePoint())}}}},Q=class e{_tokens;constructor(e){this._tokens=e}static create(t){const n=new K;return n.write(t),new e(n.read())}static parseValue(t){return e.create(t).parseComponentValue()}static parseValues(t){return e.create(t).parseComponentValues()}parseComponentValue(){let e=this.consumeToken();for(;31===e.type;)e=this.consumeToken();if(32===e.type)throw new SyntaxError("Error parsing CSS component value, unexpected EOF");this.reconsumeToken(e);const t=this.consumeComponentValue();do{e=this.consumeToken()}while(31===e.type);if(32===e.type)return t;throw new SyntaxError("Error parsing CSS component value, multiple values found when expecting only one")}parseComponentValues(){const e=[];for(;;){const t=this.consumeComponentValue();if(32===t.type)return e;e.push(t)}}consumeComponentValue(){const e=this.consumeToken();switch(e.type){case 11:case 28:case 2:return this.consumeSimpleBlock(e.type);case 19:return this.consumeFunction(e)}return e}consumeSimpleBlock(e){const t={type:e,values:[]};let n=this.consumeToken();for(;;){if(32===n.type||se(n,e))return t;this.reconsumeToken(n),t.values.push(this.consumeComponentValue()),n=this.consumeToken()}}consumeFunction(e){const t={name:e.value,values:[],type:18};for(;;){const e=this.consumeToken();if(32===e.type||3===e.type)return t;this.reconsumeToken(e),t.values.push(this.consumeComponentValue())}}consumeToken(){const e=this._tokens.shift();return void 0===e?X:e}reconsumeToken(e){this._tokens.unshift(e)}};const Z=e=>15===e.type,J=e=>17===e.type,ee=e=>20===e.type,te=e=>0===e.type,ne=(e,t)=>ee(e)&&e.value===t,oe=e=>31!==e.type,re=e=>31!==e.type&&4!==e.type,ie=e=>{const t=[];let n=[];return e.forEach(e=>{4!==e.type?31!==e.type&&n.push(e):n.length&&(t.push(n),n=[])}),n.length&&t.push(n),t},se=(e,t)=>11===t&&12===e.type||28===t&&29===e.type||2===t&&3===e.type,ae=/(\d+(?:\.\d+)?|[+\-*/()])/g,le=e=>{const t=e.match(ae);if(!t)return NaN;const n=[],o=[],r={"+":1,"-":1,"*":2,"/":2};for(const e of t)if(/^\d+(?:\.\d+)?$/.test(e))n.push(parseFloat(e));else if("("===e)o.push(e);else if(")"===e){for(;o.length&&"("!==o[o.length-1];)n.push(o.pop());if(!o.length)return NaN;o.pop()}else{for(;o.length&&(r[y(o,o.length-1)]??0)>=(r[e]??0);)n.push(o.pop());o.push(e)}for(;o.length;){const e=o.pop();if("("===e)return NaN;n.push(e)}const i=[];for(const e of n)if("number"==typeof e)i.push(e);else{const t=i.pop(),n=i.pop();if(void 0===n||void 0===t)return NaN;switch(e){case"+":i.push(n+t);break;case"-":i.push(n-t);break;case"*":i.push(n*t);break;case"/":i.push(0===t?NaN:n/t);break;default:return NaN}}return 1===i.length?i[0]??NaN:NaN},ce=(e,t,n)=>Math.min(Math.max(e,t),n),de=(e,t)=>[e[0]*t[0]+e[1]*t[1]+e[2]*t[2],e[3]*t[0]+e[4]*t[1]+e[5]*t[2],e[6]*t[0]+e[7]*t[1]+e[8]*t[2]],he=e=>de([3.2409699419045226,-1.537383177570094,-.4986107602930034,-.9692436362808796,1.8759675015077202,.04155505740717559,.05563007969699366,-.20397695888897652,1.0569715142428786],e),ue=e=>de([.41239079926595934,.357584339383878,.1804807884018343,.21263900587151027,.715168678767756,.07219231536073371,.01933081871559182,.11919477979462598,.9505321522496607],e),pe=e=>{const[t,n,o]=e,r=e=>{const t=e<0?-1:1,n=Math.abs(e);return n>.0031308?t*(1.055*n**(1/2.4)-.055):12.92*e};return[r(t),r(n),r(o)]},fe=e=>{const[t,n,o]=e,r=e=>{const t=e<0?-1:1,n=Math.abs(e);return n<=.04045?e/12.92:t*((n+.055)/1.055)**2.4};return[r(t),r(n),r(o)]},me=e=>17===e.type||15===e.type,ge=e=>16===e.type||me(e)||be(e),be=e=>17===e.type&&void 0!==e._calcPercentage,ye=e=>{return 18===(t=e).type&&"calc"===t.name?(e=>{const t=xe(e,0);if(!t)return null;const n=xe(e,100);if(!n)return null;const o=t.number,r=n.number-o;return 0===r?t:{type:17,number:o,flags:4,_calcPercentage:r,_calcPixelOffset:o}})(e):ge(e)?e:null;var t},xe=(e,t=0)=>{const n=e=>{let o="";for(const r of e)if(31!==r.type)if(18===r.type){if("calc"!==r.name)return null;{const e=n(r.values);if(null===e)return null;o+=`(${e})`}}else if(17===r.type)o+=r.number.toString();else if(15===r.type)"px"===r.unit?o+=r.number.toString():"rem"===r.unit||"em"===r.unit?o+=(16*r.number).toString():o+=r.number.toString();else if(16===r.type)o+=(r.number/100*t).toString();else if(6===r.type){const e=r.value;"+"===e||"-"===e||"*"===e||"/"===e?o+=` ${e} `:"("===e?o+="(":")"===e&&(o+=")")}return o};try{const t=n(e.values);if(null===t||""===t.trim())return null;const o=le(t);if("number"==typeof o&&!isNaN(o))return{type:17,number:o,flags:4}}catch(e){return null}return null},we=e=>e.length>1?[y(e,0),y(e,1)]:[y(e,0)],ve={type:17,number:0,flags:4},ke={type:16,number:50,flags:4},Ce={type:16,number:100,flags:4},Se=(e,t,n)=>{const[o,r]=e;return[Ee(o,t),Ee(void 0!==r?r:o,n)]},Ee=(e,t)=>{if(be(e))return e._calcPercentage/100*t+e._calcPixelOffset;if(16===e.type)return e.number/100*t;if(Z(e))switch(e.unit){case"rem":case"em":return 16*e.number;default:return e.number}return e.number},Me="grad",De="turn",Te=(e,t)=>{if(15===t.type)switch(t.unit){case"deg":return Math.PI*t.number/180;case Me:return Math.PI/200*t.number;case"rad":return t.number;case De:return 2*Math.PI*t.number}throw new Error("Unsupported angle type")},Be=e=>15===e.type&&("deg"===e.unit||e.unit===Me||"rad"===e.unit||e.unit===De),Re=e=>{switch(e.filter(ee).map(e=>e.value).join(" ")){case"to bottom right":case"to right bottom":case"left top":case"top left":return[ve,ve];case"to top":case"bottom":return Fe(0);case"to bottom left":case"to left bottom":case"right top":case"top right":return[ve,Ce];case"to right":case"left":return Fe(90);case"to top left":case"to left top":case"right bottom":case"bottom right":return[Ce,Ce];case"to bottom":case"top":return Fe(180);case"to top right":case"to right top":case"left bottom":case"bottom left":return[Ce,ve];case"to left":case"right":return Fe(270)}return 0},Fe=e=>Math.PI*e/180,Le=e=>!(255&e),Ie=e=>{const t=255&e,n=255&e>>8,o=255&e>>16,r=255&e>>24;return t<255?`rgba(${r},${o},${n},${t/255})`:`rgb(${r},${o},${n})`},Pe=(e,t,n,o)=>(e<<24|t<<16|n<<8|Math.round(255*o))>>>0,Ae=(e,t)=>{if(17===e.type)return e.number;if(16===e.type){const n=3===t?1:255;return 3===t?e.number/100*n:Math.round(e.number/100*n)}return 0},Oe=e=>{const t=e[0];return"from"===(t&&20===t.type?t.value:"unknown")},Ne=e=>Pe(ce(Math.round(255*e[0]),0,255),ce(Math.round(255*e[1]),0,255),ce(Math.round(255*e[2]),0,255),ce(e[3],0,1)),ze=e=>{const[t,n,o,r]=e,i=pe([t,n,o]);return Pe(ce(Math.round(255*i[0]),0,255),ce(Math.round(255*i[1]),0,255),ce(Math.round(255*i[2]),0,255),r)},$e=e=>{const t=he([e[0],e[1],e[2]]);return ze([t[0],t[1],t[2],e[3]])},Ue=(e,t)=>{const n=t.filter(re),o=n[0],r=n[1],i=n[2],s=n[3],a=void 0!==s&&6===s.type&&"/"===s.value?n[4]:n[3];return[o?(17===o.type?Fe(o.number):Te(0,o))/(2*Math.PI):0,void 0!==r&&ge(r)?r.number/100:0,void 0!==i&&ge(i)?i.number/100:0,void 0!==a&&ge(a)?Ee(a,1):1]},_e=(e,t)=>{if(Oe(t))throw new Error("Relative color not supported for hsl()");const[n,o,r,i]=Ue(0,t),s=Ye([n,o,r]);return Pe(255*s[0],255*s[1],255*s[2],i)},je=e=>{const t=e.filter(re),n=t[0],o=t[1],r=t[2],i=t[4];return[void 0!==n&&ge(n)?n.number:0,void 0!==o&&ge(o)?o.number:0,void 0!==r&&(J(r)||Z(r))?r.number:0,void 0!==i&&ge(i)?Ee(i,1):1]},Ge=e=>{const t=e.filter(re),n=t[0],o=t[1],r=t[2],i=t[4];return[void 0!==n?16===n.type?n.number/100:J(n)?n.number:0:0,void 0!==o?16===o.type?o.number/100:J(o)?o.number:0:0,void 0!==r&&(J(r)||Z(r))?r.number:0,void 0!==i&&ge(i)?Ee(i,1):1]},We=e=>{const t=e.filter(re),n=t[0],o=t[1],r=t[2],i=t[4];return[void 0!==n?16===n.type?n.number/100:J(n)?n.number:0:0,void 0!==o?16===o.type?o.number/100:J(o)?o.number:0:0,void 0!==r&&(J(r)||Z(r))?r.number:0,void 0!==i&&ge(i)?Ee(i,1):1]},Ve=e=>de([1.0479297925449969,.022946870601609652,-.05019226628920524,.02962780877005599,.9904344267538799,-.017073799063418826,-.009243040646204504,.015055191490298152,.7518742814281371],e),qe=e=>de([.955473421488075,-.02309845494876471,.06325924320057072,-.0283697093338637,1.0099953980813041,.021041441191917323,.012314014864481998,-.020507649298898964,1.330365926242124],e),He=(e,t,n)=>(n<0&&(n+=1),n>=1&&(n-=1),n<1/6?(t-e)*n*6+e:n<.5?t:n<2/3?6*(t-e)*(2/3-n)+e:e),Ye=([e,t,n])=>{if(0===t)return[n,n,n];const o=n<=.5?n*(t+1):n+t-n*t,r=2*n-o;return[He(r,o,e+1/3),He(r,o,e),He(r,o,e-1/3)]},Xe=([e,t,n])=>(t<0&&(t=0),isNaN(n)&&(n=0),[e,t*Math.cos(n*Math.PI/180),t*Math.sin(n*Math.PI/180)]),Ke=e=>{const t=de([1,.3963377773761749,.2158037573099136,1,-.1055613458156586,-.0638541728258133,1,-.0894841775298119,-1.2914855480194092],e),n=[t[0]**3,t[1]**3,t[2]**3];return de([1.2268798758459243,-.5578149944602171,.2813910456659647,-.0405757452148008,1.112286803280317,-.0717110580655164,-.0763729366746601,-.4214933324022432,1.5869240198367816],n)},Qe=e=>{const t=(e[0]+16)/116,n=e[1]/500+t,o=t-e[2]/200,r=24389/27,i=24/116,s=[.3457*(n>i?n**3:(116*n-16)/r)/.3585,e[0]>8?t**3:e[0]/r,.2958*(o>i?o**3:(116*o-16)/r)/.3585];return qe([s[0],s[1],s[2]])},Ze=e=>e,Je=e=>$e([e[0],e[1],e[2],e[3]]),et=1.09929682680944,tt=.018053968510807,nt={lch:2,oklch:2,hsl:0},ot=e=>{const t=e[0],n=e[1],o=e[2],r=e[3],i=e[4],s=e[5],a=e[6],l=e[7],c=e[8],d=t*(i*c-s*l)-n*(r*c-s*a)+o*(r*l-i*a);return[(i*c-s*l)/d,(o*l-n*c)/d,(n*s-o*i)/d,(s*a-r*c)/d,(t*c-o*a)/d,(o*r-t*s)/d,(r*l-i*a)/d,(n*a-t*l)/d,(t*i-n*r)/d]},rt=ot([1.2268798758459243,-.5578149944602171,.2813910456659647,-.0405757452148008,1.112286803280317,-.0717110580655164,-.0763729366746601,-.4214933324022432,1.5869240198367816]),it=ot([1,.3963377773761749,.2158037573099136,1,-.1055613458156586,-.0638541728258133,1,-.0894841775298119,-1.2914855480194092]),st=24389/27,at=24/116,lt=at*at*at,ct=.3457/.3585,dt=.2958/.3585,ht=e=>{const[t,n,o]=Ve([e[0],e[1],e[2]]),r=t/ct,i=n,s=o/dt,a=r>lt?Math.cbrt(r):(st*r+16)/116,l=i>lt?Math.cbrt(i):(st*i+16)/116;return[116*l-16,500*(a-l),200*(l-(s>lt?Math.cbrt(s):(st*s+16)/116))]},ut=e=>{const t=de(rt,e),n=[Math.cbrt(t[0]),Math.cbrt(t[1]),Math.cbrt(t[2])];return de(it,n)},pt=e=>{const t=Math.hypot(e[1],e[2]),n=180*Math.atan2(e[2],e[1])/Math.PI;return[e[0],t,(n+360)%360]},ft=e=>{const t=e[0],n=e[1],o=e[2],r=Math.max(t,n,o),i=Math.min(t,n,o),s=(r+i)/2;if(r===i)return[0,0,s];const a=r-i;let l;return l=r===t?((n-o)/a+(n<o?6:0))/6:r===n?((o-t)/a+2)/6:((t-n)/a+4)/6,[l,s>.5?a/(2-r-i):a/(r+i),s]},mt=(e,t)=>{const n=(255&e)/255,o=(e=>[(255&e>>24)/255,(255&e>>16)/255,(255&e>>8)/255])(e),r=fe(o),i=ue(r);let s;switch(t){case"srgb":s=o;break;case"srgb-linear":s=r;break;case"xyz":case"xyz-d65":s=i;break;case"xyz-d50":s=Ve(i);break;case"lab":s=ht(i);break;case"oklab":s=ut(i);break;case"lch":s=pt(ht(i));break;case"oklch":s=pt(ut(i));break;case"hsl":s=[360*ft(o)[0],ft(o)[1],ft(o)[2]]}return[s[0],s[1],s[2],n]},gt=(e,t)=>{const n=pe(he(e));return Ne([n[0],n[1],n[2],t])},bt=(e,t)=>{let n,o=null;for(const e of t)if(31!==e.type&&4!==e.type)if(16===e.type)o=e.number;else if(ee(e)&&"none"===e.value)null===o&&(o=0);else{if(void 0!==n)throw new Error("Unexpected token in color-mix() component");n=e}if(void 0===n)throw new Error("color-mix() component is missing a color");const r=n;return{color:xt.parse(e,r),percentage:o}},yt=["srgb","srgb-linear","lab","oklab","lch","oklch","hsl","xyz","xyz-d50","xyz-d65"],xt={name:"color",parse:(e,t)=>{if(18===t.type){const n=Et[t.name];if(void 0===n)throw new Error(`Attempting to parse an unsupported color function "${t.name}"`);return n(e,t.values)}if(5===t.type){const[e,n,o,r]=wt(t);return Pe(e,n,o,r)}if(20===t.type){const e=Dt[t.value.toUpperCase()];if(void 0!==e)return e}return 0}},wt=e=>{if(3===e.value.length){const t=e.value.substring(0,1),n=e.value.substring(1,2),o=e.value.substring(2,3);return[parseInt(t+t,16),parseInt(n+n,16),parseInt(o+o,16),1]}if(4===e.value.length){const t=e.value.substring(0,1),n=e.value.substring(1,2),o=e.value.substring(2,3),r=e.value.substring(3,4);return[parseInt(t+t,16),parseInt(n+n,16),parseInt(o+o,16),parseInt(r+r,16)/255]}if(6===e.value.length){const t=e.value.substring(0,2),n=e.value.substring(2,4),o=e.value.substring(4,6);return[parseInt(t,16),parseInt(n,16),parseInt(o,16),1]}if(8===e.value.length){const t=e.value.substring(0,2),n=e.value.substring(2,4),o=e.value.substring(4,6),r=e.value.substring(6,8);return[parseInt(t,16),parseInt(n,16),parseInt(o,16),parseInt(r,16)/255]}return[0,0,0,1]},vt=(e,t)=>{const n=t.filter(re);if(Oe(n))throw new Error("Relative color not supported for rgb()");if(3===n.length||4===n.length){const e=Ae(y(n,0),0),t=Ae(y(n,1),1),o=Ae(y(n,2),2),r=4===n.length?Ae(y(n,3),3):1;return Pe(e,t,o,r)}if(5===n.length){const e=y(n,3);if(6===e.type&&"/"===e.value){const e=Ae(y(n,0),0),t=Ae(y(n,1),1),o=Ae(y(n,2),2),r=Ae(y(n,4),3);return Pe(e,t,o,r)}}return 0},kt={srgb:Ne,"srgb-linear":ze,"display-p3":e=>{const t=(e=>{const t=(e=>{const t=e=>{const t=e<0?-1:1;return e*t<=.04045?e/12.92:t*((e+.055)/1.055)**2.4||0};return[t(e[0]),t(e[1]),t(e[2])]})([e[0],e[1],e[2]]);return n=[t[0],t[1],t[2]],de([.4865709486482162,.26566769316909306,.1982172852343625,.2289745640697488,.6917385218365064,.079286914093745,0,.04511338185890264,1.043944368900976],n);var n})([e[0],e[1],e[2]]);return $e([t[0],t[1],t[2],e[3]])},"a98-rgb":e=>{const t=he((n=(e=>{const t=e.map(e=>(e<0?-1:1)*Math.abs(e)**(563/256));return[t[0]??0,t[1]??0,t[2]??0]})([e[0],e[1],e[2]]),de([.5766690429101305,.1855582379065463,.1882286462349947,.29734497525053605,.6273635662554661,.0752914584939978,.02703136138641234,.07068885253582723,.9913375368376388],n)));var n;return ze([t[0],t[1],t[2],e[3]])},"prophoto-rgb":e=>{const t=(e=>{const t=(e=>{const[t,n,o]=e,r=e=>e<16/512?e/16:e**1.8;return[r(t),r(n),r(o)]})([e[0],e[1],e[2]]);return qe((n=[t[0],t[1],t[2]],de([.7977666449006423,.13518129740053308,.0313477341283922,.2880748288194013,.711835234241873,8993693872564e-17,0,0,.8251046025104602],n)));var n})([e[0],e[1],e[2]]);return $e([t[0],t[1],t[2],e[3]])},xyz:Je,"xyz-d50":e=>{const t=(e=>qe([e[0],e[1],e[2]]))([e[0],e[1],e[2]]);return $e([t[0],t[1],t[2],e[3]])},"xyz-d65":Je,rec2020:e=>{const t=(e=>{const t=(e=>{const t=e=>e<4.5*tt?e/4.5:Math.pow((e+et-1)/et,1/.45);return[t(e[0]),t(e[1]),t(e[2])]})([e[0],e[1],e[2]]);return n=[t[0],t[1],t[2]],de([.6369580483012914,.14461690358620832,.1688809751641721,.2627002120112671,.6779980715188708,.05930171646986196,0,.028072693049087428,1.060985057710791],n);var n})([e[0],e[1],e[2]]);return $e([t[0],t[1],t[2],e[3]])}},Ct={rgb:(e,t)=>{const n=t.filter(re);if(3===n.length||4===n.length){const e=Ae(y(n,0),0),t=Ae(y(n,1),1),o=Ae(y(n,2),2),r=4===n.length?Ae(y(n,3),3):1,i=fe([e/255,t/255,o/255]),[s,a,l]=ue([i[0],i[1],i[2]]);return[s,a,l,r]}return[0,0,0,1]},hsl:(e,t)=>{const[n,o,r,i]=Ue(0,t),s=fe(Ye([n,o,r])),[a,l,c]=ue([s[0],s[1],s[2]]);return[a,l,c,i]},lab:(e,t)=>{const[n,o,r,i]=Ge(t),[s,a,l]=Qe([n,o,r]);return[s,a,l,i]},lch:(e,t)=>{const[n,o,r,i]=je(t),[s,a,l]=Qe(Xe([n,o,r]));return[s,a,l,i]},oklab:(e,t)=>{const[n,o,r,i]=Ge(t),[s,a,l]=Ke([n,o,r]);return[s,a,l,i]},oklch:(e,t)=>{const[n,o,r,i]=We(t),[s,a,l]=Ke(Xe([n,o,r]));return[s,a,l,i]}},St={srgb:e=>{const[t,n,o]=pe(he([e[0],e[1],e[2]]));return[t,n,o,e[3]]},"srgb-linear":e=>{const[t,n,o]=he([e[0],e[1],e[2]]);return[ce(Math.round(255*t),0,255),ce(Math.round(255*n),0,255),ce(Math.round(255*o),0,255),e[3]]},"display-p3":e=>{const[t,n,o]=(i=[e[0],e[1],e[2]],r=de([2.493496911941425,-.9313836179191239,-.40271078445071684,-.8294889695615747,1.7626640603183463,.023624685841943577,.03584583024378447,-.07617238926804182,.9568845240076872],i),pe(r));var r,i;return[t,n,o,e[3]]},"a98-rgb":e=>{const[t,n,o]=(e=>{const t=e.map(e=>(e<0?-1:1)*Math.abs(e)**(256/563));return[t[0]??0,t[1]??0,t[2]??0]})((r=[e[0],e[1],e[2]],de([2.0415879038107465,-.5650069742788596,-.34473135077832956,-.9692436362808795,1.8759675015077202,.04155505740717557,.013444280632031142,-.11836239223101838,1.0151749943912054],r)));var r;return[t,n,o,e[3]]},"prophoto-rgb":e=>{const[t,n,o]=(e=>{const[t,n,o]=e,r=e=>e>1/512?e**(1/1.8):16*e;return[r(t),r(n),r(o)]})((r=Ve([e[0],e[1],e[2]]),de([1.3457868816471583,-.25557208737979464,-.05110186497554526,-.5446307051249019,1.5082477428451468,.02052744743642139,0,0,1.2119675456389452],r)));var r;return[t,n,o,e[3]]},xyz:Ze,"xyz-d50":e=>{const[t,n,o]=Ve([e[0],e[2],e[3]]);return[t,n,o,e[3]]},"xyz-d65":Ze,rec2020:e=>{const[t,n,o]=(e=>{const t=e=>e>=tt?et*Math.pow(e,.45)-.09929682680944008:4.5*e;return[t(e[0]),t(e[1]),t(e[2])]})((r=[e[0],e[1],e[2]],de([1.716651187971268,-.355670783776392,-.25336628137366,-.666684351832489,1.616481236634939,.0157685458139111,.017639857445311,-.042770613257809,.942103121235474],r)));var r;return[t,n,o,e[3]]}},Et={hsl:_e,hsla:_e,rgb:vt,rgba:vt,lch:(e,t)=>{if(Oe(t.filter(re)))throw new Error("Relative color not supported for lch()");const[n,o,r,i]=je(t),s=pe(he(Qe(Xe([n,o,r]))));return Pe(ce(Math.round(255*s[0]),0,255),ce(Math.round(255*s[1]),0,255),ce(Math.round(255*s[2]),0,255),i)},oklch:(e,t)=>{if(Oe(t.filter(re)))throw new Error("Relative color not supported for oklch()");const[n,o,r,i]=We(t),s=pe(he(Ke(Xe([n,o,r]))));return Pe(ce(Math.round(255*s[0]),0,255),ce(Math.round(255*s[1]),0,255),ce(Math.round(255*s[2]),0,255),i)},oklab:(e,t)=>{if(Oe(t.filter(re)))throw new Error("Relative color not supported for oklab()");const[n,o,r,i]=Ge(t),s=pe(he(Ke([n,o,r])));return Pe(ce(Math.round(255*s[0]),0,255),ce(Math.round(255*s[1]),0,255),ce(Math.round(255*s[2]),0,255),i)},lab:(e,t)=>{if(Oe(t.filter(re)))throw new Error("Relative color not supported for lab()");const[n,o,r,i]=Ge(t),s=(e=>{const t=e.filter(re)[0];return void 0!==t&&16===t.type})(t)?100*n:n,a=pe(he(Qe([s,o,r])));return Pe(ce(Math.round(255*a[0]),0,255),ce(Math.round(255*a[1]),0,255),ce(Math.round(255*a[2]),0,255),i)},color:(e,t)=>{const n=t.filter(re),o=n[0],r=o&&20===o.type?o.value:"unknown";if(Oe(n)){const t=(e,t)=>{if(J(t))return t.number;if(ee(t)){const o="r"===(n=t.value)||"x"===n?0:"g"===n||"y"===n?1:2;return y(e,o)}var n;const o=e=>{const t=e.filter(re);let n="(";for(const e of t)n+=18===e.type&&"calc"===e.name?o(e.values):J(e)?e.number:6===e.type||ee(e)?e.value:"";return n+=")",n};if(18===t.type){const n=t.values.filter(re);if("calc"===t.name){const t=o(n).replace(/r|x/,e[0].toString()).replace(/g|y/,e[1].toString()).replace(/b|z/,e[2].toString());return le(t)}}return null},o=y(n,1),r=18===o.type?o.name:ee(o)||5===o.type?"rgb":"unknown",i=y(n,2),s=ee(i)?i.value:"unknown";let a=18===o.type?o.values:ee(o)?[o]:[];if(ee(o)){if(void 0===Dt[o.value.toUpperCase()])throw new Error("Attempting to use unknown color in relative color 'from'");{const t=Mt(e,o.value),n=255&t;a=[{type:17,number:255&t>>24,flags:1},{type:17,number:255&t>>16,flags:1},{type:17,number:255&t>>8,flags:1},{type:17,number:n>1?n/255:n,flags:1}]}}else if(5===o.type){const[e,t,n,r]=wt(o);a=[{type:17,number:e,flags:1},{type:17,number:t,flags:1},{type:17,number:n,flags:1},{type:17,number:r>1?r/255:r,flags:1}]}if(0===a.length)throw new Error("Attempting to use unknown color in relative color 'from'");if("unknown"===s)throw new Error("Attempting to use unknown colorspace in relative color 'to'");const l=Ct[r],c=St[s],d=kt[s];if(void 0===l)throw new Error(`Attempting to parse an unsupported color space "${r}" for color() function`);if(void 0===c)throw new Error(`Attempting to parse an unsupported color space "${s}" for color() function`);const h=c(l(e,a)),u=t(h,y(n,3)),p=t(h,y(n,4)),f=t(h,y(n,5)),m=n[6],g=n[7],b=void 0!==m&&6===m.type&&"/"===m.value&&void 0!==g&&J(g)?g.number:1;if(null===u||null===p||null===f)throw new Error("Invalid relative color in color() function");if(void 0===d)throw new Error(`Attempting to parse an unsupported color space "${s}" for color() function`);return d([u,p,f,b])}{const e=kt[r];if(void 0===e)throw new Error(`Attempting to parse an unsupported color space "${r}" for color() function`);const t=y(n,1),o=y(n,2),i=y(n,3),s=n[4],a=n[5];return e([J(t)?t.number:0,J(o)?o.number:0,J(i)?i.number:0,void 0!==s&&6===s.type&&"/"===s.value&&void 0!==a&&J(a)?a.number:1])}},"color-mix":(e,t)=>{try{return((e,t)=>{const n=[[]];for(const e of t)4===e.type?n.push([]):n[n.length-1].push(e);const o=n.map(e=>e.filter(e=>31!==e.type));if(3!==o.length)throw new Error("color-mix() requires exactly two color components");const r=o[0],i=r?r[0]:void 0,s=void 0!==i&&ee(i)&&"in"===i.value;if(!r||r.length<2||!s)throw new Error("color-mix() requires an interpolation space after `in`");const a=r[1];if(!a||!ee(a))throw new Error("color-mix() space must be an identifier");const l=a.value;if(-1===yt.indexOf(l))throw new Error(`Unsupported color-mix() interpolation space "${l}"`);let c="shorter";const d=r.slice(2);if(d.length>0){const e=d[0],t=d[1];if(!(e&&t&&ee(e)&&ee(t)&&"hue"===t.value))throw new Error("Unsupported color-mix() hue method syntax");if(-1===["shorter","longer","increasing","decreasing"].indexOf(e.value))throw new Error(`Unsupported color-mix() hue method "${e.value}"`);c=e.value}const h=o[1],u=o[2];if(!h||!u)throw new Error("color-mix() requires exactly two color components");const p=bt(e,h),f=bt(e,u);let m=p.percentage,g=f.percentage;if(null===m&&null===g)m=50,g=50;else if(null===m)m=100-(g??0);else if(null===g)g=100-m;else{const e=m+g;e>0&&(m=m/e*100,g=g/e*100)}const b=(m??0)/100,x=(g??0)/100;return((e,t)=>{const n=e[0],o=e[1],r=e[2],i=e[3];switch(t){case"srgb":return Ne([n,o,r,i]);case"srgb-linear":return ze([n,o,r,i]);case"xyz":case"xyz-d65":return $e([n,o,r,i]);case"xyz-d50":return $e([...qe([n,o,r]),i]);case"lab":return gt(Qe([n,o,r]),i);case"oklab":return gt(Ke([n,o,r]),i);case"lch":return gt(Qe(Xe([n,o,r])),i);case"oklch":return gt(Ke(Xe([n,o,r])),i);case"hsl":{const e=Ye([n/360,o,r]);return Ne([e[0],e[1],e[2],i])}}})(((e,t,n,o,r,i)=>{const s=nt[r],a=[e[0]*e[3],e[1]*e[3],e[2]*e[3],e[3]],l=[t[0]*t[3],t[1]*t[3],t[2]*t[3],t[3]],c=n*a[3]+o*l[3];if(c<=0)return[0,0,0,0];const d=[0,0,0,c];for(let e=0;e<3;e++)e!==s&&(d[e]=(n*y(a,e)+o*y(l,e))/c);if(void 0!==s){let r=y(e,s),a=y(t,s);0===e[1]&&(r=a),0===t[1]&&(a=r),d[s]=((e,t,n,o,r="shorter")=>{const i=n+o;if(0===i)return e;let s=((t-e)%360+360)%360;switch(r){case"shorter":s>180&&(s-=360);break;case"longer":s<180&&(s-=360);break;case"increasing":break;case"decreasing":s>0&&(s-=360)}return e+s*(o/i)})(r,a,n,o,i)}return d})(mt(p.color,l),mt(f.color,l),b,x,l,c),l)})(e,t)}catch(t){return e.logger.warn(`Unsupported color-mix() value: ${t instanceof Error?t.message:t}`),0}}},Mt=(e,t)=>xt.parse(e,Q.create(t).parseComponentValue()),Dt={ALICEBLUE:4042850303,ANTIQUEWHITE:4209760255,AQUA:16777215,AQUAMARINE:2147472639,AZURE:4043309055,BEIGE:4126530815,BISQUE:4293182719,BLACK:255,BLANCHEDALMOND:4293643775,BLUE:65535,BLUEVIOLET:2318131967,BROWN:2771004159,BURLYWOOD:3736635391,CADETBLUE:1604231423,CHARTREUSE:2147418367,CHOCOLATE:3530104575,CORAL:4286533887,CORNFLOWERBLUE:1687547391,CORNSILK:4294499583,CRIMSON:3692313855,CYAN:16777215,DARKBLUE:35839,DARKCYAN:9145343,DARKGOLDENROD:3095837695,DARKGRAY:2846468607,DARKGREEN:6553855,DARKGREY:2846468607,DARKKHAKI:3182914559,DARKMAGENTA:2332068863,DARKOLIVEGREEN:1433087999,DARKORANGE:4287365375,DARKORCHID:2570243327,DARKRED:2332033279,DARKSALMON:3918953215,DARKSEAGREEN:2411499519,DARKSLATEBLUE:1211993087,DARKSLATEGRAY:793726975,DARKSLATEGREY:793726975,DARKTURQUOISE:13554175,DARKVIOLET:2483082239,DEEPPINK:4279538687,DEEPSKYBLUE:12582911,DIMGRAY:1768516095,DIMGREY:1768516095,DODGERBLUE:512819199,FIREBRICK:2988581631,FLORALWHITE:4294635775,FORESTGREEN:579543807,FUCHSIA:4278255615,GAINSBORO:3705462015,GHOSTWHITE:4177068031,GOLD:4292280575,GOLDENROD:3668254975,GRAY:2155905279,GREEN:8388863,GREENYELLOW:2919182335,GREY:2155905279,HONEYDEW:4043305215,HOTPINK:4285117695,INDIANRED:3445382399,INDIGO:1258324735,IVORY:4294963455,KHAKI:4041641215,LAVENDER:3873897215,LAVENDERBLUSH:4293981695,LAWNGREEN:2096890111,LEMONCHIFFON:4294626815,LIGHTBLUE:2916673279,LIGHTCORAL:4034953471,LIGHTCYAN:3774873599,LIGHTGOLDENRODYELLOW:4210742015,LIGHTGRAY:3553874943,LIGHTGREEN:2431553791,LIGHTGREY:3553874943,LIGHTPINK:4290167295,LIGHTSALMON:4288707327,LIGHTSEAGREEN:548580095,LIGHTSKYBLUE:2278488831,LIGHTSLATEGRAY:2005441023,LIGHTSLATEGREY:2005441023,LIGHTSTEELBLUE:2965692159,LIGHTYELLOW:4294959359,LIME:16711935,LIMEGREEN:852308735,LINEN:4210091775,MAGENTA:4278255615,MAROON:2147483903,MEDIUMAQUAMARINE:1724754687,MEDIUMBLUE:52735,MEDIUMORCHID:3126187007,MEDIUMPURPLE:2473647103,MEDIUMSEAGREEN:1018393087,MEDIUMSLATEBLUE:2070474495,MEDIUMSPRINGGREEN:16423679,MEDIUMTURQUOISE:1221709055,MEDIUMVIOLETRED:3340076543,MIDNIGHTBLUE:421097727,MINTCREAM:4127193855,MISTYROSE:4293190143,MOCCASIN:4293178879,NAVAJOWHITE:4292783615,NAVY:33023,OLDLACE:4260751103,OLIVE:2155872511,OLIVEDRAB:1804477439,ORANGE:4289003775,ORANGERED:4282712319,ORCHID:3664828159,PALEGOLDENROD:4008225535,PALEGREEN:2566625535,PALETURQUOISE:2951671551,PALEVIOLETRED:3681588223,PAPAYAWHIP:4293907967,PEACHPUFF:4292524543,PERU:3448061951,PINK:4290825215,PLUM:3718307327,POWDERBLUE:2967529215,PURPLE:2147516671,REBECCAPURPLE:1714657791,RED:4278190335,ROSYBROWN:3163525119,ROYALBLUE:1097458175,SADDLEBROWN:2336560127,SALMON:4202722047,SANDYBROWN:4104413439,SEAGREEN:780883967,SEASHELL:4294307583,SIENNA:2689740287,SILVER:3233857791,SKYBLUE:2278484991,SLATEBLUE:1784335871,SLATEGRAY:1887473919,SLATEGREY:1887473919,SNOW:4294638335,SPRINGGREEN:16744447,STEELBLUE:1182971135,TAN:3535047935,TEAL:8421631,THISTLE:3636451583,TOMATO:4284696575,TRANSPARENT:0,TURQUOISE:1088475391,VIOLET:4001558271,WHEAT:4125012991,WHITE:4294967295,WHITESMOKE:4126537215,YELLOW:4294902015,YELLOWGREEN:2597139199},Tt=e=>e.nodeType===Node.ELEMENT_NODE,Bt=e=>e.nodeType===Node.TEXT_NODE,Rt=e=>"object"==typeof e.className,Ft=e=>Tt(e)&&void 0!==e.style&&!Rt(e),Lt=e=>"svg"===e.tagName,It=e=>"BODY"===e.tagName,Pt=e=>"CANVAS"===e.tagName,At=e=>"VIDEO"===e.tagName,Ot=e=>"IMG"===e.tagName,Nt=e=>"IFRAME"===e.tagName,zt=e=>"STYLE"===e.tagName,$t=e=>"TEXTAREA"===e.tagName,Ut=e=>"SELECT"===e.tagName,_t=e=>"SLOT"===e.tagName,jt=e=>!Rt(e)&&e.tagName.indexOf("-")>0,Gt=new Set(["IMG","VIDEO","AUDIO","CANVAS","IFRAME","INPUT","TEXTAREA","SELECT","BR","HR","META","LINK","BASE","COL","SOURCE","TRACK","WBR","AREA","PARAM","EMBED","OBJECT"]),Wt={name:"list-style-type",initialValue:"none",prefix:!1,type:2,parse:(e,t)=>{switch(t){case"disc":return 0;case"circle":return 1;case"square":return 2;case"decimal":return 3;case"cjk-decimal":return 4;case"decimal-leading-zero":return 5;case"lower-roman":return 6;case"upper-roman":return 7;case"lower-greek":return 8;case"lower-alpha":return 9;case"upper-alpha":return 10;case"arabic-indic":return 11;case"armenian":return 12;case"bengali":return 13;case"cambodian":return 14;case"cjk-earthly-branch":return 15;case"cjk-heavenly-stem":return 16;case"cjk-ideographic":return 17;case"devanagari":return 18;case"ethiopic-numeric":return 19;case"georgian":return 20;case"gujarati":return 21;case"gurmukhi":return 22;case"hebrew":return 52;case"hiragana":return 23;case"hiragana-iroha":return 24;case"japanese-formal":return 25;case"japanese-informal":return 26;case"kannada":return 27;case"katakana":return 28;case"katakana-iroha":return 29;case"khmer":return 30;case"korean-hangul-formal":return 31;case"korean-hanja-formal":return 32;case"korean-hanja-informal":return 33;case"lao":return 34;case"lower-armenian":return 35;case"malayalam":return 36;case"mongolian":return 37;case"myanmar":return 38;case"oriya":return 39;case"persian":return 40;case"simp-chinese-formal":return 41;case"simp-chinese-informal":return 42;case"tamil":return 43;case"telugu":return 44;case"thai":return 45;case"tibetan":return 46;case"trad-chinese-formal":return 47;case"trad-chinese-informal":return 48;case"upper-armenian":return 49;case"disclosure-open":return 50;case"disclosure-closed":return 51;default:return-1}}},Vt=(e,t)=>0!==(e&t);var qt=class{counters={};getCounterValue(e){const t=this.counters[e];return t&&t.length?y(t,t.length-1):1}getCounterValues(e){return this.counters[e]||[]}pop(e){e.forEach(e=>this.counters[e]?.pop())}parse(e){const t=e.counterIncrement,n=e.counterReset;let o=!0;null!==t&&t.forEach(e=>{const t=this.counters[e.counter];if(t&&0!==e.increment){o=!1,t.length||t.push(1);const n=Math.max(0,t.length-1);t[n]=(t[n]??0)+e.increment}});const r=[];return o&&n.forEach(e=>{let t=this.counters[e.counter];r.push(e.counter),t||(t=this.counters[e.counter]=[]),t.push(e.reset)}),r}};const Ht={integers:[1e3,900,500,400,100,90,50,40,10,9,5,4,1],values:["M","CM","D","CD","C","XC","L","XL","X","IX","V","IV","I"]},Yt={integers:[9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["Ք","Փ","Ւ","Ց","Ր","Տ","Վ","Ս","Ռ","Ջ","Պ","Չ","Ո","Շ","Ն","Յ","Մ","Ճ","Ղ","Ձ","Հ","Կ","Ծ","Խ","Լ","Ի","Ժ","Թ","Ը","Է","Զ","Ե","Դ","Գ","Բ","Ա"]},Xt={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,400,300,200,100,90,80,70,60,50,40,30,20,19,18,17,16,15,10,9,8,7,6,5,4,3,2,1],values:["י׳","ט׳","ח׳","ז׳","ו׳","ה׳","ד׳","ג׳","ב׳","א׳","ת","ש","ר","ק","צ","פ","ע","ס","נ","מ","ל","כ","יט","יח","יז","טז","טו","י","ט","ח","ז","ו","ה","ד","ג","ב","א"]},Kt={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["ჵ","ჰ","ჯ","ჴ","ხ","ჭ","წ","ძ","ც","ჩ","შ","ყ","ღ","ქ","ფ","ჳ","ტ","ს","რ","ჟ","პ","ო","ჲ","ნ","მ","ლ","კ","ი","თ","ჱ","ზ","ვ","ე","დ","გ","ბ","ა"]},Qt=(e,t,n,o,r,i)=>e<t||e>n?an(e,r,i.length>0):o.integers.reduce((t,n,r)=>{for(;e>=n;)e-=n,t+=o.values[r];return t},"")+i,Zt=(e,t,n,o)=>{let r="";do{n||e--,r=o(e)+r,e/=t}while(e*t>=t);return r},Jt=(e,t,n,o,r)=>{const i=n-t+1;return(e<0?"-":"")+(Zt(Math.abs(e),i,o,e=>String.fromCodePoint(Math.floor(e%i)+t))+r)},en=(e,t,n=". ")=>{const o=t.length;return Zt(Math.abs(e),o,!1,e=>String(t[Math.floor(e%o)]))+n},tn=(e,t,n,o,r,i)=>{if(e<-9999||e>9999)return an(e,4,r.length>0);let s=Math.abs(e),a=r;if(0===s)return t[0]+a;for(let o=0;s>0&&o<=4;o++){const r=s%10;0===r&&Vt(i,1)&&""!==a?a=t[r]+a:r>1||1===r&&0===o||1===r&&1===o&&Vt(i,2)||1===r&&1===o&&Vt(i,4)&&e>100||1===r&&o>1&&Vt(i,8)?a=(t[r]??"")+(o>0?n[o-1]??"":"")+a:1===r&&o>0&&(a=(n[o-1]??"")+a),s=Math.floor(s/10)}return(e<0?o:"")+a},nn="十百千萬",on="拾佰仟萬",rn="マイナス",sn="마이너스",an=(e,t,n)=>{const o=n?". ":"",r=n?"、":"",i=n?", ":"",s=n?" ":"";switch(t){case 0:return"•"+s;case 1:return"◦"+s;case 2:return"◾"+s;case 5:const t=Jt(e,48,57,!0,o);return t.length<4?`0${t}`:t;case 4:return en(e,"〇一二三四五六七八九",r);case 6:return Qt(e,1,3999,Ht,3,o).toLowerCase();case 7:return Qt(e,1,3999,Ht,3,o);case 8:return Jt(e,945,969,!1,o);case 9:return Jt(e,97,122,!1,o);case 10:return Jt(e,65,90,!1,o);case 11:return Jt(e,1632,1641,!0,o);case 12:case 49:return Qt(e,1,9999,Yt,3,o);case 35:return Qt(e,1,9999,Yt,3,o).toLowerCase();case 13:return Jt(e,2534,2543,!0,o);case 14:case 30:return Jt(e,6112,6121,!0,o);case 15:return en(e,"子丑寅卯辰巳午未申酉戌亥",r);case 16:return en(e,"甲乙丙丁戊己庚辛壬癸",r);case 17:case 48:return tn(e,"零一二三四五六七八九",nn,"負",r,14);case 47:return tn(e,"零壹貳參肆伍陸柒捌玖",on,"負",r,15);case 42:return tn(e,"零一二三四五六七八九",nn,"负",r,14);case 41:return tn(e,"零壹贰叁肆伍陆柒捌玖",on,"负",r,15);case 26:return tn(e,"〇一二三四五六七八九","十百千万",rn,r,0);case 25:return tn(e,"零壱弐参四伍六七八九","拾百千万",rn,r,7);case 31:return tn(e,"영일이삼사오육칠팔구","십백천만",sn,i,7);case 33:return tn(e,"零一二三四五六七八九","十百千萬",sn,i,0);case 32:return tn(e,"零壹貳參四五六七八九","拾百千",sn,i,7);case 18:return Jt(e,2406,2415,!0,o);case 20:return Qt(e,1,19999,Kt,3,o);case 21:return Jt(e,2790,2799,!0,o);case 22:return Jt(e,2662,2671,!0,o);case 52:return Qt(e,1,10999,Xt,3,o);case 23:return en(e,"あいうえおかきくけこさしすせそたちつてとなにぬねのはひふへほまみむめもやゆよらりるれろわゐゑをん");case 24:return en(e,"いろはにほへとちりぬるをわかよたれそつねならむうゐのおくやまけふこえてあさきゆめみしゑひもせす");case 27:return Jt(e,3302,3311,!0,o);case 28:return en(e,"アイウエオカキクケコサシスセソタチツテトナニヌネノハヒフヘホマミムメモヤユヨラリルレロワヰヱヲン",r);case 29:return en(e,"イロハニホヘトチリヌルヲワカヨタレソツネナラムウヰノオクヤマケフコエテアサキユメミシヱヒモセス",r);case 34:return Jt(e,3792,3801,!0,o);case 37:return Jt(e,6160,6169,!0,o);case 38:return Jt(e,4160,4169,!0,o);case 39:return Jt(e,2918,2927,!0,o);case 40:return Jt(e,1776,1785,!0,o);case 43:return Jt(e,3046,3055,!0,o);case 44:return Jt(e,3174,3183,!0,o);case 45:return Jt(e,3664,3673,!0,o);case 46:return Jt(e,3872,3881,!0,o);default:return Jt(e,48,57,!0,o)}},ln={name:"display",initialValue:"inline-block",prefix:!1,type:1,parse:(e,t)=>t.filter(ee).reduce((e,t)=>e|cn(t.value),0)},cn=e=>{switch(e){case"block":case"-webkit-box":return 2;case"inline":return 4;case"run-in":return 8;case"flow":return 16;case"flow-root":return 32;case"table":return 64;case"flex":case"-webkit-flex":return 128;case"grid":case"-ms-grid":return 256;case"ruby":return 512;case"subgrid":return 1024;case"list-item":return 2048;case"table-row-group":return 4096;case"table-header-group":return 8192;case"table-footer-group":return 16384;case"table-row":return 32768;case"table-cell":return 65536;case"table-column-group":return 131072;case"table-column":return 262144;case"table-caption":return 524288;case"ruby-base":return 1048576;case"ruby-text":return 2097152;case"ruby-base-container":return 4194304;case"ruby-text-container":return 8388608;case"contents":return 16777216;case"inline-block":return 33554432;case"inline-list-item":return 67108864;case"inline-table":return 134217728;case"inline-flex":return 268435456;case"inline-grid":return 536870912}return 0},dn={name:"float",initialValue:"none",prefix:!1,type:2,parse:(e,t)=>{switch(t){case"left":return 1;case"right":return 2;case"inline-start":return 3;case"inline-end":return 4}return 0}},hn={name:"overflow",initialValue:"visible",prefix:!1,type:1,parse:(e,t)=>t.filter(ee).map(e=>{switch(e.value){case"hidden":return 1;case"scroll":return 2;case"clip":return 3;case"auto":return 4;default:return 0}})},un={name:"text-decoration-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},pn={name:"text-decoration-line",initialValue:"none",prefix:!1,type:1,parse:(e,t)=>t.filter(ee).map(e=>{switch(e.value){case"underline":return 1;case"overline":return 2;case"line-through":return 3;case"none":return 4}return 0}).filter(e=>0!==e)},fn={name:"content",initialValue:"none",type:1,prefix:!1,parse:(e,t)=>{if(0===t.length)return[];const n=t[0];return n&&20===n.type&&"none"===n.value?[]:t}},mn={name:"quotes",initialValue:"none",prefix:!0,type:1,parse:(e,t)=>{if(0===t.length)return null;const n=t[0];if(n&&20===n.type&&"none"===n.value)return null;const o=[],r=t.filter(te);if(r.length%2!=0)return null;for(let e=0;e<r.length;e+=2){const t=y(r,e).value,n=y(r,e+1).value;o.push({open:t,close:n})}return o}},gn=(e,t,n)=>{if(!e)return"";const o=e[Math.min(t,e.length-1)];return o?n?o.open:o.close:""},bn=(e,t)=>{const n=[],o=e.filter(oe);for(let e=0;e<o.length;e++){const r=o[e],i=o[e+1];if(r&&20===r.type){const e=i&&J(i)?i.number:t;n.push([r.value,e])}}return n},yn={name:"counter-increment",initialValue:"none",prefix:!0,type:1,parse:(e,t)=>{if(0===t.length)return null;const n=t[0];return n&&20===n.type&&"none"===n.value?null:bn(t,1).map(([e,t])=>({counter:e,increment:t}))}},xn={name:"counter-reset",initialValue:"none",prefix:!0,type:1,parse:(e,t)=>0===t.length?[]:bn(t,0).filter(([e])=>"none"!==e).map(([e,t])=>({counter:e,reset:t}))},wn={name:"background-clip",initialValue:"border-box",prefix:!1,type:1,parse:(e,t)=>t.map(e=>{if(ee(e))switch(e.value){case"padding-box":return 1;case"content-box":return 2;case"text":return 3}return 0})},vn=(e,t)=>{const n=xt.parse(e,y(t,0)),o=t[1];return o&&ge(o)?{color:n,stop:o}:{color:n,stop:null}},kn=(e,t)=>{const n=e.map(e=>({color:e.color,stop:e.stop})),o=y(n,0),r=y(n,n.length-1);null===o.stop&&(o.stop=ve),null===r.stop&&(r.stop=Ce);const i=[];let s=0;for(let e=0;e<n.length;e++){const o=y(n,e).stop;if(null!==o){const e=Ee(o,t);e>s?i.push(e):i.push(s),s=e}else i.push(null)}let a=null;for(let e=0;e<i.length;e++){const t=y(i,e);if(null===t)null===a&&(a=e);else if(null!==a){const n=e-a,o=(t-i[a-1])/(n+1);for(let e=1;e<=n;e++)i[a+e-1]=o*e;a=null}}return n.map(({color:e},n)=>({color:e,stop:Math.max(Math.min(1,i[n]/t),0)}))},Cn=(e,t,n)=>{const o="number"==typeof e?e:((e,t,n)=>{const o=t/2,r=n/2,i=Ee(e[0],t)-o,s=r-Ee(e[1],n);return(Math.atan2(s,i)+2*Math.PI)%(2*Math.PI)})(e,t,n),r=Math.abs(t*Math.sin(o))+Math.abs(n*Math.cos(o)),i=t/2,s=n/2,a=r/2,l=Math.sin(o-Math.PI/2)*a,c=Math.cos(o-Math.PI/2)*a;return[r,i-c,i+c,s-l,s+l]},Sn=(e,t)=>Math.sqrt(e*e+t*t),En=(e,t,n,o,r)=>[[0,0],[0,t],[e,0],[e,t]].reduce((e,t)=>{const[i,s]=t,a=Sn(n-i,o-s);return(r?a<e.optimumDistance:a>e.optimumDistance)?{optimumCorner:t,optimumDistance:a}:e},{optimumDistance:r?1/0:-1/0,optimumCorner:null}).optimumCorner,Mn=(e,t,n,o,r)=>{let i=0,s=0;switch(e.size){case 0:0===e.shape?i=s=Math.min(Math.abs(t),Math.abs(t-o),Math.abs(n),Math.abs(n-r)):1===e.shape&&(i=Math.min(Math.abs(t),Math.abs(t-o)),s=Math.min(Math.abs(n),Math.abs(n-r)));break;case 2:if(0===e.shape)i=s=Math.min(Sn(t,n),Sn(t,n-r),Sn(t-o,n),Sn(t-o,n-r));else if(1===e.shape){const e=Math.min(Math.abs(n),Math.abs(n-r))/Math.min(Math.abs(t),Math.abs(t-o)),[a,l]=En(o,r,t,n,!0);i=Sn(a-t,(l-n)/e),s=e*i}break;case 1:0===e.shape?i=s=Math.max(Math.abs(t),Math.abs(t-o),Math.abs(n),Math.abs(n-r)):1===e.shape&&(i=Math.max(Math.abs(t),Math.abs(t-o)),s=Math.max(Math.abs(n),Math.abs(n-r)));break;case 3:if(0===e.shape)i=s=Math.max(Sn(t,n),Sn(t,n-r),Sn(t-o,n),Sn(t-o,n-r));else if(1===e.shape){const e=Math.max(Math.abs(n),Math.abs(n-r))/Math.max(Math.abs(t),Math.abs(t-o)),[a,l]=En(o,r,t,n,!1);i=Sn(a-t,(l-n)/e),s=e*i}}if(Array.isArray(e.size)){const t=e.size;i=Ee(y(t,0),o),s=2===t.length?Ee(y(t,1),r):i}return[i,s]},Dn=(e,t)=>{let n=Fe(180);const o=[];return ie(t).forEach((t,r)=>{if(0===r){const e=t[0];if(e&&20===e.type&&"to"===e.value)return void(n=Re(t));if(e&&Be(e))return void(n=Te(0,e))}const i=vn(e,t);o.push(i)}),{angle:n,stops:o,type:1}},Tn=(e,t)=>{let n=Fe(180);const o=[];return ie(t).forEach((t,r)=>{if(0===r){const e=t[0];if(e&&20===e.type&&-1!==["top","left","right","bottom"].indexOf(e.value))return void(n=Re(t));if(e&&Be(e))return void(n=(Te(0,e)+Fe(270))%Fe(360))}const i=vn(e,t);o.push(i)}),{angle:n,stops:o,type:1}},Bn="closest-side",Rn="farthest-side",Fn="closest-corner",Ln="farthest-corner",In="circle",Pn="ellipse",An="cover",On="contain",Nn=(e,t)=>{let n=1,o=3;const r=[],i=[];return ie(t).forEach((t,s)=>{let a=!0;if(0===s){let e=!1;a=t.reduce((t,r)=>{if(e)if(ee(r))switch(r.value){case"center":return i.push(ke),t;case"top":case"left":return i.push(ve),t;case"right":case"bottom":return i.push(Ce),t}else(ge(r)||me(r))&&i.push(r);else if(ee(r))switch(r.value){case In:return n=0,!1;case Pn:return n=1,!1;case"at":return e=!0,!1;case Bn:return o=0,!1;case An:case Rn:return o=1,!1;case On:case Fn:return o=2,!1;case Ln:return o=3,!1}else if(me(r)||ge(r))return Array.isArray(o)||(o=[]),o.push(r),!1;return t},a)}if(a){const n=vn(e,t);r.push(n)}}),{size:o,shape:n,stops:r,position:i,type:2}},zn=(e,t)=>{let n=1,o=3;const r=[],i=[];return ie(t).forEach((t,s)=>{let a=!0;if(0===s?a=t.reduce((e,t)=>{if(ee(t))switch(t.value){case"center":return i.push(ke),!1;case"top":case"left":return i.push(ve),!1;case"right":case"bottom":return i.push(Ce),!1}else if(ge(t)||me(t))return i.push(t),!1;return e},a):1===s&&(a=t.reduce((e,t)=>{if(ee(t))switch(t.value){case In:return n=0,!1;case Pn:return n=1,!1;case On:case Bn:return o=0,!1;case Rn:return o=1,!1;case Fn:return o=2,!1;case An:case Ln:return o=3,!1}else if(me(t)||ge(t))return Array.isArray(o)||(o=[]),o.push(t),!1;return e},a)),a){const n=vn(e,t);r.push(n)}}),{size:o,shape:n,stops:r,position:i,type:2}},$n=(e,t)=>({...Dn(e,t),type:3}),Un=(e,t)=>({...Nn(e,t),type:4}),_n=(e,t)=>{let n=0;const o=[],r=[];return ie(t).forEach((t,i)=>{let s=!0;if(0===i){let e=!1,r=!1;s=t.reduce((t,i)=>{if(ee(i))switch(i.value){case"from":return e=!0,r=!1,!1;case"at":return e=!1,r=!0,!1;case"center":return o.push(ke),t;case"top":case"left":return o.push(ve),t;case"right":case"bottom":return o.push(Ce),t}return e?(n=Te(0,i),!1):r&&ge(i)?(o.push(i),t):t},!0)}s&&t.length>0&&r.push(vn(e,t))}),{type:5,angle:n,position:o,stops:r}},jn=(e,t)=>({..._n(e,t),type:6}),Gn=e=>e?!Z(e)||"dppx"!==e.unit&&"x"!==e.unit?J(e)?e.number:1:e.number:1,Wn=(e,t)=>{const n=ie(t),o=e.config.window.devicePixelRatio||1,r=[];for(const e of n){const t=e.find(e=>22===e.type||18===e.type);if(!t)continue;const n=e.find(e=>Z(e)||J(e));r.push({imageToken:t,resolution:Gn(n)})}if(0===r.length)throw new Error("image-set() requires at least one image candidate");const i=r.filter(e=>e.resolution>=o).sort((e,t)=>e.resolution-t.resolution),s=y(i.length>0?i:r.slice().sort((e,t)=>t.resolution-e.resolution),0);return Qn.parse(e,s.imageToken)},Vn=e=>1===e.type,qn=e=>2===e.type,Hn=e=>3===e.type,Yn=e=>4===e.type,Xn=e=>5===e.type,Kn=e=>6===e.type,Qn={name:"image",parse:(e,t)=>{if(22===t.type){const n={url:t.value,type:0};return e.cache.addImage(t.value),n}if(18===t.type){const n=Jn[t.name];if(void 0===n)throw new Error(`Attempting to parse an unsupported image function "${t.name}"`);return n(e,t.values)}throw new Error(`Unsupported image type ${t.type}`)}};function Zn(e){return!(20===e.type&&"none"===e.value||18===e.type&&!Jn[e.name])}const Jn={"linear-gradient":Dn,"-moz-linear-gradient":Tn,"-ms-linear-gradient":Tn,"-o-linear-gradient":Tn,"-webkit-linear-gradient":Tn,"radial-gradient":Nn,"-moz-radial-gradient":zn,"-ms-radial-gradient":zn,"-o-radial-gradient":zn,"-webkit-radial-gradient":zn,"-webkit-gradient":(e,t)=>{const n=Fe(180),o=[];let r=1;return ie(t).forEach((t,n)=>{const i=t[0];if(i){if(0===n){if(ee(i)&&"linear"===i.value)return void(r=1);if(ee(i)&&"radial"===i.value)return void(r=2)}if(18===i.type)if("from"===i.name){const t=xt.parse(e,y(i.values,0));o.push({stop:ve,color:t})}else if("to"===i.name){const t=xt.parse(e,y(i.values,0));o.push({stop:Ce,color:t})}else if("color-stop"===i.name){const t=i.values.filter(re);if(2===t.length){const n=xt.parse(e,y(t,1)),r=y(t,0);J(r)&&o.push({stop:{type:16,number:100*r.number,flags:r.flags},color:n})}}}}),1===r?{angle:(n+Fe(180))%Fe(360),stops:o,type:r}:{size:3,shape:0,stops:o,position:[],type:r}},"repeating-linear-gradient":$n,"-webkit-repeating-linear-gradient":$n,"-moz-repeating-linear-gradient":$n,"-ms-repeating-linear-gradient":$n,"-o-repeating-linear-gradient":$n,"repeating-radial-gradient":Un,"-webkit-repeating-radial-gradient":Un,"-moz-repeating-radial-gradient":Un,"conic-gradient":_n,"-webkit-conic-gradient":_n,"-moz-conic-gradient":_n,"repeating-conic-gradient":jn,"-webkit-repeating-conic-gradient":jn,"-moz-repeating-conic-gradient":jn,"image-set":Wn,"-webkit-image-set":Wn},eo={name:"background-image",initialValue:"none",type:1,prefix:!1,skipCache:!0,parse:(e,t)=>{if(0===t.length)return[];const n=t[0];return n&&20===n.type&&"none"===n.value?[]:t.filter(e=>re(e)&&Zn(e)).map(t=>Qn.parse(e,t))}},to={name:"background-origin",initialValue:"border-box",prefix:!1,type:1,parse:(e,t)=>t.map(e=>{if(ee(e))switch(e.value){case"padding-box":return 1;case"content-box":return 2}return 0})},no={name:"background-position",initialValue:"0% 0%",type:1,prefix:!1,parse:(e,t)=>ie(t).map(e=>e.map(ye).filter(e=>null!==e)).map(we)},oo={name:"background-repeat",initialValue:"repeat",prefix:!1,type:1,parse:(e,t)=>ie(t).map(e=>e.filter(ee).map(e=>e.value).join(" ")).map(ro)},ro=e=>{switch(e){case"no-repeat":return 1;case"repeat-x":case"repeat no-repeat":return 2;case"repeat-y":case"no-repeat repeat":return 3;default:return 0}},io={name:"background-size",initialValue:"0",prefix:!1,type:1,parse:(e,t)=>ie(t).map(e=>e.map(e=>so(e)?e:ye(e)).filter(e=>null!==e))},so=e=>ee(e)||ge(e),ao=e=>({name:`border-${e}-color`,initialValue:"transparent",prefix:!1,type:3,format:"color"}),lo=ao("top"),co=ao("right"),ho=ao("bottom"),uo=ao("left"),po=e=>({name:`border-${e}-radius`,initialValue:"0 0",prefix:!1,type:1,parse:(e,t)=>we(t.filter(ge))}),fo=po("top-left"),mo=po("top-right"),go=po("bottom-right"),bo=po("bottom-left"),yo=e=>({name:`border-${e}-style`,initialValue:"solid",prefix:!1,type:2,parse:(e,t)=>{switch(t){case"none":return 0;case"dashed":return 2;case"dotted":return 3;case"double":return 4}return 1}}),xo=yo("top"),wo=yo("right"),vo=yo("bottom"),ko=yo("left"),Co=e=>({name:`border-${e}-width`,initialValue:"0",type:0,prefix:!1,parse:(e,t)=>Z(t)?t.number:0}),So=Co("top"),Eo=Co("right"),Mo=Co("bottom"),Do=Co("left"),To={type:0},Bo=e=>{const[t]=e;return t?ee(t)?"farthest-side"===t.value?"farthest-side":"closest-side":ge(t)?t:"closest-side":"closest-side"},Ro=e=>{let t=null,n=null;for(const o of e)if(ee(o))switch(o.value){case"left":t=ve;break;case"right":t=Ce;break;case"top":n=ve;break;case"bottom":n=Ce;break;case"center":null===t?t=ke:null===n&&(n=ke)}else ge(o)&&(null===t?t=o:null===n&&(n=o));return{cx:t??ke,cy:n??ke}},Fo={name:"clip-path",initialValue:"none",prefix:!1,type:0,parse:(e,t)=>{if(ee(t)&&"none"===t.value)return To;if(18===t.type)switch(t.name){case"inset":return(e=>{const t=[];for(const n of e)if(31!==n.type){if(ee(n)&&"round"===n.value)break;ge(n)&&t.push(n)}const n=t[0]??ve,o=t[1]??n;return{type:1,top:n,right:o,bottom:t[2]??n,left:t[3]??o}})(t.values);case"circle":return(e=>{const t=e.filter(oe),n=t.findIndex(e=>ne(e,"at")),o=-1===n?t:t.slice(0,n),r=-1===n?[]:t.slice(n+1);return{type:2,radius:Bo(o),...Ro(r)}})(t.values);case"ellipse":return(e=>{const t=e.filter(oe),n=t.findIndex(e=>ne(e,"at")),o=-1===n?t:t.slice(0,n),r=-1===n?[]:t.slice(n+1);return{type:3,rx:Bo(o.slice(0,1)),ry:Bo(o.slice(1,2)),...Ro(r)}})(t.values);case"polygon":return(e=>{const t=ie(e),n=[];for(const e of t){if(1===e.length&&e[0]&&ee(e[0]))continue;const t=e.filter(ge);t.length>=2&&n.push([y(t,0),y(t,1)])}return{type:4,points:n}})(t.values);case"path":return(e=>{const t=e.find(e=>0===e.type);return t?{type:5,d:t.value}:To})(t.values);case"xywh":return(e=>{const t=[];for(const n of e)if(31!==n.type){if(ee(n)&&"round"===n.value)break;ge(n)&&t.push(n)}return t.length<4?To:{type:6,x:y(t,0),y:y(t,1),width:y(t,2),height:y(t,3)}})(t.values);case"rect":return(e=>{const t=[];for(const n of e)if(31!==n.type){if(ee(n)){if("round"===n.value)break;if("auto"===n.value){t.push("auto");continue}return To}ge(n)&&t.push(n)}if(4!==t.length)return To;const n=(e,t)=>"auto"!==e?e:"top"===t||"left"===t?ve:Ce;return{type:1,top:n(y(t,0),"top"),right:n(y(t,1),"right"),bottom:n(y(t,2),"bottom"),left:n(y(t,3),"left")}})(t.values)}return To}},Lo=(e,t)=>ee(e)&&"normal"===e.value?1.2*t:17===e.type?t*e.number:ge(e)?Ee(e,t):t,Io={name:"list-style-image",initialValue:"none",type:0,prefix:!1,skipCache:!0,parse:(e,t)=>20===t.type&&"none"===t.value?null:Zn(t)?Qn.parse(e,t):null},Po=e=>({name:`margin-${e}`,initialValue:"0",prefix:!1,type:4}),Ao=Po("top"),Oo=Po("right"),No=Po("bottom"),zo=Po("left"),$o=e=>({name:`padding-${e}`,initialValue:"0",prefix:!1,type:3,format:"length-percentage"}),Uo=$o("top"),_o=$o("right"),jo=$o("bottom"),Go=$o("left"),Wo={name:"text-shadow",initialValue:"none",type:1,prefix:!1,parse:(e,t)=>1===t.length&&ne(y(t,0),"none")?[]:ie(t).map(t=>{const n={color:0,offsetX:ve,offsetY:ve,blur:ve};let o=0;for(let r=0;r<t.length;r++){const i=t[r];i&&(me(i)?(0===o?n.offsetX=i:1===o?n.offsetY=i:n.blur=i,o++):n.color=xt.parse(e,i))}return n})},Vo={name:"transform",initialValue:"none",prefix:!0,type:0,parse:(e,t)=>{if(20===t.type&&"none"===t.value)return null;if(18===t.type){const n=qo[t.name];if(void 0===n)throw new Error(`Attempting to parse an unsupported transform function "${t.name}"`);return n(e,t.values)}return null}},qo={matrix:(e,t)=>{const n=t.filter(e=>17===e.type).map(e=>e.number);return 6===n.length?n:null},matrix3d:(e,t)=>{const n=t.filter(e=>17===e.type).map(e=>e.number);return 16!==n.length?null:[y(n,0),y(n,1),y(n,4),y(n,5),y(n,12),y(n,13)]},rotate:(e,t)=>{if(1!==t.length)return null;const n=y(t,0);let o=0;if(17===n.type&&0===n.number)o=0;else{if(15!==n.type)return null;o=Te(0,n)}const r=Math.cos(o),i=Math.sin(o);return[r,i,-i,r,0,0]}},Ho={type:16,number:50,flags:4},Yo=[Ho,Ho],Xo={name:"transform-origin",initialValue:"50% 50%",prefix:!0,type:1,parse:(e,t)=>{const n=t.filter(ge);return 2!==n.length?Yo:[y(n,0),y(n,1)]}},Ko={name:"rotate",initialValue:"none",prefix:!1,type:0,parse:(e,t)=>20===t.type&&"none"===t.value?null:17===t.type&&0===t.number?0:15===t.type?180*Te(0,t)/Math.PI:null},Qo=e=>0!==e,Zo=e=>3===e||4===e,Jo={name:"z-index",initialValue:"auto",prefix:!1,type:0,parse:(e,t)=>{if(20===t.type)return{auto:!0,order:0};if(J(t))return{auto:!1,order:t.number};throw new Error("Invalid z-index number parsed")}},er=(e,t)=>{if(15===t.type)switch(t.unit.toLowerCase()){case"s":return 1e3*t.number;case"ms":return t.number}throw new Error("Unsupported time type")},tr={name:"opacity",initialValue:"1",type:0,prefix:!1,parse:(e,t)=>J(t)?t.number:1},nr={name:"text-decoration-thickness",initialValue:"auto",prefix:!1,type:0,parse:(e,t)=>{if(ee(t))switch(t.value){case"auto":return"auto";case"from-font":return"from-font"}return Z(t)?t.number:"auto"}},or={name:"text-underline-offset",initialValue:"auto",prefix:!1,type:0,parse:(e,t)=>ee(t)&&"auto"===t.value?"auto":Z(t)?t.number:"auto"},rr={name:"font-weight",initialValue:"normal",type:0,prefix:!1,parse:(e,t)=>J(t)?t.number:ee(t)&&"bold"===t.value?700:400},ir={name:"font-variant",initialValue:"none",type:1,prefix:!1,parse:(e,t)=>t.filter(ee).map(e=>e.value)},sr={name:"duration",initialValue:"0s",prefix:!1,type:1,parse:(e,t)=>t.filter(Z).map(e=>er(0,e))},ar={name:"box-shadow",initialValue:"none",type:1,prefix:!1,parse:(e,t)=>1===t.length&&ne(y(t,0),"none")?[]:ie(t).map(t=>{const n={color:255,offsetX:ve,offsetY:ve,blur:ve,spread:ve,inset:!1};let o=0;for(let r=0;r<t.length;r++){const i=t[r];i&&(ne(i,"inset")?n.inset=!0:me(i)?(0===o?n.offsetX=i:1===o?n.offsetY=i:2===o?n.blur=i:n.spread=i,o++):n.color=xt.parse(e,i))}return n})},lr={name:"paint-order",initialValue:"normal",prefix:!1,type:1,parse:(e,t)=>{const n=[];return t.filter(ee).forEach(e=>{switch(e.value){case"stroke":n.push(1);break;case"fill":n.push(0);break;case"markers":n.push(2)}}),[0,1,2].forEach(e=>{-1===n.indexOf(e)&&n.push(e)}),n}},cr={name:"-webkit-text-stroke-width",initialValue:"0",type:0,prefix:!1,parse:(e,t)=>Z(t)?t.number:0},dr={name:"-webkit-line-clamp",initialValue:"none",prefix:!0,type:0,parse:(e,t)=>20===t.type&&"none"===t.value?0:17===t.type?Math.max(0,Math.floor(t.number)):0},hr={name:"object-fit",initialValue:"fill",prefix:!1,type:1,parse:(e,t)=>t.filter(ee).reduce((e,t)=>e|ur(t.value),0)},ur=e=>{switch(e){case"contain":return 2;case"cover":return 4;case"none":return 8;case"scale-down":return 16}return 0},pr={NORMAL:"normal",MULTIPLY:"multiply",SCREEN:"screen",OVERLAY:"overlay",DARKEN:"darken",LIGHTEN:"lighten",COLOR_DODGE:"color-dodge",COLOR_BURN:"color-burn",HARD_LIGHT:"hard-light",SOFT_LIGHT:"soft-light",DIFFERENCE:"difference",EXCLUSION:"exclusion",HUE:"hue",SATURATION:"saturation",COLOR:"color",LUMINOSITY:"luminosity"},fr=new Set(Object.values(pr)),mr={name:"mix-blend-mode",initialValue:"normal",type:2,prefix:!1,parse:(e,t)=>fr.has(t)?t:pr.NORMAL},gr={name:"filter",initialValue:"none",prefix:!1,type:1,parse:(e,t)=>{if(1===t.length){const e=y(t,0);if(20===e.type&&"none"===e.value)return null}const n=[];for(const e of t)if(22!==e.type){if(18===e.type){const t=e,o=br(t.values);switch(t.name){case"blur":n.push(`blur(${o})`);break;case"brightness":case"contrast":case"invert":case"opacity":case"saturate":case"sepia":default:n.push(`${t.name}(${o})`);break;case"grayscale":n.push(`grayscale(${o})`);break;case"hue-rotate":n.push(`hue-rotate(${o})`);break;case"drop-shadow":n.push(`drop-shadow(${o})`)}}}else n.push(`url("${e.value}")`);return n.length>0?n.join(" "):null}},br=e=>{const t=[];for(const n of e)31!==n.type?18===n.type?t.push(`${n.name}(${br(n.values)})`):4===n.type?t.push(","):6===n.type?t.push(n.value):15===n.type?t.push(`${n.number}${n.unit}`):17===n.type?t.push(`${n.number}`):16===n.type?t.push(`${n.number}%`):20===n.type?t.push(n.value):5===n.type&&t.push(`#${n.value}`):t.push(" ");return t.join("").trim()},yr={name:"zoom",initialValue:"1",type:0,prefix:!1,parse:(e,t)=>16===t.type?Math.max(0,t.number/100):17===t.type?Math.max(0,t.number):1},xr={name:"object-position",initialValue:"50% 50%",prefix:!1,type:1,parse:(e,t)=>{const n=[];let o=0;for(;o<t.length&&n.length<2;){const e=t[o];if(!e)break;if(ee(e))switch(e.value){case"left":case"top":n.push(ve);break;case"center":n.push(ke);break;case"right":case"bottom":n.push(Ce)}else ge(e)&&n.push(e);o++}for(;n.length<2;)n.push(ke);return[y(n,0),y(n,1)]}},wr=new Set(Object.values({NORMAL:"normal",MULTIPLY:"multiply",SCREEN:"screen",OVERLAY:"overlay",DARKEN:"darken",LIGHTEN:"lighten",COLOR_DODGE:"color-dodge",COLOR_BURN:"color-burn",HARD_LIGHT:"hard-light",SOFT_LIGHT:"soft-light",DIFFERENCE:"difference",EXCLUSION:"exclusion",HUE:"hue",SATURATION:"saturation",COLOR:"color",LUMINOSITY:"luminosity"})),vr={name:"background-blend-mode",initialValue:"normal",prefix:!1,type:1,parse:(e,t)=>{const n=[],o=t.filter(re);for(const e of o)ee(e)&&wr.has(e.value)&&n.push(e.value);return n.length>0?n:["normal"]}},kr={name:"border-image-source",initialValue:"none",prefix:!1,type:1,skipCache:!0,parse:(e,t)=>{if(0===t.length)return null;const n=t.filter(e=>re(e)&&Zn(e));return 0===n.length?null:Qn.parse(e,y(n,0))}},Cr={name:"border-image-slice",initialValue:"100%",prefix:!1,type:1,parse:(e,t)=>{const n=t.filter(oe),o=[];let r=!1,i="percent";for(const e of n)ee(e)&&"fill"===e.value?r=!0:17===e.type?(o.push(e.number),i="number"):16===e.type&&(o.push(e.number),i="percent");const[s,a,l,c]=(e=>{const t=[...e];if(1===t.length){const e=y(t,0);t.push(e,e,e)}else 2===t.length?t.push(y(t,0),y(t,1)):3===t.length&&t.push(y(t,1));return[y(t,0),y(t,1),y(t,2),y(t,3)]})(o.length>0?o:[100]);return{top:s,right:a,bottom:l,left:c,fill:r,unit:i}}},Sr=e=>{switch(e){case"repeat":return 1;case"round":return 2;case"space":return 3;default:return 0}},Er={name:"border-image-repeat",initialValue:"stretch",prefix:!1,type:1,parse:(e,t)=>{const n=t.filter(oe),o=[];for(const e of n)ee(e)&&o.push(Sr(e.value));const r=o[0]??0;return{horizontal:r,vertical:o[1]??r}}},Mr={name:"accent-color",initialValue:"auto",prefix:!1,type:0,parse:(e,t)=>ee(t)&&"auto"===t.value?null:xt.parse(e,t)},Dr={name:"-webkit-text-fill-color",initialValue:"currentcolor",prefix:!0,type:0,parse:(e,t)=>ee(t)&&"currentcolor"===t.value?null:xt.parse(e,t)},Tr=new Set(["transform","translate","rotate","scale","opacity","filter","backdrop-filter","mix-blend-mode","isolation","clip-path","mask","mask-image","mask-border","perspective","contain","offset-path","offset-distance","offset-rotate","top","left","bottom","right","z-index"]),Br={name:"will-change",initialValue:"auto",prefix:!1,type:1,parse:(e,t)=>t.some(e=>ee(e)&&Tr.has(e.value))?1:0},Rr={name:"outline-color",initialValue:"currentcolor",prefix:!1,type:0,parse:(e,t)=>!ee(t)||"currentcolor"!==t.value&&"invert"!==t.value?xt.parse(e,t):null},Fr={name:"outline-width",initialValue:"medium",prefix:!1,type:0,parse:So.parse},Lr={name:"backdrop-filter",initialValue:"none",prefix:!1,type:1,parse:(e,t)=>gr.parse(e,t)},Ir=["dot","circle","double-circle","triangle","sesame"],Pr=e=>ee(e)&&"auto"===e.value?{kind:"auto"}:17===e.type?{kind:"number",value:e.number}:15===e.type&&"px"===e.unit?{kind:"length",value:e.number}:16===e.type?{kind:"percentage",value:e.number}:null,Ar=e=>{const t=[];for(const n of e){if(31===n.type)continue;const e=Pr(n);if(!e)return null;t.push(e)}return 0===t.length||t.length>4?null:(e=>{const t=[...e];if(1===t.length){const e=y(t,0);t.push(e,e,e)}else 2===t.length?t.push(y(t,0),y(t,1)):3===t.length&&t.push(y(t,1));return[y(t,0),y(t,1),y(t,2),y(t,3)]})(t)},Or=[["animationDuration",sr,"animationDuration"],["backgroundClip",wn,"backgroundClip"],["backgroundColor",{name:"background-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},"backgroundColor"],["backgroundImage",eo,"backgroundImage"],["backgroundOrigin",to,"backgroundOrigin"],["backgroundPosition",no,"backgroundPosition"],["backgroundRepeat",oo,"backgroundRepeat"],["backgroundSize",io,"backgroundSize"],["borderTopColor",lo,"borderTopColor"],["borderRightColor",co,"borderRightColor"],["borderBottomColor",ho,"borderBottomColor"],["borderLeftColor",uo,"borderLeftColor"],["borderTopLeftRadius",fo,"borderTopLeftRadius"],["borderTopRightRadius",mo,"borderTopRightRadius"],["borderBottomRightRadius",go,"borderBottomRightRadius"],["borderBottomLeftRadius",bo,"borderBottomLeftRadius"],["borderTopStyle",xo,"borderTopStyle"],["borderRightStyle",wo,"borderRightStyle"],["borderBottomStyle",vo,"borderBottomStyle"],["borderLeftStyle",ko,"borderLeftStyle"],["borderTopWidth",So,"borderTopWidth"],["borderRightWidth",Eo,"borderRightWidth"],["borderBottomWidth",Mo,"borderBottomWidth"],["borderLeftWidth",Do,"borderLeftWidth"],["boxShadow",ar,"boxShadow"],["clipPath",Fo,"clipPath"],["color",{name:"color",initialValue:"transparent",prefix:!1,type:3,format:"color"},"color"],["direction",{name:"direction",initialValue:"ltr",prefix:!1,type:2,parse:(e,t)=>"rtl"===t?1:0},"direction"],["display",ln,"display"],["fontFamily",{name:"font-family",initialValue:"",prefix:!1,type:1,parse:(e,t)=>{const n=[],o=[],r=[];let i=!1;return t.forEach(e=>{switch(e.type){case 20:n.push(e.value);break;case 0:i=!0,n.push(e.value);break;case 17:n.push(e.number.toString());break;case 4:o.push(n.join(" ")),r.push(i),i=!1,n.length=0}}),n.length&&(o.push(n.join(" ")),r.push(i)),o.map((e,t)=>r[t]||-1!==e.indexOf(" ")?`'${e.replace(/\\/g,"\\\\").replace(/'/g,"\\'").replace(/\n/g,"\\a ").replace(/\r/g,"\\d ").replace(/\f/g,"\\c ")}'`:e)}},"fontFamily"],["fontSize",{name:"font-size",initialValue:"0",prefix:!1,type:3,format:"length"},"fontSize"],["fontStyle",{name:"font-style",initialValue:"normal",prefix:!1,type:2,parse:(e,t)=>{switch(t){case"oblique":return"oblique";case"italic":return"italic";default:return"normal"}}},"fontStyle"],["fontVariant",ir,"fontVariant"],["fontWeight",rr,"fontWeight"],["letterSpacing",{name:"letter-spacing",initialValue:"0",prefix:!1,type:0,parse:(e,t)=>20===t.type&&"normal"===t.value?0:17===t.type||15===t.type?t.number:0},"letterSpacing"],["lineBreak",{name:"line-break",initialValue:"normal",prefix:!1,type:2,parse:(e,t)=>"strict"===t?"strict":"normal"},"lineBreak"],["lineHeight",{name:"line-height",initialValue:"normal",prefix:!1,type:4},"lineHeight"],["listStyleImage",Io,"listStyleImage"],["listStylePosition",{name:"list-style-position",initialValue:"outside",prefix:!1,type:2,parse:(e,t)=>"inside"===t?0:1},"listStylePosition"],["listStyleType",Wt,"listStyleType"],["marginTop",Ao,"marginTop"],["marginRight",Oo,"marginRight"],["marginBottom",No,"marginBottom"],["marginLeft",zo,"marginLeft"],["opacity",tr,"opacity"],["overflowWrap",{name:"overflow-wrap",initialValue:"normal",prefix:!1,type:2,parse:(e,t)=>"break-word"===t?"break-word":"normal"},"overflowWrap"],["paddingTop",Uo,"paddingTop"],["paddingRight",_o,"paddingRight"],["paddingBottom",jo,"paddingBottom"],["paddingLeft",Go,"paddingLeft"],["paintOrder",lr,"paintOrder"],["position",{name:"position",initialValue:"static",prefix:!1,type:2,parse:(e,t)=>{switch(t){case"relative":return 1;case"absolute":return 2;case"fixed":return 3;case"sticky":return 4}return 0}},"position"],["textAlign",{name:"text-align",initialValue:"left",prefix:!1,type:2,parse:(e,t)=>{switch(t){case"right":return 2;case"center":case"justify":return 1;default:return 0}}},"textAlign"],["textDecorationStyle",{name:"text-decoration-style",initialValue:"solid",prefix:!1,type:2,parse:(e,t)=>{switch(t){case"double":return 1;case"dotted":return 2;case"dashed":return 3;case"wavy":return 4;default:return 0}}},"textDecorationStyle"],["textDecorationThickness",nr,"textDecorationThickness"],["textUnderlineOffset",or,"textUnderlineOffset"],["textShadow",Wo,"textShadow"],["textTransform",{name:"text-transform",initialValue:"none",prefix:!1,type:2,parse:(e,t)=>{switch(t){case"uppercase":return 2;case"lowercase":return 1;case"capitalize":return 3}return 0}},"textTransform"],["textOverflow",{name:"text-overflow",initialValue:"clip",prefix:!1,type:2,parse:(e,t)=>"ellipsis"===t?1:0},"textOverflow"],["transform",Vo,"transform"],["transformOrigin",Xo,"transformOrigin"],["rotate",Ko,"rotate"],["translate",{name:"translate",initialValue:"none",prefix:!1,type:1,parse:(e,t)=>{const n=[];for(const e of t)ge(e)&&n.push(e);return 0===n.length?null:[y(n,0),n.length>1?y(n,1):ve]}},"translate"],["scale",{name:"scale",initialValue:"none",prefix:!1,type:1,parse:(e,t)=>{const n=[];for(const e of t)J(e)&&n.push(e.number);return 0===n.length?null:[y(n,0),n.length>1?y(n,1):y(n,0)]}},"scale"],["visibility",{name:"visibility",initialValue:"none",prefix:!1,type:2,parse:(e,t)=>{switch(t){case"hidden":return 1;case"collapse":return 2;default:return 0}}},"visibility"],["webkitTextStrokeColor",{name:"-webkit-text-stroke-color",initialValue:"currentcolor",prefix:!1,type:3,format:"color"},"webkitTextStrokeColor"],["webkitTextStrokeWidth",cr,"webkitTextStrokeWidth"],["webkitLineClamp",dr,"webkitLineClamp"],["wordBreak",{name:"word-break",initialValue:"normal",prefix:!1,type:2,parse:(e,t)=>{switch(t){case"break-all":return"break-all";case"keep-all":return"keep-all";default:return"normal"}}},"wordBreak"],["whiteSpace",{name:"white-space",initialValue:"normal",prefix:!1,type:2,parse:(e,t)=>{switch(t){case"pre":return"pre";case"nowrap":return"nowrap";case"pre-wrap":return"pre-wrap";case"pre-line":return"pre-line";default:return"normal"}}},"whiteSpace"],["writingMode",{name:"writing-mode",initialValue:"horizontal-tb",prefix:!1,type:2,parse:(e,t)=>{switch(t){case"vertical-rl":return 1;case"vertical-lr":return 2;case"sideways-rl":return 3;case"sideways-lr":return 4;default:return 0}}},"writingMode"],["zIndex",Jo,"zIndex"],["objectFit",hr,"objectFit"],["imageRendering",{name:"image-rendering",initialValue:"auto",prefix:!1,type:2,parse:(e,t)=>{switch(t.toLowerCase()){case"crisp-edges":case"-webkit-crisp-edges":case"-moz-crisp-edges":return 1;case"pixelated":case"-webkit-optimize-contrast":return 2;case"smooth":case"high-quality":return 3;default:return 0}}},"imageRendering"],["mixBlendMode",mr,"mixBlendMode"],["filter",gr,"filter"],["fontVariantLigatures",{name:"font-variant-ligatures",initialValue:"normal",prefix:!1,type:2,parse:(e,t)=>{switch(t){case"none":return 1;case"common-ligatures":return 2;case"no-common-ligatures":return 3;case"discretionary-ligatures":return 4;case"no-discretionary-ligatures":return 5;case"historical-ligatures":return 6;case"no-historical-ligatures":return 7;case"contextual":return 8;case"no-contextual":return 9;default:return 0}}},"fontVariantLigatures"],["zoom",yr,"zoom"],["objectPosition",xr,"objectPosition"],["backgroundBlendMode",vr,"backgroundBlendMode"],["borderImageSource",kr,"borderImageSource"],["borderImageSlice",Cr,"borderImageSlice"],["borderImageRepeat",Er,"borderImageRepeat"],["boxDecorationBreak",{name:"box-decoration-break",initialValue:"slice",prefix:!1,type:2,parse:(e,t)=>"clone"===t?1:0},"boxDecorationBreak"],["accentColor",Mr,"accentColor"],["webkitTextFillColor",Dr,"webkitTextFillColor"],["isolation",{name:"isolation",initialValue:"auto",prefix:!1,type:2,parse:(e,t)=>"isolate"===t?1:0},"isolation"],["willChange",Br,"will-change"],["contain",{name:"contain",initialValue:"none",prefix:!1,type:2,parse:(e,t)=>/\b(paint|strict|content)\b/.test(t)?1:0},"contain"],["outlineColor",Rr,"outlineColor"],["outlineStyle",{name:"outline-style",initialValue:"none",prefix:!1,type:2,parse:(e,t)=>{switch(t){case"solid":return 2;case"dashed":return 3;case"dotted":return 4;case"double":return 5;case"auto":return 1;default:return 0}}},"outlineStyle"],["outlineWidth",Fr,"outlineWidth"],["outlineOffset",{name:"outline-offset",initialValue:"0px",prefix:!1,type:0,parse:(e,t)=>Z(t)||J(t)?t.number:0},"outlineOffset"],["backdropFilter",Lr,"backdropFilter"],["maskImage",{name:"mask-image",initialValue:"none",prefix:!1,type:1,skipCache:!0,parse:eo.parse},"maskImage"],["maskPosition",{name:"mask-position",initialValue:"0%",prefix:!1,type:1,parse:no.parse},"maskPosition"],["maskRepeat",{name:"mask-repeat",initialValue:"repeat",prefix:!1,type:1,parse:oo.parse},"maskRepeat"],["maskSize",{name:"mask-size",initialValue:"auto",prefix:!1,type:1,parse:io.parse},"maskSize"],["textEmphasisStyle",{name:"text-emphasis-style",initialValue:"none",prefix:!1,type:1,parse:(e,t)=>{const n=t.filter(oe);if(0===n.length)return null;const o=y(n,0);if(0===o.type)return o.value;if(ee(o)){if("none"===o.value)return null;if("filled"!==o.value&&"open"!==o.value&&-1===Ir.indexOf(o.value))return o.value}let r=!0,i="circle";for(const e of n)ee(e)&&("filled"===e.value?r=!0:"open"===e.value?r=!1:-1!==Ir.indexOf(e.value)&&(i=e.value));return{fill:r,shape:i}}},"textEmphasisStyle"],["textEmphasisColor",{name:"text-emphasis-color",initialValue:"currentcolor",prefix:!1,type:0,parse:(e,t)=>ee(t)&&"currentcolor"===t.value?null:xt.parse(e,t)},"textEmphasisColor"],["textEmphasisPosition",{name:"text-emphasis-position",initialValue:"over right",prefix:!1,type:1,parse:(e,t)=>{let n=!0,o=!0;for(const e of t)if(ee(e))switch(e.value){case"over":n=!0;break;case"under":n=!1;break;case"right":o=!0;break;case"left":o=!1}return{over:n,right:o}}},"textEmphasisPosition"],["borderImageWidth",{name:"border-image-width",initialValue:"auto",prefix:!1,type:1,parse:(e,t)=>{const n=Ar(t),o={kind:"auto"};return n?{top:n[0],right:n[1],bottom:n[2],left:n[3]}:{top:o,right:o,bottom:o,left:o}}},"borderImageWidth"],["borderImageOutset",{name:"border-image-outset",initialValue:"0px",prefix:!1,type:1,parse:(e,t)=>{const n=Ar(t),o={kind:"length",value:0};return n?{top:n[0],right:n[1],bottom:n[2],left:n[3]}:{top:o,right:o,bottom:o,left:o}}},"borderImageOutset"],["webkitBoxReflect",{name:"-webkit-box-reflect",initialValue:"none",prefix:!0,type:1,skipCache:!0,parse:(e,t)=>{let n=null,o=0,r=null;for(const i of t)if(31!==i.type){if(null===n&&ee(i)){if("below"===i.value||"above"===i.value||"left"===i.value||"right"===i.value){n=i.value;continue}if("none"===i.value)return null}0===o&&Z(i)&&"px"===i.unit?o=i.number:null===r&&Zn(i)&&(r=Qn.parse(e,i))}return null===n?null:{direction:n,offset:o,mask:r}}},"webkitBoxReflect"]],Nr=new Map,zr=(e,t,n)=>{let o=null!=n?n.toString():t.initialValue;""===o.trim()&&(o=t.initialValue);let r=Nr.get(t);if(r){const e=r.get(o);if(void 0!==e)return r.delete(o),r.set(o,e),e}const i=K.get();i.write(o);const s=new Q(i.read());K.release(i);const a=(()=>{switch(t.type){case 2:{const n=s.parseComponentValue();return t.parse(e,ee(n)?n.value:t.initialValue)}case 0:return t.parse(e,s.parseComponentValue());case 1:return t.parse(e,s.parseComponentValues());case 4:return s.parseComponentValue();case 3:switch(t.format){case"angle":return Te(0,s.parseComponentValue());case"color":return xt.parse(e,s.parseComponentValue());case"image":return Qn.parse(e,s.parseComponentValue());case"length":{const e=s.parseComponentValue();return me(e)?e:ve}case"length-percentage":{const e=s.parseComponentValue();return ge(e)?e:ve}case"time":return er(0,s.parseComponentValue())}}})();if(r||(r=new Map,Nr.set(t,r)),!(t.skipCache||3===t.type&&"image"===t.format)){if(r.size>=200){const e=r.keys().next().value;void 0!==e&&r.delete(e)}r.set(o,a)}return a};var $r=class{styles;constructor(e){this.styles=e}get topColor(){return this.styles.borderTopColor}get rightColor(){return this.styles.borderRightColor}get bottomColor(){return this.styles.borderBottomColor}get leftColor(){return this.styles.borderLeftColor}get topStyle(){return this.styles.borderTopStyle}get rightStyle(){return this.styles.borderRightStyle}get bottomStyle(){return this.styles.borderBottomStyle}get leftStyle(){return this.styles.borderLeftStyle}get topWidth(){return this.styles.borderTopWidth}get rightWidth(){return this.styles.borderRightWidth}get bottomWidth(){return this.styles.borderBottomWidth}get leftWidth(){return this.styles.borderLeftWidth}get topLeftRadius(){return this.styles.borderTopLeftRadius}get topRightRadius(){return this.styles.borderTopRightRadius}get bottomRightRadius(){return this.styles.borderBottomRightRadius}get bottomLeftRadius(){return this.styles.borderBottomLeftRadius}get imageSource(){return this.styles.borderImageSource}get imageSlice(){return this.styles.borderImageSlice}get imageRepeat(){return this.styles.borderImageRepeat}get boxShadow(){return this.styles.boxShadow}},Ur=class{styles;constructor(e){this.styles=e}get color(){return this.styles.backgroundColor}get image(){return this.styles.backgroundImage}get clip(){return this.styles.backgroundClip}get origin(){return this.styles.backgroundOrigin}get position(){return this.styles.backgroundPosition}get repeat(){return this.styles.backgroundRepeat}get size(){return this.styles.backgroundSize}get blendMode(){return this.styles.backgroundBlendMode}},_r=class{styles;constructor(e){this.styles=e}get family(){return this.styles.fontFamily}get size(){return this.styles.fontSize}get style(){return this.styles.fontStyle}get variant(){return this.styles.fontVariant}get weight(){return this.styles.fontWeight}get ligatures(){return this.styles.fontVariantLigatures}get color(){return this.styles.color}get letterSpacing(){return this.styles.letterSpacing}get lineHeight(){return this.styles.lineHeight}get textAlign(){return this.styles.textAlign}get textTransform(){return this.styles.textTransform}get textOverflow(){return this.styles.textOverflow}get textShadow(){return this.styles.textShadow}get textDecorationColor(){return this.styles.textDecorationColor}get textDecorationLine(){return this.styles.textDecorationLine}get textDecorationStyle(){return this.styles.textDecorationStyle}get textDecorationThickness(){return this.styles.textDecorationThickness}get textUnderlineOffset(){return this.styles.textUnderlineOffset}get wordBreak(){return this.styles.wordBreak}get lineBreak(){return this.styles.lineBreak}get overflowWrap(){return this.styles.overflowWrap}get writingMode(){return this.styles.writingMode}get direction(){return this.styles.direction}get webkitTextStrokeColor(){return this.styles.webkitTextStrokeColor}get webkitTextStrokeWidth(){return this.styles.webkitTextStrokeWidth}get webkitLineClamp(){return this.styles.webkitLineClamp}get paintOrder(){return this.styles.paintOrder}},jr=class{styles;constructor(e){this.styles=e}get display(){return this.styles.display}get position(){return this.styles.position}get float(){return this.styles.float}get zIndex(){return this.styles.zIndex}get marginTop(){return this.styles.marginTop}get marginRight(){return this.styles.marginRight}get marginBottom(){return this.styles.marginBottom}get marginLeft(){return this.styles.marginLeft}get paddingTop(){return this.styles.paddingTop}get paddingRight(){return this.styles.paddingRight}get paddingBottom(){return this.styles.paddingBottom}get paddingLeft(){return this.styles.paddingLeft}get overflowX(){return this.styles.overflowX}get overflowY(){return this.styles.overflowY}get opacity(){return this.styles.opacity}get visibility(){return this.styles.visibility}get transform(){return this.styles.transform}get transformOrigin(){return this.styles.transformOrigin}get rotate(){return this.styles.rotate}get zoom(){return this.styles.zoom}get clipPath(){return this.styles.clipPath}get mixBlendMode(){return this.styles.mixBlendMode}get filter(){return this.styles.filter}get imageRendering(){return this.styles.imageRendering}get objectFit(){return this.styles.objectFit}get objectPosition(){return this.styles.objectPosition}get boxDecorationBreak(){return this.styles.boxDecorationBreak}get listStyleImage(){return this.styles.listStyleImage}get listStylePosition(){return this.styles.listStylePosition}get listStyleType(){return this.styles.listStyleType}get animationDuration(){return this.styles.animationDuration}isVisible(){return this.styles.isVisible()}isTransparent(){return this.styles.isTransparent()}isTransformed(){return this.styles.isTransformed()}isPositioned(){return this.styles.isPositioned()}isPositionedWithZIndex(){return this.styles.isPositionedWithZIndex()}isFloating(){return this.styles.isFloating()}isInlineLevel(){return this.styles.isInlineLevel()}},Gr=class{animationDuration;backgroundClip;backgroundColor;backgroundImage;backgroundOrigin;backgroundPosition;backgroundRepeat;backgroundSize;borderTopColor;borderRightColor;borderBottomColor;borderLeftColor;borderTopLeftRadius;borderTopRightRadius;borderBottomRightRadius;borderBottomLeftRadius;borderTopStyle;borderRightStyle;borderBottomStyle;borderLeftStyle;borderTopWidth;borderRightWidth;borderBottomWidth;borderLeftWidth;boxShadow;clipPath;color;direction;display;float;fontFamily;fontSize;fontStyle;fontVariant;fontWeight;letterSpacing;lineBreak;lineHeight;listStyleImage;listStylePosition;listStyleType;marginTop;marginRight;marginBottom;marginLeft;opacity;overflowX;overflowY;overflowWrap;paddingTop;paddingRight;paddingBottom;paddingLeft;paintOrder;position;textAlign;textDecorationColor;textDecorationLine;textDecorationStyle;textDecorationThickness;textUnderlineOffset;textShadow;textTransform;textOverflow;transform;transformOrigin;rotate;translate;scale;visibility;webkitTextStrokeColor;webkitTextStrokeWidth;webkitLineClamp;wordBreak;whiteSpace;writingMode;zIndex;objectFit;imageRendering;mixBlendMode;filter;fontVariantLigatures;zoom;objectPosition;backgroundBlendMode;borderImageSource;borderImageSlice;borderImageRepeat;boxDecorationBreak;accentColor;webkitTextFillColor;isolation;willChange;contain;outlineColor;outlineStyle;outlineWidth;outlineOffset;backdropFilter;maskImage;maskPosition;maskRepeat;maskSize;textEmphasisStyle;textEmphasisColor;textEmphasisPosition;borderImageWidth;borderImageOutset;webkitBoxReflect;_border;_background;_font;_layout;get border(){return this._border??(this._border=new $r(this))}get background(){return this._background??(this._background=new Ur(this))}get font(){return this._font??(this._font=new _r(this))}get layout(){return this._layout??(this._layout=new jr(this))}constructor(e,t){if("none"!==t.display){for(const[n,o,r]of Or)this[n]=zr(e,o,t[r]);Object.assign(this,Wr(e,t))}else{this.display=0;for(const[t,n]of Or)"display"!==t&&(this[t]=zr(e,n,void 0));Object.assign(this,Wr(e,null))}}isVisible(){return this.display>0&&this.opacity>0&&0===this.visibility}isTransparent(){return Le(this.backgroundColor)}isTransformed(){return null!==this.transform||null!==this.rotate||null!==this.translate||null!==this.scale}isPositioned(){return 0!==this.position}isPositionedWithZIndex(){return this.isPositioned()&&!this.zIndex.auto}isFloating(){return 0!==this.float}isInlineLevel(){return Vt(this.display,4)||Vt(this.display,33554432)||Vt(this.display,268435456)||Vt(this.display,536870912)||Vt(this.display,67108864)||Vt(this.display,134217728)}};const Wr=(e,t)=>{const n=(e,n)=>{if(t)return t[e]??n},o=zr(e,hn,n("overflow"));return{float:zr(e,dn,n("cssFloat")),textDecorationColor:zr(e,un,n("textDecorationColor",n("color"))),textDecorationLine:zr(e,pn,n("textDecorationLine",n("textDecoration"))),overflowX:o[0],overflowY:o[o.length>1?1:0]}};var Vr=class{content;quotes;constructor(e,t){this.content=zr(e,fn,t.content),this.quotes=zr(e,mn,t.quotes)}},qr=class{counterIncrement;counterReset;constructor(e,t){this.counterIncrement=zr(e,yn,t.counterIncrement),this.counterReset=zr(e,xn,t.counterReset)}};const Hr=(e,t)=>{const n=(e=>{if("function"!=typeof e.getAttribute)return 0;switch(e.getAttribute("data-html2canvas-debug")){case"all":return 1;case"clone":return 2;case"parse":return 3;case"render":return 4;default:return 0}})(e);return 1===n||t===n},Yr=(e,t,n)=>{const o=(e=>{let t="";for(const n of e)try{const e=n.cssRules;for(let n=0;n<e.length;n++){const o=e[n];o&&"string"==typeof o.cssText&&(t+=o.cssText)}}catch(e){}return t})(t);if(!o)return null;const r=e.createElement("style");return r.textContent=o,n&&(r.nonce=n),r};var Xr=class{cloneNodeFn;options;context;constructor(e,t,n){this.cloneNodeFn=e,this.options=t,this.context=n}appendChildNode(e,t,n){this.safeAppendClonedChild(e,t,n)}cloneChildNodes(e,t,n){e.shadowRoot&&t.shadowRoot?(this.cloneShadowDOMChildren(e.shadowRoot,t.shadowRoot,n),this.cloneLightDOMChildren(e,t,n)):e.shadowRoot&&!t.shadowRoot?this.cloneShadowDOMAsLightDOM(e.shadowRoot,t,n):this.cloneLightDOMChildren(e,t,n)}shouldCloneChild(e){return!(Tt(e)&&(t=e,"SCRIPT"===t.tagName||e.hasAttribute("data-html2canvas-ignore")||"function"==typeof this.options.ignoreElements&&this.options.ignoreElements(e)));var t}shouldCloneStyleElement(e){return!this.options.copyStyles||!Tt(e)||!zt(e)}safeAppendClonedChild(e,t,n){this.shouldCloneChild(t)&&this.shouldCloneStyleElement(t)&&e.appendChild(this.cloneNodeFn(t,n))}cloneAssignedNodes(e,t,n){e.forEach(e=>{this.safeAppendClonedChild(t,e,n)})}cloneSlotFallbackContent(e,t,n){for(let o=e.firstChild;o;o=o.nextSibling)this.safeAppendClonedChild(t,o,n)}cloneSlotElement(e,t,n){if(!_t(e))return;const o=e;if("function"!=typeof o.assignedNodes)return this.context.logger.warn("HTMLSlotElement.assignedNodes is not available",e),void this.cloneSlotFallbackContent(e,t,n);const r=o.assignedNodes();if(!r||!Array.isArray(r))return this.context.logger.warn("assignedNodes() did not return a valid array",e),void this.cloneSlotFallbackContent(e,t,n);r.length>0?this.cloneAssignedNodes(r,t,n):this.cloneSlotFallbackContent(e,t,n)}cloneShadowDOMChildren(e,t,n){for(let o=e.firstChild;o;o=o.nextSibling)Tt(o)&&_t(o)?this.cloneSlotElement(o,t,n):this.safeAppendClonedChild(t,o,n);this.appendAdoptedStyleSheets(e,t,n)}cloneLightDOMChildren(e,t,n){for(let o=e.firstChild;o;o=o.nextSibling)this.appendChildNode(t,o,n)}cloneSlotElementAsLightDOM(e,t,n){if(!_t(e))return;const o=e;if("function"!=typeof o.assignedNodes){for(let o=e.firstChild;o;o=o.nextSibling)this.appendChildNode(t,o,n);return}const r=o.assignedNodes();if(r&&Array.isArray(r)&&r.length>0)r.forEach(e=>this.appendChildNode(t,e,n));else for(let o=e.firstChild;o;o=o.nextSibling)this.appendChildNode(t,o,n)}cloneShadowDOMAsLightDOM(e,t,n){for(let o=e.firstChild;o;o=o.nextSibling)Tt(o)&&_t(o)?this.cloneSlotElementAsLightDOM(o,t,n):this.appendChildNode(t,o,n);this.appendAdoptedStyleSheets(e,t,n)}appendAdoptedStyleSheets(e,t,n){if(n)return;const o=e.adoptedStyleSheets;if(!o||0===o.length)return;const r="host"in t?t.host.ownerDocument:t.ownerDocument;if(!r)return;const i=Yr(r,o,this.options.cspNonce);i&&t.appendChild(i)}};const Kr=["all","d","content"],Qr=(e,t)=>{const n=[];for(let t=e.length-1;t>=0;t--){const o=e.item(t);if(-1===Kr.indexOf(o)&&!o.startsWith("--")){const t=e.getPropertyValue(o);if(t){const r=e.getPropertyPriority(o);n.push(r?`${o}:${t} !${r}`:`${o}:${t}`)}}}return n.length>0&&(t.style.cssText=n.join(";")+";"),t},Zr=["color","fill","fill-opacity","fill-rule","stroke","stroke-width","stroke-opacity","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-dasharray","stroke-dashoffset","paint-order","vector-effect","marker-start","marker-mid","marker-end","stop-color","stop-opacity","flood-color","flood-opacity","lighting-color","color-interpolation","color-interpolation-filters","shape-rendering","text-rendering","image-rendering","display","visibility","opacity","overflow-x","overflow-y","clip-path","clip-rule","mask-image","mask-mode","mask-repeat","mask-position","mask-clip","mask-origin","mask-size","mask-composite","mask-type","filter","mix-blend-mode","isolation","transform","transform-origin","transform-box","translate","rotate","scale","x","y","cx","cy","r","rx","ry","width","height","font-family","font-size","font-size-adjust","font-style","font-weight","font-stretch","font-variant-caps","font-variant-ligatures","font-variant-numeric","font-variant-east-asian","font-variant-position","font-variant-alternates","font-kerning","font-feature-settings","font-variation-settings","font-optical-sizing","letter-spacing","word-spacing","text-anchor","dominant-baseline","alignment-baseline","baseline-shift","text-decoration-line","text-decoration-color","text-decoration-style","text-decoration-thickness","text-transform","white-space","writing-mode","text-orientation","direction","unicode-bidi"],Jr="___html2canvas___pseudoelement_before",ei="___html2canvas___pseudoelement_after",ti='{\n content: "" !important;\n display: none !important;\n}';var ni=class{context;counters;quoteDepth=0;constructor(e,t){this.context=e,this.counters=t}resolvePseudoContent(e,t,n,o){if(!n)return;const r=n.content,i=t.ownerDocument;if(!i||!r||"none"===r||"-moz-alt-content"===r||"none"===n.display)return;this.counters.parse(new qr(this.context,n));const s=new Vr(this.context,n),a=i.createElement("html2canvaspseudoelement");Qr(n,a),s.content.forEach(t=>{if(0===t.type)a.appendChild(i.createTextNode(t.value));else if(22===t.type){const e=i.createElement("img");e.src=t.value,e.style.opacity="1",a.appendChild(e)}else if(18===t.type){if("attr"===t.name){const n=t.values.filter(ee);n.length&&n[0]&&a.appendChild(i.createTextNode(e.getAttribute(n[0].value)||""))}else if("counter"===t.name){const[e,n]=t.values.filter(re);if(e&&ee(e)){const t=this.counters.getCounterValue(e.value),o=n&&ee(n)?Wt.parse(this.context,n.value):3;a.appendChild(i.createTextNode(an(t,o,!1)))}}else if("counters"===t.name){const[e,n,o]=t.values.filter(re);if(e&&ee(e)){const t=this.counters.getCounterValues(e.value),r=o&&ee(o)?Wt.parse(this.context,o.value):3,s=n&&0===n.type?n.value:"",l=t.map(e=>an(e,r,!1)).join(s);a.appendChild(i.createTextNode(l))}}}else if(20===t.type)switch(t.value){case"open-quote":a.appendChild(i.createTextNode(gn(s.quotes,this.quoteDepth++,!0)));break;case"close-quote":{const e=this.quoteDepth>0;this.quoteDepth=Math.max(0,this.quoteDepth-1),e&&a.appendChild(i.createTextNode(gn(s.quotes,this.quoteDepth,!1)));break}default:a.appendChild(i.createTextNode(t.value))}}),a.className=`${Jr} ${ei}`;const l=0===o?` ${Jr}`:` ${ei}`;return Rt(t)?t.className.baseValue+=l:t.className+=l,a}};const oi=e=>{if(e?.aborted)throw new DOMException("The operation was aborted.","AbortError")},ri=new WeakMap,ii=e=>new Promise(t=>{e.complete?t():e.src?(e.onload=t,e.onerror=t):t()}),si=(e,t=0)=>{if(!e||t>ai)return!0;let n;try{n=e.cssRules}catch(e){return!0}if(!n)return!0;for(let e=0;e<n.length;e++){const o=n[e];if(!o||!("styleSheet"in o))continue;const r=o.styleSheet;if(!r||!si(r,t+1))return!1}return!0},ai=32,li=(e,t)=>{const n=e.querySelectorAll("link");for(let e=0;e<n.length;e++){const o=n[e];o&&t.push(o)}const o=(e.ownerDocument??e).createTreeWalker(e,NodeFilter.SHOW_ELEMENT);let r=o.nextNode();for(;r;){const e=r.shadowRoot;e&&li(e,t),r=o.nextNode()}},ci=e=>e.replace(/[<>&"'`\\]|[\u0000-\u001f\u007f]/g,""),di=([e,t,n])=>{e.scrollLeft=t,e.scrollTop=n};var hi=class{context;options;scrolledElements;referenceElement;clonedReferenceElement;documentElement;counters;pseudoContents;slotCloner;constructor(e,t,n){if(this.context=e,this.options=n,this.scrolledElements=[],this.referenceElement=t,this.counters=new qt,this.pseudoContents=new ni(e,this.counters),this.slotCloner=new Xr((e,t)=>this.cloneNode(e,t),{ignoreElements:n.ignoreElements,copyStyles:n.copyStyles??!0,cspNonce:n.cspNonce},e),!t.ownerDocument)throw new Error("Cloned element does not have an owner document");if(!this.options.iframeContainer){const e=(e=>{let t=e;for(;t;){if(t.parentNode&&t.parentNode.host)return t.parentNode;const e=t.getRootNode();if(e&&e!==t.ownerDocument&&e.host)return e;t=t.parentNode}return null})(t);e&&(this.options.iframeContainer=e)}this.documentElement=this.cloneNode(t.ownerDocument.documentElement,!1),this.appendDocumentAdoptedStyles(t.ownerDocument),this.appendPseudoHideStyles()}appendDocumentAdoptedStyles(e){if(this.options.copyStyles)return;const t=e.adoptedStyleSheets;if(!t||0===t.length)return;const n=this.documentElement.getElementsByTagName("head").item(0);if(!n)return;const o=Yr(this.documentElement.ownerDocument??e,t,this.options.cspNonce);o&&n.appendChild(o)}appendPseudoHideStyles(){var e,t;e=this.documentElement.getElementsByTagName("head").item(0)??this.documentElement,t=this.options.cspNonce,((e,t,n)=>{const o=e.ownerDocument;if(o){const r=o.createElement("style");r.textContent=t,n&&(r.nonce=n),e.appendChild(r)}})(e,`.${Jr}:before${ti}\n .${ei}:after${ti}`,t)}toIFrame(e,t){return((e,t,n,o)=>{const r=((e,t,n)=>{const o=e.createElement("iframe");o.className="html2canvas-container",o.style.visibility="hidden",o.style.position="fixed",o.style.left="-10000px",o.style.top="0px",o.width=t.width.toString(),o.height=t.height.toString();const r=[["width",`${t.width}px`],["height",`${t.height}px`],["min-width","0px"],["max-width","none"],["min-height","0px"],["max-height","none"],["box-sizing","content-box"],["padding","0px"],["border","0"]];for(const[e,t]of r)o.style.setProperty(e,t,"important");return o.scrolling="no",o.setAttribute("data-html2canvas-ignore","true"),(n||e.body).appendChild(o),o})(t,n,o.container);if(!r.contentWindow)throw new Error("Unable to find iframe window");const i=t.defaultView.pageXOffset,s=t.defaultView.pageYOffset,a=r.contentWindow,l=a.document,c=((e,t,n)=>new Promise((o,r)=>{const i=e.contentWindow;if(!i)return r("No window assigned for iframe");const s=i.document;let a;const l=setTimeout(()=>{a&&clearInterval(a),r(new Error("Cloned iframe did not fire its load event within 60000ms"))},6e4),c=()=>{a&&clearInterval(a),clearTimeout(l),r(new DOMException("The operation was aborted.","AbortError"))};i.onload=e.onload=()=>{i.onload=e.onload=null;const r=Math.ceil(600);let d=0;a=setInterval(()=>{d++,n?.aborted?c():s.body.childNodes.length>0&&"complete"===s.readyState?(clearInterval(a),a=void 0,clearTimeout(l),o(e)):d>=r&&(clearInterval(a),a=void 0,t?.warn("Cloned iframe did not become ready within 30 seconds; continuing with a possibly incomplete document"),o(e))},50)},n&&(n.aborted?c():n.addEventListener("abort",c,{once:!0}))}))(r,e.logger,o.signal).then(async()=>{o.scrolledElements.forEach(di),a&&a.scrollTo(n.left,n.top);const t=o.onclone,i=o.clonedReferenceElement;if(void 0===i)throw new Error(`Error finding the ${o.referenceElementName} in the cloned document`);return oi(o.signal),await p,oi(o.signal),l.fonts&&l.fonts.ready&&await l.fonts.ready,oi(o.signal),/(AppleWebKit)/g.test(navigator.userAgent)&&(await(e=>Promise.all([].slice.call(e.images,0).map(ii)))(l),oi(o.signal)),"function"==typeof t&&await Promise.resolve().then(()=>t(l,i)),a.scrollTo(n.left,n.top),!/AppleWebKit/g.test(navigator.userAgent)||a.scrollY===n.top&&a.scrollX===n.left||(e.logger.warn("Unable to restore scroll position for cloned document"),e.adjustWindowBounds(a.scrollX-n.left,a.scrollY-n.top)),r}),d=t.baseURI;l.open();const h=(e=>{let t="";return e&&(t+="<!DOCTYPE ",e.name&&(t+=ci(e.name)),e.internalSubset&&(t+=" "+ci(e.internalSubset)),e.publicId?(t+=' PUBLIC "'+ci(e.publicId)+'"',e.systemId&&(t+=' "'+ci(e.systemId)+'"')):e.systemId&&(t+=' SYSTEM "'+ci(e.systemId)+'"'),t+=">"),t})(t.doctype)+"<html></html>";try{const e=(e=>{const t=e&&e.trustedTypes;if(!t)return null;if(ri.has(t))return ri.get(t)??null;let n=null;try{n=t.getPolicy?.("html2canvas-pro")??t.createPolicy("html2canvas-pro",{createHTML:e=>e})}catch(e){n=null}return ri.set(t,n),n})(t.defaultView),n=e?e.createHTML(h):h;l.write(n)}catch(e){l.write(h)}((e,t,n)=>{e&&e.defaultView&&(t!==e.defaultView.pageXOffset||n!==e.defaultView.pageYOffset)&&e.defaultView.scrollTo(t,n)})(t,i,s),l.close();const u=l.adoptNode(o.documentElement);((e,t)=>{const n=e.ownerDocument.createElement("base");n.href=t;const o=e.getElementsByTagName("head").item(0);o?.insertBefore(n,o?.firstChild??null)})(u,d),l.replaceChild(u,l.documentElement);const p=((e,t,n,o=1e4)=>{if(n?.aborted)return Promise.resolve();const r=[],i=[];li(e,i);for(const e of i){if(e.sheet)continue;const i=(e.getAttribute("rel")??"").trim().toLowerCase().split(/\s+/);i.includes("stylesheet")&&!i.includes("alternate")&&!e.disabled&&e.getAttribute("href")&&r.push(new Promise(r=>{const i=e.href,s=()=>{e.removeEventListener("load",s),e.removeEventListener("error",s),n?.removeEventListener("abort",a),clearInterval(c),r()},a=()=>s();if(e.sheet)return void r();e.addEventListener("load",s),e.addEventListener("error",s),n?.addEventListener("abort",a,{once:!0});let l=0;const c=setInterval(()=>{l+=50,e.sheet?s():l>=o&&(t?.warn(`Stylesheet ${i} did not finish loading within ${o/1e3}s; continuing with a possibly unstyled clone`),s())},50)}))}const s=e.getElementsByTagName("style");for(let e=0;e<s.length;e++){const i=s[e],a=i?.sheet;a&&i?.textContent?.includes("@import")&&(si(a)||r.push(new Promise(e=>{let r=0;const s=setInterval(()=>{if(n?.aborted)return clearInterval(s),void e();r+=50;const a=i.sheet;(a&&si(a)||r>=o)&&(r>=o&&!si(a??null)&&t?.warn(`@import chain in an inline <style> did not finish loading within ${o/1e3}s; continuing with a possibly unstyled clone`),clearInterval(s),e())},50)})))}return 0===r.length?Promise.resolve():Promise.all(r).then(()=>{})})(l,e.logger,o.signal);return c.catch(e=>{throw r.parentNode?.removeChild(r),e})})(this.context,e,t,{documentElement:this.documentElement,clonedReferenceElement:this.clonedReferenceElement,referenceElementName:this.referenceElement.nodeName,scrolledElements:this.scrolledElements,onclone:this.options.onclone,container:this.options.iframeContainer,signal:this.options.signal})}createElementClone(e){if(Hr(e,2),Pt(e))return this.createCanvasClone(e);if(At(e))return this.createVideoClone(e);if(zt(e))return this.createStyleClone(e);const t=e.cloneNode(!1);return Ot(t)&&(Ot(e)&&e.currentSrc&&e.currentSrc!==e.src&&(t.src=e.currentSrc,t.srcset=""),"lazy"===t.loading&&(t.loading="eager")),jt(t)&&!Rt(t)?this.createCustomElementClone(e,t):t}createCustomElementClone(e,t){const n=document.createElement("div");n.className=t.className,Qr(t.style,n);const o=t.attributes;for(let e=0;e<o.length;e++){const t=o.item(e);t&&"class"!==t.name&&"style"!==t.name&&n.setAttribute(t.name,t.value)}if(e.shadowRoot)try{n.attachShadow({mode:"open"})}catch(e){this.context.logger.error("Failed to attach shadow root to custom element clone:",e)}return n}createStyleClone(e){try{const t=e.sheet;if(t&&t.cssRules){const n=[].slice.call(t.cssRules,0).reduce((e,t)=>t&&"string"==typeof t.cssText?e+t.cssText:e,""),o=e.cloneNode(!1);return o.textContent=n,this.options.cspNonce&&(o.nonce=this.options.cspNonce),o}}catch(e){if(this.context.logger.error("Unable to access cssRules property",e),"SecurityError"!==e.name)throw e}const t=e.cloneNode(!1);return this.options.cspNonce&&(t.nonce=this.options.cspNonce),t}createCanvasClone(e){if(this.options.inlineImages&&e.ownerDocument){const t=e.ownerDocument.createElement("img");try{return t.src=e.toDataURL(),t}catch(t){this.context.logger.info("Unable to inline canvas contents, canvas is tainted",e)}}const t=e.cloneNode(!1);try{t.width=e.width,t.height=e.height;const n=e.getContext("2d"),o=t.getContext("2d",{willReadFrequently:!0});if(o)if(!this.options.allowTaint&&n)o.putImageData(n.getImageData(0,0,e.width,e.height),0,0);else{const t=e.getContext("webgl2")??e.getContext("webgl");t&&!1===t.getContextAttributes()?.preserveDrawingBuffer&&this.context.logger.warn("Unable to clone WebGL context as it has preserveDrawingBuffer=false",e),o.drawImage(e,0,0)}return t}catch(t){this.context.logger.info("Unable to clone canvas as it is tainted",e)}return t}createVideoClone(e){const t=e.ownerDocument.createElement("canvas");t.width=e.offsetWidth,t.height=e.offsetHeight;const n=t.getContext("2d");try{return n&&(n.drawImage(e,0,0,t.width,t.height),this.options.allowTaint||n.getImageData(0,0,t.width,t.height)),t}catch(t){this.context.logger.info("Unable to clone video as it is tainted",e)}const o=e.ownerDocument.createElement("canvas");return o.width=e.offsetWidth,o.height=e.offsetHeight,o}appendChildNode(e,t,n){this.slotCloner.appendChildNode(e,t,n)}cloneChildNodes(e,t,n){this.slotCloner.cloneChildNodes(e,t,n)}cloneNode(e,t){if(Bt(e))return(e.ownerDocument??document).createTextNode(e.data);if(!e.ownerDocument)return e.cloneNode(!1);const n=e.ownerDocument.defaultView;if(n&&Tt(e)&&(Ft(e)||Rt(e))){const r=this.createElementClone(e);r.style.transitionProperty="none";const i=n.getComputedStyle(e),s=!Rt(o=e)&&!Gt.has(o.tagName);this.referenceElement===e&&Ft(r)&&(this.clonedReferenceElement=r);const a=this.counters.parse(new qr(this.context,i));if(s){const t=n.getComputedStyle(e,":before"),o=this.pseudoContents.resolvePseudoContent(e,r,t,0);o&&r.insertBefore(o,r.firstChild)}if(jt(e)&&(t=!0),At(e)||this.cloneChildNodes(e,r,t),s){const t=n.getComputedStyle(e,":after"),o=this.pseudoContents.resolvePseudoContent(e,r,t,1);o&&r.appendChild(o)}return this.counters.pop(a),i&&this.options.copyStyles&&!Nt(e)||t?Qr(i,r):i&&Rt(e)&&Rt(r)&&((e,t)=>{const n=[];for(const t of Zr){const o=e.getPropertyValue(t);o&&n.push(`${t}:${o}`)}if(n.length>0){const e=t.style.cssText.trim(),o=""===e||e.endsWith(";")?"":";";t.style.cssText=`${e}${o}${n.join(";")};`}})(i,r),0===e.scrollTop&&0===e.scrollLeft||this.scrolledElements.push([r,e.scrollLeft,e.scrollTop]),($t(e)||Ut(e))&&($t(r)||Ut(r))&&(r.value=e.value),r}var o;return e.cloneNode(!1)}static destroy(e){return!!e.parentNode&&(e.parentNode.removeChild(e),!0)}},ui=class{static normalizeElement(e,t){const n={};if(!Ft(e)&&!Rt(e))return n;t.animationDuration.some(e=>e>0)&&(n.animationDuration=e.style.animationDuration,e.style.animationDuration="0s"),null!==t.transform&&(n.transform=e.style.transform,e.style.transform="translate(0, 0)");let o=!1;return null!==t.rotate&&(n.rotate=e.style.rotate,e.style.rotate="0deg",o=!0),null!==t.translate&&(n.translate=e.style.translate,e.style.translate="0px",o=!0),null!==t.scale&&(n.scale=e.style.scale,e.style.scale="1",o=!0),o&&void 0===n.transform&&(n.transform=e.style.transform,e.style.transform="translate(0, 0)"),n}static restoreElement(e,t){(Ft(e)||Rt(e))&&(void 0!==t.animationDuration&&(e.style.animationDuration=t.animationDuration),void 0!==t.transform&&(e.style.transform=t.transform),void 0!==t.rotate&&(e.style.rotate=t.rotate),void 0!==t.translate&&(e.style.translate=t.translate),void 0!==t.scale&&(e.style.scale=t.scale))}};const pi={x:"-10%",y:"-10%",width:"120%",height:"120%"},fi=["color-interpolation-filters","flood-color","flood-opacity","lighting-color"],mi=/^(["']?)(#[^"'\s()]+)\1$/,gi=/url\(\s*([^)]*?)\s*\)/g,bi=e=>{const t=mi.exec(e.trim());return t?t[2]:null};function yi(e,t,n){const o=e.getElementById(t.slice(1));if(!o||"http://www.w3.org/2000/svg"!==o.namespaceURI||"filter"!==o.localName)return null;if(!function(e){if("objectBoundingBox"===e.getAttribute("primitiveUnits")||xi(e))return!1;for(const t of Array.from(e.querySelectorAll("*"))){if("feImage"===t.localName||xi(t))return!1;for(const e of["x","y","width","height"])if(-1!==(t.getAttribute(e)??"").indexOf("%"))return!1}return!0}(o))return null;const r=function(e,t){const n="userSpaceOnUse"!==e.getAttribute("filterUnits"),o=(t,o)=>{const r=(e.getAttribute(t)??(n?pi[t]:"")).trim();if(""===r)return null;const i=r.endsWith("%"),s=Number(i?r.slice(0,-1):r.replace(/px$/,""));return Number.isFinite(s)?n?(i?s/100:s)*o:i?null:s:null},r=o("x",t.width),i=o("y",t.height),s=o("width",t.width),a=o("height",t.height);return null===r||null===i||null===s||null===a||s<=0||a<=0?null:{x:r,y:i,width:s,height:a}}(o,n);if(!r)return null;const i=o.cloneNode(!0);!function(e,t){const n=e.ownerDocument.defaultView;if(!n)return;const o=[e,...Array.from(e.querySelectorAll("*"))],r=[t,...Array.from(t.querySelectorAll("*"))];o.forEach((e,t)=>{const o=n.getComputedStyle(e);for(const e of fi){const n=o.getPropertyValue(e);n&&r[t]?.setAttribute(e,n)}})}(o,i),i.removeAttribute("id"),i.setAttribute("filterUnits","userSpaceOnUse"),Object.keys(r).forEach(e=>i.setAttribute(e,String(r[e])));const s=Math.max(0,-r.x,-r.y,r.x+r.width-n.width,r.y+r.height-n.height);return{element:i,region:r,outset:Math.ceil(s)}}const xi=e=>e.hasAttribute("href")||e.hasAttributeNS("http://www.w3.org/1999/xlink","href");var wi=class{context;styles;textNodes=[];elements=[];bounds;legendBounds;filterReferences;createsStackingContext=!1;createsRealStackingContext=!1;isListOwner=!1;debugRender=!1;originalStyles;originalElement;constructor(e,t,n={}){if(this.context=e,Hr(t,3),this.styles=new Gr(e,e.config.window.getComputedStyle(t,null)),!1!==n.normalizeDom&&(Ft(t)||Rt(t))&&(this.originalStyles=ui.normalizeElement(t,this.styles),this.originalElement=t),this.bounds=b(this.context,t),"FIELDSET"===t.tagName){const e=t.querySelector(":scope > legend");if(e){const t=b(this.context,e);this.legendBounds=t;const n=t.top+t.height/2-this.styles.borderTopWidth/2;this.bounds=new g(this.bounds.left,n,this.bounds.width,this.bounds.height-(n-this.bounds.top))}}this.filterReferences=function(e,t,n){if(!t||-1===t.indexOf("url("))return;const o=new Map,r=new Set;for(const i of t.matchAll(gi)){const t=bi(i[1]);if(!t||r.has(t))continue;r.add(t);const s=yi(e.ownerDocument,t,n);s&&o.set(t,s)}return o}(t,this.styles.filter,this.bounds),Hr(t,4)&&(this.debugRender=!0)}restore(){this.originalStyles&&this.originalElement&&(ui.restoreElement(this.originalElement,this.originalStyles),this.originalStyles=void 0,this.originalElement=void 0)}restoreTree(){this.restore();for(const e of this.elements)e.restoreTree()}};const vi={get SUPPORT_RANGE_BOUNDS(){const e=(e=>{if(e.createRange){const t=e.createRange();if(t.getBoundingClientRect){const n=e.createElement("boundtest");n.style.height="123px",n.style.display="block",e.body.appendChild(n),t.selectNode(n);const o=t.getBoundingClientRect(),r=Math.round(o.height);if(e.body.removeChild(n),123===r)return!0}}return!1})(document);return Object.defineProperty(vi,"SUPPORT_RANGE_BOUNDS",{value:e}),e},get SUPPORT_SVG_DRAWING(){const e=(e=>{const t=new Image,n=e.createElement("canvas"),o=n.getContext("2d");if(!o)return!1;t.src="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg'></svg>";try{o.drawImage(t,0,0),n.toDataURL()}catch(e){return!1}return!0})(document);return Object.defineProperty(vi,"SUPPORT_SVG_DRAWING",{value:e}),e},get SUPPORT_CORS_IMAGES(){const e=void 0!==(new Image).crossOrigin;return Object.defineProperty(vi,"SUPPORT_CORS_IMAGES",{value:e}),e}};var ki=class{text;bounds;constructor(e,t){this.text=e,this.bounds=t}};const Ci=(e,t,n)=>{const o=e.ownerDocument;if(!o)throw new Error("Node has no owner document");const r=o.createRange();return r.setStart(e,t),r.setEnd(e,t+n),r},Si=new Map,Ei=e=>{let t=Si.get(e);return t||(t=new Intl.Segmenter(void 0,{granularity:e}),Si.set(e,t)),t},Mi=e=>Array.from(Ei("grapheme").segment(e),e=>e.segment);var Di=class{text;textBounds;constructor(e,t,n){this.text=Ti(t.data,n.textTransform),this.text.length!==t.data.length&&(t.data=this.text),this.textBounds=((e,t,n,o)=>{const r=((e,t)=>Qo(t.writingMode)||0!==t.letterSpacing?Mi(e):(e=>Array.from(Ei("word").segment(e),e=>e.segment))(e))(t,n),i=[];let s=0;return r.forEach(t=>{if(n.textDecorationLine.length||t.trim().length>0)if(vi.SUPPORT_RANGE_BOUNDS){const n=Ci(o,s,t.length).getClientRects();if(n.length>1){const n=Mi(t);let r=0;n.forEach(t=>{i.push(new ki(t,g.fromDOMRectList(e,Ci(o,r+s,t.length).getClientRects()))),r+=t.length})}else i.push(new ki(t,g.fromDOMRectList(e,n)))}else{const n=o.splitText(t.length);i.push(new ki(t,((e,t)=>{const n=t.ownerDocument;if(n){const o=n.createElement("html2canvaswrapper");o.appendChild(t.cloneNode(!0));const r=t.parentNode;if(r){r.replaceChild(o,t);const n=b(e,o);return o.firstChild&&r.replaceChild(o.firstChild,o),n}}return g.EMPTY})(e,o))),o=n}else vi.SUPPORT_RANGE_BOUNDS||(o=o.splitText(t.length));s+=t.length}),i})(e,this.text,n,t)}};const Ti=(e,t)=>{switch(t){case 1:return e.toLowerCase();case 3:return e.replace(Bi,Ri);case 2:return e.toUpperCase();default:return e}},Bi=/(^|\s|:|-|\(|\))([a-z])/g,Ri=(e,t,n)=>e.length>0?t+n.toUpperCase():e;var Fi=class extends wi{src;intrinsicWidth;intrinsicHeight;constructor(e,t,n={}){super(e,t,n),this.src=t.currentSrc||t.src,this.intrinsicWidth=t.naturalWidth,this.intrinsicHeight=t.naturalHeight,this.context.cache.addImage(this.src)}},Li=class extends wi{canvas;intrinsicWidth;intrinsicHeight;constructor(e,t,n={}){super(e,t,n),this.canvas=t,this.intrinsicWidth=t.width,this.intrinsicHeight=t.height}};const Ii=["position","inset","top","right","bottom","left","inset-inline","inset-inline-start","inset-inline-end","inset-block","inset-block-start","inset-block-end","margin","margin-top","margin-right","margin-bottom","margin-left","margin-inline","margin-inline-start","margin-inline-end","margin-block","margin-block-start","margin-block-end"];var Pi=class extends wi{svg;intrinsicWidth;intrinsicHeight;constructor(e,t,n={}){super(e,t,n);const o=new XMLSerializer,r=b(e,t);t.setAttribute("width",`${r.width}px`),t.setAttribute("height",`${r.height}px`),this.svg=`data:image/svg+xml,${encodeURIComponent(((e,t)=>{const n=t.getAttribute("style");Ii.forEach(e=>t.style.removeProperty(e));const o=e.serializeToString(t);return null===n?t.removeAttribute("style"):t.setAttribute("style",n),o})(o,t))}`,this.intrinsicWidth=t.width.baseVal.value,this.intrinsicHeight=t.height.baseVal.value,this.context.cache.addImage(this.svg)}},Ai=class extends wi{value;constructor(e,t,n={}){super(e,t,n),this.value=t.value}},Oi=class extends wi{start;reversed;constructor(e,t,n={}){super(e,t,n),this.start=t.start,this.reversed="boolean"==typeof t.reversed&&!0===t.reversed}};const Ni=[{type:15,flags:0,unit:"px",number:3}],zi=[{type:16,flags:0,number:50}];var $i=class extends wi{type;checked;value;isPlaceholder;constructor(e,t,n={}){var o,r;switch(super(e,t,n),this.type=t.type.toLowerCase(),this.checked=t.checked,this.value=(e=>{const t="password"===e.type?new Array(e.value.length+1).join("•"):e.value;return 0===t.length?e.placeholder||"":t})(t),this.isPlaceholder=0===(o=t).value.length&&!!o.placeholder,"checkbox"!==this.type&&"radio"!==this.type||(this.styles.backgroundColor=3739148031,this.styles.borderTopColor=this.styles.borderRightColor=this.styles.borderBottomColor=this.styles.borderLeftColor=2779096575,this.styles.borderTopWidth=this.styles.borderRightWidth=this.styles.borderBottomWidth=this.styles.borderLeftWidth=1,this.styles.borderTopStyle=this.styles.borderRightStyle=this.styles.borderBottomStyle=this.styles.borderLeftStyle=1,this.styles.backgroundClip=[0],this.styles.backgroundOrigin=[0],this.bounds=(r=this.bounds).width>r.height?new g(r.left+(r.width-r.height)/2,r.top,r.height,r.height):r.width<r.height?new g(r.left,r.top+(r.height-r.width)/2,r.width,r.width):r),this.type){case"checkbox":this.styles.borderTopRightRadius=this.styles.borderTopLeftRadius=this.styles.borderBottomRightRadius=this.styles.borderBottomLeftRadius=Ni;break;case"radio":this.styles.borderTopRightRadius=this.styles.borderTopLeftRadius=this.styles.borderBottomRightRadius=this.styles.borderBottomLeftRadius=zi}}},Ui=class extends wi{value;constructor(e,t,n={}){super(e,t,n);const o=t.options[t.selectedIndex||0];this.value=o&&o.text||""}},_i=class extends wi{value;constructor(e,t,n={}){super(e,t,n),this.value=t.value}},ji=class extends wi{src;width;height;tree;backgroundColor;parseTreeFn;constructor(e,t,n,o={}){super(e,t,o),this.src=t.src,this.width=parseInt(t.width,10)||0,this.height=parseInt(t.height,10)||0,this.backgroundColor=this.styles.backgroundColor,this.parseTreeFn=n;try{const n=t.contentWindow,o=n?.document;if(n&&o&&o.documentElement&&this.parseTreeFn){this.tree=this.parseTreeFn(e,o.documentElement);const t=Mt(e,n.getComputedStyle(o.documentElement).backgroundColor),r=o.body?Mt(e,n.getComputedStyle(o.body).backgroundColor):0;this.backgroundColor=Le(t)?Le(r)?this.styles.backgroundColor:r:t}}catch(e){const t=e instanceof Error?e:new Error(String(e));this.context.logger.warn(`Unable to render iframe content${this.src?` from ${this.src}`:""}: ${t.message}`),this.context.onError?.(t)}}};const Gi=["OL","UL","MENU"],Wi=(e,t,n,o,r=1,i={})=>{for(let s,a=t.firstChild;a;a=s)s=a.nextSibling,Vi(e,a,n,o,r,i)},Vi=(e,t,n,o,r=1,i={})=>{if(Bt(t)&&t.data.length>0){const o=new Di(e,t,n.styles);if(1!==r){const e=n.bounds.left,t=n.bounds.top;o.textBounds=o.textBounds.map(n=>new ki(n.text,new g(e+(n.bounds.left-e)/r,t+(n.bounds.top-t)/r,n.bounds.width/r,n.bounds.height/r)))}n.textNodes.push(o)}else if(Tt(t))if(_t(t)&&t.assignedNodes)t.assignedNodes().forEach(t=>Vi(e,t,n,o,r,i));else{const s=qi(e,t,i),a=s.styles.zoom||1;if(1!==a&&(s.bounds=new g(s.bounds.left,s.bounds.top,s.bounds.width/a,s.bounds.height/a)),s.styles.isVisible()){Yi(t,s,o)?s.createsRealStackingContext=!0:Xi(s.styles)&&(s.createsStackingContext=!0),-1!==Gi.indexOf(t.tagName)&&(s.isListOwner=!0),n.elements.push(s);const a=r*(s.styles.zoom||1);t.shadowRoot?Wi(e,t.shadowRoot,s,o,a,i):$t(t)||Lt(t)||Ut(t)||Wi(e,t,s,o,a,i)}}},qi=(e,t,n={})=>Ot(t)?new Fi(e,t,n):Pt(t)?new Li(e,t,n):Lt(t)?new Pi(e,t,n):"LI"===t.tagName?new Ai(e,t,n):"OL"===t.tagName?new Oi(e,t,n):"INPUT"===t.tagName?new $i(e,t,n):Ut(t)?new Ui(e,t,n):$t(t)?new _i(e,t,n):Nt(t)?new ji(e,t,(e,t)=>Hi(e,t,n),n):new wi(e,t,n),Hi=(e,t,n={})=>{const o=qi(e,t,n);return o.createsRealStackingContext=!0,Wi(e,t,o,o,1,n),o},Yi=(e,t,n)=>t.styles.isPositionedWithZIndex()||t.styles.opacity<1||Boolean(t.styles.filter)||Boolean(t.styles.backdropFilter)||t.styles.maskImage.length>0||Boolean(t.styles.webkitBoxReflect)||1===t.styles.isolation||1===t.styles.willChange||1===t.styles.contain||t.styles.isTransformed()||It(e)&&n.styles.isTransparent(),Xi=e=>!(!e.isPositioned()&&!e.isFloating())||e.mixBlendMode!==pr.NORMAL||Vt(e.display,268435456)||Vt(e.display,33554432)||Vt(e.display,536870912)||Vt(e.display,134217728),Ki=(e,t)=>e.length===t.length&&e.some((e,n)=>e===t[n]),Qi=(e,t,n,o,r)=>e.map((e,i)=>{switch(i){case 0:return e.add(t,n);case 1:return e.add(t+o,n);case 2:return e.add(t+o,n+r);case 3:return e.add(t,n+r)}return e});var Zi=class e{type;x;y;constructor(e,t){this.type=0,this.x=e,this.y=t}add(t,n){return new e(this.x+t,this.y+n)}};const Ji=(e,t,n)=>new Zi(e.x+(t.x-e.x)*n,e.y+(t.y-e.y)*n);var es=class e{type;start;startControl;endControl;end;constructor(e,t,n,o){this.type=1,this.start=e,this.startControl=t,this.endControl=n,this.end=o}subdivide(t,n){const o=Ji(this.start,this.startControl,t),r=Ji(this.startControl,this.endControl,t),i=Ji(this.endControl,this.end,t),s=Ji(o,r,t),a=Ji(r,i,t),l=Ji(s,a,t);return n?new e(this.start,o,s,l):new e(l,a,i,this.end)}add(t,n){return new e(this.start.add(t,n),this.startControl.add(t,n),this.endControl.add(t,n),this.end.add(t,n))}reverse(){return new e(this.end,this.endControl,this.startControl,this.start)}};const ts=e=>1===e.type;var ns=class{topLeftBorderDoubleOuterBox;topRightBorderDoubleOuterBox;bottomRightBorderDoubleOuterBox;bottomLeftBorderDoubleOuterBox;topLeftBorderDoubleInnerBox;topRightBorderDoubleInnerBox;bottomRightBorderDoubleInnerBox;bottomLeftBorderDoubleInnerBox;topLeftBorderStroke;topRightBorderStroke;bottomRightBorderStroke;bottomLeftBorderStroke;topLeftBorderBox;topRightBorderBox;bottomRightBorderBox;bottomLeftBorderBox;topLeftPaddingBox;topRightPaddingBox;bottomRightPaddingBox;bottomLeftPaddingBox;topLeftContentBox;topRightContentBox;bottomRightContentBox;bottomLeftContentBox;constructor(e){const t=e.styles,n=e.bounds;let[o,r]=Se(t.borderTopLeftRadius,n.width,n.height),[i,s]=Se(t.borderTopRightRadius,n.width,n.height),[a,l]=Se(t.borderBottomRightRadius,n.width,n.height),[c,d]=Se(t.borderBottomLeftRadius,n.width,n.height);const h=[];h.push((o+i)/n.width),h.push((c+a)/n.width),h.push((r+d)/n.height),h.push((s+l)/n.height);const u=Math.max(...h);u>1&&(o/=u,r/=u,i/=u,s/=u,a/=u,l/=u,c/=u,d/=u);const p=n.width-i,f=n.height-l,m=n.width-a,g=n.height-d,b=t.borderTopWidth,y=t.borderRightWidth,x=t.borderBottomWidth,w=t.borderLeftWidth,v=Ee(t.paddingTop,e.bounds.width),k=Ee(t.paddingRight,e.bounds.width),C=Ee(t.paddingBottom,e.bounds.width),S=Ee(t.paddingLeft,e.bounds.width);this.topLeftBorderDoubleOuterBox=o>0||r>0?os(n.left+w/3,n.top+b/3,o-w/3,r-b/3,0):new Zi(n.left+w/3,n.top+b/3),this.topRightBorderDoubleOuterBox=i>0||s>0?os(n.left+p,n.top+b/3,i-y/3,s-b/3,1):new Zi(n.left+n.width-y/3,n.top+b/3),this.bottomRightBorderDoubleOuterBox=a>0||l>0?os(n.left+m,n.top+f,a-y/3,l-x/3,2):new Zi(n.left+n.width-y/3,n.top+n.height-x/3),this.bottomLeftBorderDoubleOuterBox=c>0||d>0?os(n.left+w/3,n.top+g,c-w/3,d-x/3,3):new Zi(n.left+w/3,n.top+n.height-x/3),this.topLeftBorderDoubleInnerBox=o>0||r>0?os(n.left+2*w/3,n.top+2*b/3,o-2*w/3,r-2*b/3,0):new Zi(n.left+2*w/3,n.top+2*b/3),this.topRightBorderDoubleInnerBox=i>0||s>0?os(n.left+p,n.top+2*b/3,i-2*y/3,s-2*b/3,1):new Zi(n.left+n.width-2*y/3,n.top+2*b/3),this.bottomRightBorderDoubleInnerBox=a>0||l>0?os(n.left+m,n.top+f,a-2*y/3,l-2*x/3,2):new Zi(n.left+n.width-2*y/3,n.top+n.height-2*x/3),this.bottomLeftBorderDoubleInnerBox=c>0||d>0?os(n.left+2*w/3,n.top+g,c-2*w/3,d-2*x/3,3):new Zi(n.left+2*w/3,n.top+n.height-2*x/3),this.topLeftBorderStroke=o>0||r>0?os(n.left+w/2,n.top+b/2,o-w/2,r-b/2,0):new Zi(n.left+w/2,n.top+b/2),this.topRightBorderStroke=i>0||s>0?os(n.left+p,n.top+b/2,i-y/2,s-b/2,1):new Zi(n.left+n.width-y/2,n.top+b/2),this.bottomRightBorderStroke=a>0||l>0?os(n.left+m,n.top+f,a-y/2,l-x/2,2):new Zi(n.left+n.width-y/2,n.top+n.height-x/2),this.bottomLeftBorderStroke=c>0||d>0?os(n.left+w/2,n.top+g,c-w/2,d-x/2,3):new Zi(n.left+w/2,n.top+n.height-x/2),this.topLeftBorderBox=o>0||r>0?os(n.left,n.top,o,r,0):new Zi(n.left,n.top),this.topRightBorderBox=i>0||s>0?os(n.left+p,n.top,i,s,1):new Zi(n.left+n.width,n.top),this.bottomRightBorderBox=a>0||l>0?os(n.left+m,n.top+f,a,l,2):new Zi(n.left+n.width,n.top+n.height),this.bottomLeftBorderBox=c>0||d>0?os(n.left,n.top+g,c,d,3):new Zi(n.left,n.top+n.height),this.topLeftPaddingBox=o>0||r>0?os(n.left+w,n.top+b,Math.max(0,o-w),Math.max(0,r-b),0):new Zi(n.left+w,n.top+b),this.topRightPaddingBox=i>0||s>0?os(n.left+Math.min(p,n.width-y),n.top+b,p>n.width+y?0:Math.max(0,i-y),Math.max(0,s-b),1):new Zi(n.left+n.width-y,n.top+b),this.bottomRightPaddingBox=a>0||l>0?os(n.left+Math.min(m,n.width-w),n.top+Math.min(f,n.height-x),Math.max(0,a-y),Math.max(0,l-x),2):new Zi(n.left+n.width-y,n.top+n.height-x),this.bottomLeftPaddingBox=c>0||d>0?os(n.left+w,n.top+Math.min(g,n.height-x),Math.max(0,c-w),Math.max(0,d-x),3):new Zi(n.left+w,n.top+n.height-x),this.topLeftContentBox=o>0||r>0?os(n.left+w+S,n.top+b+v,Math.max(0,o-(w+S)),Math.max(0,r-(b+v)),0):new Zi(n.left+w+S,n.top+b+v),this.topRightContentBox=i>0||s>0?os(n.left+Math.min(p,n.width+w+S),n.top+b+v,p>n.width+w+S?0:i-w+S,s-(b+v),1):new Zi(n.left+n.width-(y+k),n.top+b+v),this.bottomRightContentBox=a>0||l>0?os(n.left+Math.min(m,n.width-(w+S)),n.top+Math.min(f,n.height+b+v),Math.max(0,a-(y+k)),l-(x+C),2):new Zi(n.left+n.width-(y+k),n.top+n.height-(x+C)),this.bottomLeftContentBox=c>0||d>0?os(n.left+w+S,n.top+g,Math.max(0,c-(w+S)),d-(x+C),3):new Zi(n.left+w+S,n.top+n.height-(x+C))}};const os=(e,t,n,o,r)=>{const i=(Math.sqrt(2)-1)/3*4,s=n*i,a=o*i,l=e+n,c=t+o;switch(r){case 0:return new es(new Zi(e,c),new Zi(e,c-a),new Zi(l-s,t),new Zi(l,t));case 1:return new es(new Zi(e,t),new Zi(e+s,t),new Zi(l,c-a),new Zi(l,c));case 2:return new es(new Zi(l,t),new Zi(l,t+a),new Zi(e+s,c),new Zi(e,c));default:return new es(new Zi(l,c),new Zi(l-s,c),new Zi(e,t+a),new Zi(e,t))}},rs=e=>[e.topLeftBorderBox,e.topRightBorderBox,e.bottomRightBorderBox,e.bottomLeftBorderBox],is=e=>[e.topLeftPaddingBox,e.topRightPaddingBox,e.bottomRightPaddingBox,e.bottomLeftPaddingBox];var ss=class{offsetX;offsetY;matrix;type=0;target=6;constructor(e,t,n){this.offsetX=e,this.offsetY=t,this.matrix=n}},as=class{path;target;type=1;constructor(e,t){this.path=e,this.target=t}},ls=class{opacity;type=2;target=6;constructor(e){this.opacity=e}},cs=class{applyClip;type=3;target=6;constructor(e){this.applyClip=e}};const ds={[pr.NORMAL]:"source-over",[pr.MULTIPLY]:"multiply",[pr.SCREEN]:"screen",[pr.OVERLAY]:"overlay",[pr.DARKEN]:"darken",[pr.LIGHTEN]:"lighten",[pr.COLOR_DODGE]:"color-dodge",[pr.COLOR_BURN]:"color-burn",[pr.HARD_LIGHT]:"hard-light",[pr.SOFT_LIGHT]:"soft-light",[pr.DIFFERENCE]:"difference",[pr.EXCLUSION]:"exclusion",[pr.HUE]:"hue",[pr.SATURATION]:"saturation",[pr.COLOR]:"color",[pr.LUMINOSITY]:"luminosity"};var hs=class{mixBlendMode;type=4;target=6;compositeOperation;constructor(e){this.mixBlendMode=e,this.compositeOperation=ds[e]}},us=class e{type=5;target=6;safeFilterString;shadow;constructor(t){const n=e.parseDropShadow(t);this.shadow=n.shadow,this.safeFilterString=n.safeFilterString}static parseDropShadow(t){if(!t)return{safeFilterString:""};const n=e.findDropShadows(t);if(0===n.length)return{safeFilterString:t};const o=e.parseDropShadowBody(y(n,0).body);let r="",i=0;for(const e of n)r+=t.slice(i,e.start),i=e.end;return r+=t.slice(i),{shadow:o,safeFilterString:r.replace(/\s+/g," ").trim()}}static findDropShadows(e){const t=[],n=/drop-shadow\(/gi;let o;for(;null!==(o=n.exec(e));){const n=o.index+12-1,r=o.index;let i=1,s=n+1;for(;s<e.length&&i>0;){const t=e[s]??"";"("===t?i++:")"===t&&i--,s++}if(0!==i)break;const a=e.slice(n+1,s-1);t.push({body:a,start:r,end:s})}return t}static parseDropShadowBody(t){const n=e.tokenizeFilterArgs(t.trim()),o=[];let r;for(const t of n)e.isCSSLength(t)?o.push(parseFloat(t)):t&&(r=t);if(!(o.length<2||o.length>3))return{offsetX:y(o,0),offsetY:y(o,1),blur:o.length>2?y(o,2):0,color:r??"rgba(0,0,0,1)"}}static tokenizeFilterArgs(e){const t=[];let n="",o=0;for(let r=0;r<e.length;r++){const i=e[r]??"";"("===i?(o++,n+=i):")"===i?(o--,n+=i):/\s/.test(i)?o>0?n+=i:n&&(t.push(n),n=""):n+=i}return n&&t.push(n),t}static isCSSLength(e){return/^-?[\d.]+(px|em|rem|pt|cm|mm|in|pc|ex|ch|vw|vh|vmin|vmax|%)?$/i.test(e)}};const ps=e=>0===e.type,fs=e=>1===e.type,ms=e=>2===e.type,gs=e=>3===e.type,bs=e=>4===e.type,ys=e=>5===e.type;var xs=class{element;negativeZIndex;zeroOrAutoZIndexOrTransformedOrOpacity;positiveZIndex;nonPositionedFloats;nonPositionedInlineLevel;inlineLevel;nonInlineLevel;constructor(e){this.element=e,this.inlineLevel=[],this.nonInlineLevel=[],this.negativeZIndex=[],this.zeroOrAutoZIndexOrTransformedOrOpacity=[],this.positiveZIndex=[],this.nonPositionedFloats=[],this.nonPositionedInlineLevel=[]}},ws=class{container;parent;effects=[];curves;listValue;plainEffectsCache=null;constructor(e,t){if(this.container=e,this.parent=t,this.curves=new ns(this.container),this.container.styles.opacity<1&&this.effects.push(new ls(this.container.styles.opacity)),null!==this.container.styles.translate){const e=this.container.styles.transformOrigin,t=this.container.bounds.left+Ee(e[0],this.container.bounds.width),n=this.container.bounds.top+Ee(e[1],this.container.bounds.height),[o,r]=this.container.styles.translate,i=Ee(o,this.container.bounds.width),s=Ee(r,this.container.bounds.height);this.effects.push(new ss(t,n,[1,0,0,1,i,s]))}if(null!==this.container.styles.rotate){const e=this.container.styles.transformOrigin,t=this.container.bounds.left+Ee(e[0],this.container.bounds.width),n=this.container.bounds.top+Ee(e[1],this.container.bounds.height),o=this.container.styles.rotate*Math.PI/180,r=Math.cos(o),i=Math.sin(o),s=[r,i,-i,r,0,0];this.effects.push(new ss(t,n,s))}if(null!==this.container.styles.scale){const e=this.container.styles.transformOrigin,t=this.container.bounds.left+Ee(e[0],this.container.bounds.width),n=this.container.bounds.top+Ee(e[1],this.container.bounds.height),[o,r]=this.container.styles.scale;this.effects.push(new ss(t,n,[o,0,0,r,0,0]))}if(null!==this.container.styles.transform){const e=this.container.styles.transformOrigin,t=this.container.bounds.left+Ee(e[0],this.container.bounds.width),n=this.container.bounds.top+Ee(e[1],this.container.bounds.height),o=this.container.styles.transform;this.effects.push(new ss(t,n,o))}if(vs(this.container.styles)){const e=rs(this.curves),t=is(this.curves);Ki(e,t)?this.effects.push(new as(e,6)):(this.effects.push(new as(e,2)),this.effects.push(new as(t,4)))}if(0!==this.container.styles.clipPath.type){const e=Cs(this.container.styles.clipPath,this.container.bounds);e&&this.effects.push(e)}if(this.container.styles.mixBlendMode!==pr.NORMAL&&this.effects.push(new hs(this.container.styles.mixBlendMode)),null!==this.container.styles.filter&&this.effects.push(new us(this.container.styles.filter)),1!==this.container.styles.zoom){const e=this.container.bounds.left,t=this.container.bounds.top,n=this.container.styles.zoom,o=[n,0,0,n,0,0];this.effects.push(new ss(e,t,o))}}getEffects(e,t){if(!t){let t=this.plainEffectsCache;t||(t=new Map,this.plainEffectsCache=t);let n=t.get(e);return n||(n=this.computeEffects(e),t.set(e,n)),n}return this.computeEffects(e,t)}computeEffects(e,t){let n=-1===[2,3].indexOf(this.container.styles.position),o=this===t?null:this.parent;const r=e=>e.effects.filter(n=>e!==t||!ys(n)&&!ms(n)&&!bs(n)),i=r(this);for(;o;){const e=r(o).filter(e=>!fs(e));if(n||0!==o.container.styles.position||!o.parent){if(n=-1===[2,3].indexOf(o.container.styles.position),vs(o.container.styles)){const e=rs(o.curves),t=is(o.curves);Ki(e,t)||i.unshift(new as(t,6))}i.unshift(...e)}else i.unshift(...e);o=o===t?null:o.parent}return i.filter(t=>Vt(t.target,e))}};const vs=e=>0!==e.overflowX||0!==e.overflowY,ks=(e,t,n,o,r)=>"closest-side"===e?Math.min(t-n,o-t):"farthest-side"===e?Math.max(t-n,o-t):Ee(e,r),Cs=(e,t)=>{const{left:n,top:o,width:r,height:i}=t;switch(e.type){case 1:{const t=Ee(e.left,r),s=Ee(e.top,i),a=n+t,l=o+s,c=Math.max(0,r-t-Ee(e.right,r)),d=Math.max(0,i-s-Ee(e.bottom,i));return new cs(e=>{e.beginPath(),e.rect(a,l,c,d),e.clip()})}case 2:{const t=n+Ee(e.cx,r),s=o+Ee(e.cy,i);let a;return a="closest-side"===e.radius?Math.min(t-n,s-o,n+r-t,o+i-s):"farthest-side"===e.radius?Math.max(t-n,s-o,n+r-t,o+i-s):Ee(e.radius,Math.sqrt(r*r+i*i)/Math.SQRT2),new cs(e=>{e.beginPath(),e.arc(t,s,Math.max(0,a),0,2*Math.PI),e.clip()})}case 3:{const t=n+Ee(e.cx,r),s=o+Ee(e.cy,i),a=ks(e.rx,t,n,n+r,r),l=ks(e.ry,s,o,o+i,i);return new cs(e=>{e.beginPath(),e.ellipse(t,s,Math.max(0,a),Math.max(0,l),0,0,2*Math.PI),e.clip()})}case 4:{const t=e.points.map(([e,t])=>[n+Ee(e,r),o+Ee(t,i)]);return new cs(e=>{if(e.beginPath(),t.length>0){e.moveTo(y(y(t,0),0),y(y(t,0),1));for(let n=1;n<t.length;n++)e.lineTo(y(y(t,n),0),y(y(t,n),1));e.closePath()}e.clip()})}case 5:{const{d:t}=e;let r=null;return new cs(e=>{try{r||(r=new Path2D(t));const i=e.getTransform();e.translate(n,o),e.clip(r),e.setTransform(i)}catch(e){}})}case 6:{const t=n+Ee(e.x,r),s=o+Ee(e.y,i),a=Math.max(0,Ee(e.width,r)),l=Math.max(0,Ee(e.height,i));return new cs(e=>{e.beginPath(),e.rect(t,s,a,l),e.clip()})}default:return null}},Ss=(e,t,n,o)=>{e.container.elements.forEach(r=>{const i=r.createsRealStackingContext,s=r.createsStackingContext,a=new ws(r,e);Vt(r.styles.display,2048)&&o.push(a);const l=r.isListOwner?[]:o;if(i||s){const e=i||r.styles.isPositioned()?n:t,o=new xs(a);if(i||r.styles.isPositioned()||r.styles.opacity<1||r.styles.isTransformed()){const t=r.styles.zIndex.order;if(t<0){let n=0;e.negativeZIndex.some((e,o)=>t>=e.element.container.styles.zIndex.order?(n=o+1,!1):n>0),e.negativeZIndex.splice(n,0,o)}else if(t>0){let n=0;e.positiveZIndex.some((e,o)=>t>=e.element.container.styles.zIndex.order?(n=o+1,!1):n>0),e.positiveZIndex.splice(n,0,o)}else e.zeroOrAutoZIndexOrTransformedOrOpacity.push(o)}else r.styles.isFloating()?e.nonPositionedFloats.push(o):e.nonPositionedInlineLevel.push(o);Ss(a,o,i?o:n,l)}else r.styles.isInlineLevel()?t.inlineLevel.push(a):t.nonInlineLevel.push(a),Ss(a,t,n,l);r.isListOwner&&Es(r,l)})},Es=(e,t)=>{let n=e instanceof Oi?e.start:1;const o=e instanceof Oi&&e.reversed;for(let e=0;e<t.length;e++){const r=y(t,e);r.container instanceof Ai&&"number"==typeof r.container.value&&0!==r.container.value&&(n=r.container.value),r.listValue=an(n,r.container.styles.listStyleType,!0),n+=o?-1:1}},Ms=e=>Math.min(1,Math.max(0,e)),Ds=e=>{const t=y(e,0),n=y(e,e.length-1);if(n.stop-t.stop<1e-6)return null;const o=Math.max(n.stop-t.stop,.01),r=[],i=Math.ceil(1/o);for(let n=0;n<i;n++)for(const i of e){const e=n*o+(i.stop-t.stop);if(e>1)break;r.push({stop:e,color:Ie(i.color)})}const s=r[r.length-1];return(!s||s.stop<1)&&r.push({stop:1,color:Ie(n.color)}),r},Ts=e=>e.map(e=>({stop:Ms(e.stop),color:Ie(e.color)})),Bs=(e,t,n,o,r=!1)=>{const i=kn(o,t),s=y(i,i.length-1),a=Ie(s.color),l=e.createElement("canvas");l.width=Math.max(1,Math.ceil(2*t)),l.height=Math.max(1,Math.ceil(2*n));const c=l.getContext("2d");if(!c)return null;let d;if(r){const e=Ds(i);if(!e)return c.fillStyle=a,c.fillRect(0,0,l.width,l.height),{canvas:l,lastColor:a,rx:t,ry:n};d=e}else d=Ts(i);const h=c.createRadialGradient(t,t,0,t,t,t);return d.forEach(e=>h.addColorStop(Ms(e.stop),e.color)),c.fillStyle=h,t!==n&&c.scale(1,n/t),c.fillRect(0,0,2*t,2*t),{canvas:l,lastColor:a,rx:t,ry:n}},Rs=e=>{const t=e.bounds,n=e.styles;return t.add(n.borderLeftWidth,n.borderTopWidth,-(n.borderRightWidth+n.borderLeftWidth),-(n.borderTopWidth+n.borderBottomWidth))},Fs=e=>{const t=e.styles,n=e.bounds,o=Ee(t.paddingLeft,n.width),r=Ee(t.paddingRight,n.width),i=Ee(t.paddingTop,n.width),s=Ee(t.paddingBottom,n.width);return n.add(o+t.borderLeftWidth,i+t.borderTopWidth,-(t.borderRightWidth+t.borderLeftWidth+o+r),-(t.borderTopWidth+t.borderBottomWidth+i+s))},Ls=(e,t,n)=>{const o=((e,t)=>0===e?t.bounds:2===e?Fs(t):Rs(t))(Os(e.styles.backgroundOrigin,t),e),r=((e,t)=>0===e?t.bounds:2===e?Fs(t):Rs(t))(Os(e.styles.backgroundClip,t),e),i=As(Os(e.styles.backgroundSize,t),n,o);let[s,a]=i;const l=Se(Os(e.styles.backgroundPosition,t),o.width-s,o.height-a),c=Ns(Os(e.styles.backgroundRepeat,t),l,i,o,r),d=Math.round(o.left+l[0]),h=Math.round(o.top+l[1]);return s=Math.max(1,s),a=Math.max(1,a),[c,d,h,s,a]},Is=e=>ee(e)&&"auto"===e.value,Ps=e=>"number"==typeof e,As=(e,[t,n,o],r)=>{const[i,s]=e;if(!i)return[0,0];if(ge(i)&&s&&ge(s))return[Ee(i,r.width),Ee(s,r.height)];const a=Ps(o);if(ee(i)&&("contain"===i.value||"cover"===i.value))return Ps(o)?r.width/r.height<o!=("cover"===i.value)?[r.width,r.width/o]:[r.height*o,r.height]:[r.width,r.height];const l=Ps(t),c=Ps(n),d=l||c;if(Is(i)&&(!s||Is(s)))return l&&c?[t,n]:a||d?d&&a?[l?t:n*o,c?n:t/o]:[l?t:r.width,c?n:r.height]:[r.width,r.height];if(a){let e=0,t=0;return ge(i)?e=Ee(i,r.width):s&&ge(s)&&(t=Ee(s,r.height)),Is(i)?e=t*o:s&&!Is(s)||(t=e/o),[e,t]}let h=null,u=null;if(ge(i)?h=Ee(i,r.width):s&&ge(s)&&(u=Ee(s,r.height)),null===h||s&&!Is(s)||(u=l&&c?h/t*n:r.height),null!==u&&Is(i)&&(h=l&&c?u/n*t:r.width),null!==h&&null!==u)return[h,u];throw new Error("Unable to calculate background-size for element")},Os=(e,t)=>{const n=e[t];return void 0===n?y(e,0):n},Ns=(e,[t,n],[o,r],i,s)=>{switch(e){case 2:return[new Zi(Math.round(i.left),Math.round(i.top+n)),new Zi(Math.round(i.left+i.width),Math.round(i.top+n)),new Zi(Math.round(i.left+i.width),Math.round(r+i.top+n)),new Zi(Math.round(i.left),Math.round(r+i.top+n))];case 3:return[new Zi(Math.round(i.left+t),Math.round(i.top)),new Zi(Math.round(i.left+t+o),Math.round(i.top)),new Zi(Math.round(i.left+t+o),Math.round(i.height+i.top)),new Zi(Math.round(i.left+t),Math.round(i.height+i.top))];case 1:return[new Zi(Math.round(i.left+t),Math.round(i.top+n)),new Zi(Math.round(i.left+t+o),Math.round(i.top+n)),new Zi(Math.round(i.left+t+o),Math.round(i.top+n+r)),new Zi(Math.round(i.left+t),Math.round(i.top+n+r))];default:return[new Zi(Math.round(s.left),Math.round(s.top)),new Zi(Math.round(s.left+s.width),Math.round(s.top)),new Zi(Math.round(s.left+s.width),Math.round(s.height+s.top)),new Zi(Math.round(s.left),Math.round(s.height+s.top))]}};var zs=class extends Error{};const $s=e=>{e.width=e.height=0},Us=["brightness","contrast","grayscale","hue-rotate","invert","opacity","saturate","sepia"],_s=new Map,js={functions:[]};function Gs(e){if(!e||"none"===e)return js;const t=_s.get(e);if(void 0!==t)return _s.delete(e),_s.set(e,t),t;const n=Ws(e);if(_s.size>=256){const e=_s.keys().next().value;void 0!==e&&_s.delete(e)}return _s.set(e,n),n}const Ws=e=>{const t=[];let n=0;for(;n<e.length;){const o=e[n];if(" "===o||"\n"===o||"\t"===o){n++;continue}const r=e.indexOf("(",n);if(-1===r)return null;const i=e.slice(n,r).trim();if(!/^[a-zA-Z-]+$/.test(i))return null;const s=Vs(e,r);if(-1===s)return null;const a=Hs(i,e.slice(r+1,s).trim());if(!a)return null;t.push(a),n=s+1}return{functions:t}},Vs=(e,t)=>{let n=1;for(let o=t+1;o<e.length;o++){const t=e[o];if("("===t)n++;else if(")"===t&&(n--,0===n))return o}return-1},qs=/^-?\d+(?:\.\d+)?px$/,Hs=(e,t)=>{if("blur"===e){if("0"===t)return{kind:"blur",value:0};if(!qs.test(t))return null;const e=Number.parseFloat(t);return e<0?null:{kind:"blur",value:e}}if("drop-shadow"===e)return Ys(t);if(-1!==Us.indexOf(e)){const n=e;if("hue-rotate"===n){const e=Xs(t);return null===e?null:{kind:"unitless",name:n,value:e}}const o=t.trim(),r=o.endsWith("%"),i=r?o.slice(0,-1):o;return/^-?\d+(?:\.\d+)?$/.test(i)?{kind:"unitless",name:n,value:Number.parseFloat(i)*(r?.01:1)}:null}if("url"===e){const e=bi(t);return e?{kind:"url",ref:e}:null}return null},Ys=e=>{const t=(e=>{const t=[];let n=0,o="";for(const r of e)"("===r?n++:")"===r&&n--," "!==r||0!==n?o+=r:(o&&t.push(o),o="");return o&&t.push(o),t})(e),n=t.filter(e=>qs.test(e)).map(e=>Number.parseFloat(e));if(n.length<2||n.length>3)return null;const o=t.filter(e=>!qs.test(e));return t.length-o.length!==n.length?null:{kind:"drop-shadow",x:n[0],y:n[1],blur:n[2]??0,color:o.join(" ")||"rgba(0, 0, 0, 0)"}},Xs=e=>{const t=e.trim();if("0"===t)return 0;const n=Number.parseFloat(t);return Number.isNaN(n)?null:t.endsWith("deg")?n:t.endsWith("grad")?.9*n:t.endsWith("rad")?180*n/Math.PI:t.endsWith("turn")?360*n:null};function Ks(e,t){let n=0,o=0,r=0;for(const i of e.functions)"blur"===i.kind?n+=i.value:"drop-shadow"===i.kind?(n+=i.blur,o=Math.max(o,Math.abs(i.x),Math.abs(i.y))):"url"===i.kind&&(r+=t?.get(i.ref)?.outset??0);return Math.ceil(3*n+o+r)}function Qs(e){const t=(e.ownerDocument??document).createElement("canvas");return t.width=e.width,t.height=e.height,t}const Zs=new WeakMap;async function Js(e,t,n,o,r,i){if(oi(r),t.functions.some(e=>"url"===e.kind))return async function(e,t,n,o,r,i){const s=[];for(const e of t.functions){if("url"===e.kind){const t=i?.references?.get(e.ref);if(!t)throw new zs(`Filter reference ${e.ref} cannot be resolved`);s.push(t);continue}const t=s[s.length-1];Array.isArray(t)?t.push(e):s.push([e])}const a=i?.origin??{x:0,y:0},l=s[s.length-1],c=Array.isArray(l);let d=e;try{for(const t of s){const i=Array.isArray(t)?await Js(d,{functions:t},t===l?n:1,o,r):await ia(d,t,a,o,r);d!==e&&$s(d),d=i}if(c||1===n){const t=d;return d=e,t}return ea(d,n)}finally{d!==e&&$s(d)}}(e,t,n,o,r,i);if(t.functions.length>0&&function(e=document){const t=Zs.get(e);if(void 0!==t)return t;const n=e.createElement("canvas"),o=e.createElement("canvas");let r=!1;try{n.width=n.height=o.width=o.height=32;const e=n.getContext("2d"),t=o.getContext("2d");if(e&&t&&"filter"in t){e.fillStyle="#fff",e.fillRect(8,8,8,8),t.filter="blur(2px)",t.drawImage(n,0,0);const o=(t.getImageData(6,12,1,1).data[3]??0)>0;t.clearRect(0,0,32,32),t.filter="drop-shadow(12px 0px 0px rgba(255, 0, 0, 0.5))",t.drawImage(n,0,0);const i=t.getImageData(24,12,1,1).data;r=o&&(i[0]??0)>240&&(i[1]??0)<10&&(i[3]??0)>=126&&(i[3]??0)<=129}}catch{}finally{$s(n),$s(o)}return Zs.set(e,r),r}(e.ownerDocument??document)){const i=function(e,t,n,o,r){let i,s,a=!1;try{oi(r),i=Qs(e);const l=i.getContext("2d");if(!l||!("filter"in l))return null;if(l.filter=((e,t)=>e.functions.map(e=>{switch(e.kind){case"blur":return`blur(${e.value*t}px)`;case"drop-shadow":return`drop-shadow(${e.x*t}px ${e.y*t}px ${e.blur*t}px ${e.color})`;case"unitless":return"hue-rotate"===e.name?`hue-rotate(${e.value}deg)`:`${e.name}(${e.value})`;case"url":return`url("${e.ref}")`}}).join(" "))(t,o),"none"===l.filter||""===l.filter)return null;l.drawImage(e,0,0),oi(r),s=Qs(e);const c=s.getContext("2d");return c?(c.globalAlpha=n,c.drawImage(i,0,0),oi(r),a=!0,s):null}catch{return oi(r),null}finally{i&&$s(i),s&&!a&&$s(s)}}(e,t,n,o,r);if(i)return i}if(!(e=>{let t=0,n=0;for(const o of e.functions)if("blur"===o.kind)t++;else{if("drop-shadow"!==o.kind)return!1;n++}return!(t>1||n>1||t>0&&n>0&&!(e.functions.findIndex(e=>"blur"===e.kind)<e.functions.findIndex(e=>"drop-shadow"===e.kind)))})(t))throw new zs("Filter chain requires native canvas filters");return async function(e,t,n,o,r){oi(r);const i=t.functions.find(e=>"blur"===e.kind),s=t.functions.find(e=>"drop-shadow"===e.kind),a=i&&"blur"===i.kind?i.value:0,l=s&&"drop-shadow"===s.kind?{x:s.x,y:s.y,blur:s.blur,color:s.color}:void 0;if(!a&&!l)return ea(e,n);const c=e.ownerDocument??document,d=(e,t={})=>na(c,e,t),h=d("svg",{width:e.width,height:e.height,viewBox:`0 0 ${e.width} ${e.height}`}),u=d("defs"),p=d("filter",{id:"composited-filter",filterUnits:"userSpaceOnUse",x:0,y:0,width:e.width,height:e.height,"color-interpolation-filters":"sRGB"});if(a&&p.appendChild(d("feGaussianBlur",{stdDeviation:a*o,result:"blurred-source"})),l){p.appendChild(d("feGaussianBlur",{in:a?"blurred-source":"SourceAlpha",stdDeviation:l.blur*o})),p.appendChild(d("feOffset",{dx:l.x*o,dy:l.y*o,result:"offset-shadow"})),p.appendChild(d("feFlood",{"flood-color":l.color})),p.appendChild(d("feComposite",{in2:"offset-shadow",operator:"in"}));const e=d("feMerge");e.appendChild(d("feMergeNode")),e.appendChild(d("feMergeNode",{in:a?"blurred-source":"SourceGraphic"})),p.appendChild(e)}return u.appendChild(p),h.appendChild(u),h.appendChild(d("image",{width:e.width,height:e.height,href:oa(e),filter:"url(#composited-filter)"})),ra(h,e,n,r)}(e,t,n,o,r)}function ea(e,t){const n=Qs(e),o=n.getContext("2d");if(!o)throw $s(n),new zs("Filter surface canvas is unavailable");o.globalAlpha=t;try{return o.drawImage(e,0,0),n}catch{throw $s(n),new zs("Filter surface image cannot be drawn")}}const ta="http://www.w3.org/2000/svg";function na(e,t,n={}){const o=e.createElementNS(ta,t);return Object.entries(n).forEach(([e,t])=>o.setAttribute(e,String(t))),o}function oa(e){try{const t=e.toDataURL("image/png");if("data:,"===t)throw new Error("Canvas size is unsupported");return t}catch{throw new zs("Filter surface pixels cannot be serialized")}}async function ra(e,t,n,o){const r=(t.ownerDocument??document).defaultView,i=r?.Image?new r.Image:new Image;let s;try{i.src=`data:image/svg+xml,${encodeURIComponent((new XMLSerializer).serializeToString(e))}`,await((e,t)=>new Promise((n,o)=>{const r=e=>{clearTimeout(s),t?.removeEventListener("abort",i),e?o(e):n()},i=()=>r(new DOMException("The operation was aborted.","AbortError")),s=setTimeout(()=>r(new zs("Filter surface image decode timed out")),1e4);t?.addEventListener("abort",i,{once:!0}),t?.aborted?i():e.decode().then(()=>r(),()=>r(new zs("Filter surface image decode failed")))}))(i,o),oi(o),s=Qs(t);const r=s.getContext("2d");if(!r)throw new zs("Filter surface canvas is unavailable");return r.globalAlpha=n,r.drawImage(i,0,0),s}catch(e){throw s&&$s(s),o?.aborted&&oi(o),e instanceof zs?e:new zs("Filter surface image cannot be drawn")}finally{i.removeAttribute("src")}}async function ia(e,t,n,o,r){oi(r);const i=e.ownerDocument??document,s=e.width/o,a=e.height/o,l=na(i,"svg",{width:e.width,height:e.height,viewBox:`0 0 ${s} ${a}`}),c=na(i,"defs"),d=i.importNode(t.element,!0);d.setAttribute("id","composited-reference"),c.appendChild(d),l.appendChild(c);const h=na(i,"g",{transform:`translate(${n.x} ${n.y})`});return h.appendChild(na(i,"image",{x:-n.x,y:-n.y,width:s,height:a,href:oa(e),filter:"url(#composited-reference)"})),l.appendChild(h),ra(l,e,1,r)}function sa(e,t,n){const o=t*n*4;return!Number.isFinite(o)||t<=0||n<=0||t>8192||n>8192||e.pixels+o>16777216?0:(e.pixels+=o,o)}const aa=(e,t)=>e.add(-t,-t,2*t,2*t),la=(e,t)=>new g(Math.min(e.left,t.left),Math.min(e.top,t.top),Math.max(e.left+e.width,t.left+t.width)-Math.min(e.left,t.left),Math.max(e.top+e.height,t.top+t.height)-Math.min(e.top,t.top));function ca(e){const t=e.styles;let n=e.bounds;for(const o of t.boxShadow)if(!o.inset){const t=Math.max(0,o.spread.number)+3*o.blur.number;n=la(n,aa(e.bounds.add(o.offsetX.number,o.offsetY.number,0,0),t))}for(const o of e.textNodes)for(const r of o.textBounds){const o=aa(r.bounds,2*Ee(t.fontSize,e.bounds.height)+t.webkitTextStrokeWidth);n=la(n,o);for(const e of t.textShadow)n=la(n,aa(o.add(e.offsetX.number,e.offsetY.number,0,0),3*e.blur.number))}for(const t of e.elements)t.styles.isVisible()&&(n=la(n,ca(t)));const o=Gs(t.filter);return aa(n,o?Ks(o,e.filterReferences):0)}function da(e,t,n,o){const r=aa(t,n),i=Math.floor(Math.max(e.left,r.left)*o)/o,s=Math.floor(Math.max(e.top,r.top)*o)/o,a=Math.ceil(Math.min(e.left+e.width,r.left+r.width)*o)/o,l=Math.ceil(Math.min(e.top+e.height,r.top+r.height)*o)/o;return new g(i,s,Math.max(0,a-i),Math.max(0,l-s))}const ha=[1,0,0,1,0,0],ua=e=>1===e[0]&&0===e[1]&&0===e[2]&&1===e[3]&&0===e[4]&&0===e[5],pa=(e,t)=>[e[0]*t[0]+e[2]*t[1],e[1]*t[0]+e[3]*t[1],e[0]*t[2]+e[2]*t[3],e[1]*t[2]+e[3]*t[3],e[0]*t[4]+e[2]*t[5]+e[4],e[1]*t[4]+e[3]*t[5]+e[5]],fa=(e,t,n)=>[e[0]*t+e[2]*n+e[4],e[1]*t+e[3]*n+e[5]],ma=(e,t)=>{const n=[fa(e,t.left,t.top),fa(e,t.left+t.width,t.top),fa(e,t.left,t.top+t.height),fa(e,t.left+t.width,t.top+t.height)],o=Math.min(...n.map(e=>e[0])),r=Math.max(...n.map(e=>e[0])),i=Math.min(...n.map(e=>e[1])),s=Math.max(...n.map(e=>e[1]));return new g(o,i,r-o,s-i)};var ga=class{ctx;constructor(e){this.ctx=e}render(e,t){this.ctx.fillStyle=Ie(t.textDecorationColor??t.color);let n=1;"number"==typeof t.textDecorationThickness?n=t.textDecorationThickness:"from-font"===t.textDecorationThickness&&(n=Math.max(1,Math.floor(.05*t.fontSize.number)));let o=0;"number"==typeof t.textUnderlineOffset&&(o=t.textUnderlineOffset);const r=t.textDecorationStyle;t.textDecorationLine.forEach(t=>{let i=0;switch(t){case 1:i=e.top+e.height-n+o;break;case 2:i=e.top;break;case 3:i=e.top+(e.height/2-n/2);break;default:return}this.draw(e.left,i,e.width,n,r)})}draw(e,t,n,o,r){switch(r){case 0:default:this.ctx.fillRect(e,t,n,o);break;case 1:{const r=Math.max(1,o);this.ctx.fillRect(e,t,n,o),this.ctx.fillRect(e,t+o+r,n,o);break}case 2:this.drawPattern(e,t,n,o,[o,2*o]);break;case 3:this.drawPattern(e,t,n,o,[3*o,2*o]);break;case 4:this.drawWavy(e,t,n,o)}}drawPattern(e,t,n,o,r){this.ctx.save(),this.ctx.beginPath(),this.ctx.setLineDash(r),this.ctx.lineWidth=o,this.ctx.strokeStyle=this.ctx.fillStyle,this.ctx.moveTo(e,t+o/2),this.ctx.lineTo(e+n,t+o/2),this.ctx.stroke(),this.ctx.restore()}drawWavy(e,t,n,o){this.ctx.save(),this.ctx.beginPath(),this.ctx.lineWidth=o,this.ctx.strokeStyle=this.ctx.fillStyle;const r=2*o,i=4*o;let s=e;for(this.ctx.moveTo(s,t+o/2);s<e+n;){const a=Math.min(s+i/2,e+n);if(this.ctx.quadraticCurveTo(s+i/4,t+o/2-r,a,t+o/2),s=a,s<e+n){const a=Math.min(s+i/2,e+n);this.ctx.quadraticCurveTo(s+i/4,t+o/2+r,a,t+o/2),s=a}}this.ctx.stroke(),this.ctx.restore()}};const ba=e=>void 0!==e&&!Number.isNaN(e),ya=(e,t)=>{const n=e.measureText("Mg"),o=n;return{baseline:ba(o.fontBoundingBoxAscent)?o.fontBoundingBoxAscent:ba(n.actualBoundingBoxAscent)?n.actualBoundingBoxAscent:t,height:ba(o.fontBoundingBoxAscent)&&ba(o.fontBoundingBoxDescent)?o.fontBoundingBoxAscent+o.fontBoundingBoxDescent:ba(n.actualBoundingBoxAscent)&&ba(n.actualBoundingBoxDescent)?n.actualBoundingBoxAscent+n.actualBoundingBoxDescent:t}},xa=(e,t)=>ya(e,t).baseline,wa=/[\u2E80-\u2FFF\u3000-\u30FF\u3400-\u4DBF\u4E00-\u9FFF\uAC00-\uD7AF\uF900-\uFAFF\uFF01-\uFFEF]/,va=e=>wa.test(e),ka=()=>"undefined"==typeof navigator||void 0===navigator.userAgentData&&void 0===("undefined"!=typeof window?window:void 0)?.chrome?"round":"miter";var Ca=class{ctx;options;decorationRenderer;baselineCache=new Map;glyphWidthCache=null;constructor(e){this.ctx=e.ctx,this.options=e.options,this.decorationRenderer=new ga(e.ctx)}cachedMeasureText(e,t){let n=this.glyphWidthCache;n||(n=new Map,this.glyphWidthCache=n);const o=e+t;let r=n.get(o);return void 0===r&&(r=this.ctx.measureText(e).width,n.set(o,r)),r}iterateLettersWithLetterSpacing(e,t,n,o,r){if(Qo(o))return void this.iterateVerticalGlyphs(e,t,n,o,r);const i=Mi(e.text),s=e.bounds.top+n,a=this.ctx.font;let l=e.bounds.left;for(const e of i)r(e,l,s),l+=this.cachedMeasureText(e,a)+t}iterateVerticalGlyphs(e,t,n,o,r){const i=Mi(e.text),s=this.ctx.font,a=4===o?-Math.PI/2:Math.PI/2;let l=e.bounds.top;for(let c=0;c<i.length;){const d=i[c];if(!(Zo(o)||!va(d)&&d.trim().length>0)){const o=this.ctx.textBaseline;va(d)&&(this.ctx.textBaseline="ideographic"),r(d,e.bounds.left,l+n),this.ctx.textBaseline=o,l+=this.cachedMeasureText(d,s)+t,c++;continue}const h=c;for(;c<i.length;){const e=i[c];if(!Zo(o)&&!va(e)&&0===e.trim().length)break;if(!(Zo(o)||!va(e)&&e.trim().length>0))break;c++}this.ctx.save(),this.ctx.translate(e.bounds.left+n,l),this.ctx.rotate(a);let u=0;for(let e=h;e<c;e++){const n=i[e];r(n,0,u),u+=this.cachedMeasureText(n,s)+t}this.ctx.restore(),l+=u}}renderTextWithLetterSpacing(e,t,n,o=0){this.renderFillText(e,t,n,o)}canRenderWholeText(e,t){return 0===e&&!Qo(t)}renderFillText(e,t,n,o){this.canRenderWholeText(t,o)?this.ctx.fillText(e.text,e.bounds.left,e.bounds.top+n):this.iterateLettersWithLetterSpacing(e,t,n,o,(e,t,n)=>{this.ctx.fillText(e,t,n)})}renderStrokeText(e,t,n,o){this.canRenderWholeText(t,o)?this.ctx.strokeText(e.text,e.bounds.left,e.bounds.top+n):this.iterateLettersWithLetterSpacing(e,t,n,o,(e,t,n)=>{this.ctx.strokeText(e,t,n)})}renderTextStrokeWithStyle(e,t,n){t.webkitTextStrokeWidth&&e.text.trim().length&&(this.ctx.strokeStyle=Ie(t.webkitTextStrokeColor),this.ctx.lineWidth=t.webkitTextStrokeWidth,this.ctx.lineJoin=ka(),this.renderStrokeText(e,t.letterSpacing,n,t.writingMode),this.ctx.strokeStyle="",this.ctx.lineWidth=0,this.ctx.lineJoin="miter")}renderTextFillWithShadows(e,t,n){this.ctx.fillStyle=this.resolveFillColor(t),this.renderTextWithLetterSpacing(e,t.letterSpacing,n,t.writingMode);const o=t.textShadow;o.length&&e.text.trim().length&&(o.slice(0).reverse().forEach(o=>{this.ctx.shadowColor=Ie(o.color),this.ctx.shadowOffsetX=o.offsetX.number*this.options.scale,this.ctx.shadowOffsetY=o.offsetY.number*this.options.scale,this.ctx.shadowBlur=o.blur.number*this.options.scale,this.renderTextWithLetterSpacing(e,t.letterSpacing,n,t.writingMode)}),this.ctx.shadowColor="",this.ctx.shadowOffsetX=0,this.ctx.shadowOffsetY=0,this.ctx.shadowBlur=0)}renderTextBoundWithPaintOrder(e,t,n,o){n.forEach(n=>{switch(n){case 0:this.ctx.fillStyle=this.resolveFillColor(t),this.renderTextWithLetterSpacing(e,t.letterSpacing,o,t.writingMode);break;case 1:this.renderTextStrokeWithStyle(e,t,o)}})}renderTextDecoration(e,t){this.decorationRenderer.render(e,t)}truncateTextWithEllipsis(e,t,n){const o=this.ctx.measureText("…").width,r=Mi(e);if(0===n){const e=e=>this.ctx.measureText(r.slice(0,e).join("")).width+o<=t;let n=0,i=r.length;for(;n<i;){const t=n+i+1>>1;e(t)?n=t:i=t-1}return r.slice(0,n).join("")+"…"}{const e=this.ctx.font;let i=o;const s=[];for(const o of r){const r=this.cachedMeasureText(o,e);if(i+r>t)break;s.push(o),i+=r+n}return s.join("")+"…"}}createFontStyle(e){const t=e.fontVariant.filter(e=>"normal"===e||"small-caps"===e).join(""),n=e.fontFamily.join(", "),o=Z(e.fontSize)?`${e.fontSize.number}${e.fontSize.unit}`:`${e.fontSize.number}px`;return[[e.fontStyle,t,e.fontWeight,o,n].join(" "),n,o]}resolveFillColor(e){return Ie(e.webkitTextFillColor??e.color)}renderLineClampedText(e,t,n,o,r){const i=Lo(t.lineHeight,t.fontSize.number),s=[];let a=[],l=y(e.textBounds,0).bounds.top;e.textBounds.forEach(e=>{Math.abs(e.bounds.top-l)>=.5*i?(a.length>0&&s.push(a),a=[e],l=e.bounds.top):a.push(e)}),a.length>0&&s.push(a);const c=t.webkitLineClamp;if(s.length<=c)return!1;for(let e=0;e<c-1;e++)y(s,e).forEach(e=>this.renderTextBoundWithPaintOrder(e,t,n,o));const d=s[c-1];if(d?.length&&r){const e=d.map(e=>e.text).join(""),i=y(d,0),s=r.width-(i.bounds.left-r.left),a=new ki(this.truncateTextWithEllipsis(e,s,t.letterSpacing),i.bounds);for(const e of n)0===e?(this.ctx.fillStyle=this.resolveFillColor(t),this.renderTextWithLetterSpacing(a,t.letterSpacing,o,t.writingMode)):1===e&&this.renderTextStrokeWithStyle(a,t,o)}return!0}renderEllipsisText(e,t,n,o,r){const i=Lo(t.lineHeight,t.fontSize.number),s=y(e.textBounds,0).bounds.top;if(!e.textBounds.every(e=>Math.abs(e.bounds.top-s)<.5*i))return!1;let a=e.textBounds.map(e=>e.text).join("").replace(/\s+/g," ").trim();if(this.ctx.measureText(a).width<=r.width+1)return!1;const l=new ki(this.truncateTextWithEllipsis(a,r.width,t.letterSpacing),y(e.textBounds,0).bounds);for(const e of n)0===e?this.renderTextFillWithShadows(l,t,o):1===e&&this.renderTextStrokeWithStyle(l,t,o);return!0}measureBaselineCached(e,t){let n=this.baselineCache.get(e);return void 0===n&&(n=xa(this.ctx,t),this.baselineCache.size>=64&&this.baselineCache.clear(),this.baselineCache.set(e,n)),n}async renderTextNode(e,t,n){this.glyphWidthCache=null;const[o]=this.createFontStyle(t);this.ctx.font=o??"",this.ctx.direction=1===t.direction?"rtl":"ltr",this.ctx.textAlign="left",this.ctx.textBaseline="alphabetic";const r=t.paintOrder,i=this.measureBaselineCached(o??"",t.fontSize.number);t.webkitLineClamp>0&&34&t.display&&1===t.overflowY&&e.textBounds.length>0&&this.renderLineClampedText(e,t,r,i,n)||1===t.textOverflow&&n&&1===t.overflowX&&e.textBounds.length>0&&this.renderEllipsisText(e,t,r,i,n)||(e.textBounds.forEach(e=>{r.forEach(n=>{0===n?(this.renderTextFillWithShadows(e,t,i),t.textDecorationLine.length&&this.renderTextDecoration(e.bounds,t)):1===n&&this.renderTextStrokeWithStyle(e,t,i)})}),t.textEmphasisStyle&&this.renderTextEmphasis(e,t,i))}renderTextEmphasis(e,t,n){if(Qo(t.writingMode))return;const o=t.textEmphasisStyle;if(!o)return;const r=t.fontSize.number,i=.5*r,s=Ie(t.textEmphasisColor??t.color),a=t.textEmphasisPosition,l=(e,t)=>{if("string"==typeof o){const n=this.ctx.font;return this.ctx.font=n.replace(/^\S+/,`${i}px`),this.ctx.textAlign="center",this.ctx.fillText(o,e,t+i/3),this.ctx.font=n,void(this.ctx.textAlign="left")}const{fill:n,shape:r}=o,s=i*("dot"===r?.3:"sesame"===r?.26:.34);this.ctx.beginPath(),"sesame"===r?this.ctx.ellipse(e,t,1.3*s,.8*s,Math.PI/4,0,2*Math.PI):"triangle"===r?(this.ctx.moveTo(e,t-s),this.ctx.lineTo(e+1.1*s,t+.8*s),this.ctx.lineTo(e-1.1*s,t+.8*s),this.ctx.closePath()):this.ctx.arc(e,t,s,0,2*Math.PI),n?"double-circle"===r?(this.ctx.lineWidth=.7*s,this.ctx.stroke(),this.ctx.beginPath(),this.ctx.arc(e,t,.4*s,0,2*Math.PI),this.ctx.lineWidth=.35*s,this.ctx.stroke()):this.ctx.fill():(this.ctx.lineWidth=Math.max(1,.35*s),this.ctx.stroke(),"double-circle"===r&&(this.ctx.beginPath(),this.ctx.arc(e,t,.5*s,0,2*Math.PI),this.ctx.stroke()))},c=this.ctx.font;for(const o of e.textBounds){const e=o.bounds.top+n,d=a.over?e-r-.4*i:e+.9*i;let h=o.bounds.left;for(const e of Mi(o.text)){const n=this.cachedMeasureText(e,c);this.ctx.save();try{this.ctx.fillStyle=s,this.ctx.strokeStyle=s,this.ctx.lineWidth=1,l(h+n/2+t.letterSpacing/2,d)}finally{this.ctx.restore()}h+=n+t.letterSpacing}}}};const Sa=(e,t)=>{t.forEach((t,n)=>{const o=ts(t)?t.start:t;0===n?e.moveTo(o.x,o.y):e.lineTo(o.x,o.y),ts(t)&&e.bezierCurveTo(t.startControl.x,t.startControl.y,t.endControl.x,t.endControl.y,t.end.x,t.end.y)})},Ea=(e,t)=>{e.beginPath(),Sa(e,t),e.closePath()};var Ma=class{maxSize;_map;constructor(e){this.maxSize=e,this._map=new Map}get(e){if(!this._map.has(e))return;const t=this._map.get(e);return this._map.delete(e),this._map.set(e,t),t}set(e,t){if(this._map.has(e))this._map.delete(e);else if(this._map.size>=this.maxSize){const e=this._map.keys().next().value;void 0!==e&&this._map.delete(e)}this._map.set(e,t)}get size(){return this._map.size}clear(){this._map.clear()}},Da=class{ctx;context;canvas;patternCache=new Ma(50);constructor(e){this.ctx=e.ctx,this.context=e.context,this.canvas=e.canvas}async renderBackgroundImage(e){let t=e.styles.backgroundImage.length-1;const n=e.styles.backgroundBlendMode;let o=0;for(const r of e.styles.backgroundImage.slice(0).reverse()){if(o>0){const e=n[o]??n[0]??"normal";"normal"!==e&&(this.ctx.save(),this.ctx.globalCompositeOperation=e)}0===r.type?await this.renderBackgroundURLImage(e,r,t):Vn(r)?this.renderLinearGradient(e,r,t):Hn(r)?this.renderRepeatingLinearGradient(e,r,t):qn(r)?this.renderRadialGradient(e,r,t):Yn(r)?this.renderRepeatingRadialGradient(e,r,t):Xn(r)?this.renderConicGradient(e,r,t):Kn(r)&&this.renderRepeatingConicGradient(e,r,t),o>0&&"normal"!==(n[o]??n[0]??"normal")&&this.ctx.restore(),t--,o++}}async renderBackgroundURLImage(e,t,n){let o;const r=t.url;try{o=await this.context.cache.match(r)}catch(e){this.context.logger.error(`Error loading background-image ${r}`)}if(o){const t=isNaN(o.width)||0===o.width?1:o.width,i=isNaN(o.height)||0===o.height?1:o.height,[s,a,l,c,d]=Ls(e,n,[t,i,t/i]),h=Os(e.styles.backgroundRepeat,n),u=1===h?"no-repeat":2===h?"repeat-x":3===h?"repeat-y":"repeat",p=`${r}|${Math.round(c)}x${Math.round(d)}|${e.styles.imageRendering}|${u}`;let f=this.patternCache.get(p);if(!f){const t=this.resizeImage(o,c,d,e.styles.imageRendering);f=this.ctx.createPattern(t,u),this.patternCache.set(p,f)}this.renderRepeat(s,f,a,l)}}renderRepeatingLinearGradient(e,t,n){const[o,r,i,s,a]=Ls(e,n,[null,null,null]),[l,c,d,h,u]=Cn(t.angle,s,a),p=r+c,f=r+d,m=i+h,g=i+u,b=kn(t.stops,l||1),x=Ds(b),w=this.ctx.createLinearGradient(p,m,f,g);if(x)x.forEach(e=>w.addColorStop(Math.min(1,Math.max(0,e.stop)),e.color));else{const e=Ie(y(b,b.length-1).color);w.addColorStop(0,e),w.addColorStop(1,e)}this.path(o),this.ctx.fillStyle=w,this.ctx.fill()}renderLinearGradient(e,t,n){const[o,r,i,s,a]=Ls(e,n,[null,null,null]),[l,c,d,h,u]=Cn(t.angle,s,a),p=`lg|${t.angle}|${Math.round(s)}x${Math.round(a)}|${JSON.stringify(t.stops)}`;let f=this.patternCache.get(p);if(!f){const e=(this.canvas.ownerDocument??document).createElement("canvas");e.width=s,e.height=a;const n=e.getContext("2d");if(!n)return;const o=n.createLinearGradient(c,h,d,u);kn(t.stops,l||1).forEach(e=>o.addColorStop(e.stop,Ie(e.color))),n.fillStyle=o,n.fillRect(0,0,s,a),s>0&&a>0&&(f=this.ctx.createPattern(e,"repeat"),this.patternCache.set(p,f))}f&&this.renderRepeat(o,f,r,i)}renderRadialGradient(e,t,n){const[o,r,i,s,a]=Ls(e,n,[null,null,null]),l=0===t.position.length?[ke]:t.position,c=Ee(y(l,0),s),d=Ee(y(l,l.length-1),a);let[h,u]=Mn(t,c,d,s,a);if(0!==h&&0!==u||(h=Math.max(h,.01),u=Math.max(u,.01)),h>0&&u>0){const e=`rg|${Math.round(c)}x${Math.round(d)}|${Math.round(h)}x${Math.round(u)}|${JSON.stringify(t.stops)}`,n=kn(t.stops,h),s=Ie(y(n,n.length-1).color);let a=this.patternCache.get(e);if(!a){const n=this.canvas.ownerDocument??document,o=Bs(n,h,u,t.stops,!1);if(!o)return;a=this.ctx.createPattern(o.canvas,"no-repeat"),this.patternCache.set(e,a)}this.path(o),this.ctx.save(),this.ctx.clip(),this.ctx.fillStyle=s,this.ctx.fill(),this.ctx.translate(r+c-h,i+d-u),this.ctx.fillStyle=a,this.ctx.fillRect(0,0,2*h,2*u),this.ctx.restore()}}renderRepeatingRadialGradient(e,t,n){const[o,r,i,s,a]=Ls(e,n,[null,null,null]),l=0===t.position.length?[ke]:t.position,c=Ee(y(l,0),s),d=Ee(y(l,l.length-1),a);let[h,u]=Mn(t,c,d,s,a);if(0!==h&&0!==u||(h=Math.max(h,.01),u=Math.max(u,.01)),!(h>0&&u>0))return;const p=`rrg|${Math.round(c)}x${Math.round(d)}|${Math.round(h)}x${Math.round(u)}|${JSON.stringify(t.stops)}`;let f=this.patternCache.get(p);if(!f){const e=this.canvas.ownerDocument??document,n=Bs(e,h,u,t.stops,!0);if(!n)return;f=this.ctx.createPattern(n.canvas,"no-repeat"),this.patternCache.set(p,f)}f&&(this.path(o),this.ctx.save(),this.ctx.clip(),this.ctx.translate(r+c-h,i+d-u),this.ctx.fillStyle=f,this.ctx.fillRect(0,0,2*h,2*u),this.ctx.restore())}renderConicGradient(e,t,n){const[o,r,i,s,a]=Ls(e,n,[null,null,null]),l=0===t.position.length?[ke]:t.position,c=r+Ee(y(l,0),s),d=i+Ee(y(l,l.length-1),a),h=this.ctx.createConicGradient(t.angle-Math.PI/2,c,d);kn(t.stops,1).forEach(e=>{h.addColorStop(Math.min(1,Math.max(0,e.stop)),Ie(e.color))}),this.path(o),this.ctx.save(),this.ctx.clip(),this.ctx.fillStyle=h,this.ctx.fill(),this.ctx.restore()}renderRepeatingConicGradient(e,t,n){const[o,r,i,s,a]=Ls(e,n,[null,null,null]),l=0===t.position.length?[ke]:t.position,c=r+Ee(y(l,0),s),d=i+Ee(y(l,l.length-1),a),h=kn(t.stops,1),u=y(h,0),p=y(h,h.length-1),f=Math.max(p.stop-u.stop,.01);if(p.stop-u.stop<1e-6){const e=this.ctx.createConicGradient(t.angle-Math.PI/2,c,d);return e.addColorStop(0,Ie(p.color)),e.addColorStop(1,Ie(p.color)),this.path(o),this.ctx.save(),this.ctx.clip(),this.ctx.fillStyle=e,this.ctx.fill(),void this.ctx.restore()}const m=[],g=Math.ceil(1/f);for(let e=0;e<g;e++)for(const t of h){const n=e*f+(t.stop-u.stop);if(n>1)break;m.push({stop:n,color:Ie(t.color)})}const b=y(m,m.length-1);b&&b.stop<1&&m.push({stop:1,color:b.color});const x=this.ctx.createConicGradient(t.angle-Math.PI/2,c,d);m.forEach(e=>{x.addColorStop(Math.min(1,Math.max(0,e.stop)),e.color)}),this.path(o),this.ctx.save(),this.ctx.clip(),this.ctx.fillStyle=x,this.ctx.fill(),this.ctx.restore()}renderRepeat(e,t,n,o){this.path(e),this.ctx.fillStyle=t,this.ctx.translate(n,o),this.ctx.fill(),this.ctx.translate(-n,-o)}resizeImage(e,t,n,o){const r=(this.canvas.ownerDocument??document).createElement("canvas");r.width=Math.max(1,t),r.height=Math.max(1,n);const i=r.getContext("2d");return i?(2===o||1===o?(this.context.logger.debug("Disabling image smoothing for background image due to CSS image-rendering"),i.imageSmoothingEnabled=!1):3===o?(this.context.logger.debug("Enabling image smoothing for background image due to CSS image-rendering: smooth"),i.imageSmoothingEnabled=!0):i.imageSmoothingEnabled=this.ctx.imageSmoothingEnabled,this.ctx.imageSmoothingQuality&&(i.imageSmoothingQuality=this.ctx.imageSmoothingQuality),i.drawImage(e,0,0,e.width,e.height,0,0,t,n),r):e}path(e){Ea(this.ctx,e)}};const Ta=(e,t)=>{switch(t){case 0:return Ra(e.topLeftBorderBox,e.topLeftPaddingBox,e.topRightBorderBox,e.topRightPaddingBox);case 1:return Ra(e.topRightBorderBox,e.topRightPaddingBox,e.bottomRightBorderBox,e.bottomRightPaddingBox);case 2:return Ra(e.bottomRightBorderBox,e.bottomRightPaddingBox,e.bottomLeftBorderBox,e.bottomLeftPaddingBox);default:return Ra(e.bottomLeftBorderBox,e.bottomLeftPaddingBox,e.topLeftBorderBox,e.topLeftPaddingBox)}},Ba=(e,t)=>{const n=[];return ts(e)?n.push(e.subdivide(.5,!1)):n.push(e),ts(t)?n.push(t.subdivide(.5,!0)):n.push(t),n},Ra=(e,t,n,o)=>{const r=[];return ts(e)?r.push(e.subdivide(.5,!1)):r.push(e),ts(n)?r.push(n.subdivide(.5,!0)):r.push(n),ts(o)?r.push(o.subdivide(.5,!0).reverse()):r.push(o),ts(t)?r.push(t.subdivide(.5,!1).reverse()):r.push(t),r};var Fa=class{ctx;pathCallbacks;constructor(e,t){this.ctx=e.ctx,this.pathCallbacks=t}async renderSolidBorder(e,t,n){this.pathCallbacks.path(Ta(n,t)),this.ctx.fillStyle=Ie(e),this.ctx.fill()}async renderDoubleBorder(e,t,n,o){if(t<3)return void await this.renderSolidBorder(e,n,o);const r=((e,t)=>{switch(t){case 0:return Ra(e.topLeftBorderBox,e.topLeftBorderDoubleOuterBox,e.topRightBorderBox,e.topRightBorderDoubleOuterBox);case 1:return Ra(e.topRightBorderBox,e.topRightBorderDoubleOuterBox,e.bottomRightBorderBox,e.bottomRightBorderDoubleOuterBox);case 2:return Ra(e.bottomRightBorderBox,e.bottomRightBorderDoubleOuterBox,e.bottomLeftBorderBox,e.bottomLeftBorderDoubleOuterBox);default:return Ra(e.bottomLeftBorderBox,e.bottomLeftBorderDoubleOuterBox,e.topLeftBorderBox,e.topLeftBorderDoubleOuterBox)}})(o,n);this.pathCallbacks.path(r),this.ctx.fillStyle=Ie(e),this.ctx.fill();const i=((e,t)=>{switch(t){case 0:return Ra(e.topLeftBorderDoubleInnerBox,e.topLeftPaddingBox,e.topRightBorderDoubleInnerBox,e.topRightPaddingBox);case 1:return Ra(e.topRightBorderDoubleInnerBox,e.topRightPaddingBox,e.bottomRightBorderDoubleInnerBox,e.bottomRightPaddingBox);case 2:return Ra(e.bottomRightBorderDoubleInnerBox,e.bottomRightPaddingBox,e.bottomLeftBorderDoubleInnerBox,e.bottomLeftPaddingBox);default:return Ra(e.bottomLeftBorderDoubleInnerBox,e.bottomLeftPaddingBox,e.topLeftBorderDoubleInnerBox,e.topLeftPaddingBox)}})(o,n);this.pathCallbacks.path(i),this.ctx.fill()}async renderDashedDottedBorder(e,t,n,o,r){this.ctx.save();const i=((e,t)=>{switch(t){case 0:return Ba(e.topLeftBorderStroke,e.topRightBorderStroke);case 1:return Ba(e.topRightBorderStroke,e.bottomRightBorderStroke);case 2:return Ba(e.bottomRightBorderStroke,e.bottomLeftBorderStroke);default:return Ba(e.bottomLeftBorderStroke,e.topLeftBorderStroke)}})(o,n),s=Ta(o,n);let a,l,c,d,h;2===r&&(this.pathCallbacks.path(s),this.ctx.clip()),ts(y(s,0))?(a=y(s,0).start.x,l=y(s,0).start.y):(a=y(s,0).x,l=y(s,0).y),ts(y(s,1))?(c=y(s,1).end.x,d=y(s,1).end.y):(c=y(s,1).x,d=y(s,1).y),h=0===n||2===n?Math.abs(a-c):Math.abs(l-d),this.ctx.beginPath(),3===r?this.pathCallbacks.formatPath(i):this.pathCallbacks.formatPath(s.slice(0,2));let u=t<3?3*t:2*t,p=t<3?2*t:t;3===r&&(u=t,p=t);let f=!0;if(h<=2*u)f=!1;else if(h<=2*u+p){const e=h/(2*u+p);u*=e,p*=e}else{const e=Math.floor((h+p)/(u+p)),t=(h-e*u)/(e-1),n=(h-(e+1)*u)/e;p=n<=0||Math.abs(p-t)<Math.abs(p-n)?t:n}if(f&&(3===r?this.ctx.setLineDash([0,u+p]):this.ctx.setLineDash([u,p])),3===r?(this.ctx.lineCap="round",this.ctx.lineWidth=t):this.ctx.lineWidth=2*t+1.1,this.ctx.strokeStyle=Ie(e),this.ctx.stroke(),this.ctx.setLineDash([]),2===r){if(ts(y(s,0))){const e=y(s,3),t=y(s,0);this.ctx.beginPath(),this.pathCallbacks.formatPath([new Zi(e.end.x,e.end.y),new Zi(t.start.x,t.start.y)]),this.ctx.stroke()}if(ts(y(s,1))){const e=y(s,1),t=y(s,2);this.ctx.beginPath(),this.pathCallbacks.formatPath([new Zi(e.end.x,e.end.y),new Zi(t.start.x,t.start.y)]),this.ctx.stroke()}}this.ctx.restore()}},La=class{ctx;constructor(e){this.ctx=e}renderBorderImage(e,t,n,o,r,i,s,a,l={top:0,right:0,bottom:0,left:0}){e=e.add(-l.left,-l.top,l.left+l.right,l.top+l.bottom);const c=t.naturalWidth||t.width,d=t.naturalHeight||t.height;if(c<=0||d<=0)return;const h=Math.min("percent"===n.unit?n.top/100*d:Math.min(n.top,d),d),u=Math.min("percent"===n.unit?n.right/100*c:Math.min(n.right,c),c),p=Math.min("percent"===n.unit?n.bottom/100*d:Math.min(n.bottom,d),d),f=Math.min("percent"===n.unit?n.left/100*c:Math.min(n.left,c),c),{left:m,top:g,width:b,height:y}=e;if(b<=0||y<=0)return;const x=Math.min(r,y),w=Math.min(i,b),v=Math.min(s,y-x),k=Math.min(a,b-w);this.drawRegion(t,0,0,f,h,m,g,k,x),this.drawRegion(t,c-u,0,u,h,m+b-w,g,w,x),this.drawRegion(t,c-u,d-p,u,p,m+b-w,g+y-v,w,v),this.drawRegion(t,0,d-p,f,p,m,g+y-v,k,v);const C=[{sx:f,sy:0,sw:c-f-u,sh:h,dx:m+k,dy:g,dw:b-k-w,dh:x,repeat:o.horizontal,horizontal:!0},{sx:c-u,sy:h,sw:u,sh:d-h-p,dx:m+b-w,dy:g+x,dw:w,dh:y-x-v,repeat:o.vertical,horizontal:!1},{sx:f,sy:d-p,sw:c-f-u,sh:p,dx:m+k,dy:g+y-v,dw:b-k-w,dh:v,repeat:o.horizontal,horizontal:!0},{sx:0,sy:h,sw:f,sh:d-h-p,dx:m,dy:g+x,dw:k,dh:y-x-v,repeat:o.vertical,horizontal:!1}];for(const e of C)e.sw<=0||e.sh<=0||e.dw<=0||e.dh<=0||(0===e.repeat?this.ctx.drawImage(t,e.sx,e.sy,e.sw,e.sh,e.dx,e.dy,e.dw,e.dh):1!==e.repeat&&2!==e.repeat||this.drawRepeatedEdge(t,e,e.horizontal,2===e.repeat));n.fill&&this.drawCenterRegion(t,{sx:f,sy:h,sw:c-f-u,sh:d-h-p},{dx:m+k,dy:g+x,dw:b-k-w,dh:y-x-v},o)}drawRegion(e,t,n,o,r,i,s,a,l){o>0&&r>0&&a>0&&l>0&&this.ctx.drawImage(e,t,n,o,r,i,s,a,l)}drawRepeatedEdge(e,t,n,o){const r=n?t.sw:t.sh,i=n?t.dw:t.dh;if(r<=0||i<=0)return;let s,a;o?(a=Math.max(1,Math.round(i/r)),s=i/a):(s=r,a=Math.ceil(i/s)),this.ctx.save(),this.ctx.beginPath(),this.ctx.rect(t.dx,t.dy,t.dw,t.dh),this.ctx.clip();for(let o=0;o<a;o++){const r=o*s;n?this.ctx.drawImage(e,t.sx,t.sy,t.sw,t.sh,t.dx+r,t.dy,s,t.dh):this.ctx.drawImage(e,t.sx,t.sy,t.sw,t.sh,t.dx,t.dy+r,t.dw,s)}this.ctx.restore()}drawCenterRegion(e,t,n,o){if(t.sw<=0||t.sh<=0||n.dw<=0||n.dh<=0)return;const r=(e,t,n)=>{if(0===e)return{size:n,count:1};if(2===e){const e=Math.max(1,Math.round(n/t));return{size:n/e,count:e}}return{size:t,count:Math.max(1,Math.ceil(n/t))}},i=r(o.horizontal,t.sw,n.dw),s=r(o.vertical,t.sh,n.dh);this.ctx.save(),this.ctx.beginPath(),this.ctx.rect(n.dx,n.dy,n.dw,n.dh),this.ctx.clip();for(let o=0;o<s.count;o++)for(let r=0;r<i.count;r++)this.ctx.drawImage(e,t.sx,t.sy,t.sw,t.sh,n.dx+r*i.size,n.dy+o*s.size,i.size,s.size);this.ctx.restore()}};const Ia=/blur\((\d+(?:\.\d+)?)px\)/gi;var Pa=class{ctx;pathCallback;scale;activeEffects=[];didSave=!1;saveAtDepth=-1;constructor(e,t){this.ctx=e.ctx,this.pathCallback=t,this.scale=e.scale??1}applyEffects(e){for(;this.activeEffects.length;)this.popEffect();this.didSave=!1,this.saveAtDepth=-1;const t=e=>ps(e)||fs(e)||gs(e),n=e.reduceRight((e,n,o)=>-1!==e?e:t(n)?o:-1,-1);for(let o=0;o<e.length;o++){const r=y(e,o);t(r)&&(this.didSave||(this.ctx.save(),this.didSave=!0),o===n&&(this.saveAtDepth=this.activeEffects.length)),this.applyEffect(r)}}applyEffect(e){ps(e)?(this.ctx.translate(e.offsetX,e.offsetY),this.ctx.transform(e.matrix[0],e.matrix[1],e.matrix[2],e.matrix[3],e.matrix[4],e.matrix[5]),this.ctx.translate(-e.offsetX,-e.offsetY)):fs(e)?(this.pathCallback.path(e.path),this.ctx.clip()):gs(e)?e.applyClip(this.ctx):ms(e)?this.ctx.globalAlpha*=e.opacity:bs(e)?this.ctx.globalCompositeOperation=e.compositeOperation:ys(e)&&(this.ctx.filter=((e,t)=>1===t?e:e.replace(Ia,(e,n)=>`blur(${parseFloat(n)*t}px)`))(e.safeFilterString,this.scale)||"none",e.shadow&&(this.ctx.shadowOffsetX=e.shadow.offsetX*this.scale,this.ctx.shadowOffsetY=e.shadow.offsetY*this.scale,this.ctx.shadowBlur=e.shadow.blur*this.scale,this.ctx.shadowColor=e.shadow.color)),this.activeEffects.push(e)}popEffect(){0!==this.activeEffects.length&&(this.didSave&&this.activeEffects.length-1===this.saveAtDepth&&(this.ctx.restore(),this.didSave=!1,this.saveAtDepth=-1),this.activeEffects.pop(),this.didSave||0!==this.activeEffects.length||(this.ctx.globalAlpha=1,this.ctx.globalCompositeOperation="source-over",this.ctx.filter="none",this.ctx.shadowOffsetX=0,this.ctx.shadowOffsetY=0,this.ctx.shadowBlur=0,this.ctx.shadowColor="rgba(0, 0, 0, 0)"))}getActiveEffectCount(){return this.activeEffects.length}hasActiveEffects(){return this.activeEffects.length>0}};const Aa=(e,t)=>0===e.length?void 0:e[t%e.length]??e[0],Oa=(e,t,n,o,r)=>{const i=t.naturalWidth||t.width||r.width,s=t.naturalHeight||t.height||r.height,{width:a,height:l}=((e,t,n,o)=>{const r=e?e[0]:void 0,i=e&&e.length>1?y(e,1):void 0,s=(e,t,n)=>void 0===e||ee(e)?null:ge(e)?Ee(e,t):n,a=void 0!==(l=r)&&ee(l)?l.value:null;var l;if("contain"===a||"cover"===a){const e="contain"===a?Math.min(t.width/n,t.height/o):Math.max(t.width/n,t.height/o);return{width:n*e,height:o*e}}let c=s(r,t.width,n),d=s(i,t.height,o);return null===c&&null===d?(c=n,d=o):null===c?c=n/o*d:null===d&&(d=o/n*c),{width:c,height:d}})(Aa(n.maskSize,o),r,i,s),c=Aa(n.maskPosition,o)??[],d=r.left+Ee(y(c,0),r.width-a),h=r.top+Ee(y(c,c.length-1),r.height-l),u=Aa(n.maskRepeat,o)??0,p=0===u||2===u,f=0===u||3===u,m=p?Math.ceil((d-r.left)/a):0,g=f?Math.ceil((h-r.top)/l):0,b=p?Math.ceil((r.left+r.width-d)/a):0,x=f?Math.ceil((r.top+r.height-h)/l):0;for(let n=-g;n<=x;n++)for(let o=-m;o<=b;o++)e.drawImage(t,d+o*a,h+n*l,a,l)},Na=(e,t,n)=>{const{width:o,height:r}=n;if(o<=0||r<=0)return;if(qn(t)||Yn(t))return void((e,t,n)=>{const{width:o,height:r}=n,i=0===t.position.length?[ke]:t.position,s=Ee(y(i,0),o),a=Ee(y(i,i.length-1),r);let[l,c]=Mn(t,s,a,o,r);l=Math.max(l,.01),c=Math.max(c,.01);const d=e.canvas.ownerDocument??document,h=Bs(d,l,c,t.stops,Yn(t));h&&(e.fillStyle=h.lastColor,e.fillRect(n.left,n.top,n.width,n.height),e.drawImage(h.canvas,n.left+s-l,n.top+a-c,2*l,2*c),$s(h.canvas))})(e,t,n);let i=null;if(1===t.type||3===t.type){const s=t,[a,l,c,d,h]=Cn(s.angle||0,o,r),u=kn(s.stops,a||1);if(3===t.type){const t=Ds(u);if(!t)return e.fillStyle=Ie(y(u,u.length-1).color),void e.fillRect(n.left,n.top,o,r);i=e.createLinearGradient(n.left+l,n.top+d,n.left+c,n.top+h),t.forEach(e=>i.addColorStop(Math.min(1,Math.max(0,e.stop)),e.color))}else i=e.createLinearGradient(n.left+l,n.top+d,n.left+c,n.top+h),Ts(u).forEach(e=>i.addColorStop(e.stop,e.color))}else if(5===t.type||6===t.type){const s=t,a=kn(s.stops,1),l=6===t.type;if(l&&!Ds(a))return e.fillStyle=Ie(y(a,a.length-1).color),void e.fillRect(n.left,n.top,o,r);i=e.createConicGradient(s.angle-Math.PI/2,n.left+o/2,n.top+r/2),((l?Ds(a):null)??Ts(a)).forEach(e=>i.addColorStop(Math.min(1,Math.max(0,e.stop)),e.color))}i&&(e.fillStyle=i,e.fillRect(n.left,n.top,o,r))},za=async(e,t,n,o,r)=>{for(let i=0;i<t.length;i++){const s=y(t,i);if(0===s.type){const t=await r(s.url);t&&Oa(e,t,n,i,o)}else Na(e,s,o)}},$a=(e,t)=>{const n=t>e?t*(1+Math.pow(e/t-1,3)):t;return Math.max(0,e+n)},Ua=(e,t)=>{if(0===t)return e;const n=e.map((e,t)=>ts(e)?{x:t%2==0?e.start.x:e.end.x,y:t%2==0?e.end.y:e.start.y,rx:Math.abs(e.end.x-e.start.x),ry:Math.abs(e.end.y-e.start.y)}:{x:e.x,y:e.y,rx:0,ry:0}),o=y(n,1).x-y(n,0).x+2*t,r=y(n,3).y-y(n,0).y+2*t;if(o<=0||r<=0)return[];const i=n.map(e=>({x:$a(e.rx,t),y:$a(e.ry,t)})),s=(e,t)=>t>0?e/t:1,a=Math.min(1,s(o,y(i,0).x+y(i,1).x),s(o,y(i,3).x+y(i,2).x),s(r,y(i,0).y+y(i,3).y),s(r,y(i,1).y+y(i,2).y));return e.map((e,o)=>{const r=y(n,o),s=r.x+(1===o||2===o?t:-t),l=r.y+(o>=2?t:-t);if(!ts(e))return new Zi(s,l);const c=y(i,o).x*a,d=y(i,o).y*a;if(!c||!d)return new Zi(s,l);const h=c/r.rx,u=d/r.ry,p=e=>new Zi(s+(e.x-r.x)*h,l+(e.y-r.y)*u);return new es(p(e.start),p(e.startControl),p(e.endControl),p(e.end))})},_a=(e,t,n)=>{e.beginPath(),e.rect(t.left,t.top,t.width,t.height),n.length&&(Sa(e,n),e.closePath())},ja=(e,t)=>{const n=t.spread.number,o=Rs(e.container);return o.width-2*n<=0||o.height-2*n<=0?[]:Ua(is(e.curves),-n)},Ga=async(e,t,n,o,r)=>{if(o.signal?.aborted)throw new DOMException("The operation was aborted.","AbortError");if(Le(n.color))return;const i=n.spread.number;if(!n.inset&&(t.container.bounds.width+2*i<=0||t.container.bounds.height+2*i<=0))return;const s="function"==typeof e.getTransform,a=s?e.getTransform():{a:o.scale,b:0,c:0,d:o.scale,e:-o.x*o.scale,f:-o.y*o.scale},l=((e,t,n)=>{const{a:o,b:r,c:i,d:s,e:a,f:l}=e;if(![o,r,i,s,a,l,t,n].every(Number.isFinite))return null;const c=o*s-r*i;if(!Number.isFinite(c)||0===c)return null;const d=(e,t)=>({x:(s*(e-a)-i*(t-l))/c,y:(-r*(e-a)+o*(t-l))/c}),h=[d(0,0),d(t,0),d(t,n),d(0,n)];if(!h.every(e=>Number.isFinite(e.x)&&Number.isFinite(e.y)))return null;const u=Math.min(...h.map(e=>e.x)),p=Math.min(...h.map(e=>e.y)),f=Math.max(...h.map(e=>e.x)),m=Math.max(...h.map(e=>e.y)),b=o*o+r*r,y=i*i+s*s,x=o*i+r*s,w=Math.sqrt((b+y+Math.hypot(b-y,2*x))/2);if(!Number.isFinite(w)||w<=0)return null;const v=1e-10*Math.max(b,y);return{matrix:e,viewport:new g(u,p,f-u,m-p),scale:w,uniform:Math.abs(b-y)<=v&&Math.abs(x)<=v}})(a,e.canvas.width,e.canvas.height);if(!l)return;const{viewport:c}=l;if(n.blur.number>0&&(n.inset||!l.uniform)&&await(async(e,t,n,o,r,i)=>{const s=Rs(t.container),a=n.blur.number/2,l=Math.ceil(3*a)+2,c=n.spread.number,d=da((n.inset?s:t.container.bounds.add(n.offsetX.number-c,n.offsetY.number-c,2*c,2*c)).add(-l,-l,2*l,2*l),i.viewport,l,i.scale);if(!d.width||!d.height)return!0;const h=Math.ceil(d.width*i.scale),u=Math.ceil(d.height*i.scale),p=sa(r,h,u);if(!p)return!1;let f,m;try{f=e.canvas.ownerDocument.createElement("canvas"),f.width=h,f.height=u;const r=f.getContext("2d");if(!r)return!1;r.scale(i.scale,i.scale),r.translate(-d.left,-d.top);const s=n.inset?ja(t,n):Ua(rs(t.curves),c),l=Qi(s,n.offsetX.number,n.offsetY.number,0,0);n.inset?_a(r,d,l):Ea(r,l),r.fillStyle=Ie(n.color),r.fill(n.inset?"evenodd":"nonzero"),m=await Js(f,{functions:[{kind:"blur",value:a}]},1,i.scale,o.signal),e.save();try{n.inset?(Ea(e,is(t.curves)),e.clip()):(_a(e,i.viewport,rs(t.curves)),e.clip("evenodd")),e.drawImage(m,d.left,d.top,m.width/i.scale,m.height/i.scale)}finally{e.restore()}return!0}catch(e){if(!(e instanceof zs))throw e;return!1}finally{m&&m!==f&&$s(m),f&&$s(f),r.pixels-=p}})(e,t,n,o,r,l))return;const d=Rs(t.container);e.save();try{if(n.inset&&0===n.blur.number)return Ea(e,is(t.curves)),e.clip(),_a(e,d,Qi(ja(t,n),n.offsetX.number,n.offsetY.number,0,0)),e.fillStyle=Ie(n.color),void e.fill("evenodd");const o=Math.ceil(2*n.blur.number+Math.abs(i)+Math.abs(n.offsetX.number)+Math.abs(n.offsetY.number))+2,r=n.inset?d.add(-o,-o,2*o,2*o):t.container.bounds.add(-i,-i,2*i,2*i),{a:h,b:u,c:p,d:f,e:m,f:g}=a,b=r.left+r.width,y=r.top+r.height,x=Math.max(h*r.left+p*r.top+m,h*b+p*r.top+m,h*b+p*y+m,h*r.left+p*y+m),w=Math.max(1e4,x+o*l.scale+2);n.inset?(Ea(e,is(t.curves)),e.clip()):(_a(e,c,rs(t.curves)),e.clip("evenodd")),s?e.setTransform(h,u,p,f,m-w,g):e.translate(-w/h,0),n.inset?_a(e,r,ja(t,n)):Ea(e,Ua(rs(t.curves),i)),s?e.setTransform(h,u,p,f,m,g):e.translate(w/h,0),e.shadowOffsetX=w+h*n.offsetX.number+p*n.offsetY.number,e.shadowOffsetY=u*n.offsetX.number+f*n.offsetY.number,e.shadowBlur=n.blur.number*l.scale,e.shadowColor=Ie(n.color),e.fillStyle="rgb(0, 0, 0)",e.fill(n.inset?"evenodd":"nonzero")}finally{e.restore()}};var Wa=class{ctx;context;scale;createFontStyle;constructor(e){this.ctx=e.ctx,this.context=e.context,this.scale=e.scale,this.createFontStyle=e.createFontStyle}async render(e){const t=e.container,n=t.styles,o=t.bounds,r=this.scale;if(o.width<=0||o.height<=0)return;const i=this.ctx.canvas.ownerDocument??document,s=Math.ceil(o.width),a=Math.ceil(o.height),l=Math.ceil(o.width*r),c=Math.ceil(o.height*r),d=this.createLayer(i,l,c);if(!d)return;let h=null,u=null,p=null;try{d.ctx.scale(r,r);const[f]=this.createFontStyle(n);d.ctx.font=f??"",d.ctx.textBaseline="alphabetic",d.ctx.textAlign="left",d.ctx.direction=1===n.direction?"rtl":"ltr";const m=xa(d.ctx,n.fontSize.number),g=new Da({ctx:d.ctx,context:this.context,canvas:d.canvas,options:{width:s,height:a,scale:1}});Le(n.backgroundColor)||(d.ctx.fillStyle=Ie(n.backgroundColor),d.ctx.fillRect(0,0,s,a)),d.ctx.save(),d.ctx.translate(-o.left,-o.top),await g.renderBackgroundImage(t),d.ctx.restore();const b={bounds:o,baseline:m,letterSpacing:n.letterSpacing,writingMode:n.writingMode};if(h=this.createGlyphLayer(i,l,c,d.ctx),!h)return;const y=!!n.webkitTextStrokeWidth;y&&(h.ctx.strokeStyle=Ie(n.webkitTextStrokeColor),h.ctx.lineWidth=n.webkitTextStrokeWidth,h.ctx.lineJoin=ka());for(const e of t.textNodes)for(const t of e.textBounds)this.drawGlyphs(h,t,b,(e,t,n,o)=>{e.fillText(t,n,o),y&&e.strokeText(t,n,o)});if(d.ctx.globalCompositeOperation="destination-in",d.ctx.drawImage(h.canvas,0,0,s,a),p=this.renderShadowSilhouettes(e,i,l,c,d.ctx,n,b),p){if(u=this.createLayer(i,l,c),!u)return;for(const e of p)u.ctx.drawImage(e,0,0);u.ctx.drawImage(d.canvas,0,0),this.ctx.drawImage(u.canvas,o.left,o.top,o.width,o.height)}else this.ctx.drawImage(d.canvas,o.left,o.top,o.width,o.height)}finally{$s(d.canvas),h&&$s(h.canvas),u&&$s(u.canvas),p&&p.forEach($s)}}createLayer(e,t,n){const o=e.createElement("canvas");o.width=t,o.height=n;const r=o.getContext("2d");return r?{canvas:o,ctx:r}:null}createGlyphLayer(e,t,n,o){const r=this.createLayer(e,t,n);return r?(r.ctx.scale(this.scale,this.scale),r.ctx.font=o.font,r.ctx.textBaseline=o.textBaseline,r.ctx.textAlign=o.textAlign,r.ctx.direction=o.direction,r.ctx.fillStyle="#000",r):null}drawGlyphs(e,t,n,o){const r=t.bounds.left-n.bounds.left,i=t.bounds.top-n.bounds.top+n.baseline,{letterSpacing:s,writingMode:a}=n;if(s<=0)return void o(e.ctx,t.text,r,i);if(Qo(a))return void o(e.ctx,t.text,r,i);let l=r;for(const n of Mi(t.text))o(e.ctx,n,l,i),l+=e.ctx.measureText(n).width+s}renderShadowSilhouettes(e,t,n,o,r,i,s){const a=i.textShadow;if(!a.length)return null;const l=[];for(let i=a.length-1;i>=0;i--){const c=y(a,i),d=this.createGlyphLayer(t,n,o,r);if(d){d.ctx.shadowColor=Ie(c.color),d.ctx.shadowOffsetX=c.offsetX.number*this.scale,d.ctx.shadowOffsetY=c.offsetY.number*this.scale,d.ctx.shadowBlur=c.blur.number*this.scale,d.ctx.fillStyle=Ie(c.color);for(const t of e.container.textNodes)for(const e of t.textBounds)this.drawGlyphs(d,e,s,(e,t,n,o)=>{e.fillText(t,n,o)});l.push(d.canvas)}}return l.length?l:null}},Va=class e{surfaceRoot;surfaceBudget;canvas;ctx;context;options;backgroundRenderer;borderRenderer;borderImageRenderer;effectsRenderer;textRenderer;textClipRenderer;legacySubtree=!1;constructor(e,t,n,o={pixels:0}){this.surfaceRoot=n,this.surfaceBudget=o,this.context=e,this.options=t,this.canvas=t.canvas?t.canvas:e.resourceDocument.createElement("canvas");const r=this.canvas.getContext("2d");if(!r){if(t.canvas||$s(this.canvas),n)throw new zs("Filter surface canvas is unavailable");throw new Error("Failed to get 2D rendering context from canvas")}this.ctx=r,t.canvas||(this.canvas.width=Math.floor(t.width*t.scale),this.canvas.height=Math.floor(t.height*t.scale),this.canvas.style.width=`${t.width}px`,this.canvas.style.height=`${t.height}px`),this.ctx.scale(this.options.scale,this.options.scale),this.ctx.translate(-t.x,-t.y),this.ctx.textBaseline="bottom",void 0!==t.imageSmoothing&&(this.ctx.imageSmoothingEnabled=t.imageSmoothing),t.imageSmoothingQuality&&(this.ctx.imageSmoothingQuality=t.imageSmoothingQuality),this.backgroundRenderer=new Da({ctx:this.ctx,context:this.context,canvas:this.canvas,options:{width:t.width,height:t.height,scale:t.scale}}),this.borderRenderer=new Fa({ctx:this.ctx},{path:e=>this.path(e),formatPath:e=>this.formatPath(e)}),this.borderImageRenderer=new La(this.ctx),this.effectsRenderer=new Pa({ctx:this.ctx,scale:t.scale},{path:e=>this.path(e)}),this.textRenderer=new Ca({ctx:this.ctx,options:{scale:t.scale}}),this.textClipRenderer=new Wa({ctx:this.ctx,context:this.context,scale:t.scale,createFontStyle:e=>this.textRenderer.createFontStyle(e)}),this.context.logger.debug(`Canvas renderer initialized (${t.width}x${t.height}) with scale ${t.scale}`)}async renderStack(e){const t=e.element.container.styles;if(t.isVisible()){const n=Gs(t.filter),o=null!==n&&n.functions.length>0,r=t.maskImage.length>0,i=t.webkitBoxReflect,s=t.mixBlendMode!==pr.NORMAL,a=i&&!ua(this.ancestorTransform(e.element));if(a&&this.context.logger.warn("-webkit-box-reflect under an ancestor transform is not supported; the reflection is skipped for this subtree"),e.element!==this.surfaceRoot&&!this.legacySubtree&&!a&&(r||i||s||null!==n&&(o||t.opacity<1))&&this.canComposite(e.element)){if(!await this.renderCompositedStack(e,n,r,i,s)){this.legacySubtree=!0;try{await this.renderStackContent(e)}finally{this.legacySubtree=!1}}return}await this.renderStackContent(e)}}canComposite(e){const t=e=>{const t=e.styles;return 0===t.clipPath.type&&!Vt(t.display,2048)&&null!==Gs(t.filter)},n=e=>t(e)&&e.elements.every(n);let o=e.parent;for(;o&&o!==this.surfaceRoot;){if(!t(o.container))return!1;o=o.parent}return n(e.container)}ancestorTransform(e){const t=[];let n=e;for(;n&&n!==this.surfaceRoot;){for(const e of n.effects)ps(e)&&t.push(e);n=n.parent}if(0===t.length)return ha;let o=ha;for(let e=t.length-1;e>=0;e--){const n=y(t,e),r=pa(pa([1,0,0,1,n.offsetX,n.offsetY],n.matrix),[1,0,0,1,-n.offsetX,-n.offsetY]);o=pa(o,r)}return o}async renderCompositedStack(t,n,o,r,i=!1){const s=this.options.signal;if(s?.aborted)throw new DOMException("The operation was aborted.","AbortError");const a=t.element.container,l=this.ancestorTransform(t.element),c=t.element.effects.filter(ps);let d=l;for(const e of c)d=pa(d,pa(pa([1,0,0,1,e.offsetX,e.offsetY],e.matrix),[1,0,0,1,-e.offsetX,-e.offsetY]));const h=ca(a),u=da(ua(d)?h:ma(d,h),new g(this.options.x,this.options.y,this.options.width,this.options.height),n?Ks(n,a.filterReferences):0,this.options.scale);if(!u.width||!u.height)return!0;const p=sa(this.surfaceBudget,Math.ceil(u.width*this.options.scale),Math.ceil(u.height*this.options.scale));if(!p)return this.context.logger.warn("Filter surface budget exceeded; mask/filter/blend effects are dropped for this subtree"),!1;const f=ua(l)||!o?u:((e,t)=>{const n=(e=>{const t=e[0]*e[3]-e[1]*e[2];if(!Number.isFinite(t)||0===t)return null;const n=1/t;return[e[3]*n,-e[1]*n,-e[2]*n,e[0]*n,(e[2]*e[5]-e[3]*e[4])*n,(e[1]*e[4]-e[0]*e[5])*n]})(e);return n?ma(n,t):null})(l,u)??u,m={...this.options,canvas:void 0,backgroundColor:null,x:f.left,y:f.top,width:f.width,height:f.height};let b,y;try{b=new e(this.context,m,t.element,this.surfaceBudget),await b.renderStackContent(t),b.effectsRenderer.applyEffects([]),n&&(y=await Js(b.canvas,n,a.styles.opacity,m.scale,s,{references:a.filterReferences,origin:{x:a.bounds.left-f.left,y:a.bounds.top-f.top}}));const l=y??b.canvas;if(o&&await this.applyMask(l,t.element.container.styles,f,a.bounds,c),s?.aborted)throw new DOMException("The operation was aborted.","AbortError");const d=t.element.effects,h=t.element.getEffects(4,this.surfaceRoot).filter(e=>!(d.includes(e)&&(ys(e)||ms(e)||bs(e)||fs(e)||ps(e))));return this.effectsRenderer.applyEffects(h),i?(this.ctx.save(),this.ctx.globalCompositeOperation=t.element.container.styles.mixBlendMode,this.ctx.drawImage(l,m.x,m.y,l.width/m.scale,l.height/m.scale),this.ctx.restore()):this.ctx.drawImage(l,m.x,m.y,l.width/m.scale,l.height/m.scale),r&&await this.drawReflection(l,t.element.container.bounds,u,r),!0}catch(e){if(!(e instanceof zs))throw e;return this.context.logger.info(`${e.message}; using the existing renderer`),!1}finally{b&&$s(b.canvas),y&&$s(y),this.surfaceBudget.pixels-=p}}async applyMask(e,t,n,o,r){const i=e.getContext("2d");if(!i)return;const s=this.context.resourceDocument.createElement("canvas");s.width=e.width,s.height=e.height;const a=s.getContext("2d");if(!a)return void $s(s);a.scale(this.options.scale,this.options.scale),a.translate(-n.left,-n.top);for(let e=r.length-1;e>=0;e--){const t=y(r,e);a.translate(t.offsetX,t.offsetY),a.transform(...t.matrix),a.translate(-t.offsetX,-t.offsetY)}const l={left:o.left,top:o.top,width:o.width,height:o.height};try{await za(a,t.maskImage,t,l,async e=>await this.context.cache.match(e))}catch(e){return this.context.logger.error(`Error rendering mask-image: ${e instanceof Error?e.message:e}`),void $s(s)}i.save();try{i.setTransform(1,0,0,1,0,0),i.globalCompositeOperation="destination-in",i.drawImage(s,0,0)}finally{i.restore(),$s(s)}}async drawReflection(e,t,n,o){const r=this.options.scale,i=Math.ceil(t.width*r),s=Math.ceil(t.height*r);if(i<=0||s<=0)return;const a=sa(this.surfaceBudget,i,s);if(!a)return;let l,c;try{l=this.context.resourceDocument.createElement("canvas"),l.width=i,l.height=s;const a=l.getContext("2d");if(!a)return;const d=Math.round((t.left-n.left)*r),h=Math.round((t.top-n.top)*r),u="left"===o.direction||"right"===o.direction;a.save();try{u?(a.translate(i,0),a.scale(-1,1)):(a.translate(0,s),a.scale(1,-1)),a.drawImage(e,-d,-h)}finally{a.restore()}if(o.mask){c=this.context.resourceDocument.createElement("canvas"),c.width=i,c.height=s;const e=c.getContext("2d");if(e){e.scale(r,r),await za(e,[o.mask],{maskPosition:[],maskRepeat:[],maskSize:[]},{left:0,top:0,width:t.width,height:t.height},async e=>await this.context.cache.match(e)),a.save();try{u?(a.translate(i,0),a.scale(-1,1)):(a.translate(0,s),a.scale(1,-1)),a.globalCompositeOperation="destination-in",a.drawImage(c,0,0,i,s)}finally{a.restore()}}}const p=o.offset;let f=t.left,m=t.top;"below"===o.direction?m=t.top+t.height+p:"above"===o.direction?m=t.top-t.height-p:f="right"===o.direction?t.left+t.width+p:t.left-t.width-p,this.ctx.save();try{this.ctx.filter="none",this.ctx.drawImage(l,f,m,t.width,t.height)}finally{this.ctx.restore()}}finally{l&&$s(l),c&&$s(c),this.surfaceBudget.pixels-=a}}async renderNode(e){e.container.debugRender,e.container.styles.isVisible()&&(await this.renderNodeBackgroundAndBorders(e),await this.renderNodeContent(e))}renderReplacedElement(e,t,n){const o=n.naturalWidth||e.intrinsicWidth,r=n.naturalHeight||e.intrinsicHeight;if(n&&o>0&&r>0){const i=Fs(e),s=is(t);this.path(s),this.ctx.save(),this.ctx.clip();const{sx:a,sy:l,sw:c,sh:d,dx:h,dy:u,dw:p,dh:f}=((e,t,n,o,r)=>{let i=0,s=0,a=e,l=t,c=n.left,d=n.top,h=n.width,u=n.height;const p=h/u,f=a/l,m=r?Ee(r[0],1):.5,g=r?Ee(r[1],1):.5;return 2===o?f>p?(u=h/f,d+=(n.height-u)*g):(h=u*f,c+=(n.width-h)*m):4===o?f>p?(a=l*p,i+=(e-a)*m):(l=a/p,s+=(t-l)*g):8===o?(a>h?(i+=(a-h)*m,a=h):(c+=(h-a)*m,h=a),l>u?(s+=(l-u)*g,l=u):(d+=(u-l)*g,u=l)):16===o&&((f>p?h:u*f)*(f>p?h/f:u)<Math.min(a,h)*Math.min(l,u)?f>p?(u=h/f,d+=(n.height-u)*g):(h=u*f,c+=(n.width-h)*m):(a>h?(i+=(a-h)*m,a=h):(c+=(h-a)*m,h=a),l>u?(s+=(l-u)*g,l=u):(d+=(u-l)*g,u=l))),{sx:i,sy:s,sw:a,sh:l,dx:c,dy:d,dw:h,dh:u}})(o,r,i,e.styles.objectFit,e.styles.objectPosition);this.ctx.drawImage(n,a,l,c,d,h,u,p,f),this.ctx.restore()}}async renderNodeContent(t){this.effectsRenderer.applyEffects(t.getEffects(4,this.surfaceRoot));const n=t.container,o=t.curves,r=n.styles,i=Fs(n);for(const e of n.textNodes)await this.textRenderer.renderTextNode(e,r,i);await async function(e,t,n,o,r,i,s,a){if(r instanceof Fi)try{const n=await t.cache.match(r.src),o=e.imageSmoothingEnabled;2===s.imageRendering||1===s.imageRendering?e.imageSmoothingEnabled=!1:3===s.imageRendering&&(e.imageSmoothingEnabled=!0),a(r,i,n),e.imageSmoothingEnabled=o}catch(e){t.logger.error(`Error loading image ${r.src}`)}if(r instanceof Li&&a(r,i,r.canvas),r instanceof Pi)try{a(r,i,await t.cache.match(r.svg))}catch(e){t.logger.error(`Error loading svg ${r.svg.substring(0,255)}`)}if(r instanceof ji&&r.tree){const i=await o(t,{scale:n.scale,backgroundColor:r.backgroundColor,x:0,y:0,width:r.width,height:r.height}).render(r.tree);r.width&&r.height&&e.drawImage(i,0,0,r.width,r.height,r.bounds.left,r.bounds.top,r.bounds.width,r.bounds.height)}}(this.ctx,this.context,{scale:this.options.scale,backgroundColor:this.options.backgroundColor,x:this.options.x,y:this.options.y,width:this.options.width,height:this.options.height},(t,n)=>new e(t,n,void 0,this.surfaceBudget),n,o,r,(e,t,n)=>this.renderReplacedElement(e,t,n)),function(e,t,n,o,r){if(o instanceof $i){const t=Math.min(o.bounds.width,o.bounds.height);"checkbox"===o.type&&o.checked?(e.save(),n([new Zi(o.bounds.left+.39363*t,o.bounds.top+.79*t),new Zi(o.bounds.left+.16*t,o.bounds.top+.5549*t),new Zi(o.bounds.left+.27347*t,o.bounds.top+.44071*t),new Zi(o.bounds.left+.39694*t,o.bounds.top+.5649*t),new Zi(o.bounds.left+.72983*t,o.bounds.top+.23*t),new Zi(o.bounds.left+.84*t,o.bounds.top+.34085*t),new Zi(o.bounds.left+.39363*t,o.bounds.top+.79*t)]),e.fillStyle=Ie(o.styles.accentColor??7733247),e.fill(),e.restore()):"radio"===o.type&&o.checked&&(e.save(),e.beginPath(),e.arc(o.bounds.left+t/2,o.bounds.top+t/2,t/4,0,2*Math.PI,!0),e.fillStyle=Ie(o.styles.accentColor??7733247),e.fill(),e.restore())}if((e=>e instanceof _i||e instanceof Ui||e instanceof $i&&"radio"!==e.type&&"checkbox"!==e.type)(o)&&o.value.length){const[i]=t.createFontStyle(r);e.font=i??"";const s=Ee(r.fontSize,0),{baseline:a,height:l}=ya(e,s);e.fillStyle=o instanceof $i&&o.isPlaceholder?Ie(1970632191):Ie(r.color),e.textBaseline="alphabetic",e.textAlign=(e=>{switch(e){case 1:return"center";case 2:return"right";default:return"left"}})(o.styles.textAlign);const c=Fs(o),d=o instanceof $i?((e,t,n)=>e.height<n?new g(e.left,t.top,e.width,t.height):e)(c,Rs(o),l):c;let h=0;switch(o.styles.textAlign){case 1:h+=c.width/2;break;case 2:h+=c.width}let u=0;o instanceof $i&&(u=(c.height-l)/2);const p=c.add(h,u,0,0);e.save(),n([new Zi(d.left,d.top),new Zi(d.left+d.width,d.top),new Zi(d.left+d.width,d.top+d.height),new Zi(d.left,d.top+d.height)]),e.clip();const f=((e,t,n,o)=>{const r=[],i=t.split("\n");for(const t of i){if(o){r.push(t);continue}const i=t.split(/(\s+)/);let s="";for(const t of i){const o=s+t;e.measureText(o).width<=n||""===s?s=o:(r.push(s),s=t)}r.push(s)}return r})(e,o.value,c.width,"pre"===r.whiteSpace||"nowrap"===r.whiteSpace),m=Lo(r.lineHeight,s);f.forEach((n,o)=>{let i=p.left;const s=e.measureText(n).width;switch(r.textAlign){case 1:i+=(c.width-s)/2;break;case 2:i+=c.width-s}const l=new g(i,p.top+o*m,0,0);t.renderTextWithLetterSpacing(new ki(n,l),r.letterSpacing,a,r.writingMode)}),e.restore(),e.textBaseline="alphabetic",e.textAlign="left"}}(this.ctx,this.textRenderer,this.path.bind(this),n,r),await async function(e,t,n,o,r,i){if(Vt(r.styles.display,2048))if(null!==r.styles.listStyleImage){const n=r.styles.listStyleImage;if(0===n.type){const o=n.url;try{const n=await t.cache.match(o),s=Ee(i.fontSize,0),a=n?.naturalWidth||n.width,l=n?.naturalHeight||n.height;if(a<=0||l<=0)return;const c=Math.min(s/a,s/l),d=a*c,h=l*c,u=r.bounds.top+Ee(r.styles.paddingTop,r.bounds.width)+Lo(i.lineHeight,i.fontSize.number)/2;e.drawImage(n,r.bounds.left-(d+10),u-h/2,d,h)}catch(e){t.logger.error(`Error loading list-style-image ${o}`)}}}else if(o.listValue&&-1!==r.styles.listStyleType){const t=r.styles.listStyleType;if(0===t||1===t||2===t){const n=.45*i.fontSize.number,o=r.bounds.left-.9*n,s=r.bounds.top+Ee(r.styles.paddingTop,r.bounds.width)+Lo(i.lineHeight,i.fontSize.number)/2;e.save(),e.fillStyle=Ie(i.color),e.beginPath(),2===t?e.rect(o-n/2,s-n/2,n,n):(e.arc(o,s,n/2,0,2*Math.PI),1===t&&(e.strokeStyle=Ie(i.color),e.lineWidth=.18*n)),1===t?e.stroke():e.fill(),e.restore()}else{const[t]=n.createFontStyle(i);e.font=t??"",e.fillStyle=Ie(i.color),e.textBaseline="middle",e.textAlign="right";const s=new g(r.bounds.left,r.bounds.top+Ee(r.styles.paddingTop,r.bounds.width),r.bounds.width,Lo(i.lineHeight,i.fontSize.number)/2+1);n.renderTextWithLetterSpacing(new ki(o.listValue,s),i.letterSpacing,Lo(i.lineHeight,i.fontSize.number)/2+2,i.writingMode),e.textBaseline="bottom",e.textAlign="left"}}}(this.ctx,this.context,this.textRenderer,t,n,r)}async renderStackContent(e){e.element.container.debugRender;const t=this.options.signal;await this.renderNodeBackgroundAndBorders(e.element);for(const n of e.negativeZIndex){if(t?.aborted)throw new DOMException("The operation was aborted.","AbortError");await this.renderStack(n)}if(t?.aborted)throw new DOMException("The operation was aborted.","AbortError");await this.renderNodeContent(e.element);for(const t of e.nonInlineLevel)await this.renderNode(t);for(const n of e.nonPositionedFloats){if(t?.aborted)throw new DOMException("The operation was aborted.","AbortError");await this.renderStack(n)}for(const n of e.nonPositionedInlineLevel){if(t?.aborted)throw new DOMException("The operation was aborted.","AbortError");await this.renderStack(n)}for(const t of e.inlineLevel)await this.renderNode(t);for(const n of e.zeroOrAutoZIndexOrTransformedOrOpacity){if(t?.aborted)throw new DOMException("The operation was aborted.","AbortError");await this.renderStack(n)}for(const n of e.positiveZIndex){if(t?.aborted)throw new DOMException("The operation was aborted.","AbortError");await this.renderStack(n)}}path(e){Ea(this.ctx,e)}formatPath(e){Sa(this.ctx,e)}async renderSurfaceBoxShadow(e,t){const n=t.spread.number,o=t.blur.number/2,r=Math.ceil(3*o)+1,i=e.container.bounds.add(-n,-n,2*n,2*n);if(i.width<=0||i.height<=0)return;const s=this.options.scale,a=da(i.add(-r,-r,2*r,2*r),new g(this.options.x-t.offsetX.number,this.options.y-t.offsetY.number,this.options.width,this.options.height),r,s);if(!a.width||!a.height)return;const l=Math.ceil(a.width*s),c=Math.ceil(a.height*s),d=sa(this.surfaceBudget,l,c);if(!d)throw new zs("Box shadow surface budget exceeded");let h,u;try{h=this.context.resourceDocument.createElement("canvas"),h.width=l,h.height=c;const r=h.getContext("2d");if(!r)throw new zs("Box shadow surface canvas is unavailable");r.scale(s,s),r.translate(-a.left,-a.top),Ea(r,Qi(rs(e.curves),-n,-n,2*n,2*n)),r.fillStyle=Ie(t.color),r.fill(),u=await Js(h,{functions:[{kind:"blur",value:o}]},1,s,this.options.signal),this.ctx.save();try{this.ctx.beginPath(),this.ctx.rect(this.options.x,this.options.y,this.options.width,this.options.height),Sa(this.ctx,rs(e.curves)),this.ctx.closePath(),this.ctx.clip("evenodd"),this.ctx.drawImage(u,a.left+t.offsetX.number,a.top+t.offsetY.number,u.width/s,u.height/s)}finally{this.ctx.restore()}}finally{h&&$s(h),u&&$s(u),this.surfaceBudget.pixels-=d}}async renderNodeBackgroundAndBorders(e){this.effectsRenderer.applyEffects(e.getEffects(2,this.surfaceRoot)),!this.surfaceRoot&&e.container.styles.backdropFilter&&await this.renderBackdropFilter(e);const t=e.container.styles,n=!Le(t.backgroundColor)||t.backgroundImage.length,o=Ha(t),r=[{style:t.borderTopStyle,color:t.borderTopColor,width:t.borderTopWidth},{style:t.borderRightStyle,color:t.borderRightColor,width:t.borderRightWidth},{style:t.borderBottomStyle,color:t.borderBottomColor,width:t.borderBottomWidth},{style:t.borderLeftStyle,color:t.borderLeftColor,width:t.borderLeftWidth}],i=Os(t.backgroundClip,0),s=qa(i,e.curves);if(n||t.boxShadow.length){o&&e.container.textNodes.length>0?await this.textClipRenderer.render(e):(this.ctx.save(),this.path(s),this.ctx.clip(),Le(t.backgroundColor)||(this.ctx.fillStyle=Ie(t.backgroundColor),this.ctx.fill()),await this.backgroundRenderer.renderBackgroundImage(e.container),this.ctx.restore());for(const n of t.boxShadow.slice(0).reverse())!this.surfaceRoot||n.inset?await Ga(this.ctx,e,n,this.options,this.surfaceBudget):await this.renderSurfaceBoxShadow(e,n)}if(t.borderImageSource){const n=t.borderImageSource,o=e.container.bounds,r=[Math.max(0,t.borderTopWidth),Math.max(0,t.borderRightWidth),Math.max(0,t.borderBottomWidth),Math.max(0,t.borderLeftWidth)];let i=null;if(0===n.type){const e=n.url;try{i=await this.context.cache.match(e)??null}catch(t){this.context.logger.error(`Error loading border-image ${e}`)}}else i=this.rasterizeGradientSource(n,o);if(i){const e=((e,t)=>{const n=e?[e.top,e.right,e.bottom,e.left]:null,o=e=>{const o=n?n[e]:null;return o?"number"===o.kind?(t[e]??0)*(o.value??0):o.value??0:0};return{top:o(0),right:o(1),bottom:o(2),left:o(3)}})(t.borderImageOutset,r),n=o.add(-e.left,-e.top,e.left+e.right,e.top+e.bottom),s=((e,t,n)=>{const o=e?[e.top,e.right,e.bottom,e.left]:null;return[0,1,2,3].map(e=>{const r=o?o[e]:null,i=t[e]??0;return r?"auto"===r.kind?i:"number"===r.kind?i*(r.value??1):"length"===r.kind?r.value??0:(r.value??0)/100*(0===e||2===e?n.height:n.width):i})})(t.borderImageWidth,r,n);this.borderImageRenderer.renderBorderImage(o,i,t.borderImageSlice,t.borderImageRepeat,s[0],s[1],s[2],s[3],e)}return}let a=0;for(const t of r){if(0!==t.style&&!Le(t.color)&&t.width>0){const n=async()=>{2===t.style?await this.borderRenderer.renderDashedDottedBorder(t.color,t.width,a,e.curves,2):3===t.style?await this.borderRenderer.renderDashedDottedBorder(t.color,t.width,a,e.curves,3):4===t.style?await this.borderRenderer.renderDoubleBorder(t.color,t.width,a,e.curves):await this.borderRenderer.renderSolidBorder(t.color,a,e.curves)},o=e.container.legendBounds;if(0===a&&o){const t=e.container.bounds,r=o.left-t.left,i=o.left+o.width-t.left;r>0&&(this.ctx.save(),this.ctx.beginPath(),this.ctx.rect(t.left,t.top,r,t.height),this.ctx.clip(),await n(),this.ctx.restore());const s=t.left+i,a=t.width-i;a>0&&(this.ctx.save(),this.ctx.beginPath(),this.ctx.rect(s,t.top,a,t.height),this.ctx.clip(),await n(),this.ctx.restore())}else await n()}a++}this.renderOutline(e)}renderOutline(e){const t=e.container.styles;if(0===t.outlineStyle||1===t.outlineStyle)return;const n=Math.max(0,t.outlineWidth);if(n<=0)return;const o=t.outlineColor??t.color;if(Le(o))return;const r=Math.max(0,t.outlineOffset)+n/2,i=Qi(rs(e.curves),-r,-r,2*r,2*r);this.ctx.save();try{this.ctx.strokeStyle=Ie(o),this.ctx.lineWidth=n,3===t.outlineStyle?this.ctx.setLineDash([3*n,3*n]):4===t.outlineStyle&&this.ctx.setLineDash([n,2*n]),this.path(i),this.ctx.stroke()}finally{this.ctx.restore()}}rasterizeGradientSource(e,t){const n=Math.max(1,Math.ceil(t.width)),o=Math.max(1,Math.ceil(t.height)),r=(this.ctx.canvas.ownerDocument??document).createElement("canvas");r.width=n,r.height=o;const i=r.getContext("2d");if(!i)return null;if(1===e.type||3===e.type){const t=e,[s,a,l,c,d]=Cn(t.angle,n,o),h=kn(t.stops,s||n),u=3===e.type,p=u?Ds(h):null,f=i.createLinearGradient(a,l,c,d);if(p)p.forEach(e=>{f.addColorStop(Math.min(1,Math.max(0,e.stop)),e.color)});else if(u){const e=Ie(y(h,h.length-1).color);f.addColorStop(0,e),f.addColorStop(1,e)}else Ts(h).forEach(e=>{f.addColorStop(e.stop,e.color)});return i.fillStyle=f,i.fillRect(0,0,n,o),r}if(2===e.type||4===e.type){const t=e,s=0===t.position.length?[ke]:t.position,a=Ee(y(s,0),n),l=Ee(y(s,s.length-1),o),[c,d]=Mn(t,a,l,n,o);if(c<=0||d<=0)return null;const h=this.ctx.canvas.ownerDocument??document,u=Bs(h,c,d,t.stops,4===e.type);return u?(i.fillStyle=u.lastColor,i.fillRect(0,0,n,o),i.drawImage(u.canvas,a-c,l-d,2*c,2*d),$s(u.canvas),r):null}if(5===e.type||6===e.type){const t=e,s=Ee(y(t.position,0),n),a=Ee(y(t.position,1),o),l=i.createConicGradient(t.angle-Math.PI/2,s,a);let c;if(6===e.type){const e=kn(t.stops,1),n=y(e,0),o=y(e,e.length-1),r=Math.max(o.stop-n.stop,.01);c=[];const i=Math.ceil(1/r);for(let t=0;t<i;t++)for(const o of e){const e=t*r+(o.stop-n.stop);if(e>1)break;c.push({stop:e,color:Ie(o.color)})}const s=y(c,c.length-1);s&&s.stop<1&&c.push({stop:1,color:s.color})}else c=kn(t.stops,Math.max(n,o)).map(e=>({stop:e.stop,color:Ie(e.color)}));return c.forEach(e=>{l.addColorStop(Math.min(1,Math.max(0,e.stop)),e.color)}),i.fillStyle=l,i.fillRect(0,0,n,o),r}return this.context.logger.warn("Unsupported border-image source; only URL and gradient images are supported"),null}async renderBackdropFilter(e){const t=Gs(e.container.styles.backdropFilter);if(!t||0===t.functions.length)return;const n=e.container.bounds;if(n.width<=0||n.height<=0)return;const o=this.options.scale,r=Math.ceil(n.width*o),i=Math.ceil(n.height*o);if(r<=0||i<=0)return;const s=sa(this.surfaceBudget,r,i);if(!s)return;let a,l;try{a=this.context.resourceDocument.createElement("canvas"),a.width=r,a.height=i;const e=a.getContext("2d");if(!e)return;const s=Math.round((n.left-this.options.x)*o),c=Math.round((n.top-this.options.y)*o);e.drawImage(this.canvas,s,c,r,i,0,0,r,i);try{l=await Js(a,t,1,o,this.options.signal)}catch(e){if(e instanceof zs)return void this.context.logger.info(`${e.message}; rendering without the backdrop effect`);throw e}if(this.options.signal?.aborted)throw new DOMException("The operation was aborted.","AbortError");this.ctx.save();try{this.ctx.filter="none",this.ctx.drawImage(l,n.left,n.top,n.width,n.height)}finally{this.ctx.restore()}}finally{a&&$s(a),l&&$s(l),this.surfaceBudget.pixels-=s}}async render(e){try{this.options.backgroundColor&&(this.ctx.fillStyle=Ie(this.options.backgroundColor),this.ctx.fillRect(this.options.x,this.options.y,this.options.width,this.options.height));const t=(e=>{const t=new ws(e,null),n=new xs(t),o=[];return Ss(t,n,n,o),Es(t.container,o),n})(e);return await this.renderStack(t),this.effectsRenderer.applyEffects([]),this.canvas}catch(e){throw this.options.canvas||$s(this.canvas),e}}};const qa=(e,t)=>{switch(e){case 0:return rs(t);case 2:return(e=>[e.topLeftContentBox,e.topRightContentBox,e.bottomRightContentBox,e.bottomLeftContentBox])(t);default:return is(t)}},Ha=e=>e.backgroundClip.some(e=>3===e);var Ya=class{canvas;ctx;options;context;constructor(e,t){this.context=e,this.options=t,this.canvas=t.canvas?t.canvas:e.resourceDocument.createElement("canvas");const n=this.canvas.getContext("2d");if(!n)throw new Error("Failed to get 2D rendering context from canvas");this.ctx=n,this.canvas.width=Math.floor(t.width*t.scale),this.canvas.height=Math.floor(t.height*t.scale),this.canvas.style.width=`${t.width}px`,this.canvas.style.height=`${t.height}px`,this.ctx.scale(this.options.scale,this.options.scale),this.ctx.translate(-t.x,-t.y),this.context.logger.debug(`EXPERIMENTAL ForeignObject renderer initialized (${t.width}x${t.height} at ${t.x},${t.y}) with scale ${t.scale}`)}async render(e){if(this.options.signal?.aborted)throw new DOMException("The operation was aborted.","AbortError");const t=Ka(e),n=(o=((e,t,n,o,r)=>{const i="http://www.w3.org/2000/svg",s=document.createElementNS(i,"svg"),a=document.createElementNS(i,"foreignObject");return s.setAttributeNS(null,"width",e.toString()),s.setAttributeNS(null,"height",t.toString()),a.setAttributeNS(null,"width","100%"),a.setAttributeNS(null,"height","100%"),a.setAttributeNS(null,"x",(0).toString()),a.setAttributeNS(null,"y",(0).toString()),a.setAttributeNS(null,"externalResourcesRequired","true"),s.appendChild(a),a.appendChild(r),s})(this.options.width,this.options.height,0,0,e),new Promise((e,t)=>{const n=new Image;n.onload=()=>e(n),n.onerror=t,n.src=`data:image/svg+xml;charset=utf-8,${encodeURIComponent((new XMLSerializer).serializeToString(o))}`}));var o;t();try{const e=await n;if(this.options.signal?.aborted)throw new DOMException("The operation was aborted.","AbortError");return this.options.backgroundColor&&(this.ctx.fillStyle=Ie(this.options.backgroundColor),this.ctx.fillRect(this.options.x,this.options.y,this.options.width,this.options.height)),this.ctx.drawImage(e,this.options.x,this.options.y,this.options.width,this.options.height),this.canvas}catch(e){throw this.options.canvas||$s(this.canvas),e}}};const Xa=["marginTop","marginRight","marginBottom","marginLeft","top","right","bottom","left"],Ka=e=>{const t=e.style,n=Xa.map(e=>[e,t[e]]);for(const e of Xa)t[e]=e.startsWith("margin")?"0px":"auto";return()=>{for(const[e,o]of n)t[e]=o}};var Qa=class{id;enabled;start;constructor({id:e,enabled:t}){this.id=e,this.enabled=t,this.start=Date.now()}debug(...e){this.enabled&&("undefined"!=typeof window&&window.console&&"function"==typeof console.debug||this.info(...e))}getTime(){return Date.now()-this.start}info(...e){this.enabled&&"undefined"!=typeof window&&window.console&&console.info}warn(...e){this.enabled&&("undefined"!=typeof window&&window.console&&"function"==typeof console.warn||this.info(...e))}error(...e){this.enabled&&("undefined"!=typeof window&&window.console&&"function"==typeof console.error||this.info(...e))}},Za=class{context;_options;_cache=new Map;maxSize;_pendingOperations=new Map;_deferMode=!1;_collectedUrls=new Set;_evictionSuspendCount=0;get _evictionEnabled(){return 0===this._evictionSuspendCount}constructor(e,t){if(this.context=e,this._options=t,this.maxSize=t.maxCacheSize??100,this.maxSize<1)throw new Error("Cache maxSize must be at least 1");this.maxSize>1e4&&this.context.logger.warn(`Cache maxSize ${this.maxSize} is very large and may cause memory issues. Consider using a smaller value (recommended: 100-1000).`)}startDefer(){this._deferMode=!0,this._evictionSuspendCount++}async preloadAll(e=10,t,n){this._deferMode=!1;const o=Array.from(this._collectedUrls);this._collectedUrls.clear();try{if(0===o.length)return;const r=Math.max(1,Math.min(e,100));this.context.logger.debug(`Preloading ${o.length} image(s) with concurrency ${r}`);let i=0;const s=n?new Promise((e,t)=>{const o=()=>t(new DOMException("The operation was aborted.","AbortError"));n.aborted?o():n.addEventListener("abort",o,{once:!0})}):null;s?.catch(()=>{}),t?.(0,o.length);for(let e=0;e<o.length;e+=r){oi(n);const a=o.slice(e,e+r);a.map(e=>this._addImageWithPending(e));const l=Promise.allSettled(a.map(e=>this._cache.get(e)?.value??Promise.resolve()));await(s?Promise.race([l,s]):l),i+=a.length,t?.(i,o.length)}}finally{this._evictionSuspendCount=Math.max(0,this._evictionSuspendCount-1)}}addImage(e){if(this._deferMode)return this.has(e)||!il(e)&&!nl(e)||this._collectedUrls.add(e),Promise.resolve();const t=this._pendingOperations.get(e);if(t)return t;if(this.has(e)){const t=this._cache.get(e);return this._cache.delete(e),this._cache.set(e,t),Promise.resolve()}return il(e)||nl(e)?this._addImageWithPending(e):Promise.resolve()}_addImageWithPending(e){const t=this._pendingOperations.get(e);if(t)return t;const n=this._addImageInternal(e);return this._pendingOperations.set(e,n),n.finally(()=>{this._pendingOperations.delete(e)}),n}async _addImageInternal(e){const t=this._options.imageTimeout??15e3,n=this.withTimeout(this.loadImage(e),t,`Timed out (${t}ms) loading image`);n.catch(t=>{const n=t instanceof Error?t.message:String(t),o=`Failed to load image ${e.substring(0,256)}: ${n}`;this.context.logger.error(o),this.context.onError?.(new Error(o))}),this.set(e,n)}withTimeout(e,t,n){if(t<=0)return e;let o;const r=new Promise((e,r)=>{o=setTimeout(()=>r(new Error(n)),t)});return Promise.race([e,r]).finally(()=>{void 0!==o&&clearTimeout(o)})}match(e){const t=this._cache.get(e);if(t)return this._cache.delete(e),this._cache.set(e,t),t.value}set(e,t){if(this._cache.has(e))this._cache.delete(e);else if(this._evictionEnabled&&this._cache.size>=this.maxSize){const e=this._cache.keys().next().value;void 0!==e&&(this._cache.delete(e),this.context.logger.debug(`Cache: Evicted LRU entry: ${e}`))}this._cache.set(e,{value:t})}size(){return this._cache.size}getMaxSize(){return this.maxSize}clear(){this._cache.clear()}async loadImage(e){const t=this.context.originChecker,n=e=>t.isSameOrigin(e),o="function"==typeof this._options.customIsSameOrigin?await this._options.customIsSameOrigin(e,n):n(e),r=!o&&!1===this._options.allowTaint&&!ol(e)&&!il(e)&&"string"!=typeof this._options.proxy,i=!ol(e)&&(!0===this._options.useCORS||r)&&vi.SUPPORT_CORS_IMAGES&&!o,s=!(ol(e)||o||il(e)||"string"!=typeof this._options.proxy||i);if(!(o||!1!==this._options.allowTaint||ol(e)||il(e)||s||i))return;let a=e;s&&(a=await this.proxy(a)),this.context.logger.debug(`Added image ${e.substring(0,256)}`);const l=this.context.config.window.Image??Image;return await new Promise((e,t)=>{const n=new l;n.onload=()=>e(n),n.onerror=t,(rl(a)||i)&&(n.crossOrigin="anonymous"),n.src=a,!0===n.complete&&("function"==typeof n.decode?n.decode().then(()=>e(n),()=>t(new Error(`Failed to decode image ${a.substring(0,256)}`))):setTimeout(()=>e(n),500))})}has(e){return this._cache.has(e)}keys(){return Promise.resolve(Array.from(this._cache.keys()))}proxy(e){const t=this._options.proxy;if(!t)throw new Error("No proxy defined");const n=e.substring(0,256);return new Promise((o,r)=>{const i=new XMLHttpRequest;i.onload=()=>{if(200===i.status){const e=new FileReader;e.addEventListener("load",()=>o(e.result),!1),e.addEventListener("error",e=>r(e),!1),e.readAsDataURL(i.response)}else r(`Failed to proxy resource ${n} with status code ${i.status}`)},i.onerror=r;const s=t.indexOf("?")>-1?"&":"?";if(i.open("GET",`${t}${s}url=${encodeURIComponent(e)}&responseType=blob`),i.responseType="blob",this._options.imageTimeout){const e=this._options.imageTimeout;i.timeout=e,i.ontimeout=()=>r(`Timed out (${e}ms) proxying ${n}`)}i.send()})}};const Ja=/^data:image\/svg\+xml/i,el=/^data:image\/.*;base64,/i,tl=/^data:image\/.*/i,nl=e=>vi.SUPPORT_SVG_DRAWING||!sl(e),ol=e=>tl.test(e),rl=e=>el.test(e),il=e=>"blob"===e.substring(0,4),sl=e=>"svg"===e.slice(-3).toLowerCase()||Ja.test(e);var al=class{baseUri;origin;constructor(e){if(!e||!e.document)throw new Error("Valid window object required for OriginChecker");if(!e.location||!e.location.href)throw new Error("Window object must have valid location");this.baseUri=e.location.href,this.origin=this.getOrigin(e.location.href)}getOrigin(e){try{return new URL(e,this.baseUri).origin}catch(e){return""}}isSameOrigin(e){return this.getOrigin(e)===this.origin}getContextOrigin(){return this.origin}},ll=class e{static instanceCount=1;instanceName="#"+e.instanceCount++;logger;cache;originChecker;config;onError;_windowBounds;constructor(e,t,n){this.config=n,this.logger=new Qa({id:this.instanceName,enabled:e.logging}),this.originChecker=new al(n.window),this.cache=e.cache??n.cache??new Za(this,e),this.onError=e.onError,this._windowBounds=t}get windowBounds(){return this._windowBounds}get resourceDocument(){return this.config.window.document||("undefined"!=typeof document?document:void 0)}adjustWindowBounds(e,t){this._windowBounds=this._windowBounds.add(e,t,0,0)}};const cl=(e,t,n,o)=>{if(e)try{e(n,o)}catch(e){t.logger.error(`onProgress callback failed: ${e instanceof Error?e.message:String(e)}`)}};function dl(e,t){if("Tab"!==t.key)return;const n=e.querySelectorAll('button:not([disabled]), input:not([disabled]):not([type="hidden"]):not([style*="display:none"]), textarea:not([disabled]), select:not([disabled]), [tabindex]:not([tabindex="-1"])');if(0===n.length)return;const o=n[0],r=n[n.length-1];t.shiftKey&&document.activeElement===o?(t.preventDefault(),r.focus()):t.shiftKey||document.activeElement!==r||(t.preventDefault(),o.focus())}const hl={WindowsPhone:/windows phone/i,Android:/android/i,iOS:/iPad|iPhone|iPod/,Windows:/Win/i,MacOS:/Mac/i,Linux:/Linux/i};class ul{constructor(e){this._connectivityError=null,this._integrationStatus="pending",this.config=e}get connectivityError(){return this._connectivityError}get integrationStatus(){return this._integrationStatus}setStatus(e,t){this._integrationStatus=e,void 0!==t&&(this._connectivityError=t)}handleIntegrationStatus(){return"pending"===this._integrationStatus?(this.renderPendingTest(),!0):"ko"===this._integrationStatus&&(this._connectivityError||(this._connectivityError="communication_error"),this.renderError(),!0)}closeModal(){const e=document.getElementById(this.config.modalId);e?(e.classList.add("fj-closing"),e.addEventListener("animationend",()=>{e.remove(),document.body.classList.remove(this.config.bodyOpenClass),this.config.toggleHtmlClass&&document.documentElement.classList.remove(this.config.bodyOpenClass)},{once:!0})):(document.body.classList.remove(this.config.bodyOpenClass),this.config.toggleHtmlClass&&document.documentElement.classList.remove(this.config.bodyOpenClass))}async checkConnectivity(){try{const e=await fetch(this.config.connectivityCheckUrl,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(this.config.connectivityCheckBody)});if(e.ok)return this._connectivityError=null,!0;const t=await e.json();return this._connectivityError="no_subscription"===t.error?"no_subscription":"communication_error",!1}catch(e){return this._connectivityError="communication_error",!1}}openModal(e){this.closeModal();const t=document.createElement("div");return t.id=this.config.modalId,t.className=e,t.setAttribute("role","dialog"),t.setAttribute("aria-modal","true"),t.addEventListener("click",e=>{e.target===t&&this.closeModal()}),t.addEventListener("keydown",e=>{"Escape"===e.key&&this.closeModal(),dl(t,e)}),document.body.classList.add(this.config.bodyOpenClass),this.config.toggleHtmlClass&&document.documentElement.classList.add(this.config.bodyOpenClass),document.body.appendChild(t),requestAnimationFrame(()=>{var e;null===(e=t.querySelector("button"))||void 0===e||e.focus()}),t}renderError(){const e=this.openModal("fj-it-modal fj-it-error");this.renderErrorContent(e)}renderErrorContent(e){var t;const n="no_subscription"===this._connectivityError,r=d(n?"error.no_subscription.title":"error.communication.title"),i=d(n?"error.no_subscription.description":"error.communication.description");e.innerHTML=`\n <div class="fj-it-content" data-version="v2.4.0">\n <div class="fj-it-header">\n <div class="fj-it-robot" aria-hidden="true">${o}</div>\n <div class="fj-it-bubble">\n <p class="fj-it-title">${r}</p>\n <div class="fj-it-text">${i}</div>\n </div>\n </div>\n <div class="fj-it-footer">\n <button type="button" class="${this.config.btnPrimaryClasses} fj-it-btn-close">${d("global.close")}</button>\n </div>\n </div>\n `,null===(t=e.querySelector(".fj-it-btn-close"))||void 0===t||t.addEventListener("click",()=>this.closeModal())}renderPendingTest(){const e=this.openModal("fj-it-modal fj-it-pending");e.innerHTML=`\n <div class="fj-it-content" data-version="v2.4.0">\n <div class="fj-it-header">\n <div class="fj-it-robot" aria-hidden="true">${u}</div>\n <div class="fj-it-bubble">\n <p class="fj-it-title">${d(this.config.pendingTitleKey)}</p>\n <div class="fj-it-text">\n ${d(this.config.pendingTextKey)}\n </div>\n </div>\n </div>\n <div class="fj-it-footer">\n <button type="button" class="${this.config.btnOutlineClasses} fj-it-btn-cancel">\n ${d(this.config.cancelLabelKey)}\n </button>\n <button type="button" class="${this.config.btnPrimaryClasses} fj-it-btn-test">\n ${d("integration_test.pending.button")}\n </button>\n </div>\n </div>\n `;const t=e.querySelector(".fj-it-btn-cancel"),n=e.querySelector(".fj-it-btn-test"),o=e.querySelector(".fj-it-robot"),r=e.querySelector(".fj-it-title"),i=e.querySelector(".fj-it-text");null==t||t.addEventListener("click",()=>this.closeModal()),null==n||n.addEventListener("click",async()=>{var s;n.disabled=!0,n.classList.add(this.config.btnLoadingClass),n.textContent=d("integration_test.checking.button"),o&&(o.innerHTML=u),r&&(r.textContent=d("integration_test.checking.title")),i&&(i.textContent=d(this.config.checkingTextKey));const a=await this.checkConnectivity();if(n.classList.remove(this.config.btnLoadingClass),t&&(t.style.display="none"),a)this._integrationStatus="ok",o&&(o.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" width="102" height="153" fill="none"><ellipse cx="49.54" cy="141" fill="url(#a)" fill-opacity=".6" rx="18.5" ry="4"/><ellipse cx="49.04" cy="150" fill="url(#b)" fill-opacity=".6" rx="13" ry="3"/><path fill="url(#c)" d="M7.23 90.83c1.549.77 3.233 3.719 5.691 4.708 2.46.987 8.138 2.22 7.73 7.033-.409 4.813-3.725 9.471-6.653 10.234s-7.747-.856-10.02-4.244C1.48 104.838-.15 97.453 1.126 94.549s3.157-5.18 6.102-3.717z"/><path fill="url(#d)" d="M50.17 102.076c-13.55.539-22.023-5.532-25.11 2.18-2.6 6.497 7.49 23.669 24.473 23.744 17.528.078 27.417-16.423 24.766-23.956-2.174-6.182-10.046-2.526-24.13-1.968"/><path fill="url(#e)" d="M51.865 99.61c22.542-1.043 40.186-16.253 39.408-33.973S71.591 34.4 49.048 35.442C26.506 36.485 8.862 51.695 9.64 69.414s19.682 31.239 42.225 30.196"/><path fill="url(#f)" d="M80.651 97.223c-1.702.72-3.473 2.594-1.578 5.511s1.894 7.132 2.368 8.753c.474 1.62 4.105 1.62 7.578-1.135 3.474-2.755 7.455-6.846 7.946-12.288.45-4.985-.456-6.827-3.05-7.833-1.621-.628-4.535-.087-6.266 2.08-1.555 1.949-4.313 3.776-6.996 4.912z"/><path fill="url(#g)" d="M49.402 53.828c12.153-.557 22.213 2.962 23.826 3.811 1.234.65 2.695 6.773 2.743 12.569.046 5.796-2.028 11.917-2.857 12.786-1.176 1.234-11.778 4.117-22.535 3.992-12.059-.14-23.69-3.305-24.673-4.661-1.136-1.572-1.99-8.124-1.955-11.61.032-3.185.532-10.637 1.938-12.255 1.149-1.323 11.858-4.097 23.513-4.632"/><path fill="#345C16" d="M50.991 21.585c4.344 0 7.865-3.616 7.865-8.075 0-4.46-3.521-8.075-7.865-8.075s-7.865 3.615-7.865 8.075 3.521 8.075 7.865 8.075"/><path fill="#CCF4A2" d="M54.173 9.108c.98.683.816 2.1.988 4.025.158 1.779-2.456 4.642-4.421 4.608s-3.835-.807-4.885-2.798c-1.008-1.915-.891-3.035-.373-4.375.606-1.563 2.57-3.158 4.911-3.067 2.342.091 2.747.888 3.78 1.607"/><path fill="#529B15" d="M55.093 18.138c.951-.703 2.421-2.695 2-5.184-.485-2.866-1.594-4.714-3.541-4.42-1.983.3-3.582 1.045-3.537 2.995.046 1.95 1.055 3.385-.165 4.641-1.219 1.255.044 3.811 1.476 3.632 2.17-.27 2.845-.984 3.767-1.664"/><path fill="#fff" d="M48.816 12.387c.857-.415 2.502-1.182 2.838-2.068.336-.885.37-2.128-.499-2.797-.87-.668-2.097-.977-3.116-.184s-2.712 2.074-2.07 3.257c.641 1.185.544 2.21 1.628 2.062 1.082-.148 1.22-.27 1.22-.27"/><path fill="#345C16" d="M58.129 4.112a.86.86 0 0 1-.564-.211c-.835-.72-2.38-1.377-2.395-1.384a.91.91 0 0 1-.477-1.176.87.87 0 0 1 1.144-.49c.074.03 1.81.768 2.857 1.67a.92.92 0 0 1 .107 1.27.86.86 0 0 1-.672.321M47.72 2.27a.88.88 0 0 1-.84-.642.906.906 0 0 1 .587-1.122c.063-.02 1.568-.48 2.99-.506h.017a.89.89 0 0 1 .877.885.89.89 0 0 1-.862.917c-1.175.022-2.503.426-2.516.43a1 1 0 0 1-.252.038zm-6.35 4.326a.86.86 0 0 1-.54-.191.92.92 0 0 1-.152-1.265c.041-.054 1.03-1.345 2.2-2.22a.863.863 0 0 1 1.227.196c.285.403.2.966-.192 1.26-.975.729-1.843 1.863-1.852 1.874a.87.87 0 0 1-.691.346m-2.661 7.448h-.015a.89.89 0 0 1-.863-.914c0-.07.03-1.71.448-3.129a.874.874 0 0 1 1.094-.602.906.906 0 0 1 .586 1.124c-.347 1.18-.373 2.619-.373 2.633a.89.89 0 0 1-.877.887zm1.995 7.586a.87.87 0 0 1-.728-.396c-.038-.057-.914-1.394-1.361-2.78a.907.907 0 0 1 .557-1.138c.46-.158.957.1 1.11.572.371 1.15 1.14 2.325 1.147 2.337a.916.916 0 0 1-.235 1.25.86.86 0 0 1-.491.155m6.124 4.943a.8.8 0 0 1-.288-.05c-.062-.023-1.546-.556-2.71-1.392a.917.917 0 0 1-.216-1.255.863.863 0 0 1 1.222-.222c.96.69 2.268 1.162 2.28 1.166a.91.91 0 0 1 .54 1.148.88.88 0 0 1-.828.605m4.803.762a.89.89 0 0 1-.879-.9.89.89 0 0 1 .876-.903c1.2-.003 2.557-.399 2.57-.402a.876.876 0 0 1 1.087.617.904.904 0 0 1-.6 1.115c-.065.02-1.603.469-3.052.473zm7.244-2.783a.87.87 0 0 1-.7-.355.917.917 0 0 1 .168-1.263c.95-.742 1.798-1.897 1.808-1.91a.863.863 0 0 1 1.229-.18.917.917 0 0 1 .176 1.26c-.04.056-1 1.367-2.15 2.264a.86.86 0 0 1-.53.184m4.155-6.526a.9.9 0 0 1-.276-.046.907.907 0 0 1-.558-1.139c.377-1.169.442-2.617.443-2.631a.885.885 0 0 1 .915-.86.893.893 0 0 1 .84.938c-.003.068-.077 1.708-.53 3.119a.88.88 0 0 1-.834.619m.068-8.19a.88.88 0 0 1-.8-.529c-.519-1.174-1.422-2.03-1.43-2.039a.92.92 0 0 1-.057-1.272.86.86 0 0 1 1.238-.061c.048.044 1.174 1.104 1.85 2.626.2.453.005.988-.436 1.193a.85.85 0 0 1-.363.08z"/><path fill="#D9EFFD" d="M55.275 69.694c.687-1.293 3.67-4.573 4.571-5.54 1.042-1.122 3.902-1.663 5.16.101 1.26 1.764 3.673 4.178 4.267 5.91.45 1.307.645 2.955-.992 3.362-2.428.604-3.63-3.065-4.317-3.77s-2.423-.756-3.225-.05c-.802.705-2.012 3.096-2.928 3.565-.916.47-2.977.51-3.224-1.109-.266-1.742.687-2.469.687-2.469zm-23.552 0c.687-1.293 3.67-4.573 4.571-5.54 1.042-1.122 3.902-1.663 5.16.101 1.26 1.764 3.673 4.178 4.267 5.91.45 1.307.645 2.955-.992 3.362-2.428.604-3.63-3.065-4.317-3.77s-2.423-.756-3.225-.05c-.801.705-2.011 3.096-2.928 3.565-.916.47-2.977.51-3.224-1.109-.265-1.742.687-2.469.687-2.469z"/><path fill="url(#h)" d="M20.2 31.648a1.52 1.52 0 0 1-1.39-.925l-5.43-12.48c-.343-.788 0-1.71.768-2.063a1.505 1.505 0 0 1 2.01.79l5.43 12.48c.343.788 0 1.71-.768 2.062a1.5 1.5 0 0 1-.62.136"/><path fill="url(#i)" d="M10.257 38.796c-.425 0-.848-.181-1.15-.537L.374 27.944a1.59 1.59 0 0 1 .15-2.203 1.494 1.494 0 0 1 2.146.154l8.735 10.314a1.59 1.59 0 0 1-.15 2.204 1.5 1.5 0 0 1-.997.383"/><path fill="url(#j)" d="M89.766 38.342c-.442 0-.88-.197-1.182-.578a1.59 1.59 0 0 1 .223-2.197l10.336-8.615a1.497 1.497 0 0 1 2.141.229 1.59 1.59 0 0 1-.223 2.197l-10.336 8.615a1.5 1.5 0 0 1-.959.35"/><path fill="url(#k)" d="M80.467 30.33c-.293 0-.59-.087-.85-.269a1.59 1.59 0 0 1-.41-2.168l7.445-11.332a1.5 1.5 0 0 1 2.112-.421 1.59 1.59 0 0 1 .411 2.168L81.73 29.64a1.51 1.51 0 0 1-1.263.688z"/><path fill="#B4BFC6" d="M6.294 109.977s-3.538-2.935-2.116-5.036c.722-1.065 1.964-1.727 3.93-1.234 1.968.494 3.644 1.918 5.367 1.215s2.637-1.205 4.149-1.225c1.301-.018 1.25 1.192 1.232 2.102-.526 1.317-1.333 3.221-1.722 3.691-.388.471-1.96 2.045-3.822 2.299-2.011.273-3.766.324-7.02-1.813zm37.32-5.982c3.875 1.173 5.017.155 12.607 1.471 5.582.967 8.691-.131 11.406-1.466s3.352-3.189 1.593-3.455c0 0-.927-.165-4.135.05-2.736.185-7.632.722-9.587 1.055-3.215.548-11.196.326-13.8-.052-1.522.827.211 1.881 1.916 2.396zm9.778-7.843c3.788-.158 8.353.102 12.063-2.418 3.945-3.112 11.92-2.2 7.943-.072-6.104 3.31-10.788 4.575-13.984 5.131-1.778.309-5.918.783-9.135.873-.754.022-5.169-.021-8.581-.594-.636-2.218 10.332-2.865 11.695-2.921h-.001zm31.439 10.108c.715-1.104 2.287-1.833 3.372-2.7 1.085-.865 2.15-2.108 2.935-3.076.784-.967 2.372-1.404 3.362-1.014s.723 1.423.469 2.286c-.346 1.171-1.224 2.552-2.383 3.968-1.397 2.01-4.333 4.902-6.347 4.218-1.906-.646-2.121-2.578-1.407-3.682m4.778-48.634c.671 2.02 1.12 3.711 1.413 6.5.345 3.275.21 5.909-.486 8.708-1.097 4.422-3.206 8.177-5.053 10.528 0 0 5.55-3.343 7.768-8.126.679-1.465 1.53-4.267 1.536-6.599.008-4.05-1.457-8.738-5.179-11.011"/><path fill="url(#l)" d="M12.253 56.844c-.85 1.947-1.447 3.59-1.99 6.339-.636 3.228-.736 5.864-.294 8.718.699 4.505 2.46 8.445 4.09 10.96 0 0-5.227-3.851-7.009-8.824-.545-1.523-1.143-4.393-.94-6.716.354-4.036 2.234-8.564 6.142-10.477z"/><path fill="#fff" d="M3.1 94.785c-.162.884.023 3.14.733 4.274s2.542.417 2.643-1.3 1.668-4.159.735-4.996c-.934-.837-3.552-1.032-4.11 2.023m29.606 9.566c-1.394-.018-3.273 1.509-3.191 3.013s-.056 3.21.476 4.501c.534 1.289 1.981 4.508 4.1 5.141 2.117.632 3.412 1.029 4.172.137.761-.893.82-1.933.067-3.022-.755-1.088-2.551-2.211-2.312-4.206.237-1.995-.649-5.529-3.313-5.563zM29.47 43.205c-2.254 1.151-7.332 3.844-6.759 6.724.572 2.878 4.472 1.418 6.379.326s5.543-2.765 7.742-3.402 3.363-2.99 2.014-4.3c-1.348-1.31-6.214-.961-9.378.653h.002m57.532 53.957c-1.526-.954-4.42.537-5.8 2-1.382 1.464-.746 3.44.116 3.794.864.353 2.917.182 3.73-2.42.352-1.126 2.932-2.762 1.953-3.375zM8.033 62.257c.542-1.204 2.036-2.6 2.053-1.602.016.999-.939 3.587-1.186 5.094-.288 1.758-.474 3.361-.448 4.397.02.805-1.05 1.781-1.36.526-.071-.292-.531-2.357-.323-4.288.207-1.93 1.083-3.727 1.263-4.128z"/><path fill="#121442" d="M73.114 82.994c-1.176 1.234-11.778 4.118-22.535 3.993-12.059-.14-23.69-3.305-24.673-4.662-1.136-1.572-1.99-8.123-1.955-11.61.032-3.185.532-10.636 1.938-12.255.347-.4.91-.633 1.763-.945 0 0-2.895 14.571.147 22.79.478 1.966 18.572 3.417 20.168 3.45 3.91.082 10.549-.146 17.18-1.15 2.69-.407 7.13-1.66 9.101-2.097-.527 1.78-1.134 2.485-1.134 2.485z"/><path fill="#2C3D82" d="M49.558 107.325s-7.356 2.988-4.743 12.051c.642 2.227 2.928 5.304 6.308 6.509 0 0-5.105-4.379-3.935-10.011.94-4.528 6.106-3.933 6.11-9.163 0 0-1.757-.172-3.74.614"/><path fill="#2C3D82" d="M53.028 113.962c1.955 0 3.54-1.627 3.54-3.634s-1.585-3.635-3.54-3.635-3.54 1.628-3.54 3.635 1.585 3.634 3.54 3.634m-2.698 4.984c1.268 0 2.296-1.055 2.296-2.357s-1.028-2.358-2.296-2.358-2.296 1.056-2.296 2.358 1.028 2.357 2.296 2.357"/><defs><linearGradient id="a" x1="49.54" x2="49.54" y1="137" y2="145" gradientUnits="userSpaceOnUse"><stop stop-color="#F4FDE8"/><stop offset="1" stop-color="#529B15"/></linearGradient><linearGradient id="b" x1="49.04" x2="49.04" y1="147" y2="153" gradientUnits="userSpaceOnUse"><stop stop-color="#F4FDE8"/><stop offset="1" stop-color="#529B15"/></linearGradient><linearGradient id="c" x1=".23" x2="20.61" y1="100.663" y2="102.966" gradientUnits="userSpaceOnUse"><stop stop-color="#F1F2F3"/><stop offset="1" stop-color="#C4CDD3"/></linearGradient><linearGradient id="d" x1="25.741" x2="75.203" y1="116.11" y2="110.075" gradientUnits="userSpaceOnUse"><stop stop-color="#F1F2F3"/><stop offset="1" stop-color="#C4CDD3"/></linearGradient><linearGradient id="e" x1="20.96" x2="88.871" y1="47.498" y2="91.242" gradientUnits="userSpaceOnUse"><stop stop-color="#F1F2F3"/><stop offset="1" stop-color="#C4CDD3"/></linearGradient><linearGradient id="f" x1="78.895" x2="98.249" y1="107.665" y2="95.077" gradientUnits="userSpaceOnUse"><stop stop-color="#F1F2F3"/><stop offset="1" stop-color="#C4CDD3"/></linearGradient><linearGradient id="g" x1="50.864" x2="48.863" y1="96.467" y2="42.134" gradientUnits="userSpaceOnUse"><stop offset=".13" stop-color="#134395"/><stop offset="1" stop-color="#0E2050"/></linearGradient><linearGradient id="h" x1="13.247" x2="21.721" y1="23.847" y2="23.847" gradientUnits="userSpaceOnUse"><stop stop-color="#F1F2F3"/><stop offset=".08" stop-color="#EAECEE"/><stop offset=".4" stop-color="#D5DBDF"/><stop offset=".71" stop-color="#C8D0D6"/><stop offset="1" stop-color="#C4CDD3"/></linearGradient><linearGradient id="i" x1="1.835" x2="9.976" y1="33.344" y2="30.93" gradientUnits="userSpaceOnUse"><stop stop-color="#F1F2F3"/><stop offset=".08" stop-color="#EAECEE"/><stop offset=".4" stop-color="#D5DBDF"/><stop offset=".71" stop-color="#C8D0D6"/><stop offset="1" stop-color="#C4CDD3"/></linearGradient><linearGradient id="j" x1="93.838" x2="96.14" y1="28.271" y2="36.645" gradientUnits="userSpaceOnUse"><stop stop-color="#F1F2F3"/><stop offset=".08" stop-color="#EAECEE"/><stop offset=".4" stop-color="#D5DBDF"/><stop offset=".71" stop-color="#C8D0D6"/><stop offset="1" stop-color="#C4CDD3"/></linearGradient><linearGradient id="k" x1="81.951" x2="86.603" y1="19.41" y2="26.684" gradientUnits="userSpaceOnUse"><stop stop-color="#F1F2F3"/><stop offset=".08" stop-color="#EAECEE"/><stop offset=".4" stop-color="#D5DBDF"/><stop offset=".71" stop-color="#C8D0D6"/><stop offset="1" stop-color="#C4CDD3"/></linearGradient><linearGradient id="l" x1="6.361" x2="15.006" y1="71.407" y2="69.531" gradientUnits="userSpaceOnUse"><stop stop-color="#F1F2F3"/><stop offset="1" stop-color="#C4CDD3"/></linearGradient></defs></svg>'),r&&(r.textContent=d("integration_test.ok.title")),i&&(i.textContent=d("integration_test.ok.text")),n.textContent=d("integration_test.ok.button"),n.disabled=!1,n.replaceWith(n.cloneNode(!0)),null===(s=e.querySelector(".fj-it-btn-test"))||void 0===s||s.addEventListener("click",()=>{this.closeModal(),this.config.onSuccess()});else{if(this._integrationStatus="ko","no_subscription"===this._connectivityError)return e.className="fj-it-modal fj-it-error",void this.renderErrorContent(e);o&&(o.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" width="110" height="147" fill="none"><path fill="#C65D17" d="M69.808 20.603a7.81 7.81 0 1 0 0-15.619 7.81 7.81 0 0 0 0 15.619"/><path fill="#EE7219" d="M69.106 7.54c1.157-.205 1.997.89 3.417 2.106 1.312 1.124 1.383 4.918-.039 6.256-1.421 1.337-3.273 2.095-5.363 1.441-2.01-.628-2.682-1.487-3.216-2.774-.623-1.504-.302-3.969 1.426-5.527s2.553-1.287 3.774-1.503"/><path fill="#FF9852" d="M75.849 13.16c.203-1.145-.094-3.544-2.073-4.978-2.278-1.65-4.312-2.162-5.5-.611-1.21 1.58-1.846 3.204-.498 4.524s3.033 1.617 3.012 3.332 2.601 2.612 3.5 1.495c1.362-1.689 1.362-2.651 1.559-3.762"/><path fill="#FFDFCA" d="M67.503 13.52c.33-.88.983-2.552.624-3.399-.359-.846-1.171-1.731-2.24-1.593s-2.152.775-2.343 2.03c-.189 1.256-.531 3.316.724 3.692 1.256.377 1.878 1.154 2.549.302.67-.852.686-1.032.686-1.032"/><path fill="#C65D19" d="M76.563 3.752a.9.9 0 0 1-.512-.164c-.93-.67-2.198-1.137-2.21-1.141a.876.876 0 0 1 .6-1.648c.061.023 1.506.553 2.636 1.366a.877.877 0 0 1-.514 1.589zM66.531 2.2A.877.877 0 0 1 66.28.483C66.34.464 67.815.025 69.206 0a.877.877 0 0 1 .03 1.754c-1.15.02-2.44.404-2.452.408a1 1 0 0 1-.254.037zm-6.207 4.119a.876.876 0 0 1-.69-1.417c.041-.051 1.008-1.281 2.155-2.118A.877.877 0 1 1 62.822 4.2c-.944.69-1.797 1.77-1.807 1.782a.87.87 0 0 1-.69.336m-2.603 7.095h-.013a.877.877 0 0 1-.864-.89c0-.065.029-1.63.438-2.984a.876.876 0 1 1 1.679.507c-.34 1.121-.364 2.489-.364 2.503a.877.877 0 0 1-.876.864m1.95 7.223a.87.87 0 0 1-.727-.386c-.037-.054-.896-1.33-1.333-2.653a.877.877 0 0 1 1.665-.552c.36 1.088 1.113 2.21 1.12 2.222a.878.878 0 0 1-.726 1.367zm5.985 4.706a.9.9 0 0 1-.287-.049c-.061-.02-1.513-.53-2.654-1.328a.876.876 0 1 1 1.004-1.437c.938.656 2.213 1.105 2.226 1.11a.877.877 0 0 1-.289 1.704m4.696.725a.877.877 0 0 1-.002-1.754c1.17-.004 2.496-.379 2.509-.382a.876.876 0 0 1 .485 1.685c-.063.018-1.569.446-2.988.45h-.004m7.085-2.648a.876.876 0 0 1-.53-1.575c.925-.704 1.755-1.803 1.763-1.814a.878.878 0 0 1 1.404 1.051c-.04.053-.98 1.302-2.106 2.158a.88.88 0 0 1-.53.179zm4.064-6.214a.877.877 0 0 1-.832-1.153c.367-1.11.43-2.486.432-2.5a.876.876 0 1 1 1.752.075c-.002.065-.074 1.63-.519 2.976a.88.88 0 0 1-.832.601zm.129-8.11a.88.88 0 0 1-.71-.36c-.61-.837-1.567-1.798-1.577-1.807a.877.877 0 0 1 1.24-1.24c.044.043 1.063 1.066 1.755 2.015a.878.878 0 0 1-.707 1.394z"/><path fill="url(#a)" d="M99.026 64.396c1.801-17.578-15.35-33.734-38.309-36.086s-43.03 9.99-44.83 27.568c-1.802 17.577 15.35 33.733 38.308 36.085 22.959 2.353 43.03-9.99 44.831-27.567"/><path fill="url(#b)" d="M53.803 96.185c13.869.058 22.32-6.284 25.74 1.286 2.88 6.377-6.843 23.827-24.2 24.5-17.914.694-28.587-15.385-26.137-22.978 2.011-6.231 10.183-2.869 24.597-2.808"/><path fill="url(#c)" d="M83.645 94.965c1.345-1.848 3.904-1.59 6.506-3.615 2.176-1.691 2.457-4.048 6.65-3.903 2.754.094 5.419 5.556 7.95 6.505 3.47 1.302 6.723 6.671 3.904 9.252s-13.344 2.797-16.192 1.88c-2.847-.916-13.445-3.758-8.818-10.12"/><path fill="url(#d)" d="M12.967 81.728c1.824-1.094 4.736-2.202 7.49.22s7.6 8.481 5.067 11.675-9.473 4.957-13.108 4.957-9.802.11-11.675-2.534c-1.184-1.671-.991-3.634.882-5.507s7.49-6.499 11.344-8.811"/><path fill="url(#e)" d="M60.241 47.556c-11.753-3.09-22.3-1.86-24.05-1.392-1.338.359-4.02 5.874-5.255 11.377s-.463 11.762.167 12.763c.895 1.42 10.657 6.397 21.188 8.543 11.805 2.407 23.813 1.846 25.05.761 1.432-1.254 3.61-7.306 4.291-10.631.622-3.038 1.662-10.23.621-12.065-.85-1.5-10.739-6.395-22.012-9.357z"/><path fill="#121442" d="M77.34 79.61c-1.196 1.128-13.243 1.645-25.05-.761-10.53-2.146-20.292-7.122-21.187-8.543-.632-1.001-1.402-7.261-.168-12.763 1.235-5.502 3.918-11.018 5.257-11.377 0 0 1.184-.316 2.811-.403 0 0-3.678 4.62-4.973 9.983-1.461 6.049-.903 11.235-.884 11.854.019.62.154.835.602 1.184.448.348 9.534 4.456 16.808 6.292 8.616 2.175 22.59 2.933 28.425 1.855 0 0-.834 2.06-1.64 2.68"/><path fill="#D9EFFD" d="M51.307 61.156c.925-4.057-1.34-8.033-5.06-8.88s-7.483 1.753-8.408 5.81c-.925 4.058 1.34 8.034 5.06 8.882s7.483-1.755 8.408-5.812"/><path fill="url(#f)" d="M44.424 62.484a2.86 2.86 0 1 0 0-5.721 2.86 2.86 0 0 0 0 5.721"/><path fill="#D9EFFD" d="M75.309 66.647c.925-4.058-1.34-8.034-5.06-8.882s-7.483 1.755-8.408 5.812 1.34 8.033 5.06 8.88 7.483-1.753 8.408-5.81"/><path fill="url(#g)" d="M68.567 68.174a2.86 2.86 0 1 0 0-5.722 2.86 2.86 0 0 0 0 5.722"/><path fill="url(#h)" d="M101.031 62.802c-.213-1.452-1.159-4.143-2.781-2.65-1.624 1.494-6.84 13.906-7.753 17.294-.497 1.841-1.416 4.543.071 4.094 4.54-1.37 7.34-4.363 9.316-8.87 1.797-4.1 1.361-8.417 1.148-9.869z"/><path fill="url(#i)" d="M21.297 42.644c-1.24 1.664-2.171 3.095-3.282 5.588-1.305 2.928-1.96 5.409-2.132 8.215-.273 4.43.614 8.554 1.67 11.296 0 0-4.283-4.793-4.967-9.902-.21-1.564-.185-4.42.505-6.582 1.198-3.755 3.989-7.648 8.206-8.615"/><path fill="#B4BFC6" d="M91.02 75.824c1.064-3.466.54-4.177-3.846.499-1.219 1.299-3.418 3.865-5.649 5.797-1.037.9-2.638 2.151-6.837 4.014-3.962 1.757-5.406 2.172-9.067 2.824s-8.002 2.309-6.304 3.292c3.8.268 10.365-.541 16.985-2.682 6.546-2.116 11.027-5.804 13.779-8.041-.715-.495.495-4.251.94-5.702zm-6.812 21.478c.016-1.18 2.092-1.324 3.34-1.18 1.25.144 3.925 1.621 5.35 2.602 1.942 1.338 5.066 1.269 6.071 2.169 2.747 2.457-1.427 3.828-3.614 3.47-3.384-.557-11.214-2.126-11.148-7.061m-39.137-.381c.446.206 3.413 1.445 6.53 1.827 3.12.381 8.59.764 11.34.441s6.83-.49 9.155-1.578c2.074-.97 3.508-2.864 2.909-3.454-.675-.662-4.481-.194-5.689.03-5.932 1.099-8.743 1.582-11.64 1.792-4.642.334-11.655-.154-12.56-.18-.518-.09-.833.76-.048 1.122zM8.562 95.276c-.793.68.66 2.314 2.534 2.202 1.873-.11 7.843-.718 9.913-1.982s3.23-2.828 3.084-4.075c-.17-1.471-.991-1.433-2.202-1.102s-11.015 2.974-13.327 4.957z"/><path fill="#fff" d="M37.274 33.182c2.449-.797 8.034-2.519 9.624-.061 1.59 2.457-2.275 4.212-4.43 4.801s-5.975 2.004-8.026 3.126c-2.05 1.122-4.542.282-4.47-1.614.071-1.898 3.866-5.135 7.302-6.251zM15.75 47.052c.754-1.049 2.477-2.1 2.309-1.144-.168.958-1.58 3.25-2.099 4.644-.605 1.625-1.081 3.121-1.247 4.116-.128.773-1.359 1.504-1.431.247-.016-.294-.088-2.352.47-4.157.559-1.805 1.745-3.358 1.997-3.707h.002m89.254 49.319s1.926 1.114 2.432 1.925.81 2.229.101 3.039c-.708.81-1.925.912-2.533.102s-1.317-2.533-1.824-3.343c-.506-.81-.101-2.432 1.824-1.722zm-67.074 4.475c-.777-1.281-2.414-2.424-3.583-2.222-1.118.194-2.605 1.137-2.816 2.669 0 0 .39 3.457 1.79 5.417 1.401 1.961 3.783 3.782 5.043 2.101s.477-6.464-.434-7.966zM4.294 89.403c-.784.524-3.343 2.912-3.077 4.29.208 1.077 1.74 1.225 2.718.735.979-.49 4.206-2.35 3.445-4.307-.318-.817-1.212-1.971-3.086-.718"/><path fill="#2C3D82" d="M54.398 101.707s-7.536 2.383-5.55 11.364c.488 2.207 2.555 5.354 5.842 6.762 0 0-4.788-4.61-3.238-9.994 1.246-4.329 6.354-3.388 6.716-8.466 0 0-1.74-.291-3.77.334"/><path fill="#2C3D82" d="M57.654 108.406a3.537 3.537 0 1 0-.001-7.074 3.537 3.537 0 0 0 .001 7.074m-3.118 4.644a2.294 2.294 0 1 0 0-4.587 2.294 2.294 0 0 0 0 4.587"/><ellipse cx="53.5" cy="135" fill="url(#j)" fill-opacity=".6" rx="18.5" ry="4"/><ellipse cx="53" cy="144" fill="url(#k)" fill-opacity=".6" rx="13" ry="3"/><defs><linearGradient id="a" x1="30.034" x2="94.505" y1="38.434" y2="89.456" gradientUnits="userSpaceOnUse"><stop offset=".07" stop-color="#F1F2F3"/><stop offset="1" stop-color="#C4CDD3"/></linearGradient><linearGradient id="b" x1="29.078" x2="76.812" y1="97.942" y2="112.096" gradientUnits="userSpaceOnUse"><stop stop-color="#F1F2F3"/><stop offset="1" stop-color="#C4CDD3"/></linearGradient><linearGradient id="c" x1="108.681" x2="82.691" y1="94.595" y2="99.393" gradientUnits="userSpaceOnUse"><stop stop-color="#F1F2F3"/><stop offset="1" stop-color="#C4CDD3"/></linearGradient><linearGradient id="d" x1="6.339" x2="22.961" y1="84.75" y2="101.355" gradientUnits="userSpaceOnUse"><stop stop-color="#F1F2F3"/><stop offset="1" stop-color="#C4CDD3"/></linearGradient><linearGradient id="e" x1="50.069" x2="63.068" y1="87.803" y2="36.521" gradientUnits="userSpaceOnUse"><stop offset=".13" stop-color="#134395"/><stop offset="1" stop-color="#0E2050"/></linearGradient><linearGradient id="f" x1="43.08" x2="47.06" y1="58.236" y2="62.347" gradientUnits="userSpaceOnUse"><stop offset=".13" stop-color="#134395"/><stop offset="1" stop-color="#0E2050"/></linearGradient><linearGradient id="g" x1="67.931" x2="71.463" y1="64.503" y2="69.005" gradientUnits="userSpaceOnUse"><stop offset=".13" stop-color="#134395"/><stop offset="1" stop-color="#0E2050"/></linearGradient><linearGradient id="h" x1="102.229" x2="88.078" y1="69.265" y2="71.878" gradientUnits="userSpaceOnUse"><stop stop-color="#F1F2F3"/><stop offset="1" stop-color="#C4CDD3"/></linearGradient><linearGradient id="i" x1="12.47" x2="21.297" y1="55.193" y2="55.193" gradientUnits="userSpaceOnUse"><stop stop-color="#F1F2F3"/><stop offset="1" stop-color="#C4CDD3"/></linearGradient><linearGradient id="j" x1="53.5" x2="53.5" y1="131" y2="139" gradientUnits="userSpaceOnUse"><stop stop-color="#FFF1E7" stop-opacity=".5"/><stop offset="1" stop-color="#C65D17" stop-opacity=".5"/></linearGradient><linearGradient id="k" x1="53" x2="53" y1="141" y2="147" gradientUnits="userSpaceOnUse"><stop stop-color="#FFF1E7" stop-opacity=".5"/><stop offset="1" stop-color="#C65D17" stop-opacity=".5"/></linearGradient></defs></svg>'),r&&(r.textContent=d("integration_test.ko.title")),i&&(i.textContent=d("integration_test.ko.text")),n.textContent=d("integration_test.ko.button"),n.disabled=!1}})}}class pl{constructor(){this.feedbackType="enhancement",this.feedbackTitle="",this.feedbackDescription="",this.consentFeedbackAgree=!1,this.consentScreenFeedback=!1,this.consentAttachmentFile=null,this.hasConsentFeedback=!1,this.hasConsentScreenFeedback=!1,this.hasConsentAttachment=!1}async toFormData(e){const t="function"==typeof e.user?e.user():e.user,n=function(){const e=navigator.userAgent,t=[{name:"Firefox",regex:/Firefox\/(\d+(?:\.\d+)*)/},{name:"Chrome",regex:/Chrome\/(\d+(?:\.\d+)*)/,exclude:/Edg/},{name:"Safari",regex:/Version\/(\d+(?:\.\d+)*)/,exclude:/Chrome/},{name:"Edge",regex:/Edg\/(\d+(?:\.\d+)*)/},{name:"Opera",regex:/(Opera|OPR)\/(\d+(?:\.\d+)*)/}];for(const{name:n,regex:o,exclude:r}of t)if(e.includes(n)&&(!r||!r.test(e))){const t=e.match(o);return{name:n,version:t?t[1]:"Unknown"}}return{name:"Unknown",version:"Unknown"}}(),o=function(){var e;const t=window.screen.width,n=window.screen.height,o=window.devicePixelRatio||1;return{resolution:`${t}x${n}`,zoom:`${null!==(e=Math.round(100*o))&&void 0!==e?e:100}%`}}(),r=new FormData;r.append("uuidProject",e.projectId),r.append("feedbackType",this.feedbackType),r.append("feedbackTitle",this.feedbackTitle),r.append("feedbackDescription",this.feedbackDescription);const i=this.consentFeedbackAgree;if(r.append("userId",i&&(null==t?void 0:t.id)||"Unknown"),r.append("userName",i&&(null==t?void 0:t.fullName)||"Unknown User"),r.append("operatingSystem",i?function(){const e=navigator.userAgent;for(const[t,n]of Object.entries(hl))if(n.test(e))return t;return"Unknown"}():"Unknown"),r.append("browserName",i?n.name:"Unknown"),r.append("browserVersion",i?n.version:"Unknown"),r.append("resolution",i?o.resolution:"Unknown"),r.append("zoom",i?o.zoom:"Unknown"),r.append("localLanguage",i&&navigator.language||"Unknown"),r.append("url",i?window.location.href:"Unknown"),r.append("userProfile",i&&(null==t?void 0:t.profile)||"Unknown"),r.append("ip","Unknown"),r.append("widgetVersion","2.4.0"),r.append("widgetLocale",c()),this.consentFeedbackAgree&&r.append("consentFeedback","true"),this.consentScreenFeedback){r.append("consentScreenFeedback","true");const e=await async function(){try{const e=await((e,t={})=>(async(e,t,n)=>{if((e=>{["scale","width","height","imageTimeout","x","y","windowWidth","windowHeight","scrollX","scrollY"].forEach(t=>{const n=e[t];if(null!=n&&"number"!=typeof n){const o=Number(n);Number.isNaN(o)||(e[t]=o)}})})(t),!t.skipValidation){const n=t.validator||function(e={}){return new f({allowDataUrls:!0,maxImageTimeout:3e5,...e})}(),o=n.validateElement(e);if(!o.valid)throw new Error(o.error);const r=n.validateOptions(t);if(!r.valid)throw new Error(`Invalid options: ${r.error}`)}if(!e||"object"!=typeof e)throw new Error("Invalid element provided as first argument");const o=e.ownerDocument;if(!o)throw new Error("Element is not attached to a Document");const r=o.defaultView;if(!r)throw new Error("Document is not attached to a Window");const i=(e=>({allowTaint:e.allowTaint??!1,imageTimeout:e.imageTimeout??15e3,proxy:e.proxy,useCORS:e.useCORS??!1,customIsSameOrigin:e.customIsSameOrigin,maxCacheSize:e.maxCacheSize}))(t),s=((e,t,n)=>({logging:e.logging??!0,cache:e.cache??t.cache,...n}))(t,n,i),a=((e,t)=>{const n=t;return{windowWidth:e.windowWidth??n.innerWidth??800,windowHeight:e.windowHeight??n.innerHeight??600,scrollX:e.scrollX??n.pageXOffset??0,scrollY:e.scrollY??n.pageYOffset??0}})(t,r),l=new g(a.scrollX,a.scrollY,a.windowWidth,a.windowHeight),c=new ll(s,l,n),d=t.enablePerformanceMonitoring??t.logging??!1,h=new m(c.logger,d);h.start("total",{width:a.windowWidth,height:a.windowHeight});const u=t.signal;oi(u);const p=t.foreignObjectRendering??!1,y=((e,t,n)=>({allowTaint:e.allowTaint??!1,onclone:e.onclone,ignoreElements:e.ignoreElements,iframeContainer:e.iframeContainer,inlineImages:n,copyStyles:n,cspNonce:e.cspNonce??t.cspNonce,signal:e.signal}))(t,n,p);c.logger.debug(`Starting document clone with size ${l.width}x${l.height} scrolled to ${-l.left},${-l.top}`),cl(t.onProgress,c,"clone",10),h.start("clone");const x=new hi(c,e,y),w=x.clonedReferenceElement;if(!w)throw new Error("Unable to find element in cloned iframe");let v,k,C;try{v=await x.toIFrame(o,l),h.end("clone"),cl(t.onProgress,c,"clone",30),oi(u);const{width:e,height:n,left:i,top:s}=It(w)||"HTML"===w.tagName?(e=>{const t=e.body,n=e.documentElement;if(!t||!n)throw new Error("Unable to get document size");return new g(0,0,Math.max(Math.max(t.scrollWidth,n.scrollWidth),Math.max(t.offsetWidth,n.offsetWidth),Math.max(t.clientWidth,n.clientWidth)),Math.max(Math.max(t.scrollHeight,n.scrollHeight),Math.max(t.offsetHeight,n.offsetHeight),Math.max(t.clientHeight,n.clientHeight)))})(w.ownerDocument):b(c,w),a=((e,t,n)=>{const o=t.ownerDocument,r=o.documentElement?Mt(e,getComputedStyle(o.documentElement).backgroundColor):0,i=o.body?Mt(e,getComputedStyle(o.body).backgroundColor):0,s="string"==typeof n?Mt(e,n):null===n?0:4294967295;return t===o.documentElement?Le(r)?Le(i)?s:i:r:s})(c,w,t.backgroundColor),d=((e,t,n,o,r,i,s)=>({canvas:e.canvas,backgroundColor:t,signal:e.signal,scale:e.scale??s??1,x:(e.x??0)+n,y:(e.y??0)+o,width:e.width??Math.ceil(r),height:e.height??Math.ceil(i),imageSmoothing:e.imageSmoothing,imageSmoothingQuality:e.imageSmoothingQuality}))(t,a,i,s,e,n,r.devicePixelRatio??1);p?(c.logger.debug("Document cloned, using foreign object rendering"),h.start("render-foreignobject"),k=await new Ya(c,d).render(w),h.end("render-foreignobject")):(c.logger.debug(`Document cloned, element located at ${i},${s} with size ${e}x${n} using computed rendering`),c.logger.debug("Starting DOM parsing"),h.start("parse"),oi(u),c.cache.startDefer(),C=Hi(c,w,{normalizeDom:t.normalizeDom}),h.end("parse"),cl(t.onProgress,c,"parse",50),h.start("preload"),await c.cache.preloadAll(10,(e,n)=>{cl(t.onProgress,c,"preload",50+Math.round(e/n*10))},u),h.end("preload"),cl(t.onProgress,c,"layout",60),a===C.styles.backgroundColor&&(C.styles.backgroundColor=0),c.logger.debug(`Starting renderer for element at ${d.x},${d.y} with size ${d.width}x${d.height}`),h.start("render"),oi(u),k=await new Va(c,d).render(C),h.end("render")),cl(t.onProgress,c,"render",90)}finally{h.start("cleanup");try{C&&C.restoreTree()}finally{v&&(t.removeContainer??1)&&hi.destroy(v),h.end("cleanup")}}return h.end("total"),c.logger.debug("Finished rendering"),d&&h.logSummary(),cl(t.onProgress,c,"render",100),k})(e,t,p.fromElement(e,{cspNonce:t.cspNonce,cache:t.cache})))(document.body,{scrollX:0,scrollY:0,windowWidth:document.documentElement.scrollWidth,windowHeight:document.documentElement.scrollHeight,ignoreElements:e=>!("object"!=typeof e||"string"!=typeof e.className||!e.className.includes("fj-feedback-modal"))});return await new Promise(t=>e.toBlob(t,"image/jpeg",.8))}catch(e){return null}}();e&&r.append("screenShot",e)}return this.hasConsentAttachment&&this.consentAttachmentFile&&(r.append("consentAttachmentFeedback","true"),r.append("attachment",this.consentAttachmentFile)),r}isValid(e){return!!this.feedbackTitle&&!!this.feedbackDescription&&(!e||this.consentFeedbackAgree)}}class fl{constructor(e){var t,n;this.submitError=!1,this.hasConsentFeedback=!1,this.hasConsentScreenFeedback=!1,this.hasConsentAttachment=!1,this.isFeedbackButtonInitialized=!1,this.submitHandler=null,this.previouslyFocusedElement=null,this.decisions=[],this.decisionsLoading=!1,l(null!==(t=e.locale)&&void 0!==t?t:r.FR);const o=null!==(n=e.apiUrl)&&void 0!==n?n:e.baseApiUrl;if(!o)throw new Error("Feedback: `apiUrl` option is required");this.options=Object.assign(Object.assign({},e),{apiUrl:o}),this.form=new pl,this.integrationTest=new ul({modalId:"fj-feedback-modal",bodyOpenClass:"fj-modal-open",toggleHtmlClass:!0,btnPrimaryClasses:"fj-feedback-btn fj-feedback-btn-primary",btnOutlineClasses:"fj-feedback-btn fj-feedback-btn-outline",btnLoadingClass:"fj-feedback-btn-loading",pendingTitleKey:"integration_test.pending.feedback.title",pendingTextKey:"integration_test.pending.feedback.text",checkingTextKey:"integration_test.checking.feedback_text",cancelLabelKey:"global.cancel",connectivityCheckUrl:`${o}/api/connectivity_check/feedback`,connectivityCheckBody:{uuidProject:e.projectId},onSuccess:()=>this.startFeedback(this.form.feedbackType)}),this.init(e.target)}init(e){if(!e)return;const t=e instanceof HTMLElement?this.createFeedbackButton(e):e.feedback;t&&!this.isFeedbackButtonInitialized&&(t.addEventListener("click",()=>this.startFeedback("enhancement")),this.isFeedbackButtonInitialized=!0)}createFeedbackButton(e){var t;return e.innerHTML=`\n <div class="fj-feedback-feedback-buttons">\n <button id="fj-feedback-button" class="fj-feedback-btn" aria-label="${d("a11y.feedback_button")}"><span aria-hidden="true"><svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 24 24"><path fill="currentColor" d="M11.75 19h-.25q-3.55 0-6.025-2.475T3 10.5t2.475-6.025T11.5 2q1.775 0 3.313.662t2.7 1.825 1.824 2.7T20 10.5q0 3.35-1.888 6.225t-4.762 4.5q-.25.125-.5.138t-.45-.113-.35-.325-.175-.475zm2.25-.65q1.775-1.5 2.888-3.512T18 10.5q0-2.725-1.888-4.612T11.5 4 6.888 5.888 5 10.5t1.888 4.613T11.5 17H14zm-2.525-2.375q.425 0 .725-.3t.3-.725-.3-.725-.725-.3-.725.3-.3.725.3.725.725.3M9.3 8.375q.275.125.55.013t.45-.363q.225-.3.525-.463T11.5 7.4q.6 0 .975.337t.375.863q0 .325-.187.65t-.663.8q-.625.55-.925 1.038t-.3.987q0 .3.213.513t.512.212.5-.225.3-.525q.125-.425.45-.775t.6-.625q.525-.525.788-1.05t.262-1.05q0-1.15-.788-1.85T11.5 6q-.8 0-1.475.388t-1.1 1.062q-.15.275-.038.538t.413.387m2.2 2.8"/></svg></span></button>\n </div>\n `,null!==(t=document.getElementById("fj-feedback-button"))&&void 0!==t?t:void 0}async startFeedback(e){this.form.feedbackType=e,this.submitError=!1,await this.loadConsents(),this.integrationTest.handleIntegrationStatus()||(this.form.hasConsentFeedback=this.hasConsentFeedback,this.form.hasConsentScreenFeedback=this.hasConsentScreenFeedback,this.form.hasConsentAttachment=this.hasConsentAttachment,"decision"===e&&await this.fetchDecisions(),this.render("form"))}async loadConsents(){try{const e=await fetch(`${this.options.apiUrl}/api/projects/${this.options.projectId}/consents`);if(!e.ok)throw new Error("Failed to fetch consents");const t=await e.json();this.hasConsentFeedback=t.consentFeedback,this.hasConsentScreenFeedback=t.consentScreenFeedback,this.hasConsentAttachment=t.consentAttachmentsFeedback,this.integrationTest.setStatus(t.feedbackIntegrationTest||"pending","no_subscription"===t.error?"no_subscription":null)}catch(e){this.hasConsentFeedback=!1,this.hasConsentScreenFeedback=!1,this.hasConsentAttachment=!1,this.integrationTest.setStatus("ko","communication_error")}}async fetchDecisions(){this.decisionsLoading=!0;try{const e="function"==typeof this.options.user?this.options.user():this.options.user,t=await fetch(`${this.options.apiUrl}/api/projects/${this.options.projectId}/decisions?userId=${(null==e?void 0:e.id)||""}`);if(!t.ok)throw new Error("Failed to fetch decisions");const n=await t.json();this.decisions=n}catch(e){this.decisions=[]}finally{this.decisionsLoading=!1}}showThanks(e="enhancement"){this.form.feedbackType=e,this.render("thanks")}render(e){var t;const n=null!==(t=document.getElementById("fj-feedback-modal"))&&void 0!==t?t:document.createElement("div");if(null===e)return this.form=new pl,this.submitError=!1,n.classList.add("fj-closing"),void n.addEventListener("animationend",()=>{n.remove(),document.body.classList.remove("fj-modal-open"),document.documentElement.classList.remove("fj-modal-open"),this.previouslyFocusedElement&&(this.previouslyFocusedElement.focus(),this.previouslyFocusedElement=null)},{once:!0});this.previouslyFocusedElement||(this.previouslyFocusedElement=document.activeElement),document.body.classList.add("fj-modal-open"),document.documentElement.classList.add("fj-modal-open");const o=!n.parentElement;n.id="fj-feedback-modal",n.className=`fj fj-feedback-modal fj-feedback-${this.form.feedbackType}${o?"":" fj-no-overlay-anim"}`,n.setAttribute("role","dialog"),n.setAttribute("aria-modal","true"),n.addEventListener("click",t=>{t.target===n&&"thanks"===e&&this.render(null)}),o&&(n.addEventListener("keydown",e=>{"Escape"===e.key&&this.render(null),dl(n,e)}),document.body.appendChild(n)),"form"===e?(document.documentElement.style.setProperty("--fj-feedback-primary-color","#4F5BD5"),document.documentElement.style.setProperty("--fj-feedback-secondary-color","#EEF0FB"),this.renderForm(n),requestAnimationFrame(()=>{var e;const t=n.querySelector('input:not([type="radio"]):not([type="hidden"]):not([style*="display:none"]), textarea');t?t.focus():null===(e=n.querySelector("button"))||void 0===e||e.focus()})):"thanks"===e&&(this.renderThanks(n),requestAnimationFrame(()=>{var e;null===(e=n.querySelector(".fj-feedback-btn-close"))||void 0===e||e.focus()}))}renderForm(e){e.querySelector(".fj-tabs")||(e.innerHTML=`\n <form class="fj-feedback-form" data-version="v2.4.0">\n <div class="fj-container">\n <div class="fj-tabs">\n ${this.renderTabs()}\n </div>\n </div>\n <div class="fj-feedback-content"></div>\n <div class="fj-feedback-error-container"></div>\n <div class="fj-feedback-footer-buttons"></div>\n </form>\n `,e.querySelectorAll('input[name="feedbackType"]').forEach(t=>{t.addEventListener("change",async()=>{t.checked&&(this.form.feedbackType=t.value,"decision"===this.form.feedbackType&&await this.fetchDecisions(),this.updateFormContent(e))})})),this.updateFormContent(e)}updateFormContent(e){var t;const n="decision"===this.form.feedbackType;e.className=`fj fj-feedback-modal fj-feedback-${this.form.feedbackType}`;const o=e.querySelector(".fj-feedback-form"),r=e.querySelector(".fj-feedback-content"),i=e.querySelector(".fj-feedback-error-container"),s=e.querySelector(".fj-feedback-footer-buttons");n?(o.className="fj-feedback-form fj-feedback-decision-view",r.innerHTML=this.renderDecisionList(),i.innerHTML="",s.innerHTML=`\n <button type="button" class="fj-feedback-btn fj-feedback-btn-outline fj-feedback-btn-cancel">${d("global.close")}</button>\n `):(o.className="fj-feedback-form",r.innerHTML=this.renderFields(),i.innerHTML=this.submitError?`<p class="fj-feedback-error" role="alert">${d("global.submit_error")}</p>`:"",s.innerHTML=`\n <button type="button" class="fj-feedback-btn fj-feedback-btn-outline fj-feedback-btn-cancel">${d("global.cancel")}</button>\n <button type="submit" class="fj-feedback-btn fj-feedback-btn-primary fj-feedback-btn-submit">${d("global.send")}</button>\n `),null===(t=s.querySelector(".fj-feedback-btn-cancel"))||void 0===t||t.addEventListener("click",()=>this.render(null)),n||this.attachFormEvents(e.querySelector("form.fj-feedback-form"))}renderThanks(e){var t;e.innerHTML=`\n\n <div class="fj-feedback-thanks" data-version="v2.4.0">\n <div class="fj-feedback-speech-bubble">\n <p class="fj-feedback-title">${d(`${this.form.feedbackType}.thanks.title`)}</p>\n <div class="fj-feedback-text">${d(`${this.form.feedbackType}.thanks.description`)}</div>\n <div class="fj-feedback-robot" aria-hidden="true"><svg xmlns="http://www.w3.org/2000/svg" width="147" height="158" fill="none"><path fill="url(#a)" d="M32.22 97.269c1.526.737 3.184 3.567 5.605 4.515 2.423.947 8.014 2.13 7.612 6.746s-3.668 9.085-6.551 9.816-7.63-.821-9.868-4.071c-2.46-3.57-4.064-10.654-2.808-13.439s3.11-4.968 6.01-3.566z"/><path fill="url(#b)" d="M74.507 108.056c-13.343.516-21.688-5.307-24.728 2.09-2.56 6.233 7.376 22.703 24.1 22.775 17.261.075 27-15.752 24.39-22.977-2.141-5.931-9.893-2.424-23.763-1.888"/><path fill="url(#c)" d="M76.176 105.689c22.2-1 39.575-15.589 38.809-32.584S95.602 43.142 73.403 44.142 33.828 59.73 34.594 76.727s19.383 29.963 41.582 28.962"/><path fill="url(#d)" d="M104.524 103.4c-1.676.69-3.42 2.488-1.554 5.286s1.865 6.841 2.332 8.395c.467 1.555 4.043 1.555 7.463-1.088s7.341-6.566 7.825-11.786c.443-4.782-.449-6.548-3.003-7.513-1.597-.603-4.467-.084-6.171 1.995-1.532 1.869-4.248 3.622-6.891 4.711z"/><path fill="url(#e)" d="M73.75 61.779c11.969-.535 21.876 2.84 23.464 3.655 1.216.624 2.654 6.496 2.701 12.056.046 5.559-1.997 11.43-2.813 12.264-1.158 1.183-11.599 3.949-22.192 3.829-11.875-.134-23.33-3.17-24.297-4.471-1.12-1.508-1.96-7.792-1.926-11.136.031-3.055.524-10.202 1.909-11.755 1.131-1.269 11.677-3.93 23.155-4.442"/><path fill="#2C3D82" d="M75.316 30.851a7.745 7.745 0 1 0 0-15.49 7.745 7.745 0 0 0 0 15.49"/><path fill="#5B76C4" d="M78.449 18.884c.965.655.803 2.014.973 3.86.155 1.707-2.42 4.453-4.354 4.42-1.936-.032-3.777-.774-4.81-2.684-.994-1.837-.879-2.91-.368-4.195.597-1.5 2.53-3.03 4.837-2.942s2.704.851 3.722 1.541"/><path fill="#3D55A3" d="M79.355 27.545c.936-.674 2.384-2.585 1.97-4.972-.478-2.749-1.57-4.521-3.488-4.239-1.952.287-3.528 1.002-3.483 2.872s1.039 3.247-.162 4.452c-1.201 1.204.043 3.655 1.453 3.483 2.137-.259 2.802-.943 3.71-1.596"/><path fill="#C0D2FF" d="M73.173 22.029c.844-.398 2.464-1.134 2.795-1.984.33-.849.364-2.04-.491-2.682-.856-.641-2.065-.937-3.069-.177s-2.671 1.99-2.038 3.124c.631 1.137.535 2.12 1.602 1.978 1.066-.142 1.202-.26 1.202-.26"/><path fill="#2C3D82" d="M82.344 14.093a.86.86 0 0 1-.555-.203c-.822-.69-2.343-1.32-2.358-1.328a.864.864 0 0 1 .657-1.598c.072.03 1.782.737 2.813 1.603a.866.866 0 0 1-.557 1.526m-10.249-1.766a.864.864 0 0 1-.25-1.693c.063-.019 1.545-.46 2.945-.486h.016a.865.865 0 0 1 .015 1.729c-1.157.02-2.465.408-2.477.412a1 1 0 0 1-.248.036zm-6.255 4.148a.865.865 0 0 1-.68-1.397c.04-.052 1.013-1.29 2.166-2.13a.864.864 0 1 1 1.019 1.397c-.96.7-1.815 1.787-1.824 1.798a.86.86 0 0 1-.68.332m-2.621 7.144h-.014a.863.863 0 0 1-.85-.878c0-.066.03-1.64.441-3a.864.864 0 1 1 1.655.5c-.342 1.131-.368 2.512-.368 2.526a.864.864 0 0 1-.864.85zm1.965 7.277a.86.86 0 0 1-.717-.38c-.037-.055-.9-1.337-1.34-2.666a.865.865 0 0 1 1.641-.544c.366 1.104 1.124 2.23 1.13 2.241a.864.864 0 0 1-.715 1.349zm6.029 4.74a.8.8 0 0 1-.283-.048c-.061-.022-1.523-.534-2.668-1.336a.865.865 0 0 1 .99-1.416c.946.661 2.233 1.114 2.246 1.119a.865.865 0 0 1-.285 1.681m4.729.73a.864.864 0 0 1-.002-1.728c1.181-.004 2.518-.383 2.532-.387a.865.865 0 0 1 .478 1.662c-.063.019-1.577.45-3.005.453zm7.135-2.668a.865.865 0 0 1-.524-1.552c.936-.711 1.771-1.82 1.78-1.831a.864.864 0 0 1 1.384 1.036c-.039.053-.985 1.31-2.118 2.17a.86.86 0 0 1-.522.177m4.094-6.26a.865.865 0 0 1-.822-1.136c.371-1.121.436-2.51.437-2.524a.865.865 0 0 1 1.727.075c-.002.066-.075 1.639-.522 2.992a.865.865 0 0 1-.82.593m.066-7.856a.86.86 0 0 1-.787-.507c-.512-1.126-1.401-1.947-1.41-1.956a.865.865 0 0 1 1.165-1.279c.047.043 1.156 1.06 1.82 2.52a.864.864 0 0 1-.785 1.22z"/><path fill="#D9EFFD" d="M79.535 76.996c.676-1.24 3.614-4.386 4.501-5.315 1.026-1.075 3.842-1.594 5.082.098s3.616 4.007 4.202 5.669c.442 1.254.635 2.834-.977 3.224-2.392.58-3.575-2.94-4.252-3.616s-2.386-.725-3.176-.049c-.79.677-1.98 2.97-2.883 3.42-.902.451-2.932.49-3.175-1.063-.261-1.67.677-2.368.677-2.368m-23.193 0c.677-1.24 3.614-4.386 4.502-5.315 1.025-1.075 3.842-1.594 5.082.098s3.616 4.007 4.201 5.669c.443 1.254.635 2.834-.977 3.224-2.391.58-3.575-2.94-4.251-3.616s-2.387-.725-3.176-.049c-.79.677-1.981 2.97-2.883 3.42-.903.451-2.932.49-3.175-1.063-.262-1.67.676-2.368.676-2.368z"/><path fill="url(#f)" d="M44.994 40.504a1.5 1.5 0 0 1-1.37-.887l-5.348-11.97a1.497 1.497 0 1 1 2.736-1.222l5.348 11.97a1.497 1.497 0 0 1-1.367 2.109"/><path fill="url(#g)" d="M35.202 47.36c-.419 0-.836-.175-1.132-.516l-8.602-9.893a1.498 1.498 0 1 1 2.261-1.966l8.602 9.893a1.498 1.498 0 0 1-1.13 2.481"/><path fill="url(#h)" d="M113.501 46.925a1.5 1.5 0 0 1-.945-2.662L122.735 36a1.5 1.5 0 0 1 2.108.219 1.5 1.5 0 0 1-.219 2.107l-10.18 8.263a1.5 1.5 0 0 1-.943.336"/><path fill="url(#i)" d="M104.343 39.239a1.498 1.498 0 0 1-1.241-2.337l7.332-10.869a1.5 1.5 0 0 1 2.485 1.676l-7.333 10.868c-.289.43-.762.66-1.243.66z"/><path fill="#B4BFC6" d="M31.298 115.634s-3.483-2.815-2.083-4.83c.71-1.022 1.933-1.657 3.87-1.183 1.938.473 3.588 1.839 5.285 1.165s2.597-1.156 4.086-1.176c1.281-.017 1.232 1.143 1.213 2.017-.517 1.263-1.312 3.09-1.695 3.54-.382.452-1.931 1.962-3.765 2.205-1.98.262-3.708.311-6.912-1.739zm36.752-5.738c3.816 1.125 4.941.148 12.416 1.41 5.497.928 8.559-.125 11.232-1.406 2.674-1.279 3.3-3.058 1.569-3.314 0 0-.913-.158-4.072.048-2.694.178-7.516.693-9.441 1.012-3.166.526-11.026.313-13.59-.049-1.499.793.208 1.803 1.887 2.298zm9.63-7.523c3.73-.153 8.225.098 11.88-2.32 3.884-2.985 11.738-2.11 7.82-.07-6.01 3.177-10.623 4.389-13.77 4.923-1.75.296-5.828.751-8.996.837-.742.021-5.09-.02-8.45-.57-.626-2.127 10.174-2.747 11.516-2.802zm30.961 9.696c.704-1.059 2.252-1.759 3.32-2.59 1.068-.83 2.118-2.022 2.89-2.95s2.336-1.347 3.311-.973c.975.375.712 1.365.462 2.192-.341 1.124-1.205 2.448-2.346 3.807-1.376 1.928-4.267 4.702-6.251 4.046-1.877-.62-2.089-2.473-1.385-3.532zm4.705-46.649c.662 1.938 1.103 3.56 1.393 6.235.339 3.142.206 5.668-.479 8.353-1.081 4.24-3.157 7.843-4.976 10.098 0 0 5.465-3.206 7.65-7.794.668-1.405 1.507-4.093 1.512-6.33.008-3.885-1.435-8.38-5.1-10.561"/><path fill="url(#j)" d="M37.167 64.67c-.836 1.869-1.425 3.444-1.959 6.081-.627 3.096-.726 5.625-.29 8.362.688 4.321 2.423 8.1 4.027 10.512 0 0-5.147-3.693-6.901-8.463-.537-1.46-1.126-4.213-.926-6.442.348-3.871 2.199-8.215 6.048-10.05z"/><path fill="#fff" d="M28.155 101.063c-.16.848.022 3.012.721 4.099.7 1.086 2.503.4 2.602-1.247.1-1.648 1.644-3.989.724-4.792s-3.498-.99-4.047 1.941zm29.155 9.175c-1.372-.017-3.223 1.448-3.142 2.891.08 1.442-.055 3.079.47 4.317.525 1.236 1.95 4.323 4.036 4.931 2.086.606 3.36.987 4.11.131.749-.856.807-1.854.065-2.898-.743-1.044-2.512-2.121-2.277-4.035.234-1.913-.638-5.303-3.263-5.335h.002zm-3.187-58.65c-2.22 1.104-7.22 3.687-6.656 6.449s4.403 1.361 6.282.313c1.878-1.047 5.459-2.652 7.624-3.263s3.312-2.869 1.983-4.125c-1.327-1.256-6.119-.922-9.235.627h.002m56.656 51.755c-1.503-.915-4.353.515-5.712 1.919-1.36 1.404-.734 3.299.115 3.638.85.339 2.873.175 3.673-2.321.346-1.08 2.888-2.649 1.923-3.237zM33.012 69.863c.534-1.155 2.005-2.494 2.022-1.536s-.925 3.44-1.168 4.886c-.283 1.686-.466 3.223-.441 4.217.02.772-1.035 1.709-1.34.505-.07-.28-.522-2.261-.317-4.113.204-1.852 1.066-3.575 1.243-3.96z"/><path fill="#121442" d="M97.102 89.754c-1.158 1.183-11.599 3.949-22.192 3.829-11.875-.134-23.33-3.17-24.297-4.471-1.12-1.508-1.96-7.792-1.926-11.136.031-3.055.524-10.202 1.909-11.755.342-.383.895-.607 1.736-.907 0 0-2.85 13.977.144 21.86.471 1.886 18.29 3.278 19.862 3.309 3.85.078 10.388-.14 16.917-1.103 2.65-.39 7.023-1.591 8.964-2.01-.519 1.706-1.117 2.382-1.117 2.382z"/><path fill="#2C3D82" d="M73.904 113.09s-7.244 2.867-4.67 11.559c.632 2.137 2.882 5.088 6.212 6.244 0 0-5.028-4.201-3.876-9.603.927-4.342 6.013-3.772 6.018-8.788 0 0-1.73-.165-3.684.588"/><path fill="#2C3D82" d="M77.322 119.456a3.486 3.486 0 1 0 .001-6.971 3.486 3.486 0 0 0-.001 6.971m-2.658 4.781a2.26 2.26 0 1 0 0-4.522 2.26 2.26 0 0 0 0 4.522"/><ellipse cx="73.5" cy="145.5" fill="url(#k)" fill-opacity=".6" rx="18.5" ry="4.5"/><ellipse cx="73" cy="155" fill="url(#l)" fill-opacity=".6" rx="13" ry="3"/><defs><linearGradient id="a" x1="25.327" x2="45.384" y1="106.7" y2="109.027" gradientUnits="userSpaceOnUse"><stop stop-color="#F1F2F3"/><stop offset="1" stop-color="#C4CDD3"/></linearGradient><linearGradient id="b" x1="50.449" x2="99.12" y1="121.517" y2="115.42" gradientUnits="userSpaceOnUse"><stop stop-color="#F1F2F3"/><stop offset="1" stop-color="#C4CDD3"/></linearGradient><linearGradient id="c" x1="45.742" x2="111.575" y1="55.705" y2="99.243" gradientUnits="userSpaceOnUse"><stop stop-color="#F1F2F3"/><stop offset="1" stop-color="#C4CDD3"/></linearGradient><linearGradient id="d" x1="102.795" x2="121.552" y1="113.415" y2="100.89" gradientUnits="userSpaceOnUse"><stop stop-color="#F1F2F3"/><stop offset="1" stop-color="#C4CDD3"/></linearGradient><linearGradient id="e" x1="75.191" x2="73.321" y1="102.676" y2="50.559" gradientUnits="userSpaceOnUse"><stop offset=".13" stop-color="#134395"/><stop offset="1" stop-color="#0E2050"/></linearGradient><linearGradient id="f" x1="38.146" x2="46.491" y1="33.021" y2="33.021" gradientUnits="userSpaceOnUse"><stop stop-color="#F1F2F3"/><stop offset=".08" stop-color="#EAECEE"/><stop offset=".4" stop-color="#D5DBDF"/><stop offset=".71" stop-color="#C8D0D6"/><stop offset="1" stop-color="#C4CDD3"/></linearGradient><linearGradient id="g" x1="26.907" x2="34.89" y1="42.13" y2="39.7" gradientUnits="userSpaceOnUse"><stop stop-color="#F1F2F3"/><stop offset=".08" stop-color="#EAECEE"/><stop offset=".4" stop-color="#D5DBDF"/><stop offset=".71" stop-color="#C8D0D6"/><stop offset="1" stop-color="#C4CDD3"/></linearGradient><linearGradient id="h" x1="117.51" x2="119.668" y1="37.264" y2="45.326" gradientUnits="userSpaceOnUse"><stop stop-color="#F1F2F3"/><stop offset=".08" stop-color="#EAECEE"/><stop offset=".4" stop-color="#D5DBDF"/><stop offset=".71" stop-color="#C8D0D6"/><stop offset="1" stop-color="#C4CDD3"/></linearGradient><linearGradient id="i" x1="105.804" x2="110.216" y1="28.765" y2="35.848" gradientUnits="userSpaceOnUse"><stop stop-color="#F1F2F3"/><stop offset=".08" stop-color="#EAECEE"/><stop offset=".4" stop-color="#D5DBDF"/><stop offset=".71" stop-color="#C8D0D6"/><stop offset="1" stop-color="#C4CDD3"/></linearGradient><linearGradient id="j" x1="31.365" x2="39.858" y1="78.639" y2="76.747" gradientUnits="userSpaceOnUse"><stop stop-color="#F1F2F3"/><stop offset="1" stop-color="#C4CDD3"/></linearGradient><linearGradient id="k" x1="73.5" x2="73.5" y1="141" y2="150" gradientUnits="userSpaceOnUse"><stop stop-color="#EDF0FB"/><stop offset="1" stop-color="#B6C2EF"/></linearGradient><linearGradient id="l" x1="73" x2="73" y1="152" y2="158" gradientUnits="userSpaceOnUse"><stop stop-color="#EDF0FB"/><stop offset="1" stop-color="#8094E4"/></linearGradient></defs></svg></div>\n </div>\n <div class="fj-feedback-footer-buttons">\n <button type="button" class="fj-feedback-btn fj-feedback-btn-close">${d("global.close")}</button>\n </div>\n </div>\n `,null===(t=e.querySelector(".fj-feedback-btn-close"))||void 0===t||t.addEventListener("click",()=>this.render(null))}renderTabs(){return`\n <input type="radio" id="radio-enhancement" name="feedbackType" ${"enhancement"===this.form.feedbackType?"checked":""} value="enhancement"/>\n <label class="fj-tab" for="radio-enhancement">\n <span class="fj-tab-icon" aria-hidden="true">\n <span class="fj-tab-icon-active"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none"><path stroke="#fff" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M15 14c.2-1 .7-1.7 1.5-2.5 1-.9 1.5-2.2 1.5-3.5A6 6 0 1 0 6 8c0 1 .2 2.2 1.5 3.5.7.7 1.3 1.5 1.5 2.5m0 4h6m-5 4h4"/></svg></span>\n <span class="fj-tab-icon-inactive"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none"><path stroke="#64748B" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M15 14c.2-1 .7-1.7 1.5-2.5 1-.9 1.5-2.2 1.5-3.5A6 6 0 1 0 6 8c0 1 .2 2.2 1.5 3.5.7.7 1.3 1.5 1.5 2.5m0 4h6m-5 4h4"/></svg></span>\n </span>\n <span class="fj-tab-label">${d("enhancement.tab")}</span>\n </label>\n <input type="radio" id="radio-issue" name="feedbackType" ${"issue"===this.form.feedbackType?"checked":""} value="issue"/>\n <label class="fj-tab" for="radio-issue">\n <span class="fj-tab-icon" aria-hidden="true">\n <span class="fj-tab-icon-active"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="none"><path fill="#2144CD" d="M9.968 15.808c3.317 0 6.005-2.683 6.005-5.992s-2.688-5.992-6.005-5.992-6.005 2.683-6.005 5.992 2.689 5.992 6.005 5.992"/><path fill="#D2D9F5" d="M9.428 5.785c.89-.157 1.535.683 2.628 1.616 1.008.862 1.063 3.774-.03 4.8s-2.517 1.607-4.124 1.106c-1.546-.482-2.062-1.141-2.473-2.129-.48-1.153-.232-3.045 1.096-4.24 1.33-1.196 1.964-.988 2.902-1.153z"/><path fill="#8094E4" d="M14.613 10.097c.157-.88-.072-2.72-1.594-3.82-1.752-1.266-3.316-1.659-4.23-.469C7.86 7.02 7.37 8.267 8.408 9.28s2.333 1.24 2.316 2.556c-.016 1.316 2 2.004 2.692 1.147 1.047-1.296 1.047-2.034 1.198-2.886"/><path fill="#fff" d="M8.196 10.373c.254-.675.756-1.958.48-2.607s-.901-1.329-1.723-1.223-1.654.595-1.801 1.558c-.146.964-.409 2.544.556 2.833s1.444.885 1.96.231.528-.792.528-.792m6.966-7.494a.7.7 0 0 1-.394-.127c-.714-.513-1.69-.871-1.7-.875a.672.672 0 1 1 .463-1.264c.046.017 1.157.424 2.026 1.048a.672.672 0 0 1-.395 1.219zM7.449 1.688A.673.673 0 0 1 7.255.37C7.301.356 8.434.02 9.504 0c.37-.004.68.29.686.661a.674.674 0 0 1-.662.684c-.886.016-1.876.31-1.886.314a.7.7 0 0 1-.195.028zM2.675 4.849a.671.671 0 0 1-.53-1.087c.031-.04.775-.984 1.656-1.626a.675.675 0 0 1 .943.147c.219.3.153.721-.148.94-.726.53-1.382 1.36-1.39 1.368a.67.67 0 0 1-.53.258M.674 10.29h-.01A.674.674 0 0 1 0 9.609c0-.05.023-1.251.337-2.29a.674.674 0 0 1 1.291.39c-.26.86-.28 1.91-.28 1.92a.674.674 0 0 1-.674.663m1.5 5.541a.67.67 0 0 1-.56-.296c-.027-.041-.688-1.02-1.024-2.035a.675.675 0 0 1 1.28-.423c.277.834.856 1.695.86 1.704a.673.673 0 0 1-.557 1.05m4.603 3.612a.7.7 0 0 1-.221-.038c-.047-.016-1.163-.407-2.04-1.019a.67.67 0 0 1-.167-.936.675.675 0 0 1 .939-.166c.72.503 1.701.847 1.711.85a.673.673 0 0 1-.222 1.309m3.611.555a.673.673 0 0 1-.002-1.346c.9-.002 1.92-.29 1.93-.293a.672.672 0 1 1 .373 1.293c-.05.014-1.207.342-2.298.345zm5.447-2.03a.673.673 0 0 1-.409-1.208c.712-.541 1.35-1.384 1.357-1.393a.676.676 0 0 1 .944-.134.67.67 0 0 1 .136.94c-.031.041-.755 1-1.62 1.657a.67.67 0 0 1-.407.137zm3.126-4.77a.673.673 0 0 1-.64-.885c.282-.852.33-1.908.332-1.918a.677.677 0 0 1 .703-.643c.372.016.66.329.644.7-.002.05-.056 1.25-.399 2.284a.67.67 0 0 1-.64.46zm.1-6.222a.68.68 0 0 1-.546-.276c-.47-.643-1.206-1.38-1.213-1.387a.67.67 0 0 1 0-.952.675.675 0 0 1 .954 0c.033.033.817.818 1.349 1.547a.672.672 0 0 1-.544 1.069z"/></svg></span>\n <span class="fj-tab-icon-inactive"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="none"><path fill="#64748B" d="M9.968 15.808c3.317 0 6.005-2.683 6.005-5.992s-2.688-5.992-6.005-5.992-6.005 2.683-6.005 5.992 2.689 5.992 6.005 5.992"/><path fill="#CBD5E1" d="M9.428 5.785c.89-.157 1.535.683 2.628 1.616 1.008.862 1.063 3.774-.03 4.8s-2.517 1.607-4.124 1.106c-1.546-.482-2.062-1.141-2.473-2.129-.48-1.153-.232-3.045 1.096-4.24 1.33-1.196 1.964-.988 2.902-1.153z"/><path fill="#94A3B8" d="M14.613 10.097c.157-.88-.072-2.72-1.594-3.82-1.752-1.266-3.316-1.659-4.23-.469C7.86 7.02 7.37 8.267 8.408 9.28s2.333 1.24 2.316 2.556c-.016 1.316 2 2.004 2.692 1.147 1.047-1.296 1.047-2.034 1.198-2.886"/><path fill="#fff" d="M8.196 10.373c.254-.675.756-1.958.48-2.607s-.901-1.329-1.723-1.223-1.654.595-1.801 1.558c-.146.964-.409 2.544.556 2.833s1.444.885 1.96.231.528-.792.528-.792"/><path fill="#64748B" d="M15.163 2.879a.7.7 0 0 1-.394-.127c-.715-.513-1.69-.871-1.7-.875A.672.672 0 1 1 13.53.613c.047.017 1.158.424 2.026 1.048a.672.672 0 0 1-.395 1.219zM7.448 1.688A.673.673 0 0 1 7.254.37C7.302.356 8.435.02 9.505 0c.37-.004.68.29.686.661a.674.674 0 0 1-.663.684c-.885.016-1.876.31-1.885.314a.7.7 0 0 1-.196.028zM2.675 4.849a.671.671 0 0 1-.53-1.087c.031-.04.775-.984 1.656-1.626a.675.675 0 0 1 .943.147c.219.3.153.721-.148.94-.726.53-1.382 1.36-1.39 1.368a.67.67 0 0 1-.53.258M.674 10.29h-.01A.674.674 0 0 1 0 9.609c0-.05.023-1.251.337-2.29a.674.674 0 0 1 1.291.39c-.26.86-.28 1.91-.28 1.92a.674.674 0 0 1-.674.663m1.5 5.541a.67.67 0 0 1-.56-.296c-.027-.041-.688-1.02-1.024-2.035a.675.675 0 0 1 1.28-.423c.277.834.856 1.695.861 1.704a.673.673 0 0 1-.558 1.05m4.603 3.612a.7.7 0 0 1-.221-.038c-.047-.016-1.163-.407-2.04-1.019a.67.67 0 0 1-.167-.936.675.675 0 0 1 .939-.166c.72.503 1.701.847 1.711.85a.673.673 0 0 1-.222 1.309m3.611.555a.673.673 0 0 1-.002-1.346c.9-.002 1.92-.29 1.93-.293a.672.672 0 1 1 .373 1.293c-.05.014-1.207.342-2.298.345zm5.447-2.03a.673.673 0 0 1-.409-1.208c.712-.541 1.35-1.384 1.357-1.393a.676.676 0 0 1 .944-.134.67.67 0 0 1 .136.94c-.031.041-.755 1-1.62 1.657a.67.67 0 0 1-.407.137zm3.126-4.77a.674.674 0 0 1-.64-.885c.283-.852.331-1.908.332-1.918a.677.677 0 0 1 .703-.643c.372.016.66.329.645.7-.002.05-.057 1.25-.4 2.284a.67.67 0 0 1-.64.46zm.1-6.222a.68.68 0 0 1-.546-.276c-.47-.643-1.206-1.38-1.213-1.387a.67.67 0 0 1 0-.952.675.675 0 0 1 .954 0c.033.033.817.818 1.35 1.547a.672.672 0 0 1-.545 1.069z"/></svg></span>\n </span>\n <span class="fj-tab-label">${d("issue.tab")}</span>\n </label>\n <input type="radio" id="radio-decision" name="feedbackType" ${"decision"===this.form.feedbackType?"checked":""} value="decision"/>\n <label class="fj-tab" for="radio-decision">\n <span class="fj-tab-icon" aria-hidden="true">\n <span class="fj-tab-icon-active"><svg xmlns="http://www.w3.org/2000/svg" width="22" height="22" fill="none"><path stroke="#fff" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M2.743 14.98c.134.34.164.713.086 1.07l-.976 3.016a.917.917 0 0 0 1.133 1.07l3.128-.914a1.83 1.83 0 0 1 1.008.084 9.167 9.167 0 1 0-4.38-4.326M7.333 11h.009M11 11h.008m3.659 0h.008"/></svg></span>\n <span class="fj-tab-icon-inactive"><svg xmlns="http://www.w3.org/2000/svg" width="22" height="22" fill="none"><path stroke="#64748B" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M2.743 14.98c.134.34.164.713.086 1.07l-.977 3.016a.917.917 0 0 0 1.133 1.07l3.129-.914a1.83 1.83 0 0 1 1.007.084 9.167 9.167 0 1 0-4.378-4.326M7.333 11h.009M11 11h.008m3.659 0h.008"/></svg></span>\n </span>\n <span class="fj-tab-label">${d("decision.tab")}</span>\n </label>\n <span class="fj-glider"></span>\n `}renderFields(){return`\n <div class="fj-feedback-header">\n <div class="fj-feedback-robot" aria-hidden="true">${"issue"===this.form.feedbackType?o:'<svg xmlns="http://www.w3.org/2000/svg" width="118" height="128" fill="none"><path fill="#2C3D82" d="M62.849 106.398s-3.28.742-4.79 1.104c-1.512.364-4.466 1.062-4.97 1.242-.506.179-1.473.639-1.74 1.534-.265.894-.206 1.46-.303 3.188l10.495-2.521c.561-.135 1.256-1.065 1.309-4.547zm-7.228 11.147c-3.07.738-5.288 1.283-5.288 1.283.142-1.509.098-2 .383-2.787.285-.788 1.245-1.215 1.744-1.386.5-.17 3.411-.859 4.902-1.218 1.49-.358 4.72-1.093 4.72-1.093-.072 1.517-.14 2.543-.26 3.233-.171.984-.02 1.404-.896 4.215-.801 2.571-1.341 4.252-3.886 6.788 0 0-2.425-2.448-1.711-3.772.692-1.285.65-1.109 1.16-2.403.27-.679.443-.944.533-1.833.075-.735-.667-1.205-1.4-1.029z"/><path fill="#2C3D82" d="M62.849 106.398s-.623 8.587-1.326 10.571-3.488-1.43-3.488-1.43l.535-6.707 4.28-2.432z"/><path fill="url(#a)" d="M10.33 75.085c-5.706-18.067 8.54-38.838 31.819-46.392 23.278-7.554 46.773.969 52.478 19.036 5.705 18.068-8.541 38.838-31.82 46.392-23.278 7.554-46.773-.968-52.478-19.036"/><path fill="url(#b)" d="M56.154 99.928c14.632-1.278 22.943-8.877 27.272-1.114 3.647 6.54-4.946 26.139-23.188 28.538-18.828 2.475-31.62-13.686-29.76-22.043 1.527-6.858 10.467-4.053 25.676-5.38z"/><path fill="url(#c)" d="M17.87 89.198c1.357.77 4.16 1.729 4.02-.634-.411-6.94-5.114-13.768-7.369-16.762-1.226-1.627-5.054-5.326-5.636-3.768-1.779 4.762-1.072 9.104 1.44 13.734 2.285 4.211 6.19 6.663 7.547 7.433v-.003z"/><path fill="url(#d)" d="M25.878 99.292c1.309.611.93 3.527 1.31 5.165.583 2.509 1.893 5.018 2.62 8.412.505 2.348-1.456 4.28-4.076 4.428s-10.483-.591-14.122-3.689c-2.768-2.358-5.387-5.018-5.387-7.822 0-3.545 9.416-5.953 12.082-6.494 2.184-.444 5.678-.886 7.57 0z"/><path fill="url(#e)" d="M110.311 64.757c-1.76.62-3.93 3.541-6.696 4.28-2.766.738-9.026 1.33-9.172 6.495-.146 5.166 2.855 10.534 5.913 11.714 3.057 1.18 8.439.072 11.298-3.24 3.139-3.638 5.791-11.277 4.772-14.525-1.019-3.246-2.766-5.904-6.115-4.723z"/><path fill="url(#f)" d="M51.594 44.489c-11.98 4.974-20.166 12.888-21.354 14.429-.91 1.18 2.74 6.314 5.71 12.076 2.781 5.399 4.26 11.599 5.437 12.052 1.673.644 13.168-1.41 23.502-6.402 11.587-5.597 19.873-12.12 20.23-13.86.415-2.012-.86-9.623-3.108-14.178-2.47-4.7-5.912-9.388-7.973-10.293-1.685-.74-10.955 1.404-22.445 6.174h.001z"/><path fill="#fff" d="M64.882 29.013c2.711.294 8.856 1.057 9.329 4.163s-4.022 3.13-6.36 2.761c-2.337-.367-6.642-.659-9.11-.457-2.468.2-4.513-1.715-3.623-3.544s5.959-3.334 9.764-2.922zM75.22 99.96c1.496-.209 3.716 1.156 3.825 2.764.11 1.607.48 3.398.078 4.841-.405 1.442-1.539 5.056-3.732 6.015-2.193.96-3.532 1.559-4.468.716s-1.136-1.94-.468-3.198 2.452-2.695 1.935-4.779-.028-5.956 2.83-6.356zm39.052-30.478c.068.96-.405 3.333-1.308 4.447-.902 1.114-2.786.121-2.684-1.715.101-1.838-1.289-4.629-.184-5.401 1.107-.772 3.947-.647 4.176 2.67zm-98.913 34.127c.282-1.562 3.495-2.708 5.639-2.84 2.143-.132 3.307 1.385 2.995 2.165s-1.872 2.082-4.545 1.203c-1.158-.381-4.272.473-4.092-.53h.002z"/><path fill="#B4BFC6" d="M108.989 85.218s4.164-2.67 2.889-5.083c-.648-1.223-1.903-2.084-4.079-1.808-2.176.277-4.153 1.576-5.922.61-1.768-.964-2.69-1.613-4.315-1.827-1.398-.183-1.49 1.108-1.581 2.078.405 1.465 1.041 3.592 1.403 4.14.36.548 1.862 2.42 3.833 2.925 2.129.545 4.011.821 7.772-1.037zm-38.358 11.61c-.102.94-1.337 2.76-3.103 3.54-4.01 1.773-5.59.487-13.576 2.919-5.873 1.789-13.218 2.11-16.31 1.066-3.093-1.045-4.021-2.926-2.166-3.449 0 0 .974-.302 4.45-.512 2.965-.177 8.298-.276 10.444-.19 3.526.143 12.076-1.182 14.825-1.938 2.27-.624 5.434-1.439 5.434-1.439zm-13.403-4.06c-3.905 1.286-9.807 1.674-14.143.314-5.147-1.616-13.44-2.72-15.343-2.298-1.367.304-1.755 1.29-1.614 1.763 0 0 5.221 2.836 12.635 3.828s12.635.473 16.085-.19c1.919-.368 5.946-1.35 9.598-2.609.46-1.603-4.408-1.736-7.218-.81zM12.349 69.507c1.463.043 4.089 1.881 7.783 7.392 3.83 5.715 4.51 9.673 4.347 11.272s-.651 2.419-1.087 2.915c0 0-1.197-.724-1.957-1.276 0 0 .668-.269.295-2.726-.16-1.056-.611-2.783-1.228-4.63-.794-2.375-1.913-4.331-2.952-6.143-1.383-2.41-4.74-6.584-5.2-6.803h-.001zm12.133 46.337c1.095-.987-.203-4.319-1.42-5.018s-3.082-.617-4.544-.905c-1.46-.287-3.082-.947-4.3-1.48-1.219-.534-2.963-.164-3.733.699-.771.865-.022 1.716.635 2.413.892.947 2.398 1.83 4.193 2.606 2.474 1.071 7.506 1.686 9.169 1.686z"/><path fill="#121442" d="M40.208 81.241c.393.899.821 1.668 1.177 1.805 1.674.643 13.169-1.41 23.503-6.402 11.586-5.598 19.872-12.12 20.23-13.86.414-2.013-.861-9.624-3.108-14.18-2.47-4.698-5.912-9.387-7.973-10.292-.494-.217-1.643-.186-3.308.087 0 0 5.21 4.804 7.583 9.548 1.577 3.152 2.76 6.14 3.466 9.095.433 1.82.675 3.524.495 4.705-.203 1.32-11.165 8.224-16.025 10.6-5.259 2.57-17.448 7.401-26.039 8.893z"/><path fill="#D9EFFD" d="M43.831 70.82c3.397 2.863 7.61 2.588 9.41-.618 1.801-3.206.507-8.126-2.889-10.99s-7.608-2.59-9.41.616c-1.8 3.207-.507 8.127 2.89 10.991"/><path fill="#fff" d="M46.92 63.806c1.427 1.252 3.182 1.278 3.917.058.736-1.22.173-3.223-1.253-4.476-1.427-1.251-3.181-1.277-3.916-.057-.737 1.22-.174 3.222 1.252 4.475"/><path fill="url(#g)" d="M48.702 72.852q.21 0 .416-.014a5.12 5.12 0 0 0 3.854-2.155c2.225-3.096 1.357-8.418-1.935-11.866-1.837-1.924-4.11-2.94-6.231-2.79a5.12 5.12 0 0 0-3.855 2.155c-2.224 3.096-1.356 8.418 1.936 11.866 1.717 1.799 3.815 2.804 5.816 2.804m-3.48-16.471c1.902 0 3.905.966 5.554 2.692 3.174 3.324 4.028 8.436 1.902 11.393-.867 1.206-2.106 1.9-3.585 2.004-2.018.143-4.183-.834-5.945-2.678-3.174-3.325-4.028-8.436-1.903-11.393.867-1.206 2.107-1.9 3.586-2.004q.195-.014.39-.014"/><path fill="#D9EFFD" d="M64.389 59.526c2.716 3.532 6.89 4.172 9.324 1.43 2.433-2.744 2.203-7.83-.514-11.362s-6.89-4.173-9.323-1.43-2.203 7.83.513 11.362"/><path fill="#fff" d="M68.88 53.34c1.132 1.531 2.84 1.936 3.814.903s.848-3.111-.284-4.643c-1.132-1.53-2.84-1.935-3.814-.902s-.848 3.111.284 4.643"/><path fill="url(#h)" d="M70.118 62.568a4.97 4.97 0 0 0 3.341-1.27c2.8-2.454 3.022-7.704.495-11.705-1.419-2.245-3.447-3.71-5.565-4.022-1.561-.23-3.001.188-4.165 1.208-2.8 2.454-3.022 7.705-.494 11.705 1.418 2.245 3.446 3.711 5.564 4.022q.42.062.824.062M67.57 45.88q.378 0 .768.057c2.013.296 3.949 1.702 5.31 3.857 2.434 3.851 2.242 8.888-.426 11.227-1.081.947-2.42 1.335-3.875 1.122-2.013-.296-3.948-1.702-5.31-3.857-2.433-3.85-2.242-8.888.426-11.227a4.62 4.62 0 0 1 3.107-1.178z"/><path fill="#388397" d="M24.695 23.084c-4.705 0-8.52-3.867-8.52-8.637s3.815-8.636 8.52-8.636 8.519 3.866 8.519 8.636-3.814 8.637-8.52 8.637"/><path fill="#CFE4E9" d="M21.247 9.74c-1.06.73-.884 2.245-1.07 4.305-.17 1.902 2.66 4.964 4.789 4.928 2.13-.036 4.154-.864 5.29-2.993 1.093-2.048.966-3.246.405-4.679-.657-1.672-2.784-3.378-5.32-3.28-2.536.097-2.975.95-4.094 1.719"/><path fill="#78B2C2" d="M20.25 19.396c-1.03-.752-2.622-2.883-2.166-5.545.525-3.065 1.727-5.041 3.836-4.726 2.147.32 3.88 1.116 3.83 3.202s-1.142 3.621.18 4.964c1.32 1.343-.048 4.076-1.6 3.884-2.35-.289-3.08-1.052-4.08-1.78"/><path fill="#FFFAE9" d="M27.051 13.246c-.928-.443-2.71-1.264-3.073-2.211-.364-.947-.401-2.276.54-2.992.941-.714 2.27-1.044 3.375-.196s2.938 2.218 2.242 3.483c-.695 1.267-.59 2.363-1.763 2.205-1.172-.158-1.322-.289-1.322-.289z"/><path fill="#388397" d="M17.124 4.17a.94.94 0 0 0 .555-.182c1.03-.753 2.439-1.279 2.453-1.284a.97.97 0 0 0 .567-1.235.946.946 0 0 0-1.218-.575c-.067.024-1.665.619-2.914 1.53a.973.973 0 0 0-.215 1.345.95.95 0 0 0 .772.401m11.112-1.743A.966.966 0 0 0 28.51.541c-.07-.02-1.7-.513-3.24-.54a.96.96 0 0 0-.967.946.957.957 0 0 0 .934.98c1.28.024 2.71.455 2.724.46a1 1 0 0 0 .274.04m6.881 4.625c.206 0 .41-.067.586-.204a.974.974 0 0 0 .163-1.353c-.045-.058-1.115-1.438-2.383-2.375a.94.94 0 0 0-1.328.21.97.97 0 0 0 .208 1.347c1.056.78 1.996 1.993 2.005 2.005.188.243.468.37.75.37m2.88 7.967h.016a.956.956 0 0 0 .935-.978c0-.075-.033-1.829-.485-3.346a.95.95 0 0 0-1.185-.644.967.967 0 0 0-.636 1.201c.377 1.262.405 2.802.405 2.817.007.527.432.95.95.95m-2.16 8.112a.94.94 0 0 0 .788-.424c.04-.06.99-1.49 1.474-2.972a.967.967 0 0 0-.603-1.218.95.95 0 0 0-1.202.611c-.403 1.232-1.236 2.487-1.243 2.5a.973.973 0 0 0 .254 1.339.94.94 0 0 0 .533.166zm-6.631 5.289a.9.9 0 0 0 .312-.055c.067-.024 1.674-.595 2.934-1.49a.97.97 0 0 0 .235-1.34.943.943 0 0 0-1.324-.238c-1.04.737-2.456 1.242-2.47 1.247a.968.968 0 0 0 .313 1.875m-5.204.812c.524 0 .95-.43.951-.961a.96.96 0 0 0-.948-.966c-1.307-.004-2.77-.426-2.783-.431a.95.95 0 0 0-1.177.66.965.965 0 0 0 .65 1.192c.07.02 1.736.5 3.306.505h.003zm-7.847-2.973c.287 0 .57-.131.758-.38a.97.97 0 0 0-.181-1.35c-1.03-.794-1.95-2.03-1.958-2.043a.94.94 0 0 0-1.331-.192.97.97 0 0 0-.192 1.348c.043.059 1.084 1.46 2.33 2.42a.94.94 0 0 0 .574.197m-4.502-6.98a1 1 0 0 0 .298-.05.967.967 0 0 0 .605-1.218c-.408-1.25-.48-2.798-.48-2.814a.96.96 0 0 0-.992-.92.96.96 0 0 0-.909 1.004c.003.073.083 1.827.574 3.336a.95.95 0 0 0 .903.662zm-.144-9.108a.94.94 0 0 0 .769-.398c.675-.942 1.738-2.021 1.75-2.032a.973.973 0 0 0 0-1.363.94.94 0 0 0-1.346 0c-.048.049-1.177 1.195-1.942 2.26a.97.97 0 0 0 .21 1.347.94.94 0 0 0 .559.185"/><path fill="#2C3D82" d="M58.24 105.353s-8.472 1.299-7.861 11.39c.15 2.479 1.833 6.251 5.117 8.341 0 0-4.352-5.824-1.782-11.406 2.064-4.487 7.375-2.592 8.621-8.043 0 0-1.815-.613-4.095-.282"/><path fill="#2C3D82" d="M61.193 113.227c2.118 0 3.834-1.74 3.834-3.887s-1.716-3.887-3.834-3.887c-2.117 0-3.834 1.74-3.834 3.887s1.716 3.887 3.834 3.887m-4.331 4.494c1.373 0 2.487-1.129 2.487-2.521 0-1.393-1.114-2.521-2.487-2.521-1.374 0-2.487 1.128-2.487 2.521 0 1.392 1.113 2.521 2.487 2.521"/><path fill="#FFDB00" d="M96.92 38.895c.977 6.435 6.542 11.46 10.289 11.46 4.078 0 9.311-4.264 10.113-11.46.747-6.697-4.567-12.204-10.201-12.204S95.909 32.234 96.92 38.895"/><path fill="#CDAA00" d="M104.633 53.799h4.956c.631 0 1.143-.52 1.143-1.16s-.512-1.159-1.143-1.159h-4.956c-.631 0-1.143.52-1.143 1.16s.512 1.159 1.143 1.159m0 2.555h4.956c.631 0 1.143-.519 1.143-1.159s-.512-1.159-1.143-1.159h-4.956c-.631 0-1.143.52-1.143 1.16s.512 1.158 1.143 1.158m0 2.556h4.956c.631 0 1.143-.52 1.143-1.16s-.512-1.158-1.143-1.158h-4.956c-.631 0-1.143.519-1.143 1.159s.512 1.159 1.143 1.159"/><path fill="#fff" d="M105.492 49.02c.123 0 .246-.04.35-.122a.585.585 0 0 0 .101-.814c-.929-1.212-4.128-7.982-3.985-10.43.15-2.571.525-3.642 1.385-3.948.432-.154.759-.03 1.085.37-1.207 1.313-1.695 3.45-1.358 4.826.229.936.835 1.538 1.663 1.65.963.13 1.791-.185 2.27-.867.178-.251.298-.538.361-.85.033.319.112.613.25.866.197.361.598.802 1.399.853 1.221.077 1.816-.462 2.101-.929.57-.933.388-2.452-.476-3.962q-.432-.757-.85-1.306l.037-.067c.299-.554.73-.8 1.182-.675.743.206 1.51 1.411 1.439 3.567-.101 3.073-3.87 10.78-3.908 10.857a.584.584 0 0 0 .257.778.57.57 0 0 0 .767-.261c.16-.325 3.918-8.012 4.027-11.335.099-2.993-1.166-4.415-2.279-4.724-.891-.248-1.764.126-2.333.98-.424-.363-.856-.585-1.313-.685-.743-.164-1.514.017-2.349.552l-.055-.066c-.802-.94-1.691-.88-2.295-.664-1.751.625-2.021 2.799-2.146 4.973-.174 2.979 3.306 10.011 4.223 11.21a.57.57 0 0 0 .452.223zm-.443-13.895q.186.385.404.871c.155.346.314.703.487 1.051.391.795.441 1.53.133 1.967-.228.323-.65.462-1.189.39-.131-.018-.53-.072-.704-.781-.235-.96.102-2.483.869-3.498m4.179.428q.209.314.423.693c.621 1.088.824 2.228.492 2.77-.175.287-.531.415-1.057.382-.303-.02-.407-.14-.471-.256-.337-.62.013-2.145.611-3.59zm-.803-1.01c-.372.816-.892 2.118-1.039 3.309-.06-.423-.2-.87-.425-1.324-.162-.329-.317-.676-.467-1.011-.188-.418-.369-.825-.563-1.198.565-.36 1.054-.49 1.489-.394q.488.107 1.004.618z"/><defs><linearGradient id="a" x1="78.08" x2="25.714" y1="35.776" y2="86.785" gradientUnits="userSpaceOnUse"><stop stop-color="#F1F2F3"/><stop offset="1" stop-color="#C4CDD3"/></linearGradient><linearGradient id="b" x1="84.25" x2="30.299" y1="111.488" y2="111.488" gradientUnits="userSpaceOnUse"><stop stop-color="#F1F2F3"/><stop offset="1" stop-color="#C4CDD3"/></linearGradient><linearGradient id="c" x1="17.111" x2="13.391" y1="71.269" y2="85.995" gradientUnits="userSpaceOnUse"><stop offset=".15" stop-color="#F1F2F3"/><stop offset=".26" stop-color="#E5E8EA"/><stop offset=".47" stop-color="#D2D9DD"/><stop offset=".7" stop-color="#C7CFD5"/><stop offset=".94" stop-color="#C4CDD3"/></linearGradient><linearGradient id="d" x1="29.888" x2="6.223" y1="108.048" y2="108.048" gradientUnits="userSpaceOnUse"><stop stop-color="#F1F2F3"/><stop offset="1" stop-color="#C4CDD3"/></linearGradient><linearGradient id="e" x1="116.648" x2="94.438" y1="76.09" y2="76.09" gradientUnits="userSpaceOnUse"><stop stop-color="#F1F2F3"/><stop offset="1" stop-color="#C4CDD3"/></linearGradient><linearGradient id="f" x1="76.249" x2="43.159" y1="74.759" y2="50.219" gradientUnits="userSpaceOnUse"><stop stop-color="#134395"/><stop offset="1" stop-color="#0E2050"/></linearGradient><linearGradient id="g" x1="54.206" x2="39.718" y1="64.433" y2="64.433" gradientUnits="userSpaceOnUse"><stop stop-color="#FFFDFE"/><stop offset=".05" stop-color="#FBFBFD"/><stop offset=".25" stop-color="#EFF6FD"/><stop offset=".45" stop-color="#EBF5FD"/><stop offset=".78" stop-color="#D5EDFC"/><stop offset="1" stop-color="#CDEAFC"/></linearGradient><linearGradient id="h" x1="77.93" x2="63.766" y1="56.081" y2="52.986" gradientUnits="userSpaceOnUse"><stop stop-color="#FFFDFE"/><stop offset=".05" stop-color="#FBFBFD"/><stop offset=".25" stop-color="#EFF6FD"/><stop offset=".45" stop-color="#EBF5FD"/><stop offset=".78" stop-color="#D5EDFC"/><stop offset="1" stop-color="#CDEAFC"/></linearGradient></defs></svg>'}</div>\n <div class="fj-feedback-speech-bubble">\n <p>${d(`${this.form.feedbackType}.form.description`)}</p>\n </div>\n </div>\n <div class="fj-feedback-body">\n <label>\n <p>${d(`${this.form.feedbackType}.form.field.title`)} ${h()}</p>\n <input required type="text" name="feedbackTitle" class="fj-feedback-answer-input" value="${this.form.feedbackTitle||""}">\n </label>\n <label>\n <p>${d(`${this.form.feedbackType}.form.field.description`)} ${h()}</p>\n <textarea required rows="6" name="feedbackDescription" class="fj-feedback-answer-input">${this.form.feedbackDescription||""}</textarea>\n </label>\n ${this.renderConsent()}\n </div>\n `}renderDecisionList(){let e="";return e=this.decisionsLoading?`<div class="fj-feedback-decision-loading">${d("decision.loading")}</div>`:0===this.decisions.length?`<div class="fj-feedback-decision-empty">${d("decision.empty")}</div>`:`\n <div class="fj-feedback-decision-list">\n ${this.decisions.map(e=>this.renderDecisionCard(e)).join("")}\n </div>\n `,`\n <div class="fj-feedback-header">\n <div class="fj-feedback-robot" aria-hidden="true">${n}</div>\n <div class="fj-feedback-speech-bubble">\n <p>${d("decision.description")}</p>\n </div>\n </div>\n <div class="fj-feedback-body">\n ${e}\n </div>\n `}renderDecisionCard(e){const t=d(`decision.card.type.${e.type}`),n="issue"===e.type?'<svg xmlns="http://www.w3.org/2000/svg" width="21" height="21" fill="none"><path fill="#EE7B30" fill-rule="evenodd" d="M14.175 5.185A7.35 7.35 0 1 1 4.719 7.01c.211-.27.62-.23.832.04q.44.556.99 1.001c.35.283.826-.05.812-.5l-.003-.2c0-.965.217-1.879.604-2.696a6.33 6.33 0 0 1 2.61-2.798c.26-.146.578-.017.71.25a7.3 7.3 0 0 0 2.9 3.078M14.7 12.6a4.2 4.2 0 0 1-4.2 4.2c-2.009 0-3.697-1.468-4.105-3.34-.099-.45.461-.676.854-.435a4.2 4.2 0 0 0 1.682.592c.317.04.557-.251.535-.57a6.27 6.27 0 0 1 1.38-4.402.47.47 0 0 1 .453-.169A4.2 4.2 0 0 1 14.7 12.6" clip-rule="evenodd"/></svg>':'<svg xmlns="http://www.w3.org/2000/svg" width="17" height="17" fill="none"><path fill="#3E91A8" fill-rule="evenodd" d="M15.123 11.185a3.15 3.15 0 0 0 0-5.57 3.15 3.15 0 0 0-3.938-3.938 3.15 3.15 0 0 0-5.57 0 3.15 3.15 0 0 0-3.938 3.938 3.15 3.15 0 0 0 0 5.57 3.15 3.15 0 0 0 3.938 3.938 3.15 3.15 0 0 0 5.57 0 3.15 3.15 0 0 0 3.938-3.938M12.45 6.5a.788.788 0 0 0-1.273-.927l-3.658 5.03L5.545 8.63a.788.788 0 0 0-1.113 1.113l2.625 2.625a.787.787 0 0 0 1.193-.093z" clip-rule="evenodd"/></svg>',o=e.statusLabel&&""!==e.statusLabel.trim()?`\n <div class="fj-feedback-card-status fj-feedback-decision-status-${e.statusLabel}">\n <span class="fj-feedback-card-status-label">\n ${d(`decision.status.${e.type}.${e.statusLabel}`)}\n </span>\n </div>\n `:"";return`\n <div class="fj-feedback-card" data-type="${e.type}">\n <div class="fj-feedback-card-header">\n <div class="fj-feedback-card-type">\n <span class="fj-feedback-card-type-icon" aria-hidden="true">${n}</span>\n <span class="fj-feedback-card-type-label">${t}</span>\n </div>\n\n ${o}\n </div>\n\n <div class="fj-feedback-card-body">\n <h3 class="fj-feedback-card-title">${e.title}</h3>\n <p class="fj-feedback-card-description">${e.description}</p>\n </div>\n\n <div class="fj-feedback-card-footer">\n <span class="fj-feedback-card-date-icon" aria-hidden="true"><svg xmlns="http://www.w3.org/2000/svg" width="14" height="15" fill="none"><path stroke="#64748B" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M4.083.75v2.667M9.417.75v2.667M.75 6.083h12M4.083 8.75h.007m2.66 0h.007m2.66 0h.006m-5.34 2.667h.007m2.66 0h.007m2.66 0h.006m-7.34-9.334h9.334c.736 0 1.333.597 1.333 1.334v9.333c0 .736-.597 1.333-1.333 1.333H2.083A1.333 1.333 0 0 1 .75 12.75V3.417c0-.737.597-1.334 1.333-1.334"/></svg></span>\n <span class="fj-feedback-card-date">\n ${d("decision.card.date_prefix")} ${this.formatDecisionDate(e.createdAt)}\n </span>\n </div>\n </div>\n `}renderConsent(){let e="";return this.hasConsentFeedback&&(e+=`\n <label class="fj-feedback-consent">\n <input type="checkbox" name="consentFeedback" value="true" required>\n <p>\n ${d("consent.feedback.label")}<span aria-hidden="true">*</span><span class="fj-sr-only">(${d("global.required")})</span>\n <span class="fj-feedback-tooltip" title="${d("consent.feedback.tooltip")}" aria-label="${d("consent.feedback.tooltip")}">\n <span aria-hidden="true">${t}</span>\n </span>\n </p>\n </label>\n `),this.hasConsentScreenFeedback&&(e+=`\n <label class="fj-feedback-consent">\n <input type="checkbox" name="consentScreenFeedback" value="true">\n <p>\n ${d("consent.screen.label")}\n <span class="fj-feedback-tooltip" title="${d("consent.screen.tooltip")}" aria-label="${d("consent.screen.tooltip")}">\n <span aria-hidden="true">${t}</span>\n </span>\n </p>\n </label>\n `),this.hasConsentAttachment&&(e+=`\n <label class="fj-feedback-consent fj-feedback-consent-file">\n <input type="file" name="consentAttachmentFile" accept="*" style="display:none;">\n <button type="button" class="fj-feedback-btn fj-feedback-btn-file">${d("consent.attachment.button")} <span class="fj-feedback-tooltip" title="${d("consent.attachment.tooltip")}" aria-label="${d("consent.attachment.tooltip")}"><span aria-hidden="true">${t}</span></span></button>\n <div class="fj-feedback-file-name" style="display:none;"></div>\n </label>\n `),e}attachFormEvents(e){var t;if(!e)return;this.submitHandler&&e.removeEventListener("submit",this.submitHandler);const n=e.querySelector('input[type="file"][name="consentAttachmentFile"]'),o=e.querySelector(".fj-feedback-btn-file"),r=e.querySelector(".fj-feedback-file-name");let i=e.querySelector(".fj-feedback-file-error");!i&&r&&(i=document.createElement("div"),i.className="fj-feedback-file-error",i.style.color="red",i.setAttribute("role","alert"),null===(t=r.parentNode)||void 0===t||t.insertBefore(i,r.nextSibling)),n&&o&&r&&(o.addEventListener("click",e=>{e.preventDefault(),n.click()}),n.addEventListener("change",()=>{if(n.files&&n.files.length>0){const e=n.files[0];e.size>10485760?(r.textContent="",r.style.display="none",i&&(i.textContent=d("consent.attachment.file_too_large")),n.value="",this.form.consentAttachmentFile=null):(r.textContent=e.name,r.style.display="",i&&(i.textContent=""),this.form.consentAttachmentFile=e)}else r.textContent="",r.style.display="none",i&&(i.textContent=""),this.form.consentAttachmentFile=null})),this.submitHandler=async t=>{t.preventDefault();const n=e.querySelectorAll("input, textarea"),o=document.querySelector(".fj-feedback-btn-submit");o&&(o.disabled=!0,o.classList.add("fj-feedback-btn-loading"),o.textContent=d("global.sending"));for(const e of n)"feedbackTitle"===e.name&&(this.form.feedbackTitle=e.value),"feedbackDescription"===e.name&&(this.form.feedbackDescription=e.value),"consentFeedback"===e.name&&(this.form.consentFeedbackAgree=e.checked),"consentScreenFeedback"===e.name&&(this.form.consentScreenFeedback=e.checked),"consentAttachmentFile"===e.name&&e instanceof HTMLInputElement&&e.files&&e.files.length>0&&(this.form.consentAttachmentFile=e.files[0]);await this.submit()},e.addEventListener("submit",this.submitHandler)}async submit(){if(!this.form.isValid(this.hasConsentFeedback))return void this.render("form");const e=await this.form.toFormData(this.options);try{if(!(await fetch(`${this.options.apiUrl}/api/import_feedback`||"",{method:"POST",body:e})).ok)throw new Error("Failed to submit feedback");this.render("thanks")}catch(e){this.submitError=!0,this.render("form")}}formatDecisionDate(e){const t=new Date(e),n=String(t.getDate()).padStart(2,"0"),o=String(t.getMonth()+1).padStart(2,"0"),r=t.getFullYear(),i=String(t.getHours()).padStart(2,"0"),s=String(t.getMinutes()).padStart(2,"0");return`${n}/${o}/${r} ${d("global.date_at")} ${i}:${s}`}}var ml='<svg xmlns="http://www.w3.org/2000/svg" width="32" height="31" fill="none"><path stroke="#4966D8" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="m15.75.75 4.635 9.39 10.365 1.515-7.5 7.305 1.77 10.32-9.27-4.875-9.27 4.875 1.77-10.32-7.5-7.305 10.365-1.515z"/></svg>',gl='<svg xmlns="http://www.w3.org/2000/svg" width="32" height="31" fill="none"><path fill="#4966D8" stroke="#4966D8" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="m15.75.75 4.635 9.39 10.365 1.515-7.5 7.305 1.77 10.32-9.27-4.875-9.27 4.875 1.77-10.32-7.5-7.305 10.365-1.515z"/></svg>';const bl="fj-feedbot-";class yl{constructor(){this.quantityAnswer=0,this.quantityQuestion="",this.qualityAnswer="",this.qualityQuestion="",this.closedAnswer=0,this.closedQuestion="",this.anonymousAnswer=!1,this.answerStatus="SENT"}toJson(e,t){var n,o,r;const i="function"==typeof e.user?e.user():e.user;return{quantityAnswer:this.quantityAnswer,quantityQuestion:null!==(n=null==t?void 0:t.quantityQuestion)&&void 0!==n?n:"",qualityAnswer:this.qualityAnswer,qualityQuestion:null!==(o=null==t?void 0:t.qualityQuestion)&&void 0!==o?o:"",anonymousAnswer:this.anonymousAnswer,closedAnswer:this.closedAnswer,closedQuestion:null!==(r=null==t?void 0:t.closedQuestion)&&void 0!==r?r:"",userId:null==i?void 0:i.id,userName:this.anonymousAnswer?null:(null==i?void 0:i.fullName)||null,uuidSurvey:`/api/surveys/${e.surveyId}`,answerStatus:this.answerStatus,widgetVersion:"2.4.0",widgetLocale:c()}}}class xl{get user(){return"function"==typeof this.options.user?this.options.user():this.options.user}constructor(e){var t,n;this.ratingError=!1,this.submitError=!1,this.survey=null,this.previouslyFocusedElement=null,l(null!==(t=e.locale)&&void 0!==t?t:r.FR),this.options=e;const o=null!==(n=e.apiUrl)&&void 0!==n?n:e.baseApiUrl;if(!o)throw new Error("Feedbot: `apiUrl` option is required");this.apiUrl=o.trim().replace(/\/$/,""),this.form=new yl,this.integrationTest=new ul({modalId:"fj-feedbot-modal",bodyOpenClass:"fj-feedbot-open",toggleHtmlClass:!1,btnPrimaryClasses:"fj-btn",btnOutlineClasses:"fj-btn fj-btn-secondary",btnLoadingClass:`${bl}btn-loading`,pendingTitleKey:"integration_test.pending.feedbot.title",pendingTextKey:"integration_test.pending.feedbot.text",checkingTextKey:"integration_test.checking.feedbot_text",cancelLabelKey:"feedbot.cancel",connectivityCheckUrl:`${this.apiUrl}/api/connectivity_check/survey`,connectivityCheckBody:{uuidSurvey:e.surveyId},onSuccess:()=>this.increment()})}showThanks(e=!1){this.form.answerStatus=e?"DECLINED":"SENT",this.render("thanks")}render(e){var t,o,r;const i=null!==(t=document.getElementById(`${bl}modal`))&&void 0!==t?t:document.createElement("div");if(null===e||!this.survey)return void(this.submitError||(this.form=new yl,i.classList.add("fj-closing"),i.addEventListener("animationend",()=>{i.remove(),document.body.classList.remove(`${bl}open`),this.previouslyFocusedElement&&(this.previouslyFocusedElement.focus(),this.previouslyFocusedElement=null)},{once:!0})));"form"!==e&&"thanks"!==e||(this.previouslyFocusedElement||(this.previouslyFocusedElement=document.activeElement),document.body.classList.add(`${bl}open`));const s=!i.parentElement;if(i.id=`${bl}modal`,s&&(i.className=`fj ${bl}modal`),"form"===e||"thanks"===e?(i.setAttribute("role","dialog"),i.setAttribute("aria-modal","true")):(i.removeAttribute("role"),i.removeAttribute("aria-modal")),"bubble"===e&&(i.innerHTML=`<button type="button" class="${bl}bubble" aria-label="${d("a11y.feedbot_bubble")}">\n <span class="${bl}text">${this.survey.bubbleText||d("feedbot.bubble_default")}</span>\n <span class="${bl}robot" aria-hidden="true"><svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 164 213"><path fill="#2C3D82" d="M75.638 144.771s4.61 1.009 6.734 1.502c2.127.495 6.279 1.444 6.988 1.689.711.245 2.07.871 2.445 2.088.374 1.217.29 1.986.428 4.337l-14.756-3.43c-.79-.183-1.766-1.449-1.84-6.186zM85.8 159.927c4.318 1.003 7.434 1.745 7.434 1.745-.2-2.053-.137-2.721-.538-3.792-.4-1.072-1.75-1.653-2.452-1.885-.702-.233-4.796-1.17-6.891-1.658a857 857 0 0 0-6.637-1.487c.102 2.064.198 3.46.366 4.398.24 1.34.028 1.911 1.26 5.735 1.126 3.498 1.885 5.785 5.463 9.237 0 0 3.41-3.331 2.406-5.134-.973-1.748-.914-1.508-1.632-3.269-.378-.923-.622-1.283-.749-2.493-.105-1 .938-1.64 1.97-1.401z"/><path fill="#2C3D82" d="M75.638 144.771s.875 11.683 1.864 14.382c.99 2.7 4.904-1.946 4.904-1.946l-.752-9.124-6.018-3.31z"/><path fill="url(#a)" d="M149.477 102.154c8.021-24.582-12.008-52.842-44.736-63.12s-65.761 1.318-73.782 25.9c-8.02 24.582 12.009 52.842 44.737 63.12 32.727 10.278 65.761-1.318 73.781-25.9"/><path fill="url(#b)" d="M85.05 135.955c-20.571-1.738-32.256-12.078-38.342-1.516-5.127 8.899 6.953 35.565 32.601 38.829 26.471 3.367 44.456-18.622 41.84-29.991-2.146-9.331-14.715-5.515-36.098-7.321z"/><path fill="url(#c)" d="M138.875 121.36c-1.907 1.048-5.849 2.352-5.653-.863.579-9.443 7.191-18.732 10.361-22.806 1.725-2.213 7.107-7.247 7.925-5.126 2.5 6.48 1.507 12.387-2.025 18.686-3.213 5.73-8.703 9.066-10.61 10.113v-.004z"/><path fill="url(#d)" d="M127.617 135.086c-1.84.833-1.308 4.8-1.842 7.029-.82 3.412-2.661 6.827-3.684 11.444-.709 3.195 2.048 5.824 5.731 6.025 3.684.201 14.738-.804 19.854-5.019 3.892-3.209 7.574-6.828 7.574-10.642 0-4.824-13.237-8.101-16.986-8.837-3.071-.603-7.982-1.204-10.643 0z"/><path fill="url(#e)" d="M8.908 88.098c2.476.844 5.527 4.818 9.415 5.824 3.888 1.003 12.69 1.807 12.895 8.836.205 7.028-4.013 14.333-8.313 15.938-4.299 1.606-11.865.098-15.884-4.408-4.414-4.95-8.142-15.343-6.71-19.763C1.745 90.108 4.2 86.493 8.909 88.1z"/><path fill="url(#f)" d="M91.46 60.518c16.845 6.768 28.353 17.536 30.023 19.632 1.28 1.605-3.851 8.591-8.026 16.431-3.912 7.345-5.99 15.781-7.646 16.398-2.352.876-18.514-1.918-33.043-8.71-16.29-7.616-27.939-16.49-28.442-18.858-.582-2.738 1.21-13.093 4.37-19.291 3.473-6.394 8.312-12.774 11.21-14.005 2.37-1.007 15.402 1.911 31.556 8.401h-.002z"/><path fill="#fff" d="M72.78 39.482c-3.812.4-12.452 1.44-13.116 5.665-.667 4.226 5.654 4.257 8.94 3.757s9.34-.897 12.81-.622c3.47.272 6.344-2.334 5.093-4.822-1.25-2.488-8.378-4.537-13.727-3.976zm-14.535 96.519c-2.103-.285-5.225 1.571-5.378 3.759s-.676 4.624-.11 6.587c.57 1.962 2.164 6.878 5.247 8.184s4.967 2.121 6.282.974 1.597-2.64.658-4.351c-.94-1.712-3.447-3.667-2.72-6.503.727-2.835.04-8.103-3.98-8.647zM3.339 94.533c-.095 1.306.57 4.536 1.839 6.051s3.917.165 3.774-2.334 1.813-6.297.259-7.348c-1.556-1.05-5.55-.88-5.872 3.633zm139.068 46.434c-.397-2.125-4.915-3.684-7.928-3.864s-4.65 1.885-4.211 2.946c.438 1.061 2.632 2.832 6.39 1.636 1.627-.517 6.006.644 5.753-.72h-.004z"/><path fill="#B4BFC6" d="M10.767 115.942s-5.854-3.633-4.061-6.915c.91-1.664 2.674-2.836 5.734-2.46s5.838 2.144 8.326.831c2.486-1.313 3.782-2.196 6.066-2.486 1.966-.25 2.096 1.507 2.224 2.827-.57 1.993-1.465 4.886-1.973 5.631-.507.747-2.617 3.294-5.388 3.981-2.994.741-5.64 1.117-10.928-1.411zm53.929 15.801c.144 1.28 1.88 3.755 4.362 4.816 5.639 2.413 7.861.663 19.088 3.973 8.256 2.433 18.584 2.87 22.932 1.449s5.653-3.981 3.044-4.692c0 0-1.369-.411-6.257-.696-4.169-.242-11.666-.376-14.683-.259-4.957.194-16.978-1.609-20.843-2.637a623 623 0 0 0-7.64-1.958zm18.844-5.528c5.49 1.75 13.787 2.278 19.884.427 7.237-2.198 18.895-3.701 21.572-3.126 1.921.414 2.466 1.755 2.268 2.399 0 0-7.34 3.858-17.763 5.208s-17.764.643-22.615-.259c-2.698-.5-8.36-1.837-13.494-3.549-.646-2.182 6.197-2.362 10.148-1.101zm63.098-31.651c-2.057.059-5.749 2.559-10.942 10.058-5.386 7.775-6.341 13.159-6.113 15.336.228 2.175.916 3.291 1.529 3.965 0 0 1.683-.984 2.752-1.736 0 0-.939-.365-.415-3.708.224-1.437.859-3.787 1.726-6.301 1.116-3.231 2.69-5.892 4.151-8.357 1.944-3.28 6.663-8.959 7.31-9.256zm-17.059 63.05c-1.539-1.343.286-5.876 1.996-6.828 1.711-.951 4.334-.839 6.389-1.23 2.053-.392 4.334-1.289 6.047-2.014 1.712-.728 4.164-.224 5.248.951 1.083 1.176.03 2.334-.893 3.283-1.254 1.289-3.372 2.49-5.895 3.546-3.479 1.456-10.553 2.294-12.892 2.294z"/><path fill="#121442" d="M107.469 110.524c-.552 1.222-1.154 2.27-1.655 2.455-2.352.876-18.514-1.918-33.043-8.71-16.29-7.616-27.94-16.49-28.442-18.858-.583-2.738 1.21-13.093 4.37-19.291 3.473-6.394 8.311-12.774 11.209-14.005.695-.295 2.31-.253 4.651.12 0 0-7.326 6.535-10.662 12.99-2.217 4.288-3.881 8.353-4.872 12.374-.61 2.476-.95 4.794-.697 6.401.285 1.797 15.698 11.19 22.53 14.422 7.394 3.499 24.53 10.071 36.61 12.1h.001z"/><path fill="#425CC2" d="M129.28 31.407c6.615 0 11.977-5.261 11.977-11.751s-5.362-11.75-11.977-11.75-11.977 5.26-11.977 11.75 5.362 11.75 11.977 11.75"/><path fill="#B6C2EF" d="M134.127 13.253c1.491.993 1.242 3.054 1.504 5.857.241 2.587-3.741 6.754-6.733 6.705-2.994-.05-5.84-1.175-7.438-4.072-1.536-2.787-1.358-4.416-.569-6.366.924-2.274 3.914-4.596 7.48-4.463s4.182 1.292 5.756 2.339"/><path fill="#8094E4" d="M135.528 26.382c1.449-1.023 3.687-3.922 3.045-7.545-.737-4.17-2.427-6.858-5.392-6.43-3.019.435-5.455 1.52-5.386 4.357.07 2.837 1.606 4.927-.251 6.754s.066 5.546 2.247 5.285c3.304-.393 4.332-1.432 5.737-2.422"/><path fill="#EDF0FB" d="M125.967 18.031c1.304-.603 3.81-1.72 4.322-3.009.511-1.288.563-3.096-.76-4.07-1.324-.972-3.193-1.421-4.745-.267s-4.131 3.017-3.153 4.74c.977 1.723.829 3.215 2.479 3 1.648-.216 1.859-.394 1.859-.394z"/><path fill="#4966D8" d="M139.707 5.668c-.271 0-.544-.08-.781-.248-1.449-1.025-3.428-1.74-3.448-1.747-.693-.248-1.05-1-.798-1.68a1.34 1.34 0 0 1 1.712-.783c.095.033 2.342.842 4.097 2.082.599.423.734 1.243.303 1.83-.26.355-.67.546-1.085.546m-15.624-2.365a1.335 1.335 0 0 1-1.279-.934 1.31 1.31 0 0 1 .894-1.633c.097-.028 2.388-.697 4.554-.736.736-.01 1.347.563 1.359 1.289a1.32 1.32 0 0 1-1.313 1.334c-1.8.031-3.81.619-3.83.624a1.3 1.3 0 0 1-.385.056m-9.673 6.288c-.288 0-.577-.09-.823-.278a1.296 1.296 0 0 1-.23-1.84c.064-.08 1.568-1.957 3.35-3.232a1.354 1.354 0 0 1 1.868.287 1.295 1.295 0 0 1-.292 1.832c-1.485 1.062-2.807 2.712-2.82 2.728-.263.33-.657.503-1.053.503m-4.05 10.85h-.022a1.32 1.32 0 0 1-1.315-1.33c0-.102.046-2.488.683-4.553a1.34 1.34 0 0 1 1.666-.876c.706.21 1.107.942.893 1.635-.53 1.717-.569 3.811-.569 3.832-.01.717-.607 1.292-1.336 1.292m3.037 11.022c-.429 0-.85-.2-1.108-.577-.057-.082-1.392-2.028-2.073-4.044a1.307 1.307 0 0 1 .849-1.657c.7-.227 1.457.145 1.689.832.567 1.675 1.738 3.383 1.748 3.4.414.6.253 1.415-.358 1.822-.23.152-.49.226-.748.226zm9.323 7.191q-.22.001-.439-.074c-.094-.033-2.354-.81-4.125-2.026a1.296 1.296 0 0 1-.33-1.825 1.354 1.354 0 0 1 1.861-.324c1.463 1.004 3.453 1.69 3.473 1.698.697.24 1.064.986.821 1.67-.192.54-.709.88-1.261.88m7.315 1.13a1.324 1.324 0 0 1-1.336-1.308 1.324 1.324 0 0 1 1.333-1.315c1.837-.005 3.894-.579 3.913-.586a1.34 1.34 0 0 1 1.654.897 1.306 1.306 0 0 1-.914 1.623c-.098.028-2.44.681-4.648.687h-.003zm11.033-4.069c-.403 0-.802-.179-1.066-.518a1.294 1.294 0 0 1 .255-1.837c1.447-1.08 2.741-2.761 2.753-2.779a1.353 1.353 0 0 1 1.871-.262c.59.434.711 1.255.27 1.834-.061.08-1.524 1.988-3.276 3.294a1.35 1.35 0 0 1-.807.268m6.33-9.494q-.21.001-.419-.067a1.31 1.31 0 0 1-.85-1.657c.574-1.701.674-3.808.676-3.829.032-.724.664-1.283 1.393-1.252a1.323 1.323 0 0 1 1.278 1.366c-.004.1-.116 2.486-.807 4.539-.186.55-.708.9-1.269.9zm.203-12.383c-.413 0-.82-.187-1.082-.54-.95-1.282-2.443-2.75-2.459-2.765a1.294 1.294 0 0 1 0-1.855 1.356 1.356 0 0 1 1.891 0c.068.067 1.655 1.626 2.73 3.076a1.295 1.295 0 0 1-.294 1.832c-.237.17-.513.251-.786.251"/><path fill="#2C3D82" d="M83.671 143.336s-11.91 1.768-11.052 15.497c.21 3.373 2.577 8.506 7.194 11.349 0 0-6.118-7.924-2.505-15.518 2.903-6.106 10.37-3.527 12.121-10.943 0 0-2.552-.834-5.758-.385"/><path fill="#2C3D82" d="M87.824 154.05c2.977 0 5.39-2.368 5.39-5.289s-2.413-5.288-5.39-5.288-5.39 2.368-5.39 5.288 2.413 5.289 5.39 5.289m-6.089 6.106c1.93 0 3.496-1.535 3.496-3.43 0-1.894-1.565-3.43-3.496-3.43s-3.497 1.536-3.497 3.43 1.566 3.43 3.497 3.43"/><path fill="#D9EFFD" d="M64.834 75.612c4.736 1.12 7.376 7.755 10.088 6.095 2.89-1.769-1.377-10.457-7.779-12.734-6.21-2.21-16.258 4.87-14.486 6.96 2.617 3.084 7.032-1.537 12.176-.32zm32.902 13.02c4.261 2.333 5.426 9.563 8.488 8.252 3.291-1.409 1.374-9.938-4.813-14.001-5.784-3.798-16.639.228-15.57 2.894 1.546 3.858 7.413.4 11.895 2.855"/><ellipse cx="83.323" cy="192.924" fill="url(#g)" fill-opacity=".6" rx="30.304" ry="6.774"/><ellipse cx="82.254" cy="207.898" fill="url(#h)" fill-opacity=".6" rx="21.391" ry="4.635"/><defs><linearGradient id="a" x1="54.223" x2="125.495" y1="48.671" y2="120.41" gradientUnits="userSpaceOnUse"><stop stop-color="#F1F2F3"/><stop offset="1" stop-color="#C4CDD3"/></linearGradient><linearGradient id="b" x1="45.55" x2="121.402" y1="151.683" y2="151.683" gradientUnits="userSpaceOnUse"><stop stop-color="#F1F2F3"/><stop offset="1" stop-color="#C4CDD3"/></linearGradient><linearGradient id="c" x1="139.942" x2="144.858" y1="96.966" y2="117.079" gradientUnits="userSpaceOnUse"><stop offset=".15" stop-color="#F1F2F3"/><stop offset=".26" stop-color="#E5E8EA"/><stop offset=".47" stop-color="#D2D9DD"/><stop offset=".7" stop-color="#C7CFD5"/><stop offset=".94" stop-color="#C4CDD3"/></linearGradient><linearGradient id="d" x1="121.979" x2="155.25" y1="147" y2="147" gradientUnits="userSpaceOnUse"><stop stop-color="#F1F2F3"/><stop offset="1" stop-color="#C4CDD3"/></linearGradient><linearGradient id="e" x1="0" x2="31.225" y1="103.516" y2="103.516" gradientUnits="userSpaceOnUse"><stop stop-color="#F1F2F3"/><stop offset="1" stop-color="#C4CDD3"/></linearGradient><linearGradient id="f" x1="56.797" x2="102.227" y1="101.704" y2="66.889" gradientUnits="userSpaceOnUse"><stop stop-color="#134395"/><stop offset="1" stop-color="#0E2050"/></linearGradient><linearGradient id="g" x1="83.323" x2="83.323" y1="186.15" y2="199.698" gradientUnits="userSpaceOnUse"><stop stop-color="#EDF0FB"/><stop offset="1" stop-color="#B6C2EF"/></linearGradient><linearGradient id="h" x1="82.254" x2="82.254" y1="203.264" y2="212.533" gradientUnits="userSpaceOnUse"><stop stop-color="#EDF0FB"/><stop offset="1" stop-color="#8094E4"/></linearGradient></defs></svg></span>\n </button>`,null===(o=i.querySelector(`.${bl}bubble`))||void 0===o||o.addEventListener("click",()=>{this.render("form")})),"form"===e){i.innerHTML=`<form class="${bl}form" data-version="v2.4.0" aria-labelledby="${bl}form-title">\n <div class="${bl}header">\n <div id="${bl}form-title" class="${bl}title">${this.survey.title}</div>\n <div class="${bl}subtitle">${this.survey.subTitle}</div>\n </div>\n <div class="${bl}content">\n <div class="${bl}presentation-wrapper">\n <div class="${bl}robot" aria-hidden="true">${n}</div>\n <div class="${bl}presentation">${this.survey.mainQuestion}</div>\n </div>\n ${this.survey.quantityQuestion?`<div class="${bl}rating" role="group" aria-labelledby="${bl}rating-label">\n <label id="${bl}rating-label"><p> ${this.survey.quantityQuestion} ${h(`${bl}required`)}</p></label>\n <div class="${bl}stars">\n <div class="${bl}stars-wrapper" role="radiogroup" aria-labelledby="${bl}rating-label">\n ${[...Array(5).keys()].reverse().map(e=>{return`\n <button\n type="button"\n role="radio"\n aria-checked="${e<this.form.quantityAnswer}"\n data-value="${e+1}"\n aria-label="${t={n:e+1,s:0===e?"":"s"},Object.entries(t).reduce((e,[t,n])=>e.replace(new RegExp(`\\{${t}\\}`,"g"),String(n)),d("feedbot.star_label"))}"\n >\n ${e<this.form.quantityAnswer?gl:ml}\n </button>`;var t}).join("")}\n </div>\n </div>\n </div>\n ${this.ratingError?`<p class="fj-error" aria-live="polite">${d("feedbot.rating_error")}</p>`:""}`:""}\n ${this.survey.qualityQuestion?`<label class="${bl}quality">\n <p>${this.survey.qualityQuestion} ${h(`${bl}required`)}</p>\n <textarea name="qualityAnswer" rows="6" required maxlength="1000">${this.form.qualityAnswer}</textarea>\n </label>`:""}\n ${this.survey.closedQuestion?`<div class="${bl}closed ${bl}label">\n <p id="${bl}closed-label">${this.survey.closedQuestion} ${h(`${bl}required`)}</p>\n <div class="${bl}closed-answers" role="radiogroup" aria-labelledby="${bl}closed-label">\n <input type="radio" name="closedAnswer" value="1" id="${bl}r1" required>\n <label for="${bl}r1">${this.survey.closedAnswerOne}</label>\n <input type="radio" name="closedAnswer" value="2" id="${bl}r2" required>\n <label for="${bl}r2">${this.survey.closedAnswerTwo}</label>\n </div>\n </div>`:""}\n \n <label class="fj-checkbox-label ${bl}anonymous">\n <input type="checkbox" name="anonymousAnswer" ${this.form.anonymousAnswer?"checked":""}>\n <p>${d("feedbot.anonymous")}</p>\n </label>\n ${this.submitError?`<p class="fj-error" aria-live="assertive">${d("global.submit_error")}</p>`:""}\n </div>\n <div class="${bl}footer-buttons">\n <button type="button" class="fj-btn fj-btn-secondary ${bl}btn-decline">${d("feedbot.cancel")}</button>\n <button type="submit" class="fj-btn ${bl}btn-submit">${d("feedbot.submit")}</button>\n </div>\n </form>`;const e=i.querySelectorAll(`.${bl}rating button`);for(const t of e)t.addEventListener("click",()=>{const n=Number.parseInt(t.dataset.value||"0",10);this.form.quantityAnswer=n;for(const t of e){const e=Number.parseInt(t.dataset.value||"0",10);t.innerHTML=e<=n?gl:ml,t.setAttribute("aria-checked",e===n?"true":"false")}});const t=i.querySelector("form"),o=i.querySelector(`.${bl}btn-submit`),r=i.querySelector(`.${bl}btn-decline`),s=(e,t)=>{e&&(e.disabled=!0,e.classList.add("fj-btn-loading"),e.textContent=d("global.sending")),t&&(t.disabled=!0)},a=n=>{var i;if(n.preventDefault(),!t)return;const l=t.querySelectorAll("input, textarea");for(const e of l)"quantityAnswer"===e.name&&(this.form.quantityAnswer=Number.parseInt(e.value,10)),"qualityAnswer"===e.name&&(this.form.qualityAnswer=e.value),"anonymousAnswer"===e.name&&(this.form.anonymousAnswer=e.checked);const c=t.querySelector('input[name="closedAnswer"]:checked');if(c&&(this.form.closedAnswer=Number.parseInt(c.value,10)),null===(i=this.survey)||void 0===i?void 0:i.quantityQuestion){this.form.quantityAnswer=0;for(const t of e)"true"===t.getAttribute("aria-checked")&&(this.form.quantityAnswer=Number.parseInt(t.dataset.value||"0",10));if(0===this.form.quantityAnswer)return this.ratingError=!0,void this.render("form")}s(o,r),this.submit(),t.removeEventListener("submit",a)};null==t||t.addEventListener("submit",a),null==r||r.addEventListener("click",()=>{s(r,o),this.form.answerStatus="DECLINED",this.submit()})}if("thanks"===e){const e="DECLINED"===this.form.answerStatus;i.innerHTML=e?`<div class="${bl}thanks" data-version="v2.4.0" aria-labelledby="${bl}thanks-title" aria-describedby="${bl}thanks-subtitle">\n <div id="${bl}thanks-title" class="${bl}title">${d("feedbot.thanks.declined.title")}</div>\n <div id="${bl}thanks-subtitle" class="${bl}subtitle">${d("feedbot.thanks.declined.sub_title")}</div>\n <button class="fj-btn ${bl}btn-close">${d("global.close")}</button>\n </div>`:`<div class="${bl}thanks" data-version="v2.4.0" aria-labelledby="${bl}thanks-title" aria-describedby="${bl}thanks-subtitle">\n <div id="${bl}thanks-title" class="${bl}title">${d("feedbot.thanks.title")}</div>\n <div id="${bl}thanks-subtitle" class="${bl}subtitle">${d("feedbot.thanks.sub_title")}</div>\n <button class="fj-btn ${bl}btn-close">${d("global.close")}</button>\n </div>`,null===(r=i.querySelector(`.${bl}btn-close`))||void 0===r||r.addEventListener("click",()=>{this.render(null)})}s&&(i.addEventListener("keydown",e=>{"Escape"===e.key&&this.render(null),"dialog"===i.getAttribute("role")&&dl(i,e)}),document.body.appendChild(i)),"form"===e?requestAnimationFrame(()=>{var e;const t=i.querySelector('textarea, input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"])');t?t.focus():null===(e=i.querySelector("button:not([disabled])"))||void 0===e||e.focus()}):"thanks"===e&&requestAnimationFrame(()=>{var e;null===(e=i.querySelector(`.${bl}btn-close`))||void 0===e||e.focus()})}async increment(){var e;try{const t=await fetch(`${this.apiUrl}/api/survey_logs/increment`,{method:"POST",body:JSON.stringify({uuidSurvey:this.options.surveyId,userId:(null===(e=this.user)||void 0===e?void 0:e.id)||null}),headers:{"Content-Type":"application/json"}});if(!t.ok)throw new Error("Failed to increment log");const n=await t.json();if(this.integrationTest.setStatus(n.surveyIntegrationTest||"pending"),this.integrationTest.handleIntegrationStatus())return;n.isValid?(this.survey=n.survey,this.render("bubble")):this.survey=null}catch(e){}}async submit(){try{if(!(await fetch(`${this.apiUrl}/api/reviews/submit`,{method:"POST",body:JSON.stringify(this.form.toJson(this.options,this.survey)),headers:{"Content-Type":"application/json"}})).ok)throw new Error("Failed to submit feedback");this.render("SENT"===this.form.answerStatus||"DECLINED"===this.form.answerStatus?"thanks":null)}catch(e){this.submitError=!0,this.render("form")}}}"undefined"!=typeof window&&(window.Feedback=fl,window.Feedbot=xl),e.Feedback=fl,e.Feedbot=xl,e.Locales=r});
|